1/*! For license information please see 31.9d2757a6.js.LICENSE.txt */ 2(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[31],{6704:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});r(14041);var n=r(90213),o=r(31085);function a(t){let{children:e,fallback:r}=t;return(0,n.A)()?(0,o.jsx)(o.Fragment,{children:e?.()}):r??null}},53759:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});r(14041);var n=r(54357);const o={tabItem:"tabItem_OMyP"};var a=r(31085);function i(t){let{children:e,hidden:r,className:i}=t;return(0,a.jsx)("div",{role:"tabpanel",className:(0,n.A)(o.tabItem,i),hidden:r,children:e})}},41732:(t,e,r)=>{"use strict";r.d(e,{A:()=>_});var n=r(14041),o=r(54357),a=r(91034),i=r(86090),s=r(73351),u=r(86703),c=r(46004),l=r(62096);function p(t){return n.Children.toArray(t).filter((t=>"\n"!==t)).map((t=>{if(!t||(0,n.isValidElement)(t)&&function(t){const{props:e}=t;return!!e&&"object"==typeof e&&"value"in e}(t))return t;throw new Error(`Docusaurus error: Bad <Tabs> child <${"string"==typeof t.type?t.type:t.type.name}>: all children of the <Tabs> component should be <TabItem>, and every <TabItem> should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function f(t){const{values:e,children:r}=t;return(0,n.useMemo)((()=>{const t=e??function(t){return p(t).map((t=>{let{props:{value:e,label:r,attributes:n,default:o}}=t;return{value:e,label:r,attributes:n,default:o}}))}(r);return function(t){const e=(0,c.X)(t,((t,e)=>t.value===e.value));if(e.length>0)throw new Error(`Docusaurus error: Duplicate values "${e.map((t=>t.value)).join(", ")}" found in <Tabs>. Every value needs to be unique.`)}(t),t}),[e,r])}function d(t){let{value:e,tabValues:r}=t;return r.some((t=>t.value===e))}function h(t){let{queryString:e=!1,groupId:r}=t;const o=(0,i.W6)(),a=function(t){let{queryString:e=!1,groupId:r}=t;if("string"==typeof e)return e;if(!1===e)return null;if(!0===e&&!r)throw new Error('Docusaurus error: The <Tabs> component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return r??null}({queryString:e,groupId:r});return[(0,u.aZ)(a),(0,n.useCallback)((t=>{if(!a)return;const e=new URLSearchParams(o.location.search);e.set(a,t),o.replace({...o.location,search:e.toString()})}),[a,o])]}function m(t){const{defaultValue:e,queryString:r=!1,groupId:o}
2=t,a=f(t),[i,u]=(0,n.useState)((()=>function(t){let{defaultValue:e,tabValues:r}=t;if(0===r.length)throw new Error("Docusaurus error: the <Tabs> component requires at least one <TabItem> children component");if(e){if(!d({value:e,tabValues:r}))throw new Error(`Docusaurus error: The <Tabs> has a defaultValue "${e}" but none of its children has the corresponding value. Available values are: ${r.map((t=>t.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return e}const n=r.find((t=>t.default))??r[0];if(!n)throw new Error("Unexpected error: 0 tabValues");return n.value}({defaultValue:e,tabValues:a}))),[c,p]=h({queryString:r,groupId:o}),[m,b]=function(t){let{groupId:e}=t;const r=function(t){return t?`docusaurus.tab.${t}`:null}(e),[o,a]=(0,l.Dv)(r);return[o,(0,n.useCallback)((t=>{r&&a.set(t)}),[r,a])]}({groupId:o}),v=(()=>{const t=c??m;return d({value:t,tabValues:a})?t:null})();(0,s.A)((()=>{v&&u(v)}),[v]);return{selectedValue:i,selectValue:(0,n.useCallback)((t=>{if(!d({value:t,tabValues:a}))throw new Error(`Can't select invalid tab value=${t}`);u(t),p(t),b(t)}),[p,b,a]),tabValues:a}}var b=r(90213);const v={tabList:"tabList_M0Dn",tabItem:"tabItem_ysIP"};var y=r(31085);function g(t){let{className:e,block:r,selectedValue:n,selectValue:i,tabValues:s}=t;const u=[],{blockElementScrollPositionUntilNextRender:c}=(0,a.a_)(),l=t=>{const e=t.currentTarget,r=u.indexOf(e),o=s[r].value;o!==n&&(c(e),i(o))},p=t=>{let e=null;switch(t.key){case"Enter":l(t);break;case"ArrowRight":{const r=u.indexOf(t.currentTarget)+1;e=u[r]??u[0];break}case"ArrowLeft":{const r=u.indexOf(t.currentTarget)-1;e=u[r]??u[u.length-1];break}}e?.focus()};return(0,y.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,o.A)("tabs",{"tabs--block":r},e),children:s.map((t=>{let{value:e,label:r,attributes:a}=t;return(0,y.jsx)("li",{role:"tab",tabIndex:n===e?0:-1,"aria-selected":n===e,ref:t=>u.push(t),onKeyDown:p,onClick:l,...a,className:(0,o.A)("tabs__item",v.tabItem,a?.className,{"tabs__item--active":n===e}),children:r??e},e)}))})}function x(t){let{lazy:e,children:r,selectedValue:o}=t;const a=(Array.isArray(r)?r:[r]).filter(Boolean);if(e){const t=a.find((t=>t.props.value===o));return t?(0,n.cloneElement)(t,{className:"margin-top--md"}):null}return(0,y.jsx)("div",{className:"margin-top--md",children:a.map(((t,e)=>(0,n.cloneElement)(t,{key:e,hidden:t.props.value!==o})))})}function S(t){const e=m(t);return(0,y.jsxs)("div",{className:(0,o.A)("tabs-container",v.tabList),
2children:[(0,y.jsx)(g,{...t,...e}),(0,y.jsx)(x,{...t,...e})]})}function _(t){const e=(0,b.A)();return(0,y.jsx)(S,{...t,children:p(t.children)},String(e))}},35579:(t,e,r)=>{var n=r(72255)(r(85834),"DataView");t.exports=n},58574:(t,e,r)=>{var n=r(80341),o=r(99237),a=r(40204),i=r(35112),s=r(28040);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=i,u.prototype.set=s,t.exports=u},462:(t,e,r)=>{var n=r(18741),o=r(45669),a=r(56428),i=r(33e3),s=r(49608);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=i,u.prototype.set=s,t.exports=u},814:(t,e,r)=>{var n=r(72255)(r(85834),"Map");t.exports=n},74878:(t,e,r)=>{var n=r(7973),o=r(64565),a=r(95548),i=r(920),s=r(53752);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=i,u.prototype.set=s,t.exports=u},90825:(t,e,r)=>{var n=r(72255)(r(85834),"Promise");t.exports=n},24876:(t,e,r)=>{var n=r(72255)(r(85834),"Set");t.exports=n},32776:(t,e,r)=>{var n=r(74878),o=r(73),a=r(40522);function i(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,t.exports=i}
vendor: 6,360 bytes, line 2
2,38592:(t,e,r)=>{var n=r(462),o=r(6051),a=r(56375),i=r(27558),s=r(70114),u=r(77050);function c(t){var e=this.__data__=new n(t);this.size=e.size}c.prototype.clear=o,c.prototype.delete=a,c.prototype.get=i,c.prototype.has=s,c.prototype.set=u,t.exports=c},64430:(t,e,r)=>{var n=r(85834).Symbol;t.exports=n},86307:(t,e,r)=>{var n=r(85834).Uint8Array;t.exports=n},42106:(t,e,r)=>{var n=r(72255)(r(85834),"WeakMap");t.exports=n},17412:t=>{t.exports=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}},99556:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););return t}},43347:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,a=[];++r<n;){var i=t[r];e(i,r,t)&&(a[o++]=i)}return a}},96992:(t,e,r)=>{var n=r(31706);t.exports=function(t,e){return!!(null==t?0:t.length)&&n(t,e,0)>-1}},79656:t=>{t.exports=function(t,e,r){for(var n=-1,o=null==t?0:t.length;++n<o;)if(r(e,t[n]))return!0;return!1}},57898:(t,e,r)=>{var n=r(16837),o=r(52559),a=r(39970),i=r(67457),s=r(48836),u=r(10102),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),l=!r&&o(t),p=!r&&!l&&i(t),f=!r&&!l&&!p&&u(t),d=r||l||p||f,h=d?n(t.length,String):[],m=h.length;for(var b in t)!e&&!c.call(t,b)||d&&("length"==b||p&&("offset"==b||"parent"==b)||f&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,m))||h.push(b);return h}},71795:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}},685:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}},80869:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},76490:(t,e,r)=>{var n=r(28613),o=r(84937),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var i=t[e];a.call(t,e)&&o(i,r)&&(void 0!==r||e in t)||n(t,e,r)}},37774:(t,e,r)=>{var n=r(84937);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},79718:(t,e,r)=>{var n=r(44428),o=r(45575);t.exports=function(t,e){return t&&n(e,o(e),t)}},95761:(t,e,r)=>{var n=r(44428),o=r(7980);t.exports=function(t,e){return t&&n(e,o(e),t)}},28613:(t,e,r)=>{var n=r(70152);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},75194:(t,e,r)=>{var n=r(38592),o=r(99556),a=r(76490),i=r(79718),s=r(95761),u=r(6231),c=r(87382),l=r(97334),p=r(79617),f=r(46125),d=r(15614),h=r(69474),m=r(6522),b=r(79644),v=r(80080),y=r(39970),g=r(67457),x=r(83941),S=r(63928),_=r(54451),w=r(45575),C=r(7980),A="[object Arguments]",j="[object Function]",E="[object Object]",O={};O[A]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O[E]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O[j]=O["[object WeakMap]"]=!1,t.exports=function t(e,r,T,I,D,N){var B,L=1&r,F=2&r,R=4&r;if(T&&(B=D?T(e,I,D,N):T(e)),void 0!==B)return B;if(!S(e))return e;var P=y(e);if(P){if(B=m(e),!L)return c(e,B)}else{var M=h(e),k=M==j||"[object GeneratorFunction]"==M;if(g(e))return u(e,L);if(M==E||M==A||k&&!D){if(B=F||k?{}:v(e),!L)return F?p(e,s(B,e)):l(e,i(B,e))}else{if(!O[M])return D?e:{};B=b(e,M,L)}}N||(N=new n);var z=N.get(e);if(z)return z;N.set(e,B),_(e)?e.forEach((function(n){B.add(t(n,r,T,n,e,N))})):x(e)&&e.forEach((function(n,o){B.set(o,t(n,r,T,o,e,N))}));var $=P?void 0:(R?F?d:f:F?C:w)(e);return o($||e,(function(n,o){$&&(n=e[o=n]),a(B,o,t(n,r,T,o,e,N))})),B}},34663:(t,e,r)=>{var n=r(63928),o=Object.create,a=function(){function t(){}return function(e){if(!n(e))return{};if(o)return o(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();t.exports=a},83270:t=>{t.exports=function(t,e,r,n){for(var o=t.length,a=r+(n?1:-1);n?a--:++a<o;)if(e(t[a],a,t))return a;return-1}},9229:(t,e,r)=>{var n=r(685),o=r(80406);t.exports=function t(e,r,a,i,s){var u=-1,c=e.length;for(a||(a=o),s||(s=[]);++u<c;){var l=e[u];r>0&&a(l)?r>1?t(l,r-1,a,i,s):n(s,l):i||(s[s.length]=l)}return s}},24584:(t,e,r)=>{var n=r(40800)();t.exports=n},61590:(t,e,r)=>{var n=r(24584),o=r(45575);t.exports=function(t,e){return t&&n(t,e,o)}},75455:(t,e,r)=>{var n=r(30746),o=r(73628);t.exports=function(t,e){for(var r=0,a=(e=n(e,t)).length;null!=t&&r<a;)t=t[o(e[r++])];return r&&r==a?t:void 0}},21936:(t,e,r)=>{var n=r(685),o=r(39970);t.exports=function(t,e,r){var a=e(t);return o(t)?a:n(a,r(t))}},26775:(t,e,r)=>{var n=r(64430),o=r(72946),a=r(47873),i=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":i&&i in Object(t)?o(t):a(t)}},42256:t=>{t.exports=function(t,e){return null!=t&&e in Object(t)}},31706:(t,e,r)=>{var n=r(83270),o=r(82978),a=r(14478);t.exports=function(t,e,r){return e==e?a(t,e,r):n(t,o,r)}},15810:(t,e,r)=>{var n=r(32776),o=r(96992),a=r(79656),i=r(71795),s=r(48872),u=r(73244),c=Math.min;t.exports=function(t,e,r){for(var l=r?a:o,p=t[0].length,f=t.length,d=f,h=Array(f),m=1/0,b=[];d--;){var v=t[d];d&&e&&(v=i(v,s(e))),m=c(v.length,m),h[d]=!r&&(e||p>=120&&v.length>=120)?new n(d&&v):void 0}v=t[0];var y=-1,g=h[0];t:for(;++y<p&&b.length<m;){var x=v[y],S=e?e(x):x;if(x=r||0!==x?x:0,!(g?u(g,S):l(b,S,r))){for(d=f;--d;){var _=h[d];if(!(_?u(_,S):l(t[d],S,r)))continue t}g&&g.push(S),b.push(x)}}return b}},89684:(t,e,r)=>{var n=r(61590);t.exports=function(t,e,r,o){return n(t,(function(t,n,a){e(o,r(t),n,a)})),o}},87055:(t,e,r)=>{var n=r(26775),o=r(60383);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},53579:(t,e,r)=>{var n=r(25621),o=r(60383);t.exports=function t(e,r,a,i,s){return e===r||(null==e||null==r||!o(e)&&!o(r)?e!=e&&r!=r:n(e,r,a,i,t,s))}},25621:(t,e,r)=>{var n=r(38592),o=r(13634),a=r(42361),i=r(87298),s=r(69474),u=r(39970),c=r(67457),l=r(10102),p="[object Arguments]",f="[object Array]",d="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,m,b,v){var y=u(t),g=u(e),x=y?f:s(t),S=g?f:s(e),_=(x=x==p?d:x)==d,w=(S=S==p?d:S)==d,C=x==S;
vendor: 3,257 bytes, line 2
2if(C&&c(t)){if(!c(e))return!1;y=!0,_=!1}if(C&&!_)return v||(v=new n),y||l(t)?o(t,e,r,m,b,v):a(t,e,x,r,m,b,v);if(!(1&r)){var A=_&&h.call(t,"__wrapped__"),j=w&&h.call(e,"__wrapped__");if(A||j){var E=A?t.value():t,O=j?e.value():e;return v||(v=new n),b(E,O,r,m,v)}}return!!C&&(v||(v=new n),i(t,e,r,m,b,v))}},70437:(t,e,r)=>{var n=r(69474),o=r(60383);t.exports=function(t){return o(t)&&"[object Map]"==n(t)}},86126:(t,e,r)=>{var n=r(38592),o=r(53579);t.exports=function(t,e,r,a){var i=r.length,s=i,u=!a;if(null==t)return!s;for(t=Object(t);i--;){var c=r[i];if(u&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++i<s;){var l=(c=r[i])[0],p=t[l],f=c[1];if(u&&c[2]){if(void 0===p&&!(l in t))return!1}else{var d=new n;if(a)var h=a(p,f,l,t,e,d);if(!(void 0===h?o(f,p,3,a,d):h))return!1}}return!0}},82978:t=>{t.exports=function(t){return t!=t}},68308:(t,e,r)=>{var n=r(82715),o=r(48211),a=r(63928),i=r(14366),s=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,l=u.toString,p=c.hasOwnProperty,f=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?f:s).test(i(t))}},40947:(t,e,r)=>{var n=r(69474),o=r(60383);t.exports=function(t){return o(t)&&"[object Set]"==n(t)}},1910:(t,e,r)=>{var n=r(26775),o=r(7351),a=r(60383),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,t.exports=function(t){return a(t)&&o(t.length)&&!!i[n(t)]}},29866:(t,e,r)=>{var n=r(21642),o=r(59),a=r(6849),i=r(39970),s=r(10014);t.exports=function(t){return"function"==typeof t?t:null==t?a:"object"==typeof t?i(t)?o(t[0],t[1]):n(t):s(t)}},24807:(t,e,r)=>{var n=r(16182),o=r(21157),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},97324:(t,e,r)=>{var n=r(63928),o=r(16182),a=r(81078),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return a(t);var e=o(t),r=[];for(var s in t)("constructor"!=s||!e&&i.call(t,s))&&r.push(s);return r}},21642:(t,e,r)=>{var n=r(86126),o=r(74891),a=r(5684);t.exports=function(t){var e=o(t);return 1==e.length&&e[0][2]?a(e[0][0],e[0][1]):function(r){return r===t||n(r,t,e)}}},59:(t,e,r)=>{var n=r(53579),o=r(2655),a=r(55760),i=r(6439),s=r(16519),u=r(5684),c=r(73628);t.exports=function(t,e){return i(t)&&s(e)?u(c(t),e):function(r){var i=o(r,t);return void 0===i&&i===e?a(r,t):n(e,i,3)}}},72158:t=>{t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},75820:(t,e,r)=>{var n=r(75455);t.exports=function(t){return function(e){return n(e,t)}}},89461:(t,e,r)=>{var n=r(6849),o=r(13614),a=r(64608);t.exports=function(t,e){return a(o(t,e,n),t+"")}},64215:(t,e,r)=>
vendor: 4,030 bytes, line 2
2{var n=r(30615),o=r(70152),a=r(6849),i=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:a;t.exports=i},85825:t=>{t.exports=function(t,e,r){var n=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(r=r>o?o:r)<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var a=Array(o);++n<o;)a[n]=t[n+e];return a}},16837:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},14119:(t,e,r)=>{var n=r(64430),o=r(71795),a=r(39970),i=r(33471),s=n?n.prototype:void 0,u=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(a(e))return o(e,t)+"";if(i(e))return u?u.call(e):"";var r=e+"";return"0"==r&&1/e==-Infinity?"-0":r}},24639:(t,e,r)=>{var n=r(20837),o=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(o,""):t}},48872:t=>{t.exports=function(t){return function(e){return t(e)}}},19398:(t,e,r)=>{var n=r(30746),o=r(4827),a=r(38130),i=r(73628),s=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=-1,u=(e=n(e,t)).length;if(!u)return!0;for(;++r<u;){var c=i(e[r]);if("__proto__"===c&&!s.call(t,"__proto__"))return!1;if(("constructor"===c||"prototype"===c)&&r<u-1)return!1}var l=a(t,e);return null==l||delete l[i(o(e))]}},73244:t=>{t.exports=function(t,e){return t.has(e)}},54204:(t,e,r)=>{var n=r(64274);t.exports=function(t){return n(t)?t:[]}},30746:(t,e,r)=>{var n=r(39970),o=r(6439),a=r(7761),i=r(51975);t.exports=function(t,e){return n(t)?t:o(t,e)?[t]:a(i(t))}},74966:(t,e,r)=>{var n=r(86307);t.exports=function(t){var e=new t.constructor(t.byteLength);return new n(e).set(new n(t)),e}},6231:(t,e,r)=>{t=r.nmd(t);var n=r(85834),o=e&&!e.nodeType&&e,a=o&&t&&!t.nodeType&&t,i=a&&a.exports===o?n.Buffer:void 0,s=i?i.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var r=t.length,n=s?s(r):new t.constructor(r);return t.copy(n),n}},69444:(t,e,r)=>{var n=r(74966);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}},36824:t=>{var e=/\w*$/;t.exports=function(t){var r=new t.constructor(t.source,e.exec(t));return r.lastIndex=t.lastIndex,r}},30137:(t,e,r)=>{var n=r(64430),o=n?n.prototype:void 0,a=o?o.valueOf:void 0;t.exports=function(t){return a?Object(a.call(t)):{}}},82492:(t,e,r)=>{var n=r(74966);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},87382:t=>{t.exports=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}},44428:(t,e,r)=>{var n=r(76490),o=r(28613);t.exports=function(t,e,r,a){var i=!r;r||(r={});for(var s=-1,u=e.length;++s<u;){var c=e[s],l=a?a(r[c],t[c],c,r,t):void 0;void 0===l&&(l=t[c]),i?o(r,c,l):n(r,c,l)}return r}},97334:(t,e,r)=>{var n=r(44428),o=r(42111);t.exports=function(t,e){return n(t,o(t),e)}},79617:(t,e,r)=>{var n=r(44428),o=r(3492);t.exports=function(t,e){return n(t,o(t),e)}},74210:(t,e,r)=>{var n=r(85834)["__core-js_shared__"];t.exports=n},40800:t=>{t.exports=function(t){return function(e,r,n){for(var o=-1,a=Object(e),i=n(e),s=i.length;s--;){var u=i[t?s:++o];if(!1===r(a[u],u,a))break}return e}}},38873:(t,e,r)=>{var n=r(89684);t.exports=function(t,e){return function(r,o){return n(r,t,e(o),{})}}},19423:(t,e,r)=>{var n=r(97852);t.exports=function(t){return n(t)?void 0:t}},70152:(t,e,r)=>{var n=r(72255),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();t.exports=o},13634:(t,e,r)=>{var n=r(32776),o=r(80869),a=r(73244);t.exports=function(t,e,r,i,s,u){var c=1&r,l=t.length,p=e.length;if(l!=p&&!(c&&p>l))return!1;var f=u.get(t),d=u.get(e);if(f&&d)return f==e&&d==t;var h=-1,m=!0,b=2&r?new n:void 0;for(u.set(t,e),u.set(e,t);++h<l;){var v=t[h],y=e[h];if(i)var g=c?i(y,v,h,e,t,u):i(v,y,h,t,e,u);if(void 0!==g){if(g)continue;m=!1;break}if(b){if(!o(e,(function(t,e){if(!a(b,e)&&(v===t||s(v,t,r,i,u)))return b.push(e)}))){m=!1;break}}else if(v!==y&&!s(v,y,r,i,u)){m=!1;break}}return u.delete(t),u.delete(e),m}},42361:(t,e,r)=>{var n=r(64430),o=r(86307),a=r(84937),i=r(13634),s=r(11458),u=r(48952),c=n?n.prototype:void 0,l=c?c.valueOf
vendor: 4,899 bytes, line 2
2:void 0;t.exports=function(t,e,r,n,c,p,f){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!p(new o(t),new o(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var d=s;case"[object Set]":var h=1&n;if(d||(d=u),t.size!=e.size&&!h)return!1;var m=f.get(t);if(m)return m==e;n|=2,f.set(t,e);var b=i(d(t),d(e),n,c,p,f);return f.delete(t),b;case"[object Symbol]":if(l)return l.call(t)==l.call(e)}return!1}},87298:(t,e,r)=>{var n=r(46125),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,a,i,s){var u=1&r,c=n(t),l=c.length;if(l!=n(e).length&&!u)return!1;for(var p=l;p--;){var f=c[p];if(!(u?f in e:o.call(e,f)))return!1}var d=s.get(t),h=s.get(e);if(d&&h)return d==e&&h==t;var m=!0;s.set(t,e),s.set(e,t);for(var b=u;++p<l;){var v=t[f=c[p]],y=e[f];if(a)var g=u?a(y,v,f,e,t,s):a(v,y,f,t,e,s);if(!(void 0===g?v===y||i(v,y,r,a,s):g)){m=!1;break}b||(b="constructor"==f)}if(m&&!b){var x=t.constructor,S=e.constructor;x==S||!("constructor"in t)||!("constructor"in e)||"function"==typeof x&&x instanceof x&&"function"==typeof S&&S instanceof S||(m=!1)}return s.delete(t),s.delete(e),m}},9563:(t,e,r)=>{var n=r(75885),o=r(13614),a=r(64608);t.exports=function(t){return a(o(t,void 0,n),t+"")}},70211:(t,e,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=n},46125:(t,e,r)=>{var n=r(21936),o=r(42111),a=r(45575);t.exports=function(t){return n(t,a,o)}},15614:(t,e,r)=>{var n=r(21936),o=r(3492),a=r(7980);t.exports=function(t){return n(t,a,o)}},81008:(t,e,r)=>{var n=r(13727);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},74891:(t,e,r)=>{var n=r(16519),o=r(45575);t.exports=function(t){for(var e=o(t),r=e.length;r--;){var a=e[r],i=t[a];e[r]=[a,i,n(i)]}return e}},72255:(t,e,r)=>{var n=r(68308),o=r(76711);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},54100:(t,e,r)=>{var n=r(46178)(Object.getPrototypeOf,Object);t.exports=n},72946:(t,e,r)=>{var n=r(64430),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(u){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},42111:(t,e,r)=>{var n=r(43347),o=r(99014),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(t){return null==t?[]:(t=Object(t),n(i(t),(function(e){return a.call(t,e)})))}:o;t.exports=s},3492:(t,e,r)=>{var n=r(685),o=r(54100),a=r(42111),i=r(99014),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},69474:(t,e,r)=>{var n=r(35579),o=r(814),a=r(90825),i=r(24876),s=r(42106),u=r(26775),c=r(14366),l="[object Map]",p="[object Promise]",f="[object Set]",d="[object WeakMap]",h="[object DataView]",m=c(n),b=c(o),v=c(a),y=c(i),g=c(s),x=u;(n&&x(new n(new ArrayBuffer(1)))!=h||o&&x(new o)!=l||a&&x(a.resolve())!=p||i&&x(new i)!=f||s&&x(new s)!=d)&&(x=function(t){var e=u(t),r="[object Object]"==e?t.constructor:void 0,n=r?c(r):"";if(n)switch(n){case m:return h;case b:return l;case v:return p;case y:return f;case g:return d}return e}),t.exports=x},76711:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},22911:(t,e,r)=>{var n=r(30746),o=r(52559),a=r(39970),i=r(48836),s=r(7351),u=r(73628);t.exports=function(t,e,r){for(var c=-1,l=(e=n(e,t)).length,p=!1;++c<l;){var f=u(e[c]);if(!(p=null!=t&&r(t,f)))break;t=t[f]}return p||++c!=l?p:!!(l=null==t?0:t.length)&&s(l)&&i(f,l)&&(a(t)||o(t))}},80341:(t,e,r)=>{var n=r(22893);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},99237:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},40204:(t,e,r)=>{var n=r(22893),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},35112:(t,e,r)=>{var n=r(22893),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},28040:(t,e,r)=>{var n=r(22893);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},6522:t=>{var e=Object.prototype.hasOwnProperty;t.exports=function(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&e.call(t,"index")&&(n.index=t.index,n.input=t.input),n}},79644:(t,e,r)=>{var n=r(74966),o=r(69444),a=r(36824),i=r(30137),s=r(82492);t.exports=function(t,e,r){var u=t.constructor;switch(e){case"[object ArrayBuffer]":return n(t);case"[object Boolean]":case"[object Date]":return new u(+t);case"[object DataView]":return o(t,r);
vendor: 2,347 bytes, line 2
2case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(t,r);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(t);case"[object RegExp]":return a(t);case"[object Symbol]":return i(t)}}},80080:(t,e,r)=>{var n=r(34663),o=r(54100),a=r(16182);t.exports=function(t){return"function"!=typeof t.constructor||a(t)?{}:n(o(t))}},80406:(t,e,r)=>{var n=r(64430),o=r(52559),a=r(39970),i=n?n.isConcatSpreadable:void 0;t.exports=function(t){return a(t)||o(t)||!!(i&&t&&t[i])}},48836:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var n=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t<r}},6439:(t,e,r)=>{var n=r(39970),o=r(33471),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;t.exports=function(t,e){if(n(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!o(t))||(i.test(t)||!a.test(t)||null!=e&&t in Object(e))}},13727:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},48211:(t,e,r)=>{var n,o=r(74210),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},16182:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},16519:(t,e,r)=>{var n=r(63928);t.exports=function(t){return t==t&&!n(t)}},18741:t=>{t.exports=function(){this.__data__=[],this.size=0}},45669:(t,e,r)=>{var n=r(37774),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},56428:(t,e,r)=>{var n=r(37774);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},33e3:(t,e,r)=>{var n=r(37774);t.exports=function(t){return n(this.__data__,t)>-1}},49608:(t,e,r)=>{var n=r(37774);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},7973:(t,e,r)=>{var n=r(58574),o=r(462),a=r(814);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||o),str
vendor: 4,751 bytes, line 2
2ing:new n}}},64565:(t,e,r)=>{var n=r(81008);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},95548:(t,e,r)=>{var n=r(81008);t.exports=function(t){return n(this,t).get(t)}},920:(t,e,r)=>{var n=r(81008);t.exports=function(t){return n(this,t).has(t)}},53752:(t,e,r)=>{var n=r(81008);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},11458:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}},5684:t=>{t.exports=function(t,e){return function(r){return null!=r&&(r[t]===e&&(void 0!==e||t in Object(r)))}}},60345:(t,e,r)=>{var n=r(93911);t.exports=function(t){var e=n(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}},22893:(t,e,r)=>{var n=r(72255)(Object,"create");t.exports=n},21157:(t,e,r)=>{var n=r(46178)(Object.keys,Object);t.exports=n},81078:t=>{t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},686:(t,e,r)=>{t=r.nmd(t);var n=r(70211),o=e&&!e.nodeType&&e,a=o&&t&&!t.nodeType&&t,i=a&&a.exports===o&&n.process,s=function(){try{var t=a&&a.require&&a.require("util").types;return t||i&&i.binding&&i.binding("util")}catch(e){}}();t.exports=s},47873:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},46178:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},13614:(t,e,r)=>{var n=r(17412),o=Math.max;t.exports=function(t,e,r){return e=o(void 0===e?t.length-1:e,0),function(){for(var a=arguments,i=-1,s=o(a.length-e,0),u=Array(s);++i<s;)u[i]=a[e+i];i=-1;for(var c=Array(e+1);++i<e;)c[i]=a[i];return c[e]=r(u),n(t,this,c)}}},38130:(t,e,r)=>{var n=r(75455),o=r(85825);t.exports=function(t,e){return e.length<2?t:n(t,o(e,0,-1))}},85834:(t,e,r)=>{var n=r(70211),o="object"==typeof self&&self&&self.Object===Object&&self,a=n||o||Function("return this")();t.exports=a},73:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},40522:t=>{t.exports=function(t){return this.__data__.has(t)}},48952:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}},64608:(t,e,r)=>{var n=r(64215),o=r(8928)(n);t.exports=o},8928:t=>{var e=Date.now;t.exports=function(t){var r=0,n=0;return function(){var o=e(),a=16-(o-n);if(n=o,a>0){if(++r>=800)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}},6051:(t,e,r)=>{var n=r(462);t.exports=function(){this.__data__=new n,this.size=0}},56375:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},27558:t=>{t.exports=function(t){return this.__data__.get(t)}},70114:t=>{t.exports=function(t){return this.__data__.has(t)}},77050:(t,e,r)=>{var n=r(462),o=r(814),a=r(74878);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},14478:t=>{t.exports=function(t,e,r){for(var n=r-1,o=t.length;++n<o;)if(t[n]===e)return n;return-1}},7761:(t,e,r)=>{var n=r(60345),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,i=n((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,r,n,o){e.push(n?o.replace(a,"$1"):r||t)})),e}));t.exports=i},73628:(t,e,r)=>{var n=r(33471);t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}},14366:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(r){}try{return t+""}catch(r){}}return""}},20837:t=>{var e=/\s/;t.exports=function(t){for(var r=t.length;r--&&e.test(t.charAt(r)););return r}},77568:(t,e,r)=>{var n=r(75194);t.exports=function(t){return n(t,5)}},30615:t=>{t.exports=function(t){return function(){return t}}},84937:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},53325:(t,e,r)=>{var n=r(51975),o=/[\\^$.*+?()[\]{}|]/g,a=RegExp(o.source);t.exports=function(t){return(t=n(t))&&a.test(t)?t.replace(o,"\\$&"):t}},53670:(t,e,r)=>{var n=r(83270),o=r(29866),a=r(62686),i=Math.max;t.exports=function(t,e,r){var s=null==t?0:t.length;if(!s)return-1;var u=null==r?0:a(r);return u<0&&(u=i(s+u,0)),n(t,o(e,3),u)}},75885:(t,e,r)=>{var n=r(9229);t.exports=function(t){return(null==t?0:t.length)?n(t,1):[]}},2655:(t,e,r)=>{var n=r(75455);t.exports=function(t,e,r){var o=null==t?void 0:n(t,e);return void 0===o?r:o}},55760:(t,e,r)=>{var n=r(42256),o=r(22911);t.exports=function(t,e){return null!=t&&o(t,e,n)}},6849:t=>{t.exports=function(t){return t}},24002:(t,e,r)=>{var n=r(71795),o=r(15810),a=r(89461),i=r(54204),s=a((function(t){var e=n(t,i);return e.length&&e[0]===t[0]?o(e):[]}));t.exports=s},91415:(t,e,r)=>
2{var n=r(30615),o=r(38873),a=r(6849),i=Object.prototype.toString,s=o((function(t,e,r){null!=e&&"function"!=typeof e.toString&&(e=i.call(e)),t[e]=r}),n(a));t.exports=s},52559:(t,e,r)=>{var n=r(87055),o=r(60383),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(t){return o(t)&&i.call(t,"callee")&&!s.call(t,"callee")};t.exports=u},39970:t=>{var e=Array.isArray;t.exports=e},40221:(t,e,r)=>{var n=r(82715),o=r(7351);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},64274:(t,e,r)=>{var n=r(40221),o=r(60383);t.exports=function(t){return o(t)&&n(t)}},67457:(t,e,r)=>{t=r.nmd(t);var n=r(85834),o=r(6216),a=e&&!e.nodeType&&e,i=a&&t&&!t.nodeType&&t,s=i&&i.exports===a?n.Buffer:void 0,u=(s?s.isBuffer:void 0)||o;t.exports=u},20235:(t,e,r)=>{var n=r(53579);t.exports=function(t,e){return n(t,e)}},73016:(t,e,r)=>{var n=r(85834).isFinite;t.exports=function(t){return"number"==typeof t&&n(t)}},82715:(t,e,r)=>{var n=r(26775),o=r(63928);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},7351:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},83941:(t,e,r)=>{var n=r(70437),o=r(48872),a=r(686),i=a&&a.isMap,s=i?o(i):n;t.exports=s},63928:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},60383:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},97852:(t,e,r)=>{var n=r(26775),o=r(54100),a=r(60383),i=Function.prototype,s=Object.prototype,u=i.toString,c=s.hasOwnProperty,l=u.call(Object);t.exports=function(t){if(!a(t)||"[object Object]"!=n(t))return!1;var e=o(t);if(null===e)return!0;var r=c.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&u.call(r)==l}},54451:(t,e,r)=>{var n=r(40947),o=r(48872),a=r(686),i=a&&a.isSet,s=i?o(i):n;t.exports=s},52486:(t,e,r)=>{var n=r(26775),o=r(39970),a=r(60383);t.exports=function(t){return"string"==typeof t||!o(t)&&a(t)&&"[object String]"==n(t)}},33471:(t,e,r)=>{var n=r(26775),o=r(60383);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==n(t)}},10102:(t,e,r)=>{var n=r(1910),o=r(48872),a=r(686),i=a&&a.isTypedArray,s=i?o(i):n;t.exports=s},45575:(t,e,r)=>{var n=r(57898),o=r(24807),a=r(40221);t.exports=function(t){return a(t)?n(t):o(t)}},7980:(t,e,r)=>{var n=r(57898),o=r(97324),a=r(40221);t.exports=function(t){return a(t)?n(t,!0):o(t)}},4827:t=>{t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},93911:(t,e,r)=>{var n=r(74878);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=t.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(o.Cache||n),r}
2o.Cache=n,t.exports=o},73818:(t,e,r)=>{var n=r(71795),o=r(75194),a=r(19398),i=r(30746),s=r(44428),u=r(19423),c=r(9563),l=r(15614),p=c((function(t,e){var r={};if(null==t)return r;var c=!1;e=n(e,(function(e){return e=i(e,t),c||(c=e.length>1),e})),s(t,l(t),r),c&&(r=o(r,7,u));for(var p=e.length;p--;)a(r,e[p]);return r}));t.exports=p},10014:(t,e,r)=>{var n=r(72158),o=r(75820),a=r(6439),i=r(73628);t.exports=function(t){return a(t)?n(i(t)):o(t)}},99014:t=>{t.exports=function(){return[]}},6216:t=>{t.exports=function(){return!1}},37657:(t,e,r)=>{var n=r(64151),o=1/0;t.exports=function(t){return t?(t=n(t))===o||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},62686:(t,e,r)=>{var n=r(37657);t.exports=function(t){var e=n(t),r=e%1;return e==e?r?e-r:e:0}},64151:(t,e,r)=>{var n=r(24639),o=r(63928),a=r(33471),i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(a(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var r=s.test(t);return r||u.test(t)?c(t.slice(2),r?2:8):i.test(t)?NaN:+t}},51975:(t,e,r)=>{var n=r(14119);t.exports=function(t){return null==t?"":n(t)}},97380:(t,e,r)=>{"use strict";r.r(e),r.d(e,{lineTypes:()=>Ot,parseSong:()=>oo,renderSong:()=>ta});var n=r(39970),o=r.n(n);function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e);else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,o=t}finally{try{if(!u&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return a(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const s=Object.entries,u=Object.setPrototypeOf,c=Object.isFrozen,l=Object.getPrototypeOf,p=Object.getOwnPropertyDescriptor;let f=Object.freeze,d=Object.seal,h=Object.create,m="undefined"!=typeof Reflect&&Reflect,b=m.apply,v=m.construct;f||(f=function(t){return t}),d||(d=function(t){return t}),b||(b=function(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return t.apply(e,n)}),v||(v=function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return new t(...r)});const y=k(Array.prototype.forEach),g=k(Array.prototype.lastIndexOf),x=k(Array.prototype.pop),S=k(Array.prototype.push),_=k(Array.prototype.splice),w=Array.isArray,C=k(String.prototype.toLowerCase),A=k(String.prototype.toString),j=k(String.prototype.match),E=k(String.prototype.replace),O=k(String.prototype.indexOf),T=k(String.prototype.trim),I=k(Number.prototype.toString),D=k(Boolean.prototype.toString),N="undefined"==typeof BigInt?null:k(BigInt.prototype.toString),B="undefined"==typeof Symbol?null:k(Symbol.prototype.toString),L=k(Object.prototype.hasOwnProperty),F=k(Object.prototype.toString),R=k(RegExp.prototype.test),P=(M=TypeError,function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return v(M,e)});var M;function k(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return b(t,e,n)}}function z(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C;if(u&&u(t,null),!w(e))return t;let n=e.length;for(;n--;){let o=e[n];if("string"==typeof o){const t=r(o);t!==o&&(c(e)||(e[n]=t),o=t)}t[o]=!0}return t}function $(t){for(let e=0;e<t.length;e++){L(t,e)||(t[e]=null)}return t}function G(t){const e=h(null);for(const n of s(t)){var r=i(n,2);const o=r[0],a=r[1];L(t,o)&&(w(a)?e[o]=$(a):a&&"object"==typeof a&&a.constructor===Object?e[o]=G(a):e[o]=a)}return e}function U(t,e){for(;null!==t;){const r=p(t,e);if(r){if(r.get)return k(r.get);if("function"==typeof r.value)return k(r.value)}t=l(t)}return function(){return null}}const H=f(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),V=f(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),W=f(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),q=f(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Y=f(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),K=f(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),X=f(["#text"]),Z=f(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
2spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Q=f(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),J=f(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),tt=f(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),et=d(/{{[\w\W]*|^[\w\W]*}}/g),rt=d(/<%[\w\W]*|^[\w\W]*%>/g),nt=d(/\${[\w\W]*/g),ot=d(/^data-[\-\w.\u00B7-\uFFFF]+$/),at=d(/^aria-[\-\w]+$/),it=d(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),st=d(/^(?:\w+script|data):/i),ut=d(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ct=d(/^html$/i),lt=d(/^[a-z][.\w]*(-[.\w]+)+$/i),pt=d(/<[/\w!]/g),ft=d(/<[/\w]/g),dt=d(/<\/no(script|embed|frames)/i),ht=d(/\/>/i),mt=1,bt=3,vt=7,yt=8,gt=9,xt=11,St=function(){return"undefined"==typeof window?null:window},_t=function(t,e,r,n){return L(t,e)&&w(t[e])?z(n.base?G(n.base):{},t[e],n.transform):r};var wt=function t(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:St();const r=e=>t(e);if(r.version="3.4.12",r.removed=[],!e||!e.document||e.document.nodeType!==gt||!e.Element)return r.isSupported=!1,r;let n=e.document;const o=n,a=o.currentScript;e.DocumentFragment;const i=e.HTMLTemplateElement,u=e.Node,c=e.Element,l=e.NodeFilter,p=e.NamedNodeMap;void 0===p&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const m=e.DOMParser,b=e.trustedTypes,v=c.prototype,M=U(v,"cloneNode"),k=U(v,"remove"),$=U(v,"nextSibling"),wt=U(v,"childNodes"),Ct=U(v,"parentNode"),At=U(v,"shadowRoot"),jt=U(v,"attributes"),Et=u&&u.prototype?U(u.prototype,"nodeType"):null,Ot=u&&u.prototype?U(u.prototype,"nodeName"):null;if("function"==typeof i){const t=n.createElement("template");t.content&&t.content.ownerDocument&&(n=t.content.ownerDocument)}let Tt,It,Dt="",Nt=!1,Bt=0;const Lt=function(){if(Bt>0)throw P('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},Ft=function(t){Lt(),Bt++;try{return Tt.createHTML(t)}finally{Bt--}},Rt=function(){return Nt||(It=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let r=null;
vendor: 4,679 bytes, line 2
2const n="data-tt-policy-suffix";e&&e.hasAttribute(n)&&(r=e.getAttribute(n));const o="dompurify"+(r?"#"+r:"");try{return t.createPolicy(o,{createHTML:t=>t,createScriptURL:t=>t})}catch(a){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(b,a),Nt=!0),It},Pt=n,Mt=Pt.implementation,kt=Pt.createNodeIterator,zt=Pt.createDocumentFragment,$t=Pt.getElementsByTagName,Gt=o.importNode;let Ut={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};r.isSupported="function"==typeof s&&"function"==typeof Ct&&Mt&&void 0!==Mt.createHTMLDocument;const Ht=et,Vt=rt,Wt=nt,qt=ot,Yt=at,Kt=st,Xt=ut,Zt=lt;let Qt=it,Jt=null;const te=z({},[...H,...V,...W,...Y,...X]);let ee=null;const re=z({},[...Z,...Q,...J,...tt]);let ne=Object.seal(h(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),oe=null,ae=null;const ie=Object.seal(h(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let se=!0,ue=!0,ce=!1,le=!0,pe=!1,fe=!0,de=!1,he=!1,me=null,be=null,ve=!1,ye=!1,ge=!1,xe=!1,Se=!0,_e=!1;const we="user-content-";let Ce=!0,Ae=!1,je={},Ee=null;const Oe=z({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Te=null;const Ie=z({},["audio","video","img","source","image","track"]);let De=null;const Ne=z({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Be="http://www.w3.org/1998/Math/MathML",Le="http://www.w3.org/2000/svg",Fe="http://www.w3.org/1999/xhtml";let Re=Fe,Pe=!1,Me=null;const ke=z({},[Be,Le,Fe],A),ze=f(["mi","mo","mn","ms","mtext"]);let $e=z({},ze);const Ge=f(["annotation-xml"]);let Ue=z({},Ge);const He=z({},["title","style","font","a","script"]);let Ve=null;const We=["application/xhtml+xml","text/html"];let qe=null,Ye=null;const Ke=n.createElement("form"),Xe=function(t){return t instanceof RegExp||t instanceof Function},Ze=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Ye&&Ye===t)return;t&&"object"==typeof t||(t={}),t=G(t),Ve=-1===We.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,qe="application/xhtml+xml"===Ve?A:C,Jt=_t(t,"ALLOWED_TAGS",te,{transform:qe}),ee=_t(t,"ALLOWED_ATTR",re,{transform:qe}),Me=_t(t,"ALLOWED_NAMESPACES",ke,{transform:A}),De=_t(t,"ADD_URI_SAFE_ATTR",Ne,{transform:qe,base:Ne}),Te=_t(t,"ADD_DATA_URI_TAGS",Ie,{transform:qe,base:Ie}),Ee=_t(t,"FORBID_CONTENTS",Oe,{transform:qe}),oe=_t(t,"FORBID_TAGS",G({}),{transform:qe}),ae=_t(t,"FORBID_ATTR",G({}),{transform:qe}),je=!!L(t,"USE_PROFILES")&&(t.USE_PROFILES&&"object"==typeof t.USE_PROFILES?G(t.USE_PROFILES):t.USE_PROFILES),se=!1!==t.ALLOW_ARIA_ATTR,ue=!1!==t.ALLOW_DATA_ATTR,ce=t.ALLOW_UNKNOWN_PROTOCOLS||!1,le=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,pe=t.SAFE_FOR_TEMPLATES||!1,fe=!1!==t.SAFE_FOR_XML,de=t.WHOLE_DOCUMENT||!1,ye=t.RETURN_DOM||!1,ge=t.RETURN_DOM_FRAGMENT||!1,xe=t.RETURN_TRUSTED_TYPE||!1,ve=t.FORCE_BODY||!1,Se=!1!==t.SANITIZE_DOM,_e=t.SANITIZE_NAMED_PROPS||!1,Ce=!1!==t.KEEP_CONTENT,Ae=t.IN_PLACE||!1,Qt=function(t){try{return R(t,""),!0}catch(e){return!1}}(t.ALLOWED_URI_REGEXP)?t.ALLOWED_URI_REGEXP:it,Re="string"==typeof t.NAMESPACE?t.NAMESPACE:Fe,$e=L(t,"MATHML_TEXT_INTEGRATION_POINTS")&&t.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof t.MATHML_TEXT_INTEGRATION_POINTS?G(t.MATHML_TEXT_INTEGRATION_POINTS):z({},ze),Ue=L(t,"HTML_INTEGRATION_POINTS")&&t.HTML_INTEGRATION_POINTS&&"object"==typeof t.HTML_INTEGRATION_POINTS?G(t.HTML_INTEGRATION_POINTS):z({},Ge);const e=L(t,"CUSTOM_ELEMENT_HANDLING")&&t.CUSTOM_ELEMENT_HANDLING&&"object"==typeof t.CUSTOM_ELEMENT_HANDLING?G(t.CUSTOM_ELEMENT_HANDLING):h(null);if(ne=h(null),L(e,"tagNameCheck")&&Xe(e.tagNameCheck)&&(ne.tagNameCheck=e.tagNameCheck),L(e,"attributeNameCheck")&&Xe(e.attributeNameCheck)&&(ne.attributeNameCheck=e.attributeNameCheck),L(e,"allowCustomizedBuiltInElements")&&"boolean"==typeof e.allowCustomizedBuiltInElements&&(ne.allowCustomizedBuiltInElements=e.allowCustomizedBuiltInElements),d(ne),pe&&(ue=!1),ge&&(ye=!0),je&&(Jt=z({},X),ee=h(null),!0===je.html&&(z(Jt,H),z(ee,Z)),!0===je.svg&&(z(Jt,V),z(ee,Q),z(ee,tt)),!0===je.svgFilters&&
vendor: 9,083 bytes, line 2
2(z(Jt,W),z(ee,Q),z(ee,tt)),!0===je.mathMl&&(z(Jt,Y),z(ee,J),z(ee,tt))),ie.tagCheck=null,ie.attributeCheck=null,L(t,"ADD_TAGS")&&("function"==typeof t.ADD_TAGS?ie.tagCheck=t.ADD_TAGS:w(t.ADD_TAGS)&&(Jt===te&&(Jt=G(Jt)),z(Jt,t.ADD_TAGS,qe))),L(t,"ADD_ATTR")&&("function"==typeof t.ADD_ATTR?ie.attributeCheck=t.ADD_ATTR:w(t.ADD_ATTR)&&(ee===re&&(ee=G(ee)),z(ee,t.ADD_ATTR,qe))),L(t,"ADD_URI_SAFE_ATTR")&&w(t.ADD_URI_SAFE_ATTR)&&z(De,t.ADD_URI_SAFE_ATTR,qe),L(t,"FORBID_CONTENTS")&&w(t.FORBID_CONTENTS)&&(Ee===Oe&&(Ee=G(Ee)),z(Ee,t.FORBID_CONTENTS,qe)),L(t,"ADD_FORBID_CONTENTS")&&w(t.ADD_FORBID_CONTENTS)&&(Ee===Oe&&(Ee=G(Ee)),z(Ee,t.ADD_FORBID_CONTENTS,qe)),Ce&&(Jt["#text"]=!0),de&&z(Jt,["html","head","body"]),Jt.table&&(z(Jt,["tbody"]),delete oe.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw P('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw P('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const e=Tt;Tt=t.TRUSTED_TYPES_POLICY;try{Dt=Ft("")}catch(r){throw Tt=e,r}}else null===t.TRUSTED_TYPES_POLICY?(Tt=void 0,Dt=""):(void 0===Tt&&(Tt=Rt()),Tt&&"string"==typeof Dt&&(Dt=Ft("")));f&&f(t),Ye=t},Qe=z({},[...V,...W,...q]),Je=z({},[...Y,...K]),tr=function(t){let e=Ct(t);e&&e.tagName||(e={namespaceURI:Re,tagName:"template"});const r=C(t.tagName),n=C(e.tagName);return!!Me[t.namespaceURI]&&(t.namespaceURI===Le?function(t,e,r){return e.namespaceURI===Fe?"svg"===t:e.namespaceURI===Be?"svg"===t&&("annotation-xml"===r||$e[r]):Boolean(Qe[t])}(r,e,n):t.namespaceURI===Be?function(t,e,r){return e.namespaceURI===Fe?"math"===t:e.namespaceURI===Le?"math"===t&&Ue[r]:Boolean(Je[t])}(r,e,n):t.namespaceURI===Fe?function(t,e,r){return!(e.namespaceURI===Le&&!Ue[r])&&!(e.namespaceURI===Be&&!$e[r])&&!Je[t]&&(He[t]||!Qe[t])}(r,e,n):!("application/xhtml+xml"!==Ve||!Me[t.namespaceURI]))},er=function(t){S(r.removed,{element:t});try{Ct(t).removeChild(t)}catch(e){if(k(t),!Ct(t))throw P("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},rr=function(t){ar(t);const e=wt(t);if(e){const t=[];y(e,(e=>{S(t,e)})),y(t,(t=>{try{k(t)}catch(e){}}))}const r=jt(t);if(r)for(let o=r.length-1;o>=0;--o){const e=r[o],a=e&&e.name;if("string"==typeof a)try{t.removeAttribute(a)}catch(n){}}},nr=function(t,e){try{S(r.removed,{attribute:e.getAttributeNode(t),from:e})}catch(n){S(r.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t)if(ye||ge)try{er(e)}catch(n){}else try{e.setAttribute(t,"")}catch(n){}},or=function(t){const e=jt(t);if(e)for(let n=e.length-1;n>=0;--n){const o=e[n],a=o&&o.name;if("string"==typeof a&&!ee[qe(a)])try{t.removeAttribute(a)}catch(r){}}},ar=function(t){const e=[t];for(;e.length>0;){const t=e.pop();(Et?Et(t):t.nodeType)===mt&&or(t);const r=wt(t);if(r)for(let n=r.length-1;n>=0;--n)e.push(r[n])}},ir=function(t){let e=null,r=null;if(ve)t="<remove></remove>"+t;else{const e=j(t,/^[\r\n\t ]+/);r=e&&e[0]}"application/xhtml+xml"===Ve&&Re===Fe&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const o=Tt?Ft(t):t;if(Re===Fe)try{e=(new m).parseFromString(o,Ve)}catch(i){}if(!e||!e.documentElement){e=Mt.createDocument(Re,"template",null);try{e.documentElement.innerHTML=Pe?Dt:o}catch(i){}}const a=e.body||e.documentElement;return t&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),Re===Fe?$t.call(e,de?"html":"body")[0]:de?e.documentElement:a},sr=function(t){return kt.call(t.ownerDocument||t,t,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT|l.SHOW_PROCESSING_INSTRUCTION|l.SHOW_CDATA_SECTION,null)},ur=function(t){return t=E(t,Ht," "),t=E(t,Vt," "),t=E(t,Wt," ")},cr=function(t){var e;t.normalize();const r=kt.call(t.ownerDocument||t,t,l.SHOW_TEXT|l.SHOW_COMMENT|l.SHOW_CDATA_SECTION|l.SHOW_PROCESSING_INSTRUCTION,null);let n=r.nextNode();for(;n;)n.data=ur(n.data),n=r.nextNode();const o=null===(e=t.querySelectorAll)||void 0===e?void 0:e.call(t,"template");o&&y(o,(t=>{pr(t.content)&&cr(t.content)}))},lr=function(t){const e=Ot?Ot(t):null;return"string"==typeof e&&("form"===qe(e)&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||t.attributes!==jt(t)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes||t.nodeType!==Et(t)||t.childNodes!==wt(t)))},pr=function(t){if(!Et||"object"!=typeof t||null===t)return!1;try{return Et(t)===xt}catch(e){return!1}},fr=function(t){if(!Et||"object"!=typeof t||null===t)return!1;try{return"number"==typeof Et(t)}catch(e){return!1}};function dr(t,e,n){0!==t.length&&y(t,(t=>{t.call(r,e,n,Ye)}))}const hr=function(t,e){if(dr(Ut.beforeSanitizeElements,t,null),t!==e&&null===Ct(t))return!0;if(lr(t))return er(t),!0;const n=qe(Ot?Ot(t):t.nodeName);if(dr(Ut.uponSanitizeElement,t,{tagName:n,allowedTags:Jt}),t!==e&&null===Ct(t))return!0;if(function(t,e){return!!(fe&&t.hasChildNodes()&&!fr(t.firstElementChild)&&R(pt,t.textContent)&&R(pt,t.innerHTML))||!(!fe||t.namespaceURI!==Fe||"style"!==e||!fr(t.firstElementChild))||t.nodeType===vt||!(!fe||t.nodeType!==yt||!R(ft,t.data))}(t,n))return er(t),!0;if(oe[n]||!(ie.tagCheck instanceof Function&&ie.tagCheck(n))&&!Jt[n]){const e=function(t,e){if(!oe[e]&&vr(e)){if(ne.tagNameCheck instanceof RegExp&&R(ne.tagNameCheck,e))return!1;if(ne.tagNameCheck instanceof Function&&ne.tagNameCheck(e))return!1}if(Ce&&!Ee[e]){const e=Ct(t),r=wt(t);if(r&&e)for(let n=r.length-1;n>=0;--n){const o=Ae?r[n]:M(r[n],!0);e.insertBefore(o,$(t))}}return er(t),!0}(t,n);return!1===e&&dr(Ut.afterSanitizeElements,t,null),e}if((Et?Et(t):t.nodeType)===mt&&!tr(t))return er(t),!0;if(("noscript"===n||"noembed"===n||"noframes"===n)&&R(dt,t.innerHTML))return er(t),!0;if(pe&&t.nodeType===bt){const e=ur(t.textContent);t.textContent!==e&&(S(r.removed,{element:t.cloneNode()}),t.textContent=e)}return dr(Ut.afterSanitizeElements,t,null),!1},mr=function(t,e,r){if(ae[e])return!1;if(fe&&"patchsrc"===e)return!1;if(fe&&"for"===e&&"label"!==t&&"output"!==t)return!1;if(Se&&("id"===e||"name"===e)&&(r in n||r in Ke))return!1;const o=ee[e]||ie.attributeCheck instanceof Function&&ie.attributeCheck(e,t);if(ue&&R(qt,e));else if(se&&R(Yt,e));else if(o)if(De[e]);else if(R(Qt,E(r,Xt,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==O(r,"data:")||!Te[t]){if(ce&&!R(Kt,E(r,Xt,"")));else if(r)return!1}else;else if(!(vr(t)&&(ne.tagNameCheck instanceof RegExp&&R(ne.tagNameCheck,t)||ne.tagNameCheck instanceof Function&&ne.tagNameCheck(t))&&(ne.attributeNameCheck instanceof RegExp&&R(ne.attributeNameCheck,e)||ne.attributeNameCheck instanceof Function&&ne.attributeNameCheck(e,t))||"is"===e&&ne.allowCustomizedBuiltInElements&&(ne.tagNameCheck instanceof RegExp&&R(ne.tagNameCheck,r)||ne.tagNameCheck instanceof Function&&ne.tagNameCheck(r))))return!1;return!0},br=z({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),vr=function(t){return!br[C(t)]&&R(Zt,t)},yr=function(t,e,r,n){if(Tt&&"object"==typeof b&&"function"==typeof b.getAttributeType&&!r)switch(b.getAttributeType(t,e)){case"TrustedHTML":return Ft(n);case"TrustedScriptURL":return function(t){Lt(),Bt++;try{return Tt.createScriptURL(t)}finally{Bt--}}(n)}return n},gr=function(t,e,n,o){try{n?t.setAttributeNS(n,e,o):t.setAttribute(e,o),lr(t)?er(t):x(r.removed)}catch(a){nr(e,t)}},xr=function(t){dr(Ut.beforeSanitizeAttributes,t,null);const e=t.attributes;if(!e||lr(t))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ee,forceKeepAttr:void 0};let n=e.length;const o=qe(t.nodeName);for(;n--;){const a=e[n],i=a.name,s=a.namespaceURI,u=a.value,c=qe(i),l=u;let p="value"===i?l:T(l);r.attrName=c,r.attrValue=p,r.keepAttr=!0,r.forceKeepAttr=void 0,dr(Ut.uponSanitizeAttribute,t,r),p=r.attrValue,!_e||"id"!==c&&"name"!==c||0===O(p,we)||(nr(i,t),p=we+p),fe&&R(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,p)?nr(i,t):"attributename"===c&&j(p,"href")?nr(i,t):r.forceKeepAttr||(r.keepAttr&&(le||!R(ht,p))?(pe&&(p=ur(p)),mr(o,c,p)?(p=yr(o,c,s,p),p!==l&&gr(t,i,s,p)):nr(i,t)):nr(i,t))}dr(Ut.afterSanitizeAttributes,t,null)},Sr=function(t){let e=null;const r=sr(t);for(dr(Ut.beforeSanitizeShadowDOM,t,null);e=r.nextNode();){dr(Ut.uponSanitizeShadowNode,e,null),hr(e,t),xr(e),pr(e.content)&&Sr(e.content);if((Et?Et(e):e.nodeType)===mt){const t=At(e);pr(t)&&(_r(t),Sr(t))}}dr(Ut.afterSanitizeShadowDOM,t,null)},_r=function(t){const e=[{node:t,shadow:null}];for(;e.length>0;){const t=e.pop();if(t.shadow){Sr(t.shadow);continue}const r=t.node,n=(Et?Et(r):r.nodeType)===mt,o=wt(r);if(o)for(let a=o.length-1;a>=0;--a)e.push({node:o[a],shadow:null});if(n){const t=Ot?Ot(r):null;if("string"==typeof t&&"template"===qe(t)){const t=r.content;pr(t)&&e.push({node:t,shadow:null})}}if(n){const t=At(r);pr(t)&&e.push({node:null,shadow:t},{node:t,shadow:null})}}};
2return r.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,a=null,i=null,s=null;if(Pe=!t,Pe&&(t="\x3c!--\x3e"),"string"!=typeof t&&!fr(t)&&"string"!=typeof(t=function(t){switch(typeof t){case"string":return t;case"number":return I(t);case"boolean":return D(t);case"bigint":return N?N(t):"0";case"symbol":return B?B(t):"Symbol()";case"undefined":default:return F(t);case"function":case"object":{if(null===t)return F(t);const e=t,r=U(e,"toString");if("function"==typeof r){const t=r(e);return"string"==typeof t?t:F(t)}return F(t)}}}(t)))throw P("dirty is not a string, aborting");if(!r.isSupported)return t;he?(Jt=me,ee=be):Ze(e),(Ut.uponSanitizeElement.length>0||Ut.uponSanitizeAttribute.length>0)&&(Jt=G(Jt)),Ut.uponSanitizeAttribute.length>0&&(ee=G(ee)),r.removed=[];const u=Ae&&"string"!=typeof t&&fr(t);if(u){!function(t){if(!fe)return;const e=[t];for(;e.length>0;){const t=e.pop(),n=Et?Et(t):t.nodeType;if(n===vt||n===yt&&R(ft,t.data)){try{k(t)}catch(r){}continue}if(n===mt){const e=t,n=qe(Ot?Ot(t):t.nodeName);try{e.hasAttribute&&e.hasAttribute("patchsrc")&&e.removeAttribute("patchsrc"),e.hasAttribute&&e.hasAttribute("for")&&"label"!==n&&"output"!==n&&e.removeAttribute("for")}catch(r){}}const o=wt(t);if(o)for(let r=o.length-1;r>=0;--r)e.push(o[r])}}(t);const e=Ot?Ot(t):t.nodeName;if("string"==typeof e){const r=qe(e);if(!Jt[r]||oe[r])throw rr(t),P("root node is forbidden and cannot be sanitized in-place")}if(lr(t))throw rr(t),P("root node is clobbered and cannot be sanitized in-place");try{_r(t)}catch(f){throw rr(t),f}}else if(fr(t))n=ir("\x3c!----\x3e"),a=n.ownerDocument.importNode(t,!0),a.nodeType===mt&&"BODY"===a.nodeName||"HTML"===a.nodeName?n=a:n.appendChild(a),_r(a);else{if(!ye&&!pe&&!de&&-1===t.indexOf("<"))return Tt&&xe?Ft(t):t;if(n=ir(t),!n)return ye?null:xe?Dt:""}n&&ve&&er(n.firstChild);const c=u?t:n,l=sr(c);try{for(;i=l.nextNode();)hr(i,c),xr(i),pr(i.content)&&Sr(i.content)}catch(f){throw u&&(rr(t),y(r.removed,(t=>{t.element&&ar(t.element)}))),f}if(u)return y(r.removed,(t=>{t.element&&ar(t.element)})),pe&&cr(t),t;if(ye){if(pe&&cr(n),ge)for(s=zt.call(n.ownerDocument);n.firstChild;)s.appendChild(n.firstChild);else s=n;return(ee.shadowroot||ee.shadowrootmode)&&(s=Gt.call(o,s,!0)),s}let p=de?n.outerHTML:n.innerHTML;return de&&Jt["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&R(ct,n.ownerDocument.doctype.name)&&(p="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+p),pe&&(p=ur(p)),Tt&&xe?Ft(p):p},r.setConfig=function(){Ze(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),he=!0,me=Jt,be=ee},r.clearConfig=function(){Ye=null,he=!1,me=null,be=null,Tt=It,Dt=""},r.isValidAttribute=function(t,e,r){Ye||Ze({});const n=qe(t),o=qe(e);return mr(n,o,r)},r.addHook=function(t,e){"function"==typeof e&&L(Ut,t)&&S(Ut[t],e)},r.removeHook=function(t,e){if(L(Ut,t)){if(void 0!==e){const r=g(Ut[t],e);return-1===r?void 0:_(Ut[t],r,1)[0]}return x(Ut[t])}},r.removeHooks=function(t){L(Ut,t)&&(Ut[t]=[])},r.removeAllHooks=function(){Ut={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},r}();const Ct=t=>t?wt(t):wt;function At(t,e){return Ct(e).sanitize(t,{ALLOWED_TAGS:["#text"],KEEP_CONTENT:!0})}var jt=r(77568),Et=r.n(jt);const Ot={CHORD:"chord",EMPTY_LINE:"emptyLine",KEY_DECLARATION:"keyDeclaration",LYRIC:"lyric",SECTION_LABEL:"sectionLabel",TIME_SIGNATURE:"timeSignature"};var Tt=r(53325),It=r.n(Tt);function Dt(t){return t.replace(/\t+/g," ").replace(/ +/g," ").trim()}const Nt=["1/2","2/2","3/2","4/2","1/4","2/4","3/4","4/4","5/4","6/4","7/4","9/4","10/4","3/8","4/8","5/8","6/8","7/8","9/8","12/8"];function Bt(t){return Nt.includes(t)}function Lt(t){if(!Bt(t))throw new TypeError("Expected time signature string, received: "+t);const e=t.split("/"),r=Number.parseInt(e[0],10),n=Number.parseInt(e[1],10);let o=r;return 2===n?o=2*r:8===n&&(o=r/3),{string:t,count:r,value:n,beatCount:o}}const Ft={barRepeat:"%",barSplitMarker:"\\",chordBeatCount:".",chordLineRepeat:"%",chordPositionMarker:"_",lyricLine:":",keyDeclarationPrefix:"key ",noChord:"NC",sectionLabel:"#",subBeatOpener:"[",subBeatCloser:"]"},Rt=Lt("4/4");function Pt(t,e){return t.reduce(((t,e)=>t?e(t):null),e)}var Mt=r(46108),kt=r.n(Mt),zt=r(8138),$t=r.n(zt);const Gt=t=>{if(!Array.isArray(t))throw new TypeError("customFilters should be given as an array");if(t.some((t=>"function"!=typeof t)))throw new TypeError("The given filter is not a function");return!0};var Ut=r(19891),Ht=r.n(Ut),Vt=r(3326);const Wt={AFlat:"Ab",A:"A",ASharp:"A#",BFlat:"Bb",B:"B",C:"C",CSharp:"C#",DFlat:"Db",D:"D",DSharp:"D#",EFlat:"Eb",E:"E",F:"F",FSharp:"F#",GFlat:"Gb",G:"G",GSharp:"G#"},qt={Ab:Wt.AFlat,A:Wt.A,"A#":Wt.ASharp,Bb:Wt.BFlat,B:Wt.B,"B#":Wt.C,Cb:Wt.B,C:Wt.C,"C#":Wt.CSharp,Db:Wt.DFlat,D:Wt.D,"D#":Wt.DSharp,Eb:Wt.EFlat,E:Wt.E,"E#":Wt.F,Fb:Wt.E,F:Wt.F,"F#":Wt.FSharp,Gb:Wt.GFlat,G:Wt.G,"G#":Wt.GSharp},Yt={Lab:Wt.AFlat,La:Wt.A,"La#":Wt.ASharp,Sib:Wt.BFlat,Si:Wt.B,"Si#":Wt.C,Dob:Wt.B,Do:Wt.C,"Do#":Wt.CSharp,Reb:Wt.DFlat,"R\xe9b":Wt.DFlat,Re:Wt.D,"R\xe9":Wt.D,"Re#":Wt.DSharp,"R\xe9#":Wt.DSharp,Mib:Wt.EFlat,Mi:Wt.E,"Mi#":Wt.F,Fab:Wt.E,Fa:Wt.F,"Fa#":Wt.FSharp,Solb:Wt.GFlat,Sol:Wt.G,"Sol#":Wt.GSharp},Kt={...r.n(Vt)()(qt,["Bb","B","B#"]),As:Wt.AFlat,Ais:Wt.ASharp,Hb:Wt.BFlat,Hes:Wt.BFlat,H:Wt.B,His:Wt.C,"H#":Wt.C,Ces:Wt.B,Cis:Wt.CSharp,Des:Wt.DFlat,Dis:Wt.DSharp,Es:Wt.EFlat,Eis:Wt.F,Fes:Wt.E,Fis:Wt.FSharp,Ges:Wt.GFlat,Gis:Wt.GSharp};function Xt(t){let e;return Object.keys(t).reduce(((r,n)=>(n.match(/.[b|#]$/)&&(e=n.replace("#","\u266f").replace("b","\u266d"),r[e]=t[n]),r)),{})}const Zt={...qt,...Xt(qt)},Qt={...Yt,...Xt(Yt)},Jt={...Kt,...Xt(Kt)},te={...Zt,...Qt,...Jt},ee=(Object.keys(te).sort(((t,e)=>e.length-t.length)),Object.keys(Zt).sort(((t,e)=>e.length-t.length))),re=Object.keys(Qt).sort(((t,e)=>e.length-t.length)),ne=[{name:"english",notes:ee},{name:"german",notes:Object.keys(Jt).sort(((t,e)=>e.length-t.length))}
2,{name:"latin",notes:re}],oe=[Wt.A,Wt.ASharp,Wt.B,Wt.C,Wt.CSharp,Wt.D,Wt.DSharp,Wt.E,Wt.F,Wt.FSharp,Wt.G,Wt.GSharp],ae=[Wt.A,Wt.BFlat,Wt.B,Wt.C,Wt.DFlat,Wt.D,Wt.EFlat,Wt.E,Wt.F,Wt.GFlat,Wt.G,Wt.AFlat],ie={[Wt.CSharp]:Wt.DFlat,[Wt.DSharp]:Wt.EFlat,[Wt.FSharp]:Wt.GFlat,[Wt.GSharp]:Wt.AFlat,[Wt.ASharp]:Wt.BFlat},se=Ht()(ie),ue=[...Object.values(Wt),...Object.values(Wt).map((t=>t+"m"))];class ce extends Error{constructor(){super("The given symbol is not a valid string"),this.name="InvalidInput"}}class le extends Error{constructor(){super("An unexpected error happened. Maybe a custom filter returned null instead of throwing an exception?"),this.name="UnexpectedError"}}class pe extends Error{constructor(t,e,r){super(t),this.name=r,this.chord=e}}class fe extends pe{constructor(t){super(`"${t.input.symbol}" does not seems to be a chord`,t,"NoSymbolFound")}}class de extends pe{constructor(t,e){super(`The chord descriptor "${t.input.descriptor}" contains unknown or duplicated modifiers: "${e}"`,t,"InvalidModifier")}}class he extends pe{constructor(t,e){super(`"${t.input.symbol}" describes a chord with an invalid intervals combo: `+e.join(" and "),t,"InvalidIntervals")}}var me=r(53142),be=r.n(me),ve=r(46343),ye=r.n(ve);function ge(t,e){const r=be()(e)?e:[e];return ye()(t,r)}function xe(t,e){return we(t,e,"oneOf")}function Se(t,e){return we(t,e,"all")}function _e(t,e){return we(t,e,"none")}function we(t,e,r){return(be()(e)?e:[e])["oneOf"===r?"some":"every"]((e=>"none"===r?!t.includes(e):t.includes(e)))}const Ce=[["2","3"],["2","9"],["3","b3"],["4","11"],["5","b5"],["5","#5"],["b6","#5"],["b6","6"],["b6","13"],["6","13"],["b7","bb7"],["7","b7"],["9","b9"],["9","#9"],["11","#11"],["13","b13"]];function Ae(t){const e=t.normalized.intervals,r=Ce.find((t=>Se(e,t)));if(r)throw new he(t,r);return t}function je(t){const{rootNote:e,bassNote:r,descriptor:n,chordChanges:o}=t.formatted;let a=e;return n&&(a+=n),o&&o.length&&(a+="("+o.join(",")+")"),r&&(a+="/"+r),t.formatted.symbol=a,t}const Ee={ma:"major",ma6:"major6",ma7:"major7",dom7:"dominant7",mi:"minor",mi6:"minor6",mi7:"minor7",miMa7:"minorMajor7",aug:"augmented",dim:"diminished",dim7:"diminished7",power:"power",bass:"bass"},Oe=(Ee.ma,Ee.ma6,Ee.ma7,Ee.dom7,Ee.aug,[Ee.mi,Ee.mi6,Ee.mi7,Ee.miMa7,Ee.dim,Ee.dim7]),Te={[Ee.ma]:()=>"",[Ee.ma6]:t=>t.normalized.intervals.includes("9")?"69":"6",[Ee.ma7]:t=>"ma"+Be(t),[Ee.dom7]:t=>t.normalized.intents.alt?"7alt":Be(t),[Ee.mi]:()=>"mi",[Ee.mi6]:t=>t.normalized.intervals.includes("9")?"mi69":"mi6",[Ee.mi7]:t=>"mi"+Be(t),[Ee.miMa7]:t=>"miMa"+Be(t),[Ee.aug]:()=>"+",[Ee.dim]:()=>"dim",[Ee.dim7]:()=>"dim7",[Ee.power]:()=>"5",[Ee.bass]:()=>" bass"},Ie={add:"add",add7:"Ma7",omit:"omit",sus:"sus"};function De(t){return t.formatted={rootNote:t.normalized.rootNote,bassNote:t.normalized.bassNote,descriptor:Ne(t),chordChanges:Le(t)},t}function Ne(t){let e=Te[t.normalized.quality](t);return t.normalized.isSuspended&&(e+=Ie.sus),e}function Be(t){const e=t.normalized.extensions;let r=e[e.length-1];return"11"===r&&t.normalized.intents.major&&(r=_e(t.normalized.alterations,["b9","#9"])?"9":"7"),r||"7"}function Le(t){const e=t.normalized.omits.map(((t,e)=>{let r="";return 0===e&&(r+=Ie.omit),r+="b3"===t?"3":t,r}));if(function(t){return t.normalized.intents.alt&&t.normalized.quality===Ee.dom7}(t))return e;const r=(n=t.normalized.quality,t.normalized.adds.filter((t=>!([Ee.ma6,Ee.mi6].includes(n)&&"9"===t))).map(((t,e)=>{let r="";return 0===e&&(r+=Ie.add,["b","#"].includes(t[0])&&(r+=" ")),r+="7"===t?Ie.add7:t,r})));var n;return[...t.normalized.alterations,...r,...e]}const Fe="\u266d",Re="\u266f",Pe={major:{0:"I",2:"II",3:`${Fe}III`,4:"III",5:"IV",7:"V",8:`${Fe}VI`,9:"VI",10:`${Fe}VII`,11:"VII"},minor:{0:"I",2:"II",3:"III",4:`${Re}III`,5:"IV",7:"V",8:"VI",9:`${Re}VI`,10:"VII",11:`${Re}VII`}},Me={sup2:"\xb2",sup4:"\u2074",sup5:"\u2075",sup6:"\u2076",sup7:"\u2077",sub3:"\u2083",sub4:"\u2084",sub5:"\u2085",flat:"\u266d",sharp:"\u266f"},ke={major:["I","ii","iii","IV","V","vi","vii\xb0"],dom7:["I\u0394",`ii${Me.sup7}`,`iii${Me.sup7}`,"IV\u0394",`V${Me.sup7}`,`vi${Me.sup7}`,"vii\xf8"],minor:["i","ii\xb0","III","iv","v","VI","VII"],minor7:[`i${Me.sup7}`,"ii\xf8","III\u0394",`iv${Me.sup7}`,`v${Me.sup7}
2`,"VI\u0394","VII\u0394"]},ze={borrowedFromMinor:["i","ii\xb0",`${Me.flat}III`,"iv","v",`${Me.flat}VI`,`${Me.flat}VII`],borrowedFromMinor7:[`i${Me.sup7}`,"ii\xf8",`${Me.flat}III\u0394`,`iv${Me.sup7}`,`v${Me.sup7}`,`${Me.flat}VI\u0394`,`${Me.flat}VII\u0394`],borrowedFromMajor:["I","ii",`${Me.sharp}iii`,"IV","V",`${Me.sharp}vi`,`${Me.sharp}vii\xb0`],borrowedFromDom7:["I\u0394",`ii${Me.sup7}`,`${Me.sharp}iii${Me.sup7}`,"IV\u0394",`V${Me.sup7}`,`${Me.sharp}vi${Me.sup7}`,`${Me.sharp}vii\xf8`]};function $e(t="",e){let r,n,o;t||(t=e.normalized.rootNote);const a=t.indexOf("m")>-1?"minor":"major",i=Oe.includes(e.normalized.quality)?"minor":"major";r=function(t,e,r,n){const o=t.replace("m",""),a=function(t,e){const r=oe.indexOf(se[t]||t);return(oe.indexOf(se[e]||e)-r+12)%12}(o,r.normalized.rootNote),i=Pe[e][a]||"?";return"minor"===n?i.toLowerCase():i}(t,a,e,i);const s=function(t){let e="";t.normalized.bassNote&&(!function(t){return He(t,"b3")||He(t,"3")}(t)?!function(t){return He(t,"b5")||He(t,"5")||He(t,"#5")}(t)?function(t){return He(t,"bb7")||He(t,"b7")||He(t,"7")}(t)&&(e="\xb2"):e=Ue(t)?`${Me.sup4}${Me.sub3}`:`${Me.sup6}${Me.sub4}`:e=Ue(t)?`${Me.sup6}${Me.sub5}`:`${Me.sup6}`);return e}(e),u=Ge[e.normalized.quality](e,s);return n=`${r}${u}`,!function(t,e){return"major"===t?ke.major.includes(e)||ke.dom7.includes(e):ke.minor.includes(e)||ke.minor7.includes(e)}(a,n)?!function(t,e){return"major"===t?ze.borrowedFromMinor.includes(e)||ze.borrowedFromMinor7.includes(e):ze.borrowedFromMajor.includes(e)||ze.borrowedFromDom7.includes(e)}(a,n)?(o="unknown",r="?",n=`${r}${u}`):o="borrowed":o="diatonic",n+=s,e.numeral={symbol:n,degree:r,descriptor:u,inversion:s,type:o,thirdQuality:i},e}const Ge={[Ee.ma]:()=>"",[Ee.ma6]:()=>"",[Ee.ma7]:()=>"\u0394",[Ee.dom7]:(t,e)=>""===e?`${Me.sup7}`:"",[Ee.mi]:()=>"",[Ee.mi6]:()=>"",[Ee.mi7]:(t,e)=>t.normalized.intervals.includes("b5")?"\xf8":""===e?`${Me.sup7}`:"",[Ee.miMa7]:()=>"m\u0394",[Ee.aug]:()=>"+",[Ee.dim]:()=>"\xb0",[Ee.dim7]:(t,e)=>""===e?`\xb0${Me.sup7}`:"\xb0",[Ee.power]:()=>"",[Ee.bass]:()=>""};function Ue(t){return[Ee.ma7,Ee.mi7,Ee.miMa7,Ee.dom7,Ee.dim7].includes(t.normalized.quality)}function He(t,e){const r=t.normalized.intervals.indexOf(e);if(-1===r)return!1;return(se[t.normalized.bassNote]||t.normalized.bassNote)===(se[t.normalized.notes[r]]||t.normalized.notes[r])}function Ve(t){const e=[We,qe,Ye,Ke];return t.input.descriptor&&(t.input.parsableDescriptor=Pt(e,t.input.descriptor)),t}function We(t){return t.replace(/[A-LN-Za-z]+/g,(t=>t.toLowerCase())).replace("oMit","omit").replace("diM","dim").replace("augMented","augmented")}function qe(t){return t.replace(/ /g,"")}function Ye(t){return t.replace(/(7?dim)(alt|add)/g,"$1 $2").replace(/([m|M])(alt|add)/g,"$1 $2").replace(/i(no[35])/g,"i $1").replace(/([b\u266d#\u266f]9)6/g,"$1 6").replace(/(9\/?6)/g," $1").replaceAll("+5","#5").replaceAll("-5","b5")}function Ke(t){let e,r,n;return t.replace(/\((.*?)\)/g,((t,o)=>(e=[],r="",o.split(",").forEach((t=>{n=!0,t.startsWith("add")?r="add":t.startsWith("omit")?r="omit":t.startsWith("no")?r="no":n=!1,n?e.push(t):e.push(r+t)}))," "+e.join(" ")+" ")))}function Xe(t={},e){return{input:{symbol:e},normalized:{},formatted:{},parserConfiguration:kt()(t)}}const Ze={C:"flat",D:"sharp",E:"sharp",F:"flat",G:"sharp",A:"sharp",B:"sharp",Cm:"flat",Dm:"flat",Em:"sharp",Fm:"flat",Gm:"flat",Am:"flat",Bm:"sharp"};function Qe(t){const e=t.normalized.rootNote,r=t.normalized.semitones,n=t.normalized.quality;let o=e;Oe.includes(n)&&(o+="m");const a="sharp"===function(t){return t.indexOf("#")>-1?"sharp":t.indexOf("b")>-1?"flat":Ze[t]}(o)?oe:ae,i=a.indexOf(e),s=[...a.slice(i),...a.slice(0,i),...a.slice(i),...a.slice(0,i)];return t.normalized.notes=r.map((t=>s[t])),t}function Je(t){return t.normalized.rootNote=te[t.input.rootNote],t.input.bassNote&&(t.normalized.bassNote=te[t.input.bassNote]),t}var tr=r(72846),er=r.n(tr),rr=r(81936),nr=r.n(rr),or=r(82438),ar=r.n(or),ir=r(30795),sr=r.n(ir);function ur(t){let e=er()(t.normalized.intervals),r={quality:"",isSuspended:!1,extensions:[],alterations:[],adds:[],omits:[]};if(ge(e,["1","5"]))r.quality=Ee.power;else if(function(t){return ge(t,["1"])}(e))r.quality=Ee.bass;else{const n=function(t,e){const r=[];(_e(t,["b3","3","4","11"])||!e&&_e(t,["b3","4"]))&&r.push(e?"3":"b3");_e(t,["b5","5","#5","b13"])&&r.push("5");return r}(e,t.normalized.intents.major),o=function(t,e){return t.includes("4")||t.includes("11")&&e&&!t.includes("3")}
2(e,t.normalized.intents.major),{qualityIntervals:a,quality:i}=function(t,e,r,n){const o=function(t,e,r,n){const o=[cr.bind(null,n),lr.bind(null,r,e.normalized.intents.major),pr.bind(null,e.normalized.intents.alt),ar()];return Pt(o,er()(t))}(t,e,r,n),a=[{qualityIntervals:["b3"],quality:Ee.mi},{qualityIntervals:["b3","6"],quality:Ee.mi6},{qualityIntervals:["b3","7"],quality:Ee.miMa7},{qualityIntervals:["b3","b7"],quality:Ee.mi7},{qualityIntervals:["3"],quality:Ee.ma},{qualityIntervals:["3","6"],quality:Ee.ma6},{qualityIntervals:["3","7"],quality:Ee.ma7},{qualityIntervals:["3","b7"],quality:Ee.dom7},{qualityIntervals:["3","#5"],quality:Ee.aug},{qualityIntervals:["b3","b5"],quality:Ee.dim},{qualityIntervals:["b3","b5","bb7"],quality:Ee.dim7}].sort(((t,e)=>e.qualityIntervals.length-t.qualityIntervals.length));return nr()(a,(t=>Se(o,t.qualityIntervals)))}(e,t,o,n),s=function(t,e){const r=[];(function(t){return[Ee.ma7,Ee.dom7,Ee.mi7,Ee.miMa7].includes(t)})(e)&&(!function(t,e){return fr(e)&&xe(t,"13")&&xe(t,["11","#11"])&&xe(t,["b9","9","#9"])}(t,e)?!function(t,e){return!fr(e)&&xe(t,"13")&&xe(t,["b9","9","#9"])}(t,e)?!function(t){return xe(t,"11")&&xe(t,["b9","9","#9"])}(t)?function(t){return t.includes("9")}(t)&&r.push("9"):r.push("9","11"):r.push("9","13"):r.push("9","11","13"));return r}(e,i),u=["1",...a,...s],{adds:c,alterations:l}=function(t,e,r){const n=[],o=[];t.filter((t=>"5"!==t&&"4"!==t)).forEach((t=>{e.includes(t)||(!function(t,e){return{[Ee.ma]:["b5","#5","#11","b13"],[Ee.ma6]:["b5","#5","#11","b13"],[Ee.ma7]:["b5","#5","#11","b13"],[Ee.dom7]:["b5","#5","b9","#9","#11","b13"],[Ee.mi]:["b5","#5","#11","b13"],[Ee.mi6]:["b5","#5","#11","b13"],[Ee.mi7]:["b5","#5","#11","b13"],[Ee.miMa7]:["b5","#5","#11","b13"],[Ee.aug]:[],[Ee.dim]:[],[Ee.dim7]:[]}[t].includes(e)}(r,t)?n.push(t):o.push(t))})),function(t){return Se(t,["3","4"])}(t)&&n.push("3");return{adds:dr(n),alterations:dr(o)}}(e,u,i);r={...r,quality:i,isSuspended:o,extensions:s,alterations:l,adds:c,omits:n}}return{...t,normalized:{...t.normalized,...r}}}function cr(t,e){const r=er()(e);return t.includes("3")?r.push("3"):t.includes("b3")&&r.push("b3"),r}function lr(t,e,r){if(t){const t=sr()(r,"4");return t.push(e?"3":"b3"),t}return r}function pr(t,e){if(t){const t=sr()(e,"b5","#5");return t.push("5"),t}return e}function fr(t){return[Ee.mi7,Ee.miMa7].includes(t)}function dr(t){return t.sort(((t,e)=>Number.parseInt(t.replace(/[b#]/,""))-Number.parseInt(e.replace(/[b#]/,""))))}function hr(t,e){const{symbol:r}=e.input,n=t.join("|"),o=new RegExp("^("+n+")(.*?)(/("+n+"))?$"),a=r.match(o);if(a&&a[1])return e.input.rootNote=a[1],a[2]&&(e.input.descriptor=a[2]),a[4]&&(e.input.bassNote=a[4]),e;throw new fe(e)}const mr={ma:"ma",mi:"mi",dim:"dim",halfDim:"halfDim",aug:"aug",seventh:"seventh",sus:"sus",sus2:"sus2",ninth:"ninth",eleventh:"eleventh",thirteenth:"thirteenth",fifthFlat:"b5",fifthSharp:"#5",ninthFlat:"b9",ninthSharp:"#9",eleventhSharp:"#11",thirteenthFlat:"b13",add3:"add3",add4:"add4",addb6:"addb6",add6:"add6",add69:"add69",add7:"add7",add9:"add9",add11:"add11",add13:"add13",bass:"bass",omit3:"omit3",omit5:"omit5",power:"power",alt:"alt"},br={"^":[mr.ma,mr.add7],"\u0394":[mr.ma,mr.add7],M:mr.ma,Ma:mr.ma,Maj:mr.ma,Major:mr.ma,ma:mr.ma,maj:mr.ma,major:mr.ma},vr=xr(br,mr.add7,(t=>t+"7")),yr=xr(br,mr.add7,(t=>"add"+t+"7")),gr={...br,...vr,"-":mr.mi,m:mr.mi,Mi:mr.mi,Min:mr.mi,Minor:mr.mi,mi:mr.mi,min:mr.mi,minor:mr.mi,"\xb0":mr.dim,o:mr.dim,0:mr.dim,dim:mr.dim,"dim.":mr.dim,diminished:mr.dim,"\xd8":mr.halfDim,"\xf8":mr.halfDim,h:mr.halfDim,"+":mr.aug,aug:mr.aug,augmented:mr.aug,7:mr.seventh,4:mr.sus,sus:mr.sus,sus4:mr.sus,suspended:mr.sus,suspended4:mr.sus,sus2:mr.sus2,suspended2:mr.sus2,9:mr.ninth,11:mr.eleventh,13:mr.thirteenth,b3:mr.mi,b5:mr.fifthFlat,"\u266d5":mr.fifthFlat,"#5":mr.fifthSharp,"\u266f5":mr.fifthSharp,b9:mr.ninthFlat,"\u266d9":mr.ninthFlat,addb9:mr.ninthFlat,"add\u266d9":mr.ninthFlat,"#9":mr.ninthSharp,"\u266f9":mr.ninthSharp,"add#9":mr.ninthSharp,"add\u266f9":mr.ninthSharp,"#11":mr.eleventhSharp,"\u266f11":mr.eleventhSharp,"add#11":mr.eleventhSharp,b13:mr.thirteenthFlat,"\u266d13":mr.thirteenthFlat,addb13:mr.thirteenthFlat,"add\u266d13":mr.thirteenthFlat,...yr,2:mr.add9,add2:mr.add9,add3:mr.add3,add4:mr.add4,addb
26:mr.addb6,b6:mr.addb6,6:mr.add6,add6:mr.add6,"6/9":mr.add69,69:mr.add69,96:mr.add69,"9/6":mr.add69,add9:mr.add9,add11:mr.add11,add13:mr.add13,bass:mr.bass,omit3:mr.omit3,no3:mr.omit3,omit5:mr.omit5,no5:mr.omit5,5:mr.power,alt:mr.alt,"alt.":mr.alt,altered:mr.alt};function xr(t,e,r){return Object.keys(t).map(r).reduce(((t,r)=>(t[r]=e,t)),{})}const Sr=Object.keys(gr).sort(((t,e)=>e.length-t.length)),_r=mr,wr={1:0,2:2,b3:3,3:4,4:5,b5:6,5:7,"#5":8,b6:8,6:9,bb7:9,b7:10,7:11,b9:13,9:14,"#9":15,11:17,"#11":18,b13:20,13:21};function Cr(t,e){let r=[];return e.input.parsableDescriptor&&(r=function(t){const{parsableDescriptor:e}=t.input,r=[],n=new RegExp(Sr.map(Pr).join("|"),"g"),o=e.match(n);let a,i=e;o&&o.forEach((t=>{a=gr[t],Array.isArray(a)||(a=[a]),a.forEach((e=>{r.includes(e)||(r.push(e),i=i.replace(t,""))}))}));if(0===r.length)throw new fe(t);if(i.trim().length>0)throw new de(t,i);return r}(e)),e.input.modifiers=r,e.normalized.intervals=function(t,e){if(t.includes(_r.power))return["1","5"];if(t.includes(_r.bass))return["1"];return ar()(["1",...Ar(t),...jr(t),...Er(t,e),...Or(t),...Tr(t),...Dr(t,e),...Nr(t,e),...Br(t,e)]).sort(((t,e)=>wr[t]-wr[e]))}(r,t),e.normalized.semitones=e.normalized.intervals.map((t=>wr[t])).sort(((t,e)=>t-e)),e.normalized.intents=function(t){return{major:Fr(t),eleventh:t.includes(_r.eleventh),alt:t.includes(_r.alt)}}(r),e}function Ar(t){const e=[];return t.includes(_r.omit3)?[]:(xe(t,[_r.sus,_r.sus2])||(Fr(t)?t.includes(_r.eleventh)||e.push("3"):e.push("b3")),t.includes(_r.add3)&&e.push("3"),e)}function jr(t){const e=[];return xe(t,[_r.sus,_r.add4])&&e.push("4"),e}function Er(t,e){const r=[];return t.includes(_r.omit5)?[]:((xe(t,[_r.dim,_r.halfDim,_r.fifthFlat])||Lr(t,e,"b5"))&&r.push("b5"),(xe(t,[_r.aug,_r.fifthSharp])||Lr(t,e,"#5"))&&r.push("#5"),r.length||t.includes(_r.thirteenthFlat)||r.push("5"),r)}function Or(t){const e=[];return xe(t,[_r.addb6])&&e.push("b6"),!xe(t,[_r.add6,_r.add69])||Rr(t)||xe(t,[_r.halfDim])||e.push("6"),e}function Tr(t){const e=[];return xe(t,[_r.alt])&&e.push("b7"),xe(t,[_r.seventh,_r.halfDim])?t.includes(_r.dim)?e.push("bb7"):t.includes(_r.halfDim)?e.push("b7"):e.push(Ir(t)):xe(t,[_r.ninth,_r.eleventh,_r.thirteenth])&&e.push(Ir(t)),t.includes(_r.add7)&&e.push("7"),e}function Ir(t){return t.includes(_r.ma)?"7":"b7"}function Dr(t,e){const r=[];return xe(t,[_r.add69,_r.ninth,_r.eleventh,_r.thirteenth])&&_e(t,[_r.ninthFlat,_r.ninthSharp])&&r.push("9"),xe(t,[_r.sus2,_r.add9])&&r.push("9"),(xe(t,[_r.ninthFlat])||Lr(t,e,"b9"))&&r.push("b9"),(xe(t,[_r.ninthSharp])||Lr(t,e,"#9"))&&r.push("#9"),r}function Nr(t,e){const r=[];return(xe(t,[_r.thirteenth])&&!Fr(t)||xe(t,[_r.eleventh,_r.add11]))&&r.push("11"),(xe(t,[_r.eleventhSharp])||Lr(t,e,"#11"))&&r.push("#11"),r}function Br(t,e){const r=[];return(xe(t,[_r.add13,_r.thirteenth])||xe(t,[_r.add6,_r.add69])&&Rr(t)||xe(t,[_r.add6,_r.add69])&&xe(t,[_r.halfDim]))&&r.push("13"),(xe(t,[_r.thirteenthFlat])||Lr(t,e,"b13"))&&r.push("b13"),r}function Lr(t,e,r){return t.includes(_r.alt)&&e.includes(r)}function Fr(t){return _e(t,[_r.mi,_r.dim,_r.dim7,_r.halfDim])}function Rr(t){return xe(t,[_r.seventh,_r.ninth,_r.eleventh,_r.thirteenth])}function Pr(t){return t.replace(/[.\-*+?^${}()|[\]\\]/g,"\\$&")}function Mr(t,e,r,n){if(!Array.isArray(e))throw new TypeError(`'${t}' should be an array`);if(!n&&0===e.length)throw new TypeError(`'${t}' cannot be empty`);e.forEach((e=>{if(!r.includes(e))throw new TypeError(`'${e}' is not a valid value for ${t}`)}))}function kr(t){return zr(new le,t)}function zr(t,e){return{type:t.name,chord:t.chord,message:t.message,notationSystem:e}}const $r=function(t={}){const e=["b5","#5","b9","#9","#11","b13"],r=["english","german","latin"],{notationSystems:n=kt()(r),altIntervals:o=kt()(e),customFilters:a=[],key:i=""}=t;return function(t,e){Mr("altIntervals",t,e,!0)}(o,e),function(t,e){Mr("notationSystems",t,e)}(n,r),Gt(a),function(t){if(!(""===t||$t()(t)&&ue.includes(t)))throw new TypeError(`'${t}' is not a valid value for key`)}(i),function(e){const r=[];if(s=e,!("string"==typeof s&&s.length>0)){const t=new ce;r.push(zr(t))}var s;const u=kt()(ne).filter((t=>n.includes(t.name)));let c,l,p;if(!r.length)for(;u.length&&!c;){p=u.shift(),l=[Xe.bind(null,t),hr.bind(null,p.notes),Ve,Cr.bind(null,o),Ae,Je,ur,De,je,Qe,$e.bind(null,i),...a];try{c=Pt(l,e),c?c.input.notationSystem=p.name:r.push(kr(p.name))}catch(f){r.push(zr(f,p.name))}}return c||{error:r}}},Gr={sus2:"sus2",add2:"2",omit:"no",ma:"M",mi:"m",dim:"\xb0",aug7:"7+",eleventh:"11"};function Ur(t){let e,r=t.formatted.chordChanges;return!function(t){return ge(t.normalized.intervals,["1","5","9"])}(t)?!function(t){return ge(t.normalized.intervals,["1","3","5","9"])}(t)?!function(t){return ge(t.normalized.intervals,["1","3","#5","b7"])}(t)?(e=t.formatted.descriptor.replace("mi",Gr.mi).replace(/[m|M]a/,Gr.ma).replace("dim",Gr.dim),function(t){return t.normalized.intents.eleventh}(t)&&(e=e.replace(/7sus|9sus/,Gr.eleventh))):(e=Gr.aug7,r=[]):(e=Gr.add2,r=[]):(e=Gr.sus2,r=[]),r=r.map((t=>t.replace(/[m|M]a/,Gr.ma).replace("omit",Gr.omit))),{...t,formatted:{...t.formatted,descriptor:e,chordChanges:r}}}var Hr=r(88088),Vr=r.n(Hr);function Wr(t="none",e){if("none"===t)return e;const r=Vr()(e.normalized.intervals,{max:["4","b5","#5","6","bb7","b7","7","b9","9","#9","11","#11","b13","13"],core:["4","b9","9","#9","11","#11","b13","13"]}[t]);_e(r,["b3","3"])&&r.push(e.normalized.intents.major?"3":"b3"),_e(r,["b5","5","#5"])&&r.push("5"),e.normalized.intervals=r,e.normalized.semitones=r.map((t=>wr[t])),e.normalized.intents.eleventh=!1,e.normalized.intents.alt=!1,"max"===t&&delete e.normalized.bassNote;return Pt([ur,De,Qe],e)}function qr(t,e,r){const{rootNote:n,bassNote:o}=r.normalized,a=Kr(n);if(r.normalized.rootNote=Yr(a,t,e),r.formatted.rootNote=r.normalized.rootNote,o){const n=Kr(o);r.normalized.bassNote=Yr(n,t,e),r.formatted.bassNote=r.normalized.bassNote}return Qe(r)}function Yr(t,e,r){const n=oe.indexOf(t)+e,o=Math.floor(n/12),a=oe[n-12*o];return"flat"===r&&ie[a]||a}function Kr(t){return se[t]||t}const Xr={german:{Ab:"As",A:"A","A#":"Ais",Bb:"Hes",B:"H",C:"C","C#":"Cis",Db:"Des",D:"D","D#":"Dis",Eb:"Es",E:"E",F:"F","F#":"Fis",Gb:"Ges",G:"G","G#":"Gis"},latin:{Ab:"Lab",A:"La","A#":"La#",Bb:"Sib",B:"Si",C:"Do","C#":"Do#",Db:"Reb",D:"Re","D#":"Re#",Eb:"Mib",E:"Mi",F:"Fa","F#":"Fa#",Gb:"Solb",G:"Sol","G#":"Sol#"}},Zr=Object.keys(Xr);function Qr(t="english",e){const r="auto"===t?e.input.notationSystem:t;return"english"===r?e:Zr.includes(r)?(e.formatted.rootNote=Xr[r][e.formatted.rootNote],e.formatted.bassNote&&(e.formatted.bassNote=Xr[r][e.formatted.bassNote]),e):null}function Jr(t){return t&&t.formatted&&t.formatted.symbol?t.formatted.symbol:null}const tn=t=>t&&"object"==typeof t&&!t.error&&t.input,en=function({accidental:t="original",customFilters:e=[],notationSystem:r="english",printer:n="text",simplify:o="none",transposeValue:a=0,useShortNamings:i=!1}={}){Gt(e);const s=[];return["max","core"].includes(o)&&s.push(Wr.bind(null,o)),"original"===t&&0===a||s.push(qr.bind(null,a,t)),i&&s.push(Ur),s.push(Qr.bind(null,r),je,...e),function(t){if(!tn(t))return null;const e=Pt(s,kt()(t));return"raw"===n?function(t){delete t.parserConfiguration.notationSystems;const e=kt()(t),r=Jr(t),n=$r(t.parserConfiguration)(r);return e.input=n.input,e}(e):Jr(e)}};const rn=new RegExp(It()(Ft.chordBeatCount)+"*$","g"),nn=new RegExp("^"+It()(Ft.barRepeat)+"+$");function on(t=""){return Dt(an(t)).split(" ").every(((t,e,r)=>{const n=cn(t);return o=n,!$r()(o).error||t.match(nn)&&e>0||n===Ft.noChord||Bt(t)&&r.length>1;var o}))}const an=t=>un(t).replaceAll("add ","add"),sn=t=>{const e=t.trimEnd();return e.endsWith(" "+Ft.barSplitMarker)||e===Ft.barSplitMarker},un=t=>{if(!sn(t))return t;return t.trimEnd().slice(0,-1).trimEnd()},cn=t=>pn(ln(t)),ln=t=>t.replace(rn,""),pn=t=>{let e=t;return t.startsWith(Ft.subBeatOpener)&&(e=e.substring(Ft.subBeatOpener.length)),t.endsWith(Ft.subBeatCloser)&&(e=e.substring(0,e.length-Ft.subBeatCloser.length)),e};function fn(t){return""===Dt(t)}const dn=new RegExp("^"+It()(Ft.sectionLabel)+"([a-zA-Z]+)([1-9])?( x[1-9][0-9]?)?$");function hn(t){return null!==Dt(t).match(dn)}var mn=r(20235),bn=r.n(mn);function vn(t,e={}){return $r({key:e.string})(t)}var yn=r(52486),gn=r.n(yn),xn=r(73016),Sn=r.n(xn);
2class _n extends Error{constructor({string:t,duration:e,currentBeatCount:r,beatCount:n}={}){if(!t||!gn()(t))throw new TypeError("InvalidBeatCountException cannot be created without chord string, received: "+t);if(!e||!Sn()(e))throw new TypeError("InvalidBeatCountException cannot be created without chord duration, received: "+e);if(!r||!Sn()(r))throw new TypeError("InvalidBeatCountException cannot be created without currentBeatCount, received: "+r);if(!n||!Sn()(n))throw new TypeError("InvalidBeatCountException cannot be created without beatCount, received: "+n);super(),this.name="InvalidBeatCountException",this.string=t,this.duration=e,this.currentBeatCount=r,this.beatCount=n}}class wn extends Error{constructor({string:t}={}){if(!t||!gn()(t))throw new TypeError("InvalidChordRepetitionException cannot be created without chord string, received: "+t);super(),this.name="InvalidChordRepetitionException",this.string=t}}class Cn extends Error{constructor({chordLine:t,symbol:e,position:r}={}){if(!t||!gn()(t))throw new TypeError("InvalidSubBeatGroupException cannot be created without a chordLine, received: "+t);if(!e||!gn()(e))throw new TypeError("InvalidSubBeatGroupException cannot be created without symbol, received: "+e);if(!Sn()(r))throw new TypeError("InvalidSubBeatGroupException cannot be created without symbol position, received: "+r);super(),this.name="InvalidSubBeatGroupException",this.chordLine=t,this.symbol=e,this.position=r}}class An extends Error{constructor({string:t}={}){if(!t||!gn()(t))throw new TypeError("InvalidBarRepeatException cannot be created without chord string, received: "+t);super(),this.name="InvalidBarRepeatException",this.string=t}}const jn=new RegExp(It()(Ft.chordBeatCount),"g"),En=new RegExp("^"+It()(Ft.barRepeat)+"+$");function On(t,{timeSignature:e=Rt,originalKey:r={},continueBar:n}={}){const o=sn(t);let{beatCount:a}=e;const i=[],s={allChords:[]},u={};let c,l,p=Et()(s),f={},d=0,h=!1,m=0,b=!1,v=!1;n&&(d=n.currentBeatCount,e=n.timeSignature,a=e.beatCount,v=!0),function(t){const e={};let r,n=!1;const o=new RegExp(It()(Ft.subBeatOpener)+"|"+It()(Ft.subBeatCloser),"g");for(;r=o.exec(t);){const a=r[0];if(e.chordLine=t,e.symbol=a,e.position=o.lastIndex-1,r[0]===Ft.subBeatOpener){if(n)throw new Cn(e);n=!0}else{if(!n)throw new Cn(e);n=!1}}if(n)throw new Cn(e)}(t);const y=Dt(an(t)).split(" ");if(y.forEach(((n,g)=>{if(n.match(En))!function(r){if(0!==d||!l||l.isContinuation||!bn()(e,l.timeSignature))throw new An({string:t});{const t=Et()(l);t.isRepeated=!0;for(let e=0;e<r.length;e++)i.push(Et()(t))}}(n);else if(Bt(n))!function(t){e=Lt(t),a=e.beatCount,b=!0}(n);else if(function(e){e.startsWith(Ft.subBeatOpener)&&(h=!0);h&&(!function(t,e){if(function(t){return t.indexOf(Ft.chordBeatCount)>-1}(e))throw new Cn({chordLine:t,symbol:e,position:0})}(t,e),u[m]?u[m]++:u[m]=1);c=cn(e),f={string:e,duration:In(e,a,h),model:Tn(c)?Ft.noChord:vn(c,r),beat:d+1,isInSubBeatGroup:h},d+=f.duration,function(t,e){if(t.allChords.length>0){const r=t.allChords[t.allChords.length-1];if(bn()(r.model,e.model)&&!function(t,e){return e.string.startsWith(Ft.subBeatOpener)||t.string.endsWith(Ft.subBeatCloser)&&!e.model.isInSubBeatGroup}(r,e))throw new wn({string:e.string})}}(p,f),p.allChords.push(f),e.endsWith(Ft.subBeatCloser)&&(!function(e){if(1===u[m]||u[m]>4)throw new Cn({chordLine:t,symbol:e,position:0})}(e),h=!1,m++,d+=1)}(n),function(t,e){return t===e}(d,a))!function(){p.timeSignature=e,p.lineHadTimeSignatureChange=b,p.hasUnevenChordsDurations=Dn(p),v&&(p.isContinuation=!0,v=!1);const t=Et()(p);p.isRepeated=bn()(p,l),i.push(Et()(p)),l=t,p=Et()(s),d=0}();else{const t=y.length===g+1;t&&o||function(t,e,r,n){if(function(t,e,r){return function(t,e){return t>e}(t,e)||function(t,e,r){return r&&t<e}(t,e,r)}(e,r,n))throw new _n({string:t.string,duration:t.duration,currentBeatCount:e,beatCount:r})}(f,d,a,t)}})),o&&0===d&&i.length>0)throw new _n({string:f.string,duration:f.duration,currentBeatCount:a,beatCount:a});let g=null;return o&&d>0&&(p.timeSignature=e,p.lineHadTimeSignatureChange=b,p.hasUnevenChordsDurations=p.allChords.length>1&&Dn(p),p.isRepeated=!1,i.push(Et()(p)),g={currentBeatCount:d,timeSignature:Et()(e)}),function(t,e){let r=-1,n=0,o="";t.forEach(((t,a)=>{t.allChords.forEach((t=>{if(t.isInSubBeatGroup){const i=""+a+t.beat;i!==o&&(r++,n=0);const s=(1/e[r]).toPrecision(2);t.duration=Number.parseFloat(s),t.isFirstOfSubBeat=0===n,t.isLastOfSubBeat=n===e[r]-1,o=i,n++}}))}))}(i,u),{allBars:i,originalKey:r,hasContinuation:o,pendingBar:g}}function Tn(t){return t===Ft.noChord}function In(t,e,r){return r?0:(t.match(jn)||[]).length||e}function Dn(t){let e=t.allChords[0].duration;return t.allChords.some((t=>t.duration!==e))}var Nn=r(53670),Bn=r.n(Nn),Ln=r(91415),Fn=r.n(Ln);
2const Rn="A,A#,B,C,C#,D,D#,E,F,F#,G,G#".split(","),Pn="Ab,Bb,Db,Eb,Gb".split(","),Mn=[...Rn,...Pn],kn=[...Mn,...Mn.map((t=>t+"m"))],zn={Ab:"G#",Bb:"A#",Db:"C#",Eb:"D#",Gb:"F#"},$n=Fn()(zn);function Gn(t){return["G","Em","D","Bm","A","F#m","E","C#m","B","G#m","F#","D#m","C#","A#m","G#","D#","A#"].includes(t)?"sharp":"flat"}function Un(t,e,r){const n={"G#":"Ab","D#":"Eb","A#":"Bb",Dbm:"C#m",Gbm:"F#m"};let o;if(0===e&&"auto"===r)o=t.string;else{const n="auto"===r?e<0?"flat":"sharp":r;o=function(t,e,r){const n=t.endsWith("m"),o=t.replace("m",""),a=zn[o]||o;let i=Rn.indexOf(a)+e;i<0?i+=Rn.length:i>=Rn.length&&(i-=Rn.length);const s=Rn[i],u="flat"===r&&$n[s]||s;return n?u+"m":u}(t.string,e,n)}const a="auto"===r&&n[o]?n[o]:o;return{string:a,accidental:Gn(a)}}function Hn(t){const e=function(t){const e=function(t){let e=0,r=[];const n=[];return Et()(t).map((t=>(t.keyString=function(t){const e=Et()(t.model),r=["major","major6","major7","dominant7","augmented","power","bass"];let n=e.formatted.rootNote;r.includes(e.normalized.quality)||(n+="m");return n}(t),t))).forEach((t=>{const e=Bn()(n,(e=>e.keyString===t.keyString));-1===e?n.push(t):(n[e].duration+=t.duration,t.isLast&&(n[e].isLast=!0))})),n.map((t=>(t.isLast&&(t.duration*=1.25),t.isFirst&&(t.duration*=1.25),t))).forEach((t=>{t.duration>e?(r=[t],e=t.duration):t.duration===e&&r.push(t)})),r}(t);if(0===e.length)return;if(1===e.length)return e[0].keyString;const r=e.find((t=>!0===t.isLast));if(r)return r.keyString;const n=e.find((t=>!0===t.isFirst));return n?n.keyString:e[0].keyString}(t);return e?{string:e,accidental:Gn(e)}:void 0}function Vn(t,e){return t&&e?function(t,e){const r=zn[t]||t,n=zn[e]||e,o=Rn.indexOf(r),a=Rn.indexOf(n);if(-1===o||-1===a)return 0;const i=a-o;return i<0?i+12:i}(t.replace("m",""),e.replace("m","")):0}const Wn=new RegExp("^"+It()(Ft.keyDeclarationPrefix)+"([ABCDEFG].*)$");function qn(t){const e=Dt(t).match(Wn);return null!==e&&(r=e[1],kn.includes(r));var r}function Yn(t){const e=t.startsWith(Ft.lyricLine)?t.substring(1):t,r=new RegExp(Ft.chordPositionMarker,"g"),n=e.replace(r,""),o=[];let a,i=e;for(;-1!==(a=i.indexOf(Ft.chordPositionMarker));)o.includes(a)||o.push(a),i=i.replace(Ft.chordPositionMarker,"");return{lyrics:n,chordPositions:o}}var Kn=r(4827),Xn=r.n(Kn);function Zn(t,e){const r=Et()(t);return r.allBars.forEach(((t,r)=>{t.allChords.forEach(((t,n)=>{e(t,n,r)}))})),r}function Qn(t,e,r){const n=[],o={};let a=!1,i="";for(t.forEach((t=>{t.type===Ot.SECTION_LABEL?(i=t.model.label,o[i]?o[i]++:o[i]=1,a=t.id===e+r):a&&n.push(t)}));Xn()(n)&&(Xn()(n).type===Ot.KEY_DECLARATION||Xn()(n).type===Ot.TIME_SIGNATURE);)n.pop();return n}const Jn="4/4";function to(){const t=[],e={};let r,n,o=Lt(Jn),a={};const i=2;let s,u=[],c=null,l=null,p=0,f=[],d=0,h=null,m=!1,b=!1;function v(t){return a=function(t){if(!qn(t))throw new TypeError("Expected key declaration, received: "+t);const e=Dt(t).match(Wn)[1];return{string:e,accidental:Gn(e)}}(t),{string:t,type:Ot.KEY_DECLARATION,model:Et()(a)}}function y(e,o,a){r=function(t){if(!hn(t))throw new TypeError("Expected section identifier string, received: "+t);const e=Dt(t).match(dn);return{string:t,label:e[1],copyIndex:e[2]?Number.parseInt(e[2]):1,multiplyTimes:e[3]?Number.parseInt(e[3].replace(" x","")):0}}(e),S(r.label),n=_(r.label);const i={string:e,type:Ot.SECTION_LABEL,model:r,index:n.count,indexWithoutMultiply:n.withoutMultiply,id:r.label+n.count};return b=function(t,e){const r=e.slice(t+1);let n=r.findIndex((t=>hn(t)));if(0===n)return!0;const o=r.slice(0,-1!==n?n:void 0).filter((t=>!(Bt(t)||qn(t)||fn(t))));return 0===o.length}(o,a)&&n.count>1,b&&(i.isFromSectionCopy=!0),m=r.multiplyTimes>0,s=Et()(i),f=n.count>1?Qn(t,r.label,1):[],d=0,h=null,i}function g(t){u.length>=i&&u.shift(),u.push(t)}function x(t){return{string:t,type:Ot.LYRIC,model:Yn(t)}}function S(t,r=!1){e[t]?(e[t].count++,r||e[t].withoutMultiply++):e[t]={count:1,withoutMultiply:1}}function _(t){return e[t]}function w(t,e){const r=[Ot.LYRIC,Ot.EMPTY_LINE];return t&&!r.includes(t.type)&&t.type!==e.type&&e.type!==Ot.EMPTY_LINE}function C(e){const r=e.model,n=r.hasContinuation,o=r.allBars?.length>0&&r.allBars[0].isContinuation;if(o){if(!(null!==c&&c.currentBeatCount===h))return E(),"skip";c=null,l=null,p=0}return n?(h=r.pendingBar?.currentBeatCount,c=Et()(r.pendingBar),l=t.length,p=0):o||g(Et()(e)),"repeat"}function A(){if(b){const e=Qn(t,r.label,r.copyIndex).map((t=>({...Et()(t),isFromSectionCopy:!0})));if(!e.length)return;(function(t){const e=t[t.length-1];return e.type===Ot.EMPTY_LINE})(e)&&e.pop(),t.push(...Et()(e)),b=!1}}function j(e,o){if(m&&function(t,e){const r=e[t+1];return void 0===r||hn(r)}(e,o)){const e=Qn(t,r.label,n.count).map((t=>({...Et()(t),isFromSectionMultiply:!0})));let o;for(let a=1;a<r.multiplyTimes;a++)S(r.label,!0),n=_(r.label),o={...Et()(s),index:n.count,indexWithoutMultiply:n.withoutMultiply,id:r.label+n.count,isFromSectionMultiply:!0},t.push(o),t.push(...Et()(e))}}
2function E(){if(null!==l){const e=t[l];t[l]=x(e.string)}c=null,l=null,p=0}return{addLine(e,r,n){let i;var s;Bt(e)?(E(),o=Lt(s=e),i={string:s,type:Ot.TIME_SIGNATURE,model:o}):hn(e)?(E(),i=y(e,r,n)):on(e)?i=function(e){let r;null!==c&&0===p&&E();try{const n=On(e,{timeSignature:o,originalKey:a,continueBar:c});if(r={string:e,type:Ot.CHORD,model:n},n.hasContinuation)c=n.pendingBar,l=t.length,p=0;else{const t=null!==c;c=null,l=null,p=0,t||g(r)}}catch{E(),r=x(e)}return r}(e):!function(t){const e=Dt(t);return e===Ft.chordLineRepeat||e===Ft.chordLineRepeat.repeat(2)}(e)?fn(e)?(E(),i=function(t){return{string:t,type:Ot.EMPTY_LINE}}(e)):qn(e)?(E(),i=v(e)):i=x(e):(E(),i=function(t){const e=Dt(t),r=-e.length,n=r<-1?r+1:void 0;return u.length>=e.length?{...Et()(...u.slice(r,n)),isFromChordLineRepeater:!0}:x(t)}(e)),function(e){if(f.length&&e.type!==Ot.SECTION_LABEL){let r,n=f[d];for(;w(n,e);)n.type!==Ot.CHORD||"skip"!==C(n)?(r={...Et()(n),isFromAutoRepeatChords:!0},t.push(r),d++,n=f[d]):(d++,n=f[d]);d++}}(i),i.type===Ot.LYRIC&&null!==l&&(p++,p>1&&E()),t.push(i),A(),j(r,n)},asArray:()=>(E(),Et()(t)),flagPositionedChords(){let e,r;t.forEach(((n,o)=>{e=t[o+1],!function(t,e){return t.type===Ot.CHORD&&e&&e.type===Ot.LYRIC&&e.model.chordPositions.length>0}(n,e)?n.type===Ot.CHORD&&(n.model.hasPositionedChords=!1,n.model=Zn(n.model,(t=>{t.isPositioned=!1}))):(r=0,n.model.hasPositionedChords=!0,n.model=Zn(n.model,(t=>{t.isPositioned=r<e.model.chordPositions.length,r++})))}))}}}var eo=r(73818),ro=r.n(eo);function no(t){const e=[];let r;return function(t,e){const r=Et()(t);r.forEach((t=>{t.type===Ot.CHORD&&t.model.allBars.forEach((t=>{t.allChords.forEach((t=>{e(t)}))}))}))}(t,(t=>{t.model!==Ft.noChord&&(r=Bn()(e,(e=>bn()(ro()(e.model,["numeral"]),ro()(t.model,["numeral"])))),-1===r?(e.push({model:Et()(t.model),occurrences:1,duration:t.duration}),r=e.length-1):(e[r].occurrences++,e[r].duration+=t.duration))})),e.length&&(e[0].isFirst=!0,e[r].isLast=!0),e}function oo(t,{windowObject:e}={}){const r=o()(t)?t:t.split("\n"),n=to();r.map((t=>function(t,e){return Ct(e).sanitize(t)}(t,e))).map((t=>At(t,e))).forEach(n.addLine),n.flagPositionedChords();const a=n.asArray(),i=no(a),s=function(t,e){const r={auto:void 0,explicit:[]};if(t.forEach((t=>{t.type===Ot.KEY_DECLARATION&&r.explicit.push(Et()(t.model))})),0===r.explicit.length){const t=Hn(e);t&&(r.auto=t)}return r}(a,i);return{allLines:a,allChords:i,allKeys:s}}const ao={barRepeat:"%",barSeparator:"|",chordBeat:".",chordLineOffsetSpacer:" ",emptyBeatSpaces:1,keyDeclarationPrefix:"key: ",lyricsSpacer:" ",noChordSymbol:"NC",spacesAfterDefault:2,spacesAfterSubBeatDefault:1,spacesAfterTimeSignature:1,subBeatGroupOpener:"[",subBeatGroupCloser:"]"};function io(t,e,{shouldPrintSubBeatDelimiters:r=!0,symbolType:n="chord"}={}){const o=t.allChords.filter((t=>t.beat===e));switch(o.length){case 0:return"";case 1:return so(t,o[0],{shouldPrintSubBeatDelimiters:r,symbolType:n});default:return o.reduce(((e,o,a)=>e+(a>0?" ".repeat(ao.spacesAfterSubBeatDefault):"")+so(t,o,{shouldPrintSubBeatDelimiters:r,symbolType:n})),"")}}function so(t,e,{shouldPrintSubBeatDelimiters:r,symbolType:n="chord"}){const o="chord"===n||e.model===ao.barRepeat||e.model===ao.noChordSymbol?e.symbol:e.model.numeral.symbol;if(e.isInSubBeatGroup)return r&&e.isFirstOfSubBeat?ao.subBeatGroupOpener+o:r&&e.isLastOfSubBeat?o+ao.subBeatGroupCloser:o;return o+(t.shouldPrintChordsDuration?ao.chordBeat.repeat(e.duration):"")}function uo(t,{shouldAlignChordsWithLyrics:e,shouldPrintSubBeatDelimiters:r=!0,symbolType:n="chord"}){const o=[];return t.filter((t=>t.type===Ot.CHORD)).filter((t=>!e(t))).filter((t=>!co(t))).forEach((t=>{t.model.allBars.forEach(((t,e)=>{if(!t.lineHadTimeSignatureChange){if(!o[e]){o[e]={};for(let r=1;r<=t.timeSignature.beatCount;r++)o[e][r]=0}t.allChords.filter((t=>!t.isInSubBeatGroup||t.isLastOfSubBeat)).forEach((a=>{const i=io(t,a.beat,{shouldPrintSubBeatDelimiters:r,symbolType:n});o[e][a.beat]=Math.max(o[e][a.beat],i.length)}))}}))})),o}const co=t=>t.model.allBars[0]?.isContinuation;function lo(t){t.allChords.forEach((t=>{t.spacesAfter=t.isInSubBeatGroup&&!t.isLastOfSubBeat?ao.spacesAfterSubBeatDefault:ao.space
2sAfterDefault,t.spacesWithin=0}))}const po=(t,e)=>(!e.isInSubBeatGroup||e.isLastOfSubBeat)&&!ho(t,e),fo=(t,e,r)=>{let n=0;for(let o=e.beat+1;o<e.beat+e.duration;o++){const e=r[o];n+=e||ao.emptyBeatSpaces,o!==t.timeSignature.beatCount&&e&&(n+=ao.spacesAfterDefault)}return n},ho=(t,e)=>e.beat===t.timeSignature.beatCount,mo=(t,e,r)=>!r&&ho(t,e)&&(!e.isInSubBeatGroup||e.isLastOfSubBeat),bo=1;function vo(t,e,{shouldPrintBarSeparators:r=!0,shouldPrintSubBeatDelimiters:n=!0,shouldPrintInlineTimeSignatures:o=!0,symbolType:a="chord"}={}){if(yo(e))return{chordLine:t,lyricsLine:e};const i=Et()(t),s=Et()(e),u=s.chordPositions.map(((t,e,r)=>s.lyrics.substring(t,r[e+1])));let c,l,p="",f="";if(i.allBars.forEach(((t,e)=>{t.allChords.forEach(((d,h,m)=>{if(l=u.shift(),l){p=0===h&&o&&t.shouldPrintBarTimeSignature?t.timeSignature.string+ao.spacesAfterTimeSignature:"";const b=t.isContinuation,v=e===i.allBars.length-1&&i.hasContinuation,y=0===e&&0===h&&!b&&0===s.chordPositions[0];c=function(t,e,o){let i=p+so(t,e,{shouldPrintSubBeatDelimiters:e.isLastOfSubBeat&&n,symbolType:a});o&&(n&&e.isFirstOfSubBeat&&(i=ao.subBeatGroupOpener+i),r&&(i=ao.barSeparator+i));return i}(t,d,y),l=function(t,e){let o=l;if(So(o))o=ao.lyricsSpacer.repeat(c.length-1)+o;else{if(t){let t=0;r&&t++,n&&e&&t++,o=ao.lyricsSpacer.repeat(t)+o}p.length&&(o=" ".repeat(p.length)+o)}return o}(y,d.isFirstOfSubBeat);const g=h===m.length-1,x=m[h+1]&&m[h+1].isFirstOfSubBeat;if(l.length-c.length>0){const t=0===u.length;d.spacesAfter=function(t,e,o,a){let i=l.length-c.length;const s=t&&r&&!e&&!a,u=!t&&n&&o;(s||u)&&(i>1?i-=1:l+=ao.lyricsSpacer);return i}(g,t,x,v)}else d.spacesAfter=bo,l+=ao.lyricsSpacer.repeat(function(t,e,n){let o=c.length-l.length+bo;(t&&r&&!n||e)&&o++;return o}(g,x,v));f+=l}else d.spacesAfter=bo;d.spacesWithin=0}))})),go(s)){const t=s.chordPositions[0],e=r&&!i.allBars[0]?.isContinuation;i.offset=t,e&&i.offset--,f=s.lyrics.substring(0,t)+f}return u.length&&(f+=u.join("")),s.lyrics=xo(f),{chordLine:i,lyricsLine:s}}const yo=t=>0===t.chordPositions.length,go=t=>t.chordPositions[0]>0,xo=t=>t.replace(/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]*$/,""),So=t=>0===t.indexOf(" "),_o=({chordLineOffset:t,chordLine:e,symbolType:r})=>{const n=["cmChordLine"];return"roman"===r&&n.push("cmChordLine-romanNumeral"),`<span class="${n.join(" ")}">${t?`<span class="cmChordLineOffset">${t}</span>`:""}${e}</span>`},wo=({chordSymbol:t,chordDuration:e,subBeatGroupOpener:r,subBeatGroupCloser:n,numeralType:o})=>{const a=r?`<span class="cmSubBeatGroupOpener">${r}</span>`:"",i=n?`<span class="cmSubBeatGroupCloser">${n}</span>`:"",s=["cmChordSymbol"];return o&&s.push("cmRomanNumeral",`cmRomanNumeral-${o}`),`${a}<span class="${s.join(" ")}">${t}${e?`<span class="cmChordDuration">${e}</span>`:""}</span>${i}`};const Co=({timeSignature:t})=>`<span class="cmTimeSignature">${t}</span>`;function Ao(t){return Co({timeSignature:t.string})}const jo=({barContent:t})=>`${t}`,Eo=" ",Oo=0,To=2;function Io(t,e=!1,{shouldPrintBarSeparators:r=!0,shouldPrintSubBeatDelimiters:n=!0,shouldPrintTimeSignature:o=!1,symbolType:a="chord"}={}){let i=0,s=0,u="";return o&&(u+=Ao(t.timeSignature)+" ".repeat(ao.spacesAfterTimeSignature)),u+=t.allChords.reduce(((o,u,c)=>(i=Sn()(u.spacesWithin)?u.spacesWithin:Oo,s=Sn()(u.spacesAfter)?u.spacesAfter:To,o+=function(t,{shouldPrintChordsDuration:e=!1,shouldPrintSubBeatOpener:r=!1,shouldPrintSubBeatCloser:n=!1,symbolType:o="chord"}){const a="chord"===o||t.model===ao.barRepeat||t.model===ao.noChordSymbol,i=a?t.symbol:t.model.numeral.symbol;return wo({chordSymbol:i,chordDuration:!!e&&ao.chordBeat.repeat(t.duration),subBeatGroupOpener:r?ao.subBeatGroupOpener:"",subBeatGroupCloser:n?ao.subBeatGroupCloser:"",numeralType:a?"":t.model.numeral.type})}(u,{shouldPrintChordsDuration:!u.isInSubBeatGroup&&t.shouldPrintChordsDuration,shouldPrintSubBeatOpener:n&&u.isFirstOfSubBeat,shouldPrintSubBeatCloser:n&&u.isLastOfSubBeat,symbolType:a}),function(){const n=function(t,e){return!t.allChords[e+1]}(t,c)&&e;return!n||n&&r}()&&(o+=Eo.repeat(i)+Eo.repeat(s)),o)),""),jo({barContent:u})}const Do=({barSeparator:t})=>`<span class="cmBarSeparator">${t}</span>`;const No=({chordLyricsPairs:t})=>{let e='<span class="cmChordLyricLine">';return t.forEach((t=>{e+=`<span class="cmChordLyricPair"><span class="cmChordLine">${t.chords||" "}</span><span class="cmLyricLine">${t.lyrics}</span></span>`})),e+="</span>",e};var Bo=r(24002),Lo=r.n(Bo);const Fo=["cmChordSymbol","cmTimeSignature","cmBarSeparator","cmSubBeatGroupOpener","cmSubBeatGroupCloser"];function Ro(t,e,r){const n=function(t,e){const r=function(t,e){return Ct(e).sanitize(t,{RETURN_DOM_FRAGMENT:!0}).firstChild}(t,e),n=[];return Po(r,n,{i:0}),n}(t,r),o=function(t,e){const r=[],n=At(t,e);let o="";
2return Array.from(n).forEach(((t,e)=>{" "===t?(o&&(r.push(Mo(o,e-o.length)),o=""),r.push(Mo(" ",e))):o+=t})),r.push(Mo(o,n.length-o.length)),r}(e,r),a=function(t,e){const r=ko(t),n=ko(e),o=Lo()(r,n);let a,i;Xn()(r)>Xn()(n)?(i=r,a=n):(i=n,a=r);const s=i.filter((t=>t>Xn()(a)));s.length&&o.push(...s);return o.shift(),o}(n,o),i=function(t,e,r){const n=[];return t.forEach((t=>{let o="",a="";for(;e.length&&e[0].textIndex<t;){const t=e.shift();o+=t.html||t.text}for(;r.length&&r[0].textIndex<t;){a+=r.shift().text}n.push({chords:o,lyrics:a})})),n}(a,n,o);return No({chordLyricsPairs:i})}function Po(t,e,r){t.childNodes.forEach((t=>{if(t.nodeType===Node.TEXT_NODE){const n=t.textContent;for(const t of n)e.push(Mo(t,r.i)),r.i++}else Fo.includes(t.classList.value)?(e.push(Mo(t.textContent,r.i,t.outerHTML)),r.i+=t.textContent.length):Po(t,e,r)}))}function Mo(t,e,r){return{text:t,textIndex:e,html:r}}function ko(t){const e=t.map((t=>t.textIndex)),r=t.reduce(((t,e)=>t+e.text),"").length;return e.push(r),e}const zo=()=>'<span class="cmEmptyLine"> </span>';const $o=({keyDeclarationPrefix:t,key:e})=>`<span class="cmKeyDeclaration">${t}${e}</span>`;const Go=({line:t,lineClasses:e,shouldOpenSection:r,sectionWrapperClasses:n,shouldClosePriorSection:o,shouldCloseFinalSection:a})=>{let i="";return o&&(i+="</div>"),r&&(i+=`<div class="${n}">`),i+=`<p class="${e}">${t}</p>`,a&&(i+="</div>"),i};const Uo=({lyricLine:t})=>`<span class="cmLyricLine">${t}</span>`;const Ho=(t,e)=>!t||"lyrics"===e,Vo=({label:t,multiplier:e})=>`<span class="cmSectionLabel">${t}${e?`<span class="cmSectionMultiplier"> ${e}</span>`:""}</span>`;const Wo=({song:t})=>`<div class="cmSong">${t}</div>`,qo={a:"adlib",b:"bridge",c:"chorus",i:"intro",o:"outro",p:"pre-chorus",s:"solo",u:"interlude",v:"verse"};function Yo(t,{expandSectionMultiply:e}){const r=function(t){const e={};return t.filter((t=>t.type===Ot.SECTION_LABEL)).forEach((t=>{e[t.model.label]?e[t.model.label]++:e[t.model.label]=1})),e}(t);return t.forEach((t=>{if(t.type===Ot.SECTION_LABEL){const{model:n,index:o,indexWithoutMultiply:a}=t,i=qo[n.label]?qo[n.label]:n.label;let s,u=i[0].toUpperCase()+i.substring(1);r[n.label]>1&&(u+=" ",u+=e?o:a),!e&&n.multiplyTimes&&(s="x"+n.multiplyTimes),t.model.rendered={label:u,multiplier:s}}})),t}const Ko=en();function Xo(t,e,{transposeValue:r,accidentalsType:n,chordSymbolRenderer:o,simplifyChords:a,useShortNamings:i}){let s,u;e&&(s=Un(e,r,n));let c=l();function l(t){if("function"==typeof o)return o;const e="auto"===n?s?s.accidental:"sharp":n;return en({simplify:a,useShortNamings:i,transposeValue:r+t,accidental:e})}return t.map((function(t){if(t.type===Ot.KEY_DECLARATION)s=Un(t.model,r,n),t.symbol=s.string,u||(u=s);else if(t.type===Ot.CHORD){let e=0;(function(t){const e=s&&t.model.originalKey&&t.model.originalKey.string===s.string;return(t.isFromAutoRepeatChords||t.isFromSectionCopy||t.isFromChordLineRepeater)&&!e})(t)&&(e=Vn(u&&u.string,s&&s.string)),c=l(e),t.model.allBars.forEach((t=>{t.allChords.forEach((t=>{t.symbol=function(t,e=Ko){switch(t){case Ft.noChord:return ao.noChordSymbol;case ao.barRepeat:return ao.barRepeat;default:return e(t)}}(t.model,c)}))}))}return t}))}const Zo=(t,e,r)=>e.isRepeated&&!Qo(t,e,r),Qo=(t,e,r)=>r&&t.model.hasPositionedChords&&e.allChords.length>1&&e.allChords.some((t=>t.isPositioned)),Jo=(t,{alignChordsWithLyrics:e})=>(t.type===Ot.CHORD&&t.model.allBars.forEach((r=>{Zo(t,r,e)&&(r.allChords=[{string:ao.barRepeat,model:ao.barRepeat,symbol:ao.barRepeat,duration:r.timeSignature.beatCount,beat:1}],r.shouldPrintChordsDuration=!1)})),t);function ta(t,{accidentalsType:e="auto",alignBars:r=!0,alignChordsWithLyrics:n=!0,autoRepeatChords:o=!0,chartType:a="all",chordSymbolRenderer:i=!1,customRenderer:s=!1,expandSectionCopy:u=!0,expandSectionMultiply:c=!1,printChordsDuration:l="uneven",printBarSeparators:p="always",printSubBeatDelimiters:f=!0,printInlineTimeSignatures:d=!0,simplifyChords:h="none",symbolType:m="chord",transposeValue:b=0,useShortNamings:v=!0,windowObject:y,wrapChordLyricLines:g=!1}={}){let x,{allLines:S,allKeys:_}=t,w=!1,C=Rt.string;S=Xo(S,_.auto,{transposeValue:b,accidentalsType:e,chordSymbolRenderer:i,simplifyChords:h,useShortNamings:v}).map((function(t){t.type===Ot.TIME_SIGNATURE?C=t.string:t.type===Ot.CHORD&&t.model.allBars.forEac
2h(((t,e)=>{t.shouldPrintBarTimeSignature=0===e&&t.timeSignature.string!==C||e>0&&t.timeSignature.string!==x,x=t.timeSignature.string}));return t})).filter((function(t){return function(t){const e=!o&&(t.isFromAutoRepeatChords||t.type===Ot.CHORD&&t.isFromSectionCopy),r=t.isFromSectionMultiply&&!c,n=t.type!==Ot.SECTION_LABEL&&t.isFromSectionCopy&&!u;return!r&&!e&&!n}(t)&&!function(t){if("chordsFirstLyricLine"===a){if(t.type===Ot.SECTION_LABEL)return w=!0,!1;if(w&&t.type===Ot.LYRIC)return w=!1,!1}return["chords","chordsFirstLyricLine"].includes(a)&&t.type===Ot.LYRIC||"lyrics"===a&&t.type===Ot.CHORD}(t)})).map((t=>Jo(t,{alignChordsWithLyrics:n}))),["chords","chordsFirstLyricLine"].includes(a)&&(S=function(t){const e=[];for(let r=0;r<t.length;r++){const n=t[r];if(n.type===Ot.CHORD&&n.model.hasContinuation){const o=t.findIndex(((t,e)=>e>r&&t.type===Ot.CHORD)),a=t[o];t.splice(o,1);const i=Et()(n.model);i.hasContinuation=a.model.hasContinuation,i.pendingBar=null;const s=Et()(a.model.allBars),u=i.allBars[i.allBars.length-1],c=s.shift();if(u.allChords.push(...c.allChords),u.hasUnevenChordsDurations=u.allChords.length>1&&Dn(u),s.length>0){const e=Et()(a.model);e.allBars=s,e.hasContinuation=a.model.hasContinuation,e.pendingBar=a.model.pendingBar,t.splice(o,0,{...a,model:e}),i.hasContinuation=!1}e.push({...n,model:i})}else e.push(n)}return e}(S)),S=S.map((function(t){t.type===Ot.CHORD&&t.model.allBars.forEach(((e,r,n)=>{const o=t.model.hasContinuation&&r===n.length-1,a=e.isContinuation,i=o||a;e.shouldPrintChordsDuration=i&&"never"!==l||function(t){return t.allChords.length>1&&("uneven"===l&&t.hasUnevenChordsDurations||"always"===l)}(e)}));return t}));const A=uo(S,{shouldAlignChordsWithLyrics:O,shouldPrintSubBeatDelimiters:f,symbolType:m});S=Yo(S,{expandSectionMultiply:c}),S.forEach((function(t,e){if(t.type===Ot.CHORD){let n=!r||O(t)||function(t){return t.model.allBars[0]?.isContinuation}(t)?function(t){const e=Et()(t);return e.allBars.forEach((t=>{lo(t)})),e}(t.model):function(t,e,{shouldPrintBarSeparators:r=!0,shouldPrintSubBeatDelimiters:n=!0,symbolType:o="chord"}){const a=Et()(t);return a.allBars.forEach(((t,a)=>{t.lineHadTimeSignatureChange||t.isContinuation||!e[a]?lo(t):t.allChords.forEach((i=>{const s=io(t,i.beat,{shouldPrintSubBeatDelimiters:n,symbolType:o});i.isInSubBeatGroup&&!i.isLastOfSubBeat?(i.spacesWithin=0,i.spacesAfter=ao.spacesAfterSubBeatDefault):(i.spacesWithin=e[a][i.beat]-s.length,i.spacesAfter=0),po(t,i)&&(i.spacesAfter=ao.spacesAfterDefault+fo(t,i,e[a])),mo(t,i,r)&&(i.spacesAfter=ao.spacesAfterDefault)}))})),a}(t.model,A,{shouldPrintBarSeparators:T(t.model),shouldPrintSubBeatDelimiters:f,symbolType:m});const o=S[e+1];if(O(t)){const{chordLine:r,lyricsLine:a}=vo(n,o.model,{shouldPrintBarSeparators:T(t.model),shouldPrintSubBeatDelimiters:f,shouldPrintInlineTimeSignatures:d,symbolType:m});S[e+1].model=a,n=r}S[e].model=n}}));const j=function(){let t,e=!1;return S.map(((r,o)=>{let i,s,u=!1,c=[];var l;return r.type===Ot.CHORD?(i=function(t,{shouldPrintBarSeparators:e=!0,shouldPrintSubBeatDelimiters:r=!0,shouldPrintInlineTimeSignatures:n=!0,symbolType:o="chord"}={}){const a=t.allBars.map(((a,i)=>{const s=!t.allBars[i+1]&&!t.hasContinuation,u=n&&a.shouldPrintBarTimeSignature;return Io(a,s,{shouldPrintBarSeparators:e,shouldPrintSubBeatDelimiters:r,shouldPrintTimeSignature:u,symbolType:o})})),i=e?Do({barSeparator:ao.barSeparator}):"",s=t.allBars[0],u=s&&s.isContinuation?"":i,c=t.hasContinuation?"":i,l=u+a.join(i)+c,p=ao.chordLineOffsetSpacer.repeat(t.offset||0);return _o({chordLineOffset:p,chordLine:l,symbolType:o})}(r.model,{symbolType:m,shouldPrintBarSeparators:T(r.model),shouldPrintSubBeatDelimiters:f,shouldPrintInlineTimeSignatures:d}),function(t,e){return e&&e.type===Ot.LYRIC&&g&&O(t)}(r,S[o+1])&&(t=i,i=!1)):r.type===Ot.EMPTY_LINE?i=zo():r.type===Ot.SECTION_LABEL?(u=!0,s=e,e=!0,c=function(t){return["cmSection","cmSection-"+t.model.rendered.label.replace(/[\d\s]/gi,"")]}(r),i=Vo(r.model.rendered)):r.type===Ot.TIME_SIGNATURE?i=Ao(r):r.type===Ot.KEY_DECLARATION?(l=r,i=$o({keyDeclarationPrefix:ao.keyDeclarationPrefix,key:l.symbol})):(i=function(t,{alignChordsWithLyrics:e=!1,chartType:r="all"}={}){const n=Ho(e,r)?t.model.lyrics.trim():t.model.lyrics;return Uo({lyricLine:n})}(r,{alignChordsWithLyrics:n,chartType:a}),t&&(i=Ro(t,i,y),t="")),i&&function(t,{isFromAutoRepeatChords:e=!1,isFromChordLineRepeater:r=!1,isFromSectionCopy:n=!1,isFromSectionMultiply:o=!1,shouldOpenSection:a=!1,shouldClosePriorSection:i=!1,shouldCloseFinalSection:s=!1,sectionWrapperClasses:u=[]}={}){const c=["cmLine"];return e&&c.push("cmLine--isFromAutoRepeatChords"),r&&c.push("cmLine--isFromChordLineRepeater"),n&&c.push("cmLine--isFromSectionCopy"),o&&c.push("cmLine--isFromSectionMultiply"),Go({line:t,lineClasses:c.join(" "),shouldOpenSection:a,sectionWrapperClasses:u.join(" "),shouldClosePriorSection:i,shouldCloseFinalSection:s})}(i,{isFromSectionMultiply:r.isFromSectionMultiply,isFromAutoRepeatChords:r.isFromAutoRepeatChords,isFromChordLineRepeater:r.isFromChordLineRepeater,isFromSectionCopy:r.is
2FromSectionCopy,shouldOpenSection:u,shouldClosePriorSection:s,shouldCloseFinalSection:E(o)&&e,sectionWrapperClasses:c})})).filter(Boolean)}();return s?s(S,j,{alignChordsWithLyrics:n,alignBars:r}):Wo({song:j.join("")});function E(t){return S.length-1===t}function O(t){return"all"===a&&n&&t.model.hasPositionedChords}function T(t){return"always"===p||"grids"===p&&!t.hasPositionedChords}}},33103:(t,e,r)=>{var n=r(94715)(r(78942),"DataView");t.exports=n},25098:(t,e,r)=>{var n=r(23305),o=r(39361),a=r(11112),i=r(25276),s=r(57452);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=i,u.prototype.set=s,t.exports=u},1386:(t,e,r)=>{var n=r(12393),o=r(62049),a=r(7144),i=r(7452),s=r(13964);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=i,u.prototype.set=s,t.exports=u},19770:(t,e,r)=>{var n=r(94715)(r(78942),"Map");t.exports=n},68250:(t,e,r)=>{var n=r(49753),o=r(5681),a=r(80088),i=r(54732),s=r(59068);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=i,u.prototype.set=s,t.exports=u},89413:(t,e,r)=>{var n=r(94715)(r(78942),"Promise");t.exports=n},64512:(t,e,r)=>{var n=r(94715)(r(78942),"Set");t.exports=n},23212:(t,e,r)=>{var n=r(68250),o=r(1877),a=r(8006);function i(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,t.exports=i},51340:(t,e,r)=>{var n=r(1386),o=r(64103),a=r(21779),i=r(34162),s=r(7462),u=r(96638);function c(t){var e=this.__data__=new n(t);this.size=e.size}c.prototype.clear=o,c.prototype.delete=a,c.prototype.get=i,c.prototype.has=s,c.prototype.set=u,t.exports=c},65650:(t,e,r)=>{var n=r(78942).Symbol;t.exports=n},31623:(t,e,r)=>{var n=r(78942).Uint8Array;t.exports=n},19270:(t,e,r)=>{var n=r(94715)(r(78942),"WeakMap");t.exports=n},86912:t=>{t.exports=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}},79968:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););return t}},79847:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,a=[];++r<n;){var i=t[r];e(i,r,t)&&(a[o++]=i)}return a}},59756:(t,e,r)=>{var n=r(2478);t.exports=function(t,e){return!!(null==t?0:t.length)&&n(t,e,0)>-1}},43316:t=>{t.exports=function(t,e,r){for(var n=-1,o=null==t?0:t.length;++n<o;)if(r(e,t[n]))return!0;return!1}},10358:(t,e,r)=>{var n=r(26137),o=r(3283),a=r(53142),i=r(75853),s=r(69632),u=r(8666),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),l=!r&&o(t),p=!r&&!l&&i(t),f=!r&&!l&&!p&&u(t),d=r||l||p||f,h=d?n(t.length,String):[],m=h.length;for(var b in t)!e&&!c.call(t,b)||d&&("length"==b||p&&("offset"==b||"parent"==b)||f&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,m))||h.push(b);return h}},65111:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}},11129:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}},36465:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},3422:(t,e,r)=>{var n=r(57073),o=r(46285),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var i=t[e];a.call(t,e)&&o(i,r)&&(void 0!==r||e in t)||n(t,e,r)}},97034:(t,e,r)=>{var n=r(46285);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},37930:(t,e,r)=>{var n=r(39032),o=r(81211);t.exports=function(t,e){return t&&n(e,o(e),t)}},30125:(t,e,r)=>{var n=r(39032),o=r(25288);t.exports=function(t,e){return t&&n(e,o(e),t)}},57073:(t,e,r)=>{var n=r(72532);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},69334:(t,e,r)=>{var n=r(51340),o=r(79968),a=r(3422),i=r(37930),s=r(30125),u=r(17099),c=r(84354),l=r(83546),p=r(24733),f=r(80393),d=r(93650),h=r(28486),m=r(97350),b=r(50424),v=r(75964),y=r(53142),g=r(75853),x=r(37681),S=r(41580),_=r(83943),w=r(81211),C=r(25288),A="[object Arguments]",j="[object Function]",E="[object Object]",O={};O[A]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array
2]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O[E]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O[j]=O["[object WeakMap]"]=!1,t.exports=function t(e,r,T,I,D,N){var B,L=1&r,F=2&r,R=4&r;if(T&&(B=D?T(e,I,D,N):T(e)),void 0!==B)return B;if(!S(e))return e;var P=y(e);if(P){if(B=m(e),!L)return c(e,B)}else{var M=h(e),k=M==j||"[object GeneratorFunction]"==M;if(g(e))return u(e,L);if(M==E||M==A||k&&!D){if(B=F||k?{}:v(e),!L)return F?p(e,s(B,e)):l(e,i(B,e))}else{if(!O[M])return D?e:{};B=b(e,M,L)}}N||(N=new n);var z=N.get(e);if(z)return z;N.set(e,B),_(e)?e.forEach((function(n){B.add(t(n,r,T,n,e,N))})):x(e)&&e.forEach((function(n,o){B.set(o,t(n,r,T,o,e,N))}));var $=P?void 0:(R?F?d:f:F?C:w)(e);return o($||e,(function(n,o){$&&(n=e[o=n]),a(B,o,t(n,r,T,o,e,N))})),B}},39747:(t,e,r)=>{var n=r(41580),o=Object.create,a=function(){function t(){}return function(e){if(!n(e))return{};if(o)return o(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();t.exports=a},96576:(t,e,r)=>{var n=r(23212),o=r(59756),a=r(43316),i=r(65111),s=r(49460),u=r(65568);t.exports=function(t,e,r,c){var l=-1,p=o,f=!0,d=t.length,h=[],m=e.length;if(!d)return h;r&&(e=i(e,s(r))),c?(p=a,f=!1):e.length>=200&&(p=u,f=!1,e=new n(e));t:for(;++l<d;){var b=t[l],v=null==r?b:r(b);if(b=c||0!==b?b:0,f&&v==v){for(var y=m;y--;)if(e[y]===v)continue t;h.push(b)}else p(e,v,c)||h.push(b)}return h}},37250:t=>{t.exports=function(t,e,r,n){for(var o=t.length,a=r+(n?1:-1);n?a--:++a<o;)if(e(t[a],a,t))return a;return-1}},90313:(t,e,r)=>{var n=r(11129),o=r(20714);t.exports=function t(e,r,a,i,s){var u=-1,c=e.length;for(a||(a=o),s||(s=[]);++u<c;){var l=e[u];r>0&&a(l)?r>1?t(l,r-1,a,i,s):n(s,l):i||(s[s.length]=l)}return s}},35636:(t,e,r)=>{var n=r(86596)();t.exports=n},47170:(t,e,r)=>{var n=r(35636),o=r(81211);t.exports=function(t,e){return t&&n(t,e,o)}},57923:(t,e,r)=>{var n=r(93526),o=r(66040);t.exports=function(t,e){for(var r=0,a=(e=n(e,t)).length;null!=t&&r<a;)t=t[o(e[r++])];return r&&r==a?t:void 0}},48244:(t,e,r)=>{var n=r(11129),o=r(53142);t.exports=function(t,e,r){var a=e(t);return o(t)?a:n(a,r(t))}},87379:(t,e,r)=>{var n=r(65650),o=r(8870),a=r(29005),i=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":i&&i in Object(t)?o(t):a(t)}},43636:t=>{t.exports=function(t,e){return null!=t&&e in Object(t)}},2478:(t,e,r)=>{var n=r(37250),o=r(69454),a=r(97706);t.exports=function(t,e,r){return e==e?a(t,e,r):n(t,o,r)}},10944:(t,e,r)=>{var n=r(47170);t.exports=function(t,e,r,o){return n(t,(function(t,n,a){e(o,r(t),n,a)})),o}},56027:(t,e,r)=>{var n=r(87379),o=r(80547);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},94687:(t,e,r)=>{var n=r(90353),o=r(80547);t.exports=function t(e,r,a,i,s){return e===r||(null==e||null==r||!o(e)&&!o(r)?e!=e&&r!=r:n(e,r,a,i,t,s))}},90353:(t,e,r)=>{var n=r(51340),o=r(33934),a=r(88861),i=r(31182),s=r(28486),u=r(53142),c=r(75853),l=r(8666),p="[object Arguments]",f="[object Array]",d="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,m,b,v){var y=u(t),g=u(e),x=y?f:s(t),S=g?f:s(e),_=(x=x==p?d:x)==d,w=(S=S==p?d:S)==d,C=x==S;
vendor: 5,528 bytes, line 2
2if(C&&c(t)){if(!c(e))return!1;y=!0,_=!1}if(C&&!_)return v||(v=new n),y||l(t)?o(t,e,r,m,b,v):a(t,e,x,r,m,b,v);if(!(1&r)){var A=_&&h.call(t,"__wrapped__"),j=w&&h.call(e,"__wrapped__");if(A||j){var E=A?t.value():t,O=j?e.value():e;return v||(v=new n),b(E,O,r,m,v)}}return!!C&&(v||(v=new n),i(t,e,r,m,b,v))}},80777:(t,e,r)=>{var n=r(28486),o=r(80547);t.exports=function(t){return o(t)&&"[object Map]"==n(t)}},38330:(t,e,r)=>{var n=r(51340),o=r(94687);t.exports=function(t,e,r,a){var i=r.length,s=i,u=!a;if(null==t)return!s;for(t=Object(t);i--;){var c=r[i];if(u&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++i<s;){var l=(c=r[i])[0],p=t[l],f=c[1];if(u&&c[2]){if(void 0===p&&!(l in t))return!1}else{var d=new n;if(a)var h=a(p,f,l,t,e,d);if(!(void 0===h?o(f,p,3,a,d):h))return!1}}return!0}},69454:t=>{t.exports=function(t){return t!=t}},89624:(t,e,r)=>{var n=r(93655),o=r(64759),a=r(41580),i=r(64066),s=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,l=u.toString,p=c.hasOwnProperty,f=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?f:s).test(i(t))}},81935:(t,e,r)=>{var n=r(28486),o=r(80547);t.exports=function(t){return o(t)&&"[object Set]"==n(t)}},70674:(t,e,r)=>{var n=r(87379),o=r(65387),a=r(80547),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,t.exports=function(t){return a(t)&&o(t.length)&&!!i[n(t)]}},3334:(t,e,r)=>{var n=r(36526),o=r(12343),a=r(22053),i=r(53142),s=r(43282);t.exports=function(t){return"function"==typeof t?t:null==t?a:"object"==typeof t?i(t)?o(t[0],t[1]):n(t):s(t)}},195:(t,e,r)=>{var n=r(84882),o=r(98121),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},57200:(t,e,r)=>{var n=r(41580),o=r(84882),a=r(38546),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return a(t);var e=o(t),r=[];for(var s in t)("constructor"!=s||!e&&i.call(t,s))&&r.push(s);return r}},36526:(t,e,r)=>{var n=r(38330),o=r(24367),a=r(23904);t.exports=function(t){var e=o(t);return 1==e.length&&e[0][2]?a(e[0][0],e[0][1]):function(r){return r===t||n(r,t,e)}}},12343:(t,e,r)=>{var n=r(94687),o=r(46123),a=r(27276),i=r(65187),s=r(67267),u=r(23904),c=r(66040);t.exports=function(t,e){return i(t)&&s(e)?u(c(t),e):function(r){var i=o(r,t);return void 0===i&&i===e?a(r,t):n(e,i,3)}}},12762:t=>{t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},98880:(t,e,r)=>{var n=r(57923);t.exports=function(t){return function(e){return n(e,t)}}},23945:(t,e,r)=>{var n=r(22053),o=r(75234),a=r(80796);t.exports=function(t,e){return a(o(t,e,n),t+"")}},47403:(t,e,r)=>{var n=r(82619),o=r(72532),a=r(22053),i=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:a;t.exports=i},73501:t=>{t.exports=function(t,e,r){var n=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(r=r>o?o:r)<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var a=Array(o);++n<o;)a[n]=t[n+e];return a}},26137:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},52291:(t,e,r)=>{var n=r(65650),o=r(65111),a=r(53142),i=r(51187),s=n?n.prototype:void 0,u=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(a(e))return o(e,t)+"";if(i(e))return u?u.call(e):"";var r=e+"";return"0"==r&&1/e==-Infinity?"-0":r}},86403:(t,e,r)=>{var n=r(62945),o=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(o,""):t}},49460:t=>{t.exports=function(t){return function(e){return t(e)}}},15630:(t,e,r)=>{var n=r(23212),o=r(59756),a=r(43316),i=r(65568),s=r(36208),u=r(49828);t.exports=function(t,e,r){var c=-1,l=o,p=t.length,f=!0,d=[],h=d;if(r)f=!1,l=a;else if(p>=200){var m=e?null:s(t);if(m)return u(m);f=!1,l=i,h=new n}else h=e?[]:d;t:for(;++c<p;){var b=t[c],v=e?e(b):b;if(b=r||0!==b?b:0,f&&v==v){for(var y=h.length;y--;)if(h[y]===v)continue t;e&&h.push(v),d.push(b)}else l(h,v,r)||(h!==d&&h.push(v),d.push(b))}return d}},81586:(t,e,r)=>{var n=r(93526),o=r(98087),a=r(13398),i=r(66040);t.exports=function(t,e){return e=n(e,t),null==(t=a(t,e))||delete t[i(o(e))]}},65568:t=>{t.exports=function(t,e){return t.has(e)}},93526:(t,e,r)=>{var n=r(53142),o=r(65187),a=r(96493),i=r(95243);t.exports=function(t,e){return n(t)?t:o(t,e)?[t]:a(i(t))}},58898:(t,e,r)=>{var n=r(31623);t.exports=function(t){var e=new t.constructor(t.byteLength);return new n(e).set(new n(t)),e}},17099:(t,e,r)=>{t=r.nmd(t);var n=r(78942),o=e&&!e.nodeType&&e,a=o&&t&&!t.nodeType&&t,i=a&&a.exports===o?n.Buffer:void 0,s=i?i.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var r=t.length,n=s?s(r):new t.constructor(r);return t.copy(n),n}},92480:(t,e,r)=>{var n=r(58898);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}},78340:t=>{var e=/\w*$/;t.exports=function(t){var r=new t.constructor(t.source,e.exec(t));return r.lastIndex=t.lastIndex,r}},18069:(t,e,r)=>
vendor: 2,284 bytes, line 2
2{var n=r(65650),o=n?n.prototype:void 0,a=o?o.valueOf:void 0;t.exports=function(t){return a?Object(a.call(t)):{}}},92264:(t,e,r)=>{var n=r(58898);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},84354:t=>{t.exports=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}},39032:(t,e,r)=>{var n=r(3422),o=r(57073);t.exports=function(t,e,r,a){var i=!r;r||(r={});for(var s=-1,u=e.length;++s<u;){var c=e[s],l=a?a(r[c],t[c],c,r,t):void 0;void 0===l&&(l=t[c]),i?o(r,c,l):n(r,c,l)}return r}},83546:(t,e,r)=>{var n=r(39032),o=r(77979);t.exports=function(t,e){return n(t,o(t),e)}},24733:(t,e,r)=>{var n=r(39032),o=r(85832);t.exports=function(t,e){return n(t,o(t),e)}},41950:(t,e,r)=>{var n=r(78942)["__core-js_shared__"];t.exports=n},86596:t=>{t.exports=function(t){return function(e,r,n){for(var o=-1,a=Object(e),i=n(e),s=i.length;s--;){var u=i[t?s:++o];if(!1===r(a[u],u,a))break}return e}}},77317:(t,e,r)=>{var n=r(3334),o=r(36529),a=r(81211);t.exports=function(t){return function(e,r,i){var s=Object(e);if(!o(e)){var u=n(r,3);e=a(e),r=function(t){return u(s[t],t,s)}}var c=t(e,r,i);return c>-1?s[u?e[c]:c]:void 0}}},69333:(t,e,r)=>{var n=r(10944);t.exports=function(t,e){return function(r,o){return n(r,t,e(o),{})}}},36208:(t,e,r)=>{var n=r(64512),o=r(79071),a=r(49828),i=n&&1/a(new n([,-0]))[1]==1/0?function(t){return new n(t)}:o;t.exports=i},29259:(t,e,r)=>{var n=r(48360);t.exports=function(t){return n(t)?void 0:t}},72532:(t,e,r)=>{var n=r(94715),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();t.exports=o},33934:(t,e,r)=>{var n=r(23212),o=r(36465),a=r(65568);t.exports=function(t,e,r,i,s,u){var c=1&r,l=t.length,p=e.length;if(l!=p&&!(c&&p>l))return!1;var f=u.get(t),d=u.get(e);if(f&&d)return f==e&&d==t;var h=-1,m=!0,b=2&r?new n:void 0;for(u.set(t,e),u.set(e,t);++h<l;){var v=t[h],y=e[h];if(i)var g=c?i(y,v,h,e,t,u):i(v,y,h,t,e,u);if(void 0!==g){if(g)continue;m=!1;break}if(b){if(!o(e,(function(t,e){if(!a(b,e)&&(v===t||s(v,t,r,i,u)))return b.push(e)}))){m=!1;break}}else if(v!==y&&!s(v,y,r,i,u)){m=!1;break}}return u.delete(t),u.delete(e),m}},88861:(t,e,r)=>{var n=r(65650),o=r(31623),a=r(46285),i=r(33934),s=r(95894),u=r(49828),c=n?n.prototype:void 0,l=c?c.valueOf
vendor: 4,653 bytes, line 2
2:void 0;t.exports=function(t,e,r,n,c,p,f){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!p(new o(t),new o(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var d=s;case"[object Set]":var h=1&n;if(d||(d=u),t.size!=e.size&&!h)return!1;var m=f.get(t);if(m)return m==e;n|=2,f.set(t,e);var b=i(d(t),d(e),n,c,p,f);return f.delete(t),b;case"[object Symbol]":if(l)return l.call(t)==l.call(e)}return!1}},31182:(t,e,r)=>{var n=r(80393),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,a,i,s){var u=1&r,c=n(t),l=c.length;if(l!=n(e).length&&!u)return!1;for(var p=l;p--;){var f=c[p];if(!(u?f in e:o.call(e,f)))return!1}var d=s.get(t),h=s.get(e);if(d&&h)return d==e&&h==t;var m=!0;s.set(t,e),s.set(e,t);for(var b=u;++p<l;){var v=t[f=c[p]],y=e[f];if(a)var g=u?a(y,v,f,e,t,s):a(v,y,f,t,e,s);if(!(void 0===g?v===y||i(v,y,r,a,s):g)){m=!1;break}b||(b="constructor"==f)}if(m&&!b){var x=t.constructor,S=e.constructor;x==S||!("constructor"in t)||!("constructor"in e)||"function"==typeof x&&x instanceof x&&"function"==typeof S&&S instanceof S||(m=!1)}return s.delete(t),s.delete(e),m}},41439:(t,e,r)=>{var n=r(75857),o=r(75234),a=r(80796);t.exports=function(t){return a(o(t,void 0,n),t+"")}},74967:(t,e,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=n},80393:(t,e,r)=>{var n=r(48244),o=r(77979),a=r(81211);t.exports=function(t){return n(t,a,o)}},93650:(t,e,r)=>{var n=r(48244),o=r(85832),a=r(25288);t.exports=function(t){return n(t,a,o)}},44700:(t,e,r)=>{var n=r(79067);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},24367:(t,e,r)=>{var n=r(67267),o=r(81211);t.exports=function(t){for(var e=o(t),r=e.length;r--;){var a=e[r],i=t[a];e[r]=[a,i,n(i)]}return e}},94715:(t,e,r)=>{var n=r(89624),o=r(20155);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},74784:(t,e,r)=>{var n=r(3766)(Object.getPrototypeOf,Object);t.exports=n},8870:(t,e,r)=>{var n=r(65650),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(u){}var o=i.call(t);return n&&(e?t[s]=r:delete t[s]),o}},77979:(t,e,r)=>{var n=r(79847),o=r(99306),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(t){return null==t?[]:(t=Object(t),n(i(t),(function(e){return a.call(t,e)})))}:o;t.exports=s},85832:(t,e,r)=>{var n=r(11129),o=r(74784),a=r(77979),i=r(99306),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,a(t)),t=o(t);return e}:i;t.exports=s},28486:(t,e,r)=>{var n=r(33103),o=r(19770),a=r(89413),i=r(64512),s=r(19270),u=r(87379),c=r(64066),l="[object Map]",p="[object Promise]",f="[object Set]",d="[object WeakMap]",h="[object DataView]",m=c(n),b=c(o),v=c(a),y=c(i),g=c(s),x=u;(n&&x(new n(new ArrayBuffer(1)))!=h||o&&x(new o)!=l||a&&x(a.resolve())!=p||i&&x(new i)!=f||s&&x(new s)!=d)&&(x=function(t){var e=u(t),r="[object Object]"==e?t.constructor:void 0,n=r?c(r):"";if(n)switch(n){case m:return h;case b:return l;case v:return p;case y:return f;case g:return d}return e}),t.exports=x},20155:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},85899:(t,e,r)=>{var n=r(93526),o=r(3283),a=r(53142),i=r(69632),s=r(65387),u=r(66040);t.exports=function(t,e,r){for(var c=-1,l=(e=n(e,t)).length,p=!1;++c<l;){var f=u(e[c]);if(!(p=null!=t&&r(t,f)))break;t=t[f]}return p||++c!=l?p:!!(l=null==t?0:t.length)&&s(l)&&i(f,l)&&(a(t)||o(t))}},23305:(t,e,r)=>{var n=r(94497);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},39361:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},11112:(t,e,r)=>{var n=r(94497),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},25276:(t,e,r)=>{var n=r(94497),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},57452:(t,e,r)=>{var n=r(94497);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},97350:t=>{var e=Object.prototype.hasOwnProperty;t.exports=function(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&e.call(t,"index")&&(n.index=t.index,n.input=t.input),n}},50424:(t,e,r)=>
vendor: 2,603 bytes, line 2
2{var n=r(58898),o=r(92480),a=r(78340),i=r(18069),s=r(92264);t.exports=function(t,e,r){var u=t.constructor;switch(e){case"[object ArrayBuffer]":return n(t);case"[object Boolean]":case"[object Date]":return new u(+t);case"[object DataView]":return o(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(t,r);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(t);case"[object RegExp]":return a(t);case"[object Symbol]":return i(t)}}},75964:(t,e,r)=>{var n=r(39747),o=r(74784),a=r(84882);t.exports=function(t){return"function"!=typeof t.constructor||a(t)?{}:n(o(t))}},20714:(t,e,r)=>{var n=r(65650),o=r(3283),a=r(53142),i=n?n.isConcatSpreadable:void 0;t.exports=function(t){return a(t)||o(t)||!!(i&&t&&t[i])}},69632:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var n=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t<r}},65187:(t,e,r)=>{var n=r(53142),o=r(51187),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;t.exports=function(t,e){if(n(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!o(t))||(i.test(t)||!a.test(t)||null!=e&&t in Object(e))}},79067:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},64759:(t,e,r)=>{var n,o=r(41950),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},84882:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},67267:(t,e,r)=>{var n=r(41580);t.exports=function(t){return t==t&&!n(t)}},12393:t=>{t.exports=function(){this.__data__=[],this.size=0}},62049:(t,e,r)=>{var n=r(97034),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},7144:(t,e,r)=>{var n=r(97034);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},7452:(t,e,r)=>{var n=r(97034);t.exports=function(t){return n(this.__data__,t)>-1}},13964:(t,e,r)=>{var n=r(97034);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},49753:(t,e,r)=>{var n=r(25098),o=r(1386),a=r(19770);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||o),str
vendor: 6,618 bytes, line 2
2ing:new n}}},5681:(t,e,r)=>{var n=r(44700);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},80088:(t,e,r)=>{var n=r(44700);t.exports=function(t){return n(this,t).get(t)}},54732:(t,e,r)=>{var n=r(44700);t.exports=function(t){return n(this,t).has(t)}},59068:(t,e,r)=>{var n=r(44700);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},95894:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}},23904:t=>{t.exports=function(t,e){return function(r){return null!=r&&(r[t]===e&&(void 0!==e||t in Object(r)))}}},76853:(t,e,r)=>{var n=r(69011);t.exports=function(t){var e=n(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}},94497:(t,e,r)=>{var n=r(94715)(Object,"create");t.exports=n},98121:(t,e,r)=>{var n=r(3766)(Object.keys,Object);t.exports=n},38546:t=>{t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},2306:(t,e,r)=>{t=r.nmd(t);var n=r(74967),o=e&&!e.nodeType&&e,a=o&&t&&!t.nodeType&&t,i=a&&a.exports===o&&n.process,s=function(){try{var t=a&&a.require&&a.require("util").types;return t||i&&i.binding&&i.binding("util")}catch(e){}}();t.exports=s},29005:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},3766:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},75234:(t,e,r)=>{var n=r(86912),o=Math.max;t.exports=function(t,e,r){return e=o(void 0===e?t.length-1:e,0),function(){for(var a=arguments,i=-1,s=o(a.length-e,0),u=Array(s);++i<s;)u[i]=a[e+i];i=-1;for(var c=Array(e+1);++i<e;)c[i]=a[i];return c[e]=r(u),n(t,this,c)}}},13398:(t,e,r)=>{var n=r(57923),o=r(73501);t.exports=function(t,e){return e.length<2?t:n(t,o(e,0,-1))}},78942:(t,e,r)=>{var n=r(74967),o="object"==typeof self&&self&&self.Object===Object&&self,a=n||o||Function("return this")();t.exports=a},1877:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},8006:t=>{t.exports=function(t){return this.__data__.has(t)}},49828:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}},80796:(t,e,r)=>{var n=r(47403),o=r(3316)(n);t.exports=o},3316:t=>{var e=Date.now;t.exports=function(t){var r=0,n=0;return function(){var o=e(),a=16-(o-n);if(n=o,a>0){if(++r>=800)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}},64103:(t,e,r)=>{var n=r(1386);t.exports=function(){this.__data__=new n,this.size=0}},21779:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},34162:t=>{t.exports=function(t){return this.__data__.get(t)}},7462:t=>{t.exports=function(t){return this.__data__.has(t)}},96638:(t,e,r)=>{var n=r(1386),o=r(19770),a=r(68250);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},97706:t=>{t.exports=function(t,e,r){for(var n=r-1,o=t.length;++n<o;)if(t[n]===e)return n;return-1}},96493:(t,e,r)=>{var n=r(76853),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,i=n((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,r,n,o){e.push(n?o.replace(a,"$1"):r||t)})),e}));t.exports=i},66040:(t,e,r)=>{var n=r(51187);t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}},64066:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(r){}try{return t+""}catch(r){}}return""}},62945:t=>{var e=/\s/;t.exports=function(t){for(var r=t.length;r--&&e.test(t.charAt(r)););return r}},72846:(t,e,r)=>{var n=r(69334);t.exports=function(t){return n(t,4)}},46108:(t,e,r)=>{var n=r(69334);t.exports=function(t){return n(t,5)}},82619:t=>{t.exports=function(t){return function(){return t}}},88088:(t,e,r)=>{var n=r(96576),o=r(90313),a=r(23945),i=r(65406),s=a((function(t,e){return i(t)?n(t,o(e,1,i,!0)):[]}));t.exports=s},46285:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},81936:(t,e,r)=>{var n=r(77317)(r(92154));t.exports=n},92154:(t,e,r)=>{var n=r(37250),o=r(3334),a=r(67642),i=Math.max;t.exports=function(t,e,r){var s=null==t?0:t.length;if(!s)return-1;var u=null==r?0:a(r);return u<0&&(u=i(s+u,0)),n(t,o(e,3),u)}},75857:(t,e,r)=>{var n=r(90313);t.exports=function(t){return(null==t?0:t.length)?n(t,1):[]}},46123:(t,e,r)=>{var n=r(57923);t.exports=function(t,e,r){var o=null==t?void 0:n(t,e);return void 0===o?r:o}},27276:(t,e,r)=>{var n=r(43636),o=r(85899);t.exports=function(t,e){return null!=t&&o(t,e,n)}},22053:t=>{t.exports=function(t){return t}},19891:(t,e,r)=>{var n=r(82619),o=r(69333),a=r(22053),i=Object.prototype.toString,s=o((function(t,e,r){null!=e&&"function"!=typeof e.toString&&(e=i.call(e)),t[e]=r}),n(a));t.exports=s},3283:(t,e,r)=>{var n=r(56027),o=r(80547),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(t){return o(t)&&i.call(t,"callee")&&!s.call(t,"callee")};t.exports=u},53142:t=>{var e=Array.isArray;t.exports=e},36529:(t,e,r)=>{var n=r(93655),o=r(65387);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},65406:(t,e,r)=>{var n=r(36529),o=r(80547);t.exports=function(t){return o(t)&&n(t)}},75853:(t,e,r)=>{t=r.nmd(t);var n=r(78942),o=r(34772),a=e&&!e.nodeType&&e,i=a&&t&&!t.nodeType&&t,s=i&&i.exports===a?n.Buffer:void 0,u=(s?s.isBuffer:void 0)||o;t.exports=u},46343:(t,e,r)=>{var n=r(94687);t.exports=function(t,e){return n(t,e)}},93655:(t,e,r)=>{var n=r(87379),o=r(41580);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},65387:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},37681:(t,e,r)=>{var n=r(80777),o=r(49460),a=r(2306),i=a&&a.isMap,s=i?o(i):n;t.exports=s},41580:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},80547:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},48360:(t,e,r)=>{var n=r(87379),o=r(74784),a=r(80547),i=Function.prototype,s=Object.prototype,u=i.toString,c=s.hasOwnProperty,l=u.call(Object);t.exports=function(t){if(!a(t)||"[object Object]"!=n(t))return!1;var e=o(t);if(null===e)return!0;var r=c.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&u.call(r)==l}},83943:(t,e,r)=>{var n=r(81935),o=r(49460),a=r(2306),i=a&&a.isSet,s=i?o(i):n;t.exports=s},8138:(t,e,r)=>{var n=r(87379),o=r(53142),a=r(80547);
2t.exports=function(t){return"string"==typeof t||!o(t)&&a(t)&&"[object String]"==n(t)}},51187:(t,e,r)=>{var n=r(87379),o=r(80547);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==n(t)}},8666:(t,e,r)=>{var n=r(70674),o=r(49460),a=r(2306),i=a&&a.isTypedArray,s=i?o(i):n;t.exports=s},81211:(t,e,r)=>{var n=r(10358),o=r(195),a=r(36529);t.exports=function(t){return a(t)?n(t):o(t)}},25288:(t,e,r)=>{var n=r(10358),o=r(57200),a=r(36529);t.exports=function(t){return a(t)?n(t,!0):o(t)}},98087:t=>{t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},69011:(t,e,r)=>{var n=r(68250);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=t.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(o.Cache||n),r}o.Cache=n,t.exports=o},79071:t=>{t.exports=function(){}},3326:(t,e,r)=>{var n=r(65111),o=r(69334),a=r(81586),i=r(93526),s=r(39032),u=r(29259),c=r(41439),l=r(93650),p=c((function(t,e){var r={};if(null==t)return r;var c=!1;e=n(e,(function(e){return e=i(e,t),c||(c=e.length>1),e})),s(t,l(t),r),c&&(r=o(r,7,u));for(var p=e.length;p--;)a(r,e[p]);return r}));t.exports=p},43282:(t,e,r)=>{var n=r(12762),o=r(98880),a=r(65187),i=r(66040);t.exports=function(t){return a(t)?n(i(t)):o(t)}},99306:t=>{t.exports=function(){return[]}},34772:t=>{t.exports=function(){return!1}},43301:(t,e,r)=>{var n=r(6131),o=1/0;t.exports=function(t){return t?(t=n(t))===o||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},67642:(t,e,r)=>{var n=r(43301);t.exports=function(t){var e=n(t),r=e%1;return e==e?r?e-r:e:0}},6131:(t,e,r)=>{var n=r(86403),o=r(41580),a=r(51187),i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(a(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var r=s.test(t);return r||u.test(t)?c(t.slice(2),r?2:8):i.test(t)?NaN:+t}},95243:(t,e,r)=>{var n=r(52291);t.exports=function(t){return null==t?"":n(t)}},82438:(t,e,r)=>{var n=r(15630);t.exports=function(t){return t&&t.length?n(t):[]}},30795:(t,e,r)=>{var n=r(96576),o=r(23945),a=r(65406),i=o((function(t,e){return a(t)?n(t,e):[]}));t.exports=i},71184:(t,e,r)=>{"use strict";r.d(e,{R:()=>i,x:()=>s});var n=r(14041);const o={},a=n.createContext(o);function i(t){const e=n.useContext(a);return n.useMemo((function(){return"function"==typeof t?t(e):{...e,...t}}),[e,t])}function s(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(o):t.components||o:i(t.components),n.createElement(a.Provider,{value:e},t.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.