leadconduit-trustedform 2.4.2 → 2.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/trustedform.js +16 -11
- package/lib/ui/public/app/config/Page1.vue +3 -1
- package/lib/ui/public/app/config/Page4.vue +12 -2
- package/lib/ui/public/app/config/Page5.vue +10 -3
- package/lib/ui/public/app/config/Page6.vue +11 -3
- package/lib/ui/public/app/config/Page7.vue +62 -0
- package/lib/ui/public/app/router.js +6 -0
- package/lib/ui/public/app/store.js +61 -11
- package/lib/ui/public/dist/index.js +1 -1
- package/lib/ui/public/dist/index.js.LICENSE.txt +2 -2
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see index.js.LICENSE.txt */
|
|
2
|
-
(()=>{var t={822:t=>{t.exports={age:{description:"The amount of time, in seconds, since the TrustedForm certificate was created. Serves as an approximation of lead age.",use:"Only accept leads that meet their minimum requirement for lead age."},browser:{description:"The browser name and version",use:"Use browser type information to infer attributes about a consumer, and accept or reject a lead accordingly."},created_at:{description:"Timestamp of the creation of the TrustedForm certificate, in ISO 8601 format.",use:"Only accept leads that are less than x hours old, to maximize the likelihood of conversion."},device:{description:"Mobile device type, if applicable.",use:"Infer attributes about a consumer, and accept or reject a lead accordingly."},event_duration:{description:"The amount of time, in seconds, that the consumer spent on the page filling out the form.",use:"Longer time on page might indicate a more thoughtful conversion event. Some buyers may choose to reject leads where a minimum duration was not met."},expires_at:{description:"Timestamp indicating when the claim period for the TrustedForm certificate expires.",use:"Reject leads where the TrustedForm certificate has expired and can no longer be claimed for protection against TCPA complaints."},framed:{description:"Whether or not the page_url was in an iframe.",use:""},city:{description:"The city that the consumer was located in when they filled out the form, based on IP address. ",use:"Accept leads within a specific geographic area."},country_code:{description:"The country that the consumer was located in when they filled out the form, based on IP address.",use:"Accept leads within a specific geographic area."},lat:{description:"The location (latitude) of the consumer when they filled out the form, based on IP address.",use:"Accept leads within a specific geographic area."},lon:{description:"The location (longitude) of the consumer when they filled out the form, based on IP address.",use:"Accept leads within a specific geographic area."},postal_code:{description:"The postal code that the consumer was located in when they filled out the form, based on IP address.",use:"Accept leads within a specific geographic area."},state:{description:"The state that the consumer was in when they filled out the form, based on IP address.",use:"Accept leads within a specific geographic area."},time_zone:{description:"The time zone that the consumer was in when they filled out the form, based on IP address.",use:"Accept leads within a specific geographic area."},ip:{description:"The IP address of the consumer.",use:""},wpm:{description:"The consumer’s typing speed on the form, in words per minute.",use:"Use typing speed information to infer attributes about a consumer. A buyer might reject leads that don’t fall within a desired range."},kpm:{description:"The consumer’s typing speed on the form, in keystrokes per minute.",use:"A kpm that is greater than wpm indicates the use of the delete key and/or spacebar. This might suggest a lower likelihood of bot activity and a lower probability that a lead is fraudulent."},page_url:{description:"The URL of the page on which the consumer filled out the form.",use:"Track leads back to their original source regardless of where they were purchased."},operating_system:{description:"The operating system for the device from which the consumer filled out the form.",use:"Infer attributes about a consumer, and accept or reject a lead accordingly."},parent_page_url:{description:"The URL of the page on which the consumer filled out the form. The value will be “null” unless framed=true (see above).",use:""},cert_id:{description:"The TrustedForm certificate ID.",use:""},user_agent:{description:"The browser and operating system for the device on which the consumer filled out the form.",use:"Infer attributes about a consumer, and accept or reject a lead accordingly."},fingerprints_matching:{description:"Matching fingerprints that were found on the TrustedForm certificate.",use:"Accept a lead where there is a fingerprint match."},fingerprints_non_matching:{description:"Non-matching fingerprints that were found on the TrustedForm certificate.",use:"Reject a lead where there is not a fingerprint match."},is_masked:{description:"Whether or not the TrustedForm certificate is masked.",use:"Route leads with masked certificates to a different system."},scans_found:{description:"Language that was found through the use of page scanning.",use:"Accept leads where desired language was found on the page through the use of page scanning."},scans_not_found:{description:"Language that was not found through the use of page scanning.",use:"Reject leads where page scanning indicates that desired language was not found on the page."},warnings:{description:"Any warnings present about the content of the form, specific to page scanning and fingerprinting.",use:"Reject leads where warnings are present."}}},711:t=>{t.exports={age:{name:"Age",description:"The amount of time, in seconds, since the TrustedForm certificate was created. Serves as an approximation of lead age.",enabled:!1},browser:{name:"Browser",description:"The name and version of the browser used during the lead event.",enabled:!1},created_timestamp:{name:"Created Timestamp",description:"Timestamp of the creation of the TrustedForm certificate, in ISO 8601 format.",enabled:!1},domain:{name:"Domain",description:"The name of the website the lead event took place on.",enabled:!1},expiration_timestamp:{name:"Expiration Timestamp",description:"A timestamp indicating when this certificate will no longer be available for API requests.",enabled:!1},framed:{name:"Framed",description:'Whether or not the lead event took place inside of an iframe. <a href="https://www.techtarget.com/whatis/definition/IFrame-Inline-Frame" target="_blank">Learn More.</a>',enabled:!1},form_input_method:{name:"Form Input Method",description:"A list of ways the consumer input their data onto the form including one or more of the following: typing, paste, autofill.",enabled:!1},form_input_kpm:{name:"Form Input KPM",description:"The consumer’s typing speed on the form, in keystrokes per minute.",enabled:!1},form_input_wpm:{name:"Form Input WPM",description:"The consumer’s approximate typing speed on the form, in words per minute. This is calculated by using the Form Input KPM and assuming five characters represent a word.",enabled:!1},ip_address:{name:"IP Address",description:"The public IP address of the consumer during the lead event.",enabled:!1},location:{name:"Location",description:"The city, state, postal code, country, timezone, latitude and longitude of the consumer's location during the lead event based on IP address.",enabled:!1},masked:{name:"Masked",description:"Whether or not the TrustedForm certificate is masked.",enabled:!1},sensitive_content:{name:"Sensitive Content",description:"Count of how many content elements (e.g. input, textarea) are marked sensitive and hidden from the session replay.",enabled:!1},sensitive_form_fields:{name:"Sensitive Form Fields",description:"Count of how many form fields (e.g. input, textarea) are marked sensitive and hidden from the session replay.",enabled:!1},operating_system:{name:"Operating System",description:"The name and version of the operating system for the device used during the lead event.",enabled:!1},page_scan:{name:"Page Scan",description:'Results indicating whether specified text was found on the web page that created the certificate. <a href="https://community.activeprospect.com/posts/4078890-trustedform-page-scan" target="_blank">Learn more.</a>',enabled:!1},page_url:{name:"Page URL",description:"The URL of the page where the lead event took place.",enabled:!1},parent_page_url:{name:"Parent Page URL",description:'The URL displayed in the consumer\'s browser if the Page URL was displayed in an iframe. <a href="https://www.techtarget.com/whatis/definition/IFrame-Inline-Frame" target="_blank">Learn more.</a>',enabled:!1},time_on_page:{name:"Time On Page",description:"The amount of time, in seconds, that the consumer spent on the page during the lead event.",enabled:!1}}},492:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>a});var i=n(219),r=n.n(i),o=n(388),s=n.n(o)()(r());s.push([t.id,"\nul[data-v-5c50d850] {\n padding-top: 1em;\n}\n",""]);const a=s},234:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>a});var i=n(219),r=n.n(i),o=n(388),s=n.n(o)()(r());s.push([t.id,'\ntable[data-v-99414334] {\n position: relative;\n}\nth[data-v-99414334] {\n position: sticky;\n top: 0;\n background-color: #f4f6f8;\n border-bottom: 1px solid #dfe4e8;\n}\n\n/*\nWe are using "fancy-checkbox" in an atypical way;\nTypically, the <label> and <input> components are siblings, and there is only 1 label for the checkbox.\nHowever, since our fancy-checkbox is supposed to be placed in a separate <td> and have additional padding,\nWe have to add some additional styling and a second <label> element.\n*/\n.checkbox-label[data-v-99414334] {\n /* !important is needed because of this style https://github.com/activeprospect/leadconduit-client/blob/618797873a9fc485bf2d51873043700aae9d496e/public/css/core/forms.styl#L495 */\n padding: 1.2em !important;\n}\n.text-label[data-v-99414334] {\n /* !important is needed because of this style https://github.com/activeprospect/leadconduit-client/blob/618797873a9fc485bf2d51873043700aae9d496e/public/css/core/forms.styl#L429 */\n margin: 0 !important;\n}\n',""]);const a=s},242:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>a});var i=n(219),r=n.n(i),o=n(388),s=n.n(o)()(r());s.push([t.id,'\n/* All the selectors here use `:deep()` because otherwise the styles can\'t be scoped, since the classes are added by a library. */\n\n/** override this style https://github.com/activeprospect/leadconduit-client/blob/a005d3ac5627aa39d12c64756561ef400b512bf3/public/css/core/forms.styl#L252-L254 */\n[data-v-67a095b2] input[type="text"] {\n min-width: 0 !important;\n}\n[data-v-67a095b2] .formkit-outer {\n width: 100%;\n}\n',""]);const a=s},388:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,r,o){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var l=this[a][0];null!=l&&(s[l]=!0)}for(var c=0;c<t.length;c++){var u=[].concat(t[c]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),e.push(u))}},e}},219:t=>{"use strict";t.exports=function(t){return t[1]}},743:function(t,e,n){var i,r;void 0===(r="function"==typeof(i=function(){var t=!1,e=function(t){if("loading"!==document.readyState)t();else if(document.addEventListener)document.addEventListener("DOMContentLoaded",t,!1);else var e=setInterval((function(){"loading"!==document.readyState&&(clearInterval(e),t())}),10)};function n(t,e){window.parent.postMessage({type:"integration-message",data:{event:t,data:e}},window.location.href.replace(window.location.pathname,""))}function i(t){return function(e){n(t,e)}}return{init:function(i,r){document.domain=document.domain,t||(t=!0,"function"!=typeof i||r||(r=i,i=void 0),e((function(){!function(t){var e=0,n=0,i=1,r=window.parent.document.styleSheets,o=document.createElement("style");o.appendChild(document.createTextNode("")),document.head.appendChild(o);for(var s=0;s<r.length;s++)c(r[s]);function a(){++n>=i&&t()}function l(t){return t.hasOwnProperty("cssRules")?t.cssRules:t.hasOwnProperty("rules")?t.rules:[]}function c(t){var e,n;if(rules=l(t),rules&&rules.length)for(var r=0;r<rules.length;r++)(e=rules[r]).type===CSSRule.IMPORT_RULE?c(e.styleSheet):u(e.cssText);else t.href&&(i++,t.ownerNode?((n=t.ownerNode.cloneNode()).onload=a,document.head.appendChild(n)):((n=document.createElement("link")).rel="stylesheet",n.onload=a,n.href=link.href,document.head.appendChild(n)))}function u(t){o.sheet.insertRule&&o.sheet.insertRule(t,e++)}a()}((function(){n("ready")}))})),"function"==typeof r&&window.addEventListener("message",(function(t){if("object"!=typeof t||"object"!=typeof t.data||!t.data.type)return!1;"init"==t.data.type&&e((function(){r(t.data.data)}))})),(i=i||{}).url=window.location.href,n("init",i))},send:n,create:i("create"),close:i("close"),cancel:i("cancel"),getBasePath:function(t){var e=location.pathname,n="/"==e.charAt(e.length-1)?"":"/";return e+n+t}}})?i.call(e,n,e,t):i)||(t.exports=r)},273:function(t,e,n){var i;t=n.nmd(t),function(){var r,o="Expected a function",s="__lodash_hash_undefined__",a="__lodash_placeholder__",l=32,c=128,u=1/0,h=9007199254740991,d=NaN,p=4294967295,f=[["ary",c],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",l],["partialRight",64],["rearg",256]],g="[object Arguments]",m="[object Array]",v="[object Boolean]",y="[object Date]",b="[object Error]",_="[object Function]",x="[object GeneratorFunction]",w="[object Map]",S="[object Number]",k="[object Object]",C="[object Promise]",A="[object RegExp]",O="[object Set]",T="[object String]",E="[object Symbol]",P="[object WeakMap]",M="[object ArrayBuffer]",L="[object DataView]",j="[object Float32Array]",D="[object Float64Array]",$="[object Int8Array]",R="[object Int16Array]",I="[object Int32Array]",B="[object Uint8Array]",N="[object Uint8ClampedArray]",F="[object Uint16Array]",z="[object Uint32Array]",V=/\b__p \+= '';/g,W=/\b(__p \+=) '' \+/g,U=/(__e\(.*?\)|\b__t\)) \+\n'';/g,H=/&(?:amp|lt|gt|quot|#39);/g,q=/[&<>"']/g,G=RegExp(H.source),X=RegExp(q.source),Y=/<%-([\s\S]+?)%>/g,K=/<%([\s\S]+?)%>/g,Z=/<%=([\s\S]+?)%>/g,J=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Q=/^\w*$/,tt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,et=/[\\^$.*+?()[\]{}|]/g,nt=RegExp(et.source),it=/^\s+/,rt=/\s/,ot=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,st=/\{\n\/\* \[wrapped with (.+)\] \*/,at=/,? & /,lt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ct=/[()=,{}\[\]\/\s]/,ut=/\\(\\)?/g,ht=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,dt=/\w*$/,pt=/^[-+]0x[0-9a-f]+$/i,ft=/^0b[01]+$/i,gt=/^\[object .+?Constructor\]$/,mt=/^0o[0-7]+$/i,vt=/^(?:0|[1-9]\d*)$/,yt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,bt=/($^)/,_t=/['\n\r\u2028\u2029\\]/g,xt="\\ud800-\\udfff",wt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",St="\\u2700-\\u27bf",kt="a-z\\xdf-\\xf6\\xf8-\\xff",Ct="A-Z\\xc0-\\xd6\\xd8-\\xde",At="\\ufe0e\\ufe0f",Ot="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\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",Tt="["+xt+"]",Et="["+Ot+"]",Pt="["+wt+"]",Mt="\\d+",Lt="["+St+"]",jt="["+kt+"]",Dt="[^"+xt+Ot+Mt+St+kt+Ct+"]",$t="\\ud83c[\\udffb-\\udfff]",Rt="[^"+xt+"]",It="(?:\\ud83c[\\udde6-\\uddff]){2}",Bt="[\\ud800-\\udbff][\\udc00-\\udfff]",Nt="["+Ct+"]",Ft="\\u200d",zt="(?:"+jt+"|"+Dt+")",Vt="(?:"+Nt+"|"+Dt+")",Wt="(?:['’](?:d|ll|m|re|s|t|ve))?",Ut="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ht="(?:"+Pt+"|"+$t+")?",qt="["+At+"]?",Gt=qt+Ht+"(?:"+Ft+"(?:"+[Rt,It,Bt].join("|")+")"+qt+Ht+")*",Xt="(?:"+[Lt,It,Bt].join("|")+")"+Gt,Yt="(?:"+[Rt+Pt+"?",Pt,It,Bt,Tt].join("|")+")",Kt=RegExp("['’]","g"),Zt=RegExp(Pt,"g"),Jt=RegExp($t+"(?="+$t+")|"+Yt+Gt,"g"),Qt=RegExp([Nt+"?"+jt+"+"+Wt+"(?="+[Et,Nt,"$"].join("|")+")",Vt+"+"+Ut+"(?="+[Et,Nt+zt,"$"].join("|")+")",Nt+"?"+zt+"+"+Wt,Nt+"+"+Ut,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Mt,Xt].join("|"),"g"),te=RegExp("["+Ft+xt+wt+At+"]"),ee=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ne=["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"],ie=-1,re={};re[j]=re[D]=re[$]=re[R]=re[I]=re[B]=re[N]=re[F]=re[z]=!0,re[g]=re[m]=re[M]=re[v]=re[L]=re[y]=re[b]=re[_]=re[w]=re[S]=re[k]=re[A]=re[O]=re[T]=re[P]=!1;var oe={};oe[g]=oe[m]=oe[M]=oe[L]=oe[v]=oe[y]=oe[j]=oe[D]=oe[$]=oe[R]=oe[I]=oe[w]=oe[S]=oe[k]=oe[A]=oe[O]=oe[T]=oe[E]=oe[B]=oe[N]=oe[F]=oe[z]=!0,oe[b]=oe[_]=oe[P]=!1;var se={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ae=parseFloat,le=parseInt,ce="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,ue="object"==typeof self&&self&&self.Object===Object&&self,he=ce||ue||Function("return this")(),de=e&&!e.nodeType&&e,pe=de&&t&&!t.nodeType&&t,fe=pe&&pe.exports===de,ge=fe&&ce.process,me=function(){try{return pe&&pe.require&&pe.require("util").types||ge&&ge.binding&&ge.binding("util")}catch(t){}}(),ve=me&&me.isArrayBuffer,ye=me&&me.isDate,be=me&&me.isMap,_e=me&&me.isRegExp,xe=me&&me.isSet,we=me&&me.isTypedArray;function Se(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function ke(t,e,n,i){for(var r=-1,o=null==t?0:t.length;++r<o;){var s=t[r];e(i,s,n(s),t)}return i}function Ce(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););return t}function Ae(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function Oe(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(!e(t[n],n,t))return!1;return!0}function Te(t,e){for(var n=-1,i=null==t?0:t.length,r=0,o=[];++n<i;){var s=t[n];e(s,n,t)&&(o[r++]=s)}return o}function Ee(t,e){return!(null==t||!t.length)&&Ne(t,e,0)>-1}function Pe(t,e,n){for(var i=-1,r=null==t?0:t.length;++i<r;)if(n(e,t[i]))return!0;return!1}function Me(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}function Le(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}function je(t,e,n,i){var r=-1,o=null==t?0:t.length;for(i&&o&&(n=t[++r]);++r<o;)n=e(n,t[r],r,t);return n}function De(t,e,n,i){var r=null==t?0:t.length;for(i&&r&&(n=t[--r]);r--;)n=e(n,t[r],r,t);return n}function $e(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1}var Re=We("length");function Ie(t,e,n){var i;return n(t,(function(t,n,r){if(e(t,n,r))return i=n,!1})),i}function Be(t,e,n,i){for(var r=t.length,o=n+(i?1:-1);i?o--:++o<r;)if(e(t[o],o,t))return o;return-1}function Ne(t,e,n){return e==e?function(t,e,n){for(var i=n-1,r=t.length;++i<r;)if(t[i]===e)return i;return-1}(t,e,n):Be(t,ze,n)}function Fe(t,e,n,i){for(var r=n-1,o=t.length;++r<o;)if(i(t[r],e))return r;return-1}function ze(t){return t!=t}function Ve(t,e){var n=null==t?0:t.length;return n?qe(t,e)/n:d}function We(t){return function(e){return null==e?r:e[t]}}function Ue(t){return function(e){return null==t?r:t[e]}}function He(t,e,n,i,r){return r(t,(function(t,r,o){n=i?(i=!1,t):e(n,t,r,o)})),n}function qe(t,e){for(var n,i=-1,o=t.length;++i<o;){var s=e(t[i]);s!==r&&(n=n===r?s:n+s)}return n}function Ge(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}function Xe(t){return t?t.slice(0,dn(t)+1).replace(it,""):t}function Ye(t){return function(e){return t(e)}}function Ke(t,e){return Me(e,(function(e){return t[e]}))}function Ze(t,e){return t.has(e)}function Je(t,e){for(var n=-1,i=t.length;++n<i&&Ne(e,t[n],0)>-1;);return n}function Qe(t,e){for(var n=t.length;n--&&Ne(e,t[n],0)>-1;);return n}var tn=Ue({À:"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"}),en=Ue({"&":"&","<":"<",">":">",'"':""","'":"'"});function nn(t){return"\\"+se[t]}function rn(t){return te.test(t)}function on(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n}function sn(t,e){return function(n){return t(e(n))}}function an(t,e){for(var n=-1,i=t.length,r=0,o=[];++n<i;){var s=t[n];s!==e&&s!==a||(t[n]=a,o[r++]=n)}return o}function ln(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function cn(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}function un(t){return rn(t)?function(t){for(var e=Jt.lastIndex=0;Jt.test(t);)++e;return e}(t):Re(t)}function hn(t){return rn(t)?function(t){return t.match(Jt)||[]}(t):function(t){return t.split("")}(t)}function dn(t){for(var e=t.length;e--&&rt.test(t.charAt(e)););return e}var pn=Ue({"&":"&","<":"<",">":">",""":'"',"'":"'"}),fn=function t(e){var n,i=(e=null==e?he:fn.defaults(he.Object(),e,fn.pick(he,ne))).Array,rt=e.Date,xt=e.Error,wt=e.Function,St=e.Math,kt=e.Object,Ct=e.RegExp,At=e.String,Ot=e.TypeError,Tt=i.prototype,Et=wt.prototype,Pt=kt.prototype,Mt=e["__core-js_shared__"],Lt=Et.toString,jt=Pt.hasOwnProperty,Dt=0,$t=(n=/[^.]+$/.exec(Mt&&Mt.keys&&Mt.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Rt=Pt.toString,It=Lt.call(kt),Bt=he._,Nt=Ct("^"+Lt.call(jt).replace(et,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ft=fe?e.Buffer:r,zt=e.Symbol,Vt=e.Uint8Array,Wt=Ft?Ft.allocUnsafe:r,Ut=sn(kt.getPrototypeOf,kt),Ht=kt.create,qt=Pt.propertyIsEnumerable,Gt=Tt.splice,Xt=zt?zt.isConcatSpreadable:r,Yt=zt?zt.iterator:r,Jt=zt?zt.toStringTag:r,te=function(){try{var t=lo(kt,"defineProperty");return t({},"",{}),t}catch(t){}}(),se=e.clearTimeout!==he.clearTimeout&&e.clearTimeout,ce=rt&&rt.now!==he.Date.now&&rt.now,ue=e.setTimeout!==he.setTimeout&&e.setTimeout,de=St.ceil,pe=St.floor,ge=kt.getOwnPropertySymbols,me=Ft?Ft.isBuffer:r,Re=e.isFinite,Ue=Tt.join,gn=sn(kt.keys,kt),mn=St.max,vn=St.min,yn=rt.now,bn=e.parseInt,_n=St.random,xn=Tt.reverse,wn=lo(e,"DataView"),Sn=lo(e,"Map"),kn=lo(e,"Promise"),Cn=lo(e,"Set"),An=lo(e,"WeakMap"),On=lo(kt,"create"),Tn=An&&new An,En={},Pn=Io(wn),Mn=Io(Sn),Ln=Io(kn),jn=Io(Cn),Dn=Io(An),$n=zt?zt.prototype:r,Rn=$n?$n.valueOf:r,In=$n?$n.toString:r;function Bn(t){if(ta(t)&&!Ws(t)&&!(t instanceof Vn)){if(t instanceof zn)return t;if(jt.call(t,"__wrapped__"))return Bo(t)}return new zn(t)}var Nn=function(){function t(){}return function(e){if(!Qs(e))return{};if(Ht)return Ht(e);t.prototype=e;var n=new t;return t.prototype=r,n}}();function Fn(){}function zn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=r}function Vn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=p,this.__views__=[]}function Wn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Un(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Hn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function qn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Hn;++e<n;)this.add(t[e])}function Gn(t){var e=this.__data__=new Un(t);this.size=e.size}function Xn(t,e){var n=Ws(t),i=!n&&Vs(t),r=!n&&!i&&Gs(t),o=!n&&!i&&!r&&la(t),s=n||i||r||o,a=s?Ge(t.length,At):[],l=a.length;for(var c in t)!e&&!jt.call(t,c)||s&&("length"==c||r&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||mo(c,l))||a.push(c);return a}function Yn(t){var e=t.length;return e?t[Hi(0,e-1)]:r}function Kn(t,e){return Lo(Ar(t),oi(e,0,t.length))}function Zn(t){return Lo(Ar(t))}function Jn(t,e,n){(n!==r&&!Ns(t[e],n)||n===r&&!(e in t))&&ii(t,e,n)}function Qn(t,e,n){var i=t[e];jt.call(t,e)&&Ns(i,n)&&(n!==r||e in t)||ii(t,e,n)}function ti(t,e){for(var n=t.length;n--;)if(Ns(t[n][0],e))return n;return-1}function ei(t,e,n,i){return ui(t,(function(t,r,o){e(i,t,n(t),o)})),i}function ni(t,e){return t&&Or(e,Pa(e),t)}function ii(t,e,n){"__proto__"==e&&te?te(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function ri(t,e){for(var n=-1,o=e.length,s=i(o),a=null==t;++n<o;)s[n]=a?r:Ca(t,e[n]);return s}function oi(t,e,n){return t==t&&(n!==r&&(t=t<=n?t:n),e!==r&&(t=t>=e?t:e)),t}function si(t,e,n,i,o,s){var a,l=1&e,c=2&e,u=4&e;if(n&&(a=o?n(t,i,o,s):n(t)),a!==r)return a;if(!Qs(t))return t;var h=Ws(t);if(h){if(a=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&jt.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!l)return Ar(t,a)}else{var d=ho(t),p=d==_||d==x;if(Gs(t))return _r(t,l);if(d==k||d==g||p&&!o){if(a=c||p?{}:fo(t),!l)return c?function(t,e){return Or(t,uo(t),e)}(t,function(t,e){return t&&Or(e,Ma(e),t)}(a,t)):function(t,e){return Or(t,co(t),e)}(t,ni(a,t))}else{if(!oe[d])return o?t:{};a=function(t,e,n){var i,r=t.constructor;switch(e){case M:return xr(t);case v:case y:return new r(+t);case L:return function(t,e){var n=e?xr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case j:case D:case $:case R:case I:case B:case N:case F:case z:return wr(t,n);case w:return new r;case S:case T:return new r(t);case A:return function(t){var e=new t.constructor(t.source,dt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case O:return new r;case E:return i=t,Rn?kt(Rn.call(i)):{}}}(t,d,l)}}s||(s=new Gn);var f=s.get(t);if(f)return f;s.set(t,a),oa(t)?t.forEach((function(i){a.add(si(i,e,n,i,t,s))})):ea(t)&&t.forEach((function(i,r){a.set(r,si(i,e,n,r,t,s))}));var m=h?r:(u?c?eo:to:c?Ma:Pa)(t);return Ce(m||t,(function(i,r){m&&(i=t[r=i]),Qn(a,r,si(i,e,n,r,t,s))})),a}function ai(t,e,n){var i=n.length;if(null==t)return!i;for(t=kt(t);i--;){var o=n[i],s=e[o],a=t[o];if(a===r&&!(o in t)||!s(a))return!1}return!0}function li(t,e,n){if("function"!=typeof t)throw new Ot(o);return To((function(){t.apply(r,n)}),e)}function ci(t,e,n,i){var r=-1,o=Ee,s=!0,a=t.length,l=[],c=e.length;if(!a)return l;n&&(e=Me(e,Ye(n))),i?(o=Pe,s=!1):e.length>=200&&(o=Ze,s=!1,e=new qn(e));t:for(;++r<a;){var u=t[r],h=null==n?u:n(u);if(u=i||0!==u?u:0,s&&h==h){for(var d=c;d--;)if(e[d]===h)continue t;l.push(u)}else o(e,h,i)||l.push(u)}return l}Bn.templateSettings={escape:Y,evaluate:K,interpolate:Z,variable:"",imports:{_:Bn}},Bn.prototype=Fn.prototype,Bn.prototype.constructor=Bn,zn.prototype=Nn(Fn.prototype),zn.prototype.constructor=zn,Vn.prototype=Nn(Fn.prototype),Vn.prototype.constructor=Vn,Wn.prototype.clear=function(){this.__data__=On?On(null):{},this.size=0},Wn.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Wn.prototype.get=function(t){var e=this.__data__;if(On){var n=e[t];return n===s?r:n}return jt.call(e,t)?e[t]:r},Wn.prototype.has=function(t){var e=this.__data__;return On?e[t]!==r:jt.call(e,t)},Wn.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=On&&e===r?s:e,this},Un.prototype.clear=function(){this.__data__=[],this.size=0},Un.prototype.delete=function(t){var e=this.__data__,n=ti(e,t);return!(n<0||(n==e.length-1?e.pop():Gt.call(e,n,1),--this.size,0))},Un.prototype.get=function(t){var e=this.__data__,n=ti(e,t);return n<0?r:e[n][1]},Un.prototype.has=function(t){return ti(this.__data__,t)>-1},Un.prototype.set=function(t,e){var n=this.__data__,i=ti(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this},Hn.prototype.clear=function(){this.size=0,this.__data__={hash:new Wn,map:new(Sn||Un),string:new Wn}},Hn.prototype.delete=function(t){var e=so(this,t).delete(t);return this.size-=e?1:0,e},Hn.prototype.get=function(t){return so(this,t).get(t)},Hn.prototype.has=function(t){return so(this,t).has(t)},Hn.prototype.set=function(t,e){var n=so(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this},qn.prototype.add=qn.prototype.push=function(t){return this.__data__.set(t,s),this},qn.prototype.has=function(t){return this.__data__.has(t)},Gn.prototype.clear=function(){this.__data__=new Un,this.size=0},Gn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Gn.prototype.get=function(t){return this.__data__.get(t)},Gn.prototype.has=function(t){return this.__data__.has(t)},Gn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Un){var i=n.__data__;if(!Sn||i.length<199)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new Hn(i)}return n.set(t,e),this.size=n.size,this};var ui=Pr(yi),hi=Pr(bi,!0);function di(t,e){var n=!0;return ui(t,(function(t,i,r){return n=!!e(t,i,r)})),n}function pi(t,e,n){for(var i=-1,o=t.length;++i<o;){var s=t[i],a=e(s);if(null!=a&&(l===r?a==a&&!aa(a):n(a,l)))var l=a,c=s}return c}function fi(t,e){var n=[];return ui(t,(function(t,i,r){e(t,i,r)&&n.push(t)})),n}function gi(t,e,n,i,r){var o=-1,s=t.length;for(n||(n=go),r||(r=[]);++o<s;){var a=t[o];e>0&&n(a)?e>1?gi(a,e-1,n,i,r):Le(r,a):i||(r[r.length]=a)}return r}var mi=Mr(),vi=Mr(!0);function yi(t,e){return t&&mi(t,e,Pa)}function bi(t,e){return t&&vi(t,e,Pa)}function _i(t,e){return Te(e,(function(e){return Ks(t[e])}))}function xi(t,e){for(var n=0,i=(e=mr(e,t)).length;null!=t&&n<i;)t=t[Ro(e[n++])];return n&&n==i?t:r}function wi(t,e,n){var i=e(t);return Ws(t)?i:Le(i,n(t))}function Si(t){return null==t?t===r?"[object Undefined]":"[object Null]":Jt&&Jt in kt(t)?function(t){var e=jt.call(t,Jt),n=t[Jt];try{t[Jt]=r;var i=!0}catch(t){}var o=Rt.call(t);return i&&(e?t[Jt]=n:delete t[Jt]),o}(t):function(t){return Rt.call(t)}(t)}function ki(t,e){return t>e}function Ci(t,e){return null!=t&&jt.call(t,e)}function Ai(t,e){return null!=t&&e in kt(t)}function Oi(t,e,n){for(var o=n?Pe:Ee,s=t[0].length,a=t.length,l=a,c=i(a),u=1/0,h=[];l--;){var d=t[l];l&&e&&(d=Me(d,Ye(e))),u=vn(d.length,u),c[l]=!n&&(e||s>=120&&d.length>=120)?new qn(l&&d):r}d=t[0];var p=-1,f=c[0];t:for(;++p<s&&h.length<u;){var g=d[p],m=e?e(g):g;if(g=n||0!==g?g:0,!(f?Ze(f,m):o(h,m,n))){for(l=a;--l;){var v=c[l];if(!(v?Ze(v,m):o(t[l],m,n)))continue t}f&&f.push(m),h.push(g)}}return h}function Ti(t,e,n){var i=null==(t=Co(t,e=mr(e,t)))?t:t[Ro(Yo(e))];return null==i?r:Se(i,t,n)}function Ei(t){return ta(t)&&Si(t)==g}function Pi(t,e,n,i,o){return t===e||(null==t||null==e||!ta(t)&&!ta(e)?t!=t&&e!=e:function(t,e,n,i,o,s){var a=Ws(t),l=Ws(e),c=a?m:ho(t),u=l?m:ho(e),h=(c=c==g?k:c)==k,d=(u=u==g?k:u)==k,p=c==u;if(p&&Gs(t)){if(!Gs(e))return!1;a=!0,h=!1}if(p&&!h)return s||(s=new Gn),a||la(t)?Jr(t,e,n,i,o,s):function(t,e,n,i,r,o,s){switch(n){case L:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case M:return!(t.byteLength!=e.byteLength||!o(new Vt(t),new Vt(e)));case v:case y:case S:return Ns(+t,+e);case b:return t.name==e.name&&t.message==e.message;case A:case T:return t==e+"";case w:var a=on;case O:var l=1&i;if(a||(a=ln),t.size!=e.size&&!l)return!1;var c=s.get(t);if(c)return c==e;i|=2,s.set(t,e);var u=Jr(a(t),a(e),i,r,o,s);return s.delete(t),u;case E:if(Rn)return Rn.call(t)==Rn.call(e)}return!1}(t,e,c,n,i,o,s);if(!(1&n)){var f=h&&jt.call(t,"__wrapped__"),_=d&&jt.call(e,"__wrapped__");if(f||_){var x=f?t.value():t,C=_?e.value():e;return s||(s=new Gn),o(x,C,n,i,s)}}return!!p&&(s||(s=new Gn),function(t,e,n,i,o,s){var a=1&n,l=to(t),c=l.length;if(c!=to(e).length&&!a)return!1;for(var u=c;u--;){var h=l[u];if(!(a?h in e:jt.call(e,h)))return!1}var d=s.get(t),p=s.get(e);if(d&&p)return d==e&&p==t;var f=!0;s.set(t,e),s.set(e,t);for(var g=a;++u<c;){var m=t[h=l[u]],v=e[h];if(i)var y=a?i(v,m,h,e,t,s):i(m,v,h,t,e,s);if(!(y===r?m===v||o(m,v,n,i,s):y)){f=!1;break}g||(g="constructor"==h)}if(f&&!g){var b=t.constructor,_=e.constructor;b==_||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _||(f=!1)}return s.delete(t),s.delete(e),f}(t,e,n,i,o,s))}(t,e,n,i,Pi,o))}function Mi(t,e,n,i){var o=n.length,s=o,a=!i;if(null==t)return!s;for(t=kt(t);o--;){var l=n[o];if(a&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++o<s;){var c=(l=n[o])[0],u=t[c],h=l[1];if(a&&l[2]){if(u===r&&!(c in t))return!1}else{var d=new Gn;if(i)var p=i(u,h,c,t,e,d);if(!(p===r?Pi(h,u,3,i,d):p))return!1}}return!0}function Li(t){return!(!Qs(t)||(e=t,$t&&$t in e))&&(Ks(t)?Nt:gt).test(Io(t));var e}function ji(t){return"function"==typeof t?t:null==t?nl:"object"==typeof t?Ws(t)?Bi(t[0],t[1]):Ii(t):hl(t)}function Di(t){if(!xo(t))return gn(t);var e=[];for(var n in kt(t))jt.call(t,n)&&"constructor"!=n&&e.push(n);return e}function $i(t,e){return t<e}function Ri(t,e){var n=-1,r=Hs(t)?i(t.length):[];return ui(t,(function(t,i,o){r[++n]=e(t,i,o)})),r}function Ii(t){var e=ao(t);return 1==e.length&&e[0][2]?So(e[0][0],e[0][1]):function(n){return n===t||Mi(n,t,e)}}function Bi(t,e){return yo(t)&&wo(e)?So(Ro(t),e):function(n){var i=Ca(n,t);return i===r&&i===e?Aa(n,t):Pi(e,i,3)}}function Ni(t,e,n,i,o){t!==e&&mi(e,(function(s,a){if(o||(o=new Gn),Qs(s))!function(t,e,n,i,o,s,a){var l=Ao(t,n),c=Ao(e,n),u=a.get(c);if(u)Jn(t,n,u);else{var h=s?s(l,c,n+"",t,e,a):r,d=h===r;if(d){var p=Ws(c),f=!p&&Gs(c),g=!p&&!f&&la(c);h=c,p||f||g?Ws(l)?h=l:qs(l)?h=Ar(l):f?(d=!1,h=_r(c,!0)):g?(d=!1,h=wr(c,!0)):h=[]:ia(c)||Vs(c)?(h=l,Vs(l)?h=ma(l):Qs(l)&&!Ks(l)||(h=fo(c))):d=!1}d&&(a.set(c,h),o(h,c,i,s,a),a.delete(c)),Jn(t,n,h)}}(t,e,a,n,Ni,i,o);else{var l=i?i(Ao(t,a),s,a+"",t,e,o):r;l===r&&(l=s),Jn(t,a,l)}}),Ma)}function Fi(t,e){var n=t.length;if(n)return mo(e+=e<0?n:0,n)?t[e]:r}function zi(t,e,n){e=e.length?Me(e,(function(t){return Ws(t)?function(e){return xi(e,1===t.length?t[0]:t)}:t})):[nl];var i=-1;e=Me(e,Ye(oo()));var r=Ri(t,(function(t,n,r){var o=Me(e,(function(e){return e(t)}));return{criteria:o,index:++i,value:t}}));return function(t){var e=t.length;for(t.sort((function(t,e){return function(t,e,n){for(var i=-1,r=t.criteria,o=e.criteria,s=r.length,a=n.length;++i<s;){var l=Sr(r[i],o[i]);if(l)return i>=a?l:l*("desc"==n[i]?-1:1)}return t.index-e.index}(t,e,n)}));e--;)t[e]=t[e].value;return t}(r)}function Vi(t,e,n){for(var i=-1,r=e.length,o={};++i<r;){var s=e[i],a=xi(t,s);n(a,s)&&Ki(o,mr(s,t),a)}return o}function Wi(t,e,n,i){var r=i?Fe:Ne,o=-1,s=e.length,a=t;for(t===e&&(e=Ar(e)),n&&(a=Me(t,Ye(n)));++o<s;)for(var l=0,c=e[o],u=n?n(c):c;(l=r(a,u,l,i))>-1;)a!==t&&Gt.call(a,l,1),Gt.call(t,l,1);return t}function Ui(t,e){for(var n=t?e.length:0,i=n-1;n--;){var r=e[n];if(n==i||r!==o){var o=r;mo(r)?Gt.call(t,r,1):lr(t,r)}}return t}function Hi(t,e){return t+pe(_n()*(e-t+1))}function qi(t,e){var n="";if(!t||e<1||e>h)return n;do{e%2&&(n+=t),(e=pe(e/2))&&(t+=t)}while(e);return n}function Gi(t,e){return Eo(ko(t,e,nl),t+"")}function Xi(t){return Yn(Na(t))}function Yi(t,e){var n=Na(t);return Lo(n,oi(e,0,n.length))}function Ki(t,e,n,i){if(!Qs(t))return t;for(var o=-1,s=(e=mr(e,t)).length,a=s-1,l=t;null!=l&&++o<s;){var c=Ro(e[o]),u=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(o!=a){var h=l[c];(u=i?i(h,c,l):r)===r&&(u=Qs(h)?h:mo(e[o+1])?[]:{})}Qn(l,c,u),l=l[c]}return t}var Zi=Tn?function(t,e){return Tn.set(t,e),t}:nl,Ji=te?function(t,e){return te(t,"toString",{configurable:!0,enumerable:!1,value:Qa(e),writable:!0})}:nl;function Qi(t){return Lo(Na(t))}function tr(t,e,n){var r=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var s=i(o);++r<o;)s[r]=t[r+e];return s}function er(t,e){var n;return ui(t,(function(t,i,r){return!(n=e(t,i,r))})),!!n}function nr(t,e,n){var i=0,r=null==t?i:t.length;if("number"==typeof e&&e==e&&r<=2147483647){for(;i<r;){var o=i+r>>>1,s=t[o];null!==s&&!aa(s)&&(n?s<=e:s<e)?i=o+1:r=o}return r}return ir(t,e,nl,n)}function ir(t,e,n,i){var o=0,s=null==t?0:t.length;if(0===s)return 0;for(var a=(e=n(e))!=e,l=null===e,c=aa(e),u=e===r;o<s;){var h=pe((o+s)/2),d=n(t[h]),p=d!==r,f=null===d,g=d==d,m=aa(d);if(a)var v=i||g;else v=u?g&&(i||p):l?g&&p&&(i||!f):c?g&&p&&!f&&(i||!m):!f&&!m&&(i?d<=e:d<e);v?o=h+1:s=h}return vn(s,4294967294)}function rr(t,e){for(var n=-1,i=t.length,r=0,o=[];++n<i;){var s=t[n],a=e?e(s):s;if(!n||!Ns(a,l)){var l=a;o[r++]=0===s?0:s}}return o}function or(t){return"number"==typeof t?t:aa(t)?d:+t}function sr(t){if("string"==typeof t)return t;if(Ws(t))return Me(t,sr)+"";if(aa(t))return In?In.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function ar(t,e,n){var i=-1,r=Ee,o=t.length,s=!0,a=[],l=a;if(n)s=!1,r=Pe;else if(o>=200){var c=e?null:qr(t);if(c)return ln(c);s=!1,r=Ze,l=new qn}else l=e?[]:a;t:for(;++i<o;){var u=t[i],h=e?e(u):u;if(u=n||0!==u?u:0,s&&h==h){for(var d=l.length;d--;)if(l[d]===h)continue t;e&&l.push(h),a.push(u)}else r(l,h,n)||(l!==a&&l.push(h),a.push(u))}return a}function lr(t,e){return null==(t=Co(t,e=mr(e,t)))||delete t[Ro(Yo(e))]}function cr(t,e,n,i){return Ki(t,e,n(xi(t,e)),i)}function ur(t,e,n,i){for(var r=t.length,o=i?r:-1;(i?o--:++o<r)&&e(t[o],o,t););return n?tr(t,i?0:o,i?o+1:r):tr(t,i?o+1:0,i?r:o)}function hr(t,e){var n=t;return n instanceof Vn&&(n=n.value()),je(e,(function(t,e){return e.func.apply(e.thisArg,Le([t],e.args))}),n)}function dr(t,e,n){var r=t.length;if(r<2)return r?ar(t[0]):[];for(var o=-1,s=i(r);++o<r;)for(var a=t[o],l=-1;++l<r;)l!=o&&(s[o]=ci(s[o]||a,t[l],e,n));return ar(gi(s,1),e,n)}function pr(t,e,n){for(var i=-1,o=t.length,s=e.length,a={};++i<o;){var l=i<s?e[i]:r;n(a,t[i],l)}return a}function fr(t){return qs(t)?t:[]}function gr(t){return"function"==typeof t?t:nl}function mr(t,e){return Ws(t)?t:yo(t,e)?[t]:$o(va(t))}var vr=Gi;function yr(t,e,n){var i=t.length;return n=n===r?i:n,!e&&n>=i?t:tr(t,e,n)}var br=se||function(t){return he.clearTimeout(t)};function _r(t,e){if(e)return t.slice();var n=t.length,i=Wt?Wt(n):new t.constructor(n);return t.copy(i),i}function xr(t){var e=new t.constructor(t.byteLength);return new Vt(e).set(new Vt(t)),e}function wr(t,e){var n=e?xr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Sr(t,e){if(t!==e){var n=t!==r,i=null===t,o=t==t,s=aa(t),a=e!==r,l=null===e,c=e==e,u=aa(e);if(!l&&!u&&!s&&t>e||s&&a&&c&&!l&&!u||i&&a&&c||!n&&c||!o)return 1;if(!i&&!s&&!u&&t<e||u&&n&&o&&!i&&!s||l&&n&&o||!a&&o||!c)return-1}return 0}function kr(t,e,n,r){for(var o=-1,s=t.length,a=n.length,l=-1,c=e.length,u=mn(s-a,0),h=i(c+u),d=!r;++l<c;)h[l]=e[l];for(;++o<a;)(d||o<s)&&(h[n[o]]=t[o]);for(;u--;)h[l++]=t[o++];return h}function Cr(t,e,n,r){for(var o=-1,s=t.length,a=-1,l=n.length,c=-1,u=e.length,h=mn(s-l,0),d=i(h+u),p=!r;++o<h;)d[o]=t[o];for(var f=o;++c<u;)d[f+c]=e[c];for(;++a<l;)(p||o<s)&&(d[f+n[a]]=t[o++]);return d}function Ar(t,e){var n=-1,r=t.length;for(e||(e=i(r));++n<r;)e[n]=t[n];return e}function Or(t,e,n,i){var o=!n;n||(n={});for(var s=-1,a=e.length;++s<a;){var l=e[s],c=i?i(n[l],t[l],l,n,t):r;c===r&&(c=t[l]),o?ii(n,l,c):Qn(n,l,c)}return n}function Tr(t,e){return function(n,i){var r=Ws(n)?ke:ei,o=e?e():{};return r(n,t,oo(i,2),o)}}function Er(t){return Gi((function(e,n){var i=-1,o=n.length,s=o>1?n[o-1]:r,a=o>2?n[2]:r;for(s=t.length>3&&"function"==typeof s?(o--,s):r,a&&vo(n[0],n[1],a)&&(s=o<3?r:s,o=1),e=kt(e);++i<o;){var l=n[i];l&&t(e,l,i,s)}return e}))}function Pr(t,e){return function(n,i){if(null==n)return n;if(!Hs(n))return t(n,i);for(var r=n.length,o=e?r:-1,s=kt(n);(e?o--:++o<r)&&!1!==i(s[o],o,s););return n}}function Mr(t){return function(e,n,i){for(var r=-1,o=kt(e),s=i(e),a=s.length;a--;){var l=s[t?a:++r];if(!1===n(o[l],l,o))break}return e}}function Lr(t){return function(e){var n=rn(e=va(e))?hn(e):r,i=n?n[0]:e.charAt(0),o=n?yr(n,1).join(""):e.slice(1);return i[t]()+o}}function jr(t){return function(e){return je(Ka(Va(e).replace(Kt,"")),t,"")}}function Dr(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Nn(t.prototype),i=t.apply(n,e);return Qs(i)?i:n}}function $r(t){return function(e,n,i){var o=kt(e);if(!Hs(e)){var s=oo(n,3);e=Pa(e),n=function(t){return s(o[t],t,o)}}var a=t(e,n,i);return a>-1?o[s?e[a]:a]:r}}function Rr(t){return Qr((function(e){var n=e.length,i=n,s=zn.prototype.thru;for(t&&e.reverse();i--;){var a=e[i];if("function"!=typeof a)throw new Ot(o);if(s&&!l&&"wrapper"==io(a))var l=new zn([],!0)}for(i=l?i:n;++i<n;){var c=io(a=e[i]),u="wrapper"==c?no(a):r;l=u&&bo(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?l[io(u[0])].apply(l,u[3]):1==a.length&&bo(a)?l[c]():l.thru(a)}return function(){var t=arguments,i=t[0];if(l&&1==t.length&&Ws(i))return l.plant(i).value();for(var r=0,o=n?e[r].apply(this,t):i;++r<n;)o=e[r].call(this,o);return o}}))}function Ir(t,e,n,o,s,a,l,u,h,d){var p=e&c,f=1&e,g=2&e,m=24&e,v=512&e,y=g?r:Dr(t);return function c(){for(var b=arguments.length,_=i(b),x=b;x--;)_[x]=arguments[x];if(m)var w=ro(c),S=function(t,e){for(var n=t.length,i=0;n--;)t[n]===e&&++i;return i}(_,w);if(o&&(_=kr(_,o,s,m)),a&&(_=Cr(_,a,l,m)),b-=S,m&&b<d){var k=an(_,w);return Ur(t,e,Ir,c.placeholder,n,_,k,u,h,d-b)}var C=f?n:this,A=g?C[t]:t;return b=_.length,u?_=function(t,e){for(var n=t.length,i=vn(e.length,n),o=Ar(t);i--;){var s=e[i];t[i]=mo(s,n)?o[s]:r}return t}(_,u):v&&b>1&&_.reverse(),p&&h<b&&(_.length=h),this&&this!==he&&this instanceof c&&(A=y||Dr(A)),A.apply(C,_)}}function Br(t,e){return function(n,i){return function(t,e,n,i){return yi(t,(function(t,r,o){e(i,n(t),r,o)})),i}(n,t,e(i),{})}}function Nr(t,e){return function(n,i){var o;if(n===r&&i===r)return e;if(n!==r&&(o=n),i!==r){if(o===r)return i;"string"==typeof n||"string"==typeof i?(n=sr(n),i=sr(i)):(n=or(n),i=or(i)),o=t(n,i)}return o}}function Fr(t){return Qr((function(e){return e=Me(e,Ye(oo())),Gi((function(n){var i=this;return t(e,(function(t){return Se(t,i,n)}))}))}))}function zr(t,e){var n=(e=e===r?" ":sr(e)).length;if(n<2)return n?qi(e,t):e;var i=qi(e,de(t/un(e)));return rn(e)?yr(hn(i),0,t).join(""):i.slice(0,t)}function Vr(t){return function(e,n,o){return o&&"number"!=typeof o&&vo(e,n,o)&&(n=o=r),e=da(e),n===r?(n=e,e=0):n=da(n),function(t,e,n,r){for(var o=-1,s=mn(de((e-t)/(n||1)),0),a=i(s);s--;)a[r?s:++o]=t,t+=n;return a}(e,n,o=o===r?e<n?1:-1:da(o),t)}}function Wr(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=ga(e),n=ga(n)),t(e,n)}}function Ur(t,e,n,i,o,s,a,c,u,h){var d=8&e;e|=d?l:64,4&(e&=~(d?64:l))||(e&=-4);var p=[t,e,o,d?s:r,d?a:r,d?r:s,d?r:a,c,u,h],f=n.apply(r,p);return bo(t)&&Oo(f,p),f.placeholder=i,Po(f,t,e)}function Hr(t){var e=St[t];return function(t,n){if(t=ga(t),(n=null==n?0:vn(pa(n),292))&&Re(t)){var i=(va(t)+"e").split("e");return+((i=(va(e(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return e(t)}}var qr=Cn&&1/ln(new Cn([,-0]))[1]==u?function(t){return new Cn(t)}:al;function Gr(t){return function(e){var n=ho(e);return n==w?on(e):n==O?cn(e):function(t,e){return Me(e,(function(e){return[e,t[e]]}))}(e,t(e))}}function Xr(t,e,n,s,u,h,d,p){var f=2&e;if(!f&&"function"!=typeof t)throw new Ot(o);var g=s?s.length:0;if(g||(e&=-97,s=u=r),d=d===r?d:mn(pa(d),0),p=p===r?p:pa(p),g-=u?u.length:0,64&e){var m=s,v=u;s=u=r}var y=f?r:no(t),b=[t,e,n,s,u,m,v,h,d,p];if(y&&function(t,e){var n=t[1],i=e[1],r=n|i,o=r<131,s=i==c&&8==n||i==c&&256==n&&t[7].length<=e[8]||384==i&&e[7].length<=e[8]&&8==n;if(!o&&!s)return t;1&i&&(t[2]=e[2],r|=1&n?0:4);var l=e[3];if(l){var u=t[3];t[3]=u?kr(u,l,e[4]):l,t[4]=u?an(t[3],a):e[4]}(l=e[5])&&(u=t[5],t[5]=u?Cr(u,l,e[6]):l,t[6]=u?an(t[5],a):e[6]),(l=e[7])&&(t[7]=l),i&c&&(t[8]=null==t[8]?e[8]:vn(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=r}(b,y),t=b[0],e=b[1],n=b[2],s=b[3],u=b[4],!(p=b[9]=b[9]===r?f?0:t.length:mn(b[9]-g,0))&&24&e&&(e&=-25),e&&1!=e)_=8==e||16==e?function(t,e,n){var o=Dr(t);return function s(){for(var a=arguments.length,l=i(a),c=a,u=ro(s);c--;)l[c]=arguments[c];var h=a<3&&l[0]!==u&&l[a-1]!==u?[]:an(l,u);return(a-=h.length)<n?Ur(t,e,Ir,s.placeholder,r,l,h,r,r,n-a):Se(this&&this!==he&&this instanceof s?o:t,this,l)}}(t,e,p):e!=l&&33!=e||u.length?Ir.apply(r,b):function(t,e,n,r){var o=1&e,s=Dr(t);return function e(){for(var a=-1,l=arguments.length,c=-1,u=r.length,h=i(u+l),d=this&&this!==he&&this instanceof e?s:t;++c<u;)h[c]=r[c];for(;l--;)h[c++]=arguments[++a];return Se(d,o?n:this,h)}}(t,e,n,s);else var _=function(t,e,n){var i=1&e,r=Dr(t);return function e(){return(this&&this!==he&&this instanceof e?r:t).apply(i?n:this,arguments)}}(t,e,n);return Po((y?Zi:Oo)(_,b),t,e)}function Yr(t,e,n,i){return t===r||Ns(t,Pt[n])&&!jt.call(i,n)?e:t}function Kr(t,e,n,i,o,s){return Qs(t)&&Qs(e)&&(s.set(e,t),Ni(t,e,r,Kr,s),s.delete(e)),t}function Zr(t){return ia(t)?r:t}function Jr(t,e,n,i,o,s){var a=1&n,l=t.length,c=e.length;if(l!=c&&!(a&&c>l))return!1;var u=s.get(t),h=s.get(e);if(u&&h)return u==e&&h==t;var d=-1,p=!0,f=2&n?new qn:r;for(s.set(t,e),s.set(e,t);++d<l;){var g=t[d],m=e[d];if(i)var v=a?i(m,g,d,e,t,s):i(g,m,d,t,e,s);if(v!==r){if(v)continue;p=!1;break}if(f){if(!$e(e,(function(t,e){if(!Ze(f,e)&&(g===t||o(g,t,n,i,s)))return f.push(e)}))){p=!1;break}}else if(g!==m&&!o(g,m,n,i,s)){p=!1;break}}return s.delete(t),s.delete(e),p}function Qr(t){return Eo(ko(t,r,Uo),t+"")}function to(t){return wi(t,Pa,co)}function eo(t){return wi(t,Ma,uo)}var no=Tn?function(t){return Tn.get(t)}:al;function io(t){for(var e=t.name+"",n=En[e],i=jt.call(En,e)?n.length:0;i--;){var r=n[i],o=r.func;if(null==o||o==t)return r.name}return e}function ro(t){return(jt.call(Bn,"placeholder")?Bn:t).placeholder}function oo(){var t=Bn.iteratee||il;return t=t===il?ji:t,arguments.length?t(arguments[0],arguments[1]):t}function so(t,e){var n,i,r=t.__data__;return("string"==(i=typeof(n=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof e?"string":"hash"]:r.map}function ao(t){for(var e=Pa(t),n=e.length;n--;){var i=e[n],r=t[i];e[n]=[i,r,wo(r)]}return e}function lo(t,e){var n=function(t,e){return null==t?r:t[e]}(t,e);return Li(n)?n:r}var co=ge?function(t){return null==t?[]:(t=kt(t),Te(ge(t),(function(e){return qt.call(t,e)})))}:fl,uo=ge?function(t){for(var e=[];t;)Le(e,co(t)),t=Ut(t);return e}:fl,ho=Si;function po(t,e,n){for(var i=-1,r=(e=mr(e,t)).length,o=!1;++i<r;){var s=Ro(e[i]);if(!(o=null!=t&&n(t,s)))break;t=t[s]}return o||++i!=r?o:!!(r=null==t?0:t.length)&&Js(r)&&mo(s,r)&&(Ws(t)||Vs(t))}function fo(t){return"function"!=typeof t.constructor||xo(t)?{}:Nn(Ut(t))}function go(t){return Ws(t)||Vs(t)||!!(Xt&&t&&t[Xt])}function mo(t,e){var n=typeof t;return!!(e=null==e?h:e)&&("number"==n||"symbol"!=n&&vt.test(t))&&t>-1&&t%1==0&&t<e}function vo(t,e,n){if(!Qs(n))return!1;var i=typeof e;return!!("number"==i?Hs(n)&&mo(e,n.length):"string"==i&&e in n)&&Ns(n[e],t)}function yo(t,e){if(Ws(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!aa(t))||Q.test(t)||!J.test(t)||null!=e&&t in kt(e)}function bo(t){var e=io(t),n=Bn[e];if("function"!=typeof n||!(e in Vn.prototype))return!1;if(t===n)return!0;var i=no(n);return!!i&&t===i[0]}(wn&&ho(new wn(new ArrayBuffer(1)))!=L||Sn&&ho(new Sn)!=w||kn&&ho(kn.resolve())!=C||Cn&&ho(new Cn)!=O||An&&ho(new An)!=P)&&(ho=function(t){var e=Si(t),n=e==k?t.constructor:r,i=n?Io(n):"";if(i)switch(i){case Pn:return L;case Mn:return w;case Ln:return C;case jn:return O;case Dn:return P}return e});var _o=Mt?Ks:gl;function xo(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Pt)}function wo(t){return t==t&&!Qs(t)}function So(t,e){return function(n){return null!=n&&n[t]===e&&(e!==r||t in kt(n))}}function ko(t,e,n){return e=mn(e===r?t.length-1:e,0),function(){for(var r=arguments,o=-1,s=mn(r.length-e,0),a=i(s);++o<s;)a[o]=r[e+o];o=-1;for(var l=i(e+1);++o<e;)l[o]=r[o];return l[e]=n(a),Se(t,this,l)}}function Co(t,e){return e.length<2?t:xi(t,tr(e,0,-1))}function Ao(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var Oo=Mo(Zi),To=ue||function(t,e){return he.setTimeout(t,e)},Eo=Mo(Ji);function Po(t,e,n){var i=e+"";return Eo(t,function(t,e){var n=e.length;if(!n)return t;var i=n-1;return e[i]=(n>1?"& ":"")+e[i],e=e.join(n>2?", ":" "),t.replace(ot,"{\n/* [wrapped with "+e+"] */\n")}(i,function(t,e){return Ce(f,(function(n){var i="_."+n[0];e&n[1]&&!Ee(t,i)&&t.push(i)})),t.sort()}(function(t){var e=t.match(st);return e?e[1].split(at):[]}(i),n)))}function Mo(t){var e=0,n=0;return function(){var i=yn(),o=16-(i-n);if(n=i,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(r,arguments)}}function Lo(t,e){var n=-1,i=t.length,o=i-1;for(e=e===r?i:e;++n<e;){var s=Hi(n,o),a=t[s];t[s]=t[n],t[n]=a}return t.length=e,t}var jo,Do,$o=(jo=js((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(tt,(function(t,n,i,r){e.push(i?r.replace(ut,"$1"):n||t)})),e}),(function(t){return 500===Do.size&&Do.clear(),t})),Do=jo.cache,jo);function Ro(t){if("string"==typeof t||aa(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Io(t){if(null!=t){try{return Lt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Bo(t){if(t instanceof Vn)return t.clone();var e=new zn(t.__wrapped__,t.__chain__);return e.__actions__=Ar(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var No=Gi((function(t,e){return qs(t)?ci(t,gi(e,1,qs,!0)):[]})),Fo=Gi((function(t,e){var n=Yo(e);return qs(n)&&(n=r),qs(t)?ci(t,gi(e,1,qs,!0),oo(n,2)):[]})),zo=Gi((function(t,e){var n=Yo(e);return qs(n)&&(n=r),qs(t)?ci(t,gi(e,1,qs,!0),r,n):[]}));function Vo(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:pa(n);return r<0&&(r=mn(i+r,0)),Be(t,oo(e,3),r)}function Wo(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var o=i-1;return n!==r&&(o=pa(n),o=n<0?mn(i+o,0):vn(o,i-1)),Be(t,oo(e,3),o,!0)}function Uo(t){return null!=t&&t.length?gi(t,1):[]}function Ho(t){return t&&t.length?t[0]:r}var qo=Gi((function(t){var e=Me(t,fr);return e.length&&e[0]===t[0]?Oi(e):[]})),Go=Gi((function(t){var e=Yo(t),n=Me(t,fr);return e===Yo(n)?e=r:n.pop(),n.length&&n[0]===t[0]?Oi(n,oo(e,2)):[]})),Xo=Gi((function(t){var e=Yo(t),n=Me(t,fr);return(e="function"==typeof e?e:r)&&n.pop(),n.length&&n[0]===t[0]?Oi(n,r,e):[]}));function Yo(t){var e=null==t?0:t.length;return e?t[e-1]:r}var Ko=Gi(Zo);function Zo(t,e){return t&&t.length&&e&&e.length?Wi(t,e):t}var Jo=Qr((function(t,e){var n=null==t?0:t.length,i=ri(t,e);return Ui(t,Me(e,(function(t){return mo(t,n)?+t:t})).sort(Sr)),i}));function Qo(t){return null==t?t:xn.call(t)}var ts=Gi((function(t){return ar(gi(t,1,qs,!0))})),es=Gi((function(t){var e=Yo(t);return qs(e)&&(e=r),ar(gi(t,1,qs,!0),oo(e,2))})),ns=Gi((function(t){var e=Yo(t);return e="function"==typeof e?e:r,ar(gi(t,1,qs,!0),r,e)}));function is(t){if(!t||!t.length)return[];var e=0;return t=Te(t,(function(t){if(qs(t))return e=mn(t.length,e),!0})),Ge(e,(function(e){return Me(t,We(e))}))}function rs(t,e){if(!t||!t.length)return[];var n=is(t);return null==e?n:Me(n,(function(t){return Se(e,r,t)}))}var os=Gi((function(t,e){return qs(t)?ci(t,e):[]})),ss=Gi((function(t){return dr(Te(t,qs))})),as=Gi((function(t){var e=Yo(t);return qs(e)&&(e=r),dr(Te(t,qs),oo(e,2))})),ls=Gi((function(t){var e=Yo(t);return e="function"==typeof e?e:r,dr(Te(t,qs),r,e)})),cs=Gi(is),us=Gi((function(t){var e=t.length,n=e>1?t[e-1]:r;return n="function"==typeof n?(t.pop(),n):r,rs(t,n)}));function hs(t){var e=Bn(t);return e.__chain__=!0,e}function ds(t,e){return e(t)}var ps=Qr((function(t){var e=t.length,n=e?t[0]:0,i=this.__wrapped__,o=function(e){return ri(e,t)};return!(e>1||this.__actions__.length)&&i instanceof Vn&&mo(n)?((i=i.slice(n,+n+(e?1:0))).__actions__.push({func:ds,args:[o],thisArg:r}),new zn(i,this.__chain__).thru((function(t){return e&&!t.length&&t.push(r),t}))):this.thru(o)})),fs=Tr((function(t,e,n){jt.call(t,n)?++t[n]:ii(t,n,1)})),gs=$r(Vo),ms=$r(Wo);function vs(t,e){return(Ws(t)?Ce:ui)(t,oo(e,3))}function ys(t,e){return(Ws(t)?Ae:hi)(t,oo(e,3))}var bs=Tr((function(t,e,n){jt.call(t,n)?t[n].push(e):ii(t,n,[e])})),_s=Gi((function(t,e,n){var r=-1,o="function"==typeof e,s=Hs(t)?i(t.length):[];return ui(t,(function(t){s[++r]=o?Se(e,t,n):Ti(t,e,n)})),s})),xs=Tr((function(t,e,n){ii(t,n,e)}));function ws(t,e){return(Ws(t)?Me:Ri)(t,oo(e,3))}var Ss=Tr((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]})),ks=Gi((function(t,e){if(null==t)return[];var n=e.length;return n>1&&vo(t,e[0],e[1])?e=[]:n>2&&vo(e[0],e[1],e[2])&&(e=[e[0]]),zi(t,gi(e,1),[])})),Cs=ce||function(){return he.Date.now()};function As(t,e,n){return e=n?r:e,e=t&&null==e?t.length:e,Xr(t,c,r,r,r,r,e)}function Os(t,e){var n;if("function"!=typeof e)throw new Ot(o);return t=pa(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=r),n}}var Ts=Gi((function(t,e,n){var i=1;if(n.length){var r=an(n,ro(Ts));i|=l}return Xr(t,i,e,n,r)})),Es=Gi((function(t,e,n){var i=3;if(n.length){var r=an(n,ro(Es));i|=l}return Xr(e,i,t,n,r)}));function Ps(t,e,n){var i,s,a,l,c,u,h=0,d=!1,p=!1,f=!0;if("function"!=typeof t)throw new Ot(o);function g(e){var n=i,o=s;return i=s=r,h=e,l=t.apply(o,n)}function m(t){var n=t-u;return u===r||n>=e||n<0||p&&t-h>=a}function v(){var t=Cs();if(m(t))return y(t);c=To(v,function(t){var n=e-(t-u);return p?vn(n,a-(t-h)):n}(t))}function y(t){return c=r,f&&i?g(t):(i=s=r,l)}function b(){var t=Cs(),n=m(t);if(i=arguments,s=this,u=t,n){if(c===r)return function(t){return h=t,c=To(v,e),d?g(t):l}(u);if(p)return br(c),c=To(v,e),g(u)}return c===r&&(c=To(v,e)),l}return e=ga(e)||0,Qs(n)&&(d=!!n.leading,a=(p="maxWait"in n)?mn(ga(n.maxWait)||0,e):a,f="trailing"in n?!!n.trailing:f),b.cancel=function(){c!==r&&br(c),h=0,i=u=s=c=r},b.flush=function(){return c===r?l:y(Cs())},b}var Ms=Gi((function(t,e){return li(t,1,e)})),Ls=Gi((function(t,e,n){return li(t,ga(e)||0,n)}));function js(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new Ot(o);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var s=t.apply(this,i);return n.cache=o.set(r,s)||o,s};return n.cache=new(js.Cache||Hn),n}function Ds(t){if("function"!=typeof t)throw new Ot(o);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}js.Cache=Hn;var $s=vr((function(t,e){var n=(e=1==e.length&&Ws(e[0])?Me(e[0],Ye(oo())):Me(gi(e,1),Ye(oo()))).length;return Gi((function(i){for(var r=-1,o=vn(i.length,n);++r<o;)i[r]=e[r].call(this,i[r]);return Se(t,this,i)}))})),Rs=Gi((function(t,e){var n=an(e,ro(Rs));return Xr(t,l,r,e,n)})),Is=Gi((function(t,e){var n=an(e,ro(Is));return Xr(t,64,r,e,n)})),Bs=Qr((function(t,e){return Xr(t,256,r,r,r,e)}));function Ns(t,e){return t===e||t!=t&&e!=e}var Fs=Wr(ki),zs=Wr((function(t,e){return t>=e})),Vs=Ei(function(){return arguments}())?Ei:function(t){return ta(t)&&jt.call(t,"callee")&&!qt.call(t,"callee")},Ws=i.isArray,Us=ve?Ye(ve):function(t){return ta(t)&&Si(t)==M};function Hs(t){return null!=t&&Js(t.length)&&!Ks(t)}function qs(t){return ta(t)&&Hs(t)}var Gs=me||gl,Xs=ye?Ye(ye):function(t){return ta(t)&&Si(t)==y};function Ys(t){if(!ta(t))return!1;var e=Si(t);return e==b||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!ia(t)}function Ks(t){if(!Qs(t))return!1;var e=Si(t);return e==_||e==x||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Zs(t){return"number"==typeof t&&t==pa(t)}function Js(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=h}function Qs(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function ta(t){return null!=t&&"object"==typeof t}var ea=be?Ye(be):function(t){return ta(t)&&ho(t)==w};function na(t){return"number"==typeof t||ta(t)&&Si(t)==S}function ia(t){if(!ta(t)||Si(t)!=k)return!1;var e=Ut(t);if(null===e)return!0;var n=jt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Lt.call(n)==It}var ra=_e?Ye(_e):function(t){return ta(t)&&Si(t)==A},oa=xe?Ye(xe):function(t){return ta(t)&&ho(t)==O};function sa(t){return"string"==typeof t||!Ws(t)&&ta(t)&&Si(t)==T}function aa(t){return"symbol"==typeof t||ta(t)&&Si(t)==E}var la=we?Ye(we):function(t){return ta(t)&&Js(t.length)&&!!re[Si(t)]},ca=Wr($i),ua=Wr((function(t,e){return t<=e}));function ha(t){if(!t)return[];if(Hs(t))return sa(t)?hn(t):Ar(t);if(Yt&&t[Yt])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Yt]());var e=ho(t);return(e==w?on:e==O?ln:Na)(t)}function da(t){return t?(t=ga(t))===u||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function pa(t){var e=da(t),n=e%1;return e==e?n?e-n:e:0}function fa(t){return t?oi(pa(t),0,p):0}function ga(t){if("number"==typeof t)return t;if(aa(t))return d;if(Qs(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Qs(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Xe(t);var n=ft.test(t);return n||mt.test(t)?le(t.slice(2),n?2:8):pt.test(t)?d:+t}function ma(t){return Or(t,Ma(t))}function va(t){return null==t?"":sr(t)}var ya=Er((function(t,e){if(xo(e)||Hs(e))Or(e,Pa(e),t);else for(var n in e)jt.call(e,n)&&Qn(t,n,e[n])})),ba=Er((function(t,e){Or(e,Ma(e),t)})),_a=Er((function(t,e,n,i){Or(e,Ma(e),t,i)})),xa=Er((function(t,e,n,i){Or(e,Pa(e),t,i)})),wa=Qr(ri),Sa=Gi((function(t,e){t=kt(t);var n=-1,i=e.length,o=i>2?e[2]:r;for(o&&vo(e[0],e[1],o)&&(i=1);++n<i;)for(var s=e[n],a=Ma(s),l=-1,c=a.length;++l<c;){var u=a[l],h=t[u];(h===r||Ns(h,Pt[u])&&!jt.call(t,u))&&(t[u]=s[u])}return t})),ka=Gi((function(t){return t.push(r,Kr),Se(ja,r,t)}));function Ca(t,e,n){var i=null==t?r:xi(t,e);return i===r?n:i}function Aa(t,e){return null!=t&&po(t,e,Ai)}var Oa=Br((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Rt.call(e)),t[e]=n}),Qa(nl)),Ta=Br((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Rt.call(e)),jt.call(t,e)?t[e].push(n):t[e]=[n]}),oo),Ea=Gi(Ti);function Pa(t){return Hs(t)?Xn(t):Di(t)}function Ma(t){return Hs(t)?Xn(t,!0):function(t){if(!Qs(t))return function(t){var e=[];if(null!=t)for(var n in kt(t))e.push(n);return e}(t);var e=xo(t),n=[];for(var i in t)("constructor"!=i||!e&&jt.call(t,i))&&n.push(i);return n}(t)}var La=Er((function(t,e,n){Ni(t,e,n)})),ja=Er((function(t,e,n,i){Ni(t,e,n,i)})),Da=Qr((function(t,e){var n={};if(null==t)return n;var i=!1;e=Me(e,(function(e){return e=mr(e,t),i||(i=e.length>1),e})),Or(t,eo(t),n),i&&(n=si(n,7,Zr));for(var r=e.length;r--;)lr(n,e[r]);return n})),$a=Qr((function(t,e){return null==t?{}:function(t,e){return Vi(t,e,(function(e,n){return Aa(t,n)}))}(t,e)}));function Ra(t,e){if(null==t)return{};var n=Me(eo(t),(function(t){return[t]}));return e=oo(e),Vi(t,n,(function(t,n){return e(t,n[0])}))}var Ia=Gr(Pa),Ba=Gr(Ma);function Na(t){return null==t?[]:Ke(t,Pa(t))}var Fa=jr((function(t,e,n){return e=e.toLowerCase(),t+(n?za(e):e)}));function za(t){return Ya(va(t).toLowerCase())}function Va(t){return(t=va(t))&&t.replace(yt,tn).replace(Zt,"")}var Wa=jr((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Ua=jr((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Ha=Lr("toLowerCase"),qa=jr((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()})),Ga=jr((function(t,e,n){return t+(n?" ":"")+Ya(e)})),Xa=jr((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Ya=Lr("toUpperCase");function Ka(t,e,n){return t=va(t),(e=n?r:e)===r?function(t){return ee.test(t)}(t)?function(t){return t.match(Qt)||[]}(t):function(t){return t.match(lt)||[]}(t):t.match(e)||[]}var Za=Gi((function(t,e){try{return Se(t,r,e)}catch(t){return Ys(t)?t:new xt(t)}})),Ja=Qr((function(t,e){return Ce(e,(function(e){e=Ro(e),ii(t,e,Ts(t[e],t))})),t}));function Qa(t){return function(){return t}}var tl=Rr(),el=Rr(!0);function nl(t){return t}function il(t){return ji("function"==typeof t?t:si(t,1))}var rl=Gi((function(t,e){return function(n){return Ti(n,t,e)}})),ol=Gi((function(t,e){return function(n){return Ti(t,n,e)}}));function sl(t,e,n){var i=Pa(e),r=_i(e,i);null!=n||Qs(e)&&(r.length||!i.length)||(n=e,e=t,t=this,r=_i(e,Pa(e)));var o=!(Qs(n)&&"chain"in n&&!n.chain),s=Ks(t);return Ce(r,(function(n){var i=e[n];t[n]=i,s&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=Ar(this.__actions__)).push({func:i,args:arguments,thisArg:t}),n.__chain__=e,n}return i.apply(t,Le([this.value()],arguments))})})),t}function al(){}var ll=Fr(Me),cl=Fr(Oe),ul=Fr($e);function hl(t){return yo(t)?We(Ro(t)):function(t){return function(e){return xi(e,t)}}(t)}var dl=Vr(),pl=Vr(!0);function fl(){return[]}function gl(){return!1}var ml,vl=Nr((function(t,e){return t+e}),0),yl=Hr("ceil"),bl=Nr((function(t,e){return t/e}),1),_l=Hr("floor"),xl=Nr((function(t,e){return t*e}),1),wl=Hr("round"),Sl=Nr((function(t,e){return t-e}),0);return Bn.after=function(t,e){if("function"!=typeof e)throw new Ot(o);return t=pa(t),function(){if(--t<1)return e.apply(this,arguments)}},Bn.ary=As,Bn.assign=ya,Bn.assignIn=ba,Bn.assignInWith=_a,Bn.assignWith=xa,Bn.at=wa,Bn.before=Os,Bn.bind=Ts,Bn.bindAll=Ja,Bn.bindKey=Es,Bn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Ws(t)?t:[t]},Bn.chain=hs,Bn.chunk=function(t,e,n){e=(n?vo(t,e,n):e===r)?1:mn(pa(e),0);var o=null==t?0:t.length;if(!o||e<1)return[];for(var s=0,a=0,l=i(de(o/e));s<o;)l[a++]=tr(t,s,s+=e);return l},Bn.compact=function(t){for(var e=-1,n=null==t?0:t.length,i=0,r=[];++e<n;){var o=t[e];o&&(r[i++]=o)}return r},Bn.concat=function(){var t=arguments.length;if(!t)return[];for(var e=i(t-1),n=arguments[0],r=t;r--;)e[r-1]=arguments[r];return Le(Ws(n)?Ar(n):[n],gi(e,1))},Bn.cond=function(t){var e=null==t?0:t.length,n=oo();return t=e?Me(t,(function(t){if("function"!=typeof t[1])throw new Ot(o);return[n(t[0]),t[1]]})):[],Gi((function(n){for(var i=-1;++i<e;){var r=t[i];if(Se(r[0],this,n))return Se(r[1],this,n)}}))},Bn.conforms=function(t){return function(t){var e=Pa(t);return function(n){return ai(n,t,e)}}(si(t,1))},Bn.constant=Qa,Bn.countBy=fs,Bn.create=function(t,e){var n=Nn(t);return null==e?n:ni(n,e)},Bn.curry=function t(e,n,i){var o=Xr(e,8,r,r,r,r,r,n=i?r:n);return o.placeholder=t.placeholder,o},Bn.curryRight=function t(e,n,i){var o=Xr(e,16,r,r,r,r,r,n=i?r:n);return o.placeholder=t.placeholder,o},Bn.debounce=Ps,Bn.defaults=Sa,Bn.defaultsDeep=ka,Bn.defer=Ms,Bn.delay=Ls,Bn.difference=No,Bn.differenceBy=Fo,Bn.differenceWith=zo,Bn.drop=function(t,e,n){var i=null==t?0:t.length;return i?tr(t,(e=n||e===r?1:pa(e))<0?0:e,i):[]},Bn.dropRight=function(t,e,n){var i=null==t?0:t.length;return i?tr(t,0,(e=i-(e=n||e===r?1:pa(e)))<0?0:e):[]},Bn.dropRightWhile=function(t,e){return t&&t.length?ur(t,oo(e,3),!0,!0):[]},Bn.dropWhile=function(t,e){return t&&t.length?ur(t,oo(e,3),!0):[]},Bn.fill=function(t,e,n,i){var o=null==t?0:t.length;return o?(n&&"number"!=typeof n&&vo(t,e,n)&&(n=0,i=o),function(t,e,n,i){var o=t.length;for((n=pa(n))<0&&(n=-n>o?0:o+n),(i=i===r||i>o?o:pa(i))<0&&(i+=o),i=n>i?0:fa(i);n<i;)t[n++]=e;return t}(t,e,n,i)):[]},Bn.filter=function(t,e){return(Ws(t)?Te:fi)(t,oo(e,3))},Bn.flatMap=function(t,e){return gi(ws(t,e),1)},Bn.flatMapDeep=function(t,e){return gi(ws(t,e),u)},Bn.flatMapDepth=function(t,e,n){return n=n===r?1:pa(n),gi(ws(t,e),n)},Bn.flatten=Uo,Bn.flattenDeep=function(t){return null!=t&&t.length?gi(t,u):[]},Bn.flattenDepth=function(t,e){return null!=t&&t.length?gi(t,e=e===r?1:pa(e)):[]},Bn.flip=function(t){return Xr(t,512)},Bn.flow=tl,Bn.flowRight=el,Bn.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,i={};++e<n;){var r=t[e];i[r[0]]=r[1]}return i},Bn.functions=function(t){return null==t?[]:_i(t,Pa(t))},Bn.functionsIn=function(t){return null==t?[]:_i(t,Ma(t))},Bn.groupBy=bs,Bn.initial=function(t){return null!=t&&t.length?tr(t,0,-1):[]},Bn.intersection=qo,Bn.intersectionBy=Go,Bn.intersectionWith=Xo,Bn.invert=Oa,Bn.invertBy=Ta,Bn.invokeMap=_s,Bn.iteratee=il,Bn.keyBy=xs,Bn.keys=Pa,Bn.keysIn=Ma,Bn.map=ws,Bn.mapKeys=function(t,e){var n={};return e=oo(e,3),yi(t,(function(t,i,r){ii(n,e(t,i,r),t)})),n},Bn.mapValues=function(t,e){var n={};return e=oo(e,3),yi(t,(function(t,i,r){ii(n,i,e(t,i,r))})),n},Bn.matches=function(t){return Ii(si(t,1))},Bn.matchesProperty=function(t,e){return Bi(t,si(e,1))},Bn.memoize=js,Bn.merge=La,Bn.mergeWith=ja,Bn.method=rl,Bn.methodOf=ol,Bn.mixin=sl,Bn.negate=Ds,Bn.nthArg=function(t){return t=pa(t),Gi((function(e){return Fi(e,t)}))},Bn.omit=Da,Bn.omitBy=function(t,e){return Ra(t,Ds(oo(e)))},Bn.once=function(t){return Os(2,t)},Bn.orderBy=function(t,e,n,i){return null==t?[]:(Ws(e)||(e=null==e?[]:[e]),Ws(n=i?r:n)||(n=null==n?[]:[n]),zi(t,e,n))},Bn.over=ll,Bn.overArgs=$s,Bn.overEvery=cl,Bn.overSome=ul,Bn.partial=Rs,Bn.partialRight=Is,Bn.partition=Ss,Bn.pick=$a,Bn.pickBy=Ra,Bn.property=hl,Bn.propertyOf=function(t){return function(e){return null==t?r:xi(t,e)}},Bn.pull=Ko,Bn.pullAll=Zo,Bn.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Wi(t,e,oo(n,2)):t},Bn.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Wi(t,e,r,n):t},Bn.pullAt=Jo,Bn.range=dl,Bn.rangeRight=pl,Bn.rearg=Bs,Bn.reject=function(t,e){return(Ws(t)?Te:fi)(t,Ds(oo(e,3)))},Bn.remove=function(t,e){var n=[];if(!t||!t.length)return n;var i=-1,r=[],o=t.length;for(e=oo(e,3);++i<o;){var s=t[i];e(s,i,t)&&(n.push(s),r.push(i))}return Ui(t,r),n},Bn.rest=function(t,e){if("function"!=typeof t)throw new Ot(o);return Gi(t,e=e===r?e:pa(e))},Bn.reverse=Qo,Bn.sampleSize=function(t,e,n){return e=(n?vo(t,e,n):e===r)?1:pa(e),(Ws(t)?Kn:Yi)(t,e)},Bn.set=function(t,e,n){return null==t?t:Ki(t,e,n)},Bn.setWith=function(t,e,n,i){return i="function"==typeof i?i:r,null==t?t:Ki(t,e,n,i)},Bn.shuffle=function(t){return(Ws(t)?Zn:Qi)(t)},Bn.slice=function(t,e,n){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&vo(t,e,n)?(e=0,n=i):(e=null==e?0:pa(e),n=n===r?i:pa(n)),tr(t,e,n)):[]},Bn.sortBy=ks,Bn.sortedUniq=function(t){return t&&t.length?rr(t):[]},Bn.sortedUniqBy=function(t,e){return t&&t.length?rr(t,oo(e,2)):[]},Bn.split=function(t,e,n){return n&&"number"!=typeof n&&vo(t,e,n)&&(e=n=r),(n=n===r?p:n>>>0)?(t=va(t))&&("string"==typeof e||null!=e&&!ra(e))&&!(e=sr(e))&&rn(t)?yr(hn(t),0,n):t.split(e,n):[]},Bn.spread=function(t,e){if("function"!=typeof t)throw new Ot(o);return e=null==e?0:mn(pa(e),0),Gi((function(n){var i=n[e],r=yr(n,0,e);return i&&Le(r,i),Se(t,this,r)}))},Bn.tail=function(t){var e=null==t?0:t.length;return e?tr(t,1,e):[]},Bn.take=function(t,e,n){return t&&t.length?tr(t,0,(e=n||e===r?1:pa(e))<0?0:e):[]},Bn.takeRight=function(t,e,n){var i=null==t?0:t.length;return i?tr(t,(e=i-(e=n||e===r?1:pa(e)))<0?0:e,i):[]},Bn.takeRightWhile=function(t,e){return t&&t.length?ur(t,oo(e,3),!1,!0):[]},Bn.takeWhile=function(t,e){return t&&t.length?ur(t,oo(e,3)):[]},Bn.tap=function(t,e){return e(t),t},Bn.throttle=function(t,e,n){var i=!0,r=!0;if("function"!=typeof t)throw new Ot(o);return Qs(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Ps(t,e,{leading:i,maxWait:e,trailing:r})},Bn.thru=ds,Bn.toArray=ha,Bn.toPairs=Ia,Bn.toPairsIn=Ba,Bn.toPath=function(t){return Ws(t)?Me(t,Ro):aa(t)?[t]:Ar($o(va(t)))},Bn.toPlainObject=ma,Bn.transform=function(t,e,n){var i=Ws(t),r=i||Gs(t)||la(t);if(e=oo(e,4),null==n){var o=t&&t.constructor;n=r?i?new o:[]:Qs(t)&&Ks(o)?Nn(Ut(t)):{}}return(r?Ce:yi)(t,(function(t,i,r){return e(n,t,i,r)})),n},Bn.unary=function(t){return As(t,1)},Bn.union=ts,Bn.unionBy=es,Bn.unionWith=ns,Bn.uniq=function(t){return t&&t.length?ar(t):[]},Bn.uniqBy=function(t,e){return t&&t.length?ar(t,oo(e,2)):[]},Bn.uniqWith=function(t,e){return e="function"==typeof e?e:r,t&&t.length?ar(t,r,e):[]},Bn.unset=function(t,e){return null==t||lr(t,e)},Bn.unzip=is,Bn.unzipWith=rs,Bn.update=function(t,e,n){return null==t?t:cr(t,e,gr(n))},Bn.updateWith=function(t,e,n,i){return i="function"==typeof i?i:r,null==t?t:cr(t,e,gr(n),i)},Bn.values=Na,Bn.valuesIn=function(t){return null==t?[]:Ke(t,Ma(t))},Bn.without=os,Bn.words=Ka,Bn.wrap=function(t,e){return Rs(gr(e),t)},Bn.xor=ss,Bn.xorBy=as,Bn.xorWith=ls,Bn.zip=cs,Bn.zipObject=function(t,e){return pr(t||[],e||[],Qn)},Bn.zipObjectDeep=function(t,e){return pr(t||[],e||[],Ki)},Bn.zipWith=us,Bn.entries=Ia,Bn.entriesIn=Ba,Bn.extend=ba,Bn.extendWith=_a,sl(Bn,Bn),Bn.add=vl,Bn.attempt=Za,Bn.camelCase=Fa,Bn.capitalize=za,Bn.ceil=yl,Bn.clamp=function(t,e,n){return n===r&&(n=e,e=r),n!==r&&(n=(n=ga(n))==n?n:0),e!==r&&(e=(e=ga(e))==e?e:0),oi(ga(t),e,n)},Bn.clone=function(t){return si(t,4)},Bn.cloneDeep=function(t){return si(t,5)},Bn.cloneDeepWith=function(t,e){return si(t,5,e="function"==typeof e?e:r)},Bn.cloneWith=function(t,e){return si(t,4,e="function"==typeof e?e:r)},Bn.conformsTo=function(t,e){return null==e||ai(t,e,Pa(e))},Bn.deburr=Va,Bn.defaultTo=function(t,e){return null==t||t!=t?e:t},Bn.divide=bl,Bn.endsWith=function(t,e,n){t=va(t),e=sr(e);var i=t.length,o=n=n===r?i:oi(pa(n),0,i);return(n-=e.length)>=0&&t.slice(n,o)==e},Bn.eq=Ns,Bn.escape=function(t){return(t=va(t))&&X.test(t)?t.replace(q,en):t},Bn.escapeRegExp=function(t){return(t=va(t))&&nt.test(t)?t.replace(et,"\\$&"):t},Bn.every=function(t,e,n){var i=Ws(t)?Oe:di;return n&&vo(t,e,n)&&(e=r),i(t,oo(e,3))},Bn.find=gs,Bn.findIndex=Vo,Bn.findKey=function(t,e){return Ie(t,oo(e,3),yi)},Bn.findLast=ms,Bn.findLastIndex=Wo,Bn.findLastKey=function(t,e){return Ie(t,oo(e,3),bi)},Bn.floor=_l,Bn.forEach=vs,Bn.forEachRight=ys,Bn.forIn=function(t,e){return null==t?t:mi(t,oo(e,3),Ma)},Bn.forInRight=function(t,e){return null==t?t:vi(t,oo(e,3),Ma)},Bn.forOwn=function(t,e){return t&&yi(t,oo(e,3))},Bn.forOwnRight=function(t,e){return t&&bi(t,oo(e,3))},Bn.get=Ca,Bn.gt=Fs,Bn.gte=zs,Bn.has=function(t,e){return null!=t&&po(t,e,Ci)},Bn.hasIn=Aa,Bn.head=Ho,Bn.identity=nl,Bn.includes=function(t,e,n,i){t=Hs(t)?t:Na(t),n=n&&!i?pa(n):0;var r=t.length;return n<0&&(n=mn(r+n,0)),sa(t)?n<=r&&t.indexOf(e,n)>-1:!!r&&Ne(t,e,n)>-1},Bn.indexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:pa(n);return r<0&&(r=mn(i+r,0)),Ne(t,e,r)},Bn.inRange=function(t,e,n){return e=da(e),n===r?(n=e,e=0):n=da(n),function(t,e,n){return t>=vn(e,n)&&t<mn(e,n)}(t=ga(t),e,n)},Bn.invoke=Ea,Bn.isArguments=Vs,Bn.isArray=Ws,Bn.isArrayBuffer=Us,Bn.isArrayLike=Hs,Bn.isArrayLikeObject=qs,Bn.isBoolean=function(t){return!0===t||!1===t||ta(t)&&Si(t)==v},Bn.isBuffer=Gs,Bn.isDate=Xs,Bn.isElement=function(t){return ta(t)&&1===t.nodeType&&!ia(t)},Bn.isEmpty=function(t){if(null==t)return!0;if(Hs(t)&&(Ws(t)||"string"==typeof t||"function"==typeof t.splice||Gs(t)||la(t)||Vs(t)))return!t.length;var e=ho(t);if(e==w||e==O)return!t.size;if(xo(t))return!Di(t).length;for(var n in t)if(jt.call(t,n))return!1;return!0},Bn.isEqual=function(t,e){return Pi(t,e)},Bn.isEqualWith=function(t,e,n){var i=(n="function"==typeof n?n:r)?n(t,e):r;return i===r?Pi(t,e,r,n):!!i},Bn.isError=Ys,Bn.isFinite=function(t){return"number"==typeof t&&Re(t)},Bn.isFunction=Ks,Bn.isInteger=Zs,Bn.isLength=Js,Bn.isMap=ea,Bn.isMatch=function(t,e){return t===e||Mi(t,e,ao(e))},Bn.isMatchWith=function(t,e,n){return n="function"==typeof n?n:r,Mi(t,e,ao(e),n)},Bn.isNaN=function(t){return na(t)&&t!=+t},Bn.isNative=function(t){if(_o(t))throw new xt("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Li(t)},Bn.isNil=function(t){return null==t},Bn.isNull=function(t){return null===t},Bn.isNumber=na,Bn.isObject=Qs,Bn.isObjectLike=ta,Bn.isPlainObject=ia,Bn.isRegExp=ra,Bn.isSafeInteger=function(t){return Zs(t)&&t>=-9007199254740991&&t<=h},Bn.isSet=oa,Bn.isString=sa,Bn.isSymbol=aa,Bn.isTypedArray=la,Bn.isUndefined=function(t){return t===r},Bn.isWeakMap=function(t){return ta(t)&&ho(t)==P},Bn.isWeakSet=function(t){return ta(t)&&"[object WeakSet]"==Si(t)},Bn.join=function(t,e){return null==t?"":Ue.call(t,e)},Bn.kebabCase=Wa,Bn.last=Yo,Bn.lastIndexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var o=i;return n!==r&&(o=(o=pa(n))<0?mn(i+o,0):vn(o,i-1)),e==e?function(t,e,n){for(var i=n+1;i--;)if(t[i]===e)return i;return i}(t,e,o):Be(t,ze,o,!0)},Bn.lowerCase=Ua,Bn.lowerFirst=Ha,Bn.lt=ca,Bn.lte=ua,Bn.max=function(t){return t&&t.length?pi(t,nl,ki):r},Bn.maxBy=function(t,e){return t&&t.length?pi(t,oo(e,2),ki):r},Bn.mean=function(t){return Ve(t,nl)},Bn.meanBy=function(t,e){return Ve(t,oo(e,2))},Bn.min=function(t){return t&&t.length?pi(t,nl,$i):r},Bn.minBy=function(t,e){return t&&t.length?pi(t,oo(e,2),$i):r},Bn.stubArray=fl,Bn.stubFalse=gl,Bn.stubObject=function(){return{}},Bn.stubString=function(){return""},Bn.stubTrue=function(){return!0},Bn.multiply=xl,Bn.nth=function(t,e){return t&&t.length?Fi(t,pa(e)):r},Bn.noConflict=function(){return he._===this&&(he._=Bt),this},Bn.noop=al,Bn.now=Cs,Bn.pad=function(t,e,n){t=va(t);var i=(e=pa(e))?un(t):0;if(!e||i>=e)return t;var r=(e-i)/2;return zr(pe(r),n)+t+zr(de(r),n)},Bn.padEnd=function(t,e,n){t=va(t);var i=(e=pa(e))?un(t):0;return e&&i<e?t+zr(e-i,n):t},Bn.padStart=function(t,e,n){t=va(t);var i=(e=pa(e))?un(t):0;return e&&i<e?zr(e-i,n)+t:t},Bn.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),bn(va(t).replace(it,""),e||0)},Bn.random=function(t,e,n){if(n&&"boolean"!=typeof n&&vo(t,e,n)&&(e=n=r),n===r&&("boolean"==typeof e?(n=e,e=r):"boolean"==typeof t&&(n=t,t=r)),t===r&&e===r?(t=0,e=1):(t=da(t),e===r?(e=t,t=0):e=da(e)),t>e){var i=t;t=e,e=i}if(n||t%1||e%1){var o=_n();return vn(t+o*(e-t+ae("1e-"+((o+"").length-1))),e)}return Hi(t,e)},Bn.reduce=function(t,e,n){var i=Ws(t)?je:He,r=arguments.length<3;return i(t,oo(e,4),n,r,ui)},Bn.reduceRight=function(t,e,n){var i=Ws(t)?De:He,r=arguments.length<3;return i(t,oo(e,4),n,r,hi)},Bn.repeat=function(t,e,n){return e=(n?vo(t,e,n):e===r)?1:pa(e),qi(va(t),e)},Bn.replace=function(){var t=arguments,e=va(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Bn.result=function(t,e,n){var i=-1,o=(e=mr(e,t)).length;for(o||(o=1,t=r);++i<o;){var s=null==t?r:t[Ro(e[i])];s===r&&(i=o,s=n),t=Ks(s)?s.call(t):s}return t},Bn.round=wl,Bn.runInContext=t,Bn.sample=function(t){return(Ws(t)?Yn:Xi)(t)},Bn.size=function(t){if(null==t)return 0;if(Hs(t))return sa(t)?un(t):t.length;var e=ho(t);return e==w||e==O?t.size:Di(t).length},Bn.snakeCase=qa,Bn.some=function(t,e,n){var i=Ws(t)?$e:er;return n&&vo(t,e,n)&&(e=r),i(t,oo(e,3))},Bn.sortedIndex=function(t,e){return nr(t,e)},Bn.sortedIndexBy=function(t,e,n){return ir(t,e,oo(n,2))},Bn.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var i=nr(t,e);if(i<n&&Ns(t[i],e))return i}return-1},Bn.sortedLastIndex=function(t,e){return nr(t,e,!0)},Bn.sortedLastIndexBy=function(t,e,n){return ir(t,e,oo(n,2),!0)},Bn.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=nr(t,e,!0)-1;if(Ns(t[n],e))return n}return-1},Bn.startCase=Ga,Bn.startsWith=function(t,e,n){return t=va(t),n=null==n?0:oi(pa(n),0,t.length),e=sr(e),t.slice(n,n+e.length)==e},Bn.subtract=Sl,Bn.sum=function(t){return t&&t.length?qe(t,nl):0},Bn.sumBy=function(t,e){return t&&t.length?qe(t,oo(e,2)):0},Bn.template=function(t,e,n){var i=Bn.templateSettings;n&&vo(t,e,n)&&(e=r),t=va(t),e=_a({},e,i,Yr);var o,s,a=_a({},e.imports,i.imports,Yr),l=Pa(a),c=Ke(a,l),u=0,h=e.interpolate||bt,d="__p += '",p=Ct((e.escape||bt).source+"|"+h.source+"|"+(h===Z?ht:bt).source+"|"+(e.evaluate||bt).source+"|$","g"),f="//# sourceURL="+(jt.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ie+"]")+"\n";t.replace(p,(function(e,n,i,r,a,l){return i||(i=r),d+=t.slice(u,l).replace(_t,nn),n&&(o=!0,d+="' +\n__e("+n+") +\n'"),a&&(s=!0,d+="';\n"+a+";\n__p += '"),i&&(d+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),u=l+e.length,e})),d+="';\n";var g=jt.call(e,"variable")&&e.variable;if(g){if(ct.test(g))throw new xt("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(s?d.replace(V,""):d).replace(W,"$1").replace(U,"$1;"),d="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var m=Za((function(){return wt(l,f+"return "+d).apply(r,c)}));if(m.source=d,Ys(m))throw m;return m},Bn.times=function(t,e){if((t=pa(t))<1||t>h)return[];var n=p,i=vn(t,p);e=oo(e),t-=p;for(var r=Ge(i,e);++n<t;)e(n);return r},Bn.toFinite=da,Bn.toInteger=pa,Bn.toLength=fa,Bn.toLower=function(t){return va(t).toLowerCase()},Bn.toNumber=ga,Bn.toSafeInteger=function(t){return t?oi(pa(t),-9007199254740991,h):0===t?t:0},Bn.toString=va,Bn.toUpper=function(t){return va(t).toUpperCase()},Bn.trim=function(t,e,n){if((t=va(t))&&(n||e===r))return Xe(t);if(!t||!(e=sr(e)))return t;var i=hn(t),o=hn(e);return yr(i,Je(i,o),Qe(i,o)+1).join("")},Bn.trimEnd=function(t,e,n){if((t=va(t))&&(n||e===r))return t.slice(0,dn(t)+1);if(!t||!(e=sr(e)))return t;var i=hn(t);return yr(i,0,Qe(i,hn(e))+1).join("")},Bn.trimStart=function(t,e,n){if((t=va(t))&&(n||e===r))return t.replace(it,"");if(!t||!(e=sr(e)))return t;var i=hn(t);return yr(i,Je(i,hn(e))).join("")},Bn.truncate=function(t,e){var n=30,i="...";if(Qs(e)){var o="separator"in e?e.separator:o;n="length"in e?pa(e.length):n,i="omission"in e?sr(e.omission):i}var s=(t=va(t)).length;if(rn(t)){var a=hn(t);s=a.length}if(n>=s)return t;var l=n-un(i);if(l<1)return i;var c=a?yr(a,0,l).join(""):t.slice(0,l);if(o===r)return c+i;if(a&&(l+=c.length-l),ra(o)){if(t.slice(l).search(o)){var u,h=c;for(o.global||(o=Ct(o.source,va(dt.exec(o))+"g")),o.lastIndex=0;u=o.exec(h);)var d=u.index;c=c.slice(0,d===r?l:d)}}else if(t.indexOf(sr(o),l)!=l){var p=c.lastIndexOf(o);p>-1&&(c=c.slice(0,p))}return c+i},Bn.unescape=function(t){return(t=va(t))&&G.test(t)?t.replace(H,pn):t},Bn.uniqueId=function(t){var e=++Dt;return va(t)+e},Bn.upperCase=Xa,Bn.upperFirst=Ya,Bn.each=vs,Bn.eachRight=ys,Bn.first=Ho,sl(Bn,(ml={},yi(Bn,(function(t,e){jt.call(Bn.prototype,e)||(ml[e]=t)})),ml),{chain:!1}),Bn.VERSION="4.17.21",Ce(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Bn[t].placeholder=Bn})),Ce(["drop","take"],(function(t,e){Vn.prototype[t]=function(n){n=n===r?1:mn(pa(n),0);var i=this.__filtered__&&!e?new Vn(this):this.clone();return i.__filtered__?i.__takeCount__=vn(n,i.__takeCount__):i.__views__.push({size:vn(n,p),type:t+(i.__dir__<0?"Right":"")}),i},Vn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),Ce(["filter","map","takeWhile"],(function(t,e){var n=e+1,i=1==n||3==n;Vn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:oo(t,3),type:n}),e.__filtered__=e.__filtered__||i,e}})),Ce(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Vn.prototype[t]=function(){return this[n](1).value()[0]}})),Ce(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Vn.prototype[t]=function(){return this.__filtered__?new Vn(this):this[n](1)}})),Vn.prototype.compact=function(){return this.filter(nl)},Vn.prototype.find=function(t){return this.filter(t).head()},Vn.prototype.findLast=function(t){return this.reverse().find(t)},Vn.prototype.invokeMap=Gi((function(t,e){return"function"==typeof t?new Vn(this):this.map((function(n){return Ti(n,t,e)}))})),Vn.prototype.reject=function(t){return this.filter(Ds(oo(t)))},Vn.prototype.slice=function(t,e){t=pa(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Vn(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==r&&(n=(e=pa(e))<0?n.dropRight(-e):n.take(e-t)),n)},Vn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Vn.prototype.toArray=function(){return this.take(p)},yi(Vn.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),o=Bn[i?"take"+("last"==e?"Right":""):e],s=i||/^find/.test(e);o&&(Bn.prototype[e]=function(){var e=this.__wrapped__,a=i?[1]:arguments,l=e instanceof Vn,c=a[0],u=l||Ws(e),h=function(t){var e=o.apply(Bn,Le([t],a));return i&&d?e[0]:e};u&&n&&"function"==typeof c&&1!=c.length&&(l=u=!1);var d=this.__chain__,p=!!this.__actions__.length,f=s&&!d,g=l&&!p;if(!s&&u){e=g?e:new Vn(this);var m=t.apply(e,a);return m.__actions__.push({func:ds,args:[h],thisArg:r}),new zn(m,d)}return f&&g?t.apply(this,a):(m=this.thru(h),f?i?m.value()[0]:m.value():m)})})),Ce(["pop","push","shift","sort","splice","unshift"],(function(t){var e=Tt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);Bn.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var r=this.value();return e.apply(Ws(r)?r:[],t)}return this[n]((function(n){return e.apply(Ws(n)?n:[],t)}))}})),yi(Vn.prototype,(function(t,e){var n=Bn[e];if(n){var i=n.name+"";jt.call(En,i)||(En[i]=[]),En[i].push({name:e,func:n})}})),En[Ir(r,2).name]=[{name:"wrapper",func:r}],Vn.prototype.clone=function(){var t=new Vn(this.__wrapped__);return t.__actions__=Ar(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Ar(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Ar(this.__views__),t},Vn.prototype.reverse=function(){if(this.__filtered__){var t=new Vn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Vn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Ws(t),i=e<0,r=n?t.length:0,o=function(t,e,n){for(var i=-1,r=n.length;++i<r;){var o=n[i],s=o.size;switch(o.type){case"drop":t+=s;break;case"dropRight":e-=s;break;case"take":e=vn(e,t+s);break;case"takeRight":t=mn(t,e-s)}}return{start:t,end:e}}(0,r,this.__views__),s=o.start,a=o.end,l=a-s,c=i?a:s-1,u=this.__iteratees__,h=u.length,d=0,p=vn(l,this.__takeCount__);if(!n||!i&&r==l&&p==l)return hr(t,this.__actions__);var f=[];t:for(;l--&&d<p;){for(var g=-1,m=t[c+=e];++g<h;){var v=u[g],y=v.iteratee,b=v.type,_=y(m);if(2==b)m=_;else if(!_){if(1==b)continue t;break t}}f[d++]=m}return f},Bn.prototype.at=ps,Bn.prototype.chain=function(){return hs(this)},Bn.prototype.commit=function(){return new zn(this.value(),this.__chain__)},Bn.prototype.next=function(){this.__values__===r&&(this.__values__=ha(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?r:this.__values__[this.__index__++]}},Bn.prototype.plant=function(t){for(var e,n=this;n instanceof Fn;){var i=Bo(n);i.__index__=0,i.__values__=r,e?o.__wrapped__=i:e=i;var o=i;n=n.__wrapped__}return o.__wrapped__=t,e},Bn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Vn){var e=t;return this.__actions__.length&&(e=new Vn(this)),(e=e.reverse()).__actions__.push({func:ds,args:[Qo],thisArg:r}),new zn(e,this.__chain__)}return this.thru(Qo)},Bn.prototype.toJSON=Bn.prototype.valueOf=Bn.prototype.value=function(){return hr(this.__wrapped__,this.__actions__)},Bn.prototype.first=Bn.prototype.head,Yt&&(Bn.prototype[Yt]=function(){return this}),Bn}();he._=fn,(i=function(){return fn}.call(e,n,e,t))===r||(t.exports=i)}.call(this)},60:(t,e)=>{"use strict";e.A=(t,e)=>{const n=t.__vccOpts||t;for(const[t,i]of e)n[t]=i;return n}},659:(t,e,n)=>{var i=n(492);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals),(0,n(988).A)("ec29ce6c",i,!1,{})},525:(t,e,n)=>{var i=n(234);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals),(0,n(988).A)("419ff70f",i,!1,{})},265:(t,e,n)=>{var i=n(242);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals),(0,n(988).A)("1b79194e",i,!1,{})},988:(t,e,n)=>{"use strict";function i(t,e){for(var n=[],i={},r=0;r<e.length;r++){var o=e[r],s=o[0],a={id:t+":"+r,css:o[1],media:o[2],sourceMap:o[3]};i[s]?i[s].parts.push(a):n.push(i[s]={id:s,parts:[a]})}return n}n.d(e,{A:()=>f});var r="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!r)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},s=r&&(document.head||document.getElementsByTagName("head")[0]),a=null,l=0,c=!1,u=function(){},h=null,d="data-vue-ssr-id",p="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(t,e,n,r){c=n,h=r||{};var s=i(t,e);return g(s),function(e){for(var n=[],r=0;r<s.length;r++){var a=s[r];(l=o[a.id]).refs--,n.push(l)}for(e?g(s=i(t,e)):s=[],r=0;r<n.length;r++){var l;if(0===(l=n[r]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete o[l.id]}}}}function g(t){for(var e=0;e<t.length;e++){var n=t[e],i=o[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(v(n.parts[r]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var s=[];for(r=0;r<n.parts.length;r++)s.push(v(n.parts[r]));o[n.id]={id:n.id,refs:1,parts:s}}}}function m(){var t=document.createElement("style");return t.type="text/css",s.appendChild(t),t}function v(t){var e,n,i=document.querySelector("style["+d+'~="'+t.id+'"]');if(i){if(c)return u;i.parentNode.removeChild(i)}if(p){var r=l++;i=a||(a=m()),e=_.bind(null,i,r,!1),n=_.bind(null,i,r,!0)}else i=m(),e=x.bind(null,i),n=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else n()}}var y,b=(y=[],function(t,e){return y[t]=e,y.filter(Boolean).join("\n")});function _(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=b(e,r);else{var o=document.createTextNode(r),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function x(t,e){var n=e.css,i=e.media,r=e.sourceMap;if(i&&t.setAttribute("media",i),h.ssrId&&t.setAttribute(d,e.id),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}}},e={};function n(i){var r=e[i];if(void 0!==r)return r.exports;var o=e[i]={id:i,loaded:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),(()=>{"use strict";var t={};n.r(t),n.d(t,{hasBrowserEnv:()=>Fl,hasStandardBrowserEnv:()=>Vl,hasStandardBrowserWebWorkerEnv:()=>Wl,navigator:()=>zl,origin:()=>Ul});var e=n(743),i=n.n(e);function r(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return t=>t in e}const o={},s=[],a=()=>{},l=()=>!1,c=t=>111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),u=t=>t.startsWith("onUpdate:"),h=Object.assign,d=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},p=Object.prototype.hasOwnProperty,f=(t,e)=>p.call(t,e),g=Array.isArray,m=t=>"[object Map]"===C(t),v=t=>"[object Set]"===C(t),y=t=>"[object Date]"===C(t),b=t=>"function"==typeof t,_=t=>"string"==typeof t,x=t=>"symbol"==typeof t,w=t=>null!==t&&"object"==typeof t,S=t=>(w(t)||b(t))&&b(t.then)&&b(t.catch),k=Object.prototype.toString,C=t=>k.call(t),A=t=>C(t).slice(8,-1),O=t=>"[object Object]"===C(t),T=t=>_(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,E=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),P=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},M=/-(\w)/g,L=P((t=>t.replace(M,((t,e)=>e?e.toUpperCase():"")))),j=/\B([A-Z])/g,D=P((t=>t.replace(j,"-$1").toLowerCase())),$=P((t=>t.charAt(0).toUpperCase()+t.slice(1))),R=P((t=>t?`on${$(t)}`:"")),I=(t,e)=>!Object.is(t,e),B=(t,...e)=>{for(let n=0;n<t.length;n++)t[n](...e)},N=(t,e,n,i=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:i,value:n})},F=t=>{const e=parseFloat(t);return isNaN(e)?t:e},z=t=>{const e=_(t)?Number(t):NaN;return isNaN(e)?t:e};let V;const W=()=>V||(V="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{});function U(t){if(g(t)){const e={};for(let n=0;n<t.length;n++){const i=t[n],r=_(i)?X(i):U(i);if(r)for(const t in r)e[t]=r[t]}return e}if(_(t)||w(t))return t}const H=/;(?![^(]*\))/g,q=/:([^]+)/,G=/\/\*[^]*?\*\//g;function X(t){const e={};return t.replace(G,"").split(H).forEach((t=>{if(t){const n=t.split(q);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}function Y(t){let e="";if(_(t))e=t;else if(g(t))for(let n=0;n<t.length;n++){const i=Y(t[n]);i&&(e+=i+" ")}else if(w(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}function K(t){if(!t)return null;let{class:e,style:n}=t;return e&&!_(e)&&(t.class=Y(e)),n&&(t.style=U(n)),t}const Z=r("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function J(t){return!!t||""===t}function Q(t,e){if(t===e)return!0;let n=y(t),i=y(e);if(n||i)return!(!n||!i)&&t.getTime()===e.getTime();if(n=x(t),i=x(e),n||i)return t===e;if(n=g(t),i=g(e),n||i)return!(!n||!i)&&function(t,e){if(t.length!==e.length)return!1;let n=!0;for(let i=0;n&&i<t.length;i++)n=Q(t[i],e[i]);return n}(t,e);if(n=w(t),i=w(e),n||i){if(!n||!i)return!1;if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t){const i=t.hasOwnProperty(n),r=e.hasOwnProperty(n);if(i&&!r||!i&&r||!Q(t[n],e[n]))return!1}}return String(t)===String(e)}function tt(t,e){return t.findIndex((t=>Q(t,e)))}const et=t=>!(!t||!0!==t.__v_isRef),nt=t=>_(t)?t:null==t?"":g(t)||w(t)&&(t.toString===k||!b(t.toString))?et(t)?nt(t.value):JSON.stringify(t,it,2):String(t),it=(t,e)=>et(e)?it(t,e.value):m(e)?{[`Map(${e.size})`]:[...e.entries()].reduce(((t,[e,n],i)=>(t[rt(e,i)+" =>"]=n,t)),{})}:v(e)?{[`Set(${e.size})`]:[...e.values()].map((t=>rt(t)))}:x(e)?rt(e):!w(e)||g(e)||O(e)?e:String(e),rt=(t,e="")=>{var n;return x(t)?`Symbol(${null!=(n=t.description)?n:e})`:t};let ot,st;class at{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ot,!t&&ot&&(this.index=(ot.scopes||(ot.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let t,e;if(this._isPaused=!0,this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].pause();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){let t,e;if(this._isPaused=!1,this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].resume();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].resume()}}run(t){if(this._active){const e=ot;try{return ot=this,t()}finally{ot=e}}}on(){ot=this}off(){ot=this.parent}stop(t){if(this._active){let e,n;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].stop();for(e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){const t=this.parent.scopes.pop();t&&t!==this&&(this.parent.scopes[this.index]=t,t.index=this.index)}this.parent=void 0,this._active=!1}}}const lt=new WeakSet;class ct{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ot&&ot.active&&ot.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,lt.has(this)&&(lt.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||dt(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,Ct(this),gt(this);const t=st,e=xt;st=this,xt=!0;try{return this.fn()}finally{mt(this),st=t,xt=e,this.flags&=-3}}stop(){if(1&this.flags){for(let t=this.deps;t;t=t.nextDep)bt(t);this.deps=this.depsTail=void 0,Ct(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?lt.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){vt(this)&&this.run()}get dirty(){return vt(this)}}let ut,ht=0;function dt(t){t.flags|=8,t.next=ut,ut=t}function pt(){ht++}function ft(){if(--ht>0)return;let t;for(;ut;){let e=ut;for(ut=void 0;e;){const n=e.next;if(e.next=void 0,e.flags&=-9,1&e.flags)try{e.trigger()}catch(e){t||(t=e)}e=n}}if(t)throw t}function gt(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function mt(t){let e,n=t.depsTail,i=n;for(;i;){const t=i.prevDep;-1===i.version?(i===n&&(n=t),bt(i),_t(i)):e=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=t}t.deps=e,t.depsTail=n}function vt(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(yt(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function yt(t){if(4&t.flags&&!(16&t.flags))return;if(t.flags&=-17,t.globalVersion===At)return;t.globalVersion=At;const e=t.dep;if(t.flags|=2,e.version>0&&!t.isSSR&&t.deps&&!vt(t))return void(t.flags&=-3);const n=st,i=xt;st=t,xt=!0;try{gt(t);const n=t.fn(t._value);(0===e.version||I(n,t._value))&&(t._value=n,e.version++)}catch(t){throw e.version++,t}finally{st=n,xt=i,mt(t),t.flags&=-3}}function bt(t){const{dep:e,prevSub:n,nextSub:i}=t;if(n&&(n.nextSub=i,t.prevSub=void 0),i&&(i.prevSub=n,t.nextSub=void 0),e.subs===t&&(e.subs=n),!e.subs&&e.computed){e.computed.flags&=-5;for(let t=e.computed.deps;t;t=t.nextDep)bt(t)}}function _t(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}let xt=!0;const wt=[];function St(){wt.push(xt),xt=!1}function kt(){const t=wt.pop();xt=void 0===t||t}function Ct(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const t=st;st=void 0;try{e()}finally{st=t}}}let At=0;class Ot{constructor(t,e){this.sub=t,this.dep=e,this.version=e.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Tt{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0}track(t){if(!st||!xt||st===this.computed)return;let e=this.activeLink;if(void 0===e||e.sub!==st)e=this.activeLink=new Ot(st,this),st.deps?(e.prevDep=st.depsTail,st.depsTail.nextDep=e,st.depsTail=e):st.deps=st.depsTail=e,4&st.flags&&Et(e);else if(-1===e.version&&(e.version=this.version,e.nextDep)){const t=e.nextDep;t.prevDep=e.prevDep,e.prevDep&&(e.prevDep.nextDep=t),e.prevDep=st.depsTail,e.nextDep=void 0,st.depsTail.nextDep=e,st.depsTail=e,st.deps===e&&(st.deps=t)}return e}trigger(t){this.version++,At++,this.notify(t)}notify(t){pt();try{for(let t=this.subs;t;t=t.prevSub)t.sub.notify()&&t.sub.dep.notify()}finally{ft()}}}function Et(t){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let t=e.deps;t;t=t.nextDep)Et(t)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}const Pt=new WeakMap,Mt=Symbol(""),Lt=Symbol(""),jt=Symbol("");function Dt(t,e,n){if(xt&&st){let e=Pt.get(t);e||Pt.set(t,e=new Map);let i=e.get(n);i||e.set(n,i=new Tt),i.track()}}function $t(t,e,n,i,r,o){const s=Pt.get(t);if(!s)return void At++;const a=t=>{t&&t.trigger()};if(pt(),"clear"===e)s.forEach(a);else{const r=g(t),o=r&&T(n);if(r&&"length"===n){const t=Number(i);s.forEach(((e,n)=>{("length"===n||n===jt||!x(n)&&n>=t)&&a(e)}))}else switch(void 0!==n&&a(s.get(n)),o&&a(s.get(jt)),e){case"add":r?o&&a(s.get("length")):(a(s.get(Mt)),m(t)&&a(s.get(Lt)));break;case"delete":r||(a(s.get(Mt)),m(t)&&a(s.get(Lt)));break;case"set":m(t)&&a(s.get(Mt))}}ft()}function Rt(t){const e=je(t);return e===t?e:(Dt(e,0,jt),Me(t)?e:e.map($e))}function It(t){return Dt(t=je(t),0,jt),t}const Bt={__proto__:null,[Symbol.iterator](){return Nt(this,Symbol.iterator,$e)},concat(...t){return Rt(this).concat(...t.map((t=>g(t)?Rt(t):t)))},entries(){return Nt(this,"entries",(t=>(t[1]=$e(t[1]),t)))},every(t,e){return zt(this,"every",t,e,void 0,arguments)},filter(t,e){return zt(this,"filter",t,e,(t=>t.map($e)),arguments)},find(t,e){return zt(this,"find",t,e,$e,arguments)},findIndex(t,e){return zt(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return zt(this,"findLast",t,e,$e,arguments)},findLastIndex(t,e){return zt(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return zt(this,"forEach",t,e,void 0,arguments)},includes(...t){return Wt(this,"includes",t)},indexOf(...t){return Wt(this,"indexOf",t)},join(t){return Rt(this).join(t)},lastIndexOf(...t){return Wt(this,"lastIndexOf",t)},map(t,e){return zt(this,"map",t,e,void 0,arguments)},pop(){return Ut(this,"pop")},push(...t){return Ut(this,"push",t)},reduce(t,...e){return Vt(this,"reduce",t,e)},reduceRight(t,...e){return Vt(this,"reduceRight",t,e)},shift(){return Ut(this,"shift")},some(t,e){return zt(this,"some",t,e,void 0,arguments)},splice(...t){return Ut(this,"splice",t)},toReversed(){return Rt(this).toReversed()},toSorted(t){return Rt(this).toSorted(t)},toSpliced(...t){return Rt(this).toSpliced(...t)},unshift(...t){return Ut(this,"unshift",t)},values(){return Nt(this,"values",$e)}};function Nt(t,e,n){const i=It(t),r=i[e]();return i===t||Me(t)||(r._next=r.next,r.next=()=>{const t=r._next();return t.value&&(t.value=n(t.value)),t}),r}const Ft=Array.prototype;function zt(t,e,n,i,r,o){const s=It(t),a=s!==t&&!Me(t),l=s[e];if(l!==Ft[e]){const e=l.apply(t,o);return a?$e(e):e}let c=n;s!==t&&(a?c=function(e,i){return n.call(this,$e(e),i,t)}:n.length>2&&(c=function(e,i){return n.call(this,e,i,t)}));const u=l.call(s,c,i);return a&&r?r(u):u}function Vt(t,e,n,i){const r=It(t);let o=n;return r!==t&&(Me(t)?n.length>3&&(o=function(e,i,r){return n.call(this,e,i,r,t)}):o=function(e,i,r){return n.call(this,e,$e(i),r,t)}),r[e](o,...i)}function Wt(t,e,n){const i=je(t);Dt(i,0,jt);const r=i[e](...n);return-1!==r&&!1!==r||!Le(n[0])?r:(n[0]=je(n[0]),i[e](...n))}function Ut(t,e,n=[]){St(),pt();const i=je(t)[e].apply(t,n);return ft(),kt(),i}const Ht=r("__proto__,__v_isRef,__isVue"),qt=new Set(Object.getOwnPropertyNames(Symbol).filter((t=>"arguments"!==t&&"caller"!==t)).map((t=>Symbol[t])).filter(x));function Gt(t){x(t)||(t=String(t));const e=je(this);return Dt(e,0,t),e.hasOwnProperty(t)}class Xt{constructor(t=!1,e=!1){this._isReadonly=t,this._isShallow=e}get(t,e,n){const i=this._isReadonly,r=this._isShallow;if("__v_isReactive"===e)return!i;if("__v_isReadonly"===e)return i;if("__v_isShallow"===e)return r;if("__v_raw"===e)return n===(i?r?ke:Se:r?we:xe).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=g(t);if(!i){let t;if(o&&(t=Bt[e]))return t;if("hasOwnProperty"===e)return Gt}const s=Reflect.get(t,e,Ie(t)?t:n);return(x(e)?qt.has(e):Ht(e))?s:(i||Dt(t,0,e),r?s:Ie(s)?o&&T(e)?s:s.value:w(s)?i?Oe(s):Ce(s):s)}}class Yt extends Xt{constructor(t=!1){super(!1,t)}set(t,e,n,i){let r=t[e];if(!this._isShallow){const e=Pe(r);if(Me(n)||Pe(n)||(r=je(r),n=je(n)),!g(t)&&Ie(r)&&!Ie(n))return!e&&(r.value=n,!0)}const o=g(t)&&T(e)?Number(e)<t.length:f(t,e),s=Reflect.set(t,e,n,Ie(t)?t:i);return t===je(i)&&(o?I(n,r)&&$t(t,"set",e,n):$t(t,"add",e,n)),s}deleteProperty(t,e){const n=f(t,e),i=(t[e],Reflect.deleteProperty(t,e));return i&&n&&$t(t,"delete",e,void 0),i}has(t,e){const n=Reflect.has(t,e);return x(e)&&qt.has(e)||Dt(t,0,e),n}ownKeys(t){return Dt(t,0,g(t)?"length":Mt),Reflect.ownKeys(t)}}class Kt extends Xt{constructor(t=!1){super(!0,t)}set(t,e){return!0}deleteProperty(t,e){return!0}}const Zt=new Yt,Jt=new Kt,Qt=new Yt(!0),te=t=>t,ee=t=>Reflect.getPrototypeOf(t);function ne(t,e,n=!1,i=!1){const r=je(t=t.__v_raw),o=je(e);n||(I(e,o)&&Dt(r,0,e),Dt(r,0,o));const{has:s}=ee(r),a=i?te:n?Re:$e;return s.call(r,e)?a(t.get(e)):s.call(r,o)?a(t.get(o)):void(t!==r&&t.get(e))}function ie(t,e=!1){const n=this.__v_raw,i=je(n),r=je(t);return e||(I(t,r)&&Dt(i,0,t),Dt(i,0,r)),t===r?n.has(t):n.has(t)||n.has(r)}function re(t,e=!1){return t=t.__v_raw,!e&&Dt(je(t),0,Mt),Reflect.get(t,"size",t)}function oe(t,e=!1){e||Me(t)||Pe(t)||(t=je(t));const n=je(this);return ee(n).has.call(n,t)||(n.add(t),$t(n,"add",t,t)),this}function se(t,e,n=!1){n||Me(e)||Pe(e)||(e=je(e));const i=je(this),{has:r,get:o}=ee(i);let s=r.call(i,t);s||(t=je(t),s=r.call(i,t));const a=o.call(i,t);return i.set(t,e),s?I(e,a)&&$t(i,"set",t,e):$t(i,"add",t,e),this}function ae(t){const e=je(this),{has:n,get:i}=ee(e);let r=n.call(e,t);r||(t=je(t),r=n.call(e,t)),i&&i.call(e,t);const o=e.delete(t);return r&&$t(e,"delete",t,void 0),o}function le(){const t=je(this),e=0!==t.size,n=t.clear();return e&&$t(t,"clear",void 0,void 0),n}function ce(t,e){return function(n,i){const r=this,o=r.__v_raw,s=je(o),a=e?te:t?Re:$e;return!t&&Dt(s,0,Mt),o.forEach(((t,e)=>n.call(i,a(t),a(e),r)))}}function ue(t,e,n){return function(...i){const r=this.__v_raw,o=je(r),s=m(o),a="entries"===t||t===Symbol.iterator&&s,l="keys"===t&&s,c=r[t](...i),u=n?te:e?Re:$e;return!e&&Dt(o,0,l?Lt:Mt),{next(){const{value:t,done:e}=c.next();return e?{value:t,done:e}:{value:a?[u(t[0]),u(t[1])]:u(t),done:e}},[Symbol.iterator](){return this}}}}function he(t){return function(...e){return"delete"!==t&&("clear"===t?void 0:this)}}function de(){const t={get(t){return ne(this,t)},get size(){return re(this)},has:ie,add:oe,set:se,delete:ae,clear:le,forEach:ce(!1,!1)},e={get(t){return ne(this,t,!1,!0)},get size(){return re(this)},has:ie,add(t){return oe.call(this,t,!0)},set(t,e){return se.call(this,t,e,!0)},delete:ae,clear:le,forEach:ce(!1,!0)},n={get(t){return ne(this,t,!0)},get size(){return re(this,!0)},has(t){return ie.call(this,t,!0)},add:he("add"),set:he("set"),delete:he("delete"),clear:he("clear"),forEach:ce(!0,!1)},i={get(t){return ne(this,t,!0,!0)},get size(){return re(this,!0)},has(t){return ie.call(this,t,!0)},add:he("add"),set:he("set"),delete:he("delete"),clear:he("clear"),forEach:ce(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{t[r]=ue(r,!1,!1),n[r]=ue(r,!0,!1),e[r]=ue(r,!1,!0),i[r]=ue(r,!0,!0)})),[t,n,e,i]}const[pe,fe,ge,me]=de();function ve(t,e){const n=e?t?me:ge:t?fe:pe;return(e,i,r)=>"__v_isReactive"===i?!t:"__v_isReadonly"===i?t:"__v_raw"===i?e:Reflect.get(f(n,i)&&i in e?n:e,i,r)}const ye={get:ve(!1,!1)},be={get:ve(!1,!0)},_e={get:ve(!0,!1)},xe=new WeakMap,we=new WeakMap,Se=new WeakMap,ke=new WeakMap;function Ce(t){return Pe(t)?t:Te(t,!1,Zt,ye,xe)}function Ae(t){return Te(t,!1,Qt,be,we)}function Oe(t){return Te(t,!0,Jt,_e,Se)}function Te(t,e,n,i,r){if(!w(t))return t;if(t.__v_raw&&(!e||!t.__v_isReactive))return t;const o=r.get(t);if(o)return o;const s=(a=t).__v_skip||!Object.isExtensible(a)?0:function(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(A(a));var a;if(0===s)return t;const l=new Proxy(t,2===s?i:n);return r.set(t,l),l}function Ee(t){return Pe(t)?Ee(t.__v_raw):!(!t||!t.__v_isReactive)}function Pe(t){return!(!t||!t.__v_isReadonly)}function Me(t){return!(!t||!t.__v_isShallow)}function Le(t){return!!t&&!!t.__v_raw}function je(t){const e=t&&t.__v_raw;return e?je(e):t}function De(t){return!f(t,"__v_skip")&&Object.isExtensible(t)&&N(t,"__v_skip",!0),t}const $e=t=>w(t)?Ce(t):t,Re=t=>w(t)?Oe(t):t;function Ie(t){return!!t&&!0===t.__v_isRef}function Be(t){return Ne(t,!1)}function Ne(t,e){return Ie(t)?t:new Fe(t,e)}class Fe{constructor(t,e){this.dep=new Tt,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=e?t:je(t),this._value=e?t:$e(t),this.__v_isShallow=e}get value(){return this.dep.track(),this._value}set value(t){const e=this._rawValue,n=this.__v_isShallow||Me(t)||Pe(t);t=n?t:je(t),I(t,e)&&(this._rawValue=t,this._value=n?t:$e(t),this.dep.trigger())}}function ze(t){t.dep.trigger()}function Ve(t){return Ie(t)?t.value:t}const We={get:(t,e,n)=>"__v_raw"===e?t:Ve(Reflect.get(t,e,n)),set:(t,e,n,i)=>{const r=t[e];return Ie(r)&&!Ie(n)?(r.value=n,!0):Reflect.set(t,e,n,i)}};function Ue(t){return Ee(t)?t:new Proxy(t,We)}function He(t){const e=g(t)?new Array(t.length):{};for(const n in t)e[n]=Xe(t,n);return e}class qe{constructor(t,e,n){this._object=t,this._key=e,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=void 0===t?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return t=je(this._object),e=this._key,null==(n=Pt.get(t))?void 0:n.get(e);var t,e,n}}class Ge{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Xe(t,e,n){const i=t[e];return Ie(i)?i:new qe(t,e,n)}class Ye{constructor(t,e,n){this.fn=t,this.setter=e,this._value=void 0,this.dep=new Tt(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=At-1,this.effect=this,this.__v_isReadonly=!e,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags||st===this))return dt(this),!0}get value(){const t=this.dep.track();return yt(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}const Ke={},Ze=new WeakMap;let Je;function Qe(t,e=1/0,n){if(e<=0||!w(t)||t.__v_skip)return t;if((n=n||new Set).has(t))return t;if(n.add(t),e--,Ie(t))Qe(t.value,e,n);else if(g(t))for(let i=0;i<t.length;i++)Qe(t[i],e,n);else if(v(t)||m(t))t.forEach((t=>{Qe(t,e,n)}));else if(O(t)){for(const i in t)Qe(t[i],e,n);for(const i of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,i)&&Qe(t[i],e,n)}return t}function tn(t,e,n,i){try{return i?t(...i):t()}catch(t){nn(t,e,n)}}function en(t,e,n,i){if(b(t)){const r=tn(t,e,n,i);return r&&S(r)&&r.catch((t=>{nn(t,e,n)})),r}if(g(t)){const r=[];for(let o=0;o<t.length;o++)r.push(en(t[o],e,n,i));return r}}function nn(t,e,n,i=!0){e&&e.vnode;const{errorHandler:r,throwUnhandledErrorInProduction:s}=e&&e.appContext.config||o;if(e){let i=e.parent;const o=e.proxy,s=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const e=i.ec;if(e)for(let n=0;n<e.length;n++)if(!1===e[n](t,o,s))return;i=i.parent}if(r)return St(),tn(r,null,10,[t,o,s]),void kt()}!function(t,e,n,i=!0,r=!1){if(r)throw t;console.error(t)}(t,0,0,i,s)}let rn=!1,on=!1;const sn=[];let an=0;const ln=[];let cn=null,un=0;const hn=Promise.resolve();let dn=null;function pn(t){const e=dn||hn;return t?e.then(this?t.bind(this):t):e}function fn(t){if(!(1&t.flags)){const e=yn(t),n=sn[sn.length-1];!n||!(2&t.flags)&&e>=yn(n)?sn.push(t):sn.splice(function(t){let e=rn?an+1:0,n=sn.length;for(;e<n;){const i=e+n>>>1,r=sn[i],o=yn(r);o<t||o===t&&2&r.flags?e=i+1:n=i}return e}(e),0,t),t.flags|=1,gn()}}function gn(){rn||on||(on=!0,dn=hn.then(bn))}function mn(t,e,n=(rn?an+1:0)){for(;n<sn.length;n++){const e=sn[n];if(e&&2&e.flags){if(t&&e.id!==t.uid)continue;sn.splice(n,1),n--,4&e.flags&&(e.flags&=-2),e(),e.flags&=-2}}}function vn(t){if(ln.length){const t=[...new Set(ln)].sort(((t,e)=>yn(t)-yn(e)));if(ln.length=0,cn)return void cn.push(...t);for(cn=t,un=0;un<cn.length;un++){const t=cn[un];4&t.flags&&(t.flags&=-2),8&t.flags||t(),t.flags&=-2}cn=null,un=0}}const yn=t=>null==t.id?2&t.flags?-1:1/0:t.id;function bn(t){on=!1,rn=!0;try{for(an=0;an<sn.length;an++){const t=sn[an];!t||8&t.flags||(4&t.flags&&(t.flags&=-2),tn(t,t.i,t.i?15:14),t.flags&=-2)}}finally{for(;an<sn.length;an++){const t=sn[an];t&&(t.flags&=-2)}an=0,sn.length=0,vn(),rn=!1,dn=null,(sn.length||ln.length)&&bn(t)}}let _n,xn=[],wn=!1;function Sn(t,...e){_n?_n.emit(t,...e):wn||xn.push({event:t,args:e})}function kn(t,e){var n,i;_n=t,_n?(_n.enabled=!0,xn.forEach((({event:t,args:e})=>_n.emit(t,...e))),xn=[]):"undefined"!=typeof window&&window.HTMLElement&&!(null==(i=null==(n=window.navigator)?void 0:n.userAgent)?void 0:i.includes("jsdom"))?((e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((t=>{kn(t,e)})),setTimeout((()=>{_n||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,wn=!0,xn=[])}),3e3)):(wn=!0,xn=[])}const Cn=En("component:added"),An=En("component:updated"),On=En("component:removed"),Tn=t=>{_n&&"function"==typeof _n.cleanupBuffer&&!_n.cleanupBuffer(t)&&On(t)};function En(t){return e=>{Sn(t,e.appContext.app,e.uid,e.parent?e.parent.uid:void 0,e)}}let Pn=null,Mn=null;function Ln(t){const e=Pn;return Pn=t,Mn=t&&t.type.__scopeId||null,e}function jn(t){Mn=t}function Dn(){Mn=null}function $n(t,e=Pn,n){if(!e)return t;if(t._n)return t;const i=(...n)=>{i._d&&Zr(-1);const r=Ln(e);let o;try{o=t(...n)}finally{Ln(r),i._d&&Zr(1)}return __VUE_PROD_DEVTOOLS__&&An(e),o};return i._n=!0,i._c=!0,i._d=!0,i}function Rn(t,e){if(null===Pn)return t;const n=jo(Pn),i=t.dirs||(t.dirs=[]);for(let t=0;t<e.length;t++){let[r,s,a,l=o]=e[t];r&&(b(r)&&(r={mounted:r,updated:r}),r.deep&&Qe(s),i.push({dir:r,instance:n,value:s,oldValue:void 0,arg:a,modifiers:l}))}return t}function In(t,e,n,i){const r=t.dirs,o=e&&e.dirs;for(let s=0;s<r.length;s++){const a=r[s];o&&(a.oldValue=o[s].value);let l=a.dir[i];l&&(St(),en(l,n,8,[t.el,a,t,e]),kt())}}const Bn=Symbol("_vte"),Nn=t=>t.__isTeleport,Fn=Symbol("_leaveCb"),zn=Symbol("_enterCb");const Vn=[Function,Array],Wn={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Vn,onEnter:Vn,onAfterEnter:Vn,onEnterCancelled:Vn,onBeforeLeave:Vn,onLeave:Vn,onAfterLeave:Vn,onLeaveCancelled:Vn,onBeforeAppear:Vn,onAppear:Vn,onAfterAppear:Vn,onAppearCancelled:Vn},Un=t=>{const e=t.subTree;return e.component?Un(e.component):e},Hn={name:"BaseTransition",props:Wn,setup(t,{slots:e}){const n=_o(),i=function(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return gi((()=>{t.isMounted=!0})),yi((()=>{t.isUnmounting=!0})),t}();return()=>{const r=e.default&&Qn(e.default(),!0);if(!r||!r.length)return;const o=qn(r),s=je(t),{mode:a}=s;if(i.isLeaving)return Kn(o);const l=Zn(o);if(!l)return Kn(o);let c=Yn(l,s,i,n,(t=>c=t));l.type!==Hr&&Jn(l,c);const u=n.subTree,h=u&&Zn(u);if(h&&h.type!==Hr&&!no(l,h)&&Un(n).type!==Hr){const t=Yn(h,s,i,n);if(Jn(h,t),"out-in"===a&&l.type!==Hr)return i.isLeaving=!0,t.afterLeave=()=>{i.isLeaving=!1,8&n.job.flags||n.update(),delete t.afterLeave},Kn(o);"in-out"===a&&l.type!==Hr&&(t.delayLeave=(t,e,n)=>{Xn(i,h)[String(h.key)]=h,t[Fn]=()=>{e(),t[Fn]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return o}}};function qn(t){let e=t[0];if(t.length>1){let n=!1;for(const i of t)if(i.type!==Hr){e=i,n=!0;break}}return e}const Gn=Hn;function Xn(t,e){const{leavingVNodes:n}=t;let i=n.get(e.type);return i||(i=Object.create(null),n.set(e.type,i)),i}function Yn(t,e,n,i,r){const{appear:o,mode:s,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:h,onBeforeLeave:d,onLeave:p,onAfterLeave:f,onLeaveCancelled:m,onBeforeAppear:v,onAppear:y,onAfterAppear:b,onAppearCancelled:_}=e,x=String(t.key),w=Xn(n,t),S=(t,e)=>{t&&en(t,i,9,e)},k=(t,e)=>{const n=e[1];S(t,e),g(t)?t.every((t=>t.length<=1))&&n():t.length<=1&&n()},C={mode:s,persisted:a,beforeEnter(e){let i=l;if(!n.isMounted){if(!o)return;i=v||l}e[Fn]&&e[Fn](!0);const r=w[x];r&&no(t,r)&&r.el[Fn]&&r.el[Fn](),S(i,[e])},enter(t){let e=c,i=u,r=h;if(!n.isMounted){if(!o)return;e=y||c,i=b||u,r=_||h}let s=!1;const a=t[zn]=e=>{s||(s=!0,S(e?r:i,[t]),C.delayedLeave&&C.delayedLeave(),t[zn]=void 0)};e?k(e,[t,a]):a()},leave(e,i){const r=String(t.key);if(e[zn]&&e[zn](!0),n.isUnmounting)return i();S(d,[e]);let o=!1;const s=e[Fn]=n=>{o||(o=!0,i(),S(n?m:f,[e]),e[Fn]=void 0,w[r]===t&&delete w[r])};w[r]=t,p?k(p,[e,s]):s()},clone(t){const o=Yn(t,e,n,i,r);return r&&r(o),o}};return C}function Kn(t){if(ri(t))return(t=lo(t)).children=null,t}function Zn(t){if(!ri(t))return Nn(t.type)&&t.children?qn(t.children):t;const{shapeFlag:e,children:n}=t;if(n){if(16&e)return n[0];if(32&e&&b(n.default))return n.default()}}function Jn(t,e){6&t.shapeFlag&&t.component?(t.transition=e,Jn(t.component.subTree,e)):128&t.shapeFlag?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Qn(t,e=!1,n){let i=[],r=0;for(let o=0;o<t.length;o++){let s=t[o];const a=null==n?s.key:String(n)+String(null!=s.key?s.key:o);s.type===Wr?(128&s.patchFlag&&r++,i=i.concat(Qn(s.children,e,a))):(e||s.type!==Hr)&&i.push(null!=a?lo(s,{key:a}):s)}if(r>1)for(let t=0;t<i.length;t++)i[t].patchFlag=-2;return i}function ti(t,e){return b(t)?(()=>h({name:t.name},e,{setup:t}))():t}function ei(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function ni(t,e,n,i,r=!1){if(g(t))return void t.forEach(((t,o)=>ni(t,e&&(g(e)?e[o]:e),n,i,r)));if(ii(i)&&!r)return;const s=4&i.shapeFlag?jo(i.component):i.el,a=r?null:s,{i:l,r:c}=t,u=e&&e.r,h=l.refs===o?l.refs={}:l.refs,p=l.setupState,m=je(p),v=p===o?()=>!1:t=>f(m,t);if(null!=u&&u!==c&&(_(u)?(h[u]=null,v(u)&&(p[u]=null)):Ie(u)&&(u.value=null)),b(c))tn(c,l,12,[a,h]);else{const e=_(c),i=Ie(c);if(e||i){const o=()=>{if(t.f){const n=e?v(c)?p[c]:h[c]:c.value;r?g(n)&&d(n,s):g(n)?n.includes(s)||n.push(s):e?(h[c]=[s],v(c)&&(p[c]=h[c])):(c.value=[s],t.k&&(h[t.k]=c.value))}else e?(h[c]=a,v(c)&&(p[c]=a)):i&&(c.value=a,t.k&&(h[t.k]=a))};a?(o.id=-1,_r(o,n)):o()}}}const ii=t=>!!t.type.__asyncLoader,ri=t=>t.type.__isKeepAlive;RegExp,RegExp;function oi(t,e){return g(t)?t.some((t=>oi(t,e))):_(t)?t.split(",").includes(e):"[object RegExp]"===C(t)&&(t.lastIndex=0,t.test(e))}function si(t,e){li(t,"a",e)}function ai(t,e){li(t,"da",e)}function li(t,e,n=bo){const i=t.__wdc||(t.__wdc=()=>{let e=n;for(;e;){if(e.isDeactivated)return;e=e.parent}return t()});if(di(e,i,n),n){let t=n.parent;for(;t&&t.parent;)ri(t.parent.vnode)&&ci(i,e,n,t),t=t.parent}}function ci(t,e,n,i){const r=di(e,t,i,!0);bi((()=>{d(i[e],r)}),n)}function ui(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function hi(t){return 128&t.shapeFlag?t.ssContent:t}function di(t,e,n=bo,i=!1){if(n){const r=n[t]||(n[t]=[]),o=e.__weh||(e.__weh=(...i)=>{St();const r=So(n),o=en(e,n,t,i);return r(),kt(),o});return i?r.unshift(o):r.push(o),o}}const pi=t=>(e,n=bo)=>{To&&"sp"!==t||di(t,((...t)=>e(...t)),n)},fi=pi("bm"),gi=pi("m"),mi=pi("bu"),vi=pi("u"),yi=pi("bum"),bi=pi("um"),_i=pi("sp"),xi=pi("rtg"),wi=pi("rtc");function Si(t,e=bo){di("ec",t,e)}const ki="components";function Ci(t,e){return Ti(ki,t,!0,e)||t}const Ai=Symbol.for("v-ndc");function Oi(t){return _(t)?Ti(ki,t,!1)||t:t||Ai}function Ti(t,e,n=!0,i=!1){const r=Pn||bo;if(r){const n=r.type;if(t===ki){const t=Do(n,!1);if(t&&(t===e||t===L(e)||t===$(L(e))))return n}const o=Ei(r[t]||n[t],e)||Ei(r.appContext[t],e);return!o&&i?n:o}}function Ei(t,e){return t&&(t[e]||t[L(e)]||t[$(L(e))])}function Pi(t,e,n,i){let r;const o=n&&n[i],s=g(t);if(s||_(t)){let n=!1;s&&Ee(t)&&(n=!Me(t),t=It(t)),r=new Array(t.length);for(let i=0,s=t.length;i<s;i++)r[i]=e(n?$e(t[i]):t[i],i,void 0,o&&o[i])}else if("number"==typeof t){r=new Array(t);for(let n=0;n<t;n++)r[n]=e(n+1,n,void 0,o&&o[n])}else if(w(t))if(t[Symbol.iterator])r=Array.from(t,((t,n)=>e(t,n,void 0,o&&o[n])));else{const n=Object.keys(t);r=new Array(n.length);for(let i=0,s=n.length;i<s;i++){const s=n[i];r[i]=e(t[s],s,i,o&&o[i])}}else r=[];return n&&(n[i]=r),r}function Mi(t,e){for(let n=0;n<e.length;n++){const i=e[n];if(g(i))for(let e=0;e<i.length;e++)t[i[e].name]=i[e].fn;else i&&(t[i.name]=i.key?(...t)=>{const e=i.fn(...t);return e&&(e.key=i.key),e}:i.fn)}return t}function Li(t,e,n={},i,r){if(Pn.ce||Pn.parent&&ii(Pn.parent)&&Pn.parent.ce)return"default"!==e&&(n.name=e),Yr(),to(Wr,null,[so("slot",n,i&&i())],64);let o=t[e];o&&o._c&&(o._d=!1),Yr();const s=o&&ji(o(n)),a=to(Wr,{key:(n.key||s&&s.key||`_${e}`)+(!s&&i?"_fb":"")},s||(i?i():[]),s&&1===t._?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function ji(t){return t.some((t=>!eo(t)||t.type!==Hr&&!(t.type===Wr&&!ji(t.children))))?t:null}function Di(t,e){const n={};for(const i in t)n[e&&/[A-Z]/.test(i)?`on:${i}`:R(i)]=t[i];return n}const $i=t=>t?Co(t)?jo(t):$i(t.parent):null,Ri=h(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>$i(t.parent),$root:t=>$i(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>__VUE_OPTIONS_API__?Ui(t):t.type,$forceUpdate:t=>t.f||(t.f=()=>{fn(t.update)}),$nextTick:t=>t.n||(t.n=pn.bind(t.proxy)),$watch:t=>__VUE_OPTIONS_API__?Lr.bind(t):a}),Ii=(t,e)=>t!==o&&!t.__isScriptSetup&&f(t,e),Bi={get({_:t},e){if("__v_skip"===e)return!0;const{ctx:n,setupState:i,data:r,props:s,accessCache:a,type:l,appContext:c}=t;let u;if("$"!==e[0]){const l=a[e];if(void 0!==l)switch(l){case 1:return i[e];case 2:return r[e];case 4:return n[e];case 3:return s[e]}else{if(Ii(i,e))return a[e]=1,i[e];if(r!==o&&f(r,e))return a[e]=2,r[e];if((u=t.propsOptions[0])&&f(u,e))return a[e]=3,s[e];if(n!==o&&f(n,e))return a[e]=4,n[e];__VUE_OPTIONS_API__&&!zi||(a[e]=0)}}const h=Ri[e];let d,p;return h?("$attrs"===e&&Dt(t.attrs,0,""),h(t)):(d=l.__cssModules)&&(d=d[e])?d:n!==o&&f(n,e)?(a[e]=4,n[e]):(p=c.config.globalProperties,f(p,e)?p[e]:void 0)},set({_:t},e,n){const{data:i,setupState:r,ctx:s}=t;return Ii(r,e)?(r[e]=n,!0):i!==o&&f(i,e)?(i[e]=n,!0):!(f(t.props,e)||"$"===e[0]&&e.slice(1)in t||(s[e]=n,0))},has({_:{data:t,setupState:e,accessCache:n,ctx:i,appContext:r,propsOptions:s}},a){let l;return!!n[a]||t!==o&&f(t,a)||Ii(e,a)||(l=s[0])&&f(l,a)||f(i,a)||f(Ri,a)||f(r.config.globalProperties,a)},defineProperty(t,e,n){return null!=n.get?t._.accessCache[e]=0:f(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function Ni(){return function(){const t=_o();return t.setupContext||(t.setupContext=Lo(t))}().slots}function Fi(t){return g(t)?t.reduce(((t,e)=>(t[e]=null,t)),{}):t}let zi=!0;function Vi(t,e,n){en(g(t)?t.map((t=>t.bind(e.proxy))):t.bind(e.proxy),e,n)}function Wi(t,e,n,i){let r=i.includes(".")?jr(n,i):()=>n[i];if(_(t)){const n=e[t];b(n)&&Pr(r,n)}else if(b(t))Pr(r,t.bind(n));else if(w(t))if(g(t))t.forEach((t=>Wi(t,e,n,i)));else{const i=b(t.handler)?t.handler.bind(n):e[t.handler];b(i)&&Pr(r,i,t)}}function Ui(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:r,optionsCache:o,config:{optionMergeStrategies:s}}=t.appContext,a=o.get(e);let l;return a?l=a:r.length||n||i?(l={},r.length&&r.forEach((t=>Hi(l,t,s,!0))),Hi(l,e,s)):l=e,w(e)&&o.set(e,l),l}function Hi(t,e,n,i=!1){const{mixins:r,extends:o}=e;o&&Hi(t,o,n,!0),r&&r.forEach((e=>Hi(t,e,n,!0)));for(const r in e)if(i&&"expose"===r);else{const i=qi[r]||n&&n[r];t[r]=i?i(t[r],e[r]):e[r]}return t}const qi={data:Gi,props:Zi,emits:Zi,methods:Ki,computed:Ki,beforeCreate:Yi,created:Yi,beforeMount:Yi,mounted:Yi,beforeUpdate:Yi,updated:Yi,beforeDestroy:Yi,beforeUnmount:Yi,destroyed:Yi,unmounted:Yi,activated:Yi,deactivated:Yi,errorCaptured:Yi,serverPrefetch:Yi,components:Ki,directives:Ki,watch:function(t,e){if(!t)return e;if(!e)return t;const n=h(Object.create(null),t);for(const i in e)n[i]=Yi(t[i],e[i]);return n},provide:Gi,inject:function(t,e){return Ki(Xi(t),Xi(e))}};function Gi(t,e){return e?t?function(){return h(b(t)?t.call(this,this):t,b(e)?e.call(this,this):e)}:e:t}function Xi(t){if(g(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Yi(t,e){return t?[...new Set([].concat(t,e))]:e}function Ki(t,e){return t?h(Object.create(null),t,e):e}function Zi(t,e){return t?g(t)&&g(e)?[...new Set([...t,...e])]:h(Object.create(null),Fi(t),Fi(null!=e?e:{})):e}function Ji(){return{app:null,config:{isNativeTag:l,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Qi=0;function tr(t,e){return function(n,i=null){b(n)||(n=h({},n)),null==i||w(i)||(i=null);const r=Ji(),o=new WeakSet,s=[];let a=!1;const l=r.app={_uid:Qi++,_component:n,_props:i,_container:null,_context:r,_instance:null,version:Io,get config(){return r.config},set config(t){},use:(t,...e)=>(o.has(t)||(t&&b(t.install)?(o.add(t),t.install(l,...e)):b(t)&&(o.add(t),t(l,...e))),l),mixin:t=>(__VUE_OPTIONS_API__&&(r.mixins.includes(t)||r.mixins.push(t)),l),component:(t,e)=>e?(r.components[t]=e,l):r.components[t],directive:(t,e)=>e?(r.directives[t]=e,l):r.directives[t],mount(o,s,c){if(!a){const u=l._ceVNode||so(n,i);return u.appContext=r,!0===c?c="svg":!1===c&&(c=void 0),s&&e?e(u,o):t(u,o,c),a=!0,l._container=o,o.__vue_app__=l,__VUE_PROD_DEVTOOLS__&&(l._instance=u.component,function(t,e){Sn("app:init",t,e,{Fragment:Wr,Text:Ur,Comment:Hr,Static:qr})}(l,Io)),jo(u.component)}},onUnmount(t){s.push(t)},unmount(){a&&(en(s,l._instance,16),t(null,l._container),__VUE_PROD_DEVTOOLS__&&(l._instance=null,function(t){Sn("app:unmount",t)}(l)),delete l._container.__vue_app__)},provide:(t,e)=>(r.provides[t]=e,l),runWithContext(t){const e=er;er=l;try{return t()}finally{er=e}}};return l}}let er=null;function nr(t,e){if(bo){let n=bo.provides;const i=bo.parent&&bo.parent.provides;i===n&&(n=bo.provides=Object.create(i)),n[t]=e}}function ir(t,e,n=!1){const i=bo||Pn;if(i||er){const r=er?er._context.provides:i?null==i.parent?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(r&&t in r)return r[t];if(arguments.length>1)return n&&b(e)?e.call(i&&i.proxy):e}}const rr={},or=()=>Object.create(rr),sr=t=>Object.getPrototypeOf(t)===rr;function ar(t,e,n,i){const[r,s]=t.propsOptions;let a,l=!1;if(e)for(let o in e){if(E(o))continue;const c=e[o];let u;r&&f(r,u=L(o))?s&&s.includes(u)?(a||(a={}))[u]=c:n[u]=c:Ir(t.emitsOptions,o)||o in i&&c===i[o]||(i[o]=c,l=!0)}if(s){const e=je(n),i=a||o;for(let o=0;o<s.length;o++){const a=s[o];n[a]=lr(r,e,a,i[a],t,!f(i,a))}}return l}function lr(t,e,n,i,r,o){const s=t[n];if(null!=s){const t=f(s,"default");if(t&&void 0===i){const t=s.default;if(s.type!==Function&&!s.skipFactory&&b(t)){const{propsDefaults:o}=r;if(n in o)i=o[n];else{const s=So(r);i=o[n]=t.call(null,e),s()}}else i=t;r.ce&&r.ce._setProp(n,i)}s[0]&&(o&&!t?i=!1:!s[1]||""!==i&&i!==D(n)||(i=!0))}return i}const cr=new WeakMap;function ur(t,e,n=!1){const i=__VUE_OPTIONS_API__&&n?cr:e.propsCache,r=i.get(t);if(r)return r;const a=t.props,l={},c=[];let u=!1;if(__VUE_OPTIONS_API__&&!b(t)){const i=t=>{u=!0;const[n,i]=ur(t,e,!0);h(l,n),i&&c.push(...i)};!n&&e.mixins.length&&e.mixins.forEach(i),t.extends&&i(t.extends),t.mixins&&t.mixins.forEach(i)}if(!a&&!u)return w(t)&&i.set(t,s),s;if(g(a))for(let t=0;t<a.length;t++){const e=L(a[t]);hr(e)&&(l[e]=o)}else if(a)for(const t in a){const e=L(t);if(hr(e)){const n=a[t],i=l[e]=g(n)||b(n)?{type:n}:h({},n),r=i.type;let o=!1,s=!0;if(g(r))for(let t=0;t<r.length;++t){const e=r[t],n=b(e)&&e.name;if("Boolean"===n){o=!0;break}"String"===n&&(s=!1)}else o=b(r)&&"Boolean"===r.name;i[0]=o,i[1]=s,(o||f(i,"default"))&&c.push(e)}}const d=[l,c];return w(t)&&i.set(t,d),d}function hr(t){return"$"!==t[0]&&!E(t)}const dr=t=>"_"===t[0]||"$stable"===t,pr=t=>g(t)?t.map(ho):[ho(t)],fr=(t,e,n)=>{if(e._n)return e;const i=$n(((...t)=>pr(e(...t))),n);return i._c=!1,i},gr=(t,e,n)=>{const i=t._ctx;for(const n in t){if(dr(n))continue;const r=t[n];if(b(r))e[n]=fr(0,r,i);else if(null!=r){const t=pr(r);e[n]=()=>t}}},mr=(t,e)=>{const n=pr(e);t.slots.default=()=>n},vr=(t,e,n)=>{for(const i in e)(n||"_"!==i)&&(t[i]=e[i])},yr=(t,e,n)=>{const i=t.slots=or();if(32&t.vnode.shapeFlag){const t=e._;t?(vr(i,e,n),n&&N(i,"_",t,!0)):gr(e,i)}else e&&mr(t,e)},br=(t,e,n)=>{const{vnode:i,slots:r}=t;let s=!0,a=o;if(32&i.shapeFlag){const t=e._;t?n&&1===t?s=!1:vr(r,e,n):(s=!e.$stable,gr(e,r)),a=e}else e&&(mr(t,e),a={default:1});if(s)for(const t in r)dr(t)||null!=a[t]||delete r[t]},_r=function(t,e){e&&e.pendingBranch?g(t)?e.effects.push(...t):e.effects.push(t):(n=t,g(n)?ln.push(...n):cn&&-1===n.id?cn.splice(un+1,0,n):1&n.flags||(ln.push(n),n.flags|=1),gn());var n};function xr(t,e){"boolean"!=typeof __VUE_OPTIONS_API__&&(W().__VUE_OPTIONS_API__=!0),"boolean"!=typeof __VUE_PROD_DEVTOOLS__&&(W().__VUE_PROD_DEVTOOLS__=!1),"boolean"!=typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&(W().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1);const n=W();n.__VUE__=!0,__VUE_PROD_DEVTOOLS__&&kn(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:i,remove:r,patchProp:l,createElement:c,createText:u,createComment:h,setText:d,setElementText:p,parentNode:g,nextSibling:m,setScopeId:v=a,insertStaticContent:y}=t,b=(t,e,n,i=null,r=null,o=null,s=void 0,a=null,l=!!e.dynamicChildren)=>{if(t===e)return;t&&!no(t,e)&&(i=J(t),G(t,r,o,!0),t=null),-2===e.patchFlag&&(l=!1,e.dynamicChildren=null);const{type:c,ref:u,shapeFlag:h}=e;switch(c){case Ur:_(t,e,n,i);break;case Hr:x(t,e,n,i);break;case qr:null==t&&w(e,n,i,s);break;case Wr:j(t,e,n,i,r,o,s,a,l);break;default:1&h?k(t,e,n,i,r,o,s,a,l):6&h?$(t,e,n,i,r,o,s,a,l):(64&h||128&h)&&c.process(t,e,n,i,r,o,s,a,l,et)}null!=u&&r&&ni(u,t&&t.ref,o,e||t,!e)},_=(t,e,n,r)=>{if(null==t)i(e.el=u(e.children),n,r);else{const n=e.el=t.el;e.children!==t.children&&d(n,e.children)}},x=(t,e,n,r)=>{null==t?i(e.el=h(e.children||""),n,r):e.el=t.el},w=(t,e,n,i)=>{[t.el,t.anchor]=y(t.children,e,n,i,t.el,t.anchor)},k=(t,e,n,i,r,o,s,a,l)=>{"svg"===e.type?s="svg":"math"===e.type&&(s="mathml"),null==t?C(e,n,i,r,o,s,a,l):T(t,e,r,o,s,a,l)},C=(t,e,n,r,o,s,a,u)=>{let h,d;const{props:f,shapeFlag:g,transition:m,dirs:v}=t;if(h=t.el=c(t.type,s,f&&f.is,f),8&g?p(h,t.children):16&g&&O(t.children,h,null,r,o,wr(t,s),a,u),v&&In(t,null,r,"created"),A(h,t,t.scopeId,a,r),f){for(const t in f)"value"===t||E(t)||l(h,t,null,f[t],s,r);"value"in f&&l(h,"value",null,f.value,s),(d=f.onVnodeBeforeMount)&&mo(d,r,t)}__VUE_PROD_DEVTOOLS__&&(N(h,"__vnode",t,!0),N(h,"__vueParentComponent",r,!0)),v&&In(t,null,r,"beforeMount");const y=function(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}(o,m);y&&m.beforeEnter(h),i(h,e,n),((d=f&&f.onVnodeMounted)||y||v)&&_r((()=>{d&&mo(d,r,t),y&&m.enter(h),v&&In(t,null,r,"mounted")}),o)},A=(t,e,n,i,r)=>{if(n&&v(t,n),i)for(let e=0;e<i.length;e++)v(t,i[e]);if(r){let n=r.subTree;if(e===n||Vr(n.type)&&(n.ssContent===e||n.ssFallback===e)){const e=r.vnode;A(t,e,e.scopeId,e.slotScopeIds,r.parent)}}},O=(t,e,n,i,r,o,s,a,l=0)=>{for(let c=l;c<t.length;c++){const l=t[c]=a?po(t[c]):ho(t[c]);b(null,l,e,n,i,r,o,s,a)}},T=(t,e,n,i,r,s,a)=>{const c=e.el=t.el;__VUE_PROD_DEVTOOLS__&&(c.__vnode=e);let{patchFlag:u,dynamicChildren:h,dirs:d}=e;u|=16&t.patchFlag;const f=t.props||o,g=e.props||o;let m;if(n&&Sr(n,!1),(m=g.onVnodeBeforeUpdate)&&mo(m,n,e,t),d&&In(e,t,n,"beforeUpdate"),n&&Sr(n,!0),(f.innerHTML&&null==g.innerHTML||f.textContent&&null==g.textContent)&&p(c,""),h?P(t.dynamicChildren,h,c,n,i,wr(e,r),s):a||V(t,e,c,null,n,i,wr(e,r),s,!1),u>0){if(16&u)M(c,f,g,n,r);else if(2&u&&f.class!==g.class&&l(c,"class",null,g.class,r),4&u&&l(c,"style",f.style,g.style,r),8&u){const t=e.dynamicProps;for(let e=0;e<t.length;e++){const i=t[e],o=f[i],s=g[i];s===o&&"value"!==i||l(c,i,o,s,r,n)}}1&u&&t.children!==e.children&&p(c,e.children)}else a||null!=h||M(c,f,g,n,r);((m=g.onVnodeUpdated)||d)&&_r((()=>{m&&mo(m,n,e,t),d&&In(e,t,n,"updated")}),i)},P=(t,e,n,i,r,o,s)=>{for(let a=0;a<e.length;a++){const l=t[a],c=e[a],u=l.el&&(l.type===Wr||!no(l,c)||70&l.shapeFlag)?g(l.el):n;b(l,c,u,null,i,r,o,s,!0)}},M=(t,e,n,i,r)=>{if(e!==n){if(e!==o)for(const o in e)E(o)||o in n||l(t,o,e[o],null,r,i);for(const o in n){if(E(o))continue;const s=n[o],a=e[o];s!==a&&"value"!==o&&l(t,o,a,s,r,i)}"value"in n&&l(t,"value",e.value,n.value,r)}},j=(t,e,n,r,o,s,a,l,c)=>{const h=e.el=t?t.el:u(""),d=e.anchor=t?t.anchor:u("");let{patchFlag:p,dynamicChildren:f,slotScopeIds:g}=e;g&&(l=l?l.concat(g):g),null==t?(i(h,n,r),i(d,n,r),O(e.children||[],n,d,o,s,a,l,c)):p>0&&64&p&&f&&t.dynamicChildren?(P(t.dynamicChildren,f,n,o,s,a,l),(null!=e.key||o&&e===o.subTree)&&kr(t,e,!0)):V(t,e,n,d,o,s,a,l,c)},$=(t,e,n,i,r,o,s,a,l)=>{e.slotScopeIds=a,null==t?512&e.shapeFlag?r.ctx.activate(e,n,i,s,l):R(e,n,i,r,o,s,l):I(t,e,l)},R=(t,e,n,i,r,s,a)=>{const l=t.component=function(t,e,n){const i=t.type,r=(e?e.appContext:t.appContext)||vo,s={uid:yo++,vnode:t,type:i,parent:e,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new at(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(r.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ur(i,r),emitsOptions:Rr(i,r),emit:null,emitted:null,propsDefaults:o,inheritAttrs:i.inheritAttrs,ctx:o,data:o,props:o,attrs:o,slots:o,refs:o,setupState:o,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=e?e.root:s,s.emit=$r.bind(null,s),t.ce&&t.ce(s),s}(t,i,r);if(ri(t)&&(l.ctx.renderer=et),function(t,e=!1,n=!1){e&&wo(e);const{props:i,children:r}=t.vnode,o=Co(t);!function(t,e,n,i=!1){const r={},o=or();t.propsDefaults=Object.create(null),ar(t,e,r,o);for(const e in t.propsOptions[0])e in r||(r[e]=void 0);n?t.props=i?r:Ae(r):t.type.props?t.props=r:t.props=o,t.attrs=o}(t,i,o,e),yr(t,r,n);const s=o?function(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Bi);const{setup:i}=n;if(i){const n=t.setupContext=i.length>1?Lo(t):null,r=So(t);St();const o=tn(i,t,0,[t.props,n]);if(kt(),r(),S(o)){if(ii(t)||ei(t),o.then(ko,ko),e)return o.then((n=>{Eo(t,n,e)})).catch((e=>{nn(e,t,0)}));t.asyncDep=o}else Eo(t,o,e)}else Po(t,e)}(t,e):void 0;e&&wo(!1)}(l,!1,a),l.asyncDep){if(r&&r.registerDep(l,F,a),!t.el){const t=l.subTree=so(Hr);x(null,t,e,n)}}else F(l,t,e,n,r,s,a)},I=(t,e,n)=>{const i=e.component=t.component;if(function(t,e,n){const{props:i,children:r,component:o}=t,{props:s,children:a,patchFlag:l}=e,c=o.emitsOptions;if(e.dirs||e.transition)return!0;if(!(n&&l>=0))return!(!r&&!a||a&&a.$stable)||i!==s&&(i?!s||zr(i,s,c):!!s);if(1024&l)return!0;if(16&l)return i?zr(i,s,c):!!s;if(8&l){const t=e.dynamicProps;for(let e=0;e<t.length;e++){const n=t[e];if(s[n]!==i[n]&&!Ir(c,n))return!0}}return!1}(t,e,n)){if(i.asyncDep&&!i.asyncResolved)return void z(i,e,n);i.next=e,i.update()}else e.el=t.el,i.vnode=e},F=(t,e,n,i,r,o,s)=>{const a=()=>{if(t.isMounted){let{next:e,bu:n,u:i,parent:l,vnode:c}=t;{const n=Cr(t);if(n)return e&&(e.el=c.el,z(t,e,s)),void n.asyncDep.then((()=>{t.isUnmounted||a()}))}let u,h=e;Sr(t,!1),e?(e.el=c.el,z(t,e,s)):e=c,n&&B(n),(u=e.props&&e.props.onVnodeBeforeUpdate)&&mo(u,l,e,c),Sr(t,!0);const d=Br(t),p=t.subTree;t.subTree=d,b(p,d,g(p.el),J(p),t,r,o),e.el=d.el,null===h&&function({vnode:t,parent:e},n){for(;e;){const i=e.subTree;if(i.suspense&&i.suspense.activeBranch===t&&(i.el=t.el),i!==t)break;(t=e.vnode).el=n,e=e.parent}}(t,d.el),i&&_r(i,r),(u=e.props&&e.props.onVnodeUpdated)&&_r((()=>mo(u,l,e,c)),r),__VUE_PROD_DEVTOOLS__&&An(t)}else{let s;const{el:a,props:l}=e,{bm:c,m:u,parent:h,root:d,type:p}=t,f=ii(e);if(Sr(t,!1),c&&B(c),!f&&(s=l&&l.onVnodeBeforeMount)&&mo(s,h,e),Sr(t,!0),a&&it){const e=()=>{t.subTree=Br(t),it(a,t.subTree,t,r,null)};f&&p.__asyncHydrate?p.__asyncHydrate(a,t,e):e()}else{d.ce&&d.ce._injectChildStyle(p);const s=t.subTree=Br(t);b(null,s,n,i,t,r,o),e.el=s.el}if(u&&_r(u,r),!f&&(s=l&&l.onVnodeMounted)){const t=e;_r((()=>mo(s,h,t)),r)}(256&e.shapeFlag||h&&ii(h.vnode)&&256&h.vnode.shapeFlag)&&t.a&&_r(t.a,r),t.isMounted=!0,__VUE_PROD_DEVTOOLS__&&Cn(t),e=n=i=null}};t.scope.on();const l=t.effect=new ct(a);t.scope.off();const c=t.update=l.run.bind(l),u=t.job=l.runIfDirty.bind(l);u.i=t,u.id=t.uid,l.scheduler=()=>fn(u),Sr(t,!0),c()},z=(t,e,n)=>{e.component=t;const i=t.vnode.props;t.vnode=e,t.next=null,function(t,e,n,i){const{props:r,attrs:o,vnode:{patchFlag:s}}=t,a=je(r),[l]=t.propsOptions;let c=!1;if(!(i||s>0)||16&s){let i;ar(t,e,r,o)&&(c=!0);for(const o in a)e&&(f(e,o)||(i=D(o))!==o&&f(e,i))||(l?!n||void 0===n[o]&&void 0===n[i]||(r[o]=lr(l,a,o,void 0,t,!0)):delete r[o]);if(o!==a)for(const t in o)e&&f(e,t)||(delete o[t],c=!0)}else if(8&s){const n=t.vnode.dynamicProps;for(let i=0;i<n.length;i++){let s=n[i];if(Ir(t.emitsOptions,s))continue;const u=e[s];if(l)if(f(o,s))u!==o[s]&&(o[s]=u,c=!0);else{const e=L(s);r[e]=lr(l,a,e,u,t,!1)}else u!==o[s]&&(o[s]=u,c=!0)}}c&&$t(t.attrs,"set","")}(t,e.props,i,n),br(t,e.children,n),St(),mn(t),kt()},V=(t,e,n,i,r,o,s,a,l=!1)=>{const c=t&&t.children,u=t?t.shapeFlag:0,h=e.children,{patchFlag:d,shapeFlag:f}=e;if(d>0){if(128&d)return void H(c,h,n,i,r,o,s,a,l);if(256&d)return void U(c,h,n,i,r,o,s,a,l)}8&f?(16&u&&Z(c,r,o),h!==c&&p(n,h)):16&u?16&f?H(c,h,n,i,r,o,s,a,l):Z(c,r,o,!0):(8&u&&p(n,""),16&f&&O(h,n,i,r,o,s,a,l))},U=(t,e,n,i,r,o,a,l,c)=>{e=e||s;const u=(t=t||s).length,h=e.length,d=Math.min(u,h);let p;for(p=0;p<d;p++){const i=e[p]=c?po(e[p]):ho(e[p]);b(t[p],i,n,null,r,o,a,l,c)}u>h?Z(t,r,o,!0,!1,d):O(e,n,i,r,o,a,l,c,d)},H=(t,e,n,i,r,o,a,l,c)=>{let u=0;const h=e.length;let d=t.length-1,p=h-1;for(;u<=d&&u<=p;){const i=t[u],s=e[u]=c?po(e[u]):ho(e[u]);if(!no(i,s))break;b(i,s,n,null,r,o,a,l,c),u++}for(;u<=d&&u<=p;){const i=t[d],s=e[p]=c?po(e[p]):ho(e[p]);if(!no(i,s))break;b(i,s,n,null,r,o,a,l,c),d--,p--}if(u>d){if(u<=p){const t=p+1,s=t<h?e[t].el:i;for(;u<=p;)b(null,e[u]=c?po(e[u]):ho(e[u]),n,s,r,o,a,l,c),u++}}else if(u>p)for(;u<=d;)G(t[u],r,o,!0),u++;else{const f=u,g=u,m=new Map;for(u=g;u<=p;u++){const t=e[u]=c?po(e[u]):ho(e[u]);null!=t.key&&m.set(t.key,u)}let v,y=0;const _=p-g+1;let x=!1,w=0;const S=new Array(_);for(u=0;u<_;u++)S[u]=0;for(u=f;u<=d;u++){const i=t[u];if(y>=_){G(i,r,o,!0);continue}let s;if(null!=i.key)s=m.get(i.key);else for(v=g;v<=p;v++)if(0===S[v-g]&&no(i,e[v])){s=v;break}void 0===s?G(i,r,o,!0):(S[s-g]=u+1,s>=w?w=s:x=!0,b(i,e[s],n,null,r,o,a,l,c),y++)}const k=x?function(t){const e=t.slice(),n=[0];let i,r,o,s,a;const l=t.length;for(i=0;i<l;i++){const l=t[i];if(0!==l){if(r=n[n.length-1],t[r]<l){e[i]=r,n.push(i);continue}for(o=0,s=n.length-1;o<s;)a=o+s>>1,t[n[a]]<l?o=a+1:s=a;l<t[n[o]]&&(o>0&&(e[i]=n[o-1]),n[o]=i)}}for(o=n.length,s=n[o-1];o-- >0;)n[o]=s,s=e[s];return n}(S):s;for(v=k.length-1,u=_-1;u>=0;u--){const t=g+u,s=e[t],d=t+1<h?e[t+1].el:i;0===S[u]?b(null,s,n,d,r,o,a,l,c):x&&(v<0||u!==k[v]?q(s,n,d,2):v--)}}},q=(t,e,n,r,o=null)=>{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=t;if(6&u)q(t.component.subTree,e,n,r);else if(128&u)t.suspense.move(e,n,r);else if(64&u)a.move(t,e,n,et);else if(a!==Wr)if(a!==qr)if(2!==r&&1&u&&l)if(0===r)l.beforeEnter(s),i(s,e,n),_r((()=>l.enter(s)),o);else{const{leave:t,delayLeave:r,afterLeave:o}=l,a=()=>i(s,e,n),c=()=>{t(s,(()=>{a(),o&&o()}))};r?r(s,a,c):c()}else i(s,e,n);else(({el:t,anchor:e},n,r)=>{let o;for(;t&&t!==e;)o=m(t),i(t,n,r),t=o;i(e,n,r)})(t,e,n);else{i(s,e,n);for(let t=0;t<c.length;t++)q(c[t],e,n,r);i(t.anchor,e,n)}},G=(t,e,n,i=!1,r=!1)=>{const{type:o,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:h,dirs:d,cacheIndex:p}=t;if(-2===h&&(r=!1),null!=a&&ni(a,null,n,t,!0),null!=p&&(e.renderCache[p]=void 0),256&u)return void e.ctx.deactivate(t);const f=1&u&&d,g=!ii(t);let m;if(g&&(m=s&&s.onVnodeBeforeUnmount)&&mo(m,e,t),6&u)K(t.component,n,i);else{if(128&u)return void t.suspense.unmount(n,i);f&&In(t,null,e,"beforeUnmount"),64&u?t.type.remove(t,e,n,et,i):c&&!c.hasOnce&&(o!==Wr||h>0&&64&h)?Z(c,e,n,!1,!0):(o===Wr&&384&h||!r&&16&u)&&Z(l,e,n),i&&X(t)}(g&&(m=s&&s.onVnodeUnmounted)||f)&&_r((()=>{m&&mo(m,e,t),f&&In(t,null,e,"unmounted")}),n)},X=t=>{const{type:e,el:n,anchor:i,transition:o}=t;if(e===Wr)return void Y(n,i);if(e===qr)return void(({el:t,anchor:e})=>{let n;for(;t&&t!==e;)n=m(t),r(t),t=n;r(e)})(t);const s=()=>{r(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&t.shapeFlag&&o&&!o.persisted){const{leave:e,delayLeave:i}=o,r=()=>e(n,s);i?i(t.el,s,r):r()}else s()},Y=(t,e)=>{let n;for(;t!==e;)n=m(t),r(t),t=n;r(e)},K=(t,e,n)=>{const{bum:i,scope:r,job:o,subTree:s,um:a,m:l,a:c}=t;Ar(l),Ar(c),i&&B(i),r.stop(),o&&(o.flags|=8,G(s,t,e,n)),a&&_r(a,e),_r((()=>{t.isUnmounted=!0}),e),e&&e.pendingBranch&&!e.isUnmounted&&t.asyncDep&&!t.asyncResolved&&t.suspenseId===e.pendingId&&(e.deps--,0===e.deps&&e.resolve()),__VUE_PROD_DEVTOOLS__&&Tn(t)},Z=(t,e,n,i=!1,r=!1,o=0)=>{for(let s=o;s<t.length;s++)G(t[s],e,n,i,r)},J=t=>{if(6&t.shapeFlag)return J(t.component.subTree);if(128&t.shapeFlag)return t.suspense.next();const e=m(t.anchor||t.el),n=e&&e[Bn];return n?m(n):e};let Q=!1;const tt=(t,e,n)=>{null==t?e._vnode&&G(e._vnode,null,null,!0):b(e._vnode||null,t,e,null,null,null,n),e._vnode=t,Q||(Q=!0,mn(),vn(),Q=!1)},et={p:b,um:G,m:q,r:X,mt:R,mc:O,pc:V,pbc:P,n:J,o:t};let nt,it;return e&&([nt,it]=e(et)),{render:tt,hydrate:nt,createApp:tr(tt,nt)}}function wr({type:t,props:e},n){return"svg"===n&&"foreignObject"===t||"mathml"===n&&"annotation-xml"===t&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function Sr({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function kr(t,e,n=!1){const i=t.children,r=e.children;if(g(i)&&g(r))for(let t=0;t<i.length;t++){const e=i[t];let o=r[t];1&o.shapeFlag&&!o.dynamicChildren&&((o.patchFlag<=0||32===o.patchFlag)&&(o=r[t]=po(r[t]),o.el=e.el),n||-2===o.patchFlag||kr(e,o)),o.type===Ur&&(o.el=e.el)}}function Cr(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Cr(e)}function Ar(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}const Or=Symbol.for("v-scx"),Tr=()=>ir(Or);function Er(t,e){return Mr(t,null,e)}function Pr(t,e,n){return Mr(t,e,n)}function Mr(t,e,n=o){const{immediate:i,deep:r,flush:s,once:l}=n,c=h({},n);let u;if(To)if("sync"===s){const t=Tr();u=t.__watcherHandles||(t.__watcherHandles=[])}else{if(e&&!i){const t=()=>{};return t.stop=a,t.resume=a,t.pause=a,t}c.once=!0}const p=bo;c.call=(t,e,n)=>en(t,p,e,n);let f=!1;"post"===s?c.scheduler=t=>{_r(t,p&&p.suspense)}:"sync"!==s&&(f=!0,c.scheduler=(t,e)=>{e?t():fn(t)}),c.augmentJob=t=>{e&&(t.flags|=4),f&&(t.flags|=2,p&&(t.id=p.uid,t.i=p))};const m=function(t,e,n=o){const{immediate:i,deep:r,once:s,scheduler:l,augmentJob:c,call:u}=n,h=t=>r?t:Me(t)||!1===r||0===r?Qe(t,1):Qe(t);let p,f,m,v,y=!1,_=!1;if(Ie(t)?(f=()=>t.value,y=Me(t)):Ee(t)?(f=()=>h(t),y=!0):g(t)?(_=!0,y=t.some((t=>Ee(t)||Me(t))),f=()=>t.map((t=>Ie(t)?t.value:Ee(t)?h(t):b(t)?u?u(t,2):t():void 0))):f=b(t)?e?u?()=>u(t,2):t:()=>{if(m){St();try{m()}finally{kt()}}const e=Je;Je=p;try{return u?u(t,3,[v]):t(v)}finally{Je=e}}:a,e&&r){const t=f,e=!0===r?1/0:r;f=()=>Qe(t(),e)}const x=ot,w=()=>{p.stop(),x&&d(x.effects,p)};if(s&&e){const t=e;e=(...e)=>{t(...e),w()}}let S=_?new Array(t.length).fill(Ke):Ke;const k=t=>{if(1&p.flags&&(p.dirty||t))if(e){const t=p.run();if(r||y||(_?t.some(((t,e)=>I(t,S[e]))):I(t,S))){m&&m();const n=Je;Je=p;try{const n=[t,S===Ke?void 0:_&&S[0]===Ke?[]:S,v];u?u(e,3,n):e(...n),S=t}finally{Je=n}}}else p.run()};return c&&c(k),p=new ct(f),p.scheduler=l?()=>l(k,!1):k,v=t=>function(t,e=!1,n=Je){if(n){let e=Ze.get(n);e||Ze.set(n,e=[]),e.push(t)}}(t,!1,p),m=p.onStop=()=>{const t=Ze.get(p);if(t){if(u)u(t,4);else for(const e of t)e();Ze.delete(p)}},e?i?k(!0):S=p.run():l?l(k.bind(null,!0),!0):p.run(),w.pause=p.pause.bind(p),w.resume=p.resume.bind(p),w.stop=w,w}(t,e,c);return u&&u.push(m),m}function Lr(t,e,n){const i=this.proxy,r=_(t)?t.includes(".")?jr(i,t):()=>i[t]:t.bind(i,i);let o;b(e)?o=e:(o=e.handler,n=e);const s=So(this),a=Mr(r,o.bind(i),n);return s(),a}function jr(t,e){const n=e.split(".");return()=>{let e=t;for(let t=0;t<n.length&&e;t++)e=e[n[t]];return e}}const Dr=(t,e)=>"modelValue"===e||"model-value"===e?t.modelModifiers:t[`${e}Modifiers`]||t[`${L(e)}Modifiers`]||t[`${D(e)}Modifiers`];function $r(t,e,...n){if(t.isUnmounted)return;const i=t.vnode.props||o;let r=n;const s=e.startsWith("update:"),a=s&&Dr(i,e.slice(7));let l;a&&(a.trim&&(r=n.map((t=>_(t)?t.trim():t))),a.number&&(r=n.map(F))),__VUE_PROD_DEVTOOLS__&&function(t,e,n){Sn("component:emit",t.appContext.app,t,e,n)}(t,e,r);let c=i[l=R(e)]||i[l=R(L(e))];!c&&s&&(c=i[l=R(D(e))]),c&&en(c,t,6,r);const u=i[l+"Once"];if(u){if(t.emitted){if(t.emitted[l])return}else t.emitted={};t.emitted[l]=!0,en(u,t,6,r)}}function Rr(t,e,n=!1){const i=e.emitsCache,r=i.get(t);if(void 0!==r)return r;const o=t.emits;let s={},a=!1;if(__VUE_OPTIONS_API__&&!b(t)){const i=t=>{const n=Rr(t,e,!0);n&&(a=!0,h(s,n))};!n&&e.mixins.length&&e.mixins.forEach(i),t.extends&&i(t.extends),t.mixins&&t.mixins.forEach(i)}return o||a?(g(o)?o.forEach((t=>s[t]=null)):h(s,o),w(t)&&i.set(t,s),s):(w(t)&&i.set(t,null),null)}function Ir(t,e){return!(!t||!c(e))&&(e=e.slice(2).replace(/Once$/,""),f(t,e[0].toLowerCase()+e.slice(1))||f(t,D(e))||f(t,e))}function Br(t){const{type:e,vnode:n,proxy:i,withProxy:r,propsOptions:[o],slots:s,attrs:a,emit:l,render:c,renderCache:h,props:d,data:p,setupState:f,ctx:g,inheritAttrs:m}=t,v=Ln(t);let y,b;try{if(4&n.shapeFlag){const t=r||i,e=t;y=ho(c.call(e,t,h,d,f,p,g)),b=a}else{const t=e;y=ho(t.length>1?t(d,{attrs:a,slots:s,emit:l}):t(d,null)),b=e.props?a:Nr(a)}}catch(e){Gr.length=0,nn(e,t,1),y=so(Hr)}let _=y;if(b&&!1!==m){const t=Object.keys(b),{shapeFlag:e}=_;t.length&&7&e&&(o&&t.some(u)&&(b=Fr(b,o)),_=lo(_,b,!1,!0))}return n.dirs&&(_=lo(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&Jn(_,n.transition),y=_,Ln(v),y}const Nr=t=>{let e;for(const n in t)("class"===n||"style"===n||c(n))&&((e||(e={}))[n]=t[n]);return e},Fr=(t,e)=>{const n={};for(const i in t)u(i)&&i.slice(9)in e||(n[i]=t[i]);return n};function zr(t,e,n){const i=Object.keys(e);if(i.length!==Object.keys(t).length)return!0;for(let r=0;r<i.length;r++){const o=i[r];if(e[o]!==t[o]&&!Ir(n,o))return!0}return!1}const Vr=t=>t.__isSuspense;const Wr=Symbol.for("v-fgt"),Ur=Symbol.for("v-txt"),Hr=Symbol.for("v-cmt"),qr=Symbol.for("v-stc"),Gr=[];let Xr=null;function Yr(t=!1){Gr.push(Xr=t?null:[])}let Kr=1;function Zr(t){Kr+=t,t<0&&Xr&&(Xr.hasOnce=!0)}function Jr(t){return t.dynamicChildren=Kr>0?Xr||s:null,Gr.pop(),Xr=Gr[Gr.length-1]||null,Kr>0&&Xr&&Xr.push(t),t}function Qr(t,e,n,i,r,o){return Jr(oo(t,e,n,i,r,o,!0))}function to(t,e,n,i,r){return Jr(so(t,e,n,i,r,!0))}function eo(t){return!!t&&!0===t.__v_isVNode}function no(t,e){return t.type===e.type&&t.key===e.key}const io=({key:t})=>null!=t?t:null,ro=({ref:t,ref_key:e,ref_for:n})=>("number"==typeof t&&(t=""+t),null!=t?_(t)||Ie(t)||b(t)?{i:Pn,r:t,k:e,f:!!n}:t:null);function oo(t,e=null,n=null,i=0,r=null,o=(t===Wr?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&io(e),ref:e&&ro(e),scopeId:Mn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:i,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Pn};return a?(fo(l,n),128&o&&t.normalize(l)):n&&(l.shapeFlag|=_(n)?8:16),Kr>0&&!s&&Xr&&(l.patchFlag>0||6&o)&&32!==l.patchFlag&&Xr.push(l),l}const so=function(t,e=null,n=null,i=0,r=null,o=!1){if(t&&t!==Ai||(t=Hr),eo(t)){const i=lo(t,e,!0);return n&&fo(i,n),Kr>0&&!o&&Xr&&(6&i.shapeFlag?Xr[Xr.indexOf(t)]=i:Xr.push(i)),i.patchFlag=-2,i}if(s=t,b(s)&&"__vccOpts"in s&&(t=t.__vccOpts),e){e=ao(e);let{class:t,style:n}=e;t&&!_(t)&&(e.class=Y(t)),w(n)&&(Le(n)&&!g(n)&&(n=h({},n)),e.style=U(n))}var s;return oo(t,e,n,i,r,_(t)?1:Vr(t)?128:Nn(t)?64:w(t)?4:b(t)?2:0,o,!0)};function ao(t){return t?Le(t)||sr(t)?h({},t):t:null}function lo(t,e,n=!1,i=!1){const{props:r,ref:o,patchFlag:s,children:a,transition:l}=t,c=e?go(r||{},e):r,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&io(c),ref:e&&e.ref?n&&o?g(o)?o.concat(ro(e)):[o,ro(e)]:ro(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Wr?-1===s?16:16|s:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&lo(t.ssContent),ssFallback:t.ssFallback&&lo(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&i&&Jn(u,l.clone(u)),u}function co(t=" ",e=0){return so(Ur,null,t,e)}function uo(t="",e=!1){return e?(Yr(),to(Hr,null,t)):so(Hr,null,t)}function ho(t){return null==t||"boolean"==typeof t?so(Hr):g(t)?so(Wr,null,t.slice()):"object"==typeof t?po(t):so(Ur,null,String(t))}function po(t){return null===t.el&&-1!==t.patchFlag||t.memo?t:lo(t)}function fo(t,e){let n=0;const{shapeFlag:i}=t;if(null==e)e=null;else if(g(e))n=16;else if("object"==typeof e){if(65&i){const n=e.default;return void(n&&(n._c&&(n._d=!1),fo(t,n()),n._c&&(n._d=!0)))}{n=32;const i=e._;i||sr(e)?3===i&&Pn&&(1===Pn.slots._?e._=1:(e._=2,t.patchFlag|=1024)):e._ctx=Pn}}else b(e)?(e={default:e,_ctx:Pn},n=32):(e=String(e),64&i?(n=16,e=[co(e)]):n=8);t.children=e,t.shapeFlag|=n}function go(...t){const e={};for(let n=0;n<t.length;n++){const i=t[n];for(const t in i)if("class"===t)e.class!==i.class&&(e.class=Y([e.class,i.class]));else if("style"===t)e.style=U([e.style,i.style]);else if(c(t)){const n=e[t],r=i[t];!r||n===r||g(n)&&n.includes(r)||(e[t]=n?[].concat(n,r):r)}else""!==t&&(e[t]=i[t])}return e}function mo(t,e,n,i=null){en(t,e,7,[n,i])}const vo=Ji();let yo=0;let bo=null;const _o=()=>bo||Pn;let xo,wo;{const t=W(),e=(e,n)=>{let i;return(i=t[e])||(i=t[e]=[]),i.push(n),t=>{i.length>1?i.forEach((e=>e(t))):i[0](t)}};xo=e("__VUE_INSTANCE_SETTERS__",(t=>bo=t)),wo=e("__VUE_SSR_SETTERS__",(t=>To=t))}const So=t=>{const e=bo;return xo(t),t.scope.on(),()=>{t.scope.off(),xo(e)}},ko=()=>{bo&&bo.scope.off(),xo(null)};function Co(t){return 4&t.vnode.shapeFlag}let Ao,Oo,To=!1;function Eo(t,e,n){b(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:w(e)&&(__VUE_PROD_DEVTOOLS__&&(t.devtoolsRawSetupState=e),t.setupState=Ue(e)),Po(t,n)}function Po(t,e,n){const i=t.type;if(!t.render){if(!e&&Ao&&!i.render){const e=i.template||Ui(t).template;if(e){const{isCustomElement:n,compilerOptions:r}=t.appContext.config,{delimiters:o,compilerOptions:s}=i,a=h(h({isCustomElement:n,delimiters:o},r),s);i.render=Ao(e,a)}}t.render=i.render||a,Oo&&Oo(t)}if(__VUE_OPTIONS_API__){const e=So(t);St();try{!function(t){const e=Ui(t),n=t.proxy,i=t.ctx;zi=!1,e.beforeCreate&&Vi(e.beforeCreate,t,"bc");const{data:r,computed:o,methods:s,watch:l,provide:c,inject:u,created:h,beforeMount:d,mounted:p,beforeUpdate:f,updated:m,activated:v,deactivated:y,beforeDestroy:_,beforeUnmount:x,destroyed:S,unmounted:k,render:C,renderTracked:A,renderTriggered:O,errorCaptured:T,serverPrefetch:E,expose:P,inheritAttrs:M,components:L,directives:j,filters:D}=e;if(u&&function(t,e){g(t)&&(t=Xi(t));for(const n in t){const i=t[n];let r;r=w(i)?"default"in i?ir(i.from||n,i.default,!0):ir(i.from||n):ir(i),Ie(r)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:t=>r.value=t}):e[n]=r}}(u,i),s)for(const t in s){const e=s[t];b(e)&&(i[t]=e.bind(n))}if(r){const e=r.call(n,n);w(e)&&(t.data=Ce(e))}if(zi=!0,o)for(const t in o){const e=o[t],r=b(e)?e.bind(n,n):b(e.get)?e.get.bind(n,n):a,s=!b(e)&&b(e.set)?e.set.bind(n):a,l=$o({get:r,set:s});Object.defineProperty(i,t,{enumerable:!0,configurable:!0,get:()=>l.value,set:t=>l.value=t})}if(l)for(const t in l)Wi(l[t],i,n,t);if(c){const t=b(c)?c.call(n):c;Reflect.ownKeys(t).forEach((e=>{nr(e,t[e])}))}function $(t,e){g(e)?e.forEach((e=>t(e.bind(n)))):e&&t(e.bind(n))}if(h&&Vi(h,t,"c"),$(fi,d),$(gi,p),$(mi,f),$(vi,m),$(si,v),$(ai,y),$(Si,T),$(wi,A),$(xi,O),$(yi,x),$(bi,k),$(_i,E),g(P))if(P.length){const e=t.exposed||(t.exposed={});P.forEach((t=>{Object.defineProperty(e,t,{get:()=>n[t],set:e=>n[t]=e})}))}else t.exposed||(t.exposed={});C&&t.render===a&&(t.render=C),null!=M&&(t.inheritAttrs=M),L&&(t.components=L),j&&(t.directives=j),E&&ei(t)}(t)}finally{kt(),e()}}}const Mo={get:(t,e)=>(Dt(t,0,""),t[e])};function Lo(t){return{attrs:new Proxy(t.attrs,Mo),slots:t.slots,emit:t.emit,expose:e=>{t.exposed=e||{}}}}function jo(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Ue(De(t.exposed)),{get:(e,n)=>n in e?e[n]:n in Ri?Ri[n](t):void 0,has:(t,e)=>e in t||e in Ri})):t.proxy}function Do(t,e=!0){return b(t)?t.displayName||t.name:t.name||e&&t.__name}const $o=(t,e)=>{const n=function(t,e,n=!1){let i,r;return b(t)?i=t:(i=t.get,r=t.set),new Ye(i,r,n)}(t,0,To);return n};function Ro(t,e,n){const i=arguments.length;return 2===i?w(e)&&!g(e)?eo(e)?so(t,null,[e]):so(t,e):so(t,null,e):(i>3?n=Array.prototype.slice.call(arguments,2):3===i&&eo(n)&&(n=[n]),so(t,e,n))}const Io="3.5.6";let Bo;const No="undefined"!=typeof window&&window.trustedTypes;if(No)try{Bo=No.createPolicy("vue",{createHTML:t=>t})}catch(gd){}const Fo=Bo?t=>Bo.createHTML(t):t=>t,zo="undefined"!=typeof document?document:null,Vo=zo&&zo.createElement("template"),Wo={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,i)=>{const r="svg"===e?zo.createElementNS("http://www.w3.org/2000/svg",t):"mathml"===e?zo.createElementNS("http://www.w3.org/1998/Math/MathML",t):n?zo.createElement(t,{is:n}):zo.createElement(t);return"select"===t&&i&&null!=i.multiple&&r.setAttribute("multiple",i.multiple),r},createText:t=>zo.createTextNode(t),createComment:t=>zo.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>zo.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,i,r,o){const s=n?n.previousSibling:e.lastChild;if(r&&(r===o||r.nextSibling))for(;e.insertBefore(r.cloneNode(!0),n),r!==o&&(r=r.nextSibling););else{Vo.innerHTML=Fo("svg"===i?`<svg>${t}</svg>`:"mathml"===i?`<math>${t}</math>`:t);const r=Vo.content;if("svg"===i||"mathml"===i){const t=r.firstChild;for(;t.firstChild;)r.appendChild(t.firstChild);r.removeChild(t)}e.insertBefore(r,n)}return[s?s.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},Uo="transition",Ho="animation",qo=Symbol("_vtc"),Go={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Xo=h({},Wn,Go),Yo=(t=>(t.displayName="Transition",t.props=Xo,t))(((t,{slots:e})=>Ro(Gn,function(t){const e={};for(const n in t)n in Go||(e[n]=t[n]);if(!1===t.css)return e;const{name:n="v",type:i,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=s,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=t,g=function(t){if(null==t)return null;if(w(t))return[Jo(t.enter),Jo(t.leave)];{const e=Jo(t);return[e,e]}}(r),m=g&&g[0],v=g&&g[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:x,onLeaveCancelled:S,onBeforeAppear:k=y,onAppear:C=b,onAppearCancelled:A=_}=e,O=(t,e,n)=>{ts(t,e?u:a),ts(t,e?c:s),n&&n()},T=(t,e)=>{t._isLeaving=!1,ts(t,d),ts(t,f),ts(t,p),e&&e()},E=t=>(e,n)=>{const r=t?C:b,s=()=>O(e,t,n);Ko(r,[e,s]),es((()=>{ts(e,t?l:o),Qo(e,t?u:a),Zo(r)||is(e,i,m,s)}))};return h(e,{onBeforeEnter(t){Ko(y,[t]),Qo(t,o),Qo(t,s)},onBeforeAppear(t){Ko(k,[t]),Qo(t,l),Qo(t,c)},onEnter:E(!1),onAppear:E(!0),onLeave(t,e){t._isLeaving=!0;const n=()=>T(t,e);Qo(t,d),Qo(t,p),document.body.offsetHeight,es((()=>{t._isLeaving&&(ts(t,d),Qo(t,f),Zo(x)||is(t,i,v,n))})),Ko(x,[t,n])},onEnterCancelled(t){O(t,!1),Ko(_,[t])},onAppearCancelled(t){O(t,!0),Ko(A,[t])},onLeaveCancelled(t){T(t),Ko(S,[t])}})}(t),e))),Ko=(t,e=[])=>{g(t)?t.forEach((t=>t(...e))):t&&t(...e)},Zo=t=>!!t&&(g(t)?t.some((t=>t.length>1)):t.length>1);function Jo(t){return z(t)}function Qo(t,e){e.split(/\s+/).forEach((e=>e&&t.classList.add(e))),(t[qo]||(t[qo]=new Set)).add(e)}function ts(t,e){e.split(/\s+/).forEach((e=>e&&t.classList.remove(e)));const n=t[qo];n&&(n.delete(e),n.size||(t[qo]=void 0))}function es(t){requestAnimationFrame((()=>{requestAnimationFrame(t)}))}let ns=0;function is(t,e,n,i){const r=t._endId=++ns,o=()=>{r===t._endId&&i()};if(n)return setTimeout(o,n);const{type:s,timeout:a,propCount:l}=function(t,e){const n=window.getComputedStyle(t),i=t=>(n[t]||"").split(", "),r=i(`${Uo}Delay`),o=i(`${Uo}Duration`),s=rs(r,o),a=i(`${Ho}Delay`),l=i(`${Ho}Duration`),c=rs(a,l);let u=null,h=0,d=0;return e===Uo?s>0&&(u=Uo,h=s,d=o.length):e===Ho?c>0&&(u=Ho,h=c,d=l.length):(h=Math.max(s,c),u=h>0?s>c?Uo:Ho:null,d=u?u===Uo?o.length:l.length:0),{type:u,timeout:h,propCount:d,hasTransform:u===Uo&&/\b(transform|all)(,|$)/.test(i(`${Uo}Property`).toString())}}(t,e);if(!s)return i();const c=s+"end";let u=0;const h=()=>{t.removeEventListener(c,d),o()},d=e=>{e.target===t&&++u>=l&&h()};setTimeout((()=>{u<l&&h()}),a+1),t.addEventListener(c,d)}function rs(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map(((e,n)=>os(e)+os(t[n]))))}function os(t){return"auto"===t?0:1e3*Number(t.slice(0,-1).replace(",","."))}const ss=Symbol("_vod"),as=Symbol("_vsh"),ls={beforeMount(t,{value:e},{transition:n}){t[ss]="none"===t.style.display?"":t.style.display,n&&e?n.beforeEnter(t):cs(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:i}){!e!=!n&&(i?e?(i.beforeEnter(t),cs(t,!0),i.enter(t)):i.leave(t,(()=>{cs(t,!1)})):cs(t,e))},beforeUnmount(t,{value:e}){cs(t,e)}};function cs(t,e){t.style.display=e?t[ss]:"none",t[as]=!e}const us=Symbol("");function hs(t){const e=_o();if(!e)return;const n=e.ut=(n=t(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach((t=>ps(t,n)))},i=()=>{const i=t(e.proxy);e.ce?ps(e.ce,i):ds(e.subTree,i),n(i)};fi((()=>{Mr(i,null,{flush:"post"})})),gi((()=>{const t=new MutationObserver(i);t.observe(e.subTree.el.parentNode,{childList:!0}),bi((()=>t.disconnect()))}))}function ds(t,e){if(128&t.shapeFlag){const n=t.suspense;t=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{ds(n.activeBranch,e)}))}for(;t.component;)t=t.component.subTree;if(1&t.shapeFlag&&t.el)ps(t.el,e);else if(t.type===Wr)t.children.forEach((t=>ds(t,e)));else if(t.type===qr){let{el:n,anchor:i}=t;for(;n&&(ps(n,e),n!==i);)n=n.nextSibling}}function ps(t,e){if(1===t.nodeType){const n=t.style;let i="";for(const t in e)n.setProperty(`--${t}`,e[t]),i+=`--${t}: ${e[t]};`;n[us]=i}}const fs=/(^|;)\s*display\s*:/,gs=/\s*!important$/;function ms(t,e,n){if(g(n))n.forEach((n=>ms(t,e,n)));else if(null==n&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const i=function(t,e){const n=ys[e];if(n)return n;let i=L(e);if("filter"!==i&&i in t)return ys[e]=i;i=$(i);for(let n=0;n<vs.length;n++){const r=vs[n]+i;if(r in t)return ys[e]=r}return e}(t,e);gs.test(n)?t.setProperty(D(i),n.replace(gs,""),"important"):t[i]=n}}const vs=["Webkit","Moz","ms"],ys={},bs="http://www.w3.org/1999/xlink";function _s(t,e,n,i,r,o=Z(e)){i&&e.startsWith("xlink:")?null==n?t.removeAttributeNS(bs,e.slice(6,e.length)):t.setAttributeNS(bs,e,n):null==n||o&&!J(n)?t.removeAttribute(e):t.setAttribute(e,o?"":x(n)?String(n):n)}function xs(t,e,n,i){t.addEventListener(e,n,i)}const ws=Symbol("_vei");const Ss=/(?:Once|Passive|Capture)$/;let ks=0;const Cs=Promise.resolve(),As=()=>ks||(Cs.then((()=>ks=0)),ks=Date.now()),Os=t=>111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123;function Ts(t="$style"){{const e=_o();if(!e)return o;const n=e.type.__cssModules;if(!n)return o;return n[t]||o}}"undefined"!=typeof HTMLElement&&HTMLElement,Symbol("_moveCb"),Symbol("_enterCb");const Es=t=>{const e=t.props["onUpdate:modelValue"]||!1;return g(e)?t=>B(e,t):e},Ps=Symbol("_assign"),Ms={deep:!0,created(t,e,n){t[Ps]=Es(n),xs(t,"change",(()=>{const e=t._modelValue,n=function(t){return"_value"in t?t._value:t.value}(t),i=t.checked,r=t[Ps];if(g(e)){const t=tt(e,n),o=-1!==t;if(i&&!o)r(e.concat(n));else if(!i&&o){const n=[...e];n.splice(t,1),r(n)}}else if(v(e)){const t=new Set(e);i?t.add(n):t.delete(n),r(t)}else r(js(t,i))}))},mounted:Ls,beforeUpdate(t,e,n){t[Ps]=Es(n),Ls(t,e,n)}};function Ls(t,{value:e,oldValue:n},i){let r;t._modelValue=e,r=g(e)?tt(e,i.props.value)>-1:v(e)?e.has(i.props.value):Q(e,js(t,!0)),t.checked!==r&&(t.checked=r)}function js(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const Ds=["ctrl","shift","alt","meta"],$s={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&0!==t.button,middle:t=>"button"in t&&1!==t.button,right:t=>"button"in t&&2!==t.button,exact:(t,e)=>Ds.some((n=>t[`${n}Key`]&&!e.includes(n)))},Rs=(t,e)=>{const n=t._withMods||(t._withMods={}),i=e.join(".");return n[i]||(n[i]=(n,...i)=>{for(let t=0;t<e.length;t++){const i=$s[e[t]];if(i&&i(n,e))return}return t(n,...i)})},Is={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Bs=(t,e)=>{const n=t._withKeys||(t._withKeys={}),i=e.join(".");return n[i]||(n[i]=n=>{if(!("key"in n))return;const i=D(n.key);return e.some((t=>t===i||Is[t]===i))?t(n):void 0})},Ns=h({patchProp:(t,e,n,i,r,o)=>{const s="svg"===r;"class"===e?function(t,e,n){const i=t[qo];i&&(e=(e?[e,...i]:[...i]).join(" ")),null==e?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}(t,i,s):"style"===e?function(t,e,n){const i=t.style,r=_(n);let o=!1;if(n&&!r){if(e)if(_(e))for(const t of e.split(";")){const e=t.slice(0,t.indexOf(":")).trim();null==n[e]&&ms(i,e,"")}else for(const t in e)null==n[t]&&ms(i,t,"");for(const t in n)"display"===t&&(o=!0),ms(i,t,n[t])}else if(r){if(e!==n){const t=i[us];t&&(n+=";"+t),i.cssText=n,o=fs.test(n)}}else e&&t.removeAttribute("style");ss in t&&(t[ss]=o?i.display:"",t[as]&&(i.display="none"))}(t,n,i):c(e)?u(e)||function(t,e,n,i,r=null){const o=t[ws]||(t[ws]={}),s=o[e];if(i&&s)s.value=i;else{const[n,a]=function(t){let e;if(Ss.test(t)){let n;for(e={};n=t.match(Ss);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[":"===t[2]?t.slice(3):D(t.slice(2)),e]}(e);if(i){const s=o[e]=function(t,e){const n=t=>{if(t._vts){if(t._vts<=n.attached)return}else t._vts=Date.now();en(function(t,e){if(g(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map((t=>e=>!e._stopped&&t&&t(e)))}return e}(t,n.value),e,5,[t])};return n.value=t,n.attached=As(),n}(i,r);xs(t,n,s,a)}else s&&(function(t,e,n,i){t.removeEventListener(e,n,i)}(t,n,s,a),o[e]=void 0)}}(t,e,0,i,o):("."===e[0]?(e=e.slice(1),1):"^"===e[0]?(e=e.slice(1),0):function(t,e,n,i){if(i)return"innerHTML"===e||"textContent"===e||!!(e in t&&Os(e)&&b(n));if("spellcheck"===e||"draggable"===e||"translate"===e)return!1;if("form"===e)return!1;if("list"===e&&"INPUT"===t.tagName)return!1;if("type"===e&&"TEXTAREA"===t.tagName)return!1;if("width"===e||"height"===e){const e=t.tagName;if("IMG"===e||"VIDEO"===e||"CANVAS"===e||"SOURCE"===e)return!1}return(!Os(e)||!_(n))&&(e in t||!(!t._isVueCE||!/[A-Z]/.test(e)&&_(n)))}(t,e,i,s))?(function(t,e,n){if("innerHTML"===e||"textContent"===e)return void(null!=n&&(t[e]="innerHTML"===e?Fo(n):n));const i=t.tagName;if("value"===e&&"PROGRESS"!==i&&!i.includes("-")){const r="OPTION"===i?t.getAttribute("value")||"":t.value,o=null==n?"checkbox"===t.type?"on":"":String(n);return r===o&&"_value"in t||(t.value=o),null==n&&t.removeAttribute(e),void(t._value=n)}let r=!1;if(""===n||null==n){const i=typeof t[e];"boolean"===i?n=J(n):null==n&&"string"===i?(n="",r=!0):"number"===i&&(n=0,r=!0)}try{t[e]=n}catch(t){}r&&t.removeAttribute(e)}(t,e,i),t.tagName.includes("-")||"value"!==e&&"checked"!==e&&"selected"!==e||_s(t,e,i,s,0,"value"!==e)):("true-value"===e?t._trueValue=i:"false-value"===e&&(t._falseValue=i),_s(t,e,i,s))}},Wo);let Fs;const zs=(...t)=>{const e=(Fs||(Fs=xr(Ns))).createApp(...t),{mount:n}=e;return e.mount=t=>{const i=function(t){if(_(t))return document.querySelector(t);return t}(t);if(!i)return;const r=e._component;b(r)||r.render||r.template||(r.template=i.innerHTML),1===i.nodeType&&(i.textContent="");const o=n(i,!1,function(t){return t instanceof SVGElement?"svg":"function"==typeof MathMLElement&&t instanceof MathMLElement?"mathml":void 0}(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e};var Vs=n(60);const Ws={},Us=(0,Vs.A)(Ws,[["render",function(t,e){const n=Ci("router-view");return Yr(),Qr("div",null,[so(n)])}]]);function Hs(){return"undefined"!=typeof navigator&&"undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:{}}const qs="function"==typeof Proxy,Gs="devtools-plugin:setup";let Xs,Ys;class Ks{constructor(t,e){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=e;const n={};if(t.settings)for(const e in t.settings){const i=t.settings[e];n[e]=i.defaultValue}const i=`__vue-devtools-plugin-settings__${t.id}`;let r=Object.assign({},n);try{const t=localStorage.getItem(i),e=JSON.parse(t);Object.assign(r,e)}catch(t){}this.fallbacks={getSettings:()=>r,setSettings(t){try{localStorage.setItem(i,JSON.stringify(t))}catch(t){}r=t},now:()=>{return void 0!==Xs||("undefined"!=typeof window&&window.performance?(Xs=!0,Ys=window.performance):"undefined"!=typeof globalThis&&(null===(t=globalThis.perf_hooks)||void 0===t?void 0:t.performance)?(Xs=!0,Ys=globalThis.perf_hooks.performance):Xs=!1),Xs?Ys.now():Date.now();var t}},e&&e.on("plugin:settings:set",((t,e)=>{t===this.plugin.id&&this.fallbacks.setSettings(e)})),this.proxiedOn=new Proxy({},{get:(t,e)=>this.target?this.target.on[e]:(...t)=>{this.onQueue.push({method:e,args:t})}}),this.proxiedTarget=new Proxy({},{get:(t,e)=>this.target?this.target[e]:"on"===e?this.proxiedOn:Object.keys(this.fallbacks).includes(e)?(...t)=>(this.targetQueue.push({method:e,args:t,resolve:()=>{}}),this.fallbacks[e](...t)):(...t)=>new Promise((n=>{this.targetQueue.push({method:e,args:t,resolve:n})}))})}async setRealTarget(t){this.target=t;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function Zs(t,e){const n=t,i=Hs(),r=Hs().__VUE_DEVTOOLS_GLOBAL_HOOK__,o=qs&&n.enableEarlyProxy;if(!r||!i.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&o){const t=o?new Ks(n,r):null;(i.__VUE_DEVTOOLS_PLUGINS__=i.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:e,proxy:t}),t&&e(t.proxiedTarget)}else r.emit(Gs,t,e)}function Js(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function Qs(t){return null!==t&&"object"==typeof t}function ta(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function ea(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;ia(t,n,[],t._modules.root,!0),na(t,n,e)}function na(t,e,n){var i=t._state,r=t._scope;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,s={},a={},l=new at(!0);l.run((function(){Js(o,(function(e,n){s[n]=function(t,e){return function(){return t(e)}}(e,t),a[n]=$o((function(){return s[n]()})),Object.defineProperty(t.getters,n,{get:function(){return a[n].value},enumerable:!0})}))})),t._state=Ce({data:e}),t._scope=l,t.strict&&function(t){Pr((function(){return t._state.data}),(function(){}),{deep:!0,flush:"sync"})}(t),i&&n&&t._withCommit((function(){i.data=null})),r&&r.stop()}function ia(t,e,n,i,r){var o=!n.length,s=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=i),!o&&!r){var a=oa(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit((function(){a[l]=i.state}))}var c=i.context=function(t,e,n){var i=""===e,r={dispatch:i?t.dispatch:function(n,i,r){var o=sa(n,i,r),s=o.payload,a=o.options,l=o.type;return a&&a.root||(l=e+l),t.dispatch(l,s)},commit:i?t.commit:function(n,i,r){var o=sa(n,i,r),s=o.payload,a=o.options,l=o.type;a&&a.root||(l=e+l),t.commit(l,s,a)}};return Object.defineProperties(r,{getters:{get:i?function(){return t.getters}:function(){return ra(t,e)}},state:{get:function(){return oa(t.state,n)}}}),r}(t,s,n);i.forEachMutation((function(e,n){!function(t,e,n,i){(t._mutations[e]||(t._mutations[e]=[])).push((function(e){n.call(t,i.state,e)}))}(t,s+n,e,c)})),i.forEachAction((function(e,n){var i=e.root?n:s+n,r=e.handler||e;!function(t,e,n,i){(t._actions[e]||(t._actions[e]=[])).push((function(e){var r,o=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return(r=o)&&"function"==typeof r.then||(o=Promise.resolve(o)),t._devtoolHook?o.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):o}))}(t,i,r,c)})),i.forEachGetter((function(e,n){!function(t,e,n,i){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)})}(t,s+n,e,c)})),i.forEachChild((function(i,o){ia(t,e,n.concat(o),i,r)}))}function ra(t,e){if(!t._makeLocalGettersCache[e]){var n={},i=e.length;Object.keys(t.getters).forEach((function(r){if(r.slice(0,i)===e){var o=r.slice(i);Object.defineProperty(n,o,{get:function(){return t.getters[r]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function oa(t,e){return e.reduce((function(t,e){return t[e]}),t)}function sa(t,e,n){return Qs(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}var aa="vuex:mutations",la="vuex:actions",ca="vuex",ua=0;function ha(t,e){Zs({id:"org.vuejs.vuex",app:t,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:["vuex bindings"]},(function(n){n.addTimelineLayer({id:aa,label:"Vuex Mutations",color:da}),n.addTimelineLayer({id:la,label:"Vuex Actions",color:da}),n.addInspector({id:ca,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree((function(n){if(n.app===t&&n.inspectorId===ca)if(n.filter){var i=[];ma(i,e._modules.root,n.filter,""),n.rootNodes=i}else n.rootNodes=[ga(e._modules.root,"")]})),n.on.getInspectorState((function(n){if(n.app===t&&n.inspectorId===ca){var i=n.nodeId;ra(e,i),n.state=function(t,e,n){e="root"===n?e:e[n];var i=Object.keys(e),r={state:Object.keys(t.state).map((function(e){return{key:e,editable:!0,value:t.state[e]}}))};if(i.length){var o=function(t){var e={};return Object.keys(t).forEach((function(n){var i=n.split("/");if(i.length>1){var r=e,o=i.pop();i.forEach((function(t){r[t]||(r[t]={_custom:{value:{},display:t,tooltip:"Module",abstract:!0}}),r=r[t]._custom.value})),r[o]=va((function(){return t[n]}))}else e[n]=va((function(){return t[n]}))})),e}(e);r.getters=Object.keys(o).map((function(t){return{key:t.endsWith("/")?fa(t):t,editable:!1,value:va((function(){return o[t]}))}}))}return r}((r=e._modules,(s=(o=i).split("/").filter((function(t){return t}))).reduce((function(t,e,n){var i=t[e];if(!i)throw new Error('Missing module "'+e+'" for path "'+o+'".');return n===s.length-1?i:i._children}),"root"===o?r:r.root._children)),"root"===i?e.getters:e._makeLocalGettersCache,i)}var r,o,s})),n.on.editInspectorState((function(n){if(n.app===t&&n.inspectorId===ca){var i=n.nodeId,r=n.path;"root"!==i&&(r=i.split("/").filter(Boolean).concat(r)),e._withCommit((function(){n.set(e._state.data,r,n.state.value)}))}})),e.subscribe((function(t,e){var i={};t.payload&&(i.payload=t.payload),i.state=e,n.notifyComponentUpdate(),n.sendInspectorTree(ca),n.sendInspectorState(ca),n.addTimelineEvent({layerId:aa,event:{time:Date.now(),title:t.type,data:i}})})),e.subscribeAction({before:function(t,e){var i={};t.payload&&(i.payload=t.payload),t._id=ua++,t._time=Date.now(),i.state=e,n.addTimelineEvent({layerId:la,event:{time:t._time,title:t.type,groupId:t._id,subtitle:"start",data:i}})},after:function(t,e){var i={},r=Date.now()-t._time;i.duration={_custom:{type:"duration",display:r+"ms",tooltip:"Action duration",value:r}},t.payload&&(i.payload=t.payload),i.state=e,n.addTimelineEvent({layerId:la,event:{time:Date.now(),title:t.type,groupId:t._id,subtitle:"end",data:i}})}})}))}var da=8702998,pa={label:"namespaced",textColor:16777215,backgroundColor:6710886};function fa(t){return t&&"root"!==t?t.split("/").slice(-2,-1)[0]:"Root"}function ga(t,e){return{id:e||"root",label:fa(e),tags:t.namespaced?[pa]:[],children:Object.keys(t._children).map((function(n){return ga(t._children[n],e+n+"/")}))}}function ma(t,e,n,i){i.includes(n)&&t.push({id:i||"root",label:i.endsWith("/")?i.slice(0,i.length-1):i||"Root",tags:e.namespaced?[pa]:[]}),Object.keys(e._children).forEach((function(r){ma(t,e._children[r],n,i+r+"/")}))}function va(t){try{return t()}catch(t){return t}}var ya=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},ba={namespaced:{configurable:!0}};ba.namespaced.get=function(){return!!this._rawModule.namespaced},ya.prototype.addChild=function(t,e){this._children[t]=e},ya.prototype.removeChild=function(t){delete this._children[t]},ya.prototype.getChild=function(t){return this._children[t]},ya.prototype.hasChild=function(t){return t in this._children},ya.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},ya.prototype.forEachChild=function(t){Js(this._children,t)},ya.prototype.forEachGetter=function(t){this._rawModule.getters&&Js(this._rawModule.getters,t)},ya.prototype.forEachAction=function(t){this._rawModule.actions&&Js(this._rawModule.actions,t)},ya.prototype.forEachMutation=function(t){this._rawModule.mutations&&Js(this._rawModule.mutations,t)},Object.defineProperties(ya.prototype,ba);var _a=function(t){this.register([],t,!1)};function xa(t,e,n){if(e.update(n),n.modules)for(var i in n.modules){if(!e.getChild(i))return;xa(t.concat(i),e.getChild(i),n.modules[i])}}_a.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},_a.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},_a.prototype.update=function(t){xa([],this.root,t)},_a.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var r=new ya(e,n);0===t.length?this.root=r:this.get(t.slice(0,-1)).addChild(t[t.length-1],r),e.modules&&Js(e.modules,(function(e,r){i.register(t.concat(r),e,n)}))},_a.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],i=e.getChild(n);i&&i.runtime&&e.removeChild(n)},_a.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var wa=function(t){var e=this;void 0===t&&(t={});var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1);var r=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new _a(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=r;var o=this,s=this.dispatch,a=this.commit;this.dispatch=function(t,e){return s.call(o,t,e)},this.commit=function(t,e,n){return a.call(o,t,e,n)},this.strict=i;var l=this._modules.root.state;ia(this,l,[],this._modules.root),na(this,l),n.forEach((function(t){return t(e)}))},Sa={state:{configurable:!0}};function ka(t){return function(t){return Array.isArray(t)||Qs(t)}(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function Ca(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function Aa(t,e,n){return t._modulesNamespaceMap[n]}wa.prototype.install=function(t,e){t.provide(e||"store",this),t.config.globalProperties.$store=this,(void 0!==this._devtools?this._devtools:__VUE_PROD_DEVTOOLS__)&&ha(t,this)},Sa.state.get=function(){return this._state.data},Sa.state.set=function(t){},wa.prototype.commit=function(t,e,n){var i=this,r=sa(t,e,n),o=r.type,s=r.payload,a=(r.options,{type:o,payload:s}),l=this._mutations[o];l&&(this._withCommit((function(){l.forEach((function(t){t(s)}))})),this._subscribers.slice().forEach((function(t){return t(a,i.state)})))},wa.prototype.dispatch=function(t,e){var n=this,i=sa(t,e),r=i.type,o=i.payload,s={type:r,payload:o},a=this._actions[r];if(a){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(s,n.state)}))}catch(t){}var l=a.length>1?Promise.all(a.map((function(t){return t(o)}))):a[0](o);return new Promise((function(t,e){l.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(s,n.state)}))}catch(t){}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(s,n.state,t)}))}catch(t){}e(t)}))}))}},wa.prototype.subscribe=function(t,e){return ta(t,this._subscribers,e)},wa.prototype.subscribeAction=function(t,e){return ta("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},wa.prototype.watch=function(t,e,n){var i=this;return Pr((function(){return t(i.state,i.getters)}),e,Object.assign({},n))},wa.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._state.data=t}))},wa.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),ia(this,this.state,t,this._modules.get(t),n.preserveState),na(this,this.state)},wa.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){delete oa(e.state,t.slice(0,-1))[t[t.length-1]]})),ea(this)},wa.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},wa.prototype.hotUpdate=function(t){this._modules.update(t),ea(this,!0)},wa.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(wa.prototype,Sa),Ca((function(t,e){var n={};return ka(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=Aa(this.$store,0,t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"==typeof r?r.call(this,e,n):e[r]},n[i].vuex=!0})),n})),Ca((function(t,e){var n={};return ka(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var i=this.$store.commit;if(t){var o=Aa(this.$store,0,t);if(!o)return;i=o.context.commit}return"function"==typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n})),Ca((function(t,e){var n={};return ka(e).forEach((function(e){var i=e.key,r=e.val;r=t+r,n[i]=function(){if(!t||Aa(this.$store,0,t))return this.$store.getters[r]},n[i].vuex=!0})),n})),Ca((function(t,e){var n={};return ka(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var i=this.$store.dispatch;if(t){var o=Aa(this.$store,0,t);if(!o)return;i=o.context.dispatch}return"function"==typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n}));var Oa=n(822),Ta=n.n(Oa),Ea=n(711),Pa=n.n(Ea);function Ma(t,e){return function(){return t.apply(e,arguments)}}const{toString:La}=Object.prototype,{getPrototypeOf:ja}=Object,Da=($a=Object.create(null),t=>{const e=La.call(t);return $a[e]||($a[e]=e.slice(8,-1).toLowerCase())});var $a;const Ra=t=>(t=t.toLowerCase(),e=>Da(e)===t),Ia=t=>e=>typeof e===t,{isArray:Ba}=Array,Na=Ia("undefined"),Fa=Ra("ArrayBuffer"),za=Ia("string"),Va=Ia("function"),Wa=Ia("number"),Ua=t=>null!==t&&"object"==typeof t,Ha=t=>{if("object"!==Da(t))return!1;const e=ja(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},qa=Ra("Date"),Ga=Ra("File"),Xa=Ra("Blob"),Ya=Ra("FileList"),Ka=Ra("URLSearchParams"),[Za,Ja,Qa,tl]=["ReadableStream","Request","Response","Headers"].map(Ra);function el(t,e,{allOwnKeys:n=!1}={}){if(null==t)return;let i,r;if("object"!=typeof t&&(t=[t]),Ba(t))for(i=0,r=t.length;i<r;i++)e.call(null,t[i],i,t);else{const r=n?Object.getOwnPropertyNames(t):Object.keys(t),o=r.length;let s;for(i=0;i<o;i++)s=r[i],e.call(null,t[s],s,t)}}function nl(t,e){e=e.toLowerCase();const n=Object.keys(t);let i,r=n.length;for(;r-- >0;)if(i=n[r],e===i.toLowerCase())return i;return null}const il="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,rl=t=>!Na(t)&&t!==il,ol=(sl="undefined"!=typeof Uint8Array&&ja(Uint8Array),t=>sl&&t instanceof sl);var sl;const al=Ra("HTMLFormElement"),ll=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),cl=Ra("RegExp"),ul=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),i={};el(n,((n,r)=>{let o;!1!==(o=e(n,r,t))&&(i[r]=o||n)})),Object.defineProperties(t,i)},hl="abcdefghijklmnopqrstuvwxyz",dl="0123456789",pl={DIGIT:dl,ALPHA:hl,ALPHA_DIGIT:hl+hl.toUpperCase()+dl},fl=Ra("AsyncFunction"),gl=(ml="function"==typeof setImmediate,vl=Va(il.postMessage),ml?setImmediate:vl?(yl=`axios@${Math.random()}`,bl=[],il.addEventListener("message",(({source:t,data:e})=>{t===il&&e===yl&&bl.length&&bl.shift()()}),!1),t=>{bl.push(t),il.postMessage(yl,"*")}):t=>setTimeout(t));var ml,vl,yl,bl;const _l="undefined"!=typeof queueMicrotask?queueMicrotask.bind(il):"undefined"!=typeof process&&process.nextTick||gl,xl={isArray:Ba,isArrayBuffer:Fa,isBuffer:function(t){return null!==t&&!Na(t)&&null!==t.constructor&&!Na(t.constructor)&&Va(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||Va(t.append)&&("formdata"===(e=Da(t))||"object"===e&&Va(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&Fa(t.buffer),e},isString:za,isNumber:Wa,isBoolean:t=>!0===t||!1===t,isObject:Ua,isPlainObject:Ha,isReadableStream:Za,isRequest:Ja,isResponse:Qa,isHeaders:tl,isUndefined:Na,isDate:qa,isFile:Ga,isBlob:Xa,isRegExp:cl,isFunction:Va,isStream:t=>Ua(t)&&Va(t.pipe),isURLSearchParams:Ka,isTypedArray:ol,isFileList:Ya,forEach:el,merge:function t(){const{caseless:e}=rl(this)&&this||{},n={},i=(i,r)=>{const o=e&&nl(n,r)||r;Ha(n[o])&&Ha(i)?n[o]=t(n[o],i):Ha(i)?n[o]=t({},i):Ba(i)?n[o]=i.slice():n[o]=i};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&el(arguments[t],i);return n},extend:(t,e,n,{allOwnKeys:i}={})=>(el(e,((e,i)=>{n&&Va(e)?t[i]=Ma(e,n):t[i]=e}),{allOwnKeys:i}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,n,i)=>{t.prototype=Object.create(e.prototype,i),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject:(t,e,n,i)=>{let r,o,s;const a={};if(e=e||{},null==t)return e;do{for(r=Object.getOwnPropertyNames(t),o=r.length;o-- >0;)s=r[o],i&&!i(s,t,e)||a[s]||(e[s]=t[s],a[s]=!0);t=!1!==n&&ja(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kindOf:Da,kindOfTest:Ra,endsWith:(t,e,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;const i=t.indexOf(e,n);return-1!==i&&i===n},toArray:t=>{if(!t)return null;if(Ba(t))return t;let e=t.length;if(!Wa(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},forEachEntry:(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let i;for(;(i=n.next())&&!i.done;){const n=i.value;e.call(t,n[0],n[1])}},matchAll:(t,e)=>{let n;const i=[];for(;null!==(n=t.exec(e));)i.push(n);return i},isHTMLForm:al,hasOwnProperty:ll,hasOwnProp:ll,reduceDescriptors:ul,freezeMethods:t=>{ul(t,((e,n)=>{if(Va(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const i=t[n];Va(i)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(t,e)=>{const n={},i=t=>{t.forEach((t=>{n[t]=!0}))};return Ba(t)?i(t):i(String(t).split(e)),n},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,n){return e.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(t,e)=>null!=t&&Number.isFinite(t=+t)?t:e,findKey:nl,global:il,isContextDefined:rl,ALPHABET:pl,generateString:(t=16,e=pl.ALPHA_DIGIT)=>{let n="";const{length:i}=e;for(;t--;)n+=e[Math.random()*i|0];return n},isSpecCompliantForm:function(t){return!!(t&&Va(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),n=(t,i)=>{if(Ua(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[i]=t;const r=Ba(t)?[]:{};return el(t,((t,e)=>{const o=n(t,i+1);!Na(o)&&(r[e]=o)})),e[i]=void 0,r}}return t};return n(t,0)},isAsyncFn:fl,isThenable:t=>t&&(Ua(t)||Va(t))&&Va(t.then)&&Va(t.catch),setImmediate:gl,asap:_l};function wl(t,e,n,i,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),i&&(this.request=i),r&&(this.response=r,this.status=r.status?r.status:null)}xl.inherits(wl,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:xl.toJSONObject(this.config),code:this.code,status:this.status}}});const Sl=wl.prototype,kl={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{kl[t]={value:t}})),Object.defineProperties(wl,kl),Object.defineProperty(Sl,"isAxiosError",{value:!0}),wl.from=(t,e,n,i,r,o)=>{const s=Object.create(Sl);return xl.toFlatObject(t,s,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),wl.call(s,t.message,e,n,i,r),s.cause=t,s.name=t.name,o&&Object.assign(s,o),s};const Cl=wl;function Al(t){return xl.isPlainObject(t)||xl.isArray(t)}function Ol(t){return xl.endsWith(t,"[]")?t.slice(0,-2):t}function Tl(t,e,n){return t?t.concat(e).map((function(t,e){return t=Ol(t),!n&&e?"["+t+"]":t})).join(n?".":""):e}const El=xl.toFlatObject(xl,{},null,(function(t){return/^is[A-Z]/.test(t)})),Pl=function(t,e,n){if(!xl.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const i=(n=xl.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!xl.isUndefined(e[t])}))).metaTokens,r=n.visitor||c,o=n.dots,s=n.indexes,a=(n.Blob||"undefined"!=typeof Blob&&Blob)&&xl.isSpecCompliantForm(e);if(!xl.isFunction(r))throw new TypeError("visitor must be a function");function l(t){if(null===t)return"";if(xl.isDate(t))return t.toISOString();if(!a&&xl.isBlob(t))throw new Cl("Blob is not supported. Use a Buffer instead.");return xl.isArrayBuffer(t)||xl.isTypedArray(t)?a&&"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}function c(t,n,r){let a=t;if(t&&!r&&"object"==typeof t)if(xl.endsWith(n,"{}"))n=i?n:n.slice(0,-2),t=JSON.stringify(t);else if(xl.isArray(t)&&function(t){return xl.isArray(t)&&!t.some(Al)}(t)||(xl.isFileList(t)||xl.endsWith(n,"[]"))&&(a=xl.toArray(t)))return n=Ol(n),a.forEach((function(t,i){!xl.isUndefined(t)&&null!==t&&e.append(!0===s?Tl([n],i,o):null===s?n:n+"[]",l(t))})),!1;return!!Al(t)||(e.append(Tl(r,n,o),l(t)),!1)}const u=[],h=Object.assign(El,{defaultVisitor:c,convertValue:l,isVisitable:Al});if(!xl.isObject(t))throw new TypeError("data must be an object");return function t(n,i){if(!xl.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+i.join("."));u.push(n),xl.forEach(n,(function(n,o){!0===(!(xl.isUndefined(n)||null===n)&&r.call(e,n,xl.isString(o)?o.trim():o,i,h))&&t(n,i?i.concat(o):[o])})),u.pop()}}(t),e};function Ml(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function Ll(t,e){this._pairs=[],t&&Pl(t,this,e)}const jl=Ll.prototype;jl.append=function(t,e){this._pairs.push([t,e])},jl.toString=function(t){const e=t?function(e){return t.call(this,e,Ml)}:Ml;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};const Dl=Ll;function $l(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Rl(t,e,n){if(!e)return t;const i=n&&n.encode||$l,r=n&&n.serialize;let o;if(o=r?r(e,n):xl.isURLSearchParams(e)?e.toString():new Dl(e,n).toString(i),o){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}const Il=class{constructor(){this.handlers=[]}use(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){xl.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},Bl={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Nl={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Dl,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},Fl="undefined"!=typeof window&&"undefined"!=typeof document,zl="object"==typeof navigator&&navigator||void 0,Vl=Fl&&(!zl||["ReactNative","NativeScript","NS"].indexOf(zl.product)<0),Wl="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Ul=Fl&&window.location.href||"http://localhost",Hl={...t,...Nl},ql=function(t){function e(t,n,i,r){let o=t[r++];if("__proto__"===o)return!0;const s=Number.isFinite(+o),a=r>=t.length;return o=!o&&xl.isArray(i)?i.length:o,a?(xl.hasOwnProp(i,o)?i[o]=[i[o],n]:i[o]=n,!s):(i[o]&&xl.isObject(i[o])||(i[o]=[]),e(t,n,i[o],r)&&xl.isArray(i[o])&&(i[o]=function(t){const e={},n=Object.keys(t);let i;const r=n.length;let o;for(i=0;i<r;i++)o=n[i],e[o]=t[o];return e}(i[o])),!s)}if(xl.isFormData(t)&&xl.isFunction(t.entries)){const n={};return xl.forEachEntry(t,((t,i)=>{e(function(t){return xl.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),i,n,0)})),n}return null},Gl={transitional:Bl,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const n=e.getContentType()||"",i=n.indexOf("application/json")>-1,r=xl.isObject(t);if(r&&xl.isHTMLForm(t)&&(t=new FormData(t)),xl.isFormData(t))return i?JSON.stringify(ql(t)):t;if(xl.isArrayBuffer(t)||xl.isBuffer(t)||xl.isStream(t)||xl.isFile(t)||xl.isBlob(t)||xl.isReadableStream(t))return t;if(xl.isArrayBufferView(t))return t.buffer;if(xl.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(r){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return Pl(t,new Hl.classes.URLSearchParams,Object.assign({visitor:function(t,e,n,i){return Hl.isNode&&xl.isBuffer(t)?(this.append(e,t.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((o=xl.isFileList(t))||n.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return Pl(o?{"files[]":t}:t,e&&new e,this.formSerializer)}}return r||i?(e.setContentType("application/json",!1),function(t){if(xl.isString(t))try{return(0,JSON.parse)(t),xl.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||Gl.transitional,n=e&&e.forcedJSONParsing,i="json"===this.responseType;if(xl.isResponse(t)||xl.isReadableStream(t))return t;if(t&&xl.isString(t)&&(n&&!this.responseType||i)){const n=!(e&&e.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(t){if(n){if("SyntaxError"===t.name)throw Cl.from(t,Cl.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Hl.classes.FormData,Blob:Hl.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};xl.forEach(["delete","get","head","post","put","patch"],(t=>{Gl.headers[t]={}}));const Xl=Gl,Yl=xl.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Kl=Symbol("internals");function Zl(t){return t&&String(t).trim().toLowerCase()}function Jl(t){return!1===t||null==t?t:xl.isArray(t)?t.map(Jl):String(t)}function Ql(t,e,n,i,r){return xl.isFunction(i)?i.call(this,e,n):(r&&(e=n),xl.isString(e)?xl.isString(i)?-1!==e.indexOf(i):xl.isRegExp(i)?i.test(e):void 0:void 0)}class tc{constructor(t){t&&this.set(t)}set(t,e,n){const i=this;function r(t,e,n){const r=Zl(e);if(!r)throw new Error("header name must be a non-empty string");const o=xl.findKey(i,r);(!o||void 0===i[o]||!0===n||void 0===n&&!1!==i[o])&&(i[o||e]=Jl(t))}const o=(t,e)=>xl.forEach(t,((t,n)=>r(t,n,e)));if(xl.isPlainObject(t)||t instanceof this.constructor)o(t,e);else if(xl.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()))o((t=>{const e={};let n,i,r;return t&&t.split("\n").forEach((function(t){r=t.indexOf(":"),n=t.substring(0,r).trim().toLowerCase(),i=t.substring(r+1).trim(),!n||e[n]&&Yl[n]||("set-cookie"===n?e[n]?e[n].push(i):e[n]=[i]:e[n]=e[n]?e[n]+", "+i:i)})),e})(t),e);else if(xl.isHeaders(t))for(const[e,i]of t.entries())r(i,e,n);else null!=t&&r(e,t,n);return this}get(t,e){if(t=Zl(t)){const n=xl.findKey(this,t);if(n){const t=this[n];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(t);)e[i[1]]=i[2];return e}(t);if(xl.isFunction(e))return e.call(this,t,n);if(xl.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=Zl(t)){const n=xl.findKey(this,t);return!(!n||void 0===this[n]||e&&!Ql(0,this[n],n,e))}return!1}delete(t,e){const n=this;let i=!1;function r(t){if(t=Zl(t)){const r=xl.findKey(n,t);!r||e&&!Ql(0,n[r],r,e)||(delete n[r],i=!0)}}return xl.isArray(t)?t.forEach(r):r(t),i}clear(t){const e=Object.keys(this);let n=e.length,i=!1;for(;n--;){const r=e[n];t&&!Ql(0,this[r],r,t,!0)||(delete this[r],i=!0)}return i}normalize(t){const e=this,n={};return xl.forEach(this,((i,r)=>{const o=xl.findKey(n,r);if(o)return e[o]=Jl(i),void delete e[r];const s=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,n)=>e.toUpperCase()+n))}(r):String(r).trim();s!==r&&delete e[r],e[s]=Jl(i),n[s]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return xl.forEach(this,((n,i)=>{null!=n&&!1!==n&&(e[i]=t&&xl.isArray(n)?n.join(", "):n)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,e])=>t+": "+e)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const n=new this(t);return e.forEach((t=>n.set(t))),n}static accessor(t){const e=(this[Kl]=this[Kl]={accessors:{}}).accessors,n=this.prototype;function i(t){const i=Zl(t);e[i]||(function(t,e){const n=xl.toCamelCase(" "+e);["get","set","has"].forEach((i=>{Object.defineProperty(t,i+n,{value:function(t,n,r){return this[i].call(this,e,t,n,r)},configurable:!0})}))}(n,t),e[i]=!0)}return xl.isArray(t)?t.forEach(i):i(t),this}}tc.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),xl.reduceDescriptors(tc.prototype,(({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[n]=t}}})),xl.freezeMethods(tc);const ec=tc;function nc(t,e){const n=this||Xl,i=e||n,r=ec.from(i.headers);let o=i.data;return xl.forEach(t,(function(t){o=t.call(n,o,r.normalize(),e?e.status:void 0)})),r.normalize(),o}function ic(t){return!(!t||!t.__CANCEL__)}function rc(t,e,n){Cl.call(this,null==t?"canceled":t,Cl.ERR_CANCELED,e,n),this.name="CanceledError"}xl.inherits(rc,Cl,{__CANCEL__:!0});const oc=rc;function sc(t,e,n){const i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(new Cl("Request failed with status code "+n.status,[Cl.ERR_BAD_REQUEST,Cl.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}const ac=(t,e,n=3)=>{let i=0;const r=function(t,e){t=t||10;const n=new Array(t),i=new Array(t);let r,o=0,s=0;return e=void 0!==e?e:1e3,function(a){const l=Date.now(),c=i[s];r||(r=l),n[o]=a,i[o]=l;let u=s,h=0;for(;u!==o;)h+=n[u++],u%=t;if(o=(o+1)%t,o===s&&(s=(s+1)%t),l-r<e)return;const d=c&&l-c;return d?Math.round(1e3*h/d):void 0}}(50,250);return function(t,e){let n,i,r=0,o=1e3/e;const s=(e,o=Date.now())=>{r=o,n=null,i&&(clearTimeout(i),i=null),t.apply(null,e)};return[(...t)=>{const e=Date.now(),a=e-r;a>=o?s(t,e):(n=t,i||(i=setTimeout((()=>{i=null,s(n)}),o-a)))},()=>n&&s(n)]}((n=>{const o=n.loaded,s=n.lengthComputable?n.total:void 0,a=o-i,l=r(a);i=o,t({loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:l||void 0,estimated:l&&s&&o<=s?(s-o)/l:void 0,event:n,lengthComputable:null!=s,[e?"download":"upload"]:!0})}),n)},lc=(t,e)=>{const n=null!=t;return[i=>e[0]({lengthComputable:n,total:t,loaded:i}),e[1]]},cc=t=>(...e)=>xl.asap((()=>t(...e))),uc=Hl.hasStandardBrowserEnv?function(){const t=Hl.navigator&&/(msie|trident)/i.test(Hl.navigator.userAgent),e=document.createElement("a");let n;function i(n){let i=n;return t&&(e.setAttribute("href",i),i=e.href),e.setAttribute("href",i),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return n=i(window.location.href),function(t){const e=xl.isString(t)?i(t):t;return e.protocol===n.protocol&&e.host===n.host}}():function(){return!0},hc=Hl.hasStandardBrowserEnv?{write(t,e,n,i,r,o){const s=[t+"="+encodeURIComponent(e)];xl.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),xl.isString(i)&&s.push("path="+i),xl.isString(r)&&s.push("domain="+r),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function dc(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const pc=t=>t instanceof ec?{...t}:t;function fc(t,e){e=e||{};const n={};function i(t,e,n){return xl.isPlainObject(t)&&xl.isPlainObject(e)?xl.merge.call({caseless:n},t,e):xl.isPlainObject(e)?xl.merge({},e):xl.isArray(e)?e.slice():e}function r(t,e,n){return xl.isUndefined(e)?xl.isUndefined(t)?void 0:i(void 0,t,n):i(t,e,n)}function o(t,e){if(!xl.isUndefined(e))return i(void 0,e)}function s(t,e){return xl.isUndefined(e)?xl.isUndefined(t)?void 0:i(void 0,t):i(void 0,e)}function a(n,r,o){return o in e?i(n,r):o in t?i(void 0,n):void 0}const l={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(t,e)=>r(pc(t),pc(e),!0)};return xl.forEach(Object.keys(Object.assign({},t,e)),(function(i){const o=l[i]||r,s=o(t[i],e[i],i);xl.isUndefined(s)&&o!==a||(n[i]=s)})),n}const gc=t=>{const e=fc({},t);let n,{data:i,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:s,headers:a,auth:l}=e;if(e.headers=a=ec.from(a),e.url=Rl(dc(e.baseURL,e.url),t.params,t.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),xl.isFormData(i))if(Hl.hasStandardBrowserEnv||Hl.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(n=a.getContentType())){const[t,...e]=n?n.split(";").map((t=>t.trim())).filter(Boolean):[];a.setContentType([t||"multipart/form-data",...e].join("; "))}if(Hl.hasStandardBrowserEnv&&(r&&xl.isFunction(r)&&(r=r(e)),r||!1!==r&&uc(e.url))){const t=o&&s&&hc.read(s);t&&a.set(o,t)}return e},mc="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,n){const i=gc(t);let r=i.data;const o=ec.from(i.headers).normalize();let s,a,l,c,u,{responseType:h,onUploadProgress:d,onDownloadProgress:p}=i;function f(){c&&c(),u&&u(),i.cancelToken&&i.cancelToken.unsubscribe(s),i.signal&&i.signal.removeEventListener("abort",s)}let g=new XMLHttpRequest;function m(){if(!g)return;const i=ec.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());sc((function(t){e(t),f()}),(function(t){n(t),f()}),{data:h&&"text"!==h&&"json"!==h?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:i,config:t,request:g}),g=null}g.open(i.method.toUpperCase(),i.url,!0),g.timeout=i.timeout,"onloadend"in g?g.onloadend=m:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(m)},g.onabort=function(){g&&(n(new Cl("Request aborted",Cl.ECONNABORTED,t,g)),g=null)},g.onerror=function(){n(new Cl("Network Error",Cl.ERR_NETWORK,t,g)),g=null},g.ontimeout=function(){let e=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const r=i.transitional||Bl;i.timeoutErrorMessage&&(e=i.timeoutErrorMessage),n(new Cl(e,r.clarifyTimeoutError?Cl.ETIMEDOUT:Cl.ECONNABORTED,t,g)),g=null},void 0===r&&o.setContentType(null),"setRequestHeader"in g&&xl.forEach(o.toJSON(),(function(t,e){g.setRequestHeader(e,t)})),xl.isUndefined(i.withCredentials)||(g.withCredentials=!!i.withCredentials),h&&"json"!==h&&(g.responseType=i.responseType),p&&([l,u]=ac(p,!0),g.addEventListener("progress",l)),d&&g.upload&&([a,c]=ac(d),g.upload.addEventListener("progress",a),g.upload.addEventListener("loadend",c)),(i.cancelToken||i.signal)&&(s=e=>{g&&(n(!e||e.type?new oc(null,t,g):e),g.abort(),g=null)},i.cancelToken&&i.cancelToken.subscribe(s),i.signal&&(i.signal.aborted?s():i.signal.addEventListener("abort",s)));const v=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(i.url);v&&-1===Hl.protocols.indexOf(v)?n(new Cl("Unsupported protocol "+v+":",Cl.ERR_BAD_REQUEST,t)):g.send(r||null)}))},vc=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let n,i=new AbortController;const r=function(t){if(!n){n=!0,s();const e=t instanceof Error?t:this.reason;i.abort(e instanceof Cl?e:new oc(e instanceof Error?e.message:e))}};let o=e&&setTimeout((()=>{o=null,r(new Cl(`timeout ${e} of ms exceeded`,Cl.ETIMEDOUT))}),e);const s=()=>{t&&(o&&clearTimeout(o),o=null,t.forEach((t=>{t.unsubscribe?t.unsubscribe(r):t.removeEventListener("abort",r)})),t=null)};t.forEach((t=>t.addEventListener("abort",r)));const{signal:a}=i;return a.unsubscribe=()=>xl.asap(s),a}},yc=function*(t,e){let n=t.byteLength;if(!e||n<e)return void(yield t);let i,r=0;for(;r<n;)i=r+e,yield t.slice(r,i),r=i},bc=(t,e,n,i)=>{const r=async function*(t,e){for await(const n of async function*(t){if(t[Symbol.asyncIterator])return void(yield*t);const e=t.getReader();try{for(;;){const{done:t,value:n}=await e.read();if(t)break;yield n}}finally{await e.cancel()}}(t))yield*yc(n,e)}(t,e);let o,s=0,a=t=>{o||(o=!0,i&&i(t))};return new ReadableStream({async pull(t){try{const{done:e,value:i}=await r.next();if(e)return a(),void t.close();let o=i.byteLength;if(n){let t=s+=o;n(t)}t.enqueue(new Uint8Array(i))}catch(t){throw a(t),t}},cancel:t=>(a(t),r.return())},{highWaterMark:2})},_c="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,xc=_c&&"function"==typeof ReadableStream,wc=_c&&("function"==typeof TextEncoder?(Sc=new TextEncoder,t=>Sc.encode(t)):async t=>new Uint8Array(await new Response(t).arrayBuffer()));var Sc;const kc=(t,...e)=>{try{return!!t(...e)}catch(t){return!1}},Cc=xc&&kc((()=>{let t=!1;const e=new Request(Hl.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e})),Ac=xc&&kc((()=>xl.isReadableStream(new Response("").body))),Oc={stream:Ac&&(t=>t.body)};var Tc;_c&&(Tc=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((t=>{!Oc[t]&&(Oc[t]=xl.isFunction(Tc[t])?e=>e[t]():(e,n)=>{throw new Cl(`Response type '${t}' is not supported`,Cl.ERR_NOT_SUPPORT,n)})})));const Ec=_c&&(async t=>{let{url:e,method:n,data:i,signal:r,cancelToken:o,timeout:s,onDownloadProgress:a,onUploadProgress:l,responseType:c,headers:u,withCredentials:h="same-origin",fetchOptions:d}=gc(t);c=c?(c+"").toLowerCase():"text";let p,f=vc([r,o&&o.toAbortSignal()],s);const g=f&&f.unsubscribe&&(()=>{f.unsubscribe()});let m;try{if(l&&Cc&&"get"!==n&&"head"!==n&&0!==(m=await(async(t,e)=>{const n=xl.toFiniteNumber(t.getContentLength());return null==n?(async t=>{if(null==t)return 0;if(xl.isBlob(t))return t.size;if(xl.isSpecCompliantForm(t)){const e=new Request(Hl.origin,{method:"POST",body:t});return(await e.arrayBuffer()).byteLength}return xl.isArrayBufferView(t)||xl.isArrayBuffer(t)?t.byteLength:(xl.isURLSearchParams(t)&&(t+=""),xl.isString(t)?(await wc(t)).byteLength:void 0)})(e):n})(u,i))){let t,n=new Request(e,{method:"POST",body:i,duplex:"half"});if(xl.isFormData(i)&&(t=n.headers.get("content-type"))&&u.setContentType(t),n.body){const[t,e]=lc(m,ac(cc(l)));i=bc(n.body,65536,t,e)}}xl.isString(h)||(h=h?"include":"omit");const r="credentials"in Request.prototype;p=new Request(e,{...d,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:i,duplex:"half",credentials:r?h:void 0});let o=await fetch(p);const s=Ac&&("stream"===c||"response"===c);if(Ac&&(a||s&&g)){const t={};["status","statusText","headers"].forEach((e=>{t[e]=o[e]}));const e=xl.toFiniteNumber(o.headers.get("content-length")),[n,i]=a&&lc(e,ac(cc(a),!0))||[];o=new Response(bc(o.body,65536,n,(()=>{i&&i(),g&&g()})),t)}c=c||"text";let v=await Oc[xl.findKey(Oc,c)||"text"](o,t);return!s&&g&&g(),await new Promise(((e,n)=>{sc(e,n,{data:v,headers:ec.from(o.headers),status:o.status,statusText:o.statusText,config:t,request:p})}))}catch(e){if(g&&g(),e&&"TypeError"===e.name&&/fetch/i.test(e.message))throw Object.assign(new Cl("Network Error",Cl.ERR_NETWORK,t,p),{cause:e.cause||e});throw Cl.from(e,e&&e.code,t,p)}}),Pc={http:null,xhr:mc,fetch:Ec};xl.forEach(Pc,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const Mc=t=>`- ${t}`,Lc=t=>xl.isFunction(t)||null===t||!1===t,jc=t=>{t=xl.isArray(t)?t:[t];const{length:e}=t;let n,i;const r={};for(let o=0;o<e;o++){let e;if(n=t[o],i=n,!Lc(n)&&(i=Pc[(e=String(n)).toLowerCase()],void 0===i))throw new Cl(`Unknown adapter '${e}'`);if(i)break;r[e||"#"+o]=i}if(!i){const t=Object.entries(r).map((([t,e])=>`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build")));let n=e?t.length>1?"since :\n"+t.map(Mc).join("\n"):" "+Mc(t[0]):"as no adapter specified";throw new Cl("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return i};function Dc(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new oc(null,t)}function $c(t){return Dc(t),t.headers=ec.from(t.headers),t.data=nc.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1),jc(t.adapter||Xl.adapter)(t).then((function(e){return Dc(t),e.data=nc.call(t,t.transformResponse,e),e.headers=ec.from(e.headers),e}),(function(e){return ic(e)||(Dc(t),e&&e.response&&(e.response.data=nc.call(t,t.transformResponse,e.response),e.response.headers=ec.from(e.response.headers))),Promise.reject(e)}))}const Rc={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{Rc[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));const Ic={};Rc.transitional=function(t,e,n){function i(t,e){return"[Axios v1.7.7] Transitional option '"+t+"'"+e+(n?". "+n:"")}return(n,r,o)=>{if(!1===t)throw new Cl(i(r," has been removed"+(e?" in "+e:"")),Cl.ERR_DEPRECATED);return e&&!Ic[r]&&(Ic[r]=!0,console.warn(i(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,o)}};const Bc={assertOptions:function(t,e,n){if("object"!=typeof t)throw new Cl("options must be an object",Cl.ERR_BAD_OPTION_VALUE);const i=Object.keys(t);let r=i.length;for(;r-- >0;){const o=i[r],s=e[o];if(s){const e=t[o],n=void 0===e||s(e,o,t);if(!0!==n)throw new Cl("option "+o+" must be "+n,Cl.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Cl("Unknown option "+o,Cl.ERR_BAD_OPTION)}},validators:Rc},Nc=Bc.validators;class Fc{constructor(t){this.defaults=t,this.interceptors={request:new Il,response:new Il}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const n=e.stack?e.stack.replace(/^.+\n/,""):"";try{t.stack?n&&!String(t.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+n):t.stack=n}catch(t){}}throw t}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=fc(this.defaults,e);const{transitional:n,paramsSerializer:i,headers:r}=e;void 0!==n&&Bc.assertOptions(n,{silentJSONParsing:Nc.transitional(Nc.boolean),forcedJSONParsing:Nc.transitional(Nc.boolean),clarifyTimeoutError:Nc.transitional(Nc.boolean)},!1),null!=i&&(xl.isFunction(i)?e.paramsSerializer={serialize:i}:Bc.assertOptions(i,{encode:Nc.function,serialize:Nc.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let o=r&&xl.merge(r.common,r[e.method]);r&&xl.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete r[t]})),e.headers=ec.concat(o,r);const s=[];let a=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(a=a&&t.synchronous,s.unshift(t.fulfilled,t.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(t){l.push(t.fulfilled,t.rejected)}));let u,h=0;if(!a){const t=[$c.bind(this),void 0];for(t.unshift.apply(t,s),t.push.apply(t,l),u=t.length,c=Promise.resolve(e);h<u;)c=c.then(t[h++],t[h++]);return c}u=s.length;let d=e;for(h=0;h<u;){const t=s[h++],e=s[h++];try{d=t(d)}catch(t){e.call(this,t);break}}try{c=$c.call(this,d)}catch(t){return Promise.reject(t)}for(h=0,u=l.length;h<u;)c=c.then(l[h++],l[h++]);return c}getUri(t){return Rl(dc((t=fc(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}}xl.forEach(["delete","get","head","options"],(function(t){Fc.prototype[t]=function(e,n){return this.request(fc(n||{},{method:t,url:e,data:(n||{}).data}))}})),xl.forEach(["post","put","patch"],(function(t){function e(e){return function(n,i,r){return this.request(fc(r||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}Fc.prototype[t]=e(),Fc.prototype[t+"Form"]=e(!0)}));const zc=Fc;class Vc{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise((function(t){e=t}));const n=this;this.promise.then((t=>{if(!n._listeners)return;let e=n._listeners.length;for(;e-- >0;)n._listeners[e](t);n._listeners=null})),this.promise.then=t=>{let e;const i=new Promise((t=>{n.subscribe(t),e=t})).then(t);return i.cancel=function(){n.unsubscribe(e)},i},t((function(t,i,r){n.reason||(n.reason=new oc(t,i,r),e(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}toAbortSignal(){const t=new AbortController,e=e=>{t.abort(e)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let t;return{token:new Vc((function(e){t=e})),cancel:t}}}const Wc=Vc,Uc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Uc).forEach((([t,e])=>{Uc[e]=t}));const Hc=Uc,qc=function t(e){const n=new zc(e),i=Ma(zc.prototype.request,n);return xl.extend(i,zc.prototype,n,{allOwnKeys:!0}),xl.extend(i,n,null,{allOwnKeys:!0}),i.create=function(n){return t(fc(e,n))},i}(Xl);qc.Axios=zc,qc.CanceledError=oc,qc.CancelToken=Wc,qc.isCancel=ic,qc.VERSION="1.7.7",qc.toFormData=Pl,qc.AxiosError=Cl,qc.Cancel=qc.CanceledError,qc.all=function(t){return Promise.all(t)},qc.spread=function(t){return function(e){return t.apply(null,e)}},qc.isAxiosError=function(t){return xl.isObject(t)&&!0===t.isAxiosError},qc.mergeConfig=fc,qc.AxiosHeaders=ec,qc.formToJSON=t=>ql(xl.isHTMLForm(t)?new FormData(t):t),qc.getAdapter=jc,qc.HttpStatusCode=Hc,qc.default=qc;const Gc=qc;var Xc=n(273);const Yc=(t,e)=>{return n={state:{fieldData:Ta(),v4Fields:Pa(),ui:e,config:t,errors:void 0,products:{retain:{enabled:!1,selected:!1},insights:{enabled:!1,selected:!1},verify:{enabled:!1,selected:!1}},filters:[],pageScanForbidden:[],pageScanRequired:[]},mutations:{setErrors(t,e){t.errors=e},setProduct(t,{product:e,value:n}){t.products[e]=n},setFilters(t,e){t.filters=e},setPageScan(t,{required:e,forbidden:n}){t.pageScanRequired=e,t.pageScanForbidden=n}},getters:{getProducts:t=>t.products,getErrors:t=>t.errors},actions:{cancel(t){t.state.ui.cancel()},getProducts:e=>Gc.get(`account?apiKey=${t.credential.token}`).then((function(t){const n=(0,Xc.get)(t,"data.product_components");["retain","insights","verify"].forEach((function(t){e.commit("setProduct",{product:t,value:{enabled:n.includes(t),selected:!1}})}))})).catch((function(t){401===(0,Xc.get)(t,"response.status")?e.commit("setErrors","no TrustedForm account found for this API key"):e.commit("setErrors",(0,Xc.get)(t,"response.data")||t.message)})),createFilter(t,e){const n={type:"filter",reason:e.reason,outcome:e.outcome,rule_set:{op:"and",rules:[{op:e.rulesOp,lhv:e.lhv,rhv:e.rhv}]},description:e.description,enabled:!0};t.commit("setFilters",[...t.state.filters,n])},async confirm(e){const{products:n,v4Fields:i,pageScanForbidden:r,pageScanRequired:o}=e.state,s={steps:[{type:"recipient",entity:{name:t.entity.name,id:t.entity.id},integration:{module_id:t.integration,mappings:[]}}]};if("leadconduit-trustedform.outbound.trustedform"===t.integration){if(Object.keys(n).forEach((t=>{s.steps[0].integration.mappings.push({property:`trustedform.${t}`,value:n[t].selected?"true":"false"})})),n.insights.selected&&Object.keys(i).forEach((t=>{s.steps[0].integration.mappings.push({property:`insights.${t}`,value:i[t].selected?"true":"false"})})),(0,Xc.castArray)(o).length>0&&s.steps[0].integration.mappings.push({property:"trustedform.scan_required_text",value:je(o)}),(0,Xc.castArray)(r).length>0&&s.steps[0].integration.mappings.push({property:"trustedform.scan_forbidden_text",value:je(r)}),n.verify.selected){const t={reason:"{{trustedform.reason}}",rulesOp:"is not equal to",lhv:"trustedform.outcome",rhv:"success",outcome:"failure",description:"Filter leads that fail on Trustedform Verify check"};await e.dispatch("createFilter",t)}e.state.filters.forEach((t=>{s.steps.push(je(t))}))}e.state.ui.create({flow:s})}}},new wa(n);var n},Kc="undefined"!=typeof document;function Zc(t){return"object"==typeof t||"displayName"in t||"props"in t||"__vccOpts"in t}const Jc=Object.assign;function Qc(t,e){const n={};for(const i in e){const r=e[i];n[i]=eu(r)?r.map(t):t(r)}return n}const tu=()=>{},eu=Array.isArray,nu=/#/g,iu=/&/g,ru=/\//g,ou=/=/g,su=/\?/g,au=/\+/g,lu=/%5B/g,cu=/%5D/g,uu=/%5E/g,hu=/%60/g,du=/%7B/g,pu=/%7C/g,fu=/%7D/g,gu=/%20/g;function mu(t){return encodeURI(""+t).replace(pu,"|").replace(lu,"[").replace(cu,"]")}function vu(t){return mu(t).replace(au,"%2B").replace(gu,"+").replace(nu,"%23").replace(iu,"%26").replace(hu,"`").replace(du,"{").replace(fu,"}").replace(uu,"^")}function yu(t){return null==t?"":function(t){return mu(t).replace(nu,"%23").replace(su,"%3F")}(t).replace(ru,"%2F")}function bu(t){try{return decodeURIComponent(""+t)}catch(t){}return""+t}const _u=/\/$/;function xu(t,e,n="/"){let i,r={},o="",s="";const a=e.indexOf("#");let l=e.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(i=e.slice(0,l),o=e.slice(l+1,a>-1?a:e.length),r=t(o)),a>-1&&(i=i||e.slice(0,a),s=e.slice(a,e.length)),i=function(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),i=t.split("/"),r=i[i.length-1];".."!==r&&"."!==r||i.push("");let o,s,a=n.length-1;for(o=0;o<i.length;o++)if(s=i[o],"."!==s){if(".."!==s)break;a>1&&a--}return n.slice(0,a).join("/")+"/"+i.slice(o).join("/")}(null!=i?i:e,n),{fullPath:i+(o&&"?")+o+s,path:i,query:r,hash:bu(s)}}function wu(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function Su(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!ku(t[n],e[n]))return!1;return!0}function ku(t,e){return eu(t)?Cu(t,e):eu(e)?Cu(e,t):t===e}function Cu(t,e){return eu(e)?t.length===e.length&&t.every(((t,n)=>t===e[n])):1===t.length&&t[0]===e}const Au={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ou,Tu;function Eu(t){if(!t)if(Kc){const e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return"/"!==t[0]&&"#"!==t[0]&&(t="/"+t),t.replace(_u,"")}!function(t){t.pop="pop",t.push="push"}(Ou||(Ou={})),function(t){t.back="back",t.forward="forward",t.unknown=""}(Tu||(Tu={}));const Pu=/^[^#]+#/;function Mu(t,e){return t.replace(Pu,"#")+e}function Lu(t,e){return(history.state?history.state.position-e:-1)+t}const ju=new Map;function Du(t){return"string"==typeof t||t&&"object"==typeof t}function $u(t){return"string"==typeof t||"symbol"==typeof t}const Ru=Symbol("");var Iu;function Bu(t,e){return Jc(new Error,{type:t,[Ru]:!0},e)}function Nu(t,e){return t instanceof Error&&Ru in t&&(null==e||!!(t.type&e))}!function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"}(Iu||(Iu={}));const Fu="[^/]+?",zu={sensitive:!1,strict:!1,start:!0,end:!0},Vu=/[.+*?^${}()[\]/\\]/g;function Wu(t,e){let n=0;for(;n<t.length&&n<e.length;){const i=e[n]-t[n];if(i)return i;n++}return t.length<e.length?1===t.length&&80===t[0]?-1:1:t.length>e.length?1===e.length&&80===e[0]?1:-1:0}function Uu(t,e){let n=0;const i=t.score,r=e.score;for(;n<i.length&&n<r.length;){const t=Wu(i[n],r[n]);if(t)return t;n++}if(1===Math.abs(r.length-i.length)){if(Hu(i))return 1;if(Hu(r))return-1}return r.length-i.length}function Hu(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const qu={type:0,value:""},Gu=/[a-zA-Z0-9_]/;function Xu(t,e,n){const i=function(t,e){const n=Jc({},zu,e),i=[];let r=n.start?"^":"";const o=[];for(const e of t){const t=e.length?[]:[90];n.strict&&!e.length&&(r+="/");for(let i=0;i<e.length;i++){const s=e[i];let a=40+(n.sensitive?.25:0);if(0===s.type)i||(r+="/"),r+=s.value.replace(Vu,"\\$&"),a+=40;else if(1===s.type){const{value:t,repeatable:n,optional:l,regexp:c}=s;o.push({name:t,repeatable:n,optional:l});const u=c||Fu;if(u!==Fu){a+=10;try{new RegExp(`(${u})`)}catch(e){throw new Error(`Invalid custom RegExp for param "${t}" (${u}): `+e.message)}}let h=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;i||(h=l&&e.length<2?`(?:/${h})`:"/"+h),l&&(h+="?"),r+=h,a+=20,l&&(a+=-8),n&&(a+=-20),".*"===u&&(a+=-50)}t.push(a)}i.push(t)}if(n.strict&&n.end){const t=i.length-1;i[t][i[t].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const s=new RegExp(r,n.sensitive?"":"i");return{re:s,score:i,keys:o,parse:function(t){const e=t.match(s),n={};if(!e)return null;for(let t=1;t<e.length;t++){const i=e[t]||"",r=o[t-1];n[r.name]=i&&r.repeatable?i.split("/"):i}return n},stringify:function(e){let n="",i=!1;for(const r of t){i&&n.endsWith("/")||(n+="/"),i=!1;for(const t of r)if(0===t.type)n+=t.value;else if(1===t.type){const{value:o,repeatable:s,optional:a}=t,l=o in e?e[o]:"";if(eu(l)&&!s)throw new Error(`Provided param "${o}" is an array but it is not repeatable (* or + modifiers)`);const c=eu(l)?l.join("/"):l;if(!c){if(!a)throw new Error(`Missing required param "${o}"`);r.length<2&&(n.endsWith("/")?n=n.slice(0,-1):i=!0)}n+=c}}return n||"/"}}}(function(t){if(!t)return[[]];if("/"===t)return[[qu]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(t){throw new Error(`ERR (${n})/"${c}": ${t}`)}let n=0,i=n;const r=[];let o;function s(){o&&r.push(o),o=[]}let a,l=0,c="",u="";function h(){c&&(0===n?o.push({type:0,value:c}):1===n||2===n||3===n?(o.length>1&&("*"===a||"+"===a)&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):e("Invalid state to consume buffer"),c="")}function d(){c+=a}for(;l<t.length;)if(a=t[l++],"\\"!==a||2===n)switch(n){case 0:"/"===a?(c&&h(),s()):":"===a?(h(),n=1):d();break;case 4:d(),n=i;break;case 1:"("===a?n=2:Gu.test(a)?d():(h(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&l--);break;case 2:")"===a?"\\"==u[u.length-1]?u=u.slice(0,-1)+a:n=3:u+=a;break;case 3:h(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&l--,u="";break;default:e("Unknown state")}else i=n,n=4;return 2===n&&e(`Unfinished custom RegExp for param "${c}"`),h(),s(),r}(t.path),n),r=Jc(i,{record:t,parent:e,children:[],alias:[]});return e&&!r.record.aliasOf==!e.record.aliasOf&&e.children.push(r),r}function Yu(t,e){const n={};for(const i of e)i in t&&(n[i]=t[i]);return n}function Ku(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:Zu(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function Zu(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const i in t.components)e[i]="object"==typeof n?n[i]:n;return e}function Ju(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function Qu(t){return t.reduce(((t,e)=>Jc(t,e.meta)),{})}function th(t,e){const n={};for(const i in t)n[i]=i in e?e[i]:t[i];return n}function eh({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function nh(t){const e={};if(""===t||"?"===t)return e;const n=("?"===t[0]?t.slice(1):t).split("&");for(let t=0;t<n.length;++t){const i=n[t].replace(au," "),r=i.indexOf("="),o=bu(r<0?i:i.slice(0,r)),s=r<0?null:bu(i.slice(r+1));if(o in e){let t=e[o];eu(t)||(t=e[o]=[t]),t.push(s)}else e[o]=s}return e}function ih(t){let e="";for(let n in t){const i=t[n];(n=vu(n).replace(ou,"%3D"),null!=i)?(eu(i)?i.map((t=>t&&vu(t))):[i&&vu(i)]).forEach((t=>{void 0!==t&&(e+=(e.length?"&":"")+n,null!=t&&(e+="="+t))})):void 0!==i&&(e+=(e.length?"&":"")+n)}return e}function rh(t){const e={};for(const n in t){const i=t[n];void 0!==i&&(e[n]=eu(i)?i.map((t=>null==t?null:""+t)):null==i?i:""+i)}return e}const oh=Symbol(""),sh=Symbol(""),ah=Symbol(""),lh=Symbol(""),ch=Symbol("");function uh(){let t=[];return{add:function(e){return t.push(e),()=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)}},list:()=>t.slice(),reset:function(){t=[]}}}function hh(t,e,n,i,r,o=t=>t()){const s=i&&(i.enterCallbacks[r]=i.enterCallbacks[r]||[]);return()=>new Promise(((a,l)=>{const c=t=>{!1===t?l(Bu(4,{from:n,to:e})):t instanceof Error?l(t):Du(t)?l(Bu(2,{from:e,to:t})):(s&&i.enterCallbacks[r]===s&&"function"==typeof t&&s.push(t),a())},u=o((()=>t.call(i&&i.instances[r],e,n,c)));let h=Promise.resolve(u);t.length<3&&(h=h.then(c)),h.catch((t=>l(t)))}))}function dh(t,e,n,i,r=t=>t()){const o=[];for(const s of t)for(const t in s.components){let a=s.components[t];if("beforeRouteEnter"===e||s.instances[t])if(Zc(a)){const l=(a.__vccOpts||a)[e];l&&o.push(hh(l,n,i,s,t,r))}else{let l=a();o.push((()=>l.then((o=>{if(!o)throw new Error(`Couldn't resolve component "${t}" at "${s.path}"`);const a=(l=o).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&Zc(l.default)?o.default:o;var l;s.mods[t]=o,s.components[t]=a;const c=(a.__vccOpts||a)[e];return c&&hh(c,n,i,s,t,r)()}))))}}return o}function ph(t){const e=ir(ah),n=ir(lh),i=$o((()=>{const n=Ve(t.to);return e.resolve(n)})),r=$o((()=>{const{matched:t}=i.value,{length:e}=t,r=t[e-1],o=n.matched;if(!r||!o.length)return-1;const s=o.findIndex(wu.bind(null,r));if(s>-1)return s;const a=gh(t[e-2]);return e>1&&gh(r)===a&&o[o.length-1].path!==a?o.findIndex(wu.bind(null,t[e-2])):s})),o=$o((()=>r.value>-1&&function(t,e){for(const n in e){const i=e[n],r=t[n];if("string"==typeof i){if(i!==r)return!1}else if(!eu(r)||r.length!==i.length||i.some(((t,e)=>t!==r[e])))return!1}return!0}(n.params,i.value.params))),s=$o((()=>r.value>-1&&r.value===n.matched.length-1&&Su(n.params,i.value.params)));if(__VUE_PROD_DEVTOOLS__&&Kc){const e=_o();if(e){const n={route:i.value,isActive:o.value,isExactActive:s.value,error:null};e.__vrl_devtools=e.__vrl_devtools||[],e.__vrl_devtools.push(n),Er((()=>{n.route=i.value,n.isActive=o.value,n.isExactActive=s.value,n.error=Du(Ve(t.to))?null:'Invalid "to" value'}),{flush:"post"})}}return{route:i,href:$o((()=>i.value.href)),isActive:o,isExactActive:s,navigate:function(n={}){return function(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}(n)?e[Ve(t.replace)?"replace":"push"](Ve(t.to)).catch(tu):Promise.resolve()}}}const fh=ti({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:ph,setup(t,{slots:e}){const n=Ce(ph(t)),{options:i}=ir(ah),r=$o((()=>({[mh(t.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[mh(t.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const i=e.default&&e.default(n);return t.custom?i:Ro("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}});function gh(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const mh=(t,e,n)=>null!=t?t:null!=e?e:n,vh=ti({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const i=ir(ch),r=$o((()=>t.route||i.value)),o=ir(sh,0),s=$o((()=>{let t=Ve(o);const{matched:e}=r.value;let n;for(;(n=e[t])&&!n.components;)t++;return t})),a=$o((()=>r.value.matched[s.value]));nr(sh,$o((()=>s.value+1))),nr(oh,a),nr(ch,r);const l=Be();return Pr((()=>[l.value,a.value,t.name]),(([t,e,n],[i,r,o])=>{e&&(e.instances[n]=t,r&&r!==e&&t&&t===i&&(e.leaveGuards.size||(e.leaveGuards=r.leaveGuards),e.updateGuards.size||(e.updateGuards=r.updateGuards))),!t||!e||r&&wu(e,r)&&i||(e.enterCallbacks[n]||[]).forEach((e=>e(t)))}),{flush:"post"}),()=>{const i=r.value,o=t.name,c=a.value,u=c&&c.components[o];if(!u)return yh(n.default,{Component:u,route:i});const h=c.props[o],d=h?!0===h?i.params:"function"==typeof h?h(i):h:null,p=Ro(u,Jc({},d,e,{onVnodeUnmounted:t=>{t.component.isUnmounted&&(c.instances[o]=null)},ref:l}));if(__VUE_PROD_DEVTOOLS__&&Kc&&p.ref){const t={depth:s.value,name:c.name,path:c.path,meta:c.meta};(eu(p.ref)?p.ref.map((t=>t.i)):[p.ref.i]).forEach((e=>{e.__vrv_devtools=t}))}return yh(n.default,{Component:p,route:i})||p}}});function yh(t,e){if(!t)return null;const n=t(e);return 1===n.length?n[0]:n}const bh=vh;function _h(t,e){const n=Jc({},t,{matched:t.matched.map((t=>function(t,e){const n={};for(const i in t)e.includes(i)||(n[i]=t[i]);return n}(t,["instances","children","aliasOf"])))});return{_custom:{type:null,readOnly:!0,display:t.fullPath,tooltip:e,value:n}}}function xh(t){return{_custom:{display:t}}}let wh=0;function Sh(t,e,n){if(e.__hasDevtools)return;e.__hasDevtools=!0;const i=wh++;Zs({id:"org.vuejs.router"+(i?"."+i:""),label:"Vue Router",packageName:"vue-router",homepage:"https://router.vuejs.org",logo:"https://router.vuejs.org/logo.png",componentStateTypes:["Routing"],app:t},(r=>{"function"!=typeof r.now&&console.warn("[Vue Router]: You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),r.on.inspectComponent(((t,n)=>{t.instanceData&&t.instanceData.state.push({type:"Routing",key:"$route",editable:!1,value:_h(e.currentRoute.value,"Current Route")})})),r.on.visitComponentTree((({treeNode:t,componentInstance:e})=>{if(e.__vrv_devtools){const n=e.__vrv_devtools;t.tags.push({label:(n.name?`${n.name.toString()}: `:"")+n.path,textColor:0,tooltip:"This component is rendered by <router-view>",backgroundColor:Ch})}eu(e.__vrl_devtools)&&(e.__devtoolsApi=r,e.__vrl_devtools.forEach((e=>{let n=e.route.path,i=Eh,r="",o=0;e.error?(n=e.error,i=Mh,o=Lh):e.isExactActive?(i=Oh,r="This is exactly active"):e.isActive&&(i=Ah,r="This link is active"),t.tags.push({label:n,textColor:o,tooltip:r,backgroundColor:i})})))})),Pr(e.currentRoute,(()=>{l(),r.notifyComponentUpdate(),r.sendInspectorTree(a),r.sendInspectorState(a)}));const o="router:navigations:"+i;r.addTimelineLayer({id:o,label:`Router${i?" "+i:""} Navigations`,color:4237508}),e.onError(((t,e)=>{r.addTimelineEvent({layerId:o,event:{title:"Error during Navigation",subtitle:e.fullPath,logType:"error",time:r.now(),data:{error:t},groupId:e.meta.__navigationId}})}));let s=0;e.beforeEach(((t,e)=>{const n={guard:xh("beforeEach"),from:_h(e,"Current Location during this navigation"),to:_h(t,"Target location")};Object.defineProperty(t.meta,"__navigationId",{value:s++}),r.addTimelineEvent({layerId:o,event:{time:r.now(),title:"Start of navigation",subtitle:t.fullPath,data:n,groupId:t.meta.__navigationId}})})),e.afterEach(((t,e,n)=>{const i={guard:xh("afterEach")};n?(i.failure={_custom:{type:Error,readOnly:!0,display:n?n.message:"",tooltip:"Navigation Failure",value:n}},i.status=xh("❌")):i.status=xh("✅"),i.from=_h(e,"Current Location during this navigation"),i.to=_h(t,"Target location"),r.addTimelineEvent({layerId:o,event:{title:"End of navigation",subtitle:t.fullPath,time:r.now(),data:i,logType:n?"warning":"default",groupId:t.meta.__navigationId}})}));const a="router-inspector:"+i;function l(){if(!c)return;const t=c;let i=n.getRoutes().filter((t=>!t.parent||!t.parent.record.components));i.forEach(Ih),t.filter&&(i=i.filter((e=>Bh(e,t.filter.toLowerCase())))),i.forEach((t=>Rh(t,e.currentRoute.value))),t.rootNodes=i.map(jh)}let c;r.addInspector({id:a,label:"Routes"+(i?" "+i:""),icon:"book",treeFilterPlaceholder:"Search routes"}),r.on.getInspectorTree((e=>{c=e,e.app===t&&e.inspectorId===a&&l()})),r.on.getInspectorState((e=>{if(e.app===t&&e.inspectorId===a){const t=n.getRoutes().find((t=>t.record.__vd_id===e.nodeId));t&&(e.state={options:kh(t)})}})),r.sendInspectorTree(a),r.sendInspectorState(a)}))}function kh(t){const{record:e}=t,n=[{editable:!1,key:"path",value:e.path}];return null!=e.name&&n.push({editable:!1,key:"name",value:e.name}),n.push({editable:!1,key:"regexp",value:t.re}),t.keys.length&&n.push({editable:!1,key:"keys",value:{_custom:{type:null,readOnly:!0,display:t.keys.map((t=>`${t.name}${function(t){return t.optional?t.repeatable?"*":"?":t.repeatable?"+":""}(t)}`)).join(" "),tooltip:"Param keys",value:t.keys}}}),null!=e.redirect&&n.push({editable:!1,key:"redirect",value:e.redirect}),t.alias.length&&n.push({editable:!1,key:"aliases",value:t.alias.map((t=>t.record.path))}),Object.keys(t.record.meta).length&&n.push({editable:!1,key:"meta",value:t.record.meta}),n.push({key:"score",editable:!1,value:{_custom:{type:null,readOnly:!0,display:t.score.map((t=>t.join(", "))).join(" | "),tooltip:"Score used to sort routes",value:t.score}}}),n}const Ch=15485081,Ah=2450411,Oh=8702998,Th=2282478,Eh=16486972,Ph=6710886,Mh=16704226,Lh=12131356;function jh(t){const e=[],{record:n}=t;null!=n.name&&e.push({label:String(n.name),textColor:0,backgroundColor:Th}),n.aliasOf&&e.push({label:"alias",textColor:0,backgroundColor:Eh}),t.__vd_match&&e.push({label:"matches",textColor:0,backgroundColor:Ch}),t.__vd_exactActive&&e.push({label:"exact",textColor:0,backgroundColor:Oh}),t.__vd_active&&e.push({label:"active",textColor:0,backgroundColor:Ah}),n.redirect&&e.push({label:"string"==typeof n.redirect?`redirect: ${n.redirect}`:"redirects",textColor:16777215,backgroundColor:Ph});let i=n.__vd_id;return null==i&&(i=String(Dh++),n.__vd_id=i),{id:i,label:n.path,tags:e,children:t.children.map(jh)}}let Dh=0;const $h=/^\/(.*)\/([a-z]*)$/;function Rh(t,e){const n=e.matched.length&&wu(e.matched[e.matched.length-1],t.record);t.__vd_exactActive=t.__vd_active=n,n||(t.__vd_active=e.matched.some((e=>wu(e,t.record)))),t.children.forEach((t=>Rh(t,e)))}function Ih(t){t.__vd_match=!1,t.children.forEach(Ih)}function Bh(t,e){const n=String(t.re).match($h);if(t.__vd_match=!1,!n||n.length<3)return!1;if(new RegExp(n[1].replace(/\$$/,""),n[2]).test(e))return t.children.forEach((t=>Bh(t,e))),("/"!==t.record.path||"/"===e)&&(t.__vd_match=t.re.test(e),!0);const i=t.record.path.toLowerCase(),r=bu(i);return!(e.startsWith("/")||!r.includes(e)&&!i.includes(e))||!(!r.startsWith(e)&&!i.startsWith(e))||!(!t.record.name||!String(t.record.name).includes(e))||t.children.some((t=>Bh(t,e)))}const Nh={key:0},Fh={key:1};var zh={props:{disableConfirm:{type:Boolean,default:!1},onConfirm:{type:Function,default:void 0},showPrevious:{type:Boolean,default:!0},navHistory:{type:Array,default:()=>[]}},data(){return{page:this.$router?.currentRoute?.value?this.$router.currentRoute.value.path:"/"}},computed:{pageNo(){return"/"===this.page?1:parseInt(this.page.slice(1),10)},showPrev(){return("string"==typeof this.$props.navHistory.slice(-1)[0]||this.pageNo>1)&&this.$props.showPrevious}},methods:{cancel(){try{this.$store.dispatch("cancel")}catch(t){console.warn('Navigation Error - Could not dispatch "cancel" to Vuex store.')}},prev(){try{var t=this.$props.navHistory.pop();t||(t="/"+(this.pageNo-1),console.debug(`Navigation.vue: no previous page in history; using previous page by number: '${t}'`)),this.$router.push(t)}catch(t){console.warn("Navigation Error - Could not direct to previous page.")}},confirm(){this.$props.onConfirm?(this.$props.navHistory.push(this.page),this.$props.onConfirm()):console.debug("Navigation: confirm() called with no :onConfirm")}}};const Vh=["disabled"];zh.render=function(t,e,n,i,r,o){return Yr(),Qr("div",null,[oo("footer",null,[o.showPrev?(Yr(),Qr("button",{key:0,onClick:e[0]||(e[0]=(...t)=>o.prev&&o.prev(...t)),class:"tertiary-control","data-test":"nav-prev"},"Previous")):uo("",!0),Li(t.$slots,"footer"),oo("button",{onClick:e[1]||(e[1]=(...t)=>o.confirm&&o.confirm(...t)),class:"primary",disabled:n.disableConfirm,"data-test":"nav-confirm"},"Confirm",8,Vh),oo("button",{onClick:e[2]||(e[2]=(...t)=>o.cancel&&o.cancel(...t)),"data-test":"nav-cancel"},"Cancel")])])};var Wh={name:"loading-screen",props:{moduleName:String,onFinish:{type:Function,default:void 0}},methods:{finish(){this.$props.onFinish?this.$props.onFinish():this.$store.dispatch("finish")}},mounted(){setTimeout((()=>{this.finish()}),2e3)}};const Uh=oo("span",{class:"loading"},null,-1);Wh.render=function(t,e,n,i,r,o){return Yr(),Qr("div",null,[oo("header",null,nt(n.moduleName),1),oo("section",null,[Uh,co(" We're setting up your "+nt(n.moduleName)+" step now. ",1)])])};const Hh={data:()=>({isDataService:!0}),components:{LoadingScreen:Wh,Navigation:zh},computed:{moduleName(){switch(this.$store.state.config.integration){case"leadconduit-trustedform.outbound.claim":return"Claim";case"leadconduit-trustedform.outbound.consent":return"Consent";case"leadconduit-trustedform.outbound.consent_plus_data":return"Consent + Insights";case"leadconduit-trustedform.outbound.insights":return"Insights";default:return""}}},methods:{onConfirm(){this.$router.push("/2")},finish(){this.$store.dispatch("confirm")}},mounted(){const{integration:t}=this.$store.state.config;t.includes("outbound.trustedform")?this.$router.push("/4"):t.includes("insights")||(this.isDataService=!1)}},qh=(0,Vs.A)(Hh,[["render",function(t,e,n,i,r,o){const s=Ci("Navigation"),a=Ci("LoadingScreen");return Yr(),Qr("div",null,[oo("header",null," Set Up TrustedForm "+nt(o.moduleName),1),r.isDataService?(Yr(),Qr("div",Nh,[e[0]||(e[0]=oo("section",null,[oo("p",null," TrustedForm Insights provides lead buyers with optimized lead data that helps them assess the value of a lead. It helps buyers identify the leads that are most likely to convert and effectively manage returns and rejections. At the time of purchase, or any time thereafter, the lead buyer can use the LeadConduit platform to access lead metadata (not PII) found in the TrustedForm certificates. "),oo("p",null,[oo("b",null,"Note:"),co(" To access TrustedForm Insights, your lead source must use the TrustedForm script on their lead forms. ")])],-1)),so(s,{onConfirm:o.onConfirm},null,8,["onConfirm"])])):r.isDataService?uo("v-if",!0):(Yr(),Qr("div",Fh,[so(a,{onFinish:o.finish,"module-name":"TrustedForm "+o.moduleName},null,8,["onFinish","module-name"])]))])}]]),Gh={class:"table-container"},Xh={data(){return{fields:this.$store.state.fieldData}},components:{Navigation:zh},methods:{confirm(){this.$router.push("/3")}}},Yh=(0,Vs.A)(Xh,[["render",function(t,e,n,i,r,o){const s=Ci("Navigation");return Yr(),Qr("div",null,[e[2]||(e[2]=oo("header",null," Set Up TrustedForm Insights ",-1)),oo("section",null,[e[1]||(e[1]=oo("p",null,"Below is a list of data points included with this enhancement. When configuring your flow, you can choose to accept, reject, or re-route leads based on each of the values returned.",-1)),oo("div",Gh,[oo("table",null,[e[0]||(e[0]=oo("thead",null,[oo("tr",null,[oo("th",null,"Data Point"),oo("th",null,"Description"),oo("th",null,"Possible Use")])],-1)),oo("tbody",null,[(Yr(!0),Qr(Wr,null,Pi(r.fields,((t,e)=>(Yr(),Qr("tr",{key:e},[oo("td",null,nt(e),1),oo("td",null,nt(t.description),1),oo("td",null,nt(t.use),1)])))),128))])])])]),so(s,{onConfirm:o.confirm},null,8,["onConfirm"])])}]]),Kh={methods:{confirm(){this.$store.dispatch("confirm")}},components:{Navigation:zh}},Zh=(0,Vs.A)(Kh,[["render",function(t,e,n,i,r,o){const s=Ci("Navigation");return Yr(),Qr("div",null,[e[0]||(e[0]=oo("header",null," Set Up TrustedForm Insights ",-1)),e[1]||(e[1]=oo("section",null,[oo("p",null," Now you’re ready to map your fields and set up the associated filters in your LeadConduit flow. ")],-1)),so(s,{onConfirm:o.confirm},null,8,["onConfirm"])])}]]),Jh={key:0},Qh={key:1},td={key:2},ed=["disabled"],nd=["disabled"],id=["disabled"],rd={data(){return{loading:!0,products:this.$store.getters.getProducts,errors:this.$store.getters.getErrors}},components:{Navigation:zh},computed:{productsAvailable(){return this.products.retain.enabled||this.products.insights.enabled||this.products.verify.enabled}},methods:{confirm(){this.$store.state.products=this.products,this.products.insights.selected?this.$router.push("/5"):this.$store.dispatch("confirm")}},async created(){await this.$store.dispatch("getProducts"),this.loading=!1}};n(659);const od=(0,Vs.A)(rd,[["render",function(t,e,n,i,r,o){const s=Ci("Navigation");return Yr(),Qr("div",null,[e[12]||(e[12]=oo("header",null," Add TrustedForm Add-On ",-1)),r.loading?(Yr(),Qr("section",Jh,e[3]||(e[3]=[oo("span",{class:"loading"},null,-1),co(" Loading products... ")]))):o.productsAvailable?(Yr(),Qr("section",td,[oo("form",null,[e[11]||(e[11]=oo("h3",null,"Select the TrustedForm products to add to your flow.",-1)),oo("p",null,"You may select all products that you would like to add to your flow. Each product will be charged depending on your contract. "+nt(r.errors),1),oo("ul",null,[oo("li",null,[oo("label",null,[Rn(oo("input",{type:"checkbox",class:"fancy-checkbox",disabled:!r.products.retain.enabled,"onUpdate:modelValue":e[0]||(e[0]=t=>r.products.retain.selected=t),id:"retain"},null,8,ed),[[Ms,r.products.retain.selected]]),e[5]||(e[5]=oo("label",{for:"retain"},"Retain",-1)),e[6]||(e[6]=oo("p",{class:"help-text"},"Store consent in TrustedForm certificates for legal (TCPA) compliance.",-1))])]),oo("li",null,[oo("label",null,[Rn(oo("input",{type:"checkbox",class:"fancy-checkbox",disabled:!r.products.insights.enabled,"onUpdate:modelValue":e[1]||(e[1]=t=>r.products.insights.selected=t),id:"insights"},null,8,nd),[[Ms,r.products.insights.selected]]),e[7]||(e[7]=oo("label",{for:"insights"},"Insights",-1)),e[8]||(e[8]=oo("p",{class:"help-text"},"TrustedForm Insights helps buyers identify the leads that are most likely to convert and effectively manage returns and rejections.",-1))])]),oo("li",null,[oo("label",null,[Rn(oo("input",{type:"checkbox",class:"fancy-checkbox",disabled:!r.products.verify.enabled,"onUpdate:modelValue":e[2]||(e[2]=t=>r.products.verify.selected=t),id:"verify"},null,8,id),[[Ms,r.products.verify.selected]]),e[9]||(e[9]=oo("label",{for:"verify"},"Verify",-1)),e[10]||(e[10]=oo("p",{class:"help-text"},"Confirm that your leads were shown consent language that meets your compliance requirements.",-1))])])])])])):(Yr(),Qr("section",Qh,e[4]||(e[4]=[oo("p",null,[co(" Your account does not have access to TrustedForm. Please contact "),oo("a",{href:"mailto:support@activeprospect.com",target:"_blank"},"support@activeprospect.com"),co(" if this is in error or if you would like to add TrustedForm to your account. ")],-1)]))),so(s,{showPrevious:!1,onConfirm:o.confirm,disableConfirm:!r.products.retain.selected&&!r.products.insights.selected&&!r.products.verify.selected},null,8,["onConfirm","disableConfirm"])])}],["__scopeId","data-v-5c50d850"]]),sd=[".indeterminate"],ad=["id","onUpdate:modelValue"],ld=["for"],cd=["for"],ud=["innerHTML"],hd={data(){return{fields:this.$store.state.v4Fields,header:!1,selected:"none"}},components:{Navigation:zh},methods:{amountSelected(){const t=Object.keys(this.fields).length,e=(0,Xc.filter)(this.fields,(function(t){return t.selected})).length;return 0===e?"none":t===e?"all":"some"},toggleAll(){const t="all"!==this.amountSelected();for(const e in this.fields)this.fields[e].selected=t;this.updateHeader()},updateHeader(){this.selected=this.amountSelected(),this.header="all"===this.selected},confirm(){this.$store.state.v4Fields=this.fields,this.fields.page_scan?.selected?this.$router.push("/6"):this.$store.dispatch("confirm")}},mounted(){this.updateHeader()}};n(525);const dd=(0,Vs.A)(hd,[["render",function(t,e,n,i,r,o){const s=Ci("Navigation");return Yr(),Qr("div",null,[e[8]||(e[8]=oo("header",null," Configure TrustedForm Insights ",-1)),oo("section",null,[oo("form",null,[e[6]||(e[6]=oo("h3",null,"Select Insights Data Points",-1)),e[7]||(e[7]=oo("p",null,"TrustedForm Insights provides the following data related to the lead that filled out the form. Each selection of data points will be charged individually.",-1)),oo("table",null,[oo("thead",null,[oo("tr",null,[oo("th",null,[Rn(oo("input",{id:"select-all",type:"checkbox",class:"fancy-checkbox","onUpdate:modelValue":e[0]||(e[0]=t=>r.header=t),".indeterminate":"some"===r.selected,onClick:e[1]||(e[1]=(...t)=>o.toggleAll&&o.toggleAll(...t))},null,40,sd),[[Ms,r.header]]),e[3]||(e[3]=oo("label",{for:"select-all",class:"checkbox-label"},null,-1))]),e[4]||(e[4]=oo("th",null,[oo("label",{for:"select-all",class:"text-label"},"Data Point")],-1)),e[5]||(e[5]=oo("th",null,"Description",-1))])]),oo("tbody",null,[(Yr(!0),Qr(Wr,null,Pi(Object.keys(r.fields),(t=>(Yr(),Qr("tr",{key:r.fields[t].name},[oo("td",null,[Rn(oo("input",{id:t,type:"checkbox",class:"fancy-checkbox","onUpdate:modelValue":e=>r.fields[t].selected=e,onChange:e[2]||(e[2]=(...t)=>o.updateHeader&&o.updateHeader(...t))},null,40,ad),[[Ms,r.fields[t].selected]]),oo("label",{for:t,class:"checkbox-label"},null,8,ld)]),oo("td",null,[oo("label",{for:t,class:"text-label"},nt(r.fields[t].name),9,cd)]),oo("td",{innerHTML:r.fields[t].description},null,8,ud)])))),128))])])])]),so(s,{onConfirm:o.confirm,disableConfirm:"none"===r.selected},null,8,["onConfirm","disableConfirm"])])}],["__scopeId","data-v-99414334"]]);var pd=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fd(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var gd,md={exports:{}};gd=md,function(t){if(!t.jQuery){var e=function(t,n){return new e.fn.init(t,n)};e.isWindow=function(t){return t&&t===t.window},e.type=function(t){return t?"object"==typeof t||"function"==typeof t?i[o.call(t)]||"object":typeof t:t+""},e.isArray=Array.isArray||function(t){return"array"===e.type(t)},e.isPlainObject=function(t){var n;if(!t||"object"!==e.type(t)||t.nodeType||e.isWindow(t))return!1;try{if(t.constructor&&!r.call(t,"constructor")&&!r.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch{return!1}for(n in t);return void 0===n||r.call(t,n)},e.each=function(t,e,n){var i=0,r=t.length,o=l(t);if(n){if(o)for(;i<r&&!1!==e.apply(t[i],n);i++);else for(i in t)if(t.hasOwnProperty(i)&&!1===e.apply(t[i],n))break}else if(o)for(;i<r&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(t.hasOwnProperty(i)&&!1===e.call(t[i],i,t[i]))break;return t},e.data=function(t,i,r){if(void 0===r){var o=t[e.expando],s=o&&n[o];if(void 0===i)return s;if(s&&i in s)return s[i]}else if(void 0!==i){var a=t[e.expando]||(t[e.expando]=++e.uuid);return n[a]=n[a]||{},n[a][i]=r,r}},e.removeData=function(t,i){var r=t[e.expando],o=r&&n[r];o&&(i?e.each(i,(function(t,e){delete o[e]})):delete n[r])},e.extend=function(){var t,n,i,r,o,s,a=arguments[0]||{},l=1,c=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[l]||{},l++),"object"!=typeof a&&"function"!==e.type(a)&&(a={}),l===c&&(a=this,l--);l<c;l++)if(o=arguments[l])for(r in o)o.hasOwnProperty(r)&&(t=a[r],a!==(i=o[r])&&(u&&i&&(e.isPlainObject(i)||(n=e.isArray(i)))?(n?(n=!1,s=t&&e.isArray(t)?t:[]):s=t&&e.isPlainObject(t)?t:{},a[r]=e.extend(u,s,i)):void 0!==i&&(a[r]=i)));return a},e.queue=function(t,n,i){if(t){n=(n||"fx")+"queue";var r=e.data(t,n);return i?(!r||e.isArray(i)?r=e.data(t,n,(s=[],(o=i)&&(l(Object(o))?function(t,e){for(var n=+e.length,i=0,r=t.length;i<n;)t[r++]=e[i++];if(n!=n)for(;void 0!==e[i];)t[r++]=e[i++];t.length=r}(s,"string"==typeof o?[o]:o):[].push.call(s,o)),s)):r.push(i),r):r||[]}var o,s},e.dequeue=function(t,n){e.each(t.nodeType?[t]:t,(function(t,i){n=n||"fx";var r=e.queue(i,n),o=r.shift();"inprogress"===o&&(o=r.shift()),o&&("fx"===n&&r.unshift("inprogress"),o.call(i,(function(){e.dequeue(i,n)})))}))},e.fn=e.prototype={init:function(t){if(t.nodeType)return this[0]=t,this;throw new Error("Not a DOM node.")},offset:function(){var e=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:e.top+(t.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:e.left+(t.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){var t=this[0],n=function(t){for(var e=t.offsetParent;e&&"html"!==e.nodeName.toLowerCase()&&e.style&&"static"===e.style.position.toLowerCase();)e=e.offsetParent;return e||document}(t),i=this.offset(),r=/^(?:body|html)$/i.test(n.nodeName)?{top:0,left:0}:e(n).offset();return i.top-=parseFloat(t.style.marginTop)||0,i.left-=parseFloat(t.style.marginLeft)||0,n.style&&(r.top+=parseFloat(n.style.borderTopWidth)||0,r.left+=parseFloat(n.style.borderLeftWidth)||0),{top:i.top-r.top,left:i.left-r.left}}};var n={};e.expando="velocity"+(new Date).getTime(),e.uuid=0;for(var i={},r=i.hasOwnProperty,o=i.toString,s="Boolean Number String Function Array Date RegExp Object Error".split(" "),a=0;a<s.length;a++)i["[object "+s[a]+"]"]=s[a].toLowerCase();e.fn.init.prototype=e.fn,t.Velocity={Utilities:e}}function l(t){var n=t.length,i=e.type(t);return"function"!==i&&!e.isWindow(t)&&(!(1!==t.nodeType||!n)||"array"===i||0===n||"number"==typeof n&&n>0&&n-1 in t)}}(window),gd.exports=function(t,e,n,i){var r,o=function(){if(n.documentMode)return n.documentMode;for(var t=7;t>4;t--){var e=n.createElement("div");if(e.innerHTML="\x3c!--[if IE "+t+"]><span></span><![endif]--\x3e",e.getElementsByTagName("span").length)return e=null,t}return i}(),s=(r=0,e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||function(t){var e,n=(new Date).getTime();return e=Math.max(0,16-(n-r)),r=n+e,setTimeout((function(){t(n+e)}),e)}),a=function(){var t=e.performance||{};if("function"!=typeof t.now){var n=t.timing&&t.timing.navigationStart?t.timing.navigationStart:(new Date).getTime();t.now=function(){return(new Date).getTime()-n}}return t}();var l=function(){var t=Array.prototype.slice;try{return t.call(n.documentElement),t}catch{return function(e,n){var i=this.length;if("number"!=typeof e&&(e=0),"number"!=typeof n&&(n=i),this.slice)return t.call(this,e,n);var r,o=[],s=e>=0?e:Math.max(0,i+e),a=(n<0?i+n:Math.min(n,i))-s;if(a>0)if(o=new Array(a),this.charAt)for(r=0;r<a;r++)o[r]=this.charAt(s+r);else for(r=0;r<a;r++)o[r]=this[s+r];return o}}}(),c=function(){return Array.prototype.includes?function(t,e){return t.includes(e)}:Array.prototype.indexOf?function(t,e){return t.indexOf(e)>=0}:function(t,e){for(var n=0;n<t.length;n++)if(t[n]===e)return!0;return!1}};function u(t){return d.isWrapped(t)?t=l.call(t):d.isNode(t)&&(t=[t]),t}var h,d={isNumber:function(t){return"number"==typeof t},isString:function(t){return"string"==typeof t},isArray:Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},isFunction:function(t){return"[object Function]"===Object.prototype.toString.call(t)},isNode:function(t){return t&&t.nodeType},isWrapped:function(t){return t&&t!==e&&d.isNumber(t.length)&&!d.isString(t)&&!d.isFunction(t)&&!d.isNode(t)&&(0===t.length||d.isNode(t[0]))},isSVG:function(t){return e.SVGElement&&t instanceof e.SVGElement},isEmptyObject:function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}},p=!1;if(t.fn&&t.fn.jquery?(h=t,p=!0):h=e.Velocity.Utilities,o<=8&&!p)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(!(o<=7)){var f=400,g="swing",m={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(e.navigator.userAgent),isAndroid:/Android/i.test(e.navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(e.navigator.userAgent),isChrome:e.chrome,isFirefox:/Firefox/i.test(e.navigator.userAgent),prefixElement:n.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[],delayedElements:{count:0}},CSS:{},Utilities:h,Redirects:{},Easings:{},Promise:e.Promise,defaults:{queue:"",duration:400,easing:g,begin:i,complete:i,progress:i,display:i,visibility:i,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0,promiseRejectEmpty:!0},init:function(t){h.data(t,"velocity",{isSVG:d.isSVG(t),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:5,patch:2},debug:!1,timestamp:!0,pauseAll:function(t){var e=(new Date).getTime();h.each(m.State.calls,(function(e,n){if(n){if(t!==i&&(n[2].queue!==t||!1===n[2].queue))return!0;n[5]={resume:!1}}})),h.each(m.State.delayedElements,(function(t,n){n&&S(n,e)}))},resumeAll:function(t){(new Date).getTime(),h.each(m.State.calls,(function(e,n){if(n){if(t!==i&&(n[2].queue!==t||!1===n[2].queue))return!0;n[5]&&(n[5].resume=!0)}})),h.each(m.State.delayedElements,(function(t,e){e&&k(e)}))}};e.pageYOffset!==i?(m.State.scrollAnchor=e,m.State.scrollPropertyLeft="pageXOffset",m.State.scrollPropertyTop="pageYOffset"):(m.State.scrollAnchor=n.documentElement||n.body.parentNode||n.body,m.State.scrollPropertyLeft="scrollLeft",m.State.scrollPropertyTop="scrollTop");var v=function(){function t(t){return-t.tension*t.x-t.friction*t.v}function e(e,n,i){var r={x:e.x+i.dx*n,v:e.v+i.dv*n,tension:e.tension,friction:e.friction};return{dx:r.v,dv:t(r)}}function n(n,i){var r={dx:n.v,dv:t(n)},o=e(n,.5*i,r),s=e(n,.5*i,o),a=e(n,i,s),l=1/6*(r.dx+2*(o.dx+s.dx)+a.dx),c=1/6*(r.dv+2*(o.dv+s.dv)+a.dv);return n.x=n.x+l*i,n.v=n.v+c*i,n}return function t(e,i,r){var o,s,a,l={x:-1,v:0,tension:null,friction:null},c=[0],u=0,h=1e-4;for(e=parseFloat(e)||500,i=parseFloat(i)||20,r=r||null,l.tension=e,l.friction=i,s=(o=null!==r)?(u=t(e,i))/r*.016:.016;a=n(a||l,s),c.push(1+a.x),u+=16,Math.abs(a.x)>h&&Math.abs(a.v)>h;);return o?function(t){return c[t*(c.length-1)|0]}:u}}();m.Easings={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},spring:function(t){return 1-Math.cos(4.5*t*Math.PI)*Math.exp(6*-t)}},h.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],(function(t,e){m.Easings[e[0]]=A.apply(null,e[1])}));var y=m.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"],units:["%","em","ex","ch","rem","vw","vh","vmin","vmax","cm","mm","Q","in","pc","pt","px","deg","grad","rad","turn","s","ms"],colorNames:{aliceblue:"240,248,255",antiquewhite:"250,235,215",aquamarine:"127,255,212",aqua:"0,255,255",azure:"240,255,255",beige:"245,245,220",bisque:"255,228,196",black:"0,0,0",blanchedalmond:"255,235,205",blueviolet:"138,43,226",blue:"0,0,255",brown:"165,42,42",burlywood:"222,184,135",cadetblue:"95,158,160",chartreuse:"127,255,0",chocolate:"210,105,30",coral:"255,127,80",cornflowerblue:"100,149,237",cornsilk:"255,248,220",crimson:"220,20,60",cyan:"0,255,255",darkblue:"0,0,139",darkcyan:"0,139,139",darkgoldenrod:"184,134,11",darkgray:"169,169,169",darkgrey:"169,169,169",darkgreen:"0,100,0",darkkhaki:"189,183,107",darkmagenta:"139,0,139",darkolivegreen:"85,107,47",darkorange:"255,140,0",darkorchid:"153,50,204",darkred:"139,0,0",darksalmon:"233,150,122",darkseagreen:"143,188,143",darkslateblue:"72,61,139",darkslategray:"47,79,79",darkturquoise:"0,206,209",darkviolet:"148,0,211",deeppink:"255,20,147",deepskyblue:"0,191,255",dimgray:"105,105,105",dimgrey:"105,105,105",dodgerblue:"30,144,255",firebrick:"178,34,34",floralwhite:"255,250,240",forestgreen:"34,139,34",fuchsia:"255,0,255",gainsboro:"220,220,220",ghostwhite:"248,248,255",gold:"255,215,0",goldenrod:"218,165,32",gray:"128,128,128",grey:"128,128,128",greenyellow:"173,255,47",green:"0,128,0",honeydew:"240,255,240",hotpink:"255,105,180",indianred:"205,92,92",indigo:"75,0,130",ivory:"255,255,240",khaki:"240,230,140",lavenderblush:"255,240,245",lavender:"230,230,250",lawngreen:"124,252,0",lemonchiffon:"255,250,205",lightblue:"173,216,230",lightcoral:"240,128,128",lightcyan:"224,255,255",lightgoldenrodyellow:"250,250,210",lightgray:"211,211,211",lightgrey:"211,211,211",lightgreen:"144,238,144",lightpink:"255,182,193",lightsalmon:"255,160,122",lightseagreen:"32,178,170",lightskyblue:"135,206,250",lightslategray:"119,136,153",lightsteelblue:"176,196,222",lightyellow:"255,255,224",limegreen:"50,205,50",lime:"0,255,0",linen:"250,240,230",magenta:"255,0,255",maroon:"128,0,0",mediumaquamarine:"102,205,170",mediumblue:"0,0,205",mediumorchid:"186,85,211",mediumpurple:"147,112,219",mediumseagreen:"60,179,113",mediumslateblue:"123,104,238",mediumspringgreen:"0,250,154",mediumturquoise:"72,209,204",mediumvioletred:"199,21,133",midnightblue:"25,25,112",mintcream:"245,255,250",mistyrose:"255,228,225",moccasin:"255,228,181",navajowhite:"255,222,173",navy:"0,0,128",oldlace:"253,245,230",olivedrab:"107,142,35",olive:"128,128,0",orangered:"255,69,0",orange:"255,165,0",orchid:"218,112,214",palegoldenrod:"238,232,170",palegreen:"152,251,152",paleturquoise:"175,238,238",palevioletred:"219,112,147",papayawhip:"255,239,213",peachpuff:"255,218,185",peru:"205,133,63",pink:"255,192,203",plum:"221,160,221",powderblue:"176,224,230",purple:"128,0,128",red:"255,0,0",rosybrown:"188,143,143",royalblue:"65,105,225",saddlebrown:"139,69,19",salmon:"250,128,114",sandybrown:"244,164,96",seagreen:"46,139,87",seashell:"255,245,238",sienna:"160,82,45",silver:"192,192,192",skyblue:"135,206,235",slateblue:"106,90,205",slategray:"112,128,144",snow:"255,250,250",springgreen:"0,255,127",steelblue:"70,130,180",tan:"210,180,140",teal:"0,128,128",thistle:"216,191,216",tomato:"255,99,71",turquoise:"64,224,208",violet:"238,130,238",wheat:"245,222,179",whitesmoke:"245,245,245",white:"255,255,255",yellowgreen:"154,205,50",yellow:"255,255,0"}},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var t=0;t<y.Lists.colors.length;t++){var e="color"===y.Lists.colors[t]?"0 0 0 1":"255 255 255 1";y.Hooks.templates[y.Lists.colors[t]]=["Red Green Blue Alpha",e]}var n,i,r;if(o)for(n in y.Hooks.templates)if(y.Hooks.templates.hasOwnProperty(n)){r=(i=y.Hooks.templates[n])[0].split(" ");var s=i[1].match(y.RegEx.valueSplit);"Color"===r[0]&&(r.push(r.shift()),s.push(s.shift()),y.Hooks.templates[n]=[r.join(" "),s.join(" ")])}for(n in y.Hooks.templates)if(y.Hooks.templates.hasOwnProperty(n))for(var a in r=(i=y.Hooks.templates[n])[0].split(" "))if(r.hasOwnProperty(a)){var l=n+r[a],c=a;y.Hooks.registered[l]=[n,c]}},getRoot:function(t){var e=y.Hooks.registered[t];return e?e[0]:t},getUnit:function(t,e){var n=(t.substr(e||0,5).match(/^[a-z%]+/)||[])[0]||"";return n&&c(y.Lists.units)?n:""},fixColors:function(t){return t.replace(/(rgba?\(\s*)?(\b[a-z]+\b)/g,(function(t,e,n){return y.Lists.colorNames.hasOwnProperty(n)?(e||"rgba(")+y.Lists.colorNames[n]+(e?"":",1)"):e+n}))},cleanRootPropertyValue:function(t,e){return y.RegEx.valueUnwrap.test(e)&&(e=e.match(y.RegEx.valueUnwrap)[1]),y.Values.isCSSNullValue(e)&&(e=y.Hooks.templates[t][1]),e},extractValue:function(t,e){var n=y.Hooks.registered[t];if(n){var i=n[0],r=n[1];return(e=y.Hooks.cleanRootPropertyValue(i,e)).toString().match(y.RegEx.valueSplit)[r]}return e},injectValue:function(t,e,n){var i=y.Hooks.registered[t];if(i){var r,o=i[0],s=i[1];return(r=(n=y.Hooks.cleanRootPropertyValue(o,n)).toString().match(y.RegEx.valueSplit))[s]=e,r.join(" ")}return n}},Normalizations:{registered:{clip:function(t,e,n){switch(t){case"name":return"clip";case"extract":var i;return y.RegEx.wrappedValueAlreadyExtracted.test(n)?n:(i=n.toString().match(y.RegEx.valueUnwrap))?i[1].replace(/,(\s+)?/g," "):n;case"inject":return"rect("+n+")"}},blur:function(t,e,n){switch(t){case"name":return m.State.isFirefox?"filter":"-webkit-filter";case"extract":var i=parseFloat(n);if(!i&&0!==i){var r=n.toString().match(/blur\(([0-9]+[A-z]+)\)/i);i=r?r[1]:0}return i;case"inject":return parseFloat(n)?"blur("+n+")":"none"}},opacity:function(t,e,n){if(o<=8)switch(t){case"name":return"filter";case"extract":var i=n.toString().match(/alpha\(opacity=(.*)\)/i);return i?i[1]/100:1;case"inject":return e.style.zoom=1,parseFloat(n)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(n),10)+")"}else switch(t){case"name":return"opacity";case"extract":case"inject":return n}}},register:function(){(!o||o>9)&&!m.State.isGingerbread&&(y.Lists.transformsBase=y.Lists.transformsBase.concat(y.Lists.transforms3D));for(var t=0;t<y.Lists.transformsBase.length;t++)!function(){var e=y.Lists.transformsBase[t];y.Normalizations.registered[e]=function(t,n,r){switch(t){case"name":return"transform";case"extract":return w(n)===i||w(n).transformCache[e]===i?/^scale/i.test(e)?1:0:w(n).transformCache[e].replace(/[()]/g,"");case"inject":var o=!1;switch(e.substr(0,e.length-1)){case"translate":o=!/(%|px|em|rem|vw|vh|\d)$/i.test(r);break;case"scal":case"scale":m.State.isAndroid&&w(n).transformCache[e]===i&&r<1&&(r=1),o=!/(\d)$/i.test(r);break;case"skew":case"rotate":o=!/(deg|\d)$/i.test(r)}return o||(w(n).transformCache[e]="("+r+")"),w(n).transformCache[e]}}}();for(var e=0;e<y.Lists.colors.length;e++)!function(){var t=y.Lists.colors[e];y.Normalizations.registered[t]=function(e,n,r){switch(e){case"name":return t;case"extract":var s;if(y.RegEx.wrappedValueAlreadyExtracted.test(r))s=r;else{var a,l={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"};/^[A-z]+$/i.test(r)?a=l[r]!==i?l[r]:l.black:y.RegEx.isHex.test(r)?a="rgb("+y.Values.hexToRgb(r).join(" ")+")":/^rgba?\(/i.test(r)||(a=l.black),s=(a||r).toString().match(y.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}return(!o||o>8)&&3===s.split(" ").length&&(s+=" 1"),s;case"inject":return/^rgb/.test(r)?r:(o<=8?4===r.split(" ").length&&(r=r.split(/\s+/).slice(0,3).join(" ")):3===r.split(" ").length&&(r+=" 1"),(o<=8?"rgb":"rgba")+"("+r.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")")}}}();function n(t,e,n){if("border-box"===y.getPropertyValue(e,"boxSizing").toString().toLowerCase()===(n||!1)){var i,r,o=0,s="width"===t?["Left","Right"]:["Top","Bottom"],a=["padding"+s[0],"padding"+s[1],"border"+s[0]+"Width","border"+s[1]+"Width"];for(i=0;i<a.length;i++)r=parseFloat(y.getPropertyValue(e,a[i])),isNaN(r)||(o+=r);return n?-o:o}return 0}function r(t,e){return function(i,r,o){switch(i){case"name":return t;case"extract":return parseFloat(o)+n(t,r,e);case"inject":return parseFloat(o)-n(t,r,e)+"px"}}}y.Normalizations.registered.innerWidth=r("width",!0),y.Normalizations.registered.innerHeight=r("height",!0),y.Normalizations.registered.outerWidth=r("width"),y.Normalizations.registered.outerHeight=r("height")}},Names:{camelCase:function(t){return t.replace(/-(\w)/g,(function(t,e){return e.toUpperCase()}))},SVGAttribute:function(t){var e="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(o||m.State.isAndroid&&!m.State.isChrome)&&(e+="|transform"),new RegExp("^("+e+")$","i").test(t)},prefixCheck:function(t){if(m.State.prefixMatches[t])return[m.State.prefixMatches[t],!0];for(var e=["","Webkit","Moz","ms","O"],n=0,i=e.length;n<i;n++){var r;if(r=0===n?t:e[n]+t.replace(/^\w/,(function(t){return t.toUpperCase()})),d.isString(m.State.prefixElement.style[r]))return m.State.prefixMatches[t]=r,[r,!0]}return[t,!1]}},Values:{hexToRgb:function(t){var e;return t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,n,i){return e+e+n+n+i+i})),(e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t))?[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]:[0,0,0]},isCSSNullValue:function(t){return!t||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(t)},getUnitType:function(t){return/^(rotate|skew)/i.test(t)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(t)?"":"px"},getDisplayType:function(t){var e=t&&t.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(e)?"inline":/^(li)$/i.test(e)?"list-item":/^(tr)$/i.test(e)?"table-row":/^(table)$/i.test(e)?"table":/^(tbody)$/i.test(e)?"table-row-group":"block"},addClass:function(t,e){if(t)if(t.classList)t.classList.add(e);else if(d.isString(t.className))t.className+=(t.className.length?" ":"")+e;else{var n=t.getAttribute(o<=7?"className":"class")||"";t.setAttribute("class",n+(n?" ":"")+e)}},removeClass:function(t,e){if(t)if(t.classList)t.classList.remove(e);else if(d.isString(t.className))t.className=t.className.toString().replace(new RegExp("(^|\\s)"+e.split(" ").join("|")+"(\\s|$)","gi")," ");else{var n=t.getAttribute(o<=7?"className":"class")||"";t.setAttribute("class",n.replace(new RegExp("(^|s)"+e.split(" ").join("|")+"(s|$)","gi")," "))}}},getPropertyValue:function(t,n,r,s){function a(t,n){var r=0;if(o<=8)r=h.css(t,n);else{var l=!1;/^(width|height)$/.test(n)&&0===y.getPropertyValue(t,"display")&&(l=!0,y.setPropertyValue(t,"display",y.Values.getDisplayType(t)));var c,u=function(){l&&y.setPropertyValue(t,"display","none")};if(!s){if("height"===n&&"border-box"!==y.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var d=t.offsetHeight-(parseFloat(y.getPropertyValue(t,"borderTopWidth"))||0)-(parseFloat(y.getPropertyValue(t,"borderBottomWidth"))||0)-(parseFloat(y.getPropertyValue(t,"paddingTop"))||0)-(parseFloat(y.getPropertyValue(t,"paddingBottom"))||0);return u(),d}if("width"===n&&"border-box"!==y.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var p=t.offsetWidth-(parseFloat(y.getPropertyValue(t,"borderLeftWidth"))||0)-(parseFloat(y.getPropertyValue(t,"borderRightWidth"))||0)-(parseFloat(y.getPropertyValue(t,"paddingLeft"))||0)-(parseFloat(y.getPropertyValue(t,"paddingRight"))||0);return u(),p}}c=w(t)===i?e.getComputedStyle(t,null):w(t).computedStyle?w(t).computedStyle:w(t).computedStyle=e.getComputedStyle(t,null),"borderColor"===n&&(n="borderTopColor"),(""===(r=9===o&&"filter"===n?c.getPropertyValue(n):c[n])||null===r)&&(r=t.style[n]),u()}if("auto"===r&&/^(top|right|bottom|left)$/i.test(n)){var f=a(t,"position");("fixed"===f||"absolute"===f&&/top|left/i.test(n))&&(r=h(t).position()[n]+"px")}return r}var l;if(y.Hooks.registered[n]){var c=n,u=y.Hooks.getRoot(c);r===i&&(r=y.getPropertyValue(t,y.Names.prefixCheck(u)[0])),y.Normalizations.registered[u]&&(r=y.Normalizations.registered[u]("extract",t,r)),l=y.Hooks.extractValue(c,r)}else if(y.Normalizations.registered[n]){var d,p;"transform"!==(d=y.Normalizations.registered[n]("name",t))&&(p=a(t,y.Names.prefixCheck(d)[0]),y.Values.isCSSNullValue(p)&&y.Hooks.templates[n]&&(p=y.Hooks.templates[n][1])),l=y.Normalizations.registered[n]("extract",t,p)}if(!/^[\d-]/.test(l)){var f=w(t);if(f&&f.isSVG&&y.Names.SVGAttribute(n))if(/^(height|width)$/i.test(n))try{l=t.getBBox()[n]}catch{l=0}else l=t.getAttribute(n);else l=a(t,y.Names.prefixCheck(n)[0])}return y.Values.isCSSNullValue(l)&&(l=0),m.debug>=2&&console.log("Get "+n+": "+l),l},setPropertyValue:function(t,n,i,r,s){var a=n;if("scroll"===n)s.container?s.container["scroll"+s.direction]=i:"Left"===s.direction?e.scrollTo(i,s.alternateValue):e.scrollTo(s.alternateValue,i);else if(y.Normalizations.registered[n]&&"transform"===y.Normalizations.registered[n]("name",t))y.Normalizations.registered[n]("inject",t,i),a="transform",i=w(t).transformCache[n];else{if(y.Hooks.registered[n]){var l=n,c=y.Hooks.getRoot(n);r=r||y.getPropertyValue(t,c),i=y.Hooks.injectValue(l,i,r),n=c}if(y.Normalizations.registered[n]&&(i=y.Normalizations.registered[n]("inject",t,i),n=y.Normalizations.registered[n]("name",t)),a=y.Names.prefixCheck(n)[0],o<=8)try{t.style[a]=i}catch{m.debug&&console.log("Browser does not support ["+i+"] for ["+a+"]")}else{var u=w(t);u&&u.isSVG&&y.Names.SVGAttribute(n)?t.setAttribute(n,i):t.style[a]=i}m.debug>=2&&console.log("Set "+n+" ("+a+"): "+i)}return[a,i]},flushTransformCache:function(t){var e="",n=w(t);if((o||m.State.isAndroid&&!m.State.isChrome)&&n&&n.isSVG){var i=function(e){return parseFloat(y.getPropertyValue(t,e))},r={translate:[i("translateX"),i("translateY")],skewX:[i("skewX")],skewY:[i("skewY")],scale:1!==i("scale")?[i("scale"),i("scale")]:[i("scaleX"),i("scaleY")],rotate:[i("rotateZ"),0,0]};h.each(w(t).transformCache,(function(t){/^translate/i.test(t)?t="translate":/^scale/i.test(t)?t="scale":/^rotate/i.test(t)&&(t="rotate"),r[t]&&(e+=t+"("+r[t].join(" ")+") ",delete r[t])}))}else{var s,a;h.each(w(t).transformCache,(function(n){if(s=w(t).transformCache[n],"transformPerspective"===n)return a=s,!0;9===o&&"rotateZ"===n&&(n="rotate"),e+=n+s+" "})),a&&(e="perspective"+a+" "+e)}y.setPropertyValue(t,"transform",e)}};y.Hooks.register(),y.Normalizations.register(),m.hook=function(t,e,n){var r;return t=u(t),h.each(t,(function(t,o){if(w(o)===i&&m.init(o),n===i)r===i&&(r=y.getPropertyValue(o,e));else{var s=y.setPropertyValue(o,e,n);"transform"===s[0]&&m.CSS.flushTransformCache(o),r=s}})),r};var b=function(){var t;function r(){return o?_.promise||null:s}var o,s,a,l,p,g,v=arguments[0]&&(arguments[0].p||h.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||d.isString(arguments[0].properties));d.isWrapped(this)?(o=!1,a=0,l=this,s=this):(o=!0,a=1,l=v?arguments[0].elements||arguments[0].e:arguments[0]);var _={promise:null,resolver:null,rejecter:null};if(o&&m.Promise&&(_.promise=new m.Promise((function(t,e){_.resolver=t,_.rejecter=e}))),v?(p=arguments[0].properties||arguments[0].p,g=arguments[0].options||arguments[0].o):(p=arguments[a],g=arguments[a+1]),l=u(l)){var x,C=l.length,A=0;if(!/^(stop|finish|finishAll|pause|resume)$/i.test(p)&&!h.isPlainObject(g)){g={};for(var P=a+1;P<arguments.length;P++)d.isArray(arguments[P])||!/^(fast|normal|slow)$/i.test(arguments[P])&&!/^\d/.test(arguments[P])?d.isString(arguments[P])||d.isArray(arguments[P])?g.easing=arguments[P]:d.isFunction(arguments[P])&&(g.complete=arguments[P]):g.duration=arguments[P]}switch(p){case"scroll":x="scroll";break;case"reverse":x="reverse";break;case"pause":var M=(new Date).getTime();return h.each(l,(function(t,e){S(e,M)})),h.each(m.State.calls,(function(t,e){var n=!1;e&&h.each(e[1],(function(t,r){var o=g===i?"":g;return!0!==o&&e[2].queue!==o&&(g!==i||!1!==e[2].queue)||(h.each(l,(function(t,i){if(i===r)return e[5]={resume:!1},n=!0,!1})),!n&&void 0)}))})),r();case"resume":return h.each(l,(function(t,e){k(e)})),h.each(m.State.calls,(function(t,e){var n=!1;e&&h.each(e[1],(function(t,r){var o=g===i?"":g;return!0!==o&&e[2].queue!==o&&(g!==i||!1!==e[2].queue)||!e[5]||(h.each(l,(function(t,i){if(i===r)return e[5].resume=!0,n=!0,!1})),!n&&void 0)}))})),r();case"finish":case"finishAll":case"stop":h.each(l,(function(t,e){w(e)&&w(e).delayTimer&&(clearTimeout(w(e).delayTimer.setTimeout),w(e).delayTimer.next&&w(e).delayTimer.next(),delete w(e).delayTimer),"finishAll"===p&&(!0===g||d.isString(g))&&(h.each(h.queue(e,d.isString(g)?g:""),(function(t,e){d.isFunction(e)&&e()})),h.queue(e,d.isString(g)?g:"",[]))}));var L=[];return h.each(m.State.calls,(function(t,e){e&&h.each(e[1],(function(n,r){var o=g===i?"":g;if(!0!==o&&e[2].queue!==o&&(g!==i||!1!==e[2].queue))return!0;h.each(l,(function(n,i){if(i===r)if((!0===g||d.isString(g))&&(h.each(h.queue(i,d.isString(g)?g:""),(function(t,e){d.isFunction(e)&&e(null,!0)})),h.queue(i,d.isString(g)?g:"",[])),"stop"===p){var s=w(i);s&&s.tweensContainer&&(!0===o||""===o)&&h.each(s.tweensContainer,(function(t,e){e.endValue=e.currentValue})),L.push(t)}else("finish"===p||"finishAll"===p)&&(e[2].duration=1)}))}))})),"stop"===p&&(h.each(L,(function(t,e){E(e,!0)})),_.promise&&_.resolver(l)),r();default:if(!h.isPlainObject(p)||d.isEmptyObject(p)){if(d.isString(p)&&m.Redirects[p]){var j=(t=h.extend({},g)).duration,D=t.delay||0;return!0===t.backwards&&(l=h.extend(!0,[],l).reverse()),h.each(l,(function(e,n){parseFloat(t.stagger)?t.delay=D+parseFloat(t.stagger)*e:d.isFunction(t.stagger)&&(t.delay=D+t.stagger.call(n,e,C)),t.drag&&(t.duration=parseFloat(j)||(/^(callout|transition)/.test(p)?1e3:400),t.duration=Math.max(t.duration*(t.backwards?1-e/C:(e+1)/C),.75*t.duration,200)),m.Redirects[p].call(n,n,t||{},e,C,l,_.promise?_:i)})),r()}var $="Velocity: First argument ("+p+") was not a property map, a known action, or a registered redirect. Aborting.";return _.promise?_.rejecter(new Error($)):e.console&&console.log($),r()}x="start"}var R={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},I=[];h.each(l,(function(t,r){d.isNode(r)&&function(t,r){var o,s=h.extend({},m.defaults,g),a={};switch(w(t)===i&&m.init(t),parseFloat(s.delay)&&!1!==s.queue&&h.queue(t,s.queue,(function(e,n){if(!0===n)return!0;m.velocityQueueEntryFlag=!0;var i=m.State.delayedElements.count++;m.State.delayedElements[i]=t;var r=function(t){return function(){m.State.delayedElements[t]=!1,e()}}(i);w(t).delayBegin=(new Date).getTime(),w(t).delay=parseFloat(s.delay),w(t).delayTimer={setTimeout:setTimeout(e,parseFloat(s.delay)),next:r}})),s.duration.toString().toLowerCase()){case"fast":s.duration=200;break;case"normal":s.duration=f;break;case"slow":s.duration=600;break;default:s.duration=parseFloat(s.duration)||1}function u(u){var f,v;if(s.begin&&0===A)try{s.begin.call(l,l)}catch(t){setTimeout((function(){throw t}),1)}if("scroll"===x){var b,S,k,E=/^x$/i.test(s.axis)?"Left":"Top",P=parseFloat(s.offset)||0;s.container?d.isWrapped(s.container)||d.isNode(s.container)?(s.container=s.container[0]||s.container,k=(b=s.container["scroll"+E])+h(t).position()[E.toLowerCase()]+P):s.container=null:(b=m.State.scrollAnchor[m.State["scrollProperty"+E]],S=m.State.scrollAnchor[m.State["scrollProperty"+("Left"===E?"Top":"Left")]],k=h(t).offset()[E.toLowerCase()]+P),a={scroll:{rootPropertyValue:!1,startValue:b,currentValue:b,endValue:k,unitType:"",easing:s.easing,scrollData:{container:s.container,direction:E,alternateValue:S}},element:t},m.debug&&console.log("tweensContainer (scroll): ",a.scroll,t)}else if("reverse"===x){if(!(f=w(t)))return;if(!f.tweensContainer)return void h.dequeue(t,s.queue);for(var M in"none"===f.opts.display&&(f.opts.display="auto"),"hidden"===f.opts.visibility&&(f.opts.visibility="visible"),f.opts.loop=!1,f.opts.begin=null,f.opts.complete=null,g.easing||delete s.easing,g.duration||delete s.duration,s=h.extend({},f.opts,s),v=h.extend(!0,{},f?f.tweensContainer:null))if(v.hasOwnProperty(M)&&"element"!==M){var L=v[M].startValue;v[M].startValue=v[M].currentValue=v[M].endValue,v[M].endValue=L,d.isEmptyObject(g)||(v[M].easing=s.easing),m.debug&&console.log("reverse tweensContainer ("+M+"): "+JSON.stringify(v[M]),t)}a=v}else if("start"===x){(f=w(t))&&f.tweensContainer&&!0===f.isAnimating&&(v=f.tweensContainer);var j=function(e,n){var i,o,a;return d.isFunction(e)&&(e=e.call(t,r,C)),d.isArray(e)?(i=e[0],!d.isArray(e[1])&&/^[\d-]/.test(e[1])||d.isFunction(e[1])||y.RegEx.isHex.test(e[1])?a=e[1]:d.isString(e[1])&&!y.RegEx.isHex.test(e[1])&&m.Easings[e[1]]||d.isArray(e[1])?(o=n?e[1]:O(e[1],s.duration),a=e[2]):a=e[1]||e[2]):i=e,n||(o=o||s.easing),d.isFunction(i)&&(i=i.call(t,r,C)),d.isFunction(a)&&(a=a.call(t,r,C)),[i||0,o,a]},D=function(r,l){var c,u=y.Hooks.getRoot(r),p=!1,g=l[0],b=l[1],_=l[2];if(f&&f.isSVG||"tween"===u||!1!==y.Names.prefixCheck(u)[1]||y.Normalizations.registered[u]!==i){(s.display!==i&&null!==s.display&&"none"!==s.display||s.visibility!==i&&"hidden"!==s.visibility)&&/opacity|filter/.test(r)&&!_&&0!==g&&(_=0),s._cacheValues&&v&&v[r]?(_===i&&(_=v[r].endValue+v[r].unitType),p=f.rootPropertyValueCache[u]):y.Hooks.registered[r]?_===i?(p=y.getPropertyValue(t,u),_=y.getPropertyValue(t,r,p)):p=y.Hooks.templates[u][1]:_===i&&(_=y.getPropertyValue(t,r));var x,w,S,k=!1,C=function(t,e){var n,i;return i=(e||"0").toString().toLowerCase().replace(/[%A-z]+$/,(function(t){return n=t,""})),n||(n=y.Values.getUnitType(t)),[i,n]};if(_!==g&&d.isString(_)&&d.isString(g)){c="";var A=0,O=0,T=[],E=[],P=0,M=0,L=0;for(_=y.Hooks.fixColors(_),g=y.Hooks.fixColors(g);A<_.length&&O<g.length;){var j=_[A],D=g[O];if(/[\d\.-]/.test(j)&&/[\d\.-]/.test(D)){for(var $=j,I=D,B=".",N=".";++A<_.length;){if((j=_[A])===B)B="..";else if(!/\d/.test(j))break;$+=j}for(;++O<g.length;){if((D=g[O])===N)N="..";else if(!/\d/.test(D))break;I+=D}var F=y.Hooks.getUnit(_,A),z=y.Hooks.getUnit(g,O);if(A+=F.length,O+=z.length,F===z)$===I?c+=$+F:(c+="{"+T.length+(M?"!":"")+"}"+F,T.push(parseFloat($)),E.push(parseFloat(I)));else{var V=parseFloat($),W=parseFloat(I);c+=(P<5?"calc":"")+"("+(V?"{"+T.length+(M?"!":"")+"}":"0")+F+" + "+(W?"{"+(T.length+(V?1:0))+(M?"!":"")+"}":"0")+z+")",V&&(T.push(V),E.push(0)),W&&(T.push(0),E.push(W))}}else{if(j!==D){P=0;break}c+=j,A++,O++,0===P&&"c"===j||1===P&&"a"===j||2===P&&"l"===j||3===P&&"c"===j||P>=4&&"("===j?P++:(P&&P<5||P>=4&&")"===j&&--P<5)&&(P=0),0===M&&"r"===j||1===M&&"g"===j||2===M&&"b"===j||3===M&&"a"===j||M>=3&&"("===j?(3===M&&"a"===j&&(L=1),M++):L&&","===j?++L>3&&(M=L=0):(L&&M<(L?5:4)||M>=(L?4:3)&&")"===j&&--M<(L?5:4))&&(M=L=0)}}(A!==_.length||O!==g.length)&&(m.debug&&console.error('Trying to pattern match mis-matched strings ["'+g+'", "'+_+'"]'),c=i),c&&(T.length?(m.debug&&console.log('Pattern found "'+c+'" -> ',T,E,"["+_+","+g+"]"),_=T,g=E,w=S=""):c=i)}c||(_=(x=C(r,_))[0],S=x[1],g=(x=C(r,g))[0].replace(/^([+-\/*])=/,(function(t,e){return k=e,""})),w=x[1],_=parseFloat(_)||0,g=parseFloat(g)||0,"%"===w&&(/^(fontSize|lineHeight)$/.test(r)?(g/=100,w="em"):/^scale/.test(r)?(g/=100,w=""):/(Red|Green|Blue)$/i.test(r)&&(g=g/100*255,w="")));var U=function(){var i={myParent:t.parentNode||n.body,position:y.getPropertyValue(t,"position"),fontSize:y.getPropertyValue(t,"fontSize")},r=i.position===R.lastPosition&&i.myParent===R.lastParent,o=i.fontSize===R.lastFontSize;R.lastParent=i.myParent,R.lastPosition=i.position,R.lastFontSize=i.fontSize;var s=100,a={};if(o&&r)a.emToPx=R.lastEmToPx,a.percentToPxWidth=R.lastPercentToPxWidth,a.percentToPxHeight=R.lastPercentToPxHeight;else{var l=f&&f.isSVG?n.createElementNS("http://www.w3.org/2000/svg","rect"):n.createElement("div");m.init(l),i.myParent.appendChild(l),h.each(["overflow","overflowX","overflowY"],(function(t,e){m.CSS.setPropertyValue(l,e,"hidden")})),m.CSS.setPropertyValue(l,"position",i.position),m.CSS.setPropertyValue(l,"fontSize",i.fontSize),m.CSS.setPropertyValue(l,"boxSizing","content-box"),h.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],(function(t,e){m.CSS.setPropertyValue(l,e,s+"%")})),m.CSS.setPropertyValue(l,"paddingLeft",s+"em"),a.percentToPxWidth=R.lastPercentToPxWidth=(parseFloat(y.getPropertyValue(l,"width",null,!0))||1)/s,a.percentToPxHeight=R.lastPercentToPxHeight=(parseFloat(y.getPropertyValue(l,"height",null,!0))||1)/s,a.emToPx=R.lastEmToPx=(parseFloat(y.getPropertyValue(l,"paddingLeft"))||1)/s,i.myParent.removeChild(l)}return null===R.remToPx&&(R.remToPx=parseFloat(y.getPropertyValue(n.body,"fontSize"))||16),null===R.vwToPx&&(R.vwToPx=parseFloat(e.innerWidth)/100,R.vhToPx=parseFloat(e.innerHeight)/100),a.remToPx=R.remToPx,a.vwToPx=R.vwToPx,a.vhToPx=R.vhToPx,m.debug>=1&&console.log("Unit ratios: "+JSON.stringify(a),t),a};if(/[\/*]/.test(k))w=S;else if(S!==w&&0!==_)if(0===g)w=S;else{o=o||U();var H=/margin|padding|left|right|width|text|word|letter/i.test(r)||/X$/.test(r)||"x"===r?"x":"y";switch(S){case"%":_*="x"===H?o.percentToPxWidth:o.percentToPxHeight;break;case"px":break;default:_*=o[S+"ToPx"]}switch(w){case"%":_*=1/("x"===H?o.percentToPxWidth:o.percentToPxHeight);break;case"px":break;default:_*=1/o[w+"ToPx"]}}switch(k){case"+":g=_+g;break;case"-":g=_-g;break;case"*":g*=_;break;case"/":g=_/g}a[r]={rootPropertyValue:p,startValue:_,currentValue:_,endValue:g,unitType:w,easing:b},c&&(a[r].pattern=c),m.debug&&console.log("tweensContainer ("+r+"): "+JSON.stringify(a[r]),t)}else m.debug&&console.log("Skipping ["+u+"] due to a lack of browser support.")};for(var $ in p)if(p.hasOwnProperty($)){var B=y.Names.camelCase($),N=j(p[$]);if(c(y.Lists.colors)){var F=N[0],z=N[1],V=N[2];if(y.RegEx.isHex.test(F)){for(var W=["Red","Green","Blue"],U=y.Values.hexToRgb(F),H=V?y.Values.hexToRgb(V):i,q=0;q<W.length;q++){var G=[U[q]];z&&G.push(z),H!==i&&G.push(H[q]),D(B+W[q],G)}continue}}D(B,N)}a.element=t}a.element&&(y.Values.addClass(t,"velocity-animating"),I.push(a),(f=w(t))&&(""===s.queue&&(f.tweensContainer=a,f.opts=s),f.isAnimating=!0),A===C-1?(m.State.calls.push([I,l,s,null,_.resolver,null,0]),!1===m.State.isTicking&&(m.State.isTicking=!0,T())):A++)}if(!1!==m.mock&&(!0===m.mock?s.duration=s.delay=1:(s.duration*=parseFloat(m.mock)||1,s.delay*=parseFloat(m.mock)||1)),s.easing=O(s.easing,s.duration),s.begin&&!d.isFunction(s.begin)&&(s.begin=null),s.progress&&!d.isFunction(s.progress)&&(s.progress=null),s.complete&&!d.isFunction(s.complete)&&(s.complete=null),s.display!==i&&null!==s.display&&(s.display=s.display.toString().toLowerCase(),"auto"===s.display&&(s.display=m.CSS.Values.getDisplayType(t))),s.visibility!==i&&null!==s.visibility&&(s.visibility=s.visibility.toString().toLowerCase()),s.mobileHA=s.mobileHA&&m.State.isMobile&&!m.State.isGingerbread,!1===s.queue)if(s.delay){var v=m.State.delayedElements.count++;m.State.delayedElements[v]=t;var b=function(t){return function(){m.State.delayedElements[t]=!1,u()}}(v);w(t).delayBegin=(new Date).getTime(),w(t).delay=parseFloat(s.delay),w(t).delayTimer={setTimeout:setTimeout(u,parseFloat(s.delay)),next:b}}else u();else h.queue(t,s.queue,(function(t,e){if(!0===e)return _.promise&&_.resolver(l),!0;m.velocityQueueEntryFlag=!0,u()}));(""===s.queue||"fx"===s.queue)&&"inprogress"!==h.queue(t)[0]&&h.dequeue(t)}(r,t)})),(t=h.extend({},m.defaults,g)).loop=parseInt(t.loop,10);var B=2*t.loop-1;if(t.loop)for(var N=0;N<B;N++){var F={delay:t.delay,progress:t.progress};N===B-1&&(F.display=t.display,F.visibility=t.visibility,F.complete=t.complete),b(l,"reverse",F)}return r()}_.promise&&(p&&g&&!1===g.promiseRejectEmpty?_.resolver():_.rejecter())};(m=h.extend(b,m)).animate=b;var _=e.requestAnimationFrame||s;if(!m.State.isMobile&&n.hidden!==i){var x=function(){n.hidden?(_=function(t){return setTimeout((function(){t(!0)}),16)},T()):_=e.requestAnimationFrame||s};x(),n.addEventListener("visibilitychange",x)}return t.Velocity=m,t!==e&&(t.fn.velocity=b,t.fn.velocity.defaults=m.defaults),h.each(["Down","Up"],(function(t,e){m.Redirects["slide"+e]=function(t,n,r,o,s,a){var l=h.extend({},n),c=l.begin,u=l.complete,d={},p={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""};l.display===i&&(l.display="Down"===e?"inline"===m.CSS.Values.getDisplayType(t)?"inline-block":"block":"none"),l.begin=function(){for(var n in 0===r&&c&&c.call(s,s),p)if(p.hasOwnProperty(n)){d[n]=t.style[n];var i=y.getPropertyValue(t,n);p[n]="Down"===e?[i,0]:[0,i]}d.overflow=t.style.overflow,t.style.overflow="hidden"},l.complete=function(){for(var e in d)d.hasOwnProperty(e)&&(t.style[e]=d[e]);r===o-1&&(u&&u.call(s,s),a&&a.resolver(s))},m(t,p,l)}})),h.each(["In","Out"],(function(t,e){m.Redirects["fade"+e]=function(t,n,r,o,s,a){var l=h.extend({},n),c=l.complete,u={opacity:"In"===e?1:0};0!==r&&(l.begin=null),l.complete=r!==o-1?null:function(){c&&c.call(s,s),a&&a.resolver(s)},l.display===i&&(l.display="In"===e?"auto":"none"),m(this,u,l)}})),m}function w(t){var e=h.data(t,"velocity");return null===e?i:e}function S(t,e){var n=w(t);n&&n.delayTimer&&!n.delayPaused&&(n.delayRemaining=n.delay-e+n.delayBegin,n.delayPaused=!0,clearTimeout(n.delayTimer.setTimeout))}function k(t,e){var n=w(t);n&&n.delayTimer&&n.delayPaused&&(n.delayPaused=!1,n.delayTimer.setTimeout=setTimeout(n.delayTimer.next,n.delayRemaining))}function C(t){return function(e){return Math.round(e*t)*(1/t)}}function A(t,n,i,r){var o=4,s=1e-7,a=10,l=11,c=1/(l-1),u="Float32Array"in e;if(4!==arguments.length)return!1;for(var h=0;h<4;++h)if("number"!=typeof arguments[h]||isNaN(arguments[h])||!isFinite(arguments[h]))return!1;t=Math.min(t,1),i=Math.min(i,1),t=Math.max(t,0),i=Math.max(i,0);var d=u?new Float32Array(l):new Array(l);function p(t,e){return 1-3*e+3*t}function f(t,e){return 3*e-6*t}function g(t){return 3*t}function m(t,e,n){return((p(e,n)*t+f(e,n))*t+g(e))*t}function v(t,e,n){return 3*p(e,n)*t*t+2*f(e,n)*t+g(e)}function y(e){for(var n=0,r=1,u=l-1;r!==u&&d[r]<=e;++r)n+=c;--r;var h=n+(e-d[r])/(d[r+1]-d[r])*c,p=v(h,t,i);return p>=.001?function(e,n){for(var r=0;r<o;++r){var s=v(n,t,i);if(0===s)return n;n-=(m(n,t,i)-e)/s}return n}(e,h):0===p?h:function(e,n,r){var o,l,c=0;do{(o=m(l=n+(r-n)/2,t,i)-e)>0?r=l:n=l}while(Math.abs(o)>s&&++c<a);return l}(e,n,n+c)}var b=!1;function _(){b=!0,(t!==n||i!==r)&&function(){for(var e=0;e<l;++e)d[e]=m(e*c,t,i)}()}var x=function(e){return b||_(),t===n&&i===r?e:0===e?0:1===e?1:m(y(e),n,r)};x.getControlPoints=function(){return[{x:t,y:n},{x:i,y:r}]};var w="generateBezier("+[t,n,i,r]+")";return x.toString=function(){return w},x}function O(t,e){var n=t;return d.isString(t)?m.Easings[t]||(n=!1):n=d.isArray(t)&&1===t.length?C.apply(null,t):d.isArray(t)&&2===t.length?v.apply(null,t.concat([e])):!(!d.isArray(t)||4!==t.length)&&A.apply(null,t),!1===n&&(n=m.Easings[m.defaults.easing]?m.defaults.easing:g),n}function T(t){if(t){var e=m.timestamp&&!0!==t?t:a.now(),n=m.State.calls.length;n>1e4&&(m.State.calls=function(t){for(var e=-1,n=t?t.length:0,i=[];++e<n;){var r=t[e];r&&i.push(r)}return i}(m.State.calls),n=m.State.calls.length);for(var r=0;r<n;r++)if(m.State.calls[r]){var s=m.State.calls[r],l=s[0],c=s[2],u=s[3],p=!u,f=null,g=s[5],v=s[6];if(u||(u=m.State.calls[r][3]=e-16),g){if(!0!==g.resume)continue;u=s[3]=Math.round(e-v-16),s[5]=null}v=s[6]=e-u;for(var b=Math.min(v/c.duration,1),x=0,S=l.length;x<S;x++){var k=l[x],C=k.element;if(w(C)){var A=!1;if(c.display!==i&&null!==c.display&&"none"!==c.display){if("flex"===c.display){h.each(["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"],(function(t,e){y.setPropertyValue(C,"display",e)}))}y.setPropertyValue(C,"display",c.display)}for(var O in c.visibility!==i&&"hidden"!==c.visibility&&y.setPropertyValue(C,"visibility",c.visibility),k)if(k.hasOwnProperty(O)&&"element"!==O){var P,M=k[O],L=d.isString(M.easing)?m.Easings[M.easing]:M.easing;if(d.isString(M.pattern)){var j=1===b?function(t,e,n){var i=M.endValue[e];return n?Math.round(i):i}:function(t,e,n){var i=M.startValue[e],r=M.endValue[e]-i,o=i+r*L(b,c,r);return n?Math.round(o):o};P=M.pattern.replace(/{(\d+)(!)?}/g,j)}else if(1===b)P=M.endValue;else{var D=M.endValue-M.startValue;P=M.startValue+D*L(b,c,D)}if(!p&&P===M.currentValue)continue;if(M.currentValue=P,"tween"===O)f=P;else{var $;if(y.Hooks.registered[O]){$=y.Hooks.getRoot(O);var R=w(C).rootPropertyValueCache[$];R&&(M.rootPropertyValue=R)}var I=y.setPropertyValue(C,O,M.currentValue+(o<9&&0===parseFloat(P)?"":M.unitType),M.rootPropertyValue,M.scrollData);y.Hooks.registered[O]&&(y.Normalizations.registered[$]?w(C).rootPropertyValueCache[$]=y.Normalizations.registered[$]("extract",null,I[1]):w(C).rootPropertyValueCache[$]=I[1]),"transform"===I[0]&&(A=!0)}}c.mobileHA&&w(C).transformCache.translate3d===i&&(w(C).transformCache.translate3d="(0px, 0px, 0px)",A=!0),A&&y.flushTransformCache(C)}}c.display!==i&&"none"!==c.display&&(m.State.calls[r][2].display=!1),c.visibility!==i&&"hidden"!==c.visibility&&(m.State.calls[r][2].visibility=!1),c.progress&&c.progress.call(s[1],s[1],b,Math.max(0,u+c.duration-e),u,f),1===b&&E(r)}}m.State.isTicking&&_(T)}function E(t,e){if(!m.State.calls[t])return!1;for(var n=m.State.calls[t][0],r=m.State.calls[t][1],o=m.State.calls[t][2],s=m.State.calls[t][4],a=!1,l=0,c=n.length;l<c;l++){var u=n[l].element;!e&&!o.loop&&("none"===o.display&&y.setPropertyValue(u,"display",o.display),"hidden"===o.visibility&&y.setPropertyValue(u,"visibility",o.visibility));var d=w(u);if(!0!==o.loop&&(h.queue(u)[1]===i||!/\.velocityQueueEntryFlag/i.test(h.queue(u)[1]))&&d){d.isAnimating=!1,d.rootPropertyValueCache={};var p=!1;h.each(y.Lists.transforms3D,(function(t,e){var n=/^scale/.test(e)?1:0,r=d.transformCache[e];d.transformCache[e]!==i&&new RegExp("^\\("+n+"[^.]").test(r)&&(p=!0,delete d.transformCache[e])})),o.mobileHA&&(p=!0,delete d.transformCache.translate3d),p&&y.flushTransformCache(u),y.Values.removeClass(u,"velocity-animating")}if(!e&&o.complete&&!o.loop&&l===c-1)try{o.complete.call(r,r)}catch(t){setTimeout((function(){throw t}),1)}s&&!0!==o.loop&&s(r),d&&!0===o.loop&&!e&&(h.each(d.tweensContainer,(function(t,e){if(/^rotate/.test(t)&&(parseFloat(e.startValue)-parseFloat(e.endValue))%360==0){var n=e.startValue;e.startValue=e.endValue,e.endValue=n}/^backgroundPosition/.test(t)&&100===parseFloat(e.endValue)&&"%"===e.unitType&&(e.endValue=0,e.startValue=100)})),m(u,"reverse",{loop:!0,delay:o.delay})),!1!==o.queue&&h.dequeue(u,o.queue)}m.State.calls[t]=!1;for(var f=0,g=m.State.calls.length;f<g;f++)if(!1!==m.State.calls[f]){a=!0;break}!1===a&&(m.State.isTicking=!1,delete m.State.calls,m.State.calls=[])}jQuery.fn.velocity=jQuery.fn.animate}(window.jQuery||window.Zepto||window,window,window?window.document:void 0);const vd=fd(md.exports);var yd={exports:{}};!function(t,e){(function(){var n,i="Expected a function",r="__lodash_hash_undefined__",o="__lodash_placeholder__",s=32,a=128,l=1/0,c=9007199254740991,u=NaN,h=4294967295,d=h-1,p=h>>>1,f=[["ary",a],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",s],["partialRight",64],["rearg",256]],g="[object Arguments]",m="[object Array]",v="[object Boolean]",y="[object Date]",b="[object Error]",_="[object Function]",x="[object GeneratorFunction]",w="[object Map]",S="[object Number]",k="[object Object]",C="[object Promise]",A="[object RegExp]",O="[object Set]",T="[object String]",E="[object Symbol]",P="[object WeakMap]",M="[object ArrayBuffer]",L="[object DataView]",j="[object Float32Array]",D="[object Float64Array]",$="[object Int8Array]",R="[object Int16Array]",I="[object Int32Array]",B="[object Uint8Array]",N="[object Uint8ClampedArray]",F="[object Uint16Array]",z="[object Uint32Array]",V=/\b__p \+= '';/g,W=/\b(__p \+=) '' \+/g,U=/(__e\(.*?\)|\b__t\)) \+\n'';/g,H=/&(?:amp|lt|gt|quot|#39);/g,q=/[&<>"']/g,G=RegExp(H.source),X=RegExp(q.source),Y=/<%-([\s\S]+?)%>/g,K=/<%([\s\S]+?)%>/g,Z=/<%=([\s\S]+?)%>/g,J=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Q=/^\w*$/,tt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,et=/[\\^$.*+?()[\]{}|]/g,nt=RegExp(et.source),it=/^\s+/,rt=/\s/,ot=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,st=/\{\n\/\* \[wrapped with (.+)\] \*/,at=/,? & /,lt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ct=/[()=,{}\[\]\/\s]/,ut=/\\(\\)?/g,ht=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,dt=/\w*$/,pt=/^[-+]0x[0-9a-f]+$/i,ft=/^0b[01]+$/i,gt=/^\[object .+?Constructor\]$/,mt=/^0o[0-7]+$/i,vt=/^(?:0|[1-9]\d*)$/,yt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,bt=/($^)/,_t=/['\n\r\u2028\u2029\\]/g,xt="\\ud800-\\udfff",wt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",St="\\u2700-\\u27bf",kt="a-z\\xdf-\\xf6\\xf8-\\xff",Ct="A-Z\\xc0-\\xd6\\xd8-\\xde",At="\\ufe0e\\ufe0f",Ot="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\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",Tt="["+xt+"]",Et="["+Ot+"]",Pt="["+wt+"]",Mt="\\d+",Lt="["+St+"]",jt="["+kt+"]",Dt="[^"+xt+Ot+Mt+St+kt+Ct+"]",$t="\\ud83c[\\udffb-\\udfff]",Rt="[^"+xt+"]",It="(?:\\ud83c[\\udde6-\\uddff]){2}",Bt="[\\ud800-\\udbff][\\udc00-\\udfff]",Nt="["+Ct+"]",Ft="\\u200d",zt="(?:"+jt+"|"+Dt+")",Vt="(?:"+Nt+"|"+Dt+")",Wt="(?:['’](?:d|ll|m|re|s|t|ve))?",Ut="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ht="(?:"+Pt+"|"+$t+")?",qt="["+At+"]?",Gt=qt+Ht+"(?:"+Ft+"(?:"+[Rt,It,Bt].join("|")+")"+qt+Ht+")*",Xt="(?:"+[Lt,It,Bt].join("|")+")"+Gt,Yt="(?:"+[Rt+Pt+"?",Pt,It,Bt,Tt].join("|")+")",Kt=RegExp("['’]","g"),Zt=RegExp(Pt,"g"),Jt=RegExp($t+"(?="+$t+")|"+Yt+Gt,"g"),Qt=RegExp([Nt+"?"+jt+"+"+Wt+"(?="+[Et,Nt,"$"].join("|")+")",Vt+"+"+Ut+"(?="+[Et,Nt+zt,"$"].join("|")+")",Nt+"?"+zt+"+"+Wt,Nt+"+"+Ut,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Mt,Xt].join("|"),"g"),te=RegExp("["+Ft+xt+wt+At+"]"),ee=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ne=["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"],ie=-1,re={};re[j]=re[D]=re[$]=re[R]=re[I]=re[B]=re[N]=re[F]=re[z]=!0,re[g]=re[m]=re[M]=re[v]=re[L]=re[y]=re[b]=re[_]=re[w]=re[S]=re[k]=re[A]=re[O]=re[T]=re[P]=!1;var oe={};oe[g]=oe[m]=oe[M]=oe[L]=oe[v]=oe[y]=oe[j]=oe[D]=oe[$]=oe[R]=oe[I]=oe[w]=oe[S]=oe[k]=oe[A]=oe[O]=oe[T]=oe[E]=oe[B]=oe[N]=oe[F]=oe[z]=!0,oe[b]=oe[_]=oe[P]=!1;var se={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ae=parseFloat,le=parseInt,ce="object"==typeof pd&&pd&&pd.Object===Object&&pd,ue="object"==typeof self&&self&&self.Object===Object&&self,he=ce||ue||Function("return this")(),de=e&&!e.nodeType&&e,pe=de&&t&&!t.nodeType&&t,fe=pe&&pe.exports===de,ge=fe&&ce.process,me=function(){try{return pe&&pe.require&&pe.require("util").types||ge&&ge.binding&&ge.binding("util")}catch{}}(),ve=me&&me.isArrayBuffer,ye=me&&me.isDate,be=me&&me.isMap,_e=me&&me.isRegExp,xe=me&&me.isSet,we=me&&me.isTypedArray;function Se(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function ke(t,e,n,i){for(var r=-1,o=null==t?0:t.length;++r<o;){var s=t[r];e(i,s,n(s),t)}return i}function Ce(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););return t}function Ae(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function Oe(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(!e(t[n],n,t))return!1;return!0}function Te(t,e){for(var n=-1,i=null==t?0:t.length,r=0,o=[];++n<i;){var s=t[n];e(s,n,t)&&(o[r++]=s)}return o}function Ee(t,e){return!(null==t||!t.length)&&Ne(t,e,0)>-1}function Pe(t,e,n){for(var i=-1,r=null==t?0:t.length;++i<r;)if(n(e,t[i]))return!0;return!1}function Me(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}function Le(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}function je(t,e,n,i){var r=-1,o=null==t?0:t.length;for(i&&o&&(n=t[++r]);++r<o;)n=e(n,t[r],r,t);return n}function De(t,e,n,i){var r=null==t?0:t.length;for(i&&r&&(n=t[--r]);r--;)n=e(n,t[r],r,t);return n}function $e(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1}var Re=We("length");function Ie(t,e,n){var i;return n(t,(function(t,n,r){if(e(t,n,r))return i=n,!1})),i}function Be(t,e,n,i){for(var r=t.length,o=n+(i?1:-1);i?o--:++o<r;)if(e(t[o],o,t))return o;return-1}function Ne(t,e,n){return e==e?function(t,e,n){for(var i=n-1,r=t.length;++i<r;)if(t[i]===e)return i;return-1}(t,e,n):Be(t,ze,n)}function Fe(t,e,n,i){for(var r=n-1,o=t.length;++r<o;)if(i(t[r],e))return r;return-1}function ze(t){return t!=t}function Ve(t,e){var n=null==t?0:t.length;return n?qe(t,e)/n:u}function We(t){return function(e){return null==e?n:e[t]}}function Ue(t){return function(e){return null==t?n:t[e]}}function He(t,e,n,i,r){return r(t,(function(t,r,o){n=i?(i=!1,t):e(n,t,r,o)})),n}function qe(t,e){for(var i,r=-1,o=t.length;++r<o;){var s=e(t[r]);s!==n&&(i=i===n?s:i+s)}return i}function Ge(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}function Xe(t){return t&&t.slice(0,hn(t)+1).replace(it,"")}function Ye(t){return function(e){return t(e)}}function Ke(t,e){return Me(e,(function(e){return t[e]}))}function Ze(t,e){return t.has(e)}function Je(t,e){for(var n=-1,i=t.length;++n<i&&Ne(e,t[n],0)>-1;);return n}function Qe(t,e){for(var n=t.length;n--&&Ne(e,t[n],0)>-1;);return n}var tn=Ue({À:"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"}),en=Ue({"&":"&","<":"<",">":">",'"':""","'":"'"});function nn(t){return"\\"+se[t]}function rn(t){return te.test(t)}function on(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n}function sn(t,e){return function(n){return t(e(n))}}function an(t,e){for(var n=-1,i=t.length,r=0,s=[];++n<i;){var a=t[n];(a===e||a===o)&&(t[n]=o,s[r++]=n)}return s}function ln(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function cn(t){return rn(t)?function(t){for(var e=Jt.lastIndex=0;Jt.test(t);)++e;return e}(t):Re(t)}function un(t){return rn(t)?function(t){return t.match(Jt)||[]}(t):function(t){return t.split("")}(t)}function hn(t){for(var e=t.length;e--&&rt.test(t.charAt(e)););return e}var dn=Ue({"&":"&","<":"<",">":">",""":'"',"'":"'"}),pn=function t(e){var rt,xt=(e=null==e?he:pn.defaults(he.Object(),e,pn.pick(he,ne))).Array,wt=e.Date,St=e.Error,kt=e.Function,Ct=e.Math,At=e.Object,Ot=e.RegExp,Tt=e.String,Et=e.TypeError,Pt=xt.prototype,Mt=kt.prototype,Lt=At.prototype,jt=e["__core-js_shared__"],Dt=Mt.toString,$t=Lt.hasOwnProperty,Rt=0,It=(rt=/[^.]+$/.exec(jt&&jt.keys&&jt.keys.IE_PROTO||""))?"Symbol(src)_1."+rt:"",Bt=Lt.toString,Nt=Dt.call(At),Ft=he._,zt=Ot("^"+Dt.call($t).replace(et,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Vt=fe?e.Buffer:n,Wt=e.Symbol,Ut=e.Uint8Array,Ht=Vt?Vt.allocUnsafe:n,qt=sn(At.getPrototypeOf,At),Gt=At.create,Xt=Lt.propertyIsEnumerable,Yt=Pt.splice,Jt=Wt?Wt.isConcatSpreadable:n,te=Wt?Wt.iterator:n,se=Wt?Wt.toStringTag:n,ce=function(){try{var t=co(At,"defineProperty");return t({},"",{}),t}catch{}}(),ue=e.clearTimeout!==he.clearTimeout&&e.clearTimeout,de=wt&&wt.now!==he.Date.now&&wt.now,pe=e.setTimeout!==he.setTimeout&&e.setTimeout,ge=Ct.ceil,me=Ct.floor,Re=At.getOwnPropertySymbols,Ue=Vt?Vt.isBuffer:n,fn=e.isFinite,gn=Pt.join,mn=sn(At.keys,At),vn=Ct.max,yn=Ct.min,bn=wt.now,_n=e.parseInt,xn=Ct.random,wn=Pt.reverse,Sn=co(e,"DataView"),kn=co(e,"Map"),Cn=co(e,"Promise"),An=co(e,"Set"),On=co(e,"WeakMap"),Tn=co(At,"create"),En=On&&new On,Pn={},Mn=Bo(Sn),Ln=Bo(kn),jn=Bo(Cn),Dn=Bo(An),$n=Bo(On),Rn=Wt?Wt.prototype:n,In=Rn?Rn.valueOf:n,Bn=Rn?Rn.toString:n;function Nn(t){if(ea(t)&&!Us(t)&&!(t instanceof Wn)){if(t instanceof Vn)return t;if($t.call(t,"__wrapped__"))return No(t)}return new Vn(t)}var Fn=function(){function t(){}return function(e){if(!ta(e))return{};if(Gt)return Gt(e);t.prototype=e;var i=new t;return t.prototype=n,i}}();function zn(){}function Vn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=n}function Wn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=h,this.__views__=[]}function Un(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Hn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function qn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Gn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new qn;++e<n;)this.add(t[e])}function Xn(t){var e=this.__data__=new Hn(t);this.size=e.size}function Yn(t,e){var n=Us(t),i=!n&&Ws(t),r=!n&&!i&&Xs(t),o=!n&&!i&&!r&&ca(t),s=n||i||r||o,a=s?Ge(t.length,Tt):[],l=a.length;for(var c in t)(e||$t.call(t,c))&&(!s||!("length"==c||r&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||vo(c,l)))&&a.push(c);return a}function Kn(t){var e=t.length;return e?t[qi(0,e-1)]:n}function Zn(t,e){return jo(Or(t),si(e,0,t.length))}function Jn(t){return jo(Or(t))}function Qn(t,e,i){(i!==n&&!Fs(t[e],i)||i===n&&!(e in t))&&ri(t,e,i)}function ti(t,e,i){var r=t[e];(!$t.call(t,e)||!Fs(r,i)||i===n&&!(e in t))&&ri(t,e,i)}function ei(t,e){for(var n=t.length;n--;)if(Fs(t[n][0],e))return n;return-1}function ni(t,e,n,i){return hi(t,(function(t,r,o){e(i,t,n(t),o)})),i}function ii(t,e){return t&&Tr(e,Ma(e),t)}function ri(t,e,n){"__proto__"==e&&ce?ce(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function oi(t,e){for(var i=-1,r=e.length,o=xt(r),s=null==t;++i<r;)o[i]=s?n:Aa(t,e[i]);return o}function si(t,e,i){return t==t&&(i!==n&&(t=t<=i?t:i),e!==n&&(t=t>=e?t:e)),t}function ai(t,e,i,r,o,s){var a,l=1&e,c=2&e,u=4&e;if(i&&(a=o?i(t,r,o,s):i(t)),a!==n)return a;if(!ta(t))return t;var h=Us(t);if(h){if(a=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&$t.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!l)return Or(t,a)}else{var d=po(t),p=d==_||d==x;if(Xs(t))return xr(t,l);if(d==k||d==g||p&&!o){if(a=c||p?{}:go(t),!l)return c?function(t,e){return Tr(t,ho(t),e)}(t,function(t,e){return t&&Tr(e,La(e),t)}(a,t)):function(t,e){return Tr(t,uo(t),e)}(t,ii(a,t))}else{if(!oe[d])return o?t:{};a=function(t,e,n){var i=t.constructor;switch(e){case M:return wr(t);case v:case y:return new i(+t);case L:return function(t,e){var n=e?wr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case j:case D:case $:case R:case I:case B:case N:case F:case z:return Sr(t,n);case w:return new i;case S:case T:return new i(t);case A:return function(t){var e=new t.constructor(t.source,dt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case O:return new i;case E:return function(t){return In?At(In.call(t)):{}}(t)}}(t,d,l)}}s||(s=new Xn);var f=s.get(t);if(f)return f;s.set(t,a),sa(t)?t.forEach((function(n){a.add(ai(n,e,i,n,t,s))})):na(t)&&t.forEach((function(n,r){a.set(r,ai(n,e,i,r,t,s))}));var m=h?n:(u?c?no:eo:c?La:Ma)(t);return Ce(m||t,(function(n,r){m&&(n=t[r=n]),ti(a,r,ai(n,e,i,r,t,s))})),a}function li(t,e,i){var r=i.length;if(null==t)return!r;for(t=At(t);r--;){var o=i[r],s=e[o],a=t[o];if(a===n&&!(o in t)||!s(a))return!1}return!0}function ci(t,e,r){if("function"!=typeof t)throw new Et(i);return Eo((function(){t.apply(n,r)}),e)}function ui(t,e,n,i){var r=-1,o=Ee,s=!0,a=t.length,l=[],c=e.length;if(!a)return l;n&&(e=Me(e,Ye(n))),i?(o=Pe,s=!1):e.length>=200&&(o=Ze,s=!1,e=new Gn(e));t:for(;++r<a;){var u=t[r],h=null==n?u:n(u);if(u=i||0!==u?u:0,s&&h==h){for(var d=c;d--;)if(e[d]===h)continue t;l.push(u)}else o(e,h,i)||l.push(u)}return l}Nn.templateSettings={escape:Y,evaluate:K,interpolate:Z,variable:"",imports:{_:Nn}},Nn.prototype=zn.prototype,Nn.prototype.constructor=Nn,Vn.prototype=Fn(zn.prototype),Vn.prototype.constructor=Vn,Wn.prototype=Fn(zn.prototype),Wn.prototype.constructor=Wn,Un.prototype.clear=function(){this.__data__=Tn?Tn(null):{},this.size=0},Un.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Un.prototype.get=function(t){var e=this.__data__;if(Tn){var i=e[t];return i===r?n:i}return $t.call(e,t)?e[t]:n},Un.prototype.has=function(t){var e=this.__data__;return Tn?e[t]!==n:$t.call(e,t)},Un.prototype.set=function(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=Tn&&e===n?r:e,this},Hn.prototype.clear=function(){this.__data__=[],this.size=0},Hn.prototype.delete=function(t){var e=this.__data__,n=ei(e,t);return!(n<0||(n==e.length-1?e.pop():Yt.call(e,n,1),--this.size,0))},Hn.prototype.get=function(t){var e=this.__data__,i=ei(e,t);return i<0?n:e[i][1]},Hn.prototype.has=function(t){return ei(this.__data__,t)>-1},Hn.prototype.set=function(t,e){var n=this.__data__,i=ei(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this},qn.prototype.clear=function(){this.size=0,this.__data__={hash:new Un,map:new(kn||Hn),string:new Un}},qn.prototype.delete=function(t){var e=ao(this,t).delete(t);return this.size-=e?1:0,e},qn.prototype.get=function(t){return ao(this,t).get(t)},qn.prototype.has=function(t){return ao(this,t).has(t)},qn.prototype.set=function(t,e){var n=ao(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this},Gn.prototype.add=Gn.prototype.push=function(t){return this.__data__.set(t,r),this},Gn.prototype.has=function(t){return this.__data__.has(t)},Xn.prototype.clear=function(){this.__data__=new Hn,this.size=0},Xn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Xn.prototype.get=function(t){return this.__data__.get(t)},Xn.prototype.has=function(t){return this.__data__.has(t)},Xn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Hn){var i=n.__data__;if(!kn||i.length<199)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new qn(i)}return n.set(t,e),this.size=n.size,this};var hi=Mr(bi),di=Mr(_i,!0);function pi(t,e){var n=!0;return hi(t,(function(t,i,r){return n=!!e(t,i,r)})),n}function fi(t,e,i){for(var r=-1,o=t.length;++r<o;){var s=t[r],a=e(s);if(null!=a&&(l===n?a==a&&!la(a):i(a,l)))var l=a,c=s}return c}function gi(t,e){var n=[];return hi(t,(function(t,i,r){e(t,i,r)&&n.push(t)})),n}function mi(t,e,n,i,r){var o=-1,s=t.length;for(n||(n=mo),r||(r=[]);++o<s;){var a=t[o];e>0&&n(a)?e>1?mi(a,e-1,n,i,r):Le(r,a):i||(r[r.length]=a)}return r}var vi=Lr(),yi=Lr(!0);function bi(t,e){return t&&vi(t,e,Ma)}function _i(t,e){return t&&yi(t,e,Ma)}function xi(t,e){return Te(e,(function(e){return Zs(t[e])}))}function wi(t,e){for(var i=0,r=(e=vr(e,t)).length;null!=t&&i<r;)t=t[Io(e[i++])];return i&&i==r?t:n}function Si(t,e,n){var i=e(t);return Us(t)?i:Le(i,n(t))}function ki(t){return null==t?t===n?"[object Undefined]":"[object Null]":se&&se in At(t)?function(t){var e=$t.call(t,se),i=t[se];try{t[se]=n;var r=!0}catch{}var o=Bt.call(t);return r&&(e?t[se]=i:delete t[se]),o}(t):function(t){return Bt.call(t)}(t)}function Ci(t,e){return t>e}function Ai(t,e){return null!=t&&$t.call(t,e)}function Oi(t,e){return null!=t&&e in At(t)}function Ti(t,e,i){for(var r=i?Pe:Ee,o=t[0].length,s=t.length,a=s,l=xt(s),c=1/0,u=[];a--;){var h=t[a];a&&e&&(h=Me(h,Ye(e))),c=yn(h.length,c),l[a]=!i&&(e||o>=120&&h.length>=120)?new Gn(a&&h):n}h=t[0];var d=-1,p=l[0];t:for(;++d<o&&u.length<c;){var f=h[d],g=e?e(f):f;if(f=i||0!==f?f:0,!(p?Ze(p,g):r(u,g,i))){for(a=s;--a;){var m=l[a];if(!(m?Ze(m,g):r(t[a],g,i)))continue t}p&&p.push(g),u.push(f)}}return u}function Ei(t,e,i){var r=null==(t=Ao(t,e=vr(e,t)))?t:t[Io(Ko(e))];return null==r?n:Se(r,t,i)}function Pi(t){return ea(t)&&ki(t)==g}function Mi(t,e,i,r,o){return t===e||(null==t||null==e||!ea(t)&&!ea(e)?t!=t&&e!=e:function(t,e,i,r,o,s){var a=Us(t),l=Us(e),c=a?m:po(t),u=l?m:po(e),h=(c=c==g?k:c)==k,d=(u=u==g?k:u)==k,p=c==u;if(p&&Xs(t)){if(!Xs(e))return!1;a=!0,h=!1}if(p&&!h)return s||(s=new Xn),a||ca(t)?Qr(t,e,i,r,o,s):function(t,e,n,i,r,o,s){switch(n){case L:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case M:return!(t.byteLength!=e.byteLength||!o(new Ut(t),new Ut(e)));case v:case y:case S:return Fs(+t,+e);case b:return t.name==e.name&&t.message==e.message;case A:case T:return t==e+"";case w:var a=on;case O:var l=1&i;if(a||(a=ln),t.size!=e.size&&!l)return!1;var c=s.get(t);if(c)return c==e;i|=2,s.set(t,e);var u=Qr(a(t),a(e),i,r,o,s);return s.delete(t),u;case E:if(In)return In.call(t)==In.call(e)}return!1}(t,e,c,i,r,o,s);if(!(1&i)){var f=h&&$t.call(t,"__wrapped__"),_=d&&$t.call(e,"__wrapped__");if(f||_){var x=f?t.value():t,C=_?e.value():e;return s||(s=new Xn),o(x,C,i,r,s)}}return!!p&&(s||(s=new Xn),function(t,e,i,r,o,s){var a=1&i,l=eo(t),c=l.length;if(c!=eo(e).length&&!a)return!1;for(var u=c;u--;){var h=l[u];if(!(a?h in e:$t.call(e,h)))return!1}var d=s.get(t),p=s.get(e);if(d&&p)return d==e&&p==t;var f=!0;s.set(t,e),s.set(e,t);for(var g=a;++u<c;){var m=t[h=l[u]],v=e[h];if(r)var y=a?r(v,m,h,e,t,s):r(m,v,h,t,e,s);if(!(y===n?m===v||o(m,v,i,r,s):y)){f=!1;break}g||(g="constructor"==h)}if(f&&!g){var b=t.constructor,_=e.constructor;b!=_&&"constructor"in t&&"constructor"in e&&!("function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _)&&(f=!1)}return s.delete(t),s.delete(e),f}(t,e,i,r,o,s))}(t,e,i,r,Mi,o))}function Li(t,e,i,r){var o=i.length,s=o,a=!r;if(null==t)return!s;for(t=At(t);o--;){var l=i[o];if(a&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++o<s;){var c=(l=i[o])[0],u=t[c],h=l[1];if(a&&l[2]){if(u===n&&!(c in t))return!1}else{var d=new Xn;if(r)var p=r(u,h,c,t,e,d);if(!(p===n?Mi(h,u,3,r,d):p))return!1}}return!0}function ji(t){return!(!ta(t)||function(t){return!!It&&It in t}(t))&&(Zs(t)?zt:gt).test(Bo(t))}function Di(t){return"function"==typeof t?t:null==t?il:"object"==typeof t?Us(t)?Ni(t[0],t[1]):Bi(t):dl(t)}function $i(t){if(!wo(t))return mn(t);var e=[];for(var n in At(t))$t.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Ri(t,e){return t<e}function Ii(t,e){var n=-1,i=qs(t)?xt(t.length):[];return hi(t,(function(t,r,o){i[++n]=e(t,r,o)})),i}function Bi(t){var e=lo(t);return 1==e.length&&e[0][2]?ko(e[0][0],e[0][1]):function(n){return n===t||Li(n,t,e)}}function Ni(t,e){return bo(t)&&So(e)?ko(Io(t),e):function(i){var r=Aa(i,t);return r===n&&r===e?Oa(i,t):Mi(e,r,3)}}function Fi(t,e,i,r,o){t!==e&&vi(e,(function(s,a){if(o||(o=new Xn),ta(s))!function(t,e,i,r,o,s,a){var l=Oo(t,i),c=Oo(e,i),u=a.get(c);if(u)Qn(t,i,u);else{var h=s?s(l,c,i+"",t,e,a):n,d=h===n;if(d){var p=Us(c),f=!p&&Xs(c),g=!p&&!f&&ca(c);h=c,p||f||g?Us(l)?h=l:Gs(l)?h=Or(l):f?(d=!1,h=xr(c,!0)):g?(d=!1,h=Sr(c,!0)):h=[]:ra(c)||Ws(c)?(h=l,Ws(l)?h=va(l):(!ta(l)||Zs(l))&&(h=go(c))):d=!1}d&&(a.set(c,h),o(h,c,r,s,a),a.delete(c)),Qn(t,i,h)}}(t,e,a,i,Fi,r,o);else{var l=r?r(Oo(t,a),s,a+"",t,e,o):n;l===n&&(l=s),Qn(t,a,l)}}),La)}function zi(t,e){var i=t.length;if(i)return vo(e+=e<0?i:0,i)?t[e]:n}function Vi(t,e,n){e=e.length?Me(e,(function(t){return Us(t)?function(e){return wi(e,1===t.length?t[0]:t)}:t})):[il];var i=-1;return e=Me(e,Ye(so())),function(t){var e=t.length;for(t.sort((function(t,e){return function(t,e,n){for(var i=-1,r=t.criteria,o=e.criteria,s=r.length,a=n.length;++i<s;){var l=kr(r[i],o[i]);if(l)return i>=a?l:l*("desc"==n[i]?-1:1)}return t.index-e.index}(t,e,n)}));e--;)t[e]=t[e].value;return t}(Ii(t,(function(t,n,r){return{criteria:Me(e,(function(e){return e(t)})),index:++i,value:t}})))}function Wi(t,e,n){for(var i=-1,r=e.length,o={};++i<r;){var s=e[i],a=wi(t,s);n(a,s)&&Zi(o,vr(s,t),a)}return o}function Ui(t,e,n,i){var r=i?Fe:Ne,o=-1,s=e.length,a=t;for(t===e&&(e=Or(e)),n&&(a=Me(t,Ye(n)));++o<s;)for(var l=0,c=e[o],u=n?n(c):c;(l=r(a,u,l,i))>-1;)a!==t&&Yt.call(a,l,1),Yt.call(t,l,1);return t}function Hi(t,e){for(var n=t?e.length:0,i=n-1;n--;){var r=e[n];if(n==i||r!==o){var o=r;vo(r)?Yt.call(t,r,1):cr(t,r)}}return t}function qi(t,e){return t+me(xn()*(e-t+1))}function Gi(t,e){var n="";if(!t||e<1||e>c)return n;do{e%2&&(n+=t),(e=me(e/2))&&(t+=t)}while(e);return n}function Xi(t,e){return Po(Co(t,e,il),t+"")}function Yi(t){return Kn(Fa(t))}function Ki(t,e){var n=Fa(t);return jo(n,si(e,0,n.length))}function Zi(t,e,i,r){if(!ta(t))return t;for(var o=-1,s=(e=vr(e,t)).length,a=s-1,l=t;null!=l&&++o<s;){var c=Io(e[o]),u=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(o!=a){var h=l[c];(u=r?r(h,c,l):n)===n&&(u=ta(h)?h:vo(e[o+1])?[]:{})}ti(l,c,u),l=l[c]}return t}var Ji=En?function(t,e){return En.set(t,e),t}:il,Qi=ce?function(t,e){return ce(t,"toString",{configurable:!0,enumerable:!1,value:tl(e),writable:!0})}:il;function tr(t){return jo(Fa(t))}function er(t,e,n){var i=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(n=n>r?r:n)<0&&(n+=r),r=e>n?0:n-e>>>0,e>>>=0;for(var o=xt(r);++i<r;)o[i]=t[i+e];return o}function nr(t,e){var n;return hi(t,(function(t,i,r){return!(n=e(t,i,r))})),!!n}function ir(t,e,n){var i=0,r=null==t?i:t.length;if("number"==typeof e&&e==e&&r<=p){for(;i<r;){var o=i+r>>>1,s=t[o];null!==s&&!la(s)&&(n?s<=e:s<e)?i=o+1:r=o}return r}return rr(t,e,il,n)}function rr(t,e,i,r){var o=0,s=null==t?0:t.length;if(0===s)return 0;for(var a=(e=i(e))!=e,l=null===e,c=la(e),u=e===n;o<s;){var h=me((o+s)/2),p=i(t[h]),f=p!==n,g=null===p,m=p==p,v=la(p);if(a)var y=r||m;else y=u?m&&(r||f):l?m&&f&&(r||!g):c?m&&f&&!g&&(r||!v):!g&&!v&&(r?p<=e:p<e);y?o=h+1:s=h}return yn(s,d)}function or(t,e){for(var n=-1,i=t.length,r=0,o=[];++n<i;){var s=t[n],a=e?e(s):s;if(!n||!Fs(a,l)){var l=a;o[r++]=0===s?0:s}}return o}function sr(t){return"number"==typeof t?t:la(t)?u:+t}function ar(t){if("string"==typeof t)return t;if(Us(t))return Me(t,ar)+"";if(la(t))return Bn?Bn.call(t):"";var e=t+"";return"0"==e&&1/t==-l?"-0":e}function lr(t,e,n){var i=-1,r=Ee,o=t.length,s=!0,a=[],l=a;if(n)s=!1,r=Pe;else if(o>=200){var c=e?null:Gr(t);if(c)return ln(c);s=!1,r=Ze,l=new Gn}else l=e?[]:a;t:for(;++i<o;){var u=t[i],h=e?e(u):u;if(u=n||0!==u?u:0,s&&h==h){for(var d=l.length;d--;)if(l[d]===h)continue t;e&&l.push(h),a.push(u)}else r(l,h,n)||(l!==a&&l.push(h),a.push(u))}return a}function cr(t,e){return null==(t=Ao(t,e=vr(e,t)))||delete t[Io(Ko(e))]}function ur(t,e,n,i){return Zi(t,e,n(wi(t,e)),i)}function hr(t,e,n,i){for(var r=t.length,o=i?r:-1;(i?o--:++o<r)&&e(t[o],o,t););return n?er(t,i?0:o,i?o+1:r):er(t,i?o+1:0,i?r:o)}function dr(t,e){var n=t;return n instanceof Wn&&(n=n.value()),je(e,(function(t,e){return e.func.apply(e.thisArg,Le([t],e.args))}),n)}function pr(t,e,n){var i=t.length;if(i<2)return i?lr(t[0]):[];for(var r=-1,o=xt(i);++r<i;)for(var s=t[r],a=-1;++a<i;)a!=r&&(o[r]=ui(o[r]||s,t[a],e,n));return lr(mi(o,1),e,n)}function fr(t,e,i){for(var r=-1,o=t.length,s=e.length,a={};++r<o;){var l=r<s?e[r]:n;i(a,t[r],l)}return a}function gr(t){return Gs(t)?t:[]}function mr(t){return"function"==typeof t?t:il}function vr(t,e){return Us(t)?t:bo(t,e)?[t]:Ro(ya(t))}var yr=Xi;function br(t,e,i){var r=t.length;return i=i===n?r:i,!e&&i>=r?t:er(t,e,i)}var _r=ue||function(t){return he.clearTimeout(t)};function xr(t,e){if(e)return t.slice();var n=t.length,i=Ht?Ht(n):new t.constructor(n);return t.copy(i),i}function wr(t){var e=new t.constructor(t.byteLength);return new Ut(e).set(new Ut(t)),e}function Sr(t,e){var n=e?wr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function kr(t,e){if(t!==e){var i=t!==n,r=null===t,o=t==t,s=la(t),a=e!==n,l=null===e,c=e==e,u=la(e);if(!l&&!u&&!s&&t>e||s&&a&&c&&!l&&!u||r&&a&&c||!i&&c||!o)return 1;if(!r&&!s&&!u&&t<e||u&&i&&o&&!r&&!s||l&&i&&o||!a&&o||!c)return-1}return 0}function Cr(t,e,n,i){for(var r=-1,o=t.length,s=n.length,a=-1,l=e.length,c=vn(o-s,0),u=xt(l+c),h=!i;++a<l;)u[a]=e[a];for(;++r<s;)(h||r<o)&&(u[n[r]]=t[r]);for(;c--;)u[a++]=t[r++];return u}function Ar(t,e,n,i){for(var r=-1,o=t.length,s=-1,a=n.length,l=-1,c=e.length,u=vn(o-a,0),h=xt(u+c),d=!i;++r<u;)h[r]=t[r];for(var p=r;++l<c;)h[p+l]=e[l];for(;++s<a;)(d||r<o)&&(h[p+n[s]]=t[r++]);return h}function Or(t,e){var n=-1,i=t.length;for(e||(e=xt(i));++n<i;)e[n]=t[n];return e}function Tr(t,e,i,r){var o=!i;i||(i={});for(var s=-1,a=e.length;++s<a;){var l=e[s],c=r?r(i[l],t[l],l,i,t):n;c===n&&(c=t[l]),o?ri(i,l,c):ti(i,l,c)}return i}function Er(t,e){return function(n,i){var r=Us(n)?ke:ni,o=e?e():{};return r(n,t,so(i,2),o)}}function Pr(t){return Xi((function(e,i){var r=-1,o=i.length,s=o>1?i[o-1]:n,a=o>2?i[2]:n;for(s=t.length>3&&"function"==typeof s?(o--,s):n,a&&yo(i[0],i[1],a)&&(s=o<3?n:s,o=1),e=At(e);++r<o;){var l=i[r];l&&t(e,l,r,s)}return e}))}function Mr(t,e){return function(n,i){if(null==n)return n;if(!qs(n))return t(n,i);for(var r=n.length,o=e?r:-1,s=At(n);(e?o--:++o<r)&&!1!==i(s[o],o,s););return n}}function Lr(t){return function(e,n,i){for(var r=-1,o=At(e),s=i(e),a=s.length;a--;){var l=s[t?a:++r];if(!1===n(o[l],l,o))break}return e}}function jr(t){return function(e){var i=rn(e=ya(e))?un(e):n,r=i?i[0]:e.charAt(0),o=i?br(i,1).join(""):e.slice(1);return r[t]()+o}}function Dr(t){return function(e){return je(Za(Wa(e).replace(Kt,"")),t,"")}}function $r(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Fn(t.prototype),i=t.apply(n,e);return ta(i)?i:n}}function Rr(t){return function(e,i,r){var o=At(e);if(!qs(e)){var s=so(i,3);e=Ma(e),i=function(t){return s(o[t],t,o)}}var a=t(e,i,r);return a>-1?o[s?e[a]:a]:n}}function Ir(t){return to((function(e){var r=e.length,o=r,s=Vn.prototype.thru;for(t&&e.reverse();o--;){var a=e[o];if("function"!=typeof a)throw new Et(i);if(s&&!l&&"wrapper"==ro(a))var l=new Vn([],!0)}for(o=l?o:r;++o<r;){var c=ro(a=e[o]),u="wrapper"==c?io(a):n;l=u&&_o(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?l[ro(u[0])].apply(l,u[3]):1==a.length&&_o(a)?l[c]():l.thru(a)}return function(){var t=arguments,n=t[0];if(l&&1==t.length&&Us(n))return l.plant(n).value();for(var i=0,o=r?e[i].apply(this,t):n;++i<r;)o=e[i].call(this,o);return o}}))}function Br(t,e,i,r,o,s,l,c,u,h){var d=e&a,p=1&e,f=2&e,g=24&e,m=512&e,v=f?n:$r(t);return function a(){for(var y=arguments.length,b=xt(y),_=y;_--;)b[_]=arguments[_];if(g)var x=oo(a),w=function(t,e){for(var n=t.length,i=0;n--;)t[n]===e&&++i;return i}(b,x);if(r&&(b=Cr(b,r,o,g)),s&&(b=Ar(b,s,l,g)),y-=w,g&&y<h){var S=an(b,x);return Hr(t,e,Br,a.placeholder,i,b,S,c,u,h-y)}var k=p?i:this,C=f?k[t]:t;return y=b.length,c?b=function(t,e){for(var i=t.length,r=yn(e.length,i),o=Or(t);r--;){var s=e[r];t[r]=vo(s,i)?o[s]:n}return t}(b,c):m&&y>1&&b.reverse(),d&&u<y&&(b.length=u),this&&this!==he&&this instanceof a&&(C=v||$r(C)),C.apply(k,b)}}function Nr(t,e){return function(n,i){return function(t,e,n,i){return bi(t,(function(t,r,o){e(i,n(t),r,o)})),i}(n,t,e(i),{})}}function Fr(t,e){return function(i,r){var o;if(i===n&&r===n)return e;if(i!==n&&(o=i),r!==n){if(o===n)return r;"string"==typeof i||"string"==typeof r?(i=ar(i),r=ar(r)):(i=sr(i),r=sr(r)),o=t(i,r)}return o}}function zr(t){return to((function(e){return e=Me(e,Ye(so())),Xi((function(n){var i=this;return t(e,(function(t){return Se(t,i,n)}))}))}))}function Vr(t,e){var i=(e=e===n?" ":ar(e)).length;if(i<2)return i?Gi(e,t):e;var r=Gi(e,ge(t/cn(e)));return rn(e)?br(un(r),0,t).join(""):r.slice(0,t)}function Wr(t){return function(e,i,r){return r&&"number"!=typeof r&&yo(e,i,r)&&(i=r=n),e=pa(e),i===n?(i=e,e=0):i=pa(i),function(t,e,n,i){for(var r=-1,o=vn(ge((e-t)/(n||1)),0),s=xt(o);o--;)s[i?o:++r]=t,t+=n;return s}(e,i,r=r===n?e<i?1:-1:pa(r),t)}}function Ur(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=ma(e),n=ma(n)),t(e,n)}}function Hr(t,e,i,r,o,a,l,c,u,h){var d=8&e;e|=d?s:64,4&(e&=~(d?64:s))||(e&=-4);var p=[t,e,o,d?a:n,d?l:n,d?n:a,d?n:l,c,u,h],f=i.apply(n,p);return _o(t)&&To(f,p),f.placeholder=r,Mo(f,t,e)}function qr(t){var e=Ct[t];return function(t,n){if(t=ma(t),(n=null==n?0:yn(fa(n),292))&&fn(t)){var i=(ya(t)+"e").split("e");return+((i=(ya(e(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return e(t)}}var Gr=An&&1/ln(new An([,-0]))[1]==l?function(t){return new An(t)}:ll;function Xr(t){return function(e){var n=po(e);return n==w?on(e):n==O?function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}(e):function(t,e){return Me(e,(function(e){return[e,t[e]]}))}(e,t(e))}}function Yr(t,e,r,l,c,u,h,d){var p=2&e;if(!p&&"function"!=typeof t)throw new Et(i);var f=l?l.length:0;if(f||(e&=-97,l=c=n),h=h===n?h:vn(fa(h),0),d=d===n?d:fa(d),f-=c?c.length:0,64&e){var g=l,m=c;l=c=n}var v=p?n:io(t),y=[t,e,r,l,c,g,m,u,h,d];if(v&&function(t,e){var n=t[1],i=e[1],r=n|i,s=r<131,l=i==a&&8==n||i==a&&256==n&&t[7].length<=e[8]||384==i&&e[7].length<=e[8]&&8==n;if(!s&&!l)return t;1&i&&(t[2]=e[2],r|=1&n?0:4);var c=e[3];if(c){var u=t[3];t[3]=u?Cr(u,c,e[4]):c,t[4]=u?an(t[3],o):e[4]}(c=e[5])&&(u=t[5],t[5]=u?Ar(u,c,e[6]):c,t[6]=u?an(t[5],o):e[6]),(c=e[7])&&(t[7]=c),i&a&&(t[8]=null==t[8]?e[8]:yn(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=r}(y,v),t=y[0],e=y[1],r=y[2],l=y[3],c=y[4],!(d=y[9]=y[9]===n?p?0:t.length:vn(y[9]-f,0))&&24&e&&(e&=-25),e&&1!=e)b=8==e||16==e?function(t,e,i){var r=$r(t);return function o(){for(var s=arguments.length,a=xt(s),l=s,c=oo(o);l--;)a[l]=arguments[l];var u=s<3&&a[0]!==c&&a[s-1]!==c?[]:an(a,c);return(s-=u.length)<i?Hr(t,e,Br,o.placeholder,n,a,u,n,n,i-s):Se(this&&this!==he&&this instanceof o?r:t,this,a)}}(t,e,d):e!=s&&33!=e||c.length?Br.apply(n,y):function(t,e,n,i){var r=1&e,o=$r(t);return function e(){for(var s=-1,a=arguments.length,l=-1,c=i.length,u=xt(c+a),h=this&&this!==he&&this instanceof e?o:t;++l<c;)u[l]=i[l];for(;a--;)u[l++]=arguments[++s];return Se(h,r?n:this,u)}}(t,e,r,l);else var b=function(t,e,n){var i=1&e,r=$r(t);return function e(){return(this&&this!==he&&this instanceof e?r:t).apply(i?n:this,arguments)}}(t,e,r);return Mo((v?Ji:To)(b,y),t,e)}function Kr(t,e,i,r){return t===n||Fs(t,Lt[i])&&!$t.call(r,i)?e:t}function Zr(t,e,i,r,o,s){return ta(t)&&ta(e)&&(s.set(e,t),Fi(t,e,n,Zr,s),s.delete(e)),t}function Jr(t){return ra(t)?n:t}function Qr(t,e,i,r,o,s){var a=1&i,l=t.length,c=e.length;if(l!=c&&!(a&&c>l))return!1;var u=s.get(t),h=s.get(e);if(u&&h)return u==e&&h==t;var d=-1,p=!0,f=2&i?new Gn:n;for(s.set(t,e),s.set(e,t);++d<l;){var g=t[d],m=e[d];if(r)var v=a?r(m,g,d,e,t,s):r(g,m,d,t,e,s);if(v!==n){if(v)continue;p=!1;break}if(f){if(!$e(e,(function(t,e){if(!Ze(f,e)&&(g===t||o(g,t,i,r,s)))return f.push(e)}))){p=!1;break}}else if(g!==m&&!o(g,m,i,r,s)){p=!1;break}}return s.delete(t),s.delete(e),p}function to(t){return Po(Co(t,n,Ho),t+"")}function eo(t){return Si(t,Ma,uo)}function no(t){return Si(t,La,ho)}var io=En?function(t){return En.get(t)}:ll;function ro(t){for(var e=t.name+"",n=Pn[e],i=$t.call(Pn,e)?n.length:0;i--;){var r=n[i],o=r.func;if(null==o||o==t)return r.name}return e}function oo(t){return($t.call(Nn,"placeholder")?Nn:t).placeholder}function so(){var t=Nn.iteratee||rl;return t=t===rl?Di:t,arguments.length?t(arguments[0],arguments[1]):t}function ao(t,e){var n=t.__data__;return function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}(e)?n["string"==typeof e?"string":"hash"]:n.map}function lo(t){for(var e=Ma(t),n=e.length;n--;){var i=e[n],r=t[i];e[n]=[i,r,So(r)]}return e}function co(t,e){var i=function(t,e){return null==t?n:t[e]}(t,e);return ji(i)?i:n}var uo=Re?function(t){return null==t?[]:(t=At(t),Te(Re(t),(function(e){return Xt.call(t,e)})))}:gl,ho=Re?function(t){for(var e=[];t;)Le(e,uo(t)),t=qt(t);return e}:gl,po=ki;function fo(t,e,n){for(var i=-1,r=(e=vr(e,t)).length,o=!1;++i<r;){var s=Io(e[i]);if(!(o=null!=t&&n(t,s)))break;t=t[s]}return o||++i!=r?o:!!(r=null==t?0:t.length)&&Qs(r)&&vo(s,r)&&(Us(t)||Ws(t))}function go(t){return"function"!=typeof t.constructor||wo(t)?{}:Fn(qt(t))}function mo(t){return Us(t)||Ws(t)||!!(Jt&&t&&t[Jt])}function vo(t,e){var n=typeof t;return!!(e=e??c)&&("number"==n||"symbol"!=n&&vt.test(t))&&t>-1&&t%1==0&&t<e}function yo(t,e,n){if(!ta(n))return!1;var i=typeof e;return!!("number"==i?qs(n)&&vo(e,n.length):"string"==i&&e in n)&&Fs(n[e],t)}function bo(t,e){if(Us(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!la(t))||Q.test(t)||!J.test(t)||null!=e&&t in At(e)}function _o(t){var e=ro(t),n=Nn[e];if("function"!=typeof n||!(e in Wn.prototype))return!1;if(t===n)return!0;var i=io(n);return!!i&&t===i[0]}(Sn&&po(new Sn(new ArrayBuffer(1)))!=L||kn&&po(new kn)!=w||Cn&&po(Cn.resolve())!=C||An&&po(new An)!=O||On&&po(new On)!=P)&&(po=function(t){var e=ki(t),i=e==k?t.constructor:n,r=i?Bo(i):"";if(r)switch(r){case Mn:return L;case Ln:return w;case jn:return C;case Dn:return O;case $n:return P}return e});var xo=jt?Zs:ml;function wo(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Lt)}function So(t){return t==t&&!ta(t)}function ko(t,e){return function(i){return null!=i&&i[t]===e&&(e!==n||t in At(i))}}function Co(t,e,i){return e=vn(e===n?t.length-1:e,0),function(){for(var n=arguments,r=-1,o=vn(n.length-e,0),s=xt(o);++r<o;)s[r]=n[e+r];r=-1;for(var a=xt(e+1);++r<e;)a[r]=n[r];return a[e]=i(s),Se(t,this,a)}}function Ao(t,e){return e.length<2?t:wi(t,er(e,0,-1))}function Oo(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var To=Lo(Ji),Eo=pe||function(t,e){return he.setTimeout(t,e)},Po=Lo(Qi);function Mo(t,e,n){var i=e+"";return Po(t,function(t,e){var n=e.length;if(!n)return t;var i=n-1;return e[i]=(n>1?"& ":"")+e[i],e=e.join(n>2?", ":" "),t.replace(ot,"{\n/* [wrapped with "+e+"] */\n")}(i,function(t,e){return Ce(f,(function(n){var i="_."+n[0];e&n[1]&&!Ee(t,i)&&t.push(i)})),t.sort()}(function(t){var e=t.match(st);return e?e[1].split(at):[]}(i),n)))}function Lo(t){var e=0,i=0;return function(){var r=bn(),o=16-(r-i);if(i=r,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(n,arguments)}}function jo(t,e){var i=-1,r=t.length,o=r-1;for(e=e===n?r:e;++i<e;){var s=qi(i,o),a=t[s];t[s]=t[i],t[i]=a}return t.length=e,t}var Do,$o,Ro=(Do=Ds((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(tt,(function(t,n,i,r){e.push(i?r.replace(ut,"$1"):n||t)})),e}),(function(t){return 500===$o.size&&$o.clear(),t})),$o=Do.cache,Do);function Io(t){if("string"==typeof t||la(t))return t;var e=t+"";return"0"==e&&1/t==-l?"-0":e}function Bo(t){if(null!=t){try{return Dt.call(t)}catch{}try{return t+""}catch{}}return""}function No(t){if(t instanceof Wn)return t.clone();var e=new Vn(t.__wrapped__,t.__chain__);return e.__actions__=Or(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Fo=Xi((function(t,e){return Gs(t)?ui(t,mi(e,1,Gs,!0)):[]})),zo=Xi((function(t,e){var i=Ko(e);return Gs(i)&&(i=n),Gs(t)?ui(t,mi(e,1,Gs,!0),so(i,2)):[]})),Vo=Xi((function(t,e){var i=Ko(e);return Gs(i)&&(i=n),Gs(t)?ui(t,mi(e,1,Gs,!0),n,i):[]}));function Wo(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:fa(n);return r<0&&(r=vn(i+r,0)),Be(t,so(e,3),r)}function Uo(t,e,i){var r=null==t?0:t.length;if(!r)return-1;var o=r-1;return i!==n&&(o=fa(i),o=i<0?vn(r+o,0):yn(o,r-1)),Be(t,so(e,3),o,!0)}function Ho(t){return null!=t&&t.length?mi(t,1):[]}function qo(t){return t&&t.length?t[0]:n}var Go=Xi((function(t){var e=Me(t,gr);return e.length&&e[0]===t[0]?Ti(e):[]})),Xo=Xi((function(t){var e=Ko(t),i=Me(t,gr);return e===Ko(i)?e=n:i.pop(),i.length&&i[0]===t[0]?Ti(i,so(e,2)):[]})),Yo=Xi((function(t){var e=Ko(t),i=Me(t,gr);return(e="function"==typeof e?e:n)&&i.pop(),i.length&&i[0]===t[0]?Ti(i,n,e):[]}));function Ko(t){var e=null==t?0:t.length;return e?t[e-1]:n}var Zo=Xi(Jo);function Jo(t,e){return t&&t.length&&e&&e.length?Ui(t,e):t}var Qo=to((function(t,e){var n=null==t?0:t.length,i=oi(t,e);return Hi(t,Me(e,(function(t){return vo(t,n)?+t:t})).sort(kr)),i}));function ts(t){return null==t?t:wn.call(t)}var es=Xi((function(t){return lr(mi(t,1,Gs,!0))})),ns=Xi((function(t){var e=Ko(t);return Gs(e)&&(e=n),lr(mi(t,1,Gs,!0),so(e,2))})),is=Xi((function(t){var e=Ko(t);return e="function"==typeof e?e:n,lr(mi(t,1,Gs,!0),n,e)}));function rs(t){if(!t||!t.length)return[];var e=0;return t=Te(t,(function(t){if(Gs(t))return e=vn(t.length,e),!0})),Ge(e,(function(e){return Me(t,We(e))}))}function os(t,e){if(!t||!t.length)return[];var i=rs(t);return null==e?i:Me(i,(function(t){return Se(e,n,t)}))}var ss=Xi((function(t,e){return Gs(t)?ui(t,e):[]})),as=Xi((function(t){return pr(Te(t,Gs))})),ls=Xi((function(t){var e=Ko(t);return Gs(e)&&(e=n),pr(Te(t,Gs),so(e,2))})),cs=Xi((function(t){var e=Ko(t);return e="function"==typeof e?e:n,pr(Te(t,Gs),n,e)})),us=Xi(rs),hs=Xi((function(t){var e=t.length,i=e>1?t[e-1]:n;return i="function"==typeof i?(t.pop(),i):n,os(t,i)}));function ds(t){var e=Nn(t);return e.__chain__=!0,e}function ps(t,e){return e(t)}var fs=to((function(t){var e=t.length,i=e?t[0]:0,r=this.__wrapped__,o=function(e){return oi(e,t)};return!(e>1||this.__actions__.length)&&r instanceof Wn&&vo(i)?((r=r.slice(i,+i+(e?1:0))).__actions__.push({func:ps,args:[o],thisArg:n}),new Vn(r,this.__chain__).thru((function(t){return e&&!t.length&&t.push(n),t}))):this.thru(o)})),gs=Er((function(t,e,n){$t.call(t,n)?++t[n]:ri(t,n,1)})),ms=Rr(Wo),vs=Rr(Uo);function ys(t,e){return(Us(t)?Ce:hi)(t,so(e,3))}function bs(t,e){return(Us(t)?Ae:di)(t,so(e,3))}var _s=Er((function(t,e,n){$t.call(t,n)?t[n].push(e):ri(t,n,[e])})),xs=Xi((function(t,e,n){var i=-1,r="function"==typeof e,o=qs(t)?xt(t.length):[];return hi(t,(function(t){o[++i]=r?Se(e,t,n):Ei(t,e,n)})),o})),ws=Er((function(t,e,n){ri(t,n,e)}));function Ss(t,e){return(Us(t)?Me:Ii)(t,so(e,3))}var ks=Er((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]})),Cs=Xi((function(t,e){if(null==t)return[];var n=e.length;return n>1&&yo(t,e[0],e[1])?e=[]:n>2&&yo(e[0],e[1],e[2])&&(e=[e[0]]),Vi(t,mi(e,1),[])})),As=de||function(){return he.Date.now()};function Os(t,e,i){return e=i?n:e,e=t&&null==e?t.length:e,Yr(t,a,n,n,n,n,e)}function Ts(t,e){var r;if("function"!=typeof e)throw new Et(i);return t=fa(t),function(){return--t>0&&(r=e.apply(this,arguments)),t<=1&&(e=n),r}}var Es=Xi((function(t,e,n){var i=1;if(n.length){var r=an(n,oo(Es));i|=s}return Yr(t,i,e,n,r)})),Ps=Xi((function(t,e,n){var i=3;if(n.length){var r=an(n,oo(Ps));i|=s}return Yr(e,i,t,n,r)}));function Ms(t,e,r){var o,s,a,l,c,u,h=0,d=!1,p=!1,f=!0;if("function"!=typeof t)throw new Et(i);function g(e){var i=o,r=s;return o=s=n,h=e,l=t.apply(r,i)}function m(t){var i=t-u;return u===n||i>=e||i<0||p&&t-h>=a}function v(){var t=As();if(m(t))return y(t);c=Eo(v,function(t){var n=e-(t-u);return p?yn(n,a-(t-h)):n}(t))}function y(t){return c=n,f&&o?g(t):(o=s=n,l)}function b(){var t=As(),i=m(t);if(o=arguments,s=this,u=t,i){if(c===n)return function(t){return h=t,c=Eo(v,e),d?g(t):l}(u);if(p)return _r(c),c=Eo(v,e),g(u)}return c===n&&(c=Eo(v,e)),l}return e=ma(e)||0,ta(r)&&(d=!!r.leading,a=(p="maxWait"in r)?vn(ma(r.maxWait)||0,e):a,f="trailing"in r?!!r.trailing:f),b.cancel=function(){c!==n&&_r(c),h=0,o=u=s=c=n},b.flush=function(){return c===n?l:y(As())},b}var Ls=Xi((function(t,e){return ci(t,1,e)})),js=Xi((function(t,e,n){return ci(t,ma(e)||0,n)}));function Ds(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new Et(i);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var s=t.apply(this,i);return n.cache=o.set(r,s)||o,s};return n.cache=new(Ds.Cache||qn),n}function $s(t){if("function"!=typeof t)throw new Et(i);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Ds.Cache=qn;var Rs=yr((function(t,e){var n=(e=1==e.length&&Us(e[0])?Me(e[0],Ye(so())):Me(mi(e,1),Ye(so()))).length;return Xi((function(i){for(var r=-1,o=yn(i.length,n);++r<o;)i[r]=e[r].call(this,i[r]);return Se(t,this,i)}))})),Is=Xi((function(t,e){var i=an(e,oo(Is));return Yr(t,s,n,e,i)})),Bs=Xi((function(t,e){var i=an(e,oo(Bs));return Yr(t,64,n,e,i)})),Ns=to((function(t,e){return Yr(t,256,n,n,n,e)}));function Fs(t,e){return t===e||t!=t&&e!=e}var zs=Ur(Ci),Vs=Ur((function(t,e){return t>=e})),Ws=Pi(function(){return arguments}())?Pi:function(t){return ea(t)&&$t.call(t,"callee")&&!Xt.call(t,"callee")},Us=xt.isArray,Hs=ve?Ye(ve):function(t){return ea(t)&&ki(t)==M};function qs(t){return null!=t&&Qs(t.length)&&!Zs(t)}function Gs(t){return ea(t)&&qs(t)}var Xs=Ue||ml,Ys=ye?Ye(ye):function(t){return ea(t)&&ki(t)==y};function Ks(t){if(!ea(t))return!1;var e=ki(t);return e==b||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!ra(t)}function Zs(t){if(!ta(t))return!1;var e=ki(t);return e==_||e==x||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Js(t){return"number"==typeof t&&t==fa(t)}function Qs(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=c}function ta(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function ea(t){return null!=t&&"object"==typeof t}var na=be?Ye(be):function(t){return ea(t)&&po(t)==w};function ia(t){return"number"==typeof t||ea(t)&&ki(t)==S}function ra(t){if(!ea(t)||ki(t)!=k)return!1;var e=qt(t);if(null===e)return!0;var n=$t.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Dt.call(n)==Nt}var oa=_e?Ye(_e):function(t){return ea(t)&&ki(t)==A},sa=xe?Ye(xe):function(t){return ea(t)&&po(t)==O};function aa(t){return"string"==typeof t||!Us(t)&&ea(t)&&ki(t)==T}function la(t){return"symbol"==typeof t||ea(t)&&ki(t)==E}var ca=we?Ye(we):function(t){return ea(t)&&Qs(t.length)&&!!re[ki(t)]},ua=Ur(Ri),ha=Ur((function(t,e){return t<=e}));function da(t){if(!t)return[];if(qs(t))return aa(t)?un(t):Or(t);if(te&&t[te])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[te]());var e=po(t);return(e==w?on:e==O?ln:Fa)(t)}function pa(t){return t?(t=ma(t))===l||t===-l?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function fa(t){var e=pa(t),n=e%1;return e==e?n?e-n:e:0}function ga(t){return t?si(fa(t),0,h):0}function ma(t){if("number"==typeof t)return t;if(la(t))return u;if(ta(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ta(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Xe(t);var n=ft.test(t);return n||mt.test(t)?le(t.slice(2),n?2:8):pt.test(t)?u:+t}function va(t){return Tr(t,La(t))}function ya(t){return null==t?"":ar(t)}var ba=Pr((function(t,e){if(wo(e)||qs(e))Tr(e,Ma(e),t);else for(var n in e)$t.call(e,n)&&ti(t,n,e[n])})),_a=Pr((function(t,e){Tr(e,La(e),t)})),xa=Pr((function(t,e,n,i){Tr(e,La(e),t,i)})),wa=Pr((function(t,e,n,i){Tr(e,Ma(e),t,i)})),Sa=to(oi),ka=Xi((function(t,e){t=At(t);var i=-1,r=e.length,o=r>2?e[2]:n;for(o&&yo(e[0],e[1],o)&&(r=1);++i<r;)for(var s=e[i],a=La(s),l=-1,c=a.length;++l<c;){var u=a[l],h=t[u];(h===n||Fs(h,Lt[u])&&!$t.call(t,u))&&(t[u]=s[u])}return t})),Ca=Xi((function(t){return t.push(n,Zr),Se(Da,n,t)}));function Aa(t,e,i){var r=null==t?n:wi(t,e);return r===n?i:r}function Oa(t,e){return null!=t&&fo(t,e,Oi)}var Ta=Nr((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Bt.call(e)),t[e]=n}),tl(il)),Ea=Nr((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Bt.call(e)),$t.call(t,e)?t[e].push(n):t[e]=[n]}),so),Pa=Xi(Ei);function Ma(t){return qs(t)?Yn(t):$i(t)}function La(t){return qs(t)?Yn(t,!0):function(t){if(!ta(t))return function(t){var e=[];if(null!=t)for(var n in At(t))e.push(n);return e}(t);var e=wo(t),n=[];for(var i in t)"constructor"==i&&(e||!$t.call(t,i))||n.push(i);return n}(t)}var ja=Pr((function(t,e,n){Fi(t,e,n)})),Da=Pr((function(t,e,n,i){Fi(t,e,n,i)})),$a=to((function(t,e){var n={};if(null==t)return n;var i=!1;e=Me(e,(function(e){return e=vr(e,t),i||(i=e.length>1),e})),Tr(t,no(t),n),i&&(n=ai(n,7,Jr));for(var r=e.length;r--;)cr(n,e[r]);return n})),Ra=to((function(t,e){return null==t?{}:function(t,e){return Wi(t,e,(function(e,n){return Oa(t,n)}))}(t,e)}));function Ia(t,e){if(null==t)return{};var n=Me(no(t),(function(t){return[t]}));return e=so(e),Wi(t,n,(function(t,n){return e(t,n[0])}))}var Ba=Xr(Ma),Na=Xr(La);function Fa(t){return null==t?[]:Ke(t,Ma(t))}var za=Dr((function(t,e,n){return e=e.toLowerCase(),t+(n?Va(e):e)}));function Va(t){return Ka(ya(t).toLowerCase())}function Wa(t){return(t=ya(t))&&t.replace(yt,tn).replace(Zt,"")}var Ua=Dr((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Ha=Dr((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),qa=jr("toLowerCase"),Ga=Dr((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()})),Xa=Dr((function(t,e,n){return t+(n?" ":"")+Ka(e)})),Ya=Dr((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Ka=jr("toUpperCase");function Za(t,e,i){return t=ya(t),(e=i?n:e)===n?function(t){return ee.test(t)}(t)?function(t){return t.match(Qt)||[]}(t):function(t){return t.match(lt)||[]}(t):t.match(e)||[]}var Ja=Xi((function(t,e){try{return Se(t,n,e)}catch(t){return Ks(t)?t:new St(t)}})),Qa=to((function(t,e){return Ce(e,(function(e){e=Io(e),ri(t,e,Es(t[e],t))})),t}));function tl(t){return function(){return t}}var el=Ir(),nl=Ir(!0);function il(t){return t}function rl(t){return Di("function"==typeof t?t:ai(t,1))}var ol=Xi((function(t,e){return function(n){return Ei(n,t,e)}})),sl=Xi((function(t,e){return function(n){return Ei(t,n,e)}}));function al(t,e,n){var i=Ma(e),r=xi(e,i);null==n&&(!ta(e)||!r.length&&i.length)&&(n=e,e=t,t=this,r=xi(e,Ma(e)));var o=!(ta(n)&&"chain"in n&&!n.chain),s=Zs(t);return Ce(r,(function(n){var i=e[n];t[n]=i,s&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=Or(this.__actions__)).push({func:i,args:arguments,thisArg:t}),n.__chain__=e,n}return i.apply(t,Le([this.value()],arguments))})})),t}function ll(){}var cl=zr(Me),ul=zr(Oe),hl=zr($e);function dl(t){return bo(t)?We(Io(t)):function(t){return function(e){return wi(e,t)}}(t)}var pl=Wr(),fl=Wr(!0);function gl(){return[]}function ml(){return!1}var vl=Fr((function(t,e){return t+e}),0),yl=qr("ceil"),bl=Fr((function(t,e){return t/e}),1),_l=qr("floor"),xl=Fr((function(t,e){return t*e}),1),wl=qr("round"),Sl=Fr((function(t,e){return t-e}),0);return Nn.after=function(t,e){if("function"!=typeof e)throw new Et(i);return t=fa(t),function(){if(--t<1)return e.apply(this,arguments)}},Nn.ary=Os,Nn.assign=ba,Nn.assignIn=_a,Nn.assignInWith=xa,Nn.assignWith=wa,Nn.at=Sa,Nn.before=Ts,Nn.bind=Es,Nn.bindAll=Qa,Nn.bindKey=Ps,Nn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Us(t)?t:[t]},Nn.chain=ds,Nn.chunk=function(t,e,i){e=(i?yo(t,e,i):e===n)?1:vn(fa(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];for(var o=0,s=0,a=xt(ge(r/e));o<r;)a[s++]=er(t,o,o+=e);return a},Nn.compact=function(t){for(var e=-1,n=null==t?0:t.length,i=0,r=[];++e<n;){var o=t[e];o&&(r[i++]=o)}return r},Nn.concat=function(){var t=arguments.length;if(!t)return[];for(var e=xt(t-1),n=arguments[0],i=t;i--;)e[i-1]=arguments[i];return Le(Us(n)?Or(n):[n],mi(e,1))},Nn.cond=function(t){var e=null==t?0:t.length,n=so();return t=e?Me(t,(function(t){if("function"!=typeof t[1])throw new Et(i);return[n(t[0]),t[1]]})):[],Xi((function(n){for(var i=-1;++i<e;){var r=t[i];if(Se(r[0],this,n))return Se(r[1],this,n)}}))},Nn.conforms=function(t){return function(t){var e=Ma(t);return function(n){return li(n,t,e)}}(ai(t,1))},Nn.constant=tl,Nn.countBy=gs,Nn.create=function(t,e){var n=Fn(t);return null==e?n:ii(n,e)},Nn.curry=function t(e,i,r){var o=Yr(e,8,n,n,n,n,n,i=r?n:i);return o.placeholder=t.placeholder,o},Nn.curryRight=function t(e,i,r){var o=Yr(e,16,n,n,n,n,n,i=r?n:i);return o.placeholder=t.placeholder,o},Nn.debounce=Ms,Nn.defaults=ka,Nn.defaultsDeep=Ca,Nn.defer=Ls,Nn.delay=js,Nn.difference=Fo,Nn.differenceBy=zo,Nn.differenceWith=Vo,Nn.drop=function(t,e,i){var r=null==t?0:t.length;return r?er(t,(e=i||e===n?1:fa(e))<0?0:e,r):[]},Nn.dropRight=function(t,e,i){var r=null==t?0:t.length;return r?er(t,0,(e=r-(e=i||e===n?1:fa(e)))<0?0:e):[]},Nn.dropRightWhile=function(t,e){return t&&t.length?hr(t,so(e,3),!0,!0):[]},Nn.dropWhile=function(t,e){return t&&t.length?hr(t,so(e,3),!0):[]},Nn.fill=function(t,e,i,r){var o=null==t?0:t.length;return o?(i&&"number"!=typeof i&&yo(t,e,i)&&(i=0,r=o),function(t,e,i,r){var o=t.length;for((i=fa(i))<0&&(i=-i>o?0:o+i),(r=r===n||r>o?o:fa(r))<0&&(r+=o),r=i>r?0:ga(r);i<r;)t[i++]=e;return t}(t,e,i,r)):[]},Nn.filter=function(t,e){return(Us(t)?Te:gi)(t,so(e,3))},Nn.flatMap=function(t,e){return mi(Ss(t,e),1)},Nn.flatMapDeep=function(t,e){return mi(Ss(t,e),l)},Nn.flatMapDepth=function(t,e,i){return i=i===n?1:fa(i),mi(Ss(t,e),i)},Nn.flatten=Ho,Nn.flattenDeep=function(t){return null!=t&&t.length?mi(t,l):[]},Nn.flattenDepth=function(t,e){return null!=t&&t.length?mi(t,e=e===n?1:fa(e)):[]},Nn.flip=function(t){return Yr(t,512)},Nn.flow=el,Nn.flowRight=nl,Nn.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,i={};++e<n;){var r=t[e];i[r[0]]=r[1]}return i},Nn.functions=function(t){return null==t?[]:xi(t,Ma(t))},Nn.functionsIn=function(t){return null==t?[]:xi(t,La(t))},Nn.groupBy=_s,Nn.initial=function(t){return null!=t&&t.length?er(t,0,-1):[]},Nn.intersection=Go,Nn.intersectionBy=Xo,Nn.intersectionWith=Yo,Nn.invert=Ta,Nn.invertBy=Ea,Nn.invokeMap=xs,Nn.iteratee=rl,Nn.keyBy=ws,Nn.keys=Ma,Nn.keysIn=La,Nn.map=Ss,Nn.mapKeys=function(t,e){var n={};return e=so(e,3),bi(t,(function(t,i,r){ri(n,e(t,i,r),t)})),n},Nn.mapValues=function(t,e){var n={};return e=so(e,3),bi(t,(function(t,i,r){ri(n,i,e(t,i,r))})),n},Nn.matches=function(t){return Bi(ai(t,1))},Nn.matchesProperty=function(t,e){return Ni(t,ai(e,1))},Nn.memoize=Ds,Nn.merge=ja,Nn.mergeWith=Da,Nn.method=ol,Nn.methodOf=sl,Nn.mixin=al,Nn.negate=$s,Nn.nthArg=function(t){return t=fa(t),Xi((function(e){return zi(e,t)}))},Nn.omit=$a,Nn.omitBy=function(t,e){return Ia(t,$s(so(e)))},Nn.once=function(t){return Ts(2,t)},Nn.orderBy=function(t,e,i,r){return null==t?[]:(Us(e)||(e=null==e?[]:[e]),Us(i=r?n:i)||(i=null==i?[]:[i]),Vi(t,e,i))},Nn.over=cl,Nn.overArgs=Rs,Nn.overEvery=ul,Nn.overSome=hl,Nn.partial=Is,Nn.partialRight=Bs,Nn.partition=ks,Nn.pick=Ra,Nn.pickBy=Ia,Nn.property=dl,Nn.propertyOf=function(t){return function(e){return null==t?n:wi(t,e)}},Nn.pull=Zo,Nn.pullAll=Jo,Nn.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Ui(t,e,so(n,2)):t},Nn.pullAllWith=function(t,e,i){return t&&t.length&&e&&e.length?Ui(t,e,n,i):t},Nn.pullAt=Qo,Nn.range=pl,Nn.rangeRight=fl,Nn.rearg=Ns,Nn.reject=function(t,e){return(Us(t)?Te:gi)(t,$s(so(e,3)))},Nn.remove=function(t,e){var n=[];if(!t||!t.length)return n;var i=-1,r=[],o=t.length;for(e=so(e,3);++i<o;){var s=t[i];e(s,i,t)&&(n.push(s),r.push(i))}return Hi(t,r),n},Nn.rest=function(t,e){if("function"!=typeof t)throw new Et(i);return Xi(t,e=e===n?e:fa(e))},Nn.reverse=ts,Nn.sampleSize=function(t,e,i){return e=(i?yo(t,e,i):e===n)?1:fa(e),(Us(t)?Zn:Ki)(t,e)},Nn.set=function(t,e,n){return null==t?t:Zi(t,e,n)},Nn.setWith=function(t,e,i,r){return r="function"==typeof r?r:n,null==t?t:Zi(t,e,i,r)},Nn.shuffle=function(t){return(Us(t)?Jn:tr)(t)},Nn.slice=function(t,e,i){var r=null==t?0:t.length;return r?(i&&"number"!=typeof i&&yo(t,e,i)?(e=0,i=r):(e=null==e?0:fa(e),i=i===n?r:fa(i)),er(t,e,i)):[]},Nn.sortBy=Cs,Nn.sortedUniq=function(t){return t&&t.length?or(t):[]},Nn.sortedUniqBy=function(t,e){return t&&t.length?or(t,so(e,2)):[]},Nn.split=function(t,e,i){return i&&"number"!=typeof i&&yo(t,e,i)&&(e=i=n),(i=i===n?h:i>>>0)?(t=ya(t))&&("string"==typeof e||null!=e&&!oa(e))&&!(e=ar(e))&&rn(t)?br(un(t),0,i):t.split(e,i):[]},Nn.spread=function(t,e){if("function"!=typeof t)throw new Et(i);return e=null==e?0:vn(fa(e),0),Xi((function(n){var i=n[e],r=br(n,0,e);return i&&Le(r,i),Se(t,this,r)}))},Nn.tail=function(t){var e=null==t?0:t.length;return e?er(t,1,e):[]},Nn.take=function(t,e,i){return t&&t.length?er(t,0,(e=i||e===n?1:fa(e))<0?0:e):[]},Nn.takeRight=function(t,e,i){var r=null==t?0:t.length;return r?er(t,(e=r-(e=i||e===n?1:fa(e)))<0?0:e,r):[]},Nn.takeRightWhile=function(t,e){return t&&t.length?hr(t,so(e,3),!1,!0):[]},Nn.takeWhile=function(t,e){return t&&t.length?hr(t,so(e,3)):[]},Nn.tap=function(t,e){return e(t),t},Nn.throttle=function(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw new Et(i);return ta(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Ms(t,e,{leading:r,maxWait:e,trailing:o})},Nn.thru=ps,Nn.toArray=da,Nn.toPairs=Ba,Nn.toPairsIn=Na,Nn.toPath=function(t){return Us(t)?Me(t,Io):la(t)?[t]:Or(Ro(ya(t)))},Nn.toPlainObject=va,Nn.transform=function(t,e,n){var i=Us(t),r=i||Xs(t)||ca(t);if(e=so(e,4),null==n){var o=t&&t.constructor;n=r?i?new o:[]:ta(t)&&Zs(o)?Fn(qt(t)):{}}return(r?Ce:bi)(t,(function(t,i,r){return e(n,t,i,r)})),n},Nn.unary=function(t){return Os(t,1)},Nn.union=es,Nn.unionBy=ns,Nn.unionWith=is,Nn.uniq=function(t){return t&&t.length?lr(t):[]},Nn.uniqBy=function(t,e){return t&&t.length?lr(t,so(e,2)):[]},Nn.uniqWith=function(t,e){return e="function"==typeof e?e:n,t&&t.length?lr(t,n,e):[]},Nn.unset=function(t,e){return null==t||cr(t,e)},Nn.unzip=rs,Nn.unzipWith=os,Nn.update=function(t,e,n){return null==t?t:ur(t,e,mr(n))},Nn.updateWith=function(t,e,i,r){return r="function"==typeof r?r:n,null==t?t:ur(t,e,mr(i),r)},Nn.values=Fa,Nn.valuesIn=function(t){return null==t?[]:Ke(t,La(t))},Nn.without=ss,Nn.words=Za,Nn.wrap=function(t,e){return Is(mr(e),t)},Nn.xor=as,Nn.xorBy=ls,Nn.xorWith=cs,Nn.zip=us,Nn.zipObject=function(t,e){return fr(t||[],e||[],ti)},Nn.zipObjectDeep=function(t,e){return fr(t||[],e||[],Zi)},Nn.zipWith=hs,Nn.entries=Ba,Nn.entriesIn=Na,Nn.extend=_a,Nn.extendWith=xa,al(Nn,Nn),Nn.add=vl,Nn.attempt=Ja,Nn.camelCase=za,Nn.capitalize=Va,Nn.ceil=yl,Nn.clamp=function(t,e,i){return i===n&&(i=e,e=n),i!==n&&(i=(i=ma(i))==i?i:0),e!==n&&(e=(e=ma(e))==e?e:0),si(ma(t),e,i)},Nn.clone=function(t){return ai(t,4)},Nn.cloneDeep=function(t){return ai(t,5)},Nn.cloneDeepWith=function(t,e){return ai(t,5,e="function"==typeof e?e:n)},Nn.cloneWith=function(t,e){return ai(t,4,e="function"==typeof e?e:n)},Nn.conformsTo=function(t,e){return null==e||li(t,e,Ma(e))},Nn.deburr=Wa,Nn.defaultTo=function(t,e){return null==t||t!=t?e:t},Nn.divide=bl,Nn.endsWith=function(t,e,i){t=ya(t),e=ar(e);var r=t.length,o=i=i===n?r:si(fa(i),0,r);return(i-=e.length)>=0&&t.slice(i,o)==e},Nn.eq=Fs,Nn.escape=function(t){return(t=ya(t))&&X.test(t)?t.replace(q,en):t},Nn.escapeRegExp=function(t){return(t=ya(t))&&nt.test(t)?t.replace(et,"\\$&"):t},Nn.every=function(t,e,i){var r=Us(t)?Oe:pi;return i&&yo(t,e,i)&&(e=n),r(t,so(e,3))},Nn.find=ms,Nn.findIndex=Wo,Nn.findKey=function(t,e){return Ie(t,so(e,3),bi)},Nn.findLast=vs,Nn.findLastIndex=Uo,Nn.findLastKey=function(t,e){return Ie(t,so(e,3),_i)},Nn.floor=_l,Nn.forEach=ys,Nn.forEachRight=bs,Nn.forIn=function(t,e){return null==t?t:vi(t,so(e,3),La)},Nn.forInRight=function(t,e){return null==t?t:yi(t,so(e,3),La)},Nn.forOwn=function(t,e){return t&&bi(t,so(e,3))},Nn.forOwnRight=function(t,e){return t&&_i(t,so(e,3))},Nn.get=Aa,Nn.gt=zs,Nn.gte=Vs,Nn.has=function(t,e){return null!=t&&fo(t,e,Ai)},Nn.hasIn=Oa,Nn.head=qo,Nn.identity=il,Nn.includes=function(t,e,n,i){t=qs(t)?t:Fa(t),n=n&&!i?fa(n):0;var r=t.length;return n<0&&(n=vn(r+n,0)),aa(t)?n<=r&&t.indexOf(e,n)>-1:!!r&&Ne(t,e,n)>-1},Nn.indexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:fa(n);return r<0&&(r=vn(i+r,0)),Ne(t,e,r)},Nn.inRange=function(t,e,i){return e=pa(e),i===n?(i=e,e=0):i=pa(i),function(t,e,n){return t>=yn(e,n)&&t<vn(e,n)}(t=ma(t),e,i)},Nn.invoke=Pa,Nn.isArguments=Ws,Nn.isArray=Us,Nn.isArrayBuffer=Hs,Nn.isArrayLike=qs,Nn.isArrayLikeObject=Gs,Nn.isBoolean=function(t){return!0===t||!1===t||ea(t)&&ki(t)==v},Nn.isBuffer=Xs,Nn.isDate=Ys,Nn.isElement=function(t){return ea(t)&&1===t.nodeType&&!ra(t)},Nn.isEmpty=function(t){if(null==t)return!0;if(qs(t)&&(Us(t)||"string"==typeof t||"function"==typeof t.splice||Xs(t)||ca(t)||Ws(t)))return!t.length;var e=po(t);if(e==w||e==O)return!t.size;if(wo(t))return!$i(t).length;for(var n in t)if($t.call(t,n))return!1;return!0},Nn.isEqual=function(t,e){return Mi(t,e)},Nn.isEqualWith=function(t,e,i){var r=(i="function"==typeof i?i:n)?i(t,e):n;return r===n?Mi(t,e,n,i):!!r},Nn.isError=Ks,Nn.isFinite=function(t){return"number"==typeof t&&fn(t)},Nn.isFunction=Zs,Nn.isInteger=Js,Nn.isLength=Qs,Nn.isMap=na,Nn.isMatch=function(t,e){return t===e||Li(t,e,lo(e))},Nn.isMatchWith=function(t,e,i){return i="function"==typeof i?i:n,Li(t,e,lo(e),i)},Nn.isNaN=function(t){return ia(t)&&t!=+t},Nn.isNative=function(t){if(xo(t))throw new St("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return ji(t)},Nn.isNil=function(t){return null==t},Nn.isNull=function(t){return null===t},Nn.isNumber=ia,Nn.isObject=ta,Nn.isObjectLike=ea,Nn.isPlainObject=ra,Nn.isRegExp=oa,Nn.isSafeInteger=function(t){return Js(t)&&t>=-c&&t<=c},Nn.isSet=sa,Nn.isString=aa,Nn.isSymbol=la,Nn.isTypedArray=ca,Nn.isUndefined=function(t){return t===n},Nn.isWeakMap=function(t){return ea(t)&&po(t)==P},Nn.isWeakSet=function(t){return ea(t)&&"[object WeakSet]"==ki(t)},Nn.join=function(t,e){return null==t?"":gn.call(t,e)},Nn.kebabCase=Ua,Nn.last=Ko,Nn.lastIndexOf=function(t,e,i){var r=null==t?0:t.length;if(!r)return-1;var o=r;return i!==n&&(o=(o=fa(i))<0?vn(r+o,0):yn(o,r-1)),e==e?function(t,e,n){for(var i=n+1;i--;)if(t[i]===e)return i;return i}(t,e,o):Be(t,ze,o,!0)},Nn.lowerCase=Ha,Nn.lowerFirst=qa,Nn.lt=ua,Nn.lte=ha,Nn.max=function(t){return t&&t.length?fi(t,il,Ci):n},Nn.maxBy=function(t,e){return t&&t.length?fi(t,so(e,2),Ci):n},Nn.mean=function(t){return Ve(t,il)},Nn.meanBy=function(t,e){return Ve(t,so(e,2))},Nn.min=function(t){return t&&t.length?fi(t,il,Ri):n},Nn.minBy=function(t,e){return t&&t.length?fi(t,so(e,2),Ri):n},Nn.stubArray=gl,Nn.stubFalse=ml,Nn.stubObject=function(){return{}},Nn.stubString=function(){return""},Nn.stubTrue=function(){return!0},Nn.multiply=xl,Nn.nth=function(t,e){return t&&t.length?zi(t,fa(e)):n},Nn.noConflict=function(){return he._===this&&(he._=Ft),this},Nn.noop=ll,Nn.now=As,Nn.pad=function(t,e,n){t=ya(t);var i=(e=fa(e))?cn(t):0;if(!e||i>=e)return t;var r=(e-i)/2;return Vr(me(r),n)+t+Vr(ge(r),n)},Nn.padEnd=function(t,e,n){t=ya(t);var i=(e=fa(e))?cn(t):0;return e&&i<e?t+Vr(e-i,n):t},Nn.padStart=function(t,e,n){t=ya(t);var i=(e=fa(e))?cn(t):0;return e&&i<e?Vr(e-i,n)+t:t},Nn.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),_n(ya(t).replace(it,""),e||0)},Nn.random=function(t,e,i){if(i&&"boolean"!=typeof i&&yo(t,e,i)&&(e=i=n),i===n&&("boolean"==typeof e?(i=e,e=n):"boolean"==typeof t&&(i=t,t=n)),t===n&&e===n?(t=0,e=1):(t=pa(t),e===n?(e=t,t=0):e=pa(e)),t>e){var r=t;t=e,e=r}if(i||t%1||e%1){var o=xn();return yn(t+o*(e-t+ae("1e-"+((o+"").length-1))),e)}return qi(t,e)},Nn.reduce=function(t,e,n){var i=Us(t)?je:He,r=arguments.length<3;return i(t,so(e,4),n,r,hi)},Nn.reduceRight=function(t,e,n){var i=Us(t)?De:He,r=arguments.length<3;return i(t,so(e,4),n,r,di)},Nn.repeat=function(t,e,i){return e=(i?yo(t,e,i):e===n)?1:fa(e),Gi(ya(t),e)},Nn.replace=function(){var t=arguments,e=ya(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Nn.result=function(t,e,i){var r=-1,o=(e=vr(e,t)).length;for(o||(o=1,t=n);++r<o;){var s=null==t?n:t[Io(e[r])];s===n&&(r=o,s=i),t=Zs(s)?s.call(t):s}return t},Nn.round=wl,Nn.runInContext=t,Nn.sample=function(t){return(Us(t)?Kn:Yi)(t)},Nn.size=function(t){if(null==t)return 0;if(qs(t))return aa(t)?cn(t):t.length;var e=po(t);return e==w||e==O?t.size:$i(t).length},Nn.snakeCase=Ga,Nn.some=function(t,e,i){var r=Us(t)?$e:nr;return i&&yo(t,e,i)&&(e=n),r(t,so(e,3))},Nn.sortedIndex=function(t,e){return ir(t,e)},Nn.sortedIndexBy=function(t,e,n){return rr(t,e,so(n,2))},Nn.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var i=ir(t,e);if(i<n&&Fs(t[i],e))return i}return-1},Nn.sortedLastIndex=function(t,e){return ir(t,e,!0)},Nn.sortedLastIndexBy=function(t,e,n){return rr(t,e,so(n,2),!0)},Nn.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=ir(t,e,!0)-1;if(Fs(t[n],e))return n}return-1},Nn.startCase=Xa,Nn.startsWith=function(t,e,n){return t=ya(t),n=null==n?0:si(fa(n),0,t.length),e=ar(e),t.slice(n,n+e.length)==e},Nn.subtract=Sl,Nn.sum=function(t){return t&&t.length?qe(t,il):0},Nn.sumBy=function(t,e){return t&&t.length?qe(t,so(e,2)):0},Nn.template=function(t,e,i){var r=Nn.templateSettings;i&&yo(t,e,i)&&(e=n),t=ya(t),e=xa({},e,r,Kr);var o,s,a=xa({},e.imports,r.imports,Kr),l=Ma(a),c=Ke(a,l),u=0,h=e.interpolate||bt,d="__p += '",p=Ot((e.escape||bt).source+"|"+h.source+"|"+(h===Z?ht:bt).source+"|"+(e.evaluate||bt).source+"|$","g"),f="//# sourceURL="+($t.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ie+"]")+"\n";t.replace(p,(function(e,n,i,r,a,l){return i||(i=r),d+=t.slice(u,l).replace(_t,nn),n&&(o=!0,d+="' +\n__e("+n+") +\n'"),a&&(s=!0,d+="';\n"+a+";\n__p += '"),i&&(d+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),u=l+e.length,e})),d+="';\n";var g=$t.call(e,"variable")&&e.variable;if(g){if(ct.test(g))throw new St("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(s?d.replace(V,""):d).replace(W,"$1").replace(U,"$1;"),d="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var m=Ja((function(){return kt(l,f+"return "+d).apply(n,c)}));if(m.source=d,Ks(m))throw m;return m},Nn.times=function(t,e){if((t=fa(t))<1||t>c)return[];var n=h,i=yn(t,h);e=so(e),t-=h;for(var r=Ge(i,e);++n<t;)e(n);return r},Nn.toFinite=pa,Nn.toInteger=fa,Nn.toLength=ga,Nn.toLower=function(t){return ya(t).toLowerCase()},Nn.toNumber=ma,Nn.toSafeInteger=function(t){return t?si(fa(t),-c,c):0===t?t:0},Nn.toString=ya,Nn.toUpper=function(t){return ya(t).toUpperCase()},Nn.trim=function(t,e,i){if((t=ya(t))&&(i||e===n))return Xe(t);if(!t||!(e=ar(e)))return t;var r=un(t),o=un(e);return br(r,Je(r,o),Qe(r,o)+1).join("")},Nn.trimEnd=function(t,e,i){if((t=ya(t))&&(i||e===n))return t.slice(0,hn(t)+1);if(!t||!(e=ar(e)))return t;var r=un(t);return br(r,0,Qe(r,un(e))+1).join("")},Nn.trimStart=function(t,e,i){if((t=ya(t))&&(i||e===n))return t.replace(it,"");if(!t||!(e=ar(e)))return t;var r=un(t);return br(r,Je(r,un(e))).join("")},Nn.truncate=function(t,e){var i=30,r="...";if(ta(e)){var o="separator"in e?e.separator:o;i="length"in e?fa(e.length):i,r="omission"in e?ar(e.omission):r}var s=(t=ya(t)).length;if(rn(t)){var a=un(t);s=a.length}if(i>=s)return t;var l=i-cn(r);if(l<1)return r;var c=a?br(a,0,l).join(""):t.slice(0,l);if(o===n)return c+r;if(a&&(l+=c.length-l),oa(o)){if(t.slice(l).search(o)){var u,h=c;for(o.global||(o=Ot(o.source,ya(dt.exec(o))+"g")),o.lastIndex=0;u=o.exec(h);)var d=u.index;c=c.slice(0,d===n?l:d)}}else if(t.indexOf(ar(o),l)!=l){var p=c.lastIndexOf(o);p>-1&&(c=c.slice(0,p))}return c+r},Nn.unescape=function(t){return(t=ya(t))&&G.test(t)?t.replace(H,dn):t},Nn.uniqueId=function(t){var e=++Rt;return ya(t)+e},Nn.upperCase=Ya,Nn.upperFirst=Ka,Nn.each=ys,Nn.eachRight=bs,Nn.first=qo,al(Nn,function(){var t={};return bi(Nn,(function(e,n){$t.call(Nn.prototype,n)||(t[n]=e)})),t}(),{chain:!1}),Nn.VERSION="4.17.21",Ce(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Nn[t].placeholder=Nn})),Ce(["drop","take"],(function(t,e){Wn.prototype[t]=function(i){i=i===n?1:vn(fa(i),0);var r=this.__filtered__&&!e?new Wn(this):this.clone();return r.__filtered__?r.__takeCount__=yn(i,r.__takeCount__):r.__views__.push({size:yn(i,h),type:t+(r.__dir__<0?"Right":"")}),r},Wn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),Ce(["filter","map","takeWhile"],(function(t,e){var n=e+1,i=1==n||3==n;Wn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:so(t,3),type:n}),e.__filtered__=e.__filtered__||i,e}})),Ce(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Wn.prototype[t]=function(){return this[n](1).value()[0]}})),Ce(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Wn.prototype[t]=function(){return this.__filtered__?new Wn(this):this[n](1)}})),Wn.prototype.compact=function(){return this.filter(il)},Wn.prototype.find=function(t){return this.filter(t).head()},Wn.prototype.findLast=function(t){return this.reverse().find(t)},Wn.prototype.invokeMap=Xi((function(t,e){return"function"==typeof t?new Wn(this):this.map((function(n){return Ei(n,t,e)}))})),Wn.prototype.reject=function(t){return this.filter($s(so(t)))},Wn.prototype.slice=function(t,e){t=fa(t);var i=this;return i.__filtered__&&(t>0||e<0)?new Wn(i):(t<0?i=i.takeRight(-t):t&&(i=i.drop(t)),e!==n&&(i=(e=fa(e))<0?i.dropRight(-e):i.take(e-t)),i)},Wn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Wn.prototype.toArray=function(){return this.take(h)},bi(Wn.prototype,(function(t,e){var i=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),o=Nn[r?"take"+("last"==e?"Right":""):e],s=r||/^find/.test(e);o&&(Nn.prototype[e]=function(){var e=this.__wrapped__,a=r?[1]:arguments,l=e instanceof Wn,c=a[0],u=l||Us(e),h=function(t){var e=o.apply(Nn,Le([t],a));return r&&d?e[0]:e};u&&i&&"function"==typeof c&&1!=c.length&&(l=u=!1);var d=this.__chain__,p=!!this.__actions__.length,f=s&&!d,g=l&&!p;if(!s&&u){e=g?e:new Wn(this);var m=t.apply(e,a);return m.__actions__.push({func:ps,args:[h],thisArg:n}),new Vn(m,d)}return f&&g?t.apply(this,a):(m=this.thru(h),f?r?m.value()[0]:m.value():m)})})),Ce(["pop","push","shift","sort","splice","unshift"],(function(t){var e=Pt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);Nn.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var r=this.value();return e.apply(Us(r)?r:[],t)}return this[n]((function(n){return e.apply(Us(n)?n:[],t)}))}})),bi(Wn.prototype,(function(t,e){var n=Nn[e];if(n){var i=n.name+"";$t.call(Pn,i)||(Pn[i]=[]),Pn[i].push({name:e,func:n})}})),Pn[Br(n,2).name]=[{name:"wrapper",func:n}],Wn.prototype.clone=function(){var t=new Wn(this.__wrapped__);return t.__actions__=Or(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Or(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Or(this.__views__),t},Wn.prototype.reverse=function(){if(this.__filtered__){var t=new Wn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Wn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Us(t),i=e<0,r=n?t.length:0,o=function(t,e,n){for(var i=-1,r=n.length;++i<r;){var o=n[i],s=o.size;switch(o.type){case"drop":t+=s;break;case"dropRight":e-=s;break;case"take":e=yn(e,t+s);break;case"takeRight":t=vn(t,e-s)}}return{start:t,end:e}}(0,r,this.__views__),s=o.start,a=o.end,l=a-s,c=i?a:s-1,u=this.__iteratees__,h=u.length,d=0,p=yn(l,this.__takeCount__);if(!n||!i&&r==l&&p==l)return dr(t,this.__actions__);var f=[];t:for(;l--&&d<p;){for(var g=-1,m=t[c+=e];++g<h;){var v=u[g],y=v.iteratee,b=v.type,_=y(m);if(2==b)m=_;else if(!_){if(1==b)continue t;break t}}f[d++]=m}return f},Nn.prototype.at=fs,Nn.prototype.chain=function(){return ds(this)},Nn.prototype.commit=function(){return new Vn(this.value(),this.__chain__)},Nn.prototype.next=function(){this.__values__===n&&(this.__values__=da(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?n:this.__values__[this.__index__++]}},Nn.prototype.plant=function(t){for(var e,i=this;i instanceof zn;){var r=No(i);r.__index__=0,r.__values__=n,e?o.__wrapped__=r:e=r;var o=r;i=i.__wrapped__}return o.__wrapped__=t,e},Nn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Wn){var e=t;return this.__actions__.length&&(e=new Wn(this)),(e=e.reverse()).__actions__.push({func:ps,args:[ts],thisArg:n}),new Vn(e,this.__chain__)}return this.thru(ts)},Nn.prototype.toJSON=Nn.prototype.valueOf=Nn.prototype.value=function(){return dr(this.__wrapped__,this.__actions__)},Nn.prototype.first=Nn.prototype.head,te&&(Nn.prototype[te]=function(){return this}),Nn}();pe?((pe.exports=pn)._=pn,de._=pn):he._=pn}).call(pd)}(yd,yd.exports);var bd=yd.exports;const _d={key:0,class:"message"},xd={class:"body"},wd={class:"dismiss"},Sd=ti({__name:"base-banner",props:{prependMessage:{default:void 0},small:{type:Boolean,default:!1},type:{default:"warning"}},setup(t){const e=t,n={warning:"Warning",error:"Error",success:"Success"},i=$o((()=>e.prependMessage?e.prependMessage:bd.isUndefined(n[e.type])?"":`${n[e.type]}`));return(t,e)=>(Yr(),Qr("div",{class:Y(["banner",t.type,{small:t.small}]),role:"alert"},[i.value?(Yr(),Qr("div",_d,nt(i.value),1)):uo("",!0),oo("div",xd,[Li(t.$slots,"default",{},void 0,!0)]),oo("div",wd,[Li(t.$slots,"right",{},void 0,!0)])],2))}}),kd=(t,e)=>{const n=t.__vccOpts||t;for(const[t,i]of e)n[t]=i;return n},Cd=kd(Sd,[["__scopeId","data-v-3eff4452"]]),Ad={props:{modelValue:{type:null,default:void 0},initialValue:{type:null,default:void 0}},data(){return{toggleState:void 0!==this.initialValue&&this.initialValue}},computed:{visible:{get(){return void 0===this.modelValue?this.toggleState:this.modelValue},set(t){void 0===this.modelValue?this.toggleState=t:this.$emit("update:modelValue",t)}}},methods:{toggle(){this.visible?this.close():this.open()},open(){this.visible||(this.$emit("update:modelValue",!0),this.toggleState=!0,this.$emit("open"))},close(...t){this.visible&&(this.$emit("update:modelValue",!1),this.toggleState=!1,this.$emit("close",...t))},show(){this.open()},hide(){this.close()}}},Od=kd(ti({__name:"icon-viewer",props:{icon:{}},setup:t=>(t,e)=>(Yr(),Qr("div",{class:Y(["icon-viewer",`icon-${t.icon}`])},null,2))}),[["__scopeId","data-v-47ab70fc"]]),Td=(Boolean,Boolean,Boolean,Boolean,Boolean,ti({__name:"button",props:{as:{type:[String,Object,Function],default:"button"},leftIcon:{},rightIcon:{},disabled:{type:Boolean,default:!1},hasMinWidth:{type:Boolean,default:void 0},size:{default:"medium"},spinner:{type:Boolean,default:!1},severity:{default:"primary"},variant:{default:"regular"}},setup(t){const e=t,n=Ts(),i=$o((()=>{const t=void 0===e.hasMinWidth?"simple"!==e.variant:e.hasMinWidth;return[n.button,n[`variant-${e.variant}`],n[`severity-${e.severity}`],n[`size-${e.size}`],{[n[`icon-left-${e.leftIcon}`]]:!!e.leftIcon,[n[`icon-right-${e.rightIcon}`]]:!!e.rightIcon,[n.spinner]:e.spinner,[n.hasLeftIcon]:!!e.leftIcon,[n.hasMinWidth]:t,[n.hasRightIcon]:!!e.rightIcon}]}));return(t,e)=>(Yr(),to(Oi(t.as||"button"),{class:Y(i.value),disabled:t.disabled},{default:$n((()=>[Li(t.$slots,"default")])),_:3},8,["class","disabled"]))}})),Ed=kd(Td,[["__cssModules",{$style:{icon:"_icon_h684c_1",button:"_button_h684c_51",spinner:"_spinner_h684c_70",spin:"_spin_h684c_70","icon-left-alert-circle":"_icon-left-alert-circle_h684c_97","icon-right-alert-circle":"_icon-right-alert-circle_h684c_101","icon-left-angles-up":"_icon-left-angles-up_h684c_105","icon-right-angles-up":"_icon-right-angles-up_h684c_109","icon-left-angles-down":"_icon-left-angles-down_h684c_113","icon-right-angles-down":"_icon-right-angles-down_h684c_117","icon-left-angles-left":"_icon-left-angles-left_h684c_121","icon-right-angles-left":"_icon-right-angles-left_h684c_125","icon-left-angles-right":"_icon-left-angles-right_h684c_129","icon-right-angles-right":"_icon-right-angles-right_h684c_133","icon-left-angle-down":"_icon-left-angle-down_h684c_137","icon-right-angle-down":"_icon-right-angle-down_h684c_141","icon-left-angle-left":"_icon-left-angle-left_h684c_145","icon-right-angle-left":"_icon-right-angle-left_h684c_149","icon-left-angle-right":"_icon-left-angle-right_h684c_153","icon-right-angle-right":"_icon-right-angle-right_h684c_157","icon-left-angle-up":"_icon-left-angle-up_h684c_161","icon-right-angle-up":"_icon-right-angle-up_h684c_165","icon-left-arrow-down":"_icon-left-arrow-down_h684c_169","icon-right-arrow-down":"_icon-right-arrow-down_h684c_173","icon-left-arrow-left":"_icon-left-arrow-left_h684c_177","icon-right-arrow-left":"_icon-right-arrow-left_h684c_181","icon-left-arrow-right":"_icon-left-arrow-right_h684c_185","icon-right-arrow-right":"_icon-right-arrow-right_h684c_189","icon-left-arrow-up":"_icon-left-arrow-up_h684c_193","icon-right-arrow-up":"_icon-right-arrow-up_h684c_197","icon-left-ban":"_icon-left-ban_h684c_201","icon-right-ban":"_icon-right-ban_h684c_205","icon-left-bell":"_icon-left-bell_h684c_209","icon-right-bell":"_icon-right-bell_h684c_213","icon-left-building":"_icon-left-building_h684c_217","icon-right-building":"_icon-right-building_h684c_221","icon-left-calendar":"_icon-left-calendar_h684c_225","icon-right-calendar":"_icon-right-calendar_h684c_229","icon-left-chart-bar":"_icon-left-chart-bar_h684c_233","icon-right-chart-bar":"_icon-right-chart-bar_h684c_237","icon-left-circle-check":"_icon-left-circle-check_h684c_241","icon-right-circle-check":"_icon-right-circle-check_h684c_245","icon-left-check":"_icon-left-check_h684c_249","icon-right-check":"_icon-right-check_h684c_253","icon-left-chevron-up":"_icon-left-chevron-up_h684c_257","icon-right-chevron-up":"_icon-right-chevron-up_h684c_261","icon-left-chevron-down":"_icon-left-chevron-down_h684c_265","icon-right-chevron-down":"_icon-right-chevron-down_h684c_269","icon-left-chevron-left":"_icon-left-chevron-left_h684c_273","icon-right-chevron-left":"_icon-right-chevron-left_h684c_277","icon-left-chevron-right":"_icon-left-chevron-right_h684c_281","icon-right-chevron-right":"_icon-right-chevron-right_h684c_285","icon-left-caret-up":"_icon-left-caret-up_h684c_289","icon-right-caret-up":"_icon-right-caret-up_h684c_293","icon-left-caret-down":"_icon-left-caret-down_h684c_297","icon-right-caret-down":"_icon-right-caret-down_h684c_301","icon-left-caret-left":"_icon-left-caret-left_h684c_305","icon-right-caret-left":"_icon-right-caret-left_h684c_309","icon-left-caret-right":"_icon-left-caret-right_h684c_313","icon-right-caret-right":"_icon-right-caret-right_h684c_317","icon-left-circle":"_icon-left-circle_h684c_241","icon-right-circle":"_icon-right-circle_h684c_245","icon-left-circle-arrow-up":"_icon-left-circle-arrow-up_h684c_329","icon-right-circle-arrow-up":"_icon-right-circle-arrow-up_h684c_333","icon-left-circle-arrow-down":"_icon-left-circle-arrow-down_h684c_337","icon-right-circle-arrow-down":"_icon-right-circle-arrow-down_h684c_341","icon-left-circle-arrow-left":"_icon-left-circle-arrow-left_h684c_345","icon-right-circle-arrow-left":"_icon-right-circle-arrow-left_h684c_349","icon-left-circle-arrow-right":"_icon-left-circle-arrow-right_h684c_353","icon-right-circle-arrow-right":"_icon-right-circle-arrow-right_h684c_357","icon-left-circle-chevron-up":"_icon-left-circle-chevron-up_h684c_361","icon-right-circle-chevron-up":"_icon-right-circle-chevron-up_h684c_365","icon-left-circle-chevron-down":"_icon-left-circle-chevron-down_h684c_369","icon-right-circle-chevron-down":"_icon-right-circle-chevron-down_h684c_373","icon-left-circle-chevron-left":"_icon-left-circle-chevron-left_h684c_377","icon-right-circle-chevron-left":"_icon-right-circle-chevron-left_h684c_381","icon-left-circle-chevron-right":"_icon-left-circle-chevron-right_h684c_385","icon-right-circle-chevron-right":"_icon-right-circle-chevron-right_h684c_389","icon-left-circle-thin":"_icon-left-circle-thin_h684c_393","icon-right-circle-thin":"_icon-right-circle-thin_h684c_397","icon-left-clock":"_icon-left-clock_h684c_401","icon-right-clock":"_icon-right-clock_h684c_405","icon-left-close":"_icon-left-close_h684c_409","icon-right-close":"_icon-right-close_h684c_413","icon-left-close-circle":"_icon-left-close-circle_h684c_417","icon-right-close-circle":"_icon-right-close-circle_h684c_421","icon-left-code-branch":"_icon-left-code-branch_h684c_425","icon-right-code-branch":"_icon-right-code-branch_h684c_429","icon-left-gear":"_icon-left-gear_h684c_433","icon-right-gear":"_icon-right-gear_h684c_437","icon-left-grip":"_icon-left-grip_h684c_441","icon-right-grip":"_icon-right-grip_h684c_445","icon-left-grip-vertical":"_icon-left-grip-vertical_h684c_449","icon-right-grip-vertical":"_icon-right-grip-vertical_h684c_453","icon-left-comments":"_icon-left-comments_h684c_457","icon-right-comments":"_icon-right-comments_h684c_461","icon-left-copy":"_icon-left-copy_h684c_465","icon-right-copy":"_icon-right-copy_h684c_469","icon-left-credit-card":"_icon-left-credit-card_h684c_473","icon-right-credit-card":"_icon-right-credit-card_h684c_477","icon-left-disable":"_icon-left-disable_h684c_481","icon-right-disable":"_icon-right-disable_h684c_485","icon-left-dollar-sign":"_icon-left-dollar-sign_h684c_489","icon-right-dollar-sign":"_icon-right-dollar-sign_h684c_493","icon-left-download":"_icon-left-download_h684c_497","icon-right-download":"_icon-right-download_h684c_501","icon-left-pen-to-square":"_icon-left-pen-to-square_h684c_505","icon-right-pen-to-square":"_icon-right-pen-to-square_h684c_509","icon-left-ellipsis":"_icon-left-ellipsis_h684c_513","icon-right-ellipsis":"_icon-right-ellipsis_h684c_517","icon-left-ellipsis-vertical":"_icon-left-ellipsis-vertical_h684c_521","icon-right-ellipsis-vertical":"_icon-right-ellipsis-vertical_h684c_525","icon-left-circle-exclamation":"_icon-left-circle-exclamation_h684c_529","icon-right-circle-exclamation":"_icon-right-circle-exclamation_h684c_533","icon-left-triangle-exclamation":"_icon-left-triangle-exclamation_h684c_537","icon-right-triangle-exclamation":"_icon-right-triangle-exclamation_h684c_541","icon-left-eye":"_icon-left-eye_h684c_545","icon-right-eye":"_icon-right-eye_h684c_549","icon-left-forward-fast":"_icon-left-forward-fast_h684c_553","icon-right-forward-fast":"_icon-right-forward-fast_h684c_557","icon-left-file":"_icon-left-file_h684c_561","icon-right-file":"_icon-right-file_h684c_565","icon-left-filter":"_icon-left-filter_h684c_569","icon-right-filter":"_icon-right-filter_h684c_573","icon-left-earth-americas":"_icon-left-earth-americas_h684c_577","icon-right-earth-americas":"_icon-right-earth-americas_h684c_581","icon-left-globe":"_icon-left-globe_h684c_585","icon-right-globe":"_icon-right-globe_h684c_589","icon-left-help":"_icon-left-help_h684c_593","icon-right-help":"_icon-right-help_h684c_597","icon-left-clock-rotate-left":"_icon-left-clock-rotate-left_h684c_601","icon-right-clock-rotate-left":"_icon-right-clock-rotate-left_h684c_605","icon-left-house":"_icon-left-house_h684c_609","icon-right-house":"_icon-right-house_h684c_613","icon-left-id-card":"_icon-left-id-card_h684c_617","icon-right-id-card":"_icon-right-id-card_h684c_621","icon-left-info":"_icon-left-info_h684c_625","icon-right-info":"_icon-right-info_h684c_629","icon-left-link":"_icon-left-link_h684c_633","icon-right-link":"_icon-right-link_h684c_637","icon-left-list-check":"_icon-left-list-check_h684c_641","icon-right-list-check":"_icon-right-list-check_h684c_645","icon-left-lock":"_icon-left-lock_h684c_649","icon-right-lock":"_icon-right-lock_h684c_653","icon-left-lock-open":"_icon-left-lock-open_h684c_657","icon-right-lock-open":"_icon-right-lock-open_h684c_661","icon-left-left-long":"_icon-left-left-long_h684c_665","icon-right-left-long":"_icon-right-left-long_h684c_669","icon-left-right-long":"_icon-left-right-long_h684c_673","icon-right-right-long":"_icon-right-right-long_h684c_677","icon-left-wand-magic":"_icon-left-wand-magic_h684c_681","icon-right-wand-magic":"_icon-right-wand-magic_h684c_685","icon-left-circle-minus":"_icon-left-circle-minus_h684c_689","icon-right-circle-minus":"_icon-right-circle-minus_h684c_693","icon-left-menu":"_icon-left-menu_h684c_697","icon-right-menu":"_icon-right-menu_h684c_701","icon-left-minus":"_icon-left-minus_h684c_705","icon-right-minus":"_icon-right-minus_h684c_709","icon-left-more":"_icon-left-more_h684c_713","icon-right-more":"_icon-right-more_h684c_717","icon-left-more-vert":"_icon-left-more-vert_h684c_721","icon-right-more-vert":"_icon-right-more-vert_h684c_725","icon-left-paper-plane":"_icon-left-paper-plane_h684c_729","icon-right-paper-plane":"_icon-right-paper-plane_h684c_733","icon-left-circle-play":"_icon-left-circle-play_h684c_737","icon-right-circle-play":"_icon-right-circle-play_h684c_741","icon-left-plus":"_icon-left-plus_h684c_745","icon-right-plus":"_icon-right-plus_h684c_749","icon-left-circle-plus":"_icon-left-circle-plus_h684c_753","icon-right-circle-plus":"_icon-right-circle-plus_h684c_757","icon-left-square-plus":"_icon-left-square-plus_h684c_761","icon-right-square-plus":"_icon-right-square-plus_h684c_765","icon-left-square-caret-up":"_icon-left-square-caret-up_h684c_769","icon-right-square-caret-up":"_icon-right-square-caret-up_h684c_773","icon-left-square-caret-down":"_icon-left-square-caret-down_h684c_777","icon-right-square-caret-down":"_icon-right-square-caret-down_h684c_781","icon-left-square-caret-left":"_icon-left-square-caret-left_h684c_785","icon-right-square-caret-left":"_icon-right-square-caret-left_h684c_789","icon-left-square-caret-right":"_icon-left-square-caret-right_h684c_793","icon-right-square-caret-right":"_icon-right-square-caret-right_h684c_797","icon-left-question-mark":"_icon-left-question-mark_h684c_801","icon-right-question-mark":"_icon-right-question-mark_h684c_805","icon-left-shuffle":"_icon-left-shuffle_h684c_809","icon-right-shuffle":"_icon-right-shuffle_h684c_813","icon-left-arrow-rotate-right":"_icon-left-arrow-rotate-right_h684c_817","icon-right-arrow-rotate-right":"_icon-right-arrow-rotate-right_h684c_821","icon-left-refresh":"_icon-left-refresh_h684c_825","icon-right-refresh":"_icon-right-refresh_h684c_829","icon-left-reply":"_icon-left-reply_h684c_833","icon-right-reply":"_icon-right-reply_h684c_837","icon-left-resend":"_icon-left-resend_h684c_841","icon-right-resend":"_icon-right-resend_h684c_845","icon-left-right-from-bracket":"_icon-left-right-from-bracket_h684c_849","icon-right-right-from-bracket":"_icon-right-right-from-bracket_h684c_853","icon-left-magnifying-glass":"_icon-left-magnifying-glass_h684c_857","icon-right-magnifying-glass":"_icon-right-magnifying-glass_h684c_861","icon-left-settings":"_icon-left-settings_h684c_865","icon-right-settings":"_icon-right-settings_h684c_869","icon-left-share":"_icon-left-share_h684c_873","icon-right-share":"_icon-right-share_h684c_877","icon-left-spinner":"_icon-left-spinner_h684c_881","icon-right-spinner":"_icon-right-spinner_h684c_886","icon-left-square-down":"_icon-left-square-down_h684c_891","icon-right-square-down":"_icon-right-square-down_h684c_895","icon-left-stop":"_icon-left-stop_h684c_899","icon-right-stop":"_icon-right-stop_h684c_903","icon-left-swap":"_icon-left-swap_h684c_907","icon-right-swap":"_icon-right-swap_h684c_911","icon-left-table":"_icon-left-table_h684c_915","icon-right-table":"_icon-right-table_h684c_919","icon-left-circle-xmark":"_icon-left-circle-xmark_h684c_923","icon-right-circle-xmark":"_icon-right-circle-xmark_h684c_927","icon-left-trash":"_icon-left-trash_h684c_931","icon-right-trash":"_icon-right-trash_h684c_935","icon-left-unfold-less":"_icon-left-unfold-less_h684c_939","icon-right-unfold-less":"_icon-right-unfold-less_h684c_943","icon-left-unfold-more":"_icon-left-unfold-more_h684c_947","icon-right-unfold-more":"_icon-right-unfold-more_h684c_951","icon-left-user":"_icon-left-user_h684c_955","icon-right-user":"_icon-right-user_h684c_959","icon-left-users":"_icon-left-users_h684c_963","icon-right-users":"_icon-right-users_h684c_967","icon-left-vial":"_icon-left-vial_h684c_971","icon-right-vial":"_icon-right-vial_h684c_975","icon-left-view-list":"_icon-left-view-list_h684c_979","icon-right-view-list":"_icon-right-view-list_h684c_983",hasLeftIcon:"_hasLeftIcon_h684c_987","size-small":"_size-small_h684c_993",hasRightIcon:"_hasRightIcon_h684c_1000",hasMinWidth:"_hasMinWidth_h684c_1017","severity-primary":"_severity-primary_h684c_1020","variant-regular":"_variant-regular_h684c_1020","variant-outline":"_variant-outline_h684c_1036","variant-simple":"_variant-simple_h684c_1051","severity-secondary":"_severity-secondary_h684c_1062","severity-danger":"_severity-danger_h684c_1109","severity-caution":"_severity-caution_h684c_1145","size-large":"_size-large_h684c_1181",disabled:"_disabled_h684c_1222"}}]]),Pd=kd(ti({__name:"card-content",props:{padding:{default:"md"}},setup:t=>(t,e)=>(Yr(),Qr("div",{class:Y(t.$style[t.padding])},[Li(t.$slots,"default")],2))}),[["__cssModules",{$style:{sm:"_sm_rsgx8_1",md:"_md_rsgx8_4",lg:"_lg_rsgx8_7"}}]]),Md=kd(ti({__name:"card",props:{boxShadow:{type:Boolean,default:!0},outline:{type:Boolean,default:!0},padding:{type:[String,Boolean],default:"md"}},setup:t=>(t,e)=>(Yr(),Qr("div",{class:Y([t.$style.card,{[t.$style.boxShadow]:t.boxShadow,[t.$style.outline]:t.outline}])},[t.padding?(Yr(),to(Pd,{key:0,padding:t.padding},{default:$n((()=>[Li(t.$slots,"default")])),_:3},8,["padding"])):Li(t.$slots,"default",{key:1})],2))}),[["__cssModules",{$style:{card:"_card_7q0tq_1",outline:"_outline_7q0tq_6",boxShadow:"_boxShadow_7q0tq_9"}}]]);Object.assign(Md,{Content:Pd});var Ld={exports:{}};!function(t){var e,n;e=typeof window<"u"?window:pd,n=function(t){var e={};function n(e,n,i,r){e.hasOwnProperty(n)||(e[n]=r.apply(null,i),"function"==typeof CustomEvent&&t.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:n,module:e[n]}})))}return n(e,"Core/Globals.js",[],(function(){var e,n;return(n=e||(e={})).SVG_NS="http://www.w3.org/2000/svg",n.product="Highcharts",n.version="11.4.6",n.win=void 0!==t?t:{},n.doc=n.win.document,n.svg=n.doc&&n.doc.createElementNS&&!!n.doc.createElementNS(n.SVG_NS,"svg").createSVGRect,n.userAgent=n.win.navigator&&n.win.navigator.userAgent||"",n.isChrome=n.win.chrome,n.isFirefox=-1!==n.userAgent.indexOf("Firefox"),n.isMS=/(edge|msie|trident)/i.test(n.userAgent)&&!n.win.opera,n.isSafari=!n.isChrome&&-1!==n.userAgent.indexOf("Safari"),n.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(n.userAgent),n.isWebKit=-1!==n.userAgent.indexOf("AppleWebKit"),n.deg2rad=2*Math.PI/360,n.hasBidiBug=n.isFirefox&&4>parseInt(n.userAgent.split("Firefox/")[1],10),n.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],n.noop=function(){},n.supportsPassiveEvents=function(){let t=!1;if(!n.isMS){let e=Object.defineProperty({},"passive",{get:function(){t=!0}});n.win.addEventListener&&n.win.removeEventListener&&(n.win.addEventListener("testPassive",n.noop,e),n.win.removeEventListener("testPassive",n.noop,e))}return t}(),n.charts=[],n.composed=[],n.dateFormats={},n.seriesTypes={},n.symbolSizes={},n.chartCount=0,e})),n(e,"Core/Utilities.js",[e["Core/Globals.js"]],(function(t){let e,{charts:n,doc:i,win:r}=t;function o(e,n,i,s){let a=n?"Highcharts error":"Highcharts warning";32===e&&(e=`${a}: Deprecated member`);let l=d(e),c=l?`${a} #${e}: www.highcharts.com/errors/${e}/`:e.toString();if(void 0!==s){let t="";l&&(c+="?"),w(s,(function(e,n){t+=`\n - ${n}: ${e}`,l&&(c+=encodeURI(n)+"="+encodeURI(e))})),c+=t}k(t,"displayError",{chart:i,code:e,message:c,params:s},(function(){if(n)throw Error(c);r.console&&-1===o.messages.indexOf(c)&&console.warn(c)})),o.messages.push(c)}function s(t,e){return parseInt(t,e||10)}function a(t){return"string"==typeof t}function l(t){let e=Object.prototype.toString.call(t);return"[object Array]"===e||"[object Array Iterator]"===e}function c(t,e){return!(!t||"object"!=typeof t||e&&l(t))}function u(t){return c(t)&&"number"==typeof t.nodeType}function h(t){let e=t&&t.constructor;return!(!c(t,!0)||u(t)||!e||!e.name||"Object"===e.name)}function d(t){return"number"==typeof t&&!isNaN(t)&&t<1/0&&t>-1/0}function p(t){return null!=t}function f(t,e,n){let i,r=a(e)&&!p(n),o=(e,n)=>{p(e)?t.setAttribute(n,e):r?(i=t.getAttribute(n))||"class"!==n||(i=t.getAttribute(n+"Name")):t.removeAttribute(n)};return a(e)?o(n,e):w(e,o),i}function g(t){return l(t)?t:[t]}function m(t,e){let n;for(n in t||(t={}),e)t[n]=e[n];return t}function v(){let t=arguments,e=t.length;for(let n=0;n<e;n++){let e=t[n];if(null!=e)return e}}function y(t,e){m(t.style,e)}function b(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))}function _(t,e){return t>1e14?t:parseFloat(t.toPrecision(e||14))}(o||(o={})).messages=[],Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};let x=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){let n,i=t.length;for(n=0;n<i;n++)if(e(t[n],n))return t[n]};function w(t,e,n){for(let i in t)Object.hasOwnProperty.call(t,i)&&e.call(n||t[i],t[i],i,t)}function S(t,e,n){function i(e,n){let i=t.removeEventListener;i&&i.call(t,e,n,!1)}function r(n){let r,o;t.nodeName&&(e?(r={})[e]=!0:r=n,w(r,(function(t,e){if(n[e])for(o=n[e].length;o--;)i(e,n[e][o].fn)})))}let o="function"==typeof t&&t.prototype||t;if(Object.hasOwnProperty.call(o,"hcEvents")){let t=o.hcEvents;if(e){let o=t[e]||[];n?(t[e]=o.filter((function(t){return n!==t.fn})),i(e,n)):(r(t),t[e]=[])}else r(t),delete o.hcEvents}}function k(e,n,r,o){if(r=r||{},i.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==t)){let t=i.createEvent("Events");t.initEvent(n,!0,!0),r=m(t,r),e.dispatchEvent?e.dispatchEvent(r):e.fireEvent(n,r)}else if(e.hcEvents){r.target||m(r,{preventDefault:function(){r.defaultPrevented=!0},target:e,type:n});let t=[],i=e,o=!1;for(;i.hcEvents;)Object.hasOwnProperty.call(i,"hcEvents")&&i.hcEvents[n]&&(t.length&&(o=!0),t.unshift.apply(t,i.hcEvents[n])),i=Object.getPrototypeOf(i);o&&t.sort(((t,e)=>t.order-e.order)),t.forEach((t=>{!1===t.fn.call(e,r)&&r.preventDefault()}))}o&&!r.defaultPrevented&&o.call(e,r)}w({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(e,n){t[n]=function(t){return o(32,!1,void 0,{[`Highcharts.${n}`]:`use Array.${e}`}),Array.prototype[e].apply(t,[].slice.call(arguments,1))}}));let C=function(){let t=Math.random().toString(36).substring(2,9)+"-",n=0;return function(){return"highcharts-"+(e?"":t)+n++}}();return r.jQuery&&(r.jQuery.fn.highcharts=function(){let e=[].slice.call(arguments);if(this[0])return e[0]?(new(t[a(e[0])?e.shift():"Chart"])(this[0],e[0],e[1]),this):n[f(this[0],"data-highcharts-chart")]}),{addEvent:function(e,n,i,r={}){let o="function"==typeof e&&e.prototype||e;Object.hasOwnProperty.call(o,"hcEvents")||(o.hcEvents={});let s=o.hcEvents;t.Point&&e instanceof t.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);let a=e.addEventListener;a&&a.call(e,n,i,!!t.supportsPassiveEvents&&{passive:void 0===r.passive?-1!==n.indexOf("touch"):r.passive,capture:!1}),s[n]||(s[n]=[]);let l={fn:i,order:"number"==typeof r.order?r.order:1/0};return s[n].push(l),s[n].sort(((t,e)=>t.order-e.order)),function(){S(e,n,i)}},arrayMax:function(t){let e=t.length,n=t[0];for(;e--;)t[e]>n&&(n=t[e]);return n},arrayMin:function(t){let e=t.length,n=t[0];for(;e--;)t[e]<n&&(n=t[e]);return n},attr:f,clamp:function(t,e,n){return t>e?t<n?t:n:e},clearTimeout:function(t){p(t)&&clearTimeout(t)},correctFloat:_,createElement:function(t,e,n,r,o){let s=i.createElement(t);return e&&m(s,e),o&&y(s,{padding:"0",border:"none",margin:"0"}),n&&y(s,n),r&&r.appendChild(s),s},crisp:(t,e=0,n)=>{let i=e%2/2,r=n?-1:1;return(Math.round(t*r-i)+i)*r},css:y,defined:p,destroyObjectProperties:function(t,e,n){w(t,(function(i,r){i!==e&&null!=i&&i.destroy&&i.destroy(),(null!=i&&i.destroy||!n)&&delete t[r]}))},diffObjects:function(t,e,n,i){let r={};return function t(e,r,o,s){let a=n?r:e;w(e,(function(n,u){if(!s&&i&&i.indexOf(u)>-1&&r[u]){n=g(n),o[u]=[];for(let e=0;e<Math.max(n.length,r[u].length);e++)r[u][e]&&(void 0===n[e]?o[u][e]=r[u][e]:(o[u][e]={},t(n[e],r[u][e],o[u][e],s+1)))}else c(n,!0)&&!n.nodeType?(o[u]=l(n)?[]:{},t(n,r[u]||{},o[u],s+1),0!==Object.keys(o[u]).length||"colorAxis"===u&&0===s||delete o[u]):(e[u]!==r[u]||u in e&&!(u in r))&&"__proto__"!==u&&"constructor"!==u&&(o[u]=a[u])}))}(t,e,r,0),r},discardElement:function(t){t&&t.parentElement&&t.parentElement.removeChild(t)},erase:function(t,e){let n=t.length;for(;n--;)if(t[n]===e){t.splice(n,1);break}},error:o,extend:m,extendClass:function(t,e){let n=function(){};return m(n.prototype=new t,e),n},find:x,fireEvent:k,getClosestDistance:function(t,e){let n,i,r,o=!e;return t.forEach((t=>{if(t.length>1)for(r=t.length-1;r>0;r--)(i=t[r]-t[r-1])<0&&!o?(null==e||e(),e=void 0):i&&(void 0===n||i<n)&&(n=i)})),n},getMagnitude:b,getNestedProperty:function(t,e){let n=t.split(".");for(;n.length&&p(e);){let t=n.shift();if(void 0===t||"__proto__"===t)return;if("this"===t){let t;return c(e)&&(t=e["@this"]),t??e}let i=e[t];if(!p(i)||"function"==typeof i||"number"==typeof i.nodeType||i===r)return;e=i}return e},getStyle:function t(e,n,i){let o;if("width"===n){let n=Math.min(e.offsetWidth,e.scrollWidth),i=e.getBoundingClientRect&&e.getBoundingClientRect().width;return i<n&&i>=n-1&&(n=Math.floor(i)),Math.max(0,n-(t(e,"padding-left",!0)||0)-(t(e,"padding-right",!0)||0))}if("height"===n)return Math.max(0,Math.min(e.offsetHeight,e.scrollHeight)-(t(e,"padding-top",!0)||0)-(t(e,"padding-bottom",!0)||0));let a=r.getComputedStyle(e,void 0);return a&&(o=a.getPropertyValue(n),v(i,"opacity"!==n)&&(o=s(o))),o},inArray:function(t,e,n){return o(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),e.indexOf(t,n)},insertItem:function(t,e){let n,i=t.options.index,r=e.length;for(n=t.options.isInternal?r:0;n<r+1;n++)if(!e[n]||d(i)&&i<v(e[n].options.index,e[n]._i)||e[n].options.isInternal){e.splice(n,0,t);break}return n},isArray:l,isClass:h,isDOMElement:u,isFunction:function(t){return"function"==typeof t},isNumber:d,isObject:c,isString:a,keys:function(t){return o(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)},merge:function(){let t,e=arguments,n={},i=function(t,e){return"object"!=typeof t&&(t={}),w(e,(function(n,r){"__proto__"!==r&&"constructor"!==r&&(!c(n,!0)||h(n)||u(n)?t[r]=e[r]:t[r]=i(t[r]||{},n))})),t};!0===e[0]&&(n=e[1],e=Array.prototype.slice.call(e,2));let r=e.length;for(t=0;t<r;t++)n=i(n,e[t]);return n},normalizeTickInterval:function(t,e,n,i,r){let o,s=t,a=t/(n=v(n,b(t)));for(!e&&(e=r?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===i&&(1===n?e=e.filter((function(t){return t%1==0})):n<=.1&&(e=[1/n]))),o=0;o<e.length&&(s=e[o],(!r||!(s*n>=t))&&(r||!(a<=(e[o]+(e[o+1]||e[o]))/2)));o++);return _(s*n,-Math.round(Math.log(.001)/Math.LN10))},objectEach:w,offset:function(t){let e=i.documentElement,n=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:n.top+(r.pageYOffset||e.scrollTop)-(e.clientTop||0),left:n.left+(r.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:n.width,height:n.height}},pad:function(t,e,n){return Array((e||2)+1-String(t).replace("-","").length).join(n||"0")+t},pick:v,pInt:s,pushUnique:function(t,e){return 0>t.indexOf(e)&&!!t.push(e)},relativeLength:function(t,e,n){return/%$/.test(t)?e*parseFloat(t)/100+(n||0):parseFloat(t)},removeEvent:S,replaceNested:function(t,...e){let n,i;do{for(i of(n=t,e))t=t.replace(i[0],i[1])}while(t!==n);return t},splat:g,stableSort:function(t,e){let n,i,r=t.length;for(i=0;i<r;i++)t[i].safeI=i;for(t.sort((function(t,i){return 0===(n=e(t,i))?t.safeI-i.safeI:n})),i=0;i<r;i++)delete t[i].safeI},syncTimeout:function(t,e,n){return e>0?setTimeout(t,e,n):(t.call(0,n),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:C,useSerialIds:function(t){return e=v(t,e)},wrap:function(t,e,n){let i=t[e];t[e]=function(){let t=arguments,e=this;return n.apply(this,[function(){return i.apply(e,arguments.length?arguments:t)}].concat([].slice.call(arguments)))}}}})),n(e,"Core/Chart/ChartDefaults.js",[],(function(){return{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{},position:{}},reflow:!0,type:"line",zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#334eff",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}})),n(e,"Core/Color/Palettes.js",[],(function(){return{colors:["#2caffe","#544fc5","#00e272","#fe6a35","#6b8abc","#d568fb","#2ee0ca","#fa4b42","#feb56a","#91e8e1"]}})),n(e,"Core/Time.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e){let{win:n}=t,{defined:i,error:r,extend:o,isNumber:s,isObject:a,merge:l,objectEach:c,pad:u,pick:h,splat:d,timeUnits:p}=e,f=t.isSafari&&n.Intl&&n.Intl.DateTimeFormat.prototype.formatRange,g=t.isSafari&&n.Intl&&!n.Intl.DateTimeFormat.prototype.formatRange;class m{constructor(t){this.options={},this.useUTC=!1,this.variableTimezone=!1,this.Date=n.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t)}get(t,e){if(this.variableTimezone||this.timezoneOffset){let n=e.getTime(),i=n-this.getTimezoneOffset(e);e.setTime(i);let r=e["getUTC"+t]();return e.setTime(n),r}return this.useUTC?e["getUTC"+t]():e["get"+t]()}set(t,e,n){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t||"Seconds"===t||"Minutes"===t&&this.getTimezoneOffset(e)%36e5==0)return e["setUTC"+t](n);let i=this.getTimezoneOffset(e),r=e.getTime()-i;e.setTime(r),e["setUTC"+t](n);let o=this.getTimezoneOffset(e);return r=e.getTime()+o,e.setTime(r)}return this.useUTC||f&&"FullYear"===t?e["setUTC"+t](n):e["set"+t](n)}update(t={}){let e=h(t.useUTC,!0);this.options=t=l(!0,this.options,t),this.Date=t.Date||n.Date||Date,this.useUTC=e,this.timezoneOffset=e&&t.timezoneOffset||void 0,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=e&&!(!t.getTimezoneOffset&&!t.timezone)}makeTime(t,e,n,i,r,o){let s,a,l;return this.useUTC?(s=this.Date.UTC.apply(0,arguments),a=this.getTimezoneOffset(s),s+=a,a!==(l=this.getTimezoneOffset(s))?s+=l-a:a-36e5!==this.getTimezoneOffset(s-36e5)||g||(s-=36e5)):s=new this.Date(t,e,h(n,1),h(i,0),h(r,0),h(o,0)).getTime(),s}timezoneOffsetFunction(){let t=this,e=this.options,n=e.getTimezoneOffset;return this.useUTC?e.timezone?t=>{try{let n=`shortOffset,${e.timezone||""}`,[i,r,o,a,l=0]=(m.formatCache[n]=m.formatCache[n]||Intl.DateTimeFormat("en",{timeZone:e.timezone,timeZoneName:"shortOffset"})).format(t).split(/(GMT|:)/).map(Number),c=-36e5*(o+l/60);if(s(c))return c}catch{r(34)}return 0}:this.useUTC&&n?t=>6e4*n(t.valueOf()):()=>6e4*(t.timezoneOffset||0):t=>6e4*new Date(t.toString()).getTimezoneOffset()}dateFormat(e,n,r){if(!i(n)||isNaN(n))return t.defaultOptions.lang&&t.defaultOptions.lang.invalidDate||"";e=h(e,"%Y-%m-%d %H:%M:%S");let s=this,a=new this.Date(n),l=this.get("Hours",a),d=this.get("Day",a),p=this.get("Date",a),f=this.get("Month",a),g=this.get("FullYear",a),m=t.defaultOptions.lang,v=m&&m.weekdays,y=m&&m.shortWeekdays;return c(o({a:y?y[d]:v[d].substr(0,3),A:v[d],d:u(p),e:u(p,2," "),w:d,b:m.shortMonths[f],B:m.months[f],m:u(f+1),o:f+1,y:g.toString().substr(2,2),Y:g,H:u(l),k:l,I:u(l%12||12),l:l%12||12,M:u(this.get("Minutes",a)),p:l<12?"AM":"PM",P:l<12?"am":"pm",S:u(this.get("Seconds",a)),L:u(Math.floor(n%1e3),3)},t.dateFormats),(function(t,i){for(;-1!==e.indexOf("%"+i);)e=e.replace("%"+i,"function"==typeof t?t.call(s,n):t)})),r?e.substr(0,1).toUpperCase()+e.substr(1):e}resolveDTLFormat(t){return a(t,!0)?t:{main:(t=d(t))[0],from:t[1],to:t[2]}}getTimeTicks(t,e,n,r){let s,a,l,c,u=this,d=u.Date,f=[],g={},m=new d(e),v=t.unitRange,y=t.count||1;if(r=h(r,1),i(e)){u.set("Milliseconds",m,v>=p.second?0:y*Math.floor(u.get("Milliseconds",m)/y)),v>=p.second&&u.set("Seconds",m,v>=p.minute?0:y*Math.floor(u.get("Seconds",m)/y)),v>=p.minute&&u.set("Minutes",m,v>=p.hour?0:y*Math.floor(u.get("Minutes",m)/y)),v>=p.hour&&u.set("Hours",m,v>=p.day?0:y*Math.floor(u.get("Hours",m)/y)),v>=p.day&&u.set("Date",m,v>=p.month?1:Math.max(1,y*Math.floor(u.get("Date",m)/y))),v>=p.month&&(u.set("Month",m,v>=p.year?0:y*Math.floor(u.get("Month",m)/y)),a=u.get("FullYear",m)),v>=p.year&&(a-=a%y,u.set("FullYear",m,a)),v===p.week&&(c=u.get("Day",m),u.set("Date",m,u.get("Date",m)-c+r+(c<r?-7:0))),a=u.get("FullYear",m);let t=u.get("Month",m),o=u.get("Date",m),h=u.get("Hours",m);e=m.getTime(),(u.variableTimezone||!u.useUTC)&&i(n)&&(l=n-e>4*p.month||u.getTimezoneOffset(e)!==u.getTimezoneOffset(n));let d=m.getTime();for(s=1;d<n;)f.push(d),v===p.year?d=u.makeTime(a+s*y,0):v===p.month?d=u.makeTime(a,t+s*y):!l||v!==p.day&&v!==p.week?l&&v===p.hour&&y>1?d=u.makeTime(a,t,o,h+s*y):d+=v*y:d=u.makeTime(a,t,o+s*y*(v===p.day?1:7)),s++;f.push(d),v<=p.hour&&f.length<1e4&&f.forEach((function(t){t%18e5==0&&"000000000"===u.dateFormat("%H%M%S%L",t)&&(g[t]="day")}))}return f.info=o(t,{higherRanks:g,totalRange:v*y}),f}getDateFormat(t,e,n,i){let r=this.dateFormat("%m-%d %H:%M:%S.%L",e),o="01-01 00:00:00.000",s={millisecond:15,second:12,minute:9,hour:6,day:3},a="millisecond",l=a;for(a in p){if(t===p.week&&+this.dateFormat("%w",e)===n&&r.substr(6)===o.substr(6)){a="week";break}if(p[a]>t){a=l;break}if(s[a]&&r.substr(s[a])!==o.substr(s[a]))break;"week"!==a&&(l=a)}return this.resolveDTLFormat(i[a]).main}}return m.formatCache={},m})),n(e,"Core/Defaults.js",[e["Core/Chart/ChartDefaults.js"],e["Core/Globals.js"],e["Core/Color/Palettes.js"],e["Core/Time.js"],e["Core/Utilities.js"]],(function(t,e,n,i,r){let{isTouchDevice:o}=e,{fireEvent:s,merge:a}=r,l={colors:n.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],decimalPoint:".",numericSymbols:["k","M","G","T","P","E"],resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{buttonTheme:{fill:"#f7f7f7",padding:8,r:2,stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontSize:"0.8em",fontWeight:"normal"},states:{hover:{fill:"#e6e6e6"},select:{fill:"#e6e9ff",style:{color:"#000000",fontWeight:"bold"}},disabled:{style:{color:"#cccccc"}}}}},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{style:{color:"#333333",fontWeight:"bold"},text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{style:{color:"#666666",fontSize:"0.8em"},text:"",align:"center",widthAdjust:-44},caption:{margin:15,style:{color:"#666666",fontSize:"0.8em"},text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",events:{},layout:"horizontal",itemMarginBottom:2,itemMarginTop:2,labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{style:{fontSize:"0.8em"},activeColor:"#0022ff",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"0.8em",textDecoration:"none",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#666666",textDecoration:"line-through"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontSize:"0.8em",fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:{duration:300,easing:t=>Math.sqrt(1-Math.pow(t-1,2))},borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %e %b, %H:%M:%S.%L",second:"%A, %e %b, %H:%M:%S",minute:"%A, %e %b, %H:%M",hour:"%A, %e %b, %H:%M",day:"%A, %e %b %Y",week:"Week from %A, %e %b %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:o?25:10,headerFormat:'<span style="font-size: 0.8em">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:"#ffffff",borderWidth:void 0,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"0.8em"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"0.6em"},text:"Highcharts.com"}};l.chart.styledMode=!1;let c=new i(l.time);return{defaultOptions:l,defaultTime:c,getOptions:function(){return l},setOptions:function(t){return s(e,"setOptions",{options:t}),a(!0,l,t),(t.time||t.global)&&(e.time?e.time.update(a(l.global,l.time,t.global,t.time)):e.time=c),l}}})),n(e,"Core/Color/Color.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e){let{isNumber:n,merge:i,pInt:r}=e;class o{static parse(t){return t?new o(t):o.None}constructor(e){let n,i,r,s;this.rgba=[NaN,NaN,NaN,NaN],this.input=e;let a=t.Color;if(a&&a!==o)return new a(e);if("object"==typeof e&&void 0!==e.stops)this.stops=e.stops.map((t=>new o(t[1])));else if("string"==typeof e){if(this.input=e=o.names[e.toLowerCase()]||e,"#"===e.charAt(0)){let t=e.length,n=parseInt(e.substr(1),16);7===t?i=[(16711680&n)>>16,(65280&n)>>8,255&n,1]:4===t&&(i=[(3840&n)>>4|(3840&n)>>8,(240&n)>>4|240&n,(15&n)<<4|15&n,1])}if(!i)for(r=o.parsers.length;r--&&!i;)(n=(s=o.parsers[r]).regex.exec(e))&&(i=s.parse(n))}i&&(this.rgba=i)}get(t){let e=this.input,r=this.rgba;if("object"==typeof e&&void 0!==this.stops){let n=i(e);return n.stops=[].slice.call(n.stops),this.stops.forEach(((e,i)=>{n.stops[i]=[n.stops[i][0],e.get(t)]})),n}return r&&n(r[0])?"rgb"===t||!t&&1===r[3]?"rgb("+r[0]+","+r[1]+","+r[2]+")":"a"===t?`${r[3]}`:"rgba("+r.join(",")+")":e}brighten(t){let e=this.rgba;if(this.stops)this.stops.forEach((function(e){e.brighten(t)}));else if(n(t)&&0!==t)for(let n=0;n<3;n++)e[n]+=r(255*t),e[n]<0&&(e[n]=0),e[n]>255&&(e[n]=255);return this}setOpacity(t){return this.rgba[3]=t,this}tweenTo(t,e){let i=this.rgba,r=t.rgba;if(!n(i[0])||!n(r[0]))return t.input||"none";let o=1!==r[3]||1!==i[3];return(o?"rgba(":"rgb(")+Math.round(r[0]+(i[0]-r[0])*(1-e))+","+Math.round(r[1]+(i[1]-r[1])*(1-e))+","+Math.round(r[2]+(i[2]-r[2])*(1-e))+(o?","+(r[3]+(i[3]-r[3])*(1-e)):"")+")"}}return o.names={white:"#ffffff",black:"#000000"},o.parsers=[{regex:/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?(?:\.\d+)?)\s*\)/,parse:function(t){return[r(t[1]),r(t[2]),r(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,parse:function(t){return[r(t[1]),r(t[2]),r(t[3]),1]}}],o.None=new o(""),o})),n(e,"Core/Animation/Fx.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,n){let{parse:i}=t,{win:r}=e,{isNumber:o,objectEach:s}=n;class a{constructor(t,e,n){this.pos=NaN,this.options=e,this.elem=t,this.prop=n}dSetter(){let t=this.paths,e=t&&t[0],n=t&&t[1],i=this.now||0,r=[];if(1!==i&&e&&n)if(e.length===n.length&&i<1)for(let t=0;t<n.length;t++){let s=e[t],a=n[t],l=[];for(let t=0;t<a.length;t++){let e=s[t],n=a[t];o(e)&&o(n)&&("A"!==a[0]||4!==t&&5!==t)?l[t]=e+i*(n-e):l[t]=n}r.push(l)}else r=n;else r=this.toD||[];this.elem.attr("d",r,void 0,!0)}update(){let t=this.elem,e=this.prop,n=this.now,i=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,n,null,!0):t.style[e]=n+this.unit,i&&i.call(t,n,this)}run(t,e,n){let i=this,o=i.options,s=function(t){return!s.stopped&&i.step(t)},l=r.requestAnimationFrame||function(t){setTimeout(t,13)},c=function(){for(let t=0;t<a.timers.length;t++)a.timers[t]()||a.timers.splice(t--,1);a.timers.length&&l(c)};t!==e||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=t,this.end=e,this.unit=n,this.now=this.start,this.pos=0,s.elem=this.elem,s.prop=this.prop,s()&&1===a.timers.push(s)&&l(c)):(delete o.curAnim[this.prop],o.complete&&0===Object.keys(o.curAnim).length&&o.complete.call(this.elem))}step(t){let e,n,i=+new Date,r=this.options,o=this.elem,a=r.complete,l=r.duration,c=r.curAnim;return o.attr&&!o.element?e=!1:t||i>=l+this.startTime?(this.now=this.end,this.pos=1,this.update(),c[this.prop]=!0,n=!0,s(c,(function(t){!0!==t&&(n=!1)})),n&&a&&a.call(o),e=!1):(this.pos=r.easing((i-this.startTime)/l),this.now=this.start+(this.end-this.start)*this.pos,this.update(),e=!0),e}initPath(t,e,n){let i,r,s,a,l=t.startX,c=t.endX,u=n.slice(),h=t.isArea,d=h?2:1,p=e&&n.length>e.length&&n.hasStackedCliffs,f=e&&e.slice();if(!f||p)return[u,u];function g(t,e){for(;t.length<r;){let n=t[0],i=e[r-t.length];if(i&&"M"===n[0]&&("C"===i[0]?t[0]=["C",n[1],n[2],n[1],n[2],n[1],n[2]]:t[0]=["L",n[1],n[2]]),t.unshift(n),h){let e=t.pop();t.push(t[t.length-1],e)}}}function m(t){for(;t.length<r;){let e=t[Math.floor(t.length/d)-1].slice();if("C"===e[0]&&(e[1]=e[5],e[2]=e[6]),h){let n=t[Math.floor(t.length/d)].slice();t.splice(t.length/2,0,e,n)}else t.push(e)}}if(l&&c&&c.length){for(s=0;s<l.length;s++){if(l[s]===c[0]){i=s;break}if(l[0]===c[c.length-l.length+s]){i=s,a=!0;break}if(l[l.length-1]===c[c.length-l.length+s]){i=l.length-s;break}}void 0===i&&(f=[])}return f.length&&o(i)&&(r=u.length+i*d,a?(g(f,u),m(u)):(g(u,f),m(f))),[f,u]}fillSetter(){a.prototype.strokeSetter.apply(this,arguments)}strokeSetter(){this.elem.attr(this.prop,i(this.start).tweenTo(i(this.end),this.pos),void 0,!0)}}return a.timers=[],a})),n(e,"Core/Animation/AnimationUtilities.js",[e["Core/Animation/Fx.js"],e["Core/Utilities.js"]],(function(t,e){let{defined:n,getStyle:i,isArray:r,isNumber:o,isObject:s,merge:a,objectEach:l,pick:c}=e;function u(t){return s(t)?a({duration:500,defer:0},t):{duration:t?500:0,defer:0}}function h(e,n){let i=t.timers.length;for(;i--;)t.timers[i].elem!==e||n&&n!==t.timers[i].prop||(t.timers[i].stopped=!0)}return{animate:function(e,n,c){let u,d,p,f,g="";s(c)||(f=arguments,c={duration:f[2],easing:f[3],complete:f[4]}),o(c.duration)||(c.duration=400),c.easing="function"==typeof c.easing?c.easing:Math[c.easing]||Math.easeInOutSine,c.curAnim=a(n),l(n,(function(o,s){h(e,s),p=new t(e,c,s),d=void 0,"d"===s&&r(n.d)?(p.paths=p.initPath(e,e.pathArray,n.d),p.toD=n.d,u=0,d=1):e.attr?u=e.attr(s):(u=parseFloat(i(e,s))||0,"opacity"!==s&&(g="px")),d||(d=o),"string"==typeof d&&d.match("px")&&(d=d.replace(/px/g,"")),p.run(u,d,g)}))},animObject:u,getDeferredAnimation:function(t,e,i){let r=u(e),o=i?[i]:t.series,a=0,l=0;return o.forEach((t=>{let i=u(t.options.animation);a=s(e)&&n(e.defer)?r.defer:Math.max(a,i.duration+i.defer),l=Math.min(r.duration,i.duration)})),t.renderer.forExport&&(a=0),{defer:Math.max(0,a-l),duration:Math.min(a,l)}},setAnimation:function(t,e){e.renderer.globalAnimation=c(t,e.options.chart.animation,!0)},stop:h}})),n(e,"Core/Renderer/HTML/AST.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e){let{SVG_NS:n,win:i}=t,{attr:r,createElement:o,css:s,error:a,isFunction:l,isString:c,objectEach:u,splat:h}=e,{trustedTypes:d}=i,p=d&&l(d.createPolicy)&&d.createPolicy("highcharts",{createHTML:t=>t}),f=p?p.createHTML(""):"",g=function(){try{return!!(new DOMParser).parseFromString(f,"text/html")}catch{return!1}}();class m{static filterUserAttributes(t){return u(t,((e,n)=>{let i=!0;-1===m.allowedAttributes.indexOf(n)&&(i=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(n)&&(i=c(e)&&m.allowedReferences.some((t=>0===e.indexOf(t)))),i||(a(33,!1,void 0,{"Invalid attribute in config":`${n}`}),delete t[n]),c(e)&&t[n]&&(t[n]=e.replace(/</g,"<"))})),t}static parseStyle(t){return t.split(";").reduce(((t,e)=>{let n=e.split(":").map((t=>t.trim())),i=n.shift();return i&&n.length&&(t[i.replace(/-([a-z])/g,(t=>t[1].toUpperCase()))]=n.join(":")),t}),{})}static setElementHTML(t,e){t.innerHTML=m.emptyHTML,e&&new m(e).addToDOM(t)}constructor(t){this.nodes="string"==typeof t?this.parseMarkup(t):t}addToDOM(e){return function e(i,o){let l;return h(i).forEach((function(i){let c,h=i.tagName,d=i.textContent?t.doc.createTextNode(i.textContent):void 0,p=m.bypassHTMLFiltering;if(h)if("#text"===h)c=d;else if(-1!==m.allowedTags.indexOf(h)||p){let a="svg"===h?n:o.namespaceURI||n,l=t.doc.createElementNS(a,h),f=i.attributes||{};u(i,(function(t,e){"tagName"!==e&&"attributes"!==e&&"children"!==e&&"style"!==e&&"textContent"!==e&&(f[e]=t)})),r(l,p?f:m.filterUserAttributes(f)),i.style&&s(l,i.style),d&&l.appendChild(d),e(i.children||[],l),c=l}else a(33,!1,void 0,{"Invalid tagName in config":h});c&&o.appendChild(c),l=c})),l}(this.nodes,e)}parseMarkup(t){let e,n=[];if(t=t.trim().replace(/ style=(["'])/g," data-style=$1"),g)e=(new DOMParser).parseFromString(p?p.createHTML(t):t,"text/html");else{let n=o("div");n.innerHTML=t,e={body:n}}let i=(t,e)=>{let n=t.nodeName.toLowerCase(),r={tagName:n};"#text"===n&&(r.textContent=t.textContent||"");let o=t.attributes;if(o){let t={};[].forEach.call(o,(e=>{"data-style"===e.name?r.style=m.parseStyle(e.value):t[e.name]=e.value})),r.attributes=t}if(t.childNodes.length){let e=[];[].forEach.call(t.childNodes,(t=>{i(t,e)})),e.length&&(r.children=e)}e.push(r)};return[].forEach.call(e.body.childNodes,(t=>i(t,n))),n}}return m.allowedAttributes=["alt","aria-controls","aria-describedby","aria-expanded","aria-haspopup","aria-hidden","aria-label","aria-labelledby","aria-live","aria-pressed","aria-readonly","aria-roledescription","aria-selected","class","clip-path","color","colspan","cx","cy","d","dx","dy","disabled","fill","filterUnits","flood-color","flood-opacity","height","href","id","in","in2","markerHeight","markerWidth","offset","opacity","operator","orient","padding","paddingLeft","paddingRight","patternUnits","r","radius","refX","refY","role","scope","slope","src","startOffset","stdDeviation","stroke","stroke-linecap","stroke-width","style","tableValues","result","rowspan","summary","target","tabindex","text-align","text-anchor","textAnchor","textLength","title","type","valign","width","x","x1","x2","xlink:href","y","y1","y2","zIndex"],m.allowedReferences=["https://","http://","mailto:","/","../","./","#"],m.allowedTags=["a","abbr","b","br","button","caption","circle","clipPath","code","dd","defs","div","dl","dt","em","feComponentTransfer","feComposite","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMorphology","feOffset","feMerge","feMergeNode","filter","h1","h2","h3","h4","h5","h6","hr","i","img","li","linearGradient","marker","ol","p","path","pattern","pre","rect","small","span","stop","strong","style","sub","sup","svg","table","text","textPath","thead","title","tbody","tspan","td","th","tr","u","ul","#text"],m.emptyHTML=f,m.bypassHTMLFiltering=!1,m})),n(e,"Core/Templating.js",[e["Core/Defaults.js"],e["Core/Utilities.js"]],(function(t,e){let{defaultOptions:n,defaultTime:i}=t,{extend:r,getNestedProperty:o,isArray:s,isNumber:a,isObject:l,pick:c,pInt:u}=e,h={add:(t,e)=>t+e,divide:(t,e)=>0!==e?t/e:"",eq:(t,e)=>t==e,each:function(t){let e=arguments[arguments.length-1];return!!s(t)&&t.map(((n,i)=>d(e.body,r(l(n)?n:{"@this":n},{"@index":i,"@first":0===i,"@last":i===t.length-1})))).join("")},ge:(t,e)=>t>=e,gt:(t,e)=>t>e,if:t=>!!t,le:(t,e)=>t<=e,lt:(t,e)=>t<e,multiply:(t,e)=>t*e,ne:(t,e)=>t!=e,subtract:(t,e)=>t-e,unless:t=>!t};function d(t="",e,r){let s,a,l,u=/\{([\w\:\.\,;\-\/<>%@"'’= #\(\)]+)\}/g,f=/\(([\w\:\.\,;\-\/<>%@"'= ]+)\)/g,g=[],m=/f$/,v=/\.(\d)/,y=n.lang,b=r&&r.time||i,_=r&&r.numberFormatter||p,x=(t="")=>{let n;return"true"===t||"false"!==t&&((n=Number(t)).toString()===t?n:o(t,e))},w=0;for(;null!==(s=u.exec(t));){let n=f.exec(s[1]);n&&(s=n,l=!0),a&&a.isBlock||(a={ctx:e,expression:s[1],find:s[0],isBlock:"#"===s[1].charAt(0),start:s.index,startInner:s.index+s[0].length,length:s[0].length});let i=s[1].split(" ")[0].replace("#","");h[i]&&(a.isBlock&&i===a.fn&&w++,a.fn||(a.fn=i));let r="else"===s[1];if(a.isBlock&&a.fn&&(s[1]===`/${a.fn}`||r))if(w)!r&&w--;else{let e=a.startInner,n=t.substr(e,s.index-e);void 0===a.body?(a.body=n,a.startInner=s.index+s[0].length):a.elseBody=n,a.find+=n+s[0],r||(g.push(a),a=void 0)}else a.isBlock||g.push(a);if(n&&(null==a||!a.isBlock))break}return g.forEach((n=>{let i,o,{body:s,elseBody:a,expression:l,fn:u}=n;if(u){let t=[n],c=l.split(" ");for(o=h[u].length;o--;)t.unshift(x(c[o+1]));i=h[u].apply(e,t),n.isBlock&&"boolean"==typeof i&&(i=d(i?s:a,e,r))}else{let t=l.split(":");if(i=x(t.shift()||""),t.length&&"number"==typeof i){let e=t.join(":");if(m.test(e)){let t=parseInt((e.match(v)||["","-1"])[1],10);null!==i&&(i=_(i,t,y.decimalPoint,e.indexOf(",")>-1?y.thousandsSep:""))}else i=b.dateFormat(e,i)}}t=t.replace(n.find,c(i,""))})),l?d(t,e,r):t}function p(t,e,i,r){let o,s;t=+t||0,e=+e;let l=n.lang,h=(t.toString().split(".")[1]||"").split("e")[0].length,d=t.toString().split("e"),p=e;-1===e?e=Math.min(h,20):a(e)?e&&d[1]&&d[1]<0&&((s=e+ +d[1])>=0?(d[0]=(+d[0]).toExponential(s).split("e")[0],e=s):(d[0]=d[0].split(".")[0]||0,t=e<20?(d[0]*Math.pow(10,d[1])).toFixed(e):0,d[1]=0)):e=2;let f=(Math.abs(d[1]?d[0]:t)+Math.pow(10,-Math.max(e,h)-1)).toFixed(e),g=String(u(f)),m=g.length>3?g.length%3:0;return i=c(i,l.decimalPoint),r=c(r,l.thousandsSep),o=(t<0?"-":"")+(m?g.substr(0,m)+r:""),0>+d[1]&&!p?o="0":o+=g.substr(m).replace(/(\d{3})(?=\d)/g,"$1"+r),e?o+=i+f.slice(-e):0==+o&&(o="0"),d[1]&&0!=+o&&(o+="e"+d[1]),o}return{dateFormat:function(t,e,n){return i.dateFormat(t,e,n)},format:d,helpers:h,numberFormat:p}})),n(e,"Core/Renderer/RendererRegistry.js",[e["Core/Globals.js"]],(function(t){var e,n;let i;return(n=e||(e={})).rendererTypes={},n.getRendererType=function(t=i){return n.rendererTypes[t]||n.rendererTypes[i]},n.registerRendererType=function(e,r,o){n.rendererTypes[e]=r,(!i||o)&&(i=e,t.Renderer=r)},e})),n(e,"Core/Renderer/RendererUtilities.js",[e["Core/Utilities.js"]],(function(t){var e;let{clamp:n,pick:i,pushUnique:r,stableSort:o}=t;return(e||(e={})).distribute=function t(e,s,a){let l,c,u,h,d,p,f=e,g=f.reducedLen||s,m=(t,e)=>t.target-e.target,v=[],y=e.length,b=[],_=v.push,x=!0,w=0;for(l=y;l--;)w+=e[l].size;if(w>g){for(o(e,((t,e)=>(e.rank||0)-(t.rank||0))),u=(p=e[0].rank===e[e.length-1].rank)?y/2:-1,c=p?u:y-1;u&&w>g;)h=e[l=Math.floor(c)],r(b,l)&&(w-=h.size),c+=u,p&&c>=e.length&&(u/=2,c=u);b.sort(((t,e)=>e-t)).forEach((t=>_.apply(v,e.splice(t,1))))}for(o(e,m),e=e.map((t=>({size:t.size,targets:[t.target],align:i(t.align,.5)})));x;){for(l=e.length;l--;)h=e[l],d=(Math.min.apply(0,h.targets)+Math.max.apply(0,h.targets))/2,h.pos=n(d-h.size*h.align,0,s-h.size);for(l=e.length,x=!1;l--;)l>0&&e[l-1].pos+e[l-1].size>e[l].pos&&(e[l-1].size+=e[l].size,e[l-1].targets=e[l-1].targets.concat(e[l].targets),e[l-1].align=.5,e[l-1].pos+e[l-1].size>s&&(e[l-1].pos=s-e[l-1].size),e.splice(l,1),x=!0)}return _.apply(f,v),l=0,e.some((e=>{let n=0;return(e.targets||[]).some((()=>(f[l].pos=e.pos+n,void 0!==a&&Math.abs(f[l].pos-f[l].target)>a?(f.slice(0,l+1).forEach((t=>delete t.pos)),f.reducedLen=(f.reducedLen||s)-.1*s,f.reducedLen>.1*s&&t(f,s,a),!0):(n+=f[l].size,l++,!1))))})),o(f,m),f},e})),n(e,"Core/Renderer/SVG/SVGElement.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,n,i){let{animate:r,animObject:o,stop:s}=t,{deg2rad:a,doc:l,svg:c,SVG_NS:u,win:h}=n,{addEvent:d,attr:p,createElement:f,crisp:g,css:m,defined:v,erase:y,extend:b,fireEvent:_,isArray:x,isFunction:w,isObject:S,isString:k,merge:C,objectEach:A,pick:O,pInt:T,pushUnique:E,replaceNested:P,syncTimeout:M,uniqueKey:L}=i;class j{_defaultGetter(t){let e=O(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0);return/^-?[\d\.]+$/.test(e)&&(e=parseFloat(e)),e}_defaultSetter(t,e,n){n.setAttribute(e,t)}add(t){let e,n=this.renderer,i=this.element;return t&&(this.parentGroup=t),void 0!==this.textStr&&"text"===this.element.nodeName&&n.buildText(this),this.added=!0,(!t||t.handleZ||this.zIndex)&&(e=this.zIndexSetter()),e||(t?t.element:n.box).appendChild(i),this.onAdd&&this.onAdd(),this}addClass(t,e){let n=e?"":this.attr("class")||"";return(t=(t||"").split(/ /g).reduce((function(t,e){return-1===n.indexOf(e)&&t.push(e),t}),n?[n]:[]).join(" "))!==n&&this.attr("class",t),this}afterSetters(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)}align(t,e,n,i=!0){let r,o,s,a,l={},c=this.renderer,u=c.alignedObjects,h=!!t;t?(this.alignOptions=t,this.alignByTranslate=e,this.alignTo=n):(t=this.alignOptions||{},e=this.alignByTranslate,n=this.alignTo);let d=!n||k(n)?n||"renderer":void 0;d&&(h&&E(u,this),n=void 0);let p=O(n,c[d],c),f=t.align,g=t.verticalAlign;return r=(p.x||0)+(t.x||0),o=(p.y||0)+(t.y||0),"right"===f?s=1:"center"===f&&(s=2),s&&(r+=((p.width||0)-(t.width||0))/s),l[e?"translateX":"x"]=Math.round(r),"bottom"===g?a=1:"middle"===g&&(a=2),a&&(o+=((p.height||0)-(t.height||0))/a),l[e?"translateY":"y"]=Math.round(o),i&&(this[this.placed?"animate":"attr"](l),this.placed=!0),this.alignAttr=l,this}alignSetter(t){let e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))}animate(t,e,n){let i=o(O(e,this.renderer.globalAnimation,!0)),s=i.defer;return l.hidden&&(i.duration=0),0!==i.duration?(n&&(i.complete=n),M((()=>{this.element&&r(this,t,i)}),s)):(this.attr(t,void 0,n||i.complete),A(t,(function(t,e){i.step&&i.step.call(this,t,{prop:e,pos:1,elem:this})}),this)),this}applyTextOutline(t){let e=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(e.style.fill)));let i=t.split(" "),r=i[i.length-1],o=i[0];if(o&&"none"!==o&&n.svg){this.fakeTS=!0,o=o.replace(/(^[\d\.]+)(.*?)$/g,(function(t,e,n){return 2*Number(e)+n})),this.removeTextOutline();let t=l.createElementNS(u,"tspan");p(t,{class:"highcharts-text-outline",fill:r,stroke:r,"stroke-width":o,"stroke-linejoin":"round"});let n=e.querySelector("textPath")||e;[].forEach.call(n.childNodes,(e=>{let n=e.cloneNode(!0);n.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((t=>n.removeAttribute(t))),t.appendChild(n)}));let i=0;[].forEach.call(n.querySelectorAll("text tspan"),(t=>{i+=Number(t.getAttribute("dy"))}));let s=l.createElementNS(u,"tspan");s.textContent="",p(s,{x:Number(e.getAttribute("x")),dy:-i}),t.appendChild(s),n.insertBefore(t,n.firstChild)}}attr(t,e,n,i){let r,o,a,{element:l}=this,c=j.symbolCustomAttribs,u=this;return"string"==typeof t&&void 0!==e&&(r=t,(t={})[r]=e),"string"==typeof t?u=(this[t+"Getter"]||this._defaultGetter).call(this,t,l):(A(t,(function(e,n){a=!1,i||s(this,n),this.symbolName&&-1!==c.indexOf(n)&&(o||(this.symbolAttr(t),o=!0),a=!0),this.rotation&&("x"===n||"y"===n)&&(this.doTransform=!0),a||(this[n+"Setter"]||this._defaultSetter).call(this,e,n,l)}),this),this.afterSetters()),n&&n.call(this),u}clip(t){if(t&&!t.clipPath){let e=L()+"-",n=this.renderer.createElement("clipPath").attr({id:e}).add(this.renderer.defs);b(t,{clipPath:n,id:e,count:0}),t.add(n)}return this.attr("clip-path",t?`url(${this.renderer.url}#${t.id})`:"none")}crisp(t,e){e=Math.round(e||t.strokeWidth||0);let n=t.x||this.x||0,i=t.y||this.y||0,r=(t.width||this.width||0)+n,o=(t.height||this.height||0)+i,s=g(n,e),a=g(i,e);return b(t,{x:s,y:a,width:g(r,e)-s,height:g(o,e)-a}),v(t.strokeWidth)&&(t.strokeWidth=e),t}complexColor(t,n,i){let r,o,s,a,l,c,u,h,d,p,f,g=this.renderer,m=[];_(this.renderer,"complexColor",{args:arguments},(function(){if(t.radialGradient?o="radialGradient":t.linearGradient&&(o="linearGradient"),o){if(s=t[o],l=g.gradients,c=t.stops,d=i.radialReference,x(s)&&(t[o]=s={x1:s[0],y1:s[1],x2:s[2],y2:s[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===o&&d&&!v(s.gradientUnits)&&(a=s,s=C(s,g.getRadialAttr(d,a),{gradientUnits:"userSpaceOnUse"})),A(s,(function(t,e){"id"!==e&&m.push(e,t)})),A(c,(function(t){m.push(t)})),l[m=m.join(",")])p=l[m].attr("id");else{s.id=p=L();let t=l[m]=g.createElement(o).attr(s).add(g.defs);t.radAttr=a,t.stops=[],c.forEach((function(n){0===n[1].indexOf("rgba")?(u=(r=e.parse(n[1])).get("rgb"),h=r.get("a")):(u=n[1],h=1);let i=g.createElement("stop").attr({offset:n[0],"stop-color":u,"stop-opacity":h}).add(t);t.stops.push(i)}))}f="url("+g.url+"#"+p+")",i.setAttribute(n,f),i.gradient=m,t.toString=function(){return f}}}))}css(t){let e,n=this.styles,i={},r=this.element,o=!n;if(n&&A(t,(function(t,e){n&&n[e]!==t&&(i[e]=t,o=!0)})),o){n&&(t=b(n,i)),null===t.width||"auto"===t.width?delete this.textWidth:"text"===r.nodeName.toLowerCase()&&t.width&&(e=this.textWidth=T(t.width)),b(this.styles,t),e&&!c&&this.renderer.forExport&&delete t.width;let o=C(t);r.namespaceURI===this.SVG_NS&&(["textOutline","textOverflow","width"].forEach((t=>o&&delete o[t])),o.color&&(o.fill=o.color)),m(r,o)}return this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t.textOutline&&this.applyTextOutline(t.textOutline)),this}dashstyleSetter(t){let e,n=this["stroke-width"];if("inherit"===n&&(n=1),t=t&&t.toLowerCase()){let i=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(e=i.length;e--;)i[e]=""+T(i[e])*O(n,NaN);t=i.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}}destroy(){var t;let e,n,i=this,r=i.element||{},o=i.renderer,a=r.ownerSVGElement,l="SPAN"===r.nodeName&&i.parentGroup||void 0;if(r.onclick=r.onmouseout=r.onmouseover=r.onmousemove=r.point=null,s(i),i.clipPath&&a){let t=i.clipPath;[].forEach.call(a.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(e){e.getAttribute("clip-path").indexOf(t.element.id)>-1&&e.removeAttribute("clip-path")})),i.clipPath=t.destroy()}if(i.connector=null==(t=i.connector)?void 0:t.destroy(),i.stops){for(n=0;n<i.stops.length;n++)i.stops[n].destroy();i.stops.length=0,i.stops=void 0}for(i.safeRemoveChild(r);l&&l.div&&0===l.div.childNodes.length;)e=l.parentGroup,i.safeRemoveChild(l.div),delete l.div,l=e;i.alignOptions&&y(o.alignedObjects,i),A(i,(function(t,e){i[e]&&i[e].parentGroup===i&&i[e].destroy&&i[e].destroy(),delete i[e]}))}dSetter(t,e,n){x(t)&&("string"==typeof t[0]&&(t=this.renderer.pathToSegments(t)),this.pathArray=t,t=t.reduce(((t,e,n)=>e&&e.join?(n?t+" ":"")+e.join(" "):(e||"").toString()),"")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(n.setAttribute(e,t),this[e]=t)}fillSetter(t,e,n){"string"==typeof t?n.setAttribute(e,t):t&&this.complexColor(t,e,n)}hrefSetter(t,e,n){n.setAttributeNS("http://www.w3.org/1999/xlink",e,t)}getBBox(t,e){let n,i,r,o,{alignValue:s,element:a,renderer:l,styles:c,textStr:u}=this,{cache:h,cacheKeys:d}=l,p=a.namespaceURI===this.SVG_NS,f=O(e,this.rotation,0),g=l.styledMode?a&&j.prototype.getStyle.call(a,"font-size"):c.fontSize;if(v(u)&&(-1===(o=u.toString()).indexOf("<")&&(o=o.replace(/\d/g,"0")),o+=["",l.rootFontSize,g,f,this.textWidth,s,c.textOverflow,c.fontWeight].join(",")),o&&!t&&(n=h[o]),!n||n.polygon){if(p||l.forExport){try{r=this.fakeTS&&function(t){let e=a.querySelector(".highcharts-text-outline");e&&m(e,{display:t})},w(r)&&r("none"),n=a.getBBox?b({},a.getBBox()):{width:a.offsetWidth,height:a.offsetHeight,x:0,y:0},w(r)&&r("")}catch{}(!n||n.width<0)&&(n={x:0,y:0,width:0,height:0})}else n=this.htmlGetBBox();i=n.height,p&&(n.height=i={"11px,17":14,"13px,20":16}[`${g||""},${Math.round(i)}`]||i),f&&(n=this.getRotatedBox(n,f));let t={bBox:n};_(this,"afterGetBBox",t),n=t.bBox}if(o&&(""===u||n.height>0)){for(;d.length>250;)delete h[d.shift()];h[o]||d.push(o),h[o]=n}return n}getRotatedBox(t,e){let{x:n,y:i,width:r,height:o}=t,{alignValue:s,translateY:l,rotationOriginX:c=0,rotationOriginY:u=0}=this,h={right:1,center:.5}[s||0]||0,d=Number(this.element.getAttribute("y")||0)-(l?0:i),p=e*a,f=(e-90)*a,g=Math.cos(p),m=Math.sin(p),v=r*g,y=r*m,b=Math.cos(f),_=Math.sin(f),[[x,w],[S,k]]=[c,u].map((t=>[t-t*g,t*m])),C=n+h*(r-v)+x+k+d*b,A=C+v,O=A-o*b,T=O-v,E=i+d-h*y-w+S+d*_,P=E+y,M=P-o*_,L=M-y,j=Math.min(C,A,O,T),D=Math.min(E,P,M,L);return{x:j,y:D,width:Math.max(C,A,O,T)-j,height:Math.max(E,P,M,L)-D,polygon:[[C,E],[A,P],[O,M],[T,L]]}}getStyle(t){return h.getComputedStyle(this.element||this,"").getPropertyValue(t)}hasClass(t){return-1!==(""+this.attr("class")).split(" ").indexOf(t)}hide(){return this.attr({visibility:"hidden"})}htmlGetBBox(){return{height:0,width:0,x:0,y:0}}constructor(t,e){this.onEvents={},this.opacity=1,this.SVG_NS=u,this.element="span"===e||"body"===e?f(e):l.createElementNS(this.SVG_NS,e),this.renderer=t,this.styles={},_(this,"afterInit")}on(t,e){let{onEvents:n}=this;return n[t]&&n[t](),n[t]=d(this.element,t,e),this}opacitySetter(t,e,n){let i=Number(Number(t).toFixed(3));this.opacity=i,n.setAttribute(e,i)}reAlign(){var t;null!=(t=this.alignOptions)&&t.width&&"left"!==this.alignOptions.align&&(this.alignOptions.width=this.getBBox().width,this.placed=!1,this.align())}removeClass(t){return this.attr("class",(""+this.attr("class")).replace(k(t)?RegExp(`(^| )${t}( |$)`):t," ").replace(/ +/g," ").trim())}removeTextOutline(){let t=this.element.querySelector("tspan.highcharts-text-outline");t&&this.safeRemoveChild(t)}safeRemoveChild(t){let e=t.parentNode;e&&e.removeChild(t)}setRadialReference(t){let e=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this}shadow(t){var e;let{renderer:n}=this,i=C(90===(null==(e=this.parentGroup)?void 0:e.rotation)?{offsetX:-1,offsetY:-1}:{},S(t)?t:{}),r=n.shadowDefinition(i);return this.attr({filter:t?`url(${n.url}#${r})`:"none"})}show(t=!0){return this.attr({visibility:t?"inherit":"visible"})}"stroke-widthSetter"(t,e,n){this[e]=t,n.setAttribute(e,t)}strokeWidth(){if(!this.renderer.styledMode)return this["stroke-width"]||0;let t,e=this.getStyle("stroke-width"),n=0;return/px$/.test(e)?n=T(e):""!==e&&(p(t=l.createElementNS(u,"rect"),{width:e,"stroke-width":0}),this.element.parentNode.appendChild(t),n=t.getBBox().width,t.parentNode.removeChild(t)),n}symbolAttr(t){let e=this;j.symbolCustomAttribs.forEach((function(n){e[n]=O(t[n],e[n])})),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})}textSetter(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this),this.reAlign())}titleSetter(t){let e=this.element,n=e.getElementsByTagName("title")[0]||l.createElementNS(this.SVG_NS,"title");e.insertBefore?e.insertBefore(n,e.firstChild):e.appendChild(n),n.textContent=P(O(t,""),[/<[^>]*>/g,""]).replace(/</g,"<").replace(/>/g,">")}toFront(){let t=this.element;return t.parentNode.appendChild(t),this}translate(t,e){return this.attr({translateX:t,translateY:e})}updateTransform(t="transform"){var e;let{element:n,matrix:i,rotation:r=0,rotationOriginX:o,rotationOriginY:s,scaleX:a,scaleY:l,translateX:c=0,translateY:u=0}=this,h=["translate("+c+","+u+")"];v(i)&&h.push("matrix("+i.join(",")+")"),r&&(h.push("rotate("+r+" "+O(o,n.getAttribute("x"),0)+" "+O(s,n.getAttribute("y")||0)+")"),"SPAN"===(null==(e=this.text)?void 0:e.element.tagName)&&this.text.attr({rotation:r,rotationOriginX:(o||0)-this.padding,rotationOriginY:(s||0)-this.padding})),(v(a)||v(l))&&h.push("scale("+O(a,1)+" "+O(l,1)+")"),h.length&&!(this.text||this).textPath&&n.setAttribute(t,h.join(" "))}visibilitySetter(t,e,n){"inherit"===t?n.removeAttribute(e):this[e]!==t&&n.setAttribute(e,t),this[e]=t}xGetter(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)}zIndexSetter(t,e){let n,i,r,o,s,a=this.renderer,l=this.parentGroup,c=(l||a).element||a.box,u=this.element,h=c===a.box,d=!1,p=this.added;if(v(t)?(u.setAttribute("data-z-index",t),t=+t,this[e]===t&&(p=!1)):v(this[e])&&u.removeAttribute("data-z-index"),this[e]=t,p){for((t=this.zIndex)&&l&&(l.handleZ=!0),s=(n=c.childNodes).length-1;s>=0&&!d;s--)o=!v(r=(i=n[s]).getAttribute("data-z-index")),i!==u&&(t<0&&o&&!h&&!s?(c.insertBefore(u,n[s]),d=!0):(T(r)<=t||o&&(!v(t)||t>=0))&&(c.insertBefore(u,n[s+1]),d=!0));d||(c.insertBefore(u,n[h?3:0]),d=!0)}return d}}return j.symbolCustomAttribs=["anchorX","anchorY","clockwise","end","height","innerR","r","start","width","x","y"],j.prototype.strokeSetter=j.prototype.fillSetter,j.prototype.yGetter=j.prototype.xGetter,j.prototype.matrixSetter=j.prototype.rotationOriginXSetter=j.prototype.rotationOriginYSetter=j.prototype.rotationSetter=j.prototype.scaleXSetter=j.prototype.scaleYSetter=j.prototype.translateXSetter=j.prototype.translateYSetter=j.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},j})),n(e,"Core/Renderer/SVG/SVGLabel.js",[e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],(function(t,e){let{defined:n,extend:i,isNumber:r,merge:o,pick:s,removeEvent:a}=e;class l extends t{constructor(t,e,n,i,r,o,s,a,c,u){let h;super(t,"g"),this.paddingLeftSetter=this.paddingSetter,this.paddingRightSetter=this.paddingSetter,this.doUpdate=!1,this.textStr=e,this.x=n,this.y=i,this.anchorX=o,this.anchorY=s,this.baseline=c,this.className=u,this.addClass("button"===u?"highcharts-no-tooltip":"highcharts-label"),u&&this.addClass("highcharts-"+u),this.text=t.text(void 0,0,0,a).attr({zIndex:1}),"string"==typeof r&&((h=/^url\((.*?)\)$/.test(r))||this.renderer.symbols[r])&&(this.symbolKey=r),this.bBox=l.emptyBBox,this.padding=3,this.baselineOffset=0,this.needsBox=t.styledMode||h,this.deferredAttr={},this.alignFactor=0}alignSetter(t){let e={left:0,center:.5,right:1}[t];e!==this.alignFactor&&(this.alignFactor=e,this.bBox&&r(this.xSetting)&&this.attr({x:this.xSetting}))}anchorXSetter(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)}anchorYSetter(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)}boxAttr(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e}css(e){if(e){let t={};e=o(e),l.textProps.forEach((n=>{void 0!==e[n]&&(t[n]=e[n],delete e[n])})),this.text.css(t),"fontSize"in t||"fontWeight"in t?this.updateTextPadding():("width"in t||"textOverflow"in t)&&this.updateBoxSize()}return t.prototype.css.call(this,e)}destroy(){a(this.element,"mouseenter"),a(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)}fillSetter(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)}getBBox(t,e){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();let{padding:n,height:i=0,translateX:r=0,translateY:o=0,width:a=0}=this,l=s(this.paddingLeft,n),c=e??(this.rotation||0),u={width:a,height:i,x:r+this.bBox.x-l,y:o+this.bBox.y-n+this.baselineOffset};return c&&(u=this.getRotatedBox(u,c)),u}getCrispAdjust(){return(this.renderer.styledMode&&this.box?this.box.strokeWidth():this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2}heightSetter(t){this.heightSetting=t,this.doUpdate=!0}afterSetters(){super.afterSetters(),this.doUpdate&&(this.updateBoxSize(),this.doUpdate=!1)}onAdd(){this.text.add(this),this.attr({text:s(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&n(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})}paddingSetter(t,e){r(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0}rSetter(t,e){this.boxAttr(e,t)}strokeSetter(t,e){this.stroke=t,this.boxAttr(e,t)}"stroke-widthSetter"(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)}"text-alignSetter"(t){this.textAlign=t}textSetter(t){void 0!==t&&this.text.attr({text:t}),this.updateTextPadding(),this.reAlign()}updateBoxSize(){let t,e=this.text,o={},s=this.padding,a=this.bBox=r(this.widthSetting)&&r(this.heightSetting)&&!this.textAlign||!n(e.textStr)?l.emptyBBox:e.getBBox(void 0,0);this.width=this.getPaddedWidth(),this.height=(this.heightSetting||a.height||0)+2*s;let c=this.renderer.fontMetrics(e);if(this.baselineOffset=s+Math.min((this.text.firstLineMetrics||c).b,a.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-c.h)/2),this.needsBox&&!e.textPath){if(!this.box){let t=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect();t.addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),t.add(this)}t=this.getCrispAdjust(),o.x=t,o.y=(this.baseline?-this.baselineOffset:0)+t,o.width=Math.round(this.width),o.height=Math.round(this.height),this.box.attr(i(o,this.deferredAttr)),this.deferredAttr={}}}updateTextPadding(){let t=this.text;if(!t.textPath){this.updateBoxSize();let e=this.baseline?0:this.baselineOffset,i=s(this.paddingLeft,this.padding);n(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(i+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),(i!==t.x||e!==t.y)&&(t.attr("x",i),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0)),void 0!==e&&t.attr("y",e)),t.x=i,t.y=e}}widthSetter(t){this.widthSetting=r(t)?t:void 0,this.doUpdate=!0}getPaddedWidth(){let t=this.padding,e=s(this.paddingLeft,t),n=s(this.paddingRight,t);return(this.widthSetting||this.bBox.width||0)+e+n}xSetter(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)}ySetter(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)}}return l.emptyBBox={width:0,height:0,x:0,y:0},l.textProps=["color","direction","fontFamily","fontSize","fontStyle","fontWeight","lineHeight","textAlign","textDecoration","textOutline","textOverflow","whiteSpace","width"],l})),n(e,"Core/Renderer/SVG/Symbols.js",[e["Core/Utilities.js"]],(function(t){let{defined:e,isNumber:n,pick:i}=t;function r(t,n,r,o,s){let a=[];if(s){let l=s.start||0,c=i(s.r,r),u=i(s.r,o||r),h=2e-4/Math.max(c,1),d=Math.abs((s.end||0)-l-2*Math.PI)<h,p=(s.end||0)-h,f=s.innerR,g=i(s.open,d),m=Math.cos(l),v=Math.sin(l),y=Math.cos(p),b=Math.sin(p),_=i(s.longArc,p-l-Math.PI<h?0:1),x=["A",c,u,0,_,i(s.clockwise,1),t+c*y,n+u*b];x.params={start:l,end:p,cx:t,cy:n},a.push(["M",t+c*m,n+u*v],x),e(f)&&((x=["A",f,f,0,_,e(s.clockwise)?1-s.clockwise:0,t+f*m,n+f*v]).params={start:p,end:l,cx:t,cy:n},a.push(g?["M",t+f*y,n+f*b]:["L",t+f*y,n+f*b],x)),g||a.push(["Z"])}return a}function o(t,e,n,i,r){return r&&r.r?s(t,e,n,i,r):[["M",t,e],["L",t+n,e],["L",t+n,e+i],["L",t,e+i],["Z"]]}function s(t,e,n,i,r){let o=(null==r?void 0:r.r)||0;return[["M",t+o,e],["L",t+n-o,e],["A",o,o,0,0,1,t+n,e+o],["L",t+n,e+i-o],["A",o,o,0,0,1,t+n-o,e+i],["L",t+o,e+i],["A",o,o,0,0,1,t,e+i-o],["L",t,e+o],["A",o,o,0,0,1,t+o,e],["Z"]]}return{arc:r,callout:function(t,e,i,r,o){let a=Math.min(o&&o.r||0,i,r),l=a+6,c=o&&o.anchorX,u=o&&o.anchorY||0,h=s(t,e,i,r,{r:a});if(!n(c)||c<i&&c>0&&u<r&&u>0)return h;if(t+c>i-l)if(u>e+l&&u<e+r-l)h.splice(3,1,["L",t+i,u-6],["L",t+i+6,u],["L",t+i,u+6],["L",t+i,e+r-a]);else if(c<i){let n=u<e+l,o=n?e:e+r;h.splice(n?2:5,0,["L",c,u],["L",t+i-a,o])}else h.splice(3,1,["L",t+i,r/2],["L",c,u],["L",t+i,r/2],["L",t+i,e+r-a]);else if(t+c<l)if(u>e+l&&u<e+r-l)h.splice(7,1,["L",t,u+6],["L",t-6,u],["L",t,u-6],["L",t,e+a]);else if(c>0){let n=u<e+l,i=n?e:e+r;h.splice(n?1:6,0,["L",c,u],["L",t+a,i])}else h.splice(7,1,["L",t,r/2],["L",c,u],["L",t,r/2],["L",t,e+a]);else u>r&&c<i-l?h.splice(5,1,["L",c+6,e+r],["L",c,e+r+6],["L",c-6,e+r],["L",t+a,e+r]):u<0&&c>l&&h.splice(1,1,["L",c-6,e],["L",c,e-6],["L",c+6,e],["L",i-a,e]);return h},circle:function(t,e,n,i){return r(t+n/2,e+i/2,n/2,i/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(t,e,n,i){return[["M",t+n/2,e],["L",t+n,e+i/2],["L",t+n/2,e+i],["L",t,e+i/2],["Z"]]},rect:o,roundedRect:s,square:o,triangle:function(t,e,n,i){return[["M",t+n/2,e],["L",t+n,e+i],["L",t,e+i],["Z"]]},"triangle-down":function(t,e,n,i){return[["M",t,e],["L",t+n,e],["L",t+n/2,e+i],["Z"]]}}})),n(e,"Core/Renderer/SVG/TextBuilder.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,n){let{doc:i,SVG_NS:r,win:o}=e,{attr:s,extend:a,fireEvent:l,isString:c,objectEach:u,pick:h}=n;return class{constructor(t){let e=t.styles;this.renderer=t.renderer,this.svgElement=t,this.width=t.textWidth,this.textLineHeight=e&&e.lineHeight,this.textOutline=e&&e.textOutline,this.ellipsis=!(!e||"ellipsis"!==e.textOverflow),this.noWrap=!(!e||"nowrap"!==e.whiteSpace)}buildSVG(){let e=this.svgElement,n=e.element,r=e.renderer,o=h(e.textStr,"").toString(),s=-1!==o.indexOf("<"),a=n.childNodes,l=!e.added&&r.box,u=[o,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,e.getStyle("font-size"),this.width].join(",");if(u!==e.textCache){e.textCache=u,delete e.actualWidth;for(let t=a.length;t--;)n.removeChild(a[t]);if(s||this.ellipsis||this.width||e.textPath||-1!==o.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(o))){if(""!==o){l&&l.appendChild(n);let i=new t(o);this.modifyTree(i.nodes),i.addToDOM(n),this.modifyDOM(),this.ellipsis&&-1!==(n.textContent||"").indexOf("…")&&e.attr("title",this.unescapeEntities(e.textStr||"",["<",">"])),l&&l.removeChild(n)}}else n.appendChild(i.createTextNode(this.unescapeEntities(o)));c(this.textOutline)&&e.applyTextOutline&&e.applyTextOutline(this.textOutline)}}modifyDOM(){let t,e=this.svgElement,n=s(e.element,"x");for(e.firstLineMetrics=void 0;(t=e.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)e.element.removeChild(t);[].forEach.call(e.element.querySelectorAll("tspan.highcharts-br"),((t,i)=>{t.nextSibling&&t.previousSibling&&(0===i&&1===t.previousSibling.nodeType&&(e.firstLineMetrics=e.renderer.fontMetrics(t.previousSibling)),s(t,{dy:this.getLineHeight(t.nextSibling),x:n}))}));let a=this.width||0;if(!a)return;let l=(t,o)=>{let l=t.textContent||"",c=l.replace(/([^\^])-/g,"$1- ").split(" "),u=!this.noWrap&&(c.length>1||e.element.childNodes.length>1),h=this.getLineHeight(o),d=0,p=e.actualWidth;if(this.ellipsis)l&&this.truncate(t,l,void 0,0,Math.max(0,a-.8*h),((t,e)=>t.substring(0,e)+"…"));else if(u){let l=[],u=[];for(;o.firstChild&&o.firstChild!==t;)u.push(o.firstChild),o.removeChild(o.firstChild);for(;c.length;)c.length&&!this.noWrap&&d>0&&(l.push(t.textContent||""),t.textContent=c.join(" ").replace(/- /g,"-")),this.truncate(t,void 0,c,0===d&&p||0,a,((t,e)=>c.slice(0,e).join(" ").replace(/- /g,"-"))),p=e.actualWidth,d++;u.forEach((e=>{o.insertBefore(e,t)})),l.forEach((e=>{o.insertBefore(i.createTextNode(e),t);let a=i.createElementNS(r,"tspan");a.textContent="",s(a,{dy:h,x:n}),o.insertBefore(a,t)}))}},c=t=>{[].slice.call(t.childNodes).forEach((n=>{n.nodeType===o.Node.TEXT_NODE?l(n,t):(-1!==n.className.baseVal.indexOf("highcharts-br")&&(e.actualWidth=0),c(n))}))};c(e.element)}getLineHeight(t){let e=t.nodeType===o.Node.TEXT_NODE?t.parentElement:t;return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e||this.svgElement.element).h}modifyTree(t){let e=(n,i)=>{let{attributes:r={},children:o,style:s={},tagName:l}=n,c=this.renderer.styledMode;if("b"===l||"strong"===l?c?r.class="highcharts-strong":s.fontWeight="bold":("i"===l||"em"===l)&&(c?r.class="highcharts-emphasized":s.fontStyle="italic"),s&&s.color&&(s.fill=s.color),"br"===l){r.class="highcharts-br",n.textContent="";let e=t[i+1];e&&e.textContent&&(e.textContent=e.textContent.replace(/^ +/gm,""))}else"a"===l&&o&&o.some((t=>"#text"===t.tagName))&&(n.children=[{children:o,tagName:"tspan"}]);"#text"!==l&&"a"!==l&&(n.tagName="tspan"),a(n,{attributes:r,style:s}),o&&o.filter((t=>"#text"!==t.tagName)).forEach(e)};t.forEach(e),l(this.svgElement,"afterModifyTree",{nodes:t})}truncate(t,e,n,i,r,o){let s,a,l=this.svgElement,{rotation:c}=l,u=[],h=n?1:0,d=(e||n||"").length,p=d,f=function(e,r){let o=r||e,s=t.parentNode;if(s&&void 0===u[o]&&s.getSubStringLength)try{u[o]=i+s.getSubStringLength(0,n?o+1:o)}catch{}return u[o]};if(l.rotation=0,i+(a=f(t.textContent.length))>r){for(;h<=d;)p=Math.ceil((h+d)/2),n&&(s=o(n,p)),a=f(p,s&&s.length-1),h===d?h=d+1:a>r?d=p-1:h=p;0===d?t.textContent="":e&&d===e.length-1||(t.textContent=s||o(e||n,p))}n&&n.splice(0,p),l.actualWidth=a,l.rotation=c}unescapeEntities(t,e){return u(this.renderer.escapes,(function(n,i){e&&-1!==e.indexOf(n)||(t=t.toString().replace(RegExp(n,"g"),i))})),t}}})),n(e,"Core/Renderer/SVG/SVGRenderer.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Defaults.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGLabel.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Renderer/SVG/TextBuilder.js"],e["Core/Utilities.js"]],(function(t,e,n,i,r,o,s,a,l,c){let u,{defaultOptions:h}=e,{charts:d,deg2rad:p,doc:f,isFirefox:g,isMS:m,isWebKit:v,noop:y,SVG_NS:b,symbolSizes:_,win:x}=i,{addEvent:w,attr:S,createElement:k,crisp:C,css:A,defined:O,destroyObjectProperties:T,extend:E,isArray:P,isNumber:M,isObject:L,isString:j,merge:D,pick:$,pInt:R,replaceNested:I,uniqueKey:B}=c;class N{constructor(t,e,n,i,r,o,s){let a,l,c=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),u=c.element;s||c.css(this.getStyle(i||{})),t.appendChild(u),S(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&S(u,"xmlns",this.SVG_NS),this.box=u,this.boxWrapper=c,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(f.createTextNode("Created with Highcharts 11.4.6")),this.defs=this.createElement("defs").add(),this.allowHTML=o,this.forExport=r,this.styledMode=s,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.rootFontSize=c.getStyle("font-size"),this.setSize(e,n,!1),g&&t.getBoundingClientRect&&((a=function(){A(t,{left:0,top:0}),l=t.getBoundingClientRect(),A(t,{left:Math.ceil(l.left)-l.left+"px",top:Math.ceil(l.top)-l.top+"px"})})(),this.unSubPixelFix=w(x,"resize",a))}definition(e){return new t([e]).addToDOM(this.defs.element)}getReferenceURL(){if((g||v)&&f.getElementsByTagName("base").length){if(!O(u)){let e=B(),n=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":`url(#${e})`,fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(f.body);A(n,{position:"fixed",top:0,left:0,zIndex:9e5});let i=f.elementFromPoint(6,6);u="hitme"===(i&&i.id),f.body.removeChild(n)}if(u)return I(x.location.href.split("#")[0],[/<[^>]*>/g,""],[/([\('\)])/g,"\\$1"],[/ /g,"%20"])}return""}getStyle(t){return this.style=E({fontFamily:"Helvetica, Arial, sans-serif",fontSize:"1rem"},t),this.style}setStyle(t){this.boxWrapper.css(this.getStyle(t))}isHidden(){return!this.boxWrapper.getBBox().width}destroy(){let t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),T(this.gradients||{}),this.gradients=null,this.defs=t.destroy(),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null,null}createElement(t){return new this.Element(this,t)}getRadialAttr(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}}shadowDefinition(t){let e=[`highcharts-drop-shadow-${this.chartIndex}`,...Object.keys(t).map((e=>`${e}-${t[e]}`))].join("-").toLowerCase().replace(/[^a-z\d\-]/g,""),n=D({color:"#000000",offsetX:1,offsetY:1,opacity:.15,width:5},t);return this.defs.element.querySelector(`#${e}`)||this.definition({tagName:"filter",attributes:{id:e,filterUnits:n.filterUnits},children:this.getShadowFilterContent(n)}),e}getShadowFilterContent(t){return[{tagName:"feDropShadow",attributes:{dx:t.offsetX,dy:t.offsetY,"flood-color":t.color,"flood-opacity":Math.min(5*t.opacity,1),stdDeviation:t.width/2}}]}buildText(t){new l(t).buildSVG()}getContrast(t){let e=n.parse(t).rgba.map((t=>{let e=t/255;return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),i=.2126*e[0]+.7152*e[1]+.0722*e[2];return 1.05/(i+.05)>(i+.05)/.05?"#FFFFFF":"#000000"}button(e,n,i,r,o={},s,a,l,c,u){let d=this.label(e,n,i,c,void 0,void 0,u,void 0,"button"),p=this.styledMode,f=arguments,g=0;o=D(h.global.buttonTheme,o),p&&(delete o.fill,delete o.stroke,delete o["stroke-width"]);let v=o.states||{},y=o.style||{};delete o.states,delete o.style;let b=[t.filterUserAttributes(o)],_=[y];return p||["hover","select","disabled"].forEach(((e,n)=>{b.push(D(b[0],t.filterUserAttributes(f[n+5]||v[e]||{}))),_.push(b[n+1].style),delete b[n+1].style})),w(d.element,m?"mouseover":"mouseenter",(function(){3!==g&&d.setState(1)})),w(d.element,m?"mouseout":"mouseleave",(function(){3!==g&&d.setState(g)})),d.setState=(t=0)=>{if(1!==t&&(d.state=g=t),d.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t]),!p){d.attr(b[t]);let e=_[t];L(e)&&d.css(e)}},d.attr(b[0]),!p&&(d.css(E({cursor:"default"},y)),u&&d.text.css({pointerEvents:"none"})),d.on("touchstart",(t=>t.stopPropagation())).on("click",(function(t){3!==g&&r.call(d,t)}))}crispLine(t,e){let[n,i]=t;return O(n[1])&&n[1]===i[1]&&(n[1]=i[1]=C(n[1],e)),O(n[2])&&n[2]===i[2]&&(n[2]=i[2]=C(n[2],e)),t}path(t){let e=this.styledMode?{}:{fill:"none"};return P(t)?e.d=t:L(t)&&E(e,t),this.createElement("path").attr(e)}circle(t,e,n){let i=L(t)?t:void 0===t?{}:{x:t,y:e,r:n},r=this.createElement("circle");return r.xSetter=r.ySetter=function(t,e,n){n.setAttribute("c"+e,t)},r.attr(i)}arc(t,e,n,i,r,o){let s;L(t)?(e=(s=t).y,n=s.r,i=s.innerR,r=s.start,o=s.end,t=s.x):s={innerR:i,start:r,end:o};let a=this.symbol("arc",t,e,n,n,s);return a.r=n,a}rect(t,e,n,i,r,o){let s=L(t)?t:void 0===t?{}:{x:t,y:e,r,width:Math.max(n||0,0),height:Math.max(i||0,0)},a=this.createElement("rect");return this.styledMode||(void 0!==o&&(s["stroke-width"]=o,E(s,a.crisp(s))),s.fill="none"),a.rSetter=function(t,e,n){a.r=t,S(n,{rx:t,ry:t})},a.rGetter=function(){return a.r||0},a.attr(s)}roundedRect(t){return this.symbol("roundedRect").attr(t)}setSize(t,e,n){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:$(n,!0)?void 0:0}),this.alignElements()}g(t){let e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e}image(t,e,n,i,r,o){let s={preserveAspectRatio:"none"};M(e)&&(s.x=e),M(n)&&(s.y=n),M(i)&&(s.width=i),M(r)&&(s.height=r);let a=this.createElement("image").attr(s),l=function(e){a.attr({href:t}),o.call(a,e)};if(o){a.attr({href:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="});let e=new x.Image;w(e,"load",l),e.src=t,e.complete&&l({})}else a.attr({href:t});return a}symbol(t,e,n,i,r,o){let s,a,l,c,u=this,h=/^url\((.*?)\)$/,p=h.test(t),g=!p&&(this.symbols[t]?t:"circle"),m=g&&this.symbols[g];if(m)"number"==typeof e&&(a=m.call(this.symbols,e||0,n||0,i||0,r||0,o)),s=this.path(a),u.styledMode||s.attr("fill","none"),E(s,{symbolName:g||void 0,x:e,y:n,width:i,height:r}),o&&E(s,o);else if(p){l=t.match(h)[1];let i=s=this.image(l);i.imgwidth=$(o&&o.width,_[l]&&_[l].width),i.imgheight=$(o&&o.height,_[l]&&_[l].height),c=t=>t.attr({width:t.width,height:t.height}),["width","height"].forEach((t=>{i[`${t}Setter`]=function(t,e){this[e]=t;let{alignByTranslate:n,element:i,width:r,height:s,imgwidth:a,imgheight:l}=this,c="width"===e?a:l,u=1;o&&"within"===o.backgroundSize&&r&&s&&a&&l?(u=Math.min(r/a,s/l),S(i,{width:Math.round(a*u),height:Math.round(l*u)})):i&&c&&i.setAttribute(e,c),!n&&a&&l&&this.translate(((r||0)-a*u)/2,((s||0)-l*u)/2)}})),O(e)&&i.attr({x:e,y:n}),i.isImg=!0,O(i.imgwidth)&&O(i.imgheight)?c(i):(i.attr({width:0,height:0}),k("img",{onload:function(){let t=d[u.chartIndex];0===this.width&&(A(this,{position:"absolute",top:"-999em"}),f.body.appendChild(this)),_[l]={width:this.width,height:this.height},i.imgwidth=this.width,i.imgheight=this.height,i.element&&c(i),this.parentNode&&this.parentNode.removeChild(this),u.imgCount--,u.imgCount||!t||t.hasLoaded||t.onload()},src:l}),this.imgCount++)}return s}clipRect(t,e,n,i){return this.rect(t,e,n,i,0)}text(t,e,n,i){let r={};if(i&&(this.allowHTML||!this.forExport))return this.html(t,e,n);r.x=Math.round(e||0),n&&(r.y=Math.round(n)),O(t)&&(r.text=t);let o=this.createElement("text").attr(r);return i&&(!this.forExport||this.allowHTML)||(o.xSetter=function(t,e,n){let i=n.getElementsByTagName("tspan"),r=n.getAttribute(e);for(let n,o=0;o<i.length;o++)(n=i[o]).getAttribute(e)===r&&n.setAttribute(e,t);n.setAttribute(e,t)}),o}fontMetrics(t){let e=R(o.prototype.getStyle.call(t,"font-size")||0),n=e<24?e+3:Math.round(1.2*e);return{h:n,b:Math.round(.8*n),f:e}}rotCorr(t,e,n){let i=t;return e&&n&&(i=Math.max(i*Math.cos(e*p),4)),{x:-t/3*Math.sin(e*p),y:i}}pathToSegments(t){let e=[],n=[],i={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2};for(let r=0;r<t.length;r++)j(n[0])&&M(t[r])&&n.length===i[n[0].toUpperCase()]&&t.splice(r,0,n[0].replace("M","L").replace("m","l")),"string"==typeof t[r]&&(n.length&&e.push(n.slice(0)),n.length=0),n.push(t[r]);return e.push(n.slice(0)),e}label(t,e,n,i,r,o,a,l,c){return new s(this,t,e,n,i,r,o,a,l,c)}alignElements(){this.alignedObjects.forEach((t=>t.align()))}}return E(N.prototype,{Element:o,SVG_NS:b,escapes:{"&":"&","<":"<",">":">","'":"'",'"':"""},symbols:a,draw:y}),r.registerRendererType("svg",N,!0),N})),n(e,"Core/Renderer/HTML/HTMLElement.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Globals.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],(function(t,e,n,i){let{composed:r}=e,{attr:o,css:s,createElement:a,defined:l,extend:c,pInt:u,pushUnique:h}=i;function d(t,e,i){var r;let o=(null==(r=this.div)?void 0:r.style)||i.style;n.prototype[`${e}Setter`].call(this,t,e,i),o&&(o[e]=t)}let p=(t,e)=>{var i;if(!t.div){let r=o(t.element,"class"),s=t.css,l=a("div",r?{className:r}:void 0,{position:"absolute",left:`${t.translateX||0}px`,top:`${t.translateY||0}px`,...t.styles,display:t.display,opacity:t.opacity,visibility:t.visibility},(null==(i=t.parentGroup)?void 0:i.div)||e);t.classSetter=(t,e,n)=>{n.setAttribute("class",t),l.className=t},t.translateXSetter=t.translateYSetter=(e,n)=>{t[n]=e,l.style["translateX"===n?"left":"top"]=`${e}px`,t.doTransform=!0},t.opacitySetter=t.visibilitySetter=d,t.css=e=>(s.call(t,e),e.cursor&&(l.style.cursor=e.cursor),e.pointerEvents&&(l.style.pointerEvents=e.pointerEvents),t),t.on=function(){return n.prototype.on.apply({element:l,onEvents:t.onEvents},arguments),t},t.div=l}return t.div};class f extends n{static compose(t){h(r,this.compose)&&(t.prototype.html=function(t,e,n){return new f(this,"span").attr({text:t,x:Math.round(e),y:Math.round(n)})})}constructor(t,e){super(t,e),this.css({position:"absolute",...t.styledMode?{}:{fontFamily:t.style.fontFamily,fontSize:t.style.fontSize}}),this.element.style.whiteSpace="nowrap"}getSpanCorrection(t,e,n){this.xCorr=-t*n,this.yCorr=-e}css(t){let e,{element:n}=this,i="SPAN"===n.tagName&&t&&"width"in t,r=i&&t.width;return i&&(delete t.width,this.textWidth=u(r)||void 0,e=!0),"ellipsis"===(null==t?void 0:t.textOverflow)&&(t.whiteSpace="nowrap",t.overflow="hidden"),c(this.styles,t),s(n,t),e&&this.updateTransform(),this}htmlGetBBox(){let{element:t}=this;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}}updateTransform(){var t;if(!this.added)return void(this.alignOnAdd=!0);let{element:e,renderer:n,rotation:i,rotationOriginX:r,rotationOriginY:o,styles:a,textAlign:c="left",textWidth:u,translateX:h=0,translateY:d=0,x:p=0,y:f=0}=this,g={left:0,center:.5,right:1}[c],m=a.whiteSpace;if(s(e,{marginLeft:`${h}px`,marginTop:`${d}px`}),"SPAN"===e.tagName){let a,h=[i,c,e.innerHTML,u,this.textAlign].join(","),d=-1*(null==(t=this.parentGroup)?void 0:t.padding)||0,v=!1;if(u!==this.oldTextWidth){let t=this.textPxLength?this.textPxLength:(s(e,{width:"",whiteSpace:m||"nowrap"}),e.offsetWidth),n=u||0;(n>this.oldTextWidth||t>n)&&(/[ \-]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)&&(s(e,{width:t>n||i?u+"px":"auto",display:"block",whiteSpace:m||"normal"}),this.oldTextWidth=u,v=!0)}this.hasBoxWidthChanged=v,h!==this.cTT&&(a=n.fontMetrics(e).b,l(i)&&(i!==(this.oldRotation||0)||c!==this.oldAlign)&&this.setSpanRotation(i,d,d),this.getSpanCorrection(!l(i)&&this.textPxLength||e.offsetWidth,a,g));let{xCorr:y=0,yCorr:b=0}=this;s(e,{left:`${p+y}px`,top:`${f+b}px`,transformOrigin:`${(r??p)-y-p-d}px ${(o??f)-b-f-d}px`}),this.cTT=h,this.oldRotation=i,this.oldAlign=c}}setSpanRotation(t,e,n){s(this.element,{transform:`rotate(${t}deg)`,transformOrigin:`${e}% ${n}px`})}add(t){let e,n=this.renderer.box.parentNode,i=[];if(this.parentGroup=t,t&&!(e=t.div)){let r=t;for(;r;)i.push(r),r=r.parentGroup;for(let t of i.reverse())e=p(t,n)}return(e||n).appendChild(this.element),this.added=!0,this.alignOnAdd&&this.updateTransform(),this}textSetter(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,e??""),this.textStr=e,this.doTransform=!0)}alignSetter(t){this.alignValue=this.textAlign=t,this.doTransform=!0}xSetter(t,e){this[e]=t,this.doTransform=!0}}let g=f.prototype;return g.visibilitySetter=g.opacitySetter=d,g.ySetter=g.rotationSetter=g.rotationOriginXSetter=g.rotationOriginYSetter=g.xSetter,f})),n(e,"Core/Axis/AxisDefaults.js",[],(function(){var t,e;return(e=t||(t={})).xAxis={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e %b"},week:{main:"%e %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotationLimit:80,distance:15,enabled:!0,indentation:10,overflow:"justify",reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,zIndex:7,style:{color:"#333333",cursor:"default",fontSize:"0.8em"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minorTicksPerMajor:5,minPadding:.01,offset:void 0,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",useHTML:!1,x:0,y:0,style:{color:"#666666",fontSize:"0.8em"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#333333",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#333333"},e.yAxis={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:void 0},startOnTick:!0,title:{text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){let{numberFormatter:t}=this.axis.chart;return t(this.total||0,-1)},style:{color:"#000000",fontSize:"0.7em",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t})),n(e,"Core/Foundation.js",[e["Core/Utilities.js"]],(function(t){var e;let{addEvent:n,isFunction:i,objectEach:r,removeEvent:o}=t;return(e||(e={})).registerEventOptions=function(t,e){t.eventOptions=t.eventOptions||{},r(e.events,(function(e,r){t.eventOptions[r]!==e&&(t.eventOptions[r]&&(o(t,r,t.eventOptions[r]),delete t.eventOptions[r]),i(e)&&(t.eventOptions[r]=e,n(t,r,e,{order:0})))}))},e})),n(e,"Core/Axis/Tick.js",[e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,n){let{deg2rad:i}=e,{clamp:r,correctFloat:o,defined:s,destroyObjectProperties:a,extend:l,fireEvent:c,isNumber:u,merge:h,objectEach:d,pick:p}=n;return class{constructor(t,e,n,i,r){this.isNew=!0,this.isNewLabel=!0,this.axis=t,this.pos=e,this.type=n||"",this.parameters=r||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,c(this,"init"),n||i||this.addLabel()}addLabel(){let e,n,i,r=this,a=r.axis,h=a.options,d=a.chart,f=a.categories,g=a.logarithmic,m=a.names,v=r.pos,y=p(r.options&&r.options.labels,h.labels),b=a.tickPositions,_=v===b[0],x=v===b[b.length-1],w=(!y.step||1===y.step)&&1===a.tickInterval,S=b.info,k=r.label,C=this.parameters.category||(f?p(f[v],m[v],v):v);g&&u(C)&&(C=o(g.lin2log(C))),a.dateTime&&(S?e=(n=d.time.resolveDTLFormat(h.dateTimeLabelFormats[!h.grid&&S.higherRanks[v]||S.unitName])).main:u(C)&&(e=a.dateTime.getXDateFormat(C,h.dateTimeLabelFormats||{}))),r.isFirst=_,r.isLast=x;let A={axis:a,chart:d,dateTimeLabelFormat:e,isFirst:_,isLast:x,pos:v,tick:r,tickPositionInfo:S,value:C};c(this,"labelFormat",A);let O=e=>y.formatter?y.formatter.call(e,e):y.format?(e.text=a.defaultLabelFormatter.call(e),t.format(y.format,e,d)):a.defaultLabelFormatter.call(e),T=O.call(A,A),E=n&&n.list;r.shortenLabel=E?function(){for(i=0;i<E.length;i++)if(l(A,{dateTimeLabelFormat:E[i]}),k.attr({text:O.call(A,A)}),k.getBBox().width<a.getSlotWidth(r)-2*(y.padding||0))return;k.attr({text:""})}:void 0,w&&a._addedPlotLB&&r.moveLabel(T,y),s(k)||r.movedLabel?k&&k.textStr!==T&&!w&&(!k.textWidth||y.style.width||k.styles.width||k.css({width:null}),k.attr({text:T}),k.textPxLength=k.getBBox().width):(r.label=k=r.createLabel(T,y),r.rotation=0)}createLabel(t,e,n){let i=this.axis,r=i.chart,o=s(t)&&e.enabled?r.renderer.text(t,null==n?void 0:n.x,null==n?void 0:n.y,e.useHTML).add(i.labelGroup):void 0;return o&&(r.styledMode||o.css(h(e.style)),o.textPxLength=o.getBBox().width),o}destroy(){a(this,this.axis)}getPosition(t,e,n,i){let s=this.axis,a=s.chart,l=i&&a.oldChartHeight||a.chartHeight,u={x:t?o(s.translate(e+n,void 0,void 0,i)+s.transB):s.left+s.offset+(s.opposite?(i&&a.oldChartWidth||a.chartWidth)-s.right-s.left:0),y:t?l-s.bottom+s.offset-(s.opposite?s.height:0):o(l-s.translate(e+n,void 0,void 0,i)-s.transB)};return u.y=r(u.y,-1e5,1e5),c(this,"afterGetPosition",{pos:u}),u}getLabelPosition(t,e,n,r,o,a,l,u){let h,d,f=this.axis,g=f.transA,m=f.isLinked&&f.linkedParent?f.linkedParent.reversed:f.reversed,v=f.staggerLines,y=f.tickRotCorr||{x:0,y:0},b=r||f.reserveSpaceDefault?0:-f.labelOffset*("center"===f.labelAlign?.5:1),_=o.distance,x={};return h=0===f.side?n.rotation?-_:-n.getBBox().height:2===f.side?y.y+_:Math.cos(n.rotation*i)*(y.y-n.getBBox(!1,0).height/2),s(o.y)&&(h=0===f.side&&f.horiz?o.y+h:o.y),t=t+p(o.x,[0,1,0,-1][f.side]*_)+b+y.x-(a&&r?a*g*(m?-1:1):0),e=e+h-(a&&!r?a*g*(m?1:-1):0),v&&(d=l/(u||1)%v,f.opposite&&(d=v-d-1),e+=d*(f.labelOffset/v)),x.x=t,x.y=Math.round(e),c(this,"afterGetLabelPosition",{pos:x,tickmarkOffset:a,index:l}),x}getLabelSize(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0}getMarkPath(t,e,n,i,r=!1,o){return o.crispLine([["M",t,e],["L",t+(r?0:-n),e+(r?n:0)]],i)}handleOverflow(t){let e,n,r,o=this.axis,s=o.options.labels,a=t.x,l=o.chart.chartWidth,c=o.chart.spacing,u=p(o.labelLeft,Math.min(o.pos,c[3])),h=p(o.labelRight,Math.max(o.isRadial?0:o.pos+o.len,l-c[1])),d=this.label,f=this.rotation,g={left:0,center:.5,right:1}[o.labelAlign||d.attr("align")],m=d.getBBox().width,v=o.getSlotWidth(this),y={},b=v,_=1;f||"justify"!==s.overflow?f<0&&a-g*m<u?r=Math.round(a/Math.cos(f*i)-u):f>0&&a+g*m>h&&(r=Math.round((l-a)/Math.cos(f*i))):(e=a-g*m,n=a+(1-g)*m,e<u?b=t.x+b*(1-g)-u:n>h&&(b=h-t.x+b*g,_=-1),(b=Math.min(v,b))<v&&"center"===o.labelAlign&&(t.x+=_*(v-b-g*(v-Math.min(m,b)))),(m>b||o.autoRotation&&(d.styles||{}).width)&&(r=b)),r&&(this.shortenLabel?this.shortenLabel():(y.width=Math.floor(r)+"px",(s.style||{}).textOverflow||(y.textOverflow="ellipsis"),d.css(y)))}moveLabel(t,e){let n,i=this,r=i.label,o=i.axis,s=!1;r&&r.textStr===t?(i.movedLabel=r,s=!0,delete i.label):d(o.ticks,(function(e){s||e.isNew||e===i||!e.label||e.label.textStr!==t||(i.movedLabel=e.label,s=!0,e.labelPos=i.movedLabel.xy,delete e.label)})),!s&&(i.labelPos||r)&&(n=i.labelPos||r.xy,i.movedLabel=i.createLabel(t,e,n),i.movedLabel&&i.movedLabel.attr({opacity:0}))}render(t,e,n){let i=this.axis,r=i.horiz,s=this.pos,a=p(this.tickmarkOffset,i.tickmarkOffset),l=this.getPosition(r,s,a,e),u=l.x,h=l.y,d=i.pos,f=d+i.len,g=r?u:h;!i.chart.polar&&this.isNew&&(o(g)<d||g>f)&&(n=0);let m=p(n,this.label&&this.label.newOpacity,1);n=p(n,1),this.isActive=!0,this.renderGridLine(e,n),this.renderMark(l,n),this.renderLabel(l,e,m,t),this.isNew=!1,c(this,"afterRender")}renderGridLine(t,e){let n,i=this.axis,r=i.options,o={},s=this.pos,a=this.type,l=p(this.tickmarkOffset,i.tickmarkOffset),c=i.chart.renderer,u=this.gridLine,h=r.gridLineWidth,d=r.gridLineColor,f=r.gridLineDashStyle;"minor"===this.type&&(h=r.minorGridLineWidth,d=r.minorGridLineColor,f=r.minorGridLineDashStyle),u||(i.chart.styledMode||(o.stroke=d,o["stroke-width"]=h||0,o.dashstyle=f),a||(o.zIndex=1),t&&(e=0),this.gridLine=u=c.path().attr(o).addClass("highcharts-"+(a?a+"-":"")+"grid-line").add(i.gridGroup)),u&&(n=i.getPlotLinePath({value:s+l,lineWidth:u.strokeWidth(),force:"pass",old:t,acrossPanes:!1}))&&u[t||this.isNew?"attr":"animate"]({d:n,opacity:e})}renderMark(t,e){let n=this.axis,i=n.options,r=n.chart.renderer,o=this.type,s=n.tickSize(o?o+"Tick":"tick"),a=t.x,l=t.y,c=p(i["minor"!==o?"tickWidth":"minorTickWidth"],!o&&n.isXAxis?1:0),u=i["minor"!==o?"tickColor":"minorTickColor"],h=this.mark,d=!h;s&&(n.opposite&&(s[0]=-s[0]),h||(this.mark=h=r.path().addClass("highcharts-"+(o?o+"-":"")+"tick").add(n.axisGroup),n.chart.styledMode||h.attr({stroke:u,"stroke-width":c})),h[d?"attr":"animate"]({d:this.getMarkPath(a,l,s[0],h.strokeWidth(),n.horiz,r),opacity:e}))}renderLabel(t,e,n,i){let r=this.axis,o=r.horiz,s=r.options,a=this.label,l=s.labels,c=l.step,h=p(this.tickmarkOffset,r.tickmarkOffset),d=t.x,f=t.y,g=!0;a&&u(d)&&(a.xy=t=this.getLabelPosition(d,f,a,o,l,h,i,c),this.isFirst&&!this.isLast&&!s.showFirstLabel||this.isLast&&!this.isFirst&&!s.showLastLabel?g=!1:!o||l.step||l.rotation||e||0===n||this.handleOverflow(t),c&&i%c&&(g=!1),g&&u(t.y)?(t.opacity=n,a[this.isNewLabel?"attr":"animate"](t).show(!0),this.isNewLabel=!1):(a.hide(),this.isNewLabel=!0))}replaceMovedLabel(){let t=this.label,e=this.axis;t&&!this.isNew&&(t.animate({opacity:0},void 0,t.destroy),delete this.label),e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel}}})),n(e,"Core/Axis/Axis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/AxisDefaults.js"],e["Core/Color/Color.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Axis/Tick.js"],e["Core/Utilities.js"]],(function(t,e,n,i,r,o,s,a){let{animObject:l}=t,{xAxis:c,yAxis:u}=e,{defaultOptions:h}=i,{registerEventOptions:d}=r,{deg2rad:p}=o,{arrayMax:f,arrayMin:g,clamp:m,correctFloat:v,defined:y,destroyObjectProperties:b,erase:_,error:x,extend:w,fireEvent:S,getClosestDistance:k,insertItem:C,isArray:A,isNumber:O,isString:T,merge:E,normalizeTickInterval:P,objectEach:M,pick:L,relativeLength:j,removeEvent:D,splat:$,syncTimeout:R}=a,I=(t,e)=>P(e,void 0,void 0,L(t.options.allowDecimals,e<.5||void 0!==t.tickAmount),!!t.tickAmount);w(h,{xAxis:c,yAxis:E(c,u)});class B{constructor(t,e,n){this.init(t,e,n)}init(t,e,n=this.coll){let i="xAxis"===n,r=this.isZAxis||(t.inverted?!i:i);this.chart=t,this.horiz=r,this.isXAxis=i,this.coll=n,S(this,"init",{userOptions:e}),this.opposite=L(e.opposite,this.opposite),this.side=L(e.side,this.side,r?this.opposite?0:2:this.opposite?1:3),this.setOptions(e);let o=this.options,s=o.labels,a=o.type;this.userOptions=e,this.minPixelPadding=0,this.reversed=L(o.reversed,this.reversed),this.visible=o.visible,this.zoomEnabled=o.zoomEnabled,this.hasNames="category"===a||!0===o.categories,this.categories=A(o.categories)&&o.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=y(o.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len??(this.len=0),this.minRange=this.userMinRange=o.minRange||o.maxZoom,this.range=o.range,this.offset=o.offset||0,this.max=void 0,this.min=void 0;let l=L(o.crosshair,$(t.options.tooltip.crosshairs)[i?0:1]);this.crosshair=!0===l?{}:l,-1===t.axes.indexOf(this)&&(i?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),C(this,t[this.coll])),t.orderItems(this.coll),this.series=this.series||[],t.inverted&&!this.isZAxis&&i&&!y(this.reversed)&&(this.reversed=!0),this.labelRotation=O(s.rotation)?s.rotation:void 0,d(this,o),S(this,"afterInit")}setOptions(t){let e=this.horiz?{labels:{autoRotation:[-45],padding:4},margin:15}:{labels:{padding:1},title:{rotation:90*this.side}};this.options=E(e,h[this.coll],t),S(this,"afterSetOptions",{userOptions:t})}defaultLabelFormatter(){let t,e,n=this.axis,{numberFormatter:i}=this.chart,r=O(this.value)?this.value:NaN,o=n.chart.time,s=n.categories,a=this.dateTimeLabelFormat,l=h.lang,c=l.numericSymbols,u=l.numericSymbolMagnitude||1e3,d=n.logarithmic?Math.abs(r):n.tickInterval,p=c&&c.length;if(s)e=`${this.value}`;else if(a)e=o.dateFormat(a,r);else if(p&&c&&d>=1e3)for(;p--&&void 0===e;)d>=(t=Math.pow(u,p+1))&&10*r%t==0&&null!==c[p]&&0!==r&&(e=i(r/t,-1)+c[p]);return void 0===e&&(e=Math.abs(r)>=1e4?i(r,-1):i(r,-1,void 0,"")),e}getSeriesExtremes(){let t,e=this;S(this,"getSeriesExtremes",null,(function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=void 0,e.softThreshold=!e.isXAxis,e.series.forEach((n=>{if(n.reserveSpace()){let i,r,o,s=n.options,a=s.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=(a||0)&&(a=void 0),e.isXAxis)(i=n.xData)&&i.length&&(i=e.logarithmic?i.filter((t=>t>0)):i,r=(t=n.getXExtremes(i)).min,o=t.max,O(r)||r instanceof Date||(i=i.filter(O),r=(t=n.getXExtremes(i)).min,o=t.max),i.length&&(e.dataMin=Math.min(L(e.dataMin,r),r),e.dataMax=Math.max(L(e.dataMax,o),o)));else{let t=n.applyExtremes();O(t.dataMin)&&(r=t.dataMin,e.dataMin=Math.min(L(e.dataMin,r),r)),O(t.dataMax)&&(o=t.dataMax,e.dataMax=Math.max(L(e.dataMax,o),o)),y(a)&&(e.threshold=a),(!s.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}}}))})),S(this,"afterGetSeriesExtremes")}translate(t,e,n,i,r,o){var s;let a=this.linkedParent||this,l=i&&a.old?a.old.min:a.min;if(!O(l))return NaN;let c=a.minPixelPadding,u=(a.isOrdinal||(null==(s=a.brokenAxis)?void 0:s.hasBreaks)||a.logarithmic&&r)&&a.lin2val,h=1,d=0,p=i&&a.old?a.old.transA:a.transA,f=0;return p||(p=a.transA),n&&(h*=-1,d=a.len),a.reversed&&(h*=-1,d-=h*(a.sector||a.len)),e?(f=(t=t*h+d-c)/p+l,u&&(f=a.lin2val(f))):(u&&(t=a.val2lin(t)),f=h*(t-l)*p+d+h*c+(O(o)?p*o:0),a.isRadial||(f=v(f))),f}toPixels(t,e){return this.translate(t,!1,!this.horiz,void 0,!0)+(e?0:this.pos)}toValue(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,void 0,!0)}getPlotLinePath(t){let e,n,i,r,o,s=this,a=s.chart,l=s.left,c=s.top,u=t.old,h=t.value,d=t.lineWidth,p=u&&a.oldChartHeight||a.chartHeight,f=u&&a.oldChartWidth||a.chartWidth,g=s.transB,v=t.translatedValue,y=t.force;function b(t,e,n){return"pass"!==y&&(t<e||t>n)&&(y?t=m(t,e,n):o=!0),t}let _={value:h,lineWidth:d,old:u,force:y,acrossPanes:t.acrossPanes,translatedValue:v};return S(this,"getPlotLinePath",_,(function(t){e=i=(v=m(v=L(v,s.translate(h,void 0,void 0,u)),-1e5,1e5))+g,n=r=p-v-g,O(v)?s.horiz?(n=c,r=p-s.bottom+(s.options.isInternal?0:a.scrollablePixelsY||0),e=i=b(e,l,l+s.width)):(e=l,i=f-s.right+(a.scrollablePixelsX||0),n=r=b(n,c,c+s.height)):(o=!0,y=!1),t.path=o&&!y?void 0:a.renderer.crispLine([["M",e,n],["L",i,r]],d||1)})),_.path}getLinearTickPositions(t,e,n){let i,r,o,s=v(Math.floor(e/t)*t),a=v(Math.ceil(n/t)*t),l=[];if(v(s+t)===s&&(o=20),this.single)return[e];for(i=s;i<=a&&(l.push(i),(i=v(i+t,o))!==r);)r=i;return l}getMinorTickInterval(){let{minorTicks:t,minorTickInterval:e}=this.options;return!0===t?L(e,"auto"):!1!==t?e:void 0}getMinorTickPositions(){let t,e=this.options,n=this.tickPositions,i=this.minorTickInterval,r=this.pointRangePadding||0,o=(this.min||0)-r,s=(this.max||0)+r,a=s-o,l=[];if(a&&a/i<this.len/3){let r=this.logarithmic;if(r)this.paddedTicks.forEach((function(t,e,n){e&&l.push.apply(l,r.getLogTickPositions(i,n[e-1],n[e],!0))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())l=l.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(i),o,s,e.startOfWeek));else for(t=o+(n[0]-o)%i;t<=s&&t!==l[0];t+=i)l.push(t)}return 0!==l.length&&this.trimTicks(l),l}adjustForMinRange(){let t,e,n,i,r=this.options,o=this.logarithmic,{max:s,min:a,minRange:l}=this;this.isXAxis&&void 0===l&&!o&&(l=y(r.min)||y(r.max)||y(r.floor)||y(r.ceiling)?null:Math.min(5*(k(this.series.map((t=>{var e;return(t.xIncrement?null==(e=t.xData)?void 0:e.slice(0,2):t.xData)||[]})))||0),this.dataMax-this.dataMin)),O(s)&&O(a)&&O(l)&&s-a<l&&(e=this.dataMax-this.dataMin>=l,t=(l-s+a)/2,n=[a-t,L(r.min,a-t)],e&&(n[2]=o?o.log2lin(this.dataMin):this.dataMin),i=[(a=f(n))+l,L(r.max,a+l)],e&&(i[2]=o?o.log2lin(this.dataMax):this.dataMax),(s=g(i))-a<l&&(n[0]=s-l,n[1]=L(r.min,s-l),a=f(n))),this.minRange=l,this.min=a,this.max=s}getClosest(){let t,e;if(this.categories)e=1;else{let n=[];this.series.forEach((function(t){var i;let r=t.closestPointRange;1===(null==(i=t.xData)?void 0:i.length)?n.push(t.xData[0]):!t.noSharedTooltip&&y(r)&&t.reserveSpace()&&(e=y(e)?Math.min(e,r):r)})),n.length&&(n.sort(((t,e)=>t-e)),t=k([n]))}return t&&e?Math.min(t,e):t||e}nameToX(t){let e,n=A(this.options.categories),i=n?this.categories:this.names,r=t.options.x;return t.series.requireSorting=!1,y(r)||(r=this.options.uniqueNames&&i?n?i.indexOf(t.name):L(i.keys[t.name],-1):t.series.autoIncrement()),-1===r?!n&&i&&(e=i.length):e=r,void 0!==e?(this.names[e]=t.name,this.names.keys[t.name]=e):t.x&&(e=t.x),e}updateNames(){let t=this,e=this.names;e.length>0&&(Object.keys(e.keys).forEach((function(t){delete e.keys[t]})),e.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((e=>{e.xIncrement=null,(!e.points||e.isDirtyData)&&(t.max=Math.max(t.max,e.xData.length-1),e.processData(),e.generatePoints()),e.data.forEach((function(n,i){let r;null!=n&&n.options&&void 0!==n.name&&void 0!==(r=t.nameToX(n))&&r!==n.x&&(n.x=r,e.xData[i]=r)}))})))}setAxisTranslation(){let t,e,n=this,i=n.max-n.min,r=n.linkedParent,o=!!n.categories,s=n.isXAxis,a=n.axisPointRange||0,l=0,c=0,u=n.transA;(s||o||a)&&(t=n.getClosest(),r?(l=r.minPointOffset,c=r.pointRangePadding):n.series.forEach((function(e){let i=o?1:s?L(e.options.pointRange,t,0):n.axisPointRange||0,r=e.options.pointPlacement;if(a=Math.max(a,i),!n.single||o){let t=e.is("xrange")?!s:s;l=Math.max(l,t&&T(r)?0:i/2),c=Math.max(c,t&&"on"===r?0:i)}})),e=n.ordinal&&n.ordinal.slope&&t?n.ordinal.slope/t:1,n.minPointOffset=l*=e,n.pointRangePadding=c*=e,n.pointRange=Math.min(a,n.single&&o?1:i),s&&t&&(n.closestPointRange=t)),n.translationSlope=n.transA=u=n.staticScale||n.len/(i+c||1),n.transB=n.horiz?n.left:n.bottom,n.minPixelPadding=u*l,S(this,"afterSetAxisTranslation")}minFromRange(){let{max:t,min:e}=this;return O(t)&&O(e)&&t-e||void 0}setTickInterval(t){var e,n,i,r;let o,s,a,l,c,{categories:u,chart:h,dataMax:d,dataMin:p,dateTime:f,isXAxis:g,logarithmic:m,options:b,softThreshold:_}=this,w=O(this.threshold)?this.threshold:void 0,k=this.minRange||0,{ceiling:C,floor:A,linkedTo:T,softMax:E,softMin:P}=b,M=O(T)&&(null==(e=h[this.coll])?void 0:e[T]),j=b.tickPixelInterval,D=b.maxPadding,$=b.minPadding,R=0,B=O(b.tickInterval)&&b.tickInterval>=0?b.tickInterval:void 0;if(f||u||M||this.getTickAmount(),l=L(this.userMin,b.min),c=L(this.userMax,b.max),M?(this.linkedParent=M,o=M.getExtremes(),this.min=L(o.min,o.dataMin),this.max=L(o.max,o.dataMax),b.type!==M.options.type&&x(11,!0,h)):(_&&y(w)&&O(d)&&O(p)&&(p>=w?(s=w,$=0):d<=w&&(a=w,D=0)),this.min=L(l,s,p),this.max=L(c,a,d)),O(this.max)&&O(this.min)&&(m&&(this.positiveValuesOnly&&!t&&0>=Math.min(this.min,L(p,this.min))&&x(10,!0,h),this.min=v(m.log2lin(this.min),16),this.max=v(m.log2lin(this.max),16)),this.range&&O(p)&&(this.userMin=this.min=l=Math.max(p,this.minFromRange()||0),this.userMax=c=this.max,this.range=void 0)),S(this,"foundExtremes"),this.adjustForMinRange(),O(this.min)&&O(this.max)){if(!O(this.userMin)&&O(P)&&P<this.min&&(this.min=l=P),!O(this.userMax)&&O(E)&&E>this.max&&(this.max=c=E),u||this.axisPointRange||null!=(n=this.stacking)&&n.usePercentage||M||!(R=this.max-this.min)||(!y(l)&&$&&(this.min-=R*$),y(c)||!D||(this.max+=R*D)),!O(this.userMin)&&O(A)&&(this.min=Math.max(this.min,A)),!O(this.userMax)&&O(C)&&(this.max=Math.min(this.max,C)),_&&O(p)&&O(d)){let t=w||0;!y(l)&&this.min<t&&p>=t?this.min=b.minRange?Math.min(t,this.max-k):t:!y(c)&&this.max>t&&d<=t&&(this.max=b.minRange?Math.max(t,this.min+k):t)}!h.polar&&this.min>this.max&&(y(b.min)?this.max=this.min:y(b.max)&&(this.min=this.max)),R=this.max-this.min}if(this.min!==this.max&&O(this.min)&&O(this.max)?M&&!B&&j===M.options.tickPixelInterval?this.tickInterval=B=M.tickInterval:this.tickInterval=L(B,this.tickAmount?R/Math.max(this.tickAmount-1,1):void 0,u?1:R*j/Math.max(this.len,j)):this.tickInterval=1,g&&!t){let t=this.min!==(null==(i=this.old)?void 0:i.min)||this.max!==(null==(r=this.old)?void 0:r.max);this.series.forEach((function(e){var n;e.forceCrop=null==(n=e.forceCropping)?void 0:n.call(e),e.processData(t)})),S(this,"postProcessData",{hasExtremesChanged:t})}this.setAxisTranslation(),S(this,"initialAxisTranslation"),this.pointRange&&!B&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));let N=L(b.minTickInterval,f&&!this.series.some((t=>t.noSharedTooltip))?this.closestPointRange:0);!B&&this.tickInterval<N&&(this.tickInterval=N),f||m||B||(this.tickInterval=I(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()}setTickPositions(){var t,e;let n,i=this.options,r=i.tickPositions,o=i.tickPositioner,s=this.getMinorTickInterval(),a=!this.isPanning,l=a&&i.startOnTick,c=a&&i.endOnTick,u=[];if(this.tickmarkOffset=this.categories&&"between"===i.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===s&&this.tickInterval?this.tickInterval/i.minorTicksPerMajor:s,this.single=this.min===this.max&&y(this.min)&&!this.tickAmount&&(this.min%1==0||!1!==i.allowDecimals),r)u=r.slice();else if(O(this.min)&&O(this.max)){if((null==(t=this.ordinal)||!t.positions)&&(this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))u=[this.min,this.max],x(19,!1,this.chart);else if(this.dateTime)u=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,i.units),this.min,this.max,i.startOfWeek,null==(e=this.ordinal)?void 0:e.positions,this.closestPointRange,!0);else if(this.logarithmic)u=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else{let t=this.tickInterval,e=t;for(;e<=2*t&&(u=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&u.length>this.tickAmount);)this.tickInterval=I(this,e*=1.1)}u.length>this.len&&(u=[u[0],u[u.length-1]])[0]===u[1]&&(u.length=1),o&&(this.tickPositions=u,(n=o.apply(this,[this.min,this.max]))&&(u=n))}this.tickPositions=u,this.paddedTicks=u.slice(0),this.trimTicks(u,l,c),!this.isLinked&&O(this.min)&&O(this.max)&&(this.single&&u.length<2&&!this.categories&&!this.series.some((t=>t.is("heatmap")&&"between"===t.options.pointPlacement))&&(this.min-=.5,this.max+=.5),r||n||this.adjustTickAmount()),S(this,"afterSetTickPositions")}trimTicks(t,e,n){let i=t[0],r=t[t.length-1],o=!this.isOrdinal&&this.minPointOffset||0;if(S(this,"trimTicks"),!this.isLinked){if(e&&i!==-1/0)this.min=i;else for(;this.min-o>t[0];)t.shift();if(n)this.max=r;else for(;this.max+o<t[t.length-1];)t.pop();0===t.length&&y(i)&&!this.options.tickPositions&&t.push((r+i)/2)}}alignToOthers(){let t,e=this,n=e.chart,i=[this],r=e.options,o=n.options.chart,s="yAxis"===this.coll&&o.alignThresholds,a=[];if(e.thresholdAlignment=void 0,(!1!==o.alignTicks&&r.alignTicks||s)&&!1!==r.startOnTick&&!1!==r.endOnTick&&!e.logarithmic){let r=t=>{let{horiz:e,options:n}=t;return[e?n.left:n.top,n.width,n.height,n.pane].join(",")},o=r(this);n[this.coll].forEach((function(n){let{series:s}=n;s.length&&s.some((t=>t.visible))&&n!==e&&r(n)===o&&(t=!0,i.push(n))}))}if(t&&s){i.forEach((t=>{let n=t.getThresholdAlignment(e);O(n)&&a.push(n)}));let t=a.length>1?a.reduce(((t,e)=>t+e),0)/a.length:void 0;i.forEach((e=>{e.thresholdAlignment=t}))}return t}getThresholdAlignment(t){if((!O(this.dataMin)||this!==t&&this.series.some((t=>t.isDirty||t.isDirtyData)))&&this.getSeriesExtremes(),O(this.threshold)){let t=m((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1);return this.options.reversed&&(t=1-t),t}}getTickAmount(){let t=this.options,e=t.tickPixelInterval,n=t.tickAmount;y(t.tickInterval)||n||!(this.len<e)||this.isRadial||this.logarithmic||!t.startOnTick||!t.endOnTick||(n=2),!n&&this.alignToOthers()&&(n=Math.ceil(this.len/e)+1),n<4&&(this.finalTickAmt=n,n=5),this.tickAmount=n}adjustTickAmount(){let t,e,n,i=this,{finalTickAmt:r,max:o,min:s,options:a,tickPositions:l,tickAmount:c,thresholdAlignment:u}=i,h=null==l?void 0:l.length,d=L(i.threshold,i.softThreshold?0:null),p=i.tickInterval,f=()=>l.push(v(l[l.length-1]+p)),g=()=>l.unshift(v(l[0]-p));if(O(u)&&(n=u<.5?Math.ceil(u*(c-1)):Math.floor(u*(c-1)),a.reversed&&(n=c-1-n)),i.hasData()&&O(s)&&O(o)){let u=()=>{i.transA*=(h-1)/(c-1),i.min=a.startOnTick?l[0]:Math.min(s,l[0]),i.max=a.endOnTick?l[l.length-1]:Math.max(o,l[l.length-1])};if(O(n)&&O(i.threshold)){for(;l[n]!==d||l.length!==c||l[0]>s||l[l.length-1]<o;){for(l.length=0,l.push(i.threshold);l.length<c;)void 0===l[n]||l[n]>i.threshold?g():f();if(p>8*i.tickInterval)break;p*=2}u()}else if(h<c){for(;l.length<c;)l.length%2||s===d?f():g();u()}if(y(r)){for(e=t=l.length;e--;)(3===r&&e%2==1||r<=2&&e>0&&e<t-1)&&l.splice(e,1);i.finalTickAmt=void 0}}}setScale(){var t,e;let{coll:n,stacking:i}=this,r=!1,o=!1;this.series.forEach((t=>{r=r||t.isDirtyData||t.isDirty,o=o||t.xAxis&&t.xAxis.isDirty||!1})),this.setAxisSize();let s=this.len!==(this.old&&this.old.len);s||r||o||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(i&&"yAxis"===n&&i.buildStacks(),this.forceRedraw=!1,this.userMinRange||(this.minRange=void 0),this.getSeriesExtremes(),this.setTickInterval(),i&&"xAxis"===n&&i.buildStacks(),this.isDirty||(this.isDirty=s||this.min!==(null==(t=this.old)?void 0:t.min)||this.max!==(null==(e=this.old)?void 0:e.max))):i&&i.cleanStacks(),r&&delete this.allExtremes,S(this,"afterSetScale")}setExtremes(t,e,n=!0,i,r){this.series.forEach((t=>{delete t.kdTree})),S(this,"setExtremes",r=w(r,{min:t,max:e}),(t=>{this.userMin=t.min,this.userMax=t.max,this.eventArgs=t,n&&this.chart.redraw(i)}))}setAxisSize(){let t=this.chart,e=this.options,n=e.offsets||[0,0,0,0],i=this.horiz,r=this.width=Math.round(j(L(e.width,t.plotWidth-n[3]+n[1]),t.plotWidth)),o=this.height=Math.round(j(L(e.height,t.plotHeight-n[0]+n[2]),t.plotHeight)),s=this.top=Math.round(j(L(e.top,t.plotTop+n[0]),t.plotHeight,t.plotTop)),a=this.left=Math.round(j(L(e.left,t.plotLeft+n[3]),t.plotWidth,t.plotLeft));this.bottom=t.chartHeight-o-s,this.right=t.chartWidth-r-a,this.len=Math.max(i?r:o,0),this.pos=i?a:s}getExtremes(){let t=this.logarithmic;return{min:t?v(t.lin2log(this.min)):this.min,max:t?v(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}}getThreshold(t){let e=this.logarithmic,n=e?e.lin2log(this.min):this.min,i=e?e.lin2log(this.max):this.max;return null===t||t===-1/0?t=n:t===1/0?t=i:n>t?t=n:i<t&&(t=i),this.translate(t,0,1,0,1)}autoLabelAlign(t){let e=(L(t,0)-90*this.side+720)%360,n={align:"center"};return S(this,"autoLabelAlign",n,(function(t){e>15&&e<165?t.align="right":e>195&&e<345&&(t.align="left")})),n.align}tickSize(t){let e,n=this.options,i=L(n["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0),r=n["tick"===t?"tickLength":"minorTickLength"];i&&r&&("inside"===n[t+"Position"]&&(r=-r),e=[r,i]);let o={tickSize:e};return S(this,"afterTickSize",o),o.tickSize}labelMetrics(){let t=this.chart.renderer,e=this.ticks,n=e[Object.keys(e)[0]]||{};return this.chart.renderer.fontMetrics(n.label||n.movedLabel||t.box)}unsquish(){let t,e,n=this.options.labels,i=n.padding||0,r=this.horiz,o=this.tickInterval,s=this.len/(((this.categories?1:0)+this.max-this.min)/o),a=n.rotation,l=v(.8*this.labelMetrics().h),c=Math.max(this.max-this.min,0),u=function(t){let e=(t+2*i)/(s||1);return(e=e>1?Math.ceil(e):1)*o>c&&t!==1/0&&s!==1/0&&c&&(e=Math.ceil(c/o)),v(e*o)},h=o,d=Number.MAX_VALUE;if(r){if(!n.staggerLines&&(O(a)?e=[a]:s<n.autoRotationLimit&&(e=n.autoRotation)),e){let n,i;for(let r of e)(r===a||r&&r>=-90&&r<=90)&&(i=(n=u(Math.abs(l/Math.sin(p*r))))+Math.abs(r/360))<d&&(d=i,t=r,h=n)}}else h=u(.75*l);return this.autoRotation=e,this.labelRotation=L(t,O(a)?a:0),n.step?o:h}getSlotWidth(t){let e=this.chart,n=this.horiz,i=this.options.labels,r=Math.max(this.tickPositions.length-(this.categories?0:1),1),o=e.margin[3];if(t&&O(t.slotWidth))return t.slotWidth;if(n&&i.step<2)return i.rotation?0:(this.staggerLines||1)*this.len/r;if(!n){let t=i.style.width;if(void 0!==t)return parseInt(String(t),10);if(o)return o-e.spacing[3]}return.33*e.chartWidth}renderUnsquish(){let t,e,n,i,r=this.chart,o=r.renderer,s=this.tickPositions,a=this.ticks,l=this.options.labels,c=l.style,u=this.horiz,h=this.getSlotWidth(),d=Math.max(1,Math.round(h-(u?2*(l.padding||0):l.distance||0))),p={},f=this.labelMetrics(),g=c.textOverflow,m=0;if(T(l.rotation)||(p.rotation=l.rotation||0),s.forEach((function(t){let e=a[t];e.movedLabel&&e.replaceMovedLabel(),e&&e.label&&e.label.textPxLength>m&&(m=e.label.textPxLength)})),this.maxLabelLength=m,this.autoRotation)m>d&&m>f.h?p.rotation=this.labelRotation:this.labelRotation=0;else if(h&&(t=d,!g))for(e="clip",i=s.length;!u&&i--;)(n=a[s[i]].label)&&("ellipsis"===n.styles.textOverflow?n.css({textOverflow:"clip"}):n.textPxLength>h&&n.css({width:h+"px"}),n.getBBox().height>this.len/s.length-(f.h-f.f)&&(n.specificTextOverflow="ellipsis"));p.rotation&&(t=m>.5*r.chartHeight?.33*r.chartHeight:m,g||(e="ellipsis")),this.labelAlign=l.align||this.autoLabelAlign(this.labelRotation),this.labelAlign&&(p.align=this.labelAlign),s.forEach((function(n){let i=a[n],r=i&&i.label,o=c.width,s={};r&&(r.attr(p),i.shortenLabel?i.shortenLabel():t&&!o&&"nowrap"!==c.whiteSpace&&(t<r.textPxLength||"SPAN"===r.element.tagName)?(s.width=t+"px",g||(s.textOverflow=r.specificTextOverflow||e),r.css(s)):!r.styles.width||s.width||o||r.css({width:null}),delete r.specificTextOverflow,i.rotation=p.rotation)}),this),this.tickRotCorr=o.rotCorr(f.b,this.labelRotation||0,0!==this.side)}hasData(){return this.series.some((function(t){return t.hasData()}))||this.options.showEmpty&&y(this.min)&&y(this.max)}addTitle(t){let e,n=this.chart.renderer,i=this.horiz,r=this.opposite,o=this.options.title,s=this.chart.styledMode;this.axisTitle||((e=o.textAlign)||(e=(i?{low:"left",middle:"center",high:"right"}:{low:r?"right":"left",middle:"center",high:r?"left":"right"})[o.align]),this.axisTitle=n.text(o.text||"",0,0,o.useHTML).attr({zIndex:7,rotation:o.rotation||0,align:e}).addClass("highcharts-axis-title"),s||this.axisTitle.css(E(o.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),s||o.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t?"show":"hide"](t)}generateTick(t){let e=this.ticks;e[t]?e[t].addLabel():e[t]=new s(this,t)}createGroups(){let{axisParent:t,chart:e,coll:n,options:i}=this,r=e.renderer,o=(e,o,s)=>r.g(e).attr({zIndex:s}).addClass(`highcharts-${n.toLowerCase()}${o} `+(this.isRadial?`highcharts-radial-axis${o} `:"")+(i.className||"")).add(t);this.axisGroup||(this.gridGroup=o("grid","-grid",i.gridZIndex),this.axisGroup=o("axis","",i.zIndex),this.labelGroup=o("axis-labels","-labels",i.labels.zIndex))}getOffset(){let t,e,n,i,r=this,{chart:o,horiz:s,options:a,side:l,ticks:c,tickPositions:u,coll:h}=r,d=o.inverted&&!r.isZAxis?[1,0,3,2][l]:l,p=r.hasData(),f=a.title,g=a.labels,m=O(a.crossing),v=o.axisOffset,b=o.clipOffset,_=[-1,1,1,-1][l],x=0,w=0,k=0;if(r.showAxis=t=p||a.showEmpty,r.staggerLines=r.horiz&&g.staggerLines||void 0,r.createGroups(),p||r.isLinked?(u.forEach((function(t){r.generateTick(t)})),r.renderUnsquish(),r.reserveSpaceDefault=0===l||2===l||{1:"left",3:"right"}[l]===r.labelAlign,L(g.reserveSpace,!m&&null,"center"===r.labelAlign||null,r.reserveSpaceDefault)&&u.forEach((function(t){k=Math.max(c[t].getLabelSize(),k)})),r.staggerLines&&(k*=r.staggerLines),r.labelOffset=k*(r.opposite?-1:1)):M(c,(function(t,e){t.destroy(),delete c[e]})),null!=f&&f.text&&!1!==f.enabled&&(r.addTitle(t),t&&!m&&!1!==f.reserveSpace&&(r.titleOffset=x=r.axisTitle.getBBox()[s?"height":"width"],w=y(e=f.offset)?0:L(f.margin,s?5:10))),r.renderLine(),r.offset=_*L(a.offset,v[l]?v[l]+(a.margin||0):0),r.tickRotCorr=r.tickRotCorr||{x:0,y:0},i=0===l?-r.labelMetrics().h:2===l?r.tickRotCorr.y:0,n=Math.abs(k)+w,k&&(n-=i,n+=_*(s?L(g.y,r.tickRotCorr.y+_*g.distance):L(g.x,_*g.distance))),r.axisTitleMargin=L(e,n),r.getMaxLabelDimensions&&(r.maxLabelDimensions=r.getMaxLabelDimensions(c,u)),"colorAxis"!==h&&b){let t=this.tickSize("tick");v[l]=Math.max(v[l],(r.axisTitleMargin||0)+x+_*r.offset,n,u&&u.length&&t?t[0]+_*r.offset:0);let e=!r.axisLine||a.offset?0:r.axisLine.strokeWidth()/2;b[d]=Math.max(b[d],e)}S(this,"afterGetOffset")}getLinePath(t){let e=this.chart,n=this.opposite,i=this.offset,r=this.horiz,o=this.left+(n?this.width:0)+i,s=e.chartHeight-this.bottom-(n?this.height:0)+i;return n&&(t*=-1),e.renderer.crispLine([["M",r?this.left:o,r?s:this.top],["L",r?e.chartWidth-this.right:o,r?s:e.chartHeight-this.bottom]],t)}renderLine(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))}getTitlePosition(t){let e=this.horiz,n=this.left,i=this.top,r=this.len,o=this.options.title,s=e?n:i,a=this.opposite,l=this.offset,c=o.x,u=o.y,h=this.chart.renderer.fontMetrics(t),d=t?Math.max(t.getBBox(!1,0).height-h.h-1,0):0,p={low:s+(e?0:r),middle:s+r/2,high:s+(e?r:0)}[o.align],f=(e?i+this.height:n)+(e?1:-1)*(a?-1:1)*(this.axisTitleMargin||0)+[-d,d,h.f,-d][this.side],g={x:e?p+c:f+(a?this.width:0)+l+c,y:e?f+u-(a?this.height:0)+l:p+u};return S(this,"afterGetTitlePosition",{titlePosition:g}),g}renderMinorTick(t,e){let n=this.minorTicks;n[t]||(n[t]=new s(this,t,"minor")),e&&n[t].isNew&&n[t].render(null,!0),n[t].render(null,!1,1)}renderTick(t,e,n){let i=this.isLinked,r=this.ticks;(!i||t>=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(r[t]||(r[t]=new s(this,t)),n&&r[t].isNew&&r[t].render(e,!0,-1),r[t].render(e))}render(){let t,e,n=this,i=n.chart,r=n.logarithmic,a=i.renderer,c=n.options,u=n.isLinked,h=n.tickPositions,d=n.axisTitle,p=n.ticks,f=n.minorTicks,g=n.alternateBands,m=c.stackLabels,v=c.alternateGridColor,y=c.crossing,b=n.tickmarkOffset,_=n.axisLine,x=n.showAxis,w=l(a.globalAnimation);if(n.labelEdge.length=0,n.overlap=!1,[p,f,g].forEach((function(t){M(t,(function(t){t.isActive=!1}))})),O(y)){let t=this.isXAxis?i.yAxis[0]:i.xAxis[0],e=[1,-1,-1,1][this.side];if(t){let i=t.toPixels(y,!0);n.horiz&&(i=t.len-i),n.offset=e*i}}if(n.hasData()||u){let a=n.chart.hasRendered&&n.old&&O(n.old.min);n.minorTickInterval&&!n.categories&&n.getMinorTickPositions().forEach((function(t){n.renderMinorTick(t,a)})),h.length&&(h.forEach((function(t,e){n.renderTick(t,e,a)})),b&&(0===n.min||n.single)&&(p[-1]||(p[-1]=new s(n,-1,null,!0)),p[-1].render(-1))),v&&h.forEach((function(s,a){e=void 0!==h[a+1]?h[a+1]+b:n.max-b,a%2==0&&s<n.max&&e<=n.max+(i.polar?-b:b)&&(g[s]||(g[s]=new o.PlotLineOrBand(n,{})),t=s+b,g[s].options={from:r?r.lin2log(t):t,to:r?r.lin2log(e):e,color:v,className:"highcharts-alternate-grid"},g[s].render(),g[s].isActive=!0)})),n._addedPlotLB||(n._addedPlotLB=!0,(c.plotLines||[]).concat(c.plotBands||[]).forEach((function(t){n.addPlotBandOrLine(t)})))}[p,f,g].forEach((function(t){let e=[],n=w.duration;M(t,(function(t,n){t.isActive||(t.render(n,!1,0),t.isActive=!1,e.push(n))})),R((function(){let n=e.length;for(;n--;)t[e[n]]&&!t[e[n]].isActive&&(t[e[n]].destroy(),delete t[e[n]])}),t!==g&&i.hasRendered&&n?n:0)})),_&&(_[_.isPlaced?"animate":"attr"]({d:this.getLinePath(_.strokeWidth())}),_.isPlaced=!0,_[x?"show":"hide"](x)),d&&x&&(d[d.isNew?"attr":"animate"](n.getTitlePosition(d)),d.isNew=!1),m&&m.enabled&&n.stacking&&n.stacking.renderStackTotals(),n.old={len:n.len,max:n.max,min:n.min,transA:n.transA,userMax:n.userMax,userMin:n.userMin},n.isDirty=!1,S(this,"afterRender")}redraw(){this.visible&&(this.render(),this.plotLinesAndBands.forEach((function(t){t.render()}))),this.series.forEach((function(t){t.isDirty=!0}))}getKeepProps(){return this.keepProps||B.keepProps}destroy(t){let e=this,n=e.plotLinesAndBands,i=this.eventOptions;if(S(this,"destroy",{keepEvents:t}),t||D(e),[e.ticks,e.minorTicks,e.alternateBands].forEach((function(t){b(t)})),n){let t=n.length;for(;t--;)n[t].destroy()}for(let t in["axisLine","axisTitle","axisGroup","gridGroup","labelGroup","cross","scrollbar"].forEach((function(t){e[t]&&(e[t]=e[t].destroy())})),e.plotLinesAndBandsGroups)e.plotLinesAndBandsGroups[t]=e.plotLinesAndBandsGroups[t].destroy();M(e,(function(t,n){-1===e.getKeepProps().indexOf(n)&&delete e[n]})),this.eventOptions=i}drawCrosshair(t,e){let i,r,o,s,a=this.crosshair,l=L(a&&a.snap,!0),c=this.chart,u=this.cross;if(S(this,"drawCrosshair",{e:t,point:e}),t||(t=this.cross&&this.cross.e),a&&!1!==(y(e)||!l)){if(l?y(e)&&(r=L("colorAxis"!==this.coll?e.crosshairPos:null,this.isXAxis?e.plotX:this.len-e.plotY)):r=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),y(r)&&(s={value:e&&(this.isXAxis?e.x:L(e.stackY,e.y)),translatedValue:r},c.polar&&w(s,{isCrosshair:!0,chartX:t&&t.chartX,chartY:t&&t.chartY,point:e}),i=this.getPlotLinePath(s)||null),!y(i))return void this.hideCrosshair();o=this.categories&&!this.isRadial,u||(this.cross=u=c.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(o?"category ":"thin ")+(a.className||"")).attr({zIndex:L(a.zIndex,2)}).add(),!c.styledMode&&(u.attr({stroke:a.color||(o?n.parse("#ccd3ff").setOpacity(.25).get():"#cccccc"),"stroke-width":L(a.width,1)}).css({"pointer-events":"none"}),a.dashStyle&&u.attr({dashstyle:a.dashStyle}))),u.show().attr({d:i}),o&&!a.width&&u.attr({"stroke-width":this.transA}),this.cross.e=t}else this.hideCrosshair();S(this,"afterDrawCrosshair",{e:t,point:e})}hideCrosshair(){this.cross&&this.cross.hide(),S(this,"afterHideCrosshair")}update(t,e){let n=this.chart;t=E(this.userOptions,t),this.destroy(!0),this.init(n,t),n.isDirtyBox=!0,L(e,!0)&&n.redraw()}remove(t){let e=this.chart,n=this.coll,i=this.series,r=i.length;for(;r--;)i[r]&&i[r].remove(!1);_(e.axes,this),_(e[n]||[],this),e.orderItems(n),this.destroy(),e.isDirtyBox=!0,L(t,!0)&&e.redraw()}setTitle(t,e){this.update({title:t},e)}setCategories(t,e){this.update({categories:t},e)}}return B.keepProps=["coll","extKey","hcEvents","len","names","series","userMax","userMin"],B})),n(e,"Core/Axis/DateTimeAxis.js",[e["Core/Utilities.js"]],(function(t){var e;let{addEvent:n,getMagnitude:i,normalizeTickInterval:r,timeUnits:o}=t;return function(t){function e(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function s(){"datetime"===this.options.type?this.dateTime||(this.dateTime=new a(this)):this.dateTime=void 0}t.compose=function(t){return t.keepProps.includes("dateTime")||(t.keepProps.push("dateTime"),t.prototype.getTimeTicks=e,n(t,"afterSetOptions",s)),t};class a{constructor(t){this.axis=t}normalizeTimeTickInterval(t,e){let n,s=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]],a=s[s.length-1],l=o[a[0]],c=a[1];for(n=0;n<s.length&&(l=o[(a=s[n])[0]],c=a[1],!(s[n+1]&&t<=(l*c[c.length-1]+o[s[n+1][0]])/2));n++);return l===o.year&&t<5*l&&(c=[1,2,5]),{unitRange:l,count:r(t/l,c,"year"===a[0]?Math.max(i(t/l),1):1),unitName:a[0]}}getXDateFormat(t,e){let{axis:n}=this,i=n.chart.time;return n.closestPointRange?i.getDateFormat(n.closestPointRange,t,n.options.startOfWeek,e)||i.resolveDTLFormat(e.year).main:i.resolveDTLFormat(e.day).main}}t.Additions=a}(e||(e={})),e})),n(e,"Core/Axis/LogarithmicAxis.js",[e["Core/Utilities.js"]],(function(t){var e;let{addEvent:n,normalizeTickInterval:i,pick:r}=t;return function(t){function e(t){let e=t.userOptions,n=this.logarithmic;"logarithmic"!==e.type?this.logarithmic=void 0:n||(n=this.logarithmic=new s(this))}function o(){let t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}t.compose=function(t){return t.keepProps.includes("logarithmic")||(t.keepProps.push("logarithmic"),n(t,"init",e),n(t,"afterInit",o)),t};class s{constructor(t){this.axis=t}getLogTickPositions(t,e,n,o){let s=this.axis,a=s.len,l=s.options,c=[];if(o||(this.minorAutoInterval=void 0),t>=.5)t=Math.round(t),c=s.getLinearTickPositions(t,e,n);else if(t>=.08){let i,r,s,a,l,u,h;for(i=t>.3?[1,2,4]:t>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9],r=Math.floor(e);r<n+1&&!h;r++)for(s=0,a=i.length;s<a&&!h;s++)(l=this.log2lin(this.lin2log(r)*i[s]))>e&&(!o||u<=n)&&void 0!==u&&c.push(u),u>n&&(h=!0),u=l}else{let u=this.lin2log(e),h=this.lin2log(n),d=o?s.getMinorTickInterval():l.tickInterval,p=l.tickPixelInterval/(o?5:1),f=o?a/s.tickPositions.length:a;t=i(t=r("auto"===d?null:d,this.minorAutoInterval,(h-u)*p/(f||1))),c=s.getLinearTickPositions(t,u,h).map(this.log2lin),o||(this.minorAutoInterval=t/5)}return o||(s.tickInterval=t),c}lin2log(t){return Math.pow(10,t)}log2lin(t){return Math.log(t)/Math.LN10}}t.Additions=s}(e||(e={})),e})),n(e,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[e["Core/Utilities.js"]],(function(t){var e;let{erase:n,extend:i,isNumber:r}=t;return function(t){let e;function o(t){return this.addPlotBandOrLine(t,"plotBands")}function s(t,n){let i=this.userOptions,r=new e(this,t);if(this.visible&&(r=r.render()),r){if(this._addedPlotLB||(this._addedPlotLB=!0,(i.plotLines||[]).concat(i.plotBands||[]).forEach((t=>{this.addPlotBandOrLine(t)}))),n){let e=i[n]||[];e.push(t),i[n]=e}this.plotLinesAndBands.push(r)}return r}function a(t){return this.addPlotBandOrLine(t,"plotLines")}function l(t,e,n){n=n||this.options;let i,o,s=this.getPlotLinePath({value:e,force:!0,acrossPanes:n.acrossPanes}),a=[],l=this.horiz,c=!r(this.min)||!r(this.max)||t<this.min&&e<this.min||t>this.max&&e>this.max,u=this.getPlotLinePath({value:t,force:!0,acrossPanes:n.acrossPanes}),h=1;if(u&&s)for(c&&(o=u.toString()===s.toString(),h=0),i=0;i<u.length;i+=2){let t=u[i],e=u[i+1],n=s[i],r=s[i+1];("M"===t[0]||"L"===t[0])&&("M"===e[0]||"L"===e[0])&&("M"===n[0]||"L"===n[0])&&("M"===r[0]||"L"===r[0])&&(l&&n[1]===t[1]?(n[1]+=h,r[1]+=h):l||n[2]!==t[2]||(n[2]+=h,r[2]+=h),a.push(["M",t[1],t[2]],["L",e[1],e[2]],["L",r[1],r[2]],["L",n[1],n[2]],["Z"])),a.isFlat=o}return a}function c(t){this.removePlotBandOrLine(t)}function u(t){let e=this.plotLinesAndBands,i=this.options,r=this.userOptions;if(e){let o=e.length;for(;o--;)e[o].id===t&&e[o].destroy();[i.plotLines||[],r.plotLines||[],i.plotBands||[],r.plotBands||[]].forEach((function(e){for(o=e.length;o--;)(e[o]||{}).id===t&&n(e,e[o])}))}}function h(t){this.removePlotBandOrLine(t)}t.compose=function(t,n){let r=n.prototype;return r.addPlotBand||(e=t,i(r,{addPlotBand:o,addPlotLine:a,addPlotBandOrLine:s,getPlotBandPath:l,removePlotBand:c,removePlotLine:h,removePlotBandOrLine:u})),n}}(e||(e={})),e})),n(e,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[e["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],e["Core/Utilities.js"]],(function(t,e){let{arrayMax:n,arrayMin:i,defined:r,destroyObjectProperties:o,erase:s,fireEvent:a,merge:l,objectEach:c,pick:u}=e;class h{static compose(e){return t.compose(h,e)}constructor(t,e){this.axis=t,this.options=e,this.id=e.id}render(){a(this,"render");let t,{axis:e,options:n}=this,{horiz:i,logarithmic:o}=e,{color:s,events:h,zIndex:d=0}=n,p={},f=e.chart.renderer,g=n.to,m=n.from,v=n.value,y=n.borderWidth,b=n.label,{label:_,svgElem:x}=this,w=[],S=r(m)&&r(g),k=r(v),C=!x,A={class:"highcharts-plot-"+(S?"band ":"line ")+(n.className||"")},O=S?"bands":"lines";if(!e.chart.styledMode&&(k?(A.stroke=s||"#999999",A["stroke-width"]=u(n.width,1),n.dashStyle&&(A.dashstyle=n.dashStyle)):S&&(A.fill=s||"#e6e9ff",y&&(A.stroke=n.borderColor,A["stroke-width"]=y))),p.zIndex=d,O+="-"+d,(t=e.plotLinesAndBandsGroups[O])||(e.plotLinesAndBandsGroups[O]=t=f.g("plot-"+O).attr(p).add()),x||(this.svgElem=x=f.path().attr(A).add(t)),r(v))w=e.getPlotLinePath({value:(null==o?void 0:o.log2lin(v))??v,lineWidth:x.strokeWidth(),acrossPanes:n.acrossPanes});else{if(!r(m)||!r(g))return;w=e.getPlotBandPath((null==o?void 0:o.log2lin(m))??m,(null==o?void 0:o.log2lin(g))??g,n)}return!this.eventsAdded&&h&&(c(h,((t,e)=>{null==x||x.on(e,(t=>{h[e].apply(this,[t])}))})),this.eventsAdded=!0),!C&&x.d||null==w||!w.length?x&&(w?(x.show(),x.animate({d:w})):x.d&&(x.hide(),_&&(this.label=_=_.destroy()))):x.attr({d:w}),b&&(r(b.text)||r(b.formatter))&&null!=w&&w.length&&e.width>0&&e.height>0&&!w.isFlat?(b=l({align:i&&S?"center":void 0,x:i?!S&&4:10,verticalAlign:!i&&S?"middle":void 0,y:i?S?16:10:S?6:-4,rotation:i&&!S?90:0},b),this.renderLabel(b,w,S,d)):_&&_.hide(),this}renderLabel(t,e,r,o){let s=this.axis,a=s.chart.renderer,c=this.label;c||(this.label=c=a.text(this.getLabelText(t),0,0,t.useHTML).attr({align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(r?"band":"line")+"-label "+(t.className||""),zIndex:o}),s.chart.styledMode||c.css(l({fontSize:"0.8em",textOverflow:"ellipsis"},t.style)),c.add());let u=e.xBounds||[e[0][1],e[1][1],r?e[2][1]:e[0][1]],h=e.yBounds||[e[0][2],e[1][2],r?e[2][2]:e[0][2]],d=i(u),p=i(h);if(c.align(t,!1,{x:d,y:p,width:n(u)-d,height:n(h)-p}),!c.alignValue||"left"===c.alignValue){let e=t.clip?s.width:s.chart.chartWidth;c.css({width:(90===c.rotation?s.height-(c.alignAttr.y-s.top):e-(c.alignAttr.x-s.left))+"px"})}c.show(!0)}getLabelText(t){return r(t.formatter)?t.formatter.call(this):t.text}destroy(){s(this.axis.plotLinesAndBands,this),delete this.axis,o(this)}}return h})),n(e,"Core/Tooltip.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n,i,r,o){var s;let{animObject:a}=t,{format:l}=e,{composed:c,doc:u,isSafari:h}=n,{distribute:d}=i,{addEvent:p,clamp:f,css:g,discardElement:m,extend:v,fireEvent:y,isArray:b,isNumber:_,isString:x,merge:w,pick:S,pushUnique:k,splat:C,syncTimeout:A}=o;class O{constructor(t,e,n){this.allowShared=!0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.options={},this.outside=!1,this.chart=t,this.init(t,e),this.pointer=n}bodyFormatter(t){return t.map((function(t){let e=t.series.tooltipOptions;return(e[(t.point.formatPrefix||"point")+"Formatter"]||t.point.tooltipFormatter).call(t.point,e[(t.point.formatPrefix||"point")+"Format"]||"")}))}cleanSplit(t){this.chart.series.forEach((function(e){let n=e&&e.tt;n&&(!n.isActive||t?e.tt=n.destroy():n.isActive=!1)}))}defaultFormatter(t){let e,n=this.points||C(this);return(e=(e=[t.tooltipFooterHeaderFormatter(n[0])]).concat(t.bodyFormatter(n))).push(t.tooltipFooterHeaderFormatter(n[0],!0)),e}destroy(){this.label&&(this.label=this.label.destroy()),this.split&&(this.cleanSplit(!0),this.tt&&(this.tt=this.tt.destroy())),this.renderer&&(this.renderer=this.renderer.destroy(),m(this.container)),o.clearTimeout(this.hideTimer)}getAnchor(t,e){let n,{chart:i,pointer:r}=this,o=i.inverted,s=i.plotTop,a=i.plotLeft;if((t=C(t))[0].series&&t[0].series.yAxis&&!t[0].series.yAxis.options.reversedStacks&&(t=t.slice().reverse()),this.followPointer&&e)void 0===e.chartX&&(e=r.normalize(e)),n=[e.chartX-a,e.chartY-s];else if(t[0].tooltipPos)n=t[0].tooltipPos;else{let i=0,r=0;t.forEach((function(t){let e=t.pos(!0);e&&(i+=e[0],r+=e[1])})),i/=t.length,r/=t.length,this.shared&&t.length>1&&e&&(o?i=e.chartX:r=e.chartY),n=[i-a,r-s]}return n.map(Math.round)}getClassName(t,e,n){let i=this.options,r=t.series,o=r.options;return[i.className,"highcharts-label",n&&"highcharts-tooltip-header",e?"highcharts-tooltip-box":"highcharts-tooltip",!n&&"highcharts-color-"+S(t.colorIndex,r.colorIndex),o&&o.className].filter(x).join(" ")}getLabel(){let t=this,e=this.chart.styledMode,i=this.options,o=this.split&&this.allowShared,s=this.container,a=this.chart.renderer;if(this.label){let t=!this.label.hasClass("highcharts-label");(!o&&t||o&&!t)&&this.destroy()}if(!this.label){if(this.outside){let t=this.chart.options.chart.style,e=r.getRendererType();this.container=s=n.doc.createElement("div"),s.className="highcharts-tooltip-container",g(s,{position:"absolute",top:"1px",pointerEvents:"none",zIndex:Math.max(this.options.style.zIndex||0,(t&&t.zIndex||0)+3)}),this.renderer=a=new e(s,0,0,t,void 0,void 0,a.styledMode)}if(o?this.label=a.g("tooltip"):(this.label=a.label("",0,0,i.shape,void 0,void 0,i.useHTML,void 0,"tooltip").attr({padding:i.padding,r:i.borderRadius}),e||this.label.attr({fill:i.backgroundColor,"stroke-width":i.borderWidth||0}).css(i.style).css({pointerEvents:i.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none")})),t.outside){let e=this.label;[e.xSetter,e.ySetter].forEach(((n,i)=>{e[i?"ySetter":"xSetter"]=r=>{n.call(e,t.distance),e[i?"y":"x"]=r,s&&(s.style[i?"top":"left"]=`${r}px`)}}))}this.label.attr({zIndex:8}).shadow(i.shadow).add()}return s&&!s.parentElement&&n.doc.body.appendChild(s),this.label}getPlayingField(){let{body:t,documentElement:e}=u,{chart:n,distance:i,outside:r}=this;return{width:r?Math.max(t.scrollWidth,e.scrollWidth,t.offsetWidth,e.offsetWidth,e.clientWidth)-2*i:n.chartWidth,height:r?Math.max(t.scrollHeight,e.scrollHeight,t.offsetHeight,e.offsetHeight,e.clientHeight):n.chartHeight}}getPosition(t,e,n){var i,r;let o,{distance:s,chart:a,outside:l,pointer:c}=this,{inverted:u,plotLeft:h,plotTop:d,polar:p}=a,{plotX:f=0,plotY:g=0}=n,m={},v=u&&n.h||0,{height:y,width:b}=this.getPlayingField(),_=c.getChartPosition(),x=t=>t*_.scaleX,w=t=>t*_.scaleY,k=n=>{let i="x"===n;return[n,i?b:y,i?t:e].concat(l?[i?x(t):w(e),i?_.left-s+x(f+h):_.top-s+w(g+d),0,i?b:y]:[i?t:e,i?f+h:g+d,i?h:d,i?h+a.plotWidth:d+a.plotHeight])},C=k("y"),A=k("x"),O=!!n.negative;!p&&null!=(r=null==(i=a.hoverSeries)?void 0:i.yAxis)&&r.reversed&&(O=!O);let T=!this.followPointer&&S(n.ttBelow,!p&&!u===O),E=function(t,e,n,i,r,o,a){let c=l?"y"===t?w(s):x(s):s,u=(n-i)/2,h=i<r-s,d=r+s+i<e,p=r-c-n+u,f=r+c-u;if(T&&d)m[t]=f;else if(!T&&h)m[t]=p;else if(h)m[t]=Math.min(a-i,p-v<0?p:p-v);else{if(!d)return!1;m[t]=Math.max(o,f+v+n>e?f:f+v)}},P=function(t,e,n,i,r){if(r<s||r>e-s)return!1;m[t]=r<n/2?1:r>e-i/2?e-i-2:r-n/2},M=function(t){[C,A]=[A,C],o=t},L=()=>{!1!==E.apply(0,C)?!1!==P.apply(0,A)||o||(M(!0),L()):o?m.x=m.y=0:(M(!0),L())};return(u&&!p||this.len>1)&&M(),L(),m}hide(t){let e=this;o.clearTimeout(this.hideTimer),t=S(t,this.options.hideDelay),this.isHidden||(this.hideTimer=A((function(){let n=e.getLabel();e.getLabel().animate({opacity:0},{duration:t&&150,complete:()=>{n.hide(),e.container&&e.container.remove()}}),e.isHidden=!0}),t))}init(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.isHidden=!0,this.split=e.split&&!t.inverted&&!t.polar,this.shared=e.shared||this.split,this.outside=S(e.outside,!(!t.scrollablePixelsX&&!t.scrollablePixelsY))}shouldStickOnContact(t){return!(this.followPointer||!this.options.stickOnContact||t&&!this.pointer.inClass(t.target,"highcharts-tooltip"))}move(t,e,n,i){let r=this,o=a(!r.isHidden&&r.options.animation),s={x:t,y:e};r.followPointer||(r.len||0)>1||(s.anchorX=n,s.anchorY=i),o.step=()=>r.drawTracker(),r.getLabel().animate(s,o)}refresh(t,e){let{chart:n,options:i,pointer:r,shared:s}=this,a=C(t),c=a[0],u=[],h=i.format,d=i.formatter||this.defaultFormatter,p=n.styledMode,f={};if(!i.enabled||!c.series)return;o.clearTimeout(this.hideTimer),this.allowShared=!(!b(t)&&t.series&&t.series.noSharedTooltip),this.followPointer=!this.split&&c.series.tooltipOptions.followPointer;let g=this.getAnchor(t,e),m=g[0],v=g[1];s&&this.allowShared?(r.applyInactiveState(a),a.forEach((function(t){t.setState("hover"),u.push(t.getLabelConfig())})),(f=c.getLabelConfig()).points=u):f=c.getLabelConfig(),this.len=u.length;let _=x(h)?l(h,f,n):d.call(f,this),w=c.series;if(this.distance=S(w.tooltipOptions.distance,16),!1===_)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(_,a);else{let t=m,o=v;if(e&&r.isDirectTouch&&(t=e.chartX-n.plotLeft,o=e.chartY-n.plotTop),!n.polar&&!1!==w.options.clip&&!a.some((e=>r.isDirectTouch||e.series.shouldShowTooltip(t,o))))return void this.hide();{let t=this.getLabel();(!i.style.width||p)&&t.css({width:(this.outside?this.getPlayingField():n.spacingBox).width+"px"}),t.attr({class:this.getClassName(c),text:_&&_.join?_.join(""):_}),p||t.attr({stroke:i.borderColor||c.color||w.color||"#666666"}),this.updatePosition({plotX:m,plotY:v,negative:c.negative,ttBelow:c.ttBelow,h:g[2]||0})}}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}y(this,"refresh")}renderSplit(t,e){var n;let i=this,{chart:r,chart:{chartWidth:o,chartHeight:s,plotHeight:a,plotLeft:l,plotTop:c,scrollablePixelsY:p=0,scrollablePixelsX:g,styledMode:m},distance:y,options:b,options:{positioner:_},pointer:w}=i,{scrollLeft:k=0,scrollTop:C=0}=(null==(n=r.scrollablePlotArea)?void 0:n.scrollingContainer)||{},A=i.outside&&"number"!=typeof g?u.documentElement.getBoundingClientRect():{left:k,right:k+o,top:C,bottom:C+s},O=i.getLabel(),T=this.renderer||r.renderer,E=!(!r.xAxis[0]||!r.xAxis[0].opposite),{left:P,top:M}=w.getChartPosition(),L=c+C,j=0,D=a-p;function $(t,e,n,r,o=!0){let s,a;return n?(s=E?0:D,a=f(t-r/2,A.left,A.right-r-(i.outside?P:0))):(s=e-L,a=f(a=o?t-r-y:t+y,o?a:A.left,A.right)),{x:a,y:s}}x(t)&&(t=[!1,t]);let R=t.slice(0,e.length+1).reduce((function(t,n,r){if(!1!==n&&""!==n){let o=e[r-1]||{isHeader:!0,plotX:e[0].plotX,plotY:a,series:{}},s=o.isHeader,u=s?i:o.series,h=u.tt=function(t,e,n){let r=t,{isHeader:o,series:s}=e;if(!r){let t={padding:b.padding,r:b.borderRadius};m||(t.fill=b.backgroundColor,t["stroke-width"]=b.borderWidth??1),r=T.label("",0,0,b[o?"headerShape":"shape"],void 0,void 0,b.useHTML).addClass(i.getClassName(e,!0,o)).attr(t).add(O)}return r.isActive=!0,r.attr({text:n}),m||r.css(b.style).attr({stroke:b.borderColor||e.color||s.color||"#333333"}),r}(u.tt,o,n.toString()),d=h.getBBox(),p=d.width+h.strokeWidth();s&&(j=d.height,D+=j,E&&(L-=j));let{anchorX:g,anchorY:v}=function(t){let e,n,{isHeader:i,plotX:r=0,plotY:o=0,series:s}=t;if(i)e=Math.max(l+r,l),n=c+a/2;else{let{xAxis:t,yAxis:i}=s;e=t.pos+f(r,-y,t.len+y),s.shouldShowTooltip(0,i.pos-c+o,{ignoreX:!0})&&(n=i.pos+o)}return{anchorX:e=f(e,A.left-y,A.right+y),anchorY:n}}(o);if("number"==typeof v){let e=d.height+1,n=_?_.call(i,p,e,o):$(g,v,s,p);t.push({align:_?0:void 0,anchorX:g,anchorY:v,boxWidth:p,point:o,rank:S(n.rank,s?1:0),size:e,target:n.y,tt:h,x:n.x})}else h.isActive=!1}return t}),[]);!_&&R.some((t=>{let{outside:e}=i,n=(e?P:0)+t.anchorX;return n<A.left&&n+t.boxWidth<A.right||n<P-A.left+t.boxWidth&&A.right-n>n}))&&(R=R.map((t=>{let{x:e,y:n}=$(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return v(t,{target:n,x:e})}))),i.cleanSplit(),d(R,D);let I={left:P,right:P};R.forEach((function(t){let{x:e,boxWidth:n,isHeader:r}=t;!r&&(i.outside&&P+e<I.left&&(I.left=P+e),!r&&i.outside&&I.left+n>I.right&&(I.right=P+e))})),R.forEach((function(t){let{x:e,anchorX:n,anchorY:r,pos:o,point:{isHeader:s}}=t,a={visibility:void 0===o?"hidden":"inherit",x:e,y:(o||0)+L,anchorX:n,anchorY:r};if(i.outside&&e<n){let t=P-I.left;t>0&&(s||(a.x=e+t,a.anchorX=n+t),s&&(a.x=(I.right-I.left)/2,a.anchorX=n+t))}t.tt.attr(a)}));let{container:B,outside:N,renderer:F}=i;if(N&&B&&F){let{width:t,height:e,x:n,y:i}=O.getBBox();F.setSize(t+n,e+i,!1),B.style.left=I.left+"px",B.style.top=M+"px"}h&&O.attr({opacity:1===O.opacity?.999:1})}drawTracker(){if(!this.shouldStickOnContact())return void(this.tracker&&(this.tracker=this.tracker.destroy()));let t=this.chart,e=this.label,n=this.shared?t.hoverPoints:t.hoverPoint;if(!e||!n)return;let i={x:0,y:0,width:0,height:0},r=this.getAnchor(n),o=e.getBBox();r[0]+=t.plotLeft-(e.translateX||0),r[1]+=t.plotTop-(e.translateY||0),i.x=Math.min(0,r[0]),i.y=Math.min(0,r[1]),i.width=r[0]<0?Math.max(Math.abs(r[0]),o.width-r[0]):Math.max(Math.abs(r[0]),o.width),i.height=r[1]<0?Math.max(Math.abs(r[1]),o.height-Math.abs(r[1])):Math.max(Math.abs(r[1]),o.height),this.tracker?this.tracker.attr(i):(this.tracker=e.renderer.rect(i).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}styledModeFormat(t){return t.replace('style="font-size: 0.8em"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')}tooltipFooterHeaderFormatter(t,e){let n=t.series,i=n.tooltipOptions,r=n.xAxis,o=r&&r.dateTime,s={isFooter:e,labelConfig:t},a=i.xDateFormat,c=i[e?"footerFormat":"headerFormat"];return y(this,"headerFormatter",s,(function(e){o&&!a&&_(t.key)&&(a=o.getXDateFormat(t.key,i.dateTimeLabelFormats)),o&&a&&(t.point&&t.point.tooltipDateKeys||["key"]).forEach((function(t){c=c.replace("{point."+t+"}","{point."+t+":"+a+"}")})),n.chart.styledMode&&(c=this.styledModeFormat(c)),e.text=l(c,{point:t,series:n},this.chart)})),s.text}update(t){this.destroy(),this.init(this.chart,w(!0,this.options,t))}updatePosition(t){let e,{chart:n,container:i,distance:r,options:o,pointer:s,renderer:a}=this,{height:l=0,width:c=0}=this.getLabel(),{left:u,top:h,scaleX:d,scaleY:p}=s.getChartPosition(),f=(o.positioner||this.getPosition).call(this,c,l,t),m=(t.plotX||0)+n.plotLeft,v=(t.plotY||0)+n.plotTop;a&&i&&(o.positioner&&(f.x+=u-r,f.y+=h-r),e=(o.borderWidth||0)+2*r+2,a.setSize(c+e,l+e,!1),(1!==d||1!==p)&&(g(i,{transform:`scale(${d}, ${p})`}),m*=d,v*=p),m+=u-f.x,v+=h-f.y),this.move(Math.round(f.x),Math.round(f.y||0),m,v)}}return(s=O||(O={})).compose=function(t){k(c,"Core.Tooltip")&&p(t,"afterInit",(function(){let t=this.chart;t.options.tooltip&&(t.tooltip=new s(t,t.options.tooltip,this))}))},O})),n(e,"Core/Series/Point.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],(function(t,e,n,i,r){let{animObject:o}=e,{defaultOptions:s}=n,{format:a}=i,{addEvent:l,crisp:c,erase:u,extend:h,fireEvent:d,getNestedProperty:p,isArray:f,isFunction:g,isNumber:m,isObject:v,merge:y,pick:b,syncTimeout:_,removeEvent:x,uniqueKey:w}=r;class S{animateBeforeDestroy(){let t=this,e={x:t.startXPos,opacity:0},n=t.getGraphicalProps();n.singular.forEach((function(n){t[n]=t[n].animate("dataLabel"===n?{x:t[n].startXPos,y:t[n].startYPos,opacity:0}:e)})),n.plural.forEach((function(e){t[e].forEach((function(e){e.element&&e.animate(h({x:t.startXPos},e.startYPos?{x:e.startXPos,y:e.startYPos}:{}))}))}))}applyOptions(t,e){let n=this.series,i=n.options.pointValKey||n.pointValKey;return h(this,t=S.prototype.optionsToObject.call(this,t)),this.options=this.options?h(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,i&&(this.y=S.prototype.getNestedProperty.call(this,i)),this.selected&&(this.state="select"),"name"in this&&void 0===e&&n.xAxis&&n.xAxis.hasNames&&(this.x=n.xAxis.nameToX(this)),void 0===this.x&&n?this.x=e??n.autoIncrement():m(t.x)&&n.options.relativeXValue&&(this.x=n.autoIncrement(t.x)),this.isNull=this.isValid&&!this.isValid(),this.formatPrefix=this.isNull?"null":"point",this}destroy(){if(!this.destroyed){let t=this,e=t.series,n=e.chart,i=e.options.dataSorting,r=n.hoverPoints,s=o(t.series.chart.renderer.globalAnimation),a=()=>{for(let e in(t.graphic||t.graphics||t.dataLabel||t.dataLabels)&&(x(t),t.destroyElements()),t)delete t[e]};t.legendItem&&n.legend.destroyItem(t),r&&(t.setState(),u(r,t),r.length||(n.hoverPoints=null)),t===n.hoverPoint&&t.onMouseOut(),i&&i.enabled?(this.animateBeforeDestroy(),_(a,s.duration)):a(),n.pointCount--}this.destroyed=!0}destroyElements(t){let e=this,n=e.getGraphicalProps(t);n.singular.forEach((function(t){e[t]=e[t].destroy()})),n.plural.forEach((function(t){e[t].forEach((function(t){t&&t.element&&t.destroy()})),delete e[t]}))}firePointEvent(t,e,n){let i=this,r=this.series.options;i.manageEvent(t),"click"===t&&r.allowPointSelect&&(n=function(t){!i.destroyed&&i.select&&i.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),d(i,t,e,n)}getClassName(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")}getGraphicalProps(t){let e,n,i=this,r=[],o={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}).graphic&&r.push("graphic","connector"),t.dataLabel&&r.push("dataLabel","dataLabelPath","dataLabelUpper"),n=r.length;n--;)i[e=r[n]]&&o.singular.push(e);return["graphic","dataLabel"].forEach((function(e){let n=e+"s";t[e]&&i[n]&&o.plural.push(n)})),o}getLabelConfig(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}}getNestedProperty(t){return t?0===t.indexOf("custom.")?p(t,this.options):this[t]:void 0}getZone(){let t,e=this.series,n=e.zones,i=e.zoneAxis||"y",r=0;for(t=n[0];this[i]>=t.value;)t=n[++r];return this.nonZonedColor||(this.nonZonedColor=this.color),t&&t.color&&!this.options.color?this.color=t.color:this.color=this.nonZonedColor,t}hasNewShapeType(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType}constructor(t,e,n){this.formatPrefix="point",this.visible=!0,this.series=t,this.applyOptions(e,n),this.id??(this.id=w()),this.resolveColor(),t.chart.pointCount++,d(this,"afterInit")}isValid(){return(m(this.x)||this.x instanceof Date)&&m(this.y)}optionsToObject(t){let e,n=this.series,i=n.options.keys,r=i||n.pointArrayMap||["y"],o=r.length,s={},a=0,l=0;if(m(t)||null===t)s[r[0]]=t;else if(f(t))for(!i&&t.length>o&&("string"==(e=typeof t[0])?s.name=t[0]:"number"===e&&(s.x=t[0]),a++);l<o;)i&&void 0===t[a]||(r[l].indexOf(".")>0?S.prototype.setNestedProperty(s,t[a],r[l]):s[r[l]]=t[a]),a++,l++;else"object"==typeof t&&(s=t,t.dataLabels&&(n.hasDataLabels=()=>!0),t.marker&&(n._hasPointMarkers=!0));return s}pos(t,e=this.plotY){if(!this.destroyed){let{plotX:n,series:i}=this,{chart:r,xAxis:o,yAxis:s}=i,a=0,l=0;if(m(n)&&m(e))return t&&(a=o?o.pos:r.plotLeft,l=s?s.pos:r.plotTop),r.inverted&&o&&s?[s.len-e+l,o.len-n+a]:[n+a,e+l]}}resolveColor(){let t,e,n,i=this.series,r=i.chart.options.chart,o=i.chart.styledMode,s=r.colorCount;delete this.nonZonedColor,i.options.colorByPoint?(o||(t=(e=i.options.colors||i.chart.options.colors)[i.colorCounter],s=e.length),n=i.colorCounter,i.colorCounter++,i.colorCounter===s&&(i.colorCounter=0)):(o||(t=i.color),n=i.colorIndex),this.colorIndex=b(this.options.colorIndex,n),this.color=b(this.options.color,t)}setNestedProperty(t,e,n){return n.split(".").reduce((function(t,n,i,r){let o=r.length-1===i;return t[n]=o?e:v(t[n],!0)?t[n]:{},t[n]}),t),t}shouldDraw(){return!this.isNull}tooltipFormatter(t){let e=this.series,n=e.tooltipOptions,i=b(n.valueDecimals,""),r=n.valuePrefix||"",o=n.valueSuffix||"";return e.chart.styledMode&&(t=e.chart.tooltip.styledModeFormat(t)),(e.pointArrayMap||["y"]).forEach((function(e){e="{point."+e,(r||o)&&(t=t.replace(RegExp(e+"}","g"),r+e+"}"+o)),t=t.replace(RegExp(e+"}","g"),e+":,."+i+"f}")})),a(t,{point:this,series:this.series},e.chart)}update(t,e,n,i){let r,o=this,s=o.series,a=o.graphic,l=s.chart,c=s.options;function u(){o.applyOptions(t);let i=a&&o.hasMockGraphic,u=null===o.y?!i:i;a&&u&&(o.graphic=a.destroy(),delete o.hasMockGraphic),v(t,!0)&&(a&&a.element&&t&&t.marker&&void 0!==t.marker.symbol&&(o.graphic=a.destroy()),null!=t&&t.dataLabels&&o.dataLabel&&(o.dataLabel=o.dataLabel.destroy())),r=o.index,s.updateParallelArrays(o,r),c.data[r]=v(c.data[r],!0)||v(t,!0)?o.options:b(t,c.data[r]),s.isDirty=s.isDirtyData=!0,!s.fixedBox&&s.hasCartesianSeries&&(l.isDirtyBox=!0),"point"===c.legendType&&(l.isDirtyLegend=!0),e&&l.redraw(n)}e=b(e,!0),!1===i?u():o.firePointEvent("update",{options:t},u)}remove(t,e){this.series.removePoint(this.series.data.indexOf(this),t,e)}select(t,e){let n=this,i=n.series,r=i.chart;t=b(t,!n.selected),this.selectedStaging=t,n.firePointEvent(t?"select":"unselect",{accumulate:e},(function(){n.selected=n.options.selected=t,i.options.data[i.data.indexOf(n)]=n.options,n.setState(t&&"select"),e||r.getSelectedPoints().forEach((function(t){let e=t.series;t.selected&&t!==n&&(t.selected=t.options.selected=!1,e.options.data[e.data.indexOf(t)]=t.options,t.setState(r.hoverPoints&&e.options.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))}))})),delete this.selectedStaging}onMouseOver(t){let{inverted:e,pointer:n}=this.series.chart;n&&(t=t?n.normalize(t):n.getChartCoordinatesFromPoint(this,e),n.runPointActions(t,this))}onMouseOut(){let t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach((function(t){t.setState()})),t.hoverPoints=t.hoverPoint=null}manageEvent(t){var e,n,i,r,o,s;let a=null==(e=y(this.series.options.point,this.options).events)?void 0:e[t];!g(a)||null!=(n=this.hcEvents)&&n[t]&&-1!==(null==(r=null==(i=this.hcEvents)?void 0:i[t])?void 0:r.map((t=>t.fn)).indexOf(a))?this.importedUserEvent&&!a&&null!=(s=this.hcEvents)&&s[t]&&(x(this,t),delete this.hcEvents[t],Object.keys(this.hcEvents)||delete this.importedUserEvent):(null==(o=this.importedUserEvent)||o.call(this),this.importedUserEvent=l(this,t,a))}setState(e,n){var i;let r,o,a,l,c=this.series,u=this.state,p=c.options.states[e||"normal"]||{},f=s.plotOptions[c.type].marker&&c.options.marker,g=f&&!1===f.enabled,v=f&&f.states&&f.states[e||"normal"]||{},y=!1===v.enabled,_=this.marker||{},x=c.chart,w=f&&c.markerAttribs,S=c.halo,k=c.stateMarkerGraphic;if((e=e||"")===this.state&&!n||this.selected&&"select"!==e||!1===p.enabled||e&&(y||g&&!1===v.enabled)||e&&_.states&&_.states[e]&&!1===_.states[e].enabled)return;if(this.state=e,w&&(r=c.markerAttribs(this,e)),this.graphic&&!this.hasMockGraphic){if(u&&this.graphic.removeClass("highcharts-point-"+u),e&&this.graphic.addClass("highcharts-point-"+e),!x.styledMode){o=c.pointAttribs(this,e),a=b(x.options.chart.animation,p.animation);let t=o.opacity;c.options.inactiveOtherPoints&&m(t)&&(this.dataLabels||[]).forEach((function(e){e&&!e.hasClass("highcharts-data-label-hidden")&&(e.animate({opacity:t},a),e.connector&&e.connector.animate({opacity:t},a))})),this.graphic.animate(o,a)}r&&this.graphic.animate(r,b(x.options.chart.animation,v.animation,f.animation)),k&&k.hide()}else e&&v&&(l=_.symbol||c.symbol,k&&k.currentSymbol!==l&&(k=k.destroy()),r&&(k?k[n?"animate":"attr"]({x:r.x,y:r.y}):l&&(c.stateMarkerGraphic=k=x.renderer.symbol(l,r.x,r.y,r.width,r.height).add(c.markerGroup),k.currentSymbol=l)),!x.styledMode&&k&&"inactive"!==this.state&&k.attr(c.pointAttribs(this,e))),k&&(k[e&&this.isInside?"show":"hide"](),k.element.point=this,k.addClass(this.getClassName(),!0));let C=p.halo,A=this.graphic||k,O=A&&A.visibility||"inherit";C&&C.size&&A&&"hidden"!==O&&!this.isCluster?(S||(c.halo=S=x.renderer.path().add(A.parentGroup)),S.show()[n?"animate":"attr"]({d:this.haloPath(C.size)}),S.attr({class:"highcharts-halo highcharts-color-"+b(this.colorIndex,c.colorIndex)+(this.className?" "+this.className:""),visibility:O,zIndex:-1}),S.point=this,x.styledMode||S.attr(h({fill:this.color||c.color,"fill-opacity":C.opacity},t.filterUserAttributes(C.attributes||{})))):null!=(i=null==S?void 0:S.point)&&i.haloPath&&!S.point.destroyed&&S.animate({d:S.point.haloPath(0)},null,S.hide),d(this,"afterSetState",{state:e})}haloPath(t){let e=this.pos();return e?this.series.chart.renderer.symbols.circle(c(e[0],1)-t,e[1]-t,2*t,2*t):[]}}return S})),n(e,"Core/Pointer.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,n){var i;let{parse:r}=t,{charts:o,composed:s,isTouchDevice:a}=e,{addEvent:l,attr:c,css:u,extend:h,find:d,fireEvent:p,isNumber:f,isObject:g,objectEach:m,offset:v,pick:y,pushUnique:b,splat:_}=n;class x{applyInactiveState(t){let e,n=[];(t||[]).forEach((function(t){e=t.series,n.push(e),e.linkedParent&&n.push(e.linkedParent),e.linkedSeries&&(n=n.concat(e.linkedSeries)),e.navigatorSeries&&n.push(e.navigatorSeries)})),this.chart.series.forEach((function(t){-1===n.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")}))}destroy(){let t=this;this.eventsToUnbind.forEach((t=>t())),this.eventsToUnbind=[],!e.chartCount&&(x.unbindDocumentMouseUp&&(x.unbindDocumentMouseUp=x.unbindDocumentMouseUp()),x.unbindDocumentTouchEnd&&(x.unbindDocumentTouchEnd=x.unbindDocumentTouchEnd())),clearInterval(t.tooltipTimeout),m(t,(function(e,n){t[n]=void 0}))}getSelectionMarkerAttrs(t,e){let n={args:{chartX:t,chartY:e},attrs:{},shapeType:"rect"};return p(this,"getSelectionMarkerAttrs",n,(n=>{let i,{chart:r,zoomHor:o,zoomVert:s}=this,{mouseDownX:a=0,mouseDownY:l=0}=r,c=n.attrs;c.x=r.plotLeft,c.y=r.plotTop,c.width=o?1:r.plotWidth,c.height=s?1:r.plotHeight,o&&(i=t-a,c.width=Math.max(1,Math.abs(i)),c.x=(i>0?0:i)+a),s&&(i=e-l,c.height=Math.max(1,Math.abs(i)),c.y=(i>0?0:i)+l)})),n}drag(t){let e,{chart:n}=this,{mouseDownX:i=0,mouseDownY:o=0}=n,{panning:s,panKey:a,selectionMarkerFill:l}=n.options.chart,c=n.plotLeft,u=n.plotTop,h=n.plotWidth,d=n.plotHeight,p=g(s)?s.enabled:s,f=a&&t[`${a}Key`],m=t.chartX,v=t.chartY,y=this.selectionMarker;if((!y||!y.touch)&&(m<c?m=c:m>c+h&&(m=c+h),v<u?v=u:v>u+d&&(v=u+d),this.hasDragged=Math.sqrt(Math.pow(i-m,2)+Math.pow(o-v,2)),this.hasDragged>10)){e=n.isInsidePlot(i-c,o-u,{visiblePlotOnly:!0});let{shapeType:a,attrs:h}=this.getSelectionMarkerAttrs(m,v);(n.hasCartesianSeries||n.mapView)&&this.hasZoom&&e&&!f&&!y&&(this.selectionMarker=y=n.renderer[a](),y.attr({class:"highcharts-selection-marker",zIndex:7}).add(),n.styledMode||y.attr({fill:l||r("#334eff").setOpacity(.25).get()})),y&&y.attr(h),e&&!y&&p&&n.pan(t,s)}}dragStart(t){let e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=t.chartX,e.mouseDownY=t.chartY}getSelectionBox(t){let e={args:{marker:t},result:t.getBBox()};return p(this,"getSelectionBox",e),e.result}drop(t){let e,{chart:n,selectionMarker:i}=this;for(let t of n.axes)t.isPanning&&(t.isPanning=!1,(t.options.startOnTick||t.options.endOnTick||t.series.some((t=>t.boosted)))&&(t.forceRedraw=!0,t.setExtremes(t.userMin,t.userMax,!1),e=!0));if(e&&n.redraw(),i&&t){if(this.hasDragged){let e=this.getSelectionBox(i);n.transform({axes:n.axes.filter((t=>t.zoomEnabled&&("xAxis"===t.coll&&this.zoomX||"yAxis"===t.coll&&this.zoomY))),selection:{originalEvent:t,xAxis:[],yAxis:[],...e},from:e})}f(n.index)&&(this.selectionMarker=i.destroy())}n&&f(n.index)&&(u(n.container,{cursor:n._cursor}),n.cancelClick=this.hasDragged>10,n.mouseIsDown=!1,this.hasDragged=0,this.pinchDown=[])}findNearestKDPoint(t,e,n){let i;return t.forEach((function(t){let r=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y"),o=t.searchPoint(n,r);g(o,!0)&&o.series&&(!g(i,!0)||function(t,n){var i,r;let o=t.distX-n.distX,s=t.dist-n.dist,a=(null==(i=n.series.group)?void 0:i.zIndex)-(null==(r=t.series.group)?void 0:r.zIndex);return 0!==o&&e?o:0!==s?s:0!==a?a:t.series.index>n.series.index?-1:1}(i,o)>0)&&(i=o)})),i}getChartCoordinatesFromPoint(t,e){let{xAxis:n,yAxis:i}=t.series,r=t.shapeArgs;if(n&&i){let o=t.clientX??t.plotX??0,s=t.plotY||0;return t.isNode&&r&&f(r.x)&&f(r.y)&&(o=r.x,s=r.y),e?{chartX:i.len+i.pos-s,chartY:n.len+n.pos-o}:{chartX:o+n.pos,chartY:s+i.pos}}if(r&&r.x&&r.y)return{chartX:r.x,chartY:r.y}}getChartPosition(){if(this.chartPosition)return this.chartPosition;let{container:t}=this.chart,e=v(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};let{offsetHeight:n,offsetWidth:i}=t;return i>2&&n>2&&(this.chartPosition.scaleX=e.width/i,this.chartPosition.scaleY=e.height/n),this.chartPosition}getCoordinates(t){let e={xAxis:[],yAxis:[]};for(let n of this.chart.axes)e[n.isXAxis?"xAxis":"yAxis"].push({axis:n,value:n.toValue(t[n.horiz?"chartX":"chartY"])});return e}getHoverData(t,e,n,i,r,o){let s,a=[],l=function(t){return t.visible&&!(!r&&t.directTouch)&&y(t.options.enableMouseTracking,!0)},c=e,u={chartX:o?o.chartX:void 0,chartY:o?o.chartY:void 0,shared:r};p(this,"beforeGetHoverData",u),s=c&&!c.stickyTracking?[c]:n.filter((t=>t.stickyTracking&&(u.filter||l)(t)));let h=i&&t||!o?t:this.findNearestKDPoint(s,r,o);return c=h&&h.series,h&&(r&&!c.noSharedTooltip?(s=n.filter((function(t){return u.filter?u.filter(t):l(t)&&!t.noSharedTooltip}))).forEach((function(t){let e=d(t.points,(function(t){return t.x===h.x&&!t.isNull}));g(e)&&(t.boosted&&t.boost&&(e=t.boost.getPoint(e)),a.push(e))})):a.push(h)),p(this,"afterGetHoverData",u={hoverPoint:h}),{hoverPoint:u.hoverPoint,hoverSeries:c,hoverPoints:a}}getPointFromEvent(t){let e,n=t.target;for(;n&&!e;)e=n.point,n=n.parentNode;return e}onTrackerMouseOut(t){let e=this.chart,n=t.relatedTarget,i=e.hoverSeries;this.isDirectTouch=!1,!i||!n||i.stickyTracking||this.inClass(n,"highcharts-tooltip")||this.inClass(n,"highcharts-series-"+i.index)&&this.inClass(n,"highcharts-tracker")||i.onMouseOut()}inClass(t,e){let n,i=t;for(;i;){if(n=c(i,"class")){if(-1!==n.indexOf(e))return!0;if(-1!==n.indexOf("highcharts-container"))return!1}i=i.parentElement}}constructor(t,e){var n;this.hasDragged=0,this.pointerCaptureEventsToUnbind=[],this.eventsToUnbind=[],this.options=e,this.chart=t,this.runChartClick=!(null==(n=e.chart.events)||!n.click),this.pinchDown=[],this.setDOMEvents(),p(this,"afterInit")}normalize(t,e){let n=t.touches,i=n?n.length?n.item(0):y(n.changedTouches,t.changedTouches)[0]:t;e||(e=this.getChartPosition());let r=i.pageX-e.left,o=i.pageY-e.top;return h(t,{chartX:Math.round(r/=e.scaleX),chartY:Math.round(o/=e.scaleY)})}onContainerClick(t){let e=this.chart,n=e.hoverPoint,i=this.normalize(t),r=e.plotLeft,o=e.plotTop;!e.cancelClick&&(n&&this.inClass(i.target,"highcharts-tracker")?(p(n.series,"click",h(i,{point:n})),e.hoverPoint&&n.firePointEvent("click",i)):(h(i,this.getCoordinates(i)),e.isInsidePlot(i.chartX-r,i.chartY-o,{visiblePlotOnly:!0})&&p(e,"click",i)))}onContainerMouseDown(t){var n;let i=!(1&~(t.buttons||t.button));t=this.normalize(t),e.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),(void 0===t.button||i)&&(this.zoomOption(t),i&&(null==(n=t.preventDefault)||n.call(t)),this.dragStart(t))}onContainerMouseLeave(t){let{pointer:e}=o[y(x.hoverChartIndex,-1)]||{};t=this.normalize(t),this.onContainerMouseMove(t),e&&!this.inClass(t.relatedTarget,"highcharts-tooltip")&&(e.reset(),e.chartPosition=void 0)}onContainerMouseEnter(){delete this.chartPosition}onContainerMouseMove(t){let e=this.chart,n=e.tooltip,i=this.normalize(t);this.setHoverChartIndex(t),("mousedown"===e.mouseIsDown||this.touchSelect(i))&&this.drag(i),!e.openMenu&&(this.inClass(i.target,"highcharts-tracker")||e.isInsidePlot(i.chartX-e.plotLeft,i.chartY-e.plotTop,{visiblePlotOnly:!0}))&&(!n||!n.shouldStickOnContact(i))&&(this.inClass(i.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(i))}onDocumentTouchEnd(t){this.onDocumentMouseUp(t)}onContainerTouchMove(t){this.touchSelect(t)?this.onContainerMouseMove(t):this.touch(t)}onContainerTouchStart(t){this.touchSelect(t)?this.onContainerMouseDown(t):(this.zoomOption(t),this.touch(t,!0))}onDocumentMouseMove(t){let e=this.chart,n=e.tooltip,i=this.chartPosition,r=this.normalize(t,i);!i||e.isInsidePlot(r.chartX-e.plotLeft,r.chartY-e.plotTop,{visiblePlotOnly:!0})||n&&n.shouldStickOnContact(r)||r.target!==e.container.ownerDocument&&this.inClass(r.target,"highcharts-tracker")||this.reset()}onDocumentMouseUp(t){var e,n;null==(n=null==(e=o[y(x.hoverChartIndex,-1)])?void 0:e.pointer)||n.drop(t)}pinch(t){let e=this,{chart:n,hasZoom:i,lastTouches:r}=e,o=[].map.call(t.touches||[],(t=>e.normalize(t))),s=o.length,a=1===s&&(e.inClass(t.target,"highcharts-tracker")&&n.runTrackerClick||e.runChartClick),l=n.tooltip,c=1===s&&y(null==l?void 0:l.options.followTouchMove,!0);s>1?e.initiated=!0:c&&(e.initiated=!1),i&&e.initiated&&!a&&!1!==t.cancelable&&t.preventDefault(),"touchstart"===t.type?(e.pinchDown=o,e.res=!0,n.mouseDownX=t.chartX):c?this.runPointActions(e.normalize(t)):r&&(p(n,"touchpan",{originalEvent:t,touches:o},(()=>{let e=t=>{let e=t[0],n=t[1]||e;return{x:e.chartX,y:e.chartY,width:n.chartX-e.chartX,height:n.chartY-e.chartY}};n.transform({axes:n.axes.filter((t=>t.zoomEnabled&&(this.zoomHor&&t.horiz||this.zoomVert&&!t.horiz))),to:e(o),from:e(r),trigger:t.type})})),e.res&&(e.res=!1,this.reset(!1,0))),e.lastTouches=o}reset(t,e){let n=this.chart,i=n.hoverSeries,r=n.hoverPoint,o=n.hoverPoints,s=n.tooltip,a=s&&s.shared?o:r;t&&a&&_(a).forEach((function(e){e.series.isCartesian&&void 0===e.plotX&&(t=!1)})),t?s&&a&&_(a).length&&(s.refresh(a),s.shared&&o?o.forEach((function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))})):r&&(r.setState(r.state,!0),n.axes.forEach((function(t){t.crosshair&&r.series[t.coll]===t&&t.drawCrosshair(null,r)})))):(r&&r.onMouseOut(),o&&o.forEach((function(t){t.setState()})),i&&i.onMouseOut(),s&&s.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),n.axes.forEach((function(t){t.hideCrosshair()})),n.hoverPoints=n.hoverPoint=void 0)}runPointActions(t,e,n){let i=this.chart,r=i.series,s=i.tooltip&&i.tooltip.options.enabled?i.tooltip:void 0,a=!!s&&s.shared,c=e||i.hoverPoint,u=c&&c.series||i.hoverSeries,h=(!t||"touchmove"!==t.type)&&(!!e||u&&u.directTouch&&this.isDirectTouch),p=this.getHoverData(c,u,r,h,a,t);c=p.hoverPoint,u=p.hoverSeries;let f=p.hoverPoints,g=u&&u.tooltipOptions.followPointer&&!u.tooltipOptions.split,m=a&&u&&!u.noSharedTooltip;if(c&&(n||c!==i.hoverPoint||s&&s.isHidden)){if((i.hoverPoints||[]).forEach((function(t){-1===f.indexOf(t)&&t.setState()})),i.hoverSeries!==u&&u.onMouseOver(),this.applyInactiveState(f),(f||[]).forEach((function(t){t.setState("hover")})),i.hoverPoint&&i.hoverPoint.firePointEvent("mouseOut"),!c.series)return;i.hoverPoints=f,i.hoverPoint=c,c.firePointEvent("mouseOver",void 0,(()=>{s&&c&&s.refresh(m?f:c,t)}))}else if(g&&s&&!s.isHidden){let e=s.getAnchor([{}],t);i.isInsidePlot(e[0],e[1],{visiblePlotOnly:!0})&&s.updatePosition({plotX:e[0],plotY:e[1]})}this.unDocMouseMove||(this.unDocMouseMove=l(i.container.ownerDocument,"mousemove",(t=>{var e,n;return null==(n=null==(e=o[x.hoverChartIndex??-1])?void 0:e.pointer)?void 0:n.onDocumentMouseMove(t)})),this.eventsToUnbind.push(this.unDocMouseMove)),i.axes.forEach((function(e){let n,r=y((e.crosshair||{}).snap,!0);!r||(n=i.hoverPoint)&&n.series[e.coll]===e||(n=d(f,(t=>t.series&&t.series[e.coll]===e))),n||!r?e.drawCrosshair(t,n):e.hideCrosshair()}))}setDOMEvents(){let t=this.chart.container,e=t.ownerDocument;t.onmousedown=this.onContainerMouseDown.bind(this),t.onmousemove=this.onContainerMouseMove.bind(this),t.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(l(t,"mouseenter",this.onContainerMouseEnter.bind(this)),l(t,"mouseleave",this.onContainerMouseLeave.bind(this))),x.unbindDocumentMouseUp||(x.unbindDocumentMouseUp=l(e,"mouseup",this.onDocumentMouseUp.bind(this)));let n=this.chart.renderTo.parentElement;for(;n&&"BODY"!==n.tagName;)this.eventsToUnbind.push(l(n,"scroll",(()=>{delete this.chartPosition}))),n=n.parentElement;this.eventsToUnbind.push(l(t,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1}),l(t,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),x.unbindDocumentTouchEnd||(x.unbindDocumentTouchEnd=l(e,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})),this.setPointerCapture(),l(this.chart,"redraw",this.setPointerCapture.bind(this))}setPointerCapture(){var t,e;if(!a)return;let n=this.pointerCaptureEventsToUnbind,i=this.chart,r=i.container,o=y(null==(t=i.options.tooltip)?void 0:t.followTouchMove,!0)&&i.series.some((t=>t.options.findNearestPointBy.indexOf("y")>-1));!this.hasPointerCapture&&o?(n.push(l(r,"pointerdown",(t=>{var e,n;null!=(e=t.target)&&e.hasPointerCapture(t.pointerId)&&(null==(n=t.target)||n.releasePointerCapture(t.pointerId))})),l(r,"pointermove",(t=>{var e,n;null==(n=null==(e=i.pointer)?void 0:e.getPointFromEvent(t))||n.onMouseOver(t)}))),i.styledMode||u(r,{"touch-action":"none"}),r.className+=" highcharts-no-touch-action",this.hasPointerCapture=!0):this.hasPointerCapture&&!o&&(n.forEach((t=>t())),n.length=0,i.styledMode||u(r,{"touch-action":y(null==(e=i.options.chart.style)?void 0:e["touch-action"],"manipulation")}),r.className=r.className.replace(" highcharts-no-touch-action",""),this.hasPointerCapture=!1)}setHoverChartIndex(t){var n;let i=this.chart,r=e.charts[y(x.hoverChartIndex,-1)];if(r&&r!==i){let e={relatedTarget:i.container};t&&!(null!=t&&t.relatedTarget)&&(t={...e,...t}),null==(n=r.pointer)||n.onContainerMouseLeave(t||e)}r&&r.mouseIsDown||(x.hoverChartIndex=i.index)}touch(t,e){let n,{chart:i,pinchDown:r=[]}=this;this.setHoverChartIndex(),1===(t=this.normalize(t)).touches.length?i.isInsidePlot(t.chartX-i.plotLeft,t.chartY-i.plotTop,{visiblePlotOnly:!0})&&!i.openMenu?(e&&this.runPointActions(t),"touchmove"===t.type&&(n=!!r[0]&&Math.pow(r[0].chartX-t.chartX,2)+Math.pow(r[0].chartY-t.chartY,2)>=16),y(n,!0)&&this.pinch(t)):e&&this.reset():2===t.touches.length&&this.pinch(t)}touchSelect(t){return!(!this.chart.zooming.singleTouch||!t.touches||1!==t.touches.length)}zoomOption(t){let e,n,i=this.chart,r=i.inverted,o=i.zooming.type||"";/touch/.test(t.type)&&(o=y(i.zooming.pinchType,o)),this.zoomX=e=/x/.test(o),this.zoomY=n=/y/.test(o),this.zoomHor=e&&!r||n&&r,this.zoomVert=n&&!r||e&&r,this.hasZoom=e||n}}return(i=x||(x={})).compose=function(t){b(s,"Core.Pointer")&&l(t,"beforeRender",(function(){this.pointer=new i(this,this.options)}))},x})),n(e,"Core/Legend/LegendSymbol.js",[e["Core/Utilities.js"]],(function(t){var e;let{extend:n,merge:i,pick:r}=t;return function(t){function e(t,e,o){var s;let a,l=this.legendItem=this.legendItem||{},{chart:c,options:u}=this,{baseline:h=0,symbolWidth:d,symbolHeight:p}=t,f=this.symbol||"circle",g=p/2,m=c.renderer,v=l.group,y=h-Math.round(p*(o?.4:.3)),b={},_=u.marker,x=0;if(c.styledMode||(b["stroke-width"]=Math.min(u.lineWidth||0,24),u.dashStyle?b.dashstyle=u.dashStyle:"square"===u.linecap||(b["stroke-linecap"]="round")),l.line=m.path().addClass("highcharts-graph").attr(b).add(v),o&&(l.area=m.path().addClass("highcharts-area").add(v)),b["stroke-linecap"]&&(x=Math.min(l.line.strokeWidth(),d)/2),d){let t=[["M",x,y],["L",d-x,y]];l.line.attr({d:t}),null==(s=l.area)||s.attr({d:[...t,["L",d-x,h],["L",x,h]]})}if(_&&!1!==_.enabled&&d){let t=Math.min(r(_.radius,g),g);0===f.indexOf("url")&&(_=i(_,{width:p,height:p}),t=0),l.symbol=a=m.symbol(f,d/2-t,y-t,2*t,2*t,n({context:"legend"},_)).addClass("highcharts-point").add(v),a.isMarker=!0}}t.areaMarker=function(t,n){e.call(this,t,n,!0)},t.lineMarker=e,t.rectangle=function(t,e){let n=e.legendItem||{},i=t.options,o=t.symbolHeight,s=i.squareSymbol,a=s?o:t.symbolWidth;n.symbol=this.chart.renderer.rect(s?(t.symbolWidth-o)/2:0,t.baseline-o+1,a,o,r(t.options.symbolRadius,o/2)).addClass("highcharts-point").attr({zIndex:3}).add(n.group)}}(e||(e={})),e})),n(e,"Core/Series/SeriesDefaults.js",[],(function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},enableMouseTracking:!0,events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:150},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:!0,formatter:function(){let{numberFormatter:t}=this.series.chart;return"number"!=typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"0.7em",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:150},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:150},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}})),n(e,"Core/Series/SeriesRegistry.js",[e["Core/Globals.js"],e["Core/Defaults.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],(function(t,e,n,i){var r;let{defaultOptions:o}=e,{extend:s,extendClass:a,merge:l}=i;return function(e){function i(t,i){let r=o.plotOptions||{},s=i.defaultOptions,a=i.prototype;return a.type=t,a.pointClass||(a.pointClass=n),!e.seriesTypes[t]&&(s&&(r[t]=s),e.seriesTypes[t]=i,!0)}e.seriesTypes=t.seriesTypes,e.registerSeriesType=i,e.seriesType=function(t,r,c,u,h){let d=o.plotOptions||{};if(r=r||"",d[t]=l(d[r],c),delete e.seriesTypes[t],i(t,a(e.seriesTypes[r]||function(){},u)),e.seriesTypes[t].prototype.type=t,h){class i extends n{}s(i.prototype,h),e.seriesTypes[t].prototype.pointClass=i}return e.seriesTypes[t]}}(r||(r={})),r})),n(e,"Core/Series/Series.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/Point.js"],e["Core/Series/SeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],(function(t,e,n,i,r,o,s,a,l,c){let{animObject:u,setAnimation:h}=t,{defaultOptions:d}=e,{registerEventOptions:p}=n,{svg:f,win:g}=i,{seriesTypes:m}=a,{arrayMax:v,arrayMin:y,clamp:b,correctFloat:_,crisp:x,defined:w,destroyObjectProperties:S,diffObjects:k,erase:C,error:A,extend:O,find:T,fireEvent:E,getClosestDistance:P,getNestedProperty:M,insertItem:L,isArray:j,isNumber:D,isString:$,merge:R,objectEach:I,pick:B,removeEvent:N,splat:F,syncTimeout:z}=c;class V{constructor(){this.zoneAxis="y"}init(t,e){let n;E(this,"init",{options:e});let i=this,r=t.series;this.eventsToUnbind=[],i.chart=t,i.options=i.setOptions(e);let o=i.options,s=!1!==o.visible;i.linkedSeries=[],i.bindAxes(),O(i,{name:o.name,state:"",visible:s,selected:!0===o.selected}),p(this,o);let a=o.events;(a&&a.click||o.point&&o.point.events&&o.point.events.click||o.allowPointSelect)&&(t.runTrackerClick=!0),i.getColor(),i.getSymbol(),i.parallelArrays.forEach((function(t){i[t+"Data"]||(i[t+"Data"]=[])})),i.isCartesian&&(t.hasCartesianSeries=!0),r.length&&(n=r[r.length-1]),i._i=B(n&&n._i,-1)+1,i.opacity=i.options.opacity,t.orderItems("series",L(this,r)),o.dataSorting&&o.dataSorting.enabled?i.setDataSortingOptions():i.points||i.data||i.setData(o.data,!1),E(this,"afterInit")}is(t){return m[t]&&this instanceof m[t]}bindAxes(){let t,e=this,n=e.options,i=e.chart;E(this,"bindAxes",null,(function(){(e.axisTypes||[]).forEach((function(r){(i[r]||[]).forEach((function(i){t=i.options,(B(n[r],0)===i.index||void 0!==n[r]&&n[r]===t.id)&&(L(e,i.series),e[r]=i,i.isDirty=!0)})),e[r]||e.optionalAxis===r||A(18,!0,i)}))})),E(this,"afterBindAxes")}updateParallelArrays(t,e,n){let i=t.series,r=D(e)?function(n){let r="y"===n&&i.toYData?i.toYData(t):t[n];i[n+"Data"][e]=r}:function(t){Array.prototype[e].apply(i[t+"Data"],n)};i.parallelArrays.forEach(r)}hasData(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&this.yData.length>0}hasMarkerChanged(t,e){let n=t.marker,i=e.marker||{};return n&&(i.enabled&&!n.enabled||i.symbol!==n.symbol||i.height!==n.height||i.width!==n.width)}autoIncrement(t){let e,n,i=this.options,r=i.pointIntervalUnit,o=i.relativeXValue,s=this.chart.time,a=this.xIncrement;return a=B(a,i.pointStart,0),this.pointInterval=n=B(this.pointInterval,i.pointInterval,1),o&&D(t)&&(n*=t),r&&(e=new s.Date(a),"day"===r?s.set("Date",e,s.get("Date",e)+n):"month"===r?s.set("Month",e,s.get("Month",e)+n):"year"===r&&s.set("FullYear",e,s.get("FullYear",e)+n),n=e.getTime()-a),o&&D(t)?a+n:(this.xIncrement=a+n,a)}setDataSortingOptions(){let t=this.options;O(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),w(t.pointRange)||(t.pointRange=1)}setOptions(t){var e,n;let i,r=this.chart,o=r.options.plotOptions,s=r.userOptions||{},a=R(t),l=r.styledMode,c={plotOptions:o,userOptions:a};E(this,"setOptions",c);let u=c.plotOptions[this.type],h=s.plotOptions||{},p=h.series||{},f=d.plotOptions[this.type]||{},g=h[this.type]||{};this.userOptions=c.userOptions;let m=R(u,o.series,g,a);this.tooltipOptions=R(d.tooltip,null==(e=d.plotOptions.series)?void 0:e.tooltip,null==f?void 0:f.tooltip,r.userOptions.tooltip,null==(n=h.series)?void 0:n.tooltip,g.tooltip,a.tooltip),this.stickyTracking=B(a.stickyTracking,g.stickyTracking,p.stickyTracking,!!this.tooltipOptions.shared&&!this.noSharedTooltip||m.stickyTracking),null===u.marker&&delete m.marker,this.zoneAxis=m.zoneAxis||"y";let v=this.zones=(m.zones||[]).map((t=>({...t})));return(m.negativeColor||m.negativeFillColor)&&!m.zones&&(i={value:m[this.zoneAxis+"Threshold"]||m.threshold||0,className:"highcharts-negative"},l||(i.color=m.negativeColor,i.fillColor=m.negativeFillColor),v.push(i)),v.length&&w(v[v.length-1].value)&&v.push(l?{}:{color:this.color,fillColor:this.fillColor}),E(this,"afterSetOptions",{options:m}),m}getName(){return B(this.options.name,"Series "+(this.index+1))}getCyclic(t,e,n){let i,r,o=this.chart,s=`${t}Index`,a=`${t}Counter`,l=(null==n?void 0:n.length)||o.options.chart.colorCount;!e&&(w(r=B("color"===t?this.options.colorIndex:void 0,this[s]))?i=r:(o.series.length||(o[a]=0),i=o[a]%l,o[a]+=1),n&&(e=n[i])),void 0!==i&&(this[s]=i),this[t]=e}getColor(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||d.plotOptions[this.type].color,this.chart.options.colors)}getPointsCollection(){return(this.hasGroupedData?this.points:this.data)||[]}getSymbol(){let t=this.options.marker;this.getCyclic("symbol",t.symbol,this.chart.options.symbols)}findPointIndex(t,e){let n,i,r,s=t.id,a=t.x,l=this.points,c=this.options.dataSorting;if(s){let t=this.chart.get(s);t instanceof o&&(n=t)}else if(this.linkedParent||this.enabledDataSorting||this.options.relativeXValue){let e=e=>!e.touched&&e.index===t.index;if(c&&c.matchByName?e=e=>!e.touched&&e.name===t.name:this.options.relativeXValue&&(e=e=>!e.touched&&e.options.x===t.x),!(n=T(l,e)))return}return n&&void 0!==(r=n&&n.index)&&(i=!0),void 0===r&&D(a)&&(r=this.xData.indexOf(a,e)),-1!==r&&void 0!==r&&this.cropped&&(r=r>=this.cropStart?r-this.cropStart:r),!i&&D(r)&&l[r]&&l[r].touched&&(r=void 0),r}updateData(t,e){let n,i,r,o,s=this.options,a=s.dataSorting,l=this.points,c=[],u=this.requireSorting,h=t.length===l.length,d=!0;if(this.xIncrement=null,t.forEach((function(t,e){let i,r=w(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},d=r.x;r.id||D(d)?(-1===(i=this.findPointIndex(r,o))||void 0===i?c.push(t):l[i]&&t!==s.data[i]?(l[i].update(t,!1,null,!1),l[i].touched=!0,u&&(o=i+1)):l[i]&&(l[i].touched=!0),(!h||e!==i||a&&a.enabled||this.hasDerivedData)&&(n=!0)):c.push(t)}),this),n)for(i=l.length;i--;)(r=l[i])&&!r.touched&&r.remove&&r.remove(!1,e);else!h||a&&a.enabled?d=!1:(t.forEach((function(t,e){t===l[e].y||l[e].destroyed||l[e].update(t,!1,null,!1)})),c.length=0);return l.forEach((function(t){t&&(t.touched=!1)})),!!d&&(c.forEach((function(t){this.addPoint(t,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=v(this.xData),this.autoIncrement()),!0)}setData(t,e=!0,n,i){var r;let o,s,a,l,c=this,u=c.points,h=u&&u.length||0,d=c.options,p=c.chart,f=d.dataSorting,g=c.xAxis,m=d.turboThreshold,v=this.xData,y=this.yData,b=c.pointArrayMap,_=b&&b.length,x=d.keys,w=0,S=1;p.options.chart.allowMutatingData||(d.data&&delete c.options.data,c.userOptions.data&&delete c.userOptions.data,l=R(!0,t));let k=(t=l||t||[]).length;if(f&&f.enabled&&(t=this.sortData(t)),p.options.chart.allowMutatingData&&!1!==i&&k&&h&&!c.cropped&&!c.hasGroupedData&&c.visible&&!c.boosted&&(a=this.updateData(t,n)),!a){c.xIncrement=null,c.colorCounter=0,this.parallelArrays.forEach((function(t){c[t+"Data"].length=0}));let e=m&&k>m;if(e){let n=c.getFirstValidPoint(t),i=c.getFirstValidPoint(t,k-1,-1),r=t=>!(!j(t)||!x&&!D(t[0]));if(D(n)&&D(i))for(o=0;o<k;o++)v[o]=this.autoIncrement(),y[o]=t[o];else if(r(n)&&r(i))if(_)if(n.length===_)for(o=0;o<k;o++)v[o]=this.autoIncrement(),y[o]=t[o];else for(o=0;o<k;o++)s=t[o],v[o]=s[0],y[o]=s.slice(1,_+1);else if(x&&(w=x.indexOf("x"),S=x.indexOf("y"),w=w>=0?w:0,S=S>=0?S:1),1===n.length&&(S=0),w===S)for(o=0;o<k;o++)v[o]=this.autoIncrement(),y[o]=t[o][S];else for(o=0;o<k;o++)s=t[o],v[o]=s[w],y[o]=s[S];else e=!1}if(!e)for(o=0;o<k;o++)s={series:c},c.pointClass.prototype.applyOptions.apply(s,[t[o]]),c.updateParallelArrays(s,o);for(y&&$(y[0])&&A(14,!0,p),c.data=[],c.options.data=c.userOptions.data=t,o=h;o--;)null==(r=u[o])||r.destroy();g&&(g.minRange=g.userMinRange),c.isDirty=p.isDirtyBox=!0,c.isDirtyData=!!u,n=!1}"point"===d.legendType&&(this.processData(),this.generatePoints()),e&&p.redraw(n)}sortData(t){let e=this,n=e.options.dataSorting.sortKey||"y",i=function(t,e){return w(e)&&t.pointClass.prototype.optionsToObject.call({series:t},e)||{}};return t.forEach((function(n,r){t[r]=i(e,n),t[r].index=r}),this),t.concat().sort(((t,e)=>{let i=M(n,t),r=M(n,e);return r<i?-1:r>i?1:0})).forEach((function(t,e){t.x=e}),this),e.linkedSeries&&e.linkedSeries.forEach((function(e){let n=e.options,r=n.data;n.dataSorting&&n.dataSorting.enabled||!r||(r.forEach((function(n,o){r[o]=i(e,n),t[o]&&(r[o].x=t[o].x,r[o].index=o)})),e.setData(r,!1))})),t}getProcessedData(t){let e,n,i,r,o,s=this,a=s.xAxis,l=s.options.cropThreshold,c=null==a?void 0:a.logarithmic,u=s.isCartesian,h=0,d=s.xData,p=s.yData,f=!1,g=d.length;a&&(r=(i=a.getExtremes()).min,o=i.max,f=!(!a.categories||a.names.length)),u&&s.sorted&&!t&&(!l||g>l||s.forceCrop)&&(d[g-1]<r||d[0]>o?(d=[],p=[]):s.yData&&(d[0]<r||d[g-1]>o)&&(d=(e=this.cropData(s.xData,s.yData,r,o)).xData,p=e.yData,h=e.start,n=!0));let m=P([c?d.map(c.log2lin):d],(()=>s.requireSorting&&!f&&A(15,!1,s.chart)));return{xData:d,yData:p,cropped:n,cropStart:h,closestPointRange:m}}processData(t){let e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;let n=this.getProcessedData();this.cropped=n.cropped,this.cropStart=n.cropStart,this.processedXData=n.xData,this.processedYData=n.yData,this.closestPointRange=this.basePointRange=n.closestPointRange,E(this,"afterProcessData")}cropData(t,e,n,i){let r,o,s=t.length,a=0,l=s;for(r=0;r<s;r++)if(t[r]>=n){a=Math.max(0,r-1);break}for(o=r;o<s;o++)if(t[o]>i){l=o+1;break}return{xData:t.slice(a,l),yData:e.slice(a,l),start:a,end:l}}generatePoints(){let t,e,n,i,r=this.options,o=this.processedData||r.data,s=this.processedXData,a=this.processedYData,l=this.pointClass,c=s.length,u=this.cropStart||0,h=this.hasGroupedData,d=r.keys,p=[],f=r.dataGrouping&&r.dataGrouping.groupAll?u:0,g=this.data;if(!g&&!h){let t=[];t.length=o.length,g=this.data=t}for(d&&h&&(this.options.keys=!1),i=0;i<c;i++)e=u+i,h?((n=new l(this,[s[i]].concat(F(a[i])))).dataGroup=this.groupMap[f+i],n.dataGroup.options&&(n.options=n.dataGroup.options,O(n,n.dataGroup.options),delete n.dataLabels)):(n=g[e])||void 0===o[e]||(g[e]=n=new l(this,o[e],s[i])),n&&(n.index=h?f+i:e,p[i]=n);if(this.options.keys=d,g&&(c!==(t=g.length)||h))for(i=0;i<t;i++)i!==u||h||(i+=c),g[i]&&(g[i].destroyElements(),g[i].plotX=void 0);this.data=g,this.points=p,E(this,"afterGeneratePoints")}getXExtremes(t){return{min:y(t),max:v(t)}}getExtremes(t,e){let n,i,r,o,s,a,l,c=this.xAxis,u=this.yAxis,h=[],d=this.requireSorting&&!this.is("column")?1:0,p=!!u&&u.positiveValuesOnly,f=e||this.getExtremesFromAll||this.options.getExtremesFromAll,{processedXData:g,processedYData:m}=this,b=0,_=0,x=0;if(this.cropped&&f){let t=this.getProcessedData(!0);g=t.xData,m=t.yData}let w=(t=t||this.stackedYData||m||[]).length,S=g||this.xData;for(c&&(b=(n=c.getExtremes()).min,_=n.max),a=0;a<w;a++)if(o=S[a],i=(D(s=t[a])||j(s))&&((D(s)?s>0:s.length)||!p),r=e||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!c||(S[a+d]||o)>=b&&(S[a-d]||o)<=_,i&&r)if(l=s.length)for(;l--;)D(s[l])&&(h[x++]=s[l]);else h[x++]=s;let k={activeYData:h,dataMin:y(h),dataMax:v(h)};return E(this,"afterGetExtremes",{dataExtremes:k}),k}applyExtremes(){let t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t}getFirstValidPoint(t,e=0,n=1){let i=t.length,r=e;for(;r>=0&&r<i;){if(w(t[r]))return t[r];r+=n}}translate(){var t;this.processedXData||this.processData(),this.generatePoints();let e,n,i,r,o=this.options,s=o.stacking,a=this.xAxis,l=a.categories,c=this.enabledDataSorting,u=this.yAxis,h=this.points,d=h.length,p=this.pointPlacementToXValue(),f=!!p,g=o.threshold,m=o.startFromThreshold?g:0,v=Number.MAX_VALUE;function y(t){return b(t,-1e5,1e5)}for(e=0;e<d;e++){let o,d,b,x=h[e],S=x.x,k=x.y,C=x.low,A=s&&(null==(t=u.stacking)?void 0:t.stacks[(this.negStacks&&k<(m?0:g)?"-":"")+this.stackKey]);n=a.translate(S,!1,!1,!1,!0,p),x.plotX=D(n)?_(y(n)):void 0,s&&this.visible&&A&&A[S]&&(r=this.getStackIndicator(r,S,this.index),!x.isNull&&r.key&&(b=(d=A[S]).points[r.key]),d&&j(b)&&(C=b[0],k=b[1],C===m&&r.key===A[S].base&&(C=B(D(g)?g:u.min)),u.positiveValuesOnly&&w(C)&&C<=0&&(C=void 0),x.total=x.stackTotal=B(d.total),x.percentage=w(x.y)&&d.total?x.y/d.total*100:void 0,x.stackY=k,this.irregularWidths||d.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))),x.yBottom=w(C)?y(u.translate(C,!1,!0,!1,!0)):void 0,this.dataModify&&(k=this.dataModify.modifyValue(k,e)),D(k)&&void 0!==x.plotX&&(o=D(o=u.translate(k,!1,!0,!1,!0))?y(o):void 0),x.plotY=o,x.isInside=this.isPointInside(x),x.clientX=f?_(a.translate(S,!1,!1,!1,!0,p)):n,x.negative=(x.y||0)<(g||0),x.category=B(l&&l[x.x],x.x),x.isNull||!1===x.visible||(void 0!==i&&(v=Math.min(v,Math.abs(n-i))),i=n),x.zone=this.zones.length?x.getZone():void 0,!x.graphic&&this.group&&c&&(x.isNew=!0)}this.closestPointRangePx=v,E(this,"afterTranslate")}getValidPoints(t,e,n){let i=this.chart;return(t||this.points||[]).filter((function(t){let{plotX:r,plotY:o}=t;return!(!(n||!t.isNull&&D(o))||e&&!i.isInsidePlot(r,o,{inverted:i.inverted}))&&!1!==t.visible}))}getClipBox(){let{chart:t,xAxis:e,yAxis:n}=this,{x:i,y:r,width:o,height:s}=R(t.clipBox);return e&&e.len!==t.plotSizeX&&(o=e.len),n&&n.len!==t.plotSizeY&&(s=n.len),t.inverted&&!this.invertible&&([o,s]=[s,o]),{x:i,y:r,width:o,height:s}}getSharedClipKey(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0),this.sharedClipKey}setClip(){let{chart:t,group:e,markerGroup:n}=this,i=t.sharedClips,r=t.renderer,o=this.getClipBox(),s=this.getSharedClipKey(),a=i[s];a?a.animate(o):i[s]=a=r.clipRect(o),e&&e.clip(!1===this.options.clip?void 0:a),n&&n.clip()}animate(t){let{chart:e,group:n,markerGroup:i}=this,r=e.inverted,o=u(this.options.animation),s=[this.getSharedClipKey(),o.duration,o.easing,o.defer].join(","),a=e.sharedClips[s],l=e.sharedClips[s+"m"];if(t&&n){let t=this.getClipBox();if(a)a.attr("height",t.height);else{t.width=0,r&&(t.x=e.plotHeight),a=e.renderer.clipRect(t),e.sharedClips[s]=a;let n={x:-99,y:-99,width:r?e.plotWidth+199:99,height:r?99:e.plotHeight+199};l=e.renderer.clipRect(n),e.sharedClips[s+"m"]=l}n.clip(a),null==i||i.clip(l)}else if(a&&!a.hasClass("highcharts-animating")){let t=this.getClipBox(),n=o.step;(null!=i&&i.element.childNodes.length||e.series.length>1)&&(o.step=function(t,e){n&&n.apply(e,arguments),"width"===e.prop&&null!=l&&l.element&&l.attr(r?"height":"width",t+99)}),a.addClass("highcharts-animating").animate(t,o)}}afterAnimate(){this.setClip(),I(this.chart.sharedClips,((t,e,n)=>{t&&!this.chart.container.querySelector(`[clip-path="url(#${t.id})"]`)&&(t.destroy(),delete n[e])})),this.finishedAnimating=!0,E(this,"afterAnimate")}drawPoints(t=this.points){let e,n,i,r,o,s,a,l=this.chart,c=l.styledMode,{colorAxis:u,options:h}=this,d=h.marker,p=this[this.specialGroup||"markerGroup"],f=this.xAxis,g=B(d.enabled,!f||!!f.isRadial||null,this.closestPointRangePx>=d.enabledThreshold*d.radius);if(!1!==d.enabled||this._hasPointMarkers)for(e=0;e<t.length;e++)if(r=(i=(n=t[e]).graphic)?"animate":"attr",o=n.marker||{},s=!!n.marker,(g&&void 0===o.enabled||o.enabled)&&!n.isNull&&!1!==n.visible){let t=B(o.symbol,this.symbol,"rect");a=this.markerAttribs(n,n.selected&&"select"),this.enabledDataSorting&&(n.startXPos=f.reversed?-(a.width||0):f.width);let e=!1!==n.isInside;if(!i&&e&&((a.width||0)>0||n.hasImage)&&(n.graphic=i=l.renderer.symbol(t,a.x,a.y,a.width,a.height,s?o:d).add(p),this.enabledDataSorting&&l.hasRendered&&(i.attr({x:n.startXPos}),r="animate")),i&&"animate"===r&&i[e?"show":"hide"](e).animate(a),i){let t=this.pointAttribs(n,c||!n.selected?void 0:"select");c?u&&i.css({fill:t.fill}):i[r](t)}i&&i.addClass(n.getClassName(),!0)}else i&&(n.graphic=i.destroy())}markerAttribs(t,e){let n,i,r=this.options,o=r.marker,s=t.marker||{},a=s.symbol||o.symbol,l={},c=B(s.radius,o&&o.radius);e&&(n=o.states[e],c=B((i=s.states&&s.states[e])&&i.radius,n&&n.radius,c&&c+(n&&n.radiusPlus||0))),t.hasImage=a&&0===a.indexOf("url"),t.hasImage&&(c=0);let u=t.pos();return D(c)&&u&&(r.crisp&&(u[0]=x(u[0],t.hasImage?0:"rect"===a?(null==o?void 0:o.lineWidth)||0:1)),l.x=u[0]-c,l.y=u[1]-c),c&&(l.width=l.height=2*c),l}pointAttribs(t,e){let n,i,r,o,s=this.options.marker,a=t&&t.options,l=a&&a.marker||{},c=a&&a.color,u=t&&t.color,h=t&&t.zone&&t.zone.color,d=this.color,p=B(l.lineWidth,s.lineWidth),f=1;return d=c||h||u||d,r=l.fillColor||s.fillColor||d,o=l.lineColor||s.lineColor||d,e=e||"normal",n=s.states[e]||{},p=B((i=l.states&&l.states[e]||{}).lineWidth,n.lineWidth,p+B(i.lineWidthPlus,n.lineWidthPlus,0)),r=i.fillColor||n.fillColor||r,{stroke:o=i.lineColor||n.lineColor||o,"stroke-width":p,fill:r,opacity:f=B(i.opacity,n.opacity,f)}}destroy(t){let e,n,i,r=this,o=r.chart,s=/AppleWebKit\/533/.test(g.navigator.userAgent),a=r.data||[];for(E(r,"destroy",{keepEventsForUpdate:t}),this.removeEvents(t),(r.axisTypes||[]).forEach((function(t){(i=r[t])&&i.series&&(C(i.series,r),i.isDirty=i.forceRedraw=!0)})),r.legendItem&&r.chart.legend.destroyItem(r),e=a.length;e--;)(n=a[e])&&n.destroy&&n.destroy();for(let t of r.zones)S(t,void 0,!0);c.clearTimeout(r.animationTimeout),I(r,(function(t,e){t instanceof l&&!t.survive&&t[s&&"group"===e?"hide":"destroy"]()})),o.hoverSeries===r&&(o.hoverSeries=void 0),C(o.series,r),o.orderItems("series"),I(r,(function(e,n){t&&"hcEvents"===n||delete r[n]}))}applyZones(){let{area:t,chart:e,graph:n,zones:i,points:r,xAxis:o,yAxis:s,zoneAxis:a}=this,{inverted:l,renderer:c}=e,u=this[`${a}Axis`],{isXAxis:h,len:d=0}=u||{},p=((null==n?void 0:n.strokeWidth())||0)/2+1,f=(t,e=0,n=0)=>{l&&(n=d-n);let{translated:i=0,lineClip:r}=t,o=n-i;null==r||r.push(["L",e,Math.abs(o)<p?n-p*(o<=0?-1:1):i])};if(i.length&&(n||t)&&u&&D(u.min)){let e=u.getExtremes().max,p=t=>{t.forEach(((e,n)=>{("M"===e[0]||"L"===e[0])&&(t[n]=[e[0],h?d-e[1]:e[1],h?e[2]:d-e[2]])}))};if(i.forEach((t=>{t.lineClip=[],t.translated=b(u.toPixels(B(t.value,e),!0)||0,0,d)})),n&&!this.showLine&&n.hide(),t&&t.hide(),"y"===a&&r.length<o.len)for(let t of r){let{plotX:e,plotY:n,zone:r}=t,o=r&&i[i.indexOf(r)-1];r&&f(r,e,n),o&&f(o,e,n)}let g=[],m=u.toPixels(u.getExtremes().min,!0);i.forEach((e=>{var i,r;let a=e.lineClip||[],u=Math.round(e.translated||0);o.reversed&&a.reverse();let{clip:d,simpleClip:f}=e,v=0,y=0,b=o.len,_=s.len;h?(v=u,b=m):(y=u,_=m);let x=[["M",v,y],["L",b,y],["L",b,_],["L",v,_],["Z"]],w=[x[0],...a,x[1],x[2],...g,x[3],x[4]];g=a.reverse(),m=u,l&&(p(w),t&&p(x)),d?(d.animate({d:w}),null==f||f.animate({d:x})):(d=e.clip=c.path(w),t&&(f=e.simpleClip=c.path(x))),n&&(null==(i=e.graph)||i.clip(d)),t&&(null==(r=e.area)||r.clip(f))}))}else this.visible&&(n&&n.show(),t&&t.show())}plotGroup(t,e,n,i,r){let o=this[t],s=!o,a={visibility:n,zIndex:i||.1};return w(this.opacity)&&!this.chart.styledMode&&"inactive"!==this.state&&(a.opacity=this.opacity),o||(this[t]=o=this.chart.renderer.g().add(r)),o.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(w(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(o.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),o.attr(a)[s?"attr":"animate"](this.getPlotBox(e)),o}getPlotBox(t){let e=this.xAxis,n=this.yAxis,i=this.chart,r=i.inverted&&!i.polar&&e&&this.invertible&&"series"===t;return i.inverted&&(e=n,n=this.xAxis),{translateX:e?e.left:i.plotLeft,translateY:n?n.top:i.plotTop,rotation:r?90:0,rotationOriginX:r?(e.len-n.len)/2:0,rotationOriginY:r?(e.len+n.len)/2:0,scaleX:r?-1:1,scaleY:1}}removeEvents(t){let{eventsToUnbind:e}=this;t||N(this),e.length&&(e.forEach((t=>{t()})),e.length=0)}render(){var t,e,n,i,r;let o=this,{chart:s,options:a,hasRendered:l}=o,c=u(a.animation),h=o.visible?"inherit":"hidden",d=a.zIndex,p=s.seriesGroup,f=o.finishedAnimating?0:c.duration;E(this,"render"),o.plotGroup("group","series",h,d,p),o.markerGroup=o.plotGroup("markerGroup","markers",h,d,p),!1!==a.clip&&o.setClip(),f&&(null==(t=o.animate)||t.call(o,!0)),o.drawGraph&&(o.drawGraph(),o.applyZones()),o.visible&&o.drawPoints(),null==(e=o.drawDataLabels)||e.call(o),null==(n=o.redrawPoints)||n.call(o),a.enableMouseTracking&&(null==(i=o.drawTracker)||i.call(o)),f&&(null==(r=o.animate)||r.call(o)),l||(f&&c.defer&&(f+=c.defer),o.animationTimeout=z((()=>{o.afterAnimate()}),f||0)),o.isDirty=!1,o.hasRendered=!0,E(o,"afterRender")}redraw(){let t=this.isDirty||this.isDirtyData;this.translate(),this.render(),t&&delete this.kdTree}reserveSpace(){return this.visible||!this.chart.options.chart.ignoreHiddenSeries}searchPoint(t,e){let{xAxis:n,yAxis:i}=this,r=this.chart.inverted;return this.searchKDTree({clientX:r?n.len-t.chartY+n.pos:t.chartX-n.pos,plotY:r?i.len-t.chartX+i.pos:t.chartY-i.pos},e,t)}buildKDTree(t){this.buildingKdTree=!0;let e=this,n=e.options.findNearestPointBy.indexOf("y")>-1?2:1;delete e.kdTree,z((function(){e.kdTree=function t(n,i,r){let o,s,a=null==n?void 0:n.length;if(a)return o=e.kdAxisArray[i%r],n.sort(((t,e)=>(t[o]||0)-(e[o]||0))),{point:n[s=Math.floor(a/2)],left:t(n.slice(0,s),i+1,r),right:t(n.slice(s+1),i+1,r)}}(e.getValidPoints(void 0,!e.directTouch),n,n),e.buildingKdTree=!1}),e.options.kdNow||"touchstart"===(null==t?void 0:t.type)?0:1)}searchKDTree(t,e,n){let i=this,[r,o]=this.kdAxisArray,s=e?"distX":"dist",a=(i.options.findNearestPointBy||"").indexOf("y")>-1?2:1,l=!!i.isBubble;if(this.kdTree||this.buildingKdTree||this.buildKDTree(n),this.kdTree)return function t(e,n,a,c){var u;let h,d,p=n.point,f=i.kdAxisArray[a%c],g=p;!function(t,e){var n;let i=t[r],s=e[r],a=w(i)&&w(s)?i-s:null,c=t[o],u=e[o],h=w(c)&&w(u)?c-u:0,d=l&&(null==(n=e.marker)?void 0:n.radius)||0;e.dist=Math.sqrt((a&&a*a||0)+h*h)-d,e.distX=w(a)?Math.abs(a)-d:Number.MAX_VALUE}(e,p);let m=(e[f]||0)-(p[f]||0)+(l&&(null==(u=p.marker)?void 0:u.radius)||0),v=m<0?"left":"right",y=m<0?"right":"left";return n[v]&&(g=(h=t(e,n[v],a+1,c))[s]<g[s]?h:p),n[y]&&Math.sqrt(m*m)<g[s]&&(g=(d=t(e,n[y],a+1,c))[s]<g[s]?d:g),g}(t,this.kdTree,a,a)}pointPlacementToXValue(){let{options:t,xAxis:e}=this,n=t.pointPlacement;return"between"===n&&(n=e.reversed?-.5:.5),D(n)?n*(t.pointRange||e.pointRange):0}isPointInside(t){let{chart:e,xAxis:n,yAxis:i}=this,{plotX:r=-1,plotY:o=-1}=t;return o>=0&&o<=(i?i.len:e.plotHeight)&&r>=0&&r<=(n?n.len:e.plotWidth)}drawTracker(){var t;let e=this,n=e.options,i=n.trackByArea,r=[].concat((i?e.areaPath:e.graphPath)||[]),o=e.chart,s=o.pointer,a=o.renderer,l=(null==(t=o.options.tooltip)?void 0:t.snap)||0,c=()=>{n.enableMouseTracking&&o.hoverSeries!==e&&e.onMouseOver()},u="rgba(192,192,192,"+(f?1e-4:.002)+")",h=e.tracker;h?h.attr({d:r}):e.graph&&(e.tracker=h=a.path(r).attr({visibility:e.visible?"inherit":"hidden",zIndex:2}).addClass(i?"highcharts-tracker-area":"highcharts-tracker-line").add(e.group),o.styledMode||h.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:u,fill:i?u:"none","stroke-width":e.graph.strokeWidth()+(i?0:2*l)}),[e.tracker,e.markerGroup,e.dataLabelsGroup].forEach((t=>{t&&(t.addClass("highcharts-tracker").on("mouseover",c).on("mouseout",(t=>{null==s||s.onTrackerMouseOut(t)})),n.cursor&&!o.styledMode&&t.css({cursor:n.cursor}),t.on("touchstart",c))}))),E(this,"afterDrawTracker")}addPoint(t,e,n,i,r){let o,s,a=this.options,l=this.data,c=this.chart,u=this.xAxis,h=u&&u.hasNames&&u.names,d=a.data,p=this.xData;e=B(e,!0);let f={series:this};this.pointClass.prototype.applyOptions.apply(f,[t]);let g=f.x;if(s=p.length,this.requireSorting&&g<p[s-1])for(o=!0;s&&p[s-1]>g;)s--;this.updateParallelArrays(f,"splice",[s,0,0]),this.updateParallelArrays(f,s),h&&f.name&&(h[g]=f.name),d.splice(s,0,t),(o||this.processedData)&&(this.data.splice(s,0,null),this.processData()),"point"===a.legendType&&this.generatePoints(),n&&(l[0]&&l[0].remove?l[0].remove(!1):(l.shift(),this.updateParallelArrays(f,"shift"),d.shift())),!1!==r&&E(this,"addPoint",{point:f}),this.isDirty=!0,this.isDirtyData=!0,e&&c.redraw(i)}removePoint(t,e,n){let i=this,r=i.data,o=r[t],s=i.points,a=i.chart,l=function(){s&&s.length===r.length&&s.splice(t,1),r.splice(t,1),i.options.data.splice(t,1),i.updateParallelArrays(o||{series:i},"splice",[t,1]),o&&o.destroy(),i.isDirty=!0,i.isDirtyData=!0,e&&a.redraw()};h(n,a),e=B(e,!0),o?o.firePointEvent("remove",null,l):l()}remove(t,e,n,i){let r=this,o=r.chart;function s(){r.destroy(i),o.isDirtyLegend=o.isDirtyBox=!0,o.linkSeries(i),B(t,!0)&&o.redraw(e)}!1!==n?E(r,"remove",null,s):s()}update(t,e){var n,i,r;E(this,"update",{options:t=k(t,this.userOptions)});let o,s,a=this,l=a.chart,c=a.userOptions,u=a.initialType||a.type,h=l.options.plotOptions,d=m[u].prototype,p=a.finishedAnimating&&{animation:!1},f={},g=["colorIndex","eventOptions","navigatorSeries","symbolIndex","baseSeries"],v=t.type||c.type||l.options.chart.type,y=!(this.hasDerivedData||v&&v!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||void 0!==t.relativeXValue||t.joinBy||t.mapData||["dataGrouping","pointStart","pointInterval","pointIntervalUnit","keys"].some((t=>a.hasOptionChanged(t))));v=v||u,y&&(g.push("data","isDirtyData","isDirtyCanvas","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","hasDataLabels","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX","transformGroups"),!1!==t.visible&&g.push("area","graph"),a.parallelArrays.forEach((function(t){g.push(t+"Data")})),t.data&&(t.dataSorting&&O(a.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=R(c,{index:void 0===c.index?a.index:c.index,pointStart:(null==(n=null==h?void 0:h.series)?void 0:n.pointStart)??c.pointStart??(null==(i=a.xData)?void 0:i[0])},!y&&{data:a.options.data},t,p),y&&t.data&&(t.data=a.options.data),(g=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(g)).forEach((function(t){g[t]=a[t],delete a[t]}));let b=!1;if(m[v]){if(b=v!==a.type,a.remove(!1,!1,!1,!0),b)if(l.propFromSeries(),Object.setPrototypeOf)Object.setPrototypeOf(a,m[v].prototype);else{let t=Object.hasOwnProperty.call(a,"hcEvents")&&a.hcEvents;for(s in d)a[s]=void 0;O(a,m[v].prototype),t?a.hcEvents=t:delete a.hcEvents}}else A(17,!0,l,{missingModuleFor:v});if(g.forEach((function(t){a[t]=g[t]})),a.init(l,t),y&&this.points)for(let t of(!1===(o=a.options).visible?(f.graphic=1,f.dataLabel=1):(this.hasMarkerChanged(o,c)&&(f.graphic=1),null!=(r=a.hasDataLabels)&&r.call(a)||(f.dataLabel=1)),this.points))t&&t.series&&(t.resolveColor(),Object.keys(f).length&&t.destroyElements(f),!1===o.showInLegend&&t.legendItem&&l.legend.destroyItem(t));a.initialType=u,l.linkSeries(),l.setSortedData(),b&&a.linkedSeries.length&&(a.isDirtyData=!0),E(this,"afterUpdate"),B(e,!0)&&l.redraw(!!y&&void 0)}setName(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0}hasOptionChanged(t){var e,n;let i=this.chart,r=this.options[t],o=i.options.plotOptions,s=this.userOptions[t],a=B(null==(e=null==o?void 0:o[this.type])?void 0:e[t],null==(n=null==o?void 0:o.series)?void 0:n[t]);return s&&!w(a)?r!==s:r!==B(a,r)}onMouseOver(){let t=this.chart,e=t.hoverSeries,n=t.pointer;null==n||n.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&E(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this}onMouseOut(){let t=this.options,e=this.chart,n=e.tooltip,i=e.hoverPoint;e.hoverSeries=null,i&&i.onMouseOut(),this&&t.events.mouseOut&&E(this,"mouseOut"),n&&!this.stickyTracking&&(!n.shared||this.noSharedTooltip)&&n.hide(),e.series.forEach((function(t){t.setState("",!0)}))}setState(t,e){let n=this,i=n.options,r=n.graph,o=i.inactiveOtherPoints,s=i.states,a=B(s[t||"normal"]&&s[t||"normal"].animation,n.chart.options.chart.animation),l=i.lineWidth,c=i.opacity;if(t=t||"",n.state!==t&&([n.group,n.markerGroup,n.dataLabelsGroup].forEach((function(e){e&&(n.state&&e.removeClass("highcharts-series-"+n.state),t&&e.addClass("highcharts-series-"+t))})),n.state=t,!n.chart.styledMode)){if(s[t]&&!1===s[t].enabled)return;if(t&&(l=s[t].lineWidth||l+(s[t].lineWidthPlus||0),c=B(s[t].opacity,c)),r&&!r.dashstyle&&D(l))for(let t of[r,...this.zones.map((t=>t.graph))])null==t||t.animate({"stroke-width":l},a);o||[n.group,n.markerGroup,n.dataLabelsGroup,n.labelBySeries].forEach((function(t){t&&t.animate({opacity:c},a)}))}e&&o&&n.points&&n.setAllPointsToState(t||void 0)}setAllPointsToState(t){this.points.forEach((function(e){e.setState&&e.setState(t)}))}setVisible(t,e){var n;let i=this,r=i.chart,o=r.options.chart.ignoreHiddenSeries,s=i.visible;i.visible=t=i.options.visible=i.userOptions.visible=void 0===t?!s:t;let a=t?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((t=>{var e;null==(e=i[t])||e[a]()})),(r.hoverSeries===i||(null==(n=r.hoverPoint)?void 0:n.series)===i)&&i.onMouseOut(),i.legendItem&&r.legend.colorizeItem(i,t),i.isDirty=!0,i.options.stacking&&r.series.forEach((t=>{t.options.stacking&&t.visible&&(t.isDirty=!0)})),i.linkedSeries.forEach((e=>{e.setVisible(t,!1)})),o&&(r.isDirtyBox=!0),E(i,a),!1!==e&&r.redraw()}show(){this.setVisible(!0)}hide(){this.setVisible(!1)}select(t){this.selected=t=this.options.selected=void 0===t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),E(this,t?"select":"unselect")}shouldShowTooltip(t,e,n={}){return n.series=this,n.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,n)}drawLegendSymbol(t,e){var n;null==(n=r[this.options.legendSymbol||"rectangle"])||n.call(this,t,e)}}return V.defaultOptions=s,V.types=a.seriesTypes,V.registerType=a.registerSeriesType,O(V.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,directTouch:!1,invertible:!0,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:o,requireSorting:!0,sorted:!0}),a.series=V,V})),n(e,"Core/Legend/Legend.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/Point.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],(function(t,e,n,i,r,o,s,a){var l;let{animObject:c,setAnimation:u}=t,{registerEventOptions:h}=e,{composed:d,marginNames:p}=n,{distribute:f}=o,{format:g}=s,{addEvent:m,createElement:v,css:y,defined:b,discardElement:_,find:x,fireEvent:w,isNumber:S,merge:k,pick:C,pushUnique:A,relativeLength:O,stableSort:T,syncTimeout:E}=a;class P{constructor(t,e){this.allItems=[],this.initialItemY=0,this.itemHeight=0,this.itemMarginBottom=0,this.itemMarginTop=0,this.itemX=0,this.itemY=0,this.lastItemY=0,this.lastLineHeight=0,this.legendHeight=0,this.legendWidth=0,this.maxItemWidth=0,this.maxLegendWidth=0,this.offsetWidth=0,this.padding=0,this.pages=[],this.symbolHeight=0,this.symbolWidth=0,this.titleHeight=0,this.totalItemWidth=0,this.widthOption=0,this.chart=t,this.setOptions(e),e.enabled&&(this.render(),h(this,e),m(this.chart,"endResize",(function(){this.legend.positionCheckboxes()}))),m(this.chart,"render",(()=>{this.options.enabled&&this.proximate&&(this.proximatePositions(),this.positionItems())}))}setOptions(t){let e=C(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=k(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop,this.itemMarginBottom=t.itemMarginBottom,this.padding=e,this.initialItemY=e-5,this.symbolWidth=C(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0}update(t,e){let n=this.chart;this.setOptions(k(!0,this.options,t)),"events"in this.options&&h(this,this.options),this.destroy(),n.isDirtyLegend=n.isDirtyBox=!0,C(e,!0)&&n.redraw(),w(this,"afterUpdate",{redraw:e})}colorizeItem(t,e){let{area:n,group:i,label:r,line:o,symbol:s}=t.legendItem||{};if(null==i||i[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){let{itemHiddenStyle:i={}}=this,a=i.color,{fillColor:l,fillOpacity:c,lineColor:u,marker:h}=t.options,d=t=>(!e&&(t.fill&&(t.fill=a),t.stroke&&(t.stroke=a)),t);null==r||r.css(k(e?this.itemStyle:i)),null==o||o.attr(d({stroke:u||t.color})),s&&s.attr(d(h&&s.isMarker?t.pointAttribs():{fill:t.color})),null==n||n.attr(d({fill:l||t.color,"fill-opacity":l?1:c??.75}))}w(this,"afterColorizeItem",{item:t,visible:e})}positionItems(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()}positionItem(t){let{group:e,x:n=0,y:i=0}=t.legendItem||{},r=this.options,o=r.symbolPadding,s=!r.rtl,a=t.checkbox;if(e&&e.element){let r={translateX:s?n:this.legendWidth-n-2*o-4,translateY:i};e[b(e.translateY)?"animate":"attr"](r,void 0,(()=>{w(this,"afterPositionItem",{item:t})}))}a&&(a.x=n,a.y=i)}destroyItem(t){let e=t.checkbox,n=t.legendItem||{};for(let t of["group","label","line","symbol"])n[t]&&(n[t]=n[t].destroy());e&&_(e),t.legendItem=void 0}destroy(){for(let t of this.getAllItems())this.destroyItem(t);for(let t of["clipRect","up","down","pager","nav","box","title","group"])this[t]&&(this[t]=this[t].destroy());this.display=null}positionCheckboxes(){let t,e=this.group&&this.group.alignAttr,n=this.clipHeight||this.legendHeight,i=this.titleHeight;e&&(t=e.translateY,this.allItems.forEach((function(r){let o,s=r.checkbox;s&&(o=t+i+s.y+(this.scrollOffset||0)+3,y(s,{left:e.translateX+r.checkboxOffset+s.x-20+"px",top:o+"px",display:this.proximate||o>t-6&&o<t+n-6?"":"none"}))}),this))}renderTitle(){let t,e=this.options,n=this.padding,i=e.title,r=0;i.text&&(this.title||(this.title=this.chart.renderer.label(i.text,n-3,n-4,void 0,void 0,void 0,e.useHTML,void 0,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(i.style),this.title.add(this.group)),i.width||this.title.css({width:this.maxLegendWidth+"px"}),r=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:r})),this.titleHeight=r}setText(t){let e=this.options;t.legendItem.label.attr({text:e.labelFormat?g(e.labelFormat,t,this.chart):e.labelFormatter.call(t)})}renderItem(t){let e=t.legendItem=t.legendItem||{},n=this.chart,i=n.renderer,r=this.options,o="horizontal"===r.layout,s=this.symbolWidth,a=r.symbolPadding||0,l=this.itemStyle,c=this.itemHiddenStyle,u=o?C(r.itemDistance,20):0,h=!r.rtl,d=!t.series,p=!d&&t.series.drawLegendSymbol?t.series:t,f=p.options,g=!!this.createCheckboxForItem&&f&&f.showCheckbox,m=r.useHTML,v=t.options.className,y=e.label,b=s+a+u+(g?20:0);!y&&(e.group=i.g("legend-item").addClass("highcharts-"+p.type+"-series highcharts-color-"+t.colorIndex+(v?" "+v:"")+(d?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),e.label=y=i.text("",h?s+a:-a,this.baseline||0,m),n.styledMode||y.css(k(t.visible?l:c)),y.attr({align:h?"left":"right",zIndex:2}).add(e.group),!this.baseline&&(this.fontMetrics=i.fontMetrics(y),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,y.attr("y",this.baseline),this.symbolHeight=C(r.symbolHeight,this.fontMetrics.f),r.squareSymbol&&(this.symbolWidth=C(r.symbolWidth,Math.max(this.symbolHeight,16)),b=this.symbolWidth+a+u+(g?20:0),h&&y.attr("x",this.symbolWidth+a))),p.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,y,m)),g&&!t.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t),this.colorizeItem(t,t.visible),(n.styledMode||!l.width)&&y.css({width:(r.itemWidth||this.widthOption||n.spacingBox.width)-b+"px"}),this.setText(t);let _=y.getBBox(),x=this.fontMetrics&&this.fontMetrics.h||0;t.itemWidth=t.checkboxOffset=r.itemWidth||e.labelWidth||_.width+b,this.maxItemWidth=Math.max(this.maxItemWidth,t.itemWidth),this.totalItemWidth+=t.itemWidth,this.itemHeight=t.itemHeight=Math.round(e.labelHeight||(_.height>1.5*x?_.height:x))}layoutItem(t){let e=this.options,n=this.padding,i="horizontal"===e.layout,r=t.itemHeight,o=this.itemMarginBottom,s=this.itemMarginTop,a=i?C(e.itemDistance,20):0,l=this.maxLegendWidth,c=e.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:t.itemWidth,u=t.legendItem||{};i&&this.itemX-n+c>l&&(this.itemX=n,this.lastLineHeight&&(this.itemY+=s+this.lastLineHeight+o),this.lastLineHeight=0),this.lastItemY=s+this.itemY+o,this.lastLineHeight=Math.max(r,this.lastLineHeight),u.x=this.itemX,u.y=this.itemY,i?this.itemX+=c:(this.itemY+=s+r+o,this.lastLineHeight=r),this.offsetWidth=this.widthOption||Math.max((i?this.itemX-n-(t.checkbox?0:a):c)+n,this.offsetWidth)}getAllItems(){let t=[];return this.chart.series.forEach((function(e){let n=e&&e.options;e&&C(n.showInLegend,!b(n.linkedTo)&&void 0,!0)&&(t=t.concat((e.legendItem||{}).labels||("point"===n.legendType?e.data:e)))})),w(this,"afterGetAllItems",{allItems:t}),t}getAlignment(){let t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)}adjustMargins(t,e){let n=this.chart,i=this.options,r=this.getAlignment();r&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(o,s){o.test(r)&&!b(t[s])&&(n[p[s]]=Math.max(n[p[s]],n.legend[(s+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][s]*i[s%2?"x":"y"]+C(i.margin,12)+e[s]+(n.titleOffset[s]||0)))}))}proximatePositions(){let t,e=this.chart,n=[],i="left"===this.options.align;for(let r of(this.allItems.forEach((function(t){let r,o,s,a,l=i;t.yAxis&&(t.xAxis.options.reversed&&(l=!l),t.points&&(r=x(l?t.points:t.points.slice(0).reverse(),(function(t){return S(t.plotY)}))),o=this.itemMarginTop+t.legendItem.label.getBBox().height+this.itemMarginBottom,a=t.yAxis.top-e.plotTop,s=t.visible?(r?r.plotY:t.yAxis.height)+(a-.3*o):a+t.yAxis.height,n.push({target:s,size:o,item:t}))}),this),f(n,e.plotHeight)))t=r.item.legendItem||{},S(r.pos)&&(t.y=e.plotTop-e.spacing[0]+r.pos)}render(){let t,e,n,i,r=this.chart,o=r.renderer,s=this.options,a=this.padding,l=this.getAllItems(),c=this.group,u=this.box;this.itemX=a,this.itemY=this.initialItemY,this.offsetWidth=0,this.lastItemY=0,this.widthOption=O(s.width,r.spacingBox.width-a),i=r.spacingBox.width-2*a-s.x,["rm","lm"].indexOf(this.getAlignment().substring(0,2))>-1&&(i/=2),this.maxLegendWidth=this.widthOption||i,c||(this.group=c=o.g("legend").addClass(s.className||"").attr({zIndex:7}).add(),this.contentGroup=o.g().attr({zIndex:1}).add(c),this.scrollGroup=o.g().add(this.contentGroup)),this.renderTitle(),T(l,((t,e)=>(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0))),s.reversed&&l.reverse(),this.allItems=l,this.display=t=!!l.length,this.lastLineHeight=0,this.maxItemWidth=0,this.totalItemWidth=0,this.itemHeight=0,l.forEach(this.renderItem,this),l.forEach(this.layoutItem,this),e=(this.widthOption||this.offsetWidth)+a,n=this.lastItemY+this.lastLineHeight+this.titleHeight,n=this.handleOverflow(n)+a,u||(this.box=u=o.rect().addClass("highcharts-legend-box").attr({r:s.borderRadius}).add(c)),r.styledMode||u.attr({stroke:s.borderColor,"stroke-width":s.borderWidth||0,fill:s.backgroundColor||"none"}).shadow(s.shadow),e>0&&n>0&&u[u.placed?"animate":"attr"](u.crisp.call({},{x:0,y:0,width:e,height:n},u.strokeWidth())),c[t?"show":"hide"](),r.styledMode&&"none"===c.getStyle("display")&&(e=n=0),this.legendWidth=e,this.legendHeight=n,t&&this.align(),this.proximate||this.positionItems(),w(this,"afterRender")}align(t=this.chart.spacingBox){let e=this.chart,n=this.options,i=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&e.titleOffset[0]>0?i+=e.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&e.titleOffset[2]>0&&(i-=e.titleOffset[2]),i!==t.y&&(t=k(t,{y:i})),e.hasRendered||(this.group.placed=!1),this.group.align(k(n,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":n.verticalAlign}),!0,t)}handleOverflow(t){let e,n,i,r=this,o=this.chart,s=o.renderer,a=this.options,l=a.y,c="top"===a.verticalAlign,u=this.padding,h=a.maxHeight,d=a.navigation,p=C(d.animation,!0),f=d.arrowSize||12,g=this.pages,m=this.allItems,v=function(t){"number"==typeof t?x.attr({height:t}):x&&(r.clipRect=x.destroy(),r.contentGroup.clip()),r.contentGroup.div&&(r.contentGroup.div.style.clip=t?"rect("+u+"px,9999px,"+(u+t)+"px,0)":"auto")},y=function(t){return r[t]=s.circle(0,0,1.3*f).translate(f/2,f/2).add(_),o.styledMode||r[t].attr("fill","rgba(0,0,0,0.0001)"),r[t]},b=o.spacingBox.height+(c?-l:l)-u,_=this.nav,x=this.clipRect;return"horizontal"!==a.layout||"middle"===a.verticalAlign||a.floating||(b/=2),h&&(b=Math.min(b,h)),g.length=0,t&&b>0&&t>b&&!1!==d.enabled?(this.clipHeight=e=Math.max(b-20-this.titleHeight-u,0),this.currentPage=C(this.currentPage,1),this.fullHeight=t,m.forEach(((t,r)=>{let o=(i=t.legendItem||{}).y||0,s=Math.round(i.label.getBBox().height),a=g.length;(!a||o-g[a-1]>e&&(n||o)!==g[a-1])&&(g.push(n||o),a++),i.pageIx=a-1,n&&((m[r-1].legendItem||{}).pageIx=a-1),r===m.length-1&&o+s-g[a-1]>e&&o>g[a-1]&&(g.push(o),i.pageIx=a),o!==n&&(n=o)})),x||(x=r.clipRect=s.clipRect(0,u-2,9999,0),r.contentGroup.clip(x)),v(e),_||(this.nav=_=s.g().attr({zIndex:1}).add(this.group),this.up=s.symbol("triangle",0,0,f,f).add(_),y("upTracker").on("click",(function(){r.scroll(-1,p)})),this.pager=s.text("",15,10).addClass("highcharts-legend-navigation"),!o.styledMode&&d.style&&this.pager.css(d.style),this.pager.add(_),this.down=s.symbol("triangle-down",0,0,f,f).add(_),y("downTracker").on("click",(function(){r.scroll(1,p)}))),r.scroll(0),t=b):_&&(v(),this.nav=_.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t}scroll(t,e){let n=this.chart,i=this.pages,r=i.length,o=this.clipHeight,s=this.options.navigation,a=this.pager,l=this.padding,h=this.currentPage+t;h>r&&(h=r),h>0&&(void 0!==e&&u(e,n),this.nav.attr({translateX:l,translateY:o+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach((function(t){t.attr({class:1===h?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),a.attr({text:h+"/"+r}),[this.down,this.downTracker].forEach((function(t){t.attr({x:18+this.pager.getBBox().width,class:h===r?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),n.styledMode||(this.up.attr({fill:1===h?s.inactiveColor:s.activeColor}),this.upTracker.css({cursor:1===h?"default":"pointer"}),this.down.attr({fill:h===r?s.inactiveColor:s.activeColor}),this.downTracker.css({cursor:h===r?"default":"pointer"})),this.scrollOffset=-i[h-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=h,this.positionCheckboxes(),E((()=>{w(this,"afterScroll",{currentPage:h})}),c(C(e,n.renderer.globalAnimation,!0)).duration))}setItemEvents(t,e,n){let o=this,s=t.legendItem||{},a=o.chart.renderer.boxWrapper,l=t instanceof r,c=t instanceof i,u="highcharts-legend-"+(l?"point":"series")+"-active",h=o.chart.styledMode,d=n?[e,s.symbol]:[s.group],p=e=>{o.allItems.forEach((n=>{t!==n&&[n].concat(n.linkedSeries||[]).forEach((t=>{t.setState(e,!l)}))}))};for(let n of d)n&&n.on("mouseover",(function(){t.visible&&p("inactive"),t.setState("hover"),t.visible&&a.addClass(u),h||e.css(o.options.itemHoverStyle)})).on("mouseout",(function(){o.chart.styledMode||e.css(k(t.visible?o.itemStyle:o.itemHiddenStyle)),p(""),a.removeClass(u),t.setState()})).on("click",(function(e){a.removeClass(u),w(o,"itemClick",{browserEvent:e,legendItem:t},(function(){t.setVisible&&t.setVisible(),p(t.visible?"inactive":"")})),l?t.firePointEvent("legendItemClick",{browserEvent:e}):c&&w(t,"legendItemClick",{browserEvent:e})}))}createCheckboxForItem(t){t.checkbox=v("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),m(t.checkbox,"click",(function(e){let n=e.target;w(t.series||t,"checkboxClick",{checked:n.checked,item:t},(function(){t.select()}))}))}}return(l=P||(P={})).compose=function(t){A(d,"Core.Legend")&&m(t,"beforeMargins",(function(){this.legend=new l(this,this.options.legend)}))},P})),n(e,"Core/Chart/Chart.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Defaults.js"],e["Core/Templating.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Time.js"],e["Core/Utilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Axis/Tick.js"]],(function(t,e,n,i,r,o,s,a,l,c,u,h,d,p){let{animate:f,animObject:g,setAnimation:m}=t,{defaultOptions:v,defaultTime:y}=n,{numberFormat:b}=i,{registerEventOptions:_}=r,{charts:x,doc:w,marginNames:S,svg:k,win:C}=o,{seriesTypes:A}=l,{addEvent:O,attr:T,createElement:E,css:P,defined:M,diffObjects:L,discardElement:j,erase:D,error:$,extend:R,find:I,fireEvent:B,getStyle:N,isArray:F,isNumber:z,isObject:V,isString:W,merge:U,objectEach:H,pick:q,pInt:G,relativeLength:X,removeEvent:Y,splat:K,syncTimeout:Z,uniqueKey:J}=h;class Q{static chart(t,e,n){return new Q(t,e,n)}constructor(t,e,n){this.sharedClips={};let i=[...arguments];(W(t)||t.nodeName)&&(this.renderTo=i.shift()),this.init(i[0],i[1])}setZoomOptions(){let t=this.options.chart,e=t.zooming;this.zooming={...e,type:q(t.zoomType,e.type),key:q(t.zoomKey,e.key),pinchType:q(t.pinchType,e.pinchType),singleTouch:q(t.zoomBySingleTouch,e.singleTouch,!1),resetButton:U(e.resetButton,t.resetZoomButton)}}init(t,e){B(this,"init",{args:arguments},(function(){let n=U(v,t),i=n.chart;this.userOptions=R({},t),this.margin=[],this.spacing=[],this.labelCollectors=[],this.callback=e,this.isResizing=0,this.options=n,this.axes=[],this.series=[],this.time=t.time&&Object.keys(t.time).length?new u(t.time):o.time,this.numberFormatter=i.numberFormatter||b,this.styledMode=i.styledMode,this.hasCartesianSeries=i.showAxes,this.index=x.length,x.push(this),o.chartCount++,_(this,i),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,this.setZoomOptions(),B(this,"afterInit"),this.firstRender()}))}initSeries(t){let e=this.options.chart,n=t.type||e.type,i=A[n];i||$(17,!0,this,{missingModuleFor:n});let r=new i;return"function"==typeof r.init&&r.init(this,t),r}setSortedData(){this.getSeriesOrderByLinks().forEach((function(t){t.points||t.data||!t.enabledDataSorting||t.setData(t.options.data,!1)}))}getSeriesOrderByLinks(){return this.series.concat().sort((function(t,e){return t.linkedSeries.length||e.linkedSeries.length?e.linkedSeries.length-t.linkedSeries.length:0}))}orderItems(t,e=0){let n=this[t],i=this.options[t]=K(this.options[t]).slice(),r=this.userOptions[t]=this.userOptions[t]?K(this.userOptions[t]).slice():[];if(this.hasRendered&&(i.splice(e),r.splice(e)),n)for(let t=e,o=n.length;t<o;++t){let e=n[t];e&&(e.index=t,e instanceof a&&(e.name=e.getName()),e.options.isInternal||(i[t]=e.options,r[t]=e.userOptions))}}isInsidePlot(t,e,n={}){var i;let{inverted:r,plotBox:o,plotLeft:s,plotTop:a,scrollablePlotBox:l}=this,{scrollLeft:c=0,scrollTop:u=0}=n.visiblePlotOnly&&(null==(i=this.scrollablePlotArea)?void 0:i.scrollingContainer)||{},h=n.series,d=n.visiblePlotOnly&&l||o,p=n.inverted?e:t,f=n.inverted?t:e,g={x:p,y:f,isInsidePlot:!0,options:n};if(!n.ignoreX){let t=h&&(r&&!this.polar?h.yAxis:h.xAxis)||{pos:s,len:1/0},e=n.paneCoordinates?t.pos+p:s+p;e>=Math.max(c+s,t.pos)&&e<=Math.min(c+s+d.width,t.pos+t.len)||(g.isInsidePlot=!1)}if(!n.ignoreY&&g.isInsidePlot){let t=!r&&n.axis&&!n.axis.isXAxis&&n.axis||h&&(r?h.xAxis:h.yAxis)||{pos:a,len:1/0},e=n.paneCoordinates?t.pos+f:a+f;e>=Math.max(u+a,t.pos)&&e<=Math.min(u+a+d.height,t.pos+t.len)||(g.isInsidePlot=!1)}return B(this,"afterIsInsidePlot",g),g.isInsidePlot}redraw(t){B(this,"beforeRedraw");let e,n,i,r,o=this.hasCartesianSeries?this.axes:this.colorAxis||[],s=this.series,a=this.pointer,l=this.legend,c=this.userOptions.legend,u=this.renderer,h=u.isHidden(),d=[],p=this.isDirtyBox,f=this.isDirtyLegend;for(u.rootFontSize=u.boxWrapper.getStyle("font-size"),this.setResponsive&&this.setResponsive(!1),m(!!this.hasRendered&&t,this),h&&this.temporaryDisplay(),this.layOutTitles(!1),i=s.length;i--;)if(((r=s[i]).options.stacking||r.options.centerInCategory)&&(n=!0,r.isDirty)){e=!0;break}if(e)for(i=s.length;i--;)(r=s[i]).options.stacking&&(r.isDirty=!0);s.forEach((function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),f=!0):c&&(c.labelFormatter||c.labelFormat)&&(f=!0)),t.isDirtyData&&B(t,"updatedData")})),f&&l&&l.options.enabled&&(l.render(),this.isDirtyLegend=!1),n&&this.getStacks(),o.forEach((function(t){t.updateNames(),t.setScale()})),this.getMargins(),o.forEach((function(t){t.isDirty&&(p=!0)})),o.forEach((function(t){let e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,d.push((function(){B(t,"afterSetExtremes",R(t.eventArgs,t.getExtremes())),delete t.eventArgs}))),(p||n)&&t.redraw()})),p&&this.drawChartBox(),B(this,"predraw"),s.forEach((function(t){(p||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1})),a&&a.reset(!0),u.draw(),B(this,"redraw"),B(this,"render"),h&&this.temporaryDisplay(!0),d.forEach((function(t){t.call()}))}get(t){let e=this.series;function n(e){return e.id===t||e.options&&e.options.id===t}let i=I(this.axes,n)||I(this.series,n);for(let t=0;!i&&t<e.length;t++)i=I(e[t].points||[],n);return i}getAxes(){let t=this.userOptions;for(let n of(B(this,"getAxes"),["xAxis","yAxis"]))for(let i of t[n]=K(t[n]||{}))new e(this,i,n);B(this,"afterGetAxes")}getSelectedPoints(){return this.series.reduce(((t,e)=>(e.getPointsCollection().forEach((e=>{q(e.selectedStaging,e.selected)&&t.push(e)})),t)),[])}getSelectedSeries(){return this.series.filter((function(t){return t.selected}))}setTitle(t,e,n){this.applyDescription("title",t),this.applyDescription("subtitle",e),this.applyDescription("caption",void 0),this.layOutTitles(n)}applyDescription(t,e){let n=this,i=this.options[t]=U(this.options[t],e),r=this[t];r&&e&&(this[t]=r=r.destroy()),i&&!r&&((r=this.renderer.text(i.text,0,0,i.useHTML).attr({align:i.align,class:"highcharts-"+t,zIndex:i.zIndex||4}).add()).update=function(e,i){n.applyDescription(t,e),n.layOutTitles(i)},this.styledMode||r.css(R("title"===t?{fontSize:this.options.isStock?"1em":"1.2em"}:{},i.style)),this[t]=r)}layOutTitles(t=!0){let e=[0,0,0],n=this.renderer,i=this.spacingBox;["title","subtitle","caption"].forEach((function(t){let r=this[t],o=this.options[t],s=o.verticalAlign||"top",a="title"===t?"top"===s?-3:0:"top"===s?e[0]+2:0;if(r){r.css({width:(o.width||i.width+(o.widthAdjust||0))+"px"});let t=n.fontMetrics(r).b,l=Math.round(r.getBBox(o.useHTML).height);r.align(R({y:"bottom"===s?t:a+t,height:l},o),!1,"spacingBox"),o.floating||("top"===s?e[0]=Math.ceil(e[0]+l):"bottom"===s&&(e[2]=Math.ceil(e[2]+l)))}}),this),e[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e[0]+=this.options.title.margin),e[2]&&"bottom"===this.options.caption.verticalAlign&&(e[2]+=this.options.caption.margin);let r=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,B(this,"afterLayOutTitles"),!this.isDirtyBox&&r&&(this.isDirtyBox=this.isDirtyLegend=r,this.hasRendered&&t&&this.isDirtyBox&&this.redraw())}getContainerBox(){return{width:N(this.renderTo,"width",!0)||0,height:N(this.renderTo,"height",!0)||0}}getChartSize(){let t=this.options.chart,e=t.width,n=t.height,i=this.getContainerBox();this.chartWidth=Math.max(0,e||i.width||600),this.chartHeight=Math.max(0,X(n,this.chartWidth)||(i.height>1?i.height:400)),this.containerBox=i}temporaryDisplay(t){let e,n=this.renderTo;if(t)for(;n&&n.style;)n.hcOrigStyle&&(P(n,n.hcOrigStyle),delete n.hcOrigStyle),n.hcOrigDetached&&(w.body.removeChild(n),n.hcOrigDetached=!1),n=n.parentNode;else for(;n&&n.style&&(w.body.contains(n)||n.parentNode||(n.hcOrigDetached=!0,w.body.appendChild(n)),("none"===N(n,"display",!1)||n.hcOricDetached)&&(n.hcOrigStyle={display:n.style.display,height:n.style.height,overflow:n.style.overflow},e={display:"block",overflow:"hidden"},n!==this.renderTo&&(e.height=0),P(n,e),n.offsetWidth||n.style.setProperty("display","block","important")),(n=n.parentNode)!==w.body););}setClassName(t){this.container.className="highcharts-container "+(t||"")}getContainer(){var t;let e,n=this.options,i=n.chart,r="data-highcharts-chart",a=J(),l=this.renderTo;l||(this.renderTo=l=i.renderTo),W(l)&&(this.renderTo=l=w.getElementById(l)),l||$(13,!0,this);let u=G(T(l,r));z(u)&&x[u]&&x[u].hasRendered&&x[u].destroy(),T(l,r,this.index),l.innerHTML=d.emptyHTML,i.skipClone||l.offsetWidth||this.temporaryDisplay(),this.getChartSize();let h=this.chartHeight,p=this.chartWidth;P(l,{overflow:"hidden",pointerEvents:o.isChrome?"fill":"auto"}),this.styledMode||(e=R({position:"relative",overflow:"hidden",width:p+"px",height:h+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},i.style||{}));let f=E("div",{id:a},e,l);this.container=f,this.getChartSize(),p===this.chartWidth||(p=this.chartWidth,this.styledMode||P(f,{width:q(null==(t=i.style)?void 0:t.width,p+"px")})),this.containerBox=this.getContainerBox(),this._cursor=f.style.cursor;let g=i.renderer||!k?s.getRendererType(i.renderer):c;if(this.renderer=new g(f,p,h,void 0,i.forExport,n.exporting&&n.exporting.allowHTML,this.styledMode),m(void 0,this),this.setClassName(i.className),this.styledMode)for(let t in n.defs)this.renderer.definition(n.defs[t]);else this.renderer.setStyle(i.style);this.renderer.chartIndex=this.index,B(this,"afterGetContainer")}getMargins(t){let{spacing:e,margin:n,titleOffset:i}=this;this.resetMargins(),i[0]&&!M(n[0])&&(this.plotTop=Math.max(this.plotTop,i[0]+e[0])),i[2]&&!M(n[2])&&(this.marginBottom=Math.max(this.marginBottom,i[2]+e[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(n,e),B(this,"getMargins"),t||this.getAxisMargins()}getAxisMargins(){let t=this,e=t.axisOffset=[0,0,0,0],n=t.colorAxis,i=t.margin,r=function(t){t.forEach((function(t){t.visible&&t.getOffset()}))};t.hasCartesianSeries?r(t.axes):n&&n.length&&r(n),S.forEach((function(n,r){M(i[r])||(t[n]+=e[r])})),t.setChartSize()}getOptions(){return L(this.userOptions,v)}reflow(t){var e;let n=this,i=n.containerBox,r=n.getContainerBox();null==(e=n.pointer)||delete e.chartPosition,!n.isPrinting&&!n.isResizing&&i&&r.width&&((r.width!==i.width||r.height!==i.height)&&(h.clearTimeout(n.reflowTimeout),n.reflowTimeout=Z((function(){n.container&&n.setSize(void 0,void 0,!1)}),t?100:0)),n.containerBox=r)}setReflow(){let t=this,e=e=>{var n;null!=(n=t.options)&&n.chart.reflow&&t.hasLoaded&&t.reflow(e)};if("function"==typeof ResizeObserver)new ResizeObserver(e).observe(t.renderTo);else{let t=O(C,"resize",e);O(this,"destroy",t)}}setSize(t,e,n){let i=this,r=i.renderer;i.isResizing+=1,m(n,i);let o=r.globalAnimation;i.oldChartHeight=i.chartHeight,i.oldChartWidth=i.chartWidth,void 0!==t&&(i.options.chart.width=t),void 0!==e&&(i.options.chart.height=e),i.getChartSize();let{chartWidth:s,chartHeight:a,scrollablePixelsX:l=0,scrollablePixelsY:c=0}=i;(i.isDirtyBox||s!==i.oldChartWidth||a!==i.oldChartHeight)&&(i.styledMode||(o?f:P)(i.container,{width:`${s+l}px`,height:`${a+c}px`},o),i.setChartSize(!0),r.setSize(s,a,o),i.axes.forEach((function(t){t.isDirty=!0,t.setScale()})),i.isDirtyLegend=!0,i.isDirtyBox=!0,i.layOutTitles(),i.getMargins(),i.redraw(o),i.oldChartHeight=void 0,B(i,"resize"),setTimeout((()=>{i&&B(i,"endResize")}),g(o).duration)),i.isResizing-=1}setChartSize(t){let e,n,i,r,{chartHeight:o,chartWidth:s,inverted:a,spacing:l,renderer:c}=this,u=this.clipOffset,h=Math[a?"floor":"round"];this.plotLeft=e=Math.round(this.plotLeft),this.plotTop=n=Math.round(this.plotTop),this.plotWidth=i=Math.max(0,Math.round(s-e-this.marginRight)),this.plotHeight=r=Math.max(0,Math.round(o-n-this.marginBottom)),this.plotSizeX=a?r:i,this.plotSizeY=a?i:r,this.spacingBox=c.spacingBox={x:l[3],y:l[0],width:s-l[3]-l[1],height:o-l[0]-l[2]},this.plotBox=c.plotBox={x:e,y:n,width:i,height:r},u&&(this.clipBox={x:h(u[3]),y:h(u[0]),width:h(this.plotSizeX-u[1]-u[3]),height:h(this.plotSizeY-u[0]-u[2])}),t||(this.axes.forEach((function(t){t.setAxisSize(),t.setAxisTranslation()})),c.alignElements()),B(this,"afterSetChartSize",{skipAxes:t})}resetMargins(){B(this,"resetMargins");let t=this,e=t.options.chart,n=e.plotBorderWidth||0,i=n/2;["margin","spacing"].forEach((function(n){let i=e[n],r=V(i)?i:[i,i,i,i];["Top","Right","Bottom","Left"].forEach((function(i,o){t[n][o]=q(e[n+i],r[o])}))})),S.forEach((function(e,n){t[e]=q(t.margin[n],t.spacing[n])})),t.axisOffset=[0,0,0,0],t.clipOffset=[i,i,i,i],t.plotBorderWidth=n}drawChartBox(){let t,e,n,i=this.options.chart,r=this.renderer,o=this.chartWidth,s=this.chartHeight,a=this.styledMode,l=this.plotBGImage,c=i.backgroundColor,u=i.plotBackgroundColor,h=i.plotBackgroundImage,d=this.plotLeft,p=this.plotTop,f=this.plotWidth,g=this.plotHeight,m=this.plotBox,v=this.clipRect,y=this.clipBox,b=this.chartBackground,_=this.plotBackground,x=this.plotBorder,w="animate";b||(this.chartBackground=b=r.rect().addClass("highcharts-background").add(),w="attr"),a?t=e=b.strokeWidth():(e=(t=i.borderWidth||0)+(i.shadow?8:0),n={fill:c||"none"},(t||b["stroke-width"])&&(n.stroke=i.borderColor,n["stroke-width"]=t),b.attr(n).shadow(i.shadow)),b[w]({x:e/2,y:e/2,width:o-e-t%2,height:s-e-t%2,r:i.borderRadius}),w="animate",_||(w="attr",this.plotBackground=_=r.rect().addClass("highcharts-plot-background").add()),_[w](m),!a&&(_.attr({fill:u||"none"}).shadow(i.plotShadow),h&&(l?(h!==l.attr("href")&&l.attr("href",h),l.animate(m)):this.plotBGImage=r.image(h,d,p,f,g).add())),v?v.animate({width:y.width,height:y.height}):this.clipRect=r.clipRect(y),w="animate",x||(w="attr",this.plotBorder=x=r.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),a||x.attr({stroke:i.plotBorderColor,"stroke-width":i.plotBorderWidth||0,fill:"none"}),x[w](x.crisp({x:d,y:p,width:f,height:g},-x.strokeWidth())),this.isDirtyBox=!1,B(this,"afterDrawChartBox")}propFromSeries(){let t,e,n,i=this,r=i.options.chart,o=i.options.series;["inverted","angular","polar"].forEach((function(s){for(e=A[r.type],n=r[s]||e&&e.prototype[s],t=o&&o.length;!n&&t--;)(e=A[o[t].type])&&e.prototype[s]&&(n=!0);i[s]=n}))}linkSeries(t){let e=this,n=e.series;n.forEach((function(t){t.linkedSeries.length=0})),n.forEach((function(t){let{linkedTo:n}=t.options;if(W(n)){let i;(i=":previous"===n?e.series[t.index-1]:e.get(n))&&i.linkedParent!==t&&(i.linkedSeries.push(t),t.linkedParent=i,i.enabledDataSorting&&t.setDataSortingOptions(),t.visible=q(t.options.visible,i.options.visible,t.visible))}})),B(this,"afterLinkSeries",{isUpdating:t})}renderSeries(){this.series.forEach((function(t){t.translate(),t.render()}))}render(){var t;let e,n=this.axes,i=this.colorAxis,r=this.renderer,o=this.options.chart.axisLayoutRuns||2,s=t=>{t.forEach((t=>{t.visible&&t.render()}))},a=0,l=!0,c=0;for(let e of(this.setTitle(),B(this,"beforeMargins"),null==(t=this.getStacks)||t.call(this),this.getMargins(!0),this.setChartSize(),n)){let{options:t}=e,{labels:n}=t;if(this.hasCartesianSeries&&e.horiz&&e.visible&&n.enabled&&e.series.length&&"colorAxis"!==e.coll&&!this.polar){a=t.tickLength,e.createGroups();let i=new p(e,0,"",!0),r=i.createLabel("x",n);if(i.destroy(),r&&q(n.reserveSpace,!z(t.crossing))&&(a=r.getBBox().height+n.distance+Math.max(t.offset||0,0)),a){null==r||r.destroy();break}}}for(this.plotHeight=Math.max(this.plotHeight-a,0);(l||e||o>1)&&c<o;){let t=this.plotWidth,i=this.plotHeight;for(let t of n)0===c?t.setScale():(t.horiz&&l||!t.horiz&&e)&&t.setTickInterval(!0);0===c?this.getAxisMargins():this.getMargins(),l=t/this.plotWidth>(c?1:1.1),e=i/this.plotHeight>(c?1:1.05),c++}this.drawChartBox(),this.hasCartesianSeries?s(n):i&&i.length&&s(i),this.seriesGroup||(this.seriesGroup=r.g("series-group").attr({zIndex:3}).shadow(this.options.chart.seriesGroupShadow).add()),this.renderSeries(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0}addCredits(t){let e=this,n=U(!0,this.options.credits,t);n.enabled&&!this.credits&&(this.credits=this.renderer.text(n.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",(function(){n.href&&(C.location.href=n.href)})).attr({align:n.position.align,zIndex:8}),e.styledMode||this.credits.css(n.style),this.credits.add().align(n.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})}destroy(){let t,e=this,n=e.axes,i=e.series,r=e.container,s=r&&r.parentNode;for(B(e,"destroy"),e.renderer.forExport?D(x,e):x[e.index]=void 0,o.chartCount--,e.renderTo.removeAttribute("data-highcharts-chart"),Y(e),t=n.length;t--;)n[t]=n[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=i.length;t--;)i[t]=i[t].destroy();["title","subtitle","chartBackground","plotBackground","plotBGImage","plotBorder","seriesGroup","clipRect","credits","pointer","rangeSelector","legend","resetZoomButton","tooltip","renderer"].forEach((function(t){let n=e[t];n&&n.destroy&&(e[t]=n.destroy())})),r&&(r.innerHTML=d.emptyHTML,Y(r),s&&j(r)),H(e,(function(t,n){delete e[n]}))}firstRender(){var t;let e=this,n=e.options;e.getContainer(),e.resetMargins(),e.setChartSize(),e.propFromSeries(),e.getAxes();let i=F(n.series)?n.series:[];n.series=[],i.forEach((function(t){e.initSeries(t)})),e.linkSeries(),e.setSortedData(),B(e,"beforeRender"),e.render(),null==(t=e.pointer)||t.getChartPosition(),e.renderer.imgCount||e.hasLoaded||e.onload(),e.temporaryDisplay(!0)}onload(){this.callbacks.concat([this.callback]).forEach((function(t){t&&void 0!==this.index&&t.apply(this,[this])}),this),B(this,"load"),B(this,"render"),M(this.index)&&this.setReflow(),this.warnIfA11yModuleNotLoaded(),this.hasLoaded=!0}warnIfA11yModuleNotLoaded(){let{options:t,title:e}=this;!t||this.accessibility||(this.renderer.boxWrapper.attr({role:"img","aria-label":(e&&e.element.textContent||"").replace(/</g,"<")}),t.accessibility&&!1===t.accessibility.enabled||$('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',!1,this))}addSeries(t,e,n){let i,r=this;return t&&(e=q(e,!0),B(r,"addSeries",{options:t},(function(){i=r.initSeries(t),r.isDirtyLegend=!0,r.linkSeries(),i.enabledDataSorting&&i.setData(t.data,!1),B(r,"afterAddSeries",{series:i}),e&&r.redraw(n)}))),i}addAxis(t,e,n,i){return this.createAxis(e?"xAxis":"yAxis",{axis:t,redraw:n,animation:i})}addColorAxis(t,e,n){return this.createAxis("colorAxis",{axis:t,redraw:e,animation:n})}createAxis(t,n){let i=new e(this,n.axis,t);return q(n.redraw,!0)&&this.redraw(n.animation),i}showLoading(t){let e=this,n=e.options,i=n.loading,r=function(){o&&P(o,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})},o=e.loadingDiv,s=e.loadingSpan;o||(e.loadingDiv=o=E("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container)),s||(e.loadingSpan=s=E("span",{className:"highcharts-loading-inner"},null,o),O(e,"redraw",r)),o.className="highcharts-loading",d.setElementHTML(s,q(t,n.lang.loading,"")),e.styledMode||(P(o,R(i.style,{zIndex:10})),P(s,i.labelStyle),e.loadingShown||(P(o,{opacity:0,display:""}),f(o,{opacity:i.style.opacity||.5},{duration:i.showDuration||0}))),e.loadingShown=!0,r()}hideLoading(){let t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",this.styledMode||f(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){P(e,{display:"none"})}})),this.loadingShown=!1}update(t,e,n,i){let r,o,s,a=this,l={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},c=t.isResponsiveOptions,h=[];B(a,"update",{options:t}),c||a.setResponsive(!1,!0),t=L(t,a.options),a.userOptions=U(a.userOptions,t);let d=t.chart;d&&(U(!0,a.options.chart,d),this.setZoomOptions(),"className"in d&&a.setClassName(d.className),("inverted"in d||"polar"in d||"type"in d)&&(a.propFromSeries(),r=!0),"alignTicks"in d&&(r=!0),"events"in d&&_(this,d),H(d,(function(t,e){-1!==a.propsRequireUpdateSeries.indexOf("chart."+e)&&(o=!0),-1!==a.propsRequireDirtyBox.indexOf(e)&&(a.isDirtyBox=!0),-1===a.propsRequireReflow.indexOf(e)||(a.isDirtyBox=!0,c||(s=!0))})),!a.styledMode&&d.style&&a.renderer.setStyle(a.options.chart.style||{})),!a.styledMode&&t.colors&&(this.options.colors=t.colors),t.time&&(this.time===y&&(this.time=new u(t.time)),U(!0,a.options.time,t.time)),H(t,(function(e,n){a[n]&&"function"==typeof a[n].update?a[n].update(e,!1):"function"==typeof a[l[n]]?a[l[n]](e):"colors"!==n&&-1===a.collectionsWithUpdate.indexOf(n)&&U(!0,a.options[n],t[n]),"chart"!==n&&-1!==a.propsRequireUpdateSeries.indexOf(n)&&(o=!0)})),this.collectionsWithUpdate.forEach((function(e){t[e]&&(K(t[e]).forEach((function(t,i){let r,o=M(t.id);o&&(r=a.get(t.id)),!r&&a[e]&&(r=a[e][q(t.index,i)])&&(o&&M(r.options.id)||r.options.isInternal)&&(r=void 0),r&&r.coll===e&&(r.update(t,!1),n&&(r.touched=!0)),!r&&n&&a.collectionsWithInit[e]&&(a.collectionsWithInit[e][0].apply(a,[t].concat(a.collectionsWithInit[e][1]||[]).concat([!1])).touched=!0)})),n&&a[e].forEach((function(t){t.touched||t.options.isInternal?delete t.touched:h.push(t)})))})),h.forEach((function(t){t.chart&&t.remove&&t.remove(!1)})),r&&a.axes.forEach((function(t){t.update({},!1)})),o&&a.getSeriesOrderByLinks().forEach((function(t){t.chart&&t.update({},!1)}),this);let p=d&&d.width,f=d&&(W(d.height)?X(d.height,p||a.chartWidth):d.height);s||z(p)&&p!==a.chartWidth||z(f)&&f!==a.chartHeight?a.setSize(p,f,i):q(e,!0)&&a.redraw(i),B(a,"afterUpdate",{options:t,redraw:e,animation:i})}setSubtitle(t,e){this.applyDescription("subtitle",t),this.layOutTitles(e)}setCaption(t,e){this.applyDescription("caption",t),this.layOutTitles(e)}showResetZoom(){let t=this,e=v.lang,n=t.zooming.resetButton,i=n.theme,r="chart"===n.relativeTo||"spacingBox"===n.relativeTo?null:"plotBox";function o(){t.zoomOut()}B(this,"beforeShowResetZoom",null,(function(){t.resetZoomButton=t.renderer.button(e.resetZoom,null,null,o,i).attr({align:n.position.align,title:e.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(n.position,!1,r)})),B(this,"afterShowResetZoom")}zoomOut(){B(this,"selection",{resetSelection:!0},(()=>this.transform({reset:!0,trigger:"zoom"})))}pan(t,e){let n=this,i="object"==typeof e?e:{enabled:e,type:"x"},r=i.type,o=r&&n[{x:"xAxis",xy:"axes",y:"yAxis"}[r]].filter((t=>t.options.panningEnabled&&!t.options.isInternal)),s=n.options.chart;null!=s&&s.panning&&(s.panning=i),B(this,"pan",{originalEvent:t},(()=>{n.transform({axes:o,event:t,to:{x:t.chartX-(n.mouseDownX||0),y:t.chartY-(n.mouseDownY||0)},trigger:"pan"}),P(n.container,{cursor:"move"})}))}transform(t){var e;let n,i,{axes:r=this.axes,event:o,from:s={},reset:a,selection:l,to:c={},trigger:u}=t,{inverted:h}=this,d=!1;for(let t of(null==(e=this.hoverPoints)||e.forEach((t=>t.setState())),r)){let{horiz:e,len:r,minPointOffset:p=0,options:f,reversed:g}=t,m=e?"width":"height",v=e?"x":"y",y=q(c[m],t.len),b=q(s[m],t.len),_=10>Math.abs(y)?1:y/b,x=(s[v]||0)+b/2-t.pos,w=x-((c[v]??t.pos)+y/2-t.pos)/_,S=g&&!h||!g&&h?-1:1;if(!a&&(x<0||x>t.len))continue;let k=t.toValue(w,!0)+(l?0:p*S),C=t.toValue(w+r/_,!0)-(l?0:p*S||0),A=t.allExtremes;if(k>C&&([k,C]=[C,k]),1===_&&!a&&"yAxis"===t.coll&&!A){for(let e of t.series){let t=e.getExtremes(e.getProcessedData(!0).yData,!0);A??(A={dataMin:Number.MAX_VALUE,dataMax:-Number.MAX_VALUE}),z(t.dataMin)&&z(t.dataMax)&&(A.dataMin=Math.min(t.dataMin,A.dataMin),A.dataMax=Math.max(t.dataMax,A.dataMax))}t.allExtremes=A}let{dataMin:O,dataMax:T,min:E,max:P}=R(t.getExtremes(),A||{}),L=O??f.min,j=T??f.max,D=C-k,$=t.categories?0:Math.min(D,j-L),I=L-$*(M(f.min)?0:f.minPadding),B=j+$*(M(f.max)?0:f.maxPadding),N=t.allowZoomOutside||1===_||"zoom"!==u&&_>1,F=Math.min(f.min??I,I,N?E:I),V=Math.max(f.max??B,B,N?P:B);(!t.isOrdinal||1!==_||a)&&(k<F&&(k=F,_>=1&&(C=k+D)),C>V&&(C=V,_>=1&&(k=C-D)),(a||t.series.length&&(k!==E||C!==P)&&k>=F&&C<=V)&&(l?l[t.coll].push({axis:t,min:k,max:C}):(t.isPanning="zoom"!==u,t.isPanning&&(i=!0),t.setExtremes(a?void 0:k,a?void 0:C,!1,!1,{move:w,trigger:u,scale:_}),!a&&(k>F||C<V)&&"mousewheel"!==u&&(n=!0)),d=!0),o&&(this[e?"mouseDownX":"mouseDownY"]=o[e?"chartX":"chartY"]))}return d&&(l?B(this,"selection",l,(()=>{delete t.selection,t.trigger="zoom",this.transform(t)})):(!n||i||this.resetZoomButton?!n&&this.resetZoomButton&&(this.resetZoomButton=this.resetZoomButton.destroy()):this.showResetZoom(),this.redraw("zoom"===u&&(this.options.chart.animation??this.pointCount<100)))),d}}return R(Q.prototype,{callbacks:[],collectionsWithInit:{xAxis:[Q.prototype.addAxis,[!0]],yAxis:[Q.prototype.addAxis,[!1]],series:[Q.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:["backgroundColor","borderColor","borderWidth","borderRadius","plotBackgroundColor","plotBackgroundImage","plotBorderColor","plotBorderWidth","plotShadow","shadow"],propsRequireReflow:["margin","marginTop","marginRight","marginBottom","marginLeft","spacing","spacingTop","spacingRight","spacingBottom","spacingLeft"],propsRequireUpdateSeries:["chart.inverted","chart.polar","chart.ignoreHiddenSeries","chart.type","colors","plotOptions","time","tooltip"]}),Q})),n(e,"Extensions/ScrollablePlotArea.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n,i){let{stop:r}=t,{composed:o}=e,{addEvent:s,createElement:a,css:l,defined:c,merge:u,pushUnique:h}=i;function d(){let t=this.scrollablePlotArea;(this.scrollablePixelsX||this.scrollablePixelsY)&&!t&&(this.scrollablePlotArea=t=new f(this)),null==t||t.applyFixed()}function p(){this.chart.scrollablePlotArea&&(this.chart.scrollablePlotArea.isDirty=!0)}class f{static compose(t,e,n){h(o,this.compose)&&(s(t,"afterInit",p),s(e,"afterSetChartSize",(t=>this.afterSetSize(t.target,t))),s(e,"render",d),s(n,"show",p))}static afterSetSize(t,e){let n,i,r,{minWidth:o,minHeight:s}=t.options.chart.scrollablePlotArea||{},{clipBox:a,plotBox:l,inverted:h,renderer:d}=t;if(!d.forExport&&(o?(t.scrollablePixelsX=n=Math.max(0,o-t.chartWidth),n&&(t.scrollablePlotBox=u(t.plotBox),l.width=t.plotWidth+=n,a[h?"height":"width"]+=n,r=!0)):s&&(t.scrollablePixelsY=i=Math.max(0,s-t.chartHeight),c(i)&&(t.scrollablePlotBox=u(t.plotBox),l.height=t.plotHeight+=i,a[h?"width":"height"]+=i,r=!1)),c(r)&&!e.skipAxes))for(let e of t.axes)e.horiz===r&&(e.setAxisSize(),e.setAxisTranslation())}constructor(t){var e;let i,r=t.options.chart,o=n.getRendererType(),c=r.scrollablePlotArea||{},u=this.moveFixedElements.bind(this),h={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};t.scrollablePixelsX&&(h.overflowX="auto"),t.scrollablePixelsY&&(h.overflowY="auto"),this.chart=t;let d=this.parentDiv=a("div",{className:"highcharts-scrolling-parent"},{position:"relative"},t.renderTo),p=this.scrollingContainer=a("div",{className:"highcharts-scrolling"},h,d),f=this.innerContainer=a("div",{className:"highcharts-inner-container"},void 0,p),g=this.fixedDiv=a("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:((null==(e=r.style)?void 0:e.zIndex)||0)+2,top:0},void 0,!0),m=this.fixedRenderer=new o(g,t.chartWidth,t.chartHeight,r.style);this.mask=m.path().attr({fill:r.backgroundColor||"#fff","fill-opacity":c.opacity??.85,zIndex:-1}).addClass("highcharts-scrollable-mask").add(),p.parentNode.insertBefore(g,p),l(t.renderTo,{overflow:"visible"}),s(t,"afterShowResetZoom",u),s(t,"afterApplyDrilldown",u),s(t,"afterLayOutTitles",u),s(p,"scroll",(()=>{let{pointer:e,hoverPoint:n}=t;e&&(delete e.chartPosition,n&&(i=n),e.runPointActions(void 0,i,!0))})),f.appendChild(t.container)}applyFixed(){var t;let{chart:e,fixedRenderer:n,isDirty:i,scrollingContainer:o}=this,{axisOffset:s,chartWidth:a,chartHeight:u,container:h,plotHeight:d,plotLeft:p,plotTop:f,plotWidth:g,scrollablePixelsX:m=0,scrollablePixelsY:v=0}=e,{scrollPositionX:y=0,scrollPositionY:b=0}=e.options.chart.scrollablePlotArea||{},_=a+m,x=u+v;n.setSize(a,u),(i??!0)&&(this.isDirty=!1,this.moveFixedElements()),r(e.container),l(h,{width:`${_}px`,height:`${x}px`}),e.renderer.boxWrapper.attr({width:_,height:x,viewBox:[0,0,_,x].join(" ")}),null==(t=e.chartBackground)||t.attr({width:_,height:x}),l(o,{width:`${a}px`,height:`${u}px`}),c(i)||(o.scrollLeft=m*y,o.scrollTop=v*b);let w=f-s[0]-1,S=p-s[3]-1,k=f+d+s[2]+1,C=p+g+s[1]+1,A=p+g-m,O=f+d-v,T=[["M",0,0]];m?T=[["M",0,w],["L",p-1,w],["L",p-1,k],["L",0,k],["Z"],["M",A,w],["L",a,w],["L",a,k],["L",A,k],["Z"]]:v&&(T=[["M",S,0],["L",S,f-1],["L",C,f-1],["L",C,0],["Z"],["M",S,O],["L",S,u],["L",C,u],["L",C,O],["Z"]]),"adjustHeight"!==e.redrawTrigger&&this.mask.attr({d:T})}moveFixedElements(){let t,{container:e,inverted:n,scrollablePixelsX:i,scrollablePixelsY:r}=this.chart,o=this.fixedRenderer,s=f.fixedSelectors;for(let a of(i&&!n?t=".highcharts-yaxis":i&&n||r&&!n?t=".highcharts-xaxis":r&&n&&(t=".highcharts-yaxis"),t&&s.push(`${t}:not(.highcharts-radial-axis)`,`${t}-labels:not(.highcharts-radial-axis-labels)`),s))[].forEach.call(e.querySelectorAll(a),(t=>{(t.namespaceURI===o.SVG_NS?o.box:o.box.parentNode).appendChild(t),t.style.pointerEvents="auto"}))}}return f.fixedSelectors=[".highcharts-breadcrumbs-group",".highcharts-contextbutton",".highcharts-caption",".highcharts-credits",".highcharts-drillup-button",".highcharts-legend",".highcharts-legend-checkbox",".highcharts-navigator-series",".highcharts-navigator-xaxis",".highcharts-navigator-yaxis",".highcharts-navigator",".highcharts-range-selector-group",".highcharts-reset-zoom",".highcharts-scrollbar",".highcharts-subtitle",".highcharts-title"],f})),n(e,"Core/Axis/Stacking/StackItem.js",[e["Core/Templating.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n){let{format:i}=t,{series:r}=e,{destroyObjectProperties:o,fireEvent:s,isNumber:a,pick:l}=n;return class{constructor(t,e,n,i,r){let o=t.chart.inverted,s=t.reversed;this.axis=t;let a=this.isNegative=!!n!=!!s;this.options=e=e||{},this.x=i,this.total=null,this.cumulative=null,this.points={},this.hasValidPoints=!1,this.stack=r,this.leftCliff=0,this.rightCliff=0,this.alignOptions={align:e.align||(o?a?"left":"right":"center"),verticalAlign:e.verticalAlign||(o?"middle":a?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(o?a?"right":"left":"center")}destroy(){o(this,this.axis)}render(t){let e=this.axis.chart,n=this.options,r=n.format,o=r?i(r,this,e):n.formatter.call(this);if(this.label)this.label.attr({text:o,visibility:"hidden"});else{this.label=e.renderer.label(o,null,void 0,n.shape,void 0,void 0,n.useHTML,!1,"stack-labels");let i={r:n.borderRadius||0,text:o,padding:l(n.padding,5),visibility:"hidden"};e.styledMode||(i.fill=n.backgroundColor,i.stroke=n.borderColor,i["stroke-width"]=n.borderWidth,this.label.css(n.style||{})),this.label.attr(i),this.label.added||this.label.add(t)}this.label.labelrank=e.plotSizeY,s(this,"afterRender")}setOffset(t,e,n,i,o,c){let{alignOptions:u,axis:h,label:d,options:p,textAlign:f}=this,g=h.chart,m=this.getStackBox({xOffset:t,width:e,boxBottom:n,boxTop:i,defaultX:o,xAxis:c}),{verticalAlign:v}=u;if(d&&m){let t,e=d.getBBox(void 0,0),n=d.padding,i="justify"===l(p.overflow,"justify");u.x=p.x||0,u.y=p.y||0;let{x:o,y:s}=this.adjustStackPosition({labelBox:e,verticalAlign:v,textAlign:f});m.x-=o,m.y-=s,d.align(u,!1,m),(t=g.isInsidePlot(d.alignAttr.x+u.x+o,d.alignAttr.y+u.y+s))||(i=!1),i&&r.prototype.justifyDataLabel.call(h,d,u,d.alignAttr,e,m),d.attr({x:d.alignAttr.x,y:d.alignAttr.y,rotation:p.rotation,rotationOriginX:e.width*{left:0,center:.5,right:1}[p.textAlign||"center"],rotationOriginY:e.height/2}),l(!i&&p.crop,!0)&&(t=a(d.x)&&a(d.y)&&g.isInsidePlot(d.x-n+(d.width||0),d.y)&&g.isInsidePlot(d.x+n,d.y)),d[t?"show":"hide"]()}s(this,"afterSetOffset",{xOffset:t,width:e})}adjustStackPosition({labelBox:t,verticalAlign:e,textAlign:n}){let i={bottom:0,middle:1,top:2,right:1,center:0,left:-1},r=i[e],o=i[n];return{x:t.width/2+t.width/2*o,y:t.height/2*r}}getStackBox(t){let e=this.axis,n=e.chart,{boxTop:i,defaultX:r,xOffset:o,width:s,boxBottom:c}=t,u=e.stacking.usePercentage?100:l(i,this.total,0),h=e.toPixels(u),d=t.xAxis||n.xAxis[0],p=l(r,d.translate(this.x))+o,f=Math.abs(h-e.toPixels(c||a(e.min)&&e.logarithmic&&e.logarithmic.lin2log(e.min)||0)),g=n.inverted,m=this.isNegative;return g?{x:(m?h:h-f)-n.plotLeft,y:d.height-p-s+d.top-n.plotTop,width:f,height:s}:{x:p+d.transB-n.plotLeft,y:(m?h-f:h)-n.plotTop,width:s,height:f}}}})),n(e,"Core/Axis/Stacking/StackingAxis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Utilities.js"]],(function(t,e,n,i,r){var o;let{getDeferredAnimation:s}=t,{series:{prototype:a}}=n,{addEvent:l,correctFloat:c,defined:u,destroyObjectProperties:h,fireEvent:d,isArray:p,isNumber:f,objectEach:g,pick:m}=r;function v(){let t=this.inverted;this.axes.forEach((t=>{t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)})),this.series.forEach((e=>{let n=e.xAxis&&e.xAxis.options||{};e.options.stacking&&e.reserveSpace()&&(e.stackKey=[e.type,m(e.options.stack,""),t?n.top:n.left,t?n.height:n.width].join(","))}))}function y(){var t;let e=this.stacking;if(e){let n=e.stacks;g(n,((t,e)=>{h(t),delete n[e]})),null==(t=e.stackTotalGroup)||t.destroy()}}function b(){this.stacking||(this.stacking=new C(this))}function _(t,e,n,i){return!u(t)||t.x!==e||i&&t.stackKey!==i?t={x:e,index:0,key:i,stackKey:i}:t.index++,t.key=[n,e,t.index].join(","),t}function x(){let t,e=this,n=e.yAxis,i=e.stackKey||"",r=n.stacking.stacks,o=e.processedXData,s=e.options.stacking,a=e[s+"Stacker"];a&&[i,"-"+i].forEach((n=>{var i;let s,l,c,u=o.length;for(;u--;)s=o[u],t=e.getStackIndicator(t,s,e.index,n),l=null==(i=r[n])?void 0:i[s],(c=null==l?void 0:l.points[t.key||""])&&a.call(e,c,l,u)}))}function w(t,e,n){let i=e.total?100/e.total:0;t[0]=c(t[0]*i),t[1]=c(t[1]*i),this.stackedYData[n]=t[1]}function S(t){(this.is("column")||this.is("columnrange"))&&(this.options.centerInCategory&&!this.options.stacking&&this.chart.series.length>1?a.setStackedPoints.call(this,t,"group"):t.stacking.resetStacks())}function k(t,e){var n,r;let o,s,a,l,h,d,f,g,v,y=e||this.options.stacking;if(!y||!this.reserveSpace()||({group:"xAxis"}[y]||"yAxis")!==t.coll)return;let b=this.processedXData,_=this.processedYData,x=[],w=_.length,S=this.options,k=S.threshold||0,C=S.startFromThreshold?k:0,A=S.stack,O=e?`${this.type},${y}`:this.stackKey||"",T="-"+O,E=this.negStacks,P=t.stacking,M=P.stacks,L=P.oldStacks;for(P.stacksTouched+=1,f=0;f<w;f++){g=b[f],v=_[f],d=(o=this.getStackIndicator(o,g,this.index)).key||"",M[h=(s=E&&v<(C?0:k))?T:O]||(M[h]={}),M[h][g]||(null!=(n=L[h])&&n[g]?(M[h][g]=L[h][g],M[h][g].total=null):M[h][g]=new i(t,t.options.stackLabels,!!s,g,A)),a=M[h][g],null!==v?(a.points[d]=a.points[this.index]=[m(a.cumulative,C)],u(a.cumulative)||(a.base=d),a.touched=P.stacksTouched,o.index>0&&!1===this.singleStacks&&(a.points[d][0]=a.points[this.index+","+g+",0"][0])):(delete a.points[d],delete a.points[this.index]);let e=a.total||0;"percent"===y?(l=s?O:T,e=E&&null!=(r=M[l])&&r[g]?(l=M[l][g]).total=Math.max(l.total||0,e)+Math.abs(v)||0:c(e+(Math.abs(v)||0))):"group"===y?(p(v)&&(v=v[0]),null!==v&&e++):e=c(e+(v||0)),a.cumulative="group"===y?(e||1)-1:c(m(a.cumulative,C)+(v||0)),a.total=e,null!==v&&(a.points[d].push(a.cumulative),x[f]=a.cumulative,a.hasValidPoints=!0)}"percent"===y&&(P.usePercentage=!0),"group"!==y&&(this.stackedYData=x),P.oldStacks={}}class C{constructor(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}buildStacks(){let t,e,n=this.axis,i=n.series,r="xAxis"===n.coll,o=n.options.reversedStacks,s=i.length;for(this.resetStacks(),this.usePercentage=!1,e=s;e--;)t=i[o?e:s-e-1],r&&t.setGroupedPoints(n),t.setStackedPoints(n);if(!r)for(e=0;e<s;e++)i[e].modifyStacks();d(n,"afterBuildStacks")}cleanStacks(){this.oldStacks&&(this.stacks=this.oldStacks,g(this.stacks,(t=>{g(t,(t=>{t.cumulative=t.total}))})))}resetStacks(){g(this.stacks,(t=>{g(t,((e,n)=>{f(e.touched)&&e.touched<this.stacksTouched?(e.destroy(),delete t[n]):(e.total=null,e.cumulative=null)}))}))}renderStackTotals(){var t;let e=this.axis,n=e.chart,i=n.renderer,r=this.stacks,o=s(n,(null==(t=e.options.stackLabels)?void 0:t.animation)||!1),a=this.stackTotalGroup=this.stackTotalGroup||i.g("stack-labels").attr({zIndex:6,opacity:0}).add();a.translate(n.plotLeft,n.plotTop),g(r,(t=>{g(t,(t=>{t.render(a)}))})),a.animate({opacity:1},o)}}return(o||(o={})).compose=function(t,e,n){let i=e.prototype,r=n.prototype;i.getStacks||(l(t,"init",b),l(t,"destroy",y),i.getStacks=v,r.getStackIndicator=_,r.modifyStacks=x,r.percentStacker=w,r.setGroupedPoints=S,r.setStackedPoints=k)},o})),n(e,"Series/Line/LineSeries.js",[e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n){let{defined:i,merge:r,isObject:o}=n;class s extends t{drawGraph(){let t=this.options,e=(this.gappedPath||this.getGraphPath).call(this),n=this.chart.styledMode;[this,...this.zones].forEach(((i,s)=>{let a,l=i.graph,c=l?"animate":"attr",u=i.dashStyle||t.dashStyle;l?(l.endX=this.preventGraphAnimation?null:e.xMap,l.animate({d:e})):e.length&&(i.graph=l=this.chart.renderer.path(e).addClass("highcharts-graph"+(s?` highcharts-zone-graph-${s-1} `:" ")+(s&&i.className||"")).attr({zIndex:1}).add(this.group)),l&&!n&&(a={stroke:!s&&t.lineColor||i.color||this.color||"#cccccc","stroke-width":t.lineWidth||0,fill:this.fillGraph&&this.color||"none"},u?a.dashstyle=u:"square"!==t.linecap&&(a["stroke-linecap"]=a["stroke-linejoin"]="round"),l[c](a).shadow(s<2&&t.shadow&&r({filterUnits:"userSpaceOnUse"},o(t.shadow)?t.shadow:{}))),l&&(l.startX=e.xMap,l.isArea=e.isArea)}))}getGraphPath(t,e,n){let r,o=this,s=o.options,a=[],l=[],c=s.step,u=(t=t||o.points).reversed;return u&&t.reverse(),(c={right:1,center:2}[c]||c&&3)&&u&&(c=4-c),(t=this.getValidPoints(t,!1,!(s.connectNulls&&!e&&!n))).forEach((function(u,h){let d,p=u.plotX,f=u.plotY,g=t[h-1],m=u.isNull||"number"!=typeof f;(u.leftCliff||g&&g.rightCliff)&&!n&&(r=!0),m&&!i(e)&&h>0?r=!s.connectNulls:m&&!e?r=!0:(0===h||r?d=[["M",u.plotX,u.plotY]]:o.getPointSpline?d=[o.getPointSpline(t,u,h)]:c?(d=1===c?[["L",g.plotX,f]]:2===c?[["L",(g.plotX+p)/2,g.plotY],["L",(g.plotX+p)/2,f]]:[["L",p,g.plotY]]).push(["L",p,f]):d=[["L",p,f]],l.push(u.x),c&&(l.push(u.x),2===c&&l.push(u.x)),a.push.apply(a,d),r=!1)})),a.xMap=l,o.graphPath=a,a}}return s.defaultOptions=r(t.defaultOptions,{legendSymbol:"lineMarker"}),e.registerSeriesType("line",s),s})),n(e,"Series/Area/AreaSeriesDefaults.js",[],(function(){return{threshold:0,legendSymbol:"areaMarker"}})),n(e,"Series/Area/AreaSeries.js",[e["Series/Area/AreaSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n){let{seriesTypes:{line:i}}=e,{extend:r,merge:o,objectEach:s,pick:a}=n;class l extends i{drawGraph(){this.areaPath=[],super.drawGraph.apply(this);let{areaPath:t,options:e}=this;[this,...this.zones].forEach(((n,i)=>{let r={},o=n.fillColor||e.fillColor,s=n.area,a=s?"animate":"attr";s?(s.endX=this.preventGraphAnimation?null:t.xMap,s.animate({d:t})):(r.zIndex=0,(s=n.area=this.chart.renderer.path(t).addClass("highcharts-area"+(i?` highcharts-zone-area-${i-1} `:" ")+(i&&n.className||"")).add(this.group)).isArea=!0),this.chart.styledMode||(r.fill=o||n.color||this.color,r["fill-opacity"]=o?1:e.fillOpacity??.75,s.css({pointerEvents:this.stickyTracking?"none":"auto"})),s[a](r),s.startX=t.xMap,s.shiftUnit=e.step?2:1}))}getGraphPath(t){let e,n,r,o=i.prototype.getGraphPath,s=this.options,l=s.stacking,c=this.yAxis,u=[],h=[],d=this.index,p=c.stacking.stacks[this.stackKey],f=s.threshold,g=Math.round(c.getThreshold(s.threshold)),m=a(s.connectNulls,"percent"===l),v=function(n,i,r){let o,s,a=t[n],m=l&&p[a.x].points[d],v=a[r+"Null"]||0,y=a[r+"Cliff"]||0,b=!0;y||v?(o=(v?m[0]:m[1])+y,s=m[0]+y,b=!!v):!l&&t[i]&&t[i].isNull&&(o=s=f),void 0!==o&&(h.push({plotX:e,plotY:null===o?g:c.getThreshold(o),isNull:b,isCliff:!0}),u.push({plotX:e,plotY:null===s?g:c.getThreshold(s),doCurve:!1}))};t=t||this.points,l&&(t=this.getStackPoints(t));for(let i=0,o=t.length;i<o;++i)l||(t[i].leftCliff=t[i].rightCliff=t[i].leftNull=t[i].rightNull=void 0),n=t[i].isNull,e=a(t[i].rectPlotX,t[i].plotX),r=l?a(t[i].yBottom,g):g,n&&!m||(m||v(i,i-1,"left"),n&&!l&&m||(h.push(t[i]),u.push({x:i,plotX:e,plotY:r})),m||v(i,i+1,"right"));let y=o.call(this,h,!0,!0);u.reversed=!0;let b=o.call(this,u,!0,!0),_=b[0];_&&"M"===_[0]&&(b[0]=["L",_[1],_[2]]);let x=y.concat(b);x.length&&x.push(["Z"]);let w=o.call(this,h,!1,m);return this.chart.series.length>1&&l&&h.some((t=>t.isCliff))&&(x.hasStackedCliffs=w.hasStackedCliffs=!0),x.xMap=y.xMap,this.areaPath=x,w}getStackPoints(t){let e=this,n=[],i=[],r=this.xAxis,o=this.yAxis,l=o.stacking.stacks[this.stackKey],c={},u=o.series,h=u.length,d=o.options.reversedStacks?1:-1,p=u.indexOf(e);if(t=t||this.points,this.options.stacking){for(let e=0;e<t.length;e++)t[e].leftNull=t[e].rightNull=void 0,c[t[e].x]=t[e];s(l,(function(t,e){null!==t.total&&i.push(e)})),i.sort((function(t,e){return t-e}));let f=u.map((t=>t.visible));i.forEach((function(t,s){let g,m,v=0;if(c[t]&&!c[t].isNull)n.push(c[t]),[-1,1].forEach((function(n){let r=1===n?"rightNull":"leftNull",o=l[i[s+n]],a=0;if(o){let n=p;for(;n>=0&&n<h;){let i=u[n].index;!(g=o.points[i])&&(i===e.index?c[t][r]=!0:f[n]&&(m=l[t].points[i])&&(a-=m[1]-m[0])),n+=d}}c[t][1===n?"rightCliff":"leftCliff"]=a}));else{let e=p;for(;e>=0&&e<h;){let n=u[e].index;if(g=l[t].points[n]){v=g[1];break}e+=d}v=a(v,0),v=o.translate(v,0,1,0,1),n.push({isNull:!0,plotX:r.translate(t,0,0,0,1),x:t,plotY:v,yBottom:v})}}))}return n}}return l.defaultOptions=o(i.defaultOptions,t),r(l.prototype,{singleStacks:!1}),e.registerSeriesType("area",l),l})),n(e,"Series/Spline/SplineSeries.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e){let{line:n}=t.seriesTypes,{merge:i,pick:r}=e;class o extends n{getPointSpline(t,e,n){let i,o,s,a,l=e.plotX||0,c=e.plotY||0,u=t[n-1],h=t[n+1];function d(t){return t&&!t.isNull&&!1!==t.doCurve&&!e.isCliff}if(d(u)&&d(h)){let t=u.plotX||0,n=u.plotY||0,r=h.plotX||0,d=h.plotY||0,p=0;i=(1.5*l+t)/2.5,o=(1.5*c+n)/2.5,s=(1.5*l+r)/2.5,a=(1.5*c+d)/2.5,s!==i&&(p=(a-o)*(s-l)/(s-i)+c-a),o+=p,a+=p,o>n&&o>c?(o=Math.max(n,c),a=2*c-o):o<n&&o<c&&(o=Math.min(n,c),a=2*c-o),a>d&&a>c?(a=Math.max(d,c),o=2*c-a):a<d&&a<c&&(a=Math.min(d,c),o=2*c-a),e.rightContX=s,e.rightContY=a,e.controlPoints={low:[i,o],high:[s,a]}}let p=["C",r(u.rightContX,u.plotX,0),r(u.rightContY,u.plotY,0),r(i,l,0),r(o,c,0),l,c];return u.rightContX=u.rightContY=void 0,p}}return o.defaultOptions=i(n.defaultOptions),t.registerSeriesType("spline",o),o})),n(e,"Series/AreaSpline/AreaSplineSeries.js",[e["Series/Spline/SplineSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n){let{area:i,area:{prototype:r}}=e.seriesTypes,{extend:o,merge:s}=n;class a extends t{}return a.defaultOptions=s(t.defaultOptions,i.defaultOptions),o(a.prototype,{getGraphPath:r.getGraphPath,getStackPoints:r.getStackPoints,drawGraph:r.drawGraph}),e.registerSeriesType("areaspline",a),a})),n(e,"Series/Column/ColumnSeriesDefaults.js",[],(function(){return{borderRadius:3,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}})),n(e,"Series/Column/ColumnSeries.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Series/Column/ColumnSeriesDefaults.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n,i,r,o,s){let{animObject:a}=t,{parse:l}=e,{noop:c}=i,{clamp:u,crisp:h,defined:d,extend:p,fireEvent:f,isArray:g,isNumber:m,merge:v,pick:y,objectEach:b}=s;class _ extends r{animate(t){let e,n,i=this,r=this.yAxis,o=r.pos,s=r.reversed,l=i.options,{clipOffset:c,inverted:h}=this.chart,d={},f=h?"translateX":"translateY";t&&c?(d.scaleY=.001,n=u(r.toPixels(l.threshold),o,o+r.len),h?(n+=s?-Math.floor(c[0]):Math.ceil(c[2]),d.translateX=n-r.len):(n+=s?Math.ceil(c[0]):-Math.floor(c[2]),d.translateY=n),i.clipBox&&i.setClip(),i.group.attr(d)):(e=Number(i.group.attr(f)),i.group.animate({scaleY:1},p(a(i.options.animation),{step:function(t,n){i.group&&(d[f]=e+n.pos*(o-e),i.group.attr(d))}})))}init(t,e){super.init.apply(this,arguments);let n=this;(t=n.chart).hasRendered&&t.series.forEach((function(t){t.type===n.type&&(t.isDirty=!0)}))}getColumnMetrics(){var t,e;let n,i=this,r=i.options,o=i.xAxis,s=i.yAxis,a=o.options.reversedStacks,l=o.reversed&&!a||!o.reversed&&a,c={},u=0;!1===r.grouping?u=1:i.chart.series.forEach((function(t){let e,r=t.yAxis,o=t.options;t.type===i.type&&t.reserveSpace()&&s.len===r.len&&s.pos===r.pos&&(o.stacking&&"group"!==o.stacking?(void 0===c[n=t.stackKey]&&(c[n]=u++),e=c[n]):!1!==o.grouping&&(e=u++),t.columnIndex=e)}));let h=Math.min(Math.abs(o.transA)*(!(null!=(t=o.brokenAxis)&&t.hasBreaks)&&(null==(e=o.ordinal)?void 0:e.slope)||r.pointRange||o.closestPointRange||o.tickInterval||1),o.len),d=h*r.groupPadding,p=(h-2*d)/(u||1),f=Math.min(r.maxPointWidth||o.len,y(r.pointWidth,p*(1-2*r.pointPadding))),g=(i.columnIndex||0)+(l?1:0);return i.columnMetrics={width:f,offset:(p-f)/2+(d+g*p-h/2)*(l?-1:1),paddedWidth:p,columnCount:u},i.columnMetrics}crispCol(t,e,n,i){let r=this.borderWidth,o=this.chart.inverted;return i=h(e+i,r,o)-(e=h(e,r,o)),this.options.crisp&&(n=h(t+n,r)-(t=h(t,r))),{x:t,y:e,width:n,height:i}}adjustForMissingColumns(t,e,n,i){var r;if(!n.isNull&&i.columnCount>1){let o=this.xAxis.series.filter((t=>t.visible)).map((t=>t.index)),s=0,a=0;b(null==(r=this.xAxis.stacking)?void 0:r.stacks,(t=>{if("number"==typeof n.x){let e=t[n.x.toString()];if(e&&g(e.points[this.index])){let t=Object.keys(e.points).filter((t=>!t.match(",")&&e.points[t]&&e.points[t].length>1)).map(parseFloat).filter((t=>-1!==o.indexOf(t))).sort(((t,e)=>e-t));s=t.indexOf(this.index),a=t.length}}})),s=this.xAxis.reversed?a-1-s:s;let l=(a-1)*i.paddedWidth+e;t=(n.plotX||0)+l/2-e-s*i.paddedWidth}return t}translate(){let t=this,e=t.chart,n=t.options,i=t.dense=t.closestPointRange*t.xAxis.transA<2,o=t.borderWidth=y(n.borderWidth,i?0:1),s=t.xAxis,a=t.yAxis,l=n.threshold,c=y(n.minPointLength,5),h=t.getColumnMetrics(),p=h.width,g=t.pointXOffset=h.offset,v=t.dataMin,b=t.dataMax,_=t.translatedThreshold=a.getThreshold(l),x=t.barW=Math.max(p,1+2*o);n.pointPadding&&(x=Math.ceil(x)),r.prototype.translate.apply(t),t.points.forEach((function(i){let r,o=y(i.yBottom,_),f=999+Math.abs(o),w=i.plotX||0,S=u(i.plotY,-f,a.len+f),k=Math.min(S,o),C=Math.max(S,o)-k,A=p,O=w+g,T=x;c&&Math.abs(C)<c&&(C=c,r=!a.reversed&&!i.negative||a.reversed&&i.negative,m(l)&&m(b)&&i.y===l&&b<=l&&(a.min||0)<l&&(v!==b||(a.max||0)<=l)&&(r=!r,i.negative=!i.negative),k=Math.abs(k-_)>c?o-c:_-(r?c:0)),d(i.options.pointWidth)&&(O-=Math.round(((A=T=Math.ceil(i.options.pointWidth))-p)/2)),n.centerInCategory&&!n.stacking&&(O=t.adjustForMissingColumns(O,A,i,h)),i.barX=O,i.pointWidth=A,i.tooltipPos=e.inverted?[u(a.len+a.pos-e.plotLeft-S,a.pos-e.plotLeft,a.len+a.pos-e.plotLeft),s.len+s.pos-e.plotTop-O-T/2,C]:[s.left-e.plotLeft+O+T/2,u(S+a.pos-e.plotTop,a.pos-e.plotTop,a.len+a.pos-e.plotTop),C],i.shapeType=t.pointClass.prototype.shapeType||"roundedRect",i.shapeArgs=t.crispCol(O,i.isNull?_:k,T,i.isNull?0:C)})),f(this,"afterColumnTranslate")}drawGraph(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")}pointAttribs(t,e){let n,i,r,o=this.options,s=this.pointAttrToOptions||{},a=s.stroke||"borderColor",c=s["stroke-width"]||"borderWidth",u=t&&t.color||this.color,h=t&&t[a]||o[a]||u,d=t&&t.options.dashStyle||o.dashStyle,p=t&&t[c]||o[c]||this[c]||0,f=y(t&&t.opacity,o.opacity,1);t&&this.zones.length&&(i=t.getZone(),u=t.options.color||i&&(i.color||t.nonZonedColor)||this.color,i&&(h=i.borderColor||h,d=i.dashStyle||d,p=i.borderWidth||p)),e&&t&&(r=(n=v(o.states[e],t.options.states&&t.options.states[e]||{})).brightness,u=n.color||void 0!==r&&l(u).brighten(n.brightness).get()||u,h=n[a]||h,p=n[c]||p,d=n.dashStyle||d,f=y(n.opacity,f));let g={fill:u,stroke:h,"stroke-width":p,opacity:f};return d&&(g.dashstyle=d),g}drawPoints(t=this.points){let e,n=this,i=this.chart,r=n.options,o=i.renderer,s=r.animationLimit||250;t.forEach((function(t){let a=t.plotY,l=t.graphic,c=!!l,u=l&&i.pointCount<s?"animate":"attr";m(a)&&null!==t.y?(e=t.shapeArgs,l&&t.hasNewShapeType()&&(l=l.destroy()),n.enabledDataSorting&&(t.startXPos=n.xAxis.reversed?-(e&&e.width||0):n.xAxis.width),!l&&(t.graphic=l=o[t.shapeType](e).add(t.group||n.group),l&&n.enabledDataSorting&&i.hasRendered&&i.pointCount<s&&(l.attr({x:t.startXPos}),c=!0,u="animate")),l&&c&&l[u](v(e)),i.styledMode||l[u](n.pointAttribs(t,t.selected&&"select")).shadow(!1!==t.allowShadow&&r.shadow),l&&(l.addClass(t.getClassName(),!0),l.attr({visibility:t.visible?"inherit":"hidden"}))):l&&(t.graphic=l.destroy())}))}drawTracker(t=this.points){let e,n=this,i=n.chart,r=i.pointer,o=function(t){let e=null==r?void 0:r.getPointFromEvent(t);r&&e&&n.options.enableMouseTracking&&(r.isDirectTouch=!0,e.onMouseOver(t))};t.forEach((function(t){e=g(t.dataLabels)?t.dataLabels:t.dataLabel?[t.dataLabel]:[],t.graphic&&(t.graphic.element.point=t),e.forEach((function(e){(e.div||e.element).point=t}))})),n._hasTracking||(n.trackerGroups.forEach((function(t){n[t]&&(n[t].addClass("highcharts-tracker").on("mouseover",o).on("mouseout",(function(t){null==r||r.onTrackerMouseOut(t)})).on("touchstart",o),!i.styledMode&&n.options.cursor&&n[t].css({cursor:n.options.cursor}))})),n._hasTracking=!0),f(this,"afterDrawTracker")}remove(){let t=this,e=t.chart;e.hasRendered&&e.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)})),r.prototype.remove.apply(t,arguments)}}return _.defaultOptions=v(r.defaultOptions,n),p(_.prototype,{directTouch:!0,getSymbol:c,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),o.registerSeriesType("column",_),_})),n(e,"Core/Series/DataLabel.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],(function(t,e,n){var i;let{getDeferredAnimation:r}=t,{format:o}=e,{defined:s,extend:a,fireEvent:l,isArray:c,isString:u,merge:h,objectEach:d,pick:p,pInt:f,splat:g}=n;return function(t){function e(){return _(this).some((t=>null==t?void 0:t.enabled))}function n(t,e,n,i,r){var o;let{chart:l,enabledDataSorting:c}=this,u=this.isCartesian&&l.inverted,d=t.plotX,f=t.plotY,g=n.rotation||0,m=s(d)&&s(f)&&l.isInsidePlot(d,Math.round(f),{inverted:u,paneCoordinates:!0,series:this}),v=0===g&&"justify"===p(n.overflow,c?"none":"justify"),y=this.visible&&!1!==t.visible&&s(d)&&(t.series.forceDL||c&&!v||m||p(n.inside,!!this.options.stacking)&&i&&l.isInsidePlot(d,u?i.x+1:i.y+i.height-1,{inverted:u,paneCoordinates:!0,series:this})),b=t.pos();if(y&&b){var _;let s=e.getBBox(),d=e.getBBox(void 0,0),f={right:1,center:.5}[n.align||0]||0,x={bottom:1,middle:.5}[n.verticalAlign||0]||0;if(i=a({x:b[0],y:Math.round(b[1]),width:0,height:0},i||{}),"plotEdges"===n.alignTo&&this.isCartesian&&(i[u?"x":"y"]=0,i[u?"width":"height"]=(null==(o=this.yAxis)?void 0:o.len)||0),a(n,{width:s.width,height:s.height}),_=i,c&&this.xAxis&&!v&&this.setDataLabelStartPos(t,e,r,m,_),e.align(h(n,{width:d.width,height:d.height}),!1,i,!1),e.alignAttr.x+=f*(d.width-s.width),e.alignAttr.y+=x*(d.height-s.height),e[e.placed?"animate":"attr"]({x:e.alignAttr.x+(s.width-d.width)/2,y:e.alignAttr.y+(s.height-d.height)/2,rotationOriginX:(e.width||0)/2,rotationOriginY:(e.height||0)/2}),v&&i.height>=0)this.justifyDataLabel(e,n,e.alignAttr,s,i,r);else if(p(n.crop,!0)){let{x:t,y:n}=e.alignAttr;y=l.isInsidePlot(t,n,{paneCoordinates:!0,series:this})&&l.isInsidePlot(t+s.width-1,n+s.height-1,{paneCoordinates:!0,series:this})}n.shape&&!g&&e[r?"attr":"animate"]({anchorX:b[0],anchorY:b[1]})}r&&c&&(e.placed=!1),y||c&&!v?(e.show(),e.placed=!0):(e.hide(),e.placed=!1)}function i(){return this.plotGroup("dataLabelsGroup","data-labels",this.hasRendered?"inherit":"hidden",this.options.dataLabels.zIndex||6)}function m(t){let e=this.hasRendered||0,n=this.initDataLabelsGroup().attr({opacity:+e});return!e&&n&&(this.visible&&n.show(),this.options.animation?n.animate({opacity:1},t):n.attr({opacity:1})),n}function v(t){var e;let n;t=t||this.points;let i=this,a=i.chart,c=i.options,h=a.renderer,{backgroundColor:m,plotBackgroundColor:v}=a.options.chart,y=h.getContrast(u(v)&&v||u(m)&&m||"#000000"),x=_(i),{animation:w,defer:S}=x[0],k=S?r(a,w,i):{defer:0,duration:0};l(this,"drawDataLabels"),null!=(e=i.hasDataLabels)&&e.call(i)&&(n=this.initDataLabels(k),t.forEach((t=>{var e,r;let m=t.dataLabels||[];g(b(x,t.dlOptions||(null==(e=t.options)?void 0:e.dataLabels))).forEach(((e,r)=>{let g,v,b,_,x,w=e.enabled&&(t.visible||t.dataLabelOnHidden)&&(!t.isNull||t.dataLabelOnNull)&&function(t,e){let n=e.filter;if(n){let e=n.operator,i=t[n.property],r=n.value;return">"===e&&i>r||"<"===e&&i<r||">="===e&&i>=r||"<="===e&&i<=r||"=="===e&&i==r||"==="===e&&i===r||"!="===e&&i!=r||"!=="===e&&i!==r}return!0}(t,e),{backgroundColor:S,borderColor:k,distance:C,style:A={}}=e,O={},T=m[r],E=!T;w&&(v=p(e[t.formatPrefix+"Format"],e.format),g=t.getLabelConfig(),b=s(v)?o(v,g,a):(e[t.formatPrefix+"Formatter"]||e.formatter).call(g,e),_=e.rotation,!a.styledMode&&(A.color=p(e.color,A.color,u(i.color)?i.color:void 0,"#000000"),"contrast"===A.color?("none"!==S&&(x=S),t.contrastColor=h.getContrast("auto"!==x&&x||t.color||i.color),A.color=x||!s(C)&&e.inside||0>f(C||0)||c.stacking?t.contrastColor:y):delete t.contrastColor,c.cursor&&(A.cursor=c.cursor)),O={r:e.borderRadius||0,rotation:_,padding:e.padding,zIndex:1},a.styledMode||(O.fill="auto"===S?t.color:S,O.stroke="auto"===k?t.color:k,O["stroke-width"]=e.borderWidth),d(O,((t,e)=>{void 0===t&&delete O[e]}))),!T||w&&s(b)&&!!T.div==!!e.useHTML&&(T.rotation&&e.rotation||T.rotation===e.rotation)||(T=void 0,E=!0),w&&s(b)&&(T?O.text=b:(T=h.label(b,0,0,e.shape,void 0,void 0,e.useHTML,void 0,"data-label")).addClass(" highcharts-data-label-color-"+t.colorIndex+" "+(e.className||"")+(e.useHTML?" highcharts-tracker":"")),T&&(T.options=e,T.attr(O),a.styledMode||T.css(A).shadow(e.shadow),l(T,"beforeAddingDataLabel",{labelOptions:e,point:t}),T.added||T.add(n),i.alignDataLabel(t,T,e,void 0,E),T.isActive=!0,m[r]&&m[r]!==T&&m[r].destroy(),m[r]=T))}));let v=m.length;for(;v--;)m[v]&&m[v].isActive?m[v].isActive=!1:(null==(r=m[v])||r.destroy(),m.splice(v,1));t.dataLabel=m[0],t.dataLabels=m}))),l(this,"afterDrawDataLabels")}function y(t,e,n,i,r,o){let s,a,l=this.chart,c=e.align,u=e.verticalAlign,h=t.box?0:t.padding||0,d=l.inverted?this.yAxis:this.xAxis,p=d?d.left-l.plotLeft:0,f=l.inverted?this.xAxis:this.yAxis,g=f?f.top-l.plotTop:0,{x:m=0,y:v=0}=e;return(s=(n.x||0)+h+p)<0&&("right"===c&&m>=0?(e.align="left",e.inside=!0):m-=s,a=!0),(s=(n.x||0)+i.width-h+p)>l.plotWidth&&("left"===c&&m<=0?(e.align="right",e.inside=!0):m+=l.plotWidth-s,a=!0),(s=n.y+h+g)<0&&("bottom"===u&&v>=0?(e.verticalAlign="top",e.inside=!0):v-=s,a=!0),(s=(n.y||0)+i.height-h+g)>l.plotHeight&&("top"===u&&v<=0?(e.verticalAlign="bottom",e.inside=!0):v+=l.plotHeight-s,a=!0),a&&(e.x=m,e.y=v,t.placed=!o,t.align(e,void 0,r)),a}function b(t,e){let n,i=[];if(c(t)&&!c(e))i=t.map((function(t){return h(t,e)}));else if(c(e)&&!c(t))i=e.map((function(e){return h(t,e)}));else if(c(t)||c(e)){if(c(t)&&c(e))for(n=Math.max(t.length,e.length);n--;)i[n]=h(t[n],e[n])}else i=h(t,e);return i}function _(t){var e,n;let i=t.chart.options.plotOptions;return g(b(b(null==(e=null==i?void 0:i.series)?void 0:e.dataLabels,null==(n=null==i?void 0:i[t.type])?void 0:n.dataLabels),t.options.dataLabels))}function x(t,e,n,i,r){let o=this.chart,s=o.inverted,a=this.xAxis,l=a.reversed,c=((s?e.height:e.width)||0)/2,u=t.pointWidth,h=u?u/2:0;e.startXPos=s?r.x:l?-c-h:a.width-c+h,e.startYPos=s?l?this.yAxis.height-c+h:-c-h:r.y,i?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),o.hasRendered&&(n&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}t.compose=function(t){let r=t.prototype;r.initDataLabels||(r.initDataLabels=m,r.initDataLabelsGroup=i,r.alignDataLabel=n,r.drawDataLabels=v,r.justifyDataLabel=y,r.setDataLabelStartPos=x,r.hasDataLabels=e)}}(i||(i={})),i})),n(e,"Series/Column/ColumnDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n,i){var r;let{composed:o}=e,{series:s}=n,{merge:a,pick:l,pushUnique:c}=i;return function(e){function n(t,e,n,i,r){let o=this.chart.inverted,c=t.series,u=(c.xAxis?c.xAxis.len:this.chart.plotSizeX)||0,h=(c.yAxis?c.yAxis.len:this.chart.plotSizeY)||0,d=t.dlBox||t.shapeArgs,p=l(t.below,t.plotY>l(this.translatedThreshold,h)),f=l(n.inside,!!this.options.stacking);if(d){if(i=a(d),"allow"!==n.overflow||!1!==n.crop){i.y<0&&(i.height+=i.y,i.y=0);let t=i.y+i.height-h;t>0&&t<i.height-1&&(i.height-=t)}o&&(i={x:h-i.y-i.height,y:u-i.x-i.width,width:i.height,height:i.width}),f||(o?(i.x+=p?0:i.width,i.width=0):(i.y+=p?i.height:0,i.height=0))}n.align=l(n.align,!o||f?"center":p?"right":"left"),n.verticalAlign=l(n.verticalAlign,o||f?"middle":p?"top":"bottom"),s.prototype.alignDataLabel.call(this,t,e,n,i,r),n.inside&&t.contrastColor&&e.css({color:t.contrastColor})}e.compose=function(e){t.compose(s),c(o,"ColumnDataLabel")&&(e.prototype.alignDataLabel=n)}}(r||(r={})),r})),n(e,"Series/Bar/BarSeries.js",[e["Series/Column/ColumnSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n){let{extend:i,merge:r}=n;class o extends t{}return o.defaultOptions=r(t.defaultOptions,{}),i(o.prototype,{inverted:!0}),e.registerSeriesType("bar",o),o})),n(e,"Series/Scatter/ScatterSeriesDefaults.js",[],(function(){return{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 0.8em"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}})),n(e,"Series/Scatter/ScatterSeries.js",[e["Series/Scatter/ScatterSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n){let{column:i,line:r}=e.seriesTypes,{addEvent:o,extend:s,merge:a}=n;class l extends r{applyJitter(){let t=this,e=this.options.jitter,n=this.points.length;e&&this.points.forEach((function(i,r){["x","y"].forEach((function(o,s){if(e[o]&&!i.isNull){let a=`plot${o.toUpperCase()}`,l=t[`${o}Axis`],c=e[o]*l.transA;if(l&&!l.logarithmic){let t=Math.max(0,(i[a]||0)-c),e=Math.min(l.len,(i[a]||0)+c);i[a]=t+(e-t)*function(t){let e=1e4*Math.sin(t);return e-Math.floor(e)}(r+s*n),"x"===o&&(i.clientX=i.plotX)}}}))}))}drawGraph(){this.options.lineWidth?super.drawGraph():this.graph&&(this.graph=this.graph.destroy())}}return l.defaultOptions=a(r.defaultOptions,t),s(l.prototype,{drawTracker:i.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"]}),o(l,"afterTranslate",(function(){this.applyJitter()})),e.registerSeriesType("scatter",l),l})),n(e,"Series/CenteredUtilities.js",[e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],(function(t,e,n){var i,r;let{deg2rad:o}=t,{fireEvent:s,isNumber:a,pick:l,relativeLength:c}=n;return(r=i||(i={})).getCenter=function(){let t,n,i,r=this.options,o=this.chart,u=2*(r.slicedOffset||0),h=o.plotWidth-2*u,d=o.plotHeight-2*u,p=r.center,f=Math.min(h,d),g=r.thickness,m=r.size,v=r.innerSize||0;"string"==typeof m&&(m=parseFloat(m)),"string"==typeof v&&(v=parseFloat(v));let y=[l(p[0],"50%"),l(p[1],"50%"),l(m&&m<0?void 0:r.size,"100%"),l(v&&v<0?void 0:r.innerSize||0,"0%")];for(!o.angular||this instanceof e||(y[3]=0),n=0;n<4;++n)i=y[n],t=n<2||2===n&&/%$/.test(i),y[n]=c(i,[h,d,f,y[2]][n])+(t?u:0);return y[3]>y[2]&&(y[3]=y[2]),a(g)&&2*g<y[2]&&g>0&&(y[3]=y[2]-2*g),s(this,"afterGetCenter",{positions:y}),y},r.getStartAndEndRadians=function(t,e){let n=a(t)?t:0,i=a(e)&&e>n&&e-n<360?e:n+360;return{start:o*(n+-90),end:o*(i+-90)}},i})),n(e,"Series/Pie/PiePoint.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],(function(t,e,n){let{setAnimation:i}=t,{addEvent:r,defined:o,extend:s,isNumber:a,pick:l,relativeLength:c}=n;class u extends e{getConnectorPath(t){let e=t.dataLabelPosition,n=t.options||{},i=n.connectorShape,r=this.connectorShapes[i]||i;return e&&r.call(this,{...e.computed,alignment:e.alignment},e.connectorPosition,n)||[]}getTranslate(){return this.sliced&&this.slicedTranslation||{translateX:0,translateY:0}}haloPath(t){let e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end,borderRadius:e.borderRadius})}constructor(t,e,n){super(t,e,n),this.half=0,this.name??(this.name="Slice");let i=t=>{this.slice("select"===t.type)};r(this,"select",i),r(this,"unselect",i)}isValid(){return a(this.y)&&this.y>=0}setVisible(t,e=!0){t!==this.visible&&this.update({visible:t??!this.visible},e,void 0,!1)}slice(t,e,n){let r=this.series;i(n,r.chart),e=l(e,!0),this.sliced=this.options.sliced=t=o(t)?t:!this.sliced,r.options.data[r.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate())}}return s(u.prototype,{connectorShapes:{fixedOffset:function(t,e,n){let i=e.breakAt,r=e.touchingSliceAt,o=n.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*i.x-r.x,2*i.y-r.y,i.x,i.y]:["L",i.x,i.y];return[["M",t.x,t.y],o,["L",r.x,r.y]]},straight:function(t,e){let n=e.touchingSliceAt;return[["M",t.x,t.y],["L",n.x,n.y]]},crookedLine:function(t,e,n){let{breakAt:i,touchingSliceAt:r}=e,{series:o}=this,[s,a,l]=o.center,u=l/2,{plotLeft:h,plotWidth:d}=o.chart,p="left"===t.alignment,{x:f,y:g}=t,m=i.x;if(n.crookDistance){let t=c(n.crookDistance,1);m=p?s+u+(d+h-s-u)*(1-t):h+(s-u)*t}else m=s+(a-g)*Math.tan((this.angle||0)-Math.PI/2);let v=[["M",f,g]];return(p?m<=f&&m>=i.x:m>=f&&m<=i.x)&&v.push(["L",m,g]),v.push(["L",i.x,i.y],["L",r.x,r.y]),v}}}),u})),n(e,"Series/Pie/PieSeriesDefaults.js",[],(function(){return{borderRadius:3,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{connectorPadding:5,connectorShape:"crookedLine",crookDistance:void 0,distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}})),n(e,"Series/Pie/PieSeries.js",[e["Series/CenteredUtilities.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Series/Pie/PiePoint.js"],e["Series/Pie/PieSeriesDefaults.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Utilities.js"]],(function(t,e,n,i,r,o,s,a,l){let{getStartAndEndRadians:c}=t,{noop:u}=n,{clamp:h,extend:d,fireEvent:p,merge:f,pick:g}=l;class m extends o{animate(t){let e=this,n=e.points,i=e.startAngleRad;t||n.forEach((function(t){let n=t.graphic,r=t.shapeArgs;n&&r&&(n.attr({r:g(t.startR,e.center&&e.center[3]/2),start:i,end:i}),n.animate({r:r.r,start:r.start,end:r.end},e.options.animation))}))}drawEmpty(){let t,e,n=this.startAngleRad,i=this.endAngleRad,r=this.options;0===this.total&&this.center?(t=this.center[0],e=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(t,e,this.center[1]/2,0,n,i).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:a.arc(t,e,this.center[2]/2,0,{start:n,end:i,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":r.borderWidth,fill:r.fillColor||"none",stroke:r.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())}drawPoints(){let t=this.chart.renderer;this.points.forEach((function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)}))}generatePoints(){super.generatePoints(),this.updateTotals()}getX(t,e,n,i){let r=this.center,o=this.radii?this.radii[n.index]||0:r[2]/2,s=i.dataLabelPosition,a=(null==s?void 0:s.distance)||0,l=Math.asin(h((t-r[1])/(o+a),-1,1));return r[0]+Math.cos(l)*(o+a)*(e?-1:1)+(a>0?(e?-1:1)*(i.padding||0):0)}hasData(){return!!this.processedXData.length}redrawPoints(){let t,e,n,i,r=this,o=r.chart;this.drawEmpty(),r.group&&!o.styledMode&&r.group.shadow(r.options.shadow),r.points.forEach((function(s){let a={};e=s.graphic,!s.isNull&&e?(i=s.shapeArgs,t=s.getTranslate(),o.styledMode||(n=r.pointAttribs(s,s.selected&&"select")),s.delayedRendering?(e.setRadialReference(r.center).attr(i).attr(t),o.styledMode||e.attr(n).attr({"stroke-linejoin":"round"}),s.delayedRendering=!1):(e.setRadialReference(r.center),o.styledMode||f(!0,a,n),f(!0,a,i,t),e.animate(a)),e.attr({visibility:s.visible?"inherit":"hidden"}),e.addClass(s.getClassName(),!0)):e&&(s.graphic=e.destroy())}))}sortByAngle(t,e){t.sort((function(t,n){return void 0!==t.angle&&(n.angle-t.angle)*e}))}translate(t){p(this,"translate"),this.generatePoints();let e,n,i,r,o,s,a,l=this.options,u=l.slicedOffset,h=c(l.startAngle,l.endAngle),d=this.startAngleRad=h.start,f=(this.endAngleRad=h.end)-d,g=this.points,m=l.ignoreHiddenPoint,v=g.length,y=0;for(t||(this.center=t=this.getCenter()),s=0;s<v;s++){a=g[s],e=d+y*f,a.isValid()&&(!m||a.visible)&&(y+=a.percentage/100),n=d+y*f;let l={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:Math.round(1e3*e)/1e3,end:Math.round(1e3*n)/1e3};a.shapeType="arc",a.shapeArgs=l,(i=(n+e)/2)>1.5*Math.PI?i-=2*Math.PI:i<-Math.PI/2&&(i+=2*Math.PI),a.slicedTranslation={translateX:Math.round(Math.cos(i)*u),translateY:Math.round(Math.sin(i)*u)},r=Math.cos(i)*t[2]/2,o=Math.sin(i)*t[2]/2,a.tooltipPos=[t[0]+.7*r,t[1]+.7*o],a.half=i<-Math.PI/2||i>Math.PI/2?1:0,a.angle=i}p(this,"afterTranslate")}updateTotals(){let t,e,n=this.points,i=n.length,r=this.options.ignoreHiddenPoint,o=0;for(t=0;t<i;t++)(e=n[t]).isValid()&&(!r||e.visible)&&(o+=e.y);for(t=0,this.total=o;t<i;t++)(e=n[t]).percentage=o>0&&(e.visible||!r)?e.y/o*100:0,e.total=o}}return m.defaultOptions=f(o.defaultOptions,r),d(m.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawTracker:e.prototype.drawTracker,getCenter:t.getCenter,getSymbol:u,invertible:!1,isCartesian:!1,noSharedTooltip:!0,pointAttribs:e.prototype.pointAttribs,pointClass:i,requireSorting:!1,searchPoint:u,trackerGroups:["group","dataLabelsGroup"]}),s.registerSeriesType("pie",m),m})),n(e,"Series/Pie/PieDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Globals.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n,i,r){var o;let{composed:s,noop:a}=e,{distribute:l}=n,{series:c}=i,{arrayMax:u,clamp:h,defined:d,pick:p,pushUnique:f,relativeLength:g}=r;return function(e){let n={radialDistributionY:function(t,e){var n;return((null==(n=e.dataLabelPosition)?void 0:n.top)||0)+t.distributeBox.pos},radialDistributionX:function(t,e,n,i,r){let o=r.dataLabelPosition;return t.getX(n<((null==o?void 0:o.top)||0)+2||n>((null==o?void 0:o.bottom)||0)-2?i:n,e.half,e,r)},justify:function(t,e,n,i){var r;return i[0]+(t.half?-1:1)*(n+((null==(r=e.dataLabelPosition)?void 0:r.distance)||0))},alignToPlotEdges:function(t,e,n,i){let r=t.getBBox().width;return e?r+i:n-r-i},alignToConnectors:function(t,e,n,i){let r,o=0;return t.forEach((function(t){(r=t.dataLabel.getBBox().width)>o&&(o=r)})),e?o+i:n-o-i}};function i(t,e){let{center:n,options:i}=this,r=n[2]/2,o=t.angle||0,s=Math.cos(o),a=Math.sin(o),l=n[0]+s*r,c=n[1]+a*r,u=Math.min((i.slicedOffset||0)+(i.borderWidth||0),e/5);return{natural:{x:l+s*e,y:c+a*e},computed:{},alignment:e<0?"center":t.half?"right":"left",connectorPosition:{breakAt:{x:l+s*u,y:c+a*u},touchingSliceAt:{x:l,y:c}},distance:e}}function r(){var t;let e,n,i,r=this,o=r.points,s=r.chart,a=s.plotWidth,h=s.plotHeight,f=s.plotLeft,m=Math.round(s.chartWidth/3),v=r.center,y=v[2]/2,b=v[1],_=[[],[]],x=[0,0,0,0],w=r.dataLabelPositioners,S=0;r.visible&&null!=(t=r.hasDataLabels)&&t.call(r)&&(o.forEach((t=>{(t.dataLabels||[]).forEach((t=>{t.shortened&&(t.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.shortened=!1)}))})),c.prototype.drawDataLabels.apply(r),o.forEach((t=>{(t.dataLabels||[]).forEach(((e,n)=>{var i;let r=v[2]/2,o=e.options,s=g((null==o?void 0:o.distance)||0,r);0===n&&_[t.half].push(t),!d(null==(i=null==o?void 0:o.style)?void 0:i.width)&&e.getBBox().width>m&&(e.css({width:Math.round(.7*m)+"px"}),e.shortened=!0),e.dataLabelPosition=this.getDataLabelPosition(t,s),S=Math.max(S,s)}))})),_.forEach(((t,e)=>{let o,c,u,g=t.length,m=[],_=0;g&&(r.sortByAngle(t,e-.5),S>0&&(o=Math.max(0,b-y-S),c=Math.min(b+y+S,s.plotHeight),t.forEach((t=>{(t.dataLabels||[]).forEach((e=>{var n;let i=e.dataLabelPosition;i&&i.distance>0&&(i.top=Math.max(0,b-y-i.distance),i.bottom=Math.min(b+y+i.distance,s.plotHeight),_=e.getBBox().height||21,e.lineHeight=s.renderer.fontMetrics(e.text||e).h+2*e.padding,t.distributeBox={target:((null==(n=e.dataLabelPosition)?void 0:n.natural.y)||0)-i.top+e.lineHeight/2,size:_,rank:t.y},m.push(t.distributeBox))}))})),l(m,u=c+_-o,u/5)),t.forEach((o=>{(o.dataLabels||[]).forEach((s=>{let l=s.options||{},c=o.distributeBox,u=s.dataLabelPosition,g=(null==u?void 0:u.natural.y)||0,b=l.connectorPadding||0,_=s.lineHeight||21,S=(_-s.getBBox().height)/2,k=0,C=g,A="inherit";if(u){if(m&&d(c)&&u.distance>0&&(void 0===c.pos?A="hidden":(i=c.size,C=w.radialDistributionY(o,s))),l.justify)k=w.justify(o,s,y,v);else switch(l.alignTo){case"connectors":k=w.alignToConnectors(t,e,a,f);break;case"plotEdges":k=w.alignToPlotEdges(s,e,a,f);break;default:k=w.radialDistributionX(r,o,C-S,g,s)}if(u.attribs={visibility:A,align:u.alignment},u.posAttribs={x:k+(l.x||0)+({left:b,right:-b}[u.alignment]||0),y:C+(l.y||0)-_/2},u.computed.x=k,u.computed.y=C-S,p(l.crop,!0)){let t;k-(n=s.getBBox().width)<b&&1===e?(t=Math.round(n-k+b),x[3]=Math.max(t,x[3])):k+n>a-b&&0===e&&(t=Math.round(k+n-a+b),x[1]=Math.max(t,x[1])),C-i/2<0?x[0]=Math.max(Math.round(i/2-C),x[0]):C+i/2>h&&(x[2]=Math.max(Math.round(C+i/2-h),x[2])),u.sideOverflow=t}}}))})))})),(0===u(x)||this.verifyDataLabelOverflow(x))&&(this.placeDataLabels(),this.points.forEach((t=>{(t.dataLabels||[]).forEach((n=>{var i;let{connectorColor:o,connectorWidth:a=1}=n.options||{},l=n.dataLabelPosition;if(a){let c;e=n.connector,l&&l.distance>0?(c=!e,e||(n.connector=e=s.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+t.colorIndex+(t.className?" "+t.className:"")).add(r.dataLabelsGroup)),s.styledMode||e.attr({"stroke-width":a,stroke:o||t.color||"#666666"}),e[c?"attr":"animate"]({d:t.getConnectorPath(n)}),e.attr({visibility:null==(i=l.attribs)?void 0:i.visibility})):e&&(n.connector=e.destroy())}}))}))))}function o(){this.points.forEach((t=>{(t.dataLabels||[]).forEach((t=>{var e;let n=t.dataLabelPosition;n?(n.sideOverflow&&(t.css({width:Math.max(t.getBBox().width-n.sideOverflow,0)+"px",textOverflow:((null==(e=t.options)?void 0:e.style)||{}).textOverflow||"ellipsis"}),t.shortened=!0),t.attr(n.attribs),t[t.moved?"animate":"attr"](n.posAttribs),t.moved=!0):t&&t.attr({y:-9999})})),delete t.distributeBox}),this)}function m(t){let e=this.center,n=this.options,i=n.center,r=n.minSize||80,o=r,s=null!==n.size;return!s&&(null!==i[0]?o=Math.max(e[2]-Math.max(t[1],t[3]),r):(o=Math.max(e[2]-t[1]-t[3],r),e[0]+=(t[3]-t[1])/2),null!==i[1]?o=h(o,r,e[2]-Math.max(t[0],t[2])):(o=h(o,r,e[2]-t[0]-t[2]),e[1]+=(t[0]-t[2])/2),o<e[2]?(e[2]=o,e[3]=Math.min(n.thickness?Math.max(0,o-2*n.thickness):Math.max(0,g(n.innerSize||0,o)),o),this.translate(e),this.drawDataLabels&&this.drawDataLabels()):s=!0),s}e.compose=function(e){if(t.compose(c),f(s,"PieDataLabel")){let t=e.prototype;t.dataLabelPositioners=n,t.alignDataLabel=a,t.drawDataLabels=r,t.getDataLabelPosition=i,t.placeDataLabels=o,t.verifyDataLabelOverflow=m}}}(o||(o={})),o})),n(e,"Core/Geometry/GeometryUtilities.js",[],(function(){var t,e;return(e=t||(t={})).getCenterOfPoints=function(t){let e=t.reduce(((t,e)=>(t.x+=e.x,t.y+=e.y,t)),{x:0,y:0});return{x:e.x/t.length,y:e.y/t.length}},e.getDistanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},e.getAngleBetweenPoints=function(t,e){return Math.atan2(e.x-t.x,e.y-t.y)},e.pointInPolygon=function({x:t,y:e},n){let i,r,o=n.length,s=!1;for(i=0,r=o-1;i<o;r=i++){let[o,a]=n[i],[l,c]=n[r];a>e!=c>e&&t<(l-o)*(e-a)/(c-a)+o&&(s=!s)}return s},t})),n(e,"Extensions/OverlappingDataLabels.js",[e["Core/Geometry/GeometryUtilities.js"],e["Core/Utilities.js"]],(function(t,e){let{pointInPolygon:n}=t,{addEvent:i,fireEvent:r,objectEach:o,pick:s}=e;function a(t){let e,i,o,s,a,c=t.length,u=(t,e)=>!(e.x>=t.x+t.width||e.x+e.width<=t.x||e.y>=t.y+t.height||e.y+e.height<=t.y),h=(t,e)=>{for(let i of t)if(n({x:i[0],y:i[1]},e))return!0;return!1},d=!1;for(let n=0;n<c;n++)(e=t[n])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.absoluteBox=function(t){var e,n;if(t&&(!t.alignAttr||t.placed)){let i=t.box?0:t.padding||0,r=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},o=t.getBBox();return t.width=o.width,t.height=o.height,{x:r.x+((null==(e=t.parentGroup)?void 0:e.translateX)||0)+i,y:r.y+((null==(n=t.parentGroup)?void 0:n.translateY)||0)+i,width:(t.width||0)-2*i,height:(t.height||0)-2*i,polygon:null==o?void 0:o.polygon}}}(e));t.sort(((t,e)=>(e.labelrank||0)-(t.labelrank||0)));for(let e=0;e<c;++e){s=(i=t[e])&&i.absoluteBox;let n=null==s?void 0:s.polygon;for(let r=e+1;r<c;++r){a=(o=t[r])&&o.absoluteBox;let e=!1;if(s&&a&&i!==o&&0!==i.newOpacity&&0!==o.newOpacity&&"hidden"!==i.visibility&&"hidden"!==o.visibility){let t=a.polygon;if(n&&t&&n!==t?h(n,t)&&(e=!0):u(s,a)&&(e=!0),e){let t=i.labelrank<o.labelrank?i:o,e=t.text;t.newOpacity=0,null!=e&&e.element.querySelector("textPath")&&e.hide()}}}}for(let e of t)l(e,this)&&(d=!0);d&&r(this,"afterHideAllOverlappingLabels")}function l(t,e){let n,i,o=!1;return t&&(i=t.newOpacity,t.oldOpacity!==i&&(t.hasClass("highcharts-data-label")?(t[i?"removeClass":"addClass"]("highcharts-data-label-hidden"),n=function(){e.styledMode||t.css({pointerEvents:i?"auto":"none"})},o=!0,t[t.isOld?"animate":"attr"]({opacity:i},void 0,n),r(e,"afterHideOverlappingLabel")):t.attr({opacity:i})),t.isOld=!0),o}function c(){var t;let e=this,n=[];for(let t of e.labelCollectors||[])n=n.concat(t());for(let t of e.yAxis||[])t.stacking&&t.options.stackLabels&&!t.options.stackLabels.allowOverlap&&o(t.stacking.stacks,(t=>{o(t,(t=>{t.label&&n.push(t.label)}))}));for(let i of e.series||[])if(i.visible&&null!=(t=i.hasDataLabels)&&t.call(i)){let t=t=>{for(let i of t)i.visible&&(i.dataLabels||[]).forEach((t=>{var r;let o=t.options||{};t.labelrank=s(o.labelrank,i.labelrank,null==(r=i.shapeArgs)?void 0:r.height),o.allowOverlap??Number(o.distance)>0?(t.oldOpacity=t.opacity,t.newOpacity=1,l(t,e)):n.push(t)}))};t(i.nodes||[]),t(i.points)}this.hideOverlappingLabels(n)}return{compose:function(t){let e=t.prototype;e.hideOverlappingLabels||(e.hideOverlappingLabels=a,i(t,"render",c))}}})),n(e,"Extensions/BorderRadius.js",[e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,n){let{defaultOptions:i}=t,{noop:r}=e,{addEvent:o,extend:s,isObject:a,merge:l,relativeLength:c}=n,u={radius:0,scope:"stack",where:void 0},h=r,d=r;function p(t,e,n,i,r={}){let o=h(t,e,n,i,r),{innerR:s=0,r:a=n,start:l=0,end:u=0}=r;if(r.open||!r.borderRadius)return o;let d=u-l,p=Math.sin(d/2),f=Math.max(Math.min(c(r.borderRadius||0,a-s),(a-s)/2,a*p/(1+p)),0),g=Math.min(f,d/Math.PI*2*s),m=o.length-1;for(;m--;)!function(t,e,n){let i,r,o,s=t[e],a=t[e+1];if("Z"===a[0]&&(a=t[0]),"M"!==s[0]&&"L"!==s[0]||"A"!==a[0]?"A"===s[0]&&("M"===a[0]||"L"===a[0])&&(i=a,r=s):(i=s,r=a,o=!0),i&&r&&r.params){let s=r[1],a=r[5],l=r.params,{start:c,end:u,cx:h,cy:d}=l,p=a?s-n:s+n,f=p?Math.asin(n/p):0,g=a?f:-f,m=Math.cos(f)*p;o?(l.start=c+g,i[1]=h+m*Math.cos(c),i[2]=d+m*Math.sin(c),t.splice(e+1,0,["A",n,n,0,0,1,h+s*Math.cos(l.start),d+s*Math.sin(l.start)])):(l.end=u-g,r[6]=h+s*Math.cos(l.end),r[7]=d+s*Math.sin(l.end),t.splice(e+1,0,["A",n,n,0,0,1,h+m*Math.cos(u),d+m*Math.sin(u)])),r[4]=Math.abs(l.end-l.start)<Math.PI?0:1}}(o,m,m>1?g:f);return o}function f(){var t,e;if(this.options.borderRadius&&(!this.chart.is3d||!this.chart.is3d())){let{options:n,yAxis:r}=this,o="percent"===n.stacking,l=null==(e=null==(t=i.plotOptions)?void 0:t[this.type])?void 0:e.borderRadius,u=g(n.borderRadius,a(l)?l:{}),h=r.options.reversed;for(let t of this.points){let{shapeArgs:e}=t;if("roundedRect"===t.shapeType&&e){let{width:i=0,height:a=0,y:l=0}=e,d=l,p=a;if("stack"===u.scope&&t.stackTotal){let e=r.translate(o?100:t.stackTotal,!1,!0,!1,!0),i=r.translate(n.threshold||0,!1,!0,!1,!0),s=this.crispCol(0,Math.min(e,i),0,Math.abs(e-i));d=s.y,p=s.height}let f=(t.negative?-1:1)*(h?-1:1)==-1,g=u.where;!g&&this.is("waterfall")&&Math.abs((t.yBottom||0)-(this.translatedThreshold||0))>this.borderWidth&&(g="all"),g||(g="end");let m=Math.min(c(u.radius,i),i/2,"all"===g?a/2:1/0)||0;"end"===g&&(f&&(d-=m),p+=m),s(e,{brBoxHeight:p,brBoxY:d,r:m})}}}}function g(t,e){return a(t)||(t={radius:t||0}),l(u,e,t)}function m(){let t=g(this.options.borderRadius);for(let e of this.points){let n=e.shapeArgs;n&&(n.borderRadius=c(t.radius,(n.r||0)-(n.innerR||0)))}}function v(t,e,n,i,r={}){let o=d(t,e,n,i,r),{r:s=0,brBoxHeight:a=i,brBoxY:l=e}=r,c=e-l,u=l+a-(e+i),h=c-s>-.1?0:s,p=u-s>-.1?0:s,f=Math.max(h&&c,0),g=Math.max(p&&u,0),m=[t+h,e],v=[t+n-h,e],y=[t+n,e+h],b=[t+n,e+i-p],_=[t+n-p,e+i],x=[t+p,e+i],w=[t,e+i-p],S=[t,e+h],k=(t,e)=>Math.sqrt(Math.pow(t,2)-Math.pow(e,2));if(f){let t=k(h,h-f);m[0]-=t,v[0]+=t,y[1]=S[1]=e+h-f}if(i<h-f){let r=k(h,h-f-i);y[0]=b[0]=t+n-h+r,_[0]=Math.min(y[0],_[0]),x[0]=Math.max(b[0],x[0]),w[0]=S[0]=t+h-r,y[1]=S[1]=e+i}if(g){let t=k(p,p-g);_[0]+=t,x[0]-=t,b[1]=w[1]=e+i-p+g}if(i<p-g){let r=k(p,p-g-i);y[0]=b[0]=t+n-p+r,v[0]=Math.min(y[0],v[0]),m[0]=Math.max(b[0],m[0]),w[0]=S[0]=t+p-r,b[1]=w[1]=e}return o.length=0,o.push(["M",...m],["L",...v],["A",h,h,0,0,1,...y],["L",...b],["A",p,p,0,0,1,..._],["L",...x],["A",p,p,0,0,1,...w],["L",...S],["A",h,h,0,0,1,...m],["Z"]),o}return{compose:function(t,e,n){let i=t.types.pie;if(!e.symbolCustomAttribs.includes("borderRadius")){let r=n.prototype.symbols;o(t,"afterColumnTranslate",f,{order:9}),o(i,"afterTranslate",m),e.symbolCustomAttribs.push("borderRadius","brBoxHeight","brBoxY"),h=r.arc,d=r.roundedRect,r.arc=p,r.roundedRect=v}},optionsToObject:g}})),n(e,"Core/Responsive.js",[e["Core/Utilities.js"]],(function(t){var e;let{diffObjects:n,extend:i,find:r,merge:o,pick:s,uniqueKey:a}=t;return function(t){function e(t,e){let n=t.condition;(n.callback||function(){return this.chartWidth<=s(n.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=s(n.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=s(n.minWidth,0)&&this.chartHeight>=s(n.minHeight,0)}).call(this)&&e.push(t._id)}function l(t,e){let i,s=this.options.responsive,l=this.currentResponsive,c=[];!e&&s&&s.rules&&s.rules.forEach((t=>{void 0===t._id&&(t._id=a()),this.matchResponsiveRule(t,c)}),this);let u=o(...c.map((t=>r((s||{}).rules||[],(e=>e._id===t)))).map((t=>t&&t.chartOptions)));u.isResponsiveOptions=!0,c=c.toString()||void 0;let h=l&&l.ruleIds;c===h||(l&&(this.currentResponsive=void 0,this.updatingResponsive=!0,this.update(l.undoOptions,t,!0),this.updatingResponsive=!1),c?((i=n(u,this.options,!0,this.collectionsWithUpdate)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:c,mergedOptions:u,undoOptions:i},this.updatingResponsive||this.update(u,t,!0)):this.currentResponsive=void 0)}t.compose=function(t){let n=t.prototype;return n.matchResponsiveRule||i(n,{matchResponsiveRule:e,setResponsive:l}),t}}(e||(e={})),e})),n(e,"masters/highcharts.src.js",[e["Core/Globals.js"],e["Core/Utilities.js"],e["Core/Defaults.js"],e["Core/Animation/Fx.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Templating.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Renderer/HTML/HTMLElement.js"],e["Core/Axis/Axis.js"],e["Core/Axis/DateTimeAxis.js"],e["Core/Axis/LogarithmicAxis.js"],e["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],e["Core/Axis/Tick.js"],e["Core/Tooltip.js"],e["Core/Series/Point.js"],e["Core/Pointer.js"],e["Core/Legend/Legend.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Chart/Chart.js"],e["Extensions/ScrollablePlotArea.js"],e["Core/Axis/Stacking/StackingAxis.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Series/Column/ColumnDataLabel.js"],e["Series/Pie/PieDataLabel.js"],e["Core/Series/DataLabel.js"],e["Extensions/OverlappingDataLabels.js"],e["Extensions/BorderRadius.js"],e["Core/Responsive.js"],e["Core/Color/Color.js"],e["Core/Time.js"]],(function(t,e,n,i,r,o,s,a,l,c,u,h,d,p,f,g,m,v,y,b,_,x,w,S,k,C,A,O,T,E,P,M,L,j,D,$){return t.AST=o,t.Axis=d,t.Chart=w,t.Color=D,t.DataLabel=P,t.Fx=i,t.HTMLElement=h,t.Legend=_,t.LegendSymbol=x,t.OverlappingDataLabels=t.OverlappingDataLabels||M,t.PlotLineOrBand=g,t.Point=y,t.Pointer=b,t.RendererRegistry=a,t.Series=A,t.SeriesRegistry=O,t.StackItem=C,t.SVGElement=c,t.SVGRenderer=u,t.Templating=s,t.Tick=m,t.Time=$,t.Tooltip=v,t.animate=r.animate,t.animObject=r.animObject,t.chart=w.chart,t.color=D.parse,t.dateFormat=s.dateFormat,t.defaultOptions=n.defaultOptions,t.distribute=l.distribute,t.format=s.format,t.getDeferredAnimation=r.getDeferredAnimation,t.getOptions=n.getOptions,t.numberFormat=s.numberFormat,t.seriesType=O.seriesType,t.setAnimation=r.setAnimation,t.setOptions=n.setOptions,t.stop=r.stop,t.time=n.defaultTime,t.timers=i.timers,L.compose(t.Series,t.SVGElement,t.SVGRenderer),T.compose(t.Series.types.column),P.compose(t.Series),p.compose(t.Axis),h.compose(t.SVGRenderer),_.compose(t.Chart),f.compose(t.Axis),M.compose(t.Chart),E.compose(t.Series.types.pie),g.compose(t.Axis),b.compose(t.Chart),j.compose(t.Chart),S.compose(t.Axis,t.Chart,t.Series),k.compose(t.Axis,t.Chart,t.Series),v.compose(t.Pointer),e.extend(t,e),t})),e["masters/highcharts.src.js"]._modules=e,e["masters/highcharts.src.js"]},t.exports?(n.default=n,t.exports=e&&e.document?n(e):n):(e.Highcharts&&e.Highcharts.error(16,!0),e.Highcharts=n(e))}(Ld);function jd(t,e,n){var i,r,o,s,a;function l(){var c=Date.now()-s;c<e&&c>=0?i=setTimeout(l,e-c):(i=null,n||(a=t.apply(o,r),o=r=null))}null==e&&(e=100);var c=function(){o=this,r=arguments,s=Date.now();var c=n&&!i;return i||(i=setTimeout(l,e)),c&&(a=t.apply(o,r),o=r=null),a};return c.clear=function(){i&&(clearTimeout(i),i=null)},c.flush=function(){i&&(a=t.apply(o,r),o=r=null,clearTimeout(i),i=null)},c}Boolean,jd.debounce=jd;var Dd=jd;function $d(t,e){var n=t.getBoundingClientRect();return{width:n.width/1,height:n.height/1,top:n.top/1,right:n.right/1,bottom:n.bottom/1,left:n.left/1,x:n.left/1,y:n.top/1}}function Rd(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Id(t){var e=Rd(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Bd(t){return t instanceof Rd(t).Element||t instanceof Element}function Nd(t){return t instanceof Rd(t).HTMLElement||t instanceof HTMLElement}function Fd(t){return!(typeof ShadowRoot>"u")&&(t instanceof Rd(t).ShadowRoot||t instanceof ShadowRoot)}function zd(t){return t?(t.nodeName||"").toLowerCase():null}function Vd(t){return((Bd(t)?t.ownerDocument:t.document)||window.document).documentElement}function Wd(t){return $d(Vd(t)).left+Id(t).scrollLeft}function Ud(t){return Rd(t).getComputedStyle(t)}function Hd(t){var e=Ud(t),n=e.overflow,i=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function qd(t,e,n){void 0===n&&(n=!1);var i=Nd(e);Nd(e)&&function(t){var e=t.getBoundingClientRect();e.width,t.offsetWidth,e.height,t.offsetHeight}(e);var r=Vd(e),o=$d(t),s={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(i||!i&&!n)&&(("body"!==zd(e)||Hd(r))&&(s=function(t){return t!==Rd(t)&&Nd(t)?function(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}(t):Id(t)}(e)),Nd(e)?((a=$d(e)).x+=e.clientLeft,a.y+=e.clientTop):r&&(a.x=Wd(r))),{x:o.left+s.scrollLeft-a.x,y:o.top+s.scrollTop-a.y,width:o.width,height:o.height}}function Gd(t){var e=$d(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function Xd(t){return"html"===zd(t)?t:t.assignedSlot||t.parentNode||(Fd(t)?t.host:null)||Vd(t)}function Yd(t){return["html","body","#document"].indexOf(zd(t))>=0?t.ownerDocument.body:Nd(t)&&Hd(t)?t:Yd(Xd(t))}function Kd(t,e){var n;void 0===e&&(e=[]);var i=Yd(t),r=i===(null==(n=t.ownerDocument)?void 0:n.body),o=Rd(i),s=r?[o].concat(o.visualViewport||[],Hd(i)?i:[]):i,a=e.concat(s);return r?a:a.concat(Kd(Xd(s)))}function Zd(t){return["table","td","th"].indexOf(zd(t))>=0}function Jd(t){return Nd(t)&&"fixed"!==Ud(t).position?t.offsetParent:null}function Qd(t){for(var e=Rd(t),n=Jd(t);n&&Zd(n)&&"static"===Ud(n).position;)n=Jd(n);return n&&("html"===zd(n)||"body"===zd(n)&&"static"===Ud(n).position)?e:n||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Nd(t)&&"fixed"===Ud(t).position)return null;for(var n=Xd(t);Nd(n)&&["html","body"].indexOf(zd(n))<0;){var i=Ud(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||e&&"filter"===i.willChange||e&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||e}var tp="top",ep="bottom",np="right",ip="left",rp="auto",op=[tp,ep,np,ip],sp="start",ap="end",lp="viewport",cp="popper",up=op.reduce((function(t,e){return t.concat([e+"-"+sp,e+"-"+ap])}),[]),hp=[].concat(op,[rp]).reduce((function(t,e){return t.concat([e,e+"-"+sp,e+"-"+ap])}),[]),dp=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function pp(t){var e=new Map,n=new Set,i=[];function r(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var i=e.get(t);i&&r(i)}})),i.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||r(t)})),i}function fp(t){var e;return function(){return e||(e=new Promise((function(n){Promise.resolve().then((function(){e=void 0,n(t())}))}))),e}}function gp(t){return t.split("-")[0]}var mp=Math.max,vp=Math.min,yp=Math.round;function bp(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Fd(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function _p(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function xp(t,e){return e===lp?_p(function(t){var e=Rd(t),n=Vd(t),i=e.visualViewport,r=n.clientWidth,o=n.clientHeight,s=0,a=0;return i&&(r=i.width,o=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=i.offsetLeft,a=i.offsetTop)),{width:r,height:o,x:s+Wd(t),y:a}}(t)):Nd(e)?function(t){var e=$d(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):_p(function(t){var e,n=Vd(t),i=Id(t),r=null==(e=t.ownerDocument)?void 0:e.body,o=mp(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=mp(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-i.scrollLeft+Wd(t),l=-i.scrollTop;return"rtl"===Ud(r||n).direction&&(a+=mp(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}(Vd(t)))}function wp(t){return t.split("-")[1]}function Sp(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function kp(t){var e,n=t.reference,i=t.element,r=t.placement,o=r?gp(r):null,s=r?wp(r):null,a=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(o){case tp:e={x:a,y:n.y-i.height};break;case ep:e={x:a,y:n.y+n.height};break;case np:e={x:n.x+n.width,y:l};break;case ip:e={x:n.x-i.width,y:l};break;default:e={x:n.x,y:n.y}}var c=o?Sp(o):null;if(null!=c){var u="y"===c?"height":"width";switch(s){case sp:e[c]=e[c]-(n[u]/2-i[u]/2);break;case ap:e[c]=e[c]+(n[u]/2-i[u]/2)}}return e}function Cp(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function Ap(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function Op(t,e){void 0===e&&(e={});var n=e,i=n.placement,r=void 0===i?t.placement:i,o=n.boundary,s=void 0===o?"clippingParents":o,a=n.rootBoundary,l=void 0===a?lp:a,c=n.elementContext,u=void 0===c?cp:c,h=n.altBoundary,d=void 0!==h&&h,p=n.padding,f=void 0===p?0:p,g=Cp("number"!=typeof f?f:Ap(f,op)),m=u===cp?"reference":cp,v=t.rects.popper,y=t.elements[d?m:u],b=function(t,e,n){var i="clippingParents"===e?function(t){var e=Kd(Xd(t)),n=["absolute","fixed"].indexOf(Ud(t).position)>=0&&Nd(t)?Qd(t):t;return Bd(n)?e.filter((function(t){return Bd(t)&&bp(t,n)&&"body"!==zd(t)})):[]}(t):[].concat(e),r=[].concat(i,[n]),o=r[0],s=r.reduce((function(e,n){var i=xp(t,n);return e.top=mp(i.top,e.top),e.right=vp(i.right,e.right),e.bottom=vp(i.bottom,e.bottom),e.left=mp(i.left,e.left),e}),xp(t,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(Bd(y)?y:y.contextElement||Vd(t.elements.popper),s,l),_=$d(t.elements.reference),x=kp({reference:_,element:v,strategy:"absolute",placement:r}),w=_p(Object.assign({},v,x)),S=u===cp?w:_,k={top:b.top-S.top+g.top,bottom:S.bottom-b.bottom+g.bottom,left:b.left-S.left+g.left,right:S.right-b.right+g.right},C=t.modifiersData.offset;if(u===cp&&C){var A=C[r];Object.keys(k).forEach((function(t){var e=[np,ep].indexOf(t)>=0?1:-1,n=[tp,ep].indexOf(t)>=0?"y":"x";k[t]+=A[n]*e}))}return k}var Tp={placement:"bottom",modifiers:[],strategy:"absolute"};function Ep(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function Pp(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,r=e.defaultOptions,o=void 0===r?Tp:r;return function(t,e,n){void 0===n&&(n=o);var r={placement:"bottom",orderedModifiers:[],options:Object.assign({},Tp,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},s=[],a=!1,l={state:r,setOptions:function(n){var a="function"==typeof n?n(r.options):n;c(),r.options=Object.assign({},o,r.options,a),r.scrollParents={reference:Bd(t)?Kd(t):t.contextElement?Kd(t.contextElement):[],popper:Kd(e)};var u=function(t){var e=pp(t);return dp.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}(function(t){var e=t.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{});return Object.keys(e).map((function(t){return e[t]}))}([].concat(i,r.options.modifiers)));return r.orderedModifiers=u.filter((function(t){return t.enabled})),r.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,i=void 0===n?{}:n,o=t.effect;if("function"==typeof o){var a=o({state:r,name:e,instance:l,options:i});s.push(a||function(){})}})),l.update()},forceUpdate:function(){if(!a){var t=r.elements,e=t.reference,n=t.popper;if(Ep(e,n)){r.rects={reference:qd(e,Qd(n),"fixed"===r.options.strategy),popper:Gd(n)},r.reset=!1,r.placement=r.options.placement,r.orderedModifiers.forEach((function(t){return r.modifiersData[t.name]=Object.assign({},t.data)}));for(var i=0;i<r.orderedModifiers.length;i++)if(!0!==r.reset){var o=r.orderedModifiers[i],s=o.fn,c=o.options,u=void 0===c?{}:c,h=o.name;"function"==typeof s&&(r=s({state:r,options:u,name:h,instance:l})||r)}else r.reset=!1,i=-1}}},update:fp((function(){return new Promise((function(t){l.forceUpdate(),t(r)}))})),destroy:function(){c(),a=!0}};if(!Ep(t,e))return l;function c(){s.forEach((function(t){return t()})),s=[]}return l.setOptions(n).then((function(t){!a&&n.onFirstUpdate&&n.onFirstUpdate(t)})),l}}var Mp={passive:!0},Lp={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,i=t.options,r=i.scroll,o=void 0===r||r,s=i.resize,a=void 0===s||s,l=Rd(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach((function(t){t.addEventListener("scroll",n.update,Mp)})),a&&l.addEventListener("resize",n.update,Mp),function(){o&&c.forEach((function(t){t.removeEventListener("scroll",n.update,Mp)})),a&&l.removeEventListener("resize",n.update,Mp)}},data:{}},jp={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=kp({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},Dp={top:"auto",right:"auto",bottom:"auto",left:"auto"};function $p(t){var e,n=t.popper,i=t.popperRect,r=t.placement,o=t.variation,s=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,h=!0===u?function(t){var e=t.x,n=t.y,i=window.devicePixelRatio||1;return{x:yp(yp(e*i)/i)||0,y:yp(yp(n*i)/i)||0}}(s):"function"==typeof u?u(s):s,d=h.x,p=void 0===d?0:d,f=h.y,g=void 0===f?0:f,m=s.hasOwnProperty("x"),v=s.hasOwnProperty("y"),y=ip,b=tp,_=window;if(c){var x=Qd(n),w="clientHeight",S="clientWidth";x===Rd(n)&&"static"!==Ud(x=Vd(n)).position&&"absolute"===a&&(w="scrollHeight",S="scrollWidth"),(r===tp||(r===ip||r===np)&&o===ap)&&(b=ep,g-=x[w]-i.height,g*=l?1:-1),(r===ip||(r===tp||r===ep)&&o===ap)&&(y=np,p-=x[S]-i.width,p*=l?1:-1)}var k,C=Object.assign({position:a},c&&Dp);return l?Object.assign({},C,((k={})[b]=v?"0":"",k[y]=m?"0":"",k.transform=(_.devicePixelRatio||1)<=1?"translate("+p+"px, "+g+"px)":"translate3d("+p+"px, "+g+"px, 0)",k)):Object.assign({},C,((e={})[b]=v?g+"px":"",e[y]=m?p+"px":"",e.transform="",e))}var Rp={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,s=void 0===o||o,a=n.roundOffsets,l=void 0===a||a,c={placement:gp(e.placement),variation:wp(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,$p(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,$p(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},Ip={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},r=e.elements[t];!Nd(r)||!zd(r)||(Object.assign(r.style,n),Object.keys(i).forEach((function(t){var e=i[t];!1===e?r.removeAttribute(t):r.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var i=e.elements[t],r=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});!Nd(i)||!zd(i)||(Object.assign(i.style,o),Object.keys(r).forEach((function(t){i.removeAttribute(t)})))}))}},requires:["computeStyles"]},Bp=Pp({defaultModifiers:[Lp,jp,Rp,Ip]});function Np(t,e,n){return mp(t,vp(e,n))}var Fp={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.mainAxis,o=void 0===r||r,s=n.altAxis,a=void 0!==s&&s,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,h=n.padding,d=n.tether,p=void 0===d||d,f=n.tetherOffset,g=void 0===f?0:f,m=Op(e,{boundary:l,rootBoundary:c,padding:h,altBoundary:u}),v=gp(e.placement),y=wp(e.placement),b=!y,_=Sp(v),x=function(t){return"x"===t?"y":"x"}(_),w=e.modifiersData.popperOffsets,S=e.rects.reference,k=e.rects.popper,C="function"==typeof g?g(Object.assign({},e.rects,{placement:e.placement})):g,A={x:0,y:0};if(w){if(o||a){var O="y"===_?tp:ip,T="y"===_?ep:np,E="y"===_?"height":"width",P=w[_],M=w[_]+m[O],L=w[_]-m[T],j=p?-k[E]/2:0,D=y===sp?S[E]:k[E],$=y===sp?-k[E]:-S[E],R=e.elements.arrow,I=p&&R?Gd(R):{width:0,height:0},B=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},N=B[O],F=B[T],z=Np(0,S[E],I[E]),V=b?S[E]/2-j-z-N-C:D-z-N-C,W=b?-S[E]/2+j+z+F+C:$+z+F+C,U=e.elements.arrow&&Qd(e.elements.arrow),H=U?"y"===_?U.clientTop||0:U.clientLeft||0:0,q=e.modifiersData.offset?e.modifiersData.offset[e.placement][_]:0,G=w[_]+V-q-H,X=w[_]+W-q;if(o){var Y=Np(p?vp(M,G):M,P,p?mp(L,X):L);w[_]=Y,A[_]=Y-P}if(a){var K="x"===_?tp:ip,Z="x"===_?ep:np,J=w[x],Q=J+m[K],tt=J-m[Z],et=Np(p?vp(Q,G):Q,J,p?mp(tt,X):tt);w[x]=et,A[x]=et-J}}e.modifiersData[i]=A}},requiresIfExists:["offset"]},zp={left:"right",right:"left",bottom:"top",top:"bottom"};function Vp(t){return t.replace(/left|right|bottom|top/g,(function(t){return zp[t]}))}var Wp={start:"end",end:"start"};function Up(t){return t.replace(/start|end/g,(function(t){return Wp[t]}))}var Hp={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var r=n.mainAxis,o=void 0===r||r,s=n.altAxis,a=void 0===s||s,l=n.fallbackPlacements,c=n.padding,u=n.boundary,h=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,f=void 0===p||p,g=n.allowedAutoPlacements,m=e.options.placement,v=gp(m),y=l||(v!==m&&f?function(t){if(gp(t)===rp)return[];var e=Vp(t);return[Up(t),e,Up(e)]}(m):[Vp(m)]),b=[m].concat(y).reduce((function(t,n){return t.concat(gp(n)===rp?function(t,e){void 0===e&&(e={});var n=e,i=n.placement,r=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?hp:l,u=wp(i),h=u?a?up:up.filter((function(t){return wp(t)===u})):op,d=h.filter((function(t){return c.indexOf(t)>=0}));0===d.length&&(d=h);var p=d.reduce((function(e,n){return e[n]=Op(t,{placement:n,boundary:r,rootBoundary:o,padding:s})[gp(n)],e}),{});return Object.keys(p).sort((function(t,e){return p[t]-p[e]}))}(e,{placement:n,boundary:u,rootBoundary:h,padding:c,flipVariations:f,allowedAutoPlacements:g}):n)}),[]),_=e.rects.reference,x=e.rects.popper,w=new Map,S=!0,k=b[0],C=0;C<b.length;C++){var A=b[C],O=gp(A),T=wp(A)===sp,E=[tp,ep].indexOf(O)>=0,P=E?"width":"height",M=Op(e,{placement:A,boundary:u,rootBoundary:h,altBoundary:d,padding:c}),L=E?T?np:ip:T?ep:tp;_[P]>x[P]&&(L=Vp(L));var j=Vp(L),D=[];if(o&&D.push(M[O]<=0),a&&D.push(M[L]<=0,M[j]<=0),D.every((function(t){return t}))){k=A,S=!1;break}w.set(A,D)}if(S)for(var $=function(t){var e=b.find((function(e){var n=w.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return k=e,"break"},R=f?3:1;R>0&&"break"!==$(R);R--);e.placement!==k&&(e.modifiersData[i]._skip=!0,e.placement=k,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},qp={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.offset,o=void 0===r?[0,0]:r,s=hp.reduce((function(t,n){return t[n]=function(t,e,n){var i=gp(t),r=[ip,tp].indexOf(i)>=0?-1:1,o="function"==typeof n?n(Object.assign({},e,{placement:t})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*r,[ip,np].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}(n,e.rects,o),t}),{}),a=s[e.placement],l=a.x,c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[i]=s}},Gp={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,i=t.name,r=t.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=gp(n.placement),l=Sp(a),c=[ip,np].indexOf(a)>=0?"height":"width";if(o&&s){var u=function(t,e){return Cp("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:Ap(t,op))}(r.padding,n),h=Gd(o),d="y"===l?tp:ip,p="y"===l?ep:np,f=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],g=s[l]-n.rects.reference[l],m=Qd(o),v=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,y=f/2-g/2,b=u[d],_=v-h[c]-u[p],x=v/2-h[c]/2+y,w=Np(b,x,_),S=l;n.modifiersData[i]=((e={})[S]=w,e.centerOffset=w-x,e)}},effect:function(t){var e=t.state,n=t.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"==typeof i&&!(i=e.elements.popper.querySelector(i))||bp(e.elements.popper,i)&&(e.elements.arrow=i))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};const Xp=t=>parseInt(t,10);const Yp={id:"arrow","data-popper-arrow":""};function Kp(t,e){void 0===e&&(e={});var n=e.insertAt;if(t&&!(typeof document>"u")){var i=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&i.firstChild?i.insertBefore(r,i.firstChild):i.appendChild(r),r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t))}}Kp('\n#arrow[data-v-20b7fd4a],\n #arrow[data-v-20b7fd4a]::before {\n transition: background 250ms ease-in-out;\n position: absolute;\n width: calc(10px - var(--popper-theme-border-width, 0px));\n height: calc(10px - var(--popper-theme-border-width, 0px));\n box-sizing: border-box;\n background: var(--popper-theme-background-color);\n}\n#arrow[data-v-20b7fd4a] {\n visibility: hidden;\n}\n#arrow[data-v-20b7fd4a]::before {\n visibility: visible;\n content: "";\n transform: rotate(45deg);\n}\n\n /* Top arrow */\n.popper[data-popper-placement^="top"] > #arrow[data-v-20b7fd4a] {\n bottom: -5px;\n}\n.popper[data-popper-placement^="top"] > #arrow[data-v-20b7fd4a]::before {\n border-right: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n border-bottom: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n}\n\n /* Bottom arrow */\n.popper[data-popper-placement^="bottom"] > #arrow[data-v-20b7fd4a] {\n top: -5px;\n}\n.popper[data-popper-placement^="bottom"] > #arrow[data-v-20b7fd4a]::before {\n border-left: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n border-top: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n}\n\n /* Left arrow */\n.popper[data-popper-placement^="left"] > #arrow[data-v-20b7fd4a] {\n right: -5px;\n}\n.popper[data-popper-placement^="left"] > #arrow[data-v-20b7fd4a]::before {\n border-right: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n border-top: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n}\n\n /* Right arrow */\n.popper[data-popper-placement^="right"] > #arrow[data-v-20b7fd4a] {\n left: -5px;\n}\n');var Zp={render:function(t,e){return Yr(),Qr("div",Yp)},__scopeId:"data-v-20b7fd4a"};const Jp=["onKeyup"];var Qp={props:{placement:{type:String,default:"bottom",validator:function(t){return["auto","auto-start","auto-end","top","top-start","top-end","bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end"].includes(t)}},disableClickAway:{type:Boolean,default:!1},offsetSkid:{type:String,default:"0"},offsetDistance:{type:String,default:"12"},hover:{type:Boolean,default:!1},show:{type:Boolean,default:null},disabled:{type:Boolean,default:!1},openDelay:{type:[Number,String],default:0},closeDelay:{type:[Number,String],default:0},zIndex:{type:[Number,String],default:9999},arrow:{type:Boolean,default:!1},arrowPadding:{type:String,default:"0"},interactive:{type:Boolean,default:!0},locked:{type:Boolean,default:!1},content:{type:String,default:null}},emits:["open:popper","close:popper"],setup(t,{emit:e}){const n=t;hs((e=>({c81fc0a4:t.zIndex})));const i=Ni(),r=Be(null),o=Be(null),s=Be(null),a=Be(!1);gi((()=>{const t=i.default();if(t&&t.length>1)return console.error(`[Popper]: The <Popper> component expects only one child element at its root. You passed ${t.length} child nodes.`)}));const{arrowPadding:l,closeDelay:c,content:u,disableClickAway:h,disabled:d,interactive:p,locked:f,offsetDistance:g,offsetSkid:m,openDelay:v,placement:y,show:b}=He(n),{isOpen:_,open:x,close:w}=function({arrowPadding:t,emit:e,locked:n,offsetDistance:i,offsetSkid:r,placement:o,popperNode:s,triggerNode:a}){const l=Ce({isOpen:!1,popperInstance:null}),c=t=>{var e;null===(e=l.popperInstance)||void 0===e||e.setOptions((e=>({...e,modifiers:[...e.modifiers,{name:"eventListeners",enabled:t}]})))};Pr([()=>l.isOpen,o],(async([t])=>{t?(await u(),c(!0)):c(!1)}));const u=async()=>{await pn(),l.popperInstance=Bp(a.value,s.value,{placement:o.value,modifiers:[Fp,Hp,{name:"flip",enabled:!n.value},Gp,{name:"arrow",options:{padding:Xp(t.value)}},qp,{name:"offset",options:{offset:[Xp(r.value),Xp(i.value)]}}]}),l.popperInstance.update()};return yi((()=>{var t;null===(t=l.popperInstance)||void 0===t||t.destroy()})),{...He(l),open:()=>{l.isOpen||(l.isOpen=!0,e("open:popper"))},close:()=>{l.isOpen&&(l.isOpen=!1,e("close:popper"))}}}({arrowPadding:l,emit:e,locked:f,offsetDistance:g,offsetSkid:m,placement:y,popperNode:o,triggerNode:s}),{hasContent:S}=function(t,e,n){let i=null;const r=Be(!1);gi((()=>{(void 0!==t.content||n.value)&&(r.value=!0),i=new MutationObserver(o),i.observe(e.value,{childList:!0,subtree:!0})})),yi((()=>i.disconnect())),Pr(n,(t=>{r.value=!!t}));const o=()=>{t.content?r.value=!0:r.value=!1};return{hasContent:r}}(i,o,u),k=$o((()=>null!==b.value)),C=$o((()=>d.value||!S.value)),A=$o((()=>_.value&&!C.value)),O=$o((()=>!h.value&&!k.value)),T=$o((()=>p.value?`border: ${g.value}px solid transparent; margin: -${g.value}px;`:null)),E=Dd.debounce(x,v.value),P=Dd.debounce(w,c.value),M=async()=>{C.value||k.value||(P.clear(),E())},L=async()=>{k.value||(E.clear(),P())},j=()=>{_.value?L():M()};return Pr([S,d],(([t,e])=>{_.value&&(!t||e)&&w()})),Pr(_,(t=>{t?a.value=!0:Dd.debounce((()=>{a.value=!1}),200)})),Er((()=>{k.value&&(b.value?E():P())})),Er((()=>{O.value&&function(t,e){typeof window>"u"||!window||function(t,e,n){Ie(t)?Pr(t,((t,i)=>{null==i||i.removeEventListener(e,n),null==t||t.addEventListener(e,n)})):gi((()=>{t.addEventListener(e,n)})),yi((()=>{var i;null===(i=Ve(t))||void 0===i||i.removeEventListener(e,n)}))}(window,"pointerdown",(n=>{const i=Ve(t);i&&(i===n.target||n.composedPath().includes(i)||e(n))}))}(r,L)})),(e,n)=>(Yr(),Qr("div",{class:"inline-block",style:U(Ve(T)),onMouseleave:n[2]||(n[2]=e=>t.hover&&L()),ref:(t,e)=>{e.popperContainerNode=t,r.value=t}},[oo("div",{ref:(t,e)=>{e.triggerNode=t,s.value=t},onMouseover:n[0]||(n[0]=e=>t.hover&&M()),onClick:j,onFocus:M,onKeyup:Bs(L,["esc"])},[Li(e.$slots,"default")],40,Jp),so(Yo,{name:"fade"},{default:$n((()=>[Rn(oo("div",{onClick:n[1]||(n[1]=t=>!Ve(p)&&L()),class:"popper",ref:(t,e)=>{e.popperNode=t,o.value=t}},[Li(e.$slots,"content",{close:Ve(w),isOpen:a.value},(()=>[co(nt(Ve(u)),1)])),t.arrow?(Yr(),to(Zp,{key:0})):uo("",!0)],512),[[ls,Ve(A)]])])),_:3})],36))}};Kp("\n.inline-block[data-v-5784ed69] {\n display: inline-block;\n}\n.popper[data-v-5784ed69] {\n transition: background 250ms ease-in-out;\n background: var(--popper-theme-background-color);\n padding: var(--popper-theme-padding);\n color: var(--popper-theme-text-color);\n border-radius: var(--popper-theme-border-radius);\n border-width: var(--popper-theme-border-width);\n border-style: var(--popper-theme-border-style);\n border-color: var(--popper-theme-border-color);\n box-shadow: var(--popper-theme-box-shadow);\n z-index: var(--c81fc0a4);\n}\n.popper[data-v-5784ed69]:hover,\n .popper:hover > #arrow[data-v-5784ed69]::before {\n background: var(--popper-theme-background-color-hover);\n}\n.inline-block[data-v-5784ed69] {\n display: inline-block;\n}\n.fade-enter-active[data-v-5784ed69],\n .fade-leave-active[data-v-5784ed69] {\n transition: opacity 0.2s ease;\n}\n.fade-enter-from[data-v-5784ed69],\n .fade-leave-to[data-v-5784ed69] {\n opacity: 0;\n}\n"),Qp.__scopeId="data-v-5784ed69";var tf=(()=>{const t=Qp;return t.install=e=>{e.component("Popper",t)},t})();const ef=ti({__name:"index",props:{arrow:{type:Boolean},hover:{type:Boolean},offsetDistance:{},offsetSkid:{},placement:{default:"bottom-end"}},emits:["open:popover","close:popover"],setup(t,{emit:e}){const n=Ni();function i(){e("open:popover")}function r(){e("close:popover")}return(t,e)=>(Yr(),to(Ve(tf),go({...t.$attrs,...t.$props},{class:"popover","onOpen:popper":i,"onClose:popper":r}),Mi({default:$n((()=>[Li(t.$slots,"default")])),_:2},[Ve(n).tooltip?{name:"content",fn:$n((e=>[Li(t.$slots,"tooltip",K(ao(e)))])),key:"0"}:void 0]),1040))}});ti({name:"DropdownMenu",components:{IconViewer:Od,Popover:ef},props:{position:{type:String,default:"bottom-end"},hoverable:{type:Boolean,default:!1},icon:{type:String,required:!1},offsetDistance:{type:String,default:"12",required:!1}},emits:["close-dropdown"],data:()=>({showDropdown:!1}),mounted(){document&&document.addEventListener("click",this.clickHandler)},unmounted(){document&&document.removeEventListener("click",this.clickHandler)},methods:{clickHandler(t){t.target.getAttribute("disable-close")||this.$refs.popover&&!this.$refs.popover.$el.contains(t.target)&&this.close()},handleMouseEnter(){this.hoverable&&(this.showDropdown=!0)},handleMouseLeave(){this.hoverable&&this.close()},toggleOnClick(t){t.target.getAttribute("disable-close")||(this.showDropdown=!this.showDropdown)},close(){this.$emit("close-dropdown"),this.showDropdown=!1}}});function nf(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function rf(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?nf(Object(n),!0).forEach((function(e){sf(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):nf(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function of(t){return(of="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function sf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function af(){return af=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},af.apply(this,arguments)}function lf(t){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(t)}var cf=lf(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),uf=lf(/Edge/i),hf=lf(/firefox/i),df=lf(/safari/i)&&!lf(/chrome/i)&&!lf(/android/i),pf=lf(/iP(ad|od|hone)/i),ff=lf(/chrome/i)&&lf(/android/i),gf={capture:!1,passive:!1};function mf(t,e,n){t.addEventListener(e,n,!cf&&gf)}function vf(t,e,n){t.removeEventListener(e,n,!cf&&gf)}function yf(t,e){if(e){if(">"===e[0]&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch{return!1}return!1}}function bf(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function _f(t,e,n,i){if(t){n=n||document;do{if(null!=e&&(">"===e[0]?t.parentNode===n&&yf(t,e):yf(t,e))||i&&t===n)return t;if(t===n)break}while(t=bf(t))}return null}var xf,wf=/\s+/g;function Sf(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var i=(" "+t.className+" ").replace(wf," ").replace(" "+e+" "," ");t.className=(i+(n?" "+e:"")).replace(wf," ")}}function kf(t,e,n){var i=t&&t.style;if(i){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===e?n:n[e];!(e in i)&&-1===e.indexOf("webkit")&&(e="-webkit-"+e),i[e]=n+("string"==typeof n?"":"px")}}function Cf(t,e){var n="";if("string"==typeof t)n=t;else do{var i=kf(t,"transform");i&&"none"!==i&&(n=i+" "+n)}while(!e&&(t=t.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(n)}function Af(t,e,n){if(t){var i=t.getElementsByTagName(e),r=0,o=i.length;if(n)for(;r<o;r++)n(i[r],r);return i}return[]}function Of(){return document.scrollingElement||document.documentElement}function Tf(t,e,n,i,r){if(t.getBoundingClientRect||t===window){var o,s,a,l,c,u,h;if(t!==window&&t.parentNode&&t!==Of()?(s=(o=t.getBoundingClientRect()).top,a=o.left,l=o.bottom,c=o.right,u=o.height,h=o.width):(s=0,a=0,l=window.innerHeight,c=window.innerWidth,u=window.innerHeight,h=window.innerWidth),(e||n)&&t!==window&&(r=r||t.parentNode,!cf))do{if(r&&r.getBoundingClientRect&&("none"!==kf(r,"transform")||n&&"static"!==kf(r,"position"))){var d=r.getBoundingClientRect();s-=d.top+parseInt(kf(r,"border-top-width")),a-=d.left+parseInt(kf(r,"border-left-width")),l=s+o.height,c=a+o.width;break}}while(r=r.parentNode);if(i&&t!==window){var p=Cf(r||t),f=p&&p.a,g=p&&p.d;p&&(l=(s/=g)+(u/=g),c=(a/=f)+(h/=f))}return{top:s,left:a,bottom:l,right:c,width:h,height:u}}}function Ef(t,e,n){for(var i=Df(t,!0),r=Tf(t)[e];i;){if(!(r>=Tf(i)[n]))return i;if(i===Of())break;i=Df(i,!1)}return!1}function Pf(t,e,n,i){for(var r=0,o=0,s=t.children;o<s.length;){if("none"!==s[o].style.display&&s[o]!==Rg.ghost&&(i||s[o]!==Rg.dragged)&&_f(s[o],n.draggable,t,!1)){if(r===e)return s[o];r++}o++}return null}function Mf(t,e){for(var n=t.lastElementChild;n&&(n===Rg.ghost||"none"===kf(n,"display")||e&&!yf(n,e));)n=n.previousElementSibling;return n||null}function Lf(t,e){var n=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"!==t.nodeName.toUpperCase()&&t!==Rg.clone&&(!e||yf(t,e))&&n++;return n}function jf(t){var e=0,n=0,i=Of();if(t)do{var r=Cf(t),o=r.a,s=r.d;e+=t.scrollLeft*o,n+=t.scrollTop*s}while(t!==i&&(t=t.parentNode));return[e,n]}function Df(t,e){if(!t||!t.getBoundingClientRect)return Of();var n=t,i=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var r=kf(n);if(n.clientWidth<n.scrollWidth&&("auto"==r.overflowX||"scroll"==r.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==r.overflowY||"scroll"==r.overflowY)){if(!n.getBoundingClientRect||n===document.body)return Of();if(i||e)return n;i=!0}}}while(n=n.parentNode);return Of()}function $f(t,e){return Math.round(t.top)===Math.round(e.top)&&Math.round(t.left)===Math.round(e.left)&&Math.round(t.height)===Math.round(e.height)&&Math.round(t.width)===Math.round(e.width)}function Rf(t,e){return function(){if(!xf){var n=arguments;1===n.length?t.call(this,n[0]):t.apply(this,n),xf=setTimeout((function(){xf=void 0}),e)}}}function If(t,e,n){t.scrollLeft+=e,t.scrollTop+=n}function Bf(t){var e=window.Polymer,n=window.jQuery||window.Zepto;return e&&e.dom?e.dom(t).cloneNode(!0):n?n(t).clone(!0)[0]:t.cloneNode(!0)}var Nf="Sortable"+(new Date).getTime();var Ff=[],zf={initializeByDefault:!0},Vf={mount:function(t){for(var e in zf)zf.hasOwnProperty(e)&&!(e in t)&&(t[e]=zf[e]);Ff.forEach((function(e){if(e.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),Ff.push(t)},pluginEvent:function(t,e,n){var i=this;this.eventCanceled=!1,n.cancel=function(){i.eventCanceled=!0};var r=t+"Global";Ff.forEach((function(i){e[i.pluginName]&&(e[i.pluginName][r]&&e[i.pluginName][r](rf({sortable:e},n)),e.options[i.pluginName]&&e[i.pluginName][t]&&e[i.pluginName][t](rf({sortable:e},n)))}))},initializePlugins:function(t,e,n,i){for(var r in Ff.forEach((function(i){var r=i.pluginName;if(t.options[r]||i.initializeByDefault){var o=new i(t,e,t.options);o.sortable=t,o.options=t.options,t[r]=o,af(n,o.defaults)}})),t.options)if(t.options.hasOwnProperty(r)){var o=this.modifyOption(t,r,t.options[r]);typeof o<"u"&&(t.options[r]=o)}},getEventProperties:function(t,e){var n={};return Ff.forEach((function(i){"function"==typeof i.eventProperties&&af(n,i.eventProperties.call(e[i.pluginName],t))})),n},modifyOption:function(t,e,n){var i;return Ff.forEach((function(r){t[r.pluginName]&&r.optionListeners&&"function"==typeof r.optionListeners[e]&&(i=r.optionListeners[e].call(t[r.pluginName],n))})),i}},Wf=["evt"],Uf=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.evt,r=function(t,e){if(null==t)return{};var n,i,r=function(t,e){if(null==t)return{};var n,i,r={},o=Object.keys(t);for(i=0;i<o.length;i++)n=o[i],!(e.indexOf(n)>=0)&&(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)n=o[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}(n,Wf);Vf.pluginEvent.bind(Rg)(t,e,rf({dragEl:qf,parentEl:Gf,ghostEl:Xf,rootEl:Yf,nextEl:Kf,lastDownEl:Zf,cloneEl:Jf,cloneHidden:Qf,dragStarted:dg,putSortable:og,activeSortable:Rg.active,originalEvent:i,oldIndex:tg,oldDraggableIndex:ng,newIndex:eg,newDraggableIndex:ig,hideGhostForTarget:Lg,unhideGhostForTarget:jg,cloneNowHidden:function(){Qf=!0},cloneNowShown:function(){Qf=!1},dispatchSortableEvent:function(t){Hf({sortable:e,name:t,originalEvent:i})}},r))};function Hf(t){!function(t){var e=t.sortable,n=t.rootEl,i=t.name,r=t.targetEl,o=t.cloneEl,s=t.toEl,a=t.fromEl,l=t.oldIndex,c=t.newIndex,u=t.oldDraggableIndex,h=t.newDraggableIndex,d=t.originalEvent,p=t.putSortable,f=t.extraEventProperties;if(e=e||n&&n[Nf]){var g,m=e.options,v="on"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||cf||uf?(g=document.createEvent("Event")).initEvent(i,!0,!0):g=new CustomEvent(i,{bubbles:!0,cancelable:!0}),g.to=s||n,g.from=a||n,g.item=r||n,g.clone=o,g.oldIndex=l,g.newIndex=c,g.oldDraggableIndex=u,g.newDraggableIndex=h,g.originalEvent=d,g.pullMode=p?p.lastPutMode:void 0;var y=rf(rf({},f),Vf.getEventProperties(i,e));for(var b in y)g[b]=y[b];n&&n.dispatchEvent(g),m[v]&&m[v].call(e,g)}}(rf({putSortable:og,cloneEl:Jf,targetEl:qf,rootEl:Yf,oldIndex:tg,oldDraggableIndex:ng,newIndex:eg,newDraggableIndex:ig},t))}var qf,Gf,Xf,Yf,Kf,Zf,Jf,Qf,tg,eg,ng,ig,rg,og,sg,ag,lg,cg,ug,hg,dg,pg,fg,gg,mg,vg=!1,yg=!1,bg=[],_g=!1,xg=!1,wg=[],Sg=!1,kg=[],Cg=typeof document<"u",Ag=pf,Og=uf||cf?"cssFloat":"float",Tg=Cg&&!ff&&!pf&&"draggable"in document.createElement("div"),Eg=function(){if(Cg){if(cf)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Pg=function(t,e){var n=kf(t),i=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),r=Pf(t,0,e),o=Pf(t,1,e),s=r&&kf(r),a=o&&kf(o),l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+Tf(r).width,c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+Tf(o).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&s.float&&"none"!==s.float){var u="left"===s.float?"left":"right";return!o||"both"!==a.clear&&a.clear!==u?"horizontal":"vertical"}return r&&("block"===s.display||"flex"===s.display||"table"===s.display||"grid"===s.display||l>=i&&"none"===n[Og]||o&&"none"===n[Og]&&l+c>i)?"vertical":"horizontal"},Mg=function(t){function e(t,n){return function(i,r,o,s){var a=i.options.group.name&&r.options.group.name&&i.options.group.name===r.options.group.name;if(null==t&&(n||a))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"==typeof t)return e(t(i,r,o,s),n)(i,r,o,s);var l=(n?i:r).options.group.name;return!0===t||"string"==typeof t&&t===l||t.join&&t.indexOf(l)>-1}}var n={},i=t.group;(!i||"object"!=of(i))&&(i={name:i}),n.name=i.name,n.checkPull=e(i.pull,!0),n.checkPut=e(i.put),n.revertClone=i.revertClone,t.group=n},Lg=function(){!Eg&&Xf&&kf(Xf,"display","none")},jg=function(){!Eg&&Xf&&kf(Xf,"display","")};Cg&&!ff&&document.addEventListener("click",(function(t){if(yg)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),yg=!1,!1}),!0);var Dg=function(t){if(qf){var e=function(t,e){var n;return bg.some((function(i){var r=i[Nf].options.emptyInsertThreshold;if(r&&!Mf(i)){var o=Tf(i),s=t>=o.left-r&&t<=o.right+r,a=e>=o.top-r&&e<=o.bottom+r;if(s&&a)return n=i}})),n}((t=t.touches?t.touches[0]:t).clientX,t.clientY);if(e){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);n.target=n.rootEl=e,n.preventDefault=void 0,n.stopPropagation=void 0,e[Nf]._onDragOver(n)}}},$g=function(t){qf&&qf.parentNode[Nf]._isOutsideThisEl(t.target)};function Rg(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=af({},e),t[Nf]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Pg(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Rg.supportPointer&&"PointerEvent"in window&&!df,emptyInsertThreshold:5};for(var i in Vf.initializePlugins(this,t,n),n)!(i in e)&&(e[i]=n[i]);for(var r in Mg(e),this)"_"===r.charAt(0)&&"function"==typeof this[r]&&(this[r]=this[r].bind(this));this.nativeDraggable=!e.forceFallback&&Tg,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?mf(t,"pointerdown",this._onTapStart):(mf(t,"mousedown",this._onTapStart),mf(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(mf(t,"dragover",this),mf(t,"dragenter",this)),bg.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),af(this,function(){var t,e=[];return{captureAnimationState:function(){e=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(t){if("none"!==kf(t,"display")&&t!==Rg.ghost){e.push({target:t,rect:Tf(t)});var n=rf({},e[e.length-1].rect);if(t.thisAnimationDuration){var i=Cf(t,!0);i&&(n.top-=i.f,n.left-=i.e)}t.fromRect=n}}))},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(function(t,e){for(var n in t)if(t.hasOwnProperty(n))for(var i in e)if(e.hasOwnProperty(i)&&e[i]===t[n][i])return Number(n);return-1}(e,{target:t}),1)},animateAll:function(n){var i=this;if(!this.options.animation)return clearTimeout(t),void("function"==typeof n&&n());var r=!1,o=0;e.forEach((function(t){var e=0,n=t.target,s=n.fromRect,a=Tf(n),l=n.prevFromRect,c=n.prevToRect,u=t.rect,h=Cf(n,!0);h&&(a.top-=h.f,a.left-=h.e),n.toRect=a,n.thisAnimationDuration&&$f(l,a)&&!$f(s,a)&&(u.top-a.top)/(u.left-a.left)==(s.top-a.top)/(s.left-a.left)&&(e=function(t,e,n,i){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))*i.animation}(u,l,c,i.options)),$f(a,s)||(n.prevFromRect=s,n.prevToRect=a,e||(e=i.options.animation),i.animate(n,u,a,e)),e&&(r=!0,o=Math.max(o,e),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),e),n.thisAnimationDuration=e)})),clearTimeout(t),r?t=setTimeout((function(){"function"==typeof n&&n()}),o):"function"==typeof n&&n(),e=[]},animate:function(t,e,n,i){if(i){kf(t,"transition",""),kf(t,"transform","");var r=Cf(this.el),o=r&&r.a,s=r&&r.d,a=(e.left-n.left)/(o||1),l=(e.top-n.top)/(s||1);t.animatingX=!!a,t.animatingY=!!l,kf(t,"transform","translate3d("+a+"px,"+l+"px,0)"),this.forRepaintDummy=function(t){return t.offsetWidth}(t),kf(t,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),kf(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){kf(t,"transition",""),kf(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),i)}}}}())}function Ig(t,e,n,i,r,o,s,a){var l,c,u=t[Nf],h=u.options.onMove;return!window.CustomEvent||cf||uf?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=e,l.from=t,l.dragged=n,l.draggedRect=i,l.related=r||e,l.relatedRect=o||Tf(e),l.willInsertAfter=a,l.originalEvent=s,t.dispatchEvent(l),h&&(c=h.call(u,l,s)),c}function Bg(t){t.draggable=!1}function Ng(){Sg=!1}function Fg(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,i=0;n--;)i+=e.charCodeAt(n);return i.toString(36)}function zg(t){return setTimeout(t,0)}function Vg(t){return clearTimeout(t)}Rg.prototype={constructor:Rg,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(pg=null)},_getDirection:function(t,e){return"function"==typeof this.options.direction?this.options.direction.call(this,t,e,qf):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,n=this.el,i=this.options,r=i.preventOnFilter,o=t.type,s=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,a=(s||t).target,l=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||a,c=i.filter;if(function(t){kg.length=0;for(var e=t.getElementsByTagName("input"),n=e.length;n--;){var i=e[n];i.checked&&kg.push(i)}}(n),!qf&&!(/mousedown|pointerdown/.test(o)&&0!==t.button||i.disabled)&&!l.isContentEditable&&(this.nativeDraggable||!df||!a||"SELECT"!==a.tagName.toUpperCase())&&!((a=_f(a,i.draggable,n,!1))&&a.animated||Zf===a)){if(tg=Lf(a),ng=Lf(a,i.draggable),"function"==typeof c){if(c.call(this,t,a,this))return Hf({sortable:e,rootEl:l,name:"filter",targetEl:a,toEl:n,fromEl:n}),Uf("filter",e,{evt:t}),void(r&&t.cancelable&&t.preventDefault())}else if(c&&(c=c.split(",").some((function(i){if(i=_f(l,i.trim(),n,!1))return Hf({sortable:e,rootEl:i,name:"filter",targetEl:a,fromEl:n,toEl:n}),Uf("filter",e,{evt:t}),!0}))))return void(r&&t.cancelable&&t.preventDefault());i.handle&&!_f(l,i.handle,n,!1)||this._prepareDragStart(t,s,a)}}},_prepareDragStart:function(t,e,n){var i,r=this,o=r.el,s=r.options,a=o.ownerDocument;if(n&&!qf&&n.parentNode===o){var l=Tf(n);if(Yf=o,Gf=(qf=n).parentNode,Kf=qf.nextSibling,Zf=n,rg=s.group,Rg.dragged=qf,sg={target:qf,clientX:(e||t).clientX,clientY:(e||t).clientY},ug=sg.clientX-l.left,hg=sg.clientY-l.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,qf.style["will-change"]="all",i=function(){Uf("delayEnded",r,{evt:t}),Rg.eventCanceled?r._onDrop():(r._disableDelayedDragEvents(),!hf&&r.nativeDraggable&&(qf.draggable=!0),r._triggerDragStart(t,e),Hf({sortable:r,name:"choose",originalEvent:t}),Sf(qf,s.chosenClass,!0))},s.ignore.split(",").forEach((function(t){Af(qf,t.trim(),Bg)})),mf(a,"dragover",Dg),mf(a,"mousemove",Dg),mf(a,"touchmove",Dg),mf(a,"mouseup",r._onDrop),mf(a,"touchend",r._onDrop),mf(a,"touchcancel",r._onDrop),hf&&this.nativeDraggable&&(this.options.touchStartThreshold=4,qf.draggable=!0),Uf("delayStart",this,{evt:t}),!s.delay||s.delayOnTouchOnly&&!e||this.nativeDraggable&&(uf||cf))i();else{if(Rg.eventCanceled)return void this._onDrop();mf(a,"mouseup",r._disableDelayedDrag),mf(a,"touchend",r._disableDelayedDrag),mf(a,"touchcancel",r._disableDelayedDrag),mf(a,"mousemove",r._delayedDragTouchMoveHandler),mf(a,"touchmove",r._delayedDragTouchMoveHandler),s.supportPointer&&mf(a,"pointermove",r._delayedDragTouchMoveHandler),r._dragStartTimer=setTimeout(i,s.delay)}}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){qf&&Bg(qf),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;vf(t,"mouseup",this._disableDelayedDrag),vf(t,"touchend",this._disableDelayedDrag),vf(t,"touchcancel",this._disableDelayedDrag),vf(t,"mousemove",this._delayedDragTouchMoveHandler),vf(t,"touchmove",this._delayedDragTouchMoveHandler),vf(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||"touch"==t.pointerType&&t,!this.nativeDraggable||e?this.options.supportPointer?mf(document,"pointermove",this._onTouchMove):mf(document,e?"touchmove":"mousemove",this._onTouchMove):(mf(qf,"dragend",this),mf(Yf,"dragstart",this._onDragStart));try{document.selection?zg((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,e){if(vg=!1,Yf&&qf){Uf("dragStarted",this,{evt:e}),this.nativeDraggable&&mf(document,"dragover",$g);var n=this.options;!t&&Sf(qf,n.dragClass,!1),Sf(qf,n.ghostClass,!0),Rg.active=this,t&&this._appendGhost(),Hf({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(ag){this._lastX=ag.clientX,this._lastY=ag.clientY,Lg();for(var t=document.elementFromPoint(ag.clientX,ag.clientY),e=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(ag.clientX,ag.clientY))!==e;)e=t;if(qf.parentNode[Nf]._isOutsideThisEl(t),e)do{if(e[Nf]&&e[Nf]._onDragOver({clientX:ag.clientX,clientY:ag.clientY,target:t,rootEl:e})&&!this.options.dragoverBubble)break;t=e}while(e=e.parentNode);jg()}},_onTouchMove:function(t){if(sg){var e=this.options,n=e.fallbackTolerance,i=e.fallbackOffset,r=t.touches?t.touches[0]:t,o=Xf&&Cf(Xf,!0),s=Xf&&o&&o.a,a=Xf&&o&&o.d,l=Ag&&mg&&jf(mg),c=(r.clientX-sg.clientX+i.x)/(s||1)+(l?l[0]-wg[0]:0)/(s||1),u=(r.clientY-sg.clientY+i.y)/(a||1)+(l?l[1]-wg[1]:0)/(a||1);if(!Rg.active&&!vg){if(n&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(Xf){o?(o.e+=c-(lg||0),o.f+=u-(cg||0)):o={a:1,b:0,c:0,d:1,e:c,f:u};var h="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");kf(Xf,"webkitTransform",h),kf(Xf,"mozTransform",h),kf(Xf,"msTransform",h),kf(Xf,"transform",h),lg=c,cg=u,ag=r}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!Xf){var t=this.options.fallbackOnBody?document.body:Yf,e=Tf(qf,!0,Ag,!0,t),n=this.options;if(Ag){for(mg=t;"static"===kf(mg,"position")&&"none"===kf(mg,"transform")&&mg!==document;)mg=mg.parentNode;mg!==document.body&&mg!==document.documentElement?(mg===document&&(mg=Of()),e.top+=mg.scrollTop,e.left+=mg.scrollLeft):mg=Of(),wg=jf(mg)}Sf(Xf=qf.cloneNode(!0),n.ghostClass,!1),Sf(Xf,n.fallbackClass,!0),Sf(Xf,n.dragClass,!0),kf(Xf,"transition",""),kf(Xf,"transform",""),kf(Xf,"box-sizing","border-box"),kf(Xf,"margin",0),kf(Xf,"top",e.top),kf(Xf,"left",e.left),kf(Xf,"width",e.width),kf(Xf,"height",e.height),kf(Xf,"opacity","0.8"),kf(Xf,"position",Ag?"absolute":"fixed"),kf(Xf,"zIndex","100000"),kf(Xf,"pointerEvents","none"),Rg.ghost=Xf,t.appendChild(Xf),kf(Xf,"transform-origin",ug/parseInt(Xf.style.width)*100+"% "+hg/parseInt(Xf.style.height)*100+"%")}},_onDragStart:function(t,e){var n=this,i=t.dataTransfer,r=n.options;Uf("dragStart",this,{evt:t}),Rg.eventCanceled?this._onDrop():(Uf("setupClone",this),Rg.eventCanceled||((Jf=Bf(qf)).removeAttribute("id"),Jf.draggable=!1,Jf.style["will-change"]="",this._hideClone(),Sf(Jf,this.options.chosenClass,!1),Rg.clone=Jf),n.cloneId=zg((function(){Uf("clone",n),!Rg.eventCanceled&&(n.options.removeCloneOnHide||Yf.insertBefore(Jf,qf),n._hideClone(),Hf({sortable:n,name:"clone"}))})),!e&&Sf(qf,r.dragClass,!0),e?(yg=!0,n._loopId=setInterval(n._emulateDragOver,50)):(vf(document,"mouseup",n._onDrop),vf(document,"touchend",n._onDrop),vf(document,"touchcancel",n._onDrop),i&&(i.effectAllowed="move",r.setData&&r.setData.call(n,i,qf)),mf(document,"drop",n),kf(qf,"transform","translateZ(0)")),vg=!0,n._dragStartId=zg(n._dragStarted.bind(n,e,t)),mf(document,"selectstart",n),dg=!0,df&&kf(document.body,"user-select","none"))},_onDragOver:function(t){var e,n,i,r,o=this.el,s=t.target,a=this.options,l=a.group,c=Rg.active,u=rg===l,h=a.sort,d=og||c,p=this,f=!1;if(!Sg){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),s=_f(s,a.draggable,o,!0),E("dragOver"),Rg.eventCanceled)return f;if(qf.contains(t.target)||s.animated&&s.animatingX&&s.animatingY||p._ignoreWhileAnimating===s)return M(!1);if(yg=!1,c&&!a.disabled&&(u?h||(i=Gf!==Yf):og===this||(this.lastPutMode=rg.checkPull(this,c,qf,t))&&l.checkPut(this,c,qf,t))){if(r="vertical"===this._getDirection(t,s),e=Tf(qf),E("dragOverValid"),Rg.eventCanceled)return f;if(i)return Gf=Yf,P(),this._hideClone(),E("revert"),Rg.eventCanceled||(Kf?Yf.insertBefore(qf,Kf):Yf.appendChild(qf)),M(!0);var g=Mf(o,a.draggable);if(!g||function(t,e,n){var i=Tf(Mf(n.el,n.options.draggable));return e?t.clientX>i.right+10||t.clientX<=i.right&&t.clientY>i.bottom&&t.clientX>=i.left:t.clientX>i.right&&t.clientY>i.top||t.clientX<=i.right&&t.clientY>i.bottom+10}(t,r,this)&&!g.animated){if(g===qf)return M(!1);if(g&&o===t.target&&(s=g),s&&(n=Tf(s)),!1!==Ig(Yf,o,qf,e,s,n,t,!!s))return P(),g&&g.nextSibling?o.insertBefore(qf,g.nextSibling):o.appendChild(qf),Gf=o,L(),M(!0)}else if(g&&function(t,e,n){var i=Tf(Pf(n.el,0,n.options,!0));return e?t.clientX<i.left-10||t.clientY<i.top&&t.clientX<i.right:t.clientY<i.top-10||t.clientY<i.bottom&&t.clientX<i.left}(t,r,this)){var m=Pf(o,0,a,!0);if(m===qf)return M(!1);if(n=Tf(s=m),!1!==Ig(Yf,o,qf,e,s,n,t,!1))return P(),o.insertBefore(qf,m),Gf=o,L(),M(!0)}else if(s.parentNode===o){n=Tf(s);var v,y,b,_=qf.parentNode!==o,x=!function(t,e,n){var i=n?t.left:t.top,r=n?t.right:t.bottom,o=n?t.width:t.height,s=n?e.left:e.top,a=n?e.right:e.bottom,l=n?e.width:e.height;return i===s||r===a||i+o/2===s+l/2}(qf.animated&&qf.toRect||e,s.animated&&s.toRect||n,r),w=r?"top":"left",S=Ef(s,"top","top")||Ef(qf,"top","top"),k=S?S.scrollTop:void 0;if(pg!==s&&(y=n[w],_g=!1,xg=!x&&a.invertSwap||_),v=function(t,e,n,i,r,o,s,a){var l=i?t.clientY:t.clientX,c=i?n.height:n.width,u=i?n.top:n.left,h=i?n.bottom:n.right,d=!1;if(!s)if(a&&gg<c*r){if(!_g&&(1===fg?l>u+c*o/2:l<h-c*o/2)&&(_g=!0),_g)d=!0;else if(1===fg?l<u+gg:l>h-gg)return-fg}else if(l>u+c*(1-r)/2&&l<h-c*(1-r)/2)return function(t){return Lf(qf)<Lf(t)?1:-1}(e);return(d=d||s)&&(l<u+c*o/2||l>h-c*o/2)?l>u+c/2?1:-1:0}(t,s,n,r,x?1:a.swapThreshold,null==a.invertedSwapThreshold?a.swapThreshold:a.invertedSwapThreshold,xg,pg===s),0!==v){var C=Lf(qf);do{C-=v,b=Gf.children[C]}while(b&&("none"===kf(b,"display")||b===Xf))}if(0===v||b===s)return M(!1);pg=s,fg=v;var A=s.nextElementSibling,O=!1,T=Ig(Yf,o,qf,e,s,n,t,O=1===v);if(!1!==T)return(1===T||-1===T)&&(O=1===T),Sg=!0,setTimeout(Ng,30),P(),O&&!A?o.appendChild(qf):s.parentNode.insertBefore(qf,O?A:s),S&&If(S,0,k-S.scrollTop),Gf=qf.parentNode,void 0!==y&&!xg&&(gg=Math.abs(y-Tf(s)[w])),L(),M(!0)}if(o.contains(qf))return M(!1)}return!1}function E(a,l){Uf(a,p,rf({evt:t,isOwner:u,axis:r?"vertical":"horizontal",revert:i,dragRect:e,targetRect:n,canSort:h,fromSortable:d,target:s,completed:M,onMove:function(n,i){return Ig(Yf,o,qf,e,n,Tf(n),t,i)},changed:L},l))}function P(){E("dragOverAnimationCapture"),p.captureAnimationState(),p!==d&&d.captureAnimationState()}function M(e){return E("dragOverCompleted",{insertion:e}),e&&(u?c._hideClone():c._showClone(p),p!==d&&(Sf(qf,og?og.options.ghostClass:c.options.ghostClass,!1),Sf(qf,a.ghostClass,!0)),og!==p&&p!==Rg.active?og=p:p===Rg.active&&og&&(og=null),d===p&&(p._ignoreWhileAnimating=s),p.animateAll((function(){E("dragOverAnimationComplete"),p._ignoreWhileAnimating=null})),p!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(s===qf&&!qf.animated||s===o&&!s.animated)&&(pg=null),!a.dragoverBubble&&!t.rootEl&&s!==document&&(qf.parentNode[Nf]._isOutsideThisEl(t.target),!e&&Dg(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),f=!0}function L(){eg=Lf(qf),ig=Lf(qf,a.draggable),Hf({sortable:p,name:"change",toEl:o,newIndex:eg,newDraggableIndex:ig,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){vf(document,"mousemove",this._onTouchMove),vf(document,"touchmove",this._onTouchMove),vf(document,"pointermove",this._onTouchMove),vf(document,"dragover",Dg),vf(document,"mousemove",Dg),vf(document,"touchmove",Dg)},_offUpEvents:function(){var t=this.el.ownerDocument;vf(t,"mouseup",this._onDrop),vf(t,"touchend",this._onDrop),vf(t,"pointerup",this._onDrop),vf(t,"touchcancel",this._onDrop),vf(document,"selectstart",this)},_onDrop:function(t){var e=this.el,n=this.options;eg=Lf(qf),ig=Lf(qf,n.draggable),Uf("drop",this,{evt:t}),Gf=qf&&qf.parentNode,eg=Lf(qf),ig=Lf(qf,n.draggable),Rg.eventCanceled||(vg=!1,xg=!1,_g=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Vg(this.cloneId),Vg(this._dragStartId),this.nativeDraggable&&(vf(document,"drop",this),vf(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),df&&kf(document.body,"user-select",""),kf(qf,"transform",""),t&&(dg&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),Xf&&Xf.parentNode&&Xf.parentNode.removeChild(Xf),(Yf===Gf||og&&"clone"!==og.lastPutMode)&&Jf&&Jf.parentNode&&Jf.parentNode.removeChild(Jf),qf&&(this.nativeDraggable&&vf(qf,"dragend",this),Bg(qf),qf.style["will-change"]="",dg&&!vg&&Sf(qf,og?og.options.ghostClass:this.options.ghostClass,!1),Sf(qf,this.options.chosenClass,!1),Hf({sortable:this,name:"unchoose",toEl:Gf,newIndex:null,newDraggableIndex:null,originalEvent:t}),Yf!==Gf?(eg>=0&&(Hf({rootEl:Gf,name:"add",toEl:Gf,fromEl:Yf,originalEvent:t}),Hf({sortable:this,name:"remove",toEl:Gf,originalEvent:t}),Hf({rootEl:Gf,name:"sort",toEl:Gf,fromEl:Yf,originalEvent:t}),Hf({sortable:this,name:"sort",toEl:Gf,originalEvent:t})),og&&og.save()):eg!==tg&&eg>=0&&(Hf({sortable:this,name:"update",toEl:Gf,originalEvent:t}),Hf({sortable:this,name:"sort",toEl:Gf,originalEvent:t})),Rg.active&&((null==eg||-1===eg)&&(eg=tg,ig=ng),Hf({sortable:this,name:"end",toEl:Gf,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){Uf("nulling",this),Yf=qf=Gf=Xf=Kf=Jf=Zf=Qf=sg=ag=dg=eg=ig=tg=ng=pg=fg=og=rg=Rg.dragged=Rg.ghost=Rg.clone=Rg.active=null,kg.forEach((function(t){t.checked=!0})),kg.length=lg=cg=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":qf&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,e=[],n=this.el.children,i=0,r=n.length,o=this.options;i<r;i++)_f(t=n[i],o.draggable,this.el,!1)&&e.push(t.getAttribute(o.dataIdAttr)||Fg(t));return e},sort:function(t,e){var n={},i=this.el;this.toArray().forEach((function(t,e){var r=i.children[e];_f(r,this.options.draggable,i,!1)&&(n[t]=r)}),this),e&&this.captureAnimationState(),t.forEach((function(t){n[t]&&(i.removeChild(n[t]),i.appendChild(n[t]))})),e&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,e){return _f(t,e||this.options.draggable,this.el,!1)},option:function(t,e){var n=this.options;if(void 0===e)return n[t];var i=Vf.modifyOption(this,t,e);n[t]=typeof i<"u"?i:e,"group"===t&&Mg(n)},destroy:function(){Uf("destroy",this);var t=this.el;t[Nf]=null,vf(t,"mousedown",this._onTapStart),vf(t,"touchstart",this._onTapStart),vf(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(vf(t,"dragover",this),vf(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),bg.splice(bg.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!Qf){if(Uf("hideClone",this),Rg.eventCanceled)return;kf(Jf,"display","none"),this.options.removeCloneOnHide&&Jf.parentNode&&Jf.parentNode.removeChild(Jf),Qf=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(Qf){if(Uf("showClone",this),Rg.eventCanceled)return;qf.parentNode!=Yf||this.options.group.revertClone?Kf?Yf.insertBefore(Jf,Kf):Yf.appendChild(Jf):Yf.insertBefore(Jf,qf),this.options.group.revertClone&&this.animate(qf,Jf),kf(Jf,"display",""),Qf=!1}}else this._hideClone()}},Cg&&mf(document,"touchmove",(function(t){(Rg.active||vg)&&t.cancelable&&t.preventDefault()})),Rg.utils={on:mf,off:vf,css:kf,find:Af,is:function(t,e){return!!_f(t,e,t,!1)},extend:function(t,e){if(t&&e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},throttle:Rf,closest:_f,toggleClass:Sf,clone:Bf,index:Lf,nextTick:zg,cancelNextTick:Vg,detectDirection:Pg,getChild:Pf},Rg.get=function(t){return t[Nf]},Rg.mount=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e[0].constructor===Array&&(e=e[0]),e.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(Rg.utils=rf(rf({},Rg.utils),t.utils)),Vf.mount(t)}))},Rg.create=function(t,e){return new Rg(t,e)},Rg.version="1.15.0";var Wg,Ug,Hg,qg,Gg,Xg,Yg=[],Kg=!1;function Zg(){Yg.forEach((function(t){clearInterval(t.pid)})),Yg=[]}function Jg(){clearInterval(Xg)}var Qg=Rf((function(t,e,n,i){if(e.scroll){var r,o=(t.touches?t.touches[0]:t).clientX,s=(t.touches?t.touches[0]:t).clientY,a=e.scrollSensitivity,l=e.scrollSpeed,c=Of(),u=!1;Ug!==n&&(Ug=n,Zg(),Wg=e.scroll,r=e.scrollFn,!0===Wg&&(Wg=Df(n,!0)));var h=0,d=Wg;do{var p=d,f=Tf(p),g=f.top,m=f.bottom,v=f.left,y=f.right,b=f.width,_=f.height,x=void 0,w=void 0,S=p.scrollWidth,k=p.scrollHeight,C=kf(p),A=p.scrollLeft,O=p.scrollTop;p===c?(x=b<S&&("auto"===C.overflowX||"scroll"===C.overflowX||"visible"===C.overflowX),w=_<k&&("auto"===C.overflowY||"scroll"===C.overflowY||"visible"===C.overflowY)):(x=b<S&&("auto"===C.overflowX||"scroll"===C.overflowX),w=_<k&&("auto"===C.overflowY||"scroll"===C.overflowY));var T=x&&(Math.abs(y-o)<=a&&A+b<S)-(Math.abs(v-o)<=a&&!!A),E=w&&(Math.abs(m-s)<=a&&O+_<k)-(Math.abs(g-s)<=a&&!!O);if(!Yg[h])for(var P=0;P<=h;P++)Yg[P]||(Yg[P]={});(Yg[h].vx!=T||Yg[h].vy!=E||Yg[h].el!==p)&&(Yg[h].el=p,Yg[h].vx=T,Yg[h].vy=E,clearInterval(Yg[h].pid),(0!=T||0!=E)&&(u=!0,Yg[h].pid=setInterval(function(){i&&0===this.layer&&Rg.active._onTouchMove(Gg);var e=Yg[this.layer].vy?Yg[this.layer].vy*l:0,n=Yg[this.layer].vx?Yg[this.layer].vx*l:0;"function"==typeof r&&"continue"!==r.call(Rg.dragged.parentNode[Nf],n,e,t,Gg,Yg[this.layer].el)||If(Yg[this.layer].el,n,e)}.bind({layer:h}),24))),h++}while(e.bubbleScroll&&d!==c&&(d=Df(d,!1)));Kg=u}}),30),tm=function(t){var e=t.originalEvent,n=t.putSortable,i=t.dragEl,r=t.activeSortable,o=t.dispatchSortableEvent,s=t.hideGhostForTarget,a=t.unhideGhostForTarget;if(e){var l=n||r;s();var c=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,u=document.elementFromPoint(c.clientX,c.clientY);a(),l&&!l.el.contains(u)&&(o("spill"),this.onSpill({dragEl:i,putSortable:n}))}};function em(){}function nm(){}em.prototype={startIndex:null,dragStart:function(t){var e=t.oldDraggableIndex;this.startIndex=e},onSpill:function(t){var e=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var i=Pf(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(e,i):this.sortable.el.appendChild(e),this.sortable.animateAll(),n&&n.animateAll()},drop:tm},af(em,{pluginName:"revertOnSpill"}),nm.prototype={onSpill:function(t){var e=t.dragEl,n=t.putSortable||this.sortable;n.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),n.animateAll()},drop:tm},af(nm,{pluginName:"removeOnSpill"}),Rg.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var e=t.originalEvent;this.sortable.nativeDraggable?mf(document,"dragover",this._handleAutoScroll):this.options.supportPointer?mf(document,"pointermove",this._handleFallbackAutoScroll):e.touches?mf(document,"touchmove",this._handleFallbackAutoScroll):mf(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var e=t.originalEvent;!this.options.dragOverBubble&&!e.rootEl&&this._handleAutoScroll(e)},drop:function(){this.sortable.nativeDraggable?vf(document,"dragover",this._handleAutoScroll):(vf(document,"pointermove",this._handleFallbackAutoScroll),vf(document,"touchmove",this._handleFallbackAutoScroll),vf(document,"mousemove",this._handleFallbackAutoScroll)),Jg(),Zg(),clearTimeout(xf),xf=void 0},nulling:function(){Gg=Ug=Wg=Kg=Xg=Hg=qg=null,Yg.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,e){var n=this,i=(t.touches?t.touches[0]:t).clientX,r=(t.touches?t.touches[0]:t).clientY,o=document.elementFromPoint(i,r);if(Gg=t,e||this.options.forceAutoScrollFallback||uf||cf||df){Qg(t,this.options,o,e);var s=Df(o,!0);Kg&&(!Xg||i!==Hg||r!==qg)&&(Xg&&Jg(),Xg=setInterval((function(){var o=Df(document.elementFromPoint(i,r),!0);o!==s&&(s=o,Zg()),Qg(t,n.options,o,e)}),10),Hg=i,qg=r)}else{if(!this.options.bubbleScroll||Df(o,!0)===Of())return void Zg();Qg(t,this.options,Df(o,!1),!1)}}},af(t,{pluginName:"scroll",initializeByDefault:!0})}),Rg.mount(nm,em),Boolean,Boolean;const im=(t,{slots:e})=>{var n;return Ro(t.as,{class:Be(["heading",`heading-${t.size}`,{"heading-secondary":t.secondary},t.class]).value},null==(n=e.default)?void 0:n.call(e))};im.props={as:{type:String,default:"h2"},size:{type:String,default:"lg"},secondary:{type:Boolean,default:!1}};const rm=ti({__name:"hr",props:{height:{default:"1"}},setup(t){const e=t,n=$o((()=>({"--hr-height":`${e.height}px`})));return(t,e)=>(Yr(),Qr("hr",{class:Y(t.$style.hr),style:U(n.value)},null,6))}}),om=kd(rm,[["__cssModules",{$style:{hr:"_hr_1alp8_1"}}]]);function sm(t){return!(0===t||(!Array.isArray(t)||0!==t.length)&&t)}function am(t,e,n,i){return e?t.filter((t=>function(t,e){return void 0===t&&(t="undefined"),null===t&&(t="null"),!1===t&&(t="false"),-1!==t.toString().toLowerCase().indexOf(e.trim())}(i(t,n),e))).sort(((t,e)=>i(t,n).length-i(e,n).length)):t}function lm(t){return t.filter((t=>!t.$isLabel))}function cm(t,e){return n=>n.reduce(((n,i)=>i[t]&&i[t].length?(n.push({$groupLabel:i[e],$isLabel:!0}),n.concat(i[t])):n),[])}Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;const um=(...t)=>e=>t.reduce(((t,e)=>e(t)),e);var hm={data(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default:(t,e)=>sm(t)?"":e?t[e]:t},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default:()=>[]},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1},preventAutofocus:{type:Boolean,default:!1}},mounted(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue(){return this.modelValue||0===this.modelValue?Array.isArray(this.modelValue)?this.modelValue:[this.modelValue]:[]},filteredOptions(){const t=this.search||"",e=t.toLowerCase().trim();let n=this.options.concat();return n=this.internalSearch?this.groupValues?this.filterAndFlat(n,e,this.label):am(n,e,this.label,this.customLabel):this.groupValues?cm(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(function(t){return(...e)=>!t(...e)}(this.isSelected)):n,this.taggable&&e.length&&!this.isExistingOption(e)&&("bottom"===this.tagPosition?n.push({isTag:!0,label:t}):n.unshift({isTag:!0,label:t})),n.slice(0,this.optionsLimit)},valueKeys(){return this.trackBy?this.internalValue.map((t=>t[this.trackBy])):this.internalValue},optionKeys(){return(this.groupValues?this.flatAndStrip(this.options):this.options).map((t=>this.customLabel(t,this.label).toString().toLowerCase()))},currentOptionLabel(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("update:modelValue",this.multiple?[]:null))},search(){this.$emit("search-change",this.search)}},emits:["open","search-change","close","select","update:modelValue","remove","tag"],methods:{getValue(){return this.multiple?this.internalValue:0===this.internalValue.length?null:this.internalValue[0]},filterAndFlat(t,e,n){return um(function(t,e,n,i,r){return o=>o.map((o=>{if(!o[n])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const s=am(o[n],t,e,r);return s.length?{[i]:o[i],[n]:s}:[]}))}(e,n,this.groupValues,this.groupLabel,this.customLabel),cm(this.groupValues,this.groupLabel))(t)},flatAndStrip(t){return um(cm(this.groupValues,this.groupLabel),lm)(t)},updateSearch(t){this.search=t},isExistingOption(t){return!!this.options&&this.optionKeys.indexOf(t)>-1},isSelected(t){const e=this.trackBy?t[this.trackBy]:t;return this.valueKeys.indexOf(e)>-1},isOptionDisabled:t=>!!t.$isDisabled,getOptionLabel(t){if(sm(t))return"";if(t.isTag)return t.label;if(t.$isLabel)return t.$groupLabel;const e=this.customLabel(t,this.label);return sm(e)?"":e},select(t,e){if(t.$isLabel&&this.groupSelect)this.selectGroup(t);else if(!(-1!==this.blockKeys.indexOf(e)||this.disabled||t.$isDisabled||t.$isLabel)&&(!this.max||!this.multiple||this.internalValue.length!==this.max)&&("Tab"!==e||this.pointerDirty)){if(t.isTag)this.$emit("tag",t.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(t))return void("Tab"!==e&&this.removeElement(t));this.multiple?this.$emit("update:modelValue",this.internalValue.concat([t])):this.$emit("update:modelValue",t),this.$emit("select",t,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup(t){const e=this.options.find((e=>e[this.groupLabel]===t.$groupLabel));if(e){if(this.wholeGroupSelected(e)){this.$emit("remove",e[this.groupValues],this.id);const t=this.internalValue.filter((t=>-1===e[this.groupValues].indexOf(t)));this.$emit("update:modelValue",t)}else{let t=e[this.groupValues].filter((t=>!(this.isOptionDisabled(t)||this.isSelected(t))));this.max&&t.splice(this.max-this.internalValue.length),this.$emit("select",t,this.id),this.$emit("update:modelValue",this.internalValue.concat(t))}this.closeOnSelect&&this.deactivate()}},wholeGroupSelected(t){return t[this.groupValues].every((t=>this.isSelected(t)||this.isOptionDisabled(t)))},wholeGroupDisabled(t){return t[this.groupValues].every(this.isOptionDisabled)},removeElement(t,e=!0){if(this.disabled||t.$isDisabled)return;if(!this.allowEmpty&&this.internalValue.length<=1)return void this.deactivate();const n="object"==typeof t?this.valueKeys.indexOf(t[this.trackBy]):this.valueKeys.indexOf(t);if(this.multiple){const t=this.internalValue.slice(0,n).concat(this.internalValue.slice(n+1));this.$emit("update:modelValue",t)}else this.$emit("update:modelValue",null);this.$emit("remove",t,this.id),this.closeOnSelect&&e&&this.deactivate()},removeLastElement(){-1===this.blockKeys.indexOf("Delete")&&0===this.search.length&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate(){this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&0===this.pointer&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.preventAutofocus||this.$nextTick((()=>this.$refs.search&&this.$refs.search.focus()))):this.preventAutofocus||typeof this.$el<"u"&&this.$el.focus(),this.$emit("open",this.id))},deactivate(){this.isOpen&&(this.isOpen=!1,this.searchable?typeof this.$refs.search<"u"&&this.$refs.search.blur():typeof this.$el<"u"&&this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle(){this.isOpen?this.deactivate():this.activate()},adjustPosition(){if(typeof window>"u")return;const t=this.$el.getBoundingClientRect().top,e=window.innerHeight-this.$el.getBoundingClientRect().bottom;e>this.maxHeight||e>t||"below"===this.openDirection||"bottom"===this.openDirection?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(e-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(t-40,this.maxHeight))}}},dm={data:()=>({pointer:0,pointerDirty:!1}),props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition(){return this.pointer*this.optionHeight},visibleElements(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions(){this.pointerAdjust()},isOpen(){this.pointerDirty=!1},pointer(){this.$refs.search&&this.$refs.search.setAttribute("aria-activedescendant",this.id+"-"+this.pointer.toString())}},methods:{optionHighlight(t,e){return{"multiselect__option--highlight":t===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(e)}},groupHighlight(t,e){if(!this.groupSelect)return["multiselect__option--disabled",{"multiselect__option--group":e.$isLabel}];const n=this.options.find((t=>t[this.groupLabel]===e.$groupLabel));return n&&!this.wholeGroupDisabled(n)?["multiselect__option--group",{"multiselect__option--highlight":t===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(n)}]:"multiselect__option--disabled"},addPointerElement({key:t}="Enter"){this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],t),this.pointerReset()},pointerForward(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet(t){this.pointer=t,this.pointerDirty=!0}}},pm={name:"vue-multiselect",mixins:[hm,dm],props:{name:{type:String,default:""},modelValue:{type:null,default:()=>[]},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:t=>`and ${t} more`},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{hasOptionGroup(){return this.groupValues&&this.groupLabel&&this.groupSelect},isSingleLabelVisible(){return(this.singleValue||0===this.singleValue)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible(){return!(this.internalValue.length||this.searchable&&this.isOpen)},visibleValues(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue(){return this.internalValue[0]},deselectLabelText(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText(){return this.showLabels?this.selectLabel:""},selectGroupLabelText(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText(){return this.showLabels?this.selectedLabel:""},inputStyle(){return this.searchable||this.multiple&&this.modelValue&&this.modelValue.length?this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}:""},contentStyle(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove(){return"above"===this.openDirection||"top"===this.openDirection||"below"!==this.openDirection&&"bottom"!==this.openDirection&&"above"===this.preferredOpenDirection},showSearchInput(){return this.searchable&&(!this.hasSingleSelectedSlot||!this.visibleSingleValue&&0!==this.visibleSingleValue||this.isOpen)}}};const fm={ref:"tags",class:"multiselect__tags"},gm={class:"multiselect__tags-wrap"},mm={class:"multiselect__spinner"},vm={key:0},ym={class:"multiselect__option"},bm={class:"multiselect__option"},_m=co("No elements found. Consider changing the search query."),xm={class:"multiselect__option"},wm=co("List is empty.");pm.render=function(t,e,n,i,r,o){return Yr(),to("div",{tabindex:t.searchable?-1:n.tabindex,class:[{"multiselect--active":t.isOpen,"multiselect--disabled":n.disabled,"multiselect--above":o.isAbove,"multiselect--has-options-group":o.hasOptionGroup},"multiselect"],onFocus:e[14]||(e[14]=e=>t.activate()),onBlur:e[15]||(e[15]=e=>!t.searchable&&t.deactivate()),onKeydown:[e[16]||(e[16]=Bs(Rs((e=>t.pointerForward()),["self","prevent"]),["down"])),e[17]||(e[17]=Bs(Rs((e=>t.pointerBackward()),["self","prevent"]),["up"]))],onKeypress:e[18]||(e[18]=Bs(Rs((e=>t.addPointerElement(e)),["stop","self"]),["enter","tab"])),onKeyup:e[19]||(e[19]=Bs((e=>t.deactivate()),["esc"])),role:"combobox","aria-owns":"listbox-"+t.id},[Li(t.$slots,"caret",{toggle:t.toggle},(()=>[so("div",{onMousedown:e[1]||(e[1]=Rs((e=>t.toggle()),["prevent","stop"])),class:"multiselect__select"},null,32)])),Li(t.$slots,"clear",{search:t.search}),so("div",fm,[Li(t.$slots,"selection",{search:t.search,remove:t.removeElement,values:o.visibleValues,isOpen:t.isOpen},(()=>[Rn(so("div",gm,[(Yr(!0),to(Wr,null,Pi(o.visibleValues,((e,n)=>Li(t.$slots,"tag",{option:e,search:t.search,remove:t.removeElement},(()=>[(Yr(),to("span",{class:"multiselect__tag",key:n},[so("span",{textContent:nt(t.getOptionLabel(e))},null,8,["textContent"]),so("i",{tabindex:"1",onKeypress:Bs(Rs((n=>t.removeElement(e)),["prevent"]),["enter"]),onMousedown:Rs((n=>t.removeElement(e)),["prevent"]),class:"multiselect__tag-icon"},null,40,["onKeypress","onMousedown"])]))])))),256))],512),[[ls,o.visibleValues.length>0]]),t.internalValue&&t.internalValue.length>n.limit?Li(t.$slots,"limit",{key:0},(()=>[so("strong",{class:"multiselect__strong",textContent:nt(n.limitText(t.internalValue.length-n.limit))},null,8,["textContent"])])):uo("v-if",!0)])),so(Yo,{name:"multiselect__loading"},{default:$n((()=>[Li(t.$slots,"loading",{},(()=>[Rn(so("div",mm,null,512),[[ls,n.loading]])]))])),_:3}),t.searchable?(Yr(),to("input",{key:0,ref:"search",name:n.name,id:t.id,type:"text",autocomplete:"off",spellcheck:"false",placeholder:t.placeholder,style:o.inputStyle,value:t.search,disabled:n.disabled,tabindex:n.tabindex,onInput:e[2]||(e[2]=e=>t.updateSearch(e.target.value)),onFocus:e[3]||(e[3]=Rs((e=>t.activate()),["prevent"])),onBlur:e[4]||(e[4]=Rs((e=>t.deactivate()),["prevent"])),onKeyup:e[5]||(e[5]=Bs((e=>t.deactivate()),["esc"])),onKeydown:[e[6]||(e[6]=Bs(Rs((e=>t.pointerForward()),["prevent"]),["down"])),e[7]||(e[7]=Bs(Rs((e=>t.pointerBackward()),["prevent"]),["up"])),e[9]||(e[9]=Bs(Rs((e=>t.removeLastElement()),["stop"]),["delete"]))],onKeypress:e[8]||(e[8]=Bs(Rs((e=>t.addPointerElement(e)),["prevent","stop","self"]),["enter"])),class:"multiselect__input","aria-controls":"listbox-"+t.id},null,44,["name","id","placeholder","value","disabled","tabindex","aria-controls"])):uo("v-if",!0),o.isSingleLabelVisible?(Yr(),to("span",{key:1,class:"multiselect__single",onMousedown:e[10]||(e[10]=Rs(((...e)=>t.toggle&&t.toggle(...e)),["prevent"]))},[Li(t.$slots,"singleLabel",{option:o.singleValue},(()=>[co(nt(t.currentOptionLabel),1)]))],32)):uo("v-if",!0),o.isPlaceholderVisible?(Yr(),to("span",{key:2,class:"multiselect__placeholder",onMousedown:e[11]||(e[11]=Rs(((...e)=>t.toggle&&t.toggle(...e)),["prevent"]))},[Li(t.$slots,"placeholder",{},(()=>[co(nt(t.placeholder),1)]))],32)):uo("v-if",!0)],512),so(Yo,{name:"multiselect"},{default:$n((()=>[Rn(so("div",{class:"multiselect__content-wrapper",onFocus:e[12]||(e[12]=(...e)=>t.activate&&t.activate(...e)),tabindex:"-1",onMousedown:e[13]||(e[13]=Rs((()=>{}),["prevent"])),style:{maxHeight:t.optimizedHeight+"px"},ref:"list"},[so("ul",{class:"multiselect__content",style:o.contentStyle,role:"listbox",id:"listbox-"+t.id},[Li(t.$slots,"beforeList"),t.multiple&&t.max===t.internalValue.length?(Yr(),to("li",vm,[so("span",ym,[Li(t.$slots,"maxElements",{},(()=>[co("Maximum of "+nt(t.max)+" options selected. First remove a selected option to select another.",1)]))])])):uo("v-if",!0),!t.max||t.internalValue.length<t.max?(Yr(!0),to(Wr,{key:1},Pi(t.filteredOptions,((e,n)=>(Yr(),to("li",{class:"multiselect__element",key:n,id:t.id+"-"+n,role:e&&(e.$isLabel||e.$isDisabled)?null:"option"},[e&&(e.$isLabel||e.$isDisabled)?uo("v-if",!0):(Yr(),to("span",{key:0,class:[t.optionHighlight(n,e),"multiselect__option"],onClick:Rs((n=>t.select(e)),["stop"]),onMouseenter:Rs((e=>t.pointerSet(n)),["self"]),"data-select":e&&e.isTag?t.tagPlaceholder:o.selectLabelText,"data-selected":o.selectedLabelText,"data-deselect":o.deselectLabelText},[Li(t.$slots,"option",{option:e,search:t.search,index:n},(()=>[so("span",null,nt(t.getOptionLabel(e)),1)]))],42,["onClick","onMouseenter","data-select","data-selected","data-deselect"])),e&&(e.$isLabel||e.$isDisabled)?(Yr(),to("span",{key:1,"data-select":t.groupSelect&&o.selectGroupLabelText,"data-deselect":t.groupSelect&&o.deselectGroupLabelText,class:[t.groupHighlight(n,e),"multiselect__option"],onMouseenter:Rs((e=>t.groupSelect&&t.pointerSet(n)),["self"]),onMousedown:Rs((n=>t.selectGroup(e)),["prevent"])},[Li(t.$slots,"option",{option:e,search:t.search,index:n},(()=>[so("span",null,nt(t.getOptionLabel(e)),1)]))],42,["data-select","data-deselect","onMouseenter","onMousedown"])):uo("v-if",!0)],8,["id","role"])))),128)):uo("v-if",!0),Rn(so("li",null,[so("span",bm,[Li(t.$slots,"noResult",{search:t.search},(()=>[_m]))])],512),[[ls,n.showNoResults&&0===t.filteredOptions.length&&t.search&&!n.loading]]),Rn(so("li",null,[so("span",xm,[Li(t.$slots,"noOptions",{},(()=>[wm]))])],512),[[ls,n.showNoOptions&&(0===t.options.length||!0===o.hasOptionGroup&&0===t.filteredOptions.length)&&!t.search&&!n.loading]]),Li(t.$slots,"afterList")],12,["id"])],36),[[ls,t.isOpen]])])),_:3})],42,["tabindex","aria-owns"])};const Sm=["onClick"],km=["onClick"],Cm=ti({__name:"pagination",props:{modelValue:{},total:{},windowSize:{default:3}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t;Er((()=>{1!==n.modelValue&&n.modelValue>n.total&&e("update:modelValue",1)}));const i=t=>{e("update:modelValue",t)},r=$o((()=>n.total<=n.windowSize+3)),o=$o((()=>{const t=n.windowSize;if(r.value)return Array.from(Array(n.total).keys()).map((t=>t+1));let e;return e=n.modelValue>t&&n.modelValue<n.total-t+1?Array.from(Array(t).keys()).map((t=>n.modelValue+t-1)):n.modelValue<=t?Array.from(Array(t+1).keys()).map((t=>t+2)):Array.from(Array(t+1).keys()).map((t=>n.total-t-1)).reverse(),e})),s=$o((()=>1!==n.modelValue)),a=$o((()=>n.modelValue!==n.total)),l=Ts(),c=t=>({"aria-label":n.modelValue===t?`Current Page, Page ${t}`:`Goto Page ${t}`,class:[l.page,{[l.active]:n.modelValue===t}]});return(t,e)=>{const n=Ti("directives","hidden");return Rn((Yr(),Qr("nav",{class:Y(t.$style.root),role:"navigation","aria-label":"pagination"},[oo("ul",{class:Y(t.$style.nav)},[Rn((Yr(),Qr("li",{class:Y(t.$style.navigationLeft),onClick:e[0]||(e[0]=e=>i(t.modelValue-1))},[so(Ve(Od),{icon:"caret-left",class:Y(t.$style.icon)},null,8,["class"])],2)),[[n,!s.value]]),r.value?(Yr(!0),Qr(Wr,{key:0},Pi(o.value,(t=>(Yr(),Qr("li",go({key:t},c(t),{onClick:e=>i(t)}),nt(t),17,Sm)))),128)):(Yr(),Qr(Wr,{key:1},[oo("li",go(c(1),{onClick:e[1]||(e[1]=t=>i(1))})," 1 ",16),t.modelValue>t.windowSize?(Yr(),Qr("li",{key:0,class:Y(Ve(l).navItem)}," ... ",2)):uo("",!0),(Yr(!0),Qr(Wr,null,Pi(o.value,(t=>(Yr(),Qr("li",go({key:t},c(t),{onClick:e=>i(t)}),nt(t),17,km)))),128)),t.modelValue<=t.total-t.windowSize?(Yr(),Qr("li",{key:1,class:Y(Ve(l).navItem)}," ... ",2)):uo("",!0),oo("li",go(c(t.total),{onClick:e[2]||(e[2]=e=>i(t.total))}),nt(t.total),17)],64)),Rn((Yr(),Qr("li",{class:Y(t.$style.navigationRight),onClick:e[3]||(e[3]=e=>i(t.modelValue+1))},[so(Ve(Od),{icon:"caret-right",class:Y(t.$style.icon)},null,8,["class"])],2)),[[n,!a.value]])],2)],2)),[[n,t.total<=1]])}}}),Am=kd(Cm,[["__cssModules",{$style:{root:"_root_5yb23_1",nav:"_nav_5yb23_5",navItem:"_navItem_5yb23_12",page:"_page_5yb23_13",active:"_active_5yb23_22",navigation:"_navigation_5yb23_26",navigationLeft:"_navigationLeft_5yb23_27",navigationRight:"_navigationRight_5yb23_28",icon:"_icon_5yb23_40"}}]]),Om=ti({__name:"stack",props:{align:{},columnGap:{},direction:{default:"column"},gap:{default:"5"},justify:{},rowGap:{},wrap:{default:"wrap"}},setup(t){const e=t,n=Ts(),i=$o((()=>{const t=[n.root,n[e.direction],n[e.wrap]];return e.align&&t.push(n[e.align]),e.justify&&t.push(n[e.justify]),t})),r=$o((()=>e.columnGap??(e.direction.includes("row")&&e.gap))),o=$o((()=>e.rowGap??(!e.direction.includes("row")&&e.gap))),s=$o((()=>({"--stack-row-gap":4*Number(o.value)+"px","--stack-column-gap":4*Number(r.value)+"px"})));return(t,e)=>(Yr(),Qr("div",{class:Y(i.value),style:U(s.value)},[Li(t.$slots,"default")],6))}}),Tm=kd(Om,[["__cssModules",{$style:{root:"_root_1janq_1","flex-start":"_flex-start_1janq_6","flex-end":"_flex-end_1janq_9",center:"_center_1janq_12","space-between":"_space-between_1janq_15","space-around":"_space-around_1janq_18",stretch:"_stretch_1janq_21","space-evenly":"_space-evenly_1janq_24",row:"_row_1janq_27","row-reverse":"_row-reverse_1janq_30",column:"_column_1janq_33","column-reverse":"_column-reverse_1janq_36",start:"_start_1janq_42",end:"_end_1janq_45",left:"_left_1janq_54",right:"_right_1janq_57",normal:"_normal_1janq_60","spacing-column-1":"_spacing-column-1_1janq_75","spacing-row-1":"_spacing-row-1_1janq_78","spacing-column-2":"_spacing-column-2_1janq_81","spacing-row-2":"_spacing-row-2_1janq_84","spacing-column-3":"_spacing-column-3_1janq_87","spacing-row-3":"_spacing-row-3_1janq_90","spacing-column-4":"_spacing-column-4_1janq_93","spacing-row-4":"_spacing-row-4_1janq_96","spacing-column-5":"_spacing-column-5_1janq_99","spacing-row-5":"_spacing-row-5_1janq_102","spacing-column-6":"_spacing-column-6_1janq_105","spacing-row-6":"_spacing-row-6_1janq_108","spacing-column-7":"_spacing-column-7_1janq_111","spacing-row-7":"_spacing-row-7_1janq_114","spacing-column-8":"_spacing-column-8_1janq_117","spacing-row-8":"_spacing-row-8_1janq_120",wrap:"_wrap_1janq_123","wrap-reverse":"_wrap-reverse_1janq_126",nowrap:"_nowrap_1janq_129"}}]]),Em=(Boolean,Symbol("active-tab"),Boolean,ti({__name:"title",setup:t=>(t,e)=>(Yr(),to(Ve(im),{as:"h2",size:"md"},{default:$n((()=>[Li(t.$slots,"default")])),_:3}))})),Pm=ti({__name:"label",props:{description:{type:String,required:!1},required:{type:Boolean,required:!1,default:void 0}},setup:t=>(e,n)=>(Yr(),Qr("label",{class:Y(e.$style.label)},[oo("span",{class:Y(e.$style.labelText)},[Li(e.$slots,"label",{},(()=>[Li(e.$slots,"default")]))],2),t.required?(Yr(),Qr("span",{key:0,class:Y(e.$style.labelRequired)},"(REQUIRED)",2)):uo("",!0),t.description?(Yr(),to(ef,{key:1,arrow:"",hover:"",placement:"top"},{tooltip:$n((()=>[co(nt(t.description),1)])),default:$n((()=>[so(Ve(Od),{icon:"circle-exclamation",class:Y(e.$style.description)},null,8,["class"])])),_:1})):uo("",!0)],2))}),Mm=kd(Pm,[["__cssModules",{$style:{description:"_description_14dok_1",label:"_label_14dok_6",labelText:"_labelText_14dok_14",labelRequired:"_labelRequired_14dok_21"}}]]),Lm={message:"_message_1qafl_1",messages:"_messages_1qafl_5",help:"_help_1qafl_15",inputControl:"_inputControl_1qafl_18",focused:"_focused_1qafl_33",inputHide:"_inputHide_1qafl_65",inner:"_inner_1qafl_75",formSpan:"_formSpan_1qafl_79"};function jm(t,e){const n=t[e];return"string"==typeof n?{[n]:!0}:n}function Dm(t,e){const n={...e};return Object.keys(t).forEach((e=>{const i=jm(n,e),r=jm(t,e);n[e]={...i,...r}})),n}function $m(t){if(!t)return{};const e={};return"string"==typeof t?(e["--mobile-form-span"]="12",e["--form-span"]=e["--medium-form-span"]=e["--small-form-span"]=t):(e["--mobile-form-span"]=t.mobile||"12",e["--small-form-span"]=t.small||e["--mobile-form-span"],e["--medium-form-span"]=t.medium||e["--small-form-span"],e["--form-span"]=t.large||e["--medium-form-span"]),e}const Rm=Symbol("is_form"),Im=kd(ti({__name:"fieldset",props:{gap:{default:"5"},inline:{type:Boolean},label:{},legend:{},rowGap:{},span:{}},setup:t=>(nr(Rm,!0),(t,e)=>(Yr(),Qr("fieldset",{class:Y([t.$style.fieldset,Ve(Lm).formSpan]),style:U(Ve($m)(t.span))},[t.legend?(Yr(),Qr("legend",{key:0,class:Y(t.$style.legend)},nt(t.legend),3)):uo("",!0),t.label?(Yr(),to(Mm,{key:1,class:Y(t.$style.label)},{default:$n((()=>[co(nt(t.label),1)])),_:1},8,["class"])):uo("",!0),so(Ve(Tm),{gap:t.gap,direction:t.inline?"row":"column","row-gap":t.rowGap||(t.inline?"5":void 0)},{default:$n((()=>[Li(t.$slots,"default")])),_:3},8,["gap","direction","row-gap"])],6)))}),[["__cssModules",{$style:{fieldset:"_fieldset_1fcft_1",legend:"_legend_1fcft_6",label:"_label_1fcft_10"}}]]),Bm=kd(ti({__name:"form-actions",props:{variant:{default:"standard"}},setup:t=>(t,e)=>(Yr(),Qr(Wr,null,["plain"!==t.variant?(Yr(),to(Oi("standard"===t.variant?Ve(om):"div"),{key:0,class:Y(t.$style.hr)},null,8,["class"])):uo("",!0),so(Ve(Tm),go(t.$attrs,{class:t.$style[t.variant],gap:"2",direction:"row",wrap:"nowrap"}),{default:$n((()=>[oo("div",{class:Y(t.$style.spacer)},null,2),Li(t.$slots,"default",{},(()=>[so(Ve(Ed),{type:"submit",severity:"primary"},{default:$n((()=>[co(" Save ")])),_:1})]))])),_:3},16,["class"])],64))}),[["__cssModules",{$style:{hr:"_hr_10l8x_1",padding:"_padding_10l8x_4",standard:"_standard_10l8x_5",filled:"_filled_10l8x_6",spacer:"_spacer_10l8x_12"}}]]),Nm=ti({__name:"form",props:{actions:{type:[Boolean,String],default:!0},config:{},formRef:{},errors:{},inline:{type:Boolean},legend:{},modelValue:{},onSubmit:{},onSubmitInvalid:{},"onUpdate:modelValue":{}},setup(t){const e=t,n=async(t,n)=>{var i;const r=await(null==(i=e.onSubmit)?void 0:i.call(e,t,n));r&&(null!=r&&r.errors?null==n||n.setErrors(r.errors):null==n||n.reset(null==r?void 0:r.values))};return(t,i)=>{const r=Ci("FormKit");return Yr(),to(r,go({ref:e=>{var n;return null==(n=t.formRef)?void 0:n.call(t,e)},type:"form",actions:!1,config:t.config,"incomplete-message":!1,errors:t.errors,"model-value":t.modelValue,novalidate:""},Di({submit:n}),{onSubmitInvalid:t.onSubmitInvalid,"onUpdate:modelValue":e["onUpdate:modelValue"]}),{default:$n((e=>[so(Im,{legend:t.legend,inline:t.inline},{default:$n((()=>[Li(t.$slots,"default",K(ao(e)))])),_:2},1032,["legend","inline"]),t.actions?(Yr(),to(Bm,{key:0,variant:"string"==typeof t.actions?t.actions:"standard"},{default:$n((()=>[Li(t.$slots,"actions",K(ao(e)))])),_:2},1032,["variant"])):uo("",!0)])),_:3},16,["config","errors","model-value","onSubmitInvalid","onUpdate:modelValue"])}}}),Fm=(Boolean,Boolean,{classes:{type:Object,required:!1},description:{type:String,required:!1},disabled:{type:[Boolean,String],required:!1},errors:{type:Array,required:!1},help:{type:String,required:!1},ignore:{type:Boolean,required:!1},id:{type:String,required:!1,default:({name:t})=>t?`input_${t}`:void 0},label:{type:String,required:!1,default:({name:t})=>bd.startCase(t)},modelValue:{required:!1},name:{type:String,required:!1},onInput:{type:[Function,Array],required:!1},"onUpdate:modelValue":{type:[Function,Array],required:!1},prefix:{type:String,required:!1},preserve:{type:Boolean,required:!1,default:!1},prefixIcon:{type:String,required:!1},required:{type:Boolean,required:!1,default:void 0},span:{type:[String,Object],required:!1,default:()=>ir(Rm,!1)?{mobile:"12",small:"6"}:void 0},suffix:{type:String,required:!1},suffixIcon:{type:String,required:!1},validation:{type:String,required:!1},validationLabel:{type:[String,Function],required:!1},validationMessages:{type:Object,required:!1},validationRules:{type:Object,required:!1}}),zm=(Boolean,ti({__name:"field",props:{...Fm,sectionsSchema:{type:Object,required:!1},type:{type:[String,Object],required:!0}},setup(t){const e=t,n=$o((()=>e.required?function(...t){return t.filter(Boolean).join("|")}("required",e.validation):e.validation)),i=De(Mm),r=$o((()=>({outer:{attrs:{style:$m(e.span)}},label:{$el:"div",if:"$label || $description || $required",children:[{$cmp:i,children:"$label",props:{description:"$description",required:"$required",for:"$id"}}]},...e.sectionsSchema}))),o=t=>{t.addProps(["description","required"])};return(i,s)=>{const a=Ci("FormKit");return Yr(),to(a,go({id:i.id,classes:Ve(Dm)({outer:i.$attrs.class},i.classes),description:i.description,disabled:i.disabled||void 0,errors:i.errors,help:i.help,ignore:i.ignore,label:i.label,"model-value":i.modelValue,name:i.name,"outer-class":i.span&&Ve(Lm).formSpan,preserve:i.preserve,plugins:[o],required:i.required,"sections-schema":r.value,type:t.type,validation:n.value,"validation-label":i.validationLabel,"validation-messages":i.validationMessages,"validation-rules":i.validationRules,"onUpdate:modelValue":e["onUpdate:modelValue"]},Di({input:i.onInput})),Mi({_:2},[Pi(i.$slots,((t,e)=>({name:e,fn:$n((t=>[Li(i.$slots,e,K(ao(t)))]))}))),i.$slots.label?{name:"label",fn:$n((t=>[so(Mm,{for:i.id,description:i.description,required:i.required},{default:$n((()=>[Li(i.$slots,"label",K(ao(t)))])),_:2},1032,["for","description","required"])])),key:"0"}:void 0,i.$slots.help?{name:"help",fn:$n((t=>[oo("div",{class:Y(i.$style.help)},[Li(i.$slots,"help",K(ao(t)))],2)])),key:"1"}:void 0]),1040,["id","classes","description","disabled","errors","help","ignore","label","model-value","name","outer-class","preserve","plugins","required","sections-schema","type","validation","validation-label","validation-messages","validation-rules","onUpdate:modelValue"])}}})),Vm=kd(zm,[["__cssModules",{$style:{help:"_help_l44b4_1"}}]]),Wm=["for"],Um=["for"],Hm=ti({__name:"input",props:{...Fm,placeholder:{type:String,required:!1},type:{type:[String,Object],required:!0}},setup(t){const e=t,n=Be(!1);return(t,i)=>(Yr(),to(Vm,go(e,{classes:Ve(Dm)({inner:{[t.$style.input]:!0,[Ve(Lm).inputControl]:!0,[Ve(Lm).focused]:n.value},input:Ve(Lm).inputHide},t.classes),onFocus:i[0]||(i[0]=t=>n.value=!0),onBlur:i[1]||(i[1]=t=>n.value=!1)}),Mi({_:2},[Pi(t.$slots,((e,n)=>({name:n,fn:$n((e=>[Li(t.$slots,n,K(ao(e)))]))}))),t.$slots.prefix||t.prefix||t.prefixIcon?{name:"prefix",fn:$n((e=>[oo("label",{for:t.id,class:Y(t.$style.prefix)},[t.prefixIcon?(Yr(),to(Ve(Od),{key:0,icon:t.prefixIcon},null,8,["icon"])):uo("",!0),Li(t.$slots,"prefix",K(ao(e)),(()=>[co(nt(t.prefix),1)]))],10,Wm)])),key:"0"}:void 0,t.$slots.suffix||t.suffix||t.suffixIcon?{name:"suffix",fn:$n((e=>[oo("label",{for:t.id,class:Y(t.$style.suffix)},[t.suffixIcon?(Yr(),to(Ve(Od),{key:0,icon:t.suffixIcon},null,8,["icon"])):uo("",!0),Li(t.$slots,"suffix",K(ao(e)),(()=>[co(nt(t.suffix),1)]))],10,Um)])),key:"1"}:void 0]),1040,["classes"]))}}),qm=kd(Hm,[["__cssModules",{$style:{input:"_input_1rnut_1",prefixSuffix:"_prefixSuffix_1rnut_4",prefix:"_prefix_1rnut_4",suffix:"_suffix_1rnut_6"}}]]);function Gm(){return Math.random().toString(36).substring(2,15)}function Xm(t,e){return[...t instanceof Set?t:new Set(t)]}function Ym(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Km(t,e,n=!0,i=["__key"]){if(t===e)return!0;if("object"==typeof e&&"object"==typeof t){if(t instanceof Map||t instanceof Set||t instanceof Date||null===t||null===e||Object.keys(t).length!==Object.keys(e).length)return!1;for(const n of i)if((n in t||n in e)&&t[n]!==e[n])return!1;for(const r in t)if(!(r in e)||t[r]!==e[r]&&!n||n&&!Km(t[r],e[r],n,i))return!1;return!0}return!1}function Zm(t){const e=typeof t;if("number"===e)return!1;if(void 0===t)return!0;if("string"===e)return""===t;if("object"===e){if(null===t)return!0;for(const e in t)return!1;return!(t instanceof RegExp||t instanceof Date)}return!1}function Jm(t){return"[object Object]"===Object.prototype.toString.call(t)}function Qm(t){return Jm(t)||Array.isArray(t)}function tv(t){if(!1===Jm(t)||t.__FKNode__||!1===t.__POJO__)return!1;const e=t.constructor;if(void 0===e)return!0;const n=e.prototype;return!(!1===Jm(n)||!1===n.hasOwnProperty("isPrototypeOf"))}function ev(t,e,n=!1,i=!1){if(null===e)return null;const r={};if("string"==typeof e)return e;for(const o in t)if(!Ym(e,o)||void 0===e[o]&&i)r[o]=t[o];else{if(n&&Array.isArray(t[o])&&Array.isArray(e[o])){r[o]=t[o].concat(e[o]);continue}if(void 0===e[o])continue;tv(t[o])&&tv(e[o])?r[o]=ev(t[o],e[o],n,i):r[o]=e[o]}for(const t in e)!Ym(r,t)&&void 0!==e[t]&&(r[t]=e[t]);return r}function nv(...t){return t.reduce(((t,e)=>{const{value:n,name:i,modelValue:r,config:o,plugins:s,...a}=e;return Object.assign(t,a)}),{})}function iv(t,e){const n={},i=e.filter((t=>t instanceof RegExp)),r=new Set(e);for(const e in t)!r.has(e)&&!i.some((t=>t.test(e)))&&(n[e]=t[e]);return n}function rv(t,e){const n={},i=e.filter((t=>t instanceof RegExp));return e.forEach((e=>{e instanceof RegExp||(n[e]=t[e])})),Object.keys(t).forEach((e=>{i.some((t=>t.test(e)))&&(n[e]=t[e])})),n}function ov(t){return t.replace(/-([a-z0-9])/gi,((t,e)=>e.toUpperCase()))}function sv(t){return t.replace(/([a-z0-9])([A-Z])/g,((t,e,n)=>e+"-"+n.toLowerCase())).replace(" ","-").toLowerCase()}function av(t,e=["__key","__init"]){if(null===t||t instanceof RegExp||t instanceof Date||t instanceof Map||t instanceof Set||"function"==typeof File&&t instanceof File)return t;let n;n=Array.isArray(t)?t.map((t=>"object"==typeof t?av(t,e):t)):Object.keys(t).reduce(((n,i)=>(n[i]="object"==typeof t[i]?av(t[i],e):t[i],n)),{});for(const i of e)i in t&&Object.defineProperty(n,i,{enumerable:!1,value:t[i]});return n}function lv(t){return"object"==typeof t?av(t):t}function cv(t){return void 0!==t&&"false"!==t&&!1!==t||void 0}function uv(t){return Object.isFrozen(t)?t:Object.defineProperty(t,"__init",{enumerable:!1,value:!0})}function hv(t){return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase().replace(/[^a-z0-9]/g," ").trim().replace(/\s+/g,"-")}function dv(){const t=[];let e=0;const n=e=>t.push(e),i=n=>{const r=t[e];return"function"==typeof r?r(n,(t=>(e++,i(void 0===t?n:t)))):(e=0,n)};return n.dispatch=i,n.unshift=e=>t.unshift(e),n.remove=e=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},n}function pv(){const t=new Map,e=new Map;let n;const i=(e,i)=>{n?n.set(i.name,[e,i]):(t.has(i.name)&&t.get(i.name).forEach((t=>{(i.origin===e||t.modifiers.includes("deep"))&&t.listener(i)})),i.bubble&&e.bubble(i))};return i.on=(n,i)=>{const[r,...o]=n.split("."),s=i.receipt||Gm(),a={modifiers:o,event:r,listener:i,receipt:s};return t.has(r)?t.get(r).push(a):t.set(r,[a]),e.has(s)?e.get(s).push(r):e.set(s,[r]),s},i.off=n=>{var i;e.has(n)&&(null===(i=e.get(n))||void 0===i||i.forEach((e=>{const i=t.get(e);Array.isArray(i)&&t.set(e,i.filter((t=>t.receipt!==n)))})),e.delete(n))},i.pause=t=>{n||(n=new Map),t&&t.walk((t=>t._e.pause()))},i.play=t=>{if(!n)return;const e=n;n=void 0,e.forEach((([t,e])=>i(t,e))),t&&t.walk((t=>t._e.play()))},i}Boolean;const fv=dv();fv(((t,e)=>(t.message||(t.message=`E${t.code}`),e(t))));const gv=dv();function mv(t,e={}){gv.dispatch({code:t,data:e})}function vv(t,e={}){throw Error(fv.dispatch({code:t,data:e}).message)}function yv(t,e){return{blocking:!1,key:Gm(),meta:{},type:"state",visible:!0,...t}}gv(((t,e)=>{t.message||(t.message=`W${t.code}`);const n=e(t);return console&&"function"==typeof console.warn&&console.warn(n.message),n}));const bv={apply:function(t,e,n,i,r){if(Array.isArray(i)){if(e.buffer)return void e._b.push([i,r]);const t=new Set(i.map((t=>(e.set(t),t.key))));"string"==typeof r?e.filter((e=>e.type!==r||t.has(e.key))):"function"==typeof r&&e.filter((e=>!r(e)||t.has(e.key)))}else for(const t in i){const o=n.at(t);o?o.store.apply(i[t],r):wv(n,e,t,i[t],r)}},set:function(t,e,n,i){if(e.buffer)return e._b.push([[i]]),e;if(t[i.key]!==i){if("string"==typeof i.value&&!1!==i.meta.localize){const t=i.value;i.value=n.t(i),i.value!==t&&(i.meta.locale=n.props.locale)}const e="message-"+(Ym(t,i.key)?"updated":"added");t[i.key]=Object.freeze(n.hook.message.dispatch(i)),n.emit(e,i)}return e},remove:xv,filter:function(t,e,n,i,r){for(const o in t){const s=t[o];(!r||s.type===r)&&!i(s)&&xv(t,e,n,o)}},reduce:function(t,e,n,i,r){for(const e in t)r=i(r,t[e]);return r},release:function(t,e){e.buffer=!1,e._b.forEach((([t,n])=>e.apply(t,n))),e._b=[]},touch:function(t,e){for(const n in t){const i={...t[n]};e.set(i)}}};function _v(t=!1){const e={};let n,i=t,r=[];const o=new Map;let s;const a=new Proxy(e,{get(...t){const[l,c]=t;return"buffer"===c?i:"_b"===c?r:"_m"===c?o:"_r"===c?s:Ym(bv,c)?bv[c].bind(null,e,a,n):Reflect.get(...t)},set:(t,e,o)=>"_n"===e?(n=o,"__n"===s&&Sv(n,a),!0):"_b"===e?(r=o,!0):"buffer"===e?(i=o,!0):"_r"===e?(s=o,!0):(vv(101,n),!1)});return a}function xv(t,e,n,i){if(Ym(t,i)){const e=t[i];delete t[i],n.emit("message-removed",e)}return!0===e.buffer&&(e._b=e._b.filter((t=>(t[0]=t[0].filter((t=>t.key!==i)),t[1]||t[0].length)))),e}function wv(t,e,n,i,r){var o;const s=e._m;s.has(n)||s.set(n,[]),e._r||(e._r=Sv(t,e)),null===(o=s.get(n))||void 0===o||o.push([i,r])}function Sv(t,e){return t.on("child.deep",(({payload:n})=>{e._m.forEach(((i,r)=>{t.at(r)===n&&(i.forEach((([t,e])=>{n.store.apply(t,e)})),e._m.delete(r))})),0===e._m.size&&e._r&&(t.off(e._r),e._r=void 0)}))}function kv(){const t={};let e;return{count:(...n)=>function(t,e,n,i,r=0){if(i=function(t){return"function"==typeof t?t:e=>e.type===t}(i||n),!Ym(e,n)){const o={condition:i,count:0,name:n,node:t,promise:Promise.resolve(),resolve:()=>{}};e[n]=o,r=t.store.reduce(((t,e)=>t+1*o.condition(e)),r),t.each((t=>{t.ledger.count(o.name,o.condition),r+=t.ledger.value(o.name)}))}return Cv(e[n],r).promise}(e,t,...n),init(n){e=n,n.on("message-added.deep",Av(t,1)),n.on("message-removed.deep",Av(t,-1))},merge:n=>Ov(e,t,n),settled:e=>Ym(t,e)?t[e].promise:Promise.resolve(),unmerge:n=>Ov(e,t,n,!0),value:e=>Ym(t,e)?t[e].count:0}}function Cv(t,e){const n=t.count,i=t.count+e;return t.count=i,0===n&&0!==i?(t.node.emit(`unsettled:${t.name}`,t.count,!1),t.promise=new Promise((e=>t.resolve=e))):0!==n&&0===i&&(t.node.emit(`settled:${t.name}`,t.count,!1),t.resolve()),t.node.emit(`count:${t.name}`,t.count,!1),t}function Av(t,e){return n=>{for(const i in t){const r=t[i];r.condition(n.payload)&&Cv(r,e)}}}function Ov(t,e,n,i=!1){for(const r in e){const o=e[r].condition;i||n.ledger.count(r,o);const s=n.ledger.value(r)*(i?-1:1);if(t)do{t.ledger.count(r,o,s),t=t.parent}while(t)}}const Tv=new Map,Ev=new Map,Pv=pv(),Mv=[];function Lv(t){return Tv.get(t)}function jv(t,e,n){let i=!0;return e in t.config._t?i=!1:t.emit(`config:${e}`,n,!1),e in t.props||(t.emit("prop",{prop:e,value:n}),t.emit(`prop:${e}`,n)),i}function Dv(t){const e=document.getElementById(t);if(e instanceof HTMLFormElement){const t=new Event("submit",{cancelable:!0,bubbles:!0});e.dispatchEvent(t)}else mv(151,t)}function $v(t,e){const n="string"==typeof t?Lv(t):t;if(n){const t=t=>lv(t.props.initial)||("group"===t.type?{}:"list"===t.type?[]:void 0);n._e.pause(n),n.input(lv(e)||t(n),!1),n.walk((e=>e.input(t(e),!1)));const i=t(n);return n.input("object"==typeof i?lv(e)||uv(i):i,!1),n._e.play(n),function(t){const e=t=>{for(const e in t.store){const n=t.store[e];"error"===n.type||"ui"===n.type&&"incomplete"===e?t.store.remove(e):"state"===n.type&&t.store.set({...n,value:!1})}};e(t),t.walk(e)}(n),n.emit("reset",n),n}mv(152,t)}const Rv={delimiter:".",delay:0,locale:"en",rootClasses:t=>({[`formkit-${sv(t)}`]:!0})},Iv=Symbol("index"),Bv=Symbol("removed"),Nv=Symbol("moved"),Fv=Symbol("inserted");function zv(t){return t&&"object"==typeof t&&!0===t.__FKNode__}const Vv=(t,e,n)=>{vv(102,[t,n])},Wv={_c:Uv((function(t,e){return e}),Vv,!1),add:Uv((function(t,e,n,i){if("input"===t.type&&vv(100,t),n.parent&&n.parent!==t&&n.parent.remove(n),e.children.includes(n)||(void 0!==i&&"list"===t.type?(e.children.splice(i,0,n),Array.isArray(t.value)&&t.value.length<e.children.length&&t.disturb().calm({name:i,value:n.value,from:Fv})):e.children.push(n),n.isSettled||t.disturb()),n.parent!==t){if(n.parent=t,n.parent!==t)return t.remove(n),n.parent.add(n),t}else n.use(t.plugins);return Zv(t,e,!1),t.ledger.merge(n),t.emit("child",n),t})),addProps:Uv((function(t,e,n){var i;if(t.props.attrs){const r={...t.props.attrs};t.props._emit=!1;for(const e in r){const i=ov(e);n.includes(i)&&(t.props[i]=r[e],delete r[e])}const o=lv(e._value);t.props.initial="input"!==t.type?uv(o):o,t.props._emit=!0,t.props.attrs=r,t.props.definition&&(t.props.definition.props=[...(null===(i=t.props.definition)||void 0===i?void 0:i.props)||[],...n])}return t.emit("added-props",n),t})),address:Uv((function(t,e){return e.parent?e.parent.address.concat([t.name]):[t.name]}),Vv,!1),at:Uv((function(t,e,n){const i="string"==typeof n?n.split(t.config.delimiter):n;if(!i.length)return;const r=i[0];let o=t.parent;for(o||(String(i[0])===String(t.name)&&i.shift(),o=t),"$parent"===r&&i.shift();o&&i.length;){const e=i.shift();switch(e){case"$root":o=t.root;break;case"$parent":o=o.parent;break;case"$self":o=t;break;default:o=o.children.find((t=>String(t.name)===String(e)))||ty(o,e)}}return o||void 0})),bubble:Uv((function(t,e,n){return zv(t.parent)&&t.parent._e(t.parent,n),t})),clearErrors:Uv((function(t,e,n=!0,i){return ny(t,0,[]),n&&(i=i||`${t.name}-set`,t.walk((t=>{t.store.filter((t=>!("error"===t.type&&t.meta&&t.meta.source===i)))}))),t})),calm:Uv((function(t,e,n){var i;if(void 0!==n&&"input"!==t.type)return Jv(e,n),Zv(t,e,!0,!1);e._d>0&&e._d--,0===e._d&&(e.isSettled=!0,t.emit("settled",!0,!1),t.parent&&(null===(i=t.parent)||void 0===i||i.calm({name:t.name,value:e.value})),e._resolve&&e._resolve(e.value))})),config:Uv(!1),define:Uv((function(t,e,n){e.type=n.type,e.props.definition=av(n),e.value=e._value=Yv({type:t.type,value:e.value}),n.forceTypeProp&&(t.props.type&&(t.props.originalType=t.props.type),e.props.type=n.forceTypeProp),n.family&&(e.props.family=n.family),n.features&&n.features.forEach((e=>e(t))),n.props&&t.addProps(n.props),t.emit("defined",n)})),disturb:Uv((function(t,e){var n;return e._d<=0&&(e.isSettled=!1,t.emit("settled",!1,!1),e.settled=new Promise((t=>{e._resolve=t})),t.parent&&(null===(n=t.parent)||void 0===n||n.disturb())),e._d++,t})),destroy:Uv((function(t,e){t.emit("destroying",t),t.store.filter((()=>!1)),t.parent&&t.parent.remove(t),function(t){if(Ev.has(t)){const e=Ev.get(t);Ev.delete(t),Tv.delete(e),Pv(t,{payload:null,name:e,bubble:!1,origin:t})}}(t),e._value=e.value=void 0,t.emit("destroyed",t)})),hydrate:Uv((function(t,e){const n=e._value;return e.children.forEach((i=>{if("object"==typeof n)if(i.name in n){const t="input"!==i.type||n[i.name]&&"object"==typeof n[i.name]?uv(n[i.name]):n[i.name];i.input(t,!1)}else("list"!==t.type||"number"==typeof i.name)&&Jv(e,{name:i.name,value:i.value}),n.__init||("group"===i.type?i.input({},!1):"list"===i.type?i.input([],!1):i.input(void 0,!1))})),t})),index:Uv((function(t){if(t.parent){const e=[...t.parent.children].indexOf(t);return-1===e?t.parent.children.length:e}return-1}),(function(t,e,n,i){if(zv(t.parent)){const e=t.parent.children,n=i>=e.length?e.length-1:i<0?0:i,r=e.indexOf(t);return-1!==r&&(e.splice(r,1),e.splice(n,0,t),t.parent.children=e,"list"===t.parent.type&&t.parent.disturb().calm({name:n,value:Nv,from:r}),!0)}return!1}),!1),input:Uv(Kv),each:Uv((function(t,e,n){e.children.forEach((t=>n(t)))})),emit:Uv((function(t,e,n,i,r=!0){return e._e(t,{payload:i,name:n,bubble:r,origin:t}),t})),find:Uv((function(t,e,n,i){return function(t,e,n="name"){const i="string"==typeof n?t=>t[n]==e:n,r=[t];for(;r.length;){const t=r.shift();if(i(t,e))return t;r.push(...t.children)}}(t,n,i)})),on:Uv((function(t,e,n,i){return e._e.on(n,i)})),off:Uv((function(t,e,n){return e._e.off(n),t})),parent:Uv(!1,(function(t,e,n,i){return zv(i)?(t.parent&&t.parent!==i&&t.parent.remove(t),e.parent=i,t.resetConfig(),i.children.includes(t)?t.use(i.plugins):i.add(t),!0):null===i&&(e.parent=null,!0)})),plugins:Uv(!1),remove:Uv((function(t,e,n){const i=e.children.indexOf(n);if(-1!==i){n.isSettled&&t.disturb(),e.children.splice(i,1);let r=cv(n.props.preserve),o=n.parent;for(;void 0===r&&o;)r=cv(o.props.preserve),o=o.parent;r?t.calm():t.calm({name:"list"===t.type?i:n.name,value:Bv}),n.parent=null,n.config._rmn=n}return t.ledger.unmerge(n),t})),root:Uv((function(t){let e=t;for(;e.parent;)e=e.parent;return e}),Vv,!1),reset:Uv((function(t,e,n){return $v(t,n)})),resetConfig:Uv((function(t,e){const n=t.parent||void 0;e.config=ey(t.config._t,n),t.walk((t=>t.resetConfig()))})),setErrors:Uv(ny),submit:Uv((function(t){const e=t.name;do{if(!0===t.props.isForm)break;t.parent||vv(106,e),t=t.parent}while(t);t.props.id&&Dv(t.props.id)})),t:Uv((function(t,e,n,i="ui"){const r="string"==typeof n?{key:n,value:n,type:i}:n,o=t.hook.text.dispatch(r);return t.emit("text",o,!1),o.value})),use:Uv(Qv),name:Uv((function(t,e){var n;return"list"===(null===(n=t.parent)||void 0===n?void 0:n.type)?t.index:e.name!==Iv?e.name:t.index}),!1,!1),walk:Uv((function(t,e,n,i=!1){e.children.forEach((t=>{(!1!==n(t)||!i)&&t.walk(n)}))}))};function Uv(t,e,n=!0){return{get:!!t&&((e,i)=>n?(...n)=>t(e,i,...n):t(e,i)),set:void 0!==e?e:Vv.bind(null)}}function Hv(){const t=new Map;return new Proxy(t,{get:(e,n)=>(t.has(n)||t.set(n,dv()),t.get(n))})}let qv=0,Gv=0;function Xv(t){var e,n;return"list"===(null===(e=t.parent)||void 0===e?void 0:e.type)?Iv:t.name||`${(null===(n=t.props)||void 0===n?void 0:n.type)||"input"}_${++qv}`}function Yv(t){return"group"===t.type?uv(t.value&&"object"==typeof t.value&&!Array.isArray(t.value)?t.value:{}):"list"===t.type?uv(Array.isArray(t.value)?t.value:[]):null===t.value?"":t.value}function Kv(t,e,n,i=!0){return e._value=function(t,e){switch(t.type){case"input":break;case"group":(!e||"object"!=typeof e)&&vv(107,[t,e]);break;case"list":Array.isArray(e)||vv(108,[t,e])}return e}(t,t.hook.input.dispatch(n)),t.emit("input",e._value),e.isSettled&&t.disturb(),i?(e._tmo&&clearTimeout(e._tmo),e._tmo=setTimeout(Zv,t.props.delay,t,e)):Zv(t,e),e.settled}function Zv(t,e,n=!0,i=!0){e._value=e.value=t.hook.commit.dispatch(e._value),"input"!==t.type&&i&&t.hydrate(),t.emit("commit",e.value),n&&t.calm()}function Jv(t,{name:e,value:n,from:i}){if(!Object.isFrozen(t._value)){if(function(t){return"list"===t.type&&Array.isArray(t._value)}(t)){const r=n===Bv?[]:n===Nv&&"number"==typeof i?t._value.splice(i,1):[n];return void t._value.splice(e,n===Nv||i===Fv?0:1,...r)}n!==Bv?t._value[e]=n:delete t._value[e]}}function Qv(t,e,n,i=!0,r=!0){return Array.isArray(n)||n instanceof Set?(n.forEach((n=>Qv(t,e,n))),t):(e.plugins.has(n)||(r&&"function"==typeof n.library&&n.library(t),i&&!1!==n(t)&&(e.plugins.add(n),t.children.forEach((t=>t.use(n))))),t)}function ty(t,e){const n=String(e).match(/^(find)\((.*)\)$/);if(n){const[,e,i]=n,r=i.split(",").map((t=>t.trim()));return"find"===e?t.find(r[0],r[1]):void 0}}function ey(t={},e){let n;return new Proxy(t,{get(...i){const r=i[1];if("_t"===r)return t;const o=Reflect.get(...i);if(void 0!==o)return o;if(e){const t=e.config[r];if(void 0!==t)return t}if(t.rootConfig&&"string"==typeof r){const e=t.rootConfig[r];if(void 0!==e)return e}return"delay"===r&&"input"===(null==n?void 0:n.type)?20:Rv[r]},set(...e){const i=e[1],r=e[2];if("_n"===i)return n=r,t.rootConfig&&t.rootConfig._add(n),!0;if("_rmn"===i)return t.rootConfig&&t.rootConfig._rm(n),n=void 0,!0;if(!Km(t[i],r,!1)){const t=Reflect.set(...e);return n&&(n.emit(`config:${i}`,r,!1),jv(n,i,r),n.walk((t=>jv(t,i,r)),!0)),t}return!0}})}function ny(t,e,n,i){const r=`${t.name}-set`,o=t.hook.setErrors.dispatch({localErrors:n,childErrors:i});return function(t,...e){const n=`${t.name}-set`,i=t=>yv({key:hv(t),type:"error",value:t,meta:{source:n,autoClear:!0}});return e.filter((t=>!!t)).map((t=>{if("string"==typeof t&&(t=[t]),Array.isArray(t))return t.map((t=>i(t)));{const e={};for(const n in t)Array.isArray(t[n])?e[n]=t[n].map((t=>i(t))):e[n]=[i(t[n])];return e}}))}(t,o.localErrors,o.childErrors).forEach((e=>{t.store.apply(e,(t=>t.meta.source===r))})),t}function iy(t){const e={initial:"object"==typeof t?lv(t):t};let n,i=!0;return new Proxy(e,{get(...t){const[i,r]=t;return Ym(e,r)?Reflect.get(...t):n&&"string"==typeof r&&void 0!==n.config[r]?n.config[r]:void 0},set(t,r,o,s){if("_n"===r)return n=o,!0;if("_emit"===r)return i=o,!0;const{prop:a,value:l}=n.hook.prop.dispatch({prop:r,value:o});if(!Km(e[a],l,!1)||"object"==typeof l){const e=Reflect.set(t,a,l,s);return i&&(n.emit("prop",{prop:a,value:l}),"string"==typeof a&&n.emit(`prop:${a}`,l)),e}return!0}})}function ry(t){const e=t||{},n=function(t){const e=Yv(t),n=ey(t.config||{},t.parent);return{_d:0,_e:pv(),_resolve:!1,_tmo:!1,_value:e,children:Xm(t.children||[]),config:n,hook:Hv(),isCreated:!1,isSettled:!0,ledger:kv(),name:Xv(t),parent:t.parent||null,plugins:new Set,props:iy(e),settled:Promise.resolve(e),store:_v(!0),traps:new Map(Object.entries(Wv)),type:t.type||"input",value:e}}(e),i=new Proxy(n,{get(...t){const[,e]=t;if("__FKNode__"===e)return!0;const r=n.traps.get(e);return r&&r.get?r.get(i,n):Reflect.get(...t)},set(...t){const[,e,r]=t,o=n.traps.get(e);return o&&o.set?o.set(i,n,e,r):Reflect.set(...t)}});return function(t,e){var n;if(t.ledger.init(t.store._n=t.props._n=t.config._n=t),t.props._emit=!1,e.props&&Object.assign(t.props,e.props),t.props._emit=!0,function(t,e){if(t.props.definition)return t.define(t.props.definition);for(const n of e){if(t.props.definition)return;"function"==typeof n.library&&n.library(t)}}(t,new Set([...e.plugins||[],...t.parent?t.parent.plugins:[]])),e.plugins)for(const n of e.plugins)Qv(t,t._c,n,!0,!1);return function(t){Ym(t.props,"id")||(t.props.id="input_"+Gv++)}(t),t.each((e=>t.add(e))),t.parent&&t.parent.add(t,e.index),"input"===t.type&&t.children.length&&vv(100,t),Kv(t,t._c,t._value,!1),t.store.release(),!(null===(n=e.props)||void 0===n)&&n.id&&function(t){t.props.id&&(Tv.set(t.props.id,t),Ev.set(t,t.props.id),Pv(t,{payload:t,name:t.props.id,bubble:!1,origin:t}))}(t),t.emit("created",t),t.isCreated=!0,t}(i,e)}function oy(t){return"string"!=typeof t&&Ym(t,"$el")}function sy(t){return"string"!=typeof t&&Ym(t,"$cmp")}function ay(t){return!(!t||"string"==typeof t)&&Ym(t,"if")&&Ym(t,"then")}function ly(t){let e;const n=new Set,i=function(t,e){return"function"==typeof t?t(e):t},r=[{"&&":(t,e,n)=>i(t,n)&&i(e,n),"||":(t,e,n)=>i(t,n)||i(e,n)},{"===":(t,e,n)=>i(t,n)===i(e,n),"!==":(t,e,n)=>i(t,n)!==i(e,n),"==":(t,e,n)=>i(t,n)==i(e,n),"!=":(t,e,n)=>i(t,n)!=i(e,n),">=":(t,e,n)=>i(t,n)>=i(e,n),"<=":(t,e,n)=>i(t,n)<=i(e,n),">":(t,e,n)=>i(t,n)>i(e,n),"<":(t,e,n)=>i(t,n)<i(e,n)},{"+":(t,e,n)=>i(t,n)+i(e,n),"-":(t,e,n)=>i(t,n)-i(e,n)},{"*":(t,e,n)=>i(t,n)*i(e,n),"/":(t,e,n)=>i(t,n)/i(e,n),"%":(t,e,n)=>i(t,n)%i(e,n)}],o=r.reduce(((t,e)=>t.concat(Object.keys(e))),[]),s=new Set(o.map((t=>t.charAt(0))));function a(t,e,n,i){const r=t.filter((t=>t.startsWith(e)));return!!r.length&&r.find((t=>i.length>=n+t.length&&i.substring(n,n+t.length)===t&&t))}function l(t,e,n=1){let i=n?e.substring(t+1).trim():e.substring(0,t).trim();if(!i.length)return-1;if(!n){const t=i.split("").reverse(),e=t.findIndex((t=>s.has(t)));i=t.slice(e).join("")}const o=i[0];return r.findIndex((t=>!!a(Object.keys(t),o,0,i)))}function c(t,e){let n="";const i=e.length;let r=0;for(let s=t;s<i;s++){const t=e.charAt(s);if("("===t)r++;else if(")"===t)r--;else if(0===r&&" "===t)continue;if(0===r&&a(o,t,s,e))return[n,s-1];n+=t}return[n,e.length-1]}function u(t,e=0){const n=r[e],i=t.length,o=Object.keys(n);let s,u=0,d=!1,p=null,f="",g=null,m="",v="",y="",b="",_=0;const x=(t,e)=>{t?y+=e:f+=e};for(let r=0;r<i;r++)if(m=v,v=t.charAt(r),"'"!==v&&'"'!==v||"\\"===m||!(0===u&&!d||u&&!b))if(d&&(v!==d||"\\"===m)||b&&(v!==b||"\\"===m))x(u,v);else if(d!==v)if(b!==v){if(" "!==v)if("("===v)0===u?_=r:y+=v,u++;else if(")"===v)if(u--,0===u){const n="string"==typeof f&&f.startsWith("$")?f:void 0,i=n&&"."===t.charAt(r+1);let o="";i&&([o,r]=c(r+2,t));const s=p?e:l(_,t,0),a=l(r,t);-1===s&&-1===a?f=h(y,-1,n,o):p&&(s>=a||-1===a)&&e===s?(g=p.bind(null,h(y,-1,n,o)),p=null,f=""):a>s&&e===a?f=h(y,-1,n,o):f+=`(${y})${i?`.${o}`:""}`,y=""}else y+=v;else{if(0===u&&(s=a(o,v,r,t))){0===r&&vv(103,[s,t]),r+=s.length-1,r===t.length-1&&vv(104,[s,t]),p?f&&(g=p.bind(null,h(f,e)),p=n[s].bind(null,g),f=""):g?(p=n[s].bind(null,h(g,e)),g=null):(p=n[s].bind(null,h(f,e)),f="");continue}x(u,v)}}else b=!1,x(u,v);else d=!1,x(u,v);else u?b=v:d=v,x(u,v);return f&&p&&(p=p.bind(null,h(f,e))),p=!p&&g?g:p,!p&&f&&(p=(t,e)=>"function"==typeof t?t(e):t,p=p.bind(null,h(f,e))),!p&&!f&&vv(105,t),p}function h(t,i,o,s){if(o){const n=h(o,r.length);let i,a=!!s&&ly(`$${s}`);if("function"==typeof n){const r=function(t){const e=[];let n="",i=0,r="",o="";for(let s=0;s<t.length;s++){const a=t.charAt(s);a===r&&"\\"!==o?r="":"'"!==a&&'"'!==a||r||"\\"===o?"("!==a||r?")"===a&&!r&&i--:i++:r=a,","!==a||r||0!==i?(" "!==a||r)&&(n+=a):(e.push(n),n=""),o=a}return n&&e.push(n),e}(String(t)).map((t=>h(t,-1)));return t=>{const l=n(t);return"function"!=typeof l?(mv(150,o),l):(i=l(...r.map((e=>"function"==typeof e?e(t):e))),a&&(a=a.provide((t=>{const n=e(t);return t.reduce(((t,e)=>{if(e===s||(null==s?void 0:s.startsWith(`${e}(`))){const n=function(t,e){if(!t||"object"!=typeof t)return null;const n=e.split(".");let i=t;for(const t in n){const e=n[t];if(Ym(i,e)&&(i=i[e]),+t==n.length-1)return i;if(!i||"object"!=typeof i)return null}return null}(i,e);t[e]=()=>n}else t[e]=n[e];return t}),{})}))),a?a():i)}}}else if("string"==typeof t){if("true"===t)return!0;if("false"===t)return!1;if("undefined"===t)return;if(function(t){if('"'!==t[0]&&"'"!==t[0]||t[0]!==t[t.length-1])return!1;const e=t[0];for(let n=1;n<t.length;n++)if(t[n]===e&&(1===n||"\\"!==t[n-1])&&n!==t.length-1)return!1;return!0}(t))return function(t){if(!t.length)return"";let e="",n="";for(let i=0;i<t.length;i++){const r=t.charAt(i);("\\"!==r||"\\"===n)&&(e+=r),n=r}return e}(t.substring(1,t.length-1));if(!isNaN(+t))return Number(t);if(i<r.length-1)return u(t,i+1);if(t.startsWith("$")){const e=t.substring(1);return n.add(e),function(t){return e in t?t[e]():void 0}}return t}return t}const d=u(t.startsWith("$:")?t.substring(2):t),p=Array.from(n);return Object.assign(d,{provide:function t(n){return e=n,Object.assign(d.bind(null,n(p)),{provide:t})}})}function cy(t,e,n){return n?"string"==typeof n?n.split(" ").reduce(((t,e)=>Object.assign(t,{[e]:!0})),{}):"function"==typeof n?cy(t,e,n(e,t)):n:{}}function uy(t,e,n){const i=Lv(t);i?i.setErrors(e,n):mv(651,t)}function hy(t,e=!0){const n=Lv(t);n?n.clearErrors(e):mv(652,t)}const dy="1.0.0-beta.10",py=vb("outer",(()=>({$el:"div",attrs:{key:"$id","data-family":"$family || undefined","data-type":"$type","data-multiple":'$attrs.multiple || ($type != "select" && $options != undefined) || undefined',"data-disabled":"$disabled || undefined","data-complete":"$state.complete || undefined","data-invalid":"$state.valid === false && $state.validationVisible || undefined","data-errors":"$state.errors || undefined","data-submitted":"$state.submitted || undefined","data-prefix-icon":"$_rawPrefixIcon !== undefined || undefined","data-suffix-icon":"$_rawSuffixIcon !== undefined || undefined","data-prefix-icon-click":"$onPrefixIconClick !== undefined || undefined","data-suffix-icon-click":"$onSuffixIconClick !== undefined || undefined"}})),!0),fy=vb("inner","div"),gy=vb("wrapper","div"),my=vb("label",(()=>({$el:"label",if:"$label",attrs:{for:"$id"}}))),vy=vb("messages",(()=>({$el:"ul",if:"$fns.length($messages)"}))),yy=vb("message",(()=>({$el:"li",for:["message","$messages"],attrs:{key:"$message.key",id:"$id + '-' + $message.key","data-message-type":"$message.type"}}))),by=vb("prefix",null),_y=vb("suffix",null),xy=vb("help",(()=>({$el:"div",if:"$help",attrs:{id:'$: "help-" + $id'}}))),wy=vb("fieldset",(()=>({$el:"fieldset",attrs:{id:"$id","aria-describedby":{if:"$help",then:'$: "help-" + $id',else:void 0}}}))),Sy=vb("decorator",(()=>({$el:"span",attrs:{"aria-hidden":"true"}}))),ky=vb("input",(()=>({$el:"input",bind:"$attrs",attrs:{type:"$type",name:"$node.props.altName || $node.name",disabled:"$option.attrs.disabled || $disabled",onInput:"$handlers.toggleChecked",checked:"$fns.eq($_value, $onValue)",onBlur:"$handlers.blur",value:"$: true",id:"$id","aria-describedby":{if:"$options.length",then:{if:"$option.help",then:'$: "help-" + $option.attrs.id',else:void 0},else:{if:"$help",then:'$: "help-" + $id',else:void 0}}}}))),Cy=vb("legend",(()=>({$el:"legend",if:"$label"}))),Ay=vb("option",(()=>({$el:"li",for:["option","$options"],attrs:{"data-disabled":"$option.attrs.disabled || $disabled"}}))),Oy=vb("options","ul"),Ty=vb("wrapper",(()=>({$el:"label",attrs:{"data-disabled":{if:"$options.length",then:void 0,else:"$disabled || undefined"}}}))),Ey=vb("optionHelp",(()=>({$el:"div",if:"$option.help",attrs:{id:'$: "help-" + $option.attrs.id'}}))),Py=vb("label","span"),My=vb("input",(()=>({$el:"button",bind:"$attrs",attrs:{type:"$type",disabled:"$disabled",name:"$node.name",id:"$id"}}))),Ly=vb("default",null),jy=vb("input",(()=>({$el:"input",bind:"$attrs",attrs:{type:"file",disabled:"$disabled",name:"$node.name",onChange:"$handlers.files",onBlur:"$handlers.blur",id:"$id","aria-describedby":"$describedBy"}}))),Dy=vb("fileItem",(()=>({$el:"li",for:["file","$value"]}))),$y=vb("fileList",(()=>({$el:"ul",if:"$value.length",attrs:{"data-has-multiple":{if:"$value.length > 1",then:"true"}}}))),Ry=vb("fileName",(()=>({$el:"span",attrs:{class:"$classes.fileName"}}))),Iy=vb("fileRemove",(()=>({$el:"button",attrs:{onClick:"$handlers.resetFiles"}}))),By=vb("noFiles",(()=>({$el:"span",if:"$value.length == 0"}))),Ny=vb("form",(()=>({$el:"form",bind:"$attrs",attrs:{id:"$id",name:"$node.name",onSubmit:"$handlers.submit","data-loading":"$state.loading || undefined"}})),!0),Fy=vb("actions",(()=>({$el:"div",if:"$actions"}))),zy=vb("submit",(()=>({$cmp:"FormKit",bind:"$submitAttrs",props:{ignore:!0,type:"submit",disabled:"$disabled",label:"$submitLabel"}}))),Vy=vb("input",(()=>({$el:"input",bind:"$attrs",attrs:{type:"$type",disabled:"$disabled",name:"$node.name",onInput:"$handlers.DOMInput",onBlur:"$handlers.blur",value:"$_value",id:"$id","aria-describedby":"$describedBy"}}))),Wy=vb("wrapper",null,!0),Uy=vb("input",(()=>({$el:"select",bind:"$attrs",attrs:{id:"$id","data-placeholder":{if:"$placeholder",then:{if:"$value",then:void 0,else:"true"}},disabled:"$disabled",class:"$classes.input",name:"$node.name",onChange:"$handlers.onChange",onInput:"$handlers.selectInput",onBlur:"$handlers.blur","aria-describedby":"$describedBy"}}))),Hy=vb("option",(()=>({$el:"option",for:["option","$options"],bind:"$option.attrs",attrs:{class:"$classes.option",value:"$option.value",selected:"$fns.isSelected($option.value)"}}))),qy=vb("input",(()=>({$el:"textarea",bind:"$attrs",attrs:{disabled:"$disabled",name:"$node.name",onInput:"$handlers.DOMInput",onBlur:"$handlers.blur",value:"$_value",id:"$id","aria-describedby":"$describedBy"},children:"$initialValue"}))),Gy=(t,e)=>vb(`${t}Icon`,(()=>{const n=`_raw${t.charAt(0).toUpperCase()}${t.slice(1)}Icon`;return{if:`$${t}Icon && $${n}`,$el:`${e||"span"}`,attrs:{class:`$classes.${t}Icon + " formkit-icon"`,innerHTML:`$${n}`,onClick:`$handlers.iconClick(${t})`,for:{if:`${"label"===e}`,then:"$id"}}}}))();function Xy(t){return function(e,n){return"options"===e.prop&&Array.isArray(e.value)&&(e.value=e.value.map((e=>{var n;return null!==(n=e.attrs)&&void 0!==n&&n.id?e:ev(e,{attrs:{id:`${t.name}-option-${sv(String(e.value))}`}})})),"checkbox"===t.props.type&&!Array.isArray(t.value)&&(t.isCreated?t.input([],!1):t.on("created",(()=>{Array.isArray(t.value)||t.input([],!1)})))),n(e)}}function Yy(t,e){if(Array.isArray(t))for(const n of t)if(e==n.value)return"__original"in n?n.__original:n.value;return e}function Ky(t,e){return t==e||!(!tv(t)||!tv(e))&&Km(t,e)}function Zy(t){t.hook.prop(((t,e)=>{if("options"===t.prop){const e=function(t){let e=1;return Array.isArray(t)?t.map((t=>"string"==typeof t||"number"==typeof t?{label:t,value:t}:("object"==typeof t&&"value"in t&&"string"!=typeof t.value&&Object.assign(t,{value:"__mask_"+e++,__original:t.value}),t))):Object.keys(t).map((e=>({label:t[e],value:e})))}(t.value);t.value=e}return e(t)}))}function Jy(t,e){const n=e.target;if(n instanceof HTMLInputElement){const e=Array.isArray(t.props.options)?Yy(t.props.options,n.value):n.value;Array.isArray(t.props.options)&&t.props.options.length?Array.isArray(t._value)?t._value.some((t=>Ky(e,t)))?t.input(t._value.filter((t=>!Ky(e,t)))):t.input([...t._value,e]):t.input([e]):n.checked?t.input(t.props.onValue):t.input(t.props.offValue)}}function Qy(t,e){var n,i;return null===(n=t.context)||void 0===n||n.value,null===(i=t.context)||void 0===i||i._value,!!Array.isArray(t._value)&&t._value.some((n=>Ky(Yy(t.props.options,e),n)))}function tb(t){t.on("created",(()=>{t.props.disabled=cv(t.props.disabled)})),t.hook.prop((({prop:t,value:e},n)=>n({prop:t,value:e="disabled"===t?cv(e):e}))),t.on("prop:disabled",(({payload:e})=>{t.config.disabled=cv(e)})),t.on("created",(()=>{t.config.disabled=cv(t.props.disabled)}))}function eb(t,e){return n=>{n.store.set(yv({key:t,type:"ui",value:e||t,meta:{localize:!0,i18nArgs:[n]}}))}}const nb=typeof window<"u";function ib(t){t.target instanceof HTMLElement&&t.target.hasAttribute("data-file-hover")&&t.target.removeAttribute("data-file-hover")}function rb(t,e){e.target instanceof HTMLInputElement?"dragover"===t&&e.target.setAttribute("data-file-hover","true"):e.preventDefault(),"drop"===t&&ib(e)}async function ob(t,e){if(e.preventDefault(),await t.settled,t.walk((t=>{t.store.set(yv({key:"submitted",value:!0,visible:!1}))})),"function"==typeof t.props.onSubmitRaw&&t.props.onSubmitRaw(e,t),t.ledger.value("blocking"))"function"==typeof t.props.onSubmitInvalid&&t.props.onSubmitInvalid(t),!1!==t.props.incompleteMessage&&t.store.set(yv({blocking:!1,key:"incomplete",meta:{localize:void 0===t.props.incompleteMessage,i18nArgs:[{node:t}],showAsMessage:!0},type:"ui",value:t.props.incompleteMessage||"Form incomplete."}));else if("function"==typeof t.props.onSubmit){const e=t.props.onSubmit(t.hook.submit.dispatch(av(t.value)),t);if(e instanceof Promise){const n=void 0===t.props.disabled&&"live"!==t.props.submitBehavior;n&&(t.props.disabled=!0),t.store.set(yv({key:"loading",value:!0,visible:!1})),await e,n&&(t.props.disabled=!1),t.store.remove("loading")}}else e.target instanceof HTMLFormElement&&e.target.submit()}function sb(t,e){e.target instanceof HTMLInputElement&&t.input(Yy(t.props.options,e.target.value))}function ab(t,e){var n,i;return null===(n=t.context)||void 0===n||n.value,null===(i=t.context)||void 0===i||i._value,Ky(Yy(t.props.options,e),t._value)}function lb(t){t.on("created",(()=>{var e,n;Array.isArray(t.props.options)||mv(350,t),!(null===(e=t.context)||void 0===e)&&e.handlers&&(t.context.handlers.toggleChecked=sb.bind(null,t)),null!==(n=t.context)&&void 0!==n&&n.fns&&(t.context.fns.isChecked=ab.bind(null,t))})),t.hook.prop(Xy(t))}function cb(t,e){t.context&&t.context.value;const n=Yy(t.props.options,e);return Array.isArray(t._value)?t._value.some((t=>Ky(t,n))):void 0===t.value&&!e||Ky(n,t._value)}async function ub(t,e){var n;"function"==typeof(null===(n=t.props.attrs)||void 0===n?void 0:n.onChange)&&(await new Promise((t=>setTimeout(t,0))),await t.settled,t.props.attrs.onChange(e))}function hb(t,e){const n=e.target,i=n.hasAttribute("multiple")?Array.from(n.selectedOptions).map((e=>Yy(t.props.options,e.value))):Yy(t.props.options,n.value);t.input(i)}function db(t,e){return t.some((t=>t.attrs&&t.attrs["data-is-placeholder"]))?t:[{label:e,value:"",attrs:{hidden:!0,disabled:!0,"data-is-placeholder":"true"}},...t]}function pb(t,e){return n=>{void 0===n.props[`${t}Icon`]&&(n.props[`${t}Icon`]=`default:${e}`)}}function fb(t){return"object"==typeof t&&("$el"in t||"$cmp"in t||"$formkit"in t)}function gb(t){return!!(ay(t)&&t.if&&t.if.startsWith("$slots.")&&"string"==typeof t.then&&t.then.startsWith("$slots.")&&"else"in t)}function mb(t,e={}){return"string"==typeof t?fb(e)||"string"==typeof e?e:t:Array.isArray(t)?fb(e)?e:t:ev(t,e)}function vb(t,e,n=!1){return(...i)=>{const r=n=>{const r=e&&"string"!=typeof e?e():{$el:e};return(oy(r)||sy(r))&&(r.meta||(r.meta={section:t}),i.length&&!r.children&&(r.children=[...i.map((t=>"string"==typeof t?t:t(n)))]),oy(r)&&(r.attrs={class:`$classes.${t}`,...r.attrs||{}})),{if:`$slots.${t}`,then:`$slots.${t}`,else:t in n?mb(r,n[t]):r}};return n?yb(r):r}}function yb(t){return e=>[t(e)]}function bb(t,e,n){return i=>{const r=e(i);return n?{if:t,then:r,else:n(i)}:(gb(r)?Object.assign(r.else,{if:t}):fb(r)&&Object.assign(r,{if:t}),r)}}function _b(t,e){return n=>{const i=t({});return gb(i)?(Array.isArray(i.else)||(i.else=mb(mb(i.else,e),n)),i):mb(mb(i,e),n)}}const xb={schema:py(vy(yy("$message.value")),gy(My(Gy("prefix"),by(),Ly("$label || $ui.submit.value"),_y(),Gy("suffix"))),xy("$help")),type:"input",family:"button",props:[],features:[eb("submit"),function(t){void 0===t.props.ignore&&(t.props.ignore=!0,t.parent=null)}]},wb={schema:py(bb("$options == undefined",Ty(fy(by(),ky(),Sy(Gy("decorator")),_y()),bb("$label",Py("$label"))),wy(Cy("$label"),xy("$help"),Oy(Ay(Ty(fy(by(),_b(ky(),{bind:"$option.attrs",attrs:{id:"$option.attrs.id",value:"$option.value",checked:"$fns.isChecked($option.value)"}}),Sy(Gy("decorator")),_y()),bb("$option.label",Py("$option.label"))),Ey("$option.help"))))),bb("$options == undefined && $help",xy("$help")),vy(yy("$message.value"))),type:"input",family:"box",props:["options","onValue","offValue"],features:[Zy,function(t){t.on("created",(()=>{var e,n;!(null===(e=t.context)||void 0===e)&&e.handlers&&(t.context.handlers.toggleChecked=Jy.bind(null,t)),!(null===(n=t.context)||void 0===n)&&n.fns&&(t.context.fns.isChecked=Qy.bind(null,t)),Ym(t.props,"onValue")||(t.props.onValue=!0),Ym(t.props,"offValue")||(t.props.offValue=!1)})),t.hook.prop(Xy(t))},pb("decorator","checkboxDecorator")]},Sb={schema:py(gy(my("$label"),fy(Gy("prefix","label"),by(),jy(),$y(Dy(Gy("fileItem"),Ry("$file.name"),bb("$value.length === 1",Iy(Gy("fileRemove"),"$ui.remove.value")))),bb("$value.length > 1",Iy("$ui.removeAll.value")),By(Gy("noFiles"),"$ui.noFiles.value"),_y(),Gy("suffix"))),xy("$help"),vy(yy("$message.value"))),type:"input",family:"text",props:[],features:[function(t){eb("noFiles","Select file")(t),eb("removeAll","Remove all")(t),eb("remove")(t),nb&&(window._FormKit_File_Drop||(window.addEventListener("dragover",rb.bind(null,"dragover")),window.addEventListener("drop",rb.bind(null,"drop")),window.addEventListener("dragleave",ib),window._FormKit_File_Drop=!0)),t.hook.input(((t,e)=>e(Array.isArray(t)?t:[]))),t.on("created",(()=>{Array.isArray(t.value)||t.input([],!1),t.context&&(t.context.handlers.resetFiles=e=>{if(e.preventDefault(),t.input([]),t.props.id&&nb){const e=document.getElementById(t.props.id);e&&(e.value="")}},t.context.handlers.files=e=>{var n,i;const r=[];if(e.target instanceof HTMLInputElement&&e.target.files){for(let t=0;t<e.target.files.length;t++){let n;(n=e.target.files.item(t))&&r.push({name:n.name,file:n})}t.input(r)}t.context&&(t.context.files=r),"function"==typeof(null===(n=t.props.attrs)||void 0===n?void 0:n.onChange)&&(null===(i=t.props.attrs)||void 0===i||i.onChange(e))})}))},pb("fileItem","fileItem"),pb("fileRemove","fileRemove"),pb("noFiles","noFiles")]},kb={schema:Ny("$slots.default",vy(yy("$message.value")),Fy(zy())),type:"group",props:["actions","submit","submitLabel","submitAttrs","submitBehavior","incompleteMessage"],features:[function(t){t.props.isForm=!0,t.on("created",(()=>{var e;!(null===(e=t.context)||void 0===e)&&e.handlers&&(t.context.handlers.submit=ob.bind(null,t)),Ym(t.props,"actions")||(t.props.actions=!0)})),t.on("settled:blocking",(()=>t.store.remove("incomplete")))},tb]},Cb={schema:Wy("$slots.default"),type:"group",props:[],features:[tb]},Ab={schema:function(t){return yb(t)}(Vy()),type:"input",props:[],features:[]},Ob={schema:Wy("$slots.default"),type:"list",props:[],features:[tb]},Tb={schema:py(bb("$options == undefined",Ty(fy(by(),ky(),Sy(Gy("decorator")),_y()),bb("$label",Py("$label"))),wy(Cy("$label"),xy("$help"),Oy(Ay(Ty(fy(by(),_b(ky(),{bind:"$option.attrs",attrs:{id:"$option.attrs.id",value:"$option.value",checked:"$fns.isChecked($option.value)"}}),Sy(Gy("decorator")),_y()),bb("$option.label",Py("$option.label"))),Ey("$option.help"))))),bb("$options == undefined && $help",xy("$help")),vy(yy("$message.value"))),type:"input",family:"box",props:["options","onValue","offValue"],features:[Zy,lb,pb("decorator","radioDecorator")]},Eb={schema:py(gy(my("$label"),fy(Gy("prefix"),by(),Uy(bb("$slots.default",(()=>"$slots.default"),bb("$slots.option",(()=>({$el:null,if:"$options.length",for:["option","$options"],children:"$slots.option"})),Hy("$option.label")))),bb("$attrs.multiple !== undefined",(()=>""),Gy("select")),_y(),Gy("suffix"))),xy("$help"),vy(yy("$message.value"))),type:"input",props:["options","placeholder"],features:[Zy,function(t){t.on("created",(()=>{var e,n,i;const r=cv(null===(e=t.props.attrs)||void 0===e?void 0:e.multiple);!r&&t.props.placeholder&&Array.isArray(t.props.options)&&(t.hook.prop((({prop:e,value:n},i)=>("options"===e&&(n=db(n,t.props.placeholder)),i({prop:e,value:n})))),t.props.options=db(t.props.options,t.props.placeholder)),r?void 0===t.value&&t.input([],!1):t.context&&!t.context.options&&(t.props.attrs=Object.assign({},t.props.attrs,{value:t._value}),t.on("input",(({payload:e})=>{t.props.attrs=Object.assign({},t.props.attrs,{value:e})}))),!(null===(n=t.context)||void 0===n)&&n.handlers&&(t.context.handlers.selectInput=hb.bind(null,t),t.context.handlers.onChange=ub.bind(null,t)),null!==(i=t.context)&&void 0!==i&&i.fns&&(t.context.fns.isSelected=cb.bind(null,t))})),t.hook.input(((e,n)=>{var i,r,o;return!t.props.placeholder&&void 0===e&&Array.isArray(null===(i=t.props)||void 0===i?void 0:i.options)&&t.props.options.length&&!cv(null===(o=null===(r=t.props)||void 0===r?void 0:r.attrs)||void 0===o?void 0:o.multiple)&&(e="__original"in t.props.options[0]?t.props.options[0].__original:t.props.options[0].value),n(e)}))},pb("select","select")]},Pb={schema:py(gy(my("$label"),fy(Gy("prefix","label"),by(),qy(),_y(),Gy("suffix"))),xy("$help"),vy(yy("$message.value"))),type:"input",props:[],features:[function(t){t.on("created",(()=>{t.context&&(t.context.initialValue=t.value||"")}))}]},Mb={schema:py(gy(my("$label"),fy(Gy("prefix","label"),by(),Vy(),_y(),Gy("suffix"))),xy("$help"),vy(yy("$message.value"))),type:"input",family:"text",props:[],features:[]};var Lb=Object.freeze({__proto__:null,button:xb,submit:xb,checkbox:wb,file:Sb,form:kb,group:Cb,hidden:Ab,list:Ob,radio:Tb,select:Eb,textarea:Pb,text:Mb,color:Mb,date:Mb,datetimeLocal:Mb,email:Mb,month:Mb,number:Mb,password:Mb,search:Mb,tel:Mb,time:Mb,url:Mb,week:Mb,range:Mb});const jb=vb("labelWrapper","div"),{prefixIcon:Db,...$b}=(py(wy(Cy("$label"),xy("$help"),Oy(Ay(Ty(fy(by(),_b(ky(),{bind:"$option.attrs",attrs:{id:"$option.attrs.id",value:"$option.value",checked:"$fns.isChecked($option.value)"}}),Sy(Gy("decorator")),_y()),jb(bb("$option.label",Py("$option.label")),Ey("$option.help")))))),vy(yy("$message.value"))),pb("decorator","radioDecorator"),Fm),Rb=kd(ti({components:{InputField:qm},props:{...$b,placeholder:{type:String,default:"Search..."}}}),[["render",function(t,e,n,i,r,o){const s=Ci("InputField");return Yr(),to(s,go(t.$props,{"prefix-icon":"magnifying-glass","input-class":t.$style.input,type:"search"}),Mi({_:2},[Pi(t.$slots,((e,n)=>({name:n,fn:$n((e=>[Li(t.$slots,n,K(ao(e)))]))})))]),1040,["input-class"])}],["__cssModules",{$style:{input:"_input_1ijgr_1"}}]]),Ib=/(_confirm(?:ed)?)$/,Bb=function({value:t},e="default"){return"trim"===e&&"string"==typeof t?!Zm(t.trim()):!Zm(t)};Bb.skipEmpty=!1;const Nb=Object.freeze(Object.defineProperty({__proto__:null,accepted:function({value:t}){return["yes","on","1",1,!0,"true"].includes(t)},alpha:function({value:t},e="default"){const n={default:/^[a-zA-ZÀ-ÖØ-öø-ÿĄąĆćČčĎďĘęĚ죳ŃńŇňŘřŚśŠšŤťŮůŹźŻŽžż]+$/,latin:/^[a-zA-Z]+$/};return n[Ym(n,e)?e:"default"].test(String(t))},alpha_spaces:function({value:t},e="default"){const n={default:/^[a-zA-ZÀ-ÖØ-öø-ÿĄąĆćČčĎďĘęĚ죳ŃńŇňŘřŚśŠšŤťŮůŹźŻŽžż ]+$/,latin:/^[a-zA-Z ]+$/};return n[Ym(n,e)?e:"default"].test(String(t))},alphanumeric:function({value:t},e="default"){const n={default:/^[a-zA-Z0-9À-ÖØ-öø-ÿĄąĆćĘꣳŃńŚśŹźŻż]+$/,latin:/^[a-zA-Z0-9]+$/};return n[Ym(n,e)?e:"default"].test(String(t))},between:function({value:t},e,n){if(!isNaN(t)&&!isNaN(e)&&!isNaN(n)){const i=1*t;e=Number(e),n=Number(n);const[r,o]=e<=n?[e,n]:[n,e];return i>=1*r&&i<=1*o}return!1},confirm:function(t,e,n="loose"){var i;e||(e=Ib.test(t.name)?t.name.replace(Ib,""):`${t.name}_confirm`);const r=null===(i=t.at(e))||void 0===i?void 0:i.value;return"strict"===n?t.value===r:t.value==r},date_after:function({value:t},e=!1){const n=Date.parse(e||new Date),i=Date.parse(String(t));return!isNaN(i)&&i>n},date_before:function({value:t},e=!1){const n=Date.parse(e||new Date),i=Date.parse(String(t));return!isNaN(i)&&i<n},date_between:function({value:t},e,n){e=e instanceof Date?e.getTime():Date.parse(e),n=n instanceof Date?n.getTime():Date.parse(n);const i=t instanceof Date?t.getTime():Date.parse(String(t));if(e&&!n)n=e,e=Date.now();else if(!e||!i)return!1;return i>=e&&i<=n},date_format:function({value:t},e){return e&&"string"==typeof e?function(t){const e=`^${function(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(t)}$`,n={MM:"(0[1-9]|1[012])",M:"([1-9]|1[012])",DD:"([012][0-9]|3[01])",D:"([012]?[0-9]|3[01])",YYYY:"\\d{4}",YY:"\\d{2}"},i=Object.keys(n);return new RegExp(i.reduce(((t,e)=>t.replace(e,n[e])),e))}(e).test(String(t)):!isNaN(Date.parse(String(t)))},email:function({value:t}){return/^(([^<>()\[\]\.,;:\s@\"]+(\.[^<>()\[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i.test(String(t))},ends_with:function({value:t},...e){return"string"==typeof t&&e.length?e.some((e=>t.endsWith(e))):"string"==typeof t&&0===e.length},is:function({value:t},...e){return e.some((e=>"object"==typeof e?Km(e,t):e==t))},length:function({value:t},e=0,n=1/0){const i=(e=parseInt(e))<=(n=isNaN(parseInt(n))?1/0:parseInt(n))?e:n,r=n>=e?n:e;if("string"==typeof t||Array.isArray(t))return t.length>=i&&t.length<=r;if(t&&"object"==typeof t){const e=Object.keys(t).length;return e>=i&&e<=r}return!1},matches:function({value:t},...e){return e.some((e=>("string"==typeof e&&"/"===e.substr(0,1)&&"/"===e.substr(-1)&&(e=new RegExp(e.substr(1,e.length-2))),e instanceof RegExp?e.test(String(t)):e===t)))},max:function({value:t},e=10){return Array.isArray(t)?t.length<=e:Number(t)<=Number(e)},min:function({value:t},e=1){return Array.isArray(t)?t.length>=e:Number(t)>=Number(e)},not:function({value:t},...e){return!e.some((e=>"object"==typeof e?Km(e,t):e===t))},number:function({value:t}){return!isNaN(t)},required:Bb,starts_with:function({value:t},...e){return"string"==typeof t&&e.length?e.some((e=>t.startsWith(e))):"string"==typeof t&&0===e.length},url:function({value:t},...e){try{const n=e.length?e:["http:","https:"],i=new URL(String(t));return n.includes(i.protocol)}catch{return!1}}},Symbol.toStringTag,{value:"Module"})),Fb=new WeakSet;function zb(t,e){const n=e||Object.assign(new Map,{active:!1}),i=new Map,r=function(e){var i;n.active&&(n.has(t)||n.set(t,new Set),null===(i=n.get(t))||void 0===i||i.add(e))},o=function(t,e){return zv(t)?zb(t,n):("value"===e&&r("commit"),"props"===e?function(t){return new Proxy(t,{get:(...t)=>("string"==typeof t[1]&&r(`prop:${t[1]}`),Reflect.get(...t))})}(t):"ledger"===e?function(t){return new Proxy(t,{get:(...e)=>"value"===e[1]?e=>(r(`count:${e}`),t.value(e)):Reflect.get(...e)})}(t):t)},{proxy:s,revoke:a}=Proxy.revocable(t,{get(...t){switch(t[1]){case"deps":return n;case"watch":return t=>Ub(s,t);case"observe":return()=>{const t=new Map(n);return n.clear(),n.active=!0,t};case"stopObserve":return()=>{const t=new Map(n);return n.active=!1,t};case"receipts":return i;case"kill":return()=>{Wb(i),Fb.add(t[2]),a()}}const e=Reflect.get(...t);return"function"==typeof e?(...n)=>{const i=e(...n);return o(i,t[1])}:o(e,t[1])}});return s}function Vb(t,[e,n],i){e.forEach(((e,n)=>{e.forEach((e=>{t.receipts.has(n)||t.receipts.set(n,{}),t.receipts.set(n,Object.assign(t.receipts.get(n),{[e]:n.on(e,i)}))}))})),n.forEach(((e,n)=>{e.forEach((e=>{if(t.receipts.has(n)){const i=t.receipts.get(n);i&&Ym(i,e)&&(n.off(i[e]),delete i[e],t.receipts.set(n,i))}}))}))}function Wb(t){t.forEach(((t,e)=>{for(const n in t)e.off(t[n])}))}async function Ub(t,e){const n=new Map(t.deps);t.observe();const i=e(t);i instanceof Promise&&await i;const r=t.stopObserve();Vb(t,Hb(n,r),(()=>Ub(t,e)))}function Hb(t,e){const n=new Map,i=new Map;return e.forEach(((e,i)=>{if(t.has(i)){const r=new Set,o=t.get(i);e.forEach((t=>!(null!=o&&o.has(t))&&r.add(t))),n.set(i,r)}else n.set(i,e)})),t.forEach(((t,n)=>{if(e.has(n)){const r=new Set,o=e.get(n);t.forEach((t=>!(null!=o&&o.has(t))&&r.add(t))),i.set(n,r)}else i.set(n,t)})),[n,i]}const qb=yv({type:"state",blocking:!0,visible:!1,value:!0,key:"validating"});function Gb(t,e,n){(function(t){return Fb.has(t)})(t)||(n.input=Gm(),n.isPassing=!0,t.store.filter((t=>!t.meta.removeImmediately),"validation"),e.forEach((t=>t.debounce&&clearTimeout(t.timer))),e.length&&(t.store.set(qb),Xb(0,e,t,n,!1,(()=>{t.store.remove(qb.key)}))))}function Xb(t,e,n,i,r,o){const s=e[t];if(!s)return o();const a=i.input;function l(l,c){i.isPassing=i.isPassing&&!!c,s.queued=!1;const u=n.stopObserve();Vb(n,Hb(s.deps,u),(()=>{s.queued=!0,i.rerun&&clearTimeout(i.rerun),i.rerun=setTimeout(Gb,0,n,e,i)})),s.deps=u,i.input===a&&(s.state=c,!1===c?function(t,e,n){const i=function(t,e){return[{node:t,name:Yb(t),args:e.args}]}(t,e),r=function(t,e,n){const i=t.props.validationMessages&&Ym(t.props.validationMessages,e.name)?t.props.validationMessages[e.name]:void 0;return"function"==typeof i?i(...n):i}(t,e,i),o=yv({blocking:e.blocking,key:`rule_${e.name}`,meta:{messageKey:e.name,removeImmediately:n,localize:!r,i18nArgs:i},type:"validation",value:r||"This field is not valid."});t.store.set(o)}(n,s,r||l):function(t,e){const n=`rule_${e.name}`;Ym(t.store,n)&&t.store.remove(n)}(n,s),e.length>t+1?Xb(t+1,e,n,i,r||l,o):o())}s.state=null,Zm(n.value)&&s.skipEmpty||!i.isPassing&&!s.force?(Zm(n.value)&&s.skipEmpty&&i.isPassing&&(n.observe(),n.value),l(!1,null)):s.queued?function(t,e,n){t.debounce?t.timer=setTimeout((()=>{e.observe(),n(t.rule(e,...t.args))}),t.debounce):(e.observe(),n(t.rule(e,...t.args)))}(s,n,(t=>{t instanceof Promise?t.then((t=>l(!0,t))):l(!1,t)})):Xb(t+1,e,n,i,r,o)}function Yb(t){return"function"==typeof t.props.validationLabel?t.props.validationLabel(t):t.props.validationLabel||t.props.label||t.props.name||String(t.name)}const Kb="(?:[\\*+?()0-9]+)",Zb="[a-zA-Z][a-zA-Z0-9_]+",Jb=new RegExp(`^(${Kb}?${Zb})(?:\\:(.*)+)?$`,"i"),Qb=new RegExp(`^(${Kb})(${Zb})$`,"i"),t_=/([\*+?]+)?(\(\d+\))([\*+?]+)?/,e_=/\(\d+\)/,n_={blocking:!0,debounce:0,force:!1,skipEmpty:!0,name:""};function i_(t,e){return t?("string"==typeof t?function(t){return t.split("|").reduce(((t,e)=>{const n=function(t){const e=t.trim();if(e){const t=e.match(Jb);if(t&&"string"==typeof t[1])return[t[1].trim(),...t[2]&&"string"==typeof t[2]?t[2].split(",").map((t=>t.trim())):[]]}return!1}(e);return n&&t.push(n),t}),[])}(t):av(t)).reduce(((t,n)=>{let i=n.shift();const r={};if("string"==typeof i){const[t,n]=function(t){const e=t.match(Qb);if(!e)return[t,{name:t}];const n={"*":{force:!0},"+":{skipEmpty:!1},"?":{blocking:!1}},[,i,r]=e,o=e_.test(i)?i.match(t_)||[]:[,i];return[r,[o[1],o[2],o[3]].reduce(((t,e)=>(e&&(e_.test(e)?t.debounce=parseInt(e.substr(1,e.length-1)):e.split("").forEach((e=>Ym(n,e)&&Object.assign(t,n[e])))),t)),{name:r})]}(i);Ym(e,t)&&(i=e[t],Object.assign(r,n))}return"function"==typeof i&&t.push({rule:i,args:n,timer:0,state:null,queued:!0,deps:new Map,...n_,...r_(r,i)}),t}),[]):[]}function r_(t,e){return t.name||(t.name=e.ruleName||e.name),["skipEmpty","force","debounce","blocking"].reduce(((t,n)=>(Ym(e,n)&&!Ym(t,n)&&Object.assign(t,{[n]:e[n]}),t)),t)}function o_(t){return t[0].toUpperCase()+t.substr(1)}function s_(t,e="or"){return t.reduce(((n,i,r)=>(n+=i,r<=t.length-2&&t.length>2&&(n+=", "),r===t.length-2&&(n+=`${2===t.length?" ":""}${e} `),n)),"")}function a_(t){const e="string"==typeof t?new Date(Date.parse(t)):t;return e instanceof Date?new Intl.DateTimeFormat(void 0,{dateStyle:"medium"}).format(e):"(unknown)"}const l_={accepted:({name:t})=>`Please accept the ${t}.`,date_after:({name:t,args:e})=>Array.isArray(e)&&e.length?`${o_(t)} must be after ${a_(e[0])}.`:`${o_(t)} must be in the future.`,alpha:({name:t})=>`${o_(t)} can only contain alphabetical characters.`,alphanumeric:({name:t})=>`${o_(t)} can only contain letters and numbers.`,alpha_spaces:({name:t})=>`${o_(t)} can only contain letters and spaces.`,date_before:({name:t,args:e})=>Array.isArray(e)&&e.length?`${o_(t)} must be before ${a_(e[0])}.`:`${o_(t)} must be in the past.`,between({name:t,args:e}){if(isNaN(e[0])||isNaN(e[1]))return"This field was configured incorrectly and can’t be submitted.";const[n,i]=function(t,e){return Number(t)>=Number(e)?[e,t]:[t,e]}(e[0],e[1]);return`${o_(t)} must be between ${n} and ${i}.`},confirm:({name:t})=>`${o_(t)} does not match.`,date_format:({name:t,args:e})=>Array.isArray(e)&&e.length?`${o_(t)} is not a valid date, please use the format ${e[0]}`:"This field was configured incorrectly and can’t be submitted",date_between:({name:t,args:e})=>`${o_(t)} must be between ${a_(e[0])} and ${a_(e[1])}`,email:"Please enter a valid email address.",ends_with:({name:t,args:e})=>`${o_(t)} doesn’t end with ${s_(e)}.`,is:({name:t})=>`${o_(t)} is not an allowed value.`,length({name:t,args:[e=0,n=1/0]}){const i=Number(e)<=Number(n)?e:n,r=Number(n)>=Number(e)?n:e;return 1==i&&r===1/0?`${o_(t)} must be at least one character.`:0==i&&r?`${o_(t)} must be less than or equal to ${r} characters.`:i&&r===1/0?`${o_(t)} must be greater than or equal to ${i} characters.`:`${o_(t)} must be between ${i} and ${r} characters.`},matches:({name:t})=>`${o_(t)} is not an allowed value.`,max:({name:t,node:{value:e},args:n})=>Array.isArray(e)?`Cannot have more than ${n[0]} ${t}.`:`${o_(t)} must be less than or equal to ${n[0]}.`,mime:({name:t,args:e})=>e[0]?`${o_(t)} must be of the type: ${e[0]}`:"No file formats allowed.",min:({name:t,node:{value:e},args:n})=>Array.isArray(e)?`Cannot have less than ${n[0]} ${t}.`:`${o_(t)} must be at least ${n[0]}.`,not:({name:t,node:{value:e}})=>`“${e}” is not an allowed ${t}.`,number:({name:t})=>`${o_(t)} must be a number.`,required:({name:t})=>`${o_(t)} is required.`,starts_with:({name:t,args:e})=>`${o_(t)} doesn’t start with ${s_(e)}.`,url:()=>"Please include a valid url."};var c_=Object.freeze({__proto__:null,ui:{add:"Add",remove:"Remove",removeAll:"Remove all",incomplete:"Sorry, not all fields are filled out correctly.",submit:"Submit",noFiles:"No file chosen"},validation:l_});function u_(t,e){if(Ym(e,t))return t;const[n]=t.split("-");if(Ym(e,n))return n;for(const t in e)return t;return!1}let h_,d_,p_=null,f_=!1,g_=!1;const m_=new Promise((t=>{d_=()=>{f_=!0,t()}})),v_=typeof window<"u"&&typeof fetch<"u";h_=v_?getComputedStyle(document.documentElement):void 0;const y_={},b_={};function __(t,e,n,i){e&&Object.assign(y_,e),v_&&!g_&&null!=h_&&h_.getPropertyValue("--formkit-theme")?(d_(),g_=!0):t&&!g_&&v_?function(t){if(t&&v_&&"function"==typeof getComputedStyle&&(g_=!0,p_=document.getElementById("formkit-theme"),t&&v_&&((null==h_||!h_.getPropertyValue("--formkit-theme"))&&!p_||null!=p_&&p_.getAttribute("data-theme")&&(null==p_?void 0:p_.getAttribute("data-theme"))!==t))){const e=`https://cdn.jsdelivr.net/npm/@formkit/themes@${dy.startsWith("__")?"latest":dy}/dist/${t}/theme.css`,n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.id="formkit-theme",n.setAttribute("data-theme",t),n.onload=()=>{h_=getComputedStyle(document.documentElement),d_()},document.head.appendChild(n),n.href=e,p_&&p_.remove()}}(t):!g_&&v_&&d_();const r=function(t){var e,r;t.addProps(["iconLoader","iconLoaderUrl"]),t.props.iconHandler=x_(null!==(e=t.props)&&void 0!==e&&e.iconLoader?t.props.iconLoader:i,null!==(r=t.props)&&void 0!==r&&r.iconLoaderUrl?t.props.iconLoaderUrl:n),function(t,e){const n=/^[a-zA-Z-]+(?:-icon|Icon)$/;Object.keys(t.props).filter((t=>n.test(t))).forEach((n=>function(t,e,n){const i=e(t.props[n]),r=`_raw${n.charAt(0).toUpperCase()}${n.slice(1)}`,o=`on${n.charAt(0).toUpperCase()}${n.slice(1)}Click`;if(t.addProps([r,o]),t.on(`prop:${n}`,S_),i instanceof Promise)return i.then((e=>{t.props[r]=e}));t.props[r]=i}(t,e,n)))}(t,t.props.iconHandler),t.on("created",(()=>{var e;null!==(e=null==t?void 0:t.context)&&void 0!==e&&e.handlers&&(t.context.handlers.iconClick=e=>{const n=`on${e.charAt(0).toUpperCase()}${e.slice(1)}IconClick`,i=t.props[n];if(i&&"function"==typeof i)return e=>i(t,e)})}))};return r.iconHandler=x_(i,n),r}function x_(t,e){return n=>{if("boolean"==typeof n)return;if(n.startsWith("<svg"))return n;if("string"!=typeof n)return;const i=y_[n],r=n.startsWith("default:");let o;if(n=r?n.split(":")[1]:n,i||n in y_)return i;if(!b_[n])if(o=function(t){if(v_)return f_?w_(t):m_.then((()=>w_(t)))}(n),o=v_&&typeof o>"u"?Promise.resolve(o):o,o instanceof Promise)b_[n]=o.then((i=>i||"string"!=typeof n||r?i:o="function"==typeof t?t(n):function(t,e){const n=dy.startsWith("__")?"latest":dy,i="function"==typeof e?e(t):`https://cdn.jsdelivr.net/npm/@formkit/icons@${n}/dist/icons/${t}.svg`;if(v_)return fetch(`${i}`).then((async t=>{const e=await t.text();if(e.startsWith("<svg"))return e})).catch((t=>{console.error(t)}))}(n,e))).then((t=>("string"==typeof n&&(y_[r?`default:${n}`:n]=t),t)));else if("string"==typeof o)return y_[r?`default:${n}`:n]=o,o;return b_[n]}}function w_(t){const e=null==h_?void 0:h_.getPropertyValue(`--fk-icon-${t}`);if(e){const n=atob(e);if(n.startsWith("<svg"))return y_[t]=n,n}}function S_(t){var e;const n=t.origin,i=t.payload,r=null===(e=null==n?void 0:n.props)||void 0===e?void 0:e.iconHandler,o=t.name.split(":")[1],s=`_raw${o.charAt(0).toUpperCase()}${o.slice(1)}`;if(r&&"function"==typeof r){const t=r(i);if(t instanceof Promise)return t.then((t=>{n.props[s]=t}));n.props[s]=t}}let k_=!1;const C_={100:({data:t})=>`Only groups, lists, and forms can have children (${t.name}).`,101:({data:t})=>`You cannot directly modify the store (${t.name}). See: https://formkit.com/advanced/core#message-store`,102:({data:[t,e]})=>`You cannot directly assign node.${e} (${t.name})`,103:({data:[t]})=>`Schema expressions cannot start with an operator (${t})`,104:({data:[t,e]})=>`Schema expressions cannot end with an operator (${t} in "${e}")`,105:({data:t})=>`Invalid schema expression: ${t}`,106:({data:t})=>`Cannot submit because (${t}) is not in a form.`,107:({data:[t,e]})=>`Cannot set ${t.name} to non object value: ${e}`,108:({data:[t,e]})=>`Cannot set ${t.name} to non array value: ${e}`,600:({data:t})=>`Unknown input type${"string"==typeof t.props.type?' "'+t.props.type+'"':""} ("${t.name}")`,601:({data:t})=>`Input definition${"string"==typeof t.props.type?' "'+t.props.type+'"':""} is missing a schema or component property (${t.name}).`},A_={150:({data:t})=>`Schema function "${t}()" is not a valid function.`,151:({data:t})=>`No form element with id: ${t}`,152:({data:t})=>`No input element with id: ${t}`,350:({data:t})=>`Invalid options prop for radio input (${t.name}). See https://formkit.com/inputs/radio`,650:'Schema "$get()" must use the id of an input to access.',651:({data:t})=>`Cannot setErrors() on "${t}" because no such id exists.`,652:({data:t})=>`Cannot clearErrors() on "${t}" because no such id exists.`,800:({data:t})=>`${t} is deprecated.`};k_||fv(((t,e)=>{if(t.code in C_){const e=C_[t.code];t.message="function"==typeof e?e(t):e}return e(t)})),k_||gv(((t,e)=>{if(t.code in A_){const e=A_[t.code];t.message="function"==typeof e?e(t):e}return e(t)})),k_=!0;const O_={};let T_;const E_=new Map,P_=/[a-zA-Z0-9\-][cC]lass$/;function M_(t,e){const n=Be(null);if("get"===t){const t={};return n.value=j_.bind(null,t),n}const i=t.split(".");return Er((()=>n.value=L_(e,i))),n}function L_(t,e){if(Array.isArray(t)){for(const n of t){const t=!1!==n&&L_(n,e);if(void 0!==t)return t}return}let n;return e.reduce(((t,i,r,o)=>{if("object"!=typeof t)return n=void 0,o.splice(1);const s=t[i];return r===e.length-1&&void 0!==s&&(n=s),t[i]}),t),n}function j_(t,e){if("string"!=typeof e)return mv(650);if(e in t||(t[e]=Be(void 0)),void 0===t[e].value){t[e].value=null;const n=Lv(e);n&&(t[e].value=n.context),function(t,e){Mv.push(Pv.on(t,e))}(e,(({payload:n})=>{t[e].value=zv(n)?n.context:n}))}return t[e].value}function D_(t,e){function n(t,e){return[l(ly(e.if),{if:!0}),s(t,e.then),e.else?s(t,e.else):null]}function i(t,e){var n,i;const o=l(ly(t.if));let s=()=>e,a=()=>e;return a="object"==typeof t.then?r(t.then,void 0):"string"==typeof t.then&&null!==(n=t.then)&&void 0!==n&&n.startsWith("$")?l(ly(t.then)):()=>t.then,Ym(t,"else")&&(s="object"==typeof t.else?r(t.else):"string"==typeof t.else&&null!==(i=t.else)&&void 0!==i&&i.startsWith("$")?l(ly(t.else)):()=>t.else),()=>o()?a():s()}function r(t,e,n={}){const o=new Set(Object.keys(t||{})),s=e?l(ly(e)):()=>({}),a=[t=>{const e=s();for(const n in e)o.has(n)||(t[n]=e[n])}];if(t){if(ay(t))return i(t,n);for(let e in t){const n=t[e];let o;const s="string"==typeof n;e.startsWith("__raw__")?(e=e.substring(7),o=()=>n):o=!(s&&n.startsWith("$")&&n.length>1)||n.startsWith("$reset")&&P_.test(e)?"object"==typeof n&&ay(n)?i(n,void 0):"object"==typeof n&&tv(n)?r(n):()=>n:l(ly(n)),a.push((t=>{t[e]=o()}))}}return()=>{const e=Array.isArray(t)?[]:{};return a.forEach((t=>t(e))),e}}function o(t,e){const[i,o,a,c,u,h,d]=function(t,e){let i=null,o=()=>null,a=!1,c=null,u=null,h=null,d=!1;const p=function(t){if("string"==typeof t)return{$el:"text",children:t};if(function(t){return"string"!=typeof t&&"$formkit"in t}(t)){const{$formkit:e,for:n,if:i,children:r,bind:o,...s}=t;return Object.assign({$cmp:"FormKit",props:{...s,type:e}},i?{if:i}:{},n?{for:n}:{},r?{children:r}:{},o?{bind:o}:{})}return t}(e);if(oy(p)?(i=p.$el,o="text"!==p.$el?r(p.attrs,p.bind):()=>null):sy(p)?("string"==typeof p.$cmp?Ym(t,p.$cmp)?i=t[p.$cmp]:(i=p.$cmp,d=!0):i=p.$cmp,o=r(p.props,p.bind)):ay(p)&&([a,c,u]=n(t,p)),!ay(p)&&"if"in p?a=l(ly(p.if)):!ay(p)&&null===i&&(a=()=>!0),"children"in p&&p.children)if("string"==typeof p.children)if(p.children.startsWith("$slots."))i="text"===i?"slot":i,c=l(ly(p.children));else if(p.children.startsWith("$")&&p.children.length>1){const t=l(ly(p.children));c=()=>String(t())}else c=()=>String(p.children);else if(Array.isArray(p.children))c=s(t,p.children);else{const[e,i,r]=n(t,p.children);c=t=>e&&e()?i&&i(t):r&&r(t)}if(sy(p))if(c){const t=c;c=e=>({default(n,i){var r,o,s,a;const l=T_;i&&(T_=i),n&&(null===(r=E_.get(T_))||void 0===r||r.unshift(n)),e&&(null===(o=E_.get(T_))||void 0===o||o.unshift(e));const c=t(e);return n&&(null===(s=E_.get(T_))||void 0===s||s.shift()),e&&(null===(a=E_.get(T_))||void 0===a||a.shift()),T_=l,c}}),c.slot=!0}else c=()=>({});if("for"in p&&p.for){const t=3===p.for.length?p.for[2]:p.for[1];h=["string"==typeof t&&t.startsWith("$")?l(ly(t)):()=>t,p.for[0],3===p.for.length?String(p.for[1]):null]}return[a,i,o,c,u,h,d]}(t,e);let p=t=>{if(i&&null===o&&c)return i()?c(t):u&&u(t);if(o&&(!i||i())){if("text"===o&&c)return co(String(c()));if("slot"===o&&c)return c(t);const e=d?Ci(o):o,n=null!=c&&c.slot?function(t,e){const n=t(e),i=T_;return Object.keys(n).reduce(((t,e)=>{const r=n&&n[e];return t[e]=t=>r&&r(t,i)||null,t}),{})}(c,t):null;return Ro(e,a(),n||(c?c(t):[]))}return"function"==typeof u?u(t):u};if(h){const t=p,[e,n,i]=h;p=()=>{const r=e(),o=isNaN(r)?r:Array(Number(r)).fill(0).map(((t,e)=>e)),s=[];if("object"!=typeof o)return null;const a=E_.get(T_)||[];for(const e in o){if(Array.isArray(o)&&"length"===e)continue;const r=Object.defineProperty({...a.reduce(((t,e)=>t.__idata?{...t,...e}:e),{}),[n]:o[e],...null!==i?{[i]:e}:{}},"__idata",{enumerable:!1,value:!0});a.unshift(r),s.push(t.bind(null,r)()),a.shift()}return s}}return p}function s(t,e){if(Array.isArray(e)){const n=e.map(o.bind(null,t));return t=>n.map((e=>e(t)))}const n=o(t,e);return t=>n(t)}const a=[];function l(t,e={}){const n={};return a.push(((i,r)=>{n[r]=t.provide((t=>i(t,e)))})),()=>n[T_]()}return function(n,i){const r=JSON.stringify(e),[o,l]=Ym(O_,r)?O_[r]:[s(t,e),a];return O_[r]=[o,l],l.forEach((t=>{t(n,i)})),()=>(T_=i,o())}}function $_(t,e){const n=E_.get(T_)||[];let i;return n.length&&(i=L_(n,t.split("."))),void 0===i?e:i}function R_(t,e,n){return t(((t,i={})=>t.reduce(((t,r)=>{if(r.startsWith("slots.")){const o=r.substring(6),s=e.slots&&Ym(e.slots,o);if(i.if)t[r]=()=>s;else if(e.slots&&s){const i=function(t,e){return new Proxy(t,{get(...t){let n;const i=t[1];if("string"==typeof i){const t=T_;T_=e,n=$_(i,void 0),T_=t}return void 0!==n?n:Reflect.get(...t)}})}(e,n);return t[r]=()=>e.slots[o](i),t}}const o=M_(r,e);return t[r]=()=>$_(r,o.value),t}),{})),n)}let I_=0;const B_=ti({name:"FormKitSchema",props:{schema:{type:[Array,Object],required:!0},data:{type:Object,default:()=>({})},library:{type:Object,default:()=>({})}},setup(t,e){const n=_o();let i=Symbol(String(I_++));E_.set(i,[]);let r,o,s=D_(t.library,t.schema);return Pr((()=>t.schema),((e,a)=>{var l;i=Symbol(String(I_++)),s=D_(t.library,t.schema),r=R_(s,o,i),e===a&&(null===(l=null==n?void 0:n.proxy)||void 0===l?void 0:l.$forceUpdate)()}),{deep:!0}),Er((()=>{o=Object.assign(Ce(t.data),{slots:e.slots}),r=R_(s,o,i)})),()=>r()}}),N_={config:{type:Object,default:{}},classes:{type:Object,required:!1},delay:{type:Number,required:!1},errors:{type:Array,default:[]},inputErrors:{type:Object,default:()=>({})},index:{type:Number,required:!1},id:{type:String,required:!1},modelValue:{required:!1},name:{type:String,required:!1},parent:{type:Object,required:!1},plugins:{type:Array,default:[]},sectionsSchema:{type:Object,default:{}},type:{type:[String,Object],default:"text"},validation:{type:[String,Array],required:!1},validationMessages:{type:Object,required:!1},validationRules:{type:Object,required:!1},validationLabel:{type:[String,Function],required:!1}},F_=Symbol("FormKitParent"),z_=ti({props:N_,emits:{input:(t,e)=>!0,inputRaw:(t,e)=>!0,"update:modelValue":t=>!0,node:t=>!!t,submit:(t,e)=>!0,submitRaw:(t,e)=>!0,submitInvalid:t=>!0},inheritAttrs:!1,setup(t,e){const n=function(t,e,n={}){const i=Object.assign({},ir(V_)||{},n),r=_o(),o=function(t){return t?["Submit","SubmitRaw","SubmitInvalid"].reduce(((e,n)=>{const i=`on${n}`;return i in t&&"function"==typeof t[i]&&(e[i]=t[i]),e}),{}):{}}(null==r?void 0:r.vnode.props),s=void 0!==t.modelValue,a=void 0!==t.modelValue?t.modelValue:lv(e.attrs.value);const l=function(){const n={...nv(t),...o},i=iv(nv(e.attrs),K_);n.attrs=i;const r=rv(nv(e.attrs),K_);for(const t in r)n[ov(t)]=r[t];const s={props:{}};return Z_(s,t),Object.assign(n,s.props),"string"!=typeof n.type&&(n.definition=n.type,delete n.type),n}(),c=l.ignore?null:t.parent||ir(F_,null),u=ry(ev(i||{},{name:t.name||void 0,value:a,parent:c,plugins:(i.plugins||[]).concat(t.plugins),config:t.config,props:l,index:t.index},!1,!0));u.props.definition||vv(600,u);const h=Be(new Set(u.props.definition.props||[]));u.on("added-props",(({payload:t})=>{Array.isArray(t)&&t.forEach((t=>h.value.add(t)))}));const d=$o((()=>K_.concat([...h.value]).reduce(((t,e)=>("string"==typeof e?(t.push(ov(e)),t.push(sv(e))):t.push(e),t)),[])));Er((()=>Z_(u,t)));const p=nv(t);for(const e in p)Pr((()=>t[e]),(()=>{void 0!==t[e]&&(u.props[e]=t[e])}));const f=new Set,g=nv(e.attrs);if(Er((()=>{!function(t){f.forEach((t=>{t(),f.delete(t)}));for(const n in t){const t=ov(n);f.add(Pr((()=>e.attrs[n]),(()=>{u.props[t]=e.attrs[n]})))}}(rv(g,d.value))})),Er((()=>{const t=iv(nv(e.attrs),d.value);u.props.attrs=Object.assign({},u.props.attrs||{},t)})),Er((()=>{const e=t.errors.map((t=>yv({key:hv(t),type:"error",value:t,meta:{source:"prop"}})));u.store.apply(e,(t=>"error"===t.type&&"prop"===t.meta.source))})),"input"!==u.type){const e=`${u.name}-prop`;Er((()=>{const n=Object.keys(t.inputErrors);n.length||u.clearErrors(!0,e);const i=n.reduce(((n,i)=>{let r=t.inputErrors[i];return"string"==typeof r&&(r=[r]),Array.isArray(r)&&(n[i]=r.map((t=>yv({key:t,type:"error",value:t,meta:{source:e}})))),n}),{});u.store.apply(i,(t=>"error"===t.type&&t.meta.source===e))}))}let m;Er((()=>Object.assign(u.config,t.config))),"input"!==u.type&&nr(F_,u);const v=new WeakSet;return u.on("modelUpdated",(()=>{var n,i;if(e.emit("inputRaw",null===(n=u.context)||void 0===n?void 0:n.value,u),clearTimeout(m),m=setTimeout(e.emit,20,"input",null===(i=u.context)||void 0===i?void 0:i.value,u),s&&u.context){const n=Y_(u.context.value);Qm(n)&&Y_(t.modelValue)!==n&&v.add(n),e.emit("update:modelValue",n)}})),s&&function(t){const e={},n=n=>{for(const r of n)r.__str in e&&e[r.__str](),e[r.__str]=Pr(q_.bind(null,t,r),i.bind(null,r),{deep:!1})},i=function(t,e,n,i){return r=>{const o=G_(t,r);o!==H_&&(r.__deep&&i(r),"object"==typeof o&&n(X_(o,[r],...r)),e(r,o,t))}}(t,((t,e)=>{var n;const i=Y_(e);if(Qm(i)&&v.has(i))return v.delete(i);t.length?null===(n=u.at(t))||void 0===n||n.input(e,!1):u.input(e,!1)}),n,(t=>{if(t.length)for(const n in e)`${n}`.startsWith(`${t.__str}.`)&&(e[n](),delete e[n])}));n(X_(t))}(function(t,e,n){return Ie(t)?t:b(t)?new Ge(t):w(t)&&arguments.length>1?Xe(t,e,n):Be(t)}(t,"modelValue")),bi((()=>u.destroy())),u}(t,e);if(n.props.definition||vv(600,n),n.props.definition.component)return()=>{var t;return Ro(null===(t=n.props.definition)||void 0===t?void 0:t.component,{context:n.context},{...e.slots})};const i=Be([]),r=()=>{var e,r;const o=null===(r=null===(e=n.props)||void 0===e?void 0:e.definition)||void 0===r?void 0:r.schema;o||vv(601,n),i.value="function"==typeof o?o({...t.sectionsSchema}):o};r(),n.on("schema",r),e.emit("node",n);const o=n.props.definition.library;return e.expose({node:n}),()=>Ro(B_,{schema:i.value,data:n.context,library:o},{...e.slots})}}),V_=Symbol.for("FormKitOptions"),W_=Symbol.for("FormKitConfig"),U_={install(t,e){const n=Object.assign({alias:"FormKit",schemaAlias:"FormKitSchema"},"function"==typeof e?e():e),i=function(t={}){const e=new Set,n={...t,_add:t=>e.add(t),_rm:t=>t.remove(t)};return new Proxy(n,{set:(t,n,i,r)=>("string"==typeof n&&e.forEach((t=>jv(t,n,i))),Reflect.set(t,n,i,r))})}(n.config||{});n.config={rootConfig:i},t.config.globalProperties.$formkit=function(t,e){return t.component(e.alias||"FormKit",z_).component(e.schemaAlias||"FormKitSchema",B_),{get:Lv,setLocale:t=>{var n;null!==(n=e.config)&&void 0!==n&&n.rootConfig&&(e.config.rootConfig.locale=t)},clearErrors:hy,setErrors:uy,submit:Dv,reset:$v}}(t,n),t.provide(V_,n),t.provide(W_,i)}},H_=Symbol();function q_(t,e){const n=G_(t,e);return n&&"object"==typeof n?Object.keys(n):n}function G_(t,e){if(Ie(t)){if(0===e.length)return t.value;t=t.value}return e.reduce(((t,e)=>t===H_?t:null===t||"object"!=typeof t?H_:t[e]),t)}function X_(t,e=[],...n){if(null===t)return e;if(!n.length){const n=Object.defineProperty([],"__str",{value:""});if(!(t=Ie(t)?t.value:t)||"object"!=typeof t)return[n];Object.defineProperty(n,"__deep",{value:!0}),e.push(n)}if(null===t||"object"!=typeof t)return e;for(const i in t){const r=n.concat(i);Object.defineProperty(r,"__str",{value:r.join(".")});const o=t[i];tv(o)||Array.isArray(o)?(e.push(Object.defineProperty(r,"__deep",{value:!0})),e=e.concat(X_(o,[],...r))):e.push(r)}return e}function Y_(t){return null===t||"object"!=typeof t||(Ee(t)?t=je(t):Ie(t)&&(t=Ee(t.value)?Y_(t.value):t.value)),t}const K_=["help","label","ignore","disabled","preserve",/^preserve(-e|E)rrors/,/^[a-z]+(?:-visibility|Visibility)$/,/^[a-zA-Z-]+(?:-class|Class)$/,"prefixIcon","suffixIcon",/^[a-zA-Z-]+(?:-icon|Icon)$/];function Z_(t,e){e.classes&&Object.keys(e.classes).forEach((n=>{"string"==typeof n&&(t.props[`_${n}Class`]=e.classes[n],Qm(e.classes[n])&&"inner"===n&&Object.values(e.classes[n]))}))}let J_=1;const Q_=function(t){t.ledger.count("blocking",(t=>t.blocking));const e=Be(!t.ledger.value("blocking"));t.ledger.count("errors",(t=>"error"===t.type));const n=Be(!!t.ledger.value("errors"));let i=!1;pn((()=>{i=!0}));const r=Ce(t.store.reduce(((t,e)=>(e.visible&&(t[e.key]=e),t)),{})),o=Be(t.props.validationVisibility||"blur");t.on("prop:validationVisibility",(({payload:t})=>{o.value=t}));const s=Be("live"===o.value),a=$o((()=>{if(v.state.submitted)return!0;if(!s.value&&!v.state.settled)return!1;switch(o.value){case"live":return!0;case"blur":return v.state.blurred;case"dirty":return v.state.dirty;default:return!1}})),l=$o((()=>c.value?e.value&&!n.value:v.state.dirty&&!Zm(v.value))),c=Be(Array.isArray(t.props.parsedRules)&&t.props.parsedRules.length>0);t.on("prop:parsedRules",(({payload:t})=>{c.value=Array.isArray(t)&&t.length>0}));const u=$o((()=>{const t={};for(const e in r){const n=r[e];("validation"!==n.type||a.value)&&(t[e]=n)}return t})),h=Ce(t.store.reduce(((t,e)=>("ui"===e.type&&e.visible&&(t[e.key]=e),t)),{})),d=Ce({}),p=new Proxy(d,{get(...e){const[n,i]=e;let r=Reflect.get(...e);return!r&&"string"==typeof i&&!Ym(n,i)&&!i.startsWith("__v")&&zb(t).watch((t=>{const e="function"==typeof t.config.rootClasses?t.config.rootClasses(i,t):{},o=t.config.classes?cy(i,t,t.config.classes[i]):{},s=cy(i,t,t.props[`_${i}Class`]),a=cy(i,t,t.props[`${i}Class`]);r=function(t,e,...n){const i=n.reduce(((t,e)=>{if(!e)return t;const{$reset:n,...i}=e;return n?i:Object.assign(t,i)}),{});return Object.keys(t.hook.classes.dispatch({property:e,classes:i}).classes).filter((t=>i[t])).join(" ")||null}(t,i,e,o,s,a),n[i]=r})),r}}),f=$o((()=>{const e=[];v.help&&e.push(`help-${t.props.id}`);for(const n in u.value)e.push(`${t.props.id}-${n}`);return e.length?e.join(" "):void 0})),g=Be(t.value),m=Be(t.value),v=Ce({_value:m,attrs:t.props.attrs,disabled:t.props.disabled,describedBy:f,fns:{length:t=>Object.keys(t).length,number:t=>Number(t),string:t=>String(t),json:t=>JSON.stringify(t),eq:Km},handlers:{blur:e=>{t.store.set(yv({key:"blurred",visible:!1,value:!0})),"function"==typeof t.props.attrs.onBlur&&t.props.attrs.onBlur(e)},touch:()=>{t.store.set(yv({key:"dirty",visible:!1,value:!0}))},DOMInput:e=>{t.input(e.target.value),t.emit("dom-input-event",e)}},help:t.props.help,id:t.props.id,label:t.props.label,messages:u,node:De(t),options:t.props.options,state:{blurred:!1,complete:l,dirty:!1,submitted:!1,settled:t.isSettled,valid:e,errors:n,rules:c,validationVisible:a},type:t.props.type,family:t.props.family,ui:h,value:g,classes:p});function y(e){e.forEach((e=>{e=ov(e),!Ym(v,e)&&Ym(t.props,e)&&(v[e]=t.props[e]),t.on(`prop:${e}`,(({payload:t})=>{v[e]=t}))}))}var b;t.on("created",(()=>{Km(v.value,t.value)||(m.value=t.value,g.value=t.value,ze(g),ze(m)),t.props._init=lv(t.value)})),t.on("settled",(({payload:t})=>{v.state.settled=t})),y((()=>{const e=/^[a-zA-Z-]+(?:-icon|Icon)$/,n=Object.keys(t.props).filter((t=>e.test(t)));return["help","label","disabled","options","type","attrs","preserve","preserveErrors","id"].concat(n)})()),t.props.definition&&(b=t.props.definition).props&&y(b.props),t.on("added-props",(({payload:t})=>y(t))),t.on("input",(({payload:t})=>{m.value=t,ze(m)})),t.on("commit",(({payload:e})=>{g.value=m.value=e,ze(g),t.emit("modelUpdated"),!v.state.dirty&&t.isCreated&&i&&!Km(g.value,t.props._init)&&v.handlers.touch(),l&&"input"===t.type&&n.value&&!cv(t.props.preserveErrors)&&t.store.filter((t=>{var e;return!("error"===t.type&&!0===(null===(e=t.meta)||void 0===e?void 0:e.autoClear))}))}));const _=async t=>{"ui"===t.type&&t.visible&&!t.meta.showAsMessage?h[t.key]=t:t.visible?r[t.key]=t:"state"===t.type&&(v.state[t.key]=!!t.value)};t.on("message-added",(t=>_(t.payload))),t.on("message-updated",(t=>_(t.payload))),t.on("message-removed",(({payload:t})=>{delete h[t.key],delete r[t.key],delete v.state[t.key]})),t.on("settled:blocking",(()=>{e.value=!0})),t.on("unsettled:blocking",(()=>{e.value=!1})),t.on("settled:errors",(()=>{n.value=!1})),t.on("unsettled:errors",(()=>{n.value=!0})),Pr(a,(t=>{t&&(s.value=!0)})),t.context=v,t.emit("context",t,!1)};ti({name:"FormKitIcon",props:{icon:{type:String,default:""},iconLoader:{type:Function,default:null},iconLoaderUrl:{type:Function,default:null}},setup(t){var e,n;const i=Be(void 0),r=ir(V_,{}),o=ir(F_,null);let s;if(t.iconLoader&&"function"==typeof t.iconLoader)s=x_(t.iconLoader);else if(o&&null!==(e=o.props)&&void 0!==e&&e.iconLoader)s=x_(o.props.iconLoader);else if(t.iconLoaderUrl&&"function"==typeof t.iconLoaderUrl)s=x_(s,t.iconLoaderUrl);else{const t=null===(n=null==r?void 0:r.plugins)||void 0===n?void 0:n.find((t=>"function"==typeof t.iconHandler));t&&(s=t.iconHandler)}if(s&&"function"==typeof s){const e=s(t.icon);e instanceof Promise?e.then((t=>{i.value=t})):i.value=e}return()=>i.value?Ro("span",{class:"formkit-icon",innerHTML:i.value}):null}});const tx=ti({__name:"select-input",props:{context:{type:Object,required:!0}},setup(t){const e=t,n=t=>e.context.attrs.customValue?e.context.attrs.customValue(t):t,i=t=>{const i=n(t);e.context.attrs.multiple?e.context.node.input([e.context._value,i].flat().filter(Boolean)):e.context.node.input(i)},r=t=>{const i=n(t);e.context.attrs.multiple?e.context.node.input([e.context._value].flat().filter((t=>t!==i))):e.context.node.input(null)},o=$o((()=>e.context.attrs.options.find((t=>n(t)===e.context._value))||e.context._value)),s=$o((()=>e.context.node.props)),a=Be(!1),l=bd.debounce((async(t,n)=>{t&&e.context.attrs.onSearchChange&&(a.value=!0,await e.context.attrs.onSearchChange(t,n),a.value=!1)}),e.context.attrs.searchDebounce),c=$o((()=>({...e.context.attrs,loading:a.value||e.context.attrs.loading,onSearchChange:l})));return bi((()=>{l.cancel()})),(n,a)=>(Yr(),Qr("div",{class:Y(["ap-select-input",{taggable:t.context.attrs.taggable}])},[so(Ve(pm),go(c.value,{id:s.value.id,class:{error:t.context.state.errors||t.context.state.validationVisible&&!t.context.state.valid},disabled:s.value.disabled,"model-value":o.value,name:s.value.name,options:t.context.attrs.options,onBlur:t.context.handlers.blur,onRemove:r,onSelect:i,onTouch:t.context.handlers.touch}),Mi({_:2},[Pi(e.context.slots,((t,e)=>({name:e,fn:$n((e=>[t?(Yr(),to(Oi(t),K(go({key:0},e)),null,16)):uo("",!0)]))})))]),1040,["id","class","disabled","model-value","name","options","onBlur","onTouch"])],2))}}),ex=kd(tx,[["__scopeId","data-v-7460d5fa"]]),nx={allowEmpty:{type:Boolean,required:!1,default:!0},blockKeys:{type:Array,required:!1,default:[]},clearOnSelect:{type:Boolean,required:!1,default:!0},closeOnSelect:{type:Boolean,required:!1,default:!0},customLabel:{type:Function,required:!1},customValue:{type:Function,required:!1},groupValues:{type:String,required:!1},groupLabel:{type:String,required:!1},groupSelect:{type:Boolean,required:!1,default:!1},hideSelected:{type:Boolean,required:!1,default:!1},id:{type:String,required:!1},internalSearch:{type:Boolean,required:!1,default:!0},limit:{type:Number,required:!1},limitText:{type:Function,required:!1,default:t=>`and ${t} more`},loading:{type:Boolean,required:!1,default:!1},modelValue:{type:void 0,required:!1},multiple:{type:Boolean,required:!1,default:!1},name:{type:String,required:!1},onSearchChange:{type:Function,required:!1},onTag:{type:Function,required:!1},openDirection:{type:String,required:!1},options:{type:Array,required:!1,default:()=>[]},optionsLimit:{type:Number,required:!1,default:1e3},preselectFirst:{type:Boolean,required:!1,default:!1},preserveSearch:{type:Boolean,required:!1,default:!1},placeholder:{type:String,required:!1},resetAfter:{type:Boolean,required:!1,default:!1},searchDebounce:{type:Number,required:!1,default:500},searchable:{type:Boolean,required:!1,default:!0},taggable:{type:Boolean,required:!1,default:!1},tagPlaceholder:{type:String,required:!1,default:"Press enter to create a tag"},tagPosition:{type:String,required:!1,default:"top"}},ix=ti({__name:"select-field",props:{...nx,...Fm},setup(t){const e=t,n=function(t,e={}){const n={type:"input",...e};let i;if(function(t){return"function"==typeof t&&2===t.length||"object"==typeof t&&!Array.isArray(t)&&!("$el"in t)&&!("$cmp"in t)&&!("if"in t)}(t)){const e="SchemaComponent"+J_++;i=vb("input",(()=>({$cmp:e,props:{context:"$node.context"}}))),n.library={[e]:De(t)}}else i="function"==typeof t?t:vb("input",(()=>lv(t)));return n.schema=function(t){return py(gy(my("$label"),fy(by(),t(),_y())),xy("$help"),vy(yy("$message.value")))}(i||"Schema undefined"),n}(ex);return(t,i)=>(Yr(),to(Vm,go(e,{type:Ve(n)}),Mi({_:2},[Pi(t.$slots,((e,n)=>({name:n,fn:$n((e=>[Li(t.$slots,n,K(ao(e)))]))})))]),1040,["type"]))}}),rx=new Set,ox=new WeakMap,sx=new WeakMap,ax=new WeakMap,lx=new WeakMap,cx=new WeakMap,ux=new WeakMap,hx=new WeakMap,dx=new WeakSet;let px;const fx="__aa_tgt",gx="__aa_del";function mx(t){clearTimeout(hx.get(t));const e=Cx(t),n="function"==typeof e?500:e.duration;hx.set(t,setTimeout((async()=>{const e=ax.get(t);(!e||await e.finished)&&(ox.set(t,Sx(t)),function(t){const e=lx.get(t);null==e||e.disconnect();let n=ox.get(t),i=0;n||(n=Sx(t),ox.set(t,n));const{offsetWidth:r,offsetHeight:o}=px,s=[n.top-5,r-(n.left+5+n.width),o-(n.top+5+n.height),n.left-5].map((t=>-1*Math.floor(t)+"px")).join(" "),a=new IntersectionObserver((()=>{++i>1&&mx(t)}),{root:px,threshold:1,rootMargin:s});a.observe(t),lx.set(t,a)}(t))}),n))}function vx(t){setTimeout((()=>{cx.set(t,setInterval((()=>yx(mx.bind(null,t))),2e3))}),Math.round(2e3*Math.random()))}function yx(t){"function"==typeof requestIdleCallback?requestIdleCallback((()=>t())):requestAnimationFrame((()=>t()))}let bx,_x;function xx(t,e){e||fx in t?e&&!(fx in e)&&Object.defineProperty(e,fx,{value:t}):Object.defineProperty(t,fx,{value:t})}function wx(t){return Number(t.replace(/[^0-9.\-]/g,""))}function Sx(t){const e=t.getBoundingClientRect();return{top:e.top+window.scrollY,left:e.left+window.scrollX,width:e.width,height:e.height}}function kx(t,e,n){let i=e.width,r=e.height,o=n.width,s=n.height;const a=getComputedStyle(t);if("content-box"===a.getPropertyValue("box-sizing")){const t=wx(a.paddingTop)+wx(a.paddingBottom)+wx(a.borderTopWidth)+wx(a.borderBottomWidth),e=wx(a.paddingLeft)+wx(a.paddingRight)+wx(a.borderRightWidth)+wx(a.borderLeftWidth);i-=e,o-=e,r-=t,s-=t}return[i,o,r,s].map(Math.round)}function Cx(t){return fx in t&&ux.has(t[fx])?ux.get(t[fx]):{duration:250,easing:"ease-in-out"}}function Ax(t){if(fx in t)return t[fx]}function Ox(t){const e=Ax(t);return!!e&&dx.has(e)}function Tx(t,...e){e.forEach((e=>e(t,ux.has(t))));for(let n=0;n<t.children.length;n++){const i=t.children.item(n);i&&e.forEach((t=>t(i,ux.has(i))))}}typeof window<"u"&&(px=document.documentElement,bx=new MutationObserver((t=>{const e=function(t){return t.reduce(((t,e)=>{if(!1===t)return!1;if(e.target instanceof Element){if(xx(e.target),!t.has(e.target)){t.add(e.target);for(let n=0;n<e.target.children.length;n++){const i=e.target.children.item(n);if(i){if(gx in i)return!1;xx(e.target,i),t.add(i)}}}if(e.removedNodes.length)for(let n=0;n<e.removedNodes.length;n++){const i=e.removedNodes[n];if(gx in i)return!1;i instanceof Element&&(t.add(i),xx(e.target,i),sx.set(i,[e.previousSibling,e.nextSibling]))}}return t}),new Set)}(t);e&&e.forEach((t=>function(t){var e;const n=px.contains(t),i=ox.has(t);n&&sx.has(t)&&sx.delete(t),ax.has(t)&&(null===(e=ax.get(t))||void 0===e||e.cancel()),i&&n?function(t){const e=ox.get(t),n=Sx(t);if(!Ox(t))return ox.set(t,n);let i;if(!e)return;const r=Cx(t);if("function"!=typeof r){const o=e.left-n.left,s=e.top-n.top,[a,l,c,u]=kx(t,e,n),h={transform:`translate(${o}px, ${s}px)`},d={transform:"translate(0, 0)"};a!==l&&(h.width=`${a}px`,d.width=`${l}px`),c!==u&&(h.height=`${c}px`,d.height=`${u}px`),i=t.animate([h,d],{duration:r.duration,easing:r.easing})}else i=new Animation(r(t,"remain",e,n)),i.play();ax.set(t,i),ox.set(t,n),i.addEventListener("finish",mx.bind(null,t))}(t):i&&!n?function(t){var e;if(!sx.has(t)||!ox.has(t))return;const[n,i]=sx.get(t);function r(){var e;t.remove(),ox.delete(t),sx.delete(t),ax.delete(t),null===(e=lx.get(t))||void 0===e||e.disconnect()}if(Object.defineProperty(t,gx,{value:!0}),i&&i.parentNode&&i.parentNode instanceof Element?i.parentNode.insertBefore(t,i):n&&n.parentNode?n.parentNode.appendChild(t):null===(e=Ax(t))||void 0===e||e.appendChild(t),!Ox(t))return r();const[o,s,a,l]=function(t){const e=ox.get(t),[n,,i]=kx(t,e,Sx(t));let r=t.parentElement;for(;r&&("static"===getComputedStyle(r).position||r instanceof HTMLBodyElement);)r=r.parentElement;r||(r=document.body);const o=getComputedStyle(r),s=ox.get(r)||Sx(r);return[Math.round(e.top-s.top)-wx(o.borderTopWidth),Math.round(e.left-s.left)-wx(o.borderLeftWidth),n,i]}(t),c=Cx(t),u=ox.get(t);let h;Object.assign(t.style,{position:"absolute",top:`${o}px`,left:`${s}px`,width:`${a}px`,height:`${l}px`,margin:0,pointerEvents:"none",transformOrigin:"center",zIndex:100}),"function"!=typeof c?h=t.animate([{transform:"scale(1)",opacity:1},{transform:"scale(.98)",opacity:0}],{duration:c.duration,easing:"ease-out"}):(h=new Animation(c(t,"remove",u)),h.play()),ax.set(t,h),h.addEventListener("finish",r)}(t):function(t){const e=Sx(t);ox.set(t,e);const n=Cx(t);if(!Ox(t))return;let i;"function"!=typeof n?i=t.animate([{transform:"scale(.98)",opacity:0},{transform:"scale(0.98)",opacity:0,offset:.5},{transform:"scale(1)",opacity:1}],{duration:1.5*n.duration,easing:"ease-in"}):(i=new Animation(n(t,"add",e)),i.play()),ax.set(t,i),i.addEventListener("finish",mx.bind(null,t))}(t)}(t)))})),_x=new ResizeObserver((t=>{t.forEach((t=>{t.target===px&&(clearTimeout(hx.get(px)),hx.set(px,setTimeout((()=>{rx.forEach((t=>Tx(t,(t=>yx((()=>mx(t)))))))}),100))),ox.has(t.target)&&mx(t.target)}))})),_x.observe(px));const Ex=new Map;let Px=null;function Mx(){Ex.forEach(((t,e)=>{const n=document.getElementById(e);n&&(Ex.delete(e),function(t,e={}){bx&&_x&&(window.matchMedia("(prefers-reduced-motion: reduce)").matches&&"function"!=typeof e&&!e.disrespectUserMotionPreference||(dx.add(t),"static"===getComputedStyle(t).position&&Object.assign(t.style,{position:"relative"}),Tx(t,mx,vx,(t=>null==_x?void 0:_x.observe(t))),"function"==typeof e?ux.set(t,e):ux.set(t,{duration:250,easing:"ease-in-out",...e}),bx.observe(t,{childList:!0}),rx.add(t))),Object.freeze({parent:t,enable:()=>{dx.add(t)},disable:()=>{dx.delete(t)},isEnabled:()=>dx.has(t)})}(n,t||{}))}))}const Lx={install(t,e={}){var n;t.use(U_,((t={})=>{const{rules:e={},locales:n={},inputs:i={},messages:r={},locale:o,theme:s,iconLoaderUrl:a,iconLoader:l,icons:c={},...u}=t,h=function(t={}){return function(e){const n=Object.assign({},t,e.props.validationRules);let i=zb(e);const r={input:Gm(),rerun:null,isPassing:!0};let o=lv(e.props.validation);e.on("prop:validation",(({payload:t})=>{Km(o,t)||(o=lv(t),Wb(i.receipts),e.store.filter((()=>!1),"validation"),e.props.parsedRules=i_(t,n),i.kill(),i=zb(e),Gb(i,e.props.parsedRules,r))})),e.props.parsedRules=i_(o,n),Gb(i,e.props.parsedRules,r)}}({...Nb,...e||{}}),d=function(t){return function(e){let n=u_(e.config.locale,t),i=n?t[n]:{};e.on("prop:locale",(({payload:r})=>{n=u_(r,t),i=n?t[n]:{},e.store.touch()})),e.on("prop:label",(()=>e.store.touch())),e.on("prop:validationLabel",(()=>e.store.touch())),e.hook.text(((t,e)=>{var n,r;const o=(null===(n=t.meta)||void 0===n?void 0:n.messageKey)||t.key;if(Ym(i,t.type)&&Ym(i[t.type],o)){const e=i[t.type][o];t.value="function"==typeof e?Array.isArray(null===(r=t.meta)||void 0===r?void 0:r.i18nArgs)?e(...t.meta.i18nArgs):e(t):e}return e(t)}))}}(ev({en:c_,...n||{}},r)),p=function(...t){const e=t.reduce(((t,e)=>ev(t,e)),{}),n=()=>{};return n.library=function(t){const n=ov(t.props.type);Ym(e,n)&&t.define(e[n])},n}(Lb,i);return ev({plugins:[p,__(s,c,a,l),Q_,d,h],...o?{config:{locale:o}}:{}},u||{},!0)})({...e,plugins:[t=>{t.on("created",(()=>{var e;if("function"==typeof(null===(e=t.props.definition)||void 0===e?void 0:e.schema)){if(void 0===typeof window)return;const e=t.props.definition.schema;t.props.definition.schema=n=>{n.outer=ev({attrs:{id:`outer-${t.props.id}`}},n.outer||{});const i=e(n),r=ay(i[0])?Array.isArray(i[0].else)?i[0].else[0]:i[0].else:i[0];return r&&oy(r)&&r.attrs&&"id"in r.attrs&&Ex.set(String("$id"===r.attrs.id?t.props.id:r.attrs.id),void 0),i}}Px||(Mx(),Px=new MutationObserver((()=>{Mx(),!Ex.size&&Px&&(Px.disconnect(),Px=null)})),Px.observe(document,{childList:!0,subtree:!0}))}))},...e.plugins||[]],config:{...e.config,classes:{messages:Lm.messages,message:Lm.message,help:Lm.help,optionHelp:Lm.help,inner:Lm.inner,...null==(n=e.config)?void 0:n.classes}}}))}},jx=t=>(jn("data-v-69b1dd7f"),t=t(),Dn(),t),Dx={key:0},$x=[jx((()=>oo("td",{colspan:"999"},[oo("span",{class:"loading"})],-1)))],Rx={key:1},Ix={colspan:"999"},Bx=jx((()=>oo("div",null,null,-1))),Nx=ti({__name:"table-core",props:{hideRowCount:{type:Boolean},loading:{type:Boolean},page:{},pageTotal:{},rows:{default:()=>[]},rowCount:{default:({rows:t})=>(null==t?void 0:t.length)||0},onSearch:{},searchProps:{default:()=>({debounce:0,placeholder:"Search..."})},titleDescription:{},title:{}},emits:["sort","update:page"],setup(t,{emit:e}){const n=t,i=Ts();function r(t){return void 0!==t.page&&void 0!==t.pageTotal}const o=$o((()=>{const t=n.page||1,e=n.pageTotal,i=n.rowCount;if(!e||!i)return{start:0,end:0};let r;return r=t<e?n.rows.length*(t-1):i-n.rows.length,{start:r+1,end:r+n.rows.length}}));return(t,s)=>(Yr(),Qr("div",null,[r(n)||t.hideRowCount?uo("",!0):(Yr(),Qr("div",{key:0,class:Y(t.$style.searchCountTop)},[co(" Showing "),oo("strong",null,nt(t.rows.length),1),co(" of "),oo("strong",null,nt(t.rowCount),1)],2)),t.$slots.title||t.title||t.$slots.titleDescription||t.titleDescription?(Yr(),Qr("div",{key:1,class:Y(t.$style.titleRow)},[Li(t.$slots,"title",{},(()=>[t.title?(Yr(),to(Em,{key:0},{default:$n((()=>[co(nt(t.title),1)])),_:1})):uo("",!0)]),!0),t.$slots.titleDescription||t.titleDescription?(Yr(),Qr("div",{key:0,class:Y(t.$style.titleDescription)},[Li(t.$slots,"titleDescription",{},(()=>[co(nt(t.titleDescription),1)]),!0)],2)):uo("",!0)],2)):uo("",!0),t.$slots.search||t.onSearch?(Yr(),Qr("div",{key:2,class:Y(t.$style.searchInput)},[Li(t.$slots,"search",{},(()=>[so(Ve(Rb),{config:{delay:t.searchProps.debounce},placeholder:t.searchProps.placeholder,onInput:t.onSearch},null,8,["config","placeholder","onInput"])]),!0)],2)):uo("",!0),oo("table",{class:Y(t.$style.table)},[oo("thead",{onClick:s[0]||(s[0]=t=>function(t){var n;if(!t.target)return;const r=bd.get(t,"target.attributes.data-sort-by.value");if(!r)return;const o=t.target,s=o.classList.contains(i.active)?o.classList.contains(i.reverse)?"asc":"desc":"asc";null!=(n=o.parentElement)&&n.children&&Array.from(o.parentElement.children).forEach((t=>{t.classList&&(t.classList.remove(i.active),t.classList.remove(i.reverse))})),o.classList.add(i.active),o.classList["desc"===s?"add":"remove"](i.reverse),e("sort",r,s)}(t))},[Li(t.$slots,"thead",{},void 0,!0)]),oo("tbody",null,[(Yr(!0),Qr(Wr,null,Pi(t.rows,(e=>Li(t.$slots,"tbody",{row:e,rows:t.rows},void 0,!0))),256)),t.loading?(Yr(),Qr("tr",Dx,$x)):uo("",!0),t.rows.length||t.loading?uo("",!0):(Yr(),Qr("tr",Rx,[oo("td",Ix,[Li(t.$slots,"empty",{},(()=>[co(" No items found ")]),!0)])]))])],2),r(n)?(Yr(),Qr("div",{key:3,class:Y(t.$style.footer)},[Bx,so(Ve(Am),{"model-value":n.page,total:n.pageTotal,class:Y(t.$style.pagination),"onUpdate:modelValue":s[1]||(s[1]=e=>t.$emit("update:page",e))},null,8,["model-value","total","class"]),t.hideRowCount?uo("",!0):(Yr(),Qr("div",{key:0,class:Y(t.$style.searchCountBottom)},[co(" Showing "),oo("strong",null,nt(o.value.start)+"-"+nt(o.value.end),1),co(" of "),oo("strong",null,nt(t.rowCount),1)],2))],2)):uo("",!0)]))}}),Fx=kd(Nx,[["__cssModules",{$style:{icon:"_icon_sahpl_1",titleRow:"_titleRow_sahpl_51",titleDescription:"_titleDescription_sahpl_54",searchCount:"_searchCount_sahpl_58",searchCountTop:"_searchCountTop_sahpl_59",searchCountBottom:"_searchCountBottom_sahpl_60",searchInput:"_searchInput_sahpl_75",table:"_table_sahpl_79",active:"_active_sahpl_111",reverse:"_reverse_sahpl_114",footer:"_footer_sahpl_121",pagination:"_pagination_sahpl_131",spin:"_spin_sahpl_1"}}],["__scopeId","data-v-69b1dd7f"]]),zx=(Object.assign(Fx,{Title:Em}),Boolean,Boolean,Ce({id:1,active:[],add(t){zx.active.push({id:this.id++,...t})},remove(t){const e=this.active.findIndex((e=>e.id===t));this.active.splice(e,1)},reset(){this.active=[],this.id=1}})),Vx="sidenav-lock",Wx=(Ce({isMobileOpen:!1,isLocked:!!(typeof localStorage<"u"&&localStorage.getItem(Vx)),toggleMobile(){this.isMobileOpen=!this.isMobileOpen},toggleLock(){this.isLocked=!this.isLocked,typeof localStorage<"u"&&(this.isLocked?localStorage.setItem(Vx,"true"):localStorage.removeItem(Vx))}}),{install(t,e={}){t.use(Lx,e.form),t.directive("hidden",(function(t,e){t.style.visibility=e.value?"hidden":null}))}});function Ux(t,e,...n){if(t in e){let i=e[t];return"function"==typeof i?i(...n):i}let i=new Error(`Tried to handle "${t}" but there is no handler defined. Only defined handlers are: ${Object.keys(e).map((t=>`"${t}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,Ux),i}var Hx=(t=>(t[t.None=0]="None",t[t.RenderStrategy=1]="RenderStrategy",t[t.Static=2]="Static",t))(Hx||{}),qx=(t=>(t[t.Unmount=0]="Unmount",t[t.Hidden=1]="Hidden",t))(qx||{});function Gx({visible:t=!0,features:e=0,ourProps:n,theirProps:i,...r}){var o;let s=Kx(i,n),a=Object.assign(r,{props:s});return t||2&e&&s.static?Xx(a):1&e?Ux(null==(o=s.unmount)||o?0:1,{0:()=>null,1:()=>Xx({...r,props:{...s,hidden:!0,style:{display:"none"}}})}):Xx(a)}function Xx({props:t,attrs:e,slots:n,slot:i,name:r}){var o,s;let{as:a,...l}=function(t,e=[]){let n=Object.assign({},t);for(let t of e)t in n&&delete n[t];return n}(t,["unmount","static"]),c=null==(o=n.default)?void 0:o.call(n,i),u={};if(i){let t=!1,e=[];for(let[n,r]of Object.entries(i))"boolean"==typeof r&&(t=!0),!0===r&&e.push(n);t&&(u["data-headlessui-state"]=e.join(" "))}if("template"===a){if(c=Yx(c??[]),Object.keys(l).length>0||Object.keys(e).length>0){let[t,...n]=c??[];if(!function(t){return null!=t&&("string"==typeof t.type||"object"==typeof t.type||"function"==typeof t.type)}(t)||n.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${r} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(l).concat(Object.keys(e)).map((t=>t.trim())).filter(((t,e,n)=>n.indexOf(t)===e)).sort(((t,e)=>t.localeCompare(e))).map((t=>` - ${t}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map((t=>` - ${t}`)).join("\n")].join("\n"));let i=Kx(null!=(s=t.props)?s:{},l),o=lo(t,i);for(let t in i)t.startsWith("on")&&(o.props||(o.props={}),o.props[t]=i[t]);return o}return Array.isArray(c)&&1===c.length?c[0]:c}return Ro(a,Object.assign({},l,u),{default:()=>c})}function Yx(t){return t.flatMap((t=>t.type===Wr?Yx(t.children):[t]))}function Kx(...t){if(0===t.length)return{};if(1===t.length)return t[0];let e={},n={};for(let i of t)for(let t in i)t.startsWith("on")&&"function"==typeof i[t]?(null!=n[t]||(n[t]=[]),n[t].push(i[t])):e[t]=i[t];if(e.disabled||e["aria-disabled"])return Object.assign(e,Object.fromEntries(Object.keys(n).map((t=>[t,void 0]))));for(let t in n)Object.assign(e,{[t](e,...i){let r=n[t];for(let t of r){if(e instanceof Event&&e.defaultPrevented)return;t(e,...i)}}});return e}let Zx=0;function Jx(){return++Zx}var Qx=(t=>(t.Space=" ",t.Enter="Enter",t.Escape="Escape",t.Backspace="Backspace",t.Delete="Delete",t.ArrowLeft="ArrowLeft",t.ArrowUp="ArrowUp",t.ArrowRight="ArrowRight",t.ArrowDown="ArrowDown",t.Home="Home",t.End="End",t.PageUp="PageUp",t.PageDown="PageDown",t.Tab="Tab",t))(Qx||{});function tw(t){var e;return null==t||null==t.value?null:null!=(e=t.value.$el)?e:t.value}let ew=Symbol("Context");var nw=(t=>(t[t.Open=1]="Open",t[t.Closed=2]="Closed",t[t.Closing=4]="Closing",t[t.Opening=8]="Opening",t))(nw||{});function iw(t,e){if(t)return t;let n=e??"button";return"string"==typeof n&&"button"===n.toLowerCase()?"button":void 0}var rw=(t=>(t[t.Open=0]="Open",t[t.Closed=1]="Closed",t))(rw||{});let ow=Symbol("DisclosureContext");function sw(t){let e=ir(ow,null);if(null===e){let e=new Error(`<${t} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,sw),e}return e}let aw=Symbol("DisclosurePanelContext");ti({name:"Disclosure",props:{as:{type:[Object,String],default:"template"},defaultOpen:{type:[Boolean],default:!1}},setup(t,{slots:e,attrs:n}){let i=Be(t.defaultOpen?0:1),r=Be(null),o=Be(null),s={buttonId:Be(`headlessui-disclosure-button-${Jx()}`),panelId:Be(`headlessui-disclosure-panel-${Jx()}`),disclosureState:i,panel:r,button:o,toggleDisclosure(){i.value=Ux(i.value,{0:1,1:0})},closeDisclosure(){1!==i.value&&(i.value=1)},close(t){s.closeDisclosure();let e=t?t instanceof HTMLElement?t:t.value instanceof HTMLElement?tw(t):tw(s.button):tw(s.button);null==e||e.focus()}};return nr(ow,s),function(t){nr(ew,t)}($o((()=>Ux(i.value,{0:nw.Open,1:nw.Closed})))),()=>{let{defaultOpen:r,...o}=t;return Gx({theirProps:o,ourProps:{},slot:{open:0===i.value,close:s.close},slots:e,attrs:n,name:"Disclosure"})}}}),ti({name:"DisclosureButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(t,{attrs:e,slots:n,expose:i}){let r=sw("DisclosureButton"),o=ir(aw,null),s=$o((()=>null!==o&&o.value===r.panelId.value));gi((()=>{s.value||null!==t.id&&(r.buttonId.value=t.id)})),bi((()=>{s.value||(r.buttonId.value=null)}));let a=Be(null);i({el:a,$el:a}),s.value||Er((()=>{r.button.value=a.value}));let l=function(t,e){let n=Be(iw(t.value.type,t.value.as));return gi((()=>{n.value=iw(t.value.type,t.value.as)})),Er((()=>{var t;n.value||tw(e)&&tw(e)instanceof HTMLButtonElement&&(null==(t=tw(e))||!t.hasAttribute("type"))&&(n.value="button")})),n}($o((()=>({as:t.as,type:e.type}))),a);function c(){var e;t.disabled||(s.value?(r.toggleDisclosure(),null==(e=tw(r.button))||e.focus()):r.toggleDisclosure())}function u(e){var n;if(!t.disabled)if(s.value)switch(e.key){case Qx.Space:case Qx.Enter:e.preventDefault(),e.stopPropagation(),r.toggleDisclosure(),null==(n=tw(r.button))||n.focus()}else switch(e.key){case Qx.Space:case Qx.Enter:e.preventDefault(),e.stopPropagation(),r.toggleDisclosure()}}function h(t){t.key===Qx.Space&&t.preventDefault()}return()=>{var i;let o={open:0===r.disclosureState.value},{id:d,...p}=t;return Gx({ourProps:s.value?{ref:a,type:l.value,onClick:c,onKeydown:u}:{id:null!=(i=r.buttonId.value)?i:d,ref:a,type:l.value,"aria-expanded":0===r.disclosureState.value,"aria-controls":0===r.disclosureState.value||tw(r.panel)?r.panelId.value:void 0,disabled:!!t.disabled||void 0,onClick:c,onKeydown:u,onKeyup:h},theirProps:p,slot:o,attrs:e,slots:n,name:"DisclosureButton"})}}}),ti({name:"DisclosurePanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(t,{attrs:e,slots:n,expose:i}){let r=sw("DisclosurePanel");gi((()=>{null!==t.id&&(r.panelId.value=t.id)})),bi((()=>{r.panelId.value=null})),i({el:r.panel,$el:r.panel}),nr(aw,r.panelId);let o=ir(ew,null),s=$o((()=>null!==o?(o.value&nw.Open)===nw.Open:0===r.disclosureState.value));return()=>{var i;let o={open:0===r.disclosureState.value,close:r.close},{id:a,...l}=t;return Gx({ourProps:{id:null!=(i=r.panelId.value)?i:a,ref:r.panel},theirProps:l,slot:o,attrs:e,slots:n,features:Hx.RenderStrategy|Hx.Static,visible:s.value,name:"DisclosurePanel"})}}});Boolean,Boolean,Boolean,Boolean,Boolean;Boolean,Boolean;const lw=kd(ti({__name:"nav-link-contents",props:{link:{},wrapperMaxWidth:{}},setup:t=>(t,e)=>(Yr(),Qr("div",{class:"wrapper",style:U({maxWidth:t.wrapperMaxWidth})},[t.link.icon?(Yr(),Qr(Wr,{key:0},["string"==typeof t.link.icon?(Yr(),to(Ve(Od),{key:0,class:Y([t.link.icon,"icon"]),icon:t.link.icon},null,8,["class","icon"])):(Yr(),to(Oi(t.link.icon()),{key:1}))],64)):uo("",!0),Li(t.$slots,"default",{},void 0,!0)],4))}),[["__scopeId","data-v-418031f4"]]),cw=["href","onClick"],uw={key:1};Boolean;Boolean;Boolean;const hw=(Boolean,{components:{Navigation:zh,SelectField:ix,Form:Nm},data:()=>({requiredTags:[],requiredOptions:[],forbiddenTags:[],forbiddenOptions:[]}),methods:{handleRequiredTag(t){this.requiredTags.push(t),this.requiredOptions.push(t)},handleForbiddenTag(t){this.forbiddenTags.push(t),this.forbiddenOptions.push(t)},confirm(){this.$store.commit("setPageScan",{required:this.requiredTags,forbidden:this.forbiddenTags}),this.$store.dispatch("confirm")}}});n(265);const dw=(0,Vs.A)(hw,[["render",function(t,e,n,i,r,o){const s=Ci("SelectField"),a=Ci("Form"),l=Ci("Navigation");return Yr(),Qr("div",null,[e[4]||(e[4]=oo("header",null," Configure TrustedForm Insights ",-1)),oo("section",null,[e[2]||(e[2]=oo("h3",null,"Page Scan Forbidden/Required Text",-1)),e[3]||(e[3]=oo("p",null,[co(" Please set your required and/or forbidden text for the TrustedForm set in LeadConduit; the step will fail if the required term is missing and if the forbidden term is present in the page. "),oo("a",{href:"https://community.activeprospect.com/posts/4078890",target:"_blank"},"Learn More")],-1)),so(a,{actions:!1},{default:$n((()=>[so(s,{name:"PageScan Required",modelValue:r.requiredTags,"onUpdate:modelValue":e[0]||(e[0]=t=>r.requiredTags=t),options:r.requiredOptions,taggable:"",multiple:"",onTag:o.handleRequiredTag,openDirection:"bottom"},null,8,["modelValue","options","onTag"]),so(s,{name:"PageScan Forbidden",modelValue:r.forbiddenTags,"onUpdate:modelValue":e[1]||(e[1]=t=>r.forbiddenTags=t),options:r.forbiddenOptions,taggable:"",multiple:"",onTag:o.handleForbiddenTag,openDirection:"bottom"},null,8,["modelValue","options","onTag"])])),_:1})]),so(l,{onConfirm:o.confirm,disableConfirm:!1},null,8,["onConfirm"])])}],["__scopeId","data-v-67a095b2"]]),pw=function(t){const e=function(t,e){const n=[],i=new Map;function r(t,n,i){const a=!i,l=Ku(t);l.aliasOf=i&&i.record;const c=th(e,t),u=[l];if("alias"in t){const e="string"==typeof t.alias?[t.alias]:t.alias;for(const t of e)u.push(Ku(Jc({},l,{components:i?i.record.components:l.components,path:t,aliasOf:i?i.record:l})))}let h,d;for(const e of u){const{path:u}=e;if(n&&"/"!==u[0]){const t=n.record.path,i="/"===t[t.length-1]?"":"/";e.path=n.record.path+(u&&i+u)}if(h=Xu(e,n,c),i?i.alias.push(h):(d=d||h,d!==h&&d.alias.push(h),a&&t.name&&!Ju(h)&&o(t.name)),eh(h)&&s(h),l.children){const t=l.children;for(let e=0;e<t.length;e++)r(t[e],h,i&&i.children[e])}i=i||h}return d?()=>{o(d)}:tu}function o(t){if($u(t)){const e=i.get(t);e&&(i.delete(t),n.splice(n.indexOf(e),1),e.children.forEach(o),e.alias.forEach(o))}else{const e=n.indexOf(t);e>-1&&(n.splice(e,1),t.record.name&&i.delete(t.record.name),t.children.forEach(o),t.alias.forEach(o))}}function s(t){const e=function(t,e){let n=0,i=e.length;for(;n!==i;){const r=n+i>>1;Uu(t,e[r])<0?i=r:n=r+1}const r=function(t){let e=t;for(;e=e.parent;)if(eh(e)&&0===Uu(t,e))return e}(t);return r&&(i=e.lastIndexOf(r,i-1)),i}(t,n);n.splice(e,0,t),t.record.name&&!Ju(t)&&i.set(t.record.name,t)}return e=th({strict:!1,end:!0,sensitive:!1},e),t.forEach((t=>r(t))),{addRoute:r,resolve:function(t,e){let r,o,s,a={};if("name"in t&&t.name){if(r=i.get(t.name),!r)throw Bu(1,{location:t});s=r.record.name,a=Jc(Yu(e.params,r.keys.filter((t=>!t.optional)).concat(r.parent?r.parent.keys.filter((t=>t.optional)):[]).map((t=>t.name))),t.params&&Yu(t.params,r.keys.map((t=>t.name)))),o=r.stringify(a)}else if(null!=t.path)o=t.path,r=n.find((t=>t.re.test(o))),r&&(a=r.parse(o),s=r.record.name);else{if(r=e.name?i.get(e.name):n.find((t=>t.re.test(e.path))),!r)throw Bu(1,{location:t,currentLocation:e});s=r.record.name,a=Jc({},e.params,t.params),o=r.stringify(a)}const l=[];let c=r;for(;c;)l.unshift(c.record),c=c.parent;return{name:s,path:o,params:a,matched:l,meta:Qu(l)}},removeRoute:o,clearRoutes:function(){n.length=0,i.clear()},getRoutes:function(){return n},getRecordMatcher:function(t){return i.get(t)}}}(t.routes,t),n=t.parseQuery||nh,i=t.stringifyQuery||ih,r=t.history,o=uh(),s=uh(),a=uh(),l=Ne(Au,!0);let c=Au;Kc&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Qc.bind(null,(t=>""+t)),h=Qc.bind(null,yu),d=Qc.bind(null,bu);function p(t,o){if(o=Jc({},o||l.value),"string"==typeof t){const i=xu(n,t,o.path),s=e.resolve({path:i.path},o),a=r.createHref(i.fullPath);return Jc(i,s,{params:d(s.params),hash:bu(i.hash),redirectedFrom:void 0,href:a})}let s;if(null!=t.path)s=Jc({},t,{path:xu(n,t.path,o.path).path});else{const e=Jc({},t.params);for(const t in e)null==e[t]&&delete e[t];s=Jc({},t,{params:h(e)}),o.params=h(o.params)}const a=e.resolve(s,o),c=t.hash||"";a.params=u(d(a.params));const p=function(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}(i,Jc({},t,{hash:(f=c,mu(f).replace(du,"{").replace(fu,"}").replace(uu,"^")),path:a.path}));var f;const g=r.createHref(p);return Jc({fullPath:p,hash:c,query:i===ih?rh(t.query):t.query||{}},a,{redirectedFrom:void 0,href:g})}function f(t){return"string"==typeof t?xu(n,t,l.value.path):Jc({},t)}function g(t,e){if(c!==t)return Bu(8,{from:e,to:t})}function m(t){return y(t)}function v(t){const e=t.matched[t.matched.length-1];if(e&&e.redirect){const{redirect:n}=e;let i="function"==typeof n?n(t):n;return"string"==typeof i&&(i=i.includes("?")||i.includes("#")?i=f(i):{path:i},i.params={}),Jc({query:t.query,hash:t.hash,params:null!=i.path?{}:t.params},i)}}function y(t,e){const n=c=p(t),r=l.value,o=t.state,s=t.force,a=!0===t.replace,u=v(n);if(u)return y(Jc(f(u),{state:"object"==typeof u?Jc({},o,u.state):o,force:s,replace:a}),e||n);const h=n;let d;return h.redirectedFrom=e,!s&&function(t,e,n){const i=e.matched.length-1,r=n.matched.length-1;return i>-1&&i===r&&wu(e.matched[i],n.matched[r])&&Su(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}(i,r,n)&&(d=Bu(16,{to:h,from:r}),M(r,r,!0,!1)),(d?Promise.resolve(d):x(h,r)).catch((t=>Nu(t)?Nu(t,2)?t:P(t):E(t,h,r))).then((t=>{if(t){if(Nu(t,2))return y(Jc({replace:a},f(t.to),{state:"object"==typeof t.to?Jc({},o,t.to.state):o,force:s}),e||h)}else t=S(h,r,!0,a,o);return w(h,r,t),t}))}function b(t,e){const n=g(t,e);return n?Promise.reject(n):Promise.resolve()}function _(t){const e=D.values().next().value;return e&&"function"==typeof e.runWithContext?e.runWithContext(t):t()}function x(t,e){let n;const[i,r,a]=function(t,e){const n=[],i=[],r=[],o=Math.max(e.matched.length,t.matched.length);for(let s=0;s<o;s++){const o=e.matched[s];o&&(t.matched.find((t=>wu(t,o)))?i.push(o):n.push(o));const a=t.matched[s];a&&(e.matched.find((t=>wu(t,a)))||r.push(a))}return[n,i,r]}(t,e);n=dh(i.reverse(),"beforeRouteLeave",t,e);for(const r of i)r.leaveGuards.forEach((i=>{n.push(hh(i,t,e))}));const l=b.bind(null,t,e);return n.push(l),R(n).then((()=>{n=[];for(const i of o.list())n.push(hh(i,t,e));return n.push(l),R(n)})).then((()=>{n=dh(r,"beforeRouteUpdate",t,e);for(const i of r)i.updateGuards.forEach((i=>{n.push(hh(i,t,e))}));return n.push(l),R(n)})).then((()=>{n=[];for(const i of a)if(i.beforeEnter)if(eu(i.beforeEnter))for(const r of i.beforeEnter)n.push(hh(r,t,e));else n.push(hh(i.beforeEnter,t,e));return n.push(l),R(n)})).then((()=>(t.matched.forEach((t=>t.enterCallbacks={})),n=dh(a,"beforeRouteEnter",t,e,_),n.push(l),R(n)))).then((()=>{n=[];for(const i of s.list())n.push(hh(i,t,e));return n.push(l),R(n)})).catch((t=>Nu(t,8)?t:Promise.reject(t)))}function w(t,e,n){a.list().forEach((i=>_((()=>i(t,e,n)))))}function S(t,e,n,i,o){const s=g(t,e);if(s)return s;const a=e===Au,c=Kc?history.state:{};n&&(i||a?r.replace(t.fullPath,Jc({scroll:a&&c&&c.scroll},o)):r.push(t.fullPath,o)),l.value=t,M(t,e,n,a),P()}let k;function C(){k||(k=r.listen(((t,e,n)=>{if(!$.listening)return;const i=p(t),o=v(i);if(o)return void y(Jc(o,{replace:!0}),i).catch(tu);c=i;const s=l.value;var a,u;Kc&&(a=Lu(s.fullPath,n.delta),u={left:window.scrollX,top:window.scrollY},ju.set(a,u)),x(i,s).catch((t=>Nu(t,12)?t:Nu(t,2)?(y(t.to,i).then((t=>{Nu(t,20)&&!n.delta&&n.type===Ou.pop&&r.go(-1,!1)})).catch(tu),Promise.reject()):(n.delta&&r.go(-n.delta,!1),E(t,i,s)))).then((t=>{(t=t||S(i,s,!1))&&(n.delta&&!Nu(t,8)?r.go(-n.delta,!1):n.type===Ou.pop&&Nu(t,20)&&r.go(-1,!1)),w(i,s,t)})).catch(tu)})))}let A,O=uh(),T=uh();function E(t,e,n){P(t);const i=T.list();return i.length?i.forEach((i=>i(t,e,n))):console.error(t),Promise.reject(t)}function P(t){return A||(A=!t,C(),O.list().forEach((([e,n])=>t?n(t):e())),O.reset()),t}function M(e,n,i,r){const{scrollBehavior:o}=t;if(!Kc||!o)return Promise.resolve();const s=!i&&function(t){const e=ju.get(t);return ju.delete(t),e}(Lu(e.fullPath,0))||(r||!i)&&history.state&&history.state.scroll||null;return pn().then((()=>o(e,n,s))).then((t=>t&&function(t){let e;if("el"in t){const n=t.el,i="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;e=function(t,e){const n=document.documentElement.getBoundingClientRect(),i=t.getBoundingClientRect();return{behavior:e.behavior,left:i.left-n.left-(e.left||0),top:i.top-n.top-(e.top||0)}}(r,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(null!=e.left?e.left:window.scrollX,null!=e.top?e.top:window.scrollY)}(t))).catch((t=>E(t,e,n)))}const L=t=>r.go(t);let j;const D=new Set,$={currentRoute:l,listening:!0,addRoute:function(t,n){let i,r;return $u(t)?(i=e.getRecordMatcher(t),r=n):r=t,e.addRoute(r,i)},removeRoute:function(t){const n=e.getRecordMatcher(t);n&&e.removeRoute(n)},clearRoutes:e.clearRoutes,hasRoute:function(t){return!!e.getRecordMatcher(t)},getRoutes:function(){return e.getRoutes().map((t=>t.record))},resolve:p,options:t,push:m,replace:function(t){return m(Jc(f(t),{replace:!0}))},go:L,back:()=>L(-1),forward:()=>L(1),beforeEach:o.add,beforeResolve:s.add,afterEach:a.add,onError:T.add,isReady:function(){return A&&l.value!==Au?Promise.resolve():new Promise(((t,e)=>{O.add([t,e])}))},install(t){const n=this;t.component("RouterLink",fh),t.component("RouterView",bh),t.config.globalProperties.$router=n,Object.defineProperty(t.config.globalProperties,"$route",{enumerable:!0,get:()=>Ve(l)}),Kc&&!j&&l.value===Au&&(j=!0,m(r.location).catch((t=>{})));const i={};for(const t in Au)Object.defineProperty(i,t,{get:()=>l.value[t],enumerable:!0});t.provide(ah,n),t.provide(lh,Ae(i)),t.provide(ch,l);const o=t.unmount;D.add(t),t.unmount=function(){D.delete(t),D.size<1&&(c=Au,k&&k(),k=null,l.value=Au,j=!1,A=!1),o()},__VUE_PROD_DEVTOOLS__&&Kc&&Sh(t,n,e)}};function R(t){return t.reduce(((t,e)=>t.then((()=>_(e)))),Promise.resolve())}return $}({history:function(t=""){let e=[],n=[""],i=0;function r(t){i++,i!==n.length&&n.splice(i),n.push(t)}const o={location:"",state:{},base:t=Eu(t),createHref:Mu.bind(null,t),replace(t){n.splice(i--,1),r(t)},push(t,e){r(t)},listen:t=>(e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}),destroy(){e=[],n=[""],i=0},go(t,r=!0){const o=this.location,s=t<0?Tu.back:Tu.forward;i=Math.max(0,Math.min(i+t,n.length-1)),r&&function(t,n,{direction:i,delta:r}){const o={direction:i,delta:r,type:Ou.pop};for(const i of e)i(t,n,o)}(this.location,o,{direction:s,delta:t})}};return Object.defineProperty(o,"location",{enumerable:!0,get:()=>n[i]}),o}(),routes:[{path:"/",name:"Default",component:Us,children:[{path:"",alias:"1",name:"PageOne",component:qh},{path:"2",name:"PageTwo",component:Yh},{path:"3",name:"PageThree",component:Zh},{path:"4",name:"PageFour",component:od},{path:"5",name:"PageFive",component:dd},{path:"6",name:"PageSix",component:dw}]}]});i().init((function(t){const e=zs(Us);e.use(Yc(t,i())),e.use(pw),e.use(Wx),e.mount("#app")}))})()})();
|
|
2
|
+
(()=>{var t={822:t=>{t.exports={age:{description:"The amount of time, in seconds, since the TrustedForm certificate was created. Serves as an approximation of lead age.",use:"Only accept leads that meet their minimum requirement for lead age."},browser:{description:"The browser name and version",use:"Use browser type information to infer attributes about a consumer, and accept or reject a lead accordingly."},created_at:{description:"Timestamp of the creation of the TrustedForm certificate, in ISO 8601 format.",use:"Only accept leads that are less than x hours old, to maximize the likelihood of conversion."},device:{description:"Mobile device type, if applicable.",use:"Infer attributes about a consumer, and accept or reject a lead accordingly."},event_duration:{description:"The amount of time, in seconds, that the consumer spent on the page filling out the form.",use:"Longer time on page might indicate a more thoughtful conversion event. Some buyers may choose to reject leads where a minimum duration was not met."},expires_at:{description:"Timestamp indicating when the claim period for the TrustedForm certificate expires.",use:"Reject leads where the TrustedForm certificate has expired and can no longer be claimed for protection against TCPA complaints."},framed:{description:"Whether or not the page_url was in an iframe.",use:""},city:{description:"The city that the consumer was located in when they filled out the form, based on IP address. ",use:"Accept leads within a specific geographic area."},country_code:{description:"The country that the consumer was located in when they filled out the form, based on IP address.",use:"Accept leads within a specific geographic area."},lat:{description:"The location (latitude) of the consumer when they filled out the form, based on IP address.",use:"Accept leads within a specific geographic area."},lon:{description:"The location (longitude) of the consumer when they filled out the form, based on IP address.",use:"Accept leads within a specific geographic area."},postal_code:{description:"The postal code that the consumer was located in when they filled out the form, based on IP address.",use:"Accept leads within a specific geographic area."},state:{description:"The state that the consumer was in when they filled out the form, based on IP address.",use:"Accept leads within a specific geographic area."},time_zone:{description:"The time zone that the consumer was in when they filled out the form, based on IP address.",use:"Accept leads within a specific geographic area."},ip:{description:"The IP address of the consumer.",use:""},wpm:{description:"The consumer’s typing speed on the form, in words per minute.",use:"Use typing speed information to infer attributes about a consumer. A buyer might reject leads that don’t fall within a desired range."},kpm:{description:"The consumer’s typing speed on the form, in keystrokes per minute.",use:"A kpm that is greater than wpm indicates the use of the delete key and/or spacebar. This might suggest a lower likelihood of bot activity and a lower probability that a lead is fraudulent."},page_url:{description:"The URL of the page on which the consumer filled out the form.",use:"Track leads back to their original source regardless of where they were purchased."},operating_system:{description:"The operating system for the device from which the consumer filled out the form.",use:"Infer attributes about a consumer, and accept or reject a lead accordingly."},parent_page_url:{description:"The URL of the page on which the consumer filled out the form. The value will be “null” unless framed=true (see above).",use:""},cert_id:{description:"The TrustedForm certificate ID.",use:""},user_agent:{description:"The browser and operating system for the device on which the consumer filled out the form.",use:"Infer attributes about a consumer, and accept or reject a lead accordingly."},fingerprints_matching:{description:"Matching fingerprints that were found on the TrustedForm certificate.",use:"Accept a lead where there is a fingerprint match."},fingerprints_non_matching:{description:"Non-matching fingerprints that were found on the TrustedForm certificate.",use:"Reject a lead where there is not a fingerprint match."},is_masked:{description:"Whether or not the TrustedForm certificate is masked.",use:"Route leads with masked certificates to a different system."},scans_found:{description:"Language that was found through the use of page scanning.",use:"Accept leads where desired language was found on the page through the use of page scanning."},scans_not_found:{description:"Language that was not found through the use of page scanning.",use:"Reject leads where page scanning indicates that desired language was not found on the page."},warnings:{description:"Any warnings present about the content of the form, specific to page scanning and fingerprinting.",use:"Reject leads where warnings are present."}}},711:t=>{t.exports={age:{name:"Age",description:"The amount of time, in seconds, since the TrustedForm certificate was created. Serves as an approximation of lead age.",enabled:!1},browser:{name:"Browser",description:"The name and version of the browser used during the lead event.",enabled:!1},created_timestamp:{name:"Created Timestamp",description:"Timestamp of the creation of the TrustedForm certificate, in ISO 8601 format.",enabled:!1},domain:{name:"Domain",description:"The name of the website the lead event took place on.",enabled:!1},expiration_timestamp:{name:"Expiration Timestamp",description:"A timestamp indicating when this certificate will no longer be available for API requests.",enabled:!1},framed:{name:"Framed",description:'Whether or not the lead event took place inside of an iframe. <a href="https://www.techtarget.com/whatis/definition/IFrame-Inline-Frame" target="_blank">Learn More.</a>',enabled:!1},form_input_method:{name:"Form Input Method",description:"A list of ways the consumer input their data onto the form including one or more of the following: typing, paste, autofill.",enabled:!1},form_input_kpm:{name:"Form Input KPM",description:"The consumer’s typing speed on the form, in keystrokes per minute.",enabled:!1},form_input_wpm:{name:"Form Input WPM",description:"The consumer’s approximate typing speed on the form, in words per minute. This is calculated by using the Form Input KPM and assuming five characters represent a word.",enabled:!1},ip_address:{name:"IP Address",description:"The public IP address of the consumer during the lead event.",enabled:!1},location:{name:"Location",description:"The city, state, postal code, country, timezone, latitude and longitude of the consumer's location during the lead event based on IP address.",enabled:!1},masked:{name:"Masked",description:"Whether or not the TrustedForm certificate is masked.",enabled:!1},sensitive_content:{name:"Sensitive Content",description:"Count of how many content elements (e.g. input, textarea) are marked sensitive and hidden from the session replay.",enabled:!1},sensitive_form_fields:{name:"Sensitive Form Fields",description:"Count of how many form fields (e.g. input, textarea) are marked sensitive and hidden from the session replay.",enabled:!1},operating_system:{name:"Operating System",description:"The name and version of the operating system for the device used during the lead event.",enabled:!1},page_scan:{name:"Page Scan",description:'Results indicating whether specified text was found on the web page that created the certificate. <a href="https://community.activeprospect.com/posts/4078890-trustedform-page-scan" target="_blank">Learn more.</a>',enabled:!1},page_url:{name:"Page URL",description:"The URL of the page where the lead event took place.",enabled:!1},parent_page_url:{name:"Parent Page URL",description:'The URL displayed in the consumer\'s browser if the Page URL was displayed in an iframe. <a href="https://www.techtarget.com/whatis/definition/IFrame-Inline-Frame" target="_blank">Learn more.</a>',enabled:!1},time_on_page:{name:"Time On Page",description:"The amount of time, in seconds, that the consumer spent on the page during the lead event.",enabled:!1}}},118:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>a});var i=n(219),r=n.n(i),o=n(388),s=n.n(o)()(r());s.push([t.id,"\nul[data-v-4cb6d661] {\n padding-top: 1em;\n}\n",""]);const a=s},66:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>a});var i=n(219),r=n.n(i),o=n(388),s=n.n(o)()(r());s.push([t.id,'\ntable[data-v-350d7264] {\n position: relative;\n}\nth[data-v-350d7264] {\n position: sticky;\n top: 0;\n background-color: #f4f6f8;\n border-bottom: 1px solid #dfe4e8;\n}\n\n/*\nWe are using "fancy-checkbox" in an atypical way;\nTypically, the <label> and <input> components are siblings, and there is only 1 label for the checkbox.\nHowever, since our fancy-checkbox is supposed to be placed in a separate <td> and have additional padding,\nWe have to add some additional styling and a second <label> element.\n*/\n.checkbox-label[data-v-350d7264] {\n /* !important is needed because of this style https://github.com/activeprospect/leadconduit-client/blob/618797873a9fc485bf2d51873043700aae9d496e/public/css/core/forms.styl#L495 */\n padding: 1.2em !important;\n}\n.text-label[data-v-350d7264] {\n /* !important is needed because of this style https://github.com/activeprospect/leadconduit-client/blob/618797873a9fc485bf2d51873043700aae9d496e/public/css/core/forms.styl#L429 */\n margin: 0 !important;\n}\n',""]);const a=s},644:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>a});var i=n(219),r=n.n(i),o=n(388),s=n.n(o)()(r());s.push([t.id,'\n/* All the selectors here use `:deep()` because otherwise the styles can\'t be scoped, since the classes are added by a library. */\n\n/** override this style https://github.com/activeprospect/leadconduit-client/blob/a005d3ac5627aa39d12c64756561ef400b512bf3/public/css/core/forms.styl#L252-L254 */\n[data-v-095237e3] input[type="text"] {\n min-width: 0 !important;\n}\n[data-v-095237e3] .formkit-outer {\n width: 100%;\n}\n',""]);const a=s},656:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>a});var i=n(219),r=n.n(i),o=n(388),s=n.n(o)()(r());s.push([t.id,"\ninput[data-v-6a23f3df] {\n width: 65%;\n}\n\n",""]);const a=s},388:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,r,o){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var l=this[a][0];null!=l&&(s[l]=!0)}for(var c=0;c<t.length;c++){var u=[].concat(t[c]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),e.push(u))}},e}},219:t=>{"use strict";t.exports=function(t){return t[1]}},743:function(t,e,n){var i,r;void 0===(r="function"==typeof(i=function(){var t=!1,e=function(t){if("loading"!==document.readyState)t();else if(document.addEventListener)document.addEventListener("DOMContentLoaded",t,!1);else var e=setInterval((function(){"loading"!==document.readyState&&(clearInterval(e),t())}),10)};function n(t,e){window.parent.postMessage({type:"integration-message",data:{event:t,data:e}},window.location.href.replace(window.location.pathname,""))}function i(t){return function(e){n(t,e)}}return{init:function(i,r){document.domain=document.domain,t||(t=!0,"function"!=typeof i||r||(r=i,i=void 0),e((function(){!function(t){var e=0,n=0,i=1,r=window.parent.document.styleSheets,o=document.createElement("style");o.appendChild(document.createTextNode("")),document.head.appendChild(o);for(var s=0;s<r.length;s++)c(r[s]);function a(){++n>=i&&t()}function l(t){return t.hasOwnProperty("cssRules")?t.cssRules:t.hasOwnProperty("rules")?t.rules:[]}function c(t){var e,n;if(rules=l(t),rules&&rules.length)for(var r=0;r<rules.length;r++)(e=rules[r]).type===CSSRule.IMPORT_RULE?c(e.styleSheet):u(e.cssText);else t.href&&(i++,t.ownerNode?((n=t.ownerNode.cloneNode()).onload=a,document.head.appendChild(n)):((n=document.createElement("link")).rel="stylesheet",n.onload=a,n.href=link.href,document.head.appendChild(n)))}function u(t){o.sheet.insertRule&&o.sheet.insertRule(t,e++)}a()}((function(){n("ready")}))})),"function"==typeof r&&window.addEventListener("message",(function(t){if("object"!=typeof t||"object"!=typeof t.data||!t.data.type)return!1;"init"==t.data.type&&e((function(){r(t.data.data)}))})),(i=i||{}).url=window.location.href,n("init",i))},send:n,create:i("create"),close:i("close"),cancel:i("cancel"),getBasePath:function(t){var e=location.pathname,n="/"==e.charAt(e.length-1)?"":"/";return e+n+t}}})?i.call(e,n,e,t):i)||(t.exports=r)},273:function(t,e,n){var i;t=n.nmd(t),function(){var r,o="Expected a function",s="__lodash_hash_undefined__",a="__lodash_placeholder__",l=32,c=128,u=1/0,h=9007199254740991,d=NaN,p=4294967295,f=[["ary",c],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",l],["partialRight",64],["rearg",256]],g="[object Arguments]",m="[object Array]",v="[object Boolean]",y="[object Date]",b="[object Error]",_="[object Function]",x="[object GeneratorFunction]",w="[object Map]",S="[object Number]",k="[object Object]",C="[object Promise]",A="[object RegExp]",O="[object Set]",T="[object String]",E="[object Symbol]",P="[object WeakMap]",M="[object ArrayBuffer]",L="[object DataView]",j="[object Float32Array]",D="[object Float64Array]",$="[object Int8Array]",R="[object Int16Array]",I="[object Int32Array]",N="[object Uint8Array]",B="[object Uint8ClampedArray]",F="[object Uint16Array]",z="[object Uint32Array]",V=/\b__p \+= '';/g,W=/\b(__p \+=) '' \+/g,H=/(__e\(.*?\)|\b__t\)) \+\n'';/g,U=/&(?:amp|lt|gt|quot|#39);/g,q=/[&<>"']/g,G=RegExp(U.source),X=RegExp(q.source),Y=/<%-([\s\S]+?)%>/g,K=/<%([\s\S]+?)%>/g,Z=/<%=([\s\S]+?)%>/g,J=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Q=/^\w*$/,tt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,et=/[\\^$.*+?()[\]{}|]/g,nt=RegExp(et.source),it=/^\s+/,rt=/\s/,ot=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,st=/\{\n\/\* \[wrapped with (.+)\] \*/,at=/,? & /,lt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ct=/[()=,{}\[\]\/\s]/,ut=/\\(\\)?/g,ht=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,dt=/\w*$/,pt=/^[-+]0x[0-9a-f]+$/i,ft=/^0b[01]+$/i,gt=/^\[object .+?Constructor\]$/,mt=/^0o[0-7]+$/i,vt=/^(?:0|[1-9]\d*)$/,yt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,bt=/($^)/,_t=/['\n\r\u2028\u2029\\]/g,xt="\\ud800-\\udfff",wt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",St="\\u2700-\\u27bf",kt="a-z\\xdf-\\xf6\\xf8-\\xff",Ct="A-Z\\xc0-\\xd6\\xd8-\\xde",At="\\ufe0e\\ufe0f",Ot="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\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",Tt="["+xt+"]",Et="["+Ot+"]",Pt="["+wt+"]",Mt="\\d+",Lt="["+St+"]",jt="["+kt+"]",Dt="[^"+xt+Ot+Mt+St+kt+Ct+"]",$t="\\ud83c[\\udffb-\\udfff]",Rt="[^"+xt+"]",It="(?:\\ud83c[\\udde6-\\uddff]){2}",Nt="[\\ud800-\\udbff][\\udc00-\\udfff]",Bt="["+Ct+"]",Ft="\\u200d",zt="(?:"+jt+"|"+Dt+")",Vt="(?:"+Bt+"|"+Dt+")",Wt="(?:['’](?:d|ll|m|re|s|t|ve))?",Ht="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ut="(?:"+Pt+"|"+$t+")?",qt="["+At+"]?",Gt=qt+Ut+"(?:"+Ft+"(?:"+[Rt,It,Nt].join("|")+")"+qt+Ut+")*",Xt="(?:"+[Lt,It,Nt].join("|")+")"+Gt,Yt="(?:"+[Rt+Pt+"?",Pt,It,Nt,Tt].join("|")+")",Kt=RegExp("['’]","g"),Zt=RegExp(Pt,"g"),Jt=RegExp($t+"(?="+$t+")|"+Yt+Gt,"g"),Qt=RegExp([Bt+"?"+jt+"+"+Wt+"(?="+[Et,Bt,"$"].join("|")+")",Vt+"+"+Ht+"(?="+[Et,Bt+zt,"$"].join("|")+")",Bt+"?"+zt+"+"+Wt,Bt+"+"+Ht,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Mt,Xt].join("|"),"g"),te=RegExp("["+Ft+xt+wt+At+"]"),ee=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ne=["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"],ie=-1,re={};re[j]=re[D]=re[$]=re[R]=re[I]=re[N]=re[B]=re[F]=re[z]=!0,re[g]=re[m]=re[M]=re[v]=re[L]=re[y]=re[b]=re[_]=re[w]=re[S]=re[k]=re[A]=re[O]=re[T]=re[P]=!1;var oe={};oe[g]=oe[m]=oe[M]=oe[L]=oe[v]=oe[y]=oe[j]=oe[D]=oe[$]=oe[R]=oe[I]=oe[w]=oe[S]=oe[k]=oe[A]=oe[O]=oe[T]=oe[E]=oe[N]=oe[B]=oe[F]=oe[z]=!0,oe[b]=oe[_]=oe[P]=!1;var se={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ae=parseFloat,le=parseInt,ce="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,ue="object"==typeof self&&self&&self.Object===Object&&self,he=ce||ue||Function("return this")(),de=e&&!e.nodeType&&e,pe=de&&t&&!t.nodeType&&t,fe=pe&&pe.exports===de,ge=fe&&ce.process,me=function(){try{return pe&&pe.require&&pe.require("util").types||ge&&ge.binding&&ge.binding("util")}catch(t){}}(),ve=me&&me.isArrayBuffer,ye=me&&me.isDate,be=me&&me.isMap,_e=me&&me.isRegExp,xe=me&&me.isSet,we=me&&me.isTypedArray;function Se(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function ke(t,e,n,i){for(var r=-1,o=null==t?0:t.length;++r<o;){var s=t[r];e(i,s,n(s),t)}return i}function Ce(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););return t}function Ae(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function Oe(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(!e(t[n],n,t))return!1;return!0}function Te(t,e){for(var n=-1,i=null==t?0:t.length,r=0,o=[];++n<i;){var s=t[n];e(s,n,t)&&(o[r++]=s)}return o}function Ee(t,e){return!(null==t||!t.length)&&Be(t,e,0)>-1}function Pe(t,e,n){for(var i=-1,r=null==t?0:t.length;++i<r;)if(n(e,t[i]))return!0;return!1}function Me(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}function Le(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}function je(t,e,n,i){var r=-1,o=null==t?0:t.length;for(i&&o&&(n=t[++r]);++r<o;)n=e(n,t[r],r,t);return n}function De(t,e,n,i){var r=null==t?0:t.length;for(i&&r&&(n=t[--r]);r--;)n=e(n,t[r],r,t);return n}function $e(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1}var Re=We("length");function Ie(t,e,n){var i;return n(t,(function(t,n,r){if(e(t,n,r))return i=n,!1})),i}function Ne(t,e,n,i){for(var r=t.length,o=n+(i?1:-1);i?o--:++o<r;)if(e(t[o],o,t))return o;return-1}function Be(t,e,n){return e==e?function(t,e,n){for(var i=n-1,r=t.length;++i<r;)if(t[i]===e)return i;return-1}(t,e,n):Ne(t,ze,n)}function Fe(t,e,n,i){for(var r=n-1,o=t.length;++r<o;)if(i(t[r],e))return r;return-1}function ze(t){return t!=t}function Ve(t,e){var n=null==t?0:t.length;return n?qe(t,e)/n:d}function We(t){return function(e){return null==e?r:e[t]}}function He(t){return function(e){return null==t?r:t[e]}}function Ue(t,e,n,i,r){return r(t,(function(t,r,o){n=i?(i=!1,t):e(n,t,r,o)})),n}function qe(t,e){for(var n,i=-1,o=t.length;++i<o;){var s=e(t[i]);s!==r&&(n=n===r?s:n+s)}return n}function Ge(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}function Xe(t){return t?t.slice(0,dn(t)+1).replace(it,""):t}function Ye(t){return function(e){return t(e)}}function Ke(t,e){return Me(e,(function(e){return t[e]}))}function Ze(t,e){return t.has(e)}function Je(t,e){for(var n=-1,i=t.length;++n<i&&Be(e,t[n],0)>-1;);return n}function Qe(t,e){for(var n=t.length;n--&&Be(e,t[n],0)>-1;);return n}var tn=He({À:"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"}),en=He({"&":"&","<":"<",">":">",'"':""","'":"'"});function nn(t){return"\\"+se[t]}function rn(t){return te.test(t)}function on(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n}function sn(t,e){return function(n){return t(e(n))}}function an(t,e){for(var n=-1,i=t.length,r=0,o=[];++n<i;){var s=t[n];s!==e&&s!==a||(t[n]=a,o[r++]=n)}return o}function ln(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function cn(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}function un(t){return rn(t)?function(t){for(var e=Jt.lastIndex=0;Jt.test(t);)++e;return e}(t):Re(t)}function hn(t){return rn(t)?function(t){return t.match(Jt)||[]}(t):function(t){return t.split("")}(t)}function dn(t){for(var e=t.length;e--&&rt.test(t.charAt(e)););return e}var pn=He({"&":"&","<":"<",">":">",""":'"',"'":"'"}),fn=function t(e){var n,i=(e=null==e?he:fn.defaults(he.Object(),e,fn.pick(he,ne))).Array,rt=e.Date,xt=e.Error,wt=e.Function,St=e.Math,kt=e.Object,Ct=e.RegExp,At=e.String,Ot=e.TypeError,Tt=i.prototype,Et=wt.prototype,Pt=kt.prototype,Mt=e["__core-js_shared__"],Lt=Et.toString,jt=Pt.hasOwnProperty,Dt=0,$t=(n=/[^.]+$/.exec(Mt&&Mt.keys&&Mt.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Rt=Pt.toString,It=Lt.call(kt),Nt=he._,Bt=Ct("^"+Lt.call(jt).replace(et,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ft=fe?e.Buffer:r,zt=e.Symbol,Vt=e.Uint8Array,Wt=Ft?Ft.allocUnsafe:r,Ht=sn(kt.getPrototypeOf,kt),Ut=kt.create,qt=Pt.propertyIsEnumerable,Gt=Tt.splice,Xt=zt?zt.isConcatSpreadable:r,Yt=zt?zt.iterator:r,Jt=zt?zt.toStringTag:r,te=function(){try{var t=lo(kt,"defineProperty");return t({},"",{}),t}catch(t){}}(),se=e.clearTimeout!==he.clearTimeout&&e.clearTimeout,ce=rt&&rt.now!==he.Date.now&&rt.now,ue=e.setTimeout!==he.setTimeout&&e.setTimeout,de=St.ceil,pe=St.floor,ge=kt.getOwnPropertySymbols,me=Ft?Ft.isBuffer:r,Re=e.isFinite,He=Tt.join,gn=sn(kt.keys,kt),mn=St.max,vn=St.min,yn=rt.now,bn=e.parseInt,_n=St.random,xn=Tt.reverse,wn=lo(e,"DataView"),Sn=lo(e,"Map"),kn=lo(e,"Promise"),Cn=lo(e,"Set"),An=lo(e,"WeakMap"),On=lo(kt,"create"),Tn=An&&new An,En={},Pn=Io(wn),Mn=Io(Sn),Ln=Io(kn),jn=Io(Cn),Dn=Io(An),$n=zt?zt.prototype:r,Rn=$n?$n.valueOf:r,In=$n?$n.toString:r;function Nn(t){if(ta(t)&&!Ws(t)&&!(t instanceof Vn)){if(t instanceof zn)return t;if(jt.call(t,"__wrapped__"))return No(t)}return new zn(t)}var Bn=function(){function t(){}return function(e){if(!Qs(e))return{};if(Ut)return Ut(e);t.prototype=e;var n=new t;return t.prototype=r,n}}();function Fn(){}function zn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=r}function Vn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=p,this.__views__=[]}function Wn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Hn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Un(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function qn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Un;++e<n;)this.add(t[e])}function Gn(t){var e=this.__data__=new Hn(t);this.size=e.size}function Xn(t,e){var n=Ws(t),i=!n&&Vs(t),r=!n&&!i&&Gs(t),o=!n&&!i&&!r&&la(t),s=n||i||r||o,a=s?Ge(t.length,At):[],l=a.length;for(var c in t)!e&&!jt.call(t,c)||s&&("length"==c||r&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||mo(c,l))||a.push(c);return a}function Yn(t){var e=t.length;return e?t[Ui(0,e-1)]:r}function Kn(t,e){return Lo(Ar(t),oi(e,0,t.length))}function Zn(t){return Lo(Ar(t))}function Jn(t,e,n){(n!==r&&!Bs(t[e],n)||n===r&&!(e in t))&&ii(t,e,n)}function Qn(t,e,n){var i=t[e];jt.call(t,e)&&Bs(i,n)&&(n!==r||e in t)||ii(t,e,n)}function ti(t,e){for(var n=t.length;n--;)if(Bs(t[n][0],e))return n;return-1}function ei(t,e,n,i){return ui(t,(function(t,r,o){e(i,t,n(t),o)})),i}function ni(t,e){return t&&Or(e,Pa(e),t)}function ii(t,e,n){"__proto__"==e&&te?te(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function ri(t,e){for(var n=-1,o=e.length,s=i(o),a=null==t;++n<o;)s[n]=a?r:Ca(t,e[n]);return s}function oi(t,e,n){return t==t&&(n!==r&&(t=t<=n?t:n),e!==r&&(t=t>=e?t:e)),t}function si(t,e,n,i,o,s){var a,l=1&e,c=2&e,u=4&e;if(n&&(a=o?n(t,i,o,s):n(t)),a!==r)return a;if(!Qs(t))return t;var h=Ws(t);if(h){if(a=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&jt.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!l)return Ar(t,a)}else{var d=ho(t),p=d==_||d==x;if(Gs(t))return _r(t,l);if(d==k||d==g||p&&!o){if(a=c||p?{}:fo(t),!l)return c?function(t,e){return Or(t,uo(t),e)}(t,function(t,e){return t&&Or(e,Ma(e),t)}(a,t)):function(t,e){return Or(t,co(t),e)}(t,ni(a,t))}else{if(!oe[d])return o?t:{};a=function(t,e,n){var i,r=t.constructor;switch(e){case M:return xr(t);case v:case y:return new r(+t);case L:return function(t,e){var n=e?xr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case j:case D:case $:case R:case I:case N:case B:case F:case z:return wr(t,n);case w:return new r;case S:case T:return new r(t);case A:return function(t){var e=new t.constructor(t.source,dt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case O:return new r;case E:return i=t,Rn?kt(Rn.call(i)):{}}}(t,d,l)}}s||(s=new Gn);var f=s.get(t);if(f)return f;s.set(t,a),oa(t)?t.forEach((function(i){a.add(si(i,e,n,i,t,s))})):ea(t)&&t.forEach((function(i,r){a.set(r,si(i,e,n,r,t,s))}));var m=h?r:(u?c?eo:to:c?Ma:Pa)(t);return Ce(m||t,(function(i,r){m&&(i=t[r=i]),Qn(a,r,si(i,e,n,r,t,s))})),a}function ai(t,e,n){var i=n.length;if(null==t)return!i;for(t=kt(t);i--;){var o=n[i],s=e[o],a=t[o];if(a===r&&!(o in t)||!s(a))return!1}return!0}function li(t,e,n){if("function"!=typeof t)throw new Ot(o);return To((function(){t.apply(r,n)}),e)}function ci(t,e,n,i){var r=-1,o=Ee,s=!0,a=t.length,l=[],c=e.length;if(!a)return l;n&&(e=Me(e,Ye(n))),i?(o=Pe,s=!1):e.length>=200&&(o=Ze,s=!1,e=new qn(e));t:for(;++r<a;){var u=t[r],h=null==n?u:n(u);if(u=i||0!==u?u:0,s&&h==h){for(var d=c;d--;)if(e[d]===h)continue t;l.push(u)}else o(e,h,i)||l.push(u)}return l}Nn.templateSettings={escape:Y,evaluate:K,interpolate:Z,variable:"",imports:{_:Nn}},Nn.prototype=Fn.prototype,Nn.prototype.constructor=Nn,zn.prototype=Bn(Fn.prototype),zn.prototype.constructor=zn,Vn.prototype=Bn(Fn.prototype),Vn.prototype.constructor=Vn,Wn.prototype.clear=function(){this.__data__=On?On(null):{},this.size=0},Wn.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Wn.prototype.get=function(t){var e=this.__data__;if(On){var n=e[t];return n===s?r:n}return jt.call(e,t)?e[t]:r},Wn.prototype.has=function(t){var e=this.__data__;return On?e[t]!==r:jt.call(e,t)},Wn.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=On&&e===r?s:e,this},Hn.prototype.clear=function(){this.__data__=[],this.size=0},Hn.prototype.delete=function(t){var e=this.__data__,n=ti(e,t);return!(n<0||(n==e.length-1?e.pop():Gt.call(e,n,1),--this.size,0))},Hn.prototype.get=function(t){var e=this.__data__,n=ti(e,t);return n<0?r:e[n][1]},Hn.prototype.has=function(t){return ti(this.__data__,t)>-1},Hn.prototype.set=function(t,e){var n=this.__data__,i=ti(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this},Un.prototype.clear=function(){this.size=0,this.__data__={hash:new Wn,map:new(Sn||Hn),string:new Wn}},Un.prototype.delete=function(t){var e=so(this,t).delete(t);return this.size-=e?1:0,e},Un.prototype.get=function(t){return so(this,t).get(t)},Un.prototype.has=function(t){return so(this,t).has(t)},Un.prototype.set=function(t,e){var n=so(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this},qn.prototype.add=qn.prototype.push=function(t){return this.__data__.set(t,s),this},qn.prototype.has=function(t){return this.__data__.has(t)},Gn.prototype.clear=function(){this.__data__=new Hn,this.size=0},Gn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Gn.prototype.get=function(t){return this.__data__.get(t)},Gn.prototype.has=function(t){return this.__data__.has(t)},Gn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Hn){var i=n.__data__;if(!Sn||i.length<199)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new Un(i)}return n.set(t,e),this.size=n.size,this};var ui=Pr(yi),hi=Pr(bi,!0);function di(t,e){var n=!0;return ui(t,(function(t,i,r){return n=!!e(t,i,r)})),n}function pi(t,e,n){for(var i=-1,o=t.length;++i<o;){var s=t[i],a=e(s);if(null!=a&&(l===r?a==a&&!aa(a):n(a,l)))var l=a,c=s}return c}function fi(t,e){var n=[];return ui(t,(function(t,i,r){e(t,i,r)&&n.push(t)})),n}function gi(t,e,n,i,r){var o=-1,s=t.length;for(n||(n=go),r||(r=[]);++o<s;){var a=t[o];e>0&&n(a)?e>1?gi(a,e-1,n,i,r):Le(r,a):i||(r[r.length]=a)}return r}var mi=Mr(),vi=Mr(!0);function yi(t,e){return t&&mi(t,e,Pa)}function bi(t,e){return t&&vi(t,e,Pa)}function _i(t,e){return Te(e,(function(e){return Ks(t[e])}))}function xi(t,e){for(var n=0,i=(e=mr(e,t)).length;null!=t&&n<i;)t=t[Ro(e[n++])];return n&&n==i?t:r}function wi(t,e,n){var i=e(t);return Ws(t)?i:Le(i,n(t))}function Si(t){return null==t?t===r?"[object Undefined]":"[object Null]":Jt&&Jt in kt(t)?function(t){var e=jt.call(t,Jt),n=t[Jt];try{t[Jt]=r;var i=!0}catch(t){}var o=Rt.call(t);return i&&(e?t[Jt]=n:delete t[Jt]),o}(t):function(t){return Rt.call(t)}(t)}function ki(t,e){return t>e}function Ci(t,e){return null!=t&&jt.call(t,e)}function Ai(t,e){return null!=t&&e in kt(t)}function Oi(t,e,n){for(var o=n?Pe:Ee,s=t[0].length,a=t.length,l=a,c=i(a),u=1/0,h=[];l--;){var d=t[l];l&&e&&(d=Me(d,Ye(e))),u=vn(d.length,u),c[l]=!n&&(e||s>=120&&d.length>=120)?new qn(l&&d):r}d=t[0];var p=-1,f=c[0];t:for(;++p<s&&h.length<u;){var g=d[p],m=e?e(g):g;if(g=n||0!==g?g:0,!(f?Ze(f,m):o(h,m,n))){for(l=a;--l;){var v=c[l];if(!(v?Ze(v,m):o(t[l],m,n)))continue t}f&&f.push(m),h.push(g)}}return h}function Ti(t,e,n){var i=null==(t=Co(t,e=mr(e,t)))?t:t[Ro(Yo(e))];return null==i?r:Se(i,t,n)}function Ei(t){return ta(t)&&Si(t)==g}function Pi(t,e,n,i,o){return t===e||(null==t||null==e||!ta(t)&&!ta(e)?t!=t&&e!=e:function(t,e,n,i,o,s){var a=Ws(t),l=Ws(e),c=a?m:ho(t),u=l?m:ho(e),h=(c=c==g?k:c)==k,d=(u=u==g?k:u)==k,p=c==u;if(p&&Gs(t)){if(!Gs(e))return!1;a=!0,h=!1}if(p&&!h)return s||(s=new Gn),a||la(t)?Jr(t,e,n,i,o,s):function(t,e,n,i,r,o,s){switch(n){case L:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case M:return!(t.byteLength!=e.byteLength||!o(new Vt(t),new Vt(e)));case v:case y:case S:return Bs(+t,+e);case b:return t.name==e.name&&t.message==e.message;case A:case T:return t==e+"";case w:var a=on;case O:var l=1&i;if(a||(a=ln),t.size!=e.size&&!l)return!1;var c=s.get(t);if(c)return c==e;i|=2,s.set(t,e);var u=Jr(a(t),a(e),i,r,o,s);return s.delete(t),u;case E:if(Rn)return Rn.call(t)==Rn.call(e)}return!1}(t,e,c,n,i,o,s);if(!(1&n)){var f=h&&jt.call(t,"__wrapped__"),_=d&&jt.call(e,"__wrapped__");if(f||_){var x=f?t.value():t,C=_?e.value():e;return s||(s=new Gn),o(x,C,n,i,s)}}return!!p&&(s||(s=new Gn),function(t,e,n,i,o,s){var a=1&n,l=to(t),c=l.length;if(c!=to(e).length&&!a)return!1;for(var u=c;u--;){var h=l[u];if(!(a?h in e:jt.call(e,h)))return!1}var d=s.get(t),p=s.get(e);if(d&&p)return d==e&&p==t;var f=!0;s.set(t,e),s.set(e,t);for(var g=a;++u<c;){var m=t[h=l[u]],v=e[h];if(i)var y=a?i(v,m,h,e,t,s):i(m,v,h,t,e,s);if(!(y===r?m===v||o(m,v,n,i,s):y)){f=!1;break}g||(g="constructor"==h)}if(f&&!g){var b=t.constructor,_=e.constructor;b==_||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _||(f=!1)}return s.delete(t),s.delete(e),f}(t,e,n,i,o,s))}(t,e,n,i,Pi,o))}function Mi(t,e,n,i){var o=n.length,s=o,a=!i;if(null==t)return!s;for(t=kt(t);o--;){var l=n[o];if(a&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++o<s;){var c=(l=n[o])[0],u=t[c],h=l[1];if(a&&l[2]){if(u===r&&!(c in t))return!1}else{var d=new Gn;if(i)var p=i(u,h,c,t,e,d);if(!(p===r?Pi(h,u,3,i,d):p))return!1}}return!0}function Li(t){return!(!Qs(t)||(e=t,$t&&$t in e))&&(Ks(t)?Bt:gt).test(Io(t));var e}function ji(t){return"function"==typeof t?t:null==t?nl:"object"==typeof t?Ws(t)?Ni(t[0],t[1]):Ii(t):hl(t)}function Di(t){if(!xo(t))return gn(t);var e=[];for(var n in kt(t))jt.call(t,n)&&"constructor"!=n&&e.push(n);return e}function $i(t,e){return t<e}function Ri(t,e){var n=-1,r=Us(t)?i(t.length):[];return ui(t,(function(t,i,o){r[++n]=e(t,i,o)})),r}function Ii(t){var e=ao(t);return 1==e.length&&e[0][2]?So(e[0][0],e[0][1]):function(n){return n===t||Mi(n,t,e)}}function Ni(t,e){return yo(t)&&wo(e)?So(Ro(t),e):function(n){var i=Ca(n,t);return i===r&&i===e?Aa(n,t):Pi(e,i,3)}}function Bi(t,e,n,i,o){t!==e&&mi(e,(function(s,a){if(o||(o=new Gn),Qs(s))!function(t,e,n,i,o,s,a){var l=Ao(t,n),c=Ao(e,n),u=a.get(c);if(u)Jn(t,n,u);else{var h=s?s(l,c,n+"",t,e,a):r,d=h===r;if(d){var p=Ws(c),f=!p&&Gs(c),g=!p&&!f&&la(c);h=c,p||f||g?Ws(l)?h=l:qs(l)?h=Ar(l):f?(d=!1,h=_r(c,!0)):g?(d=!1,h=wr(c,!0)):h=[]:ia(c)||Vs(c)?(h=l,Vs(l)?h=ma(l):Qs(l)&&!Ks(l)||(h=fo(c))):d=!1}d&&(a.set(c,h),o(h,c,i,s,a),a.delete(c)),Jn(t,n,h)}}(t,e,a,n,Bi,i,o);else{var l=i?i(Ao(t,a),s,a+"",t,e,o):r;l===r&&(l=s),Jn(t,a,l)}}),Ma)}function Fi(t,e){var n=t.length;if(n)return mo(e+=e<0?n:0,n)?t[e]:r}function zi(t,e,n){e=e.length?Me(e,(function(t){return Ws(t)?function(e){return xi(e,1===t.length?t[0]:t)}:t})):[nl];var i=-1;e=Me(e,Ye(oo()));var r=Ri(t,(function(t,n,r){var o=Me(e,(function(e){return e(t)}));return{criteria:o,index:++i,value:t}}));return function(t){var e=t.length;for(t.sort((function(t,e){return function(t,e,n){for(var i=-1,r=t.criteria,o=e.criteria,s=r.length,a=n.length;++i<s;){var l=Sr(r[i],o[i]);if(l)return i>=a?l:l*("desc"==n[i]?-1:1)}return t.index-e.index}(t,e,n)}));e--;)t[e]=t[e].value;return t}(r)}function Vi(t,e,n){for(var i=-1,r=e.length,o={};++i<r;){var s=e[i],a=xi(t,s);n(a,s)&&Ki(o,mr(s,t),a)}return o}function Wi(t,e,n,i){var r=i?Fe:Be,o=-1,s=e.length,a=t;for(t===e&&(e=Ar(e)),n&&(a=Me(t,Ye(n)));++o<s;)for(var l=0,c=e[o],u=n?n(c):c;(l=r(a,u,l,i))>-1;)a!==t&&Gt.call(a,l,1),Gt.call(t,l,1);return t}function Hi(t,e){for(var n=t?e.length:0,i=n-1;n--;){var r=e[n];if(n==i||r!==o){var o=r;mo(r)?Gt.call(t,r,1):lr(t,r)}}return t}function Ui(t,e){return t+pe(_n()*(e-t+1))}function qi(t,e){var n="";if(!t||e<1||e>h)return n;do{e%2&&(n+=t),(e=pe(e/2))&&(t+=t)}while(e);return n}function Gi(t,e){return Eo(ko(t,e,nl),t+"")}function Xi(t){return Yn(Ba(t))}function Yi(t,e){var n=Ba(t);return Lo(n,oi(e,0,n.length))}function Ki(t,e,n,i){if(!Qs(t))return t;for(var o=-1,s=(e=mr(e,t)).length,a=s-1,l=t;null!=l&&++o<s;){var c=Ro(e[o]),u=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(o!=a){var h=l[c];(u=i?i(h,c,l):r)===r&&(u=Qs(h)?h:mo(e[o+1])?[]:{})}Qn(l,c,u),l=l[c]}return t}var Zi=Tn?function(t,e){return Tn.set(t,e),t}:nl,Ji=te?function(t,e){return te(t,"toString",{configurable:!0,enumerable:!1,value:Qa(e),writable:!0})}:nl;function Qi(t){return Lo(Ba(t))}function tr(t,e,n){var r=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var s=i(o);++r<o;)s[r]=t[r+e];return s}function er(t,e){var n;return ui(t,(function(t,i,r){return!(n=e(t,i,r))})),!!n}function nr(t,e,n){var i=0,r=null==t?i:t.length;if("number"==typeof e&&e==e&&r<=2147483647){for(;i<r;){var o=i+r>>>1,s=t[o];null!==s&&!aa(s)&&(n?s<=e:s<e)?i=o+1:r=o}return r}return ir(t,e,nl,n)}function ir(t,e,n,i){var o=0,s=null==t?0:t.length;if(0===s)return 0;for(var a=(e=n(e))!=e,l=null===e,c=aa(e),u=e===r;o<s;){var h=pe((o+s)/2),d=n(t[h]),p=d!==r,f=null===d,g=d==d,m=aa(d);if(a)var v=i||g;else v=u?g&&(i||p):l?g&&p&&(i||!f):c?g&&p&&!f&&(i||!m):!f&&!m&&(i?d<=e:d<e);v?o=h+1:s=h}return vn(s,4294967294)}function rr(t,e){for(var n=-1,i=t.length,r=0,o=[];++n<i;){var s=t[n],a=e?e(s):s;if(!n||!Bs(a,l)){var l=a;o[r++]=0===s?0:s}}return o}function or(t){return"number"==typeof t?t:aa(t)?d:+t}function sr(t){if("string"==typeof t)return t;if(Ws(t))return Me(t,sr)+"";if(aa(t))return In?In.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function ar(t,e,n){var i=-1,r=Ee,o=t.length,s=!0,a=[],l=a;if(n)s=!1,r=Pe;else if(o>=200){var c=e?null:qr(t);if(c)return ln(c);s=!1,r=Ze,l=new qn}else l=e?[]:a;t:for(;++i<o;){var u=t[i],h=e?e(u):u;if(u=n||0!==u?u:0,s&&h==h){for(var d=l.length;d--;)if(l[d]===h)continue t;e&&l.push(h),a.push(u)}else r(l,h,n)||(l!==a&&l.push(h),a.push(u))}return a}function lr(t,e){return null==(t=Co(t,e=mr(e,t)))||delete t[Ro(Yo(e))]}function cr(t,e,n,i){return Ki(t,e,n(xi(t,e)),i)}function ur(t,e,n,i){for(var r=t.length,o=i?r:-1;(i?o--:++o<r)&&e(t[o],o,t););return n?tr(t,i?0:o,i?o+1:r):tr(t,i?o+1:0,i?r:o)}function hr(t,e){var n=t;return n instanceof Vn&&(n=n.value()),je(e,(function(t,e){return e.func.apply(e.thisArg,Le([t],e.args))}),n)}function dr(t,e,n){var r=t.length;if(r<2)return r?ar(t[0]):[];for(var o=-1,s=i(r);++o<r;)for(var a=t[o],l=-1;++l<r;)l!=o&&(s[o]=ci(s[o]||a,t[l],e,n));return ar(gi(s,1),e,n)}function pr(t,e,n){for(var i=-1,o=t.length,s=e.length,a={};++i<o;){var l=i<s?e[i]:r;n(a,t[i],l)}return a}function fr(t){return qs(t)?t:[]}function gr(t){return"function"==typeof t?t:nl}function mr(t,e){return Ws(t)?t:yo(t,e)?[t]:$o(va(t))}var vr=Gi;function yr(t,e,n){var i=t.length;return n=n===r?i:n,!e&&n>=i?t:tr(t,e,n)}var br=se||function(t){return he.clearTimeout(t)};function _r(t,e){if(e)return t.slice();var n=t.length,i=Wt?Wt(n):new t.constructor(n);return t.copy(i),i}function xr(t){var e=new t.constructor(t.byteLength);return new Vt(e).set(new Vt(t)),e}function wr(t,e){var n=e?xr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Sr(t,e){if(t!==e){var n=t!==r,i=null===t,o=t==t,s=aa(t),a=e!==r,l=null===e,c=e==e,u=aa(e);if(!l&&!u&&!s&&t>e||s&&a&&c&&!l&&!u||i&&a&&c||!n&&c||!o)return 1;if(!i&&!s&&!u&&t<e||u&&n&&o&&!i&&!s||l&&n&&o||!a&&o||!c)return-1}return 0}function kr(t,e,n,r){for(var o=-1,s=t.length,a=n.length,l=-1,c=e.length,u=mn(s-a,0),h=i(c+u),d=!r;++l<c;)h[l]=e[l];for(;++o<a;)(d||o<s)&&(h[n[o]]=t[o]);for(;u--;)h[l++]=t[o++];return h}function Cr(t,e,n,r){for(var o=-1,s=t.length,a=-1,l=n.length,c=-1,u=e.length,h=mn(s-l,0),d=i(h+u),p=!r;++o<h;)d[o]=t[o];for(var f=o;++c<u;)d[f+c]=e[c];for(;++a<l;)(p||o<s)&&(d[f+n[a]]=t[o++]);return d}function Ar(t,e){var n=-1,r=t.length;for(e||(e=i(r));++n<r;)e[n]=t[n];return e}function Or(t,e,n,i){var o=!n;n||(n={});for(var s=-1,a=e.length;++s<a;){var l=e[s],c=i?i(n[l],t[l],l,n,t):r;c===r&&(c=t[l]),o?ii(n,l,c):Qn(n,l,c)}return n}function Tr(t,e){return function(n,i){var r=Ws(n)?ke:ei,o=e?e():{};return r(n,t,oo(i,2),o)}}function Er(t){return Gi((function(e,n){var i=-1,o=n.length,s=o>1?n[o-1]:r,a=o>2?n[2]:r;for(s=t.length>3&&"function"==typeof s?(o--,s):r,a&&vo(n[0],n[1],a)&&(s=o<3?r:s,o=1),e=kt(e);++i<o;){var l=n[i];l&&t(e,l,i,s)}return e}))}function Pr(t,e){return function(n,i){if(null==n)return n;if(!Us(n))return t(n,i);for(var r=n.length,o=e?r:-1,s=kt(n);(e?o--:++o<r)&&!1!==i(s[o],o,s););return n}}function Mr(t){return function(e,n,i){for(var r=-1,o=kt(e),s=i(e),a=s.length;a--;){var l=s[t?a:++r];if(!1===n(o[l],l,o))break}return e}}function Lr(t){return function(e){var n=rn(e=va(e))?hn(e):r,i=n?n[0]:e.charAt(0),o=n?yr(n,1).join(""):e.slice(1);return i[t]()+o}}function jr(t){return function(e){return je(Ka(Va(e).replace(Kt,"")),t,"")}}function Dr(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Bn(t.prototype),i=t.apply(n,e);return Qs(i)?i:n}}function $r(t){return function(e,n,i){var o=kt(e);if(!Us(e)){var s=oo(n,3);e=Pa(e),n=function(t){return s(o[t],t,o)}}var a=t(e,n,i);return a>-1?o[s?e[a]:a]:r}}function Rr(t){return Qr((function(e){var n=e.length,i=n,s=zn.prototype.thru;for(t&&e.reverse();i--;){var a=e[i];if("function"!=typeof a)throw new Ot(o);if(s&&!l&&"wrapper"==io(a))var l=new zn([],!0)}for(i=l?i:n;++i<n;){var c=io(a=e[i]),u="wrapper"==c?no(a):r;l=u&&bo(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?l[io(u[0])].apply(l,u[3]):1==a.length&&bo(a)?l[c]():l.thru(a)}return function(){var t=arguments,i=t[0];if(l&&1==t.length&&Ws(i))return l.plant(i).value();for(var r=0,o=n?e[r].apply(this,t):i;++r<n;)o=e[r].call(this,o);return o}}))}function Ir(t,e,n,o,s,a,l,u,h,d){var p=e&c,f=1&e,g=2&e,m=24&e,v=512&e,y=g?r:Dr(t);return function c(){for(var b=arguments.length,_=i(b),x=b;x--;)_[x]=arguments[x];if(m)var w=ro(c),S=function(t,e){for(var n=t.length,i=0;n--;)t[n]===e&&++i;return i}(_,w);if(o&&(_=kr(_,o,s,m)),a&&(_=Cr(_,a,l,m)),b-=S,m&&b<d){var k=an(_,w);return Hr(t,e,Ir,c.placeholder,n,_,k,u,h,d-b)}var C=f?n:this,A=g?C[t]:t;return b=_.length,u?_=function(t,e){for(var n=t.length,i=vn(e.length,n),o=Ar(t);i--;){var s=e[i];t[i]=mo(s,n)?o[s]:r}return t}(_,u):v&&b>1&&_.reverse(),p&&h<b&&(_.length=h),this&&this!==he&&this instanceof c&&(A=y||Dr(A)),A.apply(C,_)}}function Nr(t,e){return function(n,i){return function(t,e,n,i){return yi(t,(function(t,r,o){e(i,n(t),r,o)})),i}(n,t,e(i),{})}}function Br(t,e){return function(n,i){var o;if(n===r&&i===r)return e;if(n!==r&&(o=n),i!==r){if(o===r)return i;"string"==typeof n||"string"==typeof i?(n=sr(n),i=sr(i)):(n=or(n),i=or(i)),o=t(n,i)}return o}}function Fr(t){return Qr((function(e){return e=Me(e,Ye(oo())),Gi((function(n){var i=this;return t(e,(function(t){return Se(t,i,n)}))}))}))}function zr(t,e){var n=(e=e===r?" ":sr(e)).length;if(n<2)return n?qi(e,t):e;var i=qi(e,de(t/un(e)));return rn(e)?yr(hn(i),0,t).join(""):i.slice(0,t)}function Vr(t){return function(e,n,o){return o&&"number"!=typeof o&&vo(e,n,o)&&(n=o=r),e=da(e),n===r?(n=e,e=0):n=da(n),function(t,e,n,r){for(var o=-1,s=mn(de((e-t)/(n||1)),0),a=i(s);s--;)a[r?s:++o]=t,t+=n;return a}(e,n,o=o===r?e<n?1:-1:da(o),t)}}function Wr(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=ga(e),n=ga(n)),t(e,n)}}function Hr(t,e,n,i,o,s,a,c,u,h){var d=8&e;e|=d?l:64,4&(e&=~(d?64:l))||(e&=-4);var p=[t,e,o,d?s:r,d?a:r,d?r:s,d?r:a,c,u,h],f=n.apply(r,p);return bo(t)&&Oo(f,p),f.placeholder=i,Po(f,t,e)}function Ur(t){var e=St[t];return function(t,n){if(t=ga(t),(n=null==n?0:vn(pa(n),292))&&Re(t)){var i=(va(t)+"e").split("e");return+((i=(va(e(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return e(t)}}var qr=Cn&&1/ln(new Cn([,-0]))[1]==u?function(t){return new Cn(t)}:al;function Gr(t){return function(e){var n=ho(e);return n==w?on(e):n==O?cn(e):function(t,e){return Me(e,(function(e){return[e,t[e]]}))}(e,t(e))}}function Xr(t,e,n,s,u,h,d,p){var f=2&e;if(!f&&"function"!=typeof t)throw new Ot(o);var g=s?s.length:0;if(g||(e&=-97,s=u=r),d=d===r?d:mn(pa(d),0),p=p===r?p:pa(p),g-=u?u.length:0,64&e){var m=s,v=u;s=u=r}var y=f?r:no(t),b=[t,e,n,s,u,m,v,h,d,p];if(y&&function(t,e){var n=t[1],i=e[1],r=n|i,o=r<131,s=i==c&&8==n||i==c&&256==n&&t[7].length<=e[8]||384==i&&e[7].length<=e[8]&&8==n;if(!o&&!s)return t;1&i&&(t[2]=e[2],r|=1&n?0:4);var l=e[3];if(l){var u=t[3];t[3]=u?kr(u,l,e[4]):l,t[4]=u?an(t[3],a):e[4]}(l=e[5])&&(u=t[5],t[5]=u?Cr(u,l,e[6]):l,t[6]=u?an(t[5],a):e[6]),(l=e[7])&&(t[7]=l),i&c&&(t[8]=null==t[8]?e[8]:vn(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=r}(b,y),t=b[0],e=b[1],n=b[2],s=b[3],u=b[4],!(p=b[9]=b[9]===r?f?0:t.length:mn(b[9]-g,0))&&24&e&&(e&=-25),e&&1!=e)_=8==e||16==e?function(t,e,n){var o=Dr(t);return function s(){for(var a=arguments.length,l=i(a),c=a,u=ro(s);c--;)l[c]=arguments[c];var h=a<3&&l[0]!==u&&l[a-1]!==u?[]:an(l,u);return(a-=h.length)<n?Hr(t,e,Ir,s.placeholder,r,l,h,r,r,n-a):Se(this&&this!==he&&this instanceof s?o:t,this,l)}}(t,e,p):e!=l&&33!=e||u.length?Ir.apply(r,b):function(t,e,n,r){var o=1&e,s=Dr(t);return function e(){for(var a=-1,l=arguments.length,c=-1,u=r.length,h=i(u+l),d=this&&this!==he&&this instanceof e?s:t;++c<u;)h[c]=r[c];for(;l--;)h[c++]=arguments[++a];return Se(d,o?n:this,h)}}(t,e,n,s);else var _=function(t,e,n){var i=1&e,r=Dr(t);return function e(){return(this&&this!==he&&this instanceof e?r:t).apply(i?n:this,arguments)}}(t,e,n);return Po((y?Zi:Oo)(_,b),t,e)}function Yr(t,e,n,i){return t===r||Bs(t,Pt[n])&&!jt.call(i,n)?e:t}function Kr(t,e,n,i,o,s){return Qs(t)&&Qs(e)&&(s.set(e,t),Bi(t,e,r,Kr,s),s.delete(e)),t}function Zr(t){return ia(t)?r:t}function Jr(t,e,n,i,o,s){var a=1&n,l=t.length,c=e.length;if(l!=c&&!(a&&c>l))return!1;var u=s.get(t),h=s.get(e);if(u&&h)return u==e&&h==t;var d=-1,p=!0,f=2&n?new qn:r;for(s.set(t,e),s.set(e,t);++d<l;){var g=t[d],m=e[d];if(i)var v=a?i(m,g,d,e,t,s):i(g,m,d,t,e,s);if(v!==r){if(v)continue;p=!1;break}if(f){if(!$e(e,(function(t,e){if(!Ze(f,e)&&(g===t||o(g,t,n,i,s)))return f.push(e)}))){p=!1;break}}else if(g!==m&&!o(g,m,n,i,s)){p=!1;break}}return s.delete(t),s.delete(e),p}function Qr(t){return Eo(ko(t,r,Ho),t+"")}function to(t){return wi(t,Pa,co)}function eo(t){return wi(t,Ma,uo)}var no=Tn?function(t){return Tn.get(t)}:al;function io(t){for(var e=t.name+"",n=En[e],i=jt.call(En,e)?n.length:0;i--;){var r=n[i],o=r.func;if(null==o||o==t)return r.name}return e}function ro(t){return(jt.call(Nn,"placeholder")?Nn:t).placeholder}function oo(){var t=Nn.iteratee||il;return t=t===il?ji:t,arguments.length?t(arguments[0],arguments[1]):t}function so(t,e){var n,i,r=t.__data__;return("string"==(i=typeof(n=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof e?"string":"hash"]:r.map}function ao(t){for(var e=Pa(t),n=e.length;n--;){var i=e[n],r=t[i];e[n]=[i,r,wo(r)]}return e}function lo(t,e){var n=function(t,e){return null==t?r:t[e]}(t,e);return Li(n)?n:r}var co=ge?function(t){return null==t?[]:(t=kt(t),Te(ge(t),(function(e){return qt.call(t,e)})))}:fl,uo=ge?function(t){for(var e=[];t;)Le(e,co(t)),t=Ht(t);return e}:fl,ho=Si;function po(t,e,n){for(var i=-1,r=(e=mr(e,t)).length,o=!1;++i<r;){var s=Ro(e[i]);if(!(o=null!=t&&n(t,s)))break;t=t[s]}return o||++i!=r?o:!!(r=null==t?0:t.length)&&Js(r)&&mo(s,r)&&(Ws(t)||Vs(t))}function fo(t){return"function"!=typeof t.constructor||xo(t)?{}:Bn(Ht(t))}function go(t){return Ws(t)||Vs(t)||!!(Xt&&t&&t[Xt])}function mo(t,e){var n=typeof t;return!!(e=null==e?h:e)&&("number"==n||"symbol"!=n&&vt.test(t))&&t>-1&&t%1==0&&t<e}function vo(t,e,n){if(!Qs(n))return!1;var i=typeof e;return!!("number"==i?Us(n)&&mo(e,n.length):"string"==i&&e in n)&&Bs(n[e],t)}function yo(t,e){if(Ws(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!aa(t))||Q.test(t)||!J.test(t)||null!=e&&t in kt(e)}function bo(t){var e=io(t),n=Nn[e];if("function"!=typeof n||!(e in Vn.prototype))return!1;if(t===n)return!0;var i=no(n);return!!i&&t===i[0]}(wn&&ho(new wn(new ArrayBuffer(1)))!=L||Sn&&ho(new Sn)!=w||kn&&ho(kn.resolve())!=C||Cn&&ho(new Cn)!=O||An&&ho(new An)!=P)&&(ho=function(t){var e=Si(t),n=e==k?t.constructor:r,i=n?Io(n):"";if(i)switch(i){case Pn:return L;case Mn:return w;case Ln:return C;case jn:return O;case Dn:return P}return e});var _o=Mt?Ks:gl;function xo(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Pt)}function wo(t){return t==t&&!Qs(t)}function So(t,e){return function(n){return null!=n&&n[t]===e&&(e!==r||t in kt(n))}}function ko(t,e,n){return e=mn(e===r?t.length-1:e,0),function(){for(var r=arguments,o=-1,s=mn(r.length-e,0),a=i(s);++o<s;)a[o]=r[e+o];o=-1;for(var l=i(e+1);++o<e;)l[o]=r[o];return l[e]=n(a),Se(t,this,l)}}function Co(t,e){return e.length<2?t:xi(t,tr(e,0,-1))}function Ao(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var Oo=Mo(Zi),To=ue||function(t,e){return he.setTimeout(t,e)},Eo=Mo(Ji);function Po(t,e,n){var i=e+"";return Eo(t,function(t,e){var n=e.length;if(!n)return t;var i=n-1;return e[i]=(n>1?"& ":"")+e[i],e=e.join(n>2?", ":" "),t.replace(ot,"{\n/* [wrapped with "+e+"] */\n")}(i,function(t,e){return Ce(f,(function(n){var i="_."+n[0];e&n[1]&&!Ee(t,i)&&t.push(i)})),t.sort()}(function(t){var e=t.match(st);return e?e[1].split(at):[]}(i),n)))}function Mo(t){var e=0,n=0;return function(){var i=yn(),o=16-(i-n);if(n=i,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(r,arguments)}}function Lo(t,e){var n=-1,i=t.length,o=i-1;for(e=e===r?i:e;++n<e;){var s=Ui(n,o),a=t[s];t[s]=t[n],t[n]=a}return t.length=e,t}var jo,Do,$o=(jo=js((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(tt,(function(t,n,i,r){e.push(i?r.replace(ut,"$1"):n||t)})),e}),(function(t){return 500===Do.size&&Do.clear(),t})),Do=jo.cache,jo);function Ro(t){if("string"==typeof t||aa(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Io(t){if(null!=t){try{return Lt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function No(t){if(t instanceof Vn)return t.clone();var e=new zn(t.__wrapped__,t.__chain__);return e.__actions__=Ar(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Bo=Gi((function(t,e){return qs(t)?ci(t,gi(e,1,qs,!0)):[]})),Fo=Gi((function(t,e){var n=Yo(e);return qs(n)&&(n=r),qs(t)?ci(t,gi(e,1,qs,!0),oo(n,2)):[]})),zo=Gi((function(t,e){var n=Yo(e);return qs(n)&&(n=r),qs(t)?ci(t,gi(e,1,qs,!0),r,n):[]}));function Vo(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:pa(n);return r<0&&(r=mn(i+r,0)),Ne(t,oo(e,3),r)}function Wo(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var o=i-1;return n!==r&&(o=pa(n),o=n<0?mn(i+o,0):vn(o,i-1)),Ne(t,oo(e,3),o,!0)}function Ho(t){return null!=t&&t.length?gi(t,1):[]}function Uo(t){return t&&t.length?t[0]:r}var qo=Gi((function(t){var e=Me(t,fr);return e.length&&e[0]===t[0]?Oi(e):[]})),Go=Gi((function(t){var e=Yo(t),n=Me(t,fr);return e===Yo(n)?e=r:n.pop(),n.length&&n[0]===t[0]?Oi(n,oo(e,2)):[]})),Xo=Gi((function(t){var e=Yo(t),n=Me(t,fr);return(e="function"==typeof e?e:r)&&n.pop(),n.length&&n[0]===t[0]?Oi(n,r,e):[]}));function Yo(t){var e=null==t?0:t.length;return e?t[e-1]:r}var Ko=Gi(Zo);function Zo(t,e){return t&&t.length&&e&&e.length?Wi(t,e):t}var Jo=Qr((function(t,e){var n=null==t?0:t.length,i=ri(t,e);return Hi(t,Me(e,(function(t){return mo(t,n)?+t:t})).sort(Sr)),i}));function Qo(t){return null==t?t:xn.call(t)}var ts=Gi((function(t){return ar(gi(t,1,qs,!0))})),es=Gi((function(t){var e=Yo(t);return qs(e)&&(e=r),ar(gi(t,1,qs,!0),oo(e,2))})),ns=Gi((function(t){var e=Yo(t);return e="function"==typeof e?e:r,ar(gi(t,1,qs,!0),r,e)}));function is(t){if(!t||!t.length)return[];var e=0;return t=Te(t,(function(t){if(qs(t))return e=mn(t.length,e),!0})),Ge(e,(function(e){return Me(t,We(e))}))}function rs(t,e){if(!t||!t.length)return[];var n=is(t);return null==e?n:Me(n,(function(t){return Se(e,r,t)}))}var os=Gi((function(t,e){return qs(t)?ci(t,e):[]})),ss=Gi((function(t){return dr(Te(t,qs))})),as=Gi((function(t){var e=Yo(t);return qs(e)&&(e=r),dr(Te(t,qs),oo(e,2))})),ls=Gi((function(t){var e=Yo(t);return e="function"==typeof e?e:r,dr(Te(t,qs),r,e)})),cs=Gi(is),us=Gi((function(t){var e=t.length,n=e>1?t[e-1]:r;return n="function"==typeof n?(t.pop(),n):r,rs(t,n)}));function hs(t){var e=Nn(t);return e.__chain__=!0,e}function ds(t,e){return e(t)}var ps=Qr((function(t){var e=t.length,n=e?t[0]:0,i=this.__wrapped__,o=function(e){return ri(e,t)};return!(e>1||this.__actions__.length)&&i instanceof Vn&&mo(n)?((i=i.slice(n,+n+(e?1:0))).__actions__.push({func:ds,args:[o],thisArg:r}),new zn(i,this.__chain__).thru((function(t){return e&&!t.length&&t.push(r),t}))):this.thru(o)})),fs=Tr((function(t,e,n){jt.call(t,n)?++t[n]:ii(t,n,1)})),gs=$r(Vo),ms=$r(Wo);function vs(t,e){return(Ws(t)?Ce:ui)(t,oo(e,3))}function ys(t,e){return(Ws(t)?Ae:hi)(t,oo(e,3))}var bs=Tr((function(t,e,n){jt.call(t,n)?t[n].push(e):ii(t,n,[e])})),_s=Gi((function(t,e,n){var r=-1,o="function"==typeof e,s=Us(t)?i(t.length):[];return ui(t,(function(t){s[++r]=o?Se(e,t,n):Ti(t,e,n)})),s})),xs=Tr((function(t,e,n){ii(t,n,e)}));function ws(t,e){return(Ws(t)?Me:Ri)(t,oo(e,3))}var Ss=Tr((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]})),ks=Gi((function(t,e){if(null==t)return[];var n=e.length;return n>1&&vo(t,e[0],e[1])?e=[]:n>2&&vo(e[0],e[1],e[2])&&(e=[e[0]]),zi(t,gi(e,1),[])})),Cs=ce||function(){return he.Date.now()};function As(t,e,n){return e=n?r:e,e=t&&null==e?t.length:e,Xr(t,c,r,r,r,r,e)}function Os(t,e){var n;if("function"!=typeof e)throw new Ot(o);return t=pa(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=r),n}}var Ts=Gi((function(t,e,n){var i=1;if(n.length){var r=an(n,ro(Ts));i|=l}return Xr(t,i,e,n,r)})),Es=Gi((function(t,e,n){var i=3;if(n.length){var r=an(n,ro(Es));i|=l}return Xr(e,i,t,n,r)}));function Ps(t,e,n){var i,s,a,l,c,u,h=0,d=!1,p=!1,f=!0;if("function"!=typeof t)throw new Ot(o);function g(e){var n=i,o=s;return i=s=r,h=e,l=t.apply(o,n)}function m(t){var n=t-u;return u===r||n>=e||n<0||p&&t-h>=a}function v(){var t=Cs();if(m(t))return y(t);c=To(v,function(t){var n=e-(t-u);return p?vn(n,a-(t-h)):n}(t))}function y(t){return c=r,f&&i?g(t):(i=s=r,l)}function b(){var t=Cs(),n=m(t);if(i=arguments,s=this,u=t,n){if(c===r)return function(t){return h=t,c=To(v,e),d?g(t):l}(u);if(p)return br(c),c=To(v,e),g(u)}return c===r&&(c=To(v,e)),l}return e=ga(e)||0,Qs(n)&&(d=!!n.leading,a=(p="maxWait"in n)?mn(ga(n.maxWait)||0,e):a,f="trailing"in n?!!n.trailing:f),b.cancel=function(){c!==r&&br(c),h=0,i=u=s=c=r},b.flush=function(){return c===r?l:y(Cs())},b}var Ms=Gi((function(t,e){return li(t,1,e)})),Ls=Gi((function(t,e,n){return li(t,ga(e)||0,n)}));function js(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new Ot(o);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var s=t.apply(this,i);return n.cache=o.set(r,s)||o,s};return n.cache=new(js.Cache||Un),n}function Ds(t){if("function"!=typeof t)throw new Ot(o);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}js.Cache=Un;var $s=vr((function(t,e){var n=(e=1==e.length&&Ws(e[0])?Me(e[0],Ye(oo())):Me(gi(e,1),Ye(oo()))).length;return Gi((function(i){for(var r=-1,o=vn(i.length,n);++r<o;)i[r]=e[r].call(this,i[r]);return Se(t,this,i)}))})),Rs=Gi((function(t,e){var n=an(e,ro(Rs));return Xr(t,l,r,e,n)})),Is=Gi((function(t,e){var n=an(e,ro(Is));return Xr(t,64,r,e,n)})),Ns=Qr((function(t,e){return Xr(t,256,r,r,r,e)}));function Bs(t,e){return t===e||t!=t&&e!=e}var Fs=Wr(ki),zs=Wr((function(t,e){return t>=e})),Vs=Ei(function(){return arguments}())?Ei:function(t){return ta(t)&&jt.call(t,"callee")&&!qt.call(t,"callee")},Ws=i.isArray,Hs=ve?Ye(ve):function(t){return ta(t)&&Si(t)==M};function Us(t){return null!=t&&Js(t.length)&&!Ks(t)}function qs(t){return ta(t)&&Us(t)}var Gs=me||gl,Xs=ye?Ye(ye):function(t){return ta(t)&&Si(t)==y};function Ys(t){if(!ta(t))return!1;var e=Si(t);return e==b||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!ia(t)}function Ks(t){if(!Qs(t))return!1;var e=Si(t);return e==_||e==x||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Zs(t){return"number"==typeof t&&t==pa(t)}function Js(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=h}function Qs(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function ta(t){return null!=t&&"object"==typeof t}var ea=be?Ye(be):function(t){return ta(t)&&ho(t)==w};function na(t){return"number"==typeof t||ta(t)&&Si(t)==S}function ia(t){if(!ta(t)||Si(t)!=k)return!1;var e=Ht(t);if(null===e)return!0;var n=jt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Lt.call(n)==It}var ra=_e?Ye(_e):function(t){return ta(t)&&Si(t)==A},oa=xe?Ye(xe):function(t){return ta(t)&&ho(t)==O};function sa(t){return"string"==typeof t||!Ws(t)&&ta(t)&&Si(t)==T}function aa(t){return"symbol"==typeof t||ta(t)&&Si(t)==E}var la=we?Ye(we):function(t){return ta(t)&&Js(t.length)&&!!re[Si(t)]},ca=Wr($i),ua=Wr((function(t,e){return t<=e}));function ha(t){if(!t)return[];if(Us(t))return sa(t)?hn(t):Ar(t);if(Yt&&t[Yt])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Yt]());var e=ho(t);return(e==w?on:e==O?ln:Ba)(t)}function da(t){return t?(t=ga(t))===u||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function pa(t){var e=da(t),n=e%1;return e==e?n?e-n:e:0}function fa(t){return t?oi(pa(t),0,p):0}function ga(t){if("number"==typeof t)return t;if(aa(t))return d;if(Qs(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Qs(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Xe(t);var n=ft.test(t);return n||mt.test(t)?le(t.slice(2),n?2:8):pt.test(t)?d:+t}function ma(t){return Or(t,Ma(t))}function va(t){return null==t?"":sr(t)}var ya=Er((function(t,e){if(xo(e)||Us(e))Or(e,Pa(e),t);else for(var n in e)jt.call(e,n)&&Qn(t,n,e[n])})),ba=Er((function(t,e){Or(e,Ma(e),t)})),_a=Er((function(t,e,n,i){Or(e,Ma(e),t,i)})),xa=Er((function(t,e,n,i){Or(e,Pa(e),t,i)})),wa=Qr(ri),Sa=Gi((function(t,e){t=kt(t);var n=-1,i=e.length,o=i>2?e[2]:r;for(o&&vo(e[0],e[1],o)&&(i=1);++n<i;)for(var s=e[n],a=Ma(s),l=-1,c=a.length;++l<c;){var u=a[l],h=t[u];(h===r||Bs(h,Pt[u])&&!jt.call(t,u))&&(t[u]=s[u])}return t})),ka=Gi((function(t){return t.push(r,Kr),Se(ja,r,t)}));function Ca(t,e,n){var i=null==t?r:xi(t,e);return i===r?n:i}function Aa(t,e){return null!=t&&po(t,e,Ai)}var Oa=Nr((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Rt.call(e)),t[e]=n}),Qa(nl)),Ta=Nr((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Rt.call(e)),jt.call(t,e)?t[e].push(n):t[e]=[n]}),oo),Ea=Gi(Ti);function Pa(t){return Us(t)?Xn(t):Di(t)}function Ma(t){return Us(t)?Xn(t,!0):function(t){if(!Qs(t))return function(t){var e=[];if(null!=t)for(var n in kt(t))e.push(n);return e}(t);var e=xo(t),n=[];for(var i in t)("constructor"!=i||!e&&jt.call(t,i))&&n.push(i);return n}(t)}var La=Er((function(t,e,n){Bi(t,e,n)})),ja=Er((function(t,e,n,i){Bi(t,e,n,i)})),Da=Qr((function(t,e){var n={};if(null==t)return n;var i=!1;e=Me(e,(function(e){return e=mr(e,t),i||(i=e.length>1),e})),Or(t,eo(t),n),i&&(n=si(n,7,Zr));for(var r=e.length;r--;)lr(n,e[r]);return n})),$a=Qr((function(t,e){return null==t?{}:function(t,e){return Vi(t,e,(function(e,n){return Aa(t,n)}))}(t,e)}));function Ra(t,e){if(null==t)return{};var n=Me(eo(t),(function(t){return[t]}));return e=oo(e),Vi(t,n,(function(t,n){return e(t,n[0])}))}var Ia=Gr(Pa),Na=Gr(Ma);function Ba(t){return null==t?[]:Ke(t,Pa(t))}var Fa=jr((function(t,e,n){return e=e.toLowerCase(),t+(n?za(e):e)}));function za(t){return Ya(va(t).toLowerCase())}function Va(t){return(t=va(t))&&t.replace(yt,tn).replace(Zt,"")}var Wa=jr((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Ha=jr((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Ua=Lr("toLowerCase"),qa=jr((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()})),Ga=jr((function(t,e,n){return t+(n?" ":"")+Ya(e)})),Xa=jr((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Ya=Lr("toUpperCase");function Ka(t,e,n){return t=va(t),(e=n?r:e)===r?function(t){return ee.test(t)}(t)?function(t){return t.match(Qt)||[]}(t):function(t){return t.match(lt)||[]}(t):t.match(e)||[]}var Za=Gi((function(t,e){try{return Se(t,r,e)}catch(t){return Ys(t)?t:new xt(t)}})),Ja=Qr((function(t,e){return Ce(e,(function(e){e=Ro(e),ii(t,e,Ts(t[e],t))})),t}));function Qa(t){return function(){return t}}var tl=Rr(),el=Rr(!0);function nl(t){return t}function il(t){return ji("function"==typeof t?t:si(t,1))}var rl=Gi((function(t,e){return function(n){return Ti(n,t,e)}})),ol=Gi((function(t,e){return function(n){return Ti(t,n,e)}}));function sl(t,e,n){var i=Pa(e),r=_i(e,i);null!=n||Qs(e)&&(r.length||!i.length)||(n=e,e=t,t=this,r=_i(e,Pa(e)));var o=!(Qs(n)&&"chain"in n&&!n.chain),s=Ks(t);return Ce(r,(function(n){var i=e[n];t[n]=i,s&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=Ar(this.__actions__)).push({func:i,args:arguments,thisArg:t}),n.__chain__=e,n}return i.apply(t,Le([this.value()],arguments))})})),t}function al(){}var ll=Fr(Me),cl=Fr(Oe),ul=Fr($e);function hl(t){return yo(t)?We(Ro(t)):function(t){return function(e){return xi(e,t)}}(t)}var dl=Vr(),pl=Vr(!0);function fl(){return[]}function gl(){return!1}var ml,vl=Br((function(t,e){return t+e}),0),yl=Ur("ceil"),bl=Br((function(t,e){return t/e}),1),_l=Ur("floor"),xl=Br((function(t,e){return t*e}),1),wl=Ur("round"),Sl=Br((function(t,e){return t-e}),0);return Nn.after=function(t,e){if("function"!=typeof e)throw new Ot(o);return t=pa(t),function(){if(--t<1)return e.apply(this,arguments)}},Nn.ary=As,Nn.assign=ya,Nn.assignIn=ba,Nn.assignInWith=_a,Nn.assignWith=xa,Nn.at=wa,Nn.before=Os,Nn.bind=Ts,Nn.bindAll=Ja,Nn.bindKey=Es,Nn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Ws(t)?t:[t]},Nn.chain=hs,Nn.chunk=function(t,e,n){e=(n?vo(t,e,n):e===r)?1:mn(pa(e),0);var o=null==t?0:t.length;if(!o||e<1)return[];for(var s=0,a=0,l=i(de(o/e));s<o;)l[a++]=tr(t,s,s+=e);return l},Nn.compact=function(t){for(var e=-1,n=null==t?0:t.length,i=0,r=[];++e<n;){var o=t[e];o&&(r[i++]=o)}return r},Nn.concat=function(){var t=arguments.length;if(!t)return[];for(var e=i(t-1),n=arguments[0],r=t;r--;)e[r-1]=arguments[r];return Le(Ws(n)?Ar(n):[n],gi(e,1))},Nn.cond=function(t){var e=null==t?0:t.length,n=oo();return t=e?Me(t,(function(t){if("function"!=typeof t[1])throw new Ot(o);return[n(t[0]),t[1]]})):[],Gi((function(n){for(var i=-1;++i<e;){var r=t[i];if(Se(r[0],this,n))return Se(r[1],this,n)}}))},Nn.conforms=function(t){return function(t){var e=Pa(t);return function(n){return ai(n,t,e)}}(si(t,1))},Nn.constant=Qa,Nn.countBy=fs,Nn.create=function(t,e){var n=Bn(t);return null==e?n:ni(n,e)},Nn.curry=function t(e,n,i){var o=Xr(e,8,r,r,r,r,r,n=i?r:n);return o.placeholder=t.placeholder,o},Nn.curryRight=function t(e,n,i){var o=Xr(e,16,r,r,r,r,r,n=i?r:n);return o.placeholder=t.placeholder,o},Nn.debounce=Ps,Nn.defaults=Sa,Nn.defaultsDeep=ka,Nn.defer=Ms,Nn.delay=Ls,Nn.difference=Bo,Nn.differenceBy=Fo,Nn.differenceWith=zo,Nn.drop=function(t,e,n){var i=null==t?0:t.length;return i?tr(t,(e=n||e===r?1:pa(e))<0?0:e,i):[]},Nn.dropRight=function(t,e,n){var i=null==t?0:t.length;return i?tr(t,0,(e=i-(e=n||e===r?1:pa(e)))<0?0:e):[]},Nn.dropRightWhile=function(t,e){return t&&t.length?ur(t,oo(e,3),!0,!0):[]},Nn.dropWhile=function(t,e){return t&&t.length?ur(t,oo(e,3),!0):[]},Nn.fill=function(t,e,n,i){var o=null==t?0:t.length;return o?(n&&"number"!=typeof n&&vo(t,e,n)&&(n=0,i=o),function(t,e,n,i){var o=t.length;for((n=pa(n))<0&&(n=-n>o?0:o+n),(i=i===r||i>o?o:pa(i))<0&&(i+=o),i=n>i?0:fa(i);n<i;)t[n++]=e;return t}(t,e,n,i)):[]},Nn.filter=function(t,e){return(Ws(t)?Te:fi)(t,oo(e,3))},Nn.flatMap=function(t,e){return gi(ws(t,e),1)},Nn.flatMapDeep=function(t,e){return gi(ws(t,e),u)},Nn.flatMapDepth=function(t,e,n){return n=n===r?1:pa(n),gi(ws(t,e),n)},Nn.flatten=Ho,Nn.flattenDeep=function(t){return null!=t&&t.length?gi(t,u):[]},Nn.flattenDepth=function(t,e){return null!=t&&t.length?gi(t,e=e===r?1:pa(e)):[]},Nn.flip=function(t){return Xr(t,512)},Nn.flow=tl,Nn.flowRight=el,Nn.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,i={};++e<n;){var r=t[e];i[r[0]]=r[1]}return i},Nn.functions=function(t){return null==t?[]:_i(t,Pa(t))},Nn.functionsIn=function(t){return null==t?[]:_i(t,Ma(t))},Nn.groupBy=bs,Nn.initial=function(t){return null!=t&&t.length?tr(t,0,-1):[]},Nn.intersection=qo,Nn.intersectionBy=Go,Nn.intersectionWith=Xo,Nn.invert=Oa,Nn.invertBy=Ta,Nn.invokeMap=_s,Nn.iteratee=il,Nn.keyBy=xs,Nn.keys=Pa,Nn.keysIn=Ma,Nn.map=ws,Nn.mapKeys=function(t,e){var n={};return e=oo(e,3),yi(t,(function(t,i,r){ii(n,e(t,i,r),t)})),n},Nn.mapValues=function(t,e){var n={};return e=oo(e,3),yi(t,(function(t,i,r){ii(n,i,e(t,i,r))})),n},Nn.matches=function(t){return Ii(si(t,1))},Nn.matchesProperty=function(t,e){return Ni(t,si(e,1))},Nn.memoize=js,Nn.merge=La,Nn.mergeWith=ja,Nn.method=rl,Nn.methodOf=ol,Nn.mixin=sl,Nn.negate=Ds,Nn.nthArg=function(t){return t=pa(t),Gi((function(e){return Fi(e,t)}))},Nn.omit=Da,Nn.omitBy=function(t,e){return Ra(t,Ds(oo(e)))},Nn.once=function(t){return Os(2,t)},Nn.orderBy=function(t,e,n,i){return null==t?[]:(Ws(e)||(e=null==e?[]:[e]),Ws(n=i?r:n)||(n=null==n?[]:[n]),zi(t,e,n))},Nn.over=ll,Nn.overArgs=$s,Nn.overEvery=cl,Nn.overSome=ul,Nn.partial=Rs,Nn.partialRight=Is,Nn.partition=Ss,Nn.pick=$a,Nn.pickBy=Ra,Nn.property=hl,Nn.propertyOf=function(t){return function(e){return null==t?r:xi(t,e)}},Nn.pull=Ko,Nn.pullAll=Zo,Nn.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Wi(t,e,oo(n,2)):t},Nn.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Wi(t,e,r,n):t},Nn.pullAt=Jo,Nn.range=dl,Nn.rangeRight=pl,Nn.rearg=Ns,Nn.reject=function(t,e){return(Ws(t)?Te:fi)(t,Ds(oo(e,3)))},Nn.remove=function(t,e){var n=[];if(!t||!t.length)return n;var i=-1,r=[],o=t.length;for(e=oo(e,3);++i<o;){var s=t[i];e(s,i,t)&&(n.push(s),r.push(i))}return Hi(t,r),n},Nn.rest=function(t,e){if("function"!=typeof t)throw new Ot(o);return Gi(t,e=e===r?e:pa(e))},Nn.reverse=Qo,Nn.sampleSize=function(t,e,n){return e=(n?vo(t,e,n):e===r)?1:pa(e),(Ws(t)?Kn:Yi)(t,e)},Nn.set=function(t,e,n){return null==t?t:Ki(t,e,n)},Nn.setWith=function(t,e,n,i){return i="function"==typeof i?i:r,null==t?t:Ki(t,e,n,i)},Nn.shuffle=function(t){return(Ws(t)?Zn:Qi)(t)},Nn.slice=function(t,e,n){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&vo(t,e,n)?(e=0,n=i):(e=null==e?0:pa(e),n=n===r?i:pa(n)),tr(t,e,n)):[]},Nn.sortBy=ks,Nn.sortedUniq=function(t){return t&&t.length?rr(t):[]},Nn.sortedUniqBy=function(t,e){return t&&t.length?rr(t,oo(e,2)):[]},Nn.split=function(t,e,n){return n&&"number"!=typeof n&&vo(t,e,n)&&(e=n=r),(n=n===r?p:n>>>0)?(t=va(t))&&("string"==typeof e||null!=e&&!ra(e))&&!(e=sr(e))&&rn(t)?yr(hn(t),0,n):t.split(e,n):[]},Nn.spread=function(t,e){if("function"!=typeof t)throw new Ot(o);return e=null==e?0:mn(pa(e),0),Gi((function(n){var i=n[e],r=yr(n,0,e);return i&&Le(r,i),Se(t,this,r)}))},Nn.tail=function(t){var e=null==t?0:t.length;return e?tr(t,1,e):[]},Nn.take=function(t,e,n){return t&&t.length?tr(t,0,(e=n||e===r?1:pa(e))<0?0:e):[]},Nn.takeRight=function(t,e,n){var i=null==t?0:t.length;return i?tr(t,(e=i-(e=n||e===r?1:pa(e)))<0?0:e,i):[]},Nn.takeRightWhile=function(t,e){return t&&t.length?ur(t,oo(e,3),!1,!0):[]},Nn.takeWhile=function(t,e){return t&&t.length?ur(t,oo(e,3)):[]},Nn.tap=function(t,e){return e(t),t},Nn.throttle=function(t,e,n){var i=!0,r=!0;if("function"!=typeof t)throw new Ot(o);return Qs(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Ps(t,e,{leading:i,maxWait:e,trailing:r})},Nn.thru=ds,Nn.toArray=ha,Nn.toPairs=Ia,Nn.toPairsIn=Na,Nn.toPath=function(t){return Ws(t)?Me(t,Ro):aa(t)?[t]:Ar($o(va(t)))},Nn.toPlainObject=ma,Nn.transform=function(t,e,n){var i=Ws(t),r=i||Gs(t)||la(t);if(e=oo(e,4),null==n){var o=t&&t.constructor;n=r?i?new o:[]:Qs(t)&&Ks(o)?Bn(Ht(t)):{}}return(r?Ce:yi)(t,(function(t,i,r){return e(n,t,i,r)})),n},Nn.unary=function(t){return As(t,1)},Nn.union=ts,Nn.unionBy=es,Nn.unionWith=ns,Nn.uniq=function(t){return t&&t.length?ar(t):[]},Nn.uniqBy=function(t,e){return t&&t.length?ar(t,oo(e,2)):[]},Nn.uniqWith=function(t,e){return e="function"==typeof e?e:r,t&&t.length?ar(t,r,e):[]},Nn.unset=function(t,e){return null==t||lr(t,e)},Nn.unzip=is,Nn.unzipWith=rs,Nn.update=function(t,e,n){return null==t?t:cr(t,e,gr(n))},Nn.updateWith=function(t,e,n,i){return i="function"==typeof i?i:r,null==t?t:cr(t,e,gr(n),i)},Nn.values=Ba,Nn.valuesIn=function(t){return null==t?[]:Ke(t,Ma(t))},Nn.without=os,Nn.words=Ka,Nn.wrap=function(t,e){return Rs(gr(e),t)},Nn.xor=ss,Nn.xorBy=as,Nn.xorWith=ls,Nn.zip=cs,Nn.zipObject=function(t,e){return pr(t||[],e||[],Qn)},Nn.zipObjectDeep=function(t,e){return pr(t||[],e||[],Ki)},Nn.zipWith=us,Nn.entries=Ia,Nn.entriesIn=Na,Nn.extend=ba,Nn.extendWith=_a,sl(Nn,Nn),Nn.add=vl,Nn.attempt=Za,Nn.camelCase=Fa,Nn.capitalize=za,Nn.ceil=yl,Nn.clamp=function(t,e,n){return n===r&&(n=e,e=r),n!==r&&(n=(n=ga(n))==n?n:0),e!==r&&(e=(e=ga(e))==e?e:0),oi(ga(t),e,n)},Nn.clone=function(t){return si(t,4)},Nn.cloneDeep=function(t){return si(t,5)},Nn.cloneDeepWith=function(t,e){return si(t,5,e="function"==typeof e?e:r)},Nn.cloneWith=function(t,e){return si(t,4,e="function"==typeof e?e:r)},Nn.conformsTo=function(t,e){return null==e||ai(t,e,Pa(e))},Nn.deburr=Va,Nn.defaultTo=function(t,e){return null==t||t!=t?e:t},Nn.divide=bl,Nn.endsWith=function(t,e,n){t=va(t),e=sr(e);var i=t.length,o=n=n===r?i:oi(pa(n),0,i);return(n-=e.length)>=0&&t.slice(n,o)==e},Nn.eq=Bs,Nn.escape=function(t){return(t=va(t))&&X.test(t)?t.replace(q,en):t},Nn.escapeRegExp=function(t){return(t=va(t))&&nt.test(t)?t.replace(et,"\\$&"):t},Nn.every=function(t,e,n){var i=Ws(t)?Oe:di;return n&&vo(t,e,n)&&(e=r),i(t,oo(e,3))},Nn.find=gs,Nn.findIndex=Vo,Nn.findKey=function(t,e){return Ie(t,oo(e,3),yi)},Nn.findLast=ms,Nn.findLastIndex=Wo,Nn.findLastKey=function(t,e){return Ie(t,oo(e,3),bi)},Nn.floor=_l,Nn.forEach=vs,Nn.forEachRight=ys,Nn.forIn=function(t,e){return null==t?t:mi(t,oo(e,3),Ma)},Nn.forInRight=function(t,e){return null==t?t:vi(t,oo(e,3),Ma)},Nn.forOwn=function(t,e){return t&&yi(t,oo(e,3))},Nn.forOwnRight=function(t,e){return t&&bi(t,oo(e,3))},Nn.get=Ca,Nn.gt=Fs,Nn.gte=zs,Nn.has=function(t,e){return null!=t&&po(t,e,Ci)},Nn.hasIn=Aa,Nn.head=Uo,Nn.identity=nl,Nn.includes=function(t,e,n,i){t=Us(t)?t:Ba(t),n=n&&!i?pa(n):0;var r=t.length;return n<0&&(n=mn(r+n,0)),sa(t)?n<=r&&t.indexOf(e,n)>-1:!!r&&Be(t,e,n)>-1},Nn.indexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:pa(n);return r<0&&(r=mn(i+r,0)),Be(t,e,r)},Nn.inRange=function(t,e,n){return e=da(e),n===r?(n=e,e=0):n=da(n),function(t,e,n){return t>=vn(e,n)&&t<mn(e,n)}(t=ga(t),e,n)},Nn.invoke=Ea,Nn.isArguments=Vs,Nn.isArray=Ws,Nn.isArrayBuffer=Hs,Nn.isArrayLike=Us,Nn.isArrayLikeObject=qs,Nn.isBoolean=function(t){return!0===t||!1===t||ta(t)&&Si(t)==v},Nn.isBuffer=Gs,Nn.isDate=Xs,Nn.isElement=function(t){return ta(t)&&1===t.nodeType&&!ia(t)},Nn.isEmpty=function(t){if(null==t)return!0;if(Us(t)&&(Ws(t)||"string"==typeof t||"function"==typeof t.splice||Gs(t)||la(t)||Vs(t)))return!t.length;var e=ho(t);if(e==w||e==O)return!t.size;if(xo(t))return!Di(t).length;for(var n in t)if(jt.call(t,n))return!1;return!0},Nn.isEqual=function(t,e){return Pi(t,e)},Nn.isEqualWith=function(t,e,n){var i=(n="function"==typeof n?n:r)?n(t,e):r;return i===r?Pi(t,e,r,n):!!i},Nn.isError=Ys,Nn.isFinite=function(t){return"number"==typeof t&&Re(t)},Nn.isFunction=Ks,Nn.isInteger=Zs,Nn.isLength=Js,Nn.isMap=ea,Nn.isMatch=function(t,e){return t===e||Mi(t,e,ao(e))},Nn.isMatchWith=function(t,e,n){return n="function"==typeof n?n:r,Mi(t,e,ao(e),n)},Nn.isNaN=function(t){return na(t)&&t!=+t},Nn.isNative=function(t){if(_o(t))throw new xt("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Li(t)},Nn.isNil=function(t){return null==t},Nn.isNull=function(t){return null===t},Nn.isNumber=na,Nn.isObject=Qs,Nn.isObjectLike=ta,Nn.isPlainObject=ia,Nn.isRegExp=ra,Nn.isSafeInteger=function(t){return Zs(t)&&t>=-9007199254740991&&t<=h},Nn.isSet=oa,Nn.isString=sa,Nn.isSymbol=aa,Nn.isTypedArray=la,Nn.isUndefined=function(t){return t===r},Nn.isWeakMap=function(t){return ta(t)&&ho(t)==P},Nn.isWeakSet=function(t){return ta(t)&&"[object WeakSet]"==Si(t)},Nn.join=function(t,e){return null==t?"":He.call(t,e)},Nn.kebabCase=Wa,Nn.last=Yo,Nn.lastIndexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var o=i;return n!==r&&(o=(o=pa(n))<0?mn(i+o,0):vn(o,i-1)),e==e?function(t,e,n){for(var i=n+1;i--;)if(t[i]===e)return i;return i}(t,e,o):Ne(t,ze,o,!0)},Nn.lowerCase=Ha,Nn.lowerFirst=Ua,Nn.lt=ca,Nn.lte=ua,Nn.max=function(t){return t&&t.length?pi(t,nl,ki):r},Nn.maxBy=function(t,e){return t&&t.length?pi(t,oo(e,2),ki):r},Nn.mean=function(t){return Ve(t,nl)},Nn.meanBy=function(t,e){return Ve(t,oo(e,2))},Nn.min=function(t){return t&&t.length?pi(t,nl,$i):r},Nn.minBy=function(t,e){return t&&t.length?pi(t,oo(e,2),$i):r},Nn.stubArray=fl,Nn.stubFalse=gl,Nn.stubObject=function(){return{}},Nn.stubString=function(){return""},Nn.stubTrue=function(){return!0},Nn.multiply=xl,Nn.nth=function(t,e){return t&&t.length?Fi(t,pa(e)):r},Nn.noConflict=function(){return he._===this&&(he._=Nt),this},Nn.noop=al,Nn.now=Cs,Nn.pad=function(t,e,n){t=va(t);var i=(e=pa(e))?un(t):0;if(!e||i>=e)return t;var r=(e-i)/2;return zr(pe(r),n)+t+zr(de(r),n)},Nn.padEnd=function(t,e,n){t=va(t);var i=(e=pa(e))?un(t):0;return e&&i<e?t+zr(e-i,n):t},Nn.padStart=function(t,e,n){t=va(t);var i=(e=pa(e))?un(t):0;return e&&i<e?zr(e-i,n)+t:t},Nn.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),bn(va(t).replace(it,""),e||0)},Nn.random=function(t,e,n){if(n&&"boolean"!=typeof n&&vo(t,e,n)&&(e=n=r),n===r&&("boolean"==typeof e?(n=e,e=r):"boolean"==typeof t&&(n=t,t=r)),t===r&&e===r?(t=0,e=1):(t=da(t),e===r?(e=t,t=0):e=da(e)),t>e){var i=t;t=e,e=i}if(n||t%1||e%1){var o=_n();return vn(t+o*(e-t+ae("1e-"+((o+"").length-1))),e)}return Ui(t,e)},Nn.reduce=function(t,e,n){var i=Ws(t)?je:Ue,r=arguments.length<3;return i(t,oo(e,4),n,r,ui)},Nn.reduceRight=function(t,e,n){var i=Ws(t)?De:Ue,r=arguments.length<3;return i(t,oo(e,4),n,r,hi)},Nn.repeat=function(t,e,n){return e=(n?vo(t,e,n):e===r)?1:pa(e),qi(va(t),e)},Nn.replace=function(){var t=arguments,e=va(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Nn.result=function(t,e,n){var i=-1,o=(e=mr(e,t)).length;for(o||(o=1,t=r);++i<o;){var s=null==t?r:t[Ro(e[i])];s===r&&(i=o,s=n),t=Ks(s)?s.call(t):s}return t},Nn.round=wl,Nn.runInContext=t,Nn.sample=function(t){return(Ws(t)?Yn:Xi)(t)},Nn.size=function(t){if(null==t)return 0;if(Us(t))return sa(t)?un(t):t.length;var e=ho(t);return e==w||e==O?t.size:Di(t).length},Nn.snakeCase=qa,Nn.some=function(t,e,n){var i=Ws(t)?$e:er;return n&&vo(t,e,n)&&(e=r),i(t,oo(e,3))},Nn.sortedIndex=function(t,e){return nr(t,e)},Nn.sortedIndexBy=function(t,e,n){return ir(t,e,oo(n,2))},Nn.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var i=nr(t,e);if(i<n&&Bs(t[i],e))return i}return-1},Nn.sortedLastIndex=function(t,e){return nr(t,e,!0)},Nn.sortedLastIndexBy=function(t,e,n){return ir(t,e,oo(n,2),!0)},Nn.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=nr(t,e,!0)-1;if(Bs(t[n],e))return n}return-1},Nn.startCase=Ga,Nn.startsWith=function(t,e,n){return t=va(t),n=null==n?0:oi(pa(n),0,t.length),e=sr(e),t.slice(n,n+e.length)==e},Nn.subtract=Sl,Nn.sum=function(t){return t&&t.length?qe(t,nl):0},Nn.sumBy=function(t,e){return t&&t.length?qe(t,oo(e,2)):0},Nn.template=function(t,e,n){var i=Nn.templateSettings;n&&vo(t,e,n)&&(e=r),t=va(t),e=_a({},e,i,Yr);var o,s,a=_a({},e.imports,i.imports,Yr),l=Pa(a),c=Ke(a,l),u=0,h=e.interpolate||bt,d="__p += '",p=Ct((e.escape||bt).source+"|"+h.source+"|"+(h===Z?ht:bt).source+"|"+(e.evaluate||bt).source+"|$","g"),f="//# sourceURL="+(jt.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ie+"]")+"\n";t.replace(p,(function(e,n,i,r,a,l){return i||(i=r),d+=t.slice(u,l).replace(_t,nn),n&&(o=!0,d+="' +\n__e("+n+") +\n'"),a&&(s=!0,d+="';\n"+a+";\n__p += '"),i&&(d+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),u=l+e.length,e})),d+="';\n";var g=jt.call(e,"variable")&&e.variable;if(g){if(ct.test(g))throw new xt("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(s?d.replace(V,""):d).replace(W,"$1").replace(H,"$1;"),d="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var m=Za((function(){return wt(l,f+"return "+d).apply(r,c)}));if(m.source=d,Ys(m))throw m;return m},Nn.times=function(t,e){if((t=pa(t))<1||t>h)return[];var n=p,i=vn(t,p);e=oo(e),t-=p;for(var r=Ge(i,e);++n<t;)e(n);return r},Nn.toFinite=da,Nn.toInteger=pa,Nn.toLength=fa,Nn.toLower=function(t){return va(t).toLowerCase()},Nn.toNumber=ga,Nn.toSafeInteger=function(t){return t?oi(pa(t),-9007199254740991,h):0===t?t:0},Nn.toString=va,Nn.toUpper=function(t){return va(t).toUpperCase()},Nn.trim=function(t,e,n){if((t=va(t))&&(n||e===r))return Xe(t);if(!t||!(e=sr(e)))return t;var i=hn(t),o=hn(e);return yr(i,Je(i,o),Qe(i,o)+1).join("")},Nn.trimEnd=function(t,e,n){if((t=va(t))&&(n||e===r))return t.slice(0,dn(t)+1);if(!t||!(e=sr(e)))return t;var i=hn(t);return yr(i,0,Qe(i,hn(e))+1).join("")},Nn.trimStart=function(t,e,n){if((t=va(t))&&(n||e===r))return t.replace(it,"");if(!t||!(e=sr(e)))return t;var i=hn(t);return yr(i,Je(i,hn(e))).join("")},Nn.truncate=function(t,e){var n=30,i="...";if(Qs(e)){var o="separator"in e?e.separator:o;n="length"in e?pa(e.length):n,i="omission"in e?sr(e.omission):i}var s=(t=va(t)).length;if(rn(t)){var a=hn(t);s=a.length}if(n>=s)return t;var l=n-un(i);if(l<1)return i;var c=a?yr(a,0,l).join(""):t.slice(0,l);if(o===r)return c+i;if(a&&(l+=c.length-l),ra(o)){if(t.slice(l).search(o)){var u,h=c;for(o.global||(o=Ct(o.source,va(dt.exec(o))+"g")),o.lastIndex=0;u=o.exec(h);)var d=u.index;c=c.slice(0,d===r?l:d)}}else if(t.indexOf(sr(o),l)!=l){var p=c.lastIndexOf(o);p>-1&&(c=c.slice(0,p))}return c+i},Nn.unescape=function(t){return(t=va(t))&&G.test(t)?t.replace(U,pn):t},Nn.uniqueId=function(t){var e=++Dt;return va(t)+e},Nn.upperCase=Xa,Nn.upperFirst=Ya,Nn.each=vs,Nn.eachRight=ys,Nn.first=Uo,sl(Nn,(ml={},yi(Nn,(function(t,e){jt.call(Nn.prototype,e)||(ml[e]=t)})),ml),{chain:!1}),Nn.VERSION="4.17.21",Ce(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Nn[t].placeholder=Nn})),Ce(["drop","take"],(function(t,e){Vn.prototype[t]=function(n){n=n===r?1:mn(pa(n),0);var i=this.__filtered__&&!e?new Vn(this):this.clone();return i.__filtered__?i.__takeCount__=vn(n,i.__takeCount__):i.__views__.push({size:vn(n,p),type:t+(i.__dir__<0?"Right":"")}),i},Vn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),Ce(["filter","map","takeWhile"],(function(t,e){var n=e+1,i=1==n||3==n;Vn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:oo(t,3),type:n}),e.__filtered__=e.__filtered__||i,e}})),Ce(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Vn.prototype[t]=function(){return this[n](1).value()[0]}})),Ce(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Vn.prototype[t]=function(){return this.__filtered__?new Vn(this):this[n](1)}})),Vn.prototype.compact=function(){return this.filter(nl)},Vn.prototype.find=function(t){return this.filter(t).head()},Vn.prototype.findLast=function(t){return this.reverse().find(t)},Vn.prototype.invokeMap=Gi((function(t,e){return"function"==typeof t?new Vn(this):this.map((function(n){return Ti(n,t,e)}))})),Vn.prototype.reject=function(t){return this.filter(Ds(oo(t)))},Vn.prototype.slice=function(t,e){t=pa(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Vn(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==r&&(n=(e=pa(e))<0?n.dropRight(-e):n.take(e-t)),n)},Vn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Vn.prototype.toArray=function(){return this.take(p)},yi(Vn.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),o=Nn[i?"take"+("last"==e?"Right":""):e],s=i||/^find/.test(e);o&&(Nn.prototype[e]=function(){var e=this.__wrapped__,a=i?[1]:arguments,l=e instanceof Vn,c=a[0],u=l||Ws(e),h=function(t){var e=o.apply(Nn,Le([t],a));return i&&d?e[0]:e};u&&n&&"function"==typeof c&&1!=c.length&&(l=u=!1);var d=this.__chain__,p=!!this.__actions__.length,f=s&&!d,g=l&&!p;if(!s&&u){e=g?e:new Vn(this);var m=t.apply(e,a);return m.__actions__.push({func:ds,args:[h],thisArg:r}),new zn(m,d)}return f&&g?t.apply(this,a):(m=this.thru(h),f?i?m.value()[0]:m.value():m)})})),Ce(["pop","push","shift","sort","splice","unshift"],(function(t){var e=Tt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);Nn.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var r=this.value();return e.apply(Ws(r)?r:[],t)}return this[n]((function(n){return e.apply(Ws(n)?n:[],t)}))}})),yi(Vn.prototype,(function(t,e){var n=Nn[e];if(n){var i=n.name+"";jt.call(En,i)||(En[i]=[]),En[i].push({name:e,func:n})}})),En[Ir(r,2).name]=[{name:"wrapper",func:r}],Vn.prototype.clone=function(){var t=new Vn(this.__wrapped__);return t.__actions__=Ar(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Ar(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Ar(this.__views__),t},Vn.prototype.reverse=function(){if(this.__filtered__){var t=new Vn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Vn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Ws(t),i=e<0,r=n?t.length:0,o=function(t,e,n){for(var i=-1,r=n.length;++i<r;){var o=n[i],s=o.size;switch(o.type){case"drop":t+=s;break;case"dropRight":e-=s;break;case"take":e=vn(e,t+s);break;case"takeRight":t=mn(t,e-s)}}return{start:t,end:e}}(0,r,this.__views__),s=o.start,a=o.end,l=a-s,c=i?a:s-1,u=this.__iteratees__,h=u.length,d=0,p=vn(l,this.__takeCount__);if(!n||!i&&r==l&&p==l)return hr(t,this.__actions__);var f=[];t:for(;l--&&d<p;){for(var g=-1,m=t[c+=e];++g<h;){var v=u[g],y=v.iteratee,b=v.type,_=y(m);if(2==b)m=_;else if(!_){if(1==b)continue t;break t}}f[d++]=m}return f},Nn.prototype.at=ps,Nn.prototype.chain=function(){return hs(this)},Nn.prototype.commit=function(){return new zn(this.value(),this.__chain__)},Nn.prototype.next=function(){this.__values__===r&&(this.__values__=ha(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?r:this.__values__[this.__index__++]}},Nn.prototype.plant=function(t){for(var e,n=this;n instanceof Fn;){var i=No(n);i.__index__=0,i.__values__=r,e?o.__wrapped__=i:e=i;var o=i;n=n.__wrapped__}return o.__wrapped__=t,e},Nn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Vn){var e=t;return this.__actions__.length&&(e=new Vn(this)),(e=e.reverse()).__actions__.push({func:ds,args:[Qo],thisArg:r}),new zn(e,this.__chain__)}return this.thru(Qo)},Nn.prototype.toJSON=Nn.prototype.valueOf=Nn.prototype.value=function(){return hr(this.__wrapped__,this.__actions__)},Nn.prototype.first=Nn.prototype.head,Yt&&(Nn.prototype[Yt]=function(){return this}),Nn}();he._=fn,(i=function(){return fn}.call(e,n,e,t))===r||(t.exports=i)}.call(this)},60:(t,e)=>{"use strict";e.A=(t,e)=>{const n=t.__vccOpts||t;for(const[t,i]of e)n[t]=i;return n}},817:(t,e,n)=>{var i=n(118);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals),(0,n(988).A)("654ad8fc",i,!1,{})},741:(t,e,n)=>{var i=n(66);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals),(0,n(988).A)("2e45517e",i,!1,{})},483:(t,e,n)=>{var i=n(644);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals),(0,n(988).A)("0a89daea",i,!1,{})},535:(t,e,n)=>{var i=n(656);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals),(0,n(988).A)("49c23e66",i,!1,{})},988:(t,e,n)=>{"use strict";function i(t,e){for(var n=[],i={},r=0;r<e.length;r++){var o=e[r],s=o[0],a={id:t+":"+r,css:o[1],media:o[2],sourceMap:o[3]};i[s]?i[s].parts.push(a):n.push(i[s]={id:s,parts:[a]})}return n}n.d(e,{A:()=>f});var r="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!r)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},s=r&&(document.head||document.getElementsByTagName("head")[0]),a=null,l=0,c=!1,u=function(){},h=null,d="data-vue-ssr-id",p="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(t,e,n,r){c=n,h=r||{};var s=i(t,e);return g(s),function(e){for(var n=[],r=0;r<s.length;r++){var a=s[r];(l=o[a.id]).refs--,n.push(l)}for(e?g(s=i(t,e)):s=[],r=0;r<n.length;r++){var l;if(0===(l=n[r]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete o[l.id]}}}}function g(t){for(var e=0;e<t.length;e++){var n=t[e],i=o[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(v(n.parts[r]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var s=[];for(r=0;r<n.parts.length;r++)s.push(v(n.parts[r]));o[n.id]={id:n.id,refs:1,parts:s}}}}function m(){var t=document.createElement("style");return t.type="text/css",s.appendChild(t),t}function v(t){var e,n,i=document.querySelector("style["+d+'~="'+t.id+'"]');if(i){if(c)return u;i.parentNode.removeChild(i)}if(p){var r=l++;i=a||(a=m()),e=_.bind(null,i,r,!1),n=_.bind(null,i,r,!0)}else i=m(),e=x.bind(null,i),n=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else n()}}var y,b=(y=[],function(t,e){return y[t]=e,y.filter(Boolean).join("\n")});function _(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=b(e,r);else{var o=document.createTextNode(r),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function x(t,e){var n=e.css,i=e.media,r=e.sourceMap;if(i&&t.setAttribute("media",i),h.ssrId&&t.setAttribute(d,e.id),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}}},e={};function n(i){var r=e[i];if(void 0!==r)return r.exports;var o=e[i]={id:i,loaded:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),(()=>{"use strict";var t={};n.r(t),n.d(t,{hasBrowserEnv:()=>Il,hasStandardBrowserEnv:()=>Bl,hasStandardBrowserWebWorkerEnv:()=>Fl,navigator:()=>Nl,origin:()=>zl});var e=n(743),i=n.n(e);function r(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return t=>t in e}const o={},s=[],a=()=>{},l=()=>!1,c=t=>111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),u=t=>t.startsWith("onUpdate:"),h=Object.assign,d=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},p=Object.prototype.hasOwnProperty,f=(t,e)=>p.call(t,e),g=Array.isArray,m=t=>"[object Map]"===C(t),v=t=>"[object Set]"===C(t),y=t=>"[object Date]"===C(t),b=t=>"function"==typeof t,_=t=>"string"==typeof t,x=t=>"symbol"==typeof t,w=t=>null!==t&&"object"==typeof t,S=t=>(w(t)||b(t))&&b(t.then)&&b(t.catch),k=Object.prototype.toString,C=t=>k.call(t),A=t=>"[object Object]"===C(t),O=t=>_(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,T=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),E=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},P=/-(\w)/g,M=E((t=>t.replace(P,((t,e)=>e?e.toUpperCase():"")))),L=/\B([A-Z])/g,j=E((t=>t.replace(L,"-$1").toLowerCase())),D=E((t=>t.charAt(0).toUpperCase()+t.slice(1))),$=E((t=>t?`on${D(t)}`:"")),R=(t,e)=>!Object.is(t,e),I=(t,...e)=>{for(let n=0;n<t.length;n++)t[n](...e)},N=(t,e,n,i=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:i,value:n})},B=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let F;const z=()=>F||(F="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{});function V(t){if(g(t)){const e={};for(let n=0;n<t.length;n++){const i=t[n],r=_(i)?q(i):V(i);if(r)for(const t in r)e[t]=r[t]}return e}if(_(t)||w(t))return t}const W=/;(?![^(]*\))/g,H=/:([^]+)/,U=/\/\*[^]*?\*\//g;function q(t){const e={};return t.replace(U,"").split(W).forEach((t=>{if(t){const n=t.split(H);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}function G(t){let e="";if(_(t))e=t;else if(g(t))for(let n=0;n<t.length;n++){const i=G(t[n]);i&&(e+=i+" ")}else if(w(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}function X(t){if(!t)return null;let{class:e,style:n}=t;return e&&!_(e)&&(t.class=G(e)),n&&(t.style=V(n)),t}const Y=r("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function K(t){return!!t||""===t}function Z(t,e){if(t===e)return!0;let n=y(t),i=y(e);if(n||i)return!(!n||!i)&&t.getTime()===e.getTime();if(n=x(t),i=x(e),n||i)return t===e;if(n=g(t),i=g(e),n||i)return!(!n||!i)&&function(t,e){if(t.length!==e.length)return!1;let n=!0;for(let i=0;n&&i<t.length;i++)n=Z(t[i],e[i]);return n}(t,e);if(n=w(t),i=w(e),n||i){if(!n||!i)return!1;if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t){const i=t.hasOwnProperty(n),r=e.hasOwnProperty(n);if(i&&!r||!i&&r||!Z(t[n],e[n]))return!1}}return String(t)===String(e)}function J(t,e){return t.findIndex((t=>Z(t,e)))}const Q=t=>!(!t||!0!==t.__v_isRef),tt=t=>_(t)?t:null==t?"":g(t)||w(t)&&(t.toString===k||!b(t.toString))?Q(t)?tt(t.value):JSON.stringify(t,et,2):String(t),et=(t,e)=>Q(e)?et(t,e.value):m(e)?{[`Map(${e.size})`]:[...e.entries()].reduce(((t,[e,n],i)=>(t[nt(e,i)+" =>"]=n,t)),{})}:v(e)?{[`Set(${e.size})`]:[...e.values()].map((t=>nt(t)))}:x(e)?nt(e):!w(e)||g(e)||A(e)?e:String(e),nt=(t,e="")=>{var n;return x(t)?`Symbol(${null!=(n=t.description)?n:e})`:t};let it,rt;class ot{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=it,!t&&it&&(this.index=(it.scopes||(it.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let t,e;if(this._isPaused=!0,this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].pause();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){let t,e;if(this._isPaused=!1,this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].resume();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].resume()}}run(t){if(this._active){const e=it;try{return it=this,t()}finally{it=e}}}on(){it=this}off(){it=this.parent}stop(t){if(this._active){let e,n;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].stop();for(e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){const t=this.parent.scopes.pop();t&&t!==this&&(this.parent.scopes[this.index]=t,t.index=this.index)}this.parent=void 0,this._active=!1}}}const st=new WeakSet;class at{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,it&&it.active&&it.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,st.has(this)&&(st.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||ut(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,St(this),pt(this);const t=rt,e=bt;rt=this,bt=!0;try{return this.fn()}finally{ft(this),rt=t,bt=e,this.flags&=-3}}stop(){if(1&this.flags){for(let t=this.deps;t;t=t.nextDep)vt(t);this.deps=this.depsTail=void 0,St(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?st.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){gt(this)&&this.run()}get dirty(){return gt(this)}}let lt,ct=0;function ut(t){t.flags|=8,t.next=lt,lt=t}function ht(){ct++}function dt(){if(--ct>0)return;let t;for(;lt;){let e,n=lt;for(;n;)n.flags&=-9,n=n.next;for(n=lt,lt=void 0;n;){if(1&n.flags)try{n.trigger()}catch(e){t||(t=e)}e=n.next,n.next=void 0,n=e}}if(t)throw t}function pt(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function ft(t){let e,n=t.depsTail,i=n;for(;i;){const t=i.prevDep;-1===i.version?(i===n&&(n=t),vt(i),yt(i)):e=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=t}t.deps=e,t.depsTail=n}function gt(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(mt(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function mt(t){if(4&t.flags&&!(16&t.flags))return;if(t.flags&=-17,t.globalVersion===kt)return;t.globalVersion=kt;const e=t.dep;if(t.flags|=2,e.version>0&&!t.isSSR&&t.deps&&!gt(t))return void(t.flags&=-3);const n=rt,i=bt;rt=t,bt=!0;try{pt(t);const n=t.fn(t._value);(0===e.version||R(n,t._value))&&(t._value=n,e.version++)}catch(t){throw e.version++,t}finally{rt=n,bt=i,ft(t),t.flags&=-3}}function vt(t,e=!1){const{dep:n,prevSub:i,nextSub:r}=t;if(i&&(i.nextSub=r,t.prevSub=void 0),r&&(r.prevSub=i,t.nextSub=void 0),n.subs===t&&(n.subs=i),!n.subs&&n.computed){n.computed.flags&=-5;for(let t=n.computed.deps;t;t=t.nextDep)vt(t,!0)}e||--n.sc||!n.map||n.map.delete(n.key)}function yt(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}let bt=!0;const _t=[];function xt(){_t.push(bt),bt=!1}function wt(){const t=_t.pop();bt=void 0===t||t}function St(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const t=rt;rt=void 0;try{e()}finally{rt=t}}}let kt=0;class Ct{constructor(t,e){this.sub=t,this.dep=e,this.version=e.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class At{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.target=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!rt||!bt||rt===this.computed)return;let e=this.activeLink;if(void 0===e||e.sub!==rt)e=this.activeLink=new Ct(rt,this),rt.deps?(e.prevDep=rt.depsTail,rt.depsTail.nextDep=e,rt.depsTail=e):rt.deps=rt.depsTail=e,Ot(e);else if(-1===e.version&&(e.version=this.version,e.nextDep)){const t=e.nextDep;t.prevDep=e.prevDep,e.prevDep&&(e.prevDep.nextDep=t),e.prevDep=rt.depsTail,e.nextDep=void 0,rt.depsTail.nextDep=e,rt.depsTail=e,rt.deps===e&&(rt.deps=t)}return e}trigger(t){this.version++,kt++,this.notify(t)}notify(t){ht();try{for(let t=this.subs;t;t=t.prevSub)t.sub.notify()&&t.sub.dep.notify()}finally{dt()}}}function Ot(t){if(t.dep.sc++,4&t.sub.flags){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let t=e.deps;t;t=t.nextDep)Ot(t)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const Tt=new WeakMap,Et=Symbol(""),Pt=Symbol(""),Mt=Symbol("");function Lt(t,e,n){if(bt&&rt){let e=Tt.get(t);e||Tt.set(t,e=new Map);let i=e.get(n);i||(e.set(n,i=new At),i.target=t,i.map=e,i.key=n),i.track()}}function jt(t,e,n,i,r,o){const s=Tt.get(t);if(!s)return void kt++;const a=t=>{t&&t.trigger()};if(ht(),"clear"===e)s.forEach(a);else{const r=g(t),o=r&&O(n);if(r&&"length"===n){const t=Number(i);s.forEach(((e,n)=>{("length"===n||n===Mt||!x(n)&&n>=t)&&a(e)}))}else switch(void 0!==n&&a(s.get(n)),o&&a(s.get(Mt)),e){case"add":r?o&&a(s.get("length")):(a(s.get(Et)),m(t)&&a(s.get(Pt)));break;case"delete":r||(a(s.get(Et)),m(t)&&a(s.get(Pt)));break;case"set":m(t)&&a(s.get(Et))}}dt()}function Dt(t){const e=Me(t);return e===t?e:(Lt(e,0,Mt),Ee(t)?e:e.map(je))}function $t(t){return Lt(t=Me(t),0,Mt),t}const Rt={__proto__:null,[Symbol.iterator](){return It(this,Symbol.iterator,je)},concat(...t){return Dt(this).concat(...t.map((t=>g(t)?Dt(t):t)))},entries(){return It(this,"entries",(t=>(t[1]=je(t[1]),t)))},every(t,e){return Bt(this,"every",t,e,void 0,arguments)},filter(t,e){return Bt(this,"filter",t,e,(t=>t.map(je)),arguments)},find(t,e){return Bt(this,"find",t,e,je,arguments)},findIndex(t,e){return Bt(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return Bt(this,"findLast",t,e,je,arguments)},findLastIndex(t,e){return Bt(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return Bt(this,"forEach",t,e,void 0,arguments)},includes(...t){return zt(this,"includes",t)},indexOf(...t){return zt(this,"indexOf",t)},join(t){return Dt(this).join(t)},lastIndexOf(...t){return zt(this,"lastIndexOf",t)},map(t,e){return Bt(this,"map",t,e,void 0,arguments)},pop(){return Vt(this,"pop")},push(...t){return Vt(this,"push",t)},reduce(t,...e){return Ft(this,"reduce",t,e)},reduceRight(t,...e){return Ft(this,"reduceRight",t,e)},shift(){return Vt(this,"shift")},some(t,e){return Bt(this,"some",t,e,void 0,arguments)},splice(...t){return Vt(this,"splice",t)},toReversed(){return Dt(this).toReversed()},toSorted(t){return Dt(this).toSorted(t)},toSpliced(...t){return Dt(this).toSpliced(...t)},unshift(...t){return Vt(this,"unshift",t)},values(){return It(this,"values",je)}};function It(t,e,n){const i=$t(t),r=i[e]();return i===t||Ee(t)||(r._next=r.next,r.next=()=>{const t=r._next();return t.value&&(t.value=n(t.value)),t}),r}const Nt=Array.prototype;function Bt(t,e,n,i,r,o){const s=$t(t),a=s!==t&&!Ee(t),l=s[e];if(l!==Nt[e]){const e=l.apply(t,o);return a?je(e):e}let c=n;s!==t&&(a?c=function(e,i){return n.call(this,je(e),i,t)}:n.length>2&&(c=function(e,i){return n.call(this,e,i,t)}));const u=l.call(s,c,i);return a&&r?r(u):u}function Ft(t,e,n,i){const r=$t(t);let o=n;return r!==t&&(Ee(t)?n.length>3&&(o=function(e,i,r){return n.call(this,e,i,r,t)}):o=function(e,i,r){return n.call(this,e,je(i),r,t)}),r[e](o,...i)}function zt(t,e,n){const i=Me(t);Lt(i,0,Mt);const r=i[e](...n);return-1!==r&&!1!==r||!Pe(n[0])?r:(n[0]=Me(n[0]),i[e](...n))}function Vt(t,e,n=[]){xt(),ht();const i=Me(t)[e].apply(t,n);return dt(),wt(),i}const Wt=r("__proto__,__v_isRef,__isVue"),Ht=new Set(Object.getOwnPropertyNames(Symbol).filter((t=>"arguments"!==t&&"caller"!==t)).map((t=>Symbol[t])).filter(x));function Ut(t){x(t)||(t=String(t));const e=Me(this);return Lt(e,0,t),e.hasOwnProperty(t)}class qt{constructor(t=!1,e=!1){this._isReadonly=t,this._isShallow=e}get(t,e,n){const i=this._isReadonly,r=this._isShallow;if("__v_isReactive"===e)return!i;if("__v_isReadonly"===e)return i;if("__v_isShallow"===e)return r;if("__v_raw"===e)return n===(i?r?we:xe:r?_e:be).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=g(t);if(!i){let t;if(o&&(t=Rt[e]))return t;if("hasOwnProperty"===e)return Ut}const s=Reflect.get(t,e,$e(t)?t:n);return(x(e)?Ht.has(e):Wt(e))?s:(i||Lt(t,0,e),r?s:$e(s)?o&&O(e)?s:s.value:w(s)?i?Ce(s):Se(s):s)}}class Gt extends qt{constructor(t=!1){super(!1,t)}set(t,e,n,i){let r=t[e];if(!this._isShallow){const e=Te(r);if(Ee(n)||Te(n)||(r=Me(r),n=Me(n)),!g(t)&&$e(r)&&!$e(n))return!e&&(r.value=n,!0)}const o=g(t)&&O(e)?Number(e)<t.length:f(t,e),s=Reflect.set(t,e,n,$e(t)?t:i);return t===Me(i)&&(o?R(n,r)&&jt(t,"set",e,n):jt(t,"add",e,n)),s}deleteProperty(t,e){const n=f(t,e),i=(t[e],Reflect.deleteProperty(t,e));return i&&n&&jt(t,"delete",e,void 0),i}has(t,e){const n=Reflect.has(t,e);return x(e)&&Ht.has(e)||Lt(t,0,e),n}ownKeys(t){return Lt(t,0,g(t)?"length":Et),Reflect.ownKeys(t)}}class Xt extends qt{constructor(t=!1){super(!0,t)}set(t,e){return!0}deleteProperty(t,e){return!0}}const Yt=new Gt,Kt=new Xt,Zt=new Gt(!0),Jt=t=>t,Qt=t=>Reflect.getPrototypeOf(t);function te(t,e,n=!1,i=!1){const r=Me(t=t.__v_raw),o=Me(e);n||(R(e,o)&&Lt(r,0,e),Lt(r,0,o));const{has:s}=Qt(r),a=i?Jt:n?De:je;return s.call(r,e)?a(t.get(e)):s.call(r,o)?a(t.get(o)):void(t!==r&&t.get(e))}function ee(t,e=!1){const n=this.__v_raw,i=Me(n),r=Me(t);return e||(R(t,r)&&Lt(i,0,t),Lt(i,0,r)),t===r?n.has(t):n.has(t)||n.has(r)}function ne(t,e=!1){return t=t.__v_raw,!e&&Lt(Me(t),0,Et),Reflect.get(t,"size",t)}function ie(t,e=!1){e||Ee(t)||Te(t)||(t=Me(t));const n=Me(this);return Qt(n).has.call(n,t)||(n.add(t),jt(n,"add",t,t)),this}function re(t,e,n=!1){n||Ee(e)||Te(e)||(e=Me(e));const i=Me(this),{has:r,get:o}=Qt(i);let s=r.call(i,t);s||(t=Me(t),s=r.call(i,t));const a=o.call(i,t);return i.set(t,e),s?R(e,a)&&jt(i,"set",t,e):jt(i,"add",t,e),this}function oe(t){const e=Me(this),{has:n,get:i}=Qt(e);let r=n.call(e,t);r||(t=Me(t),r=n.call(e,t)),i&&i.call(e,t);const o=e.delete(t);return r&&jt(e,"delete",t,void 0),o}function se(){const t=Me(this),e=0!==t.size,n=t.clear();return e&&jt(t,"clear",void 0,void 0),n}function ae(t,e){return function(n,i){const r=this,o=r.__v_raw,s=Me(o),a=e?Jt:t?De:je;return!t&&Lt(s,0,Et),o.forEach(((t,e)=>n.call(i,a(t),a(e),r)))}}function le(t,e,n){return function(...i){const r=this.__v_raw,o=Me(r),s=m(o),a="entries"===t||t===Symbol.iterator&&s,l="keys"===t&&s,c=r[t](...i),u=n?Jt:e?De:je;return!e&&Lt(o,0,l?Pt:Et),{next(){const{value:t,done:e}=c.next();return e?{value:t,done:e}:{value:a?[u(t[0]),u(t[1])]:u(t),done:e}},[Symbol.iterator](){return this}}}}function ce(t){return function(...e){return"delete"!==t&&("clear"===t?void 0:this)}}function ue(){const t={get(t){return te(this,t)},get size(){return ne(this)},has:ee,add:ie,set:re,delete:oe,clear:se,forEach:ae(!1,!1)},e={get(t){return te(this,t,!1,!0)},get size(){return ne(this)},has:ee,add(t){return ie.call(this,t,!0)},set(t,e){return re.call(this,t,e,!0)},delete:oe,clear:se,forEach:ae(!1,!0)},n={get(t){return te(this,t,!0)},get size(){return ne(this,!0)},has(t){return ee.call(this,t,!0)},add:ce("add"),set:ce("set"),delete:ce("delete"),clear:ce("clear"),forEach:ae(!0,!1)},i={get(t){return te(this,t,!0,!0)},get size(){return ne(this,!0)},has(t){return ee.call(this,t,!0)},add:ce("add"),set:ce("set"),delete:ce("delete"),clear:ce("clear"),forEach:ae(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{t[r]=le(r,!1,!1),n[r]=le(r,!0,!1),e[r]=le(r,!1,!0),i[r]=le(r,!0,!0)})),[t,n,e,i]}const[he,de,pe,fe]=ue();function ge(t,e){const n=e?t?fe:pe:t?de:he;return(e,i,r)=>"__v_isReactive"===i?!t:"__v_isReadonly"===i?t:"__v_raw"===i?e:Reflect.get(f(n,i)&&i in e?n:e,i,r)}const me={get:ge(!1,!1)},ve={get:ge(!1,!0)},ye={get:ge(!0,!1)},be=new WeakMap,_e=new WeakMap,xe=new WeakMap,we=new WeakMap;function Se(t){return Te(t)?t:Ae(t,!1,Yt,me,be)}function ke(t){return Ae(t,!1,Zt,ve,_e)}function Ce(t){return Ae(t,!0,Kt,ye,xe)}function Ae(t,e,n,i,r){if(!w(t))return t;if(t.__v_raw&&(!e||!t.__v_isReactive))return t;const o=r.get(t);if(o)return o;const s=(a=t).__v_skip||!Object.isExtensible(a)?0:function(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((t=>C(t).slice(8,-1))(a));var a;if(0===s)return t;const l=new Proxy(t,2===s?i:n);return r.set(t,l),l}function Oe(t){return Te(t)?Oe(t.__v_raw):!(!t||!t.__v_isReactive)}function Te(t){return!(!t||!t.__v_isReadonly)}function Ee(t){return!(!t||!t.__v_isShallow)}function Pe(t){return!!t&&!!t.__v_raw}function Me(t){const e=t&&t.__v_raw;return e?Me(e):t}function Le(t){return!f(t,"__v_skip")&&Object.isExtensible(t)&&N(t,"__v_skip",!0),t}const je=t=>w(t)?Se(t):t,De=t=>w(t)?Ce(t):t;function $e(t){return!!t&&!0===t.__v_isRef}function Re(t){return Ie(t,!1)}function Ie(t,e){return $e(t)?t:new Ne(t,e)}class Ne{constructor(t,e){this.dep=new At,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=e?t:Me(t),this._value=e?t:je(t),this.__v_isShallow=e}get value(){return this.dep.track(),this._value}set value(t){const e=this._rawValue,n=this.__v_isShallow||Ee(t)||Te(t);t=n?t:Me(t),R(t,e)&&(this._rawValue=t,this._value=n?t:je(t),this.dep.trigger())}}function Be(t){t.dep&&t.dep.trigger()}function Fe(t){return $e(t)?t.value:t}const ze={get:(t,e,n)=>"__v_raw"===e?t:Fe(Reflect.get(t,e,n)),set:(t,e,n,i)=>{const r=t[e];return $e(r)&&!$e(n)?(r.value=n,!0):Reflect.set(t,e,n,i)}};function Ve(t){return Oe(t)?t:new Proxy(t,ze)}function We(t){const e=g(t)?new Array(t.length):{};for(const n in t)e[n]=qe(t,n);return e}class He{constructor(t,e,n){this._object=t,this._key=e,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=void 0===t?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return function(t,e){const n=Tt.get(t);return n&&n.get(e)}(Me(this._object),this._key)}}class Ue{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function qe(t,e,n){const i=t[e];return $e(i)?i:new He(t,e,n)}class Ge{constructor(t,e,n){this.fn=t,this.setter=e,this._value=void 0,this.dep=new At(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=kt-1,this.effect=this,this.__v_isReadonly=!e,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags||rt===this))return ut(this),!0}get value(){const t=this.dep.track();return mt(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}const Xe={},Ye=new WeakMap;let Ke;function Ze(t,e=1/0,n){if(e<=0||!w(t)||t.__v_skip)return t;if((n=n||new Set).has(t))return t;if(n.add(t),e--,$e(t))Ze(t.value,e,n);else if(g(t))for(let i=0;i<t.length;i++)Ze(t[i],e,n);else if(v(t)||m(t))t.forEach((t=>{Ze(t,e,n)}));else if(A(t)){for(const i in t)Ze(t[i],e,n);for(const i of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,i)&&Ze(t[i],e,n)}return t}function Je(t,e,n,i){try{return i?t(...i):t()}catch(t){tn(t,e,n)}}function Qe(t,e,n,i){if(b(t)){const r=Je(t,e,n,i);return r&&S(r)&&r.catch((t=>{tn(t,e,n)})),r}if(g(t)){const r=[];for(let o=0;o<t.length;o++)r.push(Qe(t[o],e,n,i));return r}}function tn(t,e,n,i=!0){e&&e.vnode;const{errorHandler:r,throwUnhandledErrorInProduction:s}=e&&e.appContext.config||o;if(e){let i=e.parent;const o=e.proxy,s=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const e=i.ec;if(e)for(let n=0;n<e.length;n++)if(!1===e[n](t,o,s))return;i=i.parent}if(r)return xt(),Je(r,null,10,[t,o,s]),void wt()}!function(t,e,n,i=!0,r=!1){if(r)throw t;console.error(t)}(t,0,0,i,s)}let en=!1,nn=!1;const rn=[];let on=0;const sn=[];let an=null,ln=0;const cn=Promise.resolve();let un=null;function hn(t){const e=un||cn;return t?e.then(this?t.bind(this):t):e}function dn(t){if(!(1&t.flags)){const e=mn(t),n=rn[rn.length-1];!n||!(2&t.flags)&&e>=mn(n)?rn.push(t):rn.splice(function(t){let e=en?on+1:0,n=rn.length;for(;e<n;){const i=e+n>>>1,r=rn[i],o=mn(r);o<t||o===t&&2&r.flags?e=i+1:n=i}return e}(e),0,t),t.flags|=1,pn()}}function pn(){en||nn||(nn=!0,un=cn.then(vn))}function fn(t,e,n=(en?on+1:0)){for(;n<rn.length;n++){const e=rn[n];if(e&&2&e.flags){if(t&&e.id!==t.uid)continue;rn.splice(n,1),n--,4&e.flags&&(e.flags&=-2),e(),4&e.flags||(e.flags&=-2)}}}function gn(t){if(sn.length){const t=[...new Set(sn)].sort(((t,e)=>mn(t)-mn(e)));if(sn.length=0,an)return void an.push(...t);for(an=t,ln=0;ln<an.length;ln++){const t=an[ln];4&t.flags&&(t.flags&=-2),8&t.flags||t(),t.flags&=-2}an=null,ln=0}}const mn=t=>null==t.id?2&t.flags?-1:1/0:t.id;function vn(t){nn=!1,en=!0;try{for(on=0;on<rn.length;on++){const t=rn[on];!t||8&t.flags||(4&t.flags&&(t.flags&=-2),Je(t,t.i,t.i?15:14),4&t.flags||(t.flags&=-2))}}finally{for(;on<rn.length;on++){const t=rn[on];t&&(t.flags&=-2)}on=0,rn.length=0,gn(),en=!1,un=null,(rn.length||sn.length)&&vn(t)}}let yn,bn=[],_n=!1;function xn(t,...e){yn?yn.emit(t,...e):_n||bn.push({event:t,args:e})}function wn(t,e){var n,i;yn=t,yn?(yn.enabled=!0,bn.forEach((({event:t,args:e})=>yn.emit(t,...e))),bn=[]):"undefined"!=typeof window&&window.HTMLElement&&!(null==(i=null==(n=window.navigator)?void 0:n.userAgent)?void 0:i.includes("jsdom"))?((e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((t=>{wn(t,e)})),setTimeout((()=>{yn||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,_n=!0,bn=[])}),3e3)):(_n=!0,bn=[])}const Sn=An("component:added"),kn=An("component:updated"),Cn=An("component:removed");function An(t){return e=>{xn(t,e.appContext.app,e.uid,e.parent?e.parent.uid:void 0,e)}}let On=null,Tn=null;function En(t){const e=On;return On=t,Tn=t&&t.type.__scopeId||null,e}function Pn(t){Tn=t}function Mn(){Tn=null}function Ln(t,e=On,n){if(!e)return t;if(t._n)return t;const i=(...n)=>{i._d&&qr(-1);const r=En(e);let o;try{o=t(...n)}finally{En(r),i._d&&qr(1)}return __VUE_PROD_DEVTOOLS__&&kn(e),o};return i._n=!0,i._c=!0,i._d=!0,i}function jn(t,e){if(null===On)return t;const n=To(On),i=t.dirs||(t.dirs=[]);for(let t=0;t<e.length;t++){let[r,s,a,l=o]=e[t];r&&(b(r)&&(r={mounted:r,updated:r}),r.deep&&Ze(s),i.push({dir:r,instance:n,value:s,oldValue:void 0,arg:a,modifiers:l}))}return t}function Dn(t,e,n,i){const r=t.dirs,o=e&&e.dirs;for(let s=0;s<r.length;s++){const a=r[s];o&&(a.oldValue=o[s].value);let l=a.dir[i];l&&(xt(),Qe(l,n,8,[t.el,a,t,e]),wt())}}const $n=Symbol("_vte"),Rn=t=>t.__isTeleport,In=Symbol("_leaveCb"),Nn=Symbol("_enterCb");const Bn=[Function,Array],Fn={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Bn,onEnter:Bn,onAfterEnter:Bn,onEnterCancelled:Bn,onBeforeLeave:Bn,onLeave:Bn,onAfterLeave:Bn,onLeaveCancelled:Bn,onBeforeAppear:Bn,onAppear:Bn,onAfterAppear:Bn,onAppearCancelled:Bn},zn=t=>{const e=t.subTree;return e.component?zn(e.component):e},Vn={name:"BaseTransition",props:Fn,setup(t,{slots:e}){const n=go(),i=function(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return di((()=>{t.isMounted=!0})),gi((()=>{t.isUnmounting=!0})),t}();return()=>{const r=e.default&&Kn(e.default(),!0);if(!r||!r.length)return;const o=Wn(r),s=Me(t),{mode:a}=s;if(i.isLeaving)return Gn(o);const l=Xn(o);if(!l)return Gn(o);let c=qn(l,s,i,n,(t=>c=t));l.type!==Fr&&Yn(l,c);const u=n.subTree,h=u&&Xn(u);if(h&&h.type!==Fr&&!Zr(l,h)&&zn(n).type!==Fr){const t=qn(h,s,i,n);if(Yn(h,t),"out-in"===a&&l.type!==Fr)return i.isLeaving=!0,t.afterLeave=()=>{i.isLeaving=!1,8&n.job.flags||n.update(),delete t.afterLeave},Gn(o);"in-out"===a&&l.type!==Fr&&(t.delayLeave=(t,e,n)=>{Un(i,h)[String(h.key)]=h,t[In]=()=>{e(),t[In]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return o}}};function Wn(t){let e=t[0];if(t.length>1){let n=!1;for(const i of t)if(i.type!==Fr){e=i,n=!0;break}}return e}const Hn=Vn;function Un(t,e){const{leavingVNodes:n}=t;let i=n.get(e.type);return i||(i=Object.create(null),n.set(e.type,i)),i}function qn(t,e,n,i,r){const{appear:o,mode:s,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:h,onBeforeLeave:d,onLeave:p,onAfterLeave:f,onLeaveCancelled:m,onBeforeAppear:v,onAppear:y,onAfterAppear:b,onAppearCancelled:_}=e,x=String(t.key),w=Un(n,t),S=(t,e)=>{t&&Qe(t,i,9,e)},k=(t,e)=>{const n=e[1];S(t,e),g(t)?t.every((t=>t.length<=1))&&n():t.length<=1&&n()},C={mode:s,persisted:a,beforeEnter(e){let i=l;if(!n.isMounted){if(!o)return;i=v||l}e[In]&&e[In](!0);const r=w[x];r&&Zr(t,r)&&r.el[In]&&r.el[In](),S(i,[e])},enter(t){let e=c,i=u,r=h;if(!n.isMounted){if(!o)return;e=y||c,i=b||u,r=_||h}let s=!1;const a=t[Nn]=e=>{s||(s=!0,S(e?r:i,[t]),C.delayedLeave&&C.delayedLeave(),t[Nn]=void 0)};e?k(e,[t,a]):a()},leave(e,i){const r=String(t.key);if(e[Nn]&&e[Nn](!0),n.isUnmounting)return i();S(d,[e]);let o=!1;const s=e[In]=n=>{o||(o=!0,i(),S(n?m:f,[e]),e[In]=void 0,w[r]===t&&delete w[r])};w[r]=t,p?k(p,[e,s]):s()},clone(t){const o=qn(t,e,n,i,r);return r&&r(o),o}};return C}function Gn(t){if(ei(t))return(t=io(t)).children=null,t}function Xn(t){if(!ei(t))return Rn(t.type)&&t.children?Wn(t.children):t;const{shapeFlag:e,children:n}=t;if(n){if(16&e)return n[0];if(32&e&&b(n.default))return n.default()}}function Yn(t,e){6&t.shapeFlag&&t.component?(t.transition=e,Yn(t.component.subTree,e)):128&t.shapeFlag?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Kn(t,e=!1,n){let i=[],r=0;for(let o=0;o<t.length;o++){let s=t[o];const a=null==n?s.key:String(n)+String(null!=s.key?s.key:o);s.type===Nr?(128&s.patchFlag&&r++,i=i.concat(Kn(s.children,e,a))):(e||s.type!==Fr)&&i.push(null!=a?io(s,{key:a}):s)}if(r>1)for(let t=0;t<i.length;t++)i[t].patchFlag=-2;return i}function Zn(t,e){return b(t)?(()=>h({name:t.name},e,{setup:t}))():t}function Jn(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function Qn(t,e,n,i,r=!1){if(g(t))return void t.forEach(((t,o)=>Qn(t,e&&(g(e)?e[o]:e),n,i,r)));if(ti(i)&&!r)return;const s=4&i.shapeFlag?To(i.component):i.el,a=r?null:s,{i:l,r:c}=t,u=e&&e.r,h=l.refs===o?l.refs={}:l.refs,p=l.setupState,m=Me(p),v=p===o?()=>!1:t=>f(m,t);if(null!=u&&u!==c&&(_(u)?(h[u]=null,v(u)&&(p[u]=null)):$e(u)&&(u.value=null)),b(c))Je(c,l,12,[a,h]);else{const e=_(c),i=$e(c);if(e||i){const o=()=>{if(t.f){const n=e?v(c)?p[c]:h[c]:c.value;r?g(n)&&d(n,s):g(n)?n.includes(s)||n.push(s):e?(h[c]=[s],v(c)&&(p[c]=h[c])):(c.value=[s],t.k&&(h[t.k]=c.value))}else e?(h[c]=a,v(c)&&(p[c]=a)):i&&(c.value=a,t.k&&(h[t.k]=a))};a?(o.id=-1,gr(o,n)):o()}}}const ti=t=>!!t.type.__asyncLoader,ei=t=>t.type.__isKeepAlive;RegExp,RegExp;function ni(t,e){return g(t)?t.some((t=>ni(t,e))):_(t)?t.split(",").includes(e):"[object RegExp]"===C(t)&&(t.lastIndex=0,t.test(e))}function ii(t,e){oi(t,"a",e)}function ri(t,e){oi(t,"da",e)}function oi(t,e,n=fo){const i=t.__wdc||(t.__wdc=()=>{let e=n;for(;e;){if(e.isDeactivated)return;e=e.parent}return t()});if(ci(e,i,n),n){let t=n.parent;for(;t&&t.parent;)ei(t.parent.vnode)&&si(i,e,n,t),t=t.parent}}function si(t,e,n,i){const r=ci(e,t,i,!0);mi((()=>{d(i[e],r)}),n)}function ai(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function li(t){return 128&t.shapeFlag?t.ssContent:t}function ci(t,e,n=fo,i=!1){if(n){const r=n[t]||(n[t]=[]),o=e.__weh||(e.__weh=(...i)=>{xt();const r=yo(n),o=Qe(e,n,t,i);return r(),wt(),o});return i?r.unshift(o):r.push(o),o}}const ui=t=>(e,n=fo)=>{So&&"sp"!==t||ci(t,((...t)=>e(...t)),n)},hi=ui("bm"),di=ui("m"),pi=ui("bu"),fi=ui("u"),gi=ui("bum"),mi=ui("um"),vi=ui("sp"),yi=ui("rtg"),bi=ui("rtc");function _i(t,e=fo){ci("ec",t,e)}const xi="components";function wi(t,e){return Ci(xi,t,!0,e)||t}const Si=Symbol.for("v-ndc");function ki(t){return _(t)?Ci(xi,t,!1)||t:t||Si}function Ci(t,e,n=!0,i=!1){const r=On||fo;if(r){const n=r.type;if(t===xi){const t=Eo(n,!1);if(t&&(t===e||t===M(e)||t===D(M(e))))return n}const o=Ai(r[t]||n[t],e)||Ai(r.appContext[t],e);return!o&&i?n:o}}function Ai(t,e){return t&&(t[e]||t[M(e)]||t[D(M(e))])}function Oi(t,e,n,i){let r;const o=n&&n[i],s=g(t);if(s||_(t)){let n=!1;s&&Oe(t)&&(n=!Ee(t),t=$t(t)),r=new Array(t.length);for(let i=0,s=t.length;i<s;i++)r[i]=e(n?je(t[i]):t[i],i,void 0,o&&o[i])}else if("number"==typeof t){r=new Array(t);for(let n=0;n<t;n++)r[n]=e(n+1,n,void 0,o&&o[n])}else if(w(t))if(t[Symbol.iterator])r=Array.from(t,((t,n)=>e(t,n,void 0,o&&o[n])));else{const n=Object.keys(t);r=new Array(n.length);for(let i=0,s=n.length;i<s;i++){const s=n[i];r[i]=e(t[s],s,i,o&&o[i])}}else r=[];return n&&(n[i]=r),r}function Ti(t,e){for(let n=0;n<e.length;n++){const i=e[n];if(g(i))for(let e=0;e<i.length;e++)t[i[e].name]=i[e].fn;else i&&(t[i.name]=i.key?(...t)=>{const e=i.fn(...t);return e&&(e.key=i.key),e}:i.fn)}return t}function Ei(t,e,n={},i,r){if(On.ce||On.parent&&ti(On.parent)&&On.parent.ce)return"default"!==e&&(n.name=e),Hr(),Yr(Nr,null,[eo("slot",n,i&&i())],64);let o=t[e];o&&o._c&&(o._d=!1),Hr();const s=o&&Pi(o(n)),a=Yr(Nr,{key:(n.key||s&&s.key||`_${e}`)+(!s&&i?"_fb":"")},s||(i?i():[]),s&&1===t._?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function Pi(t){return t.some((t=>!Kr(t)||t.type!==Fr&&!(t.type===Nr&&!Pi(t.children))))?t:null}function Mi(t,e){const n={};for(const i in t)n[e&&/[A-Z]/.test(i)?`on:${i}`:$(i)]=t[i];return n}const Li=t=>t?_o(t)?To(t):Li(t.parent):null,ji=h(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Li(t.parent),$root:t=>Li(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>__VUE_OPTIONS_API__?zi(t):t.type,$forceUpdate:t=>t.f||(t.f=()=>{dn(t.update)}),$nextTick:t=>t.n||(t.n=hn.bind(t.proxy)),$watch:t=>__VUE_OPTIONS_API__?Or.bind(t):a}),Di=(t,e)=>t!==o&&!t.__isScriptSetup&&f(t,e),$i={get({_:t},e){if("__v_skip"===e)return!0;const{ctx:n,setupState:i,data:r,props:s,accessCache:a,type:l,appContext:c}=t;let u;if("$"!==e[0]){const l=a[e];if(void 0!==l)switch(l){case 1:return i[e];case 2:return r[e];case 4:return n[e];case 3:return s[e]}else{if(Di(i,e))return a[e]=1,i[e];if(r!==o&&f(r,e))return a[e]=2,r[e];if((u=t.propsOptions[0])&&f(u,e))return a[e]=3,s[e];if(n!==o&&f(n,e))return a[e]=4,n[e];__VUE_OPTIONS_API__&&!Ni||(a[e]=0)}}const h=ji[e];let d,p;return h?("$attrs"===e&&Lt(t.attrs,0,""),h(t)):(d=l.__cssModules)&&(d=d[e])?d:n!==o&&f(n,e)?(a[e]=4,n[e]):(p=c.config.globalProperties,f(p,e)?p[e]:void 0)},set({_:t},e,n){const{data:i,setupState:r,ctx:s}=t;return Di(r,e)?(r[e]=n,!0):i!==o&&f(i,e)?(i[e]=n,!0):!(f(t.props,e)||"$"===e[0]&&e.slice(1)in t||(s[e]=n,0))},has({_:{data:t,setupState:e,accessCache:n,ctx:i,appContext:r,propsOptions:s}},a){let l;return!!n[a]||t!==o&&f(t,a)||Di(e,a)||(l=s[0])&&f(l,a)||f(i,a)||f(ji,a)||f(r.config.globalProperties,a)},defineProperty(t,e,n){return null!=n.get?t._.accessCache[e]=0:f(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function Ri(){return function(){const t=go();return t.setupContext||(t.setupContext=Oo(t))}().slots}function Ii(t){return g(t)?t.reduce(((t,e)=>(t[e]=null,t)),{}):t}let Ni=!0;function Bi(t,e,n){Qe(g(t)?t.map((t=>t.bind(e.proxy))):t.bind(e.proxy),e,n)}function Fi(t,e,n,i){let r=i.includes(".")?Tr(n,i):()=>n[i];if(_(t)){const n=e[t];b(n)&&Cr(r,n)}else if(b(t))Cr(r,t.bind(n));else if(w(t))if(g(t))t.forEach((t=>Fi(t,e,n,i)));else{const i=b(t.handler)?t.handler.bind(n):e[t.handler];b(i)&&Cr(r,i,t)}}function zi(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:r,optionsCache:o,config:{optionMergeStrategies:s}}=t.appContext,a=o.get(e);let l;return a?l=a:r.length||n||i?(l={},r.length&&r.forEach((t=>Vi(l,t,s,!0))),Vi(l,e,s)):l=e,w(e)&&o.set(e,l),l}function Vi(t,e,n,i=!1){const{mixins:r,extends:o}=e;o&&Vi(t,o,n,!0),r&&r.forEach((e=>Vi(t,e,n,!0)));for(const r in e)if(i&&"expose"===r);else{const i=Wi[r]||n&&n[r];t[r]=i?i(t[r],e[r]):e[r]}return t}const Wi={data:Hi,props:Xi,emits:Xi,methods:Gi,computed:Gi,beforeCreate:qi,created:qi,beforeMount:qi,mounted:qi,beforeUpdate:qi,updated:qi,beforeDestroy:qi,beforeUnmount:qi,destroyed:qi,unmounted:qi,activated:qi,deactivated:qi,errorCaptured:qi,serverPrefetch:qi,components:Gi,directives:Gi,watch:function(t,e){if(!t)return e;if(!e)return t;const n=h(Object.create(null),t);for(const i in e)n[i]=qi(t[i],e[i]);return n},provide:Hi,inject:function(t,e){return Gi(Ui(t),Ui(e))}};function Hi(t,e){return e?t?function(){return h(b(t)?t.call(this,this):t,b(e)?e.call(this,this):e)}:e:t}function Ui(t){if(g(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function qi(t,e){return t?[...new Set([].concat(t,e))]:e}function Gi(t,e){return t?h(Object.create(null),t,e):e}function Xi(t,e){return t?g(t)&&g(e)?[...new Set([...t,...e])]:h(Object.create(null),Ii(t),Ii(null!=e?e:{})):e}function Yi(){return{app:null,config:{isNativeTag:l,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Ki=0;function Zi(t,e){return function(n,i=null){b(n)||(n=h({},n)),null==i||w(i)||(i=null);const r=Yi(),o=new WeakSet,s=[];let a=!1;const l=r.app={_uid:Ki++,_component:n,_props:i,_container:null,_context:r,_instance:null,version:Lo,get config(){return r.config},set config(t){},use:(t,...e)=>(o.has(t)||(t&&b(t.install)?(o.add(t),t.install(l,...e)):b(t)&&(o.add(t),t(l,...e))),l),mixin:t=>(__VUE_OPTIONS_API__&&(r.mixins.includes(t)||r.mixins.push(t)),l),component:(t,e)=>e?(r.components[t]=e,l):r.components[t],directive:(t,e)=>e?(r.directives[t]=e,l):r.directives[t],mount(o,s,c){if(!a){const u=l._ceVNode||eo(n,i);return u.appContext=r,!0===c?c="svg":!1===c&&(c=void 0),s&&e?e(u,o):t(u,o,c),a=!0,l._container=o,o.__vue_app__=l,__VUE_PROD_DEVTOOLS__&&(l._instance=u.component,function(t,e){xn("app:init",t,e,{Fragment:Nr,Text:Br,Comment:Fr,Static:zr})}(l,Lo)),To(u.component)}},onUnmount(t){s.push(t)},unmount(){a&&(Qe(s,l._instance,16),t(null,l._container),__VUE_PROD_DEVTOOLS__&&(l._instance=null,function(t){xn("app:unmount",t)}(l)),delete l._container.__vue_app__)},provide:(t,e)=>(r.provides[t]=e,l),runWithContext(t){const e=Ji;Ji=l;try{return t()}finally{Ji=e}}};return l}}let Ji=null;function Qi(t,e){if(fo){let n=fo.provides;const i=fo.parent&&fo.parent.provides;i===n&&(n=fo.provides=Object.create(i)),n[t]=e}}function tr(t,e,n=!1){const i=fo||On;if(i||Ji){const r=Ji?Ji._context.provides:i?null==i.parent?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(r&&t in r)return r[t];if(arguments.length>1)return n&&b(e)?e.call(i&&i.proxy):e}}const er={},nr=()=>Object.create(er),ir=t=>Object.getPrototypeOf(t)===er;function rr(t,e,n,i){const[r,s]=t.propsOptions;let a,l=!1;if(e)for(let o in e){if(T(o))continue;const c=e[o];let u;r&&f(r,u=M(o))?s&&s.includes(u)?(a||(a={}))[u]=c:n[u]=c:Lr(t.emitsOptions,o)||o in i&&c===i[o]||(i[o]=c,l=!0)}if(s){const e=Me(n),i=a||o;for(let o=0;o<s.length;o++){const a=s[o];n[a]=or(r,e,a,i[a],t,!f(i,a))}}return l}function or(t,e,n,i,r,o){const s=t[n];if(null!=s){const t=f(s,"default");if(t&&void 0===i){const t=s.default;if(s.type!==Function&&!s.skipFactory&&b(t)){const{propsDefaults:o}=r;if(n in o)i=o[n];else{const s=yo(r);i=o[n]=t.call(null,e),s()}}else i=t;r.ce&&r.ce._setProp(n,i)}s[0]&&(o&&!t?i=!1:!s[1]||""!==i&&i!==j(n)||(i=!0))}return i}const sr=new WeakMap;function ar(t,e,n=!1){const i=__VUE_OPTIONS_API__&&n?sr:e.propsCache,r=i.get(t);if(r)return r;const a=t.props,l={},c=[];let u=!1;if(__VUE_OPTIONS_API__&&!b(t)){const i=t=>{u=!0;const[n,i]=ar(t,e,!0);h(l,n),i&&c.push(...i)};!n&&e.mixins.length&&e.mixins.forEach(i),t.extends&&i(t.extends),t.mixins&&t.mixins.forEach(i)}if(!a&&!u)return w(t)&&i.set(t,s),s;if(g(a))for(let t=0;t<a.length;t++){const e=M(a[t]);lr(e)&&(l[e]=o)}else if(a)for(const t in a){const e=M(t);if(lr(e)){const n=a[t],i=l[e]=g(n)||b(n)?{type:n}:h({},n),r=i.type;let o=!1,s=!0;if(g(r))for(let t=0;t<r.length;++t){const e=r[t],n=b(e)&&e.name;if("Boolean"===n){o=!0;break}"String"===n&&(s=!1)}else o=b(r)&&"Boolean"===r.name;i[0]=o,i[1]=s,(o||f(i,"default"))&&c.push(e)}}const d=[l,c];return w(t)&&i.set(t,d),d}function lr(t){return"$"!==t[0]&&!T(t)}const cr=t=>"_"===t[0]||"$stable"===t,ur=t=>g(t)?t.map(so):[so(t)],hr=(t,e,n)=>{if(e._n)return e;const i=Ln(((...t)=>ur(e(...t))),n);return i._c=!1,i},dr=(t,e,n)=>{const i=t._ctx;for(const n in t){if(cr(n))continue;const r=t[n];if(b(r))e[n]=hr(0,r,i);else if(null!=r){const t=ur(r);e[n]=()=>t}}},pr=(t,e)=>{const n=ur(e);t.slots.default=()=>n},fr=(t,e,n)=>{for(const i in e)(n||"_"!==i)&&(t[i]=e[i])},gr=function(t,e){e&&e.pendingBranch?g(t)?e.effects.push(...t):e.effects.push(t):(n=t,g(n)?sn.push(...n):an&&-1===n.id?an.splice(ln+1,0,n):1&n.flags||(sn.push(n),n.flags|=1),pn());var n};function mr(t,e){"boolean"!=typeof __VUE_OPTIONS_API__&&(z().__VUE_OPTIONS_API__=!0),"boolean"!=typeof __VUE_PROD_DEVTOOLS__&&(z().__VUE_PROD_DEVTOOLS__=!1),"boolean"!=typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&(z().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1);const n=z();n.__VUE__=!0,__VUE_PROD_DEVTOOLS__&&wn(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:i,remove:r,patchProp:l,createElement:c,createText:u,createComment:h,setText:d,setElementText:p,parentNode:g,nextSibling:m,setScopeId:v=a,insertStaticContent:y}=t,b=(t,e,n,i=null,r=null,o=null,s=void 0,a=null,l=!!e.dynamicChildren)=>{if(t===e)return;t&&!Zr(t,e)&&(i=J(t),G(t,r,o,!0),t=null),-2===e.patchFlag&&(l=!1,e.dynamicChildren=null);const{type:c,ref:u,shapeFlag:h}=e;switch(c){case Br:_(t,e,n,i);break;case Fr:x(t,e,n,i);break;case zr:null==t&&w(e,n,i,s);break;case Nr:D(t,e,n,i,r,o,s,a,l);break;default:1&h?k(t,e,n,i,r,o,s,a,l):6&h?$(t,e,n,i,r,o,s,a,l):(64&h||128&h)&&c.process(t,e,n,i,r,o,s,a,l,et)}null!=u&&r&&Qn(u,t&&t.ref,o,e||t,!e)},_=(t,e,n,r)=>{if(null==t)i(e.el=u(e.children),n,r);else{const n=e.el=t.el;e.children!==t.children&&d(n,e.children)}},x=(t,e,n,r)=>{null==t?i(e.el=h(e.children||""),n,r):e.el=t.el},w=(t,e,n,i)=>{[t.el,t.anchor]=y(t.children,e,n,i,t.el,t.anchor)},k=(t,e,n,i,r,o,s,a,l)=>{"svg"===e.type?s="svg":"math"===e.type&&(s="mathml"),null==t?C(e,n,i,r,o,s,a,l):E(t,e,r,o,s,a,l)},C=(t,e,n,r,o,s,a,u)=>{let h,d;const{props:f,shapeFlag:g,transition:m,dirs:v}=t;if(h=t.el=c(t.type,s,f&&f.is,f),8&g?p(h,t.children):16&g&&O(t.children,h,null,r,o,vr(t,s),a,u),v&&Dn(t,null,r,"created"),A(h,t,t.scopeId,a,r),f){for(const t in f)"value"===t||T(t)||l(h,t,null,f[t],s,r);"value"in f&&l(h,"value",null,f.value,s),(d=f.onVnodeBeforeMount)&&uo(d,r,t)}__VUE_PROD_DEVTOOLS__&&(N(h,"__vnode",t,!0),N(h,"__vueParentComponent",r,!0)),v&&Dn(t,null,r,"beforeMount");const y=function(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}(o,m);y&&m.beforeEnter(h),i(h,e,n),((d=f&&f.onVnodeMounted)||y||v)&&gr((()=>{d&&uo(d,r,t),y&&m.enter(h),v&&Dn(t,null,r,"mounted")}),o)},A=(t,e,n,i,r)=>{if(n&&v(t,n),i)for(let e=0;e<i.length;e++)v(t,i[e]);if(r){let n=r.subTree;if(e===n||Ir(n.type)&&(n.ssContent===e||n.ssFallback===e)){const e=r.vnode;A(t,e,e.scopeId,e.slotScopeIds,r.parent)}}},O=(t,e,n,i,r,o,s,a,l=0)=>{for(let c=l;c<t.length;c++){const l=t[c]=a?ao(t[c]):so(t[c]);b(null,l,e,n,i,r,o,s,a)}},E=(t,e,n,i,r,s,a)=>{const c=e.el=t.el;__VUE_PROD_DEVTOOLS__&&(c.__vnode=e);let{patchFlag:u,dynamicChildren:h,dirs:d}=e;u|=16&t.patchFlag;const f=t.props||o,g=e.props||o;let m;if(n&&yr(n,!1),(m=g.onVnodeBeforeUpdate)&&uo(m,n,e,t),d&&Dn(e,t,n,"beforeUpdate"),n&&yr(n,!0),(f.innerHTML&&null==g.innerHTML||f.textContent&&null==g.textContent)&&p(c,""),h?P(t.dynamicChildren,h,c,n,i,vr(e,r),s):a||W(t,e,c,null,n,i,vr(e,r),s,!1),u>0){if(16&u)L(c,f,g,n,r);else if(2&u&&f.class!==g.class&&l(c,"class",null,g.class,r),4&u&&l(c,"style",f.style,g.style,r),8&u){const t=e.dynamicProps;for(let e=0;e<t.length;e++){const i=t[e],o=f[i],s=g[i];s===o&&"value"!==i||l(c,i,o,s,r,n)}}1&u&&t.children!==e.children&&p(c,e.children)}else a||null!=h||L(c,f,g,n,r);((m=g.onVnodeUpdated)||d)&&gr((()=>{m&&uo(m,n,e,t),d&&Dn(e,t,n,"updated")}),i)},P=(t,e,n,i,r,o,s)=>{for(let a=0;a<e.length;a++){const l=t[a],c=e[a],u=l.el&&(l.type===Nr||!Zr(l,c)||70&l.shapeFlag)?g(l.el):n;b(l,c,u,null,i,r,o,s,!0)}},L=(t,e,n,i,r)=>{if(e!==n){if(e!==o)for(const o in e)T(o)||o in n||l(t,o,e[o],null,r,i);for(const o in n){if(T(o))continue;const s=n[o],a=e[o];s!==a&&"value"!==o&&l(t,o,a,s,r,i)}"value"in n&&l(t,"value",e.value,n.value,r)}},D=(t,e,n,r,o,s,a,l,c)=>{const h=e.el=t?t.el:u(""),d=e.anchor=t?t.anchor:u("");let{patchFlag:p,dynamicChildren:f,slotScopeIds:g}=e;g&&(l=l?l.concat(g):g),null==t?(i(h,n,r),i(d,n,r),O(e.children||[],n,d,o,s,a,l,c)):p>0&&64&p&&f&&t.dynamicChildren?(P(t.dynamicChildren,f,n,o,s,a,l),(null!=e.key||o&&e===o.subTree)&&br(t,e,!0)):W(t,e,n,d,o,s,a,l,c)},$=(t,e,n,i,r,o,s,a,l)=>{e.slotScopeIds=a,null==t?512&e.shapeFlag?r.ctx.activate(e,n,i,s,l):R(e,n,i,r,o,s,l):B(t,e,l)},R=(t,e,n,i,r,s,a)=>{const l=t.component=function(t,e,n){const i=t.type,r=(e?e.appContext:t.appContext)||ho,s={uid:po++,vnode:t,type:i,parent:e,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ot(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(r.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ar(i,r),emitsOptions:Mr(i,r),emit:null,emitted:null,propsDefaults:o,inheritAttrs:i.inheritAttrs,ctx:o,data:o,props:o,attrs:o,slots:o,refs:o,setupState:o,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=e?e.root:s,s.emit=Pr.bind(null,s),t.ce&&t.ce(s),s}(t,i,r);if(ei(t)&&(l.ctx.renderer=et),function(t,e=!1,n=!1){e&&vo(e);const{props:i,children:r}=t.vnode,o=_o(t);!function(t,e,n,i=!1){const r={},o=nr();t.propsDefaults=Object.create(null),rr(t,e,r,o);for(const e in t.propsOptions[0])e in r||(r[e]=void 0);n?t.props=i?r:ke(r):t.type.props?t.props=r:t.props=o,t.attrs=o}(t,i,o,e),((t,e,n)=>{const i=t.slots=nr();if(32&t.vnode.shapeFlag){const t=e._;t?(fr(i,e,n),n&&N(i,"_",t,!0)):dr(e,i)}else e&&pr(t,e)})(t,r,n);const s=o?function(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,$i);const{setup:i}=n;if(i){const n=t.setupContext=i.length>1?Oo(t):null,r=yo(t);xt();const o=Je(i,t,0,[t.props,n]);if(wt(),r(),S(o)){if(ti(t)||Jn(t),o.then(bo,bo),e)return o.then((n=>{ko(t,n,e)})).catch((e=>{tn(e,t,0)}));t.asyncDep=o}else ko(t,o,e)}else Co(t,e)}(t,e):void 0;e&&vo(!1)}(l,!1,a),l.asyncDep){if(r&&r.registerDep(l,F,a),!t.el){const t=l.subTree=eo(Fr);x(null,t,e,n)}}else F(l,t,e,n,r,s,a)},B=(t,e,n)=>{const i=e.component=t.component;if(function(t,e,n){const{props:i,children:r,component:o}=t,{props:s,children:a,patchFlag:l}=e,c=o.emitsOptions;if(e.dirs||e.transition)return!0;if(!(n&&l>=0))return!(!r&&!a||a&&a.$stable)||i!==s&&(i?!s||Rr(i,s,c):!!s);if(1024&l)return!0;if(16&l)return i?Rr(i,s,c):!!s;if(8&l){const t=e.dynamicProps;for(let e=0;e<t.length;e++){const n=t[e];if(s[n]!==i[n]&&!Lr(c,n))return!0}}return!1}(t,e,n)){if(i.asyncDep&&!i.asyncResolved)return void V(i,e,n);i.next=e,i.update()}else e.el=t.el,i.vnode=e},F=(t,e,n,i,r,o,s)=>{const a=()=>{if(t.isMounted){let{next:e,bu:n,u:i,parent:l,vnode:c}=t;{const n=_r(t);if(n)return e&&(e.el=c.el,V(t,e,s)),void n.asyncDep.then((()=>{t.isUnmounted||a()}))}let u,h=e;yr(t,!1),e?(e.el=c.el,V(t,e,s)):e=c,n&&I(n),(u=e.props&&e.props.onVnodeBeforeUpdate)&&uo(u,l,e,c),yr(t,!0);const d=jr(t),p=t.subTree;t.subTree=d,b(p,d,g(p.el),J(p),t,r,o),e.el=d.el,null===h&&function({vnode:t,parent:e},n){for(;e;){const i=e.subTree;if(i.suspense&&i.suspense.activeBranch===t&&(i.el=t.el),i!==t)break;(t=e.vnode).el=n,e=e.parent}}(t,d.el),i&&gr(i,r),(u=e.props&&e.props.onVnodeUpdated)&&gr((()=>uo(u,l,e,c)),r),__VUE_PROD_DEVTOOLS__&&kn(t)}else{let s;const{el:a,props:l}=e,{bm:c,m:u,parent:h,root:d,type:p}=t,f=ti(e);if(yr(t,!1),c&&I(c),!f&&(s=l&&l.onVnodeBeforeMount)&&uo(s,h,e),yr(t,!0),a&&it){const e=()=>{t.subTree=jr(t),it(a,t.subTree,t,r,null)};f&&p.__asyncHydrate?p.__asyncHydrate(a,t,e):e()}else{d.ce&&d.ce._injectChildStyle(p);const s=t.subTree=jr(t);b(null,s,n,i,t,r,o),e.el=s.el}if(u&&gr(u,r),!f&&(s=l&&l.onVnodeMounted)){const t=e;gr((()=>uo(s,h,t)),r)}(256&e.shapeFlag||h&&ti(h.vnode)&&256&h.vnode.shapeFlag)&&t.a&&gr(t.a,r),t.isMounted=!0,__VUE_PROD_DEVTOOLS__&&Sn(t),e=n=i=null}};t.scope.on();const l=t.effect=new at(a);t.scope.off();const c=t.update=l.run.bind(l),u=t.job=l.runIfDirty.bind(l);u.i=t,u.id=t.uid,l.scheduler=()=>dn(u),yr(t,!0),c()},V=(t,e,n)=>{e.component=t;const i=t.vnode.props;t.vnode=e,t.next=null,function(t,e,n,i){const{props:r,attrs:o,vnode:{patchFlag:s}}=t,a=Me(r),[l]=t.propsOptions;let c=!1;if(!(i||s>0)||16&s){let i;rr(t,e,r,o)&&(c=!0);for(const o in a)e&&(f(e,o)||(i=j(o))!==o&&f(e,i))||(l?!n||void 0===n[o]&&void 0===n[i]||(r[o]=or(l,a,o,void 0,t,!0)):delete r[o]);if(o!==a)for(const t in o)e&&f(e,t)||(delete o[t],c=!0)}else if(8&s){const n=t.vnode.dynamicProps;for(let i=0;i<n.length;i++){let s=n[i];if(Lr(t.emitsOptions,s))continue;const u=e[s];if(l)if(f(o,s))u!==o[s]&&(o[s]=u,c=!0);else{const e=M(s);r[e]=or(l,a,e,u,t,!1)}else u!==o[s]&&(o[s]=u,c=!0)}}c&&jt(t.attrs,"set","")}(t,e.props,i,n),((t,e,n)=>{const{vnode:i,slots:r}=t;let s=!0,a=o;if(32&i.shapeFlag){const t=e._;t?n&&1===t?s=!1:fr(r,e,n):(s=!e.$stable,dr(e,r)),a=e}else e&&(pr(t,e),a={default:1});if(s)for(const t in r)cr(t)||null!=a[t]||delete r[t]})(t,e.children,n),xt(),fn(t),wt()},W=(t,e,n,i,r,o,s,a,l=!1)=>{const c=t&&t.children,u=t?t.shapeFlag:0,h=e.children,{patchFlag:d,shapeFlag:f}=e;if(d>0){if(128&d)return void U(c,h,n,i,r,o,s,a,l);if(256&d)return void H(c,h,n,i,r,o,s,a,l)}8&f?(16&u&&Z(c,r,o),h!==c&&p(n,h)):16&u?16&f?U(c,h,n,i,r,o,s,a,l):Z(c,r,o,!0):(8&u&&p(n,""),16&f&&O(h,n,i,r,o,s,a,l))},H=(t,e,n,i,r,o,a,l,c)=>{e=e||s;const u=(t=t||s).length,h=e.length,d=Math.min(u,h);let p;for(p=0;p<d;p++){const i=e[p]=c?ao(e[p]):so(e[p]);b(t[p],i,n,null,r,o,a,l,c)}u>h?Z(t,r,o,!0,!1,d):O(e,n,i,r,o,a,l,c,d)},U=(t,e,n,i,r,o,a,l,c)=>{let u=0;const h=e.length;let d=t.length-1,p=h-1;for(;u<=d&&u<=p;){const i=t[u],s=e[u]=c?ao(e[u]):so(e[u]);if(!Zr(i,s))break;b(i,s,n,null,r,o,a,l,c),u++}for(;u<=d&&u<=p;){const i=t[d],s=e[p]=c?ao(e[p]):so(e[p]);if(!Zr(i,s))break;b(i,s,n,null,r,o,a,l,c),d--,p--}if(u>d){if(u<=p){const t=p+1,s=t<h?e[t].el:i;for(;u<=p;)b(null,e[u]=c?ao(e[u]):so(e[u]),n,s,r,o,a,l,c),u++}}else if(u>p)for(;u<=d;)G(t[u],r,o,!0),u++;else{const f=u,g=u,m=new Map;for(u=g;u<=p;u++){const t=e[u]=c?ao(e[u]):so(e[u]);null!=t.key&&m.set(t.key,u)}let v,y=0;const _=p-g+1;let x=!1,w=0;const S=new Array(_);for(u=0;u<_;u++)S[u]=0;for(u=f;u<=d;u++){const i=t[u];if(y>=_){G(i,r,o,!0);continue}let s;if(null!=i.key)s=m.get(i.key);else for(v=g;v<=p;v++)if(0===S[v-g]&&Zr(i,e[v])){s=v;break}void 0===s?G(i,r,o,!0):(S[s-g]=u+1,s>=w?w=s:x=!0,b(i,e[s],n,null,r,o,a,l,c),y++)}const k=x?function(t){const e=t.slice(),n=[0];let i,r,o,s,a;const l=t.length;for(i=0;i<l;i++){const l=t[i];if(0!==l){if(r=n[n.length-1],t[r]<l){e[i]=r,n.push(i);continue}for(o=0,s=n.length-1;o<s;)a=o+s>>1,t[n[a]]<l?o=a+1:s=a;l<t[n[o]]&&(o>0&&(e[i]=n[o-1]),n[o]=i)}}for(o=n.length,s=n[o-1];o-- >0;)n[o]=s,s=e[s];return n}(S):s;for(v=k.length-1,u=_-1;u>=0;u--){const t=g+u,s=e[t],d=t+1<h?e[t+1].el:i;0===S[u]?b(null,s,n,d,r,o,a,l,c):x&&(v<0||u!==k[v]?q(s,n,d,2):v--)}}},q=(t,e,n,r,o=null)=>{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=t;if(6&u)q(t.component.subTree,e,n,r);else if(128&u)t.suspense.move(e,n,r);else if(64&u)a.move(t,e,n,et);else if(a!==Nr)if(a!==zr)if(2!==r&&1&u&&l)if(0===r)l.beforeEnter(s),i(s,e,n),gr((()=>l.enter(s)),o);else{const{leave:t,delayLeave:r,afterLeave:o}=l,a=()=>i(s,e,n),c=()=>{t(s,(()=>{a(),o&&o()}))};r?r(s,a,c):c()}else i(s,e,n);else(({el:t,anchor:e},n,r)=>{let o;for(;t&&t!==e;)o=m(t),i(t,n,r),t=o;i(e,n,r)})(t,e,n);else{i(s,e,n);for(let t=0;t<c.length;t++)q(c[t],e,n,r);i(t.anchor,e,n)}},G=(t,e,n,i=!1,r=!1)=>{const{type:o,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:h,dirs:d,cacheIndex:p}=t;if(-2===h&&(r=!1),null!=a&&Qn(a,null,n,t,!0),null!=p&&(e.renderCache[p]=void 0),256&u)return void e.ctx.deactivate(t);const f=1&u&&d,g=!ti(t);let m;if(g&&(m=s&&s.onVnodeBeforeUnmount)&&uo(m,e,t),6&u)K(t.component,n,i);else{if(128&u)return void t.suspense.unmount(n,i);f&&Dn(t,null,e,"beforeUnmount"),64&u?t.type.remove(t,e,n,et,i):c&&!c.hasOnce&&(o!==Nr||h>0&&64&h)?Z(c,e,n,!1,!0):(o===Nr&&384&h||!r&&16&u)&&Z(l,e,n),i&&X(t)}(g&&(m=s&&s.onVnodeUnmounted)||f)&&gr((()=>{m&&uo(m,e,t),f&&Dn(t,null,e,"unmounted")}),n)},X=t=>{const{type:e,el:n,anchor:i,transition:o}=t;if(e===Nr)return void Y(n,i);if(e===zr)return void(({el:t,anchor:e})=>{let n;for(;t&&t!==e;)n=m(t),r(t),t=n;r(e)})(t);const s=()=>{r(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&t.shapeFlag&&o&&!o.persisted){const{leave:e,delayLeave:i}=o,r=()=>e(n,s);i?i(t.el,s,r):r()}else s()},Y=(t,e)=>{let n;for(;t!==e;)n=m(t),r(t),t=n;r(e)},K=(t,e,n)=>{const{bum:i,scope:r,job:o,subTree:s,um:a,m:l,a:c}=t;var u;xr(l),xr(c),i&&I(i),r.stop(),o&&(o.flags|=8,G(s,t,e,n)),a&&gr(a,e),gr((()=>{t.isUnmounted=!0}),e),e&&e.pendingBranch&&!e.isUnmounted&&t.asyncDep&&!t.asyncResolved&&t.suspenseId===e.pendingId&&(e.deps--,0===e.deps&&e.resolve()),__VUE_PROD_DEVTOOLS__&&(u=t,yn&&"function"==typeof yn.cleanupBuffer&&!yn.cleanupBuffer(u)&&Cn(u))},Z=(t,e,n,i=!1,r=!1,o=0)=>{for(let s=o;s<t.length;s++)G(t[s],e,n,i,r)},J=t=>{if(6&t.shapeFlag)return J(t.component.subTree);if(128&t.shapeFlag)return t.suspense.next();const e=m(t.anchor||t.el),n=e&&e[$n];return n?m(n):e};let Q=!1;const tt=(t,e,n)=>{null==t?e._vnode&&G(e._vnode,null,null,!0):b(e._vnode||null,t,e,null,null,null,n),e._vnode=t,Q||(Q=!0,fn(),gn(),Q=!1)},et={p:b,um:G,m:q,r:X,mt:R,mc:O,pc:W,pbc:P,n:J,o:t};let nt,it;return e&&([nt,it]=e(et)),{render:tt,hydrate:nt,createApp:Zi(tt,nt)}}function vr({type:t,props:e},n){return"svg"===n&&"foreignObject"===t||"mathml"===n&&"annotation-xml"===t&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function yr({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function br(t,e,n=!1){const i=t.children,r=e.children;if(g(i)&&g(r))for(let t=0;t<i.length;t++){const e=i[t];let o=r[t];1&o.shapeFlag&&!o.dynamicChildren&&((o.patchFlag<=0||32===o.patchFlag)&&(o=r[t]=ao(r[t]),o.el=e.el),n||-2===o.patchFlag||br(e,o)),o.type===Br&&(o.el=e.el)}}function _r(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:_r(e)}function xr(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}const wr=Symbol.for("v-scx"),Sr=()=>tr(wr);function kr(t,e){return Ar(t,null,e)}function Cr(t,e,n){return Ar(t,e,n)}function Ar(t,e,n=o){const{immediate:i,deep:r,flush:s,once:l}=n,c=h({},n);let u;if(So)if("sync"===s){const t=Sr();u=t.__watcherHandles||(t.__watcherHandles=[])}else{if(e&&!i){const t=()=>{};return t.stop=a,t.resume=a,t.pause=a,t}c.once=!0}const p=fo;c.call=(t,e,n)=>Qe(t,p,e,n);let f=!1;"post"===s?c.scheduler=t=>{gr(t,p&&p.suspense)}:"sync"!==s&&(f=!0,c.scheduler=(t,e)=>{e?t():dn(t)}),c.augmentJob=t=>{e&&(t.flags|=4),f&&(t.flags|=2,p&&(t.id=p.uid,t.i=p))};const m=function(t,e,n=o){const{immediate:i,deep:r,once:s,scheduler:l,augmentJob:c,call:u}=n,h=t=>r?t:Ee(t)||!1===r||0===r?Ze(t,1):Ze(t);let p,f,m,v,y=!1,_=!1;if($e(t)?(f=()=>t.value,y=Ee(t)):Oe(t)?(f=()=>h(t),y=!0):g(t)?(_=!0,y=t.some((t=>Oe(t)||Ee(t))),f=()=>t.map((t=>$e(t)?t.value:Oe(t)?h(t):b(t)?u?u(t,2):t():void 0))):f=b(t)?e?u?()=>u(t,2):t:()=>{if(m){xt();try{m()}finally{wt()}}const e=Ke;Ke=p;try{return u?u(t,3,[v]):t(v)}finally{Ke=e}}:a,e&&r){const t=f,e=!0===r?1/0:r;f=()=>Ze(t(),e)}const x=it,w=()=>{p.stop(),x&&d(x.effects,p)};if(s&&e){const t=e;e=(...e)=>{t(...e),w()}}let S=_?new Array(t.length).fill(Xe):Xe;const k=t=>{if(1&p.flags&&(p.dirty||t))if(e){const t=p.run();if(r||y||(_?t.some(((t,e)=>R(t,S[e]))):R(t,S))){m&&m();const n=Ke;Ke=p;try{const n=[t,S===Xe?void 0:_&&S[0]===Xe?[]:S,v];u?u(e,3,n):e(...n),S=t}finally{Ke=n}}}else p.run()};return c&&c(k),p=new at(f),p.scheduler=l?()=>l(k,!1):k,v=t=>function(t,e=!1,n=Ke){if(n){let e=Ye.get(n);e||Ye.set(n,e=[]),e.push(t)}}(t,!1,p),m=p.onStop=()=>{const t=Ye.get(p);if(t){if(u)u(t,4);else for(const e of t)e();Ye.delete(p)}},e?i?k(!0):S=p.run():l?l(k.bind(null,!0),!0):p.run(),w.pause=p.pause.bind(p),w.resume=p.resume.bind(p),w.stop=w,w}(t,e,c);return u&&u.push(m),m}function Or(t,e,n){const i=this.proxy,r=_(t)?t.includes(".")?Tr(i,t):()=>i[t]:t.bind(i,i);let o;b(e)?o=e:(o=e.handler,n=e);const s=yo(this),a=Ar(r,o.bind(i),n);return s(),a}function Tr(t,e){const n=e.split(".");return()=>{let e=t;for(let t=0;t<n.length&&e;t++)e=e[n[t]];return e}}const Er=(t,e)=>"modelValue"===e||"model-value"===e?t.modelModifiers:t[`${e}Modifiers`]||t[`${M(e)}Modifiers`]||t[`${j(e)}Modifiers`];function Pr(t,e,...n){if(t.isUnmounted)return;const i=t.vnode.props||o;let r=n;const s=e.startsWith("update:"),a=s&&Er(i,e.slice(7));let l;a&&(a.trim&&(r=n.map((t=>_(t)?t.trim():t))),a.number&&(r=n.map(B))),__VUE_PROD_DEVTOOLS__&&function(t,e,n){xn("component:emit",t.appContext.app,t,e,n)}(t,e,r);let c=i[l=$(e)]||i[l=$(M(e))];!c&&s&&(c=i[l=$(j(e))]),c&&Qe(c,t,6,r);const u=i[l+"Once"];if(u){if(t.emitted){if(t.emitted[l])return}else t.emitted={};t.emitted[l]=!0,Qe(u,t,6,r)}}function Mr(t,e,n=!1){const i=e.emitsCache,r=i.get(t);if(void 0!==r)return r;const o=t.emits;let s={},a=!1;if(__VUE_OPTIONS_API__&&!b(t)){const i=t=>{const n=Mr(t,e,!0);n&&(a=!0,h(s,n))};!n&&e.mixins.length&&e.mixins.forEach(i),t.extends&&i(t.extends),t.mixins&&t.mixins.forEach(i)}return o||a?(g(o)?o.forEach((t=>s[t]=null)):h(s,o),w(t)&&i.set(t,s),s):(w(t)&&i.set(t,null),null)}function Lr(t,e){return!(!t||!c(e))&&(e=e.slice(2).replace(/Once$/,""),f(t,e[0].toLowerCase()+e.slice(1))||f(t,j(e))||f(t,e))}function jr(t){const{type:e,vnode:n,proxy:i,withProxy:r,propsOptions:[o],slots:s,attrs:a,emit:l,render:c,renderCache:h,props:d,data:p,setupState:f,ctx:g,inheritAttrs:m}=t,v=En(t);let y,b;try{if(4&n.shapeFlag){const t=r||i,e=t;y=so(c.call(e,t,h,d,f,p,g)),b=a}else{const t=e;y=so(t.length>1?t(d,{attrs:a,slots:s,emit:l}):t(d,null)),b=e.props?a:Dr(a)}}catch(e){Vr.length=0,tn(e,t,1),y=eo(Fr)}let _=y;if(b&&!1!==m){const t=Object.keys(b),{shapeFlag:e}=_;t.length&&7&e&&(o&&t.some(u)&&(b=$r(b,o)),_=io(_,b,!1,!0))}return n.dirs&&(_=io(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&Yn(_,n.transition),y=_,En(v),y}const Dr=t=>{let e;for(const n in t)("class"===n||"style"===n||c(n))&&((e||(e={}))[n]=t[n]);return e},$r=(t,e)=>{const n={};for(const i in t)u(i)&&i.slice(9)in e||(n[i]=t[i]);return n};function Rr(t,e,n){const i=Object.keys(e);if(i.length!==Object.keys(t).length)return!0;for(let r=0;r<i.length;r++){const o=i[r];if(e[o]!==t[o]&&!Lr(n,o))return!0}return!1}const Ir=t=>t.__isSuspense;const Nr=Symbol.for("v-fgt"),Br=Symbol.for("v-txt"),Fr=Symbol.for("v-cmt"),zr=Symbol.for("v-stc"),Vr=[];let Wr=null;function Hr(t=!1){Vr.push(Wr=t?null:[])}let Ur=1;function qr(t){Ur+=t,t<0&&Wr&&(Wr.hasOnce=!0)}function Gr(t){return t.dynamicChildren=Ur>0?Wr||s:null,Vr.pop(),Wr=Vr[Vr.length-1]||null,Ur>0&&Wr&&Wr.push(t),t}function Xr(t,e,n,i,r,o){return Gr(to(t,e,n,i,r,o,!0))}function Yr(t,e,n,i,r){return Gr(eo(t,e,n,i,r,!0))}function Kr(t){return!!t&&!0===t.__v_isVNode}function Zr(t,e){return t.type===e.type&&t.key===e.key}const Jr=({key:t})=>null!=t?t:null,Qr=({ref:t,ref_key:e,ref_for:n})=>("number"==typeof t&&(t=""+t),null!=t?_(t)||$e(t)||b(t)?{i:On,r:t,k:e,f:!!n}:t:null);function to(t,e=null,n=null,i=0,r=null,o=(t===Nr?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Jr(e),ref:e&&Qr(e),scopeId:Tn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:i,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:On};return a?(lo(l,n),128&o&&t.normalize(l)):n&&(l.shapeFlag|=_(n)?8:16),Ur>0&&!s&&Wr&&(l.patchFlag>0||6&o)&&32!==l.patchFlag&&Wr.push(l),l}const eo=function(t,e=null,n=null,i=0,r=null,o=!1){if(t&&t!==Si||(t=Fr),Kr(t)){const i=io(t,e,!0);return n&&lo(i,n),Ur>0&&!o&&Wr&&(6&i.shapeFlag?Wr[Wr.indexOf(t)]=i:Wr.push(i)),i.patchFlag=-2,i}if(s=t,b(s)&&"__vccOpts"in s&&(t=t.__vccOpts),e){e=no(e);let{class:t,style:n}=e;t&&!_(t)&&(e.class=G(t)),w(n)&&(Pe(n)&&!g(n)&&(n=h({},n)),e.style=V(n))}var s;return to(t,e,n,i,r,_(t)?1:Ir(t)?128:Rn(t)?64:w(t)?4:b(t)?2:0,o,!0)};function no(t){return t?Pe(t)||ir(t)?h({},t):t:null}function io(t,e,n=!1,i=!1){const{props:r,ref:o,patchFlag:s,children:a,transition:l}=t,c=e?co(r||{},e):r,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&Jr(c),ref:e&&e.ref?n&&o?g(o)?o.concat(Qr(e)):[o,Qr(e)]:Qr(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Nr?-1===s?16:16|s:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&io(t.ssContent),ssFallback:t.ssFallback&&io(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&i&&Yn(u,l.clone(u)),u}function ro(t=" ",e=0){return eo(Br,null,t,e)}function oo(t="",e=!1){return e?(Hr(),Yr(Fr,null,t)):eo(Fr,null,t)}function so(t){return null==t||"boolean"==typeof t?eo(Fr):g(t)?eo(Nr,null,t.slice()):Kr(t)?ao(t):eo(Br,null,String(t))}function ao(t){return null===t.el&&-1!==t.patchFlag||t.memo?t:io(t)}function lo(t,e){let n=0;const{shapeFlag:i}=t;if(null==e)e=null;else if(g(e))n=16;else if("object"==typeof e){if(65&i){const n=e.default;return void(n&&(n._c&&(n._d=!1),lo(t,n()),n._c&&(n._d=!0)))}{n=32;const i=e._;i||ir(e)?3===i&&On&&(1===On.slots._?e._=1:(e._=2,t.patchFlag|=1024)):e._ctx=On}}else b(e)?(e={default:e,_ctx:On},n=32):(e=String(e),64&i?(n=16,e=[ro(e)]):n=8);t.children=e,t.shapeFlag|=n}function co(...t){const e={};for(let n=0;n<t.length;n++){const i=t[n];for(const t in i)if("class"===t)e.class!==i.class&&(e.class=G([e.class,i.class]));else if("style"===t)e.style=V([e.style,i.style]);else if(c(t)){const n=e[t],r=i[t];!r||n===r||g(n)&&n.includes(r)||(e[t]=n?[].concat(n,r):r)}else""!==t&&(e[t]=i[t])}return e}function uo(t,e,n,i=null){Qe(t,e,7,[n,i])}const ho=Yi();let po=0;let fo=null;const go=()=>fo||On;let mo,vo;{const t=z(),e=(e,n)=>{let i;return(i=t[e])||(i=t[e]=[]),i.push(n),t=>{i.length>1?i.forEach((e=>e(t))):i[0](t)}};mo=e("__VUE_INSTANCE_SETTERS__",(t=>fo=t)),vo=e("__VUE_SSR_SETTERS__",(t=>So=t))}const yo=t=>{const e=fo;return mo(t),t.scope.on(),()=>{t.scope.off(),mo(e)}},bo=()=>{fo&&fo.scope.off(),mo(null)};function _o(t){return 4&t.vnode.shapeFlag}let xo,wo,So=!1;function ko(t,e,n){b(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:w(e)&&(__VUE_PROD_DEVTOOLS__&&(t.devtoolsRawSetupState=e),t.setupState=Ve(e)),Co(t,n)}function Co(t,e,n){const i=t.type;if(!t.render){if(!e&&xo&&!i.render){const e=i.template||zi(t).template;if(e){const{isCustomElement:n,compilerOptions:r}=t.appContext.config,{delimiters:o,compilerOptions:s}=i,a=h(h({isCustomElement:n,delimiters:o},r),s);i.render=xo(e,a)}}t.render=i.render||a,wo&&wo(t)}if(__VUE_OPTIONS_API__){const e=yo(t);xt();try{!function(t){const e=zi(t),n=t.proxy,i=t.ctx;Ni=!1,e.beforeCreate&&Bi(e.beforeCreate,t,"bc");const{data:r,computed:o,methods:s,watch:l,provide:c,inject:u,created:h,beforeMount:d,mounted:p,beforeUpdate:f,updated:m,activated:v,deactivated:y,beforeDestroy:_,beforeUnmount:x,destroyed:S,unmounted:k,render:C,renderTracked:A,renderTriggered:O,errorCaptured:T,serverPrefetch:E,expose:P,inheritAttrs:M,components:L,directives:j,filters:D}=e;if(u&&function(t,e){g(t)&&(t=Ui(t));for(const n in t){const i=t[n];let r;r=w(i)?"default"in i?tr(i.from||n,i.default,!0):tr(i.from||n):tr(i),$e(r)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:t=>r.value=t}):e[n]=r}}(u,i),s)for(const t in s){const e=s[t];b(e)&&(i[t]=e.bind(n))}if(r){const e=r.call(n,n);w(e)&&(t.data=Se(e))}if(Ni=!0,o)for(const t in o){const e=o[t],r=b(e)?e.bind(n,n):b(e.get)?e.get.bind(n,n):a,s=!b(e)&&b(e.set)?e.set.bind(n):a,l=Po({get:r,set:s});Object.defineProperty(i,t,{enumerable:!0,configurable:!0,get:()=>l.value,set:t=>l.value=t})}if(l)for(const t in l)Fi(l[t],i,n,t);if(c){const t=b(c)?c.call(n):c;Reflect.ownKeys(t).forEach((e=>{Qi(e,t[e])}))}function $(t,e){g(e)?e.forEach((e=>t(e.bind(n)))):e&&t(e.bind(n))}if(h&&Bi(h,t,"c"),$(hi,d),$(di,p),$(pi,f),$(fi,m),$(ii,v),$(ri,y),$(_i,T),$(bi,A),$(yi,O),$(gi,x),$(mi,k),$(vi,E),g(P))if(P.length){const e=t.exposed||(t.exposed={});P.forEach((t=>{Object.defineProperty(e,t,{get:()=>n[t],set:e=>n[t]=e})}))}else t.exposed||(t.exposed={});C&&t.render===a&&(t.render=C),null!=M&&(t.inheritAttrs=M),L&&(t.components=L),j&&(t.directives=j),E&&Jn(t)}(t)}finally{wt(),e()}}}const Ao={get:(t,e)=>(Lt(t,0,""),t[e])};function Oo(t){return{attrs:new Proxy(t.attrs,Ao),slots:t.slots,emit:t.emit,expose:e=>{t.exposed=e||{}}}}function To(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Ve(Le(t.exposed)),{get:(e,n)=>n in e?e[n]:n in ji?ji[n](t):void 0,has:(t,e)=>e in t||e in ji})):t.proxy}function Eo(t,e=!0){return b(t)?t.displayName||t.name:t.name||e&&t.__name}const Po=(t,e)=>{const n=function(t,e,n=!1){let i,r;return b(t)?i=t:(i=t.get,r=t.set),new Ge(i,r,n)}(t,0,So);return n};function Mo(t,e,n){const i=arguments.length;return 2===i?w(e)&&!g(e)?Kr(e)?eo(t,null,[e]):eo(t,e):eo(t,null,e):(i>3?n=Array.prototype.slice.call(arguments,2):3===i&&Kr(n)&&(n=[n]),eo(t,e,n))}const Lo="3.5.9";let jo;const Do="undefined"!=typeof window&&window.trustedTypes;if(Do)try{jo=Do.createPolicy("vue",{createHTML:t=>t})}catch(dd){}const $o=jo?t=>jo.createHTML(t):t=>t,Ro="undefined"!=typeof document?document:null,Io=Ro&&Ro.createElement("template"),No={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,i)=>{const r="svg"===e?Ro.createElementNS("http://www.w3.org/2000/svg",t):"mathml"===e?Ro.createElementNS("http://www.w3.org/1998/Math/MathML",t):n?Ro.createElement(t,{is:n}):Ro.createElement(t);return"select"===t&&i&&null!=i.multiple&&r.setAttribute("multiple",i.multiple),r},createText:t=>Ro.createTextNode(t),createComment:t=>Ro.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Ro.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,i,r,o){const s=n?n.previousSibling:e.lastChild;if(r&&(r===o||r.nextSibling))for(;e.insertBefore(r.cloneNode(!0),n),r!==o&&(r=r.nextSibling););else{Io.innerHTML=$o("svg"===i?`<svg>${t}</svg>`:"mathml"===i?`<math>${t}</math>`:t);const r=Io.content;if("svg"===i||"mathml"===i){const t=r.firstChild;for(;t.firstChild;)r.appendChild(t.firstChild);r.removeChild(t)}e.insertBefore(r,n)}return[s?s.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},Bo="transition",Fo="animation",zo=Symbol("_vtc"),Vo={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Wo=h({},Fn,Vo),Ho=(t=>(t.displayName="Transition",t.props=Wo,t))(((t,{slots:e})=>Mo(Hn,function(t){const e={};for(const n in t)n in Vo||(e[n]=t[n]);if(!1===t.css)return e;const{name:n="v",type:i,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=s,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=t,g=function(t){if(null==t)return null;if(w(t))return[Go(t.enter),Go(t.leave)];{const e=Go(t);return[e,e]}}(r),m=g&&g[0],v=g&&g[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:x,onLeaveCancelled:S,onBeforeAppear:k=y,onAppear:C=b,onAppearCancelled:A=_}=e,O=(t,e,n)=>{Yo(t,e?u:a),Yo(t,e?c:s),n&&n()},T=(t,e)=>{t._isLeaving=!1,Yo(t,d),Yo(t,f),Yo(t,p),e&&e()},E=t=>(e,n)=>{const r=t?C:b,s=()=>O(e,t,n);Uo(r,[e,s]),Ko((()=>{Yo(e,t?l:o),Xo(e,t?u:a),qo(r)||Jo(e,i,m,s)}))};return h(e,{onBeforeEnter(t){Uo(y,[t]),Xo(t,o),Xo(t,s)},onBeforeAppear(t){Uo(k,[t]),Xo(t,l),Xo(t,c)},onEnter:E(!1),onAppear:E(!0),onLeave(t,e){t._isLeaving=!0;const n=()=>T(t,e);Xo(t,d),Xo(t,p),document.body.offsetHeight,Ko((()=>{t._isLeaving&&(Yo(t,d),Xo(t,f),qo(x)||Jo(t,i,v,n))})),Uo(x,[t,n])},onEnterCancelled(t){O(t,!1),Uo(_,[t])},onAppearCancelled(t){O(t,!0),Uo(A,[t])},onLeaveCancelled(t){T(t),Uo(S,[t])}})}(t),e))),Uo=(t,e=[])=>{g(t)?t.forEach((t=>t(...e))):t&&t(...e)},qo=t=>!!t&&(g(t)?t.some((t=>t.length>1)):t.length>1);function Go(t){return(t=>{const e=_(t)?Number(t):NaN;return isNaN(e)?t:e})(t)}function Xo(t,e){e.split(/\s+/).forEach((e=>e&&t.classList.add(e))),(t[zo]||(t[zo]=new Set)).add(e)}function Yo(t,e){e.split(/\s+/).forEach((e=>e&&t.classList.remove(e)));const n=t[zo];n&&(n.delete(e),n.size||(t[zo]=void 0))}function Ko(t){requestAnimationFrame((()=>{requestAnimationFrame(t)}))}let Zo=0;function Jo(t,e,n,i){const r=t._endId=++Zo,o=()=>{r===t._endId&&i()};if(null!=n)return setTimeout(o,n);const{type:s,timeout:a,propCount:l}=function(t,e){const n=window.getComputedStyle(t),i=t=>(n[t]||"").split(", "),r=i(`${Bo}Delay`),o=i(`${Bo}Duration`),s=Qo(r,o),a=i(`${Fo}Delay`),l=i(`${Fo}Duration`),c=Qo(a,l);let u=null,h=0,d=0;return e===Bo?s>0&&(u=Bo,h=s,d=o.length):e===Fo?c>0&&(u=Fo,h=c,d=l.length):(h=Math.max(s,c),u=h>0?s>c?Bo:Fo:null,d=u?u===Bo?o.length:l.length:0),{type:u,timeout:h,propCount:d,hasTransform:u===Bo&&/\b(transform|all)(,|$)/.test(i(`${Bo}Property`).toString())}}(t,e);if(!s)return i();const c=s+"end";let u=0;const h=()=>{t.removeEventListener(c,d),o()},d=e=>{e.target===t&&++u>=l&&h()};setTimeout((()=>{u<l&&h()}),a+1),t.addEventListener(c,d)}function Qo(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map(((e,n)=>ts(e)+ts(t[n]))))}function ts(t){return"auto"===t?0:1e3*Number(t.slice(0,-1).replace(",","."))}const es=Symbol("_vod"),ns=Symbol("_vsh"),is={beforeMount(t,{value:e},{transition:n}){t[es]="none"===t.style.display?"":t.style.display,n&&e?n.beforeEnter(t):rs(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:i}){!e!=!n&&(i?e?(i.beforeEnter(t),rs(t,!0),i.enter(t)):i.leave(t,(()=>{rs(t,!1)})):rs(t,e))},beforeUnmount(t,{value:e}){rs(t,e)}};function rs(t,e){t.style.display=e?t[es]:"none",t[ns]=!e}const os=Symbol("");function ss(t){const e=go();if(!e)return;const n=e.ut=(n=t(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach((t=>ls(t,n)))},i=()=>{const i=t(e.proxy);e.ce?ls(e.ce,i):as(e.subTree,i),n(i)};hi((()=>{Ar(i,null,{flush:"post"})})),di((()=>{const t=new MutationObserver(i);t.observe(e.subTree.el.parentNode,{childList:!0}),mi((()=>t.disconnect()))}))}function as(t,e){if(128&t.shapeFlag){const n=t.suspense;t=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{as(n.activeBranch,e)}))}for(;t.component;)t=t.component.subTree;if(1&t.shapeFlag&&t.el)ls(t.el,e);else if(t.type===Nr)t.children.forEach((t=>as(t,e)));else if(t.type===zr){let{el:n,anchor:i}=t;for(;n&&(ls(n,e),n!==i);)n=n.nextSibling}}function ls(t,e){if(1===t.nodeType){const n=t.style;let i="";for(const t in e)n.setProperty(`--${t}`,e[t]),i+=`--${t}: ${e[t]};`;n[os]=i}}const cs=/(^|;)\s*display\s*:/,us=/\s*!important$/;function hs(t,e,n){if(g(n))n.forEach((n=>hs(t,e,n)));else if(null==n&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const i=function(t,e){const n=ps[e];if(n)return n;let i=M(e);if("filter"!==i&&i in t)return ps[e]=i;i=D(i);for(let n=0;n<ds.length;n++){const r=ds[n]+i;if(r in t)return ps[e]=r}return e}(t,e);us.test(n)?t.setProperty(j(i),n.replace(us,""),"important"):t[i]=n}}const ds=["Webkit","Moz","ms"],ps={},fs="http://www.w3.org/1999/xlink";function gs(t,e,n,i,r,o=Y(e)){i&&e.startsWith("xlink:")?null==n?t.removeAttributeNS(fs,e.slice(6,e.length)):t.setAttributeNS(fs,e,n):null==n||o&&!K(n)?t.removeAttribute(e):t.setAttribute(e,o?"":x(n)?String(n):n)}function ms(t,e,n,i){t.addEventListener(e,n,i)}const vs=Symbol("_vei");const ys=/(?:Once|Passive|Capture)$/;let bs=0;const _s=Promise.resolve(),xs=()=>bs||(_s.then((()=>bs=0)),bs=Date.now()),ws=t=>111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123;function Ss(t="$style"){{const e=go();if(!e)return o;const n=e.type.__cssModules;if(!n)return o;return n[t]||o}}"undefined"!=typeof HTMLElement&&HTMLElement,Symbol("_moveCb"),Symbol("_enterCb");const ks=t=>{const e=t.props["onUpdate:modelValue"]||!1;return g(e)?t=>I(e,t):e};function Cs(t){t.target.composing=!0}function As(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Os=Symbol("_assign"),Ts={created(t,{modifiers:{lazy:e,trim:n,number:i}},r){t[Os]=ks(r);const o=i||r.props&&"number"===r.props.type;ms(t,e?"change":"input",(e=>{if(e.target.composing)return;let i=t.value;n&&(i=i.trim()),o&&(i=B(i)),t[Os](i)})),n&&ms(t,"change",(()=>{t.value=t.value.trim()})),e||(ms(t,"compositionstart",Cs),ms(t,"compositionend",As),ms(t,"change",As))},mounted(t,{value:e}){t.value=null==e?"":e},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:i,trim:r,number:o}},s){if(t[Os]=ks(s),t.composing)return;const a=null==e?"":e;if((!o&&"number"!==t.type||/^0\d/.test(t.value)?t.value:B(t.value))!==a){if(document.activeElement===t&&"range"!==t.type){if(i&&e===n)return;if(r&&t.value.trim()===a)return}t.value=a}}},Es={deep:!0,created(t,e,n){t[Os]=ks(n),ms(t,"change",(()=>{const e=t._modelValue,n=function(t){return"_value"in t?t._value:t.value}(t),i=t.checked,r=t[Os];if(g(e)){const t=J(e,n),o=-1!==t;if(i&&!o)r(e.concat(n));else if(!i&&o){const n=[...e];n.splice(t,1),r(n)}}else if(v(e)){const t=new Set(e);i?t.add(n):t.delete(n),r(t)}else r(Ms(t,i))}))},mounted:Ps,beforeUpdate(t,e,n){t[Os]=ks(n),Ps(t,e,n)}};function Ps(t,{value:e},n){let i;t._modelValue=e,i=g(e)?J(e,n.props.value)>-1:v(e)?e.has(n.props.value):Z(e,Ms(t,!0)),t.checked!==i&&(t.checked=i)}function Ms(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const Ls=["ctrl","shift","alt","meta"],js={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&0!==t.button,middle:t=>"button"in t&&1!==t.button,right:t=>"button"in t&&2!==t.button,exact:(t,e)=>Ls.some((n=>t[`${n}Key`]&&!e.includes(n)))},Ds=(t,e)=>{const n=t._withMods||(t._withMods={}),i=e.join(".");return n[i]||(n[i]=(n,...i)=>{for(let t=0;t<e.length;t++){const i=js[e[t]];if(i&&i(n,e))return}return t(n,...i)})},$s={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Rs=(t,e)=>{const n=t._withKeys||(t._withKeys={}),i=e.join(".");return n[i]||(n[i]=n=>{if(!("key"in n))return;const i=j(n.key);return e.some((t=>t===i||$s[t]===i))?t(n):void 0})},Is=h({patchProp:(t,e,n,i,r,o)=>{const s="svg"===r;"class"===e?function(t,e,n){const i=t[zo];i&&(e=(e?[e,...i]:[...i]).join(" ")),null==e?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}(t,i,s):"style"===e?function(t,e,n){const i=t.style,r=_(n);let o=!1;if(n&&!r){if(e)if(_(e))for(const t of e.split(";")){const e=t.slice(0,t.indexOf(":")).trim();null==n[e]&&hs(i,e,"")}else for(const t in e)null==n[t]&&hs(i,t,"");for(const t in n)"display"===t&&(o=!0),hs(i,t,n[t])}else if(r){if(e!==n){const t=i[os];t&&(n+=";"+t),i.cssText=n,o=cs.test(n)}}else e&&t.removeAttribute("style");es in t&&(t[es]=o?i.display:"",t[ns]&&(i.display="none"))}(t,n,i):c(e)?u(e)||function(t,e,n,i,r=null){const o=t[vs]||(t[vs]={}),s=o[e];if(i&&s)s.value=i;else{const[n,a]=function(t){let e;if(ys.test(t)){let n;for(e={};n=t.match(ys);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[":"===t[2]?t.slice(3):j(t.slice(2)),e]}(e);if(i){const s=o[e]=function(t,e){const n=t=>{if(t._vts){if(t._vts<=n.attached)return}else t._vts=Date.now();Qe(function(t,e){if(g(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map((t=>e=>!e._stopped&&t&&t(e)))}return e}(t,n.value),e,5,[t])};return n.value=t,n.attached=xs(),n}(i,r);ms(t,n,s,a)}else s&&(function(t,e,n,i){t.removeEventListener(e,n,i)}(t,n,s,a),o[e]=void 0)}}(t,e,0,i,o):("."===e[0]?(e=e.slice(1),1):"^"===e[0]?(e=e.slice(1),0):function(t,e,n,i){if(i)return"innerHTML"===e||"textContent"===e||!!(e in t&&ws(e)&&b(n));if("spellcheck"===e||"draggable"===e||"translate"===e)return!1;if("form"===e)return!1;if("list"===e&&"INPUT"===t.tagName)return!1;if("type"===e&&"TEXTAREA"===t.tagName)return!1;if("width"===e||"height"===e){const e=t.tagName;if("IMG"===e||"VIDEO"===e||"CANVAS"===e||"SOURCE"===e)return!1}return(!ws(e)||!_(n))&&(e in t||!(!t._isVueCE||!/[A-Z]/.test(e)&&_(n)))}(t,e,i,s))?(function(t,e,n){if("innerHTML"===e||"textContent"===e)return void(null!=n&&(t[e]="innerHTML"===e?$o(n):n));const i=t.tagName;if("value"===e&&"PROGRESS"!==i&&!i.includes("-")){const r="OPTION"===i?t.getAttribute("value")||"":t.value,o=null==n?"checkbox"===t.type?"on":"":String(n);return r===o&&"_value"in t||(t.value=o),null==n&&t.removeAttribute(e),void(t._value=n)}let r=!1;if(""===n||null==n){const i=typeof t[e];"boolean"===i?n=K(n):null==n&&"string"===i?(n="",r=!0):"number"===i&&(n=0,r=!0)}try{t[e]=n}catch(t){}r&&t.removeAttribute(e)}(t,e,i),t.tagName.includes("-")||"value"!==e&&"checked"!==e&&"selected"!==e||gs(t,e,i,s,0,"value"!==e)):("true-value"===e?t._trueValue=i:"false-value"===e&&(t._falseValue=i),gs(t,e,i,s))}},No);let Ns;const Bs=(...t)=>{const e=(Ns||(Ns=mr(Is))).createApp(...t),{mount:n}=e;return e.mount=t=>{const i=function(t){if(_(t))return document.querySelector(t);return t}(t);if(!i)return;const r=e._component;b(r)||r.render||r.template||(r.template=i.innerHTML),1===i.nodeType&&(i.textContent="");const o=n(i,!1,function(t){return t instanceof SVGElement?"svg":"function"==typeof MathMLElement&&t instanceof MathMLElement?"mathml":void 0}(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e};var Fs=n(60);const zs={},Vs=(0,Fs.A)(zs,[["render",function(t,e){const n=wi("router-view");return Hr(),Xr("div",null,[eo(n)])}]]);function Ws(){return"undefined"!=typeof navigator&&"undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:{}}const Hs="function"==typeof Proxy;let Us,qs;class Gs{constructor(t,e){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=e;const n={};if(t.settings)for(const e in t.settings){const i=t.settings[e];n[e]=i.defaultValue}const i=`__vue-devtools-plugin-settings__${t.id}`;let r=Object.assign({},n);try{const t=localStorage.getItem(i),e=JSON.parse(t);Object.assign(r,e)}catch(t){}this.fallbacks={getSettings:()=>r,setSettings(t){try{localStorage.setItem(i,JSON.stringify(t))}catch(t){}r=t},now:()=>{return void 0!==Us||("undefined"!=typeof window&&window.performance?(Us=!0,qs=window.performance):"undefined"!=typeof globalThis&&(null===(t=globalThis.perf_hooks)||void 0===t?void 0:t.performance)?(Us=!0,qs=globalThis.perf_hooks.performance):Us=!1),Us?qs.now():Date.now();var t}},e&&e.on("plugin:settings:set",((t,e)=>{t===this.plugin.id&&this.fallbacks.setSettings(e)})),this.proxiedOn=new Proxy({},{get:(t,e)=>this.target?this.target.on[e]:(...t)=>{this.onQueue.push({method:e,args:t})}}),this.proxiedTarget=new Proxy({},{get:(t,e)=>this.target?this.target[e]:"on"===e?this.proxiedOn:Object.keys(this.fallbacks).includes(e)?(...t)=>(this.targetQueue.push({method:e,args:t,resolve:()=>{}}),this.fallbacks[e](...t)):(...t)=>new Promise((n=>{this.targetQueue.push({method:e,args:t,resolve:n})}))})}async setRealTarget(t){this.target=t;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function Xs(t,e){const n=t,i=Ws(),r=Ws().__VUE_DEVTOOLS_GLOBAL_HOOK__,o=Hs&&n.enableEarlyProxy;if(!r||!i.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&o){const t=o?new Gs(n,r):null;(i.__VUE_DEVTOOLS_PLUGINS__=i.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:e,proxy:t}),t&&e(t.proxiedTarget)}else r.emit("devtools-plugin:setup",t,e)}function Ys(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function Ks(t){return null!==t&&"object"==typeof t}function Zs(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function Js(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;ta(t,n,[],t._modules.root,!0),Qs(t,n,e)}function Qs(t,e,n){var i=t._state,r=t._scope;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,s={},a={},l=new ot(!0);l.run((function(){Ys(o,(function(e,n){s[n]=function(t,e){return function(){return t(e)}}(e,t),a[n]=Po((function(){return s[n]()})),Object.defineProperty(t.getters,n,{get:function(){return a[n].value},enumerable:!0})}))})),t._state=Se({data:e}),t._scope=l,t.strict&&function(t){Cr((function(){return t._state.data}),(function(){}),{deep:!0,flush:"sync"})}(t),i&&n&&t._withCommit((function(){i.data=null})),r&&r.stop()}function ta(t,e,n,i,r){var o=!n.length,s=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=i),!o&&!r){var a=na(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit((function(){a[l]=i.state}))}var c=i.context=function(t,e,n){var i=""===e,r={dispatch:i?t.dispatch:function(n,i,r){var o=ia(n,i,r),s=o.payload,a=o.options,l=o.type;return a&&a.root||(l=e+l),t.dispatch(l,s)},commit:i?t.commit:function(n,i,r){var o=ia(n,i,r),s=o.payload,a=o.options,l=o.type;a&&a.root||(l=e+l),t.commit(l,s,a)}};return Object.defineProperties(r,{getters:{get:i?function(){return t.getters}:function(){return ea(t,e)}},state:{get:function(){return na(t.state,n)}}}),r}(t,s,n);i.forEachMutation((function(e,n){!function(t,e,n,i){(t._mutations[e]||(t._mutations[e]=[])).push((function(e){n.call(t,i.state,e)}))}(t,s+n,e,c)})),i.forEachAction((function(e,n){var i=e.root?n:s+n,r=e.handler||e;!function(t,e,n,i){(t._actions[e]||(t._actions[e]=[])).push((function(e){var r,o=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return(r=o)&&"function"==typeof r.then||(o=Promise.resolve(o)),t._devtoolHook?o.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):o}))}(t,i,r,c)})),i.forEachGetter((function(e,n){!function(t,e,n,i){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)})}(t,s+n,e,c)})),i.forEachChild((function(i,o){ta(t,e,n.concat(o),i,r)}))}function ea(t,e){if(!t._makeLocalGettersCache[e]){var n={},i=e.length;Object.keys(t.getters).forEach((function(r){if(r.slice(0,i)===e){var o=r.slice(i);Object.defineProperty(n,o,{get:function(){return t.getters[r]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function na(t,e){return e.reduce((function(t,e){return t[e]}),t)}function ia(t,e,n){return Ks(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}var ra="vuex:mutations",oa="vuex:actions",sa="vuex",aa=0;function la(t,e){Xs({id:"org.vuejs.vuex",app:t,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:["vuex bindings"]},(function(n){n.addTimelineLayer({id:ra,label:"Vuex Mutations",color:ca}),n.addTimelineLayer({id:oa,label:"Vuex Actions",color:ca}),n.addInspector({id:sa,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree((function(n){if(n.app===t&&n.inspectorId===sa)if(n.filter){var i=[];pa(i,e._modules.root,n.filter,""),n.rootNodes=i}else n.rootNodes=[da(e._modules.root,"")]})),n.on.getInspectorState((function(n){if(n.app===t&&n.inspectorId===sa){var i=n.nodeId;ea(e,i),n.state=function(t,e,n){e="root"===n?e:e[n];var i=Object.keys(e),r={state:Object.keys(t.state).map((function(e){return{key:e,editable:!0,value:t.state[e]}}))};if(i.length){var o=function(t){var e={};return Object.keys(t).forEach((function(n){var i=n.split("/");if(i.length>1){var r=e,o=i.pop();i.forEach((function(t){r[t]||(r[t]={_custom:{value:{},display:t,tooltip:"Module",abstract:!0}}),r=r[t]._custom.value})),r[o]=fa((function(){return t[n]}))}else e[n]=fa((function(){return t[n]}))})),e}(e);r.getters=Object.keys(o).map((function(t){return{key:t.endsWith("/")?ha(t):t,editable:!1,value:fa((function(){return o[t]}))}}))}return r}((r=e._modules,(s=(o=i).split("/").filter((function(t){return t}))).reduce((function(t,e,n){var i=t[e];if(!i)throw new Error('Missing module "'+e+'" for path "'+o+'".');return n===s.length-1?i:i._children}),"root"===o?r:r.root._children)),"root"===i?e.getters:e._makeLocalGettersCache,i)}var r,o,s})),n.on.editInspectorState((function(n){if(n.app===t&&n.inspectorId===sa){var i=n.nodeId,r=n.path;"root"!==i&&(r=i.split("/").filter(Boolean).concat(r)),e._withCommit((function(){n.set(e._state.data,r,n.state.value)}))}})),e.subscribe((function(t,e){var i={};t.payload&&(i.payload=t.payload),i.state=e,n.notifyComponentUpdate(),n.sendInspectorTree(sa),n.sendInspectorState(sa),n.addTimelineEvent({layerId:ra,event:{time:Date.now(),title:t.type,data:i}})})),e.subscribeAction({before:function(t,e){var i={};t.payload&&(i.payload=t.payload),t._id=aa++,t._time=Date.now(),i.state=e,n.addTimelineEvent({layerId:oa,event:{time:t._time,title:t.type,groupId:t._id,subtitle:"start",data:i}})},after:function(t,e){var i={},r=Date.now()-t._time;i.duration={_custom:{type:"duration",display:r+"ms",tooltip:"Action duration",value:r}},t.payload&&(i.payload=t.payload),i.state=e,n.addTimelineEvent({layerId:oa,event:{time:Date.now(),title:t.type,groupId:t._id,subtitle:"end",data:i}})}})}))}var ca=8702998,ua={label:"namespaced",textColor:16777215,backgroundColor:6710886};function ha(t){return t&&"root"!==t?t.split("/").slice(-2,-1)[0]:"Root"}function da(t,e){return{id:e||"root",label:ha(e),tags:t.namespaced?[ua]:[],children:Object.keys(t._children).map((function(n){return da(t._children[n],e+n+"/")}))}}function pa(t,e,n,i){i.includes(n)&&t.push({id:i||"root",label:i.endsWith("/")?i.slice(0,i.length-1):i||"Root",tags:e.namespaced?[ua]:[]}),Object.keys(e._children).forEach((function(r){pa(t,e._children[r],n,i+r+"/")}))}function fa(t){try{return t()}catch(t){return t}}var ga=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},ma={namespaced:{configurable:!0}};ma.namespaced.get=function(){return!!this._rawModule.namespaced},ga.prototype.addChild=function(t,e){this._children[t]=e},ga.prototype.removeChild=function(t){delete this._children[t]},ga.prototype.getChild=function(t){return this._children[t]},ga.prototype.hasChild=function(t){return t in this._children},ga.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},ga.prototype.forEachChild=function(t){Ys(this._children,t)},ga.prototype.forEachGetter=function(t){this._rawModule.getters&&Ys(this._rawModule.getters,t)},ga.prototype.forEachAction=function(t){this._rawModule.actions&&Ys(this._rawModule.actions,t)},ga.prototype.forEachMutation=function(t){this._rawModule.mutations&&Ys(this._rawModule.mutations,t)},Object.defineProperties(ga.prototype,ma);var va=function(t){this.register([],t,!1)};function ya(t,e,n){if(e.update(n),n.modules)for(var i in n.modules){if(!e.getChild(i))return;ya(t.concat(i),e.getChild(i),n.modules[i])}}va.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},va.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},va.prototype.update=function(t){ya([],this.root,t)},va.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var r=new ga(e,n);0===t.length?this.root=r:this.get(t.slice(0,-1)).addChild(t[t.length-1],r),e.modules&&Ys(e.modules,(function(e,r){i.register(t.concat(r),e,n)}))},va.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],i=e.getChild(n);i&&i.runtime&&e.removeChild(n)},va.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var ba=function(t){var e=this;void 0===t&&(t={});var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1);var r=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new va(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=r;var o=this,s=this.dispatch,a=this.commit;this.dispatch=function(t,e){return s.call(o,t,e)},this.commit=function(t,e,n){return a.call(o,t,e,n)},this.strict=i;var l=this._modules.root.state;ta(this,l,[],this._modules.root),Qs(this,l),n.forEach((function(t){return t(e)}))},_a={state:{configurable:!0}};function xa(t){return function(t){return Array.isArray(t)||Ks(t)}(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function wa(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function Sa(t,e,n){return t._modulesNamespaceMap[n]}ba.prototype.install=function(t,e){t.provide(e||"store",this),t.config.globalProperties.$store=this,(void 0!==this._devtools?this._devtools:__VUE_PROD_DEVTOOLS__)&&la(t,this)},_a.state.get=function(){return this._state.data},_a.state.set=function(t){},ba.prototype.commit=function(t,e,n){var i=this,r=ia(t,e,n),o=r.type,s=r.payload,a=(r.options,{type:o,payload:s}),l=this._mutations[o];l&&(this._withCommit((function(){l.forEach((function(t){t(s)}))})),this._subscribers.slice().forEach((function(t){return t(a,i.state)})))},ba.prototype.dispatch=function(t,e){var n=this,i=ia(t,e),r=i.type,o=i.payload,s={type:r,payload:o},a=this._actions[r];if(a){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(s,n.state)}))}catch(t){}var l=a.length>1?Promise.all(a.map((function(t){return t(o)}))):a[0](o);return new Promise((function(t,e){l.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(s,n.state)}))}catch(t){}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(s,n.state,t)}))}catch(t){}e(t)}))}))}},ba.prototype.subscribe=function(t,e){return Zs(t,this._subscribers,e)},ba.prototype.subscribeAction=function(t,e){return Zs("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},ba.prototype.watch=function(t,e,n){var i=this;return Cr((function(){return t(i.state,i.getters)}),e,Object.assign({},n))},ba.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._state.data=t}))},ba.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),ta(this,this.state,t,this._modules.get(t),n.preserveState),Qs(this,this.state)},ba.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){delete na(e.state,t.slice(0,-1))[t[t.length-1]]})),Js(this)},ba.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},ba.prototype.hotUpdate=function(t){this._modules.update(t),Js(this,!0)},ba.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(ba.prototype,_a),wa((function(t,e){var n={};return xa(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=Sa(this.$store,0,t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"==typeof r?r.call(this,e,n):e[r]},n[i].vuex=!0})),n})),wa((function(t,e){var n={};return xa(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var i=this.$store.commit;if(t){var o=Sa(this.$store,0,t);if(!o)return;i=o.context.commit}return"function"==typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n})),wa((function(t,e){var n={};return xa(e).forEach((function(e){var i=e.key,r=e.val;r=t+r,n[i]=function(){if(!t||Sa(this.$store,0,t))return this.$store.getters[r]},n[i].vuex=!0})),n})),wa((function(t,e){var n={};return xa(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var i=this.$store.dispatch;if(t){var o=Sa(this.$store,0,t);if(!o)return;i=o.context.dispatch}return"function"==typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n}));var ka=n(822),Ca=n.n(ka),Aa=n(711),Oa=n.n(Aa);function Ta(t,e){return function(){return t.apply(e,arguments)}}const{toString:Ea}=Object.prototype,{getPrototypeOf:Pa}=Object,Ma=(La=Object.create(null),t=>{const e=Ea.call(t);return La[e]||(La[e]=e.slice(8,-1).toLowerCase())});var La;const ja=t=>(t=t.toLowerCase(),e=>Ma(e)===t),Da=t=>e=>typeof e===t,{isArray:$a}=Array,Ra=Da("undefined"),Ia=ja("ArrayBuffer"),Na=Da("string"),Ba=Da("function"),Fa=Da("number"),za=t=>null!==t&&"object"==typeof t,Va=t=>{if("object"!==Ma(t))return!1;const e=Pa(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},Wa=ja("Date"),Ha=ja("File"),Ua=ja("Blob"),qa=ja("FileList"),Ga=ja("URLSearchParams"),[Xa,Ya,Ka,Za]=["ReadableStream","Request","Response","Headers"].map(ja);function Ja(t,e,{allOwnKeys:n=!1}={}){if(null==t)return;let i,r;if("object"!=typeof t&&(t=[t]),$a(t))for(i=0,r=t.length;i<r;i++)e.call(null,t[i],i,t);else{const r=n?Object.getOwnPropertyNames(t):Object.keys(t),o=r.length;let s;for(i=0;i<o;i++)s=r[i],e.call(null,t[s],s,t)}}function Qa(t,e){e=e.toLowerCase();const n=Object.keys(t);let i,r=n.length;for(;r-- >0;)if(i=n[r],e===i.toLowerCase())return i;return null}const tl="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,el=t=>!Ra(t)&&t!==tl,nl=(il="undefined"!=typeof Uint8Array&&Pa(Uint8Array),t=>il&&t instanceof il);var il;const rl=ja("HTMLFormElement"),ol=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),sl=ja("RegExp"),al=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),i={};Ja(n,((n,r)=>{let o;!1!==(o=e(n,r,t))&&(i[r]=o||n)})),Object.defineProperties(t,i)},ll="abcdefghijklmnopqrstuvwxyz",cl="0123456789",ul={DIGIT:cl,ALPHA:ll,ALPHA_DIGIT:ll+ll.toUpperCase()+cl},hl=ja("AsyncFunction"),dl=(pl="function"==typeof setImmediate,fl=Ba(tl.postMessage),pl?setImmediate:fl?(gl=`axios@${Math.random()}`,ml=[],tl.addEventListener("message",(({source:t,data:e})=>{t===tl&&e===gl&&ml.length&&ml.shift()()}),!1),t=>{ml.push(t),tl.postMessage(gl,"*")}):t=>setTimeout(t));var pl,fl,gl,ml;const vl="undefined"!=typeof queueMicrotask?queueMicrotask.bind(tl):"undefined"!=typeof process&&process.nextTick||dl,yl={isArray:$a,isArrayBuffer:Ia,isBuffer:function(t){return null!==t&&!Ra(t)&&null!==t.constructor&&!Ra(t.constructor)&&Ba(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||Ba(t.append)&&("formdata"===(e=Ma(t))||"object"===e&&Ba(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&Ia(t.buffer),e},isString:Na,isNumber:Fa,isBoolean:t=>!0===t||!1===t,isObject:za,isPlainObject:Va,isReadableStream:Xa,isRequest:Ya,isResponse:Ka,isHeaders:Za,isUndefined:Ra,isDate:Wa,isFile:Ha,isBlob:Ua,isRegExp:sl,isFunction:Ba,isStream:t=>za(t)&&Ba(t.pipe),isURLSearchParams:Ga,isTypedArray:nl,isFileList:qa,forEach:Ja,merge:function t(){const{caseless:e}=el(this)&&this||{},n={},i=(i,r)=>{const o=e&&Qa(n,r)||r;Va(n[o])&&Va(i)?n[o]=t(n[o],i):Va(i)?n[o]=t({},i):$a(i)?n[o]=i.slice():n[o]=i};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&Ja(arguments[t],i);return n},extend:(t,e,n,{allOwnKeys:i}={})=>(Ja(e,((e,i)=>{n&&Ba(e)?t[i]=Ta(e,n):t[i]=e}),{allOwnKeys:i}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,n,i)=>{t.prototype=Object.create(e.prototype,i),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject:(t,e,n,i)=>{let r,o,s;const a={};if(e=e||{},null==t)return e;do{for(r=Object.getOwnPropertyNames(t),o=r.length;o-- >0;)s=r[o],i&&!i(s,t,e)||a[s]||(e[s]=t[s],a[s]=!0);t=!1!==n&&Pa(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kindOf:Ma,kindOfTest:ja,endsWith:(t,e,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;const i=t.indexOf(e,n);return-1!==i&&i===n},toArray:t=>{if(!t)return null;if($a(t))return t;let e=t.length;if(!Fa(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},forEachEntry:(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let i;for(;(i=n.next())&&!i.done;){const n=i.value;e.call(t,n[0],n[1])}},matchAll:(t,e)=>{let n;const i=[];for(;null!==(n=t.exec(e));)i.push(n);return i},isHTMLForm:rl,hasOwnProperty:ol,hasOwnProp:ol,reduceDescriptors:al,freezeMethods:t=>{al(t,((e,n)=>{if(Ba(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const i=t[n];Ba(i)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(t,e)=>{const n={},i=t=>{t.forEach((t=>{n[t]=!0}))};return $a(t)?i(t):i(String(t).split(e)),n},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,n){return e.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(t,e)=>null!=t&&Number.isFinite(t=+t)?t:e,findKey:Qa,global:tl,isContextDefined:el,ALPHABET:ul,generateString:(t=16,e=ul.ALPHA_DIGIT)=>{let n="";const{length:i}=e;for(;t--;)n+=e[Math.random()*i|0];return n},isSpecCompliantForm:function(t){return!!(t&&Ba(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),n=(t,i)=>{if(za(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[i]=t;const r=$a(t)?[]:{};return Ja(t,((t,e)=>{const o=n(t,i+1);!Ra(o)&&(r[e]=o)})),e[i]=void 0,r}}return t};return n(t,0)},isAsyncFn:hl,isThenable:t=>t&&(za(t)||Ba(t))&&Ba(t.then)&&Ba(t.catch),setImmediate:dl,asap:vl};function bl(t,e,n,i,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),i&&(this.request=i),r&&(this.response=r,this.status=r.status?r.status:null)}yl.inherits(bl,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:yl.toJSONObject(this.config),code:this.code,status:this.status}}});const _l=bl.prototype,xl={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{xl[t]={value:t}})),Object.defineProperties(bl,xl),Object.defineProperty(_l,"isAxiosError",{value:!0}),bl.from=(t,e,n,i,r,o)=>{const s=Object.create(_l);return yl.toFlatObject(t,s,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),bl.call(s,t.message,e,n,i,r),s.cause=t,s.name=t.name,o&&Object.assign(s,o),s};const wl=bl;function Sl(t){return yl.isPlainObject(t)||yl.isArray(t)}function kl(t){return yl.endsWith(t,"[]")?t.slice(0,-2):t}function Cl(t,e,n){return t?t.concat(e).map((function(t,e){return t=kl(t),!n&&e?"["+t+"]":t})).join(n?".":""):e}const Al=yl.toFlatObject(yl,{},null,(function(t){return/^is[A-Z]/.test(t)})),Ol=function(t,e,n){if(!yl.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const i=(n=yl.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!yl.isUndefined(e[t])}))).metaTokens,r=n.visitor||c,o=n.dots,s=n.indexes,a=(n.Blob||"undefined"!=typeof Blob&&Blob)&&yl.isSpecCompliantForm(e);if(!yl.isFunction(r))throw new TypeError("visitor must be a function");function l(t){if(null===t)return"";if(yl.isDate(t))return t.toISOString();if(!a&&yl.isBlob(t))throw new wl("Blob is not supported. Use a Buffer instead.");return yl.isArrayBuffer(t)||yl.isTypedArray(t)?a&&"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}function c(t,n,r){let a=t;if(t&&!r&&"object"==typeof t)if(yl.endsWith(n,"{}"))n=i?n:n.slice(0,-2),t=JSON.stringify(t);else if(yl.isArray(t)&&function(t){return yl.isArray(t)&&!t.some(Sl)}(t)||(yl.isFileList(t)||yl.endsWith(n,"[]"))&&(a=yl.toArray(t)))return n=kl(n),a.forEach((function(t,i){!yl.isUndefined(t)&&null!==t&&e.append(!0===s?Cl([n],i,o):null===s?n:n+"[]",l(t))})),!1;return!!Sl(t)||(e.append(Cl(r,n,o),l(t)),!1)}const u=[],h=Object.assign(Al,{defaultVisitor:c,convertValue:l,isVisitable:Sl});if(!yl.isObject(t))throw new TypeError("data must be an object");return function t(n,i){if(!yl.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+i.join("."));u.push(n),yl.forEach(n,(function(n,o){!0===(!(yl.isUndefined(n)||null===n)&&r.call(e,n,yl.isString(o)?o.trim():o,i,h))&&t(n,i?i.concat(o):[o])})),u.pop()}}(t),e};function Tl(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function El(t,e){this._pairs=[],t&&Ol(t,this,e)}const Pl=El.prototype;Pl.append=function(t,e){this._pairs.push([t,e])},Pl.toString=function(t){const e=t?function(e){return t.call(this,e,Tl)}:Tl;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};const Ml=El;function Ll(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function jl(t,e,n){if(!e)return t;const i=n&&n.encode||Ll,r=n&&n.serialize;let o;if(o=r?r(e,n):yl.isURLSearchParams(e)?e.toString():new Ml(e,n).toString(i),o){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}const Dl=class{constructor(){this.handlers=[]}use(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){yl.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},$l={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Rl={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Ml,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},Il="undefined"!=typeof window&&"undefined"!=typeof document,Nl="object"==typeof navigator&&navigator||void 0,Bl=Il&&(!Nl||["ReactNative","NativeScript","NS"].indexOf(Nl.product)<0),Fl="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,zl=Il&&window.location.href||"http://localhost",Vl={...t,...Rl},Wl=function(t){function e(t,n,i,r){let o=t[r++];if("__proto__"===o)return!0;const s=Number.isFinite(+o),a=r>=t.length;return o=!o&&yl.isArray(i)?i.length:o,a?(yl.hasOwnProp(i,o)?i[o]=[i[o],n]:i[o]=n,!s):(i[o]&&yl.isObject(i[o])||(i[o]=[]),e(t,n,i[o],r)&&yl.isArray(i[o])&&(i[o]=function(t){const e={},n=Object.keys(t);let i;const r=n.length;let o;for(i=0;i<r;i++)o=n[i],e[o]=t[o];return e}(i[o])),!s)}if(yl.isFormData(t)&&yl.isFunction(t.entries)){const n={};return yl.forEachEntry(t,((t,i)=>{e(function(t){return yl.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),i,n,0)})),n}return null},Hl={transitional:$l,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const n=e.getContentType()||"",i=n.indexOf("application/json")>-1,r=yl.isObject(t);if(r&&yl.isHTMLForm(t)&&(t=new FormData(t)),yl.isFormData(t))return i?JSON.stringify(Wl(t)):t;if(yl.isArrayBuffer(t)||yl.isBuffer(t)||yl.isStream(t)||yl.isFile(t)||yl.isBlob(t)||yl.isReadableStream(t))return t;if(yl.isArrayBufferView(t))return t.buffer;if(yl.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(r){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return Ol(t,new Vl.classes.URLSearchParams,Object.assign({visitor:function(t,e,n,i){return Vl.isNode&&yl.isBuffer(t)?(this.append(e,t.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((o=yl.isFileList(t))||n.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return Ol(o?{"files[]":t}:t,e&&new e,this.formSerializer)}}return r||i?(e.setContentType("application/json",!1),function(t){if(yl.isString(t))try{return(0,JSON.parse)(t),yl.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||Hl.transitional,n=e&&e.forcedJSONParsing,i="json"===this.responseType;if(yl.isResponse(t)||yl.isReadableStream(t))return t;if(t&&yl.isString(t)&&(n&&!this.responseType||i)){const n=!(e&&e.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(t){if(n){if("SyntaxError"===t.name)throw wl.from(t,wl.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Vl.classes.FormData,Blob:Vl.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};yl.forEach(["delete","get","head","post","put","patch"],(t=>{Hl.headers[t]={}}));const Ul=Hl,ql=yl.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Gl=Symbol("internals");function Xl(t){return t&&String(t).trim().toLowerCase()}function Yl(t){return!1===t||null==t?t:yl.isArray(t)?t.map(Yl):String(t)}function Kl(t,e,n,i,r){return yl.isFunction(i)?i.call(this,e,n):(r&&(e=n),yl.isString(e)?yl.isString(i)?-1!==e.indexOf(i):yl.isRegExp(i)?i.test(e):void 0:void 0)}class Zl{constructor(t){t&&this.set(t)}set(t,e,n){const i=this;function r(t,e,n){const r=Xl(e);if(!r)throw new Error("header name must be a non-empty string");const o=yl.findKey(i,r);(!o||void 0===i[o]||!0===n||void 0===n&&!1!==i[o])&&(i[o||e]=Yl(t))}const o=(t,e)=>yl.forEach(t,((t,n)=>r(t,n,e)));if(yl.isPlainObject(t)||t instanceof this.constructor)o(t,e);else if(yl.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()))o((t=>{const e={};let n,i,r;return t&&t.split("\n").forEach((function(t){r=t.indexOf(":"),n=t.substring(0,r).trim().toLowerCase(),i=t.substring(r+1).trim(),!n||e[n]&&ql[n]||("set-cookie"===n?e[n]?e[n].push(i):e[n]=[i]:e[n]=e[n]?e[n]+", "+i:i)})),e})(t),e);else if(yl.isHeaders(t))for(const[e,i]of t.entries())r(i,e,n);else null!=t&&r(e,t,n);return this}get(t,e){if(t=Xl(t)){const n=yl.findKey(this,t);if(n){const t=this[n];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(t);)e[i[1]]=i[2];return e}(t);if(yl.isFunction(e))return e.call(this,t,n);if(yl.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=Xl(t)){const n=yl.findKey(this,t);return!(!n||void 0===this[n]||e&&!Kl(0,this[n],n,e))}return!1}delete(t,e){const n=this;let i=!1;function r(t){if(t=Xl(t)){const r=yl.findKey(n,t);!r||e&&!Kl(0,n[r],r,e)||(delete n[r],i=!0)}}return yl.isArray(t)?t.forEach(r):r(t),i}clear(t){const e=Object.keys(this);let n=e.length,i=!1;for(;n--;){const r=e[n];t&&!Kl(0,this[r],r,t,!0)||(delete this[r],i=!0)}return i}normalize(t){const e=this,n={};return yl.forEach(this,((i,r)=>{const o=yl.findKey(n,r);if(o)return e[o]=Yl(i),void delete e[r];const s=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,n)=>e.toUpperCase()+n))}(r):String(r).trim();s!==r&&delete e[r],e[s]=Yl(i),n[s]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return yl.forEach(this,((n,i)=>{null!=n&&!1!==n&&(e[i]=t&&yl.isArray(n)?n.join(", "):n)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,e])=>t+": "+e)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const n=new this(t);return e.forEach((t=>n.set(t))),n}static accessor(t){const e=(this[Gl]=this[Gl]={accessors:{}}).accessors,n=this.prototype;function i(t){const i=Xl(t);e[i]||(function(t,e){const n=yl.toCamelCase(" "+e);["get","set","has"].forEach((i=>{Object.defineProperty(t,i+n,{value:function(t,n,r){return this[i].call(this,e,t,n,r)},configurable:!0})}))}(n,t),e[i]=!0)}return yl.isArray(t)?t.forEach(i):i(t),this}}Zl.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),yl.reduceDescriptors(Zl.prototype,(({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[n]=t}}})),yl.freezeMethods(Zl);const Jl=Zl;function Ql(t,e){const n=this||Ul,i=e||n,r=Jl.from(i.headers);let o=i.data;return yl.forEach(t,(function(t){o=t.call(n,o,r.normalize(),e?e.status:void 0)})),r.normalize(),o}function tc(t){return!(!t||!t.__CANCEL__)}function ec(t,e,n){wl.call(this,null==t?"canceled":t,wl.ERR_CANCELED,e,n),this.name="CanceledError"}yl.inherits(ec,wl,{__CANCEL__:!0});const nc=ec;function ic(t,e,n){const i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(new wl("Request failed with status code "+n.status,[wl.ERR_BAD_REQUEST,wl.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}const rc=(t,e,n=3)=>{let i=0;const r=function(t,e){t=t||10;const n=new Array(t),i=new Array(t);let r,o=0,s=0;return e=void 0!==e?e:1e3,function(a){const l=Date.now(),c=i[s];r||(r=l),n[o]=a,i[o]=l;let u=s,h=0;for(;u!==o;)h+=n[u++],u%=t;if(o=(o+1)%t,o===s&&(s=(s+1)%t),l-r<e)return;const d=c&&l-c;return d?Math.round(1e3*h/d):void 0}}(50,250);return function(t,e){let n,i,r=0,o=1e3/e;const s=(e,o=Date.now())=>{r=o,n=null,i&&(clearTimeout(i),i=null),t.apply(null,e)};return[(...t)=>{const e=Date.now(),a=e-r;a>=o?s(t,e):(n=t,i||(i=setTimeout((()=>{i=null,s(n)}),o-a)))},()=>n&&s(n)]}((n=>{const o=n.loaded,s=n.lengthComputable?n.total:void 0,a=o-i,l=r(a);i=o,t({loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:l||void 0,estimated:l&&s&&o<=s?(s-o)/l:void 0,event:n,lengthComputable:null!=s,[e?"download":"upload"]:!0})}),n)},oc=(t,e)=>{const n=null!=t;return[i=>e[0]({lengthComputable:n,total:t,loaded:i}),e[1]]},sc=t=>(...e)=>yl.asap((()=>t(...e))),ac=Vl.hasStandardBrowserEnv?function(){const t=Vl.navigator&&/(msie|trident)/i.test(Vl.navigator.userAgent),e=document.createElement("a");let n;function i(n){let i=n;return t&&(e.setAttribute("href",i),i=e.href),e.setAttribute("href",i),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return n=i(window.location.href),function(t){const e=yl.isString(t)?i(t):t;return e.protocol===n.protocol&&e.host===n.host}}():function(){return!0},lc=Vl.hasStandardBrowserEnv?{write(t,e,n,i,r,o){const s=[t+"="+encodeURIComponent(e)];yl.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),yl.isString(i)&&s.push("path="+i),yl.isString(r)&&s.push("domain="+r),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function cc(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const uc=t=>t instanceof Jl?{...t}:t;function hc(t,e){e=e||{};const n={};function i(t,e,n){return yl.isPlainObject(t)&&yl.isPlainObject(e)?yl.merge.call({caseless:n},t,e):yl.isPlainObject(e)?yl.merge({},e):yl.isArray(e)?e.slice():e}function r(t,e,n){return yl.isUndefined(e)?yl.isUndefined(t)?void 0:i(void 0,t,n):i(t,e,n)}function o(t,e){if(!yl.isUndefined(e))return i(void 0,e)}function s(t,e){return yl.isUndefined(e)?yl.isUndefined(t)?void 0:i(void 0,t):i(void 0,e)}function a(n,r,o){return o in e?i(n,r):o in t?i(void 0,n):void 0}const l={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(t,e)=>r(uc(t),uc(e),!0)};return yl.forEach(Object.keys(Object.assign({},t,e)),(function(i){const o=l[i]||r,s=o(t[i],e[i],i);yl.isUndefined(s)&&o!==a||(n[i]=s)})),n}const dc=t=>{const e=hc({},t);let n,{data:i,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:s,headers:a,auth:l}=e;if(e.headers=a=Jl.from(a),e.url=jl(cc(e.baseURL,e.url),t.params,t.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),yl.isFormData(i))if(Vl.hasStandardBrowserEnv||Vl.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(n=a.getContentType())){const[t,...e]=n?n.split(";").map((t=>t.trim())).filter(Boolean):[];a.setContentType([t||"multipart/form-data",...e].join("; "))}if(Vl.hasStandardBrowserEnv&&(r&&yl.isFunction(r)&&(r=r(e)),r||!1!==r&&ac(e.url))){const t=o&&s&&lc.read(s);t&&a.set(o,t)}return e},pc="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,n){const i=dc(t);let r=i.data;const o=Jl.from(i.headers).normalize();let s,a,l,c,u,{responseType:h,onUploadProgress:d,onDownloadProgress:p}=i;function f(){c&&c(),u&&u(),i.cancelToken&&i.cancelToken.unsubscribe(s),i.signal&&i.signal.removeEventListener("abort",s)}let g=new XMLHttpRequest;function m(){if(!g)return;const i=Jl.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());ic((function(t){e(t),f()}),(function(t){n(t),f()}),{data:h&&"text"!==h&&"json"!==h?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:i,config:t,request:g}),g=null}g.open(i.method.toUpperCase(),i.url,!0),g.timeout=i.timeout,"onloadend"in g?g.onloadend=m:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(m)},g.onabort=function(){g&&(n(new wl("Request aborted",wl.ECONNABORTED,t,g)),g=null)},g.onerror=function(){n(new wl("Network Error",wl.ERR_NETWORK,t,g)),g=null},g.ontimeout=function(){let e=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const r=i.transitional||$l;i.timeoutErrorMessage&&(e=i.timeoutErrorMessage),n(new wl(e,r.clarifyTimeoutError?wl.ETIMEDOUT:wl.ECONNABORTED,t,g)),g=null},void 0===r&&o.setContentType(null),"setRequestHeader"in g&&yl.forEach(o.toJSON(),(function(t,e){g.setRequestHeader(e,t)})),yl.isUndefined(i.withCredentials)||(g.withCredentials=!!i.withCredentials),h&&"json"!==h&&(g.responseType=i.responseType),p&&([l,u]=rc(p,!0),g.addEventListener("progress",l)),d&&g.upload&&([a,c]=rc(d),g.upload.addEventListener("progress",a),g.upload.addEventListener("loadend",c)),(i.cancelToken||i.signal)&&(s=e=>{g&&(n(!e||e.type?new nc(null,t,g):e),g.abort(),g=null)},i.cancelToken&&i.cancelToken.subscribe(s),i.signal&&(i.signal.aborted?s():i.signal.addEventListener("abort",s)));const v=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(i.url);v&&-1===Vl.protocols.indexOf(v)?n(new wl("Unsupported protocol "+v+":",wl.ERR_BAD_REQUEST,t)):g.send(r||null)}))},fc=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let n,i=new AbortController;const r=function(t){if(!n){n=!0,s();const e=t instanceof Error?t:this.reason;i.abort(e instanceof wl?e:new nc(e instanceof Error?e.message:e))}};let o=e&&setTimeout((()=>{o=null,r(new wl(`timeout ${e} of ms exceeded`,wl.ETIMEDOUT))}),e);const s=()=>{t&&(o&&clearTimeout(o),o=null,t.forEach((t=>{t.unsubscribe?t.unsubscribe(r):t.removeEventListener("abort",r)})),t=null)};t.forEach((t=>t.addEventListener("abort",r)));const{signal:a}=i;return a.unsubscribe=()=>yl.asap(s),a}},gc=function*(t,e){let n=t.byteLength;if(!e||n<e)return void(yield t);let i,r=0;for(;r<n;)i=r+e,yield t.slice(r,i),r=i},mc=(t,e,n,i)=>{const r=async function*(t,e){for await(const n of async function*(t){if(t[Symbol.asyncIterator])return void(yield*t);const e=t.getReader();try{for(;;){const{done:t,value:n}=await e.read();if(t)break;yield n}}finally{await e.cancel()}}(t))yield*gc(n,e)}(t,e);let o,s=0,a=t=>{o||(o=!0,i&&i(t))};return new ReadableStream({async pull(t){try{const{done:e,value:i}=await r.next();if(e)return a(),void t.close();let o=i.byteLength;if(n){let t=s+=o;n(t)}t.enqueue(new Uint8Array(i))}catch(t){throw a(t),t}},cancel:t=>(a(t),r.return())},{highWaterMark:2})},vc="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,yc=vc&&"function"==typeof ReadableStream,bc=vc&&("function"==typeof TextEncoder?(_c=new TextEncoder,t=>_c.encode(t)):async t=>new Uint8Array(await new Response(t).arrayBuffer()));var _c;const xc=(t,...e)=>{try{return!!t(...e)}catch(t){return!1}},wc=yc&&xc((()=>{let t=!1;const e=new Request(Vl.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e})),Sc=yc&&xc((()=>yl.isReadableStream(new Response("").body))),kc={stream:Sc&&(t=>t.body)};var Cc;vc&&(Cc=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((t=>{!kc[t]&&(kc[t]=yl.isFunction(Cc[t])?e=>e[t]():(e,n)=>{throw new wl(`Response type '${t}' is not supported`,wl.ERR_NOT_SUPPORT,n)})})));const Ac=vc&&(async t=>{let{url:e,method:n,data:i,signal:r,cancelToken:o,timeout:s,onDownloadProgress:a,onUploadProgress:l,responseType:c,headers:u,withCredentials:h="same-origin",fetchOptions:d}=dc(t);c=c?(c+"").toLowerCase():"text";let p,f=fc([r,o&&o.toAbortSignal()],s);const g=f&&f.unsubscribe&&(()=>{f.unsubscribe()});let m;try{if(l&&wc&&"get"!==n&&"head"!==n&&0!==(m=await(async(t,e)=>{const n=yl.toFiniteNumber(t.getContentLength());return null==n?(async t=>{if(null==t)return 0;if(yl.isBlob(t))return t.size;if(yl.isSpecCompliantForm(t)){const e=new Request(Vl.origin,{method:"POST",body:t});return(await e.arrayBuffer()).byteLength}return yl.isArrayBufferView(t)||yl.isArrayBuffer(t)?t.byteLength:(yl.isURLSearchParams(t)&&(t+=""),yl.isString(t)?(await bc(t)).byteLength:void 0)})(e):n})(u,i))){let t,n=new Request(e,{method:"POST",body:i,duplex:"half"});if(yl.isFormData(i)&&(t=n.headers.get("content-type"))&&u.setContentType(t),n.body){const[t,e]=oc(m,rc(sc(l)));i=mc(n.body,65536,t,e)}}yl.isString(h)||(h=h?"include":"omit");const r="credentials"in Request.prototype;p=new Request(e,{...d,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:i,duplex:"half",credentials:r?h:void 0});let o=await fetch(p);const s=Sc&&("stream"===c||"response"===c);if(Sc&&(a||s&&g)){const t={};["status","statusText","headers"].forEach((e=>{t[e]=o[e]}));const e=yl.toFiniteNumber(o.headers.get("content-length")),[n,i]=a&&oc(e,rc(sc(a),!0))||[];o=new Response(mc(o.body,65536,n,(()=>{i&&i(),g&&g()})),t)}c=c||"text";let v=await kc[yl.findKey(kc,c)||"text"](o,t);return!s&&g&&g(),await new Promise(((e,n)=>{ic(e,n,{data:v,headers:Jl.from(o.headers),status:o.status,statusText:o.statusText,config:t,request:p})}))}catch(e){if(g&&g(),e&&"TypeError"===e.name&&/fetch/i.test(e.message))throw Object.assign(new wl("Network Error",wl.ERR_NETWORK,t,p),{cause:e.cause||e});throw wl.from(e,e&&e.code,t,p)}}),Oc={http:null,xhr:pc,fetch:Ac};yl.forEach(Oc,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const Tc=t=>`- ${t}`,Ec=t=>yl.isFunction(t)||null===t||!1===t,Pc=t=>{t=yl.isArray(t)?t:[t];const{length:e}=t;let n,i;const r={};for(let o=0;o<e;o++){let e;if(n=t[o],i=n,!Ec(n)&&(i=Oc[(e=String(n)).toLowerCase()],void 0===i))throw new wl(`Unknown adapter '${e}'`);if(i)break;r[e||"#"+o]=i}if(!i){const t=Object.entries(r).map((([t,e])=>`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build")));let n=e?t.length>1?"since :\n"+t.map(Tc).join("\n"):" "+Tc(t[0]):"as no adapter specified";throw new wl("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return i};function Mc(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new nc(null,t)}function Lc(t){return Mc(t),t.headers=Jl.from(t.headers),t.data=Ql.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Pc(t.adapter||Ul.adapter)(t).then((function(e){return Mc(t),e.data=Ql.call(t,t.transformResponse,e),e.headers=Jl.from(e.headers),e}),(function(e){return tc(e)||(Mc(t),e&&e.response&&(e.response.data=Ql.call(t,t.transformResponse,e.response),e.response.headers=Jl.from(e.response.headers))),Promise.reject(e)}))}const jc={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{jc[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));const Dc={};jc.transitional=function(t,e,n){function i(t,e){return"[Axios v1.7.7] Transitional option '"+t+"'"+e+(n?". "+n:"")}return(n,r,o)=>{if(!1===t)throw new wl(i(r," has been removed"+(e?" in "+e:"")),wl.ERR_DEPRECATED);return e&&!Dc[r]&&(Dc[r]=!0,console.warn(i(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,o)}};const $c={assertOptions:function(t,e,n){if("object"!=typeof t)throw new wl("options must be an object",wl.ERR_BAD_OPTION_VALUE);const i=Object.keys(t);let r=i.length;for(;r-- >0;){const o=i[r],s=e[o];if(s){const e=t[o],n=void 0===e||s(e,o,t);if(!0!==n)throw new wl("option "+o+" must be "+n,wl.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new wl("Unknown option "+o,wl.ERR_BAD_OPTION)}},validators:jc},Rc=$c.validators;class Ic{constructor(t){this.defaults=t,this.interceptors={request:new Dl,response:new Dl}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const n=e.stack?e.stack.replace(/^.+\n/,""):"";try{t.stack?n&&!String(t.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+n):t.stack=n}catch(t){}}throw t}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=hc(this.defaults,e);const{transitional:n,paramsSerializer:i,headers:r}=e;void 0!==n&&$c.assertOptions(n,{silentJSONParsing:Rc.transitional(Rc.boolean),forcedJSONParsing:Rc.transitional(Rc.boolean),clarifyTimeoutError:Rc.transitional(Rc.boolean)},!1),null!=i&&(yl.isFunction(i)?e.paramsSerializer={serialize:i}:$c.assertOptions(i,{encode:Rc.function,serialize:Rc.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let o=r&&yl.merge(r.common,r[e.method]);r&&yl.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete r[t]})),e.headers=Jl.concat(o,r);const s=[];let a=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(a=a&&t.synchronous,s.unshift(t.fulfilled,t.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(t){l.push(t.fulfilled,t.rejected)}));let u,h=0;if(!a){const t=[Lc.bind(this),void 0];for(t.unshift.apply(t,s),t.push.apply(t,l),u=t.length,c=Promise.resolve(e);h<u;)c=c.then(t[h++],t[h++]);return c}u=s.length;let d=e;for(h=0;h<u;){const t=s[h++],e=s[h++];try{d=t(d)}catch(t){e.call(this,t);break}}try{c=Lc.call(this,d)}catch(t){return Promise.reject(t)}for(h=0,u=l.length;h<u;)c=c.then(l[h++],l[h++]);return c}getUri(t){return jl(cc((t=hc(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}}yl.forEach(["delete","get","head","options"],(function(t){Ic.prototype[t]=function(e,n){return this.request(hc(n||{},{method:t,url:e,data:(n||{}).data}))}})),yl.forEach(["post","put","patch"],(function(t){function e(e){return function(n,i,r){return this.request(hc(r||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}Ic.prototype[t]=e(),Ic.prototype[t+"Form"]=e(!0)}));const Nc=Ic;class Bc{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise((function(t){e=t}));const n=this;this.promise.then((t=>{if(!n._listeners)return;let e=n._listeners.length;for(;e-- >0;)n._listeners[e](t);n._listeners=null})),this.promise.then=t=>{let e;const i=new Promise((t=>{n.subscribe(t),e=t})).then(t);return i.cancel=function(){n.unsubscribe(e)},i},t((function(t,i,r){n.reason||(n.reason=new nc(t,i,r),e(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}toAbortSignal(){const t=new AbortController,e=e=>{t.abort(e)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let t;return{token:new Bc((function(e){t=e})),cancel:t}}}const Fc=Bc,zc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(zc).forEach((([t,e])=>{zc[e]=t}));const Vc=zc,Wc=function t(e){const n=new Nc(e),i=Ta(Nc.prototype.request,n);return yl.extend(i,Nc.prototype,n,{allOwnKeys:!0}),yl.extend(i,n,null,{allOwnKeys:!0}),i.create=function(n){return t(hc(e,n))},i}(Ul);Wc.Axios=Nc,Wc.CanceledError=nc,Wc.CancelToken=Fc,Wc.isCancel=tc,Wc.VERSION="1.7.7",Wc.toFormData=Ol,Wc.AxiosError=wl,Wc.Cancel=Wc.CanceledError,Wc.all=function(t){return Promise.all(t)},Wc.spread=function(t){return function(e){return t.apply(null,e)}},Wc.isAxiosError=function(t){return yl.isObject(t)&&!0===t.isAxiosError},Wc.mergeConfig=hc,Wc.AxiosHeaders=Jl,Wc.formToJSON=t=>Wl(yl.isHTMLForm(t)?new FormData(t):t),Wc.getAdapter=Pc,Wc.HttpStatusCode=Vc,Wc.default=Wc;const Hc=Wc;var Uc=n(273);const qc=(t,e)=>{return n={state:{fieldData:Ca(),v4Fields:Oa(),ui:e,config:t,errors:void 0,products:{retain:{enabled:!1,selected:!1},insights:{enabled:!1,selected:!1},verify:{enabled:!1,selected:!1}},filters:[],pageScanForbidden:[],pageScanRequired:[],advertiserName:void 0,shouldConfigVerify:!1,navHistory:[]},mutations:{setErrors(t,e){t.errors=e},setProduct(t,{product:e,value:n}){t.products[e]=n},setFilters(t,e){t.filters=e},setPageScan(t,{required:e,forbidden:n}){t.pageScanRequired=e,t.pageScanForbidden=n},setAdvertiserName(t,{advertiserName:e}){t.advertiserName=e},setShouldConfigVerify(t,e){t.shouldConfigVerify=e},setNavHistory(t,e){(0,Uc.includes)(t.navHistory,e)||t.navHistory.push(e)},resetNavHistory(t){t.navHistory=[]}},getters:{getProducts:t=>t.products,getErrors:t=>t.errors,getShouldConfigVerify:t=>t.shouldConfigVerify,getNavHistory:t=>t.navHistory},actions:{cancel(t){t.state.ui.cancel()},getProducts:e=>Hc.get(`account?apiKey=${t.credential.token}`).then((function(t){const n=(0,Uc.get)(t,"data.product_components");["retain","insights","verify"].forEach((function(t){e.commit("setProduct",{product:t,value:{enabled:n.includes(t),selected:!1}})}))})).catch((function(t){401===(0,Uc.get)(t,"response.status")?e.commit("setErrors","no TrustedForm account found for this API key"):e.commit("setErrors",(0,Uc.get)(t,"response.data")||t.message)})),createFilter(t,e){const n=e.rules.map((t=>({op:t.rulesOp,lhv:t.lhv,rhv:t.rhv}))),i={type:"filter",reason:e.reason,outcome:e.outcome,rule_set:{op:"and",rules:n},description:e.description,enabled:!0};t.commit("setFilters",[...t.state.filters,i])},async confirm(e){const{products:n,v4Fields:i,pageScanForbidden:r,pageScanRequired:o,advertiserName:s}=e.state,a={steps:[{type:"recipient",entity:{name:t.entity.name,id:t.entity.id},integration:{module_id:t.integration,mappings:[]}}]};if("leadconduit-trustedform.outbound.trustedform"===t.integration){if(Object.keys(n).forEach((t=>{a.steps[0].integration.mappings.push({property:`trustedform.${t}`,value:n[t].selected?"true":"false"})})),n.insights.selected&&Object.keys(i).forEach((t=>{a.steps[0].integration.mappings.push({property:`insights.${t}`,value:i[t].selected?"true":"false"})})),(0,Uc.castArray)(o).length>0&&a.steps[0].integration.mappings.push({property:"trustedform.scan_required_text",value:Me(o)}),(0,Uc.castArray)(r).length>0&&a.steps[0].integration.mappings.push({property:"trustedform.scan_forbidden_text",value:Me(r)}),n.verify.selected){s&&a.steps[0].integration.mappings.push({property:"trustedform.advertiser_name",value:s});const t={rulesOp:"is not equal to",lhv:"trustedform.outcome",rhv:"success"},n=[{...t},{rulesOp:"is false",lhv:"trustedform.one_to_one"}],i={reason:"{{trustedform.reason}}",outcome:"failure",description:"Filter leads that fail on Trustedform Verify check",rules:s?n:[t]};await e.dispatch("createFilter",i)}e.state.filters.forEach((t=>{a.steps.push(Me(t))}))}e.state.ui.create({flow:a})}}},new ba(n);var n},Gc="undefined"!=typeof document;function Xc(t){return"object"==typeof t||"displayName"in t||"props"in t||"__vccOpts"in t}const Yc=Object.assign;function Kc(t,e){const n={};for(const i in e){const r=e[i];n[i]=Jc(r)?r.map(t):t(r)}return n}const Zc=()=>{},Jc=Array.isArray,Qc=/#/g,tu=/&/g,eu=/\//g,nu=/=/g,iu=/\?/g,ru=/\+/g,ou=/%5B/g,su=/%5D/g,au=/%5E/g,lu=/%60/g,cu=/%7B/g,uu=/%7C/g,hu=/%7D/g,du=/%20/g;function pu(t){return encodeURI(""+t).replace(uu,"|").replace(ou,"[").replace(su,"]")}function fu(t){return pu(t).replace(ru,"%2B").replace(du,"+").replace(Qc,"%23").replace(tu,"%26").replace(lu,"`").replace(cu,"{").replace(hu,"}").replace(au,"^")}function gu(t){return null==t?"":function(t){return pu(t).replace(Qc,"%23").replace(iu,"%3F")}(t).replace(eu,"%2F")}function mu(t){try{return decodeURIComponent(""+t)}catch(t){}return""+t}const vu=/\/$/;function yu(t,e,n="/"){let i,r={},o="",s="";const a=e.indexOf("#");let l=e.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(i=e.slice(0,l),o=e.slice(l+1,a>-1?a:e.length),r=t(o)),a>-1&&(i=i||e.slice(0,a),s=e.slice(a,e.length)),i=function(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),i=t.split("/"),r=i[i.length-1];".."!==r&&"."!==r||i.push("");let o,s,a=n.length-1;for(o=0;o<i.length;o++)if(s=i[o],"."!==s){if(".."!==s)break;a>1&&a--}return n.slice(0,a).join("/")+"/"+i.slice(o).join("/")}(null!=i?i:e,n),{fullPath:i+(o&&"?")+o+s,path:i,query:r,hash:mu(s)}}function bu(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function _u(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!xu(t[n],e[n]))return!1;return!0}function xu(t,e){return Jc(t)?wu(t,e):Jc(e)?wu(e,t):t===e}function wu(t,e){return Jc(e)?t.length===e.length&&t.every(((t,n)=>t===e[n])):1===t.length&&t[0]===e}const Su={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var ku,Cu;function Au(t){if(!t)if(Gc){const e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return"/"!==t[0]&&"#"!==t[0]&&(t="/"+t),t.replace(vu,"")}!function(t){t.pop="pop",t.push="push"}(ku||(ku={})),function(t){t.back="back",t.forward="forward",t.unknown=""}(Cu||(Cu={}));const Ou=/^[^#]+#/;function Tu(t,e){return t.replace(Ou,"#")+e}function Eu(t,e){return(history.state?history.state.position-e:-1)+t}const Pu=new Map;function Mu(t){return"string"==typeof t||t&&"object"==typeof t}function Lu(t){return"string"==typeof t||"symbol"==typeof t}const ju=Symbol("");var Du;function $u(t,e){return Yc(new Error,{type:t,[ju]:!0},e)}function Ru(t,e){return t instanceof Error&&ju in t&&(null==e||!!(t.type&e))}!function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"}(Du||(Du={}));const Iu="[^/]+?",Nu={sensitive:!1,strict:!1,start:!0,end:!0},Bu=/[.+*?^${}()[\]/\\]/g;function Fu(t,e){let n=0;for(;n<t.length&&n<e.length;){const i=e[n]-t[n];if(i)return i;n++}return t.length<e.length?1===t.length&&80===t[0]?-1:1:t.length>e.length?1===e.length&&80===e[0]?1:-1:0}function zu(t,e){let n=0;const i=t.score,r=e.score;for(;n<i.length&&n<r.length;){const t=Fu(i[n],r[n]);if(t)return t;n++}if(1===Math.abs(r.length-i.length)){if(Vu(i))return 1;if(Vu(r))return-1}return r.length-i.length}function Vu(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const Wu={type:0,value:""},Hu=/[a-zA-Z0-9_]/;function Uu(t,e,n){const i=function(t,e){const n=Yc({},Nu,e),i=[];let r=n.start?"^":"";const o=[];for(const e of t){const t=e.length?[]:[90];n.strict&&!e.length&&(r+="/");for(let i=0;i<e.length;i++){const s=e[i];let a=40+(n.sensitive?.25:0);if(0===s.type)i||(r+="/"),r+=s.value.replace(Bu,"\\$&"),a+=40;else if(1===s.type){const{value:t,repeatable:n,optional:l,regexp:c}=s;o.push({name:t,repeatable:n,optional:l});const u=c||Iu;if(u!==Iu){a+=10;try{new RegExp(`(${u})`)}catch(e){throw new Error(`Invalid custom RegExp for param "${t}" (${u}): `+e.message)}}let h=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;i||(h=l&&e.length<2?`(?:/${h})`:"/"+h),l&&(h+="?"),r+=h,a+=20,l&&(a+=-8),n&&(a+=-20),".*"===u&&(a+=-50)}t.push(a)}i.push(t)}if(n.strict&&n.end){const t=i.length-1;i[t][i[t].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const s=new RegExp(r,n.sensitive?"":"i");return{re:s,score:i,keys:o,parse:function(t){const e=t.match(s),n={};if(!e)return null;for(let t=1;t<e.length;t++){const i=e[t]||"",r=o[t-1];n[r.name]=i&&r.repeatable?i.split("/"):i}return n},stringify:function(e){let n="",i=!1;for(const r of t){i&&n.endsWith("/")||(n+="/"),i=!1;for(const t of r)if(0===t.type)n+=t.value;else if(1===t.type){const{value:o,repeatable:s,optional:a}=t,l=o in e?e[o]:"";if(Jc(l)&&!s)throw new Error(`Provided param "${o}" is an array but it is not repeatable (* or + modifiers)`);const c=Jc(l)?l.join("/"):l;if(!c){if(!a)throw new Error(`Missing required param "${o}"`);r.length<2&&(n.endsWith("/")?n=n.slice(0,-1):i=!0)}n+=c}}return n||"/"}}}(function(t){if(!t)return[[]];if("/"===t)return[[Wu]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(t){throw new Error(`ERR (${n})/"${c}": ${t}`)}let n=0,i=n;const r=[];let o;function s(){o&&r.push(o),o=[]}let a,l=0,c="",u="";function h(){c&&(0===n?o.push({type:0,value:c}):1===n||2===n||3===n?(o.length>1&&("*"===a||"+"===a)&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):e("Invalid state to consume buffer"),c="")}function d(){c+=a}for(;l<t.length;)if(a=t[l++],"\\"!==a||2===n)switch(n){case 0:"/"===a?(c&&h(),s()):":"===a?(h(),n=1):d();break;case 4:d(),n=i;break;case 1:"("===a?n=2:Hu.test(a)?d():(h(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&l--);break;case 2:")"===a?"\\"==u[u.length-1]?u=u.slice(0,-1)+a:n=3:u+=a;break;case 3:h(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&l--,u="";break;default:e("Unknown state")}else i=n,n=4;return 2===n&&e(`Unfinished custom RegExp for param "${c}"`),h(),s(),r}(t.path),n),r=Yc(i,{record:t,parent:e,children:[],alias:[]});return e&&!r.record.aliasOf==!e.record.aliasOf&&e.children.push(r),r}function qu(t,e){const n={};for(const i of e)i in t&&(n[i]=t[i]);return n}function Gu(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:Xu(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function Xu(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const i in t.components)e[i]="object"==typeof n?n[i]:n;return e}function Yu(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function Ku(t){return t.reduce(((t,e)=>Yc(t,e.meta)),{})}function Zu(t,e){const n={};for(const i in t)n[i]=i in e?e[i]:t[i];return n}function Ju({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function Qu(t){const e={};if(""===t||"?"===t)return e;const n=("?"===t[0]?t.slice(1):t).split("&");for(let t=0;t<n.length;++t){const i=n[t].replace(ru," "),r=i.indexOf("="),o=mu(r<0?i:i.slice(0,r)),s=r<0?null:mu(i.slice(r+1));if(o in e){let t=e[o];Jc(t)||(t=e[o]=[t]),t.push(s)}else e[o]=s}return e}function th(t){let e="";for(let n in t){const i=t[n];(n=fu(n).replace(nu,"%3D"),null!=i)?(Jc(i)?i.map((t=>t&&fu(t))):[i&&fu(i)]).forEach((t=>{void 0!==t&&(e+=(e.length?"&":"")+n,null!=t&&(e+="="+t))})):void 0!==i&&(e+=(e.length?"&":"")+n)}return e}function eh(t){const e={};for(const n in t){const i=t[n];void 0!==i&&(e[n]=Jc(i)?i.map((t=>null==t?null:""+t)):null==i?i:""+i)}return e}const nh=Symbol(""),ih=Symbol(""),rh=Symbol(""),oh=Symbol(""),sh=Symbol("");function ah(){let t=[];return{add:function(e){return t.push(e),()=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)}},list:()=>t.slice(),reset:function(){t=[]}}}function lh(t,e,n,i,r,o=t=>t()){const s=i&&(i.enterCallbacks[r]=i.enterCallbacks[r]||[]);return()=>new Promise(((a,l)=>{const c=t=>{!1===t?l($u(4,{from:n,to:e})):t instanceof Error?l(t):Mu(t)?l($u(2,{from:e,to:t})):(s&&i.enterCallbacks[r]===s&&"function"==typeof t&&s.push(t),a())},u=o((()=>t.call(i&&i.instances[r],e,n,c)));let h=Promise.resolve(u);t.length<3&&(h=h.then(c)),h.catch((t=>l(t)))}))}function ch(t,e,n,i,r=t=>t()){const o=[];for(const s of t)for(const t in s.components){let a=s.components[t];if("beforeRouteEnter"===e||s.instances[t])if(Xc(a)){const l=(a.__vccOpts||a)[e];l&&o.push(lh(l,n,i,s,t,r))}else{let l=a();o.push((()=>l.then((o=>{if(!o)throw new Error(`Couldn't resolve component "${t}" at "${s.path}"`);const a=(l=o).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&Xc(l.default)?o.default:o;var l;s.mods[t]=o,s.components[t]=a;const c=(a.__vccOpts||a)[e];return c&&lh(c,n,i,s,t,r)()}))))}}return o}function uh(t){const e=tr(rh),n=tr(oh),i=Po((()=>{const n=Fe(t.to);return e.resolve(n)})),r=Po((()=>{const{matched:t}=i.value,{length:e}=t,r=t[e-1],o=n.matched;if(!r||!o.length)return-1;const s=o.findIndex(bu.bind(null,r));if(s>-1)return s;const a=dh(t[e-2]);return e>1&&dh(r)===a&&o[o.length-1].path!==a?o.findIndex(bu.bind(null,t[e-2])):s})),o=Po((()=>r.value>-1&&function(t,e){for(const n in e){const i=e[n],r=t[n];if("string"==typeof i){if(i!==r)return!1}else if(!Jc(r)||r.length!==i.length||i.some(((t,e)=>t!==r[e])))return!1}return!0}(n.params,i.value.params))),s=Po((()=>r.value>-1&&r.value===n.matched.length-1&&_u(n.params,i.value.params)));if(__VUE_PROD_DEVTOOLS__&&Gc){const e=go();if(e){const n={route:i.value,isActive:o.value,isExactActive:s.value,error:null};e.__vrl_devtools=e.__vrl_devtools||[],e.__vrl_devtools.push(n),kr((()=>{n.route=i.value,n.isActive=o.value,n.isExactActive=s.value,n.error=Mu(Fe(t.to))?null:'Invalid "to" value'}),{flush:"post"})}}return{route:i,href:Po((()=>i.value.href)),isActive:o,isExactActive:s,navigate:function(n={}){return function(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}(n)?e[Fe(t.replace)?"replace":"push"](Fe(t.to)).catch(Zc):Promise.resolve()}}}const hh=Zn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:uh,setup(t,{slots:e}){const n=Se(uh(t)),{options:i}=tr(rh),r=Po((()=>({[ph(t.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[ph(t.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const i=e.default&&e.default(n);return t.custom?i:Mo("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}});function dh(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const ph=(t,e,n)=>null!=t?t:null!=e?e:n,fh=Zn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const i=tr(sh),r=Po((()=>t.route||i.value)),o=tr(ih,0),s=Po((()=>{let t=Fe(o);const{matched:e}=r.value;let n;for(;(n=e[t])&&!n.components;)t++;return t})),a=Po((()=>r.value.matched[s.value]));Qi(ih,Po((()=>s.value+1))),Qi(nh,a),Qi(sh,r);const l=Re();return Cr((()=>[l.value,a.value,t.name]),(([t,e,n],[i,r,o])=>{e&&(e.instances[n]=t,r&&r!==e&&t&&t===i&&(e.leaveGuards.size||(e.leaveGuards=r.leaveGuards),e.updateGuards.size||(e.updateGuards=r.updateGuards))),!t||!e||r&&bu(e,r)&&i||(e.enterCallbacks[n]||[]).forEach((e=>e(t)))}),{flush:"post"}),()=>{const i=r.value,o=t.name,c=a.value,u=c&&c.components[o];if(!u)return gh(n.default,{Component:u,route:i});const h=c.props[o],d=h?!0===h?i.params:"function"==typeof h?h(i):h:null,p=Mo(u,Yc({},d,e,{onVnodeUnmounted:t=>{t.component.isUnmounted&&(c.instances[o]=null)},ref:l}));if(__VUE_PROD_DEVTOOLS__&&Gc&&p.ref){const t={depth:s.value,name:c.name,path:c.path,meta:c.meta};(Jc(p.ref)?p.ref.map((t=>t.i)):[p.ref.i]).forEach((e=>{e.__vrv_devtools=t}))}return gh(n.default,{Component:p,route:i})||p}}});function gh(t,e){if(!t)return null;const n=t(e);return 1===n.length?n[0]:n}const mh=fh;function vh(t,e){const n=Yc({},t,{matched:t.matched.map((t=>function(t,e){const n={};for(const i in t)e.includes(i)||(n[i]=t[i]);return n}(t,["instances","children","aliasOf"])))});return{_custom:{type:null,readOnly:!0,display:t.fullPath,tooltip:e,value:n}}}function yh(t){return{_custom:{display:t}}}let bh=0;function _h(t,e,n){if(e.__hasDevtools)return;e.__hasDevtools=!0;const i=bh++;Xs({id:"org.vuejs.router"+(i?"."+i:""),label:"Vue Router",packageName:"vue-router",homepage:"https://router.vuejs.org",logo:"https://router.vuejs.org/logo.png",componentStateTypes:["Routing"],app:t},(r=>{"function"!=typeof r.now&&console.warn("[Vue Router]: You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),r.on.inspectComponent(((t,n)=>{t.instanceData&&t.instanceData.state.push({type:"Routing",key:"$route",editable:!1,value:vh(e.currentRoute.value,"Current Route")})})),r.on.visitComponentTree((({treeNode:t,componentInstance:e})=>{if(e.__vrv_devtools){const n=e.__vrv_devtools;t.tags.push({label:(n.name?`${n.name.toString()}: `:"")+n.path,textColor:0,tooltip:"This component is rendered by <router-view>",backgroundColor:wh})}Jc(e.__vrl_devtools)&&(e.__devtoolsApi=r,e.__vrl_devtools.forEach((e=>{let n=e.route.path,i=Ah,r="",o=0;e.error?(n=e.error,i=Th,o=Eh):e.isExactActive?(i=kh,r="This is exactly active"):e.isActive&&(i=Sh,r="This link is active"),t.tags.push({label:n,textColor:o,tooltip:r,backgroundColor:i})})))})),Cr(e.currentRoute,(()=>{l(),r.notifyComponentUpdate(),r.sendInspectorTree(a),r.sendInspectorState(a)}));const o="router:navigations:"+i;r.addTimelineLayer({id:o,label:`Router${i?" "+i:""} Navigations`,color:4237508}),e.onError(((t,e)=>{r.addTimelineEvent({layerId:o,event:{title:"Error during Navigation",subtitle:e.fullPath,logType:"error",time:r.now(),data:{error:t},groupId:e.meta.__navigationId}})}));let s=0;e.beforeEach(((t,e)=>{const n={guard:yh("beforeEach"),from:vh(e,"Current Location during this navigation"),to:vh(t,"Target location")};Object.defineProperty(t.meta,"__navigationId",{value:s++}),r.addTimelineEvent({layerId:o,event:{time:r.now(),title:"Start of navigation",subtitle:t.fullPath,data:n,groupId:t.meta.__navigationId}})})),e.afterEach(((t,e,n)=>{const i={guard:yh("afterEach")};n?(i.failure={_custom:{type:Error,readOnly:!0,display:n?n.message:"",tooltip:"Navigation Failure",value:n}},i.status=yh("❌")):i.status=yh("✅"),i.from=vh(e,"Current Location during this navigation"),i.to=vh(t,"Target location"),r.addTimelineEvent({layerId:o,event:{title:"End of navigation",subtitle:t.fullPath,time:r.now(),data:i,logType:n?"warning":"default",groupId:t.meta.__navigationId}})}));const a="router-inspector:"+i;function l(){if(!c)return;const t=c;let i=n.getRoutes().filter((t=>!t.parent||!t.parent.record.components));i.forEach(Dh),t.filter&&(i=i.filter((e=>$h(e,t.filter.toLowerCase())))),i.forEach((t=>jh(t,e.currentRoute.value))),t.rootNodes=i.map(Ph)}let c;r.addInspector({id:a,label:"Routes"+(i?" "+i:""),icon:"book",treeFilterPlaceholder:"Search routes"}),r.on.getInspectorTree((e=>{c=e,e.app===t&&e.inspectorId===a&&l()})),r.on.getInspectorState((e=>{if(e.app===t&&e.inspectorId===a){const t=n.getRoutes().find((t=>t.record.__vd_id===e.nodeId));t&&(e.state={options:xh(t)})}})),r.sendInspectorTree(a),r.sendInspectorState(a)}))}function xh(t){const{record:e}=t,n=[{editable:!1,key:"path",value:e.path}];return null!=e.name&&n.push({editable:!1,key:"name",value:e.name}),n.push({editable:!1,key:"regexp",value:t.re}),t.keys.length&&n.push({editable:!1,key:"keys",value:{_custom:{type:null,readOnly:!0,display:t.keys.map((t=>`${t.name}${function(t){return t.optional?t.repeatable?"*":"?":t.repeatable?"+":""}(t)}`)).join(" "),tooltip:"Param keys",value:t.keys}}}),null!=e.redirect&&n.push({editable:!1,key:"redirect",value:e.redirect}),t.alias.length&&n.push({editable:!1,key:"aliases",value:t.alias.map((t=>t.record.path))}),Object.keys(t.record.meta).length&&n.push({editable:!1,key:"meta",value:t.record.meta}),n.push({key:"score",editable:!1,value:{_custom:{type:null,readOnly:!0,display:t.score.map((t=>t.join(", "))).join(" | "),tooltip:"Score used to sort routes",value:t.score}}}),n}const wh=15485081,Sh=2450411,kh=8702998,Ch=2282478,Ah=16486972,Oh=6710886,Th=16704226,Eh=12131356;function Ph(t){const e=[],{record:n}=t;null!=n.name&&e.push({label:String(n.name),textColor:0,backgroundColor:Ch}),n.aliasOf&&e.push({label:"alias",textColor:0,backgroundColor:Ah}),t.__vd_match&&e.push({label:"matches",textColor:0,backgroundColor:wh}),t.__vd_exactActive&&e.push({label:"exact",textColor:0,backgroundColor:kh}),t.__vd_active&&e.push({label:"active",textColor:0,backgroundColor:Sh}),n.redirect&&e.push({label:"string"==typeof n.redirect?`redirect: ${n.redirect}`:"redirects",textColor:16777215,backgroundColor:Oh});let i=n.__vd_id;return null==i&&(i=String(Mh++),n.__vd_id=i),{id:i,label:n.path,tags:e,children:t.children.map(Ph)}}let Mh=0;const Lh=/^\/(.*)\/([a-z]*)$/;function jh(t,e){const n=e.matched.length&&bu(e.matched[e.matched.length-1],t.record);t.__vd_exactActive=t.__vd_active=n,n||(t.__vd_active=e.matched.some((e=>bu(e,t.record)))),t.children.forEach((t=>jh(t,e)))}function Dh(t){t.__vd_match=!1,t.children.forEach(Dh)}function $h(t,e){const n=String(t.re).match(Lh);if(t.__vd_match=!1,!n||n.length<3)return!1;if(new RegExp(n[1].replace(/\$$/,""),n[2]).test(e))return t.children.forEach((t=>$h(t,e))),("/"!==t.record.path||"/"===e)&&(t.__vd_match=t.re.test(e),!0);const i=t.record.path.toLowerCase(),r=mu(i);return!(e.startsWith("/")||!r.includes(e)&&!i.includes(e))||!(!r.startsWith(e)&&!i.startsWith(e))||!(!t.record.name||!String(t.record.name).includes(e))||t.children.some((t=>$h(t,e)))}const Rh={key:0},Ih={key:1};var Nh={props:{disableConfirm:{type:Boolean,default:!1},onConfirm:{type:Function,default:void 0},showPrevious:{type:Boolean,default:!0},navHistory:{type:Array,default:()=>[]}},data(){return{page:this.$router?.currentRoute?.value?this.$router.currentRoute.value.path:"/"}},computed:{pageNo(){return"/"===this.page?1:parseInt(this.page.slice(1),10)},showPrev(){return("string"==typeof this.$props.navHistory.slice(-1)[0]||this.pageNo>1)&&this.$props.showPrevious}},methods:{cancel(){try{this.$store.dispatch("cancel")}catch(t){console.warn('Navigation Error - Could not dispatch "cancel" to Vuex store.')}},prev(){try{var t=this.$props.navHistory.pop();t||(t="/"+(this.pageNo-1),console.debug(`Navigation.vue: no previous page in history; using previous page by number: '${t}'`)),this.$router.push(t)}catch(t){console.warn("Navigation Error - Could not direct to previous page.")}},confirm(){this.$props.onConfirm?(this.$props.navHistory.push(this.page),this.$props.onConfirm()):console.debug("Navigation: confirm() called with no :onConfirm")}}};const Bh=["disabled"];Nh.render=function(t,e,n,i,r,o){return Hr(),Xr("div",null,[to("footer",null,[o.showPrev?(Hr(),Xr("button",{key:0,onClick:e[0]||(e[0]=(...t)=>o.prev&&o.prev(...t)),class:"tertiary-control","data-test":"nav-prev"},"Previous")):oo("",!0),Ei(t.$slots,"footer"),to("button",{onClick:e[1]||(e[1]=(...t)=>o.confirm&&o.confirm(...t)),class:"primary",disabled:n.disableConfirm,"data-test":"nav-confirm"},"Confirm",8,Bh),to("button",{onClick:e[2]||(e[2]=(...t)=>o.cancel&&o.cancel(...t)),"data-test":"nav-cancel"},"Cancel")])])};var Fh={name:"loading-screen",props:{moduleName:String,onFinish:{type:Function,default:void 0}},methods:{finish(){this.$props.onFinish?this.$props.onFinish():this.$store.dispatch("finish")}},mounted(){setTimeout((()=>{this.finish()}),2e3)}};const zh=to("span",{class:"loading"},null,-1);Fh.render=function(t,e,n,i,r,o){return Hr(),Xr("div",null,[to("header",null,tt(n.moduleName),1),to("section",null,[zh,ro(" We're setting up your "+tt(n.moduleName)+" step now. ",1)])])};const Vh={data:()=>({isDataService:!0}),components:{LoadingScreen:Fh,Navigation:Nh},computed:{moduleName(){switch(this.$store.state.config.integration){case"leadconduit-trustedform.outbound.claim":return"Claim";case"leadconduit-trustedform.outbound.consent":return"Consent";case"leadconduit-trustedform.outbound.consent_plus_data":return"Consent + Insights";case"leadconduit-trustedform.outbound.insights":return"Insights";default:return""}}},methods:{onConfirm(){this.$router.push("/2")},finish(){this.$store.dispatch("confirm")}},mounted(){const{integration:t}=this.$store.state.config;t.includes("outbound.trustedform")?this.$router.push("/4"):t.includes("insights")||(this.isDataService=!1)}},Wh=(0,Fs.A)(Vh,[["render",function(t,e,n,i,r,o){const s=wi("Navigation"),a=wi("LoadingScreen");return Hr(),Xr("div",null,[to("header",null," Set Up TrustedForm "+tt(o.moduleName),1),r.isDataService?(Hr(),Xr("div",Rh,[e[0]||(e[0]=to("section",null,[to("p",null," TrustedForm Insights provides lead buyers with optimized lead data that helps them assess the value of a lead. It helps buyers identify the leads that are most likely to convert and effectively manage returns and rejections. At the time of purchase, or any time thereafter, the lead buyer can use the LeadConduit platform to access lead metadata (not PII) found in the TrustedForm certificates. "),to("p",null,[to("b",null,"Note:"),ro(" To access TrustedForm Insights, your lead source must use the TrustedForm script on their lead forms. ")])],-1)),eo(s,{onConfirm:o.onConfirm},null,8,["onConfirm"])])):r.isDataService?oo("v-if",!0):(Hr(),Xr("div",Ih,[eo(a,{onFinish:o.finish,"module-name":"TrustedForm "+o.moduleName},null,8,["onFinish","module-name"])]))])}]]),Hh={class:"table-container"},Uh={data(){return{fields:this.$store.state.fieldData}},components:{Navigation:Nh},methods:{confirm(){this.$router.push("/3")}}},qh=(0,Fs.A)(Uh,[["render",function(t,e,n,i,r,o){const s=wi("Navigation");return Hr(),Xr("div",null,[e[2]||(e[2]=to("header",null," Set Up TrustedForm Insights ",-1)),to("section",null,[e[1]||(e[1]=to("p",null,"Below is a list of data points included with this enhancement. When configuring your flow, you can choose to accept, reject, or re-route leads based on each of the values returned.",-1)),to("div",Hh,[to("table",null,[e[0]||(e[0]=to("thead",null,[to("tr",null,[to("th",null,"Data Point"),to("th",null,"Description"),to("th",null,"Possible Use")])],-1)),to("tbody",null,[(Hr(!0),Xr(Nr,null,Oi(r.fields,((t,e)=>(Hr(),Xr("tr",{key:e},[to("td",null,tt(e),1),to("td",null,tt(t.description),1),to("td",null,tt(t.use),1)])))),128))])])])]),eo(s,{onConfirm:o.confirm},null,8,["onConfirm"])])}]]),Gh={methods:{confirm(){this.$store.dispatch("confirm")}},components:{Navigation:Nh}},Xh=(0,Fs.A)(Gh,[["render",function(t,e,n,i,r,o){const s=wi("Navigation");return Hr(),Xr("div",null,[e[0]||(e[0]=to("header",null," Set Up TrustedForm Insights ",-1)),e[1]||(e[1]=to("section",null,[to("p",null," Now you’re ready to map your fields and set up the associated filters in your LeadConduit flow. ")],-1)),eo(s,{onConfirm:o.confirm},null,8,["onConfirm"])])}]]),Yh={key:0},Kh={key:1},Zh={key:2},Jh=["disabled"],Qh=["disabled"],td=["disabled"],ed={data(){return{loading:!0,products:this.$store.getters.getProducts,errors:this.$store.getters.getErrors,navHistory:this.$store.getters.getNavHistory}},components:{Navigation:Nh},computed:{productsAvailable(){return this.products.retain.enabled||this.products.insights.enabled||this.products.verify.enabled}},methods:{confirm(){this.$store.commit("resetNavHistory"),this.$store.commit("setNavHistory","/4"),this.$store.state.products=this.products,this.products.insights.selected&&this.products.verify.selected?(this.$router.push("/5"),this.$store.commit("setShouldConfigVerify",!0)):this.products.insights.selected?(this.$store.commit("setShouldConfigVerify",!1),this.$router.push("/5")):this.products.verify.selected?this.$router.push("/7"):this.$store.dispatch("confirm")}},async created(){await this.$store.dispatch("getProducts"),this.loading=!1}};n(817);const nd=(0,Fs.A)(ed,[["render",function(t,e,n,i,r,o){const s=wi("Navigation");return Hr(),Xr("div",null,[e[12]||(e[12]=to("header",null," Add TrustedForm Add-On ",-1)),r.loading?(Hr(),Xr("section",Yh,e[3]||(e[3]=[to("span",{class:"loading"},null,-1),ro(" Loading products... ")]))):o.productsAvailable?(Hr(),Xr("section",Zh,[to("form",null,[e[11]||(e[11]=to("h3",null,"Select the TrustedForm products to add to your flow.",-1)),to("p",null,"You may select all products that you would like to add to your flow. Each product will be charged depending on your contract. "+tt(r.errors),1),to("ul",null,[to("li",null,[to("label",null,[jn(to("input",{type:"checkbox",class:"fancy-checkbox",disabled:!r.products.retain.enabled,"onUpdate:modelValue":e[0]||(e[0]=t=>r.products.retain.selected=t),id:"retain"},null,8,Jh),[[Es,r.products.retain.selected]]),e[5]||(e[5]=to("label",{for:"retain"},"Retain",-1)),e[6]||(e[6]=to("p",{class:"help-text"},"Store consent in TrustedForm certificates for legal (TCPA) compliance.",-1))])]),to("li",null,[to("label",null,[jn(to("input",{type:"checkbox",class:"fancy-checkbox",disabled:!r.products.insights.enabled,"onUpdate:modelValue":e[1]||(e[1]=t=>r.products.insights.selected=t),id:"insights"},null,8,Qh),[[Es,r.products.insights.selected]]),e[7]||(e[7]=to("label",{for:"insights"},"Insights",-1)),e[8]||(e[8]=to("p",{class:"help-text"},"TrustedForm Insights helps buyers identify the leads that are most likely to convert and effectively manage returns and rejections.",-1))])]),to("li",null,[to("label",null,[jn(to("input",{type:"checkbox",class:"fancy-checkbox",disabled:!r.products.verify.enabled,"onUpdate:modelValue":e[2]||(e[2]=t=>r.products.verify.selected=t),id:"verify"},null,8,td),[[Es,r.products.verify.selected]]),e[9]||(e[9]=to("label",{for:"verify"},"Verify",-1)),e[10]||(e[10]=to("p",{class:"help-text"},"Confirm that your leads were shown consent language that meets your compliance requirements.",-1))])])])])])):(Hr(),Xr("section",Kh,e[4]||(e[4]=[to("p",null,[ro(" Your account does not have access to TrustedForm. Please contact "),to("a",{href:"mailto:support@activeprospect.com",target:"_blank"},"support@activeprospect.com"),ro(" if this is in error or if you would like to add TrustedForm to your account. ")],-1)]))),eo(s,{showPrevious:!1,onConfirm:o.confirm,disableConfirm:!r.products.retain.selected&&!r.products.insights.selected&&!r.products.verify.selected,navHistory:r.navHistory},null,8,["onConfirm","disableConfirm","navHistory"])])}],["__scopeId","data-v-4cb6d661"]]),id=[".indeterminate"],rd=["id","onUpdate:modelValue"],od=["for"],sd=["for"],ad=["innerHTML"],ld={data(){return{fields:this.$store.state.v4Fields,header:!1,selected:"none",navHistory:this.$store.getters.getNavHistory}},components:{Navigation:Nh},methods:{amountSelected(){const t=Object.keys(this.fields).length,e=(0,Uc.filter)(this.fields,(function(t){return t.selected})).length;return 0===e?"none":t===e?"all":"some"},toggleAll(){const t="all"!==this.amountSelected();for(const e in this.fields)this.fields[e].selected=t;this.updateHeader()},updateHeader(){this.selected=this.amountSelected(),this.header="all"===this.selected},confirm(){this.$store.commit("setNavHistory","/5");const t=this.$store.getters.getShouldConfigVerify;this.$store.state.v4Fields=this.fields,this.fields.page_scan?.selected?this.$router.push("/6"):t?this.$router.push("/7"):this.$store.dispatch("confirm")}},mounted(){this.updateHeader()}};n(741);const cd=(0,Fs.A)(ld,[["render",function(t,e,n,i,r,o){const s=wi("Navigation");return Hr(),Xr("div",null,[e[8]||(e[8]=to("header",null," Configure TrustedForm Insights ",-1)),to("section",null,[to("form",null,[e[6]||(e[6]=to("h3",null,"Select Insights Data Points",-1)),e[7]||(e[7]=to("p",null,"TrustedForm Insights provides the following data related to the lead that filled out the form. Each selection of data points will be charged individually.",-1)),to("table",null,[to("thead",null,[to("tr",null,[to("th",null,[jn(to("input",{id:"select-all",type:"checkbox",class:"fancy-checkbox","onUpdate:modelValue":e[0]||(e[0]=t=>r.header=t),".indeterminate":"some"===r.selected,onClick:e[1]||(e[1]=(...t)=>o.toggleAll&&o.toggleAll(...t))},null,40,id),[[Es,r.header]]),e[3]||(e[3]=to("label",{for:"select-all",class:"checkbox-label"},null,-1))]),e[4]||(e[4]=to("th",null,[to("label",{for:"select-all",class:"text-label"},"Data Point")],-1)),e[5]||(e[5]=to("th",null,"Description",-1))])]),to("tbody",null,[(Hr(!0),Xr(Nr,null,Oi(Object.keys(r.fields),(t=>(Hr(),Xr("tr",{key:r.fields[t].name},[to("td",null,[jn(to("input",{id:t,type:"checkbox",class:"fancy-checkbox","onUpdate:modelValue":e=>r.fields[t].selected=e,onChange:e[2]||(e[2]=(...t)=>o.updateHeader&&o.updateHeader(...t))},null,40,rd),[[Es,r.fields[t].selected]]),to("label",{for:t,class:"checkbox-label"},null,8,od)]),to("td",null,[to("label",{for:t,class:"text-label"},tt(r.fields[t].name),9,sd)]),to("td",{innerHTML:r.fields[t].description},null,8,ad)])))),128))])])])]),eo(s,{onConfirm:o.confirm,disableConfirm:"none"===r.selected,navHistory:r.navHistory},null,8,["onConfirm","disableConfirm","navHistory"])])}],["__scopeId","data-v-350d7264"]]);var ud=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function hd(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var dd,pd={exports:{}};dd=pd,function(t){if(!t.jQuery){var e=function(t,n){return new e.fn.init(t,n)};e.isWindow=function(t){return t&&t===t.window},e.type=function(t){return t?"object"==typeof t||"function"==typeof t?i[o.call(t)]||"object":typeof t:t+""},e.isArray=Array.isArray||function(t){return"array"===e.type(t)},e.isPlainObject=function(t){var n;if(!t||"object"!==e.type(t)||t.nodeType||e.isWindow(t))return!1;try{if(t.constructor&&!r.call(t,"constructor")&&!r.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch{return!1}for(n in t);return void 0===n||r.call(t,n)},e.each=function(t,e,n){var i=0,r=t.length,o=l(t);if(n){if(o)for(;i<r&&!1!==e.apply(t[i],n);i++);else for(i in t)if(t.hasOwnProperty(i)&&!1===e.apply(t[i],n))break}else if(o)for(;i<r&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(t.hasOwnProperty(i)&&!1===e.call(t[i],i,t[i]))break;return t},e.data=function(t,i,r){if(void 0===r){var o=t[e.expando],s=o&&n[o];if(void 0===i)return s;if(s&&i in s)return s[i]}else if(void 0!==i){var a=t[e.expando]||(t[e.expando]=++e.uuid);return n[a]=n[a]||{},n[a][i]=r,r}},e.removeData=function(t,i){var r=t[e.expando],o=r&&n[r];o&&(i?e.each(i,(function(t,e){delete o[e]})):delete n[r])},e.extend=function(){var t,n,i,r,o,s,a=arguments[0]||{},l=1,c=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[l]||{},l++),"object"!=typeof a&&"function"!==e.type(a)&&(a={}),l===c&&(a=this,l--);l<c;l++)if(o=arguments[l])for(r in o)o.hasOwnProperty(r)&&(t=a[r],a!==(i=o[r])&&(u&&i&&(e.isPlainObject(i)||(n=e.isArray(i)))?(n?(n=!1,s=t&&e.isArray(t)?t:[]):s=t&&e.isPlainObject(t)?t:{},a[r]=e.extend(u,s,i)):void 0!==i&&(a[r]=i)));return a},e.queue=function(t,n,i){if(t){n=(n||"fx")+"queue";var r=e.data(t,n);return i?(!r||e.isArray(i)?r=e.data(t,n,(s=[],(o=i)&&(l(Object(o))?function(t,e){for(var n=+e.length,i=0,r=t.length;i<n;)t[r++]=e[i++];if(n!=n)for(;void 0!==e[i];)t[r++]=e[i++];t.length=r}(s,"string"==typeof o?[o]:o):[].push.call(s,o)),s)):r.push(i),r):r||[]}var o,s},e.dequeue=function(t,n){e.each(t.nodeType?[t]:t,(function(t,i){n=n||"fx";var r=e.queue(i,n),o=r.shift();"inprogress"===o&&(o=r.shift()),o&&("fx"===n&&r.unshift("inprogress"),o.call(i,(function(){e.dequeue(i,n)})))}))},e.fn=e.prototype={init:function(t){if(t.nodeType)return this[0]=t,this;throw new Error("Not a DOM node.")},offset:function(){var e=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:e.top+(t.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:e.left+(t.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){var t=this[0],n=function(t){for(var e=t.offsetParent;e&&"html"!==e.nodeName.toLowerCase()&&e.style&&"static"===e.style.position.toLowerCase();)e=e.offsetParent;return e||document}(t),i=this.offset(),r=/^(?:body|html)$/i.test(n.nodeName)?{top:0,left:0}:e(n).offset();return i.top-=parseFloat(t.style.marginTop)||0,i.left-=parseFloat(t.style.marginLeft)||0,n.style&&(r.top+=parseFloat(n.style.borderTopWidth)||0,r.left+=parseFloat(n.style.borderLeftWidth)||0),{top:i.top-r.top,left:i.left-r.left}}};var n={};e.expando="velocity"+(new Date).getTime(),e.uuid=0;for(var i={},r=i.hasOwnProperty,o=i.toString,s="Boolean Number String Function Array Date RegExp Object Error".split(" "),a=0;a<s.length;a++)i["[object "+s[a]+"]"]=s[a].toLowerCase();e.fn.init.prototype=e.fn,t.Velocity={Utilities:e}}function l(t){var n=t.length,i=e.type(t);return"function"!==i&&!e.isWindow(t)&&(!(1!==t.nodeType||!n)||"array"===i||0===n||"number"==typeof n&&n>0&&n-1 in t)}}(window),dd.exports=function(t,e,n,i){var r,o=function(){if(n.documentMode)return n.documentMode;for(var t=7;t>4;t--){var e=n.createElement("div");if(e.innerHTML="\x3c!--[if IE "+t+"]><span></span><![endif]--\x3e",e.getElementsByTagName("span").length)return e=null,t}return i}(),s=(r=0,e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||function(t){var e,n=(new Date).getTime();return e=Math.max(0,16-(n-r)),r=n+e,setTimeout((function(){t(n+e)}),e)}),a=function(){var t=e.performance||{};if("function"!=typeof t.now){var n=t.timing&&t.timing.navigationStart?t.timing.navigationStart:(new Date).getTime();t.now=function(){return(new Date).getTime()-n}}return t}();var l=function(){var t=Array.prototype.slice;try{return t.call(n.documentElement),t}catch{return function(e,n){var i=this.length;if("number"!=typeof e&&(e=0),"number"!=typeof n&&(n=i),this.slice)return t.call(this,e,n);var r,o=[],s=e>=0?e:Math.max(0,i+e),a=(n<0?i+n:Math.min(n,i))-s;if(a>0)if(o=new Array(a),this.charAt)for(r=0;r<a;r++)o[r]=this.charAt(s+r);else for(r=0;r<a;r++)o[r]=this[s+r];return o}}}(),c=function(){return Array.prototype.includes?function(t,e){return t.includes(e)}:Array.prototype.indexOf?function(t,e){return t.indexOf(e)>=0}:function(t,e){for(var n=0;n<t.length;n++)if(t[n]===e)return!0;return!1}};function u(t){return d.isWrapped(t)?t=l.call(t):d.isNode(t)&&(t=[t]),t}var h,d={isNumber:function(t){return"number"==typeof t},isString:function(t){return"string"==typeof t},isArray:Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},isFunction:function(t){return"[object Function]"===Object.prototype.toString.call(t)},isNode:function(t){return t&&t.nodeType},isWrapped:function(t){return t&&t!==e&&d.isNumber(t.length)&&!d.isString(t)&&!d.isFunction(t)&&!d.isNode(t)&&(0===t.length||d.isNode(t[0]))},isSVG:function(t){return e.SVGElement&&t instanceof e.SVGElement},isEmptyObject:function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}},p=!1;if(t.fn&&t.fn.jquery?(h=t,p=!0):h=e.Velocity.Utilities,o<=8&&!p)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(!(o<=7)){var f=400,g="swing",m={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(e.navigator.userAgent),isAndroid:/Android/i.test(e.navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(e.navigator.userAgent),isChrome:e.chrome,isFirefox:/Firefox/i.test(e.navigator.userAgent),prefixElement:n.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[],delayedElements:{count:0}},CSS:{},Utilities:h,Redirects:{},Easings:{},Promise:e.Promise,defaults:{queue:"",duration:400,easing:g,begin:i,complete:i,progress:i,display:i,visibility:i,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0,promiseRejectEmpty:!0},init:function(t){h.data(t,"velocity",{isSVG:d.isSVG(t),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:5,patch:2},debug:!1,timestamp:!0,pauseAll:function(t){var e=(new Date).getTime();h.each(m.State.calls,(function(e,n){if(n){if(t!==i&&(n[2].queue!==t||!1===n[2].queue))return!0;n[5]={resume:!1}}})),h.each(m.State.delayedElements,(function(t,n){n&&S(n,e)}))},resumeAll:function(t){(new Date).getTime(),h.each(m.State.calls,(function(e,n){if(n){if(t!==i&&(n[2].queue!==t||!1===n[2].queue))return!0;n[5]&&(n[5].resume=!0)}})),h.each(m.State.delayedElements,(function(t,e){e&&k(e)}))}};e.pageYOffset!==i?(m.State.scrollAnchor=e,m.State.scrollPropertyLeft="pageXOffset",m.State.scrollPropertyTop="pageYOffset"):(m.State.scrollAnchor=n.documentElement||n.body.parentNode||n.body,m.State.scrollPropertyLeft="scrollLeft",m.State.scrollPropertyTop="scrollTop");var v=function(){function t(t){return-t.tension*t.x-t.friction*t.v}function e(e,n,i){var r={x:e.x+i.dx*n,v:e.v+i.dv*n,tension:e.tension,friction:e.friction};return{dx:r.v,dv:t(r)}}function n(n,i){var r={dx:n.v,dv:t(n)},o=e(n,.5*i,r),s=e(n,.5*i,o),a=e(n,i,s),l=1/6*(r.dx+2*(o.dx+s.dx)+a.dx),c=1/6*(r.dv+2*(o.dv+s.dv)+a.dv);return n.x=n.x+l*i,n.v=n.v+c*i,n}return function t(e,i,r){var o,s,a,l={x:-1,v:0,tension:null,friction:null},c=[0],u=0,h=1e-4;for(e=parseFloat(e)||500,i=parseFloat(i)||20,r=r||null,l.tension=e,l.friction=i,s=(o=null!==r)?(u=t(e,i))/r*.016:.016;a=n(a||l,s),c.push(1+a.x),u+=16,Math.abs(a.x)>h&&Math.abs(a.v)>h;);return o?function(t){return c[t*(c.length-1)|0]}:u}}();m.Easings={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},spring:function(t){return 1-Math.cos(4.5*t*Math.PI)*Math.exp(6*-t)}},h.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],(function(t,e){m.Easings[e[0]]=A.apply(null,e[1])}));var y=m.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"],units:["%","em","ex","ch","rem","vw","vh","vmin","vmax","cm","mm","Q","in","pc","pt","px","deg","grad","rad","turn","s","ms"],colorNames:{aliceblue:"240,248,255",antiquewhite:"250,235,215",aquamarine:"127,255,212",aqua:"0,255,255",azure:"240,255,255",beige:"245,245,220",bisque:"255,228,196",black:"0,0,0",blanchedalmond:"255,235,205",blueviolet:"138,43,226",blue:"0,0,255",brown:"165,42,42",burlywood:"222,184,135",cadetblue:"95,158,160",chartreuse:"127,255,0",chocolate:"210,105,30",coral:"255,127,80",cornflowerblue:"100,149,237",cornsilk:"255,248,220",crimson:"220,20,60",cyan:"0,255,255",darkblue:"0,0,139",darkcyan:"0,139,139",darkgoldenrod:"184,134,11",darkgray:"169,169,169",darkgrey:"169,169,169",darkgreen:"0,100,0",darkkhaki:"189,183,107",darkmagenta:"139,0,139",darkolivegreen:"85,107,47",darkorange:"255,140,0",darkorchid:"153,50,204",darkred:"139,0,0",darksalmon:"233,150,122",darkseagreen:"143,188,143",darkslateblue:"72,61,139",darkslategray:"47,79,79",darkturquoise:"0,206,209",darkviolet:"148,0,211",deeppink:"255,20,147",deepskyblue:"0,191,255",dimgray:"105,105,105",dimgrey:"105,105,105",dodgerblue:"30,144,255",firebrick:"178,34,34",floralwhite:"255,250,240",forestgreen:"34,139,34",fuchsia:"255,0,255",gainsboro:"220,220,220",ghostwhite:"248,248,255",gold:"255,215,0",goldenrod:"218,165,32",gray:"128,128,128",grey:"128,128,128",greenyellow:"173,255,47",green:"0,128,0",honeydew:"240,255,240",hotpink:"255,105,180",indianred:"205,92,92",indigo:"75,0,130",ivory:"255,255,240",khaki:"240,230,140",lavenderblush:"255,240,245",lavender:"230,230,250",lawngreen:"124,252,0",lemonchiffon:"255,250,205",lightblue:"173,216,230",lightcoral:"240,128,128",lightcyan:"224,255,255",lightgoldenrodyellow:"250,250,210",lightgray:"211,211,211",lightgrey:"211,211,211",lightgreen:"144,238,144",lightpink:"255,182,193",lightsalmon:"255,160,122",lightseagreen:"32,178,170",lightskyblue:"135,206,250",lightslategray:"119,136,153",lightsteelblue:"176,196,222",lightyellow:"255,255,224",limegreen:"50,205,50",lime:"0,255,0",linen:"250,240,230",magenta:"255,0,255",maroon:"128,0,0",mediumaquamarine:"102,205,170",mediumblue:"0,0,205",mediumorchid:"186,85,211",mediumpurple:"147,112,219",mediumseagreen:"60,179,113",mediumslateblue:"123,104,238",mediumspringgreen:"0,250,154",mediumturquoise:"72,209,204",mediumvioletred:"199,21,133",midnightblue:"25,25,112",mintcream:"245,255,250",mistyrose:"255,228,225",moccasin:"255,228,181",navajowhite:"255,222,173",navy:"0,0,128",oldlace:"253,245,230",olivedrab:"107,142,35",olive:"128,128,0",orangered:"255,69,0",orange:"255,165,0",orchid:"218,112,214",palegoldenrod:"238,232,170",palegreen:"152,251,152",paleturquoise:"175,238,238",palevioletred:"219,112,147",papayawhip:"255,239,213",peachpuff:"255,218,185",peru:"205,133,63",pink:"255,192,203",plum:"221,160,221",powderblue:"176,224,230",purple:"128,0,128",red:"255,0,0",rosybrown:"188,143,143",royalblue:"65,105,225",saddlebrown:"139,69,19",salmon:"250,128,114",sandybrown:"244,164,96",seagreen:"46,139,87",seashell:"255,245,238",sienna:"160,82,45",silver:"192,192,192",skyblue:"135,206,235",slateblue:"106,90,205",slategray:"112,128,144",snow:"255,250,250",springgreen:"0,255,127",steelblue:"70,130,180",tan:"210,180,140",teal:"0,128,128",thistle:"216,191,216",tomato:"255,99,71",turquoise:"64,224,208",violet:"238,130,238",wheat:"245,222,179",whitesmoke:"245,245,245",white:"255,255,255",yellowgreen:"154,205,50",yellow:"255,255,0"}},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var t=0;t<y.Lists.colors.length;t++){var e="color"===y.Lists.colors[t]?"0 0 0 1":"255 255 255 1";y.Hooks.templates[y.Lists.colors[t]]=["Red Green Blue Alpha",e]}var n,i,r;if(o)for(n in y.Hooks.templates)if(y.Hooks.templates.hasOwnProperty(n)){r=(i=y.Hooks.templates[n])[0].split(" ");var s=i[1].match(y.RegEx.valueSplit);"Color"===r[0]&&(r.push(r.shift()),s.push(s.shift()),y.Hooks.templates[n]=[r.join(" "),s.join(" ")])}for(n in y.Hooks.templates)if(y.Hooks.templates.hasOwnProperty(n))for(var a in r=(i=y.Hooks.templates[n])[0].split(" "))if(r.hasOwnProperty(a)){var l=n+r[a],c=a;y.Hooks.registered[l]=[n,c]}},getRoot:function(t){var e=y.Hooks.registered[t];return e?e[0]:t},getUnit:function(t,e){var n=(t.substr(e||0,5).match(/^[a-z%]+/)||[])[0]||"";return n&&c(y.Lists.units)?n:""},fixColors:function(t){return t.replace(/(rgba?\(\s*)?(\b[a-z]+\b)/g,(function(t,e,n){return y.Lists.colorNames.hasOwnProperty(n)?(e||"rgba(")+y.Lists.colorNames[n]+(e?"":",1)"):e+n}))},cleanRootPropertyValue:function(t,e){return y.RegEx.valueUnwrap.test(e)&&(e=e.match(y.RegEx.valueUnwrap)[1]),y.Values.isCSSNullValue(e)&&(e=y.Hooks.templates[t][1]),e},extractValue:function(t,e){var n=y.Hooks.registered[t];if(n){var i=n[0],r=n[1];return(e=y.Hooks.cleanRootPropertyValue(i,e)).toString().match(y.RegEx.valueSplit)[r]}return e},injectValue:function(t,e,n){var i=y.Hooks.registered[t];if(i){var r,o=i[0],s=i[1];return(r=(n=y.Hooks.cleanRootPropertyValue(o,n)).toString().match(y.RegEx.valueSplit))[s]=e,r.join(" ")}return n}},Normalizations:{registered:{clip:function(t,e,n){switch(t){case"name":return"clip";case"extract":var i;return y.RegEx.wrappedValueAlreadyExtracted.test(n)?n:(i=n.toString().match(y.RegEx.valueUnwrap))?i[1].replace(/,(\s+)?/g," "):n;case"inject":return"rect("+n+")"}},blur:function(t,e,n){switch(t){case"name":return m.State.isFirefox?"filter":"-webkit-filter";case"extract":var i=parseFloat(n);if(!i&&0!==i){var r=n.toString().match(/blur\(([0-9]+[A-z]+)\)/i);i=r?r[1]:0}return i;case"inject":return parseFloat(n)?"blur("+n+")":"none"}},opacity:function(t,e,n){if(o<=8)switch(t){case"name":return"filter";case"extract":var i=n.toString().match(/alpha\(opacity=(.*)\)/i);return i?i[1]/100:1;case"inject":return e.style.zoom=1,parseFloat(n)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(n),10)+")"}else switch(t){case"name":return"opacity";case"extract":case"inject":return n}}},register:function(){(!o||o>9)&&!m.State.isGingerbread&&(y.Lists.transformsBase=y.Lists.transformsBase.concat(y.Lists.transforms3D));for(var t=0;t<y.Lists.transformsBase.length;t++)!function(){var e=y.Lists.transformsBase[t];y.Normalizations.registered[e]=function(t,n,r){switch(t){case"name":return"transform";case"extract":return w(n)===i||w(n).transformCache[e]===i?/^scale/i.test(e)?1:0:w(n).transformCache[e].replace(/[()]/g,"");case"inject":var o=!1;switch(e.substr(0,e.length-1)){case"translate":o=!/(%|px|em|rem|vw|vh|\d)$/i.test(r);break;case"scal":case"scale":m.State.isAndroid&&w(n).transformCache[e]===i&&r<1&&(r=1),o=!/(\d)$/i.test(r);break;case"skew":case"rotate":o=!/(deg|\d)$/i.test(r)}return o||(w(n).transformCache[e]="("+r+")"),w(n).transformCache[e]}}}();for(var e=0;e<y.Lists.colors.length;e++)!function(){var t=y.Lists.colors[e];y.Normalizations.registered[t]=function(e,n,r){switch(e){case"name":return t;case"extract":var s;if(y.RegEx.wrappedValueAlreadyExtracted.test(r))s=r;else{var a,l={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"};/^[A-z]+$/i.test(r)?a=l[r]!==i?l[r]:l.black:y.RegEx.isHex.test(r)?a="rgb("+y.Values.hexToRgb(r).join(" ")+")":/^rgba?\(/i.test(r)||(a=l.black),s=(a||r).toString().match(y.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}return(!o||o>8)&&3===s.split(" ").length&&(s+=" 1"),s;case"inject":return/^rgb/.test(r)?r:(o<=8?4===r.split(" ").length&&(r=r.split(/\s+/).slice(0,3).join(" ")):3===r.split(" ").length&&(r+=" 1"),(o<=8?"rgb":"rgba")+"("+r.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")")}}}();function n(t,e,n){if("border-box"===y.getPropertyValue(e,"boxSizing").toString().toLowerCase()===(n||!1)){var i,r,o=0,s="width"===t?["Left","Right"]:["Top","Bottom"],a=["padding"+s[0],"padding"+s[1],"border"+s[0]+"Width","border"+s[1]+"Width"];for(i=0;i<a.length;i++)r=parseFloat(y.getPropertyValue(e,a[i])),isNaN(r)||(o+=r);return n?-o:o}return 0}function r(t,e){return function(i,r,o){switch(i){case"name":return t;case"extract":return parseFloat(o)+n(t,r,e);case"inject":return parseFloat(o)-n(t,r,e)+"px"}}}y.Normalizations.registered.innerWidth=r("width",!0),y.Normalizations.registered.innerHeight=r("height",!0),y.Normalizations.registered.outerWidth=r("width"),y.Normalizations.registered.outerHeight=r("height")}},Names:{camelCase:function(t){return t.replace(/-(\w)/g,(function(t,e){return e.toUpperCase()}))},SVGAttribute:function(t){var e="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(o||m.State.isAndroid&&!m.State.isChrome)&&(e+="|transform"),new RegExp("^("+e+")$","i").test(t)},prefixCheck:function(t){if(m.State.prefixMatches[t])return[m.State.prefixMatches[t],!0];for(var e=["","Webkit","Moz","ms","O"],n=0,i=e.length;n<i;n++){var r;if(r=0===n?t:e[n]+t.replace(/^\w/,(function(t){return t.toUpperCase()})),d.isString(m.State.prefixElement.style[r]))return m.State.prefixMatches[t]=r,[r,!0]}return[t,!1]}},Values:{hexToRgb:function(t){var e;return t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,n,i){return e+e+n+n+i+i})),(e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t))?[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]:[0,0,0]},isCSSNullValue:function(t){return!t||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(t)},getUnitType:function(t){return/^(rotate|skew)/i.test(t)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(t)?"":"px"},getDisplayType:function(t){var e=t&&t.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(e)?"inline":/^(li)$/i.test(e)?"list-item":/^(tr)$/i.test(e)?"table-row":/^(table)$/i.test(e)?"table":/^(tbody)$/i.test(e)?"table-row-group":"block"},addClass:function(t,e){if(t)if(t.classList)t.classList.add(e);else if(d.isString(t.className))t.className+=(t.className.length?" ":"")+e;else{var n=t.getAttribute(o<=7?"className":"class")||"";t.setAttribute("class",n+(n?" ":"")+e)}},removeClass:function(t,e){if(t)if(t.classList)t.classList.remove(e);else if(d.isString(t.className))t.className=t.className.toString().replace(new RegExp("(^|\\s)"+e.split(" ").join("|")+"(\\s|$)","gi")," ");else{var n=t.getAttribute(o<=7?"className":"class")||"";t.setAttribute("class",n.replace(new RegExp("(^|s)"+e.split(" ").join("|")+"(s|$)","gi")," "))}}},getPropertyValue:function(t,n,r,s){function a(t,n){var r=0;if(o<=8)r=h.css(t,n);else{var l=!1;/^(width|height)$/.test(n)&&0===y.getPropertyValue(t,"display")&&(l=!0,y.setPropertyValue(t,"display",y.Values.getDisplayType(t)));var c,u=function(){l&&y.setPropertyValue(t,"display","none")};if(!s){if("height"===n&&"border-box"!==y.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var d=t.offsetHeight-(parseFloat(y.getPropertyValue(t,"borderTopWidth"))||0)-(parseFloat(y.getPropertyValue(t,"borderBottomWidth"))||0)-(parseFloat(y.getPropertyValue(t,"paddingTop"))||0)-(parseFloat(y.getPropertyValue(t,"paddingBottom"))||0);return u(),d}if("width"===n&&"border-box"!==y.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var p=t.offsetWidth-(parseFloat(y.getPropertyValue(t,"borderLeftWidth"))||0)-(parseFloat(y.getPropertyValue(t,"borderRightWidth"))||0)-(parseFloat(y.getPropertyValue(t,"paddingLeft"))||0)-(parseFloat(y.getPropertyValue(t,"paddingRight"))||0);return u(),p}}c=w(t)===i?e.getComputedStyle(t,null):w(t).computedStyle?w(t).computedStyle:w(t).computedStyle=e.getComputedStyle(t,null),"borderColor"===n&&(n="borderTopColor"),(""===(r=9===o&&"filter"===n?c.getPropertyValue(n):c[n])||null===r)&&(r=t.style[n]),u()}if("auto"===r&&/^(top|right|bottom|left)$/i.test(n)){var f=a(t,"position");("fixed"===f||"absolute"===f&&/top|left/i.test(n))&&(r=h(t).position()[n]+"px")}return r}var l;if(y.Hooks.registered[n]){var c=n,u=y.Hooks.getRoot(c);r===i&&(r=y.getPropertyValue(t,y.Names.prefixCheck(u)[0])),y.Normalizations.registered[u]&&(r=y.Normalizations.registered[u]("extract",t,r)),l=y.Hooks.extractValue(c,r)}else if(y.Normalizations.registered[n]){var d,p;"transform"!==(d=y.Normalizations.registered[n]("name",t))&&(p=a(t,y.Names.prefixCheck(d)[0]),y.Values.isCSSNullValue(p)&&y.Hooks.templates[n]&&(p=y.Hooks.templates[n][1])),l=y.Normalizations.registered[n]("extract",t,p)}if(!/^[\d-]/.test(l)){var f=w(t);if(f&&f.isSVG&&y.Names.SVGAttribute(n))if(/^(height|width)$/i.test(n))try{l=t.getBBox()[n]}catch{l=0}else l=t.getAttribute(n);else l=a(t,y.Names.prefixCheck(n)[0])}return y.Values.isCSSNullValue(l)&&(l=0),m.debug>=2&&console.log("Get "+n+": "+l),l},setPropertyValue:function(t,n,i,r,s){var a=n;if("scroll"===n)s.container?s.container["scroll"+s.direction]=i:"Left"===s.direction?e.scrollTo(i,s.alternateValue):e.scrollTo(s.alternateValue,i);else if(y.Normalizations.registered[n]&&"transform"===y.Normalizations.registered[n]("name",t))y.Normalizations.registered[n]("inject",t,i),a="transform",i=w(t).transformCache[n];else{if(y.Hooks.registered[n]){var l=n,c=y.Hooks.getRoot(n);r=r||y.getPropertyValue(t,c),i=y.Hooks.injectValue(l,i,r),n=c}if(y.Normalizations.registered[n]&&(i=y.Normalizations.registered[n]("inject",t,i),n=y.Normalizations.registered[n]("name",t)),a=y.Names.prefixCheck(n)[0],o<=8)try{t.style[a]=i}catch{m.debug&&console.log("Browser does not support ["+i+"] for ["+a+"]")}else{var u=w(t);u&&u.isSVG&&y.Names.SVGAttribute(n)?t.setAttribute(n,i):t.style[a]=i}m.debug>=2&&console.log("Set "+n+" ("+a+"): "+i)}return[a,i]},flushTransformCache:function(t){var e="",n=w(t);if((o||m.State.isAndroid&&!m.State.isChrome)&&n&&n.isSVG){var i=function(e){return parseFloat(y.getPropertyValue(t,e))},r={translate:[i("translateX"),i("translateY")],skewX:[i("skewX")],skewY:[i("skewY")],scale:1!==i("scale")?[i("scale"),i("scale")]:[i("scaleX"),i("scaleY")],rotate:[i("rotateZ"),0,0]};h.each(w(t).transformCache,(function(t){/^translate/i.test(t)?t="translate":/^scale/i.test(t)?t="scale":/^rotate/i.test(t)&&(t="rotate"),r[t]&&(e+=t+"("+r[t].join(" ")+") ",delete r[t])}))}else{var s,a;h.each(w(t).transformCache,(function(n){if(s=w(t).transformCache[n],"transformPerspective"===n)return a=s,!0;9===o&&"rotateZ"===n&&(n="rotate"),e+=n+s+" "})),a&&(e="perspective"+a+" "+e)}y.setPropertyValue(t,"transform",e)}};y.Hooks.register(),y.Normalizations.register(),m.hook=function(t,e,n){var r;return t=u(t),h.each(t,(function(t,o){if(w(o)===i&&m.init(o),n===i)r===i&&(r=y.getPropertyValue(o,e));else{var s=y.setPropertyValue(o,e,n);"transform"===s[0]&&m.CSS.flushTransformCache(o),r=s}})),r};var b=function(){var t;function r(){return o?_.promise||null:s}var o,s,a,l,p,g,v=arguments[0]&&(arguments[0].p||h.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||d.isString(arguments[0].properties));d.isWrapped(this)?(o=!1,a=0,l=this,s=this):(o=!0,a=1,l=v?arguments[0].elements||arguments[0].e:arguments[0]);var _={promise:null,resolver:null,rejecter:null};if(o&&m.Promise&&(_.promise=new m.Promise((function(t,e){_.resolver=t,_.rejecter=e}))),v?(p=arguments[0].properties||arguments[0].p,g=arguments[0].options||arguments[0].o):(p=arguments[a],g=arguments[a+1]),l=u(l)){var x,C=l.length,A=0;if(!/^(stop|finish|finishAll|pause|resume)$/i.test(p)&&!h.isPlainObject(g)){g={};for(var P=a+1;P<arguments.length;P++)d.isArray(arguments[P])||!/^(fast|normal|slow)$/i.test(arguments[P])&&!/^\d/.test(arguments[P])?d.isString(arguments[P])||d.isArray(arguments[P])?g.easing=arguments[P]:d.isFunction(arguments[P])&&(g.complete=arguments[P]):g.duration=arguments[P]}switch(p){case"scroll":x="scroll";break;case"reverse":x="reverse";break;case"pause":var M=(new Date).getTime();return h.each(l,(function(t,e){S(e,M)})),h.each(m.State.calls,(function(t,e){var n=!1;e&&h.each(e[1],(function(t,r){var o=g===i?"":g;return!0!==o&&e[2].queue!==o&&(g!==i||!1!==e[2].queue)||(h.each(l,(function(t,i){if(i===r)return e[5]={resume:!1},n=!0,!1})),!n&&void 0)}))})),r();case"resume":return h.each(l,(function(t,e){k(e)})),h.each(m.State.calls,(function(t,e){var n=!1;e&&h.each(e[1],(function(t,r){var o=g===i?"":g;return!0!==o&&e[2].queue!==o&&(g!==i||!1!==e[2].queue)||!e[5]||(h.each(l,(function(t,i){if(i===r)return e[5].resume=!0,n=!0,!1})),!n&&void 0)}))})),r();case"finish":case"finishAll":case"stop":h.each(l,(function(t,e){w(e)&&w(e).delayTimer&&(clearTimeout(w(e).delayTimer.setTimeout),w(e).delayTimer.next&&w(e).delayTimer.next(),delete w(e).delayTimer),"finishAll"===p&&(!0===g||d.isString(g))&&(h.each(h.queue(e,d.isString(g)?g:""),(function(t,e){d.isFunction(e)&&e()})),h.queue(e,d.isString(g)?g:"",[]))}));var L=[];return h.each(m.State.calls,(function(t,e){e&&h.each(e[1],(function(n,r){var o=g===i?"":g;if(!0!==o&&e[2].queue!==o&&(g!==i||!1!==e[2].queue))return!0;h.each(l,(function(n,i){if(i===r)if((!0===g||d.isString(g))&&(h.each(h.queue(i,d.isString(g)?g:""),(function(t,e){d.isFunction(e)&&e(null,!0)})),h.queue(i,d.isString(g)?g:"",[])),"stop"===p){var s=w(i);s&&s.tweensContainer&&(!0===o||""===o)&&h.each(s.tweensContainer,(function(t,e){e.endValue=e.currentValue})),L.push(t)}else("finish"===p||"finishAll"===p)&&(e[2].duration=1)}))}))})),"stop"===p&&(h.each(L,(function(t,e){E(e,!0)})),_.promise&&_.resolver(l)),r();default:if(!h.isPlainObject(p)||d.isEmptyObject(p)){if(d.isString(p)&&m.Redirects[p]){var j=(t=h.extend({},g)).duration,D=t.delay||0;return!0===t.backwards&&(l=h.extend(!0,[],l).reverse()),h.each(l,(function(e,n){parseFloat(t.stagger)?t.delay=D+parseFloat(t.stagger)*e:d.isFunction(t.stagger)&&(t.delay=D+t.stagger.call(n,e,C)),t.drag&&(t.duration=parseFloat(j)||(/^(callout|transition)/.test(p)?1e3:400),t.duration=Math.max(t.duration*(t.backwards?1-e/C:(e+1)/C),.75*t.duration,200)),m.Redirects[p].call(n,n,t||{},e,C,l,_.promise?_:i)})),r()}var $="Velocity: First argument ("+p+") was not a property map, a known action, or a registered redirect. Aborting.";return _.promise?_.rejecter(new Error($)):e.console&&console.log($),r()}x="start"}var R={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},I=[];h.each(l,(function(t,r){d.isNode(r)&&function(t,r){var o,s=h.extend({},m.defaults,g),a={};switch(w(t)===i&&m.init(t),parseFloat(s.delay)&&!1!==s.queue&&h.queue(t,s.queue,(function(e,n){if(!0===n)return!0;m.velocityQueueEntryFlag=!0;var i=m.State.delayedElements.count++;m.State.delayedElements[i]=t;var r=function(t){return function(){m.State.delayedElements[t]=!1,e()}}(i);w(t).delayBegin=(new Date).getTime(),w(t).delay=parseFloat(s.delay),w(t).delayTimer={setTimeout:setTimeout(e,parseFloat(s.delay)),next:r}})),s.duration.toString().toLowerCase()){case"fast":s.duration=200;break;case"normal":s.duration=f;break;case"slow":s.duration=600;break;default:s.duration=parseFloat(s.duration)||1}function u(u){var f,v;if(s.begin&&0===A)try{s.begin.call(l,l)}catch(t){setTimeout((function(){throw t}),1)}if("scroll"===x){var b,S,k,E=/^x$/i.test(s.axis)?"Left":"Top",P=parseFloat(s.offset)||0;s.container?d.isWrapped(s.container)||d.isNode(s.container)?(s.container=s.container[0]||s.container,k=(b=s.container["scroll"+E])+h(t).position()[E.toLowerCase()]+P):s.container=null:(b=m.State.scrollAnchor[m.State["scrollProperty"+E]],S=m.State.scrollAnchor[m.State["scrollProperty"+("Left"===E?"Top":"Left")]],k=h(t).offset()[E.toLowerCase()]+P),a={scroll:{rootPropertyValue:!1,startValue:b,currentValue:b,endValue:k,unitType:"",easing:s.easing,scrollData:{container:s.container,direction:E,alternateValue:S}},element:t},m.debug&&console.log("tweensContainer (scroll): ",a.scroll,t)}else if("reverse"===x){if(!(f=w(t)))return;if(!f.tweensContainer)return void h.dequeue(t,s.queue);for(var M in"none"===f.opts.display&&(f.opts.display="auto"),"hidden"===f.opts.visibility&&(f.opts.visibility="visible"),f.opts.loop=!1,f.opts.begin=null,f.opts.complete=null,g.easing||delete s.easing,g.duration||delete s.duration,s=h.extend({},f.opts,s),v=h.extend(!0,{},f?f.tweensContainer:null))if(v.hasOwnProperty(M)&&"element"!==M){var L=v[M].startValue;v[M].startValue=v[M].currentValue=v[M].endValue,v[M].endValue=L,d.isEmptyObject(g)||(v[M].easing=s.easing),m.debug&&console.log("reverse tweensContainer ("+M+"): "+JSON.stringify(v[M]),t)}a=v}else if("start"===x){(f=w(t))&&f.tweensContainer&&!0===f.isAnimating&&(v=f.tweensContainer);var j=function(e,n){var i,o,a;return d.isFunction(e)&&(e=e.call(t,r,C)),d.isArray(e)?(i=e[0],!d.isArray(e[1])&&/^[\d-]/.test(e[1])||d.isFunction(e[1])||y.RegEx.isHex.test(e[1])?a=e[1]:d.isString(e[1])&&!y.RegEx.isHex.test(e[1])&&m.Easings[e[1]]||d.isArray(e[1])?(o=n?e[1]:O(e[1],s.duration),a=e[2]):a=e[1]||e[2]):i=e,n||(o=o||s.easing),d.isFunction(i)&&(i=i.call(t,r,C)),d.isFunction(a)&&(a=a.call(t,r,C)),[i||0,o,a]},D=function(r,l){var c,u=y.Hooks.getRoot(r),p=!1,g=l[0],b=l[1],_=l[2];if(f&&f.isSVG||"tween"===u||!1!==y.Names.prefixCheck(u)[1]||y.Normalizations.registered[u]!==i){(s.display!==i&&null!==s.display&&"none"!==s.display||s.visibility!==i&&"hidden"!==s.visibility)&&/opacity|filter/.test(r)&&!_&&0!==g&&(_=0),s._cacheValues&&v&&v[r]?(_===i&&(_=v[r].endValue+v[r].unitType),p=f.rootPropertyValueCache[u]):y.Hooks.registered[r]?_===i?(p=y.getPropertyValue(t,u),_=y.getPropertyValue(t,r,p)):p=y.Hooks.templates[u][1]:_===i&&(_=y.getPropertyValue(t,r));var x,w,S,k=!1,C=function(t,e){var n,i;return i=(e||"0").toString().toLowerCase().replace(/[%A-z]+$/,(function(t){return n=t,""})),n||(n=y.Values.getUnitType(t)),[i,n]};if(_!==g&&d.isString(_)&&d.isString(g)){c="";var A=0,O=0,T=[],E=[],P=0,M=0,L=0;for(_=y.Hooks.fixColors(_),g=y.Hooks.fixColors(g);A<_.length&&O<g.length;){var j=_[A],D=g[O];if(/[\d\.-]/.test(j)&&/[\d\.-]/.test(D)){for(var $=j,I=D,N=".",B=".";++A<_.length;){if((j=_[A])===N)N="..";else if(!/\d/.test(j))break;$+=j}for(;++O<g.length;){if((D=g[O])===B)B="..";else if(!/\d/.test(D))break;I+=D}var F=y.Hooks.getUnit(_,A),z=y.Hooks.getUnit(g,O);if(A+=F.length,O+=z.length,F===z)$===I?c+=$+F:(c+="{"+T.length+(M?"!":"")+"}"+F,T.push(parseFloat($)),E.push(parseFloat(I)));else{var V=parseFloat($),W=parseFloat(I);c+=(P<5?"calc":"")+"("+(V?"{"+T.length+(M?"!":"")+"}":"0")+F+" + "+(W?"{"+(T.length+(V?1:0))+(M?"!":"")+"}":"0")+z+")",V&&(T.push(V),E.push(0)),W&&(T.push(0),E.push(W))}}else{if(j!==D){P=0;break}c+=j,A++,O++,0===P&&"c"===j||1===P&&"a"===j||2===P&&"l"===j||3===P&&"c"===j||P>=4&&"("===j?P++:(P&&P<5||P>=4&&")"===j&&--P<5)&&(P=0),0===M&&"r"===j||1===M&&"g"===j||2===M&&"b"===j||3===M&&"a"===j||M>=3&&"("===j?(3===M&&"a"===j&&(L=1),M++):L&&","===j?++L>3&&(M=L=0):(L&&M<(L?5:4)||M>=(L?4:3)&&")"===j&&--M<(L?5:4))&&(M=L=0)}}(A!==_.length||O!==g.length)&&(m.debug&&console.error('Trying to pattern match mis-matched strings ["'+g+'", "'+_+'"]'),c=i),c&&(T.length?(m.debug&&console.log('Pattern found "'+c+'" -> ',T,E,"["+_+","+g+"]"),_=T,g=E,w=S=""):c=i)}c||(_=(x=C(r,_))[0],S=x[1],g=(x=C(r,g))[0].replace(/^([+-\/*])=/,(function(t,e){return k=e,""})),w=x[1],_=parseFloat(_)||0,g=parseFloat(g)||0,"%"===w&&(/^(fontSize|lineHeight)$/.test(r)?(g/=100,w="em"):/^scale/.test(r)?(g/=100,w=""):/(Red|Green|Blue)$/i.test(r)&&(g=g/100*255,w="")));var H=function(){var i={myParent:t.parentNode||n.body,position:y.getPropertyValue(t,"position"),fontSize:y.getPropertyValue(t,"fontSize")},r=i.position===R.lastPosition&&i.myParent===R.lastParent,o=i.fontSize===R.lastFontSize;R.lastParent=i.myParent,R.lastPosition=i.position,R.lastFontSize=i.fontSize;var s=100,a={};if(o&&r)a.emToPx=R.lastEmToPx,a.percentToPxWidth=R.lastPercentToPxWidth,a.percentToPxHeight=R.lastPercentToPxHeight;else{var l=f&&f.isSVG?n.createElementNS("http://www.w3.org/2000/svg","rect"):n.createElement("div");m.init(l),i.myParent.appendChild(l),h.each(["overflow","overflowX","overflowY"],(function(t,e){m.CSS.setPropertyValue(l,e,"hidden")})),m.CSS.setPropertyValue(l,"position",i.position),m.CSS.setPropertyValue(l,"fontSize",i.fontSize),m.CSS.setPropertyValue(l,"boxSizing","content-box"),h.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],(function(t,e){m.CSS.setPropertyValue(l,e,s+"%")})),m.CSS.setPropertyValue(l,"paddingLeft",s+"em"),a.percentToPxWidth=R.lastPercentToPxWidth=(parseFloat(y.getPropertyValue(l,"width",null,!0))||1)/s,a.percentToPxHeight=R.lastPercentToPxHeight=(parseFloat(y.getPropertyValue(l,"height",null,!0))||1)/s,a.emToPx=R.lastEmToPx=(parseFloat(y.getPropertyValue(l,"paddingLeft"))||1)/s,i.myParent.removeChild(l)}return null===R.remToPx&&(R.remToPx=parseFloat(y.getPropertyValue(n.body,"fontSize"))||16),null===R.vwToPx&&(R.vwToPx=parseFloat(e.innerWidth)/100,R.vhToPx=parseFloat(e.innerHeight)/100),a.remToPx=R.remToPx,a.vwToPx=R.vwToPx,a.vhToPx=R.vhToPx,m.debug>=1&&console.log("Unit ratios: "+JSON.stringify(a),t),a};if(/[\/*]/.test(k))w=S;else if(S!==w&&0!==_)if(0===g)w=S;else{o=o||H();var U=/margin|padding|left|right|width|text|word|letter/i.test(r)||/X$/.test(r)||"x"===r?"x":"y";switch(S){case"%":_*="x"===U?o.percentToPxWidth:o.percentToPxHeight;break;case"px":break;default:_*=o[S+"ToPx"]}switch(w){case"%":_*=1/("x"===U?o.percentToPxWidth:o.percentToPxHeight);break;case"px":break;default:_*=1/o[w+"ToPx"]}}switch(k){case"+":g=_+g;break;case"-":g=_-g;break;case"*":g*=_;break;case"/":g=_/g}a[r]={rootPropertyValue:p,startValue:_,currentValue:_,endValue:g,unitType:w,easing:b},c&&(a[r].pattern=c),m.debug&&console.log("tweensContainer ("+r+"): "+JSON.stringify(a[r]),t)}else m.debug&&console.log("Skipping ["+u+"] due to a lack of browser support.")};for(var $ in p)if(p.hasOwnProperty($)){var N=y.Names.camelCase($),B=j(p[$]);if(c(y.Lists.colors)){var F=B[0],z=B[1],V=B[2];if(y.RegEx.isHex.test(F)){for(var W=["Red","Green","Blue"],H=y.Values.hexToRgb(F),U=V?y.Values.hexToRgb(V):i,q=0;q<W.length;q++){var G=[H[q]];z&&G.push(z),U!==i&&G.push(U[q]),D(N+W[q],G)}continue}}D(N,B)}a.element=t}a.element&&(y.Values.addClass(t,"velocity-animating"),I.push(a),(f=w(t))&&(""===s.queue&&(f.tweensContainer=a,f.opts=s),f.isAnimating=!0),A===C-1?(m.State.calls.push([I,l,s,null,_.resolver,null,0]),!1===m.State.isTicking&&(m.State.isTicking=!0,T())):A++)}if(!1!==m.mock&&(!0===m.mock?s.duration=s.delay=1:(s.duration*=parseFloat(m.mock)||1,s.delay*=parseFloat(m.mock)||1)),s.easing=O(s.easing,s.duration),s.begin&&!d.isFunction(s.begin)&&(s.begin=null),s.progress&&!d.isFunction(s.progress)&&(s.progress=null),s.complete&&!d.isFunction(s.complete)&&(s.complete=null),s.display!==i&&null!==s.display&&(s.display=s.display.toString().toLowerCase(),"auto"===s.display&&(s.display=m.CSS.Values.getDisplayType(t))),s.visibility!==i&&null!==s.visibility&&(s.visibility=s.visibility.toString().toLowerCase()),s.mobileHA=s.mobileHA&&m.State.isMobile&&!m.State.isGingerbread,!1===s.queue)if(s.delay){var v=m.State.delayedElements.count++;m.State.delayedElements[v]=t;var b=function(t){return function(){m.State.delayedElements[t]=!1,u()}}(v);w(t).delayBegin=(new Date).getTime(),w(t).delay=parseFloat(s.delay),w(t).delayTimer={setTimeout:setTimeout(u,parseFloat(s.delay)),next:b}}else u();else h.queue(t,s.queue,(function(t,e){if(!0===e)return _.promise&&_.resolver(l),!0;m.velocityQueueEntryFlag=!0,u()}));(""===s.queue||"fx"===s.queue)&&"inprogress"!==h.queue(t)[0]&&h.dequeue(t)}(r,t)})),(t=h.extend({},m.defaults,g)).loop=parseInt(t.loop,10);var N=2*t.loop-1;if(t.loop)for(var B=0;B<N;B++){var F={delay:t.delay,progress:t.progress};B===N-1&&(F.display=t.display,F.visibility=t.visibility,F.complete=t.complete),b(l,"reverse",F)}return r()}_.promise&&(p&&g&&!1===g.promiseRejectEmpty?_.resolver():_.rejecter())};(m=h.extend(b,m)).animate=b;var _=e.requestAnimationFrame||s;if(!m.State.isMobile&&n.hidden!==i){var x=function(){n.hidden?(_=function(t){return setTimeout((function(){t(!0)}),16)},T()):_=e.requestAnimationFrame||s};x(),n.addEventListener("visibilitychange",x)}return t.Velocity=m,t!==e&&(t.fn.velocity=b,t.fn.velocity.defaults=m.defaults),h.each(["Down","Up"],(function(t,e){m.Redirects["slide"+e]=function(t,n,r,o,s,a){var l=h.extend({},n),c=l.begin,u=l.complete,d={},p={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""};l.display===i&&(l.display="Down"===e?"inline"===m.CSS.Values.getDisplayType(t)?"inline-block":"block":"none"),l.begin=function(){for(var n in 0===r&&c&&c.call(s,s),p)if(p.hasOwnProperty(n)){d[n]=t.style[n];var i=y.getPropertyValue(t,n);p[n]="Down"===e?[i,0]:[0,i]}d.overflow=t.style.overflow,t.style.overflow="hidden"},l.complete=function(){for(var e in d)d.hasOwnProperty(e)&&(t.style[e]=d[e]);r===o-1&&(u&&u.call(s,s),a&&a.resolver(s))},m(t,p,l)}})),h.each(["In","Out"],(function(t,e){m.Redirects["fade"+e]=function(t,n,r,o,s,a){var l=h.extend({},n),c=l.complete,u={opacity:"In"===e?1:0};0!==r&&(l.begin=null),l.complete=r!==o-1?null:function(){c&&c.call(s,s),a&&a.resolver(s)},l.display===i&&(l.display="In"===e?"auto":"none"),m(this,u,l)}})),m}function w(t){var e=h.data(t,"velocity");return null===e?i:e}function S(t,e){var n=w(t);n&&n.delayTimer&&!n.delayPaused&&(n.delayRemaining=n.delay-e+n.delayBegin,n.delayPaused=!0,clearTimeout(n.delayTimer.setTimeout))}function k(t,e){var n=w(t);n&&n.delayTimer&&n.delayPaused&&(n.delayPaused=!1,n.delayTimer.setTimeout=setTimeout(n.delayTimer.next,n.delayRemaining))}function C(t){return function(e){return Math.round(e*t)*(1/t)}}function A(t,n,i,r){var o=.1,s="Float32Array"in e;if(4!==arguments.length)return!1;for(var a=0;a<4;++a)if("number"!=typeof arguments[a]||isNaN(arguments[a])||!isFinite(arguments[a]))return!1;t=Math.min(t,1),i=Math.min(i,1),t=Math.max(t,0),i=Math.max(i,0);var l=s?new Float32Array(11):new Array(11);function c(t,e){return 1-3*e+3*t}function u(t,e){return 3*e-6*t}function h(t){return 3*t}function d(t,e,n){return((c(e,n)*t+u(e,n))*t+h(e))*t}function p(t,e,n){return 3*c(e,n)*t*t+2*u(e,n)*t+h(e)}function f(e){for(var n=0,r=1;10!==r&&l[r]<=e;++r)n+=o;--r;var s=n+(e-l[r])/(l[r+1]-l[r])*o,a=p(s,t,i);return a>=.001?function(e,n){for(var r=0;r<4;++r){var o=p(n,t,i);if(0===o)return n;n-=(d(n,t,i)-e)/o}return n}(e,s):0===a?s:function(e,n,r){var o,s,a=0;do{(o=d(s=n+(r-n)/2,t,i)-e)>0?r=s:n=s}while(Math.abs(o)>1e-7&&++a<10);return s}(e,n,n+o)}var g=!1;function m(){g=!0,(t!==n||i!==r)&&function(){for(var e=0;e<11;++e)l[e]=d(e*o,t,i)}()}var v=function(e){return g||m(),t===n&&i===r?e:0===e?0:1===e?1:d(f(e),n,r)};v.getControlPoints=function(){return[{x:t,y:n},{x:i,y:r}]};var y="generateBezier("+[t,n,i,r]+")";return v.toString=function(){return y},v}function O(t,e){var n=t;return d.isString(t)?m.Easings[t]||(n=!1):n=d.isArray(t)&&1===t.length?C.apply(null,t):d.isArray(t)&&2===t.length?v.apply(null,t.concat([e])):!(!d.isArray(t)||4!==t.length)&&A.apply(null,t),!1===n&&(n=m.Easings[m.defaults.easing]?m.defaults.easing:g),n}function T(t){if(t){var e=m.timestamp&&!0!==t?t:a.now(),n=m.State.calls.length;n>1e4&&(m.State.calls=function(t){for(var e=-1,n=t?t.length:0,i=[];++e<n;){var r=t[e];r&&i.push(r)}return i}(m.State.calls),n=m.State.calls.length);for(var r=0;r<n;r++)if(m.State.calls[r]){var s=m.State.calls[r],l=s[0],c=s[2],u=s[3],p=!u,f=null,g=s[5],v=s[6];if(u||(u=m.State.calls[r][3]=e-16),g){if(!0!==g.resume)continue;u=s[3]=Math.round(e-v-16),s[5]=null}v=s[6]=e-u;for(var b=Math.min(v/c.duration,1),x=0,S=l.length;x<S;x++){var k=l[x],C=k.element;if(w(C)){var A=!1;if(c.display!==i&&null!==c.display&&"none"!==c.display){if("flex"===c.display){h.each(["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"],(function(t,e){y.setPropertyValue(C,"display",e)}))}y.setPropertyValue(C,"display",c.display)}for(var O in c.visibility!==i&&"hidden"!==c.visibility&&y.setPropertyValue(C,"visibility",c.visibility),k)if(k.hasOwnProperty(O)&&"element"!==O){var P,M=k[O],L=d.isString(M.easing)?m.Easings[M.easing]:M.easing;if(d.isString(M.pattern)){var j=1===b?function(t,e,n){var i=M.endValue[e];return n?Math.round(i):i}:function(t,e,n){var i=M.startValue[e],r=M.endValue[e]-i,o=i+r*L(b,c,r);return n?Math.round(o):o};P=M.pattern.replace(/{(\d+)(!)?}/g,j)}else if(1===b)P=M.endValue;else{var D=M.endValue-M.startValue;P=M.startValue+D*L(b,c,D)}if(!p&&P===M.currentValue)continue;if(M.currentValue=P,"tween"===O)f=P;else{var $;if(y.Hooks.registered[O]){$=y.Hooks.getRoot(O);var R=w(C).rootPropertyValueCache[$];R&&(M.rootPropertyValue=R)}var I=y.setPropertyValue(C,O,M.currentValue+(o<9&&0===parseFloat(P)?"":M.unitType),M.rootPropertyValue,M.scrollData);y.Hooks.registered[O]&&(y.Normalizations.registered[$]?w(C).rootPropertyValueCache[$]=y.Normalizations.registered[$]("extract",null,I[1]):w(C).rootPropertyValueCache[$]=I[1]),"transform"===I[0]&&(A=!0)}}c.mobileHA&&w(C).transformCache.translate3d===i&&(w(C).transformCache.translate3d="(0px, 0px, 0px)",A=!0),A&&y.flushTransformCache(C)}}c.display!==i&&"none"!==c.display&&(m.State.calls[r][2].display=!1),c.visibility!==i&&"hidden"!==c.visibility&&(m.State.calls[r][2].visibility=!1),c.progress&&c.progress.call(s[1],s[1],b,Math.max(0,u+c.duration-e),u,f),1===b&&E(r)}}m.State.isTicking&&_(T)}function E(t,e){if(!m.State.calls[t])return!1;for(var n=m.State.calls[t][0],r=m.State.calls[t][1],o=m.State.calls[t][2],s=m.State.calls[t][4],a=!1,l=0,c=n.length;l<c;l++){var u=n[l].element;!e&&!o.loop&&("none"===o.display&&y.setPropertyValue(u,"display",o.display),"hidden"===o.visibility&&y.setPropertyValue(u,"visibility",o.visibility));var d=w(u);if(!0!==o.loop&&(h.queue(u)[1]===i||!/\.velocityQueueEntryFlag/i.test(h.queue(u)[1]))&&d){d.isAnimating=!1,d.rootPropertyValueCache={};var p=!1;h.each(y.Lists.transforms3D,(function(t,e){var n=/^scale/.test(e)?1:0,r=d.transformCache[e];d.transformCache[e]!==i&&new RegExp("^\\("+n+"[^.]").test(r)&&(p=!0,delete d.transformCache[e])})),o.mobileHA&&(p=!0,delete d.transformCache.translate3d),p&&y.flushTransformCache(u),y.Values.removeClass(u,"velocity-animating")}if(!e&&o.complete&&!o.loop&&l===c-1)try{o.complete.call(r,r)}catch(t){setTimeout((function(){throw t}),1)}s&&!0!==o.loop&&s(r),d&&!0===o.loop&&!e&&(h.each(d.tweensContainer,(function(t,e){if(/^rotate/.test(t)&&(parseFloat(e.startValue)-parseFloat(e.endValue))%360==0){var n=e.startValue;e.startValue=e.endValue,e.endValue=n}/^backgroundPosition/.test(t)&&100===parseFloat(e.endValue)&&"%"===e.unitType&&(e.endValue=0,e.startValue=100)})),m(u,"reverse",{loop:!0,delay:o.delay})),!1!==o.queue&&h.dequeue(u,o.queue)}m.State.calls[t]=!1;for(var f=0,g=m.State.calls.length;f<g;f++)if(!1!==m.State.calls[f]){a=!0;break}!1===a&&(m.State.isTicking=!1,delete m.State.calls,m.State.calls=[])}jQuery.fn.velocity=jQuery.fn.animate}(window.jQuery||window.Zepto||window,window,window?window.document:void 0);const fd=hd(pd.exports);var gd={exports:{}};!function(t,e){(function(){var n,i="Expected a function",r="__lodash_hash_undefined__",o="__lodash_placeholder__",s=32,a=128,l=1/0,c=9007199254740991,u=NaN,h=4294967295,d=h-1,p=h>>>1,f=[["ary",a],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",s],["partialRight",64],["rearg",256]],g="[object Arguments]",m="[object Array]",v="[object Boolean]",y="[object Date]",b="[object Error]",_="[object Function]",x="[object GeneratorFunction]",w="[object Map]",S="[object Number]",k="[object Object]",C="[object Promise]",A="[object RegExp]",O="[object Set]",T="[object String]",E="[object Symbol]",P="[object WeakMap]",M="[object ArrayBuffer]",L="[object DataView]",j="[object Float32Array]",D="[object Float64Array]",$="[object Int8Array]",R="[object Int16Array]",I="[object Int32Array]",N="[object Uint8Array]",B="[object Uint8ClampedArray]",F="[object Uint16Array]",z="[object Uint32Array]",V=/\b__p \+= '';/g,W=/\b(__p \+=) '' \+/g,H=/(__e\(.*?\)|\b__t\)) \+\n'';/g,U=/&(?:amp|lt|gt|quot|#39);/g,q=/[&<>"']/g,G=RegExp(U.source),X=RegExp(q.source),Y=/<%-([\s\S]+?)%>/g,K=/<%([\s\S]+?)%>/g,Z=/<%=([\s\S]+?)%>/g,J=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Q=/^\w*$/,tt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,et=/[\\^$.*+?()[\]{}|]/g,nt=RegExp(et.source),it=/^\s+/,rt=/\s/,ot=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,st=/\{\n\/\* \[wrapped with (.+)\] \*/,at=/,? & /,lt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ct=/[()=,{}\[\]\/\s]/,ut=/\\(\\)?/g,ht=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,dt=/\w*$/,pt=/^[-+]0x[0-9a-f]+$/i,ft=/^0b[01]+$/i,gt=/^\[object .+?Constructor\]$/,mt=/^0o[0-7]+$/i,vt=/^(?:0|[1-9]\d*)$/,yt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,bt=/($^)/,_t=/['\n\r\u2028\u2029\\]/g,xt="\\ud800-\\udfff",wt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",St="\\u2700-\\u27bf",kt="a-z\\xdf-\\xf6\\xf8-\\xff",Ct="A-Z\\xc0-\\xd6\\xd8-\\xde",At="\\ufe0e\\ufe0f",Ot="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\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",Tt="["+xt+"]",Et="["+Ot+"]",Pt="["+wt+"]",Mt="\\d+",Lt="["+St+"]",jt="["+kt+"]",Dt="[^"+xt+Ot+Mt+St+kt+Ct+"]",$t="\\ud83c[\\udffb-\\udfff]",Rt="[^"+xt+"]",It="(?:\\ud83c[\\udde6-\\uddff]){2}",Nt="[\\ud800-\\udbff][\\udc00-\\udfff]",Bt="["+Ct+"]",Ft="\\u200d",zt="(?:"+jt+"|"+Dt+")",Vt="(?:"+Bt+"|"+Dt+")",Wt="(?:['’](?:d|ll|m|re|s|t|ve))?",Ht="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ut="(?:"+Pt+"|"+$t+")?",qt="["+At+"]?",Gt=qt+Ut+"(?:"+Ft+"(?:"+[Rt,It,Nt].join("|")+")"+qt+Ut+")*",Xt="(?:"+[Lt,It,Nt].join("|")+")"+Gt,Yt="(?:"+[Rt+Pt+"?",Pt,It,Nt,Tt].join("|")+")",Kt=RegExp("['’]","g"),Zt=RegExp(Pt,"g"),Jt=RegExp($t+"(?="+$t+")|"+Yt+Gt,"g"),Qt=RegExp([Bt+"?"+jt+"+"+Wt+"(?="+[Et,Bt,"$"].join("|")+")",Vt+"+"+Ht+"(?="+[Et,Bt+zt,"$"].join("|")+")",Bt+"?"+zt+"+"+Wt,Bt+"+"+Ht,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Mt,Xt].join("|"),"g"),te=RegExp("["+Ft+xt+wt+At+"]"),ee=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ne=["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"],ie=-1,re={};re[j]=re[D]=re[$]=re[R]=re[I]=re[N]=re[B]=re[F]=re[z]=!0,re[g]=re[m]=re[M]=re[v]=re[L]=re[y]=re[b]=re[_]=re[w]=re[S]=re[k]=re[A]=re[O]=re[T]=re[P]=!1;var oe={};oe[g]=oe[m]=oe[M]=oe[L]=oe[v]=oe[y]=oe[j]=oe[D]=oe[$]=oe[R]=oe[I]=oe[w]=oe[S]=oe[k]=oe[A]=oe[O]=oe[T]=oe[E]=oe[N]=oe[B]=oe[F]=oe[z]=!0,oe[b]=oe[_]=oe[P]=!1;var se={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ae=parseFloat,le=parseInt,ce="object"==typeof ud&&ud&&ud.Object===Object&&ud,ue="object"==typeof self&&self&&self.Object===Object&&self,he=ce||ue||Function("return this")(),de=e&&!e.nodeType&&e,pe=de&&t&&!t.nodeType&&t,fe=pe&&pe.exports===de,ge=fe&&ce.process,me=function(){try{return pe&&pe.require&&pe.require("util").types||ge&&ge.binding&&ge.binding("util")}catch{}}(),ve=me&&me.isArrayBuffer,ye=me&&me.isDate,be=me&&me.isMap,_e=me&&me.isRegExp,xe=me&&me.isSet,we=me&&me.isTypedArray;function Se(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function ke(t,e,n,i){for(var r=-1,o=null==t?0:t.length;++r<o;){var s=t[r];e(i,s,n(s),t)}return i}function Ce(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););return t}function Ae(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function Oe(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(!e(t[n],n,t))return!1;return!0}function Te(t,e){for(var n=-1,i=null==t?0:t.length,r=0,o=[];++n<i;){var s=t[n];e(s,n,t)&&(o[r++]=s)}return o}function Ee(t,e){return!(null==t||!t.length)&&Be(t,e,0)>-1}function Pe(t,e,n){for(var i=-1,r=null==t?0:t.length;++i<r;)if(n(e,t[i]))return!0;return!1}function Me(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}function Le(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}function je(t,e,n,i){var r=-1,o=null==t?0:t.length;for(i&&o&&(n=t[++r]);++r<o;)n=e(n,t[r],r,t);return n}function De(t,e,n,i){var r=null==t?0:t.length;for(i&&r&&(n=t[--r]);r--;)n=e(n,t[r],r,t);return n}function $e(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1}var Re=We("length");function Ie(t,e,n){var i;return n(t,(function(t,n,r){if(e(t,n,r))return i=n,!1})),i}function Ne(t,e,n,i){for(var r=t.length,o=n+(i?1:-1);i?o--:++o<r;)if(e(t[o],o,t))return o;return-1}function Be(t,e,n){return e==e?function(t,e,n){for(var i=n-1,r=t.length;++i<r;)if(t[i]===e)return i;return-1}(t,e,n):Ne(t,ze,n)}function Fe(t,e,n,i){for(var r=n-1,o=t.length;++r<o;)if(i(t[r],e))return r;return-1}function ze(t){return t!=t}function Ve(t,e){var n=null==t?0:t.length;return n?qe(t,e)/n:u}function We(t){return function(e){return null==e?n:e[t]}}function He(t){return function(e){return null==t?n:t[e]}}function Ue(t,e,n,i,r){return r(t,(function(t,r,o){n=i?(i=!1,t):e(n,t,r,o)})),n}function qe(t,e){for(var i,r=-1,o=t.length;++r<o;){var s=e(t[r]);s!==n&&(i=i===n?s:i+s)}return i}function Ge(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}function Xe(t){return t&&t.slice(0,hn(t)+1).replace(it,"")}function Ye(t){return function(e){return t(e)}}function Ke(t,e){return Me(e,(function(e){return t[e]}))}function Ze(t,e){return t.has(e)}function Je(t,e){for(var n=-1,i=t.length;++n<i&&Be(e,t[n],0)>-1;);return n}function Qe(t,e){for(var n=t.length;n--&&Be(e,t[n],0)>-1;);return n}var tn=He({À:"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"}),en=He({"&":"&","<":"<",">":">",'"':""","'":"'"});function nn(t){return"\\"+se[t]}function rn(t){return te.test(t)}function on(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n}function sn(t,e){return function(n){return t(e(n))}}function an(t,e){for(var n=-1,i=t.length,r=0,s=[];++n<i;){var a=t[n];(a===e||a===o)&&(t[n]=o,s[r++]=n)}return s}function ln(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function cn(t){return rn(t)?function(t){for(var e=Jt.lastIndex=0;Jt.test(t);)++e;return e}(t):Re(t)}function un(t){return rn(t)?function(t){return t.match(Jt)||[]}(t):function(t){return t.split("")}(t)}function hn(t){for(var e=t.length;e--&&rt.test(t.charAt(e)););return e}var dn=He({"&":"&","<":"<",">":">",""":'"',"'":"'"}),pn=function t(e){var rt,xt=(e=null==e?he:pn.defaults(he.Object(),e,pn.pick(he,ne))).Array,wt=e.Date,St=e.Error,kt=e.Function,Ct=e.Math,At=e.Object,Ot=e.RegExp,Tt=e.String,Et=e.TypeError,Pt=xt.prototype,Mt=kt.prototype,Lt=At.prototype,jt=e["__core-js_shared__"],Dt=Mt.toString,$t=Lt.hasOwnProperty,Rt=0,It=(rt=/[^.]+$/.exec(jt&&jt.keys&&jt.keys.IE_PROTO||""))?"Symbol(src)_1."+rt:"",Nt=Lt.toString,Bt=Dt.call(At),Ft=he._,zt=Ot("^"+Dt.call($t).replace(et,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Vt=fe?e.Buffer:n,Wt=e.Symbol,Ht=e.Uint8Array,Ut=Vt?Vt.allocUnsafe:n,qt=sn(At.getPrototypeOf,At),Gt=At.create,Xt=Lt.propertyIsEnumerable,Yt=Pt.splice,Jt=Wt?Wt.isConcatSpreadable:n,te=Wt?Wt.iterator:n,se=Wt?Wt.toStringTag:n,ce=function(){try{var t=co(At,"defineProperty");return t({},"",{}),t}catch{}}(),ue=e.clearTimeout!==he.clearTimeout&&e.clearTimeout,de=wt&&wt.now!==he.Date.now&&wt.now,pe=e.setTimeout!==he.setTimeout&&e.setTimeout,ge=Ct.ceil,me=Ct.floor,Re=At.getOwnPropertySymbols,He=Vt?Vt.isBuffer:n,fn=e.isFinite,gn=Pt.join,mn=sn(At.keys,At),vn=Ct.max,yn=Ct.min,bn=wt.now,_n=e.parseInt,xn=Ct.random,wn=Pt.reverse,Sn=co(e,"DataView"),kn=co(e,"Map"),Cn=co(e,"Promise"),An=co(e,"Set"),On=co(e,"WeakMap"),Tn=co(At,"create"),En=On&&new On,Pn={},Mn=No(Sn),Ln=No(kn),jn=No(Cn),Dn=No(An),$n=No(On),Rn=Wt?Wt.prototype:n,In=Rn?Rn.valueOf:n,Nn=Rn?Rn.toString:n;function Bn(t){if(ea(t)&&!Hs(t)&&!(t instanceof Wn)){if(t instanceof Vn)return t;if($t.call(t,"__wrapped__"))return Bo(t)}return new Vn(t)}var Fn=function(){function t(){}return function(e){if(!ta(e))return{};if(Gt)return Gt(e);t.prototype=e;var i=new t;return t.prototype=n,i}}();function zn(){}function Vn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=n}function Wn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=h,this.__views__=[]}function Hn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Un(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function qn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Gn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new qn;++e<n;)this.add(t[e])}function Xn(t){var e=this.__data__=new Un(t);this.size=e.size}function Yn(t,e){var n=Hs(t),i=!n&&Ws(t),r=!n&&!i&&Xs(t),o=!n&&!i&&!r&&ca(t),s=n||i||r||o,a=s?Ge(t.length,Tt):[],l=a.length;for(var c in t)(e||$t.call(t,c))&&(!s||!("length"==c||r&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||vo(c,l)))&&a.push(c);return a}function Kn(t){var e=t.length;return e?t[qi(0,e-1)]:n}function Zn(t,e){return jo(Or(t),si(e,0,t.length))}function Jn(t){return jo(Or(t))}function Qn(t,e,i){(i!==n&&!Fs(t[e],i)||i===n&&!(e in t))&&ri(t,e,i)}function ti(t,e,i){var r=t[e];(!$t.call(t,e)||!Fs(r,i)||i===n&&!(e in t))&&ri(t,e,i)}function ei(t,e){for(var n=t.length;n--;)if(Fs(t[n][0],e))return n;return-1}function ni(t,e,n,i){return hi(t,(function(t,r,o){e(i,t,n(t),o)})),i}function ii(t,e){return t&&Tr(e,Ma(e),t)}function ri(t,e,n){"__proto__"==e&&ce?ce(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function oi(t,e){for(var i=-1,r=e.length,o=xt(r),s=null==t;++i<r;)o[i]=s?n:Aa(t,e[i]);return o}function si(t,e,i){return t==t&&(i!==n&&(t=t<=i?t:i),e!==n&&(t=t>=e?t:e)),t}function ai(t,e,i,r,o,s){var a,l=1&e,c=2&e,u=4&e;if(i&&(a=o?i(t,r,o,s):i(t)),a!==n)return a;if(!ta(t))return t;var h=Hs(t);if(h){if(a=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&$t.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!l)return Or(t,a)}else{var d=po(t),p=d==_||d==x;if(Xs(t))return xr(t,l);if(d==k||d==g||p&&!o){if(a=c||p?{}:go(t),!l)return c?function(t,e){return Tr(t,ho(t),e)}(t,function(t,e){return t&&Tr(e,La(e),t)}(a,t)):function(t,e){return Tr(t,uo(t),e)}(t,ii(a,t))}else{if(!oe[d])return o?t:{};a=function(t,e,n){var i=t.constructor;switch(e){case M:return wr(t);case v:case y:return new i(+t);case L:return function(t,e){var n=e?wr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case j:case D:case $:case R:case I:case N:case B:case F:case z:return Sr(t,n);case w:return new i;case S:case T:return new i(t);case A:return function(t){var e=new t.constructor(t.source,dt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case O:return new i;case E:return function(t){return In?At(In.call(t)):{}}(t)}}(t,d,l)}}s||(s=new Xn);var f=s.get(t);if(f)return f;s.set(t,a),sa(t)?t.forEach((function(n){a.add(ai(n,e,i,n,t,s))})):na(t)&&t.forEach((function(n,r){a.set(r,ai(n,e,i,r,t,s))}));var m=h?n:(u?c?no:eo:c?La:Ma)(t);return Ce(m||t,(function(n,r){m&&(n=t[r=n]),ti(a,r,ai(n,e,i,r,t,s))})),a}function li(t,e,i){var r=i.length;if(null==t)return!r;for(t=At(t);r--;){var o=i[r],s=e[o],a=t[o];if(a===n&&!(o in t)||!s(a))return!1}return!0}function ci(t,e,r){if("function"!=typeof t)throw new Et(i);return Eo((function(){t.apply(n,r)}),e)}function ui(t,e,n,i){var r=-1,o=Ee,s=!0,a=t.length,l=[],c=e.length;if(!a)return l;n&&(e=Me(e,Ye(n))),i?(o=Pe,s=!1):e.length>=200&&(o=Ze,s=!1,e=new Gn(e));t:for(;++r<a;){var u=t[r],h=null==n?u:n(u);if(u=i||0!==u?u:0,s&&h==h){for(var d=c;d--;)if(e[d]===h)continue t;l.push(u)}else o(e,h,i)||l.push(u)}return l}Bn.templateSettings={escape:Y,evaluate:K,interpolate:Z,variable:"",imports:{_:Bn}},Bn.prototype=zn.prototype,Bn.prototype.constructor=Bn,Vn.prototype=Fn(zn.prototype),Vn.prototype.constructor=Vn,Wn.prototype=Fn(zn.prototype),Wn.prototype.constructor=Wn,Hn.prototype.clear=function(){this.__data__=Tn?Tn(null):{},this.size=0},Hn.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Hn.prototype.get=function(t){var e=this.__data__;if(Tn){var i=e[t];return i===r?n:i}return $t.call(e,t)?e[t]:n},Hn.prototype.has=function(t){var e=this.__data__;return Tn?e[t]!==n:$t.call(e,t)},Hn.prototype.set=function(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=Tn&&e===n?r:e,this},Un.prototype.clear=function(){this.__data__=[],this.size=0},Un.prototype.delete=function(t){var e=this.__data__,n=ei(e,t);return!(n<0||(n==e.length-1?e.pop():Yt.call(e,n,1),--this.size,0))},Un.prototype.get=function(t){var e=this.__data__,i=ei(e,t);return i<0?n:e[i][1]},Un.prototype.has=function(t){return ei(this.__data__,t)>-1},Un.prototype.set=function(t,e){var n=this.__data__,i=ei(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this},qn.prototype.clear=function(){this.size=0,this.__data__={hash:new Hn,map:new(kn||Un),string:new Hn}},qn.prototype.delete=function(t){var e=ao(this,t).delete(t);return this.size-=e?1:0,e},qn.prototype.get=function(t){return ao(this,t).get(t)},qn.prototype.has=function(t){return ao(this,t).has(t)},qn.prototype.set=function(t,e){var n=ao(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this},Gn.prototype.add=Gn.prototype.push=function(t){return this.__data__.set(t,r),this},Gn.prototype.has=function(t){return this.__data__.has(t)},Xn.prototype.clear=function(){this.__data__=new Un,this.size=0},Xn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Xn.prototype.get=function(t){return this.__data__.get(t)},Xn.prototype.has=function(t){return this.__data__.has(t)},Xn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Un){var i=n.__data__;if(!kn||i.length<199)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new qn(i)}return n.set(t,e),this.size=n.size,this};var hi=Mr(bi),di=Mr(_i,!0);function pi(t,e){var n=!0;return hi(t,(function(t,i,r){return n=!!e(t,i,r)})),n}function fi(t,e,i){for(var r=-1,o=t.length;++r<o;){var s=t[r],a=e(s);if(null!=a&&(l===n?a==a&&!la(a):i(a,l)))var l=a,c=s}return c}function gi(t,e){var n=[];return hi(t,(function(t,i,r){e(t,i,r)&&n.push(t)})),n}function mi(t,e,n,i,r){var o=-1,s=t.length;for(n||(n=mo),r||(r=[]);++o<s;){var a=t[o];e>0&&n(a)?e>1?mi(a,e-1,n,i,r):Le(r,a):i||(r[r.length]=a)}return r}var vi=Lr(),yi=Lr(!0);function bi(t,e){return t&&vi(t,e,Ma)}function _i(t,e){return t&&yi(t,e,Ma)}function xi(t,e){return Te(e,(function(e){return Zs(t[e])}))}function wi(t,e){for(var i=0,r=(e=vr(e,t)).length;null!=t&&i<r;)t=t[Io(e[i++])];return i&&i==r?t:n}function Si(t,e,n){var i=e(t);return Hs(t)?i:Le(i,n(t))}function ki(t){return null==t?t===n?"[object Undefined]":"[object Null]":se&&se in At(t)?function(t){var e=$t.call(t,se),i=t[se];try{t[se]=n;var r=!0}catch{}var o=Nt.call(t);return r&&(e?t[se]=i:delete t[se]),o}(t):function(t){return Nt.call(t)}(t)}function Ci(t,e){return t>e}function Ai(t,e){return null!=t&&$t.call(t,e)}function Oi(t,e){return null!=t&&e in At(t)}function Ti(t,e,i){for(var r=i?Pe:Ee,o=t[0].length,s=t.length,a=s,l=xt(s),c=1/0,u=[];a--;){var h=t[a];a&&e&&(h=Me(h,Ye(e))),c=yn(h.length,c),l[a]=!i&&(e||o>=120&&h.length>=120)?new Gn(a&&h):n}h=t[0];var d=-1,p=l[0];t:for(;++d<o&&u.length<c;){var f=h[d],g=e?e(f):f;if(f=i||0!==f?f:0,!(p?Ze(p,g):r(u,g,i))){for(a=s;--a;){var m=l[a];if(!(m?Ze(m,g):r(t[a],g,i)))continue t}p&&p.push(g),u.push(f)}}return u}function Ei(t,e,i){var r=null==(t=Ao(t,e=vr(e,t)))?t:t[Io(Ko(e))];return null==r?n:Se(r,t,i)}function Pi(t){return ea(t)&&ki(t)==g}function Mi(t,e,i,r,o){return t===e||(null==t||null==e||!ea(t)&&!ea(e)?t!=t&&e!=e:function(t,e,i,r,o,s){var a=Hs(t),l=Hs(e),c=a?m:po(t),u=l?m:po(e),h=(c=c==g?k:c)==k,d=(u=u==g?k:u)==k,p=c==u;if(p&&Xs(t)){if(!Xs(e))return!1;a=!0,h=!1}if(p&&!h)return s||(s=new Xn),a||ca(t)?Qr(t,e,i,r,o,s):function(t,e,n,i,r,o,s){switch(n){case L:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case M:return!(t.byteLength!=e.byteLength||!o(new Ht(t),new Ht(e)));case v:case y:case S:return Fs(+t,+e);case b:return t.name==e.name&&t.message==e.message;case A:case T:return t==e+"";case w:var a=on;case O:var l=1&i;if(a||(a=ln),t.size!=e.size&&!l)return!1;var c=s.get(t);if(c)return c==e;i|=2,s.set(t,e);var u=Qr(a(t),a(e),i,r,o,s);return s.delete(t),u;case E:if(In)return In.call(t)==In.call(e)}return!1}(t,e,c,i,r,o,s);if(!(1&i)){var f=h&&$t.call(t,"__wrapped__"),_=d&&$t.call(e,"__wrapped__");if(f||_){var x=f?t.value():t,C=_?e.value():e;return s||(s=new Xn),o(x,C,i,r,s)}}return!!p&&(s||(s=new Xn),function(t,e,i,r,o,s){var a=1&i,l=eo(t),c=l.length;if(c!=eo(e).length&&!a)return!1;for(var u=c;u--;){var h=l[u];if(!(a?h in e:$t.call(e,h)))return!1}var d=s.get(t),p=s.get(e);if(d&&p)return d==e&&p==t;var f=!0;s.set(t,e),s.set(e,t);for(var g=a;++u<c;){var m=t[h=l[u]],v=e[h];if(r)var y=a?r(v,m,h,e,t,s):r(m,v,h,t,e,s);if(!(y===n?m===v||o(m,v,i,r,s):y)){f=!1;break}g||(g="constructor"==h)}if(f&&!g){var b=t.constructor,_=e.constructor;b!=_&&"constructor"in t&&"constructor"in e&&!("function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _)&&(f=!1)}return s.delete(t),s.delete(e),f}(t,e,i,r,o,s))}(t,e,i,r,Mi,o))}function Li(t,e,i,r){var o=i.length,s=o,a=!r;if(null==t)return!s;for(t=At(t);o--;){var l=i[o];if(a&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++o<s;){var c=(l=i[o])[0],u=t[c],h=l[1];if(a&&l[2]){if(u===n&&!(c in t))return!1}else{var d=new Xn;if(r)var p=r(u,h,c,t,e,d);if(!(p===n?Mi(h,u,3,r,d):p))return!1}}return!0}function ji(t){return!(!ta(t)||function(t){return!!It&&It in t}(t))&&(Zs(t)?zt:gt).test(No(t))}function Di(t){return"function"==typeof t?t:null==t?il:"object"==typeof t?Hs(t)?Bi(t[0],t[1]):Ni(t):dl(t)}function $i(t){if(!wo(t))return mn(t);var e=[];for(var n in At(t))$t.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Ri(t,e){return t<e}function Ii(t,e){var n=-1,i=qs(t)?xt(t.length):[];return hi(t,(function(t,r,o){i[++n]=e(t,r,o)})),i}function Ni(t){var e=lo(t);return 1==e.length&&e[0][2]?ko(e[0][0],e[0][1]):function(n){return n===t||Li(n,t,e)}}function Bi(t,e){return bo(t)&&So(e)?ko(Io(t),e):function(i){var r=Aa(i,t);return r===n&&r===e?Oa(i,t):Mi(e,r,3)}}function Fi(t,e,i,r,o){t!==e&&vi(e,(function(s,a){if(o||(o=new Xn),ta(s))!function(t,e,i,r,o,s,a){var l=Oo(t,i),c=Oo(e,i),u=a.get(c);if(u)Qn(t,i,u);else{var h=s?s(l,c,i+"",t,e,a):n,d=h===n;if(d){var p=Hs(c),f=!p&&Xs(c),g=!p&&!f&&ca(c);h=c,p||f||g?Hs(l)?h=l:Gs(l)?h=Or(l):f?(d=!1,h=xr(c,!0)):g?(d=!1,h=Sr(c,!0)):h=[]:ra(c)||Ws(c)?(h=l,Ws(l)?h=va(l):(!ta(l)||Zs(l))&&(h=go(c))):d=!1}d&&(a.set(c,h),o(h,c,r,s,a),a.delete(c)),Qn(t,i,h)}}(t,e,a,i,Fi,r,o);else{var l=r?r(Oo(t,a),s,a+"",t,e,o):n;l===n&&(l=s),Qn(t,a,l)}}),La)}function zi(t,e){var i=t.length;if(i)return vo(e+=e<0?i:0,i)?t[e]:n}function Vi(t,e,n){e=e.length?Me(e,(function(t){return Hs(t)?function(e){return wi(e,1===t.length?t[0]:t)}:t})):[il];var i=-1;return e=Me(e,Ye(so())),function(t){var e=t.length;for(t.sort((function(t,e){return function(t,e,n){for(var i=-1,r=t.criteria,o=e.criteria,s=r.length,a=n.length;++i<s;){var l=kr(r[i],o[i]);if(l)return i>=a?l:l*("desc"==n[i]?-1:1)}return t.index-e.index}(t,e,n)}));e--;)t[e]=t[e].value;return t}(Ii(t,(function(t,n,r){return{criteria:Me(e,(function(e){return e(t)})),index:++i,value:t}})))}function Wi(t,e,n){for(var i=-1,r=e.length,o={};++i<r;){var s=e[i],a=wi(t,s);n(a,s)&&Zi(o,vr(s,t),a)}return o}function Hi(t,e,n,i){var r=i?Fe:Be,o=-1,s=e.length,a=t;for(t===e&&(e=Or(e)),n&&(a=Me(t,Ye(n)));++o<s;)for(var l=0,c=e[o],u=n?n(c):c;(l=r(a,u,l,i))>-1;)a!==t&&Yt.call(a,l,1),Yt.call(t,l,1);return t}function Ui(t,e){for(var n=t?e.length:0,i=n-1;n--;){var r=e[n];if(n==i||r!==o){var o=r;vo(r)?Yt.call(t,r,1):cr(t,r)}}return t}function qi(t,e){return t+me(xn()*(e-t+1))}function Gi(t,e){var n="";if(!t||e<1||e>c)return n;do{e%2&&(n+=t),(e=me(e/2))&&(t+=t)}while(e);return n}function Xi(t,e){return Po(Co(t,e,il),t+"")}function Yi(t){return Kn(Fa(t))}function Ki(t,e){var n=Fa(t);return jo(n,si(e,0,n.length))}function Zi(t,e,i,r){if(!ta(t))return t;for(var o=-1,s=(e=vr(e,t)).length,a=s-1,l=t;null!=l&&++o<s;){var c=Io(e[o]),u=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(o!=a){var h=l[c];(u=r?r(h,c,l):n)===n&&(u=ta(h)?h:vo(e[o+1])?[]:{})}ti(l,c,u),l=l[c]}return t}var Ji=En?function(t,e){return En.set(t,e),t}:il,Qi=ce?function(t,e){return ce(t,"toString",{configurable:!0,enumerable:!1,value:tl(e),writable:!0})}:il;function tr(t){return jo(Fa(t))}function er(t,e,n){var i=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(n=n>r?r:n)<0&&(n+=r),r=e>n?0:n-e>>>0,e>>>=0;for(var o=xt(r);++i<r;)o[i]=t[i+e];return o}function nr(t,e){var n;return hi(t,(function(t,i,r){return!(n=e(t,i,r))})),!!n}function ir(t,e,n){var i=0,r=null==t?i:t.length;if("number"==typeof e&&e==e&&r<=p){for(;i<r;){var o=i+r>>>1,s=t[o];null!==s&&!la(s)&&(n?s<=e:s<e)?i=o+1:r=o}return r}return rr(t,e,il,n)}function rr(t,e,i,r){var o=0,s=null==t?0:t.length;if(0===s)return 0;for(var a=(e=i(e))!=e,l=null===e,c=la(e),u=e===n;o<s;){var h=me((o+s)/2),p=i(t[h]),f=p!==n,g=null===p,m=p==p,v=la(p);if(a)var y=r||m;else y=u?m&&(r||f):l?m&&f&&(r||!g):c?m&&f&&!g&&(r||!v):!g&&!v&&(r?p<=e:p<e);y?o=h+1:s=h}return yn(s,d)}function or(t,e){for(var n=-1,i=t.length,r=0,o=[];++n<i;){var s=t[n],a=e?e(s):s;if(!n||!Fs(a,l)){var l=a;o[r++]=0===s?0:s}}return o}function sr(t){return"number"==typeof t?t:la(t)?u:+t}function ar(t){if("string"==typeof t)return t;if(Hs(t))return Me(t,ar)+"";if(la(t))return Nn?Nn.call(t):"";var e=t+"";return"0"==e&&1/t==-l?"-0":e}function lr(t,e,n){var i=-1,r=Ee,o=t.length,s=!0,a=[],l=a;if(n)s=!1,r=Pe;else if(o>=200){var c=e?null:Gr(t);if(c)return ln(c);s=!1,r=Ze,l=new Gn}else l=e?[]:a;t:for(;++i<o;){var u=t[i],h=e?e(u):u;if(u=n||0!==u?u:0,s&&h==h){for(var d=l.length;d--;)if(l[d]===h)continue t;e&&l.push(h),a.push(u)}else r(l,h,n)||(l!==a&&l.push(h),a.push(u))}return a}function cr(t,e){return null==(t=Ao(t,e=vr(e,t)))||delete t[Io(Ko(e))]}function ur(t,e,n,i){return Zi(t,e,n(wi(t,e)),i)}function hr(t,e,n,i){for(var r=t.length,o=i?r:-1;(i?o--:++o<r)&&e(t[o],o,t););return n?er(t,i?0:o,i?o+1:r):er(t,i?o+1:0,i?r:o)}function dr(t,e){var n=t;return n instanceof Wn&&(n=n.value()),je(e,(function(t,e){return e.func.apply(e.thisArg,Le([t],e.args))}),n)}function pr(t,e,n){var i=t.length;if(i<2)return i?lr(t[0]):[];for(var r=-1,o=xt(i);++r<i;)for(var s=t[r],a=-1;++a<i;)a!=r&&(o[r]=ui(o[r]||s,t[a],e,n));return lr(mi(o,1),e,n)}function fr(t,e,i){for(var r=-1,o=t.length,s=e.length,a={};++r<o;){var l=r<s?e[r]:n;i(a,t[r],l)}return a}function gr(t){return Gs(t)?t:[]}function mr(t){return"function"==typeof t?t:il}function vr(t,e){return Hs(t)?t:bo(t,e)?[t]:Ro(ya(t))}var yr=Xi;function br(t,e,i){var r=t.length;return i=i===n?r:i,!e&&i>=r?t:er(t,e,i)}var _r=ue||function(t){return he.clearTimeout(t)};function xr(t,e){if(e)return t.slice();var n=t.length,i=Ut?Ut(n):new t.constructor(n);return t.copy(i),i}function wr(t){var e=new t.constructor(t.byteLength);return new Ht(e).set(new Ht(t)),e}function Sr(t,e){var n=e?wr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function kr(t,e){if(t!==e){var i=t!==n,r=null===t,o=t==t,s=la(t),a=e!==n,l=null===e,c=e==e,u=la(e);if(!l&&!u&&!s&&t>e||s&&a&&c&&!l&&!u||r&&a&&c||!i&&c||!o)return 1;if(!r&&!s&&!u&&t<e||u&&i&&o&&!r&&!s||l&&i&&o||!a&&o||!c)return-1}return 0}function Cr(t,e,n,i){for(var r=-1,o=t.length,s=n.length,a=-1,l=e.length,c=vn(o-s,0),u=xt(l+c),h=!i;++a<l;)u[a]=e[a];for(;++r<s;)(h||r<o)&&(u[n[r]]=t[r]);for(;c--;)u[a++]=t[r++];return u}function Ar(t,e,n,i){for(var r=-1,o=t.length,s=-1,a=n.length,l=-1,c=e.length,u=vn(o-a,0),h=xt(u+c),d=!i;++r<u;)h[r]=t[r];for(var p=r;++l<c;)h[p+l]=e[l];for(;++s<a;)(d||r<o)&&(h[p+n[s]]=t[r++]);return h}function Or(t,e){var n=-1,i=t.length;for(e||(e=xt(i));++n<i;)e[n]=t[n];return e}function Tr(t,e,i,r){var o=!i;i||(i={});for(var s=-1,a=e.length;++s<a;){var l=e[s],c=r?r(i[l],t[l],l,i,t):n;c===n&&(c=t[l]),o?ri(i,l,c):ti(i,l,c)}return i}function Er(t,e){return function(n,i){var r=Hs(n)?ke:ni,o=e?e():{};return r(n,t,so(i,2),o)}}function Pr(t){return Xi((function(e,i){var r=-1,o=i.length,s=o>1?i[o-1]:n,a=o>2?i[2]:n;for(s=t.length>3&&"function"==typeof s?(o--,s):n,a&&yo(i[0],i[1],a)&&(s=o<3?n:s,o=1),e=At(e);++r<o;){var l=i[r];l&&t(e,l,r,s)}return e}))}function Mr(t,e){return function(n,i){if(null==n)return n;if(!qs(n))return t(n,i);for(var r=n.length,o=e?r:-1,s=At(n);(e?o--:++o<r)&&!1!==i(s[o],o,s););return n}}function Lr(t){return function(e,n,i){for(var r=-1,o=At(e),s=i(e),a=s.length;a--;){var l=s[t?a:++r];if(!1===n(o[l],l,o))break}return e}}function jr(t){return function(e){var i=rn(e=ya(e))?un(e):n,r=i?i[0]:e.charAt(0),o=i?br(i,1).join(""):e.slice(1);return r[t]()+o}}function Dr(t){return function(e){return je(Za(Wa(e).replace(Kt,"")),t,"")}}function $r(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Fn(t.prototype),i=t.apply(n,e);return ta(i)?i:n}}function Rr(t){return function(e,i,r){var o=At(e);if(!qs(e)){var s=so(i,3);e=Ma(e),i=function(t){return s(o[t],t,o)}}var a=t(e,i,r);return a>-1?o[s?e[a]:a]:n}}function Ir(t){return to((function(e){var r=e.length,o=r,s=Vn.prototype.thru;for(t&&e.reverse();o--;){var a=e[o];if("function"!=typeof a)throw new Et(i);if(s&&!l&&"wrapper"==ro(a))var l=new Vn([],!0)}for(o=l?o:r;++o<r;){var c=ro(a=e[o]),u="wrapper"==c?io(a):n;l=u&&_o(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?l[ro(u[0])].apply(l,u[3]):1==a.length&&_o(a)?l[c]():l.thru(a)}return function(){var t=arguments,n=t[0];if(l&&1==t.length&&Hs(n))return l.plant(n).value();for(var i=0,o=r?e[i].apply(this,t):n;++i<r;)o=e[i].call(this,o);return o}}))}function Nr(t,e,i,r,o,s,l,c,u,h){var d=e&a,p=1&e,f=2&e,g=24&e,m=512&e,v=f?n:$r(t);return function a(){for(var y=arguments.length,b=xt(y),_=y;_--;)b[_]=arguments[_];if(g)var x=oo(a),w=function(t,e){for(var n=t.length,i=0;n--;)t[n]===e&&++i;return i}(b,x);if(r&&(b=Cr(b,r,o,g)),s&&(b=Ar(b,s,l,g)),y-=w,g&&y<h){var S=an(b,x);return Ur(t,e,Nr,a.placeholder,i,b,S,c,u,h-y)}var k=p?i:this,C=f?k[t]:t;return y=b.length,c?b=function(t,e){for(var i=t.length,r=yn(e.length,i),o=Or(t);r--;){var s=e[r];t[r]=vo(s,i)?o[s]:n}return t}(b,c):m&&y>1&&b.reverse(),d&&u<y&&(b.length=u),this&&this!==he&&this instanceof a&&(C=v||$r(C)),C.apply(k,b)}}function Br(t,e){return function(n,i){return function(t,e,n,i){return bi(t,(function(t,r,o){e(i,n(t),r,o)})),i}(n,t,e(i),{})}}function Fr(t,e){return function(i,r){var o;if(i===n&&r===n)return e;if(i!==n&&(o=i),r!==n){if(o===n)return r;"string"==typeof i||"string"==typeof r?(i=ar(i),r=ar(r)):(i=sr(i),r=sr(r)),o=t(i,r)}return o}}function zr(t){return to((function(e){return e=Me(e,Ye(so())),Xi((function(n){var i=this;return t(e,(function(t){return Se(t,i,n)}))}))}))}function Vr(t,e){var i=(e=e===n?" ":ar(e)).length;if(i<2)return i?Gi(e,t):e;var r=Gi(e,ge(t/cn(e)));return rn(e)?br(un(r),0,t).join(""):r.slice(0,t)}function Wr(t){return function(e,i,r){return r&&"number"!=typeof r&&yo(e,i,r)&&(i=r=n),e=pa(e),i===n?(i=e,e=0):i=pa(i),function(t,e,n,i){for(var r=-1,o=vn(ge((e-t)/(n||1)),0),s=xt(o);o--;)s[i?o:++r]=t,t+=n;return s}(e,i,r=r===n?e<i?1:-1:pa(r),t)}}function Hr(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=ma(e),n=ma(n)),t(e,n)}}function Ur(t,e,i,r,o,a,l,c,u,h){var d=8&e;e|=d?s:64,4&(e&=~(d?64:s))||(e&=-4);var p=[t,e,o,d?a:n,d?l:n,d?n:a,d?n:l,c,u,h],f=i.apply(n,p);return _o(t)&&To(f,p),f.placeholder=r,Mo(f,t,e)}function qr(t){var e=Ct[t];return function(t,n){if(t=ma(t),(n=null==n?0:yn(fa(n),292))&&fn(t)){var i=(ya(t)+"e").split("e");return+((i=(ya(e(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return e(t)}}var Gr=An&&1/ln(new An([,-0]))[1]==l?function(t){return new An(t)}:ll;function Xr(t){return function(e){var n=po(e);return n==w?on(e):n==O?function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}(e):function(t,e){return Me(e,(function(e){return[e,t[e]]}))}(e,t(e))}}function Yr(t,e,r,l,c,u,h,d){var p=2&e;if(!p&&"function"!=typeof t)throw new Et(i);var f=l?l.length:0;if(f||(e&=-97,l=c=n),h=h===n?h:vn(fa(h),0),d=d===n?d:fa(d),f-=c?c.length:0,64&e){var g=l,m=c;l=c=n}var v=p?n:io(t),y=[t,e,r,l,c,g,m,u,h,d];if(v&&function(t,e){var n=t[1],i=e[1],r=n|i,s=r<131,l=i==a&&8==n||i==a&&256==n&&t[7].length<=e[8]||384==i&&e[7].length<=e[8]&&8==n;if(!s&&!l)return t;1&i&&(t[2]=e[2],r|=1&n?0:4);var c=e[3];if(c){var u=t[3];t[3]=u?Cr(u,c,e[4]):c,t[4]=u?an(t[3],o):e[4]}(c=e[5])&&(u=t[5],t[5]=u?Ar(u,c,e[6]):c,t[6]=u?an(t[5],o):e[6]),(c=e[7])&&(t[7]=c),i&a&&(t[8]=null==t[8]?e[8]:yn(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=r}(y,v),t=y[0],e=y[1],r=y[2],l=y[3],c=y[4],!(d=y[9]=y[9]===n?p?0:t.length:vn(y[9]-f,0))&&24&e&&(e&=-25),e&&1!=e)b=8==e||16==e?function(t,e,i){var r=$r(t);return function o(){for(var s=arguments.length,a=xt(s),l=s,c=oo(o);l--;)a[l]=arguments[l];var u=s<3&&a[0]!==c&&a[s-1]!==c?[]:an(a,c);return(s-=u.length)<i?Ur(t,e,Nr,o.placeholder,n,a,u,n,n,i-s):Se(this&&this!==he&&this instanceof o?r:t,this,a)}}(t,e,d):e!=s&&33!=e||c.length?Nr.apply(n,y):function(t,e,n,i){var r=1&e,o=$r(t);return function e(){for(var s=-1,a=arguments.length,l=-1,c=i.length,u=xt(c+a),h=this&&this!==he&&this instanceof e?o:t;++l<c;)u[l]=i[l];for(;a--;)u[l++]=arguments[++s];return Se(h,r?n:this,u)}}(t,e,r,l);else var b=function(t,e,n){var i=1&e,r=$r(t);return function e(){return(this&&this!==he&&this instanceof e?r:t).apply(i?n:this,arguments)}}(t,e,r);return Mo((v?Ji:To)(b,y),t,e)}function Kr(t,e,i,r){return t===n||Fs(t,Lt[i])&&!$t.call(r,i)?e:t}function Zr(t,e,i,r,o,s){return ta(t)&&ta(e)&&(s.set(e,t),Fi(t,e,n,Zr,s),s.delete(e)),t}function Jr(t){return ra(t)?n:t}function Qr(t,e,i,r,o,s){var a=1&i,l=t.length,c=e.length;if(l!=c&&!(a&&c>l))return!1;var u=s.get(t),h=s.get(e);if(u&&h)return u==e&&h==t;var d=-1,p=!0,f=2&i?new Gn:n;for(s.set(t,e),s.set(e,t);++d<l;){var g=t[d],m=e[d];if(r)var v=a?r(m,g,d,e,t,s):r(g,m,d,t,e,s);if(v!==n){if(v)continue;p=!1;break}if(f){if(!$e(e,(function(t,e){if(!Ze(f,e)&&(g===t||o(g,t,i,r,s)))return f.push(e)}))){p=!1;break}}else if(g!==m&&!o(g,m,i,r,s)){p=!1;break}}return s.delete(t),s.delete(e),p}function to(t){return Po(Co(t,n,Uo),t+"")}function eo(t){return Si(t,Ma,uo)}function no(t){return Si(t,La,ho)}var io=En?function(t){return En.get(t)}:ll;function ro(t){for(var e=t.name+"",n=Pn[e],i=$t.call(Pn,e)?n.length:0;i--;){var r=n[i],o=r.func;if(null==o||o==t)return r.name}return e}function oo(t){return($t.call(Bn,"placeholder")?Bn:t).placeholder}function so(){var t=Bn.iteratee||rl;return t=t===rl?Di:t,arguments.length?t(arguments[0],arguments[1]):t}function ao(t,e){var n=t.__data__;return function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}(e)?n["string"==typeof e?"string":"hash"]:n.map}function lo(t){for(var e=Ma(t),n=e.length;n--;){var i=e[n],r=t[i];e[n]=[i,r,So(r)]}return e}function co(t,e){var i=function(t,e){return null==t?n:t[e]}(t,e);return ji(i)?i:n}var uo=Re?function(t){return null==t?[]:(t=At(t),Te(Re(t),(function(e){return Xt.call(t,e)})))}:gl,ho=Re?function(t){for(var e=[];t;)Le(e,uo(t)),t=qt(t);return e}:gl,po=ki;function fo(t,e,n){for(var i=-1,r=(e=vr(e,t)).length,o=!1;++i<r;){var s=Io(e[i]);if(!(o=null!=t&&n(t,s)))break;t=t[s]}return o||++i!=r?o:!!(r=null==t?0:t.length)&&Qs(r)&&vo(s,r)&&(Hs(t)||Ws(t))}function go(t){return"function"!=typeof t.constructor||wo(t)?{}:Fn(qt(t))}function mo(t){return Hs(t)||Ws(t)||!!(Jt&&t&&t[Jt])}function vo(t,e){var n=typeof t;return!!(e=e??c)&&("number"==n||"symbol"!=n&&vt.test(t))&&t>-1&&t%1==0&&t<e}function yo(t,e,n){if(!ta(n))return!1;var i=typeof e;return!!("number"==i?qs(n)&&vo(e,n.length):"string"==i&&e in n)&&Fs(n[e],t)}function bo(t,e){if(Hs(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!la(t))||Q.test(t)||!J.test(t)||null!=e&&t in At(e)}function _o(t){var e=ro(t),n=Bn[e];if("function"!=typeof n||!(e in Wn.prototype))return!1;if(t===n)return!0;var i=io(n);return!!i&&t===i[0]}(Sn&&po(new Sn(new ArrayBuffer(1)))!=L||kn&&po(new kn)!=w||Cn&&po(Cn.resolve())!=C||An&&po(new An)!=O||On&&po(new On)!=P)&&(po=function(t){var e=ki(t),i=e==k?t.constructor:n,r=i?No(i):"";if(r)switch(r){case Mn:return L;case Ln:return w;case jn:return C;case Dn:return O;case $n:return P}return e});var xo=jt?Zs:ml;function wo(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Lt)}function So(t){return t==t&&!ta(t)}function ko(t,e){return function(i){return null!=i&&i[t]===e&&(e!==n||t in At(i))}}function Co(t,e,i){return e=vn(e===n?t.length-1:e,0),function(){for(var n=arguments,r=-1,o=vn(n.length-e,0),s=xt(o);++r<o;)s[r]=n[e+r];r=-1;for(var a=xt(e+1);++r<e;)a[r]=n[r];return a[e]=i(s),Se(t,this,a)}}function Ao(t,e){return e.length<2?t:wi(t,er(e,0,-1))}function Oo(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var To=Lo(Ji),Eo=pe||function(t,e){return he.setTimeout(t,e)},Po=Lo(Qi);function Mo(t,e,n){var i=e+"";return Po(t,function(t,e){var n=e.length;if(!n)return t;var i=n-1;return e[i]=(n>1?"& ":"")+e[i],e=e.join(n>2?", ":" "),t.replace(ot,"{\n/* [wrapped with "+e+"] */\n")}(i,function(t,e){return Ce(f,(function(n){var i="_."+n[0];e&n[1]&&!Ee(t,i)&&t.push(i)})),t.sort()}(function(t){var e=t.match(st);return e?e[1].split(at):[]}(i),n)))}function Lo(t){var e=0,i=0;return function(){var r=bn(),o=16-(r-i);if(i=r,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(n,arguments)}}function jo(t,e){var i=-1,r=t.length,o=r-1;for(e=e===n?r:e;++i<e;){var s=qi(i,o),a=t[s];t[s]=t[i],t[i]=a}return t.length=e,t}var Do,$o,Ro=(Do=Ds((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(tt,(function(t,n,i,r){e.push(i?r.replace(ut,"$1"):n||t)})),e}),(function(t){return 500===$o.size&&$o.clear(),t})),$o=Do.cache,Do);function Io(t){if("string"==typeof t||la(t))return t;var e=t+"";return"0"==e&&1/t==-l?"-0":e}function No(t){if(null!=t){try{return Dt.call(t)}catch{}try{return t+""}catch{}}return""}function Bo(t){if(t instanceof Wn)return t.clone();var e=new Vn(t.__wrapped__,t.__chain__);return e.__actions__=Or(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Fo=Xi((function(t,e){return Gs(t)?ui(t,mi(e,1,Gs,!0)):[]})),zo=Xi((function(t,e){var i=Ko(e);return Gs(i)&&(i=n),Gs(t)?ui(t,mi(e,1,Gs,!0),so(i,2)):[]})),Vo=Xi((function(t,e){var i=Ko(e);return Gs(i)&&(i=n),Gs(t)?ui(t,mi(e,1,Gs,!0),n,i):[]}));function Wo(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:fa(n);return r<0&&(r=vn(i+r,0)),Ne(t,so(e,3),r)}function Ho(t,e,i){var r=null==t?0:t.length;if(!r)return-1;var o=r-1;return i!==n&&(o=fa(i),o=i<0?vn(r+o,0):yn(o,r-1)),Ne(t,so(e,3),o,!0)}function Uo(t){return null!=t&&t.length?mi(t,1):[]}function qo(t){return t&&t.length?t[0]:n}var Go=Xi((function(t){var e=Me(t,gr);return e.length&&e[0]===t[0]?Ti(e):[]})),Xo=Xi((function(t){var e=Ko(t),i=Me(t,gr);return e===Ko(i)?e=n:i.pop(),i.length&&i[0]===t[0]?Ti(i,so(e,2)):[]})),Yo=Xi((function(t){var e=Ko(t),i=Me(t,gr);return(e="function"==typeof e?e:n)&&i.pop(),i.length&&i[0]===t[0]?Ti(i,n,e):[]}));function Ko(t){var e=null==t?0:t.length;return e?t[e-1]:n}var Zo=Xi(Jo);function Jo(t,e){return t&&t.length&&e&&e.length?Hi(t,e):t}var Qo=to((function(t,e){var n=null==t?0:t.length,i=oi(t,e);return Ui(t,Me(e,(function(t){return vo(t,n)?+t:t})).sort(kr)),i}));function ts(t){return null==t?t:wn.call(t)}var es=Xi((function(t){return lr(mi(t,1,Gs,!0))})),ns=Xi((function(t){var e=Ko(t);return Gs(e)&&(e=n),lr(mi(t,1,Gs,!0),so(e,2))})),is=Xi((function(t){var e=Ko(t);return e="function"==typeof e?e:n,lr(mi(t,1,Gs,!0),n,e)}));function rs(t){if(!t||!t.length)return[];var e=0;return t=Te(t,(function(t){if(Gs(t))return e=vn(t.length,e),!0})),Ge(e,(function(e){return Me(t,We(e))}))}function os(t,e){if(!t||!t.length)return[];var i=rs(t);return null==e?i:Me(i,(function(t){return Se(e,n,t)}))}var ss=Xi((function(t,e){return Gs(t)?ui(t,e):[]})),as=Xi((function(t){return pr(Te(t,Gs))})),ls=Xi((function(t){var e=Ko(t);return Gs(e)&&(e=n),pr(Te(t,Gs),so(e,2))})),cs=Xi((function(t){var e=Ko(t);return e="function"==typeof e?e:n,pr(Te(t,Gs),n,e)})),us=Xi(rs),hs=Xi((function(t){var e=t.length,i=e>1?t[e-1]:n;return i="function"==typeof i?(t.pop(),i):n,os(t,i)}));function ds(t){var e=Bn(t);return e.__chain__=!0,e}function ps(t,e){return e(t)}var fs=to((function(t){var e=t.length,i=e?t[0]:0,r=this.__wrapped__,o=function(e){return oi(e,t)};return!(e>1||this.__actions__.length)&&r instanceof Wn&&vo(i)?((r=r.slice(i,+i+(e?1:0))).__actions__.push({func:ps,args:[o],thisArg:n}),new Vn(r,this.__chain__).thru((function(t){return e&&!t.length&&t.push(n),t}))):this.thru(o)})),gs=Er((function(t,e,n){$t.call(t,n)?++t[n]:ri(t,n,1)})),ms=Rr(Wo),vs=Rr(Ho);function ys(t,e){return(Hs(t)?Ce:hi)(t,so(e,3))}function bs(t,e){return(Hs(t)?Ae:di)(t,so(e,3))}var _s=Er((function(t,e,n){$t.call(t,n)?t[n].push(e):ri(t,n,[e])})),xs=Xi((function(t,e,n){var i=-1,r="function"==typeof e,o=qs(t)?xt(t.length):[];return hi(t,(function(t){o[++i]=r?Se(e,t,n):Ei(t,e,n)})),o})),ws=Er((function(t,e,n){ri(t,n,e)}));function Ss(t,e){return(Hs(t)?Me:Ii)(t,so(e,3))}var ks=Er((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]})),Cs=Xi((function(t,e){if(null==t)return[];var n=e.length;return n>1&&yo(t,e[0],e[1])?e=[]:n>2&&yo(e[0],e[1],e[2])&&(e=[e[0]]),Vi(t,mi(e,1),[])})),As=de||function(){return he.Date.now()};function Os(t,e,i){return e=i?n:e,e=t&&null==e?t.length:e,Yr(t,a,n,n,n,n,e)}function Ts(t,e){var r;if("function"!=typeof e)throw new Et(i);return t=fa(t),function(){return--t>0&&(r=e.apply(this,arguments)),t<=1&&(e=n),r}}var Es=Xi((function(t,e,n){var i=1;if(n.length){var r=an(n,oo(Es));i|=s}return Yr(t,i,e,n,r)})),Ps=Xi((function(t,e,n){var i=3;if(n.length){var r=an(n,oo(Ps));i|=s}return Yr(e,i,t,n,r)}));function Ms(t,e,r){var o,s,a,l,c,u,h=0,d=!1,p=!1,f=!0;if("function"!=typeof t)throw new Et(i);function g(e){var i=o,r=s;return o=s=n,h=e,l=t.apply(r,i)}function m(t){var i=t-u;return u===n||i>=e||i<0||p&&t-h>=a}function v(){var t=As();if(m(t))return y(t);c=Eo(v,function(t){var n=e-(t-u);return p?yn(n,a-(t-h)):n}(t))}function y(t){return c=n,f&&o?g(t):(o=s=n,l)}function b(){var t=As(),i=m(t);if(o=arguments,s=this,u=t,i){if(c===n)return function(t){return h=t,c=Eo(v,e),d?g(t):l}(u);if(p)return _r(c),c=Eo(v,e),g(u)}return c===n&&(c=Eo(v,e)),l}return e=ma(e)||0,ta(r)&&(d=!!r.leading,a=(p="maxWait"in r)?vn(ma(r.maxWait)||0,e):a,f="trailing"in r?!!r.trailing:f),b.cancel=function(){c!==n&&_r(c),h=0,o=u=s=c=n},b.flush=function(){return c===n?l:y(As())},b}var Ls=Xi((function(t,e){return ci(t,1,e)})),js=Xi((function(t,e,n){return ci(t,ma(e)||0,n)}));function Ds(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new Et(i);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var s=t.apply(this,i);return n.cache=o.set(r,s)||o,s};return n.cache=new(Ds.Cache||qn),n}function $s(t){if("function"!=typeof t)throw new Et(i);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Ds.Cache=qn;var Rs=yr((function(t,e){var n=(e=1==e.length&&Hs(e[0])?Me(e[0],Ye(so())):Me(mi(e,1),Ye(so()))).length;return Xi((function(i){for(var r=-1,o=yn(i.length,n);++r<o;)i[r]=e[r].call(this,i[r]);return Se(t,this,i)}))})),Is=Xi((function(t,e){var i=an(e,oo(Is));return Yr(t,s,n,e,i)})),Ns=Xi((function(t,e){var i=an(e,oo(Ns));return Yr(t,64,n,e,i)})),Bs=to((function(t,e){return Yr(t,256,n,n,n,e)}));function Fs(t,e){return t===e||t!=t&&e!=e}var zs=Hr(Ci),Vs=Hr((function(t,e){return t>=e})),Ws=Pi(function(){return arguments}())?Pi:function(t){return ea(t)&&$t.call(t,"callee")&&!Xt.call(t,"callee")},Hs=xt.isArray,Us=ve?Ye(ve):function(t){return ea(t)&&ki(t)==M};function qs(t){return null!=t&&Qs(t.length)&&!Zs(t)}function Gs(t){return ea(t)&&qs(t)}var Xs=He||ml,Ys=ye?Ye(ye):function(t){return ea(t)&&ki(t)==y};function Ks(t){if(!ea(t))return!1;var e=ki(t);return e==b||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!ra(t)}function Zs(t){if(!ta(t))return!1;var e=ki(t);return e==_||e==x||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Js(t){return"number"==typeof t&&t==fa(t)}function Qs(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=c}function ta(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function ea(t){return null!=t&&"object"==typeof t}var na=be?Ye(be):function(t){return ea(t)&&po(t)==w};function ia(t){return"number"==typeof t||ea(t)&&ki(t)==S}function ra(t){if(!ea(t)||ki(t)!=k)return!1;var e=qt(t);if(null===e)return!0;var n=$t.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Dt.call(n)==Bt}var oa=_e?Ye(_e):function(t){return ea(t)&&ki(t)==A},sa=xe?Ye(xe):function(t){return ea(t)&&po(t)==O};function aa(t){return"string"==typeof t||!Hs(t)&&ea(t)&&ki(t)==T}function la(t){return"symbol"==typeof t||ea(t)&&ki(t)==E}var ca=we?Ye(we):function(t){return ea(t)&&Qs(t.length)&&!!re[ki(t)]},ua=Hr(Ri),ha=Hr((function(t,e){return t<=e}));function da(t){if(!t)return[];if(qs(t))return aa(t)?un(t):Or(t);if(te&&t[te])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[te]());var e=po(t);return(e==w?on:e==O?ln:Fa)(t)}function pa(t){return t?(t=ma(t))===l||t===-l?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function fa(t){var e=pa(t),n=e%1;return e==e?n?e-n:e:0}function ga(t){return t?si(fa(t),0,h):0}function ma(t){if("number"==typeof t)return t;if(la(t))return u;if(ta(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ta(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Xe(t);var n=ft.test(t);return n||mt.test(t)?le(t.slice(2),n?2:8):pt.test(t)?u:+t}function va(t){return Tr(t,La(t))}function ya(t){return null==t?"":ar(t)}var ba=Pr((function(t,e){if(wo(e)||qs(e))Tr(e,Ma(e),t);else for(var n in e)$t.call(e,n)&&ti(t,n,e[n])})),_a=Pr((function(t,e){Tr(e,La(e),t)})),xa=Pr((function(t,e,n,i){Tr(e,La(e),t,i)})),wa=Pr((function(t,e,n,i){Tr(e,Ma(e),t,i)})),Sa=to(oi),ka=Xi((function(t,e){t=At(t);var i=-1,r=e.length,o=r>2?e[2]:n;for(o&&yo(e[0],e[1],o)&&(r=1);++i<r;)for(var s=e[i],a=La(s),l=-1,c=a.length;++l<c;){var u=a[l],h=t[u];(h===n||Fs(h,Lt[u])&&!$t.call(t,u))&&(t[u]=s[u])}return t})),Ca=Xi((function(t){return t.push(n,Zr),Se(Da,n,t)}));function Aa(t,e,i){var r=null==t?n:wi(t,e);return r===n?i:r}function Oa(t,e){return null!=t&&fo(t,e,Oi)}var Ta=Br((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Nt.call(e)),t[e]=n}),tl(il)),Ea=Br((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Nt.call(e)),$t.call(t,e)?t[e].push(n):t[e]=[n]}),so),Pa=Xi(Ei);function Ma(t){return qs(t)?Yn(t):$i(t)}function La(t){return qs(t)?Yn(t,!0):function(t){if(!ta(t))return function(t){var e=[];if(null!=t)for(var n in At(t))e.push(n);return e}(t);var e=wo(t),n=[];for(var i in t)"constructor"==i&&(e||!$t.call(t,i))||n.push(i);return n}(t)}var ja=Pr((function(t,e,n){Fi(t,e,n)})),Da=Pr((function(t,e,n,i){Fi(t,e,n,i)})),$a=to((function(t,e){var n={};if(null==t)return n;var i=!1;e=Me(e,(function(e){return e=vr(e,t),i||(i=e.length>1),e})),Tr(t,no(t),n),i&&(n=ai(n,7,Jr));for(var r=e.length;r--;)cr(n,e[r]);return n})),Ra=to((function(t,e){return null==t?{}:function(t,e){return Wi(t,e,(function(e,n){return Oa(t,n)}))}(t,e)}));function Ia(t,e){if(null==t)return{};var n=Me(no(t),(function(t){return[t]}));return e=so(e),Wi(t,n,(function(t,n){return e(t,n[0])}))}var Na=Xr(Ma),Ba=Xr(La);function Fa(t){return null==t?[]:Ke(t,Ma(t))}var za=Dr((function(t,e,n){return e=e.toLowerCase(),t+(n?Va(e):e)}));function Va(t){return Ka(ya(t).toLowerCase())}function Wa(t){return(t=ya(t))&&t.replace(yt,tn).replace(Zt,"")}var Ha=Dr((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Ua=Dr((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),qa=jr("toLowerCase"),Ga=Dr((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()})),Xa=Dr((function(t,e,n){return t+(n?" ":"")+Ka(e)})),Ya=Dr((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Ka=jr("toUpperCase");function Za(t,e,i){return t=ya(t),(e=i?n:e)===n?function(t){return ee.test(t)}(t)?function(t){return t.match(Qt)||[]}(t):function(t){return t.match(lt)||[]}(t):t.match(e)||[]}var Ja=Xi((function(t,e){try{return Se(t,n,e)}catch(t){return Ks(t)?t:new St(t)}})),Qa=to((function(t,e){return Ce(e,(function(e){e=Io(e),ri(t,e,Es(t[e],t))})),t}));function tl(t){return function(){return t}}var el=Ir(),nl=Ir(!0);function il(t){return t}function rl(t){return Di("function"==typeof t?t:ai(t,1))}var ol=Xi((function(t,e){return function(n){return Ei(n,t,e)}})),sl=Xi((function(t,e){return function(n){return Ei(t,n,e)}}));function al(t,e,n){var i=Ma(e),r=xi(e,i);null==n&&(!ta(e)||!r.length&&i.length)&&(n=e,e=t,t=this,r=xi(e,Ma(e)));var o=!(ta(n)&&"chain"in n&&!n.chain),s=Zs(t);return Ce(r,(function(n){var i=e[n];t[n]=i,s&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=Or(this.__actions__)).push({func:i,args:arguments,thisArg:t}),n.__chain__=e,n}return i.apply(t,Le([this.value()],arguments))})})),t}function ll(){}var cl=zr(Me),ul=zr(Oe),hl=zr($e);function dl(t){return bo(t)?We(Io(t)):function(t){return function(e){return wi(e,t)}}(t)}var pl=Wr(),fl=Wr(!0);function gl(){return[]}function ml(){return!1}var vl=Fr((function(t,e){return t+e}),0),yl=qr("ceil"),bl=Fr((function(t,e){return t/e}),1),_l=qr("floor"),xl=Fr((function(t,e){return t*e}),1),wl=qr("round"),Sl=Fr((function(t,e){return t-e}),0);return Bn.after=function(t,e){if("function"!=typeof e)throw new Et(i);return t=fa(t),function(){if(--t<1)return e.apply(this,arguments)}},Bn.ary=Os,Bn.assign=ba,Bn.assignIn=_a,Bn.assignInWith=xa,Bn.assignWith=wa,Bn.at=Sa,Bn.before=Ts,Bn.bind=Es,Bn.bindAll=Qa,Bn.bindKey=Ps,Bn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Hs(t)?t:[t]},Bn.chain=ds,Bn.chunk=function(t,e,i){e=(i?yo(t,e,i):e===n)?1:vn(fa(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];for(var o=0,s=0,a=xt(ge(r/e));o<r;)a[s++]=er(t,o,o+=e);return a},Bn.compact=function(t){for(var e=-1,n=null==t?0:t.length,i=0,r=[];++e<n;){var o=t[e];o&&(r[i++]=o)}return r},Bn.concat=function(){var t=arguments.length;if(!t)return[];for(var e=xt(t-1),n=arguments[0],i=t;i--;)e[i-1]=arguments[i];return Le(Hs(n)?Or(n):[n],mi(e,1))},Bn.cond=function(t){var e=null==t?0:t.length,n=so();return t=e?Me(t,(function(t){if("function"!=typeof t[1])throw new Et(i);return[n(t[0]),t[1]]})):[],Xi((function(n){for(var i=-1;++i<e;){var r=t[i];if(Se(r[0],this,n))return Se(r[1],this,n)}}))},Bn.conforms=function(t){return function(t){var e=Ma(t);return function(n){return li(n,t,e)}}(ai(t,1))},Bn.constant=tl,Bn.countBy=gs,Bn.create=function(t,e){var n=Fn(t);return null==e?n:ii(n,e)},Bn.curry=function t(e,i,r){var o=Yr(e,8,n,n,n,n,n,i=r?n:i);return o.placeholder=t.placeholder,o},Bn.curryRight=function t(e,i,r){var o=Yr(e,16,n,n,n,n,n,i=r?n:i);return o.placeholder=t.placeholder,o},Bn.debounce=Ms,Bn.defaults=ka,Bn.defaultsDeep=Ca,Bn.defer=Ls,Bn.delay=js,Bn.difference=Fo,Bn.differenceBy=zo,Bn.differenceWith=Vo,Bn.drop=function(t,e,i){var r=null==t?0:t.length;return r?er(t,(e=i||e===n?1:fa(e))<0?0:e,r):[]},Bn.dropRight=function(t,e,i){var r=null==t?0:t.length;return r?er(t,0,(e=r-(e=i||e===n?1:fa(e)))<0?0:e):[]},Bn.dropRightWhile=function(t,e){return t&&t.length?hr(t,so(e,3),!0,!0):[]},Bn.dropWhile=function(t,e){return t&&t.length?hr(t,so(e,3),!0):[]},Bn.fill=function(t,e,i,r){var o=null==t?0:t.length;return o?(i&&"number"!=typeof i&&yo(t,e,i)&&(i=0,r=o),function(t,e,i,r){var o=t.length;for((i=fa(i))<0&&(i=-i>o?0:o+i),(r=r===n||r>o?o:fa(r))<0&&(r+=o),r=i>r?0:ga(r);i<r;)t[i++]=e;return t}(t,e,i,r)):[]},Bn.filter=function(t,e){return(Hs(t)?Te:gi)(t,so(e,3))},Bn.flatMap=function(t,e){return mi(Ss(t,e),1)},Bn.flatMapDeep=function(t,e){return mi(Ss(t,e),l)},Bn.flatMapDepth=function(t,e,i){return i=i===n?1:fa(i),mi(Ss(t,e),i)},Bn.flatten=Uo,Bn.flattenDeep=function(t){return null!=t&&t.length?mi(t,l):[]},Bn.flattenDepth=function(t,e){return null!=t&&t.length?mi(t,e=e===n?1:fa(e)):[]},Bn.flip=function(t){return Yr(t,512)},Bn.flow=el,Bn.flowRight=nl,Bn.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,i={};++e<n;){var r=t[e];i[r[0]]=r[1]}return i},Bn.functions=function(t){return null==t?[]:xi(t,Ma(t))},Bn.functionsIn=function(t){return null==t?[]:xi(t,La(t))},Bn.groupBy=_s,Bn.initial=function(t){return null!=t&&t.length?er(t,0,-1):[]},Bn.intersection=Go,Bn.intersectionBy=Xo,Bn.intersectionWith=Yo,Bn.invert=Ta,Bn.invertBy=Ea,Bn.invokeMap=xs,Bn.iteratee=rl,Bn.keyBy=ws,Bn.keys=Ma,Bn.keysIn=La,Bn.map=Ss,Bn.mapKeys=function(t,e){var n={};return e=so(e,3),bi(t,(function(t,i,r){ri(n,e(t,i,r),t)})),n},Bn.mapValues=function(t,e){var n={};return e=so(e,3),bi(t,(function(t,i,r){ri(n,i,e(t,i,r))})),n},Bn.matches=function(t){return Ni(ai(t,1))},Bn.matchesProperty=function(t,e){return Bi(t,ai(e,1))},Bn.memoize=Ds,Bn.merge=ja,Bn.mergeWith=Da,Bn.method=ol,Bn.methodOf=sl,Bn.mixin=al,Bn.negate=$s,Bn.nthArg=function(t){return t=fa(t),Xi((function(e){return zi(e,t)}))},Bn.omit=$a,Bn.omitBy=function(t,e){return Ia(t,$s(so(e)))},Bn.once=function(t){return Ts(2,t)},Bn.orderBy=function(t,e,i,r){return null==t?[]:(Hs(e)||(e=null==e?[]:[e]),Hs(i=r?n:i)||(i=null==i?[]:[i]),Vi(t,e,i))},Bn.over=cl,Bn.overArgs=Rs,Bn.overEvery=ul,Bn.overSome=hl,Bn.partial=Is,Bn.partialRight=Ns,Bn.partition=ks,Bn.pick=Ra,Bn.pickBy=Ia,Bn.property=dl,Bn.propertyOf=function(t){return function(e){return null==t?n:wi(t,e)}},Bn.pull=Zo,Bn.pullAll=Jo,Bn.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Hi(t,e,so(n,2)):t},Bn.pullAllWith=function(t,e,i){return t&&t.length&&e&&e.length?Hi(t,e,n,i):t},Bn.pullAt=Qo,Bn.range=pl,Bn.rangeRight=fl,Bn.rearg=Bs,Bn.reject=function(t,e){return(Hs(t)?Te:gi)(t,$s(so(e,3)))},Bn.remove=function(t,e){var n=[];if(!t||!t.length)return n;var i=-1,r=[],o=t.length;for(e=so(e,3);++i<o;){var s=t[i];e(s,i,t)&&(n.push(s),r.push(i))}return Ui(t,r),n},Bn.rest=function(t,e){if("function"!=typeof t)throw new Et(i);return Xi(t,e=e===n?e:fa(e))},Bn.reverse=ts,Bn.sampleSize=function(t,e,i){return e=(i?yo(t,e,i):e===n)?1:fa(e),(Hs(t)?Zn:Ki)(t,e)},Bn.set=function(t,e,n){return null==t?t:Zi(t,e,n)},Bn.setWith=function(t,e,i,r){return r="function"==typeof r?r:n,null==t?t:Zi(t,e,i,r)},Bn.shuffle=function(t){return(Hs(t)?Jn:tr)(t)},Bn.slice=function(t,e,i){var r=null==t?0:t.length;return r?(i&&"number"!=typeof i&&yo(t,e,i)?(e=0,i=r):(e=null==e?0:fa(e),i=i===n?r:fa(i)),er(t,e,i)):[]},Bn.sortBy=Cs,Bn.sortedUniq=function(t){return t&&t.length?or(t):[]},Bn.sortedUniqBy=function(t,e){return t&&t.length?or(t,so(e,2)):[]},Bn.split=function(t,e,i){return i&&"number"!=typeof i&&yo(t,e,i)&&(e=i=n),(i=i===n?h:i>>>0)?(t=ya(t))&&("string"==typeof e||null!=e&&!oa(e))&&!(e=ar(e))&&rn(t)?br(un(t),0,i):t.split(e,i):[]},Bn.spread=function(t,e){if("function"!=typeof t)throw new Et(i);return e=null==e?0:vn(fa(e),0),Xi((function(n){var i=n[e],r=br(n,0,e);return i&&Le(r,i),Se(t,this,r)}))},Bn.tail=function(t){var e=null==t?0:t.length;return e?er(t,1,e):[]},Bn.take=function(t,e,i){return t&&t.length?er(t,0,(e=i||e===n?1:fa(e))<0?0:e):[]},Bn.takeRight=function(t,e,i){var r=null==t?0:t.length;return r?er(t,(e=r-(e=i||e===n?1:fa(e)))<0?0:e,r):[]},Bn.takeRightWhile=function(t,e){return t&&t.length?hr(t,so(e,3),!1,!0):[]},Bn.takeWhile=function(t,e){return t&&t.length?hr(t,so(e,3)):[]},Bn.tap=function(t,e){return e(t),t},Bn.throttle=function(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw new Et(i);return ta(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Ms(t,e,{leading:r,maxWait:e,trailing:o})},Bn.thru=ps,Bn.toArray=da,Bn.toPairs=Na,Bn.toPairsIn=Ba,Bn.toPath=function(t){return Hs(t)?Me(t,Io):la(t)?[t]:Or(Ro(ya(t)))},Bn.toPlainObject=va,Bn.transform=function(t,e,n){var i=Hs(t),r=i||Xs(t)||ca(t);if(e=so(e,4),null==n){var o=t&&t.constructor;n=r?i?new o:[]:ta(t)&&Zs(o)?Fn(qt(t)):{}}return(r?Ce:bi)(t,(function(t,i,r){return e(n,t,i,r)})),n},Bn.unary=function(t){return Os(t,1)},Bn.union=es,Bn.unionBy=ns,Bn.unionWith=is,Bn.uniq=function(t){return t&&t.length?lr(t):[]},Bn.uniqBy=function(t,e){return t&&t.length?lr(t,so(e,2)):[]},Bn.uniqWith=function(t,e){return e="function"==typeof e?e:n,t&&t.length?lr(t,n,e):[]},Bn.unset=function(t,e){return null==t||cr(t,e)},Bn.unzip=rs,Bn.unzipWith=os,Bn.update=function(t,e,n){return null==t?t:ur(t,e,mr(n))},Bn.updateWith=function(t,e,i,r){return r="function"==typeof r?r:n,null==t?t:ur(t,e,mr(i),r)},Bn.values=Fa,Bn.valuesIn=function(t){return null==t?[]:Ke(t,La(t))},Bn.without=ss,Bn.words=Za,Bn.wrap=function(t,e){return Is(mr(e),t)},Bn.xor=as,Bn.xorBy=ls,Bn.xorWith=cs,Bn.zip=us,Bn.zipObject=function(t,e){return fr(t||[],e||[],ti)},Bn.zipObjectDeep=function(t,e){return fr(t||[],e||[],Zi)},Bn.zipWith=hs,Bn.entries=Na,Bn.entriesIn=Ba,Bn.extend=_a,Bn.extendWith=xa,al(Bn,Bn),Bn.add=vl,Bn.attempt=Ja,Bn.camelCase=za,Bn.capitalize=Va,Bn.ceil=yl,Bn.clamp=function(t,e,i){return i===n&&(i=e,e=n),i!==n&&(i=(i=ma(i))==i?i:0),e!==n&&(e=(e=ma(e))==e?e:0),si(ma(t),e,i)},Bn.clone=function(t){return ai(t,4)},Bn.cloneDeep=function(t){return ai(t,5)},Bn.cloneDeepWith=function(t,e){return ai(t,5,e="function"==typeof e?e:n)},Bn.cloneWith=function(t,e){return ai(t,4,e="function"==typeof e?e:n)},Bn.conformsTo=function(t,e){return null==e||li(t,e,Ma(e))},Bn.deburr=Wa,Bn.defaultTo=function(t,e){return null==t||t!=t?e:t},Bn.divide=bl,Bn.endsWith=function(t,e,i){t=ya(t),e=ar(e);var r=t.length,o=i=i===n?r:si(fa(i),0,r);return(i-=e.length)>=0&&t.slice(i,o)==e},Bn.eq=Fs,Bn.escape=function(t){return(t=ya(t))&&X.test(t)?t.replace(q,en):t},Bn.escapeRegExp=function(t){return(t=ya(t))&&nt.test(t)?t.replace(et,"\\$&"):t},Bn.every=function(t,e,i){var r=Hs(t)?Oe:pi;return i&&yo(t,e,i)&&(e=n),r(t,so(e,3))},Bn.find=ms,Bn.findIndex=Wo,Bn.findKey=function(t,e){return Ie(t,so(e,3),bi)},Bn.findLast=vs,Bn.findLastIndex=Ho,Bn.findLastKey=function(t,e){return Ie(t,so(e,3),_i)},Bn.floor=_l,Bn.forEach=ys,Bn.forEachRight=bs,Bn.forIn=function(t,e){return null==t?t:vi(t,so(e,3),La)},Bn.forInRight=function(t,e){return null==t?t:yi(t,so(e,3),La)},Bn.forOwn=function(t,e){return t&&bi(t,so(e,3))},Bn.forOwnRight=function(t,e){return t&&_i(t,so(e,3))},Bn.get=Aa,Bn.gt=zs,Bn.gte=Vs,Bn.has=function(t,e){return null!=t&&fo(t,e,Ai)},Bn.hasIn=Oa,Bn.head=qo,Bn.identity=il,Bn.includes=function(t,e,n,i){t=qs(t)?t:Fa(t),n=n&&!i?fa(n):0;var r=t.length;return n<0&&(n=vn(r+n,0)),aa(t)?n<=r&&t.indexOf(e,n)>-1:!!r&&Be(t,e,n)>-1},Bn.indexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:fa(n);return r<0&&(r=vn(i+r,0)),Be(t,e,r)},Bn.inRange=function(t,e,i){return e=pa(e),i===n?(i=e,e=0):i=pa(i),function(t,e,n){return t>=yn(e,n)&&t<vn(e,n)}(t=ma(t),e,i)},Bn.invoke=Pa,Bn.isArguments=Ws,Bn.isArray=Hs,Bn.isArrayBuffer=Us,Bn.isArrayLike=qs,Bn.isArrayLikeObject=Gs,Bn.isBoolean=function(t){return!0===t||!1===t||ea(t)&&ki(t)==v},Bn.isBuffer=Xs,Bn.isDate=Ys,Bn.isElement=function(t){return ea(t)&&1===t.nodeType&&!ra(t)},Bn.isEmpty=function(t){if(null==t)return!0;if(qs(t)&&(Hs(t)||"string"==typeof t||"function"==typeof t.splice||Xs(t)||ca(t)||Ws(t)))return!t.length;var e=po(t);if(e==w||e==O)return!t.size;if(wo(t))return!$i(t).length;for(var n in t)if($t.call(t,n))return!1;return!0},Bn.isEqual=function(t,e){return Mi(t,e)},Bn.isEqualWith=function(t,e,i){var r=(i="function"==typeof i?i:n)?i(t,e):n;return r===n?Mi(t,e,n,i):!!r},Bn.isError=Ks,Bn.isFinite=function(t){return"number"==typeof t&&fn(t)},Bn.isFunction=Zs,Bn.isInteger=Js,Bn.isLength=Qs,Bn.isMap=na,Bn.isMatch=function(t,e){return t===e||Li(t,e,lo(e))},Bn.isMatchWith=function(t,e,i){return i="function"==typeof i?i:n,Li(t,e,lo(e),i)},Bn.isNaN=function(t){return ia(t)&&t!=+t},Bn.isNative=function(t){if(xo(t))throw new St("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return ji(t)},Bn.isNil=function(t){return null==t},Bn.isNull=function(t){return null===t},Bn.isNumber=ia,Bn.isObject=ta,Bn.isObjectLike=ea,Bn.isPlainObject=ra,Bn.isRegExp=oa,Bn.isSafeInteger=function(t){return Js(t)&&t>=-c&&t<=c},Bn.isSet=sa,Bn.isString=aa,Bn.isSymbol=la,Bn.isTypedArray=ca,Bn.isUndefined=function(t){return t===n},Bn.isWeakMap=function(t){return ea(t)&&po(t)==P},Bn.isWeakSet=function(t){return ea(t)&&"[object WeakSet]"==ki(t)},Bn.join=function(t,e){return null==t?"":gn.call(t,e)},Bn.kebabCase=Ha,Bn.last=Ko,Bn.lastIndexOf=function(t,e,i){var r=null==t?0:t.length;if(!r)return-1;var o=r;return i!==n&&(o=(o=fa(i))<0?vn(r+o,0):yn(o,r-1)),e==e?function(t,e,n){for(var i=n+1;i--;)if(t[i]===e)return i;return i}(t,e,o):Ne(t,ze,o,!0)},Bn.lowerCase=Ua,Bn.lowerFirst=qa,Bn.lt=ua,Bn.lte=ha,Bn.max=function(t){return t&&t.length?fi(t,il,Ci):n},Bn.maxBy=function(t,e){return t&&t.length?fi(t,so(e,2),Ci):n},Bn.mean=function(t){return Ve(t,il)},Bn.meanBy=function(t,e){return Ve(t,so(e,2))},Bn.min=function(t){return t&&t.length?fi(t,il,Ri):n},Bn.minBy=function(t,e){return t&&t.length?fi(t,so(e,2),Ri):n},Bn.stubArray=gl,Bn.stubFalse=ml,Bn.stubObject=function(){return{}},Bn.stubString=function(){return""},Bn.stubTrue=function(){return!0},Bn.multiply=xl,Bn.nth=function(t,e){return t&&t.length?zi(t,fa(e)):n},Bn.noConflict=function(){return he._===this&&(he._=Ft),this},Bn.noop=ll,Bn.now=As,Bn.pad=function(t,e,n){t=ya(t);var i=(e=fa(e))?cn(t):0;if(!e||i>=e)return t;var r=(e-i)/2;return Vr(me(r),n)+t+Vr(ge(r),n)},Bn.padEnd=function(t,e,n){t=ya(t);var i=(e=fa(e))?cn(t):0;return e&&i<e?t+Vr(e-i,n):t},Bn.padStart=function(t,e,n){t=ya(t);var i=(e=fa(e))?cn(t):0;return e&&i<e?Vr(e-i,n)+t:t},Bn.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),_n(ya(t).replace(it,""),e||0)},Bn.random=function(t,e,i){if(i&&"boolean"!=typeof i&&yo(t,e,i)&&(e=i=n),i===n&&("boolean"==typeof e?(i=e,e=n):"boolean"==typeof t&&(i=t,t=n)),t===n&&e===n?(t=0,e=1):(t=pa(t),e===n?(e=t,t=0):e=pa(e)),t>e){var r=t;t=e,e=r}if(i||t%1||e%1){var o=xn();return yn(t+o*(e-t+ae("1e-"+((o+"").length-1))),e)}return qi(t,e)},Bn.reduce=function(t,e,n){var i=Hs(t)?je:Ue,r=arguments.length<3;return i(t,so(e,4),n,r,hi)},Bn.reduceRight=function(t,e,n){var i=Hs(t)?De:Ue,r=arguments.length<3;return i(t,so(e,4),n,r,di)},Bn.repeat=function(t,e,i){return e=(i?yo(t,e,i):e===n)?1:fa(e),Gi(ya(t),e)},Bn.replace=function(){var t=arguments,e=ya(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Bn.result=function(t,e,i){var r=-1,o=(e=vr(e,t)).length;for(o||(o=1,t=n);++r<o;){var s=null==t?n:t[Io(e[r])];s===n&&(r=o,s=i),t=Zs(s)?s.call(t):s}return t},Bn.round=wl,Bn.runInContext=t,Bn.sample=function(t){return(Hs(t)?Kn:Yi)(t)},Bn.size=function(t){if(null==t)return 0;if(qs(t))return aa(t)?cn(t):t.length;var e=po(t);return e==w||e==O?t.size:$i(t).length},Bn.snakeCase=Ga,Bn.some=function(t,e,i){var r=Hs(t)?$e:nr;return i&&yo(t,e,i)&&(e=n),r(t,so(e,3))},Bn.sortedIndex=function(t,e){return ir(t,e)},Bn.sortedIndexBy=function(t,e,n){return rr(t,e,so(n,2))},Bn.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var i=ir(t,e);if(i<n&&Fs(t[i],e))return i}return-1},Bn.sortedLastIndex=function(t,e){return ir(t,e,!0)},Bn.sortedLastIndexBy=function(t,e,n){return rr(t,e,so(n,2),!0)},Bn.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=ir(t,e,!0)-1;if(Fs(t[n],e))return n}return-1},Bn.startCase=Xa,Bn.startsWith=function(t,e,n){return t=ya(t),n=null==n?0:si(fa(n),0,t.length),e=ar(e),t.slice(n,n+e.length)==e},Bn.subtract=Sl,Bn.sum=function(t){return t&&t.length?qe(t,il):0},Bn.sumBy=function(t,e){return t&&t.length?qe(t,so(e,2)):0},Bn.template=function(t,e,i){var r=Bn.templateSettings;i&&yo(t,e,i)&&(e=n),t=ya(t),e=xa({},e,r,Kr);var o,s,a=xa({},e.imports,r.imports,Kr),l=Ma(a),c=Ke(a,l),u=0,h=e.interpolate||bt,d="__p += '",p=Ot((e.escape||bt).source+"|"+h.source+"|"+(h===Z?ht:bt).source+"|"+(e.evaluate||bt).source+"|$","g"),f="//# sourceURL="+($t.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ie+"]")+"\n";t.replace(p,(function(e,n,i,r,a,l){return i||(i=r),d+=t.slice(u,l).replace(_t,nn),n&&(o=!0,d+="' +\n__e("+n+") +\n'"),a&&(s=!0,d+="';\n"+a+";\n__p += '"),i&&(d+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),u=l+e.length,e})),d+="';\n";var g=$t.call(e,"variable")&&e.variable;if(g){if(ct.test(g))throw new St("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(s?d.replace(V,""):d).replace(W,"$1").replace(H,"$1;"),d="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var m=Ja((function(){return kt(l,f+"return "+d).apply(n,c)}));if(m.source=d,Ks(m))throw m;return m},Bn.times=function(t,e){if((t=fa(t))<1||t>c)return[];var n=h,i=yn(t,h);e=so(e),t-=h;for(var r=Ge(i,e);++n<t;)e(n);return r},Bn.toFinite=pa,Bn.toInteger=fa,Bn.toLength=ga,Bn.toLower=function(t){return ya(t).toLowerCase()},Bn.toNumber=ma,Bn.toSafeInteger=function(t){return t?si(fa(t),-c,c):0===t?t:0},Bn.toString=ya,Bn.toUpper=function(t){return ya(t).toUpperCase()},Bn.trim=function(t,e,i){if((t=ya(t))&&(i||e===n))return Xe(t);if(!t||!(e=ar(e)))return t;var r=un(t),o=un(e);return br(r,Je(r,o),Qe(r,o)+1).join("")},Bn.trimEnd=function(t,e,i){if((t=ya(t))&&(i||e===n))return t.slice(0,hn(t)+1);if(!t||!(e=ar(e)))return t;var r=un(t);return br(r,0,Qe(r,un(e))+1).join("")},Bn.trimStart=function(t,e,i){if((t=ya(t))&&(i||e===n))return t.replace(it,"");if(!t||!(e=ar(e)))return t;var r=un(t);return br(r,Je(r,un(e))).join("")},Bn.truncate=function(t,e){var i=30,r="...";if(ta(e)){var o="separator"in e?e.separator:o;i="length"in e?fa(e.length):i,r="omission"in e?ar(e.omission):r}var s=(t=ya(t)).length;if(rn(t)){var a=un(t);s=a.length}if(i>=s)return t;var l=i-cn(r);if(l<1)return r;var c=a?br(a,0,l).join(""):t.slice(0,l);if(o===n)return c+r;if(a&&(l+=c.length-l),oa(o)){if(t.slice(l).search(o)){var u,h=c;for(o.global||(o=Ot(o.source,ya(dt.exec(o))+"g")),o.lastIndex=0;u=o.exec(h);)var d=u.index;c=c.slice(0,d===n?l:d)}}else if(t.indexOf(ar(o),l)!=l){var p=c.lastIndexOf(o);p>-1&&(c=c.slice(0,p))}return c+r},Bn.unescape=function(t){return(t=ya(t))&&G.test(t)?t.replace(U,dn):t},Bn.uniqueId=function(t){var e=++Rt;return ya(t)+e},Bn.upperCase=Ya,Bn.upperFirst=Ka,Bn.each=ys,Bn.eachRight=bs,Bn.first=qo,al(Bn,function(){var t={};return bi(Bn,(function(e,n){$t.call(Bn.prototype,n)||(t[n]=e)})),t}(),{chain:!1}),Bn.VERSION="4.17.21",Ce(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Bn[t].placeholder=Bn})),Ce(["drop","take"],(function(t,e){Wn.prototype[t]=function(i){i=i===n?1:vn(fa(i),0);var r=this.__filtered__&&!e?new Wn(this):this.clone();return r.__filtered__?r.__takeCount__=yn(i,r.__takeCount__):r.__views__.push({size:yn(i,h),type:t+(r.__dir__<0?"Right":"")}),r},Wn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),Ce(["filter","map","takeWhile"],(function(t,e){var n=e+1,i=1==n||3==n;Wn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:so(t,3),type:n}),e.__filtered__=e.__filtered__||i,e}})),Ce(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Wn.prototype[t]=function(){return this[n](1).value()[0]}})),Ce(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Wn.prototype[t]=function(){return this.__filtered__?new Wn(this):this[n](1)}})),Wn.prototype.compact=function(){return this.filter(il)},Wn.prototype.find=function(t){return this.filter(t).head()},Wn.prototype.findLast=function(t){return this.reverse().find(t)},Wn.prototype.invokeMap=Xi((function(t,e){return"function"==typeof t?new Wn(this):this.map((function(n){return Ei(n,t,e)}))})),Wn.prototype.reject=function(t){return this.filter($s(so(t)))},Wn.prototype.slice=function(t,e){t=fa(t);var i=this;return i.__filtered__&&(t>0||e<0)?new Wn(i):(t<0?i=i.takeRight(-t):t&&(i=i.drop(t)),e!==n&&(i=(e=fa(e))<0?i.dropRight(-e):i.take(e-t)),i)},Wn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Wn.prototype.toArray=function(){return this.take(h)},bi(Wn.prototype,(function(t,e){var i=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),o=Bn[r?"take"+("last"==e?"Right":""):e],s=r||/^find/.test(e);o&&(Bn.prototype[e]=function(){var e=this.__wrapped__,a=r?[1]:arguments,l=e instanceof Wn,c=a[0],u=l||Hs(e),h=function(t){var e=o.apply(Bn,Le([t],a));return r&&d?e[0]:e};u&&i&&"function"==typeof c&&1!=c.length&&(l=u=!1);var d=this.__chain__,p=!!this.__actions__.length,f=s&&!d,g=l&&!p;if(!s&&u){e=g?e:new Wn(this);var m=t.apply(e,a);return m.__actions__.push({func:ps,args:[h],thisArg:n}),new Vn(m,d)}return f&&g?t.apply(this,a):(m=this.thru(h),f?r?m.value()[0]:m.value():m)})})),Ce(["pop","push","shift","sort","splice","unshift"],(function(t){var e=Pt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);Bn.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var r=this.value();return e.apply(Hs(r)?r:[],t)}return this[n]((function(n){return e.apply(Hs(n)?n:[],t)}))}})),bi(Wn.prototype,(function(t,e){var n=Bn[e];if(n){var i=n.name+"";$t.call(Pn,i)||(Pn[i]=[]),Pn[i].push({name:e,func:n})}})),Pn[Nr(n,2).name]=[{name:"wrapper",func:n}],Wn.prototype.clone=function(){var t=new Wn(this.__wrapped__);return t.__actions__=Or(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Or(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Or(this.__views__),t},Wn.prototype.reverse=function(){if(this.__filtered__){var t=new Wn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Wn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Hs(t),i=e<0,r=n?t.length:0,o=function(t,e,n){for(var i=-1,r=n.length;++i<r;){var o=n[i],s=o.size;switch(o.type){case"drop":t+=s;break;case"dropRight":e-=s;break;case"take":e=yn(e,t+s);break;case"takeRight":t=vn(t,e-s)}}return{start:t,end:e}}(0,r,this.__views__),s=o.start,a=o.end,l=a-s,c=i?a:s-1,u=this.__iteratees__,h=u.length,d=0,p=yn(l,this.__takeCount__);if(!n||!i&&r==l&&p==l)return dr(t,this.__actions__);var f=[];t:for(;l--&&d<p;){for(var g=-1,m=t[c+=e];++g<h;){var v=u[g],y=v.iteratee,b=v.type,_=y(m);if(2==b)m=_;else if(!_){if(1==b)continue t;break t}}f[d++]=m}return f},Bn.prototype.at=fs,Bn.prototype.chain=function(){return ds(this)},Bn.prototype.commit=function(){return new Vn(this.value(),this.__chain__)},Bn.prototype.next=function(){this.__values__===n&&(this.__values__=da(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?n:this.__values__[this.__index__++]}},Bn.prototype.plant=function(t){for(var e,i=this;i instanceof zn;){var r=Bo(i);r.__index__=0,r.__values__=n,e?o.__wrapped__=r:e=r;var o=r;i=i.__wrapped__}return o.__wrapped__=t,e},Bn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Wn){var e=t;return this.__actions__.length&&(e=new Wn(this)),(e=e.reverse()).__actions__.push({func:ps,args:[ts],thisArg:n}),new Vn(e,this.__chain__)}return this.thru(ts)},Bn.prototype.toJSON=Bn.prototype.valueOf=Bn.prototype.value=function(){return dr(this.__wrapped__,this.__actions__)},Bn.prototype.first=Bn.prototype.head,te&&(Bn.prototype[te]=function(){return this}),Bn}();pe?((pe.exports=pn)._=pn,de._=pn):he._=pn}).call(ud)}(gd,gd.exports);var md=gd.exports;const vd={key:0,class:"message"},yd={class:"body"},bd={class:"dismiss"},_d=Zn({__name:"base-banner",props:{prependMessage:{default:void 0},small:{type:Boolean,default:!1},type:{default:"warning"}},setup(t){const e=t,n={warning:"Warning",error:"Error",success:"Success",info:"Info"},i=Po((()=>e.prependMessage?e.prependMessage:md.isUndefined(n[e.type])?"":`${n[e.type]}`));return(t,e)=>(Hr(),Xr("div",{class:G(["banner",t.type,{small:t.small}]),role:"alert"},[i.value?(Hr(),Xr("div",vd,tt(i.value),1)):oo("",!0),to("div",yd,[Ei(t.$slots,"default",{},void 0,!0)]),to("div",bd,[Ei(t.$slots,"right",{},void 0,!0)])],2))}}),xd=(t,e)=>{const n=t.__vccOpts||t;for(const[t,i]of e)n[t]=i;return n},wd=xd(_d,[["__scopeId","data-v-150bbe49"]]),Sd={props:{modelValue:{type:null,default:void 0},initialValue:{type:null,default:void 0}},data(){return{toggleState:void 0!==this.initialValue&&this.initialValue}},computed:{visible:{get(){return void 0===this.modelValue?this.toggleState:this.modelValue},set(t){void 0===this.modelValue?this.toggleState=t:this.$emit("update:modelValue",t)}}},methods:{toggle(){this.visible?this.close():this.open()},open(){this.visible||(this.$emit("update:modelValue",!0),this.toggleState=!0,this.$emit("open"))},close(...t){this.visible&&(this.$emit("update:modelValue",!1),this.toggleState=!1,this.$emit("close",...t))},show(){this.open()},hide(){this.close()}}},kd=xd(Zn({__name:"icon-viewer",props:{icon:{}},setup:t=>(t,e)=>(Hr(),Xr("div",{class:G(["icon-viewer",`icon-${t.icon}`])},null,2))}),[["__scopeId","data-v-47ab70fc"]]),Cd=(Boolean,Boolean,Boolean,Boolean,Boolean,Zn({__name:"button",props:{as:{type:[String,Object,Function],default:"button"},leftIcon:{},rightIcon:{},disabled:{type:Boolean,default:!1},hasMinWidth:{type:Boolean,default:void 0},size:{default:"medium"},spinner:{type:Boolean,default:!1},severity:{default:"primary"},variant:{default:"regular"}},setup(t){const e=t,n=Ss(),i=Po((()=>{const t=void 0===e.hasMinWidth?"simple"!==e.variant:e.hasMinWidth;return[n.button,n[`variant-${e.variant}`],n[`severity-${e.severity}`],n[`size-${e.size}`],{[n[`icon-left-${e.leftIcon}`]]:!!e.leftIcon,[n[`icon-right-${e.rightIcon}`]]:!!e.rightIcon,[n.spinner]:e.spinner,[n.hasLeftIcon]:!!e.leftIcon,[n.hasMinWidth]:t,[n.hasRightIcon]:!!e.rightIcon}]}));return(t,e)=>(Hr(),Yr(ki(t.as||"button"),{class:G(i.value),disabled:t.disabled},{default:Ln((()=>[Ei(t.$slots,"default")])),_:3},8,["class","disabled"]))}})),Ad=xd(Cd,[["__cssModules",{$style:{icon:"_icon_h684c_1",button:"_button_h684c_51",spinner:"_spinner_h684c_70",spin:"_spin_h684c_70","icon-left-alert-circle":"_icon-left-alert-circle_h684c_97","icon-right-alert-circle":"_icon-right-alert-circle_h684c_101","icon-left-angles-up":"_icon-left-angles-up_h684c_105","icon-right-angles-up":"_icon-right-angles-up_h684c_109","icon-left-angles-down":"_icon-left-angles-down_h684c_113","icon-right-angles-down":"_icon-right-angles-down_h684c_117","icon-left-angles-left":"_icon-left-angles-left_h684c_121","icon-right-angles-left":"_icon-right-angles-left_h684c_125","icon-left-angles-right":"_icon-left-angles-right_h684c_129","icon-right-angles-right":"_icon-right-angles-right_h684c_133","icon-left-angle-down":"_icon-left-angle-down_h684c_137","icon-right-angle-down":"_icon-right-angle-down_h684c_141","icon-left-angle-left":"_icon-left-angle-left_h684c_145","icon-right-angle-left":"_icon-right-angle-left_h684c_149","icon-left-angle-right":"_icon-left-angle-right_h684c_153","icon-right-angle-right":"_icon-right-angle-right_h684c_157","icon-left-angle-up":"_icon-left-angle-up_h684c_161","icon-right-angle-up":"_icon-right-angle-up_h684c_165","icon-left-arrow-down":"_icon-left-arrow-down_h684c_169","icon-right-arrow-down":"_icon-right-arrow-down_h684c_173","icon-left-arrow-left":"_icon-left-arrow-left_h684c_177","icon-right-arrow-left":"_icon-right-arrow-left_h684c_181","icon-left-arrow-right":"_icon-left-arrow-right_h684c_185","icon-right-arrow-right":"_icon-right-arrow-right_h684c_189","icon-left-arrow-up":"_icon-left-arrow-up_h684c_193","icon-right-arrow-up":"_icon-right-arrow-up_h684c_197","icon-left-ban":"_icon-left-ban_h684c_201","icon-right-ban":"_icon-right-ban_h684c_205","icon-left-bell":"_icon-left-bell_h684c_209","icon-right-bell":"_icon-right-bell_h684c_213","icon-left-building":"_icon-left-building_h684c_217","icon-right-building":"_icon-right-building_h684c_221","icon-left-calendar":"_icon-left-calendar_h684c_225","icon-right-calendar":"_icon-right-calendar_h684c_229","icon-left-chart-bar":"_icon-left-chart-bar_h684c_233","icon-right-chart-bar":"_icon-right-chart-bar_h684c_237","icon-left-circle-check":"_icon-left-circle-check_h684c_241","icon-right-circle-check":"_icon-right-circle-check_h684c_245","icon-left-check":"_icon-left-check_h684c_249","icon-right-check":"_icon-right-check_h684c_253","icon-left-chevron-up":"_icon-left-chevron-up_h684c_257","icon-right-chevron-up":"_icon-right-chevron-up_h684c_261","icon-left-chevron-down":"_icon-left-chevron-down_h684c_265","icon-right-chevron-down":"_icon-right-chevron-down_h684c_269","icon-left-chevron-left":"_icon-left-chevron-left_h684c_273","icon-right-chevron-left":"_icon-right-chevron-left_h684c_277","icon-left-chevron-right":"_icon-left-chevron-right_h684c_281","icon-right-chevron-right":"_icon-right-chevron-right_h684c_285","icon-left-caret-up":"_icon-left-caret-up_h684c_289","icon-right-caret-up":"_icon-right-caret-up_h684c_293","icon-left-caret-down":"_icon-left-caret-down_h684c_297","icon-right-caret-down":"_icon-right-caret-down_h684c_301","icon-left-caret-left":"_icon-left-caret-left_h684c_305","icon-right-caret-left":"_icon-right-caret-left_h684c_309","icon-left-caret-right":"_icon-left-caret-right_h684c_313","icon-right-caret-right":"_icon-right-caret-right_h684c_317","icon-left-circle":"_icon-left-circle_h684c_241","icon-right-circle":"_icon-right-circle_h684c_245","icon-left-circle-arrow-up":"_icon-left-circle-arrow-up_h684c_329","icon-right-circle-arrow-up":"_icon-right-circle-arrow-up_h684c_333","icon-left-circle-arrow-down":"_icon-left-circle-arrow-down_h684c_337","icon-right-circle-arrow-down":"_icon-right-circle-arrow-down_h684c_341","icon-left-circle-arrow-left":"_icon-left-circle-arrow-left_h684c_345","icon-right-circle-arrow-left":"_icon-right-circle-arrow-left_h684c_349","icon-left-circle-arrow-right":"_icon-left-circle-arrow-right_h684c_353","icon-right-circle-arrow-right":"_icon-right-circle-arrow-right_h684c_357","icon-left-circle-chevron-up":"_icon-left-circle-chevron-up_h684c_361","icon-right-circle-chevron-up":"_icon-right-circle-chevron-up_h684c_365","icon-left-circle-chevron-down":"_icon-left-circle-chevron-down_h684c_369","icon-right-circle-chevron-down":"_icon-right-circle-chevron-down_h684c_373","icon-left-circle-chevron-left":"_icon-left-circle-chevron-left_h684c_377","icon-right-circle-chevron-left":"_icon-right-circle-chevron-left_h684c_381","icon-left-circle-chevron-right":"_icon-left-circle-chevron-right_h684c_385","icon-right-circle-chevron-right":"_icon-right-circle-chevron-right_h684c_389","icon-left-circle-thin":"_icon-left-circle-thin_h684c_393","icon-right-circle-thin":"_icon-right-circle-thin_h684c_397","icon-left-clock":"_icon-left-clock_h684c_401","icon-right-clock":"_icon-right-clock_h684c_405","icon-left-close":"_icon-left-close_h684c_409","icon-right-close":"_icon-right-close_h684c_413","icon-left-close-circle":"_icon-left-close-circle_h684c_417","icon-right-close-circle":"_icon-right-close-circle_h684c_421","icon-left-code-branch":"_icon-left-code-branch_h684c_425","icon-right-code-branch":"_icon-right-code-branch_h684c_429","icon-left-gear":"_icon-left-gear_h684c_433","icon-right-gear":"_icon-right-gear_h684c_437","icon-left-grip":"_icon-left-grip_h684c_441","icon-right-grip":"_icon-right-grip_h684c_445","icon-left-grip-vertical":"_icon-left-grip-vertical_h684c_449","icon-right-grip-vertical":"_icon-right-grip-vertical_h684c_453","icon-left-comments":"_icon-left-comments_h684c_457","icon-right-comments":"_icon-right-comments_h684c_461","icon-left-copy":"_icon-left-copy_h684c_465","icon-right-copy":"_icon-right-copy_h684c_469","icon-left-credit-card":"_icon-left-credit-card_h684c_473","icon-right-credit-card":"_icon-right-credit-card_h684c_477","icon-left-disable":"_icon-left-disable_h684c_481","icon-right-disable":"_icon-right-disable_h684c_485","icon-left-dollar-sign":"_icon-left-dollar-sign_h684c_489","icon-right-dollar-sign":"_icon-right-dollar-sign_h684c_493","icon-left-download":"_icon-left-download_h684c_497","icon-right-download":"_icon-right-download_h684c_501","icon-left-pen-to-square":"_icon-left-pen-to-square_h684c_505","icon-right-pen-to-square":"_icon-right-pen-to-square_h684c_509","icon-left-ellipsis":"_icon-left-ellipsis_h684c_513","icon-right-ellipsis":"_icon-right-ellipsis_h684c_517","icon-left-ellipsis-vertical":"_icon-left-ellipsis-vertical_h684c_521","icon-right-ellipsis-vertical":"_icon-right-ellipsis-vertical_h684c_525","icon-left-circle-exclamation":"_icon-left-circle-exclamation_h684c_529","icon-right-circle-exclamation":"_icon-right-circle-exclamation_h684c_533","icon-left-triangle-exclamation":"_icon-left-triangle-exclamation_h684c_537","icon-right-triangle-exclamation":"_icon-right-triangle-exclamation_h684c_541","icon-left-eye":"_icon-left-eye_h684c_545","icon-right-eye":"_icon-right-eye_h684c_549","icon-left-forward-fast":"_icon-left-forward-fast_h684c_553","icon-right-forward-fast":"_icon-right-forward-fast_h684c_557","icon-left-file":"_icon-left-file_h684c_561","icon-right-file":"_icon-right-file_h684c_565","icon-left-filter":"_icon-left-filter_h684c_569","icon-right-filter":"_icon-right-filter_h684c_573","icon-left-earth-americas":"_icon-left-earth-americas_h684c_577","icon-right-earth-americas":"_icon-right-earth-americas_h684c_581","icon-left-globe":"_icon-left-globe_h684c_585","icon-right-globe":"_icon-right-globe_h684c_589","icon-left-help":"_icon-left-help_h684c_593","icon-right-help":"_icon-right-help_h684c_597","icon-left-clock-rotate-left":"_icon-left-clock-rotate-left_h684c_601","icon-right-clock-rotate-left":"_icon-right-clock-rotate-left_h684c_605","icon-left-house":"_icon-left-house_h684c_609","icon-right-house":"_icon-right-house_h684c_613","icon-left-id-card":"_icon-left-id-card_h684c_617","icon-right-id-card":"_icon-right-id-card_h684c_621","icon-left-info":"_icon-left-info_h684c_625","icon-right-info":"_icon-right-info_h684c_629","icon-left-link":"_icon-left-link_h684c_633","icon-right-link":"_icon-right-link_h684c_637","icon-left-list-check":"_icon-left-list-check_h684c_641","icon-right-list-check":"_icon-right-list-check_h684c_645","icon-left-lock":"_icon-left-lock_h684c_649","icon-right-lock":"_icon-right-lock_h684c_653","icon-left-lock-open":"_icon-left-lock-open_h684c_657","icon-right-lock-open":"_icon-right-lock-open_h684c_661","icon-left-left-long":"_icon-left-left-long_h684c_665","icon-right-left-long":"_icon-right-left-long_h684c_669","icon-left-right-long":"_icon-left-right-long_h684c_673","icon-right-right-long":"_icon-right-right-long_h684c_677","icon-left-wand-magic":"_icon-left-wand-magic_h684c_681","icon-right-wand-magic":"_icon-right-wand-magic_h684c_685","icon-left-circle-minus":"_icon-left-circle-minus_h684c_689","icon-right-circle-minus":"_icon-right-circle-minus_h684c_693","icon-left-menu":"_icon-left-menu_h684c_697","icon-right-menu":"_icon-right-menu_h684c_701","icon-left-minus":"_icon-left-minus_h684c_705","icon-right-minus":"_icon-right-minus_h684c_709","icon-left-more":"_icon-left-more_h684c_713","icon-right-more":"_icon-right-more_h684c_717","icon-left-more-vert":"_icon-left-more-vert_h684c_721","icon-right-more-vert":"_icon-right-more-vert_h684c_725","icon-left-paper-plane":"_icon-left-paper-plane_h684c_729","icon-right-paper-plane":"_icon-right-paper-plane_h684c_733","icon-left-circle-play":"_icon-left-circle-play_h684c_737","icon-right-circle-play":"_icon-right-circle-play_h684c_741","icon-left-plus":"_icon-left-plus_h684c_745","icon-right-plus":"_icon-right-plus_h684c_749","icon-left-circle-plus":"_icon-left-circle-plus_h684c_753","icon-right-circle-plus":"_icon-right-circle-plus_h684c_757","icon-left-square-plus":"_icon-left-square-plus_h684c_761","icon-right-square-plus":"_icon-right-square-plus_h684c_765","icon-left-square-caret-up":"_icon-left-square-caret-up_h684c_769","icon-right-square-caret-up":"_icon-right-square-caret-up_h684c_773","icon-left-square-caret-down":"_icon-left-square-caret-down_h684c_777","icon-right-square-caret-down":"_icon-right-square-caret-down_h684c_781","icon-left-square-caret-left":"_icon-left-square-caret-left_h684c_785","icon-right-square-caret-left":"_icon-right-square-caret-left_h684c_789","icon-left-square-caret-right":"_icon-left-square-caret-right_h684c_793","icon-right-square-caret-right":"_icon-right-square-caret-right_h684c_797","icon-left-question-mark":"_icon-left-question-mark_h684c_801","icon-right-question-mark":"_icon-right-question-mark_h684c_805","icon-left-shuffle":"_icon-left-shuffle_h684c_809","icon-right-shuffle":"_icon-right-shuffle_h684c_813","icon-left-arrow-rotate-right":"_icon-left-arrow-rotate-right_h684c_817","icon-right-arrow-rotate-right":"_icon-right-arrow-rotate-right_h684c_821","icon-left-refresh":"_icon-left-refresh_h684c_825","icon-right-refresh":"_icon-right-refresh_h684c_829","icon-left-reply":"_icon-left-reply_h684c_833","icon-right-reply":"_icon-right-reply_h684c_837","icon-left-resend":"_icon-left-resend_h684c_841","icon-right-resend":"_icon-right-resend_h684c_845","icon-left-right-from-bracket":"_icon-left-right-from-bracket_h684c_849","icon-right-right-from-bracket":"_icon-right-right-from-bracket_h684c_853","icon-left-magnifying-glass":"_icon-left-magnifying-glass_h684c_857","icon-right-magnifying-glass":"_icon-right-magnifying-glass_h684c_861","icon-left-settings":"_icon-left-settings_h684c_865","icon-right-settings":"_icon-right-settings_h684c_869","icon-left-share":"_icon-left-share_h684c_873","icon-right-share":"_icon-right-share_h684c_877","icon-left-spinner":"_icon-left-spinner_h684c_881","icon-right-spinner":"_icon-right-spinner_h684c_886","icon-left-square-down":"_icon-left-square-down_h684c_891","icon-right-square-down":"_icon-right-square-down_h684c_895","icon-left-stop":"_icon-left-stop_h684c_899","icon-right-stop":"_icon-right-stop_h684c_903","icon-left-swap":"_icon-left-swap_h684c_907","icon-right-swap":"_icon-right-swap_h684c_911","icon-left-table":"_icon-left-table_h684c_915","icon-right-table":"_icon-right-table_h684c_919","icon-left-circle-xmark":"_icon-left-circle-xmark_h684c_923","icon-right-circle-xmark":"_icon-right-circle-xmark_h684c_927","icon-left-trash":"_icon-left-trash_h684c_931","icon-right-trash":"_icon-right-trash_h684c_935","icon-left-unfold-less":"_icon-left-unfold-less_h684c_939","icon-right-unfold-less":"_icon-right-unfold-less_h684c_943","icon-left-unfold-more":"_icon-left-unfold-more_h684c_947","icon-right-unfold-more":"_icon-right-unfold-more_h684c_951","icon-left-user":"_icon-left-user_h684c_955","icon-right-user":"_icon-right-user_h684c_959","icon-left-users":"_icon-left-users_h684c_963","icon-right-users":"_icon-right-users_h684c_967","icon-left-vial":"_icon-left-vial_h684c_971","icon-right-vial":"_icon-right-vial_h684c_975","icon-left-view-list":"_icon-left-view-list_h684c_979","icon-right-view-list":"_icon-right-view-list_h684c_983",hasLeftIcon:"_hasLeftIcon_h684c_987","size-small":"_size-small_h684c_993",hasRightIcon:"_hasRightIcon_h684c_1000",hasMinWidth:"_hasMinWidth_h684c_1017","severity-primary":"_severity-primary_h684c_1020","variant-regular":"_variant-regular_h684c_1020","variant-outline":"_variant-outline_h684c_1036","variant-simple":"_variant-simple_h684c_1051","severity-secondary":"_severity-secondary_h684c_1062","severity-danger":"_severity-danger_h684c_1109","severity-caution":"_severity-caution_h684c_1145","size-large":"_size-large_h684c_1181",disabled:"_disabled_h684c_1222"}}]]),Od=xd(Zn({__name:"card-content",props:{padding:{default:"md"}},setup:t=>(t,e)=>(Hr(),Xr("div",{class:G(t.$style[t.padding])},[Ei(t.$slots,"default")],2))}),[["__cssModules",{$style:{sm:"_sm_rsgx8_1",md:"_md_rsgx8_4",lg:"_lg_rsgx8_7"}}]]),Td=xd(Zn({__name:"card",props:{boxShadow:{type:Boolean,default:!0},outline:{type:Boolean,default:!0},padding:{type:[String,Boolean],default:"md"}},setup:t=>(t,e)=>(Hr(),Xr("div",{class:G([t.$style.card,{[t.$style.boxShadow]:t.boxShadow,[t.$style.outline]:t.outline}])},[t.padding?(Hr(),Yr(Od,{key:0,padding:t.padding},{default:Ln((()=>[Ei(t.$slots,"default")])),_:3},8,["padding"])):Ei(t.$slots,"default",{key:1})],2))}),[["__cssModules",{$style:{card:"_card_7q0tq_1",outline:"_outline_7q0tq_6",boxShadow:"_boxShadow_7q0tq_9"}}]]);Object.assign(Td,{Content:Od});var Ed={exports:{}};!function(t){var e,n;e=typeof window<"u"?window:ud,n=function(t){var e={};function n(e,n,i,r){e.hasOwnProperty(n)||(e[n]=r.apply(null,i),"function"==typeof CustomEvent&&t.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:n,module:e[n]}})))}return n(e,"Core/Globals.js",[],(function(){var e,n;return(n=e||(e={})).SVG_NS="http://www.w3.org/2000/svg",n.product="Highcharts",n.version="11.4.6",n.win=void 0!==t?t:{},n.doc=n.win.document,n.svg=n.doc&&n.doc.createElementNS&&!!n.doc.createElementNS(n.SVG_NS,"svg").createSVGRect,n.userAgent=n.win.navigator&&n.win.navigator.userAgent||"",n.isChrome=n.win.chrome,n.isFirefox=-1!==n.userAgent.indexOf("Firefox"),n.isMS=/(edge|msie|trident)/i.test(n.userAgent)&&!n.win.opera,n.isSafari=!n.isChrome&&-1!==n.userAgent.indexOf("Safari"),n.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(n.userAgent),n.isWebKit=-1!==n.userAgent.indexOf("AppleWebKit"),n.deg2rad=2*Math.PI/360,n.hasBidiBug=n.isFirefox&&4>parseInt(n.userAgent.split("Firefox/")[1],10),n.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],n.noop=function(){},n.supportsPassiveEvents=function(){let t=!1;if(!n.isMS){let e=Object.defineProperty({},"passive",{get:function(){t=!0}});n.win.addEventListener&&n.win.removeEventListener&&(n.win.addEventListener("testPassive",n.noop,e),n.win.removeEventListener("testPassive",n.noop,e))}return t}(),n.charts=[],n.composed=[],n.dateFormats={},n.seriesTypes={},n.symbolSizes={},n.chartCount=0,e})),n(e,"Core/Utilities.js",[e["Core/Globals.js"]],(function(t){let e,{charts:n,doc:i,win:r}=t;function o(e,n,i,s){let a=n?"Highcharts error":"Highcharts warning";32===e&&(e=`${a}: Deprecated member`);let l=d(e),c=l?`${a} #${e}: www.highcharts.com/errors/${e}/`:e.toString();if(void 0!==s){let t="";l&&(c+="?"),w(s,(function(e,n){t+=`\n - ${n}: ${e}`,l&&(c+=encodeURI(n)+"="+encodeURI(e))})),c+=t}k(t,"displayError",{chart:i,code:e,message:c,params:s},(function(){if(n)throw Error(c);r.console&&-1===o.messages.indexOf(c)&&console.warn(c)})),o.messages.push(c)}function s(t,e){return parseInt(t,e||10)}function a(t){return"string"==typeof t}function l(t){let e=Object.prototype.toString.call(t);return"[object Array]"===e||"[object Array Iterator]"===e}function c(t,e){return!(!t||"object"!=typeof t||e&&l(t))}function u(t){return c(t)&&"number"==typeof t.nodeType}function h(t){let e=t&&t.constructor;return!(!c(t,!0)||u(t)||!e||!e.name||"Object"===e.name)}function d(t){return"number"==typeof t&&!isNaN(t)&&t<1/0&&t>-1/0}function p(t){return null!=t}function f(t,e,n){let i,r=a(e)&&!p(n),o=(e,n)=>{p(e)?t.setAttribute(n,e):r?(i=t.getAttribute(n))||"class"!==n||(i=t.getAttribute(n+"Name")):t.removeAttribute(n)};return a(e)?o(n,e):w(e,o),i}function g(t){return l(t)?t:[t]}function m(t,e){let n;for(n in t||(t={}),e)t[n]=e[n];return t}function v(){let t=arguments,e=t.length;for(let n=0;n<e;n++){let e=t[n];if(null!=e)return e}}function y(t,e){m(t.style,e)}function b(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))}function _(t,e){return t>1e14?t:parseFloat(t.toPrecision(e||14))}(o||(o={})).messages=[],Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};let x=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){let n,i=t.length;for(n=0;n<i;n++)if(e(t[n],n))return t[n]};function w(t,e,n){for(let i in t)Object.hasOwnProperty.call(t,i)&&e.call(n||t[i],t[i],i,t)}function S(t,e,n){function i(e,n){let i=t.removeEventListener;i&&i.call(t,e,n,!1)}function r(n){let r,o;t.nodeName&&(e?(r={})[e]=!0:r=n,w(r,(function(t,e){if(n[e])for(o=n[e].length;o--;)i(e,n[e][o].fn)})))}let o="function"==typeof t&&t.prototype||t;if(Object.hasOwnProperty.call(o,"hcEvents")){let t=o.hcEvents;if(e){let o=t[e]||[];n?(t[e]=o.filter((function(t){return n!==t.fn})),i(e,n)):(r(t),t[e]=[])}else r(t),delete o.hcEvents}}function k(e,n,r,o){if(r=r||{},i.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==t)){let t=i.createEvent("Events");t.initEvent(n,!0,!0),r=m(t,r),e.dispatchEvent?e.dispatchEvent(r):e.fireEvent(n,r)}else if(e.hcEvents){r.target||m(r,{preventDefault:function(){r.defaultPrevented=!0},target:e,type:n});let t=[],i=e,o=!1;for(;i.hcEvents;)Object.hasOwnProperty.call(i,"hcEvents")&&i.hcEvents[n]&&(t.length&&(o=!0),t.unshift.apply(t,i.hcEvents[n])),i=Object.getPrototypeOf(i);o&&t.sort(((t,e)=>t.order-e.order)),t.forEach((t=>{!1===t.fn.call(e,r)&&r.preventDefault()}))}o&&!r.defaultPrevented&&o.call(e,r)}w({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(e,n){t[n]=function(t){return o(32,!1,void 0,{[`Highcharts.${n}`]:`use Array.${e}`}),Array.prototype[e].apply(t,[].slice.call(arguments,1))}}));let C=function(){let t=Math.random().toString(36).substring(2,9)+"-",n=0;return function(){return"highcharts-"+(e?"":t)+n++}}();return r.jQuery&&(r.jQuery.fn.highcharts=function(){let e=[].slice.call(arguments);if(this[0])return e[0]?(new(t[a(e[0])?e.shift():"Chart"])(this[0],e[0],e[1]),this):n[f(this[0],"data-highcharts-chart")]}),{addEvent:function(e,n,i,r={}){let o="function"==typeof e&&e.prototype||e;Object.hasOwnProperty.call(o,"hcEvents")||(o.hcEvents={});let s=o.hcEvents;t.Point&&e instanceof t.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);let a=e.addEventListener;a&&a.call(e,n,i,!!t.supportsPassiveEvents&&{passive:void 0===r.passive?-1!==n.indexOf("touch"):r.passive,capture:!1}),s[n]||(s[n]=[]);let l={fn:i,order:"number"==typeof r.order?r.order:1/0};return s[n].push(l),s[n].sort(((t,e)=>t.order-e.order)),function(){S(e,n,i)}},arrayMax:function(t){let e=t.length,n=t[0];for(;e--;)t[e]>n&&(n=t[e]);return n},arrayMin:function(t){let e=t.length,n=t[0];for(;e--;)t[e]<n&&(n=t[e]);return n},attr:f,clamp:function(t,e,n){return t>e?t<n?t:n:e},clearTimeout:function(t){p(t)&&clearTimeout(t)},correctFloat:_,createElement:function(t,e,n,r,o){let s=i.createElement(t);return e&&m(s,e),o&&y(s,{padding:"0",border:"none",margin:"0"}),n&&y(s,n),r&&r.appendChild(s),s},crisp:(t,e=0,n)=>{let i=e%2/2,r=n?-1:1;return(Math.round(t*r-i)+i)*r},css:y,defined:p,destroyObjectProperties:function(t,e,n){w(t,(function(i,r){i!==e&&null!=i&&i.destroy&&i.destroy(),(null!=i&&i.destroy||!n)&&delete t[r]}))},diffObjects:function(t,e,n,i){let r={};return function t(e,r,o,s){let a=n?r:e;w(e,(function(n,u){if(!s&&i&&i.indexOf(u)>-1&&r[u]){n=g(n),o[u]=[];for(let e=0;e<Math.max(n.length,r[u].length);e++)r[u][e]&&(void 0===n[e]?o[u][e]=r[u][e]:(o[u][e]={},t(n[e],r[u][e],o[u][e],s+1)))}else c(n,!0)&&!n.nodeType?(o[u]=l(n)?[]:{},t(n,r[u]||{},o[u],s+1),0!==Object.keys(o[u]).length||"colorAxis"===u&&0===s||delete o[u]):(e[u]!==r[u]||u in e&&!(u in r))&&"__proto__"!==u&&"constructor"!==u&&(o[u]=a[u])}))}(t,e,r,0),r},discardElement:function(t){t&&t.parentElement&&t.parentElement.removeChild(t)},erase:function(t,e){let n=t.length;for(;n--;)if(t[n]===e){t.splice(n,1);break}},error:o,extend:m,extendClass:function(t,e){let n=function(){};return m(n.prototype=new t,e),n},find:x,fireEvent:k,getClosestDistance:function(t,e){let n,i,r,o=!e;return t.forEach((t=>{if(t.length>1)for(r=t.length-1;r>0;r--)(i=t[r]-t[r-1])<0&&!o?(null==e||e(),e=void 0):i&&(void 0===n||i<n)&&(n=i)})),n},getMagnitude:b,getNestedProperty:function(t,e){let n=t.split(".");for(;n.length&&p(e);){let t=n.shift();if(void 0===t||"__proto__"===t)return;if("this"===t){let t;return c(e)&&(t=e["@this"]),t??e}let i=e[t];if(!p(i)||"function"==typeof i||"number"==typeof i.nodeType||i===r)return;e=i}return e},getStyle:function t(e,n,i){let o;if("width"===n){let n=Math.min(e.offsetWidth,e.scrollWidth),i=e.getBoundingClientRect&&e.getBoundingClientRect().width;return i<n&&i>=n-1&&(n=Math.floor(i)),Math.max(0,n-(t(e,"padding-left",!0)||0)-(t(e,"padding-right",!0)||0))}if("height"===n)return Math.max(0,Math.min(e.offsetHeight,e.scrollHeight)-(t(e,"padding-top",!0)||0)-(t(e,"padding-bottom",!0)||0));let a=r.getComputedStyle(e,void 0);return a&&(o=a.getPropertyValue(n),v(i,"opacity"!==n)&&(o=s(o))),o},inArray:function(t,e,n){return o(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),e.indexOf(t,n)},insertItem:function(t,e){let n,i=t.options.index,r=e.length;for(n=t.options.isInternal?r:0;n<r+1;n++)if(!e[n]||d(i)&&i<v(e[n].options.index,e[n]._i)||e[n].options.isInternal){e.splice(n,0,t);break}return n},isArray:l,isClass:h,isDOMElement:u,isFunction:function(t){return"function"==typeof t},isNumber:d,isObject:c,isString:a,keys:function(t){return o(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)},merge:function(){let t,e=arguments,n={},i=function(t,e){return"object"!=typeof t&&(t={}),w(e,(function(n,r){"__proto__"!==r&&"constructor"!==r&&(!c(n,!0)||h(n)||u(n)?t[r]=e[r]:t[r]=i(t[r]||{},n))})),t};!0===e[0]&&(n=e[1],e=Array.prototype.slice.call(e,2));let r=e.length;for(t=0;t<r;t++)n=i(n,e[t]);return n},normalizeTickInterval:function(t,e,n,i,r){let o,s=t,a=t/(n=v(n,b(t)));for(!e&&(e=r?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===i&&(1===n?e=e.filter((function(t){return t%1==0})):n<=.1&&(e=[1/n]))),o=0;o<e.length&&(s=e[o],(!r||!(s*n>=t))&&(r||!(a<=(e[o]+(e[o+1]||e[o]))/2)));o++);return _(s*n,-Math.round(Math.log(.001)/Math.LN10))},objectEach:w,offset:function(t){let e=i.documentElement,n=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:n.top+(r.pageYOffset||e.scrollTop)-(e.clientTop||0),left:n.left+(r.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:n.width,height:n.height}},pad:function(t,e,n){return Array((e||2)+1-String(t).replace("-","").length).join(n||"0")+t},pick:v,pInt:s,pushUnique:function(t,e){return 0>t.indexOf(e)&&!!t.push(e)},relativeLength:function(t,e,n){return/%$/.test(t)?e*parseFloat(t)/100+(n||0):parseFloat(t)},removeEvent:S,replaceNested:function(t,...e){let n,i;do{for(i of(n=t,e))t=t.replace(i[0],i[1])}while(t!==n);return t},splat:g,stableSort:function(t,e){let n,i,r=t.length;for(i=0;i<r;i++)t[i].safeI=i;for(t.sort((function(t,i){return 0===(n=e(t,i))?t.safeI-i.safeI:n})),i=0;i<r;i++)delete t[i].safeI},syncTimeout:function(t,e,n){return e>0?setTimeout(t,e,n):(t.call(0,n),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:C,useSerialIds:function(t){return e=v(t,e)},wrap:function(t,e,n){let i=t[e];t[e]=function(){let t=arguments,e=this;return n.apply(this,[function(){return i.apply(e,arguments.length?arguments:t)}].concat([].slice.call(arguments)))}}}})),n(e,"Core/Chart/ChartDefaults.js",[],(function(){return{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{},position:{}},reflow:!0,type:"line",zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#334eff",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}})),n(e,"Core/Color/Palettes.js",[],(function(){return{colors:["#2caffe","#544fc5","#00e272","#fe6a35","#6b8abc","#d568fb","#2ee0ca","#fa4b42","#feb56a","#91e8e1"]}})),n(e,"Core/Time.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e){let{win:n}=t,{defined:i,error:r,extend:o,isNumber:s,isObject:a,merge:l,objectEach:c,pad:u,pick:h,splat:d,timeUnits:p}=e,f=t.isSafari&&n.Intl&&n.Intl.DateTimeFormat.prototype.formatRange,g=t.isSafari&&n.Intl&&!n.Intl.DateTimeFormat.prototype.formatRange;class m{constructor(t){this.options={},this.useUTC=!1,this.variableTimezone=!1,this.Date=n.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t)}get(t,e){if(this.variableTimezone||this.timezoneOffset){let n=e.getTime(),i=n-this.getTimezoneOffset(e);e.setTime(i);let r=e["getUTC"+t]();return e.setTime(n),r}return this.useUTC?e["getUTC"+t]():e["get"+t]()}set(t,e,n){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t||"Seconds"===t||"Minutes"===t&&this.getTimezoneOffset(e)%36e5==0)return e["setUTC"+t](n);let i=this.getTimezoneOffset(e),r=e.getTime()-i;e.setTime(r),e["setUTC"+t](n);let o=this.getTimezoneOffset(e);return r=e.getTime()+o,e.setTime(r)}return this.useUTC||f&&"FullYear"===t?e["setUTC"+t](n):e["set"+t](n)}update(t={}){let e=h(t.useUTC,!0);this.options=t=l(!0,this.options,t),this.Date=t.Date||n.Date||Date,this.useUTC=e,this.timezoneOffset=e&&t.timezoneOffset||void 0,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=e&&!(!t.getTimezoneOffset&&!t.timezone)}makeTime(t,e,n,i,r,o){let s,a,l;return this.useUTC?(s=this.Date.UTC.apply(0,arguments),a=this.getTimezoneOffset(s),s+=a,a!==(l=this.getTimezoneOffset(s))?s+=l-a:a-36e5!==this.getTimezoneOffset(s-36e5)||g||(s-=36e5)):s=new this.Date(t,e,h(n,1),h(i,0),h(r,0),h(o,0)).getTime(),s}timezoneOffsetFunction(){let t=this,e=this.options,n=e.getTimezoneOffset;return this.useUTC?e.timezone?t=>{try{let n=`shortOffset,${e.timezone||""}`,[i,r,o,a,l=0]=(m.formatCache[n]=m.formatCache[n]||Intl.DateTimeFormat("en",{timeZone:e.timezone,timeZoneName:"shortOffset"})).format(t).split(/(GMT|:)/).map(Number),c=-36e5*(o+l/60);if(s(c))return c}catch{r(34)}return 0}:this.useUTC&&n?t=>6e4*n(t.valueOf()):()=>6e4*(t.timezoneOffset||0):t=>6e4*new Date(t.toString()).getTimezoneOffset()}dateFormat(e,n,r){if(!i(n)||isNaN(n))return t.defaultOptions.lang&&t.defaultOptions.lang.invalidDate||"";e=h(e,"%Y-%m-%d %H:%M:%S");let s=this,a=new this.Date(n),l=this.get("Hours",a),d=this.get("Day",a),p=this.get("Date",a),f=this.get("Month",a),g=this.get("FullYear",a),m=t.defaultOptions.lang,v=m&&m.weekdays,y=m&&m.shortWeekdays;return c(o({a:y?y[d]:v[d].substr(0,3),A:v[d],d:u(p),e:u(p,2," "),w:d,b:m.shortMonths[f],B:m.months[f],m:u(f+1),o:f+1,y:g.toString().substr(2,2),Y:g,H:u(l),k:l,I:u(l%12||12),l:l%12||12,M:u(this.get("Minutes",a)),p:l<12?"AM":"PM",P:l<12?"am":"pm",S:u(this.get("Seconds",a)),L:u(Math.floor(n%1e3),3)},t.dateFormats),(function(t,i){for(;-1!==e.indexOf("%"+i);)e=e.replace("%"+i,"function"==typeof t?t.call(s,n):t)})),r?e.substr(0,1).toUpperCase()+e.substr(1):e}resolveDTLFormat(t){return a(t,!0)?t:{main:(t=d(t))[0],from:t[1],to:t[2]}}getTimeTicks(t,e,n,r){let s,a,l,c,u=this,d=u.Date,f=[],g={},m=new d(e),v=t.unitRange,y=t.count||1;if(r=h(r,1),i(e)){u.set("Milliseconds",m,v>=p.second?0:y*Math.floor(u.get("Milliseconds",m)/y)),v>=p.second&&u.set("Seconds",m,v>=p.minute?0:y*Math.floor(u.get("Seconds",m)/y)),v>=p.minute&&u.set("Minutes",m,v>=p.hour?0:y*Math.floor(u.get("Minutes",m)/y)),v>=p.hour&&u.set("Hours",m,v>=p.day?0:y*Math.floor(u.get("Hours",m)/y)),v>=p.day&&u.set("Date",m,v>=p.month?1:Math.max(1,y*Math.floor(u.get("Date",m)/y))),v>=p.month&&(u.set("Month",m,v>=p.year?0:y*Math.floor(u.get("Month",m)/y)),a=u.get("FullYear",m)),v>=p.year&&(a-=a%y,u.set("FullYear",m,a)),v===p.week&&(c=u.get("Day",m),u.set("Date",m,u.get("Date",m)-c+r+(c<r?-7:0))),a=u.get("FullYear",m);let t=u.get("Month",m),o=u.get("Date",m),h=u.get("Hours",m);e=m.getTime(),(u.variableTimezone||!u.useUTC)&&i(n)&&(l=n-e>4*p.month||u.getTimezoneOffset(e)!==u.getTimezoneOffset(n));let d=m.getTime();for(s=1;d<n;)f.push(d),v===p.year?d=u.makeTime(a+s*y,0):v===p.month?d=u.makeTime(a,t+s*y):!l||v!==p.day&&v!==p.week?l&&v===p.hour&&y>1?d=u.makeTime(a,t,o,h+s*y):d+=v*y:d=u.makeTime(a,t,o+s*y*(v===p.day?1:7)),s++;f.push(d),v<=p.hour&&f.length<1e4&&f.forEach((function(t){t%18e5==0&&"000000000"===u.dateFormat("%H%M%S%L",t)&&(g[t]="day")}))}return f.info=o(t,{higherRanks:g,totalRange:v*y}),f}getDateFormat(t,e,n,i){let r=this.dateFormat("%m-%d %H:%M:%S.%L",e),o="01-01 00:00:00.000",s={millisecond:15,second:12,minute:9,hour:6,day:3},a="millisecond",l=a;for(a in p){if(t===p.week&&+this.dateFormat("%w",e)===n&&r.substr(6)===o.substr(6)){a="week";break}if(p[a]>t){a=l;break}if(s[a]&&r.substr(s[a])!==o.substr(s[a]))break;"week"!==a&&(l=a)}return this.resolveDTLFormat(i[a]).main}}return m.formatCache={},m})),n(e,"Core/Defaults.js",[e["Core/Chart/ChartDefaults.js"],e["Core/Globals.js"],e["Core/Color/Palettes.js"],e["Core/Time.js"],e["Core/Utilities.js"]],(function(t,e,n,i,r){let{isTouchDevice:o}=e,{fireEvent:s,merge:a}=r,l={colors:n.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],decimalPoint:".",numericSymbols:["k","M","G","T","P","E"],resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{buttonTheme:{fill:"#f7f7f7",padding:8,r:2,stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontSize:"0.8em",fontWeight:"normal"},states:{hover:{fill:"#e6e6e6"},select:{fill:"#e6e9ff",style:{color:"#000000",fontWeight:"bold"}},disabled:{style:{color:"#cccccc"}}}}},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{style:{color:"#333333",fontWeight:"bold"},text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{style:{color:"#666666",fontSize:"0.8em"},text:"",align:"center",widthAdjust:-44},caption:{margin:15,style:{color:"#666666",fontSize:"0.8em"},text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",events:{},layout:"horizontal",itemMarginBottom:2,itemMarginTop:2,labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{style:{fontSize:"0.8em"},activeColor:"#0022ff",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"0.8em",textDecoration:"none",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#666666",textDecoration:"line-through"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontSize:"0.8em",fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:{duration:300,easing:t=>Math.sqrt(1-Math.pow(t-1,2))},borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %e %b, %H:%M:%S.%L",second:"%A, %e %b, %H:%M:%S",minute:"%A, %e %b, %H:%M",hour:"%A, %e %b, %H:%M",day:"%A, %e %b %Y",week:"Week from %A, %e %b %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:o?25:10,headerFormat:'<span style="font-size: 0.8em">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:"#ffffff",borderWidth:void 0,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"0.8em"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"0.6em"},text:"Highcharts.com"}};l.chart.styledMode=!1;let c=new i(l.time);return{defaultOptions:l,defaultTime:c,getOptions:function(){return l},setOptions:function(t){return s(e,"setOptions",{options:t}),a(!0,l,t),(t.time||t.global)&&(e.time?e.time.update(a(l.global,l.time,t.global,t.time)):e.time=c),l}}})),n(e,"Core/Color/Color.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e){let{isNumber:n,merge:i,pInt:r}=e;class o{static parse(t){return t?new o(t):o.None}constructor(e){let n,i,r,s;this.rgba=[NaN,NaN,NaN,NaN],this.input=e;let a=t.Color;if(a&&a!==o)return new a(e);if("object"==typeof e&&void 0!==e.stops)this.stops=e.stops.map((t=>new o(t[1])));else if("string"==typeof e){if(this.input=e=o.names[e.toLowerCase()]||e,"#"===e.charAt(0)){let t=e.length,n=parseInt(e.substr(1),16);7===t?i=[(16711680&n)>>16,(65280&n)>>8,255&n,1]:4===t&&(i=[(3840&n)>>4|(3840&n)>>8,(240&n)>>4|240&n,(15&n)<<4|15&n,1])}if(!i)for(r=o.parsers.length;r--&&!i;)(n=(s=o.parsers[r]).regex.exec(e))&&(i=s.parse(n))}i&&(this.rgba=i)}get(t){let e=this.input,r=this.rgba;if("object"==typeof e&&void 0!==this.stops){let n=i(e);return n.stops=[].slice.call(n.stops),this.stops.forEach(((e,i)=>{n.stops[i]=[n.stops[i][0],e.get(t)]})),n}return r&&n(r[0])?"rgb"===t||!t&&1===r[3]?"rgb("+r[0]+","+r[1]+","+r[2]+")":"a"===t?`${r[3]}`:"rgba("+r.join(",")+")":e}brighten(t){let e=this.rgba;if(this.stops)this.stops.forEach((function(e){e.brighten(t)}));else if(n(t)&&0!==t)for(let n=0;n<3;n++)e[n]+=r(255*t),e[n]<0&&(e[n]=0),e[n]>255&&(e[n]=255);return this}setOpacity(t){return this.rgba[3]=t,this}tweenTo(t,e){let i=this.rgba,r=t.rgba;if(!n(i[0])||!n(r[0]))return t.input||"none";let o=1!==r[3]||1!==i[3];return(o?"rgba(":"rgb(")+Math.round(r[0]+(i[0]-r[0])*(1-e))+","+Math.round(r[1]+(i[1]-r[1])*(1-e))+","+Math.round(r[2]+(i[2]-r[2])*(1-e))+(o?","+(r[3]+(i[3]-r[3])*(1-e)):"")+")"}}return o.names={white:"#ffffff",black:"#000000"},o.parsers=[{regex:/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?(?:\.\d+)?)\s*\)/,parse:function(t){return[r(t[1]),r(t[2]),r(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,parse:function(t){return[r(t[1]),r(t[2]),r(t[3]),1]}}],o.None=new o(""),o})),n(e,"Core/Animation/Fx.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,n){let{parse:i}=t,{win:r}=e,{isNumber:o,objectEach:s}=n;class a{constructor(t,e,n){this.pos=NaN,this.options=e,this.elem=t,this.prop=n}dSetter(){let t=this.paths,e=t&&t[0],n=t&&t[1],i=this.now||0,r=[];if(1!==i&&e&&n)if(e.length===n.length&&i<1)for(let t=0;t<n.length;t++){let s=e[t],a=n[t],l=[];for(let t=0;t<a.length;t++){let e=s[t],n=a[t];o(e)&&o(n)&&("A"!==a[0]||4!==t&&5!==t)?l[t]=e+i*(n-e):l[t]=n}r.push(l)}else r=n;else r=this.toD||[];this.elem.attr("d",r,void 0,!0)}update(){let t=this.elem,e=this.prop,n=this.now,i=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,n,null,!0):t.style[e]=n+this.unit,i&&i.call(t,n,this)}run(t,e,n){let i=this,o=i.options,s=function(t){return!s.stopped&&i.step(t)},l=r.requestAnimationFrame||function(t){setTimeout(t,13)},c=function(){for(let t=0;t<a.timers.length;t++)a.timers[t]()||a.timers.splice(t--,1);a.timers.length&&l(c)};t!==e||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=t,this.end=e,this.unit=n,this.now=this.start,this.pos=0,s.elem=this.elem,s.prop=this.prop,s()&&1===a.timers.push(s)&&l(c)):(delete o.curAnim[this.prop],o.complete&&0===Object.keys(o.curAnim).length&&o.complete.call(this.elem))}step(t){let e,n,i=+new Date,r=this.options,o=this.elem,a=r.complete,l=r.duration,c=r.curAnim;return o.attr&&!o.element?e=!1:t||i>=l+this.startTime?(this.now=this.end,this.pos=1,this.update(),c[this.prop]=!0,n=!0,s(c,(function(t){!0!==t&&(n=!1)})),n&&a&&a.call(o),e=!1):(this.pos=r.easing((i-this.startTime)/l),this.now=this.start+(this.end-this.start)*this.pos,this.update(),e=!0),e}initPath(t,e,n){let i,r,s,a,l=t.startX,c=t.endX,u=n.slice(),h=t.isArea,d=h?2:1,p=e&&n.length>e.length&&n.hasStackedCliffs,f=e&&e.slice();if(!f||p)return[u,u];function g(t,e){for(;t.length<r;){let n=t[0],i=e[r-t.length];if(i&&"M"===n[0]&&("C"===i[0]?t[0]=["C",n[1],n[2],n[1],n[2],n[1],n[2]]:t[0]=["L",n[1],n[2]]),t.unshift(n),h){let e=t.pop();t.push(t[t.length-1],e)}}}function m(t){for(;t.length<r;){let e=t[Math.floor(t.length/d)-1].slice();if("C"===e[0]&&(e[1]=e[5],e[2]=e[6]),h){let n=t[Math.floor(t.length/d)].slice();t.splice(t.length/2,0,e,n)}else t.push(e)}}if(l&&c&&c.length){for(s=0;s<l.length;s++){if(l[s]===c[0]){i=s;break}if(l[0]===c[c.length-l.length+s]){i=s,a=!0;break}if(l[l.length-1]===c[c.length-l.length+s]){i=l.length-s;break}}void 0===i&&(f=[])}return f.length&&o(i)&&(r=u.length+i*d,a?(g(f,u),m(u)):(g(u,f),m(f))),[f,u]}fillSetter(){a.prototype.strokeSetter.apply(this,arguments)}strokeSetter(){this.elem.attr(this.prop,i(this.start).tweenTo(i(this.end),this.pos),void 0,!0)}}return a.timers=[],a})),n(e,"Core/Animation/AnimationUtilities.js",[e["Core/Animation/Fx.js"],e["Core/Utilities.js"]],(function(t,e){let{defined:n,getStyle:i,isArray:r,isNumber:o,isObject:s,merge:a,objectEach:l,pick:c}=e;function u(t){return s(t)?a({duration:500,defer:0},t):{duration:t?500:0,defer:0}}function h(e,n){let i=t.timers.length;for(;i--;)t.timers[i].elem!==e||n&&n!==t.timers[i].prop||(t.timers[i].stopped=!0)}return{animate:function(e,n,c){let u,d,p,f,g="";s(c)||(f=arguments,c={duration:f[2],easing:f[3],complete:f[4]}),o(c.duration)||(c.duration=400),c.easing="function"==typeof c.easing?c.easing:Math[c.easing]||Math.easeInOutSine,c.curAnim=a(n),l(n,(function(o,s){h(e,s),p=new t(e,c,s),d=void 0,"d"===s&&r(n.d)?(p.paths=p.initPath(e,e.pathArray,n.d),p.toD=n.d,u=0,d=1):e.attr?u=e.attr(s):(u=parseFloat(i(e,s))||0,"opacity"!==s&&(g="px")),d||(d=o),"string"==typeof d&&d.match("px")&&(d=d.replace(/px/g,"")),p.run(u,d,g)}))},animObject:u,getDeferredAnimation:function(t,e,i){let r=u(e),o=i?[i]:t.series,a=0,l=0;return o.forEach((t=>{let i=u(t.options.animation);a=s(e)&&n(e.defer)?r.defer:Math.max(a,i.duration+i.defer),l=Math.min(r.duration,i.duration)})),t.renderer.forExport&&(a=0),{defer:Math.max(0,a-l),duration:Math.min(a,l)}},setAnimation:function(t,e){e.renderer.globalAnimation=c(t,e.options.chart.animation,!0)},stop:h}})),n(e,"Core/Renderer/HTML/AST.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e){let{SVG_NS:n,win:i}=t,{attr:r,createElement:o,css:s,error:a,isFunction:l,isString:c,objectEach:u,splat:h}=e,{trustedTypes:d}=i,p=d&&l(d.createPolicy)&&d.createPolicy("highcharts",{createHTML:t=>t}),f=p?p.createHTML(""):"",g=function(){try{return!!(new DOMParser).parseFromString(f,"text/html")}catch{return!1}}();class m{static filterUserAttributes(t){return u(t,((e,n)=>{let i=!0;-1===m.allowedAttributes.indexOf(n)&&(i=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(n)&&(i=c(e)&&m.allowedReferences.some((t=>0===e.indexOf(t)))),i||(a(33,!1,void 0,{"Invalid attribute in config":`${n}`}),delete t[n]),c(e)&&t[n]&&(t[n]=e.replace(/</g,"<"))})),t}static parseStyle(t){return t.split(";").reduce(((t,e)=>{let n=e.split(":").map((t=>t.trim())),i=n.shift();return i&&n.length&&(t[i.replace(/-([a-z])/g,(t=>t[1].toUpperCase()))]=n.join(":")),t}),{})}static setElementHTML(t,e){t.innerHTML=m.emptyHTML,e&&new m(e).addToDOM(t)}constructor(t){this.nodes="string"==typeof t?this.parseMarkup(t):t}addToDOM(e){return function e(i,o){let l;return h(i).forEach((function(i){let c,h=i.tagName,d=i.textContent?t.doc.createTextNode(i.textContent):void 0,p=m.bypassHTMLFiltering;if(h)if("#text"===h)c=d;else if(-1!==m.allowedTags.indexOf(h)||p){let a="svg"===h?n:o.namespaceURI||n,l=t.doc.createElementNS(a,h),f=i.attributes||{};u(i,(function(t,e){"tagName"!==e&&"attributes"!==e&&"children"!==e&&"style"!==e&&"textContent"!==e&&(f[e]=t)})),r(l,p?f:m.filterUserAttributes(f)),i.style&&s(l,i.style),d&&l.appendChild(d),e(i.children||[],l),c=l}else a(33,!1,void 0,{"Invalid tagName in config":h});c&&o.appendChild(c),l=c})),l}(this.nodes,e)}parseMarkup(t){let e,n=[];if(t=t.trim().replace(/ style=(["'])/g," data-style=$1"),g)e=(new DOMParser).parseFromString(p?p.createHTML(t):t,"text/html");else{let n=o("div");n.innerHTML=t,e={body:n}}let i=(t,e)=>{let n=t.nodeName.toLowerCase(),r={tagName:n};"#text"===n&&(r.textContent=t.textContent||"");let o=t.attributes;if(o){let t={};[].forEach.call(o,(e=>{"data-style"===e.name?r.style=m.parseStyle(e.value):t[e.name]=e.value})),r.attributes=t}if(t.childNodes.length){let e=[];[].forEach.call(t.childNodes,(t=>{i(t,e)})),e.length&&(r.children=e)}e.push(r)};return[].forEach.call(e.body.childNodes,(t=>i(t,n))),n}}return m.allowedAttributes=["alt","aria-controls","aria-describedby","aria-expanded","aria-haspopup","aria-hidden","aria-label","aria-labelledby","aria-live","aria-pressed","aria-readonly","aria-roledescription","aria-selected","class","clip-path","color","colspan","cx","cy","d","dx","dy","disabled","fill","filterUnits","flood-color","flood-opacity","height","href","id","in","in2","markerHeight","markerWidth","offset","opacity","operator","orient","padding","paddingLeft","paddingRight","patternUnits","r","radius","refX","refY","role","scope","slope","src","startOffset","stdDeviation","stroke","stroke-linecap","stroke-width","style","tableValues","result","rowspan","summary","target","tabindex","text-align","text-anchor","textAnchor","textLength","title","type","valign","width","x","x1","x2","xlink:href","y","y1","y2","zIndex"],m.allowedReferences=["https://","http://","mailto:","/","../","./","#"],m.allowedTags=["a","abbr","b","br","button","caption","circle","clipPath","code","dd","defs","div","dl","dt","em","feComponentTransfer","feComposite","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMorphology","feOffset","feMerge","feMergeNode","filter","h1","h2","h3","h4","h5","h6","hr","i","img","li","linearGradient","marker","ol","p","path","pattern","pre","rect","small","span","stop","strong","style","sub","sup","svg","table","text","textPath","thead","title","tbody","tspan","td","th","tr","u","ul","#text"],m.emptyHTML=f,m.bypassHTMLFiltering=!1,m})),n(e,"Core/Templating.js",[e["Core/Defaults.js"],e["Core/Utilities.js"]],(function(t,e){let{defaultOptions:n,defaultTime:i}=t,{extend:r,getNestedProperty:o,isArray:s,isNumber:a,isObject:l,pick:c,pInt:u}=e,h={add:(t,e)=>t+e,divide:(t,e)=>0!==e?t/e:"",eq:(t,e)=>t==e,each:function(t){let e=arguments[arguments.length-1];return!!s(t)&&t.map(((n,i)=>d(e.body,r(l(n)?n:{"@this":n},{"@index":i,"@first":0===i,"@last":i===t.length-1})))).join("")},ge:(t,e)=>t>=e,gt:(t,e)=>t>e,if:t=>!!t,le:(t,e)=>t<=e,lt:(t,e)=>t<e,multiply:(t,e)=>t*e,ne:(t,e)=>t!=e,subtract:(t,e)=>t-e,unless:t=>!t};function d(t="",e,r){let s,a,l,u=/\{([\w\:\.\,;\-\/<>%@"'’= #\(\)]+)\}/g,f=/\(([\w\:\.\,;\-\/<>%@"'= ]+)\)/g,g=[],m=/f$/,v=/\.(\d)/,y=n.lang,b=r&&r.time||i,_=r&&r.numberFormatter||p,x=(t="")=>{let n;return"true"===t||"false"!==t&&((n=Number(t)).toString()===t?n:o(t,e))},w=0;for(;null!==(s=u.exec(t));){let n=f.exec(s[1]);n&&(s=n,l=!0),a&&a.isBlock||(a={ctx:e,expression:s[1],find:s[0],isBlock:"#"===s[1].charAt(0),start:s.index,startInner:s.index+s[0].length,length:s[0].length});let i=s[1].split(" ")[0].replace("#","");h[i]&&(a.isBlock&&i===a.fn&&w++,a.fn||(a.fn=i));let r="else"===s[1];if(a.isBlock&&a.fn&&(s[1]===`/${a.fn}`||r))if(w)!r&&w--;else{let e=a.startInner,n=t.substr(e,s.index-e);void 0===a.body?(a.body=n,a.startInner=s.index+s[0].length):a.elseBody=n,a.find+=n+s[0],r||(g.push(a),a=void 0)}else a.isBlock||g.push(a);if(n&&(null==a||!a.isBlock))break}return g.forEach((n=>{let i,o,{body:s,elseBody:a,expression:l,fn:u}=n;if(u){let t=[n],c=l.split(" ");for(o=h[u].length;o--;)t.unshift(x(c[o+1]));i=h[u].apply(e,t),n.isBlock&&"boolean"==typeof i&&(i=d(i?s:a,e,r))}else{let t=l.split(":");if(i=x(t.shift()||""),t.length&&"number"==typeof i){let e=t.join(":");if(m.test(e)){let t=parseInt((e.match(v)||["","-1"])[1],10);null!==i&&(i=_(i,t,y.decimalPoint,e.indexOf(",")>-1?y.thousandsSep:""))}else i=b.dateFormat(e,i)}}t=t.replace(n.find,c(i,""))})),l?d(t,e,r):t}function p(t,e,i,r){let o,s;t=+t||0,e=+e;let l=n.lang,h=(t.toString().split(".")[1]||"").split("e")[0].length,d=t.toString().split("e"),p=e;-1===e?e=Math.min(h,20):a(e)?e&&d[1]&&d[1]<0&&((s=e+ +d[1])>=0?(d[0]=(+d[0]).toExponential(s).split("e")[0],e=s):(d[0]=d[0].split(".")[0]||0,t=e<20?(d[0]*Math.pow(10,d[1])).toFixed(e):0,d[1]=0)):e=2;let f=(Math.abs(d[1]?d[0]:t)+Math.pow(10,-Math.max(e,h)-1)).toFixed(e),g=String(u(f)),m=g.length>3?g.length%3:0;return i=c(i,l.decimalPoint),r=c(r,l.thousandsSep),o=(t<0?"-":"")+(m?g.substr(0,m)+r:""),0>+d[1]&&!p?o="0":o+=g.substr(m).replace(/(\d{3})(?=\d)/g,"$1"+r),e?o+=i+f.slice(-e):0==+o&&(o="0"),d[1]&&0!=+o&&(o+="e"+d[1]),o}return{dateFormat:function(t,e,n){return i.dateFormat(t,e,n)},format:d,helpers:h,numberFormat:p}})),n(e,"Core/Renderer/RendererRegistry.js",[e["Core/Globals.js"]],(function(t){var e,n;let i;return(n=e||(e={})).rendererTypes={},n.getRendererType=function(t=i){return n.rendererTypes[t]||n.rendererTypes[i]},n.registerRendererType=function(e,r,o){n.rendererTypes[e]=r,(!i||o)&&(i=e,t.Renderer=r)},e})),n(e,"Core/Renderer/RendererUtilities.js",[e["Core/Utilities.js"]],(function(t){var e;let{clamp:n,pick:i,pushUnique:r,stableSort:o}=t;return(e||(e={})).distribute=function t(e,s,a){let l,c,u,h,d,p,f=e,g=f.reducedLen||s,m=(t,e)=>t.target-e.target,v=[],y=e.length,b=[],_=v.push,x=!0,w=0;for(l=y;l--;)w+=e[l].size;if(w>g){for(o(e,((t,e)=>(e.rank||0)-(t.rank||0))),u=(p=e[0].rank===e[e.length-1].rank)?y/2:-1,c=p?u:y-1;u&&w>g;)h=e[l=Math.floor(c)],r(b,l)&&(w-=h.size),c+=u,p&&c>=e.length&&(u/=2,c=u);b.sort(((t,e)=>e-t)).forEach((t=>_.apply(v,e.splice(t,1))))}for(o(e,m),e=e.map((t=>({size:t.size,targets:[t.target],align:i(t.align,.5)})));x;){for(l=e.length;l--;)h=e[l],d=(Math.min.apply(0,h.targets)+Math.max.apply(0,h.targets))/2,h.pos=n(d-h.size*h.align,0,s-h.size);for(l=e.length,x=!1;l--;)l>0&&e[l-1].pos+e[l-1].size>e[l].pos&&(e[l-1].size+=e[l].size,e[l-1].targets=e[l-1].targets.concat(e[l].targets),e[l-1].align=.5,e[l-1].pos+e[l-1].size>s&&(e[l-1].pos=s-e[l-1].size),e.splice(l,1),x=!0)}return _.apply(f,v),l=0,e.some((e=>{let n=0;return(e.targets||[]).some((()=>(f[l].pos=e.pos+n,void 0!==a&&Math.abs(f[l].pos-f[l].target)>a?(f.slice(0,l+1).forEach((t=>delete t.pos)),f.reducedLen=(f.reducedLen||s)-.1*s,f.reducedLen>.1*s&&t(f,s,a),!0):(n+=f[l].size,l++,!1))))})),o(f,m),f},e})),n(e,"Core/Renderer/SVG/SVGElement.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,n,i){let{animate:r,animObject:o,stop:s}=t,{deg2rad:a,doc:l,svg:c,SVG_NS:u,win:h}=n,{addEvent:d,attr:p,createElement:f,crisp:g,css:m,defined:v,erase:y,extend:b,fireEvent:_,isArray:x,isFunction:w,isObject:S,isString:k,merge:C,objectEach:A,pick:O,pInt:T,pushUnique:E,replaceNested:P,syncTimeout:M,uniqueKey:L}=i;class j{_defaultGetter(t){let e=O(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0);return/^-?[\d\.]+$/.test(e)&&(e=parseFloat(e)),e}_defaultSetter(t,e,n){n.setAttribute(e,t)}add(t){let e,n=this.renderer,i=this.element;return t&&(this.parentGroup=t),void 0!==this.textStr&&"text"===this.element.nodeName&&n.buildText(this),this.added=!0,(!t||t.handleZ||this.zIndex)&&(e=this.zIndexSetter()),e||(t?t.element:n.box).appendChild(i),this.onAdd&&this.onAdd(),this}addClass(t,e){let n=e?"":this.attr("class")||"";return(t=(t||"").split(/ /g).reduce((function(t,e){return-1===n.indexOf(e)&&t.push(e),t}),n?[n]:[]).join(" "))!==n&&this.attr("class",t),this}afterSetters(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)}align(t,e,n,i=!0){let r,o,s,a,l={},c=this.renderer,u=c.alignedObjects,h=!!t;t?(this.alignOptions=t,this.alignByTranslate=e,this.alignTo=n):(t=this.alignOptions||{},e=this.alignByTranslate,n=this.alignTo);let d=!n||k(n)?n||"renderer":void 0;d&&(h&&E(u,this),n=void 0);let p=O(n,c[d],c),f=t.align,g=t.verticalAlign;return r=(p.x||0)+(t.x||0),o=(p.y||0)+(t.y||0),"right"===f?s=1:"center"===f&&(s=2),s&&(r+=((p.width||0)-(t.width||0))/s),l[e?"translateX":"x"]=Math.round(r),"bottom"===g?a=1:"middle"===g&&(a=2),a&&(o+=((p.height||0)-(t.height||0))/a),l[e?"translateY":"y"]=Math.round(o),i&&(this[this.placed?"animate":"attr"](l),this.placed=!0),this.alignAttr=l,this}alignSetter(t){let e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))}animate(t,e,n){let i=o(O(e,this.renderer.globalAnimation,!0)),s=i.defer;return l.hidden&&(i.duration=0),0!==i.duration?(n&&(i.complete=n),M((()=>{this.element&&r(this,t,i)}),s)):(this.attr(t,void 0,n||i.complete),A(t,(function(t,e){i.step&&i.step.call(this,t,{prop:e,pos:1,elem:this})}),this)),this}applyTextOutline(t){let e=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(e.style.fill)));let i=t.split(" "),r=i[i.length-1],o=i[0];if(o&&"none"!==o&&n.svg){this.fakeTS=!0,o=o.replace(/(^[\d\.]+)(.*?)$/g,(function(t,e,n){return 2*Number(e)+n})),this.removeTextOutline();let t=l.createElementNS(u,"tspan");p(t,{class:"highcharts-text-outline",fill:r,stroke:r,"stroke-width":o,"stroke-linejoin":"round"});let n=e.querySelector("textPath")||e;[].forEach.call(n.childNodes,(e=>{let n=e.cloneNode(!0);n.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((t=>n.removeAttribute(t))),t.appendChild(n)}));let i=0;[].forEach.call(n.querySelectorAll("text tspan"),(t=>{i+=Number(t.getAttribute("dy"))}));let s=l.createElementNS(u,"tspan");s.textContent="",p(s,{x:Number(e.getAttribute("x")),dy:-i}),t.appendChild(s),n.insertBefore(t,n.firstChild)}}attr(t,e,n,i){let r,o,a,{element:l}=this,c=j.symbolCustomAttribs,u=this;return"string"==typeof t&&void 0!==e&&(r=t,(t={})[r]=e),"string"==typeof t?u=(this[t+"Getter"]||this._defaultGetter).call(this,t,l):(A(t,(function(e,n){a=!1,i||s(this,n),this.symbolName&&-1!==c.indexOf(n)&&(o||(this.symbolAttr(t),o=!0),a=!0),this.rotation&&("x"===n||"y"===n)&&(this.doTransform=!0),a||(this[n+"Setter"]||this._defaultSetter).call(this,e,n,l)}),this),this.afterSetters()),n&&n.call(this),u}clip(t){if(t&&!t.clipPath){let e=L()+"-",n=this.renderer.createElement("clipPath").attr({id:e}).add(this.renderer.defs);b(t,{clipPath:n,id:e,count:0}),t.add(n)}return this.attr("clip-path",t?`url(${this.renderer.url}#${t.id})`:"none")}crisp(t,e){e=Math.round(e||t.strokeWidth||0);let n=t.x||this.x||0,i=t.y||this.y||0,r=(t.width||this.width||0)+n,o=(t.height||this.height||0)+i,s=g(n,e),a=g(i,e);return b(t,{x:s,y:a,width:g(r,e)-s,height:g(o,e)-a}),v(t.strokeWidth)&&(t.strokeWidth=e),t}complexColor(t,n,i){let r,o,s,a,l,c,u,h,d,p,f,g=this.renderer,m=[];_(this.renderer,"complexColor",{args:arguments},(function(){if(t.radialGradient?o="radialGradient":t.linearGradient&&(o="linearGradient"),o){if(s=t[o],l=g.gradients,c=t.stops,d=i.radialReference,x(s)&&(t[o]=s={x1:s[0],y1:s[1],x2:s[2],y2:s[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===o&&d&&!v(s.gradientUnits)&&(a=s,s=C(s,g.getRadialAttr(d,a),{gradientUnits:"userSpaceOnUse"})),A(s,(function(t,e){"id"!==e&&m.push(e,t)})),A(c,(function(t){m.push(t)})),l[m=m.join(",")])p=l[m].attr("id");else{s.id=p=L();let t=l[m]=g.createElement(o).attr(s).add(g.defs);t.radAttr=a,t.stops=[],c.forEach((function(n){0===n[1].indexOf("rgba")?(u=(r=e.parse(n[1])).get("rgb"),h=r.get("a")):(u=n[1],h=1);let i=g.createElement("stop").attr({offset:n[0],"stop-color":u,"stop-opacity":h}).add(t);t.stops.push(i)}))}f="url("+g.url+"#"+p+")",i.setAttribute(n,f),i.gradient=m,t.toString=function(){return f}}}))}css(t){let e,n=this.styles,i={},r=this.element,o=!n;if(n&&A(t,(function(t,e){n&&n[e]!==t&&(i[e]=t,o=!0)})),o){n&&(t=b(n,i)),null===t.width||"auto"===t.width?delete this.textWidth:"text"===r.nodeName.toLowerCase()&&t.width&&(e=this.textWidth=T(t.width)),b(this.styles,t),e&&!c&&this.renderer.forExport&&delete t.width;let o=C(t);r.namespaceURI===this.SVG_NS&&(["textOutline","textOverflow","width"].forEach((t=>o&&delete o[t])),o.color&&(o.fill=o.color)),m(r,o)}return this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t.textOutline&&this.applyTextOutline(t.textOutline)),this}dashstyleSetter(t){let e,n=this["stroke-width"];if("inherit"===n&&(n=1),t=t&&t.toLowerCase()){let i=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(e=i.length;e--;)i[e]=""+T(i[e])*O(n,NaN);t=i.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}}destroy(){var t;let e,n,i=this,r=i.element||{},o=i.renderer,a=r.ownerSVGElement,l="SPAN"===r.nodeName&&i.parentGroup||void 0;if(r.onclick=r.onmouseout=r.onmouseover=r.onmousemove=r.point=null,s(i),i.clipPath&&a){let t=i.clipPath;[].forEach.call(a.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(e){e.getAttribute("clip-path").indexOf(t.element.id)>-1&&e.removeAttribute("clip-path")})),i.clipPath=t.destroy()}if(i.connector=null==(t=i.connector)?void 0:t.destroy(),i.stops){for(n=0;n<i.stops.length;n++)i.stops[n].destroy();i.stops.length=0,i.stops=void 0}for(i.safeRemoveChild(r);l&&l.div&&0===l.div.childNodes.length;)e=l.parentGroup,i.safeRemoveChild(l.div),delete l.div,l=e;i.alignOptions&&y(o.alignedObjects,i),A(i,(function(t,e){i[e]&&i[e].parentGroup===i&&i[e].destroy&&i[e].destroy(),delete i[e]}))}dSetter(t,e,n){x(t)&&("string"==typeof t[0]&&(t=this.renderer.pathToSegments(t)),this.pathArray=t,t=t.reduce(((t,e,n)=>e&&e.join?(n?t+" ":"")+e.join(" "):(e||"").toString()),"")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(n.setAttribute(e,t),this[e]=t)}fillSetter(t,e,n){"string"==typeof t?n.setAttribute(e,t):t&&this.complexColor(t,e,n)}hrefSetter(t,e,n){n.setAttributeNS("http://www.w3.org/1999/xlink",e,t)}getBBox(t,e){let n,i,r,o,{alignValue:s,element:a,renderer:l,styles:c,textStr:u}=this,{cache:h,cacheKeys:d}=l,p=a.namespaceURI===this.SVG_NS,f=O(e,this.rotation,0),g=l.styledMode?a&&j.prototype.getStyle.call(a,"font-size"):c.fontSize;if(v(u)&&(-1===(o=u.toString()).indexOf("<")&&(o=o.replace(/\d/g,"0")),o+=["",l.rootFontSize,g,f,this.textWidth,s,c.textOverflow,c.fontWeight].join(",")),o&&!t&&(n=h[o]),!n||n.polygon){if(p||l.forExport){try{r=this.fakeTS&&function(t){let e=a.querySelector(".highcharts-text-outline");e&&m(e,{display:t})},w(r)&&r("none"),n=a.getBBox?b({},a.getBBox()):{width:a.offsetWidth,height:a.offsetHeight,x:0,y:0},w(r)&&r("")}catch{}(!n||n.width<0)&&(n={x:0,y:0,width:0,height:0})}else n=this.htmlGetBBox();i=n.height,p&&(n.height=i={"11px,17":14,"13px,20":16}[`${g||""},${Math.round(i)}`]||i),f&&(n=this.getRotatedBox(n,f));let t={bBox:n};_(this,"afterGetBBox",t),n=t.bBox}if(o&&(""===u||n.height>0)){for(;d.length>250;)delete h[d.shift()];h[o]||d.push(o),h[o]=n}return n}getRotatedBox(t,e){let{x:n,y:i,width:r,height:o}=t,{alignValue:s,translateY:l,rotationOriginX:c=0,rotationOriginY:u=0}=this,h={right:1,center:.5}[s||0]||0,d=Number(this.element.getAttribute("y")||0)-(l?0:i),p=e*a,f=(e-90)*a,g=Math.cos(p),m=Math.sin(p),v=r*g,y=r*m,b=Math.cos(f),_=Math.sin(f),[[x,w],[S,k]]=[c,u].map((t=>[t-t*g,t*m])),C=n+h*(r-v)+x+k+d*b,A=C+v,O=A-o*b,T=O-v,E=i+d-h*y-w+S+d*_,P=E+y,M=P-o*_,L=M-y,j=Math.min(C,A,O,T),D=Math.min(E,P,M,L);return{x:j,y:D,width:Math.max(C,A,O,T)-j,height:Math.max(E,P,M,L)-D,polygon:[[C,E],[A,P],[O,M],[T,L]]}}getStyle(t){return h.getComputedStyle(this.element||this,"").getPropertyValue(t)}hasClass(t){return-1!==(""+this.attr("class")).split(" ").indexOf(t)}hide(){return this.attr({visibility:"hidden"})}htmlGetBBox(){return{height:0,width:0,x:0,y:0}}constructor(t,e){this.onEvents={},this.opacity=1,this.SVG_NS=u,this.element="span"===e||"body"===e?f(e):l.createElementNS(this.SVG_NS,e),this.renderer=t,this.styles={},_(this,"afterInit")}on(t,e){let{onEvents:n}=this;return n[t]&&n[t](),n[t]=d(this.element,t,e),this}opacitySetter(t,e,n){let i=Number(Number(t).toFixed(3));this.opacity=i,n.setAttribute(e,i)}reAlign(){var t;null!=(t=this.alignOptions)&&t.width&&"left"!==this.alignOptions.align&&(this.alignOptions.width=this.getBBox().width,this.placed=!1,this.align())}removeClass(t){return this.attr("class",(""+this.attr("class")).replace(k(t)?RegExp(`(^| )${t}( |$)`):t," ").replace(/ +/g," ").trim())}removeTextOutline(){let t=this.element.querySelector("tspan.highcharts-text-outline");t&&this.safeRemoveChild(t)}safeRemoveChild(t){let e=t.parentNode;e&&e.removeChild(t)}setRadialReference(t){let e=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this}shadow(t){var e;let{renderer:n}=this,i=C(90===(null==(e=this.parentGroup)?void 0:e.rotation)?{offsetX:-1,offsetY:-1}:{},S(t)?t:{}),r=n.shadowDefinition(i);return this.attr({filter:t?`url(${n.url}#${r})`:"none"})}show(t=!0){return this.attr({visibility:t?"inherit":"visible"})}"stroke-widthSetter"(t,e,n){this[e]=t,n.setAttribute(e,t)}strokeWidth(){if(!this.renderer.styledMode)return this["stroke-width"]||0;let t,e=this.getStyle("stroke-width"),n=0;return/px$/.test(e)?n=T(e):""!==e&&(p(t=l.createElementNS(u,"rect"),{width:e,"stroke-width":0}),this.element.parentNode.appendChild(t),n=t.getBBox().width,t.parentNode.removeChild(t)),n}symbolAttr(t){let e=this;j.symbolCustomAttribs.forEach((function(n){e[n]=O(t[n],e[n])})),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})}textSetter(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this),this.reAlign())}titleSetter(t){let e=this.element,n=e.getElementsByTagName("title")[0]||l.createElementNS(this.SVG_NS,"title");e.insertBefore?e.insertBefore(n,e.firstChild):e.appendChild(n),n.textContent=P(O(t,""),[/<[^>]*>/g,""]).replace(/</g,"<").replace(/>/g,">")}toFront(){let t=this.element;return t.parentNode.appendChild(t),this}translate(t,e){return this.attr({translateX:t,translateY:e})}updateTransform(t="transform"){var e;let{element:n,matrix:i,rotation:r=0,rotationOriginX:o,rotationOriginY:s,scaleX:a,scaleY:l,translateX:c=0,translateY:u=0}=this,h=["translate("+c+","+u+")"];v(i)&&h.push("matrix("+i.join(",")+")"),r&&(h.push("rotate("+r+" "+O(o,n.getAttribute("x"),0)+" "+O(s,n.getAttribute("y")||0)+")"),"SPAN"===(null==(e=this.text)?void 0:e.element.tagName)&&this.text.attr({rotation:r,rotationOriginX:(o||0)-this.padding,rotationOriginY:(s||0)-this.padding})),(v(a)||v(l))&&h.push("scale("+O(a,1)+" "+O(l,1)+")"),h.length&&!(this.text||this).textPath&&n.setAttribute(t,h.join(" "))}visibilitySetter(t,e,n){"inherit"===t?n.removeAttribute(e):this[e]!==t&&n.setAttribute(e,t),this[e]=t}xGetter(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)}zIndexSetter(t,e){let n,i,r,o,s,a=this.renderer,l=this.parentGroup,c=(l||a).element||a.box,u=this.element,h=c===a.box,d=!1,p=this.added;if(v(t)?(u.setAttribute("data-z-index",t),t=+t,this[e]===t&&(p=!1)):v(this[e])&&u.removeAttribute("data-z-index"),this[e]=t,p){for((t=this.zIndex)&&l&&(l.handleZ=!0),s=(n=c.childNodes).length-1;s>=0&&!d;s--)o=!v(r=(i=n[s]).getAttribute("data-z-index")),i!==u&&(t<0&&o&&!h&&!s?(c.insertBefore(u,n[s]),d=!0):(T(r)<=t||o&&(!v(t)||t>=0))&&(c.insertBefore(u,n[s+1]),d=!0));d||(c.insertBefore(u,n[h?3:0]),d=!0)}return d}}return j.symbolCustomAttribs=["anchorX","anchorY","clockwise","end","height","innerR","r","start","width","x","y"],j.prototype.strokeSetter=j.prototype.fillSetter,j.prototype.yGetter=j.prototype.xGetter,j.prototype.matrixSetter=j.prototype.rotationOriginXSetter=j.prototype.rotationOriginYSetter=j.prototype.rotationSetter=j.prototype.scaleXSetter=j.prototype.scaleYSetter=j.prototype.translateXSetter=j.prototype.translateYSetter=j.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},j})),n(e,"Core/Renderer/SVG/SVGLabel.js",[e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],(function(t,e){let{defined:n,extend:i,isNumber:r,merge:o,pick:s,removeEvent:a}=e;class l extends t{constructor(t,e,n,i,r,o,s,a,c,u){let h;super(t,"g"),this.paddingLeftSetter=this.paddingSetter,this.paddingRightSetter=this.paddingSetter,this.doUpdate=!1,this.textStr=e,this.x=n,this.y=i,this.anchorX=o,this.anchorY=s,this.baseline=c,this.className=u,this.addClass("button"===u?"highcharts-no-tooltip":"highcharts-label"),u&&this.addClass("highcharts-"+u),this.text=t.text(void 0,0,0,a).attr({zIndex:1}),"string"==typeof r&&((h=/^url\((.*?)\)$/.test(r))||this.renderer.symbols[r])&&(this.symbolKey=r),this.bBox=l.emptyBBox,this.padding=3,this.baselineOffset=0,this.needsBox=t.styledMode||h,this.deferredAttr={},this.alignFactor=0}alignSetter(t){let e={left:0,center:.5,right:1}[t];e!==this.alignFactor&&(this.alignFactor=e,this.bBox&&r(this.xSetting)&&this.attr({x:this.xSetting}))}anchorXSetter(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)}anchorYSetter(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)}boxAttr(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e}css(e){if(e){let t={};e=o(e),l.textProps.forEach((n=>{void 0!==e[n]&&(t[n]=e[n],delete e[n])})),this.text.css(t),"fontSize"in t||"fontWeight"in t?this.updateTextPadding():("width"in t||"textOverflow"in t)&&this.updateBoxSize()}return t.prototype.css.call(this,e)}destroy(){a(this.element,"mouseenter"),a(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)}fillSetter(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)}getBBox(t,e){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();let{padding:n,height:i=0,translateX:r=0,translateY:o=0,width:a=0}=this,l=s(this.paddingLeft,n),c=e??(this.rotation||0),u={width:a,height:i,x:r+this.bBox.x-l,y:o+this.bBox.y-n+this.baselineOffset};return c&&(u=this.getRotatedBox(u,c)),u}getCrispAdjust(){return(this.renderer.styledMode&&this.box?this.box.strokeWidth():this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2}heightSetter(t){this.heightSetting=t,this.doUpdate=!0}afterSetters(){super.afterSetters(),this.doUpdate&&(this.updateBoxSize(),this.doUpdate=!1)}onAdd(){this.text.add(this),this.attr({text:s(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&n(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})}paddingSetter(t,e){r(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0}rSetter(t,e){this.boxAttr(e,t)}strokeSetter(t,e){this.stroke=t,this.boxAttr(e,t)}"stroke-widthSetter"(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)}"text-alignSetter"(t){this.textAlign=t}textSetter(t){void 0!==t&&this.text.attr({text:t}),this.updateTextPadding(),this.reAlign()}updateBoxSize(){let t,e=this.text,o={},s=this.padding,a=this.bBox=r(this.widthSetting)&&r(this.heightSetting)&&!this.textAlign||!n(e.textStr)?l.emptyBBox:e.getBBox(void 0,0);this.width=this.getPaddedWidth(),this.height=(this.heightSetting||a.height||0)+2*s;let c=this.renderer.fontMetrics(e);if(this.baselineOffset=s+Math.min((this.text.firstLineMetrics||c).b,a.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-c.h)/2),this.needsBox&&!e.textPath){if(!this.box){let t=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect();t.addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),t.add(this)}t=this.getCrispAdjust(),o.x=t,o.y=(this.baseline?-this.baselineOffset:0)+t,o.width=Math.round(this.width),o.height=Math.round(this.height),this.box.attr(i(o,this.deferredAttr)),this.deferredAttr={}}}updateTextPadding(){let t=this.text;if(!t.textPath){this.updateBoxSize();let e=this.baseline?0:this.baselineOffset,i=s(this.paddingLeft,this.padding);n(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(i+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),(i!==t.x||e!==t.y)&&(t.attr("x",i),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0)),void 0!==e&&t.attr("y",e)),t.x=i,t.y=e}}widthSetter(t){this.widthSetting=r(t)?t:void 0,this.doUpdate=!0}getPaddedWidth(){let t=this.padding,e=s(this.paddingLeft,t),n=s(this.paddingRight,t);return(this.widthSetting||this.bBox.width||0)+e+n}xSetter(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)}ySetter(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)}}return l.emptyBBox={width:0,height:0,x:0,y:0},l.textProps=["color","direction","fontFamily","fontSize","fontStyle","fontWeight","lineHeight","textAlign","textDecoration","textOutline","textOverflow","whiteSpace","width"],l})),n(e,"Core/Renderer/SVG/Symbols.js",[e["Core/Utilities.js"]],(function(t){let{defined:e,isNumber:n,pick:i}=t;function r(t,n,r,o,s){let a=[];if(s){let l=s.start||0,c=i(s.r,r),u=i(s.r,o||r),h=2e-4/Math.max(c,1),d=Math.abs((s.end||0)-l-2*Math.PI)<h,p=(s.end||0)-h,f=s.innerR,g=i(s.open,d),m=Math.cos(l),v=Math.sin(l),y=Math.cos(p),b=Math.sin(p),_=i(s.longArc,p-l-Math.PI<h?0:1),x=["A",c,u,0,_,i(s.clockwise,1),t+c*y,n+u*b];x.params={start:l,end:p,cx:t,cy:n},a.push(["M",t+c*m,n+u*v],x),e(f)&&((x=["A",f,f,0,_,e(s.clockwise)?1-s.clockwise:0,t+f*m,n+f*v]).params={start:p,end:l,cx:t,cy:n},a.push(g?["M",t+f*y,n+f*b]:["L",t+f*y,n+f*b],x)),g||a.push(["Z"])}return a}function o(t,e,n,i,r){return r&&r.r?s(t,e,n,i,r):[["M",t,e],["L",t+n,e],["L",t+n,e+i],["L",t,e+i],["Z"]]}function s(t,e,n,i,r){let o=(null==r?void 0:r.r)||0;return[["M",t+o,e],["L",t+n-o,e],["A",o,o,0,0,1,t+n,e+o],["L",t+n,e+i-o],["A",o,o,0,0,1,t+n-o,e+i],["L",t+o,e+i],["A",o,o,0,0,1,t,e+i-o],["L",t,e+o],["A",o,o,0,0,1,t+o,e],["Z"]]}return{arc:r,callout:function(t,e,i,r,o){let a=Math.min(o&&o.r||0,i,r),l=a+6,c=o&&o.anchorX,u=o&&o.anchorY||0,h=s(t,e,i,r,{r:a});if(!n(c)||c<i&&c>0&&u<r&&u>0)return h;if(t+c>i-l)if(u>e+l&&u<e+r-l)h.splice(3,1,["L",t+i,u-6],["L",t+i+6,u],["L",t+i,u+6],["L",t+i,e+r-a]);else if(c<i){let n=u<e+l,o=n?e:e+r;h.splice(n?2:5,0,["L",c,u],["L",t+i-a,o])}else h.splice(3,1,["L",t+i,r/2],["L",c,u],["L",t+i,r/2],["L",t+i,e+r-a]);else if(t+c<l)if(u>e+l&&u<e+r-l)h.splice(7,1,["L",t,u+6],["L",t-6,u],["L",t,u-6],["L",t,e+a]);else if(c>0){let n=u<e+l,i=n?e:e+r;h.splice(n?1:6,0,["L",c,u],["L",t+a,i])}else h.splice(7,1,["L",t,r/2],["L",c,u],["L",t,r/2],["L",t,e+a]);else u>r&&c<i-l?h.splice(5,1,["L",c+6,e+r],["L",c,e+r+6],["L",c-6,e+r],["L",t+a,e+r]):u<0&&c>l&&h.splice(1,1,["L",c-6,e],["L",c,e-6],["L",c+6,e],["L",i-a,e]);return h},circle:function(t,e,n,i){return r(t+n/2,e+i/2,n/2,i/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(t,e,n,i){return[["M",t+n/2,e],["L",t+n,e+i/2],["L",t+n/2,e+i],["L",t,e+i/2],["Z"]]},rect:o,roundedRect:s,square:o,triangle:function(t,e,n,i){return[["M",t+n/2,e],["L",t+n,e+i],["L",t,e+i],["Z"]]},"triangle-down":function(t,e,n,i){return[["M",t,e],["L",t+n,e],["L",t+n/2,e+i],["Z"]]}}})),n(e,"Core/Renderer/SVG/TextBuilder.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,n){let{doc:i,SVG_NS:r,win:o}=e,{attr:s,extend:a,fireEvent:l,isString:c,objectEach:u,pick:h}=n;return class{constructor(t){let e=t.styles;this.renderer=t.renderer,this.svgElement=t,this.width=t.textWidth,this.textLineHeight=e&&e.lineHeight,this.textOutline=e&&e.textOutline,this.ellipsis=!(!e||"ellipsis"!==e.textOverflow),this.noWrap=!(!e||"nowrap"!==e.whiteSpace)}buildSVG(){let e=this.svgElement,n=e.element,r=e.renderer,o=h(e.textStr,"").toString(),s=-1!==o.indexOf("<"),a=n.childNodes,l=!e.added&&r.box,u=[o,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,e.getStyle("font-size"),this.width].join(",");if(u!==e.textCache){e.textCache=u,delete e.actualWidth;for(let t=a.length;t--;)n.removeChild(a[t]);if(s||this.ellipsis||this.width||e.textPath||-1!==o.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(o))){if(""!==o){l&&l.appendChild(n);let i=new t(o);this.modifyTree(i.nodes),i.addToDOM(n),this.modifyDOM(),this.ellipsis&&-1!==(n.textContent||"").indexOf("…")&&e.attr("title",this.unescapeEntities(e.textStr||"",["<",">"])),l&&l.removeChild(n)}}else n.appendChild(i.createTextNode(this.unescapeEntities(o)));c(this.textOutline)&&e.applyTextOutline&&e.applyTextOutline(this.textOutline)}}modifyDOM(){let t,e=this.svgElement,n=s(e.element,"x");for(e.firstLineMetrics=void 0;(t=e.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)e.element.removeChild(t);[].forEach.call(e.element.querySelectorAll("tspan.highcharts-br"),((t,i)=>{t.nextSibling&&t.previousSibling&&(0===i&&1===t.previousSibling.nodeType&&(e.firstLineMetrics=e.renderer.fontMetrics(t.previousSibling)),s(t,{dy:this.getLineHeight(t.nextSibling),x:n}))}));let a=this.width||0;if(!a)return;let l=(t,o)=>{let l=t.textContent||"",c=l.replace(/([^\^])-/g,"$1- ").split(" "),u=!this.noWrap&&(c.length>1||e.element.childNodes.length>1),h=this.getLineHeight(o),d=0,p=e.actualWidth;if(this.ellipsis)l&&this.truncate(t,l,void 0,0,Math.max(0,a-.8*h),((t,e)=>t.substring(0,e)+"…"));else if(u){let l=[],u=[];for(;o.firstChild&&o.firstChild!==t;)u.push(o.firstChild),o.removeChild(o.firstChild);for(;c.length;)c.length&&!this.noWrap&&d>0&&(l.push(t.textContent||""),t.textContent=c.join(" ").replace(/- /g,"-")),this.truncate(t,void 0,c,0===d&&p||0,a,((t,e)=>c.slice(0,e).join(" ").replace(/- /g,"-"))),p=e.actualWidth,d++;u.forEach((e=>{o.insertBefore(e,t)})),l.forEach((e=>{o.insertBefore(i.createTextNode(e),t);let a=i.createElementNS(r,"tspan");a.textContent="",s(a,{dy:h,x:n}),o.insertBefore(a,t)}))}},c=t=>{[].slice.call(t.childNodes).forEach((n=>{n.nodeType===o.Node.TEXT_NODE?l(n,t):(-1!==n.className.baseVal.indexOf("highcharts-br")&&(e.actualWidth=0),c(n))}))};c(e.element)}getLineHeight(t){let e=t.nodeType===o.Node.TEXT_NODE?t.parentElement:t;return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e||this.svgElement.element).h}modifyTree(t){let e=(n,i)=>{let{attributes:r={},children:o,style:s={},tagName:l}=n,c=this.renderer.styledMode;if("b"===l||"strong"===l?c?r.class="highcharts-strong":s.fontWeight="bold":("i"===l||"em"===l)&&(c?r.class="highcharts-emphasized":s.fontStyle="italic"),s&&s.color&&(s.fill=s.color),"br"===l){r.class="highcharts-br",n.textContent="";let e=t[i+1];e&&e.textContent&&(e.textContent=e.textContent.replace(/^ +/gm,""))}else"a"===l&&o&&o.some((t=>"#text"===t.tagName))&&(n.children=[{children:o,tagName:"tspan"}]);"#text"!==l&&"a"!==l&&(n.tagName="tspan"),a(n,{attributes:r,style:s}),o&&o.filter((t=>"#text"!==t.tagName)).forEach(e)};t.forEach(e),l(this.svgElement,"afterModifyTree",{nodes:t})}truncate(t,e,n,i,r,o){let s,a,l=this.svgElement,{rotation:c}=l,u=[],h=n?1:0,d=(e||n||"").length,p=d,f=function(e,r){let o=r||e,s=t.parentNode;if(s&&void 0===u[o]&&s.getSubStringLength)try{u[o]=i+s.getSubStringLength(0,n?o+1:o)}catch{}return u[o]};if(l.rotation=0,i+(a=f(t.textContent.length))>r){for(;h<=d;)p=Math.ceil((h+d)/2),n&&(s=o(n,p)),a=f(p,s&&s.length-1),h===d?h=d+1:a>r?d=p-1:h=p;0===d?t.textContent="":e&&d===e.length-1||(t.textContent=s||o(e||n,p))}n&&n.splice(0,p),l.actualWidth=a,l.rotation=c}unescapeEntities(t,e){return u(this.renderer.escapes,(function(n,i){e&&-1!==e.indexOf(n)||(t=t.toString().replace(RegExp(n,"g"),i))})),t}}})),n(e,"Core/Renderer/SVG/SVGRenderer.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Defaults.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGLabel.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Renderer/SVG/TextBuilder.js"],e["Core/Utilities.js"]],(function(t,e,n,i,r,o,s,a,l,c){let u,{defaultOptions:h}=e,{charts:d,deg2rad:p,doc:f,isFirefox:g,isMS:m,isWebKit:v,noop:y,SVG_NS:b,symbolSizes:_,win:x}=i,{addEvent:w,attr:S,createElement:k,crisp:C,css:A,defined:O,destroyObjectProperties:T,extend:E,isArray:P,isNumber:M,isObject:L,isString:j,merge:D,pick:$,pInt:R,replaceNested:I,uniqueKey:N}=c;class B{constructor(t,e,n,i,r,o,s){let a,l,c=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),u=c.element;s||c.css(this.getStyle(i||{})),t.appendChild(u),S(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&S(u,"xmlns",this.SVG_NS),this.box=u,this.boxWrapper=c,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(f.createTextNode("Created with Highcharts 11.4.6")),this.defs=this.createElement("defs").add(),this.allowHTML=o,this.forExport=r,this.styledMode=s,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.rootFontSize=c.getStyle("font-size"),this.setSize(e,n,!1),g&&t.getBoundingClientRect&&((a=function(){A(t,{left:0,top:0}),l=t.getBoundingClientRect(),A(t,{left:Math.ceil(l.left)-l.left+"px",top:Math.ceil(l.top)-l.top+"px"})})(),this.unSubPixelFix=w(x,"resize",a))}definition(e){return new t([e]).addToDOM(this.defs.element)}getReferenceURL(){if((g||v)&&f.getElementsByTagName("base").length){if(!O(u)){let e=N(),n=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":`url(#${e})`,fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(f.body);A(n,{position:"fixed",top:0,left:0,zIndex:9e5});let i=f.elementFromPoint(6,6);u="hitme"===(i&&i.id),f.body.removeChild(n)}if(u)return I(x.location.href.split("#")[0],[/<[^>]*>/g,""],[/([\('\)])/g,"\\$1"],[/ /g,"%20"])}return""}getStyle(t){return this.style=E({fontFamily:"Helvetica, Arial, sans-serif",fontSize:"1rem"},t),this.style}setStyle(t){this.boxWrapper.css(this.getStyle(t))}isHidden(){return!this.boxWrapper.getBBox().width}destroy(){let t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),T(this.gradients||{}),this.gradients=null,this.defs=t.destroy(),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null,null}createElement(t){return new this.Element(this,t)}getRadialAttr(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}}shadowDefinition(t){let e=[`highcharts-drop-shadow-${this.chartIndex}`,...Object.keys(t).map((e=>`${e}-${t[e]}`))].join("-").toLowerCase().replace(/[^a-z\d\-]/g,""),n=D({color:"#000000",offsetX:1,offsetY:1,opacity:.15,width:5},t);return this.defs.element.querySelector(`#${e}`)||this.definition({tagName:"filter",attributes:{id:e,filterUnits:n.filterUnits},children:this.getShadowFilterContent(n)}),e}getShadowFilterContent(t){return[{tagName:"feDropShadow",attributes:{dx:t.offsetX,dy:t.offsetY,"flood-color":t.color,"flood-opacity":Math.min(5*t.opacity,1),stdDeviation:t.width/2}}]}buildText(t){new l(t).buildSVG()}getContrast(t){let e=n.parse(t).rgba.map((t=>{let e=t/255;return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),i=.2126*e[0]+.7152*e[1]+.0722*e[2];return 1.05/(i+.05)>(i+.05)/.05?"#FFFFFF":"#000000"}button(e,n,i,r,o={},s,a,l,c,u){let d=this.label(e,n,i,c,void 0,void 0,u,void 0,"button"),p=this.styledMode,f=arguments,g=0;o=D(h.global.buttonTheme,o),p&&(delete o.fill,delete o.stroke,delete o["stroke-width"]);let v=o.states||{},y=o.style||{};delete o.states,delete o.style;let b=[t.filterUserAttributes(o)],_=[y];return p||["hover","select","disabled"].forEach(((e,n)=>{b.push(D(b[0],t.filterUserAttributes(f[n+5]||v[e]||{}))),_.push(b[n+1].style),delete b[n+1].style})),w(d.element,m?"mouseover":"mouseenter",(function(){3!==g&&d.setState(1)})),w(d.element,m?"mouseout":"mouseleave",(function(){3!==g&&d.setState(g)})),d.setState=(t=0)=>{if(1!==t&&(d.state=g=t),d.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t]),!p){d.attr(b[t]);let e=_[t];L(e)&&d.css(e)}},d.attr(b[0]),!p&&(d.css(E({cursor:"default"},y)),u&&d.text.css({pointerEvents:"none"})),d.on("touchstart",(t=>t.stopPropagation())).on("click",(function(t){3!==g&&r.call(d,t)}))}crispLine(t,e){let[n,i]=t;return O(n[1])&&n[1]===i[1]&&(n[1]=i[1]=C(n[1],e)),O(n[2])&&n[2]===i[2]&&(n[2]=i[2]=C(n[2],e)),t}path(t){let e=this.styledMode?{}:{fill:"none"};return P(t)?e.d=t:L(t)&&E(e,t),this.createElement("path").attr(e)}circle(t,e,n){let i=L(t)?t:void 0===t?{}:{x:t,y:e,r:n},r=this.createElement("circle");return r.xSetter=r.ySetter=function(t,e,n){n.setAttribute("c"+e,t)},r.attr(i)}arc(t,e,n,i,r,o){let s;L(t)?(e=(s=t).y,n=s.r,i=s.innerR,r=s.start,o=s.end,t=s.x):s={innerR:i,start:r,end:o};let a=this.symbol("arc",t,e,n,n,s);return a.r=n,a}rect(t,e,n,i,r,o){let s=L(t)?t:void 0===t?{}:{x:t,y:e,r,width:Math.max(n||0,0),height:Math.max(i||0,0)},a=this.createElement("rect");return this.styledMode||(void 0!==o&&(s["stroke-width"]=o,E(s,a.crisp(s))),s.fill="none"),a.rSetter=function(t,e,n){a.r=t,S(n,{rx:t,ry:t})},a.rGetter=function(){return a.r||0},a.attr(s)}roundedRect(t){return this.symbol("roundedRect").attr(t)}setSize(t,e,n){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:$(n,!0)?void 0:0}),this.alignElements()}g(t){let e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e}image(t,e,n,i,r,o){let s={preserveAspectRatio:"none"};M(e)&&(s.x=e),M(n)&&(s.y=n),M(i)&&(s.width=i),M(r)&&(s.height=r);let a=this.createElement("image").attr(s),l=function(e){a.attr({href:t}),o.call(a,e)};if(o){a.attr({href:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="});let e=new x.Image;w(e,"load",l),e.src=t,e.complete&&l({})}else a.attr({href:t});return a}symbol(t,e,n,i,r,o){let s,a,l,c,u=this,h=/^url\((.*?)\)$/,p=h.test(t),g=!p&&(this.symbols[t]?t:"circle"),m=g&&this.symbols[g];if(m)"number"==typeof e&&(a=m.call(this.symbols,e||0,n||0,i||0,r||0,o)),s=this.path(a),u.styledMode||s.attr("fill","none"),E(s,{symbolName:g||void 0,x:e,y:n,width:i,height:r}),o&&E(s,o);else if(p){l=t.match(h)[1];let i=s=this.image(l);i.imgwidth=$(o&&o.width,_[l]&&_[l].width),i.imgheight=$(o&&o.height,_[l]&&_[l].height),c=t=>t.attr({width:t.width,height:t.height}),["width","height"].forEach((t=>{i[`${t}Setter`]=function(t,e){this[e]=t;let{alignByTranslate:n,element:i,width:r,height:s,imgwidth:a,imgheight:l}=this,c="width"===e?a:l,u=1;o&&"within"===o.backgroundSize&&r&&s&&a&&l?(u=Math.min(r/a,s/l),S(i,{width:Math.round(a*u),height:Math.round(l*u)})):i&&c&&i.setAttribute(e,c),!n&&a&&l&&this.translate(((r||0)-a*u)/2,((s||0)-l*u)/2)}})),O(e)&&i.attr({x:e,y:n}),i.isImg=!0,O(i.imgwidth)&&O(i.imgheight)?c(i):(i.attr({width:0,height:0}),k("img",{onload:function(){let t=d[u.chartIndex];0===this.width&&(A(this,{position:"absolute",top:"-999em"}),f.body.appendChild(this)),_[l]={width:this.width,height:this.height},i.imgwidth=this.width,i.imgheight=this.height,i.element&&c(i),this.parentNode&&this.parentNode.removeChild(this),u.imgCount--,u.imgCount||!t||t.hasLoaded||t.onload()},src:l}),this.imgCount++)}return s}clipRect(t,e,n,i){return this.rect(t,e,n,i,0)}text(t,e,n,i){let r={};if(i&&(this.allowHTML||!this.forExport))return this.html(t,e,n);r.x=Math.round(e||0),n&&(r.y=Math.round(n)),O(t)&&(r.text=t);let o=this.createElement("text").attr(r);return i&&(!this.forExport||this.allowHTML)||(o.xSetter=function(t,e,n){let i=n.getElementsByTagName("tspan"),r=n.getAttribute(e);for(let n,o=0;o<i.length;o++)(n=i[o]).getAttribute(e)===r&&n.setAttribute(e,t);n.setAttribute(e,t)}),o}fontMetrics(t){let e=R(o.prototype.getStyle.call(t,"font-size")||0),n=e<24?e+3:Math.round(1.2*e);return{h:n,b:Math.round(.8*n),f:e}}rotCorr(t,e,n){let i=t;return e&&n&&(i=Math.max(i*Math.cos(e*p),4)),{x:-t/3*Math.sin(e*p),y:i}}pathToSegments(t){let e=[],n=[],i={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2};for(let r=0;r<t.length;r++)j(n[0])&&M(t[r])&&n.length===i[n[0].toUpperCase()]&&t.splice(r,0,n[0].replace("M","L").replace("m","l")),"string"==typeof t[r]&&(n.length&&e.push(n.slice(0)),n.length=0),n.push(t[r]);return e.push(n.slice(0)),e}label(t,e,n,i,r,o,a,l,c){return new s(this,t,e,n,i,r,o,a,l,c)}alignElements(){this.alignedObjects.forEach((t=>t.align()))}}return E(B.prototype,{Element:o,SVG_NS:b,escapes:{"&":"&","<":"<",">":">","'":"'",'"':"""},symbols:a,draw:y}),r.registerRendererType("svg",B,!0),B})),n(e,"Core/Renderer/HTML/HTMLElement.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Globals.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],(function(t,e,n,i){let{composed:r}=e,{attr:o,css:s,createElement:a,defined:l,extend:c,pInt:u,pushUnique:h}=i;function d(t,e,i){var r;let o=(null==(r=this.div)?void 0:r.style)||i.style;n.prototype[`${e}Setter`].call(this,t,e,i),o&&(o[e]=t)}let p=(t,e)=>{var i;if(!t.div){let r=o(t.element,"class"),s=t.css,l=a("div",r?{className:r}:void 0,{position:"absolute",left:`${t.translateX||0}px`,top:`${t.translateY||0}px`,...t.styles,display:t.display,opacity:t.opacity,visibility:t.visibility},(null==(i=t.parentGroup)?void 0:i.div)||e);t.classSetter=(t,e,n)=>{n.setAttribute("class",t),l.className=t},t.translateXSetter=t.translateYSetter=(e,n)=>{t[n]=e,l.style["translateX"===n?"left":"top"]=`${e}px`,t.doTransform=!0},t.opacitySetter=t.visibilitySetter=d,t.css=e=>(s.call(t,e),e.cursor&&(l.style.cursor=e.cursor),e.pointerEvents&&(l.style.pointerEvents=e.pointerEvents),t),t.on=function(){return n.prototype.on.apply({element:l,onEvents:t.onEvents},arguments),t},t.div=l}return t.div};class f extends n{static compose(t){h(r,this.compose)&&(t.prototype.html=function(t,e,n){return new f(this,"span").attr({text:t,x:Math.round(e),y:Math.round(n)})})}constructor(t,e){super(t,e),this.css({position:"absolute",...t.styledMode?{}:{fontFamily:t.style.fontFamily,fontSize:t.style.fontSize}}),this.element.style.whiteSpace="nowrap"}getSpanCorrection(t,e,n){this.xCorr=-t*n,this.yCorr=-e}css(t){let e,{element:n}=this,i="SPAN"===n.tagName&&t&&"width"in t,r=i&&t.width;return i&&(delete t.width,this.textWidth=u(r)||void 0,e=!0),"ellipsis"===(null==t?void 0:t.textOverflow)&&(t.whiteSpace="nowrap",t.overflow="hidden"),c(this.styles,t),s(n,t),e&&this.updateTransform(),this}htmlGetBBox(){let{element:t}=this;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}}updateTransform(){var t;if(!this.added)return void(this.alignOnAdd=!0);let{element:e,renderer:n,rotation:i,rotationOriginX:r,rotationOriginY:o,styles:a,textAlign:c="left",textWidth:u,translateX:h=0,translateY:d=0,x:p=0,y:f=0}=this,g={left:0,center:.5,right:1}[c],m=a.whiteSpace;if(s(e,{marginLeft:`${h}px`,marginTop:`${d}px`}),"SPAN"===e.tagName){let a,h=[i,c,e.innerHTML,u,this.textAlign].join(","),d=-1*(null==(t=this.parentGroup)?void 0:t.padding)||0,v=!1;if(u!==this.oldTextWidth){let t=this.textPxLength?this.textPxLength:(s(e,{width:"",whiteSpace:m||"nowrap"}),e.offsetWidth),n=u||0;(n>this.oldTextWidth||t>n)&&(/[ \-]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)&&(s(e,{width:t>n||i?u+"px":"auto",display:"block",whiteSpace:m||"normal"}),this.oldTextWidth=u,v=!0)}this.hasBoxWidthChanged=v,h!==this.cTT&&(a=n.fontMetrics(e).b,l(i)&&(i!==(this.oldRotation||0)||c!==this.oldAlign)&&this.setSpanRotation(i,d,d),this.getSpanCorrection(!l(i)&&this.textPxLength||e.offsetWidth,a,g));let{xCorr:y=0,yCorr:b=0}=this;s(e,{left:`${p+y}px`,top:`${f+b}px`,transformOrigin:`${(r??p)-y-p-d}px ${(o??f)-b-f-d}px`}),this.cTT=h,this.oldRotation=i,this.oldAlign=c}}setSpanRotation(t,e,n){s(this.element,{transform:`rotate(${t}deg)`,transformOrigin:`${e}% ${n}px`})}add(t){let e,n=this.renderer.box.parentNode,i=[];if(this.parentGroup=t,t&&!(e=t.div)){let r=t;for(;r;)i.push(r),r=r.parentGroup;for(let t of i.reverse())e=p(t,n)}return(e||n).appendChild(this.element),this.added=!0,this.alignOnAdd&&this.updateTransform(),this}textSetter(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,e??""),this.textStr=e,this.doTransform=!0)}alignSetter(t){this.alignValue=this.textAlign=t,this.doTransform=!0}xSetter(t,e){this[e]=t,this.doTransform=!0}}let g=f.prototype;return g.visibilitySetter=g.opacitySetter=d,g.ySetter=g.rotationSetter=g.rotationOriginXSetter=g.rotationOriginYSetter=g.xSetter,f})),n(e,"Core/Axis/AxisDefaults.js",[],(function(){var t,e;return(e=t||(t={})).xAxis={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e %b"},week:{main:"%e %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotationLimit:80,distance:15,enabled:!0,indentation:10,overflow:"justify",reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,zIndex:7,style:{color:"#333333",cursor:"default",fontSize:"0.8em"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minorTicksPerMajor:5,minPadding:.01,offset:void 0,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",useHTML:!1,x:0,y:0,style:{color:"#666666",fontSize:"0.8em"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#333333",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#333333"},e.yAxis={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:void 0},startOnTick:!0,title:{text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){let{numberFormatter:t}=this.axis.chart;return t(this.total||0,-1)},style:{color:"#000000",fontSize:"0.7em",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t})),n(e,"Core/Foundation.js",[e["Core/Utilities.js"]],(function(t){var e;let{addEvent:n,isFunction:i,objectEach:r,removeEvent:o}=t;return(e||(e={})).registerEventOptions=function(t,e){t.eventOptions=t.eventOptions||{},r(e.events,(function(e,r){t.eventOptions[r]!==e&&(t.eventOptions[r]&&(o(t,r,t.eventOptions[r]),delete t.eventOptions[r]),i(e)&&(t.eventOptions[r]=e,n(t,r,e,{order:0})))}))},e})),n(e,"Core/Axis/Tick.js",[e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,n){let{deg2rad:i}=e,{clamp:r,correctFloat:o,defined:s,destroyObjectProperties:a,extend:l,fireEvent:c,isNumber:u,merge:h,objectEach:d,pick:p}=n;return class{constructor(t,e,n,i,r){this.isNew=!0,this.isNewLabel=!0,this.axis=t,this.pos=e,this.type=n||"",this.parameters=r||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,c(this,"init"),n||i||this.addLabel()}addLabel(){let e,n,i,r=this,a=r.axis,h=a.options,d=a.chart,f=a.categories,g=a.logarithmic,m=a.names,v=r.pos,y=p(r.options&&r.options.labels,h.labels),b=a.tickPositions,_=v===b[0],x=v===b[b.length-1],w=(!y.step||1===y.step)&&1===a.tickInterval,S=b.info,k=r.label,C=this.parameters.category||(f?p(f[v],m[v],v):v);g&&u(C)&&(C=o(g.lin2log(C))),a.dateTime&&(S?e=(n=d.time.resolveDTLFormat(h.dateTimeLabelFormats[!h.grid&&S.higherRanks[v]||S.unitName])).main:u(C)&&(e=a.dateTime.getXDateFormat(C,h.dateTimeLabelFormats||{}))),r.isFirst=_,r.isLast=x;let A={axis:a,chart:d,dateTimeLabelFormat:e,isFirst:_,isLast:x,pos:v,tick:r,tickPositionInfo:S,value:C};c(this,"labelFormat",A);let O=e=>y.formatter?y.formatter.call(e,e):y.format?(e.text=a.defaultLabelFormatter.call(e),t.format(y.format,e,d)):a.defaultLabelFormatter.call(e),T=O.call(A,A),E=n&&n.list;r.shortenLabel=E?function(){for(i=0;i<E.length;i++)if(l(A,{dateTimeLabelFormat:E[i]}),k.attr({text:O.call(A,A)}),k.getBBox().width<a.getSlotWidth(r)-2*(y.padding||0))return;k.attr({text:""})}:void 0,w&&a._addedPlotLB&&r.moveLabel(T,y),s(k)||r.movedLabel?k&&k.textStr!==T&&!w&&(!k.textWidth||y.style.width||k.styles.width||k.css({width:null}),k.attr({text:T}),k.textPxLength=k.getBBox().width):(r.label=k=r.createLabel(T,y),r.rotation=0)}createLabel(t,e,n){let i=this.axis,r=i.chart,o=s(t)&&e.enabled?r.renderer.text(t,null==n?void 0:n.x,null==n?void 0:n.y,e.useHTML).add(i.labelGroup):void 0;return o&&(r.styledMode||o.css(h(e.style)),o.textPxLength=o.getBBox().width),o}destroy(){a(this,this.axis)}getPosition(t,e,n,i){let s=this.axis,a=s.chart,l=i&&a.oldChartHeight||a.chartHeight,u={x:t?o(s.translate(e+n,void 0,void 0,i)+s.transB):s.left+s.offset+(s.opposite?(i&&a.oldChartWidth||a.chartWidth)-s.right-s.left:0),y:t?l-s.bottom+s.offset-(s.opposite?s.height:0):o(l-s.translate(e+n,void 0,void 0,i)-s.transB)};return u.y=r(u.y,-1e5,1e5),c(this,"afterGetPosition",{pos:u}),u}getLabelPosition(t,e,n,r,o,a,l,u){let h,d,f=this.axis,g=f.transA,m=f.isLinked&&f.linkedParent?f.linkedParent.reversed:f.reversed,v=f.staggerLines,y=f.tickRotCorr||{x:0,y:0},b=r||f.reserveSpaceDefault?0:-f.labelOffset*("center"===f.labelAlign?.5:1),_=o.distance,x={};return h=0===f.side?n.rotation?-_:-n.getBBox().height:2===f.side?y.y+_:Math.cos(n.rotation*i)*(y.y-n.getBBox(!1,0).height/2),s(o.y)&&(h=0===f.side&&f.horiz?o.y+h:o.y),t=t+p(o.x,[0,1,0,-1][f.side]*_)+b+y.x-(a&&r?a*g*(m?-1:1):0),e=e+h-(a&&!r?a*g*(m?1:-1):0),v&&(d=l/(u||1)%v,f.opposite&&(d=v-d-1),e+=d*(f.labelOffset/v)),x.x=t,x.y=Math.round(e),c(this,"afterGetLabelPosition",{pos:x,tickmarkOffset:a,index:l}),x}getLabelSize(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0}getMarkPath(t,e,n,i,r=!1,o){return o.crispLine([["M",t,e],["L",t+(r?0:-n),e+(r?n:0)]],i)}handleOverflow(t){let e,n,r,o=this.axis,s=o.options.labels,a=t.x,l=o.chart.chartWidth,c=o.chart.spacing,u=p(o.labelLeft,Math.min(o.pos,c[3])),h=p(o.labelRight,Math.max(o.isRadial?0:o.pos+o.len,l-c[1])),d=this.label,f=this.rotation,g={left:0,center:.5,right:1}[o.labelAlign||d.attr("align")],m=d.getBBox().width,v=o.getSlotWidth(this),y={},b=v,_=1;f||"justify"!==s.overflow?f<0&&a-g*m<u?r=Math.round(a/Math.cos(f*i)-u):f>0&&a+g*m>h&&(r=Math.round((l-a)/Math.cos(f*i))):(e=a-g*m,n=a+(1-g)*m,e<u?b=t.x+b*(1-g)-u:n>h&&(b=h-t.x+b*g,_=-1),(b=Math.min(v,b))<v&&"center"===o.labelAlign&&(t.x+=_*(v-b-g*(v-Math.min(m,b)))),(m>b||o.autoRotation&&(d.styles||{}).width)&&(r=b)),r&&(this.shortenLabel?this.shortenLabel():(y.width=Math.floor(r)+"px",(s.style||{}).textOverflow||(y.textOverflow="ellipsis"),d.css(y)))}moveLabel(t,e){let n,i=this,r=i.label,o=i.axis,s=!1;r&&r.textStr===t?(i.movedLabel=r,s=!0,delete i.label):d(o.ticks,(function(e){s||e.isNew||e===i||!e.label||e.label.textStr!==t||(i.movedLabel=e.label,s=!0,e.labelPos=i.movedLabel.xy,delete e.label)})),!s&&(i.labelPos||r)&&(n=i.labelPos||r.xy,i.movedLabel=i.createLabel(t,e,n),i.movedLabel&&i.movedLabel.attr({opacity:0}))}render(t,e,n){let i=this.axis,r=i.horiz,s=this.pos,a=p(this.tickmarkOffset,i.tickmarkOffset),l=this.getPosition(r,s,a,e),u=l.x,h=l.y,d=i.pos,f=d+i.len,g=r?u:h;!i.chart.polar&&this.isNew&&(o(g)<d||g>f)&&(n=0);let m=p(n,this.label&&this.label.newOpacity,1);n=p(n,1),this.isActive=!0,this.renderGridLine(e,n),this.renderMark(l,n),this.renderLabel(l,e,m,t),this.isNew=!1,c(this,"afterRender")}renderGridLine(t,e){let n,i=this.axis,r=i.options,o={},s=this.pos,a=this.type,l=p(this.tickmarkOffset,i.tickmarkOffset),c=i.chart.renderer,u=this.gridLine,h=r.gridLineWidth,d=r.gridLineColor,f=r.gridLineDashStyle;"minor"===this.type&&(h=r.minorGridLineWidth,d=r.minorGridLineColor,f=r.minorGridLineDashStyle),u||(i.chart.styledMode||(o.stroke=d,o["stroke-width"]=h||0,o.dashstyle=f),a||(o.zIndex=1),t&&(e=0),this.gridLine=u=c.path().attr(o).addClass("highcharts-"+(a?a+"-":"")+"grid-line").add(i.gridGroup)),u&&(n=i.getPlotLinePath({value:s+l,lineWidth:u.strokeWidth(),force:"pass",old:t,acrossPanes:!1}))&&u[t||this.isNew?"attr":"animate"]({d:n,opacity:e})}renderMark(t,e){let n=this.axis,i=n.options,r=n.chart.renderer,o=this.type,s=n.tickSize(o?o+"Tick":"tick"),a=t.x,l=t.y,c=p(i["minor"!==o?"tickWidth":"minorTickWidth"],!o&&n.isXAxis?1:0),u=i["minor"!==o?"tickColor":"minorTickColor"],h=this.mark,d=!h;s&&(n.opposite&&(s[0]=-s[0]),h||(this.mark=h=r.path().addClass("highcharts-"+(o?o+"-":"")+"tick").add(n.axisGroup),n.chart.styledMode||h.attr({stroke:u,"stroke-width":c})),h[d?"attr":"animate"]({d:this.getMarkPath(a,l,s[0],h.strokeWidth(),n.horiz,r),opacity:e}))}renderLabel(t,e,n,i){let r=this.axis,o=r.horiz,s=r.options,a=this.label,l=s.labels,c=l.step,h=p(this.tickmarkOffset,r.tickmarkOffset),d=t.x,f=t.y,g=!0;a&&u(d)&&(a.xy=t=this.getLabelPosition(d,f,a,o,l,h,i,c),this.isFirst&&!this.isLast&&!s.showFirstLabel||this.isLast&&!this.isFirst&&!s.showLastLabel?g=!1:!o||l.step||l.rotation||e||0===n||this.handleOverflow(t),c&&i%c&&(g=!1),g&&u(t.y)?(t.opacity=n,a[this.isNewLabel?"attr":"animate"](t).show(!0),this.isNewLabel=!1):(a.hide(),this.isNewLabel=!0))}replaceMovedLabel(){let t=this.label,e=this.axis;t&&!this.isNew&&(t.animate({opacity:0},void 0,t.destroy),delete this.label),e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel}}})),n(e,"Core/Axis/Axis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/AxisDefaults.js"],e["Core/Color/Color.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Axis/Tick.js"],e["Core/Utilities.js"]],(function(t,e,n,i,r,o,s,a){let{animObject:l}=t,{xAxis:c,yAxis:u}=e,{defaultOptions:h}=i,{registerEventOptions:d}=r,{deg2rad:p}=o,{arrayMax:f,arrayMin:g,clamp:m,correctFloat:v,defined:y,destroyObjectProperties:b,erase:_,error:x,extend:w,fireEvent:S,getClosestDistance:k,insertItem:C,isArray:A,isNumber:O,isString:T,merge:E,normalizeTickInterval:P,objectEach:M,pick:L,relativeLength:j,removeEvent:D,splat:$,syncTimeout:R}=a,I=(t,e)=>P(e,void 0,void 0,L(t.options.allowDecimals,e<.5||void 0!==t.tickAmount),!!t.tickAmount);w(h,{xAxis:c,yAxis:E(c,u)});class N{constructor(t,e,n){this.init(t,e,n)}init(t,e,n=this.coll){let i="xAxis"===n,r=this.isZAxis||(t.inverted?!i:i);this.chart=t,this.horiz=r,this.isXAxis=i,this.coll=n,S(this,"init",{userOptions:e}),this.opposite=L(e.opposite,this.opposite),this.side=L(e.side,this.side,r?this.opposite?0:2:this.opposite?1:3),this.setOptions(e);let o=this.options,s=o.labels,a=o.type;this.userOptions=e,this.minPixelPadding=0,this.reversed=L(o.reversed,this.reversed),this.visible=o.visible,this.zoomEnabled=o.zoomEnabled,this.hasNames="category"===a||!0===o.categories,this.categories=A(o.categories)&&o.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=y(o.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len??(this.len=0),this.minRange=this.userMinRange=o.minRange||o.maxZoom,this.range=o.range,this.offset=o.offset||0,this.max=void 0,this.min=void 0;let l=L(o.crosshair,$(t.options.tooltip.crosshairs)[i?0:1]);this.crosshair=!0===l?{}:l,-1===t.axes.indexOf(this)&&(i?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),C(this,t[this.coll])),t.orderItems(this.coll),this.series=this.series||[],t.inverted&&!this.isZAxis&&i&&!y(this.reversed)&&(this.reversed=!0),this.labelRotation=O(s.rotation)?s.rotation:void 0,d(this,o),S(this,"afterInit")}setOptions(t){let e=this.horiz?{labels:{autoRotation:[-45],padding:4},margin:15}:{labels:{padding:1},title:{rotation:90*this.side}};this.options=E(e,h[this.coll],t),S(this,"afterSetOptions",{userOptions:t})}defaultLabelFormatter(){let t,e,n=this.axis,{numberFormatter:i}=this.chart,r=O(this.value)?this.value:NaN,o=n.chart.time,s=n.categories,a=this.dateTimeLabelFormat,l=h.lang,c=l.numericSymbols,u=l.numericSymbolMagnitude||1e3,d=n.logarithmic?Math.abs(r):n.tickInterval,p=c&&c.length;if(s)e=`${this.value}`;else if(a)e=o.dateFormat(a,r);else if(p&&c&&d>=1e3)for(;p--&&void 0===e;)d>=(t=Math.pow(u,p+1))&&10*r%t==0&&null!==c[p]&&0!==r&&(e=i(r/t,-1)+c[p]);return void 0===e&&(e=Math.abs(r)>=1e4?i(r,-1):i(r,-1,void 0,"")),e}getSeriesExtremes(){let t,e=this;S(this,"getSeriesExtremes",null,(function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=void 0,e.softThreshold=!e.isXAxis,e.series.forEach((n=>{if(n.reserveSpace()){let i,r,o,s=n.options,a=s.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=(a||0)&&(a=void 0),e.isXAxis)(i=n.xData)&&i.length&&(i=e.logarithmic?i.filter((t=>t>0)):i,r=(t=n.getXExtremes(i)).min,o=t.max,O(r)||r instanceof Date||(i=i.filter(O),r=(t=n.getXExtremes(i)).min,o=t.max),i.length&&(e.dataMin=Math.min(L(e.dataMin,r),r),e.dataMax=Math.max(L(e.dataMax,o),o)));else{let t=n.applyExtremes();O(t.dataMin)&&(r=t.dataMin,e.dataMin=Math.min(L(e.dataMin,r),r)),O(t.dataMax)&&(o=t.dataMax,e.dataMax=Math.max(L(e.dataMax,o),o)),y(a)&&(e.threshold=a),(!s.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}}}))})),S(this,"afterGetSeriesExtremes")}translate(t,e,n,i,r,o){var s;let a=this.linkedParent||this,l=i&&a.old?a.old.min:a.min;if(!O(l))return NaN;let c=a.minPixelPadding,u=(a.isOrdinal||(null==(s=a.brokenAxis)?void 0:s.hasBreaks)||a.logarithmic&&r)&&a.lin2val,h=1,d=0,p=i&&a.old?a.old.transA:a.transA,f=0;return p||(p=a.transA),n&&(h*=-1,d=a.len),a.reversed&&(h*=-1,d-=h*(a.sector||a.len)),e?(f=(t=t*h+d-c)/p+l,u&&(f=a.lin2val(f))):(u&&(t=a.val2lin(t)),f=h*(t-l)*p+d+h*c+(O(o)?p*o:0),a.isRadial||(f=v(f))),f}toPixels(t,e){return this.translate(t,!1,!this.horiz,void 0,!0)+(e?0:this.pos)}toValue(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,void 0,!0)}getPlotLinePath(t){let e,n,i,r,o,s=this,a=s.chart,l=s.left,c=s.top,u=t.old,h=t.value,d=t.lineWidth,p=u&&a.oldChartHeight||a.chartHeight,f=u&&a.oldChartWidth||a.chartWidth,g=s.transB,v=t.translatedValue,y=t.force;function b(t,e,n){return"pass"!==y&&(t<e||t>n)&&(y?t=m(t,e,n):o=!0),t}let _={value:h,lineWidth:d,old:u,force:y,acrossPanes:t.acrossPanes,translatedValue:v};return S(this,"getPlotLinePath",_,(function(t){e=i=(v=m(v=L(v,s.translate(h,void 0,void 0,u)),-1e5,1e5))+g,n=r=p-v-g,O(v)?s.horiz?(n=c,r=p-s.bottom+(s.options.isInternal?0:a.scrollablePixelsY||0),e=i=b(e,l,l+s.width)):(e=l,i=f-s.right+(a.scrollablePixelsX||0),n=r=b(n,c,c+s.height)):(o=!0,y=!1),t.path=o&&!y?void 0:a.renderer.crispLine([["M",e,n],["L",i,r]],d||1)})),_.path}getLinearTickPositions(t,e,n){let i,r,o,s=v(Math.floor(e/t)*t),a=v(Math.ceil(n/t)*t),l=[];if(v(s+t)===s&&(o=20),this.single)return[e];for(i=s;i<=a&&(l.push(i),(i=v(i+t,o))!==r);)r=i;return l}getMinorTickInterval(){let{minorTicks:t,minorTickInterval:e}=this.options;return!0===t?L(e,"auto"):!1!==t?e:void 0}getMinorTickPositions(){let t,e=this.options,n=this.tickPositions,i=this.minorTickInterval,r=this.pointRangePadding||0,o=(this.min||0)-r,s=(this.max||0)+r,a=s-o,l=[];if(a&&a/i<this.len/3){let r=this.logarithmic;if(r)this.paddedTicks.forEach((function(t,e,n){e&&l.push.apply(l,r.getLogTickPositions(i,n[e-1],n[e],!0))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())l=l.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(i),o,s,e.startOfWeek));else for(t=o+(n[0]-o)%i;t<=s&&t!==l[0];t+=i)l.push(t)}return 0!==l.length&&this.trimTicks(l),l}adjustForMinRange(){let t,e,n,i,r=this.options,o=this.logarithmic,{max:s,min:a,minRange:l}=this;this.isXAxis&&void 0===l&&!o&&(l=y(r.min)||y(r.max)||y(r.floor)||y(r.ceiling)?null:Math.min(5*(k(this.series.map((t=>{var e;return(t.xIncrement?null==(e=t.xData)?void 0:e.slice(0,2):t.xData)||[]})))||0),this.dataMax-this.dataMin)),O(s)&&O(a)&&O(l)&&s-a<l&&(e=this.dataMax-this.dataMin>=l,t=(l-s+a)/2,n=[a-t,L(r.min,a-t)],e&&(n[2]=o?o.log2lin(this.dataMin):this.dataMin),i=[(a=f(n))+l,L(r.max,a+l)],e&&(i[2]=o?o.log2lin(this.dataMax):this.dataMax),(s=g(i))-a<l&&(n[0]=s-l,n[1]=L(r.min,s-l),a=f(n))),this.minRange=l,this.min=a,this.max=s}getClosest(){let t,e;if(this.categories)e=1;else{let n=[];this.series.forEach((function(t){var i;let r=t.closestPointRange;1===(null==(i=t.xData)?void 0:i.length)?n.push(t.xData[0]):!t.noSharedTooltip&&y(r)&&t.reserveSpace()&&(e=y(e)?Math.min(e,r):r)})),n.length&&(n.sort(((t,e)=>t-e)),t=k([n]))}return t&&e?Math.min(t,e):t||e}nameToX(t){let e,n=A(this.options.categories),i=n?this.categories:this.names,r=t.options.x;return t.series.requireSorting=!1,y(r)||(r=this.options.uniqueNames&&i?n?i.indexOf(t.name):L(i.keys[t.name],-1):t.series.autoIncrement()),-1===r?!n&&i&&(e=i.length):e=r,void 0!==e?(this.names[e]=t.name,this.names.keys[t.name]=e):t.x&&(e=t.x),e}updateNames(){let t=this,e=this.names;e.length>0&&(Object.keys(e.keys).forEach((function(t){delete e.keys[t]})),e.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((e=>{e.xIncrement=null,(!e.points||e.isDirtyData)&&(t.max=Math.max(t.max,e.xData.length-1),e.processData(),e.generatePoints()),e.data.forEach((function(n,i){let r;null!=n&&n.options&&void 0!==n.name&&void 0!==(r=t.nameToX(n))&&r!==n.x&&(n.x=r,e.xData[i]=r)}))})))}setAxisTranslation(){let t,e,n=this,i=n.max-n.min,r=n.linkedParent,o=!!n.categories,s=n.isXAxis,a=n.axisPointRange||0,l=0,c=0,u=n.transA;(s||o||a)&&(t=n.getClosest(),r?(l=r.minPointOffset,c=r.pointRangePadding):n.series.forEach((function(e){let i=o?1:s?L(e.options.pointRange,t,0):n.axisPointRange||0,r=e.options.pointPlacement;if(a=Math.max(a,i),!n.single||o){let t=e.is("xrange")?!s:s;l=Math.max(l,t&&T(r)?0:i/2),c=Math.max(c,t&&"on"===r?0:i)}})),e=n.ordinal&&n.ordinal.slope&&t?n.ordinal.slope/t:1,n.minPointOffset=l*=e,n.pointRangePadding=c*=e,n.pointRange=Math.min(a,n.single&&o?1:i),s&&t&&(n.closestPointRange=t)),n.translationSlope=n.transA=u=n.staticScale||n.len/(i+c||1),n.transB=n.horiz?n.left:n.bottom,n.minPixelPadding=u*l,S(this,"afterSetAxisTranslation")}minFromRange(){let{max:t,min:e}=this;return O(t)&&O(e)&&t-e||void 0}setTickInterval(t){var e,n,i,r;let o,s,a,l,c,{categories:u,chart:h,dataMax:d,dataMin:p,dateTime:f,isXAxis:g,logarithmic:m,options:b,softThreshold:_}=this,w=O(this.threshold)?this.threshold:void 0,k=this.minRange||0,{ceiling:C,floor:A,linkedTo:T,softMax:E,softMin:P}=b,M=O(T)&&(null==(e=h[this.coll])?void 0:e[T]),j=b.tickPixelInterval,D=b.maxPadding,$=b.minPadding,R=0,N=O(b.tickInterval)&&b.tickInterval>=0?b.tickInterval:void 0;if(f||u||M||this.getTickAmount(),l=L(this.userMin,b.min),c=L(this.userMax,b.max),M?(this.linkedParent=M,o=M.getExtremes(),this.min=L(o.min,o.dataMin),this.max=L(o.max,o.dataMax),b.type!==M.options.type&&x(11,!0,h)):(_&&y(w)&&O(d)&&O(p)&&(p>=w?(s=w,$=0):d<=w&&(a=w,D=0)),this.min=L(l,s,p),this.max=L(c,a,d)),O(this.max)&&O(this.min)&&(m&&(this.positiveValuesOnly&&!t&&0>=Math.min(this.min,L(p,this.min))&&x(10,!0,h),this.min=v(m.log2lin(this.min),16),this.max=v(m.log2lin(this.max),16)),this.range&&O(p)&&(this.userMin=this.min=l=Math.max(p,this.minFromRange()||0),this.userMax=c=this.max,this.range=void 0)),S(this,"foundExtremes"),this.adjustForMinRange(),O(this.min)&&O(this.max)){if(!O(this.userMin)&&O(P)&&P<this.min&&(this.min=l=P),!O(this.userMax)&&O(E)&&E>this.max&&(this.max=c=E),u||this.axisPointRange||null!=(n=this.stacking)&&n.usePercentage||M||!(R=this.max-this.min)||(!y(l)&&$&&(this.min-=R*$),y(c)||!D||(this.max+=R*D)),!O(this.userMin)&&O(A)&&(this.min=Math.max(this.min,A)),!O(this.userMax)&&O(C)&&(this.max=Math.min(this.max,C)),_&&O(p)&&O(d)){let t=w||0;!y(l)&&this.min<t&&p>=t?this.min=b.minRange?Math.min(t,this.max-k):t:!y(c)&&this.max>t&&d<=t&&(this.max=b.minRange?Math.max(t,this.min+k):t)}!h.polar&&this.min>this.max&&(y(b.min)?this.max=this.min:y(b.max)&&(this.min=this.max)),R=this.max-this.min}if(this.min!==this.max&&O(this.min)&&O(this.max)?M&&!N&&j===M.options.tickPixelInterval?this.tickInterval=N=M.tickInterval:this.tickInterval=L(N,this.tickAmount?R/Math.max(this.tickAmount-1,1):void 0,u?1:R*j/Math.max(this.len,j)):this.tickInterval=1,g&&!t){let t=this.min!==(null==(i=this.old)?void 0:i.min)||this.max!==(null==(r=this.old)?void 0:r.max);this.series.forEach((function(e){var n;e.forceCrop=null==(n=e.forceCropping)?void 0:n.call(e),e.processData(t)})),S(this,"postProcessData",{hasExtremesChanged:t})}this.setAxisTranslation(),S(this,"initialAxisTranslation"),this.pointRange&&!N&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));let B=L(b.minTickInterval,f&&!this.series.some((t=>t.noSharedTooltip))?this.closestPointRange:0);!N&&this.tickInterval<B&&(this.tickInterval=B),f||m||N||(this.tickInterval=I(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()}setTickPositions(){var t,e;let n,i=this.options,r=i.tickPositions,o=i.tickPositioner,s=this.getMinorTickInterval(),a=!this.isPanning,l=a&&i.startOnTick,c=a&&i.endOnTick,u=[];if(this.tickmarkOffset=this.categories&&"between"===i.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===s&&this.tickInterval?this.tickInterval/i.minorTicksPerMajor:s,this.single=this.min===this.max&&y(this.min)&&!this.tickAmount&&(this.min%1==0||!1!==i.allowDecimals),r)u=r.slice();else if(O(this.min)&&O(this.max)){if((null==(t=this.ordinal)||!t.positions)&&(this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))u=[this.min,this.max],x(19,!1,this.chart);else if(this.dateTime)u=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,i.units),this.min,this.max,i.startOfWeek,null==(e=this.ordinal)?void 0:e.positions,this.closestPointRange,!0);else if(this.logarithmic)u=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else{let t=this.tickInterval,e=t;for(;e<=2*t&&(u=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&u.length>this.tickAmount);)this.tickInterval=I(this,e*=1.1)}u.length>this.len&&(u=[u[0],u[u.length-1]])[0]===u[1]&&(u.length=1),o&&(this.tickPositions=u,(n=o.apply(this,[this.min,this.max]))&&(u=n))}this.tickPositions=u,this.paddedTicks=u.slice(0),this.trimTicks(u,l,c),!this.isLinked&&O(this.min)&&O(this.max)&&(this.single&&u.length<2&&!this.categories&&!this.series.some((t=>t.is("heatmap")&&"between"===t.options.pointPlacement))&&(this.min-=.5,this.max+=.5),r||n||this.adjustTickAmount()),S(this,"afterSetTickPositions")}trimTicks(t,e,n){let i=t[0],r=t[t.length-1],o=!this.isOrdinal&&this.minPointOffset||0;if(S(this,"trimTicks"),!this.isLinked){if(e&&i!==-1/0)this.min=i;else for(;this.min-o>t[0];)t.shift();if(n)this.max=r;else for(;this.max+o<t[t.length-1];)t.pop();0===t.length&&y(i)&&!this.options.tickPositions&&t.push((r+i)/2)}}alignToOthers(){let t,e=this,n=e.chart,i=[this],r=e.options,o=n.options.chart,s="yAxis"===this.coll&&o.alignThresholds,a=[];if(e.thresholdAlignment=void 0,(!1!==o.alignTicks&&r.alignTicks||s)&&!1!==r.startOnTick&&!1!==r.endOnTick&&!e.logarithmic){let r=t=>{let{horiz:e,options:n}=t;return[e?n.left:n.top,n.width,n.height,n.pane].join(",")},o=r(this);n[this.coll].forEach((function(n){let{series:s}=n;s.length&&s.some((t=>t.visible))&&n!==e&&r(n)===o&&(t=!0,i.push(n))}))}if(t&&s){i.forEach((t=>{let n=t.getThresholdAlignment(e);O(n)&&a.push(n)}));let t=a.length>1?a.reduce(((t,e)=>t+e),0)/a.length:void 0;i.forEach((e=>{e.thresholdAlignment=t}))}return t}getThresholdAlignment(t){if((!O(this.dataMin)||this!==t&&this.series.some((t=>t.isDirty||t.isDirtyData)))&&this.getSeriesExtremes(),O(this.threshold)){let t=m((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1);return this.options.reversed&&(t=1-t),t}}getTickAmount(){let t=this.options,e=t.tickPixelInterval,n=t.tickAmount;y(t.tickInterval)||n||!(this.len<e)||this.isRadial||this.logarithmic||!t.startOnTick||!t.endOnTick||(n=2),!n&&this.alignToOthers()&&(n=Math.ceil(this.len/e)+1),n<4&&(this.finalTickAmt=n,n=5),this.tickAmount=n}adjustTickAmount(){let t,e,n,i=this,{finalTickAmt:r,max:o,min:s,options:a,tickPositions:l,tickAmount:c,thresholdAlignment:u}=i,h=null==l?void 0:l.length,d=L(i.threshold,i.softThreshold?0:null),p=i.tickInterval,f=()=>l.push(v(l[l.length-1]+p)),g=()=>l.unshift(v(l[0]-p));if(O(u)&&(n=u<.5?Math.ceil(u*(c-1)):Math.floor(u*(c-1)),a.reversed&&(n=c-1-n)),i.hasData()&&O(s)&&O(o)){let u=()=>{i.transA*=(h-1)/(c-1),i.min=a.startOnTick?l[0]:Math.min(s,l[0]),i.max=a.endOnTick?l[l.length-1]:Math.max(o,l[l.length-1])};if(O(n)&&O(i.threshold)){for(;l[n]!==d||l.length!==c||l[0]>s||l[l.length-1]<o;){for(l.length=0,l.push(i.threshold);l.length<c;)void 0===l[n]||l[n]>i.threshold?g():f();if(p>8*i.tickInterval)break;p*=2}u()}else if(h<c){for(;l.length<c;)l.length%2||s===d?f():g();u()}if(y(r)){for(e=t=l.length;e--;)(3===r&&e%2==1||r<=2&&e>0&&e<t-1)&&l.splice(e,1);i.finalTickAmt=void 0}}}setScale(){var t,e;let{coll:n,stacking:i}=this,r=!1,o=!1;this.series.forEach((t=>{r=r||t.isDirtyData||t.isDirty,o=o||t.xAxis&&t.xAxis.isDirty||!1})),this.setAxisSize();let s=this.len!==(this.old&&this.old.len);s||r||o||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(i&&"yAxis"===n&&i.buildStacks(),this.forceRedraw=!1,this.userMinRange||(this.minRange=void 0),this.getSeriesExtremes(),this.setTickInterval(),i&&"xAxis"===n&&i.buildStacks(),this.isDirty||(this.isDirty=s||this.min!==(null==(t=this.old)?void 0:t.min)||this.max!==(null==(e=this.old)?void 0:e.max))):i&&i.cleanStacks(),r&&delete this.allExtremes,S(this,"afterSetScale")}setExtremes(t,e,n=!0,i,r){this.series.forEach((t=>{delete t.kdTree})),S(this,"setExtremes",r=w(r,{min:t,max:e}),(t=>{this.userMin=t.min,this.userMax=t.max,this.eventArgs=t,n&&this.chart.redraw(i)}))}setAxisSize(){let t=this.chart,e=this.options,n=e.offsets||[0,0,0,0],i=this.horiz,r=this.width=Math.round(j(L(e.width,t.plotWidth-n[3]+n[1]),t.plotWidth)),o=this.height=Math.round(j(L(e.height,t.plotHeight-n[0]+n[2]),t.plotHeight)),s=this.top=Math.round(j(L(e.top,t.plotTop+n[0]),t.plotHeight,t.plotTop)),a=this.left=Math.round(j(L(e.left,t.plotLeft+n[3]),t.plotWidth,t.plotLeft));this.bottom=t.chartHeight-o-s,this.right=t.chartWidth-r-a,this.len=Math.max(i?r:o,0),this.pos=i?a:s}getExtremes(){let t=this.logarithmic;return{min:t?v(t.lin2log(this.min)):this.min,max:t?v(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}}getThreshold(t){let e=this.logarithmic,n=e?e.lin2log(this.min):this.min,i=e?e.lin2log(this.max):this.max;return null===t||t===-1/0?t=n:t===1/0?t=i:n>t?t=n:i<t&&(t=i),this.translate(t,0,1,0,1)}autoLabelAlign(t){let e=(L(t,0)-90*this.side+720)%360,n={align:"center"};return S(this,"autoLabelAlign",n,(function(t){e>15&&e<165?t.align="right":e>195&&e<345&&(t.align="left")})),n.align}tickSize(t){let e,n=this.options,i=L(n["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0),r=n["tick"===t?"tickLength":"minorTickLength"];i&&r&&("inside"===n[t+"Position"]&&(r=-r),e=[r,i]);let o={tickSize:e};return S(this,"afterTickSize",o),o.tickSize}labelMetrics(){let t=this.chart.renderer,e=this.ticks,n=e[Object.keys(e)[0]]||{};return this.chart.renderer.fontMetrics(n.label||n.movedLabel||t.box)}unsquish(){let t,e,n=this.options.labels,i=n.padding||0,r=this.horiz,o=this.tickInterval,s=this.len/(((this.categories?1:0)+this.max-this.min)/o),a=n.rotation,l=v(.8*this.labelMetrics().h),c=Math.max(this.max-this.min,0),u=function(t){let e=(t+2*i)/(s||1);return(e=e>1?Math.ceil(e):1)*o>c&&t!==1/0&&s!==1/0&&c&&(e=Math.ceil(c/o)),v(e*o)},h=o,d=Number.MAX_VALUE;if(r){if(!n.staggerLines&&(O(a)?e=[a]:s<n.autoRotationLimit&&(e=n.autoRotation)),e){let n,i;for(let r of e)(r===a||r&&r>=-90&&r<=90)&&(i=(n=u(Math.abs(l/Math.sin(p*r))))+Math.abs(r/360))<d&&(d=i,t=r,h=n)}}else h=u(.75*l);return this.autoRotation=e,this.labelRotation=L(t,O(a)?a:0),n.step?o:h}getSlotWidth(t){let e=this.chart,n=this.horiz,i=this.options.labels,r=Math.max(this.tickPositions.length-(this.categories?0:1),1),o=e.margin[3];if(t&&O(t.slotWidth))return t.slotWidth;if(n&&i.step<2)return i.rotation?0:(this.staggerLines||1)*this.len/r;if(!n){let t=i.style.width;if(void 0!==t)return parseInt(String(t),10);if(o)return o-e.spacing[3]}return.33*e.chartWidth}renderUnsquish(){let t,e,n,i,r=this.chart,o=r.renderer,s=this.tickPositions,a=this.ticks,l=this.options.labels,c=l.style,u=this.horiz,h=this.getSlotWidth(),d=Math.max(1,Math.round(h-(u?2*(l.padding||0):l.distance||0))),p={},f=this.labelMetrics(),g=c.textOverflow,m=0;if(T(l.rotation)||(p.rotation=l.rotation||0),s.forEach((function(t){let e=a[t];e.movedLabel&&e.replaceMovedLabel(),e&&e.label&&e.label.textPxLength>m&&(m=e.label.textPxLength)})),this.maxLabelLength=m,this.autoRotation)m>d&&m>f.h?p.rotation=this.labelRotation:this.labelRotation=0;else if(h&&(t=d,!g))for(e="clip",i=s.length;!u&&i--;)(n=a[s[i]].label)&&("ellipsis"===n.styles.textOverflow?n.css({textOverflow:"clip"}):n.textPxLength>h&&n.css({width:h+"px"}),n.getBBox().height>this.len/s.length-(f.h-f.f)&&(n.specificTextOverflow="ellipsis"));p.rotation&&(t=m>.5*r.chartHeight?.33*r.chartHeight:m,g||(e="ellipsis")),this.labelAlign=l.align||this.autoLabelAlign(this.labelRotation),this.labelAlign&&(p.align=this.labelAlign),s.forEach((function(n){let i=a[n],r=i&&i.label,o=c.width,s={};r&&(r.attr(p),i.shortenLabel?i.shortenLabel():t&&!o&&"nowrap"!==c.whiteSpace&&(t<r.textPxLength||"SPAN"===r.element.tagName)?(s.width=t+"px",g||(s.textOverflow=r.specificTextOverflow||e),r.css(s)):!r.styles.width||s.width||o||r.css({width:null}),delete r.specificTextOverflow,i.rotation=p.rotation)}),this),this.tickRotCorr=o.rotCorr(f.b,this.labelRotation||0,0!==this.side)}hasData(){return this.series.some((function(t){return t.hasData()}))||this.options.showEmpty&&y(this.min)&&y(this.max)}addTitle(t){let e,n=this.chart.renderer,i=this.horiz,r=this.opposite,o=this.options.title,s=this.chart.styledMode;this.axisTitle||((e=o.textAlign)||(e=(i?{low:"left",middle:"center",high:"right"}:{low:r?"right":"left",middle:"center",high:r?"left":"right"})[o.align]),this.axisTitle=n.text(o.text||"",0,0,o.useHTML).attr({zIndex:7,rotation:o.rotation||0,align:e}).addClass("highcharts-axis-title"),s||this.axisTitle.css(E(o.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),s||o.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t?"show":"hide"](t)}generateTick(t){let e=this.ticks;e[t]?e[t].addLabel():e[t]=new s(this,t)}createGroups(){let{axisParent:t,chart:e,coll:n,options:i}=this,r=e.renderer,o=(e,o,s)=>r.g(e).attr({zIndex:s}).addClass(`highcharts-${n.toLowerCase()}${o} `+(this.isRadial?`highcharts-radial-axis${o} `:"")+(i.className||"")).add(t);this.axisGroup||(this.gridGroup=o("grid","-grid",i.gridZIndex),this.axisGroup=o("axis","",i.zIndex),this.labelGroup=o("axis-labels","-labels",i.labels.zIndex))}getOffset(){let t,e,n,i,r=this,{chart:o,horiz:s,options:a,side:l,ticks:c,tickPositions:u,coll:h}=r,d=o.inverted&&!r.isZAxis?[1,0,3,2][l]:l,p=r.hasData(),f=a.title,g=a.labels,m=O(a.crossing),v=o.axisOffset,b=o.clipOffset,_=[-1,1,1,-1][l],x=0,w=0,k=0;if(r.showAxis=t=p||a.showEmpty,r.staggerLines=r.horiz&&g.staggerLines||void 0,r.createGroups(),p||r.isLinked?(u.forEach((function(t){r.generateTick(t)})),r.renderUnsquish(),r.reserveSpaceDefault=0===l||2===l||{1:"left",3:"right"}[l]===r.labelAlign,L(g.reserveSpace,!m&&null,"center"===r.labelAlign||null,r.reserveSpaceDefault)&&u.forEach((function(t){k=Math.max(c[t].getLabelSize(),k)})),r.staggerLines&&(k*=r.staggerLines),r.labelOffset=k*(r.opposite?-1:1)):M(c,(function(t,e){t.destroy(),delete c[e]})),null!=f&&f.text&&!1!==f.enabled&&(r.addTitle(t),t&&!m&&!1!==f.reserveSpace&&(r.titleOffset=x=r.axisTitle.getBBox()[s?"height":"width"],w=y(e=f.offset)?0:L(f.margin,s?5:10))),r.renderLine(),r.offset=_*L(a.offset,v[l]?v[l]+(a.margin||0):0),r.tickRotCorr=r.tickRotCorr||{x:0,y:0},i=0===l?-r.labelMetrics().h:2===l?r.tickRotCorr.y:0,n=Math.abs(k)+w,k&&(n-=i,n+=_*(s?L(g.y,r.tickRotCorr.y+_*g.distance):L(g.x,_*g.distance))),r.axisTitleMargin=L(e,n),r.getMaxLabelDimensions&&(r.maxLabelDimensions=r.getMaxLabelDimensions(c,u)),"colorAxis"!==h&&b){let t=this.tickSize("tick");v[l]=Math.max(v[l],(r.axisTitleMargin||0)+x+_*r.offset,n,u&&u.length&&t?t[0]+_*r.offset:0);let e=!r.axisLine||a.offset?0:r.axisLine.strokeWidth()/2;b[d]=Math.max(b[d],e)}S(this,"afterGetOffset")}getLinePath(t){let e=this.chart,n=this.opposite,i=this.offset,r=this.horiz,o=this.left+(n?this.width:0)+i,s=e.chartHeight-this.bottom-(n?this.height:0)+i;return n&&(t*=-1),e.renderer.crispLine([["M",r?this.left:o,r?s:this.top],["L",r?e.chartWidth-this.right:o,r?s:e.chartHeight-this.bottom]],t)}renderLine(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))}getTitlePosition(t){let e=this.horiz,n=this.left,i=this.top,r=this.len,o=this.options.title,s=e?n:i,a=this.opposite,l=this.offset,c=o.x,u=o.y,h=this.chart.renderer.fontMetrics(t),d=t?Math.max(t.getBBox(!1,0).height-h.h-1,0):0,p={low:s+(e?0:r),middle:s+r/2,high:s+(e?r:0)}[o.align],f=(e?i+this.height:n)+(e?1:-1)*(a?-1:1)*(this.axisTitleMargin||0)+[-d,d,h.f,-d][this.side],g={x:e?p+c:f+(a?this.width:0)+l+c,y:e?f+u-(a?this.height:0)+l:p+u};return S(this,"afterGetTitlePosition",{titlePosition:g}),g}renderMinorTick(t,e){let n=this.minorTicks;n[t]||(n[t]=new s(this,t,"minor")),e&&n[t].isNew&&n[t].render(null,!0),n[t].render(null,!1,1)}renderTick(t,e,n){let i=this.isLinked,r=this.ticks;(!i||t>=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(r[t]||(r[t]=new s(this,t)),n&&r[t].isNew&&r[t].render(e,!0,-1),r[t].render(e))}render(){let t,e,n=this,i=n.chart,r=n.logarithmic,a=i.renderer,c=n.options,u=n.isLinked,h=n.tickPositions,d=n.axisTitle,p=n.ticks,f=n.minorTicks,g=n.alternateBands,m=c.stackLabels,v=c.alternateGridColor,y=c.crossing,b=n.tickmarkOffset,_=n.axisLine,x=n.showAxis,w=l(a.globalAnimation);if(n.labelEdge.length=0,n.overlap=!1,[p,f,g].forEach((function(t){M(t,(function(t){t.isActive=!1}))})),O(y)){let t=this.isXAxis?i.yAxis[0]:i.xAxis[0],e=[1,-1,-1,1][this.side];if(t){let i=t.toPixels(y,!0);n.horiz&&(i=t.len-i),n.offset=e*i}}if(n.hasData()||u){let a=n.chart.hasRendered&&n.old&&O(n.old.min);n.minorTickInterval&&!n.categories&&n.getMinorTickPositions().forEach((function(t){n.renderMinorTick(t,a)})),h.length&&(h.forEach((function(t,e){n.renderTick(t,e,a)})),b&&(0===n.min||n.single)&&(p[-1]||(p[-1]=new s(n,-1,null,!0)),p[-1].render(-1))),v&&h.forEach((function(s,a){e=void 0!==h[a+1]?h[a+1]+b:n.max-b,a%2==0&&s<n.max&&e<=n.max+(i.polar?-b:b)&&(g[s]||(g[s]=new o.PlotLineOrBand(n,{})),t=s+b,g[s].options={from:r?r.lin2log(t):t,to:r?r.lin2log(e):e,color:v,className:"highcharts-alternate-grid"},g[s].render(),g[s].isActive=!0)})),n._addedPlotLB||(n._addedPlotLB=!0,(c.plotLines||[]).concat(c.plotBands||[]).forEach((function(t){n.addPlotBandOrLine(t)})))}[p,f,g].forEach((function(t){let e=[],n=w.duration;M(t,(function(t,n){t.isActive||(t.render(n,!1,0),t.isActive=!1,e.push(n))})),R((function(){let n=e.length;for(;n--;)t[e[n]]&&!t[e[n]].isActive&&(t[e[n]].destroy(),delete t[e[n]])}),t!==g&&i.hasRendered&&n?n:0)})),_&&(_[_.isPlaced?"animate":"attr"]({d:this.getLinePath(_.strokeWidth())}),_.isPlaced=!0,_[x?"show":"hide"](x)),d&&x&&(d[d.isNew?"attr":"animate"](n.getTitlePosition(d)),d.isNew=!1),m&&m.enabled&&n.stacking&&n.stacking.renderStackTotals(),n.old={len:n.len,max:n.max,min:n.min,transA:n.transA,userMax:n.userMax,userMin:n.userMin},n.isDirty=!1,S(this,"afterRender")}redraw(){this.visible&&(this.render(),this.plotLinesAndBands.forEach((function(t){t.render()}))),this.series.forEach((function(t){t.isDirty=!0}))}getKeepProps(){return this.keepProps||N.keepProps}destroy(t){let e=this,n=e.plotLinesAndBands,i=this.eventOptions;if(S(this,"destroy",{keepEvents:t}),t||D(e),[e.ticks,e.minorTicks,e.alternateBands].forEach((function(t){b(t)})),n){let t=n.length;for(;t--;)n[t].destroy()}for(let t in["axisLine","axisTitle","axisGroup","gridGroup","labelGroup","cross","scrollbar"].forEach((function(t){e[t]&&(e[t]=e[t].destroy())})),e.plotLinesAndBandsGroups)e.plotLinesAndBandsGroups[t]=e.plotLinesAndBandsGroups[t].destroy();M(e,(function(t,n){-1===e.getKeepProps().indexOf(n)&&delete e[n]})),this.eventOptions=i}drawCrosshair(t,e){let i,r,o,s,a=this.crosshair,l=L(a&&a.snap,!0),c=this.chart,u=this.cross;if(S(this,"drawCrosshair",{e:t,point:e}),t||(t=this.cross&&this.cross.e),a&&!1!==(y(e)||!l)){if(l?y(e)&&(r=L("colorAxis"!==this.coll?e.crosshairPos:null,this.isXAxis?e.plotX:this.len-e.plotY)):r=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),y(r)&&(s={value:e&&(this.isXAxis?e.x:L(e.stackY,e.y)),translatedValue:r},c.polar&&w(s,{isCrosshair:!0,chartX:t&&t.chartX,chartY:t&&t.chartY,point:e}),i=this.getPlotLinePath(s)||null),!y(i))return void this.hideCrosshair();o=this.categories&&!this.isRadial,u||(this.cross=u=c.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(o?"category ":"thin ")+(a.className||"")).attr({zIndex:L(a.zIndex,2)}).add(),!c.styledMode&&(u.attr({stroke:a.color||(o?n.parse("#ccd3ff").setOpacity(.25).get():"#cccccc"),"stroke-width":L(a.width,1)}).css({"pointer-events":"none"}),a.dashStyle&&u.attr({dashstyle:a.dashStyle}))),u.show().attr({d:i}),o&&!a.width&&u.attr({"stroke-width":this.transA}),this.cross.e=t}else this.hideCrosshair();S(this,"afterDrawCrosshair",{e:t,point:e})}hideCrosshair(){this.cross&&this.cross.hide(),S(this,"afterHideCrosshair")}update(t,e){let n=this.chart;t=E(this.userOptions,t),this.destroy(!0),this.init(n,t),n.isDirtyBox=!0,L(e,!0)&&n.redraw()}remove(t){let e=this.chart,n=this.coll,i=this.series,r=i.length;for(;r--;)i[r]&&i[r].remove(!1);_(e.axes,this),_(e[n]||[],this),e.orderItems(n),this.destroy(),e.isDirtyBox=!0,L(t,!0)&&e.redraw()}setTitle(t,e){this.update({title:t},e)}setCategories(t,e){this.update({categories:t},e)}}return N.keepProps=["coll","extKey","hcEvents","len","names","series","userMax","userMin"],N})),n(e,"Core/Axis/DateTimeAxis.js",[e["Core/Utilities.js"]],(function(t){var e;let{addEvent:n,getMagnitude:i,normalizeTickInterval:r,timeUnits:o}=t;return function(t){function e(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function s(){"datetime"===this.options.type?this.dateTime||(this.dateTime=new a(this)):this.dateTime=void 0}t.compose=function(t){return t.keepProps.includes("dateTime")||(t.keepProps.push("dateTime"),t.prototype.getTimeTicks=e,n(t,"afterSetOptions",s)),t};class a{constructor(t){this.axis=t}normalizeTimeTickInterval(t,e){let n,s=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]],a=s[s.length-1],l=o[a[0]],c=a[1];for(n=0;n<s.length&&(l=o[(a=s[n])[0]],c=a[1],!(s[n+1]&&t<=(l*c[c.length-1]+o[s[n+1][0]])/2));n++);return l===o.year&&t<5*l&&(c=[1,2,5]),{unitRange:l,count:r(t/l,c,"year"===a[0]?Math.max(i(t/l),1):1),unitName:a[0]}}getXDateFormat(t,e){let{axis:n}=this,i=n.chart.time;return n.closestPointRange?i.getDateFormat(n.closestPointRange,t,n.options.startOfWeek,e)||i.resolveDTLFormat(e.year).main:i.resolveDTLFormat(e.day).main}}t.Additions=a}(e||(e={})),e})),n(e,"Core/Axis/LogarithmicAxis.js",[e["Core/Utilities.js"]],(function(t){var e;let{addEvent:n,normalizeTickInterval:i,pick:r}=t;return function(t){function e(t){let e=t.userOptions,n=this.logarithmic;"logarithmic"!==e.type?this.logarithmic=void 0:n||(n=this.logarithmic=new s(this))}function o(){let t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}t.compose=function(t){return t.keepProps.includes("logarithmic")||(t.keepProps.push("logarithmic"),n(t,"init",e),n(t,"afterInit",o)),t};class s{constructor(t){this.axis=t}getLogTickPositions(t,e,n,o){let s=this.axis,a=s.len,l=s.options,c=[];if(o||(this.minorAutoInterval=void 0),t>=.5)t=Math.round(t),c=s.getLinearTickPositions(t,e,n);else if(t>=.08){let i,r,s,a,l,u,h;for(i=t>.3?[1,2,4]:t>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9],r=Math.floor(e);r<n+1&&!h;r++)for(s=0,a=i.length;s<a&&!h;s++)(l=this.log2lin(this.lin2log(r)*i[s]))>e&&(!o||u<=n)&&void 0!==u&&c.push(u),u>n&&(h=!0),u=l}else{let u=this.lin2log(e),h=this.lin2log(n),d=o?s.getMinorTickInterval():l.tickInterval,p=l.tickPixelInterval/(o?5:1),f=o?a/s.tickPositions.length:a;t=i(t=r("auto"===d?null:d,this.minorAutoInterval,(h-u)*p/(f||1))),c=s.getLinearTickPositions(t,u,h).map(this.log2lin),o||(this.minorAutoInterval=t/5)}return o||(s.tickInterval=t),c}lin2log(t){return Math.pow(10,t)}log2lin(t){return Math.log(t)/Math.LN10}}t.Additions=s}(e||(e={})),e})),n(e,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[e["Core/Utilities.js"]],(function(t){var e;let{erase:n,extend:i,isNumber:r}=t;return function(t){let e;function o(t){return this.addPlotBandOrLine(t,"plotBands")}function s(t,n){let i=this.userOptions,r=new e(this,t);if(this.visible&&(r=r.render()),r){if(this._addedPlotLB||(this._addedPlotLB=!0,(i.plotLines||[]).concat(i.plotBands||[]).forEach((t=>{this.addPlotBandOrLine(t)}))),n){let e=i[n]||[];e.push(t),i[n]=e}this.plotLinesAndBands.push(r)}return r}function a(t){return this.addPlotBandOrLine(t,"plotLines")}function l(t,e,n){n=n||this.options;let i,o,s=this.getPlotLinePath({value:e,force:!0,acrossPanes:n.acrossPanes}),a=[],l=this.horiz,c=!r(this.min)||!r(this.max)||t<this.min&&e<this.min||t>this.max&&e>this.max,u=this.getPlotLinePath({value:t,force:!0,acrossPanes:n.acrossPanes}),h=1;if(u&&s)for(c&&(o=u.toString()===s.toString(),h=0),i=0;i<u.length;i+=2){let t=u[i],e=u[i+1],n=s[i],r=s[i+1];("M"===t[0]||"L"===t[0])&&("M"===e[0]||"L"===e[0])&&("M"===n[0]||"L"===n[0])&&("M"===r[0]||"L"===r[0])&&(l&&n[1]===t[1]?(n[1]+=h,r[1]+=h):l||n[2]!==t[2]||(n[2]+=h,r[2]+=h),a.push(["M",t[1],t[2]],["L",e[1],e[2]],["L",r[1],r[2]],["L",n[1],n[2]],["Z"])),a.isFlat=o}return a}function c(t){this.removePlotBandOrLine(t)}function u(t){let e=this.plotLinesAndBands,i=this.options,r=this.userOptions;if(e){let o=e.length;for(;o--;)e[o].id===t&&e[o].destroy();[i.plotLines||[],r.plotLines||[],i.plotBands||[],r.plotBands||[]].forEach((function(e){for(o=e.length;o--;)(e[o]||{}).id===t&&n(e,e[o])}))}}function h(t){this.removePlotBandOrLine(t)}t.compose=function(t,n){let r=n.prototype;return r.addPlotBand||(e=t,i(r,{addPlotBand:o,addPlotLine:a,addPlotBandOrLine:s,getPlotBandPath:l,removePlotBand:c,removePlotLine:h,removePlotBandOrLine:u})),n}}(e||(e={})),e})),n(e,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[e["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],e["Core/Utilities.js"]],(function(t,e){let{arrayMax:n,arrayMin:i,defined:r,destroyObjectProperties:o,erase:s,fireEvent:a,merge:l,objectEach:c,pick:u}=e;class h{static compose(e){return t.compose(h,e)}constructor(t,e){this.axis=t,this.options=e,this.id=e.id}render(){a(this,"render");let t,{axis:e,options:n}=this,{horiz:i,logarithmic:o}=e,{color:s,events:h,zIndex:d=0}=n,p={},f=e.chart.renderer,g=n.to,m=n.from,v=n.value,y=n.borderWidth,b=n.label,{label:_,svgElem:x}=this,w=[],S=r(m)&&r(g),k=r(v),C=!x,A={class:"highcharts-plot-"+(S?"band ":"line ")+(n.className||"")},O=S?"bands":"lines";if(!e.chart.styledMode&&(k?(A.stroke=s||"#999999",A["stroke-width"]=u(n.width,1),n.dashStyle&&(A.dashstyle=n.dashStyle)):S&&(A.fill=s||"#e6e9ff",y&&(A.stroke=n.borderColor,A["stroke-width"]=y))),p.zIndex=d,O+="-"+d,(t=e.plotLinesAndBandsGroups[O])||(e.plotLinesAndBandsGroups[O]=t=f.g("plot-"+O).attr(p).add()),x||(this.svgElem=x=f.path().attr(A).add(t)),r(v))w=e.getPlotLinePath({value:(null==o?void 0:o.log2lin(v))??v,lineWidth:x.strokeWidth(),acrossPanes:n.acrossPanes});else{if(!r(m)||!r(g))return;w=e.getPlotBandPath((null==o?void 0:o.log2lin(m))??m,(null==o?void 0:o.log2lin(g))??g,n)}return!this.eventsAdded&&h&&(c(h,((t,e)=>{null==x||x.on(e,(t=>{h[e].apply(this,[t])}))})),this.eventsAdded=!0),!C&&x.d||null==w||!w.length?x&&(w?(x.show(),x.animate({d:w})):x.d&&(x.hide(),_&&(this.label=_=_.destroy()))):x.attr({d:w}),b&&(r(b.text)||r(b.formatter))&&null!=w&&w.length&&e.width>0&&e.height>0&&!w.isFlat?(b=l({align:i&&S?"center":void 0,x:i?!S&&4:10,verticalAlign:!i&&S?"middle":void 0,y:i?S?16:10:S?6:-4,rotation:i&&!S?90:0},b),this.renderLabel(b,w,S,d)):_&&_.hide(),this}renderLabel(t,e,r,o){let s=this.axis,a=s.chart.renderer,c=this.label;c||(this.label=c=a.text(this.getLabelText(t),0,0,t.useHTML).attr({align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(r?"band":"line")+"-label "+(t.className||""),zIndex:o}),s.chart.styledMode||c.css(l({fontSize:"0.8em",textOverflow:"ellipsis"},t.style)),c.add());let u=e.xBounds||[e[0][1],e[1][1],r?e[2][1]:e[0][1]],h=e.yBounds||[e[0][2],e[1][2],r?e[2][2]:e[0][2]],d=i(u),p=i(h);if(c.align(t,!1,{x:d,y:p,width:n(u)-d,height:n(h)-p}),!c.alignValue||"left"===c.alignValue){let e=t.clip?s.width:s.chart.chartWidth;c.css({width:(90===c.rotation?s.height-(c.alignAttr.y-s.top):e-(c.alignAttr.x-s.left))+"px"})}c.show(!0)}getLabelText(t){return r(t.formatter)?t.formatter.call(this):t.text}destroy(){s(this.axis.plotLinesAndBands,this),delete this.axis,o(this)}}return h})),n(e,"Core/Tooltip.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n,i,r,o){var s;let{animObject:a}=t,{format:l}=e,{composed:c,doc:u,isSafari:h}=n,{distribute:d}=i,{addEvent:p,clamp:f,css:g,discardElement:m,extend:v,fireEvent:y,isArray:b,isNumber:_,isString:x,merge:w,pick:S,pushUnique:k,splat:C,syncTimeout:A}=o;class O{constructor(t,e,n){this.allowShared=!0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.options={},this.outside=!1,this.chart=t,this.init(t,e),this.pointer=n}bodyFormatter(t){return t.map((function(t){let e=t.series.tooltipOptions;return(e[(t.point.formatPrefix||"point")+"Formatter"]||t.point.tooltipFormatter).call(t.point,e[(t.point.formatPrefix||"point")+"Format"]||"")}))}cleanSplit(t){this.chart.series.forEach((function(e){let n=e&&e.tt;n&&(!n.isActive||t?e.tt=n.destroy():n.isActive=!1)}))}defaultFormatter(t){let e,n=this.points||C(this);return(e=(e=[t.tooltipFooterHeaderFormatter(n[0])]).concat(t.bodyFormatter(n))).push(t.tooltipFooterHeaderFormatter(n[0],!0)),e}destroy(){this.label&&(this.label=this.label.destroy()),this.split&&(this.cleanSplit(!0),this.tt&&(this.tt=this.tt.destroy())),this.renderer&&(this.renderer=this.renderer.destroy(),m(this.container)),o.clearTimeout(this.hideTimer)}getAnchor(t,e){let n,{chart:i,pointer:r}=this,o=i.inverted,s=i.plotTop,a=i.plotLeft;if((t=C(t))[0].series&&t[0].series.yAxis&&!t[0].series.yAxis.options.reversedStacks&&(t=t.slice().reverse()),this.followPointer&&e)void 0===e.chartX&&(e=r.normalize(e)),n=[e.chartX-a,e.chartY-s];else if(t[0].tooltipPos)n=t[0].tooltipPos;else{let i=0,r=0;t.forEach((function(t){let e=t.pos(!0);e&&(i+=e[0],r+=e[1])})),i/=t.length,r/=t.length,this.shared&&t.length>1&&e&&(o?i=e.chartX:r=e.chartY),n=[i-a,r-s]}return n.map(Math.round)}getClassName(t,e,n){let i=this.options,r=t.series,o=r.options;return[i.className,"highcharts-label",n&&"highcharts-tooltip-header",e?"highcharts-tooltip-box":"highcharts-tooltip",!n&&"highcharts-color-"+S(t.colorIndex,r.colorIndex),o&&o.className].filter(x).join(" ")}getLabel(){let t=this,e=this.chart.styledMode,i=this.options,o=this.split&&this.allowShared,s=this.container,a=this.chart.renderer;if(this.label){let t=!this.label.hasClass("highcharts-label");(!o&&t||o&&!t)&&this.destroy()}if(!this.label){if(this.outside){let t=this.chart.options.chart.style,e=r.getRendererType();this.container=s=n.doc.createElement("div"),s.className="highcharts-tooltip-container",g(s,{position:"absolute",top:"1px",pointerEvents:"none",zIndex:Math.max(this.options.style.zIndex||0,(t&&t.zIndex||0)+3)}),this.renderer=a=new e(s,0,0,t,void 0,void 0,a.styledMode)}if(o?this.label=a.g("tooltip"):(this.label=a.label("",0,0,i.shape,void 0,void 0,i.useHTML,void 0,"tooltip").attr({padding:i.padding,r:i.borderRadius}),e||this.label.attr({fill:i.backgroundColor,"stroke-width":i.borderWidth||0}).css(i.style).css({pointerEvents:i.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none")})),t.outside){let e=this.label;[e.xSetter,e.ySetter].forEach(((n,i)=>{e[i?"ySetter":"xSetter"]=r=>{n.call(e,t.distance),e[i?"y":"x"]=r,s&&(s.style[i?"top":"left"]=`${r}px`)}}))}this.label.attr({zIndex:8}).shadow(i.shadow).add()}return s&&!s.parentElement&&n.doc.body.appendChild(s),this.label}getPlayingField(){let{body:t,documentElement:e}=u,{chart:n,distance:i,outside:r}=this;return{width:r?Math.max(t.scrollWidth,e.scrollWidth,t.offsetWidth,e.offsetWidth,e.clientWidth)-2*i:n.chartWidth,height:r?Math.max(t.scrollHeight,e.scrollHeight,t.offsetHeight,e.offsetHeight,e.clientHeight):n.chartHeight}}getPosition(t,e,n){var i,r;let o,{distance:s,chart:a,outside:l,pointer:c}=this,{inverted:u,plotLeft:h,plotTop:d,polar:p}=a,{plotX:f=0,plotY:g=0}=n,m={},v=u&&n.h||0,{height:y,width:b}=this.getPlayingField(),_=c.getChartPosition(),x=t=>t*_.scaleX,w=t=>t*_.scaleY,k=n=>{let i="x"===n;return[n,i?b:y,i?t:e].concat(l?[i?x(t):w(e),i?_.left-s+x(f+h):_.top-s+w(g+d),0,i?b:y]:[i?t:e,i?f+h:g+d,i?h:d,i?h+a.plotWidth:d+a.plotHeight])},C=k("y"),A=k("x"),O=!!n.negative;!p&&null!=(r=null==(i=a.hoverSeries)?void 0:i.yAxis)&&r.reversed&&(O=!O);let T=!this.followPointer&&S(n.ttBelow,!p&&!u===O),E=function(t,e,n,i,r,o,a){let c=l?"y"===t?w(s):x(s):s,u=(n-i)/2,h=i<r-s,d=r+s+i<e,p=r-c-n+u,f=r+c-u;if(T&&d)m[t]=f;else if(!T&&h)m[t]=p;else if(h)m[t]=Math.min(a-i,p-v<0?p:p-v);else{if(!d)return!1;m[t]=Math.max(o,f+v+n>e?f:f+v)}},P=function(t,e,n,i,r){if(r<s||r>e-s)return!1;m[t]=r<n/2?1:r>e-i/2?e-i-2:r-n/2},M=function(t){[C,A]=[A,C],o=t},L=()=>{!1!==E.apply(0,C)?!1!==P.apply(0,A)||o||(M(!0),L()):o?m.x=m.y=0:(M(!0),L())};return(u&&!p||this.len>1)&&M(),L(),m}hide(t){let e=this;o.clearTimeout(this.hideTimer),t=S(t,this.options.hideDelay),this.isHidden||(this.hideTimer=A((function(){let n=e.getLabel();e.getLabel().animate({opacity:0},{duration:t&&150,complete:()=>{n.hide(),e.container&&e.container.remove()}}),e.isHidden=!0}),t))}init(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.isHidden=!0,this.split=e.split&&!t.inverted&&!t.polar,this.shared=e.shared||this.split,this.outside=S(e.outside,!(!t.scrollablePixelsX&&!t.scrollablePixelsY))}shouldStickOnContact(t){return!(this.followPointer||!this.options.stickOnContact||t&&!this.pointer.inClass(t.target,"highcharts-tooltip"))}move(t,e,n,i){let r=this,o=a(!r.isHidden&&r.options.animation),s={x:t,y:e};r.followPointer||(r.len||0)>1||(s.anchorX=n,s.anchorY=i),o.step=()=>r.drawTracker(),r.getLabel().animate(s,o)}refresh(t,e){let{chart:n,options:i,pointer:r,shared:s}=this,a=C(t),c=a[0],u=[],h=i.format,d=i.formatter||this.defaultFormatter,p=n.styledMode,f={};if(!i.enabled||!c.series)return;o.clearTimeout(this.hideTimer),this.allowShared=!(!b(t)&&t.series&&t.series.noSharedTooltip),this.followPointer=!this.split&&c.series.tooltipOptions.followPointer;let g=this.getAnchor(t,e),m=g[0],v=g[1];s&&this.allowShared?(r.applyInactiveState(a),a.forEach((function(t){t.setState("hover"),u.push(t.getLabelConfig())})),(f=c.getLabelConfig()).points=u):f=c.getLabelConfig(),this.len=u.length;let _=x(h)?l(h,f,n):d.call(f,this),w=c.series;if(this.distance=S(w.tooltipOptions.distance,16),!1===_)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(_,a);else{let t=m,o=v;if(e&&r.isDirectTouch&&(t=e.chartX-n.plotLeft,o=e.chartY-n.plotTop),!n.polar&&!1!==w.options.clip&&!a.some((e=>r.isDirectTouch||e.series.shouldShowTooltip(t,o))))return void this.hide();{let t=this.getLabel();(!i.style.width||p)&&t.css({width:(this.outside?this.getPlayingField():n.spacingBox).width+"px"}),t.attr({class:this.getClassName(c),text:_&&_.join?_.join(""):_}),p||t.attr({stroke:i.borderColor||c.color||w.color||"#666666"}),this.updatePosition({plotX:m,plotY:v,negative:c.negative,ttBelow:c.ttBelow,h:g[2]||0})}}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}y(this,"refresh")}renderSplit(t,e){var n;let i=this,{chart:r,chart:{chartWidth:o,chartHeight:s,plotHeight:a,plotLeft:l,plotTop:c,scrollablePixelsY:p=0,scrollablePixelsX:g,styledMode:m},distance:y,options:b,options:{positioner:_},pointer:w}=i,{scrollLeft:k=0,scrollTop:C=0}=(null==(n=r.scrollablePlotArea)?void 0:n.scrollingContainer)||{},A=i.outside&&"number"!=typeof g?u.documentElement.getBoundingClientRect():{left:k,right:k+o,top:C,bottom:C+s},O=i.getLabel(),T=this.renderer||r.renderer,E=!(!r.xAxis[0]||!r.xAxis[0].opposite),{left:P,top:M}=w.getChartPosition(),L=c+C,j=0,D=a-p;function $(t,e,n,r,o=!0){let s,a;return n?(s=E?0:D,a=f(t-r/2,A.left,A.right-r-(i.outside?P:0))):(s=e-L,a=f(a=o?t-r-y:t+y,o?a:A.left,A.right)),{x:a,y:s}}x(t)&&(t=[!1,t]);let R=t.slice(0,e.length+1).reduce((function(t,n,r){if(!1!==n&&""!==n){let o=e[r-1]||{isHeader:!0,plotX:e[0].plotX,plotY:a,series:{}},s=o.isHeader,u=s?i:o.series,h=u.tt=function(t,e,n){let r=t,{isHeader:o,series:s}=e;if(!r){let t={padding:b.padding,r:b.borderRadius};m||(t.fill=b.backgroundColor,t["stroke-width"]=b.borderWidth??1),r=T.label("",0,0,b[o?"headerShape":"shape"],void 0,void 0,b.useHTML).addClass(i.getClassName(e,!0,o)).attr(t).add(O)}return r.isActive=!0,r.attr({text:n}),m||r.css(b.style).attr({stroke:b.borderColor||e.color||s.color||"#333333"}),r}(u.tt,o,n.toString()),d=h.getBBox(),p=d.width+h.strokeWidth();s&&(j=d.height,D+=j,E&&(L-=j));let{anchorX:g,anchorY:v}=function(t){let e,n,{isHeader:i,plotX:r=0,plotY:o=0,series:s}=t;if(i)e=Math.max(l+r,l),n=c+a/2;else{let{xAxis:t,yAxis:i}=s;e=t.pos+f(r,-y,t.len+y),s.shouldShowTooltip(0,i.pos-c+o,{ignoreX:!0})&&(n=i.pos+o)}return{anchorX:e=f(e,A.left-y,A.right+y),anchorY:n}}(o);if("number"==typeof v){let e=d.height+1,n=_?_.call(i,p,e,o):$(g,v,s,p);t.push({align:_?0:void 0,anchorX:g,anchorY:v,boxWidth:p,point:o,rank:S(n.rank,s?1:0),size:e,target:n.y,tt:h,x:n.x})}else h.isActive=!1}return t}),[]);!_&&R.some((t=>{let{outside:e}=i,n=(e?P:0)+t.anchorX;return n<A.left&&n+t.boxWidth<A.right||n<P-A.left+t.boxWidth&&A.right-n>n}))&&(R=R.map((t=>{let{x:e,y:n}=$(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return v(t,{target:n,x:e})}))),i.cleanSplit(),d(R,D);let I={left:P,right:P};R.forEach((function(t){let{x:e,boxWidth:n,isHeader:r}=t;!r&&(i.outside&&P+e<I.left&&(I.left=P+e),!r&&i.outside&&I.left+n>I.right&&(I.right=P+e))})),R.forEach((function(t){let{x:e,anchorX:n,anchorY:r,pos:o,point:{isHeader:s}}=t,a={visibility:void 0===o?"hidden":"inherit",x:e,y:(o||0)+L,anchorX:n,anchorY:r};if(i.outside&&e<n){let t=P-I.left;t>0&&(s||(a.x=e+t,a.anchorX=n+t),s&&(a.x=(I.right-I.left)/2,a.anchorX=n+t))}t.tt.attr(a)}));let{container:N,outside:B,renderer:F}=i;if(B&&N&&F){let{width:t,height:e,x:n,y:i}=O.getBBox();F.setSize(t+n,e+i,!1),N.style.left=I.left+"px",N.style.top=M+"px"}h&&O.attr({opacity:1===O.opacity?.999:1})}drawTracker(){if(!this.shouldStickOnContact())return void(this.tracker&&(this.tracker=this.tracker.destroy()));let t=this.chart,e=this.label,n=this.shared?t.hoverPoints:t.hoverPoint;if(!e||!n)return;let i={x:0,y:0,width:0,height:0},r=this.getAnchor(n),o=e.getBBox();r[0]+=t.plotLeft-(e.translateX||0),r[1]+=t.plotTop-(e.translateY||0),i.x=Math.min(0,r[0]),i.y=Math.min(0,r[1]),i.width=r[0]<0?Math.max(Math.abs(r[0]),o.width-r[0]):Math.max(Math.abs(r[0]),o.width),i.height=r[1]<0?Math.max(Math.abs(r[1]),o.height-Math.abs(r[1])):Math.max(Math.abs(r[1]),o.height),this.tracker?this.tracker.attr(i):(this.tracker=e.renderer.rect(i).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}styledModeFormat(t){return t.replace('style="font-size: 0.8em"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')}tooltipFooterHeaderFormatter(t,e){let n=t.series,i=n.tooltipOptions,r=n.xAxis,o=r&&r.dateTime,s={isFooter:e,labelConfig:t},a=i.xDateFormat,c=i[e?"footerFormat":"headerFormat"];return y(this,"headerFormatter",s,(function(e){o&&!a&&_(t.key)&&(a=o.getXDateFormat(t.key,i.dateTimeLabelFormats)),o&&a&&(t.point&&t.point.tooltipDateKeys||["key"]).forEach((function(t){c=c.replace("{point."+t+"}","{point."+t+":"+a+"}")})),n.chart.styledMode&&(c=this.styledModeFormat(c)),e.text=l(c,{point:t,series:n},this.chart)})),s.text}update(t){this.destroy(),this.init(this.chart,w(!0,this.options,t))}updatePosition(t){let e,{chart:n,container:i,distance:r,options:o,pointer:s,renderer:a}=this,{height:l=0,width:c=0}=this.getLabel(),{left:u,top:h,scaleX:d,scaleY:p}=s.getChartPosition(),f=(o.positioner||this.getPosition).call(this,c,l,t),m=(t.plotX||0)+n.plotLeft,v=(t.plotY||0)+n.plotTop;a&&i&&(o.positioner&&(f.x+=u-r,f.y+=h-r),e=(o.borderWidth||0)+2*r+2,a.setSize(c+e,l+e,!1),(1!==d||1!==p)&&(g(i,{transform:`scale(${d}, ${p})`}),m*=d,v*=p),m+=u-f.x,v+=h-f.y),this.move(Math.round(f.x),Math.round(f.y||0),m,v)}}return(s=O||(O={})).compose=function(t){k(c,"Core.Tooltip")&&p(t,"afterInit",(function(){let t=this.chart;t.options.tooltip&&(t.tooltip=new s(t,t.options.tooltip,this))}))},O})),n(e,"Core/Series/Point.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],(function(t,e,n,i,r){let{animObject:o}=e,{defaultOptions:s}=n,{format:a}=i,{addEvent:l,crisp:c,erase:u,extend:h,fireEvent:d,getNestedProperty:p,isArray:f,isFunction:g,isNumber:m,isObject:v,merge:y,pick:b,syncTimeout:_,removeEvent:x,uniqueKey:w}=r;class S{animateBeforeDestroy(){let t=this,e={x:t.startXPos,opacity:0},n=t.getGraphicalProps();n.singular.forEach((function(n){t[n]=t[n].animate("dataLabel"===n?{x:t[n].startXPos,y:t[n].startYPos,opacity:0}:e)})),n.plural.forEach((function(e){t[e].forEach((function(e){e.element&&e.animate(h({x:t.startXPos},e.startYPos?{x:e.startXPos,y:e.startYPos}:{}))}))}))}applyOptions(t,e){let n=this.series,i=n.options.pointValKey||n.pointValKey;return h(this,t=S.prototype.optionsToObject.call(this,t)),this.options=this.options?h(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,i&&(this.y=S.prototype.getNestedProperty.call(this,i)),this.selected&&(this.state="select"),"name"in this&&void 0===e&&n.xAxis&&n.xAxis.hasNames&&(this.x=n.xAxis.nameToX(this)),void 0===this.x&&n?this.x=e??n.autoIncrement():m(t.x)&&n.options.relativeXValue&&(this.x=n.autoIncrement(t.x)),this.isNull=this.isValid&&!this.isValid(),this.formatPrefix=this.isNull?"null":"point",this}destroy(){if(!this.destroyed){let t=this,e=t.series,n=e.chart,i=e.options.dataSorting,r=n.hoverPoints,s=o(t.series.chart.renderer.globalAnimation),a=()=>{for(let e in(t.graphic||t.graphics||t.dataLabel||t.dataLabels)&&(x(t),t.destroyElements()),t)delete t[e]};t.legendItem&&n.legend.destroyItem(t),r&&(t.setState(),u(r,t),r.length||(n.hoverPoints=null)),t===n.hoverPoint&&t.onMouseOut(),i&&i.enabled?(this.animateBeforeDestroy(),_(a,s.duration)):a(),n.pointCount--}this.destroyed=!0}destroyElements(t){let e=this,n=e.getGraphicalProps(t);n.singular.forEach((function(t){e[t]=e[t].destroy()})),n.plural.forEach((function(t){e[t].forEach((function(t){t&&t.element&&t.destroy()})),delete e[t]}))}firePointEvent(t,e,n){let i=this,r=this.series.options;i.manageEvent(t),"click"===t&&r.allowPointSelect&&(n=function(t){!i.destroyed&&i.select&&i.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),d(i,t,e,n)}getClassName(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")}getGraphicalProps(t){let e,n,i=this,r=[],o={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}).graphic&&r.push("graphic","connector"),t.dataLabel&&r.push("dataLabel","dataLabelPath","dataLabelUpper"),n=r.length;n--;)i[e=r[n]]&&o.singular.push(e);return["graphic","dataLabel"].forEach((function(e){let n=e+"s";t[e]&&i[n]&&o.plural.push(n)})),o}getLabelConfig(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}}getNestedProperty(t){return t?0===t.indexOf("custom.")?p(t,this.options):this[t]:void 0}getZone(){let t,e=this.series,n=e.zones,i=e.zoneAxis||"y",r=0;for(t=n[0];this[i]>=t.value;)t=n[++r];return this.nonZonedColor||(this.nonZonedColor=this.color),t&&t.color&&!this.options.color?this.color=t.color:this.color=this.nonZonedColor,t}hasNewShapeType(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType}constructor(t,e,n){this.formatPrefix="point",this.visible=!0,this.series=t,this.applyOptions(e,n),this.id??(this.id=w()),this.resolveColor(),t.chart.pointCount++,d(this,"afterInit")}isValid(){return(m(this.x)||this.x instanceof Date)&&m(this.y)}optionsToObject(t){let e,n=this.series,i=n.options.keys,r=i||n.pointArrayMap||["y"],o=r.length,s={},a=0,l=0;if(m(t)||null===t)s[r[0]]=t;else if(f(t))for(!i&&t.length>o&&("string"==(e=typeof t[0])?s.name=t[0]:"number"===e&&(s.x=t[0]),a++);l<o;)i&&void 0===t[a]||(r[l].indexOf(".")>0?S.prototype.setNestedProperty(s,t[a],r[l]):s[r[l]]=t[a]),a++,l++;else"object"==typeof t&&(s=t,t.dataLabels&&(n.hasDataLabels=()=>!0),t.marker&&(n._hasPointMarkers=!0));return s}pos(t,e=this.plotY){if(!this.destroyed){let{plotX:n,series:i}=this,{chart:r,xAxis:o,yAxis:s}=i,a=0,l=0;if(m(n)&&m(e))return t&&(a=o?o.pos:r.plotLeft,l=s?s.pos:r.plotTop),r.inverted&&o&&s?[s.len-e+l,o.len-n+a]:[n+a,e+l]}}resolveColor(){let t,e,n,i=this.series,r=i.chart.options.chart,o=i.chart.styledMode,s=r.colorCount;delete this.nonZonedColor,i.options.colorByPoint?(o||(t=(e=i.options.colors||i.chart.options.colors)[i.colorCounter],s=e.length),n=i.colorCounter,i.colorCounter++,i.colorCounter===s&&(i.colorCounter=0)):(o||(t=i.color),n=i.colorIndex),this.colorIndex=b(this.options.colorIndex,n),this.color=b(this.options.color,t)}setNestedProperty(t,e,n){return n.split(".").reduce((function(t,n,i,r){let o=r.length-1===i;return t[n]=o?e:v(t[n],!0)?t[n]:{},t[n]}),t),t}shouldDraw(){return!this.isNull}tooltipFormatter(t){let e=this.series,n=e.tooltipOptions,i=b(n.valueDecimals,""),r=n.valuePrefix||"",o=n.valueSuffix||"";return e.chart.styledMode&&(t=e.chart.tooltip.styledModeFormat(t)),(e.pointArrayMap||["y"]).forEach((function(e){e="{point."+e,(r||o)&&(t=t.replace(RegExp(e+"}","g"),r+e+"}"+o)),t=t.replace(RegExp(e+"}","g"),e+":,."+i+"f}")})),a(t,{point:this,series:this.series},e.chart)}update(t,e,n,i){let r,o=this,s=o.series,a=o.graphic,l=s.chart,c=s.options;function u(){o.applyOptions(t);let i=a&&o.hasMockGraphic,u=null===o.y?!i:i;a&&u&&(o.graphic=a.destroy(),delete o.hasMockGraphic),v(t,!0)&&(a&&a.element&&t&&t.marker&&void 0!==t.marker.symbol&&(o.graphic=a.destroy()),null!=t&&t.dataLabels&&o.dataLabel&&(o.dataLabel=o.dataLabel.destroy())),r=o.index,s.updateParallelArrays(o,r),c.data[r]=v(c.data[r],!0)||v(t,!0)?o.options:b(t,c.data[r]),s.isDirty=s.isDirtyData=!0,!s.fixedBox&&s.hasCartesianSeries&&(l.isDirtyBox=!0),"point"===c.legendType&&(l.isDirtyLegend=!0),e&&l.redraw(n)}e=b(e,!0),!1===i?u():o.firePointEvent("update",{options:t},u)}remove(t,e){this.series.removePoint(this.series.data.indexOf(this),t,e)}select(t,e){let n=this,i=n.series,r=i.chart;t=b(t,!n.selected),this.selectedStaging=t,n.firePointEvent(t?"select":"unselect",{accumulate:e},(function(){n.selected=n.options.selected=t,i.options.data[i.data.indexOf(n)]=n.options,n.setState(t&&"select"),e||r.getSelectedPoints().forEach((function(t){let e=t.series;t.selected&&t!==n&&(t.selected=t.options.selected=!1,e.options.data[e.data.indexOf(t)]=t.options,t.setState(r.hoverPoints&&e.options.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))}))})),delete this.selectedStaging}onMouseOver(t){let{inverted:e,pointer:n}=this.series.chart;n&&(t=t?n.normalize(t):n.getChartCoordinatesFromPoint(this,e),n.runPointActions(t,this))}onMouseOut(){let t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach((function(t){t.setState()})),t.hoverPoints=t.hoverPoint=null}manageEvent(t){var e,n,i,r,o,s;let a=null==(e=y(this.series.options.point,this.options).events)?void 0:e[t];!g(a)||null!=(n=this.hcEvents)&&n[t]&&-1!==(null==(r=null==(i=this.hcEvents)?void 0:i[t])?void 0:r.map((t=>t.fn)).indexOf(a))?this.importedUserEvent&&!a&&null!=(s=this.hcEvents)&&s[t]&&(x(this,t),delete this.hcEvents[t],Object.keys(this.hcEvents)||delete this.importedUserEvent):(null==(o=this.importedUserEvent)||o.call(this),this.importedUserEvent=l(this,t,a))}setState(e,n){var i;let r,o,a,l,c=this.series,u=this.state,p=c.options.states[e||"normal"]||{},f=s.plotOptions[c.type].marker&&c.options.marker,g=f&&!1===f.enabled,v=f&&f.states&&f.states[e||"normal"]||{},y=!1===v.enabled,_=this.marker||{},x=c.chart,w=f&&c.markerAttribs,S=c.halo,k=c.stateMarkerGraphic;if((e=e||"")===this.state&&!n||this.selected&&"select"!==e||!1===p.enabled||e&&(y||g&&!1===v.enabled)||e&&_.states&&_.states[e]&&!1===_.states[e].enabled)return;if(this.state=e,w&&(r=c.markerAttribs(this,e)),this.graphic&&!this.hasMockGraphic){if(u&&this.graphic.removeClass("highcharts-point-"+u),e&&this.graphic.addClass("highcharts-point-"+e),!x.styledMode){o=c.pointAttribs(this,e),a=b(x.options.chart.animation,p.animation);let t=o.opacity;c.options.inactiveOtherPoints&&m(t)&&(this.dataLabels||[]).forEach((function(e){e&&!e.hasClass("highcharts-data-label-hidden")&&(e.animate({opacity:t},a),e.connector&&e.connector.animate({opacity:t},a))})),this.graphic.animate(o,a)}r&&this.graphic.animate(r,b(x.options.chart.animation,v.animation,f.animation)),k&&k.hide()}else e&&v&&(l=_.symbol||c.symbol,k&&k.currentSymbol!==l&&(k=k.destroy()),r&&(k?k[n?"animate":"attr"]({x:r.x,y:r.y}):l&&(c.stateMarkerGraphic=k=x.renderer.symbol(l,r.x,r.y,r.width,r.height).add(c.markerGroup),k.currentSymbol=l)),!x.styledMode&&k&&"inactive"!==this.state&&k.attr(c.pointAttribs(this,e))),k&&(k[e&&this.isInside?"show":"hide"](),k.element.point=this,k.addClass(this.getClassName(),!0));let C=p.halo,A=this.graphic||k,O=A&&A.visibility||"inherit";C&&C.size&&A&&"hidden"!==O&&!this.isCluster?(S||(c.halo=S=x.renderer.path().add(A.parentGroup)),S.show()[n?"animate":"attr"]({d:this.haloPath(C.size)}),S.attr({class:"highcharts-halo highcharts-color-"+b(this.colorIndex,c.colorIndex)+(this.className?" "+this.className:""),visibility:O,zIndex:-1}),S.point=this,x.styledMode||S.attr(h({fill:this.color||c.color,"fill-opacity":C.opacity},t.filterUserAttributes(C.attributes||{})))):null!=(i=null==S?void 0:S.point)&&i.haloPath&&!S.point.destroyed&&S.animate({d:S.point.haloPath(0)},null,S.hide),d(this,"afterSetState",{state:e})}haloPath(t){let e=this.pos();return e?this.series.chart.renderer.symbols.circle(c(e[0],1)-t,e[1]-t,2*t,2*t):[]}}return S})),n(e,"Core/Pointer.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,n){var i;let{parse:r}=t,{charts:o,composed:s,isTouchDevice:a}=e,{addEvent:l,attr:c,css:u,extend:h,find:d,fireEvent:p,isNumber:f,isObject:g,objectEach:m,offset:v,pick:y,pushUnique:b,splat:_}=n;class x{applyInactiveState(t){let e,n=[];(t||[]).forEach((function(t){e=t.series,n.push(e),e.linkedParent&&n.push(e.linkedParent),e.linkedSeries&&(n=n.concat(e.linkedSeries)),e.navigatorSeries&&n.push(e.navigatorSeries)})),this.chart.series.forEach((function(t){-1===n.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")}))}destroy(){let t=this;this.eventsToUnbind.forEach((t=>t())),this.eventsToUnbind=[],!e.chartCount&&(x.unbindDocumentMouseUp&&(x.unbindDocumentMouseUp=x.unbindDocumentMouseUp()),x.unbindDocumentTouchEnd&&(x.unbindDocumentTouchEnd=x.unbindDocumentTouchEnd())),clearInterval(t.tooltipTimeout),m(t,(function(e,n){t[n]=void 0}))}getSelectionMarkerAttrs(t,e){let n={args:{chartX:t,chartY:e},attrs:{},shapeType:"rect"};return p(this,"getSelectionMarkerAttrs",n,(n=>{let i,{chart:r,zoomHor:o,zoomVert:s}=this,{mouseDownX:a=0,mouseDownY:l=0}=r,c=n.attrs;c.x=r.plotLeft,c.y=r.plotTop,c.width=o?1:r.plotWidth,c.height=s?1:r.plotHeight,o&&(i=t-a,c.width=Math.max(1,Math.abs(i)),c.x=(i>0?0:i)+a),s&&(i=e-l,c.height=Math.max(1,Math.abs(i)),c.y=(i>0?0:i)+l)})),n}drag(t){let e,{chart:n}=this,{mouseDownX:i=0,mouseDownY:o=0}=n,{panning:s,panKey:a,selectionMarkerFill:l}=n.options.chart,c=n.plotLeft,u=n.plotTop,h=n.plotWidth,d=n.plotHeight,p=g(s)?s.enabled:s,f=a&&t[`${a}Key`],m=t.chartX,v=t.chartY,y=this.selectionMarker;if((!y||!y.touch)&&(m<c?m=c:m>c+h&&(m=c+h),v<u?v=u:v>u+d&&(v=u+d),this.hasDragged=Math.sqrt(Math.pow(i-m,2)+Math.pow(o-v,2)),this.hasDragged>10)){e=n.isInsidePlot(i-c,o-u,{visiblePlotOnly:!0});let{shapeType:a,attrs:h}=this.getSelectionMarkerAttrs(m,v);(n.hasCartesianSeries||n.mapView)&&this.hasZoom&&e&&!f&&!y&&(this.selectionMarker=y=n.renderer[a](),y.attr({class:"highcharts-selection-marker",zIndex:7}).add(),n.styledMode||y.attr({fill:l||r("#334eff").setOpacity(.25).get()})),y&&y.attr(h),e&&!y&&p&&n.pan(t,s)}}dragStart(t){let e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=t.chartX,e.mouseDownY=t.chartY}getSelectionBox(t){let e={args:{marker:t},result:t.getBBox()};return p(this,"getSelectionBox",e),e.result}drop(t){let e,{chart:n,selectionMarker:i}=this;for(let t of n.axes)t.isPanning&&(t.isPanning=!1,(t.options.startOnTick||t.options.endOnTick||t.series.some((t=>t.boosted)))&&(t.forceRedraw=!0,t.setExtremes(t.userMin,t.userMax,!1),e=!0));if(e&&n.redraw(),i&&t){if(this.hasDragged){let e=this.getSelectionBox(i);n.transform({axes:n.axes.filter((t=>t.zoomEnabled&&("xAxis"===t.coll&&this.zoomX||"yAxis"===t.coll&&this.zoomY))),selection:{originalEvent:t,xAxis:[],yAxis:[],...e},from:e})}f(n.index)&&(this.selectionMarker=i.destroy())}n&&f(n.index)&&(u(n.container,{cursor:n._cursor}),n.cancelClick=this.hasDragged>10,n.mouseIsDown=!1,this.hasDragged=0,this.pinchDown=[])}findNearestKDPoint(t,e,n){let i;return t.forEach((function(t){let r=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y"),o=t.searchPoint(n,r);g(o,!0)&&o.series&&(!g(i,!0)||function(t,n){var i,r;let o=t.distX-n.distX,s=t.dist-n.dist,a=(null==(i=n.series.group)?void 0:i.zIndex)-(null==(r=t.series.group)?void 0:r.zIndex);return 0!==o&&e?o:0!==s?s:0!==a?a:t.series.index>n.series.index?-1:1}(i,o)>0)&&(i=o)})),i}getChartCoordinatesFromPoint(t,e){let{xAxis:n,yAxis:i}=t.series,r=t.shapeArgs;if(n&&i){let o=t.clientX??t.plotX??0,s=t.plotY||0;return t.isNode&&r&&f(r.x)&&f(r.y)&&(o=r.x,s=r.y),e?{chartX:i.len+i.pos-s,chartY:n.len+n.pos-o}:{chartX:o+n.pos,chartY:s+i.pos}}if(r&&r.x&&r.y)return{chartX:r.x,chartY:r.y}}getChartPosition(){if(this.chartPosition)return this.chartPosition;let{container:t}=this.chart,e=v(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};let{offsetHeight:n,offsetWidth:i}=t;return i>2&&n>2&&(this.chartPosition.scaleX=e.width/i,this.chartPosition.scaleY=e.height/n),this.chartPosition}getCoordinates(t){let e={xAxis:[],yAxis:[]};for(let n of this.chart.axes)e[n.isXAxis?"xAxis":"yAxis"].push({axis:n,value:n.toValue(t[n.horiz?"chartX":"chartY"])});return e}getHoverData(t,e,n,i,r,o){let s,a=[],l=function(t){return t.visible&&!(!r&&t.directTouch)&&y(t.options.enableMouseTracking,!0)},c=e,u={chartX:o?o.chartX:void 0,chartY:o?o.chartY:void 0,shared:r};p(this,"beforeGetHoverData",u),s=c&&!c.stickyTracking?[c]:n.filter((t=>t.stickyTracking&&(u.filter||l)(t)));let h=i&&t||!o?t:this.findNearestKDPoint(s,r,o);return c=h&&h.series,h&&(r&&!c.noSharedTooltip?(s=n.filter((function(t){return u.filter?u.filter(t):l(t)&&!t.noSharedTooltip}))).forEach((function(t){let e=d(t.points,(function(t){return t.x===h.x&&!t.isNull}));g(e)&&(t.boosted&&t.boost&&(e=t.boost.getPoint(e)),a.push(e))})):a.push(h)),p(this,"afterGetHoverData",u={hoverPoint:h}),{hoverPoint:u.hoverPoint,hoverSeries:c,hoverPoints:a}}getPointFromEvent(t){let e,n=t.target;for(;n&&!e;)e=n.point,n=n.parentNode;return e}onTrackerMouseOut(t){let e=this.chart,n=t.relatedTarget,i=e.hoverSeries;this.isDirectTouch=!1,!i||!n||i.stickyTracking||this.inClass(n,"highcharts-tooltip")||this.inClass(n,"highcharts-series-"+i.index)&&this.inClass(n,"highcharts-tracker")||i.onMouseOut()}inClass(t,e){let n,i=t;for(;i;){if(n=c(i,"class")){if(-1!==n.indexOf(e))return!0;if(-1!==n.indexOf("highcharts-container"))return!1}i=i.parentElement}}constructor(t,e){var n;this.hasDragged=0,this.pointerCaptureEventsToUnbind=[],this.eventsToUnbind=[],this.options=e,this.chart=t,this.runChartClick=!(null==(n=e.chart.events)||!n.click),this.pinchDown=[],this.setDOMEvents(),p(this,"afterInit")}normalize(t,e){let n=t.touches,i=n?n.length?n.item(0):y(n.changedTouches,t.changedTouches)[0]:t;e||(e=this.getChartPosition());let r=i.pageX-e.left,o=i.pageY-e.top;return h(t,{chartX:Math.round(r/=e.scaleX),chartY:Math.round(o/=e.scaleY)})}onContainerClick(t){let e=this.chart,n=e.hoverPoint,i=this.normalize(t),r=e.plotLeft,o=e.plotTop;!e.cancelClick&&(n&&this.inClass(i.target,"highcharts-tracker")?(p(n.series,"click",h(i,{point:n})),e.hoverPoint&&n.firePointEvent("click",i)):(h(i,this.getCoordinates(i)),e.isInsidePlot(i.chartX-r,i.chartY-o,{visiblePlotOnly:!0})&&p(e,"click",i)))}onContainerMouseDown(t){var n;let i=!(1&~(t.buttons||t.button));t=this.normalize(t),e.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),(void 0===t.button||i)&&(this.zoomOption(t),i&&(null==(n=t.preventDefault)||n.call(t)),this.dragStart(t))}onContainerMouseLeave(t){let{pointer:e}=o[y(x.hoverChartIndex,-1)]||{};t=this.normalize(t),this.onContainerMouseMove(t),e&&!this.inClass(t.relatedTarget,"highcharts-tooltip")&&(e.reset(),e.chartPosition=void 0)}onContainerMouseEnter(){delete this.chartPosition}onContainerMouseMove(t){let e=this.chart,n=e.tooltip,i=this.normalize(t);this.setHoverChartIndex(t),("mousedown"===e.mouseIsDown||this.touchSelect(i))&&this.drag(i),!e.openMenu&&(this.inClass(i.target,"highcharts-tracker")||e.isInsidePlot(i.chartX-e.plotLeft,i.chartY-e.plotTop,{visiblePlotOnly:!0}))&&(!n||!n.shouldStickOnContact(i))&&(this.inClass(i.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(i))}onDocumentTouchEnd(t){this.onDocumentMouseUp(t)}onContainerTouchMove(t){this.touchSelect(t)?this.onContainerMouseMove(t):this.touch(t)}onContainerTouchStart(t){this.touchSelect(t)?this.onContainerMouseDown(t):(this.zoomOption(t),this.touch(t,!0))}onDocumentMouseMove(t){let e=this.chart,n=e.tooltip,i=this.chartPosition,r=this.normalize(t,i);!i||e.isInsidePlot(r.chartX-e.plotLeft,r.chartY-e.plotTop,{visiblePlotOnly:!0})||n&&n.shouldStickOnContact(r)||r.target!==e.container.ownerDocument&&this.inClass(r.target,"highcharts-tracker")||this.reset()}onDocumentMouseUp(t){var e,n;null==(n=null==(e=o[y(x.hoverChartIndex,-1)])?void 0:e.pointer)||n.drop(t)}pinch(t){let e=this,{chart:n,hasZoom:i,lastTouches:r}=e,o=[].map.call(t.touches||[],(t=>e.normalize(t))),s=o.length,a=1===s&&(e.inClass(t.target,"highcharts-tracker")&&n.runTrackerClick||e.runChartClick),l=n.tooltip,c=1===s&&y(null==l?void 0:l.options.followTouchMove,!0);s>1?e.initiated=!0:c&&(e.initiated=!1),i&&e.initiated&&!a&&!1!==t.cancelable&&t.preventDefault(),"touchstart"===t.type?(e.pinchDown=o,e.res=!0,n.mouseDownX=t.chartX):c?this.runPointActions(e.normalize(t)):r&&(p(n,"touchpan",{originalEvent:t,touches:o},(()=>{let e=t=>{let e=t[0],n=t[1]||e;return{x:e.chartX,y:e.chartY,width:n.chartX-e.chartX,height:n.chartY-e.chartY}};n.transform({axes:n.axes.filter((t=>t.zoomEnabled&&(this.zoomHor&&t.horiz||this.zoomVert&&!t.horiz))),to:e(o),from:e(r),trigger:t.type})})),e.res&&(e.res=!1,this.reset(!1,0))),e.lastTouches=o}reset(t,e){let n=this.chart,i=n.hoverSeries,r=n.hoverPoint,o=n.hoverPoints,s=n.tooltip,a=s&&s.shared?o:r;t&&a&&_(a).forEach((function(e){e.series.isCartesian&&void 0===e.plotX&&(t=!1)})),t?s&&a&&_(a).length&&(s.refresh(a),s.shared&&o?o.forEach((function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))})):r&&(r.setState(r.state,!0),n.axes.forEach((function(t){t.crosshair&&r.series[t.coll]===t&&t.drawCrosshair(null,r)})))):(r&&r.onMouseOut(),o&&o.forEach((function(t){t.setState()})),i&&i.onMouseOut(),s&&s.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),n.axes.forEach((function(t){t.hideCrosshair()})),n.hoverPoints=n.hoverPoint=void 0)}runPointActions(t,e,n){let i=this.chart,r=i.series,s=i.tooltip&&i.tooltip.options.enabled?i.tooltip:void 0,a=!!s&&s.shared,c=e||i.hoverPoint,u=c&&c.series||i.hoverSeries,h=(!t||"touchmove"!==t.type)&&(!!e||u&&u.directTouch&&this.isDirectTouch),p=this.getHoverData(c,u,r,h,a,t);c=p.hoverPoint,u=p.hoverSeries;let f=p.hoverPoints,g=u&&u.tooltipOptions.followPointer&&!u.tooltipOptions.split,m=a&&u&&!u.noSharedTooltip;if(c&&(n||c!==i.hoverPoint||s&&s.isHidden)){if((i.hoverPoints||[]).forEach((function(t){-1===f.indexOf(t)&&t.setState()})),i.hoverSeries!==u&&u.onMouseOver(),this.applyInactiveState(f),(f||[]).forEach((function(t){t.setState("hover")})),i.hoverPoint&&i.hoverPoint.firePointEvent("mouseOut"),!c.series)return;i.hoverPoints=f,i.hoverPoint=c,c.firePointEvent("mouseOver",void 0,(()=>{s&&c&&s.refresh(m?f:c,t)}))}else if(g&&s&&!s.isHidden){let e=s.getAnchor([{}],t);i.isInsidePlot(e[0],e[1],{visiblePlotOnly:!0})&&s.updatePosition({plotX:e[0],plotY:e[1]})}this.unDocMouseMove||(this.unDocMouseMove=l(i.container.ownerDocument,"mousemove",(t=>{var e,n;return null==(n=null==(e=o[x.hoverChartIndex??-1])?void 0:e.pointer)?void 0:n.onDocumentMouseMove(t)})),this.eventsToUnbind.push(this.unDocMouseMove)),i.axes.forEach((function(e){let n,r=y((e.crosshair||{}).snap,!0);!r||(n=i.hoverPoint)&&n.series[e.coll]===e||(n=d(f,(t=>t.series&&t.series[e.coll]===e))),n||!r?e.drawCrosshair(t,n):e.hideCrosshair()}))}setDOMEvents(){let t=this.chart.container,e=t.ownerDocument;t.onmousedown=this.onContainerMouseDown.bind(this),t.onmousemove=this.onContainerMouseMove.bind(this),t.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(l(t,"mouseenter",this.onContainerMouseEnter.bind(this)),l(t,"mouseleave",this.onContainerMouseLeave.bind(this))),x.unbindDocumentMouseUp||(x.unbindDocumentMouseUp=l(e,"mouseup",this.onDocumentMouseUp.bind(this)));let n=this.chart.renderTo.parentElement;for(;n&&"BODY"!==n.tagName;)this.eventsToUnbind.push(l(n,"scroll",(()=>{delete this.chartPosition}))),n=n.parentElement;this.eventsToUnbind.push(l(t,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1}),l(t,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),x.unbindDocumentTouchEnd||(x.unbindDocumentTouchEnd=l(e,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})),this.setPointerCapture(),l(this.chart,"redraw",this.setPointerCapture.bind(this))}setPointerCapture(){var t,e;if(!a)return;let n=this.pointerCaptureEventsToUnbind,i=this.chart,r=i.container,o=y(null==(t=i.options.tooltip)?void 0:t.followTouchMove,!0)&&i.series.some((t=>t.options.findNearestPointBy.indexOf("y")>-1));!this.hasPointerCapture&&o?(n.push(l(r,"pointerdown",(t=>{var e,n;null!=(e=t.target)&&e.hasPointerCapture(t.pointerId)&&(null==(n=t.target)||n.releasePointerCapture(t.pointerId))})),l(r,"pointermove",(t=>{var e,n;null==(n=null==(e=i.pointer)?void 0:e.getPointFromEvent(t))||n.onMouseOver(t)}))),i.styledMode||u(r,{"touch-action":"none"}),r.className+=" highcharts-no-touch-action",this.hasPointerCapture=!0):this.hasPointerCapture&&!o&&(n.forEach((t=>t())),n.length=0,i.styledMode||u(r,{"touch-action":y(null==(e=i.options.chart.style)?void 0:e["touch-action"],"manipulation")}),r.className=r.className.replace(" highcharts-no-touch-action",""),this.hasPointerCapture=!1)}setHoverChartIndex(t){var n;let i=this.chart,r=e.charts[y(x.hoverChartIndex,-1)];if(r&&r!==i){let e={relatedTarget:i.container};t&&!(null!=t&&t.relatedTarget)&&(t={...e,...t}),null==(n=r.pointer)||n.onContainerMouseLeave(t||e)}r&&r.mouseIsDown||(x.hoverChartIndex=i.index)}touch(t,e){let n,{chart:i,pinchDown:r=[]}=this;this.setHoverChartIndex(),1===(t=this.normalize(t)).touches.length?i.isInsidePlot(t.chartX-i.plotLeft,t.chartY-i.plotTop,{visiblePlotOnly:!0})&&!i.openMenu?(e&&this.runPointActions(t),"touchmove"===t.type&&(n=!!r[0]&&Math.pow(r[0].chartX-t.chartX,2)+Math.pow(r[0].chartY-t.chartY,2)>=16),y(n,!0)&&this.pinch(t)):e&&this.reset():2===t.touches.length&&this.pinch(t)}touchSelect(t){return!(!this.chart.zooming.singleTouch||!t.touches||1!==t.touches.length)}zoomOption(t){let e,n,i=this.chart,r=i.inverted,o=i.zooming.type||"";/touch/.test(t.type)&&(o=y(i.zooming.pinchType,o)),this.zoomX=e=/x/.test(o),this.zoomY=n=/y/.test(o),this.zoomHor=e&&!r||n&&r,this.zoomVert=n&&!r||e&&r,this.hasZoom=e||n}}return(i=x||(x={})).compose=function(t){b(s,"Core.Pointer")&&l(t,"beforeRender",(function(){this.pointer=new i(this,this.options)}))},x})),n(e,"Core/Legend/LegendSymbol.js",[e["Core/Utilities.js"]],(function(t){var e;let{extend:n,merge:i,pick:r}=t;return function(t){function e(t,e,o){var s;let a,l=this.legendItem=this.legendItem||{},{chart:c,options:u}=this,{baseline:h=0,symbolWidth:d,symbolHeight:p}=t,f=this.symbol||"circle",g=p/2,m=c.renderer,v=l.group,y=h-Math.round(p*(o?.4:.3)),b={},_=u.marker,x=0;if(c.styledMode||(b["stroke-width"]=Math.min(u.lineWidth||0,24),u.dashStyle?b.dashstyle=u.dashStyle:"square"===u.linecap||(b["stroke-linecap"]="round")),l.line=m.path().addClass("highcharts-graph").attr(b).add(v),o&&(l.area=m.path().addClass("highcharts-area").add(v)),b["stroke-linecap"]&&(x=Math.min(l.line.strokeWidth(),d)/2),d){let t=[["M",x,y],["L",d-x,y]];l.line.attr({d:t}),null==(s=l.area)||s.attr({d:[...t,["L",d-x,h],["L",x,h]]})}if(_&&!1!==_.enabled&&d){let t=Math.min(r(_.radius,g),g);0===f.indexOf("url")&&(_=i(_,{width:p,height:p}),t=0),l.symbol=a=m.symbol(f,d/2-t,y-t,2*t,2*t,n({context:"legend"},_)).addClass("highcharts-point").add(v),a.isMarker=!0}}t.areaMarker=function(t,n){e.call(this,t,n,!0)},t.lineMarker=e,t.rectangle=function(t,e){let n=e.legendItem||{},i=t.options,o=t.symbolHeight,s=i.squareSymbol,a=s?o:t.symbolWidth;n.symbol=this.chart.renderer.rect(s?(t.symbolWidth-o)/2:0,t.baseline-o+1,a,o,r(t.options.symbolRadius,o/2)).addClass("highcharts-point").attr({zIndex:3}).add(n.group)}}(e||(e={})),e})),n(e,"Core/Series/SeriesDefaults.js",[],(function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},enableMouseTracking:!0,events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:150},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:!0,formatter:function(){let{numberFormatter:t}=this.series.chart;return"number"!=typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"0.7em",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:150},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:150},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}})),n(e,"Core/Series/SeriesRegistry.js",[e["Core/Globals.js"],e["Core/Defaults.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],(function(t,e,n,i){var r;let{defaultOptions:o}=e,{extend:s,extendClass:a,merge:l}=i;return function(e){function i(t,i){let r=o.plotOptions||{},s=i.defaultOptions,a=i.prototype;return a.type=t,a.pointClass||(a.pointClass=n),!e.seriesTypes[t]&&(s&&(r[t]=s),e.seriesTypes[t]=i,!0)}e.seriesTypes=t.seriesTypes,e.registerSeriesType=i,e.seriesType=function(t,r,c,u,h){let d=o.plotOptions||{};if(r=r||"",d[t]=l(d[r],c),delete e.seriesTypes[t],i(t,a(e.seriesTypes[r]||function(){},u)),e.seriesTypes[t].prototype.type=t,h){class i extends n{}s(i.prototype,h),e.seriesTypes[t].prototype.pointClass=i}return e.seriesTypes[t]}}(r||(r={})),r})),n(e,"Core/Series/Series.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/Point.js"],e["Core/Series/SeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],(function(t,e,n,i,r,o,s,a,l,c){let{animObject:u,setAnimation:h}=t,{defaultOptions:d}=e,{registerEventOptions:p}=n,{svg:f,win:g}=i,{seriesTypes:m}=a,{arrayMax:v,arrayMin:y,clamp:b,correctFloat:_,crisp:x,defined:w,destroyObjectProperties:S,diffObjects:k,erase:C,error:A,extend:O,find:T,fireEvent:E,getClosestDistance:P,getNestedProperty:M,insertItem:L,isArray:j,isNumber:D,isString:$,merge:R,objectEach:I,pick:N,removeEvent:B,splat:F,syncTimeout:z}=c;class V{constructor(){this.zoneAxis="y"}init(t,e){let n;E(this,"init",{options:e});let i=this,r=t.series;this.eventsToUnbind=[],i.chart=t,i.options=i.setOptions(e);let o=i.options,s=!1!==o.visible;i.linkedSeries=[],i.bindAxes(),O(i,{name:o.name,state:"",visible:s,selected:!0===o.selected}),p(this,o);let a=o.events;(a&&a.click||o.point&&o.point.events&&o.point.events.click||o.allowPointSelect)&&(t.runTrackerClick=!0),i.getColor(),i.getSymbol(),i.parallelArrays.forEach((function(t){i[t+"Data"]||(i[t+"Data"]=[])})),i.isCartesian&&(t.hasCartesianSeries=!0),r.length&&(n=r[r.length-1]),i._i=N(n&&n._i,-1)+1,i.opacity=i.options.opacity,t.orderItems("series",L(this,r)),o.dataSorting&&o.dataSorting.enabled?i.setDataSortingOptions():i.points||i.data||i.setData(o.data,!1),E(this,"afterInit")}is(t){return m[t]&&this instanceof m[t]}bindAxes(){let t,e=this,n=e.options,i=e.chart;E(this,"bindAxes",null,(function(){(e.axisTypes||[]).forEach((function(r){(i[r]||[]).forEach((function(i){t=i.options,(N(n[r],0)===i.index||void 0!==n[r]&&n[r]===t.id)&&(L(e,i.series),e[r]=i,i.isDirty=!0)})),e[r]||e.optionalAxis===r||A(18,!0,i)}))})),E(this,"afterBindAxes")}updateParallelArrays(t,e,n){let i=t.series,r=D(e)?function(n){let r="y"===n&&i.toYData?i.toYData(t):t[n];i[n+"Data"][e]=r}:function(t){Array.prototype[e].apply(i[t+"Data"],n)};i.parallelArrays.forEach(r)}hasData(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&this.yData.length>0}hasMarkerChanged(t,e){let n=t.marker,i=e.marker||{};return n&&(i.enabled&&!n.enabled||i.symbol!==n.symbol||i.height!==n.height||i.width!==n.width)}autoIncrement(t){let e,n,i=this.options,r=i.pointIntervalUnit,o=i.relativeXValue,s=this.chart.time,a=this.xIncrement;return a=N(a,i.pointStart,0),this.pointInterval=n=N(this.pointInterval,i.pointInterval,1),o&&D(t)&&(n*=t),r&&(e=new s.Date(a),"day"===r?s.set("Date",e,s.get("Date",e)+n):"month"===r?s.set("Month",e,s.get("Month",e)+n):"year"===r&&s.set("FullYear",e,s.get("FullYear",e)+n),n=e.getTime()-a),o&&D(t)?a+n:(this.xIncrement=a+n,a)}setDataSortingOptions(){let t=this.options;O(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),w(t.pointRange)||(t.pointRange=1)}setOptions(t){var e,n;let i,r=this.chart,o=r.options.plotOptions,s=r.userOptions||{},a=R(t),l=r.styledMode,c={plotOptions:o,userOptions:a};E(this,"setOptions",c);let u=c.plotOptions[this.type],h=s.plotOptions||{},p=h.series||{},f=d.plotOptions[this.type]||{},g=h[this.type]||{};this.userOptions=c.userOptions;let m=R(u,o.series,g,a);this.tooltipOptions=R(d.tooltip,null==(e=d.plotOptions.series)?void 0:e.tooltip,null==f?void 0:f.tooltip,r.userOptions.tooltip,null==(n=h.series)?void 0:n.tooltip,g.tooltip,a.tooltip),this.stickyTracking=N(a.stickyTracking,g.stickyTracking,p.stickyTracking,!!this.tooltipOptions.shared&&!this.noSharedTooltip||m.stickyTracking),null===u.marker&&delete m.marker,this.zoneAxis=m.zoneAxis||"y";let v=this.zones=(m.zones||[]).map((t=>({...t})));return(m.negativeColor||m.negativeFillColor)&&!m.zones&&(i={value:m[this.zoneAxis+"Threshold"]||m.threshold||0,className:"highcharts-negative"},l||(i.color=m.negativeColor,i.fillColor=m.negativeFillColor),v.push(i)),v.length&&w(v[v.length-1].value)&&v.push(l?{}:{color:this.color,fillColor:this.fillColor}),E(this,"afterSetOptions",{options:m}),m}getName(){return N(this.options.name,"Series "+(this.index+1))}getCyclic(t,e,n){let i,r,o=this.chart,s=`${t}Index`,a=`${t}Counter`,l=(null==n?void 0:n.length)||o.options.chart.colorCount;!e&&(w(r=N("color"===t?this.options.colorIndex:void 0,this[s]))?i=r:(o.series.length||(o[a]=0),i=o[a]%l,o[a]+=1),n&&(e=n[i])),void 0!==i&&(this[s]=i),this[t]=e}getColor(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||d.plotOptions[this.type].color,this.chart.options.colors)}getPointsCollection(){return(this.hasGroupedData?this.points:this.data)||[]}getSymbol(){let t=this.options.marker;this.getCyclic("symbol",t.symbol,this.chart.options.symbols)}findPointIndex(t,e){let n,i,r,s=t.id,a=t.x,l=this.points,c=this.options.dataSorting;if(s){let t=this.chart.get(s);t instanceof o&&(n=t)}else if(this.linkedParent||this.enabledDataSorting||this.options.relativeXValue){let e=e=>!e.touched&&e.index===t.index;if(c&&c.matchByName?e=e=>!e.touched&&e.name===t.name:this.options.relativeXValue&&(e=e=>!e.touched&&e.options.x===t.x),!(n=T(l,e)))return}return n&&void 0!==(r=n&&n.index)&&(i=!0),void 0===r&&D(a)&&(r=this.xData.indexOf(a,e)),-1!==r&&void 0!==r&&this.cropped&&(r=r>=this.cropStart?r-this.cropStart:r),!i&&D(r)&&l[r]&&l[r].touched&&(r=void 0),r}updateData(t,e){let n,i,r,o,s=this.options,a=s.dataSorting,l=this.points,c=[],u=this.requireSorting,h=t.length===l.length,d=!0;if(this.xIncrement=null,t.forEach((function(t,e){let i,r=w(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},d=r.x;r.id||D(d)?(-1===(i=this.findPointIndex(r,o))||void 0===i?c.push(t):l[i]&&t!==s.data[i]?(l[i].update(t,!1,null,!1),l[i].touched=!0,u&&(o=i+1)):l[i]&&(l[i].touched=!0),(!h||e!==i||a&&a.enabled||this.hasDerivedData)&&(n=!0)):c.push(t)}),this),n)for(i=l.length;i--;)(r=l[i])&&!r.touched&&r.remove&&r.remove(!1,e);else!h||a&&a.enabled?d=!1:(t.forEach((function(t,e){t===l[e].y||l[e].destroyed||l[e].update(t,!1,null,!1)})),c.length=0);return l.forEach((function(t){t&&(t.touched=!1)})),!!d&&(c.forEach((function(t){this.addPoint(t,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=v(this.xData),this.autoIncrement()),!0)}setData(t,e=!0,n,i){var r;let o,s,a,l,c=this,u=c.points,h=u&&u.length||0,d=c.options,p=c.chart,f=d.dataSorting,g=c.xAxis,m=d.turboThreshold,v=this.xData,y=this.yData,b=c.pointArrayMap,_=b&&b.length,x=d.keys,w=0,S=1;p.options.chart.allowMutatingData||(d.data&&delete c.options.data,c.userOptions.data&&delete c.userOptions.data,l=R(!0,t));let k=(t=l||t||[]).length;if(f&&f.enabled&&(t=this.sortData(t)),p.options.chart.allowMutatingData&&!1!==i&&k&&h&&!c.cropped&&!c.hasGroupedData&&c.visible&&!c.boosted&&(a=this.updateData(t,n)),!a){c.xIncrement=null,c.colorCounter=0,this.parallelArrays.forEach((function(t){c[t+"Data"].length=0}));let e=m&&k>m;if(e){let n=c.getFirstValidPoint(t),i=c.getFirstValidPoint(t,k-1,-1),r=t=>!(!j(t)||!x&&!D(t[0]));if(D(n)&&D(i))for(o=0;o<k;o++)v[o]=this.autoIncrement(),y[o]=t[o];else if(r(n)&&r(i))if(_)if(n.length===_)for(o=0;o<k;o++)v[o]=this.autoIncrement(),y[o]=t[o];else for(o=0;o<k;o++)s=t[o],v[o]=s[0],y[o]=s.slice(1,_+1);else if(x&&(w=x.indexOf("x"),S=x.indexOf("y"),w=w>=0?w:0,S=S>=0?S:1),1===n.length&&(S=0),w===S)for(o=0;o<k;o++)v[o]=this.autoIncrement(),y[o]=t[o][S];else for(o=0;o<k;o++)s=t[o],v[o]=s[w],y[o]=s[S];else e=!1}if(!e)for(o=0;o<k;o++)s={series:c},c.pointClass.prototype.applyOptions.apply(s,[t[o]]),c.updateParallelArrays(s,o);for(y&&$(y[0])&&A(14,!0,p),c.data=[],c.options.data=c.userOptions.data=t,o=h;o--;)null==(r=u[o])||r.destroy();g&&(g.minRange=g.userMinRange),c.isDirty=p.isDirtyBox=!0,c.isDirtyData=!!u,n=!1}"point"===d.legendType&&(this.processData(),this.generatePoints()),e&&p.redraw(n)}sortData(t){let e=this,n=e.options.dataSorting.sortKey||"y",i=function(t,e){return w(e)&&t.pointClass.prototype.optionsToObject.call({series:t},e)||{}};return t.forEach((function(n,r){t[r]=i(e,n),t[r].index=r}),this),t.concat().sort(((t,e)=>{let i=M(n,t),r=M(n,e);return r<i?-1:r>i?1:0})).forEach((function(t,e){t.x=e}),this),e.linkedSeries&&e.linkedSeries.forEach((function(e){let n=e.options,r=n.data;n.dataSorting&&n.dataSorting.enabled||!r||(r.forEach((function(n,o){r[o]=i(e,n),t[o]&&(r[o].x=t[o].x,r[o].index=o)})),e.setData(r,!1))})),t}getProcessedData(t){let e,n,i,r,o,s=this,a=s.xAxis,l=s.options.cropThreshold,c=null==a?void 0:a.logarithmic,u=s.isCartesian,h=0,d=s.xData,p=s.yData,f=!1,g=d.length;a&&(r=(i=a.getExtremes()).min,o=i.max,f=!(!a.categories||a.names.length)),u&&s.sorted&&!t&&(!l||g>l||s.forceCrop)&&(d[g-1]<r||d[0]>o?(d=[],p=[]):s.yData&&(d[0]<r||d[g-1]>o)&&(d=(e=this.cropData(s.xData,s.yData,r,o)).xData,p=e.yData,h=e.start,n=!0));let m=P([c?d.map(c.log2lin):d],(()=>s.requireSorting&&!f&&A(15,!1,s.chart)));return{xData:d,yData:p,cropped:n,cropStart:h,closestPointRange:m}}processData(t){let e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;let n=this.getProcessedData();this.cropped=n.cropped,this.cropStart=n.cropStart,this.processedXData=n.xData,this.processedYData=n.yData,this.closestPointRange=this.basePointRange=n.closestPointRange,E(this,"afterProcessData")}cropData(t,e,n,i){let r,o,s=t.length,a=0,l=s;for(r=0;r<s;r++)if(t[r]>=n){a=Math.max(0,r-1);break}for(o=r;o<s;o++)if(t[o]>i){l=o+1;break}return{xData:t.slice(a,l),yData:e.slice(a,l),start:a,end:l}}generatePoints(){let t,e,n,i,r=this.options,o=this.processedData||r.data,s=this.processedXData,a=this.processedYData,l=this.pointClass,c=s.length,u=this.cropStart||0,h=this.hasGroupedData,d=r.keys,p=[],f=r.dataGrouping&&r.dataGrouping.groupAll?u:0,g=this.data;if(!g&&!h){let t=[];t.length=o.length,g=this.data=t}for(d&&h&&(this.options.keys=!1),i=0;i<c;i++)e=u+i,h?((n=new l(this,[s[i]].concat(F(a[i])))).dataGroup=this.groupMap[f+i],n.dataGroup.options&&(n.options=n.dataGroup.options,O(n,n.dataGroup.options),delete n.dataLabels)):(n=g[e])||void 0===o[e]||(g[e]=n=new l(this,o[e],s[i])),n&&(n.index=h?f+i:e,p[i]=n);if(this.options.keys=d,g&&(c!==(t=g.length)||h))for(i=0;i<t;i++)i!==u||h||(i+=c),g[i]&&(g[i].destroyElements(),g[i].plotX=void 0);this.data=g,this.points=p,E(this,"afterGeneratePoints")}getXExtremes(t){return{min:y(t),max:v(t)}}getExtremes(t,e){let n,i,r,o,s,a,l,c=this.xAxis,u=this.yAxis,h=[],d=this.requireSorting&&!this.is("column")?1:0,p=!!u&&u.positiveValuesOnly,f=e||this.getExtremesFromAll||this.options.getExtremesFromAll,{processedXData:g,processedYData:m}=this,b=0,_=0,x=0;if(this.cropped&&f){let t=this.getProcessedData(!0);g=t.xData,m=t.yData}let w=(t=t||this.stackedYData||m||[]).length,S=g||this.xData;for(c&&(b=(n=c.getExtremes()).min,_=n.max),a=0;a<w;a++)if(o=S[a],i=(D(s=t[a])||j(s))&&((D(s)?s>0:s.length)||!p),r=e||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!c||(S[a+d]||o)>=b&&(S[a-d]||o)<=_,i&&r)if(l=s.length)for(;l--;)D(s[l])&&(h[x++]=s[l]);else h[x++]=s;let k={activeYData:h,dataMin:y(h),dataMax:v(h)};return E(this,"afterGetExtremes",{dataExtremes:k}),k}applyExtremes(){let t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t}getFirstValidPoint(t,e=0,n=1){let i=t.length,r=e;for(;r>=0&&r<i;){if(w(t[r]))return t[r];r+=n}}translate(){var t;this.processedXData||this.processData(),this.generatePoints();let e,n,i,r,o=this.options,s=o.stacking,a=this.xAxis,l=a.categories,c=this.enabledDataSorting,u=this.yAxis,h=this.points,d=h.length,p=this.pointPlacementToXValue(),f=!!p,g=o.threshold,m=o.startFromThreshold?g:0,v=Number.MAX_VALUE;function y(t){return b(t,-1e5,1e5)}for(e=0;e<d;e++){let o,d,b,x=h[e],S=x.x,k=x.y,C=x.low,A=s&&(null==(t=u.stacking)?void 0:t.stacks[(this.negStacks&&k<(m?0:g)?"-":"")+this.stackKey]);n=a.translate(S,!1,!1,!1,!0,p),x.plotX=D(n)?_(y(n)):void 0,s&&this.visible&&A&&A[S]&&(r=this.getStackIndicator(r,S,this.index),!x.isNull&&r.key&&(b=(d=A[S]).points[r.key]),d&&j(b)&&(C=b[0],k=b[1],C===m&&r.key===A[S].base&&(C=N(D(g)?g:u.min)),u.positiveValuesOnly&&w(C)&&C<=0&&(C=void 0),x.total=x.stackTotal=N(d.total),x.percentage=w(x.y)&&d.total?x.y/d.total*100:void 0,x.stackY=k,this.irregularWidths||d.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))),x.yBottom=w(C)?y(u.translate(C,!1,!0,!1,!0)):void 0,this.dataModify&&(k=this.dataModify.modifyValue(k,e)),D(k)&&void 0!==x.plotX&&(o=D(o=u.translate(k,!1,!0,!1,!0))?y(o):void 0),x.plotY=o,x.isInside=this.isPointInside(x),x.clientX=f?_(a.translate(S,!1,!1,!1,!0,p)):n,x.negative=(x.y||0)<(g||0),x.category=N(l&&l[x.x],x.x),x.isNull||!1===x.visible||(void 0!==i&&(v=Math.min(v,Math.abs(n-i))),i=n),x.zone=this.zones.length?x.getZone():void 0,!x.graphic&&this.group&&c&&(x.isNew=!0)}this.closestPointRangePx=v,E(this,"afterTranslate")}getValidPoints(t,e,n){let i=this.chart;return(t||this.points||[]).filter((function(t){let{plotX:r,plotY:o}=t;return!(!(n||!t.isNull&&D(o))||e&&!i.isInsidePlot(r,o,{inverted:i.inverted}))&&!1!==t.visible}))}getClipBox(){let{chart:t,xAxis:e,yAxis:n}=this,{x:i,y:r,width:o,height:s}=R(t.clipBox);return e&&e.len!==t.plotSizeX&&(o=e.len),n&&n.len!==t.plotSizeY&&(s=n.len),t.inverted&&!this.invertible&&([o,s]=[s,o]),{x:i,y:r,width:o,height:s}}getSharedClipKey(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0),this.sharedClipKey}setClip(){let{chart:t,group:e,markerGroup:n}=this,i=t.sharedClips,r=t.renderer,o=this.getClipBox(),s=this.getSharedClipKey(),a=i[s];a?a.animate(o):i[s]=a=r.clipRect(o),e&&e.clip(!1===this.options.clip?void 0:a),n&&n.clip()}animate(t){let{chart:e,group:n,markerGroup:i}=this,r=e.inverted,o=u(this.options.animation),s=[this.getSharedClipKey(),o.duration,o.easing,o.defer].join(","),a=e.sharedClips[s],l=e.sharedClips[s+"m"];if(t&&n){let t=this.getClipBox();if(a)a.attr("height",t.height);else{t.width=0,r&&(t.x=e.plotHeight),a=e.renderer.clipRect(t),e.sharedClips[s]=a;let n={x:-99,y:-99,width:r?e.plotWidth+199:99,height:r?99:e.plotHeight+199};l=e.renderer.clipRect(n),e.sharedClips[s+"m"]=l}n.clip(a),null==i||i.clip(l)}else if(a&&!a.hasClass("highcharts-animating")){let t=this.getClipBox(),n=o.step;(null!=i&&i.element.childNodes.length||e.series.length>1)&&(o.step=function(t,e){n&&n.apply(e,arguments),"width"===e.prop&&null!=l&&l.element&&l.attr(r?"height":"width",t+99)}),a.addClass("highcharts-animating").animate(t,o)}}afterAnimate(){this.setClip(),I(this.chart.sharedClips,((t,e,n)=>{t&&!this.chart.container.querySelector(`[clip-path="url(#${t.id})"]`)&&(t.destroy(),delete n[e])})),this.finishedAnimating=!0,E(this,"afterAnimate")}drawPoints(t=this.points){let e,n,i,r,o,s,a,l=this.chart,c=l.styledMode,{colorAxis:u,options:h}=this,d=h.marker,p=this[this.specialGroup||"markerGroup"],f=this.xAxis,g=N(d.enabled,!f||!!f.isRadial||null,this.closestPointRangePx>=d.enabledThreshold*d.radius);if(!1!==d.enabled||this._hasPointMarkers)for(e=0;e<t.length;e++)if(r=(i=(n=t[e]).graphic)?"animate":"attr",o=n.marker||{},s=!!n.marker,(g&&void 0===o.enabled||o.enabled)&&!n.isNull&&!1!==n.visible){let t=N(o.symbol,this.symbol,"rect");a=this.markerAttribs(n,n.selected&&"select"),this.enabledDataSorting&&(n.startXPos=f.reversed?-(a.width||0):f.width);let e=!1!==n.isInside;if(!i&&e&&((a.width||0)>0||n.hasImage)&&(n.graphic=i=l.renderer.symbol(t,a.x,a.y,a.width,a.height,s?o:d).add(p),this.enabledDataSorting&&l.hasRendered&&(i.attr({x:n.startXPos}),r="animate")),i&&"animate"===r&&i[e?"show":"hide"](e).animate(a),i){let t=this.pointAttribs(n,c||!n.selected?void 0:"select");c?u&&i.css({fill:t.fill}):i[r](t)}i&&i.addClass(n.getClassName(),!0)}else i&&(n.graphic=i.destroy())}markerAttribs(t,e){let n,i,r=this.options,o=r.marker,s=t.marker||{},a=s.symbol||o.symbol,l={},c=N(s.radius,o&&o.radius);e&&(n=o.states[e],c=N((i=s.states&&s.states[e])&&i.radius,n&&n.radius,c&&c+(n&&n.radiusPlus||0))),t.hasImage=a&&0===a.indexOf("url"),t.hasImage&&(c=0);let u=t.pos();return D(c)&&u&&(r.crisp&&(u[0]=x(u[0],t.hasImage?0:"rect"===a?(null==o?void 0:o.lineWidth)||0:1)),l.x=u[0]-c,l.y=u[1]-c),c&&(l.width=l.height=2*c),l}pointAttribs(t,e){let n,i,r,o,s=this.options.marker,a=t&&t.options,l=a&&a.marker||{},c=a&&a.color,u=t&&t.color,h=t&&t.zone&&t.zone.color,d=this.color,p=N(l.lineWidth,s.lineWidth),f=1;return d=c||h||u||d,r=l.fillColor||s.fillColor||d,o=l.lineColor||s.lineColor||d,e=e||"normal",n=s.states[e]||{},p=N((i=l.states&&l.states[e]||{}).lineWidth,n.lineWidth,p+N(i.lineWidthPlus,n.lineWidthPlus,0)),r=i.fillColor||n.fillColor||r,{stroke:o=i.lineColor||n.lineColor||o,"stroke-width":p,fill:r,opacity:f=N(i.opacity,n.opacity,f)}}destroy(t){let e,n,i,r=this,o=r.chart,s=/AppleWebKit\/533/.test(g.navigator.userAgent),a=r.data||[];for(E(r,"destroy",{keepEventsForUpdate:t}),this.removeEvents(t),(r.axisTypes||[]).forEach((function(t){(i=r[t])&&i.series&&(C(i.series,r),i.isDirty=i.forceRedraw=!0)})),r.legendItem&&r.chart.legend.destroyItem(r),e=a.length;e--;)(n=a[e])&&n.destroy&&n.destroy();for(let t of r.zones)S(t,void 0,!0);c.clearTimeout(r.animationTimeout),I(r,(function(t,e){t instanceof l&&!t.survive&&t[s&&"group"===e?"hide":"destroy"]()})),o.hoverSeries===r&&(o.hoverSeries=void 0),C(o.series,r),o.orderItems("series"),I(r,(function(e,n){t&&"hcEvents"===n||delete r[n]}))}applyZones(){let{area:t,chart:e,graph:n,zones:i,points:r,xAxis:o,yAxis:s,zoneAxis:a}=this,{inverted:l,renderer:c}=e,u=this[`${a}Axis`],{isXAxis:h,len:d=0}=u||{},p=((null==n?void 0:n.strokeWidth())||0)/2+1,f=(t,e=0,n=0)=>{l&&(n=d-n);let{translated:i=0,lineClip:r}=t,o=n-i;null==r||r.push(["L",e,Math.abs(o)<p?n-p*(o<=0?-1:1):i])};if(i.length&&(n||t)&&u&&D(u.min)){let e=u.getExtremes().max,p=t=>{t.forEach(((e,n)=>{("M"===e[0]||"L"===e[0])&&(t[n]=[e[0],h?d-e[1]:e[1],h?e[2]:d-e[2]])}))};if(i.forEach((t=>{t.lineClip=[],t.translated=b(u.toPixels(N(t.value,e),!0)||0,0,d)})),n&&!this.showLine&&n.hide(),t&&t.hide(),"y"===a&&r.length<o.len)for(let t of r){let{plotX:e,plotY:n,zone:r}=t,o=r&&i[i.indexOf(r)-1];r&&f(r,e,n),o&&f(o,e,n)}let g=[],m=u.toPixels(u.getExtremes().min,!0);i.forEach((e=>{var i,r;let a=e.lineClip||[],u=Math.round(e.translated||0);o.reversed&&a.reverse();let{clip:d,simpleClip:f}=e,v=0,y=0,b=o.len,_=s.len;h?(v=u,b=m):(y=u,_=m);let x=[["M",v,y],["L",b,y],["L",b,_],["L",v,_],["Z"]],w=[x[0],...a,x[1],x[2],...g,x[3],x[4]];g=a.reverse(),m=u,l&&(p(w),t&&p(x)),d?(d.animate({d:w}),null==f||f.animate({d:x})):(d=e.clip=c.path(w),t&&(f=e.simpleClip=c.path(x))),n&&(null==(i=e.graph)||i.clip(d)),t&&(null==(r=e.area)||r.clip(f))}))}else this.visible&&(n&&n.show(),t&&t.show())}plotGroup(t,e,n,i,r){let o=this[t],s=!o,a={visibility:n,zIndex:i||.1};return w(this.opacity)&&!this.chart.styledMode&&"inactive"!==this.state&&(a.opacity=this.opacity),o||(this[t]=o=this.chart.renderer.g().add(r)),o.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(w(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(o.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),o.attr(a)[s?"attr":"animate"](this.getPlotBox(e)),o}getPlotBox(t){let e=this.xAxis,n=this.yAxis,i=this.chart,r=i.inverted&&!i.polar&&e&&this.invertible&&"series"===t;return i.inverted&&(e=n,n=this.xAxis),{translateX:e?e.left:i.plotLeft,translateY:n?n.top:i.plotTop,rotation:r?90:0,rotationOriginX:r?(e.len-n.len)/2:0,rotationOriginY:r?(e.len+n.len)/2:0,scaleX:r?-1:1,scaleY:1}}removeEvents(t){let{eventsToUnbind:e}=this;t||B(this),e.length&&(e.forEach((t=>{t()})),e.length=0)}render(){var t,e,n,i,r;let o=this,{chart:s,options:a,hasRendered:l}=o,c=u(a.animation),h=o.visible?"inherit":"hidden",d=a.zIndex,p=s.seriesGroup,f=o.finishedAnimating?0:c.duration;E(this,"render"),o.plotGroup("group","series",h,d,p),o.markerGroup=o.plotGroup("markerGroup","markers",h,d,p),!1!==a.clip&&o.setClip(),f&&(null==(t=o.animate)||t.call(o,!0)),o.drawGraph&&(o.drawGraph(),o.applyZones()),o.visible&&o.drawPoints(),null==(e=o.drawDataLabels)||e.call(o),null==(n=o.redrawPoints)||n.call(o),a.enableMouseTracking&&(null==(i=o.drawTracker)||i.call(o)),f&&(null==(r=o.animate)||r.call(o)),l||(f&&c.defer&&(f+=c.defer),o.animationTimeout=z((()=>{o.afterAnimate()}),f||0)),o.isDirty=!1,o.hasRendered=!0,E(o,"afterRender")}redraw(){let t=this.isDirty||this.isDirtyData;this.translate(),this.render(),t&&delete this.kdTree}reserveSpace(){return this.visible||!this.chart.options.chart.ignoreHiddenSeries}searchPoint(t,e){let{xAxis:n,yAxis:i}=this,r=this.chart.inverted;return this.searchKDTree({clientX:r?n.len-t.chartY+n.pos:t.chartX-n.pos,plotY:r?i.len-t.chartX+i.pos:t.chartY-i.pos},e,t)}buildKDTree(t){this.buildingKdTree=!0;let e=this,n=e.options.findNearestPointBy.indexOf("y")>-1?2:1;delete e.kdTree,z((function(){e.kdTree=function t(n,i,r){let o,s,a=null==n?void 0:n.length;if(a)return o=e.kdAxisArray[i%r],n.sort(((t,e)=>(t[o]||0)-(e[o]||0))),{point:n[s=Math.floor(a/2)],left:t(n.slice(0,s),i+1,r),right:t(n.slice(s+1),i+1,r)}}(e.getValidPoints(void 0,!e.directTouch),n,n),e.buildingKdTree=!1}),e.options.kdNow||"touchstart"===(null==t?void 0:t.type)?0:1)}searchKDTree(t,e,n){let i=this,[r,o]=this.kdAxisArray,s=e?"distX":"dist",a=(i.options.findNearestPointBy||"").indexOf("y")>-1?2:1,l=!!i.isBubble;if(this.kdTree||this.buildingKdTree||this.buildKDTree(n),this.kdTree)return function t(e,n,a,c){var u;let h,d,p=n.point,f=i.kdAxisArray[a%c],g=p;!function(t,e){var n;let i=t[r],s=e[r],a=w(i)&&w(s)?i-s:null,c=t[o],u=e[o],h=w(c)&&w(u)?c-u:0,d=l&&(null==(n=e.marker)?void 0:n.radius)||0;e.dist=Math.sqrt((a&&a*a||0)+h*h)-d,e.distX=w(a)?Math.abs(a)-d:Number.MAX_VALUE}(e,p);let m=(e[f]||0)-(p[f]||0)+(l&&(null==(u=p.marker)?void 0:u.radius)||0),v=m<0?"left":"right",y=m<0?"right":"left";return n[v]&&(g=(h=t(e,n[v],a+1,c))[s]<g[s]?h:p),n[y]&&Math.sqrt(m*m)<g[s]&&(g=(d=t(e,n[y],a+1,c))[s]<g[s]?d:g),g}(t,this.kdTree,a,a)}pointPlacementToXValue(){let{options:t,xAxis:e}=this,n=t.pointPlacement;return"between"===n&&(n=e.reversed?-.5:.5),D(n)?n*(t.pointRange||e.pointRange):0}isPointInside(t){let{chart:e,xAxis:n,yAxis:i}=this,{plotX:r=-1,plotY:o=-1}=t;return o>=0&&o<=(i?i.len:e.plotHeight)&&r>=0&&r<=(n?n.len:e.plotWidth)}drawTracker(){var t;let e=this,n=e.options,i=n.trackByArea,r=[].concat((i?e.areaPath:e.graphPath)||[]),o=e.chart,s=o.pointer,a=o.renderer,l=(null==(t=o.options.tooltip)?void 0:t.snap)||0,c=()=>{n.enableMouseTracking&&o.hoverSeries!==e&&e.onMouseOver()},u="rgba(192,192,192,"+(f?1e-4:.002)+")",h=e.tracker;h?h.attr({d:r}):e.graph&&(e.tracker=h=a.path(r).attr({visibility:e.visible?"inherit":"hidden",zIndex:2}).addClass(i?"highcharts-tracker-area":"highcharts-tracker-line").add(e.group),o.styledMode||h.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:u,fill:i?u:"none","stroke-width":e.graph.strokeWidth()+(i?0:2*l)}),[e.tracker,e.markerGroup,e.dataLabelsGroup].forEach((t=>{t&&(t.addClass("highcharts-tracker").on("mouseover",c).on("mouseout",(t=>{null==s||s.onTrackerMouseOut(t)})),n.cursor&&!o.styledMode&&t.css({cursor:n.cursor}),t.on("touchstart",c))}))),E(this,"afterDrawTracker")}addPoint(t,e,n,i,r){let o,s,a=this.options,l=this.data,c=this.chart,u=this.xAxis,h=u&&u.hasNames&&u.names,d=a.data,p=this.xData;e=N(e,!0);let f={series:this};this.pointClass.prototype.applyOptions.apply(f,[t]);let g=f.x;if(s=p.length,this.requireSorting&&g<p[s-1])for(o=!0;s&&p[s-1]>g;)s--;this.updateParallelArrays(f,"splice",[s,0,0]),this.updateParallelArrays(f,s),h&&f.name&&(h[g]=f.name),d.splice(s,0,t),(o||this.processedData)&&(this.data.splice(s,0,null),this.processData()),"point"===a.legendType&&this.generatePoints(),n&&(l[0]&&l[0].remove?l[0].remove(!1):(l.shift(),this.updateParallelArrays(f,"shift"),d.shift())),!1!==r&&E(this,"addPoint",{point:f}),this.isDirty=!0,this.isDirtyData=!0,e&&c.redraw(i)}removePoint(t,e,n){let i=this,r=i.data,o=r[t],s=i.points,a=i.chart,l=function(){s&&s.length===r.length&&s.splice(t,1),r.splice(t,1),i.options.data.splice(t,1),i.updateParallelArrays(o||{series:i},"splice",[t,1]),o&&o.destroy(),i.isDirty=!0,i.isDirtyData=!0,e&&a.redraw()};h(n,a),e=N(e,!0),o?o.firePointEvent("remove",null,l):l()}remove(t,e,n,i){let r=this,o=r.chart;function s(){r.destroy(i),o.isDirtyLegend=o.isDirtyBox=!0,o.linkSeries(i),N(t,!0)&&o.redraw(e)}!1!==n?E(r,"remove",null,s):s()}update(t,e){var n,i,r;E(this,"update",{options:t=k(t,this.userOptions)});let o,s,a=this,l=a.chart,c=a.userOptions,u=a.initialType||a.type,h=l.options.plotOptions,d=m[u].prototype,p=a.finishedAnimating&&{animation:!1},f={},g=["colorIndex","eventOptions","navigatorSeries","symbolIndex","baseSeries"],v=t.type||c.type||l.options.chart.type,y=!(this.hasDerivedData||v&&v!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||void 0!==t.relativeXValue||t.joinBy||t.mapData||["dataGrouping","pointStart","pointInterval","pointIntervalUnit","keys"].some((t=>a.hasOptionChanged(t))));v=v||u,y&&(g.push("data","isDirtyData","isDirtyCanvas","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","hasDataLabels","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX","transformGroups"),!1!==t.visible&&g.push("area","graph"),a.parallelArrays.forEach((function(t){g.push(t+"Data")})),t.data&&(t.dataSorting&&O(a.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=R(c,{index:void 0===c.index?a.index:c.index,pointStart:(null==(n=null==h?void 0:h.series)?void 0:n.pointStart)??c.pointStart??(null==(i=a.xData)?void 0:i[0])},!y&&{data:a.options.data},t,p),y&&t.data&&(t.data=a.options.data),(g=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(g)).forEach((function(t){g[t]=a[t],delete a[t]}));let b=!1;if(m[v]){if(b=v!==a.type,a.remove(!1,!1,!1,!0),b)if(l.propFromSeries(),Object.setPrototypeOf)Object.setPrototypeOf(a,m[v].prototype);else{let t=Object.hasOwnProperty.call(a,"hcEvents")&&a.hcEvents;for(s in d)a[s]=void 0;O(a,m[v].prototype),t?a.hcEvents=t:delete a.hcEvents}}else A(17,!0,l,{missingModuleFor:v});if(g.forEach((function(t){a[t]=g[t]})),a.init(l,t),y&&this.points)for(let t of(!1===(o=a.options).visible?(f.graphic=1,f.dataLabel=1):(this.hasMarkerChanged(o,c)&&(f.graphic=1),null!=(r=a.hasDataLabels)&&r.call(a)||(f.dataLabel=1)),this.points))t&&t.series&&(t.resolveColor(),Object.keys(f).length&&t.destroyElements(f),!1===o.showInLegend&&t.legendItem&&l.legend.destroyItem(t));a.initialType=u,l.linkSeries(),l.setSortedData(),b&&a.linkedSeries.length&&(a.isDirtyData=!0),E(this,"afterUpdate"),N(e,!0)&&l.redraw(!!y&&void 0)}setName(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0}hasOptionChanged(t){var e,n;let i=this.chart,r=this.options[t],o=i.options.plotOptions,s=this.userOptions[t],a=N(null==(e=null==o?void 0:o[this.type])?void 0:e[t],null==(n=null==o?void 0:o.series)?void 0:n[t]);return s&&!w(a)?r!==s:r!==N(a,r)}onMouseOver(){let t=this.chart,e=t.hoverSeries,n=t.pointer;null==n||n.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&E(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this}onMouseOut(){let t=this.options,e=this.chart,n=e.tooltip,i=e.hoverPoint;e.hoverSeries=null,i&&i.onMouseOut(),this&&t.events.mouseOut&&E(this,"mouseOut"),n&&!this.stickyTracking&&(!n.shared||this.noSharedTooltip)&&n.hide(),e.series.forEach((function(t){t.setState("",!0)}))}setState(t,e){let n=this,i=n.options,r=n.graph,o=i.inactiveOtherPoints,s=i.states,a=N(s[t||"normal"]&&s[t||"normal"].animation,n.chart.options.chart.animation),l=i.lineWidth,c=i.opacity;if(t=t||"",n.state!==t&&([n.group,n.markerGroup,n.dataLabelsGroup].forEach((function(e){e&&(n.state&&e.removeClass("highcharts-series-"+n.state),t&&e.addClass("highcharts-series-"+t))})),n.state=t,!n.chart.styledMode)){if(s[t]&&!1===s[t].enabled)return;if(t&&(l=s[t].lineWidth||l+(s[t].lineWidthPlus||0),c=N(s[t].opacity,c)),r&&!r.dashstyle&&D(l))for(let t of[r,...this.zones.map((t=>t.graph))])null==t||t.animate({"stroke-width":l},a);o||[n.group,n.markerGroup,n.dataLabelsGroup,n.labelBySeries].forEach((function(t){t&&t.animate({opacity:c},a)}))}e&&o&&n.points&&n.setAllPointsToState(t||void 0)}setAllPointsToState(t){this.points.forEach((function(e){e.setState&&e.setState(t)}))}setVisible(t,e){var n;let i=this,r=i.chart,o=r.options.chart.ignoreHiddenSeries,s=i.visible;i.visible=t=i.options.visible=i.userOptions.visible=void 0===t?!s:t;let a=t?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((t=>{var e;null==(e=i[t])||e[a]()})),(r.hoverSeries===i||(null==(n=r.hoverPoint)?void 0:n.series)===i)&&i.onMouseOut(),i.legendItem&&r.legend.colorizeItem(i,t),i.isDirty=!0,i.options.stacking&&r.series.forEach((t=>{t.options.stacking&&t.visible&&(t.isDirty=!0)})),i.linkedSeries.forEach((e=>{e.setVisible(t,!1)})),o&&(r.isDirtyBox=!0),E(i,a),!1!==e&&r.redraw()}show(){this.setVisible(!0)}hide(){this.setVisible(!1)}select(t){this.selected=t=this.options.selected=void 0===t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),E(this,t?"select":"unselect")}shouldShowTooltip(t,e,n={}){return n.series=this,n.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,n)}drawLegendSymbol(t,e){var n;null==(n=r[this.options.legendSymbol||"rectangle"])||n.call(this,t,e)}}return V.defaultOptions=s,V.types=a.seriesTypes,V.registerType=a.registerSeriesType,O(V.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,directTouch:!1,invertible:!0,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:o,requireSorting:!0,sorted:!0}),a.series=V,V})),n(e,"Core/Legend/Legend.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/Point.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],(function(t,e,n,i,r,o,s,a){var l;let{animObject:c,setAnimation:u}=t,{registerEventOptions:h}=e,{composed:d,marginNames:p}=n,{distribute:f}=o,{format:g}=s,{addEvent:m,createElement:v,css:y,defined:b,discardElement:_,find:x,fireEvent:w,isNumber:S,merge:k,pick:C,pushUnique:A,relativeLength:O,stableSort:T,syncTimeout:E}=a;class P{constructor(t,e){this.allItems=[],this.initialItemY=0,this.itemHeight=0,this.itemMarginBottom=0,this.itemMarginTop=0,this.itemX=0,this.itemY=0,this.lastItemY=0,this.lastLineHeight=0,this.legendHeight=0,this.legendWidth=0,this.maxItemWidth=0,this.maxLegendWidth=0,this.offsetWidth=0,this.padding=0,this.pages=[],this.symbolHeight=0,this.symbolWidth=0,this.titleHeight=0,this.totalItemWidth=0,this.widthOption=0,this.chart=t,this.setOptions(e),e.enabled&&(this.render(),h(this,e),m(this.chart,"endResize",(function(){this.legend.positionCheckboxes()}))),m(this.chart,"render",(()=>{this.options.enabled&&this.proximate&&(this.proximatePositions(),this.positionItems())}))}setOptions(t){let e=C(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=k(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop,this.itemMarginBottom=t.itemMarginBottom,this.padding=e,this.initialItemY=e-5,this.symbolWidth=C(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0}update(t,e){let n=this.chart;this.setOptions(k(!0,this.options,t)),"events"in this.options&&h(this,this.options),this.destroy(),n.isDirtyLegend=n.isDirtyBox=!0,C(e,!0)&&n.redraw(),w(this,"afterUpdate",{redraw:e})}colorizeItem(t,e){let{area:n,group:i,label:r,line:o,symbol:s}=t.legendItem||{};if(null==i||i[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){let{itemHiddenStyle:i={}}=this,a=i.color,{fillColor:l,fillOpacity:c,lineColor:u,marker:h}=t.options,d=t=>(!e&&(t.fill&&(t.fill=a),t.stroke&&(t.stroke=a)),t);null==r||r.css(k(e?this.itemStyle:i)),null==o||o.attr(d({stroke:u||t.color})),s&&s.attr(d(h&&s.isMarker?t.pointAttribs():{fill:t.color})),null==n||n.attr(d({fill:l||t.color,"fill-opacity":l?1:c??.75}))}w(this,"afterColorizeItem",{item:t,visible:e})}positionItems(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()}positionItem(t){let{group:e,x:n=0,y:i=0}=t.legendItem||{},r=this.options,o=r.symbolPadding,s=!r.rtl,a=t.checkbox;if(e&&e.element){let r={translateX:s?n:this.legendWidth-n-2*o-4,translateY:i};e[b(e.translateY)?"animate":"attr"](r,void 0,(()=>{w(this,"afterPositionItem",{item:t})}))}a&&(a.x=n,a.y=i)}destroyItem(t){let e=t.checkbox,n=t.legendItem||{};for(let t of["group","label","line","symbol"])n[t]&&(n[t]=n[t].destroy());e&&_(e),t.legendItem=void 0}destroy(){for(let t of this.getAllItems())this.destroyItem(t);for(let t of["clipRect","up","down","pager","nav","box","title","group"])this[t]&&(this[t]=this[t].destroy());this.display=null}positionCheckboxes(){let t,e=this.group&&this.group.alignAttr,n=this.clipHeight||this.legendHeight,i=this.titleHeight;e&&(t=e.translateY,this.allItems.forEach((function(r){let o,s=r.checkbox;s&&(o=t+i+s.y+(this.scrollOffset||0)+3,y(s,{left:e.translateX+r.checkboxOffset+s.x-20+"px",top:o+"px",display:this.proximate||o>t-6&&o<t+n-6?"":"none"}))}),this))}renderTitle(){let t,e=this.options,n=this.padding,i=e.title,r=0;i.text&&(this.title||(this.title=this.chart.renderer.label(i.text,n-3,n-4,void 0,void 0,void 0,e.useHTML,void 0,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(i.style),this.title.add(this.group)),i.width||this.title.css({width:this.maxLegendWidth+"px"}),r=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:r})),this.titleHeight=r}setText(t){let e=this.options;t.legendItem.label.attr({text:e.labelFormat?g(e.labelFormat,t,this.chart):e.labelFormatter.call(t)})}renderItem(t){let e=t.legendItem=t.legendItem||{},n=this.chart,i=n.renderer,r=this.options,o="horizontal"===r.layout,s=this.symbolWidth,a=r.symbolPadding||0,l=this.itemStyle,c=this.itemHiddenStyle,u=o?C(r.itemDistance,20):0,h=!r.rtl,d=!t.series,p=!d&&t.series.drawLegendSymbol?t.series:t,f=p.options,g=!!this.createCheckboxForItem&&f&&f.showCheckbox,m=r.useHTML,v=t.options.className,y=e.label,b=s+a+u+(g?20:0);!y&&(e.group=i.g("legend-item").addClass("highcharts-"+p.type+"-series highcharts-color-"+t.colorIndex+(v?" "+v:"")+(d?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),e.label=y=i.text("",h?s+a:-a,this.baseline||0,m),n.styledMode||y.css(k(t.visible?l:c)),y.attr({align:h?"left":"right",zIndex:2}).add(e.group),!this.baseline&&(this.fontMetrics=i.fontMetrics(y),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,y.attr("y",this.baseline),this.symbolHeight=C(r.symbolHeight,this.fontMetrics.f),r.squareSymbol&&(this.symbolWidth=C(r.symbolWidth,Math.max(this.symbolHeight,16)),b=this.symbolWidth+a+u+(g?20:0),h&&y.attr("x",this.symbolWidth+a))),p.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,y,m)),g&&!t.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t),this.colorizeItem(t,t.visible),(n.styledMode||!l.width)&&y.css({width:(r.itemWidth||this.widthOption||n.spacingBox.width)-b+"px"}),this.setText(t);let _=y.getBBox(),x=this.fontMetrics&&this.fontMetrics.h||0;t.itemWidth=t.checkboxOffset=r.itemWidth||e.labelWidth||_.width+b,this.maxItemWidth=Math.max(this.maxItemWidth,t.itemWidth),this.totalItemWidth+=t.itemWidth,this.itemHeight=t.itemHeight=Math.round(e.labelHeight||(_.height>1.5*x?_.height:x))}layoutItem(t){let e=this.options,n=this.padding,i="horizontal"===e.layout,r=t.itemHeight,o=this.itemMarginBottom,s=this.itemMarginTop,a=i?C(e.itemDistance,20):0,l=this.maxLegendWidth,c=e.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:t.itemWidth,u=t.legendItem||{};i&&this.itemX-n+c>l&&(this.itemX=n,this.lastLineHeight&&(this.itemY+=s+this.lastLineHeight+o),this.lastLineHeight=0),this.lastItemY=s+this.itemY+o,this.lastLineHeight=Math.max(r,this.lastLineHeight),u.x=this.itemX,u.y=this.itemY,i?this.itemX+=c:(this.itemY+=s+r+o,this.lastLineHeight=r),this.offsetWidth=this.widthOption||Math.max((i?this.itemX-n-(t.checkbox?0:a):c)+n,this.offsetWidth)}getAllItems(){let t=[];return this.chart.series.forEach((function(e){let n=e&&e.options;e&&C(n.showInLegend,!b(n.linkedTo)&&void 0,!0)&&(t=t.concat((e.legendItem||{}).labels||("point"===n.legendType?e.data:e)))})),w(this,"afterGetAllItems",{allItems:t}),t}getAlignment(){let t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)}adjustMargins(t,e){let n=this.chart,i=this.options,r=this.getAlignment();r&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(o,s){o.test(r)&&!b(t[s])&&(n[p[s]]=Math.max(n[p[s]],n.legend[(s+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][s]*i[s%2?"x":"y"]+C(i.margin,12)+e[s]+(n.titleOffset[s]||0)))}))}proximatePositions(){let t,e=this.chart,n=[],i="left"===this.options.align;for(let r of(this.allItems.forEach((function(t){let r,o,s,a,l=i;t.yAxis&&(t.xAxis.options.reversed&&(l=!l),t.points&&(r=x(l?t.points:t.points.slice(0).reverse(),(function(t){return S(t.plotY)}))),o=this.itemMarginTop+t.legendItem.label.getBBox().height+this.itemMarginBottom,a=t.yAxis.top-e.plotTop,s=t.visible?(r?r.plotY:t.yAxis.height)+(a-.3*o):a+t.yAxis.height,n.push({target:s,size:o,item:t}))}),this),f(n,e.plotHeight)))t=r.item.legendItem||{},S(r.pos)&&(t.y=e.plotTop-e.spacing[0]+r.pos)}render(){let t,e,n,i,r=this.chart,o=r.renderer,s=this.options,a=this.padding,l=this.getAllItems(),c=this.group,u=this.box;this.itemX=a,this.itemY=this.initialItemY,this.offsetWidth=0,this.lastItemY=0,this.widthOption=O(s.width,r.spacingBox.width-a),i=r.spacingBox.width-2*a-s.x,["rm","lm"].indexOf(this.getAlignment().substring(0,2))>-1&&(i/=2),this.maxLegendWidth=this.widthOption||i,c||(this.group=c=o.g("legend").addClass(s.className||"").attr({zIndex:7}).add(),this.contentGroup=o.g().attr({zIndex:1}).add(c),this.scrollGroup=o.g().add(this.contentGroup)),this.renderTitle(),T(l,((t,e)=>(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0))),s.reversed&&l.reverse(),this.allItems=l,this.display=t=!!l.length,this.lastLineHeight=0,this.maxItemWidth=0,this.totalItemWidth=0,this.itemHeight=0,l.forEach(this.renderItem,this),l.forEach(this.layoutItem,this),e=(this.widthOption||this.offsetWidth)+a,n=this.lastItemY+this.lastLineHeight+this.titleHeight,n=this.handleOverflow(n)+a,u||(this.box=u=o.rect().addClass("highcharts-legend-box").attr({r:s.borderRadius}).add(c)),r.styledMode||u.attr({stroke:s.borderColor,"stroke-width":s.borderWidth||0,fill:s.backgroundColor||"none"}).shadow(s.shadow),e>0&&n>0&&u[u.placed?"animate":"attr"](u.crisp.call({},{x:0,y:0,width:e,height:n},u.strokeWidth())),c[t?"show":"hide"](),r.styledMode&&"none"===c.getStyle("display")&&(e=n=0),this.legendWidth=e,this.legendHeight=n,t&&this.align(),this.proximate||this.positionItems(),w(this,"afterRender")}align(t=this.chart.spacingBox){let e=this.chart,n=this.options,i=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&e.titleOffset[0]>0?i+=e.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&e.titleOffset[2]>0&&(i-=e.titleOffset[2]),i!==t.y&&(t=k(t,{y:i})),e.hasRendered||(this.group.placed=!1),this.group.align(k(n,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":n.verticalAlign}),!0,t)}handleOverflow(t){let e,n,i,r=this,o=this.chart,s=o.renderer,a=this.options,l=a.y,c="top"===a.verticalAlign,u=this.padding,h=a.maxHeight,d=a.navigation,p=C(d.animation,!0),f=d.arrowSize||12,g=this.pages,m=this.allItems,v=function(t){"number"==typeof t?x.attr({height:t}):x&&(r.clipRect=x.destroy(),r.contentGroup.clip()),r.contentGroup.div&&(r.contentGroup.div.style.clip=t?"rect("+u+"px,9999px,"+(u+t)+"px,0)":"auto")},y=function(t){return r[t]=s.circle(0,0,1.3*f).translate(f/2,f/2).add(_),o.styledMode||r[t].attr("fill","rgba(0,0,0,0.0001)"),r[t]},b=o.spacingBox.height+(c?-l:l)-u,_=this.nav,x=this.clipRect;return"horizontal"!==a.layout||"middle"===a.verticalAlign||a.floating||(b/=2),h&&(b=Math.min(b,h)),g.length=0,t&&b>0&&t>b&&!1!==d.enabled?(this.clipHeight=e=Math.max(b-20-this.titleHeight-u,0),this.currentPage=C(this.currentPage,1),this.fullHeight=t,m.forEach(((t,r)=>{let o=(i=t.legendItem||{}).y||0,s=Math.round(i.label.getBBox().height),a=g.length;(!a||o-g[a-1]>e&&(n||o)!==g[a-1])&&(g.push(n||o),a++),i.pageIx=a-1,n&&((m[r-1].legendItem||{}).pageIx=a-1),r===m.length-1&&o+s-g[a-1]>e&&o>g[a-1]&&(g.push(o),i.pageIx=a),o!==n&&(n=o)})),x||(x=r.clipRect=s.clipRect(0,u-2,9999,0),r.contentGroup.clip(x)),v(e),_||(this.nav=_=s.g().attr({zIndex:1}).add(this.group),this.up=s.symbol("triangle",0,0,f,f).add(_),y("upTracker").on("click",(function(){r.scroll(-1,p)})),this.pager=s.text("",15,10).addClass("highcharts-legend-navigation"),!o.styledMode&&d.style&&this.pager.css(d.style),this.pager.add(_),this.down=s.symbol("triangle-down",0,0,f,f).add(_),y("downTracker").on("click",(function(){r.scroll(1,p)}))),r.scroll(0),t=b):_&&(v(),this.nav=_.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t}scroll(t,e){let n=this.chart,i=this.pages,r=i.length,o=this.clipHeight,s=this.options.navigation,a=this.pager,l=this.padding,h=this.currentPage+t;h>r&&(h=r),h>0&&(void 0!==e&&u(e,n),this.nav.attr({translateX:l,translateY:o+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach((function(t){t.attr({class:1===h?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),a.attr({text:h+"/"+r}),[this.down,this.downTracker].forEach((function(t){t.attr({x:18+this.pager.getBBox().width,class:h===r?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),n.styledMode||(this.up.attr({fill:1===h?s.inactiveColor:s.activeColor}),this.upTracker.css({cursor:1===h?"default":"pointer"}),this.down.attr({fill:h===r?s.inactiveColor:s.activeColor}),this.downTracker.css({cursor:h===r?"default":"pointer"})),this.scrollOffset=-i[h-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=h,this.positionCheckboxes(),E((()=>{w(this,"afterScroll",{currentPage:h})}),c(C(e,n.renderer.globalAnimation,!0)).duration))}setItemEvents(t,e,n){let o=this,s=t.legendItem||{},a=o.chart.renderer.boxWrapper,l=t instanceof r,c=t instanceof i,u="highcharts-legend-"+(l?"point":"series")+"-active",h=o.chart.styledMode,d=n?[e,s.symbol]:[s.group],p=e=>{o.allItems.forEach((n=>{t!==n&&[n].concat(n.linkedSeries||[]).forEach((t=>{t.setState(e,!l)}))}))};for(let n of d)n&&n.on("mouseover",(function(){t.visible&&p("inactive"),t.setState("hover"),t.visible&&a.addClass(u),h||e.css(o.options.itemHoverStyle)})).on("mouseout",(function(){o.chart.styledMode||e.css(k(t.visible?o.itemStyle:o.itemHiddenStyle)),p(""),a.removeClass(u),t.setState()})).on("click",(function(e){a.removeClass(u),w(o,"itemClick",{browserEvent:e,legendItem:t},(function(){t.setVisible&&t.setVisible(),p(t.visible?"inactive":"")})),l?t.firePointEvent("legendItemClick",{browserEvent:e}):c&&w(t,"legendItemClick",{browserEvent:e})}))}createCheckboxForItem(t){t.checkbox=v("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),m(t.checkbox,"click",(function(e){let n=e.target;w(t.series||t,"checkboxClick",{checked:n.checked,item:t},(function(){t.select()}))}))}}return(l=P||(P={})).compose=function(t){A(d,"Core.Legend")&&m(t,"beforeMargins",(function(){this.legend=new l(this,this.options.legend)}))},P})),n(e,"Core/Chart/Chart.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Defaults.js"],e["Core/Templating.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Time.js"],e["Core/Utilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Axis/Tick.js"]],(function(t,e,n,i,r,o,s,a,l,c,u,h,d,p){let{animate:f,animObject:g,setAnimation:m}=t,{defaultOptions:v,defaultTime:y}=n,{numberFormat:b}=i,{registerEventOptions:_}=r,{charts:x,doc:w,marginNames:S,svg:k,win:C}=o,{seriesTypes:A}=l,{addEvent:O,attr:T,createElement:E,css:P,defined:M,diffObjects:L,discardElement:j,erase:D,error:$,extend:R,find:I,fireEvent:N,getStyle:B,isArray:F,isNumber:z,isObject:V,isString:W,merge:H,objectEach:U,pick:q,pInt:G,relativeLength:X,removeEvent:Y,splat:K,syncTimeout:Z,uniqueKey:J}=h;class Q{static chart(t,e,n){return new Q(t,e,n)}constructor(t,e,n){this.sharedClips={};let i=[...arguments];(W(t)||t.nodeName)&&(this.renderTo=i.shift()),this.init(i[0],i[1])}setZoomOptions(){let t=this.options.chart,e=t.zooming;this.zooming={...e,type:q(t.zoomType,e.type),key:q(t.zoomKey,e.key),pinchType:q(t.pinchType,e.pinchType),singleTouch:q(t.zoomBySingleTouch,e.singleTouch,!1),resetButton:H(e.resetButton,t.resetZoomButton)}}init(t,e){N(this,"init",{args:arguments},(function(){let n=H(v,t),i=n.chart;this.userOptions=R({},t),this.margin=[],this.spacing=[],this.labelCollectors=[],this.callback=e,this.isResizing=0,this.options=n,this.axes=[],this.series=[],this.time=t.time&&Object.keys(t.time).length?new u(t.time):o.time,this.numberFormatter=i.numberFormatter||b,this.styledMode=i.styledMode,this.hasCartesianSeries=i.showAxes,this.index=x.length,x.push(this),o.chartCount++,_(this,i),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,this.setZoomOptions(),N(this,"afterInit"),this.firstRender()}))}initSeries(t){let e=this.options.chart,n=t.type||e.type,i=A[n];i||$(17,!0,this,{missingModuleFor:n});let r=new i;return"function"==typeof r.init&&r.init(this,t),r}setSortedData(){this.getSeriesOrderByLinks().forEach((function(t){t.points||t.data||!t.enabledDataSorting||t.setData(t.options.data,!1)}))}getSeriesOrderByLinks(){return this.series.concat().sort((function(t,e){return t.linkedSeries.length||e.linkedSeries.length?e.linkedSeries.length-t.linkedSeries.length:0}))}orderItems(t,e=0){let n=this[t],i=this.options[t]=K(this.options[t]).slice(),r=this.userOptions[t]=this.userOptions[t]?K(this.userOptions[t]).slice():[];if(this.hasRendered&&(i.splice(e),r.splice(e)),n)for(let t=e,o=n.length;t<o;++t){let e=n[t];e&&(e.index=t,e instanceof a&&(e.name=e.getName()),e.options.isInternal||(i[t]=e.options,r[t]=e.userOptions))}}isInsidePlot(t,e,n={}){var i;let{inverted:r,plotBox:o,plotLeft:s,plotTop:a,scrollablePlotBox:l}=this,{scrollLeft:c=0,scrollTop:u=0}=n.visiblePlotOnly&&(null==(i=this.scrollablePlotArea)?void 0:i.scrollingContainer)||{},h=n.series,d=n.visiblePlotOnly&&l||o,p=n.inverted?e:t,f=n.inverted?t:e,g={x:p,y:f,isInsidePlot:!0,options:n};if(!n.ignoreX){let t=h&&(r&&!this.polar?h.yAxis:h.xAxis)||{pos:s,len:1/0},e=n.paneCoordinates?t.pos+p:s+p;e>=Math.max(c+s,t.pos)&&e<=Math.min(c+s+d.width,t.pos+t.len)||(g.isInsidePlot=!1)}if(!n.ignoreY&&g.isInsidePlot){let t=!r&&n.axis&&!n.axis.isXAxis&&n.axis||h&&(r?h.xAxis:h.yAxis)||{pos:a,len:1/0},e=n.paneCoordinates?t.pos+f:a+f;e>=Math.max(u+a,t.pos)&&e<=Math.min(u+a+d.height,t.pos+t.len)||(g.isInsidePlot=!1)}return N(this,"afterIsInsidePlot",g),g.isInsidePlot}redraw(t){N(this,"beforeRedraw");let e,n,i,r,o=this.hasCartesianSeries?this.axes:this.colorAxis||[],s=this.series,a=this.pointer,l=this.legend,c=this.userOptions.legend,u=this.renderer,h=u.isHidden(),d=[],p=this.isDirtyBox,f=this.isDirtyLegend;for(u.rootFontSize=u.boxWrapper.getStyle("font-size"),this.setResponsive&&this.setResponsive(!1),m(!!this.hasRendered&&t,this),h&&this.temporaryDisplay(),this.layOutTitles(!1),i=s.length;i--;)if(((r=s[i]).options.stacking||r.options.centerInCategory)&&(n=!0,r.isDirty)){e=!0;break}if(e)for(i=s.length;i--;)(r=s[i]).options.stacking&&(r.isDirty=!0);s.forEach((function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),f=!0):c&&(c.labelFormatter||c.labelFormat)&&(f=!0)),t.isDirtyData&&N(t,"updatedData")})),f&&l&&l.options.enabled&&(l.render(),this.isDirtyLegend=!1),n&&this.getStacks(),o.forEach((function(t){t.updateNames(),t.setScale()})),this.getMargins(),o.forEach((function(t){t.isDirty&&(p=!0)})),o.forEach((function(t){let e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,d.push((function(){N(t,"afterSetExtremes",R(t.eventArgs,t.getExtremes())),delete t.eventArgs}))),(p||n)&&t.redraw()})),p&&this.drawChartBox(),N(this,"predraw"),s.forEach((function(t){(p||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1})),a&&a.reset(!0),u.draw(),N(this,"redraw"),N(this,"render"),h&&this.temporaryDisplay(!0),d.forEach((function(t){t.call()}))}get(t){let e=this.series;function n(e){return e.id===t||e.options&&e.options.id===t}let i=I(this.axes,n)||I(this.series,n);for(let t=0;!i&&t<e.length;t++)i=I(e[t].points||[],n);return i}getAxes(){let t=this.userOptions;for(let n of(N(this,"getAxes"),["xAxis","yAxis"]))for(let i of t[n]=K(t[n]||{}))new e(this,i,n);N(this,"afterGetAxes")}getSelectedPoints(){return this.series.reduce(((t,e)=>(e.getPointsCollection().forEach((e=>{q(e.selectedStaging,e.selected)&&t.push(e)})),t)),[])}getSelectedSeries(){return this.series.filter((function(t){return t.selected}))}setTitle(t,e,n){this.applyDescription("title",t),this.applyDescription("subtitle",e),this.applyDescription("caption",void 0),this.layOutTitles(n)}applyDescription(t,e){let n=this,i=this.options[t]=H(this.options[t],e),r=this[t];r&&e&&(this[t]=r=r.destroy()),i&&!r&&((r=this.renderer.text(i.text,0,0,i.useHTML).attr({align:i.align,class:"highcharts-"+t,zIndex:i.zIndex||4}).add()).update=function(e,i){n.applyDescription(t,e),n.layOutTitles(i)},this.styledMode||r.css(R("title"===t?{fontSize:this.options.isStock?"1em":"1.2em"}:{},i.style)),this[t]=r)}layOutTitles(t=!0){let e=[0,0,0],n=this.renderer,i=this.spacingBox;["title","subtitle","caption"].forEach((function(t){let r=this[t],o=this.options[t],s=o.verticalAlign||"top",a="title"===t?"top"===s?-3:0:"top"===s?e[0]+2:0;if(r){r.css({width:(o.width||i.width+(o.widthAdjust||0))+"px"});let t=n.fontMetrics(r).b,l=Math.round(r.getBBox(o.useHTML).height);r.align(R({y:"bottom"===s?t:a+t,height:l},o),!1,"spacingBox"),o.floating||("top"===s?e[0]=Math.ceil(e[0]+l):"bottom"===s&&(e[2]=Math.ceil(e[2]+l)))}}),this),e[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e[0]+=this.options.title.margin),e[2]&&"bottom"===this.options.caption.verticalAlign&&(e[2]+=this.options.caption.margin);let r=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,N(this,"afterLayOutTitles"),!this.isDirtyBox&&r&&(this.isDirtyBox=this.isDirtyLegend=r,this.hasRendered&&t&&this.isDirtyBox&&this.redraw())}getContainerBox(){return{width:B(this.renderTo,"width",!0)||0,height:B(this.renderTo,"height",!0)||0}}getChartSize(){let t=this.options.chart,e=t.width,n=t.height,i=this.getContainerBox();this.chartWidth=Math.max(0,e||i.width||600),this.chartHeight=Math.max(0,X(n,this.chartWidth)||(i.height>1?i.height:400)),this.containerBox=i}temporaryDisplay(t){let e,n=this.renderTo;if(t)for(;n&&n.style;)n.hcOrigStyle&&(P(n,n.hcOrigStyle),delete n.hcOrigStyle),n.hcOrigDetached&&(w.body.removeChild(n),n.hcOrigDetached=!1),n=n.parentNode;else for(;n&&n.style&&(w.body.contains(n)||n.parentNode||(n.hcOrigDetached=!0,w.body.appendChild(n)),("none"===B(n,"display",!1)||n.hcOricDetached)&&(n.hcOrigStyle={display:n.style.display,height:n.style.height,overflow:n.style.overflow},e={display:"block",overflow:"hidden"},n!==this.renderTo&&(e.height=0),P(n,e),n.offsetWidth||n.style.setProperty("display","block","important")),(n=n.parentNode)!==w.body););}setClassName(t){this.container.className="highcharts-container "+(t||"")}getContainer(){var t;let e,n=this.options,i=n.chart,r="data-highcharts-chart",a=J(),l=this.renderTo;l||(this.renderTo=l=i.renderTo),W(l)&&(this.renderTo=l=w.getElementById(l)),l||$(13,!0,this);let u=G(T(l,r));z(u)&&x[u]&&x[u].hasRendered&&x[u].destroy(),T(l,r,this.index),l.innerHTML=d.emptyHTML,i.skipClone||l.offsetWidth||this.temporaryDisplay(),this.getChartSize();let h=this.chartHeight,p=this.chartWidth;P(l,{overflow:"hidden",pointerEvents:o.isChrome?"fill":"auto"}),this.styledMode||(e=R({position:"relative",overflow:"hidden",width:p+"px",height:h+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},i.style||{}));let f=E("div",{id:a},e,l);this.container=f,this.getChartSize(),p===this.chartWidth||(p=this.chartWidth,this.styledMode||P(f,{width:q(null==(t=i.style)?void 0:t.width,p+"px")})),this.containerBox=this.getContainerBox(),this._cursor=f.style.cursor;let g=i.renderer||!k?s.getRendererType(i.renderer):c;if(this.renderer=new g(f,p,h,void 0,i.forExport,n.exporting&&n.exporting.allowHTML,this.styledMode),m(void 0,this),this.setClassName(i.className),this.styledMode)for(let t in n.defs)this.renderer.definition(n.defs[t]);else this.renderer.setStyle(i.style);this.renderer.chartIndex=this.index,N(this,"afterGetContainer")}getMargins(t){let{spacing:e,margin:n,titleOffset:i}=this;this.resetMargins(),i[0]&&!M(n[0])&&(this.plotTop=Math.max(this.plotTop,i[0]+e[0])),i[2]&&!M(n[2])&&(this.marginBottom=Math.max(this.marginBottom,i[2]+e[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(n,e),N(this,"getMargins"),t||this.getAxisMargins()}getAxisMargins(){let t=this,e=t.axisOffset=[0,0,0,0],n=t.colorAxis,i=t.margin,r=function(t){t.forEach((function(t){t.visible&&t.getOffset()}))};t.hasCartesianSeries?r(t.axes):n&&n.length&&r(n),S.forEach((function(n,r){M(i[r])||(t[n]+=e[r])})),t.setChartSize()}getOptions(){return L(this.userOptions,v)}reflow(t){var e;let n=this,i=n.containerBox,r=n.getContainerBox();null==(e=n.pointer)||delete e.chartPosition,!n.isPrinting&&!n.isResizing&&i&&r.width&&((r.width!==i.width||r.height!==i.height)&&(h.clearTimeout(n.reflowTimeout),n.reflowTimeout=Z((function(){n.container&&n.setSize(void 0,void 0,!1)}),t?100:0)),n.containerBox=r)}setReflow(){let t=this,e=e=>{var n;null!=(n=t.options)&&n.chart.reflow&&t.hasLoaded&&t.reflow(e)};if("function"==typeof ResizeObserver)new ResizeObserver(e).observe(t.renderTo);else{let t=O(C,"resize",e);O(this,"destroy",t)}}setSize(t,e,n){let i=this,r=i.renderer;i.isResizing+=1,m(n,i);let o=r.globalAnimation;i.oldChartHeight=i.chartHeight,i.oldChartWidth=i.chartWidth,void 0!==t&&(i.options.chart.width=t),void 0!==e&&(i.options.chart.height=e),i.getChartSize();let{chartWidth:s,chartHeight:a,scrollablePixelsX:l=0,scrollablePixelsY:c=0}=i;(i.isDirtyBox||s!==i.oldChartWidth||a!==i.oldChartHeight)&&(i.styledMode||(o?f:P)(i.container,{width:`${s+l}px`,height:`${a+c}px`},o),i.setChartSize(!0),r.setSize(s,a,o),i.axes.forEach((function(t){t.isDirty=!0,t.setScale()})),i.isDirtyLegend=!0,i.isDirtyBox=!0,i.layOutTitles(),i.getMargins(),i.redraw(o),i.oldChartHeight=void 0,N(i,"resize"),setTimeout((()=>{i&&N(i,"endResize")}),g(o).duration)),i.isResizing-=1}setChartSize(t){let e,n,i,r,{chartHeight:o,chartWidth:s,inverted:a,spacing:l,renderer:c}=this,u=this.clipOffset,h=Math[a?"floor":"round"];this.plotLeft=e=Math.round(this.plotLeft),this.plotTop=n=Math.round(this.plotTop),this.plotWidth=i=Math.max(0,Math.round(s-e-this.marginRight)),this.plotHeight=r=Math.max(0,Math.round(o-n-this.marginBottom)),this.plotSizeX=a?r:i,this.plotSizeY=a?i:r,this.spacingBox=c.spacingBox={x:l[3],y:l[0],width:s-l[3]-l[1],height:o-l[0]-l[2]},this.plotBox=c.plotBox={x:e,y:n,width:i,height:r},u&&(this.clipBox={x:h(u[3]),y:h(u[0]),width:h(this.plotSizeX-u[1]-u[3]),height:h(this.plotSizeY-u[0]-u[2])}),t||(this.axes.forEach((function(t){t.setAxisSize(),t.setAxisTranslation()})),c.alignElements()),N(this,"afterSetChartSize",{skipAxes:t})}resetMargins(){N(this,"resetMargins");let t=this,e=t.options.chart,n=e.plotBorderWidth||0,i=n/2;["margin","spacing"].forEach((function(n){let i=e[n],r=V(i)?i:[i,i,i,i];["Top","Right","Bottom","Left"].forEach((function(i,o){t[n][o]=q(e[n+i],r[o])}))})),S.forEach((function(e,n){t[e]=q(t.margin[n],t.spacing[n])})),t.axisOffset=[0,0,0,0],t.clipOffset=[i,i,i,i],t.plotBorderWidth=n}drawChartBox(){let t,e,n,i=this.options.chart,r=this.renderer,o=this.chartWidth,s=this.chartHeight,a=this.styledMode,l=this.plotBGImage,c=i.backgroundColor,u=i.plotBackgroundColor,h=i.plotBackgroundImage,d=this.plotLeft,p=this.plotTop,f=this.plotWidth,g=this.plotHeight,m=this.plotBox,v=this.clipRect,y=this.clipBox,b=this.chartBackground,_=this.plotBackground,x=this.plotBorder,w="animate";b||(this.chartBackground=b=r.rect().addClass("highcharts-background").add(),w="attr"),a?t=e=b.strokeWidth():(e=(t=i.borderWidth||0)+(i.shadow?8:0),n={fill:c||"none"},(t||b["stroke-width"])&&(n.stroke=i.borderColor,n["stroke-width"]=t),b.attr(n).shadow(i.shadow)),b[w]({x:e/2,y:e/2,width:o-e-t%2,height:s-e-t%2,r:i.borderRadius}),w="animate",_||(w="attr",this.plotBackground=_=r.rect().addClass("highcharts-plot-background").add()),_[w](m),!a&&(_.attr({fill:u||"none"}).shadow(i.plotShadow),h&&(l?(h!==l.attr("href")&&l.attr("href",h),l.animate(m)):this.plotBGImage=r.image(h,d,p,f,g).add())),v?v.animate({width:y.width,height:y.height}):this.clipRect=r.clipRect(y),w="animate",x||(w="attr",this.plotBorder=x=r.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),a||x.attr({stroke:i.plotBorderColor,"stroke-width":i.plotBorderWidth||0,fill:"none"}),x[w](x.crisp({x:d,y:p,width:f,height:g},-x.strokeWidth())),this.isDirtyBox=!1,N(this,"afterDrawChartBox")}propFromSeries(){let t,e,n,i=this,r=i.options.chart,o=i.options.series;["inverted","angular","polar"].forEach((function(s){for(e=A[r.type],n=r[s]||e&&e.prototype[s],t=o&&o.length;!n&&t--;)(e=A[o[t].type])&&e.prototype[s]&&(n=!0);i[s]=n}))}linkSeries(t){let e=this,n=e.series;n.forEach((function(t){t.linkedSeries.length=0})),n.forEach((function(t){let{linkedTo:n}=t.options;if(W(n)){let i;(i=":previous"===n?e.series[t.index-1]:e.get(n))&&i.linkedParent!==t&&(i.linkedSeries.push(t),t.linkedParent=i,i.enabledDataSorting&&t.setDataSortingOptions(),t.visible=q(t.options.visible,i.options.visible,t.visible))}})),N(this,"afterLinkSeries",{isUpdating:t})}renderSeries(){this.series.forEach((function(t){t.translate(),t.render()}))}render(){var t;let e,n=this.axes,i=this.colorAxis,r=this.renderer,o=this.options.chart.axisLayoutRuns||2,s=t=>{t.forEach((t=>{t.visible&&t.render()}))},a=0,l=!0,c=0;for(let e of(this.setTitle(),N(this,"beforeMargins"),null==(t=this.getStacks)||t.call(this),this.getMargins(!0),this.setChartSize(),n)){let{options:t}=e,{labels:n}=t;if(this.hasCartesianSeries&&e.horiz&&e.visible&&n.enabled&&e.series.length&&"colorAxis"!==e.coll&&!this.polar){a=t.tickLength,e.createGroups();let i=new p(e,0,"",!0),r=i.createLabel("x",n);if(i.destroy(),r&&q(n.reserveSpace,!z(t.crossing))&&(a=r.getBBox().height+n.distance+Math.max(t.offset||0,0)),a){null==r||r.destroy();break}}}for(this.plotHeight=Math.max(this.plotHeight-a,0);(l||e||o>1)&&c<o;){let t=this.plotWidth,i=this.plotHeight;for(let t of n)0===c?t.setScale():(t.horiz&&l||!t.horiz&&e)&&t.setTickInterval(!0);0===c?this.getAxisMargins():this.getMargins(),l=t/this.plotWidth>(c?1:1.1),e=i/this.plotHeight>(c?1:1.05),c++}this.drawChartBox(),this.hasCartesianSeries?s(n):i&&i.length&&s(i),this.seriesGroup||(this.seriesGroup=r.g("series-group").attr({zIndex:3}).shadow(this.options.chart.seriesGroupShadow).add()),this.renderSeries(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0}addCredits(t){let e=this,n=H(!0,this.options.credits,t);n.enabled&&!this.credits&&(this.credits=this.renderer.text(n.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",(function(){n.href&&(C.location.href=n.href)})).attr({align:n.position.align,zIndex:8}),e.styledMode||this.credits.css(n.style),this.credits.add().align(n.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})}destroy(){let t,e=this,n=e.axes,i=e.series,r=e.container,s=r&&r.parentNode;for(N(e,"destroy"),e.renderer.forExport?D(x,e):x[e.index]=void 0,o.chartCount--,e.renderTo.removeAttribute("data-highcharts-chart"),Y(e),t=n.length;t--;)n[t]=n[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=i.length;t--;)i[t]=i[t].destroy();["title","subtitle","chartBackground","plotBackground","plotBGImage","plotBorder","seriesGroup","clipRect","credits","pointer","rangeSelector","legend","resetZoomButton","tooltip","renderer"].forEach((function(t){let n=e[t];n&&n.destroy&&(e[t]=n.destroy())})),r&&(r.innerHTML=d.emptyHTML,Y(r),s&&j(r)),U(e,(function(t,n){delete e[n]}))}firstRender(){var t;let e=this,n=e.options;e.getContainer(),e.resetMargins(),e.setChartSize(),e.propFromSeries(),e.getAxes();let i=F(n.series)?n.series:[];n.series=[],i.forEach((function(t){e.initSeries(t)})),e.linkSeries(),e.setSortedData(),N(e,"beforeRender"),e.render(),null==(t=e.pointer)||t.getChartPosition(),e.renderer.imgCount||e.hasLoaded||e.onload(),e.temporaryDisplay(!0)}onload(){this.callbacks.concat([this.callback]).forEach((function(t){t&&void 0!==this.index&&t.apply(this,[this])}),this),N(this,"load"),N(this,"render"),M(this.index)&&this.setReflow(),this.warnIfA11yModuleNotLoaded(),this.hasLoaded=!0}warnIfA11yModuleNotLoaded(){let{options:t,title:e}=this;!t||this.accessibility||(this.renderer.boxWrapper.attr({role:"img","aria-label":(e&&e.element.textContent||"").replace(/</g,"<")}),t.accessibility&&!1===t.accessibility.enabled||$('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',!1,this))}addSeries(t,e,n){let i,r=this;return t&&(e=q(e,!0),N(r,"addSeries",{options:t},(function(){i=r.initSeries(t),r.isDirtyLegend=!0,r.linkSeries(),i.enabledDataSorting&&i.setData(t.data,!1),N(r,"afterAddSeries",{series:i}),e&&r.redraw(n)}))),i}addAxis(t,e,n,i){return this.createAxis(e?"xAxis":"yAxis",{axis:t,redraw:n,animation:i})}addColorAxis(t,e,n){return this.createAxis("colorAxis",{axis:t,redraw:e,animation:n})}createAxis(t,n){let i=new e(this,n.axis,t);return q(n.redraw,!0)&&this.redraw(n.animation),i}showLoading(t){let e=this,n=e.options,i=n.loading,r=function(){o&&P(o,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})},o=e.loadingDiv,s=e.loadingSpan;o||(e.loadingDiv=o=E("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container)),s||(e.loadingSpan=s=E("span",{className:"highcharts-loading-inner"},null,o),O(e,"redraw",r)),o.className="highcharts-loading",d.setElementHTML(s,q(t,n.lang.loading,"")),e.styledMode||(P(o,R(i.style,{zIndex:10})),P(s,i.labelStyle),e.loadingShown||(P(o,{opacity:0,display:""}),f(o,{opacity:i.style.opacity||.5},{duration:i.showDuration||0}))),e.loadingShown=!0,r()}hideLoading(){let t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",this.styledMode||f(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){P(e,{display:"none"})}})),this.loadingShown=!1}update(t,e,n,i){let r,o,s,a=this,l={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},c=t.isResponsiveOptions,h=[];N(a,"update",{options:t}),c||a.setResponsive(!1,!0),t=L(t,a.options),a.userOptions=H(a.userOptions,t);let d=t.chart;d&&(H(!0,a.options.chart,d),this.setZoomOptions(),"className"in d&&a.setClassName(d.className),("inverted"in d||"polar"in d||"type"in d)&&(a.propFromSeries(),r=!0),"alignTicks"in d&&(r=!0),"events"in d&&_(this,d),U(d,(function(t,e){-1!==a.propsRequireUpdateSeries.indexOf("chart."+e)&&(o=!0),-1!==a.propsRequireDirtyBox.indexOf(e)&&(a.isDirtyBox=!0),-1===a.propsRequireReflow.indexOf(e)||(a.isDirtyBox=!0,c||(s=!0))})),!a.styledMode&&d.style&&a.renderer.setStyle(a.options.chart.style||{})),!a.styledMode&&t.colors&&(this.options.colors=t.colors),t.time&&(this.time===y&&(this.time=new u(t.time)),H(!0,a.options.time,t.time)),U(t,(function(e,n){a[n]&&"function"==typeof a[n].update?a[n].update(e,!1):"function"==typeof a[l[n]]?a[l[n]](e):"colors"!==n&&-1===a.collectionsWithUpdate.indexOf(n)&&H(!0,a.options[n],t[n]),"chart"!==n&&-1!==a.propsRequireUpdateSeries.indexOf(n)&&(o=!0)})),this.collectionsWithUpdate.forEach((function(e){t[e]&&(K(t[e]).forEach((function(t,i){let r,o=M(t.id);o&&(r=a.get(t.id)),!r&&a[e]&&(r=a[e][q(t.index,i)])&&(o&&M(r.options.id)||r.options.isInternal)&&(r=void 0),r&&r.coll===e&&(r.update(t,!1),n&&(r.touched=!0)),!r&&n&&a.collectionsWithInit[e]&&(a.collectionsWithInit[e][0].apply(a,[t].concat(a.collectionsWithInit[e][1]||[]).concat([!1])).touched=!0)})),n&&a[e].forEach((function(t){t.touched||t.options.isInternal?delete t.touched:h.push(t)})))})),h.forEach((function(t){t.chart&&t.remove&&t.remove(!1)})),r&&a.axes.forEach((function(t){t.update({},!1)})),o&&a.getSeriesOrderByLinks().forEach((function(t){t.chart&&t.update({},!1)}),this);let p=d&&d.width,f=d&&(W(d.height)?X(d.height,p||a.chartWidth):d.height);s||z(p)&&p!==a.chartWidth||z(f)&&f!==a.chartHeight?a.setSize(p,f,i):q(e,!0)&&a.redraw(i),N(a,"afterUpdate",{options:t,redraw:e,animation:i})}setSubtitle(t,e){this.applyDescription("subtitle",t),this.layOutTitles(e)}setCaption(t,e){this.applyDescription("caption",t),this.layOutTitles(e)}showResetZoom(){let t=this,e=v.lang,n=t.zooming.resetButton,i=n.theme,r="chart"===n.relativeTo||"spacingBox"===n.relativeTo?null:"plotBox";function o(){t.zoomOut()}N(this,"beforeShowResetZoom",null,(function(){t.resetZoomButton=t.renderer.button(e.resetZoom,null,null,o,i).attr({align:n.position.align,title:e.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(n.position,!1,r)})),N(this,"afterShowResetZoom")}zoomOut(){N(this,"selection",{resetSelection:!0},(()=>this.transform({reset:!0,trigger:"zoom"})))}pan(t,e){let n=this,i="object"==typeof e?e:{enabled:e,type:"x"},r=i.type,o=r&&n[{x:"xAxis",xy:"axes",y:"yAxis"}[r]].filter((t=>t.options.panningEnabled&&!t.options.isInternal)),s=n.options.chart;null!=s&&s.panning&&(s.panning=i),N(this,"pan",{originalEvent:t},(()=>{n.transform({axes:o,event:t,to:{x:t.chartX-(n.mouseDownX||0),y:t.chartY-(n.mouseDownY||0)},trigger:"pan"}),P(n.container,{cursor:"move"})}))}transform(t){var e;let n,i,{axes:r=this.axes,event:o,from:s={},reset:a,selection:l,to:c={},trigger:u}=t,{inverted:h}=this,d=!1;for(let t of(null==(e=this.hoverPoints)||e.forEach((t=>t.setState())),r)){let{horiz:e,len:r,minPointOffset:p=0,options:f,reversed:g}=t,m=e?"width":"height",v=e?"x":"y",y=q(c[m],t.len),b=q(s[m],t.len),_=10>Math.abs(y)?1:y/b,x=(s[v]||0)+b/2-t.pos,w=x-((c[v]??t.pos)+y/2-t.pos)/_,S=g&&!h||!g&&h?-1:1;if(!a&&(x<0||x>t.len))continue;let k=t.toValue(w,!0)+(l?0:p*S),C=t.toValue(w+r/_,!0)-(l?0:p*S||0),A=t.allExtremes;if(k>C&&([k,C]=[C,k]),1===_&&!a&&"yAxis"===t.coll&&!A){for(let e of t.series){let t=e.getExtremes(e.getProcessedData(!0).yData,!0);A??(A={dataMin:Number.MAX_VALUE,dataMax:-Number.MAX_VALUE}),z(t.dataMin)&&z(t.dataMax)&&(A.dataMin=Math.min(t.dataMin,A.dataMin),A.dataMax=Math.max(t.dataMax,A.dataMax))}t.allExtremes=A}let{dataMin:O,dataMax:T,min:E,max:P}=R(t.getExtremes(),A||{}),L=O??f.min,j=T??f.max,D=C-k,$=t.categories?0:Math.min(D,j-L),I=L-$*(M(f.min)?0:f.minPadding),N=j+$*(M(f.max)?0:f.maxPadding),B=t.allowZoomOutside||1===_||"zoom"!==u&&_>1,F=Math.min(f.min??I,I,B?E:I),V=Math.max(f.max??N,N,B?P:N);(!t.isOrdinal||1!==_||a)&&(k<F&&(k=F,_>=1&&(C=k+D)),C>V&&(C=V,_>=1&&(k=C-D)),(a||t.series.length&&(k!==E||C!==P)&&k>=F&&C<=V)&&(l?l[t.coll].push({axis:t,min:k,max:C}):(t.isPanning="zoom"!==u,t.isPanning&&(i=!0),t.setExtremes(a?void 0:k,a?void 0:C,!1,!1,{move:w,trigger:u,scale:_}),!a&&(k>F||C<V)&&"mousewheel"!==u&&(n=!0)),d=!0),o&&(this[e?"mouseDownX":"mouseDownY"]=o[e?"chartX":"chartY"]))}return d&&(l?N(this,"selection",l,(()=>{delete t.selection,t.trigger="zoom",this.transform(t)})):(!n||i||this.resetZoomButton?!n&&this.resetZoomButton&&(this.resetZoomButton=this.resetZoomButton.destroy()):this.showResetZoom(),this.redraw("zoom"===u&&(this.options.chart.animation??this.pointCount<100)))),d}}return R(Q.prototype,{callbacks:[],collectionsWithInit:{xAxis:[Q.prototype.addAxis,[!0]],yAxis:[Q.prototype.addAxis,[!1]],series:[Q.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:["backgroundColor","borderColor","borderWidth","borderRadius","plotBackgroundColor","plotBackgroundImage","plotBorderColor","plotBorderWidth","plotShadow","shadow"],propsRequireReflow:["margin","marginTop","marginRight","marginBottom","marginLeft","spacing","spacingTop","spacingRight","spacingBottom","spacingLeft"],propsRequireUpdateSeries:["chart.inverted","chart.polar","chart.ignoreHiddenSeries","chart.type","colors","plotOptions","time","tooltip"]}),Q})),n(e,"Extensions/ScrollablePlotArea.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n,i){let{stop:r}=t,{composed:o}=e,{addEvent:s,createElement:a,css:l,defined:c,merge:u,pushUnique:h}=i;function d(){let t=this.scrollablePlotArea;(this.scrollablePixelsX||this.scrollablePixelsY)&&!t&&(this.scrollablePlotArea=t=new f(this)),null==t||t.applyFixed()}function p(){this.chart.scrollablePlotArea&&(this.chart.scrollablePlotArea.isDirty=!0)}class f{static compose(t,e,n){h(o,this.compose)&&(s(t,"afterInit",p),s(e,"afterSetChartSize",(t=>this.afterSetSize(t.target,t))),s(e,"render",d),s(n,"show",p))}static afterSetSize(t,e){let n,i,r,{minWidth:o,minHeight:s}=t.options.chart.scrollablePlotArea||{},{clipBox:a,plotBox:l,inverted:h,renderer:d}=t;if(!d.forExport&&(o?(t.scrollablePixelsX=n=Math.max(0,o-t.chartWidth),n&&(t.scrollablePlotBox=u(t.plotBox),l.width=t.plotWidth+=n,a[h?"height":"width"]+=n,r=!0)):s&&(t.scrollablePixelsY=i=Math.max(0,s-t.chartHeight),c(i)&&(t.scrollablePlotBox=u(t.plotBox),l.height=t.plotHeight+=i,a[h?"width":"height"]+=i,r=!1)),c(r)&&!e.skipAxes))for(let e of t.axes)e.horiz===r&&(e.setAxisSize(),e.setAxisTranslation())}constructor(t){var e;let i,r=t.options.chart,o=n.getRendererType(),c=r.scrollablePlotArea||{},u=this.moveFixedElements.bind(this),h={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};t.scrollablePixelsX&&(h.overflowX="auto"),t.scrollablePixelsY&&(h.overflowY="auto"),this.chart=t;let d=this.parentDiv=a("div",{className:"highcharts-scrolling-parent"},{position:"relative"},t.renderTo),p=this.scrollingContainer=a("div",{className:"highcharts-scrolling"},h,d),f=this.innerContainer=a("div",{className:"highcharts-inner-container"},void 0,p),g=this.fixedDiv=a("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:((null==(e=r.style)?void 0:e.zIndex)||0)+2,top:0},void 0,!0),m=this.fixedRenderer=new o(g,t.chartWidth,t.chartHeight,r.style);this.mask=m.path().attr({fill:r.backgroundColor||"#fff","fill-opacity":c.opacity??.85,zIndex:-1}).addClass("highcharts-scrollable-mask").add(),p.parentNode.insertBefore(g,p),l(t.renderTo,{overflow:"visible"}),s(t,"afterShowResetZoom",u),s(t,"afterApplyDrilldown",u),s(t,"afterLayOutTitles",u),s(p,"scroll",(()=>{let{pointer:e,hoverPoint:n}=t;e&&(delete e.chartPosition,n&&(i=n),e.runPointActions(void 0,i,!0))})),f.appendChild(t.container)}applyFixed(){var t;let{chart:e,fixedRenderer:n,isDirty:i,scrollingContainer:o}=this,{axisOffset:s,chartWidth:a,chartHeight:u,container:h,plotHeight:d,plotLeft:p,plotTop:f,plotWidth:g,scrollablePixelsX:m=0,scrollablePixelsY:v=0}=e,{scrollPositionX:y=0,scrollPositionY:b=0}=e.options.chart.scrollablePlotArea||{},_=a+m,x=u+v;n.setSize(a,u),(i??!0)&&(this.isDirty=!1,this.moveFixedElements()),r(e.container),l(h,{width:`${_}px`,height:`${x}px`}),e.renderer.boxWrapper.attr({width:_,height:x,viewBox:[0,0,_,x].join(" ")}),null==(t=e.chartBackground)||t.attr({width:_,height:x}),l(o,{width:`${a}px`,height:`${u}px`}),c(i)||(o.scrollLeft=m*y,o.scrollTop=v*b);let w=f-s[0]-1,S=p-s[3]-1,k=f+d+s[2]+1,C=p+g+s[1]+1,A=p+g-m,O=f+d-v,T=[["M",0,0]];m?T=[["M",0,w],["L",p-1,w],["L",p-1,k],["L",0,k],["Z"],["M",A,w],["L",a,w],["L",a,k],["L",A,k],["Z"]]:v&&(T=[["M",S,0],["L",S,f-1],["L",C,f-1],["L",C,0],["Z"],["M",S,O],["L",S,u],["L",C,u],["L",C,O],["Z"]]),"adjustHeight"!==e.redrawTrigger&&this.mask.attr({d:T})}moveFixedElements(){let t,{container:e,inverted:n,scrollablePixelsX:i,scrollablePixelsY:r}=this.chart,o=this.fixedRenderer,s=f.fixedSelectors;for(let a of(i&&!n?t=".highcharts-yaxis":i&&n||r&&!n?t=".highcharts-xaxis":r&&n&&(t=".highcharts-yaxis"),t&&s.push(`${t}:not(.highcharts-radial-axis)`,`${t}-labels:not(.highcharts-radial-axis-labels)`),s))[].forEach.call(e.querySelectorAll(a),(t=>{(t.namespaceURI===o.SVG_NS?o.box:o.box.parentNode).appendChild(t),t.style.pointerEvents="auto"}))}}return f.fixedSelectors=[".highcharts-breadcrumbs-group",".highcharts-contextbutton",".highcharts-caption",".highcharts-credits",".highcharts-drillup-button",".highcharts-legend",".highcharts-legend-checkbox",".highcharts-navigator-series",".highcharts-navigator-xaxis",".highcharts-navigator-yaxis",".highcharts-navigator",".highcharts-range-selector-group",".highcharts-reset-zoom",".highcharts-scrollbar",".highcharts-subtitle",".highcharts-title"],f})),n(e,"Core/Axis/Stacking/StackItem.js",[e["Core/Templating.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n){let{format:i}=t,{series:r}=e,{destroyObjectProperties:o,fireEvent:s,isNumber:a,pick:l}=n;return class{constructor(t,e,n,i,r){let o=t.chart.inverted,s=t.reversed;this.axis=t;let a=this.isNegative=!!n!=!!s;this.options=e=e||{},this.x=i,this.total=null,this.cumulative=null,this.points={},this.hasValidPoints=!1,this.stack=r,this.leftCliff=0,this.rightCliff=0,this.alignOptions={align:e.align||(o?a?"left":"right":"center"),verticalAlign:e.verticalAlign||(o?"middle":a?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(o?a?"right":"left":"center")}destroy(){o(this,this.axis)}render(t){let e=this.axis.chart,n=this.options,r=n.format,o=r?i(r,this,e):n.formatter.call(this);if(this.label)this.label.attr({text:o,visibility:"hidden"});else{this.label=e.renderer.label(o,null,void 0,n.shape,void 0,void 0,n.useHTML,!1,"stack-labels");let i={r:n.borderRadius||0,text:o,padding:l(n.padding,5),visibility:"hidden"};e.styledMode||(i.fill=n.backgroundColor,i.stroke=n.borderColor,i["stroke-width"]=n.borderWidth,this.label.css(n.style||{})),this.label.attr(i),this.label.added||this.label.add(t)}this.label.labelrank=e.plotSizeY,s(this,"afterRender")}setOffset(t,e,n,i,o,c){let{alignOptions:u,axis:h,label:d,options:p,textAlign:f}=this,g=h.chart,m=this.getStackBox({xOffset:t,width:e,boxBottom:n,boxTop:i,defaultX:o,xAxis:c}),{verticalAlign:v}=u;if(d&&m){let t,e=d.getBBox(void 0,0),n=d.padding,i="justify"===l(p.overflow,"justify");u.x=p.x||0,u.y=p.y||0;let{x:o,y:s}=this.adjustStackPosition({labelBox:e,verticalAlign:v,textAlign:f});m.x-=o,m.y-=s,d.align(u,!1,m),(t=g.isInsidePlot(d.alignAttr.x+u.x+o,d.alignAttr.y+u.y+s))||(i=!1),i&&r.prototype.justifyDataLabel.call(h,d,u,d.alignAttr,e,m),d.attr({x:d.alignAttr.x,y:d.alignAttr.y,rotation:p.rotation,rotationOriginX:e.width*{left:0,center:.5,right:1}[p.textAlign||"center"],rotationOriginY:e.height/2}),l(!i&&p.crop,!0)&&(t=a(d.x)&&a(d.y)&&g.isInsidePlot(d.x-n+(d.width||0),d.y)&&g.isInsidePlot(d.x+n,d.y)),d[t?"show":"hide"]()}s(this,"afterSetOffset",{xOffset:t,width:e})}adjustStackPosition({labelBox:t,verticalAlign:e,textAlign:n}){let i={bottom:0,middle:1,top:2,right:1,center:0,left:-1},r=i[e],o=i[n];return{x:t.width/2+t.width/2*o,y:t.height/2*r}}getStackBox(t){let e=this.axis,n=e.chart,{boxTop:i,defaultX:r,xOffset:o,width:s,boxBottom:c}=t,u=e.stacking.usePercentage?100:l(i,this.total,0),h=e.toPixels(u),d=t.xAxis||n.xAxis[0],p=l(r,d.translate(this.x))+o,f=Math.abs(h-e.toPixels(c||a(e.min)&&e.logarithmic&&e.logarithmic.lin2log(e.min)||0)),g=n.inverted,m=this.isNegative;return g?{x:(m?h:h-f)-n.plotLeft,y:d.height-p-s+d.top-n.plotTop,width:f,height:s}:{x:p+d.transB-n.plotLeft,y:(m?h-f:h)-n.plotTop,width:s,height:f}}}})),n(e,"Core/Axis/Stacking/StackingAxis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Utilities.js"]],(function(t,e,n,i,r){var o;let{getDeferredAnimation:s}=t,{series:{prototype:a}}=n,{addEvent:l,correctFloat:c,defined:u,destroyObjectProperties:h,fireEvent:d,isArray:p,isNumber:f,objectEach:g,pick:m}=r;function v(){let t=this.inverted;this.axes.forEach((t=>{t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)})),this.series.forEach((e=>{let n=e.xAxis&&e.xAxis.options||{};e.options.stacking&&e.reserveSpace()&&(e.stackKey=[e.type,m(e.options.stack,""),t?n.top:n.left,t?n.height:n.width].join(","))}))}function y(){var t;let e=this.stacking;if(e){let n=e.stacks;g(n,((t,e)=>{h(t),delete n[e]})),null==(t=e.stackTotalGroup)||t.destroy()}}function b(){this.stacking||(this.stacking=new C(this))}function _(t,e,n,i){return!u(t)||t.x!==e||i&&t.stackKey!==i?t={x:e,index:0,key:i,stackKey:i}:t.index++,t.key=[n,e,t.index].join(","),t}function x(){let t,e=this,n=e.yAxis,i=e.stackKey||"",r=n.stacking.stacks,o=e.processedXData,s=e.options.stacking,a=e[s+"Stacker"];a&&[i,"-"+i].forEach((n=>{var i;let s,l,c,u=o.length;for(;u--;)s=o[u],t=e.getStackIndicator(t,s,e.index,n),l=null==(i=r[n])?void 0:i[s],(c=null==l?void 0:l.points[t.key||""])&&a.call(e,c,l,u)}))}function w(t,e,n){let i=e.total?100/e.total:0;t[0]=c(t[0]*i),t[1]=c(t[1]*i),this.stackedYData[n]=t[1]}function S(t){(this.is("column")||this.is("columnrange"))&&(this.options.centerInCategory&&!this.options.stacking&&this.chart.series.length>1?a.setStackedPoints.call(this,t,"group"):t.stacking.resetStacks())}function k(t,e){var n,r;let o,s,a,l,h,d,f,g,v,y=e||this.options.stacking;if(!y||!this.reserveSpace()||({group:"xAxis"}[y]||"yAxis")!==t.coll)return;let b=this.processedXData,_=this.processedYData,x=[],w=_.length,S=this.options,k=S.threshold||0,C=S.startFromThreshold?k:0,A=S.stack,O=e?`${this.type},${y}`:this.stackKey||"",T="-"+O,E=this.negStacks,P=t.stacking,M=P.stacks,L=P.oldStacks;for(P.stacksTouched+=1,f=0;f<w;f++){g=b[f],v=_[f],d=(o=this.getStackIndicator(o,g,this.index)).key||"",M[h=(s=E&&v<(C?0:k))?T:O]||(M[h]={}),M[h][g]||(null!=(n=L[h])&&n[g]?(M[h][g]=L[h][g],M[h][g].total=null):M[h][g]=new i(t,t.options.stackLabels,!!s,g,A)),a=M[h][g],null!==v?(a.points[d]=a.points[this.index]=[m(a.cumulative,C)],u(a.cumulative)||(a.base=d),a.touched=P.stacksTouched,o.index>0&&!1===this.singleStacks&&(a.points[d][0]=a.points[this.index+","+g+",0"][0])):(delete a.points[d],delete a.points[this.index]);let e=a.total||0;"percent"===y?(l=s?O:T,e=E&&null!=(r=M[l])&&r[g]?(l=M[l][g]).total=Math.max(l.total||0,e)+Math.abs(v)||0:c(e+(Math.abs(v)||0))):"group"===y?(p(v)&&(v=v[0]),null!==v&&e++):e=c(e+(v||0)),a.cumulative="group"===y?(e||1)-1:c(m(a.cumulative,C)+(v||0)),a.total=e,null!==v&&(a.points[d].push(a.cumulative),x[f]=a.cumulative,a.hasValidPoints=!0)}"percent"===y&&(P.usePercentage=!0),"group"!==y&&(this.stackedYData=x),P.oldStacks={}}class C{constructor(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}buildStacks(){let t,e,n=this.axis,i=n.series,r="xAxis"===n.coll,o=n.options.reversedStacks,s=i.length;for(this.resetStacks(),this.usePercentage=!1,e=s;e--;)t=i[o?e:s-e-1],r&&t.setGroupedPoints(n),t.setStackedPoints(n);if(!r)for(e=0;e<s;e++)i[e].modifyStacks();d(n,"afterBuildStacks")}cleanStacks(){this.oldStacks&&(this.stacks=this.oldStacks,g(this.stacks,(t=>{g(t,(t=>{t.cumulative=t.total}))})))}resetStacks(){g(this.stacks,(t=>{g(t,((e,n)=>{f(e.touched)&&e.touched<this.stacksTouched?(e.destroy(),delete t[n]):(e.total=null,e.cumulative=null)}))}))}renderStackTotals(){var t;let e=this.axis,n=e.chart,i=n.renderer,r=this.stacks,o=s(n,(null==(t=e.options.stackLabels)?void 0:t.animation)||!1),a=this.stackTotalGroup=this.stackTotalGroup||i.g("stack-labels").attr({zIndex:6,opacity:0}).add();a.translate(n.plotLeft,n.plotTop),g(r,(t=>{g(t,(t=>{t.render(a)}))})),a.animate({opacity:1},o)}}return(o||(o={})).compose=function(t,e,n){let i=e.prototype,r=n.prototype;i.getStacks||(l(t,"init",b),l(t,"destroy",y),i.getStacks=v,r.getStackIndicator=_,r.modifyStacks=x,r.percentStacker=w,r.setGroupedPoints=S,r.setStackedPoints=k)},o})),n(e,"Series/Line/LineSeries.js",[e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n){let{defined:i,merge:r,isObject:o}=n;class s extends t{drawGraph(){let t=this.options,e=(this.gappedPath||this.getGraphPath).call(this),n=this.chart.styledMode;[this,...this.zones].forEach(((i,s)=>{let a,l=i.graph,c=l?"animate":"attr",u=i.dashStyle||t.dashStyle;l?(l.endX=this.preventGraphAnimation?null:e.xMap,l.animate({d:e})):e.length&&(i.graph=l=this.chart.renderer.path(e).addClass("highcharts-graph"+(s?` highcharts-zone-graph-${s-1} `:" ")+(s&&i.className||"")).attr({zIndex:1}).add(this.group)),l&&!n&&(a={stroke:!s&&t.lineColor||i.color||this.color||"#cccccc","stroke-width":t.lineWidth||0,fill:this.fillGraph&&this.color||"none"},u?a.dashstyle=u:"square"!==t.linecap&&(a["stroke-linecap"]=a["stroke-linejoin"]="round"),l[c](a).shadow(s<2&&t.shadow&&r({filterUnits:"userSpaceOnUse"},o(t.shadow)?t.shadow:{}))),l&&(l.startX=e.xMap,l.isArea=e.isArea)}))}getGraphPath(t,e,n){let r,o=this,s=o.options,a=[],l=[],c=s.step,u=(t=t||o.points).reversed;return u&&t.reverse(),(c={right:1,center:2}[c]||c&&3)&&u&&(c=4-c),(t=this.getValidPoints(t,!1,!(s.connectNulls&&!e&&!n))).forEach((function(u,h){let d,p=u.plotX,f=u.plotY,g=t[h-1],m=u.isNull||"number"!=typeof f;(u.leftCliff||g&&g.rightCliff)&&!n&&(r=!0),m&&!i(e)&&h>0?r=!s.connectNulls:m&&!e?r=!0:(0===h||r?d=[["M",u.plotX,u.plotY]]:o.getPointSpline?d=[o.getPointSpline(t,u,h)]:c?(d=1===c?[["L",g.plotX,f]]:2===c?[["L",(g.plotX+p)/2,g.plotY],["L",(g.plotX+p)/2,f]]:[["L",p,g.plotY]]).push(["L",p,f]):d=[["L",p,f]],l.push(u.x),c&&(l.push(u.x),2===c&&l.push(u.x)),a.push.apply(a,d),r=!1)})),a.xMap=l,o.graphPath=a,a}}return s.defaultOptions=r(t.defaultOptions,{legendSymbol:"lineMarker"}),e.registerSeriesType("line",s),s})),n(e,"Series/Area/AreaSeriesDefaults.js",[],(function(){return{threshold:0,legendSymbol:"areaMarker"}})),n(e,"Series/Area/AreaSeries.js",[e["Series/Area/AreaSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n){let{seriesTypes:{line:i}}=e,{extend:r,merge:o,objectEach:s,pick:a}=n;class l extends i{drawGraph(){this.areaPath=[],super.drawGraph.apply(this);let{areaPath:t,options:e}=this;[this,...this.zones].forEach(((n,i)=>{let r={},o=n.fillColor||e.fillColor,s=n.area,a=s?"animate":"attr";s?(s.endX=this.preventGraphAnimation?null:t.xMap,s.animate({d:t})):(r.zIndex=0,(s=n.area=this.chart.renderer.path(t).addClass("highcharts-area"+(i?` highcharts-zone-area-${i-1} `:" ")+(i&&n.className||"")).add(this.group)).isArea=!0),this.chart.styledMode||(r.fill=o||n.color||this.color,r["fill-opacity"]=o?1:e.fillOpacity??.75,s.css({pointerEvents:this.stickyTracking?"none":"auto"})),s[a](r),s.startX=t.xMap,s.shiftUnit=e.step?2:1}))}getGraphPath(t){let e,n,r,o=i.prototype.getGraphPath,s=this.options,l=s.stacking,c=this.yAxis,u=[],h=[],d=this.index,p=c.stacking.stacks[this.stackKey],f=s.threshold,g=Math.round(c.getThreshold(s.threshold)),m=a(s.connectNulls,"percent"===l),v=function(n,i,r){let o,s,a=t[n],m=l&&p[a.x].points[d],v=a[r+"Null"]||0,y=a[r+"Cliff"]||0,b=!0;y||v?(o=(v?m[0]:m[1])+y,s=m[0]+y,b=!!v):!l&&t[i]&&t[i].isNull&&(o=s=f),void 0!==o&&(h.push({plotX:e,plotY:null===o?g:c.getThreshold(o),isNull:b,isCliff:!0}),u.push({plotX:e,plotY:null===s?g:c.getThreshold(s),doCurve:!1}))};t=t||this.points,l&&(t=this.getStackPoints(t));for(let i=0,o=t.length;i<o;++i)l||(t[i].leftCliff=t[i].rightCliff=t[i].leftNull=t[i].rightNull=void 0),n=t[i].isNull,e=a(t[i].rectPlotX,t[i].plotX),r=l?a(t[i].yBottom,g):g,n&&!m||(m||v(i,i-1,"left"),n&&!l&&m||(h.push(t[i]),u.push({x:i,plotX:e,plotY:r})),m||v(i,i+1,"right"));let y=o.call(this,h,!0,!0);u.reversed=!0;let b=o.call(this,u,!0,!0),_=b[0];_&&"M"===_[0]&&(b[0]=["L",_[1],_[2]]);let x=y.concat(b);x.length&&x.push(["Z"]);let w=o.call(this,h,!1,m);return this.chart.series.length>1&&l&&h.some((t=>t.isCliff))&&(x.hasStackedCliffs=w.hasStackedCliffs=!0),x.xMap=y.xMap,this.areaPath=x,w}getStackPoints(t){let e=this,n=[],i=[],r=this.xAxis,o=this.yAxis,l=o.stacking.stacks[this.stackKey],c={},u=o.series,h=u.length,d=o.options.reversedStacks?1:-1,p=u.indexOf(e);if(t=t||this.points,this.options.stacking){for(let e=0;e<t.length;e++)t[e].leftNull=t[e].rightNull=void 0,c[t[e].x]=t[e];s(l,(function(t,e){null!==t.total&&i.push(e)})),i.sort((function(t,e){return t-e}));let f=u.map((t=>t.visible));i.forEach((function(t,s){let g,m,v=0;if(c[t]&&!c[t].isNull)n.push(c[t]),[-1,1].forEach((function(n){let r=1===n?"rightNull":"leftNull",o=l[i[s+n]],a=0;if(o){let n=p;for(;n>=0&&n<h;){let i=u[n].index;!(g=o.points[i])&&(i===e.index?c[t][r]=!0:f[n]&&(m=l[t].points[i])&&(a-=m[1]-m[0])),n+=d}}c[t][1===n?"rightCliff":"leftCliff"]=a}));else{let e=p;for(;e>=0&&e<h;){let n=u[e].index;if(g=l[t].points[n]){v=g[1];break}e+=d}v=a(v,0),v=o.translate(v,0,1,0,1),n.push({isNull:!0,plotX:r.translate(t,0,0,0,1),x:t,plotY:v,yBottom:v})}}))}return n}}return l.defaultOptions=o(i.defaultOptions,t),r(l.prototype,{singleStacks:!1}),e.registerSeriesType("area",l),l})),n(e,"Series/Spline/SplineSeries.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e){let{line:n}=t.seriesTypes,{merge:i,pick:r}=e;class o extends n{getPointSpline(t,e,n){let i,o,s,a,l=e.plotX||0,c=e.plotY||0,u=t[n-1],h=t[n+1];function d(t){return t&&!t.isNull&&!1!==t.doCurve&&!e.isCliff}if(d(u)&&d(h)){let t=u.plotX||0,n=u.plotY||0,r=h.plotX||0,d=h.plotY||0,p=0;i=(1.5*l+t)/2.5,o=(1.5*c+n)/2.5,s=(1.5*l+r)/2.5,a=(1.5*c+d)/2.5,s!==i&&(p=(a-o)*(s-l)/(s-i)+c-a),o+=p,a+=p,o>n&&o>c?(o=Math.max(n,c),a=2*c-o):o<n&&o<c&&(o=Math.min(n,c),a=2*c-o),a>d&&a>c?(a=Math.max(d,c),o=2*c-a):a<d&&a<c&&(a=Math.min(d,c),o=2*c-a),e.rightContX=s,e.rightContY=a,e.controlPoints={low:[i,o],high:[s,a]}}let p=["C",r(u.rightContX,u.plotX,0),r(u.rightContY,u.plotY,0),r(i,l,0),r(o,c,0),l,c];return u.rightContX=u.rightContY=void 0,p}}return o.defaultOptions=i(n.defaultOptions),t.registerSeriesType("spline",o),o})),n(e,"Series/AreaSpline/AreaSplineSeries.js",[e["Series/Spline/SplineSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n){let{area:i,area:{prototype:r}}=e.seriesTypes,{extend:o,merge:s}=n;class a extends t{}return a.defaultOptions=s(t.defaultOptions,i.defaultOptions),o(a.prototype,{getGraphPath:r.getGraphPath,getStackPoints:r.getStackPoints,drawGraph:r.drawGraph}),e.registerSeriesType("areaspline",a),a})),n(e,"Series/Column/ColumnSeriesDefaults.js",[],(function(){return{borderRadius:3,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}})),n(e,"Series/Column/ColumnSeries.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Series/Column/ColumnSeriesDefaults.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n,i,r,o,s){let{animObject:a}=t,{parse:l}=e,{noop:c}=i,{clamp:u,crisp:h,defined:d,extend:p,fireEvent:f,isArray:g,isNumber:m,merge:v,pick:y,objectEach:b}=s;class _ extends r{animate(t){let e,n,i=this,r=this.yAxis,o=r.pos,s=r.reversed,l=i.options,{clipOffset:c,inverted:h}=this.chart,d={},f=h?"translateX":"translateY";t&&c?(d.scaleY=.001,n=u(r.toPixels(l.threshold),o,o+r.len),h?(n+=s?-Math.floor(c[0]):Math.ceil(c[2]),d.translateX=n-r.len):(n+=s?Math.ceil(c[0]):-Math.floor(c[2]),d.translateY=n),i.clipBox&&i.setClip(),i.group.attr(d)):(e=Number(i.group.attr(f)),i.group.animate({scaleY:1},p(a(i.options.animation),{step:function(t,n){i.group&&(d[f]=e+n.pos*(o-e),i.group.attr(d))}})))}init(t,e){super.init.apply(this,arguments);let n=this;(t=n.chart).hasRendered&&t.series.forEach((function(t){t.type===n.type&&(t.isDirty=!0)}))}getColumnMetrics(){var t,e;let n,i=this,r=i.options,o=i.xAxis,s=i.yAxis,a=o.options.reversedStacks,l=o.reversed&&!a||!o.reversed&&a,c={},u=0;!1===r.grouping?u=1:i.chart.series.forEach((function(t){let e,r=t.yAxis,o=t.options;t.type===i.type&&t.reserveSpace()&&s.len===r.len&&s.pos===r.pos&&(o.stacking&&"group"!==o.stacking?(void 0===c[n=t.stackKey]&&(c[n]=u++),e=c[n]):!1!==o.grouping&&(e=u++),t.columnIndex=e)}));let h=Math.min(Math.abs(o.transA)*(!(null!=(t=o.brokenAxis)&&t.hasBreaks)&&(null==(e=o.ordinal)?void 0:e.slope)||r.pointRange||o.closestPointRange||o.tickInterval||1),o.len),d=h*r.groupPadding,p=(h-2*d)/(u||1),f=Math.min(r.maxPointWidth||o.len,y(r.pointWidth,p*(1-2*r.pointPadding))),g=(i.columnIndex||0)+(l?1:0);return i.columnMetrics={width:f,offset:(p-f)/2+(d+g*p-h/2)*(l?-1:1),paddedWidth:p,columnCount:u},i.columnMetrics}crispCol(t,e,n,i){let r=this.borderWidth,o=this.chart.inverted;return i=h(e+i,r,o)-(e=h(e,r,o)),this.options.crisp&&(n=h(t+n,r)-(t=h(t,r))),{x:t,y:e,width:n,height:i}}adjustForMissingColumns(t,e,n,i){var r;if(!n.isNull&&i.columnCount>1){let o=this.xAxis.series.filter((t=>t.visible)).map((t=>t.index)),s=0,a=0;b(null==(r=this.xAxis.stacking)?void 0:r.stacks,(t=>{if("number"==typeof n.x){let e=t[n.x.toString()];if(e&&g(e.points[this.index])){let t=Object.keys(e.points).filter((t=>!t.match(",")&&e.points[t]&&e.points[t].length>1)).map(parseFloat).filter((t=>-1!==o.indexOf(t))).sort(((t,e)=>e-t));s=t.indexOf(this.index),a=t.length}}})),s=this.xAxis.reversed?a-1-s:s;let l=(a-1)*i.paddedWidth+e;t=(n.plotX||0)+l/2-e-s*i.paddedWidth}return t}translate(){let t=this,e=t.chart,n=t.options,i=t.dense=t.closestPointRange*t.xAxis.transA<2,o=t.borderWidth=y(n.borderWidth,i?0:1),s=t.xAxis,a=t.yAxis,l=n.threshold,c=y(n.minPointLength,5),h=t.getColumnMetrics(),p=h.width,g=t.pointXOffset=h.offset,v=t.dataMin,b=t.dataMax,_=t.translatedThreshold=a.getThreshold(l),x=t.barW=Math.max(p,1+2*o);n.pointPadding&&(x=Math.ceil(x)),r.prototype.translate.apply(t),t.points.forEach((function(i){let r,o=y(i.yBottom,_),f=999+Math.abs(o),w=i.plotX||0,S=u(i.plotY,-f,a.len+f),k=Math.min(S,o),C=Math.max(S,o)-k,A=p,O=w+g,T=x;c&&Math.abs(C)<c&&(C=c,r=!a.reversed&&!i.negative||a.reversed&&i.negative,m(l)&&m(b)&&i.y===l&&b<=l&&(a.min||0)<l&&(v!==b||(a.max||0)<=l)&&(r=!r,i.negative=!i.negative),k=Math.abs(k-_)>c?o-c:_-(r?c:0)),d(i.options.pointWidth)&&(O-=Math.round(((A=T=Math.ceil(i.options.pointWidth))-p)/2)),n.centerInCategory&&!n.stacking&&(O=t.adjustForMissingColumns(O,A,i,h)),i.barX=O,i.pointWidth=A,i.tooltipPos=e.inverted?[u(a.len+a.pos-e.plotLeft-S,a.pos-e.plotLeft,a.len+a.pos-e.plotLeft),s.len+s.pos-e.plotTop-O-T/2,C]:[s.left-e.plotLeft+O+T/2,u(S+a.pos-e.plotTop,a.pos-e.plotTop,a.len+a.pos-e.plotTop),C],i.shapeType=t.pointClass.prototype.shapeType||"roundedRect",i.shapeArgs=t.crispCol(O,i.isNull?_:k,T,i.isNull?0:C)})),f(this,"afterColumnTranslate")}drawGraph(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")}pointAttribs(t,e){let n,i,r,o=this.options,s=this.pointAttrToOptions||{},a=s.stroke||"borderColor",c=s["stroke-width"]||"borderWidth",u=t&&t.color||this.color,h=t&&t[a]||o[a]||u,d=t&&t.options.dashStyle||o.dashStyle,p=t&&t[c]||o[c]||this[c]||0,f=y(t&&t.opacity,o.opacity,1);t&&this.zones.length&&(i=t.getZone(),u=t.options.color||i&&(i.color||t.nonZonedColor)||this.color,i&&(h=i.borderColor||h,d=i.dashStyle||d,p=i.borderWidth||p)),e&&t&&(r=(n=v(o.states[e],t.options.states&&t.options.states[e]||{})).brightness,u=n.color||void 0!==r&&l(u).brighten(n.brightness).get()||u,h=n[a]||h,p=n[c]||p,d=n.dashStyle||d,f=y(n.opacity,f));let g={fill:u,stroke:h,"stroke-width":p,opacity:f};return d&&(g.dashstyle=d),g}drawPoints(t=this.points){let e,n=this,i=this.chart,r=n.options,o=i.renderer,s=r.animationLimit||250;t.forEach((function(t){let a=t.plotY,l=t.graphic,c=!!l,u=l&&i.pointCount<s?"animate":"attr";m(a)&&null!==t.y?(e=t.shapeArgs,l&&t.hasNewShapeType()&&(l=l.destroy()),n.enabledDataSorting&&(t.startXPos=n.xAxis.reversed?-(e&&e.width||0):n.xAxis.width),!l&&(t.graphic=l=o[t.shapeType](e).add(t.group||n.group),l&&n.enabledDataSorting&&i.hasRendered&&i.pointCount<s&&(l.attr({x:t.startXPos}),c=!0,u="animate")),l&&c&&l[u](v(e)),i.styledMode||l[u](n.pointAttribs(t,t.selected&&"select")).shadow(!1!==t.allowShadow&&r.shadow),l&&(l.addClass(t.getClassName(),!0),l.attr({visibility:t.visible?"inherit":"hidden"}))):l&&(t.graphic=l.destroy())}))}drawTracker(t=this.points){let e,n=this,i=n.chart,r=i.pointer,o=function(t){let e=null==r?void 0:r.getPointFromEvent(t);r&&e&&n.options.enableMouseTracking&&(r.isDirectTouch=!0,e.onMouseOver(t))};t.forEach((function(t){e=g(t.dataLabels)?t.dataLabels:t.dataLabel?[t.dataLabel]:[],t.graphic&&(t.graphic.element.point=t),e.forEach((function(e){(e.div||e.element).point=t}))})),n._hasTracking||(n.trackerGroups.forEach((function(t){n[t]&&(n[t].addClass("highcharts-tracker").on("mouseover",o).on("mouseout",(function(t){null==r||r.onTrackerMouseOut(t)})).on("touchstart",o),!i.styledMode&&n.options.cursor&&n[t].css({cursor:n.options.cursor}))})),n._hasTracking=!0),f(this,"afterDrawTracker")}remove(){let t=this,e=t.chart;e.hasRendered&&e.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)})),r.prototype.remove.apply(t,arguments)}}return _.defaultOptions=v(r.defaultOptions,n),p(_.prototype,{directTouch:!0,getSymbol:c,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),o.registerSeriesType("column",_),_})),n(e,"Core/Series/DataLabel.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],(function(t,e,n){var i;let{getDeferredAnimation:r}=t,{format:o}=e,{defined:s,extend:a,fireEvent:l,isArray:c,isString:u,merge:h,objectEach:d,pick:p,pInt:f,splat:g}=n;return function(t){function e(){return _(this).some((t=>null==t?void 0:t.enabled))}function n(t,e,n,i,r){var o;let{chart:l,enabledDataSorting:c}=this,u=this.isCartesian&&l.inverted,d=t.plotX,f=t.plotY,g=n.rotation||0,m=s(d)&&s(f)&&l.isInsidePlot(d,Math.round(f),{inverted:u,paneCoordinates:!0,series:this}),v=0===g&&"justify"===p(n.overflow,c?"none":"justify"),y=this.visible&&!1!==t.visible&&s(d)&&(t.series.forceDL||c&&!v||m||p(n.inside,!!this.options.stacking)&&i&&l.isInsidePlot(d,u?i.x+1:i.y+i.height-1,{inverted:u,paneCoordinates:!0,series:this})),b=t.pos();if(y&&b){var _;let s=e.getBBox(),d=e.getBBox(void 0,0),f={right:1,center:.5}[n.align||0]||0,x={bottom:1,middle:.5}[n.verticalAlign||0]||0;if(i=a({x:b[0],y:Math.round(b[1]),width:0,height:0},i||{}),"plotEdges"===n.alignTo&&this.isCartesian&&(i[u?"x":"y"]=0,i[u?"width":"height"]=(null==(o=this.yAxis)?void 0:o.len)||0),a(n,{width:s.width,height:s.height}),_=i,c&&this.xAxis&&!v&&this.setDataLabelStartPos(t,e,r,m,_),e.align(h(n,{width:d.width,height:d.height}),!1,i,!1),e.alignAttr.x+=f*(d.width-s.width),e.alignAttr.y+=x*(d.height-s.height),e[e.placed?"animate":"attr"]({x:e.alignAttr.x+(s.width-d.width)/2,y:e.alignAttr.y+(s.height-d.height)/2,rotationOriginX:(e.width||0)/2,rotationOriginY:(e.height||0)/2}),v&&i.height>=0)this.justifyDataLabel(e,n,e.alignAttr,s,i,r);else if(p(n.crop,!0)){let{x:t,y:n}=e.alignAttr;y=l.isInsidePlot(t,n,{paneCoordinates:!0,series:this})&&l.isInsidePlot(t+s.width-1,n+s.height-1,{paneCoordinates:!0,series:this})}n.shape&&!g&&e[r?"attr":"animate"]({anchorX:b[0],anchorY:b[1]})}r&&c&&(e.placed=!1),y||c&&!v?(e.show(),e.placed=!0):(e.hide(),e.placed=!1)}function i(){return this.plotGroup("dataLabelsGroup","data-labels",this.hasRendered?"inherit":"hidden",this.options.dataLabels.zIndex||6)}function m(t){let e=this.hasRendered||0,n=this.initDataLabelsGroup().attr({opacity:+e});return!e&&n&&(this.visible&&n.show(),this.options.animation?n.animate({opacity:1},t):n.attr({opacity:1})),n}function v(t){var e;let n;t=t||this.points;let i=this,a=i.chart,c=i.options,h=a.renderer,{backgroundColor:m,plotBackgroundColor:v}=a.options.chart,y=h.getContrast(u(v)&&v||u(m)&&m||"#000000"),x=_(i),{animation:w,defer:S}=x[0],k=S?r(a,w,i):{defer:0,duration:0};l(this,"drawDataLabels"),null!=(e=i.hasDataLabels)&&e.call(i)&&(n=this.initDataLabels(k),t.forEach((t=>{var e,r;let m=t.dataLabels||[];g(b(x,t.dlOptions||(null==(e=t.options)?void 0:e.dataLabels))).forEach(((e,r)=>{let g,v,b,_,x,w=e.enabled&&(t.visible||t.dataLabelOnHidden)&&(!t.isNull||t.dataLabelOnNull)&&function(t,e){let n=e.filter;if(n){let e=n.operator,i=t[n.property],r=n.value;return">"===e&&i>r||"<"===e&&i<r||">="===e&&i>=r||"<="===e&&i<=r||"=="===e&&i==r||"==="===e&&i===r||"!="===e&&i!=r||"!=="===e&&i!==r}return!0}(t,e),{backgroundColor:S,borderColor:k,distance:C,style:A={}}=e,O={},T=m[r],E=!T;w&&(v=p(e[t.formatPrefix+"Format"],e.format),g=t.getLabelConfig(),b=s(v)?o(v,g,a):(e[t.formatPrefix+"Formatter"]||e.formatter).call(g,e),_=e.rotation,!a.styledMode&&(A.color=p(e.color,A.color,u(i.color)?i.color:void 0,"#000000"),"contrast"===A.color?("none"!==S&&(x=S),t.contrastColor=h.getContrast("auto"!==x&&x||t.color||i.color),A.color=x||!s(C)&&e.inside||0>f(C||0)||c.stacking?t.contrastColor:y):delete t.contrastColor,c.cursor&&(A.cursor=c.cursor)),O={r:e.borderRadius||0,rotation:_,padding:e.padding,zIndex:1},a.styledMode||(O.fill="auto"===S?t.color:S,O.stroke="auto"===k?t.color:k,O["stroke-width"]=e.borderWidth),d(O,((t,e)=>{void 0===t&&delete O[e]}))),!T||w&&s(b)&&!!T.div==!!e.useHTML&&(T.rotation&&e.rotation||T.rotation===e.rotation)||(T=void 0,E=!0),w&&s(b)&&(T?O.text=b:(T=h.label(b,0,0,e.shape,void 0,void 0,e.useHTML,void 0,"data-label")).addClass(" highcharts-data-label-color-"+t.colorIndex+" "+(e.className||"")+(e.useHTML?" highcharts-tracker":"")),T&&(T.options=e,T.attr(O),a.styledMode||T.css(A).shadow(e.shadow),l(T,"beforeAddingDataLabel",{labelOptions:e,point:t}),T.added||T.add(n),i.alignDataLabel(t,T,e,void 0,E),T.isActive=!0,m[r]&&m[r]!==T&&m[r].destroy(),m[r]=T))}));let v=m.length;for(;v--;)m[v]&&m[v].isActive?m[v].isActive=!1:(null==(r=m[v])||r.destroy(),m.splice(v,1));t.dataLabel=m[0],t.dataLabels=m}))),l(this,"afterDrawDataLabels")}function y(t,e,n,i,r,o){let s,a,l=this.chart,c=e.align,u=e.verticalAlign,h=t.box?0:t.padding||0,d=l.inverted?this.yAxis:this.xAxis,p=d?d.left-l.plotLeft:0,f=l.inverted?this.xAxis:this.yAxis,g=f?f.top-l.plotTop:0,{x:m=0,y:v=0}=e;return(s=(n.x||0)+h+p)<0&&("right"===c&&m>=0?(e.align="left",e.inside=!0):m-=s,a=!0),(s=(n.x||0)+i.width-h+p)>l.plotWidth&&("left"===c&&m<=0?(e.align="right",e.inside=!0):m+=l.plotWidth-s,a=!0),(s=n.y+h+g)<0&&("bottom"===u&&v>=0?(e.verticalAlign="top",e.inside=!0):v-=s,a=!0),(s=(n.y||0)+i.height-h+g)>l.plotHeight&&("top"===u&&v<=0?(e.verticalAlign="bottom",e.inside=!0):v+=l.plotHeight-s,a=!0),a&&(e.x=m,e.y=v,t.placed=!o,t.align(e,void 0,r)),a}function b(t,e){let n,i=[];if(c(t)&&!c(e))i=t.map((function(t){return h(t,e)}));else if(c(e)&&!c(t))i=e.map((function(e){return h(t,e)}));else if(c(t)||c(e)){if(c(t)&&c(e))for(n=Math.max(t.length,e.length);n--;)i[n]=h(t[n],e[n])}else i=h(t,e);return i}function _(t){var e,n;let i=t.chart.options.plotOptions;return g(b(b(null==(e=null==i?void 0:i.series)?void 0:e.dataLabels,null==(n=null==i?void 0:i[t.type])?void 0:n.dataLabels),t.options.dataLabels))}function x(t,e,n,i,r){let o=this.chart,s=o.inverted,a=this.xAxis,l=a.reversed,c=((s?e.height:e.width)||0)/2,u=t.pointWidth,h=u?u/2:0;e.startXPos=s?r.x:l?-c-h:a.width-c+h,e.startYPos=s?l?this.yAxis.height-c+h:-c-h:r.y,i?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),o.hasRendered&&(n&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}t.compose=function(t){let r=t.prototype;r.initDataLabels||(r.initDataLabels=m,r.initDataLabelsGroup=i,r.alignDataLabel=n,r.drawDataLabels=v,r.justifyDataLabel=y,r.setDataLabelStartPos=x,r.hasDataLabels=e)}}(i||(i={})),i})),n(e,"Series/Column/ColumnDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n,i){var r;let{composed:o}=e,{series:s}=n,{merge:a,pick:l,pushUnique:c}=i;return function(e){function n(t,e,n,i,r){let o=this.chart.inverted,c=t.series,u=(c.xAxis?c.xAxis.len:this.chart.plotSizeX)||0,h=(c.yAxis?c.yAxis.len:this.chart.plotSizeY)||0,d=t.dlBox||t.shapeArgs,p=l(t.below,t.plotY>l(this.translatedThreshold,h)),f=l(n.inside,!!this.options.stacking);if(d){if(i=a(d),"allow"!==n.overflow||!1!==n.crop){i.y<0&&(i.height+=i.y,i.y=0);let t=i.y+i.height-h;t>0&&t<i.height-1&&(i.height-=t)}o&&(i={x:h-i.y-i.height,y:u-i.x-i.width,width:i.height,height:i.width}),f||(o?(i.x+=p?0:i.width,i.width=0):(i.y+=p?i.height:0,i.height=0))}n.align=l(n.align,!o||f?"center":p?"right":"left"),n.verticalAlign=l(n.verticalAlign,o||f?"middle":p?"top":"bottom"),s.prototype.alignDataLabel.call(this,t,e,n,i,r),n.inside&&t.contrastColor&&e.css({color:t.contrastColor})}e.compose=function(e){t.compose(s),c(o,"ColumnDataLabel")&&(e.prototype.alignDataLabel=n)}}(r||(r={})),r})),n(e,"Series/Bar/BarSeries.js",[e["Series/Column/ColumnSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n){let{extend:i,merge:r}=n;class o extends t{}return o.defaultOptions=r(t.defaultOptions,{}),i(o.prototype,{inverted:!0}),e.registerSeriesType("bar",o),o})),n(e,"Series/Scatter/ScatterSeriesDefaults.js",[],(function(){return{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 0.8em"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}})),n(e,"Series/Scatter/ScatterSeries.js",[e["Series/Scatter/ScatterSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n){let{column:i,line:r}=e.seriesTypes,{addEvent:o,extend:s,merge:a}=n;class l extends r{applyJitter(){let t=this,e=this.options.jitter,n=this.points.length;e&&this.points.forEach((function(i,r){["x","y"].forEach((function(o,s){if(e[o]&&!i.isNull){let a=`plot${o.toUpperCase()}`,l=t[`${o}Axis`],c=e[o]*l.transA;if(l&&!l.logarithmic){let t=Math.max(0,(i[a]||0)-c),e=Math.min(l.len,(i[a]||0)+c);i[a]=t+(e-t)*function(t){let e=1e4*Math.sin(t);return e-Math.floor(e)}(r+s*n),"x"===o&&(i.clientX=i.plotX)}}}))}))}drawGraph(){this.options.lineWidth?super.drawGraph():this.graph&&(this.graph=this.graph.destroy())}}return l.defaultOptions=a(r.defaultOptions,t),s(l.prototype,{drawTracker:i.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"]}),o(l,"afterTranslate",(function(){this.applyJitter()})),e.registerSeriesType("scatter",l),l})),n(e,"Series/CenteredUtilities.js",[e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],(function(t,e,n){var i,r;let{deg2rad:o}=t,{fireEvent:s,isNumber:a,pick:l,relativeLength:c}=n;return(r=i||(i={})).getCenter=function(){let t,n,i,r=this.options,o=this.chart,u=2*(r.slicedOffset||0),h=o.plotWidth-2*u,d=o.plotHeight-2*u,p=r.center,f=Math.min(h,d),g=r.thickness,m=r.size,v=r.innerSize||0;"string"==typeof m&&(m=parseFloat(m)),"string"==typeof v&&(v=parseFloat(v));let y=[l(p[0],"50%"),l(p[1],"50%"),l(m&&m<0?void 0:r.size,"100%"),l(v&&v<0?void 0:r.innerSize||0,"0%")];for(!o.angular||this instanceof e||(y[3]=0),n=0;n<4;++n)i=y[n],t=n<2||2===n&&/%$/.test(i),y[n]=c(i,[h,d,f,y[2]][n])+(t?u:0);return y[3]>y[2]&&(y[3]=y[2]),a(g)&&2*g<y[2]&&g>0&&(y[3]=y[2]-2*g),s(this,"afterGetCenter",{positions:y}),y},r.getStartAndEndRadians=function(t,e){let n=a(t)?t:0,i=a(e)&&e>n&&e-n<360?e:n+360;return{start:o*(n+-90),end:o*(i+-90)}},i})),n(e,"Series/Pie/PiePoint.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],(function(t,e,n){let{setAnimation:i}=t,{addEvent:r,defined:o,extend:s,isNumber:a,pick:l,relativeLength:c}=n;class u extends e{getConnectorPath(t){let e=t.dataLabelPosition,n=t.options||{},i=n.connectorShape,r=this.connectorShapes[i]||i;return e&&r.call(this,{...e.computed,alignment:e.alignment},e.connectorPosition,n)||[]}getTranslate(){return this.sliced&&this.slicedTranslation||{translateX:0,translateY:0}}haloPath(t){let e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end,borderRadius:e.borderRadius})}constructor(t,e,n){super(t,e,n),this.half=0,this.name??(this.name="Slice");let i=t=>{this.slice("select"===t.type)};r(this,"select",i),r(this,"unselect",i)}isValid(){return a(this.y)&&this.y>=0}setVisible(t,e=!0){t!==this.visible&&this.update({visible:t??!this.visible},e,void 0,!1)}slice(t,e,n){let r=this.series;i(n,r.chart),e=l(e,!0),this.sliced=this.options.sliced=t=o(t)?t:!this.sliced,r.options.data[r.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate())}}return s(u.prototype,{connectorShapes:{fixedOffset:function(t,e,n){let i=e.breakAt,r=e.touchingSliceAt,o=n.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*i.x-r.x,2*i.y-r.y,i.x,i.y]:["L",i.x,i.y];return[["M",t.x,t.y],o,["L",r.x,r.y]]},straight:function(t,e){let n=e.touchingSliceAt;return[["M",t.x,t.y],["L",n.x,n.y]]},crookedLine:function(t,e,n){let{breakAt:i,touchingSliceAt:r}=e,{series:o}=this,[s,a,l]=o.center,u=l/2,{plotLeft:h,plotWidth:d}=o.chart,p="left"===t.alignment,{x:f,y:g}=t,m=i.x;if(n.crookDistance){let t=c(n.crookDistance,1);m=p?s+u+(d+h-s-u)*(1-t):h+(s-u)*t}else m=s+(a-g)*Math.tan((this.angle||0)-Math.PI/2);let v=[["M",f,g]];return(p?m<=f&&m>=i.x:m>=f&&m<=i.x)&&v.push(["L",m,g]),v.push(["L",i.x,i.y],["L",r.x,r.y]),v}}}),u})),n(e,"Series/Pie/PieSeriesDefaults.js",[],(function(){return{borderRadius:3,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{connectorPadding:5,connectorShape:"crookedLine",crookDistance:void 0,distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}})),n(e,"Series/Pie/PieSeries.js",[e["Series/CenteredUtilities.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Series/Pie/PiePoint.js"],e["Series/Pie/PieSeriesDefaults.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Utilities.js"]],(function(t,e,n,i,r,o,s,a,l){let{getStartAndEndRadians:c}=t,{noop:u}=n,{clamp:h,extend:d,fireEvent:p,merge:f,pick:g}=l;class m extends o{animate(t){let e=this,n=e.points,i=e.startAngleRad;t||n.forEach((function(t){let n=t.graphic,r=t.shapeArgs;n&&r&&(n.attr({r:g(t.startR,e.center&&e.center[3]/2),start:i,end:i}),n.animate({r:r.r,start:r.start,end:r.end},e.options.animation))}))}drawEmpty(){let t,e,n=this.startAngleRad,i=this.endAngleRad,r=this.options;0===this.total&&this.center?(t=this.center[0],e=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(t,e,this.center[1]/2,0,n,i).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:a.arc(t,e,this.center[2]/2,0,{start:n,end:i,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":r.borderWidth,fill:r.fillColor||"none",stroke:r.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())}drawPoints(){let t=this.chart.renderer;this.points.forEach((function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)}))}generatePoints(){super.generatePoints(),this.updateTotals()}getX(t,e,n,i){let r=this.center,o=this.radii?this.radii[n.index]||0:r[2]/2,s=i.dataLabelPosition,a=(null==s?void 0:s.distance)||0,l=Math.asin(h((t-r[1])/(o+a),-1,1));return r[0]+Math.cos(l)*(o+a)*(e?-1:1)+(a>0?(e?-1:1)*(i.padding||0):0)}hasData(){return!!this.processedXData.length}redrawPoints(){let t,e,n,i,r=this,o=r.chart;this.drawEmpty(),r.group&&!o.styledMode&&r.group.shadow(r.options.shadow),r.points.forEach((function(s){let a={};e=s.graphic,!s.isNull&&e?(i=s.shapeArgs,t=s.getTranslate(),o.styledMode||(n=r.pointAttribs(s,s.selected&&"select")),s.delayedRendering?(e.setRadialReference(r.center).attr(i).attr(t),o.styledMode||e.attr(n).attr({"stroke-linejoin":"round"}),s.delayedRendering=!1):(e.setRadialReference(r.center),o.styledMode||f(!0,a,n),f(!0,a,i,t),e.animate(a)),e.attr({visibility:s.visible?"inherit":"hidden"}),e.addClass(s.getClassName(),!0)):e&&(s.graphic=e.destroy())}))}sortByAngle(t,e){t.sort((function(t,n){return void 0!==t.angle&&(n.angle-t.angle)*e}))}translate(t){p(this,"translate"),this.generatePoints();let e,n,i,r,o,s,a,l=this.options,u=l.slicedOffset,h=c(l.startAngle,l.endAngle),d=this.startAngleRad=h.start,f=(this.endAngleRad=h.end)-d,g=this.points,m=l.ignoreHiddenPoint,v=g.length,y=0;for(t||(this.center=t=this.getCenter()),s=0;s<v;s++){a=g[s],e=d+y*f,a.isValid()&&(!m||a.visible)&&(y+=a.percentage/100),n=d+y*f;let l={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:Math.round(1e3*e)/1e3,end:Math.round(1e3*n)/1e3};a.shapeType="arc",a.shapeArgs=l,(i=(n+e)/2)>1.5*Math.PI?i-=2*Math.PI:i<-Math.PI/2&&(i+=2*Math.PI),a.slicedTranslation={translateX:Math.round(Math.cos(i)*u),translateY:Math.round(Math.sin(i)*u)},r=Math.cos(i)*t[2]/2,o=Math.sin(i)*t[2]/2,a.tooltipPos=[t[0]+.7*r,t[1]+.7*o],a.half=i<-Math.PI/2||i>Math.PI/2?1:0,a.angle=i}p(this,"afterTranslate")}updateTotals(){let t,e,n=this.points,i=n.length,r=this.options.ignoreHiddenPoint,o=0;for(t=0;t<i;t++)(e=n[t]).isValid()&&(!r||e.visible)&&(o+=e.y);for(t=0,this.total=o;t<i;t++)(e=n[t]).percentage=o>0&&(e.visible||!r)?e.y/o*100:0,e.total=o}}return m.defaultOptions=f(o.defaultOptions,r),d(m.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawTracker:e.prototype.drawTracker,getCenter:t.getCenter,getSymbol:u,invertible:!1,isCartesian:!1,noSharedTooltip:!0,pointAttribs:e.prototype.pointAttribs,pointClass:i,requireSorting:!1,searchPoint:u,trackerGroups:["group","dataLabelsGroup"]}),s.registerSeriesType("pie",m),m})),n(e,"Series/Pie/PieDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Globals.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n,i,r){var o;let{composed:s,noop:a}=e,{distribute:l}=n,{series:c}=i,{arrayMax:u,clamp:h,defined:d,pick:p,pushUnique:f,relativeLength:g}=r;return function(e){let n={radialDistributionY:function(t,e){var n;return((null==(n=e.dataLabelPosition)?void 0:n.top)||0)+t.distributeBox.pos},radialDistributionX:function(t,e,n,i,r){let o=r.dataLabelPosition;return t.getX(n<((null==o?void 0:o.top)||0)+2||n>((null==o?void 0:o.bottom)||0)-2?i:n,e.half,e,r)},justify:function(t,e,n,i){var r;return i[0]+(t.half?-1:1)*(n+((null==(r=e.dataLabelPosition)?void 0:r.distance)||0))},alignToPlotEdges:function(t,e,n,i){let r=t.getBBox().width;return e?r+i:n-r-i},alignToConnectors:function(t,e,n,i){let r,o=0;return t.forEach((function(t){(r=t.dataLabel.getBBox().width)>o&&(o=r)})),e?o+i:n-o-i}};function i(t,e){let{center:n,options:i}=this,r=n[2]/2,o=t.angle||0,s=Math.cos(o),a=Math.sin(o),l=n[0]+s*r,c=n[1]+a*r,u=Math.min((i.slicedOffset||0)+(i.borderWidth||0),e/5);return{natural:{x:l+s*e,y:c+a*e},computed:{},alignment:e<0?"center":t.half?"right":"left",connectorPosition:{breakAt:{x:l+s*u,y:c+a*u},touchingSliceAt:{x:l,y:c}},distance:e}}function r(){var t;let e,n,i,r=this,o=r.points,s=r.chart,a=s.plotWidth,h=s.plotHeight,f=s.plotLeft,m=Math.round(s.chartWidth/3),v=r.center,y=v[2]/2,b=v[1],_=[[],[]],x=[0,0,0,0],w=r.dataLabelPositioners,S=0;r.visible&&null!=(t=r.hasDataLabels)&&t.call(r)&&(o.forEach((t=>{(t.dataLabels||[]).forEach((t=>{t.shortened&&(t.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.shortened=!1)}))})),c.prototype.drawDataLabels.apply(r),o.forEach((t=>{(t.dataLabels||[]).forEach(((e,n)=>{var i;let r=v[2]/2,o=e.options,s=g((null==o?void 0:o.distance)||0,r);0===n&&_[t.half].push(t),!d(null==(i=null==o?void 0:o.style)?void 0:i.width)&&e.getBBox().width>m&&(e.css({width:Math.round(.7*m)+"px"}),e.shortened=!0),e.dataLabelPosition=this.getDataLabelPosition(t,s),S=Math.max(S,s)}))})),_.forEach(((t,e)=>{let o,c,u,g=t.length,m=[],_=0;g&&(r.sortByAngle(t,e-.5),S>0&&(o=Math.max(0,b-y-S),c=Math.min(b+y+S,s.plotHeight),t.forEach((t=>{(t.dataLabels||[]).forEach((e=>{var n;let i=e.dataLabelPosition;i&&i.distance>0&&(i.top=Math.max(0,b-y-i.distance),i.bottom=Math.min(b+y+i.distance,s.plotHeight),_=e.getBBox().height||21,e.lineHeight=s.renderer.fontMetrics(e.text||e).h+2*e.padding,t.distributeBox={target:((null==(n=e.dataLabelPosition)?void 0:n.natural.y)||0)-i.top+e.lineHeight/2,size:_,rank:t.y},m.push(t.distributeBox))}))})),l(m,u=c+_-o,u/5)),t.forEach((o=>{(o.dataLabels||[]).forEach((s=>{let l=s.options||{},c=o.distributeBox,u=s.dataLabelPosition,g=(null==u?void 0:u.natural.y)||0,b=l.connectorPadding||0,_=s.lineHeight||21,S=(_-s.getBBox().height)/2,k=0,C=g,A="inherit";if(u){if(m&&d(c)&&u.distance>0&&(void 0===c.pos?A="hidden":(i=c.size,C=w.radialDistributionY(o,s))),l.justify)k=w.justify(o,s,y,v);else switch(l.alignTo){case"connectors":k=w.alignToConnectors(t,e,a,f);break;case"plotEdges":k=w.alignToPlotEdges(s,e,a,f);break;default:k=w.radialDistributionX(r,o,C-S,g,s)}if(u.attribs={visibility:A,align:u.alignment},u.posAttribs={x:k+(l.x||0)+({left:b,right:-b}[u.alignment]||0),y:C+(l.y||0)-_/2},u.computed.x=k,u.computed.y=C-S,p(l.crop,!0)){let t;k-(n=s.getBBox().width)<b&&1===e?(t=Math.round(n-k+b),x[3]=Math.max(t,x[3])):k+n>a-b&&0===e&&(t=Math.round(k+n-a+b),x[1]=Math.max(t,x[1])),C-i/2<0?x[0]=Math.max(Math.round(i/2-C),x[0]):C+i/2>h&&(x[2]=Math.max(Math.round(C+i/2-h),x[2])),u.sideOverflow=t}}}))})))})),(0===u(x)||this.verifyDataLabelOverflow(x))&&(this.placeDataLabels(),this.points.forEach((t=>{(t.dataLabels||[]).forEach((n=>{var i;let{connectorColor:o,connectorWidth:a=1}=n.options||{},l=n.dataLabelPosition;if(a){let c;e=n.connector,l&&l.distance>0?(c=!e,e||(n.connector=e=s.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+t.colorIndex+(t.className?" "+t.className:"")).add(r.dataLabelsGroup)),s.styledMode||e.attr({"stroke-width":a,stroke:o||t.color||"#666666"}),e[c?"attr":"animate"]({d:t.getConnectorPath(n)}),e.attr({visibility:null==(i=l.attribs)?void 0:i.visibility})):e&&(n.connector=e.destroy())}}))}))))}function o(){this.points.forEach((t=>{(t.dataLabels||[]).forEach((t=>{var e;let n=t.dataLabelPosition;n?(n.sideOverflow&&(t.css({width:Math.max(t.getBBox().width-n.sideOverflow,0)+"px",textOverflow:((null==(e=t.options)?void 0:e.style)||{}).textOverflow||"ellipsis"}),t.shortened=!0),t.attr(n.attribs),t[t.moved?"animate":"attr"](n.posAttribs),t.moved=!0):t&&t.attr({y:-9999})})),delete t.distributeBox}),this)}function m(t){let e=this.center,n=this.options,i=n.center,r=n.minSize||80,o=r,s=null!==n.size;return!s&&(null!==i[0]?o=Math.max(e[2]-Math.max(t[1],t[3]),r):(o=Math.max(e[2]-t[1]-t[3],r),e[0]+=(t[3]-t[1])/2),null!==i[1]?o=h(o,r,e[2]-Math.max(t[0],t[2])):(o=h(o,r,e[2]-t[0]-t[2]),e[1]+=(t[0]-t[2])/2),o<e[2]?(e[2]=o,e[3]=Math.min(n.thickness?Math.max(0,o-2*n.thickness):Math.max(0,g(n.innerSize||0,o)),o),this.translate(e),this.drawDataLabels&&this.drawDataLabels()):s=!0),s}e.compose=function(e){if(t.compose(c),f(s,"PieDataLabel")){let t=e.prototype;t.dataLabelPositioners=n,t.alignDataLabel=a,t.drawDataLabels=r,t.getDataLabelPosition=i,t.placeDataLabels=o,t.verifyDataLabelOverflow=m}}}(o||(o={})),o})),n(e,"Core/Geometry/GeometryUtilities.js",[],(function(){var t,e;return(e=t||(t={})).getCenterOfPoints=function(t){let e=t.reduce(((t,e)=>(t.x+=e.x,t.y+=e.y,t)),{x:0,y:0});return{x:e.x/t.length,y:e.y/t.length}},e.getDistanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},e.getAngleBetweenPoints=function(t,e){return Math.atan2(e.x-t.x,e.y-t.y)},e.pointInPolygon=function({x:t,y:e},n){let i,r,o=n.length,s=!1;for(i=0,r=o-1;i<o;r=i++){let[o,a]=n[i],[l,c]=n[r];a>e!=c>e&&t<(l-o)*(e-a)/(c-a)+o&&(s=!s)}return s},t})),n(e,"Extensions/OverlappingDataLabels.js",[e["Core/Geometry/GeometryUtilities.js"],e["Core/Utilities.js"]],(function(t,e){let{pointInPolygon:n}=t,{addEvent:i,fireEvent:r,objectEach:o,pick:s}=e;function a(t){let e,i,o,s,a,c=t.length,u=(t,e)=>!(e.x>=t.x+t.width||e.x+e.width<=t.x||e.y>=t.y+t.height||e.y+e.height<=t.y),h=(t,e)=>{for(let i of t)if(n({x:i[0],y:i[1]},e))return!0;return!1},d=!1;for(let n=0;n<c;n++)(e=t[n])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.absoluteBox=function(t){var e,n;if(t&&(!t.alignAttr||t.placed)){let i=t.box?0:t.padding||0,r=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},o=t.getBBox();return t.width=o.width,t.height=o.height,{x:r.x+((null==(e=t.parentGroup)?void 0:e.translateX)||0)+i,y:r.y+((null==(n=t.parentGroup)?void 0:n.translateY)||0)+i,width:(t.width||0)-2*i,height:(t.height||0)-2*i,polygon:null==o?void 0:o.polygon}}}(e));t.sort(((t,e)=>(e.labelrank||0)-(t.labelrank||0)));for(let e=0;e<c;++e){s=(i=t[e])&&i.absoluteBox;let n=null==s?void 0:s.polygon;for(let r=e+1;r<c;++r){a=(o=t[r])&&o.absoluteBox;let e=!1;if(s&&a&&i!==o&&0!==i.newOpacity&&0!==o.newOpacity&&"hidden"!==i.visibility&&"hidden"!==o.visibility){let t=a.polygon;if(n&&t&&n!==t?h(n,t)&&(e=!0):u(s,a)&&(e=!0),e){let t=i.labelrank<o.labelrank?i:o,e=t.text;t.newOpacity=0,null!=e&&e.element.querySelector("textPath")&&e.hide()}}}}for(let e of t)l(e,this)&&(d=!0);d&&r(this,"afterHideAllOverlappingLabels")}function l(t,e){let n,i,o=!1;return t&&(i=t.newOpacity,t.oldOpacity!==i&&(t.hasClass("highcharts-data-label")?(t[i?"removeClass":"addClass"]("highcharts-data-label-hidden"),n=function(){e.styledMode||t.css({pointerEvents:i?"auto":"none"})},o=!0,t[t.isOld?"animate":"attr"]({opacity:i},void 0,n),r(e,"afterHideOverlappingLabel")):t.attr({opacity:i})),t.isOld=!0),o}function c(){var t;let e=this,n=[];for(let t of e.labelCollectors||[])n=n.concat(t());for(let t of e.yAxis||[])t.stacking&&t.options.stackLabels&&!t.options.stackLabels.allowOverlap&&o(t.stacking.stacks,(t=>{o(t,(t=>{t.label&&n.push(t.label)}))}));for(let i of e.series||[])if(i.visible&&null!=(t=i.hasDataLabels)&&t.call(i)){let t=t=>{for(let i of t)i.visible&&(i.dataLabels||[]).forEach((t=>{var r;let o=t.options||{};t.labelrank=s(o.labelrank,i.labelrank,null==(r=i.shapeArgs)?void 0:r.height),o.allowOverlap??Number(o.distance)>0?(t.oldOpacity=t.opacity,t.newOpacity=1,l(t,e)):n.push(t)}))};t(i.nodes||[]),t(i.points)}this.hideOverlappingLabels(n)}return{compose:function(t){let e=t.prototype;e.hideOverlappingLabels||(e.hideOverlappingLabels=a,i(t,"render",c))}}})),n(e,"Extensions/BorderRadius.js",[e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,n){let{defaultOptions:i}=t,{noop:r}=e,{addEvent:o,extend:s,isObject:a,merge:l,relativeLength:c}=n,u={radius:0,scope:"stack",where:void 0},h=r,d=r;function p(t,e,n,i,r={}){let o=h(t,e,n,i,r),{innerR:s=0,r:a=n,start:l=0,end:u=0}=r;if(r.open||!r.borderRadius)return o;let d=u-l,p=Math.sin(d/2),f=Math.max(Math.min(c(r.borderRadius||0,a-s),(a-s)/2,a*p/(1+p)),0),g=Math.min(f,d/Math.PI*2*s),m=o.length-1;for(;m--;)!function(t,e,n){let i,r,o,s=t[e],a=t[e+1];if("Z"===a[0]&&(a=t[0]),"M"!==s[0]&&"L"!==s[0]||"A"!==a[0]?"A"===s[0]&&("M"===a[0]||"L"===a[0])&&(i=a,r=s):(i=s,r=a,o=!0),i&&r&&r.params){let s=r[1],a=r[5],l=r.params,{start:c,end:u,cx:h,cy:d}=l,p=a?s-n:s+n,f=p?Math.asin(n/p):0,g=a?f:-f,m=Math.cos(f)*p;o?(l.start=c+g,i[1]=h+m*Math.cos(c),i[2]=d+m*Math.sin(c),t.splice(e+1,0,["A",n,n,0,0,1,h+s*Math.cos(l.start),d+s*Math.sin(l.start)])):(l.end=u-g,r[6]=h+s*Math.cos(l.end),r[7]=d+s*Math.sin(l.end),t.splice(e+1,0,["A",n,n,0,0,1,h+m*Math.cos(u),d+m*Math.sin(u)])),r[4]=Math.abs(l.end-l.start)<Math.PI?0:1}}(o,m,m>1?g:f);return o}function f(){var t,e;if(this.options.borderRadius&&(!this.chart.is3d||!this.chart.is3d())){let{options:n,yAxis:r}=this,o="percent"===n.stacking,l=null==(e=null==(t=i.plotOptions)?void 0:t[this.type])?void 0:e.borderRadius,u=g(n.borderRadius,a(l)?l:{}),h=r.options.reversed;for(let t of this.points){let{shapeArgs:e}=t;if("roundedRect"===t.shapeType&&e){let{width:i=0,height:a=0,y:l=0}=e,d=l,p=a;if("stack"===u.scope&&t.stackTotal){let e=r.translate(o?100:t.stackTotal,!1,!0,!1,!0),i=r.translate(n.threshold||0,!1,!0,!1,!0),s=this.crispCol(0,Math.min(e,i),0,Math.abs(e-i));d=s.y,p=s.height}let f=(t.negative?-1:1)*(h?-1:1)==-1,g=u.where;!g&&this.is("waterfall")&&Math.abs((t.yBottom||0)-(this.translatedThreshold||0))>this.borderWidth&&(g="all"),g||(g="end");let m=Math.min(c(u.radius,i),i/2,"all"===g?a/2:1/0)||0;"end"===g&&(f&&(d-=m),p+=m),s(e,{brBoxHeight:p,brBoxY:d,r:m})}}}}function g(t,e){return a(t)||(t={radius:t||0}),l(u,e,t)}function m(){let t=g(this.options.borderRadius);for(let e of this.points){let n=e.shapeArgs;n&&(n.borderRadius=c(t.radius,(n.r||0)-(n.innerR||0)))}}function v(t,e,n,i,r={}){let o=d(t,e,n,i,r),{r:s=0,brBoxHeight:a=i,brBoxY:l=e}=r,c=e-l,u=l+a-(e+i),h=c-s>-.1?0:s,p=u-s>-.1?0:s,f=Math.max(h&&c,0),g=Math.max(p&&u,0),m=[t+h,e],v=[t+n-h,e],y=[t+n,e+h],b=[t+n,e+i-p],_=[t+n-p,e+i],x=[t+p,e+i],w=[t,e+i-p],S=[t,e+h],k=(t,e)=>Math.sqrt(Math.pow(t,2)-Math.pow(e,2));if(f){let t=k(h,h-f);m[0]-=t,v[0]+=t,y[1]=S[1]=e+h-f}if(i<h-f){let r=k(h,h-f-i);y[0]=b[0]=t+n-h+r,_[0]=Math.min(y[0],_[0]),x[0]=Math.max(b[0],x[0]),w[0]=S[0]=t+h-r,y[1]=S[1]=e+i}if(g){let t=k(p,p-g);_[0]+=t,x[0]-=t,b[1]=w[1]=e+i-p+g}if(i<p-g){let r=k(p,p-g-i);y[0]=b[0]=t+n-p+r,v[0]=Math.min(y[0],v[0]),m[0]=Math.max(b[0],m[0]),w[0]=S[0]=t+p-r,b[1]=w[1]=e}return o.length=0,o.push(["M",...m],["L",...v],["A",h,h,0,0,1,...y],["L",...b],["A",p,p,0,0,1,..._],["L",...x],["A",p,p,0,0,1,...w],["L",...S],["A",h,h,0,0,1,...m],["Z"]),o}return{compose:function(t,e,n){let i=t.types.pie;if(!e.symbolCustomAttribs.includes("borderRadius")){let r=n.prototype.symbols;o(t,"afterColumnTranslate",f,{order:9}),o(i,"afterTranslate",m),e.symbolCustomAttribs.push("borderRadius","brBoxHeight","brBoxY"),h=r.arc,d=r.roundedRect,r.arc=p,r.roundedRect=v}},optionsToObject:g}})),n(e,"Core/Responsive.js",[e["Core/Utilities.js"]],(function(t){var e;let{diffObjects:n,extend:i,find:r,merge:o,pick:s,uniqueKey:a}=t;return function(t){function e(t,e){let n=t.condition;(n.callback||function(){return this.chartWidth<=s(n.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=s(n.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=s(n.minWidth,0)&&this.chartHeight>=s(n.minHeight,0)}).call(this)&&e.push(t._id)}function l(t,e){let i,s=this.options.responsive,l=this.currentResponsive,c=[];!e&&s&&s.rules&&s.rules.forEach((t=>{void 0===t._id&&(t._id=a()),this.matchResponsiveRule(t,c)}),this);let u=o(...c.map((t=>r((s||{}).rules||[],(e=>e._id===t)))).map((t=>t&&t.chartOptions)));u.isResponsiveOptions=!0,c=c.toString()||void 0;let h=l&&l.ruleIds;c===h||(l&&(this.currentResponsive=void 0,this.updatingResponsive=!0,this.update(l.undoOptions,t,!0),this.updatingResponsive=!1),c?((i=n(u,this.options,!0,this.collectionsWithUpdate)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:c,mergedOptions:u,undoOptions:i},this.updatingResponsive||this.update(u,t,!0)):this.currentResponsive=void 0)}t.compose=function(t){let n=t.prototype;return n.matchResponsiveRule||i(n,{matchResponsiveRule:e,setResponsive:l}),t}}(e||(e={})),e})),n(e,"masters/highcharts.src.js",[e["Core/Globals.js"],e["Core/Utilities.js"],e["Core/Defaults.js"],e["Core/Animation/Fx.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Templating.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Renderer/HTML/HTMLElement.js"],e["Core/Axis/Axis.js"],e["Core/Axis/DateTimeAxis.js"],e["Core/Axis/LogarithmicAxis.js"],e["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],e["Core/Axis/Tick.js"],e["Core/Tooltip.js"],e["Core/Series/Point.js"],e["Core/Pointer.js"],e["Core/Legend/Legend.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Chart/Chart.js"],e["Extensions/ScrollablePlotArea.js"],e["Core/Axis/Stacking/StackingAxis.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Series/Column/ColumnDataLabel.js"],e["Series/Pie/PieDataLabel.js"],e["Core/Series/DataLabel.js"],e["Extensions/OverlappingDataLabels.js"],e["Extensions/BorderRadius.js"],e["Core/Responsive.js"],e["Core/Color/Color.js"],e["Core/Time.js"]],(function(t,e,n,i,r,o,s,a,l,c,u,h,d,p,f,g,m,v,y,b,_,x,w,S,k,C,A,O,T,E,P,M,L,j,D,$){return t.AST=o,t.Axis=d,t.Chart=w,t.Color=D,t.DataLabel=P,t.Fx=i,t.HTMLElement=h,t.Legend=_,t.LegendSymbol=x,t.OverlappingDataLabels=t.OverlappingDataLabels||M,t.PlotLineOrBand=g,t.Point=y,t.Pointer=b,t.RendererRegistry=a,t.Series=A,t.SeriesRegistry=O,t.StackItem=C,t.SVGElement=c,t.SVGRenderer=u,t.Templating=s,t.Tick=m,t.Time=$,t.Tooltip=v,t.animate=r.animate,t.animObject=r.animObject,t.chart=w.chart,t.color=D.parse,t.dateFormat=s.dateFormat,t.defaultOptions=n.defaultOptions,t.distribute=l.distribute,t.format=s.format,t.getDeferredAnimation=r.getDeferredAnimation,t.getOptions=n.getOptions,t.numberFormat=s.numberFormat,t.seriesType=O.seriesType,t.setAnimation=r.setAnimation,t.setOptions=n.setOptions,t.stop=r.stop,t.time=n.defaultTime,t.timers=i.timers,L.compose(t.Series,t.SVGElement,t.SVGRenderer),T.compose(t.Series.types.column),P.compose(t.Series),p.compose(t.Axis),h.compose(t.SVGRenderer),_.compose(t.Chart),f.compose(t.Axis),M.compose(t.Chart),E.compose(t.Series.types.pie),g.compose(t.Axis),b.compose(t.Chart),j.compose(t.Chart),S.compose(t.Axis,t.Chart,t.Series),k.compose(t.Axis,t.Chart,t.Series),v.compose(t.Pointer),e.extend(t,e),t})),e["masters/highcharts.src.js"]._modules=e,e["masters/highcharts.src.js"]},t.exports?(n.default=n,t.exports=e&&e.document?n(e):n):(e.Highcharts&&e.Highcharts.error(16,!0),e.Highcharts=n(e))}(Ed);function Pd(t,e,n){var i,r,o,s,a;function l(){var c=Date.now()-s;c<e&&c>=0?i=setTimeout(l,e-c):(i=null,n||(a=t.apply(o,r),o=r=null))}null==e&&(e=100);var c=function(){o=this,r=arguments,s=Date.now();var c=n&&!i;return i||(i=setTimeout(l,e)),c&&(a=t.apply(o,r),o=r=null),a};return c.clear=function(){i&&(clearTimeout(i),i=null)},c.flush=function(){i&&(a=t.apply(o,r),o=r=null,clearTimeout(i),i=null)},c}Boolean,Pd.debounce=Pd;var Md=Pd;function Ld(t,e){var n=t.getBoundingClientRect();return{width:n.width/1,height:n.height/1,top:n.top/1,right:n.right/1,bottom:n.bottom/1,left:n.left/1,x:n.left/1,y:n.top/1}}function jd(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Dd(t){var e=jd(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function $d(t){return t instanceof jd(t).Element||t instanceof Element}function Rd(t){return t instanceof jd(t).HTMLElement||t instanceof HTMLElement}function Id(t){return!(typeof ShadowRoot>"u")&&(t instanceof jd(t).ShadowRoot||t instanceof ShadowRoot)}function Nd(t){return t?(t.nodeName||"").toLowerCase():null}function Bd(t){return(($d(t)?t.ownerDocument:t.document)||window.document).documentElement}function Fd(t){return Ld(Bd(t)).left+Dd(t).scrollLeft}function zd(t){return jd(t).getComputedStyle(t)}function Vd(t){var e=zd(t),n=e.overflow,i=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function Wd(t,e,n){void 0===n&&(n=!1);var i=Rd(e);Rd(e)&&function(t){var e=t.getBoundingClientRect();e.width,t.offsetWidth,e.height,t.offsetHeight}(e);var r=Bd(e),o=Ld(t),s={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(i||!i&&!n)&&(("body"!==Nd(e)||Vd(r))&&(s=function(t){return t!==jd(t)&&Rd(t)?function(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}(t):Dd(t)}(e)),Rd(e)?((a=Ld(e)).x+=e.clientLeft,a.y+=e.clientTop):r&&(a.x=Fd(r))),{x:o.left+s.scrollLeft-a.x,y:o.top+s.scrollTop-a.y,width:o.width,height:o.height}}function Hd(t){var e=Ld(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function Ud(t){return"html"===Nd(t)?t:t.assignedSlot||t.parentNode||(Id(t)?t.host:null)||Bd(t)}function qd(t){return["html","body","#document"].indexOf(Nd(t))>=0?t.ownerDocument.body:Rd(t)&&Vd(t)?t:qd(Ud(t))}function Gd(t,e){var n;void 0===e&&(e=[]);var i=qd(t),r=i===(null==(n=t.ownerDocument)?void 0:n.body),o=jd(i),s=r?[o].concat(o.visualViewport||[],Vd(i)?i:[]):i,a=e.concat(s);return r?a:a.concat(Gd(Ud(s)))}function Xd(t){return["table","td","th"].indexOf(Nd(t))>=0}function Yd(t){return Rd(t)&&"fixed"!==zd(t).position?t.offsetParent:null}function Kd(t){for(var e=jd(t),n=Yd(t);n&&Xd(n)&&"static"===zd(n).position;)n=Yd(n);return n&&("html"===Nd(n)||"body"===Nd(n)&&"static"===zd(n).position)?e:n||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Rd(t)&&"fixed"===zd(t).position)return null;for(var n=Ud(t);Rd(n)&&["html","body"].indexOf(Nd(n))<0;){var i=zd(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||e&&"filter"===i.willChange||e&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||e}var Zd="top",Jd="bottom",Qd="right",tp="left",ep="auto",np=[Zd,Jd,Qd,tp],ip="start",rp="end",op="viewport",sp="popper",ap=np.reduce((function(t,e){return t.concat([e+"-"+ip,e+"-"+rp])}),[]),lp=[].concat(np,[ep]).reduce((function(t,e){return t.concat([e,e+"-"+ip,e+"-"+rp])}),[]),cp=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function up(t){var e=new Map,n=new Set,i=[];function r(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var i=e.get(t);i&&r(i)}})),i.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||r(t)})),i}function hp(t){var e;return function(){return e||(e=new Promise((function(n){Promise.resolve().then((function(){e=void 0,n(t())}))}))),e}}function dp(t){return t.split("-")[0]}var pp=Math.max,fp=Math.min,gp=Math.round;function mp(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Id(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function vp(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function yp(t,e){return e===op?vp(function(t){var e=jd(t),n=Bd(t),i=e.visualViewport,r=n.clientWidth,o=n.clientHeight,s=0,a=0;return i&&(r=i.width,o=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=i.offsetLeft,a=i.offsetTop)),{width:r,height:o,x:s+Fd(t),y:a}}(t)):Rd(e)?function(t){var e=Ld(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):vp(function(t){var e,n=Bd(t),i=Dd(t),r=null==(e=t.ownerDocument)?void 0:e.body,o=pp(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=pp(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-i.scrollLeft+Fd(t),l=-i.scrollTop;return"rtl"===zd(r||n).direction&&(a+=pp(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}(Bd(t)))}function bp(t){return t.split("-")[1]}function _p(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function xp(t){var e,n=t.reference,i=t.element,r=t.placement,o=r?dp(r):null,s=r?bp(r):null,a=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(o){case Zd:e={x:a,y:n.y-i.height};break;case Jd:e={x:a,y:n.y+n.height};break;case Qd:e={x:n.x+n.width,y:l};break;case tp:e={x:n.x-i.width,y:l};break;default:e={x:n.x,y:n.y}}var c=o?_p(o):null;if(null!=c){var u="y"===c?"height":"width";switch(s){case ip:e[c]=e[c]-(n[u]/2-i[u]/2);break;case rp:e[c]=e[c]+(n[u]/2-i[u]/2)}}return e}function wp(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function Sp(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function kp(t,e){void 0===e&&(e={});var n=e,i=n.placement,r=void 0===i?t.placement:i,o=n.boundary,s=void 0===o?"clippingParents":o,a=n.rootBoundary,l=void 0===a?op:a,c=n.elementContext,u=void 0===c?sp:c,h=n.altBoundary,d=void 0!==h&&h,p=n.padding,f=void 0===p?0:p,g=wp("number"!=typeof f?f:Sp(f,np)),m=u===sp?"reference":sp,v=t.rects.popper,y=t.elements[d?m:u],b=function(t,e,n){var i="clippingParents"===e?function(t){var e=Gd(Ud(t)),n=["absolute","fixed"].indexOf(zd(t).position)>=0&&Rd(t)?Kd(t):t;return $d(n)?e.filter((function(t){return $d(t)&&mp(t,n)&&"body"!==Nd(t)})):[]}(t):[].concat(e),r=[].concat(i,[n]),o=r[0],s=r.reduce((function(e,n){var i=yp(t,n);return e.top=pp(i.top,e.top),e.right=fp(i.right,e.right),e.bottom=fp(i.bottom,e.bottom),e.left=pp(i.left,e.left),e}),yp(t,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}($d(y)?y:y.contextElement||Bd(t.elements.popper),s,l),_=Ld(t.elements.reference),x=xp({reference:_,element:v,strategy:"absolute",placement:r}),w=vp(Object.assign({},v,x)),S=u===sp?w:_,k={top:b.top-S.top+g.top,bottom:S.bottom-b.bottom+g.bottom,left:b.left-S.left+g.left,right:S.right-b.right+g.right},C=t.modifiersData.offset;if(u===sp&&C){var A=C[r];Object.keys(k).forEach((function(t){var e=[Qd,Jd].indexOf(t)>=0?1:-1,n=[Zd,Jd].indexOf(t)>=0?"y":"x";k[t]+=A[n]*e}))}return k}var Cp={placement:"bottom",modifiers:[],strategy:"absolute"};function Ap(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function Op(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,r=e.defaultOptions,o=void 0===r?Cp:r;return function(t,e,n){void 0===n&&(n=o);var r={placement:"bottom",orderedModifiers:[],options:Object.assign({},Cp,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},s=[],a=!1,l={state:r,setOptions:function(n){var a="function"==typeof n?n(r.options):n;c(),r.options=Object.assign({},o,r.options,a),r.scrollParents={reference:$d(t)?Gd(t):t.contextElement?Gd(t.contextElement):[],popper:Gd(e)};var u=function(t){var e=up(t);return cp.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}(function(t){var e=t.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{});return Object.keys(e).map((function(t){return e[t]}))}([].concat(i,r.options.modifiers)));return r.orderedModifiers=u.filter((function(t){return t.enabled})),r.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,i=void 0===n?{}:n,o=t.effect;if("function"==typeof o){var a=o({state:r,name:e,instance:l,options:i});s.push(a||function(){})}})),l.update()},forceUpdate:function(){if(!a){var t=r.elements,e=t.reference,n=t.popper;if(Ap(e,n)){r.rects={reference:Wd(e,Kd(n),"fixed"===r.options.strategy),popper:Hd(n)},r.reset=!1,r.placement=r.options.placement,r.orderedModifiers.forEach((function(t){return r.modifiersData[t.name]=Object.assign({},t.data)}));for(var i=0;i<r.orderedModifiers.length;i++)if(!0!==r.reset){var o=r.orderedModifiers[i],s=o.fn,c=o.options,u=void 0===c?{}:c,h=o.name;"function"==typeof s&&(r=s({state:r,options:u,name:h,instance:l})||r)}else r.reset=!1,i=-1}}},update:hp((function(){return new Promise((function(t){l.forceUpdate(),t(r)}))})),destroy:function(){c(),a=!0}};if(!Ap(t,e))return l;function c(){s.forEach((function(t){return t()})),s=[]}return l.setOptions(n).then((function(t){!a&&n.onFirstUpdate&&n.onFirstUpdate(t)})),l}}var Tp={passive:!0},Ep={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,i=t.options,r=i.scroll,o=void 0===r||r,s=i.resize,a=void 0===s||s,l=jd(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach((function(t){t.addEventListener("scroll",n.update,Tp)})),a&&l.addEventListener("resize",n.update,Tp),function(){o&&c.forEach((function(t){t.removeEventListener("scroll",n.update,Tp)})),a&&l.removeEventListener("resize",n.update,Tp)}},data:{}},Pp={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=xp({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},Mp={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Lp(t){var e,n=t.popper,i=t.popperRect,r=t.placement,o=t.variation,s=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,h=!0===u?function(t){var e=t.x,n=t.y,i=window.devicePixelRatio||1;return{x:gp(gp(e*i)/i)||0,y:gp(gp(n*i)/i)||0}}(s):"function"==typeof u?u(s):s,d=h.x,p=void 0===d?0:d,f=h.y,g=void 0===f?0:f,m=s.hasOwnProperty("x"),v=s.hasOwnProperty("y"),y=tp,b=Zd,_=window;if(c){var x=Kd(n),w="clientHeight",S="clientWidth";x===jd(n)&&"static"!==zd(x=Bd(n)).position&&"absolute"===a&&(w="scrollHeight",S="scrollWidth"),(r===Zd||(r===tp||r===Qd)&&o===rp)&&(b=Jd,g-=x[w]-i.height,g*=l?1:-1),(r===tp||(r===Zd||r===Jd)&&o===rp)&&(y=Qd,p-=x[S]-i.width,p*=l?1:-1)}var k,C=Object.assign({position:a},c&&Mp);return l?Object.assign({},C,((k={})[b]=v?"0":"",k[y]=m?"0":"",k.transform=(_.devicePixelRatio||1)<=1?"translate("+p+"px, "+g+"px)":"translate3d("+p+"px, "+g+"px, 0)",k)):Object.assign({},C,((e={})[b]=v?g+"px":"",e[y]=m?p+"px":"",e.transform="",e))}var jp={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,s=void 0===o||o,a=n.roundOffsets,l=void 0===a||a,c={placement:dp(e.placement),variation:bp(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,Lp(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,Lp(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},Dp={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},r=e.elements[t];!Rd(r)||!Nd(r)||(Object.assign(r.style,n),Object.keys(i).forEach((function(t){var e=i[t];!1===e?r.removeAttribute(t):r.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var i=e.elements[t],r=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});!Rd(i)||!Nd(i)||(Object.assign(i.style,o),Object.keys(r).forEach((function(t){i.removeAttribute(t)})))}))}},requires:["computeStyles"]},$p=Op({defaultModifiers:[Ep,Pp,jp,Dp]});function Rp(t,e,n){return pp(t,fp(e,n))}var Ip={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.mainAxis,o=void 0===r||r,s=n.altAxis,a=void 0!==s&&s,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,h=n.padding,d=n.tether,p=void 0===d||d,f=n.tetherOffset,g=void 0===f?0:f,m=kp(e,{boundary:l,rootBoundary:c,padding:h,altBoundary:u}),v=dp(e.placement),y=bp(e.placement),b=!y,_=_p(v),x=function(t){return"x"===t?"y":"x"}(_),w=e.modifiersData.popperOffsets,S=e.rects.reference,k=e.rects.popper,C="function"==typeof g?g(Object.assign({},e.rects,{placement:e.placement})):g,A={x:0,y:0};if(w){if(o||a){var O="y"===_?Zd:tp,T="y"===_?Jd:Qd,E="y"===_?"height":"width",P=w[_],M=w[_]+m[O],L=w[_]-m[T],j=p?-k[E]/2:0,D=y===ip?S[E]:k[E],$=y===ip?-k[E]:-S[E],R=e.elements.arrow,I=p&&R?Hd(R):{width:0,height:0},N=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=N[O],F=N[T],z=Rp(0,S[E],I[E]),V=b?S[E]/2-j-z-B-C:D-z-B-C,W=b?-S[E]/2+j+z+F+C:$+z+F+C,H=e.elements.arrow&&Kd(e.elements.arrow),U=H?"y"===_?H.clientTop||0:H.clientLeft||0:0,q=e.modifiersData.offset?e.modifiersData.offset[e.placement][_]:0,G=w[_]+V-q-U,X=w[_]+W-q;if(o){var Y=Rp(p?fp(M,G):M,P,p?pp(L,X):L);w[_]=Y,A[_]=Y-P}if(a){var K="x"===_?Zd:tp,Z="x"===_?Jd:Qd,J=w[x],Q=J+m[K],tt=J-m[Z],et=Rp(p?fp(Q,G):Q,J,p?pp(tt,X):tt);w[x]=et,A[x]=et-J}}e.modifiersData[i]=A}},requiresIfExists:["offset"]},Np={left:"right",right:"left",bottom:"top",top:"bottom"};function Bp(t){return t.replace(/left|right|bottom|top/g,(function(t){return Np[t]}))}var Fp={start:"end",end:"start"};function zp(t){return t.replace(/start|end/g,(function(t){return Fp[t]}))}var Vp={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var r=n.mainAxis,o=void 0===r||r,s=n.altAxis,a=void 0===s||s,l=n.fallbackPlacements,c=n.padding,u=n.boundary,h=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,f=void 0===p||p,g=n.allowedAutoPlacements,m=e.options.placement,v=dp(m),y=l||(v!==m&&f?function(t){if(dp(t)===ep)return[];var e=Bp(t);return[zp(t),e,zp(e)]}(m):[Bp(m)]),b=[m].concat(y).reduce((function(t,n){return t.concat(dp(n)===ep?function(t,e){void 0===e&&(e={});var n=e,i=n.placement,r=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?lp:l,u=bp(i),h=u?a?ap:ap.filter((function(t){return bp(t)===u})):np,d=h.filter((function(t){return c.indexOf(t)>=0}));0===d.length&&(d=h);var p=d.reduce((function(e,n){return e[n]=kp(t,{placement:n,boundary:r,rootBoundary:o,padding:s})[dp(n)],e}),{});return Object.keys(p).sort((function(t,e){return p[t]-p[e]}))}(e,{placement:n,boundary:u,rootBoundary:h,padding:c,flipVariations:f,allowedAutoPlacements:g}):n)}),[]),_=e.rects.reference,x=e.rects.popper,w=new Map,S=!0,k=b[0],C=0;C<b.length;C++){var A=b[C],O=dp(A),T=bp(A)===ip,E=[Zd,Jd].indexOf(O)>=0,P=E?"width":"height",M=kp(e,{placement:A,boundary:u,rootBoundary:h,altBoundary:d,padding:c}),L=E?T?Qd:tp:T?Jd:Zd;_[P]>x[P]&&(L=Bp(L));var j=Bp(L),D=[];if(o&&D.push(M[O]<=0),a&&D.push(M[L]<=0,M[j]<=0),D.every((function(t){return t}))){k=A,S=!1;break}w.set(A,D)}if(S)for(var $=function(t){var e=b.find((function(e){var n=w.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return k=e,"break"},R=f?3:1;R>0&&"break"!==$(R);R--);e.placement!==k&&(e.modifiersData[i]._skip=!0,e.placement=k,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},Wp={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.offset,o=void 0===r?[0,0]:r,s=lp.reduce((function(t,n){return t[n]=function(t,e,n){var i=dp(t),r=[tp,Zd].indexOf(i)>=0?-1:1,o="function"==typeof n?n(Object.assign({},e,{placement:t})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*r,[tp,Qd].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}(n,e.rects,o),t}),{}),a=s[e.placement],l=a.x,c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[i]=s}},Hp={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,i=t.name,r=t.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=dp(n.placement),l=_p(a),c=[tp,Qd].indexOf(a)>=0?"height":"width";if(o&&s){var u=function(t,e){return wp("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:Sp(t,np))}(r.padding,n),h=Hd(o),d="y"===l?Zd:tp,p="y"===l?Jd:Qd,f=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],g=s[l]-n.rects.reference[l],m=Kd(o),v=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,y=f/2-g/2,b=u[d],_=v-h[c]-u[p],x=v/2-h[c]/2+y,w=Rp(b,x,_),S=l;n.modifiersData[i]=((e={})[S]=w,e.centerOffset=w-x,e)}},effect:function(t){var e=t.state,n=t.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"==typeof i&&!(i=e.elements.popper.querySelector(i))||mp(e.elements.popper,i)&&(e.elements.arrow=i))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};const Up=t=>parseInt(t,10);const qp={id:"arrow","data-popper-arrow":""};function Gp(t,e){void 0===e&&(e={});var n=e.insertAt;if(t&&!(typeof document>"u")){var i=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&i.firstChild?i.insertBefore(r,i.firstChild):i.appendChild(r),r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t))}}Gp('\n#arrow[data-v-20b7fd4a],\n #arrow[data-v-20b7fd4a]::before {\n transition: background 250ms ease-in-out;\n position: absolute;\n width: calc(10px - var(--popper-theme-border-width, 0px));\n height: calc(10px - var(--popper-theme-border-width, 0px));\n box-sizing: border-box;\n background: var(--popper-theme-background-color);\n}\n#arrow[data-v-20b7fd4a] {\n visibility: hidden;\n}\n#arrow[data-v-20b7fd4a]::before {\n visibility: visible;\n content: "";\n transform: rotate(45deg);\n}\n\n /* Top arrow */\n.popper[data-popper-placement^="top"] > #arrow[data-v-20b7fd4a] {\n bottom: -5px;\n}\n.popper[data-popper-placement^="top"] > #arrow[data-v-20b7fd4a]::before {\n border-right: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n border-bottom: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n}\n\n /* Bottom arrow */\n.popper[data-popper-placement^="bottom"] > #arrow[data-v-20b7fd4a] {\n top: -5px;\n}\n.popper[data-popper-placement^="bottom"] > #arrow[data-v-20b7fd4a]::before {\n border-left: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n border-top: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n}\n\n /* Left arrow */\n.popper[data-popper-placement^="left"] > #arrow[data-v-20b7fd4a] {\n right: -5px;\n}\n.popper[data-popper-placement^="left"] > #arrow[data-v-20b7fd4a]::before {\n border-right: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n border-top: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n}\n\n /* Right arrow */\n.popper[data-popper-placement^="right"] > #arrow[data-v-20b7fd4a] {\n left: -5px;\n}\n');var Xp={render:function(t,e){return Hr(),Xr("div",qp)},__scopeId:"data-v-20b7fd4a"};const Yp=["onKeyup"];var Kp={props:{placement:{type:String,default:"bottom",validator:function(t){return["auto","auto-start","auto-end","top","top-start","top-end","bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end"].includes(t)}},disableClickAway:{type:Boolean,default:!1},offsetSkid:{type:String,default:"0"},offsetDistance:{type:String,default:"12"},hover:{type:Boolean,default:!1},show:{type:Boolean,default:null},disabled:{type:Boolean,default:!1},openDelay:{type:[Number,String],default:0},closeDelay:{type:[Number,String],default:0},zIndex:{type:[Number,String],default:9999},arrow:{type:Boolean,default:!1},arrowPadding:{type:String,default:"0"},interactive:{type:Boolean,default:!0},locked:{type:Boolean,default:!1},content:{type:String,default:null}},emits:["open:popper","close:popper"],setup(t,{emit:e}){const n=t;ss((e=>({c81fc0a4:t.zIndex})));const i=Ri(),r=Re(null),o=Re(null),s=Re(null),a=Re(!1);di((()=>{const t=i.default();if(t&&t.length>1)return console.error(`[Popper]: The <Popper> component expects only one child element at its root. You passed ${t.length} child nodes.`)}));const{arrowPadding:l,closeDelay:c,content:u,disableClickAway:h,disabled:d,interactive:p,locked:f,offsetDistance:g,offsetSkid:m,openDelay:v,placement:y,show:b}=We(n),{isOpen:_,open:x,close:w}=function({arrowPadding:t,emit:e,locked:n,offsetDistance:i,offsetSkid:r,placement:o,popperNode:s,triggerNode:a}){const l=Se({isOpen:!1,popperInstance:null}),c=t=>{var e;null===(e=l.popperInstance)||void 0===e||e.setOptions((e=>({...e,modifiers:[...e.modifiers,{name:"eventListeners",enabled:t}]})))};Cr([()=>l.isOpen,o],(async([t])=>{t?(await u(),c(!0)):c(!1)}));const u=async()=>{await hn(),l.popperInstance=$p(a.value,s.value,{placement:o.value,modifiers:[Ip,Vp,{name:"flip",enabled:!n.value},Hp,{name:"arrow",options:{padding:Up(t.value)}},Wp,{name:"offset",options:{offset:[Up(r.value),Up(i.value)]}}]}),l.popperInstance.update()};return gi((()=>{var t;null===(t=l.popperInstance)||void 0===t||t.destroy()})),{...We(l),open:()=>{l.isOpen||(l.isOpen=!0,e("open:popper"))},close:()=>{l.isOpen&&(l.isOpen=!1,e("close:popper"))}}}({arrowPadding:l,emit:e,locked:f,offsetDistance:g,offsetSkid:m,placement:y,popperNode:o,triggerNode:s}),{hasContent:S}=function(t,e,n){let i=null;const r=Re(!1);di((()=>{(void 0!==t.content||n.value)&&(r.value=!0),i=new MutationObserver(o),i.observe(e.value,{childList:!0,subtree:!0})})),gi((()=>i.disconnect())),Cr(n,(t=>{r.value=!!t}));const o=()=>{t.content?r.value=!0:r.value=!1};return{hasContent:r}}(i,o,u),k=Po((()=>null!==b.value)),C=Po((()=>d.value||!S.value)),A=Po((()=>_.value&&!C.value)),O=Po((()=>!h.value&&!k.value)),T=Po((()=>p.value?`border: ${g.value}px solid transparent; margin: -${g.value}px;`:null)),E=Md.debounce(x,v.value),P=Md.debounce(w,c.value),M=async()=>{C.value||k.value||(P.clear(),E())},L=async()=>{k.value||(E.clear(),P())},j=()=>{_.value?L():M()};return Cr([S,d],(([t,e])=>{_.value&&(!t||e)&&w()})),Cr(_,(t=>{t?a.value=!0:Md.debounce((()=>{a.value=!1}),200)})),kr((()=>{k.value&&(b.value?E():P())})),kr((()=>{O.value&&function(t,e){typeof window>"u"||!window||function(t,e,n){$e(t)?Cr(t,((t,i)=>{null==i||i.removeEventListener(e,n),null==t||t.addEventListener(e,n)})):di((()=>{t.addEventListener(e,n)})),gi((()=>{var i;null===(i=Fe(t))||void 0===i||i.removeEventListener(e,n)}))}(window,"pointerdown",(n=>{const i=Fe(t);i&&(i===n.target||n.composedPath().includes(i)||e(n))}))}(r,L)})),(e,n)=>(Hr(),Xr("div",{class:"inline-block",style:V(Fe(T)),onMouseleave:n[2]||(n[2]=e=>t.hover&&L()),ref:(t,e)=>{e.popperContainerNode=t,r.value=t}},[to("div",{ref:(t,e)=>{e.triggerNode=t,s.value=t},onMouseover:n[0]||(n[0]=e=>t.hover&&M()),onClick:j,onFocus:M,onKeyup:Rs(L,["esc"])},[Ei(e.$slots,"default")],40,Yp),eo(Ho,{name:"fade"},{default:Ln((()=>[jn(to("div",{onClick:n[1]||(n[1]=t=>!Fe(p)&&L()),class:"popper",ref:(t,e)=>{e.popperNode=t,o.value=t}},[Ei(e.$slots,"content",{close:Fe(w),isOpen:a.value},(()=>[ro(tt(Fe(u)),1)])),t.arrow?(Hr(),Yr(Xp,{key:0})):oo("",!0)],512),[[is,Fe(A)]])])),_:3})],36))}};Gp("\n.inline-block[data-v-5784ed69] {\n display: inline-block;\n}\n.popper[data-v-5784ed69] {\n transition: background 250ms ease-in-out;\n background: var(--popper-theme-background-color);\n padding: var(--popper-theme-padding);\n color: var(--popper-theme-text-color);\n border-radius: var(--popper-theme-border-radius);\n border-width: var(--popper-theme-border-width);\n border-style: var(--popper-theme-border-style);\n border-color: var(--popper-theme-border-color);\n box-shadow: var(--popper-theme-box-shadow);\n z-index: var(--c81fc0a4);\n}\n.popper[data-v-5784ed69]:hover,\n .popper:hover > #arrow[data-v-5784ed69]::before {\n background: var(--popper-theme-background-color-hover);\n}\n.inline-block[data-v-5784ed69] {\n display: inline-block;\n}\n.fade-enter-active[data-v-5784ed69],\n .fade-leave-active[data-v-5784ed69] {\n transition: opacity 0.2s ease;\n}\n.fade-enter-from[data-v-5784ed69],\n .fade-leave-to[data-v-5784ed69] {\n opacity: 0;\n}\n"),Kp.__scopeId="data-v-5784ed69";var Zp=(()=>{const t=Kp;return t.install=e=>{e.component("Popper",t)},t})();const Jp=Zn({__name:"index",props:{arrow:{type:Boolean},hover:{type:Boolean},offsetDistance:{},offsetSkid:{},placement:{default:"bottom-end"}},emits:["open:popover","close:popover"],setup(t,{emit:e}){const n=Ri();function i(){e("open:popover")}function r(){e("close:popover")}return(t,e)=>(Hr(),Yr(Fe(Zp),co({...t.$attrs,...t.$props},{class:"popover","onOpen:popper":i,"onClose:popper":r}),Ti({default:Ln((()=>[Ei(t.$slots,"default")])),_:2},[Fe(n).tooltip?{name:"content",fn:Ln((e=>[Ei(t.$slots,"tooltip",X(no(e)))])),key:"0"}:void 0]),1040))}});Zn({name:"DropdownMenu",components:{IconViewer:kd,Popover:Jp},props:{position:{type:String,default:"bottom-end"},hoverable:{type:Boolean,default:!1},icon:{type:String,required:!1},offsetDistance:{type:String,default:"12",required:!1}},emits:["close-dropdown"],data:()=>({showDropdown:!1}),mounted(){document&&document.addEventListener("click",this.clickHandler)},unmounted(){document&&document.removeEventListener("click",this.clickHandler)},methods:{clickHandler(t){t.target.getAttribute("disable-close")||this.$refs.popover&&!this.$refs.popover.$el.contains(t.target)&&this.close()},handleMouseEnter(){this.hoverable&&(this.showDropdown=!0)},handleMouseLeave(){this.hoverable&&this.close()},toggleOnClick(t){t.target.getAttribute("disable-close")||(this.showDropdown=!this.showDropdown)},close(){this.$emit("close-dropdown"),this.showDropdown=!1}}});function Qp(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function tf(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Qp(Object(n),!0).forEach((function(e){nf(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Qp(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ef(t){return(ef="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rf(){return rf=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},rf.apply(this,arguments)}function of(t){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(t)}var sf=of(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),af=of(/Edge/i),lf=of(/firefox/i),cf=of(/safari/i)&&!of(/chrome/i)&&!of(/android/i),uf=of(/iP(ad|od|hone)/i),hf=of(/chrome/i)&&of(/android/i),df={capture:!1,passive:!1};function pf(t,e,n){t.addEventListener(e,n,!sf&&df)}function ff(t,e,n){t.removeEventListener(e,n,!sf&&df)}function gf(t,e){if(e){if(">"===e[0]&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch{return!1}return!1}}function mf(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function vf(t,e,n,i){if(t){n=n||document;do{if(null!=e&&(">"===e[0]?t.parentNode===n&&gf(t,e):gf(t,e))||i&&t===n)return t;if(t===n)break}while(t=mf(t))}return null}var yf,bf=/\s+/g;function _f(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var i=(" "+t.className+" ").replace(bf," ").replace(" "+e+" "," ");t.className=(i+(n?" "+e:"")).replace(bf," ")}}function xf(t,e,n){var i=t&&t.style;if(i){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===e?n:n[e];!(e in i)&&-1===e.indexOf("webkit")&&(e="-webkit-"+e),i[e]=n+("string"==typeof n?"":"px")}}function wf(t,e){var n="";if("string"==typeof t)n=t;else do{var i=xf(t,"transform");i&&"none"!==i&&(n=i+" "+n)}while(!e&&(t=t.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(n)}function Sf(t,e,n){if(t){var i=t.getElementsByTagName(e),r=0,o=i.length;if(n)for(;r<o;r++)n(i[r],r);return i}return[]}function kf(){return document.scrollingElement||document.documentElement}function Cf(t,e,n,i,r){if(t.getBoundingClientRect||t===window){var o,s,a,l,c,u,h;if(t!==window&&t.parentNode&&t!==kf()?(s=(o=t.getBoundingClientRect()).top,a=o.left,l=o.bottom,c=o.right,u=o.height,h=o.width):(s=0,a=0,l=window.innerHeight,c=window.innerWidth,u=window.innerHeight,h=window.innerWidth),(e||n)&&t!==window&&(r=r||t.parentNode,!sf))do{if(r&&r.getBoundingClientRect&&("none"!==xf(r,"transform")||n&&"static"!==xf(r,"position"))){var d=r.getBoundingClientRect();s-=d.top+parseInt(xf(r,"border-top-width")),a-=d.left+parseInt(xf(r,"border-left-width")),l=s+o.height,c=a+o.width;break}}while(r=r.parentNode);if(i&&t!==window){var p=wf(r||t),f=p&&p.a,g=p&&p.d;p&&(l=(s/=g)+(u/=g),c=(a/=f)+(h/=f))}return{top:s,left:a,bottom:l,right:c,width:h,height:u}}}function Af(t,e,n){for(var i=Mf(t,!0),r=Cf(t)[e];i;){if(!(r>=Cf(i)[n]))return i;if(i===kf())break;i=Mf(i,!1)}return!1}function Of(t,e,n,i){for(var r=0,o=0,s=t.children;o<s.length;){if("none"!==s[o].style.display&&s[o]!==jg.ghost&&(i||s[o]!==jg.dragged)&&vf(s[o],n.draggable,t,!1)){if(r===e)return s[o];r++}o++}return null}function Tf(t,e){for(var n=t.lastElementChild;n&&(n===jg.ghost||"none"===xf(n,"display")||e&&!gf(n,e));)n=n.previousElementSibling;return n||null}function Ef(t,e){var n=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"!==t.nodeName.toUpperCase()&&t!==jg.clone&&(!e||gf(t,e))&&n++;return n}function Pf(t){var e=0,n=0,i=kf();if(t)do{var r=wf(t),o=r.a,s=r.d;e+=t.scrollLeft*o,n+=t.scrollTop*s}while(t!==i&&(t=t.parentNode));return[e,n]}function Mf(t,e){if(!t||!t.getBoundingClientRect)return kf();var n=t,i=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var r=xf(n);if(n.clientWidth<n.scrollWidth&&("auto"==r.overflowX||"scroll"==r.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==r.overflowY||"scroll"==r.overflowY)){if(!n.getBoundingClientRect||n===document.body)return kf();if(i||e)return n;i=!0}}}while(n=n.parentNode);return kf()}function Lf(t,e){return Math.round(t.top)===Math.round(e.top)&&Math.round(t.left)===Math.round(e.left)&&Math.round(t.height)===Math.round(e.height)&&Math.round(t.width)===Math.round(e.width)}function jf(t,e){return function(){if(!yf){var n=arguments;1===n.length?t.call(this,n[0]):t.apply(this,n),yf=setTimeout((function(){yf=void 0}),e)}}}function Df(t,e,n){t.scrollLeft+=e,t.scrollTop+=n}function $f(t){var e=window.Polymer,n=window.jQuery||window.Zepto;return e&&e.dom?e.dom(t).cloneNode(!0):n?n(t).clone(!0)[0]:t.cloneNode(!0)}var Rf="Sortable"+(new Date).getTime();var If=[],Nf={initializeByDefault:!0},Bf={mount:function(t){for(var e in Nf)Nf.hasOwnProperty(e)&&!(e in t)&&(t[e]=Nf[e]);If.forEach((function(e){if(e.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),If.push(t)},pluginEvent:function(t,e,n){var i=this;this.eventCanceled=!1,n.cancel=function(){i.eventCanceled=!0};var r=t+"Global";If.forEach((function(i){e[i.pluginName]&&(e[i.pluginName][r]&&e[i.pluginName][r](tf({sortable:e},n)),e.options[i.pluginName]&&e[i.pluginName][t]&&e[i.pluginName][t](tf({sortable:e},n)))}))},initializePlugins:function(t,e,n,i){for(var r in If.forEach((function(i){var r=i.pluginName;if(t.options[r]||i.initializeByDefault){var o=new i(t,e,t.options);o.sortable=t,o.options=t.options,t[r]=o,rf(n,o.defaults)}})),t.options)if(t.options.hasOwnProperty(r)){var o=this.modifyOption(t,r,t.options[r]);typeof o<"u"&&(t.options[r]=o)}},getEventProperties:function(t,e){var n={};return If.forEach((function(i){"function"==typeof i.eventProperties&&rf(n,i.eventProperties.call(e[i.pluginName],t))})),n},modifyOption:function(t,e,n){var i;return If.forEach((function(r){t[r.pluginName]&&r.optionListeners&&"function"==typeof r.optionListeners[e]&&(i=r.optionListeners[e].call(t[r.pluginName],n))})),i}},Ff=["evt"],zf=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.evt,r=function(t,e){if(null==t)return{};var n,i,r=function(t,e){if(null==t)return{};var n,i,r={},o=Object.keys(t);for(i=0;i<o.length;i++)n=o[i],!(e.indexOf(n)>=0)&&(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)n=o[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}(n,Ff);Bf.pluginEvent.bind(jg)(t,e,tf({dragEl:Wf,parentEl:Hf,ghostEl:Uf,rootEl:qf,nextEl:Gf,lastDownEl:Xf,cloneEl:Yf,cloneHidden:Kf,dragStarted:cg,putSortable:ng,activeSortable:jg.active,originalEvent:i,oldIndex:Zf,oldDraggableIndex:Qf,newIndex:Jf,newDraggableIndex:tg,hideGhostForTarget:Eg,unhideGhostForTarget:Pg,cloneNowHidden:function(){Kf=!0},cloneNowShown:function(){Kf=!1},dispatchSortableEvent:function(t){Vf({sortable:e,name:t,originalEvent:i})}},r))};function Vf(t){!function(t){var e=t.sortable,n=t.rootEl,i=t.name,r=t.targetEl,o=t.cloneEl,s=t.toEl,a=t.fromEl,l=t.oldIndex,c=t.newIndex,u=t.oldDraggableIndex,h=t.newDraggableIndex,d=t.originalEvent,p=t.putSortable,f=t.extraEventProperties;if(e=e||n&&n[Rf]){var g,m=e.options,v="on"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||sf||af?(g=document.createEvent("Event")).initEvent(i,!0,!0):g=new CustomEvent(i,{bubbles:!0,cancelable:!0}),g.to=s||n,g.from=a||n,g.item=r||n,g.clone=o,g.oldIndex=l,g.newIndex=c,g.oldDraggableIndex=u,g.newDraggableIndex=h,g.originalEvent=d,g.pullMode=p?p.lastPutMode:void 0;var y=tf(tf({},f),Bf.getEventProperties(i,e));for(var b in y)g[b]=y[b];n&&n.dispatchEvent(g),m[v]&&m[v].call(e,g)}}(tf({putSortable:ng,cloneEl:Yf,targetEl:Wf,rootEl:qf,oldIndex:Zf,oldDraggableIndex:Qf,newIndex:Jf,newDraggableIndex:tg},t))}var Wf,Hf,Uf,qf,Gf,Xf,Yf,Kf,Zf,Jf,Qf,tg,eg,ng,ig,rg,og,sg,ag,lg,cg,ug,hg,dg,pg,fg=!1,gg=!1,mg=[],vg=!1,yg=!1,bg=[],_g=!1,xg=[],wg=typeof document<"u",Sg=uf,kg=af||sf?"cssFloat":"float",Cg=wg&&!hf&&!uf&&"draggable"in document.createElement("div"),Ag=function(){if(wg){if(sf)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Og=function(t,e){var n=xf(t),i=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),r=Of(t,0,e),o=Of(t,1,e),s=r&&xf(r),a=o&&xf(o),l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+Cf(r).width,c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+Cf(o).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&s.float&&"none"!==s.float){var u="left"===s.float?"left":"right";return!o||"both"!==a.clear&&a.clear!==u?"horizontal":"vertical"}return r&&("block"===s.display||"flex"===s.display||"table"===s.display||"grid"===s.display||l>=i&&"none"===n[kg]||o&&"none"===n[kg]&&l+c>i)?"vertical":"horizontal"},Tg=function(t){function e(t,n){return function(i,r,o,s){var a=i.options.group.name&&r.options.group.name&&i.options.group.name===r.options.group.name;if(null==t&&(n||a))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"==typeof t)return e(t(i,r,o,s),n)(i,r,o,s);var l=(n?i:r).options.group.name;return!0===t||"string"==typeof t&&t===l||t.join&&t.indexOf(l)>-1}}var n={},i=t.group;(!i||"object"!=ef(i))&&(i={name:i}),n.name=i.name,n.checkPull=e(i.pull,!0),n.checkPut=e(i.put),n.revertClone=i.revertClone,t.group=n},Eg=function(){!Ag&&Uf&&xf(Uf,"display","none")},Pg=function(){!Ag&&Uf&&xf(Uf,"display","")};wg&&!hf&&document.addEventListener("click",(function(t){if(gg)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),gg=!1,!1}),!0);var Mg=function(t){if(Wf){var e=function(t,e){var n;return mg.some((function(i){var r=i[Rf].options.emptyInsertThreshold;if(r&&!Tf(i)){var o=Cf(i),s=t>=o.left-r&&t<=o.right+r,a=e>=o.top-r&&e<=o.bottom+r;if(s&&a)return n=i}})),n}((t=t.touches?t.touches[0]:t).clientX,t.clientY);if(e){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);n.target=n.rootEl=e,n.preventDefault=void 0,n.stopPropagation=void 0,e[Rf]._onDragOver(n)}}},Lg=function(t){Wf&&Wf.parentNode[Rf]._isOutsideThisEl(t.target)};function jg(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=rf({},e),t[Rf]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Og(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==jg.supportPointer&&"PointerEvent"in window&&!cf,emptyInsertThreshold:5};for(var i in Bf.initializePlugins(this,t,n),n)!(i in e)&&(e[i]=n[i]);for(var r in Tg(e),this)"_"===r.charAt(0)&&"function"==typeof this[r]&&(this[r]=this[r].bind(this));this.nativeDraggable=!e.forceFallback&&Cg,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?pf(t,"pointerdown",this._onTapStart):(pf(t,"mousedown",this._onTapStart),pf(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(pf(t,"dragover",this),pf(t,"dragenter",this)),mg.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),rf(this,function(){var t,e=[];return{captureAnimationState:function(){e=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(t){if("none"!==xf(t,"display")&&t!==jg.ghost){e.push({target:t,rect:Cf(t)});var n=tf({},e[e.length-1].rect);if(t.thisAnimationDuration){var i=wf(t,!0);i&&(n.top-=i.f,n.left-=i.e)}t.fromRect=n}}))},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(function(t,e){for(var n in t)if(t.hasOwnProperty(n))for(var i in e)if(e.hasOwnProperty(i)&&e[i]===t[n][i])return Number(n);return-1}(e,{target:t}),1)},animateAll:function(n){var i=this;if(!this.options.animation)return clearTimeout(t),void("function"==typeof n&&n());var r=!1,o=0;e.forEach((function(t){var e=0,n=t.target,s=n.fromRect,a=Cf(n),l=n.prevFromRect,c=n.prevToRect,u=t.rect,h=wf(n,!0);h&&(a.top-=h.f,a.left-=h.e),n.toRect=a,n.thisAnimationDuration&&Lf(l,a)&&!Lf(s,a)&&(u.top-a.top)/(u.left-a.left)==(s.top-a.top)/(s.left-a.left)&&(e=function(t,e,n,i){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))*i.animation}(u,l,c,i.options)),Lf(a,s)||(n.prevFromRect=s,n.prevToRect=a,e||(e=i.options.animation),i.animate(n,u,a,e)),e&&(r=!0,o=Math.max(o,e),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),e),n.thisAnimationDuration=e)})),clearTimeout(t),r?t=setTimeout((function(){"function"==typeof n&&n()}),o):"function"==typeof n&&n(),e=[]},animate:function(t,e,n,i){if(i){xf(t,"transition",""),xf(t,"transform","");var r=wf(this.el),o=r&&r.a,s=r&&r.d,a=(e.left-n.left)/(o||1),l=(e.top-n.top)/(s||1);t.animatingX=!!a,t.animatingY=!!l,xf(t,"transform","translate3d("+a+"px,"+l+"px,0)"),this.forRepaintDummy=function(t){return t.offsetWidth}(t),xf(t,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),xf(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){xf(t,"transition",""),xf(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),i)}}}}())}function Dg(t,e,n,i,r,o,s,a){var l,c,u=t[Rf],h=u.options.onMove;return!window.CustomEvent||sf||af?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=e,l.from=t,l.dragged=n,l.draggedRect=i,l.related=r||e,l.relatedRect=o||Cf(e),l.willInsertAfter=a,l.originalEvent=s,t.dispatchEvent(l),h&&(c=h.call(u,l,s)),c}function $g(t){t.draggable=!1}function Rg(){_g=!1}function Ig(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,i=0;n--;)i+=e.charCodeAt(n);return i.toString(36)}function Ng(t){return setTimeout(t,0)}function Bg(t){return clearTimeout(t)}jg.prototype={constructor:jg,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(ug=null)},_getDirection:function(t,e){return"function"==typeof this.options.direction?this.options.direction.call(this,t,e,Wf):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,n=this.el,i=this.options,r=i.preventOnFilter,o=t.type,s=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,a=(s||t).target,l=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||a,c=i.filter;if(function(t){xg.length=0;for(var e=t.getElementsByTagName("input"),n=e.length;n--;){var i=e[n];i.checked&&xg.push(i)}}(n),!Wf&&!(/mousedown|pointerdown/.test(o)&&0!==t.button||i.disabled)&&!l.isContentEditable&&(this.nativeDraggable||!cf||!a||"SELECT"!==a.tagName.toUpperCase())&&!((a=vf(a,i.draggable,n,!1))&&a.animated||Xf===a)){if(Zf=Ef(a),Qf=Ef(a,i.draggable),"function"==typeof c){if(c.call(this,t,a,this))return Vf({sortable:e,rootEl:l,name:"filter",targetEl:a,toEl:n,fromEl:n}),zf("filter",e,{evt:t}),void(r&&t.cancelable&&t.preventDefault())}else if(c&&(c=c.split(",").some((function(i){if(i=vf(l,i.trim(),n,!1))return Vf({sortable:e,rootEl:i,name:"filter",targetEl:a,fromEl:n,toEl:n}),zf("filter",e,{evt:t}),!0}))))return void(r&&t.cancelable&&t.preventDefault());i.handle&&!vf(l,i.handle,n,!1)||this._prepareDragStart(t,s,a)}}},_prepareDragStart:function(t,e,n){var i,r=this,o=r.el,s=r.options,a=o.ownerDocument;if(n&&!Wf&&n.parentNode===o){var l=Cf(n);if(qf=o,Hf=(Wf=n).parentNode,Gf=Wf.nextSibling,Xf=n,eg=s.group,jg.dragged=Wf,ig={target:Wf,clientX:(e||t).clientX,clientY:(e||t).clientY},ag=ig.clientX-l.left,lg=ig.clientY-l.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,Wf.style["will-change"]="all",i=function(){zf("delayEnded",r,{evt:t}),jg.eventCanceled?r._onDrop():(r._disableDelayedDragEvents(),!lf&&r.nativeDraggable&&(Wf.draggable=!0),r._triggerDragStart(t,e),Vf({sortable:r,name:"choose",originalEvent:t}),_f(Wf,s.chosenClass,!0))},s.ignore.split(",").forEach((function(t){Sf(Wf,t.trim(),$g)})),pf(a,"dragover",Mg),pf(a,"mousemove",Mg),pf(a,"touchmove",Mg),pf(a,"mouseup",r._onDrop),pf(a,"touchend",r._onDrop),pf(a,"touchcancel",r._onDrop),lf&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Wf.draggable=!0),zf("delayStart",this,{evt:t}),!s.delay||s.delayOnTouchOnly&&!e||this.nativeDraggable&&(af||sf))i();else{if(jg.eventCanceled)return void this._onDrop();pf(a,"mouseup",r._disableDelayedDrag),pf(a,"touchend",r._disableDelayedDrag),pf(a,"touchcancel",r._disableDelayedDrag),pf(a,"mousemove",r._delayedDragTouchMoveHandler),pf(a,"touchmove",r._delayedDragTouchMoveHandler),s.supportPointer&&pf(a,"pointermove",r._delayedDragTouchMoveHandler),r._dragStartTimer=setTimeout(i,s.delay)}}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){Wf&&$g(Wf),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;ff(t,"mouseup",this._disableDelayedDrag),ff(t,"touchend",this._disableDelayedDrag),ff(t,"touchcancel",this._disableDelayedDrag),ff(t,"mousemove",this._delayedDragTouchMoveHandler),ff(t,"touchmove",this._delayedDragTouchMoveHandler),ff(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||"touch"==t.pointerType&&t,!this.nativeDraggable||e?this.options.supportPointer?pf(document,"pointermove",this._onTouchMove):pf(document,e?"touchmove":"mousemove",this._onTouchMove):(pf(Wf,"dragend",this),pf(qf,"dragstart",this._onDragStart));try{document.selection?Ng((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,e){if(fg=!1,qf&&Wf){zf("dragStarted",this,{evt:e}),this.nativeDraggable&&pf(document,"dragover",Lg);var n=this.options;!t&&_f(Wf,n.dragClass,!1),_f(Wf,n.ghostClass,!0),jg.active=this,t&&this._appendGhost(),Vf({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(rg){this._lastX=rg.clientX,this._lastY=rg.clientY,Eg();for(var t=document.elementFromPoint(rg.clientX,rg.clientY),e=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(rg.clientX,rg.clientY))!==e;)e=t;if(Wf.parentNode[Rf]._isOutsideThisEl(t),e)do{if(e[Rf]&&e[Rf]._onDragOver({clientX:rg.clientX,clientY:rg.clientY,target:t,rootEl:e})&&!this.options.dragoverBubble)break;t=e}while(e=e.parentNode);Pg()}},_onTouchMove:function(t){if(ig){var e=this.options,n=e.fallbackTolerance,i=e.fallbackOffset,r=t.touches?t.touches[0]:t,o=Uf&&wf(Uf,!0),s=Uf&&o&&o.a,a=Uf&&o&&o.d,l=Sg&&pg&&Pf(pg),c=(r.clientX-ig.clientX+i.x)/(s||1)+(l?l[0]-bg[0]:0)/(s||1),u=(r.clientY-ig.clientY+i.y)/(a||1)+(l?l[1]-bg[1]:0)/(a||1);if(!jg.active&&!fg){if(n&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(Uf){o?(o.e+=c-(og||0),o.f+=u-(sg||0)):o={a:1,b:0,c:0,d:1,e:c,f:u};var h="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");xf(Uf,"webkitTransform",h),xf(Uf,"mozTransform",h),xf(Uf,"msTransform",h),xf(Uf,"transform",h),og=c,sg=u,rg=r}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!Uf){var t=this.options.fallbackOnBody?document.body:qf,e=Cf(Wf,!0,Sg,!0,t),n=this.options;if(Sg){for(pg=t;"static"===xf(pg,"position")&&"none"===xf(pg,"transform")&&pg!==document;)pg=pg.parentNode;pg!==document.body&&pg!==document.documentElement?(pg===document&&(pg=kf()),e.top+=pg.scrollTop,e.left+=pg.scrollLeft):pg=kf(),bg=Pf(pg)}_f(Uf=Wf.cloneNode(!0),n.ghostClass,!1),_f(Uf,n.fallbackClass,!0),_f(Uf,n.dragClass,!0),xf(Uf,"transition",""),xf(Uf,"transform",""),xf(Uf,"box-sizing","border-box"),xf(Uf,"margin",0),xf(Uf,"top",e.top),xf(Uf,"left",e.left),xf(Uf,"width",e.width),xf(Uf,"height",e.height),xf(Uf,"opacity","0.8"),xf(Uf,"position",Sg?"absolute":"fixed"),xf(Uf,"zIndex","100000"),xf(Uf,"pointerEvents","none"),jg.ghost=Uf,t.appendChild(Uf),xf(Uf,"transform-origin",ag/parseInt(Uf.style.width)*100+"% "+lg/parseInt(Uf.style.height)*100+"%")}},_onDragStart:function(t,e){var n=this,i=t.dataTransfer,r=n.options;zf("dragStart",this,{evt:t}),jg.eventCanceled?this._onDrop():(zf("setupClone",this),jg.eventCanceled||((Yf=$f(Wf)).removeAttribute("id"),Yf.draggable=!1,Yf.style["will-change"]="",this._hideClone(),_f(Yf,this.options.chosenClass,!1),jg.clone=Yf),n.cloneId=Ng((function(){zf("clone",n),!jg.eventCanceled&&(n.options.removeCloneOnHide||qf.insertBefore(Yf,Wf),n._hideClone(),Vf({sortable:n,name:"clone"}))})),!e&&_f(Wf,r.dragClass,!0),e?(gg=!0,n._loopId=setInterval(n._emulateDragOver,50)):(ff(document,"mouseup",n._onDrop),ff(document,"touchend",n._onDrop),ff(document,"touchcancel",n._onDrop),i&&(i.effectAllowed="move",r.setData&&r.setData.call(n,i,Wf)),pf(document,"drop",n),xf(Wf,"transform","translateZ(0)")),fg=!0,n._dragStartId=Ng(n._dragStarted.bind(n,e,t)),pf(document,"selectstart",n),cg=!0,cf&&xf(document.body,"user-select","none"))},_onDragOver:function(t){var e,n,i,r,o=this.el,s=t.target,a=this.options,l=a.group,c=jg.active,u=eg===l,h=a.sort,d=ng||c,p=this,f=!1;if(!_g){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),s=vf(s,a.draggable,o,!0),E("dragOver"),jg.eventCanceled)return f;if(Wf.contains(t.target)||s.animated&&s.animatingX&&s.animatingY||p._ignoreWhileAnimating===s)return M(!1);if(gg=!1,c&&!a.disabled&&(u?h||(i=Hf!==qf):ng===this||(this.lastPutMode=eg.checkPull(this,c,Wf,t))&&l.checkPut(this,c,Wf,t))){if(r="vertical"===this._getDirection(t,s),e=Cf(Wf),E("dragOverValid"),jg.eventCanceled)return f;if(i)return Hf=qf,P(),this._hideClone(),E("revert"),jg.eventCanceled||(Gf?qf.insertBefore(Wf,Gf):qf.appendChild(Wf)),M(!0);var g=Tf(o,a.draggable);if(!g||function(t,e,n){var i=Cf(Tf(n.el,n.options.draggable));return e?t.clientX>i.right+10||t.clientX<=i.right&&t.clientY>i.bottom&&t.clientX>=i.left:t.clientX>i.right&&t.clientY>i.top||t.clientX<=i.right&&t.clientY>i.bottom+10}(t,r,this)&&!g.animated){if(g===Wf)return M(!1);if(g&&o===t.target&&(s=g),s&&(n=Cf(s)),!1!==Dg(qf,o,Wf,e,s,n,t,!!s))return P(),g&&g.nextSibling?o.insertBefore(Wf,g.nextSibling):o.appendChild(Wf),Hf=o,L(),M(!0)}else if(g&&function(t,e,n){var i=Cf(Of(n.el,0,n.options,!0));return e?t.clientX<i.left-10||t.clientY<i.top&&t.clientX<i.right:t.clientY<i.top-10||t.clientY<i.bottom&&t.clientX<i.left}(t,r,this)){var m=Of(o,0,a,!0);if(m===Wf)return M(!1);if(n=Cf(s=m),!1!==Dg(qf,o,Wf,e,s,n,t,!1))return P(),o.insertBefore(Wf,m),Hf=o,L(),M(!0)}else if(s.parentNode===o){n=Cf(s);var v,y,b,_=Wf.parentNode!==o,x=!function(t,e,n){var i=n?t.left:t.top,r=n?t.right:t.bottom,o=n?t.width:t.height,s=n?e.left:e.top,a=n?e.right:e.bottom,l=n?e.width:e.height;return i===s||r===a||i+o/2===s+l/2}(Wf.animated&&Wf.toRect||e,s.animated&&s.toRect||n,r),w=r?"top":"left",S=Af(s,"top","top")||Af(Wf,"top","top"),k=S?S.scrollTop:void 0;if(ug!==s&&(y=n[w],vg=!1,yg=!x&&a.invertSwap||_),v=function(t,e,n,i,r,o,s,a){var l=i?t.clientY:t.clientX,c=i?n.height:n.width,u=i?n.top:n.left,h=i?n.bottom:n.right,d=!1;if(!s)if(a&&dg<c*r){if(!vg&&(1===hg?l>u+c*o/2:l<h-c*o/2)&&(vg=!0),vg)d=!0;else if(1===hg?l<u+dg:l>h-dg)return-hg}else if(l>u+c*(1-r)/2&&l<h-c*(1-r)/2)return function(t){return Ef(Wf)<Ef(t)?1:-1}(e);return(d=d||s)&&(l<u+c*o/2||l>h-c*o/2)?l>u+c/2?1:-1:0}(t,s,n,r,x?1:a.swapThreshold,null==a.invertedSwapThreshold?a.swapThreshold:a.invertedSwapThreshold,yg,ug===s),0!==v){var C=Ef(Wf);do{C-=v,b=Hf.children[C]}while(b&&("none"===xf(b,"display")||b===Uf))}if(0===v||b===s)return M(!1);ug=s,hg=v;var A=s.nextElementSibling,O=!1,T=Dg(qf,o,Wf,e,s,n,t,O=1===v);if(!1!==T)return(1===T||-1===T)&&(O=1===T),_g=!0,setTimeout(Rg,30),P(),O&&!A?o.appendChild(Wf):s.parentNode.insertBefore(Wf,O?A:s),S&&Df(S,0,k-S.scrollTop),Hf=Wf.parentNode,void 0!==y&&!yg&&(dg=Math.abs(y-Cf(s)[w])),L(),M(!0)}if(o.contains(Wf))return M(!1)}return!1}function E(a,l){zf(a,p,tf({evt:t,isOwner:u,axis:r?"vertical":"horizontal",revert:i,dragRect:e,targetRect:n,canSort:h,fromSortable:d,target:s,completed:M,onMove:function(n,i){return Dg(qf,o,Wf,e,n,Cf(n),t,i)},changed:L},l))}function P(){E("dragOverAnimationCapture"),p.captureAnimationState(),p!==d&&d.captureAnimationState()}function M(e){return E("dragOverCompleted",{insertion:e}),e&&(u?c._hideClone():c._showClone(p),p!==d&&(_f(Wf,ng?ng.options.ghostClass:c.options.ghostClass,!1),_f(Wf,a.ghostClass,!0)),ng!==p&&p!==jg.active?ng=p:p===jg.active&&ng&&(ng=null),d===p&&(p._ignoreWhileAnimating=s),p.animateAll((function(){E("dragOverAnimationComplete"),p._ignoreWhileAnimating=null})),p!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(s===Wf&&!Wf.animated||s===o&&!s.animated)&&(ug=null),!a.dragoverBubble&&!t.rootEl&&s!==document&&(Wf.parentNode[Rf]._isOutsideThisEl(t.target),!e&&Mg(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),f=!0}function L(){Jf=Ef(Wf),tg=Ef(Wf,a.draggable),Vf({sortable:p,name:"change",toEl:o,newIndex:Jf,newDraggableIndex:tg,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){ff(document,"mousemove",this._onTouchMove),ff(document,"touchmove",this._onTouchMove),ff(document,"pointermove",this._onTouchMove),ff(document,"dragover",Mg),ff(document,"mousemove",Mg),ff(document,"touchmove",Mg)},_offUpEvents:function(){var t=this.el.ownerDocument;ff(t,"mouseup",this._onDrop),ff(t,"touchend",this._onDrop),ff(t,"pointerup",this._onDrop),ff(t,"touchcancel",this._onDrop),ff(document,"selectstart",this)},_onDrop:function(t){var e=this.el,n=this.options;Jf=Ef(Wf),tg=Ef(Wf,n.draggable),zf("drop",this,{evt:t}),Hf=Wf&&Wf.parentNode,Jf=Ef(Wf),tg=Ef(Wf,n.draggable),jg.eventCanceled||(fg=!1,yg=!1,vg=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Bg(this.cloneId),Bg(this._dragStartId),this.nativeDraggable&&(ff(document,"drop",this),ff(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),cf&&xf(document.body,"user-select",""),xf(Wf,"transform",""),t&&(cg&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),Uf&&Uf.parentNode&&Uf.parentNode.removeChild(Uf),(qf===Hf||ng&&"clone"!==ng.lastPutMode)&&Yf&&Yf.parentNode&&Yf.parentNode.removeChild(Yf),Wf&&(this.nativeDraggable&&ff(Wf,"dragend",this),$g(Wf),Wf.style["will-change"]="",cg&&!fg&&_f(Wf,ng?ng.options.ghostClass:this.options.ghostClass,!1),_f(Wf,this.options.chosenClass,!1),Vf({sortable:this,name:"unchoose",toEl:Hf,newIndex:null,newDraggableIndex:null,originalEvent:t}),qf!==Hf?(Jf>=0&&(Vf({rootEl:Hf,name:"add",toEl:Hf,fromEl:qf,originalEvent:t}),Vf({sortable:this,name:"remove",toEl:Hf,originalEvent:t}),Vf({rootEl:Hf,name:"sort",toEl:Hf,fromEl:qf,originalEvent:t}),Vf({sortable:this,name:"sort",toEl:Hf,originalEvent:t})),ng&&ng.save()):Jf!==Zf&&Jf>=0&&(Vf({sortable:this,name:"update",toEl:Hf,originalEvent:t}),Vf({sortable:this,name:"sort",toEl:Hf,originalEvent:t})),jg.active&&((null==Jf||-1===Jf)&&(Jf=Zf,tg=Qf),Vf({sortable:this,name:"end",toEl:Hf,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){zf("nulling",this),qf=Wf=Hf=Uf=Gf=Yf=Xf=Kf=ig=rg=cg=Jf=tg=Zf=Qf=ug=hg=ng=eg=jg.dragged=jg.ghost=jg.clone=jg.active=null,xg.forEach((function(t){t.checked=!0})),xg.length=og=sg=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":Wf&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,e=[],n=this.el.children,i=0,r=n.length,o=this.options;i<r;i++)vf(t=n[i],o.draggable,this.el,!1)&&e.push(t.getAttribute(o.dataIdAttr)||Ig(t));return e},sort:function(t,e){var n={},i=this.el;this.toArray().forEach((function(t,e){var r=i.children[e];vf(r,this.options.draggable,i,!1)&&(n[t]=r)}),this),e&&this.captureAnimationState(),t.forEach((function(t){n[t]&&(i.removeChild(n[t]),i.appendChild(n[t]))})),e&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,e){return vf(t,e||this.options.draggable,this.el,!1)},option:function(t,e){var n=this.options;if(void 0===e)return n[t];var i=Bf.modifyOption(this,t,e);n[t]=typeof i<"u"?i:e,"group"===t&&Tg(n)},destroy:function(){zf("destroy",this);var t=this.el;t[Rf]=null,ff(t,"mousedown",this._onTapStart),ff(t,"touchstart",this._onTapStart),ff(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(ff(t,"dragover",this),ff(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),mg.splice(mg.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!Kf){if(zf("hideClone",this),jg.eventCanceled)return;xf(Yf,"display","none"),this.options.removeCloneOnHide&&Yf.parentNode&&Yf.parentNode.removeChild(Yf),Kf=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(Kf){if(zf("showClone",this),jg.eventCanceled)return;Wf.parentNode!=qf||this.options.group.revertClone?Gf?qf.insertBefore(Yf,Gf):qf.appendChild(Yf):qf.insertBefore(Yf,Wf),this.options.group.revertClone&&this.animate(Wf,Yf),xf(Yf,"display",""),Kf=!1}}else this._hideClone()}},wg&&pf(document,"touchmove",(function(t){(jg.active||fg)&&t.cancelable&&t.preventDefault()})),jg.utils={on:pf,off:ff,css:xf,find:Sf,is:function(t,e){return!!vf(t,e,t,!1)},extend:function(t,e){if(t&&e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},throttle:jf,closest:vf,toggleClass:_f,clone:$f,index:Ef,nextTick:Ng,cancelNextTick:Bg,detectDirection:Og,getChild:Of},jg.get=function(t){return t[Rf]},jg.mount=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e[0].constructor===Array&&(e=e[0]),e.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(jg.utils=tf(tf({},jg.utils),t.utils)),Bf.mount(t)}))},jg.create=function(t,e){return new jg(t,e)},jg.version="1.15.0";var Fg,zg,Vg,Wg,Hg,Ug,qg=[],Gg=!1;function Xg(){qg.forEach((function(t){clearInterval(t.pid)})),qg=[]}function Yg(){clearInterval(Ug)}var Kg=jf((function(t,e,n,i){if(e.scroll){var r,o=(t.touches?t.touches[0]:t).clientX,s=(t.touches?t.touches[0]:t).clientY,a=e.scrollSensitivity,l=e.scrollSpeed,c=kf(),u=!1;zg!==n&&(zg=n,Xg(),Fg=e.scroll,r=e.scrollFn,!0===Fg&&(Fg=Mf(n,!0)));var h=0,d=Fg;do{var p=d,f=Cf(p),g=f.top,m=f.bottom,v=f.left,y=f.right,b=f.width,_=f.height,x=void 0,w=void 0,S=p.scrollWidth,k=p.scrollHeight,C=xf(p),A=p.scrollLeft,O=p.scrollTop;p===c?(x=b<S&&("auto"===C.overflowX||"scroll"===C.overflowX||"visible"===C.overflowX),w=_<k&&("auto"===C.overflowY||"scroll"===C.overflowY||"visible"===C.overflowY)):(x=b<S&&("auto"===C.overflowX||"scroll"===C.overflowX),w=_<k&&("auto"===C.overflowY||"scroll"===C.overflowY));var T=x&&(Math.abs(y-o)<=a&&A+b<S)-(Math.abs(v-o)<=a&&!!A),E=w&&(Math.abs(m-s)<=a&&O+_<k)-(Math.abs(g-s)<=a&&!!O);if(!qg[h])for(var P=0;P<=h;P++)qg[P]||(qg[P]={});(qg[h].vx!=T||qg[h].vy!=E||qg[h].el!==p)&&(qg[h].el=p,qg[h].vx=T,qg[h].vy=E,clearInterval(qg[h].pid),(0!=T||0!=E)&&(u=!0,qg[h].pid=setInterval(function(){i&&0===this.layer&&jg.active._onTouchMove(Hg);var e=qg[this.layer].vy?qg[this.layer].vy*l:0,n=qg[this.layer].vx?qg[this.layer].vx*l:0;"function"==typeof r&&"continue"!==r.call(jg.dragged.parentNode[Rf],n,e,t,Hg,qg[this.layer].el)||Df(qg[this.layer].el,n,e)}.bind({layer:h}),24))),h++}while(e.bubbleScroll&&d!==c&&(d=Mf(d,!1)));Gg=u}}),30),Zg=function(t){var e=t.originalEvent,n=t.putSortable,i=t.dragEl,r=t.activeSortable,o=t.dispatchSortableEvent,s=t.hideGhostForTarget,a=t.unhideGhostForTarget;if(e){var l=n||r;s();var c=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,u=document.elementFromPoint(c.clientX,c.clientY);a(),l&&!l.el.contains(u)&&(o("spill"),this.onSpill({dragEl:i,putSortable:n}))}};function Jg(){}function Qg(){}Jg.prototype={startIndex:null,dragStart:function(t){var e=t.oldDraggableIndex;this.startIndex=e},onSpill:function(t){var e=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var i=Of(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(e,i):this.sortable.el.appendChild(e),this.sortable.animateAll(),n&&n.animateAll()},drop:Zg},rf(Jg,{pluginName:"revertOnSpill"}),Qg.prototype={onSpill:function(t){var e=t.dragEl,n=t.putSortable||this.sortable;n.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),n.animateAll()},drop:Zg},rf(Qg,{pluginName:"removeOnSpill"}),jg.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var e=t.originalEvent;this.sortable.nativeDraggable?pf(document,"dragover",this._handleAutoScroll):this.options.supportPointer?pf(document,"pointermove",this._handleFallbackAutoScroll):e.touches?pf(document,"touchmove",this._handleFallbackAutoScroll):pf(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var e=t.originalEvent;!this.options.dragOverBubble&&!e.rootEl&&this._handleAutoScroll(e)},drop:function(){this.sortable.nativeDraggable?ff(document,"dragover",this._handleAutoScroll):(ff(document,"pointermove",this._handleFallbackAutoScroll),ff(document,"touchmove",this._handleFallbackAutoScroll),ff(document,"mousemove",this._handleFallbackAutoScroll)),Yg(),Xg(),clearTimeout(yf),yf=void 0},nulling:function(){Hg=zg=Fg=Gg=Ug=Vg=Wg=null,qg.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,e){var n=this,i=(t.touches?t.touches[0]:t).clientX,r=(t.touches?t.touches[0]:t).clientY,o=document.elementFromPoint(i,r);if(Hg=t,e||this.options.forceAutoScrollFallback||af||sf||cf){Kg(t,this.options,o,e);var s=Mf(o,!0);Gg&&(!Ug||i!==Vg||r!==Wg)&&(Ug&&Yg(),Ug=setInterval((function(){var o=Mf(document.elementFromPoint(i,r),!0);o!==s&&(s=o,Xg()),Kg(t,n.options,o,e)}),10),Vg=i,Wg=r)}else{if(!this.options.bubbleScroll||Mf(o,!0)===kf())return void Xg();Kg(t,this.options,Mf(o,!1),!1)}}},rf(t,{pluginName:"scroll",initializeByDefault:!0})}),jg.mount(Qg,Jg),Boolean,Boolean;const tm=(t,{slots:e})=>{var n;return Mo(t.as,{class:Re(["heading",`heading-${t.size}`,{"heading-secondary":t.secondary},t.class]).value},null==(n=e.default)?void 0:n.call(e))};tm.props={as:{type:String,default:"h2"},size:{type:String,default:"lg"},secondary:{type:Boolean,default:!1}};const em=Zn({__name:"hr",props:{height:{default:"1"}},setup(t){const e=t,n=Po((()=>({"--hr-height":`${e.height}px`})));return(t,e)=>(Hr(),Xr("hr",{class:G(t.$style.hr),style:V(n.value)},null,6))}}),nm=xd(em,[["__cssModules",{$style:{hr:"_hr_1alp8_1"}}]]);function im(t){return!(0===t||(!Array.isArray(t)||0!==t.length)&&t)}function rm(t,e,n,i){return e?t.filter((t=>function(t,e){return void 0===t&&(t="undefined"),null===t&&(t="null"),!1===t&&(t="false"),-1!==t.toString().toLowerCase().indexOf(e.trim())}(i(t,n),e))).sort(((t,e)=>i(t,n).length-i(e,n).length)):t}function om(t){return t.filter((t=>!t.$isLabel))}function sm(t,e){return n=>n.reduce(((n,i)=>i[t]&&i[t].length?(n.push({$groupLabel:i[e],$isLabel:!0}),n.concat(i[t])):n),[])}Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;const am=(...t)=>e=>t.reduce(((t,e)=>e(t)),e);var lm={data(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default:(t,e)=>im(t)?"":e?t[e]:t},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default:()=>[]},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1},preventAutofocus:{type:Boolean,default:!1}},mounted(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue(){return this.modelValue||0===this.modelValue?Array.isArray(this.modelValue)?this.modelValue:[this.modelValue]:[]},filteredOptions(){const t=this.search||"",e=t.toLowerCase().trim();let n=this.options.concat();return n=this.internalSearch?this.groupValues?this.filterAndFlat(n,e,this.label):rm(n,e,this.label,this.customLabel):this.groupValues?sm(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(function(t){return(...e)=>!t(...e)}(this.isSelected)):n,this.taggable&&e.length&&!this.isExistingOption(e)&&("bottom"===this.tagPosition?n.push({isTag:!0,label:t}):n.unshift({isTag:!0,label:t})),n.slice(0,this.optionsLimit)},valueKeys(){return this.trackBy?this.internalValue.map((t=>t[this.trackBy])):this.internalValue},optionKeys(){return(this.groupValues?this.flatAndStrip(this.options):this.options).map((t=>this.customLabel(t,this.label).toString().toLowerCase()))},currentOptionLabel(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("update:modelValue",this.multiple?[]:null))},search(){this.$emit("search-change",this.search)}},emits:["open","search-change","close","select","update:modelValue","remove","tag"],methods:{getValue(){return this.multiple?this.internalValue:0===this.internalValue.length?null:this.internalValue[0]},filterAndFlat(t,e,n){return am(function(t,e,n,i,r){return o=>o.map((o=>{if(!o[n])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const s=rm(o[n],t,e,r);return s.length?{[i]:o[i],[n]:s}:[]}))}(e,n,this.groupValues,this.groupLabel,this.customLabel),sm(this.groupValues,this.groupLabel))(t)},flatAndStrip(t){return am(sm(this.groupValues,this.groupLabel),om)(t)},updateSearch(t){this.search=t},isExistingOption(t){return!!this.options&&this.optionKeys.indexOf(t)>-1},isSelected(t){const e=this.trackBy?t[this.trackBy]:t;return this.valueKeys.indexOf(e)>-1},isOptionDisabled:t=>!!t.$isDisabled,getOptionLabel(t){if(im(t))return"";if(t.isTag)return t.label;if(t.$isLabel)return t.$groupLabel;const e=this.customLabel(t,this.label);return im(e)?"":e},select(t,e){if(t.$isLabel&&this.groupSelect)this.selectGroup(t);else if(!(-1!==this.blockKeys.indexOf(e)||this.disabled||t.$isDisabled||t.$isLabel)&&(!this.max||!this.multiple||this.internalValue.length!==this.max)&&("Tab"!==e||this.pointerDirty)){if(t.isTag)this.$emit("tag",t.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(t))return void("Tab"!==e&&this.removeElement(t));this.multiple?this.$emit("update:modelValue",this.internalValue.concat([t])):this.$emit("update:modelValue",t),this.$emit("select",t,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup(t){const e=this.options.find((e=>e[this.groupLabel]===t.$groupLabel));if(e){if(this.wholeGroupSelected(e)){this.$emit("remove",e[this.groupValues],this.id);const t=this.internalValue.filter((t=>-1===e[this.groupValues].indexOf(t)));this.$emit("update:modelValue",t)}else{let t=e[this.groupValues].filter((t=>!(this.isOptionDisabled(t)||this.isSelected(t))));this.max&&t.splice(this.max-this.internalValue.length),this.$emit("select",t,this.id),this.$emit("update:modelValue",this.internalValue.concat(t))}this.closeOnSelect&&this.deactivate()}},wholeGroupSelected(t){return t[this.groupValues].every((t=>this.isSelected(t)||this.isOptionDisabled(t)))},wholeGroupDisabled(t){return t[this.groupValues].every(this.isOptionDisabled)},removeElement(t,e=!0){if(this.disabled||t.$isDisabled)return;if(!this.allowEmpty&&this.internalValue.length<=1)return void this.deactivate();const n="object"==typeof t?this.valueKeys.indexOf(t[this.trackBy]):this.valueKeys.indexOf(t);if(this.multiple){const t=this.internalValue.slice(0,n).concat(this.internalValue.slice(n+1));this.$emit("update:modelValue",t)}else this.$emit("update:modelValue",null);this.$emit("remove",t,this.id),this.closeOnSelect&&e&&this.deactivate()},removeLastElement(){-1===this.blockKeys.indexOf("Delete")&&0===this.search.length&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate(){this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&0===this.pointer&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.preventAutofocus||this.$nextTick((()=>this.$refs.search&&this.$refs.search.focus()))):this.preventAutofocus||typeof this.$el<"u"&&this.$el.focus(),this.$emit("open",this.id))},deactivate(){this.isOpen&&(this.isOpen=!1,this.searchable?typeof this.$refs.search<"u"&&this.$refs.search.blur():typeof this.$el<"u"&&this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle(){this.isOpen?this.deactivate():this.activate()},adjustPosition(){if(typeof window>"u")return;const t=this.$el.getBoundingClientRect().top,e=window.innerHeight-this.$el.getBoundingClientRect().bottom;e>this.maxHeight||e>t||"below"===this.openDirection||"bottom"===this.openDirection?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(e-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(t-40,this.maxHeight))}}},cm={data:()=>({pointer:0,pointerDirty:!1}),props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition(){return this.pointer*this.optionHeight},visibleElements(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions(){this.pointerAdjust()},isOpen(){this.pointerDirty=!1},pointer(){this.$refs.search&&this.$refs.search.setAttribute("aria-activedescendant",this.id+"-"+this.pointer.toString())}},methods:{optionHighlight(t,e){return{"multiselect__option--highlight":t===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(e)}},groupHighlight(t,e){if(!this.groupSelect)return["multiselect__option--disabled",{"multiselect__option--group":e.$isLabel}];const n=this.options.find((t=>t[this.groupLabel]===e.$groupLabel));return n&&!this.wholeGroupDisabled(n)?["multiselect__option--group",{"multiselect__option--highlight":t===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(n)}]:"multiselect__option--disabled"},addPointerElement({key:t}="Enter"){this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],t),this.pointerReset()},pointerForward(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet(t){this.pointer=t,this.pointerDirty=!0}}},um={name:"vue-multiselect",mixins:[lm,cm],props:{name:{type:String,default:""},modelValue:{type:null,default:()=>[]},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:t=>`and ${t} more`},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{hasOptionGroup(){return this.groupValues&&this.groupLabel&&this.groupSelect},isSingleLabelVisible(){return(this.singleValue||0===this.singleValue)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible(){return!(this.internalValue.length||this.searchable&&this.isOpen)},visibleValues(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue(){return this.internalValue[0]},deselectLabelText(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText(){return this.showLabels?this.selectLabel:""},selectGroupLabelText(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText(){return this.showLabels?this.selectedLabel:""},inputStyle(){return this.searchable||this.multiple&&this.modelValue&&this.modelValue.length?this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}:""},contentStyle(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove(){return"above"===this.openDirection||"top"===this.openDirection||"below"!==this.openDirection&&"bottom"!==this.openDirection&&"above"===this.preferredOpenDirection},showSearchInput(){return this.searchable&&(!this.hasSingleSelectedSlot||!this.visibleSingleValue&&0!==this.visibleSingleValue||this.isOpen)}}};const hm={ref:"tags",class:"multiselect__tags"},dm={class:"multiselect__tags-wrap"},pm={class:"multiselect__spinner"},fm={key:0},gm={class:"multiselect__option"},mm={class:"multiselect__option"},vm=ro("No elements found. Consider changing the search query."),ym={class:"multiselect__option"},bm=ro("List is empty.");um.render=function(t,e,n,i,r,o){return Hr(),Yr("div",{tabindex:t.searchable?-1:n.tabindex,class:[{"multiselect--active":t.isOpen,"multiselect--disabled":n.disabled,"multiselect--above":o.isAbove,"multiselect--has-options-group":o.hasOptionGroup},"multiselect"],onFocus:e[14]||(e[14]=e=>t.activate()),onBlur:e[15]||(e[15]=e=>!t.searchable&&t.deactivate()),onKeydown:[e[16]||(e[16]=Rs(Ds((e=>t.pointerForward()),["self","prevent"]),["down"])),e[17]||(e[17]=Rs(Ds((e=>t.pointerBackward()),["self","prevent"]),["up"]))],onKeypress:e[18]||(e[18]=Rs(Ds((e=>t.addPointerElement(e)),["stop","self"]),["enter","tab"])),onKeyup:e[19]||(e[19]=Rs((e=>t.deactivate()),["esc"])),role:"combobox","aria-owns":"listbox-"+t.id},[Ei(t.$slots,"caret",{toggle:t.toggle},(()=>[eo("div",{onMousedown:e[1]||(e[1]=Ds((e=>t.toggle()),["prevent","stop"])),class:"multiselect__select"},null,32)])),Ei(t.$slots,"clear",{search:t.search}),eo("div",hm,[Ei(t.$slots,"selection",{search:t.search,remove:t.removeElement,values:o.visibleValues,isOpen:t.isOpen},(()=>[jn(eo("div",dm,[(Hr(!0),Yr(Nr,null,Oi(o.visibleValues,((e,n)=>Ei(t.$slots,"tag",{option:e,search:t.search,remove:t.removeElement},(()=>[(Hr(),Yr("span",{class:"multiselect__tag",key:n},[eo("span",{textContent:tt(t.getOptionLabel(e))},null,8,["textContent"]),eo("i",{tabindex:"1",onKeypress:Rs(Ds((n=>t.removeElement(e)),["prevent"]),["enter"]),onMousedown:Ds((n=>t.removeElement(e)),["prevent"]),class:"multiselect__tag-icon"},null,40,["onKeypress","onMousedown"])]))])))),256))],512),[[is,o.visibleValues.length>0]]),t.internalValue&&t.internalValue.length>n.limit?Ei(t.$slots,"limit",{key:0},(()=>[eo("strong",{class:"multiselect__strong",textContent:tt(n.limitText(t.internalValue.length-n.limit))},null,8,["textContent"])])):oo("v-if",!0)])),eo(Ho,{name:"multiselect__loading"},{default:Ln((()=>[Ei(t.$slots,"loading",{},(()=>[jn(eo("div",pm,null,512),[[is,n.loading]])]))])),_:3}),t.searchable?(Hr(),Yr("input",{key:0,ref:"search",name:n.name,id:t.id,type:"text",autocomplete:"off",spellcheck:"false",placeholder:t.placeholder,style:o.inputStyle,value:t.search,disabled:n.disabled,tabindex:n.tabindex,onInput:e[2]||(e[2]=e=>t.updateSearch(e.target.value)),onFocus:e[3]||(e[3]=Ds((e=>t.activate()),["prevent"])),onBlur:e[4]||(e[4]=Ds((e=>t.deactivate()),["prevent"])),onKeyup:e[5]||(e[5]=Rs((e=>t.deactivate()),["esc"])),onKeydown:[e[6]||(e[6]=Rs(Ds((e=>t.pointerForward()),["prevent"]),["down"])),e[7]||(e[7]=Rs(Ds((e=>t.pointerBackward()),["prevent"]),["up"])),e[9]||(e[9]=Rs(Ds((e=>t.removeLastElement()),["stop"]),["delete"]))],onKeypress:e[8]||(e[8]=Rs(Ds((e=>t.addPointerElement(e)),["prevent","stop","self"]),["enter"])),class:"multiselect__input","aria-controls":"listbox-"+t.id},null,44,["name","id","placeholder","value","disabled","tabindex","aria-controls"])):oo("v-if",!0),o.isSingleLabelVisible?(Hr(),Yr("span",{key:1,class:"multiselect__single",onMousedown:e[10]||(e[10]=Ds(((...e)=>t.toggle&&t.toggle(...e)),["prevent"]))},[Ei(t.$slots,"singleLabel",{option:o.singleValue},(()=>[ro(tt(t.currentOptionLabel),1)]))],32)):oo("v-if",!0),o.isPlaceholderVisible?(Hr(),Yr("span",{key:2,class:"multiselect__placeholder",onMousedown:e[11]||(e[11]=Ds(((...e)=>t.toggle&&t.toggle(...e)),["prevent"]))},[Ei(t.$slots,"placeholder",{},(()=>[ro(tt(t.placeholder),1)]))],32)):oo("v-if",!0)],512),eo(Ho,{name:"multiselect"},{default:Ln((()=>[jn(eo("div",{class:"multiselect__content-wrapper",onFocus:e[12]||(e[12]=(...e)=>t.activate&&t.activate(...e)),tabindex:"-1",onMousedown:e[13]||(e[13]=Ds((()=>{}),["prevent"])),style:{maxHeight:t.optimizedHeight+"px"},ref:"list"},[eo("ul",{class:"multiselect__content",style:o.contentStyle,role:"listbox",id:"listbox-"+t.id},[Ei(t.$slots,"beforeList"),t.multiple&&t.max===t.internalValue.length?(Hr(),Yr("li",fm,[eo("span",gm,[Ei(t.$slots,"maxElements",{},(()=>[ro("Maximum of "+tt(t.max)+" options selected. First remove a selected option to select another.",1)]))])])):oo("v-if",!0),!t.max||t.internalValue.length<t.max?(Hr(!0),Yr(Nr,{key:1},Oi(t.filteredOptions,((e,n)=>(Hr(),Yr("li",{class:"multiselect__element",key:n,id:t.id+"-"+n,role:e&&(e.$isLabel||e.$isDisabled)?null:"option"},[e&&(e.$isLabel||e.$isDisabled)?oo("v-if",!0):(Hr(),Yr("span",{key:0,class:[t.optionHighlight(n,e),"multiselect__option"],onClick:Ds((n=>t.select(e)),["stop"]),onMouseenter:Ds((e=>t.pointerSet(n)),["self"]),"data-select":e&&e.isTag?t.tagPlaceholder:o.selectLabelText,"data-selected":o.selectedLabelText,"data-deselect":o.deselectLabelText},[Ei(t.$slots,"option",{option:e,search:t.search,index:n},(()=>[eo("span",null,tt(t.getOptionLabel(e)),1)]))],42,["onClick","onMouseenter","data-select","data-selected","data-deselect"])),e&&(e.$isLabel||e.$isDisabled)?(Hr(),Yr("span",{key:1,"data-select":t.groupSelect&&o.selectGroupLabelText,"data-deselect":t.groupSelect&&o.deselectGroupLabelText,class:[t.groupHighlight(n,e),"multiselect__option"],onMouseenter:Ds((e=>t.groupSelect&&t.pointerSet(n)),["self"]),onMousedown:Ds((n=>t.selectGroup(e)),["prevent"])},[Ei(t.$slots,"option",{option:e,search:t.search,index:n},(()=>[eo("span",null,tt(t.getOptionLabel(e)),1)]))],42,["data-select","data-deselect","onMouseenter","onMousedown"])):oo("v-if",!0)],8,["id","role"])))),128)):oo("v-if",!0),jn(eo("li",null,[eo("span",mm,[Ei(t.$slots,"noResult",{search:t.search},(()=>[vm]))])],512),[[is,n.showNoResults&&0===t.filteredOptions.length&&t.search&&!n.loading]]),jn(eo("li",null,[eo("span",ym,[Ei(t.$slots,"noOptions",{},(()=>[bm]))])],512),[[is,n.showNoOptions&&(0===t.options.length||!0===o.hasOptionGroup&&0===t.filteredOptions.length)&&!t.search&&!n.loading]]),Ei(t.$slots,"afterList")],12,["id"])],36),[[is,t.isOpen]])])),_:3})],42,["tabindex","aria-owns"])};const _m=["onClick"],xm=["onClick"],wm=Zn({__name:"pagination",props:{modelValue:{},total:{},windowSize:{default:3}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t;kr((()=>{1!==n.modelValue&&n.modelValue>n.total&&e("update:modelValue",1)}));const i=t=>{e("update:modelValue",t)},r=Po((()=>n.total<=n.windowSize+3)),o=Po((()=>{const t=n.windowSize;if(r.value)return Array.from(Array(n.total).keys()).map((t=>t+1));let e;return e=n.modelValue>t&&n.modelValue<n.total-t+1?Array.from(Array(t).keys()).map((t=>n.modelValue+t-1)):n.modelValue<=t?Array.from(Array(t+1).keys()).map((t=>t+2)):Array.from(Array(t+1).keys()).map((t=>n.total-t-1)).reverse(),e})),s=Po((()=>1!==n.modelValue)),a=Po((()=>n.modelValue!==n.total)),l=Ss(),c=t=>({"aria-label":n.modelValue===t?`Current Page, Page ${t}`:`Goto Page ${t}`,class:[l.page,{[l.active]:n.modelValue===t}]});return(t,e)=>{const n=Ci("directives","hidden");return jn((Hr(),Xr("nav",{class:G(t.$style.root),role:"navigation","aria-label":"pagination"},[to("ul",{class:G(t.$style.nav)},[jn((Hr(),Xr("li",{class:G(t.$style.navigationLeft),onClick:e[0]||(e[0]=e=>i(t.modelValue-1))},[eo(Fe(kd),{icon:"caret-left",class:G(t.$style.icon)},null,8,["class"])],2)),[[n,!s.value]]),r.value?(Hr(!0),Xr(Nr,{key:0},Oi(o.value,(t=>(Hr(),Xr("li",co({key:t},c(t),{onClick:e=>i(t)}),tt(t),17,_m)))),128)):(Hr(),Xr(Nr,{key:1},[to("li",co(c(1),{onClick:e[1]||(e[1]=t=>i(1))})," 1 ",16),t.modelValue>t.windowSize?(Hr(),Xr("li",{key:0,class:G(Fe(l).navItem)}," ... ",2)):oo("",!0),(Hr(!0),Xr(Nr,null,Oi(o.value,(t=>(Hr(),Xr("li",co({key:t},c(t),{onClick:e=>i(t)}),tt(t),17,xm)))),128)),t.modelValue<=t.total-t.windowSize?(Hr(),Xr("li",{key:1,class:G(Fe(l).navItem)}," ... ",2)):oo("",!0),to("li",co(c(t.total),{onClick:e[2]||(e[2]=e=>i(t.total))}),tt(t.total),17)],64)),jn((Hr(),Xr("li",{class:G(t.$style.navigationRight),onClick:e[3]||(e[3]=e=>i(t.modelValue+1))},[eo(Fe(kd),{icon:"caret-right",class:G(t.$style.icon)},null,8,["class"])],2)),[[n,!a.value]])],2)],2)),[[n,t.total<=1]])}}}),Sm=xd(wm,[["__cssModules",{$style:{root:"_root_5yb23_1",nav:"_nav_5yb23_5",navItem:"_navItem_5yb23_12",page:"_page_5yb23_13",active:"_active_5yb23_22",navigation:"_navigation_5yb23_26",navigationLeft:"_navigationLeft_5yb23_27",navigationRight:"_navigationRight_5yb23_28",icon:"_icon_5yb23_40"}}]]),km=Zn({__name:"stack",props:{align:{},columnGap:{},direction:{default:"column"},gap:{default:"5"},justify:{},rowGap:{},wrap:{default:"wrap"}},setup(t){const e=t,n=Ss(),i=Po((()=>{const t=[n.root,n[e.direction],n[e.wrap]];return e.align&&t.push(n[e.align]),e.justify&&t.push(n[e.justify]),t})),r=Po((()=>e.columnGap??(e.direction.includes("row")&&e.gap))),o=Po((()=>e.rowGap??(!e.direction.includes("row")&&e.gap))),s=Po((()=>({"--stack-row-gap":4*Number(o.value)+"px","--stack-column-gap":4*Number(r.value)+"px"})));return(t,e)=>(Hr(),Xr("div",{class:G(i.value),style:V(s.value)},[Ei(t.$slots,"default")],6))}}),Cm=xd(km,[["__cssModules",{$style:{root:"_root_1janq_1","flex-start":"_flex-start_1janq_6","flex-end":"_flex-end_1janq_9",center:"_center_1janq_12","space-between":"_space-between_1janq_15","space-around":"_space-around_1janq_18",stretch:"_stretch_1janq_21","space-evenly":"_space-evenly_1janq_24",row:"_row_1janq_27","row-reverse":"_row-reverse_1janq_30",column:"_column_1janq_33","column-reverse":"_column-reverse_1janq_36",start:"_start_1janq_42",end:"_end_1janq_45",left:"_left_1janq_54",right:"_right_1janq_57",normal:"_normal_1janq_60","spacing-column-1":"_spacing-column-1_1janq_75","spacing-row-1":"_spacing-row-1_1janq_78","spacing-column-2":"_spacing-column-2_1janq_81","spacing-row-2":"_spacing-row-2_1janq_84","spacing-column-3":"_spacing-column-3_1janq_87","spacing-row-3":"_spacing-row-3_1janq_90","spacing-column-4":"_spacing-column-4_1janq_93","spacing-row-4":"_spacing-row-4_1janq_96","spacing-column-5":"_spacing-column-5_1janq_99","spacing-row-5":"_spacing-row-5_1janq_102","spacing-column-6":"_spacing-column-6_1janq_105","spacing-row-6":"_spacing-row-6_1janq_108","spacing-column-7":"_spacing-column-7_1janq_111","spacing-row-7":"_spacing-row-7_1janq_114","spacing-column-8":"_spacing-column-8_1janq_117","spacing-row-8":"_spacing-row-8_1janq_120",wrap:"_wrap_1janq_123","wrap-reverse":"_wrap-reverse_1janq_126",nowrap:"_nowrap_1janq_129"}}]]),Am=(Boolean,Symbol("active-tab"),Boolean,Zn({__name:"title",setup:t=>(t,e)=>(Hr(),Yr(Fe(tm),{as:"h2",size:"md"},{default:Ln((()=>[Ei(t.$slots,"default")])),_:3}))})),Om=Zn({__name:"label",props:{description:{type:String,required:!1},required:{type:Boolean,required:!1,default:void 0}},setup:t=>(e,n)=>(Hr(),Xr("label",{class:G(e.$style.label)},[to("span",{class:G(e.$style.labelText)},[Ei(e.$slots,"label",{},(()=>[Ei(e.$slots,"default")]))],2),t.required?(Hr(),Xr("span",{key:0,class:G(e.$style.labelRequired)},"(REQUIRED)",2)):oo("",!0),t.description?(Hr(),Yr(Jp,{key:1,arrow:"",hover:"",placement:"top"},{tooltip:Ln((()=>[ro(tt(t.description),1)])),default:Ln((()=>[eo(Fe(kd),{icon:"circle-exclamation",class:G(e.$style.description)},null,8,["class"])])),_:1})):oo("",!0)],2))}),Tm=xd(Om,[["__cssModules",{$style:{description:"_description_14dok_1",label:"_label_14dok_6",labelText:"_labelText_14dok_14",labelRequired:"_labelRequired_14dok_21"}}]]),Em={message:"_message_1qafl_1",messages:"_messages_1qafl_5",help:"_help_1qafl_15",inputControl:"_inputControl_1qafl_18",focused:"_focused_1qafl_33",inputHide:"_inputHide_1qafl_65",inner:"_inner_1qafl_75",formSpan:"_formSpan_1qafl_79"};function Pm(t,e){const n=t[e];return"string"==typeof n?{[n]:!0}:n}function Mm(t,e){const n={...e};return Object.keys(t).forEach((e=>{const i=Pm(n,e),r=Pm(t,e);n[e]={...i,...r}})),n}function Lm(t){if(!t)return{};const e={};return"string"==typeof t?(e["--mobile-form-span"]="12",e["--form-span"]=e["--medium-form-span"]=e["--small-form-span"]=t):(e["--mobile-form-span"]=t.mobile||"12",e["--small-form-span"]=t.small||e["--mobile-form-span"],e["--medium-form-span"]=t.medium||e["--small-form-span"],e["--form-span"]=t.large||e["--medium-form-span"]),e}const jm=Symbol("is_form"),Dm=xd(Zn({__name:"fieldset",props:{gap:{default:"5"},inline:{type:Boolean},label:{},legend:{},rowGap:{},span:{}},setup:t=>(Qi(jm,!0),(t,e)=>(Hr(),Xr("fieldset",{class:G([t.$style.fieldset,Fe(Em).formSpan]),style:V(Fe(Lm)(t.span))},[t.legend?(Hr(),Xr("legend",{key:0,class:G(t.$style.legend)},tt(t.legend),3)):oo("",!0),t.label?(Hr(),Yr(Tm,{key:1,class:G(t.$style.label)},{default:Ln((()=>[ro(tt(t.label),1)])),_:1},8,["class"])):oo("",!0),eo(Fe(Cm),{gap:t.gap,direction:t.inline?"row":"column","row-gap":t.rowGap||(t.inline?"5":void 0)},{default:Ln((()=>[Ei(t.$slots,"default")])),_:3},8,["gap","direction","row-gap"])],6)))}),[["__cssModules",{$style:{fieldset:"_fieldset_1fcft_1",legend:"_legend_1fcft_6",label:"_label_1fcft_10"}}]]),$m=xd(Zn({__name:"form-actions",props:{variant:{default:"standard"}},setup:t=>(t,e)=>(Hr(),Xr(Nr,null,["plain"!==t.variant?(Hr(),Yr(ki("standard"===t.variant?Fe(nm):"div"),{key:0,class:G(t.$style.hr)},null,8,["class"])):oo("",!0),eo(Fe(Cm),co(t.$attrs,{class:t.$style[t.variant],gap:"2",direction:"row",wrap:"nowrap"}),{default:Ln((()=>[to("div",{class:G(t.$style.spacer)},null,2),Ei(t.$slots,"default",{},(()=>[eo(Fe(Ad),{type:"submit",severity:"primary"},{default:Ln((()=>[ro(" Save ")])),_:1})]))])),_:3},16,["class"])],64))}),[["__cssModules",{$style:{hr:"_hr_10l8x_1",padding:"_padding_10l8x_4",standard:"_standard_10l8x_5",filled:"_filled_10l8x_6",spacer:"_spacer_10l8x_12"}}]]),Rm=Zn({__name:"form",props:{actions:{type:[Boolean,String],default:!0},config:{},formRef:{},errors:{},inline:{type:Boolean},legend:{},modelValue:{},onSubmit:{},onSubmitInvalid:{},"onUpdate:modelValue":{}},setup(t){const e=t,n=async(t,n)=>{var i;const r=await(null==(i=e.onSubmit)?void 0:i.call(e,t,n));r&&(null!=r&&r.errors?null==n||n.setErrors(r.errors):null==n||n.reset(null==r?void 0:r.values))};return(t,i)=>{const r=wi("FormKit");return Hr(),Yr(r,co({ref:e=>{var n;return null==(n=t.formRef)?void 0:n.call(t,e)},type:"form",actions:!1,config:t.config,"incomplete-message":!1,errors:t.errors,"model-value":t.modelValue,novalidate:""},Mi({submit:n}),{onSubmitInvalid:t.onSubmitInvalid,"onUpdate:modelValue":e["onUpdate:modelValue"]}),{default:Ln((e=>[eo(Dm,{legend:t.legend,inline:t.inline},{default:Ln((()=>[Ei(t.$slots,"default",X(no(e)))])),_:2},1032,["legend","inline"]),t.actions?(Hr(),Yr($m,{key:0,variant:"string"==typeof t.actions?t.actions:"standard"},{default:Ln((()=>[Ei(t.$slots,"actions",X(no(e)))])),_:2},1032,["variant"])):oo("",!0)])),_:3},16,["config","errors","model-value","onSubmitInvalid","onUpdate:modelValue"])}}}),Im=(Boolean,Boolean,{classes:{type:Object,required:!1},description:{type:String,required:!1},disabled:{type:[Boolean,String],required:!1},errors:{type:Array,required:!1},help:{type:String,required:!1},ignore:{type:Boolean,required:!1},id:{type:String,required:!1,default:({name:t})=>t?`input_${t}`:void 0},label:{type:String,required:!1,default:({name:t})=>md.startCase(t)},modelValue:{required:!1},name:{type:String,required:!1},onInput:{type:[Function,Array],required:!1},"onUpdate:modelValue":{type:[Function,Array],required:!1},prefix:{type:String,required:!1},preserve:{type:Boolean,required:!1,default:!1},prefixIcon:{type:String,required:!1},required:{type:Boolean,required:!1,default:void 0},span:{type:[String,Object],required:!1,default:()=>tr(jm,!1)?{mobile:"12",small:"6"}:void 0},suffix:{type:String,required:!1},suffixIcon:{type:String,required:!1},validation:{type:String,required:!1},validationLabel:{type:[String,Function],required:!1},validationMessages:{type:Object,required:!1},validationRules:{type:Object,required:!1}}),Nm=(Boolean,Zn({__name:"field",props:{...Im,sectionsSchema:{type:Object,required:!1},type:{type:[String,Object],required:!0}},setup(t){const e=t,n=Po((()=>e.required?function(...t){return t.filter(Boolean).join("|")}("required",e.validation):e.validation)),i=Le(Tm),r=Po((()=>({outer:{attrs:{style:Lm(e.span)}},label:{$el:"div",if:"$label || $description || $required",children:[{$cmp:i,children:"$label",props:{description:"$description",required:"$required",for:"$id"}}]},...e.sectionsSchema}))),o=t=>{t.addProps(["description","required"])};return(i,s)=>{const a=wi("FormKit");return Hr(),Yr(a,co({id:i.id,classes:Fe(Mm)({outer:i.$attrs.class},i.classes),description:i.description,disabled:i.disabled||void 0,errors:i.errors,help:i.help,ignore:i.ignore,label:i.label,"model-value":i.modelValue,name:i.name,"outer-class":i.span&&Fe(Em).formSpan,preserve:i.preserve,plugins:[o],required:i.required,"sections-schema":r.value,type:t.type,validation:n.value,"validation-label":i.validationLabel,"validation-messages":i.validationMessages,"validation-rules":i.validationRules,"onUpdate:modelValue":e["onUpdate:modelValue"]},Mi({input:i.onInput})),Ti({_:2},[Oi(i.$slots,((t,e)=>({name:e,fn:Ln((t=>[Ei(i.$slots,e,X(no(t)))]))}))),i.$slots.label?{name:"label",fn:Ln((t=>[eo(Tm,{for:i.id,description:i.description,required:i.required},{default:Ln((()=>[Ei(i.$slots,"label",X(no(t)))])),_:2},1032,["for","description","required"])])),key:"0"}:void 0,i.$slots.help?{name:"help",fn:Ln((t=>[to("div",{class:G(i.$style.help)},[Ei(i.$slots,"help",X(no(t)))],2)])),key:"1"}:void 0]),1040,["id","classes","description","disabled","errors","help","ignore","label","model-value","name","outer-class","preserve","plugins","required","sections-schema","type","validation","validation-label","validation-messages","validation-rules","onUpdate:modelValue"])}}})),Bm=xd(Nm,[["__cssModules",{$style:{help:"_help_l44b4_1"}}]]),Fm=["for"],zm=["for"],Vm=Zn({__name:"input",props:{...Im,placeholder:{type:String,required:!1},type:{type:[String,Object],required:!0}},setup(t){const e=t,n=Re(!1);return(t,i)=>(Hr(),Yr(Bm,co(e,{classes:Fe(Mm)({inner:{[t.$style.input]:!0,[Fe(Em).inputControl]:!0,[Fe(Em).focused]:n.value},input:Fe(Em).inputHide},t.classes),onFocus:i[0]||(i[0]=t=>n.value=!0),onBlur:i[1]||(i[1]=t=>n.value=!1)}),Ti({_:2},[Oi(t.$slots,((e,n)=>({name:n,fn:Ln((e=>[Ei(t.$slots,n,X(no(e)))]))}))),t.$slots.prefix||t.prefix||t.prefixIcon?{name:"prefix",fn:Ln((e=>[to("label",{for:t.id,class:G(t.$style.prefix)},[t.prefixIcon?(Hr(),Yr(Fe(kd),{key:0,icon:t.prefixIcon},null,8,["icon"])):oo("",!0),Ei(t.$slots,"prefix",X(no(e)),(()=>[ro(tt(t.prefix),1)]))],10,Fm)])),key:"0"}:void 0,t.$slots.suffix||t.suffix||t.suffixIcon?{name:"suffix",fn:Ln((e=>[to("label",{for:t.id,class:G(t.$style.suffix)},[t.suffixIcon?(Hr(),Yr(Fe(kd),{key:0,icon:t.suffixIcon},null,8,["icon"])):oo("",!0),Ei(t.$slots,"suffix",X(no(e)),(()=>[ro(tt(t.suffix),1)]))],10,zm)])),key:"1"}:void 0]),1040,["classes"]))}}),Wm=xd(Vm,[["__cssModules",{$style:{input:"_input_1rnut_1",prefixSuffix:"_prefixSuffix_1rnut_4",prefix:"_prefix_1rnut_4",suffix:"_suffix_1rnut_6"}}]]);function Hm(){return Math.random().toString(36).substring(2,15)}function Um(t,e){return[...t instanceof Set?t:new Set(t)]}function qm(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Gm(t,e,n=!0,i=["__key"]){if(t===e)return!0;if("object"==typeof e&&"object"==typeof t){if(t instanceof Map||t instanceof Set||t instanceof Date||null===t||null===e||Object.keys(t).length!==Object.keys(e).length)return!1;for(const n of i)if((n in t||n in e)&&t[n]!==e[n])return!1;for(const r in t)if(!(r in e)||t[r]!==e[r]&&!n||n&&!Gm(t[r],e[r],n,i))return!1;return!0}return!1}function Xm(t){const e=typeof t;if("number"===e)return!1;if(void 0===t)return!0;if("string"===e)return""===t;if("object"===e){if(null===t)return!0;for(const e in t)return!1;return!(t instanceof RegExp||t instanceof Date)}return!1}function Ym(t){return"[object Object]"===Object.prototype.toString.call(t)}function Km(t){return Ym(t)||Array.isArray(t)}function Zm(t){if(!1===Ym(t)||t.__FKNode__||!1===t.__POJO__)return!1;const e=t.constructor;if(void 0===e)return!0;const n=e.prototype;return!(!1===Ym(n)||!1===n.hasOwnProperty("isPrototypeOf"))}function Jm(t,e,n=!1,i=!1){if(null===e)return null;const r={};if("string"==typeof e)return e;for(const o in t)if(!qm(e,o)||void 0===e[o]&&i)r[o]=t[o];else{if(n&&Array.isArray(t[o])&&Array.isArray(e[o])){r[o]=t[o].concat(e[o]);continue}if(void 0===e[o])continue;Zm(t[o])&&Zm(e[o])?r[o]=Jm(t[o],e[o],n,i):r[o]=e[o]}for(const t in e)!qm(r,t)&&void 0!==e[t]&&(r[t]=e[t]);return r}function Qm(...t){return t.reduce(((t,e)=>{const{value:n,name:i,modelValue:r,config:o,plugins:s,...a}=e;return Object.assign(t,a)}),{})}function tv(t,e){const n={},i=e.filter((t=>t instanceof RegExp)),r=new Set(e);for(const e in t)!r.has(e)&&!i.some((t=>t.test(e)))&&(n[e]=t[e]);return n}function ev(t,e){const n={},i=e.filter((t=>t instanceof RegExp));return e.forEach((e=>{e instanceof RegExp||(n[e]=t[e])})),Object.keys(t).forEach((e=>{i.some((t=>t.test(e)))&&(n[e]=t[e])})),n}function nv(t){return t.replace(/-([a-z0-9])/gi,((t,e)=>e.toUpperCase()))}function iv(t){return t.replace(/([a-z0-9])([A-Z])/g,((t,e,n)=>e+"-"+n.toLowerCase())).replace(" ","-").toLowerCase()}function rv(t,e=["__key","__init"]){if(null===t||t instanceof RegExp||t instanceof Date||t instanceof Map||t instanceof Set||"function"==typeof File&&t instanceof File)return t;let n;n=Array.isArray(t)?t.map((t=>"object"==typeof t?rv(t,e):t)):Object.keys(t).reduce(((n,i)=>(n[i]="object"==typeof t[i]?rv(t[i],e):t[i],n)),{});for(const i of e)i in t&&Object.defineProperty(n,i,{enumerable:!1,value:t[i]});return n}function ov(t){return"object"==typeof t?rv(t):t}function sv(t){return void 0!==t&&"false"!==t&&!1!==t||void 0}function av(t){return Object.isFrozen(t)?t:Object.defineProperty(t,"__init",{enumerable:!1,value:!0})}function lv(t){return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase().replace(/[^a-z0-9]/g," ").trim().replace(/\s+/g,"-")}function cv(){const t=[];let e=0;const n=e=>t.push(e),i=n=>{const r=t[e];return"function"==typeof r?r(n,(t=>(e++,i(void 0===t?n:t)))):(e=0,n)};return n.dispatch=i,n.unshift=e=>t.unshift(e),n.remove=e=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},n}function uv(){const t=new Map,e=new Map;let n;const i=(e,i)=>{n?n.set(i.name,[e,i]):(t.has(i.name)&&t.get(i.name).forEach((t=>{(i.origin===e||t.modifiers.includes("deep"))&&t.listener(i)})),i.bubble&&e.bubble(i))};return i.on=(n,i)=>{const[r,...o]=n.split("."),s=i.receipt||Hm(),a={modifiers:o,event:r,listener:i,receipt:s};return t.has(r)?t.get(r).push(a):t.set(r,[a]),e.has(s)?e.get(s).push(r):e.set(s,[r]),s},i.off=n=>{var i;e.has(n)&&(null===(i=e.get(n))||void 0===i||i.forEach((e=>{const i=t.get(e);Array.isArray(i)&&t.set(e,i.filter((t=>t.receipt!==n)))})),e.delete(n))},i.pause=t=>{n||(n=new Map),t&&t.walk((t=>t._e.pause()))},i.play=t=>{if(!n)return;const e=n;n=void 0,e.forEach((([t,e])=>i(t,e))),t&&t.walk((t=>t._e.play()))},i}Boolean;const hv=cv();hv(((t,e)=>(t.message||(t.message=`E${t.code}`),e(t))));const dv=cv();function pv(t,e={}){dv.dispatch({code:t,data:e})}function fv(t,e={}){throw Error(hv.dispatch({code:t,data:e}).message)}function gv(t,e){return{blocking:!1,key:Hm(),meta:{},type:"state",visible:!0,...t}}dv(((t,e)=>{t.message||(t.message=`W${t.code}`);const n=e(t);return console&&"function"==typeof console.warn&&console.warn(n.message),n}));const mv={apply:function(t,e,n,i,r){if(Array.isArray(i)){if(e.buffer)return void e._b.push([i,r]);const t=new Set(i.map((t=>(e.set(t),t.key))));"string"==typeof r?e.filter((e=>e.type!==r||t.has(e.key))):"function"==typeof r&&e.filter((e=>!r(e)||t.has(e.key)))}else for(const t in i){const o=n.at(t);o?o.store.apply(i[t],r):bv(n,e,t,i[t],r)}},set:function(t,e,n,i){if(e.buffer)return e._b.push([[i]]),e;if(t[i.key]!==i){if("string"==typeof i.value&&!1!==i.meta.localize){const t=i.value;i.value=n.t(i),i.value!==t&&(i.meta.locale=n.props.locale)}const e="message-"+(qm(t,i.key)?"updated":"added");t[i.key]=Object.freeze(n.hook.message.dispatch(i)),n.emit(e,i)}return e},remove:yv,filter:function(t,e,n,i,r){for(const o in t){const s=t[o];(!r||s.type===r)&&!i(s)&&yv(t,e,n,o)}},reduce:function(t,e,n,i,r){for(const e in t)r=i(r,t[e]);return r},release:function(t,e){e.buffer=!1,e._b.forEach((([t,n])=>e.apply(t,n))),e._b=[]},touch:function(t,e){for(const n in t){const i={...t[n]};e.set(i)}}};function vv(t=!1){const e={};let n,i=t,r=[];const o=new Map;let s;const a=new Proxy(e,{get(...t){const[l,c]=t;return"buffer"===c?i:"_b"===c?r:"_m"===c?o:"_r"===c?s:qm(mv,c)?mv[c].bind(null,e,a,n):Reflect.get(...t)},set:(t,e,o)=>"_n"===e?(n=o,"__n"===s&&_v(n,a),!0):"_b"===e?(r=o,!0):"buffer"===e?(i=o,!0):"_r"===e?(s=o,!0):(fv(101,n),!1)});return a}function yv(t,e,n,i){if(qm(t,i)){const e=t[i];delete t[i],n.emit("message-removed",e)}return!0===e.buffer&&(e._b=e._b.filter((t=>(t[0]=t[0].filter((t=>t.key!==i)),t[1]||t[0].length)))),e}function bv(t,e,n,i,r){var o;const s=e._m;s.has(n)||s.set(n,[]),e._r||(e._r=_v(t,e)),null===(o=s.get(n))||void 0===o||o.push([i,r])}function _v(t,e){return t.on("child.deep",(({payload:n})=>{e._m.forEach(((i,r)=>{t.at(r)===n&&(i.forEach((([t,e])=>{n.store.apply(t,e)})),e._m.delete(r))})),0===e._m.size&&e._r&&(t.off(e._r),e._r=void 0)}))}function xv(){const t={};let e;return{count:(...n)=>function(t,e,n,i,r=0){if(i=function(t){return"function"==typeof t?t:e=>e.type===t}(i||n),!qm(e,n)){const o={condition:i,count:0,name:n,node:t,promise:Promise.resolve(),resolve:()=>{}};e[n]=o,r=t.store.reduce(((t,e)=>t+1*o.condition(e)),r),t.each((t=>{t.ledger.count(o.name,o.condition),r+=t.ledger.value(o.name)}))}return wv(e[n],r).promise}(e,t,...n),init(n){e=n,n.on("message-added.deep",Sv(t,1)),n.on("message-removed.deep",Sv(t,-1))},merge:n=>kv(e,t,n),settled:e=>qm(t,e)?t[e].promise:Promise.resolve(),unmerge:n=>kv(e,t,n,!0),value:e=>qm(t,e)?t[e].count:0}}function wv(t,e){const n=t.count,i=t.count+e;return t.count=i,0===n&&0!==i?(t.node.emit(`unsettled:${t.name}`,t.count,!1),t.promise=new Promise((e=>t.resolve=e))):0!==n&&0===i&&(t.node.emit(`settled:${t.name}`,t.count,!1),t.resolve()),t.node.emit(`count:${t.name}`,t.count,!1),t}function Sv(t,e){return n=>{for(const i in t){const r=t[i];r.condition(n.payload)&&wv(r,e)}}}function kv(t,e,n,i=!1){for(const r in e){const o=e[r].condition;i||n.ledger.count(r,o);const s=n.ledger.value(r)*(i?-1:1);if(t)do{t.ledger.count(r,o,s),t=t.parent}while(t)}}const Cv=new Map,Av=new Map,Ov=uv(),Tv=[];function Ev(t){return Cv.get(t)}function Pv(t,e,n){let i=!0;return e in t.config._t?i=!1:t.emit(`config:${e}`,n,!1),e in t.props||(t.emit("prop",{prop:e,value:n}),t.emit(`prop:${e}`,n)),i}function Mv(t){const e=document.getElementById(t);if(e instanceof HTMLFormElement){const t=new Event("submit",{cancelable:!0,bubbles:!0});e.dispatchEvent(t)}else pv(151,t)}function Lv(t,e){const n="string"==typeof t?Ev(t):t;if(n){const t=t=>ov(t.props.initial)||("group"===t.type?{}:"list"===t.type?[]:void 0);n._e.pause(n),n.input(ov(e)||t(n),!1),n.walk((e=>e.input(t(e),!1)));const i=t(n);return n.input("object"==typeof i?ov(e)||av(i):i,!1),n._e.play(n),function(t){const e=t=>{for(const e in t.store){const n=t.store[e];"error"===n.type||"ui"===n.type&&"incomplete"===e?t.store.remove(e):"state"===n.type&&t.store.set({...n,value:!1})}};e(t),t.walk(e)}(n),n.emit("reset",n),n}pv(152,t)}const jv={delimiter:".",delay:0,locale:"en",rootClasses:t=>({[`formkit-${iv(t)}`]:!0})},Dv=Symbol("index"),$v=Symbol("removed"),Rv=Symbol("moved"),Iv=Symbol("inserted");function Nv(t){return t&&"object"==typeof t&&!0===t.__FKNode__}const Bv=(t,e,n)=>{fv(102,[t,n])},Fv={_c:zv((function(t,e){return e}),Bv,!1),add:zv((function(t,e,n,i){if("input"===t.type&&fv(100,t),n.parent&&n.parent!==t&&n.parent.remove(n),e.children.includes(n)||(void 0!==i&&"list"===t.type?(e.children.splice(i,0,n),Array.isArray(t.value)&&t.value.length<e.children.length&&t.disturb().calm({name:i,value:n.value,from:Iv})):e.children.push(n),n.isSettled||t.disturb()),n.parent!==t){if(n.parent=t,n.parent!==t)return t.remove(n),n.parent.add(n),t}else n.use(t.plugins);return Xv(t,e,!1),t.ledger.merge(n),t.emit("child",n),t})),addProps:zv((function(t,e,n){var i;if(t.props.attrs){const r={...t.props.attrs};t.props._emit=!1;for(const e in r){const i=nv(e);n.includes(i)&&(t.props[i]=r[e],delete r[e])}const o=ov(e._value);t.props.initial="input"!==t.type?av(o):o,t.props._emit=!0,t.props.attrs=r,t.props.definition&&(t.props.definition.props=[...(null===(i=t.props.definition)||void 0===i?void 0:i.props)||[],...n])}return t.emit("added-props",n),t})),address:zv((function(t,e){return e.parent?e.parent.address.concat([t.name]):[t.name]}),Bv,!1),at:zv((function(t,e,n){const i="string"==typeof n?n.split(t.config.delimiter):n;if(!i.length)return;const r=i[0];let o=t.parent;for(o||(String(i[0])===String(t.name)&&i.shift(),o=t),"$parent"===r&&i.shift();o&&i.length;){const e=i.shift();switch(e){case"$root":o=t.root;break;case"$parent":o=o.parent;break;case"$self":o=t;break;default:o=o.children.find((t=>String(t.name)===String(e)))||Zv(o,e)}}return o||void 0})),bubble:zv((function(t,e,n){return Nv(t.parent)&&t.parent._e(t.parent,n),t})),clearErrors:zv((function(t,e,n=!0,i){return Qv(t,0,[]),n&&(i=i||`${t.name}-set`,t.walk((t=>{t.store.filter((t=>!("error"===t.type&&t.meta&&t.meta.source===i)))}))),t})),calm:zv((function(t,e,n){var i;if(void 0!==n&&"input"!==t.type)return Yv(e,n),Xv(t,e,!0,!1);e._d>0&&e._d--,0===e._d&&(e.isSettled=!0,t.emit("settled",!0,!1),t.parent&&(null===(i=t.parent)||void 0===i||i.calm({name:t.name,value:e.value})),e._resolve&&e._resolve(e.value))})),config:zv(!1),define:zv((function(t,e,n){e.type=n.type,e.props.definition=rv(n),e.value=e._value=qv({type:t.type,value:e.value}),n.forceTypeProp&&(t.props.type&&(t.props.originalType=t.props.type),e.props.type=n.forceTypeProp),n.family&&(e.props.family=n.family),n.features&&n.features.forEach((e=>e(t))),n.props&&t.addProps(n.props),t.emit("defined",n)})),disturb:zv((function(t,e){var n;return e._d<=0&&(e.isSettled=!1,t.emit("settled",!1,!1),e.settled=new Promise((t=>{e._resolve=t})),t.parent&&(null===(n=t.parent)||void 0===n||n.disturb())),e._d++,t})),destroy:zv((function(t,e){t.emit("destroying",t),t.store.filter((()=>!1)),t.parent&&t.parent.remove(t),function(t){if(Av.has(t)){const e=Av.get(t);Av.delete(t),Cv.delete(e),Ov(t,{payload:null,name:e,bubble:!1,origin:t})}}(t),e._value=e.value=void 0,t.emit("destroyed",t)})),hydrate:zv((function(t,e){const n=e._value;return e.children.forEach((i=>{if("object"==typeof n)if(i.name in n){const t="input"!==i.type||n[i.name]&&"object"==typeof n[i.name]?av(n[i.name]):n[i.name];i.input(t,!1)}else("list"!==t.type||"number"==typeof i.name)&&Yv(e,{name:i.name,value:i.value}),n.__init||("group"===i.type?i.input({},!1):"list"===i.type?i.input([],!1):i.input(void 0,!1))})),t})),index:zv((function(t){if(t.parent){const e=[...t.parent.children].indexOf(t);return-1===e?t.parent.children.length:e}return-1}),(function(t,e,n,i){if(Nv(t.parent)){const e=t.parent.children,n=i>=e.length?e.length-1:i<0?0:i,r=e.indexOf(t);return-1!==r&&(e.splice(r,1),e.splice(n,0,t),t.parent.children=e,"list"===t.parent.type&&t.parent.disturb().calm({name:n,value:Rv,from:r}),!0)}return!1}),!1),input:zv(Gv),each:zv((function(t,e,n){e.children.forEach((t=>n(t)))})),emit:zv((function(t,e,n,i,r=!0){return e._e(t,{payload:i,name:n,bubble:r,origin:t}),t})),find:zv((function(t,e,n,i){return function(t,e,n="name"){const i="string"==typeof n?t=>t[n]==e:n,r=[t];for(;r.length;){const t=r.shift();if(i(t,e))return t;r.push(...t.children)}}(t,n,i)})),on:zv((function(t,e,n,i){return e._e.on(n,i)})),off:zv((function(t,e,n){return e._e.off(n),t})),parent:zv(!1,(function(t,e,n,i){return Nv(i)?(t.parent&&t.parent!==i&&t.parent.remove(t),e.parent=i,t.resetConfig(),i.children.includes(t)?t.use(i.plugins):i.add(t),!0):null===i&&(e.parent=null,!0)})),plugins:zv(!1),remove:zv((function(t,e,n){const i=e.children.indexOf(n);if(-1!==i){n.isSettled&&t.disturb(),e.children.splice(i,1);let r=sv(n.props.preserve),o=n.parent;for(;void 0===r&&o;)r=sv(o.props.preserve),o=o.parent;r?t.calm():t.calm({name:"list"===t.type?i:n.name,value:$v}),n.parent=null,n.config._rmn=n}return t.ledger.unmerge(n),t})),root:zv((function(t){let e=t;for(;e.parent;)e=e.parent;return e}),Bv,!1),reset:zv((function(t,e,n){return Lv(t,n)})),resetConfig:zv((function(t,e){const n=t.parent||void 0;e.config=Jv(t.config._t,n),t.walk((t=>t.resetConfig()))})),setErrors:zv(Qv),submit:zv((function(t){const e=t.name;do{if(!0===t.props.isForm)break;t.parent||fv(106,e),t=t.parent}while(t);t.props.id&&Mv(t.props.id)})),t:zv((function(t,e,n,i="ui"){const r="string"==typeof n?{key:n,value:n,type:i}:n,o=t.hook.text.dispatch(r);return t.emit("text",o,!1),o.value})),use:zv(Kv),name:zv((function(t,e){var n;return"list"===(null===(n=t.parent)||void 0===n?void 0:n.type)?t.index:e.name!==Dv?e.name:t.index}),!1,!1),walk:zv((function(t,e,n,i=!1){e.children.forEach((t=>{(!1!==n(t)||!i)&&t.walk(n)}))}))};function zv(t,e,n=!0){return{get:!!t&&((e,i)=>n?(...n)=>t(e,i,...n):t(e,i)),set:void 0!==e?e:Bv.bind(null)}}function Vv(){const t=new Map;return new Proxy(t,{get:(e,n)=>(t.has(n)||t.set(n,cv()),t.get(n))})}let Wv=0,Hv=0;function Uv(t){var e,n;return"list"===(null===(e=t.parent)||void 0===e?void 0:e.type)?Dv:t.name||`${(null===(n=t.props)||void 0===n?void 0:n.type)||"input"}_${++Wv}`}function qv(t){return"group"===t.type?av(t.value&&"object"==typeof t.value&&!Array.isArray(t.value)?t.value:{}):"list"===t.type?av(Array.isArray(t.value)?t.value:[]):null===t.value?"":t.value}function Gv(t,e,n,i=!0){return e._value=function(t,e){switch(t.type){case"input":break;case"group":(!e||"object"!=typeof e)&&fv(107,[t,e]);break;case"list":Array.isArray(e)||fv(108,[t,e])}return e}(t,t.hook.input.dispatch(n)),t.emit("input",e._value),e.isSettled&&t.disturb(),i?(e._tmo&&clearTimeout(e._tmo),e._tmo=setTimeout(Xv,t.props.delay,t,e)):Xv(t,e),e.settled}function Xv(t,e,n=!0,i=!0){e._value=e.value=t.hook.commit.dispatch(e._value),"input"!==t.type&&i&&t.hydrate(),t.emit("commit",e.value),n&&t.calm()}function Yv(t,{name:e,value:n,from:i}){if(!Object.isFrozen(t._value)){if(function(t){return"list"===t.type&&Array.isArray(t._value)}(t)){const r=n===$v?[]:n===Rv&&"number"==typeof i?t._value.splice(i,1):[n];return void t._value.splice(e,n===Rv||i===Iv?0:1,...r)}n!==$v?t._value[e]=n:delete t._value[e]}}function Kv(t,e,n,i=!0,r=!0){return Array.isArray(n)||n instanceof Set?(n.forEach((n=>Kv(t,e,n))),t):(e.plugins.has(n)||(r&&"function"==typeof n.library&&n.library(t),i&&!1!==n(t)&&(e.plugins.add(n),t.children.forEach((t=>t.use(n))))),t)}function Zv(t,e){const n=String(e).match(/^(find)\((.*)\)$/);if(n){const[,e,i]=n,r=i.split(",").map((t=>t.trim()));return"find"===e?t.find(r[0],r[1]):void 0}}function Jv(t={},e){let n;return new Proxy(t,{get(...i){const r=i[1];if("_t"===r)return t;const o=Reflect.get(...i);if(void 0!==o)return o;if(e){const t=e.config[r];if(void 0!==t)return t}if(t.rootConfig&&"string"==typeof r){const e=t.rootConfig[r];if(void 0!==e)return e}return"delay"===r&&"input"===(null==n?void 0:n.type)?20:jv[r]},set(...e){const i=e[1],r=e[2];if("_n"===i)return n=r,t.rootConfig&&t.rootConfig._add(n),!0;if("_rmn"===i)return t.rootConfig&&t.rootConfig._rm(n),n=void 0,!0;if(!Gm(t[i],r,!1)){const t=Reflect.set(...e);return n&&(n.emit(`config:${i}`,r,!1),Pv(n,i,r),n.walk((t=>Pv(t,i,r)),!0)),t}return!0}})}function Qv(t,e,n,i){const r=`${t.name}-set`,o=t.hook.setErrors.dispatch({localErrors:n,childErrors:i});return function(t,...e){const n=`${t.name}-set`,i=t=>gv({key:lv(t),type:"error",value:t,meta:{source:n,autoClear:!0}});return e.filter((t=>!!t)).map((t=>{if("string"==typeof t&&(t=[t]),Array.isArray(t))return t.map((t=>i(t)));{const e={};for(const n in t)Array.isArray(t[n])?e[n]=t[n].map((t=>i(t))):e[n]=[i(t[n])];return e}}))}(t,o.localErrors,o.childErrors).forEach((e=>{t.store.apply(e,(t=>t.meta.source===r))})),t}function ty(t){const e={initial:"object"==typeof t?ov(t):t};let n,i=!0;return new Proxy(e,{get(...t){const[i,r]=t;return qm(e,r)?Reflect.get(...t):n&&"string"==typeof r&&void 0!==n.config[r]?n.config[r]:void 0},set(t,r,o,s){if("_n"===r)return n=o,!0;if("_emit"===r)return i=o,!0;const{prop:a,value:l}=n.hook.prop.dispatch({prop:r,value:o});if(!Gm(e[a],l,!1)||"object"==typeof l){const e=Reflect.set(t,a,l,s);return i&&(n.emit("prop",{prop:a,value:l}),"string"==typeof a&&n.emit(`prop:${a}`,l)),e}return!0}})}function ey(t){const e=t||{},n=function(t){const e=qv(t),n=Jv(t.config||{},t.parent);return{_d:0,_e:uv(),_resolve:!1,_tmo:!1,_value:e,children:Um(t.children||[]),config:n,hook:Vv(),isCreated:!1,isSettled:!0,ledger:xv(),name:Uv(t),parent:t.parent||null,plugins:new Set,props:ty(e),settled:Promise.resolve(e),store:vv(!0),traps:new Map(Object.entries(Fv)),type:t.type||"input",value:e}}(e),i=new Proxy(n,{get(...t){const[,e]=t;if("__FKNode__"===e)return!0;const r=n.traps.get(e);return r&&r.get?r.get(i,n):Reflect.get(...t)},set(...t){const[,e,r]=t,o=n.traps.get(e);return o&&o.set?o.set(i,n,e,r):Reflect.set(...t)}});return function(t,e){var n;if(t.ledger.init(t.store._n=t.props._n=t.config._n=t),t.props._emit=!1,e.props&&Object.assign(t.props,e.props),t.props._emit=!0,function(t,e){if(t.props.definition)return t.define(t.props.definition);for(const n of e){if(t.props.definition)return;"function"==typeof n.library&&n.library(t)}}(t,new Set([...e.plugins||[],...t.parent?t.parent.plugins:[]])),e.plugins)for(const n of e.plugins)Kv(t,t._c,n,!0,!1);return function(t){qm(t.props,"id")||(t.props.id="input_"+Hv++)}(t),t.each((e=>t.add(e))),t.parent&&t.parent.add(t,e.index),"input"===t.type&&t.children.length&&fv(100,t),Gv(t,t._c,t._value,!1),t.store.release(),!(null===(n=e.props)||void 0===n)&&n.id&&function(t){t.props.id&&(Cv.set(t.props.id,t),Av.set(t,t.props.id),Ov(t,{payload:t,name:t.props.id,bubble:!1,origin:t}))}(t),t.emit("created",t),t.isCreated=!0,t}(i,e)}function ny(t){return"string"!=typeof t&&qm(t,"$el")}function iy(t){return"string"!=typeof t&&qm(t,"$cmp")}function ry(t){return!(!t||"string"==typeof t)&&qm(t,"if")&&qm(t,"then")}function oy(t){let e;const n=new Set,i=function(t,e){return"function"==typeof t?t(e):t},r=[{"&&":(t,e,n)=>i(t,n)&&i(e,n),"||":(t,e,n)=>i(t,n)||i(e,n)},{"===":(t,e,n)=>i(t,n)===i(e,n),"!==":(t,e,n)=>i(t,n)!==i(e,n),"==":(t,e,n)=>i(t,n)==i(e,n),"!=":(t,e,n)=>i(t,n)!=i(e,n),">=":(t,e,n)=>i(t,n)>=i(e,n),"<=":(t,e,n)=>i(t,n)<=i(e,n),">":(t,e,n)=>i(t,n)>i(e,n),"<":(t,e,n)=>i(t,n)<i(e,n)},{"+":(t,e,n)=>i(t,n)+i(e,n),"-":(t,e,n)=>i(t,n)-i(e,n)},{"*":(t,e,n)=>i(t,n)*i(e,n),"/":(t,e,n)=>i(t,n)/i(e,n),"%":(t,e,n)=>i(t,n)%i(e,n)}],o=r.reduce(((t,e)=>t.concat(Object.keys(e))),[]),s=new Set(o.map((t=>t.charAt(0))));function a(t,e,n,i){const r=t.filter((t=>t.startsWith(e)));return!!r.length&&r.find((t=>i.length>=n+t.length&&i.substring(n,n+t.length)===t&&t))}function l(t,e,n=1){let i=n?e.substring(t+1).trim():e.substring(0,t).trim();if(!i.length)return-1;if(!n){const t=i.split("").reverse(),e=t.findIndex((t=>s.has(t)));i=t.slice(e).join("")}const o=i[0];return r.findIndex((t=>!!a(Object.keys(t),o,0,i)))}function c(t,e){let n="";const i=e.length;let r=0;for(let s=t;s<i;s++){const t=e.charAt(s);if("("===t)r++;else if(")"===t)r--;else if(0===r&&" "===t)continue;if(0===r&&a(o,t,s,e))return[n,s-1];n+=t}return[n,e.length-1]}function u(t,e=0){const n=r[e],i=t.length,o=Object.keys(n);let s,u=0,d=!1,p=null,f="",g=null,m="",v="",y="",b="",_=0;const x=(t,e)=>{t?y+=e:f+=e};for(let r=0;r<i;r++)if(m=v,v=t.charAt(r),"'"!==v&&'"'!==v||"\\"===m||!(0===u&&!d||u&&!b))if(d&&(v!==d||"\\"===m)||b&&(v!==b||"\\"===m))x(u,v);else if(d!==v)if(b!==v){if(" "!==v)if("("===v)0===u?_=r:y+=v,u++;else if(")"===v)if(u--,0===u){const n="string"==typeof f&&f.startsWith("$")?f:void 0,i=n&&"."===t.charAt(r+1);let o="";i&&([o,r]=c(r+2,t));const s=p?e:l(_,t,0),a=l(r,t);-1===s&&-1===a?f=h(y,-1,n,o):p&&(s>=a||-1===a)&&e===s?(g=p.bind(null,h(y,-1,n,o)),p=null,f=""):a>s&&e===a?f=h(y,-1,n,o):f+=`(${y})${i?`.${o}`:""}`,y=""}else y+=v;else{if(0===u&&(s=a(o,v,r,t))){0===r&&fv(103,[s,t]),r+=s.length-1,r===t.length-1&&fv(104,[s,t]),p?f&&(g=p.bind(null,h(f,e)),p=n[s].bind(null,g),f=""):g?(p=n[s].bind(null,h(g,e)),g=null):(p=n[s].bind(null,h(f,e)),f="");continue}x(u,v)}}else b=!1,x(u,v);else d=!1,x(u,v);else u?b=v:d=v,x(u,v);return f&&p&&(p=p.bind(null,h(f,e))),p=!p&&g?g:p,!p&&f&&(p=(t,e)=>"function"==typeof t?t(e):t,p=p.bind(null,h(f,e))),!p&&!f&&fv(105,t),p}function h(t,i,o,s){if(o){const n=h(o,r.length);let i,a=!!s&&oy(`$${s}`);if("function"==typeof n){const r=function(t){const e=[];let n="",i=0,r="",o="";for(let s=0;s<t.length;s++){const a=t.charAt(s);a===r&&"\\"!==o?r="":"'"!==a&&'"'!==a||r||"\\"===o?"("!==a||r?")"===a&&!r&&i--:i++:r=a,","!==a||r||0!==i?(" "!==a||r)&&(n+=a):(e.push(n),n=""),o=a}return n&&e.push(n),e}(String(t)).map((t=>h(t,-1)));return t=>{const l=n(t);return"function"!=typeof l?(pv(150,o),l):(i=l(...r.map((e=>"function"==typeof e?e(t):e))),a&&(a=a.provide((t=>{const n=e(t);return t.reduce(((t,e)=>{if(e===s||(null==s?void 0:s.startsWith(`${e}(`))){const n=function(t,e){if(!t||"object"!=typeof t)return null;const n=e.split(".");let i=t;for(const t in n){const e=n[t];if(qm(i,e)&&(i=i[e]),+t==n.length-1)return i;if(!i||"object"!=typeof i)return null}return null}(i,e);t[e]=()=>n}else t[e]=n[e];return t}),{})}))),a?a():i)}}}else if("string"==typeof t){if("true"===t)return!0;if("false"===t)return!1;if("undefined"===t)return;if(function(t){if('"'!==t[0]&&"'"!==t[0]||t[0]!==t[t.length-1])return!1;const e=t[0];for(let n=1;n<t.length;n++)if(t[n]===e&&(1===n||"\\"!==t[n-1])&&n!==t.length-1)return!1;return!0}(t))return function(t){if(!t.length)return"";let e="",n="";for(let i=0;i<t.length;i++){const r=t.charAt(i);("\\"!==r||"\\"===n)&&(e+=r),n=r}return e}(t.substring(1,t.length-1));if(!isNaN(+t))return Number(t);if(i<r.length-1)return u(t,i+1);if(t.startsWith("$")){const e=t.substring(1);return n.add(e),function(t){return e in t?t[e]():void 0}}return t}return t}const d=u(t.startsWith("$:")?t.substring(2):t),p=Array.from(n);return Object.assign(d,{provide:function t(n){return e=n,Object.assign(d.bind(null,n(p)),{provide:t})}})}function sy(t,e,n){return n?"string"==typeof n?n.split(" ").reduce(((t,e)=>Object.assign(t,{[e]:!0})),{}):"function"==typeof n?sy(t,e,n(e,t)):n:{}}function ay(t,e,n){const i=Ev(t);i?i.setErrors(e,n):pv(651,t)}function ly(t,e=!0){const n=Ev(t);n?n.clearErrors(e):pv(652,t)}const cy="1.0.0-beta.10",uy=fb("outer",(()=>({$el:"div",attrs:{key:"$id","data-family":"$family || undefined","data-type":"$type","data-multiple":'$attrs.multiple || ($type != "select" && $options != undefined) || undefined',"data-disabled":"$disabled || undefined","data-complete":"$state.complete || undefined","data-invalid":"$state.valid === false && $state.validationVisible || undefined","data-errors":"$state.errors || undefined","data-submitted":"$state.submitted || undefined","data-prefix-icon":"$_rawPrefixIcon !== undefined || undefined","data-suffix-icon":"$_rawSuffixIcon !== undefined || undefined","data-prefix-icon-click":"$onPrefixIconClick !== undefined || undefined","data-suffix-icon-click":"$onSuffixIconClick !== undefined || undefined"}})),!0),hy=fb("inner","div"),dy=fb("wrapper","div"),py=fb("label",(()=>({$el:"label",if:"$label",attrs:{for:"$id"}}))),fy=fb("messages",(()=>({$el:"ul",if:"$fns.length($messages)"}))),gy=fb("message",(()=>({$el:"li",for:["message","$messages"],attrs:{key:"$message.key",id:"$id + '-' + $message.key","data-message-type":"$message.type"}}))),my=fb("prefix",null),vy=fb("suffix",null),yy=fb("help",(()=>({$el:"div",if:"$help",attrs:{id:'$: "help-" + $id'}}))),by=fb("fieldset",(()=>({$el:"fieldset",attrs:{id:"$id","aria-describedby":{if:"$help",then:'$: "help-" + $id',else:void 0}}}))),_y=fb("decorator",(()=>({$el:"span",attrs:{"aria-hidden":"true"}}))),xy=fb("input",(()=>({$el:"input",bind:"$attrs",attrs:{type:"$type",name:"$node.props.altName || $node.name",disabled:"$option.attrs.disabled || $disabled",onInput:"$handlers.toggleChecked",checked:"$fns.eq($_value, $onValue)",onBlur:"$handlers.blur",value:"$: true",id:"$id","aria-describedby":{if:"$options.length",then:{if:"$option.help",then:'$: "help-" + $option.attrs.id',else:void 0},else:{if:"$help",then:'$: "help-" + $id',else:void 0}}}}))),wy=fb("legend",(()=>({$el:"legend",if:"$label"}))),Sy=fb("option",(()=>({$el:"li",for:["option","$options"],attrs:{"data-disabled":"$option.attrs.disabled || $disabled"}}))),ky=fb("options","ul"),Cy=fb("wrapper",(()=>({$el:"label",attrs:{"data-disabled":{if:"$options.length",then:void 0,else:"$disabled || undefined"}}}))),Ay=fb("optionHelp",(()=>({$el:"div",if:"$option.help",attrs:{id:'$: "help-" + $option.attrs.id'}}))),Oy=fb("label","span"),Ty=fb("input",(()=>({$el:"button",bind:"$attrs",attrs:{type:"$type",disabled:"$disabled",name:"$node.name",id:"$id"}}))),Ey=fb("default",null),Py=fb("input",(()=>({$el:"input",bind:"$attrs",attrs:{type:"file",disabled:"$disabled",name:"$node.name",onChange:"$handlers.files",onBlur:"$handlers.blur",id:"$id","aria-describedby":"$describedBy"}}))),My=fb("fileItem",(()=>({$el:"li",for:["file","$value"]}))),Ly=fb("fileList",(()=>({$el:"ul",if:"$value.length",attrs:{"data-has-multiple":{if:"$value.length > 1",then:"true"}}}))),jy=fb("fileName",(()=>({$el:"span",attrs:{class:"$classes.fileName"}}))),Dy=fb("fileRemove",(()=>({$el:"button",attrs:{onClick:"$handlers.resetFiles"}}))),$y=fb("noFiles",(()=>({$el:"span",if:"$value.length == 0"}))),Ry=fb("form",(()=>({$el:"form",bind:"$attrs",attrs:{id:"$id",name:"$node.name",onSubmit:"$handlers.submit","data-loading":"$state.loading || undefined"}})),!0),Iy=fb("actions",(()=>({$el:"div",if:"$actions"}))),Ny=fb("submit",(()=>({$cmp:"FormKit",bind:"$submitAttrs",props:{ignore:!0,type:"submit",disabled:"$disabled",label:"$submitLabel"}}))),By=fb("input",(()=>({$el:"input",bind:"$attrs",attrs:{type:"$type",disabled:"$disabled",name:"$node.name",onInput:"$handlers.DOMInput",onBlur:"$handlers.blur",value:"$_value",id:"$id","aria-describedby":"$describedBy"}}))),Fy=fb("wrapper",null,!0),zy=fb("input",(()=>({$el:"select",bind:"$attrs",attrs:{id:"$id","data-placeholder":{if:"$placeholder",then:{if:"$value",then:void 0,else:"true"}},disabled:"$disabled",class:"$classes.input",name:"$node.name",onChange:"$handlers.onChange",onInput:"$handlers.selectInput",onBlur:"$handlers.blur","aria-describedby":"$describedBy"}}))),Vy=fb("option",(()=>({$el:"option",for:["option","$options"],bind:"$option.attrs",attrs:{class:"$classes.option",value:"$option.value",selected:"$fns.isSelected($option.value)"}}))),Wy=fb("input",(()=>({$el:"textarea",bind:"$attrs",attrs:{disabled:"$disabled",name:"$node.name",onInput:"$handlers.DOMInput",onBlur:"$handlers.blur",value:"$_value",id:"$id","aria-describedby":"$describedBy"},children:"$initialValue"}))),Hy=(t,e)=>fb(`${t}Icon`,(()=>{const n=`_raw${t.charAt(0).toUpperCase()}${t.slice(1)}Icon`;return{if:`$${t}Icon && $${n}`,$el:`${e||"span"}`,attrs:{class:`$classes.${t}Icon + " formkit-icon"`,innerHTML:`$${n}`,onClick:`$handlers.iconClick(${t})`,for:{if:`${"label"===e}`,then:"$id"}}}}))();function Uy(t){return function(e,n){return"options"===e.prop&&Array.isArray(e.value)&&(e.value=e.value.map((e=>{var n;return null!==(n=e.attrs)&&void 0!==n&&n.id?e:Jm(e,{attrs:{id:`${t.name}-option-${iv(String(e.value))}`}})})),"checkbox"===t.props.type&&!Array.isArray(t.value)&&(t.isCreated?t.input([],!1):t.on("created",(()=>{Array.isArray(t.value)||t.input([],!1)})))),n(e)}}function qy(t,e){if(Array.isArray(t))for(const n of t)if(e==n.value)return"__original"in n?n.__original:n.value;return e}function Gy(t,e){return t==e||!(!Zm(t)||!Zm(e))&&Gm(t,e)}function Xy(t){t.hook.prop(((t,e)=>{if("options"===t.prop){const e=function(t){let e=1;return Array.isArray(t)?t.map((t=>"string"==typeof t||"number"==typeof t?{label:t,value:t}:("object"==typeof t&&"value"in t&&"string"!=typeof t.value&&Object.assign(t,{value:"__mask_"+e++,__original:t.value}),t))):Object.keys(t).map((e=>({label:t[e],value:e})))}(t.value);t.value=e}return e(t)}))}function Yy(t,e){const n=e.target;if(n instanceof HTMLInputElement){const e=Array.isArray(t.props.options)?qy(t.props.options,n.value):n.value;Array.isArray(t.props.options)&&t.props.options.length?Array.isArray(t._value)?t._value.some((t=>Gy(e,t)))?t.input(t._value.filter((t=>!Gy(e,t)))):t.input([...t._value,e]):t.input([e]):n.checked?t.input(t.props.onValue):t.input(t.props.offValue)}}function Ky(t,e){var n,i;return null===(n=t.context)||void 0===n||n.value,null===(i=t.context)||void 0===i||i._value,!!Array.isArray(t._value)&&t._value.some((n=>Gy(qy(t.props.options,e),n)))}function Zy(t){t.on("created",(()=>{t.props.disabled=sv(t.props.disabled)})),t.hook.prop((({prop:t,value:e},n)=>n({prop:t,value:e="disabled"===t?sv(e):e}))),t.on("prop:disabled",(({payload:e})=>{t.config.disabled=sv(e)})),t.on("created",(()=>{t.config.disabled=sv(t.props.disabled)}))}function Jy(t,e){return n=>{n.store.set(gv({key:t,type:"ui",value:e||t,meta:{localize:!0,i18nArgs:[n]}}))}}const Qy=typeof window<"u";function tb(t){t.target instanceof HTMLElement&&t.target.hasAttribute("data-file-hover")&&t.target.removeAttribute("data-file-hover")}function eb(t,e){e.target instanceof HTMLInputElement?"dragover"===t&&e.target.setAttribute("data-file-hover","true"):e.preventDefault(),"drop"===t&&tb(e)}async function nb(t,e){if(e.preventDefault(),await t.settled,t.walk((t=>{t.store.set(gv({key:"submitted",value:!0,visible:!1}))})),"function"==typeof t.props.onSubmitRaw&&t.props.onSubmitRaw(e,t),t.ledger.value("blocking"))"function"==typeof t.props.onSubmitInvalid&&t.props.onSubmitInvalid(t),!1!==t.props.incompleteMessage&&t.store.set(gv({blocking:!1,key:"incomplete",meta:{localize:void 0===t.props.incompleteMessage,i18nArgs:[{node:t}],showAsMessage:!0},type:"ui",value:t.props.incompleteMessage||"Form incomplete."}));else if("function"==typeof t.props.onSubmit){const e=t.props.onSubmit(t.hook.submit.dispatch(rv(t.value)),t);if(e instanceof Promise){const n=void 0===t.props.disabled&&"live"!==t.props.submitBehavior;n&&(t.props.disabled=!0),t.store.set(gv({key:"loading",value:!0,visible:!1})),await e,n&&(t.props.disabled=!1),t.store.remove("loading")}}else e.target instanceof HTMLFormElement&&e.target.submit()}function ib(t,e){e.target instanceof HTMLInputElement&&t.input(qy(t.props.options,e.target.value))}function rb(t,e){var n,i;return null===(n=t.context)||void 0===n||n.value,null===(i=t.context)||void 0===i||i._value,Gy(qy(t.props.options,e),t._value)}function ob(t){t.on("created",(()=>{var e,n;Array.isArray(t.props.options)||pv(350,t),!(null===(e=t.context)||void 0===e)&&e.handlers&&(t.context.handlers.toggleChecked=ib.bind(null,t)),null!==(n=t.context)&&void 0!==n&&n.fns&&(t.context.fns.isChecked=rb.bind(null,t))})),t.hook.prop(Uy(t))}function sb(t,e){t.context&&t.context.value;const n=qy(t.props.options,e);return Array.isArray(t._value)?t._value.some((t=>Gy(t,n))):void 0===t.value&&!e||Gy(n,t._value)}async function ab(t,e){var n;"function"==typeof(null===(n=t.props.attrs)||void 0===n?void 0:n.onChange)&&(await new Promise((t=>setTimeout(t,0))),await t.settled,t.props.attrs.onChange(e))}function lb(t,e){const n=e.target,i=n.hasAttribute("multiple")?Array.from(n.selectedOptions).map((e=>qy(t.props.options,e.value))):qy(t.props.options,n.value);t.input(i)}function cb(t,e){return t.some((t=>t.attrs&&t.attrs["data-is-placeholder"]))?t:[{label:e,value:"",attrs:{hidden:!0,disabled:!0,"data-is-placeholder":"true"}},...t]}function ub(t,e){return n=>{void 0===n.props[`${t}Icon`]&&(n.props[`${t}Icon`]=`default:${e}`)}}function hb(t){return"object"==typeof t&&("$el"in t||"$cmp"in t||"$formkit"in t)}function db(t){return!!(ry(t)&&t.if&&t.if.startsWith("$slots.")&&"string"==typeof t.then&&t.then.startsWith("$slots.")&&"else"in t)}function pb(t,e={}){return"string"==typeof t?hb(e)||"string"==typeof e?e:t:Array.isArray(t)?hb(e)?e:t:Jm(t,e)}function fb(t,e,n=!1){return(...i)=>{const r=n=>{const r=e&&"string"!=typeof e?e():{$el:e};return(ny(r)||iy(r))&&(r.meta||(r.meta={section:t}),i.length&&!r.children&&(r.children=[...i.map((t=>"string"==typeof t?t:t(n)))]),ny(r)&&(r.attrs={class:`$classes.${t}`,...r.attrs||{}})),{if:`$slots.${t}`,then:`$slots.${t}`,else:t in n?pb(r,n[t]):r}};return n?gb(r):r}}function gb(t){return e=>[t(e)]}function mb(t,e,n){return i=>{const r=e(i);return n?{if:t,then:r,else:n(i)}:(db(r)?Object.assign(r.else,{if:t}):hb(r)&&Object.assign(r,{if:t}),r)}}function vb(t,e){return n=>{const i=t({});return db(i)?(Array.isArray(i.else)||(i.else=pb(pb(i.else,e),n)),i):pb(pb(i,e),n)}}const yb={schema:uy(fy(gy("$message.value")),dy(Ty(Hy("prefix"),my(),Ey("$label || $ui.submit.value"),vy(),Hy("suffix"))),yy("$help")),type:"input",family:"button",props:[],features:[Jy("submit"),function(t){void 0===t.props.ignore&&(t.props.ignore=!0,t.parent=null)}]},bb={schema:uy(mb("$options == undefined",Cy(hy(my(),xy(),_y(Hy("decorator")),vy()),mb("$label",Oy("$label"))),by(wy("$label"),yy("$help"),ky(Sy(Cy(hy(my(),vb(xy(),{bind:"$option.attrs",attrs:{id:"$option.attrs.id",value:"$option.value",checked:"$fns.isChecked($option.value)"}}),_y(Hy("decorator")),vy()),mb("$option.label",Oy("$option.label"))),Ay("$option.help"))))),mb("$options == undefined && $help",yy("$help")),fy(gy("$message.value"))),type:"input",family:"box",props:["options","onValue","offValue"],features:[Xy,function(t){t.on("created",(()=>{var e,n;!(null===(e=t.context)||void 0===e)&&e.handlers&&(t.context.handlers.toggleChecked=Yy.bind(null,t)),!(null===(n=t.context)||void 0===n)&&n.fns&&(t.context.fns.isChecked=Ky.bind(null,t)),qm(t.props,"onValue")||(t.props.onValue=!0),qm(t.props,"offValue")||(t.props.offValue=!1)})),t.hook.prop(Uy(t))},ub("decorator","checkboxDecorator")]},_b={schema:uy(dy(py("$label"),hy(Hy("prefix","label"),my(),Py(),Ly(My(Hy("fileItem"),jy("$file.name"),mb("$value.length === 1",Dy(Hy("fileRemove"),"$ui.remove.value")))),mb("$value.length > 1",Dy("$ui.removeAll.value")),$y(Hy("noFiles"),"$ui.noFiles.value"),vy(),Hy("suffix"))),yy("$help"),fy(gy("$message.value"))),type:"input",family:"text",props:[],features:[function(t){Jy("noFiles","Select file")(t),Jy("removeAll","Remove all")(t),Jy("remove")(t),Qy&&(window._FormKit_File_Drop||(window.addEventListener("dragover",eb.bind(null,"dragover")),window.addEventListener("drop",eb.bind(null,"drop")),window.addEventListener("dragleave",tb),window._FormKit_File_Drop=!0)),t.hook.input(((t,e)=>e(Array.isArray(t)?t:[]))),t.on("created",(()=>{Array.isArray(t.value)||t.input([],!1),t.context&&(t.context.handlers.resetFiles=e=>{if(e.preventDefault(),t.input([]),t.props.id&&Qy){const e=document.getElementById(t.props.id);e&&(e.value="")}},t.context.handlers.files=e=>{var n,i;const r=[];if(e.target instanceof HTMLInputElement&&e.target.files){for(let t=0;t<e.target.files.length;t++){let n;(n=e.target.files.item(t))&&r.push({name:n.name,file:n})}t.input(r)}t.context&&(t.context.files=r),"function"==typeof(null===(n=t.props.attrs)||void 0===n?void 0:n.onChange)&&(null===(i=t.props.attrs)||void 0===i||i.onChange(e))})}))},ub("fileItem","fileItem"),ub("fileRemove","fileRemove"),ub("noFiles","noFiles")]},xb={schema:Ry("$slots.default",fy(gy("$message.value")),Iy(Ny())),type:"group",props:["actions","submit","submitLabel","submitAttrs","submitBehavior","incompleteMessage"],features:[function(t){t.props.isForm=!0,t.on("created",(()=>{var e;!(null===(e=t.context)||void 0===e)&&e.handlers&&(t.context.handlers.submit=nb.bind(null,t)),qm(t.props,"actions")||(t.props.actions=!0)})),t.on("settled:blocking",(()=>t.store.remove("incomplete")))},Zy]},wb={schema:Fy("$slots.default"),type:"group",props:[],features:[Zy]},Sb={schema:function(t){return gb(t)}(By()),type:"input",props:[],features:[]},kb={schema:Fy("$slots.default"),type:"list",props:[],features:[Zy]},Cb={schema:uy(mb("$options == undefined",Cy(hy(my(),xy(),_y(Hy("decorator")),vy()),mb("$label",Oy("$label"))),by(wy("$label"),yy("$help"),ky(Sy(Cy(hy(my(),vb(xy(),{bind:"$option.attrs",attrs:{id:"$option.attrs.id",value:"$option.value",checked:"$fns.isChecked($option.value)"}}),_y(Hy("decorator")),vy()),mb("$option.label",Oy("$option.label"))),Ay("$option.help"))))),mb("$options == undefined && $help",yy("$help")),fy(gy("$message.value"))),type:"input",family:"box",props:["options","onValue","offValue"],features:[Xy,ob,ub("decorator","radioDecorator")]},Ab={schema:uy(dy(py("$label"),hy(Hy("prefix"),my(),zy(mb("$slots.default",(()=>"$slots.default"),mb("$slots.option",(()=>({$el:null,if:"$options.length",for:["option","$options"],children:"$slots.option"})),Vy("$option.label")))),mb("$attrs.multiple !== undefined",(()=>""),Hy("select")),vy(),Hy("suffix"))),yy("$help"),fy(gy("$message.value"))),type:"input",props:["options","placeholder"],features:[Xy,function(t){t.on("created",(()=>{var e,n,i;const r=sv(null===(e=t.props.attrs)||void 0===e?void 0:e.multiple);!r&&t.props.placeholder&&Array.isArray(t.props.options)&&(t.hook.prop((({prop:e,value:n},i)=>("options"===e&&(n=cb(n,t.props.placeholder)),i({prop:e,value:n})))),t.props.options=cb(t.props.options,t.props.placeholder)),r?void 0===t.value&&t.input([],!1):t.context&&!t.context.options&&(t.props.attrs=Object.assign({},t.props.attrs,{value:t._value}),t.on("input",(({payload:e})=>{t.props.attrs=Object.assign({},t.props.attrs,{value:e})}))),!(null===(n=t.context)||void 0===n)&&n.handlers&&(t.context.handlers.selectInput=lb.bind(null,t),t.context.handlers.onChange=ab.bind(null,t)),null!==(i=t.context)&&void 0!==i&&i.fns&&(t.context.fns.isSelected=sb.bind(null,t))})),t.hook.input(((e,n)=>{var i,r,o;return!t.props.placeholder&&void 0===e&&Array.isArray(null===(i=t.props)||void 0===i?void 0:i.options)&&t.props.options.length&&!sv(null===(o=null===(r=t.props)||void 0===r?void 0:r.attrs)||void 0===o?void 0:o.multiple)&&(e="__original"in t.props.options[0]?t.props.options[0].__original:t.props.options[0].value),n(e)}))},ub("select","select")]},Ob={schema:uy(dy(py("$label"),hy(Hy("prefix","label"),my(),Wy(),vy(),Hy("suffix"))),yy("$help"),fy(gy("$message.value"))),type:"input",props:[],features:[function(t){t.on("created",(()=>{t.context&&(t.context.initialValue=t.value||"")}))}]},Tb={schema:uy(dy(py("$label"),hy(Hy("prefix","label"),my(),By(),vy(),Hy("suffix"))),yy("$help"),fy(gy("$message.value"))),type:"input",family:"text",props:[],features:[]};var Eb=Object.freeze({__proto__:null,button:yb,submit:yb,checkbox:bb,file:_b,form:xb,group:wb,hidden:Sb,list:kb,radio:Cb,select:Ab,textarea:Ob,text:Tb,color:Tb,date:Tb,datetimeLocal:Tb,email:Tb,month:Tb,number:Tb,password:Tb,search:Tb,tel:Tb,time:Tb,url:Tb,week:Tb,range:Tb});const Pb=fb("labelWrapper","div"),{prefixIcon:Mb,...Lb}=(uy(by(wy("$label"),yy("$help"),ky(Sy(Cy(hy(my(),vb(xy(),{bind:"$option.attrs",attrs:{id:"$option.attrs.id",value:"$option.value",checked:"$fns.isChecked($option.value)"}}),_y(Hy("decorator")),vy()),Pb(mb("$option.label",Oy("$option.label")),Ay("$option.help")))))),fy(gy("$message.value"))),ub("decorator","radioDecorator"),Im),jb=xd(Zn({components:{InputField:Wm},props:{...Lb,placeholder:{type:String,default:"Search..."}}}),[["render",function(t,e,n,i,r,o){const s=wi("InputField");return Hr(),Yr(s,co(t.$props,{"prefix-icon":"magnifying-glass","input-class":t.$style.input,type:"search"}),Ti({_:2},[Oi(t.$slots,((e,n)=>({name:n,fn:Ln((e=>[Ei(t.$slots,n,X(no(e)))]))})))]),1040,["input-class"])}],["__cssModules",{$style:{input:"_input_1ijgr_1"}}]]),Db=/(_confirm(?:ed)?)$/,$b=function({value:t},e="default"){return"trim"===e&&"string"==typeof t?!Xm(t.trim()):!Xm(t)};$b.skipEmpty=!1;const Rb=Object.freeze(Object.defineProperty({__proto__:null,accepted:function({value:t}){return["yes","on","1",1,!0,"true"].includes(t)},alpha:function({value:t},e="default"){const n={default:/^[a-zA-ZÀ-ÖØ-öø-ÿĄąĆćČčĎďĘęĚ죳ŃńŇňŘřŚśŠšŤťŮůŹźŻŽžż]+$/,latin:/^[a-zA-Z]+$/};return n[qm(n,e)?e:"default"].test(String(t))},alpha_spaces:function({value:t},e="default"){const n={default:/^[a-zA-ZÀ-ÖØ-öø-ÿĄąĆćČčĎďĘęĚ죳ŃńŇňŘřŚśŠšŤťŮůŹźŻŽžż ]+$/,latin:/^[a-zA-Z ]+$/};return n[qm(n,e)?e:"default"].test(String(t))},alphanumeric:function({value:t},e="default"){const n={default:/^[a-zA-Z0-9À-ÖØ-öø-ÿĄąĆćĘꣳŃńŚśŹźŻż]+$/,latin:/^[a-zA-Z0-9]+$/};return n[qm(n,e)?e:"default"].test(String(t))},between:function({value:t},e,n){if(!isNaN(t)&&!isNaN(e)&&!isNaN(n)){const i=1*t;e=Number(e),n=Number(n);const[r,o]=e<=n?[e,n]:[n,e];return i>=1*r&&i<=1*o}return!1},confirm:function(t,e,n="loose"){var i;e||(e=Db.test(t.name)?t.name.replace(Db,""):`${t.name}_confirm`);const r=null===(i=t.at(e))||void 0===i?void 0:i.value;return"strict"===n?t.value===r:t.value==r},date_after:function({value:t},e=!1){const n=Date.parse(e||new Date),i=Date.parse(String(t));return!isNaN(i)&&i>n},date_before:function({value:t},e=!1){const n=Date.parse(e||new Date),i=Date.parse(String(t));return!isNaN(i)&&i<n},date_between:function({value:t},e,n){e=e instanceof Date?e.getTime():Date.parse(e),n=n instanceof Date?n.getTime():Date.parse(n);const i=t instanceof Date?t.getTime():Date.parse(String(t));if(e&&!n)n=e,e=Date.now();else if(!e||!i)return!1;return i>=e&&i<=n},date_format:function({value:t},e){return e&&"string"==typeof e?function(t){const e=`^${function(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(t)}$`,n={MM:"(0[1-9]|1[012])",M:"([1-9]|1[012])",DD:"([012][0-9]|3[01])",D:"([012]?[0-9]|3[01])",YYYY:"\\d{4}",YY:"\\d{2}"},i=Object.keys(n);return new RegExp(i.reduce(((t,e)=>t.replace(e,n[e])),e))}(e).test(String(t)):!isNaN(Date.parse(String(t)))},email:function({value:t}){return/^(([^<>()\[\]\.,;:\s@\"]+(\.[^<>()\[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i.test(String(t))},ends_with:function({value:t},...e){return"string"==typeof t&&e.length?e.some((e=>t.endsWith(e))):"string"==typeof t&&0===e.length},is:function({value:t},...e){return e.some((e=>"object"==typeof e?Gm(e,t):e==t))},length:function({value:t},e=0,n=1/0){const i=(e=parseInt(e))<=(n=isNaN(parseInt(n))?1/0:parseInt(n))?e:n,r=n>=e?n:e;if("string"==typeof t||Array.isArray(t))return t.length>=i&&t.length<=r;if(t&&"object"==typeof t){const e=Object.keys(t).length;return e>=i&&e<=r}return!1},matches:function({value:t},...e){return e.some((e=>("string"==typeof e&&"/"===e.substr(0,1)&&"/"===e.substr(-1)&&(e=new RegExp(e.substr(1,e.length-2))),e instanceof RegExp?e.test(String(t)):e===t)))},max:function({value:t},e=10){return Array.isArray(t)?t.length<=e:Number(t)<=Number(e)},min:function({value:t},e=1){return Array.isArray(t)?t.length>=e:Number(t)>=Number(e)},not:function({value:t},...e){return!e.some((e=>"object"==typeof e?Gm(e,t):e===t))},number:function({value:t}){return!isNaN(t)},required:$b,starts_with:function({value:t},...e){return"string"==typeof t&&e.length?e.some((e=>t.startsWith(e))):"string"==typeof t&&0===e.length},url:function({value:t},...e){try{const n=e.length?e:["http:","https:"],i=new URL(String(t));return n.includes(i.protocol)}catch{return!1}}},Symbol.toStringTag,{value:"Module"})),Ib=new WeakSet;function Nb(t,e){const n=e||Object.assign(new Map,{active:!1}),i=new Map,r=function(e){var i;n.active&&(n.has(t)||n.set(t,new Set),null===(i=n.get(t))||void 0===i||i.add(e))},o=function(t,e){return Nv(t)?Nb(t,n):("value"===e&&r("commit"),"props"===e?function(t){return new Proxy(t,{get:(...t)=>("string"==typeof t[1]&&r(`prop:${t[1]}`),Reflect.get(...t))})}(t):"ledger"===e?function(t){return new Proxy(t,{get:(...e)=>"value"===e[1]?e=>(r(`count:${e}`),t.value(e)):Reflect.get(...e)})}(t):t)},{proxy:s,revoke:a}=Proxy.revocable(t,{get(...t){switch(t[1]){case"deps":return n;case"watch":return t=>zb(s,t);case"observe":return()=>{const t=new Map(n);return n.clear(),n.active=!0,t};case"stopObserve":return()=>{const t=new Map(n);return n.active=!1,t};case"receipts":return i;case"kill":return()=>{Fb(i),Ib.add(t[2]),a()}}const e=Reflect.get(...t);return"function"==typeof e?(...n)=>{const i=e(...n);return o(i,t[1])}:o(e,t[1])}});return s}function Bb(t,[e,n],i){e.forEach(((e,n)=>{e.forEach((e=>{t.receipts.has(n)||t.receipts.set(n,{}),t.receipts.set(n,Object.assign(t.receipts.get(n),{[e]:n.on(e,i)}))}))})),n.forEach(((e,n)=>{e.forEach((e=>{if(t.receipts.has(n)){const i=t.receipts.get(n);i&&qm(i,e)&&(n.off(i[e]),delete i[e],t.receipts.set(n,i))}}))}))}function Fb(t){t.forEach(((t,e)=>{for(const n in t)e.off(t[n])}))}async function zb(t,e){const n=new Map(t.deps);t.observe();const i=e(t);i instanceof Promise&&await i;const r=t.stopObserve();Bb(t,Vb(n,r),(()=>zb(t,e)))}function Vb(t,e){const n=new Map,i=new Map;return e.forEach(((e,i)=>{if(t.has(i)){const r=new Set,o=t.get(i);e.forEach((t=>!(null!=o&&o.has(t))&&r.add(t))),n.set(i,r)}else n.set(i,e)})),t.forEach(((t,n)=>{if(e.has(n)){const r=new Set,o=e.get(n);t.forEach((t=>!(null!=o&&o.has(t))&&r.add(t))),i.set(n,r)}else i.set(n,t)})),[n,i]}const Wb=gv({type:"state",blocking:!0,visible:!1,value:!0,key:"validating"});function Hb(t,e,n){(function(t){return Ib.has(t)})(t)||(n.input=Hm(),n.isPassing=!0,t.store.filter((t=>!t.meta.removeImmediately),"validation"),e.forEach((t=>t.debounce&&clearTimeout(t.timer))),e.length&&(t.store.set(Wb),Ub(0,e,t,n,!1,(()=>{t.store.remove(Wb.key)}))))}function Ub(t,e,n,i,r,o){const s=e[t];if(!s)return o();const a=i.input;function l(l,c){i.isPassing=i.isPassing&&!!c,s.queued=!1;const u=n.stopObserve();Bb(n,Vb(s.deps,u),(()=>{s.queued=!0,i.rerun&&clearTimeout(i.rerun),i.rerun=setTimeout(Hb,0,n,e,i)})),s.deps=u,i.input===a&&(s.state=c,!1===c?function(t,e,n){const i=function(t,e){return[{node:t,name:qb(t),args:e.args}]}(t,e),r=function(t,e,n){const i=t.props.validationMessages&&qm(t.props.validationMessages,e.name)?t.props.validationMessages[e.name]:void 0;return"function"==typeof i?i(...n):i}(t,e,i),o=gv({blocking:e.blocking,key:`rule_${e.name}`,meta:{messageKey:e.name,removeImmediately:n,localize:!r,i18nArgs:i},type:"validation",value:r||"This field is not valid."});t.store.set(o)}(n,s,r||l):function(t,e){const n=`rule_${e.name}`;qm(t.store,n)&&t.store.remove(n)}(n,s),e.length>t+1?Ub(t+1,e,n,i,r||l,o):o())}s.state=null,Xm(n.value)&&s.skipEmpty||!i.isPassing&&!s.force?(Xm(n.value)&&s.skipEmpty&&i.isPassing&&(n.observe(),n.value),l(!1,null)):s.queued?function(t,e,n){t.debounce?t.timer=setTimeout((()=>{e.observe(),n(t.rule(e,...t.args))}),t.debounce):(e.observe(),n(t.rule(e,...t.args)))}(s,n,(t=>{t instanceof Promise?t.then((t=>l(!0,t))):l(!1,t)})):Ub(t+1,e,n,i,r,o)}function qb(t){return"function"==typeof t.props.validationLabel?t.props.validationLabel(t):t.props.validationLabel||t.props.label||t.props.name||String(t.name)}const Gb="(?:[\\*+?()0-9]+)",Xb="[a-zA-Z][a-zA-Z0-9_]+",Yb=new RegExp(`^(${Gb}?${Xb})(?:\\:(.*)+)?$`,"i"),Kb=new RegExp(`^(${Gb})(${Xb})$`,"i"),Zb=/([\*+?]+)?(\(\d+\))([\*+?]+)?/,Jb=/\(\d+\)/,Qb={blocking:!0,debounce:0,force:!1,skipEmpty:!0,name:""};function t_(t,e){return t?("string"==typeof t?function(t){return t.split("|").reduce(((t,e)=>{const n=function(t){const e=t.trim();if(e){const t=e.match(Yb);if(t&&"string"==typeof t[1])return[t[1].trim(),...t[2]&&"string"==typeof t[2]?t[2].split(",").map((t=>t.trim())):[]]}return!1}(e);return n&&t.push(n),t}),[])}(t):rv(t)).reduce(((t,n)=>{let i=n.shift();const r={};if("string"==typeof i){const[t,n]=function(t){const e=t.match(Kb);if(!e)return[t,{name:t}];const n={"*":{force:!0},"+":{skipEmpty:!1},"?":{blocking:!1}},[,i,r]=e,o=Jb.test(i)?i.match(Zb)||[]:[,i];return[r,[o[1],o[2],o[3]].reduce(((t,e)=>(e&&(Jb.test(e)?t.debounce=parseInt(e.substr(1,e.length-1)):e.split("").forEach((e=>qm(n,e)&&Object.assign(t,n[e])))),t)),{name:r})]}(i);qm(e,t)&&(i=e[t],Object.assign(r,n))}return"function"==typeof i&&t.push({rule:i,args:n,timer:0,state:null,queued:!0,deps:new Map,...Qb,...e_(r,i)}),t}),[]):[]}function e_(t,e){return t.name||(t.name=e.ruleName||e.name),["skipEmpty","force","debounce","blocking"].reduce(((t,n)=>(qm(e,n)&&!qm(t,n)&&Object.assign(t,{[n]:e[n]}),t)),t)}function n_(t){return t[0].toUpperCase()+t.substr(1)}function i_(t,e="or"){return t.reduce(((n,i,r)=>(n+=i,r<=t.length-2&&t.length>2&&(n+=", "),r===t.length-2&&(n+=`${2===t.length?" ":""}${e} `),n)),"")}function r_(t){const e="string"==typeof t?new Date(Date.parse(t)):t;return e instanceof Date?new Intl.DateTimeFormat(void 0,{dateStyle:"medium"}).format(e):"(unknown)"}const o_={accepted:({name:t})=>`Please accept the ${t}.`,date_after:({name:t,args:e})=>Array.isArray(e)&&e.length?`${n_(t)} must be after ${r_(e[0])}.`:`${n_(t)} must be in the future.`,alpha:({name:t})=>`${n_(t)} can only contain alphabetical characters.`,alphanumeric:({name:t})=>`${n_(t)} can only contain letters and numbers.`,alpha_spaces:({name:t})=>`${n_(t)} can only contain letters and spaces.`,date_before:({name:t,args:e})=>Array.isArray(e)&&e.length?`${n_(t)} must be before ${r_(e[0])}.`:`${n_(t)} must be in the past.`,between({name:t,args:e}){if(isNaN(e[0])||isNaN(e[1]))return"This field was configured incorrectly and can’t be submitted.";const[n,i]=function(t,e){return Number(t)>=Number(e)?[e,t]:[t,e]}(e[0],e[1]);return`${n_(t)} must be between ${n} and ${i}.`},confirm:({name:t})=>`${n_(t)} does not match.`,date_format:({name:t,args:e})=>Array.isArray(e)&&e.length?`${n_(t)} is not a valid date, please use the format ${e[0]}`:"This field was configured incorrectly and can’t be submitted",date_between:({name:t,args:e})=>`${n_(t)} must be between ${r_(e[0])} and ${r_(e[1])}`,email:"Please enter a valid email address.",ends_with:({name:t,args:e})=>`${n_(t)} doesn’t end with ${i_(e)}.`,is:({name:t})=>`${n_(t)} is not an allowed value.`,length({name:t,args:[e=0,n=1/0]}){const i=Number(e)<=Number(n)?e:n,r=Number(n)>=Number(e)?n:e;return 1==i&&r===1/0?`${n_(t)} must be at least one character.`:0==i&&r?`${n_(t)} must be less than or equal to ${r} characters.`:i&&r===1/0?`${n_(t)} must be greater than or equal to ${i} characters.`:`${n_(t)} must be between ${i} and ${r} characters.`},matches:({name:t})=>`${n_(t)} is not an allowed value.`,max:({name:t,node:{value:e},args:n})=>Array.isArray(e)?`Cannot have more than ${n[0]} ${t}.`:`${n_(t)} must be less than or equal to ${n[0]}.`,mime:({name:t,args:e})=>e[0]?`${n_(t)} must be of the type: ${e[0]}`:"No file formats allowed.",min:({name:t,node:{value:e},args:n})=>Array.isArray(e)?`Cannot have less than ${n[0]} ${t}.`:`${n_(t)} must be at least ${n[0]}.`,not:({name:t,node:{value:e}})=>`“${e}” is not an allowed ${t}.`,number:({name:t})=>`${n_(t)} must be a number.`,required:({name:t})=>`${n_(t)} is required.`,starts_with:({name:t,args:e})=>`${n_(t)} doesn’t start with ${i_(e)}.`,url:()=>"Please include a valid url."};var s_=Object.freeze({__proto__:null,ui:{add:"Add",remove:"Remove",removeAll:"Remove all",incomplete:"Sorry, not all fields are filled out correctly.",submit:"Submit",noFiles:"No file chosen"},validation:o_});function a_(t,e){if(qm(e,t))return t;const[n]=t.split("-");if(qm(e,n))return n;for(const t in e)return t;return!1}let l_,c_,u_=null,h_=!1,d_=!1;const p_=new Promise((t=>{c_=()=>{h_=!0,t()}})),f_=typeof window<"u"&&typeof fetch<"u";l_=f_?getComputedStyle(document.documentElement):void 0;const g_={},m_={};function v_(t,e,n,i){e&&Object.assign(g_,e),f_&&!d_&&null!=l_&&l_.getPropertyValue("--formkit-theme")?(c_(),d_=!0):t&&!d_&&f_?function(t){if(t&&f_&&"function"==typeof getComputedStyle&&(d_=!0,u_=document.getElementById("formkit-theme"),t&&f_&&((null==l_||!l_.getPropertyValue("--formkit-theme"))&&!u_||null!=u_&&u_.getAttribute("data-theme")&&(null==u_?void 0:u_.getAttribute("data-theme"))!==t))){const e=`https://cdn.jsdelivr.net/npm/@formkit/themes@${cy.startsWith("__")?"latest":cy}/dist/${t}/theme.css`,n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.id="formkit-theme",n.setAttribute("data-theme",t),n.onload=()=>{l_=getComputedStyle(document.documentElement),c_()},document.head.appendChild(n),n.href=e,u_&&u_.remove()}}(t):!d_&&f_&&c_();const r=function(t){var e,r;t.addProps(["iconLoader","iconLoaderUrl"]),t.props.iconHandler=y_(null!==(e=t.props)&&void 0!==e&&e.iconLoader?t.props.iconLoader:i,null!==(r=t.props)&&void 0!==r&&r.iconLoaderUrl?t.props.iconLoaderUrl:n),function(t,e){const n=/^[a-zA-Z-]+(?:-icon|Icon)$/;Object.keys(t.props).filter((t=>n.test(t))).forEach((n=>function(t,e,n){const i=e(t.props[n]),r=`_raw${n.charAt(0).toUpperCase()}${n.slice(1)}`,o=`on${n.charAt(0).toUpperCase()}${n.slice(1)}Click`;if(t.addProps([r,o]),t.on(`prop:${n}`,__),i instanceof Promise)return i.then((e=>{t.props[r]=e}));t.props[r]=i}(t,e,n)))}(t,t.props.iconHandler),t.on("created",(()=>{var e;null!==(e=null==t?void 0:t.context)&&void 0!==e&&e.handlers&&(t.context.handlers.iconClick=e=>{const n=`on${e.charAt(0).toUpperCase()}${e.slice(1)}IconClick`,i=t.props[n];if(i&&"function"==typeof i)return e=>i(t,e)})}))};return r.iconHandler=y_(i,n),r}function y_(t,e){return n=>{if("boolean"==typeof n)return;if(n.startsWith("<svg"))return n;if("string"!=typeof n)return;const i=g_[n],r=n.startsWith("default:");let o;if(n=r?n.split(":")[1]:n,i||n in g_)return i;if(!m_[n])if(o=function(t){if(f_)return h_?b_(t):p_.then((()=>b_(t)))}(n),o=f_&&typeof o>"u"?Promise.resolve(o):o,o instanceof Promise)m_[n]=o.then((i=>i||"string"!=typeof n||r?i:o="function"==typeof t?t(n):function(t,e){const n=cy.startsWith("__")?"latest":cy,i="function"==typeof e?e(t):`https://cdn.jsdelivr.net/npm/@formkit/icons@${n}/dist/icons/${t}.svg`;if(f_)return fetch(`${i}`).then((async t=>{const e=await t.text();if(e.startsWith("<svg"))return e})).catch((t=>{console.error(t)}))}(n,e))).then((t=>("string"==typeof n&&(g_[r?`default:${n}`:n]=t),t)));else if("string"==typeof o)return g_[r?`default:${n}`:n]=o,o;return m_[n]}}function b_(t){const e=null==l_?void 0:l_.getPropertyValue(`--fk-icon-${t}`);if(e){const n=atob(e);if(n.startsWith("<svg"))return g_[t]=n,n}}function __(t){var e;const n=t.origin,i=t.payload,r=null===(e=null==n?void 0:n.props)||void 0===e?void 0:e.iconHandler,o=t.name.split(":")[1],s=`_raw${o.charAt(0).toUpperCase()}${o.slice(1)}`;if(r&&"function"==typeof r){const t=r(i);if(t instanceof Promise)return t.then((t=>{n.props[s]=t}));n.props[s]=t}}let x_=!1;const w_={100:({data:t})=>`Only groups, lists, and forms can have children (${t.name}).`,101:({data:t})=>`You cannot directly modify the store (${t.name}). See: https://formkit.com/advanced/core#message-store`,102:({data:[t,e]})=>`You cannot directly assign node.${e} (${t.name})`,103:({data:[t]})=>`Schema expressions cannot start with an operator (${t})`,104:({data:[t,e]})=>`Schema expressions cannot end with an operator (${t} in "${e}")`,105:({data:t})=>`Invalid schema expression: ${t}`,106:({data:t})=>`Cannot submit because (${t}) is not in a form.`,107:({data:[t,e]})=>`Cannot set ${t.name} to non object value: ${e}`,108:({data:[t,e]})=>`Cannot set ${t.name} to non array value: ${e}`,600:({data:t})=>`Unknown input type${"string"==typeof t.props.type?' "'+t.props.type+'"':""} ("${t.name}")`,601:({data:t})=>`Input definition${"string"==typeof t.props.type?' "'+t.props.type+'"':""} is missing a schema or component property (${t.name}).`},S_={150:({data:t})=>`Schema function "${t}()" is not a valid function.`,151:({data:t})=>`No form element with id: ${t}`,152:({data:t})=>`No input element with id: ${t}`,350:({data:t})=>`Invalid options prop for radio input (${t.name}). See https://formkit.com/inputs/radio`,650:'Schema "$get()" must use the id of an input to access.',651:({data:t})=>`Cannot setErrors() on "${t}" because no such id exists.`,652:({data:t})=>`Cannot clearErrors() on "${t}" because no such id exists.`,800:({data:t})=>`${t} is deprecated.`};x_||hv(((t,e)=>{if(t.code in w_){const e=w_[t.code];t.message="function"==typeof e?e(t):e}return e(t)})),x_||dv(((t,e)=>{if(t.code in S_){const e=S_[t.code];t.message="function"==typeof e?e(t):e}return e(t)})),x_=!0;const k_={};let C_;const A_=new Map,O_=/[a-zA-Z0-9\-][cC]lass$/;function T_(t,e){const n=Re(null);if("get"===t){const t={};return n.value=P_.bind(null,t),n}const i=t.split(".");return kr((()=>n.value=E_(e,i))),n}function E_(t,e){if(Array.isArray(t)){for(const n of t){const t=!1!==n&&E_(n,e);if(void 0!==t)return t}return}let n;return e.reduce(((t,i,r,o)=>{if("object"!=typeof t)return n=void 0,o.splice(1);const s=t[i];return r===e.length-1&&void 0!==s&&(n=s),t[i]}),t),n}function P_(t,e){if("string"!=typeof e)return pv(650);if(e in t||(t[e]=Re(void 0)),void 0===t[e].value){t[e].value=null;const n=Ev(e);n&&(t[e].value=n.context),function(t,e){Tv.push(Ov.on(t,e))}(e,(({payload:n})=>{t[e].value=Nv(n)?n.context:n}))}return t[e].value}function M_(t,e){function n(t,e){return[l(oy(e.if),{if:!0}),s(t,e.then),e.else?s(t,e.else):null]}function i(t,e){var n,i;const o=l(oy(t.if));let s=()=>e,a=()=>e;return a="object"==typeof t.then?r(t.then,void 0):"string"==typeof t.then&&null!==(n=t.then)&&void 0!==n&&n.startsWith("$")?l(oy(t.then)):()=>t.then,qm(t,"else")&&(s="object"==typeof t.else?r(t.else):"string"==typeof t.else&&null!==(i=t.else)&&void 0!==i&&i.startsWith("$")?l(oy(t.else)):()=>t.else),()=>o()?a():s()}function r(t,e,n={}){const o=new Set(Object.keys(t||{})),s=e?l(oy(e)):()=>({}),a=[t=>{const e=s();for(const n in e)o.has(n)||(t[n]=e[n])}];if(t){if(ry(t))return i(t,n);for(let e in t){const n=t[e];let o;const s="string"==typeof n;e.startsWith("__raw__")?(e=e.substring(7),o=()=>n):o=!(s&&n.startsWith("$")&&n.length>1)||n.startsWith("$reset")&&O_.test(e)?"object"==typeof n&&ry(n)?i(n,void 0):"object"==typeof n&&Zm(n)?r(n):()=>n:l(oy(n)),a.push((t=>{t[e]=o()}))}}return()=>{const e=Array.isArray(t)?[]:{};return a.forEach((t=>t(e))),e}}function o(t,e){const[i,o,a,c,u,h,d]=function(t,e){let i=null,o=()=>null,a=!1,c=null,u=null,h=null,d=!1;const p=function(t){if("string"==typeof t)return{$el:"text",children:t};if(function(t){return"string"!=typeof t&&"$formkit"in t}(t)){const{$formkit:e,for:n,if:i,children:r,bind:o,...s}=t;return Object.assign({$cmp:"FormKit",props:{...s,type:e}},i?{if:i}:{},n?{for:n}:{},r?{children:r}:{},o?{bind:o}:{})}return t}(e);if(ny(p)?(i=p.$el,o="text"!==p.$el?r(p.attrs,p.bind):()=>null):iy(p)?("string"==typeof p.$cmp?qm(t,p.$cmp)?i=t[p.$cmp]:(i=p.$cmp,d=!0):i=p.$cmp,o=r(p.props,p.bind)):ry(p)&&([a,c,u]=n(t,p)),!ry(p)&&"if"in p?a=l(oy(p.if)):!ry(p)&&null===i&&(a=()=>!0),"children"in p&&p.children)if("string"==typeof p.children)if(p.children.startsWith("$slots."))i="text"===i?"slot":i,c=l(oy(p.children));else if(p.children.startsWith("$")&&p.children.length>1){const t=l(oy(p.children));c=()=>String(t())}else c=()=>String(p.children);else if(Array.isArray(p.children))c=s(t,p.children);else{const[e,i,r]=n(t,p.children);c=t=>e&&e()?i&&i(t):r&&r(t)}if(iy(p))if(c){const t=c;c=e=>({default(n,i){var r,o,s,a;const l=C_;i&&(C_=i),n&&(null===(r=A_.get(C_))||void 0===r||r.unshift(n)),e&&(null===(o=A_.get(C_))||void 0===o||o.unshift(e));const c=t(e);return n&&(null===(s=A_.get(C_))||void 0===s||s.shift()),e&&(null===(a=A_.get(C_))||void 0===a||a.shift()),C_=l,c}}),c.slot=!0}else c=()=>({});if("for"in p&&p.for){const t=3===p.for.length?p.for[2]:p.for[1];h=["string"==typeof t&&t.startsWith("$")?l(oy(t)):()=>t,p.for[0],3===p.for.length?String(p.for[1]):null]}return[a,i,o,c,u,h,d]}(t,e);let p=t=>{if(i&&null===o&&c)return i()?c(t):u&&u(t);if(o&&(!i||i())){if("text"===o&&c)return ro(String(c()));if("slot"===o&&c)return c(t);const e=d?wi(o):o,n=null!=c&&c.slot?function(t,e){const n=t(e),i=C_;return Object.keys(n).reduce(((t,e)=>{const r=n&&n[e];return t[e]=t=>r&&r(t,i)||null,t}),{})}(c,t):null;return Mo(e,a(),n||(c?c(t):[]))}return"function"==typeof u?u(t):u};if(h){const t=p,[e,n,i]=h;p=()=>{const r=e(),o=isNaN(r)?r:Array(Number(r)).fill(0).map(((t,e)=>e)),s=[];if("object"!=typeof o)return null;const a=A_.get(C_)||[];for(const e in o){if(Array.isArray(o)&&"length"===e)continue;const r=Object.defineProperty({...a.reduce(((t,e)=>t.__idata?{...t,...e}:e),{}),[n]:o[e],...null!==i?{[i]:e}:{}},"__idata",{enumerable:!1,value:!0});a.unshift(r),s.push(t.bind(null,r)()),a.shift()}return s}}return p}function s(t,e){if(Array.isArray(e)){const n=e.map(o.bind(null,t));return t=>n.map((e=>e(t)))}const n=o(t,e);return t=>n(t)}const a=[];function l(t,e={}){const n={};return a.push(((i,r)=>{n[r]=t.provide((t=>i(t,e)))})),()=>n[C_]()}return function(n,i){const r=JSON.stringify(e),[o,l]=qm(k_,r)?k_[r]:[s(t,e),a];return k_[r]=[o,l],l.forEach((t=>{t(n,i)})),()=>(C_=i,o())}}function L_(t,e){const n=A_.get(C_)||[];let i;return n.length&&(i=E_(n,t.split("."))),void 0===i?e:i}function j_(t,e,n){return t(((t,i={})=>t.reduce(((t,r)=>{if(r.startsWith("slots.")){const o=r.substring(6),s=e.slots&&qm(e.slots,o);if(i.if)t[r]=()=>s;else if(e.slots&&s){const i=function(t,e){return new Proxy(t,{get(...t){let n;const i=t[1];if("string"==typeof i){const t=C_;C_=e,n=L_(i,void 0),C_=t}return void 0!==n?n:Reflect.get(...t)}})}(e,n);return t[r]=()=>e.slots[o](i),t}}const o=T_(r,e);return t[r]=()=>L_(r,o.value),t}),{})),n)}let D_=0;const $_=Zn({name:"FormKitSchema",props:{schema:{type:[Array,Object],required:!0},data:{type:Object,default:()=>({})},library:{type:Object,default:()=>({})}},setup(t,e){const n=go();let i=Symbol(String(D_++));A_.set(i,[]);let r,o,s=M_(t.library,t.schema);return Cr((()=>t.schema),((e,a)=>{var l;i=Symbol(String(D_++)),s=M_(t.library,t.schema),r=j_(s,o,i),e===a&&(null===(l=null==n?void 0:n.proxy)||void 0===l?void 0:l.$forceUpdate)()}),{deep:!0}),kr((()=>{o=Object.assign(Se(t.data),{slots:e.slots}),r=j_(s,o,i)})),()=>r()}}),R_={config:{type:Object,default:{}},classes:{type:Object,required:!1},delay:{type:Number,required:!1},errors:{type:Array,default:[]},inputErrors:{type:Object,default:()=>({})},index:{type:Number,required:!1},id:{type:String,required:!1},modelValue:{required:!1},name:{type:String,required:!1},parent:{type:Object,required:!1},plugins:{type:Array,default:[]},sectionsSchema:{type:Object,default:{}},type:{type:[String,Object],default:"text"},validation:{type:[String,Array],required:!1},validationMessages:{type:Object,required:!1},validationRules:{type:Object,required:!1},validationLabel:{type:[String,Function],required:!1}},I_=Symbol("FormKitParent"),N_=Zn({props:R_,emits:{input:(t,e)=>!0,inputRaw:(t,e)=>!0,"update:modelValue":t=>!0,node:t=>!!t,submit:(t,e)=>!0,submitRaw:(t,e)=>!0,submitInvalid:t=>!0},inheritAttrs:!1,setup(t,e){const n=function(t,e,n={}){const i=Object.assign({},tr(B_)||{},n),r=go(),o=function(t){return t?["Submit","SubmitRaw","SubmitInvalid"].reduce(((e,n)=>{const i=`on${n}`;return i in t&&"function"==typeof t[i]&&(e[i]=t[i]),e}),{}):{}}(null==r?void 0:r.vnode.props),s=void 0!==t.modelValue,a=void 0!==t.modelValue?t.modelValue:ov(e.attrs.value);const l=function(){const n={...Qm(t),...o},i=tv(Qm(e.attrs),G_);n.attrs=i;const r=ev(Qm(e.attrs),G_);for(const t in r)n[nv(t)]=r[t];const s={props:{}};return X_(s,t),Object.assign(n,s.props),"string"!=typeof n.type&&(n.definition=n.type,delete n.type),n}(),c=l.ignore?null:t.parent||tr(I_,null),u=ey(Jm(i||{},{name:t.name||void 0,value:a,parent:c,plugins:(i.plugins||[]).concat(t.plugins),config:t.config,props:l,index:t.index},!1,!0));u.props.definition||fv(600,u);const h=Re(new Set(u.props.definition.props||[]));u.on("added-props",(({payload:t})=>{Array.isArray(t)&&t.forEach((t=>h.value.add(t)))}));const d=Po((()=>G_.concat([...h.value]).reduce(((t,e)=>("string"==typeof e?(t.push(nv(e)),t.push(iv(e))):t.push(e),t)),[])));kr((()=>X_(u,t)));const p=Qm(t);for(const e in p)Cr((()=>t[e]),(()=>{void 0!==t[e]&&(u.props[e]=t[e])}));const f=new Set,g=Qm(e.attrs);if(kr((()=>{!function(t){f.forEach((t=>{t(),f.delete(t)}));for(const n in t){const t=nv(n);f.add(Cr((()=>e.attrs[n]),(()=>{u.props[t]=e.attrs[n]})))}}(ev(g,d.value))})),kr((()=>{const t=tv(Qm(e.attrs),d.value);u.props.attrs=Object.assign({},u.props.attrs||{},t)})),kr((()=>{const e=t.errors.map((t=>gv({key:lv(t),type:"error",value:t,meta:{source:"prop"}})));u.store.apply(e,(t=>"error"===t.type&&"prop"===t.meta.source))})),"input"!==u.type){const e=`${u.name}-prop`;kr((()=>{const n=Object.keys(t.inputErrors);n.length||u.clearErrors(!0,e);const i=n.reduce(((n,i)=>{let r=t.inputErrors[i];return"string"==typeof r&&(r=[r]),Array.isArray(r)&&(n[i]=r.map((t=>gv({key:t,type:"error",value:t,meta:{source:e}})))),n}),{});u.store.apply(i,(t=>"error"===t.type&&t.meta.source===e))}))}let m;kr((()=>Object.assign(u.config,t.config))),"input"!==u.type&&Qi(I_,u);const v=new WeakSet;return u.on("modelUpdated",(()=>{var n,i;if(e.emit("inputRaw",null===(n=u.context)||void 0===n?void 0:n.value,u),clearTimeout(m),m=setTimeout(e.emit,20,"input",null===(i=u.context)||void 0===i?void 0:i.value,u),s&&u.context){const n=q_(u.context.value);Km(n)&&q_(t.modelValue)!==n&&v.add(n),e.emit("update:modelValue",n)}})),s&&function(t){const e={},n=n=>{for(const r of n)r.__str in e&&e[r.__str](),e[r.__str]=Cr(W_.bind(null,t,r),i.bind(null,r),{deep:!1})},i=function(t,e,n,i){return r=>{const o=H_(t,r);o!==V_&&(r.__deep&&i(r),"object"==typeof o&&n(U_(o,[r],...r)),e(r,o,t))}}(t,((t,e)=>{var n;const i=q_(e);if(Km(i)&&v.has(i))return v.delete(i);t.length?null===(n=u.at(t))||void 0===n||n.input(e,!1):u.input(e,!1)}),n,(t=>{if(t.length)for(const n in e)`${n}`.startsWith(`${t.__str}.`)&&(e[n](),delete e[n])}));n(U_(t))}(function(t,e,n){return $e(t)?t:b(t)?new Ue(t):w(t)&&arguments.length>1?qe(t,e,n):Re(t)}(t,"modelValue")),mi((()=>u.destroy())),u}(t,e);if(n.props.definition||fv(600,n),n.props.definition.component)return()=>{var t;return Mo(null===(t=n.props.definition)||void 0===t?void 0:t.component,{context:n.context},{...e.slots})};const i=Re([]),r=()=>{var e,r;const o=null===(r=null===(e=n.props)||void 0===e?void 0:e.definition)||void 0===r?void 0:r.schema;o||fv(601,n),i.value="function"==typeof o?o({...t.sectionsSchema}):o};r(),n.on("schema",r),e.emit("node",n);const o=n.props.definition.library;return e.expose({node:n}),()=>Mo($_,{schema:i.value,data:n.context,library:o},{...e.slots})}}),B_=Symbol.for("FormKitOptions"),F_=Symbol.for("FormKitConfig"),z_={install(t,e){const n=Object.assign({alias:"FormKit",schemaAlias:"FormKitSchema"},"function"==typeof e?e():e),i=function(t={}){const e=new Set,n={...t,_add:t=>e.add(t),_rm:t=>t.remove(t)};return new Proxy(n,{set:(t,n,i,r)=>("string"==typeof n&&e.forEach((t=>Pv(t,n,i))),Reflect.set(t,n,i,r))})}(n.config||{});n.config={rootConfig:i},t.config.globalProperties.$formkit=function(t,e){return t.component(e.alias||"FormKit",N_).component(e.schemaAlias||"FormKitSchema",$_),{get:Ev,setLocale:t=>{var n;null!==(n=e.config)&&void 0!==n&&n.rootConfig&&(e.config.rootConfig.locale=t)},clearErrors:ly,setErrors:ay,submit:Mv,reset:Lv}}(t,n),t.provide(B_,n),t.provide(F_,i)}},V_=Symbol();function W_(t,e){const n=H_(t,e);return n&&"object"==typeof n?Object.keys(n):n}function H_(t,e){if($e(t)){if(0===e.length)return t.value;t=t.value}return e.reduce(((t,e)=>t===V_?t:null===t||"object"!=typeof t?V_:t[e]),t)}function U_(t,e=[],...n){if(null===t)return e;if(!n.length){const n=Object.defineProperty([],"__str",{value:""});if(!(t=$e(t)?t.value:t)||"object"!=typeof t)return[n];Object.defineProperty(n,"__deep",{value:!0}),e.push(n)}if(null===t||"object"!=typeof t)return e;for(const i in t){const r=n.concat(i);Object.defineProperty(r,"__str",{value:r.join(".")});const o=t[i];Zm(o)||Array.isArray(o)?(e.push(Object.defineProperty(r,"__deep",{value:!0})),e=e.concat(U_(o,[],...r))):e.push(r)}return e}function q_(t){return null===t||"object"!=typeof t||(Oe(t)?t=Me(t):$e(t)&&(t=Oe(t.value)?q_(t.value):t.value)),t}const G_=["help","label","ignore","disabled","preserve",/^preserve(-e|E)rrors/,/^[a-z]+(?:-visibility|Visibility)$/,/^[a-zA-Z-]+(?:-class|Class)$/,"prefixIcon","suffixIcon",/^[a-zA-Z-]+(?:-icon|Icon)$/];function X_(t,e){e.classes&&Object.keys(e.classes).forEach((n=>{"string"==typeof n&&(t.props[`_${n}Class`]=e.classes[n],Km(e.classes[n])&&"inner"===n&&Object.values(e.classes[n]))}))}let Y_=1;const K_=function(t){t.ledger.count("blocking",(t=>t.blocking));const e=Re(!t.ledger.value("blocking"));t.ledger.count("errors",(t=>"error"===t.type));const n=Re(!!t.ledger.value("errors"));let i=!1;hn((()=>{i=!0}));const r=Se(t.store.reduce(((t,e)=>(e.visible&&(t[e.key]=e),t)),{})),o=Re(t.props.validationVisibility||"blur");t.on("prop:validationVisibility",(({payload:t})=>{o.value=t}));const s=Re("live"===o.value),a=Po((()=>{if(v.state.submitted)return!0;if(!s.value&&!v.state.settled)return!1;switch(o.value){case"live":return!0;case"blur":return v.state.blurred;case"dirty":return v.state.dirty;default:return!1}})),l=Po((()=>c.value?e.value&&!n.value:v.state.dirty&&!Xm(v.value))),c=Re(Array.isArray(t.props.parsedRules)&&t.props.parsedRules.length>0);t.on("prop:parsedRules",(({payload:t})=>{c.value=Array.isArray(t)&&t.length>0}));const u=Po((()=>{const t={};for(const e in r){const n=r[e];("validation"!==n.type||a.value)&&(t[e]=n)}return t})),h=Se(t.store.reduce(((t,e)=>("ui"===e.type&&e.visible&&(t[e.key]=e),t)),{})),d=Se({}),p=new Proxy(d,{get(...e){const[n,i]=e;let r=Reflect.get(...e);return!r&&"string"==typeof i&&!qm(n,i)&&!i.startsWith("__v")&&Nb(t).watch((t=>{const e="function"==typeof t.config.rootClasses?t.config.rootClasses(i,t):{},o=t.config.classes?sy(i,t,t.config.classes[i]):{},s=sy(i,t,t.props[`_${i}Class`]),a=sy(i,t,t.props[`${i}Class`]);r=function(t,e,...n){const i=n.reduce(((t,e)=>{if(!e)return t;const{$reset:n,...i}=e;return n?i:Object.assign(t,i)}),{});return Object.keys(t.hook.classes.dispatch({property:e,classes:i}).classes).filter((t=>i[t])).join(" ")||null}(t,i,e,o,s,a),n[i]=r})),r}}),f=Po((()=>{const e=[];v.help&&e.push(`help-${t.props.id}`);for(const n in u.value)e.push(`${t.props.id}-${n}`);return e.length?e.join(" "):void 0})),g=Re(t.value),m=Re(t.value),v=Se({_value:m,attrs:t.props.attrs,disabled:t.props.disabled,describedBy:f,fns:{length:t=>Object.keys(t).length,number:t=>Number(t),string:t=>String(t),json:t=>JSON.stringify(t),eq:Gm},handlers:{blur:e=>{t.store.set(gv({key:"blurred",visible:!1,value:!0})),"function"==typeof t.props.attrs.onBlur&&t.props.attrs.onBlur(e)},touch:()=>{t.store.set(gv({key:"dirty",visible:!1,value:!0}))},DOMInput:e=>{t.input(e.target.value),t.emit("dom-input-event",e)}},help:t.props.help,id:t.props.id,label:t.props.label,messages:u,node:Le(t),options:t.props.options,state:{blurred:!1,complete:l,dirty:!1,submitted:!1,settled:t.isSettled,valid:e,errors:n,rules:c,validationVisible:a},type:t.props.type,family:t.props.family,ui:h,value:g,classes:p});function y(e){e.forEach((e=>{e=nv(e),!qm(v,e)&&qm(t.props,e)&&(v[e]=t.props[e]),t.on(`prop:${e}`,(({payload:t})=>{v[e]=t}))}))}var b;t.on("created",(()=>{Gm(v.value,t.value)||(m.value=t.value,g.value=t.value,Be(g),Be(m)),t.props._init=ov(t.value)})),t.on("settled",(({payload:t})=>{v.state.settled=t})),y((()=>{const e=/^[a-zA-Z-]+(?:-icon|Icon)$/,n=Object.keys(t.props).filter((t=>e.test(t)));return["help","label","disabled","options","type","attrs","preserve","preserveErrors","id"].concat(n)})()),t.props.definition&&(b=t.props.definition).props&&y(b.props),t.on("added-props",(({payload:t})=>y(t))),t.on("input",(({payload:t})=>{m.value=t,Be(m)})),t.on("commit",(({payload:e})=>{g.value=m.value=e,Be(g),t.emit("modelUpdated"),!v.state.dirty&&t.isCreated&&i&&!Gm(g.value,t.props._init)&&v.handlers.touch(),l&&"input"===t.type&&n.value&&!sv(t.props.preserveErrors)&&t.store.filter((t=>{var e;return!("error"===t.type&&!0===(null===(e=t.meta)||void 0===e?void 0:e.autoClear))}))}));const _=async t=>{"ui"===t.type&&t.visible&&!t.meta.showAsMessage?h[t.key]=t:t.visible?r[t.key]=t:"state"===t.type&&(v.state[t.key]=!!t.value)};t.on("message-added",(t=>_(t.payload))),t.on("message-updated",(t=>_(t.payload))),t.on("message-removed",(({payload:t})=>{delete h[t.key],delete r[t.key],delete v.state[t.key]})),t.on("settled:blocking",(()=>{e.value=!0})),t.on("unsettled:blocking",(()=>{e.value=!1})),t.on("settled:errors",(()=>{n.value=!1})),t.on("unsettled:errors",(()=>{n.value=!0})),Cr(a,(t=>{t&&(s.value=!0)})),t.context=v,t.emit("context",t,!1)};Zn({name:"FormKitIcon",props:{icon:{type:String,default:""},iconLoader:{type:Function,default:null},iconLoaderUrl:{type:Function,default:null}},setup(t){var e,n;const i=Re(void 0),r=tr(B_,{}),o=tr(I_,null);let s;if(t.iconLoader&&"function"==typeof t.iconLoader)s=y_(t.iconLoader);else if(o&&null!==(e=o.props)&&void 0!==e&&e.iconLoader)s=y_(o.props.iconLoader);else if(t.iconLoaderUrl&&"function"==typeof t.iconLoaderUrl)s=y_(s,t.iconLoaderUrl);else{const t=null===(n=null==r?void 0:r.plugins)||void 0===n?void 0:n.find((t=>"function"==typeof t.iconHandler));t&&(s=t.iconHandler)}if(s&&"function"==typeof s){const e=s(t.icon);e instanceof Promise?e.then((t=>{i.value=t})):i.value=e}return()=>i.value?Mo("span",{class:"formkit-icon",innerHTML:i.value}):null}});const Z_=Zn({__name:"select-input",props:{context:{type:Object,required:!0}},setup(t){const e=t,n=t=>e.context.attrs.customValue?e.context.attrs.customValue(t):t,i=t=>{const i=n(t);e.context.attrs.multiple?e.context.node.input([e.context._value,i].flat().filter(Boolean)):e.context.node.input(i)},r=t=>{const i=n(t);e.context.attrs.multiple?e.context.node.input([e.context._value].flat().filter((t=>t!==i))):e.context.node.input(null)},o=Po((()=>e.context.attrs.options.find((t=>n(t)===e.context._value))||e.context._value)),s=Po((()=>e.context.node.props)),a=Re(!1),l=md.debounce((async(t,n)=>{t&&e.context.attrs.onSearchChange&&(a.value=!0,await e.context.attrs.onSearchChange(t,n),a.value=!1)}),e.context.attrs.searchDebounce),c=Po((()=>({...e.context.attrs,loading:a.value||e.context.attrs.loading,onSearchChange:l})));return mi((()=>{l.cancel()})),(n,a)=>(Hr(),Xr("div",{class:G(["ap-select-input",{taggable:t.context.attrs.taggable}])},[eo(Fe(um),co(c.value,{id:s.value.id,class:{error:t.context.state.errors||t.context.state.validationVisible&&!t.context.state.valid},disabled:s.value.disabled,"model-value":o.value,name:s.value.name,options:t.context.attrs.options,onBlur:t.context.handlers.blur,onRemove:r,onSelect:i,onTouch:t.context.handlers.touch}),Ti({_:2},[Oi(e.context.slots,((t,e)=>({name:e,fn:Ln((e=>[t?(Hr(),Yr(ki(t),X(co({key:0},e)),null,16)):oo("",!0)]))})))]),1040,["id","class","disabled","model-value","name","options","onBlur","onTouch"])],2))}}),J_=xd(Z_,[["__scopeId","data-v-7460d5fa"]]),Q_={allowEmpty:{type:Boolean,required:!1,default:!0},blockKeys:{type:Array,required:!1,default:[]},clearOnSelect:{type:Boolean,required:!1,default:!0},closeOnSelect:{type:Boolean,required:!1,default:!0},customLabel:{type:Function,required:!1},customValue:{type:Function,required:!1},groupValues:{type:String,required:!1},groupLabel:{type:String,required:!1},groupSelect:{type:Boolean,required:!1,default:!1},hideSelected:{type:Boolean,required:!1,default:!1},id:{type:String,required:!1},internalSearch:{type:Boolean,required:!1,default:!0},limit:{type:Number,required:!1},limitText:{type:Function,required:!1,default:t=>`and ${t} more`},loading:{type:Boolean,required:!1,default:!1},modelValue:{type:void 0,required:!1},multiple:{type:Boolean,required:!1,default:!1},name:{type:String,required:!1},onSearchChange:{type:Function,required:!1},onTag:{type:Function,required:!1},openDirection:{type:String,required:!1},options:{type:Array,required:!1,default:()=>[]},optionsLimit:{type:Number,required:!1,default:1e3},preselectFirst:{type:Boolean,required:!1,default:!1},preserveSearch:{type:Boolean,required:!1,default:!1},placeholder:{type:String,required:!1},resetAfter:{type:Boolean,required:!1,default:!1},searchDebounce:{type:Number,required:!1,default:500},searchable:{type:Boolean,required:!1,default:!0},taggable:{type:Boolean,required:!1,default:!1},tagPlaceholder:{type:String,required:!1,default:"Press enter to create a tag"},tagPosition:{type:String,required:!1,default:"top"}},tx=Zn({__name:"select-field",props:{...Q_,...Im},setup(t){const e=t,n=function(t,e={}){const n={type:"input",...e};let i;if(function(t){return"function"==typeof t&&2===t.length||"object"==typeof t&&!Array.isArray(t)&&!("$el"in t)&&!("$cmp"in t)&&!("if"in t)}(t)){const e="SchemaComponent"+Y_++;i=fb("input",(()=>({$cmp:e,props:{context:"$node.context"}}))),n.library={[e]:Le(t)}}else i="function"==typeof t?t:fb("input",(()=>ov(t)));return n.schema=function(t){return uy(dy(py("$label"),hy(my(),t(),vy())),yy("$help"),fy(gy("$message.value")))}(i||"Schema undefined"),n}(J_);return(t,i)=>(Hr(),Yr(Bm,co(e,{type:Fe(n)}),Ti({_:2},[Oi(t.$slots,((e,n)=>({name:n,fn:Ln((e=>[Ei(t.$slots,n,X(no(e)))]))})))]),1040,["type"]))}}),ex=Zn({__name:"text-field",props:Im,setup(t){const e=t;return(t,n)=>(Hr(),Yr(Wm,co(e,{type:"text"}),Ti({_:2},[Oi(t.$slots,((e,n)=>({name:n,fn:Ln((e=>[Ei(t.$slots,n,X(no(e)))]))})))]),1040))}}),nx=new Set,ix=new WeakMap,rx=new WeakMap,ox=new WeakMap,sx=new WeakMap,ax=new WeakMap,lx=new WeakMap,cx=new WeakMap,ux=new WeakSet;let hx;const dx="__aa_tgt",px="__aa_del";function fx(t){clearTimeout(cx.get(t));const e=Sx(t),n="function"==typeof e?500:e.duration;cx.set(t,setTimeout((async()=>{const e=ox.get(t);(!e||await e.finished)&&(ix.set(t,xx(t)),function(t){const e=sx.get(t);null==e||e.disconnect();let n=ix.get(t),i=0;n||(n=xx(t),ix.set(t,n));const{offsetWidth:r,offsetHeight:o}=hx,s=[n.top-5,r-(n.left+5+n.width),o-(n.top+5+n.height),n.left-5].map((t=>-1*Math.floor(t)+"px")).join(" "),a=new IntersectionObserver((()=>{++i>1&&fx(t)}),{root:hx,threshold:1,rootMargin:s});a.observe(t),sx.set(t,a)}(t))}),n))}function gx(t){setTimeout((()=>{ax.set(t,setInterval((()=>mx(fx.bind(null,t))),2e3))}),Math.round(2e3*Math.random()))}function mx(t){"function"==typeof requestIdleCallback?requestIdleCallback((()=>t())):requestAnimationFrame((()=>t()))}let vx,yx;function bx(t,e){e||dx in t?e&&!(dx in e)&&Object.defineProperty(e,dx,{value:t}):Object.defineProperty(t,dx,{value:t})}function _x(t){return Number(t.replace(/[^0-9.\-]/g,""))}function xx(t){const e=t.getBoundingClientRect();return{top:e.top+window.scrollY,left:e.left+window.scrollX,width:e.width,height:e.height}}function wx(t,e,n){let i=e.width,r=e.height,o=n.width,s=n.height;const a=getComputedStyle(t);if("content-box"===a.getPropertyValue("box-sizing")){const t=_x(a.paddingTop)+_x(a.paddingBottom)+_x(a.borderTopWidth)+_x(a.borderBottomWidth),e=_x(a.paddingLeft)+_x(a.paddingRight)+_x(a.borderRightWidth)+_x(a.borderLeftWidth);i-=e,o-=e,r-=t,s-=t}return[i,o,r,s].map(Math.round)}function Sx(t){return dx in t&&lx.has(t[dx])?lx.get(t[dx]):{duration:250,easing:"ease-in-out"}}function kx(t){if(dx in t)return t[dx]}function Cx(t){const e=kx(t);return!!e&&ux.has(e)}function Ax(t,...e){e.forEach((e=>e(t,lx.has(t))));for(let n=0;n<t.children.length;n++){const i=t.children.item(n);i&&e.forEach((t=>t(i,lx.has(i))))}}typeof window<"u"&&(hx=document.documentElement,vx=new MutationObserver((t=>{const e=function(t){return t.reduce(((t,e)=>{if(!1===t)return!1;if(e.target instanceof Element){if(bx(e.target),!t.has(e.target)){t.add(e.target);for(let n=0;n<e.target.children.length;n++){const i=e.target.children.item(n);if(i){if(px in i)return!1;bx(e.target,i),t.add(i)}}}if(e.removedNodes.length)for(let n=0;n<e.removedNodes.length;n++){const i=e.removedNodes[n];if(px in i)return!1;i instanceof Element&&(t.add(i),bx(e.target,i),rx.set(i,[e.previousSibling,e.nextSibling]))}}return t}),new Set)}(t);e&&e.forEach((t=>function(t){var e;const n=hx.contains(t),i=ix.has(t);n&&rx.has(t)&&rx.delete(t),ox.has(t)&&(null===(e=ox.get(t))||void 0===e||e.cancel()),i&&n?function(t){const e=ix.get(t),n=xx(t);if(!Cx(t))return ix.set(t,n);let i;if(!e)return;const r=Sx(t);if("function"!=typeof r){const o=e.left-n.left,s=e.top-n.top,[a,l,c,u]=wx(t,e,n),h={transform:`translate(${o}px, ${s}px)`},d={transform:"translate(0, 0)"};a!==l&&(h.width=`${a}px`,d.width=`${l}px`),c!==u&&(h.height=`${c}px`,d.height=`${u}px`),i=t.animate([h,d],{duration:r.duration,easing:r.easing})}else i=new Animation(r(t,"remain",e,n)),i.play();ox.set(t,i),ix.set(t,n),i.addEventListener("finish",fx.bind(null,t))}(t):i&&!n?function(t){var e;if(!rx.has(t)||!ix.has(t))return;const[n,i]=rx.get(t);function r(){var e;t.remove(),ix.delete(t),rx.delete(t),ox.delete(t),null===(e=sx.get(t))||void 0===e||e.disconnect()}if(Object.defineProperty(t,px,{value:!0}),i&&i.parentNode&&i.parentNode instanceof Element?i.parentNode.insertBefore(t,i):n&&n.parentNode?n.parentNode.appendChild(t):null===(e=kx(t))||void 0===e||e.appendChild(t),!Cx(t))return r();const[o,s,a,l]=function(t){const e=ix.get(t),[n,,i]=wx(t,e,xx(t));let r=t.parentElement;for(;r&&("static"===getComputedStyle(r).position||r instanceof HTMLBodyElement);)r=r.parentElement;r||(r=document.body);const o=getComputedStyle(r),s=ix.get(r)||xx(r);return[Math.round(e.top-s.top)-_x(o.borderTopWidth),Math.round(e.left-s.left)-_x(o.borderLeftWidth),n,i]}(t),c=Sx(t),u=ix.get(t);let h;Object.assign(t.style,{position:"absolute",top:`${o}px`,left:`${s}px`,width:`${a}px`,height:`${l}px`,margin:0,pointerEvents:"none",transformOrigin:"center",zIndex:100}),"function"!=typeof c?h=t.animate([{transform:"scale(1)",opacity:1},{transform:"scale(.98)",opacity:0}],{duration:c.duration,easing:"ease-out"}):(h=new Animation(c(t,"remove",u)),h.play()),ox.set(t,h),h.addEventListener("finish",r)}(t):function(t){const e=xx(t);ix.set(t,e);const n=Sx(t);if(!Cx(t))return;let i;"function"!=typeof n?i=t.animate([{transform:"scale(.98)",opacity:0},{transform:"scale(0.98)",opacity:0,offset:.5},{transform:"scale(1)",opacity:1}],{duration:1.5*n.duration,easing:"ease-in"}):(i=new Animation(n(t,"add",e)),i.play()),ox.set(t,i),i.addEventListener("finish",fx.bind(null,t))}(t)}(t)))})),yx=new ResizeObserver((t=>{t.forEach((t=>{t.target===hx&&(clearTimeout(cx.get(hx)),cx.set(hx,setTimeout((()=>{nx.forEach((t=>Ax(t,(t=>mx((()=>fx(t)))))))}),100))),ix.has(t.target)&&fx(t.target)}))})),yx.observe(hx));const Ox=new Map;let Tx=null;function Ex(){Ox.forEach(((t,e)=>{const n=document.getElementById(e);n&&(Ox.delete(e),function(t,e={}){vx&&yx&&(window.matchMedia("(prefers-reduced-motion: reduce)").matches&&"function"!=typeof e&&!e.disrespectUserMotionPreference||(ux.add(t),"static"===getComputedStyle(t).position&&Object.assign(t.style,{position:"relative"}),Ax(t,fx,gx,(t=>null==yx?void 0:yx.observe(t))),"function"==typeof e?lx.set(t,e):lx.set(t,{duration:250,easing:"ease-in-out",...e}),vx.observe(t,{childList:!0}),nx.add(t))),Object.freeze({parent:t,enable:()=>{ux.add(t)},disable:()=>{ux.delete(t)},isEnabled:()=>ux.has(t)})}(n,t||{}))}))}const Px={install(t,e={}){var n;t.use(z_,((t={})=>{const{rules:e={},locales:n={},inputs:i={},messages:r={},locale:o,theme:s,iconLoaderUrl:a,iconLoader:l,icons:c={},...u}=t,h=function(t={}){return function(e){const n=Object.assign({},t,e.props.validationRules);let i=Nb(e);const r={input:Hm(),rerun:null,isPassing:!0};let o=ov(e.props.validation);e.on("prop:validation",(({payload:t})=>{Gm(o,t)||(o=ov(t),Fb(i.receipts),e.store.filter((()=>!1),"validation"),e.props.parsedRules=t_(t,n),i.kill(),i=Nb(e),Hb(i,e.props.parsedRules,r))})),e.props.parsedRules=t_(o,n),Hb(i,e.props.parsedRules,r)}}({...Rb,...e||{}}),d=function(t){return function(e){let n=a_(e.config.locale,t),i=n?t[n]:{};e.on("prop:locale",(({payload:r})=>{n=a_(r,t),i=n?t[n]:{},e.store.touch()})),e.on("prop:label",(()=>e.store.touch())),e.on("prop:validationLabel",(()=>e.store.touch())),e.hook.text(((t,e)=>{var n,r;const o=(null===(n=t.meta)||void 0===n?void 0:n.messageKey)||t.key;if(qm(i,t.type)&&qm(i[t.type],o)){const e=i[t.type][o];t.value="function"==typeof e?Array.isArray(null===(r=t.meta)||void 0===r?void 0:r.i18nArgs)?e(...t.meta.i18nArgs):e(t):e}return e(t)}))}}(Jm({en:s_,...n||{}},r)),p=function(...t){const e=t.reduce(((t,e)=>Jm(t,e)),{}),n=()=>{};return n.library=function(t){const n=nv(t.props.type);qm(e,n)&&t.define(e[n])},n}(Eb,i);return Jm({plugins:[p,v_(s,c,a,l),K_,d,h],...o?{config:{locale:o}}:{}},u||{},!0)})({...e,plugins:[t=>{t.on("created",(()=>{var e;if("function"==typeof(null===(e=t.props.definition)||void 0===e?void 0:e.schema)){if(void 0===typeof window)return;const e=t.props.definition.schema;t.props.definition.schema=n=>{n.outer=Jm({attrs:{id:`outer-${t.props.id}`}},n.outer||{});const i=e(n),r=ry(i[0])?Array.isArray(i[0].else)?i[0].else[0]:i[0].else:i[0];return r&&ny(r)&&r.attrs&&"id"in r.attrs&&Ox.set(String("$id"===r.attrs.id?t.props.id:r.attrs.id),void 0),i}}Tx||(Ex(),Tx=new MutationObserver((()=>{Ex(),!Ox.size&&Tx&&(Tx.disconnect(),Tx=null)})),Tx.observe(document,{childList:!0,subtree:!0}))}))},...e.plugins||[]],config:{...e.config,classes:{messages:Em.messages,message:Em.message,help:Em.help,optionHelp:Em.help,inner:Em.inner,...null==(n=e.config)?void 0:n.classes}}}))}},Mx=t=>(Pn("data-v-69b1dd7f"),t=t(),Mn(),t),Lx={key:0},jx=[Mx((()=>to("td",{colspan:"999"},[to("span",{class:"loading"})],-1)))],Dx={key:1},$x={colspan:"999"},Rx=Mx((()=>to("div",null,null,-1))),Ix=Zn({__name:"table-core",props:{hideRowCount:{type:Boolean},loading:{type:Boolean},page:{},pageTotal:{},rows:{default:()=>[]},rowCount:{default:({rows:t})=>(null==t?void 0:t.length)||0},onSearch:{},searchProps:{default:()=>({debounce:0,placeholder:"Search..."})},titleDescription:{},title:{}},emits:["sort","update:page"],setup(t,{emit:e}){const n=t,i=Ss();function r(t){return void 0!==t.page&&void 0!==t.pageTotal}const o=Po((()=>{const t=n.page||1,e=n.pageTotal,i=n.rowCount;if(!e||!i)return{start:0,end:0};let r;return r=t<e?n.rows.length*(t-1):i-n.rows.length,{start:r+1,end:r+n.rows.length}}));return(t,s)=>(Hr(),Xr("div",null,[r(n)||t.hideRowCount?oo("",!0):(Hr(),Xr("div",{key:0,class:G(t.$style.searchCountTop)},[ro(" Showing "),to("strong",null,tt(t.rows.length),1),ro(" of "),to("strong",null,tt(t.rowCount),1)],2)),t.$slots.title||t.title||t.$slots.titleDescription||t.titleDescription?(Hr(),Xr("div",{key:1,class:G(t.$style.titleRow)},[Ei(t.$slots,"title",{},(()=>[t.title?(Hr(),Yr(Am,{key:0},{default:Ln((()=>[ro(tt(t.title),1)])),_:1})):oo("",!0)]),!0),t.$slots.titleDescription||t.titleDescription?(Hr(),Xr("div",{key:0,class:G(t.$style.titleDescription)},[Ei(t.$slots,"titleDescription",{},(()=>[ro(tt(t.titleDescription),1)]),!0)],2)):oo("",!0)],2)):oo("",!0),t.$slots.search||t.onSearch?(Hr(),Xr("div",{key:2,class:G(t.$style.searchInput)},[Ei(t.$slots,"search",{},(()=>[eo(Fe(jb),{config:{delay:t.searchProps.debounce},placeholder:t.searchProps.placeholder,onInput:t.onSearch},null,8,["config","placeholder","onInput"])]),!0)],2)):oo("",!0),to("table",{class:G(t.$style.table)},[to("thead",{onClick:s[0]||(s[0]=t=>function(t){var n;if(!t.target)return;const r=md.get(t,"target.attributes.data-sort-by.value");if(!r)return;const o=t.target,s=o.classList.contains(i.active)?o.classList.contains(i.reverse)?"asc":"desc":"asc";null!=(n=o.parentElement)&&n.children&&Array.from(o.parentElement.children).forEach((t=>{t.classList&&(t.classList.remove(i.active),t.classList.remove(i.reverse))})),o.classList.add(i.active),o.classList["desc"===s?"add":"remove"](i.reverse),e("sort",r,s)}(t))},[Ei(t.$slots,"thead",{},void 0,!0)]),to("tbody",null,[(Hr(!0),Xr(Nr,null,Oi(t.rows,(e=>Ei(t.$slots,"tbody",{row:e,rows:t.rows},void 0,!0))),256)),t.loading?(Hr(),Xr("tr",Lx,jx)):oo("",!0),t.rows.length||t.loading?oo("",!0):(Hr(),Xr("tr",Dx,[to("td",$x,[Ei(t.$slots,"empty",{},(()=>[ro(" No items found ")]),!0)])]))])],2),r(n)?(Hr(),Xr("div",{key:3,class:G(t.$style.footer)},[Rx,eo(Fe(Sm),{"model-value":n.page,total:n.pageTotal,class:G(t.$style.pagination),"onUpdate:modelValue":s[1]||(s[1]=e=>t.$emit("update:page",e))},null,8,["model-value","total","class"]),t.hideRowCount?oo("",!0):(Hr(),Xr("div",{key:0,class:G(t.$style.searchCountBottom)},[ro(" Showing "),to("strong",null,tt(o.value.start)+"-"+tt(o.value.end),1),ro(" of "),to("strong",null,tt(t.rowCount),1)],2))],2)):oo("",!0)]))}}),Nx=xd(Ix,[["__cssModules",{$style:{icon:"_icon_sahpl_1",titleRow:"_titleRow_sahpl_51",titleDescription:"_titleDescription_sahpl_54",searchCount:"_searchCount_sahpl_58",searchCountTop:"_searchCountTop_sahpl_59",searchCountBottom:"_searchCountBottom_sahpl_60",searchInput:"_searchInput_sahpl_75",table:"_table_sahpl_79",active:"_active_sahpl_111",reverse:"_reverse_sahpl_114",footer:"_footer_sahpl_121",pagination:"_pagination_sahpl_131",spin:"_spin_sahpl_1"}}],["__scopeId","data-v-69b1dd7f"]]),Bx=(Object.assign(Nx,{Title:Am}),Boolean,Boolean,Se({id:1,active:[],add(t){Bx.active.push({id:this.id++,...t})},remove(t){const e=this.active.findIndex((e=>e.id===t));this.active.splice(e,1)},reset(){this.active=[],this.id=1}})),Fx="sidenav-lock",zx=(Se({isMobileOpen:!1,isLocked:!!(typeof localStorage<"u"&&localStorage.getItem(Fx)),toggleMobile(){this.isMobileOpen=!this.isMobileOpen},toggleLock(){this.isLocked=!this.isLocked,typeof localStorage<"u"&&(this.isLocked?localStorage.setItem(Fx,"true"):localStorage.removeItem(Fx))}}),{install(t,e={}){t.use(Px,e.form),t.directive("hidden",(function(t,e){t.style.visibility=e.value?"hidden":null}))}});function Vx(t,e,...n){if(t in e){let i=e[t];return"function"==typeof i?i(...n):i}let i=new Error(`Tried to handle "${t}" but there is no handler defined. Only defined handlers are: ${Object.keys(e).map((t=>`"${t}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,Vx),i}var Wx=(t=>(t[t.None=0]="None",t[t.RenderStrategy=1]="RenderStrategy",t[t.Static=2]="Static",t))(Wx||{}),Hx=(t=>(t[t.Unmount=0]="Unmount",t[t.Hidden=1]="Hidden",t))(Hx||{});function Ux({visible:t=!0,features:e=0,ourProps:n,theirProps:i,...r}){var o;let s=Xx(i,n),a=Object.assign(r,{props:s});return t||2&e&&s.static?qx(a):1&e?Vx(null==(o=s.unmount)||o?0:1,{0:()=>null,1:()=>qx({...r,props:{...s,hidden:!0,style:{display:"none"}}})}):qx(a)}function qx({props:t,attrs:e,slots:n,slot:i,name:r}){var o,s;let{as:a,...l}=function(t,e=[]){let n=Object.assign({},t);for(let t of e)t in n&&delete n[t];return n}(t,["unmount","static"]),c=null==(o=n.default)?void 0:o.call(n,i),u={};if(i){let t=!1,e=[];for(let[n,r]of Object.entries(i))"boolean"==typeof r&&(t=!0),!0===r&&e.push(n);t&&(u["data-headlessui-state"]=e.join(" "))}if("template"===a){if(c=Gx(c??[]),Object.keys(l).length>0||Object.keys(e).length>0){let[t,...n]=c??[];if(!function(t){return null!=t&&("string"==typeof t.type||"object"==typeof t.type||"function"==typeof t.type)}(t)||n.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${r} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(l).concat(Object.keys(e)).map((t=>t.trim())).filter(((t,e,n)=>n.indexOf(t)===e)).sort(((t,e)=>t.localeCompare(e))).map((t=>` - ${t}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map((t=>` - ${t}`)).join("\n")].join("\n"));let i=Xx(null!=(s=t.props)?s:{},l),o=io(t,i);for(let t in i)t.startsWith("on")&&(o.props||(o.props={}),o.props[t]=i[t]);return o}return Array.isArray(c)&&1===c.length?c[0]:c}return Mo(a,Object.assign({},l,u),{default:()=>c})}function Gx(t){return t.flatMap((t=>t.type===Nr?Gx(t.children):[t]))}function Xx(...t){if(0===t.length)return{};if(1===t.length)return t[0];let e={},n={};for(let i of t)for(let t in i)t.startsWith("on")&&"function"==typeof i[t]?(null!=n[t]||(n[t]=[]),n[t].push(i[t])):e[t]=i[t];if(e.disabled||e["aria-disabled"])return Object.assign(e,Object.fromEntries(Object.keys(n).map((t=>[t,void 0]))));for(let t in n)Object.assign(e,{[t](e,...i){let r=n[t];for(let t of r){if(e instanceof Event&&e.defaultPrevented)return;t(e,...i)}}});return e}let Yx=0;function Kx(){return++Yx}var Zx=(t=>(t.Space=" ",t.Enter="Enter",t.Escape="Escape",t.Backspace="Backspace",t.Delete="Delete",t.ArrowLeft="ArrowLeft",t.ArrowUp="ArrowUp",t.ArrowRight="ArrowRight",t.ArrowDown="ArrowDown",t.Home="Home",t.End="End",t.PageUp="PageUp",t.PageDown="PageDown",t.Tab="Tab",t))(Zx||{});function Jx(t){var e;return null==t||null==t.value?null:null!=(e=t.value.$el)?e:t.value}let Qx=Symbol("Context");var tw=(t=>(t[t.Open=1]="Open",t[t.Closed=2]="Closed",t[t.Closing=4]="Closing",t[t.Opening=8]="Opening",t))(tw||{});function ew(t,e){if(t)return t;let n=e??"button";return"string"==typeof n&&"button"===n.toLowerCase()?"button":void 0}var nw=(t=>(t[t.Open=0]="Open",t[t.Closed=1]="Closed",t))(nw||{});let iw=Symbol("DisclosureContext");function rw(t){let e=tr(iw,null);if(null===e){let e=new Error(`<${t} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,rw),e}return e}let ow=Symbol("DisclosurePanelContext");Zn({name:"Disclosure",props:{as:{type:[Object,String],default:"template"},defaultOpen:{type:[Boolean],default:!1}},setup(t,{slots:e,attrs:n}){let i=Re(t.defaultOpen?0:1),r=Re(null),o=Re(null),s={buttonId:Re(`headlessui-disclosure-button-${Kx()}`),panelId:Re(`headlessui-disclosure-panel-${Kx()}`),disclosureState:i,panel:r,button:o,toggleDisclosure(){i.value=Vx(i.value,{0:1,1:0})},closeDisclosure(){1!==i.value&&(i.value=1)},close(t){s.closeDisclosure();let e=t?t instanceof HTMLElement?t:t.value instanceof HTMLElement?Jx(t):Jx(s.button):Jx(s.button);null==e||e.focus()}};return Qi(iw,s),function(t){Qi(Qx,t)}(Po((()=>Vx(i.value,{0:tw.Open,1:tw.Closed})))),()=>{let{defaultOpen:r,...o}=t;return Ux({theirProps:o,ourProps:{},slot:{open:0===i.value,close:s.close},slots:e,attrs:n,name:"Disclosure"})}}}),Zn({name:"DisclosureButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(t,{attrs:e,slots:n,expose:i}){let r=rw("DisclosureButton"),o=tr(ow,null),s=Po((()=>null!==o&&o.value===r.panelId.value));di((()=>{s.value||null!==t.id&&(r.buttonId.value=t.id)})),mi((()=>{s.value||(r.buttonId.value=null)}));let a=Re(null);i({el:a,$el:a}),s.value||kr((()=>{r.button.value=a.value}));let l=function(t,e){let n=Re(ew(t.value.type,t.value.as));return di((()=>{n.value=ew(t.value.type,t.value.as)})),kr((()=>{var t;n.value||Jx(e)&&Jx(e)instanceof HTMLButtonElement&&(null==(t=Jx(e))||!t.hasAttribute("type"))&&(n.value="button")})),n}(Po((()=>({as:t.as,type:e.type}))),a);function c(){var e;t.disabled||(s.value?(r.toggleDisclosure(),null==(e=Jx(r.button))||e.focus()):r.toggleDisclosure())}function u(e){var n;if(!t.disabled)if(s.value)switch(e.key){case Zx.Space:case Zx.Enter:e.preventDefault(),e.stopPropagation(),r.toggleDisclosure(),null==(n=Jx(r.button))||n.focus()}else switch(e.key){case Zx.Space:case Zx.Enter:e.preventDefault(),e.stopPropagation(),r.toggleDisclosure()}}function h(t){t.key===Zx.Space&&t.preventDefault()}return()=>{var i;let o={open:0===r.disclosureState.value},{id:d,...p}=t;return Ux({ourProps:s.value?{ref:a,type:l.value,onClick:c,onKeydown:u}:{id:null!=(i=r.buttonId.value)?i:d,ref:a,type:l.value,"aria-expanded":0===r.disclosureState.value,"aria-controls":0===r.disclosureState.value||Jx(r.panel)?r.panelId.value:void 0,disabled:!!t.disabled||void 0,onClick:c,onKeydown:u,onKeyup:h},theirProps:p,slot:o,attrs:e,slots:n,name:"DisclosureButton"})}}}),Zn({name:"DisclosurePanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(t,{attrs:e,slots:n,expose:i}){let r=rw("DisclosurePanel");di((()=>{null!==t.id&&(r.panelId.value=t.id)})),mi((()=>{r.panelId.value=null})),i({el:r.panel,$el:r.panel}),Qi(ow,r.panelId);let o=tr(Qx,null),s=Po((()=>null!==o?(o.value&tw.Open)===tw.Open:0===r.disclosureState.value));return()=>{var i;let o={open:0===r.disclosureState.value,close:r.close},{id:a,...l}=t;return Ux({ourProps:{id:null!=(i=r.panelId.value)?i:a,ref:r.panel},theirProps:l,slot:o,attrs:e,slots:n,features:Wx.RenderStrategy|Wx.Static,visible:s.value,name:"DisclosurePanel"})}}});Boolean,Boolean,Boolean,Boolean,Boolean;Boolean,Boolean;const sw=xd(Zn({__name:"nav-link-contents",props:{link:{},wrapperMaxWidth:{}},setup:t=>(t,e)=>(Hr(),Xr("div",{class:"wrapper",style:V({maxWidth:t.wrapperMaxWidth})},[t.link.icon?(Hr(),Xr(Nr,{key:0},["string"==typeof t.link.icon?(Hr(),Yr(Fe(kd),{key:0,class:G([t.link.icon,"icon"]),icon:t.link.icon},null,8,["class","icon"])):(Hr(),Yr(ki(t.link.icon()),{key:1}))],64)):oo("",!0),Ei(t.$slots,"default",{},void 0,!0)],4))}),[["__scopeId","data-v-418031f4"]]),aw=["href","onClick"],lw={key:1};Boolean;Boolean;Boolean;const cw=(Boolean,{components:{Navigation:Nh,SelectField:tx,Form:Rm},data(){return{requiredTags:[],requiredOptions:[],forbiddenTags:[],forbiddenOptions:[],navHistory:this.$store.getters.getNavHistory}},methods:{handleRequiredTag(t){this.requiredTags.push(t),this.requiredOptions.push(t)},handleForbiddenTag(t){this.forbiddenTags.push(t),this.forbiddenOptions.push(t)},confirm(){this.$store.commit("setNavHistory","/6"),this.$store.commit("setPageScan",{required:this.requiredTags,forbidden:this.forbiddenTags}),this.$store.getters.getShouldConfigVerify?this.$router.push("/7"):this.$store.dispatch("confirm")}}});n(483);const uw=(0,Fs.A)(cw,[["render",function(t,e,n,i,r,o){const s=wi("SelectField"),a=wi("Form"),l=wi("Navigation");return Hr(),Xr("div",null,[e[4]||(e[4]=to("header",null," Configure TrustedForm Insights ",-1)),to("section",null,[e[2]||(e[2]=to("h3",null,"Page Scan Forbidden/Required Text",-1)),e[3]||(e[3]=to("p",null,[ro(" Please set your required and/or forbidden text for the TrustedForm set in LeadConduit; the step will fail if the required term is missing and if the forbidden term is present in the page. "),to("a",{href:"https://community.activeprospect.com/posts/4078890",target:"_blank"},"Learn More")],-1)),eo(a,{actions:!1},{default:Ln((()=>[eo(s,{name:"PageScan Required",modelValue:r.requiredTags,"onUpdate:modelValue":e[0]||(e[0]=t=>r.requiredTags=t),options:r.requiredOptions,taggable:"",multiple:"",onTag:o.handleRequiredTag,openDirection:"bottom"},null,8,["modelValue","options","onTag"]),eo(s,{name:"PageScan Forbidden",modelValue:r.forbiddenTags,"onUpdate:modelValue":e[1]||(e[1]=t=>r.forbiddenTags=t),options:r.forbiddenOptions,taggable:"",multiple:"",onTag:o.handleForbiddenTag,openDirection:"bottom"},null,8,["modelValue","options","onTag"])])),_:1})]),eo(l,{onConfirm:o.confirm,disableConfirm:!1,navHistory:r.navHistory},null,8,["onConfirm","navHistory"])])}],["__scopeId","data-v-095237e3"]]),hw={components:{Navigation:Nh,TextField:ex,Form:Rm},data(){return{advertiserName:"",navHistory:this.$store.getters.getNavHistory}},methods:{confirm(){this.$store.commit("setAdvertiserName",{advertiserName:this.advertiserName}),this.$store.dispatch("confirm")}}};n(535);const dw=(0,Fs.A)(hw,[["render",function(t,e,n,i,r,o){const s=wi("Form"),a=wi("Navigation");return Hr(),Xr("div",null,[e[2]||(e[2]=to("header",null," Configure TrustedForm Verify ",-1)),to("section",null,[e[1]||(e[1]=to("p",null," Enter the name of the legal entity for an advertiser that will be used to determine if they were given consent in a one to one manner. ",-1)),eo(s,{actions:!1},{default:Ln((()=>[jn(to("input",{"onUpdate:modelValue":e[0]||(e[0]=t=>r.advertiserName=t),type:"text",placeholder:"(optional) keep empty if you don't need to check one-to-one consent"},null,512),[[Ts,r.advertiserName]])])),_:1})]),eo(a,{onConfirm:o.confirm,disableConfirm:!1,navHistory:r.navHistory},null,8,["onConfirm","navHistory"])])}],["__scopeId","data-v-6a23f3df"]]),pw=function(t){const e=function(t,e){const n=[],i=new Map;function r(t,n,i){const a=!i,l=Gu(t);l.aliasOf=i&&i.record;const c=Zu(e,t),u=[l];if("alias"in t){const e="string"==typeof t.alias?[t.alias]:t.alias;for(const t of e)u.push(Gu(Yc({},l,{components:i?i.record.components:l.components,path:t,aliasOf:i?i.record:l})))}let h,d;for(const e of u){const{path:u}=e;if(n&&"/"!==u[0]){const t=n.record.path,i="/"===t[t.length-1]?"":"/";e.path=n.record.path+(u&&i+u)}if(h=Uu(e,n,c),i?i.alias.push(h):(d=d||h,d!==h&&d.alias.push(h),a&&t.name&&!Yu(h)&&o(t.name)),Ju(h)&&s(h),l.children){const t=l.children;for(let e=0;e<t.length;e++)r(t[e],h,i&&i.children[e])}i=i||h}return d?()=>{o(d)}:Zc}function o(t){if(Lu(t)){const e=i.get(t);e&&(i.delete(t),n.splice(n.indexOf(e),1),e.children.forEach(o),e.alias.forEach(o))}else{const e=n.indexOf(t);e>-1&&(n.splice(e,1),t.record.name&&i.delete(t.record.name),t.children.forEach(o),t.alias.forEach(o))}}function s(t){const e=function(t,e){let n=0,i=e.length;for(;n!==i;){const r=n+i>>1;zu(t,e[r])<0?i=r:n=r+1}const r=function(t){let e=t;for(;e=e.parent;)if(Ju(e)&&0===zu(t,e))return e}(t);return r&&(i=e.lastIndexOf(r,i-1)),i}(t,n);n.splice(e,0,t),t.record.name&&!Yu(t)&&i.set(t.record.name,t)}return e=Zu({strict:!1,end:!0,sensitive:!1},e),t.forEach((t=>r(t))),{addRoute:r,resolve:function(t,e){let r,o,s,a={};if("name"in t&&t.name){if(r=i.get(t.name),!r)throw $u(1,{location:t});s=r.record.name,a=Yc(qu(e.params,r.keys.filter((t=>!t.optional)).concat(r.parent?r.parent.keys.filter((t=>t.optional)):[]).map((t=>t.name))),t.params&&qu(t.params,r.keys.map((t=>t.name)))),o=r.stringify(a)}else if(null!=t.path)o=t.path,r=n.find((t=>t.re.test(o))),r&&(a=r.parse(o),s=r.record.name);else{if(r=e.name?i.get(e.name):n.find((t=>t.re.test(e.path))),!r)throw $u(1,{location:t,currentLocation:e});s=r.record.name,a=Yc({},e.params,t.params),o=r.stringify(a)}const l=[];let c=r;for(;c;)l.unshift(c.record),c=c.parent;return{name:s,path:o,params:a,matched:l,meta:Ku(l)}},removeRoute:o,clearRoutes:function(){n.length=0,i.clear()},getRoutes:function(){return n},getRecordMatcher:function(t){return i.get(t)}}}(t.routes,t),n=t.parseQuery||Qu,i=t.stringifyQuery||th,r=t.history,o=ah(),s=ah(),a=ah(),l=Ie(Su,!0);let c=Su;Gc&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Kc.bind(null,(t=>""+t)),h=Kc.bind(null,gu),d=Kc.bind(null,mu);function p(t,o){if(o=Yc({},o||l.value),"string"==typeof t){const i=yu(n,t,o.path),s=e.resolve({path:i.path},o),a=r.createHref(i.fullPath);return Yc(i,s,{params:d(s.params),hash:mu(i.hash),redirectedFrom:void 0,href:a})}let s;if(null!=t.path)s=Yc({},t,{path:yu(n,t.path,o.path).path});else{const e=Yc({},t.params);for(const t in e)null==e[t]&&delete e[t];s=Yc({},t,{params:h(e)}),o.params=h(o.params)}const a=e.resolve(s,o),c=t.hash||"";a.params=u(d(a.params));const p=function(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}(i,Yc({},t,{hash:(f=c,pu(f).replace(cu,"{").replace(hu,"}").replace(au,"^")),path:a.path}));var f;const g=r.createHref(p);return Yc({fullPath:p,hash:c,query:i===th?eh(t.query):t.query||{}},a,{redirectedFrom:void 0,href:g})}function f(t){return"string"==typeof t?yu(n,t,l.value.path):Yc({},t)}function g(t,e){if(c!==t)return $u(8,{from:e,to:t})}function m(t){return y(t)}function v(t){const e=t.matched[t.matched.length-1];if(e&&e.redirect){const{redirect:n}=e;let i="function"==typeof n?n(t):n;return"string"==typeof i&&(i=i.includes("?")||i.includes("#")?i=f(i):{path:i},i.params={}),Yc({query:t.query,hash:t.hash,params:null!=i.path?{}:t.params},i)}}function y(t,e){const n=c=p(t),r=l.value,o=t.state,s=t.force,a=!0===t.replace,u=v(n);if(u)return y(Yc(f(u),{state:"object"==typeof u?Yc({},o,u.state):o,force:s,replace:a}),e||n);const h=n;let d;return h.redirectedFrom=e,!s&&function(t,e,n){const i=e.matched.length-1,r=n.matched.length-1;return i>-1&&i===r&&bu(e.matched[i],n.matched[r])&&_u(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}(i,r,n)&&(d=$u(16,{to:h,from:r}),M(r,r,!0,!1)),(d?Promise.resolve(d):x(h,r)).catch((t=>Ru(t)?Ru(t,2)?t:P(t):E(t,h,r))).then((t=>{if(t){if(Ru(t,2))return y(Yc({replace:a},f(t.to),{state:"object"==typeof t.to?Yc({},o,t.to.state):o,force:s}),e||h)}else t=S(h,r,!0,a,o);return w(h,r,t),t}))}function b(t,e){const n=g(t,e);return n?Promise.reject(n):Promise.resolve()}function _(t){const e=D.values().next().value;return e&&"function"==typeof e.runWithContext?e.runWithContext(t):t()}function x(t,e){let n;const[i,r,a]=function(t,e){const n=[],i=[],r=[],o=Math.max(e.matched.length,t.matched.length);for(let s=0;s<o;s++){const o=e.matched[s];o&&(t.matched.find((t=>bu(t,o)))?i.push(o):n.push(o));const a=t.matched[s];a&&(e.matched.find((t=>bu(t,a)))||r.push(a))}return[n,i,r]}(t,e);n=ch(i.reverse(),"beforeRouteLeave",t,e);for(const r of i)r.leaveGuards.forEach((i=>{n.push(lh(i,t,e))}));const l=b.bind(null,t,e);return n.push(l),R(n).then((()=>{n=[];for(const i of o.list())n.push(lh(i,t,e));return n.push(l),R(n)})).then((()=>{n=ch(r,"beforeRouteUpdate",t,e);for(const i of r)i.updateGuards.forEach((i=>{n.push(lh(i,t,e))}));return n.push(l),R(n)})).then((()=>{n=[];for(const i of a)if(i.beforeEnter)if(Jc(i.beforeEnter))for(const r of i.beforeEnter)n.push(lh(r,t,e));else n.push(lh(i.beforeEnter,t,e));return n.push(l),R(n)})).then((()=>(t.matched.forEach((t=>t.enterCallbacks={})),n=ch(a,"beforeRouteEnter",t,e,_),n.push(l),R(n)))).then((()=>{n=[];for(const i of s.list())n.push(lh(i,t,e));return n.push(l),R(n)})).catch((t=>Ru(t,8)?t:Promise.reject(t)))}function w(t,e,n){a.list().forEach((i=>_((()=>i(t,e,n)))))}function S(t,e,n,i,o){const s=g(t,e);if(s)return s;const a=e===Su,c=Gc?history.state:{};n&&(i||a?r.replace(t.fullPath,Yc({scroll:a&&c&&c.scroll},o)):r.push(t.fullPath,o)),l.value=t,M(t,e,n,a),P()}let k;function C(){k||(k=r.listen(((t,e,n)=>{if(!$.listening)return;const i=p(t),o=v(i);if(o)return void y(Yc(o,{replace:!0}),i).catch(Zc);c=i;const s=l.value;var a,u;Gc&&(a=Eu(s.fullPath,n.delta),u={left:window.scrollX,top:window.scrollY},Pu.set(a,u)),x(i,s).catch((t=>Ru(t,12)?t:Ru(t,2)?(y(t.to,i).then((t=>{Ru(t,20)&&!n.delta&&n.type===ku.pop&&r.go(-1,!1)})).catch(Zc),Promise.reject()):(n.delta&&r.go(-n.delta,!1),E(t,i,s)))).then((t=>{(t=t||S(i,s,!1))&&(n.delta&&!Ru(t,8)?r.go(-n.delta,!1):n.type===ku.pop&&Ru(t,20)&&r.go(-1,!1)),w(i,s,t)})).catch(Zc)})))}let A,O=ah(),T=ah();function E(t,e,n){P(t);const i=T.list();return i.length?i.forEach((i=>i(t,e,n))):console.error(t),Promise.reject(t)}function P(t){return A||(A=!t,C(),O.list().forEach((([e,n])=>t?n(t):e())),O.reset()),t}function M(e,n,i,r){const{scrollBehavior:o}=t;if(!Gc||!o)return Promise.resolve();const s=!i&&function(t){const e=Pu.get(t);return Pu.delete(t),e}(Eu(e.fullPath,0))||(r||!i)&&history.state&&history.state.scroll||null;return hn().then((()=>o(e,n,s))).then((t=>t&&function(t){let e;if("el"in t){const n=t.el,i="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;e=function(t,e){const n=document.documentElement.getBoundingClientRect(),i=t.getBoundingClientRect();return{behavior:e.behavior,left:i.left-n.left-(e.left||0),top:i.top-n.top-(e.top||0)}}(r,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(null!=e.left?e.left:window.scrollX,null!=e.top?e.top:window.scrollY)}(t))).catch((t=>E(t,e,n)))}const L=t=>r.go(t);let j;const D=new Set,$={currentRoute:l,listening:!0,addRoute:function(t,n){let i,r;return Lu(t)?(i=e.getRecordMatcher(t),r=n):r=t,e.addRoute(r,i)},removeRoute:function(t){const n=e.getRecordMatcher(t);n&&e.removeRoute(n)},clearRoutes:e.clearRoutes,hasRoute:function(t){return!!e.getRecordMatcher(t)},getRoutes:function(){return e.getRoutes().map((t=>t.record))},resolve:p,options:t,push:m,replace:function(t){return m(Yc(f(t),{replace:!0}))},go:L,back:()=>L(-1),forward:()=>L(1),beforeEach:o.add,beforeResolve:s.add,afterEach:a.add,onError:T.add,isReady:function(){return A&&l.value!==Su?Promise.resolve():new Promise(((t,e)=>{O.add([t,e])}))},install(t){const n=this;t.component("RouterLink",hh),t.component("RouterView",mh),t.config.globalProperties.$router=n,Object.defineProperty(t.config.globalProperties,"$route",{enumerable:!0,get:()=>Fe(l)}),Gc&&!j&&l.value===Su&&(j=!0,m(r.location).catch((t=>{})));const i={};for(const t in Su)Object.defineProperty(i,t,{get:()=>l.value[t],enumerable:!0});t.provide(rh,n),t.provide(oh,ke(i)),t.provide(sh,l);const o=t.unmount;D.add(t),t.unmount=function(){D.delete(t),D.size<1&&(c=Su,k&&k(),k=null,l.value=Su,j=!1,A=!1),o()},__VUE_PROD_DEVTOOLS__&&Gc&&_h(t,n,e)}};function R(t){return t.reduce(((t,e)=>t.then((()=>_(e)))),Promise.resolve())}return $}({history:function(t=""){let e=[],n=[""],i=0;function r(t){i++,i!==n.length&&n.splice(i),n.push(t)}const o={location:"",state:{},base:t=Au(t),createHref:Tu.bind(null,t),replace(t){n.splice(i--,1),r(t)},push(t,e){r(t)},listen:t=>(e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}),destroy(){e=[],n=[""],i=0},go(t,r=!0){const o=this.location,s=t<0?Cu.back:Cu.forward;i=Math.max(0,Math.min(i+t,n.length-1)),r&&function(t,n,{direction:i,delta:r}){const o={direction:i,delta:r,type:ku.pop};for(const i of e)i(t,n,o)}(this.location,o,{direction:s,delta:t})}};return Object.defineProperty(o,"location",{enumerable:!0,get:()=>n[i]}),o}(),routes:[{path:"/",name:"Default",component:Vs,children:[{path:"",alias:"1",name:"PageOne",component:Wh},{path:"2",name:"PageTwo",component:qh},{path:"3",name:"PageThree",component:Xh},{path:"4",name:"PageFour",component:nd},{path:"5",name:"PageFive",component:cd},{path:"6",name:"PageSix",component:uw},{path:"7",name:"PageSeven",component:dw}]}]});i().init((function(t){const e=Bs(Vs);e.use(qc(t,i())),e.use(pw),e.use(zx),e.mount("#app")}))})()})();
|