index-legacy-1d18a5c8.js 2.5 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. (function(){function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=_superPropBase(e,t);if(n){var o=Object.getOwnPropertyDescriptor(n,t);return o.get?o.get.call(arguments.length<3?e:r):o.value}},_get.apply(this,arguments)}function _superPropBase(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=_getPrototypeOf2(e)););return e}function _inherits2(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf2(e,t)}function _createSuper2(e){var t=_isNativeReflectConstruct2();return function(){var r,n=_getPrototypeOf2(e);if(t){var o=_getPrototypeOf2(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return _possibleConstructorReturn2(this,r)}}function _possibleConstructorReturn2(e,t){if(t&&("object"===_typeof2(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized2(e)}function _assertThisInitialized2(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _wrapNativeSuper2(e){var t="function"==typeof Map?new Map:void 0;return _wrapNativeSuper2=function(e){if(null===e||!_isNativeFunction2(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return _construct2(e,arguments,_getPrototypeOf2(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf2(r,e)},_wrapNativeSuper2(e)}function _construct2(e,t,r){return _construct2=_isNativeReflectConstruct2()?Reflect.construct.bind():function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&_setPrototypeOf2(o,r.prototype),o},_construct2.apply(null,arguments)}function _isNativeReflectConstruct2(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function _isNativeFunction2(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function _setPrototypeOf2(e,t){return _setPrototypeOf2=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_setPrototypeOf2(e,t)}function _getPrototypeOf2(e){return _getPrototypeOf2=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_getPrototypeOf2(e)}function _regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(B){l=function(e,t,r){return e[t]=r}}function c(e,t,r,o){var a=t&&t.prototype instanceof p?t:p,i=Object.create(a.prototype),s=new _(o||[]);return n(i,"_invoke",{value:x(e,r,s)}),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(B){return{type:"throw",arg:B}}}e.wrap=c;var d={};function p(){}function f(){}function h(){}var v={};l(v,a,(function(){return this}));var g=Object.getPrototypeOf,m=g&&g(g(S([])));m&&m!==t&&r.call(m,a)&&(v=m);var b=h.prototype=p.prototype=Object.create(v);function A(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function y(e,t){function o(n,a,i,s){var l=u(e[n],e,a);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==_typeof2(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,i,s)}),(function(e){o("throw",e,i,s)})):t.resolve(d).then((function(e){c.value=e,i(c)}),(function(e){return o("throw",e,i,s)}))}s(l.arg)}var a;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return a=a?a.then(n,n):n()}})}function x(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=w(i,r);if(s){if(s===d)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}function w(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=u(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var a=o.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function S(e){if(e||""===e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}throw new TypeError(_typeof2(e)+" is not iterable")}return f.prototype=h,n(b,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:f,configurable:!0}),f.displayName=l(h,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,l(e,s,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},A(y.prototype),l(y.prototype,i,(function(){return this})),e.AsyncIterator=y,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new y(c(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},A(b),l(b,s,"Generator"),l(b,a,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=S,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(s&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,d):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:S(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}function asyncGeneratorStep(e,t,r,n,o,a,i){try{var s=e[a](i),l=s.value}catch(c){return void r(c)}s.done?t(l):Promise.resolve(l).then(n,o)}function _asyncToGenerator2(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){asyncGeneratorStep(a,n,o,i,s,"next",e)}function s(e){asyncGeneratorStep(a,n,o,i,s,"throw",e)}i(void 0)}))}}function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach((function(t){_defineProperty2(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _classCallCheck2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,_toPropertyKey2(n.key),n)}}function _createClass2(e,t,r){return t&&_defineProperties(e.prototype,t),r&&_defineProperties(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function _defineProperty2(e,t,r){return(t=_toPropertyKey2(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _toPropertyKey2(e){var t=_toPrimitive2(e,"string");return"symbol"===_typeof2(t)?t:String(t)}function _toPrimitive2(e,t){if("object"!==_typeof2(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==_typeof2(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray2(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArrayLimit(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,s=[],l=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(u){c=!0,o=u}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return s}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _toConsumableArray2(e){return _arrayWithoutHoles2(e)||_iterableToArray2(e)||_unsupportedIterableToArray2(e)||_nonIterableSpread2()}function _nonIterableSpread2(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray2(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles2(e){if(Array.isArray(e))return _arrayLikeToArray2(e)}function _typeof2(e){return _typeof2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof2(e)}function _createForOfIteratorHelper(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=_unsupportedIterableToArray2(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}function _unsupportedIterableToArray2(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray2(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray2(e,t):void 0}}function _arrayLikeToArray2(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}System.register([],(function(exports,module){"use strict";return{execute:function execute(){var __vite_style__=document.createElement("style");__vite_style__.textContent="@font-face{font-family:v-sans;font-weight:400;src:url("+new URL("LatoLatin-Regular-ddd4ef7f.woff2",module.meta.url).href+")}@font-face{font-family:v-sans;font-weight:600;src:url("+new URL("LatoLatin-Semibold-267eef30.woff2",module.meta.url).href+")}@font-face{font-family:v-mono;font-weight:400;src:url("+new URL("FiraCode-Regular-f13d1ece.woff2",module.meta.url).href+')}:root{--van-black: #000;--van-white: #fff;--van-gray-1: #f7f8fa;--van-gray-2: #f2f3f5;--van-gray-3: #ebedf0;--van-gray-4: #dcdee0;--van-gray-5: #c8c9cc;--van-gray-6: #969799;--van-gray-7: #646566;--van-gray-8: #323233;--van-red: #ee0a24;--van-blue: #1989fa;--van-orange: #ff976a;--van-orange-dark: #ed6a0c;--van-orange-light: #fffbe8;--van-green: #07c160;--van-gradient-red: linear-gradient(to right, #ff6034, #ee0a24);--van-gradient-orange: linear-gradient(to right, #ffd01e, #ff8917);--van-primary-color: var(--van-blue);--van-success-color: var(--van-green);--van-danger-color: var(--van-red);--van-warning-color: var(--van-orange);--van-text-color: var(--van-gray-8);--van-text-color-2: var(--van-gray-6);--van-text-color-3: var(--van-gray-5);--van-active-color: var(--van-gray-2);--van-active-opacity: .6;--van-disabled-opacity: .5;--van-background: var(--van-gray-1);--van-background-2: var(--van-white);--van-background-3: var(--van-white);--van-padding-base: 4px;--van-padding-xs: 8px;--van-padding-sm: 12px;--van-padding-md: 16px;--van-padding-lg: 24px;--van-padding-xl: 32px;--van-font-bold: 600;--van-font-size-xs: 10px;--van-font-size-sm: 12px;--van-font-size-md: 14px;--van-font-size-lg: 16px;--van-line-height-xs: 14px;--van-line-height-sm: 18px;--van-line-height-md: 20px;--van-line-height-lg: 22px;--van-base-font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Segoe UI, Arial, Roboto, "PingFang SC", "miui", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;--van-price-font: avenir-heavy, "PingFang SC", helvetica neue, arial, sans-serif;--van-duration-base: .3s;--van-duration-fast: .2s;--van-ease-out: ease-out;--van-ease-in: ease-in;--van-border-color: var(--van-gray-3);--van-border-width: 1px;--van-radius-sm: 2px;--van-radius-md: 4px;--van-radius-lg: 8px;--van-radius-max: 999px}.van-theme-dark{--van-text-color: #f5f5f5;--van-text-color-2: #707070;--van-text-color-3: #4d4d4d;--van-border-color: #3a3a3c;--van-active-color: #3a3a3c;--van-background: #000;--van-background-2: #1c1c1e;--van-background-3: #37363b}html{-webkit-tap-highlight-color:transparent}body{margin:0;font-family:var(--van-base-font)}a{text-decoration:none}input,button,textarea{color:inherit;font:inherit}a:focus,input:focus,button:focus,textarea:focus,[class*=van-]:focus{outline:none}ol,ul{margin:0;padding:0;list-style:none}@keyframes van-slide-up-enter{0%{transform:translate3d(0,100%,0)}}@keyframes van-slide-up-leave{to{transform:translate3d(0,100%,0)}}@keyframes van-slide-down-enter{0%{transform:translate3d(0,-100%,0)}}@keyframes van-slide-down-leave{to{transform:translate3d(0,-100%,0)}}@keyframes van-slide-left-enter{0%{transform:translate3d(-100%,0,0)}}@keyframes van-slide-left-leave{to{transform:translate3d(-100%,0,0)}}@keyframes van-slide-right-enter{0%{transform:translate3d(100%,0,0)}}@keyframes van-slide-right-leave{to{transform:translate3d(100%,0,0)}}@keyframes van-fade-in{0%{opacity:0}to{opacity:1}}@keyframes van-fade-out{0%{opacity:1}to{opacity:0}}@keyframes van-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.van-fade-enter-active{animation:var(--van-duration-base) van-fade-in both var(--van-ease-out)}.van-fade-leave-active{animation:var(--van-duration-base) van-fade-out both var(--van-ease-in)}.van-slide-up-enter-active{animation:van-slide-up-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-up-leave-active{animation:van-slide-up-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-down-enter-active{animation:van-slide-down-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-down-leave-active{animation:van-slide-down-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-left-enter-active{animation:van-slide-left-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-left-leave-active{animation:van-slide-left-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-right-enter-active{animation:van-slide-right-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-right-leave-active{animation:van-slide-right-leave var(--van-duration-base) both var(--van-ease-in)}.van-clearfix:after{display:table;clear:both;content:""}.van-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-multi-ellipsis--l2{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;line-break:anywhere;-webkit-box-orient:vertical}.van-multi-ellipsis--l3{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:3;line-break:anywhere;-webkit-box-orient:vertical}.van-safe-area-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.van-safe-area-bottom{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.van-haptics-feedback{cursor:pointer}.van-haptics-feedback:active{opacity:var(--van-active-opacity)}[class*=van-hairline]:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid var(--van-border-color);transform:scale(.5)}.van-hairline,.van-hairline--top,.van-hairline--left,.van-hairline--right,.van-hairline--bottom,.van-hairline--surround,.van-hairline--top-bottom{position:relative}.van-hairline--top:after{border-top-width:var(--van-border-width)}.van-hairline--left:after{border-left-width:var(--van-border-width)}.van-hairline--right:after{border-right-width:var(--van-border-width)}.van-hairline--bottom:after{border-bottom-width:var(--van-border-width)}.van-hairline--top-bottom:after,.van-hairline-unset--top-bottom:after{border-width:var(--van-border-width) 0}.van-hairline--surround:after{border-width:var(--van-border-width)}:root{--van-action-bar-background: var(--van-background-2);--van-action-bar-height: 50px}.van-action-bar{position:fixed;right:0;bottom:0;left:0;display:flex;align-items:center;box-sizing:content-box;height:var(--van-action-bar-height);background:var(--van-action-bar-background)}:root{--van-badge-size: 16px;--van-badge-color: var(--van-white);--van-badge-padding: 0 3px;--van-badge-font-size: var(--van-font-size-sm);--van-badge-font-weight: var(--van-font-bold);--van-badge-border-width: var(--van-border-width);--van-badge-background: var(--van-danger-color);--van-badge-dot-color: var(--van-danger-color);--van-badge-dot-size: 8px;--van-badge-font: -apple-system-font, helvetica neue, arial, sans-serif}.van-badge{display:inline-block;box-sizing:border-box;min-width:var(--van-badge-size);padding:var(--van-badge-padding);color:var(--van-badge-color);font-weight:var(--van-badge-font-weight);font-size:var(--van-badge-font-size);font-family:var(--van-badge-font);line-height:1.2;text-align:center;background:var(--van-badge-background);border:var(--van-badge-border-width) solid var(--van-background-2);border-radius:var(--van-radius-max)}.van-badge--fixed{position:absolute;transform-origin:100%}.van-badge--top-left{top:0;left:0;transform:translate(-50%,-50%)}.van-badge--top-right{top:0;right:0;transform:translate(50%,-50%)}.van-badge--bottom-left{bottom:0;left:0;transform:translate(-50%,50%)}.van-badge--bottom-right{bottom:0;right:0;transform:translate(50%,50%)}.van-badge--dot{width:var(--van-badge-dot-size);min-width:0;height:var(--van-badge-dot-size);background:var(--van-badge-dot-color);border-radius:100%;border:none;padding:0}.van-badge__wrapper{position:relative;display:inline-block}.van-icon{position:relative;display:inline-block;font:14px/1 vant-icon;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased}.van-icon:before{display:inline-block}.van-icon-exchange:before{content:""}.van-icon-eye:before{content:""}.van-icon-enlarge:before{content:""}.van-icon-expand-o:before{content:""}.van-icon-eye-o:before{content:""}.van-icon-expand:before{content:""}.van-icon-filter-o:before{content:""}.van-icon-fire:before{content:""}.van-icon-fail:before{content:""}.van-icon-failure:before{content:""}.van-icon-fire-o:before{content:""}.van-icon-flag-o:before{content:""}.van-icon-font:before{content:""}.van-icon-font-o:before{content:""}.van-icon-gem-o:before{content:""}.van-icon-flower-o:before{content:""}.van-icon-gem:before{content:""}.van-icon-gift-card:before{content:""}.van-icon-friends:before{content:""}.van-icon-friends-o:before{content:""}.van-icon-gold-coin:before{content:""}.van-icon-gold-coin-o:before{content:""}.van-icon-good-job-o:before{content:""}.van-icon-gift:before{content:""}.van-icon-gift-o:before{content:""}.van-icon-gift-card-o:before{content:""}.van-icon-good-job:before{content:""}.van-icon-home-o:before{content:""}.van-icon-goods-collect:before{content:""}.van-icon-graphic:before{content:""}.van-icon-goods-collect-o:before{content:""}.van-icon-hot-o:before{content:""}.van-icon-info:before{content:""}.van-icon-hotel-o:before{content:""}.van-icon-info-o:before{content:""}.van-icon-hot-sale-o:before{content:""}.van-icon-hot:before{content:""}.van-icon-like:before{content:""}.van-icon-idcard:before{content:""}.van-icon-invitation:before{content:""}.van-icon-like-o:before{content:""}.van-icon-hot-sale:before{content:""}.van-icon-location-o:before{content:""}.van-icon-location:before{content:""}.van-icon-label:before{content:""}.van-icon-lock:before{content:""}.van-icon-label-o:before{content:""}.van-icon-map-marked:before{content:""}.van-icon-logistics:before{content:""}.van-icon-manager:before{content:""}.van-icon-more:before{content:""}.van-icon-live:before{content:""}.van-icon-manager-o:before{content:""}.van-icon-medal:before{content:""}.van-icon-more-o:before{content:""}.van-icon-music-o:before{content:""}.van-icon-music:before{content:""}.van-icon-new-arrival-o:before{content:""}.van-icon-medal-o:before{content:""}.van-icon-new-o:before{content:""}.van-icon-free-postage:before{content:""}.van-icon-newspaper-o:before{content:""}.van-icon-new-arrival:before{content:""}.van-icon-minus:before{content:""}.van-icon-orders-o:before{content:""}.van-icon-new:before{content:""}.van-icon-paid:before{content:""}.van-icon-notes-o:before{content:""}.van-icon-other-pay:before{content:""}.van-icon-pause-circle:before{content:""}.van-icon-pause:before{content:""}.van-icon-pause-circle-o:before{content:""}.van-icon-peer-pay:before{content:""}.van-icon-pending-payment:before{content:""}.van-icon-passed:before{content:""}.van-icon-plus:before{content:""}.van-icon-phone-circle-o:before{content:""}.van-icon-phone-o:before{content:""}.van-icon-printer:before{content:""}.van-icon-photo-fail:before{content:""}.van-icon-phone:before{content:""}.van-icon-photo-o:before{content:""}.van-icon-play-circle:before{content:""}.van-icon-play:before{content:""}.van-icon-phone-circle:before{content:""}.van-icon-point-gift-o:before{content:""}.van-icon-point-gift:before{content:""}.van-icon-play-circle-o:before{content:""}.van-icon-shrink:before{content:""}.van-icon-photo:before{content:""}.van-icon-qr:before{content:""}.van-icon-qr-invalid:before{content:""}.van-icon-question-o:before{content:""}.van-icon-revoke:before{content:""}.van-icon-replay:before{content:""}.van-icon-service:before{content:""}.van-icon-question:before{content:""}.van-icon-search:before{content:""}.van-icon-refund-o:before{content:""}.van-icon-service-o:before{content:""}.van-icon-scan:before{content:""}.van-icon-share:before{content:""}.van-icon-send-gift-o:before{content:""}.van-icon-share-o:before{content:""}.van-icon-setting:before{content:""}.van-icon-points:before{content:""}.van-icon-photograph:before{content:""}.van-icon-shop:before{content:""}.van-icon-shop-o:before{content:""}.van-icon-shop-collect-o:before{content:""}.van-icon-shop-collect:before{content:""}.van-icon-smile:before{content:""}.van-icon-shopping-cart-o:before{content:""}.van-icon-sign:before{content:""}.van-icon-sort:before{content:""}.van-icon-star-o:before{content:""}.van-icon-smile-comment-o:before{content:""}.van-icon-stop:before{content:""}.van-icon-stop-circle-o:before{content:""}.van-icon-smile-o:before{content:""}.van-icon-star:before{content:""}.van-icon-success:before{content:""}.van-icon-stop-circle:before{content:""}.van-icon-records:before{content:""}.van-icon-shopping-cart:before{content:""}.van-icon-tosend:before{content:""}.van-icon-todo-list:before{content:""}.van-icon-thumb-circle-o:before{content:""}.van-icon-thumb-circle:before{content:""}.van-icon-umbrella-circle:before{content:""}.van-icon-underway:before{content:""}.van-icon-upgrade:before{content:""}.van-icon-todo-list-o:before{content:""}.van-icon-tv-o:before{content:""}.van-icon-underway-o:before{content:""}.van-icon-user-o:before{content:""}.van-icon-vip-card-o:before{content:""}.van-icon-vip-card:before{content:""}.van-icon-send-gift:before{content:""}.van-icon-wap-home:before{content:""}.van-icon-wap-nav:before{content:""}.van-icon-volume-o:before{content:""}.van-icon-video:before{content:""}.van-icon-wap-home-o:before{content:""}.van-icon-volume:before{content:""}.van-icon-warning:before{content:""}.van-icon-weapp-nav:before{content:""}.van-icon-wechat-pay:before{content:""}.van-icon-warning-o:before{content:""}.van-icon-wechat:before{content:""}.van-icon-setting-o:before{content:""}.van-icon-youzan-shield:before{content:""}.van-icon-warn-o:before{content:""}.van-icon-smile-comment:before{content:""}.van-icon-user-circle-o:before{content:""}.van-icon-video-o:before{content:""}.van-icon-add-square:before{content:""}.van-icon-add:before{content:""}.van-icon-arrow-down:before{content:""}.van-icon-arrow-up:before{content:""}.van-icon-arrow:before{content:""}.van-icon-after-sale:before{content:""}.van-icon-add-o:before{content:""}.van-icon-alipay:before{content:""}.van-icon-ascending:before{content:""}.van-icon-apps-o:before{content:""}.van-icon-aim:before{content:""}.van-icon-award:before{content:""}.van-icon-arrow-left:before{content:""}.van-icon-award-o:before{content:""}.van-icon-audio:before{content:""}.van-icon-bag-o:before{content:""}.van-icon-balance-list:before{content:""}.van-icon-back-top:before{content:""}.van-icon-bag:before{content:""}.van-icon-balance-pay:before{content:""}.van-icon-balance-o:before{content:""}.van-icon-bar-chart-o:before{content:""}.van-icon-bars:before{content:""}.van-icon-balance-list-o:before{content:""}.van-icon-birthday-cake-o:before{content:""}.van-icon-bookmark:before{content:""}.van-icon-bill:before{content:""}.van-icon-bell:before{content:""}.van-icon-browsing-history-o:before{content:""}.van-icon-browsing-history:before{content:""}.van-icon-bookmark-o:before{content:""}.van-icon-bulb-o:before{content:""}.van-icon-bullhorn-o:before{content:""}.van-icon-bill-o:before{content:""}.van-icon-calendar-o:before{content:""}.van-icon-brush-o:before{content:""}.van-icon-card:before{content:""}.van-icon-cart-o:before{content:""}.van-icon-cart-circle:before{content:""}.van-icon-cart-circle-o:before{content:""}.van-icon-cart:before{content:""}.van-icon-cash-on-deliver:before{content:""}.van-icon-cash-back-record:before{content:""}.van-icon-cashier-o:before{content:""}.van-icon-chart-trending-o:before{content:""}.van-icon-certificate:before{content:""}.van-icon-chat:before{content:""}.van-icon-clear:before{content:""}.van-icon-chat-o:before{content:""}.van-icon-checked:before{content:""}.van-icon-clock:before{content:""}.van-icon-clock-o:before{content:""}.van-icon-close:before{content:""}.van-icon-closed-eye:before{content:""}.van-icon-circle:before{content:""}.van-icon-cluster-o:before{content:""}.van-icon-column:before{content:""}.van-icon-comment-circle-o:before{content:""}.van-icon-cluster:before{content:""}.van-icon-comment:before{content:""}.van-icon-comment-o:before{content:""}.van-icon-comment-circle:before{content:""}.van-icon-completed:before{content:""}.van-icon-credit-pay:before{content:""}.van-icon-coupon:before{content:""}.van-icon-debit-pay:before{content:""}.van-icon-coupon-o:before{content:""}.van-icon-contact:before{content:""}.van-icon-descending:before{content:""}.van-icon-desktop-o:before{content:""}.van-icon-diamond-o:before{content:""}.van-icon-description:before{content:""}.van-icon-delete:before{content:""}.van-icon-diamond:before{content:""}.van-icon-delete-o:before{content:""}.van-icon-cross:before{content:""}.van-icon-edit:before{content:""}.van-icon-ellipsis:before{content:""}.van-icon-down:before{content:""}.van-icon-discount:before{content:""}.van-icon-ecard-pay:before{content:""}.van-icon-envelop-o:before{content:""}.van-icon-shield-o:before{content:""}.van-icon-guide-o:before{content:""}.van-icon-cash-o:before{content:""}.van-icon-qq:before{content:""}.van-icon-wechat-moments:before{content:""}.van-icon-weibo:before{content:""}.van-icon-link-o:before{content:""}.van-icon-miniprogram-o:before{content:""}@font-face{font-weight:400;font-family:vant-icon;font-style:normal;font-display:auto;src:url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAAGAgAA0AAAAA34AAAF/FAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cGh4GYACCShEICoOWIIK6dAuDdAABNgIkA4N6BCAFhQ4HlRUb9q51B8h1O4AkUtvLGIkQNg4Ake1DZ///x+TGmFAifdkzRYUNWmGzVcusxJ63YJ8dHfe+KIHghunNX2CmdJrQVCF2JKmxNGunPaLGLvxCy+jknqsM//A/rYfPwLaRP8nJOzzfNt9HwIMvl8r/CgiCeCKKoPyvNyB44Ql4Vl53giaWHXaYttIOq3WvzNrEaldtbbXOpW7Zqa3WypXYtZXZWqtdMbBtzM06zF0dRqJN/Ndt392fEw04xCThNMtyiZNmgkBa1Nl/EysgV0oVx3IdupYPgKbHI01//pc5q27DbFW3JCeHiJYV2JsALbI/0lf6BmZmEe4JQL/lLdsCPrbr802ftjhV8OHfuSqvwEmCnESQXYdiayIRZAVd9lRXrv1Nfp9EsLlJvKi0HRPwyMmvzTuXn9j0kxrQIQ6QAzcGN8etbYwZPI8WAH7gx3em0q+0saRnuBTNJSAnPijlUuKs6B/71/4NOE7bUcI3gtwAKO0G5pnzKB5ughso4QNROGx8T0Cmc3pcN0izuUyKohr/3tTKC7tpdjl3MqCcna2rqeJc5iqXcSZSkr1+/zfQ///+jUY3wAW7SQ4I7IxAYEYLgMMTSHB3CQKDMuRS5LganvG2CexckZxdFYec9TKUs26kzLtciqYUbSgTJAovCBXvRTKhwkBBqFChklBBZNy1ltR0I0eiGaFBbhE8kprnPn672VRW5nSpGVVBOI5PeGc9/vl/TP0/pknXzk/6M5ut0Q0KcoELiL5CUbZlloKfmCBB2lPP/jsCAKAcuGX7O7EDv6aNREBABqPKYoTdiIN3myCmMwEg1gQ6AGk6fieMAwBsZCX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9TU2cdeoQ7zCq9klMIUfC5P6x0E9ljP3FQeCEF9xrhjejj3vzawWaGmOTmx+PBAtkWJR6tK0JknDigh9nbeE0Ip7/fENE3FZrlNJoLfJDocOBqsn4XBu8ZkIz4U1dSo0WUtTSIFTMpnvOXQnzC5168OSoXtiSoUwP1Z7UG0OrdjUeEwomR5rksSsFCNa42owjR9etIzk7opSs9zRa/UaCHZpQWfYCqqReW8cmYIchGw5beCBiLvIXGzxVgdT5tdK6rTA6DUe9Wo5yPFyEsfVFIkS1WsQBxlcHjbzepoEE294LBlX2+xeJJN0W0NBBi3YKG4AxORuIiJSN5Jli7eylPnJKdZ/hSjhTnkXX14B2LVcFlg/e25n2VDInLC42mF8130th1+ipl8NuQctrmzOh6QXr2u8PuPVjpiJQQ/D0aa+kvm7SXPASXTDJrwnkOufHqA9pB7CjBY6ZoXL569Y9XbjzTVF0jrVfSxCbSOdSwoHMCW21qCOMFaC3tQO33qPpVLl3iF3PBhKhPjCGQ9IYp3L6ygBAAA=) format("woff2"),url(//at.alicdn.com/t/c/font_2553510_ovbl29ce9ud.woff?t=1672541115585) format("woff")}.van-icon__image{display:block;width:1em;height:1em;object-fit:contain}:root{--van-skeleton-image-size: 96px;--van-skeleton-image-radius: 24px}.van-skeleton-image{display:flex;width:var(--van-skeleton-image-size);height:var(--van-skeleton-image-size);align-items:center;justify-content:center;background:var(--van-active-color)}.van-skeleton-image--round{border-radius:var(--van-skeleton-image-radius)}.van-skeleton-image__icon{width:calc(var(--van-skeleton-image-size) / 2);height:calc(var(--van-skeleton-image-size) / 2);font-size:calc(var(--van-skeleton-image-size) / 2);color:var(--van-gray-5)}:root{--van-rate-icon-size: 20px;--van-rate-icon-gutter: var(--van-padding-base);--van-rate-icon-void-color: var(--van-gray-5);--van-rate-icon-full-color: var(--van-danger-color);--van-rate-icon-disabled-color: var(--van-gray-5)}.van-rate{display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;flex-wrap:wrap}.van-rate__item{position:relative}.van-rate__item:not(:last-child){padding-right:var(--van-rate-icon-gutter)}.van-rate__icon{display:block;width:1em;color:var(--van-rate-icon-void-color);font-size:var(--van-rate-icon-size)}.van-rate__icon--half{position:absolute;top:0;left:0;overflow:hidden;pointer-events:none}.van-rate__icon--full{color:var(--van-rate-icon-full-color)}.van-rate__icon--disabled{color:var(--van-rate-icon-disabled-color)}.van-rate--disabled{cursor:not-allowed}.van-rate--readonly{cursor:default}:root{--van-notice-bar-height: 40px;--van-notice-bar-padding: 0 var(--van-padding-md);--van-notice-bar-wrapable-padding: var(--van-padding-xs) var(--van-padding-md);--van-notice-bar-text-color: var(--van-orange-dark);--van-notice-bar-font-size: var(--van-font-size-md);--van-notice-bar-line-height: 24px;--van-notice-bar-background: var(--van-orange-light);--van-notice-bar-icon-size: 16px;--van-notice-bar-icon-min-width: 24px}.van-notice-bar{position:relative;display:flex;align-items:center;height:var(--van-notice-bar-height);padding:var(--van-notice-bar-padding);color:var(--van-notice-bar-text-color);font-size:var(--van-notice-bar-font-size);line-height:var(--van-notice-bar-line-height);background:var(--van-notice-bar-background)}.van-notice-bar__left-icon,.van-notice-bar__right-icon{min-width:var(--van-notice-bar-icon-min-width);font-size:var(--van-notice-bar-icon-size)}.van-notice-bar__right-icon{text-align:right;cursor:pointer}.van-notice-bar__wrap{position:relative;display:flex;flex:1;align-items:center;height:100%;overflow:hidden}.van-notice-bar__content{position:absolute;white-space:nowrap;transition-timing-function:linear}.van-notice-bar__content.van-ellipsis{max-width:100%}.van-notice-bar--wrapable{height:auto;padding:var(--van-notice-bar-wrapable-padding)}.van-notice-bar--wrapable .van-notice-bar__wrap{height:auto}.van-notice-bar--wrapable .van-notice-bar__content{position:relative;white-space:normal;word-wrap:break-word}:root{--van-nav-bar-height: 46px;--van-nav-bar-background: var(--van-background-2);--van-nav-bar-arrow-size: 16px;--van-nav-bar-icon-color: var(--van-primary-color);--van-nav-bar-text-color: var(--van-primary-color);--van-nav-bar-title-font-size: var(--van-font-size-lg);--van-nav-bar-title-text-color: var(--van-text-color);--van-nav-bar-z-index: 1}.van-nav-bar{position:relative;z-index:var(--van-nav-bar-z-index);line-height:var(--van-line-height-lg);text-align:center;background:var(--van-nav-bar-background);-webkit-user-select:none;user-select:none}.van-nav-bar--fixed{position:fixed;top:0;left:0;width:100%}.van-nav-bar--safe-area-inset-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.van-nav-bar .van-icon{color:var(--van-nav-bar-icon-color)}.van-nav-bar__content{position:relative;display:flex;align-items:center;height:var(--van-nav-bar-height)}.van-nav-bar__arrow{margin-right:var(--van-padding-base);font-size:var(--van-nav-bar-arrow-size)}.van-nav-bar__title{max-width:60%;margin:0 auto;color:var(--van-nav-bar-title-text-color);font-weight:var(--van-font-bold);font-size:var(--van-nav-bar-title-font-size)}.van-nav-bar__left,.van-nav-bar__right{position:absolute;top:0;bottom:0;display:flex;align-items:center;padding:0 var(--van-padding-md);font-size:var(--van-font-size-md)}.van-nav-bar__left{left:0}.van-nav-bar__right{right:0}.van-nav-bar__text{color:var(--van-nav-bar-text-color)}:root{--van-floating-bubble-size: 48px;--van-floating-bubble-initial-gap: 24px;--van-floating-bubble-icon-size: 28px;--van-floating-bubble-background: var(--van-primary-color);--van-floating-bubble-color: var(--van-background-2);--van-floating-bubble-z-index: 999;--van-floating-bubble-border-radius: var(--van-radius-max)}.van-floating-bubble{position:fixed;left:0;top:0;right:var(--van-floating-bubble-initial-gap);bottom:var(--van-floating-bubble-initial-gap);width:var(--van-floating-bubble-size);height:var(--van-floating-bubble-size);box-sizing:border-box;display:flex;justify-content:center;align-items:center;overflow:hidden;cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:none;background:var(--van-floating-bubble-background);color:var(--van-floating-bubble-color);border-radius:var(--van-floating-bubble-border-radius);z-index:var(--van-floating-bubble-z-index);transition:transform var(--van-duration-base)}.van-floating-bubble:active{opacity:.8}.van-floating-bubble__icon{font-size:var(--van-floating-bubble-icon-size)}:root{--van-image-placeholder-text-color: var(--van-text-color-2);--van-image-placeholder-font-size: var(--van-font-size-md);--van-image-placeholder-background: var(--van-background);--van-image-loading-icon-size: 32px;--van-image-loading-icon-color: var(--van-gray-4);--van-image-error-icon-size: 32px;--van-image-error-icon-color: var(--van-gray-4)}.van-image{position:relative;display:inline-block}.van-image--round{overflow:hidden;border-radius:var(--van-radius-max)}.van-image--round .van-image__img{border-radius:inherit}.van-image--block{display:block}.van-image__img,.van-image__error,.van-image__loading{display:block;width:100%;height:100%}.van-image__error,.van-image__loading{position:absolute;top:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--van-image-placeholder-text-color);font-size:var(--van-image-placeholder-font-size);background:var(--van-image-placeholder-background)}.van-image__loading-icon{color:var(--van-image-loading-icon-color);font-size:var(--van-image-loading-icon-size)}.van-image__error-icon{color:var(--van-image-error-icon-color);font-size:var(--van-image-error-icon-size)}:root{--van-back-top-size: 40px;--van-back-top-right: 30px;--van-back-top-bottom: 40px;--van-back-top-z-index: 100;--van-back-top-icon-size: 20px;--van-back-top-text-color: #fff;--van-back-top-background: var(--van-blue)}.van-back-top{position:fixed;display:flex;align-items:center;justify-content:center;width:var(--van-back-top-size);height:var(--van-back-top-size);right:var(--van-back-top-right);bottom:var(--van-back-top-bottom);z-index:var(--van-back-top-z-index);cursor:pointer;color:var(--van-back-top-text-color);border-radius:var(--van-radius-max);box-shadow:0 2px 8px rgba(0,0,0,.12);transform:scale(0);transition:var(--van-duration-base) cubic-bezier(.25,.8,.5,1);background-color:var(--van-back-top-background)}.van-back-top:active{opacity:var(--van-active-opacity)}.van-back-top__placeholder{display:none}.van-back-top--active{transform:scale(1)}.van-back-top__icon{font-size:var(--van-back-top-icon-size);font-weight:var(--van-font-bold)}:root{--van-tag-padding: 0 var(--van-padding-base);--van-tag-text-color: var(--van-white);--van-tag-font-size: var(--van-font-size-sm);--van-tag-radius: 2px;--van-tag-line-height: 16px;--van-tag-medium-padding: 2px 6px;--van-tag-large-padding: var(--van-padding-base) var(--van-padding-xs);--van-tag-large-radius: var(--van-radius-md);--van-tag-large-font-size: var(--van-font-size-md);--van-tag-round-radius: var(--van-radius-max);--van-tag-danger-color: var(--van-danger-color);--van-tag-primary-color: var(--van-primary-color);--van-tag-success-color: var(--van-success-color);--van-tag-warning-color: var(--van-warning-color);--van-tag-default-color: var(--van-gray-6);--van-tag-plain-background: var(--van-background-2)}.van-tag{position:relative;display:inline-flex;align-items:center;padding:var(--van-tag-padding);color:var(--van-tag-text-color);font-size:var(--van-tag-font-size);line-height:var(--van-tag-line-height);border-radius:var(--van-tag-radius)}.van-tag--default{background:var(--van-tag-default-color)}.van-tag--default.van-tag--plain{color:var(--van-tag-default-color)}.van-tag--danger{background:var(--van-tag-danger-color)}.van-tag--danger.van-tag--plain{color:var(--van-tag-danger-color)}.van-tag--primary{background:var(--van-tag-primary-color)}.van-tag--primary.van-tag--plain{color:var(--van-tag-primary-color)}.van-tag--success{background:var(--van-tag-success-color)}.van-tag--success.van-tag--plain{color:var(--van-tag-success-color)}.van-tag--warning{background:var(--van-tag-warning-color)}.van-tag--warning.van-tag--plain{color:var(--van-tag-warning-color)}.van-tag--plain{background:var(--van-tag-plain-background);border-color:currentColor}.van-tag--plain:before{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid;border-color:inherit;border-radius:inherit;content:"";pointer-events:none}.van-tag--medium{padding:var(--van-tag-medium-padding)}.van-tag--large{padding:var(--van-tag-large-padding);font-size:var(--van-tag-large-font-size);border-radius:var(--van-tag-large-radius)}.van-tag--mark{border-radius:0 var(--van-tag-round-radius) var(--van-tag-round-radius) 0}.van-tag--mark:after{display:block;width:2px;content:""}.van-tag--round{border-radius:var(--van-tag-round-radius)}.van-tag__close{margin-left:2px}:root{--van-card-padding: var(--van-padding-xs) var(--van-padding-md);--van-card-font-size: var(--van-font-size-sm);--van-card-text-color: var(--van-text-color);--van-card-background: var(--van-background);--van-card-thumb-size: 88px;--van-card-thumb-radius: var(--van-radius-lg);--van-card-title-line-height: 16px;--van-card-desc-color: var(--van-text-color-2);--van-card-desc-line-height: var(--van-line-height-md);--van-card-price-color: var(--van-text-color);--van-card-origin-price-color: var(--van-text-color-2);--van-card-num-color: var(--van-text-color-2);--van-card-origin-price-font-size: var(--van-font-size-xs);--van-card-price-font-size: var(--van-font-size-sm);--van-card-price-integer-font-size: var(--van-font-size-lg);--van-card-price-font: var(--van-price-font)}.van-card{position:relative;box-sizing:border-box;padding:var(--van-card-padding);color:var(--van-card-text-color);font-size:var(--van-card-font-size);background:var(--van-card-background)}.van-card:not(:first-child){margin-top:var(--van-padding-xs)}.van-card__header{display:flex}.van-card__thumb{position:relative;flex:none;width:var(--van-card-thumb-size);height:var(--van-card-thumb-size);margin-right:var(--van-padding-xs)}.van-card__thumb img{border-radius:var(--van-card-thumb-radius)}.van-card__content{position:relative;display:flex;flex:1;flex-direction:column;justify-content:space-between;min-width:0;min-height:var(--van-card-thumb-size)}.van-card__content--centered{justify-content:center}.van-card__title,.van-card__desc{word-wrap:break-word}.van-card__title{max-height:32px;font-weight:var(--van-font-bold);line-height:var(--van-card-title-line-height)}.van-card__desc{max-height:var(--van-card-desc-line-height);color:var(--van-card-desc-color);line-height:var(--van-card-desc-line-height)}.van-card__bottom{line-height:var(--van-line-height-md)}.van-card__price{display:inline-block;color:var(--van-card-price-color);font-weight:var(--van-font-bold);font-size:var(--van-card-price-font-size)}.van-card__price-integer{font-size:var(--van-card-price-integer-font-size);font-family:var(--van-card-price-font)}.van-card__price-decimal{font-family:var(--van-card-price-font)}.van-card__origin-price{display:inline-block;margin-left:5px;color:var(--van-card-origin-price-color);font-size:var(--van-card-origin-price-font-size);text-decoration:line-through}.van-card__num{float:right;color:var(--van-card-num-color)}.van-card__tag{position:absolute;top:2px;left:0}.van-card__footer{flex:none;text-align:right}.van-card__footer .van-button{margin-left:5px}:root{--van-cell-font-size: var(--van-font-size-md);--van-cell-line-height: 24px;--van-cell-vertical-padding: 10px;--van-cell-horizontal-padding: var(--van-padding-md);--van-cell-text-color: var(--van-text-color);--van-cell-background: var(--van-background-2);--van-cell-border-color: var(--van-border-color);--van-cell-active-color: var(--van-active-color);--van-cell-required-color: var(--van-danger-color);--van-cell-label-color: var(--van-text-color-2);--van-cell-label-font-size: var(--van-font-size-sm);--van-cell-label-line-height: var(--van-line-height-sm);--van-cell-label-margin-top: var(--van-padding-base);--van-cell-value-color: var(--van-text-color-2);--van-cell-icon-size: 16px;--van-cell-right-icon-color: var(--van-gray-6);--van-cell-large-vertical-padding: var(--van-padding-sm);--van-cell-large-title-font-size: var(--van-font-size-lg);--van-cell-large-label-font-size: var(--van-font-size-md)}.van-cell{position:relative;display:flex;box-sizing:border-box;width:100%;padding:var(--van-cell-vertical-padding) var(--van-cell-horizontal-padding);overflow:hidden;color:var(--van-cell-text-color);font-size:var(--van-cell-font-size);line-height:var(--van-cell-line-height);background:var(--van-cell-background)}.van-cell:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-cell-border-color);transform:scaleY(.5)}.van-cell:last-child:after,.van-cell--borderless:after{display:none}.van-cell__label{margin-top:var(--van-cell-label-margin-top);color:var(--van-cell-label-color);font-size:var(--van-cell-label-font-size);line-height:var(--van-cell-label-line-height)}.van-cell__title,.van-cell__value{flex:1}.van-cell__value{position:relative;overflow:hidden;color:var(--van-cell-value-color);text-align:right;vertical-align:middle;word-wrap:break-word}.van-cell__left-icon,.van-cell__right-icon{height:var(--van-cell-line-height);font-size:var(--van-cell-icon-size);line-height:var(--van-cell-line-height)}.van-cell__left-icon{margin-right:var(--van-padding-base)}.van-cell__right-icon{margin-left:var(--van-padding-base);color:var(--van-cell-right-icon-color)}.van-cell--clickable{cursor:pointer}.van-cell--clickable:active{background-color:var(--van-cell-active-color)}.van-cell--required{overflow:visible}.van-cell--required:before{position:absolute;left:var(--van-padding-xs);color:var(--van-cell-required-color);font-size:var(--van-cell-font-size);content:"*"}.van-cell--center{align-items:center}.van-cell--large{padding-top:var(--van-cell-large-vertical-padding);padding-bottom:var(--van-cell-large-vertical-padding)}.van-cell--large .van-cell__title{font-size:var(--van-cell-large-title-font-size)}.van-cell--large .van-cell__label{font-size:var(--van-cell-large-label-font-size)}:root{--van-coupon-cell-selected-text-color: var(--van-text-color)}.van-coupon-cell__value--selected{color:var(--van-coupon-cell-selected-text-color)}:root{--van-contact-card-padding: var(--van-padding-md);--van-contact-card-add-icon-size: 40px;--van-contact-card-add-icon-color: var(--van-primary-color);--van-contact-card-title-line-height: var(--van-line-height-md)}.van-contact-card{padding:var(--van-contact-card-padding)}.van-contact-card__title{margin-left:5px;line-height:var(--van-contact-card-title-line-height)}.van-contact-card--add .van-contact-card__value{line-height:var(--van-contact-card-add-icon-size)}.van-contact-card--add .van-cell__left-icon{color:var(--van-contact-card-add-icon-color);font-size:var(--van-contact-card-add-icon-size)}.van-contact-card:before{position:absolute;right:0;bottom:0;left:0;height:2px;background:repeating-linear-gradient(-45deg,var(--van-warning-color) 0,var(--van-warning-color) 20%,transparent 0,transparent 25%,var(--van-primary-color) 0,var(--van-primary-color) 45%,transparent 0,transparent 50%);background-size:80px;content:""}:root{--van-collapse-item-duration: var(--van-duration-base);--van-collapse-item-content-padding: var(--van-padding-sm) var(--van-padding-md);--van-collapse-item-content-font-size: var(--van-font-size-md);--van-collapse-item-content-line-height: 1.5;--van-collapse-item-content-text-color: var(--van-text-color-2);--van-collapse-item-content-background: var(--van-background-2);--van-collapse-item-title-disabled-color: var(--van-text-color-3)}.van-collapse-item{position:relative}.van-collapse-item--border:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:0;right:var(--van-padding-md);left:var(--van-padding-md);border-top:1px solid var(--van-border-color);transform:scaleY(.5)}.van-collapse-item__title .van-cell__right-icon:before{transform:rotate(90deg) translateZ(0);transition:transform var(--van-collapse-item-duration)}.van-collapse-item__title:after{right:var(--van-padding-md);display:none}.van-collapse-item__title--expanded .van-cell__right-icon:before{transform:rotate(-90deg)}.van-collapse-item__title--expanded:after{display:block}.van-collapse-item__title--borderless:after{display:none}.van-collapse-item__title--disabled{cursor:not-allowed}.van-collapse-item__title--disabled,.van-collapse-item__title--disabled .van-cell__right-icon{color:var(--van-collapse-item-title-disabled-color)}.van-collapse-item__wrapper{overflow:hidden;transition:height var(--van-collapse-item-duration) ease-in-out;will-change:height}.van-collapse-item__content{padding:var(--van-collapse-item-content-padding);color:var(--van-collapse-item-content-text-color);font-size:var(--van-collapse-item-content-font-size);line-height:var(--van-collapse-item-content-line-height);background:var(--van-collapse-item-content-background)}:root{--van-field-label-width: 6.2em;--van-field-label-color: var(--van-text-color);--van-field-label-margin-right: var(--van-padding-sm);--van-field-input-text-color: var(--van-text-color);--van-field-input-error-text-color: var(--van-danger-color);--van-field-input-disabled-text-color: var(--van-text-color-3);--van-field-placeholder-text-color: var(--van-text-color-3);--van-field-icon-size: 18px;--van-field-clear-icon-size: 18px;--van-field-clear-icon-color: var(--van-gray-5);--van-field-right-icon-color: var(--van-gray-6);--van-field-error-message-color: var(--van-danger-color);--van-field-error-message-font-size: 12px;--van-field-text-area-min-height: 60px;--van-field-word-limit-color: var(--van-gray-7);--van-field-word-limit-font-size: var(--van-font-size-sm);--van-field-word-limit-line-height: 16px;--van-field-disabled-text-color: var(--van-text-color-3);--van-field-required-mark-color: var(--van-red)}.van-field{flex-wrap:wrap}.van-field__label{flex:none;box-sizing:border-box;width:var(--van-field-label-width);margin-right:var(--van-field-label-margin-right);color:var(--van-field-label-color);text-align:left;word-wrap:break-word}.van-field__label--center{text-align:center}.van-field__label--right{text-align:right}.van-field__label--top{display:flex;width:100%;text-align:left;margin-bottom:var(--van-padding-base);word-break:break-word}.van-field__label--required:before{margin-right:2px;color:var(--van-field-required-mark-color);content:"*"}.van-field--disabled .van-field__label{color:var(--van-field-disabled-text-color)}.van-field__value{overflow:visible}.van-field__body{display:flex;align-items:center}.van-field__control{display:block;box-sizing:border-box;width:100%;min-width:0;margin:0;padding:0;color:var(--van-field-input-text-color);line-height:inherit;text-align:left;background-color:transparent;border:0;resize:none;-webkit-user-select:auto;user-select:auto}.van-field__control::-webkit-input-placeholder{color:var(--van-field-placeholder-text-color)}.van-field__control::placeholder{color:var(--van-field-placeholder-text-color)}.van-field__control:read-only{cursor:default}.van-field__control:disabled{color:var(--van-field-input-disabled-text-color);cursor:not-allowed;opacity:1;-webkit-text-fill-color:var(--van-field-input-disabled-text-color)}.van-field__control--center{justify-content:center;text-align:center}.van-field__control--right{justify-content:flex-end;text-align:right}.van-field__control--custom{display:flex;align-items:center;min-height:var(--van-cell-line-height)}.van-field__control--error::-webkit-input-placeholder{color:var(--van-field-input-error-text-color);-webkit-text-fill-color:currentColor}.van-field__control--error,.van-field__control--error::placeholder{color:var(--van-field-input-error-text-color);-webkit-text-fill-color:currentColor}.van-field__control--min-height{min-height:var(--van-field-text-area-min-height)}.van-field__control[type=date],.van-field__control[type=time],.van-field__control[type=datetime-local]{min-height:var(--van-cell-line-height)}.van-field__control[type=search]{-webkit-appearance:none}.van-field__clear,.van-field__icon,.van-field__button,.van-field__right-icon{flex-shrink:0}.van-field__clear,.van-field__right-icon{margin-right:calc(var(--van-padding-xs) * -1);padding:0 var(--van-padding-xs);line-height:inherit}.van-field__clear{color:var(--van-field-clear-icon-color);font-size:var(--van-field-clear-icon-size);cursor:pointer}.van-field__left-icon .van-icon,.van-field__right-icon .van-icon{display:block;font-size:var(--van-field-icon-size);line-height:inherit}.van-field__left-icon{margin-right:var(--van-padding-base)}.van-field__right-icon{color:var(--van-field-right-icon-color)}.van-field__button{padding-left:var(--van-padding-xs)}.van-field__error-message{color:var(--van-field-error-message-color);font-size:var(--van-field-error-message-font-size);text-align:left}.van-field__error-message--center{text-align:center}.van-field__error-message--right{text-align:right}.van-field__word-limit{margin-top:var(--van-padding-base);color:var(--van-field-word-limit-color);font-size:var(--van-field-word-limit-font-size);line-height:var(--van-field-word-limit-line-height);text-align:right}:root{--van-search-padding: 10px var(--van-padding-sm);--van-search-background: var(--van-background-2);--van-search-content-background: var(--van-background);--van-search-input-height: 34px;--van-search-label-padding: 0 5px;--van-search-label-color: var(--van-text-color);--van-search-label-font-size: var(--van-font-size-md);--van-search-left-icon-color: var(--van-gray-6);--van-search-action-padding: 0 var(--van-padding-xs);--van-search-action-text-color: var(--van-text-color);--van-search-action-font-size: var(--van-font-size-md)}.van-search{display:flex;align-items:center;box-sizing:border-box;padding:var(--van-search-padding);background:var(--van-search-background)}.van-search__content{display:flex;flex:1;padding-left:var(--van-padding-sm);background:var(--van-search-content-background);border-radius:var(--van-radius-sm)}.van-search__content--round{border-radius:var(--van-radius-max)}.van-search__label{padding:var(--van-search-label-padding);color:var(--van-search-label-color);font-size:var(--van-search-label-font-size);line-height:var(--van-search-input-height)}.van-search__field{flex:1;align-items:center;padding:0 var(--van-padding-xs) 0 0;height:var(--van-search-input-height);background-color:transparent}.van-search__field .van-field__left-icon{color:var(--van-search-left-icon-color)}.van-search--show-action{padding-right:0}.van-search input::-webkit-search-decoration,.van-search input::-webkit-search-cancel-button,.van-search input::-webkit-search-results-button,.van-search input::-webkit-search-results-decoration{display:none}.van-search__action{padding:var(--van-search-action-padding);color:var(--van-search-action-text-color);font-size:var(--van-search-action-font-size);line-height:var(--van-search-input-height);cursor:pointer;-webkit-user-select:none;user-select:none}.van-search__action:active{background-color:var(--van-active-color)}:root{--van-action-bar-icon-width: 48px;--van-action-bar-icon-height: 100%;--van-action-bar-icon-color: var(--van-text-color);--van-action-bar-icon-size: 18px;--van-action-bar-icon-font-size: var(--van-font-size-xs);--van-action-bar-icon-active-color: var(--van-active-color);--van-action-bar-icon-text-color: var(--van-text-color);--van-action-bar-icon-background: var(--van-background-2)}.van-action-bar-icon{display:flex;flex-direction:column;justify-content:center;min-width:var(--van-action-bar-icon-width);height:var(--van-action-bar-icon-height);color:var(--van-action-bar-icon-text-color);font-size:var(--van-action-bar-icon-font-size);line-height:1;text-align:center;background:var(--van-action-bar-icon-background);cursor:pointer}.van-action-bar-icon:active{background-color:var(--van-action-bar-icon-active-color)}.van-action-bar-icon__icon{margin:0 auto var(--van-padding-base);color:var(--van-action-bar-icon-color);font-size:var(--van-action-bar-icon-size)}:root{--van-loading-text-color: var(--van-text-color-2);--van-loading-text-font-size: var(--van-font-size-md);--van-loading-spinner-color: var(--van-gray-5);--van-loading-spinner-size: 30px;--van-loading-spinner-duration: .8s}.van-loading{position:relative;color:var(--van-loading-spinner-color);font-size:0;vertical-align:middle}.van-loading__spinner{position:relative;display:inline-block;width:var(--van-loading-spinner-size);max-width:100%;height:var(--van-loading-spinner-size);max-height:100%;vertical-align:middle;animation:van-rotate var(--van-loading-spinner-duration) linear infinite}.van-loading__spinner--spinner{animation-timing-function:steps(12)}.van-loading__spinner--circular{animation-duration:2s}.van-loading__line{position:absolute;top:0;left:0;width:100%;height:100%}.van-loading__line:before{display:block;width:2px;height:25%;margin:0 auto;background-color:currentColor;border-radius:40%;content:" "}.van-loading__circular{display:block;width:100%;height:100%}.van-loading__circular circle{animation:van-circular 1.5s ease-in-out infinite;stroke:currentColor;stroke-width:3;stroke-linecap:round}.van-loading__text{display:inline-block;margin-left:var(--van-padding-xs);color:var(--van-loading-text-color);font-size:var(--van-loading-text-font-size);vertical-align:middle}.van-loading--vertical{display:flex;flex-direction:column;align-items:center}.van-loading--vertical .van-loading__text{margin:var(--van-padding-xs) 0 0}@keyframes van-circular{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40}to{stroke-dasharray:90,150;stroke-dashoffset:-120}}.van-loading__line--1{transform:rotate(30deg);opacity:1}.van-loading__line--2{transform:rotate(60deg);opacity:.9375}.van-loading__line--3{transform:rotate(90deg);opacity:.875}.van-loading__line--4{transform:rotate(120deg);opacity:.8125}.van-loading__line--5{transform:rotate(150deg);opacity:.75}.van-loading__line--6{transform:rotate(180deg);opacity:.6875}.van-loading__line--7{transform:rotate(210deg);opacity:.625}.van-loading__line--8{transform:rotate(240deg);opacity:.5625}.van-loading__line--9{transform:rotate(270deg);opacity:.5}.van-loading__line--10{transform:rotate(300deg);opacity:.4375}.van-loading__line--11{transform:rotate(330deg);opacity:.375}.van-loading__line--12{transform:rotate(360deg);opacity:.3125}:root{--van-pull-refresh-head-height: 50px;--van-pull-refresh-head-font-size: var(--van-font-size-md);--van-pull-refresh-head-text-color: var(--van-text-color-2);--van-pull-refresh-loading-icon-size: 16px}.van-pull-refresh{overflow:hidden}.van-pull-refresh__track{position:relative;height:100%;transition-property:transform}.van-pull-refresh__head{position:absolute;left:0;width:100%;height:var(--van-pull-refresh-head-height);overflow:hidden;color:var(--van-pull-refresh-head-text-color);font-size:var(--van-pull-refresh-head-font-size);line-height:var(--van-pull-refresh-head-height);text-align:center;transform:translateY(-100%)}.van-pull-refresh__loading .van-loading__spinner{width:var(--van-pull-refresh-loading-icon-size);height:var(--van-pull-refresh-loading-icon-size)}:root{--van-number-keyboard-background: var(--van-gray-2);--van-number-keyboard-key-height: 48px;--van-number-keyboard-key-font-size: 28px;--van-number-keyboard-key-active-color: var(--van-gray-3);--van-number-keyboard-key-background: var(--van-background-2);--van-number-keyboard-delete-font-size: var(--van-font-size-lg);--van-number-keyboard-title-color: var(--van-gray-7);--van-number-keyboard-title-height: 34px;--van-number-keyboard-title-font-size: var(--van-font-size-lg);--van-number-keyboard-close-padding: 0 var(--van-padding-md);--van-number-keyboard-close-color: var(--van-primary-color);--van-number-keyboard-close-font-size: var(--van-font-size-md);--van-number-keyboard-button-text-color: var(--van-white);--van-number-keyboard-button-background: var(--van-primary-color);--van-number-keyboard-z-index: 100}.van-theme-dark{--van-number-keyboard-background: var(--van-gray-8);--van-number-keyboard-key-background: var(--van-gray-7);--van-number-keyboard-key-active-color: var(--van-gray-6)}.van-number-keyboard{position:fixed;bottom:0;left:0;z-index:var(--van-number-keyboard-z-index);width:100%;padding-bottom:22px;background:var(--van-number-keyboard-background);-webkit-user-select:none;user-select:none}.van-number-keyboard--with-title{border-radius:20px 20px 0 0}.van-number-keyboard__header{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:content-box;height:var(--van-number-keyboard-title-height);padding-top:6px;color:var(--van-number-keyboard-title-color);font-size:var(--van-number-keyboard-title-font-size)}.van-number-keyboard__title{display:inline-block;font-weight:400}.van-number-keyboard__title-left{position:absolute;left:0}.van-number-keyboard__body{display:flex;padding:6px 0 0 6px}.van-number-keyboard__keys{display:flex;flex:3;flex-wrap:wrap}.van-number-keyboard__close{position:absolute;right:0;height:100%;padding:var(--van-number-keyboard-close-padding);color:var(--van-number-keyboard-close-color);font-size:var(--van-number-keyboard-close-font-size);background-color:transparent;border:none}.van-number-keyboard__sidebar{display:flex;flex:1;flex-direction:column}.van-number-keyboard--unfit{padding-bottom:0}.van-key{display:flex;align-items:center;justify-content:center;height:var(--van-number-keyboard-key-height);font-size:var(--van-number-keyboard-key-font-size);line-height:1.5;background:var(--van-number-keyboard-key-background);border-radius:var(--van-radius-lg);cursor:pointer}.van-key--large{position:absolute;top:0;right:6px;bottom:6px;left:0;height:auto}.van-key--blue,.van-key--delete{font-size:var(--van-number-keyboard-delete-font-size)}.van-key--active{background-color:var(--van-number-keyboard-key-active-color)}.van-key--blue{color:var(--van-number-keyboard-button-text-color);background:var(--van-number-keyboard-button-background)}.van-key--blue.van-key--active{opacity:var(--van-active-opacity)}.van-key__wrapper{position:relative;flex:1;flex-basis:33%;box-sizing:border-box;padding:0 6px 6px 0}.van-key__wrapper--wider{flex-basis:66%}.van-key__delete-icon{width:32px;height:22px}.van-key__collapse-icon{width:30px;height:24px}.van-key__loading-icon{color:var(--van-number-keyboard-button-text-color)}:root{--van-list-text-color: var(--van-text-color-2);--van-list-text-font-size: var(--van-font-size-md);--van-list-text-line-height: 50px;--van-list-loading-icon-size: 16px}.van-list__loading,.van-list__finished-text,.van-list__error-text{color:var(--van-list-text-color);font-size:var(--van-list-text-font-size);line-height:var(--van-list-text-line-height);text-align:center}.van-list__placeholder{height:0;pointer-events:none}.van-list__loading-icon .van-loading__spinner{width:var(--van-list-loading-icon-size);height:var(--van-list-loading-icon-size)}:root{--van-switch-size: 26px;--van-switch-width:calc(1.8em + 4px);--van-switch-height:calc(1em + 4px);--van-switch-node-size: 1em;--van-switch-node-background: var(--van-white);--van-switch-node-shadow: 0 3px 1px 0 rgba(0, 0, 0, .05);--van-switch-background: rgba(120, 120, 128, .16);--van-switch-on-background: var(--van-primary-color);--van-switch-duration: var(--van-duration-base);--van-switch-disabled-opacity: var(--van-disabled-opacity)}.van-theme-dark{--van-switch-background: rgba(120, 120, 128, .32)}.van-switch{position:relative;display:inline-block;box-sizing:content-box;width:var(--van-switch-width);height:var(--van-switch-height);font-size:var(--van-switch-size);background:var(--van-switch-background);border-radius:var(--van-switch-node-size);cursor:pointer;transition:background-color var(--van-switch-duration)}.van-switch__node{position:absolute;top:2px;left:2px;width:var(--van-switch-node-size);height:var(--van-switch-node-size);font-size:inherit;background:var(--van-switch-node-background);border-radius:100%;box-shadow:var(--van-switch-node-shadow);transition:transform var(--van-switch-duration) cubic-bezier(.3,1.05,.4,1.05)}.van-switch__loading{top:25%;left:25%;width:50%;height:50%;line-height:1}.van-switch--on{background:var(--van-switch-on-background)}.van-switch--on .van-switch__node{transform:translate(calc(var(--van-switch-width) - var(--van-switch-node-size) - 4px))}.van-switch--on .van-switch__loading{color:var(--van-switch-on-background)}.van-switch--disabled{cursor:not-allowed;opacity:var(--van-switch-disabled-opacity)}.van-switch--loading{cursor:default}:root{--van-button-mini-height: 24px;--van-button-mini-padding: 0 var(--van-padding-base);--van-button-mini-font-size: var(--van-font-size-xs);--van-button-small-height: 32px;--van-button-small-padding: 0 var(--van-padding-xs);--van-button-small-font-size: var(--van-font-size-sm);--van-button-normal-padding: 0 15px;--van-button-normal-font-size: var(--van-font-size-md);--van-button-large-height: 50px;--van-button-default-height: 44px;--van-button-default-line-height: 1.2;--van-button-default-font-size: var(--van-font-size-lg);--van-button-default-color: var(--van-text-color);--van-button-default-background: var(--van-background-2);--van-button-default-border-color: var(--van-gray-4);--van-button-primary-color: var(--van-white);--van-button-primary-background: var(--van-primary-color);--van-button-primary-border-color: var(--van-primary-color);--van-button-success-color: var(--van-white);--van-button-success-background: var(--van-success-color);--van-button-success-border-color: var(--van-success-color);--van-button-danger-color: var(--van-white);--van-button-danger-background: var(--van-danger-color);--van-button-danger-border-color: var(--van-danger-color);--van-button-warning-color: var(--van-white);--van-button-warning-background: var(--van-warning-color);--van-button-warning-border-color: var(--van-warning-color);--van-button-border-width: var(--van-border-width);--van-button-radius: var(--van-radius-md);--van-button-round-radius: var(--van-radius-max);--van-button-plain-background: var(--van-white);--van-button-disabled-opacity: var(--van-disabled-opacity);--van-button-icon-size: 1.2em;--van-button-loading-icon-size: 20px}.van-theme-dark{--van-button-plain-background: transparent}.van-button{position:relative;display:inline-block;box-sizing:border-box;height:var(--van-button-default-height);margin:0;padding:0;font-size:var(--van-button-default-font-size);line-height:var(--van-button-default-line-height);text-align:center;border-radius:var(--van-button-radius);cursor:pointer;transition:opacity var(--van-duration-fast);-webkit-appearance:none;-webkit-font-smoothing:auto}.van-button:before{position:absolute;top:50%;left:50%;width:100%;height:100%;background:var(--van-black);border:inherit;border-color:var(--van-black);border-radius:inherit;transform:translate(-50%,-50%);opacity:0;content:" "}.van-button:active:before{opacity:.1}.van-button--loading:before,.van-button--disabled:before{display:none}.van-button--default{color:var(--van-button-default-color);background:var(--van-button-default-background);border:var(--van-button-border-width) solid var(--van-button-default-border-color)}.van-button--primary{color:var(--van-button-primary-color);background:var(--van-button-primary-background);border:var(--van-button-border-width) solid var(--van-button-primary-border-color)}.van-button--success{color:var(--van-button-success-color);background:var(--van-button-success-background);border:var(--van-button-border-width) solid var(--van-button-success-border-color)}.van-button--danger{color:var(--van-button-danger-color);background:var(--van-button-danger-background);border:var(--van-button-border-width) solid var(--van-button-danger-border-color)}.van-button--warning{color:var(--van-button-warning-color);background:var(--van-button-warning-background);border:var(--van-button-border-width) solid var(--van-button-warning-border-color)}.van-button--plain{background:var(--van-button-plain-background)}.van-button--plain.van-button--primary{color:var(--van-button-primary-background)}.van-button--plain.van-button--success{color:var(--van-button-success-background)}.van-button--plain.van-button--danger{color:var(--van-button-danger-background)}.van-button--plain.van-button--warning{color:var(--van-button-warning-background)}.van-button--large{width:100%;height:var(--van-button-large-height)}.van-button--normal{padding:var(--van-button-normal-padding);font-size:var(--van-button-normal-font-size)}.van-button--small{height:var(--van-button-small-height);padding:var(--van-button-small-padding);font-size:var(--van-button-small-font-size)}.van-button__loading{color:inherit;font-size:inherit}.van-button__loading .van-loading__spinner{color:currentColor;width:var(--van-button-loading-icon-size);height:var(--van-button-loading-icon-size)}.van-button--mini{height:var(--van-button-mini-height);padding:var(--van-button-mini-padding);font-size:var(--van-button-mini-font-size)}.van-button--mini+.van-button--mini{margin-left:var(--van-padding-base)}.van-button--block{display:block;width:100%}.van-button--disabled{cursor:not-allowed;opacity:var(--van-button-disabled-opacity)}.van-button--loading{cursor:default}.van-button--round{border-radius:var(--van-button-round-radius)}.van-button--square{border-radius:0}.van-button__content{display:flex;align-items:center;justify-content:center;height:100%}.van-button__content:before{content:" "}.van-button__icon{font-size:var(--van-button-icon-size);line-height:inherit}.van-button__icon+.van-button__text,.van-button__loading+.van-button__text,.van-button__text+.van-button__icon,.van-button__text+.van-button__loading{margin-left:var(--van-padding-base)}.van-button--hairline{border-width:0}.van-button--hairline:after{border-color:inherit;border-radius:calc(var(--van-button-radius) * 2)}.van-button--hairline.van-button--round:after{border-radius:var(--van-button-round-radius)}.van-button--hairline.van-button--square:after{border-radius:0}:root{--van-submit-bar-height: 50px;--van-submit-bar-z-index: 100;--van-submit-bar-background: var(--van-background-2);--van-submit-bar-button-width: 110px;--van-submit-bar-price-color: var(--van-danger-color);--van-submit-bar-price-font-size: var(--van-font-size-sm);--van-submit-bar-price-integer-font-size: 20px;--van-submit-bar-price-font: var(--van-price-font);--van-submit-bar-text-color: var(--van-text-color);--van-submit-bar-text-font-size: var(--van-font-size-md);--van-submit-bar-tip-padding: var(--van-padding-xs) var(--van-padding-sm);--van-submit-bar-tip-font-size: var(--van-font-size-sm);--van-submit-bar-tip-line-height: 1.5;--van-submit-bar-tip-color: var(--van-orange-dark);--van-submit-bar-tip-background: var(--van-orange-light);--van-submit-bar-tip-icon-size: 12px;--van-submit-bar-button-height: 40px;--van-submit-bar-padding: 0 var(--van-padding-md)}.van-submit-bar{position:fixed;bottom:0;left:0;z-index:var(--van-submit-bar-z-index);width:100%;background:var(--van-submit-bar-background);-webkit-user-select:none;user-select:none}.van-submit-bar__tip{padding:var(--van-submit-bar-tip-padding);color:var(--van-submit-bar-tip-color);font-size:var(--van-submit-bar-tip-font-size);line-height:var(--van-submit-bar-tip-line-height);background:var(--van-submit-bar-tip-background)}.van-submit-bar__tip-icon{margin-right:var(--van-padding-base);font-size:var(--van-submit-bar-tip-icon-size);vertical-align:middle}.van-submit-bar__tip-text{vertical-align:middle}.van-submit-bar__bar{display:flex;align-items:center;justify-content:flex-end;height:var(--van-submit-bar-height);padding:var(--van-submit-bar-padding);font-size:var(--van-submit-bar-text-font-size)}.van-submit-bar__text{flex:1;padding-right:var(--van-padding-sm);color:var(--van-submit-bar-text-color);text-align:right}.van-submit-bar__text span{display:inline-block}.van-submit-bar__suffix-label{margin-left:var(--van-padding-base);font-weight:var(--van-font-bold)}.van-submit-bar__price{color:var(--van-submit-bar-price-color);font-weight:var(--van-font-bold);font-size:var(--van-submit-bar-price-font-size);margin-left:var(--van-padding-base)}.van-submit-bar__price-integer{font-size:var(--van-submit-bar-price-integer-font-size);font-family:var(--van-submit-bar-price-font)}.van-submit-bar__button{width:var(--van-submit-bar-button-width);height:var(--van-submit-bar-button-height);font-weight:var(--van-font-bold);border:none}.van-submit-bar__button--danger{background:var(--van-gradient-red)}:root{--van-signature-padding: var(--van-padding-xs);--van-signature-content-height: 200px;--van-signature-content-background: var(--van-background-2);--van-signature-content-border: 1px dotted #dadada}.van-signature{padding:var(--van-signature-padding)}.van-signature__content{display:flex;justify-content:center;align-items:center;height:var(--van-signature-content-height);background-color:var(--van-signature-content-background);border:var(--van-signature-content-border);border-radius:var(--van-radius-lg);overflow:hidden}.van-signature__content canvas{width:100%;height:100%}.van-signature__footer{display:flex;justify-content:flex-end}.van-signature__footer .van-button{padding:0 var(--van-padding-md);margin-top:var(--van-padding-xs);margin-left:var(--van-padding-xs)}:root{--van-contact-edit-padding: var(--van-padding-md);--van-contact-edit-fields-radius: var(--van-radius-md);--van-contact-edit-buttons-padding: var(--van-padding-xl) 0;--van-contact-edit-button-margin-bottom: var(--van-padding-sm);--van-contact-edit-button-font-size: var(--van-font-size-lg);--van-contact-edit-field-label-width: 4.1em}.van-contact-edit{padding:var(--van-contact-edit-padding)}.van-contact-edit__fields{overflow:hidden;border-radius:var(--van-contact-edit-fields-radius)}.van-contact-edit__fields .van-field__label{width:var(--van-contact-edit-field-label-width)}.van-contact-edit__switch-cell{margin-top:10px;padding-top:9px;padding-bottom:9px;border-radius:var(--van-contact-edit-fields-radius)}.van-contact-edit__buttons{padding:var(--van-contact-edit-buttons-padding)}.van-contact-edit__button{margin-bottom:var(--van-contact-edit-button-margin-bottom);font-size:var(--van-contact-edit-button-font-size)}:root{--van-action-bar-button-height: 40px;--van-action-bar-button-warning-color: var(--van-gradient-orange);--van-action-bar-button-danger-color: var(--van-gradient-red)}.van-action-bar-button{flex:1;height:var(--van-action-bar-button-height);font-weight:var(--van-font-bold);font-size:var(--van-font-size-md);border:none;border-radius:0}.van-action-bar-button--first{margin-left:5px;border-top-left-radius:var(--van-radius-max);border-bottom-left-radius:var(--van-radius-max)}.van-action-bar-button--last{margin-right:5px;border-top-right-radius:var(--van-radius-max);border-bottom-right-radius:var(--van-radius-max)}.van-action-bar-button--warning{background:var(--van-action-bar-button-warning-color)}.van-action-bar-button--danger{background:var(--van-action-bar-button-danger-color)}@media (max-width: 321px){.van-action-bar-button{font-size:13px}}:root{--van-overlay-z-index: 1;--van-overlay-background: rgba(0, 0, 0, .7)}.van-overlay{position:fixed;top:0;left:0;z-index:var(--van-overlay-z-index);width:100%;height:100%;background:var(--van-overlay-background)}:root{--van-popup-background: var(--van-background-2);--van-popup-transition: transform var(--van-duration-base);--van-popup-round-radius: 16px;--van-popup-close-icon-size: 22px;--van-popup-close-icon-color: var(--van-gray-5);--van-popup-close-icon-margin: 16px;--van-popup-close-icon-z-index: 1}.van-overflow-hidden{overflow:hidden!important}.van-popup{position:fixed;max-height:100%;overflow-y:auto;box-sizing:border-box;background:var(--van-popup-background);transition:var(--van-popup-transition);-webkit-overflow-scrolling:touch}.van-popup--center{top:50%;left:0;right:0;width:-webkit-fit-content;width:fit-content;max-width:calc(100vw - var(--van-padding-md) * 2);margin:0 auto;transform:translateY(-50%)}.van-popup--center.van-popup--round{border-radius:var(--van-popup-round-radius)}.van-popup--top{top:0;left:0;width:100%}.van-popup--top.van-popup--round{border-radius:0 0 var(--van-popup-round-radius) var(--van-popup-round-radius)}.van-popup--right{top:50%;right:0;transform:translate3d(0,-50%,0)}.van-popup--right.van-popup--round{border-radius:var(--van-popup-round-radius) 0 0 var(--van-popup-round-radius)}.van-popup--bottom{bottom:0;left:0;width:100%}.van-popup--bottom.van-popup--round{border-radius:var(--van-popup-round-radius) var(--van-popup-round-radius) 0 0}.van-popup--left{top:50%;left:0;transform:translate3d(0,-50%,0)}.van-popup--left.van-popup--round{border-radius:0 var(--van-popup-round-radius) var(--van-popup-round-radius) 0}.van-popup-slide-top-enter-active,.van-popup-slide-left-enter-active,.van-popup-slide-right-enter-active,.van-popup-slide-bottom-enter-active{transition-timing-function:var(--van-ease-out)}.van-popup-slide-top-leave-active,.van-popup-slide-left-leave-active,.van-popup-slide-right-leave-active,.van-popup-slide-bottom-leave-active{transition-timing-function:var(--van-ease-in)}.van-popup-slide-top-enter-from,.van-popup-slide-top-leave-active{transform:translate3d(0,-100%,0)}.van-popup-slide-right-enter-from,.van-popup-slide-right-leave-active{transform:translate3d(100%,-50%,0)}.van-popup-slide-bottom-enter-from,.van-popup-slide-bottom-leave-active{transform:translate3d(0,100%,0)}.van-popup-slide-left-enter-from,.van-popup-slide-left-leave-active{transform:translate3d(-100%,-50%,0)}.van-popup__close-icon{position:absolute;z-index:var(--van-popup-close-icon-z-index);color:var(--van-popup-close-icon-color);font-size:var(--van-popup-close-icon-size)}.van-popup__close-icon--top-left{top:var(--van-popup-close-icon-margin);left:var(--van-popup-close-icon-margin)}.van-popup__close-icon--top-right{top:var(--van-popup-close-icon-margin);right:var(--van-popup-close-icon-margin)}.van-popup__close-icon--bottom-left{bottom:var(--van-popup-close-icon-margin);left:var(--van-popup-close-icon-margin)}.van-popup__close-icon--bottom-right{right:var(--van-popup-close-icon-margin);bottom:var(--van-popup-close-icon-margin)}:root{--van-share-sheet-header-padding: var(--van-padding-sm) var(--van-padding-md);--van-share-sheet-title-color: var(--van-text-color);--van-share-sheet-title-font-size: var(--van-font-size-md);--van-share-sheet-title-line-height: var(--van-line-height-md);--van-share-sheet-description-color: var(--van-text-color-2);--van-share-sheet-description-font-size: var(--van-font-size-sm);--van-share-sheet-description-line-height: 16px;--van-share-sheet-icon-size: 48px;--van-share-sheet-option-name-color: var(--van-gray-7);--van-share-sheet-option-name-font-size: var(--van-font-size-sm);--van-share-sheet-option-description-color: var(--van-text-color-3);--van-share-sheet-option-description-font-size: var(--van-font-size-sm);--van-share-sheet-cancel-button-font-size: var(--van-font-size-lg);--van-share-sheet-cancel-button-height: 48px;--van-share-sheet-cancel-button-background: var(--van-background-2)}.van-share-sheet__header{padding:var(--van-share-sheet-header-padding);text-align:center}.van-share-sheet__title{margin-top:var(--van-padding-xs);color:var(--van-share-sheet-title-color);font-weight:400;font-size:var(--van-share-sheet-title-font-size);line-height:var(--van-share-sheet-title-line-height)}.van-share-sheet__description{display:block;margin-top:var(--van-padding-xs);color:var(--van-share-sheet-description-color);font-size:var(--van-share-sheet-description-font-size);line-height:var(--van-share-sheet-description-line-height)}.van-share-sheet__options{position:relative;display:flex;padding:var(--van-padding-md) 0 var(--van-padding-md) var(--van-padding-xs);overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch}.van-share-sheet__options--border:before{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:0;right:0;left:var(--van-padding-md);border-top:1px solid var(--van-border-color);transform:scaleY(.5)}.van-share-sheet__options::-webkit-scrollbar{height:0}.van-share-sheet__option{display:flex;flex-direction:column;align-items:center;-webkit-user-select:none;user-select:none}.van-share-sheet__icon,.van-share-sheet__image-icon{width:var(--van-share-sheet-icon-size);height:var(--van-share-sheet-icon-size);margin:0 var(--van-padding-md)}.van-share-sheet__icon{display:flex;align-items:center;justify-content:center;color:var(--van-gray-7);border-radius:100%;background-color:var(--van-gray-2)}.van-share-sheet__icon--link,.van-share-sheet__icon--poster,.van-share-sheet__icon--qrcode{font-size:26px}.van-share-sheet__icon--weapp-qrcode{font-size:28px}.van-share-sheet__icon--qq,.van-share-sheet__icon--weibo,.van-share-sheet__icon--wechat,.van-share-sheet__icon--wechat-moments{font-size:30px;color:var(--van-white)}.van-share-sheet__icon--qq{background-color:#38b9fa}.van-share-sheet__icon--wechat{background-color:#0bc15f}.van-share-sheet__icon--weibo{background-color:#ee575e}.van-share-sheet__icon--wechat-moments{background-color:#7bc845}.van-share-sheet__name{margin-top:var(--van-padding-xs);padding:0 var(--van-padding-base);color:var(--van-share-sheet-option-name-color);font-size:var(--van-share-sheet-option-name-font-size)}.van-share-sheet__option-description{padding:0 var(--van-padding-base);color:var(--van-share-sheet-option-description-color);font-size:var(--van-share-sheet-option-description-font-size)}.van-share-sheet__cancel{display:block;width:100%;padding:0;font-size:var(--van-share-sheet-cancel-button-font-size);line-height:var(--van-share-sheet-cancel-button-height);text-align:center;background:var(--van-share-sheet-cancel-button-background);border:none;cursor:pointer}.van-share-sheet__cancel:before{display:block;height:var(--van-padding-xs);background-color:var(--van-background);content:" "}.van-share-sheet__cancel:active{background-color:var(--van-active-color)}:root{--van-popover-arrow-size: 6px;--van-popover-radius: var(--van-radius-lg);--van-popover-action-width: 128px;--van-popover-action-height: 44px;--van-popover-action-font-size: var(--van-font-size-md);--van-popover-action-line-height: var(--van-line-height-md);--van-popover-action-icon-size: 20px;--van-popover-horizontal-action-height: 34px;--van-popover-horizontal-action-icon-size: 16px;--van-popover-light-text-color: var(--van-text-color);--van-popover-light-background: var(--van-background-2);--van-popover-light-action-disabled-text-color: var(--van-text-color-3);--van-popover-dark-text-color: var(--van-white);--van-popover-dark-background: #4a4a4a;--van-popover-dark-action-disabled-text-color: var(--van-text-color-2)}.van-popover{position:absolute;overflow:visible;background-color:transparent;transition:opacity .15s,transform .15s}.van-popover__wrapper{display:inline-block}.van-popover__arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid;border-width:var(--van-popover-arrow-size)}.van-popover__content{overflow:hidden;border-radius:var(--van-popover-radius)}.van-popover__content--horizontal{display:flex;width:-webkit-max-content;width:max-content}.van-popover__content--horizontal .van-popover__action{flex:none;width:auto;height:var(--van-popover-horizontal-action-height);padding:0 var(--van-padding-sm)}.van-popover__content--horizontal .van-popover__action:last-child:after{display:none}.van-popover__content--horizontal .van-popover__action-icon{margin-right:var(--van-padding-base);font-size:var(--van-popover-horizontal-action-icon-size)}.van-popover__action{position:relative;display:flex;align-items:center;box-sizing:border-box;width:var(--van-popover-action-width);height:var(--van-popover-action-height);padding:0 var(--van-padding-md);font-size:var(--van-popover-action-font-size);line-height:var(--van-line-height-md);cursor:pointer}.van-popover__action:last-child .van-popover__action-text:after{display:none}.van-popover__action-text{display:flex;flex:1;align-items:center;justify-content:center;height:100%}.van-popover__action-icon{margin-right:var(--van-padding-xs);font-size:var(--van-popover-action-icon-size)}.van-popover__action--with-icon .van-popover__action-text{justify-content:flex-start}.van-popover[data-popper-placement^=top] .van-popover__arrow{bottom:0;border-top-color:currentColor;border-bottom-width:0;margin-bottom:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=top]{transform-origin:50% 100%}.van-popover[data-popper-placement=top] .van-popover__arrow{left:50%;transform:translate(-50%)}.van-popover[data-popper-placement=top-start]{transform-origin:0 100%}.van-popover[data-popper-placement=top-start] .van-popover__arrow{left:var(--van-padding-md)}.van-popover[data-popper-placement=top-end]{transform-origin:100% 100%}.van-popover[data-popper-placement=top-end] .van-popover__arrow{right:var(--van-padding-md)}.van-popover[data-popper-placement^=left] .van-popover__arrow{right:0;border-right-width:0;border-left-color:currentColor;margin-right:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=left]{transform-origin:100% 50%}.van-popover[data-popper-placement=left] .van-popover__arrow{top:50%;transform:translateY(-50%)}.van-popover[data-popper-placement=left-start]{transform-origin:100% 0}.van-popover[data-popper-placement=left-start] .van-popover__arrow{top:var(--van-padding-md)}.van-popover[data-popper-placement=left-end]{transform-origin:100% 100%}.van-popover[data-popper-placement=left-end] .van-popover__arrow{bottom:var(--van-padding-md)}.van-popover[data-popper-placement^=right] .van-popover__arrow{left:0;border-right-color:currentColor;border-left-width:0;margin-left:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=right]{transform-origin:0 50%}.van-popover[data-popper-placement=right] .van-popover__arrow{top:50%;transform:translateY(-50%)}.van-popover[data-popper-placement=right-start]{transform-origin:0 0}.van-popover[data-popper-placement=right-start] .van-popover__arrow{top:var(--van-padding-md)}.van-popover[data-popper-placement=right-end]{transform-origin:0 100%}.van-popover[data-popper-placement=right-end] .van-popover__arrow{bottom:var(--van-padding-md)}.van-popover[data-popper-placement^=bottom] .van-popover__arrow{top:0;border-top-width:0;border-bottom-color:currentColor;margin-top:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=bottom]{transform-origin:50% 0}.van-popover[data-popper-placement=bottom] .van-popover__arrow{left:50%;transform:translate(-50%)}.van-popover[data-popper-placement=bottom-start]{transform-origin:0 0}.van-popover[data-popper-placement=bottom-start] .van-popover__arrow{left:var(--van-padding-md)}.van-popover[data-popper-placement=bottom-end]{transform-origin:100% 0}.van-popover[data-popper-placement=bottom-end] .van-popover__arrow{right:var(--van-padding-md)}.van-popover--light{color:var(--van-popover-light-text-color)}.van-popover--light .van-popover__content{background:var(--van-popover-light-background);box-shadow:0 2px 12px rgba(50,50,51,.12)}.van-popover--light .van-popover__arrow{color:var(--van-popover-light-background)}.van-popover--light .van-popover__action:active{background-color:var(--van-active-color)}.van-popover--light .van-popover__action--disabled{color:var(--van-popover-light-action-disabled-text-color);cursor:not-allowed}.van-popover--light .van-popover__action--disabled:active{background-color:transparent}.van-popover--dark{color:var(--van-popover-dark-text-color)}.van-popover--dark .van-popover__content{background:var(--van-popover-dark-background)}.van-popover--dark .van-popover__arrow{color:var(--van-popover-dark-background)}.van-popover--dark .van-popover__action:active{background-color:rgba(0,0,0,.2)}.van-popover--dark .van-popover__action--disabled{color:var(--van-popover-dark-action-disabled-text-color)}.van-popover--dark .van-popover__action--disabled:active{background-color:transparent}.van-popover--dark .van-popover__action-text:after{border-color:var(--van-gray-7)}.van-popover-zoom-enter-from,.van-popover-zoom-leave-active{transform:scale(.8);opacity:0}.van-popover-zoom-enter-active{transition-timing-function:var(--van-ease-out)}.van-popover-zoom-leave-active{transition-timing-function:var(--van-ease-in)}:root{--van-notify-text-color: var(--van-white);--van-notify-padding: var(--van-padding-xs) var(--van-padding-md);--van-notify-font-size: var(--van-font-size-md);--van-notify-line-height: var(--van-line-height-md);--van-notify-primary-background: var(--van-primary-color);--van-notify-success-background: var(--van-success-color);--van-notify-danger-background: var(--van-danger-color);--van-notify-warning-background: var(--van-warning-color)}.van-notify{display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:var(--van-notify-padding);color:var(--van-notify-text-color);font-size:var(--van-notify-font-size);line-height:var(--van-notify-line-height);white-space:pre-wrap;text-align:center;word-wrap:break-word}.van-notify--primary{background:var(--van-notify-primary-background)}.van-notify--success{background:var(--van-notify-success-background)}.van-notify--danger{background:var(--van-notify-danger-background)}.van-notify--warning{background:var(--van-notify-warning-background)}:root{--van-dialog-width: 320px;--van-dialog-small-screen-width: 90%;--van-dialog-font-size: var(--van-font-size-lg);--van-dialog-transition: var(--van-duration-base);--van-dialog-radius: 16px;--van-dialog-background: var(--van-background-2);--van-dialog-header-font-weight: var(--van-font-bold);--van-dialog-header-line-height: 24px;--van-dialog-header-padding-top: 26px;--van-dialog-header-isolated-padding: var(--van-padding-lg) 0;--van-dialog-message-padding: var(--van-padding-lg);--van-dialog-message-font-size: var(--van-font-size-md);--van-dialog-message-line-height: var(--van-line-height-md);--van-dialog-message-max-height: 60vh;--van-dialog-has-title-message-text-color: var(--van-gray-7);--van-dialog-has-title-message-padding-top: var(--van-padding-xs);--van-dialog-button-height: 48px;--van-dialog-round-button-height: 36px;--van-dialog-confirm-button-text-color: var(--van-primary-color)}.van-dialog{top:45%;width:var(--van-dialog-width);overflow:hidden;font-size:var(--van-dialog-font-size);background:var(--van-dialog-background);border-radius:var(--van-dialog-radius);-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:var(--van-dialog-transition);transition-property:transform,opacity}@media (max-width: 321px){.van-dialog{width:var(--van-dialog-small-screen-width)}}.van-dialog__header{color:var(--van-text-color);padding-top:var(--van-dialog-header-padding-top);font-weight:var(--van-dialog-header-font-weight);line-height:var(--van-dialog-header-line-height);text-align:center}.van-dialog__header--isolated{padding:var(--van-dialog-header-isolated-padding)}.van-dialog__content--isolated{display:flex;align-items:center;min-height:104px}.van-dialog__message{color:var(--van-text-color);flex:1;max-height:var(--van-dialog-message-max-height);padding:26px var(--van-dialog-message-padding);overflow-y:auto;font-size:var(--van-dialog-message-font-size);line-height:var(--van-dialog-message-line-height);white-space:pre-wrap;text-align:center;word-wrap:break-word;-webkit-overflow-scrolling:touch}.van-dialog__message--has-title{padding-top:var(--van-dialog-has-title-message-padding-top);color:var(--van-dialog-has-title-message-text-color)}.van-dialog__message--left{text-align:left}.van-dialog__message--right{text-align:right}.van-dialog__message--justify{text-align:justify}.van-dialog__footer{display:flex;overflow:hidden;-webkit-user-select:none;user-select:none}.van-dialog__confirm,.van-dialog__cancel{flex:1;height:var(--van-dialog-button-height);margin:0;border:0;border-radius:0}.van-dialog__confirm,.van-dialog__confirm:active{color:var(--van-dialog-confirm-button-text-color)}.van-dialog--round-button .van-dialog__footer{position:relative;height:auto;padding:var(--van-padding-xs) var(--van-padding-lg) var(--van-padding-md)}.van-dialog--round-button .van-dialog__message{padding-bottom:var(--van-padding-md);color:var(--van-text-color)}.van-dialog--round-button .van-dialog__confirm,.van-dialog--round-button .van-dialog__cancel{height:var(--van-dialog-round-button-height)}.van-dialog--round-button .van-dialog__confirm{color:var(--van-white)}.van-dialog--round-button .van-action-bar-button--first{border-top-left-radius:var(--van-radius-max);border-bottom-left-radius:var(--van-radius-max)}.van-dialog--round-button .van-action-bar-button--last{border-top-right-radius:var(--van-radius-max);border-bottom-right-radius:var(--van-radius-max)}.van-dialog-bounce-enter-from{transform:translate3d(0,-50%,0) scale(.7);opacity:0}.van-dialog-bounce-leave-active{transform:translate3d(0,-50%,0) scale(.9);opacity:0}:root{--van-toast-max-width: 70%;--van-toast-font-size: var(--van-font-size-md);--van-toast-text-color: var(--van-white);--van-toast-loading-icon-color: var(--van-white);--van-toast-line-height: var(--van-line-height-md);--van-toast-radius: var(--van-radius-lg);--van-toast-background: rgba(0, 0, 0, .7);--van-toast-icon-size: 36px;--van-toast-text-min-width: 96px;--van-toast-text-padding: var(--van-padding-xs) var(--van-padding-sm);--van-toast-default-padding: var(--van-padding-md);--van-toast-default-width: 88px;--van-toast-default-min-height: 88px;--van-toast-position-top-distance: 20%;--van-toast-position-bottom-distance: 20%}.van-toast{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:content-box;transition:all var(--van-duration-fast);width:var(--van-toast-default-width);max-width:var(--van-toast-max-width);min-height:var(--van-toast-default-min-height);padding:var(--van-toast-default-padding);color:var(--van-toast-text-color);font-size:var(--van-toast-font-size);line-height:var(--van-toast-line-height);white-space:pre-wrap;word-break:break-all;text-align:center;background:var(--van-toast-background);border-radius:var(--van-toast-radius)}.van-toast--break-normal{word-break:normal;word-wrap:normal}.van-toast--break-word{word-break:normal;word-wrap:break-word}.van-toast--unclickable{overflow:hidden;cursor:not-allowed}.van-toast--unclickable *{pointer-events:none}.van-toast--text,.van-toast--html{width:-webkit-fit-content;width:fit-content;min-width:var(--van-toast-text-min-width);min-height:0;padding:var(--van-toast-text-padding)}.van-toast--text .van-toast__text,.van-toast--html .van-toast__text{margin-top:0}.van-toast--top{top:var(--van-toast-position-top-distance)}.van-toast--bottom{top:auto;bottom:var(--van-toast-position-bottom-distance)}.van-toast__icon{font-size:var(--van-toast-icon-size)}.van-toast__loading{padding:var(--van-padding-base);color:var(--van-toast-loading-icon-color)}.van-toast__text{margin-top:var(--van-padding-xs)}:root{--van-action-sheet-max-height: 80%;--van-action-sheet-header-height: 48px;--van-action-sheet-header-font-size: var(--van-font-size-lg);--van-action-sheet-description-color: var(--van-text-color-2);--van-action-sheet-description-font-size: var(--van-font-size-md);--van-action-sheet-description-line-height: var(--van-line-height-md);--van-action-sheet-item-background: var(--van-background-2);--van-action-sheet-item-font-size: var(--van-font-size-lg);--van-action-sheet-item-line-height: var(--van-line-height-lg);--van-action-sheet-item-text-color: var(--van-text-color);--van-action-sheet-item-disabled-text-color: var(--van-text-color-3);--van-action-sheet-subname-color: var(--van-text-color-2);--van-action-sheet-subname-font-size: var(--van-font-size-sm);--van-action-sheet-subname-line-height: var(--van-line-height-sm);--van-action-sheet-close-icon-size: 22px;--van-action-sheet-close-icon-color: var(--van-gray-5);--van-action-sheet-close-icon-padding: 0 var(--van-padding-md);--van-action-sheet-cancel-text-color: var(--van-gray-7);--van-action-sheet-cancel-padding-top: var(--van-padding-xs);--van-action-sheet-cancel-padding-color: var(--van-background);--van-action-sheet-loading-icon-size: 22px}.van-action-sheet{display:flex;flex-direction:column;max-height:var(--van-action-sheet-max-height);overflow:hidden;color:var(--van-action-sheet-item-text-color)}.van-action-sheet__content{flex:1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch}.van-action-sheet__item,.van-action-sheet__cancel{display:block;width:100%;padding:14px var(--van-padding-md);font-size:var(--van-action-sheet-item-font-size);background:var(--van-action-sheet-item-background);border:none;cursor:pointer}.van-action-sheet__item:active,.van-action-sheet__cancel:active{background-color:var(--van-active-color)}.van-action-sheet__item{line-height:var(--van-action-sheet-item-line-height)}.van-action-sheet__item--loading,.van-action-sheet__item--disabled{color:var(--van-action-sheet-item-disabled-text-color)}.van-action-sheet__item--loading:active,.van-action-sheet__item--disabled:active{background-color:var(--van-action-sheet-item-background)}.van-action-sheet__item--disabled{cursor:not-allowed}.van-action-sheet__item--loading{cursor:default}.van-action-sheet__cancel{flex-shrink:0;box-sizing:border-box;color:var(--van-action-sheet-cancel-text-color)}.van-action-sheet__subname{margin-top:var(--van-padding-xs);color:var(--van-action-sheet-subname-color);font-size:var(--van-action-sheet-subname-font-size);line-height:var(--van-action-sheet-subname-line-height)}.van-action-sheet__gap{display:block;height:var(--van-action-sheet-cancel-padding-top);background:var(--van-action-sheet-cancel-padding-color)}.van-action-sheet__header{flex-shrink:0;font-weight:var(--van-font-bold);font-size:var(--van-action-sheet-header-font-size);line-height:var(--van-action-sheet-header-height);text-align:center}.van-action-sheet__description{position:relative;flex-shrink:0;padding:20px var(--van-padding-md);color:var(--van-action-sheet-description-color);font-size:var(--van-action-sheet-description-font-size);line-height:var(--van-action-sheet-description-line-height);text-align:center}.van-action-sheet__description:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-border-color);transform:scaleY(.5)}.van-action-sheet__loading-icon .van-loading__spinner{width:var(--van-action-sheet-loading-icon-size);height:var(--van-action-sheet-loading-icon-size)}.van-action-sheet__close{position:absolute;top:0;right:0;z-index:1;padding:var(--van-action-sheet-close-icon-padding);color:var(--van-action-sheet-close-icon-color);font-size:var(--van-action-sheet-close-icon-size);line-height:inherit}:root{--van-sticky-z-index: 99}.van-sticky--fixed{position:fixed;z-index:var(--van-sticky-z-index)}:root{--van-swipe-indicator-size: 6px;--van-swipe-indicator-margin: var(--van-padding-sm);--van-swipe-indicator-active-opacity: 1;--van-swipe-indicator-inactive-opacity: .3;--van-swipe-indicator-active-background: var(--van-primary-color);--van-swipe-indicator-inactive-background: var(--van-border-color)}.van-swipe{position:relative;overflow:hidden;transform:translateZ(0);cursor:-webkit-grab;cursor:grab;-webkit-user-select:none;user-select:none}.van-swipe__track{display:flex;height:100%}.van-swipe__track--vertical{flex-direction:column}.van-swipe__indicators{position:absolute;bottom:var(--van-swipe-indicator-margin);left:50%;display:flex;transform:translate(-50%)}.van-swipe__indicators--vertical{top:50%;bottom:auto;left:var(--van-swipe-indicator-margin);flex-direction:column;transform:translateY(-50%)}.van-swipe__indicators--vertical .van-swipe__indicator:not(:last-child){margin-bottom:var(--van-swipe-indicator-size)}.van-swipe__indicator{width:var(--van-swipe-indicator-size);height:var(--van-swipe-indicator-size);background-color:var(--van-swipe-indicator-inactive-background);border-radius:100%;opacity:var(--van-swipe-indicator-inactive-opacity);transition:opacity var(--van-duration-fast),background-color var(--van-duration-fast)}.van-swipe__indicator:not(:last-child){margin-right:var(--van-swipe-indicator-size)}.van-swipe__indicator--active{background-color:var(--van-swipe-indicator-active-background);opacity:var(--van-swipe-indicator-active-opacity)}.van-swipe-item{position:relative;flex-shrink:0;width:100%;height:100%}:root{--van-image-preview-index-text-color: var(--van-white);--van-image-preview-index-font-size: var(--van-font-size-md);--van-image-preview-index-line-height: var(--van-line-height-md);--van-image-preview-index-text-shadow: 0 1px 1px var(--van-gray-8);--van-image-preview-overlay-background: rgba(0, 0, 0, .9);--van-image-preview-close-icon-size: 22px;--van-image-preview-close-icon-color: var(--van-gray-5);--van-image-preview-close-icon-margin: var(--van-padding-md);--van-image-preview-close-icon-z-index: 1}.van-image-preview{position:fixed;top:0;left:0;width:100%;height:100%;max-width:none;background-color:transparent;transform:none}.van-image-preview__swipe{height:100%}.van-image-preview__swipe-item{display:flex;align-items:center;justify-content:center;overflow:hidden}.van-image-preview__cover{position:absolute;top:0;left:0}.van-image-preview__image,.van-image-preview__image-wrap{width:100%;transition-property:transform}.van-image-preview__image--vertical,.van-image-preview__image-wrap--vertical{width:auto;height:100%}.van-image-preview__image img,.van-image-preview__image-wrap img,.van-image-preview__image video,.van-image-preview__image-wrap video{-webkit-user-drag:none}.van-image-preview__image .van-image__error,.van-image-preview__image-wrap .van-image__error{top:30%;height:40%}.van-image-preview__image .van-image__error-icon,.van-image-preview__image-wrap .van-image__error-icon{font-size:36px}.van-image-preview__image .van-image__loading,.van-image-preview__image-wrap .van-image__loading{background-color:transparent}.van-image-preview__index{position:absolute;top:var(--van-padding-md);left:50%;color:var(--van-image-preview-index-text-color);font-size:var(--van-image-preview-index-font-size);line-height:var(--van-image-preview-index-line-height);text-shadow:var(--van-image-preview-index-text-shadow);transform:translate(-50%)}.van-image-preview__overlay{background:var(--van-image-preview-overlay-background)}.van-image-preview__close-icon{position:absolute;z-index:var(--van-image-preview-close-icon-z-index);color:var(--van-image-preview-close-icon-color);font-size:var(--van-image-preview-close-icon-size)}.van-image-preview__close-icon--top-left{top:var(--van-image-preview-close-icon-margin);left:var(--van-image-preview-close-icon-margin)}.van-image-preview__close-icon--top-right{top:var(--van-image-preview-close-icon-margin);right:var(--van-image-preview-close-icon-margin)}.van-image-preview__close-icon--bottom-left{bottom:var(--van-image-preview-close-icon-margin);left:var(--van-image-preview-close-icon-margin)}.van-image-preview__close-icon--bottom-right{right:var(--van-image-preview-close-icon-margin);bottom:var(--van-image-preview-close-icon-margin)}:root{--van-uploader-size: 80px;--van-uploader-icon-size: 24px;--van-uploader-icon-color: var(--van-gray-4);--van-uploader-text-color: var(--van-text-color-2);--van-uploader-text-font-size: var(--van-font-size-sm);--van-uploader-upload-background: var(--van-gray-1);--van-uploader-upload-active-color: var(--van-active-color);--van-uploader-delete-color: var(--van-white);--van-uploader-delete-icon-size: 14px;--van-uploader-delete-background: rgba(0, 0, 0, .7);--van-uploader-file-background: var(--van-background);--van-uploader-file-icon-size: 20px;--van-uploader-file-icon-color: var(--van-gray-7);--van-uploader-file-name-padding: 0 var(--van-padding-base);--van-uploader-file-name-margin-top: var(--van-padding-xs);--van-uploader-file-name-font-size: var(--van-font-size-sm);--van-uploader-file-name-text-color: var(--van-gray-7);--van-uploader-mask-text-color: var(--van-white);--van-uploader-mask-background: rgba(50, 50, 51, .88);--van-uploader-mask-icon-size: 22px;--van-uploader-mask-message-font-size: var(--van-font-size-sm);--van-uploader-mask-message-line-height: var(--van-line-height-xs);--van-uploader-loading-icon-size: 22px;--van-uploader-loading-icon-color: var(--van-white);--van-uploader-disabled-opacity: var(--van-disabled-opacity)}.van-uploader{position:relative;display:inline-block}.van-uploader__wrapper{display:flex;flex-wrap:wrap}.van-uploader__wrapper--disabled{opacity:var(--van-uploader-disabled-opacity)}.van-uploader__input{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;cursor:pointer;opacity:0}.van-uploader__input-wrapper{position:relative}.van-uploader__input:disabled{cursor:not-allowed}.van-uploader__upload{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:var(--van-uploader-size);height:var(--van-uploader-size);margin:0 var(--van-padding-xs) var(--van-padding-xs) 0;background:var(--van-uploader-upload-background)}.van-uploader__upload:active{background-color:var(--van-uploader-upload-active-color)}.van-uploader__upload--readonly:active{background-color:var(--van-uploader-upload-background)}.van-uploader__upload-icon{color:var(--van-uploader-icon-color);font-size:var(--van-uploader-icon-size)}.van-uploader__upload-text{margin-top:var(--van-padding-xs);color:var(--van-uploader-text-color);font-size:var(--van-uploader-text-font-size)}.van-uploader__preview{position:relative;margin:0 var(--van-padding-xs) var(--van-padding-xs) 0;cursor:pointer}.van-uploader__preview-image{display:block;width:var(--van-uploader-size);height:var(--van-uploader-size);overflow:hidden}.van-uploader__preview-delete{position:absolute;top:0;right:0}.van-uploader__preview-delete--shadow{width:var(--van-uploader-delete-icon-size);height:var(--van-uploader-delete-icon-size);background:var(--van-uploader-delete-background);border-radius:0 0 0 12px}.van-uploader__preview-delete-icon{position:absolute;top:0;right:0;color:var(--van-uploader-delete-color);font-size:var(--van-uploader-delete-icon-size);transform:scale(.7) translate(10%,-10%)}.van-uploader__preview-cover{position:absolute;top:0;right:0;bottom:0;left:0}.van-uploader__mask{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--van-uploader-mask-text-color);background:var(--van-uploader-mask-background)}.van-uploader__mask-icon{font-size:var(--van-uploader-mask-icon-size)}.van-uploader__mask-message{margin-top:6px;padding:0 var(--van-padding-base);font-size:var(--van-uploader-mask-message-font-size);line-height:var(--van-uploader-mask-message-line-height)}.van-uploader__loading{width:var(--van-uploader-loading-icon-size);height:var(--van-uploader-loading-icon-size);color:var(--van-uploader-loading-icon-color)}.van-uploader__file{display:flex;flex-direction:column;align-items:center;justify-content:center;width:var(--van-uploader-size);height:var(--van-uploader-size);background:var(--van-uploader-file-background)}.van-uploader__file-icon{color:var(--van-uploader-file-icon-color);font-size:var(--van-uploader-file-icon-size)}.van-uploader__file-name{box-sizing:border-box;width:100%;margin-top:var(--van-uploader-file-name-margin-top);padding:var(--van-uploader-file-name-padding);color:var(--van-uploader-file-name-text-color);font-size:var(--van-uploader-file-name-font-size);text-align:center}:root{--van-tab-text-color: var(--van-gray-7);--van-tab-active-text-color: var(--van-text-color);--van-tab-disabled-text-color: var(--van-text-color-3);--van-tab-font-size: var(--van-font-size-md);--van-tab-line-height: var(--van-line-height-md);--van-tabs-default-color: var(--van-primary-color);--van-tabs-line-height: 44px;--van-tabs-card-height: 30px;--van-tabs-nav-background: var(--van-background-2);--van-tabs-bottom-bar-width: 40px;--van-tabs-bottom-bar-height: 3px;--van-tabs-bottom-bar-color: var(--van-primary-color)}.van-tab{position:relative;display:flex;flex:1;align-items:center;justify-content:center;box-sizing:border-box;padding:0 var(--van-padding-base);color:var(--van-tab-text-color);font-size:var(--van-tab-font-size);line-height:var(--van-tab-line-height);cursor:pointer}.van-tab--active{color:var(--van-tab-active-text-color);font-weight:var(--van-font-bold)}.van-tab--disabled{color:var(--van-tab-disabled-text-color);cursor:not-allowed}.van-tab--grow{flex:1 0 auto;padding:0 var(--van-padding-sm)}.van-tab--shrink{flex:none;padding:0 var(--van-padding-xs)}.van-tab--card{color:var(--van-tabs-default-color);border-right:var(--van-border-width) solid var(--van-tabs-default-color)}.van-tab--card:last-child{border-right:none}.van-tab--card.van-tab--active{color:var(--van-white);background-color:var(--van-tabs-default-color)}.van-tab--card--disabled{color:var(--van-tab-disabled-text-color)}.van-tab__text--ellipsis{display:-webkit-box;overflow:hidden;-webkit-line-clamp:1;-webkit-box-orient:vertical}.van-tabs{position:relative}.van-tabs__wrap{overflow:hidden}.van-tabs__wrap--page-top{position:fixed}.van-tabs__wrap--content-bottom{top:auto;bottom:0}.van-tabs__nav{position:relative;display:flex;background:var(--van-tabs-nav-background);-webkit-user-select:none;user-select:none}.van-tabs__nav--complete{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.van-tabs__nav--complete::-webkit-scrollbar{display:none}.van-tabs__nav--line{box-sizing:content-box;height:100%;padding-bottom:15px}.van-tabs__nav--line.van-tabs__nav--shrink,.van-tabs__nav--line.van-tabs__nav--complete{padding-right:var(--van-padding-xs);padding-left:var(--van-padding-xs)}.van-tabs__nav--card{box-sizing:border-box;height:var(--van-tabs-card-height);margin:0 var(--van-padding-md);border:var(--van-border-width) solid var(--van-tabs-default-color);border-radius:var(--van-border-radius-sm)}.van-tabs__nav--card.van-tabs__nav--shrink{display:inline-flex}.van-tabs__line{position:absolute;bottom:15px;left:0;z-index:1;width:var(--van-tabs-bottom-bar-width);height:var(--van-tabs-bottom-bar-height);background:var(--van-tabs-bottom-bar-color);border-radius:var(--van-tabs-bottom-bar-height)}.van-tabs__track{position:relative;display:flex;width:100%;height:100%;will-change:left}.van-tabs__content--animated{overflow:hidden}.van-tabs--line .van-tabs__wrap{height:var(--van-tabs-line-height)}.van-tabs--card>.van-tabs__wrap{height:var(--van-tabs-card-height)}.van-tab__panel,.van-tab__panel-wrapper{flex-shrink:0;box-sizing:border-box;width:100%}.van-tab__panel-wrapper--inactive{height:0;overflow:visible}:root{--van-cascader-header-height: 48px;--van-cascader-header-padding: 0 var(--van-padding-md);--van-cascader-title-font-size: var(--van-font-size-lg);--van-cascader-title-line-height: 20px;--van-cascader-close-icon-size: 22px;--van-cascader-close-icon-color: var(--van-gray-5);--van-cascader-selected-icon-size: 18px;--van-cascader-tabs-height: 48px;--van-cascader-active-color: var(--van-primary-color);--van-cascader-options-height: 384px;--van-cascader-option-disabled-color: var(--van-text-color-3);--van-cascader-tab-color: var(--van-text-color);--van-cascader-unselected-tab-color: var(--van-text-color-2)}.van-cascader__header{display:flex;align-items:center;justify-content:space-between;height:var(--van-cascader-header-height);padding:var(--van-cascader-header-padding)}.van-cascader__title{font-weight:var(--van-font-bold);font-size:var(--van-cascader-title-font-size);line-height:var(--van-cascader-title-line-height)}.van-cascader__close-icon{color:var(--van-cascader-close-icon-color);font-size:var(--van-cascader-close-icon-size)}.van-cascader__tabs.van-tabs--line .van-tabs__wrap{height:var(--van-cascader-tabs-height)}.van-cascader__tab{color:var(--van-cascader-tab-color);font-weight:var(--van-font-bold)}.van-cascader__tab--unselected{color:var(--van-cascader-unselected-tab-color);font-weight:400}.van-cascader__option{display:flex;align-items:center;justify-content:space-between;padding:10px var(--van-padding-md);font-size:var(--van-font-size-md);line-height:var(--van-line-height-md);cursor:pointer}.van-cascader__option:active{background-color:var(--van-active-color)}.van-cascader__option--selected{color:var(--van-cascader-active-color);font-weight:var(--van-font-bold)}.van-cascader__option--disabled{color:var(--van-cascader-option-disabled-color);cursor:not-allowed}.van-cascader__option--disabled:active{background-color:transparent}.van-cascader__selected-icon{font-size:var(--van-cascader-selected-icon-size)}.van-cascader__options{box-sizing:border-box;height:var(--van-cascader-options-height);padding-top:6px;overflow-y:auto;-webkit-overflow-scrolling:touch}:root{--van-picker-background: var(--van-background-2);--van-picker-toolbar-height: 44px;--van-picker-title-font-size: var(--van-font-size-lg);--van-picker-title-line-height: var(--van-line-height-md);--van-picker-action-padding: 0 var(--van-padding-md);--van-picker-action-font-size: var(--van-font-size-md);--van-picker-confirm-action-color: var(--van-primary-color);--van-picker-cancel-action-color: var(--van-text-color-2);--van-picker-option-font-size: var(--van-font-size-lg);--van-picker-option-padding: 0 var(--van-padding-base);--van-picker-option-text-color: var(--van-text-color);--van-picker-option-disabled-opacity: .3;--van-picker-loading-icon-color: var(--van-primary-color);--van-picker-loading-mask-color: rgba(255, 255, 255, .9);--van-picker-mask-color: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4)), linear-gradient(0deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4))}.van-theme-dark{--van-picker-loading-mask-color: rgba(0, 0, 0, .6);--van-picker-mask-color: linear-gradient(180deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1)), linear-gradient(0deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1))}.van-picker{position:relative;background:var(--van-picker-background);-webkit-user-select:none;user-select:none}.van-picker__toolbar{position:relative;display:flex;align-items:center;justify-content:space-between;height:var(--van-picker-toolbar-height)}.van-picker__cancel,.van-picker__confirm{height:100%;padding:var(--van-picker-action-padding);font-size:var(--van-picker-action-font-size);background-color:transparent;border:none}.van-picker__confirm{color:var(--van-picker-confirm-action-color)}.van-picker__cancel{color:var(--van-picker-cancel-action-color)}.van-picker__title{position:absolute;left:50%;color:var(--van-text-color);max-width:50%;font-weight:var(--van-font-bold);font-size:var(--van-picker-title-font-size);line-height:var(--van-picker-title-line-height);text-align:center;transform:translate(-50%)}.van-picker__columns{position:relative;display:flex;cursor:-webkit-grab;cursor:grab}.van-picker__loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:flex;align-items:center;justify-content:center;color:var(--van-picker-loading-icon-color);background:var(--van-picker-loading-mask-color)}.van-picker__frame{position:absolute;top:50%;right:var(--van-padding-md);left:var(--van-padding-md);z-index:2;transform:translateY(-50%);pointer-events:none}.van-picker__mask{position:absolute;top:0;left:0;z-index:1;width:100%;height:100%;background-image:var(--van-picker-mask-color);background-repeat:no-repeat;background-position:top,bottom;transform:translateZ(0);pointer-events:none}.van-picker-column{flex:1;overflow:hidden;font-size:var(--van-picker-option-font-size)}.van-picker-column__wrapper{transition-timing-function:cubic-bezier(.23,1,.68,1)}.van-picker-column__item{display:flex;align-items:center;justify-content:center;padding:var(--van-picker-option-padding);color:var(--van-picker-option-text-color)}.van-picker-column__item--disabled{cursor:not-allowed;opacity:var(--van-picker-option-disabled-opacity)}:root{--van-picker-group-background: var(--van-background-2)}.van-picker-group{background:var(--van-picker-group-background)}.van-picker-group__tabs{margin-top:var(--van-padding-base)}.van-picker-group__tab-title{margin-right:16px}:root{--van-calendar-background: var(--van-background-2);--van-calendar-popup-height: 80%;--van-calendar-header-shadow: 0 2px 10px rgba(125, 126, 128, .16);--van-calendar-header-title-height: 44px;--van-calendar-header-title-font-size: var(--van-font-size-lg);--van-calendar-header-subtitle-font-size: var(--van-font-size-md);--van-calendar-weekdays-height: 30px;--van-calendar-weekdays-font-size: var(--van-font-size-sm);--van-calendar-month-title-font-size: var(--van-font-size-md);--van-calendar-month-mark-color: rgba(242, 243, 245, .8);--van-calendar-month-mark-font-size: 160px;--van-calendar-day-height: 64px;--van-calendar-day-font-size: var(--van-font-size-lg);--van-calendar-day-margin-bottom: 4px;--van-calendar-range-edge-color: var(--van-white);--van-calendar-range-edge-background: var(--van-primary-color);--van-calendar-range-middle-color: var(--van-primary-color);--van-calendar-range-middle-background-opacity: .1;--van-calendar-selected-day-size: 54px;--van-calendar-selected-day-color: var(--van-white);--van-calendar-info-font-size: var(--van-font-size-xs);--van-calendar-info-line-height: var(--van-line-height-xs);--van-calendar-selected-day-background: var(--van-primary-color);--van-calendar-day-disabled-color: var(--van-text-color-3);--van-calendar-confirm-button-height: 36px;--van-calendar-confirm-button-margin: 7px 0}.van-theme-dark{--van-calendar-month-mark-color: rgba(100, 101, 102, .2);--van-calendar-day-disabled-color: var(--van-gray-7)}.van-calendar{display:flex;flex-direction:column;height:100%;background:var(--van-calendar-background)}.van-calendar__popup.van-popup--top,.van-calendar__popup.van-popup--bottom{height:var(--van-calendar-popup-height)}.van-calendar__popup.van-popup--left,.van-calendar__popup.van-popup--right{height:100%}.van-calendar__popup .van-popup__close-icon{top:11px}.van-calendar__header{flex-shrink:0;box-shadow:var(--van-calendar-header-shadow)}.van-calendar__month-title,.van-calendar__header-title,.van-calendar__header-subtitle{color:var(--van-text-color);height:var(--van-calendar-header-title-height);font-weight:var(--van-font-bold);line-height:var(--van-calendar-header-title-height);text-align:center}.van-calendar__header-title{font-size:var(--van-calendar-header-title-font-size)}.van-calendar__header-subtitle{font-size:var(--van-calendar-header-subtitle-font-size)}.van-calendar__month-title{font-size:var(--van-calendar-month-title-font-size)}.van-calendar__weekdays{display:flex}.van-calendar__weekday{flex:1;font-size:var(--van-calendar-weekdays-font-size);line-height:var(--van-calendar-weekdays-height);text-align:center}.van-calendar__body{flex:1;overflow:auto;-webkit-overflow-scrolling:touch}.van-calendar__days{position:relative;display:flex;flex-wrap:wrap;-webkit-user-select:none;user-select:none}.van-calendar__month-mark{position:absolute;top:50%;left:50%;z-index:0;color:var(--van-calendar-month-mark-color);font-size:var(--van-calendar-month-mark-font-size);transform:translate(-50%,-50%);pointer-events:none}.van-calendar__day,.van-calendar__selected-day{display:flex;align-items:center;justify-content:center;text-align:center}.van-calendar__day{position:relative;width:14.285%;height:var(--van-calendar-day-height);font-size:var(--van-calendar-day-font-size);margin-bottom:var(--van-calendar-day-margin-bottom);cursor:pointer}.van-calendar__day--end,.van-calendar__day--start,.van-calendar__day--start-end,.van-calendar__day--multiple-middle,.van-calendar__day--multiple-selected{color:var(--van-calendar-range-edge-color);background:var(--van-calendar-range-edge-background)}.van-calendar__day--start{border-radius:var(--van-radius-md) 0 0 var(--van-radius-md)}.van-calendar__day--end{border-radius:0 var(--van-radius-md) var(--van-radius-md) 0}.van-calendar__day--start-end,.van-calendar__day--multiple-selected{border-radius:var(--van-radius-md)}.van-calendar__day--middle{color:var(--van-calendar-range-middle-color)}.van-calendar__day--middle:after{position:absolute;top:0;right:0;bottom:0;left:0;background-color:currentColor;opacity:var(--van-calendar-range-middle-background-opacity);content:""}.van-calendar__day--disabled{color:var(--van-calendar-day-disabled-color);cursor:default}.van-calendar__top-info,.van-calendar__bottom-info{position:absolute;right:0;left:0;font-size:var(--van-calendar-info-font-size);line-height:var(--van-calendar-info-line-height)}@media (max-width: 350px){.van-calendar__top-info,.van-calendar__bottom-info{font-size:9px}}.van-calendar__top-info{top:6px}.van-calendar__bottom-info{bottom:6px}.van-calendar__selected-day{width:var(--van-calendar-selected-day-size);height:var(--van-calendar-selected-day-size);color:var(--van-calendar-selected-day-color);background:var(--van-calendar-selected-day-background);border-radius:var(--van-radius-md)}.van-calendar__footer{flex-shrink:0;padding-left:var(--van-padding-md);padding-right:var(--van-padding-md)}.van-calendar__confirm{height:var(--van-calendar-confirm-button-height);margin:var(--van-calendar-confirm-button-margin)}:root{--van-address-edit-padding: var(--van-padding-sm);--van-address-edit-buttons-padding: var(--van-padding-xl) var(--van-padding-base);--van-address-edit-button-margin-bottom: var(--van-padding-sm);--van-address-edit-button-font-size: var(--van-font-size-lg)}.van-address-edit{padding:var(--van-address-edit-padding)}.van-address-edit__fields{overflow:hidden;border-radius:var(--van-padding-xs)}.van-address-edit__fields .van-field__label{width:4.1em}.van-address-edit__default{margin-top:var(--van-padding-sm);overflow:hidden;border-radius:var(--van-padding-xs)}.van-address-edit__buttons{padding:var(--van-address-edit-buttons-padding)}.van-address-edit__button{margin-bottom:var(--van-address-edit-button-margin-bottom);font-size:var(--van-address-edit-button-font-size)}.van-address-edit-detail__search-item{background:var(--van-gray-2)}.van-radio-group--horizontal,.van-checkbox-group--horizontal{display:flex;flex-wrap:wrap}:root{--van-checkbox-size: 20px;--van-checkbox-border-color: var(--van-gray-5);--van-checkbox-duration: var(--van-duration-fast);--van-checkbox-label-margin: var(--van-padding-xs);--van-checkbox-label-color: var(--van-text-color);--van-checkbox-checked-icon-color: var(--van-primary-color);--van-checkbox-disabled-icon-color: var(--van-gray-5);--van-checkbox-disabled-label-color: var(--van-text-color-3);--van-checkbox-disabled-background: var(--van-border-color)}.van-checkbox{display:flex;align-items:center;overflow:hidden;cursor:pointer;-webkit-user-select:none;user-select:none}.van-checkbox--disabled{cursor:not-allowed}.van-checkbox--label-disabled{cursor:default}.van-checkbox--horizontal{margin-right:var(--van-padding-sm)}.van-checkbox__icon{flex:none;height:1em;font-size:var(--van-checkbox-size);line-height:1em;cursor:pointer}.van-checkbox__icon .van-icon{display:block;box-sizing:border-box;width:1.25em;height:1.25em;color:transparent;font-size:.8em;line-height:1.25;text-align:center;border:1px solid var(--van-checkbox-border-color);transition-duration:var(--van-checkbox-duration);transition-property:color,border-color,background-color}.van-checkbox__icon--round .van-icon{border-radius:100%}.van-checkbox__icon--checked .van-icon{color:var(--van-white);background-color:var(--van-checkbox-checked-icon-color);border-color:var(--van-checkbox-checked-icon-color)}.van-checkbox__icon--disabled{cursor:not-allowed}.van-checkbox__icon--disabled .van-icon{background-color:var(--van-checkbox-disabled-background);border-color:var(--van-checkbox-disabled-icon-color)}.van-checkbox__icon--disabled.van-checkbox__icon--checked .van-icon{color:var(--van-checkbox-disabled-icon-color)}.van-checkbox__label{margin-left:var(--van-checkbox-label-margin);color:var(--van-checkbox-label-color);line-height:var(--van-checkbox-size)}.van-checkbox__label--left{margin:0 var(--van-checkbox-label-margin) 0 0}.van-checkbox__label--disabled{color:var(--van-checkbox-disabled-label-color)}:root{--van-coupon-margin: 0 var(--van-padding-sm) var(--van-padding-sm);--van-coupon-content-height: 84px;--van-coupon-content-padding: 14px 0;--van-coupon-content-text-color: var(--van-text-color);--van-coupon-background: var(--van-background-2);--van-coupon-active-background: var(--van-active-color);--van-coupon-radius: var(--van-radius-lg);--van-coupon-shadow: 0 0 4px rgba(0, 0, 0, .1);--van-coupon-head-width: 96px;--van-coupon-amount-color: var(--van-primary-color);--van-coupon-amount-font-size: 30px;--van-coupon-currency-font-size: 40%;--van-coupon-name-font-size: var(--van-font-size-md);--van-coupon-disabled-text-color: var(--van-text-color-2);--van-coupon-description-padding: var(--van-padding-xs) var(--van-padding-md);--van-coupon-description-border-color: var(--van-border-color);--van-coupon-checkbox-color: var(--van-primary-color)}.van-coupon{margin:var(--van-coupon-margin);overflow:hidden;background:var(--van-coupon-background);border-radius:var(--van-coupon-radius);box-shadow:var(--van-coupon-shadow)}.van-coupon:active{background-color:var(--van-coupon-active-background)}.van-coupon__content{display:flex;align-items:center;box-sizing:border-box;min-height:var(--van-coupon-content-height);padding:var(--van-coupon-content-padding);color:var(--van-coupon-content-text-color)}.van-coupon__head{position:relative;min-width:var(--van-coupon-head-width);padding:0 var(--van-padding-xs);color:var(--van-coupon-amount-color);text-align:center}.van-coupon__amount,.van-coupon__condition,.van-coupon__name,.van-coupon__valid{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-coupon__amount{margin-bottom:6px;font-weight:var(--van-font-bold);font-size:var(--van-coupon-amount-font-size);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-coupon__amount span{font-size:var(--van-coupon-currency-font-size)}.van-coupon__amount span:not(:empty){margin-left:2px}.van-coupon__condition{font-size:var(--van-font-size-sm);line-height:16px;white-space:pre-wrap}.van-coupon__body{position:relative;flex:1}.van-coupon__name{margin-bottom:10px;font-weight:var(--van-font-bold);font-size:var(--van-coupon-name-font-size);line-height:var(--van-line-height-md)}.van-coupon__valid{font-size:var(--van-font-size-sm)}.van-coupon__corner{position:absolute;top:0;right:var(--van-padding-md);bottom:0}.van-coupon__corner .van-checkbox__icon--checked .van-icon{background-color:var(--van-coupon-checkbox-color);border-color:var(--van-coupon-checkbox-color)}.van-coupon__description{padding:var(--van-coupon-description-padding);font-size:var(--van-font-size-sm);border-top:1px dashed var(--van-coupon-description-border-color)}.van-coupon--disabled:active{background-color:var(--van-coupon-background)}.van-coupon--disabled .van-coupon-item__content{height:calc(var(--van-coupon-content-height) - 10px)}.van-coupon--disabled .van-coupon__head{color:inherit}:root{--van-radio-size: 20px;--van-radio-dot-size: 8px;--van-radio-border-color: var(--van-gray-5);--van-radio-duration: var(--van-duration-fast);--van-radio-label-margin: var(--van-padding-xs);--van-radio-label-color: var(--van-text-color);--van-radio-checked-icon-color: var(--van-primary-color);--van-radio-disabled-icon-color: var(--van-gray-5);--van-radio-disabled-label-color: var(--van-text-color-3);--van-radio-disabled-background: var(--van-border-color)}.van-radio{display:flex;align-items:center;overflow:hidden;cursor:pointer;-webkit-user-select:none;user-select:none}.van-radio--disabled{cursor:not-allowed}.van-radio--label-disabled{cursor:default}.van-radio--horizontal{margin-right:var(--van-padding-sm)}.van-radio__icon{flex:none;height:1em;font-size:var(--van-radio-size);line-height:1em;cursor:pointer}.van-radio__icon .van-icon{display:block;box-sizing:border-box;width:1.25em;height:1.25em;color:transparent;font-size:.8em;line-height:1.25;text-align:center;border:1px solid var(--van-radio-border-color);transition-duration:var(--van-radio-duration);transition-property:color,border-color,background-color}.van-radio__icon--round .van-icon{border-radius:100%}.van-radio__icon--dot{position:relative;border-radius:100%;box-sizing:border-box;width:var(--van-radio-size);height:var(--van-radio-size);border:1px solid var(--van-radio-border-color);transition-duration:var(--van-radio-duration);transition-property:border-color}.van-radio__icon--dot__icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:100%;height:calc(100% - var(--van-radio-dot-size));width:calc(100% - var(--van-radio-dot-size));transition-duration:var(--van-radio-duration);transition-property:background-color}.van-radio__icon--checked .van-icon{color:var(--van-white);background-color:var(--van-radio-checked-icon-color);border-color:var(--van-radio-checked-icon-color)}.van-radio__icon--checked.van-radio__icon--dot{border-color:var(--van-radio-checked-icon-color)}.van-radio__icon--checked.van-radio__icon--dot .van-radio__icon--dot__icon{background:var(--van-radio-checked-icon-color)}.van-radio__icon--disabled{cursor:not-allowed}.van-radio__icon--disabled .van-icon{background-color:var(--van-radio-disabled-background);border-color:var(--van-radio-disabled-icon-color)}.van-radio__icon--disabled.van-radio__icon--checked .van-icon{color:var(--van-radio-disabled-icon-color)}.van-radio__label{margin-left:var(--van-radio-label-margin);color:var(--van-radio-label-color);line-height:var(--van-radio-size)}.van-radio__label--left{margin:0 var(--van-radio-label-margin) 0 0}.van-radio__label--disabled{color:var(--van-radio-disabled-label-color)}:root{--van-contact-list-padding: var(--van-padding-sm) var(--van-padding-sm) 80px;--van-contact-list-edit-icon-size: 16px;--van-contact-list-add-button-z-index: 999;--van-contact-list-radio-color: var(--van-primary-color);--van-contact-list-item-padding: var(--van-padding-md)}.van-contact-list{box-sizing:border-box;height:100%;padding:var(--van-contact-list-padding)}.van-contact-list__item{padding:var(--van-contact-list-item-padding)}.van-contact-list__item-title{display:flex;align-items:center;padding-right:var(--van-padding-xl);padding-left:var(--van-padding-xs)}.van-contact-list__item-tag{flex:none;margin-left:var(--van-padding-xs);padding-top:0;padding-bottom:0;line-height:1.4em}.van-contact-list__group{box-sizing:border-box;height:100%;overflow-y:scroll;-webkit-overflow-scrolling:touch;border-radius:var(--van-radius-lg)}.van-contact-list__edit{font-size:var(--van-contact-list-edit-icon-size)}.van-contact-list__radio .van-radio__icon--checked .van-icon{background-color:var(--van-contact-list-radio-color);border-color:var(--van-contact-list-radio-color)}.van-contact-list__bottom{position:fixed;right:0;bottom:0;left:0;z-index:var(--van-contact-list-add-button-z-index);padding-left:var(--van-padding-md);padding-right:var(--van-padding-md);background-color:var(--van-background-2)}.van-contact-list__add{height:40px;margin:5px 0}:root{--van-address-list-padding: var(--van-padding-sm) var(--van-padding-sm) 80px;--van-address-list-disabled-text-color: var(--van-text-color-2);--van-address-list-disabled-text-padding: calc(var(--van-padding-base) * 5) 0;--van-address-list-disabled-text-font-size: var(--van-font-size-md);--van-address-list-disabled-text-line-height: var(--van-line-height-md);--van-address-list-add-button-z-index: 999;--van-address-list-item-padding: var(--van-padding-sm);--van-address-list-item-text-color: var(--van-text-color);--van-address-list-item-disabled-text-color: var(--van-text-color-3);--van-address-list-item-font-size: 13px;--van-address-list-item-line-height: var(--van-line-height-sm);--van-address-list-radio-color: var(--van-primary-color);--van-address-list-edit-icon-size: 20px}.van-address-list{box-sizing:border-box;height:100%;padding:var(--van-address-list-padding)}.van-address-list__bottom{position:fixed;bottom:0;left:0;z-index:var(--van-address-list-add-button-z-index);box-sizing:border-box;width:100%;padding-left:var(--van-padding-md);padding-right:var(--van-padding-md);background-color:var(--van-background-2)}.van-address-list__add{height:40px;margin:5px 0}.van-address-list__disabled-text{padding:var(--van-address-list-disabled-text-padding);color:var(--van-address-list-disabled-text-color);font-size:var(--van-address-list-disabled-text-font-size);line-height:var(--van-address-list-disabled-text-line-height)}.van-address-item{padding:var(--van-address-list-item-padding);background-color:var(--van-background-2);border-radius:var(--van-radius-lg)}.van-address-item:not(:last-child){margin-bottom:var(--van-padding-sm)}.van-address-item__title{padding-right:44px}.van-address-item__name{display:flex;align-items:center;margin-bottom:var(--van-padding-xs);font-size:var(--van-font-size-lg);line-height:var(--van-line-height-lg)}.van-address-item__tag{flex:none;margin-left:var(--van-padding-xs);padding-top:0;padding-bottom:0;line-height:1.4em}.van-address-item__address{color:var(--van-address-list-item-text-color);font-size:var(--van-address-list-item-font-size);line-height:var(--van-address-list-item-line-height)}.van-address-item--disabled .van-address-item__name,.van-address-item--disabled .van-address-item__address{color:var(--van-address-list-item-disabled-text-color)}.van-address-item__edit{position:absolute;top:50%;right:var(--van-padding-md);color:var(--van-gray-6);font-size:var(--van-address-list-edit-icon-size);transform:translateY(-50%)}.van-address-item .van-cell{padding:0}.van-address-item .van-radio__label{margin-left:var(--van-padding-sm)}.van-address-item .van-radio__icon--checked .van-icon{background-color:var(--van-address-list-radio-color);border-color:var(--van-address-list-radio-color)}:root{--van-barrage-font-size: 16px;--van-barrage-space: 10px;--van-barrage-font: inherit;--van-barrage-color: var(--van-white)}.van-barrage{position:relative;overflow:hidden}.van-barrage__item{position:absolute;top:0;right:0;z-index:99;padding-bottom:var(--van-barrage-space);opacity:.75;line-height:1;font-size:var(--van-barrage-font-size);font-family:var(--van-barrage-font);font-weight:700;white-space:nowrap;color:var(--van-barrage-color);text-shadow:1px 0 1px #000000,0 1px 1px #000000,0 -1px 1px #000000,-1px 0 1px #000000;-webkit-user-select:none;user-select:none;will-change:transform;transform:translate(110%)}@keyframes van-barrage{0%{transform:translate(110%)}to{transform:translate(var(--move-distance))}}:root{--van-cell-group-background: var(--van-background-2);--van-cell-group-title-color: var(--van-text-color-2);--van-cell-group-title-padding: var(--van-padding-md) var(--van-padding-md);--van-cell-group-title-font-size: var(--van-font-size-md);--van-cell-group-title-line-height: 16px;--van-cell-group-inset-padding: 0 var(--van-padding-md);--van-cell-group-inset-radius: var(--van-radius-lg);--van-cell-group-inset-title-padding: var(--van-padding-md) var(--van-padding-md)}.van-cell-group{background:var(--van-cell-group-background)}.van-cell-group--inset{margin:var(--van-cell-group-inset-padding);border-radius:var(--van-cell-group-inset-radius);overflow:hidden}.van-cell-group__title{padding:var(--van-cell-group-title-padding);color:var(--van-cell-group-title-color);font-size:var(--van-cell-group-title-font-size);line-height:var(--van-cell-group-title-line-height)}.van-cell-group__title--inset{padding:var(--van-cell-group-inset-title-padding)}:root{--van-circle-size: 100px;--van-circle-color: var(--van-primary-color);--van-circle-layer-color: var(--van-white);--van-circle-text-color: var(--van-text-color);--van-circle-text-font-weight: var(--van-font-bold);--van-circle-text-font-size: var(--van-font-size-md);--van-circle-text-line-height: var(--van-line-height-md)}.van-circle{position:relative;display:inline-block;width:var(--van-circle-size);height:var(--van-circle-size);text-align:center}.van-circle svg{position:absolute;top:0;left:0;width:100%;height:100%}.van-circle__layer{stroke:var(--van-circle-layer-color)}.van-circle__hover{fill:none;stroke:var(--van-circle-color);stroke-linecap:round}.van-circle__text{position:absolute;top:50%;left:0;box-sizing:border-box;width:100%;padding:0 var(--van-padding-base);color:var(--van-circle-text-color);font-weight:var(--van-circle-text-font-weight);font-size:var(--van-circle-text-font-size);line-height:var(--van-circle-text-line-height);transform:translateY(-50%)}.van-row{display:flex;flex-wrap:wrap}.van-row--nowrap{flex-wrap:nowrap}.van-row--justify-center{justify-content:center}.van-row--justify-end{justify-content:flex-end}.van-row--justify-space-between{justify-content:space-between}.van-row--justify-space-around{justify-content:space-around}.van-row--align-center{align-items:center}.van-row--align-bottom{align-items:flex-end}.van-col{display:block;box-sizing:border-box;min-height:1px}.van-col--1{flex:0 0 4.16666667%;max-width:4.16666667%}.van-col--offset-1{margin-left:4.16666667%}.van-col--2{flex:0 0 8.33333333%;max-width:8.33333333%}.van-col--offset-2{margin-left:8.33333333%}.van-col--3{flex:0 0 12.5%;max-width:12.5%}.van-col--offset-3{margin-left:12.5%}.van-col--4{flex:0 0 16.66666667%;max-width:16.66666667%}.van-col--offset-4{margin-left:16.66666667%}.van-col--5{flex:0 0 20.83333333%;max-width:20.83333333%}.van-col--offset-5{margin-left:20.83333333%}.van-col--6{flex:0 0 25%;max-width:25%}.van-col--offset-6{margin-left:25%}.van-col--7{flex:0 0 29.16666667%;max-width:29.16666667%}.van-col--offset-7{margin-left:29.16666667%}.van-col--8{flex:0 0 33.33333333%;max-width:33.33333333%}.van-col--offset-8{margin-left:33.33333333%}.van-col--9{flex:0 0 37.5%;max-width:37.5%}.van-col--offset-9{margin-left:37.5%}.van-col--10{flex:0 0 41.66666667%;max-width:41.66666667%}.van-col--offset-10{margin-left:41.66666667%}.van-col--11{flex:0 0 45.83333333%;max-width:45.83333333%}.van-col--offset-11{margin-left:45.83333333%}.van-col--12{flex:0 0 50%;max-width:50%}.van-col--offset-12{margin-left:50%}.van-col--13{flex:0 0 54.16666667%;max-width:54.16666667%}.van-col--offset-13{margin-left:54.16666667%}.van-col--14{flex:0 0 58.33333333%;max-width:58.33333333%}.van-col--offset-14{margin-left:58.33333333%}.van-col--15{flex:0 0 62.5%;max-width:62.5%}.van-col--offset-15{margin-left:62.5%}.van-col--16{flex:0 0 66.66666667%;max-width:66.66666667%}.van-col--offset-16{margin-left:66.66666667%}.van-col--17{flex:0 0 70.83333333%;max-width:70.83333333%}.van-col--offset-17{margin-left:70.83333333%}.van-col--18{flex:0 0 75%;max-width:75%}.van-col--offset-18{margin-left:75%}.van-col--19{flex:0 0 79.16666667%;max-width:79.16666667%}.van-col--offset-19{margin-left:79.16666667%}.van-col--20{flex:0 0 83.33333333%;max-width:83.33333333%}.van-col--offset-20{margin-left:83.33333333%}.van-col--21{flex:0 0 87.5%;max-width:87.5%}.van-col--offset-21{margin-left:87.5%}.van-col--22{flex:0 0 91.66666667%;max-width:91.66666667%}.van-col--offset-22{margin-left:91.66666667%}.van-col--23{flex:0 0 95.83333333%;max-width:95.83333333%}.van-col--offset-23{margin-left:95.83333333%}.van-col--24{flex:0 0 100%;max-width:100%}.van-col--offset-24{margin-left:100%}:root{--van-count-down-text-color: var(--van-text-color);--van-count-down-font-size: var(--van-font-size-md);--van-count-down-line-height: var(--van-line-height-md)}.van-count-down{color:var(--van-count-down-text-color);font-size:var(--van-count-down-font-size);line-height:var(--van-count-down-line-height)}:root{--van-empty-padding: var(--van-padding-xl) 0;--van-empty-image-size: 160px;--van-empty-description-margin-top: var(--van-padding-md);--van-empty-description-padding: 0 60px;--van-empty-description-color: var(--van-text-color-2);--van-empty-description-font-size: var(--van-font-size-md);--van-empty-description-line-height: var(--van-line-height-md);--van-empty-bottom-margin-top: 24px}.van-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;padding:var(--van-empty-padding)}.van-empty__image{width:var(--van-empty-image-size);height:var(--van-empty-image-size)}.van-empty__image img{width:100%;height:100%}.van-empty__description{margin-top:var(--van-empty-description-margin-top);padding:var(--van-empty-description-padding);color:var(--van-empty-description-color);font-size:var(--van-empty-description-font-size);line-height:var(--van-empty-description-line-height)}.van-empty__bottom{margin-top:var(--van-empty-bottom-margin-top)}.van-theme-dark .van-empty{opacity:.5}:root{--van-coupon-list-background: var(--van-background);--van-coupon-list-field-padding: 5px 0 5px var(--van-padding-md);--van-coupon-list-exchange-button-height: 32px;--van-coupon-list-close-button-height: 40px;--van-coupon-list-empty-tip-color: var(--van-text-color-2);--van-coupon-list-empty-tip-font-size: var(--van-font-size-md);--van-coupon-list-empty-tip-line-height: var(--van-line-height-md)}.van-coupon-list{position:relative;height:100%;background:var(--van-coupon-list-background)}.van-coupon-list__field{padding:var(--van-coupon-list-field-padding)}.van-coupon-list__field .van-field__body{height:34px;padding-left:var(--van-padding-sm);line-height:34px;background:var(--van-background);border-radius:var(--van-radius-max)}.van-coupon-list__field .van-field__body::-webkit-input-placeholder{color:var(--van-text-color-3)}.van-coupon-list__field .van-field__body::placeholder{color:var(--van-text-color-3)}.van-coupon-list__field .van-field__clear{margin-right:0}.van-coupon-list__exchange-bar{display:flex;align-items:center;background-color:var(--van-background-2)}.van-coupon-list__exchange{flex:none;height:var(--van-coupon-list-exchange-button-height);font-size:var(--van-font-size-lg);line-height:calc(var(--van-coupon-list-exchange-button-height) - 2px);border:0}.van-coupon-list .van-tabs__wrap{box-shadow:0 6px 12px -12px var(--van-gray-6)}.van-coupon-list__list{box-sizing:border-box;padding:var(--van-padding-md) 0 var(--van-padding-lg);overflow-y:auto;-webkit-overflow-scrolling:touch}.van-coupon-list__list--with-bottom{padding-bottom:50px}.van-coupon-list__bottom{position:absolute;bottom:0;left:0;z-index:999;box-sizing:border-box;width:100%;padding:5px var(--van-padding-md);font-weight:var(--van-font-bold);background-color:var(--van-background-2)}.van-coupon-list__close{height:var(--van-coupon-list-close-button-height)}.van-coupon-list__empty-tip{color:var(--van-coupon-list-empty-tip-color);font-size:var(--van-coupon-list-empty-tip-font-size);line-height:var(--van-coupon-list-empty-tip-line-height)}:root{--van-divider-margin: var(--van-padding-md) 0;--van-divider-vertical-margin: 0 var(--van-padding-xs);--van-divider-text-color: var(--van-text-color-2);--van-divider-font-size: var(--van-font-size-md);--van-divider-line-height: 24px;--van-divider-border-color: var(--van-border-color);--van-divider-content-padding: var(--van-padding-md);--van-divider-content-left-width: 10%;--van-divider-content-right-width: 10%}.van-divider{display:flex;align-items:center;margin:var(--van-divider-margin);color:var(--van-divider-text-color);font-size:var(--van-divider-font-size);line-height:var(--van-divider-line-height);border-color:var(--van-divider-border-color);border-style:solid;border-width:0}.van-divider:before,.van-divider:after{display:block;flex:1;box-sizing:border-box;height:1px;border-color:inherit;border-style:inherit;border-width:var(--van-border-width) 0 0}.van-divider:before{content:""}.van-divider--hairline:before,.van-divider--hairline:after{transform:scaleY(.5)}.van-divider--dashed{border-style:dashed}.van-divider--content-center:before,.van-divider--content-left:before,.van-divider--content-right:before{margin-right:var(--van-divider-content-padding)}.van-divider--content-center:after,.van-divider--content-left:after,.van-divider--content-right:after{margin-left:var(--van-divider-content-padding);content:""}.van-divider--content-left:before{max-width:var(--van-divider-content-left-width)}.van-divider--content-right:after{max-width:var(--van-divider-content-right-width)}.van-divider--vertical{display:inline-block;width:var(--van-border-width);height:1em;margin:var(--van-divider-vertical-margin);vertical-align:middle}.van-divider--vertical:before{height:100%;border-width:0 0 0 var(--van-border-width)}.van-divider--vertical:after{display:none}.van-divider--vertical.van-divider--hairline:before{transform:scaleX(.5)}:root{--van-dropdown-menu-height: 48px;--van-dropdown-menu-background: var(--van-background-2);--van-dropdown-menu-shadow: 0 2px 12px rgba(100, 101, 102, .12);--van-dropdown-menu-title-font-size: 15px;--van-dropdown-menu-title-text-color: var(--van-text-color);--van-dropdown-menu-title-active-text-color: var(--van-primary-color);--van-dropdown-menu-title-disabled-text-color: var(--van-text-color-2);--van-dropdown-menu-title-padding: 0 var(--van-padding-xs);--van-dropdown-menu-title-line-height: var(--van-line-height-lg);--van-dropdown-menu-option-active-color: var(--van-primary-color);--van-dropdown-menu-content-max-height: 80%}.van-dropdown-menu{-webkit-user-select:none;user-select:none}.van-dropdown-menu__bar{position:relative;display:flex;height:var(--van-dropdown-menu-height);background:var(--van-dropdown-menu-background);box-shadow:var(--van-dropdown-menu-shadow)}.van-dropdown-menu__bar--opened{z-index:calc(var(--van-dropdown-item-z-index) + 1)}.van-dropdown-menu__item{display:flex;flex:1;align-items:center;justify-content:center;min-width:0}.van-dropdown-menu__item--disabled .van-dropdown-menu__title{color:var(--van-dropdown-menu-title-disabled-text-color)}.van-dropdown-menu__title{position:relative;box-sizing:border-box;max-width:100%;padding:var(--van-dropdown-menu-title-padding);color:var(--van-dropdown-menu-title-text-color);font-size:var(--van-dropdown-menu-title-font-size);line-height:var(--van-dropdown-menu-title-line-height)}.van-dropdown-menu__title:after{position:absolute;top:50%;right:-4px;margin-top:-5px;border:3px solid;border-color:transparent transparent var(--van-gray-4) var(--van-gray-4);transform:rotate(-45deg);opacity:.8;content:""}.van-dropdown-menu__title--active{color:var(--van-dropdown-menu-title-active-text-color)}.van-dropdown-menu__title--active:after{border-color:transparent transparent currentColor currentColor}.van-dropdown-menu__title--down:after{margin-top:-1px;transform:rotate(135deg)}:root{--van-dropdown-item-z-index: 10}.van-dropdown-item{position:fixed;right:0;left:0;z-index:var(--van-dropdown-item-z-index);overflow:hidden}.van-dropdown-item__icon{display:block;line-height:inherit}.van-dropdown-item__option{text-align:left}.van-dropdown-item__option--active,.van-dropdown-item__option--active .van-dropdown-item__icon{color:var(--van-dropdown-menu-option-active-color)}.van-dropdown-item--up{top:0}.van-dropdown-item--down{bottom:0}.van-dropdown-item__content{position:absolute;max-height:var(--van-dropdown-menu-content-max-height)}:root{--van-floating-panel-border-radius: 16px;--van-floating-panel-header-height: 30px;--van-floating-panel-z-index: 999;--van-floating-panel-background: var(--van-background-2);--van-floating-panel-bar-width: 20px;--van-floating-panel-bar-height: 3px;--van-floating-panel-bar-color: var(--van-gray-5)}.van-floating-panel{position:fixed;left:0;bottom:0;width:100vw;z-index:var(--van-floating-panel-z-index);display:flex;flex-direction:column;touch-action:none;border-top-left-radius:var(--van-floating-panel-border-radius);border-top-right-radius:var(--van-floating-panel-border-radius);background:var(--van-floating-panel-background)}.van-floating-panel:after{content:"";display:block;position:absolute;bottom:-100vh;height:100vh;width:100vw;background-color:inherit}.van-floating-panel__header{height:var(--van-floating-panel-header-height);display:flex;justify-content:center;align-items:center;cursor:-webkit-grab;cursor:grab;-webkit-user-select:none;user-select:none}.van-floating-panel__header-bar{height:var(--van-floating-panel-bar-height);width:var(--van-floating-panel-bar-width);border-radius:var(--van-radius-md);background:var(--van-floating-panel-bar-color)}.van-floating-panel__content{flex:1;overflow-y:auto;background-color:var(--van-floating-panel-background)}.van-grid{display:flex;flex-wrap:wrap}:root{--van-grid-item-content-padding: var(--van-padding-md) var(--van-padding-xs);--van-grid-item-content-background: var(--van-background-2);--van-grid-item-content-active-color: var(--van-active-color);--van-grid-item-icon-size: 28px;--van-grid-item-text-color: var(--van-text-color);--van-grid-item-text-font-size: var(--van-font-size-sm)}.van-grid-item{position:relative;box-sizing:border-box}.van-grid-item--square{height:0}.van-grid-item__icon{font-size:var(--van-grid-item-icon-size)}.van-grid-item__text{color:var(--van-grid-item-text-color);font-size:var(--van-grid-item-text-font-size);line-height:1.5;word-break:break-all}.van-grid-item__icon+.van-grid-item__text{margin-top:var(--van-padding-xs)}.van-grid-item__content{display:flex;flex-direction:column;box-sizing:border-box;height:100%;padding:var(--van-grid-item-content-padding);background:var(--van-grid-item-content-background)}.van-grid-item__content:after{z-index:1;border-width:0 var(--van-border-width) var(--van-border-width) 0}.van-grid-item__content--square{position:absolute;top:0;right:0;left:0}.van-grid-item__content--center{align-items:center;justify-content:center}.van-grid-item__content--horizontal{flex-direction:row}.van-grid-item__content--horizontal .van-grid-item__text{margin:0 0 0 var(--van-padding-xs)}.van-grid-item__content--reverse{flex-direction:column-reverse}.van-grid-item__content--reverse .van-grid-item__text{margin:0 0 var(--van-padding-xs)}.van-grid-item__content--horizontal.van-grid-item__content--reverse{flex-direction:row-reverse}.van-grid-item__content--horizontal.van-grid-item__content--reverse .van-grid-item__text{margin:0 var(--van-padding-xs) 0 0}.van-grid-item__content--surround:after{border-width:var(--van-border-width)}.van-grid-item__content--clickable{cursor:pointer}.van-grid-item__content--clickable:active{background-color:var(--van-grid-item-content-active-color)}:root{--van-index-bar-sidebar-z-index: 2;--van-index-bar-index-font-size: var(--van-font-size-xs);--van-index-bar-index-line-height: var(--van-line-height-xs);--van-index-bar-index-active-color: var(--van-primary-color)}.van-index-bar__sidebar{position:fixed;top:50%;right:0;z-index:var(--van-index-bar-sidebar-z-index);display:flex;flex-direction:column;text-align:center;transform:translateY(-50%);cursor:pointer;-webkit-user-select:none;user-select:none}.van-index-bar__index{padding:0 var(--van-padding-xs) 0 var(--van-padding-md);font-weight:var(--van-font-bold);font-size:var(--van-index-bar-index-font-size);line-height:var(--van-index-bar-index-line-height)}.van-index-bar__index--active{color:var(--van-index-bar-index-active-color);font-weight:700}:root{--van-index-anchor-z-index: 1;--van-index-anchor-padding: 0 var(--van-padding-md);--van-index-anchor-text-color: var(--van-text-color);--van-index-anchor-font-weight: var(--van-font-bold);--van-index-anchor-font-size: var(--van-font-size-md);--van-index-anchor-line-height: 32px;--van-index-anchor-background: transparent;--van-index-anchor-sticky-text-color: var(--van-primary-color);--van-index-anchor-sticky-background: var(--van-background-2)}.van-index-anchor{z-index:var(--van-index-anchor-z-index);box-sizing:border-box;padding:var(--van-index-anchor-padding);color:var(--van-index-anchor-text-color);font-weight:var(--van-index-anchor-font-weight);font-size:var(--van-index-anchor-font-size);line-height:var(--van-index-anchor-line-height);background:var(--van-index-anchor-background)}.van-index-anchor--sticky{position:fixed;top:0;right:0;left:0;color:var(--van-index-anchor-sticky-text-color);background:var(--van-index-anchor-sticky-background)}:root{--van-pagination-height: 40px;--van-pagination-font-size: var(--van-font-size-md);--van-pagination-item-width: 36px;--van-pagination-item-default-color: var(--van-primary-color);--van-pagination-item-disabled-color: var(--van-gray-7);--van-pagination-item-disabled-background: var(--van-background);--van-pagination-background: var(--van-background-2);--van-pagination-desc-color: var(--van-gray-7);--van-pagination-disabled-opacity: var(--van-disabled-opacity)}.van-pagination{font-size:var(--van-pagination-font-size)}.van-pagination__items{display:flex}.van-pagination__item,.van-pagination__page-desc{display:flex;align-items:center;justify-content:center}.van-pagination__item{flex:1;box-sizing:border-box;min-width:var(--van-pagination-item-width);height:var(--van-pagination-height);color:var(--van-pagination-item-default-color);background:var(--van-pagination-background);cursor:pointer;-webkit-user-select:none;user-select:none}.van-pagination__item button{flex:1;height:100%;border:none;padding:0;background:transparent}.van-pagination__item button[disabled]{cursor:not-allowed}.van-pagination__item:active{color:var(--van-white);background-color:var(--van-pagination-item-default-color)}.van-pagination__item:not(:last-child):after{border-right-width:0}.van-pagination__item--active{color:var(--van-white);background-color:var(--van-pagination-item-default-color)}.van-pagination__item--page{flex-grow:0}.van-pagination__item--prev,.van-pagination__item--next{padding:0 var(--van-padding-base);cursor:pointer}.van-pagination__item--border:first-child:after{border-right-width:var(--van-border-width)}.van-pagination__item--disabled,.van-pagination__item--disabled:active{color:var(--van-pagination-item-disabled-color);background-color:var(--van-pagination-item-disabled-background);opacity:var(--van-pagination-disabled-opacity)}.van-pagination__page-desc{flex:1;height:var(--van-pagination-height);color:var(--van-pagination-desc-color)}:root{--van-password-input-height: 50px;--van-password-input-margin: 0 var(--van-padding-md);--van-password-input-font-size: 20px;--van-password-input-radius: 6px;--van-password-input-background: var(--van-background-2);--van-password-input-info-color: var(--van-text-color-2);--van-password-input-info-font-size: var(--van-font-size-md);--van-password-input-error-info-color: var(--van-danger-color);--van-password-input-dot-size: 10px;--van-password-input-dot-color: var(--van-text-color);--van-password-input-text-color: var(--van-text-color);--van-password-input-cursor-color: var(--van-text-color);--van-password-input-cursor-width: 1px;--van-password-input-cursor-height: 40%;--van-password-input-cursor-duration: 1s}.van-password-input{position:relative;margin:var(--van-password-input-margin);-webkit-user-select:none;user-select:none}.van-password-input__info,.van-password-input__error-info{margin-top:var(--van-padding-md);font-size:var(--van-password-input-info-font-size);text-align:center}.van-password-input__info{color:var(--van-password-input-info-color)}.van-password-input__error-info{color:var(--van-password-input-error-info-color)}.van-password-input__security{display:flex;width:100%;height:var(--van-password-input-height);cursor:pointer}.van-password-input__security:after{border-radius:var(--van-password-input-radius)}.van-password-input__security li{position:relative;display:flex;flex:1;align-items:center;justify-content:center;height:100%;color:var(--van-password-input-text-color);font-size:var(--van-password-input-font-size);line-height:1.2;background:var(--van-password-input-background)}.van-password-input__security i{position:absolute;top:50%;left:50%;width:var(--van-password-input-dot-size);height:var(--van-password-input-dot-size);background:var(--van-password-input-dot-color);border-radius:100%;transform:translate(-50%,-50%);visibility:hidden}.van-password-input__cursor{position:absolute;top:50%;left:50%;width:var(--van-password-input-cursor-width);height:var(--van-password-input-cursor-height);background:var(--van-password-input-cursor-color);transform:translate(-50%,-50%);animation:var(--van-password-input-cursor-duration) van-cursor-flicker infinite}@keyframes van-cursor-flicker{0%{opacity:0}50%{opacity:1}to{opacity:0}}:root{--van-progress-height: 4px;--van-progress-color: var(--van-primary-color);--van-progress-inactive-color: var(--van-gray-5);--van-progress-background: var(--van-gray-3);--van-progress-pivot-padding: 0 5px;--van-progress-pivot-text-color: var(--van-white);--van-progress-pivot-font-size: var(--van-font-size-xs);--van-progress-pivot-line-height: 1.6;--van-progress-pivot-background: var(--van-primary-color)}.van-progress{position:relative;height:var(--van-progress-height);background:var(--van-progress-background);border-radius:var(--van-progress-height)}.van-progress__portion{position:absolute;left:0;width:100%;height:100%;background:var(--van-progress-color);border-radius:inherit;transform-origin:0;transition:all var(--van-duration-base) var(--van-ease-out)}.van-progress__portion--inactive{background:var(--van-progress-inactive-color)}.van-progress__pivot{position:absolute;top:50%;box-sizing:border-box;min-width:3.6em;padding:var(--van-progress-pivot-padding);color:var(--van-progress-pivot-text-color);font-size:var(--van-progress-pivot-font-size);line-height:var(--van-progress-pivot-line-height);text-align:center;word-break:keep-all;background:var(--van-progress-pivot-background);border-radius:1em;transition:all var(--van-duration-base) var(--van-ease-out)}.van-progress__pivot--inactive{background:var(--van-progress-inactive-color)}:root{--van-rolling-text-background: inherit;--van-rolling-text-color: var(--van-text-color);--van-rolling-text-font-size: var(--van-font-size-md);--van-rolling-text-gap: 0px;--van-rolling-text-item-width: 15px;--van-rolling-text-item-border-radius: 0px}.van-rolling-text{display:inline-flex;justify-content:center;align-items:center;font-size:var(--van-rolling-text-font-size);color:var(--van-rolling-text-color)}.van-rolling-text-item{margin-right:var(--van-rolling-text-gap);width:var(--van-rolling-text-item-width);border-radius:var(--van-rolling-text-item-border-radius);background:var(--van-rolling-text-background);overflow:hidden}.van-rolling-text-item:last-child{margin-right:0}.van-rolling-text-item__box{overflow:hidden}.van-rolling-text-item__box--animate{animation:van-up var(--van-duration) ease-in-out var(--van-delay);animation-iteration-count:1;animation-fill-mode:both}.van-rolling-text-item__item{text-align:center}.van-rolling-text-item--down .van-rolling-text-item__box{transform:translateY(var(--van-translate))}.van-rolling-text-item--down .van-rolling-text-item__box--animate{animation-name:van-down}@keyframes van-down{0%{transform:translateY(var(--van-translate))}to{transform:translateY(0)}}@keyframes van-up{0%{transform:translateY(0)}to{transform:translateY(var(--van-translate))}}:root{--van-sidebar-width: 80px}.van-sidebar{width:var(--van-sidebar-width);overflow-y:auto;-webkit-overflow-scrolling:touch}:root{--van-sidebar-font-size: var(--van-font-size-md);--van-sidebar-line-height: var(--van-line-height-md);--van-sidebar-text-color: var(--van-text-color);--van-sidebar-disabled-text-color: var(--van-text-color-3);--van-sidebar-padding: 20px var(--van-padding-sm);--van-sidebar-active-color: var(--van-active-color);--van-sidebar-background: var(--van-background);--van-sidebar-selected-font-weight: var(--van-font-bold);--van-sidebar-selected-text-color: var(--van-text-color);--van-sidebar-selected-border-width: 4px;--van-sidebar-selected-border-height: 16px;--van-sidebar-selected-border-color: var(--van-primary-color);--van-sidebar-selected-background: var(--van-background-2)}.van-sidebar-item{position:relative;display:block;box-sizing:border-box;padding:var(--van-sidebar-padding);overflow:hidden;color:var(--van-sidebar-text-color);font-size:var(--van-sidebar-font-size);line-height:var(--van-sidebar-line-height);background:var(--van-sidebar-background);cursor:pointer;-webkit-user-select:none;user-select:none}.van-sidebar-item:active{background-color:var(--van-sidebar-active-color)}.van-sidebar-item:not(:last-child):after{border-bottom-width:1px}.van-sidebar-item__text{word-break:break-all}.van-sidebar-item--select{color:var(--van-sidebar-selected-text-color);font-weight:var(--van-sidebar-selected-font-weight)}.van-sidebar-item--select,.van-sidebar-item--select:active{background-color:var(--van-sidebar-selected-background)}.van-sidebar-item--select:before{position:absolute;top:50%;left:0;width:var(--van-sidebar-selected-border-width);height:var(--van-sidebar-selected-border-height);background-color:var(--van-sidebar-selected-border-color);transform:translateY(-50%);content:""}.van-sidebar-item--disabled{color:var(--van-sidebar-disabled-text-color);cursor:not-allowed}.van-sidebar-item--disabled:active{background-color:var(--van-sidebar-background)}:root{--van-tree-select-font-size: var(--van-font-size-md);--van-tree-select-nav-background: var(--van-background);--van-tree-select-content-background: var(--van-background-2);--van-tree-select-nav-item-padding: 14px var(--van-padding-sm);--van-tree-select-item-height: 48px;--van-tree-select-item-active-color: var(--van-primary-color);--van-tree-select-item-disabled-color: var(--van-gray-5);--van-tree-select-item-selected-size: 16px}.van-tree-select{position:relative;display:flex;font-size:var(--van-tree-select-font-size)}.van-tree-select__nav{flex:1;overflow-y:auto;background:var(--van-tree-select-nav-background);-webkit-overflow-scrolling:touch}.van-tree-select__nav-item{padding:var(--van-tree-select-nav-item-padding)}.van-tree-select__content{flex:2;overflow-y:auto;background:var(--van-tree-select-content-background);-webkit-overflow-scrolling:touch}.van-tree-select__item{position:relative;padding:0 32px 0 var(--van-padding-md);font-weight:var(--van-font-bold);line-height:var(--van-tree-select-item-height);-webkit-user-select:none;user-select:none;cursor:pointer}.van-tree-select__item--active{color:var(--van-tree-select-item-active-color)}.van-tree-select__item:active{background-color:var(--van-active-color)}.van-tree-select__item--disabled{color:var(--van-tree-select-item-disabled-color);cursor:not-allowed}.van-tree-select__item--disabled:active{background-color:transparent}.van-tree-select__selected{position:absolute;top:50%;right:var(--van-padding-md);margin-top:calc(var(--van-padding-xs) * -1);font-size:var(--van-tree-select-item-selected-size)}:root{--van-skeleton-title-width: 40%}.van-skeleton-title{height:var(--van-skeleton-paragraph-height);background:var(--van-skeleton-paragraph-background)}.van-skeleton-title--round{border-radius:var(--van-radius-max)}.van-skeleton-title{width:var(--van-skeleton-title-width);margin:0}.van-skeleton-title+.van-skeleton-paragraph{margin-top:20px}:root{--van-skeleton-avatar-size: 32px;--van-skeleton-avatar-background: var(--van-active-color)}.van-skeleton-avatar{flex-shrink:0;width:var(--van-skeleton-avatar-size);height:var(--van-skeleton-avatar-size);margin-right:var(--van-padding-md);background:var(--van-skeleton-avatar-background)}.van-skeleton-avatar--round{border-radius:var(--van-radius-max)}.van-skeleton-avatar+.van-skeleton__content{padding-top:var(--van-padding-xs)}:root{--van-skeleton-paragraph-height: 16px;--van-skeleton-paragraph-background: var(--van-active-color);--van-skeleton-paragraph-margin-top: var(--van-padding-sm)}.van-skeleton-paragraph{height:var(--van-skeleton-paragraph-height);background:var(--van-skeleton-paragraph-background)}.van-skeleton-paragraph--round{border-radius:var(--van-radius-max)}.van-skeleton-paragraph:not(:first-child){margin-top:var(--van-skeleton-paragraph-margin-top)}:root{--van-skeleton-duration: 1.2s}.van-skeleton{display:flex;padding:0 var(--van-padding-md)}.van-skeleton__content{width:100%}.van-skeleton--animate{animation:van-skeleton-blink var(--van-skeleton-duration) ease-in-out infinite}@keyframes van-skeleton-blink{50%{opacity:.6}}:root{--van-slider-active-background: var(--van-primary-color);--van-slider-inactive-background: var(--van-gray-3);--van-slider-disabled-opacity: var(--van-disabled-opacity);--van-slider-bar-height: 2px;--van-slider-button-width: 24px;--van-slider-button-height: 24px;--van-slider-button-radius: 50%;--van-slider-button-background: var(--van-white);--van-slider-button-shadow: 0 1px 2px rgba(0, 0, 0, .5)}.van-theme-dark{--van-slider-inactive-background: var(--van-background-3)}.van-slider{position:relative;width:100%;height:var(--van-slider-bar-height);background:var(--van-slider-inactive-background);border-radius:var(--van-radius-max);cursor:pointer}.van-slider:before{position:absolute;top:calc(var(--van-padding-xs) * -1);right:0;bottom:calc(var(--van-padding-xs) * -1);left:0;content:""}.van-slider__bar{position:absolute;width:100%;height:100%;background:var(--van-slider-active-background);border-radius:inherit;transition:all var(--van-duration-fast)}.van-slider__button{width:var(--van-slider-button-width);height:var(--van-slider-button-height);background:var(--van-slider-button-background);border-radius:var(--van-slider-button-radius);box-shadow:var(--van-slider-button-shadow)}.van-slider__button-wrapper{position:absolute;cursor:-webkit-grab;cursor:grab;top:50%}.van-slider__button-wrapper--right{right:0;transform:translate3d(50%,-50%,0)}.van-slider__button-wrapper--left{left:0;transform:translate3d(-50%,-50%,0)}.van-slider--disabled{cursor:not-allowed;opacity:var(--van-slider-disabled-opacity)}.van-slider--disabled .van-slider__button-wrapper{cursor:not-allowed}.van-slider--vertical{display:inline-block;width:var(--van-slider-bar-height);height:100%}.van-slider--vertical .van-slider__button-wrapper--right{top:auto;right:50%;bottom:0;transform:translate3d(50%,50%,0)}.van-slider--vertical .van-slider__button-wrapper--left{top:0;right:50%;left:auto;transform:translate3d(50%,-50%,0)}.van-slider--vertical:before{top:0;right:calc(var(--van-padding-xs) * -1);bottom:0;left:calc(var(--van-padding-xs) * -1)}.van-space{display:inline-flex}.van-space--horizontal .van-space-item{display:flex;align-items:center}.van-space--vertical{flex-direction:column}.van-space--align-baseline{align-items:baseline}.van-space--align-start{align-items:flex-start}.van-space--align-end{align-items:flex-end}.van-space--align-center{align-items:center}.van-space--wrap{flex-wrap:wrap}.van-space--fill{display:flex}:root{--van-steps-background: var(--van-background-2)}.van-steps{overflow:hidden;background-color:var(--van-steps-background)}.van-steps--horizontal{padding:10px 10px 0}.van-steps--horizontal .van-steps__items{position:relative;display:flex;margin:0 0 10px;padding-bottom:22px}.van-steps--vertical{padding:0 0 0 var(--van-padding-xl)}:root{--van-step-text-color: var(--van-text-color-2);--van-step-active-color: var(--van-primary-color);--van-step-process-text-color: var(--van-text-color);--van-step-font-size: var(--van-font-size-md);--van-step-line-color: var(--van-border-color);--van-step-finish-line-color: var(--van-primary-color);--van-step-finish-text-color: var(--van-text-color);--van-step-icon-size: 12px;--van-step-circle-size: 5px;--van-step-circle-color: var(--van-gray-6);--van-step-horizontal-title-font-size: var(--van-font-size-sm)}.van-step{position:relative;flex:1;color:var(--van-step-text-color);font-size:var(--van-step-font-size)}.van-step__circle{display:block;width:var(--van-step-circle-size);height:var(--van-step-circle-size);background-color:var(--van-step-circle-color);border-radius:50%}.van-step__line{position:absolute;background-color:var(--van-step-line-color);transition:background-color var(--van-duration-base)}.van-step--horizontal{float:left}.van-step--horizontal:first-child .van-step__title{margin-left:0;transform:none}.van-step--horizontal:last-child:not(:first-child){position:absolute;right:1px;width:auto}.van-step--horizontal:last-child:not(:first-child) .van-step__title{margin-left:0;transform:none}.van-step--horizontal:last-child:not(:first-child) .van-step__circle-container{right:-9px;left:auto}.van-step--horizontal .van-step__circle-container{position:absolute;top:30px;left:calc(var(--van-padding-xs) * -1);z-index:1;padding:0 var(--van-padding-xs);background-color:var(--van-background-2);transform:translateY(-50%)}.van-step--horizontal .van-step__title{display:inline-block;margin-left:3px;font-size:var(--van-step-horizontal-title-font-size);transform:translate(-50%)}.van-step--horizontal .van-step__line{top:30px;left:0;width:100%;height:1px}.van-step--horizontal .van-step__icon{display:block;font-size:var(--van-step-icon-size)}.van-step--horizontal .van-step--process{color:var(--van-step-process-text-color)}.van-step--vertical{display:block;float:none;padding:10px 10px 10px 0;line-height:var(--van-line-height-sm)}.van-step--vertical:not(:last-child):after{border-bottom-width:1px}.van-step--vertical .van-step__circle-container{position:absolute;top:19px;left:-15px;z-index:1;font-size:var(--van-step-icon-size);line-height:1;transform:translate(-50%,-50%)}.van-step--vertical .van-step__line{top:16px;left:-15px;width:1px;height:100%}.van-step:last-child .van-step__line{width:0}.van-step--finish{color:var(--van-step-finish-text-color)}.van-step--finish .van-step__circle,.van-step--finish .van-step__line{background-color:var(--van-step-finish-line-color)}.van-step__icon,.van-step__title{transition:color var(--van-duration-base)}.van-step__icon--active,.van-step__title--active,.van-step__icon--finish,.van-step__title--finish{color:var(--van-step-active-color)}:root{--van-stepper-background: var(--van-active-color);--van-stepper-button-icon-color: var(--van-text-color);--van-stepper-button-disabled-color: var(--van-background);--van-stepper-button-disabled-icon-color: var(--van-gray-5);--van-stepper-button-round-theme-color: var(--van-primary-color);--van-stepper-input-width: 32px;--van-stepper-input-height: 28px;--van-stepper-input-font-size: var(--van-font-size-md);--van-stepper-input-line-height: normal;--van-stepper-input-text-color: var(--van-text-color);--van-stepper-input-disabled-text-color: var(--van-text-color-3);--van-stepper-input-disabled-background: var(--van-active-color);--van-stepper-radius: var(--van-radius-md)}.van-stepper{display:inline-block;-webkit-user-select:none;user-select:none}.van-stepper__minus,.van-stepper__plus{position:relative;box-sizing:border-box;width:var(--van-stepper-input-height);height:var(--van-stepper-input-height);margin:0;padding:0;color:var(--van-stepper-button-icon-color);vertical-align:middle;background:var(--van-stepper-background);border:0}.van-stepper__minus:before,.van-stepper__plus:before{width:50%;height:1px}.van-stepper__minus:after,.van-stepper__plus:after{width:1px;height:50%}.van-stepper__minus:before,.van-stepper__plus:before,.van-stepper__minus:after,.van-stepper__plus:after{position:absolute;top:50%;left:50%;background-color:currentColor;transform:translate(-50%,-50%);content:""}.van-stepper__minus--disabled,.van-stepper__plus--disabled{color:var(--van-stepper-button-disabled-icon-color);background-color:var(--van-stepper-button-disabled-color);cursor:not-allowed}.van-stepper__minus{border-radius:var(--van-stepper-radius) 0 0 var(--van-stepper-radius)}.van-stepper__minus:after{display:none}.van-stepper__plus{border-radius:0 var(--van-stepper-radius) var(--van-stepper-radius) 0}.van-stepper__input{box-sizing:border-box;width:var(--van-stepper-input-width);height:var(--van-stepper-input-height);margin:0 2px;padding:0;color:var(--van-stepper-input-text-color);font-size:var(--van-stepper-input-font-size);line-height:var(--van-stepper-input-line-height);text-align:center;vertical-align:middle;background:var(--van-stepper-background);border:0;border-width:1px 0;border-radius:0;-webkit-appearance:none}.van-stepper__input:disabled{color:var(--van-stepper-input-disabled-text-color);background-color:var(--van-stepper-input-disabled-background);-webkit-text-fill-color:var(--van-stepper-input-disabled-text-color);opacity:1}.van-stepper__input:read-only{cursor:default}.van-stepper--round .van-stepper__input{background-color:transparent}.van-stepper--round .van-stepper__plus,.van-stepper--round .van-stepper__minus{border-radius:100%}.van-stepper--round .van-stepper__plus--disabled,.van-stepper--round .van-stepper__minus--disabled{opacity:.3;cursor:not-allowed}.van-stepper--round .van-stepper__plus{color:var(--van-white);background:var(--van-stepper-button-round-theme-color)}.van-stepper--round .van-stepper__minus{color:var(--van-stepper-button-round-theme-color);background-color:var(--van-background-2);border:1px solid var(--van-stepper-button-round-theme-color)}.van-swipe-cell{position:relative;overflow:hidden;cursor:-webkit-grab;cursor:grab}.van-swipe-cell__wrapper{transition-timing-function:cubic-bezier(.18,.89,.32,1);transition-property:transform}.van-swipe-cell__left,.van-swipe-cell__right{position:absolute;top:0;height:100%}.van-swipe-cell__left{left:0;transform:translate3d(-100%,0,0)}.van-swipe-cell__right{right:0;transform:translate3d(100%,0,0)}:root{--van-tabbar-height: 50px;--van-tabbar-z-index: 1;--van-tabbar-background: var(--van-background-2)}.van-tabbar{z-index:var(--van-tabbar-z-index);display:flex;box-sizing:content-box;width:100%;height:var(--van-tabbar-height);background:var(--van-tabbar-background)}.van-tabbar--fixed{position:fixed;bottom:0;left:0}:root{--van-tabbar-item-font-size: var(--van-font-size-sm);--van-tabbar-item-text-color: var(--van-text-color);--van-tabbar-item-active-color: var(--van-primary-color);--van-tabbar-item-active-background: var(--van-background-2);--van-tabbar-item-line-height: 1;--van-tabbar-item-icon-size: 22px;--van-tabbar-item-icon-margin-bottom: var(--van-padding-base)}.van-tabbar-item{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;color:var(--van-tabbar-item-text-color);font-size:var(--van-tabbar-item-font-size);line-height:var(--van-tabbar-item-line-height);cursor:pointer}.van-tabbar-item__icon{margin-bottom:var(--van-tabbar-item-icon-margin-bottom);font-size:var(--van-tabbar-item-icon-size)}.van-tabbar-item__icon .van-icon{display:block}.van-tabbar-item__icon .van-badge{margin-top:var(--van-padding-base)}.van-tabbar-item__icon img{display:block;height:20px}.van-tabbar-item--active{color:var(--van-tabbar-item-active-color);background-color:var(--van-tabbar-item-active-background)}:root{--van-text-ellipsis-line-height: 1.6;--van-text-ellipsis-action-color: var(--van-blue)}.van-text-ellipsis{line-height:var(--van-text-ellipsis-line-height);white-space:pre-wrap;word-break:break-word}.van-text-ellipsis__action{cursor:pointer;color:var(--van-text-ellipsis-action-color)}.van-text-ellipsis__action:active{opacity:var(--van-active-opacity)}:root{--van-watermark-z-index: 100}.van-watermark{position:absolute;height:100%;width:100%;left:0;top:0;z-index:var(--van-watermark-z-index);background-repeat:repeat;pointer-events:none}.van-watermark__wrapper{display:none}.van-watermark--full{position:fixed}.var--box,.var--box *{box-sizing:border-box}.var--relative{position:relative}.var--absolute{position:absolute}.var--hidden{overflow:hidden}.var--lock{overflow:hidden!important}.var--block{display:block}.var--ellipsis{overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.var--inline-block{display:inline-block}.var--flex{display:flex}.var--inline-flex{display:inline-flex}:root{--font-size-xs: 10px;--font-size-sm: 12px;--font-size-md: 14px;--font-size-lg: 16px;--icon-size-xs: 16px;--icon-size-sm: 18px;--icon-size-md: 20px;--icon-size-lg: 22px;--color-body: #fff;--color-text: #333;--color-primary: #3a7afe;--color-info: #00afef;--color-success: #00c48f;--color-warning: #ff9f00;--color-danger: #f44336;--color-disabled: #e0e0e0;--color-text-disabled: #aaa;--opacity-disabled: .6;--cubic-bezier: cubic-bezier(.25, .8, .5, 1);--shadow-key-umbra-opacity: rgba(0, 0, 0, .2);--shadow-key-penumbra-opacity: rgba(0, 0, 0, .14);--shadow-key-ambient-opacity: rgba(0, 0, 0, .12)}@font-face{font-family:varlet-icons;src:url(data:font/truetype;charset=utf-8;base64,AAEAAAALAIAAAwAwR1NVQiCLJXoAAAE4AAAAVE9TLzI/skzvAAABjAAAAFZjbWFwXItSuwAAA9gAAAiKZ2x5ZmPXZEQAAA1gAAA1QGhlYWRhIEB+AAAA4AAAADZoaGVhA8QCPQAAALwAAAAkaG10ePgAAAAAAAHkAAAB9GxvY2EWzSP6AAAMZAAAAPxtYXhwAZYAfgAAARgAAAAgbm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BwAAAAgAAPAIAADwCAAAAAkAAPAJAADwCQAAAAoAAPAQAADwEAAAAAsAAPARAADwEQAAAAwAAPASAADwEgAAAA0AAPATAADwEwAAAA4AAPAUAADwFAAAAA8AAPAVAADwFQAAABAAAPAWAADwFgAAABEAAPAXAADwFwAAABIAAPAYAADwGAAAABMAAPAZAADwGQAAABQAAPAgAADwIAAAABUAAPAhAADwIQAAABYAAPAiAADwIgAAABcAAPAjAADwIwAAABgAAPAkAADwJAAAABkAAPAlAADwJQAAABoAAPAmAADwJgAAABsAAPAnAADwJwAAABwAAPAoAADwKAAAAB0AAPApAADwKQAAAB4AAPAwAADwMAAAAB8AAPAxAADwMQAAACAAAPAyAADwMgAAACEAAPAzAADwMwAAACIAAPA0AADwNAAAACMAAPA1AADwNQAAACQAAPA2AADwNgAAACUAAPA3AADwNwAAACYAAPA4AADwOAAAACcAAPA5AADwOQAAACgAAPBAAADwQAAAACkAAPBBAADwQQAAACoAAPBCAADwQgAAACsAAPBDAADwQwAAACwAAPBEAADwRAAAAC0AAPBFAADwRQAAAC4AAPBGAADwRgAAAC8AAPBHAADwRwAAADAAAPBIAADwSAAAADEAAPBJAADwSQAAADIAAPBQAADwUAAAADMAAPBRAADwUQAAADQAAPBSAADwUgAAADUAAPBTAADwUwAAADYAAPBUAADwVAAAADcAAPBVAADwVQAAADgAAPBWAADwVgAAADkAAPBXAADwVwAAADoAAPBYAADwWAAAADsAAPBZAADwWQAAADwAAPBgAADwYAAAAD0AAPBhAADwYQAAAD4AAPBiAADwYgAAAD8AAPBjAADwYwAAAEAAAPBkAADwZAAAAEEAAPBlAADwZQAAAEIAAPBmAADwZgAAAEMAAPBnAADwZwAAAEQAAPBoAADwaAAAAEUAAPBpAADwaQAAAEYAAPBwAADwcAAAAEcAAPBxAADwcQAAAEgAAPByAADwcgAAAEkAAPBzAADwcwAAAEoAAPB0AADwdAAAAEsAAPB1AADwdQAAAEwAAPB2AADwdgAAAE0AAPB3AADwdwAAAE4AAPB4AADweAAA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NsZS1vdXRsaW5lBWNoZWNrDHdpbmRvdy1jbG9zZQRwbHVzBW1pbnVzCmNoZXZyb24tdXAMY2hldnJvbi1kb3duDGNoZXZyb24tbGVmdA1jaGV2cm9uLXJpZ2h0B21lbnUtdXAJbWVudS1kb3duCW1lbnUtbGVmdAptZW51LXJpZ2h0BnVwbG9hZAhkb3dubG9hZBRmb3JtYXQtbGlzdC1jaGVja2JveARtZW51CW1lbnUtb3Blbg1kb3RzLXZlcnRpY2FsFG1lc3NhZ2UtdGV4dC1vdXRsaW5lGm1lc3NhZ2UtcHJvY2Vzc2luZy1vdXRsaW5lE3doaXRlLWJhbGFuY2Utc3VubnkOd2VhdGhlci1jbG91ZHkRd2VhdGhlci1saWdodG5pbmcPd2VhdGhlci1wb3VyaW5nDXdlYXRoZXItc25vd3kNd2VhdGhlci1yYWlueQl0cmFuc2xhdGUHbWFnbmlmeQZnaXRodWIHcmVmcmVzaAphcnJvdy1kb3duBXBvd2VyFWZpbGUtZG9jdW1lbnQtb3V0bGluZQRmaXJlBHdpZmkGd3JlbmNoDGNha2UtdmFyaWFudAhub3RlYm9vawljZWxscGhvbmUNd2VhdGhlci1uaWdodAN4bWwMY29udGVudC1jb3B5C3FyY29kZS1zY2FuDGJhcmNvZGUtc2NhbghzaG9wcGluZxBzaG9wcGluZy1vdXRsaW5lFGNhcmQtYWNjb3VudC1kZXRhaWxzHGNhcmQtYWNjb3VudC1kZXRhaWxzLW91dGxpbmUDcGluB3Bpbi1vZmYLcGluLW91dGxpbmUPcGluLW9mZi1vdXRsaW5lCWNvZGUtanNvbgx2aWV3LW91dGxpbmUEdmlldxJ0aHVtYi1kb3duLW91dGxpbmUKdGh1bWItZG93bhB0aHVtYi11cC1vdXRsaW5lCHRodW1iLXVwBGxvY2sMbG9jay1vdXRsaW5lBWVtYWlsDWVtYWlsLW91dGxpbmUAAAA=) format("truetype");font-weight:400;font-style:normal}.var-icon--set{font-family:varlet-icons}.var-icon-checkbox-marked-circle:before{content:""}.var-icon-check-circle-outline:before{content:""}.var-icon-information:before{content:""}.var-icon-information-outline:before{content:""}.var-icon-warning:before{content:""}.var-icon-alert-outline:before{content:""}.var-icon-error:before{content:""}.var-icon-alert-circle-outline:before{content:""}.var-icon-checkbox-marked:before{content:""}.var-icon-checkbox-marked-outline:before{content:""}.var-icon-checkbox-blank-outline:before{content:""}.var-icon-radio-marked:before{content:""}.var-icon-checkbox-marked-circle-outline:before{content:""}.var-icon-radio-blank:before{content:""}.var-icon-close-circle:before{content:""}.var-icon-close-circle-outline:before{content:""}.var-icon-close-box:before{content:""}.var-icon-close-box-outline:before{content:""}.var-icon-minus-circle:before{content:""}.var-icon-minus-circle-outline:before{content:""}.var-icon-star:before{content:""}.var-icon-star-half-full:before{content:""}.var-icon-star-outline:before{content:""}.var-icon-heart:before{content:""}.var-icon-heart-half-full:before{content:""}.var-icon-heart-outline:before{content:""}.var-icon-delete:before{content:""}.var-icon-trash-can:before{content:""}.var-icon-trash-can-outline:before{content:""}.var-icon-minus-box:before{content:""}.var-icon-minus-box-outline:before{content:""}.var-icon-account-circle:before{content:""}.var-icon-account-circle-outline:before{content:""}.var-icon-cog:before{content:""}.var-icon-cog-outline:before{content:""}.var-icon-map-marker-radius:before{content:""}.var-icon-map-marker-radius-outline:before{content:""}.var-icon-camera:before{content:""}.var-icon-camera-outline:before{content:""}.var-icon-cart:before{content:""}.var-icon-cart-outline:before{content:""}.var-icon-phone:before{content:""}.var-icon-phone-outline:before{content:""}.var-icon-image:before{content:""}.var-icon-image-outline:before{content:""}.var-icon-bell:before{content:""}.var-icon-bell-outline:before{content:""}.var-icon-home:before{content:""}.var-icon-home-outline:before{content:""}.var-icon-map-marker:before{content:""}.var-icon-map-marker-outline:before{content:""}.var-icon-magnify-plus:before{content:""}.var-icon-magnify-plus-outline:before{content:""}.var-icon-magnify-minus:before{content:""}.var-icon-magnify-minus-outline:before{content:""}.var-icon-play-circle:before{content:""}.var-icon-play-circle-outline:before{content:""}.var-icon-help-circle:before{content:""}.var-icon-help-circle-outline:before{content:""}.var-icon-plus-circle:before{content:""}.var-icon-plus-circle-outline:before{content:""}.var-icon-check:before{content:""}.var-icon-window-close:before{content:""}.var-icon-plus:before{content:""}.var-icon-minus:before{content:""}.var-icon-chevron-up:before{content:""}.var-icon-chevron-down:before{content:""}.var-icon-chevron-left:before{content:""}.var-icon-chevron-right:before{content:""}.var-icon-menu-up:before{content:""}.var-icon-menu-down:before{content:""}.var-icon-menu-left:before{content:""}.var-icon-menu-right:before{content:""}.var-icon-upload:before{content:""}.var-icon-download:before{content:""}.var-icon-format-list-checkbox:before{content:""}.var-icon-menu:before{content:""}.var-icon-menu-open:before{content:""}.var-icon-dots-vertical:before{content:""}.var-icon-message-text-outline:before{content:""}.var-icon-message-processing-outline:before{content:""}.var-icon-white-balance-sunny:before{content:""}.var-icon-weather-cloudy:before{content:""}.var-icon-weather-lightning:before{content:""}.var-icon-weather-pouring:before{content:""}.var-icon-weather-snowy:before{content:""}.var-icon-weather-rainy:before{content:""}.var-icon-translate:before{content:""}.var-icon-magnify:before{content:""}.var-icon-github:before{content:""}.var-icon-refresh:before{content:""}.var-icon-arrow-down:before{content:""}.var-icon-power:before{content:""}.var-icon-file-document-outline:before{content:""}.var-icon-fire:before{content:""}.var-icon-wifi:before{content:""}.var-icon-wrench:before{content:""}.var-icon-cake-variant:before{content:""}.var-icon-notebook:before{content:""}.var-icon-cellphone:before{content:""}.var-icon-weather-night:before{content:""}.var-icon-xml:before{content:""}.var-icon-content-copy:before{content:""}.var-icon-qrcode-scan:before{content:""}.var-icon-barcode-scan:before{content:""}.var-icon-shopping:before{content:""}.var-icon-shopping-outline:before{content:""}.var-icon-card-account-details:before{content:""}.var-icon-card-account-details-outline:before{content:""}.var-icon-pin:before{content:""}.var-icon-pin-off:before{content:""}.var-icon-pin-outline:before{content:""}.var-icon-pin-off-outline:before{content:""}.var-icon-code-json:before{content:""}.var-icon-view-outline:before{content:""}.var-icon-view:before{content:""}.var-icon-thumb-down-outline:before{content:""}.var-icon-thumb-down:before{content:""}.var-icon-thumb-up-outline:before{content:""}.var-icon-thumb-up:before{content:""}.var-icon-lock:before{content:""}.var-icon-lock-outline:before{content:""}.var-icon-email:before{content:""}.var-icon-email-outline:before{content:""}:root{--icon-size: 20px}.var-icon{position:relative;display:inline-flex;justify-content:center;align-items:center;vertical-align:bottom;color:inherit;font-size:var(--icon-size)}.var-icon:before{position:relative;display:inline-block;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;font-weight:400;font-style:normal;line-height:1}.var-icon--shrinking{transform:scale(0);transition-property:transform}.var-icon__image{width:var(--icon-size);height:var(--icon-size);object-fit:cover}:root{--ripple-cubic-bezier: cubic-bezier(.68, .01, .62, .6);--ripple-color: currentColor}.var-ripple{position:absolute;transition:transform .2s var(--ripple-cubic-bezier),opacity .14s linear;top:0;left:0;border-radius:50%;opacity:0;will-change:transform,opacity;pointer-events:none;z-index:100;background-color:var(--ripple-color)}:root{--popup-content-background-color: #fff;--popup-overlay-background-color: rgba(0, 0, 0, .6)}.var-fade-enter-from,.var-fade-leave-to{opacity:0}.var-fade-enter-active,.var-fade-leave-active{transition:opacity .25s}.var-pop-center-enter-from,.var-pop-center-leave-to{transform:scale(.3)}.var-pop-center-enter-active,.var-pop-center-leave-active{transition:all .25s}.var-pop-bottom-enter-from,.var-pop-bottom-leave-to{transform:translateY(100%)}.var-pop-bottom-enter-active,.var-pop-bottom-leave-active{transition:all .25s}.var-pop-top-enter-from,.var-pop-top-leave-to{transform:translateY(-100%)}.var-pop-top-enter-active,.var-pop-top-leave-active{transition:all .25s}.var-pop-left-enter-from,.var-pop-left-leave-to{transform:translate(-100%)}.var-pop-left-enter-active,.var-pop-left-leave-active{transition:all .25s}.var-pop-right-enter-from,.var-pop-right-leave-to{transform:translate(100%)}.var-pop-right-enter-active,.var-pop-right-leave-active{transition:all .25s}.var-popup{display:flex;justify-content:center;align-items:center;position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto}.var-popup__overlay{display:flex;justify-content:center;align-items:center;position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--popup-overlay-background-color);transition:all .25s}.var-popup__content{overflow:auto;transition:all .25s}.var-popup--content-background-color{background-color:var(--popup-content-background-color)}.var-popup--center{position:relative}.var-popup--bottom{min-width:100%;position:absolute;left:0;bottom:0}.var-popup--top{min-width:100%;position:absolute;left:0;top:0}.var-popup--left{min-height:100%;position:absolute;left:0;top:0}.var-popup--right{min-height:100%;position:absolute;right:0;top:0}.var-popup--safe-area{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.var-popup--safe-area-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}:root{--action-sheet-border-radius: 2px;--action-sheet-title-color: #888;--action-sheet-title-padding: 10px 16px;--action-sheet-title-font-size: 14px;--action-sheet-action-item-height: 48px;--action-sheet-action-item-padding: 0 18px;--action-sheet-action-item-color: #333;--action-sheet-action-item-disabled-color: var(--color-text-disabled);--action-sheet-icon-margin: 0 20px 0 0;--action-sheet-icon-size: 24px;--action-sheet-background: #fff}.var-action-sheet{padding:10px 0;background:var(--action-sheet-background);transition:background-color .25s}.var-action-sheet__popup-radius{border-radius:var(--action-sheet-border-radius)}.var-action-sheet__title{padding:var(--action-sheet-title-padding);color:var(--action-sheet-title-color);font-size:var(--action-sheet-title-font-size)}.var-action-sheet__action-item{display:flex;align-items:center;height:var(--action-sheet-action-item-height);padding:var(--action-sheet-action-item-padding);color:var(--action-sheet-action-item-color);cursor:pointer}.var-action-sheet__action-name{overflow:auto;max-height:var(--action-sheet-action-item-height)}.var-action-sheet__action-icon[var-action-sheet-cover]{margin:var(--action-sheet-icon-margin);width:var(--action-sheet-icon-size);height:var(--action-sheet-icon-size);font-size:var(--action-sheet-icon-size)}.var-action-sheet--disabled{color:var(--action-sheet-action-item-disabled-color)!important;cursor:not-allowed}.var-elevation--0{box-shadow:0 0 0 0 var(--shadow-key-umbra-opacity),0 0 0 0 var(--shadow-key-penumbra-opacity),0 0 0 0 var(--shadow-key-ambient-opacity)}.var-elevation--1{box-shadow:0 2px 1px -1px var(--shadow-key-umbra-opacity),0 1px 1px 0 var(--shadow-key-penumbra-opacity),0 1px 3px 0 var(--shadow-key-ambient-opacity)}.var-elevation--2{box-shadow:0 3px 1px -2px var(--shadow-key-umbra-opacity),0 2px 2px 0 var(--shadow-key-penumbra-opacity),0 1px 5px 0 var(--shadow-key-ambient-opacity)}.var-elevation--3{box-shadow:0 3px 3px -2px var(--shadow-key-umbra-opacity),0 3px 4px 0 var(--shadow-key-penumbra-opacity),0 1px 8px 0 var(--shadow-key-ambient-opacity)}.var-elevation--4{box-shadow:0 2px 4px -1px var(--shadow-key-umbra-opacity),0 4px 5px 0 var(--shadow-key-penumbra-opacity),0 1px 10px 0 var(--shadow-key-ambient-opacity)}.var-elevation--5{box-shadow:0 3px 5px -1px var(--shadow-key-umbra-opacity),0 5px 8px 0 var(--shadow-key-penumbra-opacity),0 1px 14px 0 var(--shadow-key-ambient-opacity)}.var-elevation--6{box-shadow:0 3px 5px -1px var(--shadow-key-umbra-opacity),0 6px 10px 0 var(--shadow-key-penumbra-opacity),0 1px 18px 0 var(--shadow-key-ambient-opacity)}.var-elevation--7{box-shadow:0 4px 5px -2px var(--shadow-key-umbra-opacity),0 7px 10px 1px var(--shadow-key-penumbra-opacity),0 2px 16px 1px var(--shadow-key-ambient-opacity)}.var-elevation--8{box-shadow:0 5px 5px -3px var(--shadow-key-umbra-opacity),0 8px 10px 1px var(--shadow-key-penumbra-opacity),0 3px 14px 2px var(--shadow-key-ambient-opacity)}.var-elevation--9{box-shadow:0 5px 6px -3px var(--shadow-key-umbra-opacity),0 9px 12px 1px var(--shadow-key-penumbra-opacity),0 3px 16px 2px var(--shadow-key-ambient-opacity)}.var-elevation--10{box-shadow:0 6px 6px -3px var(--shadow-key-umbra-opacity),0 10px 14px 1px var(--shadow-key-penumbra-opacity),0 4px 18px 3px var(--shadow-key-ambient-opacity)}.var-elevation--11{box-shadow:0 6px 7px -4px var(--shadow-key-umbra-opacity),0 11px 15px 1px var(--shadow-key-penumbra-opacity),0 4px 20px 3px var(--shadow-key-ambient-opacity)}.var-elevation--12{box-shadow:0 7px 8px -4px var(--shadow-key-umbra-opacity),0 12px 17px 2px var(--shadow-key-penumbra-opacity),0 5px 22px 4px var(--shadow-key-ambient-opacity)}.var-elevation--13{box-shadow:0 7px 8px -4px var(--shadow-key-umbra-opacity),0 13px 19px 2px var(--shadow-key-penumbra-opacity),0 5px 24px 4px var(--shadow-key-ambient-opacity)}.var-elevation--14{box-shadow:0 7px 9px -4px var(--shadow-key-umbra-opacity),0 14px 21px 2px var(--shadow-key-penumbra-opacity),0 5px 26px 4px var(--shadow-key-ambient-opacity)}.var-elevation--15{box-shadow:0 8px 9px -5px var(--shadow-key-umbra-opacity),0 15px 22px 2px var(--shadow-key-penumbra-opacity),0 6px 28px 5px var(--shadow-key-ambient-opacity)}.var-elevation--16{box-shadow:0 8px 10px -5px var(--shadow-key-umbra-opacity),0 16px 24px 2px var(--shadow-key-penumbra-opacity),0 6px 30px 5px var(--shadow-key-ambient-opacity)}.var-elevation--17{box-shadow:0 8px 11px -5px var(--shadow-key-umbra-opacity),0 17px 26px 2px var(--shadow-key-penumbra-opacity),0 6px 32px 5px var(--shadow-key-ambient-opacity)}.var-elevation--18{box-shadow:0 9px 11px -5px var(--shadow-key-umbra-opacity),0 18px 28px 2px var(--shadow-key-penumbra-opacity),0 7px 34px 6px var(--shadow-key-ambient-opacity)}.var-elevation--19{box-shadow:0 9px 12px -6px var(--shadow-key-umbra-opacity),0 19px 29px 2px var(--shadow-key-penumbra-opacity),0 7px 36px 6px var(--shadow-key-ambient-opacity)}.var-elevation--20{box-shadow:0 10px 13px -6px var(--shadow-key-umbra-opacity),0 20px 31px 3px var(--shadow-key-penumbra-opacity),0 8px 38px 7px var(--shadow-key-ambient-opacity)}.var-elevation--21{box-shadow:0 10px 13px -6px var(--shadow-key-umbra-opacity),0 21px 33px 3px var(--shadow-key-penumbra-opacity),0 8px 40px 7px var(--shadow-key-ambient-opacity)}.var-elevation--22{box-shadow:0 10px 14px -6px var(--shadow-key-umbra-opacity),0 22px 35px 3px var(--shadow-key-penumbra-opacity),0 8px 42px 7px var(--shadow-key-ambient-opacity)}.var-elevation--23{box-shadow:0 11px 14px -7px var(--shadow-key-umbra-opacity),0 23px 36px 3px var(--shadow-key-penumbra-opacity),0 9px 44px 8px var(--shadow-key-ambient-opacity)}.var-elevation--24{box-shadow:0 11px 15px -7px var(--shadow-key-umbra-opacity),0 24px 38px 3px var(--shadow-key-penumbra-opacity),0 9px 46px 8px var(--shadow-key-ambient-opacity)}:root{--app-bar-color: var(--color-primary);--app-bar-title-padding: 0 12px;--app-bar-title-font-size: var(--font-size-lg);--app-bar-text-color: #fff;--app-bar-height: 54px;--app-bar-left-gap: 6px;--app-bar-right-gap: 6px;--app-bar-border-radius: 4px;--app-bar-font-size: var(--font-size-lg)}.var-app-bar{position:relative;width:100%;font-size:var(--app-bar-font-size);background:var(--app-bar-color);color:var(--app-bar-text-color);transition:background-color .25s}.var-app-bar__toolbar{position:relative;display:flex;justify-content:center;align-items:center;height:var(--app-bar-height)}.var-app-bar__title{font-size:var(--app-bar-title-font-size);flex:1;display:flex;justify-content:center;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding:var(--app-bar-title-padding)}.var-app-bar__left,.var-app-bar__right{display:flex;align-items:center;height:100%}.var-app-bar__left{position:absolute;top:0;left:var(--app-bar-left-gap)}.var-app-bar__right{position:absolute;top:0;right:var(--app-bar-right-gap)}.var-app-bar--round{border-radius:var(--app-bar-border-radius)}.var-app-bar--safe-area-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top);box-sizing:content-box!important}:root{--avatar-text-color: #f5f5f5;--avatar-border-radius: 4px;--avatar-mini-size: 28px;--avatar-small-size: 36px;--avatar-normal-size: 48px;--avatar-large-size: 64px;--avatar-border: 2px solid #fff;--avatar-background-color: #bebebe}.var-avatar{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;color:var(--avatar-text-color);border-radius:var(--avatar-border-radius);background-color:var(--avatar-background-color);transition:background-color .25s}.var-avatar img{width:100%;height:100%}.var-avatar--mini{width:var(--avatar-mini-size);height:var(--avatar-mini-size)}.var-avatar--small{width:var(--avatar-small-size);height:var(--avatar-small-size)}.var-avatar--normal{width:var(--avatar-normal-size);height:var(--avatar-normal-size)}.var-avatar--large{width:var(--avatar-large-size);height:var(--avatar-large-size)}.var-avatar--round{border-radius:50%}.var-avatar--bordered{border:var(--avatar-border)}.var-avatar__text{padding:0 4px;white-space:nowrap}:root{--avatar-group-offset: -10px}.var-avatar-group{display:inline-flex;flex-wrap:wrap}.var-avatar-group--row{margin-left:calc(var(--avatar-group-offset) * -1)}.var-avatar-group--row .var-avatar{margin-left:var(--avatar-group-offset)}.var-avatar-group--column{flex-direction:column;margin-top:calc(var(--avatar-group-offset) * -1)}.var-avatar-group--column .var-avatar{margin-top:var(--avatar-group-offset)}:root{--button-default-color: #f5f5f5;--button-default-text-color: #555;--button-primary-color: var(--color-primary);--button-danger-color: var(--color-danger);--button-success-color: var(--color-success);--button-warning-color: var(--color-warning);--button-info-color: var(--color-info);--button-disabled-color: var(--color-disabled);--button-disabled-text-color: var(--color-text-disabled);--button-border-radius: 4px;--button-mini-padding: 0 9px;--button-small-padding: 0 11px;--button-normal-padding: 0 15px;--button-large-padding: 0 22px;--button-round-padding: 6px;--button-mini-height: 20px;--button-small-height: 28px;--button-normal-height: 36px;--button-large-height: 44px;--button-mini-font-size: var(--font-size-xs);--button-small-font-size: var(--font-size-sm);--button-normal-font-size: var(--font-size-md);--button-large-font-size: var(--font-size-lg)}.var-button{position:relative;justify-content:center;align-items:center;outline:none;border:none;border-radius:var(--button-border-radius);user-select:none;cursor:pointer;font-family:inherit;transition:box-shadow .2s,background-color .25s;will-change:box-shadow;-webkit-tap-highlight-color:rgba(0,0,0,0);white-space:nowrap}.var-button:active{box-shadow:0 3px 5px -1px var(--shadow-key-umbra-opacity),0 5px 8px 0 var(--shadow-key-penumbra-opacity),0 1px 14px 0 var(--shadow-key-ambient-opacity)}.var-button__content{display:flex;align-items:center;flex-wrap:wrap}.var-button__loading[var-button-cover]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.var-button--default{color:var(--button-default-text-color);background-color:var(--button-default-color)}.var-button--primary{color:#fff;background-color:var(--button-primary-color)}.var-button--info{color:#fff;background-color:var(--button-info-color)}.var-button--success{color:#fff;background-color:var(--button-success-color)}.var-button--warning{color:#fff;background-color:var(--button-warning-color)}.var-button--danger{color:#fff;background-color:var(--button-danger-color)}.var-button--disabled{background-color:var(--button-disabled-color);color:var(--button-disabled-text-color);cursor:not-allowed;box-shadow:none!important}.var-button--block{width:100%}.var-button--text{background-color:transparent}.var-button--text:active{box-shadow:none}.var-button--text-default{color:inherit}.var-button--text-primary{color:var(--button-primary-color)}.var-button--text-info{color:var(--button-info-color)}.var-button--text-success{color:var(--button-success-color)}.var-button--text-warning{color:var(--button-warning-color)}.var-button--text-danger{color:var(--button-danger-color)}.var-button--text-disabled{color:var(--button-disabled-text-color)}.var-button--normal{height:var(--button-normal-height);padding:var(--button-normal-padding);font-size:var(--button-normal-font-size)}.var-button--large{height:var(--button-large-height);padding:var(--button-large-padding);font-size:var(--button-large-font-size)}.var-button--small{height:var(--button-small-height);padding:var(--button-small-padding);font-size:var(--button-small-font-size)}.var-button--mini{height:var(--button-mini-height);padding:var(--button-mini-padding);font-size:var(--button-mini-font-size)}.var-button--round{padding:var(--button-round-padding);border-radius:50%;height:auto}.var-button--outline{border:thin solid currentColor}.var-button--hidden{opacity:0}:root{--back-top-right: 40px;--back-top-bottom: 40px;--back-top-button-size: 40px}.var-back-top{position:fixed;z-index:100;right:var(--back-top-right);bottom:var(--back-top-bottom);transform:scale(0);transition:.3s var(--cubic-bezier);-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-back-top .var-button[var-back-top-cover]{width:var(--back-top-button-size);height:var(--back-top-button-size)}.var-back-top--active{transform:scale(1)}:root{--badge-content-padding: 2px 6px;--badge-icon-size: 12px;--badge-default-color: #e0e0e0;--badge-primary-color: var(--color-primary);--badge-danger-color: var(--color-danger);--badge-success-color: var(--color-success);--badge-warning-color: var(--color-warning);--badge-info-color: var(--color-info)}.var-badge{display:inline-block;position:relative;transition:background-color .25s}.var-badge__content{color:#fff;border-radius:100px;font-size:12px;padding:2px 6px;vertical-align:middle;text-align:center;display:inline-block}.var-badge__icon[var-badge-cover]{font-size:var(--badge-icon-size)}.var-badge--icon{padding:2px 4px}.var-badge--dot{box-sizing:content-box;width:8px;height:8px;border-radius:8px;padding:0}.var-badge--default{background:var(--badge-default-color)}.var-badge--primary{background:var(--badge-primary-color)}.var-badge--info{background:var(--badge-info-color)}.var-badge--warning{background:var(--badge-warning-color)}.var-badge--success{background:var(--badge-success-color)}.var-badge--danger{background:var(--badge-danger-color)}.var-badge--right-top{position:absolute;top:0;right:0;transform:translateY(-50%) translate(50%)}.var-badge--left-top{position:absolute;top:0;left:0;transform:translateY(-50%) translate(-50%)}.var-badge--right-bottom{position:absolute;bottom:0;right:0;transform:translateY(50%) translate(50%)}.var-badge--left-bottom{position:absolute;bottom:0;left:0;transform:translateY(50%) translate(-50%)}.var-badge-fade-enter-active,.var-badge-fade-leave-active{transition:opacity .15s var(--cubic-bezier)}.var-badge-fade-enter-from,.var-badge-fade-leave-to{opacity:0}:root{--loading-opacity: .38;--loading-desc-margin: 8px 0 0}.var-loading{--loading-normal-width: 50px;--loading-normal-height: calc(var(--font-size-md) + 2px);--loading-large-width: 64px;--loading-large-height: calc(var(--font-size-lg) + 2px);--loading-small-width: 36px;--loading-small-height: calc(var(--font-size-sm) + 2px);--loading-mini-width: 22px;--loading-mini-height: calc(var(--font-size-xs) + 2px);position:relative}.var-loading__content{position:relative;transition:opacity .3s;opacity:1}.var-loading__content--active{opacity:var(--loading-opacity)}.var-loading__content-mask{position:absolute;left:0;right:0;top:0;bottom:0}.var-loading__body{display:flex;justify-content:center;align-items:center;height:100%;flex-direction:column}.var-loading__inside{position:absolute;left:50%;top:0;transform:translate(-50%);max-height:50vh;z-index:1}.var-loading__description{color:var(--color-primary);margin:var(--loading-desc-margin)}.var-loading__description--large{font-size:var(--font-size-lg)}.var-loading__description--normal{font-size:var(--font-size-md)}.var-loading__description--small{font-size:var(--font-size-sm)}.var-loading__description--mini{font-size:var(--font-size-xs)}.var-loading__circle{display:flex}.var-loading__circle-block{display:inline-block;color:var(--color-primary);animation:circle 1.8s linear infinite}.var-loading__circle-block--large{width:36px;height:36px}.var-loading__circle-block--normal{width:30px;height:30px}.var-loading__circle-block--small{width:24px;height:24px}.var-loading__circle-block--mini{width:18px;height:18px}.var-loading__circle-block svg{display:block;width:100%;height:100%}.var-loading__circle-block svg circle{animation:circular 1.5s ease-in-out infinite;stroke:currentColor;stroke-width:3;stroke-linecap:round}.var-loading__wave{--loading-wave-size-item-width: 5px;--loading-wave-size-item-margin: 5px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.var-loading__wave--large{width:var(--loading-large-width);height:var(--loading-large-height)}.var-loading__wave--normal{width:var(--loading-normal-width);height:var(--loading-normal-height)}.var-loading__wave--small{width:var(--loading-small-width);height:var(--loading-small-height)}.var-loading__wave--mini{width:var(--loading-mini-width);height:var(--loading-mini-height)}.var-loading__wave-item{height:100%;display:inline-block;animation:1.2s ease-in-out infinite wave;background-color:var(--color-primary)}.var-loading__wave-item:nth-child(1){animation-delay:-1.2s;margin-left:0}.var-loading__wave-item:nth-child(2){animation-delay:-1.1s}.var-loading__wave-item:nth-child(3){animation-delay:-1s}.var-loading__wave-item:nth-child(4){animation-delay:-.9s}.var-loading__wave-item:nth-child(5){animation-delay:-.8s}.var-loading__wave-item--large{width:var(--loading-wave-size-item-width);margin-left:var(--loading-wave-size-item-margin)}.var-loading__wave-item--normal{width:calc(var(--loading-wave-size-item-width) - 1px);margin-left:calc(var(--loading-wave-size-item-margin) - 1px)}.var-loading__wave-item--small{width:calc(var(--loading-wave-size-item-width) - 2px);margin-left:calc(var(--loading-wave-size-item-margin) - 2px)}.var-loading__wave-item--mini{width:calc(var(--loading-wave-size-item-width) - 3px);margin-left:calc(var(--loading-wave-size-item-margin) - 3px)}@keyframes wave{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}.var-loading__cube{--loading-cube-size-item-width: 10px;--loading-cube-size-item-height: 10px;--loading-cube-size-item-margin: 5px;display:flex;align-items:center;flex-shrink:0}.var-loading__cube--large{width:var(--loading-large-width);height:var(--loading-large-height)}.var-loading__cube--normal{width:var(--loading-normal-width);height:var(--loading-normal-height)}.var-loading__cube--small{width:var(--loading-small-width);height:var(--loading-small-height)}.var-loading__cube--mini{width:var(--loading-mini-width);height:var(--loading-mini-height)}.var-loading__cube-item{display:inline-block;transform-origin:right bottom;animation:1.5s ease infinite cube;background-color:var(--color-primary)}.var-loading__cube-item:nth-child(1){animation-delay:.2s;margin-left:0}.var-loading__cube-item:nth-child(2){animation-delay:.4s}.var-loading__cube-item:nth-child(3){animation-delay:.6s}.var-loading__cube-item:nth-child(4){animation-delay:.8s}.var-loading__cube-item--large{height:var(--loading-cube-size-item-height);width:var(--loading-cube-size-item-width);margin-left:var(--loading-cube-size-item-margin)}.var-loading__cube-item--normal{height:calc(var(--loading-cube-size-item-height) - 2px);width:calc(var(--loading-cube-size-item-width) - 2px);margin-left:calc(var(--loading-cube-size-item-margin) - 1px)}.var-loading__cube-item--small{height:calc(var(--loading-cube-size-item-height) - 4px);width:calc(var(--loading-cube-size-item-width) - 4px);margin-left:calc(var(--loading-cube-size-item-margin) - 2px)}.var-loading__cube-item--mini{height:calc(var(--loading-cube-size-item-height) - 6px);width:calc(var(--loading-cube-size-item-width) - 6px);margin-left:calc(var(--loading-cube-size-item-margin) - 3px)}@keyframes cube{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:rotate(90deg) scale(.3)}}.var-loading__rect{--loading-rect-size-item-width: 8px;--loading-rect-size-item-height: 100%;display:flex;flex-wrap:nowrap;justify-content:center;align-items:center;flex-shrink:0}.var-loading__rect--large{width:var(--loading-large-width);height:var(--loading-large-height)}.var-loading__rect--normal{width:var(--loading-normal-width);height:var(--loading-normal-height)}.var-loading__rect--small{width:var(--loading-small-width);height:var(--loading-small-height)}.var-loading__rect--mini{width:var(--loading-mini-width);height:var(--loading-mini-height)}.var-loading__rect-item{animation:2s ease-in-out infinite rect;background-color:var(--color-primary)}.var-loading__rect-item:nth-child(1){animation-delay:1.75s}.var-loading__rect-item:nth-child(2){animation-delay:1.5s}.var-loading__rect-item:nth-child(3){animation-delay:1.25s}.var-loading__rect-item:nth-child(4){animation-delay:1s}.var-loading__rect-item:nth-child(5){animation-delay:.75s}.var-loading__rect-item:nth-child(6){animation-delay:.5s}.var-loading__rect-item:nth-child(7){animation-delay:.25s}.var-loading__rect-item:nth-child(8){animation-delay:0s}.var-loading__rect-item--large{height:var(--loading-rect-size-item-height);width:var(--loading-rect-size-item-width)}.var-loading__rect-item--normal{height:calc(var(--loading-rect-size-item-height) * .9);width:calc(var(--loading-rect-size-item-width) * .8)}.var-loading__rect-item--small{height:calc(var(--loading-rect-size-item-height) * .8);width:calc(var(--loading-rect-size-item-width) * .6)}.var-loading__rect-item--mini{height:calc(var(--loading-rect-size-item-height) * .7);width:calc(var(--loading-rect-size-item-width) * .4)}@keyframes rect{0%{opacity:.3}25%{opacity:1}50%{opacity:.3}65%{opacity:1}to{opacity:.3}}.var-loading__disappear{--loading-disappear-size-item-width: 15px;--loading-disappear-size-item-height: 15px;display:flex;justify-content:space-around;align-items:center;flex-flow:nowrap;flex-shrink:0}.var-loading__disappear--large{width:var(--loading-large-width);height:var(--loading-large-height)}.var-loading__disappear--normal{width:var(--loading-normal-width);height:var(--loading-normal-height)}.var-loading__disappear--small{width:var(--loading-small-width);height:var(--loading-small-height)}.var-loading__disappear--mini{width:var(--loading-mini-width);height:var(--loading-mini-height)}.var-loading__disappear-item{border-radius:50%;animation:.5s ease-in-out infinite alternate disappear;background-color:var(--color-primary)}.var-loading__disappear-item:nth-child(1){animation-delay:-.4s}.var-loading__disappear-item:nth-child(2){animation-delay:-.2s}.var-loading__disappear-item:nth-child(3){animation-delay:0s}.var-loading__disappear-item--large{height:var(--loading-disappear-size-item-height);width:var(--loading-disappear-size-item-width)}.var-loading__disappear-item--normal{height:calc(var(--loading-disappear-size-item-height) * .8);width:calc(var(--loading-disappear-size-item-width) * .8)}.var-loading__disappear-item--small{height:calc(var(--loading-disappear-size-item-height) * .6);width:calc(var(--loading-disappear-size-item-width) * .6)}.var-loading__disappear-item--mini{height:calc(var(--loading-disappear-size-item-height) * .4);width:calc(var(--loading-disappear-size-item-width) * .4)}@keyframes disappear{0%{opacity:1}to{opacity:0}}:root{--bottom-navigation-height: 50px;--bottom-navigation-z-index: 1;--bottom-navigation-background-color: #fff;--bottom-navigation-border-color: #e3e3e3;--bottom-navigation-fab-offset: 4px}.var-bottom-navigation{width:100%;height:var(--bottom-navigation-height);display:flex;position:relative;background-color:var(--bottom-navigation-background-color);transition:background-color .25s,border-color .25s;-webkit-tap-highlight-color:transparent}.var-bottom-navigation--safe-area{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);box-sizing:content-box!important}.var-bottom-navigation--fixed{position:fixed;left:0;bottom:0}.var-bottom-navigation--border{border-top:1px solid var(--bottom-navigation-border-color)}.var-bottom-navigation__fab[var-bottom-navigation__fab]{width:var(--bottom-navigation-height);height:var(--bottom-navigation-height);position:absolute;z-index:2;transform:translateY(-50%);overflow:hidden;transition:right .25s cubic-bezier(.4,0,.2,1) 0ms}.var-bottom-navigation--fab-center{right:calc(50% - var(--bottom-navigation-height) / 2)}.var-bottom-navigation--fab-right{right:var(--bottom-navigation-fab-offset)}:root{--bottom-navigation-item-font-size: var(--font-size-sm);--bottom-navigation-item-inactive-color: #646566;--bottom-navigation-item-active-color: var(--color-primary);--bottom-navigation-item-active-background-color: #fff;--bottom-navigation-item-line-height: 1;--bottom-navigation-item-icon-size: 22px;--bottom-navigation-item-icon-margin-bottom: 5px}.var-bottom-navigation-item{height:100%;padding:6px 12px 8px;position:relative;display:inline-flex;flex:1 1 0%;flex-direction:column;align-items:center;justify-content:center;line-height:var(--bottom-navigation-item-line-height);color:var(--bottom-navigation-item-inactive-color);cursor:pointer;user-select:none;vertical-align:middle;-webkit-appearance:none;appearance:none;text-decoration:none;background-color:transparent;outline:0;border:0;transition:color .25s,margin .25s}.var-bottom-navigation-item--active{color:var(--bottom-navigation-item-active-color);background-color:var(--bottom-navigation-item-active-background-color);transition:background-color .25s}.var-bottom-navigation-item--active .var-bottom-navigation-item__label{font-size:calc(var(--bottom-navigation-item-font-size) * 1.16)}.var-bottom-navigation-item--right-half-space{margin-right:calc(var(--bottom-navigation-height) / 2)}.var-bottom-navigation-item--left-half-space{margin-left:calc(var(--bottom-navigation-height) / 2)}.var-bottom-navigation-item--right-space{margin-right:calc(var(--bottom-navigation-height) + var(--bottom-navigation-fab-offset))}.var-bottom-navigation-item__icon[var-bottom-navigation-item-cover]{font-size:var(--bottom-navigation-item-icon-size)}.var-bottom-navigation-item__badge[var-bottom-navigation-item-cover]{position:absolute;left:4px;transform:translateY(-22px)}.var-bottom-navigation-item__label{margin-top:var(--bottom-navigation-item-icon-margin-bottom);font-size:var(--bottom-navigation-item-font-size);transition:font-size .2s ease .1s;white-space:nowrap}:root{--breadcrumb-active-color: var(--color-primary);--breadcrumb-inactive-color: #888;--breadcrumb-separator-margin: 0 10px;--breadcrumb-separator-font-size: 14px}.var-breadcrumb{display:flex;align-items:center;color:var(--breadcrumb-inactive-color)}.var-breadcrumb__separator{margin:var(--breadcrumb-separator-margin);font-size:var(--breadcrumb-separator-font-size)}.var-breadcrumb--active{color:var(--breadcrumb-active-color);transition:opacity .25s}.var-breadcrumb--active:hover{opacity:.7;cursor:pointer}.var-breadcrumbs{display:flex;flex-wrap:wrap;align-items:center}.var-hover-overlay{position:absolute;top:0;left:0;right:0;bottom:0;border-radius:inherit;background-color:currentColor;opacity:0;transition:opacity .15s;will-change:opacity;pointer-events:none}.var-hover-overlay--hovering{opacity:.15}.var-button-group{display:inline-flex;border-radius:var(--button-border-radius);max-width:100%;overflow:auto}.var-button-group .var-button:active{box-shadow:none}.var-button-group--horizontal .var-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.var-button-group--horizontal .var-button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.var-button-group--horizontal .var-button:not(:first-child):not(:last-child){border-radius:0}.var-button-group--horizontal.var-button-group--mode-text .var-button{border-right:thin solid currentColor}.var-button-group--horizontal.var-button-group--mode-text .var-button:last-child{border:none}.var-button-group--horizontal.var-button-group--mode-outline .var-button:not(:first-child){border-left:none}.var-button-group--vertical{flex-direction:column}.var-button-group--vertical .var-button:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0}.var-button-group--vertical .var-button:last-child{border-top-left-radius:0;border-top-right-radius:0}.var-button-group--vertical .var-button:not(:first-child):not(:last-child){border-radius:0}.var-button-group--vertical.var-button-group--mode-text .var-button{border-bottom:thin solid currentColor}.var-button-group--vertical.var-button-group--mode-text .var-button:last-child{border:none}.var-button-group--vertical.var-button-group--mode-outline .var-button:not(:first-child){border-top:none}:root{--card-padding: 0 0 15px 0;--card-background: #fff;--card-outline-color: rgba(0, 0, 0, .12);--card-border-radius: 4px;--card-image-width: 100%;--card-row-image-width: 140px;--card-image-height: 200px;--card-row-height: 140px;--card-title-color: #333;--card-title-font-size: 20px;--card-title-padding: 0 12px;--card-title-margin: 15px 0 0 0;--card-title-row-margin: 12px 0;--card-subtitle-color: rgba(0, 0, 0, .6);--card-subtitle-font-size: 14px;--card-subtitle-padding: 0 12px;--card-subtitle-margin: 10px 0 0 0;--card-subtitle-row-margin: -8px 0 0 0;--card-description-color: rgba(0, 0, 0, .6);--card-description-font-size: 14px;--card-description-margin: 20px 0 0 0;--card-description-padding: 0 13px;--card-footer-padding: 0 12px;--card-footer-right: 13px;--card-footer-bottom: 9px;--card-footer-margin: 30px 0 0 0;--card-line-height: 22px;--card-row-line-height: 1.5;--card-floating-buttons-bottom: 16px;--card-floating-buttons-right: 16px;--card-floating-buttons-color: #fff;--card-close-button-icon-size: 24px;--card-close-button-size: 56px;--card-close-button-primary-color: #212121}.var-card{border-radius:var(--card-border-radius);overflow:hidden;width:100%}.var-card--outline{border:thin solid var(--card-outline-color)}.var-card__floater{display:flex;flex-direction:column;position:static;line-height:var(--card-line-height);background:var(--card-background);transition:background-color .25s,color .25s;transition-timing-function:cubic-bezier(.45,.19,.06,.89)}.var-card__container{padding:var(--card-padding);flex-grow:1;min-width:0}.var-card--layout-row .var-card__floater{min-height:var(--card-row-height);height:100%;flex-direction:row;position:relative;line-height:var(--card-row-line-height)}.var-card__image{width:var(--card-image-width);height:var(--card-image-height);display:block}.var-card--layout-row .var-card__image{width:var(--card-row-image-width);height:auto;display:block;flex-shrink:0}.var-card__title{font-size:var(--card-title-font-size);padding:var(--card-title-padding);margin:var(--card-title-margin);color:var(--card-title-color);word-break:break-word}.var-card--layout-row .var-card__title{max-width:100%;overflow:hidden;margin:var(--card-title-row-margin);text-overflow:ellipsis;white-space:nowrap}.var-card__subtitle{font-size:var(--card-subtitle-font-size);color:var(--card-subtitle-color);padding:var(--card-subtitle-padding);margin:var(--card-subtitle-margin);word-break:break-word}.var-card--layout-row .var-card__subtitle{margin:var(--card-subtitle-row-margin);text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.var-card__description{font-size:var(--card-description-font-size);color:var(--card-description-color);margin:var(--card-description-margin);padding:var(--card-description-padding);word-break:break-all}.var-card__footer{display:flex;justify-content:flex-end;padding:var(--card-footer-padding);margin:var(--card-footer-margin)}.var-card--layout-row .var-card__footer{position:absolute;padding:0;right:var(--card-footer-right);bottom:var(--card-footer-bottom)}.var-card__floating-content{overflow:hidden;transition-timing-function:cubic-bezier(.45,.19,.06,.89)}.var-card__floating-buttons{position:fixed;bottom:var(--card-floating-buttons-bottom);right:var(--card-floating-buttons-right);color:var(--card-floating-buttons-color)}.var-card__close-button[var-card-cover]{padding:var(--card-close-button-padding);width:var(--card-close-button-size);height:var(--card-close-button-size);background-color:var(--card-close-button-primary-color)}.var-card__close-button-icon[var-card-cover]{font-size:var(--card-close-button-icon-size)}:root{--cell-color: var(--color-text);--cell-font-size: var(--font-size-md);--cell-description-font-size: var(--font-size-sm);--cell-description-color: rgba(0, 0, 0, .6);--cell-description-margin-top: 4px;--cell-padding: 10px 12px;--cell-min-height: 40px;--cell-border-color: #bcc2cb;--cell-border-left: 12px;--cell-border-right: 12px;--cell-icon-right: 8px;--cell-extra-left: 8px}.var-cell{align-items:center;display:flex;min-height:var(--cell-min-height);outline:none;width:100%;padding:var(--cell-padding);position:relative;box-sizing:border-box;font-size:var(--cell-font-size);color:var(--cell-color)}.var-cell--border:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;bottom:0;right:var(--cell-border-right);left:var(--cell-border-left);border-bottom:1px solid var(--cell-border-color);transform:scaleY(.5)}.var-cell__icon{margin-right:var(--cell-icon-right);flex:0}.var-cell__content{flex:1;min-width:0}.var-cell__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.var-cell__description{font-size:var(--cell-description-font-size);color:var(--cell-description-color);margin-top:var(--cell-description-margin-top)}.var-cell__extra{flex:0;margin-left:var(--cell-extra-left)}.var-cell--cursor{cursor:pointer}:root{--form-details-error-message-color: var(--color-danger);--form-details-extra-message-color: #888;--form-details-margin-top: 6px;--form-details-font-size: 12px;--form-details-message-margin-right: 4px}.var-form-details{display:flex;justify-content:space-between;font-size:var(--form-details-font-size);margin-top:var(--form-details-margin-top)}.var-form-details-enter-from,.var-form-details-leave-to{opacity:0;margin-top:2px!important}.var-form-details-enter-active,.var-form-details-leave-active{transition:.2s all var(--cubic-bezier)}.var-form-details__message-enter-from,.var-form-details__message-leave-to{opacity:0}.var-form-details__message-enter-active,.var-form-details__message-leave-active{transition:.2s all var(--cubic-bezier)}.var-form-details__error-message{flex-grow:1;color:var(--form-details-error-message-color);margin-right:var(--form-details-message-margin-right);user-select:none;text-align:left}.var-form-details__extra-message{flex-shrink:0;color:var(--form-details-extra-message-color);user-select:none;text-align:right}:root{--checkbox-checked-color: var(--color-primary);--checkbox-unchecked-color: #555;--checkbox-disabled-color: var(--color-text-disabled);--checkbox-error-color: var(--color-danger);--checkbox-action-padding: 6px;--checkbox-text-color: #555;--checkbox-icon-size: 24px}.var-checkbox{display:flex;align-items:center;transform:translate(calc(-1 * var(--checkbox-action-padding)));cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-checkbox__wrap{display:inline-flex;flex-direction:column}.var-checkbox__action{position:relative;display:flex;justify-content:center;align-items:center;flex-shrink:0;padding:var(--checkbox-action-padding);border-radius:50%;transition:background-color .25s,color .25s}.var-checkbox__icon[var-checkbox-cover]{display:block;font-size:var(--checkbox-icon-size)}.var-checkbox__text{color:var(--checkbox-text-color)}.var-checkbox--with-animation{animation:var-vibrate-animation .25s}.var-checkbox--checked{color:var(--checkbox-checked-color)}.var-checkbox--unchecked{color:var(--checkbox-unchecked-color)}.var-checkbox--disabled{color:var(--checkbox-disabled-color);cursor:not-allowed}.var-checkbox--error{color:var(--checkbox-error-color)}.var-checkbox-group{display:flex;flex-wrap:wrap}.var-checkbox-group--horizontal{flex-direction:row}.var-checkbox-group--vertical{flex-direction:column}:root{--chip-default-text-color: #555;--chip-default-color: #e0e0e0;--chip-primary-color: var(--color-primary);--chip-danger-color: var(--color-danger);--chip-success-color: var(--color-success);--chip-warning-color: var(--color-warning);--chip-info-color: var(--color-info);--chip-border-radius: 2px;--chip-normal-height: 32px;--chip-large-height: 40px;--chip-small-height: 24px;--chip-mini-height: 16px;--chip-round-radius: 100px;--chip-normal-padding: 0 10px;--chip-large-padding: 0 17px;--chip-small-padding: 0 6px;--chip-mini-padding: 0 4px;--chip-text-normal-margin: 0 5px;--chip-text-large-margin: 0 5px;--chip-text-small-margin: 0 3px;--chip-text-mini-margin: 0 2px;--chip-mini-font-size: var(--font-size-xs);--chip-small-font-size: var(--font-size-sm);--chip-normal-font-size: var(--font-size-md);--chip-large-font-size: var(--font-size-lg)}.var-fade-leave-to{opacity:0}.var-fade-leave-active{transition:opacity .3s}.var-chip{justify-content:center;align-items:center;font-family:Roboto,sans-serif;border-radius:var(--chip-border-radius);cursor:default;border:thin solid transparent;vertical-align:middle;transition:background-color .25s}.var-chip--default{color:var(--chip-default-text-color);background:var(--chip-default-color)}.var-chip--primary{color:#fff;background-color:var(--chip-primary-color)}.var-chip--info{color:#fff;background-color:var(--chip-info-color)}.var-chip--success{color:#fff;background-color:var(--chip-success-color)}.var-chip--warning{color:#fff;background-color:var(--chip-warning-color)}.var-chip--danger{color:#fff;background-color:var(--chip-danger-color)}.var-chip__plain{background-color:transparent}.var-chip__plain:active{box-shadow:none}.var-chip__plain-default{color:inherit;border-color:currentColor}.var-chip__plain-primary{color:var(--chip-primary-color);border-color:currentColor}.var-chip__plain-info{color:var(--chip-info-color);border-color:currentColor}.var-chip__plain-success{color:var(--chip-success-color);border-color:currentColor}.var-chip__plain-warning{color:var(--chip-warning-color);border-color:currentColor}.var-chip__plain-danger{color:var(--chip-danger-color);border-color:currentColor}.var-chip--round{border-radius:var(--chip-round-radius)}.var-chip--normal{font-size:var(--chip-normal-font-size);padding:var(--chip-normal-padding);height:var(--chip-normal-height)}.var-chip--large{padding:var(--chip-large-padding);font-size:var(--chip-large-font-size);height:var(--chip-large-height)}.var-chip--small{padding:var(--chip-small-padding);font-size:var(--chip-small-font-size);height:var(--chip-small-height)}.var-chip--mini{padding:var(--chip-mini-padding);font-size:var(--chip-mini-font-size);height:var(--chip-mini-height)}.var-chip--close{cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-chip__text-large{margin:var(--chip-text-large-margin)}.var-chip__text-normal{margin:var(--chip-text-normal-margin)}.var-chip__text-small{margin:var(--chip-text-small-margin)}.var-chip__text-mini{margin:var(--chip-text-mini-margin)}.var-col{transition:all .25s;display:flex!important}.var-col--span-0{display:none!important}.var-col--span-1{flex:0 0 4.16666667%}.var-col--offset-1{margin-left:4.16666667%}.var-col--span-2{flex:0 0 8.33333333%}.var-col--offset-2{margin-left:8.33333333%}.var-col--span-3{flex:0 0 12.5%}.var-col--offset-3{margin-left:12.5%}.var-col--span-4{flex:0 0 16.66666667%}.var-col--offset-4{margin-left:16.66666667%}.var-col--span-5{flex:0 0 20.83333333%}.var-col--offset-5{margin-left:20.83333333%}.var-col--span-6{flex:0 0 25%}.var-col--offset-6{margin-left:25%}.var-col--span-7{flex:0 0 29.16666667%}.var-col--offset-7{margin-left:29.16666667%}.var-col--span-8{flex:0 0 33.33333333%}.var-col--offset-8{margin-left:33.33333333%}.var-col--span-9{flex:0 0 37.5%}.var-col--offset-9{margin-left:37.5%}.var-col--span-10{flex:0 0 41.66666667%}.var-col--offset-10{margin-left:41.66666667%}.var-col--span-11{flex:0 0 45.83333333%}.var-col--offset-11{margin-left:45.83333333%}.var-col--span-12{flex:0 0 50%}.var-col--offset-12{margin-left:50%}.var-col--span-13{flex:0 0 54.16666667%}.var-col--offset-13{margin-left:54.16666667%}.var-col--span-14{flex:0 0 58.33333333%}.var-col--offset-14{margin-left:58.33333333%}.var-col--span-15{flex:0 0 62.5%}.var-col--offset-15{margin-left:62.5%}.var-col--span-16{flex:0 0 66.66666667%}.var-col--offset-16{margin-left:66.66666667%}.var-col--span-17{flex:0 0 70.83333333%}.var-col--offset-17{margin-left:70.83333333%}.var-col--span-18{flex:0 0 75%}.var-col--offset-18{margin-left:75%}.var-col--span-19{flex:0 0 79.16666667%}.var-col--offset-19{margin-left:79.16666667%}.var-col--span-20{flex:0 0 83.33333333%}.var-col--offset-20{margin-left:83.33333333%}.var-col--span-21{flex:0 0 87.5%}.var-col--offset-21{margin-left:87.5%}.var-col--span-22{flex:0 0 91.66666667%}.var-col--offset-22{margin-left:91.66666667%}.var-col--span-23{flex:0 0 95.83333333%}.var-col--offset-23{margin-left:95.83333333%}.var-col--span-24{flex:0 0 100%}.var-col--offset-24{margin-left:100%}@media only screen and (max-width: 767px){.var-col--span-xs-1{flex:0 0 4.16666667%}.var-col--offset-xs-1{margin-left:4.16666667%}.var-col--span-xs-2{flex:0 0 8.33333333%}.var-col--offset-xs-2{margin-left:8.33333333%}.var-col--span-xs-3{flex:0 0 12.5%}.var-col--offset-xs-3{margin-left:12.5%}.var-col--span-xs-4{flex:0 0 16.66666667%}.var-col--offset-xs-4{margin-left:16.66666667%}.var-col--span-xs-5{flex:0 0 20.83333333%}.var-col--offset-xs-5{margin-left:20.83333333%}.var-col--span-xs-6{flex:0 0 25%}.var-col--offset-xs-6{margin-left:25%}.var-col--span-xs-7{flex:0 0 29.16666667%}.var-col--offset-xs-7{margin-left:29.16666667%}.var-col--span-xs-8{flex:0 0 33.33333333%}.var-col--offset-xs-8{margin-left:33.33333333%}.var-col--span-xs-9{flex:0 0 37.5%}.var-col--offset-xs-9{margin-left:37.5%}.var-col--span-xs-10{flex:0 0 41.66666667%}.var-col--offset-xs-10{margin-left:41.66666667%}.var-col--span-xs-11{flex:0 0 45.83333333%}.var-col--offset-xs-11{margin-left:45.83333333%}.var-col--span-xs-12{flex:0 0 50%}.var-col--offset-xs-12{margin-left:50%}.var-col--span-xs-13{flex:0 0 54.16666667%}.var-col--offset-xs-13{margin-left:54.16666667%}.var-col--span-xs-14{flex:0 0 58.33333333%}.var-col--offset-xs-14{margin-left:58.33333333%}.var-col--span-xs-15{flex:0 0 62.5%}.var-col--offset-xs-15{margin-left:62.5%}.var-col--span-xs-16{flex:0 0 66.66666667%}.var-col--offset-xs-16{margin-left:66.66666667%}.var-col--span-xs-17{flex:0 0 70.83333333%}.var-col--offset-xs-17{margin-left:70.83333333%}.var-col--span-xs-18{flex:0 0 75%}.var-col--offset-xs-18{margin-left:75%}.var-col--span-xs-19{flex:0 0 79.16666667%}.var-col--offset-xs-19{margin-left:79.16666667%}.var-col--span-xs-20{flex:0 0 83.33333333%}.var-col--offset-xs-20{margin-left:83.33333333%}.var-col--span-xs-21{flex:0 0 87.5%}.var-col--offset-xs-21{margin-left:87.5%}.var-col--span-xs-22{flex:0 0 91.66666667%}.var-col--offset-xs-22{margin-left:91.66666667%}.var-col--span-xs-23{flex:0 0 95.83333333%}.var-col--offset-xs-23{margin-left:95.83333333%}.var-col--span-xs-24{flex:0 0 100%}.var-col--offset-xs-24{margin-left:100%}.var-col--span-xs-0{display:none!important}}@media only screen and (min-width: 768px) and (max-width: 991px){.var-col--span-sm-1{flex:0 0 4.16666667%}.var-col--offset-sm-1{margin-left:4.16666667%}.var-col--span-sm-2{flex:0 0 8.33333333%}.var-col--offset-sm-2{margin-left:8.33333333%}.var-col--span-sm-3{flex:0 0 12.5%}.var-col--offset-sm-3{margin-left:12.5%}.var-col--span-sm-4{flex:0 0 16.66666667%}.var-col--offset-sm-4{margin-left:16.66666667%}.var-col--span-sm-5{flex:0 0 20.83333333%}.var-col--offset-sm-5{margin-left:20.83333333%}.var-col--span-sm-6{flex:0 0 25%}.var-col--offset-sm-6{margin-left:25%}.var-col--span-sm-7{flex:0 0 29.16666667%}.var-col--offset-sm-7{margin-left:29.16666667%}.var-col--span-sm-8{flex:0 0 33.33333333%}.var-col--offset-sm-8{margin-left:33.33333333%}.var-col--span-sm-9{flex:0 0 37.5%}.var-col--offset-sm-9{margin-left:37.5%}.var-col--span-sm-10{flex:0 0 41.66666667%}.var-col--offset-sm-10{margin-left:41.66666667%}.var-col--span-sm-11{flex:0 0 45.83333333%}.var-col--offset-sm-11{margin-left:45.83333333%}.var-col--span-sm-12{flex:0 0 50%}.var-col--offset-sm-12{margin-left:50%}.var-col--span-sm-13{flex:0 0 54.16666667%}.var-col--offset-sm-13{margin-left:54.16666667%}.var-col--span-sm-14{flex:0 0 58.33333333%}.var-col--offset-sm-14{margin-left:58.33333333%}.var-col--span-sm-15{flex:0 0 62.5%}.var-col--offset-sm-15{margin-left:62.5%}.var-col--span-sm-16{flex:0 0 66.66666667%}.var-col--offset-sm-16{margin-left:66.66666667%}.var-col--span-sm-17{flex:0 0 70.83333333%}.var-col--offset-sm-17{margin-left:70.83333333%}.var-col--span-sm-18{flex:0 0 75%}.var-col--offset-sm-18{margin-left:75%}.var-col--span-sm-19{flex:0 0 79.16666667%}.var-col--offset-sm-19{margin-left:79.16666667%}.var-col--span-sm-20{flex:0 0 83.33333333%}.var-col--offset-sm-20{margin-left:83.33333333%}.var-col--span-sm-21{flex:0 0 87.5%}.var-col--offset-sm-21{margin-left:87.5%}.var-col--span-sm-22{flex:0 0 91.66666667%}.var-col--offset-sm-22{margin-left:91.66666667%}.var-col--span-sm-23{flex:0 0 95.83333333%}.var-col--offset-sm-23{margin-left:95.83333333%}.var-col--span-sm-24{flex:0 0 100%}.var-col--offset-sm-24{margin-left:100%}.var-col--span-sm-0{display:none!important}}@media only screen and (min-width: 992px) and (max-width: 1199px){.var-col--span-md-1{flex:0 0 4.16666667%}.var-col--offset-md-1{margin-left:4.16666667%}.var-col--span-md-2{flex:0 0 8.33333333%}.var-col--offset-md-2{margin-left:8.33333333%}.var-col--span-md-3{flex:0 0 12.5%}.var-col--offset-md-3{margin-left:12.5%}.var-col--span-md-4{flex:0 0 16.66666667%}.var-col--offset-md-4{margin-left:16.66666667%}.var-col--span-md-5{flex:0 0 20.83333333%}.var-col--offset-md-5{margin-left:20.83333333%}.var-col--span-md-6{flex:0 0 25%}.var-col--offset-md-6{margin-left:25%}.var-col--span-md-7{flex:0 0 29.16666667%}.var-col--offset-md-7{margin-left:29.16666667%}.var-col--span-md-8{flex:0 0 33.33333333%}.var-col--offset-md-8{margin-left:33.33333333%}.var-col--span-md-9{flex:0 0 37.5%}.var-col--offset-md-9{margin-left:37.5%}.var-col--span-md-10{flex:0 0 41.66666667%}.var-col--offset-md-10{margin-left:41.66666667%}.var-col--span-md-11{flex:0 0 45.83333333%}.var-col--offset-md-11{margin-left:45.83333333%}.var-col--span-md-12{flex:0 0 50%}.var-col--offset-md-12{margin-left:50%}.var-col--span-md-13{flex:0 0 54.16666667%}.var-col--offset-md-13{margin-left:54.16666667%}.var-col--span-md-14{flex:0 0 58.33333333%}.var-col--offset-md-14{margin-left:58.33333333%}.var-col--span-md-15{flex:0 0 62.5%}.var-col--offset-md-15{margin-left:62.5%}.var-col--span-md-16{flex:0 0 66.66666667%}.var-col--offset-md-16{margin-left:66.66666667%}.var-col--span-md-17{flex:0 0 70.83333333%}.var-col--offset-md-17{margin-left:70.83333333%}.var-col--span-md-18{flex:0 0 75%}.var-col--offset-md-18{margin-left:75%}.var-col--span-md-19{flex:0 0 79.16666667%}.var-col--offset-md-19{margin-left:79.16666667%}.var-col--span-md-20{flex:0 0 83.33333333%}.var-col--offset-md-20{margin-left:83.33333333%}.var-col--span-md-21{flex:0 0 87.5%}.var-col--offset-md-21{margin-left:87.5%}.var-col--span-md-22{flex:0 0 91.66666667%}.var-col--offset-md-22{margin-left:91.66666667%}.var-col--span-md-23{flex:0 0 95.83333333%}.var-col--offset-md-23{margin-left:95.83333333%}.var-col--span-md-24{flex:0 0 100%}.var-col--offset-md-24{margin-left:100%}.var-col--span-md-0{display:none!important}}@media only screen and (min-width: 1200px) and (max-width: 1919px){.var-col--span-lg-1{flex:0 0 4.16666667%}.var-col--offset-lg-1{margin-left:4.16666667%}.var-col--span-lg-2{flex:0 0 8.33333333%}.var-col--offset-lg-2{margin-left:8.33333333%}.var-col--span-lg-3{flex:0 0 12.5%}.var-col--offset-lg-3{margin-left:12.5%}.var-col--span-lg-4{flex:0 0 16.66666667%}.var-col--offset-lg-4{margin-left:16.66666667%}.var-col--span-lg-5{flex:0 0 20.83333333%}.var-col--offset-lg-5{margin-left:20.83333333%}.var-col--span-lg-6{flex:0 0 25%}.var-col--offset-lg-6{margin-left:25%}.var-col--span-lg-7{flex:0 0 29.16666667%}.var-col--offset-lg-7{margin-left:29.16666667%}.var-col--span-lg-8{flex:0 0 33.33333333%}.var-col--offset-lg-8{margin-left:33.33333333%}.var-col--span-lg-9{flex:0 0 37.5%}.var-col--offset-lg-9{margin-left:37.5%}.var-col--span-lg-10{flex:0 0 41.66666667%}.var-col--offset-lg-10{margin-left:41.66666667%}.var-col--span-lg-11{flex:0 0 45.83333333%}.var-col--offset-lg-11{margin-left:45.83333333%}.var-col--span-lg-12{flex:0 0 50%}.var-col--offset-lg-12{margin-left:50%}.var-col--span-lg-13{flex:0 0 54.16666667%}.var-col--offset-lg-13{margin-left:54.16666667%}.var-col--span-lg-14{flex:0 0 58.33333333%}.var-col--offset-lg-14{margin-left:58.33333333%}.var-col--span-lg-15{flex:0 0 62.5%}.var-col--offset-lg-15{margin-left:62.5%}.var-col--span-lg-16{flex:0 0 66.66666667%}.var-col--offset-lg-16{margin-left:66.66666667%}.var-col--span-lg-17{flex:0 0 70.83333333%}.var-col--offset-lg-17{margin-left:70.83333333%}.var-col--span-lg-18{flex:0 0 75%}.var-col--offset-lg-18{margin-left:75%}.var-col--span-lg-19{flex:0 0 79.16666667%}.var-col--offset-lg-19{margin-left:79.16666667%}.var-col--span-lg-20{flex:0 0 83.33333333%}.var-col--offset-lg-20{margin-left:83.33333333%}.var-col--span-lg-21{flex:0 0 87.5%}.var-col--offset-lg-21{margin-left:87.5%}.var-col--span-lg-22{flex:0 0 91.66666667%}.var-col--offset-lg-22{margin-left:91.66666667%}.var-col--span-lg-23{flex:0 0 95.83333333%}.var-col--offset-lg-23{margin-left:95.83333333%}.var-col--span-lg-24{flex:0 0 100%}.var-col--offset-lg-24{margin-left:100%}.var-col--span-lg-0{display:none!important}}@media only screen and (min-width: 1920px){.var-col--span-xl-0{flex:0 0 0%}.var-col--offset-xl-0{margin-left:0%}.var-col--span-xl-1{flex:0 0 4.16666667%}.var-col--offset-xl-1{margin-left:4.16666667%}.var-col--span-xl-2{flex:0 0 8.33333333%}.var-col--offset-xl-2{margin-left:8.33333333%}.var-col--span-xl-3{flex:0 0 12.5%}.var-col--offset-xl-3{margin-left:12.5%}.var-col--span-xl-4{flex:0 0 16.66666667%}.var-col--offset-xl-4{margin-left:16.66666667%}.var-col--span-xl-5{flex:0 0 20.83333333%}.var-col--offset-xl-5{margin-left:20.83333333%}.var-col--span-xl-6{flex:0 0 25%}.var-col--offset-xl-6{margin-left:25%}.var-col--span-xl-7{flex:0 0 29.16666667%}.var-col--offset-xl-7{margin-left:29.16666667%}.var-col--span-xl-8{flex:0 0 33.33333333%}.var-col--offset-xl-8{margin-left:33.33333333%}.var-col--span-xl-9{flex:0 0 37.5%}.var-col--offset-xl-9{margin-left:37.5%}.var-col--span-xl-10{flex:0 0 41.66666667%}.var-col--offset-xl-10{margin-left:41.66666667%}.var-col--span-xl-11{flex:0 0 45.83333333%}.var-col--offset-xl-11{margin-left:45.83333333%}.var-col--span-xl-12{flex:0 0 50%}.var-col--offset-xl-12{margin-left:50%}.var-col--span-xl-13{flex:0 0 54.16666667%}.var-col--offset-xl-13{margin-left:54.16666667%}.var-col--span-xl-14{flex:0 0 58.33333333%}.var-col--offset-xl-14{margin-left:58.33333333%}.var-col--span-xl-15{flex:0 0 62.5%}.var-col--offset-xl-15{margin-left:62.5%}.var-col--span-xl-16{flex:0 0 66.66666667%}.var-col--offset-xl-16{margin-left:66.66666667%}.var-col--span-xl-17{flex:0 0 70.83333333%}.var-col--offset-xl-17{margin-left:70.83333333%}.var-col--span-xl-18{flex:0 0 75%}.var-col--offset-xl-18{margin-left:75%}.var-col--span-xl-19{flex:0 0 79.16666667%}.var-col--offset-xl-19{margin-left:79.16666667%}.var-col--span-xl-20{flex:0 0 83.33333333%}.var-col--offset-xl-20{margin-left:83.33333333%}.var-col--span-xl-21{flex:0 0 87.5%}.var-col--offset-xl-21{margin-left:87.5%}.var-col--span-xl-22{flex:0 0 91.66666667%}.var-col--offset-xl-22{margin-left:91.66666667%}.var-col--span-xl-23{flex:0 0 95.83333333%}.var-col--offset-xl-23{margin-left:95.83333333%}.var-col--span-xl-24{flex:0 0 100%}.var-col--offset-xl-24{margin-left:100%}.var-col--span-xl-0{display:none!important}}.var-collapse{position:relative;width:100%;z-index:0}:root{--collapse-background: #fff;--collapse-text-color: #232222;--collapse-header-font-size: var(--font-size-lg);--collapse-header-padding: 10px 12px;--collapse-content-font-size: var(--font-size-md);--collapse-content-padding: 0 12px 10px;--collapse-item-margin-top: 16px;--collapse-disable-color: #bdbdbd;--collapse-border-top: thin solid rgba(0, 0, 0, .12)}.var-collapse-item{-webkit-tap-highlight-color:rgba(0,0,0,0);box-sizing:border-box;position:relative;margin-top:0;background:var(--collapse-background);color:var(--collapse-text-color);transition:margin-top .25s,background-color .25s}.var-collapse-item__shadow{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:-1}.var-collapse-item:not(:first-child):after{border-top:var(--collapse-divider-top);content:"";left:0;position:absolute;right:0;top:0}.var-collapse-item__header{align-items:center;display:flex;font-size:var(--collapse-header-font-size);outline:none;padding:var(--collapse-header-padding);justify-content:space-between;position:relative}.var-collapse-item__header-title{transition:color .25s}.var-collapse-item__header-icon{transform:rotate(0);opacity:1}.var-collapse-item__header-open{transform:rotate(-180deg)}.var-collapse-item__header--disable{opacity:0}.var-collapse-item__content{font-size:var(--collapse-content-font-size);overflow:hidden;transition:all .25s}.var-collapse-item__content-wrap{padding:var(--collapse-content-padding);word-break:break-all}.var-collapse-item--active+.var-collapse-item,.var-collapse-item--active:not(:first-child){margin-top:var(--collapse-item-margin-top)}.var-collapse-item--active+.var-collapse-item:after,.var-collapse-item--active:not(:first-child):after{border-top:none}.var-collapse-item--disable{color:var(--collapse-disable-color);cursor:not-allowed}:root{--countdown-text-color: #555}.var-countdown{color:var(--countdown-text-color)}:root{--counter-padding: 0 4px;--counter-font-color: #fff;--counter-background: var(--color-primary);--counter-input-width: 28px;--counter-input-margin: 0 4px;--counter-input-font-size: 14px;--counter-button-size: 28px;--counter-button-text-color: #fff;--counter-button-icon-size: 100%;--counter-disabled-color: var(--color-disabled);--counter-disabled-opacity: var(--opacity-disabled);--counter-error-color: var(--color-danger)}.var-counter{display:inline-flex;flex-direction:column;align-items:flex-start}.var-counter__controller{display:flex;align-items:center;color:var(--counter-font-color);border-radius:var(--counter-button-size);padding:var(--counter-padding);background:var(--counter-background);transition:color .25s,background-color .25s,opacity .25s}.var-counter__input{width:var(--counter-input-width);font-size:var(--counter-input-font-size);outline:none;border:none;background:transparent;padding:0;text-align:center;color:var(--counter-font-color);margin:var(--counter-input-margin)}.var-counter__input[disabled]{background:transparent}.var-counter__increment-button[var-counter-cover],.var-counter__decrement-button[var-counter-cover]{width:var(--counter-button-size);height:var(--counter-button-size);font-size:var(--counter-button-icon-size);color:var(--counter-button-text-color);border-radius:50%;padding:0;background-color:rgba(0,0,0,0);box-shadow:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;user-select:none}.var-counter__increment-button[var-counter-cover]:active,.var-counter__decrement-button[var-counter-cover]:active{box-shadow:none}.var-counter--disabled{opacity:var(--counter-disabled-opacity);cursor:not-allowed}.var-counter--disabled .var-hover-overlay{opacity:0}.var-counter--not-allowed{cursor:not-allowed!important}.var-counter--hidden{opacity:0}.var-counter--error{background:var(--counter-error-color)}:root{--date-picker-border-radius: 4px;--date-picker-font-size: var(--font-size-md);--date-picker-min-width: 290px;--date-picker-height: 385px;--date-picker-main-color: rgba(0, 0, 0, .87);--date-picker-title-padding: 16px;--date-picker-title-background: var(--color-primary);--date-picker-title-color: #fff;--date-picker-title-year-font-size: var(--font-size-md);--date-picker-title-year-font-weight: 500;--date-picker-title-year-margin-bottom: 8px;--date-picker-title-date-height: 48px;--date-picker-title-date-font-size: 34px;--date-picker-title-date-font-weight: 500;--date-picker-title-date-range-font-size: 20px;--date-picker-body-background-color: #fff;--picker-header-padding: 4px 16px;--picker-header-color: #555;--month-picker-padding: 0 12px;--month-picker-item-width: 33%;--month-picker-item-height: 56px;--month-picker-item-button-max-width: 140px;--year-picker-font-weight: 400;--year-picker-item-padding: 8px 0;--year-picker-item-active-font-size: 26px;--year-picker-item-active-font-weight: 500;--year-picker-item-active-font-padding: 10px 0;--year-picker-item-active-color: var(--color-primary);--year-picker-item-color: #555;--day-picker-content-item-width: 14.28%;--day-picker-content-item-font-size: var(--font-size-sm);--day-picker-content-item-padding: 2px 0;--day-picker-content-item-button-width: 32px;--day-picker-content-item-button-height: 32px;--day-picker-content-item-button-font-size: var(--font-size-sm);--day-picker-head-item-color: rgba(0, 0, 0, .38);--day-picker-head-item-padding: 8px 0;--day-picker-head-item-font-weight: 600}.var-date-picker{-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--date-picker-border-radius);contain:layout style;display:flex;width:100%;flex-direction:column;font-size:var(--date-picker-font-size);position:relative;min-width:var(--date-picker-min-width);height:var(--date-picker-height);overflow:hidden}.var-date-picker ul{list-style:none;margin:0;padding:0}.var-date-picker__title{padding:var(--date-picker-title-padding);color:var(--date-picker-title-color);background:var(--date-picker-title-background);display:flex;justify-content:space-between;flex-direction:column;flex-wrap:wrap}.var-date-picker__title-year{opacity:.6;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);align-items:center;display:inline-flex;font-size:var(--date-picker-title-year-font-size);font-weight:var(--date-picker-title-year-font-weight);margin-bottom:var(--date-picker-title-year-margin-bottom);transition:.3s var(--cubic-bezier)}.var-date-picker__title-year--active{opacity:1}.var-date-picker__title-date{height:var(--date-picker-title-date-height);overflow:hidden;font-size:var(--date-picker-title-date-font-size);text-align:left;font-weight:var(--date-picker-title-date-font-weight);position:relative;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);display:flex;align-items:center;opacity:.6;transition:.3s var(--cubic-bezier)}.var-date-picker__title-date--active{opacity:1}.var-date-picker__title-date--range{font-size:var(--date-picker-title-date-range-font-size)}.var-date-picker__body{flex:1;position:relative;overflow:auto;background-color:var(--date-picker-body-background-color)}.var-date-picker__body::-webkit-scrollbar{display:none;width:0;background:transparent}.var-date-picker .var-picker-header{padding:var(--picker-header-padding);align-items:center;display:flex;justify-content:space-between;position:relative;color:var(--picker-header-color)}.var-date-picker .var-picker-header__value{flex:1;text-align:center;position:relative;overflow:hidden;font-weight:700;cursor:pointer;user-select:none}.var-date-picker .var-picker-header__value div{width:100%}.var-date-picker .var-month-picker__content{padding:var(--month-picker-padding)}.var-date-picker .var-month-picker__content ul{display:flex;flex-wrap:wrap;justify-content:space-between}.var-date-picker .var-month-picker__content ul li{width:var(--month-picker-item-width);display:flex;height:var(--month-picker-item-height);align-items:center;justify-content:center}.var-date-picker .var-month-picker__button[var-month-picker-cover]{width:100%;max-width:var(--month-picker-item-button-max-width)}.var-date-picker .var-month-picker__button[var-date-picker-color-cover=true]{color:var(--date-picker-main-color)}.var-date-picker .var-month-picker__button--disabled{color:var(--color-text-disabled)!important;cursor:not-allowed}.var-date-picker .var-year-picker{width:100%;height:100%;font-weight:var(--year-picker-font-weight);padding:0;margin:0;list-style-type:none;overflow:auto;text-align:center}.var-date-picker .var-year-picker__item{padding:var(--year-picker-item-padding);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--year-picker-item-color)}.var-date-picker .var-year-picker__item--active{font-size:var(--year-picker-item-active-font-size);font-weight:var(--year-picker-item-active-font-weight);padding:var(--year-picker-item-active-font-padding);color:var(--year-picker-item-active-color)}.var-date-picker .var-day-picker__content ul{display:flex;flex-wrap:wrap}.var-date-picker .var-day-picker__content ul li{position:relative;display:flex;justify-content:center;width:var(--day-picker-content-item-width);font-size:var(--day-picker-content-item-font-size);padding:var(--day-picker-content-item-padding)}.var-date-picker .var-day-picker__head li{color:var(--day-picker-head-item-color);padding:var(--day-picker-head-item-padding);font-weight:var(--day-picker-head-item-font-weight)}.var-date-picker .var-day-picker__button[var-day-picker-cover]{width:var(--day-picker-content-item-button-width);height:var(--day-picker-content-item-button-height);font-size:var(--day-picker-content-item-button-font-size)}.var-date-picker .var-day-picker__button:not(.var-day-picker__button--usable){cursor:unset}.var-date-picker .var-day-picker__button[var-date-picker-color-cover=true]{color:var(--date-picker-main-color)}.var-date-picker .var-day-picker__button--disabled{color:var(--color-text-disabled)!important;cursor:not-allowed}.var-date-picker-translatey-enter-from{opacity:0;transform:translateY(100%)}.var-date-picker-translatey-enter-active,.var-date-picker-reverse-translatey-enter-active{transition:.3s var(--cubic-bezier)}.var-date-picker-translatey-leave-active,.var-date-picker-reverse-translatey-leave-active{position:absolute;transition:.3s var(--cubic-bezier)}.var-date-picker-translatey-leave-to,.var-date-picker-reverse-translatey-enter-from{opacity:0;transform:translateY(-100%)}.var-date-picker-reverse-translatey-leave-to{opacity:0;transform:translateY(100%)}.var-date-picker-panel-fade-enter-from,.var-date-picker-panel-fade-leave-to{transition:.3s var(--cubic-bezier);opacity:0}.var-date-picker-panel-fade-leave-active{position:absolute}.var-date-picker-translatex-enter-from{opacity:0;transform:translate(100%)}.var-date-picker-reverse-translatex-enter-from{opacity:0;transform:translate(-100%)}.var-date-picker-translatex-enter-active,.var-date-picker-reverse-translatex-enter-active{transition:.3s var(--cubic-bezier)}.var-date-picker-translatex-leave-active,.var-date-picker-reverse-translatex-leave-active{position:absolute;transition:.3s var(--cubic-bezier)}.var-date-picker-translatex-leave-to{opacity:0;transform:translate(-100%)}.var-date-picker-reverse-translatex-leave-to{opacity:0;transform:translate(100%)}:root{--dialog-width: 280px;--dialog-border-radius: 3px;--dialog-title-padding: 20px 20px 0;--dialog-message-color: #888;--dialog-message-padding: 12px 20px;--dialog-message-line-height: 24px;--dialog-message-font-size: var(--font-size-md);--dialog-title-font-size: var(--font-size-lg);--dialog-actions-padding: 0 12px 12px;--dialog-button-margin-left: 6px;--dialog-title-color: #555;--dialog-confirm-button-color: var(--color-primary);--dialog-cancel-button-color: var(--color-primary);--dialog-background: #fff}.var-dialog{width:var(--dialog-width);border-radius:var(--dialog-border-radius);background:var(--dialog-background);transition:.25s background-color}.var-dialog__popup[var-dialog-cover]{background:transparent}.var-dialog__title{font-size:var(--dialog-title-font-size);font-weight:400;padding:var(--dialog-title-padding);color:var(--dialog-title-color)}.var-dialog__message{padding:var(--dialog-message-padding);color:var(--dialog-message-color);line-height:var(--dialog-message-line-height);font-size:var(--dialog-message-font-size)}.var-dialog__actions{display:flex;justify-content:flex-end;padding:var(--dialog-actions-padding)}.var-dialog__button[var-dialog-cover]{margin-left:var(--dialog-button-margin-left);background-color:transparent;box-shadow:none}.var-dialog__button[var-dialog-cover]:active{box-shadow:none}.var-dialog__confirm-button[var-dialog-cover]{color:var(--dialog-confirm-button-color)}.var-dialog__cancel-button[var-dialog-cover]{color:var(--dialog-cancel-button-color)}:root{--divider-color: rgba(0, 0, 0, .12);--divider-text-color: #888;--divider-text-margin: 8px 0;--divider-text-padding: 0 8px;--divider-inset: 72px}.var-divider{position:relative;width:100%;height:0;border:none;border-top:1px solid var(--divider-color);margin:var(--divider-text-margin);font-size:var(--font-size-md);color:var(--divider-text-color)}.var-divider--vertical{width:0;height:auto;align-self:stretch;margin:0 var(--divider-text-margin);border-top:none;border-left:1px solid var(--divider-color)}.var-divider--inset{width:calc(100% - var(--divider-inset));left:var(--divider-inset)}.var-divider__text{display:inline-block;padding:var(--divider-text-padding)}.var-divider--with-text{background-color:transparent;height:fit-content;display:flex;align-items:center;justify-content:center;border:none}.var-divider--with-text:before,.var-divider--with-text:after{display:inline-block;content:"";flex:1;height:0;border-top:1px solid var(--divider-color)}.var-divider--dashed{border-top-style:dashed}.var-divider--dashed.var-divider--vertical{border-top:none;border-left-style:dashed}.var-divider--hairline{transform:scaleY(.5)}.var-divider--hairline.var-divider--with-text{transform:none}.var-divider--hairline.var-divider--with-text:before,.var-divider--hairline.var-divider--with-text:after{transform:scaleY(.5)}.var-divider--hairline.var-divider--vertical{transform:scaleX(.5)}.var-drag{position:fixed;display:inline-flex}.var-drag--transition{transition:transform .2s linear}:root{--tooltip-opacity: .9;--tooltip-border-radius: 4px;--tooltip-font-size: 14px;--tooltip-padding: 8px 16px;--tooltip-default-color: #616161;--tooltip-offset: 10px;--tooltip-primary-color: var(--color-primary);--tooltip-info-color: var(--color-info);--tooltip-success-color: var(--color-success);--tooltip-warning-color: var(--color-warning);--tooltip-danger-color: var(--color-danger)}.var-tooltip{display:inline-block}.var-tooltip-enter-from,.var-tooltip-leave-to{opacity:0;transform:scale(.8)}.var-tooltip-enter-active,.var-tooltip-leave-active{transition-property:opacity,transform;transition-duration:.2s}.var-tooltip__content-container{display:inline-block;text-align:center;border-radius:var(--tooltip-border-radius);font-size:var(--tooltip-font-size);padding:var(--tooltip-padding);opacity:var(--tooltip-opacity);transition:opacity .25s,background-color .25s}.var-tooltip--default{color:#fff;background:var(--tooltip-default-color)}.var-tooltip--primary{color:#fff;background-color:var(--tooltip-primary-color)}.var-tooltip--info{color:#fff;background-color:var(--tooltip-info-color)}.var-tooltip--success{color:#fff;background-color:var(--tooltip-success-color)}.var-tooltip--warning{color:#fff;background-color:var(--tooltip-warning-color)}.var-tooltip--danger{color:#fff;background-color:var(--tooltip-danger-color)}.var-tooltip__tooltip[data-popper-placement=top] .var-tooltip__content-container,.var-tooltip__tooltip[data-popper-placement=top-start] .var-tooltip__content-container,.var-tooltip__tooltip[data-popper-placement=top-end] .var-tooltip__content-container{transform:translateY(calc(-1 * var(--tooltip-offset)))}.var-tooltip__tooltip[data-popper-placement=bottom] .var-tooltip__content-container,.var-tooltip__tooltip[data-popper-placement=bottom-start] .var-tooltip__content-container,.var-tooltip__tooltip[data-popper-placement=bottom-end] .var-tooltip__content-container{transform:translateY(var(--tooltip-offset))}.var-tooltip__tooltip[data-popper-placement=right] .var-tooltip__content-container,.var-tooltip__tooltip[data-popper-placement=right-start] .var-tooltip__content-container,.var-tooltip__tooltip[data-popper-placement=right-end] .var-tooltip__content-container{transform:translate(var(--tooltip-offset))}.var-tooltip__tooltip[data-popper-placement=left] .var-tooltip__content-container,.var-tooltip__tooltip[data-popper-placement=left-start] .var-tooltip__content-container,.var-tooltip__tooltip[data-popper-placement=left-end] .var-tooltip__content-container{transform:translate(calc(-1 * var(--tooltip-offset)))}.var-ellipsis{width:100%;overflow:hidden;vertical-align:bottom}.var-ellipsis--clamp{display:-webkit-inline-box;-webkit-box-orient:vertical}.var-ellipsis--line{display:inline-block;white-space:nowrap;text-overflow:ellipsis}.var-ellipsis--cursor{cursor:pointer}.var-ellipsis--expand{display:inline-block;white-space:wrap;overflow:visible}:root{--fab-top: 70px;--fab-bottom: 16px;--fab-left: 16px;--fab-right: 16px;--fab-trigger-size: 56px;--fab-trigger-inactive-icon-size: 26px;--fab-trigger-active-icon-size: 22px;--fab-actions-padding: 10px 0;--fab-action-margin: 6px;--fab-transition-standard-easing: cubic-bezier(.4, 0, .2, 1)}.var-fab-transition-default-enter-active,.var-fab-transition-default-leave-active{transition:.3s var(--fab-transition-standard-easing)!important}.var-fab__trigger[var-fab-cover]{width:var(--fab-trigger-size);height:var(--fab-trigger-size)}.var-fab__trigger-inactive-icon[var-fab-cover]{font-size:var(--fab-trigger-inactive-icon-size)}.var-fab__trigger-active-icon[var-fab-cover]{font-size:var(--fab-trigger-active-icon-size)}.var-fab__actions{position:absolute;display:flex;justify-content:center;align-items:center;padding:var(--fab-actions-padding)}.var-fab__action{margin:var(--fab-action-margin)}.var-fab--position-left-top{top:var(--fab-top);left:var(--fab-left)}.var-fab--position-right-top{top:var(--fab-top);right:var(--fab-right)}.var-fab--position-left-bottom{bottom:var(--fab-bottom);left:var(--fab-left)}.var-fab--position-right-bottom{bottom:var(--fab-bottom);right:var(--fab-right)}.var-fab--direction-left .var-fab__actions,.var-fab--direction-right .var-fab__actions{height:100%;top:0;padding:0 var(--fab-actions-padding)}.var-fab--direction-left .var-fab__actions{flex-direction:row-reverse;right:100%}.var-fab--direction-right .var-fab__actions{flex-direction:row;left:100%}.var-fab--direction-top .var-fab__actions,.var-fab--direction-bottom .var-fab__actions{width:100%;left:0}.var-fab--direction-top .var-fab__actions{flex-direction:column-reverse;bottom:100%}.var-fab--direction-bottom .var-fab__actions{flex-direction:column;top:100%}.var-fab--fixed{position:fixed}.var-fab--absolute{position:absolute}.var-fab--active-transition-enter-active,.var-fab--active-transition-leave-active{transition:.3s var(--fab-transition-standard-easing)!important}.var-fab--active-transition-enter-from,.var-fab--active-transition-leave-to{transform:scale(0)}.var-fab--actions-transition-top-enter-active,.var-fab--actions-transition-top-leave-active{transition:.3s var(--fab-transition-standard-easing)!important}.var-fab--actions-transition-top-enter-from,.var-fab--actions-transition-top-leave-to{opacity:0;transform:translateY(40px)}.var-fab--actions-transition-bottom-enter-active,.var-fab--actions-transition-bottom-leave-active{transition:.3s var(--fab-transition-standard-easing)!important}.var-fab--actions-transition-bottom-enter-from,.var-fab--actions-transition-bottom-leave-to{opacity:0;transform:translateY(-40px)}.var-fab--actions-transition-left-enter-active,.var-fab--actions-transition-left-leave-active{transition:.3s var(--fab-transition-standard-easing)!important}.var-fab--actions-transition-left-enter-from,.var-fab--actions-transition-left-leave-to{opacity:0;transform:translate(40px)}.var-fab--actions-transition-right-enter-active,.var-fab--actions-transition-right-leave-active{transition:.3s var(--fab-transition-standard-easing)!important}.var-fab--actions-transition-right-enter-from,.var-fab--actions-transition-right-leave-to{opacity:0;transform:translate(-40px)}.var-fab--trigger-icon-animation{transform:scale(.4);opacity:0;transition-property:transform,opacity}.var-fab--safe-area{margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom)}.var-image{overflow:hidden}.var-image__image{display:block;width:100%;height:100%}:root{--swipe-indicator-color: #fff;--swipe-indicators-offset: 10px;--swipe-indicator-offset: 4px}.var-swipe{position:relative;overflow:hidden;user-select:none;width:100%}.var-swipe__track{width:100%;height:100%;display:flex;transition-property:transform}.var-swipe__indicators{position:absolute;display:flex;bottom:var(--swipe-indicators-offset);left:50%;transform:translate(-50%)}.var-swipe__indicator{width:8px;height:8px;border-radius:50%;background:var(--swipe-indicator-color);opacity:.3;margin:0 var(--swipe-indicator-offset);transition:opacity .3s}.var-swipe--vertical{flex-direction:column}.var-swipe--indicators-vertical{flex-direction:column;left:var(--swipe-indicators-offset);bottom:50%;transform:translateY(50%)}.var-swipe--indicator-active{opacity:1}.var-swipe--indicator-vertical{margin:var(--swipe-indicator-offset) 0}.var-swipe-item{flex-shrink:0;width:100%;height:100%}:root{--image-preview-swipe-indicators-text-color: #ddd;--image-preview-swipe-indicators-padding: 16px 0;--image-preview-zoom-container-background: #000;--image-preview-close-icon-top: 14px;--image-preview-close-icon-right: 14px;--image-preview-extra-top: 14px;--image-preview-extra-left: 14px;--image-preview-close-icon-size: 22px;--image-preview-close-icon-color: #fff}.var-image-preview__popup[var-image-preview-cover]{height:100%;background:var(--image-preview-zoom-container-background)}.var-image-preview__swipe[var-image-preview-cover]{width:100vw;height:100%}.var-image-preview__swipe-item[var-image-preview-cover]{overflow:hidden}.var-image-preview__close-icon[var-image-preview-cover]{position:absolute;top:var(--image-preview-close-icon-top);right:var(--image-preview-close-icon-right);color:var(--image-preview-close-icon-color);font-size:var(--image-preview-close-icon-size)}.var-image-preview__extra{position:absolute;top:var(--image-preview-extra-top);left:var(--image-preview-extra-left)}.var-image-preview__indicators{position:absolute;top:0;width:100%;padding:var(--image-preview-swipe-indicators-padding);color:var(--image-preview-swipe-indicators-text-color);text-align:center}.var-image-preview__image{width:100%;height:100%;object-fit:contain;-webkit-user-drag:none}.var-image-preview--prevent{-webkit-touch-callout:none;pointer-events:none}.var-image-preview__zoom-container{display:flex;justify-content:center;align-items:center;width:100vw;height:100%;transition:transform .2s}.var-sticky{position:relative}.var-sticky--css-mode{position:sticky;position:-webkit-sticky}.var-index-anchor{position:relative}:root{--index-bar-list-item-font-size: var(--font-size-xs);--index-bar-list-item-color: var(--color-primary);--index-bar-list-item-active-color: var(--color-danger);--index-bar-list-item-height: 14px;--index-bar-list-item-padding: 0 10px}.var-index-bar{position:relative}.var-index-bar__anchor-list{position:fixed;right:0;top:50%;transform:translateY(-50%);list-style:none;padding:0;margin:0}.var-index-bar__anchor-item{font-size:var(--index-bar-list-item-font-size);display:flex;align-items:center;height:var(--index-bar-list-item-height);justify-content:center;padding:var(--index-bar-list-item-padding);color:var(--index-bar-list-item-color);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-index-bar__anchor-item--active{color:var(--index-bar-list-item-active-color)}:root{--field-decorator-text-color: #555;--field-decorator-error-color: var(--color-danger);--field-decorator-blur-color: #888;--field-decorator-focus-color: var(--color-primary);--field-decorator-placeholder-size: 16px;--field-decorator-icon-size: 20px;--field-decorator-line-size: 1px;--field-decorator-line-focus-size: 2px;--field-decorator-disabled-color: var(--color-text-disabled);--field-decorator-standard-normal-padding-top: 22px;--field-decorator-standard-normal-padding-bottom: 4px;--field-decorator-standard-normal-icon-padding: 22px 0 4px;--field-decorator-standard-normal-non-hint-padding-top: 4px;--field-decorator-standard-normal-placeholder-translate-y: var(--field-decorator-standard-normal-padding-top);--field-decorator-standard-small-padding-top: 18px;--field-decorator-standard-small-padding-bottom: 4px;--field-decorator-standard-small-icon-padding: 18px 0 4px;--field-decorator-standard-small-non-hint-padding-top: 2px;--field-decorator-standard-small-placeholder-translate-y: var(--field-decorator-standard-small-padding-top);--field-decorator-outlined-normal-padding-top: 16px;--field-decorator-outlined-normal-padding-bottom: 16px;--field-decorator-outlined-normal-padding-left: 16px;--field-decorator-outlined-normal-padding-right: 16px;--field-decorator-outlined-normal-placeholder-space: 4px;--field-decorator-outlined-normal-icon-padding: 16px 0 16px;--field-decorator-outlined-normal-placeholder-translate-y: var(--field-decorator-outlined-normal-padding-top);--field-decorator-outlined-small-padding-top: 8px;--field-decorator-outlined-small-padding-bottom: 8px;--field-decorator-outlined-small-padding-left: 12px;--field-decorator-outlined-small-padding-right: 12px;--field-decorator-outlined-small-placeholder-space: 2px;--field-decorator-outlined-small-icon-padding: 8px 0 8px;--field-decorator-outlined-small-placeholder-translate-y: var(--field-decorator-outlined-small-padding-top)}.var-field-decorator{position:relative;width:100%;color:var(--field-decorator-text-color)}.var-field-decorator__controller{width:100%;display:flex;align-items:stretch;position:relative}.var-field-decorator__middle{position:relative;flex-grow:1;display:flex;justify-content:center;align-items:center}.var-field-decorator__icon{display:flex;align-items:center;font-size:var(--field-decorator-icon-size)}.var-field-decorator__icon .var-icon{font-size:var(--field-decorator-icon-size)}.var-field-decorator__placeholder{position:absolute;top:0;left:0;font-size:var(--field-decorator-placeholder-size);line-height:1.5em;color:var(--field-decorator-blur-color);pointer-events:none;cursor:inherit;transform-origin:left;transition:transform .28s var(--cubic-bezier),color .25s,max-width .2s}.var-field-decorator__clear-icon[var-field-decorator-cover]{font-size:var(--field-decorator-icon-size);margin-left:6px;cursor:pointer}.var-field-decorator--placeholder-hidden{visibility:hidden}.var-field-decorator--focus{color:var(--field-decorator-focus-color)}.var-field-decorator--disabled{color:var(--field-decorator-disabled-color);cursor:not-allowed}.var-field-decorator--error{color:var(--field-decorator-error-color)}.var-field-decorator--standard .var-field-decorator__middle{padding:var(--field-decorator-standard-normal-padding-top) 0 var(--field-decorator-standard-normal-padding-bottom)}.var-field-decorator--standard .var-field-decorator__icon{padding:var(--field-decorator-standard-normal-icon-padding)}.var-field-decorator--standard .var-field-decorator__placeholder{max-width:100%;transform:translateY(var(--field-decorator-standard-normal-placeholder-translate-y))}.var-field-decorator--standard .var-field-decorator--placeholder-hint{max-width:133%;transform:translate(0) scale(.75)!important}.var-field-decorator--standard .var-field-decorator__line{width:100%;height:var(--field-decorator-line-size);background:var(--field-decorator-blur-color);transition:background-color .25s}.var-field-decorator--standard .var-field-decorator--line-disabled{background:var(--field-decorator-disabled-color)}.var-field-decorator--standard .var-field-decorator__dot{width:100%;height:var(--field-decorator-line-focus-size);background:var(--field-decorator-focus-color);transform:scaleX(0);transform-origin:center;transition:transform .3s var(--cubic-bezier),background-color .25s}.var-field-decorator--standard .var-field-decorator--middle-non-hint,.var-field-decorator--standard .var-field-decorator--icon-non-hint{padding-top:var(--field-decorator-standard-normal-non-hint-padding-top)}.var-field-decorator--standard .var-field-decorator--line-focus{transform:scaleX(1)}.var-field-decorator--standard .var-field-decorator--line-error{background:var(--field-decorator-error-color)}.var-field-decorator--outlined .var-field-decorator__controller{padding:0 var(--field-decorator-outlined-normal-padding-right) 0 var(--field-decorator-outlined-normal-padding-left)}.var-field-decorator--outlined .var-field-decorator__middle{padding:var(--field-decorator-outlined-normal-padding-top) 0 var(--field-decorator-outlined-normal-padding-bottom) 0}.var-field-decorator--outlined .var-field-decorator__icon{padding:var(--field-decorator-outlined-normal-icon-padding)}.var-field-decorator--outlined .var-field-decorator__placeholder{max-width:calc(100% - var(--field-decorator-outlined-normal-padding-left) - var(--field-decorator-outlined-normal-padding-right));transform:translate(var(--field-decorator-outlined-normal-padding-left),var(--field-decorator-outlined-normal-placeholder-translate-y)) scale(1)}.var-field-decorator--outlined .var-field-decorator--placeholder-hint{max-width:calc(133% - var(--field-decorator-outlined-normal-padding-left) - var(--field-decorator-outlined-normal-padding-right));transform:translate(calc(var(--field-decorator-outlined-normal-padding-left)),-50%) scale(.75)}.var-field-decorator--outlined .var-field-decorator__line{min-width:0;width:100%;height:calc(100% + (var(--field-decorator-placeholder-size) * .75 / 2));position:absolute;top:calc(var(--field-decorator-placeholder-size) * .75 / 2 * -1);left:0;pointer-events:none;border-radius:4px;border:var(--field-decorator-line-size) solid var(--field-decorator-blur-color);overflow:hidden;padding:0 calc(var(--field-decorator-outlined-normal-padding-right) - var(--field-decorator-outlined-normal-placeholder-space) - var(--field-decorator-line-size)) 0 calc(var(--field-decorator-outlined-normal-padding-left) - var(--field-decorator-outlined-normal-placeholder-space) - var(--field-decorator-line-size));margin:0}.var-field-decorator--outlined .var-field-decorator__line-legend{max-width:0;height:calc(var(--field-decorator-placeholder-size) * .75);visibility:hidden;padding:0;overflow:hidden;display:block;white-space:nowrap}.var-field-decorator--outlined .var-field-decorator__line-legend--hint{max-width:100%}.var-field-decorator--outlined .var-field-decorator--line-focus{border-width:var(--field-decorator-line-focus-size);border-color:var(--field-decorator-focus-color);padding:0 calc(var(--field-decorator-outlined-normal-padding-right) - var(--field-decorator-outlined-normal-placeholder-space) - var(--field-decorator-line-focus-size)) 0 calc(var(--field-decorator-outlined-normal-padding-left) - var(--field-decorator-outlined-normal-placeholder-space) - var(--field-decorator-line-focus-size))}.var-field-decorator--outlined .var-field-decorator--line-disabled{border-radius:4px;border:var(--field-decorator-line-size) solid var(--field-decorator-disabled-color)}.var-field-decorator--outlined .var-field-decorator--line-error{border-color:var(--field-decorator-error-color)!important}.var-field-decorator--standard.var-field-decorator--small .var-field-decorator__middle{padding:var(--field-decorator-standard-small-padding-top) 0 var(--field-decorator-standard-small-padding-bottom)}.var-field-decorator--standard.var-field-decorator--small .var-field-decorator__placeholder{transform:translateY(var(--field-decorator-standard-small-placeholder-translate-y))}.var-field-decorator--standard.var-field-decorator--small .var-field-decorator--middle-non-hint{max-width:calc(133% - var(--field-decorator-outlined-small-padding-left) - var(--field-decorator-outlined-small-padding-right));padding-top:var(--field-decorator-standard-small-non-hint-padding-top)}.var-field-decorator--standard.var-field-decorator--small .var-field-decorator--icon-non-hint{padding-top:var(--field-decorator-standard-small-non-hint-padding-top)}.var-field-decorator--outlined.var-field-decorator--small .var-field-decorator__controller{padding:0 var(--field-decorator-outlined-small-padding-right) 0 var(--field-decorator-outlined-small-padding-left)}.var-field-decorator--outlined.var-field-decorator--small .var-field-decorator__middle{padding:var(--field-decorator-outlined-small-padding-top) 0 var(--field-decorator-outlined-small-padding-bottom) 0}.var-field-decorator--outlined.var-field-decorator--small .var-field-decorator__icon{padding:var(--field-decorator-outlined-small-icon-padding)}.var-field-decorator--outlined.var-field-decorator--small .var-field-decorator__placeholder{max-width:calc(100% - var(--field-decorator-outlined-small-padding-left) - var(--field-decorator-outlined-small-padding-right));transform:translate(var(--field-decorator-outlined-small-padding-left),var(--field-decorator-outlined-small-placeholder-translate-y)) scale(1)}.var-field-decorator--outlined.var-field-decorator--small .var-field-decorator--placeholder-hint{transform:translate(calc(var(--field-decorator-outlined-small-padding-left)),-50%) scale(.75)}.var-field-decorator--outlined.var-field-decorator--small .var-field-decorator__line{padding:0 calc(var(--field-decorator-outlined-small-padding-right) - var(--field-decorator-outlined-small-placeholder-space) - var(--field-decorator-line-size)) 0 calc(var(--field-decorator-outlined-small-padding-left) - var(--field-decorator-outlined-small-placeholder-space) - var(--field-decorator-line-size))}.var-field-decorator--outlined.var-field-decorator--small .var-field-decorator--line-focus{padding:0 calc(var(--field-decorator-outlined-small-padding-right) - var(--field-decorator-outlined-small-placeholder-space) - var(--field-decorator-line-focus-size)) 0 calc(var(--field-decorator-outlined-small-padding-left) - var(--field-decorator-outlined-small-placeholder-space) - var(--field-decorator-line-focus-size))}.var-field-decorator__placeholder-text{max-width:calc(133% - var(--field-decorator-outlined-normal-padding-left) - var(--field-decorator-outlined-normal-padding-right));position:absolute;z-index:-1;display:inline-block;pointer-events:none;opacity:0;height:0;font-size:var(--field-decorator-placeholder-size)}.var-field-decorator__placeholder-text--small{max-width:calc(133% - var(--field-decorator-outlined-small-padding-left) - var(--field-decorator-outlined-small-padding-right))}:root{--input-input-height: 24px;--input-input-font-size: 16px;--input-textarea-height: auto}.var-input__autocomplete{width:0;height:0;padding:0;border:none;outline:none;font-size:0}.var-input__input{width:100%;height:var(--input-input-height);padding:0;outline:none;border:none;background:transparent;color:var(--field-decorator-text-color);caret-color:var(--field-decorator-focus-color);font-size:var(--input-input-font-size);transition:color .25s}.var-input__input::placeholder{color:var(--input-placeholder-color)}.var-input--textarea{height:var(--input-textarea-height);min-height:var(--input-input-height)}.var-input--disabled{color:var(--field-decorator-disabled-color);cursor:not-allowed}.var-input--error{color:var(--field-decorator-error-color)}.var-input--caret-error{caret-color:var(--field-decorator-error-color)}:root{--link-default-color: #555;--link-primary-color: var(--color-primary);--link-danger-color: var(--color-danger);--link-success-color: var(--color-success);--link-warning-color: var(--color-warning);--link-info-color: var(--color-info);--link-disabled-color: var(--color-text-disabled);--link-font-size: var(--font-size-md)}.var-link{position:relative;justify-content:center;align-items:center;outline:none;cursor:pointer;font-family:inherit;white-space:nowrap;text-decoration:none;font-size:var(--link-font-size)}.var-link--underline-always,.var-link--underline-hover:hover{text-decoration:underline}.var-link--default{color:var(--link-default-color)}.var-link--primary{color:var(--link-primary-color)}.var-link--info{color:var(--link-info-color)}.var-link--success{color:var(--link-success-color)}.var-link--warning{color:var(--link-warning-color)}.var-link--danger{color:var(--link-danger-color)}.var-link--disabled{color:var(--link-disabled-color);cursor:not-allowed}:root{--list-loading-height: 50px;--list-finished-height: 50px;--list-error-height: 50px;--list-loading-color: #888;--list-finished-color: #888;--list-error-color: #888;--list-loading-font-size: var(--font-size-md);--list-finished-font-size: var(--font-size-md);--list-error-font-size: var(--font-size-md)}.var-list__detector{width:100%}.var-list__loading{display:flex;justify-content:center;align-items:center;width:100%;height:var(--list-loading-height);font-size:var(--list-loading-font-size);color:var(--list-loading-color)}.var-list__loading-text{margin-right:10px}.var-list__finished{display:flex;justify-content:center;align-items:center;width:100%;height:var(--list-finished-height);font-size:var(--list-finished-font-size);color:var(--list-finished-color)}.var-list__error{display:flex;justify-content:center;align-items:center;width:100%;height:var(--list-error-height);font-size:var(--list-error-font-size);color:var(--list-error-color);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}:root{--loading-bar-color: var(--color-primary);--loading-bar-error-color: var(--color-danger);--loading-bar-height: 3px}.var-loading-bar{position:fixed;left:0;top:0;transition:all .25s;height:var(--loading-bar-height);background-color:var(--loading-bar-color)}.var-loading-bar--error{background-color:var(--loading-bar-error-color)}:root{--menu-background-color: #fff}.var-menu{display:inline-block}.var-menu-enter-from,.var-menu-leave-to{opacity:0;transform:scale(.8)}.var-menu-enter-active,.var-menu-leave-active{transition-property:opacity,transform;transition-duration:.2s}.var-menu--menu-background-color{background:var(--menu-background-color)}:root{--select-scroller-background: #fff;--select-scroller-padding: 6px 0;--select-scroller-max-height: 278px;--select-scroller-border-radius: 2px;--select-chip-margin: 5px 5px 0;--select-arrow-size: 20px;--select-standard-menu-margin: calc(var(--field-decorator-placeholder-size) * .75 + 12px) 0 0 0;--select-label-font-size: 16px}.var-select__menu[var-select-cover]{width:100%;background:transparent;display:block}.var-select__chip[var-select-cover]{margin:var(--select-chip-margin)}.var-select__scroller{max-height:var(--select-scroller-max-height);background:var(--select-scroller-background);padding:var(--select-scroller-padding);overflow-y:auto;transition:background-color .25s;border-radius:var(--select-scroller-border-radius)}.var-select__wrap{position:relative;display:flex;flex-direction:column;width:100%}.var-select__select{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:24px;outline:none;border:none;font-size:inherit;color:var(--field-decorator-text-color);word-break:break-all;overflow-x:hidden;transition:color .25s}.var-select__label{display:flex;align-items:center;font-size:var(--select-label-font-size)}.var-select__placeholder{max-width:100%;position:absolute;top:50%;left:0;transform:translateY(-50%);font-size:var(--field-decorator-placeholder-size);line-height:1.5em;color:var(--field-decorator-blur-color);pointer-events:none;cursor:inherit}.var-select__arrow[var-select-cover]{flex-shrink:0;font-size:var(--select-arrow-size)}.var-select--standard-menu-margin{margin:var(--select-standard-menu-margin)!important}.var-select--disabled{color:var(--field-decorator-disabled-color);cursor:not-allowed}.var-select--error{color:var(--field-decorator-error-color)}.var-select--arrow-rotate{transform:rotate(180deg)}:root{--option-height: 38px;--option-padding: 0 12px;--option-font-size: 16px;--option-selected-background: var(--field-decorator-focus-color);--options-text-color: #555}.var-option{position:relative;display:flex;align-items:center;height:var(--option-height);padding:var(--option-padding);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--options-text-color)}.var-option__cover{position:absolute;top:0;left:0;right:0;bottom:0;opacity:.2;background:transparent}.var-option__text{display:flex;align-items:center;font-size:var(--option-font-size)}.var-option--selected-background{background:var(--option-selected-background)}.var-option--selected-color{color:var(--option-selected-background)}:root{--overlay-background-color: rgba(0, 0, 0, .6)}.var-overlay{display:flex;justify-content:center;align-items:center;position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--overlay-background-color);transition:all .25s}.var-overlay--fade-enter-from,.var-overlay--fade-leave-to{opacity:0}.var-overlay--fade-enter-active,.var-overlay--fade-leave-active{transition:opacity .25s}:root{--pagination-text-color: #555;--pagination-font-size: var(--font-size-md);--pagination-active-color: #fff;--pagination-active-bg-color: var(--color-primary);--pagination-hover-bg-color: rgba(85, 85, 85, .15);--pagination-total-margin: 0 12px;--pagination-total-line-height: 24px;--pagination-item-width: 32px;--pagination-item-height: 32px;--pagination-item-margin: 0 6px;--pagination-item-background: #fff;--pagination-item-border-radius: 4px;--pagination-item-simple-border-radius: 50%;--pagination-list-bg-color: #fff;--pagination-list-active-bg-color: #edf5ff;--pagination-list-active-color: var(--color-primary);--pagination-input-width: 32px;--pagination-disabled-color: var(--color-text-disabled);--pagination-bg-disabled-color: var(--color-disabled);--pagination-size-line-height: 24px}.pagination-flex-nowrap{display:flex;white-space:nowrap;align-items:center}.var-pagination{display:flex;align-items:center;list-style:none;margin:0;font-size:var(--pagination-font-size);padding:0;color:var(--pagination-text-color)}.var-pagination__item{display:inline-flex;min-width:var(--pagination-item-width);align-items:center;justify-content:center;margin:var(--pagination-item-margin);height:var(--pagination-item-height);cursor:pointer;border-radius:var(--pagination-item-border-radius);outline:none;transition:all .25s;user-select:none;background-color:var(--pagination-item-background)}.var-pagination__item:hover{background-color:var(--pagination-hover-bg-color)}.var-pagination__item--active{color:var(--pagination-active-color);background-color:var(--pagination-active-bg-color)!important}.var-pagination__item--hide{display:none}.var-pagination__item--simple{background:transparent;border-radius:var(--pagination-item-simple-border-radius)}.var-pagination__item--disabled{cursor:not-allowed;color:var(--pagination-disabled-color);background-color:unset}.var-pagination__item--disabled:hover{background-color:unset}.var-pagination__item--disabled--hover:hover{background-color:inherit}.var-pagination__item--disabled--active,.var-pagination__item--disabled--active:hover{background-color:var(--pagination-bg-disabled-color)}.var-pagination__prev{margin-left:0}.var-pagination__total{display:flex;white-space:nowrap;align-items:center;line-height:var(--pagination-total-line-height);margin:var(--pagination-total-margin)}.var-pagination__size{display:flex;white-space:nowrap;align-items:center;line-height:var(--pagination-size-line-height);margin:var(--pagination-item-margin)}.var-pagination__size--open{display:flex;align-items:center;cursor:pointer}.var-pagination__size--open--disabled{cursor:inherit}.var-pagination__list{background-color:var(--pagination-list-bg-color);cursor:pointer;transition:all .25s}.var-pagination__list:hover{color:var(--pagination-list-active-color);background-color:var(--pagination-list-active-bg-color)}.var-pagination__list--active{background-color:var(--pagination-list-active-bg-color)!important;color:var(--pagination-list-active-color)}.var-pagination__quickly,.var-pagination__simple{display:flex;white-space:nowrap;align-items:center}.var-pagination__quickly [var-pagination-cover],.var-pagination__simple [var-pagination-cover]{width:var(--pagination-input-width)}.var-pagination__quickly [var-pagination-cover] .var-field-decorator__middle,.var-pagination__simple [var-pagination-cover] .var-field-decorator__middle{padding:0}.var-pagination__quickly [var-pagination-cover] .var-input__input,.var-pagination__simple [var-pagination-cover] .var-input__input{height:auto;text-align:center}.var-pagination__quickly-line,.var-pagination__simple-line{height:1px;background:transparent}.var-pagination__quickly{margin:var(--pagination-item-margin)}.var-pagination__quickly [var-pagination-cover]{margin-left:6px}.var-pagination__size--open-icon[var-pagination-cover]{font-size:inherit}:root{--paper-background: #fff}.var-paper{background:var(--paper-background);transition:background-color .25s;overflow:hidden}.var-paper--round{border-radius:50%}.var-paper--cursor{cursor:pointer}:root{--picker-background: #fff;--picker-toolbar-height: 44px;--picker-confirm-button-text-color: var(--color-primary);--picker-cancel-button-text-color: #888;--picker-picked-border: 1px solid rgba(0, 0, 0, .12);--picker-title-font-size: var(--font-size-lg);--picker-title-text-color: #555;--picker-option-font-size: var(--font-size-lg);--picker-option-text-color: #555;--picker-toolbar-padding: 0 4px;--picker-mask-background-image: linear-gradient(180deg, hsla(0, 0%, 100%, .9), hsla(0, 0%, 100%, .4)), linear-gradient(0deg, hsla(0, 0%, 100%, .9), hsla(0, 0%, 100%, .4))}.var-picker{width:100%;background:var(--picker-background);user-select:none;transition:.25s background-color}.var-picker__popup[var-picker-cover]{width:100%}.var-picker__columns{position:relative;display:flex;width:100%;cursor:grab}.var-picker__column{flex:1;overflow:hidden}.var-picker__text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--picker-option-text-color);font-size:var(--picker-option-font-size)}.var-picker__scroller{width:100%;transition-timing-function:cubic-bezier(.23,1,.68,1)}.var-picker__option{display:flex;justify-content:center;align-items:center;width:100%;padding:0 4px}.var-picker__picked{position:absolute;z-index:2;pointer-events:none;width:100%;left:0;border-top:var(--picker-picked-border);border-bottom:var(--picker-picked-border);transition:.25s border}.var-picker__mask{position:absolute;pointer-events:none;top:0;left:0;width:100%;height:100%;background-image:var(--picker-mask-background-image);background-repeat:no-repeat;background-position:top,bottom}.var-picker__toolbar{display:flex;justify-content:space-between;align-items:center;width:100%;height:var(--picker-toolbar-height);padding:var(--picker-toolbar-padding)}.var-picker__confirm-button[var-picker-cover]{color:var(--picker-confirm-button-text-color)}.var-picker__cancel-button[var-picker-cover]{color:var(--picker-cancel-button-text-color)}.var-picker__title{color:var(--picker-title-text-color);font-size:var(--picker-title-font-size)}:root{--progress-font-size: var(--font-size-sm);--progress-ripple-color: #fff;--progress-track-color: #d8d8d8;--progress-label-color: #555;--progress-background: var(--color-primary);--progress-default-color: #f5f5f5;--progress-primary-color: var(--color-primary);--progress-danger-color: var(--color-danger);--progress-success-color: var(--color-success);--progress-warning-color: var(--color-warning);--progress-info-color: var(--color-info);--progress-linear-border-radius: 0px}.var-progress{position:relative;font-size:var(--progress-font-size)}.var-progress__linear{display:flex;align-items:center}.var-progress__linear-block{flex:1;position:relative;overflow:hidden;height:4px;border-radius:var(--progress-linear-border-radius)}.var-progress__linear-certain{width:100%;height:100%;border-radius:var(--progress-linear-border-radius)}.var-progress__linear-ripple:after{position:absolute;width:0;background-color:var(--progress-ripple-color);height:100%;opacity:0;animation:ripple 1.8s cubic-bezier(.4,0,.2,1) infinite;content:""}.var-progress__linear-background{background-color:var(--progress-track-color)}.var-progress__linear-certain{position:absolute;background-color:var(--progress-background);top:0;left:0;transition:all .2s,background-color .8s}.var-progress__linear-label{margin-left:8px;flex:0;color:var(--progress-label-color)}.var-progress__linear-indeterminate div{bottom:0;height:inherit;left:0;position:absolute;right:auto;top:0;width:auto;will-change:left,right;border-radius:var(--progress-linear-border-radius)}.var-progress__linear-indeterminate div:first-child{animation:progress-linear-long 2.2s infinite}.var-progress__linear-indeterminate div:last-child{animation:progress-linear-short 2.2s infinite}.var-progress__linear--success{background-color:var(--progress-success-color)}.var-progress__linear--default{background-color:var(--progress-default-color)}.var-progress__linear--primary{background-color:var(--progress-primary-color)}.var-progress__linear--warning{background-color:var(--progress-warning-color)}.var-progress__linear--danger{background-color:var(--progress-danger-color)}.var-progress__linear--info{background-color:var(--progress-info-color)}@keyframes progress-linear-long{0%{left:-90%;right:100%}60%{left:-90%;right:100%}to{left:100%;right:-35%}}@keyframes progress-linear-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}@keyframes ripple{0%{width:0;opacity:.1}20%{width:0;opacity:.5}80%{width:100%;opacity:0}}.var-progress__circle{position:relative;width:40px;height:40px}.var-progress__circle-background{stroke:var(--progress-track-color);z-index:1}.var-progress__circle-certain{transition:all .2s;stroke:var(--progress-background);position:absolute}.var-progress__circle-label{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:var(--progress-label-color)}.var-progress__circle--success{stroke:var(--progress-success-color)}.var-progress__circle--default{stroke:var(--progress-default-color)}.var-progress__circle--primary{stroke:var(--progress-primary-color)}.var-progress__circle--warning{stroke:var(--progress-warning-color)}.var-progress__circle--danger{stroke:var(--progress-danger-color)}.var-progress__circle--info{stroke:var(--progress-info-color)}.var-progress__circle-indeterminate svg{animation:progress-circle-rotate 1.4s linear infinite;transform-origin:center center;transition:all .2s ease-in-out;width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0;z-index:0}.var-progress__circle-overlay{animation:progress-circle-dash 1.4s ease-in-out infinite,progress-circle-rotate 1.4s linear infinite;stroke-dasharray:25,200;stroke-dashoffset:0;stroke-linecap:round;transform-origin:center center;transform:rotate(-90deg);z-index:2}@keyframes progress-circle-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:100,200;stroke-dashoffset:-15px}to{stroke-dasharray:100,200;stroke-dashoffset:-124px}}@keyframes progress-circle-rotate{to{transform:rotate(270deg)}}:root{--pull-refresh-size: 40px;--pull-refresh-background: #fff;--pull-refresh-color: var(--color-primary);--pull-refresh-success-color: var(--color-success);--pull-refresh-icon-size: 25px}.var-pull-refresh{overflow:hidden;position:relative;user-select:none;width:100%}.var-pull-refresh__control{display:flex;width:var(--pull-refresh-size);height:var(--pull-refresh-size);align-items:center;justify-content:center;background-color:var(--pull-refresh-background);border-radius:50%;position:absolute;left:50%;z-index:90;color:var(--pull-refresh-color)}.var-pull-refresh__control-success{color:var(--pull-refresh-success-color)}.var-pull-refresh__icon[var-pull-refresh-cover]{font-size:var(--pull-refresh-icon-size)}.var-pull-refresh__animation{transform:rotate(0);animation:iconRotate .6s infinite linear}.var-pull-refresh--lock{overflow:hidden!important}@keyframes iconRotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:root{--radio-checked-color: var(--color-primary);--radio-unchecked-color: #555;--radio-disabled-color: var(--color-text-disabled);--radio-error-color: var(--color-danger);--radio-icon-size: 24px;--radio-action-padding: 6px;--radio-text-color: #555}@keyframes var-vibrate-animation{0%{opacity:1;transform:scale(1)}50%{opacity:.8;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.var-radio{display:flex;align-items:center;transform:translate(calc(-1 * var(--radio-action-padding)));cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-radio__wrap{display:inline-flex;flex-direction:column}.var-radio__action{position:relative;display:flex;justify-content:center;align-items:center;flex-shrink:0;padding:var(--radio-action-padding);border-radius:50%;transition:background-color .25s,color .25s}.var-radio__icon[var-radio-cover]{display:block;font-size:var(--radio-icon-size)}.var-radio__text{color:var(--radio-text-color)}.var-radio--with-animation[var-radio-cover]{animation:var-vibrate-animation .25s}.var-radio--checked{color:var(--radio-checked-color)}.var-radio--unchecked{color:var(--radio-unchecked-color)}.var-radio--disabled{color:var(--radio-disabled-color);cursor:not-allowed}.var-radio--error{color:var(--radio-error-color)}.var-radio-group{display:flex;flex-wrap:wrap}.var-radio-group--horizontal{flex-direction:row}.var-radio-group--vertical{flex-direction:column}:root{--rate-color: var(--color-text);--rate-disabled-color: var(--color-text-disabled);--rate-error-color: var(--color-danger);--rate-action-padding: 4px;--rate-primary-color: var(--color-primary)}.var-rate{display:flex;transform:translate(calc(-1 * var(--rate-action-padding)))}.var-rate__wrap{width:100%}.var-rate__content{position:relative;display:flex;padding:var(--rate-action-padding);cursor:pointer;border-radius:50%;color:var(--rate-color);transition:color .25s;-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-rate__content-icon[var-rate-cover]{font-size:24px}.var-rate--primary{color:var(--rate-primary-color)}.var-rate--disabled{color:var(--rate-disabled-color);cursor:not-allowed}.var-rate--error{color:var(--rate-error-color)}:root{--result-background: #fff;--result-padding: 24px;--result-border-radius: 3px;--result-title-color: #444;--result-title-font-size: 32px;--result-title-margin: 15px 0 0 0;--result-image-size: 80px;--result-title-font-weight: 500;--result-description-margin: 10px 0 0 0;--result-description-font-size: 14px;--result-description-color: rgba(0, 0, 0, .6);--result-description-line-height: 1.6;--result-info-color: var(--color-info);--result-info-border-color: rgba(0, 175, 239, .3);--result-success-color: var(--color-success);--result-success-border-color: rgba(0, 196, 143, .3);--result-error-color: var(--color-danger);--result-error-border-color: rgba(244, 67, 54, .3);--result-warning-color: var(--color-warning);--result-warning-border-color: rgba(255, 159, 0, .3);--result-question-color: #607d8b;--result-question-border-color: rgba(96, 125, 139, .3);--result-empty-color: #9e9e9e;--result-empty-border-color: rgba(158, 158, 158, .3)}.var-result{display:flex;flex-direction:column;align-items:center;border-radius:var(--result-border-radius);width:100%;padding:var(--result-padding);background-color:var(--result-background);transition:background-color .25s}.var-result__image-container{overflow:hidden}.var-result__image{margin:0 auto;position:relative;border-radius:50%;box-sizing:content-box;border-style:solid;border-color:transparent;width:var(--result-image-size);height:var(--result-image-size);display:flex;justify-content:center;align-items:center}.var-result__image svg{margin:0 auto;display:block;width:100%;height:100%}.var-result__info{border-color:var(--result-info-border-color)}.var-result__info path{fill:var(--result-info-color)}.var-result__empty{border-color:var(--result-empty-border-color)}.var-result__empty path{fill:var(--result-empty-color)}.var-result__question{border-color:var(--result-question-border-color)}.var-result__question path{fill:var(--result-question-color)}.var-result__error{border-color:var(--result-error-border-color)}.var-result__error path{fill:var(--result-error-color)}.var-result__warning{border-color:var(--result-warning-border-color)}.var-result__warning path{fill:var(--result-warning-color)}.var-result__success{border-color:var(--result-success-color)}.var-result__success-cover-left{display:block;position:absolute;z-index:1;top:-.875%;left:-41.27%;width:75%;height:150%;border-radius:150% 0 0 150%;transform:rotate(-45deg);background:var(--result-background);transition:background-color .25s}.var-result__success-cover-right{display:block;position:absolute;top:-13.75%;left:37.5%;width:75%;height:150%;border-radius:0 125% 125% 0;animation-name:rotate-circle;animation-timing-function:ease-in;transform-origin:0 50%;transform:rotate(-45deg);background:var(--result-background);transition:background-color .25s}.var-result__success-line{height:6.8%;background-color:var(--result-success-color);display:block;position:absolute;z-index:10;transition:background-color .25s}.var-result__success-line-tip{transform:rotate(45deg);animation-name:success-line-tip;animation-fill-mode:forwards}.var-result__success-line-long{transform:rotate(-45deg);animation-name:success-line-long;animation-fill-mode:forwards}.var-result__success-circle{z-index:10;width:100%;height:100%;border-radius:50%;position:absolute;box-sizing:content-box!important;border-style:solid;border-color:var(--result-success-border-color)}.var-result__success-line-fix{top:9%;left:34%;width:8.75%;height:112.5%;z-index:1;position:absolute;transform:rotate(-45deg);background:var(--result-background);transition:background-color .25s}@keyframes success-line-tip{0%{top:23.75%;left:1.25%;width:0}54%{top:20.25%;left:1%;width:0}70%{top:43.75%;left:-9.5%;width:62.5%}84%{top:60%;left:26.25%;width:21.25%}to{top:56.25%;left:17.5%;width:31.25%}}@keyframes success-line-long{0%{top:67.5%;right:57.5%;width:0}65%{top:67.5%;right:57.5%;width:0}84%{top:43.75%;right:0;width:68.75%}to{top:47%;right:9%;width:58.75%}}@keyframes rotate-circle{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}to{transform:rotate(-405deg)}}.var-result__title{font-size:var(--result-title-font-size);word-break:break-word;margin:var(--result-title-margin);font-weight:var(--result-title-font-weight);color:var(--result-title-color);text-align:center}.var-result__description{font-size:var(--result-description-font-size);word-break:break-word;color:var(--result-description-color);margin:var(--result-description-margin);line-height:var(--result-description-line-height);text-align:center}.var-result__footer{z-index:1;margin-top:20px}.var-row{display:flex;flex-wrap:wrap}:root{--skeleton-content-padding: 16px;--skeleton-card-height: 160px;--skeleton-card-border-radius: 4px;--skeleton-card-margin-bottom: 16px;--skeleton-card-background-color: rgba(0, 0, 0, .12);--skeleton-animation-background: linear-gradient(90deg, hsla(0, 0%, 100%, 0), hsla(0, 0%, 100%, .3), hsla(0, 0%, 100%, 0));--skeleton-avatar-size: 34px;--skeleton-avatar-border-radius: 50%;--skeleton-avatar-margin-right: 16px;--skeleton-avatar-background-color: rgba(0, 0, 0, .12);--skeleton-title-width: 50%;--skeleton-title-border-radius: 10px;--skeleton-title-background-color: rgba(0, 0, 0, .12);--skeleton-row-height: 12px;--skeleton-row-border-radius: 10px;--skeleton-row-margin-top: 10px}@keyframes var-skeleton-animation{0%{transform:translate(-100%)}to{transform:translate(100%)}}.var-skeleton{width:100%}.var-skeleton__content{padding:var(--skeleton-content-padding)}.var-skeleton__card{position:relative;overflow:hidden;width:100%;height:var(--skeleton-card-height);background-color:var(--skeleton-card-background-color);margin-bottom:var(--skeleton-card-margin-bottom);border-radius:var(--skeleton-card-border-radius);transition:background-color .25s}.var-skeleton__article{display:flex;width:100%}.var-skeleton__avatar{position:relative;overflow:hidden;flex-shrink:0;width:var(--skeleton-avatar-size);height:var(--skeleton-avatar-size);border-radius:var(--skeleton-avatar-border-radius);background-color:var(--skeleton-avatar-background-color);margin-right:var(--skeleton-avatar-margin-right);transition:.25s background-color}.var-skeleton__section{width:100%;padding-top:8px}.var-skeleton__title{position:relative;overflow:hidden;width:var(--skeleton-title-width);height:var(--skeleton-row-height);background-color:var(--skeleton-title-background-color);border-radius:var(--skeleton-title-border-radius);transition:.25s background-color}.var-skeleton__row{position:relative;overflow:hidden;width:100%;height:var(--skeleton-row-height);background-color:var(--skeleton-title-background-color);margin-top:var(--skeleton-row-margin-top);border-radius:var(--skeleton-row-border-radius);transition:.25s background-color}.var-skeleton__fullscreen{position:fixed;overflow:hidden;top:0;left:0;bottom:0;right:0;background-color:var(--skeleton-title-background-color);transition:.25s background-color}.var-skeleton--animation:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;animation:var-skeleton-animation 1s infinite;background:var(--skeleton-animation-background);transition:.25s background-color}:root{--slider-error-color: var(--color-danger);--slider-track-background: #bdbdbd;--slider-track-fill-background: var(--color-primary);--slider-thumb-block-background: var(--color-primary);--slider-thumb-ripple-background: var(--color-primary);--slider-thumb-label-background: var(--color-primary);--slider-thumb-label-font-size: var(--font-size-sm);--slider-disabled-opacity: var(--opacity-disabled)}.var-slider{-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%}.var-slider-block{display:flex;align-items:center;position:relative;flex:1;user-select:none;height:36px;margin:0 6px;transition:filter .25s}.var-slider--disabled{filter:opacity(var(--slider-disabled-opacity));cursor:not-allowed}.var-slider-track{width:100%;align-items:center;position:relative}.var-slider-track-background{width:100%;height:2px;background:var(--slider-track-background);transition:filter,background-color,.25s}.var-slider-track-fill{position:absolute;height:100%;left:0;transition:background-color .25s;background-color:var(--slider-track-fill-background)}.var-slider-thumb{position:absolute;cursor:pointer}.var-slider-thumb-block{position:absolute;width:12px;height:12px;border-radius:50%;transform:translate(-50%,-50%);transition:background-color .25s;z-index:1;background-color:var(--slider-thumb-block-background)}.var-slider-thumb-ripple{position:absolute;width:36px;height:36px;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;opacity:.3;background:transparent;transition:.3s var(--cubic-bezier)}.var-slider-thumb-ripple--active{background:var(--slider-thumb-ripple-background)}.var-slider-thumb-label{height:24px;width:24px;background-color:var(--slider-thumb-label-background);display:flex;align-items:center;border:none;justify-content:center;color:#fff;border-radius:50% 50% 0;padding:13px;bottom:60%;user-select:none;position:absolute;left:45%;transition:.3s var(--cubic-bezier);font-size:var(--slider-thumb-label-font-size);overflow:hidden;transform:translateY(0) translateY(0) translate(-50%) rotate(45deg) scale(0)}.var-slider-thumb-label span{transform:rotate(-45deg)}.var-slider-thumb-label--active{transform:translateY(-20%) translateY(-8px) translate(-50%) rotate(45deg) scale(1)}.var-slider__form[var-slider-cover]{margin:0}.var-slider__horizontal{-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%}.var-slider__horizontal-block{display:flex;align-items:center;position:relative;flex:1;user-select:none;height:36px;margin:0 6px;transition:filter .25s}.var-slider__horizontal--disabled{filter:opacity(var(--slider-disabled-opacity));cursor:not-allowed}.var-slider__horizontal-track{width:100%;align-items:center;position:relative}.var-slider__horizontal-track-background{width:100%;height:2px;background:var(--slider-track-background);transition:filter,background-color,.25s}.var-slider__horizontal-track-fill{position:absolute;height:100%;left:0;transition:background-color .25s;background-color:var(--slider-track-fill-background)}.var-slider__horizontal-thumb{position:absolute;cursor:pointer}.var-slider__horizontal-thumb-block{position:absolute;width:12px;height:12px;border-radius:50%;transform:translate(-50%,-50%);transition:background-color .25s;z-index:1;background-color:var(--slider-thumb-block-background)}.var-slider__horizontal-thumb-ripple{position:absolute;width:36px;height:36px;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;opacity:.3;background:transparent;transition:.3s var(--cubic-bezier)}.var-slider__horizontal-thumb-ripple--active{background:var(--slider-thumb-ripple-background)}.var-slider__horizontal-thumb-label{height:24px;width:24px;background-color:var(--slider-thumb-label-background);display:flex;align-items:center;border:none;justify-content:center;color:#fff;border-radius:50% 50% 0;padding:13px;bottom:60%;user-select:none;position:absolute;left:45%;transition:.3s var(--cubic-bezier);font-size:var(--slider-thumb-label-font-size);overflow:hidden;transform:translateY(0) translateY(0) translate(-50%) rotate(45deg) scale(0)}.var-slider__horizontal-thumb-label span{transform:rotate(-45deg)}.var-slider__horizontal-thumb-label--active{transform:translateY(-20%) translateY(-8px) translate(-50%) rotate(45deg) scale(1)}.var-slider__horizontal__form[var-slider-cover]{margin:0}.var-slider__horizontal--error .var-slider__horizontal-track-background{background-color:var(--slider-error-color)!important;filter:opacity(.6)}.var-slider__horizontal--error .var-slider__horizontal-track-fill,.var-slider__horizontal--error .var-slider__horizontal-thumb-block,.var-slider__horizontal--error .var-slider__horizontal-thumb-ripple--active,.var-slider__horizontal--error .var-slider__horizontal-thumb-label{background-color:var(--slider-error-color)!important}.var-slider__vertical{-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;height:100%}.var-slider__vertical-block{display:flex;align-items:center;position:relative;flex:1;user-select:none;height:36px;margin:0 6px;transition:filter .25s}.var-slider__vertical--disabled{filter:opacity(var(--slider-disabled-opacity));cursor:not-allowed}.var-slider__vertical-track{width:100%;align-items:center;position:relative}.var-slider__vertical-track-background{width:100%;height:2px;background:var(--slider-track-background);transition:filter,background-color,.25s}.var-slider__vertical-track-fill{position:absolute;height:100%;left:0;transition:background-color .25s;background-color:var(--slider-track-fill-background)}.var-slider__vertical-thumb{position:absolute;cursor:pointer}.var-slider__vertical-thumb-block{position:absolute;width:12px;height:12px;border-radius:50%;transform:translate(-50%,-50%);transition:background-color .25s;z-index:1;background-color:var(--slider-thumb-block-background)}.var-slider__vertical-thumb-ripple{position:absolute;width:36px;height:36px;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;opacity:.3;background:transparent;transition:.3s var(--cubic-bezier)}.var-slider__vertical-thumb-ripple--active{background:var(--slider-thumb-ripple-background)}.var-slider__vertical-thumb-label{height:24px;width:24px;background-color:var(--slider-thumb-label-background);display:flex;align-items:center;border:none;justify-content:center;color:#fff;border-radius:50% 50% 0;padding:13px;bottom:60%;user-select:none;position:absolute;left:45%;transition:.3s var(--cubic-bezier);font-size:var(--slider-thumb-label-font-size);overflow:hidden;transform:translateY(0) translateY(0) translate(-50%) rotate(45deg) scale(0)}.var-slider__vertical-thumb-label span{transform:rotate(-45deg)}.var-slider__vertical-thumb-label--active{transform:translateY(-20%) translateY(-8px) translate(-50%) rotate(45deg) scale(1)}.var-slider__vertical__form[var-slider-cover]{margin:0}.var-slider__vertical-block{width:36px;display:flex;align-items:center;justify-content:center;position:relative;user-select:none;margin:6px 0;transition:filter .25s}.var-slider__vertical-track{height:100%;width:fit-content}.var-slider__vertical-track-background{width:2px;height:100%;background:var(--slider-track-background);transition:filter,background-color,.25s}.var-slider__vertical-track-fill{width:100%;bottom:0}.var-slider__vertical-thumb-label{transform:translate(0) translate(0) translateY(50%) rotate(-225deg) scale(0)}.var-slider__vertical-thumb-label span{transform:rotate(-135deg)}.var-slider__vertical-thumb-label--active{transform:translate(20%) translate(8px) translateY(50%) rotate(-225deg) scale(1)}.var-slider__vertical--error .var-slider__vertical-track-background{background-color:var(--slider-error-color)!important;filter:opacity(.6)}.var-slider__vertical--error .var-slider__vertical-track-fill,.var-slider__vertical--error .var-slider__vertical-thumb-block,.var-slider__vertical--error .var-slider__vertical-thumb-ripple--active,.var-slider__vertical--error .var-slider__vertical-thumb-label{background-color:var(--slider-error-color)!important}:root{--snackbar-width: 256px;--snackbar-color: rgba(255, 255, 255, .87);--snackbar-border-radius: 4px;--snackbar-background: #333;--snackbar-font-size: var(--font-size-md);--snackbar-margin: 6px 24px;--snackbar-border-color: currentColor;--snackbar-success-background: var(--color-success);--snackbar-info-background: var(--color-info);--snackbar-error-background: var(--color-danger);--snackbar-warning-background: var(--color-warning);--snackbar-content-padding: 14px 16px;--snackbar-action-margin: 0 8px 0;--snackbar-vertical-action-margin: 0 8px 8px 0}.var-transition-group{position:fixed;left:0;right:0;top:0;bottom:0;pointer-events:none}.var-pointer-auto{pointer-events:auto}.var-snackbar{display:flex;justify-content:center;align-items:baseline;left:0;right:0;bottom:0;transition:all .15s var(--cubic-bezier)}.var-snackbar__transition{top:0;position:fixed}.var-snackbar__transition .var-snackbar__wrapper{position:absolute}.var-snackbar__transition .var-snackbar__wrapper-top{top:5%}.var-snackbar__transition .var-snackbar__wrapper-center{top:45%}.var-snackbar__transition .var-snackbar__wrapper-bottom{bottom:5%}.var-snackbar__wrapper{width:var(--snackbar-width);display:flex;border-radius:var(--snackbar-border-radius);color:var(--snackbar-color);background:var(--snackbar-background);font-size:var(--snackbar-font-size);margin:var(--snackbar-margin);align-items:center;border-color:var(--snackbar-border-color);pointer-events:auto;transition:.3s var(--cubic-bezier)}.var-snackbar__wrapper-success{background:var(--snackbar-success-background)}.var-snackbar__wrapper-info{background:var(--snackbar-info-background)}.var-snackbar__wrapper-warning{background:var(--snackbar-warning-background)}.var-snackbar__wrapper-error{background:var(--snackbar-error-background)}.var-snackbar__content{flex-grow:1;padding:var(--snackbar-content-padding)}.var-snackbar__action{margin:var(--snackbar-action-margin);display:flex}.var-snackbar__vertical{flex-direction:column;align-items:flex-start}.var-snackbar__vertical .var-snackbar__action{align-self:flex-end;margin:var(--snackbar-vertical-action-margin)}.var-snackbar-fade-enter-from,.var-snackbar-fade-leave-to{opacity:0;transform:translateY(-30px)}:root{--space-size-mini-y: 4px;--space-size-mini-x: 4px;--space-size-small-y: 6px;--space-size-small-x: 6px;--space-size-normal-y: 8px;--space-size-normal-x: 12px;--space-size-large-y: 12px;--space-size-large-x: 20px}.var-space{display:flex}.var-space--inline{display:inline-flex}:root{--step-tag-size: 20px;--step-tag-background: #9e9e9e;--step-tag-font-size: var(--font-size-md);--step-tag-color: #fff;--step-tag-active-color: var(--color-primary);--step-tag-margin: 4px 0;--step-tag-icon-size: var(--font-size-lg);--step-content-font-size: var(--font-size-md);--step-content-color: rgba(0, 0, 0, .38);--step-content-active-color: #000;--step-line-background: #000;--step-line-gap: 8px;--step-min-size: calc(var(--step-tag-size) + var(--step-line-gap));--step-line-size: calc(100% - var(--step-min-size));--step-vertical-tag-margin: 0 4px;--step-vertical-min-height: 50px}.tag{width:var(--step-tag-size);height:var(--step-tag-size);background:var(--step-tag-background);display:flex;font-size:var(--step-tag-font-size);align-items:center;justify-content:center;border-radius:50%;color:var(--step-tag-color);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:.3s var(--cubic-bezier)}.content{font-size:var(--step-content-font-size);color:var(--step-content-color);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:.3s var(--cubic-bezier)}.var-step{position:relative;flex:1;-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-step:last-child .var-step__horizontal-line{width:0}.var-step:last-child .var-step__vertical-line{height:0}.var-step__horizontal{display:flex;flex-direction:column;align-items:center}.var-step__horizontal-tag{margin:var(--step-tag-margin);width:var(--step-tag-size);height:var(--step-tag-size);background:var(--step-tag-background);display:flex;font-size:var(--step-tag-font-size);align-items:center;justify-content:center;border-radius:50%;color:var(--step-tag-color);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:.3s var(--cubic-bezier)}.var-step__horizontal-tag--active{background:var(--step-tag-active-color)}.var-step__horizontal-content{font-size:var(--step-content-font-size);color:var(--step-content-color);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:.3s var(--cubic-bezier)}.var-step__horizontal-content--active{color:var(--step-content-active-color)}.var-step__horizontal-line{position:absolute;top:calc(var(--step-min-size) / 2);left:calc(50% + var(--step-min-size) / 2);width:var(--step-line-size);height:1px;transform:scaleY(.5);background:var(--step-line-background)}.var-step__vertical{display:flex;height:100%;min-height:var(--step-vertical-min-height)}.var-step__vertical-tag{flex-shrink:0;margin:var(--step-vertical-tag-margin);width:var(--step-tag-size);height:var(--step-tag-size);background:var(--step-tag-background);display:flex;font-size:var(--step-tag-font-size);align-items:center;justify-content:center;border-radius:50%;color:var(--step-tag-color);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:.3s var(--cubic-bezier)}.var-step__vertical-tag--active{background:var(--step-tag-active-color)}.var-step__vertical-content{font-size:var(--step-content-font-size);color:var(--step-content-color);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:.3s var(--cubic-bezier)}.var-step__vertical-content--active{color:var(--step-content-active-color)}.var-step__vertical-line{position:absolute;height:var(--step-line-size);left:calc(var(--step-min-size) / 2);top:calc(var(--step-min-size) - var(--step-line-gap) / 2);width:1px;transform:scaleX(.5);background:var(--step-line-background)}.var-step__icon[var-step-cover]{font-size:var(--step-tag-icon-size)}.var-steps{width:100%;display:flex;justify-content:space-between;overflow:hidden}:root{--switch-track-background: #fff;--switch-track-active-background: var(--color-primary);--switch-track-error-background: var(--color-danger);--switch-ripple-color: var(--color-primary);--switch-handle-background: #fff;--switch-handle-color: #fff;--switch-handle-active-background: var(--color-primary);--switch-handle-error-background: var(--color-danger);--switch-disabled-opacity: var(--opacity-disabled)}.var-switch{display:inline-block}.var-switch__block{position:relative;display:flex;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);align-items:center;justify-content:center;height:24px;width:40px;transition:filter .25s}.var-switch--disabled{filter:opacity(var(--switch-disabled-opacity));cursor:not-allowed}.var-switch__track{background-color:var(--switch-track-background);transition:background-color .25s;filter:opacity(var(--switch-disabled-opacity));height:14.4px;width:38px;border-radius:calc(20px * 2 / 3)}.var-switch__track--active{background-color:var(--switch-track-active-background)}.var-switch__track--error{background-color:var(--switch-track-error-background)!important}.var-switch__ripple{position:absolute;display:flex;align-items:center;justify-content:center;color:var(--switch-ripple-color);border-radius:50%;overflow:hidden;transition:.3s var(--cubic-bezier);width:40px;height:40px;left:-10px}.var-switch__ripple--active{left:10px}.var-switch__handle{border-radius:50%;background-color:var(--switch-handle-background);display:flex;align-items:center;justify-content:center;color:var(--switch-handle-color);transition:background-color .25s;width:20px;height:20px}.var-switch__handle--active{background-color:var(--switch-handle-active-background)}.var-switch__handle--error{background-color:var(--switch-handle-error-background)!important}.var-switch__loading{display:inline-block;width:16px;height:16px;animation:circle 1.8s linear infinite}.var-switch__loading svg{display:block;width:100%;height:100%}.var-switch__loading svg circle{animation:circular 1.5s ease-in-out infinite;stroke:currentColor;stroke-width:3;stroke-linecap:round}@keyframes circle{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes circular{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40}to{stroke-dasharray:90,150;stroke-dashoffset:-120}}:root{--tab-padding: 12px;--tab-active-color: var(--color-primary);--tab-inactive-color: #646566;--tab-disabled-color: var(--color-text-disabled);--tab-font-size: var(--font-size-md)}.var-tab{display:flex;justify-content:center;align-items:center;flex:1 0 auto;padding:0 var(--tab-padding);font-size:var(--tab-font-size);cursor:pointer;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-tab--active{color:var(--tab-active-color)}.var-tab--inactive{color:var(--tab-inactive-color)}.var-tab--disabled{color:var(--tab-disabled-color);cursor:not-allowed}.var-tab--horizontal{flex-direction:row}.var-tab--vertical{flex-direction:column}.var-tab-item--inactive[var-tab-item-cover]{overflow:visible;height:0}:root{--table-background: #fff;--table-border-radius: 2px;--table-thead-border-bottom: thin solid rgba(0, 0, 0, .12);--table-thead-th-text-color: rgba(0, 0, 0, .6);--table-thead-th-font-size: 14px;--table-thead-tr-border-bottom: thin solid rgba(0, 0, 0, .12);--table-tbody-tr-hover-background: #eee;--table-tbody-tr-border-bottom: thin solid rgba(0, 0, 0, .12);--table-tbody-td-text-color: #555;--table-tbody-td-font-size: 16px;--table-row-height: 46px;--table-row-padding: 0 16px;--table-footer-border-top: thin solid rgba(0, 0, 0, .12)}.var-table{width:100%;background:var(--table-background);border-radius:var(--table-border-radius);transition:.25s background-color}.var-table *{box-sizing:border-box}.var-table__main{width:100%;overflow-x:auto}.var-table__main>table{min-width:100%;display:table;border-spacing:0;border-collapse:collapse;line-height:normal}.var-table__main>table thead{display:table-header-group;border-bottom:var(--table-thead-border-bottom)}.var-table__main>table thead tr th{color:var(--table-thead-th-text-color);font-size:var(--table-thead-th-font-size)}.var-table__main>table thead tr:not(:last-child){border-bottom:var(--table-thead-tr-border-bottom)}.var-table__main>table tbody{display:table-row-group}.var-table__main>table tbody tr{display:table-row;outline:0;vertical-align:middle}.var-table__main>table tbody tr:hover{background:var(--table-tbody-tr-hover-background)}.var-table__main>table tbody tr:not(:last-child){border-bottom:var(--table-tbody-tr-border-bottom)}.var-table__main>table tbody td{color:var(--table-tbody-td-text-color);font-size:var(--table-tbody-td-font-size)}.var-table__main>table th{display:table-cell;height:var(--table-row-height);padding:var(--table-row-padding);font-weight:500;text-align:left}.var-table__main>table td{display:table-cell;padding:var(--table-row-padding);height:var(--table-row-height);text-align:left}.var-table__footer{width:100%;min-height:var(--table-row-height);border-top:var(--table-footer-border-top)}:root{--tabs-item-horizontal-height: 44px;--tabs-item-vertical-height: 66px;--tabs-radius: 2px;--tabs-padding: 12px;--tabs-indicator-size: 2px;--tabs-indicator-background: var(--color-primary);--tabs-background: #fff;--tabs-indicator-inner-size: 100%}.var-tabs{border-radius:var(--tabs-radius);background:var(--tabs-background);overflow:hidden;transition:background-color .25s}.var-tabs__tab-wrap{position:relative;display:flex;height:100%}.var-tabs__indicator{display:flex;justify-content:center;align-items:center;position:absolute;z-index:1;transition-property:width,transform;transition-duration:.3s}.var-tabs__indicator-inner{background:var(--tabs-indicator-background)}.var-tabs--layout-horizontal{flex-direction:row}.var-tabs--layout-horizontal-scrollable{overflow-x:auto;overflow-y:hidden}.var-tabs--layout-horizontal-scrollable::-webkit-scrollbar{display:none}.var-tabs--layout-horizontal-padding{padding:0 var(--tabs-padding)}.var-tabs--layout-horizontal-indicator{left:0;bottom:0;height:var(--tabs-indicator-size)}.var-tabs--layout-horizontal-reverse-indicator{left:0;top:0;height:var(--tabs-indicator-size)}.var-tabs--layout-horizontal-indicator-inner{width:var(--tabs-indicator-inner-size);height:100%}.var-tabs--layout-vertical{flex-direction:column}.var-tabs--layout-vertical-scrollable{overflow-x:hidden;overflow-y:auto}.var-tabs--layout-vertical-scrollable::-webkit-scrollbar{display:none}.var-tabs--layout-vertical-padding{padding:0}.var-tabs--layout-vertical-indicator{left:0;top:0;width:var(--tabs-indicator-size)}.var-tabs--layout-vertical-reverse-indicator{right:0;top:0;width:var(--tabs-indicator-size)}.var-tabs--layout-vertical-indicator-inner{width:100%;height:var(--tabs-indicator-inner-size)}.var-tabs--item-horizontal{height:var(--tabs-item-horizontal-height)}.var-tabs--item-vertical{height:var(--tabs-item-vertical-height)}.var-tabs--fixed-bottom{position:fixed;width:100%;left:0;bottom:0;z-index:99}.var-tabs--safe-area{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);box-sizing:content-box!important}:root{--time-picker-border-radius: 4px;--time-picker-font-size: var(--font-size-md);--time-picker-min-width: 290px;--time-picker-height: 385px;--time-picker-title-padding: 16px;--time-picker-title-color: #fff;--time-picker-title-background: var(--color-primary);--time-picker-title-time-font-size: 50px;--time-picker-title-time-margin: 0 5px;--time-picker-title-ampm-margin-left: 5px;--time-picker-clock-left: 27px;--time-picker-clock-right: 27px;--time-picker-clock-top: 27px;--time-picker-clock-bottom: 27px;--time-picker-clock-container-width: 270px;--time-picker-clock-container-height: 270px;--time-picker-clock-container-background: #e0e0e0;--time-picker-clock-hand-height:calc(50% - 4px);--time-picker-clock-hand-width: 2px;--time-picker-clock-hand-bottom: 50%;--time-picker-clock-hand-left:calc(50% - 1px);--time-picker-clock-hand-background: var(--color-primary);--time-picker-clock-hand-border-color: var(--color-primary);--time-picker-clock-hand-before-width: 10px;--time-picker-clock-hand-before-height: 10px;--time-picker-clock-hand-before-border-width: 2px;--time-picker-clock-hand-after-width: 4px;--time-picker-clock-hand-after-height: 4px;--time-picker-clock-item-height: 32px;--time-picker-clock-item-width: 32px;--time-picker-clock-item-active-background: var(--color-primary);--time-picker-clock-item-active-color: #fff;--time-picker-clock-item-disable-color: rgba(0, 0, 0, .26);--time-picker-clock-item-text-color: #555;--time-picker-inner-left: 36px;--time-picker-inner-right: 36px;--time-picker-inner-top: 36px;--time-picker-inner-bottom: 36px;--time-picker-body-background: #fff}.after-before-basic{content:"";position:absolute;border-radius:100%;left:50%;transform:translate(-50%,-50%)}.var-time-picker{border-radius:var(--time-picker-border-radius);contain:layout style;display:flex;width:100%;flex-direction:column;font-size:var(--time-picker-font-size);position:relative;min-width:var(--time-picker-min-width);height:var(--time-picker-height);overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-time-picker__title{padding:var(--time-picker-title-padding);color:var(--time-picker-title-color);background:var(--time-picker-title-background);display:flex;align-items:flex-end;justify-content:flex-end}.var-time-picker__title-btn{opacity:.6;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:.3s var(--cubic-bezier);white-space:nowrap}.var-time-picker__title-btn--active{opacity:1}.var-time-picker__title-time{display:flex;justify-content:flex-end;font-size:var(--time-picker-title-time-font-size)}.var-time-picker__title-time .var-time-picker__title-btn{align-items:center;margin:var(--time-picker-title-time-margin)}.var-time-picker__title-ampm{margin-left:var(--time-picker-title-ampm-margin-left)}.var-time-picker__body{flex:1;display:flex;align-items:center;justify-content:center;background-color:var(--time-picker-body-background)}.var-time-picker__clock{position:absolute;bottom:var(--time-picker-clock-bottom);left:var(--time-picker-clock-left);right:var(--time-picker-clock-right);top:var(--time-picker-clock-top)}.var-time-picker__clock-container{width:var(--time-picker-clock-container-width);height:var(--time-picker-clock-container-height);background:var(--time-picker-clock-container-background);border-radius:50%;position:relative}.var-time-picker__clock-hand{height:var(--time-picker-clock-hand-height);width:var(--time-picker-clock-hand-width);bottom:var(--time-picker-clock-hand-bottom);left:var(--time-picker-clock-hand-left);transform-origin:center bottom;position:absolute;will-change:transform;z-index:1;background-color:var(--time-picker-clock-hand-background);border-color:var(--time-picker-clock-hand-border-color)}.var-time-picker__clock-hand:before{content:"";position:absolute;border-radius:100%;left:50%;transform:translate(-50%,-50%);background:transparent;border:var(--time-picker-clock-hand-before-border-width) solid;width:var(--time-picker-clock-hand-before-width);height:var(--time-picker-clock-hand-before-height);top:-5px;border-color:inherit}.var-time-picker__clock-hand:after{content:"";position:absolute;border-radius:100%;left:50%;transform:translate(-50%,-50%);border-color:inherit;height:var(--time-picker-clock-hand-after-height);width:var(--time-picker-clock-hand-after-width);top:100%;border-style:solid;background-color:inherit}.var-time-picker__clock-item{align-items:center;border-radius:100%;display:flex;justify-content:center;height:var(--time-picker-clock-item-height);position:absolute;width:var(--time-picker-clock-item-width);user-select:none;transform:translate(-50%,-50%);color:var(--time-picker-clock-item-text-color)}.var-time-picker__clock-item--active{background:var(--time-picker-clock-item-active-background);z-index:2;color:var(--time-picker-clock-item-active-color)}.var-time-picker__clock-item--disable{color:var(--time-picker-clock-item-disable-color)}.var-time-picker__clock-inner{position:absolute;bottom:var(--time-picker-inner-bottom);left:var(--time-picker-inner-left);right:var(--time-picker-inner-right);top:var(--time-picker-inner-top)}.var-time-picker-panel-fade-enter-from,.var-time-picker-panel-fade-leave-to{transition:.3s var(--cubic-bezier);opacity:0}.var-time-picker-panel-fade-leave-active{position:absolute}:root{--uploader-action-background: #f7f8fa;--uploader-action-icon-color: #888;--uploader-action-icon-size: 24px;--uploader-action-margin: 0 10px 10px 0;--uploader-file-size: 80px;--uploader-file-margin: 0 10px 10px 0;--uploader-file-name-background: #f7f8fa;--uploader-file-name-color: #888;--uploader-file-name-font-size: 12px;--uploader-file-name-padding: 10px;--uploader-file-text-align: center;--uploader-file-close-background: rgba(0, 0, 0, .3);--uploader-file-close-size: 24px;--uploader-file-close-icon-font-size: 14px;--uploader-file-close-icon-color: #fff;--uploader-file-cover-fit: cover;--uploader-file-cover-background: #f7f8fa;--uploader-preview-video-width: 100vw;--uploader-preview-video-height: 100vw;--uploader-file-indicator-height: 4px;--uploader-file-indicator-normal-color: var(--color-disabled);--uploader-file-indicator-success-color: var(--color-success);--uploader-file-indicator-error-color: var(--color-danger);--uploader-file-progress-color: var(--color-primary);--uploader-disabled-color: var(--color-disabled);--uploader-disabled-text-color: var(--color-text-disabled);--uploader-loading-background: linear-gradient(90deg, hsla(0, 0%, 100%, 0), hsla(0, 0%, 100%, .3), hsla(0, 0%, 100%, 0))}@keyframes var-uploader-loading-animation{0%{transform:translate(-100%)}to{transform:translate(100%)}}.var-uploader{width:100%}.var-uploader__file-list{width:100%;display:flex;flex-wrap:wrap}.var-uploader__file{position:relative;width:var(--uploader-file-size);height:var(--uploader-file-size);margin:var(--uploader-file-margin);overflow:hidden;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-uploader__file-name{position:absolute;width:100%;height:100%;line-height:calc(var(--uploader-file-size) - var(--uploader-file-name-padding) * 2);font-size:var(--uploader-file-name-font-size);z-index:0;background:var(--uploader-file-name-background);padding:var(--uploader-file-name-padding);color:var(--uploader-file-name-color);text-align:var(--uploader-file-text-align);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;user-select:none;transition:background-color .25s}.var-uploader__file-cover{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;background:var(--uploader-file-cover-background);object-fit:var(--uploader-file-cover-fit);pointer-events:none;transition:background-color .25s}.var-uploader__file-close{position:absolute;top:0;right:0;z-index:2;border-top:var(--uploader-file-close-size) solid var(--uploader-file-close-background);border-left:var(--uploader-file-close-size) solid transparent}.var-uploader__file-close-icon[var-uploader-cover]{position:absolute;top:calc(-1 * var(--uploader-file-close-size));right:0;font-size:var(--uploader-file-close-icon-font-size);color:var(--uploader-file-close-icon-color)}.var-uploader__file-indicator{position:absolute;left:0;bottom:0;z-index:2;width:100%;height:var(--uploader-file-indicator-height);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;background:var(--uploader-file-indicator-normal-color)}.var-uploader__action{position:relative;display:flex;justify-content:center;align-items:center;color:var(--uploader-action-icon-color);width:var(--uploader-file-size);height:var(--uploader-file-size);background:var(--uploader-action-background);margin:var(--uploader-action-margin);transition:background-color .25s;cursor:pointer}.var-uploader__action-icon[var-uploader-cover]{font-size:var(--uploader-action-icon-size)}.var-uploader__action-input{display:block;width:0;height:0;visibility:hidden}.var-uploader__preview[var-uploader-cover]{background:#000;box-shadow:none}.var-uploader__preview-video{width:var(--uploader-preview-video-width);height:var(--uploader-preview-video-height)}.var-uploader__progress{width:0%;height:100%;background-color:var(--uploader-file-progress-color);transition:all .25s ease-in-out}.var-uploader--loading:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;animation:var-uploader-loading-animation .6s infinite;background:var(--uploader-loading-background);transition:background-color .25s}.var-uploader--success{background:var(--uploader-file-indicator-success-color)}.var-uploader--error{background:var(--uploader-file-indicator-error-color)}.var-uploader--disabled{background:var(--uploader-disabled-color);color:var(--uploader-disabled-text-color);cursor:not-allowed}:root{--primary-color: #198CFE}*{margin:0;padding:0;box-sizing:border-box}img{-webkit-touch-callout:none}body{user-select:none}g,path{outline:0}.abcjs-annotation,.abcjs-download-midi{display:none}.deleteDialog{width:400px!important;display:flex;flex-direction:column;border-radius:12px;min-height:190px}.deleteDialog.n-dialog .n-dialog__title{justify-content:center;font-weight:600;font-size:16px;padding-right:0!important}.deleteDialog.n-dialog .n-dialog__icon{display:none}.deleteDialog.n-dialog .n-dialog__action{margin-top:auto;justify-content:center}.deleteDialog.n-dialog .n-dialog__action .n-button{width:117px;height:35px;line-height:35px;border-radius:18px}.deleteDialog.n-dialog .n-dialog__content{flex:1;display:flex;align-items:center;justify-content:center}.abcjs-inline-audio{height:26px;padding:0 5px;border-radius:3px;background-color:#424242;display:flex;align-items:center;box-sizing:border-box}.abcjs-inline-audio.abcjs-disabled{opacity:.5}.abcjs-inline-audio .abcjs-btn{display:block;width:28px;height:34px;margin-right:2px;padding:7px 4px;background:none!important;border:1px solid transparent;box-sizing:border-box;line-height:1}.abcjs-btn g{fill:#f4f4f4;stroke:#f4f4f4}.abcjs-inline-audio .abcjs-btn:hover g{fill:#ccc;stroke:#ccc}.abcjs-inline-audio .abcjs-midi-selection.abcjs-pushed,.abcjs-inline-audio .abcjs-midi-loop.abcjs-pushed,.abcjs-inline-audio .abcjs-midi-reset.abcjs-pushed{border:1px solid #cccccc;background-color:#666;box-sizing:border-box}.abcjs-inline-audio .abcjs-midi-start .abcjs-pause-svg,.abcjs-inline-audio .abcjs-midi-start .abcjs-loading-svg,.abcjs-inline-audio .abcjs-midi-start.abcjs-pushed .abcjs-play-svg,.abcjs-inline-audio .abcjs-midi-start.abcjs-loading .abcjs-play-svg{display:none}.abcjs-inline-audio .abcjs-midi-start.abcjs-pushed .abcjs-pause-svg{display:block}.abcjs-inline-audio .abcjs-midi-progress-background{background-color:#424242;height:10px;border-radius:5px;border:2px solid #cccccc;margin:0 8px 0 15px;position:relative;flex:1;padding:0;box-sizing:border-box}.abcjs-inline-audio .abcjs-midi-progress-indicator{width:20px;margin-left:-10px;height:14px;background-color:#f4f4f4;position:absolute;display:inline-block;border-radius:6px;top:-4px;left:0;box-sizing:border-box}.abcjs-inline-audio .abcjs-midi-clock{margin-left:4px;margin-top:1px;margin-right:2px;display:inline-block;font-family:sans-serif;font-size:16px;box-sizing:border-box;color:#f4f4f4}.abcjs-inline-audio .abcjs-tempo-wrapper{font-size:10px;color:#f4f4f4;box-sizing:border-box;display:flex;align-items:center}.abcjs-inline-audio .abcjs-midi-tempo{border-radius:2px;border:none;margin:0 2px 0 4px;width:42px;padding-left:2px;box-sizing:border-box}.abcjs-inline-audio .abcjs-loading .abcjs-loading-svg{display:inherit}.abcjs-inline-audio .abcjs-loading{outline:none;animation-name:abcjs-spin;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}.abcjs-inline-audio .abcjs-loading-svg circle{stroke:#f4f4f4}@keyframes abcjs-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.abcjs-large .abcjs-inline-audio{height:52px}.abcjs-large .abcjs-btn{width:56px;height:52px;font-size:28px;padding:6px 8px}.abcjs-large .abcjs-midi-progress-background{height:20px;border:4px solid #cccccc}.abcjs-large .abcjs-midi-progress-indicator{height:28px;top:-8px;width:40px}.abcjs-large .abcjs-midi-clock{font-size:32px;margin-right:10px;margin-left:10px;margin-top:-1px}.abcjs-large .abcjs-midi-tempo{font-size:20px;width:50px}.abcjs-large .abcjs-tempo-wrapper{font-size:20px}.abcjs-css-warning{display:none}._container_1h3dr_1{position:fixed;top:0;right:0;bottom:0;left:0;width:100vw;height:100vh;display:flex;flex-direction:column;background-color:#fff;overflow:hidden}._container_1h3dr_1 .abcjs-note{fill:currentColor!important}._container_1h3dr_1 .abcjs-note.note_selected{fill:#0f81ff!important}._rhythm_1h3dr_17 svg .abcjs-stem,._rhythm_1h3dr_17 svg .abcjs-beam-elem{transform:translateY(3px)}._rhythm_1h3dr_17 svg .abcjs-rest path[data-name="rests.whole"]{transform:translateY(8px)}._rhythm_1h3dr_17 svg .abcjs-staff path:nth-child(1),._rhythm_1h3dr_17 svg .abcjs-staff path:nth-child(2),._rhythm_1h3dr_17 svg .abcjs-staff path:nth-child(4),._rhythm_1h3dr_17 svg .abcjs-staff path:nth-child(5){opacity:0}._containerTop_1h3dr_30{display:flex;align-items:flex-start;background-color:#fbfbfb;padding:6px 0;border-bottom:1px solid #dee0e1}._topWrap_1h3dr_37{display:flex;align-items:center;flex-wrap:wrap;padding-left:20px;width:100%}._topWrap_1h3dr_37 ._topBtn_1h3dr_44 ._btnImg_1h3dr_44{width:40px;height:40px}._topBtn_1h3dr_44{position:relative;display:flex;flex-direction:column;align-items:center;font-size:12px;margin:.3%;line-height:18px;cursor:pointer}._topBtn_1h3dr_44 ._btnImg_1h3dr_44{display:flex;justify-content:center;align-items:center;width:46px;height:46px;border-radius:6px;margin-bottom:1px}._topBtn_1h3dr_44 ._btnImg_1h3dr_44:hover{background-color:rgba(0,0,0,.1)}._topBtn_1h3dr_44 ._btnImg_1h3dr_44._btnImgActive_1h3dr_70{background-color:#c1dbfb}._topBtn_1h3dr_44 ._topBtnIcon_1h3dr_73{width:100%;height:100%}._btnDisabled_1h3dr_77{cursor:not-allowed;opacity:.5;pointer-events:none}._topDownArrow_1h3dr_82{padding:20px 10px;border-radius:6px;cursor:pointer}._topDownArrow_1h3dr_82:hover{background-color:rgba(0,0,0,.1)}._topDownArrow_1h3dr_82 img{width:10px;display:block}._topLine_1h3dr_94{margin:0 9px;width:1px;height:40px;background-color:#dcdadc}._btnPlayMore_1h3dr_100{font-size:24px}._wrapBox_1h3dr_103{display:flex;flex-wrap:wrap}._wrapBox_1h3dr_103 ._topBtn_1h3dr_44{margin:0 8px 8px}._wrapBox_1h3dr_103 ._topBtn_1h3dr_44 ._btnImg_1h3dr_44{font-size:30px}._wrapBox_1h3dr_103 ._longTopBtn_1h3dr_113{width:calc(100% / 3)}._wrapBox_1h3dr_103 ._longTopBtn_1h3dr_113 ._btnImg_1h3dr_44{width:90%}._dropDownWrap_1h3dr_119{width:330px;background:#FFFFFF;box-shadow:0 2px 17px rgba(0,0,0,.08);border-radius:12px;padding:10px 12px;justify-content:space-between}._content_1h3dr_127{flex:1;display:flex;overflow:hidden}._content_1h3dr_127 ._slide_1h3dr_132{position:relative;padding:12px 0;width:300px;flex-shrink:0;background-color:#fbfbfb;border-right:1px solid #dee0e1;overflow-y:auto}._content_1h3dr_127 ._slide_1h3dr_132::-webkit-scrollbar{display:none;width:0}._content_1h3dr_127 ._box_1h3dr_145{position:relative;flex:1;min-height:100%;overflow:auto;padding:20px 20px 180px}._value_1h3dr_153{display:block;margin:20px auto;width:80%;height:100Px}.deleteDialog.saveDialog{width:338px}.deleteDialog.saveDialog .n-dialog__title{padding-right:0!important}.deleteDialog.saveDialog .n-dialog__content{color:#777}.abcjs-note-hover:hover{fill:rgba(255,230,89,.282);cursor:pointer}.abcjs-bar-number{font-size:12px;transform:translateY(-5px)}.ABCJS-cursor{stroke:rgba(25,140,254,.6);border-radius:5px}._instruments_1h3dr_180{padding:24px;background:#FFFFFF;box-shadow:0 2px 17px rgba(0,0,0,.08);border-radius:16px;border:1px solid #F5F5F7;width:300px}._instruments_1h3dr_180 ._instrumentTitle_1h3dr_188{font-size:18px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#131415;line-height:25px;margin-bottom:20px}._titleBox_1h3dr_196 .n-input__border{border:1px dashed #ccc}._titleBox_1h3dr_196 .n-input__input{text-align:center}._popupWrap_1h3dr_202.n-popover{padding:12px 12px 20px!important;background:#FFFFFF;box-shadow:0 2px 17px rgba(0,0,0,.08);border-radius:16px;border:1px solid #F5F5F7}._btnLineTitle_1h3dr_210{font-size:16px;font-weight:600;color:#131415;line-height:40px;height:40px}._btnItem_1h3dr_217{display:flex;flex-direction:column;justify-content:center;align-items:center}._btnItem_1h3dr_217 ._btnItemIcon_1h3dr_223{display:flex;justify-content:center;align-items:center;width:46px;height:46px;font-size:30px;border-radius:6px;cursor:pointer}._btnItem_1h3dr_217 ._btnItemIcon_1h3dr_223:hover{background-color:rgba(0,0,0,.1)}._btnItem_1h3dr_217 ._btnItemName_1h3dr_236{font-size:12px}._btnItem_1h3dr_217._btnItemActive_1h3dr_239 ._btnItemIcon_1h3dr_223{background-color:#c1dbfb}._titleName_1h3dr_242 .n-input{font-size:18px;font-weight:600;height:40px;line-height:40px}._selectMearesBox_1h3dr_248{width:286px;position:fixed;padding:12px!important;background:#FFFFFF;box-shadow:0 2px 17px rgba(0,0,0,.08);border-radius:16px;border:1px solid #F5F5F7}._selectMearesBox_1h3dr_248 ._mearesInput_1h3dr_257{display:flex;align-items:center;flex:1;border:1px solid #e0e0e6;border-radius:4px}._selectMearesBox_1h3dr_248 ._mearesInput_1h3dr_257 .n-input__placeholder,._selectMearesBox_1h3dr_248 ._mearesInput_1h3dr_257 .n-input__input-el{text-align:center}._selectMearesHidden_1h3dr_268{display:none}._loading_1h3dr_271{position:absolute;left:0;right:0;top:0;bottom:0;background-color:rgba(0,0,0,.6);display:flex;justify-content:center;align-items:center;z-index:100;--n-size: 56px !important}._loading_1h3dr_271 .n-spin-description{margin-top:30px;font-size:18px;font-weight:600;color:#fff}._loading_1h3dr_271 .n-button{background:rgba(255,255,255,.1);font-size:15px!important;color:#fff!important;--n-border: 1px solid #fff;--n-border-hover: 1px solid #fff;--n-border-pressed: 1px solid #fff;--n-border-focus: 1px solid #fff}._loading_1h3dr_271 .n-button:hover,._loading_1h3dr_271 .n-button:active{background:rgba(255,255,255,.1)}._loading_1h3dr_271 ._btnGroup_1h3dr_303{text-align:center;margin-top:30px}._exportPng_1h3dr_307{position:fixed;left:0;top:0;width:100%;z-index:-10;pointer-events:none}._tabsmodel_1h3dr_315 .n-tabs-tab{font-size:15px;color:#777}._tabsmodel_1h3dr_315 .n-tabs-tab--active{color:#131415!important;font-weight:600!important}._tabsmodel_1h3dr_315 .n-tabs-bar{width:21px!important;height:3px;background:#198CFE;border-radius:2px;transform:translate(19px)}._piano_1vew4_1{position:fixed;bottom:0;width:calc(100% - 310px);right:10px;display:flex;padding:10px;z-index:10;transform:translateY(100%);transition:all .3s}._show_1vew4_12{transform:translateY(0)}._pianoItemWrap_1vew4_15{position:relative;flex:1;display:flex;justify-content:center;margin:0 auto;overflow:hidden}._pianoItemWrap_1vew4_15 ._itemWrap_1vew4_23{position:relative;display:flex;width:calc(100% / 7);max-width:230px}._pianoItemWrap_1vew4_15 ._itemWrap_1vew4_23:first-child{justify-content:flex-end}._pianoItemWrap_1vew4_15 ._item_1vew4_23{position:relative;width:calc(100% / 7);height:160px;background:#fff;background:linear-gradient(-30deg,#f5f5f5,#fff);border:1px solid #ccc;border-radius:0 0 5px 5px;cursor:pointer}._pianoItemWrap_1vew4_15 ._item_1vew4_23:hover{box-shadow:inset 0 0 5px orange}._pianoItemWrap_1vew4_15 ._item_1vew4_23:active{background:#facc94}._pianoItemWrap_1vew4_15 ._item_1vew4_23._keyDown_1vew4_48{background:#efefef;transform:scaleY(.95);transform-origin:top}._pianoItemWrap_1vew4_15 ._item_1vew4_23._keyDown_1vew4_48:before{content:"";position:absolute;left:0;bottom:0;width:10%;height:100%;background:rgba(0,0,0,.1)}._pianoItemWrap_1vew4_15 ._item_1vew4_23._keyDown_1vew4_48:after{content:"";position:absolute;right:0;bottom:0;width:10%;height:100%;background:rgba(0,0,0,.1)}._pianoItemWrap_1vew4_15 ._keytip_1vew4_71{display:flex;flex-direction:column;align-items:center;width:100%;color:#131415;text-align:center;font-size:12Px;position:absolute;bottom:5%}._pianoItemWrap_1vew4_15 ._singname_1vew4_82{width:80%;height:20px;line-height:20px;text-align:center;font-weight:700;font-size:12px;border-radius:2px}._pianoItemWrap_1vew4_15 ._bkey_1vew4_91{position:absolute;width:calc(100% / 11);height:90px;background:linear-gradient(-20deg,#333,#000,#333);border-color:#666 #222 #111 #555;border-style:solid;border-width:1px 2px 7px;border-radius:0 0 2px 2px;box-shadow:inset 0 -1px 2px rgba(255,255,255,.4),0 2px 3px rgba(0,0,0,.4);overflow:hidden;z-index:2}._pianoItemWrap_1vew4_15 ._bkey_1vew4_91:hover{cursor:pointer;box-shadow:inset 0 0 7px #87cefa}._pianoItemWrap_1vew4_15 ._bkey_1vew4_91:active{background:#75c3ed;border-color:#75c3ed}._pianoItemWrap_1vew4_15 .bkey0{left:9%}._pianoItemWrap_1vew4_15 .bkey1{left:24%}._pianoItemWrap_1vew4_15 .bkey3{left:51%}._pianoItemWrap_1vew4_15 .bkey4{left:66%}._pianoItemWrap_1vew4_15 .bkey5{left:81%}._setbox_97a7m_1{position:relative;top:0;display:flex;flex-direction:column;border-radius:6px;background:#fff;overflow:hidden}._head_97a7m_10{position:relative;line-height:53px;height:53px;text-align:center;background:#F5F6FA;color:#131415;font-weight:600;display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0}._head_97a7m_10 ._close_97a7m_24{position:absolute;top:50%;right:20px;transform:translateY(-50%)}._content_97a7m_30{flex:1;padding:30px;overflow:hidden}._lineTitle_97a7m_35{height:21px;font-size:15px;font-weight:600;color:#131415;line-height:21px;margin-bottom:10px}._item_97a7m_43{position:relative;text-align:center;font-size:14px;font-weight:400;color:#777;cursor:pointer}._item_97a7m_43 ._itemImg_97a7m_51{width:100px;height:100px;border:2px solid #fff;border-radius:18px;overflow:hidden;margin-bottom:7px}._item_97a7m_43 ._icon_97a7m_59{width:100%;height:100%}._item_97a7m_43._itemActive_97a7m_63{font-weight:600;color:var(--primary-color)}._item_97a7m_43._itemActive_97a7m_63 ._itemImg_97a7m_51{border-color:var(--primary-color)}._item_97a7m_43._itemActive_97a7m_63 ._itemIcon_97a7m_70{display:block}._item_97a7m_43 ._itemIcon_97a7m_70{position:absolute;right:8px;top:8px;display:none;width:18px;height:18px}._beatItem_97a7m_81{position:relative;width:195px;height:110px;background:#F5F5F7;border-radius:8px;display:flex;flex-direction:column;justify-content:center;align-items:center}._beatItem_97a7m_81 ._beatIcon_97a7m_92{width:80%;height:60%;cursor:pointer}._beatItem_97a7m_81 ._beatIcon_97a7m_92 .svg-icon{width:100%!important;height:100%!important}._beatItem_97a7m_81 .n-input-number{width:80%}._beatItem_97a7m_81 .n-input{border-radius:6px!important}._beatItem_97a7m_81 ._speedIcon_97a7m_107{font-size:30px}._btnItem_97a7m_110{display:flex;flex-direction:column;justify-content:center;align-items:center;border-radius:6px;padding:4px 8px;cursor:pointer}._btnItem_97a7m_110 ._btnItemIcon_97a7m_119{display:flex;justify-content:center;align-items:center;font-size:60px}._btnItem_97a7m_110:hover{background-color:rgba(0,0,0,.1)}._btnItem_97a7m_110 ._btnItemName_97a7m_128{font-size:12px}._btnItem_97a7m_110._active_97a7m_131{background-color:#badcfe}._btns_97a7m_134{text-align:center;padding:15px 0}._btns_97a7m_134 .n-button{width:117px;height:35px;padding:0;text-align:center;font-size:14px;margin:0 15px}.svg-icon{width:1em;height:1em;position:relative;fill:currentColor;vertical-align:-2px}._speedEdit_iqru4_1{padding-top:8px;display:flex;align-items:center}._speedEdit_iqru4_1 ._speedIcon_iqru4_6{font-size:30px}._btnImg_16jss_1{display:flex;justify-content:center;align-items:center;width:40px;height:40px;border-radius:6px;margin-bottom:1px}._btnImg_16jss_1:hover{background-color:rgba(0,0,0,.1)}._btnImg_16jss_1 ._topBtnIcon_16jss_13{width:42px;height:42px}._dropItem_16jss_17{display:flex;align-items:center}._dropItem_16jss_17 ._dropIcon_16jss_21{width:24px;height:25px;margin-right:12px}._dropWrap_16jss_26.n-dropdown-menu{background:#FFFFFF;box-shadow:0 2px 17px rgba(0,0,0,.08);border-radius:12px;--n-padding: 10px 12px;--n-border-radius: 6px}._dropWrap_16jss_26.n-dropdown-menu .n-dropdown-menu{min-width:120px}._dropWrap_16jss_26.n-dropdown-menu .n-dropdown-option .n-dropdown-option{min-width:125px}._dropWrap_16jss_26.n-dropdown-menu .n-dropdown-option-body{margin:4px 0;padding:0 12px;--n-option-height: 38px}._dropWrap_16jss_26.n-dropdown-menu .n-dropdown-option-body .n-dropdown-option-body__prefix{display:none}._setbox_1p89x_1{position:relative;display:flex;flex-direction:column;width:680px;height:623px;border-radius:6px;background:#fff;overflow:hidden}._head_1p89x_11{position:relative;line-height:53px;height:53px;text-align:center;background:#F5F6FA;color:#131415;font-weight:600;display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0}._head_1p89x_11 ._close_1p89x_25{position:absolute;top:50%;right:20px;transform:translateY(-50%)}._content_1p89x_31{flex:1;overflow:hidden;display:flex}._content_1p89x_31 ._slide_1p89x_36{width:161px;background:#FBFBFB;flex-shrink:0;border-right:1px solid #D4D7D9;padding:14px}._content_1p89x_31 ._box_1p89x_43{flex:1;overflow:hidden;height:100%}._content_1p89x_31 ._box_1p89x_43 .n-tabs .n-tabs-nav{display:none}._content_1p89x_31 ._box_1p89x_43 .n-tabs,._content_1p89x_31 ._box_1p89x_43 .n-tab-pane{padding:0;height:100%}._btn_1p89x_56{color:#131415;font-weight:500!important;font-size:14px;justify-content:flex-start;padding:0 0 0 26px}._btn_1p89x_56._activeBtn_1p89x_63{--n-color-pressed: #BADCFE;--n-color-hover: #BADCFE;background-color:#badcfe}._btnIcon_1p89x_68{width:17px}._keyBox_1p89x_71{padding:20px 24px}._table_1p89x_74 thead th{background-color:#fff;color:#777}._table_1p89x_74 tbody td{color:#131415;font-weight:600}._setbox_t3m21_1{position:relative;display:flex;flex-direction:column;width:427px;border-radius:16px;background:#fff;overflow:hidden}._head_t3m21_10{position:relative;line-height:53px;height:60px;text-align:center;background:#F5F6FA;color:#131415;font-weight:600;display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0}._head_t3m21_10 ._close_t3m21_24{position:absolute;top:50%;right:20px;transform:translateY(-50%)}._form_t3m21_30{padding:26px}._form_t3m21_30 .n-form-item .n-form-item-feedback-wrapper{--n-feedback-height: 26px}._form_t3m21_30 .n-form-item.n-form-item--left-labelled:last-child .n-form-item-feedback-wrapper{display:none}._form_t3m21_30 .n-form-item .n-form-item-label{color:#666}._form_t3m21_30 .n-form-item-label.n-form-item-label--right-mark{min-height:46px}._form_t3m21_30 .n-base-selection{--n-height: 46px !important}._form_t3m21_30 ._checkbox_t3m21_48 .n-button{border-radius:6px;width:73px}._form_t3m21_30 ._checkbox_t3m21_48 .n-button--default-type{background:#F5F6FA}._form_t3m21_30 ._checkbox_t3m21_48 .n-button--primary-type{background:#198CFE;color:#fff}._btns_t3m21_59{padding-bottom:26px;display:flex;align-items:center;justify-content:center}._btns_t3m21_59 .n-button{width:135px;height:41px;border-radius:20px;border-color:#aaa;margin:0 8px}._btns_t3m21_59 .n-button--loading{opacity:.6}._productIframe_t3m21_75{position:fixed;width:1000px;height:80vh;border:none;z-index:-100;pointer-events:none;opacity:0}._jianpu_onyht_1{display:flex;flex-direction:column;background-color:#fff;width:820px;height:80vh;border-radius:20px}._head_onyht_9{position:relative;line-height:53px;height:53px;text-align:center;background:#F5F6FA;color:#131415;font-weight:600;display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0;border-radius:20px 20px 0 0}._head_onyht_9 ._close_onyht_24{position:absolute;top:50%;right:20px;transform:translateY(-50%)}._content_onyht_30{flex:1;overflow:hidden}._iframe_onyht_34{width:100%;height:100%;border:none}._createItem_zmwnx_1{position:relative;width:100%;height:100%;background:#F9FAFD;border:2px solid #d1d8eb;border-radius:12px;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:15px;font-weight:600;cursor:pointer}._createItem_zmwnx_1 img{width:45px;height:45px;margin-bottom:23px}._wrap_zmwnx_21{padding:24px 14px;border-radius:15px;background-color:#fff}._wrapBox_zmwnx_26{display:flex;flex-wrap:wrap}._itemWrap_zmwnx_30{position:relative;width:calc(100% / 6);padding-bottom:12.774%}@media screen and (max-width: 2400px){._wrapBox_zmwnx_26 ._itemWrap_zmwnx_30{width:20%;padding-bottom:calc(100% / 5 * .76644)}}@media screen and (max-width: 1600px){._wrapBox_zmwnx_26 ._itemWrap_zmwnx_30{width:25%;padding-bottom:19.161%}}@media screen and (max-width: 1200px){._wrapBox_zmwnx_26 ._itemWrap_zmwnx_30{width:calc(100% / 3);padding-bottom:25.548%}}@media screen and (max-width: 820px){._wrapBox_zmwnx_26 ._itemWrap_zmwnx_30{width:50%;padding-bottom:38.322%}}@media screen and (max-width: 600px){._wrapBox_zmwnx_26 ._itemWrap_zmwnx_30{width:100%;padding-bottom:76.644%}}._itemWrapBox_zmwnx_65{position:absolute;left:0;top:0;width:100%;height:100%;padding:10px}._item_zmwnx_30{position:relative;width:100%;height:100%;background:#F9FAFD;border:2px solid #d1d8eb;border-radius:12px;cursor:pointer;display:flex;flex-direction:column;overflow:hidden}._item_zmwnx_30 ._icon_29_zmwnx_85{height:14px;vertical-align:middle;margin-right:6px;transform:translateY(-1px)}._item_zmwnx_30 ._bottomBtn_zmwnx_91{width:30px;height:30px;margin:0 6px}._item_zmwnx_30 ._bottomBtn_zmwnx_91:hover{opacity:.8}._item_zmwnx_30 ._btn_zmwnx_99{position:absolute;right:10px;top:16px;display:block;height:30px}._imgBox_zmwnx_106{flex:1;overflow:hidden;background-color:#fff}._imgBox_zmwnx_106 img{width:100%}._itemBottom_zmwnx_114{flex-shrink:0;padding:8px 12px;background:linear-gradient(to left,#dbf1ff 0%,#e7f9ff 100%);overflow:hidden}._itemBottom_zmwnx_114 ._bottombox_zmwnx_120{width:100%;display:flex;align-items:center}._itemBottom_zmwnx_114 ._bottomLeft_zmwnx_125{flex:1;margin-right:6px}._itemBottom_zmwnx_114 ._itemtitle_zmwnx_129{font-weight:600;white-space:nowrap;overflow:hidden;max-width:180px;display:inline-block;text-overflow:ellipsis}._itemBottom_zmwnx_114 ._time_zmwnx_137{font-size:12px;color:#777}._importRef_zmwnx_141{display:none!important}._uploadToTasks_eu48q_1{position:fixed;left:24px;bottom:20px;box-shadow:0 2px 9px rgba(0,0,0,.1);background:#FFFFFF;border-radius:9px}._error_eu48q_9{color:#ea4132}._success_eu48q_12{color:#009b7d}._arrow_eu48q_15{width:11px;height:11px;transition:all .2s ease}._arrow_eu48q_15._arrowDown_eu48q_20{transform:rotate(180deg);transition:all .2s ease}._loadingSection_eu48q_24,._succesSection_eu48q_25{width:394px;height:43px;background:#FFFFFF;box-shadow:0 2px 9px rgba(0,0,0,.1);border-radius:8px;font-size:15px;color:rgba(0,0,0,.88);line-height:15px;display:flex;align-items:center;justify-content:space-between;padding:0 19px 0 16px;cursor:pointer}._loadingSection_eu48q_24 ._loadingText_eu48q_40,._succesSection_eu48q_25 ._loadingText_eu48q_40{display:flex;align-items:center}._loadingSection_eu48q_24 ._loadingText_eu48q_40 ._error_eu48q_9,._succesSection_eu48q_25 ._loadingText_eu48q_40 ._error_eu48q_9{font-weight:700}._loadingSection_eu48q_24 ._iconQuestion_eu48q_49,._succesSection_eu48q_25 ._iconQuestion_eu48q_49{width:17px;height:17px;margin-right:8px}._succesSection_eu48q_25 span{margin-right:8px}._uploadList_eu48q_58{margin:10px 0;padding:0 11px;width:100%;border-radius:9px;max-height:40vh;transition:all .2s ease}._uploadItem_eu48q_66{padding:15px 11px;border-radius:8px;display:flex;align-items:center;justify-content:space-between;font-size:15px;line-height:21px;color:#131415;transition:all .2s ease}._uploadItem_eu48q_66._uploadSuccess_eu48q_77{color:#009b7d}._uploadItem_eu48q_66._uploadSuccess_eu48q_77 ._text_eu48q_80{display:none}._uploadItem_eu48q_66._uploadSuccess_eu48q_77:hover ._text_eu48q_80{display:block}._uploadItem_eu48q_66._uploadError_eu48q_86{color:#ea4132}._uploadItem_eu48q_66._uploadWaiting_eu48q_89{color:#888}._uploadItem_eu48q_66:hover{transition:all .2s ease;background:#F5F6FA}._uploadItem_eu48q_66:hover ._iconClose_eu48q_96{display:block}._uploadItem_eu48q_66:hover ._text_eu48q_80{display:none}._uploadItem_eu48q_66 ._info_eu48q_102{display:flex;align-items:center}._uploadItem_eu48q_66 ._icon_eu48q_49{width:17px;height:17px;margin-right:8px}._uploadItem_eu48q_66 ._status_eu48q_111{display:flex;align-items:center;cursor:pointer}._uploadItem_eu48q_66 ._iconClose_eu48q_96{display:none;width:15px;height:15px}._uploadItem_eu48q_66 ._message_eu48q_121{max-width:220px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._uploadFile_chuon_1{display:flex;align-items:center;padding-left:10px;padding-bottom:17px}._uploadFile_chuon_1 .n-upload{width:auto!important}._uploadFile_chuon_1 .n-button{height:34px!important;font-size:13px!important;font-weight:600;color:#fff;line-height:21px;padding:0 18px;border-radius:7px!important}._uploadFile_chuon_1 ._iconUpload_chuon_19{width:17px;height:14px;margin-right:8px}._tips_chuon_24{padding-left:11px;font-size:13px;color:#777;line-height:21px}\n',document.head.appendChild(__vite_style__);var Lato="",FiraCode="",index$1="",common$1="",icon$2="",ripple="",popup="",actionSheet="",ActionSheetSfc="",elevation="",appBar="",AppBarSfc="",avatar="",AvatarSfc="",avatarGroup="",AvatarGroupSfc="",button="",backTop="",BackTopSfc="",badge="",BadgeSfc="",loading$1="",bottomNavigation="",BottomNavigationSfc="",bottomNavigationItem="",BottomNavigationItemSfc="",breadcrumb="",BreadcrumbSfc="",breadcrumbs="",BreadcrumbsSfc="",hoverOverlay="",ButtonSfc="",buttonGroup="",ButtonGroupSfc="",card="",CardSfc="",cell="",CellSfc="",formDetails="",checkbox$1="",CheckboxSfc="",checkboxGroup="",CheckboxGroupSfc="",chip="",ChipSfc="",col="",ColSfc="",CollapseSfc="",collapseItem="",CollapseItemSfc="",countdown="",CountdownSfc="",counter="",CounterSfc="",datePicker="",DatePickerSfc="",dialog="",DialogSfc="",divider="",DividerSfc="",drag="",DragSfc="",tooltip="",ellipsis="",EllipsisSfc="",fab="",FormSfc="",FormDetailsSfc="",HoverOverlaySfc="",IconSfc="",image="",ImageSfc="",swipe="",swipeItem="",imagePreview="",ImagePreviewSfc="",sticky="",IndexAnchorSfc="",indexBar="",IndexBarSfc="",fieldDecorator="",input="",InputSfc="",link="",LinkSfc="",list="",ListSfc="",LoadingSfc="",loadingBar="",menu="",MenuSfc="",select="",option="",OptionSfc="",overlay$2="",pagination="",PaginationSfc="",paper="",PaperSfc="",picker="",PickerSfc="",progress="",ProgressSfc="",pullRefresh="",PullRefreshSfc="",radio="",RadioSfc="",radioGroup="",RadioGroupSfc="",rate="",RateSfc="",result="",ResultSfc="",row="",RowSfc="",SelectSfc="",skeleton="",SkeletonSfc="",slider="",SliderSfc="",SnackbarSfc="",snackbar="",coreSfc="",space="",step="",StepSfc="",StepsSfc="",StickySfc="",StyleProviderSfc="",SwipeSfc="",SwipeItemSfc="",_switch="",SwitchSfc="",tab="",TabSfc="",tabItem="",TabItemSfc="",table$1="",TableSfc="",tabs="",TabsSfc="",TabsItemsSfc="",timePicker="",TimePickerSfc="",TooltipSfc="",uploader="",UploaderSfc="",theme="";function makeMap(e,t){for(var r=Object.create(null),n=e.split(","),o=0;o<n.length;o++)r[n[o]]=!0;return t?function(e){return!!r[e.toLowerCase()]}:function(e){return!!r[e]}}var EMPTY_OBJ={},EMPTY_ARR=[],NOOP=function(){},NO=function(){return!1},onRE=/^on[^a-z]/,isOn=function(e){return onRE.test(e)},isModelListener=function(e){return e.startsWith("onUpdate:")},extend$2=Object.assign,remove$6=function(e,t){var r=e.indexOf(t);r>-1&&e.splice(r,1)},hasOwnProperty$f=Object.prototype.hasOwnProperty,hasOwn$2=function(e,t){return hasOwnProperty$f.call(e,t)},isArray$9=Array.isArray,isMap$1=function(e){return"[object Map]"===toTypeString(e)},isSet$1=function(e){return"[object Set]"===toTypeString(e)},isFunction$5=function(e){return"function"==typeof e},isString$2=function(e){return"string"==typeof e},isSymbol$2=function(e){return"symbol"===_typeof2(e)},isObject$6=function(e){return null!==e&&"object"===_typeof2(e)},isPromise$1=function(e){return isObject$6(e)&&isFunction$5(e.then)&&isFunction$5(e.catch)},objectToString$3=Object.prototype.toString,toTypeString=function(e){return objectToString$3.call(e)},toRawType=function(e){return toTypeString(e).slice(8,-1)},isPlainObject$3=function(e){return"[object Object]"===toTypeString(e)},isIntegerKey=function(e){return isString$2(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e},isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction=function(e){var t=Object.create(null);return function(r){return t[r]||(t[r]=e(r))}},camelizeRE$1=/-(\w)/g,camelize$1=cacheStringFunction((function(e){return e.replace(camelizeRE$1,(function(e,t){return t?t.toUpperCase():""}))})),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction((function(e){return e.replace(hyphenateRE,"-$1").toLowerCase()})),capitalize=cacheStringFunction((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),toHandlerKey=cacheStringFunction((function(e){return e?"on".concat(capitalize(e)):""})),hasChanged=function(e,t){return!Object.is(e,t)},invokeArrayFns=function(e,t){for(var r=0;r<e.length;r++)e[r](t)},def=function(e,t,r){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},looseToNumber=function(e){var t=parseFloat(e);return isNaN(t)?e:t},toNumber$3=function(e){var t=isString$2(e)?Number(e):NaN;return isNaN(t)?e:t},_globalThis,getGlobalThis$1=function(){return _globalThis||(_globalThis="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{})};function normalizeStyle(e){if(isArray$9(e)){for(var t={},r=0;r<e.length;r++){var n=e[r],o=isString$2(n)?parseStringStyle(n):normalizeStyle(n);if(o)for(var a in o)t[a]=o[a]}return t}return isString$2(e)||isObject$6(e)?e:void 0}var listDelimiterRE=/;(?![^(]*\))/g,propertyDelimiterRE=/:([^]+)/,styleCommentRE=/\/\*[^]*?\*\//g;function parseStringStyle(e){var t={};return e.replace(styleCommentRE,"").split(listDelimiterRE).forEach((function(e){if(e){var r=e.split(propertyDelimiterRE);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}function normalizeClass(e){var t="";if(isString$2(e))t=e;else if(isArray$9(e))for(var r=0;r<e.length;r++){var n=normalizeClass(e[r]);n&&(t+=n+" ")}else if(isObject$6(e))for(var o in e)e[o]&&(t+=o+" ");return t.trim()}var specialBooleanAttrs="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",isSpecialBooleanAttr=makeMap(specialBooleanAttrs);function includeBooleanAttr(e){return!!e||""===e}var toDisplayString=function(e){return isString$2(e)?e:null==e?"":isArray$9(e)||isObject$6(e)&&(e.toString===objectToString$3||!isFunction$5(e.toString))?JSON.stringify(e,replacer$1,2):String(e)},replacer$1=function e(t,r){return r&&r.__v_isRef?e(t,r.value):isMap$1(r)?_defineProperty2({},"Map(".concat(r.size,")"),_toConsumableArray2(r.entries()).reduce((function(e,t){var r=_slicedToArray(t,2),n=r[0],o=r[1];return e["".concat(n," =>")]=o,e}),{})):isSet$1(r)?_defineProperty2({},"Set(".concat(r.size,")"),_toConsumableArray2(r.values())):!isObject$6(r)||isArray$9(r)||isPlainObject$3(r)?r:String(r)},activeEffectScope,EffectScope=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];_classCallCheck2(this,e),this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=activeEffectScope,!t&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}return _createClass2(e,[{key:"active",get:function(){return this._active}},{key:"run",value:function(e){if(this._active){var t=activeEffectScope;try{return activeEffectScope=this,e()}finally{activeEffectScope=t}}}},{key:"on",value:function(){activeEffectScope=this}},{key:"off",value:function(){activeEffectScope=this.parent}},{key:"stop",value:function(e){if(this._active){var t,r;for(t=0,r=this.effects.length;t<r;t++)this.effects[t].stop();for(t=0,r=this.cleanups.length;t<r;t++)this.cleanups[t]();if(this.scopes)for(t=0,r=this.scopes.length;t<r;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){var n=this.parent.scopes.pop();n&&n!==this&&(this.parent.scopes[this.index]=n,n.index=this.index)}this.parent=void 0,this._active=!1}}}]),e}();function recordEffectScope(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:activeEffectScope;t&&t.active&&t.effects.push(e)}function getCurrentScope(){return activeEffectScope}function onScopeDispose(e){activeEffectScope&&activeEffectScope.cleanups.push(e)}var createDep=function(e){var t=new Set(e);return t.w=0,t.n=0,t},wasTracked=function(e){return(e.w&trackOpBit)>0},newTracked=function(e){return(e.n&trackOpBit)>0},initDepMarkers=function(e){var t=e.deps;if(t.length)for(var r=0;r<t.length;r++)t[r].w|=trackOpBit},finalizeDepMarkers=function(e){var t=e.deps;if(t.length){for(var r=0,n=0;n<t.length;n++){var o=t[n];wasTracked(o)&&!newTracked(o)?o.delete(e):t[r++]=o,o.w&=~trackOpBit,o.n&=~trackOpBit}t.length=r}},targetMap=new WeakMap,effectTrackDepth=0,trackOpBit=1,maxMarkerBits=30,activeEffect,ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol(""),ReactiveEffect=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0;_classCallCheck2(this,e),this.fn=t,this.scheduler=r,this.active=!0,this.deps=[],this.parent=void 0,recordEffectScope(this,n)}return _createClass2(e,[{key:"run",value:function(){if(!this.active)return this.fn();for(var e=activeEffect,t=shouldTrack;e;){if(e===this)return;e=e.parent}try{return this.parent=activeEffect,activeEffect=this,shouldTrack=!0,trackOpBit=1<<++effectTrackDepth,effectTrackDepth<=maxMarkerBits?initDepMarkers(this):cleanupEffect(this),this.fn()}finally{effectTrackDepth<=maxMarkerBits&&finalizeDepMarkers(this),trackOpBit=1<<--effectTrackDepth,activeEffect=this.parent,shouldTrack=t,this.parent=void 0,this.deferStop&&this.stop()}}},{key:"stop",value:function(){activeEffect===this?this.deferStop=!0:this.active&&(cleanupEffect(this),this.onStop&&this.onStop(),this.active=!1)}}]),e}();function cleanupEffect(e){var t=e.deps;if(t.length){for(var r=0;r<t.length;r++)t[r].delete(e);t.length=0}}var shouldTrack=!0,trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){var e=trackStack.pop();shouldTrack=void 0===e||e}function track(e,t,r){if(shouldTrack&&activeEffect){var n=targetMap.get(e);n||targetMap.set(e,n=new Map);var o=n.get(r);o||n.set(r,o=createDep()),trackEffects(o)}}function trackEffects(e,t){var r=!1;effectTrackDepth<=maxMarkerBits?newTracked(e)||(e.n|=trackOpBit,r=!wasTracked(e)):r=!e.has(activeEffect),r&&(e.add(activeEffect),activeEffect.deps.push(e))}function trigger$1(e,t,r,n,o,a){var i=targetMap.get(e);if(i){var s=[];if("clear"===t)s=_toConsumableArray2(i.values());else if("length"===r&&isArray$9(e)){var l=Number(n);i.forEach((function(e,t){("length"===t||t>=l)&&s.push(e)}))}else switch(void 0!==r&&s.push(i.get(r)),t){case"add":isArray$9(e)?isIntegerKey(r)&&s.push(i.get("length")):(s.push(i.get(ITERATE_KEY)),isMap$1(e)&&s.push(i.get(MAP_KEY_ITERATE_KEY)));break;case"delete":isArray$9(e)||(s.push(i.get(ITERATE_KEY)),isMap$1(e)&&s.push(i.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap$1(e)&&s.push(i.get(ITERATE_KEY))}if(1===s.length)s[0]&&triggerEffects(s[0]);else{var c,u=[],d=_createForOfIteratorHelper(s);try{for(d.s();!(c=d.n()).done;){var p=c.value;p&&u.push.apply(u,_toConsumableArray2(p))}}catch(f){d.e(f)}finally{d.f()}triggerEffects(createDep(u))}}}function triggerEffects(e,t){var r,n=isArray$9(e)?e:_toConsumableArray2(e),o=_createForOfIteratorHelper(n);try{for(o.s();!(r=o.n()).done;){var a=r.value;a.computed&&triggerEffect(a)}}catch(c){o.e(c)}finally{o.f()}var i,s=_createForOfIteratorHelper(n);try{for(s.s();!(i=s.n()).done;){var l=i.value;l.computed||triggerEffect(l)}}catch(c){s.e(c)}finally{s.f()}}function triggerEffect(e,t){(e!==activeEffect||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function getDepFromReactive(e,t){var r;return null==(r=targetMap.get(e))?void 0:r.get(t)}var isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter((function(e){return"arguments"!==e&&"caller"!==e})).map((function(e){return Symbol[e]})).filter(isSymbol$2)),get$1$1=createGetter(),shallowGet=createGetter(!1,!0),readonlyGet=createGetter(!0),arrayInstrumentations=createArrayInstrumentations();function createArrayInstrumentations(){var e={};return["includes","indexOf","lastIndexOf"].forEach((function(t){e[t]=function(){for(var e=toRaw(this),r=0,n=this.length;r<n;r++)track(e,"get",r+"");for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];var s=e[t].apply(e,a);return-1===s||!1===s?e[t].apply(e,_toConsumableArray2(a.map(toRaw))):s}})),["push","pop","shift","unshift","splice"].forEach((function(t){e[t]=function(){pauseTracking();for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o=toRaw(this)[t].apply(this,r);return resetTracking(),o}})),e}function hasOwnProperty$e(e){var t=toRaw(this);return track(t,"has",e),t.hasOwnProperty(e)}function createGetter(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(r,n,o){if("__v_isReactive"===n)return!e;if("__v_isReadonly"===n)return e;if("__v_isShallow"===n)return t;if("__v_raw"===n&&o===(e?t?shallowReadonlyMap:readonlyMap:t?shallowReactiveMap:reactiveMap).get(r))return r;var a=isArray$9(r);if(!e){if(a&&hasOwn$2(arrayInstrumentations,n))return Reflect.get(arrayInstrumentations,n,o);if("hasOwnProperty"===n)return hasOwnProperty$e}var i=Reflect.get(r,n,o);return(isSymbol$2(n)?builtInSymbols.has(n):isNonTrackableKeys(n))?i:(e||track(r,"get",n),t?i:isRef(i)?a&&isIntegerKey(n)?i:i.value:isObject$6(i)?e?readonly(i):reactive(i):i)}}var set$1=createSetter(),shallowSet=createSetter(!0);function createSetter(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,r,n,o){var a=t[r];if(isReadonly(a)&&isRef(a)&&!isRef(n))return!1;if(!e&&(isShallow(n)||isReadonly(n)||(a=toRaw(a),n=toRaw(n)),!isArray$9(t)&&isRef(a)&&!isRef(n)))return a.value=n,!0;var i=isArray$9(t)&&isIntegerKey(r)?Number(r)<t.length:hasOwn$2(t,r),s=Reflect.set(t,r,n,o);return t===toRaw(o)&&(i?hasChanged(n,a)&&trigger$1(t,"set",r,n):trigger$1(t,"add",r,n)),s}}function deleteProperty(e,t){var r=hasOwn$2(e,t);e[t];var n=Reflect.deleteProperty(e,t);return n&&r&&trigger$1(e,"delete",t,void 0),n}function has$1$1(e,t){var r=Reflect.has(e,t);return isSymbol$2(t)&&builtInSymbols.has(t)||track(e,"has",t),r}function ownKeys$1(e){return track(e,"iterate",isArray$9(e)?"length":ITERATE_KEY),Reflect.ownKeys(e)}var mutableHandlers={get:get$1$1,set:set$1,deleteProperty:deleteProperty,has:has$1$1,ownKeys:ownKeys$1},readonlyHandlers={get:readonlyGet,set:function(e,t){return!0},deleteProperty:function(e,t){return!0}},shallowReactiveHandlers=extend$2({},mutableHandlers,{get:shallowGet,set:shallowSet}),toShallow=function(e){return e},getProto$1=function(e){return Reflect.getPrototypeOf(e)};function get$2(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=toRaw(e=e.__v_raw),a=toRaw(t);r||(t!==a&&track(o,"get",t),track(o,"get",a));var i=getProto$1(o).has,s=n?toShallow:r?toReadonly:toReactive;return i.call(o,t)?s(e.get(t)):i.call(o,a)?s(e.get(a)):void(e!==o&&e.get(t))}function has$4(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.__v_raw,n=toRaw(r),o=toRaw(e);return t||(e!==o&&track(n,"has",e),track(n,"has",o)),e===o?r.has(e):r.has(e)||r.has(o)}function size$1(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e=e.__v_raw,!t&&track(toRaw(e),"iterate",ITERATE_KEY),Reflect.get(e,"size",e)}function add(e){e=toRaw(e);var t=toRaw(this);return getProto$1(t).has.call(t,e)||(t.add(e),trigger$1(t,"add",e,e)),this}function set(e,t){t=toRaw(t);var r=toRaw(this),n=getProto$1(r),o=n.has,a=n.get,i=o.call(r,e);i||(e=toRaw(e),i=o.call(r,e));var s=a.call(r,e);return r.set(e,t),i?hasChanged(t,s)&&trigger$1(r,"set",e,t):trigger$1(r,"add",e,t),this}function deleteEntry(e){var t=toRaw(this),r=getProto$1(t),n=r.has,o=r.get,a=n.call(t,e);a||(e=toRaw(e),a=n.call(t,e)),o&&o.call(t,e);var i=t.delete(e);return a&&trigger$1(t,"delete",e,void 0),i}function clear(){var e=toRaw(this),t=0!==e.size,r=e.clear();return t&&trigger$1(e,"clear",void 0,void 0),r}function createForEach(e,t){return function(r,n){var o=this,a=o.__v_raw,i=toRaw(a),s=t?toShallow:e?toReadonly:toReactive;return!e&&track(i,"iterate",ITERATE_KEY),a.forEach((function(e,t){return r.call(n,s(e),s(t),o)}))}}function createIterableMethod(e,t,r){return function(){var n=this.__v_raw,o=toRaw(n),a=isMap$1(o),i="entries"===e||e===Symbol.iterator&&a,s="keys"===e&&a,l=n[e].apply(n,arguments),c=r?toShallow:t?toReadonly:toReactive;return!t&&track(o,"iterate",s?MAP_KEY_ITERATE_KEY:ITERATE_KEY),_defineProperty2({next:function(){var e=l.next(),t=e.value,r=e.done;return r?{value:t,done:r}:{value:i?[c(t[0]),c(t[1])]:c(t),done:r}}},Symbol.iterator,(function(){return this}))}}function createReadonlyMethod(e){return function(){return"delete"!==e&&this}}function createInstrumentations(){var e={get:function(e){return get$2(this,e)},get size(){return size$1(this)},has:has$4,add:add,set:set,delete:deleteEntry,clear:clear,forEach:createForEach(!1,!1)},t={get:function(e){return get$2(this,e,!1,!0)},get size(){return size$1(this)},has:has$4,add:add,set:set,delete:deleteEntry,clear:clear,forEach:createForEach(!1,!0)},r={get:function(e){return get$2(this,e,!0)},get size(){return size$1(this,!0)},has:function(e){return has$4.call(this,e,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!1)},n={get:function(e){return get$2(this,e,!0,!0)},get size(){return size$1(this,!0)},has:function(e){return has$4.call(this,e,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((function(o){e[o]=createIterableMethod(o,!1,!1),r[o]=createIterableMethod(o,!0,!1),t[o]=createIterableMethod(o,!1,!0),n[o]=createIterableMethod(o,!0,!0)})),[e,r,t,n]}var _createInstrumentatio=createInstrumentations(),_createInstrumentatio2=_slicedToArray(_createInstrumentatio,4),mutableInstrumentations=_createInstrumentatio2[0],readonlyInstrumentations=_createInstrumentatio2[1],shallowInstrumentations=_createInstrumentatio2[2],shallowReadonlyInstrumentations=_createInstrumentatio2[3];function createInstrumentationGetter(e,t){var r=t?e?shallowReadonlyInstrumentations:shallowInstrumentations:e?readonlyInstrumentations:mutableInstrumentations;return function(t,n,o){return"__v_isReactive"===n?!e:"__v_isReadonly"===n?e:"__v_raw"===n?t:Reflect.get(hasOwn$2(r,n)&&n in t?r:t,n,o)}}var mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType(e){return e.__v_skip||!Object.isExtensible(e)?0:targetTypeMap(toRawType(e))}function reactive(e){return isReadonly(e)?e:createReactiveObject(e,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(e){return createReactiveObject(e,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(e){return createReactiveObject(e,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function createReactiveObject(e,t,r,n,o){if(!isObject$6(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;var a=o.get(e);if(a)return a;var i=getTargetType(e);if(0===i)return e;var s=new Proxy(e,2===i?n:r);return o.set(e,s),s}function isReactive(e){return isReadonly(e)?isReactive(e.__v_raw):!(!e||!e.__v_isReactive)}function isReadonly(e){return!(!e||!e.__v_isReadonly)}function isShallow(e){return!(!e||!e.__v_isShallow)}function isProxy(e){return isReactive(e)||isReadonly(e)}function toRaw(e){var t=e&&e.__v_raw;return t?toRaw(t):e}function markRaw(e){return def(e,"__v_skip",!0),e}var toReactive=function(e){return isObject$6(e)?reactive(e):e},toReadonly=function(e){return isObject$6(e)?readonly(e):e};function trackRefValue(e){shouldTrack&&activeEffect&&trackEffects((e=toRaw(e)).dep||(e.dep=createDep()))}function triggerRefValue(e,t){var r=(e=toRaw(e)).dep;r&&triggerEffects(r)}function isRef(e){return!(!e||!0!==e.__v_isRef)}function ref(e){return createRef(e,!1)}function shallowRef(e){return createRef(e,!0)}function createRef(e,t){return isRef(e)?e:new RefImpl(e,t)}var RefImpl=function(){function e(t,r){_classCallCheck2(this,e),this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:toRaw(t),this._value=r?t:toReactive(t)}return _createClass2(e,[{key:"value",get:function(){return trackRefValue(this),this._value},set:function(e){var t=this.__v_isShallow||isShallow(e)||isReadonly(e);e=t?e:toRaw(e),hasChanged(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:toReactive(e),triggerRefValue(this))}}]),e}();function unref(e){return isRef(e)?e.value:e}var shallowUnwrapHandlers={get:function(e,t,r){return unref(Reflect.get(e,t,r))},set:function(e,t,r,n){var o=e[t];return isRef(o)&&!isRef(r)?(o.value=r,!0):Reflect.set(e,t,r,n)}};function proxyRefs(e){return isReactive(e)?e:new Proxy(e,shallowUnwrapHandlers)}var ObjectRefImpl=function(){function e(t,r,n){_classCallCheck2(this,e),this._object=t,this._key=r,this._defaultValue=n,this.__v_isRef=!0}return _createClass2(e,[{key:"value",get:function(){var e=this._object[this._key];return void 0===e?this._defaultValue:e},set:function(e){this._object[this._key]=e}},{key:"dep",get:function(){return getDepFromReactive(toRaw(this._object),this._key)}}]),e}(),GetterRefImpl=function(){function e(t){_classCallCheck2(this,e),this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}return _createClass2(e,[{key:"value",get:function(){return this._getter()}}]),e}();function toRef(e,t,r){return isRef(e)?e:isFunction$5(e)?new GetterRefImpl(e):isObject$6(e)&&arguments.length>1?propertyToRef(e,t,r):ref(e)}function propertyToRef(e,t,r){var n=e[t];return isRef(n)?n:new ObjectRefImpl(e,t,r)}var ComputedRefImpl=function(){function e(t,r,n,o){var a=this;_classCallCheck2(this,e),this._setter=r,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new ReactiveEffect(t,(function(){a._dirty||(a._dirty=!0,triggerRefValue(a))})),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}return _createClass2(e,[{key:"value",get:function(){var e=toRaw(this);return trackRefValue(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value},set:function(e){this._setter(e)}}]),e}();function computed$1(e,t){var r,n,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=isFunction$5(e);return a?(r=e,n=NOOP):(r=e.get,n=e.set),new ComputedRefImpl(r,n,a||!n,o)}function warn$4(e){}function callWithErrorHandling(e,t,r,n){var o;try{o=n?e.apply(void 0,_toConsumableArray2(n)):e()}catch(a){handleError(a,t,r)}return o}function callWithAsyncErrorHandling(e,t,r,n){if(isFunction$5(e)){var o=callWithErrorHandling(e,t,r,n);return o&&isPromise$1(o)&&o.catch((function(e){handleError(e,t,r)})),o}for(var a=[],i=0;i<e.length;i++)a.push(callWithAsyncErrorHandling(e[i],t,r,n));return a}function handleError(e,t,r){var n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=t?t.vnode:null;if(t){for(var a=t.parent,i=t.proxy,s=r;a;){var l=a.ec;if(l)for(var c=0;c<l.length;c++)if(!1===l[c](e,i,s))return;a=a.parent}var u=t.appContext.config.errorHandler;if(u)return void callWithErrorHandling(u,null,10,[e,i,s])}logError(e,r,o,n)}function logError(e,t,r){console.error(e)}var isFlushing=!1,isFlushPending=!1,queue$2=[],flushIndex=0,pendingPostFlushCbs=[],activePostFlushCbs=null,postFlushIndex=0,resolvedPromise=Promise.resolve(),currentFlushPromise=null;function nextTick(e){var t=currentFlushPromise||resolvedPromise;return e?t.then(this?e.bind(this):e):t}function findInsertionIndex(e){for(var t=flushIndex+1,r=queue$2.length;t<r;){var n=t+r>>>1;getId(queue$2[n])<e?t=n+1:r=n}return t}function queueJob(e){queue$2.length&&queue$2.includes(e,isFlushing&&e.allowRecurse?flushIndex+1:flushIndex)||(null==e.id?queue$2.push(e):queue$2.splice(findInsertionIndex(e.id),0,e),queueFlush())}function queueFlush(){isFlushing||isFlushPending||(isFlushPending=!0,currentFlushPromise=resolvedPromise.then(flushJobs))}function invalidateJob(e){var t=queue$2.indexOf(e);t>flushIndex&&queue$2.splice(t,1)}function queuePostFlushCb(e){isArray$9(e)?pendingPostFlushCbs.push.apply(pendingPostFlushCbs,_toConsumableArray2(e)):activePostFlushCbs&&activePostFlushCbs.includes(e,e.allowRecurse?postFlushIndex+1:postFlushIndex)||pendingPostFlushCbs.push(e),queueFlush()}function flushPreFlushCbs(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:isFlushing?flushIndex+1:0;t<queue$2.length;t++){var r=queue$2[t];r&&r.pre&&(queue$2.splice(t,1),t--,r())}}function flushPostFlushCbs(e){if(pendingPostFlushCbs.length){var t,r=_toConsumableArray2(new Set(pendingPostFlushCbs));if(pendingPostFlushCbs.length=0,activePostFlushCbs)return void(t=activePostFlushCbs).push.apply(t,_toConsumableArray2(r));for((activePostFlushCbs=r).sort((function(e,t){return getId(e)-getId(t)})),postFlushIndex=0;postFlushIndex<activePostFlushCbs.length;postFlushIndex++)activePostFlushCbs[postFlushIndex]();activePostFlushCbs=null,postFlushIndex=0}}var getId=function(e){return null==e.id?1/0:e.id},comparator=function(e,t){var r=getId(e)-getId(t);if(0===r){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function flushJobs(e){isFlushPending=!1,isFlushing=!0,queue$2.sort(comparator);try{for(flushIndex=0;flushIndex<queue$2.length;flushIndex++){var t=queue$2[flushIndex];t&&!1!==t.active&&callWithErrorHandling(t,null,14)}}finally{flushIndex=0,queue$2.length=0,flushPostFlushCbs(),isFlushing=!1,currentFlushPromise=null,(queue$2.length||pendingPostFlushCbs.length)&&flushJobs()}}function emit(e,t){if(!e.isUnmounted){for(var r=e.vnode.props||EMPTY_OBJ,n=arguments.length,o=new Array(n>2?n-2:0),a=2;a<n;a++)o[a-2]=arguments[a];var i,s=o,l=t.startsWith("update:"),c=l&&t.slice(7);if(c&&c in r){var u=r["".concat("modelValue"===c?"model":c,"Modifiers")]||EMPTY_OBJ,d=u.number;u.trim&&(s=o.map((function(e){return isString$2(e)?e.trim():e}))),d&&(s=o.map(looseToNumber))}var p=r[i=toHandlerKey(t)]||r[i=toHandlerKey(camelize$1(t))];!p&&l&&(p=r[i=toHandlerKey(hyphenate(t))]),p&&callWithAsyncErrorHandling(p,e,6,s);var f=r[i+"Once"];if(f){if(e.emitted){if(e.emitted[i])return}else e.emitted={};e.emitted[i]=!0,callWithAsyncErrorHandling(f,e,6,s)}}}function normalizeEmitsOptions(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=t.emitsCache,o=n.get(e);if(void 0!==o)return o;var a=e.emits,i={},s=!1;if(!isFunction$5(e)){var l=function(e){var r=normalizeEmitsOptions(e,t,!0);r&&(s=!0,extend$2(i,r))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return a||s?(isArray$9(a)?a.forEach((function(e){return i[e]=null})):extend$2(i,a),isObject$6(e)&&n.set(e,i),i):(isObject$6(e)&&n.set(e,null),null)}function isEmitListener(e,t){return!(!e||!isOn(t))&&(t=t.slice(2).replace(/Once$/,""),hasOwn$2(e,t[0].toLowerCase()+t.slice(1))||hasOwn$2(e,hyphenate(t))||hasOwn$2(e,t))}var currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(e){var t=currentRenderingInstance;return currentRenderingInstance=e,currentScopeId=e&&e.type.__scopeId||null,t}function withCtx(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:currentRenderingInstance;if(!t)return e;if(e._n)return e;var r=function r(){r._d&&setBlockTracking(-1);var n,o=setCurrentRenderingInstance(t);try{n=e.apply(void 0,arguments)}finally{setCurrentRenderingInstance(o),r._d&&setBlockTracking(1)}return n};return r._n=!0,r._c=!0,r._d=!0,r}function markAttrsAccessed(){}function renderComponentRoot(e){var t,r,n=e.type,o=e.vnode,a=e.proxy,i=e.withProxy,s=e.props,l=_slicedToArray(e.propsOptions,1)[0],c=e.slots,u=e.attrs,d=e.emit,p=e.render,f=e.renderCache,h=e.data,v=e.setupState,g=e.ctx,m=e.inheritAttrs,b=setCurrentRenderingInstance(e);try{if(4&o.shapeFlag){var A=i||a;t=normalizeVNode(p.call(A,A,f,s,v,h,g)),r=u}else{var y=n;0,t=normalizeVNode(y.length>1?y(s,{attrs:u,slots:c,emit:d}):y(s,null)),r=n.props?u:getFunctionalFallthrough(u)}}catch(k){blockStack.length=0,handleError(k,e,1),t=createVNode(Comment)}var x=t;if(r&&!1!==m){var w=Object.keys(r),C=x.shapeFlag;w.length&&7&C&&(l&&w.some(isModelListener)&&(r=filterModelListeners(r,l)),x=cloneVNode(x,r))}return o.dirs&&((x=cloneVNode(x)).dirs=x.dirs?x.dirs.concat(o.dirs):o.dirs),o.transition&&(x.transition=o.transition),t=x,setCurrentRenderingInstance(b),t}var getFunctionalFallthrough=function(e){var t;for(var r in e)("class"===r||"style"===r||isOn(r))&&((t||(t={}))[r]=e[r]);return t},filterModelListeners=function(e,t){var r={};for(var n in e)isModelListener(n)&&n.slice(9)in t||(r[n]=e[n]);return r};function shouldUpdateComponent(e,t,r){var n=e.props,o=e.children,a=e.component,i=t.props,s=t.children,l=t.patchFlag,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(!(r&&l>=0))return!(!o&&!s||s&&s.$stable)||n!==i&&(n?!i||hasPropsChanged(n,i,c):!!i);if(1024&l)return!0;if(16&l)return n?hasPropsChanged(n,i,c):!!i;if(8&l)for(var u=t.dynamicProps,d=0;d<u.length;d++){var p=u[d];if(i[p]!==n[p]&&!isEmitListener(c,p))return!0}return!1}function hasPropsChanged(e,t,r){var n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(var o=0;o<n.length;o++){var a=n[o];if(t[a]!==e[a]&&!isEmitListener(r,a))return!0}return!1}function updateHOCHostEl(e,t){for(var r=e.vnode,n=e.parent;n&&n.subTree===r;)(r=n.vnode).el=t,n=n.parent}var isSuspense=function(e){return e.__isSuspense};function queueEffectWithSuspense(e,t){var r;t&&t.pendingBranch?isArray$9(e)?(r=t.effects).push.apply(r,_toConsumableArray2(e)):t.effects.push(e):queuePostFlushCb(e)}function watchEffect(e,t){return doWatch(e,null,t)}var INITIAL_WATCHER_VALUE={};function watch(e,t,r){return doWatch(e,t,r)}function doWatch(e,t){var r,n,o,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:EMPTY_OBJ,i=a.immediate,s=a.deep,l=a.flush,c=(a.onTrack,a.onTrigger,getCurrentScope()===(null==(r=currentInstance)?void 0:r.scope)?currentInstance:null),u=!1,d=!1;if(isRef(e)?(n=function(){return e.value},u=isShallow(e)):isReactive(e)?(n=function(){return e},s=!0):isArray$9(e)?(d=!0,u=e.some((function(e){return isReactive(e)||isShallow(e)})),n=function(){return e.map((function(e){return isRef(e)?e.value:isReactive(e)?traverse(e):isFunction$5(e)?callWithErrorHandling(e,c,2):void 0}))}):n=isFunction$5(e)?t?function(){return callWithErrorHandling(e,c,2)}:function(){if(!c||!c.isUnmounted)return o&&o(),callWithAsyncErrorHandling(e,c,3,[h])}:NOOP,t&&s){var p=n;n=function(){return traverse(p())}}var f,h=function(e){o=A.onStop=function(){callWithErrorHandling(e,c,4)}};if(isInSSRComponentSetup){if(h=NOOP,t?i&&callWithAsyncErrorHandling(t,c,3,[n(),d?[]:void 0,h]):n(),"sync"!==l)return NOOP;var v=useSSRContext();f=v.__watcherHandles||(v.__watcherHandles=[])}var g,m=d?new Array(e.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE,b=function(){if(A.active)if(t){var e=A.run();(s||u||(d?e.some((function(e,t){return hasChanged(e,m[t])})):hasChanged(e,m)))&&(o&&o(),callWithAsyncErrorHandling(t,c,3,[e,m===INITIAL_WATCHER_VALUE?void 0:d&&m[0]===INITIAL_WATCHER_VALUE?[]:m,h]),m=e)}else A.run()};b.allowRecurse=!!t,"sync"===l?g=b:"post"===l?g=function(){return queuePostRenderEffect(b,c&&c.suspense)}:(b.pre=!0,c&&(b.id=c.uid),g=function(){return queueJob(b)});var A=new ReactiveEffect(n,g);t?i?b():m=A.run():"post"===l?queuePostRenderEffect(A.run.bind(A),c&&c.suspense):A.run();var y=function(){A.stop(),c&&c.scope&&remove$6(c.scope.effects,A)};return f&&f.push(y),y}function instanceWatch(e,t,r){var n,o=this.proxy,a=isString$2(e)?e.includes(".")?createPathGetter(o,e):function(){return o[e]}:e.bind(o,o);isFunction$5(t)?n=t:(n=t.handler,r=t);var i=currentInstance;setCurrentInstance(this);var s=doWatch(a,n.bind(o),r);return i?setCurrentInstance(i):unsetCurrentInstance(),s}function createPathGetter(e,t){var r=t.split(".");return function(){for(var t=e,n=0;n<r.length&&t;n++)t=t[r[n]];return t}}function traverse(e,t){if(!isObject$6(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),isRef(e))traverse(e.value,t);else if(isArray$9(e))for(var r=0;r<e.length;r++)traverse(e[r],t);else if(isSet$1(e)||isMap$1(e))e.forEach((function(e){traverse(e,t)}));else if(isPlainObject$3(e))for(var n in e)traverse(e[n],t);return e}function withDirectives(e,t){var r=currentRenderingInstance;if(null===r)return e;for(var n=getExposeProxy(r)||r.proxy,o=e.dirs||(e.dirs=[]),a=0;a<t.length;a++){var i=_slicedToArray(t[a],4),s=i[0],l=i[1],c=i[2],u=i[3],d=void 0===u?EMPTY_OBJ:u;s&&(isFunction$5(s)&&(s={mounted:s,updated:s}),s.deep&&traverse(l),o.push({dir:s,instance:n,value:l,oldValue:void 0,arg:c,modifiers:d}))}return e}function invokeDirectiveHook(e,t,r,n){for(var o=e.dirs,a=t&&t.dirs,i=0;i<o.length;i++){var s=o[i];a&&(s.oldValue=a[i].value);var l=s.dir[n];l&&(pauseTracking(),callWithAsyncErrorHandling(l,r,8,[e.el,s,e,t]),resetTracking())}}function useTransitionState(){var e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return onMounted((function(){e.isMounted=!0})),onBeforeUnmount((function(){e.isUnmounting=!0})),e}var TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},BaseTransitionImpl={name:"BaseTransition",props:BaseTransitionPropsValidators,setup:function(e,t){var r,n=t.slots,o=getCurrentInstance(),a=useTransitionState();return function(){var t=n.default&&getTransitionRawChildren(n.default(),!0);if(t&&t.length){var i=t[0];if(t.length>1){var s,l=_createForOfIteratorHelper(t);try{for(l.s();!(s=l.n()).done;){var c=s.value;if(c.type!==Comment){i=c;break}}}catch(y){l.e(y)}finally{l.f()}}var u=toRaw(e),d=u.mode;if(a.isLeaving)return emptyPlaceholder(i);var p=getKeepAliveChild(i);if(!p)return emptyPlaceholder(i);var f=resolveTransitionHooks(p,u,a,o);setTransitionHooks(p,f);var h=o.subTree,v=h&&getKeepAliveChild(h),g=!1,m=p.type.getTransitionKey;if(m){var b=m();void 0===r?r=b:b!==r&&(r=b,g=!0)}if(v&&v.type!==Comment&&(!isSameVNodeType(p,v)||g)){var A=resolveTransitionHooks(v,u,a,o);if(setTransitionHooks(v,A),"out-in"===d)return a.isLeaving=!0,A.afterLeave=function(){a.isLeaving=!1,!1!==o.update.active&&o.update()},emptyPlaceholder(i);"in-out"===d&&p.type!==Comment&&(A.delayLeave=function(e,t,r){getLeavingNodesForType(a,v)[String(v.key)]=v,e._leaveCb=function(){t(),e._leaveCb=void 0,delete f.delayedLeave},f.delayedLeave=r})}return i}}}},BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(e,t){var r=e.leavingVNodes,n=r.get(t.type);return n||(n=Object.create(null),r.set(t.type,n)),n}function resolveTransitionHooks(e,t,r,n){var o=t.appear,a=t.mode,i=t.persisted,s=void 0!==i&&i,l=t.onBeforeEnter,c=t.onEnter,u=t.onAfterEnter,d=t.onEnterCancelled,p=t.onBeforeLeave,f=t.onLeave,h=t.onAfterLeave,v=t.onLeaveCancelled,g=t.onBeforeAppear,m=t.onAppear,b=t.onAfterAppear,A=t.onAppearCancelled,y=String(e.key),x=getLeavingNodesForType(r,e),w=function(e,t){e&&callWithAsyncErrorHandling(e,n,9,t)},C=function(e,t){var r=t[1];w(e,t),isArray$9(e)?e.every((function(e){return e.length<=1}))&&r():e.length<=1&&r()},k={mode:a,persisted:s,beforeEnter:function(t){var n=l;if(!r.isMounted){if(!o)return;n=g||l}t._leaveCb&&t._leaveCb(!0);var a=x[y];a&&isSameVNodeType(e,a)&&a.el._leaveCb&&a.el._leaveCb(),w(n,[t])},enter:function(e){var t=c,n=u,a=d;if(!r.isMounted){if(!o)return;t=m||c,n=b||u,a=A||d}var i=!1,s=e._enterCb=function(t){i||(i=!0,w(t?a:n,[e]),k.delayedLeave&&k.delayedLeave(),e._enterCb=void 0)};t?C(t,[e,s]):s()},leave:function(t,n){var o=String(e.key);if(t._enterCb&&t._enterCb(!0),r.isUnmounting)return n();w(p,[t]);var a=!1,i=t._leaveCb=function(r){a||(a=!0,n(),w(r?v:h,[t]),t._leaveCb=void 0,x[o]===e&&delete x[o])};x[o]=e,f?C(f,[t,i]):i()},clone:function(e){return resolveTransitionHooks(e,t,r,n)}};return k}function emptyPlaceholder(e){if(isKeepAlive(e))return(e=cloneVNode(e)).children=null,e}function getKeepAliveChild(e){return isKeepAlive(e)?e.children?e.children[0]:void 0:e}function setTransitionHooks(e,t){6&e.shapeFlag&&e.component?setTransitionHooks(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function getTransitionRawChildren(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2?arguments[2]:void 0,n=[],o=0,a=0;a<e.length;a++){var i=e[a],s=null==r?i.key:String(r)+String(null!=i.key?i.key:a);i.type===Fragment?(128&i.patchFlag&&o++,n=n.concat(getTransitionRawChildren(i.children,t,s))):(t||i.type!==Comment)&&n.push(null!=s?cloneVNode(i,{key:s}):i)}if(o>1)for(var l=0;l<n.length;l++)n[l].patchFlag=-2;return n}function defineComponent(e,t){return isFunction$5(e)?function(){return extend$2({name:e.name},t,{setup:e})}():e}var isAsyncWrapper=function(e){return!!e.type.__asyncLoader},isKeepAlive=function(e){return e.type.__isKeepAlive};function onActivated(e,t){registerKeepAliveHook(e,"a",t)}function onDeactivated(e,t){registerKeepAliveHook(e,"da",t)}function registerKeepAliveHook(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:currentInstance,n=e.__wdc||(e.__wdc=function(){for(var t=r;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(injectHook(t,n,r),r)for(var o=r.parent;o&&o.parent;)isKeepAlive(o.parent.vnode)&&injectToKeepAliveRoot(n,t,r,o),o=o.parent}function injectToKeepAliveRoot(e,t,r,n){var o=injectHook(t,e,n,!0);onUnmounted((function(){remove$6(n[t],o)}),r)}function injectHook(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:currentInstance,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(r){var o=r[e]||(r[e]=[]),a=t.__weh||(t.__weh=function(){if(!r.isUnmounted){pauseTracking(),setCurrentInstance(r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];var i=callWithAsyncErrorHandling(t,r,e,o);return unsetCurrentInstance(),resetTracking(),i}});return n?o.unshift(a):o.push(a),a}}var createHook=function(e){return function(t){return(!isInSSRComponentSetup||"sp"===e)&&injectHook(e,(function(){return t.apply(void 0,arguments)}),arguments.length>1&&void 0!==arguments[1]?arguments[1]:currentInstance)}},onBeforeMount=createHook("bm"),onMounted=createHook("m"),onBeforeUpdate=createHook("bu"),onUpdated=createHook("u"),onBeforeUnmount=createHook("bum"),onUnmounted=createHook("um"),onServerPrefetch=createHook("sp"),onRenderTriggered=createHook("rtg"),onRenderTracked=createHook("rtc");function onErrorCaptured(e){injectHook("ec",e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:currentInstance)}var COMPONENTS="components";function resolveComponent(e,t){return resolveAsset(COMPONENTS,e,!0,t)||e}var NULL_DYNAMIC_COMPONENT=Symbol.for("v-ndc");function resolveDynamicComponent(e){return isString$2(e)?resolveAsset(COMPONENTS,e,!1)||e:e||NULL_DYNAMIC_COMPONENT}function resolveAsset(e,t){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],n=currentRenderingInstance||currentInstance;if(n){var o=n.type;if(e===COMPONENTS){var a=getComponentName(o,!1);if(a&&(a===t||a===camelize$1(t)||a===capitalize(camelize$1(t))))return o}var i=resolve(n[e]||o[e],t)||resolve(n.appContext[e],t);return!i&&r?o:i}}function resolve(e,t){return e&&(e[t]||e[camelize$1(t)]||e[capitalize(camelize$1(t))])}function renderSlot(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;if(currentRenderingInstance.isCE||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&&currentRenderingInstance.parent.isCE)return"default"!==t&&(r.name=t),createVNode("slot",r,n&&n());var a=e[t];a&&a._c&&(a._d=!1),openBlock();var i=a&&ensureValidVNode$1(a(r)),s=createBlock(Fragment,{key:r.key||i&&i.key||"_".concat(t)},i||(n?n():[]),i&&1===e._?64:-2);return!o&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),a&&a._c&&(a._d=!0),s}function ensureValidVNode$1(e){return e.some((function(e){return!isVNode(e)||e.type!==Comment&&!(e.type===Fragment&&!ensureValidVNode$1(e.children))}))?e:null}var getPublicInstance=function e(t){return t?isStatefulComponent(t)?getExposeProxy(t)||t.proxy:e(t.parent):null},publicPropertiesMap=extend$2(Object.create(null),{$:function(e){return e},$el:function(e){return e.vnode.el},$data:function(e){return e.data},$props:function(e){return e.props},$attrs:function(e){return e.attrs},$slots:function(e){return e.slots},$refs:function(e){return e.refs},$parent:function(e){return getPublicInstance(e.parent)},$root:function(e){return getPublicInstance(e.root)},$emit:function(e){return e.emit},$options:function(e){return resolveMergedOptions(e)},$forceUpdate:function(e){return e.f||(e.f=function(){return queueJob(e.update)})},$nextTick:function(e){return e.n||(e.n=nextTick.bind(e.proxy))},$watch:function(e){return instanceWatch.bind(e)}}),hasSetupBinding=function(e,t){return e!==EMPTY_OBJ&&!e.__isScriptSetup&&hasOwn$2(e,t)},PublicInstanceProxyHandlers={get:function(e,t){var r,n=e._,o=n.ctx,a=n.setupState,i=n.data,s=n.props,l=n.accessCache,c=n.type,u=n.appContext;if("$"!==t[0]){var d=l[t];if(void 0!==d)switch(d){case 1:return a[t];case 2:return i[t];case 4:return o[t];case 3:return s[t]}else{if(hasSetupBinding(a,t))return l[t]=1,a[t];if(i!==EMPTY_OBJ&&hasOwn$2(i,t))return l[t]=2,i[t];if((r=n.propsOptions[0])&&hasOwn$2(r,t))return l[t]=3,s[t];if(o!==EMPTY_OBJ&&hasOwn$2(o,t))return l[t]=4,o[t];shouldCacheAccess&&(l[t]=0)}}var p,f,h=publicPropertiesMap[t];return h?("$attrs"===t&&track(n,"get",t),h(n)):(p=c.__cssModules)&&(p=p[t])?p:o!==EMPTY_OBJ&&hasOwn$2(o,t)?(l[t]=4,o[t]):(f=u.config.globalProperties,hasOwn$2(f,t)?f[t]:void 0)},set:function(e,t,r){var n=e._,o=n.data,a=n.setupState,i=n.ctx;return hasSetupBinding(a,t)?(a[t]=r,!0):o!==EMPTY_OBJ&&hasOwn$2(o,t)?(o[t]=r,!0):!hasOwn$2(n.props,t)&&(("$"!==t[0]||!(t.slice(1)in n))&&(i[t]=r,!0))},has:function(e,t){var r,n=e._,o=n.data,a=n.setupState,i=n.accessCache,s=n.ctx,l=n.appContext,c=n.propsOptions;return!!i[t]||o!==EMPTY_OBJ&&hasOwn$2(o,t)||hasSetupBinding(a,t)||(r=c[0])&&hasOwn$2(r,t)||hasOwn$2(s,t)||hasOwn$2(publicPropertiesMap,t)||hasOwn$2(l.config.globalProperties,t)},defineProperty:function(e,t,r){return null!=r.get?e._.accessCache[t]=0:hasOwn$2(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function normalizePropsOrEmits(e){return isArray$9(e)?e.reduce((function(e,t){return e[t]=null,e}),{}):e}var shouldCacheAccess=!0;function applyOptions(e){var t=resolveMergedOptions(e),r=e.proxy,n=e.ctx;shouldCacheAccess=!1,t.beforeCreate&&callHook$1(t.beforeCreate,e,"bc");var o=t.data,a=t.computed,i=t.methods,s=t.watch,l=t.provide,c=t.inject,u=t.created,d=t.beforeMount,p=t.mounted,f=t.beforeUpdate,h=t.updated,v=t.activated,g=t.deactivated,m=(t.beforeDestroy,t.beforeUnmount),b=(t.destroyed,t.unmounted),A=t.render,y=t.renderTracked,x=t.renderTriggered,w=t.errorCaptured,C=t.serverPrefetch,k=t.expose,_=t.inheritAttrs,S=t.components,B=t.directives;t.filters;if(c&&resolveInjections(c,n,null),i)for(var E in i){var T=i[E];isFunction$5(T)&&(n[E]=T.bind(r))}if(o){var P=o.call(r,r);isObject$6(P)&&(e.data=reactive(P))}if(shouldCacheAccess=!0,a){var I=function(){var e=a[N],t=isFunction$5(e)?e.bind(r,r):isFunction$5(e.get)?e.get.bind(r,r):NOOP,o=!isFunction$5(e)&&isFunction$5(e.set)?e.set.bind(r):NOOP,i=computed({get:t,set:o});Object.defineProperty(n,N,{enumerable:!0,configurable:!0,get:function(){return i.value},set:function(e){return i.value=e}})};for(var N in a)I()}if(s)for(var z in s)createWatcher(s[z],n,r,z);if(l){var M=isFunction$5(l)?l.call(r):l;Reflect.ownKeys(M).forEach((function(e){provide(e,M[e])}))}function R(e,t){isArray$9(t)?t.forEach((function(t){return e(t.bind(r))})):t&&e(t.bind(r))}if(u&&callHook$1(u,e,"c"),R(onBeforeMount,d),R(onMounted,p),R(onBeforeUpdate,f),R(onUpdated,h),R(onActivated,v),R(onDeactivated,g),R(onErrorCaptured,w),R(onRenderTracked,y),R(onRenderTriggered,x),R(onBeforeUnmount,m),R(onUnmounted,b),R(onServerPrefetch,C),isArray$9(k))if(k.length){var D=e.exposed||(e.exposed={});k.forEach((function(e){Object.defineProperty(D,e,{get:function(){return r[e]},set:function(t){return r[e]=t}})}))}else e.exposed||(e.exposed={});A&&e.render===NOOP&&(e.render=A),null!=_&&(e.inheritAttrs=_),S&&(e.components=S),B&&(e.directives=B)}function resolveInjections(e,t){isArray$9(e)&&(e=normalizeInject(e));var r=function(){var r,o=e[n];isRef(r=isObject$6(o)?"default"in o?inject(o.from||n,o.default,!0):inject(o.from||n):inject(o))?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){return r.value},set:function(e){return r.value=e}}):t[n]=r};for(var n in e)r()}function callHook$1(e,t,r){callWithAsyncErrorHandling(isArray$9(e)?e.map((function(e){return e.bind(t.proxy)})):e.bind(t.proxy),t,r)}function createWatcher(e,t,r,n){var o=n.includes(".")?createPathGetter(r,n):function(){return r[n]};if(isString$2(e)){var a=t[e];isFunction$5(a)&&watch(o,a)}else if(isFunction$5(e))watch(o,e.bind(r));else if(isObject$6(e))if(isArray$9(e))e.forEach((function(e){return createWatcher(e,t,r,n)}));else{var i=isFunction$5(e.handler)?e.handler.bind(r):t[e.handler];isFunction$5(i)&&watch(o,i,e)}}function resolveMergedOptions(e){var t,r=e.type,n=r.mixins,o=r.extends,a=e.appContext,i=a.mixins,s=a.optionsCache,l=a.config.optionMergeStrategies,c=s.get(r);return c?t=c:i.length||n||o?(t={},i.length&&i.forEach((function(e){return mergeOptions$1(t,e,l,!0)})),mergeOptions$1(t,r,l)):t=r,isObject$6(r)&&s.set(r,t),t}function mergeOptions$1(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=t.mixins,a=t.extends;for(var i in a&&mergeOptions$1(e,a,r,!0),o&&o.forEach((function(t){return mergeOptions$1(e,t,r,!0)})),t)if(n&&"expose"===i);else{var s=internalOptionMergeStrats[i]||r&&r[i];e[i]=s?s(e[i],t[i]):t[i]}return e}var internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray,created:mergeAsArray,beforeMount:mergeAsArray,mounted:mergeAsArray,beforeUpdate:mergeAsArray,updated:mergeAsArray,beforeDestroy:mergeAsArray,beforeUnmount:mergeAsArray,destroyed:mergeAsArray,unmounted:mergeAsArray,activated:mergeAsArray,deactivated:mergeAsArray,errorCaptured:mergeAsArray,serverPrefetch:mergeAsArray,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(e,t){return t?e?function(){return extend$2(isFunction$5(e)?e.call(this,this):e,isFunction$5(t)?t.call(this,this):t)}:t:e}function mergeInject(e,t){return mergeObjectOptions(normalizeInject(e),normalizeInject(t))}function normalizeInject(e){if(isArray$9(e)){for(var t={},r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function mergeAsArray(e,t){return e?_toConsumableArray2(new Set([].concat(e,t))):t}function mergeObjectOptions(e,t){return e?extend$2(Object.create(null),e,t):t}function mergeEmitsOrPropsOptions(e,t){return e?isArray$9(e)&&isArray$9(t)?_toConsumableArray2(new Set([].concat(_toConsumableArray2(e),_toConsumableArray2(t)))):extend$2(Object.create(null),normalizePropsOrEmits(e),normalizePropsOrEmits(null!=t?t:{})):t}function mergeWatchOptions(e,t){if(!e)return t;if(!t)return e;var r=extend$2(Object.create(null),e);for(var n in t)r[n]=mergeAsArray(e[n],t[n]);return r}function createAppContext(){return{app:null,config:{isNativeTag:NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}var uid$1=0;function createAppAPI(e,t){return function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;isFunction$5(r)||(r=extend$2({},r)),null==n||isObject$6(n)||(n=null);var o=createAppContext(),a=new Set,i=!1,s=o.app={_uid:uid$1++,_component:r,_props:n,_container:null,_context:o,_instance:null,version:version$2,get config(){return o.config},set config(e){},use:function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return a.has(e)||(e&&isFunction$5(e.install)?(a.add(e),e.install.apply(e,[s].concat(r))):isFunction$5(e)&&(a.add(e),e.apply(void 0,[s].concat(r)))),s},mixin:function(e){return o.mixins.includes(e)||o.mixins.push(e),s},component:function(e,t){return t?(o.components[e]=t,s):o.components[e]},directive:function(e,t){return t?(o.directives[e]=t,s):o.directives[e]},mount:function(a,l,c){if(!i){var u=createVNode(r,n);return u.appContext=o,l&&t?t(u,a):e(u,a,c),i=!0,s._container=a,a.__vue_app__=s,getExposeProxy(u.component)||u.component.proxy}},unmount:function(){i&&(e(null,s._container),delete s._container.__vue_app__)},provide:function(e,t){return o.provides[e]=t,s},runWithContext:function(e){currentApp=s;try{return e()}finally{currentApp=null}}};return s}}var currentApp=null;function provide(e,t){if(currentInstance){var r=currentInstance.provides,n=currentInstance.parent&&currentInstance.parent.provides;n===r&&(r=currentInstance.provides=Object.create(n)),r[e]=t}else;}function inject(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=currentInstance||currentRenderingInstance;if(n||currentApp){var o=n?null==n.parent?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:currentApp._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return r&&isFunction$5(t)?t.call(n&&n.proxy):t}}function initProps(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o={},a={};for(var i in def(a,InternalObjectKey,1),e.propsDefaults=Object.create(null),setFullProps(e,t,o,a),e.propsOptions[0])i in o||(o[i]=void 0);r?e.props=n?o:shallowReactive(o):e.type.props?e.props=o:e.props=a,e.attrs=a}function updateProps(e,t,r,n){var o=e.props,a=e.attrs,i=e.vnode.patchFlag,s=toRaw(o),l=_slicedToArray(e.propsOptions,1)[0],c=!1;if(!(n||i>0)||16&i){var u;for(var d in setFullProps(e,t,o,a)&&(c=!0),s)t&&(hasOwn$2(t,d)||(u=hyphenate(d))!==d&&hasOwn$2(t,u))||(l?!r||void 0===r[d]&&void 0===r[u]||(o[d]=resolvePropValue(l,s,d,void 0,e,!0)):delete o[d]);if(a!==s)for(var p in a)t&&hasOwn$2(t,p)||(delete a[p],c=!0)}else if(8&i)for(var f=e.vnode.dynamicProps,h=0;h<f.length;h++){var v=f[h];if(!isEmitListener(e.emitsOptions,v)){var g=t[v];if(l)if(hasOwn$2(a,v))g!==a[v]&&(a[v]=g,c=!0);else{var m=camelize$1(v);o[m]=resolvePropValue(l,s,m,g,e,!1)}else g!==a[v]&&(a[v]=g,c=!0)}}c&&trigger$1(e,"set","$attrs")}function setFullProps(e,t,r,n){var o,a=_slicedToArray(e.propsOptions,2),i=a[0],s=a[1],l=!1;if(t)for(var c in t)if(!isReservedProp(c)){var u=t[c],d=void 0;i&&hasOwn$2(i,d=camelize$1(c))?s&&s.includes(d)?(o||(o={}))[d]=u:r[d]=u:isEmitListener(e.emitsOptions,c)||c in n&&u===n[c]||(n[c]=u,l=!0)}if(s)for(var p=toRaw(r),f=o||EMPTY_OBJ,h=0;h<s.length;h++){var v=s[h];r[v]=resolvePropValue(i,p,v,f[v],e,!hasOwn$2(f,v))}return l}function resolvePropValue(e,t,r,n,o,a){var i=e[r];if(null!=i){var s=hasOwn$2(i,"default");if(s&&void 0===n){var l=i.default;if(i.type!==Function&&!i.skipFactory&&isFunction$5(l)){var c=o.propsDefaults;r in c?n=c[r]:(setCurrentInstance(o),n=c[r]=l.call(null,t),unsetCurrentInstance())}else n=l}i[0]&&(a&&!s?n=!1:!i[1]||""!==n&&n!==hyphenate(r)||(n=!0))}return n}function normalizePropsOptions(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=t.propsCache,o=n.get(e);if(o)return o;var a=e.props,i={},s=[],l=!1;if(!isFunction$5(e)){var c=function(e){l=!0;var r=_slicedToArray(normalizePropsOptions(e,t,!0),2),n=r[0],o=r[1];extend$2(i,n),o&&s.push.apply(s,_toConsumableArray2(o))};!r&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!a&&!l)return isObject$6(e)&&n.set(e,EMPTY_ARR),EMPTY_ARR;if(isArray$9(a))for(var u=0;u<a.length;u++){var d=camelize$1(a[u]);validatePropName(d)&&(i[d]=EMPTY_OBJ)}else if(a)for(var p in a){var f=camelize$1(p);if(validatePropName(f)){var h=a[p],v=i[f]=isArray$9(h)||isFunction$5(h)?{type:h}:extend$2({},h);if(v){var g=getTypeIndex(Boolean,v.type),m=getTypeIndex(String,v.type);v[0]=g>-1,v[1]=m<0||g<m,(g>-1||hasOwn$2(v,"default"))&&s.push(f)}}}var b=[i,s];return isObject$6(e)&&n.set(e,b),b}function validatePropName(e){return"$"!==e[0]}function getType(e){var t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:null===e?"null":""}function isSameType(e,t){return getType(e)===getType(t)}function getTypeIndex(e,t){return isArray$9(t)?t.findIndex((function(t){return isSameType(t,e)})):isFunction$5(t)&&isSameType(t,e)?0:-1}var isInternalKey=function(e){return"_"===e[0]||"$stable"===e},normalizeSlotValue=function(e){return isArray$9(e)?e.map(normalizeVNode):[normalizeVNode(e)]},normalizeSlot$1=function(e,t,r){if(t._n)return t;var n=withCtx((function(){return normalizeSlotValue(t.apply(void 0,arguments))}),r);return n._c=!1,n},normalizeObjectSlots=function(e,t,r){var n=e._ctx,o=function(){if(isInternalKey(a))return 1;var r=e[a];if(isFunction$5(r))t[a]=normalizeSlot$1(a,r,n);else if(null!=r){var o=normalizeSlotValue(r);t[a]=function(){return o}}};for(var a in e)o()},normalizeVNodeSlots=function(e,t){var r=normalizeSlotValue(t);e.slots.default=function(){return r}},initSlots=function(e,t){if(32&e.vnode.shapeFlag){var r=t._;r?(e.slots=toRaw(t),def(t,"_",r)):normalizeObjectSlots(t,e.slots={})}else e.slots={},t&&normalizeVNodeSlots(e,t);def(e.slots,InternalObjectKey,1)},updateSlots=function(e,t,r){var n=e.vnode,o=e.slots,a=!0,i=EMPTY_OBJ;if(32&n.shapeFlag){var s=t._;s?r&&1===s?a=!1:(extend$2(o,t),r||1!==s||delete o._):(a=!t.$stable,normalizeObjectSlots(t,o)),i=t}else t&&(normalizeVNodeSlots(e,t),i={default:1});if(a)for(var l in o)isInternalKey(l)||l in i||delete o[l]};function setRef(e,t,r,n){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(isArray$9(e))e.forEach((function(e,a){return setRef(e,t&&(isArray$9(t)?t[a]:t),r,n,o)}));else if(!isAsyncWrapper(n)||o){var a=4&n.shapeFlag?getExposeProxy(n.component)||n.component.proxy:n.el,i=o?null:a,s=e.i,l=e.r,c=t&&t.r,u=s.refs===EMPTY_OBJ?s.refs={}:s.refs,d=s.setupState;if(null!=c&&c!==l&&(isString$2(c)?(u[c]=null,hasOwn$2(d,c)&&(d[c]=null)):isRef(c)&&(c.value=null)),isFunction$5(l))callWithErrorHandling(l,s,12,[i,u]);else{var p=isString$2(l),f=isRef(l);if(p||f){var h=function(){if(e.f){var t=p?hasOwn$2(d,l)?d[l]:u[l]:l.value;o?isArray$9(t)&&remove$6(t,a):isArray$9(t)?t.includes(a)||t.push(a):p?(u[l]=[a],hasOwn$2(d,l)&&(d[l]=u[l])):(l.value=[a],e.k&&(u[e.k]=l.value))}else p?(u[l]=i,hasOwn$2(d,l)&&(d[l]=i)):f&&(l.value=i,e.k&&(u[e.k]=i))};i?(h.id=-1,queuePostRenderEffect(h,r)):h()}}}}var queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(e){return baseCreateRenderer(e)}function baseCreateRenderer(e,t){getGlobalThis$1().__VUE__=!0;var r,n,o=e.insert,a=e.remove,i=e.patchProp,s=e.createElement,l=e.createText,c=e.createComment,u=e.setText,d=e.setElementText,p=e.parentNode,f=e.nextSibling,h=e.setScopeId,v=void 0===h?NOOP:h,g=e.insertStaticContent,m=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,i=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:!!t.dynamicChildren;if(e!==t){e&&!isSameVNodeType(e,t)&&(n=H(e),F(e,o,a,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);var c=t.type,u=t.ref,d=t.shapeFlag;switch(c){case Text:b(e,t,r,n);break;case Comment:A(e,t,r,n);break;case Static:null==e&&y(t,r,n,i);break;case Fragment:E(e,t,r,n,o,a,i,s,l);break;default:1&d?x(e,t,r,n,o,a,i,s,l):6&d?T(e,t,r,n,o,a,i,s,l):(64&d||128&d)&&c.process(e,t,r,n,o,a,i,s,l,Q)}null!=u&&o&&setRef(u,e&&e.ref,a,t||e,!t)}},b=function(e,t,r,n){if(null==e)o(t.el=l(t.children),r,n);else{var a=t.el=e.el;t.children!==e.children&&u(a,t.children)}},A=function(e,t,r,n){null==e?o(t.el=c(t.children||""),r,n):t.el=e.el},y=function(e,t,r,n){var o=_slicedToArray(g(e.children,t,r,n,e.el,e.anchor),2);e.el=o[0],e.anchor=o[1]},x=function(e,t,r,n,o,a,i,s,l){i=i||"svg"===t.type,null==e?w(t,r,n,o,a,i,s,l):_(e,t,o,a,i,s,l)},w=function(e,t,r,n,a,l,c,u){var p,f,h=e.type,v=e.props,g=e.shapeFlag,m=e.transition,b=e.dirs;if(p=e.el=s(e.type,l,v&&v.is,v),8&g?d(p,e.children):16&g&&k(e.children,p,null,n,a,l&&"foreignObject"!==h,c,u),b&&invokeDirectiveHook(e,null,n,"created"),C(p,e,e.scopeId,c,n),v){for(var A in v)"value"===A||isReservedProp(A)||i(p,A,null,v[A],l,e.children,n,a,$);"value"in v&&i(p,"value",null,v.value),(f=v.onVnodeBeforeMount)&&invokeVNodeHook(f,n,e)}b&&invokeDirectiveHook(e,null,n,"beforeMount");var y=(!a||a&&!a.pendingBranch)&&m&&!m.persisted;y&&m.beforeEnter(p),o(p,t,r),((f=v&&v.onVnodeMounted)||y||b)&&queuePostRenderEffect((function(){f&&invokeVNodeHook(f,n,e),y&&m.enter(p),b&&invokeDirectiveHook(e,null,n,"mounted")}),a)},C=function e(t,r,n,o,a){if(n&&v(t,n),o)for(var i=0;i<o.length;i++)v(t,o[i]);if(a&&r===a.subTree){var s=a.vnode;e(t,s,s.scopeId,s.slotScopeIds,a.parent)}},k=function(e,t,r,n,o,a,i,s){for(var l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:0;l<e.length;l++){var c=e[l]=s?cloneIfMounted(e[l]):normalizeVNode(e[l]);m(null,c,t,r,n,o,a,i,s)}},_=function(e,t,r,n,o,a,s){var l=t.el=e.el,c=t.patchFlag,u=t.dynamicChildren,p=t.dirs;c|=16&e.patchFlag;var f,h=e.props||EMPTY_OBJ,v=t.props||EMPTY_OBJ;r&&toggleRecurse(r,!1),(f=v.onVnodeBeforeUpdate)&&invokeVNodeHook(f,r,t,e),p&&invokeDirectiveHook(t,e,r,"beforeUpdate"),r&&toggleRecurse(r,!0);var g=o&&"foreignObject"!==t.type;if(u?S(e.dynamicChildren,u,l,r,n,g,a):s||M(e,t,l,null,r,n,g,a,!1),c>0){if(16&c)B(l,t,h,v,r,n,o);else if(2&c&&h.class!==v.class&&i(l,"class",null,v.class,o),4&c&&i(l,"style",h.style,v.style,o),8&c)for(var m=t.dynamicProps,b=0;b<m.length;b++){var A=m[b],y=h[A],x=v[A];x===y&&"value"!==A||i(l,A,y,x,o,e.children,r,n,$)}1&c&&e.children!==t.children&&d(l,t.children)}else s||null!=u||B(l,t,h,v,r,n,o);((f=v.onVnodeUpdated)||p)&&queuePostRenderEffect((function(){f&&invokeVNodeHook(f,r,t,e),p&&invokeDirectiveHook(t,e,r,"updated")}),n)},S=function(e,t,r,n,o,a,i){for(var s=0;s<t.length;s++){var l=e[s],c=t[s],u=l.el&&(l.type===Fragment||!isSameVNodeType(l,c)||70&l.shapeFlag)?p(l.el):r;m(l,c,u,null,n,o,a,i,!0)}},B=function(e,t,r,n,o,a,s){if(r!==n){if(r!==EMPTY_OBJ)for(var l in r)isReservedProp(l)||l in n||i(e,l,r[l],null,s,t.children,o,a,$);for(var c in n)if(!isReservedProp(c)){var u=n[c],d=r[c];u!==d&&"value"!==c&&i(e,c,d,u,s,t.children,o,a,$)}"value"in n&&i(e,"value",r.value,n.value)}},E=function(e,t,r,n,a,i,s,c,u){var d=t.el=e?e.el:l(""),p=t.anchor=e?e.anchor:l(""),f=t.patchFlag,h=t.dynamicChildren,v=t.slotScopeIds;v&&(c=c?c.concat(v):v),null==e?(o(d,r,n),o(p,r,n),k(t.children,r,p,a,i,s,c,u)):f>0&&64&f&&h&&e.dynamicChildren?(S(e.dynamicChildren,h,r,a,i,s,c),(null!=t.key||a&&t===a.subTree)&&traverseStaticChildren(e,t,!0)):M(e,t,r,p,a,i,s,c,u)},T=function(e,t,r,n,o,a,i,s,l){t.slotScopeIds=s,null==e?512&t.shapeFlag?o.ctx.activate(t,r,n,i,l):P(t,r,n,o,a,i,l):I(e,t,l)},P=function(e,t,r,n,o,a,i){var s=e.component=createComponentInstance(e,n,o);if(isKeepAlive(e)&&(s.ctx.renderer=Q),setupComponent(s),s.asyncDep){if(o&&o.registerDep(s,N),!e.el){var l=s.subTree=createVNode(Comment);A(null,l,t,r)}}else N(s,e,t,r,o,a,i)},I=function(e,t,r){var n=t.component=e.component;if(shouldUpdateComponent(e,t,r)){if(n.asyncDep&&!n.asyncResolved)return void z(n,t,r);n.next=t,invalidateJob(n.update),n.update()}else t.el=e.el,n.vnode=t},N=function(e,t,r,o,a,i,s){var l=e.effect=new ReactiveEffect((function(){if(e.isMounted){var l,c=e.next,u=e.bu,d=e.u,f=e.parent,h=e.vnode,v=c;toggleRecurse(e,!1),c?(c.el=h.el,z(e,c,s)):c=h,u&&invokeArrayFns(u),(l=c.props&&c.props.onVnodeBeforeUpdate)&&invokeVNodeHook(l,f,c,h),toggleRecurse(e,!0);var g=renderComponentRoot(e),b=e.subTree;e.subTree=g,m(b,g,p(b.el),H(b),e,a,i),c.el=g.el,null===v&&updateHOCHostEl(e,g.el),d&&queuePostRenderEffect(d,a),(l=c.props&&c.props.onVnodeUpdated)&&queuePostRenderEffect((function(){return invokeVNodeHook(l,f,c,h)}),a)}else{var A,y=t,x=y.el,w=y.props,C=e.bm,k=e.m,_=e.parent,S=isAsyncWrapper(t);if(toggleRecurse(e,!1),C&&invokeArrayFns(C),!S&&(A=w&&w.onVnodeBeforeMount)&&invokeVNodeHook(A,_,t),toggleRecurse(e,!0),x&&n){var B=function(){e.subTree=renderComponentRoot(e),n(x,e.subTree,e,a,null)};S?t.type.__asyncLoader().then((function(){return!e.isUnmounted&&B()})):B()}else{var E=e.subTree=renderComponentRoot(e);m(null,E,r,o,e,a,i),t.el=E.el}if(k&&queuePostRenderEffect(k,a),!S&&(A=w&&w.onVnodeMounted)){var T=t;queuePostRenderEffect((function(){return invokeVNodeHook(A,_,T)}),a)}(256&t.shapeFlag||_&&isAsyncWrapper(_.vnode)&&256&_.vnode.shapeFlag)&&e.a&&queuePostRenderEffect(e.a,a),e.isMounted=!0,t=r=o=null}}),(function(){return queueJob(c)}),e.scope),c=e.update=function(){return l.run()};c.id=e.uid,toggleRecurse(e,!0),c()},z=function(e,t,r){t.component=e;var n=e.vnode.props;e.vnode=t,e.next=null,updateProps(e,t.props,n,r),updateSlots(e,t.children,r),pauseTracking(),flushPreFlushCbs(),resetTracking()},M=function(e,t,r,n,o,a,i,s){var l=arguments.length>8&&void 0!==arguments[8]&&arguments[8],c=e&&e.children,u=e?e.shapeFlag:0,p=t.children,f=t.patchFlag,h=t.shapeFlag;if(f>0){if(128&f)return void D(c,p,r,n,o,a,i,s,l);if(256&f)return void R(c,p,r,n,o,a,i,s,l)}8&h?(16&u&&$(c,o,a),p!==c&&d(r,p)):16&u?16&h?D(c,p,r,n,o,a,i,s,l):$(c,o,a,!0):(8&u&&d(r,""),16&h&&k(p,r,n,o,a,i,s,l))},R=function(e,t,r,n,o,a,i,s,l){t=t||EMPTY_ARR;var c,u=(e=e||EMPTY_ARR).length,d=t.length,p=Math.min(u,d);for(c=0;c<p;c++){var f=t[c]=l?cloneIfMounted(t[c]):normalizeVNode(t[c]);m(e[c],f,r,null,o,a,i,s,l)}u>d?$(e,o,a,!0,!1,p):k(t,r,n,o,a,i,s,l,p)},D=function(e,t,r,n,o,a,i,s,l){for(var c=0,u=t.length,d=e.length-1,p=u-1;c<=d&&c<=p;){var f=e[c],h=t[c]=l?cloneIfMounted(t[c]):normalizeVNode(t[c]);if(!isSameVNodeType(f,h))break;m(f,h,r,null,o,a,i,s,l),c++}for(;c<=d&&c<=p;){var v=e[d],g=t[p]=l?cloneIfMounted(t[p]):normalizeVNode(t[p]);if(!isSameVNodeType(v,g))break;m(v,g,r,null,o,a,i,s,l),d--,p--}if(c>d){if(c<=p)for(var b=p+1,A=b<u?t[b].el:n;c<=p;)m(null,t[c]=l?cloneIfMounted(t[c]):normalizeVNode(t[c]),r,A,o,a,i,s,l),c++}else if(c>p)for(;c<=d;)F(e[c],o,a,!0),c++;else{var y,x=c,w=c,C=new Map;for(c=w;c<=p;c++){var k=t[c]=l?cloneIfMounted(t[c]):normalizeVNode(t[c]);null!=k.key&&C.set(k.key,c)}var _=0,S=p-w+1,B=!1,E=0,T=new Array(S);for(c=0;c<S;c++)T[c]=0;for(c=x;c<=d;c++){var P=e[c];if(_>=S)F(P,o,a,!0);else{var I=void 0;if(null!=P.key)I=C.get(P.key);else for(y=w;y<=p;y++)if(0===T[y-w]&&isSameVNodeType(P,t[y])){I=y;break}void 0===I?F(P,o,a,!0):(T[I-w]=c+1,I>=E?E=I:B=!0,m(P,t[I],r,null,o,a,i,s,l),_++)}}var N=B?getSequence(T):EMPTY_ARR;for(y=N.length-1,c=S-1;c>=0;c--){var z=w+c,M=t[z],R=z+1<u?t[z+1].el:n;0===T[c]?m(null,M,r,R,o,a,i,s,l):B&&(y<0||c!==N[y]?O(M,r,R,2):y--)}}},O=function e(t,r,n,a){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,s=t.el,l=t.type,c=t.transition,u=t.children,d=t.shapeFlag;if(6&d)e(t.component.subTree,r,n,a);else if(128&d)t.suspense.move(r,n,a);else if(64&d)l.move(t,r,n,Q);else if(l!==Fragment){if(l!==Static)if(2!==a&&1&d&&c)if(0===a)c.beforeEnter(s),o(s,r,n),queuePostRenderEffect((function(){return c.enter(s)}),i);else{var p=c.leave,h=c.delayLeave,v=c.afterLeave,g=function(){return o(s,r,n)},m=function(){p(s,(function(){g(),v&&v()}))};h?h(s,g,m):m()}else o(s,r,n);else!function(e,t,r){for(var n,a=e.el,i=e.anchor;a&&a!==i;)n=f(a),o(a,t,r),a=n;o(i,t,r)}(t,r,n)}else{o(s,r,n);for(var b=0;b<u.length;b++)e(u[b],r,n,a);o(t.anchor,r,n)}},F=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=e.type,i=e.props,s=e.ref,l=e.children,c=e.dynamicChildren,u=e.shapeFlag,d=e.patchFlag,p=e.dirs;if(null!=s&&setRef(s,null,r,e,!0),256&u)t.ctx.deactivate(e);else{var f,h=1&u&&p,v=!isAsyncWrapper(e);if(v&&(f=i&&i.onVnodeBeforeUnmount)&&invokeVNodeHook(f,t,e),6&u)V(e.component,r,n);else{if(128&u)return void e.suspense.unmount(r,n);h&&invokeDirectiveHook(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,r,o,Q,n):c&&(a!==Fragment||d>0&&64&d)?$(c,t,r,!1,!0):(a===Fragment&&384&d||!o&&16&u)&&$(l,t,r),n&&L(e)}(v&&(f=i&&i.onVnodeUnmounted)||h)&&queuePostRenderEffect((function(){f&&invokeVNodeHook(f,t,e),h&&invokeDirectiveHook(e,null,t,"unmounted")}),r)}},L=function(e){var t=e.type,r=e.el,n=e.anchor,o=e.transition;if(t!==Fragment)if(t!==Static){var i=function(){a(r),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){var s=o.leave,l=o.delayLeave,c=function(){return s(r,i)};l?l(e.el,i,c):c()}else i()}else!function(e){for(var t,r=e.el,n=e.anchor;r&&r!==n;)t=f(r),a(r),r=t;a(n)}(e);else j(r,n)},j=function(e,t){for(var r;e!==t;)r=f(e),a(e),e=r;a(t)},V=function(e,t,r){var n=e.bum,o=e.scope,a=e.update,i=e.subTree,s=e.um;n&&invokeArrayFns(n),o.stop(),a&&(a.active=!1,F(i,e,t,r)),s&&queuePostRenderEffect(s,t),queuePostRenderEffect((function(){e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},$=function(e,t,r){for(var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;a<e.length;a++)F(e[a],t,r,n,o)},H=function e(t){return 6&t.shapeFlag?e(t.component.subTree):128&t.shapeFlag?t.suspense.next():f(t.anchor||t.el)},U=function(e,t,r){null==e?t._vnode&&F(t._vnode,null,null,!0):m(t._vnode||null,e,t,null,null,null,r),flushPreFlushCbs(),flushPostFlushCbs(),t._vnode=e},Q={p:m,um:F,m:O,r:L,mt:P,mc:k,pc:M,pbc:S,n:H,o:e};if(t){var G=_slicedToArray(t(Q),2);r=G[0],n=G[1]}return{render:U,hydrate:r,createApp:createAppAPI(U,r)}}function toggleRecurse(e,t){var r=e.effect,n=e.update;r.allowRecurse=n.allowRecurse=t}function traverseStaticChildren(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=e.children,o=t.children;if(isArray$9(n)&&isArray$9(o))for(var a=0;a<n.length;a++){var i=n[a],s=o[a];1&s.shapeFlag&&!s.dynamicChildren&&((s.patchFlag<=0||32===s.patchFlag)&&((s=o[a]=cloneIfMounted(o[a])).el=i.el),r||traverseStaticChildren(i,s)),s.type===Text&&(s.el=i.el)}}function getSequence(e){var t,r,n,o,a,i=e.slice(),s=[0],l=e.length;for(t=0;t<l;t++){var c=e[t];if(0!==c){if(e[r=s[s.length-1]]<c){i[t]=r,s.push(t);continue}for(n=0,o=s.length-1;n<o;)e[s[a=n+o>>1]]<c?n=a+1:o=a;c<e[s[n]]&&(n>0&&(i[t]=s[n-1]),s[n]=t)}}for(o=s[(n=s.length)-1];n-- >0;)s[n]=o,o=i[o];return s}var isTeleport=function(e){return e.__isTeleport},isTeleportDisabled=function(e){return e&&(e.disabled||""===e.disabled)},isTargetSVG=function(e){return"undefined"!=typeof SVGElement&&e instanceof SVGElement},resolveTarget=function(e,t){var r=e&&e.to;return isString$2(r)?t?t(r):null:r},TeleportImpl={__isTeleport:!0,process:function(e,t,r,n,o,a,i,s,l,c){var u=c.mc,d=c.pc,p=c.pbc,f=c.o,h=f.insert,v=f.querySelector,g=f.createText,m=(f.createComment,isTeleportDisabled(t.props)),b=t.shapeFlag,A=t.children,y=t.dynamicChildren;if(null==e){var x=t.el=g(""),w=t.anchor=g("");h(x,r,n),h(w,r,n);var C=t.target=resolveTarget(t.props,v),k=t.targetAnchor=g("");C&&(h(k,C),i=i||isTargetSVG(C));var _=function(e,t){16&b&&u(A,e,t,o,a,i,s,l)};m?_(r,w):C&&_(C,k)}else{t.el=e.el;var S=t.anchor=e.anchor,B=t.target=e.target,E=t.targetAnchor=e.targetAnchor,T=isTeleportDisabled(e.props),P=T?r:B,I=T?S:E;if(i=i||isTargetSVG(B),y?(p(e.dynamicChildren,y,P,o,a,i,s),traverseStaticChildren(e,t,!0)):l||d(e,t,P,I,o,a,i,s,!1),m)T||moveTeleport(t,r,S,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){var N=t.target=resolveTarget(t.props,v);N&&moveTeleport(t,N,null,c,0)}else T&&moveTeleport(t,B,E,c,1)}updateCssVars(t)},remove:function(e,t,r,n,o,a){var i=o.um,s=o.o.remove,l=e.shapeFlag,c=e.children,u=e.anchor,d=e.targetAnchor,p=e.target,f=e.props;if(p&&s(d),(a||!isTeleportDisabled(f))&&(s(u),16&l))for(var h=0;h<c.length;h++){var v=c[h];i(v,t,r,!0,!!v.dynamicChildren)}},move:moveTeleport,hydrate:hydrateTeleport};function moveTeleport(e,t,r,n){var o=n.o.insert,a=n.m,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:2;0===i&&o(e.targetAnchor,t,r);var s=e.el,l=e.anchor,c=e.shapeFlag,u=e.children,d=e.props,p=2===i;if(p&&o(s,t,r),(!p||isTeleportDisabled(d))&&16&c)for(var f=0;f<u.length;f++)a(u[f],t,r,2);p&&o(l,t,r)}function hydrateTeleport(e,t,r,n,o,a,i,s){var l=i.o,c=l.nextSibling,u=l.parentNode,d=l.querySelector,p=t.target=resolveTarget(t.props,d);if(p){var f=p._lpa||p.firstChild;if(16&t.shapeFlag)if(isTeleportDisabled(t.props))t.anchor=s(c(e),t,u(e),r,n,o,a),t.targetAnchor=f;else{t.anchor=c(e);for(var h=f;h;)if((h=c(h))&&8===h.nodeType&&"teleport anchor"===h.data){t.targetAnchor=h,p._lpa=t.targetAnchor&&c(t.targetAnchor);break}s(f,t,p,r,n,o,a)}updateCssVars(t)}return t.anchor&&c(t.anchor)}var Teleport=TeleportImpl;function updateCssVars(e){var t=e.ctx;if(t&&t.ut){for(var r=e.children[0].el;r!==e.targetAnchor;)1===r.nodeType&&r.setAttribute("data-v-owner",t.uid),r=r.nextSibling;t.ut()}}var Fragment=Symbol.for("v-fgt"),Text=Symbol.for("v-txt"),Comment=Symbol.for("v-cmt"),Static=Symbol.for("v-stc"),blockStack=[],currentBlock=null;function openBlock(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];blockStack.push(currentBlock=e?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}var isBlockTreeEnabled=1;function setBlockTracking(e){isBlockTreeEnabled+=e}function setupBlock(e){return e.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&&currentBlock&&currentBlock.push(e),e}function createElementBlock(e,t,r,n,o,a){return setupBlock(createBaseVNode(e,t,r,n,o,a,!0))}function createBlock(e,t,r,n,o){return setupBlock(createVNode(e,t,r,n,o,!0))}function isVNode(e){return!!e&&!0===e.__v_isVNode}function isSameVNodeType(e,t){return e.type===t.type&&e.key===t.key}var InternalObjectKey="__vInternal",normalizeKey=function(e){var t=e.key;return null!=t?t:null},normalizeRef=function(e){var t=e.ref,r=e.ref_key,n=e.ref_for;return"number"==typeof t&&(t=""+t),null!=t?isString$2(t)||isRef(t)||isFunction$5(t)?{i:currentRenderingInstance,r:t,k:r,f:!!n}:t:null};function createBaseVNode(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e===Fragment?0:1,i=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7&&void 0!==arguments[7]&&arguments[7],l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&normalizeKey(t),ref:t&&normalizeRef(t),scopeId:currentScopeId,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:n,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return s?(normalizeChildren(l,r),128&a&&e.normalize(l)):r&&(l.shapeFlag|=isString$2(r)?8:16),isBlockTreeEnabled>0&&!i&&currentBlock&&(l.patchFlag>0||6&a)&&32!==l.patchFlag&&currentBlock.push(l),l}var createVNode=_createVNode;function _createVNode(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(e&&e!==NULL_DYNAMIC_COMPONENT||(e=Comment),isVNode(e)){var i=cloneVNode(e,t,!0);return r&&normalizeChildren(i,r),isBlockTreeEnabled>0&&!a&&currentBlock&&(6&i.shapeFlag?currentBlock[currentBlock.indexOf(e)]=i:currentBlock.push(i)),i.patchFlag|=-2,i}if(isClassComponent(e)&&(e=e.__vccOpts),t){var s=t=guardReactiveProps(t),l=s.class,c=s.style;l&&!isString$2(l)&&(t.class=normalizeClass(l)),isObject$6(c)&&(isProxy(c)&&!isArray$9(c)&&(c=extend$2({},c)),t.style=normalizeStyle(c))}return createBaseVNode(e,t,r,n,o,isString$2(e)?1:isSuspense(e)?128:isTeleport(e)?64:isObject$6(e)?4:isFunction$5(e)?2:0,a,!0)}function guardReactiveProps(e){return e?isProxy(e)||InternalObjectKey in e?extend$2({},e):e:null}function cloneVNode(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=e.props,o=e.ref,a=e.patchFlag,i=e.children,s=t?mergeProps(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&normalizeKey(s),ref:t&&t.ref?r&&o?isArray$9(o)?o.concat(normalizeRef(t)):[o,normalizeRef(t)]:normalizeRef(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Fragment?-1===a?16:16|a:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&cloneVNode(e.ssContent),ssFallback:e.ssFallback&&cloneVNode(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function createTextVNode(){return createVNode(Text,null,arguments.length>0&&void 0!==arguments[0]?arguments[0]:" ",arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)}function normalizeVNode(e){return null==e||"boolean"==typeof e?createVNode(Comment):isArray$9(e)?createVNode(Fragment,null,e.slice()):"object"===_typeof2(e)?cloneIfMounted(e):createVNode(Text,null,String(e))}function cloneIfMounted(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:cloneVNode(e)}function normalizeChildren(e,t){var r=0,n=e.shapeFlag;if(null==t)t=null;else if(isArray$9(t))r=16;else if("object"===_typeof2(t)){if(65&n){var o=t.default;return void(o&&(o._c&&(o._d=!1),normalizeChildren(e,o()),o._c&&(o._d=!0)))}r=32;var a=t._;a||InternalObjectKey in t?3===a&&currentRenderingInstance&&(1===currentRenderingInstance.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=currentRenderingInstance}else isFunction$5(t)?(t={default:t,_ctx:currentRenderingInstance},r=32):(t=String(t),64&n?(r=16,t=[createTextVNode(t)]):r=8);e.children=t,e.shapeFlag|=r}function mergeProps(){for(var e={},t=0;t<arguments.length;t++){var r=t<0||arguments.length<=t?void 0:arguments[t];for(var n in r)if("class"===n)e.class!==r.class&&(e.class=normalizeClass([e.class,r.class]));else if("style"===n)e.style=normalizeStyle([e.style,r.style]);else if(isOn(n)){var o=e[n],a=r[n];!a||o===a||isArray$9(o)&&o.includes(a)||(e[n]=o?[].concat(o,a):a)}else""!==n&&(e[n]=r[n])}return e}function invokeVNodeHook(e,t,r){callWithAsyncErrorHandling(e,t,7,[r,arguments.length>3&&void 0!==arguments[3]?arguments[3]:null])}var emptyAppContext=createAppContext(),uid=0;function createComponentInstance(e,t,r){var n=e.type,o=(t?t.appContext:e.appContext)||emptyAppContext,a={uid:uid++,vnode:e,type:n,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new EffectScope(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:normalizePropsOptions(n,o),emitsOptions:normalizeEmitsOptions(n,o),emit:null,emitted:null,propsDefaults:EMPTY_OBJ,inheritAttrs:n.inheritAttrs,ctx:EMPTY_OBJ,data:EMPTY_OBJ,props:EMPTY_OBJ,attrs:EMPTY_OBJ,slots:EMPTY_OBJ,refs:EMPTY_OBJ,setupState:EMPTY_OBJ,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=emit.bind(null,a),e.ce&&e.ce(a),a}var currentInstance=null,getCurrentInstance=function(){return currentInstance||currentRenderingInstance},internalSetCurrentInstance,globalCurrentInstanceSetters,settersKey="__VUE_INSTANCE_SETTERS__";(globalCurrentInstanceSetters=getGlobalThis$1()[settersKey])||(globalCurrentInstanceSetters=getGlobalThis$1()[settersKey]=[]),globalCurrentInstanceSetters.push((function(e){return currentInstance=e})),internalSetCurrentInstance=function(e){globalCurrentInstanceSetters.length>1?globalCurrentInstanceSetters.forEach((function(t){return t(e)})):globalCurrentInstanceSetters[0](e)};var setCurrentInstance=function(e){internalSetCurrentInstance(e),e.scope.on()},unsetCurrentInstance=function(){currentInstance&&currentInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(e){return 4&e.vnode.shapeFlag}var isInSSRComponentSetup=!1,compile;function setupComponent(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];isInSSRComponentSetup=t;var r=e.vnode,n=r.props,o=r.children,a=isStatefulComponent(e);initProps(e,n,a,t),initSlots(e,o);var i=a?setupStatefulComponent(e,t):void 0;return isInSSRComponentSetup=!1,i}function setupStatefulComponent(e,t){var r=e.type;e.accessCache=Object.create(null),e.proxy=markRaw(new Proxy(e.ctx,PublicInstanceProxyHandlers));var n=r.setup;if(n){var o=e.setupContext=n.length>1?createSetupContext(e):null;setCurrentInstance(e),pauseTracking();var a=callWithErrorHandling(n,e,0,[e.props,o]);if(resetTracking(),unsetCurrentInstance(),isPromise$1(a)){if(a.then(unsetCurrentInstance,unsetCurrentInstance),t)return a.then((function(r){handleSetupResult(e,r,t)})).catch((function(t){handleError(t,e,0)}));e.asyncDep=a}else handleSetupResult(e,a,t)}else finishComponentSetup(e,t)}function handleSetupResult(e,t,r){isFunction$5(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:isObject$6(t)&&(e.setupState=proxyRefs(t)),finishComponentSetup(e,r)}function finishComponentSetup(e,t,r){var n=e.type;if(!e.render){if(!t&&compile&&!n.render){var o=n.template||resolveMergedOptions(e).template;if(o){var a=e.appContext.config,i=a.isCustomElement,s=a.compilerOptions,l=n.delimiters,c=n.compilerOptions,u=extend$2(extend$2({isCustomElement:i,delimiters:l},s),c);n.render=compile(o,u)}}e.render=n.render||NOOP}setCurrentInstance(e),pauseTracking(),applyOptions(e),resetTracking(),unsetCurrentInstance()}function getAttrsProxy(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:function(t,r){return track(e,"get","$attrs"),t[r]}}))}function createSetupContext(e){return{get attrs(){return getAttrsProxy(e)},slots:e.slots,emit:e.emit,expose:function(t){e.exposed=t||{}}}}function getExposeProxy(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(proxyRefs(markRaw(e.exposed)),{get:function(t,r){return r in t?t[r]:r in publicPropertiesMap?publicPropertiesMap[r](e):void 0},has:function(e,t){return t in e||t in publicPropertiesMap}}))}function getComponentName(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return isFunction$5(e)?e.displayName||e.name:e.name||t&&e.__name}function isClassComponent(e){return isFunction$5(e)&&"__vccOpts"in e}var computed=function(e,t){return computed$1(e,t,isInSSRComponentSetup)};function h$1(e,t,r){var n=arguments.length;return 2===n?isObject$6(t)&&!isArray$9(t)?isVNode(t)?createVNode(e,null,[t]):createVNode(e,t):createVNode(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):3===n&&isVNode(r)&&(r=[r]),createVNode(e,t,r))}var ssrContextKey$1=Symbol.for("v-scx"),useSSRContext=function(){return inject(ssrContextKey$1)},version$2="3.3.4",svgNS$1="http://www.w3.org/2000/svg",doc$2="undefined"!=typeof document?document:null,templateContainer=doc$2&&doc$2.createElement("template"),nodeOps={insert:function(e,t,r){t.insertBefore(e,r||null)},remove:function(e){var t=e.parentNode;t&&t.removeChild(e)},createElement:function(e,t,r,n){var o=t?doc$2.createElementNS(svgNS$1,e):doc$2.createElement(e,r?{is:r}:void 0);return"select"===e&&n&&null!=n.multiple&&o.setAttribute("multiple",n.multiple),o},createText:function(e){return doc$2.createTextNode(e)},createComment:function(e){return doc$2.createComment(e)},setText:function(e,t){e.nodeValue=t},setElementText:function(e,t){e.textContent=t},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},querySelector:function(e){return doc$2.querySelector(e)},setScopeId:function(e,t){e.setAttribute(t,"")},insertStaticContent:function(e,t,r,n,o,a){var i=r?r.previousSibling:t.lastChild;if(o&&(o===a||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),r),o!==a&&(o=o.nextSibling););else{templateContainer.innerHTML=n?"<svg>".concat(e,"</svg>"):e;var s=templateContainer.content;if(n){for(var l=s.firstChild;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,r)}return[i?i.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}};function patchClass(e,t,r){var n=e._vtc;n&&(t=(t?[t].concat(_toConsumableArray2(n)):_toConsumableArray2(n)).join(" ")),null==t?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}function patchStyle(e,t,r){var n=e.style,o=isString$2(r);if(r&&!o){if(t&&!isString$2(t))for(var a in t)null==r[a]&&setStyle(n,a,"");for(var i in r)setStyle(n,i,r[i])}else{var s=n.display;o?t!==r&&(n.cssText=r):t&&e.removeAttribute("style"),"_vod"in e&&(n.display=s)}}var importantRE=/\s*!important$/;function setStyle(e,t,r){if(isArray$9(r))r.forEach((function(r){return setStyle(e,t,r)}));else if(null==r&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{var n=autoPrefix(e,t);importantRE.test(r)?e.setProperty(hyphenate(n),r.replace(importantRE,""),"important"):e[n]=r}}var prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(e,t){var r=prefixCache[t];if(r)return r;var n=camelize$1(t);if("filter"!==n&&n in e)return prefixCache[t]=n;n=capitalize(n);for(var o=0;o<prefixes.length;o++){var a=prefixes[o]+n;if(a in e)return prefixCache[t]=a}return t}var xlinkNS="http://www.w3.org/1999/xlink";function patchAttr(e,t,r,n,o){if(n&&t.startsWith("xlink:"))null==r?e.removeAttributeNS(xlinkNS,t.slice(6,t.length)):e.setAttributeNS(xlinkNS,t,r);else{var a=isSpecialBooleanAttr(t);null==r||a&&!includeBooleanAttr(r)?e.removeAttribute(t):e.setAttribute(t,a?"":r)}}function patchDOMProp(t,r,n,o,a,i,s){if("innerHTML"===r||"textContent"===r)return o&&s(o,a,i),void(t[r]=null==n?"":n);var l=t.tagName;if("value"===r&&"PROGRESS"!==l&&!l.includes("-")){t._value=n;var c=null==n?"":n;return("OPTION"===l?t.getAttribute("value"):t.value)!==c&&(t.value=c),void(null==n&&t.removeAttribute(r))}var u=!1;if(""===n||null==n){var d=_typeof2(t[r]);"boolean"===d?n=includeBooleanAttr(n):null==n&&"string"===d?(n="",u=!0):"number"===d&&(n=0,u=!0)}try{t[r]=n}catch(e){}u&&t.removeAttribute(r)}function addEventListener(e,t,r,n){e.addEventListener(t,r,n)}function removeEventListener(e,t,r,n){e.removeEventListener(t,r,n)}function patchEvent(e,t,r,n){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=e._vei||(e._vei={}),i=a[t];if(n&&i)i.value=n;else{var s=_slicedToArray(parseName(t),2),l=s[0],c=s[1];if(n)addEventListener(e,l,a[t]=createInvoker(n,o),c);else i&&(removeEventListener(e,l,i,c),a[t]=void 0)}}var optionsModifierRE=/(?:Once|Passive|Capture)$/;function parseName(e){var t,r;if(optionsModifierRE.test(e))for(t={};r=e.match(optionsModifierRE);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0;return[":"===e[2]?e.slice(3):hyphenate(e.slice(2)),t]}var cachedNow=0,p$1=Promise.resolve(),getNow=function(){return cachedNow||(p$1.then((function(){return cachedNow=0})),cachedNow=Date.now())};function createInvoker(e,t){var r=function e(r){if(r._vts){if(r._vts<=e.attached)return}else r._vts=Date.now();callWithAsyncErrorHandling(patchStopImmediatePropagation(r,e.value),t,5,[r])};return r.value=e,r.attached=getNow(),r}function patchStopImmediatePropagation(e,t){if(isArray$9(t)){var r=e.stopImmediatePropagation;return e.stopImmediatePropagation=function(){r.call(e),e._stopped=!0},t.map((function(e){return function(t){return!t._stopped&&e&&e(t)}}))}return t}var nativeOnRE=/^on[a-z]/,patchProp=function(e,t,r,n){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=arguments.length>5?arguments[5]:void 0,i=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0;"class"===t?patchClass(e,n,o):"style"===t?patchStyle(e,r,n):isOn(t)?isModelListener(t)||patchEvent(e,t,r,n,i):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):shouldSetAsProp(e,t,n,o))?patchDOMProp(e,t,n,a,i,s,l):("true-value"===t?e._trueValue=n:"false-value"===t&&(e._falseValue=n),patchAttr(e,t,n,o))};function shouldSetAsProp(e,t,r,n){return n?"innerHTML"===t||"textContent"===t||!!(t in e&&nativeOnRE.test(t)&&isFunction$5(r)):"spellcheck"!==t&&"draggable"!==t&&"translate"!==t&&("form"!==t&&(("list"!==t||"INPUT"!==e.tagName)&&(("type"!==t||"TEXTAREA"!==e.tagName)&&((!nativeOnRE.test(t)||!isString$2(r))&&t in e))))}var TRANSITION="transition",ANIMATION="animation",Transition=function(e,t){var r=t.slots;return h$1(BaseTransition,resolveTransitionProps(e),r)};Transition.displayName="Transition";var DOMTransitionPropsValidators={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},TransitionPropsValidators=Transition.props=extend$2({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),callHook=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];isArray$9(e)?e.forEach((function(e){return e.apply(void 0,_toConsumableArray2(t))})):e&&e.apply(void 0,_toConsumableArray2(t))},hasExplicitCallback=function(e){return!!e&&(isArray$9(e)?e.some((function(e){return e.length>1})):e.length>1)};function resolveTransitionProps(e){var t={};for(var r in e)r in DOMTransitionPropsValidators||(t[r]=e[r]);if(!1===e.css)return t;var n=e.name,o=void 0===n?"v":n,a=e.type,i=e.duration,s=e.enterFromClass,l=void 0===s?"".concat(o,"-enter-from"):s,c=e.enterActiveClass,u=void 0===c?"".concat(o,"-enter-active"):c,d=e.enterToClass,p=void 0===d?"".concat(o,"-enter-to"):d,f=e.appearFromClass,h=void 0===f?l:f,v=e.appearActiveClass,g=void 0===v?u:v,m=e.appearToClass,b=void 0===m?p:m,A=e.leaveFromClass,y=void 0===A?"".concat(o,"-leave-from"):A,x=e.leaveActiveClass,w=void 0===x?"".concat(o,"-leave-active"):x,C=e.leaveToClass,k=void 0===C?"".concat(o,"-leave-to"):C,_=normalizeDuration(i),S=_&&_[0],B=_&&_[1],E=t.onBeforeEnter,T=t.onEnter,P=t.onEnterCancelled,I=t.onLeave,N=t.onLeaveCancelled,z=t.onBeforeAppear,M=void 0===z?E:z,R=t.onAppear,D=void 0===R?T:R,O=t.onAppearCancelled,F=void 0===O?P:O,L=function(e,t,r){removeTransitionClass(e,t?b:p),removeTransitionClass(e,t?g:u),r&&r()},j=function(e,t){e._isLeaving=!1,removeTransitionClass(e,y),removeTransitionClass(e,k),removeTransitionClass(e,w),t&&t()},V=function(e){return function(t,r){var n=e?D:T,o=function(){return L(t,e,r)};callHook(n,[t,o]),nextFrame((function(){removeTransitionClass(t,e?h:l),addTransitionClass(t,e?b:p),hasExplicitCallback(n)||whenTransitionEnds(t,a,S,o)}))}};return extend$2(t,{onBeforeEnter:function(e){callHook(E,[e]),addTransitionClass(e,l),addTransitionClass(e,u)},onBeforeAppear:function(e){callHook(M,[e]),addTransitionClass(e,h),addTransitionClass(e,g)},onEnter:V(!1),onAppear:V(!0),onLeave:function(e,t){e._isLeaving=!0;var r=function(){return j(e,t)};addTransitionClass(e,y),forceReflow(),addTransitionClass(e,w),nextFrame((function(){e._isLeaving&&(removeTransitionClass(e,y),addTransitionClass(e,k),hasExplicitCallback(I)||whenTransitionEnds(e,a,B,r))})),callHook(I,[e,r])},onEnterCancelled:function(e){L(e,!1),callHook(P,[e])},onAppearCancelled:function(e){L(e,!0),callHook(F,[e])},onLeaveCancelled:function(e){j(e),callHook(N,[e])}})}function normalizeDuration(e){if(null==e)return null;if(isObject$6(e))return[NumberOf(e.enter),NumberOf(e.leave)];var t=NumberOf(e);return[t,t]}function NumberOf(e){return toNumber$3(e)}function addTransitionClass(e,t){t.split(/\s+/).forEach((function(t){return t&&e.classList.add(t)})),(e._vtc||(e._vtc=new Set)).add(t)}function removeTransitionClass(e,t){t.split(/\s+/).forEach((function(t){return t&&e.classList.remove(t)}));var r=e._vtc;r&&(r.delete(t),r.size||(e._vtc=void 0))}function nextFrame(e){requestAnimationFrame((function(){requestAnimationFrame(e)}))}var endId=0;function whenTransitionEnds(e,t,r,n){var o=e._endId=++endId,a=function(){o===e._endId&&n()};if(r)return setTimeout(a,r);var i=getTransitionInfo(e,t),s=i.type,l=i.timeout,c=i.propCount;if(!s)return n();var u=s+"end",d=0,p=function(){e.removeEventListener(u,f),a()},f=function(t){t.target===e&&++d>=c&&p()};setTimeout((function(){d<c&&p()}),l+1),e.addEventListener(u,f)}function getTransitionInfo(e,t){var r=window.getComputedStyle(e),n=function(e){return(r[e]||"").split(", ")},o=n("".concat(TRANSITION,"Delay")),a=n("".concat(TRANSITION,"Duration")),i=getTimeout(o,a),s=n("".concat(ANIMATION,"Delay")),l=n("".concat(ANIMATION,"Duration")),c=getTimeout(s,l),u=null,d=0,p=0;return t===TRANSITION?i>0&&(u=TRANSITION,d=i,p=a.length):t===ANIMATION?c>0&&(u=ANIMATION,d=c,p=l.length):p=(u=(d=Math.max(i,c))>0?i>c?TRANSITION:ANIMATION:null)?u===TRANSITION?a.length:l.length:0,{type:u,timeout:d,propCount:p,hasTransform:u===TRANSITION&&/\b(transform|all)(,|$)/.test(n("".concat(TRANSITION,"Property")).toString())}}function getTimeout(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(Math,_toConsumableArray2(t.map((function(t,r){return toMs(t)+toMs(e[r])}))))}function toMs(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function forceReflow(){return document.body.offsetHeight}var positionMap=new WeakMap,newPositionMap=new WeakMap,TransitionGroupImpl={name:"TransitionGroup",props:extend$2({},TransitionPropsValidators,{tag:String,moveClass:String}),setup:function(e,t){var r,n,o=t.slots,a=getCurrentInstance(),i=useTransitionState();return onUpdated((function(){if(r.length){var t=e.moveClass||"".concat(e.name||"v","-move");if(hasCSSTransform(r[0].el,a.vnode.el,t)){r.forEach(callPendingCbs),r.forEach(recordPosition);var n=r.filter(applyTranslation);forceReflow(),n.forEach((function(e){var r=e.el,n=r.style;addTransitionClass(r,t),n.transform=n.webkitTransform=n.transitionDuration="";var o=r._moveCb=function(e){e&&e.target!==r||e&&!/transform$/.test(e.propertyName)||(r.removeEventListener("transitionend",o),r._moveCb=null,removeTransitionClass(r,t))};r.addEventListener("transitionend",o)}))}}})),function(){var t=toRaw(e),s=resolveTransitionProps(t),l=t.tag||Fragment;r=n,n=o.default?getTransitionRawChildren(o.default()):[];for(var c=0;c<n.length;c++){var u=n[c];null!=u.key&&setTransitionHooks(u,resolveTransitionHooks(u,s,i,a))}if(r)for(var d=0;d<r.length;d++){var p=r[d];setTransitionHooks(p,resolveTransitionHooks(p,s,i,a)),positionMap.set(p,p.el.getBoundingClientRect())}return createVNode(l,null,n)}}},removeMode=function(e){return delete e.mode};TransitionGroupImpl.props;var TransitionGroup=TransitionGroupImpl;function callPendingCbs(e){var t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function recordPosition(e){newPositionMap.set(e,e.el.getBoundingClientRect())}function applyTranslation(e){var t=positionMap.get(e),r=newPositionMap.get(e),n=t.left-r.left,o=t.top-r.top;if(n||o){var a=e.el.style;return a.transform=a.webkitTransform="translate(".concat(n,"px,").concat(o,"px)"),a.transitionDuration="0s",e}}function hasCSSTransform(e,t,r){var n=e.cloneNode();e._vtc&&e._vtc.forEach((function(e){e.split(/\s+/).forEach((function(e){return e&&n.classList.remove(e)}))})),r.split(/\s+/).forEach((function(e){return e&&n.classList.add(e)})),n.style.display="none";var o=1===t.nodeType?t:t.parentNode;o.appendChild(n);var a=getTransitionInfo(n).hasTransform;return o.removeChild(n),a}var keyNames={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},withKeys=function(e,t){return function(r){if("key"in r){var n=hyphenate(r.key);return t.some((function(e){return e===n||keyNames[e]===n}))?e(r):void 0}}},vShow={beforeMount:function(e,t,r){var n=t.value,o=r.transition;e._vod="none"===e.style.display?"":e.style.display,o&&n?o.beforeEnter(e):setDisplay(e,n)},mounted:function(e,t,r){var n=t.value,o=r.transition;o&&n&&o.enter(e)},updated:function(e,t,r){var n=t.value,o=t.oldValue,a=r.transition;!n!=!o&&(a?n?(a.beforeEnter(e),setDisplay(e,!0),a.enter(e)):a.leave(e,(function(){setDisplay(e,!1)})):setDisplay(e,n))},beforeUnmount:function(e,t){setDisplay(e,t.value)}};function setDisplay(e,t){e.style.display=t?e._vod:"none"}var rendererOptions=extend$2({patchProp:patchProp},nodeOps),renderer$1;function ensureRenderer(){return renderer$1||(renderer$1=createRenderer(rendererOptions))}var createApp=function(){var e,t=(e=ensureRenderer()).createApp.apply(e,arguments),r=t.mount;return t.mount=function(e){var n=normalizeContainer(e);if(n){var o=t._component;isFunction$5(o)||o.render||o.template||(o.template=n.innerHTML),n.innerHTML="";var a=r(n,!1,n instanceof SVGElement);return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),a}},t};function normalizeContainer(e){return isString$2(e)?document.querySelector(e):e}
  2. /*!
  3. * vue-router v4.2.4
  4. * (c) 2023 Eduardo San Martin Morote
  5. * @license MIT
  6. */var isBrowser$3="undefined"!=typeof window;function isESModule(e){return e.__esModule||"Module"===e[Symbol.toStringTag]}var assign$2=Object.assign;function applyToParams(e,t){var r={};for(var n in t){var o=t[n];r[n]=isArray$8(o)?o.map(e):e(o)}return r}var noop$3=function(){},isArray$8=Array.isArray,TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=function(e){return e.replace(TRAILING_SLASH_RE,"")},NavigationType,NavigationDirection;function parseURL(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"/",o={},a="",i="",s=t.indexOf("#"),l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=e(a=t.slice(l+1,s>-1?s:t.length))),s>-1&&(r=r||t.slice(0,s),i=t.slice(s,t.length)),{fullPath:(r=resolveRelativePath(null!=r?r:t,n))+(a&&"?")+a+i,path:r,query:o,hash:i}}function stringifyURL(e,t){var r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function stripBase(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function isSameRouteLocation(e,t,r){var n=t.matched.length-1,o=r.matched.length-1;return n>-1&&n===o&&isSameRouteRecord(t.matched[n],r.matched[o])&&isSameRouteLocationParams(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function isSameRouteRecord(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function isSameRouteLocationParams(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var r in e)if(!isSameRouteLocationParamsValue(e[r],t[r]))return!1;return!0}function isSameRouteLocationParamsValue(e,t){return isArray$8(e)?isEquivalentArray(e,t):isArray$8(t)?isEquivalentArray(t,e):e===t}function isEquivalentArray(e,t){return isArray$8(t)?e.length===t.length&&e.every((function(e,r){return e===t[r]})):1===e.length&&e[0]===t}function resolveRelativePath(e,t){if(e.startsWith("/"))return e;if(!e)return t;var r=t.split("/"),n=e.split("/"),o=n[n.length-1];".."!==o&&"."!==o||n.push("");var a,i,s=r.length-1;for(a=0;a<n.length;a++)if("."!==(i=n[a])){if(".."!==i)break;s>1&&s--}return r.slice(0,s).join("/")+"/"+n.slice(a-(a===n.length?1:0)).join("/")}function normalizeBase(e){if(!e)if(isBrowser$3){var t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),removeTrailingSlash(e)}!function(e){e.pop="pop",e.push="push"}(NavigationType||(NavigationType={})),function(e){e.back="back",e.forward="forward",e.unknown=""}(NavigationDirection||(NavigationDirection={}));var BEFORE_HASH_RE=/^[^#]+#/;function createHref(e,t){return e.replace(BEFORE_HASH_RE,"#")+t}function getElementPosition(e,t){var r=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-r.left-(t.left||0),top:n.top-r.top-(t.top||0)}}var computeScrollPosition=function(){return{left:window.pageXOffset,top:window.pageYOffset}};function scrollToPosition(e){var t;if("el"in e){var r=e.el,n="string"==typeof r&&r.startsWith("#"),o="string"==typeof r?n?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!o)return;t=getElementPosition(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.pageXOffset,null!=t.top?t.top:window.pageYOffset)}function getScrollKey(e,t){return(history.state?history.state.position-t:-1)+e}var scrollPositions=new Map;function saveScrollPosition(e,t){scrollPositions.set(e,t)}function getSavedScrollPosition(e){var t=scrollPositions.get(e);return scrollPositions.delete(e),t}var createBaseLocation=function(){return location.protocol+"//"+location.host};function createCurrentLocation(e,t){var r=t.pathname,n=t.search,o=t.hash,a=e.indexOf("#");if(a>-1){var i=o.includes(e.slice(a))?e.slice(a).length:1,s=o.slice(i);return"/"!==s[0]&&(s="/"+s),stripBase(s,"")}return stripBase(r,e)+n+o}function useHistoryListeners(e,t,r,n){var o=[],a=[],i=null,s=function(a){var s=a.state,l=createCurrentLocation(e,location),c=r.value,u=t.value,d=0;if(s){if(r.value=l,t.value=s,i&&i===c)return void(i=null);d=u?s.position-u.position:0}else n(l);o.forEach((function(e){e(r.value,c,{delta:d,type:NavigationType.pop,direction:d?d>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})}))};function l(){var e=window.history;e.state&&e.replaceState(assign$2({},e.state,{scroll:computeScrollPosition()}),"")}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){i=r.value},listen:function(e){o.push(e);var t=function(){var t=o.indexOf(e);t>-1&&o.splice(t,1)};return a.push(t),t},destroy:function(){var e,t=_createForOfIteratorHelper(a);try{for(t.s();!(e=t.n()).done;){(0,e.value)()}}catch(r){t.e(r)}finally{t.f()}a=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",l)}}}function buildState(e,t,r){var n=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return{back:e,current:t,forward:r,replaced:arguments.length>3&&void 0!==arguments[3]&&arguments[3],position:window.history.length,scroll:n?computeScrollPosition():null}}function useHistoryStateNavigation(e){var t=window,r=t.history,n=t.location,o={value:createCurrentLocation(e,n)},a={value:r.state};function i(t,o,i){var s=e.indexOf("#"),l=s>-1?(n.host&&document.querySelector("base")?e:e.slice(s))+t:createBaseLocation()+e+t;try{r[i?"replaceState":"pushState"](o,"",l),a.value=o}catch(c){console.error(c),n[i?"replace":"assign"](l)}}return a.value||i(o.value,{back:null,current:o.value,forward:null,position:r.length-1,replaced:!0,scroll:null},!0),{location:o,state:a,push:function(e,t){var n=assign$2({},a.value,r.state,{forward:e,scroll:computeScrollPosition()});i(n.current,n,!0),i(e,assign$2({},buildState(o.value,e,null),{position:n.position+1},t),!1),o.value=e},replace:function(e,t){i(e,assign$2({},r.state,buildState(a.value.back,e,a.value.forward,!0),t,{position:a.value.position}),!0),o.value=e}}}function createWebHistory(e){var t=useHistoryStateNavigation(e=normalizeBase(e)),r=useHistoryListeners(e,t.state,t.location,t.replace);var n=assign$2({location:"",base:e,go:function(e){!(arguments.length>1&&void 0!==arguments[1])||arguments[1]||r.pauseListeners(),history.go(e)},createHref:createHref.bind(null,e)},t,r);return Object.defineProperty(n,"location",{enumerable:!0,get:function(){return t.location.value}}),Object.defineProperty(n,"state",{enumerable:!0,get:function(){return t.state.value}}),n}function createWebHashHistory(e){return(e=location.host?e||location.pathname+location.search:"").includes("#")||(e+="#"),createWebHistory(e)}function isRouteLocation(e){return"string"==typeof e||e&&"object"===_typeof2(e)}function isRouteName(e){return"string"==typeof e||"symbol"===_typeof2(e)}var START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},NavigationFailureSymbol=Symbol(""),NavigationFailureType;function createRouterError(e,t){return assign$2(new Error,_defineProperty2({type:e},NavigationFailureSymbol,!0),t)}function isNavigationFailure(e,t){return e instanceof Error&&NavigationFailureSymbol in e&&(null==t||!!(e.type&t))}!function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"}(NavigationFailureType||(NavigationFailureType={}));var BASE_PARAM_PATTERN="[^/]+?",BASE_PATH_PARSER_OPTIONS={sensitive:!1,strict:!1,start:!0,end:!0},REGEX_CHARS_RE=/[.+*?^${}()[\]/\\]/g;function tokensToParser(e,t){var r,n=assign$2({},BASE_PATH_PARSER_OPTIONS,t),o=[],a=n.start?"^":"",i=[],s=_createForOfIteratorHelper(e);try{for(s.s();!(r=s.n()).done;){var l=r.value,c=l.length?[]:[90];n.strict&&!l.length&&(a+="/");for(var u=0;u<l.length;u++){var d=l[u],p=40+(n.sensitive?.25:0);if(0===d.type)u||(a+="/"),a+=d.value.replace(REGEX_CHARS_RE,"\\$&"),p+=40;else if(1===d.type){var f=d.value,h=d.repeatable,v=d.optional,g=d.regexp;i.push({name:f,repeatable:h,optional:v});var m=g||BASE_PARAM_PATTERN;if(m!==BASE_PARAM_PATTERN){p+=10;try{new RegExp("(".concat(m,")"))}catch(x){throw new Error('Invalid custom RegExp for param "'.concat(f,'" (').concat(m,"): ")+x.message)}}var b=h?"((?:".concat(m,")(?:/(?:").concat(m,"))*)"):"(".concat(m,")");u||(b=v&&l.length<2?"(?:/".concat(b,")"):"/"+b),v&&(b+="?"),a+=b,p+=20,v&&(p+=-8),h&&(p+=-20),".*"===m&&(p+=-50)}c.push(p)}o.push(c)}}catch(x){s.e(x)}finally{s.f()}if(n.strict&&n.end){var A=o.length-1;o[A][o[A].length-1]+=.7000000000000001}n.strict||(a+="/?"),n.end?a+="$":n.strict&&(a+="(?:/|$)");var y=new RegExp(a,n.sensitive?"":"i");return{re:y,score:o,keys:i,parse:function(e){var t=e.match(y),r={};if(!t)return null;for(var n=1;n<t.length;n++){var o=t[n]||"",a=i[n-1];r[a.name]=o&&a.repeatable?o.split("/"):o}return r},stringify:function(t){var r,n="",o=!1,a=_createForOfIteratorHelper(e);try{for(a.s();!(r=a.n()).done;){var i=r.value;o&&n.endsWith("/")||(n+="/"),o=!1;var s,l=_createForOfIteratorHelper(i);try{for(l.s();!(s=l.n()).done;){var c=s.value;if(0===c.type)n+=c.value;else if(1===c.type){var u=c.value,d=c.repeatable,p=c.optional,f=u in t?t[u]:"";if(isArray$8(f)&&!d)throw new Error('Provided param "'.concat(u,'" is an array but it is not repeatable (* or + modifiers)'));var h=isArray$8(f)?f.join("/"):f;if(!h){if(!p)throw new Error('Missing required param "'.concat(u,'"'));i.length<2&&(n.endsWith("/")?n=n.slice(0,-1):o=!0)}n+=h}}}catch(x){l.e(x)}finally{l.f()}}}catch(x){a.e(x)}finally{a.f()}return n||"/"}}}function compareScoreArray(e,t){for(var r=0;r<e.length&&r<t.length;){var n=t[r]-e[r];if(n)return n;r++}return e.length<t.length?1===e.length&&80===e[0]?-1:1:e.length>t.length?1===t.length&&80===t[0]?1:-1:0}function comparePathParserScore(e,t){for(var r=0,n=e.score,o=t.score;r<n.length&&r<o.length;){var a=compareScoreArray(n[r],o[r]);if(a)return a;r++}if(1===Math.abs(o.length-n.length)){if(isLastScoreNegative(n))return 1;if(isLastScoreNegative(o))return-1}return o.length-n.length}function isLastScoreNegative(e){var t=e[e.length-1];return e.length>0&&t[t.length-1]<0}var ROOT_TOKEN={type:0,value:""},VALID_PARAM_RE=/[a-zA-Z0-9_]/;function tokenizePath(e){if(!e)return[[]];if("/"===e)return[[ROOT_TOKEN]];if(!e.startsWith("/"))throw new Error('Invalid path "'.concat(e,'"'));function t(e){throw new Error("ERR (".concat(n,')/"').concat(c,'": ').concat(e))}var r,n=0,o=n,a=[];function i(){r&&a.push(r),r=[]}var s,l=0,c="",u="";function d(){c&&(0===n?r.push({type:0,value:c}):1===n||2===n||3===n?(r.length>1&&("*"===s||"+"===s)&&t("A repeatable param (".concat(c,") must be alone in its segment. eg: '/:ids+.")),r.push({type:1,value:c,regexp:u,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),c="")}function p(){c+=s}for(;l<e.length;)if("\\"!==(s=e[l++])||2===n)switch(n){case 0:"/"===s?(c&&d(),i()):":"===s?(d(),n=1):p();break;case 4:p(),n=o;break;case 1:"("===s?n=2:VALID_PARAM_RE.test(s)?p():(d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--);break;case 2:")"===s?"\\"==u[u.length-1]?u=u.slice(0,-1)+s:n=3:u+=s;break;case 3:d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--,u="";break;default:t("Unknown state")}else o=n,n=4;return 2===n&&t('Unfinished custom RegExp for param "'.concat(c,'"')),d(),i(),a}function createRouteRecordMatcher(e,t,r){var n=tokensToParser(tokenizePath(e.path),r),o=assign$2(n,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function createRouterMatcher(e,t){var r=[],n=new Map;function o(e,r,n){var s=!n,l=normalizeRouteRecord(e);l.aliasOf=n&&n.record;var c,u,d=mergeOptions(t,e),p=[l];if("alias"in e){var f,h=_createForOfIteratorHelper("string"==typeof e.alias?[e.alias]:e.alias);try{for(h.s();!(f=h.n()).done;){var v=f.value;p.push(assign$2({},l,{components:n?n.record.components:l.components,path:v,aliasOf:n?n.record:l}))}}catch(k){h.e(k)}finally{h.f()}}for(var g=0,m=p;g<m.length;g++){var b=m[g],A=b.path;if(r&&"/"!==A[0]){var y=r.record.path,x="/"===y[y.length-1]?"":"/";b.path=r.record.path+(A&&x+A)}if(c=createRouteRecordMatcher(b,r,d),n?n.alias.push(c):((u=u||c)!==c&&u.alias.push(c),s&&e.name&&!isAliasRecord(c)&&a(e.name)),l.children)for(var w=l.children,C=0;C<w.length;C++)o(w[C],c,n&&n.children[C]);n=n||c,(c.record.components&&Object.keys(c.record.components).length||c.record.name||c.record.redirect)&&i(c)}return u?function(){a(u)}:noop$3}function a(e){if(isRouteName(e)){var t=n.get(e);t&&(n.delete(e),r.splice(r.indexOf(t),1),t.children.forEach(a),t.alias.forEach(a))}else{var o=r.indexOf(e);o>-1&&(r.splice(o,1),e.record.name&&n.delete(e.record.name),e.children.forEach(a),e.alias.forEach(a))}}function i(e){for(var t=0;t<r.length&&comparePathParserScore(e,r[t])>=0&&(e.record.path!==r[t].record.path||!isRecordChildOf(e,r[t]));)t++;r.splice(t,0,e),e.record.name&&!isAliasRecord(e)&&n.set(e.record.name,e)}return t=mergeOptions({strict:!1,end:!0,sensitive:!1},t),e.forEach((function(e){return o(e)})),{addRoute:o,resolve:function(e,t){var o,a,i,s={};if("name"in e&&e.name){if(!(o=n.get(e.name)))throw createRouterError(1,{location:e});i=o.record.name,s=assign$2(paramsFromLocation(t.params,o.keys.filter((function(e){return!e.optional})).map((function(e){return e.name}))),e.params&&paramsFromLocation(e.params,o.keys.map((function(e){return e.name})))),a=o.stringify(s)}else if("path"in e)a=e.path,o=r.find((function(e){return e.re.test(a)})),o&&(s=o.parse(a),i=o.record.name);else{if(o=t.name?n.get(t.name):r.find((function(e){return e.re.test(t.path)})),!o)throw createRouterError(1,{location:e,currentLocation:t});i=o.record.name,s=assign$2({},t.params,e.params),a=o.stringify(s)}for(var l=[],c=o;c;)l.unshift(c.record),c=c.parent;return{name:i,path:a,params:s,matched:l,meta:mergeMetaFields(l)}},removeRoute:a,getRoutes:function(){return r},getRecordMatcher:function(e){return n.get(e)}}}function paramsFromLocation(e,t){var r,n={},o=_createForOfIteratorHelper(t);try{for(o.s();!(r=o.n()).done;){var a=r.value;a in e&&(n[a]=e[a])}}catch(i){o.e(i)}finally{o.f()}return n}function normalizeRouteRecord(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:normalizeRecordProps(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function normalizeRecordProps(e){var t={},r=e.props||!1;if("component"in e)t.default=r;else for(var n in e.components)t[n]="object"===_typeof2(r)?r[n]:r;return t}function isAliasRecord(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function mergeMetaFields(e){return e.reduce((function(e,t){return assign$2(e,t.meta)}),{})}function mergeOptions(e,t){var r={};for(var n in e)r[n]=n in t?t[n]:e[n];return r}function isRecordChildOf(e,t){return t.children.some((function(t){return t===e||isRecordChildOf(e,t)}))}var HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_BRACKET_OPEN_RE=/%5B/g,ENC_BRACKET_CLOSE_RE=/%5D/g,ENC_CARET_RE=/%5E/g,ENC_BACKTICK_RE=/%60/g,ENC_CURLY_OPEN_RE=/%7B/g,ENC_PIPE_RE=/%7C/g,ENC_CURLY_CLOSE_RE=/%7D/g,ENC_SPACE_RE=/%20/g;function commonEncode(e){return encodeURI(""+e).replace(ENC_PIPE_RE,"|").replace(ENC_BRACKET_OPEN_RE,"[").replace(ENC_BRACKET_CLOSE_RE,"]")}function encodeHash(e){return commonEncode(e).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(e){return commonEncode(e).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryKey(e){return encodeQueryValue(e).replace(EQUAL_RE,"%3D")}function encodePath(e){return commonEncode(e).replace(HASH_RE,"%23").replace(IM_RE,"%3F")}function encodeParam(e){return null==e?"":encodePath(e).replace(SLASH_RE,"%2F")}function decode$4(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function parseQuery(e){var t={};if(""===e||"?"===e)return t;for(var r=("?"===e[0]?e.slice(1):e).split("&"),n=0;n<r.length;++n){var o=r[n].replace(PLUS_RE," "),a=o.indexOf("="),i=decode$4(a<0?o:o.slice(0,a)),s=a<0?null:decode$4(o.slice(a+1));if(i in t){var l=t[i];isArray$8(l)||(l=t[i]=[l]),l.push(s)}else t[i]=s}return t}function stringifyQuery(e){var t="",r=function(r){var n=e[r];if(r=encodeQueryKey(r),null==n)return void 0!==n&&(t+=(t.length?"&":"")+r),1;var o=isArray$8(n)?n.map((function(e){return e&&encodeQueryValue(e)})):[n&&encodeQueryValue(n)];o.forEach((function(e){void 0!==e&&(t+=(t.length?"&":"")+r,null!=e&&(t+="="+e))}))};for(var n in e)r(n);return t}function normalizeQuery(e){var t={};for(var r in e){var n=e[r];void 0!==n&&(t[r]=isArray$8(n)?n.map((function(e){return null==e?null:""+e})):null==n?n:""+n)}return t}var matchedRouteKey=Symbol(""),viewDepthKey=Symbol(""),routerKey=Symbol(""),routeLocationKey=Symbol(""),routerViewLocationKey=Symbol("");function useCallbacks(){var e=[];return{add:function(t){return e.push(t),function(){var r=e.indexOf(t);r>-1&&e.splice(r,1)}},list:function(){return e.slice()},reset:function(){e=[]}}}function guardToPromiseFn(e,t,r,n,o){var a=n&&(n.enterCallbacks[o]=n.enterCallbacks[o]||[]);return function(){return new Promise((function(i,s){var l=function(e){!1===e?s(createRouterError(4,{from:r,to:t})):e instanceof Error?s(e):isRouteLocation(e)?s(createRouterError(2,{from:t,to:e})):(a&&n.enterCallbacks[o]===a&&"function"==typeof e&&a.push(e),i())},c=e.call(n&&n.instances[o],t,r,l),u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch((function(e){return s(e)}))}))}}function extractComponentsGuards(e,t,r,n){var o,a=[],i=_createForOfIteratorHelper(e);try{var s=function(){var e=o.value,i=function(o){var i=e.components[o];if("beforeRouteEnter"!==t&&!e.instances[o])return 1;if(isRouteComponent(i)){var s=(i.__vccOpts||i)[t];s&&a.push(guardToPromiseFn(s,r,n,e,o))}else{var l=i();a.push((function(){return l.then((function(a){if(!a)return Promise.reject(new Error("Couldn't resolve component \"".concat(o,'" at "').concat(e.path,'"')));var i=isESModule(a)?a.default:a;e.components[o]=i;var s=(i.__vccOpts||i)[t];return s&&guardToPromiseFn(s,r,n,e,o)()}))}))}};for(var s in e.components)i(s)};for(i.s();!(o=i.n()).done;)s()}catch(l){i.e(l)}finally{i.f()}return a}function isRouteComponent(e){return"object"===_typeof2(e)||"displayName"in e||"props"in e||"__vccOpts"in e}function useLink(e){var t=inject(routerKey),r=inject(routeLocationKey),n=computed((function(){return t.resolve(unref(e.to))})),o=computed((function(){var e=n.value.matched,t=e.length,o=e[t-1],a=r.matched;if(!o||!a.length)return-1;var i=a.findIndex(isSameRouteRecord.bind(null,o));if(i>-1)return i;var s=getOriginalPath(e[t-2]);return t>1&&getOriginalPath(o)===s&&a[a.length-1].path!==s?a.findIndex(isSameRouteRecord.bind(null,e[t-2])):i})),a=computed((function(){return o.value>-1&&includesParams(r.params,n.value.params)})),i=computed((function(){return o.value>-1&&o.value===r.matched.length-1&&isSameRouteLocationParams(r.params,n.value.params)}));return{route:n,href:computed((function(){return n.value.href})),isActive:a,isExactActive:i,navigate:function(){return guardEvent(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})?t[unref(e.replace)?"replace":"push"](unref(e.to)).catch(noop$3):Promise.resolve()}}}var RouterLinkImpl=defineComponent({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:useLink,setup:function(e,t){var r=t.slots,n=reactive(useLink(e)),o=inject(routerKey).options,a=computed((function(){var t;return _defineProperty2(t={},getLinkClass(e.activeClass,o.linkActiveClass,"router-link-active"),n.isActive),_defineProperty2(t,getLinkClass(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active"),n.isExactActive),t}));return function(){var t=r.default&&r.default(n);return e.custom?t:h$1("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:a.value},t)}}}),RouterLink=RouterLinkImpl;function guardEvent(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function includesParams(e,t){var r,n=function(){var r=t[o],n=e[o];if("string"==typeof r){if(r!==n)return{v:!1}}else if(!isArray$8(n)||n.length!==r.length||r.some((function(e,t){return e!==n[t]})))return{v:!1}};for(var o in t)if(r=n())return r.v;return!0}function getOriginalPath(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}var getLinkClass=function(e,t,r){return null!=e?e:null!=t?t:r},RouterViewImpl=defineComponent({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup:function(e,t){var r=t.attrs,n=t.slots,o=inject(routerViewLocationKey),a=computed((function(){return e.route||o.value})),i=inject(viewDepthKey,0),s=computed((function(){for(var e,t=unref(i),r=a.value.matched;(e=r[t])&&!e.components;)t++;return t})),l=computed((function(){return a.value.matched[s.value]}));provide(viewDepthKey,computed((function(){return s.value+1}))),provide(matchedRouteKey,l),provide(routerViewLocationKey,a);var c=ref();return watch((function(){return[c.value,l.value,e.name]}),(function(e,t){var r=_slicedToArray(e,3),n=r[0],o=r[1],a=r[2],i=_slicedToArray(t,3),s=i[0],l=i[1];i[2];o&&(o.instances[a]=n,l&&l!==o&&n&&n===s&&(o.leaveGuards.size||(o.leaveGuards=l.leaveGuards),o.updateGuards.size||(o.updateGuards=l.updateGuards))),!n||!o||l&&isSameRouteRecord(o,l)&&s||(o.enterCallbacks[a]||[]).forEach((function(e){return e(n)}))}),{flush:"post"}),function(){var t=a.value,o=e.name,i=l.value,s=i&&i.components[o];if(!s)return normalizeSlot(n.default,{Component:s,route:t});var u=i.props[o],d=u?!0===u?t.params:"function"==typeof u?u(t):u:null,p=h$1(s,assign$2({},d,r,{onVnodeUnmounted:function(e){e.component.isUnmounted&&(i.instances[o]=null)},ref:c}));return normalizeSlot(n.default,{Component:p,route:t})||p}}});function normalizeSlot(e,t){if(!e)return null;var r=e(t);return 1===r.length?r[0]:r}var RouterView=RouterViewImpl;function createRouter(e){var t=createRouterMatcher(e.routes,e),r=e.parseQuery||parseQuery,n=e.stringifyQuery||stringifyQuery,o=e.history,a=useCallbacks(),i=useCallbacks(),s=useCallbacks(),l=shallowRef(START_LOCATION_NORMALIZED),c=START_LOCATION_NORMALIZED;isBrowser$3&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");var u,d=applyToParams.bind(null,(function(e){return""+e})),p=applyToParams.bind(null,encodeParam),f=applyToParams.bind(null,decode$4);function h(e,a){if(a=assign$2({},a||l.value),"string"==typeof e){var i=parseURL(r,e,a.path),s=t.resolve({path:i.path},a),c=o.createHref(i.fullPath);return assign$2(i,s,{params:f(s.params),hash:decode$4(i.hash),redirectedFrom:void 0,href:c})}var u;if("path"in e)u=assign$2({},e,{path:parseURL(r,e.path,a.path).path});else{var h=assign$2({},e.params);for(var v in h)null==h[v]&&delete h[v];u=assign$2({},e,{params:p(h)}),a.params=p(a.params)}var g=t.resolve(u,a),m=e.hash||"";g.params=d(f(g.params));var b=stringifyURL(n,assign$2({},e,{hash:encodeHash(m),path:g.path})),A=o.createHref(b);return assign$2({fullPath:b,hash:m,query:n===stringifyQuery?normalizeQuery(e.query):e.query||{}},g,{redirectedFrom:void 0,href:A})}function v(e){return"string"==typeof e?parseURL(r,e,l.value.path):assign$2({},e)}function g(e,t){if(c!==e)return createRouterError(8,{from:t,to:e})}function m(e){return A(e)}function b(e){var t=e.matched[e.matched.length-1];if(t&&t.redirect){var r=t.redirect,n="function"==typeof r?r(e):r;return"string"==typeof n&&((n=n.includes("?")||n.includes("#")?n=v(n):{path:n}).params={}),assign$2({query:e.query,hash:e.hash,params:"path"in n?{}:e.params},n)}}function A(e,t){var r=c=h(e),o=l.value,a=e.state,i=e.force,s=!0===e.replace,u=b(r);if(u)return A(assign$2(v(u),{state:"object"===_typeof2(u)?assign$2({},a,u.state):a,force:i,replace:s}),t||r);var d,p=r;return p.redirectedFrom=t,!i&&isSameRouteLocation(n,o,r)&&(d=createRouterError(16,{to:p,from:o}),P(o,o,!0,!1)),(d?Promise.resolve(d):w(p,o)).catch((function(e){return isNavigationFailure(e)?isNavigationFailure(e,2)?e:T(e):E(e,p,o)})).then((function(e){if(e){if(isNavigationFailure(e,2))return A(assign$2({replace:s},v(e.to),{state:"object"===_typeof2(e.to)?assign$2({},a,e.to.state):a,force:i}),t||p)}else e=k(p,o,!0,s,a);return C(p,o,e),e}))}function y(e,t){var r=g(e,t);return r?Promise.reject(r):Promise.resolve()}function x(e){var t=z.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){var r,n=_slicedToArray(extractChangingRecords(e,t),3),o=n[0],s=n[1],l=n[2];r=extractComponentsGuards(o.reverse(),"beforeRouteLeave",e,t);var c,u=_createForOfIteratorHelper(o);try{for(u.s();!(c=u.n()).done;){c.value.leaveGuards.forEach((function(n){r.push(guardToPromiseFn(n,e,t))}))}}catch(p){u.e(p)}finally{u.f()}var d=y.bind(null,e,t);return r.push(d),R(r).then((function(){r=[];var n,o=_createForOfIteratorHelper(a.list());try{for(o.s();!(n=o.n()).done;){var i=n.value;r.push(guardToPromiseFn(i,e,t))}}catch(p){o.e(p)}finally{o.f()}return r.push(d),R(r)})).then((function(){r=extractComponentsGuards(s,"beforeRouteUpdate",e,t);var n,o=_createForOfIteratorHelper(s);try{for(o.s();!(n=o.n()).done;){n.value.updateGuards.forEach((function(n){r.push(guardToPromiseFn(n,e,t))}))}}catch(p){o.e(p)}finally{o.f()}return r.push(d),R(r)})).then((function(){r=[];var n,o=_createForOfIteratorHelper(l);try{for(o.s();!(n=o.n()).done;){var a=n.value;if(a.beforeEnter)if(isArray$8(a.beforeEnter)){var i,s=_createForOfIteratorHelper(a.beforeEnter);try{for(s.s();!(i=s.n()).done;){var c=i.value;r.push(guardToPromiseFn(c,e,t))}}catch(p){s.e(p)}finally{s.f()}}else r.push(guardToPromiseFn(a.beforeEnter,e,t))}}catch(p){o.e(p)}finally{o.f()}return r.push(d),R(r)})).then((function(){return e.matched.forEach((function(e){return e.enterCallbacks={}})),(r=extractComponentsGuards(l,"beforeRouteEnter",e,t)).push(d),R(r)})).then((function(){r=[];var n,o=_createForOfIteratorHelper(i.list());try{for(o.s();!(n=o.n()).done;){var a=n.value;r.push(guardToPromiseFn(a,e,t))}}catch(p){o.e(p)}finally{o.f()}return r.push(d),R(r)})).catch((function(e){return isNavigationFailure(e,8)?e:Promise.reject(e)}))}function C(e,t,r){s.list().forEach((function(n){return x((function(){return n(e,t,r)}))}))}function k(e,t,r,n,a){var i=g(e,t);if(i)return i;var s=t===START_LOCATION_NORMALIZED,c=isBrowser$3?history.state:{};r&&(n||s?o.replace(e.fullPath,assign$2({scroll:s&&c&&c.scroll},a)):o.push(e.fullPath,a)),l.value=e,P(e,t,r,s),T()}var _,S=useCallbacks(),B=useCallbacks();function E(e,t,r){T(e);var n=B.list();return n.length?n.forEach((function(n){return n(e,t,r)})):console.error(e),Promise.reject(e)}function T(e){return _||(_=!e,u||(u=o.listen((function(e,t,r){if(M.listening){var n=h(e),a=b(n);if(a)A(assign$2(a,{replace:!0}),n).catch(noop$3);else{c=n;var i=l.value;isBrowser$3&&saveScrollPosition(getScrollKey(i.fullPath,r.delta),computeScrollPosition()),w(n,i).catch((function(e){return isNavigationFailure(e,12)?e:isNavigationFailure(e,2)?(A(e.to,n).then((function(e){isNavigationFailure(e,20)&&!r.delta&&r.type===NavigationType.pop&&o.go(-1,!1)})).catch(noop$3),Promise.reject()):(r.delta&&o.go(-r.delta,!1),E(e,n,i))})).then((function(e){(e=e||k(n,i,!1))&&(r.delta&&!isNavigationFailure(e,8)?o.go(-r.delta,!1):r.type===NavigationType.pop&&isNavigationFailure(e,20)&&o.go(-1,!1)),C(n,i,e)})).catch(noop$3)}}}))),S.list().forEach((function(t){var r=_slicedToArray(t,2),n=r[0],o=r[1];return e?o(e):n()})),S.reset()),e}function P(t,r,n,o){var a=e.scrollBehavior;if(!isBrowser$3||!a)return Promise.resolve();var i=!n&&getSavedScrollPosition(getScrollKey(t.fullPath,0))||(o||!n)&&history.state&&history.state.scroll||null;return nextTick().then((function(){return a(t,r,i)})).then((function(e){return e&&scrollToPosition(e)})).catch((function(e){return E(e,t,r)}))}var I,N=function(e){return o.go(e)},z=new Set,M={currentRoute:l,listening:!0,addRoute:function(e,r){var n,o;return isRouteName(e)?(n=t.getRecordMatcher(e),o=r):o=e,t.addRoute(o,n)},removeRoute:function(e){var r=t.getRecordMatcher(e);r&&t.removeRoute(r)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((function(e){return e.record}))},resolve:h,options:e,push:m,replace:function(e){return m(assign$2(v(e),{replace:!0}))},go:N,back:function(){return N(-1)},forward:function(){return N(1)},beforeEach:a.add,beforeResolve:i.add,afterEach:s.add,onError:B.add,isReady:function(){return _&&l.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise((function(e,t){S.add([e,t])}))},install:function(e){e.component("RouterLink",RouterLink),e.component("RouterView",RouterView),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:function(){return unref(l)}}),isBrowser$3&&!I&&l.value===START_LOCATION_NORMALIZED&&(I=!0,m(o.location).catch((function(e){})));var t={},r=function(e){Object.defineProperty(t,e,{get:function(){return l.value[e]},enumerable:!0})};for(var n in START_LOCATION_NORMALIZED)r(n);e.provide(routerKey,this),e.provide(routeLocationKey,shallowReactive(t)),e.provide(routerViewLocationKey,l);var a=e.unmount;z.add(e),e.unmount=function(){z.delete(e),z.size<1&&(c=START_LOCATION_NORMALIZED,u&&u(),u=null,l.value=START_LOCATION_NORMALIZED,I=!1,_=!1),a()}}};function R(e){return e.reduce((function(e,t){return e.then((function(){return x(t)}))}),Promise.resolve())}return M}function extractChangingRecords(e,t){for(var r=[],n=[],o=[],a=Math.max(t.matched.length,e.matched.length),i=function(){var a=t.matched[s];a&&(e.matched.find((function(e){return isSameRouteRecord(e,a)}))?n.push(a):r.push(a));var i=e.matched[s];i&&(t.matched.find((function(e){return isSameRouteRecord(e,i)}))||o.push(i))},s=0;s<a;s++)i();return[r,n,o]}function useRoute$1(){return inject(routeLocationKey)}function noop$2(){}var extend$1=Object.assign,inBrowser$3="undefined"!=typeof window,isObject$5=function(e){return null!==e&&"object"===_typeof2(e)},isDef=function(e){return null!=e},isFunction$4=function(e){return"function"==typeof e},isPromise=function(e){return isObject$5(e)&&isFunction$4(e.then)&&isFunction$4(e.catch)},isNumeric=function(e){return"number"==typeof e||/^\d+(\.\d+)?$/.test(e)},isIOS$1=function(){return!!inBrowser$3&&/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase())};function get$1(e,t){var r=t.split("."),n=e;return r.forEach((function(e){var t;n=isObject$5(n)&&null!=(t=n[e])?t:""})),n}function pick$1(e,t,r){return t.reduce((function(t,n){return r&&void 0===e[n]||(t[n]=e[n]),t}),{})}var unknownProp=null,numericProp=[Number,String],truthProp={type:Boolean,default:!0},makeNumberProp=function(e){return{type:Number,default:e}},makeStringProp=function(e){return{type:String,default:e}},inBrowser$2="undefined"!=typeof window,isWindow$1=function(e){return e===window},makeDOMRect=function(e,t){return{top:0,left:0,right:e,bottom:t,width:e,height:t}},useRect=function(e){var t=unref(e);if(isWindow$1(t)){var r=t.innerWidth,n=t.innerHeight;return makeDOMRect(r,n)}return(null==t?void 0:t.getBoundingClientRect)?t.getBoundingClientRect():makeDOMRect(0,0)};function useParent$1(e){var t=inject(e,null);if(t){var r=getCurrentInstance(),n=t.link,o=t.unlink,a=t.internalChildren;return n(r),onUnmounted((function(){return o(r)})),{parent:t,index:computed((function(){return a.indexOf(r)}))}}return{parent:null,index:ref(-1)}}function flattenVNodes(e){var t=[];return function e(r){Array.isArray(r)&&r.forEach((function(r){var n;isVNode(r)&&(t.push(r),(null==(n=r.component)?void 0:n.subTree)&&(t.push(r.component.subTree),e(r.component.subTree.children)),r.children&&e(r.children))}))}(e),t}var findVNodeIndex=function(e,t){var r=e.indexOf(t);return-1===r?e.findIndex((function(e){return void 0!==t.key&&null!==t.key&&e.type===t.type&&e.key===t.key})):r},width,height;function sortChildren(e,t,r){var n=flattenVNodes(e.subTree.children);r.sort((function(e,t){return findVNodeIndex(n,e.vnode)-findVNodeIndex(n,t.vnode)}));var o=r.map((function(e){return e.proxy}));t.sort((function(e,t){return o.indexOf(e)-o.indexOf(t)}))}function useChildren$1(e){var t=reactive([]),r=reactive([]),n=getCurrentInstance();return{children:t,linkChildren:function(o){provide(e,Object.assign({link:function(e){e.proxy&&(r.push(e),t.push(e.proxy),sortChildren(n,t,r))},unlink:function(e){var n=r.indexOf(e);t.splice(n,1),r.splice(n,1)},children:t,internalChildren:r},o))}}}function onMountedOrActivated(e){var t;onMounted((function(){e(),nextTick((function(){t=!0}))})),onActivated((function(){t&&e()}))}function useEventListener$1(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(inBrowser$2){var n,o,a=r.target,i=void 0===a?window:a,s=r.passive,l=void 0!==s&&s,c=r.capture,u=void 0!==c&&c,d=!1,p=function(r){if(!d){var o=unref(r);o&&!n&&(o.addEventListener(e,t,{capture:u,passive:l}),n=!0)}},f=function(r){if(!d){var o=unref(r);o&&n&&(o.removeEventListener(e,t,u),n=!1)}};return onUnmounted((function(){return f(i)})),onDeactivated((function(){return f(i)})),onMountedOrActivated((function(){return p(i)})),isRef(i)&&(o=watch(i,(function(e,t){f(t),p(e)}))),function(){null==o||o(),f(i),d=!0}}}function useWindowSize(){if(!width&&(width=ref(0),height=ref(0),inBrowser$2)){var e=function(){width.value=window.innerWidth,height.value=window.innerHeight};e(),window.addEventListener("resize",e,{passive:!0}),window.addEventListener("orientationchange",e,{passive:!0})}return{width:width,height:height}}var overflowScrollReg=/scroll|auto|overlay/i,defaultRoot=inBrowser$2?window:void 0,visibility;function isElement$2(e){return"HTML"!==e.tagName&&"BODY"!==e.tagName&&1===e.nodeType}function getScrollParent$1(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:defaultRoot,r=e;r&&r!==t&&isElement$2(r);){var n=window.getComputedStyle(r).overflowY;if(overflowScrollReg.test(n))return r;r=r.parentNode}return t}function usePageVisibility(){if(!visibility&&(visibility=ref("visible"),inBrowser$2)){var e=function(){visibility.value=document.hidden?"hidden":"visible"};e(),window.addEventListener("visibilitychange",e)}return visibility}isIOS$1();var stopPropagation=function(e){return e.stopPropagation()};function preventDefault(e,t){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault(),t&&stopPropagation(e)}var _useWindowSize=useWindowSize(),windowWidth=_useWindowSize.width,windowHeight=_useWindowSize.height;function addUnit(e){if(isDef(e))return isNumeric(e)?"".concat(e,"px"):String(e)}function getSizeStyle(e){if(isDef(e)){if(Array.isArray(e))return{width:addUnit(e[0]),height:addUnit(e[1])};var t=addUnit(e);return{width:t,height:t}}}function getZIndexStyle(e){var t={};return void 0!==e&&(t.zIndex=+e),t}var camelizeRE=/-(\w)/g,camelize=function(e){return e.replace(camelizeRE,(function(e,t){return t.toUpperCase()}))},hasOwnProperty$d=Object.prototype.hasOwnProperty;function assignKey(e,t,r){var n=t[r];isDef(n)&&(hasOwnProperty$d.call(e,r)&&isObject$5(n)?e[r]=deepAssign(Object(e[r]),n):e[r]=n)}function deepAssign(e,t){return Object.keys(t).forEach((function(r){assignKey(e,t,r)})),e}var stdin_default$d={name:"姓名",tel:"电话",save:"保存",clear:"清空",cancel:"取消",confirm:"确认",delete:"删除",loading:"加载中...",noCoupon:"暂无优惠券",nameEmpty:"请填写姓名",addContact:"添加联系人",telInvalid:"请填写正确的电话",vanCalendar:{end:"结束",start:"开始",title:"日期选择",weekdays:["日","一","二","三","四","五","六"],monthTitle:function(e,t){return"".concat(e,"年").concat(t,"月")},rangePrompt:function(e){return"最多选择 ".concat(e," 天")}},vanCascader:{select:"请选择"},vanPagination:{prev:"上一页",next:"下一页"},vanPullRefresh:{pulling:"下拉即可刷新...",loosing:"释放即可刷新..."},vanSubmitBar:{label:"合计:"},vanCoupon:{unlimited:"无门槛",discount:function(e){return"".concat(e,"折")},condition:function(e){return"满".concat(e,"元可用")}},vanCouponCell:{title:"优惠券",count:function(e){return"".concat(e,"张可用")}},vanCouponList:{exchange:"兑换",close:"不使用",enable:"可用",disabled:"不可用",placeholder:"输入优惠码"},vanAddressEdit:{area:"地区",areaEmpty:"请选择地区",addressEmpty:"请填写详细地址",addressDetail:"详细地址",defaultAddress:"设为默认收货地址"},vanAddressList:{add:"新增地址"}},lang=ref("zh-CN"),messages$1=reactive({"zh-CN":stdin_default$d}),Locale={messages:function(){return messages$1[lang.value]},use:function(e,t){lang.value=e,this.add(_defineProperty2({},e,t))},add:function(){deepAssign(messages$1,arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}},stdin_default$c=Locale;function createTranslate(e){var t=camelize(e)+".";return function(e){for(var r=stdin_default$c.messages(),n=get$1(r,t+e)||get$1(r,e),o=arguments.length,a=new Array(o>1?o-1:0),i=1;i<o;i++)a[i-1]=arguments[i];return isFunction$4(n)?n.apply(void 0,a):n}}function genBem(e,t){return t?"string"==typeof t?" ".concat(e,"--").concat(t):Array.isArray(t)?t.reduce((function(t,r){return t+genBem(e,r)}),""):Object.keys(t).reduce((function(r,n){return r+(t[n]?genBem(e,n):"")}),""):""}function createBEM(e){return function(t,r){return t&&"string"!=typeof t&&(r=t,t=""),t=t?"".concat(e,"__").concat(t):e,"".concat(t).concat(genBem(t,r))}}function createNamespace$1(e){var t="van-".concat(e);return[t,createBEM(t),createTranslate(t)]}var BORDER="van-hairline",BORDER_TOP="".concat(BORDER,"--top"),BORDER_LEFT="".concat(BORDER,"--left"),BORDER_BOTTOM="".concat(BORDER,"--bottom"),BORDER_SURROUND="".concat(BORDER,"--surround"),HAPTICS_FEEDBACK="van-haptics-feedback",TAP_OFFSET=5;function callInterceptor(e,t){var r=t.args,n=void 0===r?[]:r,o=t.done,a=t.canceled;if(e){var i=e.apply(null,n);isPromise(i)?i.then((function(e){e?o():a&&a()})).catch(noop$2):i?o():a&&a()}else o()}function withInstall$1(e){return e.install=function(t){var r=e.name;r&&(t.component(r,e),t.component(camelize("-".concat(r)),e))},e}var POPUP_TOGGLE_KEY=Symbol();function onPopupReopen(e){var t=inject(POPUP_TOGGLE_KEY,null);t&&watch(t,(function(t){t&&e()}))}var useHeight=function(e,t){var r=ref(),n=function(){r.value=useRect(e).height};return onMounted((function(){if(nextTick(n),t)for(var e=1;e<=3;e++)setTimeout(n,100*e)})),onPopupReopen((function(){return nextTick(n)})),watch([windowWidth,windowHeight],n),r};function usePlaceholder(e,t){var r=useHeight(e,!0);return function(e){return createVNode("div",{class:t("placeholder"),style:{height:r.value?"".concat(r.value,"px"):void 0}},[e()])}}var _createNamespace$=createNamespace$1("action-bar"),_createNamespace$2=_slicedToArray(_createNamespace$,2),name$c=_createNamespace$2[0],bem$c=_createNamespace$2[1],ACTION_BAR_KEY=Symbol(name$c),actionBarProps={placeholder:Boolean,safeAreaInsetBottom:truthProp},stdin_default$b=defineComponent({name:name$c,props:actionBarProps,setup:function(e,t){var r=t.slots,n=ref(),o=usePlaceholder(n,bem$c);(0,useChildren$1(ACTION_BAR_KEY).linkChildren)();var a=function(){var t;return createVNode("div",{ref:n,class:[bem$c(),{"van-safe-area-bottom":e.safeAreaInsetBottom}]},[null==(t=r.default)?void 0:t.call(r)])};return function(){return e.placeholder?o(a):a()}}}),ActionBar=withInstall$1(stdin_default$b);function useExpose(e){var t=getCurrentInstance();t&&extend$1(t.proxy,e)}var routeProps={to:[String,Object],url:String,replace:Boolean};function route(e){var t=e.to,r=e.url,n=e.replace,o=e.$router;t&&o?o[n?"replace":"push"](t):r&&(n?location.replace(r):location.href=r)}function useRoute(){var e=getCurrentInstance().proxy;return function(){return route(e)}}var _createNamespace$3=createNamespace$1("badge"),_createNamespace$4=_slicedToArray(_createNamespace$3,2),name$b=_createNamespace$4[0],bem$b=_createNamespace$4[1],badgeProps={dot:Boolean,max:numericProp,tag:makeStringProp("div"),color:String,offset:Array,content:numericProp,showZero:truthProp,position:makeStringProp("top-right")},stdin_default$a=defineComponent({name:name$b,props:badgeProps,setup:function(e,t){var r=t.slots,n=function(){if(r.content)return!0;var t=e.content,n=e.showZero;return isDef(t)&&""!==t&&(n||0!==t&&"0"!==t)},o=function(){var t=e.dot,o=e.max,a=e.content;if(!t&&n())return r.content?r.content():isDef(o)&&isNumeric(a)&&+a>+o?"".concat(o,"+"):a},a=function(e){return e.startsWith("-")?e.replace("-",""):"-".concat(e)},i=computed((function(){var t={background:e.color};if(e.offset){var n=_slicedToArray(e.offset,2),o=n[0],i=n[1],s=_slicedToArray(e.position.split("-"),2),l=s[0],c=s[1];r.default?(t[l]="number"==typeof i?addUnit("top"===l?i:-i):"top"===l?addUnit(i):a(i),t[c]="number"==typeof o?addUnit("left"===c?o:-o):"left"===c?addUnit(o):a(o)):(t.marginTop=addUnit(i),t.marginLeft=addUnit(o))}return t})),s=function(){if(n()||e.dot)return createVNode("div",{class:bem$b([e.position,{dot:e.dot,fixed:!!r.default}]),style:i.value},[o()])};return function(){if(r.default){var t=e.tag;return createVNode(t,{class:bem$b("wrapper")},{default:function(){return[r.default(),s()]}})}return s()}}}),Badge=withInstall$1(stdin_default$a),globalZIndex=2e3,useGlobalZIndex=function(){return++globalZIndex},_createNamespace$5=createNamespace$1("config-provider"),_createNamespace$6=_slicedToArray(_createNamespace$5,2),name$a=_createNamespace$6[0],bem$a=_createNamespace$6[1],CONFIG_PROVIDER_KEY=Symbol(name$a),_createNamespace$7=createNamespace$1("icon"),_createNamespace$8=_slicedToArray(_createNamespace$7,2),name$9=_createNamespace$8[0],bem$9=_createNamespace$8[1],isImage=function(e){return null==e?void 0:e.includes("/")},iconProps$1={dot:Boolean,tag:makeStringProp("i"),name:String,size:numericProp,badge:numericProp,color:String,badgeProps:Object,classPrefix:String},stdin_default$9=defineComponent({name:name$9,props:iconProps$1,setup:function(e,t){var r=t.slots,n=inject(CONFIG_PROVIDER_KEY,null),o=computed((function(){return e.classPrefix||(null==n?void 0:n.iconPrefix)||bem$9()}));return function(){var t=e.tag,n=e.dot,a=e.name,i=e.size,s=e.badge,l=e.color,c=isImage(a);return createVNode(Badge,mergeProps({dot:n,tag:t,class:[o.value,c?"":"".concat(o.value,"-").concat(a)],style:{color:l,fontSize:addUnit(i)},content:s},e.badgeProps),{default:function(){var e;return[null==(e=r.default)?void 0:e.call(r),c&&createVNode("img",{class:bem$9("image"),src:a},null)]}})}}}),Icon$1=withInstall$1(stdin_default$9),_createNamespace$9=createNamespace$1("loading"),_createNamespace$10=_slicedToArray(_createNamespace$9,2),name$8=_createNamespace$10[0],bem$8=_createNamespace$10[1],SpinIcon=Array(12).fill(null).map((function(e,t){return createVNode("i",{class:bem$8("line",String(t+1))},null)})),CircularIcon=createVNode("svg",{class:bem$8("circular"),viewBox:"25 25 50 50"},[createVNode("circle",{cx:"50",cy:"50",r:"20",fill:"none"},null)]),loadingProps={size:numericProp,type:makeStringProp("circular"),color:String,vertical:Boolean,textSize:numericProp,textColor:String},stdin_default$8=defineComponent({name:name$8,props:loadingProps,setup:function(e,t){var r=t.slots,n=computed((function(){return extend$1({color:e.color},getSizeStyle(e.size))})),o=function(){var t;if(r.default)return createVNode("span",{class:bem$8("text"),style:{fontSize:addUnit(e.textSize),color:null!=(t=e.textColor)?t:e.color}},[r.default()])};return function(){var t,a=e.type,i=e.vertical;return createVNode("div",{class:bem$8([a,{vertical:i}]),"aria-live":"polite","aria-busy":!0},[(t="spinner"===e.type?SpinIcon:CircularIcon,createVNode("span",{class:bem$8("spinner",e.type),style:n.value},[r.icon?r.icon():t])),o()])}}}),Loading=withInstall$1(stdin_default$8),_createNamespace$11=createNamespace$1("button"),_createNamespace$12=_slicedToArray(_createNamespace$11,2),name$7=_createNamespace$12[0],bem$7=_createNamespace$12[1],buttonProps$1=extend$1({},routeProps,{tag:makeStringProp("button"),text:String,icon:String,type:makeStringProp("default"),size:makeStringProp("normal"),color:String,block:Boolean,plain:Boolean,round:Boolean,square:Boolean,loading:Boolean,hairline:Boolean,disabled:Boolean,iconPrefix:String,nativeType:makeStringProp("button"),loadingSize:numericProp,loadingText:String,loadingType:String,iconPosition:makeStringProp("left")}),stdin_default$7=defineComponent({name:name$7,props:buttonProps$1,emits:["click"],setup:function(e,t){var r=t.emit,n=t.slots,o=useRoute(),a=function(){return e.loading?n.loading?n.loading():createVNode(Loading,{size:e.loadingSize,type:e.loadingType,class:bem$7("loading")},null):n.icon?createVNode("div",{class:bem$7("icon")},[n.icon()]):e.icon?createVNode(Icon$1,{name:e.icon,class:bem$7("icon"),classPrefix:e.iconPrefix},null):void 0},i=function(){var t;if(t=e.loading?e.loadingText:n.default?n.default():e.text)return createVNode("span",{class:bem$7("text")},[t])},s=function(){var t=e.color,r=e.plain;if(t){var n={color:r?t:"white"};return r||(n.background=t),t.includes("gradient")?n.border=0:n.borderColor=t,n}},l=function(t){e.loading?preventDefault(t):e.disabled||(r("click",t),o())};return function(){var t=e.tag,r=e.type,n=e.size,o=e.block,c=e.round,u=e.plain,d=e.square,p=e.loading,f=e.disabled,h=e.hairline,v=e.nativeType,g=e.iconPosition,m=[bem$7([r,n,{plain:u,block:o,round:c,square:d,loading:p,disabled:f,hairline:h}]),_defineProperty2({},BORDER_SURROUND,h)];return createVNode(t,{type:v,class:m,style:s(),disabled:f,onClick:l},{default:function(){return[createVNode("div",{class:bem$7("content")},["left"===g&&a(),i(),"right"===g&&a()])]}})}}}),Button$1=withInstall$1(stdin_default$7),_createNamespace$13=createNamespace$1("action-bar-button"),_createNamespace$14=_slicedToArray(_createNamespace$13,2),name$6=_createNamespace$14[0],bem$6=_createNamespace$14[1],actionBarButtonProps=extend$1({},routeProps,{type:String,text:String,icon:String,color:String,loading:Boolean,disabled:Boolean}),stdin_default$6=defineComponent({name:name$6,props:actionBarButtonProps,setup:function(e,t){var r=t.slots,n=useRoute(),o=useParent$1(ACTION_BAR_KEY),a=o.parent,i=o.index,s=computed((function(){if(a){var e=a.children[i.value-1];return!(e&&"isButton"in e)}})),l=computed((function(){if(a){var e=a.children[i.value+1];return!(e&&"isButton"in e)}}));return useExpose({isButton:!0}),function(){var t=e.type,o=e.icon,a=e.text,i=e.color,c=e.loading,u=e.disabled;return createVNode(Button$1,{class:bem$6([t,{last:l.value,first:s.value}]),size:"large",type:t,icon:o,color:i,loading:c,disabled:u,onClick:n},{default:function(){return[r.default?r.default():a]}})}}}),ActionBarButton=withInstall$1(stdin_default$6),popupSharedProps={show:Boolean,zIndex:numericProp,overlay:truthProp,duration:numericProp,teleport:[String,Object],lockScroll:truthProp,lazyRender:truthProp,beforeClose:Function,overlayStyle:Object,overlayClass:unknownProp,transitionAppear:Boolean,closeOnClickOverlay:truthProp},popupSharedPropKeys=Object.keys(popupSharedProps);function getDirection(e,t){return e>t?"horizontal":t>e?"vertical":""}function useTouch(){var e=ref(0),t=ref(0),r=ref(0),n=ref(0),o=ref(0),a=ref(0),i=ref(""),s=ref(!0),l=function(){r.value=0,n.value=0,o.value=0,a.value=0,i.value="",s.value=!0};return{move:function(l){var c=l.touches[0];r.value=(c.clientX<0?0:c.clientX)-e.value,n.value=c.clientY-t.value,o.value=Math.abs(r.value),a.value=Math.abs(n.value);(!i.value||o.value<10&&a.value<10)&&(i.value=getDirection(o.value,a.value)),s.value&&(o.value>TAP_OFFSET||a.value>TAP_OFFSET)&&(s.value=!1)},start:function(r){l(),e.value=r.touches[0].clientX,t.value=r.touches[0].clientY},reset:l,startX:e,startY:t,deltaX:r,deltaY:n,offsetX:o,offsetY:a,direction:i,isVertical:function(){return"vertical"===i.value},isHorizontal:function(){return"horizontal"===i.value},isTap:s}}var totalLockCount=0,BODY_LOCK_CLASS="van-overflow-hidden";function useLockScroll(e,t){var r=useTouch(),n=function(t){r.move(t);var n=r.deltaY.value>0?"10":"01",o=getScrollParent$1(t.target,e.value),a=o.scrollHeight,i=o.offsetHeight,s=o.scrollTop,l="11";0===s?l=i>=a?"00":"01":s+i>=a&&(l="10"),"11"===l||!r.isVertical()||parseInt(l,2)&parseInt(n,2)||preventDefault(t,!0)},o=function(){document.addEventListener("touchstart",r.start),document.addEventListener("touchmove",n,{passive:!1}),totalLockCount||document.body.classList.add(BODY_LOCK_CLASS),totalLockCount++},a=function(){totalLockCount&&(document.removeEventListener("touchstart",r.start),document.removeEventListener("touchmove",n),--totalLockCount||document.body.classList.remove(BODY_LOCK_CLASS))},i=function(){return t()&&a()};onMountedOrActivated((function(){return t()&&o()})),onDeactivated(i),onBeforeUnmount(i),watch(t,(function(e){e?o():a()}))}function useLazyRender(e){var t=ref(!1);return watch(e,(function(e){e&&(t.value=e)}),{immediate:!0}),function(e){return function(){return t.value?e():null}}}var _createNamespace$15=createNamespace$1("overlay"),_createNamespace$16=_slicedToArray(_createNamespace$15,2),name$5=_createNamespace$16[0],bem$5=_createNamespace$16[1],overlayProps={show:Boolean,zIndex:numericProp,duration:numericProp,className:unknownProp,lockScroll:truthProp,lazyRender:truthProp,customStyle:Object},stdin_default$5=defineComponent({name:name$5,props:overlayProps,setup:function(e,t){var r=t.slots,n=ref(),o=useLazyRender((function(){return e.show||!e.lazyRender}))((function(){var t,o=extend$1(getZIndexStyle(e.zIndex),e.customStyle);return isDef(e.duration)&&(o.animationDuration="".concat(e.duration,"s")),withDirectives(createVNode("div",{ref:n,style:o,class:[bem$5(),e.className]},[null==(t=r.default)?void 0:t.call(r)]),[[vShow,e.show]])}));return useEventListener$1("touchmove",(function(t){e.lockScroll&&preventDefault(t,!0)}),{target:n}),function(){return createVNode(Transition,{name:"van-fade",appear:!0},{default:o})}}}),Overlay=withInstall$1(stdin_default$5),popupProps=extend$1({},popupSharedProps,{round:Boolean,position:makeStringProp("center"),closeIcon:makeStringProp("cross"),closeable:Boolean,transition:String,iconPrefix:String,closeOnPopstate:Boolean,closeIconPosition:makeStringProp("top-right"),safeAreaInsetTop:Boolean,safeAreaInsetBottom:Boolean}),_createNamespace$17=createNamespace$1("popup"),_createNamespace$18=_slicedToArray(_createNamespace$17,2),name$4=_createNamespace$18[0],bem$4=_createNamespace$18[1],stdin_default$4=defineComponent({name:name$4,inheritAttrs:!1,props:popupProps,emits:["open","close","opened","closed","keydown","update:show","clickOverlay","clickCloseIcon"],setup:function(e,t){var r,n,o,a=t.emit,i=t.attrs,s=t.slots,l=ref(),c=ref(),u=useLazyRender((function(){return e.show||!e.lazyRender})),d=computed((function(){var t={zIndex:l.value};isDef(e.duration)&&(t["center"===e.position?"animationDuration":"transitionDuration"]="".concat(e.duration,"s"));return t})),p=function(){r||(r=!0,l.value=void 0!==e.zIndex?+e.zIndex:useGlobalZIndex(),a("open"))},f=function(){r&&callInterceptor(e.beforeClose,{done:function(){r=!1,a("close"),a("update:show",!1)}})},h=function(t){a("clickOverlay",t),e.closeOnClickOverlay&&f()},v=function(){if(e.overlay)return createVNode(Overlay,{show:e.show,class:e.overlayClass,zIndex:l.value,duration:e.duration,customStyle:e.overlayStyle,role:e.closeOnClickOverlay?"button":void 0,tabindex:e.closeOnClickOverlay?0:void 0,onClick:h},{default:s["overlay-content"]})},g=function(e){a("clickCloseIcon",e),f()},m=function(){if(e.closeable)return createVNode(Icon$1,{role:"button",tabindex:0,name:e.closeIcon,class:[bem$4("close-icon",e.closeIconPosition),HAPTICS_FEEDBACK],classPrefix:e.iconPrefix,onClick:g},null)},b=function(){o&&clearTimeout(o),o=setTimeout((function(){a("opened")}))},A=function(){return a("closed")},y=function(e){return a("keydown",e)},x=u((function(){var t,r=e.round,n=e.position,o=e.safeAreaInsetTop,a=e.safeAreaInsetBottom;return withDirectives(createVNode("div",mergeProps({ref:c,style:d.value,role:"dialog",tabindex:0,class:[bem$4(_defineProperty2({round:r},n,n)),{"van-safe-area-top":o,"van-safe-area-bottom":a}],onKeydown:y},i),[null==(t=s.default)?void 0:t.call(s),m()]),[[vShow,e.show]])})),w=function(){var t=e.position,r=e.transition,n=e.transitionAppear,o="center"===t?"van-fade":"van-popup-slide-".concat(t);return createVNode(Transition,{name:r||o,appear:n,onAfterEnter:b,onAfterLeave:A},{default:x})};return watch((function(){return e.show}),(function(e){e&&!r&&(p(),0===i.tabindex&&nextTick((function(){var e;null==(e=c.value)||e.focus()}))),!e&&r&&(r=!1,a("close"))})),useExpose({popupRef:c}),useLockScroll(c,(function(){return e.show&&e.lockScroll})),useEventListener$1("popstate",(function(){e.closeOnPopstate&&(f(),n=!1)})),onMounted((function(){e.show&&p()})),onActivated((function(){n&&(a("update:show",!0),n=!1)})),onDeactivated((function(){e.show&&e.teleport&&(f(),n=!0)})),provide(POPUP_TOGGLE_KEY,(function(){return e.show})),function(){return e.teleport?createVNode(Teleport,{to:e.teleport},{default:function(){return[v(),w()]}}):createVNode(Fragment,null,[v(),w()])}}}),Popup=withInstall$1(stdin_default$4),current=0;function useId(){var e=getCurrentInstance(),t=((null==e?void 0:e.type)||{}).name;return"".concat(void 0===t?"unknown":t,"-").concat(++current)}var lockCount$1=0;function lockClick(e){e?(lockCount$1||document.body.classList.add("van-toast--unclickable"),lockCount$1++):lockCount$1&&(--lockCount$1||document.body.classList.remove("van-toast--unclickable"))}var _createNamespace$19=createNamespace$1("toast"),_createNamespace$20=_slicedToArray(_createNamespace$19,2),name$3=_createNamespace$20[0],bem$3=_createNamespace$20[1],popupInheritProps=["show","overlay","teleport","transition","overlayClass","overlayStyle","closeOnClickOverlay"],toastProps={icon:String,show:Boolean,type:makeStringProp("text"),overlay:Boolean,message:numericProp,iconSize:numericProp,duration:makeNumberProp(2e3),position:makeStringProp("middle"),teleport:[String,Object],wordBreak:String,className:unknownProp,iconPrefix:String,transition:makeStringProp("van-fade"),loadingType:String,forbidClick:Boolean,overlayClass:unknownProp,overlayStyle:Object,closeOnClick:Boolean,closeOnClickOverlay:Boolean},stdin_default$3=defineComponent({name:name$3,props:toastProps,emits:["update:show"],setup:function(e,t){var r,n=t.emit,o=t.slots,a=!1,i=function(){var t=e.show&&e.forbidClick;a!==t&&lockClick(a=t)},s=function(e){return n("update:show",e)},l=function(){e.closeOnClick&&s(!1)},c=function(){return clearTimeout(r)},u=function(){var t=e.icon,r=e.type,n=e.iconSize,o=e.iconPrefix,a=e.loadingType;return t||"success"===r||"fail"===r?createVNode(Icon$1,{name:t||r,size:n,class:bem$3("icon"),classPrefix:o},null):"loading"===r?createVNode(Loading,{class:bem$3("loading"),size:n,type:a},null):void 0},d=function(){var t=e.type,r=e.message;return o.message?createVNode("div",{class:bem$3("text")},[o.message()]):isDef(r)&&""!==r?"html"===t?createVNode("div",{key:0,class:bem$3("text"),innerHTML:String(r)},null):createVNode("div",{class:bem$3("text")},[r]):void 0};return watch((function(){return[e.show,e.forbidClick]}),i),watch((function(){return[e.show,e.type,e.message,e.duration]}),(function(){c(),e.show&&e.duration>0&&(r=setTimeout((function(){s(!1)}),e.duration))})),onMounted(i),onUnmounted(i),function(){return createVNode(Popup,mergeProps({class:[bem$3([e.position,"normal"===e.wordBreak?"break-normal":e.wordBreak,_defineProperty2({},e.type,!e.icon)]),e.className],lockScroll:!1,onClick:l,onClosed:c,"onUpdate:show":s},pick$1(e,popupInheritProps)),{default:function(){return[u(),d()]}})}}});function usePopupState(){var e=reactive({show:!1}),t=function(t){e.show=t},r=function(r){extend$1(e,r,{transitionAppear:!0}),t(!0)},n=function(){return t(!1)};return useExpose({open:r,close:n,toggle:t}),{open:r,close:n,state:e,toggle:t}}function mountComponent(e){var t=createApp(e),r=document.createElement("div");return document.body.appendChild(r),{instance:t.mount(r),unmount:function(){t.unmount(),document.body.removeChild(r)}}}var defaultOptions={icon:"",type:"text",message:"",className:"",overlay:!1,onClose:void 0,onOpened:void 0,duration:2e3,teleport:"body",iconSize:void 0,iconPrefix:void 0,position:"middle",transition:"van-fade",forbidClick:!1,loadingType:void 0,overlayClass:"",overlayStyle:void 0,closeOnClick:!1,closeOnClickOverlay:!1},queue$1=[],allowMultiple=!1,currentOptions$1=extend$1({},defaultOptions),defaultOptionsMap=new Map;function parseOptions(e){return isObject$5(e)?e:{message:e}}function createInstance(){var e=mountComponent({setup:function(){var e=ref(""),t=usePopupState(),r=t.open,n=t.state,o=t.close,a=t.toggle,i=function(){};return watch(e,(function(e){n.message=e})),getCurrentInstance().render=function(){return createVNode(stdin_default$3,mergeProps(n,{onClosed:i,"onUpdate:show":a}),null)},{open:r,close:o,message:e}}}),t=e.instance;e.unmount;return t}function getInstance(){if(!queue$1.length||allowMultiple){var e=createInstance();queue$1.push(e)}return queue$1[queue$1.length-1]}function showToast(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!inBrowser$3)return{};var t=getInstance(),r=parseOptions(e);return t.open(extend$1({},currentOptions$1,defaultOptionsMap.get(r.type||currentOptions$1.type),r)),t}var closeToast=function(e){queue$1.length&&(e?(queue$1.forEach((function(e){e.close()})),queue$1=[]):queue$1[0].close())};withInstall$1(stdin_default$3);var _createNamespace$21=createNamespace$1("empty"),_createNamespace$22=_slicedToArray(_createNamespace$21,2),name$2=_createNamespace$22[0],bem$2=_createNamespace$22[1],emptyProps$1={image:makeStringProp("default"),imageSize:[Number,String,Array],description:String},stdin_default$2=defineComponent({name:name$2,props:emptyProps$1,setup:function(e,t){var r=t.slots,n=function(){var t=r.description?r.description():e.description;if(t)return createVNode("p",{class:bem$2("description")},[t])},o=function(){if(r.default)return createVNode("div",{class:bem$2("bottom")},[r.default()])},a=useId(),i=function(e){return"".concat(a,"-").concat(e)},s=function(e){return"url(#".concat(i(e),")")},l=function(e,t,r){return createVNode("stop",{"stop-color":e,offset:"".concat(t,"%"),"stop-opacity":r},null)},c=function(e,t){return[l(e,0),l(t,100)]},u=function(e){return[createVNode("defs",null,[createVNode("radialGradient",{id:i(e),cx:"50%",cy:"54%",fx:"50%",fy:"54%",r:"297%",gradientTransform:"matrix(-.16 0 0 -.33 .58 .72)"},[l("#EBEDF0",0),l("#F2F3F5",100,.3)])]),createVNode("ellipse",{fill:s(e),opacity:".8",cx:"80",cy:"140",rx:"46",ry:"8"},null)]},d=function(){return[createVNode("defs",null,[createVNode("linearGradient",{id:i("a"),x1:"64%",y1:"100%",x2:"64%"},[l("#FFF",0,.5),l("#F2F3F5",100)])]),createVNode("g",{opacity:".8"},[createVNode("path",{d:"M36 131V53H16v20H2v58h34z",fill:s("a")},null),createVNode("path",{d:"M123 15h22v14h9v77h-31V15z",fill:s("a")},null)])]},p=function(){return[createVNode("defs",null,[createVNode("linearGradient",{id:i("b"),x1:"64%",y1:"97%",x2:"64%",y2:"0%"},[l("#F2F3F5",0,.3),l("#F2F3F5",100)])]),createVNode("g",{opacity:".8"},[createVNode("path",{d:"M87 6c3 0 7 3 8 6a8 8 0 1 1-1 16H80a7 7 0 0 1-8-6c0-4 3-7 6-7 0-5 4-9 9-9Z",fill:s("b")},null),createVNode("path",{d:"M19 23c2 0 3 1 4 3 2 0 4 2 4 4a4 4 0 0 1-4 3v1h-7v-1l-1 1c-2 0-3-2-3-4 0-1 1-3 3-3 0-2 2-4 4-4Z",fill:s("b")},null)])]},f=function(){return createVNode("svg",{viewBox:"0 0 160 160"},[createVNode("defs",null,[createVNode("linearGradient",{id:i(1),x1:"64%",y1:"100%",x2:"64%"},[l("#FFF",0,.5),l("#F2F3F5",100)]),createVNode("linearGradient",{id:i(2),x1:"50%",x2:"50%",y2:"84%"},[l("#EBEDF0",0),l("#DCDEE0",100,0)]),createVNode("linearGradient",{id:i(3),x1:"100%",x2:"100%",y2:"100%"},[c("#EAEDF0","#DCDEE0")]),createVNode("radialGradient",{id:i(4),cx:"50%",cy:"0%",fx:"50%",fy:"0%",r:"100%",gradientTransform:"matrix(0 1 -.54 0 .5 -.5)"},[l("#EBEDF0",0),l("#FFF",100,0)])]),createVNode("g",{fill:"none"},[d(),createVNode("path",{fill:s(4),d:"M0 139h160v21H0z"},null),createVNode("path",{d:"M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z",fill:s(2)},null),createVNode("g",{opacity:".6","stroke-linecap":"round","stroke-width":"7"},[createVNode("path",{d:"M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13",stroke:s(3)},null),createVNode("path",{d:"M53 36a34 34 0 0 0 0 48",stroke:s(3)},null),createVNode("path",{d:"M95 73a19 19 0 0 0 6-13c0-5-2-9-6-13",stroke:s(3)},null),createVNode("path",{d:"M106 84a34 34 0 0 0 0-48",stroke:s(3)},null)]),createVNode("g",{transform:"translate(31 105)"},[createVNode("rect",{fill:"#EBEDF0",width:"98",height:"34",rx:"2"},null),createVNode("rect",{fill:"#FFF",x:"9",y:"8",width:"80",height:"18",rx:"1.1"},null),createVNode("rect",{fill:"#EBEDF0",x:"15",y:"12",width:"18",height:"6",rx:"1.1"},null)])])])},h=function(){return createVNode("svg",{viewBox:"0 0 160 160"},[createVNode("defs",null,[createVNode("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:i(5)},[c("#F2F3F5","#DCDEE0")]),createVNode("linearGradient",{x1:"95%",y1:"48%",x2:"5.5%",y2:"51%",id:i(6)},[c("#EAEDF1","#DCDEE0")]),createVNode("linearGradient",{y1:"45%",x2:"100%",y2:"54%",id:i(7)},[c("#EAEDF1","#DCDEE0")])]),d(),p(),createVNode("g",{transform:"translate(36 50)",fill:"none"},[createVNode("g",{transform:"translate(8)"},[createVNode("rect",{fill:"#EBEDF0",opacity:".6",x:"38",y:"13",width:"36",height:"53",rx:"2"},null),createVNode("rect",{fill:s(5),width:"64",height:"66",rx:"2"},null),createVNode("rect",{fill:"#FFF",x:"6",y:"6",width:"52",height:"55",rx:"1"},null),createVNode("g",{transform:"translate(15 17)",fill:s(6)},[createVNode("rect",{width:"34",height:"6",rx:"1"},null),createVNode("path",{d:"M0 14h34v6H0z"},null),createVNode("rect",{y:"28",width:"34",height:"6",rx:"1"},null)])]),createVNode("rect",{fill:s(7),y:"61",width:"88",height:"28",rx:"1"},null),createVNode("rect",{fill:"#F7F8FA",x:"29",y:"72",width:"30",height:"6",rx:"1"},null)])])},v=function(){return createVNode("svg",{viewBox:"0 0 160 160"},[createVNode("defs",null,[createVNode("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:i(8)},[c("#EAEDF1","#DCDEE0")])]),d(),p(),u("c"),createVNode("path",{d:"m59 60 21 21 21-21h3l9 9v3L92 93l21 21v3l-9 9h-3l-21-21-21 21h-3l-9-9v-3l21-21-21-21v-3l9-9h3Z",fill:s(8)},null)])},g=function(){return createVNode("svg",{viewBox:"0 0 160 160"},[createVNode("defs",null,[createVNode("linearGradient",{x1:"50%",y1:"100%",x2:"50%",id:i(9)},[c("#EEE","#D8D8D8")]),createVNode("linearGradient",{x1:"100%",y1:"50%",y2:"50%",id:i(10)},[c("#F2F3F5","#DCDEE0")]),createVNode("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:i(11)},[c("#F2F3F5","#DCDEE0")]),createVNode("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:i(12)},[c("#FFF","#F7F8FA")])]),d(),p(),u("d"),createVNode("g",{transform:"rotate(-45 113 -4)",fill:"none"},[createVNode("rect",{fill:s(9),x:"24",y:"52.8",width:"5.8",height:"19",rx:"1"},null),createVNode("rect",{fill:s(10),x:"22.1",y:"67.3",width:"9.9",height:"28",rx:"1"},null),createVNode("circle",{stroke:s(11),"stroke-width":"8",cx:"27",cy:"27",r:"27"},null),createVNode("circle",{fill:s(12),cx:"27",cy:"27",r:"16"},null),createVNode("path",{d:"M37 7c-8 0-15 5-16 12",stroke:s(11),"stroke-width":"3",opacity:".5","stroke-linecap":"round",transform:"rotate(45 29 13)"},null)])])},m=function(){var t;if(r.image)return r.image();var n={error:v,search:g,network:f,default:h};return(null==(t=n[e.image])?void 0:t.call(n))||createVNode("img",{src:e.image},null)};return function(){return createVNode("div",{class:bem$2()},[createVNode("div",{class:bem$2("image"),style:getSizeStyle(e.imageSize)},[m()]),n(),o()])}}}),Empty=withInstall$1(stdin_default$2),_createNamespace$23=createNamespace$1("dialog"),_createNamespace$24=_slicedToArray(_createNamespace$23,3),name$1=_createNamespace$24[0],bem$1=_createNamespace$24[1],t$1=_createNamespace$24[2],dialogProps$1=extend$1({},popupSharedProps,{title:String,theme:String,width:numericProp,message:[String,Function],callback:Function,allowHtml:Boolean,className:unknownProp,transition:makeStringProp("van-dialog-bounce"),messageAlign:String,closeOnPopstate:truthProp,showCancelButton:Boolean,cancelButtonText:String,cancelButtonColor:String,cancelButtonDisabled:Boolean,confirmButtonText:String,confirmButtonColor:String,confirmButtonDisabled:Boolean,showConfirmButton:truthProp,closeOnClickOverlay:Boolean}),popupInheritKeys=[].concat(popupSharedPropKeys,["transition","closeOnPopstate"]),stdin_default$1=defineComponent({name:name$1,props:dialogProps$1,emits:["confirm","cancel","keydown","update:show"],setup:function(e,t){var r=t.emit,n=t.slots,o=ref(),a=reactive({confirm:!1,cancel:!1}),i=function(e){return r("update:show",e)},s=function(t){var r;i(!1),null==(r=e.callback)||r.call(e,t)},l=function(t){return function(){e.show&&(r(t),e.beforeClose?(a[t]=!0,callInterceptor(e.beforeClose,{args:[t],done:function(){s(t),a[t]=!1},canceled:function(){a[t]=!1}})):s(t))}},c=l("cancel"),u=l("confirm"),d=withKeys((function(t){var n,a;t.target===(null==(a=null==(n=o.value)?void 0:n.popupRef)?void 0:a.value)&&({Enter:e.showConfirmButton?u:noop$2,Escape:e.showCancelButton?c:noop$2}[t.key](),r("keydown",t))}),["enter","esc"]),p=function(){var t=n.title?n.title():e.title;if(t)return createVNode("div",{class:bem$1("header",{isolated:!e.message&&!n.default})},[t])},f=function(t){var r=e.message,n=e.allowHtml,o=e.messageAlign,a=bem$1("message",_defineProperty2({"has-title":t},o,o)),i=isFunction$4(r)?r():r;return n&&"string"==typeof i?createVNode("div",{class:a,innerHTML:i},null):createVNode("div",{class:a},[i])},h=function(){if(n.default)return createVNode("div",{class:bem$1("content")},[n.default()]);var t=e.title,r=e.message,o=e.allowHtml;if(r){var a=!(!t&&!n.title);return createVNode("div",{key:o?1:0,class:bem$1("content",{isolated:!a})},[f(a)])}},v=function(){return n.footer?n.footer():"round-button"===e.theme?createVNode(ActionBar,{class:bem$1("footer")},{default:function(){return[e.showCancelButton&&createVNode(ActionBarButton,{type:"warning",text:e.cancelButtonText||t$1("cancel"),class:bem$1("cancel"),color:e.cancelButtonColor,loading:a.cancel,disabled:e.cancelButtonDisabled,onClick:c},null),e.showConfirmButton&&createVNode(ActionBarButton,{type:"danger",text:e.confirmButtonText||t$1("confirm"),class:bem$1("confirm"),color:e.confirmButtonColor,loading:a.confirm,disabled:e.confirmButtonDisabled,onClick:u},null)]}}):createVNode("div",{class:[BORDER_TOP,bem$1("footer")]},[e.showCancelButton&&createVNode(Button$1,{size:"large",text:e.cancelButtonText||t$1("cancel"),class:bem$1("cancel"),style:{color:e.cancelButtonColor},loading:a.cancel,disabled:e.cancelButtonDisabled,onClick:c},null),e.showConfirmButton&&createVNode(Button$1,{size:"large",text:e.confirmButtonText||t$1("confirm"),class:[bem$1("confirm"),_defineProperty2({},BORDER_LEFT,e.showCancelButton)],style:{color:e.confirmButtonColor},loading:a.confirm,disabled:e.confirmButtonDisabled,onClick:u},null)])};return function(){var t=e.width,r=e.title,n=e.theme,a=e.message,s=e.className;return createVNode(Popup,mergeProps({ref:o,role:"dialog",class:[bem$1([n]),s],style:{width:addUnit(t)},tabindex:0,"aria-labelledby":r||a,onKeydown:d,"onUpdate:show":i},pick$1(e,popupInheritKeys)),{default:function(){return[p(),h(),v()]}})}}}),instance,DEFAULT_OPTIONS={title:"",width:"",theme:null,message:"",overlay:!0,callback:null,teleport:"body",className:"",allowHtml:!1,lockScroll:!0,transition:void 0,beforeClose:null,overlayClass:"",overlayStyle:void 0,messageAlign:"",cancelButtonText:"",cancelButtonColor:null,cancelButtonDisabled:!1,confirmButtonText:"",confirmButtonColor:null,confirmButtonDisabled:!1,showConfirmButton:!0,showCancelButton:!1,closeOnPopstate:!0,closeOnClickOverlay:!1},currentOptions=extend$1({},DEFAULT_OPTIONS);function initInstance(){var e=mountComponent({setup:function(){var e=usePopupState(),t=e.state,r=e.toggle;return function(){return createVNode(stdin_default$1,mergeProps(t,{"onUpdate:show":r}),null)}}});instance=e.instance}function showDialog(e){return inBrowser$3?new Promise((function(t,r){instance||initInstance(),instance.open(extend$1({},currentOptions,e,{callback:function(e){("confirm"===e?t:r)(e)}}))})):Promise.resolve()}var showConfirmDialog=function(e){return showDialog(extend$1({showCancelButton:!0},e))};withInstall$1(stdin_default$1);var _createNamespace$25=createNamespace$1("nav-bar"),_createNamespace$26=_slicedToArray(_createNamespace$25,2),name=_createNamespace$26[0],bem=_createNamespace$26[1],navBarProps={title:String,fixed:Boolean,zIndex:numericProp,border:truthProp,leftText:String,rightText:String,leftArrow:Boolean,placeholder:Boolean,safeAreaInsetTop:Boolean,clickable:truthProp},stdin_default=defineComponent({name:name,props:navBarProps,emits:["clickLeft","clickRight"],setup:function(e,t){var r=t.emit,n=t.slots,o=ref(),a=usePlaceholder(o,bem),i=function(e){return r("clickLeft",e)},s=function(e){return r("clickRight",e)},l=function(){var t,r=e.title,a=e.fixed,l=e.border,c=getZIndexStyle(e.zIndex),u=e.leftArrow||e.leftText||n.left,d=e.rightText||n.right;return createVNode("div",{ref:o,style:c,class:[bem({fixed:a}),(t={},_defineProperty2(t,BORDER_BOTTOM,l),_defineProperty2(t,"van-safe-area-top",e.safeAreaInsetTop),t)]},[createVNode("div",{class:bem("content")},[u&&createVNode("div",{class:[bem("left"),e.clickable?HAPTICS_FEEDBACK:""],onClick:i},[n.left?n.left():[e.leftArrow&&createVNode(Icon$1,{class:bem("arrow"),name:"arrow-left"},null),e.leftText&&createVNode("span",{class:bem("text")},[e.leftText])]]),createVNode("div",{class:[bem("title"),"van-ellipsis"]},[n.title?n.title():r]),d&&createVNode("div",{class:[bem("right"),e.clickable?HAPTICS_FEEDBACK:""],onClick:s},[n.right?n.right():createVNode("span",{class:bem("text")},[e.rightText])])])])};return function(){return e.fixed&&e.placeholder?a(l):l()}}}),NavBar=withInstall$1(stdin_default),TheError=defineComponent({name:"The-error",setup:function(e,t){return function(){return createVNode("div",null,[createVNode(NavBar,{leftArrow:!0,onClickLeft:function(){}},null),createVNode(Empty,{image:"error",description:"网络开小差,请稍后重试"},{default:function(){return[createVNode(Button$1,{type:"primary",size:"small",onClick:function(){return history.go(0)}},{default:function(){return[createTextVNode("重新加载")]}})]}})])}}}),storeData=reactive({status:"init",user:{},platformType:"TEACHER",platformApi:"/edu-app",proxy:"",isApp:!1}),setUserInfo=function(e){storeData.status="login",storeData.user=e||{}},token="%[a-f0-9]{2}",singleMatcher=new RegExp("("+token+")|([^%]+?)","gi"),multiMatcher=new RegExp("("+token+")+","gi");function decodeComponents(e,t){try{return[decodeURIComponent(e.join(""))]}catch(o){}if(1===e.length)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],decodeComponents(r),decodeComponents(n))}function decode$3(e){try{return decodeURIComponent(e)}catch(n){for(var t=e.match(singleMatcher)||[],r=1;r<t.length;r++)t=(e=decodeComponents(t,r).join("")).match(singleMatcher)||[];return e}}function customDecodeURIComponent(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},r=multiMatcher.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch(s){var n=decode$3(r[0]);n!==r[0]&&(t[r[0]]=n)}r=multiMatcher.exec(e)}t["%C2"]="�";for(var o=0,a=Object.keys(t);o<a.length;o++){var i=a[o];e=e.replace(new RegExp(i,"g"),t[i])}return e}function decodeUriComponent(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+_typeof2(e)+"`");try{return decodeURIComponent(e)}catch(t){return customDecodeURIComponent(e)}}function splitOnFirst(e,t){if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===e||""===t)return[];var r=e.indexOf(t);return-1===r?[]:[e.slice(0,r),e.slice(r+t.length)]}function includeKeys(e,t){var r={};if(Array.isArray(t)){var n,o=_createForOfIteratorHelper(t);try{for(o.s();!(n=o.n()).done;){var a=n.value,i=Object.getOwnPropertyDescriptor(e,a);null!=i&&i.enumerable&&Object.defineProperty(r,a,i)}}catch(d){o.e(d)}finally{o.f()}}else{var s,l=_createForOfIteratorHelper(Reflect.ownKeys(e));try{for(l.s();!(s=l.n()).done;){var c=s.value,u=Object.getOwnPropertyDescriptor(e,c);if(u.enumerable)t(c,e[c],e)&&Object.defineProperty(r,c,u)}}catch(d){l.e(d)}finally{l.f()}}return r}var isNullOrUndefined=function(e){return null==e},strictUriEncode=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%".concat(e.charCodeAt(0).toString(16).toUpperCase())}))},encodeFragmentIdentifier=Symbol("encodeFragmentIdentifier");function encoderForArrayFormat(e){switch(e.arrayFormat){case"index":return function(t){return function(r,n){var o=r.length;return void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:[].concat(_toConsumableArray2(r),null===n?[[encode$1(t,e),"[",o,"]"].join("")]:[[encode$1(t,e),"[",encode$1(o,e),"]=",encode$1(n,e)].join("")])}};case"bracket":return function(t){return function(r,n){return void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:[].concat(_toConsumableArray2(r),null===n?[[encode$1(t,e),"[]"].join("")]:[[encode$1(t,e),"[]=",encode$1(n,e)].join("")])}};case"colon-list-separator":return function(t){return function(r,n){return void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:[].concat(_toConsumableArray2(r),null===n?[[encode$1(t,e),":list="].join("")]:[[encode$1(t,e),":list=",encode$1(n,e)].join("")])}};case"comma":case"separator":case"bracket-separator":var t="bracket-separator"===e.arrayFormat?"[]=":"=";return function(r){return function(n,o){return void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?n:(o=null===o?"":o,0===n.length?[[encode$1(r,e),t,encode$1(o,e)].join("")]:[[n,encode$1(o,e)].join(e.arrayFormatSeparator)])}};default:return function(t){return function(r,n){return void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:[].concat(_toConsumableArray2(r),null===n?[encode$1(t,e)]:[[encode$1(t,e),"=",encode$1(n,e)].join("")])}}}}function parserForArrayFormat(e){var t;switch(e.arrayFormat){case"index":return function(e,r,n){t=/\[(\d*)]$/.exec(e),e=e.replace(/\[\d*]$/,""),t?(void 0===n[e]&&(n[e]={}),n[e][t[1]]=r):n[e]=r};case"bracket":return function(e,r,n){t=/(\[])$/.exec(e),e=e.replace(/\[]$/,""),t?void 0!==n[e]?n[e]=[].concat(_toConsumableArray2(n[e]),[r]):n[e]=[r]:n[e]=r};case"colon-list-separator":return function(e,r,n){t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==n[e]?n[e]=[].concat(_toConsumableArray2(n[e]),[r]):n[e]=[r]:n[e]=r};case"comma":case"separator":return function(t,r,n){var o="string"==typeof r&&r.includes(e.arrayFormatSeparator),a="string"==typeof r&&!o&&decode$2(r,e).includes(e.arrayFormatSeparator);r=a?decode$2(r,e):r;var i=o||a?r.split(e.arrayFormatSeparator).map((function(t){return decode$2(t,e)})):null===r?r:decode$2(r,e);n[t]=i};case"bracket-separator":return function(t,r,n){var o=/(\[])$/.test(t);if(t=t.replace(/\[]$/,""),o){var a=null===r?[]:r.split(e.arrayFormatSeparator).map((function(t){return decode$2(t,e)}));void 0!==n[t]?n[t]=[].concat(_toConsumableArray2(n[t]),_toConsumableArray2(a)):n[t]=a}else n[t]=r?decode$2(r,e):r};default:return function(e,t,r){void 0!==r[e]?r[e]=[].concat(_toConsumableArray2([r[e]].flat()),[t]):r[e]=t}}}function validateArrayFormatSeparator(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function encode$1(e,t){return t.encode?t.strict?strictUriEncode(e):encodeURIComponent(e):e}function decode$2(e,t){return t.decode?decodeUriComponent(e):e}function keysSorter(e){return Array.isArray(e)?e.sort():"object"===_typeof2(e)?keysSorter(Object.keys(e)).sort((function(e,t){return Number(e)-Number(t)})).map((function(t){return e[t]})):e}function removeHash(e){var t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function getHash(e){var t="",r=e.indexOf("#");return-1!==r&&(t=e.slice(r)),t}function parseValue(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function extract(e){var t=(e=removeHash(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function parse$3(e,t){validateArrayFormatSeparator((t=_objectSpread({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);var r=parserForArrayFormat(t),n=Object.create(null);if("string"!=typeof e)return n;if(!(e=e.trim().replace(/^[?#&]/,"")))return n;var o,a=_createForOfIteratorHelper(e.split("&"));try{for(a.s();!(o=a.n()).done;){var i=o.value;if(""!==i){var s=t.decode?i.replace(/\+/g," "):i,l=_slicedToArray(splitOnFirst(s,"="),2),c=l[0],u=l[1];void 0===c&&(c=s),u=void 0===u?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?u:decode$2(u,t),r(decode$2(c,t),u,n)}}}catch(x){a.e(x)}finally{a.f()}for(var d=0,p=Object.entries(n);d<p.length;d++){var f=_slicedToArray(p[d],2),h=f[0],v=f[1];if("object"===_typeof2(v)&&null!==v)for(var g=0,m=Object.entries(v);g<m.length;g++){var b=_slicedToArray(m[g],2),A=b[0],y=b[1];v[A]=parseValue(y,t)}else n[h]=parseValue(v,t)}return!1===t.sort?n:(!0===t.sort?Object.keys(n).sort():Object.keys(n).sort(t.sort)).reduce((function(e,t){var r=n[t];return Boolean(r)&&"object"===_typeof2(r)&&!Array.isArray(r)?e[t]=keysSorter(r):e[t]=r,e}),Object.create(null))}function stringify$2(e,t){if(!e)return"";validateArrayFormatSeparator((t=_objectSpread({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);for(var r=function(r){return t.skipNull&&isNullOrUndefined(e[r])||t.skipEmptyString&&""===e[r]},n=encoderForArrayFormat(t),o={},a=0,i=Object.entries(e);a<i.length;a++){var s=_slicedToArray(i[a],2),l=s[0],c=s[1];r(l)||(o[l]=c)}var u=Object.keys(o);return!1!==t.sort&&u.sort(t.sort),u.map((function(r){var o=e[r];return void 0===o?"":null===o?encode$1(r,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?encode$1(r,t)+"[]":o.reduce(n(r),[]).join("&"):encode$1(r,t)+"="+encode$1(o,t)})).filter((function(e){return e.length>0})).join("&")}function parseUrl(e,t){var r,n;t=_objectSpread({decode:!0},t);var o=_slicedToArray(splitOnFirst(e,"#"),2),a=o[0],i=o[1];return void 0===a&&(a=e),_objectSpread({url:null!==(r=null===(n=a)||void 0===n||null===(n=n.split("?"))||void 0===n?void 0:n[0])&&void 0!==r?r:"",query:parse$3(extract(e),t)},t&&t.parseFragmentIdentifier&&i?{fragmentIdentifier:decode$2(i,t)}:{})}function stringifyUrl(e,t){t=_objectSpread(_defineProperty2({encode:!0,strict:!0},encodeFragmentIdentifier,!0),t);var r=removeHash(e.url).split("?")[0]||"",n=stringify$2(_objectSpread(_objectSpread({},parse$3(extract(e.url),{sort:!1})),e.query),t);n&&(n="?".concat(n));var o=getHash(e.url);if(e.fragmentIdentifier){var a=new URL(r);a.hash=e.fragmentIdentifier,o=t[encodeFragmentIdentifier]?a.hash:"#".concat(e.fragmentIdentifier)}return"".concat(r).concat(n).concat(o)}function pick(e,t,r){var n=parseUrl(e,r=_objectSpread(_defineProperty2({parseFragmentIdentifier:!0},encodeFragmentIdentifier,!1),r)),o=n.url,a=n.query,i=n.fragmentIdentifier;return stringifyUrl({url:o,query:includeKeys(a,t),fragmentIdentifier:i},r)}function exclude(e,t,r){var n=Array.isArray(t)?function(e){return!t.includes(e)}:function(e,r){return!t(e,r)};return pick(e,n,r)}var queryString=Object.freeze(Object.defineProperty({__proto__:null,exclude:exclude,extract:extract,parse:parse$3,parseUrl:parseUrl,pick:pick,stringify:stringify$2,stringifyUrl:stringifyUrl},Symbol.toStringTag,{value:"Module"})),getQuery=function(){var e={};try{e=_objectSpread(_objectSpread({},queryString.parse(location.search)),queryString.parse(location.hash.split("?")[1]))}catch(error){console.log("解析query错误:",error)}return _objectSpread({},e)},commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function getAugmentedNamespace(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),r}var shams=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===_typeof2(Symbol.iterator))return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0},origSymbol="undefined"!=typeof Symbol&&Symbol,hasSymbolSham=shams,hasSymbols$1=function(){return"function"==typeof origSymbol&&("function"==typeof Symbol&&("symbol"===_typeof2(origSymbol("foo"))&&("symbol"===_typeof2(Symbol("bar"))&&hasSymbolSham())))},test={foo:{}},$Object=Object,hasProto$1=function(){return{__proto__:test}.foo===test.foo&&!({__proto__:null}instanceof $Object)},ERROR_MESSAGE="Function.prototype.bind called on incompatible ",slice$2=Array.prototype.slice,toStr$1=Object.prototype.toString,funcType="[object Function]",implementation$1=function(e){var t=this;if("function"!=typeof t||toStr$1.call(t)!==funcType)throw new TypeError(ERROR_MESSAGE+t);for(var r,n=slice$2.call(arguments,1),o=Math.max(0,t.length-n.length),a=[],i=0;i<o;i++)a.push("$"+i);if(r=Function("binder","return function ("+a.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof r){var o=t.apply(this,n.concat(slice$2.call(arguments)));return Object(o)===o?o:this}return t.apply(e,n.concat(slice$2.call(arguments)))})),t.prototype){var s=function(){};s.prototype=t.prototype,r.prototype=new s,s.prototype=null}return r},implementation=implementation$1,functionBind=Function.prototype.bind||implementation,bind$3=functionBind,src$1=bind$3.call(Function.call,Object.prototype.hasOwnProperty),undefined$1,$SyntaxError=SyntaxError,$Function=Function,$TypeError$1=TypeError,getEvalledConstructor=function(t){try{return $Function('"use strict"; return ('+t+").constructor;")()}catch(e){}},$gOPD=Object.getOwnPropertyDescriptor;if($gOPD)try{$gOPD({},"")}catch(e){$gOPD=null}var throwTypeError=function(){throw new $TypeError$1},ThrowTypeError=$gOPD?function(){try{return throwTypeError}catch(e){try{return $gOPD(arguments,"callee").get}catch(t){return throwTypeError}}}():throwTypeError,hasSymbols=hasSymbols$1(),hasProto=hasProto$1(),getProto=Object.getPrototypeOf||(hasProto?function(e){return e.__proto__}:null),needsEval={},TypedArray="undefined"!=typeof Uint8Array&&getProto?getProto(Uint8Array):undefined$1,INTRINSICS={"%AggregateError%":"undefined"==typeof AggregateError?undefined$1:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?undefined$1:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto?getProto([][Symbol.iterator]()):undefined$1,"%AsyncFromSyncIteratorPrototype%":undefined$1,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":"undefined"==typeof Atomics?undefined$1:Atomics,"%BigInt%":"undefined"==typeof BigInt?undefined$1:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?undefined$1:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?undefined$1:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?undefined$1:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?undefined$1:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?undefined$1:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?undefined$1:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":"undefined"==typeof Int8Array?undefined$1:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?undefined$1:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?undefined$1:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto?getProto(getProto([][Symbol.iterator]())):undefined$1,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":_typeof2(JSON))?JSON:undefined$1,"%Map%":"undefined"==typeof Map?undefined$1:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&hasSymbols&&getProto?getProto((new Map)[Symbol.iterator]()):undefined$1,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?undefined$1:Promise,"%Proxy%":"undefined"==typeof Proxy?undefined$1:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?undefined$1:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?undefined$1:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&hasSymbols&&getProto?getProto((new Set)[Symbol.iterator]()):undefined$1,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?undefined$1:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto?getProto(""[Symbol.iterator]()):undefined$1,"%Symbol%":hasSymbols?Symbol:undefined$1,"%SyntaxError%":$SyntaxError,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError$1,"%Uint8Array%":"undefined"==typeof Uint8Array?undefined$1:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?undefined$1:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?undefined$1:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?undefined$1:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?undefined$1:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?undefined$1:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?undefined$1:WeakSet};if(getProto)try{null.error}catch(e){var errorProto=getProto(getProto(e));INTRINSICS["%Error.prototype%"]=errorProto}var doEval=function e(t){var r;if("%AsyncFunction%"===t)r=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===t)r=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&getProto&&(r=getProto(o.prototype))}return INTRINSICS[t]=r,r},LEGACY_ALIASES={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind$2=functionBind,hasOwn$1=src$1,$concat$1=bind$2.call(Function.call,Array.prototype.concat),$spliceApply=bind$2.call(Function.apply,Array.prototype.splice),$replace$1=bind$2.call(Function.call,String.prototype.replace),$strSlice=bind$2.call(Function.call,String.prototype.slice),$exec=bind$2.call(Function.call,RegExp.prototype.exec),rePropName$1=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar$1=/\\(\\)?/g,stringToPath$2=function(e){var t=$strSlice(e,0,1),r=$strSlice(e,-1);if("%"===t&&"%"!==r)throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");var n=[];return $replace$1(e,rePropName$1,(function(e,t,r,o){n[n.length]=r?$replace$1(o,reEscapeChar$1,"$1"):t||e})),n},getBaseIntrinsic=function(e,t){var r,n=e;if(hasOwn$1(LEGACY_ALIASES,n)&&(n="%"+(r=LEGACY_ALIASES[n])[0]+"%"),hasOwn$1(INTRINSICS,n)){var o=INTRINSICS[n];if(o===needsEval&&(o=doEval(n)),void 0===o&&!t)throw new $TypeError$1("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new $SyntaxError("intrinsic "+e+" does not exist!")},getIntrinsic=function(e,t){if("string"!=typeof e||0===e.length)throw new $TypeError$1("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new $TypeError$1('"allowMissing" argument must be a boolean');if(null===$exec(/^%?[^%]*%?$/,e))throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=stringToPath$2(e),n=r.length>0?r[0]:"",o=getBaseIntrinsic("%"+n+"%",t),a=o.name,i=o.value,s=!1,l=o.alias;l&&(n=l[0],$spliceApply(r,$concat$1([0,1],l)));for(var c=1,u=!0;c<r.length;c+=1){var d=r[c],p=$strSlice(d,0,1),f=$strSlice(d,-1);if(('"'===p||"'"===p||"`"===p||'"'===f||"'"===f||"`"===f)&&p!==f)throw new $SyntaxError("property names with quotes must have matching quotes");if("constructor"!==d&&u||(s=!0),hasOwn$1(INTRINSICS,a="%"+(n+="."+d)+"%"))i=INTRINSICS[a];else if(null!=i){if(!(d in i)){if(!t)throw new $TypeError$1("base intrinsic for "+e+" exists, but the property is not available.");return}if($gOPD&&c+1>=r.length){var h=$gOPD(i,d);i=(u=!!h)&&"get"in h&&!("originalValue"in h.get)?h.get:i[d]}else u=hasOwn$1(i,d),i=i[d];u&&!s&&(INTRINSICS[a]=i)}}return i},callBind$1={exports:{}};!function(t){var r=functionBind,n=getIntrinsic,o=n("%Function.prototype.apply%"),a=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(a,o),s=n("%Object.getOwnPropertyDescriptor%",!0),l=n("%Object.defineProperty%",!0),c=n("%Math.max%");if(l)try{l({},"a",{value:1})}catch(e){l=null}t.exports=function(e){var t=i(r,a,arguments);s&&l&&(s(t,"length").configurable&&l(t,"length",{value:1+c(0,e.length-(arguments.length-1))}));return t};var u=function(){return i(r,o,arguments)};l?l(t.exports,"apply",{value:u}):t.exports.apply=u}(callBind$1);var callBindExports=callBind$1.exports,GetIntrinsic$1=getIntrinsic,callBind=callBindExports,$indexOf=callBind(GetIntrinsic$1("String.prototype.indexOf")),callBound$1=function(e,t){var r=GetIntrinsic$1(e,!!t);return"function"==typeof r&&$indexOf(e,".prototype.")>-1?callBind(r):r},__viteBrowserExternal={},__viteBrowserExternal$1=Object.freeze(Object.defineProperty({__proto__:null,default:__viteBrowserExternal},Symbol.toStringTag,{value:"Module"})),require$$0=getAugmentedNamespace(__viteBrowserExternal$1),hasMap="function"==typeof Map&&Map.prototype,mapSizeDescriptor=Object.getOwnPropertyDescriptor&&hasMap?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,mapSize=hasMap&&mapSizeDescriptor&&"function"==typeof mapSizeDescriptor.get?mapSizeDescriptor.get:null,mapForEach=hasMap&&Map.prototype.forEach,hasSet="function"==typeof Set&&Set.prototype,setSizeDescriptor=Object.getOwnPropertyDescriptor&&hasSet?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,setSize=hasSet&&setSizeDescriptor&&"function"==typeof setSizeDescriptor.get?setSizeDescriptor.get:null,setForEach=hasSet&&Set.prototype.forEach,hasWeakMap="function"==typeof WeakMap&&WeakMap.prototype,weakMapHas=hasWeakMap?WeakMap.prototype.has:null,hasWeakSet="function"==typeof WeakSet&&WeakSet.prototype,weakSetHas=hasWeakSet?WeakSet.prototype.has:null,hasWeakRef="function"==typeof WeakRef&&WeakRef.prototype,weakRefDeref=hasWeakRef?WeakRef.prototype.deref:null,booleanValueOf=Boolean.prototype.valueOf,objectToString$2=Object.prototype.toString,functionToString=Function.prototype.toString,$match=String.prototype.match,$slice=String.prototype.slice,$replace=String.prototype.replace,$toUpperCase=String.prototype.toUpperCase,$toLowerCase=String.prototype.toLowerCase,$test=RegExp.prototype.test,$concat=Array.prototype.concat,$join=Array.prototype.join,$arrSlice=Array.prototype.slice,$floor=Math.floor,bigIntValueOf="function"==typeof BigInt?BigInt.prototype.valueOf:null,gOPS=Object.getOwnPropertySymbols,symToString="function"==typeof Symbol&&"symbol"===_typeof2(Symbol.iterator)?Symbol.prototype.toString:null,hasShammedSymbols="function"==typeof Symbol&&"object"===_typeof2(Symbol.iterator),toStringTag="function"==typeof Symbol&&Symbol.toStringTag&&(_typeof2(Symbol.toStringTag)===hasShammedSymbols||"symbol")?Symbol.toStringTag:null,isEnumerable=Object.prototype.propertyIsEnumerable,gPO=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function addNumericSeparator(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||$test.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-$floor(-e):$floor(e);if(n!==e){var o=String(n),a=$slice.call(t,o.length+1);return $replace.call(o,r,"$&_")+"."+$replace.call($replace.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return $replace.call(t,r,"$&_")}var utilInspect=require$$0,inspectCustom=utilInspect.custom,inspectSymbol=isSymbol$1(inspectCustom)?inspectCustom:null,objectInspect=function e(t,r,n,o){var a=r||{};if(has$3(a,"quoteStyle")&&"single"!==a.quoteStyle&&"double"!==a.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(has$3(a,"maxStringLength")&&("number"==typeof a.maxStringLength?a.maxStringLength<0&&a.maxStringLength!==1/0:null!==a.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var i=!has$3(a,"customInspect")||a.customInspect;if("boolean"!=typeof i&&"symbol"!==i)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(has$3(a,"indent")&&null!==a.indent&&"\t"!==a.indent&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(has$3(a,"numericSeparator")&&"boolean"!=typeof a.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=a.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return inspectString(t,a);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var l=String(t);return s?addNumericSeparator(t,l):l}if("bigint"==typeof t){var c=String(t)+"n";return s?addNumericSeparator(t,c):c}var u=void 0===a.depth?5:a.depth;if(void 0===n&&(n=0),n>=u&&u>0&&"object"===_typeof2(t))return isArray$7(t)?"[Array]":"[Object]";var d=getIndent(a,n);if(void 0===o)o=[];else if(indexOf(o,t)>=0)return"[Circular]";function p(t,r,i){if(r&&(o=$arrSlice.call(o)).push(r),i){var s={depth:a.depth};return has$3(a,"quoteStyle")&&(s.quoteStyle=a.quoteStyle),e(t,s,n+1,o)}return e(t,a,n+1,o)}if("function"==typeof t&&!isRegExp$1(t)){var f=nameOf(t),h=arrObjKeys(t,p);return"[Function"+(f?": "+f:" (anonymous)")+"]"+(h.length>0?" { "+$join.call(h,", ")+" }":"")}if(isSymbol$1(t)){var v=hasShammedSymbols?$replace.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):symToString.call(t);return"object"!==_typeof2(t)||hasShammedSymbols?v:markBoxed(v)}if(isElement$1(t)){for(var g="<"+$toLowerCase.call(String(t.nodeName)),m=t.attributes||[],b=0;b<m.length;b++)g+=" "+m[b].name+"="+wrapQuotes(quote(m[b].value),"double",a);return g+=">",t.childNodes&&t.childNodes.length&&(g+="..."),g+="</"+$toLowerCase.call(String(t.nodeName))+">"}if(isArray$7(t)){if(0===t.length)return"[]";var A=arrObjKeys(t,p);return d&&!singleLineValues(A)?"["+indentedJoin(A,d)+"]":"[ "+$join.call(A,", ")+" ]"}if(isError(t)){var y=arrObjKeys(t,p);return"cause"in Error.prototype||!("cause"in t)||isEnumerable.call(t,"cause")?0===y.length?"["+String(t)+"]":"{ ["+String(t)+"] "+$join.call(y,", ")+" }":"{ ["+String(t)+"] "+$join.call($concat.call("[cause]: "+p(t.cause),y),", ")+" }"}if("object"===_typeof2(t)&&i){if(inspectSymbol&&"function"==typeof t[inspectSymbol]&&utilInspect)return utilInspect(t,{depth:u-n});if("symbol"!==i&&"function"==typeof t.inspect)return t.inspect()}if(isMap(t)){var x=[];return mapForEach&&mapForEach.call(t,(function(e,r){x.push(p(r,t,!0)+" => "+p(e,t))})),collectionOf("Map",mapSize.call(t),x,d)}if(isSet(t)){var w=[];return setForEach&&setForEach.call(t,(function(e){w.push(p(e,t))})),collectionOf("Set",setSize.call(t),w,d)}if(isWeakMap(t))return weakCollectionOf("WeakMap");if(isWeakSet(t))return weakCollectionOf("WeakSet");if(isWeakRef(t))return weakCollectionOf("WeakRef");if(isNumber$1(t))return markBoxed(p(Number(t)));if(isBigInt(t))return markBoxed(p(bigIntValueOf.call(t)));if(isBoolean$1(t))return markBoxed(booleanValueOf.call(t));if(isString$1(t))return markBoxed(p(String(t)));if(!isDate$1(t)&&!isRegExp$1(t)){var C=arrObjKeys(t,p),k=gPO?gPO(t)===Object.prototype:t instanceof Object||t.constructor===Object,_=t instanceof Object?"":"null prototype",S=!k&&toStringTag&&Object(t)===t&&toStringTag in t?$slice.call(toStr(t),8,-1):_?"Object":"",B=(k||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(S||_?"["+$join.call($concat.call([],S||[],_||[]),": ")+"] ":"");return 0===C.length?B+"{}":d?B+"{"+indentedJoin(C,d)+"}":B+"{ "+$join.call(C,", ")+" }"}return String(t)};function wrapQuotes(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function quote(e){return $replace.call(String(e),/"/g,"&quot;")}function isArray$7(e){return!("[object Array]"!==toStr(e)||toStringTag&&"object"===_typeof2(e)&&toStringTag in e)}function isDate$1(e){return!("[object Date]"!==toStr(e)||toStringTag&&"object"===_typeof2(e)&&toStringTag in e)}function isRegExp$1(e){return!("[object RegExp]"!==toStr(e)||toStringTag&&"object"===_typeof2(e)&&toStringTag in e)}function isError(e){return!("[object Error]"!==toStr(e)||toStringTag&&"object"===_typeof2(e)&&toStringTag in e)}function isString$1(e){return!("[object String]"!==toStr(e)||toStringTag&&"object"===_typeof2(e)&&toStringTag in e)}function isNumber$1(e){return!("[object Number]"!==toStr(e)||toStringTag&&"object"===_typeof2(e)&&toStringTag in e)}function isBoolean$1(e){return!("[object Boolean]"!==toStr(e)||toStringTag&&"object"===_typeof2(e)&&toStringTag in e)}function isSymbol$1(t){if(hasShammedSymbols)return t&&"object"===_typeof2(t)&&t instanceof Symbol;if("symbol"===_typeof2(t))return!0;if(!t||"object"!==_typeof2(t)||!symToString)return!1;try{return symToString.call(t),!0}catch(e){}return!1}function isBigInt(t){if(!t||"object"!==_typeof2(t)||!bigIntValueOf)return!1;try{return bigIntValueOf.call(t),!0}catch(e){}return!1}var hasOwn=Object.prototype.hasOwnProperty||function(e){return e in this};function has$3(e,t){return hasOwn.call(e,t)}function toStr(e){return objectToString$2.call(e)}function nameOf(e){if(e.name)return e.name;var t=$match.call(functionToString.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function indexOf(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function isMap(t){if(!mapSize||!t||"object"!==_typeof2(t))return!1;try{mapSize.call(t);try{setSize.call(t)}catch(s){return!0}return t instanceof Map}catch(e){}return!1}function isWeakMap(t){if(!weakMapHas||!t||"object"!==_typeof2(t))return!1;try{weakMapHas.call(t,weakMapHas);try{weakSetHas.call(t,weakSetHas)}catch(s){return!0}return t instanceof WeakMap}catch(e){}return!1}function isWeakRef(t){if(!weakRefDeref||!t||"object"!==_typeof2(t))return!1;try{return weakRefDeref.call(t),!0}catch(e){}return!1}function isSet(t){if(!setSize||!t||"object"!==_typeof2(t))return!1;try{setSize.call(t);try{mapSize.call(t)}catch(m){return!0}return t instanceof Set}catch(e){}return!1}function isWeakSet(t){if(!weakSetHas||!t||"object"!==_typeof2(t))return!1;try{weakSetHas.call(t,weakSetHas);try{weakMapHas.call(t,weakMapHas)}catch(s){return!0}return t instanceof WeakSet}catch(e){}return!1}function isElement$1(e){return!(!e||"object"!==_typeof2(e))&&("undefined"!=typeof HTMLElement&&e instanceof HTMLElement||"string"==typeof e.nodeName&&"function"==typeof e.getAttribute)}function inspectString(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return inspectString($slice.call(e,0,t.maxStringLength),t)+n}return wrapQuotes($replace.call($replace.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lowbyte),"single",t)}function lowbyte(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+$toUpperCase.call(t.toString(16))}function markBoxed(e){return"Object("+e+")"}function weakCollectionOf(e){return e+" { ? }"}function collectionOf(e,t,r,n){return e+" ("+t+") {"+(n?indentedJoin(r,n):$join.call(r,", "))+"}"}function singleLineValues(e){for(var t=0;t<e.length;t++)if(indexOf(e[t],"\n")>=0)return!1;return!0}function getIndent(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=$join.call(Array(e.indent+1)," ")}return{base:r,prev:$join.call(Array(t+1),r)}}function indentedJoin(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+$join.call(e,","+r)+"\n"+t.prev}function arrObjKeys(e,t){var r=isArray$7(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=has$3(e,o)?t(e[o],e):""}var a,i="function"==typeof gOPS?gOPS(e):[];if(hasShammedSymbols){a={};for(var s=0;s<i.length;s++)a["$"+i[s]]=i[s]}for(var l in e)has$3(e,l)&&(r&&String(Number(l))===l&&l<e.length||hasShammedSymbols&&a["$"+l]instanceof Symbol||($test.call(/[^\w$]/,l)?n.push(t(l,e)+": "+t(e[l],e)):n.push(l+": "+t(e[l],e))));if("function"==typeof gOPS)for(var c=0;c<i.length;c++)isEnumerable.call(e,i[c])&&n.push("["+t(i[c])+"]: "+t(e[i[c]],e));return n}var GetIntrinsic=getIntrinsic,callBound=callBound$1,inspect=objectInspect,$TypeError=GetIntrinsic("%TypeError%"),$WeakMap=GetIntrinsic("%WeakMap%",!0),$Map=GetIntrinsic("%Map%",!0),$weakMapGet=callBound("WeakMap.prototype.get",!0),$weakMapSet=callBound("WeakMap.prototype.set",!0),$weakMapHas=callBound("WeakMap.prototype.has",!0),$mapGet=callBound("Map.prototype.get",!0),$mapSet=callBound("Map.prototype.set",!0),$mapHas=callBound("Map.prototype.has",!0),listGetNode=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r},listGet=function(e,t){var r=listGetNode(e,t);return r&&r.value},listSet=function(e,t,r){var n=listGetNode(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},listHas=function(e,t){return!!listGetNode(e,t)},sideChannel=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new $TypeError("Side channel does not contain "+inspect(e))},get:function(n){if($WeakMap&&n&&("object"===_typeof2(n)||"function"==typeof n)){if(e)return $weakMapGet(e,n)}else if($Map){if(t)return $mapGet(t,n)}else if(r)return listGet(r,n)},has:function(n){if($WeakMap&&n&&("object"===_typeof2(n)||"function"==typeof n)){if(e)return $weakMapHas(e,n)}else if($Map){if(t)return $mapHas(t,n)}else if(r)return listHas(r,n);return!1},set:function(n,o){$WeakMap&&n&&("object"===_typeof2(n)||"function"==typeof n)?(e||(e=new $WeakMap),$weakMapSet(e,n,o)):$Map?(t||(t=new $Map),$mapSet(t,n,o)):(r||(r={key:{},next:null}),listSet(r,n,o))}};return n},replace=String.prototype.replace,percentTwenties=/%20/g,Format={RFC1738:"RFC1738",RFC3986:"RFC3986"},formats$3={default:Format.RFC3986,formatters:{RFC1738:function(e){return replace.call(e,percentTwenties,"+")},RFC3986:function(e){return String(e)}},RFC1738:Format.RFC1738,RFC3986:Format.RFC3986},formats$2=formats$3,has$2=Object.prototype.hasOwnProperty,isArray$6=Array.isArray,hexTable=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),compactQueue=function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(isArray$6(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);t.obj[t.prop]=n}}},arrayToObject=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r},merge$3=function e(t,r,n){if(!r)return t;if("object"!==_typeof2(r)){if(isArray$6(t))t.push(r);else{if(!t||"object"!==_typeof2(t))return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!has$2.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!==_typeof2(t))return[t].concat(r);var o=t;return isArray$6(t)&&!isArray$6(r)&&(o=arrayToObject(t,n)),isArray$6(t)&&isArray$6(r)?(r.forEach((function(r,o){if(has$2.call(t,o)){var a=t[o];a&&"object"===_typeof2(a)&&r&&"object"===_typeof2(r)?t[o]=e(a,r,n):t.push(r)}else t[o]=r})),t):Object.keys(r).reduce((function(t,o){var a=r[o];return has$2.call(t,o)?t[o]=e(t[o],a,n):t[o]=a,t}),o)},assign$1=function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},decode$1=function(t,r,n){var o=t.replace(/\+/g," ");if("iso-8859-1"===n)return o.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(o)}catch(e){return o}},encode=function(e,t,r,n,o){if(0===e.length)return e;var a=e;if("symbol"===_typeof2(e)?a=Symbol.prototype.toString.call(e):"string"!=typeof e&&(a=String(e)),"iso-8859-1"===r)return escape(a).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var i="",s=0;s<a.length;++s){var l=a.charCodeAt(s);45===l||46===l||95===l||126===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||o===formats$2.RFC1738&&(40===l||41===l)?i+=a.charAt(s):l<128?i+=hexTable[l]:l<2048?i+=hexTable[192|l>>6]+hexTable[128|63&l]:l<55296||l>=57344?i+=hexTable[224|l>>12]+hexTable[128|l>>6&63]+hexTable[128|63&l]:(s+=1,l=65536+((1023&l)<<10|1023&a.charCodeAt(s)),i+=hexTable[240|l>>18]+hexTable[128|l>>12&63]+hexTable[128|l>>6&63]+hexTable[128|63&l])}return i},compact=function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],a=o.obj[o.prop],i=Object.keys(a),s=0;s<i.length;++s){var l=i[s],c=a[l];"object"===_typeof2(c)&&null!==c&&-1===r.indexOf(c)&&(t.push({obj:a,prop:l}),r.push(c))}return compactQueue(t),e},isRegExp=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},isBuffer$2=function(e){return!(!e||"object"!==_typeof2(e))&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},combine=function(e,t){return[].concat(e,t)},maybeMap=function(e,t){if(isArray$6(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},utils$2={arrayToObject:arrayToObject,assign:assign$1,combine:combine,compact:compact,decode:decode$1,encode:encode,isBuffer:isBuffer$2,isRegExp:isRegExp,maybeMap:maybeMap,merge:merge$3},getSideChannel=sideChannel,utils$1=utils$2,formats$1=formats$3,has$1=Object.prototype.hasOwnProperty,arrayPrefixGenerators={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},isArray$5=Array.isArray,push=Array.prototype.push,pushToArray=function(e,t){push.apply(e,isArray$5(t)?t:[t])},toISO=Date.prototype.toISOString,defaultFormat=formats$1.default,defaults$1={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:utils$1.encode,encodeValuesOnly:!1,format:defaultFormat,formatter:formats$1.formatters[defaultFormat],indices:!1,serializeDate:function(e){return toISO.call(e)},skipNulls:!1,strictNullHandling:!1},isNonNullishPrimitive=function(e){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e||"symbol"===_typeof2(e)||"bigint"==typeof e},sentinel={},stringify$1=function e(t,r,n,o,a,i,s,l,c,u,d,p,f,h,v,g){for(var m=t,b=g,A=0,y=!1;void 0!==(b=b.get(sentinel))&&!y;){var x=b.get(t);if(A+=1,void 0!==x){if(x===A)throw new RangeError("Cyclic object value");y=!0}void 0===b.get(sentinel)&&(A=0)}if("function"==typeof l?m=l(r,m):m instanceof Date?m=d(m):"comma"===n&&isArray$5(m)&&(m=utils$1.maybeMap(m,(function(e){return e instanceof Date?d(e):e}))),null===m){if(a)return s&&!h?s(r,defaults$1.encoder,v,"key",p):r;m=""}if(isNonNullishPrimitive(m)||utils$1.isBuffer(m))return s?[f(h?r:s(r,defaults$1.encoder,v,"key",p))+"="+f(s(m,defaults$1.encoder,v,"value",p))]:[f(r)+"="+f(String(m))];var w,C=[];if(void 0===m)return C;if("comma"===n&&isArray$5(m))h&&s&&(m=utils$1.maybeMap(m,s)),w=[{value:m.length>0?m.join(",")||null:void 0}];else if(isArray$5(l))w=l;else{var k=Object.keys(m);w=c?k.sort(c):k}for(var _=o&&isArray$5(m)&&1===m.length?r+"[]":r,S=0;S<w.length;++S){var B=w[S],E="object"===_typeof2(B)&&void 0!==B.value?B.value:m[B];if(!i||null!==E){var T=isArray$5(m)?"function"==typeof n?n(_,B):_:_+(u?"."+B:"["+B+"]");g.set(t,A);var P=getSideChannel();P.set(sentinel,g),pushToArray(C,e(E,T,n,o,a,i,"comma"===n&&h&&isArray$5(m)?null:s,l,c,u,d,p,f,h,v,P))}}return C},normalizeStringifyOptions=function(e){if(!e)return defaults$1;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||defaults$1.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=formats$1.default;if(void 0!==e.format){if(!has$1.call(formats$1.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n=formats$1.formatters[r],o=defaults$1.filter;return("function"==typeof e.filter||isArray$5(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:defaults$1.addQueryPrefix,allowDots:void 0===e.allowDots?defaults$1.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:defaults$1.charsetSentinel,delimiter:void 0===e.delimiter?defaults$1.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:defaults$1.encode,encoder:"function"==typeof e.encoder?e.encoder:defaults$1.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:defaults$1.encodeValuesOnly,filter:o,format:r,formatter:n,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:defaults$1.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:defaults$1.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:defaults$1.strictNullHandling}},stringify_1=function(e,t){var r,n=e,o=normalizeStringifyOptions(t);"function"==typeof o.filter?n=(0,o.filter)("",n):isArray$5(o.filter)&&(r=o.filter);var a,i=[];if("object"!==_typeof2(n)||null===n)return"";a=t&&t.arrayFormat in arrayPrefixGenerators?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var s=arrayPrefixGenerators[a];if(t&&"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var l="comma"===s&&t&&t.commaRoundTrip;r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var c=getSideChannel(),u=0;u<r.length;++u){var d=r[u];o.skipNulls&&null===n[d]||pushToArray(i,stringify$1(n[d],d,s,l,o.strictNullHandling,o.skipNulls,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,c))}var p=i.join(o.delimiter),f=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?f+="utf8=%26%2310003%3B&":f+="utf8=%E2%9C%93&"),p.length>0?f+p:""},utils=utils$2,has=Object.prototype.hasOwnProperty,isArray$4=Array.isArray,defaults={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:utils.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},interpretNumericEntities=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},parseArrayValue=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},isoSentinel="utf8=%26%2310003%3B",charsetSentinel="utf8=%E2%9C%93",parseValues=function(e,t){var r,n={__proto__:null},o=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,a=t.parameterLimit===1/0?void 0:t.parameterLimit,i=o.split(t.delimiter,a),s=-1,l=t.charset;if(t.charsetSentinel)for(r=0;r<i.length;++r)0===i[r].indexOf("utf8=")&&(i[r]===charsetSentinel?l="utf-8":i[r]===isoSentinel&&(l="iso-8859-1"),s=r,r=i.length);for(r=0;r<i.length;++r)if(r!==s){var c,u,d=i[r],p=d.indexOf("]="),f=-1===p?d.indexOf("="):p+1;-1===f?(c=t.decoder(d,defaults.decoder,l,"key"),u=t.strictNullHandling?null:""):(c=t.decoder(d.slice(0,f),defaults.decoder,l,"key"),u=utils.maybeMap(parseArrayValue(d.slice(f+1),t),(function(e){return t.decoder(e,defaults.decoder,l,"value")}))),u&&t.interpretNumericEntities&&"iso-8859-1"===l&&(u=interpretNumericEntities(u)),d.indexOf("[]=")>-1&&(u=isArray$4(u)?[u]:u),has.call(n,c)?n[c]=utils.combine(n[c],u):n[c]=u}return n},parseObject=function(e,t,r,n){for(var o=n?t:parseArrayValue(t,r),a=e.length-1;a>=0;--a){var i,s=e[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var l="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=parseInt(l,10);r.parseArrays||""!==l?!isNaN(c)&&s!==l&&String(c)===l&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(i=[])[c]=o:"__proto__"!==l&&(i[l]=o):i={0:o}}o=i}return o},parseKeys=function(e,t,r,n){if(e){var o=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,i=r.depth>0&&/(\[[^[\]]*])/.exec(o),s=i?o.slice(0,i.index):o,l=[];if(s){if(!r.plainObjects&&has.call(Object.prototype,s)&&!r.allowPrototypes)return;l.push(s)}for(var c=0;r.depth>0&&null!==(i=a.exec(o))&&c<r.depth;){if(c+=1,!r.plainObjects&&has.call(Object.prototype,i[1].slice(1,-1))&&!r.allowPrototypes)return;l.push(i[1])}return i&&l.push("["+o.slice(i.index)+"]"),parseObject(l,t,r,n)}},normalizeParseOptions=function(e){if(!e)return defaults;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?defaults.charset:e.charset;return{allowDots:void 0===e.allowDots?defaults.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:defaults.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:defaults.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:defaults.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:defaults.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:defaults.comma,decoder:"function"==typeof e.decoder?e.decoder:defaults.decoder,delimiter:"string"==typeof e.delimiter||utils.isRegExp(e.delimiter)?e.delimiter:defaults.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:defaults.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:defaults.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:defaults.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:defaults.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:defaults.strictNullHandling}},parse$2=function(e,t){var r=normalizeParseOptions(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var n="string"==typeof e?parseValues(e,r):e,o=r.plainObjects?Object.create(null):{},a=Object.keys(n),i=0;i<a.length;++i){var s=a[i],l=parseKeys(s,n[s],r,"string"==typeof e);o=utils.merge(o,l,r)}return!0===r.allowSparse?o:utils.compact(o)},stringify=stringify_1,parse$1=parse$2,formats=formats$3,lib={formats:formats,parse:parse$1,stringify:stringify},g="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},support={searchParams:"URLSearchParams"in g,iterable:"Symbol"in g&&"iterator"in Symbol,blob:"FileReader"in g&&"Blob"in g&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in g,arrayBuffer:"ArrayBuffer"in g};function isDataView(e){return e&&DataView.prototype.isPrototypeOf(e)}if(support.arrayBuffer)var viewClasses=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],isArrayBufferView=ArrayBuffer.isView||function(e){return e&&viewClasses.indexOf(Object.prototype.toString.call(e))>-1};function normalizeName(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function normalizeValue(e){return"string"!=typeof e&&(e=String(e)),e}function iteratorFor(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return support.iterable&&(t[Symbol.iterator]=function(){return t}),t}function Headers(e){this.map={},e instanceof Headers?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function consumed(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function fileReaderReady(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function readBlobAsArrayBuffer(e){var t=new FileReader,r=fileReaderReady(t);return t.readAsArrayBuffer(e),r}function readBlobAsText(e){var t=new FileReader,r=fileReaderReady(t),n=/charset=([A-Za-z0-9_-]+)/.exec(e.type),o=n?n[1]:"utf-8";return t.readAsText(e,o),r}function readArrayBufferAsText(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}function bufferClone(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Body(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:support.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:support.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:support.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():support.arrayBuffer&&support.blob&&isDataView(e)?(this._bodyArrayBuffer=bufferClone(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):support.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||isArrayBufferView(e))?this._bodyArrayBuffer=bufferClone(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):support.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},support.blob&&(this.blob=function(){var e=consumed(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=consumed(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if(support.blob)return this.blob().then(readBlobAsArrayBuffer);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e=consumed(this);if(e)return e;if(this._bodyBlob)return readBlobAsText(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},support.formData&&(this.formData=function(){return this.text().then(decode)}),this.json=function(){return this.text().then(JSON.parse)},this}Headers.prototype.append=function(e,t){e=normalizeName(e),t=normalizeValue(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},Headers.prototype.delete=function(e){delete this.map[normalizeName(e)]},Headers.prototype.get=function(e){return e=normalizeName(e),this.has(e)?this.map[e]:null},Headers.prototype.has=function(e){return this.map.hasOwnProperty(normalizeName(e))},Headers.prototype.set=function(e,t){this.map[normalizeName(e)]=normalizeValue(t)},Headers.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},Headers.prototype.keys=function(){var e=[];return this.forEach((function(t,r){e.push(r)})),iteratorFor(e)},Headers.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),iteratorFor(e)},Headers.prototype.entries=function(){var e=[];return this.forEach((function(t,r){e.push([r,t])})),iteratorFor(e)},support.iterable&&(Headers.prototype[Symbol.iterator]=Headers.prototype.entries);var methods=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function normalizeMethod(e){var t=e.toUpperCase();return methods.indexOf(t)>-1?t:e}function Request(e,t){if(!(this instanceof Request))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r=(t=t||{}).body;if(e instanceof Request){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new Headers(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new Headers(t.headers)),this.method=normalizeMethod(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in g)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var n=/([?&])_=[^&]*/;if(n.test(this.url))this.url=this.url.replace(n,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function decode(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(o))}})),t}function parseHeaders(e){var t=new Headers;return e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();try{t.append(n,o)}catch(error){console.warn("Response "+error.message)}}})),t}function Response(e,t){if(!(this instanceof Response))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new Headers(t.headers),this.url=t.url||"",this._initBody(e)}Request.prototype.clone=function(){return new Request(this,{body:this._bodyInit})},Body.call(Request.prototype),Body.call(Response.prototype),Response.prototype.clone=function(){return new Response(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Headers(this.headers),url:this.url})},Response.error=function(){var e=new Response(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var redirectStatuses=[301,302,303,307,308];Response.redirect=function(e,t){if(-1===redirectStatuses.indexOf(t))throw new RangeError("Invalid status code");return new Response(null,{status:t,headers:{location:e}})};var DOMException=g.DOMException;try{new DOMException}catch(err){DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},DOMException.prototype=Object.create(Error.prototype),DOMException.prototype.constructor=DOMException}function fetch$1(t,r){return new Promise((function(n,o){var a=new Request(t,r);if(a.signal&&a.signal.aborted)return o(new DOMException("Aborted","AbortError"));var i=new XMLHttpRequest;function s(){i.abort()}if(i.onload=function(){var e={status:i.status,statusText:i.statusText,headers:parseHeaders(i.getAllResponseHeaders()||"")};e.url="responseURL"in i?i.responseURL:e.headers.get("X-Request-URL");var t="response"in i?i.response:i.responseText;setTimeout((function(){n(new Response(t,e))}),0)},i.onerror=function(){setTimeout((function(){o(new TypeError("Network request failed"))}),0)},i.ontimeout=function(){setTimeout((function(){o(new TypeError("Network request failed"))}),0)},i.onabort=function(){setTimeout((function(){o(new DOMException("Aborted","AbortError"))}),0)},i.open(a.method,function(t){try{return""===t&&g.location.href?g.location.href:t}catch(e){return t}}(a.url),!0),"include"===a.credentials?i.withCredentials=!0:"omit"===a.credentials&&(i.withCredentials=!1),"responseType"in i&&(support.blob?i.responseType="blob":support.arrayBuffer&&(i.responseType="arraybuffer")),r&&"object"===_typeof2(r.headers)&&!(r.headers instanceof Headers||g.Headers&&r.headers instanceof g.Headers)){var l=[];Object.getOwnPropertyNames(r.headers).forEach((function(e){l.push(normalizeName(e)),i.setRequestHeader(e,normalizeValue(r.headers[e]))})),a.headers.forEach((function(e,t){-1===l.indexOf(t)&&i.setRequestHeader(t,e)}))}else a.headers.forEach((function(e,t){i.setRequestHeader(t,e)}));a.signal&&(a.signal.addEventListener("abort",s),i.onreadystatechange=function(){4===i.readyState&&a.signal.removeEventListener("abort",s)}),i.send(void 0===a._bodyInit?null:a._bodyInit)}))}function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _objectSpread2(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach((function(t){_defineProperty(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _typeof$1(e){return _typeof$1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$1(e)}function _classCallCheck$1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _createClass(e,t,r){return t&&_defineProperties(e.prototype,t),r&&_defineProperties(e,r),e}function _defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_setPrototypeOf$1(e,t)}function _getPrototypeOf$1(e){return _getPrototypeOf$1=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_getPrototypeOf$1(e)}function _setPrototypeOf$1(e,t){return _setPrototypeOf$1=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_setPrototypeOf$1(e,t)}function _isNativeReflectConstruct$1(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function _construct$1(e,t,r){return _construct$1=_isNativeReflectConstruct$1()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&_setPrototypeOf$1(o,r.prototype),o},_construct$1.apply(null,arguments)}function _isNativeFunction$1(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function _wrapNativeSuper$1(e){var t="function"==typeof Map?new Map:void 0;return _wrapNativeSuper$1=function(e){if(null===e||!_isNativeFunction$1(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return _construct$1(e,arguments,_getPrototypeOf$1(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf$1(r,e)},_wrapNativeSuper$1(e)}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _possibleConstructorReturn(e,t){if(t&&("object"===_typeof2(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(e)}function _createSuper(e){var t=_isNativeReflectConstruct$1();return function(){var r,n=_getPrototypeOf$1(e);if(t){var o=_getPrototypeOf$1(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return _possibleConstructorReturn(this,r)}}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function compose(e){if(!Array.isArray(e))throw new TypeError("Middlewares must be an array!");for(var t=e.length,r=0;r<t;r++)if("function"!=typeof e[r])throw new TypeError("Middleware must be componsed of function");return function(t,r){var n=-1;return function o(a){if(a<=n)return Promise.reject(new Error("next() should not be called multiple times in one middleware!"));n=a;var i=e[a]||r;if(!i)return Promise.resolve();try{return Promise.resolve(i(t,(function(){return o(a+1)})))}catch(err){return Promise.reject(err)}}(0)}}fetch$1.polyfill=!0,g.fetch||(g.fetch=fetch$1,g.Headers=Headers,g.Request=Request,g.Response=Response),self.fetch.bind(self);var Onion=function(){function e(t){if(_classCallCheck$1(this,e),!Array.isArray(t))throw new TypeError("Default middlewares must be an array!");this.defaultMiddlewares=_toConsumableArray(t),this.middlewares=[]}return _createClass(e,[{key:"use",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{global:!1,core:!1,defaultInstance:!1},n=!1,o=!1,a=!1;"number"==typeof r?(process&&process.env,n=!0,o=!1):"object"===_typeof$1(r)&&r&&(o=r.global||!1,n=r.core||!1,a=r.defaultInstance||!1),o?e.globalMiddlewares.splice(e.globalMiddlewares.length-e.defaultGlobalMiddlewaresLength,0,t):n?e.coreMiddlewares.splice(e.coreMiddlewares.length-e.defaultCoreMiddlewaresLength,0,t):a?this.defaultMiddlewares.push(t):this.middlewares.push(t)}},{key:"execute",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return compose([].concat(_toConsumableArray(this.middlewares),_toConsumableArray(this.defaultMiddlewares),_toConsumableArray(e.globalMiddlewares),_toConsumableArray(e.coreMiddlewares)))(t)}}]),e}();Onion.globalMiddlewares=[],Onion.defaultGlobalMiddlewaresLength=0,Onion.coreMiddlewares=[],Onion.defaultCoreMiddlewaresLength=0;var MapCache$1=function(){function e(t){_classCallCheck$1(this,e),this.cache=new Map,this.timer={},this.extendOptions(t)}return _createClass(e,[{key:"extendOptions",value:function(e){this.maxCache=e.maxCache||0}},{key:"get",value:function(e){return this.cache.get(JSON.stringify(e))}},{key:"set",value:function(e,t){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;if(this.maxCache>0&&this.cache.size>=this.maxCache){var o=_toConsumableArray(this.cache.keys())[0];this.cache.delete(o),this.timer[o]&&clearTimeout(this.timer[o])}var a=JSON.stringify(e);this.cache.set(a,t),n>0&&(this.timer[a]=setTimeout((function(){r.cache.delete(a),delete r.timer[a]}),n))}},{key:"delete",value:function(e){var t=JSON.stringify(e);return delete this.timer[t],this.cache.delete(t)}},{key:"clear",value:function(){return this.timer={},this.cache.clear()}}]),e}(),RequestError=function(e){_inherits(r,e);var t=_createSuper(r);function r(e,n){var o,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"RequestError";return _classCallCheck$1(this,r),(o=t.call(this,e)).name="RequestError",o.request=n,o.type=a,o}return r}(_wrapNativeSuper$1(Error)),ResponseError=function(e){_inherits(r,e);var t=_createSuper(r);function r(e,n,o,a){var i,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"ResponseError";return _classCallCheck$1(this,r),(i=t.call(this,n||e.statusText)).name="ResponseError",i.data=o,i.response=e,i.request=a,i.type=s,i}return r}(_wrapNativeSuper$1(Error));function readerGBK(e){return new Promise((function(t,r){var n=new FileReader;n.onload=function(){t(n.result)},n.onerror=r,n.readAsText(e,"GBK")}))}function safeJsonParse(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;try{return JSON.parse(t)}catch(e){if(r)throw new ResponseError(n,"JSON.parse fail",t,o,"ParseError")}return t}function timeout2Throw(e,t,r){return new Promise((function(n,o){setTimeout((function(){o(new RequestError(t||"timeout of ".concat(e,"ms exceeded"),r,"Timeout"))}),e)}))}function cancel2Throw(e){return new Promise((function(t,r){e.cancelToken&&e.cancelToken.promise.then((function(e){r(e)}))}))}var toString$1=Object.prototype.toString;function getEnv(){var e;return"undefined"!=typeof process&&"[object process]"===toString$1.call(process)&&(e="NODE"),"undefined"!=typeof XMLHttpRequest&&(e="BROWSER"),e}function isArray$3(e){return"object"===_typeof$1(e)&&"[object Array]"===Object.prototype.toString.call(e)}function isURLSearchParams(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}function isDate(e){return"object"===_typeof$1(e)&&"[object Date]"===Object.prototype.toString.call(e)}function isObject$4(e){return null!==e&&"object"===_typeof$1(e)}function forEach2ObjArr(e,t){if(e)if("object"!==_typeof$1(e)&&(e=[e]),isArray$3(e))for(var r=0;r<e.length;r++)t.call(null,e[r],r,e);else for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.call(null,e[n],n,e)}function getParamObject(e){return isURLSearchParams(e)?lib.parse(e.toString(),{strictNullHandling:!0}):"string"==typeof e?[e]:e}function reqStringify(e){return lib.stringify(e,{arrayFormat:"repeat",strictNullHandling:!0})}function mergeRequestOptions(e,t){return _objectSpread2(_objectSpread2(_objectSpread2({},e),t),{},{headers:_objectSpread2(_objectSpread2({},e.headers),t.headers),params:_objectSpread2(_objectSpread2({},getParamObject(e.params)),getParamObject(t.params)),method:(t.method||e.method||"get").toLowerCase()})}var addfix=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.prefix,n=t.suffix;return r&&(e="".concat(r).concat(e)),n&&(e="".concat(e).concat(n)),{url:e,options:t}},warnedCoreType=!1;function __defaultValidateCache(e,t){var r=t.method;return"get"===(void 0===r?"get":r).toLowerCase()}function fetchMiddleware(e,t){if(!e)return t();var r=e.req,n=(r=void 0===r?{}:r).options,o=void 0===n?{}:n,a=r.url,i=void 0===a?"":a,s=e.cache,l=e.responseInterceptors,c=o.timeout,u=void 0===c?0:c,d=o.timeoutMessage,p=o.__umiRequestCoreType__,f=void 0===p?"normal":p,h=o.useCache,v=void 0!==h&&h,g=o.method,m=void 0===g?"get":g,b=o.params,A=o.ttl,y=o.validateCache,x=void 0===y?__defaultValidateCache:y;if("normal"!==f)return process&&process.env,t();var w=fetch;if(!w)throw new Error("Global fetch not exist!");var C,k="BROWSER"===getEnv(),_=x(i,o)&&v&&k;if(_){var S=s.get({url:i,params:b,method:m});if(S)return(S=S.clone()).useCache=!0,e.res=S,t()}return C=u>0?Promise.race([cancel2Throw(o),w(i,o),timeout2Throw(u,d,e.req)]):Promise.race([cancel2Throw(o),w(i,o)]),l.forEach((function(e){C=C.then((function(t){var r="function"==typeof t.clone?t.clone():t;return e(r,o)}))})),C.then((function(r){if(_&&200===r.status){var n=r.clone();n.useCache=!0,s.set({url:i,params:b,method:m},n,A)}return e.res=r,t()}))}function parseResponseMiddleware(t,r){var n;return r().then((function(){if(t){var r=t.res,o=void 0===r?{}:r,a=t.req,i=void 0===a?{}:a,s=(i||{}).options,l=(s=void 0===s?{}:s).responseType,c=void 0===l?"json":l,u=s.charset,d=void 0===u?"utf8":u;s.getResponse;var p=s.throwErrIfParseFail,f=void 0!==p&&p,h=s.parseResponse;if((void 0===h||h)&&o&&o.clone){if((n="BROWSER"===getEnv()?o.clone():o).useCache=o.useCache||!1,"gbk"===d)try{return o.blob().then(readerGBK).then((function(e){return safeJsonParse(e,!1,n,i)}))}catch(e){throw new ResponseError(n,e.message,null,i,"ParseError")}else if("json"===c)return o.text().then((function(e){return safeJsonParse(e,f,n,i)}));try{return o[c]()}catch(e){throw new ResponseError(n,"responseType not support",null,i,"ParseError")}}}})).then((function(e){if(t){t.res;var r=t.req,o=void 0===r?{}:r,a=(o||{}).options,i=(a=void 0===a?{}:a).getResponse,s=void 0!==i&&i;if(n){if(n.status>=200&&n.status<300)return s?void(t.res={data:e,response:n}):void(t.res=e);throw new ResponseError(n,"http error",e,o,"HttpError")}}})).catch((function(e){if(e instanceof RequestError||e instanceof ResponseError)throw e;var r=t.req,n=t.res;throw e.request=e.request||r,e.response=e.response||n,e.type=e.type||e.name,e.data=e.data||void 0,e}))}function simplePostMiddleware(e,t){if(!e)return t();var r=e.req,n=(r=void 0===r?{}:r).options,o=void 0===n?{}:n,a=o.method;if(-1===["post","put","patch","delete"].indexOf((void 0===a?"get":a).toLowerCase()))return t();var i=o.requestType,s=void 0===i?"json":i,l=o.data;if(l){var c=Object.prototype.toString.call(l);"[object Object]"===c||"[object Array]"===c?"json"===s?(o.headers=_objectSpread2({Accept:"application/json","Content-Type":"application/json;charset=UTF-8"},o.headers),o.body=JSON.stringify(l)):"form"===s&&(o.headers=_objectSpread2({Accept:"application/json","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},o.headers),o.body=reqStringify(l)):(o.headers=_objectSpread2({Accept:"application/json"},o.headers),o.body=l)}return e.req.options=o,t()}function paramsSerialize(e,t){var r,n;if(e)if(t)r=t(e);else if(isURLSearchParams(e))r=e.toString();else{if(isArray$3(e))n=[],forEach2ObjArr(e,(function(e){null==e?n.push(e):n.push(isObject$4(e)?JSON.stringify(e):e)})),r=reqStringify(n);else n={},forEach2ObjArr(e,(function(e,t){var r=e;null==e?n[t]=e:isDate(e)?r=e.toISOString():isArray$3(e)?r=e:isObject$4(e)&&(r=JSON.stringify(e)),n[t]=r})),r=reqStringify(n)}return r}function simpleGetMiddleware(e,t){if(!e)return t();var r=e.req,n=(r=void 0===r?{}:r).options,o=void 0===n?{}:n,a=o.paramsSerializer,i=o.params,s=e.req,l=(s=void 0===s?{}:s).url,c=void 0===l?"":l;o.method=o.method?o.method.toUpperCase():"GET",o.credentials=o.credentials||"same-origin";var u=paramsSerialize(i,a);if(e.req.originUrl=c,u){var d=-1!==c.indexOf("?")?"&":"?";e.req.url="".concat(c).concat(d).concat(u)}return e.req.options=o,t()}var globalMiddlewares=[simplePostMiddleware,simpleGetMiddleware,parseResponseMiddleware],coreMiddlewares=[fetchMiddleware];Onion.globalMiddlewares=globalMiddlewares,Onion.defaultGlobalMiddlewaresLength=globalMiddlewares.length,Onion.coreMiddlewares=coreMiddlewares,Onion.defaultCoreMiddlewaresLength=coreMiddlewares.length;var Core=function(){function t(e){_classCallCheck$1(this,t),this.onion=new Onion([]),this.fetchIndex=0,this.mapCache=new MapCache$1(e),this.initOptions=e,this.instanceRequestInterceptors=[],this.instanceResponseInterceptors=[]}return _createClass(t,[{key:"use",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{global:!1,core:!1};return this.onion.use(e,t),this}},{key:"extendOptions",value:function(e){this.initOptions=mergeRequestOptions(this.initOptions,e),this.mapCache.extendOptions(e)}},{key:"dealRequestInterceptors",value:function(e){return[].concat(_toConsumableArray(t.requestInterceptors),_toConsumableArray(this.instanceRequestInterceptors)).reduce((function(t,r){return t.then((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.req.url=t.url||e.req.url,e.req.options=t.options||e.req.options,r(e.req.url,e.req.options)}))}),Promise.resolve()).then((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.req.url=t.url||e.req.url,e.req.options=t.options||e.req.options,Promise.resolve()}))}},{key:"request",value:function(r,n){var o=this,a=this.onion,i={req:{url:r,options:_objectSpread2(_objectSpread2({},n),{},{url:r})},res:null,cache:this.mapCache,responseInterceptors:[].concat(_toConsumableArray(t.responseInterceptors),_toConsumableArray(this.instanceResponseInterceptors))};if("string"!=typeof r)throw new Error("url MUST be a string");return new Promise((function(t,r){o.dealRequestInterceptors(i).then((function(){return a.execute(i)})).then((function(){t(i.res)})).catch((function(n){var o=i.req.options.errorHandler;if(o)try{var a=o(n);t(a)}catch(e){r(e)}else r(n)}))}))}}],[{key:"requestUse",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{global:!0};if("function"!=typeof e)throw new TypeError("Interceptor must be function!");r.global?t.requestInterceptors.push(e):this.instanceRequestInterceptors.push(e)}},{key:"responseUse",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{global:!0};if("function"!=typeof e)throw new TypeError("Interceptor must be function!");r.global?t.responseInterceptors.push(e):this.instanceResponseInterceptors.push(e)}}]),t}();function Cancel(e){this.message=e}function CancelToken(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;e((function(e){r.reason||(r.reason=new Cancel(e),t(r.reason))}))}function isCancel(e){return!(!e||!e.__CANCEL__)}Core.requestInterceptors=[addfix],Core.responseInterceptors=[],Cancel.prototype.toString=function(){return this.message?"Cancel: ".concat(this.message):"Cancel"},Cancel.prototype.__CANCEL__=!0,CancelToken.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},CancelToken.source=function(){var e,t=new CancelToken((function(t){e=t}));return{token:t,cancel:e}};var request$1=function(){var e=new Core(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),t=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=mergeRequestOptions(e.initOptions,r);return e.request(t,n)};t.use=e.use.bind(e),t.fetchIndex=e.fetchIndex,t.interceptors={request:{use:Core.requestUse.bind(e)},response:{use:Core.responseUse.bind(e)}};return["get","post","delete","put","patch","head","options","rpc"].forEach((function(e){t[e]=function(r,n){return t(r,_objectSpread2(_objectSpread2({},n),{},{method:e}))}})),t.Cancel=Cancel,t.CancelToken=CancelToken,t.isCancel=isCancel,t.extendOptions=e.extendOptions.bind(e),t.middlewares={instance:e.onion.middlewares,defaultInstance:e.onion.defaultMiddlewares,global:Onion.globalMiddlewares,core:Onion.coreMiddlewares},t},extend=function(e){return request$1(e)};request$1({parseResponse:!1});var request$1$1=request$1({}),whiteUrl=function(){return{"/sysMusicScoreCategories/queryTree":"/eduMusicScore/queryTree","/sysMusicScoreAccompaniment/queryPage":queryString.parse(location.search).platform?"/sysMusicScoreAccompaniment/queryPage":"/eduMusicScore/queryPage","/sysMusicScoreAccompaniment/queryPageLimit":"/eduMusicScore/queryPageLimit","/sysMusicScoreAccompaniment/querySubjectIds":"/eduMusicScore/querySubjectIds"}},assign=make_assign(),create$2=make_create(),trim$1=make_trim(),Global$5="undefined"!=typeof window?window:commonjsGlobal,util$6={assign:assign,create:create$2,trim:trim$1,bind:bind$1,slice:slice$1,each:each$7,map:map$1,pluck:pluck$1,isList:isList$1,isFunction:isFunction$3,isObject:isObject$3,Global:Global$5};function make_assign(){return Object.assign?Object.assign:function(e,t,r,n){for(var o=1;o<arguments.length;o++)each$7(Object(arguments[o]),(function(t,r){e[r]=t}));return e}}function make_create(){if(Object.create)return function(e,t,r,n){var o=slice$1(arguments,1);return assign.apply(this,[Object.create(e)].concat(o))};{function e(){}return function(t,r,n,o){var a=slice$1(arguments,1);return e.prototype=t,assign.apply(this,[new e].concat(a))}}}function make_trim(){return String.prototype.trim?function(e){return String.prototype.trim.call(e)}:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function bind$1(e,t){return function(){return t.apply(e,Array.prototype.slice.call(arguments,0))}}function slice$1(e,t){return Array.prototype.slice.call(e,t||0)}function each$7(e,t){pluck$1(e,(function(e,r){return t(e,r),!1}))}function map$1(e,t){var r=isList$1(e)?[]:{};return pluck$1(e,(function(e,n){return r[n]=t(e,n),!1})),r}function pluck$1(e,t){if(isList$1(e)){for(var r=0;r<e.length;r++)if(t(e[r],r))return e[r]}else for(var n in e)if(e.hasOwnProperty(n)&&t(e[n],n))return e[n]}function isList$1(e){return null!=e&&"function"!=typeof e&&"number"==typeof e.length}function isFunction$3(e){return e&&"[object Function]"==={}.toString.call(e)}function isObject$3(e){return e&&"[object Object]"==={}.toString.call(e)}var util$5=util$6,slice=util$5.slice,pluck=util$5.pluck,each$6=util$5.each,bind=util$5.bind,create$1=util$5.create,isList=util$5.isList,isFunction$2=util$5.isFunction,isObject$2=util$5.isObject,storeEngine={createStore:_createStore},storeAPI={version:"2.0.12",enabled:!1,get:function(e,t){var r=this.storage.read(this._namespacePrefix+e);return this._deserialize(r,t)},set:function(e,t){return void 0===t?this.remove(e):(this.storage.write(this._namespacePrefix+e,this._serialize(t)),t)},remove:function(e){this.storage.remove(this._namespacePrefix+e)},each:function(e){var t=this;this.storage.each((function(r,n){e.call(t,t._deserialize(r),(n||"").replace(t._namespaceRegexp,""))}))},clearAll:function(){this.storage.clearAll()},hasNamespace:function(e){return this._namespacePrefix=="__storejs_"+e+"_"},createStore:function(){return _createStore.apply(this,arguments)},addPlugin:function(e){this._addPlugin(e)},namespace:function(e){return _createStore(this.storage,this.plugins,e)}};function _warn(){var e="undefined"==typeof console?null:console;e&&(e.warn?e.warn:e.log).apply(e,arguments)}function _createStore(t,r,n){n||(n=""),t&&!isList(t)&&(t=[t]),r&&!isList(r)&&(r=[r]);var o=n?"__storejs_"+n+"_":"",a=n?new RegExp("^"+o):null;if(!/^[a-zA-Z0-9_\-]*$/.test(n))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var i={_namespacePrefix:o,_namespaceRegexp:a,_testStorage:function(t){try{var r="__storejs__test__";t.write(r,r);var n=t.read(r)===r;return t.remove(r),n}catch(e){return!1}},_assignPluginFnProp:function(e,t){var r=this[t];this[t]=function(){var t=slice(arguments,0),n=this;var o=[function(){if(r)return each$6(arguments,(function(e,r){t[r]=e})),r.apply(n,t)}].concat(t);return e.apply(n,o)}},_serialize:function(e){return JSON.stringify(e)},_deserialize:function(t,r){if(!t)return r;var n="";try{n=JSON.parse(t)}catch(e){n=t}return void 0!==n?n:r},_addStorage:function(e){this.enabled||this._testStorage(e)&&(this.storage=e,this.enabled=!0)},_addPlugin:function(e){var t=this;if(isList(e))each$6(e,(function(e){t._addPlugin(e)}));else if(!pluck(this.plugins,(function(t){return e===t}))){if(this.plugins.push(e),!isFunction$2(e))throw new Error("Plugins must be function values that return objects");var r=e.call(this);if(!isObject$2(r))throw new Error("Plugins must return an object of function properties");each$6(r,(function(r,n){if(!isFunction$2(r))throw new Error("Bad plugin property: "+n+" from plugin "+e.name+". Plugins should only return functions.");t._assignPluginFnProp(r,n)}))}},addStorage:function(e){_warn("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(e)}},s=create$1(i,storeAPI,{plugins:[]});return s.raw={},each$6(s,(function(e,t){isFunction$2(e)&&(s.raw[t]=bind(s,e))})),each$6(t,(function(e){s._addStorage(e)})),each$6(r,(function(e){s._addPlugin(e)})),s}var util$4=util$6,Global$4=util$4.Global,localStorage_1={name:"localStorage",read:read$5,write:write$5,each:each$5,remove:remove$5,clearAll:clearAll$5};function localStorage$1(){return Global$4.localStorage}function read$5(e){return localStorage$1().getItem(e)}function write$5(e,t){return localStorage$1().setItem(e,t)}function each$5(e){for(var t=localStorage$1().length-1;t>=0;t--){var r=localStorage$1().key(t);e(read$5(r),r)}}function remove$5(e){return localStorage$1().removeItem(e)}function clearAll$5(){return localStorage$1().clear()}var util$3=util$6,Global$3=util$3.Global,oldFFGlobalStorage={name:"oldFF-globalStorage",read:read$4,write:write$4,each:each$4,remove:remove$4,clearAll:clearAll$4},globalStorage=Global$3.globalStorage;function read$4(e){return globalStorage[e]}function write$4(e,t){globalStorage[e]=t}function each$4(e){for(var t=globalStorage.length-1;t>=0;t--){var r=globalStorage.key(t);e(globalStorage[r],r)}}function remove$4(e){return globalStorage.removeItem(e)}function clearAll$4(){each$4((function(e,t){delete globalStorage[e]}))}var util$2=util$6,Global$2=util$2.Global,oldIEUserDataStorage={name:"oldIE-userDataStorage",write:write$3,read:read$3,each:each$3,remove:remove$3,clearAll:clearAll$3},storageName="storejs",doc$1=Global$2.document,_withStorageEl=_makeIEStorageElFunction(),disable=(Global$2.navigator?Global$2.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function write$3(e,t){if(!disable){var r=fixKey(e);_withStorageEl((function(e){e.setAttribute(r,t),e.save(storageName)}))}}function read$3(e){if(!disable){var t=fixKey(e),r=null;return _withStorageEl((function(e){r=e.getAttribute(t)})),r}}function each$3(e){_withStorageEl((function(t){for(var r=t.XMLDocument.documentElement.attributes,n=r.length-1;n>=0;n--){var o=r[n];e(t.getAttribute(o.name),o.name)}}))}function remove$3(e){var t=fixKey(e);_withStorageEl((function(e){e.removeAttribute(t),e.save(storageName)}))}function clearAll$3(){_withStorageEl((function(e){var t=e.XMLDocument.documentElement.attributes;e.load(storageName);for(var r=t.length-1;r>=0;r--)e.removeAttribute(t[r].name);e.save(storageName)}))}var forbiddenCharsRegex=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function fixKey(e){return e.replace(/^\d/,"___$&").replace(forbiddenCharsRegex,"___")}function _makeIEStorageElFunction(){if(!doc$1||!doc$1.documentElement||!doc$1.documentElement.addBehavior)return null;var t,r,n,o="script";try{(r=new ActiveXObject("htmlfile")).open(),r.write("<"+o+">document.w=window</"+o+'><iframe src="/favicon.ico"></iframe>'),r.close(),t=r.w.frames[0].document,n=t.createElement("div")}catch(e){n=doc$1.createElement("div"),t=doc$1.body}return function(e){var r=[].slice.call(arguments,0);r.unshift(n),t.appendChild(n),n.addBehavior("#default#userData"),n.load(storageName),e.apply(this,r),t.removeChild(n)}}var util$1=util$6,Global$1=util$1.Global,trim=util$1.trim,cookieStorage={name:"cookieStorage",read:read$2,write:write$2,each:each$2,remove:remove$2,clearAll:clearAll$2},doc=Global$1.document;function read$2(e){if(!e||!_has(e))return null;var t="(?:^|.*;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(doc.cookie.replace(new RegExp(t),"$1"))}function each$2(e){for(var t=doc.cookie.split(/; ?/g),r=t.length-1;r>=0;r--)if(trim(t[r])){var n=t[r].split("="),o=unescape(n[0]);e(unescape(n[1]),o)}}function write$2(e,t){e&&(doc.cookie=escape(e)+"="+escape(t)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/")}function remove$2(e){e&&_has(e)&&(doc.cookie=escape(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function clearAll$2(){each$2((function(e,t){remove$2(t)}))}function _has(e){return new RegExp("(?:^|;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(doc.cookie)}var util=util$6,Global=util.Global,sessionStorage_1={name:"sessionStorage",read:read$1,write:write$1,each:each$1,remove:remove$1,clearAll:clearAll$1};function sessionStorage$1(){return Global.sessionStorage}function read$1(e){return sessionStorage$1().getItem(e)}function write$1(e,t){return sessionStorage$1().setItem(e,t)}function each$1(e){for(var t=sessionStorage$1().length-1;t>=0;t--){var r=sessionStorage$1().key(t);e(read$1(r),r)}}function remove$1(e){return sessionStorage$1().removeItem(e)}function clearAll$1(){return sessionStorage$1().clear()}var memoryStorage_1={name:"memoryStorage",read:read,write:write,each:each,remove:remove,clearAll:clearAll},memoryStorage={};function read(e){return memoryStorage[e]}function write(e,t){memoryStorage[e]=t}function each(e){for(var t in memoryStorage)memoryStorage.hasOwnProperty(t)&&e(memoryStorage[t],t)}function remove(e){delete memoryStorage[e]}function clearAll(e){memoryStorage={}}var all=[localStorage_1,oldFFGlobalStorage,oldIEUserDataStorage,cookieStorage,sessionStorage_1,memoryStorage_1],json2$1={},hasRequiredJson2;function requireJson2(){return hasRequiredJson2||(hasRequiredJson2=1,"object"!==("undefined"==typeof JSON?"undefined":_typeof2(JSON))&&(JSON={}),function(){var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta,rep;function f(e){return e<10?"0"+e:e}function this_value(){return this.valueOf()}function quote(e){return rx_escapable.lastIndex=0,rx_escapable.test(e)?'"'+e.replace(rx_escapable,(function(e){var t=meta[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}function str(e,t){var r,n,o,a,i,s=gap,l=t[e];switch(l&&"object"===_typeof2(l)&&"function"==typeof l.toJSON&&(l=l.toJSON(e)),"function"==typeof rep&&(l=rep.call(t,e,l)),_typeof2(l)){case"string":return quote(l);case"number":return isFinite(l)?String(l):"null";case"boolean":case"null":return String(l);case"object":if(!l)return"null";if(gap+=indent,i=[],"[object Array]"===Object.prototype.toString.apply(l)){for(a=l.length,r=0;r<a;r+=1)i[r]=str(r,l)||"null";return o=0===i.length?"[]":gap?"[\n"+gap+i.join(",\n"+gap)+"\n"+s+"]":"["+i.join(",")+"]",gap=s,o}if(rep&&"object"===_typeof2(rep))for(a=rep.length,r=0;r<a;r+=1)"string"==typeof rep[r]&&(o=str(n=rep[r],l))&&i.push(quote(n)+(gap?": ":":")+o);else for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(o=str(n,l))&&i.push(quote(n)+(gap?": ":":")+o);return o=0===i.length?"{}":gap?"{\n"+gap+i.join(",\n"+gap)+"\n"+s+"}":"{"+i.join(",")+"}",gap=s,o}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value),"function"!=typeof JSON.stringify&&(meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(e,t,r){var n;if(gap="",indent="","number"==typeof r)for(n=0;n<r;n+=1)indent+=" ";else"string"==typeof r&&(indent=r);if(rep=t,t&&"function"!=typeof t&&("object"!==_typeof2(t)||"number"!=typeof t.length))throw new Error("JSON.stringify");return str("",{"":e})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){var j;function walk(e,t){var r,n,o=e[t];if(o&&"object"===_typeof2(o))for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(void 0!==(n=walk(o,r))?o[r]=n:delete o[r]);return reviver.call(e,t,o)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,(function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()),json2$1}var json2=json2Plugin;function json2Plugin(){return requireJson2(),{}}var engine=storeEngine,storages=all,plugins=[json2];engine.createStore(storages,plugins);var browser=function(){var e=navigator.userAgent;return{trident:e.indexOf("Trident")>-1,presto:e.indexOf("Presto")>-1,webKit:e.indexOf("AppleWebKit")>-1,gecko:e.indexOf("Gecko")>-1&&-1==e.indexOf("KHTML"),mobile:!!e.match(/AppleWebKit.*Mobile.*/),ios:!!e.match(/Mac OS X/)||/(iPhone|iPad|iPod|iOS)/i.test(e),android:e.indexOf("Android")>-1||e.indexOf("Adr")>-1,iPhone:e.indexOf("ORCHESTRAAPPI")>-1,isApp:e.includes("DAYAAPPA")||e.includes("DAYAAPPI")||e.includes("COLEXIUAPPA")||e.includes("COLEXIUAPPI")||e.includes("ORCHESTRAAPPI")||e.includes("ORCHESTRAAPPA"),isTeacher:e.indexOf("ORCHESTRATEACHER")>-1||e.includes("COLEXIUTEACHER"),isStudent:e.indexOf("ORCHESTRASTUDENT")>-1||e.includes("COLEXIUSTUDENT"),isSchool:e.indexOf("ORCHESTRASCHOOL")>-1,iPad:e.indexOf("iPad")>-1,webApp:-1==e.indexOf("Safari"),weixin:e.indexOf("MicroMessenger")>-1,alipay:e.indexOf("AlipayClient")>-1,huawei:!!e.match(/huawei/i)||!!e.match(/honor/i),xiaomi:!!e.match(/mi\s/i)||!!e.match(/redmi/i)||!!e.match(/mix/i)}},AuthorizationKey="AUTHORIZATION",setToken=function(e){sessionStorage.setItem(AuthorizationKey,e)},getToken=function(){return sessionStorage.getItem(AuthorizationKey)||""};function addLight(e,t){var r=parseInt(e,16)+t,n=r>255?255:r;return n.toString(16).length>1?n.toString(16):"0".concat(n.toString(16))}function lighten(e,t){return e=e.indexOf("#")>=0?e.substring(1,e.length):e,t=Math.trunc(255*t/100),"#".concat(addLight(e.substring(0,2),t)).concat(addLight(e.substring(2,4),t)).concat(addLight(e.substring(4,6),t))}function downloadFile(e,t){var r=document.createElement("a");document.body.appendChild(r),r.setAttribute("style","display: none;"),r.href=e,r.download=t||"output.wav",r.click(),window.URL.revokeObjectURL(e),document.body.removeChild(r)}function encodeUrl(e){return window.btoa(encodeURIComponent(JSON.stringify(e)))}function decodeUrl(e){return JSON.parse(decodeURIComponent(window.atob(e)))}var eventemitter3={exports:{}};!function(e){var t=Object.prototype.hasOwnProperty,r="~";function n(){}function o(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function a(e,t,n,a,i){if("function"!=typeof n)throw new TypeError("The listener must be a function");var s=new o(n,a||e,i),l=r?r+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function i(e,t){0==--e._eventsCount?e._events=new n:delete e._events[t]}function s(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(r=!1)),s.prototype.eventNames=function(){var e,n,o=[];if(0===this._eventsCount)return o;for(n in e=this._events)t.call(e,n)&&o.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},s.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var o=0,a=n.length,i=new Array(a);o<a;o++)i[o]=n[o].fn;return i},s.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},s.prototype.emit=function(e,t,n,o,a,i){var s=r?r+e:e;if(!this._events[s])return!1;var l,c,u=this._events[s],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,n),!0;case 4:return u.fn.call(u.context,t,n,o),!0;case 5:return u.fn.call(u.context,t,n,o,a),!0;case 6:return u.fn.call(u.context,t,n,o,a,i),!0}for(c=1,l=new Array(d-1);c<d;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var p,f=u.length;for(c=0;c<f;c++)switch(u[c].once&&this.removeListener(e,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,t);break;case 3:u[c].fn.call(u[c].context,t,n);break;case 4:u[c].fn.call(u[c].context,t,n,o);break;default:if(!l)for(p=1,l=new Array(d-1);p<d;p++)l[p-1]=arguments[p];u[c].fn.apply(u[c].context,l)}}return!0},s.prototype.on=function(e,t,r){return a(this,e,t,r,!1)},s.prototype.once=function(e,t,r){return a(this,e,t,r,!0)},s.prototype.removeListener=function(e,t,n,o){var a=r?r+e:e;if(!this._events[a])return this;if(!t)return i(this,a),this;var s=this._events[a];if(s.fn)s.fn!==t||o&&!s.once||n&&s.context!==n||i(this,a);else{for(var l=0,c=[],u=s.length;l<u;l++)(s[l].fn!==t||o&&!s[l].once||n&&s[l].context!==n)&&c.push(s[l]);c.length?this._events[a]=1===c.length?c[0]:c:i(this,a)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&i(this,t)):(this._events=new n,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=r,s.EventEmitter=s,e.exports=s}(eventemitter3);var eventemitter3Exports=eventemitter3.exports,EventEmitter=getDefaultExportFromCjs(eventemitter3Exports),UPLOADKEY="task-upload-music",eventGlobal=new EventEmitter,uploadState=reactive({uploadList:[]}),saveUploadCatch=function(e){sessionStorage.setItem(UPLOADKEY,JSON.stringify(e||uploadState.uploadList))},getUploadCatch=function(){var e=sessionStorage.getItem(UPLOADKEY);return e?JSON.parse(e):[]},apiRouter=whiteUrl();browser();var request=extend({requestType:"form",timeout:3e4});request.interceptors.request.use((function(e,t){var r=storeData.proxy+storeData.platformApi;"WEB"===storeData.platformType&&apiRouter[e]&&(e=apiRouter[e]);var n=getToken(),o={};return n&&(o.Authorization=n),{url:r+e,options:_objectSpread(_objectSpread({},t),{},{params:t.params,data:t.data,headers:_objectSpread(_objectSpread({},t.headers),o)})}}),{global:!1}),request.interceptors.response.use(function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(t,r){var n,o,a;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t.status>299||t.status<200)){e.next=9;break}if(511!==t.status){e.next=6;break}eventGlobal.emit("auth-not-installed"),closeToast(),e.next=9;break;case 6:throw showToast(n=t.statusText+", 状态码"+t.status),new Error(n);case 9:return e.next=11,t.clone().json();case 11:if(5e3!==(o=e.sent).code){e.next=16;break}return window.parent.postMessage({api:"onLogin"},"*"),setTimeout((function(){window.location.href="".concat(/(192|localhost)/.test(location.origin)?"https://test.lexiaoya.cn":location.origin,"/classroom")}),500),e.abrupt("return");case 16:if(200===o.code||0===o.errCode){e.next=22;break}if(a=o.msg||o.message||"处理失败,请重试",5e3!==o.code){e.next=20;break}return e.abrupt("return",o);case 20:throw 403!==o.code&&401!==o.code&&showToast(a),new Error(a);case 22:return e.abrupt("return",o);case 23:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),{global:!1});var studentQueryUserInfo=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(){return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,request.get("/student/queryUserInfo");case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),teacherQueryUserInfo=function(){return request.get("/user/getUserInfo")},api_musicSheetCreationSave=function(e){return request.post("/musicSheetCreation/save",{data:e,requestType:"json"})},api_musicSheetCreationPage=function(e){return request.post("/musicSheetCreation/page",{data:e,requestType:"json"})},api_musicSheetCreationRemove=function(e,t){return request.post("/musicSheetCreation/remove?id=".concat(e,"&delMusicSheet=").concat(t))},api_musicSheetCreationDetail=function(e){return request.get("/musicSheetCreation/detail/".concat(e))},api_musicSheetCreationUpdate=function(e){return request.post("/musicSheetCreation/update",{data:e,requestType:"json"})},api_subjectList=function(e){return request.post("/subject/list",{data:e,requestType:"json"})},api_musicSheetCreationSaveMusic=function(e){return request.post("/musicSheetCreation/saveMusic",{data:e,requestType:"json"})},api_musicSheetCreationWav2mp3=function(e){return request.get("/musicSheetCreation/wav2mp3?url="+e)},api_musicalScoreConversionRecordSave=function(e){return request.post("/musicalScoreConversionRecord/save",{data:e,requestType:"json"})},api_musicalScoreConversionRecordPage=function(e){return request.post("/musicalScoreConversionRecord/page",{data:e,requestType:"json"})},api_musicalScoreConversionRecordRemove=function(e){return request.post("/musicalScoreConversionRecord/remove?id="+e)},onceCbs=[],paramsMap=new WeakMap;function flushOnceCallbacks(){onceCbs.forEach((function(e){return e.apply(void 0,_toConsumableArray2(paramsMap.get(e)))})),onceCbs=[]}function beforeNextFrameOnce(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];paramsMap.set(e,r),onceCbs.includes(e)||1===onceCbs.push(e)&&requestAnimationFrame(flushOnceCallbacks)}function happensIn(e,t){for(var r=e.target;r;){if(r.dataset&&void 0!==r.dataset[t])return!0;r=r.parentElement}return!1}function getPreciseEventTarget(e){return e.composedPath()[0]||null}function parseResponsiveProp(e){if("number"==typeof e)return{"":e.toString()};var t={};return e.split(/ +/).forEach((function(e){if(""!==e){var r=_slicedToArray(e.split(":"),2),n=r[0],o=r[1];void 0===o?t[""]=n:t[n]=o}})),t}function parseResponsivePropValue(e,t){var r;if(null!=e){var n=parseResponsiveProp(e);if(void 0===t)return n[""];if("string"==typeof t)return null!==(r=n[t])&&void 0!==r?r:n[""];if(Array.isArray(t)){for(var o=t.length-1;o>=0;--o){var a=t[o];if(a in n)return n[a]}return n[""]}var i=void 0,s=-1;return Object.keys(n).forEach((function(e){var r=Number(e);!Number.isNaN(r)&&t>=r&&r>=s&&(s=r,i=n[e])})),i}}function depx(e){return"string"==typeof e?e.endsWith("px")?Number(e.slice(0,e.length-2)):Number(e):e}function pxfy(e){if(null!=e)return"number"==typeof e?"".concat(e,"px"):e.endsWith("px")?e:"".concat(e,"px")}function getMargin(e,t){var r=e.trim().split(/\s+/g),n={top:r[0]};switch(r.length){case 1:n.right=r[0],n.bottom=r[0],n.left=r[0];break;case 2:n.right=r[1],n.left=r[1],n.bottom=r[0];break;case 3:n.right=r[1],n.bottom=r[2],n.left=r[1];break;case 4:n.right=r[1],n.bottom=r[2],n.left=r[3];break;default:throw new Error("[seemly/getMargin]:"+e+" is not a valid value.")}return void 0===t?n:n[t]}function getGap(e,t){var r=_slicedToArray(e.split(" "),2),n=r[0],o=r[1];return t?"row"===t?n:o:{row:n,col:o||n}}var colors={black:"#000",silver:"#C0C0C0",gray:"#808080",white:"#FFF",maroon:"#800000",red:"#F00",purple:"#800080",fuchsia:"#F0F",green:"#008000",lime:"#0F0",olive:"#808000",yellow:"#FF0",navy:"#000080",blue:"#00F",teal:"#008080",aqua:"#0FF",transparent:"#0000"},prefix$1="^\\s*",suffix$1="\\s*$",float="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",hex="([0-9A-Fa-f])",dhex="([0-9A-Fa-f]{2})",rgbRegex=new RegExp("".concat(prefix$1,"rgb\\s*\\(").concat(float,",").concat(float,",").concat(float,"\\)").concat(suffix$1)),rgbaRegex=new RegExp("".concat(prefix$1,"rgba\\s*\\(").concat(float,",").concat(float,",").concat(float,",").concat(float,"\\)").concat(suffix$1)),sHexRegex=new RegExp("".concat(prefix$1,"#").concat(hex).concat(hex).concat(hex).concat(suffix$1)),hexRegex=new RegExp("".concat(prefix$1,"#").concat(dhex).concat(dhex).concat(dhex).concat(suffix$1)),sHexaRegex=new RegExp("".concat(prefix$1,"#").concat(hex).concat(hex).concat(hex).concat(hex).concat(suffix$1)),hexaRegex=new RegExp("".concat(prefix$1,"#").concat(dhex).concat(dhex).concat(dhex).concat(dhex).concat(suffix$1));function parseHex(e){return parseInt(e,16)}function rgba(t){try{var r;if(r=hexRegex.exec(t))return[parseHex(r[1]),parseHex(r[2]),parseHex(r[3]),1];if(r=rgbRegex.exec(t))return[roundChannel(r[1]),roundChannel(r[5]),roundChannel(r[9]),1];if(r=rgbaRegex.exec(t))return[roundChannel(r[1]),roundChannel(r[5]),roundChannel(r[9]),roundAlpha(r[13])];if(r=sHexRegex.exec(t))return[parseHex(r[1]+r[1]),parseHex(r[2]+r[2]),parseHex(r[3]+r[3]),1];if(r=hexaRegex.exec(t))return[parseHex(r[1]),parseHex(r[2]),parseHex(r[3]),roundAlpha(parseHex(r[4])/255)];if(r=sHexaRegex.exec(t))return[parseHex(r[1]+r[1]),parseHex(r[2]+r[2]),parseHex(r[3]+r[3]),roundAlpha(parseHex(r[4]+r[4])/255)];if(t in colors)return rgba(colors[t]);throw new Error("[seemly/rgba]: Invalid color value ".concat(t,"."))}catch(e){throw e}}function normalizeAlpha(e){return e>1?1:e<0?0:e}function stringifyRgba(e,t,r,n){return"rgba(".concat(roundChannel(e),", ").concat(roundChannel(t),", ").concat(roundChannel(r),", ").concat(normalizeAlpha(n),")")}function compositeChannel(e,t,r,n,o){return roundChannel((e*t*(1-n)+r*n)/o)}function composite(e,t){Array.isArray(e)||(e=rgba(e)),Array.isArray(t)||(t=rgba(t));var r=e[3],n=t[3],o=roundAlpha(r+n-r*n);return stringifyRgba(compositeChannel(e[0],r,t[0],n,o),compositeChannel(e[1],r,t[1],n,o),compositeChannel(e[2],r,t[2],n,o),o)}function changeColor(e,t){var r=_slicedToArray(Array.isArray(e)?e:rgba(e),4),n=r[0],o=r[1],a=r[2],i=r[3],s=void 0===i?1:i;return t.alpha?stringifyRgba(n,o,a,t.alpha):stringifyRgba(n,o,a,s)}function scaleColor(e,t){var r=_slicedToArray(Array.isArray(e)?e:rgba(e),4),n=r[0],o=r[1],a=r[2],i=r[3],s=void 0===i?1:i,l=t.lightness,c=void 0===l?1:l,u=t.alpha;return toRgbaString([n*c,o*c,a*c,s*(void 0===u?1:u)])}function roundAlpha(e){var t=Math.round(100*Number(e))/100;return t>1?1:t<0?0:t}function roundChannel(e){var t=Math.round(Number(e));return t>255?255:t<0?0:t}function toRgbaString(e){var t=_slicedToArray(e,3),r=t[0],n=t[1],o=t[2];return 3 in e?"rgba(".concat(roundChannel(r),", ").concat(roundChannel(n),", ").concat(roundChannel(o),", ").concat(roundAlpha(e[3]),")"):"rgba(".concat(roundChannel(r),", ").concat(roundChannel(n),", ").concat(roundChannel(o),", 1)")}function createId(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;return Math.random().toString(16).slice(2,2+e)}function getSlot$1(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=e.$slots[t];return void 0===n?r:n()}function keep(e){var t=arguments.length>2?arguments[2]:void 0,r={};return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).forEach((function(t){r[t]=e[t]})),Object.assign(r,t)}function omit(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,n={};return Object.getOwnPropertyNames(e).forEach((function(r){t.includes(r)||(n[r]=e[r])})),Object.assign(n,r)}function flatten$4(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return e.forEach((function(e){if(null!==e)if("object"===_typeof2(e))if(Array.isArray(e))flatten$4(e,t,r);else if(e.type===Fragment){if(null===e.children)return;Array.isArray(e.children)&&flatten$4(e.children,t,r)}else e.type!==Comment&&r.push(e);else"string"!=typeof e&&"number"!=typeof e||r.push(createTextVNode(String(e)))})),r}function call$1(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(!Array.isArray(e))return e.apply(void 0,r);e.forEach((function(e){return call$1.apply(void 0,[e].concat(r))}))}function keysOf(e){return Object.keys(e)}var render$1=function(e){if("function"==typeof e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return e.apply(void 0,r)}return"string"==typeof e?createTextVNode(e):"number"==typeof e?createTextVNode(String(e)):null};function warn$3(e,t){console.error("[naive/".concat(e,"]: ").concat(t))}function throwError(e,t){throw new Error("[naive/".concat(e,"]: ").concat(t))}function getTitleAttribute(e){switch(_typeof2(e)){case"string":return e||void 0;case"number":return String(e);default:return}}function getFirstSlotVNode(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,n=e[t];if(!n)return warn$3("getFirstSlotVNode","slot[".concat(t,"] is empty")),null;var o=flatten$4(n(r));return 1===o.length?o[0]:(warn$3("getFirstSlotVNode","slot[".concat(t,"] should have exactly one child")),null)}function createRefSetter(e){return function(t){e.value=t?t.$el:null}}function createInjectionKey(e){return e}function ensureValidVNode(e){return e.some((function(e){return!isVNode(e)||e.type!==Comment&&!(e.type===Fragment&&!ensureValidVNode(e.children))}))?e:null}function resolveSlot(e,t){return e&&ensureValidVNode(e())||t()}function resolveSlotWithProps(e,t,r){return e&&ensureValidVNode(e(t))||r(t)}function resolveWrappedSlot(e,t){return t(e&&ensureValidVNode(e())||null)}function isSlotEmpty(e){return!(e&&ensureValidVNode(e()))}function mergeEventHandlers(e){var t=e.filter((function(e){return void 0!==e}));if(0!==t.length)return 1===t.length?t[0]:function(t){e.forEach((function(e){e&&e(t)}))}}function isNodeVShowFalse(e){var t,r=null===(t=e.dirs)||void 0===t?void 0:t.find((function(e){return e.dir===vShow}));return!(!r||!1!==r.value)}var Wrapper=defineComponent({render:function(){var e,t;return null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e)}}),pureNumberRegex=/^(\d|\.)+$/,numberRegex=/(\d|\.)+/;function formatLength(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.c,n=void 0===r?1:r,o=t.offset,a=void 0===o?0:o,i=t.attachPx,s=void 0===i||i;if("number"==typeof e){var l=(e+a)*n;return 0===l?"0":"".concat(l,"px")}if("string"==typeof e){if(pureNumberRegex.test(e)){var c=(Number(e)+a)*n;return s?0===c?"0":"".concat(c,"px"):"".concat(c)}var u=numberRegex.exec(e);return u?e.replace(numberRegex,String((Number(u[0])+a)*n)):e}return e}function color2Class(e){return e.replace(/#|\(|\)|,|\s/g,"_")}function ampCount(e){for(var t=0,r=0;r<e.length;++r)"&"===e[r]&&++t;return t}var separatorRegex=/\s*,(?![^(]*\))\s*/g,extraSpaceRegex=/\s+/g;function resolveSelectorWithAmp(e,t){var r=[];return t.split(separatorRegex).forEach((function(t){var n=ampCount(t);if(n)if(1!==n){for(var o=[t],a=function(){var t=[];o.forEach((function(r){e.forEach((function(e){t.push(r.replace("&",e))}))})),o=t};n--;)a();o.forEach((function(e){return r.push(e)}))}else e.forEach((function(e){r.push(t.replace("&",e))}));else e.forEach((function(e){r.push((e&&e+" ")+t)}))})),r}function resolveSelector(e,t){var r=[];return t.split(separatorRegex).forEach((function(t){e.forEach((function(e){r.push((e&&e+" ")+t)}))})),r}function parseSelectorPath(e){var t=[""];return e.forEach((function(e){(e=e&&e.trim())&&(t=e.includes("&")?resolveSelectorWithAmp(t,e):resolveSelector(t,e))})),t.join(", ").replace(extraSpaceRegex," ")}function removeElement(e){if(e){var t=e.parentElement;t&&t.removeChild(e)}}function queryElement(e){return document.querySelector('style[cssr-id="'.concat(e,'"]'))}function createElement(e){var t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function isMediaOrSupports(e){return!!e&&/^\s*@(s|m)/.test(e)}var kebabRegex=/[A-Z]/g;function kebabCase(e){return e.replace(kebabRegex,(function(e){return"-"+e.toLowerCase()}))}function unwrapProperty(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ";return"object"===_typeof2(e)&&null!==e?" {\n"+Object.entries(e).map((function(e){return t+" ".concat(kebabCase(e[0]),": ").concat(e[1],";")})).join("\n")+"\n"+t+"}":": ".concat(e,";")}function unwrapProperties(e,t,r){return"function"==typeof e?e({context:t.context,props:r}):e}function createStyle(e,t,r,n){if(!t)return"";var o=unwrapProperties(t,r,n);if(!o)return"";if("string"==typeof o)return"".concat(e," {\n").concat(o,"\n}");var a=Object.keys(o);if(0===a.length)return r.config.keepEmptyBlock?e+" {\n}":"";var i=e?[e+" {"]:[];return a.forEach((function(e){var t=o[e];"raw"!==e?(e=kebabCase(e),null!=t&&i.push(" ".concat(e).concat(unwrapProperty(t)))):i.push("\n"+t+"\n")})),e&&i.push("}"),i.join("\n")}function loopCNodeListWithCallback(e,t,r){e&&e.forEach((function(e){if(Array.isArray(e))loopCNodeListWithCallback(e,t,r);else if("function"==typeof e){var n=e(t);Array.isArray(n)?loopCNodeListWithCallback(n,t,r):n&&r(n)}else e&&r(e)}))}function traverseCNode(e,t,r,n,o,a){var i=e.$,s="";if(i&&"string"!=typeof i)if("function"==typeof i){var l=i({context:n.context,props:o});isMediaOrSupports(l)?s=l:t.push(l)}else if(i.before&&i.before(n.context),i.$&&"string"!=typeof i.$){if(i.$){var c=i.$({context:n.context,props:o});isMediaOrSupports(c)?s=c:t.push(c)}}else isMediaOrSupports(i.$)?s=i.$:t.push(i.$);else isMediaOrSupports(i)?s=i:t.push(i);var u=parseSelectorPath(t),d=createStyle(u,e.props,n,o);s?(r.push("".concat(s," {")),a&&d&&a.insertRule("".concat(s," {\n").concat(d,"\n}\n"))):(a&&d&&a.insertRule(d),!a&&d.length&&r.push(d)),e.children&&loopCNodeListWithCallback(e.children,{context:n.context,props:o},(function(e){if("string"==typeof e){var i=createStyle(u,{raw:e},n,o);a?a.insertRule(i):r.push(i)}else traverseCNode(e,t,r,n,o,a)})),t.pop(),s&&r.push("}"),i&&i.after&&i.after(n.context)}function render(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=[];return traverseCNode(e,[],o,t,r,n?e.instance.__styleSheet:void 0),n?"":o.join("\n\n")}function murmur2(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}function unmount(e,t,r){var n=t.els;if(void 0===r)n.forEach(removeElement),t.els=[];else{var o=queryElement(r);o&&n.includes(o)&&(removeElement(o),t.els=n.filter((function(e){return e!==o})))}}function addElementToList(e,t){e.push(t)}function mount(e,t,r,n,o,a,i,s,l){if(!a||l){var c;if(void 0===r&&(r=murmur2(c=t.render(n))),!l){var u=queryElement(r);if(null!==u&&!i)return u;var d=null!=u?u:createElement(r);if(void 0===c&&(c=t.render(n)),d.textContent=c,null!==u)return u;if(s){var p=document.head.querySelector('meta[name="'.concat(s,'"]'));if(p)return document.head.insertBefore(d,p),addElementToList(t.els,d),d}return o?document.head.insertBefore(d,document.head.querySelector("style, link")):document.head.appendChild(d),addElementToList(t.els,d),d}l.adapter(r,null!=c?c:t.render(n))}else{if(void 0===r)return void console.error("[css-render/mount]: `id` is required in `silent` mode.");var f=window.__cssrContext;f[r]||(f[r]=!0,render(t,e,n,a))}}function wrappedRender(e){return render(this,this.instance,e)}function wrappedMount(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.id,r=e.ssr,n=e.props,o=e.head,a=void 0!==o&&o,i=e.silent,s=void 0!==i&&i,l=e.force,c=void 0!==l&&l,u=e.anchorMetaName;return mount(this.instance,this,t,n,a,s,c,u,r)}function wrappedUnmount(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;unmount(this.instance,this,e)}"undefined"!=typeof window&&(window.__cssrContext={});var createCNode=function(e,t,r,n){return{instance:e,$:t,props:r,children:n,els:[],render:wrappedRender,mount:wrappedMount,unmount:wrappedUnmount}},c$4=function(e,t,r,n){return Array.isArray(t)?createCNode(e,{$:null},null,t):Array.isArray(r)?createCNode(e,t,null,r):Array.isArray(n)?createCNode(e,t,r,n):createCNode(e,t,r,null)};function CssRender(){var e=null,t={c:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return c$4.apply(void 0,[t].concat(r))},use:function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return e.install.apply(e,[t].concat(n))},find:queryElement,context:{},config:arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},get __styleSheet(){if(!e){var t=document.createElement("style");return document.head.appendChild(t),e=document.styleSheets[document.styleSheets.length-1]}return e}};return t}function exists(e,t){return void 0!==e&&(t?t.context.ids.has(e):null!==queryElement(e))}function plugin$1(e){var t,r=".",n="__",o="--";if(e){var a=e.blockPrefix;a&&(r=a),(a=e.elementPrefix)&&(n=a),(a=e.modifierPrefix)&&(o=a)}var i={install:function(e){t=e.c;var r=e.context;r.bem={},r.bem.b=null,r.bem.els=null}};return Object.assign(i,{cB:function(){return t((e=arguments.length<=0?void 0:arguments[0],{before:function(e){n=e.bem.b,o=e.bem.els,e.bem.els=null},after:function(e){e.bem.b=n,e.bem.els=o},$:function(t){var n=t.context,o=t.props;return e="string"==typeof e?e:e({context:n,props:o}),n.bem.b=e,"".concat((null==o?void 0:o.bPrefix)||r).concat(n.bem.b)}}),arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2]);var e,n,o},cE:function(){return t((e=arguments.length<=0?void 0:arguments[0],{before:function(e){o=e.bem.els},after:function(e){e.bem.els=o},$:function(t){var o=t.context,a=t.props;return e="string"==typeof e?e:e({context:o,props:a}),o.bem.els=e.split(",").map((function(e){return e.trim()})),o.bem.els.map((function(e){return"".concat((null==a?void 0:a.bPrefix)||r).concat(o.bem.b).concat(n).concat(e)})).join(", ")}}),arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2]);var e,o},cM:function(){return t((e=arguments.length<=0?void 0:arguments[0],{$:function(t){var a=t.context,i=t.props,s=(e="string"==typeof e?e:e({context:a,props:i})).split(",").map((function(e){return e.trim()}));function l(e){return s.map((function(t){return"&".concat((null==i?void 0:i.bPrefix)||r).concat(a.bem.b).concat(void 0!==e?"".concat(n).concat(e):"").concat(o).concat(t)})).join(", ")}var c=a.bem.els;return null!==c?l(c[0]):l()}}),arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2]);var e},cNotM:function(){return t((e=arguments.length<=0?void 0:arguments[0],{$:function(t){var a=t.context,i=t.props;e="string"==typeof e?e:e({context:a,props:i});var s=a.bem.els;return"&:not(".concat((null==i?void 0:i.bPrefix)||r).concat(a.bem.b).concat(null!==s&&s.length>0?"".concat(n).concat(s[0]):"").concat(o).concat(e,")")}}),arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2]);var e}}),i}function createKey(e,t){return e+("default"===t?"":t.replace(/^[a-z]/,(function(e){return e.toUpperCase()})))}createKey("abc","def");var namespace="n",prefix=".".concat(namespace,"-"),elementPrefix="__",modifierPrefix="--",cssr=CssRender(),plugin=plugin$1({blockPrefix:prefix,elementPrefix:elementPrefix,modifierPrefix:modifierPrefix});cssr.use(plugin);var c$3=cssr.c,find=cssr.find,cB=plugin.cB,cE=plugin.cE,cM=plugin.cM,cNotM=plugin.cNotM;function insideModal(e){return c$3((function(e){var t=e.props.bPrefix;return"".concat(t||prefix,"modal, ").concat(t||prefix,"drawer")}),[e])}function insidePopover(e){return c$3((function(e){var t=e.props.bPrefix;return"".concat(t||prefix,"popover")}),[e])}function asModal(e){return c$3((function(e){var t=e.props.bPrefix;return"&".concat(t||prefix,"modal")}),e)}var cCB=function(){return c$3(">",[cB.apply(void 0,arguments)])},_isJsdom;function isJsdom(){return void 0===_isJsdom&&(_isJsdom=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),_isJsdom}var isBrowser$2="undefined"!=typeof document&&"undefined"!=typeof window,eventSet=new WeakSet;function markEventEffectPerformed(e){eventSet.add(e)}function eventEffectNotPerformed(e){return!eventSet.has(e)}function useInjectionInstanceCollection(e,t,r){var n,o=inject(e,null);if(null!==o){var a=null===(n=getCurrentInstance())||void 0===n?void 0:n.proxy;watch(r,i),i(r.value),onBeforeUnmount((function(){i(void 0,r.value)}))}function i(e,r){var n=o[t];void 0!==r&&function(e,t){e[t]||(e[t]=[]);e[t].splice(e[t].findIndex((function(e){return e===a})),1)}(n,r),void 0!==e&&function(e,t){e[t]||(e[t]=[]);~e[t].findIndex((function(e){return e===a}))||e[t].push(a)}(n,e)}}function useDeferredTrue(e,t,r){if(!t)return e;var n=ref(e.value),o=null;return watch(e,(function(e){null!==o&&window.clearTimeout(o),!0===e?r&&!r.value?n.value=!0:o=window.setTimeout((function(){n.value=!0}),t):n.value=!1})),n}function useFalseUntilTruthy(e){var t=ref(!!e.value);if(t.value)return readonly(t);var r=watch(e,(function(e){e&&(t.value=!0,r())}));return readonly(t)}function useMemo(e){var t=computed(e),r=ref(t.value);return watch(t,(function(e){r.value=e})),"function"==typeof e?r:{__v_isRef:!0,get value(){return r.value},set value(t){e.set(t)}}}function hasInstance(){return null!==getCurrentInstance()}var isBrowser$1="undefined"!=typeof window,fontsReady,isFontReady,init=function(){var e,t;fontsReady=isBrowser$1?null===(t=null===(e=document)||void 0===e?void 0:e.fonts)||void 0===t?void 0:t.ready:void 0,isFontReady=!1,void 0!==fontsReady?fontsReady.then((function(){isFontReady=!0})):isFontReady=!0};function onFontsReady(e){if(!isFontReady){var t=!1;onMounted((function(){isFontReady||null==fontsReady||fontsReady.then((function(){t||e()}))})),onBeforeUnmount((function(){t=!0}))}}function getEventTarget(e){return e.composedPath()[0]}init();var traps={mousemoveoutside:new WeakMap,clickoutside:new WeakMap};function createTrapHandler(e,t,r){if("mousemoveoutside"===e){var n=function(e){t.contains(getEventTarget(e))||r(e)};return{mousemove:n,touchstart:n}}if("clickoutside"===e){var o=!1,a=function(e){o=!t.contains(getEventTarget(e))},i=function(e){o&&(t.contains(getEventTarget(e))||r(e))};return{mousedown:a,mouseup:i,touchstart:a,touchend:i}}return console.error("[evtd/create-trap-handler]: name `".concat(e,"` is invalid. This could be a bug of evtd.")),{}}function ensureTrapHandlers(e,t,r){var n=traps[e],o=n.get(t);void 0===o&&n.set(t,o=new WeakMap);var a=o.get(r);return void 0===a&&o.set(r,a=createTrapHandler(e,t,r)),a}function trapOn(e,t,r,n){if("mousemoveoutside"===e||"clickoutside"===e){var o=ensureTrapHandlers(e,t,r);return Object.keys(o).forEach((function(e){on(e,document,o[e],n)})),!0}return!1}function trapOff(e,t,r,n){if("mousemoveoutside"===e||"clickoutside"===e){var o=ensureTrapHandlers(e,t,r);return Object.keys(o).forEach((function(e){off(e,document,o[e],n)})),!0}return!1}function createDelegate(){if("undefined"==typeof window)return{on:function(){},off:function(){}};var e=new WeakMap,t=new WeakMap;function r(){e.set(this,!0)}function n(){e.set(this,!0),t.set(this,!0)}function o(e,t,r){var n=e[t];return e[t]=function(){return r.apply(e,arguments),n.apply(e,arguments)},e}function a(e,t){e[t]=Event.prototype[t]}var i=new WeakMap,s=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function l(){var e;return null!==(e=i.get(this))&&void 0!==e?e:null}function c(e,t){void 0!==s&&Object.defineProperty(e,"currentTarget",{configurable:!0,enumerable:!0,get:null!=t?t:s.get})}var u={bubble:{},capture:{}},d={};var p,f,h=(p=function(s){var d=s.type,p=s.eventPhase,f=s.bubbles,h=getEventTarget(s);if(2!==p){for(var v=1===p?"capture":"bubble",g=h,m=[];null===g&&(g=window),m.push(g),g!==window;)g=g.parentNode||null;var b=u.capture[d],A=u.bubble[d];if(o(s,"stopPropagation",r),o(s,"stopImmediatePropagation",n),c(s,l),"capture"===v){if(void 0===b)return;for(var y=m.length-1;y>=0&&!e.has(s);--y){var x=m[y],w=b.get(x);if(void 0!==w){i.set(s,x);var C,k=_createForOfIteratorHelper(w);try{for(k.s();!(C=k.n()).done;){var _=C.value;if(t.has(s))break;_(s)}}catch(err){k.e(err)}finally{k.f()}}if(0===y&&!f&&void 0!==A){var S=A.get(x);if(void 0!==S){var B,E=_createForOfIteratorHelper(S);try{for(E.s();!(B=E.n()).done;){var T=B.value;if(t.has(s))break;T(s)}}catch(err){E.e(err)}finally{E.f()}}}}}else if("bubble"===v){if(void 0===A)return;for(var P=0;P<m.length&&!e.has(s);++P){var I=m[P],N=A.get(I);if(void 0!==N){i.set(s,I);var z,M=_createForOfIteratorHelper(N);try{for(M.s();!(z=M.n()).done;){var R=z.value;if(t.has(s))break;R(s)}}catch(err){M.e(err)}finally{M.f()}}}}a(s,"stopPropagation"),a(s,"stopImmediatePropagation"),c(s)}},p.displayName="evtdUnifiedHandler",p),v=(f=function(e){var t=e.type;if(2===e.eventPhase){var r=d[t];void 0!==r&&r.forEach((function(t){return t(e)}))}},f.displayName="evtdUnifiedWindowEventHandler",f);function g(e,t){var r=u[e];return void 0===r[t]&&(r[t]=new Map,window.addEventListener(t,h,"capture"===e)),r[t]}function m(e,t){var r=e.get(t);return void 0===r&&e.set(t,r=new Set),r}function b(e,t,r,n){if(!trapOff(e,t,r,n)){var o=!0===n||"object"===_typeof2(n)&&!0===n.capture,a=o?"capture":"bubble",i=g(a,e),s=m(i,t);if(t===window)if(!function(e,t,r,n){var o=u[t][r];if(void 0!==o){var a=o.get(e);if(void 0!==a&&a.has(n))return!0}return!1}(t,o?"bubble":"capture",e,r)&&function(e,t){var r=d[e];return!(void 0===r||!r.has(t))}(e,r)){var l=d[e];l.delete(r),0===l.size&&(window.removeEventListener(e,v),d[e]=void 0)}s.has(r)&&s.delete(r),0===s.size&&i.delete(t),0===i.size&&(window.removeEventListener(e,h,"capture"===a),u[a][e]=void 0)}}return{on:function(e,t,r,n){var o;if(o="object"===_typeof2(n)&&!0===n.once?function(a){b(e,t,o,n),r(a)}:r,!trapOn(e,t,o,n)){var a=m(g(!0===n||"object"===_typeof2(n)&&!0===n.capture?"capture":"bubble",e),t);if(a.has(o)||a.add(o),t===window){var i=function(e){return void 0===d[e]&&(d[e]=new Set,window.addEventListener(e,v)),d[e]}(e);i.has(o)||i.add(o)}}},off:b}}var _createDelegate=createDelegate(),on=_createDelegate.on,off=_createDelegate.off,mousePositionRef=ref(null);function clickHandler(e){if(e.clientX>0||e.clientY>0)mousePositionRef.value={x:e.clientX,y:e.clientY};else{var t=e.target;if(t instanceof Element){var r=t.getBoundingClientRect(),n=r.left,o=r.top,a=r.width,i=r.height;mousePositionRef.value=n>0||o>0?{x:n+a/2,y:o+i/2}:{x:0,y:0}}else mousePositionRef.value=null}}var usedCount$1=0,managable$1=!0;function useClickPosition(){if(!isBrowser$1)return readonly(ref(null));0===usedCount$1&&on("click",document,clickHandler,!0);var e=function(){usedCount$1+=1};return managable$1&&(managable$1=hasInstance())?(onBeforeMount(e),onBeforeUnmount((function(){0===(usedCount$1-=1)&&off("click",document,clickHandler,!0)}))):e(),readonly(mousePositionRef)}var clickedTimeRef=ref(void 0),usedCount=0;function handleClick(){clickedTimeRef.value=Date.now()}var managable=!0;function useClicked(e){if(!isBrowser$1)return readonly(ref(!1));var t=ref(!1),r=null;function n(){null!==r&&window.clearTimeout(r)}function o(){n(),t.value=!0,r=window.setTimeout((function(){t.value=!1}),e)}0===usedCount&&on("click",window,handleClick,!0);var a=function(){usedCount+=1,on("click",window,o,!0)};return managable&&(managable=hasInstance())?(onBeforeMount(a),onBeforeUnmount((function(){0===(usedCount-=1)&&off("click",window,handleClick,!0),off("click",window,o,!0),n()}))):a(),readonly(t)}function useMergedState(e,t){return watch(e,(function(e){void 0!==e&&(t.value=e)})),computed((function(){return void 0===e.value?t.value:e.value}))}function isMounted(){var e=ref(!1);return onMounted((function(){e.value=!0})),readonly(e)}function useCompitable(e,t){return computed((function(){var r,n=_createForOfIteratorHelper(t);try{for(n.s();!(r=n.n()).done;){var o=r.value;if(void 0!==e[o])return e[o]}}catch(err){n.e(err)}finally{n.f()}return e[t[t.length-1]]}))}var isIos="undefined"!=typeof window&&(/iPad|iPhone|iPod/.test(navigator.platform)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!window.MSStream;function useIsIos(){return isIos}var defaultBreakpointOptions={xs:0,s:640,m:1024,l:1280,xl:1536,"2xl":1920};function createMediaQuery(e){return"(min-width: ".concat(e,"px)")}var mqlMap={};function useBreakpoints(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:defaultBreakpointOptions;if(!isBrowser$1)return computed((function(){return[]}));if("function"!=typeof window.matchMedia)return computed((function(){return[]}));var t=ref({}),r=Object.keys(e),n=function(e,r){e.matches?t.value[r]=!0:t.value[r]=!1};return r.forEach((function(t){var r,o,a=e[t];void 0===mqlMap[a]?((r=window.matchMedia(createMediaQuery(a))).addEventListener?r.addEventListener("change",(function(e){o.forEach((function(r){r(e,t)}))})):r.addListener&&r.addListener((function(e){o.forEach((function(r){r(e,t)}))})),o=new Set,mqlMap[a]={mql:r,cbs:o}):(r=mqlMap[a].mql,o=mqlMap[a].cbs),o.add(n),r.matches&&o.forEach((function(e){e(r,t)}))})),onBeforeUnmount((function(){r.forEach((function(t){var r=mqlMap[e[t]].cbs;r.has(n)&&r.delete(n)}))})),computed((function(){var e=t.value;return r.filter((function(t){return e[t]}))}))}function useKeyboard(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,r=reactive({ctrl:!1,command:!1,win:!1,shift:!1,tab:!1}),n=e.keydown,o=e.keyup,a=function(e){switch(e.key){case"Control":r.ctrl=!0;break;case"Meta":r.command=!0,r.win=!0;break;case"Shift":r.shift=!0;break;case"Tab":r.tab=!0}void 0!==n&&Object.keys(n).forEach((function(t){if(t===e.key){var r=n[t];if("function"==typeof r)r(e);else{var o=r.stop,a=void 0!==o&&o,i=r.prevent,s=void 0!==i&&i;a&&e.stopPropagation(),s&&e.preventDefault(),r.handler(e)}}}))},i=function(e){switch(e.key){case"Control":r.ctrl=!1;break;case"Meta":r.command=!1,r.win=!1;break;case"Shift":r.shift=!1;break;case"Tab":r.tab=!1}void 0!==o&&Object.keys(o).forEach((function(t){if(t===e.key){var r=o[t];if("function"==typeof r)r(e);else{var n=r.stop,a=void 0!==n&&n,i=r.prevent,s=void 0!==i&&i;a&&e.stopPropagation(),s&&e.preventDefault(),r.handler(e)}}}))},s=function(){(void 0===t||t.value)&&(on("keydown",document,a),on("keyup",document,i)),void 0!==t&&watch(t,(function(e){e?(on("keydown",document,a),on("keyup",document,i)):(off("keydown",document,a),off("keyup",document,i))}))};return hasInstance()?(onBeforeMount(s),onBeforeUnmount((function(){(void 0===t||t.value)&&(off("keydown",document,a),off("keyup",document,i))}))):s(),readonly(r)}var internalSelectionMenuInjectionKey=createInjectionKey("n-internal-select-menu"),internalSelectionMenuBodyInjectionKey=createInjectionKey("n-internal-select-menu-body"),modalBodyInjectionKey=createInjectionKey("n-modal-body"),modalInjectionKey=createInjectionKey("n-modal"),drawerBodyInjectionKey=createInjectionKey("n-drawer-body"),popoverBodyInjectionKey=createInjectionKey("n-popover-body"),teleportDisabled="__disabled__";function useAdjustedTo(e){var t=inject(modalBodyInjectionKey,null),r=inject(drawerBodyInjectionKey,null),n=inject(popoverBodyInjectionKey,null),o=inject(internalSelectionMenuBodyInjectionKey,null),a=ref();if("undefined"!=typeof document){a.value=document.fullscreenElement;var i=function(){a.value=document.fullscreenElement};onMounted((function(){on("fullscreenchange",document,i)})),onBeforeUnmount((function(){off("fullscreenchange",document,i)}))}return useMemo((function(){var i,s=e.to;return void 0!==s?!1===s?teleportDisabled:!0===s?a.value||"body":s:(null==t?void 0:t.value)?null!==(i=t.value.$el)&&void 0!==i?i:t.value:(null==r?void 0:r.value)?r.value:(null==n?void 0:n.value)?n.value:(null==o?void 0:o.value)?o.value:null!=s?s:a.value||"body"}))}function getSlot(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"default",n=t[r];if(void 0===n)throw new Error("[vueuc/".concat(e,"]: slot[").concat(r,"] is empty."));return n()}function flatten$3(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return e.forEach((function(e){if(null!==e)if("object"===_typeof2(e))if(Array.isArray(e))flatten$3(e,t,r);else if(e.type===Fragment){if(null===e.children)return;Array.isArray(e.children)&&flatten$3(e.children,t,r)}else e.type!==Comment&&r.push(e);else"string"!=typeof e&&"number"!=typeof e||r.push(createTextVNode(String(e)))})),r}function getFirstVNode(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"default",n=t[r];if(void 0===n)throw new Error("[vueuc/".concat(e,"]: slot[").concat(r,"] is empty."));var o=flatten$3(n());if(1===o.length)return o[0];throw new Error("[vueuc/".concat(e,"]: slot[").concat(r,"] should have exactly one child."))}useAdjustedTo.tdkey=teleportDisabled,useAdjustedTo.propTo={type:[String,Object,Boolean],default:void 0};var viewMeasurer=null;function ensureViewBoundingRect(){if(null===viewMeasurer&&null===(viewMeasurer=document.getElementById("v-binder-view-measurer"))){(viewMeasurer=document.createElement("div")).id="v-binder-view-measurer";var e=viewMeasurer.style;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(viewMeasurer)}return viewMeasurer.getBoundingClientRect()}function getPointRect(e,t){var r=ensureViewBoundingRect();return{top:t,left:e,height:0,width:0,right:r.width-e,bottom:r.height-t}}function getRect$1(e){var t=e.getBoundingClientRect(),r=ensureViewBoundingRect();return{left:t.left-r.left,top:t.top-r.top,bottom:r.height+r.top-t.bottom,right:r.width+r.left-t.right,width:t.width,height:t.height}}function getParentNode(e){return 9===e.nodeType?null:e.parentNode}function getScrollParent(e){if(null===e)return null;var t=getParentNode(e);if(null===t)return null;if(9===t.nodeType)return document;if(1===t.nodeType){var r=getComputedStyle(t),n=r.overflow,o=r.overflowX,a=r.overflowY;if(/(auto|scroll|overlay)/.test(n+a+o))return t}return getScrollParent(t)}var Binder=defineComponent({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup:function(e){var t;provide("VBinder",null===(t=getCurrentInstance())||void 0===t?void 0:t.proxy);var r=inject("VBinder",null),n=ref(null),o=[],a=function(){for(var e=0,t=o;e<t.length;e++){var r=t[e];off("scroll",r,s,!0)}o=[]},i=new Set,s=function(){beforeNextFrameOnce(l)},l=function(){i.forEach((function(e){return e()}))},c=new Set,u=function(){c.forEach((function(e){return e()}))};return onBeforeUnmount((function(){off("resize",window,u),a()})),{targetRef:n,setTargetRef:function(t){n.value=t,r&&e.syncTargetWithParent&&r.setTargetRef(t)},addScrollListener:function(e){0===i.size&&function(){for(var e=n.value;null!==(e=getScrollParent(e));)o.push(e);for(var t=0,r=o;t<r.length;t++){var a=r[t];on("scroll",a,s,!0)}}(),i.has(e)||i.add(e)},removeScrollListener:function(e){i.has(e)&&i.delete(e),0===i.size&&a()},addResizeListener:function(e){0===c.size&&on("resize",window,u),c.has(e)||c.add(e)},removeResizeListener:function(e){c.has(e)&&c.delete(e),0===c.size&&off("resize",window,u)}}},render:function(){return getSlot("binder",this.$slots)}}),VBinder=Binder,VTarget=defineComponent({name:"Target",setup:function(){var e=inject("VBinder"),t=e.setTargetRef;return{syncTarget:e.syncTarget,setTargetDirective:{mounted:t,updated:t}}},render:function(){var e=this.syncTarget,t=this.setTargetDirective;return e?withDirectives(getFirstVNode("follower",this.$slots),[[t]]):getFirstVNode("follower",this.$slots)}}),ctxKey$1="@@mmoContext",mousemoveoutside={mounted:function(e,t){var r=t.value;e[ctxKey$1]={handler:void 0},"function"==typeof r&&(e[ctxKey$1].handler=r,on("mousemoveoutside",e,r))},updated:function(e,t){var r=t.value,n=e[ctxKey$1];"function"==typeof r?n.handler?n.handler!==r&&(off("mousemoveoutside",e,n.handler),n.handler=r,on("mousemoveoutside",e,r)):(e[ctxKey$1].handler=r,on("mousemoveoutside",e,r)):n.handler&&(off("mousemoveoutside",e,n.handler),n.handler=void 0)},unmounted:function(e){var t=e[ctxKey$1].handler;t&&off("mousemoveoutside",e,t),e[ctxKey$1].handler=void 0}},mousemoveoutside$1=mousemoveoutside,ctxKey="@@coContext",clickoutside={mounted:function(e,t){var r=t.value,n=t.modifiers;e[ctxKey]={handler:void 0},"function"==typeof r&&(e[ctxKey].handler=r,on("clickoutside",e,r,{capture:n.capture}))},updated:function(e,t){var r=t.value,n=t.modifiers,o=e[ctxKey];"function"==typeof r?o.handler?o.handler!==r&&(off("clickoutside",e,o.handler,{capture:n.capture}),o.handler=r,on("clickoutside",e,r,{capture:n.capture})):(e[ctxKey].handler=r,on("clickoutside",e,r,{capture:n.capture})):o.handler&&(off("clickoutside",e,o.handler,{capture:n.capture}),o.handler=void 0)},unmounted:function(e,t){var r=t.modifiers,n=e[ctxKey].handler;n&&off("clickoutside",e,n,{capture:r.capture}),e[ctxKey].handler=void 0}},clickoutside$1=clickoutside;function warn$2(e,t){console.error("[vdirs/".concat(e,"]: ").concat(t))}var ZIndexManager=function(){function e(){_classCallCheck2(this,e),this.elementZIndex=new Map,this.nextZIndex=2e3}return _createClass2(e,[{key:"elementCount",get:function(){return this.elementZIndex.size}},{key:"ensureZIndex",value:function(e,t){var r=this.elementZIndex;if(void 0!==t)return e.style.zIndex="".concat(t),void r.delete(e);var n=this.nextZIndex;if(r.has(e)&&r.get(e)+1===this.nextZIndex)return;e.style.zIndex="".concat(n),r.set(e,n),this.nextZIndex=n+1,this.squashState()}},{key:"unregister",value:function(e,t){var r=this.elementZIndex;r.has(e)?r.delete(e):void 0===t&&warn$2("z-index-manager/unregister-element","Element not found when unregistering."),this.squashState()}},{key:"squashState",value:function(){var e=this.elementCount;e||(this.nextZIndex=2e3),this.nextZIndex-e>2500&&this.rearrange()}},{key:"rearrange",value:function(){var e=this,t=Array.from(this.elementZIndex.entries());t.sort((function(e,t){return e[1]-t[1]})),this.nextZIndex=2e3,t.forEach((function(t){var r=t[0],n=e.nextZIndex++;"".concat(n)!==r.style.zIndex&&(r.style.zIndex="".concat(n))}))}}]),e}(),zIndexManager=new ZIndexManager,ctx="@@ziContext",zindexable={mounted:function(e,t){var r=t.value,n=void 0===r?{}:r,o=n.zIndex,a=n.enabled;e[ctx]={enabled:!!a,initialized:!1},a&&(zIndexManager.ensureZIndex(e,o),e[ctx].initialized=!0)},updated:function(e,t){var r=t.value,n=void 0===r?{}:r,o=n.zIndex,a=n.enabled,i=e[ctx].enabled;a&&!i&&(zIndexManager.ensureZIndex(e,o),e[ctx].initialized=!0),e[ctx].enabled=!!a},unmounted:function(e,t){if(e[ctx].initialized){var r=t.value,n=(void 0===r?{}:r).zIndex;zIndexManager.unregister(e,n)}}},zindexable$1=zindexable,ssrContextKey=Symbol("@css-render/vue3-ssr");function createStyleString(e,t){return'<style cssr-id="'.concat(e,'">\n').concat(t,"\n</style>")}function ssrAdapter(e,t){var r=inject(ssrContextKey,null);if(null!==r){var n=r.styles,o=r.ids;o.has(e)||null!==n&&(o.add(e),n.push(createStyleString(e,t)))}else console.error("[css-render/vue3-ssr]: no ssr context found.")}var isBrowser="undefined"!=typeof document;function useSsrAdapter(){if(!isBrowser){var e=inject(ssrContextKey,null);if(null!==e)return{adapter:ssrAdapter,context:e}}}function warn$1(e,t){console.error("[vueuc/".concat(e,"]: ").concat(t))}var _CssRender=CssRender(),c$2=_CssRender.c,cssrAnchorMetaName$1="vueuc-style";function lowBit(e){return e&-e}var FinweckTree=function(){function e(t,r){_classCallCheck2(this,e),this.l=t,this.min=r;for(var n=new Array(t+1),o=0;o<t+1;++o)n[o]=0;this.ft=n}return _createClass2(e,[{key:"add",value:function(e,t){if(0!==t){var r=this.l,n=this.ft;for(e+=1;e<=r;)n[e]+=t,e+=lowBit(e)}}},{key:"get",value:function(e){return this.sum(e+1)-this.sum(e)}},{key:"sum",value:function(e){if(void 0===e&&(e=this.l),e<=0)return 0;var t=this.ft,r=this.min;if(e>this.l)throw new Error("[FinweckTree.sum]: `i` is larger than length.");for(var n=e*r;e>0;)n+=t[e],e-=lowBit(e);return n}},{key:"getBound",value:function(e){for(var t=0,r=this.l;r>t;){var n=Math.floor((t+r)/2),o=this.sum(n);if(o>e)r=n;else{if(!(o<e))return n;if(t===n)return this.sum(t+1)<=e?t+1:n;t=n}}return t}}]),e}();function resolveTo(e){return"string"==typeof e?document.querySelector(e):e()}var LazyTeleport=defineComponent({name:"LazyTeleport",props:{to:{type:[String,Object],default:void 0},disabled:Boolean,show:{type:Boolean,required:!0}},setup:function(e){return{showTeleport:useFalseUntilTruthy(toRef(e,"show")),mergedTo:computed((function(){var t=e.to;return null!=t?t:"body"}))}},render:function(){return this.showTeleport?this.disabled?getSlot("lazy-teleport",this.$slots):h$1(Teleport,{disabled:this.disabled,to:this.mergedTo},getSlot("lazy-teleport",this.$slots)):null}}),oppositionPositions={top:"bottom",bottom:"top",left:"right",right:"left"},oppositeAligns={start:"end",center:"center",end:"start"},propToCompare={top:"height",bottom:"height",left:"width",right:"width"},transformOrigins={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},overlapTransformOrigin={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},oppositeAlignCssPositionProps={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},keepOffsetDirection={top:!0,bottom:!1,left:!0,right:!1},cssPositionToOppositeAlign={top:"end",bottom:"start",left:"end",right:"start"};function getPlacementAndOffsetOfFollower(e,t,r,n,o,a){if(!o||a)return{placement:e,top:0,left:0};var i=_slicedToArray(e.split("-"),2),s=i[0],l=i[1],c=null!=l?l:"center",u={top:0,left:0},d=function(e,o,a){var i=0,s=0,l=r[e]-t[o]-t[e];return l>0&&n&&(a?s=keepOffsetDirection[o]?l:-l:i=keepOffsetDirection[o]?l:-l),{left:i,top:s}},p="left"===s||"right"===s;if("center"!==c){var f=oppositeAlignCssPositionProps[e],h=oppositionPositions[f],v=propToCompare[f];if(r[v]>t[v]){if(t[f]+t[v]<r[v]){var g=(r[v]-t[v])/2;t[f]<g||t[h]<g?t[f]<t[h]?(c=oppositeAligns[l],u=d(v,h,p)):u=d(v,f,p):c="center"}}else r[v]<t[v]&&t[h]<0&&t[f]>t[h]&&(c=oppositeAligns[l])}else{var m="bottom"===s||"top"===s?"left":"top",b=oppositionPositions[m],A=propToCompare[m],y=(r[A]-t[A])/2;(t[m]<y||t[b]<y)&&(t[m]>t[b]?(c=cssPositionToOppositeAlign[m],u=d(A,m,p)):(c=cssPositionToOppositeAlign[b],u=d(A,b,p)))}var x=s;return t[s]<r[propToCompare[s]]&&t[s]<t[oppositionPositions[s]]&&(x=oppositionPositions[s]),{placement:"center"!==c?"".concat(x,"-").concat(c):x,left:u.left,top:u.top}}function getProperTransformOrigin(e,t){return t?overlapTransformOrigin[e]:transformOrigins[e]}function getOffset(e,t,r,n,o,a){if(a)switch(e){case"bottom-start":case"left-end":return{top:"".concat(Math.round(r.top-t.top+r.height),"px"),left:"".concat(Math.round(r.left-t.left),"px"),transform:"translateY(-100%)"};case"bottom-end":case"right-end":return{top:"".concat(Math.round(r.top-t.top+r.height),"px"),left:"".concat(Math.round(r.left-t.left+r.width),"px"),transform:"translateX(-100%) translateY(-100%)"};case"top-start":case"left-start":return{top:"".concat(Math.round(r.top-t.top),"px"),left:"".concat(Math.round(r.left-t.left),"px"),transform:""};case"top-end":case"right-start":return{top:"".concat(Math.round(r.top-t.top),"px"),left:"".concat(Math.round(r.left-t.left+r.width),"px"),transform:"translateX(-100%)"};case"top":return{top:"".concat(Math.round(r.top-t.top),"px"),left:"".concat(Math.round(r.left-t.left+r.width/2),"px"),transform:"translateX(-50%)"};case"right":return{top:"".concat(Math.round(r.top-t.top+r.height/2),"px"),left:"".concat(Math.round(r.left-t.left+r.width),"px"),transform:"translateX(-100%) translateY(-50%)"};case"left":return{top:"".concat(Math.round(r.top-t.top+r.height/2),"px"),left:"".concat(Math.round(r.left-t.left),"px"),transform:"translateY(-50%)"};default:return{top:"".concat(Math.round(r.top-t.top+r.height),"px"),left:"".concat(Math.round(r.left-t.left+r.width/2),"px"),transform:"translateX(-50%) translateY(-100%)"}}switch(e){case"bottom-start":return{top:"".concat(Math.round(r.top-t.top+r.height+n),"px"),left:"".concat(Math.round(r.left-t.left+o),"px"),transform:""};case"bottom-end":return{top:"".concat(Math.round(r.top-t.top+r.height+n),"px"),left:"".concat(Math.round(r.left-t.left+r.width+o),"px"),transform:"translateX(-100%)"};case"top-start":return{top:"".concat(Math.round(r.top-t.top+n),"px"),left:"".concat(Math.round(r.left-t.left+o),"px"),transform:"translateY(-100%)"};case"top-end":return{top:"".concat(Math.round(r.top-t.top+n),"px"),left:"".concat(Math.round(r.left-t.left+r.width+o),"px"),transform:"translateX(-100%) translateY(-100%)"};case"right-start":return{top:"".concat(Math.round(r.top-t.top+n),"px"),left:"".concat(Math.round(r.left-t.left+r.width+o),"px"),transform:""};case"right-end":return{top:"".concat(Math.round(r.top-t.top+r.height+n),"px"),left:"".concat(Math.round(r.left-t.left+r.width+o),"px"),transform:"translateY(-100%)"};case"left-start":return{top:"".concat(Math.round(r.top-t.top+n),"px"),left:"".concat(Math.round(r.left-t.left+o),"px"),transform:"translateX(-100%)"};case"left-end":return{top:"".concat(Math.round(r.top-t.top+r.height+n),"px"),left:"".concat(Math.round(r.left-t.left+o),"px"),transform:"translateX(-100%) translateY(-100%)"};case"top":return{top:"".concat(Math.round(r.top-t.top+n),"px"),left:"".concat(Math.round(r.left-t.left+r.width/2+o),"px"),transform:"translateY(-100%) translateX(-50%)"};case"right":return{top:"".concat(Math.round(r.top-t.top+r.height/2+n),"px"),left:"".concat(Math.round(r.left-t.left+r.width+o),"px"),transform:"translateY(-50%)"};case"left":return{top:"".concat(Math.round(r.top-t.top+r.height/2+n),"px"),left:"".concat(Math.round(r.left-t.left+o),"px"),transform:"translateY(-50%) translateX(-100%)"};default:return{top:"".concat(Math.round(r.top-t.top+r.height+n),"px"),left:"".concat(Math.round(r.left-t.left+r.width/2+o),"px"),transform:"translateX(-50%)"}}}var style$y=c$2([c$2(".v-binder-follower-container",{position:"absolute",left:"0",right:"0",top:"0",height:"0",pointerEvents:"none",zIndex:"auto"}),c$2(".v-binder-follower-content",{position:"absolute",zIndex:"auto"},[c$2("> *",{pointerEvents:"all"})])]),VFollower=defineComponent({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup:function(e){var t=inject("VBinder"),r=useMemo((function(){return void 0!==e.enabled?e.enabled:e.show})),n=ref(null),o=ref(null),a=function(){var r=e.syncTrigger;r.includes("scroll")&&t.addScrollListener(l),r.includes("resize")&&t.addResizeListener(l)},i=function(){t.removeScrollListener(l),t.removeResizeListener(l)};onMounted((function(){r.value&&(l(),a())}));var s=useSsrAdapter();style$y.mount({id:"vueuc/binder",head:!0,anchorMetaName:cssrAnchorMetaName$1,ssr:s}),onBeforeUnmount((function(){i()})),onFontsReady((function(){r.value&&l()}));var l=function(){if(r.value){var a=n.value;if(null!==a){var i=t.targetRef,s=e.x,l=e.y,c=e.overlap,u=void 0!==s&&void 0!==l?getPointRect(s,l):getRect$1(i);a.style.setProperty("--v-target-width","".concat(Math.round(u.width),"px")),a.style.setProperty("--v-target-height","".concat(Math.round(u.height),"px"));var d=e.width,p=e.minWidth,f=e.placement,h=e.internalShift,v=e.flip;a.setAttribute("v-placement",f),c?a.setAttribute("v-overlap",""):a.removeAttribute("v-overlap");var g=a.style;g.width="target"===d?"".concat(u.width,"px"):void 0!==d?d:"",g.minWidth="target"===p?"".concat(u.width,"px"):void 0!==p?p:"";var m=getRect$1(a),b=getRect$1(o.value),A=getPlacementAndOffsetOfFollower(f,u,m,h,v,c),y=A.left,x=A.top,w=A.placement,C=getProperTransformOrigin(w,c),k=getOffset(w,b,u,x,y,c),_=k.left,S=k.top,B=k.transform;a.setAttribute("v-placement",w),a.style.setProperty("--v-offset-left","".concat(Math.round(y),"px")),a.style.setProperty("--v-offset-top","".concat(Math.round(x),"px")),a.style.transform="translateX(".concat(_,") translateY(").concat(S,") ").concat(B),a.style.setProperty("--v-transform-origin",C),a.style.transformOrigin=C}}};watch(r,(function(e){e?(a(),c()):i()}));var c=function(){nextTick().then(l).catch((function(e){return console.error(e)}))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach((function(t){watch(toRef(e,t),l)})),["teleportDisabled"].forEach((function(t){watch(toRef(e,t),c)})),watch(toRef(e,"syncTrigger"),(function(e){e.includes("resize")?t.addResizeListener(l):t.removeResizeListener(l),e.includes("scroll")?t.addScrollListener(l):t.removeScrollListener(l)}));var u=isMounted(),d=useMemo((function(){var t=e.to;if(void 0!==t)return t;u.value}));return{VBinder:t,mergedEnabled:r,offsetContainerRef:o,followerRef:n,mergedTo:d,syncPosition:l}},render:function(){var e=this;return h$1(LazyTeleport,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:function(){var t,r,n=h$1("div",{class:["v-binder-follower-container",e.containerClass],ref:"offsetContainerRef"},[h$1("div",{class:"v-binder-follower-content",ref:"followerRef"},null===(r=(t=e.$slots).default)||void 0===r?void 0:r.call(t))]);return e.zindexable?withDirectives(n,[[zindexable$1,{enabled:e.mergedEnabled,zIndex:e.zIndex}]]):n}})}}),resizeObservers=[],hasActiveObservations=function(){return resizeObservers.some((function(e){return e.activeTargets.length>0}))},hasSkippedObservations=function(){return resizeObservers.some((function(e){return e.skippedTargets.length>0}))},msg="ResizeObserver loop completed with undelivered notifications.",deliverResizeLoopError=function(){var e;"function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:msg}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=msg),window.dispatchEvent(e)},ResizeObserverBoxOptions;!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(ResizeObserverBoxOptions||(ResizeObserverBoxOptions={}));var freeze=function(e){return Object.freeze(e)},ResizeObserverSize=function(e,t){this.inlineSize=e,this.blockSize=t,freeze(this)},DOMRectReadOnly=function(){function e(e,t,r,n){return this.x=e,this.y=t,this.width=r,this.height=n,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,freeze(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),isSVG=function(e){return e instanceof SVGElement&&"getBBox"in e},isHidden=function(e){if(isSVG(e)){var t=e.getBBox(),r=t.width,n=t.height;return!r&&!n}var o=e,a=o.offsetWidth,i=o.offsetHeight;return!(a||i||e.getClientRects().length)},isElement=function(e){var t;if(e instanceof Element)return!0;var r=null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(r&&e instanceof r.Element)},isReplacedElement=function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},global$1="undefined"!=typeof window?window:{},cache=new WeakMap,scrollRegexp=/auto|scroll/,verticalRegexp=/^tb|vertical/,IE=/msie|trident/i.test(global$1.navigator&&global$1.navigator.userAgent),parseDimension=function(e){return parseFloat(e||"0")},size=function(e,t,r){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=!1),new ResizeObserverSize((r?t:e)||0,(r?e:t)||0)},zeroBoxes=freeze({devicePixelContentBoxSize:size(),borderBoxSize:size(),contentBoxSize:size(),contentRect:new DOMRectReadOnly(0,0,0,0)}),calculateBoxSizes=function(e,t){if(void 0===t&&(t=!1),cache.has(e)&&!t)return cache.get(e);if(isHidden(e))return cache.set(e,zeroBoxes),zeroBoxes;var r=getComputedStyle(e),n=isSVG(e)&&e.ownerSVGElement&&e.getBBox(),o=!IE&&"border-box"===r.boxSizing,a=verticalRegexp.test(r.writingMode||""),i=!n&&scrollRegexp.test(r.overflowY||""),s=!n&&scrollRegexp.test(r.overflowX||""),l=n?0:parseDimension(r.paddingTop),c=n?0:parseDimension(r.paddingRight),u=n?0:parseDimension(r.paddingBottom),d=n?0:parseDimension(r.paddingLeft),p=n?0:parseDimension(r.borderTopWidth),f=n?0:parseDimension(r.borderRightWidth),h=n?0:parseDimension(r.borderBottomWidth),v=d+c,g=l+u,m=(n?0:parseDimension(r.borderLeftWidth))+f,b=p+h,A=s?e.offsetHeight-b-e.clientHeight:0,y=i?e.offsetWidth-m-e.clientWidth:0,x=o?v+m:0,w=o?g+b:0,C=n?n.width:parseDimension(r.width)-x-y,k=n?n.height:parseDimension(r.height)-w-A,_=C+v+y+m,S=k+g+A+b,B=freeze({devicePixelContentBoxSize:size(Math.round(C*devicePixelRatio),Math.round(k*devicePixelRatio),a),borderBoxSize:size(_,S,a),contentBoxSize:size(C,k,a),contentRect:new DOMRectReadOnly(d,l,C,k)});return cache.set(e,B),B},calculateBoxSize=function(e,t,r){var n=calculateBoxSizes(e,r),o=n.borderBoxSize,a=n.contentBoxSize,i=n.devicePixelContentBoxSize;switch(t){case ResizeObserverBoxOptions.DEVICE_PIXEL_CONTENT_BOX:return i;case ResizeObserverBoxOptions.BORDER_BOX:return o;default:return a}},ResizeObserverEntry=function(e){var t=calculateBoxSizes(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=freeze([t.borderBoxSize]),this.contentBoxSize=freeze([t.contentBoxSize]),this.devicePixelContentBoxSize=freeze([t.devicePixelContentBoxSize])},calculateDepthForNode=function(e){if(isHidden(e))return 1/0;for(var t=0,r=e.parentNode;r;)t+=1,r=r.parentNode;return t},broadcastActiveObservations=function(){var e=1/0,t=[];resizeObservers.forEach((function(r){if(0!==r.activeTargets.length){var n=[];r.activeTargets.forEach((function(t){var r=new ResizeObserverEntry(t.target),o=calculateDepthForNode(t.target);n.push(r),t.lastReportedSize=calculateBoxSize(t.target,t.observedBox),o<e&&(e=o)})),t.push((function(){r.callback.call(r.observer,n,r.observer)})),r.activeTargets.splice(0,r.activeTargets.length)}}));for(var r=0,n=t;r<n.length;r++){(0,n[r])()}return e},gatherActiveObservationsAtDepth=function(e){resizeObservers.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(r){r.isActive()&&(calculateDepthForNode(r.target)>e?t.activeTargets.push(r):t.skippedTargets.push(r))}))}))},process$1=function(){var e=0;for(gatherActiveObservationsAtDepth(e);hasActiveObservations();)e=broadcastActiveObservations(),gatherActiveObservationsAtDepth(e);return hasSkippedObservations()&&deliverResizeLoopError(),e>0},trigger,callbacks=[],notify=function(){return callbacks.splice(0).forEach((function(e){return e()}))},queueMicroTask=function(e){if(!trigger){var t=0,r=document.createTextNode("");new MutationObserver((function(){return notify()})).observe(r,{characterData:!0}),trigger=function(){r.textContent="".concat(t?t--:t++)}}callbacks.push(e),trigger()},queueResizeObserver=function(e){queueMicroTask((function(){requestAnimationFrame(e)}))},watching=0,isWatching=function(){return!!watching},CATCH_PERIOD=250,observerConfig={attributes:!0,characterData:!0,childList:!0,subtree:!0},events=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],time$1=function(e){return void 0===e&&(e=0),Date.now()+e},scheduled=!1,Scheduler=function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=CATCH_PERIOD),!scheduled){scheduled=!0;var r=time$1(e);queueResizeObserver((function(){var n=!1;try{n=process$1()}finally{if(scheduled=!1,e=r-time$1(),!isWatching())return;n?t.run(1e3):e>0?t.run(e):t.start()}}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,observerConfig)};document.body?t():global$1.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),events.forEach((function(t){return global$1.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),events.forEach((function(t){return global$1.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}(),scheduler=new Scheduler,updateCount=function(e){!watching&&e>0&&scheduler.start(),!(watching+=e)&&scheduler.stop()},skipNotifyOnElement=function(e){return!isSVG(e)&&!isReplacedElement(e)&&"inline"===getComputedStyle(e).display},ResizeObservation=function(){function e(e,t){this.target=e,this.observedBox=t||ResizeObserverBoxOptions.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e=calculateBoxSize(this.target,this.observedBox,!0);return skipNotifyOnElement(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},e}(),ResizeObserverDetail=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},observerMap=new WeakMap,getObservationIndex=function(e,t){for(var r=0;r<e.length;r+=1)if(e[r].target===t)return r;return-1},ResizeObserverController=function(){function e(){}return e.connect=function(e,t){var r=new ResizeObserverDetail(e,t);observerMap.set(e,r)},e.observe=function(e,t,r){var n=observerMap.get(e),o=0===n.observationTargets.length;getObservationIndex(n.observationTargets,t)<0&&(o&&resizeObservers.push(n),n.observationTargets.push(new ResizeObservation(t,r&&r.box)),updateCount(1),scheduler.schedule())},e.unobserve=function(e,t){var r=observerMap.get(e),n=getObservationIndex(r.observationTargets,t),o=1===r.observationTargets.length;n>=0&&(o&&resizeObservers.splice(resizeObservers.indexOf(r),1),r.observationTargets.splice(n,1),updateCount(-1))},e.disconnect=function(e){var t=this,r=observerMap.get(e);r.observationTargets.slice().forEach((function(r){return t.unobserve(e,r.target)})),r.activeTargets.splice(0,r.activeTargets.length)},e}(),ResizeObserver=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");ResizeObserverController.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!isElement(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");ResizeObserverController.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!isElement(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");ResizeObserverController.unobserve(this,e)},e.prototype.disconnect=function(){ResizeObserverController.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}(),ResizeObserverDelegate=function(){function e(){_classCallCheck2(this,e),this.handleResize=this.handleResize.bind(this),this.observer=new("undefined"!=typeof window&&window.ResizeObserver||ResizeObserver)(this.handleResize),this.elHandlersMap=new Map}return _createClass2(e,[{key:"handleResize",value:function(e){var t,r=_createForOfIteratorHelper(e);try{for(r.s();!(t=r.n()).done;){var n=t.value,o=this.elHandlersMap.get(n.target);void 0!==o&&o(n)}}catch(err){r.e(err)}finally{r.f()}}},{key:"registerHandler",value:function(e,t){this.elHandlersMap.set(e,t),this.observer.observe(e)}},{key:"unregisterHandler",value:function(e){this.elHandlersMap.has(e)&&(this.elHandlersMap.delete(e),this.observer.unobserve(e))}}]),e}(),resizeObserverManager=new ResizeObserverDelegate,VResizeObserver=defineComponent({name:"ResizeObserver",props:{onResize:Function},setup:function(e){var t=!1,r=getCurrentInstance().proxy;function n(t){var r=e.onResize;void 0!==r&&r(t)}onMounted((function(){var e=r.$el;void 0!==e?e.nextElementSibling===e.nextSibling||3!==e.nodeType||""===e.nodeValue?null!==e.nextElementSibling&&(resizeObserverManager.registerHandler(e.nextElementSibling,n),t=!0):warn$1("resize-observer","$el can not be observed (it may be a text node)."):warn$1("resize-observer","$el does not exist.")})),onBeforeUnmount((function(){t&&resizeObserverManager.unregisterHandler(r.$el.nextElementSibling)}))},render:function(){return renderSlot(this.$slots,"default")}}),maybeTouch,wheelScale;function ensureMaybeTouch(){return void 0===maybeTouch&&(maybeTouch="matchMedia"in window&&window.matchMedia("(pointer:coarse)").matches),maybeTouch}function ensureWheelScale(){return void 0===wheelScale&&(wheelScale="chrome"in window?window.devicePixelRatio:1),wheelScale}var styles$c=c$2(".v-vl",{maxHeight:"inherit",height:"100%",overflow:"auto",minWidth:"1px"},[c$2("&:not(.v-vl--show-scrollbar)",{scrollbarWidth:"none"},[c$2("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",{width:0,height:0,display:"none"})])]),VVirtualList=defineComponent({name:"VirtualList",inheritAttrs:!1,props:{showScrollbar:{type:Boolean,default:!0},items:{type:Array,default:function(){return[]}},itemSize:{type:Number,required:!0},itemResizable:Boolean,itemsStyle:[String,Object],visibleItemsTag:{type:[String,Object],default:"div"},visibleItemsProps:Object,ignoreItemResize:Boolean,onScroll:Function,onWheel:Function,onResize:Function,defaultScrollKey:[Number,String],defaultScrollIndex:Number,keyField:{type:String,default:"key"},paddingTop:{type:[Number,String],default:0},paddingBottom:{type:[Number,String],default:0}},setup:function(e){var t=useSsrAdapter();styles$c.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:cssrAnchorMetaName$1,ssr:t}),onMounted((function(){var t=e.defaultScrollIndex,r=e.defaultScrollKey;null!=t?v({index:t}):null!=r&&v({key:r})}));var r=!1,n=!1;onActivated((function(){r=!1,n?v({top:p.value,left:d}):n=!0})),onDeactivated((function(){r=!0,n||(n=!0)}));var o,a=computed((function(){var t=new Map,r=e.keyField;return e.items.forEach((function(e,n){t.set(e[r],n)})),t})),i=ref(null),s=ref(void 0),l=new Map,c=computed((function(){var t=e.items,r=e.itemSize,n=e.keyField,o=new FinweckTree(t.length,r);return t.forEach((function(e,t){var r=e[n],a=l.get(r);void 0!==a&&o.add(t,a)})),o})),u=ref(0),d=0,p=ref(0),f=useMemo((function(){return Math.max(c.value.getBound(p.value-depx(e.paddingTop))-1,0)})),h=computed((function(){var t=s.value;if(void 0===t)return[];for(var r=e.items,n=e.itemSize,o=f.value,a=Math.min(o+Math.ceil(t/n+1),r.length-1),i=[],l=o;l<=a;++l)i.push(r[l]);return i})),v=function(e,t){if("number"!=typeof e){var r=e.left,n=e.top,o=e.index,i=e.key,s=e.position,l=e.behavior,c=e.debounce,u=void 0===c||c;if(void 0!==r||void 0!==n)b(r,n,l);else if(void 0!==o)m(o,l,u);else if(void 0!==i){var d=a.value.get(i);void 0!==d&&m(d,l,u)}else"bottom"===s?b(0,Number.MAX_SAFE_INTEGER,l):"top"===s&&b(0,0,l)}else b(e,t,"auto")},g=null;function m(t,r,n){var a=c.value,s=a.sum(t)+depx(e.paddingTop);if(n){o=t,null!==g&&window.clearTimeout(g),g=window.setTimeout((function(){o=void 0,g=null}),16);var l=i.value,u=l.scrollTop,d=l.offsetHeight;if(s>u){var p=a.get(t);s+p<=u+d||i.value.scrollTo({left:0,top:s+p-d,behavior:r})}else i.value.scrollTo({left:0,top:s,behavior:r})}else i.value.scrollTo({left:0,top:s,behavior:r})}function b(e,t,r){i.value.scrollTo({left:e,top:t,behavior:r})}var A=!ensureMaybeTouch(),y=!1;function x(){var e=i.value;null!=e&&(p.value=e.scrollTop,d=e.scrollLeft)}function w(e){for(var t=e;null!==t;){if("none"===t.style.display)return!0;t=t.parentElement}return!1}return{listHeight:s,listStyle:{overflow:"auto"},keyToIndex:a,itemsStyle:computed((function(){var t=e.itemResizable,r=pxfy(c.value.sum());return u.value,[e.itemsStyle,{boxSizing:"content-box",height:t?"":r,minHeight:t?r:"",paddingTop:pxfy(e.paddingTop),paddingBottom:pxfy(e.paddingBottom)}]})),visibleItemsStyle:computed((function(){return u.value,{transform:"translateY(".concat(pxfy(c.value.sum(f.value)),")")}})),viewportItems:h,listElRef:i,itemsElRef:ref(null),scrollTo:v,handleListResize:function(t){if(!r&&!w(t.target)&&t.contentRect.height!==s.value){s.value=t.contentRect.height;var n=e.onResize;void 0!==n&&n(t)}},handleListScroll:function(t){var r;null===(r=e.onScroll)||void 0===r||r.call(e,t),A&&y||x()},handleListWheel:function(t){var r;if(null===(r=e.onWheel)||void 0===r||r.call(e,t),A){var n=i.value;if(null!=n){if(0===t.deltaX){if(0===n.scrollTop&&t.deltaY<=0)return;if(n.scrollTop+n.offsetHeight>=n.scrollHeight&&t.deltaY>=0)return}t.preventDefault(),n.scrollTop+=t.deltaY/ensureWheelScale(),n.scrollLeft+=t.deltaX/ensureWheelScale(),x(),y=!0,beforeNextFrameOnce((function(){y=!1}))}}},handleItemResize:function(t,n){var s,d,p;if(!r&&!e.ignoreItemResize&&!w(n.target)){var f=c.value,h=a.value.get(t),v=f.get(h),g=null!==(p=null===(d=null===(s=n.borderBoxSize)||void 0===s?void 0:s[0])||void 0===d?void 0:d.blockSize)&&void 0!==p?p:n.contentRect.height;if(g!==v){0===g-e.itemSize?l.delete(t):l.set(t,g-e.itemSize);var m=g-v;if(0!==m){f.add(h,m);var b=i.value;if(null!=b){if(void 0===o){var A=f.sum(h);b.scrollTop>A&&b.scrollBy(0,m)}else if(h<o)b.scrollBy(0,m);else if(h===o){g+f.sum(h)>b.scrollTop+b.offsetHeight&&b.scrollBy(0,m)}x()}u.value++}}}}}},render:function(){var e=this,t=this.itemResizable,r=this.keyField,n=this.keyToIndex,o=this.visibleItemsTag;return h$1(VResizeObserver,{onResize:this.handleListResize},{default:function(){var a,i;return h$1("div",mergeProps(e.$attrs,{class:["v-vl",e.showScrollbar&&"v-vl--show-scrollbar"],onScroll:e.handleListScroll,onWheel:e.handleListWheel,ref:"listElRef"}),[0!==e.items.length?h$1("div",{ref:"itemsElRef",class:"v-vl-items",style:e.itemsStyle},[h$1(o,Object.assign({class:"v-vl-visible-items",style:e.visibleItemsStyle},e.visibleItemsProps),{default:function(){return e.viewportItems.map((function(o){var a=o[r],i=n.get(a),s=e.$slots.default({item:o,index:i})[0];return t?h$1(VResizeObserver,{key:a,onResize:function(t){return e.handleItemResize(a,t)}},{default:function(){return s}}):(s.key=a,s)}))}})]):null===(i=(a=e.$slots).empty)||void 0===i?void 0:i.call(a)])}})}}),styles$b=c$2(".v-x-scroll",{overflow:"auto",scrollbarWidth:"none"},[c$2("&::-webkit-scrollbar",{width:0,height:0})]),VXScroll=defineComponent({name:"XScroll",props:{disabled:Boolean,onScroll:Function},setup:function(){var e=ref(null);var t=useSsrAdapter();styles$b.mount({id:"vueuc/x-scroll",head:!0,anchorMetaName:cssrAnchorMetaName$1,ssr:t});var r={scrollTo:function(){var t,r;null===(r=e.value)||void 0===r||(t=r).scrollTo.apply(t,arguments)}};return Object.assign({selfRef:e,handleWheel:function(e){e.currentTarget.offsetWidth<e.currentTarget.scrollWidth&&0!==e.deltaY&&(e.currentTarget.scrollLeft+=e.deltaY+e.deltaX,e.preventDefault())}},r)},render:function(){return h$1("div",{ref:"selfRef",onScroll:this.onScroll,onWheel:this.disabled?void 0:this.handleWheel,class:"v-x-scroll"},this.$slots)}}),hiddenAttr="v-hidden",style$x=c$2("[v-hidden]",{display:"none!important"}),VOverflow=defineComponent({name:"Overflow",props:{getCounter:Function,getTail:Function,updateCounter:Function,onUpdateOverflow:Function},setup:function(e,t){var r=t.slots,n=ref(null),o=ref(null);function a(){var t,a=n.value,i=e.getCounter,s=e.getTail;if(t=void 0!==i?i():o.value,a&&t){t.hasAttribute(hiddenAttr)&&t.removeAttribute(hiddenAttr);for(var l=a.children,c=a.offsetWidth,u=[],d=r.tail?null==s?void 0:s():null,p=d?d.offsetWidth:0,f=!1,h=a.children.length-(r.tail?1:0),v=0;v<h-1;++v)if(!(v<0)){var g=l[v];if(f)g.hasAttribute(hiddenAttr)||g.setAttribute(hiddenAttr,"");else{g.hasAttribute(hiddenAttr)&&g.removeAttribute(hiddenAttr);var m=g.offsetWidth;if(p+=m,u[v]=m,p>c)for(var b=e.updateCounter,A=v;A>=0;--A){var y=h-1-A;void 0!==b?b(y):t.textContent="".concat(y);var x=t.offsetWidth;if((p-=u[A])+x<=c||0===A){f=!0,v=A-1,d&&(-1===v?(d.style.maxWidth="".concat(c-x,"px"),d.style.boxSizing="border-box"):d.style.maxWidth="");break}}}}var w=e.onUpdateOverflow;f?void 0!==w&&w(!0):(void 0!==w&&w(!1),t.setAttribute(hiddenAttr,""))}}var i=useSsrAdapter();return style$x.mount({id:"vueuc/overflow",head:!0,anchorMetaName:cssrAnchorMetaName$1,ssr:i}),onMounted(a),{selfRef:n,counterRef:o,sync:a}},render:function(){var e=this.$slots;return nextTick(this.sync),h$1("div",{class:"v-overflow",ref:"selfRef"},[renderSlot(e,"default"),e.counter?e.counter():h$1("span",{style:{display:"inline-block"},ref:"counterRef"}),e.tail?e.tail():null])}});function isHTMLElement(e){return e instanceof HTMLElement}function focusFirstDescendant(e){for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];if(isHTMLElement(r)&&(attemptFocus(r)||focusFirstDescendant(r)))return!0}return!1}function focusLastDescendant(e){for(var t=e.childNodes.length-1;t>=0;t--){var r=e.childNodes[t];if(isHTMLElement(r)&&(attemptFocus(r)||focusLastDescendant(r)))return!0}return!1}function attemptFocus(t){if(!isFocusable(t))return!1;try{t.focus({preventScroll:!0})}catch(e){}return document.activeElement===t}function isFocusable(e){if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.getAttribute("disabled"))return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return"hidden"!==e.type&&"file"!==e.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}var stack=[],FocusTrap=defineComponent({name:"FocusTrap",props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:String,finalFocusTo:String,returnFocusOnDeactivated:{type:Boolean,default:!0}},setup:function(e){var t=createId(),r=ref(null),n=ref(null),o=!1,a=!1,i="undefined"==typeof document?null:document.activeElement;function s(){return stack[stack.length-1]===t}function l(t){var r;"Escape"===t.code&&s()&&(null===(r=e.onEsc)||void 0===r||r.call(e,t))}function c(e){if(!a&&s()){var t=u();if(null===t)return;if(t.contains(getPreciseEventTarget(e)))return;p("first")}}function u(){var e=r.value;if(null===e)return null;for(var t=e;null!==(t=t.nextSibling)&&!(t instanceof Element&&"DIV"===t.tagName););return t}function d(){var r;if(!e.disabled&&(document.removeEventListener("focus",c,!0),stack=stack.filter((function(e){return e!==t})),!s())){var n=e.finalFocusTo;void 0!==n?null===(r=resolveTo(n))||void 0===r||r.focus({preventScroll:!0}):e.returnFocusOnDeactivated&&i instanceof HTMLElement&&(a=!0,i.focus({preventScroll:!0}),a=!1)}}function p(t){if(s()&&e.active){var o=r.value,i=n.value;if(null!==o&&null!==i){var l=u();if(null==l||l===i)return a=!0,o.focus({preventScroll:!0}),void(a=!1);a=!0;var c="first"===t?focusFirstDescendant(l):focusLastDescendant(l);a=!1,c||(a=!0,o.focus({preventScroll:!0}),a=!1)}}}return onMounted((function(){watch((function(){return e.active}),(function(r){r?(!function(){var r;if(e.disabled)return;if(stack.push(t),e.autoFocus){var n=e.initialFocusTo;void 0===n?p("first"):null===(r=resolveTo(n))||void 0===r||r.focus({preventScroll:!0})}o=!0,document.addEventListener("focus",c,!0)}(),on("keydown",document,l)):(off("keydown",document,l),o&&d())}),{immediate:!0})})),onBeforeUnmount((function(){off("keydown",document,l),o&&d()})),{focusableStartRef:r,focusableEndRef:n,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:function(e){if(!a){var t=u();null!==t&&(null!==e.relatedTarget&&t.contains(e.relatedTarget)?p("last"):p("first"))}},handleEndFocus:function(e){a||(null!==e.relatedTarget&&e.relatedTarget===r.value?p("last"):p("first"))}}},render:function(){var e=this.$slots.default;if(void 0===e)return null;if(this.disabled)return e();var t=this.active,r=this.focusableStyle;return h$1(Fragment,null,[h$1("div",{"aria-hidden":"true",tabindex:t?"0":"-1",ref:"focusableStartRef",style:r,onFocus:this.handleStartFocus}),e(),h$1("div",{"aria-hidden":"true",style:r,ref:"focusableEndRef",tabindex:t?"0":"-1",onFocus:this.handleEndFocus})])}});function useOnResize(e,t){t&&(onMounted((function(){var r=e.value;r&&resizeObserverManager.registerHandler(r,t)})),onBeforeUnmount((function(){var t=e.value;t&&resizeObserverManager.unregisterHandler(t)})))}var lockCount=0,originalMarginRight="",originalOverflow="",originalOverflowX="",originalOverflowY="",lockHtmlScrollRightCompensationRef=ref("0px");function useLockHtmlScroll(e){if("undefined"!=typeof document){var t,r=document.documentElement,n=!1,o=function(){r.style.marginRight=originalMarginRight,r.style.overflow=originalOverflow,r.style.overflowX=originalOverflowX,r.style.overflowY=originalOverflowY,lockHtmlScrollRightCompensationRef.value="0px"};onMounted((function(){t=watch(e,(function(e){if(e){if(!lockCount){var t=window.innerWidth-r.offsetWidth;t>0&&(originalMarginRight=r.style.marginRight,r.style.marginRight="".concat(t,"px"),lockHtmlScrollRightCompensationRef.value="".concat(t,"px")),originalOverflow=r.style.overflow,originalOverflowX=r.style.overflowX,originalOverflowY=r.style.overflowY,r.style.overflow="hidden",r.style.overflowX="hidden",r.style.overflowY="hidden"}n=!0,lockCount++}else--lockCount||o(),n=!1}),{immediate:!0})})),onBeforeUnmount((function(){null==t||t(),n&&(--lockCount||o(),n=!1)}))}}var isComposingRef=ref(!1),compositionStartHandler=function(){isComposingRef.value=!0},compositionEndHandler=function(){isComposingRef.value=!1},mountedCount=0,useIsComposing=function(){return isBrowser$2&&(onBeforeMount((function(){mountedCount||(window.addEventListener("compositionstart",compositionStartHandler),window.addEventListener("compositionend",compositionEndHandler)),mountedCount++})),onBeforeUnmount((function(){mountedCount<=1?(window.removeEventListener("compositionstart",compositionStartHandler),window.removeEventListener("compositionend",compositionEndHandler),mountedCount=0):mountedCount--}))),isComposingRef};function useReactivated(e){var t={isDeactivated:!1},r=!1;return onActivated((function(){t.isDeactivated=!1,r?e():r=!0})),onDeactivated((function(){t.isDeactivated=!0,r||(r=!0)})),t}var formItemInjectionKey=createInjectionKey("n-form-item");function useFormItem(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.defaultSize,n=void 0===r?"medium":r,o=t.mergedSize,a=t.mergedDisabled,i=inject(formItemInjectionKey,null);provide(formItemInjectionKey,null);var s=computed(o?function(){return o(i)}:function(){var t=e.size;if(t)return t;if(i){var r=i.mergedSize;if(void 0!==r.value)return r.value}return n}),l=computed(a?function(){return a(i)}:function(){var t=e.disabled;return void 0!==t?t:!!i&&i.disabled.value}),c=computed((function(){var t=e.status;return t||(null==i?void 0:i.mergedValidationStatus.value)}));return onBeforeUnmount((function(){i&&i.restoreValidation()})),{mergedSizeRef:s,mergedDisabledRef:l,mergedStatusRef:c,nTriggerFormBlur:function(){i&&i.handleContentBlur()},nTriggerFormChange:function(){i&&i.handleContentChange()},nTriggerFormFocus:function(){i&&i.handleContentFocus()},nTriggerFormInput:function(){i&&i.handleContentInput()}}}var freeGlobal="object"==("undefined"==typeof global?"undefined":_typeof2(global))&&global&&global.Object===Object&&global,freeGlobal$1=freeGlobal,freeSelf="object"==("undefined"==typeof self?"undefined":_typeof2(self))&&self&&self.Object===Object&&self,root$1=freeGlobal$1||freeSelf||Function("return this")(),root$2=root$1,Symbol$1=root$2.Symbol,Symbol$2=Symbol$1,objectProto$f=Object.prototype,hasOwnProperty$c=objectProto$f.hasOwnProperty,nativeObjectToString$1=objectProto$f.toString,symToStringTag$1=Symbol$2?Symbol$2.toStringTag:void 0;function getRawTag(t){var r=hasOwnProperty$c.call(t,symToStringTag$1),n=t[symToStringTag$1];try{t[symToStringTag$1]=void 0;var o=!0}catch(e){}var a=nativeObjectToString$1.call(t);return o&&(r?t[symToStringTag$1]=n:delete t[symToStringTag$1]),a}var objectProto$e=Object.prototype,nativeObjectToString=objectProto$e.toString;function objectToString$1(e){return nativeObjectToString.call(e)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$2?Symbol$2.toStringTag:void 0;function baseGetTag(e){return null==e?void 0===e?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(e)?getRawTag(e):objectToString$1(e)}function isObjectLike$1(e){return null!=e&&"object"==_typeof2(e)}var symbolTag$1="[object Symbol]";function isSymbol(e){return"symbol"==_typeof2(e)||isObjectLike$1(e)&&baseGetTag(e)==symbolTag$1}function arrayMap(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}var isArray$1=Array.isArray,isArray$2=isArray$1,INFINITY$1=1/0,symbolProto$1=Symbol$2?Symbol$2.prototype:void 0,symbolToString=symbolProto$1?symbolProto$1.toString:void 0;function baseToString(e){if("string"==typeof e)return e;if(isArray$2(e))return arrayMap(e,baseToString)+"";if(isSymbol(e))return symbolToString?symbolToString.call(e):"";var t=e+"";return"0"==t&&1/e==-INFINITY$1?"-0":t}var reWhitespace=/\s/;function trimmedEndIndex(e){for(var t=e.length;t--&&reWhitespace.test(e.charAt(t)););return t}var reTrimStart=/^\s+/;function baseTrim(e){return e?e.slice(0,trimmedEndIndex(e)+1).replace(reTrimStart,""):e}function isObject$1(e){var t=_typeof2(e);return null!=e&&("object"==t||"function"==t)}var NAN=NaN,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;function toNumber$2(e){if("number"==typeof e)return e;if(isSymbol(e))return NAN;if(isObject$1(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=isObject$1(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=baseTrim(e);var r=reIsBinary.test(e);return r||reIsOctal.test(e)?freeParseInt(e.slice(2),r?2:8):reIsBadHex.test(e)?NAN:+e}function identity(e){return e}var asyncTag="[object AsyncFunction]",funcTag$1="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction$1(e){if(!isObject$1(e))return!1;var t=baseGetTag(e);return t==funcTag$1||t==genTag||t==asyncTag||t==proxyTag}var coreJsData=root$2["__core-js_shared__"],coreJsData$1=coreJsData,maskSrcKey=function(){var e=/[^.]+$/.exec(coreJsData$1&&coreJsData$1.keys&&coreJsData$1.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function isMasked(e){return!!maskSrcKey&&maskSrcKey in e}var funcProto$3=Function.prototype,funcToString$3=funcProto$3.toString;function toSource(t){if(null!=t){try{return funcToString$3.call(t)}catch(e){}try{return t+""}catch(e){}}return""}var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto$2=Function.prototype,objectProto$d=Object.prototype,funcToString$2=funcProto$2.toString,hasOwnProperty$b=objectProto$d.hasOwnProperty,reIsNative=RegExp("^"+funcToString$2.call(hasOwnProperty$b).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(e){return!(!isObject$1(e)||isMasked(e))&&(isFunction$1(e)?reIsNative:reIsHostCtor).test(toSource(e))}function getValue$1(e,t){return null==e?void 0:e[t]}function getNative(e,t){var r=getValue$1(e,t);return baseIsNative(r)?r:void 0}var WeakMap$1=getNative(root$2,"WeakMap"),WeakMap$2=WeakMap$1,objectCreate=Object.create,baseCreate=function(){function e(){}return function(t){if(!isObject$1(t))return{};if(objectCreate)return objectCreate(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),baseCreate$1=baseCreate;function apply(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function copyArray(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var HOT_COUNT=800,HOT_SPAN=16,nativeNow=Date.now;function shortOut(e){var t=0,r=0;return function(){var n=nativeNow(),o=HOT_SPAN-(n-r);if(r=n,o>0){if(++t>=HOT_COUNT)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function constant(e){return function(){return e}}var defineProperty=function(){try{var t=getNative(Object,"defineProperty");return t({},"",{}),t}catch(e){}}(),defineProperty$1=defineProperty,baseSetToString=defineProperty$1?function(e,t){return defineProperty$1(e,"toString",{configurable:!0,enumerable:!1,value:constant(t),writable:!0})}:identity,baseSetToString$1=baseSetToString,setToString=shortOut(baseSetToString$1),setToString$1=setToString,MAX_SAFE_INTEGER$1=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(e,t){var r=_typeof2(e);return!!(t=null==t?MAX_SAFE_INTEGER$1:t)&&("number"==r||"symbol"!=r&&reIsUint.test(e))&&e>-1&&e%1==0&&e<t}function baseAssignValue(e,t,r){"__proto__"==t&&defineProperty$1?defineProperty$1(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function eq(e,t){return e===t||e!=e&&t!=t}var objectProto$c=Object.prototype,hasOwnProperty$a=objectProto$c.hasOwnProperty;function assignValue(e,t,r){var n=e[t];hasOwnProperty$a.call(e,t)&&eq(n,r)&&(void 0!==r||t in e)||baseAssignValue(e,t,r)}function copyObject(e,t,r,n){var o=!r;r||(r={});for(var a=-1,i=t.length;++a<i;){var s=t[a],l=n?n(r[s],e[s],s,r,e):void 0;void 0===l&&(l=e[s]),o?baseAssignValue(r,s,l):assignValue(r,s,l)}return r}var nativeMax$1=Math.max;function overRest(e,t,r){return t=nativeMax$1(void 0===t?e.length-1:t,0),function(){for(var n=arguments,o=-1,a=nativeMax$1(n.length-t,0),i=Array(a);++o<a;)i[o]=n[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=n[o];return s[t]=r(i),apply(e,this,s)}}function baseRest(e,t){return setToString$1(overRest(e,t,identity),e+"")}var MAX_SAFE_INTEGER=9007199254740991;function isLength(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=MAX_SAFE_INTEGER}function isArrayLike(e){return null!=e&&isLength(e.length)&&!isFunction$1(e)}function isIterateeCall(e,t,r){if(!isObject$1(r))return!1;var n=_typeof2(t);return!!("number"==n?isArrayLike(r)&&isIndex(t,r.length):"string"==n&&t in r)&&eq(r[t],e)}function createAssigner(e){return baseRest((function(t,r){var n=-1,o=r.length,a=o>1?r[o-1]:void 0,i=o>2?r[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,i&&isIterateeCall(r[0],r[1],i)&&(a=o<3?void 0:a,o=1),t=Object(t);++n<o;){var s=r[n];s&&e(t,s,n,a)}return t}))}var objectProto$b=Object.prototype;function isPrototype(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||objectProto$b)}function baseTimes(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var argsTag$2="[object Arguments]";function baseIsArguments(e){return isObjectLike$1(e)&&baseGetTag(e)==argsTag$2}var objectProto$a=Object.prototype,hasOwnProperty$9=objectProto$a.hasOwnProperty,propertyIsEnumerable$1=objectProto$a.propertyIsEnumerable,isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(e){return isObjectLike$1(e)&&hasOwnProperty$9.call(e,"callee")&&!propertyIsEnumerable$1.call(e,"callee")},isArguments$1=isArguments;function stubFalse(){return!1}var freeExports$2="object"==_typeof2(exports)&&exports&&!exports.nodeType&&exports,freeModule$2=freeExports$2&&"object"==_typeof2(module)&&module&&!module.nodeType&&module,moduleExports$2=freeModule$2&&freeModule$2.exports===freeExports$2,Buffer$1=moduleExports$2?root$2.Buffer:void 0,nativeIsBuffer=Buffer$1?Buffer$1.isBuffer:void 0,isBuffer=nativeIsBuffer||stubFalse,isBuffer$1=isBuffer,argsTag$1="[object Arguments]",arrayTag$1="[object Array]",boolTag$1="[object Boolean]",dateTag$1="[object Date]",errorTag$1="[object Error]",funcTag="[object Function]",mapTag$2="[object Map]",numberTag$1="[object Number]",objectTag$4="[object Object]",regexpTag$1="[object RegExp]",setTag$2="[object Set]",stringTag$1="[object String]",weakMapTag$1="[object WeakMap]",arrayBufferTag$1="[object ArrayBuffer]",dataViewTag$2="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",typedArrayTags={};function baseIsTypedArray(e){return isObjectLike$1(e)&&isLength(e.length)&&!!typedArrayTags[baseGetTag(e)]}function baseUnary(e){return function(t){return e(t)}}typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0,typedArrayTags[argsTag$1]=typedArrayTags[arrayTag$1]=typedArrayTags[arrayBufferTag$1]=typedArrayTags[boolTag$1]=typedArrayTags[dataViewTag$2]=typedArrayTags[dateTag$1]=typedArrayTags[errorTag$1]=typedArrayTags[funcTag]=typedArrayTags[mapTag$2]=typedArrayTags[numberTag$1]=typedArrayTags[objectTag$4]=typedArrayTags[regexpTag$1]=typedArrayTags[setTag$2]=typedArrayTags[stringTag$1]=typedArrayTags[weakMapTag$1]=!1;var freeExports$1="object"==_typeof2(exports)&&exports&&!exports.nodeType&&exports,freeModule$1=freeExports$1&&"object"==_typeof2(module)&&module&&!module.nodeType&&module,moduleExports$1=freeModule$1&&freeModule$1.exports===freeExports$1,freeProcess=moduleExports$1&&freeGlobal$1.process,nodeUtil=function(){try{var t=freeModule$1&&freeModule$1.require&&freeModule$1.require("util").types;return t||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(e){}}(),nodeUtil$1=nodeUtil,nodeIsTypedArray=nodeUtil$1&&nodeUtil$1.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray,isTypedArray$1=isTypedArray,objectProto$9=Object.prototype,hasOwnProperty$8=objectProto$9.hasOwnProperty;function arrayLikeKeys(e,t){var r=isArray$2(e),n=!r&&isArguments$1(e),o=!r&&!n&&isBuffer$1(e),a=!r&&!n&&!o&&isTypedArray$1(e),i=r||n||o||a,s=i?baseTimes(e.length,String):[],l=s.length;for(var c in e)!t&&!hasOwnProperty$8.call(e,c)||i&&("length"==c||o&&("offset"==c||"parent"==c)||a&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||isIndex(c,l))||s.push(c);return s}function overArg$1(e,t){return function(r){return e(t(r))}}var nativeKeys=overArg$1(Object.keys,Object),nativeKeys$1=nativeKeys,objectProto$8=Object.prototype,hasOwnProperty$7=objectProto$8.hasOwnProperty;function baseKeys(e){if(!isPrototype(e))return nativeKeys$1(e);var t=[];for(var r in Object(e))hasOwnProperty$7.call(e,r)&&"constructor"!=r&&t.push(r);return t}function keys$2(e){return isArrayLike(e)?arrayLikeKeys(e):baseKeys(e)}function nativeKeysIn(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}var objectProto$7=Object.prototype,hasOwnProperty$6=objectProto$7.hasOwnProperty;function baseKeysIn(e){if(!isObject$1(e))return nativeKeysIn(e);var t=isPrototype(e),r=[];for(var n in e)("constructor"!=n||!t&&hasOwnProperty$6.call(e,n))&&r.push(n);return r}function keysIn(e){return isArrayLike(e)?arrayLikeKeys(e,!0):baseKeysIn(e)}var reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;function isKey(e,t){if(isArray$2(e))return!1;var r=_typeof2(e);return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!isSymbol(e))||(reIsPlainProp.test(e)||!reIsDeepProp.test(e)||null!=t&&e in Object(t))}var nativeCreate=getNative(Object,"create"),nativeCreate$1=nativeCreate;function hashClear(){this.__data__=nativeCreate$1?nativeCreate$1(null):{},this.size=0}function hashDelete(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var HASH_UNDEFINED$2="__lodash_hash_undefined__",objectProto$6=Object.prototype,hasOwnProperty$5=objectProto$6.hasOwnProperty;function hashGet(e){var t=this.__data__;if(nativeCreate$1){var r=t[e];return r===HASH_UNDEFINED$2?void 0:r}return hasOwnProperty$5.call(t,e)?t[e]:void 0}var objectProto$5=Object.prototype,hasOwnProperty$4=objectProto$5.hasOwnProperty;function hashHas(e){var t=this.__data__;return nativeCreate$1?void 0!==t[e]:hasOwnProperty$4.call(t,e)}var HASH_UNDEFINED$1="__lodash_hash_undefined__";function hashSet(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=nativeCreate$1&&void 0===t?HASH_UNDEFINED$1:t,this}function Hash(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function listCacheClear(){this.__data__=[],this.size=0}function assocIndexOf(e,t){for(var r=e.length;r--;)if(eq(e[r][0],t))return r;return-1}Hash.prototype.clear=hashClear,Hash.prototype.delete=hashDelete,Hash.prototype.get=hashGet,Hash.prototype.has=hashHas,Hash.prototype.set=hashSet;var arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(e){var t=this.__data__,r=assocIndexOf(t,e);return!(r<0)&&(r==t.length-1?t.pop():splice.call(t,r,1),--this.size,!0)}function listCacheGet(e){var t=this.__data__,r=assocIndexOf(t,e);return r<0?void 0:t[r][1]}function listCacheHas(e){return assocIndexOf(this.__data__,e)>-1}function listCacheSet(e,t){var r=this.__data__,n=assocIndexOf(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function ListCache(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}ListCache.prototype.clear=listCacheClear,ListCache.prototype.delete=listCacheDelete,ListCache.prototype.get=listCacheGet,ListCache.prototype.has=listCacheHas,ListCache.prototype.set=listCacheSet;var Map$1=getNative(root$2,"Map"),Map$2=Map$1;function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map$2||ListCache),string:new Hash}}function isKeyable(e){var t=_typeof2(e);return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function getMapData(e,t){var r=e.__data__;return isKeyable(t)?r["string"==typeof t?"string":"hash"]:r.map}function mapCacheDelete(e){var t=getMapData(this,e).delete(e);return this.size-=t?1:0,t}function mapCacheGet(e){return getMapData(this,e).get(e)}function mapCacheHas(e){return getMapData(this,e).has(e)}function mapCacheSet(e,t){var r=getMapData(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function MapCache(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}MapCache.prototype.clear=mapCacheClear,MapCache.prototype.delete=mapCacheDelete,MapCache.prototype.get=mapCacheGet,MapCache.prototype.has=mapCacheHas,MapCache.prototype.set=mapCacheSet;var FUNC_ERROR_TEXT$2="Expected a function";function memoize(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(FUNC_ERROR_TEXT$2);var r=function r(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=e.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(memoize.Cache||MapCache),r}memoize.Cache=MapCache;var MAX_MEMOIZE_SIZE=500;function memoizeCapped(e){var t=memoize(e,(function(e){return r.size===MAX_MEMOIZE_SIZE&&r.clear(),e})),r=t.cache;return t}var rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=memoizeCapped((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(rePropName,(function(e,r,n,o){t.push(n?o.replace(reEscapeChar,"$1"):r||e)})),t})),stringToPath$1=stringToPath;function toString(e){return null==e?"":baseToString(e)}function castPath(e,t){return isArray$2(e)?e:isKey(e,t)?[e]:stringToPath$1(toString(e))}var INFINITY=1/0;function toKey(e){if("string"==typeof e||isSymbol(e))return e;var t=e+"";return"0"==t&&1/e==-INFINITY?"-0":t}function baseGet(e,t){for(var r=0,n=(t=castPath(t,e)).length;null!=e&&r<n;)e=e[toKey(t[r++])];return r&&r==n?e:void 0}function get(e,t,r){var n=null==e?void 0:baseGet(e,t);return void 0===n?r:n}function arrayPush(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}var getPrototype$1=overArg$1(Object.getPrototypeOf,Object),getPrototype$2=getPrototype$1,objectTag$3="[object Object]",funcProto$1=Function.prototype,objectProto$4=Object.prototype,funcToString$1=funcProto$1.toString,hasOwnProperty$3=objectProto$4.hasOwnProperty,objectCtorString$1=funcToString$1.call(Object);function isPlainObject$2(e){if(!isObjectLike$1(e)||baseGetTag(e)!=objectTag$3)return!1;var t=getPrototype$2(e);if(null===t)return!0;var r=hasOwnProperty$3.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&funcToString$1.call(r)==objectCtorString$1}function baseSlice(e,t,r){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var a=Array(o);++n<o;)a[n]=e[n+t];return a}function castSlice(e,t,r){var n=e.length;return r=void 0===r?n:r,!t&&r>=n?e:baseSlice(e,t,r)}var rsAstralRange$1="\\ud800-\\udfff",rsComboMarksRange$1="\\u0300-\\u036f",reComboHalfMarksRange$1="\\ufe20-\\ufe2f",rsComboSymbolsRange$1="\\u20d0-\\u20ff",rsComboRange$1=rsComboMarksRange$1+reComboHalfMarksRange$1+rsComboSymbolsRange$1,rsVarRange$1="\\ufe0e\\ufe0f",rsZWJ$1="\\u200d",reHasUnicode=RegExp("["+rsZWJ$1+rsAstralRange$1+rsComboRange$1+rsVarRange$1+"]");function hasUnicode(e){return reHasUnicode.test(e)}function asciiToArray(e){return e.split("")}var rsAstralRange="\\ud800-\\udfff",rsComboMarksRange="\\u0300-\\u036f",reComboHalfMarksRange="\\ufe20-\\ufe2f",rsComboSymbolsRange="\\u20d0-\\u20ff",rsComboRange=rsComboMarksRange+reComboHalfMarksRange+rsComboSymbolsRange,rsVarRange="\\ufe0e\\ufe0f",rsAstral="["+rsAstralRange+"]",rsCombo="["+rsComboRange+"]",rsFitz="\\ud83c[\\udffb-\\udfff]",rsModifier="(?:"+rsCombo+"|"+rsFitz+")",rsNonAstral="[^"+rsAstralRange+"]",rsRegional="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair="[\\ud800-\\udbff][\\udc00-\\udfff]",rsZWJ="\\u200d",reOptMod=rsModifier+"?",rsOptVar="["+rsVarRange+"]?",rsOptJoin="(?:"+rsZWJ+"(?:"+[rsNonAstral,rsRegional,rsSurrPair].join("|")+")"+rsOptVar+reOptMod+")*",rsSeq=rsOptVar+reOptMod+rsOptJoin,rsSymbol="(?:"+[rsNonAstral+rsCombo+"?",rsCombo,rsRegional,rsSurrPair,rsAstral].join("|")+")",reUnicode=RegExp(rsFitz+"(?="+rsFitz+")|"+rsSymbol+rsSeq,"g");function unicodeToArray(e){return e.match(reUnicode)||[]}function stringToArray(e){return hasUnicode(e)?unicodeToArray(e):asciiToArray(e)}function createCaseFirst(e){return function(t){var r=hasUnicode(t=toString(t))?stringToArray(t):void 0,n=r?r[0]:t.charAt(0),o=r?castSlice(r,1).join(""):t.slice(1);return n[e]()+o}}var upperFirst=createCaseFirst("toUpperCase"),upperFirst$1=upperFirst;function stackClear(){this.__data__=new ListCache,this.size=0}function stackDelete(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function stackGet(e){return this.__data__.get(e)}function stackHas(e){return this.__data__.has(e)}var LARGE_ARRAY_SIZE=200;function stackSet(e,t){var r=this.__data__;if(r instanceof ListCache){var n=r.__data__;if(!Map$2||n.length<LARGE_ARRAY_SIZE-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new MapCache(n)}return r.set(e,t),this.size=r.size,this}function Stack(e){var t=this.__data__=new ListCache(e);this.size=t.size}Stack.prototype.clear=stackClear,Stack.prototype.delete=stackDelete,Stack.prototype.get=stackGet,Stack.prototype.has=stackHas,Stack.prototype.set=stackSet;var freeExports="object"==_typeof2(exports)&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&"object"==_typeof2(module)&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,Buffer=moduleExports?root$2.Buffer:void 0,allocUnsafe=Buffer?Buffer.allocUnsafe:void 0;function cloneBuffer(e,t){if(t)return e.slice();var r=e.length,n=allocUnsafe?allocUnsafe(r):new e.constructor(r);return e.copy(n),n}function arrayFilter(e,t){for(var r=-1,n=null==e?0:e.length,o=0,a=[];++r<n;){var i=e[r];t(i,r,e)&&(a[o++]=i)}return a}function stubArray(){return[]}var objectProto$3=Object.prototype,propertyIsEnumerable=objectProto$3.propertyIsEnumerable,nativeGetSymbols=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols?function(e){return null==e?[]:(e=Object(e),arrayFilter(nativeGetSymbols(e),(function(t){return propertyIsEnumerable.call(e,t)})))}:stubArray,getSymbols$1=getSymbols;function baseGetAllKeys(e,t,r){var n=t(e);return isArray$2(e)?n:arrayPush(n,r(e))}function getAllKeys(e){return baseGetAllKeys(e,keys$2,getSymbols$1)}var DataView$1=getNative(root$2,"DataView"),DataView$2=DataView$1,Promise$1=getNative(root$2,"Promise"),Promise$2=Promise$1,Set$1=getNative(root$2,"Set"),Set$2=Set$1,mapTag$1="[object Map]",objectTag$2="[object Object]",promiseTag="[object Promise]",setTag$1="[object Set]",weakMapTag="[object WeakMap]",dataViewTag$1="[object DataView]",dataViewCtorString=toSource(DataView$2),mapCtorString=toSource(Map$2),promiseCtorString=toSource(Promise$2),setCtorString=toSource(Set$2),weakMapCtorString=toSource(WeakMap$2),getTag=baseGetTag;(DataView$2&&getTag(new DataView$2(new ArrayBuffer(1)))!=dataViewTag$1||Map$2&&getTag(new Map$2)!=mapTag$1||Promise$2&&getTag(Promise$2.resolve())!=promiseTag||Set$2&&getTag(new Set$2)!=setTag$1||WeakMap$2&&getTag(new WeakMap$2)!=weakMapTag)&&(getTag=function(e){var t=baseGetTag(e),r=t==objectTag$2?e.constructor:void 0,n=r?toSource(r):"";if(n)switch(n){case dataViewCtorString:return dataViewTag$1;case mapCtorString:return mapTag$1;case promiseCtorString:return promiseTag;case setCtorString:return setTag$1;case weakMapCtorString:return weakMapTag}return t});var getTag$1=getTag,Uint8Array$1=root$2.Uint8Array,Uint8Array$2=Uint8Array$1;function cloneArrayBuffer(e){var t=new e.constructor(e.byteLength);return new Uint8Array$2(t).set(new Uint8Array$2(e)),t}function cloneTypedArray(e,t){var r=t?cloneArrayBuffer(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function initCloneObject(e){return"function"!=typeof e.constructor||isPrototype(e)?{}:baseCreate$1(getPrototype$2(e))}var HASH_UNDEFINED="__lodash_hash_undefined__";function setCacheAdd(e){return this.__data__.set(e,HASH_UNDEFINED),this}function setCacheHas(e){return this.__data__.has(e)}function SetCache(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new MapCache;++t<r;)this.add(e[t])}function arraySome(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function cacheHas(e,t){return e.has(t)}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd,SetCache.prototype.has=setCacheHas;var COMPARE_PARTIAL_FLAG$5=1,COMPARE_UNORDERED_FLAG$3=2;function equalArrays(e,t,r,n,o,a){var i=r&COMPARE_PARTIAL_FLAG$5,s=e.length,l=t.length;if(s!=l&&!(i&&l>s))return!1;var c=a.get(e),u=a.get(t);if(c&&u)return c==t&&u==e;var d=-1,p=!0,f=r&COMPARE_UNORDERED_FLAG$3?new SetCache:void 0;for(a.set(e,t),a.set(t,e);++d<s;){var h=e[d],v=t[d];if(n)var g=i?n(v,h,d,t,e,a):n(h,v,d,e,t,a);if(void 0!==g){if(g)continue;p=!1;break}if(f){if(!arraySome(t,(function(e,t){if(!cacheHas(f,t)&&(h===e||o(h,e,r,n,a)))return f.push(t)}))){p=!1;break}}else if(h!==v&&!o(h,v,r,n,a)){p=!1;break}}return a.delete(e),a.delete(t),p}function mapToArray(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}function setToArray(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}var COMPARE_PARTIAL_FLAG$4=1,COMPARE_UNORDERED_FLAG$2=2,boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",mapTag="[object Map]",numberTag="[object Number]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",symbolProto=Symbol$2?Symbol$2.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function equalByTag(e,t,r,n,o,a,i){switch(r){case dataViewTag:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case arrayBufferTag:return!(e.byteLength!=t.byteLength||!a(new Uint8Array$2(e),new Uint8Array$2(t)));case boolTag:case dateTag:case numberTag:return eq(+e,+t);case errorTag:return e.name==t.name&&e.message==t.message;case regexpTag:case stringTag:return e==t+"";case mapTag:var s=mapToArray;case setTag:var l=n&COMPARE_PARTIAL_FLAG$4;if(s||(s=setToArray),e.size!=t.size&&!l)return!1;var c=i.get(e);if(c)return c==t;n|=COMPARE_UNORDERED_FLAG$2,i.set(e,t);var u=equalArrays(s(e),s(t),n,o,a,i);return i.delete(e),u;case symbolTag:if(symbolValueOf)return symbolValueOf.call(e)==symbolValueOf.call(t)}return!1}var COMPARE_PARTIAL_FLAG$3=1,objectProto$2=Object.prototype,hasOwnProperty$2=objectProto$2.hasOwnProperty;function equalObjects(e,t,r,n,o,a){var i=r&COMPARE_PARTIAL_FLAG$3,s=getAllKeys(e),l=s.length;if(l!=getAllKeys(t).length&&!i)return!1;for(var c=l;c--;){var u=s[c];if(!(i?u in t:hasOwnProperty$2.call(t,u)))return!1}var d=a.get(e),p=a.get(t);if(d&&p)return d==t&&p==e;var f=!0;a.set(e,t),a.set(t,e);for(var h=i;++c<l;){var v=e[u=s[c]],g=t[u];if(n)var m=i?n(g,v,u,t,e,a):n(v,g,u,e,t,a);if(!(void 0===m?v===g||o(v,g,r,n,a):m)){f=!1;break}h||(h="constructor"==u)}if(f&&!h){var b=e.constructor,A=t.constructor;b==A||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof A&&A instanceof A||(f=!1)}return a.delete(e),a.delete(t),f}var COMPARE_PARTIAL_FLAG$2=1,argsTag="[object Arguments]",arrayTag="[object Array]",objectTag$1="[object Object]",objectProto$1=Object.prototype,hasOwnProperty$1=objectProto$1.hasOwnProperty;function baseIsEqualDeep(e,t,r,n,o,a){var i=isArray$2(e),s=isArray$2(t),l=i?arrayTag:getTag$1(e),c=s?arrayTag:getTag$1(t),u=(l=l==argsTag?objectTag$1:l)==objectTag$1,d=(c=c==argsTag?objectTag$1:c)==objectTag$1,p=l==c;if(p&&isBuffer$1(e)){if(!isBuffer$1(t))return!1;i=!0,u=!1}if(p&&!u)return a||(a=new Stack),i||isTypedArray$1(e)?equalArrays(e,t,r,n,o,a):equalByTag(e,t,l,r,n,o,a);if(!(r&COMPARE_PARTIAL_FLAG$2)){var f=u&&hasOwnProperty$1.call(e,"__wrapped__"),h=d&&hasOwnProperty$1.call(t,"__wrapped__");if(f||h){var v=f?e.value():e,g=h?t.value():t;return a||(a=new Stack),o(v,g,r,n,a)}}return!!p&&(a||(a=new Stack),equalObjects(e,t,r,n,o,a))}function baseIsEqual(e,t,r,n,o){return e===t||(null==e||null==t||!isObjectLike$1(e)&&!isObjectLike$1(t)?e!=e&&t!=t:baseIsEqualDeep(e,t,r,n,baseIsEqual,o))}var COMPARE_PARTIAL_FLAG$1=1,COMPARE_UNORDERED_FLAG$1=2;function baseIsMatch(e,t,r,n){var o=r.length,a=o,i=!n;if(null==e)return!a;for(e=Object(e);o--;){var s=r[o];if(i&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<a;){var l=(s=r[o])[0],c=e[l],u=s[1];if(i&&s[2]){if(void 0===c&&!(l in e))return!1}else{var d=new Stack;if(n)var p=n(c,u,l,e,t,d);if(!(void 0===p?baseIsEqual(u,c,COMPARE_PARTIAL_FLAG$1|COMPARE_UNORDERED_FLAG$1,n,d):p))return!1}}return!0}function isStrictComparable(e){return e==e&&!isObject$1(e)}function getMatchData(e){for(var t=keys$2(e),r=t.length;r--;){var n=t[r],o=e[n];t[r]=[n,o,isStrictComparable(o)]}return t}function matchesStrictComparable(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}}function baseMatches(e){var t=getMatchData(e);return 1==t.length&&t[0][2]?matchesStrictComparable(t[0][0],t[0][1]):function(r){return r===e||baseIsMatch(r,e,t)}}function baseHasIn(e,t){return null!=e&&t in Object(e)}function hasPath(e,t,r){for(var n=-1,o=(t=castPath(t,e)).length,a=!1;++n<o;){var i=toKey(t[n]);if(!(a=null!=e&&r(e,i)))break;e=e[i]}return a||++n!=o?a:!!(o=null==e?0:e.length)&&isLength(o)&&isIndex(i,o)&&(isArray$2(e)||isArguments$1(e))}function hasIn(e,t){return null!=e&&hasPath(e,t,baseHasIn)}var COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;function baseMatchesProperty(e,t){return isKey(e)&&isStrictComparable(t)?matchesStrictComparable(toKey(e),t):function(r){var n=get(r,e);return void 0===n&&n===t?hasIn(r,e):baseIsEqual(t,n,COMPARE_PARTIAL_FLAG|COMPARE_UNORDERED_FLAG)}}function baseProperty(e){return function(t){return null==t?void 0:t[e]}}function basePropertyDeep(e){return function(t){return baseGet(t,e)}}function property(e){return isKey(e)?baseProperty(toKey(e)):basePropertyDeep(e)}function baseIteratee(e){return"function"==typeof e?e:null==e?identity:"object"==_typeof2(e)?isArray$2(e)?baseMatchesProperty(e[0],e[1]):baseMatches(e):property(e)}function createBaseFor(e){return function(t,r,n){for(var o=-1,a=Object(t),i=n(t),s=i.length;s--;){var l=i[e?s:++o];if(!1===r(a[l],l,a))break}return t}}var baseFor=createBaseFor(),baseFor$1=baseFor;function baseForOwn(e,t){return e&&baseFor$1(e,t,keys$2)}function createBaseEach(e,t){return function(r,n){if(null==r)return r;if(!isArrayLike(r))return e(r,n);for(var o=r.length,a=t?o:-1,i=Object(r);(t?a--:++a<o)&&!1!==n(i[a],a,i););return r}}var baseEach=createBaseEach(baseForOwn),baseEach$1=baseEach,now$1=function(){return root$2.Date.now()},now$2=now$1,FUNC_ERROR_TEXT$1="Expected a function",nativeMax=Math.max,nativeMin=Math.min;function debounce(e,t,r){var n,o,a,i,s,l,c=0,u=!1,d=!1,p=!0;if("function"!=typeof e)throw new TypeError(FUNC_ERROR_TEXT$1);function f(t){var r=n,a=o;return n=o=void 0,c=t,i=e.apply(a,r)}function h(e){var r=e-l;return void 0===l||r>=t||r<0||d&&e-c>=a}function v(){var e=now$2();if(h(e))return g(e);s=setTimeout(v,function(e){var r=t-(e-l);return d?nativeMin(r,a-(e-c)):r}(e))}function g(e){return s=void 0,p&&n?f(e):(n=o=void 0,i)}function m(){var e=now$2(),r=h(e);if(n=arguments,o=this,l=e,r){if(void 0===s)return function(e){return c=e,s=setTimeout(v,t),u?f(e):i}(l);if(d)return clearTimeout(s),s=setTimeout(v,t),f(l)}return void 0===s&&(s=setTimeout(v,t)),i}return t=toNumber$2(t)||0,isObject$1(r)&&(u=!!r.leading,a=(d="maxWait"in r)?nativeMax(toNumber$2(r.maxWait)||0,t):a,p="trailing"in r?!!r.trailing:p),m.cancel=function(){void 0!==s&&clearTimeout(s),c=0,n=l=o=s=void 0},m.flush=function(){return void 0===s?i:g(now$2())},m}function assignMergeValue(e,t,r){(void 0!==r&&!eq(e[t],r)||void 0===r&&!(t in e))&&baseAssignValue(e,t,r)}function isArrayLikeObject(e){return isObjectLike$1(e)&&isArrayLike(e)}function safeGet(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}function toPlainObject(e){return copyObject(e,keysIn(e))}function baseMergeDeep(e,t,r,n,o,a,i){var s=safeGet(e,r),l=safeGet(t,r),c=i.get(l);if(c)assignMergeValue(e,r,c);else{var u=a?a(s,l,r+"",e,t,i):void 0,d=void 0===u;if(d){var p=isArray$2(l),f=!p&&isBuffer$1(l),h=!p&&!f&&isTypedArray$1(l);u=l,p||f||h?isArray$2(s)?u=s:isArrayLikeObject(s)?u=copyArray(s):f?(d=!1,u=cloneBuffer(l,!0)):h?(d=!1,u=cloneTypedArray(l,!0)):u=[]:isPlainObject$2(l)||isArguments$1(l)?(u=s,isArguments$1(s)?u=toPlainObject(s):isObject$1(s)&&!isFunction$1(s)||(u=initCloneObject(l))):d=!1}d&&(i.set(l,u),o(u,l,n,a,i),i.delete(l)),assignMergeValue(e,r,u)}}function baseMerge(e,t,r,n,o){e!==t&&baseFor$1(t,(function(a,i){if(o||(o=new Stack),isObject$1(a))baseMergeDeep(e,t,i,r,baseMerge,n,o);else{var s=n?n(safeGet(e,i),a,i+"",e,t,o):void 0;void 0===s&&(s=a),assignMergeValue(e,i,s)}}),keysIn)}function baseMap(e,t){var r=-1,n=isArrayLike(e)?Array(e.length):[];return baseEach$1(e,(function(e,o,a){n[++r]=t(e,o,a)})),n}function map(e,t){return(isArray$2(e)?arrayMap:baseMap)(e,baseIteratee(t))}var merge$1=createAssigner((function(e,t,r){baseMerge(e,t,r)})),merge$2=merge$1,FUNC_ERROR_TEXT="Expected a function";function throttle(e,t,r){var n=!0,o=!0;if("function"!=typeof e)throw new TypeError(FUNC_ERROR_TEXT);return isObject$1(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),debounce(e,t,{leading:n,maxWait:t,trailing:o})}var commonVariables$m={fontFamily:'v-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',fontFamilyMono:"v-mono, SFMono-Regular, Menlo, Consolas, Courier, monospace",fontWeight:"400",fontWeightStrong:"500",cubicBezierEaseInOut:"cubic-bezier(.4, 0, .2, 1)",cubicBezierEaseOut:"cubic-bezier(0, 0, .2, 1)",cubicBezierEaseIn:"cubic-bezier(.4, 0, 1, 1)",borderRadius:"3px",borderRadiusSmall:"2px",fontSize:"14px",fontSizeMini:"12px",fontSizeTiny:"12px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",lineHeight:"1.6",heightMini:"16px",heightTiny:"22px",heightSmall:"28px",heightMedium:"34px",heightLarge:"40px",heightHuge:"46px"},fontSize=commonVariables$m.fontSize,fontFamily=commonVariables$m.fontFamily,lineHeight=commonVariables$m.lineHeight,globalStyle=c$3("body","\n margin: 0;\n font-size: ".concat(fontSize,";\n font-family: ").concat(fontFamily,";\n line-height: ").concat(lineHeight,";\n -webkit-text-size-adjust: 100%;\n -webkit-tap-highlight-color: transparent;\n"),[c$3("input","\n font-family: inherit;\n font-size: inherit;\n ")]),configProviderInjectionKey=createInjectionKey("n-config-provider"),cssrAnchorMetaName="naive-ui-style";function createTheme(e){return e}function useTheme(e,t,r,n,o,a){var i=useSsrAdapter(),s=inject(configProviderInjectionKey,null);if(r){var l=function(){var e=null==a?void 0:a.value;r.mount({id:void 0===e?t:e+t,head:!0,props:{bPrefix:e?".".concat(e,"-"):void 0},anchorMetaName:cssrAnchorMetaName,ssr:i}),(null==s?void 0:s.preflightStyleDisabled)||globalStyle.mount({id:"n-global",head:!0,anchorMetaName:cssrAnchorMetaName,ssr:i})};i?l():onBeforeMount(l)}return computed((function(){var t,r=o.theme,a=void 0===r?{}:r,i=a.common,l=a.self,c=a.peers,u=void 0===c?{}:c,d=o.themeOverrides,p=void 0===d?{}:d,f=o.builtinThemeOverrides,h=void 0===f?{}:f,v=p.common,g=p.peers,m=(null==s?void 0:s.mergedThemeRef.value)||{},b=m.common,A=void 0===b?void 0:b,y=m[e],x=void 0===y?{}:y,w=x.common,C=void 0===w?void 0:w,k=x.self,_=void 0===k?void 0:k,S=x.peers,B=void 0===S?{}:S,E=(null==s?void 0:s.mergedThemeOverridesRef.value)||{},T=E.common,P=void 0===T?void 0:T,I=E[e],N=void 0===I?{}:I,z=N.common,M=N.peers,R=void 0===M?{}:M,D=merge$2({},i||C||A||n.common,P,z,v);return{common:D,self:merge$2(null===(t=l||_||n.self)||void 0===t?void 0:t(D),h,N,p),peers:merge$2({},n.peers,B,u),peerOverrides:merge$2({},h.peers,R,g)}}))}useTheme.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};var defaultClsPrefix="n";function useConfig(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{defaultBordered:!0},r=inject(configProviderInjectionKey,null);return{inlineThemeDisabled:null==r?void 0:r.inlineThemeDisabled,mergedRtlRef:null==r?void 0:r.mergedRtlRef,mergedComponentPropsRef:null==r?void 0:r.mergedComponentPropsRef,mergedBreakpointsRef:null==r?void 0:r.mergedBreakpointsRef,mergedBorderedRef:computed((function(){var n,o,a=e.bordered;return void 0!==a?a:null===(o=null!==(n=null==r?void 0:r.mergedBorderedRef.value)&&void 0!==n?n:t.defaultBordered)||void 0===o||o})),mergedClsPrefixRef:computed((function(){return(null==r?void 0:r.mergedClsPrefixRef.value)||defaultClsPrefix})),namespaceRef:computed((function(){return null==r?void 0:r.mergedNamespaceRef.value}))}}var enUS={name:"en-US",global:{undo:"Undo",redo:"Redo",confirm:"Confirm",clear:"Clear"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:function(e){return"Please load all ".concat(e,"'s descendants before checking it.")}},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:function(e){return"Total ".concat(e," items")},selected:function(e){return"".concat(e," items selected")}},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"}},enUS$1=enUS;function buildFormatLongFn(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}function buildLocalizeFn(e){return function(t,r){var n;if("formatting"===(null!=r&&r.context?String(r.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,a=null!=r&&r.width?String(r.width):o;n=e.formattingValues[a]||e.formattingValues[o]}else{var i=e.defaultWidth,s=null!=r&&r.width?String(r.width):e.defaultWidth;n=e.values[s]||e.values[i]}return n[e.argumentCallback?e.argumentCallback(t):t]}}function buildMatchFn(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.width,o=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],a=t.match(o);if(!a)return null;var i,s=a[0],l=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?findIndex(l,(function(e){return e.test(s)})):findKey(l,(function(e){return e.test(s)}));return i=e.valueCallback?e.valueCallback(c):c,{value:i=r.valueCallback?r.valueCallback(i):i,rest:t.slice(s.length)}}}function findKey(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}function findIndex(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return r}function buildMatchPatternFn(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var o=n[0],a=t.match(e.parsePattern);if(!a)return null;var i=e.valueCallback?e.valueCallback(a[0]):a[0];return{value:i=r.valueCallback?r.valueCallback(i):i,rest:t.slice(o.length)}}}var formatDistanceLocale={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},formatDistance=function(e,t,r){var n,o=formatDistanceLocale[e];return n="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!=r&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n},formatDistance$1=formatDistance,dateFormats={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},timeFormats={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dateTimeFormats={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},formatLong={date:buildFormatLongFn({formats:dateFormats,defaultWidth:"full"}),time:buildFormatLongFn({formats:timeFormats,defaultWidth:"full"}),dateTime:buildFormatLongFn({formats:dateTimeFormats,defaultWidth:"full"})},formatLong$1=formatLong,formatRelativeLocale={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},formatRelative=function(e,t,r,n){return formatRelativeLocale[e]},formatRelative$1=formatRelative,eraValues={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},quarterValues={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},monthValues={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},dayValues={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},dayPeriodValues={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},formattingDayPeriodValues={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},ordinalNumber=function(e,t){var r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},localize={ordinalNumber:ordinalNumber,era:buildLocalizeFn({values:eraValues,defaultWidth:"wide"}),quarter:buildLocalizeFn({values:quarterValues,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:buildLocalizeFn({values:monthValues,defaultWidth:"wide"}),day:buildLocalizeFn({values:dayValues,defaultWidth:"wide"}),dayPeriod:buildLocalizeFn({values:dayPeriodValues,defaultWidth:"wide",formattingValues:formattingDayPeriodValues,defaultFormattingWidth:"wide"})},localize$1=localize,matchOrdinalNumberPattern=/^(\d+)(th|st|nd|rd)?/i,parseOrdinalNumberPattern=/\d+/i,matchEraPatterns={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},parseEraPatterns={any:[/^b/i,/^(a|c)/i]},matchQuarterPatterns={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},parseQuarterPatterns={any:[/1/i,/2/i,/3/i,/4/i]},matchMonthPatterns={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},parseMonthPatterns={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},matchDayPatterns={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},parseDayPatterns={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},matchDayPeriodPatterns={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},parseDayPeriodPatterns={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},match={ordinalNumber:buildMatchPatternFn({matchPattern:matchOrdinalNumberPattern,parsePattern:parseOrdinalNumberPattern,valueCallback:function(e){return parseInt(e,10)}}),era:buildMatchFn({matchPatterns:matchEraPatterns,defaultMatchWidth:"wide",parsePatterns:parseEraPatterns,defaultParseWidth:"any"}),quarter:buildMatchFn({matchPatterns:matchQuarterPatterns,defaultMatchWidth:"wide",parsePatterns:parseQuarterPatterns,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:buildMatchFn({matchPatterns:matchMonthPatterns,defaultMatchWidth:"wide",parsePatterns:parseMonthPatterns,defaultParseWidth:"any"}),day:buildMatchFn({matchPatterns:matchDayPatterns,defaultMatchWidth:"wide",parsePatterns:parseDayPatterns,defaultParseWidth:"any"}),dayPeriod:buildMatchFn({matchPatterns:matchDayPeriodPatterns,defaultMatchWidth:"any",parsePatterns:parseDayPeriodPatterns,defaultParseWidth:"any"})},match$1=match,locale={code:"en-US",formatDistance:formatDistance$1,formatLong:formatLong$1,formatRelative:formatRelative$1,localize:localize$1,match:match$1,options:{weekStartsOn:0,firstWeekContainsDate:1}},defaultLocale=locale,dateEnUs={name:"en-US",locale:defaultLocale},dateEnUS=dateEnUs;function useLocale(e){var t=inject(configProviderInjectionKey,null)||{},r=t.mergedLocaleRef,n=t.mergedDateLocaleRef,o=computed((function(){var t,n;return null!==(n=null===(t=null==r?void 0:r.value)||void 0===t?void 0:t[e])&&void 0!==n?n:enUS$1[e]}));return{dateLocaleRef:computed((function(){var e;return null!==(e=null==n?void 0:n.value)&&void 0!==e?e:dateEnUS})),localeRef:o}}function useStyle(e,t,r){if(t){var n=useSsrAdapter(),o=inject(configProviderInjectionKey,null),a=function(){var a=null==r?void 0:r.value;t.mount({id:void 0===a?e:a+e,head:!0,anchorMetaName:cssrAnchorMetaName,props:{bPrefix:a?".".concat(a,"-"):void 0},ssr:n}),(null==o?void 0:o.preflightStyleDisabled)||globalStyle.mount({id:"n-global",head:!0,anchorMetaName:cssrAnchorMetaName,ssr:n})};n?a():onBeforeMount(a)}}function useThemeClass(e,t,r,n){var o;r||throwError("useThemeClass","cssVarsRef is not passed");var a,i=null===(o=inject(configProviderInjectionKey,null))||void 0===o?void 0:o.mergedThemeHashRef,s=ref(""),l=useSsrAdapter(),c="__".concat(e);return watchEffect((function(){!function(){var e=c,o=t?t.value:void 0,u=null==i?void 0:i.value;u&&(e+="-"+u),o&&(e+="-"+o);var d=n.themeOverrides,p=n.builtinThemeOverrides;d&&(e+="-"+murmur2(JSON.stringify(d))),p&&(e+="-"+murmur2(JSON.stringify(p))),s.value=e,a=function(){var t=r.value,n="";for(var o in t)n+="".concat(o,": ").concat(t[o],";");c$3(".".concat(e),n).mount({id:e,ssr:l}),a=void 0}}()})),{themeClass:s,onRender:function(){null==a||a()}}}function useRtl(e,t,r){if(t){var n=useSsrAdapter(),o=computed((function(){var r=t.value;if(r){var n=r[e];if(n)return n}})),a=function(){watchEffect((function(){var t=r.value,a="".concat(t).concat(e,"Rtl");if(!exists(a,n)){var i=o.value;i&&i.style.mount({id:a,head:!0,anchorMetaName:cssrAnchorMetaName,props:{bPrefix:t?".".concat(t,"-"):void 0},ssr:n})}}))};return n?a():onBeforeMount(a),o}}var AddIcon=defineComponent({name:"Add",render:function(){return h$1("svg",{width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h$1("path",{d:"M256 112V400M400 256H112",stroke:"currentColor","stroke-width":"32","stroke-linecap":"round","stroke-linejoin":"round"}))}});function replaceable(e,t){return defineComponent({name:upperFirst$1(e),setup:function(){var r,n=null===(r=inject(configProviderInjectionKey,null))||void 0===r?void 0:r.mergedIconsRef;return function(){var r,o=null===(r=null==n?void 0:n.value)||void 0===r?void 0:r[e];return o?o():t}}})}var FinishedIcon=defineComponent({name:"Checkmark",render:function(){return h$1("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},h$1("g",{fill:"none"},h$1("path",{d:"M14.046 3.486a.75.75 0 0 1-.032 1.06l-7.93 7.474a.85.85 0 0 1-1.188-.022l-2.68-2.72a.75.75 0 1 1 1.068-1.053l2.234 2.267l7.468-7.038a.75.75 0 0 1 1.06.032z",fill:"currentColor"})))}}),ChevronRightIcon=defineComponent({name:"ChevronRight",render:function(){return h$1("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h$1("path",{d:"M5.64645 3.14645C5.45118 3.34171 5.45118 3.65829 5.64645 3.85355L9.79289 8L5.64645 12.1464C5.45118 12.3417 5.45118 12.6583 5.64645 12.8536C5.84171 13.0488 6.15829 13.0488 6.35355 12.8536L10.8536 8.35355C11.0488 8.15829 11.0488 7.84171 10.8536 7.64645L6.35355 3.14645C6.15829 2.95118 5.84171 2.95118 5.64645 3.14645Z",fill:"currentColor"}))}}),ErrorIcon$1=replaceable("close",h$1("svg",{viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0},h$1("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},h$1("g",{fill:"currentColor","fill-rule":"nonzero"},h$1("path",{d:"M2.08859116,2.2156945 L2.14644661,2.14644661 C2.32001296,1.97288026 2.58943736,1.95359511 2.7843055,2.08859116 L2.85355339,2.14644661 L6,5.293 L9.14644661,2.14644661 C9.34170876,1.95118446 9.65829124,1.95118446 9.85355339,2.14644661 C10.0488155,2.34170876 10.0488155,2.65829124 9.85355339,2.85355339 L6.707,6 L9.85355339,9.14644661 C10.0271197,9.32001296 10.0464049,9.58943736 9.91140884,9.7843055 L9.85355339,9.85355339 C9.67998704,10.0271197 9.41056264,10.0464049 9.2156945,9.91140884 L9.14644661,9.85355339 L6,6.707 L2.85355339,9.85355339 C2.65829124,10.0488155 2.34170876,10.0488155 2.14644661,9.85355339 C1.95118446,9.65829124 1.95118446,9.34170876 2.14644661,9.14644661 L5.293,6 L2.14644661,2.85355339 C1.97288026,2.67998704 1.95359511,2.41056264 2.08859116,2.2156945 L2.14644661,2.14644661 L2.08859116,2.2156945 Z"}))))),EyeIcon=defineComponent({name:"Eye",render:function(){return h$1("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},h$1("path",{d:"M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"}),h$1("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"}))}}),EyeOffIcon=defineComponent({name:"EyeOff",render:function(){return h$1("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},h$1("path",{d:"M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448z",fill:"currentColor"}),h$1("path",{d:"M255.66 384c-41.49 0-81.5-12.28-118.92-36.5c-34.07-22-64.74-53.51-88.7-91v-.08c19.94-28.57 41.78-52.73 65.24-72.21a2 2 0 0 0 .14-2.94L93.5 161.38a2 2 0 0 0-2.71-.12c-24.92 21-48.05 46.76-69.08 76.92a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416a239.13 239.13 0 0 0 75.8-12.58a2 2 0 0 0 .77-3.31l-21.58-21.58a4 4 0 0 0-3.83-1a204.8 204.8 0 0 1-51.16 6.47z",fill:"currentColor"}),h$1("path",{d:"M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96a227.34 227.34 0 0 0-74.89 12.83a2 2 0 0 0-.75 3.31l21.55 21.55a4 4 0 0 0 3.88 1a192.82 192.82 0 0 1 50.21-6.69c40.69 0 80.58 12.43 118.55 37c34.71 22.4 65.74 53.88 89.76 91a.13.13 0 0 1 0 .16a310.72 310.72 0 0 1-64.12 72.73a2 2 0 0 0-.15 2.95l19.9 19.89a2 2 0 0 0 2.7.13a343.49 343.49 0 0 0 68.64-78.48a32.2 32.2 0 0 0-.1-34.78z",fill:"currentColor"}),h$1("path",{d:"M256 160a95.88 95.88 0 0 0-21.37 2.4a2 2 0 0 0-1 3.38l112.59 112.56a2 2 0 0 0 3.38-1A96 96 0 0 0 256 160z",fill:"currentColor"}),h$1("path",{d:"M165.78 233.66a2 2 0 0 0-3.38 1a96 96 0 0 0 115 115a2 2 0 0 0 1-3.38z",fill:"currentColor"}))}}),EmptyIcon=defineComponent({name:"Empty",render:function(){return h$1("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h$1("path",{d:"M26 7.5C26 11.0899 23.0899 14 19.5 14C15.9101 14 13 11.0899 13 7.5C13 3.91015 15.9101 1 19.5 1C23.0899 1 26 3.91015 26 7.5ZM16.8536 4.14645C16.6583 3.95118 16.3417 3.95118 16.1464 4.14645C15.9512 4.34171 15.9512 4.65829 16.1464 4.85355L18.7929 7.5L16.1464 10.1464C15.9512 10.3417 15.9512 10.6583 16.1464 10.8536C16.3417 11.0488 16.6583 11.0488 16.8536 10.8536L19.5 8.20711L22.1464 10.8536C22.3417 11.0488 22.6583 11.0488 22.8536 10.8536C23.0488 10.6583 23.0488 10.3417 22.8536 10.1464L20.2071 7.5L22.8536 4.85355C23.0488 4.65829 23.0488 4.34171 22.8536 4.14645C22.6583 3.95118 22.3417 3.95118 22.1464 4.14645L19.5 6.79289L16.8536 4.14645Z",fill:"currentColor"}),h$1("path",{d:"M25 22.75V12.5991C24.5572 13.0765 24.053 13.4961 23.5 13.8454V16H17.5L17.3982 16.0068C17.0322 16.0565 16.75 16.3703 16.75 16.75C16.75 18.2688 15.5188 19.5 14 19.5C12.4812 19.5 11.25 18.2688 11.25 16.75L11.2432 16.6482C11.1935 16.2822 10.8797 16 10.5 16H4.5V7.25C4.5 6.2835 5.2835 5.5 6.25 5.5H12.2696C12.4146 4.97463 12.6153 4.47237 12.865 4H6.25C4.45507 4 3 5.45507 3 7.25V22.75C3 24.5449 4.45507 26 6.25 26H21.75C23.5449 26 25 24.5449 25 22.75ZM4.5 22.75V17.5H9.81597L9.85751 17.7041C10.2905 19.5919 11.9808 21 14 21L14.215 20.9947C16.2095 20.8953 17.842 19.4209 18.184 17.5H23.5V22.75C23.5 23.7165 22.7165 24.5 21.75 24.5H6.25C5.2835 24.5 4.5 23.7165 4.5 22.75Z",fill:"currentColor"}))}}),ErrorIcon=replaceable("error",h$1("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},h$1("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},h$1("g",{"fill-rule":"nonzero"},h$1("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M17.8838835,16.1161165 L17.7823881,16.0249942 C17.3266086,15.6583353 16.6733914,15.6583353 16.2176119,16.0249942 L16.1161165,16.1161165 L16.0249942,16.2176119 C15.6583353,16.6733914 15.6583353,17.3266086 16.0249942,17.7823881 L16.1161165,17.8838835 L22.233,24 L16.1161165,30.1161165 L16.0249942,30.2176119 C15.6583353,30.6733914 15.6583353,31.3266086 16.0249942,31.7823881 L16.1161165,31.8838835 L16.2176119,31.9750058 C16.6733914,32.3416647 17.3266086,32.3416647 17.7823881,31.9750058 L17.8838835,31.8838835 L24,25.767 L30.1161165,31.8838835 L30.2176119,31.9750058 C30.6733914,32.3416647 31.3266086,32.3416647 31.7823881,31.9750058 L31.8838835,31.8838835 L31.9750058,31.7823881 C32.3416647,31.3266086 32.3416647,30.6733914 31.9750058,30.2176119 L31.8838835,30.1161165 L25.767,24 L31.8838835,17.8838835 L31.9750058,17.7823881 C32.3416647,17.3266086 32.3416647,16.6733914 31.9750058,16.2176119 L31.8838835,16.1161165 L31.7823881,16.0249942 C31.3266086,15.6583353 30.6733914,15.6583353 30.2176119,16.0249942 L30.1161165,16.1161165 L24,22.233 L17.8838835,16.1161165 L17.7823881,16.0249942 L17.8838835,16.1161165 Z"}))))),InfoIcon=replaceable("info",h$1("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},h$1("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},h$1("g",{"fill-rule":"nonzero"},h$1("path",{d:"M14,2 C20.6274,2 26,7.37258 26,14 C26,20.6274 20.6274,26 14,26 C7.37258,26 2,20.6274 2,14 C2,7.37258 7.37258,2 14,2 Z M14,11 C13.4477,11 13,11.4477 13,12 L13,12 L13,20 C13,20.5523 13.4477,21 14,21 C14.5523,21 15,20.5523 15,20 L15,20 L15,12 C15,11.4477 14.5523,11 14,11 Z M14,6.75 C13.3096,6.75 12.75,7.30964 12.75,8 C12.75,8.69036 13.3096,9.25 14,9.25 C14.6904,9.25 15.25,8.69036 15.25,8 C15.25,7.30964 14.6904,6.75 14,6.75 Z"}))))),RemoveIcon=defineComponent({name:"Remove",render:function(){return h$1("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},h$1("line",{x1:"400",y1:"256",x2:"112",y2:"256",style:"\n fill: none;\n stroke: currentColor;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke-width: 32px;\n "}))}}),SuccessIcon=replaceable("success",h$1("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},h$1("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},h$1("g",{"fill-rule":"nonzero"},h$1("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M32.6338835,17.6161165 C32.1782718,17.1605048 31.4584514,17.1301307 30.9676119,17.5249942 L30.8661165,17.6161165 L20.75,27.732233 L17.1338835,24.1161165 C16.6457281,23.6279612 15.8542719,23.6279612 15.3661165,24.1161165 C14.9105048,24.5717282 14.8801307,25.2915486 15.2749942,25.7823881 L15.3661165,25.8838835 L19.8661165,30.3838835 C20.3217282,30.8394952 21.0415486,30.8698693 21.5323881,30.4750058 L21.6338835,30.3838835 L32.6338835,19.3838835 C33.1220388,18.8957281 33.1220388,18.1042719 32.6338835,17.6161165 Z"}))))),WarningIcon=replaceable("warning",h$1("svg",{viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},h$1("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},h$1("g",{"fill-rule":"nonzero"},h$1("path",{d:"M12,2 C17.523,2 22,6.478 22,12 C22,17.522 17.523,22 12,22 C6.477,22 2,17.522 2,12 C2,6.478 6.477,2 12,2 Z M12.0018002,15.0037242 C11.450254,15.0037242 11.0031376,15.4508407 11.0031376,16.0023869 C11.0031376,16.553933 11.450254,17.0010495 12.0018002,17.0010495 C12.5533463,17.0010495 13.0004628,16.553933 13.0004628,16.0023869 C13.0004628,15.4508407 12.5533463,15.0037242 12.0018002,15.0037242 Z M11.99964,7 C11.4868042,7.00018474 11.0642719,7.38637706 11.0066858,7.8837365 L11,8.00036004 L11.0018003,13.0012393 L11.00857,13.117858 C11.0665141,13.6151758 11.4893244,14.0010638 12.0021602,14.0008793 C12.514996,14.0006946 12.9375283,13.6145023 12.9951144,13.1171428 L13.0018002,13.0005193 L13,7.99964009 L12.9932303,7.8830214 C12.9352861,7.38570354 12.5124758,6.99981552 11.99964,7 Z"}))))),ChevronDownIcon=defineComponent({name:"ChevronDown",render:function(){return h$1("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h$1("path",{d:"M3.14645 5.64645C3.34171 5.45118 3.65829 5.45118 3.85355 5.64645L8 9.79289L12.1464 5.64645C12.3417 5.45118 12.6583 5.45118 12.8536 5.64645C13.0488 5.84171 13.0488 6.15829 12.8536 6.35355L8.35355 10.8536C8.15829 11.0488 7.84171 11.0488 7.64645 10.8536L3.14645 6.35355C2.95118 6.15829 2.95118 5.84171 3.14645 5.64645Z",fill:"currentColor"}))}}),ClearIcon=replaceable("clear",h$1("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},h$1("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},h$1("g",{fill:"currentColor","fill-rule":"nonzero"},h$1("path",{d:"M8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 C2,4.6862915 4.6862915,2 8,2 Z M6.5343055,5.83859116 C6.33943736,5.70359511 6.07001296,5.72288026 5.89644661,5.89644661 L5.89644661,5.89644661 L5.83859116,5.9656945 C5.70359511,6.16056264 5.72288026,6.42998704 5.89644661,6.60355339 L5.89644661,6.60355339 L7.293,8 L5.89644661,9.39644661 L5.83859116,9.4656945 C5.70359511,9.66056264 5.72288026,9.92998704 5.89644661,10.1035534 L5.89644661,10.1035534 L5.9656945,10.1614088 C6.16056264,10.2964049 6.42998704,10.2771197 6.60355339,10.1035534 L6.60355339,10.1035534 L8,8.707 L9.39644661,10.1035534 L9.4656945,10.1614088 C9.66056264,10.2964049 9.92998704,10.2771197 10.1035534,10.1035534 L10.1035534,10.1035534 L10.1614088,10.0343055 C10.2964049,9.83943736 10.2771197,9.57001296 10.1035534,9.39644661 L10.1035534,9.39644661 L8.707,8 L10.1035534,6.60355339 L10.1614088,6.5343055 C10.2964049,6.33943736 10.2771197,6.07001296 10.1035534,5.89644661 L10.1035534,5.89644661 L10.0343055,5.83859116 C9.83943736,5.70359511 9.57001296,5.72288026 9.39644661,5.89644661 L9.39644661,5.89644661 L8,7.293 L6.60355339,5.89644661 Z"}))))),NIconSwitchTransition=defineComponent({name:"BaseIconSwitchTransition",setup:function(e,t){var r=t.slots,n=isMounted();return function(){return h$1(Transition,{name:"icon-switch-transition",appear:n.value},r)}}}),NFadeInExpandTransition=defineComponent({name:"FadeInExpandTransition",props:{appear:Boolean,group:Boolean,mode:String,onLeave:Function,onAfterLeave:Function,onAfterEnter:Function,width:Boolean,reverse:Boolean},setup:function(e,t){var r=t.slots;function n(t){e.width?t.style.maxWidth="".concat(t.offsetWidth,"px"):t.style.maxHeight="".concat(t.offsetHeight,"px"),t.offsetWidth}function o(t){e.width?t.style.maxWidth="0":t.style.maxHeight="0",t.offsetWidth;var r=e.onLeave;r&&r()}function a(t){e.width?t.style.maxWidth="":t.style.maxHeight="";var r=e.onAfterLeave;r&&r()}function i(t){if(t.style.transition="none",e.width){var r=t.offsetWidth;t.style.maxWidth="0",t.offsetWidth,t.style.transition="",t.style.maxWidth="".concat(r,"px")}else if(e.reverse)t.style.maxHeight="".concat(t.offsetHeight,"px"),t.offsetHeight,t.style.transition="",t.style.maxHeight="0";else{var n=t.offsetHeight;t.style.maxHeight="0",t.offsetWidth,t.style.transition="",t.style.maxHeight="".concat(n,"px")}t.offsetWidth}function s(t){var r;e.width?t.style.maxWidth="":e.reverse||(t.style.maxHeight=""),null===(r=e.onAfterEnter)||void 0===r||r.call(e)}return function(){var t=e.group,l=e.width,c=e.appear,u=e.mode,d=t?TransitionGroup:Transition,p={name:l?"fade-in-width-expand-transition":"fade-in-height-expand-transition",appear:c,onEnter:i,onAfterEnter:s,onBeforeLeave:n,onLeave:o,onAfterLeave:a};return t||(p.mode=u),h$1(d,p,r)}}}),style$w=cB("base-icon","\n height: 1em;\n width: 1em;\n line-height: 1em;\n text-align: center;\n display: inline-block;\n position: relative;\n fill: currentColor;\n transform: translateZ(0);\n",[c$3("svg","\n height: 1em;\n width: 1em;\n ")]),NBaseIcon=defineComponent({name:"BaseIcon",props:{role:String,ariaLabel:String,ariaDisabled:{type:Boolean,default:void 0},ariaHidden:{type:Boolean,default:void 0},clsPrefix:{type:String,required:!0},onClick:Function,onMousedown:Function,onMouseup:Function},setup:function(e){useStyle("-base-icon",style$w,toRef(e,"clsPrefix"))},render:function(){return h$1("i",{class:"".concat(this.clsPrefix,"-base-icon"),onClick:this.onClick,onMousedown:this.onMousedown,onMouseup:this.onMouseup,role:this.role,"aria-label":this.ariaLabel,"aria-hidden":this.ariaHidden,"aria-disabled":this.ariaDisabled},this.$slots)}}),style$v=cB("base-close","\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n background-color: transparent;\n color: var(--n-close-icon-color);\n border-radius: var(--n-close-border-radius);\n height: var(--n-close-size);\n width: var(--n-close-size);\n font-size: var(--n-close-icon-size);\n outline: none;\n border: none;\n position: relative;\n padding: 0;\n",[cM("absolute","\n height: var(--n-close-icon-size);\n width: var(--n-close-icon-size);\n "),c$3("&::before",'\n content: "";\n position: absolute;\n width: var(--n-close-size);\n height: var(--n-close-size);\n left: 50%;\n top: 50%;\n transform: translateY(-50%) translateX(-50%);\n transition: inherit;\n border-radius: inherit;\n '),cNotM("disabled",[c$3("&:hover","\n color: var(--n-close-icon-color-hover);\n "),c$3("&:hover::before","\n background-color: var(--n-close-color-hover);\n "),c$3("&:focus::before","\n background-color: var(--n-close-color-hover);\n "),c$3("&:active","\n color: var(--n-close-icon-color-pressed);\n "),c$3("&:active::before","\n background-color: var(--n-close-color-pressed);\n ")]),cM("disabled","\n cursor: not-allowed;\n color: var(--n-close-icon-color-disabled);\n background-color: transparent;\n "),cM("round",[c$3("&::before","\n border-radius: 50%;\n ")])]),NBaseClose=defineComponent({name:"BaseClose",props:{isButtonTag:{type:Boolean,default:!0},clsPrefix:{type:String,required:!0},disabled:{type:Boolean,default:void 0},focusable:{type:Boolean,default:!0},round:Boolean,onClick:Function,absolute:Boolean},setup:function(e){return useStyle("-base-close",style$v,toRef(e,"clsPrefix")),function(){var t=e.clsPrefix,r=e.disabled,n=e.absolute,o=e.round,a=e.isButtonTag;return h$1(a?"button":"div",{type:a?"button":void 0,tabindex:r||!e.focusable?-1:0,"aria-disabled":r,"aria-label":"close",role:a?void 0:"button",disabled:r,class:["".concat(t,"-base-close"),n&&"".concat(t,"-base-close--absolute"),r&&"".concat(t,"-base-close--disabled"),o&&"".concat(t,"-base-close--round")],onMousedown:function(t){e.focusable||t.preventDefault()},onClick:e.onClick},h$1(NBaseIcon,{clsPrefix:t},{default:function(){return h$1(ErrorIcon$1,null)}}))}}}),FocusDetector=defineComponent({props:{onFocus:Function,onBlur:Function},setup:function(e){return function(){return h$1("div",{style:"width: 0; height: 0",tabindex:0,onFocus:e.onFocus,onBlur:e.onBlur})}}}),cubicBezierEaseInOut$4=commonVariables$m.cubicBezierEaseInOut;function iconSwitchTransition(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.originalTransform,r=void 0===t?"":t,n=e.left,o=void 0===n?0:n,a=e.top,i=void 0===a?0:a,s=e.transition,l=void 0===s?"all .3s ".concat(cubicBezierEaseInOut$4," !important"):s;return[c$3("&.icon-switch-transition-enter-from, &.icon-switch-transition-leave-to",{transform:r+" scale(0.75)",left:o,top:i,opacity:0}),c$3("&.icon-switch-transition-enter-to, &.icon-switch-transition-leave-from",{transform:"scale(1) ".concat(r),left:o,top:i,opacity:1}),c$3("&.icon-switch-transition-enter-active, &.icon-switch-transition-leave-active",{transformOrigin:"center",position:"absolute",left:o,top:i,transition:l})]}var style$u=c$3([c$3("@keyframes loading-container-rotate","\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n "),c$3("@keyframes loading-layer-rotate","\n 12.5% {\n -webkit-transform: rotate(135deg);\n transform: rotate(135deg);\n }\n 25% {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n }\n 37.5% {\n -webkit-transform: rotate(405deg);\n transform: rotate(405deg);\n }\n 50% {\n -webkit-transform: rotate(540deg);\n transform: rotate(540deg);\n }\n 62.5% {\n -webkit-transform: rotate(675deg);\n transform: rotate(675deg);\n }\n 75% {\n -webkit-transform: rotate(810deg);\n transform: rotate(810deg);\n }\n 87.5% {\n -webkit-transform: rotate(945deg);\n transform: rotate(945deg);\n }\n 100% {\n -webkit-transform: rotate(1080deg);\n transform: rotate(1080deg);\n } \n "),c$3("@keyframes loading-left-spin","\n from {\n -webkit-transform: rotate(265deg);\n transform: rotate(265deg);\n }\n 50% {\n -webkit-transform: rotate(130deg);\n transform: rotate(130deg);\n }\n to {\n -webkit-transform: rotate(265deg);\n transform: rotate(265deg);\n }\n "),c$3("@keyframes loading-right-spin","\n from {\n -webkit-transform: rotate(-265deg);\n transform: rotate(-265deg);\n }\n 50% {\n -webkit-transform: rotate(-130deg);\n transform: rotate(-130deg);\n }\n to {\n -webkit-transform: rotate(-265deg);\n transform: rotate(-265deg);\n }\n "),cB("base-loading","\n position: relative;\n line-height: 0;\n width: 1em;\n height: 1em;\n ",[cE("transition-wrapper","\n position: absolute;\n width: 100%;\n height: 100%;\n ",[iconSwitchTransition()]),cE("container","\n display: inline-flex;\n position: relative;\n direction: ltr;\n line-height: 0;\n animation: loading-container-rotate 1568.2352941176ms linear infinite;\n font-size: 0;\n letter-spacing: 0;\n white-space: nowrap;\n opacity: 1;\n width: 100%;\n height: 100%;\n ",[cE("svg","\n stroke: var(--n-text-color);\n fill: transparent;\n position: absolute;\n height: 100%;\n overflow: hidden;\n "),cE("container-layer","\n position: absolute;\n width: 100%;\n height: 100%;\n animation: loading-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;\n ",[cE("container-layer-left","\n display: inline-flex;\n position: relative;\n width: 50%;\n height: 100%;\n overflow: hidden;\n ",[cE("svg","\n animation: loading-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;\n width: 200%;\n ")]),cE("container-layer-patch","\n position: absolute;\n top: 0;\n left: 47.5%;\n box-sizing: border-box;\n width: 5%;\n height: 100%;\n overflow: hidden;\n ",[cE("svg","\n left: -900%;\n width: 2000%;\n transform: rotate(180deg);\n ")]),cE("container-layer-right","\n display: inline-flex;\n position: relative;\n width: 50%;\n height: 100%;\n overflow: hidden;\n ",[cE("svg","\n animation: loading-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;\n left: -100%;\n width: 200%;\n ")])])]),cE("placeholder","\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n ",[iconSwitchTransition({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})])])]),exposedLoadingProps={strokeWidth:{type:Number,default:28},stroke:{type:String,default:void 0}},NBaseLoading=defineComponent({name:"BaseLoading",props:Object.assign({clsPrefix:{type:String,required:!0},show:{type:Boolean,default:!0},scale:{type:Number,default:1},radius:{type:Number,default:100}},exposedLoadingProps),setup:function(e){useStyle("-base-loading",style$u,toRef(e,"clsPrefix"))},render:function(){var e=this,t=this.clsPrefix,r=this.radius,n=this.strokeWidth,o=this.stroke,a=this.scale,i=r/a;return h$1("div",{class:"".concat(t,"-base-loading"),role:"img","aria-label":"loading"},h$1(NIconSwitchTransition,null,{default:function(){return e.show?h$1("div",{key:"icon",class:"".concat(t,"-base-loading__transition-wrapper")},h$1("div",{class:"".concat(t,"-base-loading__container")},h$1("div",{class:"".concat(t,"-base-loading__container-layer")},h$1("div",{class:"".concat(t,"-base-loading__container-layer-left")},h$1("svg",{class:"".concat(t,"-base-loading__svg"),viewBox:"0 0 ".concat(2*i," ").concat(2*i),xmlns:"http://www.w3.org/2000/svg",style:{color:o}},h$1("circle",{fill:"none",stroke:"currentColor","stroke-width":n,"stroke-linecap":"round",cx:i,cy:i,r:r-n/2,"stroke-dasharray":4.91*r,"stroke-dashoffset":2.46*r}))),h$1("div",{class:"".concat(t,"-base-loading__container-layer-patch")},h$1("svg",{class:"".concat(t,"-base-loading__svg"),viewBox:"0 0 ".concat(2*i," ").concat(2*i),xmlns:"http://www.w3.org/2000/svg",style:{color:o}},h$1("circle",{fill:"none",stroke:"currentColor","stroke-width":n,"stroke-linecap":"round",cx:i,cy:i,r:r-n/2,"stroke-dasharray":4.91*r,"stroke-dashoffset":2.46*r}))),h$1("div",{class:"".concat(t,"-base-loading__container-layer-right")},h$1("svg",{class:"".concat(t,"-base-loading__svg"),viewBox:"0 0 ".concat(2*i," ").concat(2*i),xmlns:"http://www.w3.org/2000/svg",style:{color:o}},h$1("circle",{fill:"none",stroke:"currentColor","stroke-width":n,"stroke-linecap":"round",cx:i,cy:i,r:r-n/2,"stroke-dasharray":4.91*r,"stroke-dashoffset":2.46*r})))))):h$1("div",{key:"placeholder",class:"".concat(t,"-base-loading__placeholder")},e.$slots)}}))}});function toArray(e){return Array.isArray(e)?e:[e]}var TRAVERSE_COMMAND={STOP:"STOP"};function traverseWithCb(e,t){var r=t(e);void 0!==e.children&&r!==TRAVERSE_COMMAND.STOP&&e.children.forEach((function(e){return traverseWithCb(e,t)}))}function _getNonLeafKeys(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).preserveGroup,r=[],n=void 0!==t&&t?function(e){e.isLeaf||(r.push(e.key),o(e.children))}:function(e){e.isLeaf||(e.isGroup||r.push(e.key),o(e.children))};function o(e){e.forEach(n)}return o(e),r}function isLeaf(e,t){var r=e.isLeaf;return void 0!==r?r:!t(e)}function defaultGetChildren(e){return e.children}function defaultGetKey(e){return e.key}function isIgnored(){return!1}function isShallowLoaded(e,t){return!(!1===e.isLeaf&&!Array.isArray(t(e)))}function isDisabled(e){return!0===e.disabled}function isExpilicitlyNotLoaded(e,t){return!1===e.isLeaf&&!Array.isArray(t(e))}function unwrapCheckedKeys(e){var t;return null==e?[]:Array.isArray(e)?e:null!==(t=e.checkedKeys)&&void 0!==t?t:[]}function unwrapIndeterminateKeys(e){var t;return null==e||Array.isArray(e)?[]:null!==(t=e.indeterminateKeys)&&void 0!==t?t:[]}function merge(e,t){var r=new Set(e);return t.forEach((function(e){r.has(e)||r.add(e)})),Array.from(r)}function minus(e,t){var r=new Set(e);return t.forEach((function(e){r.has(e)&&r.delete(e)})),Array.from(r)}function isGroup(e){return"group"===(null==e?void 0:e.type)}function createIndexGetter(e){var t=new Map;return e.forEach((function(e,r){t.set(e.key,r)})),function(e){var r;return null!==(r=t.get(e))&&void 0!==r?r:null}}var SubtreeNotLoadedError=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(){var e;return _classCallCheck2(this,r),(e=t.call(this)).message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded.",e}return _createClass2(r)}(_wrapNativeSuper2(Error));function getExtendedCheckedKeySetAfterCheck(e,t,r,n){return getExtendedCheckedKeySet(t.concat(e),r,n,!1)}function getAvailableAscendantNodeSet(e,t){var r=new Set;return e.forEach((function(e){var n=t.treeNodeMap.get(e);if(void 0!==n)for(var o=n.parent;null!==o&&!o.disabled&&!r.has(o.key);)r.add(o.key),o=o.parent})),r}function getExtendedCheckedKeySetAfterUncheck(e,t,r,n){var o=getExtendedCheckedKeySet(t,r,n,!1),a=getExtendedCheckedKeySet(e,r,n,!0),i=getAvailableAscendantNodeSet(e,r),s=[];return o.forEach((function(e){(a.has(e)||i.has(e))&&s.push(e)})),s.forEach((function(e){return o.delete(e)})),o}function _getCheckedKeys(e,t){var r=e.checkedKeys,n=e.keysToCheck,o=e.keysToUncheck,a=e.indeterminateKeys,i=e.cascade,s=e.leafOnly,l=e.checkStrategy,c=e.allowNotLoaded;if(!i)return void 0!==n?{checkedKeys:merge(r,n),indeterminateKeys:Array.from(a)}:void 0!==o?{checkedKeys:minus(r,o),indeterminateKeys:Array.from(a)}:{checkedKeys:Array.from(r),indeterminateKeys:Array.from(a)};for(var u=t.levelTreeNodeMap,d="parent"===l,p="child"===l||s,f=void 0!==o?getExtendedCheckedKeySetAfterUncheck(o,r,t,c):void 0!==n?getExtendedCheckedKeySetAfterCheck(n,r,t,c):getExtendedCheckedKeySet(r,t,c,!1),h=new Set,v=Math.max.apply(null,Array.from(u.keys()));v>=0;v-=1){var g,m=0===v,b=_createForOfIteratorHelper(u.get(v));try{for(b.s();!(g=b.n()).done;){var A=g.value;if(!A.isLeaf){var y=A.key,x=A.shallowLoaded;if(p&&x&&A.children.forEach((function(e){!e.disabled&&!e.isLeaf&&e.shallowLoaded&&f.has(e.key)&&f.delete(e.key)})),!A.disabled&&x){var w,C=!0,k=!1,_=!0,S=_createForOfIteratorHelper(A.children);try{for(S.s();!(w=S.n()).done;){var B=w.value,E=B.key;if(!B.disabled)if(_&&(_=!1),f.has(E))k=!0;else{if(h.has(E)){k=!0,C=!1;break}if(C=!1,k)break}}}catch(err){S.e(err)}finally{S.f()}C&&!_?(d&&A.children.forEach((function(e){!e.disabled&&f.has(e.key)&&f.delete(e.key)})),f.add(y)):k&&h.add(y),m&&p&&f.has(y)&&f.delete(y)}}}}catch(err){b.e(err)}finally{b.f()}}return{checkedKeys:Array.from(f),indeterminateKeys:Array.from(h)}}function getExtendedCheckedKeySet(e,t,r,n){var o=t.treeNodeMap,a=t.getChildren,i=new Set,s=new Set(e);return e.forEach((function(e){var t=o.get(e);void 0!==t&&traverseWithCb(t,(function(e){if(e.disabled)return TRAVERSE_COMMAND.STOP;var t=e.key;if(!i.has(t)&&(i.add(t),s.add(t),isExpilicitlyNotLoaded(e.rawNode,a))){if(n)return TRAVERSE_COMMAND.STOP;if(!r)throw new SubtreeNotLoadedError}}))})),s}function _getPath(e,t,r){var n,o=t.includeGroup,a=void 0!==o&&o,i=t.includeSelf,s=void 0===i||i,l=r.treeNodeMap,c=null==e?null:null!==(n=l.get(e))&&void 0!==n?n:null,u={keyPath:[],treeNodePath:[],treeNode:c};if(null==c?void 0:c.ignored)return u.treeNode=null,u;for(;c;)c.ignored||!a&&c.isGroup||u.treeNodePath.push(c),c=c.parent;return u.treeNodePath.reverse(),s||u.treeNodePath.pop(),u.keyPath=u.treeNodePath.map((function(e){return e.key})),u}function _getFirstAvailableNode(e){if(0===e.length)return null;var t=e[0];return t.isGroup||t.ignored||t.disabled?t.getNext():t}function rawGetNext(e,t){var r=e.siblings,n=r.length,o=e.index;return t?r[(o+1)%n]:o===r.length-1?null:r[o+1]}function move(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.loop,o=void 0!==n&&n,a=r.includeDisabled,i=void 0!==a&&a,s="prev"===t?rawGetPrev:rawGetNext,l={reverse:"prev"===t},c=!1,u=null;return function t(r){if(null!==r){if(r===e)if(c){if(!e.disabled&&!e.isGroup)return void(u=e)}else c=!0;else if((!r.disabled||i)&&!r.ignored&&!r.isGroup)return void(u=r);if(r.isGroup){var n=_getChild(r,l);null!==n?u=n:t(s(r,o))}else{var a=s(r,!1);if(null!==a)t(a);else{var d=rawGetParent(r);(null==d?void 0:d.isGroup)?t(s(d,o)):o&&t(s(r,!0))}}}}(e),u}function rawGetPrev(e,t){var r=e.siblings,n=r.length,o=e.index;return t?r[(o-1+n)%n]:0===o?null:r[o-1]}function rawGetParent(e){return e.parent}function _getChild(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.reverse,n=void 0!==r&&r,o=e.children;if(o)for(var a=o.length,i=n?-1:a,s=n?-1:1,l=n?a-1:0;l!==i;l+=s){var c=o[l];if(!c.disabled&&!c.ignored){if(!c.isGroup)return c;var u=_getChild(c,t);if(null!==u)return u}}return null}var moveMethods={getChild:function(){return this.ignored?null:_getChild(this)},getParent:function(){var e=this.parent;return(null==e?void 0:e.isGroup)?e.getParent():e},getNext:function(){return move(this,"next",arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},getPrev:function(){return move(this,"prev",arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}};function flatten$2(e,t){var r=t?new Set(t):void 0,n=[];return function e(t){t.forEach((function(t){n.push(t),t.isLeaf||!t.children||t.ignored||(t.isGroup||void 0===r||r.has(t.key))&&e(t.children)}))}(e),n}function _contains(e,t){for(var r=e.key;t;){if(t.key===r)return!0;t=t.parent}return!1}function createTreeNodes(e,t,r,n,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,i=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,s=[];return e.forEach((function(l,c){var u,d=Object.create(n);if(d.rawNode=l,d.siblings=s,d.level=i,d.index=c,d.isFirstChild=0===c,d.isLastChild=c+1===e.length,d.parent=a,!d.ignored){var p=o(l);Array.isArray(p)&&(d.children=createTreeNodes(p,t,r,n,o,d,i+1))}s.push(d),t.set(d.key,d),r.has(i)||r.set(i,[]),null===(u=r.get(i))||void 0===u||u.push(d)})),s}function createTreeMate(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=new Map,o=new Map,a=r.getDisabled,i=void 0===a?isDisabled:a,s=r.getIgnored,l=void 0===s?isIgnored:s,c=r.getIsGroup,u=void 0===c?isGroup:c,d=r.getKey,p=void 0===d?defaultGetKey:d,f=null!==(t=r.getChildren)&&void 0!==t?t:defaultGetChildren,h=r.ignoreEmptyChildren?function(e){var t=f(e);return Array.isArray(t)?t.length?t:null:t}:f,v=Object.assign({get key(){return p(this.rawNode)},get disabled(){return i(this.rawNode)},get isGroup(){return u(this.rawNode)},get isLeaf(){return isLeaf(this.rawNode,h)},get shallowLoaded(){return isShallowLoaded(this.rawNode,h)},get ignored(){return l(this.rawNode)},contains:function(e){return _contains(this,e)}},moveMethods),g=createTreeNodes(e,n,o,v,h);function m(e){if(null==e)return null;var t=n.get(e);return t&&!t.ignored?t:null}var b={treeNodes:g,treeNodeMap:n,levelTreeNodeMap:o,maxLevel:Math.max.apply(Math,_toConsumableArray2(o.keys())),getChildren:h,getFlattenedNodes:function(e){return flatten$2(g,e)},getNode:function(e){if(null==e)return null;var t=n.get(e);return!t||t.isGroup||t.ignored?null:t},getPrev:function(e,t){var r=m(e);return r?r.getPrev(t):null},getNext:function(e,t){var r=m(e);return r?r.getNext(t):null},getParent:function(e){var t=m(e);return t?t.getParent():null},getChild:function(e){var t=m(e);return t?t.getChild():null},getFirstAvailableNode:function(){return _getFirstAvailableNode(g)},getPath:function(e){return _getPath(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},b)},getCheckedKeys:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.cascade,n=void 0===r||r,o=t.leafOnly,a=void 0!==o&&o,i=t.checkStrategy,s=void 0===i?"all":i,l=t.allowNotLoaded,c=void 0!==l&&l;return _getCheckedKeys({checkedKeys:unwrapCheckedKeys(e),indeterminateKeys:unwrapIndeterminateKeys(e),cascade:n,leafOnly:a,checkStrategy:s,allowNotLoaded:c},b)},check:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.cascade,o=void 0===n||n,a=r.leafOnly,i=void 0!==a&&a,s=r.checkStrategy,l=void 0===s?"all":s,c=r.allowNotLoaded,u=void 0!==c&&c;return _getCheckedKeys({checkedKeys:unwrapCheckedKeys(t),indeterminateKeys:unwrapIndeterminateKeys(t),keysToCheck:null==e?[]:toArray(e),cascade:o,leafOnly:i,checkStrategy:l,allowNotLoaded:u},b)},uncheck:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.cascade,o=void 0===n||n,a=r.leafOnly,i=void 0!==a&&a,s=r.checkStrategy,l=void 0===s?"all":s,c=r.allowNotLoaded,u=void 0!==c&&c;return _getCheckedKeys({checkedKeys:unwrapCheckedKeys(t),indeterminateKeys:unwrapIndeterminateKeys(t),keysToUncheck:null==e?[]:toArray(e),cascade:o,leafOnly:i,checkStrategy:l,allowNotLoaded:u},b)},getNonLeafKeys:function(){return _getNonLeafKeys(g,arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}};return b}var base$1={neutralBase:"#000",neutralInvertBase:"#fff",neutralTextBase:"#fff",neutralPopover:"rgb(72, 72, 78)",neutralCard:"rgb(24, 24, 28)",neutralModal:"rgb(44, 44, 50)",neutralBody:"rgb(16, 16, 20)",alpha1:"0.9",alpha2:"0.82",alpha3:"0.52",alpha4:"0.38",alpha5:"0.28",alphaClose:"0.52",alphaDisabled:"0.38",alphaDisabledInput:"0.06",alphaPending:"0.09",alphaTablePending:"0.06",alphaTableStriped:"0.05",alphaPressed:"0.05",alphaAvatar:"0.18",alphaRail:"0.2",alphaProgressRail:"0.12",alphaBorder:"0.24",alphaDivider:"0.09",alphaInput:"0.1",alphaAction:"0.06",alphaTab:"0.04",alphaScrollbar:"0.2",alphaScrollbarHover:"0.3",alphaCode:"0.12",alphaTag:"0.2",primaryHover:"#7fe7c4",primaryDefault:"#63e2b7",primaryActive:"#5acea7",primarySuppl:"rgb(42, 148, 125)",infoHover:"#8acbec",infoDefault:"#70c0e8",infoActive:"#66afd3",infoSuppl:"rgb(56, 137, 197)",errorHover:"#e98b8b",errorDefault:"#e88080",errorActive:"#e57272",errorSuppl:"rgb(208, 58, 82)",warningHover:"#f5d599",warningDefault:"#f2c97d",warningActive:"#e6c260",warningSuppl:"rgb(240, 138, 0)",successHover:"#7fe7c4",successDefault:"#63e2b7",successActive:"#5acea7",successSuppl:"rgb(42, 148, 125)"},baseBackgroundRgb$1=rgba(base$1.neutralBase),baseInvertBackgroundRgb$1=rgba(base$1.neutralInvertBase),overlayPrefix$1="rgba("+baseInvertBackgroundRgb$1.slice(0,3).join(", ")+", ";function overlay$1(e){return overlayPrefix$1+String(e)+")"}function neutral$1(e){var t=Array.from(baseInvertBackgroundRgb$1);return t[3]=Number(e),composite(baseBackgroundRgb$1,t)}var derived$1=Object.assign(Object.assign({name:"common"},commonVariables$m),{baseColor:base$1.neutralBase,primaryColor:base$1.primaryDefault,primaryColorHover:base$1.primaryHover,primaryColorPressed:base$1.primaryActive,primaryColorSuppl:base$1.primarySuppl,infoColor:base$1.infoDefault,infoColorHover:base$1.infoHover,infoColorPressed:base$1.infoActive,infoColorSuppl:base$1.infoSuppl,successColor:base$1.successDefault,successColorHover:base$1.successHover,successColorPressed:base$1.successActive,successColorSuppl:base$1.successSuppl,warningColor:base$1.warningDefault,warningColorHover:base$1.warningHover,warningColorPressed:base$1.warningActive,warningColorSuppl:base$1.warningSuppl,errorColor:base$1.errorDefault,errorColorHover:base$1.errorHover,errorColorPressed:base$1.errorActive,errorColorSuppl:base$1.errorSuppl,textColorBase:base$1.neutralTextBase,textColor1:overlay$1(base$1.alpha1),textColor2:overlay$1(base$1.alpha2),textColor3:overlay$1(base$1.alpha3),textColorDisabled:overlay$1(base$1.alpha4),placeholderColor:overlay$1(base$1.alpha4),placeholderColorDisabled:overlay$1(base$1.alpha5),iconColor:overlay$1(base$1.alpha4),iconColorDisabled:overlay$1(base$1.alpha5),iconColorHover:overlay$1(1.25*Number(base$1.alpha4)),iconColorPressed:overlay$1(.8*Number(base$1.alpha4)),opacity1:base$1.alpha1,opacity2:base$1.alpha2,opacity3:base$1.alpha3,opacity4:base$1.alpha4,opacity5:base$1.alpha5,dividerColor:overlay$1(base$1.alphaDivider),borderColor:overlay$1(base$1.alphaBorder),closeIconColorHover:overlay$1(Number(base$1.alphaClose)),closeIconColor:overlay$1(Number(base$1.alphaClose)),closeIconColorPressed:overlay$1(Number(base$1.alphaClose)),closeColorHover:"rgba(255, 255, 255, .12)",closeColorPressed:"rgba(255, 255, 255, .08)",clearColor:overlay$1(base$1.alpha4),clearColorHover:scaleColor(overlay$1(base$1.alpha4),{alpha:1.25}),clearColorPressed:scaleColor(overlay$1(base$1.alpha4),{alpha:.8}),scrollbarColor:overlay$1(base$1.alphaScrollbar),scrollbarColorHover:overlay$1(base$1.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:overlay$1(base$1.alphaProgressRail),railColor:overlay$1(base$1.alphaRail),popoverColor:base$1.neutralPopover,tableColor:base$1.neutralCard,cardColor:base$1.neutralCard,modalColor:base$1.neutralModal,bodyColor:base$1.neutralBody,tagColor:neutral$1(base$1.alphaTag),avatarColor:overlay$1(base$1.alphaAvatar),invertedColor:base$1.neutralBase,inputColor:overlay$1(base$1.alphaInput),codeColor:overlay$1(base$1.alphaCode),tabColor:overlay$1(base$1.alphaTab),actionColor:overlay$1(base$1.alphaAction),tableHeaderColor:overlay$1(base$1.alphaAction),hoverColor:overlay$1(base$1.alphaPending),tableColorHover:overlay$1(base$1.alphaTablePending),tableColorStriped:overlay$1(base$1.alphaTableStriped),pressedColor:overlay$1(base$1.alphaPressed),opacityDisabled:base$1.alphaDisabled,inputColorDisabled:overlay$1(base$1.alphaDisabledInput),buttonColor2:"rgba(255, 255, 255, .08)",buttonColor2Hover:"rgba(255, 255, 255, .12)",buttonColor2Pressed:"rgba(255, 255, 255, .08)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .24), 0 3px 6px 0 rgba(0, 0, 0, .18), 0 5px 12px 4px rgba(0, 0, 0, .12)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .24), 0 6px 12px 0 rgba(0, 0, 0, .16), 0 9px 18px 8px rgba(0, 0, 0, .10)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),commonDark=derived$1,base={neutralBase:"#FFF",neutralInvertBase:"#000",neutralTextBase:"#000",neutralPopover:"#fff",neutralCard:"#fff",neutralModal:"#fff",neutralBody:"#fff",alpha1:"0.82",alpha2:"0.72",alpha3:"0.38",alpha4:"0.24",alpha5:"0.18",alphaClose:"0.6",alphaDisabled:"0.5",alphaDisabledInput:"0.02",alphaPending:"0.05",alphaTablePending:"0.02",alphaPressed:"0.07",alphaAvatar:"0.2",alphaRail:"0.14",alphaProgressRail:".08",alphaBorder:"0.12",alphaDivider:"0.06",alphaInput:"0",alphaAction:"0.02",alphaTab:"0.04",alphaScrollbar:"0.25",alphaScrollbarHover:"0.4",alphaCode:"0.05",alphaTag:"0.02",primaryHover:"#36ad6a",primaryDefault:"#18a058",primaryActive:"#0c7a43",primarySuppl:"#36ad6a",infoHover:"#4098fc",infoDefault:"#2080f0",infoActive:"#1060c9",infoSuppl:"#4098fc",errorHover:"#de576d",errorDefault:"#d03050",errorActive:"#ab1f3f",errorSuppl:"#de576d",warningHover:"#fcb040",warningDefault:"#f0a020",warningActive:"#c97c10",warningSuppl:"#fcb040",successHover:"#36ad6a",successDefault:"#18a058",successActive:"#0c7a43",successSuppl:"#36ad6a"},baseBackgroundRgb=rgba(base.neutralBase),baseInvertBackgroundRgb=rgba(base.neutralInvertBase),overlayPrefix="rgba("+baseInvertBackgroundRgb.slice(0,3).join(", ")+", ";function overlay(e){return overlayPrefix+String(e)+")"}function neutral(e){var t=Array.from(baseInvertBackgroundRgb);return t[3]=Number(e),composite(baseBackgroundRgb,t)}var derived=Object.assign(Object.assign({name:"common"},commonVariables$m),{baseColor:base.neutralBase,primaryColor:base.primaryDefault,primaryColorHover:base.primaryHover,primaryColorPressed:base.primaryActive,primaryColorSuppl:base.primarySuppl,infoColor:base.infoDefault,infoColorHover:base.infoHover,infoColorPressed:base.infoActive,infoColorSuppl:base.infoSuppl,successColor:base.successDefault,successColorHover:base.successHover,successColorPressed:base.successActive,successColorSuppl:base.successSuppl,warningColor:base.warningDefault,warningColorHover:base.warningHover,warningColorPressed:base.warningActive,warningColorSuppl:base.warningSuppl,errorColor:base.errorDefault,errorColorHover:base.errorHover,errorColorPressed:base.errorActive,errorColorSuppl:base.errorSuppl,textColorBase:base.neutralTextBase,textColor1:"rgb(31, 34, 37)",textColor2:"rgb(51, 54, 57)",textColor3:"rgb(118, 124, 130)",textColorDisabled:neutral(base.alpha4),placeholderColor:neutral(base.alpha4),placeholderColorDisabled:neutral(base.alpha5),iconColor:neutral(base.alpha4),iconColorHover:scaleColor(neutral(base.alpha4),{lightness:.75}),iconColorPressed:scaleColor(neutral(base.alpha4),{lightness:.9}),iconColorDisabled:neutral(base.alpha5),opacity1:base.alpha1,opacity2:base.alpha2,opacity3:base.alpha3,opacity4:base.alpha4,opacity5:base.alpha5,dividerColor:"rgb(239, 239, 245)",borderColor:"rgb(224, 224, 230)",closeIconColor:neutral(Number(base.alphaClose)),closeIconColorHover:neutral(Number(base.alphaClose)),closeIconColorPressed:neutral(Number(base.alphaClose)),closeColorHover:"rgba(0, 0, 0, .09)",closeColorPressed:"rgba(0, 0, 0, .13)",clearColor:neutral(base.alpha4),clearColorHover:scaleColor(neutral(base.alpha4),{lightness:.75}),clearColorPressed:scaleColor(neutral(base.alpha4),{lightness:.9}),scrollbarColor:overlay(base.alphaScrollbar),scrollbarColorHover:overlay(base.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:neutral(base.alphaProgressRail),railColor:"rgb(219, 219, 223)",popoverColor:base.neutralPopover,tableColor:base.neutralCard,cardColor:base.neutralCard,modalColor:base.neutralModal,bodyColor:base.neutralBody,tagColor:"#eee",avatarColor:neutral(base.alphaAvatar),invertedColor:"rgb(0, 20, 40)",inputColor:neutral(base.alphaInput),codeColor:"rgb(244, 244, 248)",tabColor:"rgb(247, 247, 250)",actionColor:"rgb(250, 250, 252)",tableHeaderColor:"rgb(250, 250, 252)",hoverColor:"rgb(243, 243, 245)",tableColorHover:"rgba(0, 0, 100, 0.03)",tableColorStriped:"rgba(0, 0, 100, 0.02)",pressedColor:"rgb(237, 237, 239)",opacityDisabled:base.alphaDisabled,inputColorDisabled:"rgb(250, 250, 252)",buttonColor2:"rgba(46, 51, 56, .05)",buttonColor2Hover:"rgba(46, 51, 56, .09)",buttonColor2Pressed:"rgba(46, 51, 56, .13)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .08), 0 3px 6px 0 rgba(0, 0, 0, .06), 0 5px 12px 4px rgba(0, 0, 0, .04)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),commonLight=derived,commonVars$c={iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"},self$U=function(e){var t=e.textColorDisabled,r=e.iconColor,n=e.textColor2,o=e.fontSizeSmall,a=e.fontSizeMedium,i=e.fontSizeLarge,s=e.fontSizeHuge;return Object.assign(Object.assign({},commonVars$c),{fontSizeSmall:o,fontSizeMedium:a,fontSizeLarge:i,fontSizeHuge:s,textColor:t,iconColor:r,extraTextColor:n})},emptyLight={name:"Empty",common:commonLight,self:self$U},emptyLight$1=emptyLight,emptyDark={name:"Empty",common:commonDark,self:self$U},emptyDark$1=emptyDark,style$t=cB("empty","\n display: flex;\n flex-direction: column;\n align-items: center;\n font-size: var(--n-font-size);\n",[cE("icon","\n width: var(--n-icon-size);\n height: var(--n-icon-size);\n font-size: var(--n-icon-size);\n line-height: var(--n-icon-size);\n color: var(--n-icon-color);\n transition:\n color .3s var(--n-bezier);\n ",[c$3("+",[cE("description","\n margin-top: 8px;\n ")])]),cE("description","\n transition: color .3s var(--n-bezier);\n color: var(--n-text-color);\n "),cE("extra","\n text-align: center;\n transition: color .3s var(--n-bezier);\n margin-top: 12px;\n color: var(--n-extra-text-color);\n ")]),emptyProps=Object.assign(Object.assign({},useTheme.props),{description:String,showDescription:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},size:{type:String,default:"medium"},renderIcon:Function}),NEmpty=defineComponent({name:"Empty",props:emptyProps,setup:function(e){var t=useConfig(e),r=t.mergedClsPrefixRef,n=t.inlineThemeDisabled,o=useTheme("Empty","-empty",style$t,emptyLight$1,e,r),a=useLocale("Empty").localeRef,i=inject(configProviderInjectionKey,null),s=computed((function(){var t,r,n;return null!==(t=e.description)&&void 0!==t?t:null===(n=null===(r=null==i?void 0:i.mergedComponentPropsRef.value)||void 0===r?void 0:r.Empty)||void 0===n?void 0:n.description})),l=computed((function(){var e,t;return(null===(t=null===(e=null==i?void 0:i.mergedComponentPropsRef.value)||void 0===e?void 0:e.Empty)||void 0===t?void 0:t.renderIcon)||function(){return h$1(EmptyIcon,null)}})),c=computed((function(){var t=e.size,r=o.value,n=r.common.cubicBezierEaseInOut,a=r.self;return{"--n-icon-size":a[createKey("iconSize",t)],"--n-font-size":a[createKey("fontSize",t)],"--n-bezier":n,"--n-text-color":a.textColor,"--n-icon-color":a.iconColor,"--n-extra-text-color":a.extraTextColor}})),u=n?useThemeClass("empty",computed((function(){var t="";return t+=e.size[0]})),c,e):void 0;return{mergedClsPrefix:r,mergedRenderIcon:l,localizedDescription:computed((function(){return s.value||a.value.description})),cssVars:n?void 0:c,themeClass:null==u?void 0:u.themeClass,onRender:null==u?void 0:u.onRender}},render:function(){var e=this.$slots,t=this.mergedClsPrefix,r=this.onRender;return null==r||r(),h$1("div",{class:["".concat(t,"-empty"),this.themeClass],style:this.cssVars},this.showIcon?h$1("div",{class:"".concat(t,"-empty__icon")},e.icon?e.icon():h$1(NBaseIcon,{clsPrefix:t},{default:this.mergedRenderIcon})):null,this.showDescription?h$1("div",{class:"".concat(t,"-empty__description")},e.default?e.default():this.localizedDescription):null,e.extra?h$1("div",{class:"".concat(t,"-empty__extra")},e.extra()):null)}}),self$T=function(e){return{color:e.scrollbarColor,colorHover:e.scrollbarColorHover}},scrollbarLight={name:"Scrollbar",common:commonLight,self:self$T},scrollbarLight$1=scrollbarLight,scrollbarDark={name:"Scrollbar",common:commonDark,self:self$T},scrollbarDark$1=scrollbarDark,cubicBezierEaseInOut$3=commonVariables$m.cubicBezierEaseInOut;function fadeInTransition(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,r=void 0===t?"fade-in":t,n=e.enterDuration,o=void 0===n?"0.2s":n,a=e.leaveDuration,i=void 0===a?"0.2s":a,s=e.enterCubicBezier,l=void 0===s?cubicBezierEaseInOut$3:s,c=e.leaveCubicBezier,u=void 0===c?cubicBezierEaseInOut$3:c;return[c$3("&.".concat(r,"-transition-enter-active"),{transition:"all ".concat(o," ").concat(l,"!important")}),c$3("&.".concat(r,"-transition-leave-active"),{transition:"all ".concat(i," ").concat(u,"!important")}),c$3("&.".concat(r,"-transition-enter-from, &.").concat(r,"-transition-leave-to"),{opacity:0}),c$3("&.".concat(r,"-transition-leave-from, &.").concat(r,"-transition-enter-to"),{opacity:1})]}var style$s=cB("scrollbar","\n overflow: hidden;\n position: relative;\n z-index: auto;\n height: 100%;\n width: 100%;\n",[c$3(">",[cB("scrollbar-container","\n width: 100%;\n overflow: scroll;\n height: 100%;\n max-height: inherit;\n scrollbar-width: none;\n ",[c$3("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb","\n width: 0;\n height: 0;\n display: none;\n "),c$3(">",[cB("scrollbar-content","\n box-sizing: border-box;\n min-width: 100%;\n ")])])]),c$3(">, +",[cB("scrollbar-rail","\n position: absolute;\n pointer-events: none;\n user-select: none;\n -webkit-user-select: none;\n ",[cM("horizontal","\n left: 2px;\n right: 2px;\n bottom: 4px;\n height: var(--n-scrollbar-height);\n ",[c$3(">",[cE("scrollbar","\n height: var(--n-scrollbar-height);\n border-radius: var(--n-scrollbar-border-radius);\n right: 0;\n ")])]),cM("vertical","\n right: 4px;\n top: 2px;\n bottom: 2px;\n width: var(--n-scrollbar-width);\n ",[c$3(">",[cE("scrollbar","\n width: var(--n-scrollbar-width);\n border-radius: var(--n-scrollbar-border-radius);\n bottom: 0;\n ")])]),cM("disabled",[c$3(">",[cE("scrollbar",{pointerEvents:"none"})])]),c$3(">",[cE("scrollbar","\n position: absolute;\n cursor: pointer;\n pointer-events: all;\n background-color: var(--n-scrollbar-color);\n transition: background-color .2s var(--n-scrollbar-bezier);\n ",[fadeInTransition(),c$3("&:hover",{backgroundColor:"var(--n-scrollbar-color-hover)"})])])])])]),scrollbarProps$1=Object.assign(Object.assign({},useTheme.props),{size:{type:Number,default:5},duration:{type:Number,default:0},scrollable:{type:Boolean,default:!0},xScrollable:Boolean,trigger:{type:String,default:"hover"},useUnifiedContainer:Boolean,triggerDisplayManually:Boolean,container:Function,content:Function,containerClass:String,containerStyle:[String,Object],contentClass:String,contentStyle:[String,Object],horizontalRailStyle:[String,Object],verticalRailStyle:[String,Object],onScroll:Function,onWheel:Function,onResize:Function,internalOnUpdateScrollLeft:Function,internalHoistYRail:Boolean}),Scrollbar$1=defineComponent({name:"Scrollbar",props:scrollbarProps$1,inheritAttrs:!1,setup:function(e){var t,r,n=useConfig(e),o=n.mergedClsPrefixRef,a=n.inlineThemeDisabled,i=useRtl("Scrollbar",n.mergedRtlRef,o),s=ref(null),l=ref(null),c=ref(null),u=ref(null),d=ref(null),p=ref(null),f=ref(null),h=ref(null),v=ref(null),g=ref(null),m=ref(null),b=ref(0),A=ref(0),y=ref(!1),x=ref(!1),w=!1,C=!1,k=0,_=0,S=0,B=0,E=useIsIos(),T=computed((function(){var t=h.value,r=p.value,n=g.value;return null===t||null===r||null===n?0:Math.min(t,n*t/r+1.5*e.size)})),P=computed((function(){return"".concat(T.value,"px")})),I=computed((function(){var t=v.value,r=f.value,n=m.value;return null===t||null===r||null===n?0:n*t/r+1.5*e.size})),N=computed((function(){return"".concat(I.value,"px")})),z=computed((function(){var e=h.value,t=b.value,r=p.value,n=g.value;if(null===e||null===r||null===n)return 0;var o=r-e;return o?t/o*(n-T.value):0})),M=computed((function(){return"".concat(z.value,"px")})),R=computed((function(){var e=v.value,t=A.value,r=f.value,n=m.value;if(null===e||null===r||null===n)return 0;var o=r-e;return o?t/o*(n-I.value):0})),D=computed((function(){return"".concat(R.value,"px")})),O=computed((function(){var e=h.value,t=p.value;return null!==e&&null!==t&&t>e})),F=computed((function(){var e=v.value,t=f.value;return null!==e&&null!==t&&t>e})),L=computed((function(){return"none"===e.trigger||y.value})),j=computed((function(){return"none"===e.trigger||x.value})),V=computed((function(){var t=e.container;return t?t():l.value})),$=computed((function(){var t=e.content;return t?t():c.value})),H=useReactivated((function(){e.container||U({top:b.value,left:A.value})})),U=function(t,r){if(e.scrollable)if("number"!=typeof t){var n=t.left,o=t.top,a=t.index,i=t.elSize,s=t.position,l=t.behavior,c=t.el,u=t.debounce,d=void 0===u||u;void 0===n&&void 0===o||Q(null!=n?n:0,null!=o?o:0,0,!1,l),void 0!==c?Q(0,c.offsetTop,c.offsetHeight,d,l):void 0!==a&&void 0!==i?Q(0,a*i,i,d,l):"bottom"===s?Q(0,Number.MAX_SAFE_INTEGER,0,!1,l):"top"===s&&Q(0,0,0,!1,l)}else Q(null!=r?r:0,t,0,!1,"auto")};function Q(e,t,r,n,o){var a=V.value;if(a){if(n){var i=a.scrollTop,s=a.offsetHeight;if(t>i)return void(t+r<=i+s||a.scrollTo({left:e,top:t+r-s,behavior:o}))}a.scrollTo({left:e,top:t,behavior:o})}}function G(){!function(){void 0!==r&&window.clearTimeout(r);r=window.setTimeout((function(){x.value=!1}),e.duration)}(),function(){void 0!==t&&window.clearTimeout(t);t=window.setTimeout((function(){y.value=!1}),e.duration)}()}function K(){var e=V.value;e&&(b.value=e.scrollTop,A.value=e.scrollLeft*((null==i?void 0:i.value)?-1:1))}function q(){var e=V.value;e&&(b.value=e.scrollTop,A.value=e.scrollLeft*((null==i?void 0:i.value)?-1:1),h.value=e.offsetHeight,v.value=e.offsetWidth,p.value=e.scrollHeight,f.value=e.scrollWidth);var t=d.value,r=u.value;t&&(m.value=t.offsetWidth),r&&(g.value=r.offsetHeight)}function W(){e.scrollable&&(e.useUnifiedContainer?q():(!function(){var e=$.value;e&&(p.value=e.offsetHeight,f.value=e.offsetWidth);var t=V.value;t&&(h.value=t.offsetHeight,v.value=t.offsetWidth);var r=d.value,n=u.value;r&&(m.value=r.offsetWidth),n&&(g.value=n.offsetHeight)}(),K()))}function Y(e){var t;return!(null===(t=s.value)||void 0===t?void 0:t.contains(getPreciseEventTarget(e)))}function X(n){if(C){void 0!==t&&window.clearTimeout(t),void 0!==r&&window.clearTimeout(r);var o=v.value,a=f.value,s=I.value;if(null!==o&&null!==a){var l=(null==i?void 0:i.value)?window.innerWidth-n.clientX-S:n.clientX-S,c=a-o,u=_+l*(a-o)/(o-s);u=Math.min(c,u),u=Math.max(u,0);var d=V.value;if(d){d.scrollLeft=u*((null==i?void 0:i.value)?-1:1);var p=e.internalOnUpdateScrollLeft;p&&p(u)}}}}function J(e){e.preventDefault(),e.stopPropagation(),off("mousemove",window,X,!0),off("mouseup",window,J,!0),C=!1,W(),Y(e)&&G()}function Z(e){if(w){void 0!==t&&window.clearTimeout(t),void 0!==r&&window.clearTimeout(r);var n=h.value,o=p.value,a=T.value;if(null!==n&&null!==o){var i=e.clientY-B,s=o-n,l=k+i*(o-n)/(n-a);l=Math.min(s,l),l=Math.max(l,0);var c=V.value;c&&(c.scrollTop=l)}}}function ee(e){e.preventDefault(),e.stopPropagation(),off("mousemove",window,Z,!0),off("mouseup",window,ee,!0),w=!1,W(),Y(e)&&G()}watchEffect((function(){var e=F.value,t=O.value,r=o.value,n=d.value,a=u.value;n&&(e?n.classList.remove("".concat(r,"-scrollbar-rail--disabled")):n.classList.add("".concat(r,"-scrollbar-rail--disabled"))),a&&(t?a.classList.remove("".concat(r,"-scrollbar-rail--disabled")):a.classList.add("".concat(r,"-scrollbar-rail--disabled")))})),onMounted((function(){e.container||W()})),onBeforeUnmount((function(){void 0!==t&&window.clearTimeout(t),void 0!==r&&window.clearTimeout(r),off("mousemove",window,Z,!0),off("mouseup",window,ee,!0)}));var te=useTheme("Scrollbar","-scrollbar",style$s,scrollbarLight$1,e,o),re=computed((function(){var e=te.value,t=e.common,r=t.cubicBezierEaseInOut,n=t.scrollbarBorderRadius,o=t.scrollbarHeight,a=t.scrollbarWidth,i=e.self;return{"--n-scrollbar-bezier":r,"--n-scrollbar-color":i.color,"--n-scrollbar-color-hover":i.colorHover,"--n-scrollbar-border-radius":n,"--n-scrollbar-width":a,"--n-scrollbar-height":o}})),ne=a?useThemeClass("scrollbar",void 0,re,e):void 0,oe={scrollTo:U,scrollBy:function(t,r){if(e.scrollable){var n=V.value;n&&("object"===_typeof2(t)?n.scrollBy(t):n.scrollBy(t,r||0))}},sync:W,syncUnifiedContainer:q,handleMouseEnterWrapper:function(){!function(){void 0!==t&&window.clearTimeout(t);y.value=!0}(),function(){void 0!==r&&window.clearTimeout(r);x.value=!0}(),W()},handleMouseLeaveWrapper:function(){G()}};return Object.assign(Object.assign({},oe),{mergedClsPrefix:o,rtlEnabled:i,containerScrollTop:b,wrapperRef:s,containerRef:l,contentRef:c,yRailRef:u,xRailRef:d,needYBar:O,needXBar:F,yBarSizePx:P,xBarSizePx:N,yBarTopPx:M,xBarLeftPx:D,isShowXBar:L,isShowYBar:j,isIos:E,handleScroll:function(t){var r=e.onScroll;r&&r(t),K()},handleContentResize:function(){H.isDeactivated||W()},handleContainerResize:function(t){if(!H.isDeactivated){var r=e.onResize;r&&r(t),W()}},handleYScrollMouseDown:function(e){e.preventDefault(),e.stopPropagation(),w=!0,on("mousemove",window,Z,!0),on("mouseup",window,ee,!0),k=b.value,B=e.clientY},handleXScrollMouseDown:function(e){e.preventDefault(),e.stopPropagation(),C=!0,on("mousemove",window,X,!0),on("mouseup",window,J,!0),_=A.value,S=(null==i?void 0:i.value)?window.innerWidth-e.clientX:e.clientX},cssVars:a?void 0:re,themeClass:null==ne?void 0:ne.themeClass,onRender:null==ne?void 0:ne.onRender})},render:function(){var e,t=this,r=this.$slots,n=this.mergedClsPrefix,o=this.triggerDisplayManually,a=this.rtlEnabled,i=this.internalHoistYRail;if(!this.scrollable)return null===(e=r.default)||void 0===e?void 0:e.call(r);var s="none"===this.trigger,l=function(){return h$1("div",{ref:"yRailRef",class:["".concat(n,"-scrollbar-rail"),"".concat(n,"-scrollbar-rail--vertical")],"data-scrollbar-rail":!0,style:t.verticalRailStyle,"aria-hidden":!0},h$1(s?Wrapper:Transition,s?null:{name:"fade-in-transition"},{default:function(){return t.needYBar&&t.isShowYBar&&!t.isIos?h$1("div",{class:"".concat(n,"-scrollbar-rail__scrollbar"),style:{height:t.yBarSizePx,top:t.yBarTopPx},onMousedown:t.handleYScrollMouseDown}):null}}))},c=function(){var e,c;return null===(e=t.onRender)||void 0===e||e.call(t),h$1("div",mergeProps(t.$attrs,{role:"none",ref:"wrapperRef",class:["".concat(n,"-scrollbar"),t.themeClass,a&&"".concat(n,"-scrollbar--rtl")],style:t.cssVars,onMouseenter:o?void 0:t.handleMouseEnterWrapper,onMouseleave:o?void 0:t.handleMouseLeaveWrapper}),[t.container?null===(c=r.default)||void 0===c?void 0:c.call(r):h$1("div",{role:"none",ref:"containerRef",class:["".concat(n,"-scrollbar-container"),t.containerClass],style:t.containerStyle,onScroll:t.handleScroll,onWheel:t.onWheel},h$1(VResizeObserver,{onResize:t.handleContentResize},{default:function(){return h$1("div",{ref:"contentRef",role:"none",style:[{width:t.xScrollable?"fit-content":null},t.contentStyle],class:["".concat(n,"-scrollbar-content"),t.contentClass]},r)}})),i?null:l(),t.xScrollable&&h$1("div",{ref:"xRailRef",class:["".concat(n,"-scrollbar-rail"),"".concat(n,"-scrollbar-rail--horizontal")],style:t.horizontalRailStyle,"data-scrollbar-rail":!0,"aria-hidden":!0},h$1(s?Wrapper:Transition,s?null:{name:"fade-in-transition"},{default:function(){return t.needXBar&&t.isShowXBar&&!t.isIos?h$1("div",{class:"".concat(n,"-scrollbar-rail__scrollbar"),style:{width:t.xBarSizePx,right:a?t.xBarLeftPx:void 0,left:a?void 0:t.xBarLeftPx},onMousedown:t.handleXScrollMouseDown}):null}}))])},u=this.container?c():h$1(VResizeObserver,{onResize:this.handleContainerResize},{default:c});return i?h$1(Fragment,null,u,l()):u}}),NScrollbar$1=Scrollbar$1,XScrollbar=Scrollbar$1,commonVariables$l={height:"calc(var(--n-option-height) * 7.6)",paddingSmall:"4px 0",paddingMedium:"4px 0",paddingLarge:"4px 0",paddingHuge:"4px 0",optionPaddingSmall:"0 12px",optionPaddingMedium:"0 12px",optionPaddingLarge:"0 12px",optionPaddingHuge:"0 12px",loadingSize:"18px"},self$S=function(e){var t=e.borderRadius,r=e.popoverColor,n=e.textColor3,o=e.dividerColor,a=e.textColor2,i=e.primaryColorPressed,s=e.textColorDisabled,l=e.primaryColor,c=e.opacityDisabled,u=e.hoverColor,d=e.fontSizeSmall,p=e.fontSizeMedium,f=e.fontSizeLarge,h=e.fontSizeHuge,v=e.heightSmall,g=e.heightMedium,m=e.heightLarge,b=e.heightHuge;return Object.assign(Object.assign({},commonVariables$l),{optionFontSizeSmall:d,optionFontSizeMedium:p,optionFontSizeLarge:f,optionFontSizeHuge:h,optionHeightSmall:v,optionHeightMedium:g,optionHeightLarge:m,optionHeightHuge:b,borderRadius:t,color:r,groupHeaderTextColor:n,actionDividerColor:o,optionTextColor:a,optionTextColorPressed:i,optionTextColorDisabled:s,optionTextColorActive:l,optionOpacityDisabled:c,optionCheckColor:l,optionColorPending:u,optionColorActive:"rgba(0, 0, 0, 0)",optionColorActivePending:u,actionTextColor:a,loadingColor:l})},internalSelectMenuLight=createTheme({name:"InternalSelectMenu",common:commonLight,peers:{Scrollbar:scrollbarLight$1,Empty:emptyLight$1},self:self$S}),internalSelectMenuLight$1=internalSelectMenuLight,internalSelectMenuDark={name:"InternalSelectMenu",common:commonDark,peers:{Scrollbar:scrollbarDark$1,Empty:emptyDark$1},self:self$S},internalSelectMenuDark$1=internalSelectMenuDark;function renderCheckMark(e,t){return h$1(Transition,{name:"fade-in-scale-up-transition"},{default:function(){return e?h$1(NBaseIcon,{clsPrefix:t,class:"".concat(t,"-base-select-option__check")},{default:function(){return h$1(FinishedIcon)}}):null}})}var NSelectOption=defineComponent({name:"NBaseSelectOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup:function(e){var t=inject(internalSelectionMenuInjectionKey),r=t.valueRef,n=t.pendingTmNodeRef,o=t.multipleRef,a=t.valueSetRef,i=t.renderLabelRef,s=t.renderOptionRef,l=t.labelFieldRef,c=t.valueFieldRef,u=t.showCheckmarkRef,d=t.nodePropsRef,p=t.handleOptionClick,f=t.handleOptionMouseEnter,h=useMemo((function(){var t=n.value;return!!t&&e.tmNode.key===t.key}));return{multiple:o,isGrouped:useMemo((function(){var t=e.tmNode.parent;return t&&"group"===t.rawNode.type})),showCheckmark:u,nodeProps:d,isPending:h,isSelected:useMemo((function(){var t=r.value,n=o.value;if(null===t)return!1;var i=e.tmNode.rawNode[c.value];return n?a.value.has(i):t===i})),labelField:l,renderLabel:i,renderOption:s,handleMouseMove:function(t){var r=e.tmNode,n=h.value;r.disabled||n||f(t,r)},handleMouseEnter:function(t){var r=e.tmNode;r.disabled||f(t,r)},handleClick:function(t){var r=e.tmNode;r.disabled||p(t,r)}}},render:function(){var e,t=this.clsPrefix,r=this.tmNode.rawNode,n=this.isSelected,o=this.isPending,a=this.isGrouped,i=this.showCheckmark,s=this.nodeProps,l=this.renderOption,c=this.renderLabel,u=this.handleClick,d=this.handleMouseEnter,p=this.handleMouseMove,f=renderCheckMark(n,t),h=c?[c(r,n),i&&f]:[render$1(r[this.labelField],r,n),i&&f],v=null==s?void 0:s(r),g=h$1("div",Object.assign({},v,{class:["".concat(t,"-base-select-option"),r.class,null==v?void 0:v.class,(e={},_defineProperty2(e,"".concat(t,"-base-select-option--disabled"),r.disabled),_defineProperty2(e,"".concat(t,"-base-select-option--selected"),n),_defineProperty2(e,"".concat(t,"-base-select-option--grouped"),a),_defineProperty2(e,"".concat(t,"-base-select-option--pending"),o),_defineProperty2(e,"".concat(t,"-base-select-option--show-checkmark"),i),e)],style:[(null==v?void 0:v.style)||"",r.style||""],onClick:mergeEventHandlers([u,null==v?void 0:v.onClick]),onMouseenter:mergeEventHandlers([d,null==v?void 0:v.onMouseenter]),onMousemove:mergeEventHandlers([p,null==v?void 0:v.onMousemove])}),h$1("div",{class:"".concat(t,"-base-select-option__content")},h));return r.render?r.render({node:g,option:r,selected:n}):l?l({node:g,option:r,selected:n}):g}}),NSelectGroupHeader=defineComponent({name:"NBaseSelectGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup:function(){var e=inject(internalSelectionMenuInjectionKey),t=e.renderLabelRef,r=e.renderOptionRef;return{labelField:e.labelFieldRef,nodeProps:e.nodePropsRef,renderLabel:t,renderOption:r}},render:function(){var e=this.clsPrefix,t=this.renderLabel,r=this.renderOption,n=this.nodeProps,o=this.tmNode.rawNode,a=null==n?void 0:n(o),i=t?t(o,!1):render$1(o[this.labelField],o,!1),s=h$1("div",Object.assign({},a,{class:["".concat(e,"-base-select-group-header"),null==a?void 0:a.class]}),i);return o.render?o.render({node:s,option:o}):r?r({node:s,option:o,selected:!1}):s}}),cubicBezierEaseIn$1=commonVariables$m.cubicBezierEaseIn,cubicBezierEaseOut$1=commonVariables$m.cubicBezierEaseOut;function fadeInScaleUpTransition(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.transformOrigin,r=void 0===t?"inherit":t,n=e.duration,o=void 0===n?".2s":n,a=e.enterScale,i=void 0===a?".9":a,s=e.originalTransform,l=void 0===s?"":s,c=e.originalTransition,u=void 0===c?"":c;return[c$3("&.fade-in-scale-up-transition-leave-active",{transformOrigin:r,transition:"opacity ".concat(o," ").concat(cubicBezierEaseIn$1,", transform ").concat(o," ").concat(cubicBezierEaseIn$1," ").concat(u&&","+u)}),c$3("&.fade-in-scale-up-transition-enter-active",{transformOrigin:r,transition:"opacity ".concat(o," ").concat(cubicBezierEaseOut$1,", transform ").concat(o," ").concat(cubicBezierEaseOut$1," ").concat(u&&","+u)}),c$3("&.fade-in-scale-up-transition-enter-from, &.fade-in-scale-up-transition-leave-to",{opacity:0,transform:"".concat(l," scale(").concat(i,")")}),c$3("&.fade-in-scale-up-transition-leave-from, &.fade-in-scale-up-transition-enter-to",{opacity:1,transform:"".concat(l," scale(1)")})]}var style$r=cB("base-select-menu","\n line-height: 1.5;\n outline: none;\n z-index: 0;\n position: relative;\n border-radius: var(--n-border-radius);\n transition:\n background-color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier);\n background-color: var(--n-color);\n",[cB("scrollbar","\n max-height: var(--n-height);\n "),cB("virtual-list","\n max-height: var(--n-height);\n "),cB("base-select-option","\n min-height: var(--n-option-height);\n font-size: var(--n-option-font-size);\n display: flex;\n align-items: center;\n ",[cE("content","\n z-index: 1;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n ")]),cB("base-select-group-header","\n min-height: var(--n-option-height);\n font-size: .93em;\n display: flex;\n align-items: center;\n "),cB("base-select-menu-option-wrapper","\n position: relative;\n width: 100%;\n "),cE("loading, empty","\n display: flex;\n padding: 12px 32px;\n flex: 1;\n justify-content: center;\n "),cE("loading","\n color: var(--n-loading-color);\n font-size: var(--n-loading-size);\n "),cE("action","\n padding: 8px var(--n-option-padding-left);\n font-size: var(--n-option-font-size);\n transition: \n color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n border-top: 1px solid var(--n-action-divider-color);\n color: var(--n-action-text-color);\n "),cB("base-select-group-header","\n position: relative;\n cursor: default;\n padding: var(--n-option-padding);\n color: var(--n-group-header-text-color);\n "),cB("base-select-option","\n cursor: pointer;\n position: relative;\n padding: var(--n-option-padding);\n transition:\n color .3s var(--n-bezier),\n opacity .3s var(--n-bezier);\n box-sizing: border-box;\n color: var(--n-option-text-color);\n opacity: 1;\n ",[cM("show-checkmark","\n padding-right: calc(var(--n-option-padding-right) + 20px);\n "),c$3("&::before",'\n content: "";\n position: absolute;\n left: 4px;\n right: 4px;\n top: 0;\n bottom: 0;\n border-radius: var(--n-border-radius);\n transition: background-color .3s var(--n-bezier);\n '),c$3("&:active","\n color: var(--n-option-text-color-pressed);\n "),cM("grouped","\n padding-left: calc(var(--n-option-padding-left) * 1.5);\n "),cM("pending",[c$3("&::before","\n background-color: var(--n-option-color-pending);\n ")]),cM("selected","\n color: var(--n-option-text-color-active);\n ",[c$3("&::before","\n background-color: var(--n-option-color-active);\n "),cM("pending",[c$3("&::before","\n background-color: var(--n-option-color-active-pending);\n ")])]),cM("disabled","\n cursor: not-allowed;\n ",[cNotM("selected","\n color: var(--n-option-text-color-disabled);\n "),cM("selected","\n opacity: var(--n-option-opacity-disabled);\n ")]),cE("check","\n font-size: 16px;\n position: absolute;\n right: calc(var(--n-option-padding-right) - 4px);\n top: calc(50% - 7px);\n color: var(--n-option-check-color);\n transition: color .3s var(--n-bezier);\n ",[fadeInScaleUpTransition({enterScale:"0.5"})])])]),NInternalSelectMenu=defineComponent({name:"InternalSelectMenu",props:Object.assign(Object.assign({},useTheme.props),{clsPrefix:{type:String,required:!0},scrollable:{type:Boolean,default:!0},treeMate:{type:Object,required:!0},multiple:Boolean,size:{type:String,default:"medium"},value:{type:[String,Number,Array],default:null},autoPending:Boolean,virtualScroll:{type:Boolean,default:!0},show:{type:Boolean,default:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},loading:Boolean,focusable:Boolean,renderLabel:Function,renderOption:Function,nodeProps:Function,showCheckmark:{type:Boolean,default:!0},onMousedown:Function,onScroll:Function,onFocus:Function,onBlur:Function,onKeyup:Function,onKeydown:Function,onTabOut:Function,onMouseenter:Function,onMouseleave:Function,onResize:Function,resetMenuOnOptionsChange:{type:Boolean,default:!0},inlineThemeDisabled:Boolean,onToggle:Function}),setup:function(e){var t,r=useTheme("InternalSelectMenu","-internal-select-menu",style$r,internalSelectMenuLight$1,e,toRef(e,"clsPrefix")),n=ref(null),o=ref(null),a=ref(null),i=computed((function(){return e.treeMate.getFlattenedNodes()})),s=computed((function(){return createIndexGetter(i.value)})),l=ref(null);function c(){var t=l.value;t&&!e.treeMate.getNode(t.key)&&(l.value=null)}watch((function(){return e.show}),(function(r){r?t=watch((function(){return e.treeMate}),(function(){e.resetMenuOnOptionsChange?(e.autoPending?function(){var t=e.treeMate,r=null,n=e.value;null===n?r=t.getFirstAvailableNode():(r=e.multiple?t.getNode((n||[])[(n||[]).length-1]):t.getNode(n))&&!r.disabled||(r=t.getFirstAvailableNode()),v(r||null)}():c(),nextTick(g)):c()}),{immediate:!0}):null==t||t()}),{immediate:!0}),onBeforeUnmount((function(){null==t||t()}));var u=computed((function(){return depx(r.value.self[createKey("optionHeight",e.size)])})),d=computed((function(){return getMargin(r.value.self[createKey("padding",e.size)])})),p=computed((function(){return e.multiple&&Array.isArray(e.value)?new Set(e.value):new Set})),f=computed((function(){var e=i.value;return e&&0===e.length}));function h(t){var r=e.onScroll;r&&r(t)}function v(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];l.value=e,t&&g()}function g(){var t,r,n=l.value;if(n){var i=s.value(n.key);null!==i&&(e.virtualScroll?null===(t=o.value)||void 0===t||t.scrollTo({index:i}):null===(r=a.value)||void 0===r||r.scrollTo({index:i,elSize:u.value}))}}provide(internalSelectionMenuInjectionKey,{handleOptionMouseEnter:function(e,t){t.disabled||v(t,!1)},handleOptionClick:function(t,r){r.disabled||function(t){var r=e.onToggle;r&&r(t)}(r)},valueSetRef:p,pendingTmNodeRef:l,nodePropsRef:toRef(e,"nodeProps"),showCheckmarkRef:toRef(e,"showCheckmark"),multipleRef:toRef(e,"multiple"),valueRef:toRef(e,"value"),renderLabelRef:toRef(e,"renderLabel"),renderOptionRef:toRef(e,"renderOption"),labelFieldRef:toRef(e,"labelField"),valueFieldRef:toRef(e,"valueField")}),provide(internalSelectionMenuBodyInjectionKey,n),onMounted((function(){var e=a.value;e&&e.sync()}));var m=computed((function(){var t=e.size,n=r.value,o=n.common.cubicBezierEaseInOut,a=n.self,i=a.height,s=a.borderRadius,l=a.color,c=a.groupHeaderTextColor,u=a.actionDividerColor,d=a.optionTextColorPressed,p=a.optionTextColor,f=a.optionTextColorDisabled,h=a.optionTextColorActive,v=a.optionOpacityDisabled,g=a.optionCheckColor,m=a.actionTextColor,b=a.optionColorPending,A=a.optionColorActive,y=a.loadingColor,x=a.loadingSize,w=a.optionColorActivePending,C=a[createKey("optionFontSize",t)],k=a[createKey("optionHeight",t)],_=a[createKey("optionPadding",t)];return{"--n-height":i,"--n-action-divider-color":u,"--n-action-text-color":m,"--n-bezier":o,"--n-border-radius":s,"--n-color":l,"--n-option-font-size":C,"--n-group-header-text-color":c,"--n-option-check-color":g,"--n-option-color-pending":b,"--n-option-color-active":A,"--n-option-color-active-pending":w,"--n-option-height":k,"--n-option-opacity-disabled":v,"--n-option-text-color":p,"--n-option-text-color-active":h,"--n-option-text-color-disabled":f,"--n-option-text-color-pressed":d,"--n-option-padding":_,"--n-option-padding-left":getMargin(_,"left"),"--n-option-padding-right":getMargin(_,"right"),"--n-loading-color":y,"--n-loading-size":x}})),b=e.inlineThemeDisabled,A=b?useThemeClass("internal-select-menu",computed((function(){return e.size[0]})),m,e):void 0,y={selfRef:n,next:function(){var e=l.value;e&&v(e.getNext({loop:!0}),!0)},prev:function(){var e=l.value;e&&v(e.getPrev({loop:!0}),!0)},getPendingTmNode:function(){var e=l.value;return e||null}};return useOnResize(n,e.onResize),Object.assign({mergedTheme:r,virtualListRef:o,scrollbarRef:a,itemSize:u,padding:d,flattenedNodes:i,empty:f,virtualListContainer:function(){var e=o.value;return null==e?void 0:e.listElRef},virtualListContent:function(){var e=o.value;return null==e?void 0:e.itemsElRef},doScroll:h,handleFocusin:function(t){var r,o;(null===(r=n.value)||void 0===r?void 0:r.contains(t.target))&&(null===(o=e.onFocus)||void 0===o||o.call(e,t))},handleFocusout:function(t){var r,o;(null===(r=n.value)||void 0===r?void 0:r.contains(t.relatedTarget))||null===(o=e.onBlur)||void 0===o||o.call(e,t)},handleKeyUp:function(t){var r;happensIn(t,"action")||null===(r=e.onKeyup)||void 0===r||r.call(e,t)},handleKeyDown:function(t){var r;happensIn(t,"action")||null===(r=e.onKeydown)||void 0===r||r.call(e,t)},handleMouseDown:function(t){var r;null===(r=e.onMousedown)||void 0===r||r.call(e,t),e.focusable||t.preventDefault()},handleVirtualListResize:function(){var e;null===(e=a.value)||void 0===e||e.sync()},handleVirtualListScroll:function(e){var t;null===(t=a.value)||void 0===t||t.sync(),h(e)},cssVars:b?void 0:m,themeClass:null==A?void 0:A.themeClass,onRender:null==A?void 0:A.onRender},y)},render:function(){var e=this,t=this.$slots,r=this.virtualScroll,n=this.clsPrefix,o=this.mergedTheme,a=this.themeClass,i=this.onRender;return null==i||i(),h$1("div",{ref:"selfRef",tabindex:this.focusable?0:-1,class:["".concat(n,"-base-select-menu"),a,this.multiple&&"".concat(n,"-base-select-menu--multiple")],style:this.cssVars,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onKeyup:this.handleKeyUp,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},this.loading?h$1("div",{class:"".concat(n,"-base-select-menu__loading")},h$1(NBaseLoading,{clsPrefix:n,strokeWidth:20})):this.empty?h$1("div",{class:"".concat(n,"-base-select-menu__empty"),"data-empty":!0},resolveSlot(t.empty,(function(){return[h$1(NEmpty,{theme:o.peers.Empty,themeOverrides:o.peerOverrides.Empty})]}))):h$1(NScrollbar$1,{ref:"scrollbarRef",theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar,scrollable:this.scrollable,container:r?this.virtualListContainer:void 0,content:r?this.virtualListContent:void 0,onScroll:r?void 0:this.doScroll},{default:function(){return r?h$1(VVirtualList,{ref:"virtualListRef",class:"".concat(n,"-virtual-list"),items:e.flattenedNodes,itemSize:e.itemSize,showScrollbar:!1,paddingTop:e.padding.top,paddingBottom:e.padding.bottom,onResize:e.handleVirtualListResize,onScroll:e.handleVirtualListScroll,itemResizable:!0},{default:function(e){var t=e.item;return t.isGroup?h$1(NSelectGroupHeader,{key:t.key,clsPrefix:n,tmNode:t}):t.ignored?null:h$1(NSelectOption,{clsPrefix:n,key:t.key,tmNode:t})}}):h$1("div",{class:"".concat(n,"-base-select-menu-option-wrapper"),style:{paddingTop:e.padding.top,paddingBottom:e.padding.bottom}},e.flattenedNodes.map((function(e){return e.isGroup?h$1(NSelectGroupHeader,{key:e.key,clsPrefix:n,tmNode:e}):h$1(NSelectOption,{clsPrefix:n,key:e.key,tmNode:e})})))}}),resolveWrappedSlot(t.action,(function(t){return t&&[h$1("div",{class:"".concat(n,"-base-select-menu__action"),"data-action":!0,key:"action"},t),h$1(FocusDetector,{onFocus:e.onTabOut,key:"focus-detector"})]})))}}),style$q=cB("base-wave","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n border-radius: inherit;\n"),NBaseWave=defineComponent({name:"BaseWave",props:{clsPrefix:{type:String,required:!0}},setup:function(e){useStyle("-base-wave",style$q,toRef(e,"clsPrefix"));var t=ref(null),r=ref(!1),n=null;return onBeforeUnmount((function(){null!==n&&window.clearTimeout(n)})),{active:r,selfRef:t,play:function(){null!==n&&(window.clearTimeout(n),r.value=!1,n=null),nextTick((function(){var e;null===(e=t.value)||void 0===e||e.offsetHeight,r.value=!0,n=window.setTimeout((function(){r.value=!1,n=null}),1e3)}))}}},render:function(){var e=this.clsPrefix;return h$1("div",{ref:"selfRef","aria-hidden":!0,class:["".concat(e,"-base-wave"),this.active&&"".concat(e,"-base-wave--active")]})}}),style$p=cB("base-menu-mask","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n padding: 14px;\n overflow: hidden;\n",[fadeInTransition()]),NBaseMenuMask=defineComponent({name:"BaseMenuMask",props:{clsPrefix:{type:String,required:!0}},setup:function(e){useStyle("-base-menu-mask",style$p,toRef(e,"clsPrefix"));var t=ref(null),r=null,n=ref(!1);onBeforeUnmount((function(){null!==r&&window.clearTimeout(r)}));var o={showOnce:function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1500;r&&window.clearTimeout(r),n.value=!0,t.value=e,r=window.setTimeout((function(){n.value=!1,t.value=null}),o)}};return Object.assign({message:t,show:n},o)},render:function(){var e=this;return h$1(Transition,{name:"fade-in-transition"},{default:function(){return e.show?h$1("div",{class:"".concat(e.clsPrefix,"-base-menu-mask")},e.message):null}})}}),commonVariables$k={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"},self$R=function(e){var t=e.boxShadow2,r=e.popoverColor,n=e.textColor2,o=e.borderRadius,a=e.fontSize,i=e.dividerColor;return Object.assign(Object.assign({},commonVariables$k),{fontSize:a,borderRadius:o,color:r,dividerColor:i,textColor:n,boxShadow:t})},popoverLight={name:"Popover",common:commonLight,self:self$R},popoverLight$1=popoverLight,popoverDark={name:"Popover",common:commonDark,self:self$R},popoverDark$1=popoverDark,oppositePlacement={top:"bottom",bottom:"top",left:"right",right:"left"},arrowSize="var(--n-arrow-height) * 1.414",style$o=c$3([cB("popover","\n transition:\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n position: relative;\n font-size: var(--n-font-size);\n color: var(--n-text-color);\n box-shadow: var(--n-box-shadow);\n word-break: break-word;\n ",[c$3(">",[cB("scrollbar","\n height: inherit;\n max-height: inherit;\n ")]),cNotM("raw","\n background-color: var(--n-color);\n border-radius: var(--n-border-radius);\n ",[cNotM("scrollable",[cNotM("show-header-or-footer","padding: var(--n-padding);")])]),cE("header","\n padding: var(--n-padding);\n border-bottom: 1px solid var(--n-divider-color);\n transition: border-color .3s var(--n-bezier);\n "),cE("footer","\n padding: var(--n-padding);\n border-top: 1px solid var(--n-divider-color);\n transition: border-color .3s var(--n-bezier);\n "),cM("scrollable, show-header-or-footer",[cE("content","\n padding: var(--n-padding);\n ")])]),cB("popover-shared","\n transform-origin: inherit;\n ",[cB("popover-arrow-wrapper","\n position: absolute;\n overflow: hidden;\n pointer-events: none;\n ",[cB("popover-arrow","\n transition: background-color .3s var(--n-bezier);\n position: absolute;\n display: block;\n width: calc(".concat(arrowSize,");\n height: calc(").concat(arrowSize,");\n box-shadow: 0 0 8px 0 rgba(0, 0, 0, .12);\n transform: rotate(45deg);\n background-color: var(--n-color);\n pointer-events: all;\n "))]),c$3("&.popover-transition-enter-from, &.popover-transition-leave-to","\n opacity: 0;\n transform: scale(.85);\n "),c$3("&.popover-transition-enter-to, &.popover-transition-leave-from","\n transform: scale(1);\n opacity: 1;\n "),c$3("&.popover-transition-enter-active","\n transition:\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier),\n opacity .15s var(--n-bezier-ease-out),\n transform .15s var(--n-bezier-ease-out);\n "),c$3("&.popover-transition-leave-active","\n transition:\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier),\n opacity .15s var(--n-bezier-ease-in),\n transform .15s var(--n-bezier-ease-in);\n ")]),placementStyle("top-start","\n top: calc(".concat(arrowSize," / -2);\n left: calc(").concat(getArrowOffset("top-start")," - var(--v-offset-left));\n ")),placementStyle("top","\n top: calc(".concat(arrowSize," / -2);\n transform: translateX(calc(").concat(arrowSize," / -2)) rotate(45deg);\n left: 50%;\n ")),placementStyle("top-end","\n top: calc(".concat(arrowSize," / -2);\n right: calc(").concat(getArrowOffset("top-end")," + var(--v-offset-left));\n ")),placementStyle("bottom-start","\n bottom: calc(".concat(arrowSize," / -2);\n left: calc(").concat(getArrowOffset("bottom-start")," - var(--v-offset-left));\n ")),placementStyle("bottom","\n bottom: calc(".concat(arrowSize," / -2);\n transform: translateX(calc(").concat(arrowSize," / -2)) rotate(45deg);\n left: 50%;\n ")),placementStyle("bottom-end","\n bottom: calc(".concat(arrowSize," / -2);\n right: calc(").concat(getArrowOffset("bottom-end")," + var(--v-offset-left));\n ")),placementStyle("left-start","\n left: calc(".concat(arrowSize," / -2);\n top: calc(").concat(getArrowOffset("left-start")," - var(--v-offset-top));\n ")),placementStyle("left","\n left: calc(".concat(arrowSize," / -2);\n transform: translateY(calc(").concat(arrowSize," / -2)) rotate(45deg);\n top: 50%;\n ")),placementStyle("left-end","\n left: calc(".concat(arrowSize," / -2);\n bottom: calc(").concat(getArrowOffset("left-end")," + var(--v-offset-top));\n ")),placementStyle("right-start","\n right: calc(".concat(arrowSize," / -2);\n top: calc(").concat(getArrowOffset("right-start")," - var(--v-offset-top));\n ")),placementStyle("right","\n right: calc(".concat(arrowSize," / -2);\n transform: translateY(calc(").concat(arrowSize," / -2)) rotate(45deg);\n top: 50%;\n ")),placementStyle("right-end","\n right: calc(".concat(arrowSize," / -2);\n bottom: calc(").concat(getArrowOffset("right-end")," + var(--v-offset-top));\n "))].concat(_toConsumableArray2(map({top:["right-start","left-start"],right:["top-end","bottom-end"],bottom:["right-end","left-end"],left:["top-start","bottom-start"]},(function(e,t){var r=["right","left"].includes(t),n=r?"width":"height";return e.map((function(e){var o="end"===e.split("-")[1],a="var(--v-target-".concat(n,", 0px)"),i="calc((".concat(a," - ").concat(arrowSize,") / 2)"),s=getArrowOffset(e);return c$3('[v-placement="'.concat(e,'"] >'),[cB("popover-shared",[cM("center-arrow",[cB("popover-arrow","".concat(t,": calc(max(").concat(i,", ").concat(s,") ").concat(o?"+":"-"," var(--v-offset-").concat(r?"left":"top","));"))])])])}))})))));function getArrowOffset(e){return["top","bottom"].includes(e.split("-")[0])?"var(--n-arrow-offset)":"var(--n-arrow-offset-vertical)"}function placementStyle(e,t){var r=e.split("-")[0],n=["top","bottom"].includes(r)?"height: var(--n-space-arrow);":"width: var(--n-space-arrow);";return c$3('[v-placement="'.concat(e,'"] >'),[cB("popover-shared","\n margin-".concat(oppositePlacement[r],": var(--n-space);\n "),[cM("show-arrow","\n margin-".concat(oppositePlacement[r],": var(--n-space-arrow);\n ")),cM("overlap","\n margin: 0;\n "),cCB("popover-arrow-wrapper","\n right: 0;\n left: 0;\n top: 0;\n bottom: 0;\n ".concat(r,": 100%;\n ").concat(oppositePlacement[r],": auto;\n ").concat(n,"\n "),[cB("popover-arrow",t)])])])}var popoverBodyProps=Object.assign(Object.assign({},useTheme.props),{to:useAdjustedTo.propTo,show:Boolean,trigger:String,showArrow:Boolean,delay:Number,duration:Number,raw:Boolean,arrowPointToCenter:Boolean,arrowStyle:[String,Object],displayDirective:String,x:Number,y:Number,flip:Boolean,overlap:Boolean,placement:String,width:[Number,String],keepAliveOnHover:Boolean,scrollable:Boolean,contentStyle:[Object,String],headerStyle:[Object,String],footerStyle:[Object,String],internalDeactivateImmediately:Boolean,animated:Boolean,onClickoutside:Function,internalTrapFocus:Boolean,internalOnAfterLeave:Function,minWidth:Number,maxWidth:Number}),renderArrow=function(e){var t=e.arrowStyle,r=e.clsPrefix;return h$1("div",{key:"__popover-arrow__",class:"".concat(r,"-popover-arrow-wrapper")},h$1("div",{class:"".concat(r,"-popover-arrow"),style:t}))},NPopoverBody=defineComponent({name:"PopoverBody",inheritAttrs:!1,props:popoverBodyProps,setup:function(e,t){var r=t.slots,n=t.attrs,o=useConfig(e),a=o.namespaceRef,i=o.mergedClsPrefixRef,s=o.inlineThemeDisabled,l=useTheme("Popover","-popover",style$o,popoverLight$1,e,i),c=ref(null),u=inject("NPopover"),d=ref(null),p=ref(e.show),f=ref(!1);watchEffect((function(){!e.show||isJsdom()||e.internalDeactivateImmediately||(f.value=!0)}));var h=computed((function(){var t=e.trigger,r=e.onClickoutside,n=[];return u.positionManuallyRef.value||("click"!==t||r||n.push([clickoutside$1,x,void 0,{capture:!0}]),"hover"===t&&n.push([mousemoveoutside$1,y])),r&&n.push([clickoutside$1,x,void 0,{capture:!0}]),("show"===e.displayDirective||e.animated&&f.value)&&n.push([vShow,e.show]),n})),v=computed((function(){var t="trigger"===e.width?void 0:formatLength(e.width),r=[];t&&r.push({width:t});var n=e.maxWidth,o=e.minWidth;return n&&r.push({maxWidth:formatLength(n)}),o&&r.push({maxWidth:formatLength(o)}),s||r.push(g.value),r})),g=computed((function(){var e=l.value,t=e.common,r=t.cubicBezierEaseInOut,n=t.cubicBezierEaseIn,o=t.cubicBezierEaseOut,a=e.self,i=a.space,s=a.spaceArrow,c=a.padding,u=a.fontSize,d=a.textColor,p=a.dividerColor,f=a.color;return{"--n-box-shadow":a.boxShadow,"--n-bezier":r,"--n-bezier-ease-in":n,"--n-bezier-ease-out":o,"--n-font-size":u,"--n-text-color":d,"--n-color":f,"--n-divider-color":p,"--n-border-radius":a.borderRadius,"--n-arrow-height":a.arrowHeight,"--n-arrow-offset":a.arrowOffset,"--n-arrow-offset-vertical":a.arrowOffsetVertical,"--n-padding":c,"--n-space":i,"--n-space-arrow":s}})),m=s?useThemeClass("popover",void 0,g,e):void 0;function b(t){"hover"===e.trigger&&e.keepAliveOnHover&&e.show&&u.handleMouseEnter(t)}function A(t){"hover"===e.trigger&&e.keepAliveOnHover&&u.handleMouseLeave(t)}function y(t){"hover"!==e.trigger||w().contains(getPreciseEventTarget(t))||u.handleMouseMoveOutside(t)}function x(t){("click"===e.trigger&&!w().contains(getPreciseEventTarget(t))||e.onClickoutside)&&u.handleClickOutside(t)}function w(){return u.getTriggerElement()}return u.setBodyInstance({syncPosition:function(){var e;null===(e=c.value)||void 0===e||e.syncPosition()}}),onBeforeUnmount((function(){u.setBodyInstance(null)})),watch(toRef(e,"show"),(function(t){e.animated||(p.value=!!t)})),provide(popoverBodyInjectionKey,d),provide(drawerBodyInjectionKey,null),provide(modalBodyInjectionKey,null),{displayed:f,namespace:a,isMounted:u.isMountedRef,zIndex:u.zIndexRef,followerRef:c,adjustedTo:useAdjustedTo(e),followerEnabled:p,renderContentNode:function(){var t;if(null==m||m.onRender(),!("show"===e.displayDirective||e.show||e.animated&&f.value))return null;var o=u.internalRenderBodyRef.value,a=i.value;if(o)t=o(["".concat(a,"-popover-shared"),null==m?void 0:m.themeClass.value,e.overlap&&"".concat(a,"-popover-shared--overlap"),e.showArrow&&"".concat(a,"-popover-shared--show-arrow"),e.arrowPointToCenter&&"".concat(a,"-popover-shared--center-arrow")],d,v.value,b,A);else{var s,l=u.extraClassRef.value,c=e.internalTrapFocus,p=!isSlotEmpty(r.header)||!isSlotEmpty(r.footer),g=function(){var t,n=p?h$1(Fragment,null,resolveWrappedSlot(r.header,(function(t){return t?h$1("div",{class:"".concat(a,"-popover__header"),style:e.headerStyle},t):null})),resolveWrappedSlot(r.default,(function(t){return t?h$1("div",{class:"".concat(a,"-popover__content"),style:e.contentStyle},r):null})),resolveWrappedSlot(r.footer,(function(t){return t?h$1("div",{class:"".concat(a,"-popover__footer"),style:e.footerStyle},t):null}))):e.scrollable?null===(t=r.default)||void 0===t?void 0:t.call(r):h$1("div",{class:"".concat(a,"-popover__content"),style:e.contentStyle},r);return[e.scrollable?h$1(XScrollbar,{contentClass:p?void 0:"".concat(a,"-popover__content"),contentStyle:p?void 0:e.contentStyle},{default:function(){return n}}):n,e.showArrow?renderArrow({arrowStyle:e.arrowStyle,clsPrefix:a}):null]};t=h$1("div",mergeProps({class:["".concat(a,"-popover"),"".concat(a,"-popover-shared"),null==m?void 0:m.themeClass.value,l.map((function(e){return"".concat(a,"-").concat(e)})),(s={},_defineProperty2(s,"".concat(a,"-popover--scrollable"),e.scrollable),_defineProperty2(s,"".concat(a,"-popover--show-header-or-footer"),p),_defineProperty2(s,"".concat(a,"-popover--raw"),e.raw),_defineProperty2(s,"".concat(a,"-popover-shared--overlap"),e.overlap),_defineProperty2(s,"".concat(a,"-popover-shared--show-arrow"),e.showArrow),_defineProperty2(s,"".concat(a,"-popover-shared--center-arrow"),e.arrowPointToCenter),s)],ref:d,style:v.value,onKeydown:u.handleKeydown,onMouseenter:b,onMouseleave:A},n),c?h$1(FocusTrap,{active:e.show,autoFocus:!0},{default:g}):g())}return withDirectives(t,h.value)}}},render:function(){var e=this;return h$1(VFollower,{ref:"followerRef",zIndex:this.zIndex,show:this.show,enabled:this.followerEnabled,to:this.adjustedTo,x:this.x,y:this.y,flip:this.flip,placement:this.placement,containerClass:this.namespace,overlap:this.overlap,width:"trigger"===this.width?"target":void 0,teleportDisabled:this.adjustedTo===useAdjustedTo.tdkey},{default:function(){return e.animated?h$1(Transition,{name:"popover-transition",appear:e.isMounted,onEnter:function(){e.followerEnabled=!0},onAfterLeave:function(){var t;null===(t=e.internalOnAfterLeave)||void 0===t||t.call(e),e.followerEnabled=!1,e.displayed=!1}},{default:e.renderContentNode}):e.renderContentNode()}})}}),bodyPropKeys=Object.keys(popoverBodyProps),triggerEventMap={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"],manual:[],nested:["onFocus","onBlur","onMouseenter","onMouseleave","onClick"]};function appendEvents(e,t,r){triggerEventMap[t].forEach((function(t){e.props?e.props=Object.assign({},e.props):e.props={};var n=e.props[t],o=r[t];e.props[t]=n?function(){n.apply(void 0,arguments),o.apply(void 0,arguments)}:o}))}var popoverBaseProps={show:{type:Boolean,default:void 0},defaultShow:Boolean,showArrow:{type:Boolean,default:!0},trigger:{type:String,default:"hover"},delay:{type:Number,default:100},duration:{type:Number,default:100},raw:Boolean,placement:{type:String,default:"top"},x:Number,y:Number,arrowPointToCenter:Boolean,disabled:Boolean,getDisabled:Function,displayDirective:{type:String,default:"if"},arrowStyle:[String,Object],flip:{type:Boolean,default:!0},animated:{type:Boolean,default:!0},width:{type:[Number,String],default:void 0},overlap:Boolean,keepAliveOnHover:{type:Boolean,default:!0},zIndex:Number,to:useAdjustedTo.propTo,scrollable:Boolean,contentStyle:[Object,String],headerStyle:[Object,String],footerStyle:[Object,String],onClickoutside:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],internalDeactivateImmediately:Boolean,internalSyncTargetWithParent:Boolean,internalInheritedEventHandlers:{type:Array,default:function(){return[]}},internalTrapFocus:Boolean,internalExtraClass:{type:Array,default:function(){return[]}},onShow:[Function,Array],onHide:[Function,Array],arrow:{type:Boolean,default:void 0},minWidth:Number,maxWidth:Number},popoverProps=Object.assign(Object.assign(Object.assign({},useTheme.props),popoverBaseProps),{internalOnAfterLeave:Function,internalRenderBody:Function}),NPopover=defineComponent({name:"Popover",inheritAttrs:!1,props:popoverProps,__popover__:!0,setup:function(e){var t=isMounted(),r=ref(null),n=computed((function(){return e.show})),o=ref(e.defaultShow),a=useMergedState(n,o),i=useMemo((function(){return!e.disabled&&a.value})),s=function(){if(e.disabled)return!0;var t=e.getDisabled;return!!(null==t?void 0:t())},l=function(){return!s()&&a.value},c=useCompitable(e,["arrow","showArrow"]),u=computed((function(){return!e.overlap&&c.value})),d=null,p=ref(null),f=ref(null),h=useMemo((function(){return void 0!==e.x&&void 0!==e.y}));function v(t){var r=e["onUpdate:show"],n=e.onUpdateShow,a=e.onShow,i=e.onHide;o.value=t,r&&call$1(r,t),n&&call$1(n,t),t&&a&&call$1(a,!0),t&&i&&call$1(i,!1)}function g(){var e=p.value;e&&(window.clearTimeout(e),p.value=null)}function m(){var e=f.value;e&&(window.clearTimeout(e),f.value=null)}function b(){var t=s();if("hover"===e.trigger&&!t){if(m(),null!==p.value)return;if(l())return;var r=function(){v(!0),p.value=null},n=e.delay;0===n?r():p.value=window.setTimeout(r,n)}}function A(){var t=s();if("hover"===e.trigger&&!t){if(g(),null!==f.value)return;if(!l())return;var r=function(){v(!1),f.value=null},n=e.duration;0===n?r():f.value=window.setTimeout(r,n)}}return provide("NPopover",{getTriggerElement:function(){var e;return null===(e=r.value)||void 0===e?void 0:e.targetRef},handleKeydown:function(t){e.internalTrapFocus&&"Escape"===t.key&&(g(),m(),v(!1))},handleMouseEnter:b,handleMouseLeave:A,handleClickOutside:function(t){var r;l()&&("click"===e.trigger&&(g(),m(),v(!1)),null===(r=e.onClickoutside)||void 0===r||r.call(e,t))},handleMouseMoveOutside:function(){A()},setBodyInstance:function(e){d=e},positionManuallyRef:h,isMountedRef:t,zIndexRef:toRef(e,"zIndex"),extraClassRef:toRef(e,"internalExtraClass"),internalRenderBodyRef:toRef(e,"internalRenderBody")}),watchEffect((function(){a.value&&s()&&v(!1)})),{binderInstRef:r,positionManually:h,mergedShowConsideringDisabledProp:i,uncontrolledShow:o,mergedShowArrow:u,getMergedShow:l,setShow:function(e){o.value=e},handleClick:function(){"click"!==e.trigger||s()||(g(),m(),v(!l()))},handleMouseEnter:b,handleMouseLeave:A,handleFocus:function(){var t=s();if("focus"===e.trigger&&!t){if(l())return;v(!0)}},handleBlur:function(){var t=s();if("focus"===e.trigger&&!t){if(!l())return;v(!1)}},syncPosition:function(){d&&d.syncPosition()}}},render:function(){var e,t,r=this,n=this.positionManually,o=this.$slots,a=!1;if(!n&&(t=o.activator?getFirstSlotVNode(o,"activator"):getFirstSlotVNode(o,"trigger"))){t=(t=cloneVNode(t)).type===Text?h$1("span",[t]):t;var i={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur};if(null===(e=t.type)||void 0===e?void 0:e.__popover__)a=!0,t.props||(t.props={internalSyncTargetWithParent:!0,internalInheritedEventHandlers:[]}),t.props.internalSyncTargetWithParent=!0,t.props.internalInheritedEventHandlers?t.props.internalInheritedEventHandlers=[i].concat(_toConsumableArray2(t.props.internalInheritedEventHandlers)):t.props.internalInheritedEventHandlers=[i];else{var s=this.internalInheritedEventHandlers,l=[i].concat(_toConsumableArray2(s)),c={onBlur:function(e){l.forEach((function(t){t.onBlur(e)}))},onFocus:function(e){l.forEach((function(t){t.onFocus(e)}))},onClick:function(e){l.forEach((function(t){t.onClick(e)}))},onMouseenter:function(e){l.forEach((function(t){t.onMouseenter(e)}))},onMouseleave:function(e){l.forEach((function(t){t.onMouseleave(e)}))}};appendEvents(t,s?"nested":n?"manual":this.trigger,c)}}return h$1(VBinder,{ref:"binderInstRef",syncTarget:!a,syncTargetWithParent:this.internalSyncTargetWithParent},{default:function(){r.mergedShowConsideringDisabledProp;var e=r.getMergedShow();return[r.internalTrapFocus&&e?withDirectives(h$1("div",{style:{position:"fixed",inset:0}}),[[zindexable$1,{enabled:e,zIndex:r.zIndex}]]):null,n?null:h$1(VTarget,null,{default:function(){return t}}),h$1(NPopoverBody,keep(r.$props,bodyPropKeys,Object.assign(Object.assign({},r.$attrs),{showArrow:r.mergedShowArrow,show:e})),{default:function(){var e,t;return null===(t=(e=r.$slots).default)||void 0===t?void 0:t.call(e)},header:function(){var e,t;return null===(t=(e=r.$slots).header)||void 0===t?void 0:t.call(e)},footer:function(){var e,t;return null===(t=(e=r.$slots).footer)||void 0===t?void 0:t.call(e)}})]}})}}),commonVariables$j={closeIconSizeTiny:"12px",closeIconSizeSmall:"12px",closeIconSizeMedium:"14px",closeIconSizeLarge:"14px",closeSizeTiny:"16px",closeSizeSmall:"16px",closeSizeMedium:"18px",closeSizeLarge:"18px",padding:"0 7px",closeMargin:"0 0 0 4px",closeMarginRtl:"0 4px 0 0"},tagDark={name:"Tag",common:commonDark,self:function(e){var t=e.textColor2,r=e.primaryColorHover,n=e.primaryColorPressed,o=e.primaryColor,a=e.infoColor,i=e.successColor,s=e.warningColor,l=e.errorColor,c=e.baseColor,u=e.borderColor,d=e.tagColor,p=e.opacityDisabled,f=e.closeIconColor,h=e.closeIconColorHover,v=e.closeIconColorPressed,g=e.closeColorHover,m=e.closeColorPressed,b=e.borderRadiusSmall,A=e.fontSizeMini,y=e.fontSizeTiny,x=e.fontSizeSmall,w=e.fontSizeMedium,C=e.heightMini,k=e.heightTiny,_=e.heightSmall,S=e.heightMedium,B=e.buttonColor2Hover,E=e.buttonColor2Pressed,T=e.fontWeightStrong;return Object.assign(Object.assign({},commonVariables$j),{closeBorderRadius:b,heightTiny:C,heightSmall:k,heightMedium:_,heightLarge:S,borderRadius:b,opacityDisabled:p,fontSizeTiny:A,fontSizeSmall:y,fontSizeMedium:x,fontSizeLarge:w,fontWeightStrong:T,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:c,colorCheckable:"#0000",colorHoverCheckable:B,colorPressedCheckable:E,colorChecked:o,colorCheckedHover:r,colorCheckedPressed:n,border:"1px solid ".concat(u),textColor:t,color:d,colorBordered:"#0000",closeIconColor:f,closeIconColorHover:h,closeIconColorPressed:v,closeColorHover:g,closeColorPressed:m,borderPrimary:"1px solid ".concat(changeColor(o,{alpha:.3})),textColorPrimary:o,colorPrimary:changeColor(o,{alpha:.16}),colorBorderedPrimary:"#0000",closeIconColorPrimary:scaleColor(o,{lightness:.7}),closeIconColorHoverPrimary:scaleColor(o,{lightness:.7}),closeIconColorPressedPrimary:scaleColor(o,{lightness:.7}),closeColorHoverPrimary:changeColor(o,{alpha:.16}),closeColorPressedPrimary:changeColor(o,{alpha:.12}),borderInfo:"1px solid ".concat(changeColor(a,{alpha:.3})),textColorInfo:a,colorInfo:changeColor(a,{alpha:.16}),colorBorderedInfo:"#0000",closeIconColorInfo:scaleColor(a,{alpha:.7}),closeIconColorHoverInfo:scaleColor(a,{alpha:.7}),closeIconColorPressedInfo:scaleColor(a,{alpha:.7}),closeColorHoverInfo:changeColor(a,{alpha:.16}),closeColorPressedInfo:changeColor(a,{alpha:.12}),borderSuccess:"1px solid ".concat(changeColor(i,{alpha:.3})),textColorSuccess:i,colorSuccess:changeColor(i,{alpha:.16}),colorBorderedSuccess:"#0000",closeIconColorSuccess:scaleColor(i,{alpha:.7}),closeIconColorHoverSuccess:scaleColor(i,{alpha:.7}),closeIconColorPressedSuccess:scaleColor(i,{alpha:.7}),closeColorHoverSuccess:changeColor(i,{alpha:.16}),closeColorPressedSuccess:changeColor(i,{alpha:.12}),borderWarning:"1px solid ".concat(changeColor(s,{alpha:.3})),textColorWarning:s,colorWarning:changeColor(s,{alpha:.16}),colorBorderedWarning:"#0000",closeIconColorWarning:scaleColor(s,{alpha:.7}),closeIconColorHoverWarning:scaleColor(s,{alpha:.7}),closeIconColorPressedWarning:scaleColor(s,{alpha:.7}),closeColorHoverWarning:changeColor(s,{alpha:.16}),closeColorPressedWarning:changeColor(s,{alpha:.11}),borderError:"1px solid ".concat(changeColor(l,{alpha:.3})),textColorError:l,colorError:changeColor(l,{alpha:.16}),colorBorderedError:"#0000",closeIconColorError:scaleColor(l,{alpha:.7}),closeIconColorHoverError:scaleColor(l,{alpha:.7}),closeIconColorPressedError:scaleColor(l,{alpha:.7}),closeColorHoverError:changeColor(l,{alpha:.16}),closeColorPressedError:changeColor(l,{alpha:.12})})}},tagDark$1=tagDark,self$Q=function(e){var t=e.textColor2,r=e.primaryColorHover,n=e.primaryColorPressed,o=e.primaryColor,a=e.infoColor,i=e.successColor,s=e.warningColor,l=e.errorColor,c=e.baseColor,u=e.borderColor,d=e.opacityDisabled,p=e.tagColor,f=e.closeIconColor,h=e.closeIconColorHover,v=e.closeIconColorPressed,g=e.borderRadiusSmall,m=e.fontSizeMini,b=e.fontSizeTiny,A=e.fontSizeSmall,y=e.fontSizeMedium,x=e.heightMini,w=e.heightTiny,C=e.heightSmall,k=e.heightMedium,_=e.closeColorHover,S=e.closeColorPressed,B=e.buttonColor2Hover,E=e.buttonColor2Pressed,T=e.fontWeightStrong;return Object.assign(Object.assign({},commonVariables$j),{closeBorderRadius:g,heightTiny:x,heightSmall:w,heightMedium:C,heightLarge:k,borderRadius:g,opacityDisabled:d,fontSizeTiny:m,fontSizeSmall:b,fontSizeMedium:A,fontSizeLarge:y,fontWeightStrong:T,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:c,colorCheckable:"#0000",colorHoverCheckable:B,colorPressedCheckable:E,colorChecked:o,colorCheckedHover:r,colorCheckedPressed:n,border:"1px solid ".concat(u),textColor:t,color:p,colorBordered:"rgb(250, 250, 252)",closeIconColor:f,closeIconColorHover:h,closeIconColorPressed:v,closeColorHover:_,closeColorPressed:S,borderPrimary:"1px solid ".concat(changeColor(o,{alpha:.3})),textColorPrimary:o,colorPrimary:changeColor(o,{alpha:.12}),colorBorderedPrimary:changeColor(o,{alpha:.1}),closeIconColorPrimary:o,closeIconColorHoverPrimary:o,closeIconColorPressedPrimary:o,closeColorHoverPrimary:changeColor(o,{alpha:.12}),closeColorPressedPrimary:changeColor(o,{alpha:.18}),borderInfo:"1px solid ".concat(changeColor(a,{alpha:.3})),textColorInfo:a,colorInfo:changeColor(a,{alpha:.12}),colorBorderedInfo:changeColor(a,{alpha:.1}),closeIconColorInfo:a,closeIconColorHoverInfo:a,closeIconColorPressedInfo:a,closeColorHoverInfo:changeColor(a,{alpha:.12}),closeColorPressedInfo:changeColor(a,{alpha:.18}),borderSuccess:"1px solid ".concat(changeColor(i,{alpha:.3})),textColorSuccess:i,colorSuccess:changeColor(i,{alpha:.12}),colorBorderedSuccess:changeColor(i,{alpha:.1}),closeIconColorSuccess:i,closeIconColorHoverSuccess:i,closeIconColorPressedSuccess:i,closeColorHoverSuccess:changeColor(i,{alpha:.12}),closeColorPressedSuccess:changeColor(i,{alpha:.18}),borderWarning:"1px solid ".concat(changeColor(s,{alpha:.35})),textColorWarning:s,colorWarning:changeColor(s,{alpha:.15}),colorBorderedWarning:changeColor(s,{alpha:.12}),closeIconColorWarning:s,closeIconColorHoverWarning:s,closeIconColorPressedWarning:s,closeColorHoverWarning:changeColor(s,{alpha:.12}),closeColorPressedWarning:changeColor(s,{alpha:.18}),borderError:"1px solid ".concat(changeColor(l,{alpha:.23})),textColorError:l,colorError:changeColor(l,{alpha:.1}),colorBorderedError:changeColor(l,{alpha:.08}),closeIconColorError:l,closeIconColorHoverError:l,closeIconColorPressedError:l,closeColorHoverError:changeColor(l,{alpha:.12}),closeColorPressedError:changeColor(l,{alpha:.18})})},tagLight={name:"Tag",common:commonLight,self:self$Q},tagLight$1=tagLight,commonProps={color:Object,type:{type:String,default:"default"},round:Boolean,size:{type:String,default:"medium"},closable:Boolean,disabled:{type:Boolean,default:void 0}},style$n=cB("tag","\n white-space: nowrap;\n position: relative;\n box-sizing: border-box;\n cursor: default;\n display: inline-flex;\n align-items: center;\n flex-wrap: nowrap;\n padding: var(--n-padding);\n border-radius: var(--n-border-radius);\n color: var(--n-text-color);\n background-color: var(--n-color);\n transition: \n border-color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier),\n opacity .3s var(--n-bezier);\n line-height: 1;\n height: var(--n-height);\n font-size: var(--n-font-size);\n",[cM("strong","\n font-weight: var(--n-font-weight-strong);\n "),cE("border","\n pointer-events: none;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n border-radius: inherit;\n border: var(--n-border);\n transition: border-color .3s var(--n-bezier);\n "),cE("icon","\n display: flex;\n margin: 0 4px 0 0;\n color: var(--n-text-color);\n transition: color .3s var(--n-bezier);\n font-size: var(--n-avatar-size-override);\n "),cE("avatar","\n display: flex;\n margin: 0 6px 0 0;\n "),cE("close","\n margin: var(--n-close-margin);\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n "),cM("round","\n padding: 0 calc(var(--n-height) / 3);\n border-radius: calc(var(--n-height) / 2);\n ",[cE("icon","\n margin: 0 4px 0 calc((var(--n-height) - 8px) / -2);\n "),cE("avatar","\n margin: 0 6px 0 calc((var(--n-height) - 8px) / -2);\n "),cM("closable","\n padding: 0 calc(var(--n-height) / 4) 0 calc(var(--n-height) / 3);\n ")]),cM("icon, avatar",[cM("round","\n padding: 0 calc(var(--n-height) / 3) 0 calc(var(--n-height) / 2);\n ")]),cM("disabled","\n cursor: not-allowed !important;\n opacity: var(--n-opacity-disabled);\n "),cM("checkable","\n cursor: pointer;\n box-shadow: none;\n color: var(--n-text-color-checkable);\n background-color: var(--n-color-checkable);\n ",[cNotM("disabled",[c$3("&:hover","background-color: var(--n-color-hover-checkable);",[cNotM("checked","color: var(--n-text-color-hover-checkable);")]),c$3("&:active","background-color: var(--n-color-pressed-checkable);",[cNotM("checked","color: var(--n-text-color-pressed-checkable);")])]),cM("checked","\n color: var(--n-text-color-checked);\n background-color: var(--n-color-checked);\n ",[cNotM("disabled",[c$3("&:hover","background-color: var(--n-color-checked-hover);"),c$3("&:active","background-color: var(--n-color-checked-pressed);")])])])]),tagProps=Object.assign(Object.assign(Object.assign({},useTheme.props),commonProps),{bordered:{type:Boolean,default:void 0},checked:Boolean,checkable:Boolean,strong:Boolean,triggerClickOnClose:Boolean,onClose:[Array,Function],onMouseenter:Function,onMouseleave:Function,"onUpdate:checked":Function,onUpdateChecked:Function,internalCloseFocusable:{type:Boolean,default:!0},internalCloseIsButtonTag:{type:Boolean,default:!0},onCheckedChange:Function}),tagInjectionKey=createInjectionKey("n-tag"),NTag=defineComponent({name:"Tag",props:tagProps,setup:function(e){var t=ref(null),r=useConfig(e),n=r.mergedBorderedRef,o=r.mergedClsPrefixRef,a=r.inlineThemeDisabled,i=r.mergedRtlRef,s=useTheme("Tag","-tag",style$n,tagLight$1,e,o);provide(tagInjectionKey,{roundRef:toRef(e,"round")});var l={setTextContent:function(e){var r=t.value;r&&(r.textContent=e)}},c=useRtl("Tag",i,o),u=computed((function(){var t=e.type,r=e.size,o=e.color,a=void 0===o?{}:o,i=a.color,l=a.textColor,c=s.value,u=c.common.cubicBezierEaseInOut,d=c.self,p=d.padding,f=d.closeMargin,h=d.closeMarginRtl,v=d.borderRadius,g=d.opacityDisabled,m=d.textColorCheckable,b=d.textColorHoverCheckable,A=d.textColorPressedCheckable,y=d.textColorChecked,x=d.colorCheckable,w=d.colorHoverCheckable,C=d.colorPressedCheckable,k=d.colorChecked,_=d.colorCheckedHover,S=d.colorCheckedPressed,B=d.closeBorderRadius,E=d.fontWeightStrong,T=d[createKey("colorBordered",t)],P=d[createKey("closeSize",r)],I=d[createKey("closeIconSize",r)],N=d[createKey("fontSize",r)],z=d[createKey("height",r)],M=d[createKey("color",t)],R=d[createKey("textColor",t)],D=d[createKey("border",t)],O=d[createKey("closeIconColor",t)],F=d[createKey("closeIconColorHover",t)],L=d[createKey("closeIconColorPressed",t)],j=d[createKey("closeColorHover",t)],V=d[createKey("closeColorPressed",t)];return{"--n-font-weight-strong":E,"--n-avatar-size-override":"calc(".concat(z," - 8px)"),"--n-bezier":u,"--n-border-radius":v,"--n-border":D,"--n-close-icon-size":I,"--n-close-color-pressed":V,"--n-close-color-hover":j,"--n-close-border-radius":B,"--n-close-icon-color":O,"--n-close-icon-color-hover":F,"--n-close-icon-color-pressed":L,"--n-close-icon-color-disabled":O,"--n-close-margin":f,"--n-close-margin-rtl":h,"--n-close-size":P,"--n-color":i||(n.value?T:M),"--n-color-checkable":x,"--n-color-checked":k,"--n-color-checked-hover":_,"--n-color-checked-pressed":S,"--n-color-hover-checkable":w,"--n-color-pressed-checkable":C,"--n-font-size":N,"--n-height":z,"--n-opacity-disabled":g,"--n-padding":p,"--n-text-color":l||R,"--n-text-color-checkable":m,"--n-text-color-checked":y,"--n-text-color-hover-checkable":b,"--n-text-color-pressed-checkable":A}})),d=a?useThemeClass("tag",computed((function(){var t="",r=e.type,o=e.size,a=e.color,i=void 0===a?{}:a,s=i.color,l=i.textColor;return t+=r[0],t+=o[0],s&&(t+="a".concat(color2Class(s))),l&&(t+="b".concat(color2Class(l))),n.value&&(t+="c"),t})),u,e):void 0;return Object.assign(Object.assign({},l),{rtlEnabled:c,mergedClsPrefix:o,contentRef:t,mergedBordered:n,handleClick:function(t){if(!e.disabled&&e.checkable){var r=e.checked,n=e.onCheckedChange,o=e.onUpdateChecked,a=e["onUpdate:checked"];o&&o(!r),a&&a(!r),n&&n(!r)}},handleCloseClick:function(t){if(e.triggerClickOnClose||t.stopPropagation(),!e.disabled){var r=e.onClose;r&&call$1(r,t)}},cssVars:a?void 0:u,themeClass:null==d?void 0:d.themeClass,onRender:null==d?void 0:d.onRender})},render:function(){var e,t,r,n=this.mergedClsPrefix,o=this.rtlEnabled,a=this.closable,i=this.color,s=(void 0===i?{}:i).borderColor,l=this.round,c=this.onRender,u=this.$slots;null==c||c();var d=resolveWrappedSlot(u.avatar,(function(e){return e&&h$1("div",{class:"".concat(n,"-tag__avatar")},e)})),p=resolveWrappedSlot(u.icon,(function(e){return e&&h$1("div",{class:"".concat(n,"-tag__icon")},e)}));return h$1("div",{class:["".concat(n,"-tag"),this.themeClass,(e={},_defineProperty2(e,"".concat(n,"-tag--rtl"),o),_defineProperty2(e,"".concat(n,"-tag--strong"),this.strong),_defineProperty2(e,"".concat(n,"-tag--disabled"),this.disabled),_defineProperty2(e,"".concat(n,"-tag--checkable"),this.checkable),_defineProperty2(e,"".concat(n,"-tag--checked"),this.checkable&&this.checked),_defineProperty2(e,"".concat(n,"-tag--round"),l),_defineProperty2(e,"".concat(n,"-tag--avatar"),d),_defineProperty2(e,"".concat(n,"-tag--icon"),p),_defineProperty2(e,"".concat(n,"-tag--closable"),a),e)],style:this.cssVars,onClick:this.handleClick,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},p||d,h$1("span",{class:"".concat(n,"-tag__content"),ref:"contentRef"},null===(r=(t=this.$slots).default)||void 0===r?void 0:r.call(t)),!this.checkable&&a?h$1(NBaseClose,{clsPrefix:n,class:"".concat(n,"-tag__close"),disabled:this.disabled,onClick:this.handleCloseClick,focusable:this.internalCloseFocusable,round:l,isButtonTag:this.internalCloseIsButtonTag,absolute:!0}):null,!this.checkable&&this.mergedBordered?h$1("div",{class:"".concat(n,"-tag__border"),style:{borderColor:s}}):null)}}),style$m=cB("base-clear","\n flex-shrink: 0;\n height: 1em;\n width: 1em;\n position: relative;\n",[c$3(">",[cE("clear","\n font-size: var(--n-clear-size);\n height: 1em;\n width: 1em;\n cursor: pointer;\n color: var(--n-clear-color);\n transition: color .3s var(--n-bezier);\n display: flex;\n ",[c$3("&:hover","\n color: var(--n-clear-color-hover)!important;\n "),c$3("&:active","\n color: var(--n-clear-color-pressed)!important;\n ")]),cE("placeholder","\n display: flex;\n "),cE("clear, placeholder","\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n ",[iconSwitchTransition({originalTransform:"translateX(-50%) translateY(-50%)",left:"50%",top:"50%"})])])]),NBaseClear=defineComponent({name:"BaseClear",props:{clsPrefix:{type:String,required:!0},show:Boolean,onClear:Function},setup:function(e){return useStyle("-base-clear",style$m,toRef(e,"clsPrefix")),{handleMouseDown:function(e){e.preventDefault()}}},render:function(){var e=this,t=this.clsPrefix;return h$1("div",{class:"".concat(t,"-base-clear")},h$1(NIconSwitchTransition,null,{default:function(){var r,n;return e.show?h$1("div",{key:"dismiss",class:"".concat(t,"-base-clear__clear"),onClick:e.onClear,onMousedown:e.handleMouseDown,"data-clear":!0},resolveSlot(e.$slots.icon,(function(){return[h$1(NBaseIcon,{clsPrefix:t},{default:function(){return h$1(ClearIcon,null)}})]}))):h$1("div",{key:"icon",class:"".concat(t,"-base-clear__placeholder")},null===(n=(r=e.$slots).placeholder)||void 0===n?void 0:n.call(r))}}))}}),NBaseSuffix=defineComponent({name:"InternalSelectionSuffix",props:{clsPrefix:{type:String,required:!0},showArrow:{type:Boolean,default:void 0},showClear:{type:Boolean,default:void 0},loading:{type:Boolean,default:!1},onClear:Function},setup:function(e,t){var r=t.slots;return function(){var t=e.clsPrefix;return h$1(NBaseLoading,{clsPrefix:t,class:"".concat(t,"-base-suffix"),strokeWidth:24,scale:.85,show:e.loading},{default:function(){return e.showArrow?h$1(NBaseClear,{clsPrefix:t,show:e.showClear,onClear:e.onClear},{placeholder:function(){return h$1(NBaseIcon,{clsPrefix:t,class:"".concat(t,"-base-suffix__arrow")},{default:function(){return resolveSlot(r.default,(function(){return[h$1(ChevronDownIcon,null)]}))}})}}):null}})}}}),commonVars$b={paddingSingle:"0 26px 0 12px",paddingMultiple:"3px 26px 0 12px",clearSize:"16px",arrowSize:"16px"},self$P=function(e){var t=e.borderRadius,r=e.textColor2,n=e.textColorDisabled,o=e.inputColor,a=e.inputColorDisabled,i=e.primaryColor,s=e.primaryColorHover,l=e.warningColor,c=e.warningColorHover,u=e.errorColor,d=e.errorColorHover,p=e.borderColor,f=e.iconColor,h=e.iconColorDisabled,v=e.clearColor,g=e.clearColorHover,m=e.clearColorPressed,b=e.placeholderColor,A=e.placeholderColorDisabled,y=e.fontSizeTiny,x=e.fontSizeSmall,w=e.fontSizeMedium,C=e.fontSizeLarge,k=e.heightTiny,_=e.heightSmall,S=e.heightMedium,B=e.heightLarge;return Object.assign(Object.assign({},commonVars$b),{fontSizeTiny:y,fontSizeSmall:x,fontSizeMedium:w,fontSizeLarge:C,heightTiny:k,heightSmall:_,heightMedium:S,heightLarge:B,borderRadius:t,textColor:r,textColorDisabled:n,placeholderColor:b,placeholderColorDisabled:A,color:o,colorDisabled:a,colorActive:o,border:"1px solid ".concat(p),borderHover:"1px solid ".concat(s),borderActive:"1px solid ".concat(i),borderFocus:"1px solid ".concat(s),boxShadowHover:"none",boxShadowActive:"0 0 0 2px ".concat(changeColor(i,{alpha:.2})),boxShadowFocus:"0 0 0 2px ".concat(changeColor(i,{alpha:.2})),caretColor:i,arrowColor:f,arrowColorDisabled:h,loadingColor:i,borderWarning:"1px solid ".concat(l),borderHoverWarning:"1px solid ".concat(c),borderActiveWarning:"1px solid ".concat(l),borderFocusWarning:"1px solid ".concat(c),boxShadowHoverWarning:"none",boxShadowActiveWarning:"0 0 0 2px ".concat(changeColor(l,{alpha:.2})),boxShadowFocusWarning:"0 0 0 2px ".concat(changeColor(l,{alpha:.2})),colorActiveWarning:o,caretColorWarning:l,borderError:"1px solid ".concat(u),borderHoverError:"1px solid ".concat(d),borderActiveError:"1px solid ".concat(u),borderFocusError:"1px solid ".concat(d),boxShadowHoverError:"none",boxShadowActiveError:"0 0 0 2px ".concat(changeColor(u,{alpha:.2})),boxShadowFocusError:"0 0 0 2px ".concat(changeColor(u,{alpha:.2})),colorActiveError:o,caretColorError:u,clearColor:v,clearColorHover:g,clearColorPressed:m})},internalSelectionLight=createTheme({name:"InternalSelection",common:commonLight,peers:{Popover:popoverLight$1},self:self$P}),internalSelectionLight$1=internalSelectionLight,internalSelectionDark={name:"InternalSelection",common:commonDark,peers:{Popover:popoverDark$1},self:function(e){var t=e.borderRadius,r=e.textColor2,n=e.textColorDisabled,o=e.inputColor,a=e.inputColorDisabled,i=e.primaryColor,s=e.primaryColorHover,l=e.warningColor,c=e.warningColorHover,u=e.errorColor,d=e.errorColorHover,p=e.iconColor,f=e.iconColorDisabled,h=e.clearColor,v=e.clearColorHover,g=e.clearColorPressed,m=e.placeholderColor,b=e.placeholderColorDisabled,A=e.fontSizeTiny,y=e.fontSizeSmall,x=e.fontSizeMedium,w=e.fontSizeLarge,C=e.heightTiny,k=e.heightSmall,_=e.heightMedium,S=e.heightLarge;return Object.assign(Object.assign({},commonVars$b),{fontSizeTiny:A,fontSizeSmall:y,fontSizeMedium:x,fontSizeLarge:w,heightTiny:C,heightSmall:k,heightMedium:_,heightLarge:S,borderRadius:t,textColor:r,textColorDisabled:n,placeholderColor:m,placeholderColorDisabled:b,color:o,colorDisabled:a,colorActive:changeColor(i,{alpha:.1}),border:"1px solid #0000",borderHover:"1px solid ".concat(s),borderActive:"1px solid ".concat(i),borderFocus:"1px solid ".concat(s),boxShadowHover:"none",boxShadowActive:"0 0 8px 0 ".concat(changeColor(i,{alpha:.4})),boxShadowFocus:"0 0 8px 0 ".concat(changeColor(i,{alpha:.4})),caretColor:i,arrowColor:p,arrowColorDisabled:f,loadingColor:i,borderWarning:"1px solid ".concat(l),borderHoverWarning:"1px solid ".concat(c),borderActiveWarning:"1px solid ".concat(l),borderFocusWarning:"1px solid ".concat(c),boxShadowHoverWarning:"none",boxShadowActiveWarning:"0 0 8px 0 ".concat(changeColor(l,{alpha:.4})),boxShadowFocusWarning:"0 0 8px 0 ".concat(changeColor(l,{alpha:.4})),colorActiveWarning:changeColor(l,{alpha:.1}),caretColorWarning:l,borderError:"1px solid ".concat(u),borderHoverError:"1px solid ".concat(d),borderActiveError:"1px solid ".concat(u),borderFocusError:"1px solid ".concat(d),boxShadowHoverError:"none",boxShadowActiveError:"0 0 8px 0 ".concat(changeColor(u,{alpha:.4})),boxShadowFocusError:"0 0 8px 0 ".concat(changeColor(u,{alpha:.4})),colorActiveError:changeColor(u,{alpha:.1}),caretColorError:u,clearColor:h,clearColorHover:v,clearColorPressed:g})}},internalSelectionDark$1=internalSelectionDark,style$l=c$3([cB("base-selection","\n position: relative;\n z-index: auto;\n box-shadow: none;\n width: 100%;\n max-width: 100%;\n display: inline-block;\n vertical-align: bottom;\n border-radius: var(--n-border-radius);\n min-height: var(--n-height);\n line-height: 1.5;\n font-size: var(--n-font-size);\n ",[cB("base-loading","\n color: var(--n-loading-color);\n "),cB("base-selection-tags","min-height: var(--n-height);"),cE("border, state-border","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n pointer-events: none;\n border: var(--n-border);\n border-radius: inherit;\n transition:\n box-shadow .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n "),cE("state-border","\n z-index: 1;\n border-color: #0000;\n "),cB("base-suffix","\n cursor: pointer;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n right: 10px;\n ",[cE("arrow","\n font-size: var(--n-arrow-size);\n color: var(--n-arrow-color);\n transition: color .3s var(--n-bezier);\n ")]),cB("base-selection-overlay","\n display: flex;\n align-items: center;\n white-space: nowrap;\n pointer-events: none;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n padding: var(--n-padding-single);\n transition: color .3s var(--n-bezier);\n ",[cE("wrapper","\n flex-basis: 0;\n flex-grow: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n ")]),cB("base-selection-placeholder","\n color: var(--n-placeholder-color);\n ",[cE("inner","\n max-width: 100%;\n overflow: hidden;\n ")]),cB("base-selection-tags","\n cursor: pointer;\n outline: none;\n box-sizing: border-box;\n position: relative;\n z-index: auto;\n display: flex;\n padding: var(--n-padding-multiple);\n flex-wrap: wrap;\n align-items: center;\n width: 100%;\n vertical-align: bottom;\n background-color: var(--n-color);\n border-radius: inherit;\n transition:\n color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n "),cB("base-selection-label","\n height: var(--n-height);\n display: inline-flex;\n width: 100%;\n vertical-align: bottom;\n cursor: pointer;\n outline: none;\n z-index: auto;\n box-sizing: border-box;\n position: relative;\n transition:\n color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n border-radius: inherit;\n background-color: var(--n-color);\n align-items: center;\n ",[cB("base-selection-input","\n font-size: inherit;\n line-height: inherit;\n outline: none;\n cursor: pointer;\n box-sizing: border-box;\n border:none;\n width: 100%;\n padding: var(--n-padding-single);\n background-color: #0000;\n color: var(--n-text-color);\n transition: color .3s var(--n-bezier);\n caret-color: var(--n-caret-color);\n ",[cE("content","\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap; \n ")]),cE("render-label","\n color: var(--n-text-color);\n ")]),cNotM("disabled",[c$3("&:hover",[cE("state-border","\n box-shadow: var(--n-box-shadow-hover);\n border: var(--n-border-hover);\n ")]),cM("focus",[cE("state-border","\n box-shadow: var(--n-box-shadow-focus);\n border: var(--n-border-focus);\n ")]),cM("active",[cE("state-border","\n box-shadow: var(--n-box-shadow-active);\n border: var(--n-border-active);\n "),cB("base-selection-label","background-color: var(--n-color-active);"),cB("base-selection-tags","background-color: var(--n-color-active);")])]),cM("disabled","cursor: not-allowed;",[cE("arrow","\n color: var(--n-arrow-color-disabled);\n "),cB("base-selection-label","\n cursor: not-allowed;\n background-color: var(--n-color-disabled);\n ",[cB("base-selection-input","\n cursor: not-allowed;\n color: var(--n-text-color-disabled);\n "),cE("render-label","\n color: var(--n-text-color-disabled);\n ")]),cB("base-selection-tags","\n cursor: not-allowed;\n background-color: var(--n-color-disabled);\n "),cB("base-selection-placeholder","\n cursor: not-allowed;\n color: var(--n-placeholder-color-disabled);\n ")]),cB("base-selection-input-tag","\n height: calc(var(--n-height) - 6px);\n line-height: calc(var(--n-height) - 6px);\n outline: none;\n display: none;\n position: relative;\n margin-bottom: 3px;\n max-width: 100%;\n vertical-align: bottom;\n ",[cE("input","\n font-size: inherit;\n font-family: inherit;\n min-width: 1px;\n padding: 0;\n background-color: #0000;\n outline: none;\n border: none;\n max-width: 100%;\n overflow: hidden;\n width: 1em;\n line-height: inherit;\n cursor: pointer;\n color: var(--n-text-color);\n caret-color: var(--n-caret-color);\n "),cE("mirror","\n position: absolute;\n left: 0;\n top: 0;\n white-space: pre;\n visibility: hidden;\n user-select: none;\n -webkit-user-select: none;\n opacity: 0;\n ")]),["warning","error"].map((function(e){return cM("".concat(e,"-status"),[cE("state-border","border: var(--n-border-".concat(e,");")),cNotM("disabled",[c$3("&:hover",[cE("state-border","\n box-shadow: var(--n-box-shadow-hover-".concat(e,");\n border: var(--n-border-hover-").concat(e,");\n "))]),cM("active",[cE("state-border","\n box-shadow: var(--n-box-shadow-active-".concat(e,");\n border: var(--n-border-active-").concat(e,");\n ")),cB("base-selection-label","background-color: var(--n-color-active-".concat(e,");")),cB("base-selection-tags","background-color: var(--n-color-active-".concat(e,");"))]),cM("focus",[cE("state-border","\n box-shadow: var(--n-box-shadow-focus-".concat(e,");\n border: var(--n-border-focus-").concat(e,");\n "))])])])}))]),cB("base-selection-popover","\n margin-bottom: -3px;\n display: flex;\n flex-wrap: wrap;\n margin-right: -8px;\n "),cB("base-selection-tag-wrapper","\n max-width: 100%;\n display: inline-flex;\n padding: 0 7px 3px 0;\n ",[c$3("&:last-child","padding-right: 0;"),cB("tag","\n font-size: 14px;\n max-width: 100%;\n ",[cE("content","\n line-height: 1.25;\n text-overflow: ellipsis;\n overflow: hidden;\n ")])])]),NInternalSelection=defineComponent({name:"InternalSelection",props:Object.assign(Object.assign({},useTheme.props),{clsPrefix:{type:String,required:!0},bordered:{type:Boolean,default:void 0},active:Boolean,pattern:{type:String,default:""},placeholder:String,selectedOption:{type:Object,default:null},selectedOptions:{type:Array,default:null},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},multiple:Boolean,filterable:Boolean,clearable:Boolean,disabled:Boolean,size:{type:String,default:"medium"},loading:Boolean,autofocus:Boolean,showArrow:{type:Boolean,default:!0},inputProps:Object,focused:Boolean,renderTag:Function,onKeydown:Function,onClick:Function,onBlur:Function,onFocus:Function,onDeleteOption:Function,maxTagCount:[String,Number],onClear:Function,onPatternInput:Function,onPatternFocus:Function,onPatternBlur:Function,renderLabel:Function,status:String,inlineThemeDisabled:Boolean,ignoreComposition:{type:Boolean,default:!0},onResize:Function}),setup:function(e){var t=ref(null),r=ref(null),n=ref(null),o=ref(null),a=ref(null),i=ref(null),s=ref(null),l=ref(null),c=ref(null),u=ref(null),d=ref(!1),p=ref(!1),f=ref(!1),h=useTheme("InternalSelection","-internal-selection",style$l,internalSelectionLight$1,e,toRef(e,"clsPrefix")),v=computed((function(){return e.clearable&&!e.disabled&&(f.value||e.active)})),g=computed((function(){return e.selectedOption?e.renderTag?e.renderTag({option:e.selectedOption,handleClose:function(){}}):e.renderLabel?e.renderLabel(e.selectedOption,!0):render$1(e.selectedOption[e.labelField],e.selectedOption,!0):e.placeholder})),m=computed((function(){var t=e.selectedOption;if(t)return t[e.labelField]})),b=computed((function(){return e.multiple?!(!Array.isArray(e.selectedOptions)||!e.selectedOptions.length):null!==e.selectedOption}));function A(){var n,o=t.value;if(o){var a=r.value;a&&(a.style.width="".concat(o.offsetWidth,"px"),"responsive"!==e.maxTagCount&&(null===(n=c.value)||void 0===n||n.sync()))}}function y(t){var r=e.onPatternInput;r&&r(t)}function x(t){!function(t){var r=e.onDeleteOption;r&&r(t)}(t)}watch(toRef(e,"active"),(function(e){var t;e||(t=u.value)&&(t.style.display="none")})),watch(toRef(e,"pattern"),(function(){e.multiple&&nextTick(A)}));var w=ref(!1),C=null;var k=null;function _(){null!==k&&window.clearTimeout(k)}watch(b,(function(e){e||(d.value=!1)})),onMounted((function(){watchEffect((function(){var t=i.value;t&&(t.tabIndex=e.disabled||p.value?-1:0)}))})),useOnResize(n,e.onResize);var S=e.inlineThemeDisabled,B=computed((function(){var t=e.size,r=h.value,n=r.common.cubicBezierEaseInOut,o=r.self,a=o.borderRadius,i=o.color,s=o.placeholderColor,l=o.textColor,c=o.paddingSingle,u=o.paddingMultiple,d=o.caretColor,p=o.colorDisabled,f=o.textColorDisabled,v=o.placeholderColorDisabled,g=o.colorActive,m=o.boxShadowFocus,b=o.boxShadowActive,A=o.boxShadowHover,y=o.border,x=o.borderFocus,w=o.borderHover,C=o.borderActive,k=o.arrowColor,_=o.arrowColorDisabled,S=o.loadingColor,B=o.colorActiveWarning,E=o.boxShadowFocusWarning,T=o.boxShadowActiveWarning,P=o.boxShadowHoverWarning,I=o.borderWarning,N=o.borderFocusWarning,z=o.borderHoverWarning,M=o.borderActiveWarning,R=o.colorActiveError,D=o.boxShadowFocusError,O=o.boxShadowActiveError,F=o.boxShadowHoverError,L=o.borderError,j=o.borderFocusError,V=o.borderHoverError,$=o.borderActiveError,H=o.clearColor,U=o.clearColorHover,Q=o.clearColorPressed,G=o.clearSize,K=o.arrowSize,q=o[createKey("height",t)];return{"--n-bezier":n,"--n-border":y,"--n-border-active":C,"--n-border-focus":x,"--n-border-hover":w,"--n-border-radius":a,"--n-box-shadow-active":b,"--n-box-shadow-focus":m,"--n-box-shadow-hover":A,"--n-caret-color":d,"--n-color":i,"--n-color-active":g,"--n-color-disabled":p,"--n-font-size":o[createKey("fontSize",t)],"--n-height":q,"--n-padding-single":c,"--n-padding-multiple":u,"--n-placeholder-color":s,"--n-placeholder-color-disabled":v,"--n-text-color":l,"--n-text-color-disabled":f,"--n-arrow-color":k,"--n-arrow-color-disabled":_,"--n-loading-color":S,"--n-color-active-warning":B,"--n-box-shadow-focus-warning":E,"--n-box-shadow-active-warning":T,"--n-box-shadow-hover-warning":P,"--n-border-warning":I,"--n-border-focus-warning":N,"--n-border-hover-warning":z,"--n-border-active-warning":M,"--n-color-active-error":R,"--n-box-shadow-focus-error":D,"--n-box-shadow-active-error":O,"--n-box-shadow-hover-error":F,"--n-border-error":L,"--n-border-focus-error":j,"--n-border-hover-error":V,"--n-border-active-error":$,"--n-clear-size":G,"--n-clear-color":H,"--n-clear-color-hover":U,"--n-clear-color-pressed":Q,"--n-arrow-size":K}})),E=S?useThemeClass("internal-selection",computed((function(){return e.size[0]})),B,e):void 0;return{mergedTheme:h,mergedClearable:v,patternInputFocused:p,filterablePlaceholder:g,label:m,selected:b,showTagsPanel:d,isComposing:w,counterRef:s,counterWrapperRef:l,patternInputMirrorRef:t,patternInputRef:r,selfRef:n,multipleElRef:o,singleElRef:a,patternInputWrapperRef:i,overflowRef:c,inputTagElRef:u,handleMouseDown:function(t){e.active&&e.filterable&&t.target!==r.value&&t.preventDefault()},handleFocusin:function(t){var r;t.relatedTarget&&(null===(r=n.value)||void 0===r?void 0:r.contains(t.relatedTarget))||function(t){var r=e.onFocus;r&&r(t)}(t)},handleClear:function(t){!function(t){var r=e.onClear;r&&r(t)}(t)},handleMouseEnter:function(){f.value=!0},handleMouseLeave:function(){f.value=!1},handleDeleteOption:x,handlePatternKeyDown:function(t){if("Backspace"===t.key&&!w.value&&!e.pattern.length){var r=e.selectedOptions;(null==r?void 0:r.length)&&x(r[r.length-1])}},handlePatternInputInput:function(r){var n=t.value;if(n){var o=r.target.value;n.textContent=o,A()}e.ignoreComposition&&w.value?C=r:y(r)},handlePatternInputBlur:function(t){var r;p.value=!1,null===(r=e.onPatternBlur)||void 0===r||r.call(e,t)},handlePatternInputFocus:function(t){var r;p.value=!0,null===(r=e.onPatternFocus)||void 0===r||r.call(e,t)},handleMouseEnterCounter:function(){e.disabled||e.active||(_(),k=window.setTimeout((function(){b.value&&(d.value=!0)}),100))},handleMouseLeaveCounter:function(){_()},handleFocusout:function(t){var r;(null===(r=n.value)||void 0===r?void 0:r.contains(t.relatedTarget))||function(t){var r=e.onBlur;r&&r(t)}(t)},handleCompositionEnd:function(){w.value=!1,e.ignoreComposition&&y(C),C=null},handleCompositionStart:function(){w.value=!0},onPopoverUpdateShow:function(e){e||(_(),d.value=!1)},focus:function(){var t,r,n;e.filterable?(p.value=!1,null===(t=i.value)||void 0===t||t.focus()):e.multiple?null===(r=o.value)||void 0===r||r.focus():null===(n=a.value)||void 0===n||n.focus()},focusInput:function(){var e,t=r.value;t&&((e=u.value)&&(e.style.display="inline-block"),t.focus())},blur:function(){var t,n;if(e.filterable)p.value=!1,null===(t=i.value)||void 0===t||t.blur(),null===(n=r.value)||void 0===n||n.blur();else if(e.multiple){var s=o.value;null==s||s.blur()}else{var l=a.value;null==l||l.blur()}},blurInput:function(){var e=r.value;e&&e.blur()},updateCounter:function(e){var t=s.value;t&&t.setTextContent("+".concat(e))},getCounter:function(){return l.value},getTail:function(){return r.value},renderLabel:e.renderLabel,cssVars:S?void 0:B,themeClass:null==E?void 0:E.themeClass,onRender:null==E?void 0:E.onRender}},render:function(){var e,t=this,r=this.status,n=this.multiple,o=this.size,a=this.disabled,i=this.filterable,s=this.maxTagCount,l=this.bordered,c=this.clsPrefix,u=this.onRender,d=this.renderTag,p=this.renderLabel;null==u||u();var f,h="responsive"===s,v="number"==typeof s,g=h||v,m=h$1(Wrapper,null,{default:function(){return h$1(NBaseSuffix,{clsPrefix:c,loading:t.loading,showArrow:t.showArrow,showClear:t.mergedClearable&&t.selected,onClear:t.handleClear},{default:function(){var e,r;return null===(r=(e=t.$slots).arrow)||void 0===r?void 0:r.call(e)}})}});if(n){var b,A=this.labelField,y=function(e){return h$1("div",{class:"".concat(c,"-base-selection-tag-wrapper"),key:e.value},d?d({option:e,handleClose:function(){t.handleDeleteOption(e)}}):h$1(NTag,{size:o,closable:!e.disabled,disabled:a,onClose:function(){t.handleDeleteOption(e)},internalCloseIsButtonTag:!1,internalCloseFocusable:!1},{default:function(){return p?p(e,!0):render$1(e[A],e,!0)}}))},x=function(){return(v?t.selectedOptions.slice(0,s):t.selectedOptions).map(y)},w=i?h$1("div",{class:"".concat(c,"-base-selection-input-tag"),ref:"inputTagElRef",key:"__input-tag__"},h$1("input",Object.assign({},this.inputProps,{ref:"patternInputRef",tabindex:-1,disabled:a,value:this.pattern,autofocus:this.autofocus,class:"".concat(c,"-base-selection-input-tag__input"),onBlur:this.handlePatternInputBlur,onFocus:this.handlePatternInputFocus,onKeydown:this.handlePatternKeyDown,onInput:this.handlePatternInputInput,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd})),h$1("span",{ref:"patternInputMirrorRef",class:"".concat(c,"-base-selection-input-tag__mirror")},this.pattern)):null,C=h?function(){return h$1("div",{class:"".concat(c,"-base-selection-tag-wrapper"),ref:"counterWrapperRef"},h$1(NTag,{size:o,ref:"counterRef",onMouseenter:t.handleMouseEnterCounter,onMouseleave:t.handleMouseLeaveCounter,disabled:a}))}:void 0;if(v){var k=this.selectedOptions.length-s;k>0&&(b=h$1("div",{class:"".concat(c,"-base-selection-tag-wrapper"),key:"__counter__"},h$1(NTag,{size:o,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,disabled:a},{default:function(){return"+".concat(k)}})))}var _=h?i?h$1(VOverflow,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,getTail:this.getTail,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:x,counter:C,tail:function(){return w}}):h$1(VOverflow,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:x,counter:C}):v?x().concat(b):x(),S=g?function(){return h$1("div",{class:"".concat(c,"-base-selection-popover")},h?x():t.selectedOptions.map(y))}:void 0,B=g?{show:this.showTagsPanel,trigger:"hover",overlap:!0,placement:"top",width:"trigger",onUpdateShow:this.onPopoverUpdateShow,theme:this.mergedTheme.peers.Popover,themeOverrides:this.mergedTheme.peerOverrides.Popover}:null,E=!this.selected&&(!this.active||!this.pattern&&!this.isComposing)?h$1("div",{class:"".concat(c,"-base-selection-placeholder ").concat(c,"-base-selection-overlay")},h$1("div",{class:"".concat(c,"-base-selection-placeholder__inner")},this.placeholder)):null,T=i?h$1("div",{ref:"patternInputWrapperRef",class:"".concat(c,"-base-selection-tags")},_,h?null:w,m):h$1("div",{ref:"multipleElRef",class:"".concat(c,"-base-selection-tags"),tabindex:a?void 0:0},_,m);f=h$1(Fragment,null,g?h$1(NPopover,Object.assign({},B,{scrollable:!0,style:"max-height: calc(var(--v-target-height) * 6.6);"}),{trigger:function(){return T},default:S}):T,E)}else if(i){var P=this.pattern||this.isComposing,I=this.active?!P:!this.selected,N=!this.active&&this.selected;f=h$1("div",{ref:"patternInputWrapperRef",class:"".concat(c,"-base-selection-label")},h$1("input",Object.assign({},this.inputProps,{ref:"patternInputRef",class:"".concat(c,"-base-selection-input"),value:this.active?this.pattern:"",placeholder:"",readonly:a,disabled:a,tabindex:-1,autofocus:this.autofocus,onFocus:this.handlePatternInputFocus,onBlur:this.handlePatternInputBlur,onInput:this.handlePatternInputInput,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd})),N?h$1("div",{class:"".concat(c,"-base-selection-label__render-label ").concat(c,"-base-selection-overlay"),key:"input"},h$1("div",{class:"".concat(c,"-base-selection-overlay__wrapper")},d?d({option:this.selectedOption,handleClose:function(){}}):p?p(this.selectedOption,!0):render$1(this.label,this.selectedOption,!0))):null,I?h$1("div",{class:"".concat(c,"-base-selection-placeholder ").concat(c,"-base-selection-overlay"),key:"placeholder"},h$1("div",{class:"".concat(c,"-base-selection-overlay__wrapper")},this.filterablePlaceholder)):null,m)}else f=h$1("div",{ref:"singleElRef",class:"".concat(c,"-base-selection-label"),tabindex:this.disabled?void 0:0},void 0!==this.label?h$1("div",{class:"".concat(c,"-base-selection-input"),title:getTitleAttribute(this.label),key:"input"},h$1("div",{class:"".concat(c,"-base-selection-input__content")},d?d({option:this.selectedOption,handleClose:function(){}}):p?p(this.selectedOption,!0):render$1(this.label,this.selectedOption,!0))):h$1("div",{class:"".concat(c,"-base-selection-placeholder ").concat(c,"-base-selection-overlay"),key:"placeholder"},h$1("div",{class:"".concat(c,"-base-selection-placeholder__inner")},this.placeholder)),m);return h$1("div",{ref:"selfRef",class:["".concat(c,"-base-selection"),this.themeClass,r&&"".concat(c,"-base-selection--").concat(r,"-status"),(e={},_defineProperty2(e,"".concat(c,"-base-selection--active"),this.active),_defineProperty2(e,"".concat(c,"-base-selection--selected"),this.selected||this.active&&this.pattern),_defineProperty2(e,"".concat(c,"-base-selection--disabled"),this.disabled),_defineProperty2(e,"".concat(c,"-base-selection--multiple"),this.multiple),_defineProperty2(e,"".concat(c,"-base-selection--focus"),this.focused),e)],style:this.cssVars,onClick:this.onClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onKeydown:this.onKeydown,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onMousedown:this.handleMouseDown},f,l?h$1("div",{class:"".concat(c,"-base-selection__border")}):null,l?h$1("div",{class:"".concat(c,"-base-selection__state-border")}):null)}}),cubicBezierEaseInOut$2=commonVariables$m.cubicBezierEaseInOut;function fadeInWidthExpandTransition(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.duration,r=void 0===t?".2s":t,n=e.delay,o=void 0===n?".1s":n;return[c$3("&.fade-in-width-expand-transition-leave-from, &.fade-in-width-expand-transition-enter-to",{opacity:1}),c$3("&.fade-in-width-expand-transition-leave-to, &.fade-in-width-expand-transition-enter-from","\n opacity: 0!important;\n margin-left: 0!important;\n margin-right: 0!important;\n "),c$3("&.fade-in-width-expand-transition-leave-active","\n overflow: hidden;\n transition:\n opacity ".concat(r," ").concat(cubicBezierEaseInOut$2,",\n max-width ").concat(r," ").concat(cubicBezierEaseInOut$2," ").concat(o,",\n margin-left ").concat(r," ").concat(cubicBezierEaseInOut$2," ").concat(o,",\n margin-right ").concat(r," ").concat(cubicBezierEaseInOut$2," ").concat(o,";\n ")),c$3("&.fade-in-width-expand-transition-enter-active","\n overflow: hidden;\n transition:\n opacity ".concat(r," ").concat(cubicBezierEaseInOut$2," ").concat(o,",\n max-width ").concat(r," ").concat(cubicBezierEaseInOut$2,",\n margin-left ").concat(r," ").concat(cubicBezierEaseInOut$2,",\n margin-right ").concat(r," ").concat(cubicBezierEaseInOut$2,";\n "))]}var commonVars$a={iconMargin:"11px 8px 0 12px",iconMarginRtl:"11px 12px 0 8px",iconSize:"24px",closeIconSize:"16px",closeSize:"20px",closeMargin:"13px 14px 0 0",closeMarginRtl:"13px 0 0 14px",padding:"13px"},alertDark={name:"Alert",common:commonDark,self:function(e){var t=e.lineHeight,r=e.borderRadius,n=e.fontWeightStrong,o=e.dividerColor,a=e.inputColor,i=e.textColor1,s=e.textColor2,l=e.closeColorHover,c=e.closeColorPressed,u=e.closeIconColor,d=e.closeIconColorHover,p=e.closeIconColorPressed,f=e.infoColorSuppl,h=e.successColorSuppl,v=e.warningColorSuppl,g=e.errorColorSuppl,m=e.fontSize;return Object.assign(Object.assign({},commonVars$a),{fontSize:m,lineHeight:t,titleFontWeight:n,borderRadius:r,border:"1px solid ".concat(o),color:a,titleTextColor:i,iconColor:s,contentTextColor:s,closeBorderRadius:r,closeColorHover:l,closeColorPressed:c,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:p,borderInfo:"1px solid ".concat(changeColor(f,{alpha:.35})),colorInfo:changeColor(f,{alpha:.25}),titleTextColorInfo:i,iconColorInfo:f,contentTextColorInfo:s,closeColorHoverInfo:l,closeColorPressedInfo:c,closeIconColorInfo:u,closeIconColorHoverInfo:d,closeIconColorPressedInfo:p,borderSuccess:"1px solid ".concat(changeColor(h,{alpha:.35})),colorSuccess:changeColor(h,{alpha:.25}),titleTextColorSuccess:i,iconColorSuccess:h,contentTextColorSuccess:s,closeColorHoverSuccess:l,closeColorPressedSuccess:c,closeIconColorSuccess:u,closeIconColorHoverSuccess:d,closeIconColorPressedSuccess:p,borderWarning:"1px solid ".concat(changeColor(v,{alpha:.35})),colorWarning:changeColor(v,{alpha:.25}),titleTextColorWarning:i,iconColorWarning:v,contentTextColorWarning:s,closeColorHoverWarning:l,closeColorPressedWarning:c,closeIconColorWarning:u,closeIconColorHoverWarning:d,closeIconColorPressedWarning:p,borderError:"1px solid ".concat(changeColor(g,{alpha:.35})),colorError:changeColor(g,{alpha:.25}),titleTextColorError:i,iconColorError:g,contentTextColorError:s,closeColorHoverError:l,closeColorPressedError:c,closeIconColorError:u,closeIconColorHoverError:d,closeIconColorPressedError:p})}},alertDark$1=alertDark,cubicBezierEaseInOut$1=commonVariables$m.cubicBezierEaseInOut,cubicBezierEaseOut=commonVariables$m.cubicBezierEaseOut,cubicBezierEaseIn=commonVariables$m.cubicBezierEaseIn;function fadeInHeightExpandTransition(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.overflow,r=void 0===t?"hidden":t,n=e.duration,o=void 0===n?".3s":n,a=e.originalTransition,i=void 0===a?"":a,s=e.leavingDelay,l=void 0===s?"0s":s,c=e.foldPadding,u=void 0!==c&&c,d=e.enterToProps,p=void 0===d?void 0:d,f=e.leaveToProps,h=void 0===f?void 0:f,v=e.reverse,g=void 0!==v&&v,m=g?"leave":"enter",b=g?"enter":"leave";return[c$3("&.fade-in-height-expand-transition-".concat(b,"-from,\n &.fade-in-height-expand-transition-").concat(m,"-to"),Object.assign(Object.assign({},p),{opacity:1})),c$3("&.fade-in-height-expand-transition-".concat(b,"-to,\n &.fade-in-height-expand-transition-").concat(m,"-from"),Object.assign(Object.assign({},h),{opacity:0,marginTop:"0 !important",marginBottom:"0 !important",paddingTop:u?"0 !important":void 0,paddingBottom:u?"0 !important":void 0})),c$3("&.fade-in-height-expand-transition-".concat(b,"-active"),"\n overflow: ".concat(r,";\n transition:\n max-height ").concat(o," ").concat(cubicBezierEaseInOut$1," ").concat(l,",\n opacity ").concat(o," ").concat(cubicBezierEaseOut," ").concat(l,",\n margin-top ").concat(o," ").concat(cubicBezierEaseInOut$1," ").concat(l,",\n margin-bottom ").concat(o," ").concat(cubicBezierEaseInOut$1," ").concat(l,",\n padding-top ").concat(o," ").concat(cubicBezierEaseInOut$1," ").concat(l,",\n padding-bottom ").concat(o," ").concat(cubicBezierEaseInOut$1," ").concat(l,"\n ").concat(i?","+i:"","\n ")),c$3("&.fade-in-height-expand-transition-".concat(m,"-active"),"\n overflow: ".concat(r,";\n transition:\n max-height ").concat(o," ").concat(cubicBezierEaseInOut$1,",\n opacity ").concat(o," ").concat(cubicBezierEaseIn,",\n margin-top ").concat(o," ").concat(cubicBezierEaseInOut$1,",\n margin-bottom ").concat(o," ").concat(cubicBezierEaseInOut$1,",\n padding-top ").concat(o," ").concat(cubicBezierEaseInOut$1,",\n padding-bottom ").concat(o," ").concat(cubicBezierEaseInOut$1,"\n ").concat(i?","+i:"","\n "))]}var commonVars$9={linkFontSize:"13px",linkPadding:"0 0 0 16px",railWidth:"4px"},self$O=function(e){var t=e.borderRadius,r=e.railColor,n=e.primaryColor,o=e.primaryColorHover,a=e.primaryColorPressed,i=e.textColor2;return Object.assign(Object.assign({},commonVars$9),{borderRadius:t,railColor:r,railColorActive:n,linkColor:changeColor(n,{alpha:.15}),linkTextColor:i,linkTextColorHover:o,linkTextColorPressed:a,linkTextColorActive:n})},anchorDark={name:"Anchor",common:commonDark,self:self$O},anchorDark$1=anchorDark;function getIsGroup(e){return"group"===e.type}function getIgnored(e){return"ignored"===e.type}function patternMatched(e,t){try{return!!(1+t.toString().toLowerCase().indexOf(e.trim().toLowerCase()))}catch(err){return!1}}function createTmOptions(e,t){var r={getIsGroup:getIsGroup,getIgnored:getIgnored,getKey:function(t){return getIsGroup(t)?t.name||t.key||"key-required":t[e]},getChildren:function(e){return e[t]}};return r}function filterOptions(e,t,r,n){if(!t)return e;return function e(o){if(!Array.isArray(o))return[];var a,i=[],s=_createForOfIteratorHelper(o);try{for(s.s();!(a=s.n()).done;){var l=a.value;if(getIsGroup(l)){var c=e(l[n]);c.length&&i.push(Object.assign({},l,_defineProperty2({},n,c)))}else{if(getIgnored(l))continue;t(r,l)&&i.push(l)}}}catch(err){s.e(err)}finally{s.f()}return i}(e)}function createValOptMap(e,t,r){var n=new Map;return e.forEach((function(e){getIsGroup(e)?e[r].forEach((function(e){n.set(e[t],e)})):n.set(e[t],e)})),n}var isChrome=isBrowser$2&&"chrome"in window;isBrowser$2&&navigator.userAgent.includes("Firefox");var isSafari=isBrowser$2&&navigator.userAgent.includes("Safari")&&!isChrome,commonVariables$i={paddingTiny:"0 8px",paddingSmall:"0 10px",paddingMedium:"0 12px",paddingLarge:"0 14px",clearSize:"16px"},inputDark={name:"Input",common:commonDark,self:function(e){var t=e.textColor2,r=e.textColor3,n=e.textColorDisabled,o=e.primaryColor,a=e.primaryColorHover,i=e.inputColor,s=e.inputColorDisabled,l=e.warningColor,c=e.warningColorHover,u=e.errorColor,d=e.errorColorHover,p=e.borderRadius,f=e.lineHeight,h=e.fontSizeTiny,v=e.fontSizeSmall,g=e.fontSizeMedium,m=e.fontSizeLarge,b=e.heightTiny,A=e.heightSmall,y=e.heightMedium,x=e.heightLarge,w=e.clearColor,C=e.clearColorHover,k=e.clearColorPressed,_=e.placeholderColor,S=e.placeholderColorDisabled,B=e.iconColor,E=e.iconColorDisabled,T=e.iconColorHover,P=e.iconColorPressed;return Object.assign(Object.assign({},commonVariables$i),{countTextColorDisabled:n,countTextColor:r,heightTiny:b,heightSmall:A,heightMedium:y,heightLarge:x,fontSizeTiny:h,fontSizeSmall:v,fontSizeMedium:g,fontSizeLarge:m,lineHeight:f,lineHeightTextarea:f,borderRadius:p,iconSize:"16px",groupLabelColor:i,textColor:t,textColorDisabled:n,textDecorationColor:t,groupLabelTextColor:t,caretColor:o,placeholderColor:_,placeholderColorDisabled:S,color:i,colorDisabled:s,colorFocus:changeColor(o,{alpha:.1}),groupLabelBorder:"1px solid #0000",border:"1px solid #0000",borderHover:"1px solid ".concat(a),borderDisabled:"1px solid #0000",borderFocus:"1px solid ".concat(a),boxShadowFocus:"0 0 8px 0 ".concat(changeColor(o,{alpha:.3})),loadingColor:o,loadingColorWarning:l,borderWarning:"1px solid ".concat(l),borderHoverWarning:"1px solid ".concat(c),colorFocusWarning:changeColor(l,{alpha:.1}),borderFocusWarning:"1px solid ".concat(c),boxShadowFocusWarning:"0 0 8px 0 ".concat(changeColor(l,{alpha:.3})),caretColorWarning:l,loadingColorError:u,borderError:"1px solid ".concat(u),borderHoverError:"1px solid ".concat(d),colorFocusError:changeColor(u,{alpha:.1}),borderFocusError:"1px solid ".concat(d),boxShadowFocusError:"0 0 8px 0 ".concat(changeColor(u,{alpha:.3})),caretColorError:u,clearColor:w,clearColorHover:C,clearColorPressed:k,iconColor:B,iconColorDisabled:E,iconColorHover:T,iconColorPressed:P,suffixTextColor:t})}},inputDark$1=inputDark,self$N=function(e){var t=e.textColor2,r=e.textColor3,n=e.textColorDisabled,o=e.primaryColor,a=e.primaryColorHover,i=e.inputColor,s=e.inputColorDisabled,l=e.borderColor,c=e.warningColor,u=e.warningColorHover,d=e.errorColor,p=e.errorColorHover,f=e.borderRadius,h=e.lineHeight,v=e.fontSizeTiny,g=e.fontSizeSmall,m=e.fontSizeMedium,b=e.fontSizeLarge,A=e.heightTiny,y=e.heightSmall,x=e.heightMedium,w=e.heightLarge,C=e.actionColor,k=e.clearColor,_=e.clearColorHover,S=e.clearColorPressed,B=e.placeholderColor,E=e.placeholderColorDisabled,T=e.iconColor,P=e.iconColorDisabled,I=e.iconColorHover,N=e.iconColorPressed;return Object.assign(Object.assign({},commonVariables$i),{countTextColorDisabled:n,countTextColor:r,heightTiny:A,heightSmall:y,heightMedium:x,heightLarge:w,fontSizeTiny:v,fontSizeSmall:g,fontSizeMedium:m,fontSizeLarge:b,lineHeight:h,lineHeightTextarea:h,borderRadius:f,iconSize:"16px",groupLabelColor:C,groupLabelTextColor:t,textColor:t,textColorDisabled:n,textDecorationColor:t,caretColor:o,placeholderColor:B,placeholderColorDisabled:E,color:i,colorDisabled:s,colorFocus:i,groupLabelBorder:"1px solid ".concat(l),border:"1px solid ".concat(l),borderHover:"1px solid ".concat(a),borderDisabled:"1px solid ".concat(l),borderFocus:"1px solid ".concat(a),boxShadowFocus:"0 0 0 2px ".concat(changeColor(o,{alpha:.2})),loadingColor:o,loadingColorWarning:c,borderWarning:"1px solid ".concat(c),borderHoverWarning:"1px solid ".concat(u),colorFocusWarning:i,borderFocusWarning:"1px solid ".concat(u),boxShadowFocusWarning:"0 0 0 2px ".concat(changeColor(c,{alpha:.2})),caretColorWarning:c,loadingColorError:d,borderError:"1px solid ".concat(d),borderHoverError:"1px solid ".concat(p),colorFocusError:i,borderFocusError:"1px solid ".concat(p),boxShadowFocusError:"0 0 0 2px ".concat(changeColor(d,{alpha:.2})),caretColorError:d,clearColor:k,clearColorHover:_,clearColorPressed:S,iconColor:T,iconColorDisabled:P,iconColorHover:I,iconColorPressed:N,suffixTextColor:t})},inputLight={name:"Input",common:commonLight,self:self$N},inputLight$1=inputLight,inputInjectionKey=createInjectionKey("n-input");function len(e){var t,r=0,n=_createForOfIteratorHelper(e);try{for(n.s();!(t=n.n()).done;){t.value;r++}}catch(err){n.e(err)}finally{n.f()}return r}function isEmptyInputValue(e){return""===e||null==e}function useCursor(e){var t=ref(null);function r(){t.value=null}return watch(e,r),{recordCursor:function(){var n=e.value;if(null==n?void 0:n.focus){var o=n.selectionStart,a=n.selectionEnd,i=n.value;null!=o&&null!=a?t.value={start:o,end:a,beforeText:i.slice(0,o),afterText:i.slice(a)}:r()}else r()},restoreCursor:function(){var r,n=t.value,o=e.value;if(n&&o){var a=o.value,i=n.start,s=n.beforeText,l=n.afterText,c=a.length;if(a.endsWith(l))c=a.length-l.length;else if(a.startsWith(s))c=s.length;else{var u=s[i-1],d=a.indexOf(u,i-1);-1!==d&&(c=d+1)}null===(r=o.setSelectionRange)||void 0===r||r.call(o,c,c)}}}}var WordCount=defineComponent({name:"InputWordCount",setup:function(e,t){var r=t.slots,n=inject(inputInjectionKey),o=n.mergedValueRef,a=n.maxlengthRef,i=n.mergedClsPrefixRef,s=n.countGraphemesRef,l=computed((function(){var e=o.value;return null===e||Array.isArray(e)?0:(s.value||len)(e)}));return function(){var e=a.value,t=o.value;return h$1("span",{class:"".concat(i.value,"-input-word-count")},resolveSlotWithProps(r.default,{value:null===t||Array.isArray(t)?"":t},(function(){return[void 0===e?l.value:"".concat(l.value," / ").concat(e)]})))}}}),style$k=cB("input","\n max-width: 100%;\n cursor: text;\n line-height: 1.5;\n z-index: auto;\n outline: none;\n box-sizing: border-box;\n position: relative;\n display: inline-flex;\n border-radius: var(--n-border-radius);\n background-color: var(--n-color);\n transition: background-color .3s var(--n-bezier);\n font-size: var(--n-font-size);\n --n-padding-vertical: calc((var(--n-height) - 1.5 * var(--n-font-size)) / 2);\n",[cE("input, textarea","\n overflow: hidden;\n flex-grow: 1;\n position: relative;\n "),cE("input-el, textarea-el, input-mirror, textarea-mirror, separator, placeholder","\n box-sizing: border-box;\n font-size: inherit;\n line-height: 1.5;\n font-family: inherit;\n border: none;\n outline: none;\n background-color: #0000;\n text-align: inherit;\n transition:\n -webkit-text-fill-color .3s var(--n-bezier),\n caret-color .3s var(--n-bezier),\n color .3s var(--n-bezier),\n text-decoration-color .3s var(--n-bezier);\n "),cE("input-el, textarea-el","\n -webkit-appearance: none;\n scrollbar-width: none;\n width: 100%;\n min-width: 0;\n text-decoration-color: var(--n-text-decoration-color);\n color: var(--n-text-color);\n caret-color: var(--n-caret-color);\n background-color: transparent;\n ",[c$3("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb","\n width: 0;\n height: 0;\n display: none;\n "),c$3("&::placeholder","\n color: #0000;\n -webkit-text-fill-color: transparent !important;\n "),c$3("&:-webkit-autofill ~",[cE("placeholder","display: none;")])]),cM("round",[cNotM("textarea","border-radius: calc(var(--n-height) / 2);")]),cE("placeholder","\n pointer-events: none;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n overflow: hidden;\n color: var(--n-placeholder-color);\n ",[c$3("span","\n width: 100%;\n display: inline-block;\n ")]),cM("textarea",[cE("placeholder","overflow: visible;")]),cNotM("autosize","width: 100%;"),cM("autosize",[cE("textarea-el, input-el","\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n ")]),cB("input-wrapper","\n overflow: hidden;\n display: inline-flex;\n flex-grow: 1;\n position: relative;\n padding-left: var(--n-padding-left);\n padding-right: var(--n-padding-right);\n "),cE("input-mirror","\n padding: 0;\n height: var(--n-height);\n line-height: var(--n-height);\n overflow: hidden;\n visibility: hidden;\n position: static;\n white-space: pre;\n pointer-events: none;\n "),cE("input-el","\n padding: 0;\n height: var(--n-height);\n line-height: var(--n-height);\n ",[c$3("+",[cE("placeholder","\n display: flex;\n align-items: center; \n ")])]),cNotM("textarea",[cE("placeholder","white-space: nowrap;")]),cE("eye","\n display: flex;\n align-items: center;\n justify-content: center;\n transition: color .3s var(--n-bezier);\n "),cM("textarea","width: 100%;",[cB("input-word-count","\n position: absolute;\n right: var(--n-padding-right);\n bottom: var(--n-padding-vertical);\n "),cM("resizable",[cB("input-wrapper","\n resize: vertical;\n min-height: var(--n-height);\n ")]),cE("textarea-el, textarea-mirror, placeholder","\n height: 100%;\n padding-left: 0;\n padding-right: 0;\n padding-top: var(--n-padding-vertical);\n padding-bottom: var(--n-padding-vertical);\n word-break: break-word;\n display: inline-block;\n vertical-align: bottom;\n box-sizing: border-box;\n line-height: var(--n-line-height-textarea);\n margin: 0;\n resize: none;\n white-space: pre-wrap;\n "),cE("textarea-mirror","\n width: 100%;\n pointer-events: none;\n overflow: hidden;\n visibility: hidden;\n position: static;\n white-space: pre-wrap;\n overflow-wrap: break-word;\n ")]),cM("pair",[cE("input-el, placeholder","text-align: center;"),cE("separator","\n display: flex;\n align-items: center;\n transition: color .3s var(--n-bezier);\n color: var(--n-text-color);\n white-space: nowrap;\n ",[cB("icon","\n color: var(--n-icon-color);\n "),cB("base-icon","\n color: var(--n-icon-color);\n ")])]),cM("disabled","\n cursor: not-allowed;\n background-color: var(--n-color-disabled);\n ",[cE("border","border: var(--n-border-disabled);"),cE("input-el, textarea-el","\n cursor: not-allowed;\n color: var(--n-text-color-disabled);\n text-decoration-color: var(--n-text-color-disabled);\n "),cE("placeholder","color: var(--n-placeholder-color-disabled);"),cE("separator","color: var(--n-text-color-disabled);",[cB("icon","\n color: var(--n-icon-color-disabled);\n "),cB("base-icon","\n color: var(--n-icon-color-disabled);\n ")]),cB("input-word-count","\n color: var(--n-count-text-color-disabled);\n "),cE("suffix, prefix","color: var(--n-text-color-disabled);",[cB("icon","\n color: var(--n-icon-color-disabled);\n "),cB("internal-icon","\n color: var(--n-icon-color-disabled);\n ")])]),cNotM("disabled",[cE("eye","\n color: var(--n-icon-color);\n cursor: pointer;\n ",[c$3("&:hover","\n color: var(--n-icon-color-hover);\n "),c$3("&:active","\n color: var(--n-icon-color-pressed);\n ")]),c$3("&:hover",[cE("state-border","border: var(--n-border-hover);")]),cM("focus","background-color: var(--n-color-focus);",[cE("state-border","\n border: var(--n-border-focus);\n box-shadow: var(--n-box-shadow-focus);\n ")])]),cE("border, state-border","\n box-sizing: border-box;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n pointer-events: none;\n border-radius: inherit;\n border: var(--n-border);\n transition:\n box-shadow .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n "),cE("state-border","\n border-color: #0000;\n z-index: 1;\n "),cE("prefix","margin-right: 4px;"),cE("suffix","\n margin-left: 4px;\n "),cE("suffix, prefix","\n transition: color .3s var(--n-bezier);\n flex-wrap: nowrap;\n flex-shrink: 0;\n line-height: var(--n-height);\n white-space: nowrap;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n color: var(--n-suffix-text-color);\n ",[cB("base-loading","\n font-size: var(--n-icon-size);\n margin: 0 2px;\n color: var(--n-loading-color);\n "),cB("base-clear","\n font-size: var(--n-icon-size);\n ",[cE("placeholder",[cB("base-icon","\n transition: color .3s var(--n-bezier);\n color: var(--n-icon-color);\n font-size: var(--n-icon-size);\n ")])]),c$3(">",[cB("icon","\n transition: color .3s var(--n-bezier);\n color: var(--n-icon-color);\n font-size: var(--n-icon-size);\n ")]),cB("base-icon","\n font-size: var(--n-icon-size);\n ")]),cB("input-word-count","\n pointer-events: none;\n line-height: 1.5;\n font-size: .85em;\n color: var(--n-count-text-color);\n transition: color .3s var(--n-bezier);\n margin-left: 4px;\n font-variant: tabular-nums;\n "),["warning","error"].map((function(e){return cM("".concat(e,"-status"),[cNotM("disabled",[cB("base-loading","\n color: var(--n-loading-color-".concat(e,")\n ")),cE("input-el, textarea-el","\n caret-color: var(--n-caret-color-".concat(e,");\n ")),cE("state-border","\n border: var(--n-border-".concat(e,");\n ")),c$3("&:hover",[cE("state-border","\n border: var(--n-border-hover-".concat(e,");\n "))]),c$3("&:focus","\n background-color: var(--n-color-focus-".concat(e,");\n "),[cE("state-border","\n box-shadow: var(--n-box-shadow-focus-".concat(e,");\n border: var(--n-border-focus-").concat(e,");\n "))]),cM("focus","\n background-color: var(--n-color-focus-".concat(e,");\n "),[cE("state-border","\n box-shadow: var(--n-box-shadow-focus-".concat(e,");\n border: var(--n-border-focus-").concat(e,");\n "))])])])}))]),safariStyle=cB("input",[cM("disabled",[cE("input-el, textarea-el","\n -webkit-text-fill-color: var(--n-text-color-disabled);\n ")])]),inputProps=Object.assign(Object.assign({},useTheme.props),{bordered:{type:Boolean,default:void 0},type:{type:String,default:"text"},placeholder:[Array,String],defaultValue:{type:[String,Array],default:null},value:[String,Array],disabled:{type:Boolean,default:void 0},size:String,rows:{type:[Number,String],default:3},round:Boolean,minlength:[String,Number],maxlength:[String,Number],clearable:Boolean,autosize:{type:[Boolean,Object],default:!1},pair:Boolean,separator:String,readonly:{type:[String,Boolean],default:!1},passivelyActivated:Boolean,showPasswordOn:String,stateful:{type:Boolean,default:!0},autofocus:Boolean,inputProps:Object,resizable:{type:Boolean,default:!0},showCount:Boolean,loading:{type:Boolean,default:void 0},allowInput:Function,renderCount:Function,onMousedown:Function,onKeydown:Function,onKeyup:Function,onInput:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClick:[Function,Array],onChange:[Function,Array],onClear:[Function,Array],countGraphemes:Function,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],textDecoration:[String,Array],attrSize:{type:Number,default:20},onInputBlur:[Function,Array],onInputFocus:[Function,Array],onDeactivate:[Function,Array],onActivate:[Function,Array],onWrapperFocus:[Function,Array],onWrapperBlur:[Function,Array],internalDeactivateOnEnter:Boolean,internalForceFocus:Boolean,internalLoadingBeforeSuffix:Boolean,showPasswordToggle:Boolean}),NInput=defineComponent({name:"Input",props:inputProps,setup:function(e){var t=useConfig(e),r=t.mergedClsPrefixRef,n=t.mergedBorderedRef,o=t.inlineThemeDisabled,a=t.mergedRtlRef,i=useTheme("Input","-input",style$k,inputLight$1,e,r);isSafari&&useStyle("-input-safari",safariStyle,r);var s=ref(null),l=ref(null),c=ref(null),u=ref(null),d=ref(null),p=ref(null),f=ref(null),h=useCursor(f),v=ref(null),g=useLocale("Input").localeRef,m=ref(e.defaultValue),b=useMergedState(toRef(e,"value"),m),A=useFormItem(e),y=A.mergedSizeRef,x=A.mergedDisabledRef,w=A.mergedStatusRef,C=ref(!1),k=ref(!1),_=ref(!1),S=ref(!1),B=null,E=computed((function(){var t=e.placeholder;return e.pair?Array.isArray(t)?t:void 0===t?["",""]:[t,t]:void 0===t?[g.value.placeholder]:[t]})),T=computed((function(){var e=_.value,t=b.value,r=E.value;return!e&&(isEmptyInputValue(t)||Array.isArray(t)&&isEmptyInputValue(t[0]))&&r[0]})),P=computed((function(){var e=_.value,t=b.value,r=E.value;return!e&&r[1]&&(isEmptyInputValue(t)||Array.isArray(t)&&isEmptyInputValue(t[1]))})),I=useMemo((function(){return e.internalForceFocus||C.value})),N=useMemo((function(){if(x.value||e.readonly||!e.clearable||!I.value&&!k.value)return!1;var t=b.value,r=I.value;return e.pair?!(!Array.isArray(t)||!t[0]&&!t[1])&&(k.value||r):!!t&&(k.value||r)})),z=computed((function(){var t=e.showPasswordOn;return t||(e.showPasswordToggle?"click":void 0)})),M=ref(!1),R=computed((function(){var t=e.textDecoration;return t?Array.isArray(t)?t.map((function(e){return{textDecoration:e}})):[{textDecoration:t}]:["",""]})),D=ref(void 0),O=computed((function(){var t=e.maxlength;return void 0===t?void 0:Number(t)}));onMounted((function(){var e=b.value;Array.isArray(e)||Q(e)}));var F=getCurrentInstance().proxy;function L(t){var r=e.onUpdateValue,n=e["onUpdate:value"],o=e.onInput,a=A.nTriggerFormInput;r&&call$1(r,t),n&&call$1(n,t),o&&call$1(o,t),m.value=t,a()}function j(t){var r=e.onChange,n=A.nTriggerFormChange;r&&call$1(r,t),m.value=t,n()}function V(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"input",o=t.target.value;if(Q(o),t instanceof InputEvent&&!t.isComposing&&(_.value=!1),"textarea"===e.type){var a=v.value;a&&a.syncUnifiedContainer()}if(B=o,!_.value){h.recordCursor();var i=function(t){var r=e.countGraphemes,n=e.maxlength,o=e.minlength;if(r){var a;if(void 0!==n&&(void 0===a&&(a=r(t)),a>Number(n)))return!1;if(void 0!==o&&(void 0===a&&(a=r(t)),a<Number(n)))return!1}var i=e.allowInput;if("function"==typeof i)return i(t);return!0}(o);if(i)if(e.pair){var s=b.value;(s=Array.isArray(s)?[s[0],s[1]]:["",""])[r]=o,"input"===n?L(s):j(s)}else"input"===n?L(o):j(o);F.$forceUpdate(),i||nextTick(h.restoreCursor)}}function $(t,r){(null===t.relatedTarget||t.relatedTarget!==d.value&&t.relatedTarget!==p.value&&t.relatedTarget!==l.value&&t.relatedTarget!==s.value)&&("focus"===r?(!function(t){var r=e.onFocus,n=A.nTriggerFormFocus;r&&call$1(r,t),n()}(t),C.value=!0):"blur"===r&&(!function(t){var r=e.onBlur,n=A.nTriggerFormBlur;r&&call$1(r,t),n()}(t),C.value=!1))}function H(){e.passivelyActivated&&(S.value=!1,nextTick((function(){var e;null===(e=s.value)||void 0===e||e.focus()})))}function U(){var t,r,n;x.value||(e.passivelyActivated?null===(t=s.value)||void 0===t||t.focus():(null===(r=l.value)||void 0===r||r.focus(),null===(n=d.value)||void 0===n||n.focus()))}function Q(t){var r=e.type,n=e.pair,o=e.autosize;if(!n&&o)if("textarea"===r){var a=c.value;a&&(a.textContent=(null!=t?t:"")+"\r\n")}else{var i=u.value;i&&(t?i.textContent=t:i.innerHTML="&nbsp;")}}var G=ref({top:"0"});var K=null;watchEffect((function(){var t=e.autosize,r=e.type;t&&"textarea"===r?K=watch(b,(function(e){Array.isArray(e)||e===B||Q(e)})):null==K||K()}));var q=null;watchEffect((function(){"textarea"===e.type?q=watch(b,(function(e){var t;Array.isArray(e)||e===B||null===(t=v.value)||void 0===t||t.syncUnifiedContainer()})):null==q||q()})),provide(inputInjectionKey,{mergedValueRef:b,maxlengthRef:O,mergedClsPrefixRef:r,countGraphemesRef:toRef(e,"countGraphemes")});var W={wrapperElRef:s,inputElRef:d,textareaElRef:l,isCompositing:_,focus:U,blur:function(){var e;(null===(e=s.value)||void 0===e?void 0:e.contains(document.activeElement))&&document.activeElement.blur()},select:function(){var e,t;null===(e=l.value)||void 0===e||e.select(),null===(t=d.value)||void 0===t||t.select()},deactivate:function(){var e=s.value;(null==e?void 0:e.contains(document.activeElement))&&e!==document.activeElement&&H()},activate:function(){x.value||(l.value?l.value.focus():d.value&&d.value.focus())},scrollTo:function(t){if("textarea"===e.type){var r=l.value;null==r||r.scrollTo(t)}else{var n=d.value;null==n||n.scrollTo(t)}}},Y=useRtl("Input",a,r),X=computed((function(){var e=y.value,t=i.value,r=t.common.cubicBezierEaseInOut,n=t.self,o=n.color,a=n.borderRadius,s=n.textColor,l=n.caretColor,c=n.caretColorError,u=n.caretColorWarning,d=n.textDecorationColor,p=n.border,f=n.borderDisabled,h=n.borderHover,v=n.borderFocus,g=n.placeholderColor,m=n.placeholderColorDisabled,b=n.lineHeightTextarea,A=n.colorDisabled,x=n.colorFocus,w=n.textColorDisabled,C=n.boxShadowFocus,k=n.iconSize,_=n.colorFocusWarning,S=n.boxShadowFocusWarning,B=n.borderWarning,E=n.borderFocusWarning,T=n.borderHoverWarning,P=n.colorFocusError,I=n.boxShadowFocusError,N=n.borderError,z=n.borderFocusError,M=n.borderHoverError,R=n.clearSize,D=n.clearColor,O=n.clearColorHover,F=n.clearColorPressed,L=n.iconColor,j=n.iconColorDisabled,V=n.suffixTextColor,$=n.countTextColor,H=n.countTextColorDisabled,U=n.iconColorHover,Q=n.iconColorPressed,G=n.loadingColor,K=n.loadingColorError,q=n.loadingColorWarning,W=n[createKey("padding",e)],Y=n[createKey("fontSize",e)],X=n[createKey("height",e)],J=getMargin(W);return{"--n-bezier":r,"--n-count-text-color":$,"--n-count-text-color-disabled":H,"--n-color":o,"--n-font-size":Y,"--n-border-radius":a,"--n-height":X,"--n-padding-left":J.left,"--n-padding-right":J.right,"--n-text-color":s,"--n-caret-color":l,"--n-text-decoration-color":d,"--n-border":p,"--n-border-disabled":f,"--n-border-hover":h,"--n-border-focus":v,"--n-placeholder-color":g,"--n-placeholder-color-disabled":m,"--n-icon-size":k,"--n-line-height-textarea":b,"--n-color-disabled":A,"--n-color-focus":x,"--n-text-color-disabled":w,"--n-box-shadow-focus":C,"--n-loading-color":G,"--n-caret-color-warning":u,"--n-color-focus-warning":_,"--n-box-shadow-focus-warning":S,"--n-border-warning":B,"--n-border-focus-warning":E,"--n-border-hover-warning":T,"--n-loading-color-warning":q,"--n-caret-color-error":c,"--n-color-focus-error":P,"--n-box-shadow-focus-error":I,"--n-border-error":N,"--n-border-focus-error":z,"--n-border-hover-error":M,"--n-loading-color-error":K,"--n-clear-color":D,"--n-clear-size":R,"--n-clear-color-hover":O,"--n-clear-color-pressed":F,"--n-icon-color":L,"--n-icon-color-hover":U,"--n-icon-color-pressed":Q,"--n-icon-color-disabled":j,"--n-suffix-text-color":V}})),J=o?useThemeClass("input",computed((function(){return y.value[0]})),X,e):void 0;return Object.assign(Object.assign({},W),{wrapperElRef:s,inputElRef:d,inputMirrorElRef:u,inputEl2Ref:p,textareaElRef:l,textareaMirrorElRef:c,textareaScrollbarInstRef:v,rtlEnabled:Y,uncontrolledValue:m,mergedValue:b,passwordVisible:M,mergedPlaceholder:E,showPlaceholder1:T,showPlaceholder2:P,mergedFocus:I,isComposing:_,activated:S,showClearButton:N,mergedSize:y,mergedDisabled:x,textDecorationStyle:R,mergedClsPrefix:r,mergedBordered:n,mergedShowPasswordOn:z,placeholderStyle:G,mergedStatus:w,textAreaScrollContainerWidth:D,handleTextAreaScroll:function(e){var t,r=e.target.scrollTop;G.value.top="".concat(-r,"px"),null===(t=v.value)||void 0===t||t.syncUnifiedContainer()},handleCompositionStart:function(){_.value=!0},handleCompositionEnd:function(e){_.value=!1,e.target===p.value?V(e,1):V(e,0)},handleInput:V,handleInputBlur:function(t){var r;!function(t){var r=e.onInputBlur;r&&call$1(r,t)}(t),t.relatedTarget===s.value&&(r=e.onDeactivate)&&call$1(r),(null===t.relatedTarget||t.relatedTarget!==d.value&&t.relatedTarget!==p.value&&t.relatedTarget!==l.value)&&(S.value=!1),$(t,"blur"),f.value=null},handleInputFocus:function(t,r){var n;!function(t){var r=e.onInputFocus;r&&call$1(r,t)}(t),C.value=!0,S.value=!0,(n=e.onActivate)&&call$1(n),$(t,"focus"),0===r?f.value=d.value:1===r?f.value=p.value:2===r&&(f.value=l.value)},handleWrapperBlur:function(t){e.passivelyActivated&&(!function(t){var r=e.onWrapperBlur;r&&call$1(r,t)}(t),$(t,"blur"))},handleWrapperFocus:function(t){e.passivelyActivated&&(C.value=!0,function(t){var r=e.onWrapperFocus;r&&call$1(r,t)}(t),$(t,"focus"))},handleMouseEnter:function(){var t;k.value=!0,"textarea"===e.type&&(null===(t=v.value)||void 0===t||t.handleMouseEnterWrapper())},handleMouseLeave:function(){var t;k.value=!1,"textarea"===e.type&&(null===(t=v.value)||void 0===t||t.handleMouseLeaveWrapper())},handleMouseDown:function(t){var r=e.onMousedown;r&&r(t);var n=t.target.tagName;if("INPUT"!==n&&"TEXTAREA"!==n){if(e.resizable){var o=s.value;if(o){var a=o.getBoundingClientRect(),i=a.left,l=a.top,c=a.width,u=a.height;if(i+c-14<t.clientX&&t.clientX<i+c&&l+u-14<t.clientY&&t.clientY<l+u)return}}t.preventDefault(),C.value||U()}},handleChange:function(e,t){V(e,t,"change")},handleClick:function(t){!function(t){var r=e.onClick;r&&call$1(r,t)}(t)},handleClear:function(t){!function(t){var r=e.onClear;r&&call$1(r,t)}(t),e.pair?(L(["",""]),j(["",""])):(L(""),j(""))},handlePasswordToggleClick:function(){x.value||"click"===z.value&&(M.value=!M.value)},handlePasswordToggleMousedown:function(e){if(!x.value){e.preventDefault();if(on("mouseup",document,(function e(t){t.preventDefault(),off("mouseup",document,e)})),"mousedown"===z.value){M.value=!0;on("mouseup",document,(function e(){M.value=!1,off("mouseup",document,e)}))}}},handleWrapperKeydown:function(t){var r;switch(null===(r=e.onKeydown)||void 0===r||r.call(e,t),t.key){case"Escape":H();break;case"Enter":!function(t){var r,n;if(e.passivelyActivated){if(S.value)return void(e.internalDeactivateOnEnter&&H());t.preventDefault(),"textarea"===e.type?null===(r=l.value)||void 0===r||r.focus():null===(n=d.value)||void 0===n||n.focus()}}(t)}},handleTextAreaMirrorResize:function(){!function(){var t,r;if("textarea"===e.type){var n=e.autosize;if(n&&(D.value=null===(r=null===(t=v.value)||void 0===t?void 0:t.$el)||void 0===r?void 0:r.offsetWidth),!l.value)return;if("boolean"==typeof n)return;var o=window.getComputedStyle(l.value),a=o.paddingTop,i=o.paddingBottom,s=o.lineHeight,u=Number(a.slice(0,-2)),d=Number(i.slice(0,-2)),p=Number(s.slice(0,-2)),f=c.value;if(!f)return;if(n.minRows){var h=Math.max(n.minRows,1),g="".concat(u+d+p*h,"px");f.style.minHeight=g}if(n.maxRows){var m="".concat(u+d+p*n.maxRows,"px");f.style.maxHeight=m}}}()},getTextareaScrollContainer:function(){return l.value},mergedTheme:i,cssVars:o?void 0:X,themeClass:null==J?void 0:J.themeClass,onRender:null==J?void 0:J.onRender})},render:function(){var e,t,r,n=this,o=this.mergedClsPrefix,a=this.mergedStatus,i=this.themeClass,s=this.type,l=this.countGraphemes,c=this.onRender,u=this.$slots;return null==c||c(),h$1("div",{ref:"wrapperElRef",class:["".concat(o,"-input"),i,a&&"".concat(o,"-input--").concat(a,"-status"),(e={},_defineProperty2(e,"".concat(o,"-input--rtl"),this.rtlEnabled),_defineProperty2(e,"".concat(o,"-input--disabled"),this.mergedDisabled),_defineProperty2(e,"".concat(o,"-input--textarea"),"textarea"===s),_defineProperty2(e,"".concat(o,"-input--resizable"),this.resizable&&!this.autosize),_defineProperty2(e,"".concat(o,"-input--autosize"),this.autosize),_defineProperty2(e,"".concat(o,"-input--round"),this.round&&!("textarea"===s)),_defineProperty2(e,"".concat(o,"-input--pair"),this.pair),_defineProperty2(e,"".concat(o,"-input--focus"),this.mergedFocus),_defineProperty2(e,"".concat(o,"-input--stateful"),this.stateful),e)],style:this.cssVars,tabindex:this.mergedDisabled||!this.passivelyActivated||this.activated?void 0:0,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperBlur,onClick:this.handleClick,onMousedown:this.handleMouseDown,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd,onKeyup:this.onKeyup,onKeydown:this.handleWrapperKeydown},h$1("div",{class:"".concat(o,"-input-wrapper")},resolveWrappedSlot(u.prefix,(function(e){return e&&h$1("div",{class:"".concat(o,"-input__prefix")},e)})),"textarea"===s?h$1(NScrollbar$1,{ref:"textareaScrollbarInstRef",class:"".concat(o,"-input__textarea"),container:this.getTextareaScrollContainer,triggerDisplayManually:!0,useUnifiedContainer:!0,internalHoistYRail:!0},{default:function(){var e,t,r=n.textAreaScrollContainerWidth,a={width:n.autosize&&r&&"".concat(r,"px")};return h$1(Fragment,null,h$1("textarea",Object.assign({},n.inputProps,{ref:"textareaElRef",class:["".concat(o,"-input__textarea-el"),null===(e=n.inputProps)||void 0===e?void 0:e.class],autofocus:n.autofocus,rows:Number(n.rows),placeholder:n.placeholder,value:n.mergedValue,disabled:n.mergedDisabled,maxlength:l?void 0:n.maxlength,minlength:l?void 0:n.minlength,readonly:n.readonly,tabindex:n.passivelyActivated&&!n.activated?-1:void 0,style:[n.textDecorationStyle[0],null===(t=n.inputProps)||void 0===t?void 0:t.style,a],onBlur:n.handleInputBlur,onFocus:function(e){n.handleInputFocus(e,2)},onInput:n.handleInput,onChange:n.handleChange,onScroll:n.handleTextAreaScroll})),n.showPlaceholder1?h$1("div",{class:"".concat(o,"-input__placeholder"),style:[n.placeholderStyle,a],key:"placeholder"},n.mergedPlaceholder[0]):null,n.autosize?h$1(VResizeObserver,{onResize:n.handleTextAreaMirrorResize},{default:function(){return h$1("div",{ref:"textareaMirrorElRef",class:"".concat(o,"-input__textarea-mirror"),key:"mirror"})}}):null)}}):h$1("div",{class:"".concat(o,"-input__input")},h$1("input",Object.assign({type:"password"===s&&this.mergedShowPasswordOn&&this.passwordVisible?"text":s},this.inputProps,{ref:"inputElRef",class:["".concat(o,"-input__input-el"),null===(t=this.inputProps)||void 0===t?void 0:t.class],style:[this.textDecorationStyle[0],null===(r=this.inputProps)||void 0===r?void 0:r.style],tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[0],disabled:this.mergedDisabled,maxlength:l?void 0:this.maxlength,minlength:l?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[0]:this.mergedValue,readonly:this.readonly,autofocus:this.autofocus,size:this.attrSize,onBlur:this.handleInputBlur,onFocus:function(e){n.handleInputFocus(e,0)},onInput:function(e){n.handleInput(e,0)},onChange:function(e){n.handleChange(e,0)}})),this.showPlaceholder1?h$1("div",{class:"".concat(o,"-input__placeholder")},h$1("span",null,this.mergedPlaceholder[0])):null,this.autosize?h$1("div",{class:"".concat(o,"-input__input-mirror"),key:"mirror",ref:"inputMirrorElRef"}," "):null),!this.pair&&resolveWrappedSlot(u.suffix,(function(e){return e||n.clearable||n.showCount||n.mergedShowPasswordOn||void 0!==n.loading?h$1("div",{class:"".concat(o,"-input__suffix")},[resolveWrappedSlot(u["clear-icon-placeholder"],(function(e){return(n.clearable||e)&&h$1(NBaseClear,{clsPrefix:o,show:n.showClearButton,onClear:n.handleClear},{placeholder:function(){return e},icon:function(){var e,t;return null===(t=(e=n.$slots)["clear-icon"])||void 0===t?void 0:t.call(e)}})})),n.internalLoadingBeforeSuffix?null:e,void 0!==n.loading?h$1(NBaseSuffix,{clsPrefix:o,loading:n.loading,showArrow:!1,showClear:!1,style:n.cssVars}):null,n.internalLoadingBeforeSuffix?e:null,n.showCount&&"textarea"!==n.type?h$1(WordCount,null,{default:function(e){var t;return null===(t=u.count)||void 0===t?void 0:t.call(u,e)}}):null,n.mergedShowPasswordOn&&"password"===n.type?h$1("div",{class:"".concat(o,"-input__eye"),onMousedown:n.handlePasswordToggleMousedown,onClick:n.handlePasswordToggleClick},n.passwordVisible?resolveSlot(u["password-visible-icon"],(function(){return[h$1(NBaseIcon,{clsPrefix:o},{default:function(){return h$1(EyeIcon,null)}})]})):resolveSlot(u["password-invisible-icon"],(function(){return[h$1(NBaseIcon,{clsPrefix:o},{default:function(){return h$1(EyeOffIcon,null)}})]}))):null]):null}))),this.pair?h$1("span",{class:"".concat(o,"-input__separator")},resolveSlot(u.separator,(function(){return[n.separator]}))):null,this.pair?h$1("div",{class:"".concat(o,"-input-wrapper")},h$1("div",{class:"".concat(o,"-input__input")},h$1("input",{ref:"inputEl2Ref",type:this.type,class:"".concat(o,"-input__input-el"),tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[1],disabled:this.mergedDisabled,maxlength:l?void 0:this.maxlength,minlength:l?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[1]:void 0,readonly:this.readonly,style:this.textDecorationStyle[1],onBlur:this.handleInputBlur,onFocus:function(e){n.handleInputFocus(e,1)},onInput:function(e){n.handleInput(e,1)},onChange:function(e){n.handleChange(e,1)}}),this.showPlaceholder2?h$1("div",{class:"".concat(o,"-input__placeholder")},h$1("span",null,this.mergedPlaceholder[1])):null),resolveWrappedSlot(u.suffix,(function(e){return(n.clearable||e)&&h$1("div",{class:"".concat(o,"-input__suffix")},[n.clearable&&h$1(NBaseClear,{clsPrefix:o,show:n.showClearButton,onClear:n.handleClear},{icon:function(){var e;return null===(e=u["clear-icon"])||void 0===e?void 0:e.call(u)},placeholder:function(){var e;return null===(e=u["clear-icon-placeholder"])||void 0===e?void 0:e.call(u)}}),e])}))):null,this.mergedBordered?h$1("div",{class:"".concat(o,"-input__border")}):null,this.mergedBordered?h$1("div",{class:"".concat(o,"-input__state-border")}):null,this.showCount&&"textarea"===s?h$1(WordCount,null,{default:function(e){var t,r=n.renderCount;return r?r(e):null===(t=u.count)||void 0===t?void 0:t.call(u,e)}}):null)}});function self$M(e){return{menuBoxShadow:e.boxShadow2}}var autoCompleteDark={name:"AutoComplete",common:commonDark,peers:{InternalSelectMenu:internalSelectMenuDark$1,Input:inputDark$1},self:self$M},autoCompleteDark$1=autoCompleteDark,self$L=function(e){var t=e.borderRadius,r=e.avatarColor,n=e.cardColor,o=e.fontSize,a=e.heightTiny,i=e.heightSmall,s=e.heightMedium,l=e.heightLarge,c=e.heightHuge,u=e.modalColor,d=e.popoverColor;return{borderRadius:t,fontSize:o,border:"2px solid ".concat(n),heightTiny:a,heightSmall:i,heightMedium:s,heightLarge:l,heightHuge:c,color:composite(n,r),colorModal:composite(u,r),colorPopover:composite(d,r)}},avatarDark={name:"Avatar",common:commonDark,self:self$L},avatarDark$1=avatarDark,self$K=function(){return{gap:"-12px"}},avatarGroupDark={name:"AvatarGroup",common:commonDark,peers:{Avatar:avatarDark$1},self:self$K},avatarGroupDark$1=avatarGroupDark,commonVariables$h={width:"44px",height:"44px",borderRadius:"22px",iconSize:"26px"},backTopDark={name:"BackTop",common:commonDark,self:function(e){var t=e.popoverColor,r=e.textColor2,n=e.primaryColorHover,o=e.primaryColorPressed;return Object.assign(Object.assign({},commonVariables$h),{color:t,textColor:r,iconColor:r,iconColorHover:n,iconColorPressed:o,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})}},backTopDark$1=backTopDark,badgeDark={name:"Badge",common:commonDark,self:function(e){var t=e.errorColorSuppl;return{color:t,colorInfo:e.infoColorSuppl,colorSuccess:e.successColorSuppl,colorError:t,colorWarning:e.warningColorSuppl,fontSize:"12px",fontFamily:e.fontFamily}}},badgeDark$1=badgeDark,commonVariables$g={fontWeightActive:"400"},self$J=function(e){var t=e.fontSize,r=e.textColor3,n=e.textColor2,o=e.borderRadius,a=e.buttonColor2Hover,i=e.buttonColor2Pressed;return Object.assign(Object.assign({},commonVariables$g),{fontSize:t,itemLineHeight:"1.25",itemTextColor:r,itemTextColorHover:n,itemTextColorPressed:n,itemTextColorActive:n,itemBorderRadius:o,itemColorHover:a,itemColorPressed:i,separatorColor:r})},breadcrumbDark={name:"Breadcrumb",common:commonDark,self:self$J},breadcrumbDark$1=breadcrumbDark;function createHoverColor(e){return composite(e,[255,255,255,.16])}function createPressedColor(e){return composite(e,[0,0,0,.12])}var buttonGroupInjectionKey=createInjectionKey("n-button-group"),commonVariables$f={paddingTiny:"0 6px",paddingSmall:"0 10px",paddingMedium:"0 14px",paddingLarge:"0 18px",paddingRoundTiny:"0 10px",paddingRoundSmall:"0 14px",paddingRoundMedium:"0 18px",paddingRoundLarge:"0 22px",iconMarginTiny:"6px",iconMarginSmall:"6px",iconMarginMedium:"6px",iconMarginLarge:"6px",iconSizeTiny:"14px",iconSizeSmall:"18px",iconSizeMedium:"18px",iconSizeLarge:"20px",rippleDuration:".6s"},self$I=function(e){var t=e.heightTiny,r=e.heightSmall,n=e.heightMedium,o=e.heightLarge,a=e.borderRadius,i=e.fontSizeTiny,s=e.fontSizeSmall,l=e.fontSizeMedium,c=e.fontSizeLarge,u=e.opacityDisabled,d=e.textColor2,p=e.textColor3,f=e.primaryColorHover,h=e.primaryColorPressed,v=e.borderColor,g=e.primaryColor,m=e.baseColor,b=e.infoColor,A=e.infoColorHover,y=e.infoColorPressed,x=e.successColor,w=e.successColorHover,C=e.successColorPressed,k=e.warningColor,_=e.warningColorHover,S=e.warningColorPressed,B=e.errorColor,E=e.errorColorHover,T=e.errorColorPressed,P=e.fontWeight,I=e.buttonColor2,N=e.buttonColor2Hover,z=e.buttonColor2Pressed,M=e.fontWeightStrong;return Object.assign(Object.assign({},commonVariables$f),{heightTiny:t,heightSmall:r,heightMedium:n,heightLarge:o,borderRadiusTiny:a,borderRadiusSmall:a,borderRadiusMedium:a,borderRadiusLarge:a,fontSizeTiny:i,fontSizeSmall:s,fontSizeMedium:l,fontSizeLarge:c,opacityDisabled:u,colorOpacitySecondary:"0.16",colorOpacitySecondaryHover:"0.22",colorOpacitySecondaryPressed:"0.28",colorSecondary:I,colorSecondaryHover:N,colorSecondaryPressed:z,colorTertiary:I,colorTertiaryHover:N,colorTertiaryPressed:z,colorQuaternary:"#0000",colorQuaternaryHover:N,colorQuaternaryPressed:z,color:"#0000",colorHover:"#0000",colorPressed:"#0000",colorFocus:"#0000",colorDisabled:"#0000",textColor:d,textColorTertiary:p,textColorHover:f,textColorPressed:h,textColorFocus:f,textColorDisabled:d,textColorText:d,textColorTextHover:f,textColorTextPressed:h,textColorTextFocus:f,textColorTextDisabled:d,textColorGhost:d,textColorGhostHover:f,textColorGhostPressed:h,textColorGhostFocus:f,textColorGhostDisabled:d,border:"1px solid ".concat(v),borderHover:"1px solid ".concat(f),borderPressed:"1px solid ".concat(h),borderFocus:"1px solid ".concat(f),borderDisabled:"1px solid ".concat(v),rippleColor:g,colorPrimary:g,colorHoverPrimary:f,colorPressedPrimary:h,colorFocusPrimary:f,colorDisabledPrimary:g,textColorPrimary:m,textColorHoverPrimary:m,textColorPressedPrimary:m,textColorFocusPrimary:m,textColorDisabledPrimary:m,textColorTextPrimary:g,textColorTextHoverPrimary:f,textColorTextPressedPrimary:h,textColorTextFocusPrimary:f,textColorTextDisabledPrimary:d,textColorGhostPrimary:g,textColorGhostHoverPrimary:f,textColorGhostPressedPrimary:h,textColorGhostFocusPrimary:f,textColorGhostDisabledPrimary:g,borderPrimary:"1px solid ".concat(g),borderHoverPrimary:"1px solid ".concat(f),borderPressedPrimary:"1px solid ".concat(h),borderFocusPrimary:"1px solid ".concat(f),borderDisabledPrimary:"1px solid ".concat(g),rippleColorPrimary:g,colorInfo:b,colorHoverInfo:A,colorPressedInfo:y,colorFocusInfo:A,colorDisabledInfo:b,textColorInfo:m,textColorHoverInfo:m,textColorPressedInfo:m,textColorFocusInfo:m,textColorDisabledInfo:m,textColorTextInfo:b,textColorTextHoverInfo:A,textColorTextPressedInfo:y,textColorTextFocusInfo:A,textColorTextDisabledInfo:d,textColorGhostInfo:b,textColorGhostHoverInfo:A,textColorGhostPressedInfo:y,textColorGhostFocusInfo:A,textColorGhostDisabledInfo:b,borderInfo:"1px solid ".concat(b),borderHoverInfo:"1px solid ".concat(A),borderPressedInfo:"1px solid ".concat(y),borderFocusInfo:"1px solid ".concat(A),borderDisabledInfo:"1px solid ".concat(b),rippleColorInfo:b,colorSuccess:x,colorHoverSuccess:w,colorPressedSuccess:C,colorFocusSuccess:w,colorDisabledSuccess:x,textColorSuccess:m,textColorHoverSuccess:m,textColorPressedSuccess:m,textColorFocusSuccess:m,textColorDisabledSuccess:m,textColorTextSuccess:x,textColorTextHoverSuccess:w,textColorTextPressedSuccess:C,textColorTextFocusSuccess:w,textColorTextDisabledSuccess:d,textColorGhostSuccess:x,textColorGhostHoverSuccess:w,textColorGhostPressedSuccess:C,textColorGhostFocusSuccess:w,textColorGhostDisabledSuccess:x,borderSuccess:"1px solid ".concat(x),borderHoverSuccess:"1px solid ".concat(w),borderPressedSuccess:"1px solid ".concat(C),borderFocusSuccess:"1px solid ".concat(w),borderDisabledSuccess:"1px solid ".concat(x),rippleColorSuccess:x,colorWarning:k,colorHoverWarning:_,colorPressedWarning:S,colorFocusWarning:_,colorDisabledWarning:k,textColorWarning:m,textColorHoverWarning:m,textColorPressedWarning:m,textColorFocusWarning:m,textColorDisabledWarning:m,textColorTextWarning:k,textColorTextHoverWarning:_,textColorTextPressedWarning:S,textColorTextFocusWarning:_,textColorTextDisabledWarning:d,textColorGhostWarning:k,textColorGhostHoverWarning:_,textColorGhostPressedWarning:S,textColorGhostFocusWarning:_,textColorGhostDisabledWarning:k,borderWarning:"1px solid ".concat(k),borderHoverWarning:"1px solid ".concat(_),borderPressedWarning:"1px solid ".concat(S),borderFocusWarning:"1px solid ".concat(_),borderDisabledWarning:"1px solid ".concat(k),rippleColorWarning:k,colorError:B,colorHoverError:E,colorPressedError:T,colorFocusError:E,colorDisabledError:B,textColorError:m,textColorHoverError:m,textColorPressedError:m,textColorFocusError:m,textColorDisabledError:m,textColorTextError:B,textColorTextHoverError:E,textColorTextPressedError:T,textColorTextFocusError:E,textColorTextDisabledError:d,textColorGhostError:B,textColorGhostHoverError:E,textColorGhostPressedError:T,textColorGhostFocusError:E,textColorGhostDisabledError:B,borderError:"1px solid ".concat(B),borderHoverError:"1px solid ".concat(E),borderPressedError:"1px solid ".concat(T),borderFocusError:"1px solid ".concat(E),borderDisabledError:"1px solid ".concat(B),rippleColorError:B,waveOpacity:"0.6",fontWeight:P,fontWeightStrong:M})},buttonLight={name:"Button",common:commonLight,self:self$I},buttonLight$1=buttonLight,buttonDark={name:"Button",common:commonDark,self:function(e){var t=self$I(e);return t.waveOpacity="0.8",t.colorOpacitySecondary="0.16",t.colorOpacitySecondaryHover="0.2",t.colorOpacitySecondaryPressed="0.12",t}},buttonDark$1=buttonDark,style$j=c$3([cB("button","\n margin: 0;\n font-weight: var(--n-font-weight);\n line-height: 1;\n font-family: inherit;\n padding: var(--n-padding);\n height: var(--n-height);\n font-size: var(--n-font-size);\n border-radius: var(--n-border-radius);\n color: var(--n-text-color);\n background-color: var(--n-color);\n width: var(--n-width);\n white-space: nowrap;\n outline: none;\n position: relative;\n z-index: auto;\n border: none;\n display: inline-flex;\n flex-wrap: nowrap;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n user-select: none;\n -webkit-user-select: none;\n text-align: center;\n cursor: pointer;\n text-decoration: none;\n transition:\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n opacity .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n ",[cM("color",[cE("border",{borderColor:"var(--n-border-color)"}),cM("disabled",[cE("border",{borderColor:"var(--n-border-color-disabled)"})]),cNotM("disabled",[c$3("&:focus",[cE("state-border",{borderColor:"var(--n-border-color-focus)"})]),c$3("&:hover",[cE("state-border",{borderColor:"var(--n-border-color-hover)"})]),c$3("&:active",[cE("state-border",{borderColor:"var(--n-border-color-pressed)"})]),cM("pressed",[cE("state-border",{borderColor:"var(--n-border-color-pressed)"})])])]),cM("disabled",{backgroundColor:"var(--n-color-disabled)",color:"var(--n-text-color-disabled)"},[cE("border",{border:"var(--n-border-disabled)"})]),cNotM("disabled",[c$3("&:focus",{backgroundColor:"var(--n-color-focus)",color:"var(--n-text-color-focus)"},[cE("state-border",{border:"var(--n-border-focus)"})]),c$3("&:hover",{backgroundColor:"var(--n-color-hover)",color:"var(--n-text-color-hover)"},[cE("state-border",{border:"var(--n-border-hover)"})]),c$3("&:active",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[cE("state-border",{border:"var(--n-border-pressed)"})]),cM("pressed",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[cE("state-border",{border:"var(--n-border-pressed)"})])]),cM("loading","cursor: wait;"),cB("base-wave","\n pointer-events: none;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n animation-iteration-count: 1;\n animation-duration: var(--n-ripple-duration);\n animation-timing-function: var(--n-bezier-ease-out), var(--n-bezier-ease-out);\n ",[cM("active",{zIndex:1,animationName:"button-wave-spread, button-wave-opacity"})]),isBrowser$2&&"MozBoxSizing"in document.createElement("div").style?c$3("&::moz-focus-inner",{border:0}):null,cE("border, state-border","\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n border-radius: inherit;\n transition: border-color .3s var(--n-bezier);\n pointer-events: none;\n "),cE("border",{border:"var(--n-border)"}),cE("state-border",{border:"var(--n-border)",borderColor:"#0000",zIndex:1}),cE("icon","\n margin: var(--n-icon-margin);\n margin-left: 0;\n height: var(--n-icon-size);\n width: var(--n-icon-size);\n max-width: var(--n-icon-size);\n font-size: var(--n-icon-size);\n position: relative;\n flex-shrink: 0;\n ",[cB("icon-slot","\n height: var(--n-icon-size);\n width: var(--n-icon-size);\n position: absolute;\n left: 0;\n top: 50%;\n transform: translateY(-50%);\n display: flex;\n align-items: center;\n justify-content: center;\n ",[iconSwitchTransition({top:"50%",originalTransform:"translateY(-50%)"})]),fadeInWidthExpandTransition()]),cE("content","\n display: flex;\n align-items: center;\n flex-wrap: nowrap;\n min-width: 0;\n ",[c$3("~",[cE("icon",{margin:"var(--n-icon-margin)",marginRight:0})])]),cM("block","\n display: flex;\n width: 100%;\n "),cM("dashed",[cE("border, state-border",{borderStyle:"dashed !important"})]),cM("disabled",{cursor:"not-allowed",opacity:"var(--n-opacity-disabled)"})]),c$3("@keyframes button-wave-spread",{from:{boxShadow:"0 0 0.5px 0 var(--n-ripple-color)"},to:{boxShadow:"0 0 0.5px 4.5px var(--n-ripple-color)"}}),c$3("@keyframes button-wave-opacity",{from:{opacity:"var(--n-wave-opacity)"},to:{opacity:0}})]),buttonProps=Object.assign(Object.assign({},useTheme.props),{color:String,textColor:String,text:Boolean,block:Boolean,loading:Boolean,disabled:Boolean,circle:Boolean,size:String,ghost:Boolean,round:Boolean,secondary:Boolean,tertiary:Boolean,quaternary:Boolean,strong:Boolean,focusable:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},tag:{type:String,default:"button"},type:{type:String,default:"default"},dashed:Boolean,renderIcon:Function,iconPlacement:{type:String,default:"left"},attrType:{type:String,default:"button"},bordered:{type:Boolean,default:!0},onClick:[Function,Array],nativeFocusBehavior:{type:Boolean,default:!isSafari}}),Button=defineComponent({name:"Button",props:buttonProps,setup:function(e){var t=ref(null),r=ref(null),n=ref(!1),o=useMemo((function(){return!e.quaternary&&!e.tertiary&&!e.secondary&&!e.text&&(!e.color||e.ghost||e.dashed)&&e.bordered})),a=inject(buttonGroupInjectionKey,{}),i=useFormItem({},{defaultSize:"medium",mergedSize:function(t){var r=e.size;if(r)return r;var n=a.size;if(n)return n;var o=(t||{}).mergedSize;return o?o.value:"medium"}}),s=i.mergedSizeRef,l=computed((function(){return e.focusable&&!e.disabled})),c=useConfig(e),u=c.inlineThemeDisabled,d=c.mergedClsPrefixRef,p=c.mergedRtlRef,f=useTheme("Button","-button",style$j,buttonLight$1,e,d),h=useRtl("Button",p,d),v=computed((function(){var t=f.value,r=t.common,n=r.cubicBezierEaseInOut,o=r.cubicBezierEaseOut,a=t.self,i=a.rippleDuration,l=a.opacityDisabled,c=a.fontWeight,u=a.fontWeightStrong,d=s.value,p=e.dashed,h=e.type,v=e.ghost,g=e.text,m=e.color,b=e.round,A=e.circle,y=e.textColor,x=e.secondary,w=e.tertiary,C=e.quaternary,k={"font-weight":e.strong?u:c},_={"--n-color":"initial","--n-color-hover":"initial","--n-color-pressed":"initial","--n-color-focus":"initial","--n-color-disabled":"initial","--n-ripple-color":"initial","--n-text-color":"initial","--n-text-color-hover":"initial","--n-text-color-pressed":"initial","--n-text-color-focus":"initial","--n-text-color-disabled":"initial"},S="tertiary"===h,B="default"===h,E=S?"default":h;if(g){var T=y||m;_={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":"#0000","--n-text-color":T||a[createKey("textColorText",E)],"--n-text-color-hover":T?createHoverColor(T):a[createKey("textColorTextHover",E)],"--n-text-color-pressed":T?createPressedColor(T):a[createKey("textColorTextPressed",E)],"--n-text-color-focus":T?createHoverColor(T):a[createKey("textColorTextHover",E)],"--n-text-color-disabled":T||a[createKey("textColorTextDisabled",E)]}}else if(v||p){var P=y||m;_={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":m||a[createKey("rippleColor",E)],"--n-text-color":P||a[createKey("textColorGhost",E)],"--n-text-color-hover":P?createHoverColor(P):a[createKey("textColorGhostHover",E)],"--n-text-color-pressed":P?createPressedColor(P):a[createKey("textColorGhostPressed",E)],"--n-text-color-focus":P?createHoverColor(P):a[createKey("textColorGhostHover",E)],"--n-text-color-disabled":P||a[createKey("textColorGhostDisabled",E)]}}else if(x){var I=B?a.textColor:S?a.textColorTertiary:a[createKey("color",E)],N=m||I,z="default"!==h&&"tertiary"!==h;_={"--n-color":z?changeColor(N,{alpha:Number(a.colorOpacitySecondary)}):a.colorSecondary,"--n-color-hover":z?changeColor(N,{alpha:Number(a.colorOpacitySecondaryHover)}):a.colorSecondaryHover,"--n-color-pressed":z?changeColor(N,{alpha:Number(a.colorOpacitySecondaryPressed)}):a.colorSecondaryPressed,"--n-color-focus":z?changeColor(N,{alpha:Number(a.colorOpacitySecondaryHover)}):a.colorSecondaryHover,"--n-color-disabled":a.colorSecondary,"--n-ripple-color":"#0000","--n-text-color":N,"--n-text-color-hover":N,"--n-text-color-pressed":N,"--n-text-color-focus":N,"--n-text-color-disabled":N}}else if(w||C){var M=B?a.textColor:S?a.textColorTertiary:a[createKey("color",E)],R=m||M;w?(_["--n-color"]=a.colorTertiary,_["--n-color-hover"]=a.colorTertiaryHover,_["--n-color-pressed"]=a.colorTertiaryPressed,_["--n-color-focus"]=a.colorSecondaryHover,_["--n-color-disabled"]=a.colorTertiary):(_["--n-color"]=a.colorQuaternary,_["--n-color-hover"]=a.colorQuaternaryHover,_["--n-color-pressed"]=a.colorQuaternaryPressed,_["--n-color-focus"]=a.colorQuaternaryHover,_["--n-color-disabled"]=a.colorQuaternary),_["--n-ripple-color"]="#0000",_["--n-text-color"]=R,_["--n-text-color-hover"]=R,_["--n-text-color-pressed"]=R,_["--n-text-color-focus"]=R,_["--n-text-color-disabled"]=R}else _={"--n-color":m||a[createKey("color",E)],"--n-color-hover":m?createHoverColor(m):a[createKey("colorHover",E)],"--n-color-pressed":m?createPressedColor(m):a[createKey("colorPressed",E)],"--n-color-focus":m?createHoverColor(m):a[createKey("colorFocus",E)],"--n-color-disabled":m||a[createKey("colorDisabled",E)],"--n-ripple-color":m||a[createKey("rippleColor",E)],"--n-text-color":y||(m?a.textColorPrimary:S?a.textColorTertiary:a[createKey("textColor",E)]),"--n-text-color-hover":y||(m?a.textColorHoverPrimary:a[createKey("textColorHover",E)]),"--n-text-color-pressed":y||(m?a.textColorPressedPrimary:a[createKey("textColorPressed",E)]),"--n-text-color-focus":y||(m?a.textColorFocusPrimary:a[createKey("textColorFocus",E)]),"--n-text-color-disabled":y||(m?a.textColorDisabledPrimary:a[createKey("textColorDisabled",E)])};var D={"--n-border":"initial","--n-border-hover":"initial","--n-border-pressed":"initial","--n-border-focus":"initial","--n-border-disabled":"initial"};D=g?{"--n-border":"none","--n-border-hover":"none","--n-border-pressed":"none","--n-border-focus":"none","--n-border-disabled":"none"}:{"--n-border":a[createKey("border",E)],"--n-border-hover":a[createKey("borderHover",E)],"--n-border-pressed":a[createKey("borderPressed",E)],"--n-border-focus":a[createKey("borderFocus",E)],"--n-border-disabled":a[createKey("borderDisabled",E)]};var O=a[createKey("height",d)],F=a[createKey("fontSize",d)],L=a[createKey("padding",d)],j=a[createKey("paddingRound",d)],V=a[createKey("iconSize",d)],$=a[createKey("borderRadius",d)],H=a[createKey("iconMargin",d)],U=a.waveOpacity,Q={"--n-width":A&&!g?O:"initial","--n-height":g?"initial":O,"--n-font-size":F,"--n-padding":A||g?"initial":b?j:L,"--n-icon-size":V,"--n-icon-margin":H,"--n-border-radius":g?"initial":A||b?O:$};return Object.assign(Object.assign(Object.assign(Object.assign({"--n-bezier":n,"--n-bezier-ease-out":o,"--n-ripple-duration":i,"--n-opacity-disabled":l,"--n-wave-opacity":U},k),_),D),Q)})),g=u?useThemeClass("button",computed((function(){var t="",r=e.dashed,n=e.type,o=e.ghost,a=e.text,i=e.color,l=e.round,c=e.circle,u=e.textColor;return r&&(t+="a"),o&&(t+="b"),a&&(t+="c"),l&&(t+="d"),c&&(t+="e"),e.secondary&&(t+="f"),e.tertiary&&(t+="g"),e.quaternary&&(t+="h"),e.strong&&(t+="i"),i&&(t+="j"+color2Class(i)),u&&(t+="k"+color2Class(u)),t+="l"+s.value[0],t+="m"+n[0]})),v,e):void 0;return{selfElRef:t,waveElRef:r,mergedClsPrefix:d,mergedFocusable:l,mergedSize:s,showBorder:o,enterPressed:n,rtlEnabled:h,handleMousedown:function(r){var n;l.value||r.preventDefault(),e.nativeFocusBehavior||(r.preventDefault(),e.disabled||l.value&&(null===(n=t.value)||void 0===n||n.focus({preventScroll:!0})))},handleKeydown:function(t){if("Enter"===t.key){if(!e.keyboard||e.loading)return void t.preventDefault();n.value=!0}},handleBlur:function(){n.value=!1},handleKeyup:function(t){if("Enter"===t.key){if(!e.keyboard)return;n.value=!1}},handleClick:function(t){var n;if(!e.disabled&&!e.loading){var o=e.onClick;o&&call$1(o,t),e.text||null===(n=r.value)||void 0===n||n.play()}},customColorCssVars:computed((function(){var t=e.color;if(!t)return null;var r=createHoverColor(t);return{"--n-border-color":t,"--n-border-color-hover":r,"--n-border-color-pressed":createPressedColor(t),"--n-border-color-focus":r,"--n-border-color-disabled":t}})),cssVars:u?void 0:v,themeClass:null==g?void 0:g.themeClass,onRender:null==g?void 0:g.onRender}},render:function(){var e=this,t=this.mergedClsPrefix,r=this.tag,n=this.onRender;null==n||n();var o=resolveWrappedSlot(this.$slots.default,(function(e){return e&&h$1("span",{class:"".concat(t,"-button__content")},e)}));return h$1(r,{ref:"selfElRef",class:[this.themeClass,"".concat(t,"-button"),"".concat(t,"-button--").concat(this.type,"-type"),"".concat(t,"-button--").concat(this.mergedSize,"-type"),this.rtlEnabled&&"".concat(t,"-button--rtl"),this.disabled&&"".concat(t,"-button--disabled"),this.block&&"".concat(t,"-button--block"),this.enterPressed&&"".concat(t,"-button--pressed"),!this.text&&this.dashed&&"".concat(t,"-button--dashed"),this.color&&"".concat(t,"-button--color"),this.secondary&&"".concat(t,"-button--secondary"),this.loading&&"".concat(t,"-button--loading"),this.ghost&&"".concat(t,"-button--ghost")],tabindex:this.mergedFocusable?0:-1,type:this.attrType,style:this.cssVars,disabled:this.disabled,onClick:this.handleClick,onBlur:this.handleBlur,onMousedown:this.handleMousedown,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},"right"===this.iconPlacement&&o,h$1(NFadeInExpandTransition,{width:!0},{default:function(){return resolveWrappedSlot(e.$slots.icon,(function(r){return(e.loading||e.renderIcon||r)&&h$1("span",{class:"".concat(t,"-button__icon"),style:{margin:isSlotEmpty(e.$slots.default)?"0":""}},h$1(NIconSwitchTransition,null,{default:function(){return e.loading?h$1(NBaseLoading,{clsPrefix:t,key:"loading",class:"".concat(t,"-icon-slot"),strokeWidth:20}):h$1("div",{key:"icon",class:"".concat(t,"-icon-slot"),role:"none"},e.renderIcon?e.renderIcon():r)}}))}))}}),"left"===this.iconPlacement&&o,this.text?null:h$1(NBaseWave,{ref:"waveElRef",clsPrefix:t}),this.showBorder?h$1("div",{"aria-hidden":!0,class:"".concat(t,"-button__border"),style:this.customColorCssVars}):null,this.showBorder?h$1("div",{"aria-hidden":!0,class:"".concat(t,"-button__state-border"),style:this.customColorCssVars}):null)}}),NButton=Button,XButton=Button,commonVariables$e={titleFontSize:"22px"},self$H=function(e){var t=e.borderRadius,r=e.fontSize,n=e.lineHeight,o=e.textColor2,a=e.textColor1,i=e.textColorDisabled,s=e.dividerColor,l=e.fontWeightStrong,c=e.primaryColor,u=e.baseColor,d=e.hoverColor,p=e.cardColor,f=e.modalColor,h=e.popoverColor;return Object.assign(Object.assign({},commonVariables$e),{borderRadius:t,borderColor:composite(p,s),borderColorModal:composite(f,s),borderColorPopover:composite(h,s),textColor:o,titleFontWeight:l,titleTextColor:a,dayTextColor:i,fontSize:r,lineHeight:n,dateColorCurrent:c,dateTextColorCurrent:u,cellColorHover:composite(p,d),cellColorHoverModal:composite(f,d),cellColorHoverPopover:composite(h,d),cellColor:p,cellColorModal:f,cellColorPopover:h,barColor:c})},calendarDark={name:"Calendar",common:commonDark,peers:{Button:buttonDark$1},self:self$H},calendarDark$1=calendarDark,self$G=function(e){var t=e.fontSize,r=e.boxShadow2,n=e.popoverColor,o=e.textColor2,a=e.borderRadius,i=e.borderColor,s=e.heightSmall,l=e.heightMedium,c=e.heightLarge,u=e.fontSizeSmall,d=e.fontSizeMedium,p=e.fontSizeLarge,f=e.dividerColor;return{panelFontSize:t,boxShadow:r,color:n,textColor:o,borderRadius:a,border:"1px solid ".concat(i),heightSmall:s,heightMedium:l,heightLarge:c,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:p,dividerColor:f}},colorPickerDark={name:"ColorPicker",common:commonDark,peers:{Input:inputDark$1,Button:buttonDark$1},self:self$G},colorPickerDark$1=colorPickerDark,commonVariables$d={paddingSmall:"12px 16px 12px",paddingMedium:"19px 24px 20px",paddingLarge:"23px 32px 24px",paddingHuge:"27px 40px 28px",titleFontSizeSmall:"16px",titleFontSizeMedium:"18px",titleFontSizeLarge:"18px",titleFontSizeHuge:"18px",closeIconSize:"18px",closeSize:"22px"},self$F=function(e){var t=e.primaryColor,r=e.borderRadius,n=e.lineHeight,o=e.fontSize,a=e.cardColor,i=e.textColor2,s=e.textColor1,l=e.dividerColor,c=e.fontWeightStrong,u=e.closeIconColor,d=e.closeIconColorHover,p=e.closeIconColorPressed,f=e.closeColorHover,h=e.closeColorPressed,v=e.modalColor,g=e.boxShadow1,m=e.popoverColor,b=e.actionColor;return Object.assign(Object.assign({},commonVariables$d),{lineHeight:n,color:a,colorModal:v,colorPopover:m,colorTarget:t,colorEmbedded:b,colorEmbeddedModal:b,colorEmbeddedPopover:b,textColor:i,titleTextColor:s,borderColor:l,actionColor:b,titleFontWeight:c,closeColorHover:f,closeColorPressed:h,closeBorderRadius:r,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:p,fontSizeSmall:o,fontSizeMedium:o,fontSizeLarge:o,fontSizeHuge:o,boxShadow:g,borderRadius:r})},cardLight={name:"Card",common:commonLight,self:self$F},cardLight$1=cardLight,cardDark={name:"Card",common:commonDark,self:function(e){var t=self$F(e),r=e.cardColor,n=e.modalColor,o=e.popoverColor;return t.colorEmbedded=r,t.colorEmbeddedModal=n,t.colorEmbeddedPopover=o,t}},cardDark$1=cardDark,style$i=c$3([cB("card","\n font-size: var(--n-font-size);\n line-height: var(--n-line-height);\n display: flex;\n flex-direction: column;\n width: 100%;\n box-sizing: border-box;\n position: relative;\n border-radius: var(--n-border-radius);\n background-color: var(--n-color);\n color: var(--n-text-color);\n word-break: break-word;\n transition: \n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n ",[asModal({background:"var(--n-color-modal)"}),cM("hoverable",[c$3("&:hover","box-shadow: var(--n-box-shadow);")]),cM("content-segmented",[c$3(">",[cE("content",{paddingTop:"var(--n-padding-bottom)"})])]),cM("content-soft-segmented",[c$3(">",[cE("content","\n margin: 0 var(--n-padding-left);\n padding: var(--n-padding-bottom) 0;\n ")])]),cM("footer-segmented",[c$3(">",[cE("footer",{paddingTop:"var(--n-padding-bottom)"})])]),cM("footer-soft-segmented",[c$3(">",[cE("footer","\n padding: var(--n-padding-bottom) 0;\n margin: 0 var(--n-padding-left);\n ")])]),c$3(">",[cB("card-header","\n box-sizing: border-box;\n display: flex;\n align-items: center;\n font-size: var(--n-title-font-size);\n padding:\n var(--n-padding-top)\n var(--n-padding-left)\n var(--n-padding-bottom)\n var(--n-padding-left);\n ",[cE("main","\n font-weight: var(--n-title-font-weight);\n transition: color .3s var(--n-bezier);\n flex: 1;\n min-width: 0;\n color: var(--n-title-text-color);\n "),cE("extra","\n display: flex;\n align-items: center;\n font-size: var(--n-font-size);\n font-weight: 400;\n transition: color .3s var(--n-bezier);\n color: var(--n-text-color);\n "),cE("close","\n margin: 0 0 0 8px;\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n ")]),cE("action","\n box-sizing: border-box;\n transition:\n background-color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n background-clip: padding-box;\n background-color: var(--n-action-color);\n "),cE("content","flex: 1; min-width: 0;"),cE("content, footer","\n box-sizing: border-box;\n padding: 0 var(--n-padding-left) var(--n-padding-bottom) var(--n-padding-left);\n font-size: var(--n-font-size);\n ",[c$3("&:first-child",{paddingTop:"var(--n-padding-bottom)"})]),cE("action","\n background-color: var(--n-action-color);\n padding: var(--n-padding-bottom) var(--n-padding-left);\n border-bottom-left-radius: var(--n-border-radius);\n border-bottom-right-radius: var(--n-border-radius);\n ")]),cB("card-cover","\n overflow: hidden;\n width: 100%;\n border-radius: var(--n-border-radius) var(--n-border-radius) 0 0;\n ",[c$3("img","\n display: block;\n width: 100%;\n ")]),cM("bordered","\n border: 1px solid var(--n-border-color);\n ",[c$3("&:target","border-color: var(--n-color-target);")]),cM("action-segmented",[c$3(">",[cE("action",[c$3("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),cM("content-segmented, content-soft-segmented",[c$3(">",[cE("content",{transition:"border-color 0.3s var(--n-bezier)"},[c$3("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),cM("footer-segmented, footer-soft-segmented",[c$3(">",[cE("footer",{transition:"border-color 0.3s var(--n-bezier)"},[c$3("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),cM("embedded","\n background-color: var(--n-color-embedded);\n ")]),insideModal(cB("card","\n background: var(--n-color-modal);\n ",[cM("embedded","\n background-color: var(--n-color-embedded-modal);\n ")])),insidePopover(cB("card","\n background: var(--n-color-popover);\n ",[cM("embedded","\n background-color: var(--n-color-embedded-popover);\n ")]))]),cardBaseProps={title:String,contentStyle:[Object,String],headerStyle:[Object,String],headerExtraStyle:[Object,String],footerStyle:[Object,String],embedded:Boolean,segmented:{type:[Boolean,Object],default:!1},size:{type:String,default:"medium"},bordered:{type:Boolean,default:!0},closable:Boolean,hoverable:Boolean,role:String,onClose:[Function,Array],tag:{type:String,default:"div"}},cardBasePropKeys=keysOf(cardBaseProps),cardProps=Object.assign(Object.assign({},useTheme.props),cardBaseProps),NCard=defineComponent({name:"Card",props:cardProps,setup:function(e){var t=useConfig(e),r=t.inlineThemeDisabled,n=t.mergedClsPrefixRef,o=t.mergedRtlRef,a=useTheme("Card","-card",style$i,cardLight$1,e,n),i=useRtl("Card",o,n),s=computed((function(){var t=e.size,r=a.value,n=r.self,o=n.color,i=n.colorModal,s=n.colorTarget,l=n.textColor,c=n.titleTextColor,u=n.titleFontWeight,d=n.borderColor,p=n.actionColor,f=n.borderRadius,h=n.lineHeight,v=n.closeIconColor,g=n.closeIconColorHover,m=n.closeIconColorPressed,b=n.closeColorHover,A=n.closeColorPressed,y=n.closeBorderRadius,x=n.closeIconSize,w=n.closeSize,C=n.boxShadow,k=n.colorPopover,_=n.colorEmbedded,S=n.colorEmbeddedModal,B=n.colorEmbeddedPopover,E=n[createKey("padding",t)],T=n[createKey("fontSize",t)],P=n[createKey("titleFontSize",t)],I=r.common.cubicBezierEaseInOut,N=getMargin(E),z=N.top,M=N.left;return{"--n-bezier":I,"--n-border-radius":f,"--n-color":o,"--n-color-modal":i,"--n-color-popover":k,"--n-color-embedded":_,"--n-color-embedded-modal":S,"--n-color-embedded-popover":B,"--n-color-target":s,"--n-text-color":l,"--n-line-height":h,"--n-action-color":p,"--n-title-text-color":c,"--n-title-font-weight":u,"--n-close-icon-color":v,"--n-close-icon-color-hover":g,"--n-close-icon-color-pressed":m,"--n-close-color-hover":b,"--n-close-color-pressed":A,"--n-border-color":d,"--n-box-shadow":C,"--n-padding-top":z,"--n-padding-bottom":N.bottom,"--n-padding-left":M,"--n-font-size":T,"--n-title-font-size":P,"--n-close-size":w,"--n-close-icon-size":x,"--n-close-border-radius":y}})),l=r?useThemeClass("card",computed((function(){return e.size[0]})),s,e):void 0;return{rtlEnabled:i,mergedClsPrefix:n,mergedTheme:a,handleCloseClick:function(){var t=e.onClose;t&&call$1(t)},cssVars:r?void 0:s,themeClass:null==l?void 0:l.themeClass,onRender:null==l?void 0:l.onRender}},render:function(){var e,t=this,r=this.segmented,n=this.bordered,o=this.hoverable,a=this.mergedClsPrefix,i=this.rtlEnabled,s=this.onRender,l=this.embedded,c=this.tag,u=this.$slots;return null==s||s(),h$1(c,{class:["".concat(a,"-card"),this.themeClass,l&&"".concat(a,"-card--embedded"),(e={},_defineProperty2(e,"".concat(a,"-card--rtl"),i),_defineProperty2(e,"".concat(a,"-card--content").concat("boolean"!=typeof r&&"soft"===r.content?"-soft":"","-segmented"),!0===r||!1!==r&&r.content),_defineProperty2(e,"".concat(a,"-card--footer").concat("boolean"!=typeof r&&"soft"===r.footer?"-soft":"","-segmented"),!0===r||!1!==r&&r.footer),_defineProperty2(e,"".concat(a,"-card--action-segmented"),!0===r||!1!==r&&r.action),_defineProperty2(e,"".concat(a,"-card--bordered"),n),_defineProperty2(e,"".concat(a,"-card--hoverable"),o),e)],style:this.cssVars,role:this.role},resolveWrappedSlot(u.cover,(function(e){return e&&h$1("div",{class:"".concat(a,"-card-cover"),role:"none"},e)})),resolveWrappedSlot(u.header,(function(e){return e||t.title||t.closable?h$1("div",{class:"".concat(a,"-card-header"),style:t.headerStyle},h$1("div",{class:"".concat(a,"-card-header__main"),role:"heading"},e||t.title),resolveWrappedSlot(u["header-extra"],(function(e){return e&&h$1("div",{class:"".concat(a,"-card-header__extra"),style:t.headerExtraStyle},e)})),t.closable?h$1(NBaseClose,{clsPrefix:a,class:"".concat(a,"-card-header__close"),onClick:t.handleCloseClick,absolute:!0}):null):null})),resolveWrappedSlot(u.default,(function(e){return e&&h$1("div",{class:"".concat(a,"-card__content"),style:t.contentStyle,role:"none"},e)})),resolveWrappedSlot(u.footer,(function(e){return e&&[h$1("div",{class:"".concat(a,"-card__footer"),style:t.footerStyle,role:"none"},e)]})),resolveWrappedSlot(u.action,(function(e){return e&&h$1("div",{class:"".concat(a,"-card__action"),role:"none"},e)})))}}),self$E=function(e){return{dotSize:"8px",dotColor:"rgba(255, 255, 255, .3)",dotColorActive:"rgba(255, 255, 255, 1)",dotColorFocus:"rgba(255, 255, 255, .5)",dotLineWidth:"16px",dotLineWidthActive:"24px",arrowColor:"#eee"}},carouselDark={name:"Carousel",common:commonDark,self:self$E},carouselDark$1=carouselDark,commonVariables$c={sizeSmall:"14px",sizeMedium:"16px",sizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},self$D=function(e){var t=e.baseColor,r=e.inputColorDisabled,n=e.cardColor,o=e.modalColor,a=e.popoverColor,i=e.textColorDisabled,s=e.borderColor,l=e.primaryColor,c=e.textColor2,u=e.fontSizeSmall,d=e.fontSizeMedium,p=e.fontSizeLarge,f=e.borderRadiusSmall,h=e.lineHeight;return Object.assign(Object.assign({},commonVariables$c),{labelLineHeight:h,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:p,borderRadius:f,color:t,colorChecked:l,colorDisabled:r,colorDisabledChecked:r,colorTableHeader:n,colorTableHeaderModal:o,colorTableHeaderPopover:a,checkMarkColor:t,checkMarkColorDisabled:i,checkMarkColorDisabledChecked:i,border:"1px solid ".concat(s),borderDisabled:"1px solid ".concat(s),borderDisabledChecked:"1px solid ".concat(s),borderChecked:"1px solid ".concat(l),borderFocus:"1px solid ".concat(l),boxShadowFocus:"0 0 0 2px ".concat(changeColor(l,{alpha:.3})),textColor:c,textColorDisabled:i})},checkboxLight={name:"Checkbox",common:commonLight,self:self$D},checkboxLight$1=checkboxLight,checkboxDark={name:"Checkbox",common:commonDark,self:function(e){var t=e.cardColor,r=self$D(e);return r.color="#0000",r.checkMarkColor=t,r}},checkboxDark$1=checkboxDark,self$C=function(e){var t=e.borderRadius,r=e.boxShadow2,n=e.popoverColor,o=e.textColor2,a=e.textColor3,i=e.primaryColor,s=e.textColorDisabled,l=e.dividerColor,c=e.hoverColor,u=e.fontSizeMedium;return{menuBorderRadius:t,menuColor:n,menuBoxShadow:r,menuDividerColor:l,menuHeight:"calc(var(--n-option-height) * 6.6)",optionArrowColor:a,optionHeight:e.heightMedium,optionFontSize:u,optionColorHover:c,optionTextColor:o,optionTextColorActive:i,optionTextColorDisabled:s,optionCheckMarkColor:i,loadingColor:i,columnWidth:"180px"}},cascaderLight=createTheme({name:"Cascader",common:commonLight,peers:{InternalSelectMenu:internalSelectMenuLight$1,InternalSelection:internalSelectionLight$1,Scrollbar:scrollbarLight$1,Checkbox:checkboxLight$1,Empty:emptyLight$1},self:self$C}),cascaderLight$1=cascaderLight,cascaderDark={name:"Cascader",common:commonDark,peers:{InternalSelectMenu:internalSelectMenuDark$1,InternalSelection:internalSelectionDark$1,Scrollbar:scrollbarDark$1,Checkbox:checkboxDark$1,Empty:emptyLight$1},self:self$C},cascaderDark$1=cascaderDark;function getRawNodePath(e){return e?e.map((function(e){return e.rawNode})):null}function createSelectOptions(e,t,r,n){var o=[],a=[];return function e(i){var s,l=_createForOfIteratorHelper(i);try{for(l.s();!(s=l.n()).done;){var c=s.value;if(!c.disabled){var u=c.rawNode;a.push(u),!c.isLeaf&&t||o.push({label:getPathLabel(c,n,r),value:c.key,rawNode:c.rawNode,path:Array.from(a)}),!c.isLeaf&&c.children&&e(c.children),a.pop()}}}catch(err){l.e(err)}finally{l.f()}}(e),o}function getPathLabel(e,t,r){for(var n=[];e;)n.push(e.rawNode[r]),e=e.parent;return n.reverse().join(t)}var CheckMark=h$1("svg",{viewBox:"0 0 64 64",class:"check-icon"},h$1("path",{d:"M50.42,16.76L22.34,39.45l-8.1-11.46c-1.12-1.58-3.3-1.96-4.88-0.84c-1.58,1.12-1.95,3.3-0.84,4.88l10.26,14.51 c0.56,0.79,1.42,1.31,2.38,1.45c0.16,0.02,0.32,0.03,0.48,0.03c0.8,0,1.57-0.27,2.2-0.78l30.99-25.03c1.5-1.21,1.74-3.42,0.52-4.92 C54.13,15.78,51.93,15.55,50.42,16.76z"})),LineMark=h$1("svg",{viewBox:"0 0 100 100",class:"line-icon"},h$1("path",{d:"M80.2,55.5H21.4c-2.8,0-5.1-2.5-5.1-5.5l0,0c0-3,2.3-5.5,5.1-5.5h58.7c2.8,0,5.1,2.5,5.1,5.5l0,0C85.2,53.1,82.9,55.5,80.2,55.5z"})),checkboxGroupInjectionKey=createInjectionKey("n-checkbox-group"),style$h=c$3([cB("checkbox","\n line-height: var(--n-label-line-height);\n font-size: var(--n-font-size);\n outline: none;\n cursor: pointer;\n display: inline-flex;\n flex-wrap: nowrap;\n align-items: flex-start;\n word-break: break-word;\n --n-merged-color-table: var(--n-color-table);\n ",[c$3("&:hover",[cB("checkbox-box",[cE("border",{border:"var(--n-border-checked)"})])]),c$3("&:focus:not(:active)",[cB("checkbox-box",[cE("border","\n border: var(--n-border-focus);\n box-shadow: var(--n-box-shadow-focus);\n ")])]),cM("inside-table",[cB("checkbox-box","\n background-color: var(--n-merged-color-table);\n ")]),cM("checked",[cB("checkbox-box","\n background-color: var(--n-color-checked);\n ",[cB("checkbox-icon",[c$3(".check-icon","\n opacity: 1;\n transform: scale(1);\n ")])])]),cM("indeterminate",[cB("checkbox-box",[cB("checkbox-icon",[c$3(".check-icon","\n opacity: 0;\n transform: scale(.5);\n "),c$3(".line-icon","\n opacity: 1;\n transform: scale(1);\n ")])])]),cM("checked, indeterminate",[c$3("&:focus:not(:active)",[cB("checkbox-box",[cE("border","\n border: var(--n-border-checked);\n box-shadow: var(--n-box-shadow-focus);\n ")])]),cB("checkbox-box","\n background-color: var(--n-color-checked);\n border-left: 0;\n border-top: 0;\n ",[cE("border",{border:"var(--n-border-checked)"})])]),cM("disabled",{cursor:"not-allowed"},[cM("checked",[cB("checkbox-box","\n background-color: var(--n-color-disabled-checked);\n ",[cE("border",{border:"var(--n-border-disabled-checked)"}),cB("checkbox-icon",[c$3(".check-icon, .line-icon",{fill:"var(--n-check-mark-color-disabled-checked)"})])])]),cB("checkbox-box","\n background-color: var(--n-color-disabled);\n ",[cE("border",{border:"var(--n-border-disabled)"}),cB("checkbox-icon",[c$3(".check-icon, .line-icon",{fill:"var(--n-check-mark-color-disabled)"})])]),cE("label",{color:"var(--n-text-color-disabled)"})]),cB("checkbox-box-wrapper","\n position: relative;\n width: var(--n-size);\n flex-shrink: 0;\n flex-grow: 0;\n user-select: none;\n -webkit-user-select: none;\n "),cB("checkbox-box","\n position: absolute;\n left: 0;\n top: 50%;\n transform: translateY(-50%);\n height: var(--n-size);\n width: var(--n-size);\n display: inline-block;\n box-sizing: border-box;\n border-radius: var(--n-border-radius);\n background-color: var(--n-color);\n transition: background-color 0.3s var(--n-bezier);\n ",[cE("border","\n transition:\n border-color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier);\n border-radius: inherit;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n border: var(--n-border);\n "),cB("checkbox-icon","\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n left: 1px;\n right: 1px;\n top: 1px;\n bottom: 1px;\n ",[c$3(".check-icon, .line-icon","\n width: 100%;\n fill: var(--n-check-mark-color);\n opacity: 0;\n transform: scale(0.5);\n transform-origin: center;\n transition:\n fill 0.3s var(--n-bezier),\n transform 0.3s var(--n-bezier),\n opacity 0.3s var(--n-bezier),\n border-color 0.3s var(--n-bezier);\n "),iconSwitchTransition({left:"1px",top:"1px"})])]),cE("label","\n color: var(--n-text-color);\n transition: color .3s var(--n-bezier);\n user-select: none;\n -webkit-user-select: none;\n padding: var(--n-label-padding);\n font-weight: var(--n-label-font-weight);\n ",[c$3("&:empty",{display:"none"})])]),insideModal(cB("checkbox","\n --n-merged-color-table: var(--n-color-table-modal);\n ")),insidePopover(cB("checkbox","\n --n-merged-color-table: var(--n-color-table-popover);\n "))]),checkboxProps=Object.assign(Object.assign({},useTheme.props),{size:String,checked:{type:[Boolean,String,Number],default:void 0},defaultChecked:{type:[Boolean,String,Number],default:!1},value:[String,Number],disabled:{type:Boolean,default:void 0},indeterminate:Boolean,label:String,focusable:{type:Boolean,default:!0},checkedValue:{type:[Boolean,String,Number],default:!0},uncheckedValue:{type:[Boolean,String,Number],default:!1},"onUpdate:checked":[Function,Array],onUpdateChecked:[Function,Array],privateInsideTable:Boolean,onChange:[Function,Array]}),NCheckbox=defineComponent({name:"Checkbox",props:checkboxProps,setup:function(e){var t=ref(null),r=useConfig(e),n=r.mergedClsPrefixRef,o=r.inlineThemeDisabled,a=r.mergedRtlRef,i=useFormItem(e,{mergedSize:function(t){var r=e.size;if(void 0!==r)return r;if(c){var n=c.mergedSizeRef.value;if(void 0!==n)return n}if(t){var o=t.mergedSize;if(void 0!==o)return o.value}return"medium"},mergedDisabled:function(t){var r=e.disabled;if(void 0!==r)return r;if(c){if(c.disabledRef.value)return!0;var n=c.maxRef.value,o=c.checkedCountRef;if(void 0!==n&&o.value>=n&&!p.value)return!0;var a=c.minRef.value;if(void 0!==a&&o.value<=a&&p.value)return!0}return!!t&&t.disabled.value}}),s=i.mergedDisabledRef,l=i.mergedSizeRef,c=inject(checkboxGroupInjectionKey,null),u=ref(e.defaultChecked),d=useMergedState(toRef(e,"checked"),u),p=useMemo((function(){if(c){var t=c.valueSetRef.value;return!(!t||void 0===e.value)&&t.has(e.value)}return d.value===e.checkedValue})),f=useTheme("Checkbox","-checkbox",style$h,checkboxLight$1,e,n);function h(t){if(c&&void 0!==e.value)c.toggleCheckbox(!p.value,e.value);else{var r=e.onChange,n=e["onUpdate:checked"],o=e.onUpdateChecked,a=i.nTriggerFormInput,s=i.nTriggerFormChange,l=p.value?e.uncheckedValue:e.checkedValue;n&&call$1(n,l,t),o&&call$1(o,l,t),r&&call$1(r,l,t),a(),s(),u.value=l}}var v={focus:function(){var e;null===(e=t.value)||void 0===e||e.focus()},blur:function(){var e;null===(e=t.value)||void 0===e||e.blur()}},g=useRtl("Checkbox",a,n),m=computed((function(){var e=l.value,t=f.value,r=t.common.cubicBezierEaseInOut,n=t.self,o=n.borderRadius,a=n.color,i=n.colorChecked,s=n.colorDisabled,c=n.colorTableHeader,u=n.colorTableHeaderModal,d=n.colorTableHeaderPopover,p=n.checkMarkColor,h=n.checkMarkColorDisabled,v=n.border,g=n.borderFocus,m=n.borderDisabled,b=n.borderChecked,A=n.boxShadowFocus,y=n.textColor,x=n.textColorDisabled,w=n.checkMarkColorDisabledChecked,C=n.colorDisabledChecked,k=n.borderDisabledChecked,_=n.labelPadding,S=n.labelLineHeight,B=n.labelFontWeight,E=n[createKey("fontSize",e)];return{"--n-label-line-height":S,"--n-label-font-weight":B,"--n-size":n[createKey("size",e)],"--n-bezier":r,"--n-border-radius":o,"--n-border":v,"--n-border-checked":b,"--n-border-focus":g,"--n-border-disabled":m,"--n-border-disabled-checked":k,"--n-box-shadow-focus":A,"--n-color":a,"--n-color-checked":i,"--n-color-table":c,"--n-color-table-modal":u,"--n-color-table-popover":d,"--n-color-disabled":s,"--n-color-disabled-checked":C,"--n-text-color":y,"--n-text-color-disabled":x,"--n-check-mark-color":p,"--n-check-mark-color-disabled":h,"--n-check-mark-color-disabled-checked":w,"--n-font-size":E,"--n-label-padding":_}})),b=o?useThemeClass("checkbox",computed((function(){return l.value[0]})),m,e):void 0;return Object.assign(i,v,{rtlEnabled:g,selfRef:t,mergedClsPrefix:n,mergedDisabled:s,renderedChecked:p,mergedTheme:f,labelId:createId(),handleClick:function(e){s.value||h(e)},handleKeyUp:function(e){if(!s.value)switch(e.key){case" ":case"Enter":h(e)}},handleKeyDown:function(e){if(" "===e.key)e.preventDefault()},cssVars:o?void 0:m,themeClass:null==b?void 0:b.themeClass,onRender:null==b?void 0:b.onRender})},render:function(){var e,t=this,r=this.$slots,n=this.renderedChecked,o=this.mergedDisabled,a=this.indeterminate,i=this.privateInsideTable,s=this.cssVars,l=this.labelId,c=this.label,u=this.mergedClsPrefix,d=this.focusable,p=this.handleKeyUp,f=this.handleKeyDown,h=this.handleClick;return null===(e=this.onRender)||void 0===e||e.call(this),h$1("div",{ref:"selfRef",class:["".concat(u,"-checkbox"),this.themeClass,this.rtlEnabled&&"".concat(u,"-checkbox--rtl"),n&&"".concat(u,"-checkbox--checked"),o&&"".concat(u,"-checkbox--disabled"),a&&"".concat(u,"-checkbox--indeterminate"),i&&"".concat(u,"-checkbox--inside-table")],tabindex:o||!d?void 0:0,role:"checkbox","aria-checked":a?"mixed":n,"aria-labelledby":l,style:s,onKeyup:p,onKeydown:f,onClick:h,onMousedown:function(){on("selectstart",window,(function(e){e.preventDefault()}),{once:!0})}},h$1("div",{class:"".concat(u,"-checkbox-box-wrapper")}," ",h$1("div",{class:"".concat(u,"-checkbox-box")},h$1(NIconSwitchTransition,null,{default:function(){return t.indeterminate?h$1("div",{key:"indeterminate",class:"".concat(u,"-checkbox-icon")},LineMark):h$1("div",{key:"check",class:"".concat(u,"-checkbox-icon")},CheckMark)}}),h$1("div",{class:"".concat(u,"-checkbox-box__border")}))),null!==c||r.default?h$1("span",{class:"".concat(u,"-checkbox__label"),id:l},r.default?r.default():c):null)}}),cascaderInjectionKey=createInjectionKey("n-cascader"),NCascaderOption=defineComponent({name:"NCascaderOption",props:{tmNode:{type:Object,required:!0}},setup:function(e){var t=inject(cascaderInjectionKey),r=t.expandTriggerRef,n=t.remoteRef,o=t.multipleRef,a=t.mergedValueRef,i=t.checkedKeysRef,s=t.indeterminateKeysRef,l=t.hoverKeyPathRef,c=t.keyboardKeyRef,u=t.loadingKeySetRef,d=t.cascadeRef,p=t.mergedCheckStrategyRef,f=t.onLoadRef,h=t.mergedClsPrefixRef,v=t.mergedThemeRef,g=t.labelFieldRef,m=t.showCheckboxRef,b=t.updateHoverKey,A=t.updateKeyboardKey,y=t.addLoadingKey,x=t.deleteLoadingKey,w=t.closeMenu,C=t.doCheck,k=t.doUncheck,_=t.renderLabelRef,S=computed((function(){return e.tmNode.key})),B=computed((function(){var e=r.value;return!n.value&&"hover"===e})),E=computed((function(){if(B.value)return L})),T=computed((function(){if(B.value)return j})),P=useMemo((function(){return o.value?i.value.includes(S.value):a.value===S.value})),I=useMemo((function(){return!!o.value&&s.value.includes(S.value)})),N=useMemo((function(){return l.value.includes(S.value)})),z=useMemo((function(){var e=c.value;return null!==e&&e===S.value})),M=useMemo((function(){return!!n.value&&u.value.has(S.value)})),R=computed((function(){return e.tmNode.isLeaf})),D=computed((function(){return e.tmNode.disabled})),O=computed((function(){return e.tmNode.rawNode[g.value]})),F=computed((function(){return e.tmNode.shallowLoaded}));function L(){if(B.value&&!D.value){var e=S.value;b(e),A(e)}}function j(){B.value&&L()}function V(){var e=o.value,t=S.value;e?I.value||P.value?k(t):C(t):(C(t),w(!0))}return{checkStrategy:p,multiple:o,cascade:d,checked:P,indeterminate:I,hoverPending:N,keyboardPending:z,isLoading:M,showCheckbox:m,isLeaf:R,disabled:D,label:O,mergedClsPrefix:h,mergedTheme:v,handleClick:function(t){if(!D.value){var r=n.value,o=u.value,a=f.value,i=S.value,s=R.value,l=F.value;happensIn(t,"checkbox")||(r&&!l&&!o.has(i)&&a&&(y(i),a(e.tmNode.rawNode).then((function(){x(i)})).catch((function(){x(i)}))),b(i),A(i)),s&&V()}},handleCheckboxUpdateValue:function(){R.value||V()},mergedHandleMouseEnter:E,mergedHandleMouseMove:T,renderLabel:_}},render:function(){var e,t=this,r=this.mergedClsPrefix,n=this.renderLabel;return h$1("div",{class:["".concat(r,"-cascader-option"),(e={},_defineProperty2(e,"".concat(r,"-cascader-option--pending"),this.keyboardPending||this.hoverPending),_defineProperty2(e,"".concat(r,"-cascader-option--disabled"),this.disabled),_defineProperty2(e,"".concat(r,"-cascader-option--show-prefix"),this.showCheckbox),e)],onMouseenter:this.mergedHandleMouseEnter,onMousemove:this.mergedHandleMouseMove,onClick:this.handleClick},this.showCheckbox?h$1("div",{class:"".concat(r,"-cascader-option__prefix")},h$1(NCheckbox,{focusable:!1,"data-checkbox":!0,disabled:this.disabled,checked:this.checked,indeterminate:this.indeterminate,theme:this.mergedTheme.peers.Checkbox,themeOverrides:this.mergedTheme.peerOverrides.Checkbox,onUpdateChecked:this.handleCheckboxUpdateValue})):null,h$1("span",{class:"".concat(r,"-cascader-option__label")},n?n(this.tmNode.rawNode,this.checked):this.label),h$1("div",{class:"".concat(r,"-cascader-option__suffix")},h$1("div",{class:"".concat(r,"-cascader-option-icon-placeholder")},this.isLeaf?"child"!==this.checkStrategy||this.multiple&&this.cascade?null:h$1(Transition,{name:"fade-in-scale-up-transition"},{default:function(){return t.checked?h$1(NBaseIcon,{clsPrefix:r,class:"".concat(r,"-cascader-option-icon ").concat(r,"-cascader-option-icon--checkmark")},{default:function(){return h$1(FinishedIcon,null)}}):null}}):h$1(NBaseLoading,{clsPrefix:r,scale:.85,strokeWidth:24,show:this.isLoading,class:"".concat(r,"-cascader-option-icon")},{default:function(){return h$1(NBaseIcon,{clsPrefix:r,key:"arrow",class:"".concat(r,"-cascader-option-icon ").concat(r,"-cascader-option-icon--arrow")},{default:function(){return h$1(ChevronRightIcon,null)}})}}))))}}),NCascaderSubmenu=defineComponent({name:"CascaderSubmenu",props:{depth:{type:Number,required:!0},tmNodes:{type:Array,required:!0}},setup:function(){var e=inject(cascaderInjectionKey),t=e.virtualScrollRef,r=e.mergedClsPrefixRef,n=e.mergedThemeRef,o=e.optionHeightRef,a=ref(null),i=ref(null),s={scroll:function(e,r){var n,o;t.value?null===(n=i.value)||void 0===n||n.scrollTo({index:e}):null===(o=a.value)||void 0===o||o.scrollTo({index:e,elSize:r})}};return Object.assign({mergedClsPrefix:r,mergedTheme:n,scrollbarInstRef:a,vlInstRef:i,virtualScroll:t,itemSize:computed((function(){return depx(o.value)})),handleVlScroll:function(){var e;null===(e=a.value)||void 0===e||e.sync()},getVlContainer:function(){var e;return null===(e=i.value)||void 0===e?void 0:e.listElRef},getVlContent:function(){var e;return null===(e=i.value)||void 0===e?void 0:e.itemsElRef}},s)},render:function(){var e=this,t=this.mergedClsPrefix,r=this.mergedTheme,n=this.virtualScroll;return h$1("div",{class:[n&&"".concat(t,"-cascader-submenu--virtual"),"".concat(t,"-cascader-submenu")]},h$1(NScrollbar$1,{ref:"scrollbarInstRef",theme:r.peers.Scrollbar,themeOverrides:r.peerOverrides.Scrollbar,container:n?this.getVlContainer:void 0,content:n?this.getVlContent:void 0},{default:function(){return n?h$1(VVirtualList,{items:e.tmNodes,itemSize:e.itemSize,onScroll:e.handleVlScroll,showScrollbar:!1,ref:"vlInstRef"},{default:function(e){var t=e.item;return h$1(NCascaderOption,{key:t.key,tmNode:t})}}):e.tmNodes.map((function(e){return h$1(NCascaderOption,{key:e.key,tmNode:e})}))}}))}}),CascaderMenu=defineComponent({name:"NCascaderMenu",props:{value:[String,Number,Array],placement:{type:String,default:"bottom-start"},show:Boolean,menuModel:{type:Array,required:!0},loading:Boolean,onFocus:{type:Function,required:!0},onBlur:{type:Function,required:!0},onKeydown:{type:Function,required:!0},onMousedown:{type:Function,required:!0},onTabout:{type:Function,required:!0}},setup:function(e){var t=inject(cascaderInjectionKey),r=t.localeRef,n=t.isMountedRef,o=t.mergedClsPrefixRef,a=t.syncCascaderMenuPosition,i=t.handleCascaderMenuClickOutside,s=t.mergedThemeRef,l=[],c=ref(null),u=ref(null);useOnResize(u,(function(){a()}));var d={scroll:function(e,t,r){var n=l[e];n&&n.scroll(t,r)},showErrorMessage:function(e){var t,n=r.value.loadingRequiredMessage;null===(t=c.value)||void 0===t||t.showOnce(n(e))}};return Object.assign({isMounted:n,mergedClsPrefix:o,selfElRef:u,submenuInstRefs:l,maskInstRef:c,mergedTheme:s,handleFocusin:function(t){var r=u.value;r&&(r.contains(t.relatedTarget)||e.onFocus(t))},handleFocusout:function(t){var r=u.value;r&&(r.contains(t.relatedTarget)||e.onBlur(t))},handleClickOutside:function(e){i(e)}},d)},render:function(){var e=this,t=this.submenuInstRefs,r=this.mergedClsPrefix,n=this.mergedTheme;return h$1(Transition,{name:"fade-in-scale-up-transition",appear:this.isMounted},{default:function(){return e.show?withDirectives(h$1("div",{tabindex:"0",ref:"selfElRef",class:"".concat(r,"-cascader-menu"),onMousedown:e.onMousedown,onFocusin:e.handleFocusin,onFocusout:e.handleFocusout,onKeydown:e.onKeydown},e.menuModel[0].length?h$1("div",{class:"".concat(r,"-cascader-submenu-wrapper")},e.menuModel.map((function(e,r){return h$1(NCascaderSubmenu,{ref:function(e){e&&(t[r]=e)},key:r,tmNodes:e,depth:r+1})})),h$1(NBaseMenuMask,{clsPrefix:r,ref:"maskInstRef"})):h$1("div",{class:"".concat(r,"-cascader-menu__empty")},resolveSlot(e.$slots.empty,(function(){return[h$1(NEmpty,{theme:n.peers.Empty,themeOverrides:n.peerOverrides.Empty})]}))),resolveWrappedSlot(e.$slots.action,(function(e){return e&&h$1("div",{class:"".concat(r,"-cascader-menu-action"),"data-action":!0},e)})),h$1(FocusDetector,{onFocus:e.onTabout})),[[clickoutside$1,e.handleClickOutside,void 0,{capture:!0}]]):null}})}}),CascaderSelectMenu=defineComponent({name:"NCascaderSelectMenu",props:{value:{type:[String,Number,Array],default:null},show:Boolean,pattern:{type:String,default:""},multiple:Boolean,tmNodes:{type:Array,default:function(){return[]}},filter:Function,labelField:{type:String,required:!0},separator:{type:String,required:!0}},setup:function(e){var t=inject(cascaderInjectionKey),r=t.isMountedRef,n=t.mergedValueRef,o=t.mergedClsPrefixRef,a=t.mergedThemeRef,i=t.mergedCheckStrategyRef,s=t.slots,l=t.syncSelectMenuPosition,c=t.closeMenu,u=t.handleSelectMenuClickOutside,d=t.doUncheck,p=t.doCheck,f=t.clearPattern,h=ref(null),v=computed((function(){return createSelectOptions(e.tmNodes,"child"===i.value,e.labelField,e.separator)})),g=computed((function(){var t=e.filter;if(t)return t;var r=e.labelField;return function(e,t,n){return n.some((function(t){return t[r]&&~t[r].indexOf(e)}))}})),m=computed((function(){var t=e.pattern,r=g.value;return(t?v.value.filter((function(e){return r(t,e.rawNode,e.path)})):v.value).map((function(e){return{value:e.value,label:e.label}}))})),b=computed((function(){return createTreeMate(m.value,createTmOptions("value","children"))}));function A(t){if(e.multiple){var r=n.value;Array.isArray(r)?r.includes(t.key)?d(t.key):p(t.key):null===r&&p(t.key),f()}else p(t.key),c(!0)}var y={prev:function(){var e;null===(e=h.value)||void 0===e||e.prev()},next:function(){var e;null===(e=h.value)||void 0===e||e.next()},enter:function(){var e;if(h){var t=null===(e=h.value)||void 0===e?void 0:e.getPendingTmNode();return t&&A(t),!0}return!1}};return Object.assign({isMounted:r,mergedTheme:a,mergedClsPrefix:o,menuInstRef:h,selectTreeMate:b,handleResize:function(){l()},handleToggle:function(e){A(e)},handleClickOutside:function(e){u(e)},cascaderSlots:s},y)},render:function(){var e=this,t=this.mergedClsPrefix,r=this.isMounted,n=this.mergedTheme,o=this.cascaderSlots;return h$1(Transition,{name:"fade-in-scale-up-transition",appear:r},{default:function(){return e.show?withDirectives(h$1(NInternalSelectMenu,{ref:"menuInstRef",onResize:e.handleResize,clsPrefix:t,class:"".concat(t,"-cascader-menu"),autoPending:!0,themeOverrides:n.peerOverrides.InternalSelectMenu,theme:n.peers.InternalSelectMenu,treeMate:e.selectTreeMate,multiple:e.multiple,value:e.value,onToggle:e.handleToggle},{empty:function(){return resolveSlot(o["not-found"],(function(){return[]}))}}),[[clickoutside$1,e.handleClickOutside,void 0,{capture:!0}]]):null}})}}),style$g=c$3([cB("cascader-menu","\n outline: none;\n position: relative;\n margin: 4px 0;\n display: flex;\n flex-flow: column nowrap;\n border-radius: var(--n-menu-border-radius);\n overflow: hidden;\n box-shadow: var(--n-menu-box-shadow);\n color: var(--n-option-text-color);\n background-color: var(--n-menu-color);\n ",[fadeInScaleUpTransition({transformOrigin:"inherit",duration:"0.2s"}),cE("empty","\n display: flex;\n padding: 12px 32px;\n flex: 1;\n justify-content: center;\n "),cB("scrollbar",{width:"100%"}),cB("base-menu-mask",{backgroundColor:"var(--n-menu-mask-color)"}),cB("base-loading",{color:"var(--n-loading-color)"}),cB("cascader-submenu-wrapper","\n position: relative;\n display: flex;\n flex-wrap: nowrap;\n "),cB("cascader-submenu","\n height: var(--n-menu-height);\n min-width: var(--n-column-width);\n position: relative;\n ",[cM("virtual","\n width: var(--n-column-width);\n "),cB("scrollbar-content",{position:"relative"}),c$3("&:first-child","\n border-top-left-radius: var(--n-menu-border-radius);\n border-bottom-left-radius: var(--n-menu-border-radius);\n "),c$3("&:last-child","\n border-top-right-radius: var(--n-menu-border-radius);\n border-bottom-right-radius: var(--n-menu-border-radius);\n "),c$3("&:not(:first-child)","\n border-left: 1px solid var(--n-menu-divider-color);\n ")]),cB("cascader-menu-action","\n box-sizing: border-box;\n padding: 8px;\n border-top: 1px solid var(--n-menu-divider-color);\n "),cB("cascader-option","\n height: var(--n-option-height);\n line-height: var(--n-option-height);\n font-size: var(--n-option-font-size);\n padding: 0 0 0 18px;\n box-sizing: border-box;\n min-width: 182px;\n background-color: #0000;\n display: flex;\n align-items: center;\n white-space: nowrap;\n position: relative;\n cursor: pointer;\n transition:\n background-color .2s var(--n-bezier),\n color 0.2s var(--n-bezier);\n ",[cM("show-prefix",{paddingLeft:0}),cE("label","\n flex: 1 0 0;\n overflow: hidden;\n text-overflow: ellipsis;\n "),cE("prefix",{width:"32px",display:"flex",alignItems:"center",justifyContent:"center"}),cE("suffix",{width:"32px",display:"flex",alignItems:"center",justifyContent:"center"}),cB("cascader-option-icon-placeholder",{lineHeight:0,position:"relative",width:"16px",height:"16px",fontSize:"16px"},[cB("cascader-option-icon",[cM("checkmark",{color:"var(--n-option-check-mark-color)"},[fadeInScaleUpTransition({originalTransition:"background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier)"})]),cM("arrow",{color:"var(--n-option-arrow-color)"})])]),cM("selected",{color:"var(--n-option-text-color-active)"}),cM("active",{color:"var(--n-option-text-color-active)",backgroundColor:"var(--n-option-color-hover)"}),cM("pending",{backgroundColor:"var(--n-option-color-hover)"}),c$3("&:hover",{backgroundColor:"var(--n-option-color-hover)"}),cM("disabled","\n color: var(--n-option-text-color-disabled);\n background-color: #0000;\n cursor: not-allowed;\n ",[cB("cascader-option-icon",[cM("arrow",{color:"var(--n-option-text-color-disabled)"})])])])]),cB("cascader","\n z-index: auto;\n position: relative;\n width: 100%;\n ")]),cascaderProps=Object.assign(Object.assign({},useTheme.props),{allowCheckingNotLoaded:Boolean,to:useAdjustedTo.propTo,bordered:{type:Boolean,default:void 0},options:{type:Array,default:function(){return[]}},value:[String,Number,Array],defaultValue:{type:[String,Number,Array],default:null},placeholder:String,multiple:Boolean,size:String,filterable:Boolean,disabled:{type:Boolean,default:void 0},disabledField:{type:String,default:"disabled"},expandTrigger:{type:String,default:"click"},clearable:Boolean,clearFilterAfterSelect:{type:Boolean,default:!0},remote:Boolean,onLoad:Function,separator:{type:String,default:" / "},filter:Function,placement:{type:String,default:"bottom-start"},cascade:{type:Boolean,default:!0},leafOnly:Boolean,showPath:{type:Boolean,default:!0},show:{type:Boolean,default:void 0},maxTagCount:[String,Number],menuProps:Object,filterMenuProps:Object,virtualScroll:{type:Boolean,default:!0},checkStrategy:{type:String,default:"all"},valueField:{type:String,default:"value"},labelField:{type:String,default:"label"},childrenField:{type:String,default:"children"},renderLabel:Function,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onBlur:Function,onFocus:Function,onChange:[Function,Array]}),NCascader=defineComponent({name:"Cascader",props:cascaderProps,setup:function(e,t){var r=t.slots,n=useConfig(e),o=n.mergedBorderedRef,a=n.mergedClsPrefixRef,i=n.namespaceRef,s=n.inlineThemeDisabled,l=useTheme("Cascader","-cascader",style$g,cascaderLight$1,e,a),c=useLocale("Cascader").localeRef,u=ref(e.defaultValue),d=useMergedState(computed((function(){return e.value})),u),p=computed((function(){return e.leafOnly?"child":e.checkStrategy})),f=ref(""),h=useFormItem(e),v=h.mergedSizeRef,g=h.mergedDisabledRef,m=h.mergedStatusRef,b=ref(null),A=ref(null),y=ref(null),x=ref(null),w=ref(null),C=ref(new Set),k=ref(null),_=ref(null),S=useAdjustedTo(e),B=ref(!1),E=function(e){C.value.add(e)},T=function(e){C.value.delete(e)},P=computed((function(){var t=e.valueField,r=e.childrenField,n=e.disabledField;return createTreeMate(e.options,{getDisabled:function(e){return e[n]},getKey:function(e){return e[t]},getChildren:function(e){return e[r]}})})),I=computed((function(){var t=e.cascade;return e.multiple&&Array.isArray(d.value)?P.value.getCheckedKeys(d.value,{cascade:t,allowNotLoaded:e.allowCheckingNotLoaded}):{checkedKeys:[],indeterminateKeys:[]}})),N=computed((function(){return I.value.checkedKeys})),z=computed((function(){return I.value.indeterminateKeys})),M=computed((function(){var e,t=P.value.getPath(w.value),r=t.treeNodePath,n=t.treeNode;return null===n?e=[P.value.treeNodes]:(e=r.map((function(e){return e.siblings})),n.isLeaf||C.value.has(n.key)||!n.children||e.push(n.children)),e})),R=computed((function(){return P.value.getPath(w.value).keyPath})),D=computed((function(){return l.value.self.optionHeight}));function O(t){var r=e.onUpdateShow,n=e["onUpdate:show"];r&&call$1(r,t),n&&call$1(n,t),G.value=t}function F(t,r,n){var o=e.onUpdateValue,a=e["onUpdate:value"],i=e.onChange,s=h.nTriggerFormInput,l=h.nTriggerFormChange;o&&call$1(o,t,r,n),a&&call$1(a,t,r,n),i&&call$1(i,t,r,n),u.value=t,s(),l()}function L(e){x.value=e}function j(e){w.value=e}function V(e){var t=P.value.getNode;return e.map((function(e){var r;return(null===(r=t(e))||void 0===r?void 0:r.rawNode)||null}))}function $(t){var r,n=e.cascade,o=e.multiple,a=e.filterable,i=P.value,s=i.check,l=i.getNode,c=i.getPath;if(o)try{var u=s(t,I.value.checkedKeys,{cascade:n,checkStrategy:p.value,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys;F(u,V(u),u.map((function(e){var t;return getRawNodePath(null===(t=c(e))||void 0===t?void 0:t.treeNodePath)}))),a&&J(),x.value=t,w.value=t}catch(err){if(!(err instanceof SubtreeNotLoadedError))throw err;if(b.value){var d=l(t);null!==d&&b.value.showErrorMessage(d.rawNode[e.labelField])}}else if("child"===p.value){var f=l(t);if(!(null==f?void 0:f.isLeaf))return!1;F(t,f.rawNode,getRawNodePath(c(t).treeNodePath))}else{var h=l(t);F(t,(null==h?void 0:h.rawNode)||null,getRawNodePath(null===(r=c(t))||void 0===r?void 0:r.treeNodePath))}return!0}function H(t){var r=e.cascade;if(e.multiple){var n=P.value,o=n.uncheck,a=n.getNode,i=n.getPath,s=o(t,I.value.checkedKeys,{cascade:r,checkStrategy:p.value,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys;F(s,s.map((function(e){var t;return(null===(t=a(e))||void 0===t?void 0:t.rawNode)||null})),s.map((function(e){var t;return getRawNodePath(null===(t=i(e))||void 0===t?void 0:t.treeNodePath)}))),x.value=t,w.value=t}}isReactive(e.options)&&watch(e.options,(function(e,t){e!==t&&(w.value=null,x.value=null)}));var U=computed((function(){if(e.multiple){var t=e.showPath,r=e.separator,n=e.labelField,o=e.cascade,a=P.value,i=a.getCheckedKeys,s=a.getNode;return i(N.value,{cascade:o,checkStrategy:p.value,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys.map((function(e){var o=s(e);return null===o?{label:String(e),value:e}:{label:t?getPathLabel(o,r,n):o.rawNode[n],value:o.key}}))}return[]})),Q=computed((function(){var t=e.multiple,r=e.showPath,n=e.separator,o=e.labelField,a=d.value;if(t||Array.isArray(a))return null;var i=P.value.getNode;if(null===a)return null;var s=i(a);return null===s?{label:String(a),value:a}:{label:r?getPathLabel(s,n,o):s.rawNode[o],value:s.key}})),G=ref(!1),K=useMergedState(toRef(e,"show"),G),q=computed((function(){var t=e.placeholder;return void 0!==t?t:c.value.placeholder})),W=computed((function(){return!(!e.filterable||!f.value)}));function Y(t){var r=e.onBlur,n=h.nTriggerFormBlur;r&&call$1(r,t),n()}function X(t){var r=e.onFocus,n=h.nTriggerFormFocus;r&&call$1(r,t),n()}function J(){var e;null===(e=y.value)||void 0===e||e.focusInput()}function Z(){g.value||(f.value="",O(!0),e.filterable&&J())}function ee(){var e;arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&(null===(e=y.value)||void 0===e||e.focus()),O(!1),f.value=""}function te(e){var t;W.value||K.value&&((null===(t=y.value)||void 0===t?void 0:t.$el.contains(getPreciseEventTarget(e)))||ee())}function re(){e.clearFilterAfterSelect&&(f.value="")}function ne(t){var r,n,o,a=x.value,i=P.value;switch(t){case"prev":if(null!==a){var s=i.getPrev(a,{loop:!0});null!==s&&(L(s.key),null===(r=b.value)||void 0===r||r.scroll(s.level,s.index,depx(D.value)))}break;case"next":if(null===a){var l=i.getFirstAvailableNode();null!==l&&(L(l.key),null===(n=b.value)||void 0===n||n.scroll(l.level,l.index,depx(D.value)))}else{var c=i.getNext(a,{loop:!0});null!==c&&(L(c.key),null===(o=b.value)||void 0===o||o.scroll(c.level,c.index,depx(D.value)))}break;case"child":if(null!==a){var u=i.getNode(a);if(null!==u)if(u.shallowLoaded){var d=i.getChild(a);null!==d&&(j(a),L(d.key))}else{if(!C.value.has(a)){E(a),j(a);var p=e.onLoad;p&&p(u.rawNode).then((function(){T(a)})).catch((function(){T(a)}))}}}break;case"parent":if(null!==a){var f=i.getParent(a);if(null!==f){L(f.key);var h=f.getParent();j(null===h?null:h.key)}}}}function oe(t){var r,n;switch(t.key){case" ":case"ArrowDown":case"ArrowUp":if(e.filterable&&K.value)break;t.preventDefault()}if(!happensIn(t,"action"))switch(t.key){case" ":if(e.filterable)return;case"Enter":if(K.value){var o=W.value,a=x.value;if(o){if(A.value)A.value.enter()&&re()}else if(null!==a)if(N.value.includes(a)||z.value.includes(a))H(a);else{var i=$(a);!e.multiple&&i&&ee(!0)}}else Z();break;case"ArrowUp":t.preventDefault(),K.value&&(W.value?null===(r=A.value)||void 0===r||r.prev():ne("prev"));break;case"ArrowDown":t.preventDefault(),K.value?W.value?null===(n=A.value)||void 0===n||n.next():ne("next"):Z();break;case"ArrowLeft":t.preventDefault(),K.value&&!W.value&&ne("parent");break;case"ArrowRight":t.preventDefault(),K.value&&!W.value&&ne("child");break;case"Escape":K.value&&(markEventEffectPerformed(t),ee(!0))}}function ae(){var e;null===(e=k.value)||void 0===e||e.syncPosition()}function ie(){var e;null===(e=_.value)||void 0===e||e.syncPosition()}watch(K,(function(t){if(t&&!e.multiple){var r=d.value;Array.isArray(r)||null===r?(x.value=null,w.value=null):(x.value=r,w.value=r,nextTick((function(){var e;if(K.value){var t=w.value;if(null!==d.value){var r=P.value.getNode(t);r&&(null===(e=b.value)||void 0===e||e.scroll(r.level,r.index,depx(D.value)))}}})))}}),{immediate:!0});var se=computed((function(){return!(!e.multiple||!e.cascade)||"child"!==p.value}));provide(cascaderInjectionKey,{slots:r,mergedClsPrefixRef:a,mergedThemeRef:l,mergedValueRef:d,checkedKeysRef:N,indeterminateKeysRef:z,hoverKeyPathRef:R,mergedCheckStrategyRef:p,showCheckboxRef:se,cascadeRef:toRef(e,"cascade"),multipleRef:toRef(e,"multiple"),keyboardKeyRef:x,hoverKeyRef:w,remoteRef:toRef(e,"remote"),loadingKeySetRef:C,expandTriggerRef:toRef(e,"expandTrigger"),isMountedRef:isMounted(),onLoadRef:toRef(e,"onLoad"),virtualScrollRef:toRef(e,"virtualScroll"),optionHeightRef:D,localeRef:c,labelFieldRef:toRef(e,"labelField"),renderLabelRef:toRef(e,"renderLabel"),syncCascaderMenuPosition:ie,syncSelectMenuPosition:ae,updateKeyboardKey:L,updateHoverKey:j,addLoadingKey:E,deleteLoadingKey:T,doCheck:$,doUncheck:H,closeMenu:ee,handleSelectMenuClickOutside:function(e){W.value&&te(e)},handleCascaderMenuClickOutside:te,clearPattern:re});var le={focus:function(){var e;null===(e=y.value)||void 0===e||e.focus()},blur:function(){var e;null===(e=y.value)||void 0===e||e.blur()},getCheckedData:function(){if(se.value){var e=N.value;return{keys:e,options:V(e)}}return{keys:[],options:[]}},getIndeterminateData:function(){if(se.value){var e=z.value;return{keys:e,options:V(e)}}return{keys:[],options:[]}}},ce=computed((function(){var e=l.value,t=e.self,r=t.optionArrowColor,n=t.optionTextColor,o=t.optionTextColorActive,a=t.optionTextColorDisabled,i=t.optionCheckMarkColor,s=t.menuColor,c=t.menuBoxShadow,u=t.menuDividerColor,d=t.menuBorderRadius,p=t.menuHeight,f=t.optionColorHover,h=t.optionHeight,v=t.optionFontSize,g=t.loadingColor,m=t.columnWidth;return{"--n-bezier":e.common.cubicBezierEaseInOut,"--n-menu-border-radius":d,"--n-menu-box-shadow":c,"--n-menu-height":p,"--n-column-width":m,"--n-menu-color":s,"--n-menu-divider-color":u,"--n-option-height":h,"--n-option-font-size":v,"--n-option-text-color":n,"--n-option-text-color-disabled":a,"--n-option-text-color-active":o,"--n-option-color-hover":f,"--n-option-check-mark-color":i,"--n-option-arrow-color":r,"--n-menu-mask-color":changeColor(s,{alpha:.75}),"--n-loading-color":g}})),ue=s?useThemeClass("cascader",void 0,ce,e):void 0;return Object.assign(Object.assign({},le),{handleTriggerResize:function(){K.value&&(W.value?ae():ie())},mergedStatus:m,selectMenuFollowerRef:k,cascaderMenuFollowerRef:_,triggerInstRef:y,selectMenuInstRef:A,cascaderMenuInstRef:b,mergedBordered:o,mergedClsPrefix:a,namespace:i,mergedValue:d,mergedShow:K,showSelectMenu:W,pattern:f,treeMate:P,mergedSize:v,mergedDisabled:g,localizedPlaceholder:q,selectedOption:Q,selectedOptions:U,adjustedTo:S,menuModel:M,handleMenuTabout:function(){ee(!0)},handleMenuFocus:function(e){var t;(null===(t=y.value)||void 0===t?void 0:t.$el.contains(e.relatedTarget))||(B.value=!0,X(e))},handleMenuBlur:function(e){var t;(null===(t=y.value)||void 0===t?void 0:t.$el.contains(e.relatedTarget))||(B.value=!1,Y(e))},handleMenuKeydown:function(e){oe(e)},handleMenuMousedown:function(t){happensIn(t,"action")||e.multiple&&e.filter&&(t.preventDefault(),J())},handleTriggerFocus:function(e){var t;(null===(t=b.value)||void 0===t?void 0:t.$el.contains(e.relatedTarget))||(B.value=!0,X(e))},handleTriggerBlur:function(e){var t;(null===(t=b.value)||void 0===t?void 0:t.$el.contains(e.relatedTarget))||(B.value=!1,Y(e),ee())},handleTriggerClick:function(){e.filterable?Z():K.value?ee(!0):Z()},handleClear:function(t){t.stopPropagation(),e.multiple?F([],[],[]):F(null,null,null)},handleDeleteOption:function(t){var r=e.multiple,n=d.value;r&&Array.isArray(n)&&void 0!==t.value?H(t.value):F(null,null,null)},handlePatternInput:function(e){f.value=e.target.value},handleKeydown:oe,focused:B,optionHeight:D,mergedTheme:l,cssVars:s?void 0:ce,themeClass:null==ue?void 0:ue.themeClass,onRender:null==ue?void 0:ue.onRender})},render:function(){var e=this,t=this.mergedClsPrefix;return h$1("div",{class:"".concat(t,"-cascader")},h$1(VBinder,null,{default:function(){return[h$1(VTarget,null,{default:function(){return h$1(NInternalSelection,{onResize:e.handleTriggerResize,ref:"triggerInstRef",status:e.mergedStatus,clsPrefix:t,maxTagCount:e.maxTagCount,bordered:e.mergedBordered,size:e.mergedSize,theme:e.mergedTheme.peers.InternalSelection,themeOverrides:e.mergedTheme.peerOverrides.InternalSelection,active:e.mergedShow,pattern:e.pattern,placeholder:e.localizedPlaceholder,selectedOption:e.selectedOption,selectedOptions:e.selectedOptions,multiple:e.multiple,filterable:e.filterable,clearable:e.clearable,disabled:e.mergedDisabled,focused:e.focused,onFocus:e.handleTriggerFocus,onBlur:e.handleTriggerBlur,onClick:e.handleTriggerClick,onClear:e.handleClear,onDeleteOption:e.handleDeleteOption,onPatternInput:e.handlePatternInput,onKeydown:e.handleKeydown},{arrow:function(){var t,r;return null===(r=(t=e.$slots).arrow)||void 0===r?void 0:r.call(t)}})}}),h$1(VFollower,{key:"cascaderMenu",ref:"cascaderMenuFollowerRef",show:e.mergedShow&&!e.showSelectMenu,containerClass:e.namespace,placement:e.placement,width:e.options.length?void 0:"target",teleportDisabled:e.adjustedTo===useAdjustedTo.tdkey,to:e.adjustedTo},{default:function(){var t;null===(t=e.onRender)||void 0===t||t.call(e);var r=e.menuProps;return h$1(CascaderMenu,Object.assign({},r,{ref:"cascaderMenuInstRef",class:[e.themeClass,null==r?void 0:r.class],value:e.mergedValue,show:e.mergedShow&&!e.showSelectMenu,menuModel:e.menuModel,style:[e.cssVars,null==r?void 0:r.style],onFocus:e.handleMenuFocus,onBlur:e.handleMenuBlur,onKeydown:e.handleMenuKeydown,onMousedown:e.handleMenuMousedown,onTabout:e.handleMenuTabout}),{action:function(){var t,r;return null===(r=(t=e.$slots).action)||void 0===r?void 0:r.call(t)},empty:function(){var t,r;return null===(r=(t=e.$slots).empty)||void 0===r?void 0:r.call(t)}})}}),h$1(VFollower,{key:"selectMenu",ref:"selectMenuFollowerRef",show:e.mergedShow&&e.showSelectMenu,containerClass:e.namespace,width:"target",placement:e.placement,to:e.adjustedTo,teleportDisabled:e.adjustedTo===useAdjustedTo.tdkey},{default:function(){var t;null===(t=e.onRender)||void 0===t||t.call(e);var r=e.filterMenuProps;return h$1(CascaderSelectMenu,Object.assign({},r,{ref:"selectMenuInstRef",class:[e.themeClass,null==r?void 0:r.class],value:e.mergedValue,show:e.mergedShow&&e.showSelectMenu,pattern:e.pattern,multiple:e.multiple,tmNodes:e.treeMate.treeNodes,filter:e.filter,labelField:e.labelField,separator:e.separator,style:[e.cssVars,null==r?void 0:r.style]}))}})]}}))}}),codeDark={name:"Code",common:commonDark,self:function(e){return{textColor:e.textColor2,fontSize:e.fontSize,fontWeightStrong:e.fontWeightStrong,"mono-3":"#5c6370","hue-1":"#56b6c2","hue-2":"#61aeee","hue-3":"#c678dd","hue-4":"#98c379","hue-5":"#e06c75","hue-5-2":"#be5046","hue-6":"#d19a66","hue-6-2":"#e6c07b",lineNumberTextColor:e.textColor3}}},codeDark$1=codeDark,self$B=function(e){var t=e.fontWeight,r=e.textColor1,n=e.textColor2,o=e.textColorDisabled,a=e.dividerColor,i=e.fontSize;return{titleFontSize:i,titleFontWeight:t,dividerColor:a,titleTextColor:r,titleTextColorDisabled:o,fontSize:i,textColor:n,arrowColor:n,arrowColorDisabled:o,itemMargin:"16px 0 0 0",titlePadding:"16px 0 0 0"}},collapseDark={name:"Collapse",common:commonDark,self:self$B},collapseDark$1=collapseDark,self$A=function(e){return{bezier:e.cubicBezierEaseInOut}},collapseTransitionDark={name:"CollapseTransition",common:commonDark,self:self$A},collapseTransitionDark$1=collapseTransitionDark,configProviderProps={abstract:Boolean,bordered:{type:Boolean,default:void 0},clsPrefix:String,locale:Object,dateLocale:Object,namespace:String,rtl:Array,tag:{type:String,default:"div"},hljs:Object,katex:Object,theme:Object,themeOverrides:Object,componentOptions:Object,icons:Object,breakpoints:Object,preflightStyleDisabled:Boolean,inlineThemeDisabled:{type:Boolean,default:void 0},as:{type:String,validator:function(){return warn$3("config-provider","`as` is deprecated, please use `tag` instead."),!0},default:void 0}},NConfigProvider=defineComponent({name:"ConfigProvider",alias:["App"],props:configProviderProps,setup:function(e){var t=inject(configProviderInjectionKey,null),r=computed((function(){var r=e.theme;if(null!==r){var n=null==t?void 0:t.mergedThemeRef.value;return void 0===r?n:void 0===n?r:Object.assign({},n,r)}})),n=computed((function(){var r=e.themeOverrides;if(null!==r){if(void 0===r)return null==t?void 0:t.mergedThemeOverridesRef.value;var n=null==t?void 0:t.mergedThemeOverridesRef.value;return void 0===n?r:merge$2({},n,r)}})),o=useMemo((function(){var r=e.namespace;return void 0===r?null==t?void 0:t.mergedNamespaceRef.value:r})),a=useMemo((function(){var r=e.bordered;return void 0===r?null==t?void 0:t.mergedBorderedRef.value:r})),i=computed((function(){var r=e.icons;return void 0===r?null==t?void 0:t.mergedIconsRef.value:r})),s=computed((function(){var r=e.componentOptions;return void 0!==r?r:null==t?void 0:t.mergedComponentPropsRef.value})),l=computed((function(){var r=e.clsPrefix;return void 0!==r?r:null==t?void 0:t.mergedClsPrefixRef.value})),c=computed((function(){var r,n=e.rtl;if(void 0===n)return null==t?void 0:t.mergedRtlRef.value;var o,a={},i=_createForOfIteratorHelper(n);try{for(i.s();!(o=i.n()).done;){var s=o.value;a[s.name]=markRaw(s),null===(r=s.peers)||void 0===r||r.forEach((function(e){e.name in a||(a[e.name]=markRaw(e))}))}}catch(err){i.e(err)}finally{i.f()}return a})),u=computed((function(){return e.breakpoints||(null==t?void 0:t.mergedBreakpointsRef.value)})),d=e.inlineThemeDisabled||(null==t?void 0:t.inlineThemeDisabled),p=e.preflightStyleDisabled||(null==t?void 0:t.preflightStyleDisabled),f=computed((function(){var e=r.value,t=n.value,o=t&&0!==Object.keys(t).length,a=null==e?void 0:e.name;return a?o?"".concat(a,"-").concat(murmur2(JSON.stringify(n.value))):a:o?murmur2(JSON.stringify(n.value)):""}));return provide(configProviderInjectionKey,{mergedThemeHashRef:f,mergedBreakpointsRef:u,mergedRtlRef:c,mergedIconsRef:i,mergedComponentPropsRef:s,mergedBorderedRef:a,mergedNamespaceRef:o,mergedClsPrefixRef:l,mergedLocaleRef:computed((function(){var r=e.locale;if(null!==r)return void 0===r?null==t?void 0:t.mergedLocaleRef.value:r})),mergedDateLocaleRef:computed((function(){var r=e.dateLocale;if(null!==r)return void 0===r?null==t?void 0:t.mergedDateLocaleRef.value:r})),mergedHljsRef:computed((function(){var r=e.hljs;return void 0===r?null==t?void 0:t.mergedHljsRef.value:r})),mergedKatexRef:computed((function(){var r=e.katex;return void 0===r?null==t?void 0:t.mergedKatexRef.value:r})),mergedThemeRef:r,mergedThemeOverridesRef:n,inlineThemeDisabled:d||!1,preflightStyleDisabled:p||!1}),{mergedClsPrefix:l,mergedBordered:a,mergedNamespace:o,mergedTheme:r,mergedThemeOverrides:n}},render:function(){var e,t,r,n;return this.abstract?null===(n=(r=this.$slots).default)||void 0===n?void 0:n.call(r):h$1(this.as||this.tag,{class:"".concat(this.mergedClsPrefix||defaultClsPrefix,"-config-provider")},null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e))}}),popselect={name:"Popselect",common:commonDark,peers:{Popover:popoverDark$1,InternalSelectMenu:internalSelectMenuDark$1}},popselectDark=popselect;function self$z(e){return{menuBoxShadow:e.boxShadow2}}var selectLight=createTheme({name:"Select",common:commonLight,peers:{InternalSelection:internalSelectionLight$1,InternalSelectMenu:internalSelectMenuLight$1},self:self$z}),selectLight$1=selectLight,selectDark={name:"Select",common:commonDark,peers:{InternalSelection:internalSelectionDark$1,InternalSelectMenu:internalSelectMenuDark$1},self:self$z},selectDark$1=selectDark,style$f=c$3([cB("select","\n z-index: auto;\n outline: none;\n width: 100%;\n position: relative;\n "),cB("select-menu","\n margin: 4px 0;\n box-shadow: var(--n-menu-box-shadow);\n ",[fadeInScaleUpTransition({originalTransition:"background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier)"})])]),selectProps=Object.assign(Object.assign({},useTheme.props),{to:useAdjustedTo.propTo,bordered:{type:Boolean,default:void 0},clearable:Boolean,clearFilterAfterSelect:{type:Boolean,default:!0},options:{type:Array,default:function(){return[]}},defaultValue:{type:[String,Number,Array],default:null},keyboard:{type:Boolean,default:!0},value:[String,Number,Array],placeholder:String,menuProps:Object,multiple:Boolean,size:String,filterable:Boolean,disabled:{type:Boolean,default:void 0},remote:Boolean,loading:Boolean,filter:Function,placement:{type:String,default:"bottom-start"},widthMode:{type:String,default:"trigger"},tag:Boolean,onCreate:Function,fallbackOption:{type:[Function,Boolean],default:void 0},show:{type:Boolean,default:void 0},showArrow:{type:Boolean,default:!0},maxTagCount:[Number,String],consistentMenuWidth:{type:Boolean,default:!0},virtualScroll:{type:Boolean,default:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},childrenField:{type:String,default:"children"},renderLabel:Function,renderOption:Function,renderTag:Function,"onUpdate:value":[Function,Array],inputProps:Object,nodeProps:Function,ignoreComposition:{type:Boolean,default:!0},showOnFocus:Boolean,onUpdateValue:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onFocus:[Function,Array],onScroll:[Function,Array],onSearch:[Function,Array],onUpdateShow:[Function,Array],"onUpdate:show":[Function,Array],displayDirective:{type:String,default:"show"},resetMenuOnOptionsChange:{type:Boolean,default:!0},status:String,showCheckmark:{type:Boolean,default:!0},onChange:[Function,Array],items:Array}),NSelect=defineComponent({name:"Select",props:selectProps,setup:function(e){var t=useConfig(e),r=t.mergedClsPrefixRef,n=t.mergedBorderedRef,o=t.namespaceRef,a=t.inlineThemeDisabled,i=useTheme("Select","-select",style$f,selectLight$1,e,r),s=ref(e.defaultValue),l=useMergedState(toRef(e,"value"),s),c=ref(!1),u=ref(""),d=computed((function(){var t=createTmOptions(e.valueField,e.childrenField);return createTreeMate(E.value,t)})),p=computed((function(){return createValOptMap(S.value,e.valueField,e.childrenField)})),f=ref(!1),h=useMergedState(toRef(e,"show"),f),v=ref(null),g=ref(null),m=ref(null),b=useLocale("Select").localeRef,A=computed((function(){var t;return null!==(t=e.placeholder)&&void 0!==t?t:b.value.placeholder})),y=useCompitable(e,["items","options"]),x=[],w=ref([]),C=ref([]),k=ref(new Map),_=computed((function(){var t=e.fallbackOption;if(void 0===t){var r=e.labelField,n=e.valueField;return function(e){var t;return _defineProperty2(t={},r,String(e)),_defineProperty2(t,n,e),t}}return!1!==t&&function(e){return Object.assign(t(e),{value:e})}})),S=computed((function(){return C.value.concat(w.value).concat(y.value)})),B=computed((function(){var t=e.filter;if(t)return t;var r=e.labelField,n=e.valueField;return function(e,t){if(!t)return!1;var o=t[r];if("string"==typeof o)return patternMatched(e,o);var a=t[n];return"string"==typeof a?patternMatched(e,a):"number"==typeof a&&patternMatched(e,String(a))}})),E=computed((function(){if(e.remote)return y.value;var t=S.value,r=u.value;return r.length&&e.filterable?filterOptions(t,B.value,r,e.childrenField):t}));function T(t){var r=e.remote,n=k.value,o=p.value,a=_.value,i=[];return t.forEach((function(e){if(o.has(e))i.push(o.get(e));else if(r&&n.has(e))i.push(n.get(e));else if(a){var t=a(e);t&&i.push(t)}})),i}var P=computed((function(){if(e.multiple){var t=l.value;return Array.isArray(t)?T(t):[]}return null})),I=computed((function(){var t=l.value;return e.multiple||Array.isArray(t)||null===t?null:T([t])[0]||null})),N=useFormItem(e),z=N.mergedSizeRef,M=N.mergedDisabledRef,R=N.mergedStatusRef;function D(t,r){var n=e.onChange,o=e["onUpdate:value"],a=e.onUpdateValue,i=N.nTriggerFormChange,l=N.nTriggerFormInput;n&&call$1(n,t,r),a&&call$1(a,t,r),o&&call$1(o,t,r),s.value=t,i(),l()}function O(t){var r=e.onBlur,n=N.nTriggerFormBlur;r&&call$1(r,t),n()}function F(){var t,r=e.remote,n=e.multiple;if(r){var o=k.value;if(n){var a=e.valueField;null===(t=P.value)||void 0===t||t.forEach((function(e){o.set(e[a],e)}))}else{var i=I.value;i&&o.set(i[e.valueField],i)}}}function L(t){var r=e.onUpdateShow,n=e["onUpdate:show"];r&&call$1(r,t),n&&call$1(n,t),f.value=t}function j(){M.value||(L(!0),f.value=!0,e.filterable&&W())}function V(){L(!1)}function $(){u.value="",C.value=x}var H=ref(!1);function U(e){Q(e.rawNode)}function Q(t){if(!M.value){var r=e.tag,n=e.remote,o=e.clearFilterAfterSelect,a=e.valueField;if(r&&!n){var i=C.value[0]||null;if(i){var s=w.value;s.length?s.push(i):w.value=[i],C.value=x}}if(n&&k.value.set(t[a],t),e.multiple){var c=function(t){if(!Array.isArray(t))return[];if(_.value)return Array.from(t);var r=e.remote,n=p.value;if(r){var o=k.value;return t.filter((function(e){return n.has(e)||o.has(e)}))}return t.filter((function(e){return n.has(e)}))}(l.value),d=c.findIndex((function(e){return e===t[a]}));if(~d){if(c.splice(d,1),r&&!n){var f=G(t[a]);~f&&(w.value.splice(f,1),o&&(u.value=""))}}else c.push(t[a]),o&&(u.value="");D(c,T(c))}else{if(r&&!n){var h=G(t[a]);w.value=~h?[w.value[h]]:x}q(),V(),D(t[a],t)}}}function G(t){return w.value.findIndex((function(r){return r[e.valueField]===t}))}function K(t){var r,n,o,a,i;if(e.keyboard)switch(t.key){case" ":if(e.filterable)break;t.preventDefault();case"Enter":if(!(null===(r=v.value)||void 0===r?void 0:r.isComposing))if(h.value){var s=null===(n=m.value)||void 0===n?void 0:n.getPendingTmNode();s?U(s):e.filterable||(V(),q())}else if(j(),e.tag&&H.value){var c=C.value[0];if(c){var u=c[e.valueField],d=l.value;e.multiple&&Array.isArray(d)&&d.some((function(e){return e===u}))||Q(c)}}t.preventDefault();break;case"ArrowUp":if(t.preventDefault(),e.loading)return;h.value&&(null===(o=m.value)||void 0===o||o.prev());break;case"ArrowDown":if(t.preventDefault(),e.loading)return;h.value?null===(a=m.value)||void 0===a||a.next():j();break;case"Escape":h.value&&(markEventEffectPerformed(t),V()),null===(i=v.value)||void 0===i||i.focus()}else t.preventDefault()}function q(){var e;null===(e=v.value)||void 0===e||e.focus()}function W(){var e;null===(e=v.value)||void 0===e||e.focusInput()}F(),watch(toRef(e,"options"),F);var Y={focus:function(){var e;null===(e=v.value)||void 0===e||e.focus()},blur:function(){var e;null===(e=v.value)||void 0===e||e.blur()}},X=computed((function(){return{"--n-menu-box-shadow":i.value.self.menuBoxShadow}})),J=a?useThemeClass("select",void 0,X,e):void 0;return Object.assign(Object.assign({},Y),{mergedStatus:R,mergedClsPrefix:r,mergedBordered:n,namespace:o,treeMate:d,isMounted:isMounted(),triggerRef:v,menuRef:m,pattern:u,uncontrolledShow:f,mergedShow:h,adjustedTo:useAdjustedTo(e),uncontrolledValue:s,mergedValue:l,followerRef:g,localizedPlaceholder:A,selectedOption:I,selectedOptions:P,mergedSize:z,mergedDisabled:M,focused:c,activeWithoutMenuOpen:H,inlineThemeDisabled:a,onTriggerInputFocus:function(){e.filterable&&(H.value=!0)},onTriggerInputBlur:function(){e.filterable&&(H.value=!1,h.value||$())},handleTriggerOrMenuResize:function(){var e;h.value&&(null===(e=g.value)||void 0===e||e.syncPosition())},handleMenuFocus:function(e){c.value=!0},handleMenuBlur:function(e){var t;(null===(t=v.value)||void 0===t?void 0:t.$el.contains(e.relatedTarget))||(c.value=!1,O(e),V())},handleMenuTabOut:function(){var e;null===(e=v.value)||void 0===e||e.focus(),V()},handleTriggerClick:function(){M.value||(h.value?e.filterable?W():V():j())},handleToggle:U,handleDeleteOption:Q,handlePatternInput:function(t){h.value||j();var r=t.target.value;u.value=r;var n=e.tag,o=e.remote;if(function(t){var r=e.onSearch;r&&call$1(r,t)}(r),n&&!o){var a;if(!r)return void(C.value=x);var i=e.onCreate,s=i?i(r):(_defineProperty2(a={},e.labelField,r),_defineProperty2(a,e.valueField,r),a),l=e.valueField;y.value.some((function(e){return e[l]===s[l]}))||w.value.some((function(e){return e[l]===s[l]}))?C.value=x:C.value=[s]}},handleClear:function(t){t.stopPropagation();var r,n=e.multiple;!n&&e.filterable&&V(),(r=e.onClear)&&call$1(r),n?D([],[]):D(null,null)},handleTriggerBlur:function(e){var t,r;(null===(r=null===(t=m.value)||void 0===t?void 0:t.selfRef)||void 0===r?void 0:r.contains(e.relatedTarget))||(c.value=!1,O(e),V())},handleTriggerFocus:function(t){!function(t){var r=e.onFocus,n=e.showOnFocus,o=N.nTriggerFormFocus;r&&call$1(r,t),o(),n&&j()}(t),c.value=!0},handleKeydown:K,handleMenuAfterLeave:$,handleMenuClickOutside:function(e){var t;h.value&&((null===(t=v.value)||void 0===t?void 0:t.$el.contains(getPreciseEventTarget(e)))||V())},handleMenuScroll:function(t){!function(t){var r=e.onScroll;r&&call$1(r,t)}(t)},handleMenuKeydown:K,handleMenuMousedown:function(e){happensIn(e,"action")||happensIn(e,"empty")||e.preventDefault()},mergedTheme:i,cssVars:a?void 0:X,themeClass:null==J?void 0:J.themeClass,onRender:null==J?void 0:J.onRender})},render:function(){var e=this;return h$1("div",{class:"".concat(this.mergedClsPrefix,"-select")},h$1(VBinder,null,{default:function(){return[h$1(VTarget,null,{default:function(){return h$1(NInternalSelection,{ref:"triggerRef",inlineThemeDisabled:e.inlineThemeDisabled,status:e.mergedStatus,inputProps:e.inputProps,clsPrefix:e.mergedClsPrefix,showArrow:e.showArrow,maxTagCount:e.maxTagCount,bordered:e.mergedBordered,active:e.activeWithoutMenuOpen||e.mergedShow,pattern:e.pattern,placeholder:e.localizedPlaceholder,selectedOption:e.selectedOption,selectedOptions:e.selectedOptions,multiple:e.multiple,renderTag:e.renderTag,renderLabel:e.renderLabel,filterable:e.filterable,clearable:e.clearable,disabled:e.mergedDisabled,size:e.mergedSize,theme:e.mergedTheme.peers.InternalSelection,labelField:e.labelField,valueField:e.valueField,themeOverrides:e.mergedTheme.peerOverrides.InternalSelection,loading:e.loading,focused:e.focused,onClick:e.handleTriggerClick,onDeleteOption:e.handleDeleteOption,onPatternInput:e.handlePatternInput,onClear:e.handleClear,onBlur:e.handleTriggerBlur,onFocus:e.handleTriggerFocus,onKeydown:e.handleKeydown,onPatternBlur:e.onTriggerInputBlur,onPatternFocus:e.onTriggerInputFocus,onResize:e.handleTriggerOrMenuResize,ignoreComposition:e.ignoreComposition},{arrow:function(){var t,r;return[null===(r=(t=e.$slots).arrow)||void 0===r?void 0:r.call(t)]}})}}),h$1(VFollower,{ref:"followerRef",show:e.mergedShow,to:e.adjustedTo,teleportDisabled:e.adjustedTo===useAdjustedTo.tdkey,containerClass:e.namespace,width:e.consistentMenuWidth?"target":void 0,minWidth:"target",placement:e.placement},{default:function(){return h$1(Transition,{name:"fade-in-scale-up-transition",appear:e.isMounted,onAfterLeave:e.handleMenuAfterLeave},{default:function(){var t,r,n;return e.mergedShow||"show"===e.displayDirective?(null===(t=e.onRender)||void 0===t||t.call(e),withDirectives(h$1(NInternalSelectMenu,Object.assign({},e.menuProps,{ref:"menuRef",onResize:e.handleTriggerOrMenuResize,inlineThemeDisabled:e.inlineThemeDisabled,virtualScroll:e.consistentMenuWidth&&e.virtualScroll,class:["".concat(e.mergedClsPrefix,"-select-menu"),e.themeClass,null===(r=e.menuProps)||void 0===r?void 0:r.class],clsPrefix:e.mergedClsPrefix,focusable:!0,labelField:e.labelField,valueField:e.valueField,autoPending:!0,nodeProps:e.nodeProps,theme:e.mergedTheme.peers.InternalSelectMenu,themeOverrides:e.mergedTheme.peerOverrides.InternalSelectMenu,treeMate:e.treeMate,multiple:e.multiple,size:"medium",renderOption:e.renderOption,renderLabel:e.renderLabel,value:e.mergedValue,style:[null===(n=e.menuProps)||void 0===n?void 0:n.style,e.cssVars],onToggle:e.handleToggle,onScroll:e.handleMenuScroll,onFocus:e.handleMenuFocus,onBlur:e.handleMenuBlur,onKeydown:e.handleMenuKeydown,onTabOut:e.handleMenuTabOut,onMousedown:e.handleMenuMousedown,show:e.mergedShow,showCheckmark:e.showCheckmark,resetMenuOnOptionsChange:e.resetMenuOnOptionsChange}),{empty:function(){var t,r;return[null===(r=(t=e.$slots).empty)||void 0===r?void 0:r.call(t)]},action:function(){var t,r;return[null===(r=(t=e.$slots).action)||void 0===r?void 0:r.call(t)]}}),"show"===e.displayDirective?[[vShow,e.mergedShow],[clickoutside$1,e.handleMenuClickOutside,void 0,{capture:!0}]]:[[clickoutside$1,e.handleMenuClickOutside,void 0,{capture:!0}]])):null}})}})]}}))}}),commonVariables$b={itemPaddingSmall:"0 4px",itemMarginSmall:"0 0 0 8px",itemMarginSmallRtl:"0 8px 0 0",itemPaddingMedium:"0 4px",itemMarginMedium:"0 0 0 8px",itemMarginMediumRtl:"0 8px 0 0",itemPaddingLarge:"0 4px",itemMarginLarge:"0 0 0 8px",itemMarginLargeRtl:"0 8px 0 0",buttonIconSizeSmall:"14px",buttonIconSizeMedium:"16px",buttonIconSizeLarge:"18px",inputWidthSmall:"60px",selectWidthSmall:"unset",inputMarginSmall:"0 0 0 8px",inputMarginSmallRtl:"0 8px 0 0",selectMarginSmall:"0 0 0 8px",prefixMarginSmall:"0 8px 0 0",suffixMarginSmall:"0 0 0 8px",inputWidthMedium:"60px",selectWidthMedium:"unset",inputMarginMedium:"0 0 0 8px",inputMarginMediumRtl:"0 8px 0 0",selectMarginMedium:"0 0 0 8px",prefixMarginMedium:"0 8px 0 0",suffixMarginMedium:"0 0 0 8px",inputWidthLarge:"60px",selectWidthLarge:"unset",inputMarginLarge:"0 0 0 8px",inputMarginLargeRtl:"0 8px 0 0",selectMarginLarge:"0 0 0 8px",prefixMarginLarge:"0 8px 0 0",suffixMarginLarge:"0 0 0 8px"},self$y=function(e){var t=e.textColor2,r=e.primaryColor,n=e.primaryColorHover,o=e.primaryColorPressed,a=e.inputColorDisabled,i=e.textColorDisabled,s=e.borderColor,l=e.borderRadius,c=e.fontSizeTiny,u=e.fontSizeSmall,d=e.fontSizeMedium,p=e.heightTiny,f=e.heightSmall,h=e.heightMedium;return Object.assign(Object.assign({},commonVariables$b),{buttonColor:"#0000",buttonColorHover:"#0000",buttonColorPressed:"#0000",buttonBorder:"1px solid ".concat(s),buttonBorderHover:"1px solid ".concat(s),buttonBorderPressed:"1px solid ".concat(s),buttonIconColor:t,buttonIconColorHover:t,buttonIconColorPressed:t,itemTextColor:t,itemTextColorHover:n,itemTextColorPressed:o,itemTextColorActive:r,itemTextColorDisabled:i,itemColor:"#0000",itemColorHover:"#0000",itemColorPressed:"#0000",itemColorActive:"#0000",itemColorActiveHover:"#0000",itemColorDisabled:a,itemBorder:"1px solid #0000",itemBorderHover:"1px solid #0000",itemBorderPressed:"1px solid #0000",itemBorderActive:"1px solid ".concat(r),itemBorderDisabled:"1px solid ".concat(s),itemBorderRadius:l,itemSizeSmall:p,itemSizeMedium:f,itemSizeLarge:h,itemFontSizeSmall:c,itemFontSizeMedium:u,itemFontSizeLarge:d,jumperFontSizeSmall:c,jumperFontSizeMedium:u,jumperFontSizeLarge:d,jumperTextColor:t,jumperTextColorDisabled:i})},paginationDark={name:"Pagination",common:commonDark,peers:{Select:selectDark$1,Input:inputDark$1,Popselect:popselectDark},self:function(e){var t=e.primaryColor,r=e.opacity3,n=changeColor(t,{alpha:Number(r)}),o=self$y(e);return o.itemBorderActive="1px solid ".concat(n),o.itemBorderDisabled="1px solid #0000",o}},paginationDark$1=paginationDark,commonVars$8={padding:"8px 14px"},tooltipDark={name:"Tooltip",common:commonDark,peers:{Popover:popoverDark$1},self:function(e){var t=e.borderRadius,r=e.boxShadow2,n=e.popoverColor,o=e.textColor2;return Object.assign(Object.assign({},commonVars$8),{borderRadius:t,boxShadow:r,color:n,textColor:o})}},tooltipDark$1=tooltipDark,ellipsisDark={name:"Ellipsis",common:commonDark,peers:{Tooltip:tooltipDark$1}},ellipsisDark$1=ellipsisDark,commonVariables$a={radioSizeSmall:"14px",radioSizeMedium:"16px",radioSizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},radioDark={name:"Radio",common:commonDark,self:function(e){var t=e.borderColor,r=e.primaryColor,n=e.baseColor,o=e.textColorDisabled,a=e.inputColorDisabled,i=e.textColor2,s=e.opacityDisabled,l=e.borderRadius,c=e.fontSizeSmall,u=e.fontSizeMedium,d=e.fontSizeLarge,p=e.heightSmall,f=e.heightMedium,h=e.heightLarge,v=e.lineHeight;return Object.assign(Object.assign({},commonVariables$a),{labelLineHeight:v,buttonHeightSmall:p,buttonHeightMedium:f,buttonHeightLarge:h,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:d,boxShadow:"inset 0 0 0 1px ".concat(t),boxShadowActive:"inset 0 0 0 1px ".concat(r),boxShadowFocus:"inset 0 0 0 1px ".concat(r,", 0 0 0 2px ").concat(changeColor(r,{alpha:.3})),boxShadowHover:"inset 0 0 0 1px ".concat(r),boxShadowDisabled:"inset 0 0 0 1px ".concat(t),color:"#0000",colorDisabled:a,colorActive:"#0000",textColor:i,textColorDisabled:o,dotColorActive:r,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:r,buttonBorderColorHover:r,buttonColor:"#0000",buttonColorActive:r,buttonTextColor:i,buttonTextColorActive:n,buttonTextColorHover:r,opacityDisabled:s,buttonBoxShadowFocus:"inset 0 0 0 1px ".concat(r,", 0 0 0 2px ").concat(changeColor(r,{alpha:.3})),buttonBoxShadowHover:"inset 0 0 0 1px ".concat(r),buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})}},radioDark$1=radioDark,self$x=function(e){var t=e.borderColor,r=e.primaryColor,n=e.baseColor,o=e.textColorDisabled,a=e.inputColorDisabled,i=e.textColor2,s=e.opacityDisabled,l=e.borderRadius,c=e.fontSizeSmall,u=e.fontSizeMedium,d=e.fontSizeLarge,p=e.heightSmall,f=e.heightMedium,h=e.heightLarge,v=e.lineHeight;return Object.assign(Object.assign({},commonVariables$a),{labelLineHeight:v,buttonHeightSmall:p,buttonHeightMedium:f,buttonHeightLarge:h,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:d,boxShadow:"inset 0 0 0 1px ".concat(t),boxShadowActive:"inset 0 0 0 1px ".concat(r),boxShadowFocus:"inset 0 0 0 1px ".concat(r,", 0 0 0 2px ").concat(changeColor(r,{alpha:.2})),boxShadowHover:"inset 0 0 0 1px ".concat(r),boxShadowDisabled:"inset 0 0 0 1px ".concat(t),color:n,colorDisabled:a,colorActive:"#0000",textColor:i,textColorDisabled:o,dotColorActive:r,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:r,buttonBorderColorHover:t,buttonColor:n,buttonColorActive:n,buttonTextColor:i,buttonTextColorActive:r,buttonTextColorHover:r,opacityDisabled:s,buttonBoxShadowFocus:"inset 0 0 0 1px ".concat(r,", 0 0 0 2px ").concat(changeColor(r,{alpha:.3})),buttonBoxShadowHover:"inset 0 0 0 1px #0000",buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})},radioLight={name:"Radio",common:commonLight,self:self$x},radioLight$1=radioLight,commonVariables$9={padding:"4px 0",optionIconSizeSmall:"14px",optionIconSizeMedium:"16px",optionIconSizeLarge:"16px",optionIconSizeHuge:"18px",optionSuffixWidthSmall:"14px",optionSuffixWidthMedium:"14px",optionSuffixWidthLarge:"16px",optionSuffixWidthHuge:"16px",optionIconSuffixWidthSmall:"32px",optionIconSuffixWidthMedium:"32px",optionIconSuffixWidthLarge:"36px",optionIconSuffixWidthHuge:"36px",optionPrefixWidthSmall:"14px",optionPrefixWidthMedium:"14px",optionPrefixWidthLarge:"16px",optionPrefixWidthHuge:"16px",optionIconPrefixWidthSmall:"36px",optionIconPrefixWidthMedium:"36px",optionIconPrefixWidthLarge:"40px",optionIconPrefixWidthHuge:"40px"},self$w=function(e){var t=e.primaryColor,r=e.textColor2,n=e.dividerColor,o=e.hoverColor,a=e.popoverColor,i=e.invertedColor,s=e.borderRadius,l=e.fontSizeSmall,c=e.fontSizeMedium,u=e.fontSizeLarge,d=e.fontSizeHuge,p=e.heightSmall,f=e.heightMedium,h=e.heightLarge,v=e.heightHuge,g=e.textColor3,m=e.opacityDisabled;return Object.assign(Object.assign({},commonVariables$9),{optionHeightSmall:p,optionHeightMedium:f,optionHeightLarge:h,optionHeightHuge:v,borderRadius:s,fontSizeSmall:l,fontSizeMedium:c,fontSizeLarge:u,fontSizeHuge:d,optionTextColor:r,optionTextColorHover:r,optionTextColorActive:t,optionTextColorChildActive:t,color:a,dividerColor:n,suffixColor:r,prefixColor:r,optionColorHover:o,optionColorActive:changeColor(t,{alpha:.1}),groupHeaderTextColor:g,optionTextColorInverted:"#BBB",optionTextColorHoverInverted:"#FFF",optionTextColorActiveInverted:"#FFF",optionTextColorChildActiveInverted:"#FFF",colorInverted:i,dividerColorInverted:"#BBB",suffixColorInverted:"#BBB",prefixColorInverted:"#BBB",optionColorHoverInverted:t,optionColorActiveInverted:t,groupHeaderTextColorInverted:"#AAA",optionOpacityDisabled:m})},dropdownLight=createTheme({name:"Dropdown",common:commonLight,peers:{Popover:popoverLight$1},self:self$w}),dropdownLight$1=dropdownLight,dropdownDark={name:"Dropdown",common:commonDark,peers:{Popover:popoverDark$1},self:function(e){var t=e.primaryColorSuppl,r=e.primaryColor,n=e.popoverColor,o=self$w(e);return o.colorInverted=n,o.optionColorActive=changeColor(r,{alpha:.15}),o.optionColorActiveInverted=t,o.optionColorHoverInverted=t,o}},dropdownDark$1=dropdownDark,commonVariables$8={thPaddingSmall:"8px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"8px",tdPaddingMedium:"12px",tdPaddingLarge:"12px",sorterSize:"15px",resizableContainerSize:"8px",resizableSize:"2px",filterSize:"15px",paginationMargin:"12px 0 0 0",emptyPadding:"48px 0",actionPadding:"8px 12px",actionButtonMargin:"0 8px 0 0"},self$v=function(e){var t=e.cardColor,r=e.modalColor,n=e.popoverColor,o=e.textColor2,a=e.textColor1,i=e.tableHeaderColor,s=e.tableColorHover,l=e.iconColor,c=e.primaryColor,u=e.fontWeightStrong,d=e.borderRadius,p=e.lineHeight,f=e.fontSizeSmall,h=e.fontSizeMedium,v=e.fontSizeLarge,g=e.dividerColor,m=e.heightSmall,b=e.opacityDisabled,A=e.tableColorStriped;return Object.assign(Object.assign({},commonVariables$8),{actionDividerColor:g,lineHeight:p,borderRadius:d,fontSizeSmall:f,fontSizeMedium:h,fontSizeLarge:v,borderColor:composite(t,g),tdColorHover:composite(t,s),tdColorStriped:composite(t,A),thColor:composite(t,i),thColorHover:composite(composite(t,i),s),tdColor:t,tdTextColor:o,thTextColor:a,thFontWeight:u,thButtonColorHover:s,thIconColor:l,thIconColorActive:c,borderColorModal:composite(r,g),tdColorHoverModal:composite(r,s),tdColorStripedModal:composite(r,A),thColorModal:composite(r,i),thColorHoverModal:composite(composite(r,i),s),tdColorModal:r,borderColorPopover:composite(n,g),tdColorHoverPopover:composite(n,s),tdColorStripedPopover:composite(n,A),thColorPopover:composite(n,i),thColorHoverPopover:composite(composite(n,i),s),tdColorPopover:n,boxShadowBefore:"inset -12px 0 8px -12px rgba(0, 0, 0, .18)",boxShadowAfter:"inset 12px 0 8px -12px rgba(0, 0, 0, .18)",loadingColor:c,loadingSize:m,opacityLoading:b})},dataTableDark={name:"DataTable",common:commonDark,peers:{Button:buttonDark$1,Checkbox:checkboxDark$1,Radio:radioDark$1,Pagination:paginationDark$1,Scrollbar:scrollbarDark$1,Empty:emptyDark$1,Popover:popoverDark$1,Ellipsis:ellipsisDark$1,Dropdown:dropdownDark$1},self:function(e){var t=self$v(e);return t.boxShadowAfter="inset 12px 0 8px -12px rgba(0, 0, 0, .36)",t.boxShadowBefore="inset -12px 0 8px -12px rgba(0, 0, 0, .36)",t}},dataTableDark$1=dataTableDark,radioProps={name:String,value:{type:[String,Number,Boolean],default:"on"},checked:{type:Boolean,default:void 0},defaultChecked:Boolean,disabled:{type:Boolean,default:void 0},label:String,size:String,onUpdateChecked:[Function,Array],"onUpdate:checked":[Function,Array],checkedValue:{type:Boolean,default:void 0}},radioGroupInjectionKey=createInjectionKey("n-radio-group");function _setup(e){var t=useFormItem(e,{mergedSize:function(t){var r=e.size;if(void 0!==r)return r;if(i){var n=i.mergedSizeRef.value;if(void 0!==n)return n}return t?t.mergedSize.value:"medium"},mergedDisabled:function(t){return!!e.disabled||(!!(null==i?void 0:i.disabledRef.value)||!!(null==t?void 0:t.disabled.value))}}),r=t.mergedSizeRef,n=t.mergedDisabledRef,o=ref(null),a=ref(null),i=inject(radioGroupInjectionKey,null),s=ref(e.defaultChecked),l=useMergedState(toRef(e,"checked"),s),c=useMemo((function(){return i?i.valueRef.value===e.value:l.value})),u=useMemo((function(){var t=e.name;return void 0!==t?t:i?i.nameRef.value:void 0})),d=ref(!1);function p(){n.value||c.value||function(){if(i)call$1(i.doUpdateValue,e.value);else{var r=e.onUpdateChecked,n=e["onUpdate:checked"],o=t.nTriggerFormInput,a=t.nTriggerFormChange;r&&call$1(r,!0),n&&call$1(n,!0),o(),a(),s.value=!0}}()}return{mergedClsPrefix:i?i.mergedClsPrefixRef:useConfig(e).mergedClsPrefixRef,inputRef:o,labelRef:a,mergedName:u,mergedDisabled:n,uncontrolledChecked:s,renderSafeChecked:c,focus:d,mergedSize:r,handleRadioInputChange:function(){p()},handleRadioInputBlur:function(){d.value=!1},handleRadioInputFocus:function(){d.value=!0}}}var style$e=cB("radio","\n line-height: var(--n-label-line-height);\n outline: none;\n position: relative;\n user-select: none;\n -webkit-user-select: none;\n display: inline-flex;\n align-items: flex-start;\n flex-wrap: nowrap;\n font-size: var(--n-font-size);\n word-break: break-word;\n",[cM("checked",[cE("dot","\n background-color: var(--n-color-active);\n ")]),cE("dot-wrapper","\n position: relative;\n flex-shrink: 0;\n flex-grow: 0;\n width: var(--n-radio-size);\n "),cB("radio-input","\n position: absolute;\n border: 0;\n border-radius: inherit;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n opacity: 0;\n z-index: 1;\n cursor: pointer;\n "),cE("dot","\n position: absolute;\n top: 50%;\n left: 0;\n transform: translateY(-50%);\n height: var(--n-radio-size);\n width: var(--n-radio-size);\n background: var(--n-color);\n box-shadow: var(--n-box-shadow);\n border-radius: 50%;\n transition:\n background-color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier);\n ",[c$3("&::before",'\n content: "";\n opacity: 0;\n position: absolute;\n left: 4px;\n top: 4px;\n height: calc(100% - 8px);\n width: calc(100% - 8px);\n border-radius: 50%;\n transform: scale(.8);\n background: var(--n-dot-color-active);\n transition: \n opacity .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n transform .3s var(--n-bezier);\n '),cM("checked",{boxShadow:"var(--n-box-shadow-active)"},[c$3("&::before","\n opacity: 1;\n transform: scale(1);\n ")])]),cE("label","\n color: var(--n-text-color);\n padding: var(--n-label-padding);\n font-weight: var(--n-label-font-weight);\n display: inline-block;\n transition: color .3s var(--n-bezier);\n "),cNotM("disabled","\n cursor: pointer;\n ",[c$3("&:hover",[cE("dot",{boxShadow:"var(--n-box-shadow-hover)"})]),cM("focus",[c$3("&:not(:active)",[cE("dot",{boxShadow:"var(--n-box-shadow-focus)"})])])]),cM("disabled","\n cursor: not-allowed;\n ",[cE("dot",{boxShadow:"var(--n-box-shadow-disabled)",backgroundColor:"var(--n-color-disabled)"},[c$3("&::before",{backgroundColor:"var(--n-dot-color-disabled)"}),cM("checked","\n opacity: 1;\n ")]),cE("label",{color:"var(--n-text-color-disabled)"}),cB("radio-input","\n cursor: not-allowed;\n ")])]),NRadio=defineComponent({name:"Radio",props:Object.assign(Object.assign({},useTheme.props),radioProps),setup:function(e){var t=_setup(e),r=useTheme("Radio","-radio",style$e,radioLight$1,e,t.mergedClsPrefix),n=computed((function(){var e=t.mergedSize.value,n=r.value,o=n.common.cubicBezierEaseInOut,a=n.self,i=a.boxShadow,s=a.boxShadowActive,l=a.boxShadowDisabled,c=a.boxShadowFocus,u=a.boxShadowHover,d=a.color,p=a.colorDisabled,f=a.colorActive,h=a.textColor,v=a.textColorDisabled,g=a.dotColorActive,m=a.dotColorDisabled,b=a.labelPadding;return{"--n-bezier":o,"--n-label-line-height":a.labelLineHeight,"--n-label-font-weight":a.labelFontWeight,"--n-box-shadow":i,"--n-box-shadow-active":s,"--n-box-shadow-disabled":l,"--n-box-shadow-focus":c,"--n-box-shadow-hover":u,"--n-color":d,"--n-color-active":f,"--n-color-disabled":p,"--n-dot-color-active":g,"--n-dot-color-disabled":m,"--n-font-size":a[createKey("fontSize",e)],"--n-radio-size":a[createKey("radioSize",e)],"--n-text-color":h,"--n-text-color-disabled":v,"--n-label-padding":b}})),o=useConfig(e),a=o.inlineThemeDisabled,i=o.mergedClsPrefixRef,s=useRtl("Radio",o.mergedRtlRef,i),l=a?useThemeClass("radio",computed((function(){return t.mergedSize.value[0]})),n,e):void 0;return Object.assign(t,{rtlEnabled:s,cssVars:a?void 0:n,themeClass:null==l?void 0:l.themeClass,onRender:null==l?void 0:l.onRender})},render:function(){var e,t=this.$slots,r=this.mergedClsPrefix,n=this.onRender,o=this.label;return null==n||n(),h$1("label",{class:["".concat(r,"-radio"),this.themeClass,(e={},_defineProperty2(e,"".concat(r,"-radio--rtl"),this.rtlEnabled),_defineProperty2(e,"".concat(r,"-radio--disabled"),this.mergedDisabled),_defineProperty2(e,"".concat(r,"-radio--checked"),this.renderSafeChecked),_defineProperty2(e,"".concat(r,"-radio--focus"),this.focus),e)],style:this.cssVars},h$1("input",{ref:"inputRef",type:"radio",class:"".concat(r,"-radio-input"),value:this.value,name:this.mergedName,checked:this.renderSafeChecked,disabled:this.mergedDisabled,onChange:this.handleRadioInputChange,onFocus:this.handleRadioInputFocus,onBlur:this.handleRadioInputBlur}),h$1("div",{class:"".concat(r,"-radio__dot-wrapper")}," ",h$1("div",{class:["".concat(r,"-radio__dot"),this.renderSafeChecked&&"".concat(r,"-radio__dot--checked")]})),resolveWrappedSlot(t.default,(function(e){return e||o?h$1("div",{ref:"labelRef",class:"".concat(r,"-radio__label")},e||o):null})))}}),style$d=cB("radio-group","\n display: inline-block;\n font-size: var(--n-font-size);\n",[cE("splitor","\n display: inline-block;\n vertical-align: bottom;\n width: 1px;\n transition:\n background-color .3s var(--n-bezier),\n opacity .3s var(--n-bezier);\n background: var(--n-button-border-color);\n ",[cM("checked",{backgroundColor:"var(--n-button-border-color-active)"}),cM("disabled",{opacity:"var(--n-opacity-disabled)"})]),cM("button-group","\n white-space: nowrap;\n height: var(--n-height);\n line-height: var(--n-height);\n ",[cB("radio-button",{height:"var(--n-height)",lineHeight:"var(--n-height)"}),cE("splitor",{height:"var(--n-height)"})]),cB("radio-button","\n vertical-align: bottom;\n outline: none;\n position: relative;\n user-select: none;\n -webkit-user-select: none;\n display: inline-block;\n box-sizing: border-box;\n padding-left: 14px;\n padding-right: 14px;\n white-space: nowrap;\n transition:\n background-color .3s var(--n-bezier),\n opacity .3s var(--n-bezier),\n border-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n color: var(--n-button-text-color);\n border-top: 1px solid var(--n-button-border-color);\n border-bottom: 1px solid var(--n-button-border-color);\n ",[cB("radio-input","\n pointer-events: none;\n position: absolute;\n border: 0;\n border-radius: inherit;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n opacity: 0;\n z-index: 1;\n "),cE("state-border","\n z-index: 1;\n pointer-events: none;\n position: absolute;\n box-shadow: var(--n-button-box-shadow);\n transition: box-shadow .3s var(--n-bezier);\n left: -1px;\n bottom: -1px;\n right: -1px;\n top: -1px;\n "),c$3("&:first-child","\n border-top-left-radius: var(--n-button-border-radius);\n border-bottom-left-radius: var(--n-button-border-radius);\n border-left: 1px solid var(--n-button-border-color);\n ",[cE("state-border","\n border-top-left-radius: var(--n-button-border-radius);\n border-bottom-left-radius: var(--n-button-border-radius);\n ")]),c$3("&:last-child","\n border-top-right-radius: var(--n-button-border-radius);\n border-bottom-right-radius: var(--n-button-border-radius);\n border-right: 1px solid var(--n-button-border-color);\n ",[cE("state-border","\n border-top-right-radius: var(--n-button-border-radius);\n border-bottom-right-radius: var(--n-button-border-radius);\n ")]),cNotM("disabled","\n cursor: pointer;\n ",[c$3("&:hover",[cE("state-border","\n transition: box-shadow .3s var(--n-bezier);\n box-shadow: var(--n-button-box-shadow-hover);\n "),cNotM("checked",{color:"var(--n-button-text-color-hover)"})]),cM("focus",[c$3("&:not(:active)",[cE("state-border",{boxShadow:"var(--n-button-box-shadow-focus)"})])])]),cM("checked","\n background: var(--n-button-color-active);\n color: var(--n-button-text-color-active);\n border-color: var(--n-button-border-color-active);\n "),cM("disabled","\n cursor: not-allowed;\n opacity: var(--n-opacity-disabled);\n ")])]);function mapSlot(e,t,r){for(var n,o=[],a=!1,i=0;i<e.length;++i){var s=e[i],l=null===(n=s.type)||void 0===n?void 0:n.name;"RadioButton"===l&&(a=!0);var c=s.props;if("RadioButton"===l)if(0===i)o.push(s);else{var u,d,p=o[o.length-1].props,f=t===p.value,h=p.disabled,v=t===c.value,g=c.disabled,m=(f?2:0)+(h?0:1),b=(v?2:0)+(g?0:1),A=(_defineProperty2(u={},"".concat(r,"-radio-group__splitor--disabled"),h),_defineProperty2(u,"".concat(r,"-radio-group__splitor--checked"),f),u),y=(_defineProperty2(d={},"".concat(r,"-radio-group__splitor--disabled"),g),_defineProperty2(d,"".concat(r,"-radio-group__splitor--checked"),v),d),x=m<b?y:A;o.push(h$1("div",{class:["".concat(r,"-radio-group__splitor"),x]}),s)}else o.push(s)}return{children:o,isButtonGroup:a}}var radioGroupProps=Object.assign(Object.assign({},useTheme.props),{name:String,value:[String,Number,Boolean],defaultValue:{type:[String,Number,Boolean],default:null},size:String,disabled:{type:Boolean,default:void 0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array]}),NRadioGroup=defineComponent({name:"RadioGroup",props:radioGroupProps,setup:function(e){var t=ref(null),r=useFormItem(e),n=r.mergedSizeRef,o=r.mergedDisabledRef,a=r.nTriggerFormChange,i=r.nTriggerFormInput,s=r.nTriggerFormBlur,l=r.nTriggerFormFocus,c=useConfig(e),u=c.mergedClsPrefixRef,d=c.inlineThemeDisabled,p=c.mergedRtlRef,f=useTheme("Radio","-radio-group",style$d,radioLight$1,e,u),h=ref(e.defaultValue),v=useMergedState(toRef(e,"value"),h);provide(radioGroupInjectionKey,{mergedClsPrefixRef:u,nameRef:toRef(e,"name"),valueRef:v,disabledRef:o,mergedSizeRef:n,doUpdateValue:function(t){var r=e.onUpdateValue,n=e["onUpdate:value"];r&&call$1(r,t),n&&call$1(n,t),h.value=t,a(),i()}});var g=useRtl("Radio",p,u),m=computed((function(){var e=n.value,t=f.value,r=t.common.cubicBezierEaseInOut,o=t.self,a=o.buttonBorderColor,i=o.buttonBorderColorActive,s=o.buttonBorderRadius,l=o.buttonBoxShadow,c=o.buttonBoxShadowFocus,u=o.buttonBoxShadowHover,d=o.buttonColorActive,p=o.buttonTextColor,h=o.buttonTextColorActive,v=o.buttonTextColorHover,g=o.opacityDisabled,m=o[createKey("buttonHeight",e)];return{"--n-font-size":o[createKey("fontSize",e)],"--n-bezier":r,"--n-button-border-color":a,"--n-button-border-color-active":i,"--n-button-border-radius":s,"--n-button-box-shadow":l,"--n-button-box-shadow-focus":c,"--n-button-box-shadow-hover":u,"--n-button-color-active":d,"--n-button-text-color":p,"--n-button-text-color-hover":v,"--n-button-text-color-active":h,"--n-height":m,"--n-opacity-disabled":g}})),b=d?useThemeClass("radio-group",computed((function(){return n.value[0]})),m,e):void 0;return{selfElRef:t,rtlEnabled:g,mergedClsPrefix:u,mergedValue:v,handleFocusout:function(e){var r=t.value;r&&(r.contains(e.relatedTarget)||s())},handleFocusin:function(e){var r=t.value;r&&(r.contains(e.relatedTarget)||l())},cssVars:d?void 0:m,themeClass:null==b?void 0:b.themeClass,onRender:null==b?void 0:b.onRender}},render:function(){var e,t=this.mergedValue,r=this.mergedClsPrefix,n=this.handleFocusin,o=this.handleFocusout,a=mapSlot(flatten$4(getSlot$1(this)),t,r),i=a.children,s=a.isButtonGroup;return null===(e=this.onRender)||void 0===e||e.call(this),h$1("div",{onFocusin:n,onFocusout:o,ref:"selfElRef",class:["".concat(r,"-radio-group"),this.rtlEnabled&&"".concat(r,"-radio-group--rtl"),this.themeClass,s&&"".concat(r,"-radio-group--button-group")],style:this.cssVars},i)}}),NDropdownDivider=defineComponent({name:"DropdownDivider",props:{clsPrefix:{type:String,required:!0}},render:function(){return h$1("div",{class:"".concat(this.clsPrefix,"-dropdown-divider")})}}),self$u=function(e){return{color:e.textColorBase,opacity1Depth:e.opacity1,opacity2Depth:e.opacity2,opacity3Depth:e.opacity3,opacity4Depth:e.opacity4,opacity5Depth:e.opacity5}},iconLight={name:"Icon",common:commonLight,self:self$u},iconLight$1=iconLight,iconDark$1={name:"Icon",common:commonDark,self:self$u},iconDark$2=iconDark$1,style$c=cB("icon","\n height: 1em;\n width: 1em;\n line-height: 1em;\n text-align: center;\n display: inline-block;\n position: relative;\n fill: currentColor;\n transform: translateZ(0);\n",[cM("color-transition",{transition:"color .3s var(--n-bezier)"}),cM("depth",{color:"var(--n-color)"},[c$3("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),c$3("svg",{height:"1em",width:"1em"})]),iconProps=Object.assign(Object.assign({},useTheme.props),{depth:[String,Number],size:[Number,String],color:String,component:Object}),NIcon=defineComponent({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:iconProps,setup:function(e){var t=useConfig(e),r=t.mergedClsPrefixRef,n=t.inlineThemeDisabled,o=useTheme("Icon","-icon",style$c,iconLight$1,e,r),a=computed((function(){var t=e.depth,r=o.value,n=r.common.cubicBezierEaseInOut,a=r.self;return void 0!==t?{"--n-bezier":n,"--n-color":a.color,"--n-opacity":a["opacity".concat(t,"Depth")]}:{"--n-bezier":n,"--n-color":"","--n-opacity":""}})),i=n?useThemeClass("icon",computed((function(){return"".concat(e.depth||"d")})),a,e):void 0;return{mergedClsPrefix:r,mergedStyle:computed((function(){var t=e.size,r=e.color;return{fontSize:formatLength(t),color:r}})),cssVars:n?void 0:a,themeClass:null==i?void 0:i.themeClass,onRender:null==i?void 0:i.onRender}},render:function(){var e,t,r=this.$parent,n=this.depth,o=this.mergedClsPrefix,a=this.component,i=this.onRender,s=this.themeClass;return(null===(t=null==r?void 0:r.$options)||void 0===t?void 0:t._n_icon__)&&warn$3("icon","don't wrap `n-icon` inside `n-icon`"),null==i||i(),h$1("i",mergeProps(this.$attrs,{role:"img",class:["".concat(o,"-icon"),s,(e={},_defineProperty2(e,"".concat(o,"-icon--depth"),n),_defineProperty2(e,"".concat(o,"-icon--color-transition"),void 0!==n),e)],style:[this.cssVars,this.mergedStyle]}),a?h$1(a):this.$slots)}}),dropdownMenuInjectionKey=createInjectionKey("n-dropdown-menu"),dropdownInjectionKey=createInjectionKey("n-dropdown"),dropdownOptionInjectionKey=createInjectionKey("n-dropdown-option");function isSubmenuNode(e,t){return"submenu"===e.type||void 0===e.type&&void 0!==e[t]}function isGroupNode(e){return"group"===e.type}function isDividerNode(e){return"divider"===e.type}function isRenderNode(e){return"render"===e.type}var NDropdownOption=defineComponent({name:"DropdownOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null},placement:{type:String,default:"right-start"},props:Object,scrollable:Boolean},setup:function(e){var t=inject(dropdownInjectionKey),r=t.hoverKeyRef,n=t.keyboardKeyRef,o=t.lastToggledSubmenuKeyRef,a=t.pendingKeyPathRef,i=t.activeKeyPathRef,s=t.animatedRef,l=t.mergedShowRef,c=t.renderLabelRef,u=t.renderIconRef,d=t.labelFieldRef,p=t.childrenFieldRef,f=t.renderOptionRef,h=t.nodePropsRef,v=t.menuPropsRef,g=inject(dropdownOptionInjectionKey,null),m=inject(dropdownMenuInjectionKey),b=inject(popoverBodyInjectionKey),A=computed((function(){return e.tmNode.rawNode})),y=computed((function(){var t=p.value;return isSubmenuNode(e.tmNode.rawNode,t)})),x=computed((function(){return e.tmNode.disabled})),w=useDeferredTrue(computed((function(){if(!y.value)return!1;var t=e.tmNode,i=t.key;if(t.disabled)return!1;var s=r.value,l=n.value,c=o.value,u=a.value;return null!==s?u.includes(i):null!==l?u.includes(i)&&u[u.length-1]!==i:null!==c&&u.includes(i)})),300,computed((function(){return null===n.value&&!s.value}))),C=computed((function(){return!!(null==g?void 0:g.enteringSubmenuRef.value)})),k=ref(!1);function _(){var t=e.parentKey,a=e.tmNode;a.disabled||l.value&&(o.value=t,n.value=null,r.value=a.key)}return provide(dropdownOptionInjectionKey,{enteringSubmenuRef:k}),{labelField:d,renderLabel:c,renderIcon:u,siblingHasIcon:m.showIconRef,siblingHasSubmenu:m.hasSubmenuRef,menuProps:v,popoverBody:b,animated:s,mergedShowSubmenu:computed((function(){return w.value&&!C.value})),rawNode:A,hasSubmenu:y,pending:useMemo((function(){var t=a.value,r=e.tmNode.key;return t.includes(r)})),childActive:useMemo((function(){var t=i.value,r=e.tmNode.key,n=t.findIndex((function(e){return r===e}));return-1!==n&&n<t.length-1})),active:useMemo((function(){var t=i.value,r=e.tmNode.key,n=t.findIndex((function(e){return r===e}));return-1!==n&&n===t.length-1})),mergedDisabled:x,renderOption:f,nodeProps:h,handleClick:function(){var r=y.value,n=e.tmNode;l.value&&(r||n.disabled||(t.doSelect(n.key,n.rawNode),t.doUpdateShow(!1)))},handleMouseMove:function(){var t=e.tmNode;t.disabled||l.value&&r.value!==t.key&&_()},handleMouseEnter:_,handleMouseLeave:function(t){if(!e.tmNode.disabled&&l.value){var n=t.relatedTarget;!n||happensIn({target:n},"dropdownOption")||happensIn({target:n},"scrollbarRail")||(r.value=null)}},handleSubmenuBeforeEnter:function(){k.value=!0},handleSubmenuAfterEnter:function(){k.value=!1}}},render:function(){var e,t,r=this,n=this.animated,o=this.rawNode,a=this.mergedShowSubmenu,i=this.clsPrefix,s=this.siblingHasIcon,l=this.siblingHasSubmenu,c=this.renderLabel,u=this.renderIcon,d=this.renderOption,p=this.nodeProps,f=this.props,h=this.scrollable,v=null;if(a){var g=null===(e=this.menuProps)||void 0===e?void 0:e.call(this,o,o.children);v=h$1(NDropdownMenu,Object.assign({},g,{clsPrefix:i,scrollable:this.scrollable,tmNodes:this.tmNode.children,parentKey:this.tmNode.key}))}var m={class:["".concat(i,"-dropdown-option-body"),this.pending&&"".concat(i,"-dropdown-option-body--pending"),this.active&&"".concat(i,"-dropdown-option-body--active"),this.childActive&&"".concat(i,"-dropdown-option-body--child-active"),this.mergedDisabled&&"".concat(i,"-dropdown-option-body--disabled")],onMousemove:this.handleMouseMove,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onClick:this.handleClick},b=null==p?void 0:p(o),A=h$1("div",Object.assign({class:["".concat(i,"-dropdown-option"),null==b?void 0:b.class],"data-dropdown-option":!0},b),h$1("div",mergeProps(m,f),[h$1("div",{class:["".concat(i,"-dropdown-option-body__prefix"),s&&"".concat(i,"-dropdown-option-body__prefix--show-icon")]},[u?u(o):render$1(o.icon)]),h$1("div",{"data-dropdown-option":!0,class:"".concat(i,"-dropdown-option-body__label")},c?c(o):render$1(null!==(t=o[this.labelField])&&void 0!==t?t:o.title)),h$1("div",{"data-dropdown-option":!0,class:["".concat(i,"-dropdown-option-body__suffix"),l&&"".concat(i,"-dropdown-option-body__suffix--has-submenu")]},this.hasSubmenu?h$1(NIcon,null,{default:function(){return h$1(ChevronRightIcon,null)}}):null)]),this.hasSubmenu?h$1(VBinder,null,{default:function(){return[h$1(VTarget,null,{default:function(){return h$1("div",{class:"".concat(i,"-dropdown-offset-container")},h$1(VFollower,{show:r.mergedShowSubmenu,placement:r.placement,to:h&&r.popoverBody||void 0,teleportDisabled:!h},{default:function(){return h$1("div",{class:"".concat(i,"-dropdown-menu-wrapper")},n?h$1(Transition,{onBeforeEnter:r.handleSubmenuBeforeEnter,onAfterEnter:r.handleSubmenuAfterEnter,name:"fade-in-scale-up-transition",appear:!0},{default:function(){return v}}):v)}}))}})]}}):null);return d?d({node:A,option:o}):A}}),NDropdownGroupHeader=defineComponent({name:"DropdownGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup:function(){var e=inject(dropdownMenuInjectionKey),t=e.showIconRef,r=e.hasSubmenuRef,n=inject(dropdownInjectionKey),o=n.renderLabelRef;return{labelField:n.labelFieldRef,showIcon:t,hasSubmenu:r,renderLabel:o,nodeProps:n.nodePropsRef,renderOption:n.renderOptionRef}},render:function(){var e,t=this.clsPrefix,r=this.hasSubmenu,n=this.showIcon,o=this.nodeProps,a=this.renderLabel,i=this.renderOption,s=this.tmNode.rawNode,l=h$1("div",Object.assign({class:"".concat(t,"-dropdown-option")},null==o?void 0:o(s)),h$1("div",{class:"".concat(t,"-dropdown-option-body ").concat(t,"-dropdown-option-body--group")},h$1("div",{"data-dropdown-option":!0,class:["".concat(t,"-dropdown-option-body__prefix"),n&&"".concat(t,"-dropdown-option-body__prefix--show-icon")]},render$1(s.icon)),h$1("div",{class:"".concat(t,"-dropdown-option-body__label"),"data-dropdown-option":!0},a?a(s):render$1(null!==(e=s.title)&&void 0!==e?e:s[this.labelField])),h$1("div",{class:["".concat(t,"-dropdown-option-body__suffix"),r&&"".concat(t,"-dropdown-option-body__suffix--has-submenu")],"data-dropdown-option":!0})));return i?i({node:l,option:s}):l}}),NDropdownGroup=defineComponent({name:"NDropdownGroup",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null}},render:function(){var e=this.tmNode,t=this.parentKey,r=this.clsPrefix,n=e.children;return h$1(Fragment,null,h$1(NDropdownGroupHeader,{clsPrefix:r,tmNode:e,key:e.key}),null==n?void 0:n.map((function(e){var n=e.rawNode;return!1===n.show?null:isDividerNode(n)?h$1(NDropdownDivider,{clsPrefix:r,key:e.key}):e.isGroup?(warn$3("dropdown","`group` node is not allowed to be put in `group` node."),null):h$1(NDropdownOption,{clsPrefix:r,tmNode:e,parentKey:t,key:e.key})})))}}),NDropdownRenderOption=defineComponent({name:"DropdownRenderOption",props:{tmNode:{type:Object,required:!0}},render:function(){var e=this.tmNode.rawNode,t=e.render;return h$1("div",e.props,[null==t?void 0:t()])}}),NDropdownMenu=defineComponent({name:"DropdownMenu",props:{scrollable:Boolean,showArrow:Boolean,arrowStyle:[String,Object],clsPrefix:{type:String,required:!0},tmNodes:{type:Array,default:function(){return[]}},parentKey:{type:[String,Number],default:null}},setup:function(e){var t=inject(dropdownInjectionKey),r=t.renderIconRef,n=t.childrenFieldRef;provide(dropdownMenuInjectionKey,{showIconRef:computed((function(){var t=r.value;return e.tmNodes.some((function(e){var r;if(e.isGroup)return null===(r=e.children)||void 0===r?void 0:r.some((function(e){var r=e.rawNode;return t?t(r):r.icon}));var n=e.rawNode;return t?t(n):n.icon}))})),hasSubmenuRef:computed((function(){var t=n.value;return e.tmNodes.some((function(e){var r;return e.isGroup?null===(r=e.children)||void 0===r?void 0:r.some((function(e){return isSubmenuNode(e.rawNode,t)})):isSubmenuNode(e.rawNode,t)}))}))});var o=ref(null);return provide(modalBodyInjectionKey,null),provide(drawerBodyInjectionKey,null),provide(popoverBodyInjectionKey,o),{bodyRef:o}},render:function(){var e=this.parentKey,t=this.clsPrefix,r=this.scrollable,n=this.tmNodes.map((function(n){var o=n.rawNode;return!1===o.show?null:isRenderNode(o)?h$1(NDropdownRenderOption,{tmNode:n,key:n.key}):isDividerNode(o)?h$1(NDropdownDivider,{clsPrefix:t,key:n.key}):isGroupNode(o)?h$1(NDropdownGroup,{clsPrefix:t,tmNode:n,parentKey:e,key:n.key}):h$1(NDropdownOption,{clsPrefix:t,tmNode:n,parentKey:e,key:n.key,props:o.props,scrollable:r})}));return h$1("div",{class:["".concat(t,"-dropdown-menu"),r&&"".concat(t,"-dropdown-menu--scrollable")],ref:"bodyRef"},r?h$1(XScrollbar,{contentClass:"".concat(t,"-dropdown-menu__content")},{default:function(){return n}}):n,this.showArrow?renderArrow({clsPrefix:t,arrowStyle:this.arrowStyle}):null)}}),style$b=cB("dropdown-menu","\n transform-origin: var(--v-transform-origin);\n background-color: var(--n-color);\n border-radius: var(--n-border-radius);\n box-shadow: var(--n-box-shadow);\n position: relative;\n transition:\n background-color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier);\n",[fadeInScaleUpTransition(),cB("dropdown-option","\n position: relative;\n ",[c$3("a","\n text-decoration: none;\n color: inherit;\n outline: none;\n ",[c$3("&::before",'\n content: "";\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n ')]),cB("dropdown-option-body","\n display: flex;\n cursor: pointer;\n position: relative;\n height: var(--n-option-height);\n line-height: var(--n-option-height);\n font-size: var(--n-font-size);\n color: var(--n-option-text-color);\n transition: color .3s var(--n-bezier);\n ",[c$3("&::before",'\n content: "";\n position: absolute;\n top: 0;\n bottom: 0;\n left: 4px;\n right: 4px;\n transition: background-color .3s var(--n-bezier);\n border-radius: var(--n-border-radius);\n '),cNotM("disabled",[cM("pending","\n color: var(--n-option-text-color-hover);\n ",[cE("prefix, suffix","\n color: var(--n-option-text-color-hover);\n "),c$3("&::before","background-color: var(--n-option-color-hover);")]),cM("active","\n color: var(--n-option-text-color-active);\n ",[cE("prefix, suffix","\n color: var(--n-option-text-color-active);\n "),c$3("&::before","background-color: var(--n-option-color-active);")]),cM("child-active","\n color: var(--n-option-text-color-child-active);\n ",[cE("prefix, suffix","\n color: var(--n-option-text-color-child-active);\n ")])]),cM("disabled","\n cursor: not-allowed;\n opacity: var(--n-option-opacity-disabled);\n "),cM("group","\n font-size: calc(var(--n-font-size) - 1px);\n color: var(--n-group-header-text-color);\n ",[cE("prefix","\n width: calc(var(--n-option-prefix-width) / 2);\n ",[cM("show-icon","\n width: calc(var(--n-option-icon-prefix-width) / 2);\n ")])]),cE("prefix","\n width: var(--n-option-prefix-width);\n display: flex;\n justify-content: center;\n align-items: center;\n color: var(--n-prefix-color);\n transition: color .3s var(--n-bezier);\n z-index: 1;\n ",[cM("show-icon","\n width: var(--n-option-icon-prefix-width);\n "),cB("icon","\n font-size: var(--n-option-icon-size);\n ")]),cE("label","\n white-space: nowrap;\n flex: 1;\n z-index: 1;\n "),cE("suffix","\n box-sizing: border-box;\n flex-grow: 0;\n flex-shrink: 0;\n display: flex;\n justify-content: flex-end;\n align-items: center;\n min-width: var(--n-option-suffix-width);\n padding: 0 8px;\n transition: color .3s var(--n-bezier);\n color: var(--n-suffix-color);\n z-index: 1;\n ",[cM("has-submenu","\n width: var(--n-option-icon-suffix-width);\n "),cB("icon","\n font-size: var(--n-option-icon-size);\n ")]),cB("dropdown-menu","pointer-events: all;")]),cB("dropdown-offset-container","\n pointer-events: none;\n position: absolute;\n left: 0;\n right: 0;\n top: -4px;\n bottom: -4px;\n ")]),cB("dropdown-divider","\n transition: background-color .3s var(--n-bezier);\n background-color: var(--n-divider-color);\n height: 1px;\n margin: 4px 0;\n "),cB("dropdown-menu-wrapper","\n transform-origin: var(--v-transform-origin);\n width: fit-content;\n "),c$3(">",[cB("scrollbar","\n height: inherit;\n max-height: inherit;\n ")]),cNotM("scrollable","\n padding: var(--n-padding);\n "),cM("scrollable",[cE("content","\n padding: var(--n-padding);\n ")])]),dropdownBaseProps={animated:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},size:{type:String,default:"medium"},inverted:Boolean,placement:{type:String,default:"bottom"},onSelect:[Function,Array],options:{type:Array,default:function(){return[]}},menuProps:Function,showArrow:Boolean,renderLabel:Function,renderIcon:Function,renderOption:Function,nodeProps:Function,labelField:{type:String,default:"label"},keyField:{type:String,default:"key"},childrenField:{type:String,default:"children"},value:[String,Number]},popoverPropKeys=Object.keys(popoverBaseProps),dropdownProps=Object.assign(Object.assign(Object.assign({},popoverBaseProps),dropdownBaseProps),useTheme.props),NDropdown=defineComponent({name:"Dropdown",inheritAttrs:!1,props:dropdownProps,setup:function(e){var t=ref(!1),r=useMergedState(toRef(e,"show"),t),n=computed((function(){var t=e.keyField,r=e.childrenField;return createTreeMate(e.options,{getKey:function(e){return e[t]},getDisabled:function(e){return!0===e.disabled},getIgnored:function(e){return"divider"===e.type||"render"===e.type},getChildren:function(e){return e[r]}})})),o=computed((function(){return n.value.treeNodes})),a=ref(null),i=ref(null),s=ref(null),l=computed((function(){var e,t,r;return null!==(r=null!==(t=null!==(e=a.value)&&void 0!==e?e:i.value)&&void 0!==t?t:s.value)&&void 0!==r?r:null})),c=computed((function(){return n.value.getPath(l.value).keyPath})),u=computed((function(){return n.value.getPath(e.value).keyPath}));useKeyboard({keydown:{ArrowUp:{prevent:!0,handler:function(){A("up")}},ArrowRight:{prevent:!0,handler:function(){A("right")}},ArrowDown:{prevent:!0,handler:function(){A("down")}},ArrowLeft:{prevent:!0,handler:function(){A("left")}},Enter:{prevent:!0,handler:function(){var e=b();(null==e?void 0:e.isLeaf)&&r.value&&(v(e.key,e.rawNode),g(!1))}},Escape:function(){g(!1)}}},useMemo((function(){return e.keyboard&&r.value})));var d=useConfig(e),p=d.mergedClsPrefixRef,f=d.inlineThemeDisabled,h=useTheme("Dropdown","-dropdown",style$b,dropdownLight$1,e,p);function v(t,r){var n=e.onSelect;n&&call$1(n,t,r)}function g(r){var n=e["onUpdate:show"],o=e.onUpdateShow;n&&call$1(n,r),o&&call$1(o,r),t.value=r}function m(){a.value=null,i.value=null,s.value=null}function b(){var e,t=n.value,r=l.value;return t&&null!==r&&null!==(e=t.getNode(r))&&void 0!==e?e:null}function A(e){var t=l.value,r=n.value.getFirstAvailableNode,o=null;if(null===t){var s=r();null!==s&&(o=s.key)}else{var c=b();if(c){var u;switch(e){case"down":u=c.getNext();break;case"up":u=c.getPrev();break;case"right":u=c.getChild();break;case"left":u=c.getParent()}u&&(o=u.key)}}null!==o&&(a.value=null,i.value=o)}provide(dropdownInjectionKey,{labelFieldRef:toRef(e,"labelField"),childrenFieldRef:toRef(e,"childrenField"),renderLabelRef:toRef(e,"renderLabel"),renderIconRef:toRef(e,"renderIcon"),hoverKeyRef:a,keyboardKeyRef:i,lastToggledSubmenuKeyRef:s,pendingKeyPathRef:c,activeKeyPathRef:u,animatedRef:toRef(e,"animated"),mergedShowRef:r,nodePropsRef:toRef(e,"nodeProps"),renderOptionRef:toRef(e,"renderOption"),menuPropsRef:toRef(e,"menuProps"),doSelect:v,doUpdateShow:g}),watch(r,(function(t){e.animated||t||m()}));var y=computed((function(){var t=e.size,r=e.inverted,n=h.value,o=n.common.cubicBezierEaseInOut,a=n.self,i=a.padding,s=a.dividerColor,l=a.borderRadius,c=a.optionOpacityDisabled,u=a[createKey("optionIconSuffixWidth",t)],d=a[createKey("optionSuffixWidth",t)],p=a[createKey("optionIconPrefixWidth",t)],f=a[createKey("optionPrefixWidth",t)],v={"--n-bezier":o,"--n-font-size":a[createKey("fontSize",t)],"--n-padding":i,"--n-border-radius":l,"--n-option-height":a[createKey("optionHeight",t)],"--n-option-prefix-width":f,"--n-option-icon-prefix-width":p,"--n-option-suffix-width":d,"--n-option-icon-suffix-width":u,"--n-option-icon-size":a[createKey("optionIconSize",t)],"--n-divider-color":s,"--n-option-opacity-disabled":c};return r?(v["--n-color"]=a.colorInverted,v["--n-option-color-hover"]=a.optionColorHoverInverted,v["--n-option-color-active"]=a.optionColorActiveInverted,v["--n-option-text-color"]=a.optionTextColorInverted,v["--n-option-text-color-hover"]=a.optionTextColorHoverInverted,v["--n-option-text-color-active"]=a.optionTextColorActiveInverted,v["--n-option-text-color-child-active"]=a.optionTextColorChildActiveInverted,v["--n-prefix-color"]=a.prefixColorInverted,v["--n-suffix-color"]=a.suffixColorInverted,v["--n-group-header-text-color"]=a.groupHeaderTextColorInverted):(v["--n-color"]=a.color,v["--n-option-color-hover"]=a.optionColorHover,v["--n-option-color-active"]=a.optionColorActive,v["--n-option-text-color"]=a.optionTextColor,v["--n-option-text-color-hover"]=a.optionTextColorHover,v["--n-option-text-color-active"]=a.optionTextColorActive,v["--n-option-text-color-child-active"]=a.optionTextColorChildActive,v["--n-prefix-color"]=a.prefixColor,v["--n-suffix-color"]=a.suffixColor,v["--n-group-header-text-color"]=a.groupHeaderTextColor),v})),x=f?useThemeClass("dropdown",computed((function(){return"".concat(e.size[0]).concat(e.inverted?"i":"")})),y,e):void 0;return{mergedClsPrefix:p,mergedTheme:h,tmNodes:o,mergedShow:r,handleAfterLeave:function(){e.animated&&m()},doUpdateShow:g,cssVars:f?void 0:y,themeClass:null==x?void 0:x.themeClass,onRender:null==x?void 0:x.onRender}},render:function(){var e=this,t=this.mergedTheme,r={show:this.mergedShow,theme:t.peers.Popover,themeOverrides:t.peerOverrides.Popover,internalOnAfterLeave:this.handleAfterLeave,internalRenderBody:function(t,r,n,o,a){var i,s=e.mergedClsPrefix,l=e.menuProps;null===(i=e.onRender)||void 0===i||i.call(e);var c=(null==l?void 0:l(void 0,e.tmNodes.map((function(e){return e.rawNode}))))||{},u={ref:createRefSetter(r),class:[t,"".concat(s,"-dropdown"),e.themeClass],clsPrefix:s,tmNodes:e.tmNodes,style:[n,e.cssVars],showArrow:e.showArrow,arrowStyle:e.arrowStyle,scrollable:e.scrollable,onMouseenter:o,onMouseleave:a};return h$1(NDropdownMenu,mergeProps(e.$attrs,u,c))},onUpdateShow:this.doUpdateShow,"onUpdate:show":void 0};return h$1(NPopover,Object.assign({},keep(this.$props,popoverPropKeys),r),{trigger:function(){var t,r;return null===(r=(t=e.$slots).default)||void 0===r?void 0:r.call(t)}})}}),commonVars$7={itemFontSize:"12px",itemHeight:"36px",itemWidth:"52px",panelActionPadding:"8px 0"},self$t=function(e){var t=e.popoverColor,r=e.textColor2,n=e.primaryColor,o=e.hoverColor,a=e.dividerColor,i=e.opacityDisabled,s=e.boxShadow2,l=e.borderRadius,c=e.iconColor,u=e.iconColorDisabled;return Object.assign(Object.assign({},commonVars$7),{panelColor:t,panelBoxShadow:s,panelDividerColor:a,itemTextColor:r,itemTextColorActive:n,itemColorHover:o,itemOpacityDisabled:i,itemBorderRadius:l,borderRadius:l,iconColor:c,iconColorDisabled:u})},timePickerDark={name:"TimePicker",common:commonDark,peers:{Scrollbar:scrollbarDark$1,Button:buttonDark$1,Input:inputDark$1},self:self$t},timePickerDark$1=timePickerDark,commonVars$6={itemSize:"24px",itemCellWidth:"38px",itemCellHeight:"32px",scrollItemWidth:"80px",scrollItemHeight:"40px",panelExtraFooterPadding:"8px 12px",panelActionPadding:"8px 12px",calendarTitlePadding:"0",calendarTitleHeight:"28px",arrowSize:"14px",panelHeaderPadding:"8px 12px",calendarDaysHeight:"32px",calendarTitleGridTempateColumns:"28px 28px 1fr 28px 28px",calendarLeftPaddingDate:"6px 12px 4px 12px",calendarLeftPaddingDatetime:"4px 12px",calendarLeftPaddingDaterange:"6px 12px 4px 12px",calendarLeftPaddingDatetimerange:"4px 12px",calendarLeftPaddingMonth:"0",calendarLeftPaddingYear:"0",calendarLeftPaddingQuarter:"0",calendarLeftPaddingMonthrange:"0",calendarLeftPaddingQuarterrange:"0",calendarLeftPaddingYearrange:"0",calendarRightPaddingDate:"6px 12px 4px 12px",calendarRightPaddingDatetime:"4px 12px",calendarRightPaddingDaterange:"6px 12px 4px 12px",calendarRightPaddingDatetimerange:"4px 12px",calendarRightPaddingMonth:"0",calendarRightPaddingYear:"0",calendarRightPaddingQuarter:"0",calendarRightPaddingMonthrange:"0",calendarRightPaddingQuarterrange:"0",calendarRightPaddingYearrange:"0"},self$s=function(e){var t=e.hoverColor,r=e.fontSize,n=e.textColor2,o=e.textColorDisabled,a=e.popoverColor,i=e.primaryColor,s=e.borderRadiusSmall,l=e.iconColor,c=e.iconColorDisabled,u=e.textColor1,d=e.dividerColor,p=e.boxShadow2,f=e.borderRadius,h=e.fontWeightStrong;return Object.assign(Object.assign({},commonVars$6),{itemFontSize:r,calendarDaysFontSize:r,calendarTitleFontSize:r,itemTextColor:n,itemTextColorDisabled:o,itemTextColorActive:a,itemTextColorCurrent:i,itemColorIncluded:changeColor(i,{alpha:.1}),itemColorHover:t,itemColorDisabled:t,itemColorActive:i,itemBorderRadius:s,panelColor:a,panelTextColor:n,arrowColor:l,calendarTitleTextColor:u,calendarTitleColorHover:t,calendarDaysTextColor:n,panelHeaderDividerColor:d,calendarDaysDividerColor:d,calendarDividerColor:d,panelActionDividerColor:d,panelBoxShadow:p,panelBorderRadius:f,calendarTitleFontWeight:h,scrollItemBorderRadius:f,iconColor:l,iconColorDisabled:c})},datePickerDark={name:"DatePicker",common:commonDark,peers:{Input:inputDark$1,Button:buttonDark$1,TimePicker:timePickerDark$1,Scrollbar:scrollbarDark$1},self:function(e){var t=e.popoverColor,r=e.hoverColor,n=e.primaryColor,o=self$s(e);return o.itemColorDisabled=composite(t,r),o.itemColorIncluded=changeColor(n,{alpha:.15}),o.itemColorHover=composite(t,r),o}},datePickerDark$1=datePickerDark,commonVariables$7={thPaddingBorderedSmall:"8px 12px",thPaddingBorderedMedium:"12px 16px",thPaddingBorderedLarge:"16px 24px",thPaddingSmall:"0",thPaddingMedium:"0",thPaddingLarge:"0",tdPaddingBorderedSmall:"8px 12px",tdPaddingBorderedMedium:"12px 16px",tdPaddingBorderedLarge:"16px 24px",tdPaddingSmall:"0 0 8px 0",tdPaddingMedium:"0 0 12px 0",tdPaddingLarge:"0 0 16px 0"},self$r=function(e){var t=e.tableHeaderColor,r=e.textColor2,n=e.textColor1,o=e.cardColor,a=e.modalColor,i=e.popoverColor,s=e.dividerColor,l=e.borderRadius,c=e.fontWeightStrong,u=e.lineHeight,d=e.fontSizeSmall,p=e.fontSizeMedium,f=e.fontSizeLarge;return Object.assign(Object.assign({},commonVariables$7),{lineHeight:u,fontSizeSmall:d,fontSizeMedium:p,fontSizeLarge:f,titleTextColor:n,thColor:composite(o,t),thColorModal:composite(a,t),thColorPopover:composite(i,t),thTextColor:n,thFontWeight:c,tdTextColor:r,tdColor:o,tdColorModal:a,tdColorPopover:i,borderColor:composite(o,s),borderColorModal:composite(a,s),borderColorPopover:composite(i,s),borderRadius:l})},descriptionsDark={name:"Descriptions",common:commonDark,self:self$r},descriptionsDark$1=descriptionsDark,commonVars$5={titleFontSize:"18px",padding:"16px 28px 20px 28px",iconSize:"28px",actionSpace:"12px",contentMargin:"8px 0 16px 0",iconMargin:"0 4px 0 0",iconMarginIconTop:"4px 0 8px 0",closeSize:"22px",closeIconSize:"18px",closeMargin:"20px 26px 0 0",closeMarginIconTop:"10px 16px 0 0"},self$q=function(e){var t=e.textColor1,r=e.textColor2,n=e.modalColor,o=e.closeIconColor,a=e.closeIconColorHover,i=e.closeIconColorPressed,s=e.closeColorHover,l=e.closeColorPressed,c=e.infoColor,u=e.successColor,d=e.warningColor,p=e.errorColor,f=e.primaryColor,h=e.dividerColor,v=e.borderRadius,g=e.fontWeightStrong,m=e.lineHeight,b=e.fontSize;return Object.assign(Object.assign({},commonVars$5),{fontSize:b,lineHeight:m,border:"1px solid ".concat(h),titleTextColor:t,textColor:r,color:n,closeColorHover:s,closeColorPressed:l,closeIconColor:o,closeIconColorHover:a,closeIconColorPressed:i,closeBorderRadius:v,iconColor:f,iconColorInfo:c,iconColorSuccess:u,iconColorWarning:d,iconColorError:p,borderRadius:v,titleFontWeight:g})},dialogLight=createTheme({name:"Dialog",common:commonLight,peers:{Button:buttonLight$1},self:self$q}),dialogLight$1=dialogLight,dialogDark={name:"Dialog",common:commonDark,peers:{Button:buttonDark$1},self:self$q},dialogDark$1=dialogDark,dialogProps={icon:Function,type:{type:String,default:"default"},title:[String,Function],closable:{type:Boolean,default:!0},negativeText:String,positiveText:String,positiveButtonProps:Object,negativeButtonProps:Object,content:[String,Function],action:Function,showIcon:{type:Boolean,default:!0},loading:Boolean,bordered:Boolean,iconPlacement:String,onPositiveClick:Function,onNegativeClick:Function,onClose:Function},dialogPropKeys=keysOf(dialogProps),style$a=c$3([cB("dialog","\n word-break: break-word;\n line-height: var(--n-line-height);\n position: relative;\n background: var(--n-color);\n color: var(--n-text-color);\n box-sizing: border-box;\n margin: auto;\n border-radius: var(--n-border-radius);\n padding: var(--n-padding);\n transition: \n border-color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n ",[cE("icon",{color:"var(--n-icon-color)"}),cM("bordered",{border:"var(--n-border)"}),cM("icon-top",[cE("close",{margin:"var(--n-close-margin)"}),cE("icon",{margin:"var(--n-icon-margin)"}),cE("content",{textAlign:"center"}),cE("title",{justifyContent:"center"}),cE("action",{justifyContent:"center"})]),cM("icon-left",[cE("icon",{margin:"var(--n-icon-margin)"}),cM("closable",[cE("title","\n padding-right: calc(var(--n-close-size) + 6px);\n ")])]),cE("close","\n position: absolute;\n right: 0;\n top: 0;\n margin: var(--n-close-margin);\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n z-index: 1;\n "),cE("content","\n font-size: var(--n-font-size);\n margin: var(--n-content-margin);\n position: relative;\n word-break: break-word;\n ",[cM("last","margin-bottom: 0;")]),cE("action","\n display: flex;\n justify-content: flex-end;\n ",[c$3("> *:not(:last-child)",{marginRight:"var(--n-action-space)"})]),cE("icon",{fontSize:"var(--n-icon-size)",transition:"color .3s var(--n-bezier)"}),cE("title","\n transition: color .3s var(--n-bezier);\n display: flex;\n align-items: center;\n font-size: var(--n-title-font-size);\n font-weight: var(--n-title-font-weight);\n color: var(--n-title-text-color);\n "),cB("dialog-icon-container",{display:"flex",justifyContent:"center"})]),insideModal(cB("dialog","\n width: 446px;\n max-width: calc(100vw - 32px);\n ")),cB("dialog",[asModal("\n width: 446px;\n max-width: calc(100vw - 32px);\n ")])]),iconRenderMap$2={default:function(){return h$1(InfoIcon,null)},info:function(){return h$1(InfoIcon,null)},success:function(){return h$1(SuccessIcon,null)},warning:function(){return h$1(WarningIcon,null)},error:function(){return h$1(ErrorIcon,null)}},NDialog=defineComponent({name:"Dialog",alias:["NimbusConfirmCard","Confirm"],props:Object.assign(Object.assign({},useTheme.props),dialogProps),setup:function(e){var t=useConfig(e),r=t.mergedComponentPropsRef,n=t.mergedClsPrefixRef,o=t.inlineThemeDisabled,a=computed((function(){var t,n;return e.iconPlacement||(null===(n=null===(t=null==r?void 0:r.value)||void 0===t?void 0:t.Dialog)||void 0===n?void 0:n.iconPlacement)||"left"}));var i=useTheme("Dialog","-dialog",style$a,dialogLight$1,e,n),s=computed((function(){var t=e.type,r=a.value,n=i.value,o=n.common.cubicBezierEaseInOut,s=n.self,l=s.fontSize,c=s.lineHeight,u=s.border,d=s.titleTextColor,p=s.textColor,f=s.color,h=s.closeBorderRadius,v=s.closeColorHover,g=s.closeColorPressed,m=s.closeIconColor,b=s.closeIconColorHover,A=s.closeIconColorPressed,y=s.closeIconSize,x=s.borderRadius,w=s.titleFontWeight,C=s.titleFontSize,k=s.padding,_=s.iconSize,S=s.actionSpace,B=s.contentMargin,E=s.closeSize,T=s["top"===r?"iconMarginIconTop":"iconMargin"],P=s["top"===r?"closeMarginIconTop":"closeMargin"];return{"--n-font-size":l,"--n-icon-color":s[createKey("iconColor",t)],"--n-bezier":o,"--n-close-margin":P,"--n-icon-margin":T,"--n-icon-size":_,"--n-close-size":E,"--n-close-icon-size":y,"--n-close-border-radius":h,"--n-close-color-hover":v,"--n-close-color-pressed":g,"--n-close-icon-color":m,"--n-close-icon-color-hover":b,"--n-close-icon-color-pressed":A,"--n-color":f,"--n-text-color":p,"--n-border-radius":x,"--n-padding":k,"--n-line-height":c,"--n-border":u,"--n-content-margin":B,"--n-title-font-size":C,"--n-title-font-weight":w,"--n-title-text-color":d,"--n-action-space":S}})),l=o?useThemeClass("dialog",computed((function(){return"".concat(e.type[0]).concat(a.value[0])})),s,e):void 0;return{mergedClsPrefix:n,mergedIconPlacement:a,mergedTheme:i,handlePositiveClick:function(t){var r=e.onPositiveClick;r&&r(t)},handleNegativeClick:function(t){var r=e.onNegativeClick;r&&r(t)},handleCloseClick:function(){var t=e.onClose;t&&t()},cssVars:o?void 0:s,themeClass:null==l?void 0:l.themeClass,onRender:null==l?void 0:l.onRender}},render:function(){var e,t=this,r=this.bordered,n=this.mergedIconPlacement,o=this.cssVars,a=this.closable,i=this.showIcon,s=this.title,l=this.content,c=this.action,u=this.negativeText,d=this.positiveText,p=this.positiveButtonProps,f=this.negativeButtonProps,h=this.handlePositiveClick,v=this.handleNegativeClick,g=this.mergedTheme,m=this.loading,b=this.type,A=this.mergedClsPrefix;null===(e=this.onRender)||void 0===e||e.call(this);var y=i?h$1(NBaseIcon,{clsPrefix:A,class:"".concat(A,"-dialog__icon")},{default:function(){return resolveWrappedSlot(t.$slots.icon,(function(e){return e||(t.icon?render$1(t.icon):iconRenderMap$2[t.type]())}))}}):null,x=resolveWrappedSlot(this.$slots.action,(function(e){return e||d||u||c?h$1("div",{class:"".concat(A,"-dialog__action")},e||(c?[render$1(c)]:[t.negativeText&&h$1(NButton,Object.assign({theme:g.peers.Button,themeOverrides:g.peerOverrides.Button,ghost:!0,size:"small",onClick:v},f),{default:function(){return render$1(t.negativeText)}}),t.positiveText&&h$1(NButton,Object.assign({theme:g.peers.Button,themeOverrides:g.peerOverrides.Button,size:"small",type:"default"===b?"primary":b,disabled:m,loading:m,onClick:h},p),{default:function(){return render$1(t.positiveText)}})])):null}));return h$1("div",{class:["".concat(A,"-dialog"),this.themeClass,this.closable&&"".concat(A,"-dialog--closable"),"".concat(A,"-dialog--icon-").concat(n),r&&"".concat(A,"-dialog--bordered")],style:o,role:"dialog"},a?h$1(NBaseClose,{clsPrefix:A,class:"".concat(A,"-dialog__close"),onClick:this.handleCloseClick}):null,i&&"top"===n?h$1("div",{class:"".concat(A,"-dialog-icon-container")},y):null,h$1("div",{class:"".concat(A,"-dialog__title")},i&&"left"===n?y:null,resolveSlot(this.$slots.header,(function(){return[render$1(s)]}))),h$1("div",{class:["".concat(A,"-dialog__content"),x?"":"".concat(A,"-dialog__content--last")]},resolveSlot(this.$slots.default,(function(){return[render$1(l)]}))),x)}}),dialogProviderInjectionKey=createInjectionKey("n-dialog-provider"),dialogApiInjectionKey=createInjectionKey("n-dialog-api"),dialogReactiveListInjectionKey=createInjectionKey("n-dialog-reactive-list"),self$p=function(e){return{color:e.modalColor,textColor:e.textColor2,boxShadow:e.boxShadow3}},modalLight=createTheme({name:"Modal",common:commonLight,peers:{Scrollbar:scrollbarLight$1,Dialog:dialogLight$1,Card:cardLight$1},self:self$p}),modalLight$1=modalLight,modalDark={name:"Modal",common:commonDark,peers:{Scrollbar:scrollbarDark$1,Dialog:dialogDark$1,Card:cardDark$1},self:self$p},modalDark$1=modalDark,presetProps=Object.assign(Object.assign({},cardBaseProps),dialogProps),presetPropsKeys=keysOf(presetProps),NModalBodyWrapper=defineComponent({name:"ModalBody",inheritAttrs:!1,props:Object.assign(Object.assign({show:{type:Boolean,required:!0},preset:String,displayDirective:{type:String,required:!0},trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},blockScroll:Boolean},presetProps),{renderMask:Function,onClickoutside:Function,onBeforeLeave:{type:Function,required:!0},onAfterLeave:{type:Function,required:!0},onPositiveClick:{type:Function,required:!0},onNegativeClick:{type:Function,required:!0},onClose:{type:Function,required:!0},onAfterEnter:Function,onEsc:Function}),setup:function(e){var t=ref(null),r=ref(null),n=ref(e.show),o=ref(null),a=ref(null);watch(toRef(e,"show"),(function(e){e&&(n.value=!0)})),useLockHtmlScroll(computed((function(){return e.blockScroll&&n.value})));var i=inject(modalInjectionKey);function s(){if("center"===i.transformOriginRef.value)return"";var e=o.value,t=a.value;if(null===e||null===t)return"";if(r.value){var n=r.value.containerScrollTop;return"".concat(e,"px ").concat(t+n,"px")}return""}var l=ref(null);return watch(l,(function(e){e&&nextTick((function(){var r=e.el;r&&t.value!==r&&(t.value=r)}))})),provide(modalBodyInjectionKey,t),provide(drawerBodyInjectionKey,null),provide(popoverBodyInjectionKey,null),{mergedTheme:i.mergedThemeRef,appear:i.appearRef,isMounted:i.isMountedRef,mergedClsPrefix:i.mergedClsPrefixRef,bodyRef:t,scrollbarRef:r,displayed:n,childNodeRef:l,handlePositiveClick:function(){e.onPositiveClick()},handleNegativeClick:function(){e.onNegativeClick()},handleCloseClick:function(){var t=e.onClose;t&&t()},handleAfterLeave:function(){n.value=!1,o.value=null,a.value=null,e.onAfterLeave()},handleBeforeLeave:function(t){t.style.transformOrigin=s(),e.onBeforeLeave()},handleEnter:function(e){nextTick((function(){!function(e){if("center"!==i.transformOriginRef.value){var t=i.getMousePosition();if(t&&r.value){var n=r.value.containerScrollTop,l=e.offsetLeft,c=e.offsetTop;if(t){var u=t.y,d=t.x;o.value=-(l-d),a.value=-(c-u-n)}e.style.transformOrigin=s()}}}(e)}))}}},render:function(){var e=this,t=this.$slots,r=this.$attrs,n=this.handleEnter,o=this.handleAfterLeave,a=this.handleBeforeLeave,i=this.preset,s=this.mergedClsPrefix,l=null;if(!i){if(!(l=getFirstSlotVNode(t)))return void warn$3("modal","default slot is empty");(l=cloneVNode(l)).props=mergeProps({class:"".concat(s,"-modal")},r,l.props||{})}return"show"===this.displayDirective||this.displayed||this.show?withDirectives(h$1("div",{role:"none",class:"".concat(s,"-modal-body-wrapper")},h$1(NScrollbar$1,{ref:"scrollbarRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:"".concat(s,"-modal-scroll-content")},{default:function(){var r;return[null===(r=e.renderMask)||void 0===r?void 0:r.call(e),h$1(FocusTrap,{disabled:!e.trapFocus,active:e.show,onEsc:e.onEsc,autoFocus:e.autoFocus},{default:function(){var r;return h$1(Transition,{name:"fade-in-scale-up-transition",appear:null!==(r=e.appear)&&void 0!==r?r:e.isMounted,onEnter:n,onAfterEnter:e.onAfterEnter,onAfterLeave:o,onBeforeLeave:a},{default:function(){var r=[[vShow,e.show]];return e.onClickoutside&&r.push([clickoutside$1,e.onClickoutside,void 0,{capture:!0}]),withDirectives("confirm"===e.preset||"dialog"===e.preset?h$1(NDialog,Object.assign({},e.$attrs,{class:["".concat(s,"-modal"),e.$attrs.class],ref:"bodyRef",theme:e.mergedTheme.peers.Dialog,themeOverrides:e.mergedTheme.peerOverrides.Dialog},keep(e.$props,dialogPropKeys),{"aria-modal":"true"}),t):"card"===e.preset?h$1(NCard,Object.assign({},e.$attrs,{ref:"bodyRef",class:["".concat(s,"-modal"),e.$attrs.class],theme:e.mergedTheme.peers.Card,themeOverrides:e.mergedTheme.peerOverrides.Card},keep(e.$props,cardBasePropKeys),{"aria-modal":"true",role:"dialog"}),t):e.childNodeRef=l,r)}})}})]}})),[[vShow,"if"===this.displayDirective||this.displayed||this.show]]):null}}),style$9=c$3([cB("modal-container","\n position: fixed;\n left: 0;\n top: 0;\n height: 0;\n width: 0;\n display: flex;\n "),cB("modal-mask","\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n background-color: rgba(0, 0, 0, .4);\n ",[fadeInTransition({enterDuration:".25s",leaveDuration:".25s",enterCubicBezier:"var(--n-bezier-ease-out)",leaveCubicBezier:"var(--n-bezier-ease-out)"})]),cB("modal-body-wrapper","\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n overflow: visible;\n ",[cB("modal-scroll-content","\n min-height: 100%;\n display: flex;\n position: relative;\n ")]),cB("modal","\n position: relative;\n align-self: center;\n color: var(--n-text-color);\n margin: auto;\n box-shadow: var(--n-box-shadow);\n ",[fadeInScaleUpTransition({duration:".25s",enterScale:".5"})])]),modalProps=Object.assign(Object.assign(Object.assign(Object.assign({},useTheme.props),{show:Boolean,unstableShowMask:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0},preset:String,to:[String,Object],displayDirective:{type:String,default:"if"},transformOrigin:{type:String,default:"mouse"},zIndex:Number,autoFocus:{type:Boolean,default:!0},trapFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0}}),presetProps),{onEsc:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onBeforeLeave:Function,onAfterLeave:Function,onClose:Function,onPositiveClick:Function,onNegativeClick:Function,onMaskClick:Function,internalDialog:Boolean,internalAppear:{type:Boolean,default:void 0},overlayStyle:[String,Object],onBeforeHide:Function,onAfterHide:Function,onHide:Function}),NModal=defineComponent({name:"Modal",inheritAttrs:!1,props:modalProps,setup:function(e){var t=ref(null),r=useConfig(e),n=r.mergedClsPrefixRef,o=r.namespaceRef,a=r.inlineThemeDisabled,i=useTheme("Modal","-modal",style$9,modalLight$1,e,n),s=useClicked(64),l=useClickPosition(),c=isMounted(),u=e.internalDialog?inject(dialogProviderInjectionKey,null):null,d=useIsComposing();function p(t){var r=e.onUpdateShow,n=e["onUpdate:show"],o=e.onHide;r&&call$1(r,t),n&&call$1(n,t),o&&!t&&o(t)}provide(modalInjectionKey,{getMousePosition:function(){if(u){var e=u.clickedRef,t=u.clickPositionRef;if(e.value&&t.value)return t.value}return s.value?l.value:null},mergedClsPrefixRef:n,mergedThemeRef:i,isMountedRef:c,appearRef:toRef(e,"internalAppear"),transformOriginRef:toRef(e,"transformOrigin")});var f=computed((function(){var e=i.value,t=e.common.cubicBezierEaseOut,r=e.self;return{"--n-bezier-ease-out":t,"--n-box-shadow":r.boxShadow,"--n-color":r.color,"--n-text-color":r.textColor}})),h=a?useThemeClass("theme-class",void 0,f,e):void 0;return{mergedClsPrefix:n,namespace:o,isMounted:c,containerRef:t,presetProps:computed((function(){return keep(e,presetPropsKeys)})),handleEsc:function(t){var r;null===(r=e.onEsc)||void 0===r||r.call(e),e.show&&e.closeOnEsc&&eventEffectNotPerformed(t)&&!d.value&&p(!1)},handleAfterLeave:function(){var t=e.onAfterLeave,r=e.onAfterHide;t&&call$1(t),r&&r()},handleClickoutside:function(r){var n,o=e.onMaskClick;o&&o(r),e.maskClosable&&(null===(n=t.value)||void 0===n?void 0:n.contains(getPreciseEventTarget(r)))&&p(!1)},handleBeforeLeave:function(){var t=e.onBeforeLeave,r=e.onBeforeHide;t&&call$1(t),r&&r()},doUpdateShow:p,handleNegativeClick:function(){var t=e.onNegativeClick;t?Promise.resolve(t()).then((function(e){!1!==e&&p(!1)})):p(!1)},handlePositiveClick:function(){var t=e.onPositiveClick;t?Promise.resolve(t()).then((function(e){!1!==e&&p(!1)})):p(!1)},handleCloseClick:function(){var t=e.onClose;t?Promise.resolve(t()).then((function(e){!1!==e&&p(!1)})):p(!1)},cssVars:a?void 0:f,themeClass:null==h?void 0:h.themeClass,onRender:null==h?void 0:h.onRender}},render:function(){var e=this,t=this.mergedClsPrefix;return h$1(LazyTeleport,{to:this.to,show:this.show},{default:function(){var r;null===(r=e.onRender)||void 0===r||r.call(e);var n=e.unstableShowMask;return withDirectives(h$1("div",{role:"none",ref:"containerRef",class:["".concat(t,"-modal-container"),e.themeClass,e.namespace],style:e.cssVars},h$1(NModalBodyWrapper,Object.assign({style:e.overlayStyle},e.$attrs,{ref:"bodyWrapper",displayDirective:e.displayDirective,show:e.show,preset:e.preset,autoFocus:e.autoFocus,trapFocus:e.trapFocus,blockScroll:e.blockScroll},e.presetProps,{onEsc:e.handleEsc,onClose:e.handleCloseClick,onNegativeClick:e.handleNegativeClick,onPositiveClick:e.handlePositiveClick,onBeforeLeave:e.handleBeforeLeave,onAfterEnter:e.onAfterEnter,onAfterLeave:e.handleAfterLeave,onClickoutside:n?void 0:e.handleClickoutside,renderMask:n?function(){var r;return h$1(Transition,{name:"fade-in-transition",key:"mask",appear:null!==(r=e.internalAppear)&&void 0!==r?r:e.isMounted},{default:function(){return e.show?h$1("div",{"aria-hidden":!0,ref:"containerRef",class:"".concat(t,"-modal-mask"),onClick:e.handleClickoutside}):null}})}:void 0}),e.$slots)),[[zindexable$1,{zIndex:e.zIndex,enabled:e.show}]])}})}}),exposedDialogEnvProps=Object.assign(Object.assign({},dialogProps),{onAfterEnter:Function,onAfterLeave:Function,transformOrigin:String,blockScroll:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},onEsc:Function,autoFocus:{type:Boolean,default:!0},internalStyle:[String,Object],maskClosable:{type:Boolean,default:!0},onPositiveClick:Function,onNegativeClick:Function,onClose:Function,onMaskClick:Function}),NDialogEnvironment=defineComponent({name:"DialogEnvironment",props:Object.assign(Object.assign({},exposedDialogEnvProps),{internalKey:{type:String,required:!0},to:[String,Object],onInternalAfterLeave:{type:Function,required:!0}}),setup:function(e){var t=ref(!0);function r(){t.value=!1}return{show:t,hide:r,handleUpdateShow:function(e){t.value=e},handleAfterLeave:function(){var t=e.onInternalAfterLeave,r=e.internalKey,n=e.onAfterLeave;t&&t(r),n&&n()},handleCloseClick:function(){var t=e.onClose;t?Promise.resolve(t()).then((function(e){!1!==e&&r()})):r()},handleNegativeClick:function(t){var n=e.onNegativeClick;n?Promise.resolve(n(t)).then((function(e){!1!==e&&r()})):r()},handlePositiveClick:function(t){var n=e.onPositiveClick;n?Promise.resolve(n(t)).then((function(e){!1!==e&&r()})):r()},handleMaskClick:function(t){var n=e.onMaskClick,o=e.maskClosable;n&&(n(t),o&&r())},handleEsc:function(){var t=e.onEsc;t&&t()}}},render:function(){var e=this,t=this.handlePositiveClick,r=this.handleUpdateShow,n=this.handleNegativeClick,o=this.handleCloseClick,a=this.handleAfterLeave,i=this.handleMaskClick,s=this.handleEsc,l=this.to,c=this.maskClosable,u=this.show;return h$1(NModal,{show:u,onUpdateShow:r,onMaskClick:i,onEsc:s,to:l,maskClosable:c,onAfterEnter:this.onAfterEnter,onAfterLeave:a,closeOnEsc:this.closeOnEsc,blockScroll:this.blockScroll,autoFocus:this.autoFocus,transformOrigin:this.transformOrigin,internalAppear:!0,internalDialog:!0},{default:function(){return h$1(NDialog,Object.assign({},keep(e.$props,dialogPropKeys),{style:e.internalStyle,onClose:o,onNegativeClick:n,onPositiveClick:t}))}})}}),dialogProviderProps={injectionKey:String,to:[String,Object]},NDialogProvider=defineComponent({name:"DialogProvider",props:dialogProviderProps,setup:function(){var e=ref([]),t={};function r(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=createId(),o=reactive(Object.assign(Object.assign({},r),{key:n,destroy:function(){t["n-dialog-".concat(n)].hide()}}));return e.value.push(o),o}var n=["info","success","warning","error"].map((function(e){return function(t){return r(Object.assign(Object.assign({},t),{type:e}))}}));var o={create:r,destroyAll:function(){Object.values(t).forEach((function(e){e.hide()}))},info:n[0],success:n[1],warning:n[2],error:n[3]};return provide(dialogApiInjectionKey,o),provide(dialogProviderInjectionKey,{clickedRef:useClicked(64),clickPositionRef:useClickPosition()}),provide(dialogReactiveListInjectionKey,e),Object.assign(Object.assign({},o),{dialogList:e,dialogInstRefs:t,handleAfterLeave:function(t){var r=e.value;r.splice(r.findIndex((function(e){return e.key===t})),1)}})},render:function(){var e,t,r=this;return h$1(Fragment,null,[this.dialogList.map((function(e){return h$1(NDialogEnvironment,omit(e,["destroy","style"],{internalStyle:e.style,to:r.to,ref:function(t){null===t?delete r.dialogInstRefs["n-dialog-".concat(e.key)]:r.dialogInstRefs["n-dialog-".concat(e.key)]=t},internalKey:e.key,onInternalAfterLeave:r.handleAfterLeave}))})),null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e)])}});function useDialog(){var e=inject(dialogApiInjectionKey,null);return null===e&&throwError("use-dialog","No outer <n-dialog-provider /> founded."),e}var self$o=function(e){return{textColor:e.textColor1,color:e.dividerColor,fontWeight:e.fontWeightStrong}},dividerDark={name:"Divider",common:commonDark,self:self$o},dividerDark$1=dividerDark,self$n=function(e){var t=e.modalColor,r=e.textColor1,n=e.textColor2,o=e.boxShadow3,a=e.lineHeight,i=e.fontWeightStrong,s=e.dividerColor,l=e.closeColorHover,c=e.closeColorPressed,u=e.closeIconColor,d=e.closeIconColorHover,p=e.closeIconColorPressed,f=e.borderRadius,h=e.primaryColorHover;return{bodyPadding:"16px 24px",headerPadding:"16px 24px",footerPadding:"16px 24px",color:t,textColor:n,titleTextColor:r,titleFontSize:"18px",titleFontWeight:i,boxShadow:o,lineHeight:a,headerBorderBottom:"1px solid ".concat(s),footerBorderTop:"1px solid ".concat(s),closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:p,closeSize:"22px",closeIconSize:"18px",closeColorHover:l,closeColorPressed:c,closeBorderRadius:f,resizableTriggerColorHover:h}},drawerDark={name:"Drawer",common:commonDark,peers:{Scrollbar:scrollbarDark$1},self:self$n},drawerDark$1=drawerDark,commonVariables$6={actionMargin:"0 0 0 20px",actionMarginRtl:"0 20px 0 0"},dynamicInputDark={name:"DynamicInput",common:commonDark,peers:{Input:inputDark$1,Button:buttonDark$1},self:function(){return commonVariables$6}},dynamicInputDark$1=dynamicInputDark,commonVars$4={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},spaceDark={name:"Space",self:function(){return commonVars$4}},spaceDark$1=spaceDark,self$m=function(){return commonVars$4},spaceLight={name:"Space",self:self$m},spaceLight$1=spaceLight,supportFlexGap,ensureSupportFlexGap=function(){if(!isBrowser$2)return!0;if(void 0===supportFlexGap){var e=document.createElement("div");e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e);var t=1===e.scrollHeight;return document.body.removeChild(e),supportFlexGap=t}return supportFlexGap},spaceProps=Object.assign(Object.assign({},useTheme.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,size:{type:[String,Number,Array],default:"medium"},wrapItem:{type:Boolean,default:!0},itemStyle:[String,Object],wrap:{type:Boolean,default:!0},internalUseGap:{type:Boolean,default:void 0}}),NSpace=defineComponent({name:"Space",props:spaceProps,setup:function(e){var t=useConfig(e),r=t.mergedClsPrefixRef,n=t.mergedRtlRef,o=useTheme("Space","-space",void 0,spaceLight$1,e,r),a=useRtl("Space",n,r);return{useGap:ensureSupportFlexGap(),rtlEnabled:a,mergedClsPrefix:r,margin:computed((function(){var t=e.size;if(Array.isArray(t))return{horizontal:t[0],vertical:t[1]};if("number"==typeof t)return{horizontal:t,vertical:t};var r=getGap(o.value.self[createKey("gap",t)]),n=r.row;return{horizontal:depx(r.col),vertical:depx(n)}}))}},render:function(){var e=this.vertical,t=this.align,r=this.inline,n=this.justify,o=this.itemStyle,a=this.margin,i=this.wrap,s=this.mergedClsPrefix,l=this.rtlEnabled,c=this.useGap,u=this.wrapItem,d=this.internalUseGap,p=flatten$4(getSlot$1(this));if(!p.length)return null;var f="".concat(a.horizontal,"px"),h="".concat(a.horizontal/2,"px"),v="".concat(a.vertical,"px"),g="".concat(a.vertical/2,"px"),m=p.length-1,b=n.startsWith("space-");return h$1("div",{role:"none",class:["".concat(s,"-space"),l&&"".concat(s,"-space--rtl")],style:{display:r?"inline-flex":"flex",flexDirection:e?"column":"row",justifyContent:["start","end"].includes(n)?"flex-"+n:n,flexWrap:!i||e?"nowrap":"wrap",marginTop:c||e?"":"-".concat(g),marginBottom:c||e?"":"-".concat(g),alignItems:t,gap:c?"".concat(a.vertical,"px ").concat(a.horizontal,"px"):""}},u||!c&&!d?p.map((function(t,r){return h$1("div",{role:"none",style:[o,{maxWidth:"100%"},c?"":e?{marginBottom:r!==m?v:""}:l?{marginLeft:b?"space-between"===n&&r===m?"":h:r!==m?f:"",marginRight:b?"space-between"===n&&0===r?"":h:"",paddingTop:g,paddingBottom:g}:{marginRight:b?"space-between"===n&&r===m?"":h:r!==m?f:"",marginLeft:b?"space-between"===n&&0===r?"":h:"",paddingTop:g,paddingBottom:g}]},t)})):p)}}),dynamicTagsDark={name:"DynamicTags",common:commonDark,peers:{Input:inputDark$1,Button:buttonDark$1,Tag:tagDark$1,Space:spaceDark$1},self:function(){return{inputWidth:"64px"}}},dynamicTagsDark$1=dynamicTagsDark,elementDark={name:"Element",common:commonDark},elementDark$1=elementDark,commonVariables$5={feedbackPadding:"4px 0 0 2px",feedbackHeightSmall:"24px",feedbackHeightMedium:"24px",feedbackHeightLarge:"26px",feedbackFontSizeSmall:"13px",feedbackFontSizeMedium:"14px",feedbackFontSizeLarge:"14px",labelFontSizeLeftSmall:"14px",labelFontSizeLeftMedium:"14px",labelFontSizeLeftLarge:"15px",labelFontSizeTopSmall:"13px",labelFontSizeTopMedium:"14px",labelFontSizeTopLarge:"14px",labelHeightSmall:"24px",labelHeightMedium:"26px",labelHeightLarge:"28px",labelPaddingVertical:"0 0 6px 2px",labelPaddingHorizontal:"0 12px 0 0",labelTextAlignVertical:"left",labelTextAlignHorizontal:"right",labelFontWeight:"400"},self$l=function(e){var t=e.heightSmall,r=e.heightMedium,n=e.heightLarge,o=e.textColor1,a=e.errorColor,i=e.warningColor,s=e.lineHeight,l=e.textColor3;return Object.assign(Object.assign({},commonVariables$5),{blankHeightSmall:t,blankHeightMedium:r,blankHeightLarge:n,lineHeight:s,labelTextColor:o,asteriskColor:a,feedbackTextColorError:a,feedbackTextColorWarning:i,feedbackTextColor:l})},formLight={name:"Form",common:commonLight,self:self$l},formLight$1=formLight,formItemDark={name:"Form",common:commonDark,self:self$l},formDark=formItemDark,style$8=cB("form",[cM("inline","\n width: 100%;\n display: inline-flex;\n align-items: flex-start;\n align-content: space-around;\n ",[cB("form-item",{width:"auto",marginRight:"18px"},[c$3("&:last-child",{marginRight:0})])])]),formInjectionKey=createInjectionKey("n-form"),formItemInstsInjectionKey=createInjectionKey("n-form-item-insts"),__awaiter$1=globalThis&&globalThis.__awaiter||function(t,r,n,o){return new(n||(n=Promise))((function(a,i){function s(t){try{c(o.next(t))}catch(e){i(e)}}function l(t){try{c(o.throw(t))}catch(e){i(e)}}function c(e){e.done?a(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(s,l)}c((o=o.apply(t,r||[])).next())}))},formProps=Object.assign(Object.assign({},useTheme.props),{inline:Boolean,labelWidth:[Number,String],labelAlign:String,labelPlacement:{type:String,default:"top"},model:{type:Object,default:function(){}},rules:Object,disabled:Boolean,size:String,showRequireMark:{type:Boolean,default:void 0},requireMarkPlacement:String,showFeedback:{type:Boolean,default:!0},onSubmit:{type:Function,default:function(e){e.preventDefault()}},showLabel:{type:Boolean,default:void 0},validateMessages:Object}),NForm=defineComponent({name:"Form",props:formProps,setup:function(e){var t=useConfig(e).mergedClsPrefixRef;useTheme("Form","-form",style$8,formLight$1,e,t);var r={},n=ref(void 0);provide(formInjectionKey,{props:e,maxChildLabelWidthRef:n,deriveMaxChildLabelWidth:function(e){var t=n.value;(void 0===t||e>=t)&&(n.value=e)}}),provide(formItemInstsInjectionKey,{formItems:r});var o={validate:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0};return __awaiter$1(this,void 0,void 0,_regeneratorRuntime().mark((function n(){return _regeneratorRuntime().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,new Promise((function(n,o){var a,i=[],s=_createForOfIteratorHelper(keysOf(r));try{for(s.s();!(a=s.n()).done;){var l,c=a.value,u=_createForOfIteratorHelper(r[c]);try{for(u.s();!(l=u.n()).done;){var d=l.value;d.path&&i.push(d.internalValidate(null,t))}}catch(err){u.e(err)}finally{u.f()}}}catch(err){s.e(err)}finally{s.f()}Promise.all(i).then((function(t){if(t.some((function(e){return!e.valid}))){var r=t.filter((function(e){return e.errors})).map((function(e){return e.errors}));e&&e(r),o(r)}else e&&e(),n()}))}));case 2:case"end":return n.stop()}}),n)})))},restoreValidation:function(){var e,t=_createForOfIteratorHelper(keysOf(r));try{for(t.s();!(e=t.n()).done;){var n,o=e.value,a=_createForOfIteratorHelper(r[o]);try{for(a.s();!(n=a.n()).done;){n.value.restoreValidation()}}catch(err){a.e(err)}finally{a.f()}}}catch(err){t.e(err)}finally{t.f()}}};return Object.assign(o,{mergedClsPrefix:t})},render:function(){var e=this.mergedClsPrefix;return h$1("form",{class:["".concat(e,"-form"),this.inline&&"".concat(e,"-form--inline")],onSubmit:this.onSubmit},this.$slots)}});function _extends$1(){return _extends$1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_extends$1.apply(this,arguments)}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,_setPrototypeOf(e,t)}function _getPrototypeOf(e){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_getPrototypeOf(e)}function _setPrototypeOf(e,t){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_setPrototypeOf(e,t)}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function _construct(e,t,r){return _construct=_isNativeReflectConstruct()?Reflect.construct.bind():function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&_setPrototypeOf(o,r.prototype),o},_construct.apply(null,arguments)}function _isNativeFunction(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function _wrapNativeSuper(e){var t="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function(e){if(null===e||!_isNativeFunction(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return _construct(e,arguments,_getPrototypeOf(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(r,e)},_wrapNativeSuper(e)}var formatRegExp=/%[sdj%]/g,warning=function(){};function convertFieldsError(e){if(!e||!e.length)return null;var t={};return e.forEach((function(e){var r=e.field;t[r]=t[r]||[],t[r].push(e)})),t}function format$1(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=0,a=r.length;return"function"==typeof e?e.apply(null,r):"string"==typeof e?e.replace(formatRegExp,(function(e){if("%%"===e)return"%";if(o>=a)return e;switch(e){case"%s":return String(r[o++]);case"%d":return Number(r[o++]);case"%j":try{return JSON.stringify(r[o++])}catch(_){return"[Circular]"}break;default:return e}})):e}function isNativeStringType(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}function isEmptyValue(e,t){return null==e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!isNativeStringType(t)||"string"!=typeof e||e))}function asyncParallelArray(e,t,r){var n=[],o=0,a=e.length;function i(e){n.push.apply(n,e||[]),++o===a&&r(n)}e.forEach((function(e){t(e,i)}))}function asyncSerialArray(e,t,r){var n=0,o=e.length;!function a(i){if(i&&i.length)r(i);else{var s=n;n+=1,s<o?t(e[s],a):r([])}}([])}function flattenObjArr(e){var t=[];return Object.keys(e).forEach((function(r){t.push.apply(t,e[r]||[])})),t}"undefined"!=typeof process&&process.env;var AsyncValidationError=function(e){function t(t,r){var n;return(n=e.call(this,"Async Validation Error")||this).errors=t,n.fields=r,n}return _inheritsLoose(t,e),t}(_wrapNativeSuper(Error));function asyncMap(e,t,r,n,o){if(t.first){var a=new Promise((function(t,a){asyncSerialArray(flattenObjArr(e),r,(function(e){return n(e),e.length?a(new AsyncValidationError(e,convertFieldsError(e))):t(o)}))}));return a.catch((function(e){return e})),a}var i=!0===t.firstFields?Object.keys(e):t.firstFields||[],s=Object.keys(e),l=s.length,c=0,u=[],d=new Promise((function(t,a){var d=function(e){if(u.push.apply(u,e),++c===l)return n(u),u.length?a(new AsyncValidationError(u,convertFieldsError(u))):t(o)};s.length||(n(u),t(o)),s.forEach((function(t){var n=e[t];-1!==i.indexOf(t)?asyncSerialArray(n,r,d):asyncParallelArray(n,r,d)}))}));return d.catch((function(e){return e})),d}function isErrorObj(e){return!(!e||void 0===e.message)}function getValue(e,t){for(var r=e,n=0;n<t.length;n++){if(null==r)return r;r=r[t[n]]}return r}function complementError(e,t){return function(r){var n;return n=e.fullFields?getValue(t,e.fullFields):t[r.field||e.fullField],isErrorObj(r)?(r.field=r.field||e.fullField,r.fieldValue=n,r):{message:"function"==typeof r?r():r,fieldValue:n,field:r.field||e.fullField}}}function deepMerge(e,t){if(t)for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];"object"===_typeof2(n)&&"object"===_typeof2(e[r])?e[r]=_extends$1({},e[r],n):e[r]=n}return e}var required$1=function(e,t,r,n,o,a){!e.required||r.hasOwnProperty(e.field)&&!isEmptyValue(t,a||e.type)||n.push(format$1(o.messages.required,e.fullField))},whitespace=function(e,t,r,n,o){(/^\s+$/.test(t)||""===t)&&n.push(format$1(o.messages.whitespace,e.fullField))},urlReg,getUrlRegex=function(){if(urlReg)return urlReg;var e="[a-fA-F\\d:]",t=function(t){return t&&t.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},r="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",n="[a-fA-F\\d]{1,4}",o=("\n(?:\n(?:"+n+":){7}(?:"+n+"|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:"+n+":){6}(?:"+r+"|:"+n+"|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:"+n+":){5}(?::"+r+"|(?::"+n+"){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:"+n+":){4}(?:(?::"+n+"){0,1}:"+r+"|(?::"+n+"){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:"+n+":){3}(?:(?::"+n+"){0,2}:"+r+"|(?::"+n+"){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:"+n+":){2}(?:(?::"+n+"){0,3}:"+r+"|(?::"+n+"){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:"+n+":){1}(?:(?::"+n+"){0,4}:"+r+"|(?::"+n+"){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::"+n+"){0,5}:"+r+"|(?::"+n+"){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1\n").replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),a=new RegExp("(?:^"+r+"$)|(?:^"+o+"$)"),i=new RegExp("^"+r+"$"),s=new RegExp("^"+o+"$"),l=function(e){return e&&e.exact?a:new RegExp("(?:"+t(e)+r+t(e)+")|(?:"+t(e)+o+t(e)+")","g")};l.v4=function(e){return e&&e.exact?i:new RegExp(""+t(e)+r+t(e),"g")},l.v6=function(e){return e&&e.exact?s:new RegExp(""+t(e)+o+t(e),"g")};var c=l.v4().source,u=l.v6().source;return urlReg=new RegExp("(?:^"+("(?:(?:(?:[a-z]+:)?//)|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|"+c+"|"+u+'|(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:[/?#][^\\s"]*)?')+"$)","i")},pattern$2={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},types={integer:function(e){return types.number(e)&&parseInt(e,10)===e},float:function(e){return types.number(e)&&!types.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"===_typeof2(e)&&!types.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(pattern$2.email)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(getUrlRegex())},hex:function(e){return"string"==typeof e&&!!e.match(pattern$2.hex)}},type$1=function(e,t,r,n,o){if(e.required&&void 0===t)required$1(e,t,r,n,o);else{var a=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(a)>-1?types[a](t)||n.push(format$1(o.messages.types[a],e.fullField,e.type)):a&&_typeof2(t)!==e.type&&n.push(format$1(o.messages.types[a],e.fullField,e.type))}},range=function(e,t,r,n,o){var a="number"==typeof e.len,i="number"==typeof e.min,s="number"==typeof e.max,l=t,c=null,u="number"==typeof t,d="string"==typeof t,p=Array.isArray(t);if(u?c="number":d?c="string":p&&(c="array"),!c)return!1;p&&(l=t.length),d&&(l=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),a?l!==e.len&&n.push(format$1(o.messages[c].len,e.fullField,e.len)):i&&!s&&l<e.min?n.push(format$1(o.messages[c].min,e.fullField,e.min)):s&&!i&&l>e.max?n.push(format$1(o.messages[c].max,e.fullField,e.max)):i&&s&&(l<e.min||l>e.max)&&n.push(format$1(o.messages[c].range,e.fullField,e.min,e.max))},ENUM$1="enum",enumerable$1=function(e,t,r,n,o){e[ENUM$1]=Array.isArray(e[ENUM$1])?e[ENUM$1]:[],-1===e[ENUM$1].indexOf(t)&&n.push(format$1(o.messages[ENUM$1],e.fullField,e[ENUM$1].join(", ")))},pattern$1=function(e,t,r,n,o){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(format$1(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||n.push(format$1(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}},rules={required:required$1,whitespace:whitespace,type:type$1,range:range,enum:enumerable$1,pattern:pattern$1},string=function(e,t,r,n,o){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(isEmptyValue(t,"string")&&!e.required)return r();rules.required(e,t,n,a,o,"string"),isEmptyValue(t,"string")||(rules.type(e,t,n,a,o),rules.range(e,t,n,a,o),rules.pattern(e,t,n,a,o),!0===e.whitespace&&rules.whitespace(e,t,n,a,o))}r(a)},method=function(e,t,r,n,o){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(isEmptyValue(t)&&!e.required)return r();rules.required(e,t,n,a,o),void 0!==t&&rules.type(e,t,n,a,o)}r(a)},number=function(e,t,r,n,o){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(""===t&&(t=void 0),isEmptyValue(t)&&!e.required)return r();rules.required(e,t,n,a,o),void 0!==t&&(rules.type(e,t,n,a,o),rules.range(e,t,n,a,o))}r(a)},_boolean=function(e,t,r,n,o){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(isEmptyValue(t)&&!e.required)return r();rules.required(e,t,n,a,o),void 0!==t&&rules.type(e,t,n,a,o)}r(a)},regexp=function(e,t,r,n,o){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(isEmptyValue(t)&&!e.required)return r();rules.required(e,t,n,a,o),isEmptyValue(t)||rules.type(e,t,n,a,o)}r(a)},integer=function(e,t,r,n,o){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(isEmptyValue(t)&&!e.required)return r();rules.required(e,t,n,a,o),void 0!==t&&(rules.type(e,t,n,a,o),rules.range(e,t,n,a,o))}r(a)},floatFn=function(e,t,r,n,o){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(isEmptyValue(t)&&!e.required)return r();rules.required(e,t,n,a,o),void 0!==t&&(rules.type(e,t,n,a,o),rules.range(e,t,n,a,o))}r(a)},array=function(e,t,r,n,o){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(null==t&&!e.required)return r();rules.required(e,t,n,a,o,"array"),null!=t&&(rules.type(e,t,n,a,o),rules.range(e,t,n,a,o))}r(a)},object=function(e,t,r,n,o){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(isEmptyValue(t)&&!e.required)return r();rules.required(e,t,n,a,o),void 0!==t&&rules.type(e,t,n,a,o)}r(a)},ENUM="enum",enumerable=function(e,t,r,n,o){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(isEmptyValue(t)&&!e.required)return r();rules.required(e,t,n,a,o),void 0!==t&&rules[ENUM](e,t,n,a,o)}r(a)},pattern=function(e,t,r,n,o){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(isEmptyValue(t,"string")&&!e.required)return r();rules.required(e,t,n,a,o),isEmptyValue(t,"string")||rules.pattern(e,t,n,a,o)}r(a)},date=function(e,t,r,n,o){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(isEmptyValue(t,"date")&&!e.required)return r();var i;if(rules.required(e,t,n,a,o),!isEmptyValue(t,"date"))i=t instanceof Date?t:new Date(t),rules.type(e,i,n,a,o),i&&rules.range(e,i.getTime(),n,a,o)}r(a)},required=function(e,t,r,n,o){var a=[],i=Array.isArray(t)?"array":_typeof2(t);rules.required(e,t,n,a,o,i),r(a)},type=function(e,t,r,n,o){var a=e.type,i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(isEmptyValue(t,a)&&!e.required)return r();rules.required(e,t,n,i,o,a),isEmptyValue(t,a)||rules.type(e,t,n,i,o)}r(i)},any=function(e,t,r,n,o){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(isEmptyValue(t)&&!e.required)return r();rules.required(e,t,n,a,o)}r(a)},validators={string:string,method:method,number:number,boolean:_boolean,regexp:regexp,integer:integer,float:floatFn,array:array,object:object,enum:enumerable,pattern:pattern,date:date,url:type,hex:type,email:type,required:required,any:any};function newMessages(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var messages=newMessages(),Schema=function(){function e(e){this.rules=null,this._messages=messages,this.define(e)}var t=e.prototype;return t.define=function(e){var t=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==_typeof2(e)||Array.isArray(e))throw new Error("Rules must be an object");this.rules={},Object.keys(e).forEach((function(r){var n=e[r];t.rules[r]=Array.isArray(n)?n:[n]}))},t.messages=function(e){return e&&(this._messages=deepMerge(newMessages(),e)),this._messages},t.validate=function(t,r,n){var o=this;void 0===r&&(r={}),void 0===n&&(n=function(){});var a=t,i=r,s=n;if("function"==typeof i&&(s=i,i={}),!this.rules||0===Object.keys(this.rules).length)return s&&s(null,a),Promise.resolve(a);if(i.messages){var l=this.messages();l===messages&&(l=newMessages()),deepMerge(l,i.messages),i.messages=l}else i.messages=this.messages();var c={};(i.keys||Object.keys(this.rules)).forEach((function(e){var r=o.rules[e],n=a[e];r.forEach((function(r){var i=r;"function"==typeof i.transform&&(a===t&&(a=_extends$1({},a)),n=a[e]=i.transform(n)),(i="function"==typeof i?{validator:i}:_extends$1({},i)).validator=o.getValidationMethod(i),i.validator&&(i.field=e,i.fullField=i.fullField||e,i.type=o.getType(i),c[e]=c[e]||[],c[e].push({rule:i,value:n,source:a,field:e}))}))}));var u={};return asyncMap(c,i,(function(t,r){var n,o=t.rule,s=!("object"!==o.type&&"array"!==o.type||"object"!==_typeof2(o.fields)&&"object"!==_typeof2(o.defaultField));function l(e,t){return _extends$1({},t,{fullField:o.fullField+"."+e,fullFields:o.fullFields?[].concat(o.fullFields,[e]):[e]})}function c(n){void 0===n&&(n=[]);var c=Array.isArray(n)?n:[n];!i.suppressWarning&&c.length&&e.warning("async-validator:",c),c.length&&void 0!==o.message&&(c=[].concat(o.message));var d=c.map(complementError(o,a));if(i.first&&d.length)return u[o.field]=1,r(d);if(s){if(o.required&&!t.value)return void 0!==o.message?d=[].concat(o.message).map(complementError(o,a)):i.error&&(d=[i.error(o,format$1(i.messages.required,o.field))]),r(d);var p={};o.defaultField&&Object.keys(t.value).map((function(e){p[e]=o.defaultField})),p=_extends$1({},p,t.rule.fields);var f={};Object.keys(p).forEach((function(e){var t=p[e],r=Array.isArray(t)?t:[t];f[e]=r.map(l.bind(null,e))}));var h=new e(f);h.messages(i.messages),t.rule.options&&(t.rule.options.messages=i.messages,t.rule.options.error=i.error),h.validate(t.value,t.rule.options||i,(function(e){var t=[];d&&d.length&&t.push.apply(t,d),e&&e.length&&t.push.apply(t,e),r(t.length?t:null)}))}else r(d)}if(s=s&&(o.required||!o.required&&t.value),o.field=t.field,o.asyncValidator)n=o.asyncValidator(o,t.value,c,t.source,i);else if(o.validator){try{n=o.validator(o,t.value,c,t.source,i)}catch(error){null==console.error||console.error(error),i.suppressValidatorError||setTimeout((function(){throw error}),0),c(error.message)}!0===n?c():!1===n?c("function"==typeof o.message?o.message(o.fullField||o.field):o.message||(o.fullField||o.field)+" fails"):n instanceof Array?c(n):n instanceof Error&&c(n.message)}n&&n.then&&n.then((function(){return c()}),(function(e){return c(e)}))}),(function(e){!function(e){var t=[],r={};function n(e){var r;Array.isArray(e)?t=(r=t).concat.apply(r,e):t.push(e)}for(var o=0;o<e.length;o++)n(e[o]);t.length?(r=convertFieldsError(t),s(t,r)):s(null,a)}(e)}),a)},t.getType=function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!=typeof e.validator&&e.type&&!validators.hasOwnProperty(e.type))throw new Error(format$1("Unknown rule type %s",e.type));return e.type||"string"},t.getValidationMethod=function(e){if("function"==typeof e.validator)return e.validator;var t=Object.keys(e),r=t.indexOf("message");return-1!==r&&t.splice(r,1),1===t.length&&"required"===t[0]?validators.required:validators[this.getType(e)]||void 0},e}();function formItemSize(e){var t=inject(formInjectionKey,null);return{mergedSize:computed((function(){return void 0!==e.size?e.size:void 0!==(null==t?void 0:t.props.size)?t.props.size:"medium"}))}}function formItemMisc(e){var t=inject(formInjectionKey,null),r=computed((function(){var r=e.labelPlacement;return void 0!==r?r:(null==t?void 0:t.props.labelPlacement)?t.props.labelPlacement:"top"})),n=computed((function(){return"left"===r.value&&("auto"===e.labelWidth||"auto"===(null==t?void 0:t.props.labelWidth))})),o=computed((function(){if("top"!==r.value){var o=e.labelWidth;if(void 0!==o&&"auto"!==o)return formatLength(o);if(n.value){var a=null==t?void 0:t.maxChildLabelWidthRef.value;return void 0!==a?formatLength(a):void 0}return void 0!==(null==t?void 0:t.props.labelWidth)?formatLength(t.props.labelWidth):void 0}})),a=computed((function(){var r=e.labelAlign;return r||((null==t?void 0:t.props.labelAlign)?t.props.labelAlign:void 0)})),i=computed((function(){var t;return[null===(t=e.labelProps)||void 0===t?void 0:t.style,e.labelStyle,{width:o.value}]})),s=computed((function(){var r=e.showRequireMark;return void 0!==r?r:null==t?void 0:t.props.showRequireMark})),l=computed((function(){var r=e.requireMarkPlacement;return void 0!==r?r:(null==t?void 0:t.props.requireMarkPlacement)||"right"})),c=ref(!1),u=computed((function(){var t=e.validationStatus;return void 0!==t?t:c.value?"error":void 0})),d=computed((function(){var r=e.showFeedback;return void 0!==r?r:void 0===(null==t?void 0:t.props.showFeedback)||t.props.showFeedback})),p=computed((function(){var r=e.showLabel;return void 0!==r?r:void 0===(null==t?void 0:t.props.showLabel)||t.props.showLabel}));return{validationErrored:c,mergedLabelStyle:i,mergedLabelPlacement:r,mergedLabelAlign:a,mergedShowRequireMark:s,mergedRequireMarkPlacement:l,mergedValidationStatus:u,mergedShowFeedback:d,mergedShowLabel:p,isAutoLabelWidth:n}}function formItemRule(e){var t=inject(formInjectionKey,null),r=computed((function(){var t=e.rulePath;if(void 0!==t)return t;var r=e.path;return void 0!==r?r:void 0})),n=computed((function(){var n=[],o=e.rule;if(void 0!==o&&(Array.isArray(o)?n.push.apply(n,_toConsumableArray2(o)):n.push(o)),t){var a=t.props.rules,i=r.value;if(void 0!==a&&void 0!==i){var s=get(a,i);void 0!==s&&(Array.isArray(s)?n.push.apply(n,_toConsumableArray2(s)):n.push(s))}}return n})),o=computed((function(){return n.value.some((function(e){return e.required}))})),a=computed((function(){return o.value||e.required}));return{mergedRules:n,mergedRequired:a}}Schema.register=function(e,t){if("function"!=typeof t)throw new Error("Cannot register a validator by type, validator is not a function");validators[e]=t},Schema.warning=warning,Schema.messages=messages,Schema.validators=validators;var cubicBezierEaseInOut=commonVariables$m.cubicBezierEaseInOut;function fadeDownTransition(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,r=void 0===t?"fade-down":t,n=e.fromOffset,o=void 0===n?"-4px":n,a=e.enterDuration,i=void 0===a?".3s":a,s=e.leaveDuration,l=void 0===s?".3s":s,c=e.enterCubicBezier,u=void 0===c?cubicBezierEaseInOut:c,d=e.leaveCubicBezier,p=void 0===d?cubicBezierEaseInOut:d;return[c$3("&.".concat(r,"-transition-enter-from, &.").concat(r,"-transition-leave-to"),{opacity:0,transform:"translateY(".concat(o,")")}),c$3("&.".concat(r,"-transition-enter-to, &.").concat(r,"-transition-leave-from"),{opacity:1,transform:"translateY(0)"}),c$3("&.".concat(r,"-transition-leave-active"),{transition:"opacity ".concat(l," ").concat(p,", transform ").concat(l," ").concat(p)}),c$3("&.".concat(r,"-transition-enter-active"),{transition:"opacity ".concat(i," ").concat(u,", transform ").concat(i," ").concat(u)})]}var style$7=cB("form-item","\n display: grid;\n line-height: var(--n-line-height);\n",[cB("form-item-label","\n grid-area: label;\n align-items: center;\n line-height: 1.25;\n text-align: var(--n-label-text-align);\n font-size: var(--n-label-font-size);\n min-height: var(--n-label-height);\n padding: var(--n-label-padding);\n color: var(--n-label-text-color);\n transition: color .3s var(--n-bezier);\n box-sizing: border-box;\n font-weight: var(--n-label-font-weight);\n ",[cE("asterisk","\n white-space: nowrap;\n user-select: none;\n -webkit-user-select: none;\n color: var(--n-asterisk-color);\n transition: color .3s var(--n-bezier);\n "),cE("asterisk-placeholder","\n grid-area: mark;\n user-select: none;\n -webkit-user-select: none;\n visibility: hidden; \n ")]),cB("form-item-blank","\n grid-area: blank;\n min-height: var(--n-blank-height);\n "),cM("auto-label-width",[cB("form-item-label","white-space: nowrap;")]),cM("left-labelled",'\n grid-template-areas:\n "label blank"\n "label feedback";\n grid-template-columns: auto minmax(0, 1fr);\n grid-template-rows: auto 1fr;\n align-items: start;\n ',[cB("form-item-label","\n display: grid;\n grid-template-columns: 1fr auto;\n min-height: var(--n-blank-height);\n height: auto;\n box-sizing: border-box;\n flex-shrink: 0;\n flex-grow: 0;\n ",[cM("reverse-columns-space","\n grid-template-columns: auto 1fr;\n "),cM("left-mark",'\n grid-template-areas:\n "mark text"\n ". text";\n '),cM("right-mark",'\n grid-template-areas: \n "text mark"\n "text .";\n '),cM("right-hanging-mark",'\n grid-template-areas: \n "text mark"\n "text .";\n '),cE("text","\n grid-area: text; \n "),cE("asterisk","\n grid-area: mark; \n align-self: end;\n ")])]),cM("top-labelled",'\n grid-template-areas:\n "label"\n "blank"\n "feedback";\n grid-template-rows: minmax(var(--n-label-height), auto) 1fr;\n grid-template-columns: minmax(0, 100%);\n ',[cM("no-label",'\n grid-template-areas:\n "blank"\n "feedback";\n grid-template-rows: 1fr;\n '),cB("form-item-label","\n display: flex;\n align-items: flex-start;\n justify-content: var(--n-label-text-align);\n ")]),cB("form-item-blank","\n box-sizing: border-box;\n display: flex;\n align-items: center;\n position: relative;\n "),cB("form-item-feedback-wrapper","\n grid-area: feedback;\n box-sizing: border-box;\n min-height: var(--n-feedback-height);\n font-size: var(--n-feedback-font-size);\n line-height: 1.25;\n transform-origin: top left;\n ",[c$3("&:not(:empty)","\n padding: var(--n-feedback-padding);\n "),cB("form-item-feedback",{transition:"color .3s var(--n-bezier)",color:"var(--n-feedback-text-color)"},[cM("warning",{color:"var(--n-feedback-text-color-warning)"}),cM("error",{color:"var(--n-feedback-text-color-error)"}),fadeDownTransition({fromOffset:"-3px",enterDuration:".3s",leaveDuration:".2s"})])])]),__awaiter=globalThis&&globalThis.__awaiter||function(t,r,n,o){return new(n||(n=Promise))((function(a,i){function s(t){try{c(o.next(t))}catch(e){i(e)}}function l(t){try{c(o.throw(t))}catch(e){i(e)}}function c(e){e.done?a(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(s,l)}c((o=o.apply(t,r||[])).next())}))},formItemProps=Object.assign(Object.assign({},useTheme.props),{label:String,labelWidth:[Number,String],labelStyle:[String,Object],labelAlign:String,labelPlacement:String,path:String,first:Boolean,rulePath:String,required:Boolean,showRequireMark:{type:Boolean,default:void 0},requireMarkPlacement:String,showFeedback:{type:Boolean,default:void 0},rule:[Object,Array],size:String,ignorePathChange:Boolean,validationStatus:String,feedback:String,showLabel:{type:Boolean,default:void 0},labelProps:Object});function wrapValidator(e,t){return function(){try{var r=e.apply(void 0,arguments);return!t&&("boolean"==typeof r||r instanceof Error||Array.isArray(r))||(null==r?void 0:r.then)?r:(void 0===r||warn$3("form-item/validate","You return a ".concat(_typeof2(r)," ")+"typed value in the validator method, which is not recommended. Please use "+(t?"`Promise`":"`boolean`, `Error` or `Promise`")+" typed value instead."),!0)}catch(err){return warn$3("form-item/validate","An error is catched in the validation, so the validation won't be done. Your callback in `validate` method of `n-form` or `n-form-item` won't be called in this validation."),void console.error(err)}}}var NFormItem=defineComponent({name:"FormItem",props:formItemProps,setup:function(e){var t=this;useInjectionInstanceCollection(formItemInstsInjectionKey,"formItems",toRef(e,"path"));var r=useConfig(e),n=r.mergedClsPrefixRef,o=r.inlineThemeDisabled,a=inject(formInjectionKey,null),i=formItemSize(e),s=formItemMisc(e),l=s.validationErrored,c=formItemRule(e),u=c.mergedRequired,d=c.mergedRules,p=i.mergedSize,f=s.mergedLabelPlacement,h=s.mergedLabelAlign,v=s.mergedRequireMarkPlacement,g=ref([]),m=ref(createId()),b=a?toRef(a.props,"disabled"):ref(!1),A=useTheme("Form","-form-item",style$7,formLight$1,e,n);function y(){g.value=[],l.value=!1,e.feedback&&(m.value=createId())}watch(toRef(e,"path"),(function(){e.ignorePathChange||y()}));var x=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{suppressWarning:!0};return __awaiter(t,void 0,void 0,_regeneratorRuntime().mark((function t(){var i,s,c,u,p,f,h,v,m,b;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=e.path,o?o.first||(o.first=e.first):o={},s=d.value,c=a?get(a.props.model,i||""):void 0,u={},p={},f=(r?s.filter((function(e){return Array.isArray(e.trigger)?e.trigger.includes(r):e.trigger===r})):s).filter(n).map((function(e,t){var r=Object.assign({},e);if(r.validator&&(r.validator=wrapValidator(r.validator,!1)),r.asyncValidator&&(r.asyncValidator=wrapValidator(r.asyncValidator,!0)),r.renderMessage){var n="__renderMessage__".concat(t);p[n]=r.message,r.message=n,u[n]=r.renderMessage}return r})),f.length){t.next=9;break}return t.abrupt("return",{valid:!0});case 9:return v=new Schema(_defineProperty2({},h=null!=i?i:"__n_no_path__",f)),m=(null==a?void 0:a.props)||{},(b=m.validateMessages)&&v.messages(b),t.next=15,new Promise((function(e){v.validate(_defineProperty2({},h,c),o,(function(t){(null==t?void 0:t.length)?(g.value=t.map((function(e){var t=(null==e?void 0:e.message)||"";return{key:t,render:function(){return t.startsWith("__renderMessage__")?u[t]():t}}})),t.forEach((function(e){var t;(null===(t=e.message)||void 0===t?void 0:t.startsWith("__renderMessage__"))&&(e.message=p[e.message])})),l.value=!0,e({valid:!1,errors:t})):(y(),e({valid:!0}))}))}));case 15:return t.abrupt("return",t.sent);case 16:case"end":return t.stop()}}),t)})))};provide(formItemInjectionKey,{path:toRef(e,"path"),disabled:b,mergedSize:i.mergedSize,mergedValidationStatus:s.mergedValidationStatus,restoreValidation:y,handleContentBlur:function(){x("blur")},handleContentChange:function(){x("change")},handleContentFocus:function(){x("focus")},handleContentInput:function(){x("input")}});var w={validate:function(e,t){return __awaiter(this,void 0,void 0,_regeneratorRuntime().mark((function r(){var n,o,a,i;return _regeneratorRuntime().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return"string"==typeof e?(n=e,o=t):null!==e&&"object"===_typeof2(e)&&(n=e.trigger,o=e.callback,a=e.shouldRuleBeApplied,i=e.options),r.next=3,new Promise((function(e,t){x(n,a,i).then((function(r){var n=r.valid,a=r.errors;n?(o&&o(),e()):(o&&o(a),t(a))}))}));case 3:case"end":return r.stop()}}),r)})))},restoreValidation:y,internalValidate:x},C=ref(null);onMounted((function(){if(s.isAutoLabelWidth.value){var e=C.value;if(null!==e){var t=e.style.whiteSpace;e.style.whiteSpace="nowrap",e.style.width="",null==a||a.deriveMaxChildLabelWidth(Number(getComputedStyle(e).width.slice(0,-2))),e.style.whiteSpace=t}}}));var k=computed((function(){var e,t=p.value,r=f.value,n="top"===r?"vertical":"horizontal",o=A.value,a=o.common.cubicBezierEaseInOut,i=o.self,s=i.labelTextColor,l=i.asteriskColor,c=i.lineHeight,u=i.feedbackTextColor,d=i.feedbackTextColorWarning,v=i.feedbackTextColorError,g=i.feedbackPadding,m=i.labelFontWeight,b=i[createKey("labelHeight",t)],y=i[createKey("blankHeight",t)],x=i[createKey("feedbackFontSize",t)],w=i[createKey("feedbackHeight",t)],C=i[createKey("labelPadding",n)],k=i[createKey("labelTextAlign",n)],_=i[createKey(createKey("labelFontSize",r),t)],S=null!==(e=h.value)&&void 0!==e?e:k;return"top"===r&&(S="right"===S?"flex-end":"flex-start"),{"--n-bezier":a,"--n-line-height":c,"--n-blank-height":y,"--n-label-font-size":_,"--n-label-text-align":S,"--n-label-height":b,"--n-label-padding":C,"--n-label-font-weight":m,"--n-asterisk-color":l,"--n-label-text-color":s,"--n-feedback-padding":g,"--n-feedback-font-size":x,"--n-feedback-height":w,"--n-feedback-text-color":u,"--n-feedback-text-color-warning":d,"--n-feedback-text-color-error":v}})),_=o?useThemeClass("form-item",computed((function(){var e;return"".concat(p.value[0]).concat(f.value[0]).concat((null===(e=h.value)||void 0===e?void 0:e[0])||"")})),k,e):void 0,S=computed((function(){return"left"===f.value&&"left"===v.value&&"left"===h.value}));return Object.assign(Object.assign(Object.assign(Object.assign({labelElementRef:C,mergedClsPrefix:n,mergedRequired:u,feedbackId:m,renderExplains:g,reverseColSpace:S},s),i),w),{cssVars:o?void 0:k,themeClass:null==_?void 0:_.themeClass,onRender:null==_?void 0:_.onRender})},render:function(){var e=this,t=this.$slots,r=this.mergedClsPrefix,n=this.mergedShowLabel,o=this.mergedShowRequireMark,a=this.mergedRequireMarkPlacement,i=this.onRender,s=void 0!==o?o:this.mergedRequired;null==i||i();return h$1("div",{class:["".concat(r,"-form-item"),this.themeClass,"".concat(r,"-form-item--").concat(this.mergedSize,"-size"),"".concat(r,"-form-item--").concat(this.mergedLabelPlacement,"-labelled"),this.isAutoLabelWidth&&"".concat(r,"-form-item--auto-label-width"),!n&&"".concat(r,"-form-item--no-label")],style:this.cssVars},n&&function(){var t=e.$slots.label?e.$slots.label():e.label;if(!t)return null;var n=h$1("span",{class:"".concat(r,"-form-item-label__text")},t),o=s?h$1("span",{class:"".concat(r,"-form-item-label__asterisk")},"left"!==a?" *":"* "):"right-hanging"===a&&h$1("span",{class:"".concat(r,"-form-item-label__asterisk-placeholder")}," *"),i=e.labelProps;return h$1("label",Object.assign({},i,{class:[null==i?void 0:i.class,"".concat(r,"-form-item-label"),"".concat(r,"-form-item-label--").concat(a,"-mark"),e.reverseColSpace&&"".concat(r,"-form-item-label--reverse-columns-space")],style:e.mergedLabelStyle,ref:"labelElementRef"}),"left"===a?[o,n]:[n,o])}(),h$1("div",{class:["".concat(r,"-form-item-blank"),this.mergedValidationStatus&&"".concat(r,"-form-item-blank--").concat(this.mergedValidationStatus)]},t),this.mergedShowFeedback?h$1("div",{key:this.feedbackId,class:"".concat(r,"-form-item-feedback-wrapper")},h$1(Transition,{name:"fade-down-transition",mode:"out-in"},{default:function(){var n=e.mergedValidationStatus;return resolveWrappedSlot(t.feedback,(function(t){var o,a=e.feedback,i=t||a?h$1("div",{key:"__feedback__",class:"".concat(r,"-form-item-feedback__line")},t||a):e.renderExplains.length?null===(o=e.renderExplains)||void 0===o?void 0:o.map((function(e){var t=e.key,n=e.render;return h$1("div",{key:t,class:"".concat(r,"-form-item-feedback__line")},n())})):null;return i?h$1("div","warning"===n?{key:"controlled-warning",class:"".concat(r,"-form-item-feedback ").concat(r,"-form-item-feedback--warning")}:"error"===n?{key:"controlled-error",class:"".concat(r,"-form-item-feedback ").concat(r,"-form-item-feedback--error")}:"success"===n?{key:"controlled-success",class:"".concat(r,"-form-item-feedback ").concat(r,"-form-item-feedback--success")}:{key:"controlled-default",class:"".concat(r,"-form-item-feedback")},i):null}))}})):null)}}),defaultSpan$1=1,gridInjectionKey=createInjectionKey("n-grid"),defaultSpan=1,gridItemProps={span:{type:[Number,String],default:defaultSpan},offset:{type:[Number,String],default:0},suffix:Boolean,privateOffset:Number,privateSpan:Number,privateColStart:Number,privateShow:{type:Boolean,default:!0}},NGi=defineComponent({__GRID_ITEM__:!0,name:"GridItem",alias:["Gi"],props:gridItemProps,setup:function(){var e=inject(gridInjectionKey),t=e.isSsrRef,r=e.xGapRef,n=e.itemStyleRef,o=e.overflowRef,a=e.layoutShiftDisabledRef,i=getCurrentInstance();return{overflow:o,itemStyle:n,layoutShiftDisabled:a,mergedXGap:computed((function(){return pxfy(r.value||0)})),deriveStyle:function(){t.value;var e=i.vnode.props,n=e.privateSpan,o=void 0===n?defaultSpan:n,a=e.privateShow,s=void 0===a||a,l=e.privateColStart,c=void 0===l?void 0:l,u=e.privateOffset,d=void 0===u?0:u,p=pxfy(r.value||0);return{display:s?"":"none",gridColumn:"".concat(null!=c?c:"span ".concat(o)," / span ").concat(o),marginLeft:d?"calc((100% - (".concat(o," - 1) * ").concat(p,") / ").concat(o," * ").concat(d," + ").concat(p," * ").concat(d,")"):""}}}},render:function(){var e,t;if(this.layoutShiftDisabled){var r=this.span,n=this.offset,o=this.mergedXGap;return h$1("div",{style:{gridColumn:"span ".concat(r," / span ").concat(r),marginLeft:n?"calc((100% - (".concat(r," - 1) * ").concat(o,") / ").concat(r," * ").concat(n," + ").concat(o," * ").concat(n,")"):""}},this.$slots)}return h$1("div",{style:[this.itemStyle,this.deriveStyle()]},null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e,{overflow:this.overflow}))}}),gradientTextDark={name:"GradientText",common:commonDark,self:function(e){var t=e.primaryColor,r=e.successColor,n=e.warningColor,o=e.errorColor,a=e.infoColor,i=e.primaryColorSuppl,s=e.successColorSuppl,l=e.warningColorSuppl,c=e.errorColorSuppl,u=e.infoColorSuppl;return{fontWeight:e.fontWeightStrong,rotate:"252deg",colorStartPrimary:t,colorEndPrimary:i,colorStartInfo:a,colorEndInfo:u,colorStartWarning:n,colorEndWarning:l,colorStartError:o,colorEndError:c,colorStartSuccess:r,colorEndSuccess:s}}},gradientTextDark$1=gradientTextDark,defaultBreakpoints={xs:0,s:640,m:1024,l:1280,xl:1536,xxl:1920},defaultCols=24,SSR_ATTR_NAME="__ssr__",gridProps={layoutShiftDisabled:Boolean,responsive:{type:[String,Boolean],default:"self"},cols:{type:[Number,String],default:defaultCols},itemResponsive:Boolean,collapsed:Boolean,collapsedRows:{type:Number,default:1},itemStyle:[Object,String],xGap:{type:[Number,String],default:0},yGap:{type:[Number,String],default:0}},NGrid=defineComponent({name:"Grid",inheritAttrs:!1,props:gridProps,setup:function(e){var t=useConfig(e),r=t.mergedClsPrefixRef,n=t.mergedBreakpointsRef,o=/^\d+$/,a=ref(void 0),i=useBreakpoints((null==n?void 0:n.value)||defaultBreakpoints),s=useMemo((function(){return!!e.itemResponsive||(!o.test(e.cols.toString())||(!o.test(e.xGap.toString())||!o.test(e.yGap.toString())))})),l=computed((function(){if(s.value)return"self"===e.responsive?a.value:i.value})),c=useMemo((function(){var t;return null!==(t=Number(parseResponsivePropValue(e.cols.toString(),l.value)))&&void 0!==t?t:defaultCols})),u=useMemo((function(){return parseResponsivePropValue(e.xGap.toString(),l.value)})),d=useMemo((function(){return parseResponsivePropValue(e.yGap.toString(),l.value)})),p=function(e){a.value=e.contentRect.width},f=function(e){beforeNextFrameOnce(p,e)},h=ref(!1),v=computed((function(){if("self"===e.responsive)return f})),g=ref(!1),m=ref();return onMounted((function(){var e=m.value;e&&e.hasAttribute(SSR_ATTR_NAME)&&(e.removeAttribute(SSR_ATTR_NAME),g.value=!0)})),provide(gridInjectionKey,{layoutShiftDisabledRef:toRef(e,"layoutShiftDisabled"),isSsrRef:g,itemStyleRef:toRef(e,"itemStyle"),xGapRef:u,overflowRef:h}),{isSsr:!isBrowser$2,contentEl:m,mergedClsPrefix:r,style:computed((function(){return e.layoutShiftDisabled?{width:"100%",display:"grid",gridTemplateColumns:"repeat(".concat(e.cols,", minmax(0, 1fr))"),columnGap:pxfy(e.xGap),rowGap:pxfy(e.yGap)}:{width:"100%",display:"grid",gridTemplateColumns:"repeat(".concat(c.value,", minmax(0, 1fr))"),columnGap:pxfy(u.value),rowGap:pxfy(d.value)}})),isResponsive:s,responsiveQuery:l,responsiveCols:c,handleResize:v,overflow:h}},render:function(){var e=this;if(this.layoutShiftDisabled)return h$1("div",mergeProps({ref:"contentEl",class:"".concat(this.mergedClsPrefix,"-grid"),style:this.style},this.$attrs),this.$slots);var t=function(){var t,r,n,o,a,i,s;e.overflow=!1;var l=flatten$4(getSlot$1(e)),c=[],u=e.collapsed,d=e.collapsedRows,p=e.responsiveCols,f=e.responsiveQuery;l.forEach((function(e){var t,r,n,o;if(!0===(null===(t=null==e?void 0:e.type)||void 0===t?void 0:t.__GRID_ITEM__)){if(isNodeVShowFalse(e)){var a=cloneVNode(e);return a.props?a.props.privateShow=!1:a.props={privateShow:!1},void c.push({child:a,rawChildSpan:0})}e.dirs=(null===(r=e.dirs)||void 0===r?void 0:r.filter((function(e){return e.dir!==vShow})))||null;var i=cloneVNode(e),s=Number(null!==(o=parseResponsivePropValue(null===(n=i.props)||void 0===n?void 0:n.span,f))&&void 0!==o?o:defaultSpan$1);0!==s&&c.push({child:i,rawChildSpan:s})}}));var h=0,v=null===(t=c[c.length-1])||void 0===t?void 0:t.child;if(null==v?void 0:v.props){var g=null===(r=v.props)||void 0===r?void 0:r.suffix;void 0!==g&&!1!==g&&(h=null!==(o=null===(n=v.props)||void 0===n?void 0:n.span)&&void 0!==o?o:defaultSpan$1,v.props.privateSpan=h,v.props.privateColStart=p+1-h,v.props.privateShow=null===(a=v.props.privateShow)||void 0===a||a)}for(var m=0,b=!1,A=0,y=c;A<y.length;A++){var x=y[A],w=x.child,C=x.rawChildSpan;if(b&&(e.overflow=!0),!b){var k=Number(null!==(s=parseResponsivePropValue(null===(i=w.props)||void 0===i?void 0:i.offset,f))&&void 0!==s?s:0),_=Math.min(C+k,p);if(w.props?(w.props.privateSpan=_,w.props.privateOffset=k):w.props={privateSpan:_,privateOffset:k},u){var S=m%p;_+S>p&&(m+=p-S),_+m+h>d*p?b=!0:m+=_}}b&&(w.props?!0!==w.props.privateShow&&(w.props.privateShow=!1):w.props={privateShow:!1})}return h$1("div",mergeProps(_defineProperty2({ref:"contentEl",class:"".concat(e.mergedClsPrefix,"-grid"),style:e.style},SSR_ATTR_NAME,e.isSsr||void 0),e.$attrs),c.map((function(e){return e.child})))};return this.isResponsive&&"self"===this.responsive?h$1(VResizeObserver,{onResize:this.handleResize},{default:t}):t()}}),self$k=function(e){return{color:e.primaryColor,iconColor:e.baseColor}},iconDark={name:"IconWrapper",common:commonDark,self:self$k},iconWrapperDark=iconDark,commonVars$3={closeMargin:"16px 12px",closeSize:"20px",closeIconSize:"16px",width:"365px",padding:"16px",titleFontSize:"16px",metaFontSize:"12px",descriptionFontSize:"12px"},self$j=function(e){var t=e.textColor2,r=e.successColor,n=e.infoColor,o=e.warningColor,a=e.errorColor,i=e.popoverColor,s=e.closeIconColor,l=e.closeIconColorHover,c=e.closeIconColorPressed,u=e.closeColorHover,d=e.closeColorPressed,p=e.textColor1,f=e.textColor3,h=e.borderRadius,v=e.fontWeightStrong,g=e.boxShadow2,m=e.lineHeight,b=e.fontSize;return Object.assign(Object.assign({},commonVars$3),{borderRadius:h,lineHeight:m,fontSize:b,headerFontWeight:v,iconColor:t,iconColorSuccess:r,iconColorInfo:n,iconColorWarning:o,iconColorError:a,color:i,textColor:t,closeIconColor:s,closeIconColorHover:l,closeIconColorPressed:c,closeBorderRadius:h,closeColorHover:u,closeColorPressed:d,headerTextColor:p,descriptionTextColor:f,actionTextColor:t,boxShadow:g})},notificationLight=createTheme({name:"Notification",common:commonLight,peers:{Scrollbar:scrollbarLight$1},self:self$j}),notificationLight$1=notificationLight,notificationDark={name:"Notification",common:commonDark,peers:{Scrollbar:scrollbarDark$1},self:self$j},notificationDark$1=notificationDark,commonVariables$4={margin:"0 0 8px 0",padding:"10px 20px",maxWidth:"720px",minWidth:"420px",iconMargin:"0 10px 0 0",closeMargin:"0 0 0 10px",closeSize:"20px",closeIconSize:"16px",iconSize:"20px",fontSize:"14px"},self$i=function(e){var t=e.textColor2,r=e.closeIconColor,n=e.closeIconColorHover,o=e.closeIconColorPressed,a=e.infoColor,i=e.successColor,s=e.errorColor,l=e.warningColor,c=e.popoverColor,u=e.boxShadow2,d=e.primaryColor,p=e.lineHeight,f=e.borderRadius,h=e.closeColorHover,v=e.closeColorPressed;return Object.assign(Object.assign({},commonVariables$4),{closeBorderRadius:f,textColor:t,textColorInfo:t,textColorSuccess:t,textColorError:t,textColorWarning:t,textColorLoading:t,color:c,colorInfo:c,colorSuccess:c,colorError:c,colorWarning:c,colorLoading:c,boxShadow:u,boxShadowInfo:u,boxShadowSuccess:u,boxShadowError:u,boxShadowWarning:u,boxShadowLoading:u,iconColor:t,iconColorInfo:a,iconColorSuccess:i,iconColorWarning:l,iconColorError:s,iconColorLoading:d,closeColorHover:h,closeColorPressed:v,closeIconColor:r,closeIconColorHover:n,closeIconColorPressed:o,closeColorHoverInfo:h,closeColorPressedInfo:v,closeIconColorInfo:r,closeIconColorHoverInfo:n,closeIconColorPressedInfo:o,closeColorHoverSuccess:h,closeColorPressedSuccess:v,closeIconColorSuccess:r,closeIconColorHoverSuccess:n,closeIconColorPressedSuccess:o,closeColorHoverError:h,closeColorPressedError:v,closeIconColorError:r,closeIconColorHoverError:n,closeIconColorPressedError:o,closeColorHoverWarning:h,closeColorPressedWarning:v,closeIconColorWarning:r,closeIconColorHoverWarning:n,closeIconColorPressedWarning:o,closeColorHoverLoading:h,closeColorPressedLoading:v,closeIconColorLoading:r,closeIconColorHoverLoading:n,closeIconColorPressedLoading:o,loadingColor:d,lineHeight:p,borderRadius:f})},messageLight={name:"Message",common:commonLight,self:self$i},messageLight$1=messageLight,messageDark={name:"Message",common:commonDark,self:self$i},messageDark$1=messageDark,buttonGroupDark={name:"ButtonGroup",common:commonDark},buttonGroupDark$1=buttonGroupDark,inputNumberDark={name:"InputNumber",common:commonDark,peers:{Button:buttonDark$1,Input:inputDark$1},self:function(e){return{iconColorDisabled:e.textColorDisabled}}},inputNumberDark$1=inputNumberDark,self$h=function(e){return{iconColorDisabled:e.textColorDisabled}},inputNumberLight=createTheme({name:"InputNumber",common:commonLight,peers:{Button:buttonLight$1,Input:inputLight$1},self:self$h}),inputNumberLight$1=inputNumberLight,layoutDark={name:"Layout",common:commonDark,peers:{Scrollbar:scrollbarDark$1},self:function(e){var t=e.textColor2,r=e.bodyColor,n=e.popoverColor,o=e.cardColor,a=e.dividerColor,i=e.scrollbarColor,s=e.scrollbarColorHover;return{textColor:t,textColorInverted:t,color:r,colorEmbedded:r,headerColor:o,headerColorInverted:o,footerColor:o,footerColorInverted:o,headerBorderColor:a,headerBorderColorInverted:a,footerBorderColor:a,footerBorderColorInverted:a,siderBorderColor:a,siderBorderColorInverted:a,siderColor:o,siderColorInverted:o,siderToggleButtonBorder:"1px solid transparent",siderToggleButtonColor:n,siderToggleButtonIconColor:t,siderToggleButtonIconColorInverted:t,siderToggleBarColor:composite(r,i),siderToggleBarColorHover:composite(r,s),__invertScrollbar:"false"}}},layoutDark$1=layoutDark,self$g=function(e){var t=e.textColor2,r=e.cardColor,n=e.modalColor,o=e.popoverColor,a=e.dividerColor,i=e.borderRadius,s=e.fontSize,l=e.hoverColor;return{textColor:t,color:r,colorHover:l,colorModal:n,colorHoverModal:composite(n,l),colorPopover:o,colorHoverPopover:composite(o,l),borderColor:a,borderColorModal:composite(n,a),borderColorPopover:composite(o,a),borderRadius:i,fontSize:s}},listDark$1={name:"List",common:commonDark,self:self$g},listDark$2=listDark$1,loadingBarDark={name:"LoadingBar",common:commonDark,self:function(e){return{colorError:"red",colorLoading:e.primaryColor,height:"2px"}}},loadingBarDark$1=loadingBarDark,logDark={name:"Log",common:commonDark,peers:{Scrollbar:scrollbarDark$1,Code:codeDark$1},self:function(e){var t=e.textColor2,r=e.inputColor;return{loaderFontSize:e.fontSize,loaderTextColor:t,loaderColor:r,loaderBorder:"1px solid #0000",loadingColor:e.primaryColor}}},logDark$1=logDark,listDark={name:"Mention",common:commonDark,peers:{InternalSelectMenu:internalSelectMenuDark$1,Input:inputDark$1},self:function(e){return{menuBoxShadow:e.boxShadow2}}},mentionDark=listDark;function createPartialInvertedVars(e,t,r,n){return{itemColorHoverInverted:"#0000",itemColorActiveInverted:t,itemColorActiveHoverInverted:t,itemColorActiveCollapsedInverted:t,itemTextColorInverted:e,itemTextColorHoverInverted:r,itemTextColorChildActiveInverted:r,itemTextColorChildActiveHoverInverted:r,itemTextColorActiveInverted:r,itemTextColorActiveHoverInverted:r,itemTextColorHorizontalInverted:e,itemTextColorHoverHorizontalInverted:r,itemTextColorChildActiveHorizontalInverted:r,itemTextColorChildActiveHoverHorizontalInverted:r,itemTextColorActiveHorizontalInverted:r,itemTextColorActiveHoverHorizontalInverted:r,itemIconColorInverted:e,itemIconColorHoverInverted:r,itemIconColorActiveInverted:r,itemIconColorActiveHoverInverted:r,itemIconColorChildActiveInverted:r,itemIconColorChildActiveHoverInverted:r,itemIconColorCollapsedInverted:e,itemIconColorHorizontalInverted:e,itemIconColorHoverHorizontalInverted:r,itemIconColorActiveHorizontalInverted:r,itemIconColorActiveHoverHorizontalInverted:r,itemIconColorChildActiveHorizontalInverted:r,itemIconColorChildActiveHoverHorizontalInverted:r,arrowColorInverted:e,arrowColorHoverInverted:r,arrowColorActiveInverted:r,arrowColorActiveHoverInverted:r,arrowColorChildActiveInverted:r,arrowColorChildActiveHoverInverted:r,groupTextColorInverted:n}}var self$f=function(e){var t=e.borderRadius,r=e.textColor3,n=e.primaryColor,o=e.textColor2,a=e.textColor1,i=e.fontSize,s=e.dividerColor,l=e.hoverColor,c=e.primaryColorHover;return Object.assign({borderRadius:t,color:"#0000",groupTextColor:r,itemColorHover:l,itemColorActive:changeColor(n,{alpha:.1}),itemColorActiveHover:changeColor(n,{alpha:.1}),itemColorActiveCollapsed:changeColor(n,{alpha:.1}),itemTextColor:o,itemTextColorHover:o,itemTextColorActive:n,itemTextColorActiveHover:n,itemTextColorChildActive:n,itemTextColorChildActiveHover:n,itemTextColorHorizontal:o,itemTextColorHoverHorizontal:c,itemTextColorActiveHorizontal:n,itemTextColorActiveHoverHorizontal:n,itemTextColorChildActiveHorizontal:n,itemTextColorChildActiveHoverHorizontal:n,itemIconColor:a,itemIconColorHover:a,itemIconColorActive:n,itemIconColorActiveHover:n,itemIconColorChildActive:n,itemIconColorChildActiveHover:n,itemIconColorCollapsed:a,itemIconColorHorizontal:a,itemIconColorHoverHorizontal:c,itemIconColorActiveHorizontal:n,itemIconColorActiveHoverHorizontal:n,itemIconColorChildActiveHorizontal:n,itemIconColorChildActiveHoverHorizontal:n,itemHeight:"42px",arrowColor:o,arrowColorHover:o,arrowColorActive:n,arrowColorActiveHover:n,arrowColorChildActive:n,arrowColorChildActiveHover:n,colorInverted:"#0000",borderColorHorizontal:"#0000",fontSize:i,dividerColor:s},createPartialInvertedVars("#BBB",n,"#FFF","#AAA"))},menuDark={name:"Menu",common:commonDark,peers:{Tooltip:tooltipDark$1,Dropdown:dropdownDark$1},self:function(e){var t=e.primaryColor,r=e.primaryColorSuppl,n=self$f(e);return n.itemColorActive=changeColor(t,{alpha:.15}),n.itemColorActiveHover=changeColor(t,{alpha:.15}),n.itemColorActiveCollapsed=changeColor(t,{alpha:.15}),n.itemColorActiveInverted=r,n.itemColorActiveHoverInverted=r,n.itemColorActiveCollapsedInverted=r,n}},menuDark$1=menuDark,common={titleFontSize:"18px",backSize:"22px"};function self$e(e){var t=e.textColor1,r=e.textColor2,n=e.textColor3,o=e.fontSize,a=e.fontWeightStrong,i=e.primaryColorHover,s=e.primaryColorPressed;return Object.assign(Object.assign({},common),{titleFontWeight:a,fontSize:o,titleTextColor:t,backColor:r,backColorHover:i,backColorPressed:s,subtitleTextColor:n})}var pageHeaderDark={name:"PageHeader",common:commonDark,self:self$e},commonVars$2={iconSize:"22px"},self$d=function(e){var t=e.fontSize,r=e.warningColor;return Object.assign(Object.assign({},commonVars$2),{fontSize:t,iconColor:r})},popconfirmDark={name:"Popconfirm",common:commonDark,peers:{Button:buttonDark$1,Popover:popoverDark$1},self:self$d},popconfirmDark$1=popconfirmDark,self$c=function(e){var t=e.infoColor,r=e.successColor,n=e.warningColor,o=e.errorColor,a=e.textColor2,i=e.progressRailColor;return{fontSize:e.fontSize,fontSizeCircle:"28px",fontWeightCircle:e.fontWeight,railColor:i,railHeight:"8px",iconSizeCircle:"36px",iconSizeLine:"18px",iconColor:t,iconColorInfo:t,iconColorSuccess:r,iconColorWarning:n,iconColorError:o,textColorCircle:a,textColorLineInner:"rgb(255, 255, 255)",textColorLineOuter:a,fillColor:t,fillColorInfo:t,fillColorSuccess:r,fillColorWarning:n,fillColorError:o,lineBgProcessing:"linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)"}},progressLight={name:"Progress",common:commonLight,self:self$c},progressLight$1=progressLight,progressDark={name:"Progress",common:commonDark,self:function(e){var t=self$c(e);return t.textColorLineInner="rgb(0, 0, 0)",t.lineBgProcessing="linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)",t}},progressDark$1=progressDark,rateDark={name:"Rate",common:commonDark,self:function(e){return{itemColor:e.railColor,itemColorActive:"#CCAA33",itemSize:"20px",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}}},rateDark$1=rateDark,commonVariables$3={titleFontSizeSmall:"26px",titleFontSizeMedium:"32px",titleFontSizeLarge:"40px",titleFontSizeHuge:"48px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",iconSizeSmall:"64px",iconSizeMedium:"80px",iconSizeLarge:"100px",iconSizeHuge:"125px",iconColor418:void 0,iconColor404:void 0,iconColor403:void 0,iconColor500:void 0},self$b=function(e){var t=e.textColor2,r=e.textColor1,n=e.errorColor,o=e.successColor,a=e.infoColor,i=e.warningColor,s=e.lineHeight,l=e.fontWeightStrong;return Object.assign(Object.assign({},commonVariables$3),{lineHeight:s,titleFontWeight:l,titleTextColor:r,textColor:t,iconColorError:n,iconColorSuccess:o,iconColorInfo:a,iconColorWarning:i})},resultDark={name:"Result",common:commonDark,self:self$b},resultDark$1=resultDark,sizeVariables$3={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"},sliderDark={name:"Slider",common:commonDark,self:function(e){var t=e.railColor,r=e.modalColor,n=e.primaryColorSuppl,o=e.popoverColor,a=e.textColor2,i=e.cardColor,s=e.borderRadius,l=e.fontSize,c=e.opacityDisabled;return Object.assign(Object.assign({},sizeVariables$3),{fontSize:l,markFontSize:l,railColor:t,railColorHover:t,fillColor:n,fillColorHover:n,opacityDisabled:c,handleColor:"#FFF",dotColor:i,dotColorModal:r,dotColorPopover:o,handleBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowHover:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowActive:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowFocus:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",indicatorColor:o,indicatorBoxShadow:"0 2px 8px 0 rgba(0, 0, 0, 0.12)",indicatorTextColor:a,indicatorBorderRadius:s,dotBorder:"2px solid ".concat(t),dotBorderActive:"2px solid ".concat(n),dotBoxShadow:""})}},sliderDark$1=sliderDark,self$a=function(e){var t=e.opacityDisabled,r=e.heightTiny,n=e.heightSmall,o=e.heightMedium,a=e.heightLarge,i=e.heightHuge,s=e.primaryColor;return{fontSize:e.fontSize,textColor:s,sizeTiny:r,sizeSmall:n,sizeMedium:o,sizeLarge:a,sizeHuge:i,color:s,opacitySpinning:t}},spinLight={name:"Spin",common:commonLight,self:self$a},spinLight$1=spinLight,spinDark={name:"Spin",common:commonDark,self:self$a},spinDark$1=spinDark,self$9=function(e){var t=e.textColor2,r=e.textColor3,n=e.fontSize,o=e.fontWeight;return{labelFontSize:n,labelFontWeight:o,valueFontWeight:o,valueFontSize:"24px",labelTextColor:r,valuePrefixTextColor:t,valueSuffixTextColor:t,valueTextColor:t}},statisticDark={name:"Statistic",common:commonDark,self:self$9},statisticDark$1=statisticDark,commonVariables$2={stepHeaderFontSizeSmall:"14px",stepHeaderFontSizeMedium:"16px",indicatorIndexFontSizeSmall:"14px",indicatorIndexFontSizeMedium:"16px",indicatorSizeSmall:"22px",indicatorSizeMedium:"28px",indicatorIconSizeSmall:"14px",indicatorIconSizeMedium:"18px"},self$8=function(e){var t=e.fontWeightStrong,r=e.baseColor,n=e.textColorDisabled,o=e.primaryColor,a=e.errorColor,i=e.textColor1,s=e.textColor2;return Object.assign(Object.assign({},commonVariables$2),{stepHeaderFontWeight:t,indicatorTextColorProcess:r,indicatorTextColorWait:n,indicatorTextColorFinish:o,indicatorTextColorError:a,indicatorBorderColorProcess:o,indicatorBorderColorWait:n,indicatorBorderColorFinish:o,indicatorBorderColorError:a,indicatorColorProcess:o,indicatorColorWait:"#0000",indicatorColorFinish:"#0000",indicatorColorError:"#0000",splitorColorProcess:n,splitorColorWait:n,splitorColorFinish:o,splitorColorError:n,headerTextColorProcess:i,headerTextColorWait:n,headerTextColorFinish:n,headerTextColorError:a,descriptionTextColorProcess:s,descriptionTextColorWait:n,descriptionTextColorFinish:n,descriptionTextColorError:a})},stepsDark={name:"Steps",common:commonDark,self:self$8},stepsDark$1=stepsDark,commonVars$1={buttonHeightSmall:"14px",buttonHeightMedium:"18px",buttonHeightLarge:"22px",buttonWidthSmall:"14px",buttonWidthMedium:"18px",buttonWidthLarge:"22px",buttonWidthPressedSmall:"20px",buttonWidthPressedMedium:"24px",buttonWidthPressedLarge:"28px",railHeightSmall:"18px",railHeightMedium:"22px",railHeightLarge:"26px",railWidthSmall:"32px",railWidthMedium:"40px",railWidthLarge:"48px"},switchDark={name:"Switch",common:commonDark,self:function(e){var t=e.primaryColorSuppl,r=e.opacityDisabled,n=e.borderRadius,o=e.primaryColor,a=e.textColor2,i=e.baseColor;return Object.assign(Object.assign({},commonVars$1),{iconColor:i,textColor:a,loadingColor:t,opacityDisabled:r,railColor:"rgba(255, 255, 255, .20)",railColorActive:t,buttonBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",buttonColor:"#FFF",railBorderRadiusSmall:n,railBorderRadiusMedium:n,railBorderRadiusLarge:n,buttonBorderRadiusSmall:n,buttonBorderRadiusMedium:n,buttonBorderRadiusLarge:n,boxShadowFocus:"0 0 8px 0 ".concat(changeColor(o,{alpha:.3}))})}},switchDark$1=switchDark,sizeVariables$2={thPaddingSmall:"6px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"6px",tdPaddingMedium:"12px",tdPaddingLarge:"12px"},self$7=function(e){var t=e.dividerColor,r=e.cardColor,n=e.modalColor,o=e.popoverColor,a=e.tableHeaderColor,i=e.tableColorStriped,s=e.textColor1,l=e.textColor2,c=e.borderRadius,u=e.fontWeightStrong,d=e.lineHeight,p=e.fontSizeSmall,f=e.fontSizeMedium,h=e.fontSizeLarge;return Object.assign(Object.assign({},sizeVariables$2),{fontSizeSmall:p,fontSizeMedium:f,fontSizeLarge:h,lineHeight:d,borderRadius:c,borderColor:composite(r,t),borderColorModal:composite(n,t),borderColorPopover:composite(o,t),tdColor:r,tdColorModal:n,tdColorPopover:o,tdColorStriped:composite(r,i),tdColorStripedModal:composite(n,i),tdColorStripedPopover:composite(o,i),thColor:composite(r,a),thColorModal:composite(n,a),thColorPopover:composite(o,a),thTextColor:s,tdTextColor:l,thFontWeight:u})},tableLight={name:"Table",common:commonLight,self:self$7},tableLight$1=tableLight,tableDark={name:"Table",common:commonDark,self:self$7},tableDark$1=tableDark,sizeVariables$1={tabFontSizeSmall:"14px",tabFontSizeMedium:"14px",tabFontSizeLarge:"16px",tabGapSmallLine:"36px",tabGapMediumLine:"36px",tabGapLargeLine:"36px",tabGapSmallLineVertical:"8px",tabGapMediumLineVertical:"8px",tabGapLargeLineVertical:"8px",tabPaddingSmallLine:"6px 0",tabPaddingMediumLine:"10px 0",tabPaddingLargeLine:"14px 0",tabPaddingVerticalSmallLine:"6px 12px",tabPaddingVerticalMediumLine:"8px 16px",tabPaddingVerticalLargeLine:"10px 20px",tabGapSmallBar:"36px",tabGapMediumBar:"36px",tabGapLargeBar:"36px",tabGapSmallBarVertical:"8px",tabGapMediumBarVertical:"8px",tabGapLargeBarVertical:"8px",tabPaddingSmallBar:"4px 0",tabPaddingMediumBar:"6px 0",tabPaddingLargeBar:"10px 0",tabPaddingVerticalSmallBar:"6px 12px",tabPaddingVerticalMediumBar:"8px 16px",tabPaddingVerticalLargeBar:"10px 20px",tabGapSmallCard:"4px",tabGapMediumCard:"4px",tabGapLargeCard:"4px",tabGapSmallCardVertical:"4px",tabGapMediumCardVertical:"4px",tabGapLargeCardVertical:"4px",tabPaddingSmallCard:"8px 16px",tabPaddingMediumCard:"10px 20px",tabPaddingLargeCard:"12px 24px",tabPaddingSmallSegment:"4px 0",tabPaddingMediumSegment:"6px 0",tabPaddingLargeSegment:"8px 0",tabPaddingVerticalLargeSegment:"0 8px",tabPaddingVerticalSmallCard:"8px 12px",tabPaddingVerticalMediumCard:"10px 16px",tabPaddingVerticalLargeCard:"12px 20px",tabPaddingVerticalSmallSegment:"0 4px",tabPaddingVerticalMediumSegment:"0 6px",tabGapSmallSegment:"0",tabGapMediumSegment:"0",tabGapLargeSegment:"0",tabGapSmallSegmentVertical:"0",tabGapMediumSegmentVertical:"0",tabGapLargeSegmentVertical:"0",panePaddingSmall:"8px 0 0 0",panePaddingMedium:"12px 0 0 0",panePaddingLarge:"16px 0 0 0",closeSize:"18px",closeIconSize:"14px"},self$6=function(e){var t=e.textColor2,r=e.primaryColor,n=e.textColorDisabled,o=e.closeIconColor,a=e.closeIconColorHover,i=e.closeIconColorPressed,s=e.closeColorHover,l=e.closeColorPressed,c=e.tabColor,u=e.baseColor,d=e.dividerColor,p=e.fontWeight,f=e.textColor1,h=e.borderRadius,v=e.fontSize,g=e.fontWeightStrong;return Object.assign(Object.assign({},sizeVariables$1),{colorSegment:c,tabFontSizeCard:v,tabTextColorLine:f,tabTextColorActiveLine:r,tabTextColorHoverLine:r,tabTextColorDisabledLine:n,tabTextColorSegment:f,tabTextColorActiveSegment:t,tabTextColorHoverSegment:t,tabTextColorDisabledSegment:n,tabTextColorBar:f,tabTextColorActiveBar:r,tabTextColorHoverBar:r,tabTextColorDisabledBar:n,tabTextColorCard:f,tabTextColorHoverCard:f,tabTextColorActiveCard:r,tabTextColorDisabledCard:n,barColor:r,closeIconColor:o,closeIconColorHover:a,closeIconColorPressed:i,closeColorHover:s,closeColorPressed:l,closeBorderRadius:h,tabColor:c,tabColorSegment:u,tabBorderColor:d,tabFontWeightActive:p,tabFontWeight:p,tabBorderRadius:h,paneTextColor:t,fontWeightStrong:g})},tabsLight={name:"Tabs",common:commonLight,self:self$6},tabsLight$1=tabsLight,tabsDark={name:"Tabs",common:commonDark,self:function(e){var t=self$6(e),r=e.inputColor;return t.colorSegment=r,t.tabColorSegment=r,t}},tabsDark$1=tabsDark,self$5=function(e){var t=e.textColor1,r=e.textColor2,n=e.fontWeightStrong;return{fontSize:e.fontSize,titleTextColor:t,textColor:r,titleFontWeight:n}},thingDark={name:"Thing",common:commonDark,self:self$5},thingDark$1=thingDark,sizeVariables={titleMarginMedium:"0 0 6px 0",titleMarginLarge:"-2px 0 6px 0",titleFontSizeMedium:"14px",titleFontSizeLarge:"16px",iconSizeMedium:"14px",iconSizeLarge:"14px"},timelineDark={name:"Timeline",common:commonDark,self:function(e){var t=e.textColor3,r=e.infoColorSuppl,n=e.errorColorSuppl,o=e.successColorSuppl,a=e.warningColorSuppl,i=e.textColor1,s=e.textColor2,l=e.railColor,c=e.fontWeightStrong,u=e.fontSize;return Object.assign(Object.assign({},sizeVariables),{contentFontSize:u,titleFontWeight:c,circleBorder:"2px solid ".concat(t),circleBorderInfo:"2px solid ".concat(r),circleBorderError:"2px solid ".concat(n),circleBorderSuccess:"2px solid ".concat(o),circleBorderWarning:"2px solid ".concat(a),iconColor:t,iconColorInfo:r,iconColorError:n,iconColorSuccess:o,iconColorWarning:a,titleTextColor:i,contentTextColor:s,metaTextColor:t,lineColor:l})}},timelineDark$1=timelineDark,commonVariables$1={extraFontSizeSmall:"12px",extraFontSizeMedium:"12px",extraFontSizeLarge:"14px",titleFontSizeSmall:"14px",titleFontSizeMedium:"16px",titleFontSizeLarge:"16px",closeSize:"20px",closeIconSize:"16px",headerHeightSmall:"44px",headerHeightMedium:"44px",headerHeightLarge:"50px"},transferDark$1={name:"Transfer",common:commonDark,peers:{Checkbox:checkboxDark$1,Scrollbar:scrollbarDark$1,Input:inputDark$1,Empty:emptyDark$1,Button:buttonDark$1},self:function(e){var t=e.fontWeight,r=e.fontSizeLarge,n=e.fontSizeMedium,o=e.fontSizeSmall,a=e.heightLarge,i=e.heightMedium,s=e.borderRadius,l=e.inputColor,c=e.tableHeaderColor,u=e.textColor1,d=e.textColorDisabled,p=e.textColor2,f=e.textColor3,h=e.hoverColor,v=e.closeColorHover,g=e.closeColorPressed,m=e.closeIconColor,b=e.closeIconColorHover,A=e.closeIconColorPressed,y=e.dividerColor;return Object.assign(Object.assign({},commonVariables$1),{itemHeightSmall:i,itemHeightMedium:i,itemHeightLarge:a,fontSizeSmall:o,fontSizeMedium:n,fontSizeLarge:r,borderRadius:s,dividerColor:y,borderColor:"#0000",listColor:l,headerColor:c,titleTextColor:u,titleTextColorDisabled:d,extraTextColor:f,extraTextColorDisabled:d,itemTextColor:p,itemTextColorDisabled:d,itemColorPending:h,titleFontWeight:t,closeColorHover:v,closeColorPressed:g,closeIconColor:m,closeIconColorHover:b,closeIconColorPressed:A})}},transferDark$2=transferDark$1,self$4=function(e){var t=e.borderRadiusSmall,r=e.hoverColor,n=e.pressedColor,o=e.primaryColor,a=e.textColor3,i=e.textColor2,s=e.textColorDisabled;return{fontSize:e.fontSize,nodeBorderRadius:t,nodeColorHover:r,nodeColorPressed:n,nodeColorActive:changeColor(o,{alpha:.1}),arrowColor:a,nodeTextColor:i,nodeTextColorDisabled:s,loadingColor:o,dropMarkColor:o}},treeDark={name:"Tree",common:commonDark,peers:{Checkbox:checkboxDark$1,Scrollbar:scrollbarDark$1,Empty:emptyDark$1},self:function(e){var t=e.primaryColor,r=self$4(e);return r.nodeColorActive=changeColor(t,{alpha:.15}),r}},treeDark$1=treeDark,treeSelectDark={name:"TreeSelect",common:commonDark,peers:{Tree:treeDark$1,Empty:emptyDark$1,InternalSelection:internalSelectionDark$1}},treeSelectDark$1=treeSelectDark,commonVars={headerFontSize1:"30px",headerFontSize2:"22px",headerFontSize3:"18px",headerFontSize4:"16px",headerFontSize5:"16px",headerFontSize6:"16px",headerMargin1:"28px 0 20px 0",headerMargin2:"28px 0 20px 0",headerMargin3:"28px 0 20px 0",headerMargin4:"28px 0 18px 0",headerMargin5:"28px 0 18px 0",headerMargin6:"28px 0 18px 0",headerPrefixWidth1:"16px",headerPrefixWidth2:"16px",headerPrefixWidth3:"12px",headerPrefixWidth4:"12px",headerPrefixWidth5:"12px",headerPrefixWidth6:"12px",headerBarWidth1:"4px",headerBarWidth2:"4px",headerBarWidth3:"3px",headerBarWidth4:"3px",headerBarWidth5:"3px",headerBarWidth6:"3px",pMargin:"16px 0 16px 0",liMargin:".25em 0 0 0",olPadding:"0 0 0 2em",ulPadding:"0 0 0 2em"},self$3=function(e){var t=e.primaryColor,r=e.textColor2,n=e.borderColor,o=e.lineHeight,a=e.fontSize,i=e.borderRadiusSmall,s=e.dividerColor,l=e.fontWeightStrong,c=e.textColor1,u=e.textColor3,d=e.infoColor,p=e.warningColor,f=e.errorColor,h=e.successColor,v=e.codeColor;return Object.assign(Object.assign({},commonVars),{aTextColor:t,blockquoteTextColor:r,blockquotePrefixColor:n,blockquoteLineHeight:o,blockquoteFontSize:a,codeBorderRadius:i,liTextColor:r,liLineHeight:o,liFontSize:a,hrColor:s,headerFontWeight:l,headerTextColor:c,pTextColor:r,pTextColor1Depth:c,pTextColor2Depth:r,pTextColor3Depth:u,pLineHeight:o,pFontSize:a,headerBarColor:t,headerBarColorPrimary:t,headerBarColorInfo:d,headerBarColorError:f,headerBarColorWarning:p,headerBarColorSuccess:h,textColor:r,textColor1Depth:c,textColor2Depth:r,textColor3Depth:u,textColorPrimary:t,textColorInfo:d,textColorSuccess:h,textColorWarning:p,textColorError:f,codeTextColor:r,codeColor:v,codeBorder:"1px solid #0000"})},typographyDark={name:"Typography",common:commonDark,self:self$3},typographyDark$1=typographyDark,self$2=function(e){var t=e.iconColor,r=e.primaryColor,n=e.errorColor,o=e.textColor2,a=e.successColor,i=e.opacityDisabled,s=e.actionColor,l=e.borderColor,c=e.hoverColor,u=e.lineHeight,d=e.borderRadius;return{fontSize:e.fontSize,lineHeight:u,borderRadius:d,draggerColor:s,draggerBorder:"1px dashed ".concat(l),draggerBorderHover:"1px dashed ".concat(r),itemColorHover:c,itemColorHoverError:changeColor(n,{alpha:.06}),itemTextColor:o,itemTextColorError:n,itemTextColorSuccess:a,itemIconColor:t,itemDisabledOpacity:i,itemBorderImageCardError:"1px solid ".concat(n),itemBorderImageCard:"1px solid ".concat(l)}},uploadDark={name:"Upload",common:commonDark,peers:{Button:buttonDark$1,Progress:progressDark$1},self:function(e){var t=e.errorColor,r=self$2(e);return r.itemColorHoverError=changeColor(t,{alpha:.09}),r}},uploadDark$1=uploadDark,watermarkDark={name:"Watermark",common:commonDark,self:function(e){return{fontFamily:e.fontFamily}}},watermarkDark$1=watermarkDark,rowDark={name:"Row",common:commonDark},rowDark$1=rowDark,imageDark={name:"Image",common:commonDark,peers:{Tooltip:tooltipDark$1},self:function(e){return{toolbarIconColor:e.textColor2,toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}};function parse(e){return null==e||"string"==typeof e&&""===e.trim()?null:Number(e)}function isWipValue(e){return e.includes(".")&&(/^(-)?\d+.*(\.|0)$/.test(e)||/^\.\d+$/.test(e))}function validator(e){return null==e||!Number.isNaN(e)}function format(e,t){return null==e?"":void 0===t?String(e):e.toFixed(t)}function parseNumber(e){if(null===e)return null;if("number"==typeof e)return e;var t=Number(e);return Number.isNaN(t)?null:t}var style$6=c$3([cB("input-number-suffix","\n display: inline-block;\n margin-right: 10px;\n "),cB("input-number-prefix","\n display: inline-block;\n margin-left: 10px;\n ")]),HOLDING_CHANGE_THRESHOLD=800,HOLDING_CHANGE_INTERVAL=100,inputNumberProps=Object.assign(Object.assign({},useTheme.props),{autofocus:Boolean,loading:{type:Boolean,default:void 0},placeholder:String,defaultValue:{type:Number,default:null},value:Number,step:{type:[Number,String],default:1},min:[Number,String],max:[Number,String],size:String,disabled:{type:Boolean,default:void 0},validator:Function,bordered:{type:Boolean,default:void 0},showButton:{type:Boolean,default:!0},buttonPlacement:{type:String,default:"right"},readonly:Boolean,clearable:Boolean,keyboard:{type:Object,default:{}},updateValueOnInput:{type:Boolean,default:!0},parse:Function,format:Function,precision:Number,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onChange:[Function,Array]}),NInputNumber=defineComponent({name:"InputNumber",props:inputNumberProps,setup:function(e){var t=useConfig(e),r=t.mergedBorderedRef,n=t.mergedClsPrefixRef,o=t.mergedRtlRef,a=useTheme("InputNumber","-input-number",style$6,inputNumberLight$1,e,n),i=useLocale("InputNumber").localeRef,s=useFormItem(e),l=s.mergedSizeRef,c=s.mergedDisabledRef,u=s.mergedStatusRef,d=ref(null),p=ref(null),f=ref(null),h=ref(e.defaultValue),v=useMergedState(toRef(e,"value"),h),g=ref(""),m=function(e){var t=String(e).split(".")[1];return t?t.length:0},b=useMemo((function(){var t=e.placeholder;return void 0!==t?t:i.value.placeholder})),A=useMemo((function(){var t=parseNumber(e.step);return null!==t?0===t?1:Math.abs(t):1})),y=useMemo((function(){var t=parseNumber(e.min);return null!==t?t:null})),x=useMemo((function(){var t=parseNumber(e.max);return null!==t?t:null})),w=function(t){if(t!==v.value){var r=e["onUpdate:value"],n=e.onUpdateValue,o=e.onChange,a=s.nTriggerFormInput,i=s.nTriggerFormChange;o&&call$1(o,t),n&&call$1(n,t),r&&call$1(r,t),h.value=t,a(),i()}else k()},C=function(t){var r=t.offset,n=t.doUpdateIfValid,o=t.fixPrecision,a=t.isInputing,i=g.value;if(a&&isWipValue(i))return!1;var s,l,c=(e.parse||parse)(i);if(null===c)return n&&w(null),null;if(validator(c)){var u=m(c),d=e.precision;if(void 0!==d&&d<u&&!o)return!1;var p=parseFloat((c+r).toFixed(null!=d?d:(s=c,l=[e.min,e.max,e.step,s].map((function(e){return void 0===e?0:m(e)})),Math.max.apply(Math,_toConsumableArray2(l)))));if(validator(p)){var f=x.value,h=y.value;if(null!==f&&p>f){if(!n||a)return!1;p=f}if(null!==h&&p<h){if(!n||a)return!1;p=h}return!(e.validator&&!e.validator(p))&&(n&&w(p),p)}}return!1},k=function(){var t=v.value;if(validator(t)){var r=e.format,n=e.precision;r?g.value=r(t):null===t||void 0===n||m(t)>n?g.value=format(t,void 0):g.value=format(t,n)}else g.value=String(t)};k();var _=useMemo((function(){return!1===C({offset:0,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})})),S=useMemo((function(){var t=v.value;if(e.validator&&null===t)return!1;var r=A.value;return!1!==C({offset:-r,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})})),B=useMemo((function(){var t=v.value;if(e.validator&&null===t)return!1;var r=A.value;return!1!==C({offset:+r,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})}));function E(){if(B.value)if(null===v.value)e.validator||w(N());else{var t=A.value;C({offset:t,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}else O()}function T(){if(S.value)if(null===v.value)e.validator||w(N());else{var t=A.value;C({offset:-t,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}else D()}var P=function(t){var r=e.onFocus,n=s.nTriggerFormFocus;r&&call$1(r,t),n()},I=function(t){var r,n;if(t.target!==(null===(r=d.value)||void 0===r?void 0:r.wrapperElRef)){var o=C({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0});if(!1!==o){var a=null===(n=d.value)||void 0===n?void 0:n.inputElRef;a&&(a.value=String(o||"")),v.value===o&&k()}else k();var i=e.onBlur,l=s.nTriggerFormBlur;i&&call$1(i,t),l(),nextTick((function(){k()}))}};function N(){if(e.validator)return null;var t=y.value,r=x.value;return null!==t?Math.max(0,t):null!==r?Math.min(0,r):0}var z=null,M=null,R=null;function D(){R&&(window.clearTimeout(R),R=null),z&&(window.clearInterval(z),z=null)}function O(){F&&(window.clearTimeout(F),F=null),M&&(window.clearInterval(M),M=null)}var F=null;watch(v,(function(){k()}));var L={focus:function(){var e;return null===(e=d.value)||void 0===e?void 0:e.focus()},blur:function(){var e;return null===(e=d.value)||void 0===e?void 0:e.blur()}},j=useRtl("InputNumber",o,n);return Object.assign(Object.assign({},L),{rtlEnabled:j,inputInstRef:d,minusButtonInstRef:p,addButtonInstRef:f,mergedClsPrefix:n,mergedBordered:r,uncontrolledValue:h,mergedValue:v,mergedPlaceholder:b,displayedValueInvalid:_,mergedSize:l,mergedDisabled:c,displayedValue:g,addable:B,minusable:S,mergedStatus:u,handleFocus:P,handleBlur:I,handleClear:function(t){!function(t){var r=e.onClear;r&&call$1(r,t)}(t),w(null)},handleMouseDown:function(e){var t,r,n;(null===(t=f.value)||void 0===t?void 0:t.$el.contains(e.target))&&e.preventDefault(),(null===(r=p.value)||void 0===r?void 0:r.$el.contains(e.target))&&e.preventDefault(),null===(n=d.value)||void 0===n||n.activate()},handleAddClick:function(){M||E()},handleMinusClick:function(){z||T()},handleAddMousedown:function(){O(),F=window.setTimeout((function(){M=window.setInterval((function(){E()}),HOLDING_CHANGE_INTERVAL)}),HOLDING_CHANGE_THRESHOLD),on("mouseup",document,O,{once:!0})},handleMinusMousedown:function(){D(),R=window.setTimeout((function(){z=window.setInterval((function(){T()}),HOLDING_CHANGE_INTERVAL)}),HOLDING_CHANGE_THRESHOLD),on("mouseup",document,D,{once:!0})},handleKeyDown:function(t){var r,n;if("Enter"===t.key){if(t.target===(null===(r=d.value)||void 0===r?void 0:r.wrapperElRef))return;!1!==C({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})&&(null===(n=d.value)||void 0===n||n.deactivate())}else if("ArrowUp"===t.key){if(!B.value)return;if(!1===e.keyboard.ArrowUp)return;t.preventDefault(),!1!==C({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})&&E()}else if("ArrowDown"===t.key){if(!S.value)return;if(!1===e.keyboard.ArrowDown)return;t.preventDefault(),!1!==C({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})&&T()}},handleUpdateDisplayedValue:function(t){g.value=t,!e.updateValueOnInput||e.format||e.parse||void 0!==e.precision||C({offset:0,doUpdateIfValid:!0,isInputing:!0,fixPrecision:!1})},mergedTheme:a,inputThemeOverrides:{paddingSmall:"0 8px 0 10px",paddingMedium:"0 8px 0 12px",paddingLarge:"0 8px 0 14px"},buttonThemeOverrides:computed((function(){var e=_slicedToArray(rgba(a.value.self.iconColorDisabled),4),t=e[0],r=e[1],n=e[2],o=e[3];return{textColorTextDisabled:"rgb(".concat(t,", ").concat(r,", ").concat(n,")"),opacityDisabled:"".concat(o)}}))})},render:function(){var e=this,t=this.mergedClsPrefix,r=this.$slots,n=function(){return h$1(XButton,{text:!0,disabled:!e.minusable||e.mergedDisabled||e.readonly,focusable:!1,theme:e.mergedTheme.peers.Button,themeOverrides:e.mergedTheme.peerOverrides.Button,builtinThemeOverrides:e.buttonThemeOverrides,onClick:e.handleMinusClick,onMousedown:e.handleMinusMousedown,ref:"minusButtonInstRef"},{icon:function(){return resolveSlot(r["minus-icon"],(function(){return[h$1(NBaseIcon,{clsPrefix:t},{default:function(){return h$1(RemoveIcon,null)}})]}))}})};return h$1("div",{class:["".concat(t,"-input-number"),this.rtlEnabled&&"".concat(t,"-input-number--rtl")]},h$1(NInput,{ref:"inputInstRef",autofocus:this.autofocus,status:this.mergedStatus,bordered:this.mergedBordered,loading:this.loading,value:this.displayedValue,onUpdateValue:this.handleUpdateDisplayedValue,theme:this.mergedTheme.peers.Input,themeOverrides:this.mergedTheme.peerOverrides.Input,builtinThemeOverrides:this.inputThemeOverrides,size:this.mergedSize,placeholder:this.mergedPlaceholder,disabled:this.mergedDisabled,readonly:this.readonly,textDecoration:this.displayedValueInvalid?"line-through":void 0,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onClear:this.handleClear,clearable:this.clearable,internalLoadingBeforeSuffix:!0},{prefix:function(){var o;return e.showButton&&"both"===e.buttonPlacement?[n(),resolveWrappedSlot(r.prefix,(function(e){return e?h$1("span",{class:"".concat(t,"-input-number-prefix")},e):null}))]:null===(o=r.prefix)||void 0===o?void 0:o.call(r)},suffix:function(){var o;return e.showButton?[resolveWrappedSlot(r.suffix,(function(e){return e?h$1("span",{class:"".concat(t,"-input-number-suffix")},e):null})),"right"===e.buttonPlacement?n():null,h$1(XButton,{text:!0,disabled:!e.addable||e.mergedDisabled||e.readonly,focusable:!1,theme:e.mergedTheme.peers.Button,themeOverrides:e.mergedTheme.peerOverrides.Button,builtinThemeOverrides:e.buttonThemeOverrides,onClick:e.handleAddClick,onMousedown:e.handleAddMousedown,ref:"addButtonInstRef"},{icon:function(){return resolveSlot(r["add-icon"],(function(){return[h$1(NBaseIcon,{clsPrefix:t},{default:function(){return h$1(AddIcon,null)}})]}))}})]:null===(o=r.suffix)||void 0===o?void 0:o.call(r)}}))}}),commonVariables={extraFontSize:"12px",width:"440px"},transferDark={name:"Transfer",common:commonDark,peers:{Checkbox:checkboxDark$1,Scrollbar:scrollbarDark$1,Input:inputDark$1,Empty:emptyDark$1,Button:buttonDark$1},self:function(e){var t=e.iconColorDisabled,r=e.iconColor,n=e.fontWeight,o=e.fontSizeLarge,a=e.fontSizeMedium,i=e.fontSizeSmall,s=e.heightLarge,l=e.heightMedium,c=e.heightSmall,u=e.borderRadius,d=e.inputColor,p=e.tableHeaderColor,f=e.textColor1,h=e.textColorDisabled,v=e.textColor2,g=e.hoverColor;return Object.assign(Object.assign({},commonVariables),{itemHeightSmall:c,itemHeightMedium:l,itemHeightLarge:s,fontSizeSmall:i,fontSizeMedium:a,fontSizeLarge:o,borderRadius:u,borderColor:"#0000",listColor:d,headerColor:p,titleTextColor:f,titleTextColorDisabled:h,extraTextColor:v,filterDividerColor:"#0000",itemTextColor:v,itemTextColorDisabled:h,itemColorPending:g,titleFontWeight:n,iconColor:r,iconColorDisabled:t})}},legacyTransferDark=transferDark,messageProps={icon:Function,type:{type:String,default:"info"},content:[String,Number,Function],showIcon:{type:Boolean,default:!0},closable:Boolean,keepAliveOnHover:Boolean,onClose:Function,onMouseenter:Function,onMouseleave:Function},messageApiInjectionKey=createInjectionKey("n-message-api"),messageProviderInjectionKey=createInjectionKey("n-message-provider"),style$5=c$3([cB("message-wrapper","\n margin: var(--n-margin);\n z-index: 0;\n transform-origin: top center;\n display: flex;\n ",[fadeInHeightExpandTransition({overflow:"visible",originalTransition:"transform .3s var(--n-bezier)",enterToProps:{transform:"scale(1)"},leaveToProps:{transform:"scale(0.85)"}})]),cB("message","\n box-sizing: border-box;\n display: flex;\n align-items: center;\n transition:\n color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n opacity .3s var(--n-bezier),\n transform .3s var(--n-bezier),\n margin-bottom .3s var(--n-bezier);\n padding: var(--n-padding);\n border-radius: var(--n-border-radius);\n flex-wrap: nowrap;\n overflow: hidden;\n max-width: var(--n-max-width);\n color: var(--n-text-color);\n background-color: var(--n-color);\n box-shadow: var(--n-box-shadow);\n ",[cE("content","\n display: inline-block;\n line-height: var(--n-line-height);\n font-size: var(--n-font-size);\n "),cE("icon","\n position: relative;\n margin: var(--n-icon-margin);\n height: var(--n-icon-size);\n width: var(--n-icon-size);\n font-size: var(--n-icon-size);\n flex-shrink: 0;\n ",[["default","info","success","warning","error","loading"].map((function(e){return cM("".concat(e,"-type"),[c$3("> *","\n color: var(--n-icon-color-".concat(e,");\n transition: color .3s var(--n-bezier);\n "))])})),c$3("> *","\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n ",[iconSwitchTransition()])]),cE("close","\n margin: var(--n-close-margin);\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n flex-shrink: 0;\n ",[c$3("&:hover","\n color: var(--n-close-icon-color-hover);\n "),c$3("&:active","\n color: var(--n-close-icon-color-pressed);\n ")])]),cB("message-container","\n z-index: 6000;\n position: fixed;\n height: 0;\n overflow: visible;\n display: flex;\n flex-direction: column;\n align-items: center;\n ",[cM("top","\n top: 12px;\n left: 0;\n right: 0;\n "),cM("top-left","\n top: 12px;\n left: 12px;\n right: 0;\n align-items: flex-start;\n "),cM("top-right","\n top: 12px;\n left: 0;\n right: 12px;\n align-items: flex-end;\n "),cM("bottom","\n bottom: 4px;\n left: 0;\n right: 0;\n justify-content: flex-end;\n "),cM("bottom-left","\n bottom: 4px;\n left: 12px;\n right: 0;\n justify-content: flex-end;\n align-items: flex-start;\n "),cM("bottom-right","\n bottom: 4px;\n left: 0;\n right: 12px;\n justify-content: flex-end;\n align-items: flex-end;\n ")])]),iconRenderMap$1={info:function(){return h$1(InfoIcon,null)},success:function(){return h$1(SuccessIcon,null)},warning:function(){return h$1(WarningIcon,null)},error:function(){return h$1(ErrorIcon,null)},default:function(){return null}},NMessage=defineComponent({name:"Message",props:Object.assign(Object.assign({},messageProps),{render:Function}),setup:function(e){var t=useConfig(e),r=t.inlineThemeDisabled,n=t.mergedRtlRef,o=inject(messageProviderInjectionKey),a=o.props,i=o.mergedClsPrefixRef,s=useRtl("Message",n,i),l=useTheme("Message","-message",style$5,messageLight$1,a,i),c=computed((function(){var t=e.type,r=l.value,n=r.common.cubicBezierEaseInOut,o=r.self,a=o.padding,i=o.margin,s=o.maxWidth,c=o.iconMargin,u=o.closeMargin,d=o.closeSize,p=o.iconSize,f=o.fontSize,h=o.lineHeight,v=o.borderRadius,g=o.iconColorInfo,m=o.iconColorSuccess,b=o.iconColorWarning,A=o.iconColorError,y=o.iconColorLoading,x=o.closeIconSize,w=o.closeBorderRadius,C=o[createKey("textColor",t)],k=o[createKey("boxShadow",t)];return{"--n-bezier":n,"--n-margin":i,"--n-padding":a,"--n-max-width":s,"--n-font-size":f,"--n-icon-margin":c,"--n-icon-size":p,"--n-close-icon-size":x,"--n-close-border-radius":w,"--n-close-size":d,"--n-close-margin":u,"--n-text-color":C,"--n-color":o[createKey("color",t)],"--n-box-shadow":k,"--n-icon-color-info":g,"--n-icon-color-success":m,"--n-icon-color-warning":b,"--n-icon-color-error":A,"--n-icon-color-loading":y,"--n-close-color-hover":o[createKey("closeColorHover",t)],"--n-close-color-pressed":o[createKey("closeColorPressed",t)],"--n-close-icon-color":o[createKey("closeIconColor",t)],"--n-close-icon-color-pressed":o[createKey("closeIconColorPressed",t)],"--n-close-icon-color-hover":o[createKey("closeIconColorHover",t)],"--n-line-height":h,"--n-border-radius":v}})),u=r?useThemeClass("message",computed((function(){return e.type[0]})),c,{}):void 0;return{mergedClsPrefix:i,rtlEnabled:s,messageProviderProps:a,handleClose:function(){var t;null===(t=e.onClose)||void 0===t||t.call(e)},cssVars:r?void 0:c,themeClass:null==u?void 0:u.themeClass,onRender:null==u?void 0:u.onRender,placement:a.placement}},render:function(){var e,t=this.render,r=this.type,n=this.closable,o=this.content,a=this.mergedClsPrefix,i=this.cssVars,s=this.themeClass,l=this.onRender,c=this.icon,u=this.handleClose,d=this.showIcon;return null==l||l(),h$1("div",{class:["".concat(a,"-message-wrapper"),s],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:[{alignItems:this.placement.startsWith("top")?"flex-start":"flex-end"},i]},t?t(this.$props):h$1("div",{class:["".concat(a,"-message ").concat(a,"-message--").concat(r,"-type"),this.rtlEnabled&&"".concat(a,"-message--rtl")]},(e=createIconVNode(c,r,a))&&d?h$1("div",{class:"".concat(a,"-message__icon ").concat(a,"-message__icon--").concat(r,"-type")},h$1(NIconSwitchTransition,null,{default:function(){return e}})):null,h$1("div",{class:"".concat(a,"-message__content")},render$1(o)),n?h$1(NBaseClose,{clsPrefix:a,class:"".concat(a,"-message__close"),onClick:u,absolute:!0}):null))}});function createIconVNode(e,t,r){if("function"==typeof e)return e();var n="loading"===t?h$1(NBaseLoading,{clsPrefix:r,strokeWidth:24,scale:.85}):iconRenderMap$1[t]();return n?h$1(NBaseIcon,{clsPrefix:r,key:t},{default:function(){return n}}):null}var MessageEnvironment=defineComponent({name:"MessageEnvironment",props:Object.assign(Object.assign({},messageProps),{duration:{type:Number,default:3e3},onAfterLeave:Function,onLeave:Function,internalKey:{type:String,required:!0},onInternalAfterLeave:Function,onHide:Function,onAfterHide:Function}),setup:function(e){var t=null,r=ref(!0);function n(){var r=e.duration;r&&(t=window.setTimeout(o,r))}function o(){var n=e.onHide;r.value=!1,t&&(window.clearTimeout(t),t=null),n&&n()}return onMounted((function(){n()})),{show:r,hide:o,handleClose:function(){var t=e.onClose;t&&t(),o()},handleAfterLeave:function(){var t=e.onAfterLeave,r=e.onInternalAfterLeave,n=e.onAfterHide,o=e.internalKey;t&&t(),r&&r(o),n&&n()},handleMouseleave:function(e){e.currentTarget===e.target&&n()},handleMouseenter:function(e){e.currentTarget===e.target&&null!==t&&(window.clearTimeout(t),t=null)},deactivate:function(){o()}}},render:function(){var e=this;return h$1(NFadeInExpandTransition,{appear:!0,onAfterLeave:this.handleAfterLeave,onLeave:this.onLeave},{default:function(){return[e.show?h$1(NMessage,{content:e.content,type:e.type,icon:e.icon,showIcon:e.showIcon,closable:e.closable,onClose:e.handleClose,onMouseenter:e.keepAliveOnHover?e.handleMouseenter:void 0,onMouseleave:e.keepAliveOnHover?e.handleMouseleave:void 0}):null]}})}}),messageProviderProps=Object.assign(Object.assign({},useTheme.props),{to:[String,Object],duration:{type:Number,default:3e3},keepAliveOnHover:Boolean,max:Number,placement:{type:String,default:"top"},closable:Boolean,containerStyle:[String,Object]}),NMessageProvider=defineComponent({name:"MessageProvider",props:messageProviderProps,setup:function(e){var t=useConfig(e).mergedClsPrefixRef,r=ref([]),n=ref({}),o={create:function(e,t){return a(e,Object.assign({type:"default"},t))},info:function(e,t){return a(e,Object.assign(Object.assign({},t),{type:"info"}))},success:function(e,t){return a(e,Object.assign(Object.assign({},t),{type:"success"}))},warning:function(e,t){return a(e,Object.assign(Object.assign({},t),{type:"warning"}))},error:function(e,t){return a(e,Object.assign(Object.assign({},t),{type:"error"}))},loading:function(e,t){return a(e,Object.assign(Object.assign({},t),{type:"loading"}))},destroyAll:function(){Object.values(n.value).forEach((function(e){e.hide()}))}};function a(t,o){var a=createId(),i=reactive(Object.assign(Object.assign({},o),{content:t,key:a,destroy:function(){var e;null===(e=n.value[a])||void 0===e||e.hide()}})),s=e.max;return s&&r.value.length>=s&&r.value.shift(),r.value.push(i),i}return provide(messageProviderInjectionKey,{props:e,mergedClsPrefixRef:t}),provide(messageApiInjectionKey,o),Object.assign({mergedClsPrefix:t,messageRefs:n,messageList:r,handleAfterLeave:function(e){r.value.splice(r.value.findIndex((function(t){return t.key===e})),1),delete n.value[e]}},o)},render:function(){var e,t,r,n=this;return h$1(Fragment,null,null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e),this.messageList.length?h$1(Teleport,{to:null!==(r=this.to)&&void 0!==r?r:"body"},h$1("div",{class:["".concat(this.mergedClsPrefix,"-message-container"),"".concat(this.mergedClsPrefix,"-message-container--").concat(this.placement)],key:"message-container",style:this.containerStyle},this.messageList.map((function(e){return h$1(MessageEnvironment,Object.assign({ref:function(t){t&&(n.messageRefs[e.key]=t)},internalKey:e.key,onInternalAfterLeave:n.handleAfterLeave},omit(e,["destroy"],void 0),{duration:void 0===e.duration?n.duration:e.duration,keepAliveOnHover:void 0===e.keepAliveOnHover?n.keepAliveOnHover:e.keepAliveOnHover,closable:void 0===e.closable?n.closable:e.closable}))})))):null)}});function useMessage(){var e=inject(messageApiInjectionKey,null);return null===e&&throwError("use-message","No outer <n-message-provider /> founded. See prerequisite in https://www.naiveui.com/en-US/os-theme/components/message for more details. If you want to use `useMessage` outside setup, please check https://www.naiveui.com/zh-CN/os-theme/components/message#Q-&-A."),e}var notificationProviderInjectionKey=createInjectionKey("n-notification-provider"),NotificationContainer=defineComponent({name:"NotificationContainer",props:{scrollable:{type:Boolean,required:!0},placement:{type:String,required:!0}},setup:function(){var e=inject(notificationProviderInjectionKey),t=e.mergedThemeRef,r=e.mergedClsPrefixRef,n=e.wipTransitionCountRef,o=ref(null);return watchEffect((function(){var e,t;n.value>0?null===(e=null==o?void 0:o.value)||void 0===e||e.classList.add("transitioning"):null===(t=null==o?void 0:o.value)||void 0===t||t.classList.remove("transitioning")})),{selfRef:o,mergedTheme:t,mergedClsPrefix:r,transitioning:n}},render:function(){var e=this.$slots,t=this.scrollable,r=this.mergedClsPrefix,n=this.mergedTheme,o=this.placement;return h$1("div",{ref:"selfRef",class:["".concat(r,"-notification-container"),t&&"".concat(r,"-notification-container--scrollable"),"".concat(r,"-notification-container--").concat(o)]},t?h$1(NScrollbar$1,{theme:n.peers.Scrollbar,themeOverrides:n.peerOverrides.Scrollbar,contentStyle:{overflow:"hidden"}},e):e)}}),iconRenderMap={info:function(){return h$1(InfoIcon,null)},success:function(){return h$1(SuccessIcon,null)},warning:function(){return h$1(WarningIcon,null)},error:function(){return h$1(ErrorIcon,null)},default:function(){return null}},notificationProps={closable:{type:Boolean,default:!0},type:{type:String,default:"default"},avatar:Function,title:[String,Function],description:[String,Function],content:[String,Function],meta:[String,Function],action:[String,Function],onClose:{type:Function,required:!0},keepAliveOnHover:Boolean,onMouseenter:Function,onMouseleave:Function},notificationPropKeys=keysOf(notificationProps),Notification=defineComponent({name:"Notification",props:notificationProps,setup:function(e){var t=inject(notificationProviderInjectionKey),r=t.mergedClsPrefixRef,n=t.mergedThemeRef,o=t.props,a=useConfig(),i=a.inlineThemeDisabled,s=useRtl("Notification",a.mergedRtlRef,r),l=computed((function(){var t=e.type,r=n.value,o=r.self,a=o.color,i=o.textColor,s=o.closeIconColor,l=o.closeIconColorHover,c=o.closeIconColorPressed,u=o.headerTextColor,d=o.descriptionTextColor,p=o.actionTextColor,f=o.borderRadius,h=o.headerFontWeight,v=o.boxShadow,g=o.lineHeight,m=o.fontSize,b=o.closeMargin,A=o.closeSize,y=o.width,x=o.padding,w=o.closeIconSize,C=o.closeBorderRadius,k=o.closeColorHover,_=o.closeColorPressed,S=o.titleFontSize,B=o.metaFontSize,E=o.descriptionFontSize,T=o[createKey("iconColor",t)],P=r.common,I=P.cubicBezierEaseOut,N=P.cubicBezierEaseIn,z=P.cubicBezierEaseInOut,M=getMargin(x);return{"--n-color":a,"--n-font-size":m,"--n-text-color":i,"--n-description-text-color":d,"--n-action-text-color":p,"--n-title-text-color":u,"--n-title-font-weight":h,"--n-bezier":z,"--n-bezier-ease-out":I,"--n-bezier-ease-in":N,"--n-border-radius":f,"--n-box-shadow":v,"--n-close-border-radius":C,"--n-close-color-hover":k,"--n-close-color-pressed":_,"--n-close-icon-color":s,"--n-close-icon-color-hover":l,"--n-close-icon-color-pressed":c,"--n-line-height":g,"--n-icon-color":T,"--n-close-margin":b,"--n-close-size":A,"--n-close-icon-size":w,"--n-width":y,"--n-padding-left":M.left,"--n-padding-right":M.right,"--n-padding-top":M.top,"--n-padding-bottom":M.bottom,"--n-title-font-size":S,"--n-meta-font-size":B,"--n-description-font-size":E}})),c=i?useThemeClass("notification",computed((function(){return e.type[0]})),l,o):void 0;return{mergedClsPrefix:r,showAvatar:computed((function(){return e.avatar||"default"!==e.type})),handleCloseClick:function(){e.onClose()},rtlEnabled:s,cssVars:i?void 0:l,themeClass:null==c?void 0:c.themeClass,onRender:null==c?void 0:c.onRender}},render:function(){var e,t,r=this,n=this.mergedClsPrefix;return null===(t=this.onRender)||void 0===t||t.call(this),h$1("div",{class:["".concat(n,"-notification-wrapper"),this.themeClass],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:this.cssVars},h$1("div",{class:["".concat(n,"-notification"),this.rtlEnabled&&"".concat(n,"-notification--rtl"),this.themeClass,(e={},_defineProperty2(e,"".concat(n,"-notification--closable"),this.closable),_defineProperty2(e,"".concat(n,"-notification--show-avatar"),this.showAvatar),e)],style:this.cssVars},this.showAvatar?h$1("div",{class:"".concat(n,"-notification__avatar")},this.avatar?render$1(this.avatar):"default"!==this.type?h$1(NBaseIcon,{clsPrefix:n},{default:function(){return iconRenderMap[r.type]()}}):null):null,this.closable?h$1(NBaseClose,{clsPrefix:n,class:"".concat(n,"-notification__close"),onClick:this.handleCloseClick}):null,h$1("div",{ref:"bodyRef",class:"".concat(n,"-notification-main")},this.title?h$1("div",{class:"".concat(n,"-notification-main__header")},render$1(this.title)):null,this.description?h$1("div",{class:"".concat(n,"-notification-main__description")},render$1(this.description)):null,this.content?h$1("pre",{class:"".concat(n,"-notification-main__content")},render$1(this.content)):null,this.meta||this.action?h$1("div",{class:"".concat(n,"-notification-main-footer")},this.meta?h$1("div",{class:"".concat(n,"-notification-main-footer__meta")},render$1(this.meta)):null,this.action?h$1("div",{class:"".concat(n,"-notification-main-footer__action")},render$1(this.action)):null):null)))}}),notificationEnvOptions=Object.assign(Object.assign({},notificationProps),{duration:Number,onClose:Function,onLeave:Function,onAfterEnter:Function,onAfterLeave:Function,onHide:Function,onAfterShow:Function,onAfterHide:Function}),NotificationEnvironment=defineComponent({name:"NotificationEnvironment",props:Object.assign(Object.assign({},notificationEnvOptions),{internalKey:{type:String,required:!0},onInternalAfterLeave:{type:Function,required:!0}}),setup:function(e){var t=inject(notificationProviderInjectionKey).wipTransitionCountRef,r=ref(!0),n=null;function o(){r.value=!1,n&&window.clearTimeout(n)}return onMounted((function(){e.duration&&(n=window.setTimeout(o,e.duration))})),{show:r,hide:o,handleClose:function(){var t=e.onClose;t?Promise.resolve(t()).then((function(e){!1!==e&&o()})):o()},handleAfterLeave:function(){t.value--;var r=e.onAfterLeave,n=e.onInternalAfterLeave,o=e.onAfterHide,a=e.internalKey;r&&r(),n(a),o&&o()},handleLeave:function(t){var r=e.onHide;r&&r(),t.style.maxHeight="0",t.offsetHeight},handleBeforeLeave:function(e){t.value++,e.style.maxHeight="".concat(e.offsetHeight,"px"),e.style.height="".concat(e.offsetHeight,"px"),e.offsetHeight},handleAfterEnter:function(r){t.value--,r.style.height="",r.style.maxHeight="";var n=e.onAfterEnter,o=e.onAfterShow;n&&n(),o&&o()},handleBeforeEnter:function(e){t.value++,nextTick((function(){e.style.height="".concat(e.offsetHeight,"px"),e.style.maxHeight="0",e.style.transition="none",e.offsetHeight,e.style.transition="",e.style.maxHeight=e.style.height}))},handleMouseenter:function(e){e.currentTarget===e.target&&null!==n&&(window.clearTimeout(n),n=null)},handleMouseleave:function(t){var r;t.currentTarget===t.target&&(r=e.duration)&&(n=window.setTimeout(o,r))}}},render:function(){var e=this;return h$1(Transition,{name:"notification-transition",appear:!0,onBeforeEnter:this.handleBeforeEnter,onAfterEnter:this.handleAfterEnter,onBeforeLeave:this.handleBeforeLeave,onLeave:this.handleLeave,onAfterLeave:this.handleAfterLeave},{default:function(){return e.show?h$1(Notification,Object.assign({},keep(e.$props,notificationPropKeys),{onClose:e.handleClose,onMouseenter:e.duration&&e.keepAliveOnHover?e.handleMouseenter:void 0,onMouseleave:e.duration&&e.keepAliveOnHover?e.handleMouseleave:void 0})):null}})}}),style$4=c$3([cB("notification-container","\n z-index: 4000;\n position: fixed;\n overflow: visible;\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n ",[c$3(">",[cB("scrollbar","\n width: initial;\n overflow: visible;\n height: -moz-fit-content !important;\n height: fit-content !important;\n max-height: 100vh !important;\n ",[c$3(">",[cB("scrollbar-container","\n height: -moz-fit-content !important;\n height: fit-content !important;\n max-height: 100vh !important;\n ",[cB("scrollbar-content","\n padding-top: 12px;\n padding-bottom: 33px;\n ")])])])]),cM("top, top-right, top-left","\n top: 12px;\n ",[c$3("&.transitioning >",[cB("scrollbar",[c$3(">",[cB("scrollbar-container","\n min-height: 100vh !important;\n ")])])])]),cM("bottom, bottom-right, bottom-left","\n bottom: 12px;\n ",[c$3(">",[cB("scrollbar",[c$3(">",[cB("scrollbar-container",[cB("scrollbar-content","\n padding-bottom: 12px;\n ")])])])]),cB("notification-wrapper","\n display: flex;\n align-items: flex-end;\n margin-bottom: 0;\n margin-top: 12px;\n ")]),cM("top, bottom","\n left: 50%;\n transform: translateX(-50%);\n ",[cB("notification-wrapper",[c$3("&.notification-transition-enter-from, &.notification-transition-leave-to","\n transform: scale(0.85);\n "),c$3("&.notification-transition-leave-from, &.notification-transition-enter-to","\n transform: scale(1);\n ")])]),cM("top",[cB("notification-wrapper","\n transform-origin: top center;\n ")]),cM("bottom",[cB("notification-wrapper","\n transform-origin: bottom center;\n ")]),cM("top-right, bottom-right",[cB("notification","\n margin-left: 28px;\n margin-right: 16px;\n ")]),cM("top-left, bottom-left",[cB("notification","\n margin-left: 16px;\n margin-right: 28px;\n ")]),cM("top-right","\n right: 0;\n ",[placementTransformStyle("top-right")]),cM("top-left","\n left: 0;\n ",[placementTransformStyle("top-left")]),cM("bottom-right","\n right: 0;\n ",[placementTransformStyle("bottom-right")]),cM("bottom-left","\n left: 0;\n ",[placementTransformStyle("bottom-left")]),cM("scrollable",[cM("top-right","\n top: 0;\n "),cM("top-left","\n top: 0;\n "),cM("bottom-right","\n bottom: 0;\n "),cM("bottom-left","\n bottom: 0;\n ")]),cB("notification-wrapper","\n margin-bottom: 12px;\n ",[c$3("&.notification-transition-enter-from, &.notification-transition-leave-to","\n opacity: 0;\n margin-top: 0 !important;\n margin-bottom: 0 !important;\n "),c$3("&.notification-transition-leave-from, &.notification-transition-enter-to","\n opacity: 1;\n "),c$3("&.notification-transition-leave-active","\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier),\n opacity .3s var(--n-bezier),\n transform .3s var(--n-bezier-ease-in),\n max-height .3s var(--n-bezier),\n margin-top .3s linear,\n margin-bottom .3s linear,\n box-shadow .3s var(--n-bezier);\n "),c$3("&.notification-transition-enter-active","\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier),\n opacity .3s var(--n-bezier),\n transform .3s var(--n-bezier-ease-out),\n max-height .3s var(--n-bezier),\n margin-top .3s linear,\n margin-bottom .3s linear,\n box-shadow .3s var(--n-bezier);\n ")]),cB("notification","\n background-color: var(--n-color);\n color: var(--n-text-color);\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier),\n opacity .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier);\n font-family: inherit;\n font-size: var(--n-font-size);\n font-weight: 400;\n position: relative;\n display: flex;\n overflow: hidden;\n flex-shrink: 0;\n padding-left: var(--n-padding-left);\n padding-right: var(--n-padding-right);\n width: var(--n-width);\n border-radius: var(--n-border-radius);\n box-shadow: var(--n-box-shadow);\n box-sizing: border-box;\n opacity: 1;\n ",[cE("avatar",[cB("icon",{color:"var(--n-icon-color)"}),cB("base-icon",{color:"var(--n-icon-color)"})]),cM("show-avatar",[cB("notification-main","\n margin-left: 40px;\n width: calc(100% - 40px); \n ")]),cM("closable",[cB("notification-main",[c$3("> *:first-child",{paddingRight:"20px"})]),cE("close","\n position: absolute;\n top: 0;\n right: 0;\n margin: var(--n-close-margin);\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n ")]),cE("avatar","\n position: absolute;\n top: var(--n-padding-top);\n left: var(--n-padding-left);\n width: 28px;\n height: 28px;\n font-size: 28px;\n display: flex;\n align-items: center;\n justify-content: center;\n ",[cB("icon","transition: color .3s var(--n-bezier);")]),cB("notification-main","\n padding-top: var(--n-padding-top);\n padding-bottom: var(--n-padding-bottom);\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n margin-left: 8px;\n width: calc(100% - 8px);\n ",[cB("notification-main-footer","\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-top: 12px;\n ",[cE("meta","\n font-size: var(--n-meta-font-size);\n transition: color .3s var(--n-bezier-ease-out);\n color: var(--n-description-text-color);\n "),cE("action","\n cursor: pointer;\n transition: color .3s var(--n-bezier-ease-out);\n color: var(--n-action-text-color);\n ")]),cE("header","\n font-weight: var(--n-title-font-weight);\n font-size: var(--n-title-font-size);\n transition: color .3s var(--n-bezier-ease-out);\n color: var(--n-title-text-color);\n "),cE("description","\n margin-top: 8px;\n font-size: var(--n-description-font-size);\n white-space: pre-wrap;\n word-wrap: break-word;\n transition: color .3s var(--n-bezier-ease-out);\n color: var(--n-description-text-color);\n "),cE("content","\n line-height: var(--n-line-height);\n margin: 12px 0 0 0;\n font-family: inherit;\n white-space: pre-wrap;\n word-wrap: break-word;\n transition: color .3s var(--n-bezier-ease-out);\n color: var(--n-text-color);\n ",[c$3("&:first-child",{margin:0})])])])])]);function placementTransformStyle(e){var t=e.split("-")[1];return cB("notification-wrapper",[c$3("&.notification-transition-enter-from, &.notification-transition-leave-to","\n transform: translate(".concat("left"===t?"calc(-100%)":"calc(100%)",", 0);\n ")),c$3("&.notification-transition-leave-from, &.notification-transition-enter-to","\n transform: translate(".concat("0",", 0);\n "))])}var notificationApiInjectionKey=createInjectionKey("n-notification-api"),notificationProviderProps=Object.assign(Object.assign({},useTheme.props),{containerStyle:[String,Object],to:[String,Object],scrollable:{type:Boolean,default:!0},max:Number,placement:{type:String,default:"top-right"},keepAliveOnHover:Boolean}),NNotificationProvider=defineComponent({name:"NotificationProvider",props:notificationProviderProps,setup:function(e){var t=useConfig(e).mergedClsPrefixRef,r=ref([]),n={},o=new Set;function a(t){var a=createId(),i=function(){o.add(a),n[a]&&n[a].hide()},s=reactive(Object.assign(Object.assign({},t),{key:a,destroy:i,hide:i,deactivate:i})),l=e.max;if(l&&r.value.length-o.size>=l){var c,u=!1,d=0,p=_createForOfIteratorHelper(r.value);try{for(p.s();!(c=p.n()).done;){var f=c.value;if(!o.has(f.key)){n[f.key]&&(f.destroy(),u=!0);break}d++}}catch(err){p.e(err)}finally{p.f()}u||r.value.splice(d,1)}return r.value.push(s),s}var i=["info","success","warning","error"].map((function(e){return function(t){return a(Object.assign(Object.assign({},t),{type:e}))}}));var s=useTheme("Notification","-notification",style$4,notificationLight$1,e,t),l={create:a,info:i[0],success:i[1],warning:i[2],error:i[3],open:function(e){return a(e)},destroyAll:function(){Object.values(r.value).forEach((function(e){e.hide()}))}},c=ref(0);return provide(notificationApiInjectionKey,l),provide(notificationProviderInjectionKey,{props:e,mergedClsPrefixRef:t,mergedThemeRef:s,wipTransitionCountRef:c}),Object.assign({mergedClsPrefix:t,notificationList:r,notificationRefs:n,handleAfterLeave:function(e){o.delete(e),r.value.splice(r.value.findIndex((function(t){return t.key===e})),1)}},l)},render:function(){var e,t,r,n=this,o=this.placement;return h$1(Fragment,null,null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e),this.notificationList.length?h$1(Teleport,{to:null!==(r=this.to)&&void 0!==r?r:"body"},h$1(NotificationContainer,{style:this.containerStyle,scrollable:this.scrollable&&"top"!==o&&"bottom"!==o,placement:o},{default:function(){return n.notificationList.map((function(e){return h$1(NotificationEnvironment,Object.assign({ref:function(t){var r=e.key;null===t?delete n.notificationRefs[r]:n.notificationRefs[r]=t}},omit(e,["destroy","hide","deactivate"]),{internalKey:e.key,onInternalAfterLeave:n.handleAfterLeave,keepAliveOnHover:void 0===e.keepAliveOnHover?n.keepAliveOnHover:e.keepAliveOnHover}))}))}})):null)}}),style$3=c$3([cB("progress",{display:"inline-block"},[cB("progress-icon","\n color: var(--n-icon-color);\n transition: color .3s var(--n-bezier);\n "),cM("line","\n width: 100%;\n display: block;\n ",[cB("progress-content","\n display: flex;\n align-items: center;\n ",[cB("progress-graph",{flex:1})]),cB("progress-custom-content",{marginLeft:"14px"}),cB("progress-icon","\n width: 30px;\n padding-left: 14px;\n height: var(--n-icon-size-line);\n line-height: var(--n-icon-size-line);\n font-size: var(--n-icon-size-line);\n ",[cM("as-text","\n color: var(--n-text-color-line-outer);\n text-align: center;\n width: 40px;\n font-size: var(--n-font-size);\n padding-left: 4px;\n transition: color .3s var(--n-bezier);\n ")])]),cM("circle, dashboard",{width:"120px"},[cB("progress-custom-content","\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n display: flex;\n align-items: center;\n justify-content: center;\n "),cB("progress-text","\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n display: flex;\n align-items: center;\n color: inherit;\n font-size: var(--n-font-size-circle);\n color: var(--n-text-color-circle);\n font-weight: var(--n-font-weight-circle);\n transition: color .3s var(--n-bezier);\n white-space: nowrap;\n "),cB("progress-icon","\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n display: flex;\n align-items: center;\n color: var(--n-icon-color);\n font-size: var(--n-icon-size-circle);\n ")]),cM("multiple-circle","\n width: 200px;\n color: inherit;\n ",[cB("progress-text","\n font-weight: var(--n-font-weight-circle);\n color: var(--n-text-color-circle);\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n display: flex;\n align-items: center;\n justify-content: center;\n transition: color .3s var(--n-bezier);\n ")]),cB("progress-content",{position:"relative"}),cB("progress-graph",{position:"relative"},[cB("progress-graph-circle",[c$3("svg",{verticalAlign:"bottom"}),cB("progress-graph-circle-fill","\n stroke: var(--n-fill-color);\n transition:\n opacity .3s var(--n-bezier),\n stroke .3s var(--n-bezier),\n stroke-dasharray .3s var(--n-bezier);\n ",[cM("empty",{opacity:0})]),cB("progress-graph-circle-rail","\n transition: stroke .3s var(--n-bezier);\n overflow: hidden;\n stroke: var(--n-rail-color);\n ")]),cB("progress-graph-line",[cM("indicator-inside",[cB("progress-graph-line-rail","\n height: 16px;\n line-height: 16px;\n border-radius: 10px;\n ",[cB("progress-graph-line-fill","\n height: inherit;\n border-radius: 10px;\n "),cB("progress-graph-line-indicator","\n background: #0000;\n white-space: nowrap;\n text-align: right;\n margin-left: 14px;\n margin-right: 14px;\n height: inherit;\n font-size: 12px;\n color: var(--n-text-color-line-inner);\n transition: color .3s var(--n-bezier);\n ")])]),cM("indicator-inside-label","\n height: 16px;\n display: flex;\n align-items: center;\n ",[cB("progress-graph-line-rail","\n flex: 1;\n transition: background-color .3s var(--n-bezier);\n "),cB("progress-graph-line-indicator","\n background: var(--n-fill-color);\n font-size: 12px;\n transform: translateZ(0);\n display: flex;\n vertical-align: middle;\n height: 16px;\n line-height: 16px;\n padding: 0 10px;\n border-radius: 10px;\n position: absolute;\n white-space: nowrap;\n color: var(--n-text-color-line-inner);\n transition:\n right .2s var(--n-bezier),\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n ")]),cB("progress-graph-line-rail","\n position: relative;\n overflow: hidden;\n height: var(--n-rail-height);\n border-radius: 5px;\n background-color: var(--n-rail-color);\n transition: background-color .3s var(--n-bezier);\n ",[cB("progress-graph-line-fill","\n background: var(--n-fill-color);\n position: relative;\n border-radius: 5px;\n height: inherit;\n width: 100%;\n max-width: 0%;\n transition:\n background-color .3s var(--n-bezier),\n max-width .2s var(--n-bezier);\n ",[cM("processing",[c$3("&::after",'\n content: "";\n background-image: var(--n-line-bg-processing);\n animation: progress-processing-animation 2s var(--n-bezier) infinite;\n ')])])])])])]),c$3("@keyframes progress-processing-animation","\n 0% {\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n right: 100%;\n opacity: 1;\n }\n 66% {\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n opacity: 0;\n }\n 100% {\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n opacity: 0;\n }\n ")]),iconMap$1={success:h$1(SuccessIcon,null),error:h$1(ErrorIcon,null),warning:h$1(WarningIcon,null),info:h$1(InfoIcon,null)},Line=defineComponent({name:"ProgressLine",props:{clsPrefix:{type:String,required:!0},percentage:{type:Number,default:0},railColor:String,railStyle:[String,Object],fillColor:String,status:{type:String,required:!0},indicatorPlacement:{type:String,required:!0},indicatorTextColor:String,unit:{type:String,default:"%"},processing:{type:Boolean,required:!0},showIndicator:{type:Boolean,required:!0},height:[String,Number],railBorderRadius:[String,Number],fillBorderRadius:[String,Number]},setup:function(e,t){var r=t.slots,n=computed((function(){return formatLength(e.height)})),o=computed((function(){return void 0!==e.railBorderRadius?formatLength(e.railBorderRadius):void 0!==e.height?formatLength(e.height,{c:.5}):""})),a=computed((function(){return void 0!==e.fillBorderRadius?formatLength(e.fillBorderRadius):void 0!==e.railBorderRadius?formatLength(e.railBorderRadius):void 0!==e.height?formatLength(e.height,{c:.5}):""}));return function(){var t=e.indicatorPlacement,i=e.railColor,s=e.railStyle,l=e.percentage,c=e.unit,u=e.indicatorTextColor,d=e.status,p=e.showIndicator,f=e.fillColor,h=e.processing,v=e.clsPrefix;return h$1("div",{class:"".concat(v,"-progress-content"),role:"none"},h$1("div",{class:"".concat(v,"-progress-graph"),"aria-hidden":!0},h$1("div",{class:["".concat(v,"-progress-graph-line"),_defineProperty2({},"".concat(v,"-progress-graph-line--indicator-").concat(t),!0)]},h$1("div",{class:"".concat(v,"-progress-graph-line-rail"),style:[{backgroundColor:i,height:n.value,borderRadius:o.value},s]},h$1("div",{class:["".concat(v,"-progress-graph-line-fill"),h&&"".concat(v,"-progress-graph-line-fill--processing")],style:{maxWidth:"".concat(e.percentage,"%"),backgroundColor:f,height:n.value,lineHeight:n.value,borderRadius:a.value}},"inside"===t?h$1("div",{class:"".concat(v,"-progress-graph-line-indicator"),style:{color:u}},l,c):null)))),p&&"outside"===t?h$1("div",null,r.default?h$1("div",{class:"".concat(v,"-progress-custom-content"),style:{color:u},role:"none"},r.default()):"default"===d?h$1("div",{role:"none",class:"".concat(v,"-progress-icon ").concat(v,"-progress-icon--as-text"),style:{color:u}},l,c):h$1("div",{class:"".concat(v,"-progress-icon"),"aria-hidden":!0},h$1(NBaseIcon,{clsPrefix:v},{default:function(){return iconMap$1[d]}}))):null)}}}),iconMap={success:h$1(SuccessIcon,null),error:h$1(ErrorIcon,null),warning:h$1(WarningIcon,null),info:h$1(InfoIcon,null)},Circle=defineComponent({name:"ProgressCircle",props:{clsPrefix:{type:String,required:!0},status:{type:String,required:!0},strokeWidth:{type:Number,required:!0},fillColor:String,railColor:String,railStyle:[String,Object],percentage:{type:Number,default:0},offsetDegree:{type:Number,default:0},showIndicator:{type:Boolean,required:!0},indicatorTextColor:String,unit:String,viewBoxWidth:{type:Number,required:!0},gapDegree:{type:Number,required:!0},gapOffsetDegree:{type:Number,default:0}},setup:function(e,t){var r=t.slots;function n(t,r,n){var o=e.gapDegree,a=e.viewBoxWidth,i=50,s=50+e.strokeWidth/2,l="M ".concat(s,",").concat(s," m ").concat(0,",").concat(50,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(0,",").concat(-100,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(-0,",").concat(100),c=2*Math.PI*i;return{pathString:l,pathStyle:{stroke:n,strokeDasharray:"".concat(t/100*(c-o),"px ").concat(8*a,"px"),strokeDashoffset:"-".concat(o/2,"px"),transformOrigin:r?"center":void 0,transform:r?"rotate(".concat(r,"deg)"):void 0}}}return function(){var t=e.fillColor,o=e.railColor,a=e.strokeWidth,i=e.offsetDegree,s=e.status,l=e.percentage,c=e.showIndicator,u=e.indicatorTextColor,d=e.unit,p=e.gapOffsetDegree,f=e.clsPrefix,h=n(100,0,o),v=h.pathString,g=h.pathStyle,m=n(l,i,t),b=m.pathString,A=m.pathStyle,y=100+a;return h$1("div",{class:"".concat(f,"-progress-content"),role:"none"},h$1("div",{class:"".concat(f,"-progress-graph"),"aria-hidden":!0},h$1("div",{class:"".concat(f,"-progress-graph-circle"),style:{transform:p?"rotate(".concat(p,"deg)"):void 0}},h$1("svg",{viewBox:"0 0 ".concat(y," ").concat(y)},h$1("g",null,h$1("path",{class:"".concat(f,"-progress-graph-circle-rail"),d:v,"stroke-width":a,"stroke-linecap":"round",fill:"none",style:g})),h$1("g",null,h$1("path",{class:["".concat(f,"-progress-graph-circle-fill"),0===l&&"".concat(f,"-progress-graph-circle-fill--empty")],d:b,"stroke-width":a,"stroke-linecap":"round",fill:"none",style:A}))))),c?h$1("div",null,r.default?h$1("div",{class:"".concat(f,"-progress-custom-content"),role:"none"},r.default()):"default"!==s?h$1("div",{class:"".concat(f,"-progress-icon"),"aria-hidden":!0},h$1(NBaseIcon,{clsPrefix:f},{default:function(){return iconMap[s]}})):h$1("div",{class:"".concat(f,"-progress-text"),style:{color:u},role:"none"},h$1("span",{class:"".concat(f,"-progress-text__percentage")},l),h$1("span",{class:"".concat(f,"-progress-text__unit")},d))):null)}}});function circlePath(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return"m ".concat(r/2," ").concat(r/2-e," a ").concat(e," ").concat(e," 0 1 1 0 ").concat(2*e," a ").concat(e," ").concat(e," 0 1 1 0 -").concat(2*e)}var MultipleCircle=defineComponent({name:"ProgressMultipleCircle",props:{clsPrefix:{type:String,required:!0},viewBoxWidth:{type:Number,required:!0},percentage:{type:Array,default:[0]},strokeWidth:{type:Number,required:!0},circleGap:{type:Number,required:!0},showIndicator:{type:Boolean,required:!0},fillColor:{type:Array,default:function(){return[]}},railColor:{type:Array,default:function(){return[]}},railStyle:{type:Array,default:function(){return[]}}},setup:function(e,t){var r=t.slots,n=computed((function(){var t=e.percentage.map((function(t,r){return"".concat(Math.PI*t/100*(e.viewBoxWidth/2-e.strokeWidth/2*(1+2*r)-e.circleGap*r)*2,", ").concat(8*e.viewBoxWidth)}));return t}));return function(){var t=e.viewBoxWidth,o=e.strokeWidth,a=e.circleGap,i=e.showIndicator,s=e.fillColor,l=e.railColor,c=e.railStyle,u=e.percentage,d=e.clsPrefix;return h$1("div",{class:"".concat(d,"-progress-content"),role:"none"},h$1("div",{class:"".concat(d,"-progress-graph"),"aria-hidden":!0},h$1("div",{class:"".concat(d,"-progress-graph-circle")},h$1("svg",{viewBox:"0 0 ".concat(t," ").concat(t)},u.map((function(e,r){return h$1("g",{key:r},h$1("path",{class:"".concat(d,"-progress-graph-circle-rail"),d:circlePath(t/2-o/2*(1+2*r)-a*r,o,t),"stroke-width":o,"stroke-linecap":"round",fill:"none",style:[{strokeDashoffset:0,stroke:l[r]},c[r]]}),h$1("path",{class:["".concat(d,"-progress-graph-circle-fill"),0===e&&"".concat(d,"-progress-graph-circle-fill--empty")],d:circlePath(t/2-o/2*(1+2*r)-a*r,o,t),"stroke-width":o,"stroke-linecap":"round",fill:"none",style:{strokeDasharray:n.value[r],strokeDashoffset:0,stroke:s[r]}}))}))))),i&&r.default?h$1("div",null,h$1("div",{class:"".concat(d,"-progress-text")},r.default())):null)}}}),progressProps=Object.assign(Object.assign({},useTheme.props),{processing:Boolean,type:{type:String,default:"line"},gapDegree:Number,gapOffsetDegree:Number,status:{type:String,default:"default"},railColor:[String,Array],railStyle:[String,Array],color:[String,Array],viewBoxWidth:{type:Number,default:100},strokeWidth:{type:Number,default:7},percentage:[Number,Array],unit:{type:String,default:"%"},showIndicator:{type:Boolean,default:!0},indicatorPosition:{type:String,default:"outside"},indicatorPlacement:{type:String,default:"outside"},indicatorTextColor:String,circleGap:{type:Number,default:1},height:Number,borderRadius:[String,Number],fillBorderRadius:[String,Number],offsetDegree:Number}),NProgress=defineComponent({name:"Progress",props:progressProps,setup:function(e){var t=computed((function(){return e.indicatorPlacement||e.indicatorPosition})),r=computed((function(){return e.gapDegree||0===e.gapDegree?e.gapDegree:"dashboard"===e.type?75:void 0})),n=useConfig(e),o=n.mergedClsPrefixRef,a=n.inlineThemeDisabled,i=useTheme("Progress","-progress",style$3,progressLight$1,e,o),s=computed((function(){var t=e.status,r=i.value,n=r.common.cubicBezierEaseInOut,o=r.self,a=o.fontSize,s=o.fontSizeCircle,l=o.railColor,c=o.railHeight,u=o.iconSizeCircle,d=o.iconSizeLine,p=o.textColorCircle,f=o.textColorLineInner,h=o.textColorLineOuter,v=o.lineBgProcessing,g=o.fontWeightCircle,m=o[createKey("iconColor",t)];return{"--n-bezier":n,"--n-fill-color":o[createKey("fillColor",t)],"--n-font-size":a,"--n-font-size-circle":s,"--n-font-weight-circle":g,"--n-icon-color":m,"--n-icon-size-circle":u,"--n-icon-size-line":d,"--n-line-bg-processing":v,"--n-rail-color":l,"--n-rail-height":c,"--n-text-color-circle":p,"--n-text-color-line-inner":f,"--n-text-color-line-outer":h}})),l=a?useThemeClass("progress",computed((function(){return e.status[0]})),s,e):void 0;return{mergedClsPrefix:o,mergedIndicatorPlacement:t,gapDeg:r,cssVars:a?void 0:s,themeClass:null==l?void 0:l.themeClass,onRender:null==l?void 0:l.onRender}},render:function(){var e=this.type,t=this.cssVars,r=this.indicatorTextColor,n=this.showIndicator,o=this.status,a=this.railColor,i=this.railStyle,s=this.color,l=this.percentage,c=this.viewBoxWidth,u=this.strokeWidth,d=this.mergedIndicatorPlacement,p=this.unit,f=this.borderRadius,h=this.fillBorderRadius,v=this.height,g=this.processing,m=this.circleGap,b=this.mergedClsPrefix,A=this.gapDeg,y=this.gapOffsetDegree,x=this.themeClass,w=this.$slots,C=this.onRender;return null==C||C(),h$1("div",{class:[x,"".concat(b,"-progress"),"".concat(b,"-progress--").concat(e),"".concat(b,"-progress--").concat(o)],style:t,"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":l,role:"circle"===e||"line"===e||"dashboard"===e?"progressbar":"none"},"circle"===e||"dashboard"===e?h$1(Circle,{clsPrefix:b,status:o,showIndicator:n,indicatorTextColor:r,railColor:a,fillColor:s,railStyle:i,offsetDegree:this.offsetDegree,percentage:l,viewBoxWidth:c,strokeWidth:u,gapDegree:void 0===A?"dashboard"===e?75:0:A,gapOffsetDegree:y,unit:p},w):"line"===e?h$1(Line,{clsPrefix:b,status:o,showIndicator:n,indicatorTextColor:r,railColor:a,fillColor:s,railStyle:i,percentage:l,processing:g,indicatorPlacement:d,unit:p,fillBorderRadius:h,railBorderRadius:f,height:v},w):"multiple-circle"===e?h$1(MultipleCircle,{clsPrefix:b,strokeWidth:u,railColor:a,fillColor:s,railStyle:i,viewBoxWidth:c,percentage:l,showIndicator:n,circleGap:m},w):null)}}),scrollbarProps=Object.assign(Object.assign({},useTheme.props),{trigger:String,xScrollable:Boolean,onScroll:Function,size:Number}),Scrollbar=defineComponent({name:"Scrollbar",props:scrollbarProps,setup:function(){var e=ref(null),t={scrollTo:function(){var t;null===(t=e.value)||void 0===t||t.scrollTo(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1])},scrollBy:function(){var t;null===(t=e.value)||void 0===t||t.scrollBy(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1])}};return Object.assign(Object.assign({},t),{scrollbarInstRef:e})},render:function(){return h$1(NScrollbar$1,Object.assign({ref:"scrollbarInstRef"},this.$props),this.$slots)}}),NScrollbar=Scrollbar,skeletonDark={name:"Skeleton",common:commonDark,self:function(e){var t=e.heightSmall,r=e.heightMedium,n=e.heightLarge;return{color:"rgba(255, 255, 255, 0.12)",colorEnd:"rgba(255, 255, 255, 0.18)",borderRadius:e.borderRadius,heightSmall:t,heightMedium:r,heightLarge:n}}},style$2=c$3([c$3("@keyframes spin-rotate","\n from {\n transform: rotate(0);\n }\n to {\n transform: rotate(360deg);\n }\n "),cB("spin-container",{position:"relative"},[cB("spin-body","\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n ",[fadeInTransition()])]),cB("spin-body","\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n "),cB("spin","\n display: inline-flex;\n height: var(--n-size);\n width: var(--n-size);\n font-size: var(--n-size);\n color: var(--n-color);\n ",[cM("rotate","\n animation: spin-rotate 2s linear infinite;\n ")]),cB("spin-description","\n display: inline-block;\n font-size: var(--n-font-size);\n color: var(--n-text-color);\n transition: color .3s var(--n-bezier);\n margin-top: 8px;\n "),cB("spin-content","\n opacity: 1;\n transition: opacity .3s var(--n-bezier);\n pointer-events: all;\n ",[cM("spinning","\n user-select: none;\n -webkit-user-select: none;\n pointer-events: none;\n opacity: var(--n-opacity-spinning);\n ")])]),STROKE_WIDTH={small:20,medium:18,large:16},spinProps=Object.assign(Object.assign({},useTheme.props),{description:String,stroke:String,size:{type:[String,Number],default:"medium"},show:{type:Boolean,default:!0},strokeWidth:Number,rotate:{type:Boolean,default:!0},spinning:{type:Boolean,validator:function(){return!0},default:void 0}}),NSpin=defineComponent({name:"Spin",props:spinProps,setup:function(e){var t=useConfig(e),r=t.mergedClsPrefixRef,n=t.inlineThemeDisabled,o=useTheme("Spin","-spin",style$2,spinLight$1,e,r),a=computed((function(){var t=e.size,r=o.value,n=r.common.cubicBezierEaseInOut,a=r.self,i=a.opacitySpinning,s=a.color,l=a.textColor;return{"--n-bezier":n,"--n-opacity-spinning":i,"--n-size":"number"==typeof t?pxfy(t):a[createKey("size",t)],"--n-color":s,"--n-text-color":l}})),i=n?useThemeClass("spin",computed((function(){var t=e.size;return"number"==typeof t?String(t):t[0]})),a,e):void 0;return{mergedClsPrefix:r,compitableShow:useCompitable(e,["spinning","show"]),mergedStrokeWidth:computed((function(){var t=e.strokeWidth;if(void 0!==t)return t;var r=e.size;return STROKE_WIDTH["number"==typeof r?"medium":r]})),cssVars:n?void 0:a,themeClass:null==i?void 0:i.themeClass,onRender:null==i?void 0:i.onRender}},render:function(){var e,t,r=this,n=this.$slots,o=this.mergedClsPrefix,a=this.description,i=n.icon&&this.rotate,s=(a||n.description)&&h$1("div",{class:"".concat(o,"-spin-description")},a||(null===(e=n.description)||void 0===e?void 0:e.call(n))),l=n.icon?h$1("div",{class:["".concat(o,"-spin-body"),this.themeClass]},h$1("div",{class:["".concat(o,"-spin"),i&&"".concat(o,"-spin--rotate")],style:n.default?"":this.cssVars},n.icon()),s):h$1("div",{class:["".concat(o,"-spin-body"),this.themeClass]},h$1(NBaseLoading,{clsPrefix:o,style:n.default?"":this.cssVars,stroke:this.stroke,"stroke-width":this.mergedStrokeWidth,class:"".concat(o,"-spin")}),s);return null===(t=this.onRender)||void 0===t||t.call(this),n.default?h$1("div",{class:["".concat(o,"-spin-container"),this.themeClass],style:this.cssVars},h$1("div",{class:["".concat(o,"-spin-content"),this.compitableShow&&"".concat(o,"-spin-content--spinning")]},n),h$1(Transition,{name:"fade-in-transition"},{default:function(){return r.compitableShow?l:null}})):l}}),style$1=c$3([cB("table","\n font-size: var(--n-font-size);\n font-variant-numeric: tabular-nums;\n line-height: var(--n-line-height);\n width: 100%;\n border-radius: var(--n-border-radius) var(--n-border-radius) 0 0;\n text-align: left;\n border-collapse: separate;\n border-spacing: 0;\n overflow: hidden;\n background-color: var(--n-td-color);\n border-color: var(--n-merged-border-color);\n transition:\n background-color .3s var(--n-bezier),\n border-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n --n-merged-border-color: var(--n-border-color);\n ",[c$3("th","\n white-space: nowrap;\n transition:\n background-color .3s var(--n-bezier),\n border-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n text-align: inherit;\n padding: var(--n-th-padding);\n vertical-align: inherit;\n text-transform: none;\n border: 0px solid var(--n-merged-border-color);\n font-weight: var(--n-th-font-weight);\n color: var(--n-th-text-color);\n background-color: var(--n-th-color);\n border-bottom: 1px solid var(--n-merged-border-color);\n border-right: 1px solid var(--n-merged-border-color);\n ",[c$3("&:last-child","\n border-right: 0px solid var(--n-merged-border-color);\n ")]),c$3("td","\n transition:\n background-color .3s var(--n-bezier),\n border-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n padding: var(--n-td-padding);\n color: var(--n-td-text-color);\n background-color: var(--n-td-color);\n border: 0px solid var(--n-merged-border-color);\n border-right: 1px solid var(--n-merged-border-color);\n border-bottom: 1px solid var(--n-merged-border-color);\n ",[c$3("&:last-child","\n border-right: 0px solid var(--n-merged-border-color);\n ")]),cM("bordered","\n border: 1px solid var(--n-merged-border-color);\n border-radius: var(--n-border-radius);\n ",[c$3("tr",[c$3("&:last-child",[c$3("td","\n border-bottom: 0 solid var(--n-merged-border-color);\n ")])])]),cM("single-line",[c$3("th","\n border-right: 0px solid var(--n-merged-border-color);\n "),c$3("td","\n border-right: 0px solid var(--n-merged-border-color);\n ")]),cM("single-column",[c$3("tr",[c$3("&:not(:last-child)",[c$3("td","\n border-bottom: 0px solid var(--n-merged-border-color);\n ")])])]),cM("striped",[c$3("tr:nth-of-type(even)",[c$3("td","background-color: var(--n-td-color-striped)")])]),cNotM("bottom-bordered",[c$3("tr",[c$3("&:last-child",[c$3("td","\n border-bottom: 0px solid var(--n-merged-border-color);\n ")])])])]),insideModal(cB("table","\n background-color: var(--n-td-color-modal);\n --n-merged-border-color: var(--n-border-color-modal);\n ",[c$3("th","\n background-color: var(--n-th-color-modal);\n "),c$3("td","\n background-color: var(--n-td-color-modal);\n ")])),insidePopover(cB("table","\n background-color: var(--n-td-color-popover);\n --n-merged-border-color: var(--n-border-color-popover);\n ",[c$3("th","\n background-color: var(--n-th-color-popover);\n "),c$3("td","\n background-color: var(--n-td-color-popover);\n ")]))]),tableProps=Object.assign(Object.assign({},useTheme.props),{bordered:{type:Boolean,default:!0},bottomBordered:{type:Boolean,default:!0},singleLine:{type:Boolean,default:!0},striped:Boolean,singleColumn:Boolean,size:{type:String,default:"medium"}}),NTable=defineComponent({name:"Table",props:tableProps,setup:function(e){var t=useConfig(e),r=t.mergedClsPrefixRef,n=t.inlineThemeDisabled,o=t.mergedRtlRef,a=useTheme("Table","-table",style$1,tableLight$1,e,r),i=useRtl("Table",o,r),s=computed((function(){var t=e.size,r=a.value,n=r.self,o=n.borderColor,i=n.tdColor,s=n.tdColorModal,l=n.tdColorPopover,c=n.thColor,u=n.thColorModal,d=n.thColorPopover,p=n.thTextColor,f=n.tdTextColor,h=n.borderRadius,v=n.thFontWeight,g=n.lineHeight,m=n.borderColorModal,b=n.borderColorPopover,A=n.tdColorStriped,y=n.tdColorStripedModal,x=n.tdColorStripedPopover,w=n[createKey("fontSize",t)],C=n[createKey("tdPadding",t)],k=n[createKey("thPadding",t)];return{"--n-bezier":r.common.cubicBezierEaseInOut,"--n-td-color":i,"--n-td-color-modal":s,"--n-td-color-popover":l,"--n-td-text-color":f,"--n-border-color":o,"--n-border-color-modal":m,"--n-border-color-popover":b,"--n-border-radius":h,"--n-font-size":w,"--n-th-color":c,"--n-th-color-modal":u,"--n-th-color-popover":d,"--n-th-font-weight":v,"--n-th-text-color":p,"--n-line-height":g,"--n-td-padding":C,"--n-th-padding":k,"--n-td-color-striped":A,"--n-td-color-striped-modal":y,"--n-td-color-striped-popover":x}})),l=n?useThemeClass("table",computed((function(){return e.size[0]})),s,e):void 0;return{rtlEnabled:i,mergedClsPrefix:r,cssVars:n?void 0:s,themeClass:null==l?void 0:l.themeClass,onRender:null==l?void 0:l.onRender}},render:function(){var e,t,r=this.mergedClsPrefix;return null===(t=this.onRender)||void 0===t||t.call(this),h$1("table",{class:["".concat(r,"-table"),this.themeClass,(e={},_defineProperty2(e,"".concat(r,"-table--rtl"),this.rtlEnabled),_defineProperty2(e,"".concat(r,"-table--bottom-bordered"),this.bottomBordered),_defineProperty2(e,"".concat(r,"-table--bordered"),this.bordered),_defineProperty2(e,"".concat(r,"-table--single-line"),this.singleLine),_defineProperty2(e,"".concat(r,"-table--single-column"),this.singleColumn),_defineProperty2(e,"".concat(r,"-table--striped"),this.striped),e)],style:this.cssVars},this.$slots)}}),tabsInjectionKey=createInjectionKey("n-tabs"),tabPaneProps={tab:[String,Number,Object,Function],name:{type:[String,Number],required:!0},disabled:Boolean,displayDirective:{type:String,default:"if"},closable:{type:Boolean,default:void 0},tabProps:Object,label:[String,Number,Object,Function]},NTabPane=defineComponent({__TAB_PANE__:!0,name:"TabPane",alias:["TabPanel"],props:tabPaneProps,setup:function(e){var t=inject(tabsInjectionKey,null);return t||throwError("tab-pane","`n-tab-pane` must be placed inside `n-tabs`."),{style:t.paneStyleRef,class:t.paneClassRef,mergedClsPrefix:t.mergedClsPrefixRef}},render:function(){return h$1("div",{class:["".concat(this.mergedClsPrefix,"-tab-pane"),this.class],style:this.style},this.$slots)}}),tabProps=Object.assign({internalLeftPadded:Boolean,internalAddable:Boolean,internalCreatedByPane:Boolean},omit(tabPaneProps,["displayDirective"])),Tab=defineComponent({__TAB__:!0,inheritAttrs:!1,name:"Tab",props:tabProps,setup:function(e){var t=inject(tabsInjectionKey),r=t.mergedClsPrefixRef,n=t.valueRef,o=t.typeRef,a=t.closableRef,i=t.tabStyleRef,s=t.tabChangeIdRef,l=t.onBeforeLeaveRef,c=t.triggerRef,u=t.handleAdd,d=t.activateTab,p=t.handleClose;return{trigger:c,mergedClosable:computed((function(){if(e.internalAddable)return!1;var t=e.closable;return void 0===t?a.value:t})),style:i,clsPrefix:r,value:n,type:o,handleClose:function(t){t.stopPropagation(),e.disabled||p(e.name)},activateTab:function(){if(!e.disabled)if(e.internalAddable)u();else{var t=e.name,r=++s.id;if(t!==n.value){var o=l.value;o?Promise.resolve(o(e.name,n.value)).then((function(e){e&&s.id===r&&d(t)})):d(t)}}}}},render:function(){var e=this.internalAddable,t=this.clsPrefix,r=this.name,n=this.disabled,o=this.label,a=this.tab,i=this.value,s=this.mergedClosable,l=this.style,c=this.trigger,u=this.$slots.default,d=null!=o?o:a;return h$1("div",{class:"".concat(t,"-tabs-tab-wrapper")},this.internalLeftPadded?h$1("div",{class:"".concat(t,"-tabs-tab-pad")}):null,h$1("div",Object.assign({key:r,"data-name":r,"data-disabled":!!n||void 0},mergeProps({class:["".concat(t,"-tabs-tab"),i===r&&"".concat(t,"-tabs-tab--active"),n&&"".concat(t,"-tabs-tab--disabled"),s&&"".concat(t,"-tabs-tab--closable"),e&&"".concat(t,"-tabs-tab--addable")],onClick:"click"===c?this.activateTab:void 0,onMouseenter:"hover"===c?this.activateTab:void 0,style:e?void 0:l},this.internalCreatedByPane?this.tabProps||{}:this.$attrs)),h$1("span",{class:"".concat(t,"-tabs-tab__label")},e?h$1(Fragment,null,h$1("div",{class:"".concat(t,"-tabs-tab__height-placeholder")}," "),h$1(NBaseIcon,{clsPrefix:t},{default:function(){return h$1(AddIcon,null)}})):u?u():"object"===_typeof2(d)?d:render$1(null!=d?d:r)),s&&"card"===this.type?h$1(NBaseClose,{clsPrefix:t,class:"".concat(t,"-tabs-tab__close"),onClick:this.handleClose,disabled:n}):null))}}),style=cB("tabs","\n box-sizing: border-box;\n width: 100%;\n display: flex;\n flex-direction: column;\n transition:\n background-color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n",[cM("segment-type",[cB("tabs-rail",[c$3("&.transition-disabled","color: red;",[cB("tabs-tab","\n transition: none;\n ")])])]),cM("top",[cB("tab-pane","\n padding: var(--n-pane-padding-top) var(--n-pane-padding-right) var(--n-pane-padding-bottom) var(--n-pane-padding-left);\n ")]),cM("left",[cB("tab-pane","\n padding: var(--n-pane-padding-right) var(--n-pane-padding-bottom) var(--n-pane-padding-left) var(--n-pane-padding-top);\n ")]),cM("left, right","\n flex-direction: row;\n ",[cB("tabs-bar","\n width: 2px;\n right: 0;\n transition:\n top .2s var(--n-bezier),\n max-height .2s var(--n-bezier),\n background-color .3s var(--n-bezier);\n "),cB("tabs-tab","\n padding: var(--n-tab-padding-vertical); \n ")]),cM("right","\n flex-direction: row-reverse;\n ",[cB("tab-pane","\n padding: var(--n-pane-padding-left) var(--n-pane-padding-top) var(--n-pane-padding-right) var(--n-pane-padding-bottom);\n "),cB("tabs-bar","\n left: 0;\n ")]),cM("bottom","\n flex-direction: column-reverse;\n justify-content: flex-end;\n ",[cB("tab-pane","\n padding: var(--n-pane-padding-bottom) var(--n-pane-padding-right) var(--n-pane-padding-top) var(--n-pane-padding-left);\n "),cB("tabs-bar","\n top: 0;\n ")]),cB("tabs-rail","\n padding: 3px;\n border-radius: var(--n-tab-border-radius);\n width: 100%;\n background-color: var(--n-color-segment);\n transition: background-color .3s var(--n-bezier);\n display: flex;\n align-items: center;\n ",[cB("tabs-tab-wrapper","\n flex-basis: 0;\n flex-grow: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n ",[cB("tabs-tab","\n overflow: hidden;\n border-radius: var(--n-tab-border-radius);\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n ",[cM("active","\n font-weight: var(--n-font-weight-strong);\n color: var(--n-tab-text-color-active);\n background-color: var(--n-tab-color-segment);\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .08);\n "),c$3("&:hover","\n color: var(--n-tab-text-color-hover);\n ")])])]),cM("flex",[cB("tabs-nav",{width:"100%"},[cB("tabs-wrapper",{width:"100%"},[cB("tabs-tab",{marginRight:0})])])]),cB("tabs-nav","\n box-sizing: border-box;\n line-height: 1.5;\n display: flex;\n transition: border-color .3s var(--n-bezier);\n ",[cE("prefix, suffix","\n display: flex;\n align-items: center;\n "),cE("prefix","padding-right: 16px;"),cE("suffix","padding-left: 16px;")]),cM("top, bottom",[cB("tabs-nav-scroll-wrapper",[c$3("&::before","\n top: 0;\n bottom: 0;\n left: 0;\n width: 20px;\n "),c$3("&::after","\n top: 0;\n bottom: 0;\n right: 0;\n width: 20px;\n "),cM("shadow-start",[c$3("&::before","\n box-shadow: inset 10px 0 8px -8px rgba(0, 0, 0, .12);\n ")]),cM("shadow-end",[c$3("&::after","\n box-shadow: inset -10px 0 8px -8px rgba(0, 0, 0, .12);\n ")])])]),cM("left, right",[cB("tabs-nav-scroll-wrapper",[c$3("&::before","\n top: 0;\n left: 0;\n right: 0;\n height: 20px;\n "),c$3("&::after","\n bottom: 0;\n left: 0;\n right: 0;\n height: 20px;\n "),cM("shadow-start",[c$3("&::before","\n box-shadow: inset 0 10px 8px -8px rgba(0, 0, 0, .12);\n ")]),cM("shadow-end",[c$3("&::after","\n box-shadow: inset 0 -10px 8px -8px rgba(0, 0, 0, .12);\n ")])])]),cB("tabs-nav-scroll-wrapper","\n flex: 1;\n position: relative;\n overflow: hidden;\n ",[cB("tabs-nav-y-scroll","\n height: 100%;\n width: 100%;\n overflow-y: auto; \n scrollbar-width: none;\n ",[c$3("&::-webkit-scrollbar","\n width: 0;\n height: 0;\n ")]),c$3("&::before, &::after",'\n transition: box-shadow .3s var(--n-bezier);\n pointer-events: none;\n content: "";\n position: absolute;\n z-index: 1;\n ')]),cB("tabs-nav-scroll-content","\n display: flex;\n position: relative;\n min-width: 100%;\n width: fit-content;\n box-sizing: border-box;\n "),cB("tabs-wrapper","\n display: inline-flex;\n flex-wrap: nowrap;\n position: relative;\n "),cB("tabs-tab-wrapper","\n display: flex;\n flex-wrap: nowrap;\n flex-shrink: 0;\n flex-grow: 0;\n "),cB("tabs-tab","\n cursor: pointer;\n white-space: nowrap;\n flex-wrap: nowrap;\n display: inline-flex;\n align-items: center;\n color: var(--n-tab-text-color);\n font-size: var(--n-tab-font-size);\n background-clip: padding-box;\n padding: var(--n-tab-padding);\n transition:\n box-shadow .3s var(--n-bezier),\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n ",[cM("disabled",{cursor:"not-allowed"}),cE("close","\n margin-left: 6px;\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n "),cE("label","\n display: flex;\n align-items: center;\n ")]),cB("tabs-bar","\n position: absolute;\n bottom: 0;\n height: 2px;\n border-radius: 1px;\n background-color: var(--n-bar-color);\n transition:\n left .2s var(--n-bezier),\n max-width .2s var(--n-bezier),\n background-color .3s var(--n-bezier);\n ",[c$3("&.transition-disabled","\n transition: none;\n "),cM("disabled","\n background-color: var(--n-tab-text-color-disabled)\n ")]),cB("tabs-pane-wrapper","\n position: relative;\n overflow: hidden;\n transition: max-height .2s var(--n-bezier);\n "),cB("tab-pane","\n color: var(--n-pane-text-color);\n width: 100%;\n transition:\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n opacity .2s var(--n-bezier);\n left: 0;\n right: 0;\n top: 0;\n ",[c$3("&.next-transition-leave-active, &.prev-transition-leave-active, &.next-transition-enter-active, &.prev-transition-enter-active","\n transition:\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n transform .2s var(--n-bezier),\n opacity .2s var(--n-bezier);\n "),c$3("&.next-transition-leave-active, &.prev-transition-leave-active","\n position: absolute;\n "),c$3("&.next-transition-enter-from, &.prev-transition-leave-to","\n transform: translateX(32px);\n opacity: 0;\n "),c$3("&.next-transition-leave-to, &.prev-transition-enter-from","\n transform: translateX(-32px);\n opacity: 0;\n "),c$3("&.next-transition-leave-from, &.next-transition-enter-to, &.prev-transition-leave-from, &.prev-transition-enter-to","\n transform: translateX(0);\n opacity: 1;\n ")]),cB("tabs-tab-pad","\n box-sizing: border-box;\n width: var(--n-tab-gap);\n flex-grow: 0;\n flex-shrink: 0;\n "),cM("line-type, bar-type",[cB("tabs-tab","\n font-weight: var(--n-tab-font-weight);\n box-sizing: border-box;\n vertical-align: bottom;\n ",[c$3("&:hover",{color:"var(--n-tab-text-color-hover)"}),cM("active","\n color: var(--n-tab-text-color-active);\n font-weight: var(--n-tab-font-weight-active);\n "),cM("disabled",{color:"var(--n-tab-text-color-disabled)"})])]),cB("tabs-nav",[cM("line-type",[cM("top",[cE("prefix, suffix","\n border-bottom: 1px solid var(--n-tab-border-color);\n "),cB("tabs-nav-scroll-content","\n border-bottom: 1px solid var(--n-tab-border-color);\n "),cB("tabs-bar","\n bottom: -1px;\n ")]),cM("left",[cE("prefix, suffix","\n border-right: 1px solid var(--n-tab-border-color);\n "),cB("tabs-nav-scroll-content","\n border-right: 1px solid var(--n-tab-border-color);\n "),cB("tabs-bar","\n right: -1px;\n ")]),cM("right",[cE("prefix, suffix","\n border-left: 1px solid var(--n-tab-border-color);\n "),cB("tabs-nav-scroll-content","\n border-left: 1px solid var(--n-tab-border-color);\n "),cB("tabs-bar","\n left: -1px;\n ")]),cM("bottom",[cE("prefix, suffix","\n border-top: 1px solid var(--n-tab-border-color);\n "),cB("tabs-nav-scroll-content","\n border-top: 1px solid var(--n-tab-border-color);\n "),cB("tabs-bar","\n top: -1px;\n ")]),cE("prefix, suffix","\n transition: border-color .3s var(--n-bezier);\n "),cB("tabs-nav-scroll-content","\n transition: border-color .3s var(--n-bezier);\n "),cB("tabs-bar","\n border-radius: 0;\n ")]),cM("card-type",[cE("prefix, suffix","\n transition: border-color .3s var(--n-bezier);\n border-bottom: 1px solid var(--n-tab-border-color);\n "),cB("tabs-pad","\n flex-grow: 1;\n transition: border-color .3s var(--n-bezier);\n border-bottom: 1px solid var(--n-tab-border-color);\n "),cB("tabs-tab-pad","\n transition: border-color .3s var(--n-bezier);\n "),cB("tabs-tab","\n font-weight: var(--n-tab-font-weight);\n border: 1px solid var(--n-tab-border-color);\n background-color: var(--n-tab-color);\n box-sizing: border-box;\n position: relative;\n vertical-align: bottom;\n display: flex;\n justify-content: space-between;\n font-size: var(--n-tab-font-size);\n color: var(--n-tab-text-color);\n ",[cM("addable","\n padding-left: 8px;\n padding-right: 8px;\n font-size: 16px;\n ",[cE("height-placeholder","\n width: 0;\n font-size: var(--n-tab-font-size);\n "),cNotM("disabled",[c$3("&:hover","\n color: var(--n-tab-text-color-hover);\n ")])]),cM("closable","padding-right: 8px;"),cM("active","\n background-color: #0000;\n font-weight: var(--n-tab-font-weight-active);\n color: var(--n-tab-text-color-active);\n "),cM("disabled","color: var(--n-tab-text-color-disabled);")]),cB("tabs-scroll-padding","border-bottom: 1px solid var(--n-tab-border-color);")]),cM("left, right",[cB("tabs-wrapper","\n flex-direction: column;\n ",[cB("tabs-tab-wrapper","\n flex-direction: column;\n ",[cB("tabs-tab-pad","\n height: var(--n-tab-gap-vertical);\n width: 100%;\n ")])])]),cM("top",[cM("card-type",[cB("tabs-tab","\n border-top-left-radius: var(--n-tab-border-radius);\n border-top-right-radius: var(--n-tab-border-radius);\n ",[cM("active","\n border-bottom: 1px solid #0000;\n ")]),cB("tabs-tab-pad","\n border-bottom: 1px solid var(--n-tab-border-color);\n ")])]),cM("left",[cM("card-type",[cB("tabs-tab","\n border-top-left-radius: var(--n-tab-border-radius);\n border-bottom-left-radius: var(--n-tab-border-radius);\n ",[cM("active","\n border-right: 1px solid #0000;\n ")]),cB("tabs-tab-pad","\n border-right: 1px solid var(--n-tab-border-color);\n ")])]),cM("right",[cM("card-type",[cB("tabs-tab","\n border-top-right-radius: var(--n-tab-border-radius);\n border-bottom-right-radius: var(--n-tab-border-radius);\n ",[cM("active","\n border-left: 1px solid #0000;\n ")]),cB("tabs-tab-pad","\n border-left: 1px solid var(--n-tab-border-color);\n ")])]),cM("bottom",[cM("card-type",[cB("tabs-tab","\n border-bottom-left-radius: var(--n-tab-border-radius);\n border-bottom-right-radius: var(--n-tab-border-radius);\n ",[cM("active","\n border-top: 1px solid #0000;\n ")]),cB("tabs-tab-pad","\n border-top: 1px solid var(--n-tab-border-color);\n ")])])])]),tabsProps=Object.assign(Object.assign({},useTheme.props),{value:[String,Number],defaultValue:[String,Number],trigger:{type:String,default:"click"},type:{type:String,default:"bar"},closable:Boolean,justifyContent:String,size:{type:String,default:"medium"},placement:{type:String,default:"top"},tabStyle:[String,Object],barWidth:Number,paneClass:String,paneStyle:[String,Object],paneWrapperClass:String,paneWrapperStyle:[String,Object],addable:[Boolean,Object],tabsPadding:{type:Number,default:0},animated:Boolean,onBeforeLeave:Function,onAdd:Function,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onClose:[Function,Array],labelSize:String,activeName:[String,Number],onActiveNameChange:[Function,Array]}),NTabs=defineComponent({name:"Tabs",props:tabsProps,setup:function(e,t){var r,n,o,a,i=t.slots,s=useConfig(e),l=s.mergedClsPrefixRef,c=s.inlineThemeDisabled,u=useTheme("Tabs","-tabs",style,tabsLight$1,e,l),d=ref(null),p=ref(null),f=ref(null),h=ref(null),v=ref(null),g=ref(!0),m=ref(!0),b=useCompitable(e,["labelSize","size"]),A=useCompitable(e,["activeName","value"]),y=ref(null!==(n=null!==(r=A.value)&&void 0!==r?r:e.defaultValue)&&void 0!==n?n:i.default?null===(a=null===(o=flatten$4(i.default())[0])||void 0===o?void 0:o.props)||void 0===a?void 0:a.name:null),x=useMergedState(A,y),w={id:0},C=computed((function(){if(e.justifyContent&&"card"!==e.type)return{display:"flex",justifyContent:e.justifyContent}}));function k(){var e,t=x.value;return null===t?null:null===(e=d.value)||void 0===e?void 0:e.querySelector('[data-name="'.concat(t,'"]'))}function _(e){var t=p.value;if(t){var r,n=_createForOfIteratorHelper(e);try{for(n.s();!(r=n.n()).done;){var o=r.value;t.style[o]=""}}catch(err){n.e(err)}finally{n.f()}}}function S(){if("card"!==e.type){var t=k();t&&function(t){if("card"!==e.type){var r=p.value;if(r&&t){var n="".concat(l.value,"-tabs-bar--disabled"),o=e.barWidth,a=e.placement;if("true"===t.dataset.disabled?r.classList.add(n):r.classList.remove(n),["top","bottom"].includes(a)){if(_(["top","maxHeight","height"]),"number"==typeof o&&t.offsetWidth>=o){var i=Math.floor((t.offsetWidth-o)/2)+t.offsetLeft;r.style.left="".concat(i,"px"),r.style.maxWidth="".concat(o,"px")}else r.style.left="".concat(t.offsetLeft,"px"),r.style.maxWidth="".concat(t.offsetWidth,"px");r.style.width="8192px",r.offsetWidth}else{if(_(["left","maxWidth","width"]),"number"==typeof o&&t.offsetHeight>=o){var s=Math.floor((t.offsetHeight-o)/2)+t.offsetTop;r.style.top="".concat(s,"px"),r.style.maxHeight="".concat(o,"px")}else r.style.top="".concat(t.offsetTop,"px"),r.style.maxHeight="".concat(t.offsetHeight,"px");r.style.height="8192px",r.offsetHeight}}}}(t)}}function B(e){var t,r=null===(t=v.value)||void 0===t?void 0:t.$el;if(r){var n=k();if(n){var o=r.scrollLeft,a=r.offsetWidth,i=n.offsetLeft,s=n.offsetWidth;o>i?r.scrollTo({top:0,left:i,behavior:"smooth"}):i+s>o+a&&r.scrollTo({top:0,left:i+s-a,behavior:"smooth"})}}}watch(x,(function(){w.id=0,S(),B()}));var E=ref(null),T=0,P=null;var I={value:[]},N=ref("next");function z(){var e=p.value;if(e){var t="transition-disabled";e.classList.add(t),S(),e.classList.remove(t)}}var M=0;var R=throttle((function(t){var r;if((0!==t.contentRect.width||0!==t.contentRect.height)&&M!==t.contentRect.width){M=t.contentRect.width;var n=e.type;"line"!==n&&"bar"!==n||z(),"segment"!==n&&F(null===(r=v.value)||void 0===r?void 0:r.$el)}}),64);watch([function(){return e.justifyContent},function(){return e.size}],(function(){nextTick((function(){var t=e.type;"line"!==t&&"bar"!==t||z()}))}));var D=ref(!1);var O=throttle((function(e){var t,r=e.target,n=e.contentRect.width,o=r.parentElement.offsetWidth;if(D.value){var a=h.value;if(!a)return;o-n>a.$el.offsetWidth&&(D.value=!1)}else o<n&&(D.value=!0);F(null===(t=v.value)||void 0===t?void 0:t.$el)}),64);function F(t){if(t){var r=e.placement;if("top"===r||"bottom"===r){var n=t.scrollLeft,o=t.scrollWidth,a=t.offsetWidth;g.value=n<=0,m.value=n+a>=o}else{var i=t.scrollTop,s=t.scrollHeight,l=t.offsetHeight;g.value=i<=0,m.value=i+l>=s}}}var L=throttle((function(e){F(e.target)}),64);provide(tabsInjectionKey,{triggerRef:toRef(e,"trigger"),tabStyleRef:toRef(e,"tabStyle"),paneClassRef:toRef(e,"paneClass"),paneStyleRef:toRef(e,"paneStyle"),mergedClsPrefixRef:l,typeRef:toRef(e,"type"),closableRef:toRef(e,"closable"),valueRef:x,tabChangeIdRef:w,onBeforeLeaveRef:toRef(e,"onBeforeLeave"),activateTab:function(t){var r,n=x.value,o="next",a=_createForOfIteratorHelper(I.value);try{for(a.s();!(r=a.n()).done;){var i=r.value;if(i===n)break;if(i===t){o="prev";break}}}catch(err){a.e(err)}finally{a.f()}N.value=o,function(t){var r=e.onActiveNameChange,n=e.onUpdateValue,o=e["onUpdate:value"];r&&call$1(r,t);n&&call$1(n,t);o&&call$1(o,t);y.value=t}(t)},handleClose:function(t){var r=e.onClose;r&&call$1(r,t)},handleAdd:function(){var t=e.onAdd;t&&t(),nextTick((function(){var e=k(),t=v.value;e&&t&&t.scrollTo({left:e.offsetLeft,top:0,behavior:"smooth"})}))}}),onFontsReady((function(){S(),B()})),watchEffect((function(){var e=f.value;if(e){var t=l.value,r="".concat(t,"-tabs-nav-scroll-wrapper--shadow-start"),n="".concat(t,"-tabs-nav-scroll-wrapper--shadow-end");g.value?e.classList.remove(r):e.classList.add(r),m.value?e.classList.remove(n):e.classList.add(n)}}));var j=ref(null);watch(x,(function(){if("segment"===e.type){var t=j.value;t&&nextTick((function(){t.classList.add("transition-disabled"),t.offsetWidth,t.classList.remove("transition-disabled")}))}}));var V={syncBarPosition:function(){S()}},$=computed((function(){var t=b.value,r=e.type,n={card:"Card",bar:"Bar",line:"Line",segment:"Segment"}[r],o="".concat(t).concat(n),a=u.value,i=a.self,s=i.barColor,l=i.closeIconColor,c=i.closeIconColorHover,d=i.closeIconColorPressed,p=i.tabColor,f=i.tabBorderColor,h=i.paneTextColor,v=i.tabFontWeight,g=i.tabBorderRadius,m=i.tabFontWeightActive,A=i.colorSegment,y=i.fontWeightStrong,x=i.tabColorSegment,w=i.closeSize,C=i.closeIconSize,k=i.closeColorHover,_=i.closeColorPressed,S=i.closeBorderRadius,B=i[createKey("panePadding",t)],E=i[createKey("tabPadding",o)],T=i[createKey("tabPaddingVertical",o)],P=i[createKey("tabGap",o)],I=i[createKey("tabGap","".concat(o,"Vertical"))],N=i[createKey("tabTextColor",r)],z=i[createKey("tabTextColorActive",r)],M=i[createKey("tabTextColorHover",r)],R=i[createKey("tabTextColorDisabled",r)],D=i[createKey("tabFontSize",t)];return{"--n-bezier":a.common.cubicBezierEaseInOut,"--n-color-segment":A,"--n-bar-color":s,"--n-tab-font-size":D,"--n-tab-text-color":N,"--n-tab-text-color-active":z,"--n-tab-text-color-disabled":R,"--n-tab-text-color-hover":M,"--n-pane-text-color":h,"--n-tab-border-color":f,"--n-tab-border-radius":g,"--n-close-size":w,"--n-close-icon-size":C,"--n-close-color-hover":k,"--n-close-color-pressed":_,"--n-close-border-radius":S,"--n-close-icon-color":l,"--n-close-icon-color-hover":c,"--n-close-icon-color-pressed":d,"--n-tab-color":p,"--n-tab-font-weight":v,"--n-tab-font-weight-active":m,"--n-tab-padding":E,"--n-tab-padding-vertical":T,"--n-tab-gap":P,"--n-tab-gap-vertical":I,"--n-pane-padding-left":getMargin(B,"left"),"--n-pane-padding-right":getMargin(B,"right"),"--n-pane-padding-top":getMargin(B,"top"),"--n-pane-padding-bottom":getMargin(B,"bottom"),"--n-font-weight-strong":y,"--n-tab-color-segment":x}})),H=c?useThemeClass("tabs",computed((function(){return"".concat(b.value[0]).concat(e.type[0])})),$,e):void 0;return Object.assign({mergedClsPrefix:l,mergedValue:x,renderedNames:new Set,tabsRailElRef:j,tabsPaneWrapperRef:E,tabsElRef:d,barElRef:p,addTabInstRef:h,xScrollInstRef:v,scrollWrapperElRef:f,addTabFixed:D,tabWrapperStyle:C,handleNavResize:R,mergedSize:b,handleScroll:L,handleTabsResize:O,cssVars:c?void 0:$,themeClass:null==H?void 0:H.themeClass,animationDirection:N,renderNameListRef:I,onAnimationBeforeLeave:function(e){var t=E.value;if(t){T=e.getBoundingClientRect().height;var r="".concat(T,"px"),n=function(){t.style.height=r,t.style.maxHeight=r};P?(n(),P(),P=null):P=n}},onAnimationEnter:function(e){var t=E.value;if(t){var r=e.getBoundingClientRect().height,n=function(){document.body.offsetHeight,t.style.maxHeight="".concat(r,"px"),t.style.height="".concat(Math.max(T,r),"px")};P?(P(),P=null,n()):P=n}},onAnimationAfterEnter:function(){var e=E.value;e&&(e.style.maxHeight="",e.style.height="")},onRender:null==H?void 0:H.onRender},V)},render:function(){var e=this,t=this.mergedClsPrefix,r=this.type,n=this.placement,o=this.addTabFixed,a=this.addable,i=this.mergedSize,s=this.renderNameListRef,l=this.onRender,c=this.paneWrapperClass,u=this.paneWrapperStyle,d=this.$slots,p=d.default,f=d.prefix,h=d.suffix;null==l||l();var v=p?flatten$4(p()).filter((function(e){return!0===e.type.__TAB_PANE__})):[],g=p?flatten$4(p()).filter((function(e){return!0===e.type.__TAB__})):[],m=!g.length,b="card"===r,A="segment"===r,y=!b&&!A&&this.justifyContent;s.value=[];var x=function(){var r=h$1("div",{style:e.tabWrapperStyle,class:["".concat(t,"-tabs-wrapper")]},y?null:h$1("div",{class:"".concat(t,"-tabs-scroll-padding"),style:{width:"".concat(e.tabsPadding,"px")}}),m?v.map((function(e,t){return s.value.push(e.props.name),justifyTabDynamicProps(h$1(Tab,Object.assign({},e.props,{internalCreatedByPane:!0,internalLeftPadded:0!==t&&(!y||"center"===y||"start"===y||"end"===y)}),e.children?{default:e.children.tab}:void 0))})):g.map((function(e,t){return s.value.push(e.props.name),justifyTabDynamicProps(0===t||y?e:createLeftPaddedTabVNode(e))})),!o&&a&&b?createAddTag(a,0!==(m?v.length:g.length)):null,y?null:h$1("div",{class:"".concat(t,"-tabs-scroll-padding"),style:{width:"".concat(e.tabsPadding,"px")}}));return h$1("div",{ref:"tabsElRef",class:"".concat(t,"-tabs-nav-scroll-content")},b&&a?h$1(VResizeObserver,{onResize:e.handleTabsResize},{default:function(){return r}}):r,b?h$1("div",{class:"".concat(t,"-tabs-pad")}):null,b?null:h$1("div",{ref:"barElRef",class:"".concat(t,"-tabs-bar")}))},w=A?"top":n;return h$1("div",{class:["".concat(t,"-tabs"),this.themeClass,"".concat(t,"-tabs--").concat(r,"-type"),"".concat(t,"-tabs--").concat(i,"-size"),y&&"".concat(t,"-tabs--flex"),"".concat(t,"-tabs--").concat(w)],style:this.cssVars},h$1("div",{class:["".concat(t,"-tabs-nav--").concat(r,"-type"),"".concat(t,"-tabs-nav--").concat(w),"".concat(t,"-tabs-nav")]},resolveWrappedSlot(f,(function(e){return e&&h$1("div",{class:"".concat(t,"-tabs-nav__prefix")},e)})),A?h$1("div",{class:"".concat(t,"-tabs-rail"),ref:"tabsRailElRef"},m?v.map((function(e,t){return s.value.push(e.props.name),h$1(Tab,Object.assign({},e.props,{internalCreatedByPane:!0,internalLeftPadded:0!==t}),e.children?{default:e.children.tab}:void 0)})):g.map((function(e,t){return s.value.push(e.props.name),0===t?e:createLeftPaddedTabVNode(e)}))):h$1(VResizeObserver,{onResize:this.handleNavResize},{default:function(){return h$1("div",{class:"".concat(t,"-tabs-nav-scroll-wrapper"),ref:"scrollWrapperElRef"},["top","bottom"].includes(w)?h$1(VXScroll,{ref:"xScrollInstRef",onScroll:e.handleScroll},{default:x}):h$1("div",{class:"".concat(t,"-tabs-nav-y-scroll"),onScroll:e.handleScroll},x()))}}),o&&a&&b?createAddTag(a,!0):null,resolveWrappedSlot(h,(function(e){return e&&h$1("div",{class:"".concat(t,"-tabs-nav__suffix")},e)}))),m&&(!this.animated||"top"!==w&&"bottom"!==w?filterMapTabPanes(v,this.mergedValue,this.renderedNames):h$1("div",{ref:"tabsPaneWrapperRef",style:u,class:["".concat(t,"-tabs-pane-wrapper"),c]},filterMapTabPanes(v,this.mergedValue,this.renderedNames,this.onAnimationBeforeLeave,this.onAnimationEnter,this.onAnimationAfterEnter,this.animationDirection))))}});function filterMapTabPanes(e,t,r,n,o,a,i){var s=[];return e.forEach((function(e){var n=e.props,o=n.name,a=n.displayDirective,i=n["display-directive"],l=function(e){return a===e||i===e},c=t===o;if(void 0!==e.key&&(e.key=o),c||l("show")||l("show:lazy")&&r.has(o)){r.has(o)||r.add(o);var u=!l("if");s.push(u?withDirectives(e,[[vShow,c]]):e)}})),i?h$1(TransitionGroup,{name:"".concat(i,"-transition"),onBeforeLeave:n,onEnter:o,onAfterEnter:a},{default:function(){return s}}):s}function createAddTag(e,t){return h$1(Tab,{ref:"addTabInstRef",key:"__addable",name:"__addable",internalCreatedByPane:!0,internalAddable:!0,internalLeftPadded:t,disabled:"object"===_typeof2(e)&&e.disabled})}function createLeftPaddedTabVNode(e){var t=cloneVNode(e);return t.props?t.props.internalLeftPadded=!0:t.props={internalLeftPadded:!0},t}function justifyTabDynamicProps(e){return Array.isArray(e.dynamicProps)?e.dynamicProps.includes("internalLeftPadded")||e.dynamicProps.push("internalLeftPadded"):e.dynamicProps=["internalLeftPadded"],e}var self$1=function(){return{}},equationDark={name:"Equation",common:commonDark,self:self$1},equationDark$1=equationDark,darkTheme={name:"dark",common:commonDark,Alert:alertDark$1,Anchor:anchorDark$1,AutoComplete:autoCompleteDark$1,Avatar:avatarDark$1,AvatarGroup:avatarGroupDark$1,BackTop:backTopDark$1,Badge:badgeDark$1,Breadcrumb:breadcrumbDark$1,Button:buttonDark$1,ButtonGroup:buttonGroupDark$1,Calendar:calendarDark$1,Card:cardDark$1,Carousel:carouselDark$1,Cascader:cascaderDark$1,Checkbox:checkboxDark$1,Code:codeDark$1,Collapse:collapseDark$1,CollapseTransition:collapseTransitionDark$1,ColorPicker:colorPickerDark$1,DataTable:dataTableDark$1,DatePicker:datePickerDark$1,Descriptions:descriptionsDark$1,Dialog:dialogDark$1,Divider:dividerDark$1,Drawer:drawerDark$1,Dropdown:dropdownDark$1,DynamicInput:dynamicInputDark$1,DynamicTags:dynamicTagsDark$1,Element:elementDark$1,Empty:emptyDark$1,Ellipsis:ellipsisDark$1,Equation:equationDark$1,Form:formDark,GradientText:gradientTextDark$1,Icon:iconDark$2,IconWrapper:iconWrapperDark,Image:imageDark,Input:inputDark$1,InputNumber:inputNumberDark$1,LegacyTransfer:legacyTransferDark,Layout:layoutDark$1,List:listDark$2,LoadingBar:loadingBarDark$1,Log:logDark$1,Menu:menuDark$1,Mention:mentionDark,Message:messageDark$1,Modal:modalDark$1,Notification:notificationDark$1,PageHeader:pageHeaderDark,Pagination:paginationDark$1,Popconfirm:popconfirmDark$1,Popover:popoverDark$1,Popselect:popselectDark,Progress:progressDark$1,Radio:radioDark$1,Rate:rateDark$1,Result:resultDark$1,Row:rowDark$1,Scrollbar:scrollbarDark$1,Select:selectDark$1,Skeleton:skeletonDark,Slider:sliderDark$1,Space:spaceDark$1,Spin:spinDark$1,Statistic:statisticDark$1,Steps:stepsDark$1,Switch:switchDark$1,Table:tableDark$1,Tabs:tabsDark$1,Tag:tagDark$1,Thing:thingDark$1,TimePicker:timePickerDark$1,Timeline:timelineDark$1,Tooltip:tooltipDark$1,Transfer:transferDark$2,Tree:treeDark$1,TreeSelect:treeSelectDark$1,Typography:typographyDark$1,Upload:uploadDark$1,Watermark:watermarkDark$1},App=defineComponent({name:"App",setup:function(){var e="#198CFE",t=lighten(e,6),r={common:{primaryColor:e,primaryColorHover:t,primaryColorPressed:t},LoadingBar:{colorLoading:e}},n=getQuery(),o=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(){return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("TEACHER"!==storeData.platformType){e.next=4;break}return e.next=3,teacherQueryUserInfo();case 3:case 6:return e.abrupt("return",e.sent);case 4:return e.next=6,studentQueryUserInfo();case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),a=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(){var t,r;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o();case 2:t=e.sent,r=(null==t?void 0:t.data)||{},setUserInfo(r);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();onBeforeMount((function(){n.Authorization&&setToken(n.Authorization),a(),sessionStorage.setItem("SCRIPT_ERROR","0")})),onMounted((function(){document.addEventListener("contextmenu",(function(e){e.preventDefault()})),document.addEventListener("keydown",(function(e){("F12"===e.key||e.ctrlKey&&e.shiftKey&&"I"===e.key||e.metaKey&&e.altKey&&"I"===e.key)&&e.preventDefault()})),eventGlobal.on("auth-not-installed",(function(){window.parent.postMessage({api:"onAuthNotInstalled"},"*")}))}));var i=computed((function(){return"login"===storeData.status||n.dev}));return function(){return createVNode(NConfigProvider,{inlineThemeDisabled:!0,themeOverrides:r,abstract:!0},{default:function(){return[createVNode(NDialogProvider,null,{default:function(){return[createVNode(NNotificationProvider,null,{default:function(){return[createVNode(NMessageProvider,{max:1,theme:darkTheme.Message},{default:function(){return["error"===storeData.status?createVNode(TheError,null,null):i.value?createVNode(RouterView,null,null):null]}})]}})]}})]}})}}}),version$1="6.2.2",version_1=version$1,TimingCallbacks$2=function(e,t){var r=this;if(t||(t={}),r.qpm=t.qpm?parseInt(t.qpm,10):null,!r.qpm){var n=e.metaText?e.metaText.tempo:null;r.qpm=e.getBpm(n)}r.extraMeasuresAtBeginning=t.extraMeasuresAtBeginning?parseInt(t.extraMeasuresAtBeginning,10):0,r.beatCallback=t.beatCallback,r.eventCallback=t.eventCallback,r.lineEndCallback=t.lineEndCallback,r.lineEndAnticipation=t.lineEndAnticipation?parseInt(t.lineEndAnticipation,10):0,r.beatSubdivisions=t.beatSubdivisions?parseInt(t.beatSubdivisions,10):1,r.joggerTimer=null,r.replaceTarget=function(e){r.noteTimings=e.setTiming(r.qpm,r.extraMeasuresAtBeginning),0===e.noteTimings.length&&(r.noteTimings=e.setTiming(0,0)),r.lineEndCallback&&(r.lineEndTimings=getLineEndTimings(e.noteTimings,r.lineEndAnticipation)),r.startTime=null,r.currentBeat=0,r.currentEvent=0,r.currentLine=0,r.currentTime=0,r.isPaused=!1,r.isRunning=!1,r.pausedPercent=null,r.justUnpaused=!1,r.newSeekPercent=0,r.lastTimestamp=0,0!==r.noteTimings.length&&(r.millisecondsPerBeat=1e3/(r.qpm/60)/r.beatSubdivisions,r.lastMoment=r.noteTimings[r.noteTimings.length-1].milliseconds,r.totalBeats=Math.round(r.lastMoment/r.millisecondsPerBeat))},r.replaceTarget(e),r.doTiming=function(e){if(r.lastTimestamp!==e&&(r.lastTimestamp=e,r.startTime||(r.startTime=e),!r.isPaused&&r.isRunning)){for(r.currentTime=e-r.startTime,r.currentTime+=16;r.noteTimings.length>r.currentEvent&&r.noteTimings[r.currentEvent].milliseconds<r.currentTime;){if(r.eventCallback&&"event"===r.noteTimings[r.currentEvent].type){var t=r.startTime;r.eventCallback(r.noteTimings[r.currentEvent]),t!==r.startTime&&(r.currentTime=e-r.startTime)}r.currentEvent++}if(r.lineEndCallback&&r.lineEndTimings.length>r.currentLine&&r.lineEndTimings[r.currentLine].milliseconds<r.currentTime&&r.currentEvent<r.noteTimings.length){var n=r.noteTimings[r.currentEvent].milliseconds===r.currentTime?r.noteTimings[r.currentEvent]:r.noteTimings[r.currentEvent-1];r.lineEndCallback(r.lineEndTimings[r.currentLine],n,{line:r.currentLine,endTimings:r.lineEndTimings,currentTime:r.currentTime}),r.currentLine++}if(r.currentTime<r.lastMoment){if(requestAnimationFrame(r.doTiming),r.currentBeat*r.millisecondsPerBeat<r.currentTime){var o=r.doBeatCallback(e);null!==o&&(r.currentTime=o)}}else if(r.currentBeat<=r.totalBeats&&r.beatCallback){var a=r.doBeatCallback(e);null!==a&&(r.currentTime=a),requestAnimationFrame(r.doTiming)}if(r.currentTime>=r.lastMoment)if(r.eventCallback){var i=r.eventCallback(null);r.shouldStop(i).then((function(e){e&&r.stop()}))}else r.stop()}},r.shouldStop=function(e){return new Promise((function(t){return e?"continue"===e?t(!1):void(e.then&&e.then((function(e){t("continue"!==e)}))):t(!0)}))},r.doBeatCallback=function(e){if(r.beatCallback){for(var t,n,o=r.currentEvent;o<r.noteTimings.length&&null===r.noteTimings[o].left;)o++;if(o<r.noteTimings.length){for(t=r.noteTimings[o].milliseconds,o=Math.max(0,r.currentEvent-1);o>=0&&null===r.noteTimings[o].left;)o--;n=r.noteTimings[o]}var a={},i={};if(n){a.top=n.top,a.height=n.height;var s=Math.max(0,e-r.startTime-n.milliseconds),l=t-n.milliseconds,c=n.endX-n.left,u=l?s*c/l:0;a.left=n.left+u,0===r.currentEvent&&n.milliseconds>e-r.startTime&&(a.left=void 0),i={timestamp:e,startTime:r.startTime,ev:n,endMs:t,offMs:s,offPx:u,gapMs:l,gapPx:c}}else i={timestamp:e,startTime:r.startTime};var d=r.startTime;if(r.beatCallback(r.currentBeat/r.beatSubdivisions,r.totalBeats/r.beatSubdivisions,r.lastMoment,a,i),d!==r.startTime)return e-r.startTime;r.currentBeat++}return null};r.animationJogger=function(){r.isRunning&&(r.doTiming(performance.now()),r.joggerTimer=setTimeout(r.animationJogger,60))},r.start=function(e,t){if(r.isRunning=!0,r.isPaused&&(r.isPaused=!1,void 0===e&&(r.justUnpaused=!0)),e)r.setProgress(e,t);else if(0===e)r.reset();else if(null!==r.pausedPercent){var n=performance.now();r.currentTime=r.lastMoment*r.pausedPercent,r.startTime=n-r.currentTime,r.pausedPercent=null,r.reportNext=!0}requestAnimationFrame(r.doTiming),r.joggerTimer=setTimeout(r.animationJogger,60)},r.pause=function(){r.isPaused=!0;var e=performance.now();r.pausedPercent=(e-r.startTime)/r.lastMoment,r.isRunning=!1,r.joggerTimer&&(clearTimeout(r.joggerTimer),r.joggerTimer=null)},r.currentMillisecond=function(){return r.currentTime},r.reset=function(){r.currentBeat=0,r.currentEvent=0,r.currentLine=0,r.startTime=null,r.pausedPercent=null},r.stop=function(){r.pause(),r.reset()},r.setProgress=function(e,t){var n;switch(t){case"seconds":r.currentTime=1e3*e,r.currentTime<0&&(r.currentTime=0),r.currentTime>r.lastMoment&&(r.currentTime=r.lastMoment),n=r.currentTime/r.lastMoment;break;case"beats":r.currentTime=e*r.millisecondsPerBeat*r.beatSubdivisions,r.currentTime<0&&(r.currentTime=0),r.currentTime>r.lastMoment&&(r.currentTime=r.lastMoment),n=r.currentTime/r.lastMoment;break;default:(n=e)<0&&(n=0),n>1&&(n=1),r.currentTime=r.lastMoment*n}r.isRunning||(r.pausedPercent=n);var o=performance.now();for(r.startTime=o-r.currentTime,r.currentEvent,r.currentEvent=0;r.noteTimings.length>r.currentEvent&&r.noteTimings[r.currentEvent].milliseconds<r.currentTime;)r.currentEvent++;if(r.lineEndCallback)for(r.currentLine=0;r.lineEndTimings.length>r.currentLine&&r.lineEndTimings[r.currentLine].milliseconds+r.lineEndAnticipation<r.currentTime;)r.currentLine++;var a=r.currentBeat;r.currentBeat=Math.floor(r.currentTime/r.millisecondsPerBeat),r.beatCallback&&a!==r.currentBeat&&r.doBeatCallback(r.startTime+r.currentTime),r.eventCallback&&r.currentEvent>=0&&"event"===r.noteTimings[r.currentEvent].type&&r.eventCallback(r.noteTimings[r.currentEvent]),r.lineEndCallback&&r.lineEndCallback(r.lineEndTimings[r.currentLine],r.noteTimings[r.currentEvent],{line:r.currentLine,endTimings:r.lineEndTimings}),r.joggerTimer=setTimeout(r.animationJogger,60)}};function getLineEndTimings(e,t){for(var r=[],n=null,o=0;o<e.length;o++){var a=e[o];"end"!==a.type&&a.top!==n&&(r.push({measureNumber:a.measureNumber,milliseconds:a.milliseconds-t,top:a.top,bottom:a.top+a.height}),n=a.top)}return r}var abc_timing_callbacks=TimingCallbacks$2,TimingCallbacks$1=abc_timing_callbacks,animation$1={},timer,cursor;animation$1.startAnimation=function(e,t,r){function n(e){for(var t=0;t<e.length;t++){var r=e[t];r.classList.contains("abcjs-bar")||(r.style.display="none")}}var o;function a(t){r.hideCurrentMeasure?function(t){n(e.querySelectorAll(t))}(t):r.hideFinishedMeasures&&function(t){o&&n(e.querySelectorAll(o)),o=t}(t)}timer&&(timer.stop(),timer=void 0),r.showCursor&&((cursor=e.querySelector(".abcjs-cursor"))||((cursor=document.createElement("DIV")).className="abcjs-cursor cursor",cursor.style.position="absolute",e.appendChild(cursor),e.style.position="relative")),timer=new TimingCallbacks$1(t,{qpm:r.bpm,eventCallback:function(e){if(e){if(e.measureStart){var t=".abcjs-l"+(r=e).line+".abcjs-m"+r.measureNumber;t&&a(t)}cursor&&(cursor.style.left=e.left+"px",cursor.style.top=e.top+"px",cursor.style.width=e.width+"px",cursor.style.height=e.height+"px")}else timer.stop(),timer=void 0;var r}}),timer.start()},animation$1.pauseAnimation=function(e){timer&&(e?timer.pause():timer.start())},animation$1.stopAnimation=function(){timer&&(timer.stop(),timer=void 0)};var abc_animation=animation$1,parseCommon$e={clone:function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t},cloneArray:function(e){for(var t=[],r=0;r<e.length;r++)t.push(parseCommon$e.clone(e[r]));return t},cloneHashOfHash:function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=parseCommon$e.clone(e[r]));return t},cloneHashOfArrayOfHash:function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=parseCommon$e.cloneArray(e[r]));return t},strip:function(e){return e.replace(/^\s+/,"").replace(/\s+$/,"")},startsWith:function(e,t){return 0===e.indexOf(t)},endsWith:function(e,t){var r=e.length-t.length;return r>=0&&e.lastIndexOf(t)===r},last:function(e){return 0===e.length?null:e[e.length-1]}},abc_common=parseCommon$e,parseCommon$d=abc_common,parseDirective$3={};!function(){var e,t,r,n,o;parseDirective$3.initialize=function(a,i,s,l,c){e=a,t=i,n=l,o=c,(r=s).annotationfont={face:"Helvetica",size:12,weight:"normal",style:"normal",decoration:"none"},r.gchordfont={face:"Helvetica",size:12,weight:"normal",style:"normal",decoration:"none"},r.historyfont={face:'"Times New Roman"',size:16,weight:"normal",style:"normal",decoration:"none"},r.infofont={face:'"Times New Roman"',size:14,weight:"normal",style:"italic",decoration:"none"},r.measurefont={face:'"Times New Roman"',size:14,weight:"normal",style:"italic",decoration:"none"},r.partsfont={face:'"Times New Roman"',size:15,weight:"normal",style:"normal",decoration:"none"},r.repeatfont={face:'"Times New Roman"',size:13,weight:"normal",style:"normal",decoration:"none"},r.textfont={face:'"Times New Roman"',size:16,weight:"normal",style:"normal",decoration:"none"},r.tripletfont={face:"Times",size:11,weight:"normal",style:"italic",decoration:"none"},r.vocalfont={face:'"Times New Roman"',size:13,weight:"bold",style:"normal",decoration:"none"},r.wordsfont={face:'"Times New Roman"',size:16,weight:"normal",style:"normal",decoration:"none"},n.formatting.composerfont={face:'"Times New Roman"',size:14,weight:"normal",style:"italic",decoration:"none"},n.formatting.subtitlefont={face:'"Times New Roman"',size:16,weight:"normal",style:"normal",decoration:"none"},n.formatting.tempofont={face:'"Times New Roman"',size:15,weight:"bold",style:"normal",decoration:"none"},n.formatting.titlefont={face:'"Times New Roman"',size:20,weight:"normal",style:"normal",decoration:"none"},n.formatting.footerfont={face:'"Times New Roman"',size:12,weight:"normal",style:"normal",decoration:"none"},n.formatting.headerfont={face:'"Times New Roman"',size:12,weight:"normal",style:"normal",decoration:"none"},n.formatting.voicefont={face:'"Times New Roman"',size:13,weight:"bold",style:"normal",decoration:"none"},n.formatting.tablabelfont={face:'"Trebuchet MS"',size:16,weight:"normal",style:"normal",decoration:"none"},n.formatting.tabnumberfont={face:'"Arial"',size:11,weight:"normal",style:"normal",decoration:"none"},n.formatting.tabgracefont={face:'"Arial"',size:8,weight:"normal",style:"normal",decoration:"none"},n.formatting.annotationfont=r.annotationfont,n.formatting.gchordfont=r.gchordfont,n.formatting.historyfont=r.historyfont,n.formatting.infofont=r.infofont,n.formatting.measurefont=r.measurefont,n.formatting.partsfont=r.partsfont,n.formatting.repeatfont=r.repeatfont,n.formatting.textfont=r.textfont,n.formatting.tripletfont=r.tripletfont,n.formatting.vocalfont=r.vocalfont,n.formatting.wordsfont=r.wordsfont};var a={gchordfont:!0,measurefont:!0,partsfont:!0,annotationfont:!0,composerfont:!0,historyfont:!0,infofont:!0,subtitlefont:!0,textfont:!0,titlefont:!0,voicefont:!0},i=function(e,r,n,o,i){function s(){var s=parseInt(e[0].token);return e.shift(),r?0===e.length?{face:r.face,weight:r.weight,style:r.style,decoration:r.decoration,size:s}:1===e.length&&"box"===e[0].token&&a[i]?{face:r.face,weight:r.weight,style:r.style,decoration:r.decoration,size:s,box:!0}:(t("Extra parameters in font definition.",n,o),{face:r.face,weight:r.weight,style:r.style,decoration:r.decoration,size:s}):(t("Can't set just the size of the font since there is no default value.",n,o),{face:'"Times New Roman"',weight:"normal",style:"normal",decoration:"none",size:s})}if("*"===e[0].token){if(e.shift(),"number"===e[0].type)return s();t("Expected font size number after *.",n,o)}if("number"===e[0].type)return s();for(var l,c=[],u="normal",d="normal",p="none",f=!1,h="face",v=!1;e.length;){var g=e.shift(),m=g.token.toLowerCase();switch(h){case"face":v||"utf"!==m&&"number"!==g.type&&"bold"!==m&&"italic"!==m&&"underline"!==m&&"box"!==m?c.length>0&&"-"===g.token?(v=!0,c[c.length-1]=c[c.length-1]+g.token):v?(v=!1,c[c.length-1]=c[c.length-1]+g.token):c.push(g.token):"number"===g.type?(l?t("Font size specified twice in font definition.",n,o):l=g.token,h="modifier"):"bold"===m?u="bold":"italic"===m?d="italic":"underline"===m?p="underline":"box"===m?(a[i]?f=!0:t('This font style doesn\'t support "box"',n,o),h="finished"):"utf"===m?(g=e.shift(),h="size"):t("Unknown parameter "+g.token+" in font definition.",n,o);break;case"size":"number"===g.type?l?t("Font size specified twice in font definition.",n,o):l=g.token:t("Expected font size in font definition.",n,o),h="modifier";break;case"modifier":"bold"===m?u="bold":"italic"===m?d="italic":"underline"===m?p="underline":"box"===m?(a[i]?f=!0:t('This font style doesn\'t support "box"',n,o),h="finished"):t("Unknown parameter "+g.token+" in font definition.",n,o);break;case"finished":t('Extra characters found after "box" in font definition.',n,o)}}void 0===l?r?l=r.size:(t("Must specify the size of the font since there is no default value.",n,o),l=12):l=parseFloat(l),""===(c=c.join(" "))&&(r?c=r.face:(t("Must specify the name of the font since there is no default value.",n,o),c="sans-serif"));var b=function(e){switch(e){case"Arial-Italic":return{face:"Arial",weight:"normal",style:"italic",decoration:"none"};case"Arial-Bold":return{face:"Arial",weight:"bold",style:"normal",decoration:"none"};case"Bookman-Demi":return{face:"Bookman,serif",weight:"bold",style:"normal",decoration:"none"};case"Bookman-DemiItalic":return{face:"Bookman,serif",weight:"bold",style:"italic",decoration:"none"};case"Bookman-Light":return{face:"Bookman,serif",weight:"normal",style:"normal",decoration:"none"};case"Bookman-LightItalic":return{face:"Bookman,serif",weight:"normal",style:"italic",decoration:"none"};case"Courier":return{face:'"Courier New"',weight:"normal",style:"normal",decoration:"none"};case"Courier-Oblique":return{face:'"Courier New"',weight:"normal",style:"italic",decoration:"none"};case"Courier-Bold":return{face:'"Courier New"',weight:"bold",style:"normal",decoration:"none"};case"Courier-BoldOblique":return{face:'"Courier New"',weight:"bold",style:"italic",decoration:"none"};case"AvantGarde-Book":return{face:"AvantGarde,Arial",weight:"normal",style:"normal",decoration:"none"};case"AvantGarde-BookOblique":return{face:"AvantGarde,Arial",weight:"normal",style:"italic",decoration:"none"};case"AvantGarde-Demi":case"Avant-Garde-Demi":return{face:"AvantGarde,Arial",weight:"bold",style:"normal",decoration:"none"};case"AvantGarde-DemiOblique":return{face:"AvantGarde,Arial",weight:"bold",style:"italic",decoration:"none"};case"Helvetica-Oblique":return{face:"Helvetica",weight:"normal",style:"italic",decoration:"none"};case"Helvetica-Bold":return{face:"Helvetica",weight:"bold",style:"normal",decoration:"none"};case"Helvetica-BoldOblique":return{face:"Helvetica",weight:"bold",style:"italic",decoration:"none"};case"Helvetica-Narrow":return{face:'"Helvetica Narrow",Helvetica',weight:"normal",style:"normal",decoration:"none"};case"Helvetica-Narrow-Oblique":return{face:'"Helvetica Narrow",Helvetica',weight:"normal",style:"italic",decoration:"none"};case"Helvetica-Narrow-Bold":return{face:'"Helvetica Narrow",Helvetica',weight:"bold",style:"normal",decoration:"none"};case"Helvetica-Narrow-BoldOblique":return{face:'"Helvetica Narrow",Helvetica',weight:"bold",style:"italic",decoration:"none"};case"Palatino-Roman":return{face:"Palatino",weight:"normal",style:"normal",decoration:"none"};case"Palatino-Italic":return{face:"Palatino",weight:"normal",style:"italic",decoration:"none"};case"Palatino-Bold":return{face:"Palatino",weight:"bold",style:"normal",decoration:"none"};case"Palatino-BoldItalic":return{face:"Palatino",weight:"bold",style:"italic",decoration:"none"};case"NewCenturySchlbk-Roman":return{face:'"New Century",serif',weight:"normal",style:"normal",decoration:"none"};case"NewCenturySchlbk-Italic":return{face:'"New Century",serif',weight:"normal",style:"italic",decoration:"none"};case"NewCenturySchlbk-Bold":return{face:'"New Century",serif',weight:"bold",style:"normal",decoration:"none"};case"NewCenturySchlbk-BoldItalic":return{face:'"New Century",serif',weight:"bold",style:"italic",decoration:"none"};case"Times":case"Times-Roman":case"Times-Narrow":case"Times-Courier":case"Times-New-Roman":return{face:'"Times New Roman"',weight:"normal",style:"normal",decoration:"none"};case"Times-Italic":case"Times-Italics":return{face:'"Times New Roman"',weight:"normal",style:"italic",decoration:"none"};case"Times-Bold":return{face:'"Times New Roman"',weight:"bold",style:"normal",decoration:"none"};case"Times-BoldItalic":return{face:'"Times New Roman"',weight:"bold",style:"italic",decoration:"none"};case"ZapfChancery-MediumItalic":return{face:'"Zapf Chancery",cursive,serif',weight:"normal",style:"normal",decoration:"none"};default:return null}}(c),A={};return b?(A.face=b.face,A.weight=b.weight,A.style=b.style,A.decoration=b.decoration,A.size=l,f&&(A.box=!0),A):(A.face=c,A.weight=u,A.style=d,A.decoration=p,A.size=l,f&&(A.box=!0),A)},s=function(e,t,o){return 0===t.length?'Directive "'+e+'" requires a font as a parameter.':(r[e]=i(t,r[e],o,0,e),r.is_in_header&&(n.formatting[e]=r[e]),null)},l=function(e,t){var r="";t.forEach((function(e){r+=e.token}));var o=parseFloat(r);if(isNaN(o)||0===o)return'Directive "'+e+'" requires a number as a parameter.';n.formatting.scale=o},c=["acoustic-bass-drum","bass-drum-1","side-stick","acoustic-snare","hand-clap","electric-snare","low-floor-tom","closed-hi-hat","high-floor-tom","pedal-hi-hat","low-tom","open-hi-hat","low-mid-tom","hi-mid-tom","crash-cymbal-1","high-tom","ride-cymbal-1","chinese-cymbal","ride-bell","tambourine","splash-cymbal","cowbell","crash-cymbal-2","vibraslap","ride-cymbal-2","hi-bongo","low-bongo","mute-hi-conga","open-hi-conga","low-conga","high-timbale","low-timbale","high-agogo","low-agogo","cabasa","maracas","short-whistle","long-whistle","short-guiro","long-guiro","claves","hi-wood-block","low-wood-block","mute-cuica","open-cuica","mute-triangle","open-triangle"],u=function(e,t,n,o,a){if(1!==n.length||"number"!==n[0].type)return'Directive "'+t+'" requires a number as a parameter.';var i=n[0].intt;return void 0!==o&&i<o?'Directive "'+t+'" requires a number greater than or equal to '+o+" as a parameter.":void 0!==a&&i>a?'Directive "'+t+'" requires a number less than or equal to '+a+" as a parameter.":(r[e]=i,null)},d=function(e,t,n){if(1===n.length&&("true"===n[0].token||"false"===n[0].token))return r[e]="true"===n[0].token,null;var o=u(e,t,n,0,1);return null!==o?o:(r[e]=1===r[e],null)},p=function(e,t,n,o){if(1!==n.length)return'Directive "'+t+'" requires one of [ '+o.join(", ")+" ] as a parameter.";for(var a=n[0].token,i=!1,s=0;!i&&s<o.length;s++)o[s]===a&&(i=!0);return i?(r[e]=a,null):'Directive "'+t+'" requires one of [ '+o.join(", ")+" ] as a parameter."},f=["nobarlines","barlines","beataccents","nobeataccents","droneon","droneoff","drumon","drumoff","fermatafixed","fermataproportional","gchordon","gchordoff","controlcombo","temperamentnormal","noportamento"],h=["gchord","ptstress","beatstring"],v=["bassvol","chordvol","bassprog","chordprog","c","channel","beatmod","deltaloudness","drumbars","gracedivider","makechordchannels","randomchordattack","chordattack","stressmodel","transpose","rtranspose","vol","volinc"],g=["program"],m=["ratio","snt","bendvelocity","pitchbend","control","temperamentlinear"],b=["beat"],A=["drone"],y=["portamento"],x=["expand","grace","trim"],w=["drum","chordname"];parseDirective$3.parseFontChangeLine=function(e){var t=e.split("$");if(t.length>1&&r.setfont){for(var n=[{text:t[0]}],o=1;o<t.length;o++)"0"===t[o][0]?n.push({text:t[o].substring(1)}):"1"===t[o][0]&&r.setfont[1]?n.push({font:r.setfont[1],text:t[o].substring(1)}):"2"===t[o][0]&&r.setfont[2]?n.push({font:r.setfont[2],text:t[o].substring(1)}):"3"===t[o][0]&&r.setfont[3]?n.push({font:r.setfont[3],text:t[o].substring(1)}):"4"===t[o][0]&&r.setfont[4]?n.push({font:r.setfont[4],text:t[o].substring(1)}):n[n.length-1].text+="$"+t[o];if(n.length>1)return n}return e};var C=["auto","above","below","hidden"];function k(e){if(0===e.length)return{value:1};if(1===e.length)if("number"===e[0].type){if(e[0].floatt>=0||e[0].floatt<=1)return{value:e[0].floatt}}else{if("false"===e[0].token)return{value:0};if("true"===e[0].token)return{value:1}}return{error:"Directive stretchlast requires zero or one parameter: false, true, or number between 0 and 1 (received "+e[0].token+")"}}parseDirective$3.addDirective=function(a){var _=e.tokenize(a,0,a.length);if(0===_.length||"alpha"!==_[0].type)return null;var S=a.substring(a.indexOf(_[0].token)+_[0].token.length);S=e.stripComment(S);var B,E=_.shift().token.toLowerCase(),T="";switch(E){case"bagpipes":n.formatting.bagpipes=!0;break;case"flatbeams":n.formatting.flatbeams=!0;break;case"jazzchords":n.formatting.jazzchords=!0;break;case"germanAlphabet":n.formatting.germanAlphabet=!0;break;case"landscape":r.landscape=!0;break;case"papersize":r.papersize=S;break;case"graceslurs":if(1!==_.length)return"Directive graceslurs requires one parameter: 0 or 1";if("0"===_[0].token||"false"===_[0].token)n.formatting.graceSlurs=!1;else{if("1"!==_[0].token&&"true"!==_[0].token)return"Directive graceslurs requires one parameter: 0 or 1 (received "+_[0].token+")";n.formatting.graceSlurs=!0}break;case"lineThickness":var P=k(_);if(void 0!==P.value&&(n.formatting.lineThickness=P.value),P.error)return P.error;break;case"stretchlast":var I=k(_);if(void 0!==I.value&&(n.formatting.stretchlast=I.value),I.error)return I.error;break;case"titlecaps":r.titlecaps=!0;break;case"titleleft":n.formatting.titleleft=!0;break;case"measurebox":n.formatting.measurebox=!0;break;case"vocal":return p("vocalPosition",E,_,C);case"dynamic":return p("dynamicPosition",E,_,C);case"gchord":return p("chordPosition",E,_,C);case"ornament":return p("ornamentPosition",E,_,C);case"volume":return p("volumePosition",E,_,C);case"botmargin":case"botspace":case"composerspace":case"indent":case"leftmargin":case"linesep":case"musicspace":case"partsspace":case"pageheight":case"pagewidth":case"rightmargin":case"staffsep":case"staffwidth":case"subtitlespace":case"sysstaffsep":case"systemsep":case"textspace":case"titlespace":case"topmargin":case"topspace":case"vocalspace":case"wordsspace":return function(t,r){var o=e.getMeasurement(r);return 0===o.used||0!==r.length?'Directive "'+t+'" requires a measurement as a parameter.':(n.formatting[t]=o.value,null)}(E,_);case"voicescale":if(1!==_.length||"number"!==_[0].type)return"voicescale requires one float as a parameter";var N=_.shift();return r.currentVoice&&(r.currentVoice.scale=N.floatt,o.changeVoiceScale(r.currentVoice.scale)),null;case"voicecolor":if(1!==_.length)return"voicecolor requires one string as a parameter";var z=_.shift();return r.currentVoice&&(r.currentVoice.color=z.token,o.changeVoiceColor(r.currentVoice.color)),null;case"vskip":var M=Math.round(function(t,r){var n=e.getMeasurement(r);return 0===n.used||0!==r.length?{error:'Directive "'+t+'" requires a measurement as a parameter.'}:n.value}(E,_));return M.error?M.error:(o.addSpacing(M),null);case"scale":l(E,_);break;case"sep":if(0===_.length)o.addSeparator(14,14,85,{startChar:r.iChar,endChar:r.iChar+5});else{var R=e.getMeasurement(_);if(0===R.used)return'Directive "'+E+'" requires 3 numbers: space above, space below, length of line';var D=R.value;if(0===(R=e.getMeasurement(_)).used)return'Directive "'+E+'" requires 3 numbers: space above, space below, length of line';var O=R.value;if(0===(R=e.getMeasurement(_)).used||0!==_.length)return'Directive "'+E+'" requires 3 numbers: space above, space below, length of line';var F=R.value;o.addSeparator(D,O,F,{startChar:r.iChar,endChar:r.iChar+S.length})}break;case"barsperstaff":if(null!==(T=u("barsperstaff",E,_)))return T;break;case"staffnonote":if(1!==_.length)return"Directive staffnonote requires one parameter: 0 or 1";if("0"===_[0].token)r.staffnonote=!0;else{if("1"!==_[0].token)return"Directive staffnonote requires one parameter: 0 or 1 (received "+_[0].token+")";r.staffnonote=!1}break;case"printtempo":if(null!==(T=d("printTempo",E,_)))return T;break;case"partsbox":if(null!==(T=d("partsBox",E,_)))return T;r.partsfont.box=r.partsBox;break;case"freegchord":if(null!==(T=d("freegchord",E,_)))return T;break;case"measurenb":case"barnumbers":if(null!==(T=u("barNumbers",E,_)))return T;break;case"setbarnb":if(1!==_.length||"number"!==_[0].type)return"Directive setbarnb requires a number as a parameter.";r.currBarNumber=o.setBarNumberImmediate(_[0].intt);break;case"begintext":var L="";for(B=e.nextLine();B&&0!==B.indexOf("%%endtext");)parseCommon$d.startsWith(B,"%%")?L+=B.substring(2)+"\n":L+=B+"\n",B=e.nextLine();o.addText(L,{startChar:r.iChar,endChar:r.iChar+L.length+7});break;case"continueall":r.continueall=!0;break;case"beginps":for(B=e.nextLine();B&&0!==B.indexOf("%%endps");)e.nextLine();t("Postscript ignored",a,0);break;case"deco":S.length>0&&r.ignoredDecorations.push(S.substring(0,S.indexOf(" "))),t("Decoration redefinition ignored",a,0);break;case"text":var j=e.translateString(S);o.addText(parseDirective$3.parseFontChangeLine(j),{startChar:r.iChar,endChar:r.iChar+S.length+7});break;case"center":var V=e.translateString(S);o.addCentered(parseDirective$3.parseFontChangeLine(V));break;case"font":break;case"setfont":var $=e.tokenize(S,0,S.length);if($.length>=4&&"-"===$[0].token&&"number"===$[1].type){var H=parseInt($[1].token);H>=1&&H<=4&&(r.setfont||(r.setfont=[]),$.shift(),$.shift(),r.setfont[H]=i($,r.setfont[H],a,0,"setfont"))}break;case"gchordfont":case"partsfont":case"tripletfont":case"vocalfont":case"textfont":case"annotationfont":case"historyfont":case"infofont":case"measurefont":case"repeatfont":case"wordsfont":return s(E,_,a);case"composerfont":case"subtitlefont":case"tempofont":case"titlefont":case"voicefont":case"footerfont":case"headerfont":return function(e,t,r){return 0===t.length?'Directive "'+e+'" requires a font as a parameter.':(n.formatting[e]=i(t,n.formatting[e],r,0,e),null)}(E,_,a);case"barlabelfont":case"barnumberfont":case"barnumfont":return s("measurefont",_,a);case"staves":case"score":r.score_is_present=!0;for(var U,Q=function(e,t,n,o,a){(t||0===r.staves.length)&&r.staves.push({index:r.staves.length,numVoices:0});var i=parseCommon$d.last(r.staves);void 0!==n&&void 0===i.bracket&&(i.bracket=n),void 0!==o&&void 0===i.brace&&(i.brace=o),a&&(i.connectBarLines="end"),void 0===r.voices[e]&&(r.voices[e]={staffNum:i.index,index:i.numVoices},i.numVoices++)},G=!1,K=!1,q=!1,W=!1,Y=!1,X=!1,J=!1,Z=function(){if(J=!0,U){var e="start";U.staffNum>0&&("start"!==r.staves[U.staffNum-1].connectBarLines&&"continue"!==r.staves[U.staffNum-1].connectBarLines||(e="continue")),r.staves[U.staffNum].connectBarLines=e}};_.length;){var ee=_.shift();switch(ee.token){case"(":G?t("Can't nest parenthesis in %%score",a,ee.start):(G=!0,W=!0);break;case")":!G||W?t("Unexpected close parenthesis in %%score",a,ee.start):G=!1;break;case"[":K?t("Can't nest brackets in %%score",a,ee.start):(K=!0,Y=!0);break;case"]":!K||Y?t("Unexpected close bracket in %%score",a,ee.start):(K=!1,r.staves[U.staffNum].bracket="end");break;case"{":q?t("Can't nest braces in %%score",a,ee.start):(q=!0,X=!0);break;case"}":!q||X?t("Unexpected close brace in %%score",a,ee.start):(q=!1,r.staves[U.staffNum].brace="end");break;case"|":Z();break;default:for(var te="";("alpha"===ee.type||"number"===ee.type)&&(te+=ee.token,ee.continueId);)ee=_.shift();Q(te,!G||W,Y?"start":K?"continue":void 0,X?"start":q?"continue":void 0,J),W=!1,Y=!1,X=!1,J=!1,U=r.voices[te],"staves"===E&&Z()}}break;case"newpage":var re=e.getInt(S);o.addNewPage(0===re.digits?-1:re.value);break;case"abc":var ne=S.split(" ");switch(ne[0]){case"-copyright":case"-creator":case"-edited-by":case"-version":case"-charset":var oe=ne.shift();o.addMetaText(E+oe,ne.join(" "),{startChar:r.iChar,endChar:r.iChar+S.length+5});break;default:return"Unknown directive: "+E+ne[0]}break;case"header":case"footer":var ae=e.getMeat(S,0,S.length);'"'===(ae=S.substring(ae.start,ae.end))[0]&&'"'===ae[ae.length-1]&&(ae=ae.substring(1,ae.length-1));var ie=ae.split("\t"),se={};se=1===ie.length?{left:"",center:ie[0],right:""}:2===ie.length?{left:ie[0],center:ie[1],right:""}:{left:ie[0],center:ie[1],right:ie[2]},ie.length>3&&t("Too many tabs in "+E+": "+ie.length+" found.",S,0),o.addMetaTextObj(E,se,{startChar:r.iChar,endChar:r.iChar+a.length});break;case"midi":var le=e.tokenize(S,0,S.length,!0);le.length>0&&"="===le[0].token&&le.shift(),0===le.length?t("Expected midi command",S,0):function(e,r,n){var a=e.shift().token,i=[];if(f.indexOf(a)>=0)0!==e.length&&t("Unexpected parameter in MIDI "+a,n,0);else if(h.indexOf(a)>=0)1!==e.length?t("Expected one parameter in MIDI "+a,n,0):i.push(e[0].token);else if(v.indexOf(a)>=0)1!==e.length?t("Expected one parameter in MIDI "+a,n,0):"number"!==e[0].type?t("Expected one integer parameter in MIDI "+a,n,0):i.push(e[0].intt);else if(g.indexOf(a)>=0)1!==e.length&&2!==e.length?t("Expected one or two parameters in MIDI "+a,n,0):"number"!==e[0].type||2===e.length&&"number"!==e[1].type?t("Expected integer parameter in MIDI "+a,n,0):(i.push(e[0].intt),2===e.length&&i.push(e[1].intt));else if(m.indexOf(a)>=0)2!==e.length?t("Expected two parameters in MIDI "+a,n,0):"number"!==e[0].type||"number"!==e[1].type?t("Expected two integer parameters in MIDI "+a,n,0):(i.push(e[0].intt),i.push(e[1].intt));else if(y.indexOf(a)>=0)2!==e.length?t("Expected two parameters in MIDI "+a,n,0):"alpha"!==e[0].type||"number"!==e[1].type?t("Expected one string and one integer parameters in MIDI "+a,n,0):(i.push(e[0].token),i.push(e[1].intt));else if("drummap"===a)2===e.length&&"alpha"===e[0].type&&"number"===e[1].type?(r.formatting||(r.formatting={}),r.formatting.midi||(r.formatting.midi={}),r.formatting.midi.drummap||(r.formatting.midi.drummap={}),r.formatting.midi.drummap[e[0].token]=e[1].intt,i=r.formatting.midi.drummap):3===e.length&&"punct"===e[0].type&&"alpha"===e[1].type&&"number"===e[2].type?(r.formatting||(r.formatting={}),r.formatting.midi||(r.formatting.midi={}),r.formatting.midi.drummap||(r.formatting.midi.drummap={}),r.formatting.midi.drummap[e[0].token+e[1].token]=e[2].intt,i=r.formatting.midi.drummap):t("Expected one note name and one integer parameter in MIDI "+a,n,0);else if(x.indexOf(a)>=0)3!==e.length||"number"!==e[0].type||"/"!==e[1].token||"number"!==e[2].type?t("Expected fraction parameter in MIDI "+a,n,0):(i.push(e[0].intt),i.push(e[2].intt));else if(b.indexOf(a)>=0)4!==e.length?t("Expected four parameters in MIDI "+a,n,0):"number"!==e[0].type||"number"!==e[1].type||"number"!==e[2].type||"number"!==e[3].type?t("Expected four integer parameters in MIDI "+a,n,0):(i.push(e[0].intt),i.push(e[1].intt),i.push(e[2].intt),i.push(e[3].intt));else if(A.indexOf(a)>=0)5!==e.length?t("Expected five parameters in MIDI "+a,n,0):"number"!==e[0].type||"number"!==e[1].type||"number"!==e[2].type||"number"!==e[3].type||"number"!==e[4].type?t("Expected five integer parameters in MIDI "+a,n,0):(i.push(e[0].intt),i.push(e[1].intt),i.push(e[2].intt),i.push(e[3].intt),i.push(e[4].intt));else if(g.indexOf(a)>=0)1!==e.length||4!==e.length?t("Expected one or two parameters in MIDI "+a,n,0):"number"!==e[0].type?t("Expected integer parameter in MIDI "+a,n,0):4===e.length?("octave"!==e[1].token&&t("Expected octave parameter in MIDI "+a,n,0),"="!==e[2].token&&t("Expected octave parameter in MIDI "+a,n,0),"number"!==e[3].type&&t("Expected integer parameter for octave in MIDI "+a,n,0)):(i.push(e[0].intt),4===e.length&&i.push(e[3].intt));else if(w.indexOf(a)>=0)if(e.length<2)t("Expected string parameter and at least one integer parameter in MIDI "+a,n,0);else if("alpha"!==e[0].type)t("Expected string parameter and at least one integer parameter in MIDI "+a,n,0);else{var s=e.shift();for(i.push(s.token);e.length>0;)"number"!==(s=e.shift()).type&&t("Expected integer parameter in MIDI "+a,n,0),i.push(s.intt)}o.hasBeginMusic()?o.appendElement("midi",-1,-1,{cmd:a,params:i}):(void 0===r.formatting.midi&&(r.formatting.midi={}),r.formatting.midi[a]=i)}(le,n,S);break;case"percmap":var ce=function(e){var t=e.split(/\s+/);if(2!==t.length&&3!==t.length)return{error:'Expected parameters "abc-note", "drum-sound", and optionally "note-head"'};var r=t[0],n=parseInt(t[1],10);if((isNaN(n)||n<35||n>81)&&t[1]&&(n=c.indexOf(t[1].toLowerCase())+35),isNaN(n)||n<35||n>81)return{error:'Expected drum name, received "'+t[1]+'"'};var o={sound:n};return 3===t.length&&(o.noteHead=t[2]),{key:r,value:o}}(S);ce.error?t(ce.error,a,8):(n.formatting.percmap||(n.formatting.percmap={}),n.formatting.percmap[ce.key]=ce.value);break;case"map":case"playtempo":case"auquality":case"continuous":case"nobarcheck":n.formatting[E]=S;break;default:return"Unknown directive: "+E}return null},parseDirective$3.globalFormatting=function(o){for(var a in o)if(o.hasOwnProperty(a)){var i,c=""+o[a],u=e.tokenize(c,0,c.length);switch(a){case"titlefont":case"gchordfont":case"composerfont":case"footerfont":case"headerfont":case"historyfont":case"infofont":case"measurefont":case"partsfont":case"repeatfont":case"subtitlefont":case"tempofont":case"textfont":case"voicefont":case"tripletfont":case"vocalfont":case"wordsfont":case"annotationfont":case"tablabelfont":case"tabnumberfont":case"tabgracefont":s(a,u,c);break;case"scale":l(a,u);break;case"partsbox":null!==(i=d("partsBox",a,u))&&t(i),r.partsfont.box=r.partsBox;break;case"freegchord":null!==(i=d("freegchord",a,u))&&t(i);break;case"fontboxpadding":1===u.length&&"number"===u[0].type||t('Directive "'+a+'" requires a number as a parameter.'),n.formatting.fontboxpadding=u[0].floatt;break;case"stretchlast":var p=k(u);if(void 0!==p.value&&(n.formatting.stretchlast=p.value),p.error)return p.error;break;default:t("Formatting directive unrecognized: ",a,0)}}}}();var abc_parse_directive=parseDirective$3,allNotes$1={},allPitches=["C,,,","D,,,","E,,,","F,,,","G,,,","A,,,","B,,,","C,,","D,,","E,,","F,,","G,,","A,,","B,,","C,","D,","E,","F,","G,","A,","B,","C","D","E","F","G","A","B","c","d","e","f","g","a","b","c'","d'","e'","f'","g'","a'","b'","c''","d''","e''","f''","g''","a''","b''","c'''","d'''","e'''","f'''","g'''","a'''","b'''"];allNotes$1.pitchIndex=function(e){return allPitches.indexOf(e)},allNotes$1.noteName=function(e){return allPitches[e]};var allNotes_1=allNotes$1,sharpChords=["C","C♯","D","D♯","E","F","F♯","G","G♯","A","A♯","B"],flatChords=["C","D♭","D","E♭","E","F","G♭","G","A♭","A","B♭","B"],sharpChordsFree=["C","C#","D","D#","E","F","F#","G","G#","A","A#","B"],flatChordsFree=["C","Db","D","Eb","E","F","Gb","G","Ab","A","Bb","B"];function transposeChordName$2(e,t,r,n){if(!t||t%12==0)return e;for(;t<0;)t+=12;t>11&&(t%=12);var o=e.match(/^([A-G][b#♭♯]?)([^\/]+)?\/?([A-G][b#♭♯]?)?(.+)?/);if(!o)return e;var a,i=o[1],s=o[2],l=o[3],c=o[4];if((a=sharpChords.indexOf(i))<0&&(a=flatChords.indexOf(i)),a<0&&(a=sharpChordsFree.indexOf(i)),a<0&&(a=flatChordsFree.indexOf(i)),a<0)return e;(a+=t,a%=12,e=r?n?flatChordsFree[a]:flatChords[a]:n?sharpChordsFree[a]:sharpChords[a],s&&(e+=s),l)&&((a=sharpChords.indexOf(l))<0&&(a=flatChords.indexOf(l)),a<0&&(a=sharpChordsFree.indexOf(l)),a<0&&(a=flatChordsFree.indexOf(l)),e+="/",a>=0?(a+=t,a%=12,e+=r?n?flatChordsFree[a]:flatChords[a]:n?sharpChordsFree[a]:sharpChords[a]):e+=l);return c&&(e+=c),e}var transposeChord=transposeChordName$2,keys$1={C:{modes:["CMaj","Amin","Am","GMix","DDor","EPhr","FLyd","BLoc"],stepsFromC:0},Db:{modes:["DbMaj","Bbmin","Bbm","AbMix","EbDor","FPhr","GbLyd","CLoc"],stepsFromC:1},D:{modes:["DMaj","Bmin","Bm","AMix","EDor","F#Phr","GLyd","C#Loc"],stepsFromC:2},Eb:{modes:["EbMaj","Cmin","Cm","BbMix","FDor","GPhr","AbLyd","DLoc"],stepsFromC:3},E:{modes:["EMaj","C#min","C#m","BMix","F#Dor","G#Phr","ALyd","D#Loc"],stepsFromC:4},F:{modes:["FMaj","Dmin","Dm","CMix","GDor","APhr","BbLyd","ELoc"],stepsFromC:5},Gb:{modes:["GbMaj","Ebmin","Ebm","DbMix","AbDor","BbPhr","CbLyd","FLoc"],stepsFromC:6},G:{modes:["GMaj","Emin","Em","DMix","ADor","BPhr","CLyd","F#Loc"],stepsFromC:7},Ab:{modes:["AbMaj","Fmin","Fm","EbMix","BbDor","CPhr","DbLyd","GLoc"],stepsFromC:8},A:{modes:["AMaj","F#min","F#m","EMix","BDor","C#Phr","DLyd","G#Loc"],stepsFromC:9},Bb:{modes:["BbMaj","Gmin","Gm","FMix","CDor","DPhr","EbLyd","ALoc"],stepsFromC:10},B:{modes:["BMaj","G#min","G#m","F#Mix","C#Dor","D#Phr","ELyd","A#Loc"],stepsFromC:11},"C#":{modes:["C#Maj","A#min","A#m","G#Mix","D#Dor","E#Phr","F#Lyd","B#Loc"],stepsFromC:1},"F#":{modes:["F#Maj","D#min","D#m","C#Mix","G#Dor","A#Phr","BLyd","E#Loc"],stepsFromC:6},Cb:{modes:["CbMaj","Abmin","Abm","GbMix","DbDor","EbPhr","FbLyd","BbLoc"],stepsFromC:11}},keyReverse=null;function createKeyReverse(){keyReverse={};for(var e=Object.keys(keys$1),t=0;t<e.length;t++){var r=keys$1[e[t]];keyReverse[e[t].toLowerCase()]=e[t];for(var n=0;n<r.modes.length;n++){var o=r.modes[n].toLowerCase();keyReverse[o]=e[t]}}}function relativeMajor$2(e){keyReverse||createKeyReverse();var t=e.toLowerCase().match(/([a-g][b#]?)(maj|min|mix|dor|phr|lyd|loc|m)?/);if(!t||!t[2])return e;t=t[1]+t[2];var r=keyReverse[t];return r||e}function relativeMode$1(e,t){var r=keys$1[e];if(!r)return e;if(""===t)return e;var n=t.toLowerCase().match(/^(maj|min|mix|dor|phr|lyd|loc|m)/);if(!n)return e;for(var o=n[1],a=0;a<r.modes.length;a++){var i=r.modes[a],s=i.toLowerCase().indexOf(o);if(-1!==s&&s===i.length-o.length)return i.substring(0,i.length-o.length)}return e}function transposeKey$1(e,t){var r=keys$1[e];if(!r)return e;for(;t<0;)t+=12;for(var n=(r.stepsFromC+t)%12,o=0;o<Object.keys(keys$1).length;o++){var a=Object.keys(keys$1)[o];if(keys$1[a].stepsFromC===n)return a}return e}var relativeMajor_1={relativeMajor:relativeMajor$2,relativeMode:relativeMode$1,transposeKey:transposeKey$1},relativeMajor$1=relativeMajor_1.relativeMajor,key1sharp={acc:"sharp",note:"f"},key2sharp={acc:"sharp",note:"c"},key3sharp={acc:"sharp",note:"g"},key4sharp={acc:"sharp",note:"d"},key5sharp={acc:"sharp",note:"A"},key6sharp={acc:"sharp",note:"e"},key7sharp={acc:"sharp",note:"B"},key1flat={acc:"flat",note:"B"},key2flat={acc:"flat",note:"e"},key3flat={acc:"flat",note:"A"},key4flat={acc:"flat",note:"d"},key5flat={acc:"flat",note:"G"},key6flat={acc:"flat",note:"c"},key7flat={acc:"flat",note:"F"},keys={"C#":[key1sharp,key2sharp,key3sharp,key4sharp,key5sharp,key6sharp,key7sharp],"F#":[key1sharp,key2sharp,key3sharp,key4sharp,key5sharp,key6sharp],B:[key1sharp,key2sharp,key3sharp,key4sharp,key5sharp],E:[key1sharp,key2sharp,key3sharp,key4sharp],A:[key1sharp,key2sharp,key3sharp],D:[key1sharp,key2sharp],G:[key1sharp],C:[],F:[key1flat],Bb:[key1flat,key2flat],Eb:[key1flat,key2flat,key3flat],Cm:[key1flat,key2flat,key3flat],Ab:[key1flat,key2flat,key3flat,key4flat],Db:[key1flat,key2flat,key3flat,key4flat,key5flat],Gb:[key1flat,key2flat,key3flat,key4flat,key5flat,key6flat],Cb:[key1flat,key2flat,key3flat,key4flat,key5flat,key6flat,key7flat],"A#":[key1flat,key2flat],"B#":[],"D#":[key1flat,key2flat,key3flat],"E#":[key1flat],"G#":[key1flat,key2flat,key3flat,key4flat],none:[]};function keyAccidentals$2(e){var t=keys[relativeMajor$1(e)];return t?JSON.parse(JSON.stringify(t)):null}var keyAccidentals_1=keyAccidentals$2,allNotes=allNotes_1,transposeChordName$1=transposeChord,keyAccidentals$1=keyAccidentals_1,transpose$2={},keyIndex={C:0,"C#":1,Db:1,D:2,"D#":3,Eb:3,E:4,F:5,"F#":6,Gb:6,G:7,"G#":8,Ab:8,A:9,"A#":10,Bb:10,B:11},newKey=["C","Db","D","Eb","E","F","F#","G","Ab","A","Bb","B"],newKeyMinor=["C","C#","D","D#","E","F","F#","G","G#","A","Bb","B"];transpose$2.keySignature=function(e,t,r,n,o){if("perc"===e.clef.type||"none"===e.clef.type)return{accidentals:keyAccidentals$1(t),root:r,acc:n};o||(o=0),e.localTransposeVerticalMovement=0,e.localTransposePreferFlats=!1;var a=keyAccidentals$1(t);if(!a)return e.key;if(e.localTranspose=(e.globalTranspose?e.globalTranspose:0)+o,!e.localTranspose)return{accidentals:a,root:r,acc:n};if(e.globalTransposeOrigKeySig=a,e.localTranspose%12==0)return e.localTransposeVerticalMovement=e.localTranspose/12*7,{accidentals:a,root:r,acc:n};var i=t[0];"b"===t[1]||"#"===t[1]?(i+=t[1],t=t.substr(2)):t=t.substr(1);var s=keyIndex[i],l=void 0!==s;l||(s=0,i="C",t="");for(var c=s+e.localTranspose;c<0;)c+=12;c>11&&(c%=12);var u="m"===t[0]?newKeyMinor[c]:newKey[c],d=u+t,p=keyAccidentals$1(d);p.length>0&&"flat"===p[0].acc&&(e.localTransposePreferFlats=!0);var f=d.charCodeAt(0)-i.charCodeAt(0);return e.localTranspose>0?f<0?f+=7:0===f&&("#"!==i[1]&&"b"!==d[1]||(f+=7)):e.localTranspose<0&&(f>0?f-=7:0===f&&("b"!==i[1]&&"#"!==d[1]||(f-=7))),e.localTranspose>0?e.localTransposeVerticalMovement=f+7*Math.floor(e.localTranspose/12):e.localTransposeVerticalMovement=f+7*Math.ceil(e.localTranspose/12),l?{accidentals:p,root:u[0],acc:u.length>1?u[1]:""}:{accidentals:[],root:r,acc:n}},transpose$2.chordName=function(e,t){return transposeChordName$1(t,e.localTranspose,e.localTransposePreferFlats,e.freegchord)};var pitchToLetter=["c","d","e","f","g","a","b"];function accidentalChange(e,t,r,n,o){for(var a=pitchToLetter[(e+49)%7],i=0,s=0;s<n.length;s++)n[s].note.toLowerCase()===a&&(i=accidentals$1[n[s].acc]);for(var l=accidentals$1[r]-i,c=pitchToLetter[(t+49)%7],u=0,d=0;d<o.accidentals.length;d++)o.accidentals[d].note.toLowerCase()===c&&(u=accidentals$1[o.accidentals[d].acc]);var p=l+u;return p<-2&&(t--,p+="c"===c||"f"===c?1:2),p>2&&(t++,p-="b"===c||"e"===c?1:2),[t,p]}var accidentals$1={dblflat:-2,flat:-1,natural:0,sharp:1,dblsharp:2},accidentals2={"-2":"dblflat","-1":"flat",0:"natural",1:"sharp",2:"dblsharp"},accidentals3={"-2":"__","-1":"_",0:"=",1:"^",2:"^^"};transpose$2.note=function(e,t){if(e.localTranspose&&"perc"!==e.clef.type){var r=t.pitch;if(e.localTransposeVerticalMovement&&(t.pitch=t.pitch+e.localTransposeVerticalMovement,t.name)){var n=t.accidental?t.name.substring(1):t.name,o=t.accidental?t.name[0]:"",a=allNotes.pitchIndex(n);t.name=o+allNotes.noteName(a+e.localTransposeVerticalMovement)}if(t.accidental){var i=accidentalChange(r,t.pitch,t.accidental,e.globalTransposeOrigKeySig,e.targetKey);t.pitch=i[0],t.accidental=accidentals2[i[1]],t.name&&(t.name=accidentals3[i[1]]+t.name.replace(/[_^=]/g,""))}}};var abc_transpose=transpose$2,parseCommon$c=abc_common,parseDirective$2=abc_parse_directive,transpose$1=abc_transpose,parseKeyVoice$3={};!function(){var e,t,r,n;parseKeyVoice$3.initialize=function(o,a,i,s,l){e=o,t=a,r=i,n=l},parseKeyVoice$3.standardKey=function(e,t,n,o){return transpose$1.keySignature(r,e,t,n,o)};var o={treble:{clef:"treble",pitch:4,mid:0},"treble+8":{clef:"treble+8",pitch:4,mid:0},"treble-8":{clef:"treble-8",pitch:4,mid:0},"treble^8":{clef:"treble+8",pitch:4,mid:0},treble_8:{clef:"treble-8",pitch:4,mid:0},treble1:{clef:"treble",pitch:2,mid:2},treble2:{clef:"treble",pitch:4,mid:0},treble3:{clef:"treble",pitch:6,mid:-2},treble4:{clef:"treble",pitch:8,mid:-4},treble5:{clef:"treble",pitch:10,mid:-6},perc:{clef:"perc",pitch:6,mid:0},none:{clef:"none",mid:0},bass:{clef:"bass",pitch:8,mid:-12},"bass+8":{clef:"bass+8",pitch:8,mid:-12},"bass-8":{clef:"bass-8",pitch:8,mid:-12},"bass^8":{clef:"bass+8",pitch:8,mid:-12},bass_8:{clef:"bass-8",pitch:8,mid:-12},"bass+16":{clef:"bass",pitch:8,mid:-12},"bass-16":{clef:"bass",pitch:8,mid:-12},"bass^16":{clef:"bass",pitch:8,mid:-12},bass_16:{clef:"bass",pitch:8,mid:-12},bass1:{clef:"bass",pitch:2,mid:-6},bass2:{clef:"bass",pitch:4,mid:-8},bass3:{clef:"bass",pitch:6,mid:-10},bass4:{clef:"bass",pitch:8,mid:-12},bass5:{clef:"bass",pitch:10,mid:-14},tenor:{clef:"alto",pitch:8,mid:-8},tenor1:{clef:"alto",pitch:2,mid:-2},tenor2:{clef:"alto",pitch:4,mid:-4},tenor3:{clef:"alto",pitch:6,mid:-6},tenor4:{clef:"alto",pitch:8,mid:-8},tenor5:{clef:"alto",pitch:10,mid:-10},alto:{clef:"alto",pitch:6,mid:-6},alto1:{clef:"alto",pitch:2,mid:-2},alto2:{clef:"alto",pitch:4,mid:-4},alto3:{clef:"alto",pitch:6,mid:-6},alto4:{clef:"alto",pitch:8,mid:-8},alto5:{clef:"alto",pitch:10,mid:-10},"alto+8":{clef:"alto+8",pitch:6,mid:-6},"alto-8":{clef:"alto-8",pitch:6,mid:-6},"alto^8":{clef:"alto+8",pitch:6,mid:-6},alto_8:{clef:"alto-8",pitch:6,mid:-6}},a=function(e,t){var r=o[e];return(r?r.mid:0)+t};parseKeyVoice$3.fixClef=function(e){var t=o[e.type];t&&(e.clefPos=t.pitch,e.type=t.clef)},parseKeyVoice$3.deepCopyKey=function(e){var t={accidentals:[],root:e.root,acc:e.acc,mode:e.mode};return e.accidentals.forEach((function(e){t.accidentals.push(parseCommon$c.clone(e))})),t};var i={A:5,B:6,C:0,D:1,E:2,F:3,G:4,a:12,b:13,c:7,d:8,e:9,f:10,g:11};parseKeyVoice$3.addPosToKey=function(e,t){var r=e.verticalPos;t.accidentals.forEach((function(e){var t=i[e.note];t-=r,e.verticalPos=t})),t.impliedNaturals&&t.impliedNaturals.forEach((function(e){var t=i[e.note];t-=r,e.verticalPos=t})),r<-10?(t.accidentals.forEach((function(e){e.verticalPos-=7,(e.verticalPos>=11||10===e.verticalPos&&"flat"===e.acc)&&(e.verticalPos-=7),"A"===e.note&&"sharp"===e.acc&&(e.verticalPos-=7),"G"!==e.note&&"F"!==e.note||"flat"!==e.acc||(e.verticalPos-=7)})),t.impliedNaturals&&t.impliedNaturals.forEach((function(e){e.verticalPos-=7,(e.verticalPos>=11||10===e.verticalPos&&"flat"===e.acc)&&(e.verticalPos-=7),"A"===e.note&&"sharp"===e.acc&&(e.verticalPos-=7),"G"!==e.note&&"F"!==e.note||"flat"!==e.acc||(e.verticalPos-=7)}))):r<-4?(t.accidentals.forEach((function(e){e.verticalPos-=7,-8!==r||"f"!==e.note&&"g"!==e.note||"sharp"!==e.acc||(e.verticalPos-=7)})),t.impliedNaturals&&t.impliedNaturals.forEach((function(e){e.verticalPos-=7,-8!==r||"f"!==e.note&&"g"!==e.note||"sharp"!==e.acc||(e.verticalPos-=7)}))):r>=7&&(t.accidentals.forEach((function(e){e.verticalPos+=7})),t.impliedNaturals&&t.impliedNaturals.forEach((function(e){e.verticalPos+=7})))},parseKeyVoice$3.fixKey=function(e,t){var r=parseCommon$c.clone(t);return parseKeyVoice$3.addPosToKey(e,r),r};var s=function(e){var t=0,r=e[t++];"^"!==r&&"_"!==r||(r=e[t++]);var n=i[r];for(void 0===n&&(n=6);t<e.length;t++)if(","===e[t])n-=7;else{if("'"!==e[t])break;n+=7}return{mid:n-6,str:e.substring(t)}};parseKeyVoice$3.parseKey=function(n,o){0===n.length&&(n="none");var i=e.tokenize(n,0,n.length),s={};if(0===i.length)return t("Must pass in key signature.",n,0),s;switch(i[0].token){case"HP":parseDirective$2.addDirective("bagpipes"),r.key={root:"HP",accidentals:[],acc:"",mode:""},s.foundKey=!0,i.shift();break;case"Hp":parseDirective$2.addDirective("bagpipes"),r.key={root:"Hp",accidentals:[{acc:"natural",note:"g"},{acc:"sharp",note:"f"},{acc:"sharp",note:"c"}],acc:"",mode:""},s.foundKey=!0,i.shift();break;case"none":r.key={root:"none",accidentals:[],acc:"",mode:""},s.foundKey=!0,i.shift();break;default:var l=e.getKeyPitch(i[0].token);if(l.len>0){s.foundKey=!0;var c="",u="";i[0].token.length>1?i[0].token=i[0].token.substring(1):i.shift();var d=l.token;if(i.length>0){var p=e.getSharpFlat(i[0].token);if(p.len>0&&(i[0].token.length>1?i[0].token=i[0].token.substring(1):i.shift(),d+=p.token,c=p.token),i.length>0){var f=e.getMode(i[0].token);f.len>0&&(i.shift(),d+=f.token,u=f.token)}if(void 0===parseKeyVoice$3.standardKey(d,l.token,c,0))return t("Unsupported key signature: "+d,n,0),s}var h,v=parseKeyVoice$3.deepCopyKey(r.key),g=!o&&r.globalTranspose?-r.globalTranspose:0;if(o&&(h=r.globalTransposeOrigKeySig),r.key=parseKeyVoice$3.deepCopyKey(parseKeyVoice$3.standardKey(d,l.token,c,g)),o&&(r.globalTransposeOrigKeySig=h),r.key.mode=u,v){for(var m,b=0;b<r.key.accidentals.length;b++)for(m=0;m<v.accidentals.length;m++)v.accidentals[m].note&&r.key.accidentals[b].note.toLowerCase()===v.accidentals[m].note.toLowerCase()&&(v.accidentals[m].note=null);for(m=0;m<v.accidentals.length;m++)v.accidentals[m].note&&(r.key.impliedNaturals||(r.key.impliedNaturals=[]),r.key.impliedNaturals.push({acc:"natural",note:v.accidentals[m].note}))}}}if(0===i.length)return s;if("exp"===i[0].token&&i.shift(),0===i.length)return s;if("oct"===i[0].token&&i.shift(),0===i.length)return s;var A,y=e.getKeyAccidentals2(i);if(y.warn&&t(y.warn,n,0),y.accs){s.foundKey||(s.foundKey=!0,r.key={root:"none",acc:"",mode:"",accidentals:[]}),function(e){for(var t=0;t<e.length;t++)"b"===e[t].note?e[t].note="B":"a"===e[t].note?e[t].note="A":"F"===e[t].note?e[t].note="f":"E"===e[t].note?e[t].note="e":"D"===e[t].note?e[t].note="d":"C"===e[t].note?e[t].note="c":"G"===e[t].note&&"sharp"===e[t].acc?e[t].note="g":"g"===e[t].note&&"flat"===e[t].acc&&(e[t].note="G")}(y.accs);for(var x=0;x<y.accs.length;x++){for(var w=!1,C=0;C<r.key.accidentals.length&&!w;C++)r.key.accidentals[C].note===y.accs[x].note&&(w=!0,r.key.accidentals[C].acc!==y.accs[x].acc&&(r.key.accidentals[C].acc=y.accs[x].acc,r.key.explicitAccidentals||(r.key.explicitAccidentals=[]),r.key.explicitAccidentals.push(y.accs[x])));if(!w&&(r.key.explicitAccidentals||(r.key.explicitAccidentals=[]),r.key.explicitAccidentals.push(y.accs[x]),r.key.accidentals.push(y.accs[x]),r.key.impliedNaturals))for(var k=0;k<r.key.impliedNaturals.length;k++)r.key.impliedNaturals[k].note===y.accs[x].note&&r.key.impliedNaturals.splice(k,1)}}for(;i.length>0;)switch(i[0].token){case"m":case"middle":if(i.shift(),0===i.length)return t("Expected = after middle",n,0),s;if("="!==(A=i.shift()).token){t("Expected = after middle",n,A.start);break}if(0===i.length)return t("Expected parameter after middle=",n,0),s;var _=e.getPitchFromTokens(i);_.warn&&t(_.warn,n,0),_.position&&(r.clef.verticalPos=_.position-6);break;case"transpose":if(i.shift(),0===i.length)return t("Expected = after transpose",n,0),s;if("="!==(A=i.shift()).token){t("Expected = after transpose",n,A.start);break}if(0===i.length)return t("Expected parameter after transpose=",n,0),s;if("number"!==i[0].type){t("Expected number after transpose",n,i[0].start);break}r.clef.transpose=i[0].intt,i.shift();break;case"stafflines":if(i.shift(),0===i.length)return t("Expected = after stafflines",n,0),s;if("="!==(A=i.shift()).token){t("Expected = after stafflines",n,A.start);break}if(0===i.length)return t("Expected parameter after stafflines=",n,0),s;if("number"!==i[0].type){t("Expected number after stafflines",n,i[0].start);break}r.clef.stafflines=i[0].intt,i.shift();break;case"staffscale":if(i.shift(),0===i.length)return t("Expected = after staffscale",n,0),s;if("="!==(A=i.shift()).token){t("Expected = after staffscale",n,A.start);break}if(0===i.length)return t("Expected parameter after staffscale=",n,0),s;if("number"!==i[0].type){t("Expected number after staffscale",n,i[0].start);break}r.clef.staffscale=i[0].floatt,i.shift();break;case"octave":if(i.shift(),0===i.length)return t("Expected = after octave",n,0),s;if("="!==(A=i.shift()).token){t("Expected = after octave",n,A.start);break}if(0===i.length)return t("Expected parameter after octave=",n,0),s;if("number"!==i[0].type){t("Expected number after octave",n,i[0].start);break}r.octave=i[0].intt,i.shift();break;case"style":if(i.shift(),0===i.length)return t("Expected = after style",n,0),s;if("="!==(A=i.shift()).token){t("Expected = after style",n,A.start);break}if(0===i.length)return t("Expected parameter after style=",n,0),s;switch(i[0].token){case"normal":case"harmonic":case"rhythm":case"x":case"triangle":r.style=i[0].token,i.shift();break;default:t("error parsing style element: "+i[0].token,n,i[0].start)}break;case"clef":if(i.shift(),0===i.length)return t("Expected = after clef",n,0),s;if("="!==(A=i.shift()).token){t("Expected = after clef",n,A.start);break}if(0===i.length)return t("Expected parameter after clef=",n,0),s;case"treble":case"bass":case"alto":case"tenor":case"perc":case"none":var S=i.shift();switch(S.token){case"treble":case"tenor":case"alto":case"bass":case"perc":case"none":break;case"C":case"c":S.token="alto";break;case"F":case"f":S.token="bass";break;case"G":case"g":S.token="treble";break;default:t("Expected clef name. Found "+S.token,n,S.start)}i.length>0&&"number"===i[0].type&&(S.token+=i[0].token,i.shift()),i.length>1&&("-"===i[0].token||"+"===i[0].token||"^"===i[0].token||"_"===i[0].token)&&"8"===i[1].token&&(S.token+=i[0].token+i[1].token,i.shift(),i.shift()),r.clef={type:S.token,verticalPos:a(S.token,0)},r.currentVoice&&void 0!==r.currentVoice.transpose&&(r.clef.transpose=r.currentVoice.transpose),s.foundClef=!0;break;default:t("Unknown parameter: "+i[0].token,n,i[0].start),i.shift()}return s};parseKeyVoice$3.parseVoice=function(o,i,l){var c=e.getMeat(o,i,l),u=c.start,d=c.end,p=e.getToken(o,u,d);if(0!==p.length){var f=!1;void 0===r.voices[p]&&(r.voices[p]={},f=!0,r.score_is_present&&t("Can't have an unknown V: id when the %score directive is present",o,u)),u+=p.length,u+=e.eatWhiteSpace(o,u);for(var h={startStaff:f},v=function(r){var n=e.getVoiceToken(o,u,d);void 0!==n.warn?t("Expected value for "+r+" in voice: "+n.warn,o,u):void 0!==n.err?t("Expected value for "+r+" in voice: "+n.err,o,u):0===n.token.length&&'"'!==o[u]?t("Expected value for "+r+" in voice",o,u):h[r]=n.token,u+=n.len},g=function(n,a,i){var s=e.getVoiceToken(o,u,d);void 0!==s.warn?t("Expected value for "+a+" in voice: "+s.warn,o,u):void 0!==s.err?t("Expected value for "+a+" in voice: "+s.err,o,u):0===s.token.length&&'"'!==o[u]?t("Expected value for "+a+" in voice",o,u):("number"===i&&(s.token=parseFloat(s.token)),r.voices[n][a]=s.token),u+=s.len},m=function(r,n){var a=e.getVoiceToken(o,u,d);if(void 0!==a.warn)t("Expected value for "+r+" in voice: "+a.warn,o,u);else if(void 0!==a.err)t("Expected value for "+r+" in voice: "+a.err,o,u);else{if(0!==a.token.length||'"'===o[u])return"number"===n&&(a.token=parseFloat(a.token)),a.token;t("Expected value for "+r+" in voice",o,u)}u+=a.len},b=function(n,a){var i=e.getVoiceToken(o,u,d);if(void 0!==i.warn)t("Expected one of (_B, _E, _b, _e) for "+a+" in voice: "+i.warn,o,u);else if(0===i.token.length&&'"'!==o[u])t("Expected one of (_B, _E, _b, _e) for "+a+" in voice",o,u);else{var s={_B:2,_E:9,_b:-10,_e:-3}[i.token];s?r.voices[n][a]=s:t("Expected one of (_B, _E, _b, _e) for "+a+" in voice",o,u)}u+=i.len};u<d;){var A=e.getVoiceToken(o,u,d);if(u+=A.len,A.warn)t("Error parsing voice: "+A.warn,o,u);else{var y=null;switch(A.token){case"clef":case"cl":v("clef");var x=0;void 0!==h.clef&&(h.clef=h.clef.replace(/[',]/g,""),-1!==h.clef.indexOf("+16")&&(x+=14,h.clef=h.clef.replace("+16","")),h.verticalPos=a(h.clef,x));break;case"treble":case"bass":case"tenor":case"alto":case"perc":case"none":case"treble'":case"bass'":case"tenor'":case"alto'":case"none'":case"treble''":case"bass''":case"tenor''":case"alto''":case"none''":case"treble,":case"bass,":case"tenor,":case"alto,":case"none,":case"treble,,":case"bass,,":case"tenor,,":case"alto,,":case"none,,":h.clef=A.token.replace(/[',]/g,""),h.verticalPos=a(h.clef,0),r.voices[p].clef=A.token;break;case"staves":case"stave":case"stv":v("staves");break;case"brace":case"brc":v("brace");break;case"bracket":case"brk":v("bracket");break;case"name":case"nm":v("name");break;case"subname":case"sname":case"snm":v("subname");break;case"merge":h.startStaff=!1;break;case"stem":case"stems":void 0!==(y=e.getVoiceToken(o,u,d)).warn?t("Expected value for stems in voice: "+y.warn,o,u):void 0!==y.err?t("Expected value for stems in voice: "+y.err,o,u):"up"===y.token||"down"===y.token?r.voices[p].stem=y.token:t("Expected up or down for voice stem",o,u),u+=y.len;break;case"up":case"down":r.voices[p].stem=A.token;break;case"middle":case"m":v("verticalPos"),h.verticalPos=s(h.verticalPos).mid;break;case"gchords":case"gch":r.voices[p].suppressChords=!0,"0"===(y=e.getVoiceToken(o,u,d)).token&&(u+=y.len);break;case"space":case"spc":v("spacing");break;case"scale":g(p,"scale","number");break;case"score":b(p,"scoreTranspose");break;case"transpose":g(p,"transpose","number");break;case"stafflines":g(p,"stafflines","number");break;case"staffscale":g(p,"staffscale","number");break;case"octave":g(p,"octave","number");break;case"volume":g(p,"volume","number");break;case"cue":var w=m("cue","string");r.voices[p].scale="on"===w?.6:1;break;case"style":void 0!==(y=e.getVoiceToken(o,u,d)).warn?t("Expected value for style in voice: "+y.warn,o,u):void 0!==y.err?t("Expected value for style in voice: "+y.err,o,u):"normal"===y.token||"harmonic"===y.token||"rhythm"===y.token||"x"===y.token||"triangle"===y.token?r.voices[p].style=y.token:t("Expected one of [normal, harmonic, rhythm, x, triangle] for voice style",o,u),u+=y.len}}u+=e.eatWhiteSpace(o,u)}if((h.startStaff||0===r.staves.length)&&(r.staves.push({index:r.staves.length,meter:r.origMeter}),r.score_is_present||(r.staves[r.staves.length-1].numVoices=0)),void 0===r.voices[p].staffNum){r.voices[p].staffNum=r.staves.length-1;var C=0;for(var k in r.voices)r.voices.hasOwnProperty(k)&&r.voices[k].staffNum===r.voices[p].staffNum&&C++;r.voices[p].index=C-1}var _=r.staves[r.voices[p].staffNum];r.score_is_present||_.numVoices++,h.clef&&(_.clef={type:h.clef,verticalPos:h.verticalPos}),h.spacing&&(_.spacing_below_offset=h.spacing),h.verticalPos&&(_.verticalPos=h.verticalPos),h.name&&(_.name?_.name.push(h.name):_.name=[h.name]),h.subname&&(_.subname?_.subname.push(h.subname):_.subname=[h.subname]),function(e){r.currentVoice=r.voices[e],n.setCurrentVoice(r.currentVoice.staffNum,r.currentVoice.index)}(p)}else t("Expected a voice id",o,u)}}();var abc_parse_key_voice=parseKeyVoice$3,parseCommon$b=abc_common,parseDirective$1=abc_parse_directive,parseKeyVoice$2=abc_parse_key_voice,ParseHeader$1=function(t,r,n,o,a){this.reset=function(e,t,r,n){parseKeyVoice$2.initialize(e,t,r,n,a),parseDirective$1.initialize(e,t,r,n,a)},this.reset(t,r,n,o),this.setTitle=function(e){if(n.hasMainTitle)a.addSubtitle(t.translateString(t.stripComment(e)),{startChar:n.iChar,endChar:n.iChar+e.length+2});else{var r=t.translateString(t.theReverser(t.stripComment(e)));n.titlecaps&&(r=r.toUpperCase()),a.addMetaText("title",r,{startChar:n.iChar,endChar:n.iChar+e.length+2}),n.hasMainTitle=!0}},this.setMeter=function(o){if("C"===(o=t.stripComment(o)))return!0===n.havent_set_length&&(n.default_length=.125,n.havent_set_length=!1),{type:"common_time"};if("C|"===o)return!0===n.havent_set_length&&(n.default_length=.125,n.havent_set_length=!1),{type:"cut_time"};if("o"===o)return!0===n.havent_set_length&&(n.default_length=.125,n.havent_set_length=!1),{type:"tempus_perfectum"};if("c"===o)return!0===n.havent_set_length&&(n.default_length=.125,n.havent_set_length=!1),{type:"tempus_imperfectum"};if("o."===o)return!0===n.havent_set_length&&(n.default_length=.125,n.havent_set_length=!1),{type:"tempus_perfectum_prolatio"};if("c."===o)return!0===n.havent_set_length&&(n.default_length=.125,n.havent_set_length=!1),{type:"tempus_imperfectum_prolatio"};if(0===o.length||"none"===o.toLowerCase())return!0===n.havent_set_length&&(n.default_length=.125,n.havent_set_length=!1),null;var a=t.tokenize(o,0,o.length);try{var i=function(){var e=function(){var e={value:0,num:""},t=a.shift();for("("===t.token&&(t=a.shift());;){if("number"!==t.type)throw"Expected top number of meter";if(e.value+=parseInt(t.token),e.num+=t.token,0===a.length||"/"===a[0].token)return e;if(")"===(t=a.shift()).token){if(0===a.length||"/"===a[0].token)return e;throw"Unexpected paren in meter"}if("."!==t.token&&"+"!==t.token)throw"Expected top number of meter";if(e.num+=t.token,0===a.length)throw"Expected top number of meter";t=a.shift()}return e}();if(0===a.length)return e;var t=a.shift();if("/"!==t.token)throw"Expected slash in meter";if("number"!==(t=a.shift()).type)throw"Expected bottom number of meter";return e.den=t.token,e.value=e.value/parseInt(e.den),e};if(0===a.length)throw"Expected meter definition in M: line";for(var s={type:"specified",value:[]},l=0;;){var c=i();l+=c.value;var u={num:c.num};if(void 0!==c.den&&(u.den=c.den),s.value.push(u),0===a.length)break}return!0===n.havent_set_length&&(n.default_length=l<.75?.0625:.125,n.havent_set_length=!1),s}catch(e){r(e,o,0)}return null},this.calcTempo=function(e){var t=1/4;n.meter&&"specified"===n.meter.type?t=1/parseInt(n.meter.value[0].den):n.origMeter&&"specified"===n.origMeter.type&&(t=1/parseInt(n.origMeter.value[0].den));for(var r=0;r<e.duration;r++)e.duration[r]=t*e.duration[r];return e},this.resolveTempo=function(){n.tempo&&(this.calcTempo(n.tempo),o.metaText.tempo=n.tempo,delete n.tempo)},this.addUserDefinition=function(e,t,o){var a=e.indexOf("=",t);if(-1!==a){var i=parseCommon$b.strip(e.substring(t,a)),s=parseCommon$b.strip(e.substring(a+1));if(1===i.length){-1!=="HIJKLMNOPQRSTUVWXYhijklmnopqrstuvw~".indexOf(i)?0!==s.length?(void 0===n.macros&&(n.macros={}),n.macros[i]=s):r("Missing macro definition",e,t):r("Macro definitions must be H-Y, h-w, or tilde",e,t)}else r("Macro definitions can only be one character",e,t)}else r("Need an = in a macro definition",e,t)},this.setDefaultLength=function(e,t,r){var o=e.substring(t,r).replace(/ /g,"").split("/");if(2===o.length){var a=parseInt(o[0]),i=parseInt(o[1]);i>0&&(n.default_length=a/i,n.havent_set_length=!1)}else 1===o.length&&"1"===o[0]&&(n.default_length=1,n.havent_set_length=!1)};var i={larghissimo:20,adagissimo:24,sostenuto:28,grave:32,largo:40,lento:50,larghetto:60,adagio:68,adagietto:74,andante:80,andantino:88,"marcia moderato":84,"andante moderato":100,moderato:112,allegretto:116,"allegro moderato":120,allegro:126,animato:132,agitato:140,veloce:148,"mosso vivo":156,vivace:164,vivacissimo:172,allegrissimo:176,presto:184,prestissimo:210};this.setTempo=function(e,o,a,s){try{var l=t.tokenize(e,o,a);if(0===l.length)throw"Missing parameter in Q: field";var c={startChar:s+o-2,endChar:s+a},u=!0,d=l.shift();if("quote"===d.type&&(c.preString=d.token,d=l.shift(),0===l.length))return i[c.preString.toLowerCase()]&&(c.bpm=i[c.preString.toLowerCase()],c.suppressBpm=!0),{type:"immediate",tempo:c};if("alpha"===d.type&&"C"===d.token){if(0===l.length)throw"Missing tempo after C in Q: field";if("punct"===(d=l.shift()).type&&"="===d.token){if(0===l.length)throw"Missing tempo after = in Q: field";if("number"!==(d=l.shift()).type)throw"Expected number after = in Q: field";c.duration=[1],c.bpm=parseInt(d.token)}else{if("number"!==d.type)throw"Expected number or equal after C in Q: field";if(c.duration=[parseInt(d.token)],0===l.length)throw"Missing = after duration in Q: field";if("punct"!==(d=l.shift()).type||"="!==d.token)throw"Expected = after duration in Q: field";if(0===l.length)throw"Missing tempo after = in Q: field";if("number"!==(d=l.shift()).type)throw"Expected number after = in Q: field";c.bpm=parseInt(d.token)}}else{if("number"!==d.type)throw"Unknown value in Q: field";var p=parseInt(d.token);if(0===l.length||"quote"===l[0].type)c.duration=[1],c.bpm=p;else{if(u=!1,"punct"!==(d=l.shift()).type&&"/"!==d.token)throw"Expected fraction in Q: field";if("number"!==(d=l.shift()).type)throw"Expected fraction in Q: field";var f=parseInt(d.token);for(c.duration=[p/f];l.length>0&&"="!==l[0].token&&"quote"!==l[0].type;){if("number"!==(d=l.shift()).type)throw"Expected fraction in Q: field";if(p=parseInt(d.token),"punct"!==(d=l.shift()).type&&"/"!==d.token)throw"Expected fraction in Q: field";if("number"!==(d=l.shift()).type)throw"Expected fraction in Q: field";f=parseInt(d.token),c.duration.push(p/f)}if("punct"!==(d=l.shift()).type&&"="!==d.token)throw"Expected = in Q: field";if("number"!==(d=l.shift()).type)throw"Expected tempo in Q: field";c.bpm=parseInt(d.token)}}if(0!==l.length&&("quote"===(d=l.shift()).type&&(c.postString=d.token,d=l.shift()),0!==l.length))throw"Unexpected string at end of Q: field";return!1===n.printTempo&&(c.suppress=!0),{type:u?"delaySet":"immediate",tempo:c}}catch(msg){return r(msg,e,o),{type:"none"}}},this.letter_to_inline_header=function(e,i,s){var l=t.eatWhiteSpace(e,i);if(i+=l,e.length>=i+5&&"["===e[i]&&":"===e[i+2]){var c=e.indexOf("]",i),u=n.iChar+i,d=n.iChar+c+1;switch(e.substring(i,i+3)){case"[I:":var p=parseDirective$1.addDirective(e.substring(i+3,c));return p&&r(p,e,i),[c-i+1+l];case"[M:":var f=this.setMeter(e.substring(i+3,c));return a.hasBeginMusic()&&f?a.appendStartingElement("meter",u,d,f):n.meter=f,[c-i+1+l];case"[K:":var h=parseKeyVoice$2.parseKey(e.substring(i+3,c),!0);return h.foundClef&&a.hasBeginMusic()&&a.appendStartingElement("clef",u,d,n.clef),h.foundKey&&a.hasBeginMusic()&&a.appendStartingElement("key",u,d,parseKeyVoice$2.fixKey(n.clef,n.key)),[c-i+1+l];case"[P:":return s||o.lines.length<=o.lineNum?n.partForNextLine={title:e.substring(i+3,c),startChar:u,endChar:d}:a.appendElement("part",u,d,{title:e.substring(i+3,c)}),[c-i+1+l];case"[L:":return this.setDefaultLength(e,i+3,c),[c-i+1+l];case"[Q:":if(c>0){var v=this.setTempo(e,i+3,c,n.iChar);return"delaySet"===v.type?a.hasBeginMusic()?a.appendElement("tempo",u,d,this.calcTempo(v.tempo)):n.tempoForNextLine=["tempo",u,d,this.calcTempo(v.tempo)]:"immediate"===v.type&&(!s&&a.hasBeginMusic()?a.appendElement("tempo",u,d,v.tempo):n.tempoForNextLine=["tempo",u,d,v.tempo]),[c-i+1+l,e[i+1],e.substring(i+3,c)]}break;case"[V:":if(c>0)return parseKeyVoice$2.parseVoice(e,i+3,c),[c-i+1+l,e[i+1],e.substring(i+3,c)];break;case"[r:":return[c-i+1+l]}}return[0]},this.letter_to_body_header=function(e,t){if(e.length>=t+3)switch(e.substring(t,t+2)){case"I:":var o=parseDirective$1.addDirective(e.substring(t+2));return o&&r(o,e,t),[e.length];case"M:":var i=this.setMeter(e.substring(t+2));return a.hasBeginMusic()&&i&&a.appendStartingElement("meter",n.iChar+t,n.iChar+e.length,i),[e.length];case"K:":var s=parseKeyVoice$2.parseKey(e.substring(t+2),a.hasBeginMusic());return s.foundClef&&a.hasBeginMusic()&&a.appendStartingElement("clef",n.iChar+t,n.iChar+e.length,n.clef),s.foundKey&&a.hasBeginMusic()&&a.appendStartingElement("key",n.iChar+t,n.iChar+e.length,parseKeyVoice$2.fixKey(n.clef,n.key)),[e.length];case"P:":return a.hasBeginMusic()&&a.appendElement("part",n.iChar+t,n.iChar+e.length,{title:e.substring(t+2)}),[e.length];case"L:":return this.setDefaultLength(e,t+2,e.length),[e.length];case"Q:":var l=e.indexOf("",t+2);-1===l&&(l=e.length);var c=this.setTempo(e,t+2,l,n.iChar);return"delaySet"===c.type?a.appendElement("tempo",n.iChar+t,n.iChar+e.length,this.calcTempo(c.tempo)):"immediate"===c.type&&a.appendElement("tempo",n.iChar+t,n.iChar+e.length,c.tempo),[l,e[t],parseCommon$b.strip(e.substring(t+2))];case"V:":return parseKeyVoice$2.parseVoice(e,t+2,e.length),[e.length,e[t],parseCommon$b.strip(e.substring(t+2))]}return[0]};var s={A:"author",B:"book",C:"composer",D:"discography",F:"url",G:"group",I:"instruction",N:"notes",O:"origin",R:"rhythm",S:"source",W:"unalignedWords",Z:"transcription"};this.parseHeader=function(e){var i=s[e[0]];if(void 0!==i)return"unalignedWords"===i?a.addMetaTextArray(i,parseDirective$1.parseFontChangeLine(t.translateString(t.stripComment(e.substring(2)))),{startChar:n.iChar,endChar:n.iChar+e.length}):a.addMetaText(i,t.translateString(t.stripComment(e.substring(2))),{startChar:n.iChar,endChar:n.iChar+e.length}),{};var l=n.iChar,c=l+e.length;switch(e[0]){case"H":for(a.addMetaText("history",t.translateString(t.stripComment(e.substring(2))),{startChar:n.iChar,endChar:n.iChar+e.length}),e=t.peekLine();e&&":"!==e[1];)t.nextLine(),a.addMetaText("history",t.translateString(t.stripComment(e)),{startChar:n.iChar,endChar:n.iChar+e.length}),e=t.peekLine();break;case"K":this.resolveTempo();var u=parseKeyVoice$2.parseKey(e.substring(2),!1);!n.is_in_header&&a.hasBeginMusic()&&(u.foundClef&&a.appendStartingElement("clef",l,c,n.clef),u.foundKey&&a.appendStartingElement("key",l,c,parseKeyVoice$2.fixKey(n.clef,n.key))),n.is_in_header=!1;break;case"L":this.setDefaultLength(e,2,e.length);break;case"M":n.origMeter=n.meter=this.setMeter(e.substring(2));break;case"P":n.is_in_header?a.addMetaText("partOrder",t.translateString(t.stripComment(e.substring(2))),{startChar:n.iChar,endChar:n.iChar+e.length}):n.partForNextLine={title:t.translateString(t.stripComment(e.substring(2))),startChar:l,endChar:c};break;case"Q":var d=this.setTempo(e,2,e.length,n.iChar);"delaySet"===d.type?n.tempo=d.tempo:"immediate"===d.type&&(o.metaText.tempo?n.tempoForNextLine=["tempo",l,c,d.tempo]:o.metaText.tempo=d.tempo);break;case"T":this.setTitle(e.substring(2));break;case"U":this.addUserDefinition(e,2,e.length);break;case"V":if(parseKeyVoice$2.parseVoice(e,2,e.length),!n.is_in_header)return{newline:!0};break;case"s":return{symbols:!0};case"w":return{words:!0};case"X":break;case"E":case"m":r("Ignored header",e,0);break;default:return{regular:!0}}return{}}},abc_parse_header=ParseHeader$1,parseCommon$a=abc_common,parseKeyVoice$1=abc_parse_key_voice,transpose=abc_transpose,tokenizer,warn,multilineVars,tune,tuneBuilder$1,header,MusicParser=function(e,t,r,n,o,a){tokenizer=e,warn=t,multilineVars=r,tune=n,tuneBuilder$1=o,header=a,this.lineContinuation=!1},nonDecorations="ABCDEFGabcdefgxyzZ[]|^_{",isInTie=function(e,t,r){if(void 0===e.inTie[t])return!1;var n=e.currentVoice?100*e.currentVoice.staffNum+e.currentVoice.index:0;return!(!e.inTie[t][n]||void 0===r.pitches&&"spacer"===r.rest.type)},el={};MusicParser.prototype.parseMusic=function(e){header.resolveTempo(),multilineVars.is_in_header=!1;for(var t=0,r=multilineVars.iChar;tokenizer.isWhiteSpace(e[t])&&t<e.length;)t++;if(t!==e.length&&"%"!==e[t]){var n=multilineVars.start_new_line;void 0===multilineVars.continueall?multilineVars.start_new_line=!0:multilineVars.start_new_line=!1;var o=0,a=header.letter_to_body_header(e,t);a[0]>0&&(t+=a[0],"V"===a[1]&&this.startNewLine());for(var i=0;t<e.length;){var s=t;if("%"===e[t])break;var l=header.letter_to_inline_header(e,t,n);if(l[0]>0)t+=l[0],"V"===l[1]&&(n=!0);else{var c;for((!tuneBuilder$1.hasBeginMusic()||n&&!this.lineContinuation)&&(this.startNewLine(),n=!1);;)if((c=tokenizer.eatWhiteSpace(e,t))>0&&(t+=c),t>0&&""===e[t-1]&&(c=header.letter_to_body_header(e,t))[0]>0&&("V"===c[1]&&this.startNewLine(),t=c[0],multilineVars.start_new_line=!1),(c=letter_to_spacer(e,t))[0]>0&&(t+=c[0]),(c=letter_to_chord(e,t))[0]>0){el.chord||(el.chord=[]);var u=tokenizer.translateString(c[1]);u=u.replace(/;/g,"\n");for(var d=!1,p=0;p<el.chord.length;p++)el.chord[p].position===c[2]&&(d=!0,el.chord[p].name+="\n"+u);!1===d&&(null===c[2]&&c[3]?el.chord.push({name:u,rel_position:c[3]}):el.chord.push({name:u,position:c[2]})),t+=c[0];var f=tokenizer.skipWhiteSpace(e.substring(t));f>0&&(el.force_end_beam_last=!0),t+=f}else if((c=-1===nonDecorations.indexOf(e[t])?letter_to_accent(e,t):[0])[0]>0)null===c[1]?t+1<e.length&&this.startNewLine():c[1].length>0&&(0===c[1].indexOf("style=")?el.style=c[1].substr(6):(void 0===el.decoration&&(el.decoration=[]),"beambr1"===c[1]?el.beambr=1:"beambr2"===c[1]?el.beambr=2:el.decoration.push(c[1]))),t+=c[0];else{if(!((c=letter_to_grace(e,t))[0]>0))break;el.gracenotes=c[1],t+=c[0]}if((c=letter_to_bar(e,t))[0]>0){i=0,void 0!==el.gracenotes&&(el.rest={type:"spacer"},el.duration=.125,multilineVars.addFormattingOptions(el,tune.formatting,"note"),tuneBuilder$1.appendElement("note",r+t,r+t+c[0],el),multilineVars.measureNotEmpty=!0,el={});var h={type:c[1]};if(0===h.type.length)warn("Unknown bar type",e,t);else{if(multilineVars.inEnding&&"bar_thin"!==h.type&&(h.endEnding=!0,multilineVars.inEnding=!1),c[2]&&(h.startEnding=c[2],multilineVars.inEnding&&(h.endEnding=!0),multilineVars.inEnding=!0,"bar_right_repeat"===c[1]?multilineVars.restoreStartEndingHoldOvers():multilineVars.duplicateStartEndingHoldOvers()),void 0!==el.decoration&&(h.decoration=el.decoration),void 0!==el.chord&&(h.chord=el.chord),h.startEnding&&void 0===multilineVars.barFirstEndingNum?multilineVars.barFirstEndingNum=multilineVars.currBarNumber:h.startEnding&&h.endEnding&&multilineVars.barFirstEndingNum?multilineVars.currBarNumber=multilineVars.barFirstEndingNum:h.endEnding&&(multilineVars.barFirstEndingNum=void 0),"bar_invisible"!==h.type&&multilineVars.measureNotEmpty)(void 0===multilineVars.currentVoice||0===multilineVars.currentVoice.staffNum&&0===multilineVars.currentVoice.index)&&(multilineVars.currBarNumber++,multilineVars.barNumbers&&multilineVars.currBarNumber%multilineVars.barNumbers==0&&(h.barNumber=multilineVars.currBarNumber));multilineVars.addFormattingOptions(el,tune.formatting,"bar"),tuneBuilder$1.appendElement("bar",r+s,r+t+c[0],h),multilineVars.measureNotEmpty=!1,el={}}t+=c[0]}else if("&"===e[t])(c=letter_to_overlay(e,t))[0]>0&&(tuneBuilder$1.appendElement("overlay",r,r+1,{}),t+=1,i++);else{if((c=letter_to_open_slurs_and_triplets(e,t)).consumed>0&&(void 0!==c.startSlur&&(el.startSlur=c.startSlur),c.dottedSlur&&(el.dottedSlur=!0),void 0!==c.triplet&&(o>0?warn("Can't nest triplets",e,t):(el.startTriplet=c.triplet,el.tripletMultiplier=c.tripletQ/c.triplet,el.tripletR=c.num_notes,o=void 0===c.num_notes?c.triplet:c.num_notes)),t+=c.consumed),"["===e[t]){t++;for(var v=null,g=!1,m=!1;!m;){var b=letter_to_accent(e,t);b[0]>0&&(t+=b[0]);var A=getCoreNote(e,t,{},!1);if(null!==A&&void 0!==A.pitch)b[0]>0&&0!==b[1].indexOf("style=")&&(void 0===el.decoration&&(el.decoration=[]),el.decoration.push(b[1])),A.end_beam&&(el.end_beam=!0,delete A.end_beam),void 0===el.pitches?(el.duration=A.duration,el.pitches=[A]):el.pitches.push(A),delete A.duration,b[0]>0&&0===b[1].indexOf("style=")&&(el.pitches[el.pitches.length-1].style=b[1].substr(6)),multilineVars.inTieChord[el.pitches.length]&&(A.endTie=!0,multilineVars.inTieChord[el.pitches.length]=void 0),A.startTie&&(multilineVars.inTieChord[el.pitches.length]=!0),t=A.endChar,delete A.endChar;else if(" "===e[t])warn("Spaces are not allowed in chords",e,t),t++;else{if(t<e.length&&"]"===e[t]){t++,0!==multilineVars.next_note_duration&&(el.duration=el.duration*multilineVars.next_note_duration,multilineVars.next_note_duration=0),isInTie(multilineVars,i,el)&&(el.pitches.forEach((function(e){e.endTie=!0})),setIsInTie(multilineVars,i,!1)),o>0&&(!el.rest||"spacer"!==el.rest.type)&&0===--o&&(el.endTriplet=!0);for(var y=!1;t<e.length&&!y;){switch(e[t]){case" ":case"\t":addEndBeam(el);break;case")":void 0===el.endSlur?el.endSlur=1:el.endSlur++;break;case"-":el.pitches.forEach((function(e){e.startTie={}})),setIsInTie(multilineVars,i,!0);break;case">":case"<":var x=getBrokenRhythm(e,t);t+=x[0]-1,multilineVars.next_note_duration=x[2],v?v*=x[1]:v=x[1];break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case"/":var w=tokenizer.getFraction(e,t);v=w.value;var C=e[t=w.index];" "===C&&(g=!0),"-"===C||")"===C||" "===C||"<"===C||">"===C?t--:y=!0;break;default:y=!0}y||t++}}else warn("Expected ']' to end the chords",e,t);void 0!==el.pitches&&(null!==v&&(el.duration=el.duration*v,g&&addEndBeam(el)),multilineVars.addFormattingOptions(el,tune.formatting,"note"),tuneBuilder$1.appendElement("note",r+s,r+t,el),multilineVars.measureNotEmpty=!0,el={}),m=!0}}}else{var k={},_=getCoreNote(e,t,k,!0);if(void 0!==k.endTie&&setIsInTie(multilineVars,i,!0),null!==_){void 0!==_.pitch?(el.pitches=[{}],void 0!==_.accidental&&(el.pitches[0].accidental=_.accidental),el.pitches[0].pitch=_.pitch,el.pitches[0].name=_.name,(_.midipitch||0===_.midipitch)&&(el.pitches[0].midipitch=_.midipitch),void 0!==_.endSlur&&(el.pitches[0].endSlur=_.endSlur),void 0!==_.endTie&&(el.pitches[0].endTie=_.endTie),void 0!==_.startSlur&&(el.pitches[0].startSlur=_.startSlur),void 0!==el.startSlur&&(el.pitches[0].startSlur=el.startSlur),void 0!==el.dottedSlur&&(el.pitches[0].dottedSlur=!0),void 0!==_.startTie&&(el.pitches[0].startTie=_.startTie),void 0!==el.startTie&&(el.pitches[0].startTie=el.startTie)):(el.rest=_.rest,void 0!==_.endSlur&&(el.endSlur=_.endSlur),void 0!==_.endTie&&(el.rest.endTie=_.endTie),void 0!==_.startSlur&&(el.startSlur=_.startSlur),void 0!==_.startTie&&(el.rest.startTie=_.startTie),void 0!==el.startTie&&(el.rest.startTie=el.startTie)),void 0!==_.chord&&(el.chord=_.chord),void 0!==_.duration&&(el.duration=_.duration),void 0!==_.decoration&&(el.decoration=_.decoration),void 0!==_.graceNotes&&(el.graceNotes=_.graceNotes),delete el.startSlur,delete el.dottedSlur,isInTie(multilineVars,i,el)&&(void 0!==el.pitches?el.pitches[0].endTie=!0:"spacer"!==el.rest.type&&(el.rest.endTie=!0),setIsInTie(multilineVars,i,!1)),(_.startTie||el.startTie)&&setIsInTie(multilineVars,i,!0),t=_.endChar,o>0&&(!_.rest||"spacer"!==_.rest.type)&&0===--o&&(el.endTriplet=!0),_.end_beam&&addEndBeam(el),el.rest&&"rest"===el.rest.type&&1===el.duration&&durationOfMeasure(multilineVars)<=1&&(el.rest.type="whole",el.duration=durationOfMeasure(multilineVars));el.duration<1&&-1===[.5,.75,.875,.9375,.96875,.984375,.25,.375,.4375,.46875,.484375,.4921875,.125,.1875,.21875,.234375,.2421875,.24609375,.0625,.09375,.109375,.1171875,.12109375,.123046875,.03125,.046875,.0546875,.05859375,.060546875,.0615234375,.015625,.0234375,.02734375,.029296875,.0302734375,.03076171875].indexOf(el.duration)&&0!==el.duration&&(el.rest&&"spacer"===el.rest.type||warn("Duration not representable: "+e.substring(s,t),e,t)),multilineVars.addFormattingOptions(el,tune.formatting,"note"),tuneBuilder$1.appendElement("note",r+s,r+t,el),multilineVars.measureNotEmpty=!0,el={}}}t===s&&(" "!==e[t]&&"`"!==e[t]&&warn("Unknown character ignored",e,t),t++)}}}this.lineContinuation=e.indexOf("")>=0||a[0]>0,this.lineContinuation||(el={})}};var setIsInTie=function(e,t,r){var n=e.currentVoice?100*e.currentVoice.staffNum+e.currentVoice.index:0;void 0===e.inTie[t]&&(e.inTie[t]=[]),e.inTie[t][n]=r},letter_to_chord=function(e,t){if('"'===e[t]){var r=tokenizer.getBrackettedSubstring(e,t,5);if(r[2]||warn("Missing the closing quote while parsing the chord symbol",e,t),r[0]>0&&r[1].length>0&&"^"===r[1][0])r[1]=r[1].substring(1),r[2]="above";else if(r[0]>0&&r[1].length>0&&"_"===r[1][0])r[1]=r[1].substring(1),r[2]="below";else if(r[0]>0&&r[1].length>0&&"<"===r[1][0])r[1]=r[1].substring(1),r[2]="left";else if(r[0]>0&&r[1].length>0&&">"===r[1][0])r[1]=r[1].substring(1),r[2]="right";else if(r[0]>0&&r[1].length>0&&"@"===r[1][0]){r[1]=r[1].substring(1);var n=tokenizer.getFloat(r[1]);0===n.digits&&warn("Missing first position in absolutely positioned annotation.",e,t),r[1]=r[1].substring(n.digits),","!==r[1][0]&&warn("Missing comma absolutely positioned annotation.",e,t),r[1]=r[1].substring(1);var o=tokenizer.getFloat(r[1]);0===o.digits&&warn("Missing second position in absolutely positioned annotation.",e,t),r[1]=r[1].substring(o.digits);var a=tokenizer.skipWhiteSpace(r[1]);r[1]=r[1].substring(a),r[2]=null,r[3]={x:n.value,y:o.value}}else!0!==multilineVars.freegchord&&(r[1]=r[1].replace(/([ABCDEFG0-9])b/g,"$1♭"),r[1]=r[1].replace(/([ABCDEFG0-9])#/g,"$1♯"),r[1]=r[1].replace(/^([ABCDEFG])([♯♭]?)o([^A-Za-z])/g,"$1$2°$3"),r[1]=r[1].replace(/^([ABCDEFG])([♯♭]?)o$/g,"$1$2°"),r[1]=r[1].replace(/^([ABCDEFG])([♯♭]?)0([^A-Za-z])/g,"$1$2ø$3"),r[1]=r[1].replace(/^([ABCDEFG])([♯♭]?)\^([^A-Za-z])/g,"$1$2∆$3")),r[2]="default",r[1]=transpose.chordName(multilineVars,r[1]);return r}return[0,""]},letter_to_grace=function(e,t){if("{"===e[t]){var r=tokenizer.getBrackettedSubstring(e,t,1,"}");r[2]||warn("Missing the closing '}' while parsing grace note",e,t),")"===e[t+r[0]]&&(r[0]++,r[1]+=")");for(var n=[],o=0,a=!1;o<r[1].length;){var i=!1;"/"===r[1][o]&&(i=!0,o++);var s=getCoreNote(r[1],o,{},!1);null!==s?(s.duration=s.duration/(8*multilineVars.default_length),i&&(s.acciaccatura=!0),n.push(s),a&&(s.endTie=!0,a=!1),s.startTie&&(a=!0),o=s.endChar,delete s.endChar,s.end_beam&&(s.endBeam=!0,delete s.end_beam)):(" "===r[1][o]?n.length>0&&(n[n.length-1].endBeam=!0):warn("Unknown character '"+r[1][o]+"' while parsing grace note",e,t),o++)}if(n.length)return[r[0],n]}return[0]};function letter_to_overlay(e,t){if("&"===e[t]){for(var r=t;e[t]&&":"!==e[t]&&"|"!==e[t];)t++;return[t-r,e.substring(r+1,t)]}return[0]}function durationOfMeasure(e){var t=e.origMeter;return t&&"specified"===t.type&&t.value&&0!==t.value.length?parseInt(t.value[0].num,10)/parseInt(t.value[0].den,10):1}var legalAccents=["trill","lowermordent","uppermordent","mordent","pralltriller","accent","fermata","invertedfermata","tenuto","0","1","2","3","4","5","+","wedge","open","thumb","snap","turn","roll","breath","shortphrase","mediumphrase","longphrase","segno","coda","D.S.","D.C.","fine","beambr1","beambr2","slide","marcato","upbow","downbow","/","//","///","////","trem1","trem2","trem3","trem4","turnx","invertedturn","invertedturnx","trill(","trill)","arpeggio","xstem","mark","umarcato","style=normal","style=harmonic","style=rhythm","style=x","style=triangle","D.C.alcoda","D.C.alfine","D.S.alcoda","D.S.alfine","editorial","courtesy"],volumeDecorations=["p","pp","f","ff","mf","mp","ppp","pppp","fff","ffff","sfz"],dynamicDecorations=["crescendo(","crescendo)","diminuendo(","diminuendo)","glissando(","glissando)"],accentPseudonyms=[["<","accent"],[">","accent"],["tr","trill"],["plus","+"],["emphasis","accent"],["^","umarcato"],["marcato","umarcato"]],accentDynamicPseudonyms=[["<(","crescendo("],["<)","crescendo)"],[">(","diminuendo("],[">)","diminuendo)"]],letter_to_accent=function(e,t){var r=multilineVars.macros[e[t]];if(void 0!==r)return"!"!==r[0]&&"+"!==r[0]||(r=r.substring(1)),"!"!==r[r.length-1]&&"+"!==r[r.length-1]||(r=r.substring(0,r.length-1)),legalAccents.includes(r)?[1,r]:volumeDecorations.includes(r)?("hidden"===multilineVars.volumePosition&&(r=""),[1,r]):dynamicDecorations.includes(r)?("hidden"===multilineVars.dynamicPosition&&(r=""),[1,r]):(multilineVars.ignoredDecorations.includes(r)||warn("Unknown macro: "+r,e,t),[1,""]);switch(e[t]){case".":if("("===e[t+1]||"-"===e[t+1])break;return[1,"staccato"];case"u":return[1,"upbow"];case"v":return[1,"downbow"];case"~":return[1,"irishroll"];case"!":case"+":var n=tokenizer.getBrackettedSubstring(e,t,5);if(n[1].length>1&&("^"===n[1][0]||"_"===n[1][0])&&(n[1]=n[1].substring(1)),legalAccents.includes(n[1]))return n;if(volumeDecorations.includes(n[1]))return"hidden"===multilineVars.volumePosition&&(n[1]=""),n;if(dynamicDecorations.includes(n[1]))return"hidden"===multilineVars.dynamicPosition&&(n[1]=""),n;var o=accentPseudonyms.findIndex((function(e){return n[1]===e[0]}));return o>=0?(n[1]=accentPseudonyms[o][1],n):(o=accentDynamicPseudonyms.findIndex((function(e){return n[1]===e[0]})))>=0?(n[1]=accentDynamicPseudonyms[o][1],"hidden"===multilineVars.dynamicPosition&&(n[1]=""),n):"!"!==e[t]||1!==n[0]&&"!"===e[t+n[0]-1]?(warn("Unknown decoration: "+n[1],e,t),n[1]="",n):[1,null];case"H":return[1,"fermata"];case"J":return[1,"slide"];case"L":return[1,"accent"];case"M":return[1,"mordent"];case"O":return[1,"coda"];case"P":return[1,"pralltriller"];case"R":return[1,"roll"];case"S":return[1,"segno"];case"T":return[1,"trill"]}return[0,0]},letter_to_spacer=function(e,t){for(var r=t;tokenizer.isWhiteSpace(e[t]);)t++;return[t-r]},letter_to_bar=function(e,t){var r=tokenizer.getBarLine(e,t);if(0===r.len)return[0,""];if(r.warn)return warn(r.warn,e,t),[r.len,""];for(var n=0;n<e.length&&" "===e[t+r.len+n];n++);var o=r.len;if("["===e[t+r.len+n]&&(r.len+=n+1),'"'===e[t+r.len]&&"["===e[t+r.len-1]){var a=tokenizer.getBrackettedSubstring(e,t+r.len,5);return[r.len+a[0],r.token,a[1]]}var i=tokenizer.getTokenOf(e.substring(t+r.len),"1234567890-,");return 0===i.len||"-"===i.token[0]?[o,r.token]:[r.len+i.len,r.token,i.token]},tripletQ={2:3,3:2,4:3,5:2,6:2,7:2,8:3,9:2},letter_to_open_slurs_and_triplets=function(e,t){var r={},n=t;for("."===e[t]&&"("===e[t+1]&&(r.dottedSlur=!0,t++);"("===e[t]||tokenizer.isWhiteSpace(e[t]);)"("===e[t]&&(t+1<e.length&&e[t+1]>="2"&&e[t+1]<="9"?(void 0!==r.triplet?warn("Can't nest triplets",e,t):(r.triplet=e[t+1]-"0",r.tripletQ=tripletQ[r.triplet],r.num_notes=r.triplet,t+2<e.length&&":"===e[t+2]&&(t+3<e.length&&":"===e[t+3]?t+4<e.length&&e[t+4]>="1"&&e[t+4]<="9"?(r.num_notes=e[t+4]-"0",t+=3):warn("expected number after the two colons after the triplet to mark the duration",e,t):t+3<e.length&&e[t+3]>="1"&&e[t+3]<="9"?(r.tripletQ=e[t+3]-"0",t+4<e.length&&":"===e[t+4]?t+5<e.length&&e[t+5]>="1"&&e[t+5]<="9"&&(r.num_notes=e[t+5]-"0",t+=4):t+=2):warn("expected number after the triplet to mark the duration",e,t))),t++):void 0===r.startSlur?r.startSlur=1:r.startSlur++),t++;return r.consumed=t-n,r};MusicParser.prototype.startNewLine=function(){var e={startChar:-1,endChar:-1};multilineVars.partForNextLine.title&&(e.part=multilineVars.partForNextLine),e.clef=multilineVars.currentVoice&&void 0!==multilineVars.staves[multilineVars.currentVoice.staffNum].clef?parseCommon$a.clone(multilineVars.staves[multilineVars.currentVoice.staffNum].clef):parseCommon$a.clone(multilineVars.clef);var t=multilineVars.currentVoice?multilineVars.currentVoice.scoreTranspose:0;if(e.key=parseKeyVoice$1.standardKey(multilineVars.key.root+multilineVars.key.acc+multilineVars.key.mode,multilineVars.key.root,multilineVars.key.acc,t),e.key.mode=multilineVars.key.mode,multilineVars.key.impliedNaturals&&(e.key.impliedNaturals=multilineVars.key.impliedNaturals),multilineVars.key.explicitAccidentals)for(var r=0;r<multilineVars.key.explicitAccidentals.length;r++){for(var n=!1,o=0;o<e.key.accidentals.length;o++)e.key.accidentals[o].note===multilineVars.key.explicitAccidentals[r].note&&(e.key.accidentals[o].acc=multilineVars.key.explicitAccidentals[r].acc,n=!0);n||e.key.accidentals.push(multilineVars.key.explicitAccidentals[r])}if(multilineVars.targetKey=e.key,e.key.explicitAccidentals&&delete e.key.explicitAccidentals,parseKeyVoice$1.addPosToKey(e.clef,e.key),null!==multilineVars.meter?(multilineVars.currentVoice?(multilineVars.staves.forEach((function(e){e.meter=multilineVars.meter})),e.meter=multilineVars.staves[multilineVars.currentVoice.staffNum].meter,multilineVars.staves[multilineVars.currentVoice.staffNum].meter=null):e.meter=multilineVars.meter,multilineVars.meter=null):multilineVars.currentVoice&&multilineVars.staves[multilineVars.currentVoice.staffNum].meter&&(e.meter=multilineVars.staves[multilineVars.currentVoice.staffNum].meter,multilineVars.staves[multilineVars.currentVoice.staffNum].meter=null),multilineVars.currentVoice&&multilineVars.currentVoice.name&&(e.name=multilineVars.currentVoice.name),multilineVars.vocalfont&&(e.vocalfont=multilineVars.vocalfont),multilineVars.tripletfont&&(e.tripletfont=multilineVars.tripletfont),multilineVars.gchordfont&&(e.gchordfont=multilineVars.gchordfont),multilineVars.style&&(e.style=multilineVars.style),multilineVars.currentVoice){var a=multilineVars.staves[multilineVars.currentVoice.staffNum];a.brace&&(e.brace=a.brace),a.bracket&&(e.bracket=a.bracket),a.connectBarLines&&(e.connectBarLines=a.connectBarLines),a.name&&(e.name=a.name[multilineVars.currentVoice.index]),a.subname&&(e.subname=a.subname[multilineVars.currentVoice.index]),multilineVars.currentVoice.stem&&(e.stem=multilineVars.currentVoice.stem),multilineVars.currentVoice.stafflines&&(e.stafflines=multilineVars.currentVoice.stafflines),multilineVars.currentVoice.staffscale&&(e.staffscale=multilineVars.currentVoice.staffscale),multilineVars.currentVoice.scale&&(e.scale=multilineVars.currentVoice.scale),multilineVars.currentVoice.color&&(e.color=multilineVars.currentVoice.color),multilineVars.currentVoice.style&&(e.style=multilineVars.currentVoice.style),multilineVars.currentVoice.transpose&&(e.clef.transpose=multilineVars.currentVoice.transpose)}var i=void 0===multilineVars.currentVoice||0===multilineVars.currentVoice.staffNum&&0===multilineVars.currentVoice.index;0===multilineVars.barNumbers&&i&&1!==multilineVars.currBarNumber&&(e.barNumber=multilineVars.currBarNumber),tuneBuilder$1.startNewLine(e),multilineVars.key.impliedNaturals&&delete multilineVars.key.impliedNaturals,multilineVars.partForNextLine={},4===multilineVars.tempoForNextLine.length&&tuneBuilder$1.appendElement(multilineVars.tempoForNextLine[0],multilineVars.tempoForNextLine[1],multilineVars.tempoForNextLine[2],multilineVars.tempoForNextLine[3]),multilineVars.tempoForNextLine=[]};var addEndBeam=function(e){return void 0!==e.duration&&e.duration<.25&&(e.end_beam=!0),e},pitches={A:5,B:6,C:0,D:1,E:2,F:3,G:4,a:12,b:13,c:7,d:8,e:9,f:10,g:11},rests={x:"invisible",X:"invisible-multimeasure",y:"spacer",z:"rest",Z:"multimeasure"},accMap={dblflat:"__",flat:"_",natural:"=",sharp:"^",dblsharp:"^^",quarterflat:"_/",quartersharp:"^/"},getCoreNote=function(e,t,r,n){var o,a=function(e){return"octave"===e||"duration"===e||"Zduration"===e||"broken_rhythm"===e||"end_slur"===e};"."===e[t]&&"-"===e[t+1]&&(o=!0,t++);for(var i="startSlur",s=!1;;){switch(e[t]){case"(":if("startSlur"!==i)return a(i)?(r.endChar=t,r):null;void 0===r.startSlur?r.startSlur=1:r.startSlur++;break;case")":if(!a(i))return null;void 0===r.endSlur?r.endSlur=1:r.endSlur++;break;case"^":if("startSlur"===i)r.accidental="sharp",i="sharp2";else{if("sharp2"!==i)return a(i)?(r.endChar=t,r):null;r.accidental="dblsharp",i="pitch"}break;case"_":if("startSlur"===i)r.accidental="flat",i="flat2";else{if("flat2"!==i)return a(i)?(r.endChar=t,r):null;r.accidental="dblflat",i="pitch"}break;case"=":if("startSlur"!==i)return a(i)?(r.endChar=t,r):null;r.accidental="natural",i="pitch";break;case"A":case"B":case"C":case"D":case"E":case"F":case"G":case"a":case"b":case"c":case"d":case"e":case"f":case"g":if("startSlur"!==i&&"sharp2"!==i&&"flat2"!==i&&"pitch"!==i)return a(i)?(r.endChar=t,r):null;if(r.pitch=pitches[e[t]],r.pitch+=7*(multilineVars.currentVoice&&void 0!==multilineVars.currentVoice.octave?multilineVars.currentVoice.octave:multilineVars.octave),r.name=e[t],r.accidental&&(r.name=accMap[r.accidental]+r.name),transpose.note(multilineVars,r),i="octave",n&&0!==multilineVars.next_note_duration?(r.duration=multilineVars.default_length*multilineVars.next_note_duration,multilineVars.next_note_duration=0,s=!0):r.duration=multilineVars.default_length,multilineVars.clef&&"perc"===multilineVars.clef.type||multilineVars.currentVoice&&"perc"===multilineVars.currentVoice.clef){var l=e[t];r.accidental&&(l=accMap[r.accidental]+l),tune.formatting&&tune.formatting.midi&&tune.formatting.midi.drummap&&(r.midipitch=tune.formatting.midi.drummap[l])}break;case",":if("octave"!==i)return a(i)?(r.endChar=t,r):null;r.pitch-=7,r.name+=",";break;case"'":if("octave"!==i)return a(i)?(r.endChar=t,r):null;r.pitch+=7,r.name+="'";break;case"x":case"X":case"y":case"z":case"Z":if("startSlur"!==i)return a(i)?(r.endChar=t,r):null;r.rest={type:rests[e[t]]},delete r.accidental,delete r.startSlur,delete r.startTie,delete r.endSlur,delete r.endTie,delete r.end_beam,delete r.grace_notes,r.rest.type.indexOf("multimeasure")>=0?(r.duration=tune.getBarLength(),r.rest.text=1,i="Zduration"):(n&&0!==multilineVars.next_note_duration?(r.duration=multilineVars.default_length*multilineVars.next_note_duration,multilineVars.next_note_duration=0,s=!0):r.duration=multilineVars.default_length,i="duration");break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case"0":case"/":if("octave"===i||"duration"===i){var c=tokenizer.getFraction(e,t);for(r.duration=r.duration*c.value,r.endChar=c.index;c.index<e.length&&(tokenizer.isWhiteSpace(e[c.index])||"-"===e[c.index]);)"-"===e[c.index]?r.startTie={}:r=addEndBeam(r),c.index++;t=c.index-1,i="broken_rhythm"}else if("sharp2"===i)r.accidental="quartersharp",i="pitch";else{if("flat2"!==i){if("Zduration"===i){var u=tokenizer.getNumber(e,t);return r.duration=u.num*tune.getBarLength(),r.rest.text=u.num,r.endChar=u.index,r}return null}r.accidental="quarterflat",i="pitch"}break;case"-":if("startSlur"===i)tuneBuilder$1.addTieToLastNote(o),r.endTie=!0;else{if("octave"!==i&&"duration"!==i&&"end_slur"!==i)return"broken_rhythm"===i?(r.endChar=t,r):null;if(r.startTie={},s||!n)return tokenizer.isWhiteSpace(e[t+1])&&addEndBeam(r),r.endChar=t+1,r;i="broken_rhythm"}break;case" ":case"\t":if(!a(i))return null;r.end_beam=!0,o=!1;do{"."===e[t]&&"-"===e[t+1]&&(o=!0,t++),"-"===e[t]&&(r.startTie={},o&&(r.startTie.style="dotted")),t++}while(t<e.length&&(tokenizer.isWhiteSpace(e[t])||"-"===e[t])||"."===e[t]&&"-"===e[t+1]);if(r.endChar=t,s||!n||"<"!==e[t]&&">"!==e[t])return r;t--,i="broken_rhythm";break;case">":case"<":if(!a(i))return null;if(!n)return r.endChar=t,r;var d=getBrokenRhythm(e,t);t+=d[0]-1,multilineVars.next_note_duration=d[2],r.duration=d[1]*r.duration,i="end_slur";break;default:return a(i)?(r.endChar=t,r):null}if(++t===e.length)return a(i)?(r.endChar=t,r):null}return null},getBrokenRhythm=function(e,t){switch(e[t]){case">":return t<e.length-2&&">"===e[t+1]&&">"===e[t+2]?[3,1.875,.125]:t<e.length-1&&">"===e[t+1]?[2,1.75,.25]:[1,1.5,.5];case"<":return t<e.length-2&&"<"===e[t+1]&&"<"===e[t+2]?[3,.125,1.875]:t<e.length-1&&"<"===e[t+1]?[2,.25,1.75]:[1,.5,1.5]}return null},abc_parse_music=MusicParser,parseCommon$9=abc_common,Tokenizer$1=function(e,t){this.lineIndex=0,this.lines=e,this.multilineVars=t,this.skipWhiteSpace=function(e){for(var t=0;t<e.length;t++)if(!this.isWhiteSpace(e[t]))return t;return e.length};var r=function(e,t){return t>=e.length};this.eatWhiteSpace=function(e,t){for(var r=t;r<e.length;r++)if(!this.isWhiteSpace(e[r]))return r-t;return r-t},this.getKeyPitch=function(e){var t=this.skipWhiteSpace(e);if(r(e,t))return{len:0};switch(e[t]){case"A":return{len:t+1,token:"A"};case"B":return{len:t+1,token:"B"};case"C":return{len:t+1,token:"C"};case"D":return{len:t+1,token:"D"};case"E":return{len:t+1,token:"E"};case"F":return{len:t+1,token:"F"};case"G":return{len:t+1,token:"G"}}return{len:0}},this.getSharpFlat=function(e){if("bass"===e)return{len:0};switch(e[0]){case"#":return{len:1,token:"#"};case"b":return{len:1,token:"b"}}return{len:0}},this.getMode=function(e){var t=function(e,t){for(;t<e.length&&(e[t]>="a"&&e[t]<="z"||e[t]>="A"&&e[t]<="Z");)t++;return t},n=this.skipWhiteSpace(e);if(r(e,n))return{len:0};var o=e.substring(n,n+3).toLowerCase();switch((o.length>1&&" "===o[1]||"^"===o[1]||"_"===o[1]||"="===o[1])&&(o=o[0]),o){case"mix":return{len:t(e,n),token:"Mix"};case"dor":return{len:t(e,n),token:"Dor"};case"phr":return{len:t(e,n),token:"Phr"};case"lyd":return{len:t(e,n),token:"Lyd"};case"loc":return{len:t(e,n),token:"Loc"};case"aeo":case"min":case"m":return{len:t(e,n),token:"m"};case"maj":case"ion":return{len:t(e,n),token:""}}return{len:0}},this.getClef=function(e,t){var n=e,o=this.skipWhiteSpace(e);if(r(e,o))return{len:0};var a=!1,i=e.substring(o);if(parseCommon$9.startsWith(i,"clef=")&&(a=!0,i=i.substring(5),o+=5),0===i.length&&a)return{len:o+5,warn:"No clef specified: "+n};var s=this.skipWhiteSpace(i);if(r(i,s))return{len:0};s>0&&(o+=s,i=i.substring(s));var l=null;if(parseCommon$9.startsWith(i,"treble"))l="treble";else if(parseCommon$9.startsWith(i,"bass3"))l="bass3";else if(parseCommon$9.startsWith(i,"bass"))l="bass";else if(parseCommon$9.startsWith(i,"tenor"))l="tenor";else if(parseCommon$9.startsWith(i,"alto2"))l="alto2";else if(parseCommon$9.startsWith(i,"alto1"))l="alto1";else if(parseCommon$9.startsWith(i,"alto"))l="alto";else if(!t&&a&&parseCommon$9.startsWith(i,"none"))l="none";else if(parseCommon$9.startsWith(i,"perc"))l="perc";else if(!t&&a&&parseCommon$9.startsWith(i,"C"))l="tenor";else if(!t&&a&&parseCommon$9.startsWith(i,"F"))l="bass";else{if(t||!a||!parseCommon$9.startsWith(i,"G"))return{len:o+5,warn:"Unknown clef specified: "+n};l="treble"}return i=i.substring(l.length),(s=this.isMatch(i,"+8"))>0?l+="+8":(s=this.isMatch(i,"-8"))>0&&(l+="-8"),{len:o+l.length,token:l,explicit:a}},this.getBarLine=function(e,t){switch(e[t]){case"]":switch(e[++t]){case"|":return{len:2,token:"bar_thick_thin"};case"[":return e[++t]>="1"&&e[t]<="9"||'"'===e[t]?{len:2,token:"bar_invisible"}:{len:1,warn:"Unknown bar symbol"};default:return{len:1,token:"bar_invisible"}}case":":switch(e[++t]){case":":return{len:2,token:"bar_dbl_repeat"};case"|":switch(e[++t]){case"]":return"|"===e[++t]&&":"===e[++t]?{len:5,token:"bar_dbl_repeat"}:{len:3,token:"bar_right_repeat"};case"|":return":"===e[++t]?{len:4,token:"bar_dbl_repeat"}:{len:3,token:"bar_right_repeat"};default:return{len:2,token:"bar_right_repeat"}}default:return{len:1,warn:"Unknown bar symbol"}}case"[":if("|"!==e[++t])return e[t]>="1"&&e[t]<="9"||'"'===e[t]?{len:1,token:"bar_invisible"}:{len:0};switch(e[++t]){case":":return{len:3,token:"bar_left_repeat"};case"]":return{len:3,token:"bar_invisible"};default:return{len:2,token:"bar_thick_thin"}}case"|":switch(e[++t]){case"]":return{len:2,token:"bar_thin_thick"};case"|":return":"===e[++t]?{len:3,token:"bar_left_repeat"}:{len:2,token:"bar_thin_thin"};case":":for(var r=0;":"===e[t+r];)r++;return{len:1+r,token:"bar_left_repeat"};default:return{len:1,token:"bar_thin"}}}return{len:0}},this.getTokenOf=function(e,t){for(var r=0;r<e.length;r++)if(t.indexOf(e[r])<0)return{len:r,token:e.substring(0,r)};return{len:r,token:e}},this.getToken=function(e,t,r){for(var n=t;n<r&&!this.isWhiteSpace(e[n]);)n++;return e.substring(t,n)},this.isMatch=function(e,t){var n=this.skipWhiteSpace(e);return r(e,n)?0:parseCommon$9.startsWith(e.substring(n),t)?n+t.length:0},this.getPitchFromTokens=function(e){var t={};if(t.position={A:5,B:6,C:0,D:1,E:2,F:3,G:4,a:12,b:13,c:7,d:8,e:9,f:10,g:11}[e[0].token],void 0===t.position)return{warn:"Pitch expected. Found: "+e[0].token};for(e.shift();e.length;)switch(e[0].token){case",":t.position-=7,e.shift();break;case"'":t.position+=7,e.shift();break;default:return t}return t},this.getKeyAccidentals2=function(e){for(var t;e.length>0;){var r;if("^"===e[0].token){if(r="sharp",e.shift(),0===e.length)return{accs:t,warn:"Expected note name after "+r};switch(e[0].token){case"^":r="dblsharp",e.shift();break;case"/":r="quartersharp",e.shift()}}else if("="===e[0].token)r="natural",e.shift();else{if("_"!==e[0].token)return{accs:t};if(r="flat",e.shift(),0===e.length)return{accs:t,warn:"Expected note name after "+r};switch(e[0].token){case"_":r="dblflat",e.shift();break;case"/":r="quarterflat",e.shift()}}if(0===e.length)return{accs:t,warn:"Expected note name after "+r};switch(e[0].token[0]){case"a":case"b":case"c":case"d":case"e":case"f":case"g":case"A":case"B":case"C":case"D":case"E":case"F":case"G":void 0===t&&(t=[]),t.push({acc:r,note:e[0].token[0]}),1===e[0].token.length?e.shift():e[0].token=e[0].token.substring(1);break;default:return{accs:t,warn:"Expected note name after "+r+" Found: "+e[0].token}}}return{accs:t}},this.getKeyAccidental=function(e){var t={"^":"sharp","^^":"dblsharp","=":"natural",_:"flat",__:"dblflat","_/":"quarterflat","^/":"quartersharp"},n=this.skipWhiteSpace(e);if(r(e,n))return{len:0};var o=null;switch(e[n]){case"^":case"_":case"=":o=e[n];break;default:return{len:0}}if(n++,r(e,n))return{len:1,warn:"Expected note name after accidental"};switch(e[n]){case"a":case"b":case"c":case"d":case"e":case"f":case"g":case"A":case"B":case"C":case"D":case"E":case"F":case"G":return{len:n+1,token:{acc:t[o],note:e[n]}};case"^":case"_":case"/":if(o+=e[n],n++,r(e,n))return{len:2,warn:"Expected note name after accidental"};switch(e[n]){case"a":case"b":case"c":case"d":case"e":case"f":case"g":case"A":case"B":case"C":case"D":case"E":case"F":case"G":return{len:n+1,token:{acc:t[o],note:e[n]}};default:return{len:2,warn:"Expected note name after accidental"}}break;default:return{len:1,warn:"Expected note name after accidental"}}},this.isWhiteSpace=function(e){return" "===e||"\t"===e||""===e},this.getMeat=function(e,t,r){var n=e.indexOf("%",t);for(n>=0&&n<r&&(r=n);t<r&&(" "===e[t]||"\t"===e[t]||""===e[t]);)t++;for(;t<r&&(" "===e[r-1]||"\t"===e[r-1]||""===e[r-1]);)r--;return{start:t,end:r}};var n=function(e){return e>="A"&&e<="Z"||e>="a"&&e<="z"},o=function(e){return e>="0"&&e<="9"};this.tokenize=function(e,t,r,a){var i=this.getMeat(e,t,r);t=i.start,r=i.end;for(var s,l=[];t<r;){if('"'===e[t]){for(s=t+1;s<r&&'"'!==e[s];)s++;l.push({type:"quote",token:e.substring(t+1,s),start:t+1,end:s}),s++}else if(n(e[t])){if(s=t+1,a)for(;s<r&&!this.isWhiteSpace(e[s]);)s++;else for(;s<r&&n(e[s]);)s++;l.push({type:"alpha",token:e.substring(t,s),continueId:o(e[s]),start:t,end:s}),t=s+1}else if("."===e[t]&&o(e[s+1])){s=t+1;for(var c;s<r&&o(e[s]);)s++;c=parseFloat(e.substring(t,s)),l.push({type:"number",token:e.substring(t,s),intt:null,floatt:c,continueId:n(e[s]),start:t,end:s}),t=s+1}else if(o(e[t])||"-"===e[t]&&o(e[s+1])){s=t+1;for(var u,d=null;s<r&&o(e[s]);)s++;if("."===e[s]&&o(e[s+1]))for(s++;s<r&&o(e[s]);)s++;else d=parseInt(e.substring(t,s));u=parseFloat(e.substring(t,s)),l.push({type:"number",token:e.substring(t,s),intt:d,floatt:u,continueId:n(e[s]),start:t,end:s}),t=s+1}else" "===e[t]||"\t"===e[t]||l.push({type:"punct",token:e[t],start:t,end:t+1}),s=t+1;t=s}return l},this.getVoiceToken=function(e,t,r){for(var n=t;n<r&&this.isWhiteSpace(e[n])||"="===e[n];)n++;if('"'===e[n]){var o=e.indexOf('"',n+1);return-1===o||o>=r?{len:1,err:"Missing close quote"}:{len:o-t+1,token:this.translateString(e.substring(n+1,o))}}for(var a=n;a<r&&!this.isWhiteSpace(e[a])&&"="!==e[a];)a++;return{len:a-t+1,token:e.substring(n,a)}};var a={"`a":"à","'a":"á","^a":"â","~a":"ã",'"a':"ä",oa:"å",aa:"å","=a":"ā",ua:"ă",";a":"ą","`e":"è","'e":"é","^e":"ê",'"e':"ë","=e":"ē",ue:"ĕ",";e":"ę",".e":"ė","`i":"ì","'i":"í","^i":"î",'"i':"ï","=i":"ī",ui:"ĭ",";i":"į","`o":"ò","'o":"ó","^o":"ô","~o":"õ",'"o':"ö","=o":"ō",uo:"ŏ","/o":"ø","`u":"ù","'u":"ú","^u":"û","~u":"ũ",'"u':"ü",ou:"ů","=u":"ū",uu:"ŭ",";u":"ų","`A":"À","'A":"Á","^A":"Â","~A":"Ã",'"A':"Ä",oA:"Å",AA:"Å","=A":"Ā",uA:"Ă",";A":"Ą","`E":"È","'E":"É","^E":"Ê",'"E':"Ë","=E":"Ē",uE:"Ĕ",";E":"Ę",".E":"Ė","`I":"Ì","'I":"Í","^I":"Î","~I":"Ĩ",'"I':"Ï","=I":"Ī",uI:"Ĭ",";I":"Į",".I":"İ","`O":"Ò","'O":"Ó","^O":"Ô","~O":"Õ",'"O':"Ö","=O":"Ō",uO:"Ŏ","/O":"Ø","`U":"Ù","'U":"Ú","^U":"Û","~U":"Ũ",'"U':"Ü",oU:"Ů","=U":"Ū",uU:"Ŭ",";U":"Ų",ae:"æ",AE:"Æ",oe:"œ",OE:"Œ",ss:"ß","'c":"ć","^c":"ĉ",uc:"č",cc:"ç",".c":"ċ",cC:"Ç","'C":"Ć","^C":"Ĉ",uC:"Č",".C":"Ċ","~N":"Ñ","~n":"ñ","=s":"š",vs:"š",DH:"Ð",dh:"ð",HO:"Ő",Ho:"ő",HU:"Ű",Hu:"ű","'Y":"Ý","'y":"ý","^Y":"Ŷ","^y":"ŷ",'"Y':"Ÿ",'"y':"ÿ",vS:"Š",vZ:"Ž",vz:"ž"},i={"#":"♯",b:"♭","=":"♮"},s={201:"♯",202:"♭",203:"♮",241:"¡",242:"¢",252:"a",262:"2",272:"o",302:"Â",312:"Ê",322:"Ò",332:"Ú",342:"â",352:"ê",362:"ò",372:"ú",243:"£",253:"«",263:"3",273:"»",303:"Ã",313:"Ë",323:"Ó",333:"Û",343:"ã",353:"ë",363:"ó",373:"û",244:"¤",254:"¬",264:" ́",274:"1⁄4",304:"Ä",314:"Ì",324:"Ô",334:"Ü",344:"ä",354:"ì",364:"ô",374:"ü",245:"¥",255:"-",265:"μ",275:"1⁄2",305:"Å",315:"Í",325:"Õ",335:"Ý",345:"å",355:"í",365:"õ",375:"ý",246:"¦",256:"®",266:"¶",276:"3⁄4",306:"Æ",316:"Î",326:"Ö",336:"Þ",346:"æ",356:"î",366:"ö",376:"þ",247:"§",257:" ̄",267:"·",277:"¿",307:"Ç",317:"Ï",327:"×",337:"ß",347:"ç",357:"ï",367:"÷",377:"ÿ",250:" ̈",260:"°",270:" ̧",300:"À",310:"È",320:"Ð",330:"Ø",340:"à",350:"è",360:"ð",370:"ø",251:"©",261:"±",271:"1",301:"Á",311:"É",321:"Ñ",331:"Ù",341:"á",351:"é",361:"ñ",371:"ù"};this.translateString=function(e){var t=e.split("\\");if(1===t.length)return e;var r=null;return t.forEach((function(e){if(null===r)r=e;else{var t=a[e.substring(0,2)];void 0!==t?r+=t+e.substring(2):void 0!==(t=s[e.substring(0,3)])?r+=t+e.substring(3):(t=i[e.substring(0,1)],r+=void 0!==t?t+e.substring(1):"\\"+e)}})),r},this.getNumber=function(e,t){for(var r=0;t<e.length;)switch(e[t]){case"0":r*=10,t++;break;case"1":r=10*r+1,t++;break;case"2":r=10*r+2,t++;break;case"3":r=10*r+3,t++;break;case"4":r=10*r+4,t++;break;case"5":r=10*r+5,t++;break;case"6":r=10*r+6,t++;break;case"7":r=10*r+7,t++;break;case"8":r=10*r+8,t++;break;case"9":r=10*r+9,t++;break;default:return{num:r,index:t}}return{num:r,index:t}},this.getFraction=function(e,t){var r=1,n=1;if("/"!==e[t]){var o=this.getNumber(e,t);r=o.num,t=o.index}if("/"===e[t]){if("/"===e[++t]){for(var a=.5;"/"===e[t++];)a/=2;return{value:r*a,index:t-1}}var i=t,s=this.getNumber(e,t);0===s.num&&i===t&&(s.num=2),0!==s.num&&(n=s.num),t=s.index}return{value:r/n,index:t}},this.theReverser=function(e){return parseCommon$9.endsWith(e,", The")?"The "+e.substring(0,e.length-5):parseCommon$9.endsWith(e,", A")?"A "+e.substring(0,e.length-3):e},this.stripComment=function(e){var t=e.indexOf("%");return t>=0?parseCommon$9.strip(e.substring(0,t)):parseCommon$9.strip(e)},this.getInt=function(e){var t=parseInt(e);if(isNaN(t))return{digits:0};var r=""+t;return{value:t,digits:e.indexOf(r)+r.length}},this.getFloat=function(e){var t=parseFloat(e);if(isNaN(t))return{digits:0};var r=""+t;return{value:t,digits:e.indexOf(r)+r.length}},this.getMeasurement=function(e){if(0===e.length)return{used:0};var t=1,r="";if("-"===e[0].token)e.shift(),r="-",t++;else if("number"!==e[0].type)return{used:0};if(r+=e.shift().token,0===e.length)return{used:1,value:parseInt(r)};var n=e.shift();if("."===n.token){if(t++,0===e.length)return{used:t,value:parseInt(r)};if("number"===e[0].type&&(r=r+"."+(n=e.shift()).token,t++,0===e.length))return{used:t,value:parseFloat(r)};n=e.shift()}switch(n.token){case"pt":case"px":return{used:t+1,value:parseFloat(r)};case"cm":return{used:t+1,value:parseFloat(r)/2.54*72};case"in":return{used:t+1,value:72*parseFloat(r)};default:return e.unshift(n),{used:t,value:parseFloat(r)}}};var l=function(e){return e=(e=e.replace(/\\n/g,"\n")).replace(/\\"/g,'"')};this.getBrackettedSubstring=function(e,t,r,n){for(var o=n||e[t],a=t+1,i=!1;a<e.length&&(i||e[a]!==o);)i="\\"===e[a],++a;return e[a]===o?[a-t+1,l(e.substring(t+1,a)),!0]:((a=t+r)>e.length-1&&(a=e.length-1),[a-t+1,l(e.substring(t+1,a)),!1])}};Tokenizer$1.prototype.peekLine=function(){return this.lines[this.lineIndex]},Tokenizer$1.prototype.nextLine=function(){if(this.lineIndex>0&&(this.multilineVars.iChar+=this.lines[this.lineIndex-1].length+1),this.lineIndex<this.lines.length){var e=this.lines[this.lineIndex];return this.lineIndex++,e}return null};var abc_tokenizer=Tokenizer$1;function wrapLines(e,t,r){if(t&&0!==e.lines.length){var n=e.deline({lineBreaks:!1}),o=findLineBreaks(n,t);e.lines=addLineBreaks(n,o,r),e.lineBreaks=o}}function addLineBreaks(e,t,r){for(var n=[],o=[],a=[],i=1,s=0;s<t.length;s++){var l=t[s];if(e[l.ogLine].staff){var c=e[l.ogLine].staff[l.staff];if(n[l.line]||(n[l.line]={staff:[]}),!n[l.line].staff[l.staff]){n[l.line].staff[l.staff]={voices:[]},void 0!==r&&0===l.staff&&l.line>0&&(n[l.line].staff[l.staff].barNumber=i);for(var u=Object.keys(c),d=0;d<u.length;d++){var p="voices"===u[d];"meter"===u[d]&&0!==l.line&&(p=!0),p||(n[l.line].staff[l.staff][u[d]]=c[u[d]])}o[l.staff]&&(n[l.line].staff[l.staff].key=o[l.staff])}n[l.line].staff[l.staff].voices[l.voice]||(n[l.line].staff[l.staff].voices[l.voice]=[]),n[l.line].staff[l.staff].voices[l.voice]=e[l.ogLine].staff[l.staff].voices[l.voice].slice(l.start,l.end+1),a[10*l.staff+l.voice]&&n[l.line].staff[l.staff].voices[l.voice].unshift({el_type:"stem",direction:a[10*l.staff+l.voice].direction});for(var f=n[l.line].staff[l.staff].voices[l.voice],h=f.length-1;h>=0;h--)if("key"===f[h].el_type){o[l.staff]={root:f[h].root,acc:f[h].acc,mode:f[h].mode,accidentals:f[h].accidentals.filter((function(e){return"natural"!==e.acc}))};break}for(h=f.length-1;h>=0;h--)if("stem"===f[h].el_type){a[10*l.staff+l.voice]={direction:f[h].direction};break}if(void 0!==r&&0===l.staff&&0===l.voice)for(h=0;h<f.length;h++)"bar"===f[h].el_type&&(i++,h===f.length-1?delete f[h].barNumber:f[h].barNumber=i)}else n[l.line]=e[l.ogLine]}for(var v=0;v<n.length;v++)n[v].staff&&(n[v].staff=n[v].staff.filter((function(e){return null!=e})));return n}function findLineBreaks(e,t){for(var r=[],n=0,o=0,a=0,i=0;i<e.length;i++){var s=e[i];if(s.staff){var l=o,c=t[n];n++;for(var u=0;u<s.staff.length;u++)for(var d=s.staff[u],p=0;p<d.voices.length;p++){a=l;for(var f=0,h=0,v=d.voices[p],g=0,m=0;m<v.length;m++){"bar"===v[m].el_type&&(c[h]===f&&(r.push({ogLine:i,line:a,staff:u,voice:p,start:g,end:m}),g=m+1,a++,o=Math.max(o,a),h++),f++)}r.push({ogLine:i,line:a,staff:u,voice:p,start:g,end:v.length}),a++,o=Math.max(o,a)}}else r.push({ogLine:i,line:a}),a++,o=Math.max(o,a)}return r}function freeFormLineBreaks(e,t){for(var r=[],n=[],o=0,a=0;a<e.length;a++){var i=e[a],s=o+i;if(s<t)o=s;else t-o<s-t&&o>0?(r.push(a-1),n.push(Math.round(o-i)),o=i):a<e.length-1&&(r.push(a),n.push(Math.round(o)),o=0)}return n.push(Math.round(o)),{lineBreaks:r,totals:n}}function clone(e){for(var t=[],r=0;r<e.length;r++)t.push(e[r]);return t}function oneTry(e,t,r,n,o,a,i,s,l,c,u){for(var d=c;d<e.length;d++){var p=e[d];r+=p,n+=p;var f=Math.abs(r-t[s]);if(Math.abs(f-a)<t[0]/10)if(f<a){var h=clone(o),v=clone(l);v.push(d-1),h.push(n-p),u.push({accumulator:r,lineAccumulator:p,lineWidths:h,lastVariance:Math.abs(r-t[s+1]),highestVariance:Math.max(i,a),currLine:s+1,lineBreaks:v,startIndex:d+1})}else f>a&&d<e.length-1&&(h=clone(o),v=clone(l),u.push({accumulator:r,lineAccumulator:n,lineWidths:h,lastVariance:f,highestVariance:Math.max(i,f),currLine:s,lineBreaks:v,startIndex:d+1}));f>a?(l.push(d-1),s++,i=Math.max(i,a),a=Math.abs(r-t[s]),o.push(n-p),n=p):a=f}o.push(n)}function optimizeLineWidths(e,t,r,n){for(var o=Math.ceil(e.total/t),a=Math.floor(e.total/o),i=[],s=0;s<o;s++)i.push(a*(s+1));var l=[];l.push({accumulator:0,lineAccumulator:0,lineWidths:[],lastVariance:999999,highestVariance:0,currLine:0,lineBreaks:[],startIndex:0});for(var c=0;c<l.length;)oneTry(e.measureWidths,i,l[c].accumulator,l[c].lineAccumulator,l[c].lineWidths,l[c].lastVariance,l[c].highestVariance,l[c].currLine,l[c].lineBreaks,l[c].startIndex,l),c++;for(s=0;s<l.length;s++){var u=l[s];u.variances=[],u.aveVariance=0;for(var d=0;d<u.lineWidths.length;d++){var p=u.lineWidths[d];u.variances.push(p-i[0]),u.aveVariance+=Math.abs(p-i[0])}u.aveVariance=u.aveVariance/u.lineWidths.length,n.attempts.push({type:"optimizeLineWidths",lineBreaks:u.lineBreaks,variances:u.variances,aveVariance:u.aveVariance,widths:e.measureWidths})}var f=9999999,h=-1;for(s=0;s<l.length;s++)(u=l[s]).aveVariance<f&&(f=u.aveVariance,h=s);return{failed:!1,lineBreaks:l[h].lineBreaks,variance:l[h].highestVariance}}function fixedMeasureLineBreaks(e,t,r){for(var n=[],o=[],a=0,i=!1,s=0;s<e.length;s++)(a+=e[s])>t&&(i=!0),s%r==r-1&&(s!==e.length-1&&n.push(s),o.push(Math.round(a)),a=0);return{failed:i,totals:o,lineBreaks:n}}function getRevisedTuneParams(e,t,r){var n={lineBreaks:e,staffwidth:t};for(var o in r)r.hasOwnProperty(o)&&"wrap"!==o&&"staffwidth"!==o&&(n[o]=r[o]);return{revisedParams:n}}function calcLineWraps(e,t,r){if(0===t.length||r.staffwidth<t[0].left)return{reParse:!1,explanation:"Staff width is narrower than the margin",revisedParams:r};var n=r.scale?Math.max(r.scale,.1):1,o=r.wrap.minSpacing?Math.max(parseFloat(r.wrap.minSpacing),1):1,a=r.wrap.minSpacingLimit?Math.max(parseFloat(r.wrap.minSpacingLimit),1):o-.1,i=r.wrap.maxSpacing?Math.max(parseFloat(r.wrap.maxSpacing),1):void 0;r.wrap.lastLineLimit&&!i&&(i=Math.max(parseFloat(r.wrap.lastLineLimit),1));for(var s=r.wrap.preferredMeasuresPerLine?Math.max(parseInt(r.wrap.preferredMeasuresPerLine,10),0):void 0,l=[],c=[],u=0;u<t.length;u++){var d=t[u],p=r.staffwidth-d.left,f=p/o/n,h=p/a/n,v={widths:d,lineBreakPoint:f,minLineSize:p/i/n,attempts:[],staffWidth:r.staffwidth,minWidth:Math.round(h)},g=null;if(s){var m=fixedMeasureLineBreaks(d.measureWidths,f,s);v.attempts.push({type:"Fixed Measures Per Line",preferredMeasuresPerLine:s,lineBreaks:m.lineBreaks,failed:m.failed,totals:m.totals}),m.failed||(g=m.lineBreaks)}if(!g){var b=freeFormLineBreaks(d.measureWidths,f);v.attempts.push({type:"Free Form",lineBreaks:b.lineBreaks,totals:b.totals}),(g=b.lineBreaks).length>0&&d.measureWidths.length<25&&(b=optimizeLineWidths(d,f,g,v),v.attempts.push({type:"Optimize",failed:b.failed,reason:b.reason,lineBreaks:b.lineBreaks,totals:b.totals}),b.failed||(g=b.lineBreaks))}l.push(g),c.push(v)}var A=getRevisedTuneParams(l,r.staffwidth,r);return A.explanation=c,A.reParse=!0,A}var wrap_lines={wrapLines:wrapLines,calcLineWraps:calcLineWraps},spacing$e={FONTEM:360,FONTSIZE:30};spacing$e.STEP=93*spacing$e.FONTSIZE/720,spacing$e.SPACE=10,spacing$e.TOPNOTE=15,spacing$e.STAVEHEIGHT=100,spacing$e.INDENT=50;var spacing_1=spacing$e,sequence$2,parseCommon$8=abc_common;!function(){var e=1,t=128;function r(e,t,r){for(var n=0,o=t+1;o<e.length;o++)if("note"===e[o].el_type&&n++,e[o].decoration&&e[o].decoration.indexOf(r)>=0)return n;return n}function n(e,t,r){for(var n=Math.min(e.length,t+3),o=t;o<n;o++)if("note"===e[o].el_type&&e[o].decoration)for(var a=0;a<e[o].decoration.length;a++)if(r.indexOf(e[o].decoration[a])>=0)return e[o].decoration[a];return null}function o(e){for(var t=0;t<e.length;t++)for(var r=e[t],n=r.length-1;n>=0&&"bar"!==r[n].el_type;)r[n].noChordVoice=!0,n--}function a(e,t){if(e&&!(e.length<=t)&&e[t].title)return e[t].title.join(" ")}function i(e,t){var r=1/4;e.duration&&(r=e.duration[0]);var n=60;return e.bpm&&(n=e.bpm),r*n/t}function s(t){var r;switch(t.type){case"common_time":r={el_type:"meter",num:4,den:4};break;case"cut_time":r={el_type:"meter",num:2,den:2};break;case"specified":r={el_type:"meter",num:t.value[0].num,den:t.value[0].den};break;default:r={el_type:"meter"}}return e=r.num/r.den,r}function l(e){for(var t=[],r=0;r<e.length;r++)"natural"!==e[r].acc&&t.push(e[r]);return t}function c(e,t){d(e,"HP"===t.root?{el_type:"key",accidentals:[{acc:"natural",note:"g"},{acc:"sharp",note:"f"},{acc:"sharp",note:"c"}]}:{el_type:"key",accidentals:l(t.accidentals)})}function u(e,t){d(e,s(t))}function d(e,t){for(var r=e.length-1;r>=0;r--)if(e[r].el_type===t.el_type)return void(JSON.stringify(e[r])!==JSON.stringify(t)&&e.push(t));e.push(t)}sequence$2=function(l,p){var f,h=(p=p||{}).program||0,v=p.midiTranspose||0;l.visualTranspose&&(v-=l.visualTranspose);var g=p.channel||0,m=!1,b=p.drum||"",A=p.drumBars||1,y=p.drumIntro||0,x=""!==b,w=[];h=parseInt(h,10),v=parseInt(v,10),10===(g=parseInt(g,10))&&(h=t),b=b.split(" "),A=parseInt(A,10),y=parseInt(y,10);var C=l.formatting.bagpipes;C&&(h=71);var k=[];if(l.formatting.midi){var _=l.formatting.midi;_.program&&_.program.length>0&&(h=_.program[0],_.program.length>1&&(h=_.program[1],g=_.program[0]),m=!0),_.transpose&&(v=_.transpose[0]),_.channel&&(g=_.channel[0],m=!0),_.drum&&(b=_.drum),_.drumbars&&(A=_.drumbars[0]),_.drumon&&(x=!0),10===g&&(h=t),_.beat&&k.push({el_type:"beat",beats:_.beat}),_.nobeataccents&&k.push({el_type:"beataccents",value:!1})}f=p.qpm?parseInt(p.qpm,10):l.metaText.tempo?i(l.metaText.tempo,l.getBeatLength()):p.defaultQpm?p.defaultQpm:180;var S=[];C&&S.push({el_type:"bagpipes"}),S.push({el_type:"instrument",program:h}),g&&S.push({el_type:"channel",channel:g}),v&&S.push({el_type:"transpose",transpose:v}),S.push({el_type:"tempo",qpm:f});for(var B=0;B<k.length;B++)S.push(k[B]);var E,T=[],P=[],I=[],N=[0],z={};z[0]={el_type:"tempo",qpm:f,timing:0};for(var M,R,D,O,F,L,j,V,$,H,U,Q,G,K,q,W,Y,X,J,Z,ee,te,re,ne,oe,ae=[],ie=[],se=!1,le=l.lines,ce=function(){if((M=le[ue]).staff){for(R=M.staff,D=0,O=0;O<R.length;O++)if(!(F=R[O]).clef||"TAB"!==F.clef.type)for(L=0;L<F.voices.length;L++){if(j=F.voices[L],T[D]||(T[D]=[].concat(JSON.parse(JSON.stringify(S))),(V=a(M.staff,D))&&T[D].unshift({el_type:"name",trackName:V})),v&&"perc"===F.clef.type&&T[D].push({el_type:"transpose",transpose:0}),F.clef&&"perc"===F.clef.type&&!m)for($=0;$<T[D].length;$++)"instrument"===T[D][$].el_type&&(T[D][$].program=t);else F.key&&c(T[D],F.key);for(F.meter&&u(T[D],F.meter),!se&&x&&(T[D].push({el_type:"drum",params:{pattern:b,bars:A,on:x,intro:y}}),se=!0),F.clef&&"perc"!==F.clef.type&&F.clef.transpose&&(F.clef.el_type="clef",T[D].push({el_type:"transpose",transpose:F.clef.transpose})),F.clef&&F.clef.type&&(F.clef.type.indexOf("-8")>=0?T[D].push({el_type:"transpose",transpose:-12}):F.clef.type.indexOf("+8")>=0&&T[D].push({el_type:"transpose",transpose:12})),l.formatting.midi&&l.formatting.midi.drumoff&&(T[D].push({el_type:"bar"}),T[D].push({el_type:"drum",params:{pattern:"",on:!1}})),H=0,U=0,Q=0,G=0,E=[105,95,85,1],K=0;K<j.length;K++)switch((q=j[K]).el_type){case"note":if(P[L]&&(E[0]+=P[L],E[1]+=P[L],E[2]+=P[L],T[D].push({el_type:"beat",beats:E.slice(0)})),I[L]&&(E[0]+=I[L],E[1]+=I[L],E[2]+=I[L],T[D].push({el_type:"beat",beats:E.slice(0)})),e(q),!q.rest||"spacer"!==q.rest.type){if(W={elem:q,el_type:"note",timing:N[D]},q.style?W.style=q.style:w[D]&&(W.style=w[D]),W.duration=0===q.duration?.25:q.duration,q.startTriplet){if(U=q.tripletMultiplier,Q=q.startTriplet*U*q.duration,q.startTriplet!==q.tripletR&&K+q.tripletR<=j.length){for(Y=0,he=K;he<K+q.tripletR;he++)Y+=j[he].duration;Q=U*Y}W.duration=W.duration*U,W.duration=Math.round(1e6*W.duration)/1e6,G=W.duration}else U&&(q.endTriplet?(U=0,W.duration=Math.round(1e6*(Q-G))/1e6):(W.duration=W.duration*U,W.duration=Math.round(1e6*W.duration)/1e6,G+=W.duration));q.rest&&(W.rest=q.rest),q.decoration&&(W.decoration=q.decoration.slice(0)),q.pitches&&(W.pitches=parseCommon$8.cloneArray(q.pitches)),q.gracenotes&&(W.gracenotes=parseCommon$8.cloneArray(q.gracenotes)),q.chord&&(W.chord=parseCommon$8.cloneArray(q.chord)),T[D].push(W),"rhythm"===q.style&&o(T),H++,N[D]+=W.duration}break;case"key":case"keySignature":c(T[D],q);break;case"meter":u(T[D],q);break;case"clef":q.transpose&&T[D].push({el_type:"transpose",transpose:q.transpose}),q.type&&(q.type.indexOf("-8")>=0?T[D].push({el_type:"transpose",transpose:-12}):q.type.indexOf("+8")>=0&&T[D].push({el_type:"transpose",transpose:12}));break;case"tempo":f=i(q,l.getBeatLength()),T[D].push({el_type:"tempo",qpm:f,timing:N[D]}),z[""+N[D]]={el_type:"tempo",qpm:f,timing:N[D]};break;case"bar":if(H>0&&T[D].push({el_type:"bar"}),e(q),H=0,X="bar_right_repeat"===q.type||"bar_dbl_repeat"===q.type,J="1"===q.startEnding,Z="bar_left_repeat"===q.type||"bar_dbl_repeat"===q.type||"bar_right_repeat"===q.type,X){for((ee=ae[D])||(ee=0),(te=ie[D])||(te=T[D].length),re=ee;re<te;re++)(ne=parseCommon$8.clone(T[D][re])).pitches&&(ne.pitches=parseCommon$8.cloneArray(ne.pitches)),T[D].push(ne);ie[D]=void 0,ae[D]=void 0}J&&(ie[D]=T[D].length),Z&&(ae[D]=T[D].length);break;case"style":w[D]=q.head;break;case"timeSignature":T[D].push(s(q));break;case"part":case"stem":case"scale":case"break":case"font":break;case"midi":switch(oe=!1,q.cmd){case"drumon":x=!0,oe=!0;break;case"drumoff":x=!1,oe=!0;break;case"drum":b=q.params,oe=!0;break;case"drumbars":A=q.params[0],oe=!0;break;case"drummap":break;case"channel":10===q.params[0]&&T[D].push({el_type:"instrument",program:t});break;case"program":d(T[D],{el_type:"instrument",program:q.params[0]}),m=!0;break;case"transpose":T[D].push({el_type:"transpose",transpose:q.params[0]});break;case"gchordoff":T[D].push({el_type:"gchord",tacet:!0});break;case"gchordon":T[D].push({el_type:"gchord",tacet:!1});break;case"beat":T[D].push({el_type:"beat",beats:q.params});break;case"nobeataccents":T[D].push({el_type:"beataccents",value:!1});break;case"beataccents":T[D].push({el_type:"beataccents",value:!0});break;case"vol":T[D].push({el_type:"vol",volume:q.params[0]});break;case"volinc":T[D].push({el_type:"volinc",volume:q.params[0]});break;default:console.log("MIDI seq: midi cmd not handled: ",q.cmd,q)}oe&&(T[0].push({el_type:"drum",params:{pattern:b,bars:A,intro:y,on:x}}),se=!0);break;default:console.log("MIDI: element type "+q.el_type+" not handled.")}D++,N[D]||(N[D]=0)}function e(e){var t,o={pppp:[15,10,5,1],ppp:[30,20,10,1],pp:[45,35,20,1],p:[60,50,35,1],mp:[75,65,50,1],mf:[90,80,65,1],f:[105,95,80,1],ff:[120,110,95,1],fff:[127,125,110,1],ffff:[127,125,110,1]};if(e.decoration)if(e.decoration.indexOf("pppp")>=0?t="pppp":e.decoration.indexOf("ppp")>=0?t="ppp":e.decoration.indexOf("pp")>=0?t="pp":e.decoration.indexOf("p")>=0?t="p":e.decoration.indexOf("mp")>=0?t="mp":e.decoration.indexOf("mf")>=0?t="mf":e.decoration.indexOf("f")>=0?t="f":e.decoration.indexOf("ff")>=0?t="ff":e.decoration.indexOf("fff")>=0?t="fff":e.decoration.indexOf("ffff")>=0&&(t="ffff"),t&&(E=o[t].slice(0),T[D].push({el_type:"beat",beats:E.slice(0)}),P[L]=!1,I[L]=!1),e.decoration.indexOf("crescendo(")>=0){var a=r(j,K,"crescendo)"),i=Math.min(127,E[0]+50),s=n(j,K+a+1,Object.keys(o));s&&(i=o[s][0]),P[L]=a>0&&Math.floor((i-E[0])/a),I[L]=!1}else if(e.decoration.indexOf("crescendo)")>=0)P[L]=!1;else if(e.decoration.indexOf("diminuendo(")>=0){var l=r(j,K,"diminuendo)"),c=Math.max(15,E[0]-50),u=n(j,K+l+1,Object.keys(o));u&&(c=o[u][0]),P[L]=!1,I[L]=l>0&&Math.floor((c-E[0])/l)}else e.decoration.indexOf("diminuendo)")>=0&&(I[L]=!1)}}},ue=0;ue<le.length;ue++)ce();if(function(e,t){if(!t||0===t.length)return;for(var r=Object.keys(t),n=0;n<e.length;n++)for(var o=e[n],a=t[0]?t[0].qpm:0,i=0;i<o.length;i++){var s=o[i];"tempo"===s.el_type&&(a=s.qpm),r.indexOf(""+s.timing)>=0&&a!==t[""+s.timing].qpm&&(a=t[""+s.timing].qpm,"tempo"===s.el_type?(s.qpm=t[""+s.timing].qpm,i++):(e[n].splice(i,0,{el_type:"tempo",qpm:t[""+s.timing].qpm,timing:s.timing}),i+=2))}}(T,z),y)for(var de=l.getPickupLength(),pe=0;pe<T.length;pe++){for(var fe=0;"note"!==T[pe][fe].el_type&&T[pe].length>fe;)fe++;if(T[pe].length>fe)for(var he=0;he<y;he++)0===de||he<y-1?T[pe].splice(fe,0,{el_type:"note",rest:{type:"rest"},duration:e},{el_type:"bar"}):T[pe].splice(fe,0,{el_type:"note",rest:{type:"rest"},duration:e-de})}return T.length>0&&T[0].length>0&&(T[0][0].pickupLength=l.getPickupLength()),T}}();var abc_midi_sequencer=sequence$2,pitchMap={f0:"_C",n0:"=C",s0:"^C",x0:"C",f1:"_D",n1:"=D",s1:"^D",x1:"D",f2:"_E",n2:"=E",s2:"^E",x2:"E",f3:"_F",n3:"=F",s3:"^F",x3:"F",f4:"_G",n4:"=G",s4:"^G",x4:"G",f5:"_A",n5:"=A",s5:"^A",x5:"A",f6:"_B",n6:"=B",s6:"^B",x6:"B",f7:"_c",n7:"=c",s7:"^c",x7:"c",f8:"_d",n8:"=d",s8:"^d",x8:"d",f9:"_e",n9:"=e",s9:"^e",x9:"e",f10:"_f",n10:"=f",s10:"^f",x10:"f",f11:"_g",n11:"=g",s11:"^g",x11:"g",f12:"_a",n12:"=a",s12:"^a",x12:"a",f13:"_b",n13:"=b",s13:"^b",x13:"b",f14:"_c'",n14:"=c'",s14:"^c'",x14:"c'",f15:"_d'",n15:"=d'",s15:"^d'",x15:"d'",f16:"_e'",n16:"=e'",s16:"^e'",x16:"e'"};function pitchesToPerc$2(e){var t=(e.accidental?e.accidental[0]:"x")+e.verticalPos;return pitchMap[t]}var pitchesToPerc_1=pitchesToPerc$2,flatten$1,parseCommon$7=abc_common,pitchesToPerc$1=pitchesToPerc_1;!function(){var e,t,r,n,o,a,i,s,l,c,u,d,p,f,h,v,g,m,b,A,y,x,w,C=1,k={num:4,den:4},_=0,S=0,B=128,E=64,T=48,P=!1,I=!1,N=!0,z=105,M=95,R=85,D=.25,O=0,F={},L=0;function j(e){for(var t=s.length-1;t>=0;t--)if("program"===s[t].cmd)return void(s[t].channel=e)}function V(){for(var e=!0,t=0;t<u.length&&e;t++)"note"===u[t].cmd&&(e=!1);return e}function $(e){return e/1e6}function H(e){return Math.round(e*C*1e6)/1e6}function U(e){switch(parseInt(e.den,10)){case 2:return.5;case 4:return.25;case 8:return e.num%3==0?.375:.125;case 16:return.125}return.25}flatten$1=function(B,H,Q,G){H||(H={}),G||(G={}),e=[],t=[0,0,0,0,0,0,0],n=[],o=H.qpm,C=1,a=void 0,i=void 0,s=void 0,l=void 0,c=0,w=Q,k={num:4,den:4},u=[],d=!1,f=B.length,p=!1,h=[],_=G.bassprog&&1===G.bassprog.length?G.bassprog[0]:0,S=G.chordprog&&1===G.chordprog.length?G.chordprog[0]:0,E=G.bassvol&&1===G.bassvol.length?G.bassvol[0]:64,T=G.chordvol&&1===G.chordvol.length?G.chordvol[0]:48,v=void 0,g=void 0,P=!!H.chordsOff,I=!1,N=!0,z=105,M=95,R=85,D=.25,b=void 0,A=void 0,O=0,y=[],F={},x=1,B.length>0&&B[0].length>0&&(L=B[0][0].pickupLength),function(e,t){for(var r=0;r<e.length;r++){for(var n=e[r],o={},a=t.qpm,i=0,s=1,l=0;l<n.length;l++){var c=n[l];if("tempo"!==c.el_type){c.time=i;var u=c.duration?c.duration:0;if(i+=Math.round(u*s*1e6),c.pitches){for(var d=0;d<c.pitches.length;d++){var p=c.pitches[d];if(p)if(p.duration=c.duration,p.startTie)void 0===o[p.pitch]?o[p.pitch]={el:l,pitch:d}:(n[o[p.pitch].el].pitches[o[p.pitch].pitch].duration+=p.duration,c.pitches[d]=null);else if(p.endTie){var f=o[p.pitch];if(f){var h=p.duration;delete n[f.el].pitches[f.pitch].startTie,n[f.el].pitches[f.pitch].duration+=h,c.pitches[d]=null,delete o[p.pitch]}else delete p.endTie}}delete c.duration}}else a?s=c.qpm?a/c.qpm:1:a=c.qpm}for(var v in o)if(o.hasOwnProperty(v)){var g=o[v];delete n[g.el].pitches[g.pitch].startTie}}}(B,H);for(var K=0;K<B.length;K++){r=0;var q=B[K];s=[{cmd:"program",channel:K,instrument:a}],l=void 0,m=0;var Y=!1;(!0===H.voicesOff||H.voicesOff&&H.voicesOff.length&&H.voicesOff.indexOf(K)>=0)&&(Y=!0);for(var X=0;X<q.length;X++){var Z=q[X];switch(Z.el_type){case"name":l={cmd:"text",type:"name",text:Z.trackName};break;case"note":W(Z,Y)&&(d=K);break;case"key":t=J(Z);break;case"meter":D=U(k=Z),ce();break;case"tempo":o?C=Z.qpm?o/Z.qpm:1:o=Z.qpm;break;case"transpose":r=Z.transpose;break;case"bar":u.length>0&&(!1===d||K===d)&&(se(m,$(Z.time)),h=[]),e=[],0===K&&ue(B.length+1),I=!1,g=v,m=$(Z.time);break;case"bagpipes":break;case"instrument":if(void 0===a&&(a=Z.program),i=Z.program,s.length>0&&"program"===s[s.length-1].cmd)s[s.length-1].instrument=Z.program;else{var ee;for(ee=s.length-1;ee>=0&&"program"!==s[ee].cmd;ee--);(ee<0||s[ee].instrument!==Z.program)&&s.push({cmd:"program",channel:0,instrument:Z.program})}break;case"channel":j(Z.channel);break;case"drum":F=le(Z.params),ce();break;case"gchord":H.chordsOff||(P=Z.tacet);break;case"beat":z=Z.beats[0],M=Z.beats[1],R=Z.beats[2];break;case"vol":b=Z.volume;break;case"volinc":A=Z.volume;break;case"beataccents":N=Z.value;break;default:console.log("MIDI creation. Unknown el_type: "+Z.el_type+"\n")}}void 0===s[0].instrument&&(s[0].instrument=a||0),l&&s.unshift(l),n.push(s),V()||(p=!0),y.length}return H.detuneOctave&&function(e,t){for(var r={},n=0;n<e.length;n++)for(var o=0;o<e[n].length;o++){var a=e[n][o];"note"===a.cmd&&(void 0===r[a.start]&&(r[a.start]=[]),r[a.start].push({track:n,event:o,pitch:a.pitch}))}var i=Object.keys(r);for(n=0;n<i.length;n++){var s=r[i[n]];if(s.length>1){s=s.sort((function(e,t){return e.pitch-t.pitch}));var l=s[s.length-1],c=l.pitch%12,u=!1;for(o=0;!u&&o<s.length-1;o++)s[o].pitch%12===c&&(u=!0);if(u){var d=e[l.track][l.event];d.cents||(d.cents=0),d.cents+=t}}}}(n,parseInt(H.detuneOctave,10)),V()||n.push(u),y.length>0&&n.push(y),{tempo:o,instrument:a,tracks:n,totalDuration:c}};var Q=["break","(break)","no chord","n.c.","tacet"];function G(e,t,r){return(r-e)/t}function K(e){var t=!1,n=function(e){if(P)return"break";if(p||!e.chord||0===e.chord.length)return null;for(var t=0;t<e.chord.length;t++){var r=e.chord[t];if("default"===r.position)return r.name;if(Q.indexOf(r.name.toLowerCase())>=0)return"break"}return null}(e);if(n){var o=function(e){if(0===e.length)return;if("break"===e)return{chick:[]};var t=e.substring(0,1);if("("===t){if(0===(e=e.substring(1,e.length-2)).length)return;t=e.substring(0,1)}var n=te[t];if(!n)return;var o=r;for(;o<-8;)o+=12;for(;o>8;)o-=12;var a,i=(n+=o)-5;1===e.length&&(a=ne(n,""));var s=e.substring(1),l=s.substring(0,1);"b"===l||"♭"===l?(n--,i--,s=s.substring(1)):"#"!==l&&"♯"!==l||(n++,i++,s=s.substring(1));var c=s.split("/");if((a=ne(n,c[0])).length>=3){i=i+(a[2]-a[0])-7}if(2===c.length){if(te[c[1].substring(0,1)]){var u={"#":1,"♯":1,b:-1,"♭":-1}[c[1].substring(1)]||0;i=n=te[c[1].substring(0,1)]+u+o}}return{boom:n,boom2:i,chick:a}}(n);if(o){0===u.length&&(t=!0,u.push({cmd:"program",channel:f,instrument:S})),v=o;var a=G(m,U(k),$(e.time));h.push({chord:v,beat:a,start:$(e.time)})}}return t}function q(e,t){var r=t.start,n=t.duration,o=H(1/32);switch(e){case"trill":for(var a=1;n>0;)s.push({cmd:"note",pitch:t.pitch+a,volume:t.volume,start:r,duration:o,gap:0,instrument:i,style:"decoration"}),a=1===a?0:1,n-=o,r+=o;break;case"mordent":s.push({cmd:"note",pitch:t.pitch,volume:t.volume,start:r,duration:o,gap:0,instrument:i,style:"decoration"}),n-=o,r+=o,s.push({cmd:"note",pitch:t.pitch+1,volume:t.volume,start:r,duration:o,gap:0,instrument:i,style:"decoration"}),n-=o,r+=o,s.push({cmd:"note",pitch:t.pitch,volume:t.volume,start:r,duration:n,gap:0,instrument:i});break;case"lowermordent":s.push({cmd:"note",pitch:t.pitch,volume:t.volume,start:r,duration:o,gap:0,instrument:i,style:"decoration"}),n-=o,r+=o,s.push({cmd:"note",pitch:t.pitch-1,volume:t.volume,start:r,duration:o,gap:0,instrument:i,style:"decoration"}),n-=o,r+=o,s.push({cmd:"note",pitch:t.pitch,volume:t.volume,start:r,duration:n,gap:0,instrument:i});break;case"turn":o=t.duration/5,s.push({cmd:"note",pitch:t.pitch,volume:t.volume,start:r,duration:o,gap:0,instrument:i,style:"decoration"}),s.push({cmd:"note",pitch:t.pitch+1,volume:t.volume,start:r+o,duration:o,gap:0,instrument:i,style:"decoration"}),s.push({cmd:"note",pitch:t.pitch,volume:t.volume,start:r+2*o,duration:o,gap:0,instrument:i,style:"decoration"}),s.push({cmd:"note",pitch:t.pitch+1,volume:t.volume,start:r+3*o,duration:o,gap:0,instrument:i,style:"decoration"}),s.push({cmd:"note",pitch:t.pitch,volume:t.volume,start:r+4*o,duration:o,gap:0,instrument:i});break;case"roll":for(;n>0;)s.push({cmd:"note",pitch:t.pitch,volume:t.volume,start:r,duration:o,gap:0,instrument:i,style:"decoration"}),n-=2*o,r+=2*o}}function W(e,t){s.length;var r,n=function(e,t){if(t)return 0;var r;if(b)r=b,b=void 0;else if(N)if(L>e)r=R;else{k.num,k.den;var n=G(m,U(k),e);r=0===n?z:parseInt(n,10)===n?M:R}else r=M;return A&&(r+=A,A=void 0),r<0&&(r=0),r>127&&(r=127),t?0:r}($(e.time),t),a=K(e);if(e.gracenotes&&e.pitches&&e.pitches.length>0&&e.pitches[0]&&(r=function(e,t){for(var r,n=0,o=[],a=0;a<e.length;a++)n+=(r=e[a]).duration;var s=t/2/n;for(a=0;a<e.length;a++){var l=X(r=e[a]);if(i===B&&w){var c=pitchesToPerc$1(r);c&&w[c]&&(l=w[c].sound)}var u={pitch:l,duration:r.duration*s};u=Z(u),o.push(u)}return o}(e.gracenotes,e.pitches[0].duration),e.elem&&(e.elem.midiGraceNotePitches=function(e,t,r,n){var o=[];r=Math.round(r);for(var a=0;a<e.length;a++){var i=e[a];s.push({cmd:"note",pitch:i.pitch,volume:r,start:t,duration:i.duration,gap:0,instrument:n,style:"grace"}),o.push({pitch:i.pitch,durationInMeasures:i.duration,volume:r,instrument:n}),t+=i.duration}return o}(r,$(e.time),2*n/3,i))),e.elem){var l=$(e.time),u=l/D/o*60*1e3;if(void 0===e.elem.currentTrackMilliseconds)e.elem.currentTrackMilliseconds=u,e.elem.currentTrackWholeNotes=l;else if(void 0===e.elem.currentTrackMilliseconds.length)e.elem.currentTrackMilliseconds!==u&&(e.elem.currentTrackMilliseconds=[e.elem.currentTrackMilliseconds,u],e.elem.currentTrackWholeNotes=[e.elem.currentTrackWholeNotes,l]);else{for(var d=!1,p=0;p<e.elem.currentTrackMilliseconds.length;p++)e.elem.currentTrackMilliseconds[p]===u&&(d=!0);d||(e.elem.currentTrackMilliseconds.push(u),e.elem.currentTrackWholeNotes.push(l))}}if(e.pitches){var f="",h=function(e,t){var r={};if(e.decoration)for(var n=0;n<e.decoration.length;n++)"staccato"===e.decoration[n]?r.thisBreakBetweenNotes="staccato":"tenuto"===e.decoration[n]?r.thisBreakBetweenNotes="tenuto":"accent"===e.decoration[n]?r.velocity=Math.min(127,1.5*t):"trill"===e.decoration[n]?r.noteModification="trill":"lowermordent"===e.decoration[n]?r.noteModification="lowermordent":"uppermordent"===e.decoration[n]||"mordent"===e.decoration[n]?r.noteModification="mordent":"turn"===e.decoration[n]?r.noteModification="turn":"roll"===e.decoration[n]&&(r.noteModification="roll");return r}(e,n);h.thisBreakBetweenNotes&&(f=h.thisBreakBetweenNotes),h.velocity&&(n=h.velocity);var g=e.pitches;if("rhythm"===e.style&&(I=!0,v&&v.chick)){g=[];for(var y=0;y<v.chick.length;y++){var x=parseCommon$7.clone(e.pitches[0]);x.actualPitch=v.chick[y],g.push(x)}}e.elem&&(e.elem.midiPitches=[]);for(var C=0;C<g.length;C++){var _=g[C];if(_){_.startSlur&&(O+=_.startSlur.length),_.endSlur&&(O-=_.endSlur.length);var S=_.actualPitch?_.actualPitch:X(_);if(i===B&&w){var E=pitchesToPerc$1(_);E&&w[E]&&(S=w[E].sound)}var T={cmd:"note",pitch:S,volume:n,start:$(e.time),duration:H(_.duration),instrument:i,startChar:e.elem.startChar,endChar:e.elem.endChar};if(T=Z(T),e.gracenotes&&(T.duration=T.duration/2,T.start=T.start+T.duration),e.elem&&e.elem.midiPitches.push(T),h.noteModification)q(h.noteModification,T);else{switch(O>0?T.endType="tenuto":f&&(T.endType=f),T.endType){case"tenuto":T.gap=-.001;break;case"staccato":var P=.4*T.duration;T.gap=o/60*P;break;default:T.gap=0}s.push(T)}}}s.length}var F=function(e){return e.pitches&&e.pitches.length>0&&e.pitches[0]?e.pitches[0].duration:e.elem?e.elem.duration:e.duration}(e);return c=Math.max(c,$(e.time)+H(F)),a}var Y=[0,2,4,5,7,9,11];function X(n){if(void 0!==n.midipitch)return n.midipitch;var o=n.pitch;if(n.accidental)switch(n.accidental){case"sharp":e[o]=1;break;case"flat":e[o]=-1;break;case"natural":e[o]=0;break;case"dblsharp":e[o]=2;break;case"dblflat":e[o]=-2;break;case"quartersharp":e[o]=.25;break;case"quarterflat":e[o]=-.25}var a=12*function(e){return Math.floor(e/7)}(o)+Y[ee(o)]+60;return void 0!==e[o]?a+=e[o]:a+=t[ee(o)],a+=r}function J(e){var t=[0,0,0,0,0,0,0];if(!e.accidentals)return t;for(var r=0;r<e.accidentals.length;r++){var n,o=e.accidentals[r];switch(o.acc){case"flat":n=-1;break;case"quarterflat":n=-.25;break;case"sharp":n=1;break;case"quartersharp":n=.25;break;default:n=0}t[ee(o.note.toLowerCase().charCodeAt(0)-"c".charCodeAt(0))]+=n}return t}function Z(e){var t=""+e.pitch;return t.indexOf(".75")>=0?(e.pitch=Math.round(e.pitch),e.cents=-50):t.indexOf(".25")>=0&&(e.pitch=Math.round(e.pitch),e.cents=50),e}function ee(e){return(e%=7)<0&&(e+=7),e}var te={A:33,B:35,C:36,D:38,E:40,F:41,G:43};var re={dim:[0,3,6],"°":[0,3,6],"˚":[0,3,6],dim7:[0,3,6,9],"°7":[0,3,6,9],"˚7":[0,3,6,9],"ø7":[0,3,6,10],"m7(b5)":[0,3,6,10],m7b5:[0,3,6,10],"m7♭5":[0,3,6,10],"-7(b5)":[0,3,6,10],"-7b5":[0,3,6,10],"7b5":[0,4,6,10],"7(b5)":[0,4,6,10],"7♭5":[0,4,6,10],"7(b9,b5)":[0,4,6,10,13],"7b9,b5":[0,4,6,10,13],"7(#9,b5)":[0,4,6,10,15],"7#9b5":[0,4,6,10,15],"maj7(b5)":[0,4,6,11],maj7b5:[0,4,6,11],"13(b5)":[0,4,6,10,14,21],"13b5":[0,4,6,10,14,21],m:[0,3,7],"-":[0,3,7],m6:[0,3,7,9],"-6":[0,3,7,9],m7:[0,3,7,10],"-7":[0,3,7,10],"-(b6)":[0,3,7,8],"-b6":[0,3,7,8],"-6/9":[0,3,7,9,14],"-7(b9)":[0,3,7,10,13],"-7b9":[0,3,7,10,13],"-maj7":[0,3,7,11],"-9+7":[0,3,7,11,13],"-11":[0,3,7,11,14,17],m11:[0,3,7,11,14,17],"-maj9":[0,3,7,11,14],"-∆9":[0,3,7,11,14],mM9:[0,3,7,11,14],M:[0,4,7],6:[0,4,7,9],"6/9":[0,4,7,9,14],"6add9":[0,4,7,9,14],69:[0,4,7,9,14],7:[0,4,7,10],9:[0,4,7,10,14],11:[0,7,10,14,17],13:[0,4,7,10,14,21],"7b9":[0,4,7,10,13],"7♭9":[0,4,7,10,13],"7(b9)":[0,4,7,10,13],"7(#9)":[0,4,7,10,15],"7#9":[0,4,7,10,15],"(13)":[0,4,7,10,14,21],"7(9,13)":[0,4,7,10,14,21],"7(#9,b13)":[0,4,7,10,15,20],"7(#11)":[0,4,7,10,14,18],"7#11":[0,4,7,10,14,18],"7(b13)":[0,4,7,10,20],"7b13":[0,4,7,10,20],"9(#11)":[0,4,7,10,14,18],"9#11":[0,4,7,10,14,18],"13(#11)":[0,4,7,10,18,21],"13#11":[0,4,7,10,18,21],maj7:[0,4,7,11],"∆7":[0,4,7,11],"Δ7":[0,4,7,11],maj9:[0,4,7,11,14],"maj7(9)":[0,4,7,11,14],"maj7(11)":[0,4,7,11,17],"maj7(#11)":[0,4,7,11,18],"maj7(13)":[0,4,7,14,21],"maj7(9,13)":[0,4,7,11,14,21],"7sus4":[0,5,7,10],m7sus4:[0,3,7,10,17],sus4:[0,5,7],sus2:[0,2,7],"7sus2":[0,2,7,10],"9sus4":[0,5,7,10,14],"13sus4":[0,5,7,10,14,21],aug7:[0,4,8,10],"+7":[0,4,8,10],"+":[0,4,8],"7#5":[0,4,8,10],"7♯5":[0,4,8,10],"7+5":[0,4,8,10],"9#5":[0,4,8,10,14],"9♯5":[0,4,8,10,14],"9+5":[0,4,8,10,14],"-7(#5)":[0,3,8,10],"-7#5":[0,3,8,10],"7(#5)":[0,4,8,10],"7(b9,#5)":[0,4,8,10,13],"7b9#5":[0,4,8,10,13],"maj7(#5)":[0,4,8,11],"maj7#5":[0,4,8,11],"maj7(#5,#11)":[0,4,8,11,18],"maj7#5#11":[0,4,8,11,18],"9(#5)":[0,4,8,10,14],"13(#5)":[0,4,8,10,14,21],"13#5":[0,4,8,10,14,21]};function ne(e,t){var r=re[t];r||(r="ma"===t.slice(0,2).toLowerCase()||"M"===t[0]?re.M:"m"===t[0]||"-"===t[0]?re.m:re.M),e+=12;for(var n=[],o=0;o<r.length;o++)n.push(e+r[o]);return n}function oe(e,t,r,n,o){void 0!==e&&u.push({cmd:"note",pitch:e,volume:r,start:m+n*H(t),duration:H(o),gap:0,instrument:_})}function ae(e,t,r,n,o){for(var a=0;a<e.length;a++)u.push({cmd:"note",pitch:e[a],volume:r,start:m+n*H(t),duration:H(o),gap:0,instrument:S})}var ie={"2/2":["boom","chick"],"2/4":["boom","chick"],"3/4":["boom","chick","chick"],"4/4":["boom","chick","boom2","chick"],"5/4":["boom","chick","chick","boom2","chick"],"6/8":["boom","","chick","boom2","","chick"],"9/8":["boom","","chick","boom2","","chick","boom2","","chick"],"12/8":["boom","","chick","boom2","","chick","boom","","chick","boom2","","chick"]};function se(e,t){var r=k.num,n=k.den,o=1/n,a=o/2,i=ie[r+"/"+n],s=parseInt(r,10)/parseInt(n,10)-(t-e)/C;if(Math.abs(s)<1e-5&&(s=!1),!i||s){i=[];for(var l=(t-e)/C/o,c=0;c<l;c++)i.push("chick")}if(0===h.length&&h.push({beat:0,chord:v}),0!==h[0].beat&&v&&g&&h.unshift({beat:0,chord:g}),1!==h.length){for(var u=.125===o?3:1,d={},p=0;p<h.length;p++){var f=h[p];d[""+Math.round(f.beat*u)]=f}for(var m=0;m<i.length;m++){var b,A;if(d[""+m]&&(b=d[""+m]),!I&&b)switch(i[m]){case"boom":d[""+(m+1)]?ae(b.chord.chick,o,T,m,a):(oe(b.chord.boom,o,E,m,a),A=b.chord.boom);break;case"boom2":d[""+(m+1)]?ae(b.chord.chick,o,T,m,a):A===b.chord.boom?(oe(b.chord.boom2,o,E,m,a),A=void 0):(oe(b.chord.boom,o,E,m,a),A=b.chord.boom);break;case"chick":ae(b.chord.chick,o,T,m,a);break;case"":d[""+m]&&ae(b.chord.chick,o,T,m,a)}}}else for(var y=h[0].beat;y<i.length;y++)if(!I)switch(i[y]){case"boom":oe(h[0].chord.boom,o,E,y,a);break;case"boom2":oe(h[0].chord.boom2,o,E,y,a);break;case"chick":ae(h[0].chord.chick,o,T,y,a)}}function le(e){if(0===e.pattern.length||!1===e.on)return{on:!1};for(var t=e.pattern[0],r=[],n="",o=0,a=0;a<t.length;a++)if("d"===t[a]&&o++,"d"===t[a]||"z"===t[a])0!==n.length?(r.push(n),n=t[a]):n+=t[a];else{if(0===n.length)return{on:!1};n+=t[a]}if(0!==n.length&&r.push(n),e.pattern.length!==2*o+1)return{on:!1};for(var i={on:!0,bars:e.bars,pattern:[]},s=U(k),l=0,c=0;c<r.length;c++){n=r[c];for(var u=1,d=!1,p=0,f=1;f<n.length;f++)switch(n[f]){case"/":0!==p&&(u*=p),p=0,d=!0;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":p=10*p+n[f];break;default:return{on:!1}}d?(0===p&&(p=2),u/=p):p&&(u*=p),"d"===n[0]?(i.pattern.push({len:u*s,pitch:e.pattern[1+l],velocity:e.pattern[1+l+o]}),l++):i.pattern.push({len:u*s,pitch:null})}return x=e.bars?e.bars:1,i}function ce(){if(F&&F.pattern){for(var e=F,t=0,r=k.num/k.den,n=0;n<e.pattern.length;n++)t+=e.pattern[n].len;var o=t/x/r;for(n=0;n<e.pattern.length;n++)e.pattern[n].len=e.pattern[n].len/o;F=e}}function ue(e){if(0!==y.length||F.on){var t=k.num/k.den;if(0===y.length){if(c<t)return;y.push({cmd:"program",channel:e,instrument:B})}if(F.on)for(var r=m,n=0;n<F.pattern.length;n++){var o=H(F.pattern[n].len);F.pattern[n].pitch&&y.push({cmd:"note",pitch:F.pattern[n].pitch,volume:F.pattern[n].velocity,start:r,duration:o,gap:0,instrument:B}),r+=o}}}}();var abc_midi_flattener=flatten$1;function delineTune$1(e,t){t||(t={});for(var r=!!t.lineBreaks,n=[],o=!1,a=[],i=[],s=[],l=[],c=[],u=[],d=[],p=0;p<e.length;p++){var f=e[p];if(f.staff){if(o&&!f.vskip)for(var h=n[n.length-1],v=0;v<h.staff.length;v++){var g=f.staff[v],m=h.staff[v];if(g&&(objEqual(g.meter,a[v])||(addMeterToVoices(g.meter,g.voices),a[v]=g.meter,delete g.meter),objEqual(g.key,i[v])||(addKeyToVoices(g.key,g.voices),i[v]=g.key,delete g.key),g.title&&(m.abbrevTitle=g.title),objEqual(g.clef,s[v])||(addClefToVoices(g.clef,g.voices),s[v]=g.clef,delete g.clef),objEqual(g.vocalfont,l[v])||(addFontToVoices(g.vocalfont,g.voices,"vocalfont"),l[v]=g.vocalfont,delete g.vocalfont),objEqual(g.gchordfont,c[v])||(addFontToVoices(g.gchordfont,g.voices,"gchordfont"),c[v]=g.gchordfont,delete g.gchordfont),objEqual(g.tripletfont,u[v])||(addFontToVoices(g.tripletfont,g.voices,"tripletfont"),u[v]=g.tripletfont,delete g.tripletfont),objEqual(g.annotationfont,d[v])||(addFontToVoices(g.annotationfont,g.voices,"annotationfont"),d[v]=g.annotationfont,delete g.annotationfont)),g)for(var b=0;b<m.voices.length;b++){var A=m.voices[b],y=g.voices[b];r&&A.push({el_type:"break"}),y&&(m.voices[b]=A.concat(y))}}else{for(var x=0;x<f.staff.length;x++)i[x]=f.staff[x].key,a[x]=f.staff[x].meter,s[x]=f.staff[x].clef;n.push(cloneLine(f))}o=!0}else o=!1,n.push(f)}return n}function replacer(e,t){return"abselem"===e?"abselem":t}function addMeterToVoices(e,t){e.el_type="meter",e.startChar=-1,e.endChar=-1;for(var r=0;r<t.length;r++)t[r].unshift(e)}function addKeyToVoices(e,t){e.el_type="key",e.startChar=-1,e.endChar=-1;for(var r=0;r<t.length;r++)t[r].unshift(e)}function addClefToVoices(e,t){e.el_type="clef",e.startChar=-1,e.endChar=-1;for(var r=0;r<t.length;r++)t[r].unshift(e)}function addFontToVoices(e,t,r){e.el_type="font",e.type=r,e.startChar=-1,e.endChar=-1;for(var n=0;n<t.length;n++)t[n].unshift(e)}function objEqual(e,t){return!e||JSON.stringify(e,replacer)===JSON.stringify(t,replacer)}function cloneLine(e){for(var t={},r=Object.keys(e),n=0;n<r.length;n++)if("staff"!==r[n])t[r[n]]=e[r[n]];else{t.staff=[];for(var o=0;o<e.staff.length;o++){for(var a={},i=Object.keys(e.staff[o]),s=0;s<i.length;s++)if("voices"!==i[s])a[i[s]]=e.staff[o][i[s]];else{a.voices=[];for(var l=0;l<e.staff[o].voices.length;l++)a.voices.push([].concat(e.staff[o].voices[l]))}t.staff.push(a)}}return t}var delineTune_1=delineTune$1,parseCommon$6=abc_common,spacing$d=spacing_1,sequence$1=abc_midi_sequencer,flatten=abc_midi_flattener,delineTune=delineTune_1,Tune$1=function(){function e(e,t,r,n){for(var o=0;o<n.length;o++)e[r][n[o]]=t[r][n[o]]}function t(e,t){for(;t<e.length&&null===e[t].left;)t++;return e[t]}this.reset=function(){this.version="1.1.0",this.media="screen",this.metaText={},this.metaTextInfo={},this.formatting={},this.lines=[],this.staffNum=0,this.voiceNum=0,this.lineNum=0,this.runningFonts={},delete this.visualTranspose},this.reset(),this.copyTopInfo=function(t){var r=["tempo","title","header","rhythm","origin","composer","author","partOrder"];e(this,t,"metaText",r),e(this,t,"metaTextInfo",r)},this.copyBottomInfo=function(t){var r=["unalignedWords","book","source","discography","notes","transcription","history","abc-copyright","abc-creator","abc-edited-by","footer"];e(this,t,"metaText",r),e(this,t,"metaTextInfo",r)},this.getBeatLength=function(){var e=this.getMeterFraction(),t=1;return(6===e.num||9===e.num||12===e.num||3===e.num&&8===e.den)&&(t=3),t/e.den},this.getPickupLength=function(){var e=this.getBarLength(),t=function(e,t){for(var r=0,n=0;n<e.length;n++)if(e[n].staff)for(var o=0;o<e[n].staff.length;o++)for(var a=0;a<e[n].staff[o].voices.length;a++)for(var i=e[n].staff[o].voices[a],s=1,l=0;l<i.length;l++){var c=i[l].rest&&"spacer"===i[l].rest.type;if(i[l].startTriplet&&(s=i[l].tripletMultiplier),i[l].duration&&!c&&"tempo"!==i[l].el_type&&(r+=i[l].duration*s),i[l].endTriplet&&(s=1),r>=t&&(r-=t),"bar"===i[l].el_type)return r}return r}(this.lines,e);return t<1e-8||e-t<1e-8?0:t},this.getBarLength=function(){var e=this.getMeterFraction();return e.num/e.den},this.getTotalTime=function(){return this.totalTime},this.getTotalBeats=function(){return this.totalBeats},this.millisecondsPerMeasure=function(e){var t;if(e)t=e;else{var r=this.metaText?this.metaText.tempo:null;t=this.getBpm(r)}return t<=0&&(t=1),6e4*(this.getBeatsPerMeasure()/t)},this.getBeatsPerMeasure=function(){var e=this.getBeatLength();return this.getBarLength()/e},this.getMeter=function(){for(var e=0;e<this.lines.length;e++){var t=this.lines[e];if(t.staff)for(var r=0;r<t.staff.length;r++){var n=t.staff[r].meter;if(n)return n}}return{type:"common_time"}},this.getMeterFraction=function(){var e=this.getMeter(),t=4,r=4;return e&&("specified"===e.type?(t=parseInt(e.value[0].num,10),r=parseInt(e.value[0].den,10)):"cut_time"===e.type?(t=2,r=2):"common_time"===e.type&&(t=4,r=4)),this.meter={num:t,den:r},this.meter},this.getKeySignature=function(){for(var e=0;e<this.lines.length;e++){var t=this.lines[e];if(t.staff)for(var r=0;r<t.staff.length;r++)if(t.staff[r].key)return t.staff[r].key}return{}},this.getElementFromChar=function(e){for(var t=0;t<this.lines.length;t++){var r=this.lines[t];if(r.staff)for(var n=0;n<r.staff.length;n++)for(var o=r.staff[n],a=0;a<o.voices.length;a++)for(var i=o.voices[a],s=0;s<i.length;s++){var l=i[s];if(l.startChar&&l.endChar&&l.startChar<=e&&l.endChar>e)return l}}return null},this.addElementToEvents=function(e,t,r,n,o,a,i,s,l,c){if(t.hint)return{isTiedState:void 0,duration:0};var u=t.durationClass?t.durationClass:t.duration;if(t.abcelem.rest&&"spacer"===t.abcelem.rest.type&&(u=0),u>0){for(var d=[],p=0;p<t.elemset.length;p++)null!==t.elemset[p]&&d.push(t.elemset[p]);var f=t.startTie;if(void 0!==l)e["event"+l].elements.push(d),c&&(e["event"+r]||(e["event"+r]={type:"event",milliseconds:r,line:a,measureNumber:i,top:n,height:o,left:null,width:0,elements:[],startChar:null,endChar:null,startCharArray:[],endCharArray:[]}),e["event"+r].measureStart=!0,c=!1),f||(l=void 0);else{if(e["event"+r]){if(e["event"+r].left?e["event"+r].left=Math.min(e["event"+r].left,t.x):e["event"+r].left=t.x,e["event"+r].elements.push(d),e["event"+r].startCharArray.push(t.abcelem.startChar),e["event"+r].endCharArray.push(t.abcelem.endChar),null===e["event"+r].startChar&&(e["event"+r].startChar=t.abcelem.startChar),null===e["event"+r].endChar&&(e["event"+r].endChar=t.abcelem.endChar),t.abcelem.midiPitches&&t.abcelem.midiPitches.length){e["event"+r].midiPitches||(e["event"+r].midiPitches=[]);for(p=0;p<t.abcelem.midiPitches.length;p++)e["event"+r].midiPitches.push(t.abcelem.midiPitches[p])}if(t.abcelem.midiGraceNotePitches&&t.abcelem.midiGraceNotePitches.length){e["event"+r].midiGraceNotePitches||(e["event"+r].midiGraceNotePitches=[]);for(var h=0;h<t.abcelem.midiGraceNotePitches.length;h++)e["event"+r].midiGraceNotePitches.push(t.abcelem.midiGraceNotePitches[h])}}else e["event"+r]={type:"event",milliseconds:r,line:a,measureNumber:i,top:n,height:o,left:t.x,width:t.w,elements:[d],startChar:t.abcelem.startChar,endChar:t.abcelem.endChar,startCharArray:[t.abcelem.startChar],endCharArray:[t.abcelem.endChar],midiPitches:t.abcelem.midiPitches?parseCommon$6.cloneArray(t.abcelem.midiPitches):[]},t.abcelem.midiGraceNotePitches&&(e["event"+r].midiGraceNotePitches=parseCommon$6.cloneArray(t.abcelem.midiGraceNotePitches));c&&(e["event"+r].measureStart=!0,c=!1),f&&(l=r)}}return{isTiedState:l,duration:u/s,nextIsBar:c||"bar"===t.type}},this.makeVoicesArray=function(){for(var e=[],t=[],r={},n=0;n<this.engraver.staffgroups.length;n++){var o=this.engraver.staffgroups[n];if(o&&o.staffs&&o.staffs.length>0)for(var a=o.staffs[0],i=a.absoluteY,s=i-a.top*spacing$d.STEP,l=o.staffs[o.staffs.length-1],c=(i=l.absoluteY)-l.bottom*spacing$d.STEP-s,u=o.voices,d=0;d<u.length;d++)if(!u[d].staff||!u[d].staff.isTabStaff){var p=!1;e[d]||(e[d]=[]),void 0===t[d]&&(t[d]=0);for(var f=u[d].children,h=0;h<f.length;h++)"tempo"===f[h].type&&(r[t[d]]=this.getBpm(f[h].abcelem)),e[d].push({top:s,height:c,line:o.line,measureNumber:t[d],elem:f[h]}),"bar"===f[h].type&&p&&t[d]++,"note"!==f[h].type&&"rest"!==f[h].type||(p=!0)}}return this.tempoLocations=r,e},this.setupEvents=function(e,r,n,o){o||(o=1);for(var a,i=[],s={},l=e,c=!0,u=this.makeVoicesArray(),d=0,p=0;p<u.length;p++){var f=l,h=Math.round(1e3*f),v=0,g=-1,m=u[p],b=n;r=this.getBeatLength()*b/60;for(var A=-1,y=0;y<m.length;y++){var x=m[y].measureNumber;A!==x&&this.tempoLocations[x]&&(b=this.tempoLocations[x],r=o*this.getBeatLength()*b/60,A=x);var w,C=m[y].elem,k=this.addElementToEvents(s,C,h,m[y].top,m[y].height,m[y].line,m[y].measureNumber,r,a,c);if(a=k.isTiedState,c=k.nextIsBar,f+=k.duration,C.duration>0&&s["event"+h]&&(w="event"+h),h=Math.round(1e3*f),"bar"===C.type){var _=C.abcelem.type,S="bar_right_repeat"===_||"bar_dbl_repeat"===_,B="1"===C.abcelem.startEnding,E="bar_left_repeat"===_||"bar_dbl_repeat"===_||"bar_right_repeat"===_;if(S){y>0&&(s[w].endX=C.x),-1===g&&(g=y);var T=0;A=-1;for(var P=v;P<g;P++){A!==(x=m[P].measureNumber)&&this.tempoLocations[x]&&(b=this.tempoLocations[x],r=o*this.getBeatLength()*b/60,A=x);var I=m[P].elem;a=(k=this.addElementToEvents(s,I,h,m[P].top,m[P].height,m[P].line,m[P].measureNumber,r,a,c)).isTiedState,c=k.nextIsBar,f+=k.duration,T=h,h=Math.round(1e3*f)}s["event"+T]&&(s["event"+T].endX=m[g].elem.x),c=!0,g=-1}B&&(g=y),E&&(v=y)}}d=Math.max(d,h)}return i=function(e){var t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(e[r]);return t=t.sort((function(e,t){var r=e.milliseconds-t.milliseconds;return 0!==r?r:"bar"===e.type?-1:1})),t}(s),function(e){for(var t,r,n,o,a=e.length-1;a>=0;a--){var i=e[a];"bar"===i.type?(i.top=n,i.nextTop=t,t=n,i.bottom=o,i.nextBottom=r,r=o):"event"===i.type&&(n=i.top,o=i.top+i.height)}}(i),function(e,r){if(r.length<1)return;for(var n=0;n<r.length-1;n++){var o=r[n],a=t(r,n+1);if(null!==o.left){var i=a&&o.top===a.top?a.left:e[o.line].staffGroup.w;void 0!==o.endX?i>o.left&&(o.endX=Math.min(o.endX,i)):o.endX=i}}var s=r[r.length-1];s.endX=e[s.line].staffGroup.w}(this.lines,i),i.push({type:"end",milliseconds:d}),this.addUsefulCallbackInfo(i,b*o),i},this.addUsefulCallbackInfo=function(e,t){for(var r=this.millisecondsPerMeasure(t),n=0;n<e.length;n++){e[n].millisecondsPerMeasure=r}},this.getBpm=function(e){var t;if(e){t=e.bpm;var r=this.getBeatLength();t=t*(e.duration&&e.duration.length>0?e.duration[0]:r)/r}if(!t){t=180;var n=this.getMeterFraction();n&&3!==n.num&&n.num%3==0&&(t=120)}return t},this.setTiming=function(e,t){if(t=t||0,!this.engraver||!this.engraver.staffgroups)return console.log("setTiming cannot be called before the tune is drawn."),this.noteTimings=[],this.noteTimings;var r=this.metaText?this.metaText.tempo:null,n=this.getBpm(r),o=1;e?r&&(o=e/n):e=n;var a=this.getBeatLength(),i=e/60,s=this.getBarLength()/a*t/i;s&&(s-=this.getPickupLength()/a/i);var l=a*i;return this.noteTimings=this.setupEvents(s,l,e,o),this.noteTimings.length>0?(this.totalTime=this.noteTimings[this.noteTimings.length-1].milliseconds/1e3,this.totalBeats=this.totalTime*i):(this.totalTime=void 0,this.totalBeats=void 0),this.noteTimings},this.setUpAudio=function(e){e||(e={});var t=sequence$1(this,e);return flatten(t,e,this.formatting.percmap,this.formatting.midi)},this.deline=function(e){return delineTune(this.lines,e)}},abc_tune=Tune$1,parseKeyVoice=abc_parse_key_voice,parseCommon$5=abc_common,TuneBuilder$1=function(e){var t=this;function r(e,t){for(var r=t-1;r>0&&"bar"!==e[r].el_type;r--);return r}this.setVisualTranspose=function(t){t&&(e.visualTranspose=t)},this.resolveOverlays=function(){for(var t=!1,n=[],o=0;o<e.lines.length;o++){var a=e.lines[o];if(a.staff)for(var i=0;i<a.staff.length;i++){for(var s=a.staff[i],l=[],c=0;c<s.voices.length;c++){var u=s.voices[c];l.push({hasOverlay:!1,voice:[],snip:[]}),n[o]=0;for(var d=0,p=!1,f=-1,h=0;h<u.length;h++){var v=u[h];if("overlay"!==v.el_type||p)"bar"===v.el_type?(p?(p=!1,l[c].snip.push({start:f,len:h-f}),l[c].voice.push(v)):(d>0&&l[c].voice.push({el_type:"note",duration:d,rest:{type:"invisible"},startChar:v.startChar,endChar:v.endChar}),l[c].voice.push(v)),d=0):"note"===v.el_type?p?l[c].voice.push(v):(d+=v.duration,n[o]+=v.duration):"scale"!==v.el_type&&"stem"!==v.el_type&&"overlay"!==v.el_type&&"style"!==v.el_type&&"transpose"!==v.el_type&&"color"!==v.el_type||l[c].voice.push(v);else{t=!0,p=!0,f=h,l[c].hasOverlay=!0;for(var g=0;g<o;g++)n[g]&&e.lines[g].staff&&s.voices.length>=e.lines[g].staff[0].voices.length&&e.lines[g].staff[0].voices.push([{el_type:"note",duration:n[g],rest:{type:"invisible"},startChar:v.startChar,endChar:v.endChar}])}}l[c].hasOverlay&&0===l[c].snip.length&&l[c].snip.push({start:f,len:u.length-f})}for(c=0;c<l.length;c++){var m=l[c];if(m.hasOverlay){m.voice.splice(0,0,{el_type:"stem",direction:"down"}),s.voices.push(m.voice);for(var b=m.snip.length-1;b>=0;b--){var A=m.snip[b];s.voices[c].splice(A.start,A.len),s.voices[c].splice(A.start+1,0,{el_type:"stem",direction:"auto"});var y=r(s.voices[c],A.start);s.voices[c].splice(y,0,{el_type:"stem",direction:"up"})}for(b=0;b<s.voices[s.voices.length-1].length;b++){s.voices[s.voices.length-1][b]=parseCommon$5.clone(s.voices[s.voices.length-1][b]);var x=s.voices[s.voices.length-1][b];"bar"===x.el_type&&x.startEnding&&delete x.startEnding,"bar"===x.el_type&&x.endEnding&&delete x.endEnding}}}}}return t},this.cleanUp=function(t,r,n){this.closeLine(),delete e.runningFonts,e.metaText.tempo&&e.metaText.tempo.bpm&&!e.metaText.tempo.duration&&(e.metaText.tempo.duration=[e.getBeatLength()]);var o,a,i,s=!1;for(o=0;o<e.lines.length;o++)if(void 0!==e.lines[o].staff){var l=!1;for(a=0;a<e.lines[o].staff.length;a++)if(void 0===e.lines[o].staff[a])s=!0,e.lines[o].staff[a]=null;else for(i=0;i<e.lines[o].staff[a].voices.length;i++)void 0===e.lines[o].staff[a].voices[i]?e.lines[o].staff[a].voices[i]=[]:this.containsNotes(e.lines[o].staff[a].voices[i])&&(l=!0);l||(e.lines[o]=null,s=!0)}if(s&&(e.lines=e.lines.filter((function(e){return!!e})),e.lines.forEach((function(e){e.staff&&(e.staff=e.staff.filter((function(e){return!!e})))}))),t)for(;p(e.lines,t););if(r){for(s=!1,o=0;o<e.lines.length;o++)if(void 0!==e.lines[o].staff)for(a=0;a<e.lines[o].staff.length;a++){var c=!1;for(i=0;i<e.lines[o].staff[a].voices.length;i++)this.containsNotesStrict(e.lines[o].staff[a].voices[i])&&(c=!0);c||(s=!0,e.lines[o].staff[a]=null)}s&&e.lines.forEach((function(e){e.staff&&(e.staff=e.staff.filter((function(e){return!!e})))}))}for(function(e){for(var t=!0,r=0;r<e.length;r++){var n=e[r];if(n.staff){for(var o=0;o<n.staff.length;o++){var a=n.staff[o];if(a.title){for(var i=!1,s=0;s<a.title.length;s++)a.title[s]?(a.title[s]=t?a.title[s].name:a.title[s].subname,a.title[s]?i=!0:a.title[s]=""):a.title[s]="";i||delete a.title}}t=!1}}}(e.lines),o=0;o<e.lines.length;o++)if(e.lines[o].staff)for(a=0;a<e.lines[o].staff.length;a++)delete e.lines[o].staff[a].workingClef;for(;this.resolveOverlays(););function u(e,t,r){var o;n[t]||(n[t]=[]),n[t][r]||(n[t][r]=[]);for(var a=function(e,a,i){if(void 0===n[t][r][i]){for(o=0;o<n[t][r].length;o++)if(void 0!==n[t][r][o]){i=o;break}if(void 0===n[t][r][i]){var s=100*i+1;e.endSlur.forEach((function(e){s===e&&--s})),n[t][r][i]=[s]}}for(var l,c=0;c<a;c++)l=n[t][r][i].pop(),e.endSlur.push(l);return 0===n[t][r][i].length&&delete n[t][r][i],l},i=function(e,o,a,i){e.startSlur=[],void 0===n[t][r][a]&&(n[t][r][a]=[]);for(var s=100*a+1,l=0;l<o;l++)i&&(i.forEach((function(e){s===e&&++s})),i.forEach((function(e){s===e&&++s})),i.forEach((function(e){s===e&&++s}))),n[t][r][a].forEach((function(e){s===e&&++s})),n[t][r][a].forEach((function(e){s===e&&++s})),n[t][r][a].push(s),e.startSlur.push({label:s}),e.dottedSlur&&(e.startSlur[e.startSlur.length-1].style="dotted",delete e.dottedSlur),s++},s=0;s<e.length;s++){var l=e[s];if("note"===l.el_type){if(l.gracenotes)for(var c=0;c<l.gracenotes.length;c++){if(l.gracenotes[c].endSlur){var u=l.gracenotes[c].endSlur;l.gracenotes[c].endSlur=[];for(var d=0;d<u;d++)a(l.gracenotes[c],1,20)}l.gracenotes[c].startSlur&&(o=l.gracenotes[c].startSlur,i(l.gracenotes[c],o,20))}if(l.endSlur&&(o=l.endSlur,l.endSlur=[],a(l,o,0)),l.startSlur&&i(l,o=l.startSlur,0),l.pitches){for(var p=[],f=0;f<l.pitches.length;f++)if(l.pitches[f].endSlur){var h=l.pitches[f].endSlur;l.pitches[f].endSlur=[];for(var v=0;v<h;v++){var g=a(l.pitches[f],1,f+1);p.push(g)}}for(f=0;f<l.pitches.length;f++)l.pitches[f].startSlur&&(o=l.pitches[f].startSlur,i(l.pitches[f],o,f+1,p));l.gracenotes&&l.pitches[0].endSlur&&100===l.pitches[0].endSlur[0]&&l.pitches[0].startSlur&&(l.gracenotes[0].endSlur?l.gracenotes[0].endSlur.push(l.pitches[0].startSlur[0].label):l.gracenotes[0].endSlur=[l.pitches[0].startSlur[0].label],1===l.pitches[0].endSlur.length?delete l.pitches[0].endSlur:100===l.pitches[0].endSlur[0]?l.pitches[0].endSlur.shift():100===l.pitches[0].endSlur[l.pitches[0].endSlur.length-1]&&l.pitches[0].endSlur.pop(),1===n[t][r][1].length?delete n[t][r][1]:n[t][r][1].pop())}}}}function d(e){parseKeyVoice.fixClef(e)}function p(e,t){for(o=0;o<e.length;o++)if(void 0!==e[o].staff)for(a=0;a<e[o].staff.length;a++){var r=[];for(i=0;i<e[o].staff[a].voices.length;i++)for(var n=e[o].staff[a].voices[i],s=0,l=0;l<n.length;l++)if("bar"===n[l].el_type){if(++s>=t&&l<n.length-1){var c=f(e,o);if(!c){var u=JSON.parse(JSON.stringify(e[o]));e.push(parseCommon$5.clone(u)),c=e[e.length-1];for(var d=0;d<c.staff.length;d++)for(var p=0;p<c.staff[d].voices.length;p++)c.staff[d].voices[p]=[]}var h=l+1,v=e[o].staff[a].voices[i].slice(h);return e[o].staff[a].voices[i]=e[o].staff[a].voices[i].slice(0,h),c.staff[a].voices[i]=r.concat(v.concat(c.staff[a].voices[i])),!0}}else n[l].duration||r.push(n[l])}return!1}function f(e,t){for(t++;e.length>t;){if(e[t].staff)return e[t];t++}return null}for(e.lineNum=0;e.lineNum<e.lines.length;e.lineNum++){var h=e.lines[e.lineNum].staff;if(h)for(e.staffNum=0;e.staffNum<h.length;e.staffNum++)for(h[e.staffNum].clef&&d(h[e.staffNum].clef),e.voiceNum=0;e.voiceNum<h[e.staffNum].voices.length;e.voiceNum++){var v=h[e.staffNum].voices[e.voiceNum];u(v,e.staffNum,e.voiceNum);for(var g=0;g<v.length;g++)"clef"===v[g].el_type&&d(v[g]);if(v.length>0&&v[v.length-1].barNumber){var m=f(e.lines,e.lineNum);m&&(m.staff[0].barNumber=v[v.length-1].barNumber),delete v[v.length-1].barNumber}}}return delete e.staffNum,delete e.voiceNum,delete e.lineNum,delete e.potentialStartBeam,delete e.potentialEndBeam,delete e.vskipPending,n},e.reset(),this.getLastNote=function(){if(e.lines[e.lineNum]&&e.lines[e.lineNum].staff&&e.lines[e.lineNum].staff[e.staffNum]&&e.lines[e.lineNum].staff[e.staffNum].voices[e.voiceNum])for(var t=e.lines[e.lineNum].staff[e.staffNum].voices[e.voiceNum].length-1;t>=0;t--){var r=e.lines[e.lineNum].staff[e.staffNum].voices[e.voiceNum][t];if("note"===r.el_type)return r}return null},this.addTieToLastNote=function(e){var t=this.getLastNote();return!!(t&&t.pitches&&t.pitches.length>0)&&(t.pitches[0].startTie={},e&&(t.pitches[0].startTie.style="dotted"),!0)},this.getDuration=function(e){return e.duration?e.duration:0},this.closeLine=function(){e.potentialStartBeam&&e.potentialEndBeam&&(e.potentialStartBeam.startBeam=!0,e.potentialEndBeam.endBeam=!0),delete e.potentialStartBeam,delete e.potentialEndBeam},this.appendElement=function(r,n,o,a){var i=e;a.el_type=r,null!==n&&(a.startChar=n),null!==o&&(a.endChar=o);var s=function(){void 0!==i.potentialStartBeam&&void 0!==i.potentialEndBeam&&(i.potentialStartBeam.startBeam=!0,i.potentialEndBeam.endBeam=!0),delete i.potentialStartBeam,delete i.potentialEndBeam};"note"===r?t.getDuration(a)>=.25||a.force_end_beam_last&&void 0!==i.potentialStartBeam?s():a.end_beam&&void 0!==i.potentialStartBeam?void 0===a.rest?(i.potentialStartBeam.startBeam=!0,a.endBeam=!0,delete i.potentialStartBeam,delete i.potentialEndBeam):s():void 0===a.rest&&(void 0===i.potentialStartBeam?a.end_beam||(i.potentialStartBeam=a,delete i.potentialEndBeam):i.potentialEndBeam=a):s();delete a.end_beam,delete a.force_end_beam_last,function(e){var t=i.lines[i.lineNum].staff[i.staffNum];if(t){if(void 0!==e.pitches){var r=t.workingClef.verticalPos;e.pitches.forEach((function(e){e.verticalPos=e.pitch-r}))}if(void 0!==e.gracenotes){var n=t.workingClef.verticalPos;e.gracenotes.forEach((function(e){e.verticalPos=e.pitch-n}))}t.voices[i.voiceNum].push(e)}}(a)},this.appendStartingElement=function(t,r,n,o){var a;this.closeLine(),"key"===t&&(a=o.impliedNaturals,delete o.impliedNaturals,delete o.explicitAccidentals);var i=parseCommon$5.clone(o);if(e.lines[e.lineNum]&&e.lines[e.lineNum].staff){e.lines[e.lineNum].staff.length<=e.staffNum&&(e.lines[e.lineNum].staff[e.staffNum]={},e.lines[e.lineNum].staff[e.staffNum].clef=parseCommon$5.clone(e.lines[e.lineNum].staff[0].clef),e.lines[e.lineNum].staff[e.staffNum].key=parseCommon$5.clone(e.lines[e.lineNum].staff[0].key),e.lines[e.lineNum].staff[0].meter&&(e.lines[e.lineNum].staff[e.staffNum].meter=parseCommon$5.clone(e.lines[e.lineNum].staff[0].meter)),e.lines[e.lineNum].staff[e.staffNum].workingClef=parseCommon$5.clone(e.lines[e.lineNum].staff[0].workingClef),e.lines[e.lineNum].staff[e.staffNum].voices=[[]]),"clef"===t&&(e.lines[e.lineNum].staff[e.staffNum].workingClef=i);for(var s=e.lines[e.lineNum].staff[e.staffNum].voices[e.voiceNum],l=0;l<s.length;l++){if("note"===s[l].el_type||"bar"===s[l].el_type)return i.el_type=t,i.startChar=r,i.endChar=n,a&&(i.accidentals=a.concat(i.accidentals)),void s.push(i);if(s[l].el_type===t)return i.el_type=t,i.startChar=r,i.endChar=n,a&&(i.accidentals=a.concat(i.accidentals)),void(s[l]=i)}e.lines[e.lineNum].staff[e.staffNum][t]=o}},this.pushLine=function(t){e.vskipPending&&(t.vskip=e.vskipPending,delete e.vskipPending),e.lines.push(t)},this.addSubtitle=function(e,t){this.pushLine({subtitle:{text:e,startChar:t.startChar,endChar:t.endChar}})},this.addSpacing=function(t){e.vskipPending=t},this.addNewPage=function(e){this.pushLine({newpage:e})},this.addSeparator=function(e,t,r,n){this.pushLine({separator:{spaceAbove:Math.round(e),spaceBelow:Math.round(t),lineLength:Math.round(r),startChar:n.startChar,endChar:n.endChar}})},this.addText=function(e,t){this.pushLine({text:{text:e,startChar:t.startChar,endChar:t.endChar}})},this.addCentered=function(e){this.pushLine({text:[{text:e,center:!0}]})},this.containsNotes=function(e){for(var t=0;t<e.length;t++)if("note"===e[t].el_type||"bar"===e[t].el_type)return!0;return!1},this.containsNotesStrict=function(e){for(var t=0;t<e.length;t++)if("note"===e[t].el_type&&(void 0===e[t].rest||void 0!==e[t].chord))return!0;return!1},this.changeVoiceScale=function(e){t.appendElement("scale",null,null,{size:e})},this.changeVoiceColor=function(e){t.appendElement("color",null,null,{color:e})},this.startNewLine=function(r){var n=e;this.closeLine();var o=function(e){var r=n.lines[n.lineNum].staff[n.staffNum];if(r.voices[n.voiceNum]=[],r.title||(r.title=[]),r.title[n.voiceNum]={name:e.name,subname:e.subname},e.style&&t.appendElement("style",null,null,{head:e.style}),e.stem)t.appendElement("stem",null,null,{direction:e.stem});else if(n.voiceNum>0){if(void 0!==r.voices[0]){for(var o=!1,a=0;a<r.voices[0].length;a++)"stem"===r.voices[0].el_type&&(o=!0);if(!o){r.voices[0].splice(0,0,{el_type:"stem",direction:"up"})}}t.appendElement("stem",null,null,{direction:"down"})}e.scale&&t.appendElement("scale",null,null,{size:e.scale}),e.color&&t.appendElement("color",null,null,{color:e.color})},a=function(e){e.key&&e.key.impliedNaturals&&(e.key.accidentals=e.key.accidentals.concat(e.key.impliedNaturals),delete e.key.impliedNaturals),n.lines[n.lineNum].staff[n.staffNum]={voices:[],clef:e.clef,key:e.key,workingClef:e.clef},void 0!==e.stafflines&&(n.lines[n.lineNum].staff[n.staffNum].clef.stafflines=e.stafflines,n.lines[n.lineNum].staff[n.staffNum].workingClef.stafflines=e.stafflines),e.staffscale&&(n.lines[n.lineNum].staff[n.staffNum].staffscale=e.staffscale),e.annotationfont&&t.setLineFont("annotationfont",e.annotationfont),e.gchordfont&&t.setLineFont("gchordfont",e.gchordfont),e.tripletfont&&t.setLineFont("tripletfont",e.tripletfont),e.vocalfont&&t.setLineFont("vocalfont",e.vocalfont),e.bracket&&(n.lines[n.lineNum].staff[n.staffNum].bracket=e.bracket),e.brace&&(n.lines[n.lineNum].staff[n.staffNum].brace=e.brace),e.connectBarLines&&(n.lines[n.lineNum].staff[n.staffNum].connectBarLines=e.connectBarLines),e.barNumber&&(n.lines[n.lineNum].staff[n.staffNum].barNumber=e.barNumber),o(e),e.part&&t.appendElement("part",e.part.startChar,e.part.endChar,{title:e.part.title}),void 0!==e.meter&&(n.lines[n.lineNum].staff[n.staffNum].meter=e.meter),n.vskipPending&&(n.lines[n.lineNum].vskip=n.vskipPending,delete n.vskipPending)};void 0===e.lines[e.lineNum]?function(e){n.lines[n.lineNum]={staff:[]},a(e)}(r):void 0===e.lines[e.lineNum].staff?(e.lineNum++,this.startNewLine(r)):void 0===e.lines[e.lineNum].staff[e.staffNum]?a(r):void 0===e.lines[e.lineNum].staff[e.staffNum].voices[e.voiceNum]?o(r):this.containsNotes(e.lines[e.lineNum].staff[e.staffNum].voices[e.voiceNum])?(e.lineNum++,this.startNewLine(r)):r.part&&t.appendElement("part",r.part.startChar,r.part.endChar,{title:r.part.title})},this.setRunningFont=function(t,r){e.runningFonts[t]=r},this.setLineFont=function(t,r){if(e.runningFonts[t]){for(var n=!1,o=Object.keys(r),a=0;a<o.length;a++)e.runningFonts[t][o[a]]!==r[o[a]]&&(n=!0);n&&(e.lines[e.lineNum].staff[e.staffNum][t]=r)}e.runningFonts[t]=r},this.setBarNumberImmediate=function(e){var t=this.getCurrentVoice();if(t&&t.length>0){var r=t[t.length-1];if("bar"!==r.el_type)return e-1;void 0!==r.barNumber&&(r.barNumber=e)}return e},this.hasBeginMusic=function(){for(var t=0;t<e.lines.length;t++)if(e.lines[t].staff)return!0;return!1},this.isFirstLine=function(t){for(var r=t-1;r>=0;r--)if(void 0!==e.lines[r].staff)return!1;return!0},this.getCurrentVoice=function(){var t=e.lines[e.lineNum];if(!t)return null;var r=t.staff[e.staffNum];return r&&void 0!==r.voices[e.voiceNum]?r.voices[e.voiceNum]:null},this.setCurrentVoice=function(t,r){e.staffNum=t,e.voiceNum=r;for(var n=0;n<e.lines.length;n++)if(e.lines[n].staff&&(void 0===e.lines[n].staff[t]||void 0===e.lines[n].staff[t].voices[r]||!this.containsNotes(e.lines[n].staff[t].voices[r])))return void(e.lineNum=n);e.lineNum=n},this.addMetaText=function(t,r,n){void 0===e.metaText[t]?(e.metaText[t]=r,e.metaTextInfo[t]=n):(e.metaText[t]+="\n"+r,e.metaTextInfo[t].endChar=n.endChar)},this.addMetaTextArray=function(t,r,n){void 0===e.metaText[t]?(e.metaText[t]=[r],e.metaTextInfo[t]=n):(e.metaText[t].push(r),e.metaTextInfo[t].endChar=n.endChar)},this.addMetaTextObj=function(t,r,n){e.metaText[t]=r,e.metaTextInfo[t]=n}},tuneBuilder=TuneBuilder$1,parseCommon$4=abc_common,parseDirective=abc_parse_directive,ParseHeader=abc_parse_header,ParseMusic=abc_parse_music,Tokenizer=abc_tokenizer,wrap$2=wrap_lines,Tune=abc_tune,TuneBuilder=tuneBuilder,Parse$2=function(){var e,t=new Tune,r=new TuneBuilder(t),n="",o="";function a(e,t,r){e.positioning||(e.positioning={}),e.positioning[t]=r}function i(e,t,r){e.fonts||(e.fonts={}),e.fonts[t]=r}this.getTune=function(){var e={formatting:t.formatting,lines:t.lines,media:t.media,metaText:t.metaText,metaTextInfo:t.metaTextInfo,version:t.version,addElementToEvents:t.addElementToEvents,addUsefulCallbackInfo:t.addUsefulCallbackInfo,getTotalTime:t.getTotalTime,getTotalBeats:t.getTotalBeats,getBarLength:t.getBarLength,getBeatLength:t.getBeatLength,getBeatsPerMeasure:t.getBeatsPerMeasure,getBpm:t.getBpm,getMeter:t.getMeter,getMeterFraction:t.getMeterFraction,getPickupLength:t.getPickupLength,getKeySignature:t.getKeySignature,getElementFromChar:t.getElementFromChar,makeVoicesArray:t.makeVoicesArray,millisecondsPerMeasure:t.millisecondsPerMeasure,setupEvents:t.setupEvents,setTiming:t.setTiming,setUpAudio:t.setUpAudio,deline:t.deline};return t.lineBreaks&&(e.lineBreaks=t.lineBreaks),t.visualTranspose&&(e.visualTranspose=t.visualTranspose),e};var s,l,c={reset:function(){for(var e in this)this.hasOwnProperty(e)&&"function"!=typeof this[e]&&delete this[e];this.iChar=0,this.key={accidentals:[],root:"none",acc:"",mode:""},this.meter=null,this.origMeter=null,this.hasMainTitle=!1,this.default_length=.125,this.clef={type:"treble",verticalPos:0},this.octave=0,this.next_note_duration=0,this.start_new_line=!0,this.is_in_header=!0,this.partForNextLine={},this.tempoForNextLine=[],this.havent_set_length=!0,this.voices={},this.staves=[],this.macros={},this.currBarNumber=1,this.barCounter={},this.ignoredDecorations=[],this.score_is_present=!1,this.inEnding=!1,this.inTie=[],this.inTieChord={},this.vocalPosition="auto",this.dynamicPosition="auto",this.chordPosition="auto",this.ornamentPosition="auto",this.volumePosition="auto",this.openSlurs=[],this.freegchord=!1,this.endingHoldOver={}},differentFont:function(e,t){return this[e].decoration!==t[e].decoration||(this[e].face!==t[e].face||(this[e].size!==t[e].size||(this[e].style!==t[e].style||this[e].weight!==t[e].weight)))},addFormattingOptions:function(e,t,r){"note"===r?("auto"!==this.vocalPosition&&a(e,"vocalPosition",this.vocalPosition),"auto"!==this.dynamicPosition&&a(e,"dynamicPosition",this.dynamicPosition),"auto"!==this.chordPosition&&a(e,"chordPosition",this.chordPosition),"auto"!==this.ornamentPosition&&a(e,"ornamentPosition",this.ornamentPosition),"auto"!==this.volumePosition&&a(e,"volumePosition",this.volumePosition),this.differentFont("annotationfont",t)&&i(e,"annotationfont",this.annotationfont),this.differentFont("gchordfont",t)&&i(e,"gchordfont",this.gchordfont),this.differentFont("vocalfont",t)&&i(e,"vocalfont",this.vocalfont),this.differentFont("tripletfont",t)&&i(e,"tripletfont",this.tripletfont)):"bar"===r&&("auto"!==this.dynamicPosition&&a(e,"dynamicPosition",this.dynamicPosition),"auto"!==this.chordPosition&&a(e,"chordPosition",this.chordPosition),"auto"!==this.ornamentPosition&&a(e,"ornamentPosition",this.ornamentPosition),"auto"!==this.volumePosition&&a(e,"volumePosition",this.volumePosition),this.differentFont("measurefont",t)&&i(e,"measurefont",this.measurefont),this.differentFont("repeatfont",t)&&i(e,"repeatfont",this.repeatfont))},duplicateStartEndingHoldOvers:function(){this.endingHoldOver={inTie:[],inTieChord:{}};for(var e=0;e<this.inTie.length;e++)if(this.endingHoldOver.inTie.push([]),this.inTie[e])for(var t=0;t<this.inTie[e].length;t++)this.endingHoldOver.inTie[e].push(this.inTie[e][t]);for(var r in this.inTieChord)this.inTieChord.hasOwnProperty(r)&&(this.endingHoldOver.inTieChord[r]=this.inTieChord[r])},restoreStartEndingHoldOvers:function(){if(this.endingHoldOver.inTie){this.inTie=[],this.inTieChord={};for(var e=0;e<this.endingHoldOver.inTie.length;e++){this.inTie.push([]);for(var t=0;t<this.endingHoldOver.inTie[e].length;t++)this.inTie[e].push(this.endingHoldOver.inTie[e][t])}for(var r in this.endingHoldOver.inTieChord)this.endingHoldOver.inTieChord.hasOwnProperty(r)&&(this.inTieChord[r]=this.endingHoldOver.inTieChord[r])}}},u=function(e){var t=e.replace(/\x12/g," ");return(t=(t=t.replace(/&/g,"&amp;")).replace(/</g,"&lt;")).replace(/>/g,"&gt;")},d=function(t,r,n){r||(r=" ");var o=r[n];" "!==o&&o||(o="SPACE");var a,i=u(r.substring(n-64,n))+'<span style="text-decoration:underline;font-size:1.3em;font-weight:bold;">'+o+"</span>"+u(r.substring(n+1).substring(0,64));!function(e){c.warnings||(c.warnings=[]),c.warnings.push(e)}("Music Line:"+e.lineIndex+":"+(n+1)+": "+t+": "+i),a={message:t,line:r,startChar:c.iChar+n,column:n},c.warningObjects||(c.warningObjects=[]),c.warningObjects.push(a)};this.getWarnings=function(){return c.warnings},this.getWarningObjects=function(){return c.warningObjects};var p=function(t,r){if(r.indexOf("")>=0)n+=r;else if(r=n+r,n="",t){"-"!==(r=parseCommon$4.strip(r))[r.length-1]&&(r+=" ");for(var o=[],a=0,i=!1,s=function(t){var n=parseCommon$4.strip(r.substring(a,t));if(n=n.replace(/\\([-_*|~])/g,"$1"),a=t+1,n.length>0){i&&(n=n.replace(/~/g," "));var s=r[t];return"_"!==s&&"-"!==s&&(s=" "),o.push({syllable:e.translateString(n),divider:s}),i=!1,!0}return!1},l=!1,c=0;c<r.length;c++){switch(r[c]){case" ":case"":s(c);break;case"-":!l&&!s(c)&&o.length>0&&(parseCommon$4.last(o).divider="-",o.push({skip:!0,to:"next"}));break;case"_":l||(s(c),o.push({skip:!0,to:"slur"}));break;case"*":l||(s(c),o.push({skip:!0,to:"next"}));break;case"|":l||(s(c),o.push({skip:!0,to:"bar"}));break;case"~":l||(i=!0)}l="\\"===r[c]}t.forEach((function(e){if(0!==o.length)if(o[0].skip){switch(o[0].to){case"next":case"slur":"note"===e.el_type&&null!==e.pitches&&o.shift();break;case"bar":"bar"===e.el_type&&o.shift()}"bar"!==e.el_type&&(void 0===e.lyric?e.lyric=[{syllable:"",divider:" "}]:e.lyric.push({syllable:"",divider:" "}))}else if("note"===e.el_type&&void 0===e.rest){var t=o.shift();t.syllable&&(t.syllable=t.syllable.replace(/ +/g," ")),void 0===e.lyric?e.lyric=[t]:e.lyric.push(t)}}))}else d("Can't add words before the first line of music",t,0)},f=function(t,r){if(r.indexOf("")>=0)o+=r;else if(r=o+r,o="",t){"-"!==(r=parseCommon$4.strip(r))[r.length-1]&&(r+=" ");for(var n=[],a=0,i=!1,s=function(t){var o=parseCommon$4.strip(r.substring(a,t));if(a=t+1,o.length>0){i&&(o=o.replace(/~/g," "));var s=r[t];return"_"!==s&&"-"!==s&&(s=" "),n.push({syllable:e.translateString(o),divider:s}),i=!1,!0}return!1},l=0;l<r.length;l++)switch(r[l]){case" ":case"":s(l);break;case"-":!s(l)&&n.length>0&&(parseCommon$4.last(n).divider="-",n.push({skip:!0,to:"next"}));break;case"_":s(l),n.push({skip:!0,to:"slur"});break;case"*":s(l),n.push({skip:!0,to:"next"});break;case"|":s(l),n.push({skip:!0,to:"bar"});break;case"~":i=!0}t.forEach((function(e){if(0!==n.length)if(n[0].skip)switch(n[0].to){case"next":case"slur":"note"===e.el_type&&null!==e.pitches&&n.shift();break;case"bar":"bar"===e.el_type&&n.shift()}else if("note"===e.el_type&&void 0===e.rest){var t=n.shift();void 0===e.lyric?e.lyric=[t]:e.lyric.push(t)}}))}else d("Can't add symbols before the first line of music",t,0)},h=function(e){if(parseCommon$4.startsWith(e,"%%")){var t=parseDirective.addDirective(e.substring(2));t&&d(t,e,2)}else{var a=e.indexOf("%");if(a>=0&&(e=e.substring(0,a)),0!==(e=e.replace(/\s+$/,"")).length)if(n)p(r.getCurrentVoice(),e.substring(2));else if(o)f(r.getCurrentVoice(),e.substring(2));else if(e.length<2||":"!==e[1]||l.lineContinuation)l.parseMusic(e);else{var i=s.parseHeader(e);i.regular&&l.parseMusic(e),i.newline&&l.startNewLine(),i.words&&p(r.getCurrentVoice(),e.substring(2)),i.symbols&&f(r.getCurrentVoice(),e.substring(2))}}};function v(e,t){e.push({el_type:"hint"});for(var r=0;r<t.length;r++){var n=t[r],o=parseCommon$4.clone(n);if(e.push(o),"bar"===n.el_type)return}}function g(e,t){for(var r=0;r<e.length;r++){var n=e[r],o=t[r];if(o)for(var a=0;a<o.voices.length;a++){var i=o.voices[a],s=n.voices[a];s&&v(s,i)}}}this.parse=function(a,i,u){i||(i={}),u||(u=0),t.reset();var v=(a=a.replace(/\r\n?/g,"\n")+"\n").split("\n\\");if(v.length>1){for(var m=1;m<v.length;m++)for(;v[m].length>0&&"\n"!==v[m][0];)v[m]=v[m].substr(1),v[m-1]+=" ";a=v.join(" ")}var b=(a=a.replace(/\\([ \t]*)(%.*)*\n/g,(function(e,t,r){return t+""+(r?Array(r.length+1).join(" "):"")+"\n"}))).split("\n");0===parseCommon$4.last(b).length&&b.pop(),e=new Tokenizer(b,c),s=new ParseHeader(e,d,c,t,r),l=new ParseMusic(e,d,c,t,r,s),i.print&&(t.media="print"),c.reset(),c.iChar=u,i.visualTranspose?(c.globalTranspose=parseInt(i.visualTranspose),0===c.globalTranspose?c.globalTranspose=void 0:r.setVisualTranspose(i.visualTranspose)):c.globalTranspose=void 0,i.lineBreaks&&(c.lineBreaks=i.lineBreaks),s.reset(e,d,c,t);try{i.format&&parseDirective.globalFormatting(i.format);for(var A=e.nextLine();A;){if(i.header_only&&!1===c.is_in_header)throw"normal_abort";if(i.stop_on_warning&&c.warnings)throw"normal_abort";var y=c.is_in_header;h(A),y&&!c.is_in_header&&(r.setRunningFont("annotationfont",c.annotationfont),r.setRunningFont("gchordfont",c.gchordfont),r.setRunningFont("tripletfont",c.tripletfont),r.setRunningFont("vocalfont",c.vocalfont)),A=e.nextLine()}n&&p(r.getCurrentVoice(),""),o&&f(r.getCurrentVoice(),""),c.openSlurs=r.cleanUp(c.barsperstaff,c.staffnonote,c.openSlurs)}catch(err){if("normal_abort"!==err)throw err}var x=792,w=612;switch(c.papersize){case"legal":x=1008,w=612;break;case"A4":x=842.4,w=597.6}if(c.landscape){var C=x;x=w,w=C}t.formatting.pagewidth||(t.formatting.pagewidth=w),t.formatting.pageheight||(t.formatting.pageheight=x),i.hint_measures&&function(){for(var e=0;e<t.lines.length;e++){var r=t.lines[e].staff;if(r){for(var n=e+1;n<t.lines.length&&void 0===t.lines[n].staff;)n++;n<t.lines.length&&g(r,t.lines[n].staff)}}}(),wrap$2.wrapLines(t,c.lineBreaks,c.barNumbers)}},abc_parse=Parse$2,parseCommon$3=abc_common,bookParser$1=function(e){for(var t="",r=e.match(/(\s*)/),n=(e=parseCommon$3.strip(e)).split("\nX:"),o=1;o<n.length;o++)n[o]="X:"+n[o];var a=r?r[0].length:0,i=[];(n.forEach((function(e){i.push({abc:e,startPos:a}),a+=e.length+1})),i.length>1&&!parseCommon$3.startsWith(i[0].abc,"X:"))&&i.shift().abc.split("\n").forEach((function(e){parseCommon$3.startsWith(e,"%%")&&(t+=e+"\n")}));var s=t;return i.forEach((function(e){var r=e.abc.indexOf("\n\n");r>0&&(e.abc=e.abc.substring(0,r)),e.pure=e.abc,e.abc=t+e.abc,e.title="";var n=e.pure.split("T:");n.length>1&&(n=n[1].split("\n"),e.title=parseCommon$3.strip(n[0]));var o=e.pure.substring(2,e.pure.indexOf("\n"));e.id=parseCommon$3.strip(o)})),{header:s,tunes:i}},abc_parse_book=bookParser$1;function StringTablature$2(e,t){this.numLines=e,this.lineSpace=t,this.verticalSize=this.numLines*this.lineSpace;this.bar={pitch:3,pitch2:t*e,height:5}}StringTablature$2.prototype.bypass=function(e){var t=e.staffGroup.voices;return!!(t.length>0&&t[0].isPercussion)},StringTablature$2.prototype.setRelative=function(e,t,r){switch(e.type){case"bar":t.pitch=this.bar.pitch,t.pitch2=this.bar.pitch2,t.height=this.height;break;case"symbol":var n=this.bar.pitch2/2;if("dots.dot"==e.name)return r?(t.pitch=n,!1):(t.pitch=n+this.lineSpace,!0)}return r};var stringTablature=StringTablature$2;function TabCommon$2(e,t,r){this.tune=e,this.params=r,this.tuneNumber=t,this.inError=!1}TabCommon$2.prototype.setError=function(e){var t=this.tune;e&&(this.error=e,this.inError=!0,t.warnings?t.warnings.push(e):t.warnings=[e])};var tabCommon=TabCommon$2,VoiceElement$3=function(e,t){this.children=[],this.beams=[],this.otherchildren=[],this.w=0,this.duplicate=!1,this.voicenumber=e,this.voicetotal=t,this.bottom=7,this.top=7,this.specialY={tempoHeightAbove:0,partHeightAbove:0,volumeHeightAbove:0,dynamicHeightAbove:0,endingHeightAbove:0,chordHeightAbove:0,lyricHeightAbove:0,lyricHeightBelow:0,chordHeightBelow:0,volumeHeightBelow:0,dynamicHeightBelow:0}};VoiceElement$3.prototype.addChild=function(e){if("bar"===e.type){for(var t=!0,r=0;t&&r<this.children.length;r++)this.children[r].type.indexOf("staff-extra")<0&&"tempo"!==this.children[r].type&&(t=!1);t||(this.beams.push("bar"),this.otherchildren.push("bar"))}this.children[this.children.length]=e,this.setRange(e)},VoiceElement$3.prototype.setLimit=function(e,t){var r=t.specialY;r||(r=t),r[e]&&(this.specialY[e]?this.specialY[e]=Math.max(this.specialY[e],r[e]):this.specialY[e]=r[e])},VoiceElement$3.prototype.adjustRange=function(e){void 0!==e.bottom&&(this.bottom=Math.min(this.bottom,e.bottom)),void 0!==e.top&&(this.top=Math.max(this.top,e.top))},VoiceElement$3.prototype.setRange=function(e){this.adjustRange(e),this.setLimit("tempoHeightAbove",e),this.setLimit("partHeightAbove",e),this.setLimit("volumeHeightAbove",e),this.setLimit("dynamicHeightAbove",e),this.setLimit("endingHeightAbove",e),this.setLimit("chordHeightAbove",e),this.setLimit("lyricHeightAbove",e),this.setLimit("lyricHeightBelow",e),this.setLimit("chordHeightBelow",e),this.setLimit("volumeHeightBelow",e),this.setLimit("dynamicHeightBelow",e)},VoiceElement$3.prototype.addOther=function(e){this.otherchildren.push(e),this.setRange(e)},VoiceElement$3.prototype.addBeam=function(e){this.beams.push(e)},VoiceElement$3.prototype.setWidth=function(e){this.w=e};var voiceElement=VoiceElement$3,setClass$3=function(e,t,r,n){if(e)for(var o=0;o<e.length;o++){var a=e[o],i=a.getAttribute("highlight");i||(i="fill"),a.setAttribute(i,n);var s=a.getAttribute("class");s||(s=""),s=(s=s.replace(r,"")).replace(t,""),t.length>0&&(s.length>0&&" "!==s[s.length-1]&&(s+=" "),s+=t),a.setAttribute("class",s)}},setClass_1=setClass$3,setClass$2=setClass_1,highlight$2=function(e,t){void 0===e&&(e="abcjs-note_selected"),void 0===t&&(t="#ff0000"),setClass$2(this.elemset,e,"",t)},highlight_1=highlight$2,setClass$1=setClass_1,unhighlight$2=function(e,t){void 0===e&&(e="abcjs-note_selected"),void 0===t&&(t="#000000"),setClass$1(this.elemset,"",e,t)},unhighlight_1=unhighlight$2,highlight$1=highlight_1,unhighlight$1=unhighlight_1,AbsoluteElement$6=function(e,t,r,n,o,a){a||(a={}),this.tuneNumber=o,this.abcelem=e,this.duration=t,this.durationClass=a.durationClassOveride?a.durationClassOveride:this.duration,this.minspacing=r||0,this.x=0,this.children=[],this.heads=[],this.extra=[],this.extraw=0,this.w=0,this.right=[],this.invisible=!1,this.bottom=void 0,this.top=void 0,this.type=n,this.fixed={w:0,t:void 0,b:void 0},this.specialY={tempoHeightAbove:0,partHeightAbove:0,volumeHeightAbove:0,dynamicHeightAbove:0,endingHeightAbove:0,chordHeightAbove:0,lyricHeightAbove:0,lyricHeightBelow:0,chordHeightBelow:0,volumeHeightBelow:0,dynamicHeightBelow:0}};AbsoluteElement$6.prototype.getFixedCoords=function(){return{x:this.x,w:this.fixed.w,t:this.fixed.t,b:this.fixed.b}},AbsoluteElement$6.prototype.addExtra=function(e){this.fixed.w=Math.max(this.fixed.w,e.dx+e.w),void 0===this.fixed.t?this.fixed.t=e.top:this.fixed.t=Math.max(this.fixed.t,e.top),void 0===this.fixed.b?this.fixed.b=e.bottom:this.fixed.b=Math.min(this.fixed.b,e.bottom),e.dx<this.extraw&&(this.extraw=e.dx),this.extra[this.extra.length]=e,this._addChild(e)},AbsoluteElement$6.prototype.addHead=function(e){e.dx<this.extraw&&(this.extraw=e.dx),this.heads[this.heads.length]=e,this.addRight(e)},AbsoluteElement$6.prototype.addRight=function(e){this.fixed.w=Math.max(this.fixed.w,e.dx+e.w),void 0!==e.top&&(void 0===this.fixed.t?this.fixed.t=e.top:this.fixed.t=Math.max(this.fixed.t,e.top)),void 0!==e.bottom&&(void 0===this.fixed.b?this.fixed.b=e.bottom:this.fixed.b=Math.min(this.fixed.b,e.bottom)),e.dx+e.w>this.w&&(this.w=e.dx+e.w),this.right[this.right.length]=e,this._addChild(e)},AbsoluteElement$6.prototype.addFixed=function(e){this._addChild(e)},AbsoluteElement$6.prototype.addFixedX=function(e){this._addChild(e)},AbsoluteElement$6.prototype.addCentered=function(e){var t=e.w/2;-t<this.extraw&&(this.extraw=-t),this.extra[this.extra.length]=e,e.dx+t>this.w&&(this.w=e.dx+t),this.right[this.right.length]=e,this._addChild(e)},AbsoluteElement$6.prototype.setLimit=function(e,t){t[e]&&(this.specialY[e]?this.specialY[e]=Math.max(this.specialY[e],t[e]):this.specialY[e]=t[e])},AbsoluteElement$6.prototype._addChild=function(e){e.parent=this,this.children[this.children.length]=e,this.pushTop(e.top),this.pushBottom(e.bottom),this.setLimit("tempoHeightAbove",e),this.setLimit("partHeightAbove",e),this.setLimit("volumeHeightAbove",e),this.setLimit("dynamicHeightAbove",e),this.setLimit("endingHeightAbove",e),this.setLimit("chordHeightAbove",e),this.setLimit("lyricHeightAbove",e),this.setLimit("lyricHeightBelow",e),this.setLimit("chordHeightBelow",e),this.setLimit("volumeHeightBelow",e),this.setLimit("dynamicHeightBelow",e)},AbsoluteElement$6.prototype.pushTop=function(e){void 0!==e&&(void 0===this.top?this.top=e:this.top=Math.max(e,this.top))},AbsoluteElement$6.prototype.pushBottom=function(e){void 0!==e&&(void 0===this.bottom?this.bottom=e:this.bottom=Math.min(e,this.bottom))},AbsoluteElement$6.prototype.setX=function(e){this.x=e;for(var t=0;t<this.children.length;t++)this.children[t].setX(e)},AbsoluteElement$6.prototype.center=function(e,t){var r=(t.x-e.x)/2+e.x;this.x=r-this.w/2;for(var n=0;n<this.children.length;n++)this.children[n].setX(this.x)},AbsoluteElement$6.prototype.setHint=function(){this.hint=!0},AbsoluteElement$6.prototype.highlight=function(e,t){highlight$1.bind(this)(e,t)},AbsoluteElement$6.prototype.unhighlight=function(e,t){unhighlight$1.bind(this)(e,t)};var absoluteElement=AbsoluteElement$6,RelativeElement$a=function(e,t,r,n,o){switch(o=o||{},this.x=0,this.c=e,this.dx=t,this.w=r,this.pitch=n,this.scalex=o.scalex||1,this.scaley=o.scaley||1,this.type=o.type||"symbol",this.pitch2=o.pitch2,this.linewidth=o.linewidth,this.klass=o.klass,this.anchor=o.anchor?o.anchor:"middle",this.top=n,void 0!==this.pitch2&&this.pitch2>this.top&&(this.top=this.pitch2),this.bottom=n,void 0!==this.pitch2&&this.pitch2<this.bottom&&(this.bottom=this.pitch2),o.thickness&&(this.top+=o.thickness/2,this.bottom-=o.thickness/2),o.stemHeight&&(o.stemHeight>0?this.top+=o.stemHeight:this.bottom+=o.stemHeight),o.dim&&(this.dim=o.dim),o.position&&(this.position=o.position),this.height=o.height?o.height:4,o.top&&(this.top=o.top),o.bottom&&(this.bottom=o.bottom),o.name?this.name=o.name:this.c?this.name=this.c:this.name=this.type,o.realWidth?this.realWidth=o.realWidth:this.realWidth=this.w,this.centerVertically=!1,this.type){case"debug":this.chordHeightAbove=this.height;break;case"lyric":o.position&&"below"===o.position?this.lyricHeightBelow=this.height:this.lyricHeightAbove=this.height;break;case"chord":o.position&&"below"===o.position?this.chordHeightBelow=this.height:this.chordHeightAbove=this.height;break;case"text":void 0===this.pitch?o.position&&"below"===o.position?this.chordHeightBelow=this.height:this.chordHeightAbove=this.height:this.centerVertically=!0;break;case"part":this.partHeightAbove=this.height}};RelativeElement$a.prototype.getChordDim=function(){if("debug"===this.type)return null;if(!this.chordHeightAbove&&!this.chordHeightBelow)return null;var e="chord"===this.type?this.realWidth/2:0,t=this.x-e-0;return{left:t,right:t+this.realWidth+0}},RelativeElement$a.prototype.invertLane=function(e){void 0===this.lane&&(this.lane=0),this.lane=e-this.lane-1},RelativeElement$a.prototype.putChordInLane=function(e){this.lane=e,this.chordHeightAbove?this.chordHeightAbove=1.25*this.height*this.lane:this.chordHeightBelow=1.25*this.height*this.lane},RelativeElement$a.prototype.getLane=function(){return void 0===this.lane?0:this.lane},RelativeElement$a.prototype.setX=function(e){this.x=e+this.dx};var relativeElement=RelativeElement$a,AbsoluteElement$5=absoluteElement,RelativeElement$9=relativeElement;function isObject(e){return null!=e&&e.constructor===Object}function cloneObject(e,t){for(var r in t)t.hasOwnProperty(r)&&(Array.isArray(t[r])||isObject(t[r])||(e[r]=t[r]))}function cloneAbsolute(e){var t=new AbsoluteElement$5("",0,0,"",0);return cloneObject(t,e),t.top=0,t.bottom=-1,e.abcelem&&(t.abcelem={},cloneObject(t.abcelem,e.abcelem),"note"===t.abcelem.el_type&&(t.abcelem.el_type="tabNumber")),e.cloned=t,t}function cloneAbsoluteAndRelatives(e,t){var r=cloneAbsolute(e);if(t)for(var n=e.children,o=!0,a=0;a<n.length;a++){var i=n[a],s=new RelativeElement$9("",0,0,0,"");cloneObject(s,i),o=t.tablature.setRelative(i,s,o),r.children.push(s)}return r}function buildTabAbsolute(e,t,r){var n="tab.tiny",o=7.5;e.isTabBig&&(n="tab.big",o=10);var a=new AbsoluteElement$5({el_type:"tab",icon:n,Ypos:o},0,0,"symbol",0);a.x=t;var i=new RelativeElement$9(n,0,0,7.5,"tab");return i.x=r,a.children.push(i),"tab"==a.abcelem.el_type&&(i.pitch=o),a}function lyricsDim(e){if(e.extra)for(var t=0;t<e.extra.length;t++){var r=e.extra[t];if("lyric"==r.type)return{bottom:r.bottom,height:r.height}}return null}function TabAbsoluteElements$1(){this.accidentals=null}function getInitialStaffSize(e){for(var t=0,r=0;r<e.length;r++)e[r].tabNameInfos||t++;return t}function buildRelativeTabNote(e,t,r,n,o){var a=n.num;null!=n.note.quarter&&(a=a.toString(),a+=n.note.quarter);var i=e.semantics.stringToPitch(n.str);r.notes.push({num:a,str:n.str,pitch:n.note.emit()});var s=new RelativeElement$9(a,0,0,i+.3,{type:"tabNumber"});return s.x=t,s.isGrace=o,s.isAltered=n.note.isAltered,s}function getXGrace(e,t){var r=0;if(e.extra)for(var n=0;n<e.extra.length;n++)if(e.extra[n].c.indexOf("noteheads")>=0){if(r===t)return e.extra[n].x+e.extra[n].w/2;r++}return-1}function graceInRest(e){if(e.abcelem){var t=e.abcelem;if(t.rest)return t.gracenotes}return null}function convertToNumber(e,t,r){var n=e.semantics.notesToNumber(t,r);if(n.error)return e._super.setError(n.error),n;if(n.graces&&n.notes){var o=n.notes.length-1;n.notes[o].graces=n.graces}return n}function buildGraceRelativesForRest(e,t,r,n,o){for(var a=0;a<n.length;a++){var i={el_type:"note",startChar:r.abcelem.startChar,endChar:r.abcelem.endChar,notes:[],grace:!0},s=buildRelativeTabNote(e,getXGrace(r,a),i,n[a],!0);t.children.push(s),o.push(i)}}TabAbsoluteElements$1.prototype.build=function(e,t,r,n,o,a){var i=getInitialStaffSize(t),s=t[o+n],l=t[i+o+n],c=null,u=null;"clef"!=s.children[0].abcelem.el_type&&"none"!=a&&s.children.splice(0,0,a);for(var d=0;d<s.children.length;d++){var p=s.children[d],f=p.x,h=f;switch(p.isClef&&(l.children.push(buildTabAbsolute(e,f,h)),p.abcelem.type.indexOf("-8")>=0&&(e.semantics.strings.clefTranspose=-12),p.abcelem.type.indexOf("+8")>=0&&(e.semantics.strings.clefTranspose=12)),p.type){case"staff-extra key-signature":this.accidentals=p.abcelem.accidentals,e.semantics.strings.accidentals=this.accidentals;break;case"bar":e.semantics.strings.measureAccidentals={};var v=!1;d===s.children.length-1&&(v=!0);var g=cloneAbsoluteAndRelatives(p,e);if(g.abcelem.barNumber){delete g.abcelem.barNumber;for(var m=0;m<g.children.length;m++)if("barNumber"===g.children[m].type){g.children.splice(m,1);break}}g.abcelem.lastBar=v,l.children.push(g),r.push({el_type:p.abcelem.el_type,type:p.abcelem.type,endChar:p.abcelem.endChar,startChar:p.abcelem.startChar,abselem:g});break;case"rest":var b=graceInRest(p);if(b){if((c=convertToNumber(e,null,b)).error)return;S={el_type:"note",startChar:p.abcelem.startChar,endChar:p.abcelem.endChar,notes:[],grace:!0},buildGraceRelativesForRest(e,A,p,c.graces,r)}break;case"note":var A=cloneAbsolute(p);A.x=p.heads[0].x+p.heads[0].w/2,A.lyricDim=lyricsDim(p);var y=p.abcelem.pitches,x=p.abcelem.gracenotes;if(A.type="tabNumber",(c=convertToNumber(e,y,x)).error)return;if(c.graces){var w=c.notes.length-1;c.notes[w].graces=c.graces}u={el_type:"note",startChar:p.abcelem.startChar,endChar:p.abcelem.endChar,notes:[]};for(var C=0;C<c.notes.length;C++){var k=c.notes[C];if(k.graces)for(var _=0;_<k.graces.length;_++){var S={el_type:"note",startChar:p.abcelem.startChar,endChar:p.abcelem.endChar,notes:[],grace:!0},B=buildRelativeTabNote(e,getXGrace(p,_),S,k.graces[_],!0);A.children.push(B),r.push(S)}var E=buildRelativeTabNote(e,A.x+p.heads[C].dx,u,k,!1);A.children.push(E)}u.notes.length>0&&(u.abselem=A,r.push(u),l.children.push(A))}}};var tabAbsoluteElements=TabAbsoluteElements$1,VoiceElement$2=voiceElement,TabAbsoluteElements=tabAbsoluteElements,spacing$c=spacing_1;function initSpecialY(){return{tempoHeightAbove:0,partHeightAbove:0,volumeHeightAbove:0,dynamicHeightAbove:0,endingHeightAbove:0,chordHeightAbove:0,lyricHeightAbove:0,lyricHeightBelow:0,chordHeightBelow:0,volumeHeightBelow:0,dynamicHeightBelow:0}}function getLyricHeight(e){for(var t=0,r=0;r<e.children.length;r++){var n=e.children[r];n.specialY&&n.specialY.lyricHeightBelow>t&&(t=n.specialY.lyricHeightBelow)}return t}function buildTabName(e,t){var r=e.plugin.semantics.strings,n=e.renderer.controller.getTextSize,o=r.tabInfos(e.plugin),a=n.calc(o,"tablabelfont","text instrumentname");return t.tabNameInfos={textSize:a,name:o},a.height}function TabRenderer$2(e,t,r,n){this.renderer=t,this.plugin=e,this.line=r,this.absolutes=new TabAbsoluteElements,this.staffIndex=n,this.tabStaff={clef:{type:"TAB"}},this.tabSize=e.linePitch*e.nbLines}function islastTabInStaff(e,t){return!!t[e].isTabStaff&&(e===t.length-1||!t[e+1].isTabStaff)}function getStaffNumbers(e){for(var t=0,r=0;r<e.length;r++)e[r].isTabStaff||t++;return t}function getParentStaffIndex(e,t){for(var r=t;r>=0;r--)if(!e[r].isTabStaff)return r;return-1}function linkStaffAndTabs(e){for(var t=0;t<e.length;t++)if(e[t].isTabStaff){var r=getParentStaffIndex(e,t);e[t].hasStaff=e[r],e[r].hasTab||(e[r].hasTab=[]),e[r].hasTab.push(e[t])}}function isMultiVoiceSingleStaff(e,t){return 1===getStaffNumbers(e)&&t.voices.length>1}function getNextTabPos(e,t){for(var r=e.staffIndex,n=0,o=0,a=0;;){if(!t[n])return-1;if(t[n].isTabStaff||(a=t[n].voices.length),t[n].isTabStaff){if(o++,islastTabInStaff(n,t)&&o<a)return n+1}else if(o=0,n>=r){if(n+1==t.length)return n+1;if(!t[n+1].isTabStaff)return n+1}if(++n>t.length)return-1}}function getLastStaff(e,t){for(var r=t;r>=0;r--)if(!e[r].isTabStaff)return e[r];return null}function checkVoiceKeySig(e,t){return"clef"===e[t].children[0].abcelem.el_type?null:0==t?"none":e[t-1].children[0]}TabRenderer$2.prototype.doLayout=function(){var e=this.line.staff;if(e){var t=e[0];if(t&&t.clef&&0==t.clef.stafflines)return void this.plugin._super.setError("No tablatures when stafflines=0");e.splice(e.length,0,this.tabStaff)}var r=this.line.staffGroup,n=r.voices,o=getLyricHeight(n[0]),a=this.staffIndex,i=r.staffs[a],s=this.tabSize+3-i.bottom-o;i.isTabStaff&&(s=i.top);var l={bottom:-1,isTabStaff:!0,specialY:initSpecialY(),lines:this.plugin.nbLines,linePitch:this.plugin.linePitch,dy:.15,top:s},c=getNextTabPos(this,r.staffs);if(-1!==c){l.parentIndex=c-1,r.staffs.splice(c,0,l),r.height+=this.tabSize+3;var u=getLastStaff(r.staffs,c),d=1;isMultiVoiceSingleStaff(r.staffs,u)&&(d=u.voices.length),this.tabStaff.voices=[];for(var p=0;p<d;p++){var f=new VoiceElement$2(0,0);p>0&&(f.duplicate=!0);var h=buildTabName(this,f)/spacing$c.STEP;h=Math.max(h,1),r.staffs[this.staffIndex].top+=h,r.height+=h*spacing$c.STEP,f.staff=l,n.splice(n.length,0,f);var v=checkVoiceKeySig(n,p+this.staffIndex);this.tabStaff.voices[p]=[],this.absolutes.build(this.plugin,n,this.tabStaff.voices[p],p,this.staffIndex,v)}linkStaffAndTabs(r.staffs)}};var tabRenderer=TabRenderer$2,accidentals={__:-2,_:-1,"_/":-.5,"=":0,"":0,"^/":.5,"^":1,"^^":2},notesInOrder=["C","-","D","-","E","F","-","G","-","A","-","B","c","-","d","-","e","f","-","g","-","a","-","b"];function noteToMidi$2(e){var t=e.match(/([_^\/]*)([ABCDEFGabcdefg])(,*)('*)/);if(t&&5===t.length){var r=accidentals[t[1]];return 48+notesInOrder.indexOf(t[2])+r+12*(t[4].length-t[3].length)}return 0}function midiToNote$1(e){e=parseInt(e,10);var t=Math.floor(e/12),r=e%12,n=notesInOrder[r];if("-"===n&&(n="^"+notesInOrder[r-1]),t>4)for(n=n.toLowerCase(),t-=5;t>0;)n+="'",t--;else for(;t<4;)n+=",",t++;return n}var noteToMidi_1={noteToMidi:noteToMidi$2,midiToNote:midiToNote$1},noteToMidi$1=noteToMidi_1.noteToMidi,midiToNote=noteToMidi_1.midiToNote,notes$1=["A","B","C","D","E","F","G"];function TabNote$2(e,t){var r=noteToMidi$1(e);t&&(r+=t);var n,o=midiToNote(r),a=!1,i=!1,s=null,l=null,c=!1,u=0;e.startsWith("_")?(a=!0,u=-1,"/"==e[1]?(a=!1,l="v",u=0):"_"==e[1]&&(c=!0,u-=1)):e.startsWith("^")?(i=!0,u=1,"/"==e[1]?(i=!1,l="^",u=0):"^"==e[1]&&(c=!0,u+=1)):e.startsWith("=")&&(s=!0,u=0),((n=a||i||null!=l)||s)&&(o=null!=l||c?e.slice(2):e.slice(1));var d=(o.match(/,/g)||[]).length,p=(o.match(/'/g)||[]).length;this.pitch=r,this.pitchAltered=0,this.name=o,this.acc=u,this.isSharp=i,this.isKeySharp=!1,this.isDouble=c,this.isAltered=n,this.isFlat=a,this.isKeyFlat=!1,this.natural=s,this.quarter=l,this.isLower=this.name==this.name.toLowerCase(),this.name=this.name[0].toUpperCase(),this.hasComma=d,this.isQuoted=p}function cloneNote(e){var t=new TabNote$2(e.name);return t.pitch=e.pitch,t.hasComma=e.hasComma,t.isLower=e.isLower,t.isQuoted=e.isQuoted,t.isSharp=e.isSharp,t.isKeySharp=e.isKeySharp,t.isFlat=e.isFlat,t.isKeyFlat=e.isKeyFlat,t}TabNote$2.prototype.sameNoteAs=function(e){return e.pitch===this.pitch},TabNote$2.prototype.isLowerThan=function(e){return e.pitch>this.pitch},TabNote$2.prototype.checkKeyAccidentals=function(e,t){if(!this.isAltered&&!this.natural)if(t[this.name.toUpperCase()])switch(t[this.name.toUpperCase()]){case"__":return this.acc=-2,void(this.pitchAltered=-2);case"_":return this.acc=-1,void(this.pitchAltered=-1);case"=":return this.acc=0,void(this.pitchAltered=0);case"^":return this.acc=1,void(this.pitchAltered=1);case"^^":return this.acc=2,void(this.pitchAltered=2)}else if(e)for(var r=this.name,n=0;n<e.length;n++){var o=e[n];r==o.note.toUpperCase()&&("flat"==o.acc&&(this.acc=-1,this.isKeyFlat=!0,this.pitchAltered=-1),"sharp"==o.acc&&(this.acc=1,this.isKeySharp=!0,this.pitchAltered=1))}},TabNote$2.prototype.getAccidentalEquiv=function(){var e=cloneNote(this);return e.isSharp||e.isKeySharp?((e=e.nextNote()).isFlat=!0,e.isSharp=!1,e.isKeySharp=!1):(e.isFlat||e.isKeyFlat)&&((e=e.prevNote()).isSharp=!0,e.isFlat=!1,e.isKeyFlat=!1),e},TabNote$2.prototype.nextNote=function(){return new TabNote$2(midiToNote(this.pitch+1+this.pitchAltered))},TabNote$2.prototype.prevNote=function(){return new TabNote$2(midiToNote(this.pitch-1+this.pitchAltered))},TabNote$2.prototype.emitNoAccidentals=function(){var e=this.name;this.isLower&&(e=e.toLowerCase());for(var t=0;t<this.isQuoted;t++)e+="'";for(var r=0;r<this.hasComma;r++)e+=",";return e},TabNote$2.prototype.emit=function(){var e=this.name;(this.isSharp||this.isKeySharp)&&(e="^"+e,this.isDouble&&(e="^"+e)),(this.isFlat||this.isKeyFlat)&&(e="_"+e,this.isDouble&&(e="_"+e)),this.quarter&&(e="^"==this.quarter?"^/"+e:"_/"+e),this.natural&&(e="="+e);for(var t=1;t<=this.hasComma;t++)e+=",";if(this.isLower){e=e.toLowerCase();for(var r=1;r<=this.isQuoted;r++)e+="'"}return e};var tabNote={TabNote:TabNote$2,notes:notes$1},TabNote$1=tabNote,notes=TabNote$1.notes;function TabNotes$1(e,t){this.fromN=new TabNote$1.TabNote(e),this.toN=new TabNote$1.TabNote(t)}TabNotes$1.prototype.build=function(){var e=this.fromN,t=this.toN;if(t.isLowerThan(e)){var r=e.emit();return{error:"Invalid string Instrument tuning : "+t.emit()+" string lower than "+r+" string"}}var n=[],o=notes.indexOf(e.name),a=notes.indexOf(t.name);if(-1==o||-1==a)return n;for(var i=!1;!i;)n.push(e.emit()),(e=e.nextNote()).sameNoteAs(t)&&(i=!0);return n};var tabNotes=TabNotes$1,noteToMidi=noteToMidi_1.noteToMidi,TabNote=tabNote,TabNotes=tabNotes;function buildCapo(e){var t=null,r=e.tuning;if(e.capo>0){t=[];for(var n=0;n<r.length;n++){for(var o=new TabNote.TabNote(r[n]),a=0;a<e.capo;a++)o=o.nextNote();t[n]=o.emit()}}return t}function buildPatterns(e){var t=[],r=e.tuning;e.capo>0&&(r=e.capoTuning);for(var n=r.length-1,o=0;o<r.length;o++){var a=e.highestNote;o!=r.length-1&&(a=r[o+1]);var i=new TabNotes(r[o],a).build();if(i.error)return i;t[n--]=i}return t}function buildSecond(e){var t=[];t[0]=[];for(var r=e.strings,n=1;n<r.length;n++)t[n]=r[n-1];return t}function sameString(e,t){for(var r=0;r<t.length-1;r++){var n=t[r],o=t[r+1];if(n.str==o.str){if(n.str==e.strings.length-1)return n.num="?",void(o.num="?");o.num<n.num?(o.str++,o=noteToNumber(e,o.note,o.str,e.secondPos,e.strings[o.str].length)):(n.str++,n=noteToNumber(e,n.note,n.str,e.secondPos,e.strings[n.str].length)),t[r]=n,t[r+1]=o}}return null}function handleChordNotes(e,t){for(var r=[],n=0;n<t.length;n++)if(!t[n].endTie){var o=new TabNote.TabNote(t[n].name,e.clefTranspose);o.checkKeyAccidentals(e.accidentals,e.measureAccidentals);var a=toNumber$1(e,o);r.push(a)}return sameString(e,r),r}function noteToNumber(e,t,r,n,o){var a=e.strings;t.checkKeyAccidentals(e.accidentals,e.measureAccidentals),n&&(a=n);var i=t.emitNoAccidentals(),s=a[r].indexOf(i),l=t.acc;if(-1!=s){if(n&&(s+=o),(t.isFlat||-1==t.acc)&&0==s){var c=t.getAccidentalEquiv();s=a[++r].indexOf(c.emit()),l=0}return{num:s+l,str:r,note:t}}return null}function toNumber$1(e,t){var r;(t.isAltered||t.natural)&&(t.isFlat?r=t.isDouble?"__":"_":t.isSharp?r=t.isDouble?"^^":"^":t.natural&&(r="="),e.measureAccidentals[t.name.toUpperCase()]=r);for(var n=e.stringPitches.length-1;n>=0;n--)if(t.pitch+t.pitchAltered>=e.stringPitches[n]){var o=t.pitch+t.pitchAltered-e.stringPitches[n];return"^"===t.quarter?o-=.5:"v"===t.quarter&&(o+=.5),{num:Math.round(o),str:e.stringPitches.length-1-n,note:t}}return{num:"?",str:e.stringPitches.length-1,note:t}}function invalidNumber(e,t){var r={num:"?",str:0,note:t};e.push(r),e.error=t.emit()+": unexpected note for instrument"}function StringPatterns$2(e){var t=e.tuning,r=e.capo,n=e._super.params.highestNote;this.linePitch=e.linePitch,this.highestNote="a'",n&&(this.highestNote=n),this.measureAccidentals={},this.capo=0,r&&(this.capo=parseInt(r,10)),this.transpose=e.transpose?e.transpose:0,this.tuning=t,this.stringPitches=[];for(var o=0;o<this.tuning.length;o++){var a=noteToMidi(this.tuning[o])+this.capo;this.stringPitches.push(a)}if(this.capo>0&&(this.capoTuning=buildCapo(this)),this.strings=buildPatterns(this),this.strings.error)return e._super.setError(this.strings.error),void(e.inError=!0);this.secondPos=buildSecond(this)}StringPatterns$2.prototype.stringToPitch=function(e){return 5.3+(this.strings.length-1-e)*this.linePitch},StringPatterns$2.prototype.notesToNumber=function(e,t){var r,n,o=null,a=null;if(e&&(a=[],e.length>1?(a=handleChordNotes(this,e)).error&&(o=a.error):e[0].endTie||((r=new TabNote.TabNote(e[0].name,this.clefTranspose)).checkKeyAccidentals(this.accidentals,this.measureAccidentals),(n=toNumber$1(this,r))?a.push(n):(invalidNumber(a,r),o=a.error))),o)return a;var i=null;if(t){i=[];for(var s=0;s<t.length;s++)(r=new TabNote.TabNote(t[s].name,this.clefTranspose)).checkKeyAccidentals(this.accidentals,this.measureAccidentals),(n=toNumber$1(this,r))?i.push(n):(invalidNumber(i,r),o=a.error)}return{notes:a,graces:i,error:o}},StringPatterns$2.prototype.toString=function(){for(var e=[],t=0;t<this.tuning.length;t++){var r=this.tuning[t].replaceAll(",","").replaceAll("'","").toUpperCase();"_"===r[0]?r=r[1]+"b ":"^"===r[0]&&(r=r[1]+"# "),e.push(r)}return e.join("")},StringPatterns$2.prototype.tabInfos=function(e){var t=e._super.params.label;if(t){var r="";return-1!=t.indexOf("%T")&&(r=this.toString(),e.capo>0&&(r+=" capo:"+e.capo),t=t.replace("%T",r)),t}return""};var stringPatterns=StringPatterns$2,StringPatterns$1=stringPatterns;function ViolinPatterns$1(e){this.tuning=e._super.params.tuning,this.tuning||(this.tuning=["G,","D","A","e"]),e.tuning=this.tuning,this.strings=new StringPatterns$1(e)}ViolinPatterns$1.prototype.notesToNumber=function(e,t){return this.strings.notesToNumber(e,t)},ViolinPatterns$1.prototype.stringToPitch=function(e){return this.strings.stringToPitch(e)};var violinPatterns=ViolinPatterns$1,StringTablature$1=stringTablature,TabCommon$1=tabCommon,TabRenderer$1=tabRenderer,ViolinPatterns=violinPatterns;function Plugin$1(){}Plugin$1.prototype.init=function(e,t,r){var n=new TabCommon$1(e,t,r);this.abcTune=e,this._super=n,this.linePitch=3,this.nbLines=4,this.isTabBig=!1,this.capo=r.capo,this.transpose=r.visualTranspose,this.tablature=new StringTablature$1(this.nbLines,this.linePitch);var o=new ViolinPatterns(this);this.semantics=o},Plugin$1.prototype.render=function(e,t,r){this._super.inError||(this.tablature.bypass(t)||new TabRenderer$1(this,e,t,r).doLayout())};var AbcViolinTab=function(){return{name:"ViolinTab",tablature:Plugin$1}},tabViolin=AbcViolinTab,StringPatterns=stringPatterns;function GuitarPatterns$1(e){this.tuning=e._super.params.tuning,this.tuning||(this.tuning=["E,","A,","D","G","B","e"]),e.tuning=this.tuning,this.strings=new StringPatterns(e)}GuitarPatterns$1.prototype.notesToNumber=function(e,t){return this.strings.notesToNumber(e,t)},GuitarPatterns$1.prototype.stringToPitch=function(e){return this.strings.stringToPitch(e)};var guitarPatterns=GuitarPatterns$1,StringTablature=stringTablature,TabCommon=tabCommon,TabRenderer=tabRenderer,GuitarPatterns=guitarPatterns;function Plugin(){}Plugin.prototype.init=function(e,t,r){var n=new TabCommon(e,t,r);this._super=n,this.abcTune=e,this.linePitch=3,this.nbLines=6,this.isTabBig=!0,this.capo=r.capo,this.transpose=r.visualTranspose,this.tablature=new StringTablature(this.nbLines,this.linePitch);var o=new GuitarPatterns(this);this.semantics=o},Plugin.prototype.render=function(e,t,r){this._super.inError||(this.tablature.bypass(t)||new TabRenderer(this,e,t,r).doLayout())};var AbcGuitarTab=function(){return{name:"GuitarTab",tablature:Plugin}},tabGuitar=AbcGuitarTab,ViolinTablature=tabViolin,GuitarTablature=tabGuitar,pluginTab={violin:"ViolinTab",fiddle:"ViolinTab",mandolin:"ViolinTab",guitar:"GuitarTab"},abcTablatures={inited:!1,plugins:{},register:function(e){var t=e.name,r=e.tablature;this.plugins[t]=r},setError:function(e,t){e.warnings?e.warning.push(t):e.warnings=[t]},preparePlugins:function(e,t,r){var n=null;if(r.tablature){var o=r.tablature;n=[];for(var a=0;a<o.length;a++){var i=o[a],s=i.instrument;if(null==s)return this.setError(e,"tablature 'instrument' is missing"),n;var l=pluginTab[s],c=null;if(l&&(c=this.plugins[l]),!c)return this.setError(e,"Undefined tablature plugin: "+s),n;0!=r.visualTranspose&&(i.visualTranspose=r.visualTranspose),i.abcSrc=r.tablature.abcSrc;var u={classz:c,tuneNumber:t,params:i,instance:null};n.push(u)}}return n},layoutTablatures:function(e,t){for(var r=t.tablatures,n=0;n<t.lines.length;n++){var o=t.lines[n],a=o.staff;if(a)for(var i=0;i<a.length;i++)if(r[i]){var s=r[i];null==s.instance&&(s.instance=new s.classz,s.instance.init(t,s.tuneNumber,s.params,i)),s.instance.render(e,o,i)}}},init:function(){this.inited||(this.register(new ViolinTablature),this.register(new GuitarTablature),this.inited=!0)}},abc_tablatures=abcTablatures,Parse$1=abc_parse,bookParser=abc_parse_book,tablatures$1=abc_tablatures,tunebook$2={};!function(){tunebook$2.numberOfTunes=function(e){var t=e.split("\nX:").length;return 0===t&&(t=1),t};var e=tunebook$2.TuneBook=function(e){var t=bookParser(e);this.header=t.header,this.tunes=t.tunes};e.prototype.getTuneById=function(e){for(var t=0;t<this.tunes.length;t++)if(this.tunes[t].id===""+e)return this.tunes[t];return null},e.prototype.getTuneByTitle=function(e){for(var t=0;t<this.tunes.length;t++)if(this.tunes[t].title===e)return this.tunes[t];return null},tunebook$2.parseOnly=function(e,t){for(var r=tunebook$2.numberOfTunes(e),n=[],o=0;o<r;o++)n.push(1);return tunebook$2.renderEngine((function(){}),n,e,t)},tunebook$2.renderEngine=function(t,r,n,o){var a=[];if(void 0!==r&&void 0!==n){var i;(!(i=r)||i.propertyIsEnumerable("length")||"object"!==_typeof2(i)||"number"!=typeof i.length)&&(r=[r]),void 0===o&&(o={});for(var s=o.startingTune?parseInt(o.startingTune,10):0,l=new e(n),c=new Parse$1,u=0;u<r.length;u++){var d=r[u];if("*"===d||"string"==typeof d&&(d=document.getElementById(d)),d)if(s>=0&&s<l.tunes.length){c.parse(l.tunes[s].abc,o,l.tunes[s].startPos-l.header.length);var p=c.getTune();o.tablature&&(tablatures$1.init(),p.tablatures=tablatures$1.preparePlugins(p,s,o));var f=c.getWarnings();f&&(p.warnings=f);var h=t(d,p,u,l.tunes[s].abc);a.push(h||p)}else d.innerHTML&&(d.innerHTML="");s++}return a}},tunebook$2.extractMeasures=function(t){for(var r=[],n=new e(t),o=0;o<n.tunes.length;o++){for(var a=n.tunes[o],i=a.abc.split("K:"),s=i[1].split("\n"),l=i[0]+"K:"+s[0]+"\n",c=null,u=null,d=null,p=[],f=!1,h=tunebook$2.parseOnly(a.abc)[0],v=h.getPickupLength()>0,g=0;g<h.lines.length;g++){var m=h.lines[g];if(m.staff)for(var b=0;b<1;b++)for(var A=m.staff[b],y=0;y<1;y++)for(var x=A.voices[y],w=0;w<x.length;w++){var C=x[w];if(null===d&&C.startChar>=0&&(d=C.startChar,u=void 0===C.chord?c:null),C.chord&&(c=C),"bar"===C.el_type){if(f){var k={abc:a.abc.substring(d,C.endChar)};(c=u&&u.chord&&u.chord.length>0?u.chord[0].name:null)&&(k.lastChord=c),C.startEnding&&(k.startEnding=C.startEnding),C.endEnding&&(k.endEnding=C.endEnding),p.push(k),d=null,f=!1}}else"note"===C.el_type&&(f=!0)}}r.push({header:l,measures:p,hasPickup:v})}return r}}();var abc_tunebook=tunebook$2,keyAccidentals=keyAccidentals_1,relativeMajor=relativeMajor_1.relativeMajor,transposeKey=relativeMajor_1.transposeKey,relativeMode=relativeMajor_1.relativeMode,transposeChordName=transposeChord,strTranspose$1;!function(){function e(e,r,n){var o=[],a=r.getKeySignature();if("Hp"===a.root||"HP"===a.root)return o;o=o.concat(function(e,t){for(var r=[],n=e.split("K:"),o=n[0].length,a=1;a<n.length;a++){var i=n[a],l=i.match(/^( *)([A-G])([#b]?)(\w*)/);if(l){var c=o+2+l[1].length,u=l[2]+l[3]+l[4],d=s({root:l[2],acc:l[3],mode:l[4]},t),p=d.root+d.acc+d.mode;r.push({start:c,end:c+u.length,note:p})}o+=i.length+2}return r}(e,n));for(var i=0;i<r.lines.length;i++){var l=r.lines[i].staff;if(l)for(var c=0;c<l.length;c++){var u=l[c];"perc"!==u.clef.type&&(o=o.concat(t(e,u.voices,u.key,n)))}}return o}function t(e,t,n,a){for(var i=[],l=s(n,a),c=0;c<t.length;c++)i=i.concat(o(e,t[c],n.root,r(n),l,a));return i}function r(e){for(var t={},r=0;r<e.accidentals.length;r++){var n=e.accidentals[r];"flat"===n.acc?t[n.note.toUpperCase()]="_":"sharp"===n.acc&&(t[n.note.toUpperCase()]="^")}return t}function n(e,t,r){var n=a.indexOf(e.root)-a.indexOf(t);return"none"===t&&(n=a.indexOf(e.root)),0===n?r>2?n+=7:-12===r&&(n-=7):r>0&&n<0?n+=7:r<0&&n>0&&(n-=7),r>12?n+=7:r<-12&&(n-=7),n}function o(e,t,o,a,i,c){for(var u=[],d=n(i,o,c),p={},m={},b=0;b<t.length;b++){var A=t[b];if(A.chord)for(var y=0;y<A.chord.length;y++){var x=A.chord[y];if("default"===x.position){var w=i.accidentals.length&&"flat"===i.accidentals[0].acc,C=transposeChordName(x.name,c,w,!0);(C=C.replace(/♭/g,"b").replace(/♯/g,"#"))!==x.name&&u.push(g(e,A.startChar,A.endChar,C))}}if("note"===A.el_type&&A.pitches){for(var k=0;k<A.pitches.length;k++){var _=f(A.pitches[k].name,o,a,p);_.acc&&(p[_.name.toUpperCase()]=_.acc);var S=l(_,i,d,m);S.acc&&(m[S.upper]=S.acc),u.push(h(e,A.startChar,A.endChar,S.acc+S.name,k))}if(A.gracenotes)for(var B=0;B<A.gracenotes.length;B++){var E=f(A.gracenotes[B].name,o,a,p);E.acc&&(p[E.name.toUpperCase()]=E.acc);var T=l(E,i,d,p);T.acc&&(m[T.upper]=T.acc),u.push(v(e,A.startChar,A.endChar,T.acc+T.name,B))}}else"bar"===A.el_type?(p={},m={}):"keySignature"===A.el_type&&(o=A.root,a=r(A),d=n(i=s(A,c),o,c))}return u}strTranspose$1=function(t,r,n){if("TEST"===r)return{keyAccidentals:keyAccidentals,relativeMajor:relativeMajor,transposeKey:transposeKey,relativeMode:relativeMode,transposeChordName:transposeChordName};n=parseInt(n,10);var o,a=[];for(o=0;o<r.length;o++)a=a.concat(e(t,r[o],n));a=a.sort((function(e,t){return t.start-e.start}));var i=t.split("");for(o=0;o<a.length;o++){var s=a[o];i.splice(s.start,s.end-s.start,s.note)}return i.join("")};var a="CDEFGAB",i=[",,,,",",,,",",,",",","","'","''","'''","''''"];function s(e,t){if("none"===e.root)return{root:transposeKey("C",t),mode:"",acc:"",accidentals:[]};var r=relativeMajor(e.root+e.acc+e.mode),n=transposeKey(r,t),o=relativeMode(n,e.mode),a=keyAccidentals(n);return{root:o[0],mode:e.mode,acc:o.length>1?o[1]:"",accidentals:a}}function l(e,t,r,n){for(var o=e.pitch,i=a.indexOf(e.name),s=(a.indexOf(t.root)+o)%7,c=i+r,u=e.oct;c>6;)u++,c-=7;for(;c<0;)u--,c+=7;for(var d=a[s],p="",f=e.adj,h="=",v=0;v<t.accidentals.length;v++)if(t.accidentals[v].note.toLowerCase()===d.toLowerCase()){f+="flat"===t.accidentals[v].acc?-1:1,h="flat"===t.accidentals[v].acc?"_":"^";break}switch(f){case-2:p="__";break;case-1:p="_";break;case 0:p="=";break;case 1:p="^";break;case 2:p="^^";break;case-3:return(g={}).pitch=e.pitch-1,g.oct=e.oct,g.name=a[a.indexOf(e.name)-1],g.name||(g.name="B",g.oct--),"B"===g.name||"E"===g.name?g.adj=e.adj+1:g.adj=e.adj+2,l(g,t,r+1,n);case 3:var g;return(g={}).pitch=e.pitch+1,g.oct=e.oct,g.name=a[a.indexOf(e.name)+1],g.name||(g.name="C",g.oct++),"C"===g.name||"F"===g.name?g.adj=e.adj-1:g.adj=e.adj-2,l(g,t,r+1,n)}switch(n[d]!==p&&(n[d]||p!==h)||e.courtesy||(p=""),u){case 0:d+=",,,";break;case 1:d+=",,";break;case 2:d+=",";break;case 4:d=d.toLowerCase();break;case 5:d=d.toLowerCase()+"'";break;case 6:d=d.toLowerCase()+"''";break;case 7:d=d.toLowerCase()+"'''";break;case 8:d=d.toLowerCase()+"''''"}return u>4&&(d=d.toLowerCase()),{acc:p,name:d,upper:d.toUpperCase()}}var c=/([_^=]*)([A-Ga-g])([,']*)/,u=/([_^=]*[A-Ga-g][,']*)(\d*\/*\d*)([\>\<\-\)\.\s\\]*)/,d=/([_^=]*[A-Ga-g][,']*)?(\d*\/*\d*)?([\>\<\-\)]*)?/,p=/(\s*)$/;function f(e,t,r,n){var o="none"===t?0:a.indexOf(t),s=e.match(c),l=s[2].toUpperCase(),u=a.indexOf(l)-o;u<0&&(u+=7);var d=i.indexOf(s[3]);l===s[2]&&d--;var p=n[l]||r[l]||"=";return{acc:s[1],name:l,pitch:u,oct:d,adj:m(s[1],r[l],n[l]),courtesy:s[1]===p}}function h(e,t,r,n,o){var a=e.substring(t,r),i=a.match(new RegExp(u.source+p.source),"");if(i){var s=i[1].length,l=i[2].length+i[3].length+i[4].length;t+=r-t-s-l,r-=l}else{if(i=a.match(new RegExp(/([^\[]*)/.source+/\[/.source+d.source+d.source+d.source+d.source+d.source+d.source+d.source+d.source+/\-?](\d*\/*\d*)?([\>\<\-\)]*)/.source+p.source))){for(var c=1+i[1].length,f=0;f<o;f++)i[3*f+2]&&(c+=i[3*f+2].length),i[3*f+3]&&(c+=i[3*f+3].length),i[3*f+4]&&(c+=i[3*f+4].length);r=(t+=c)+(i[3*o+2]?i[3*o+2].length:0)}}return{start:t,end:r,note:n}}function v(e,t,r,n,o){var a=/(\/*)/,i=e.substring(t,r).match(new RegExp(/([^\{]*)/.source+/\{/.source+a.source+d.source+a.source+d.source+a.source+d.source+a.source+d.source+a.source+d.source+a.source+d.source+a.source+d.source+a.source+d.source+/\}/.source));if(i){for(var s=1+i[1].length,l=0;l<o;l++)i[3*l+2]&&(s+=i[3*l+2].length),i[3*l+3]&&(s+=i[3*l+3].length),i[3*l+4]&&(s+=i[3*l+4].length),i[3*l+5]&&(s+=i[3*l+5].length);i[3*o+2]&&(s+=i[3*l+2].length),t+=s;var c=i[3*o+3]?i[3*o+3].length:0;c+=i[3*o+4]?i[3*o+4].length:0,r=t+(c+=i[3*o+5]?i[3*o+5].length:0)}return{start:t,end:r,note:n}}function g(e,t,r,n){var o=e.substring(t,r).match(/([^"]+)?(".+")+/);return o[1]&&(t+=o[1].length),{start:t+1,end:(r=t+o[2].length)-1,note:n}}function m(e,t,r){if(!e&&r&&(e=r),!e)return 0;switch(t){case void 0:switch(e){case"__":return-2;case"_":return-1;case"=":default:return 0;case"^":return 1;case"^^":return 2}case"_":switch(e){case"__":return-1;case"_":default:return 0;case"=":return 1;case"^":return 2;case"^^":return 3}case"^":switch(e){case"__":return-3;case"_":return-2;case"=":return-1;case"^":default:return 0;case"^^":return 1}}return 0}}();var output=strTranspose$1,BeamElem$1=function(e,t,r,n){this.type="BeamElem",this.isflat=!!r,this.isgrace=!(!t||"grace"!==t),this.forceup=!!(this.isgrace||t&&"up"===t),this.forcedown=!(!t||"down"!==t),this.elems=[],this.total=0,this.average=6,this.allrests=!0,this.stemHeight=e,this.beams=[],n&&n.duration?(this.duration=n.duration,n.startTriplet&&(this.duration*=n.tripletMultiplier),this.duration=Math.round(1e3*this.duration)/1e3):this.duration=0};function calcAverage(e,t){return t?e/t:0}BeamElem$1.prototype.setHint=function(){this.hint=!0},BeamElem$1.prototype.runningDirection=function(e){var t=e.averagepitch;void 0!==t&&(this.total=Math.round(this.total+t),this.count||(this.count=0),this.count++)},BeamElem$1.prototype.add=function(e){var t=e.abcelem.averagepitch;void 0!==t&&(e.abcelem.rest||(this.allrests=!1),e.beam=this,this.elems.push(e),this.total=Math.round(this.total+t),(void 0===this.min||e.abcelem.minpitch<this.min)&&(this.min=e.abcelem.minpitch),(void 0===this.max||e.abcelem.maxpitch>this.max)&&(this.max=e.abcelem.maxpitch))},BeamElem$1.prototype.addBeam=function(e){this.beams.push(e)},BeamElem$1.prototype.setStemDirection=function(){if(this.average=calcAverage(this.total,this.count),this.forceup)this.stemsUp=!0;else if(this.forcedown)this.stemsUp=!1;else{this.stemsUp=this.average<6}delete this.count,this.total=0},BeamElem$1.prototype.calcDir=function(){if(this.average=calcAverage(this.total,this.elems.length),this.forceup)this.stemsUp=!0;else if(this.forcedown)this.stemsUp=!1;else{this.stemsUp=this.average<6}for(var e=this.stemsUp?"up":"down",t=0;t<this.elems.length;t++)for(var r=0;r<this.elems[t].heads.length;r++)this.elems[t].heads[r].stemDir=e};var beamElement=BeamElem$1,BraceElem$1=function(e,t){this.startVoice=e,this.type=t};BraceElem$1.prototype.setBottomStaff=function(e){this.endVoice=e,this.startVoice.header&&!this.endVoice.header&&(this.header=this.startVoice.header,delete this.startVoice.header)},BraceElem$1.prototype.continuing=function(e){this.lastContinuedVoice=e},BraceElem$1.prototype.getWidth=function(){return 10},BraceElem$1.prototype.isStartVoice=function(e){return!!(this.startVoice&&this.startVoice.staff&&this.startVoice.staff.voices.length>0&&this.startVoice.staff.voices[0]===e)};var braceElement=BraceElem$1,spacing$b=spacing_1,glyphs$8={0:{d:[["M",4.83,-14.97],["c",.33,-.03,1.11,0,1.47,.06],["c",1.68,.36,2.97,1.59,3.78,3.6],["c",1.2,2.97,.81,6.96,-.9,9.27],["c",-.78,1.08,-1.71,1.71,-2.91,1.95],["c",-.45,.09,-1.32,.09,-1.77,0],["c",-.81,-.18,-1.47,-.51,-2.07,-1.02],["c",-2.34,-2.07,-3.15,-6.72,-1.74,-10.2],["c",.87,-2.16,2.28,-3.42,4.14,-3.66],["z"],["m",1.11,.87],["c",-.21,-.06,-.69,-.09,-.87,-.06],["c",-.54,.12,-.87,.42,-1.17,.99],["c",-.36,.66,-.51,1.56,-.6,3],["c",-.03,.75,-.03,4.59,0,5.31],["c",.09,1.5,.27,2.4,.6,3.06],["c",.24,.48,.57,.78,.96,.9],["c",.27,.09,.78,.09,1.05,0],["c",.39,-.12,.72,-.42,.96,-.9],["c",.33,-.66,.51,-1.56,.6,-3.06],["c",.03,-.72,.03,-4.56,0,-5.31],["c",-.09,-1.47,-.27,-2.37,-.6,-3.03],["c",-.24,-.48,-.54,-.78,-.93,-.9],["z"]],w:10.78,h:14.959},1:{d:[["M",3.3,-15.06],["c",.06,-.06,.21,-.03,.66,.15],["c",.81,.39,1.08,.39,1.83,.03],["c",.21,-.09,.39,-.15,.42,-.15],["c",.12,0,.21,.09,.27,.21],["c",.06,.12,.06,.33,.06,5.94],["c",0,3.93,0,5.85,.03,6.03],["c",.06,.36,.15,.69,.27,.96],["c",.36,.75,.93,1.17,1.68,1.26],["c",.3,.03,.39,.09,.39,.3],["c",0,.15,-.03,.18,-.09,.24],["c",-.06,.06,-.09,.06,-.48,.06],["c",-.42,0,-.69,-.03,-2.1,-.24],["c",-.9,-.15,-1.77,-.15,-2.67,0],["c",-1.41,.21,-1.68,.24,-2.1,.24],["c",-.39,0,-.42,0,-.48,-.06],["c",-.06,-.06,-.06,-.09,-.06,-.24],["c",0,-.21,.06,-.27,.36,-.3],["c",.75,-.09,1.32,-.51,1.68,-1.26],["c",.12,-.27,.21,-.6,.27,-.96],["c",.03,-.18,.03,-1.59,.03,-4.29],["c",0,-3.87,0,-4.05,-.06,-4.14],["c",-.09,-.15,-.18,-.24,-.39,-.24],["c",-.12,0,-.15,.03,-.21,.06],["c",-.03,.06,-.45,.99,-.96,2.13],["c",-.48,1.14,-.9,2.1,-.93,2.16],["c",-.06,.15,-.21,.24,-.33,.24],["c",-.24,0,-.42,-.18,-.42,-.39],["c",0,-.06,3.27,-7.62,3.33,-7.74],["z"]],w:8.94,h:15.058},2:{d:[["M",4.23,-14.97],["c",.57,-.06,1.68,0,2.34,.18],["c",.69,.18,1.5,.54,2.01,.9],["c",1.35,.96,1.95,2.25,1.77,3.81],["c",-.15,1.35,-.66,2.34,-1.68,3.15],["c",-.6,.48,-1.44,.93,-3.12,1.65],["c",-1.32,.57,-1.8,.81,-2.37,1.14],["c",-.57,.33,-.57,.33,-.24,.27],["c",.39,-.09,1.26,-.09,1.68,0],["c",.72,.15,1.41,.45,2.1,.9],["c",.99,.63,1.86,.87,2.55,.75],["c",.24,-.06,.42,-.15,.57,-.3],["c",.12,-.09,.3,-.42,.3,-.51],["c",0,-.09,.12,-.21,.24,-.24],["c",.18,-.03,.39,.12,.39,.3],["c",0,.12,-.15,.57,-.3,.87],["c",-.54,1.02,-1.56,1.74,-2.79,2.01],["c",-.42,.09,-1.23,.09,-1.62,.03],["c",-.81,-.18,-1.32,-.45,-2.01,-1.11],["c",-.45,-.45,-.63,-.57,-.96,-.69],["c",-.84,-.27,-1.89,.12,-2.25,.9],["c",-.12,.21,-.21,.54,-.21,.72],["c",0,.12,-.12,.21,-.27,.24],["c",-.15,0,-.27,-.03,-.33,-.15],["c",-.09,-.21,.09,-1.08,.33,-1.71],["c",.24,-.66,.66,-1.26,1.29,-1.89],["c",.45,-.45,.9,-.81,1.92,-1.56],["c",1.29,-.93,1.89,-1.44,2.34,-1.98],["c",.87,-1.05,1.26,-2.19,1.2,-3.63],["c",-.06,-1.29,-.39,-2.31,-.96,-2.91],["c",-.36,-.33,-.72,-.51,-1.17,-.54],["c",-.84,-.03,-1.53,.42,-1.59,1.05],["c",-.03,.33,.12,.6,.57,1.14],["c",.45,.54,.54,.87,.42,1.41],["c",-.15,.63,-.54,1.11,-1.08,1.38],["c",-.63,.33,-1.2,.33,-1.83,0],["c",-.24,-.12,-.33,-.18,-.54,-.39],["c",-.18,-.18,-.27,-.3,-.36,-.51],["c",-.24,-.45,-.27,-.84,-.21,-1.38],["c",.12,-.75,.45,-1.41,1.02,-1.98],["c",.72,-.72,1.74,-1.17,2.85,-1.32],["z"]],w:10.764,h:14.97},3:{d:[["M",3.78,-14.97],["c",.3,-.03,1.41,0,1.83,.06],["c",2.22,.3,3.51,1.32,3.72,2.91],["c",.03,.33,.03,1.26,-.03,1.65],["c",-.12,.84,-.48,1.47,-1.05,1.77],["c",-.27,.15,-.36,.24,-.45,.39],["c",-.09,.21,-.09,.36,0,.57],["c",.09,.15,.18,.24,.51,.39],["c",.75,.42,1.23,1.14,1.41,2.13],["c",.06,.42,.06,1.35,0,1.71],["c",-.18,.81,-.48,1.38,-1.02,1.95],["c",-.75,.72,-1.8,1.2,-3.18,1.38],["c",-.42,.06,-1.56,.06,-1.95,0],["c",-1.89,-.33,-3.18,-1.29,-3.51,-2.64],["c",-.03,-.12,-.03,-.33,-.03,-.6],["c",0,-.36,0,-.42,.06,-.63],["c",.12,-.3,.27,-.51,.51,-.75],["c",.24,-.24,.45,-.39,.75,-.51],["c",.21,-.06,.27,-.06,.6,-.06],["c",.33,0,.39,0,.6,.06],["c",.3,.12,.51,.27,.75,.51],["c",.36,.33,.57,.75,.6,1.2],["c",0,.21,0,.27,-.06,.42],["c",-.09,.18,-.12,.24,-.54,.54],["c",-.51,.36,-.63,.54,-.6,.87],["c",.06,.54,.54,.9,1.38,.99],["c",.36,.06,.72,.03,.96,-.06],["c",.81,-.27,1.29,-1.23,1.44,-2.79],["c",.03,-.45,.03,-1.95,-.03,-2.37],["c",-.09,-.75,-.33,-1.23,-.75,-1.44],["c",-.33,-.18,-.45,-.18,-1.98,-.18],["c",-1.35,0,-1.41,0,-1.5,-.06],["c",-.18,-.12,-.24,-.39,-.12,-.6],["c",.12,-.15,.15,-.15,1.68,-.15],["c",1.5,0,1.62,0,1.89,-.15],["c",.18,-.09,.42,-.36,.54,-.57],["c",.18,-.42,.27,-.9,.3,-1.95],["c",.03,-1.2,-.06,-1.8,-.36,-2.37],["c",-.24,-.48,-.63,-.81,-1.14,-.96],["c",-.3,-.06,-1.08,-.06,-1.38,.03],["c",-.6,.15,-.9,.42,-.96,.84],["c",-.03,.3,.06,.45,.63,.84],["c",.33,.24,.42,.39,.45,.63],["c",.03,.72,-.57,1.5,-1.32,1.65],["c",-1.05,.27,-2.1,-.57,-2.1,-1.65],["c",0,-.45,.15,-.96,.39,-1.38],["c",.12,-.21,.54,-.63,.81,-.81],["c",.57,-.42,1.38,-.69,2.25,-.81],["z"]],w:9.735,h:14.967},4:{d:[["M",8.64,-14.94],["c",.27,-.09,.42,-.12,.54,-.03],["c",.09,.06,.15,.21,.15,.3],["c",-.03,.06,-1.92,2.31,-4.23,5.04],["c",-2.31,2.73,-4.23,4.98,-4.26,5.01],["c",-.03,.06,.12,.06,2.55,.06],["l",2.61,0],["l",0,-2.37],["c",0,-2.19,.03,-2.37,.06,-2.46],["c",.03,-.06,.21,-.18,.57,-.42],["c",1.08,-.72,1.38,-1.08,1.86,-2.16],["c",.12,-.3,.24,-.54,.27,-.57],["c",.12,-.12,.39,-.06,.45,.12],["c",.06,.09,.06,.57,.06,3.96],["l",0,3.9],["l",1.08,0],["c",1.05,0,1.11,0,1.2,.06],["c",.24,.15,.24,.54,0,.69],["c",-.09,.06,-.15,.06,-1.2,.06],["l",-1.08,0],["l",0,.33],["c",0,.57,.09,1.11,.3,1.53],["c",.36,.75,.93,1.17,1.68,1.26],["c",.3,.03,.39,.09,.39,.3],["c",0,.15,-.03,.18,-.09,.24],["c",-.06,.06,-.09,.06,-.48,.06],["c",-.42,0,-.69,-.03,-2.1,-.24],["c",-.9,-.15,-1.77,-.15,-2.67,0],["c",-1.41,.21,-1.68,.24,-2.1,.24],["c",-.39,0,-.42,0,-.48,-.06],["c",-.06,-.06,-.06,-.09,-.06,-.24],["c",0,-.21,.06,-.27,.36,-.3],["c",.75,-.09,1.32,-.51,1.68,-1.26],["c",.21,-.42,.3,-.96,.3,-1.53],["l",0,-.33],["l",-2.7,0],["c",-2.91,0,-2.85,0,-3.09,-.15],["c",-.18,-.12,-.3,-.39,-.27,-.54],["c",.03,-.06,.18,-.24,.33,-.45],["c",.75,-.9,1.59,-2.07,2.13,-3.03],["c",.33,-.54,.84,-1.62,1.05,-2.16],["c",.57,-1.41,.84,-2.64,.9,-4.05],["c",.03,-.63,.06,-.72,.24,-.81],["l",.12,-.06],["l",.45,.12],["c",.66,.18,1.02,.24,1.47,.27],["c",.6,.03,1.23,-.09,2.01,-.33],["z"]],w:11.795,h:14.994},5:{d:[["M",1.02,-14.94],["c",.12,-.09,.03,-.09,1.08,.06],["c",2.49,.36,4.35,.36,6.96,-.06],["c",.57,-.09,.66,-.06,.81,.06],["c",.15,.18,.12,.24,-.15,.51],["c",-1.29,1.26,-3.24,2.04,-5.58,2.31],["c",-.6,.09,-1.2,.12,-1.71,.12],["c",-.39,0,-.45,0,-.57,.06],["c",-.09,.06,-.15,.12,-.21,.21],["l",-.06,.12],["l",0,1.65],["l",0,1.65],["l",.21,-.21],["c",.66,-.57,1.41,-.96,2.19,-1.14],["c",.33,-.06,1.41,-.06,1.95,0],["c",2.61,.36,4.02,1.74,4.26,4.14],["c",.03,.45,.03,1.08,-.03,1.44],["c",-.18,1.02,-.78,2.01,-1.59,2.7],["c",-.72,.57,-1.62,1.02,-2.49,1.2],["c",-1.38,.27,-3.03,.06,-4.2,-.54],["c",-1.08,-.54,-1.71,-1.32,-1.86,-2.28],["c",-.09,-.69,.09,-1.29,.57,-1.74],["c",.24,-.24,.45,-.39,.75,-.51],["c",.21,-.06,.27,-.06,.6,-.06],["c",.33,0,.39,0,.6,.06],["c",.3,.12,.51,.27,.75,.51],["c",.36,.33,.57,.75,.6,1.2],["c",0,.21,0,.27,-.06,.42],["c",-.09,.18,-.12,.24,-.54,.54],["c",-.18,.12,-.36,.3,-.42,.33],["c",-.36,.42,-.18,.99,.36,1.26],["c",.51,.27,1.47,.36,2.01,.27],["c",.93,-.21,1.47,-1.17,1.65,-2.91],["c",.06,-.45,.06,-1.89,0,-2.31],["c",-.15,-1.2,-.51,-2.1,-1.05,-2.55],["c",-.21,-.18,-.54,-.36,-.81,-.39],["c",-.3,-.06,-.84,-.03,-1.26,.06],["c",-.93,.18,-1.65,.6,-2.16,1.2],["c",-.15,.21,-.27,.3,-.39,.3],["c",-.15,0,-.3,-.09,-.36,-.18],["c",-.06,-.09,-.06,-.15,-.06,-3.66],["c",0,-3.39,0,-3.57,.06,-3.66],["c",.03,-.06,.09,-.15,.15,-.18],["z"]],w:10.212,h:14.997},6:{d:[["M",4.98,-14.97],["c",.36,-.03,1.2,0,1.59,.06],["c",.9,.15,1.68,.51,2.25,1.05],["c",.57,.51,.87,1.23,.84,1.98],["c",-.03,.51,-.21,.9,-.6,1.26],["c",-.24,.24,-.45,.39,-.75,.51],["c",-.21,.06,-.27,.06,-.6,.06],["c",-.33,0,-.39,0,-.6,-.06],["c",-.3,-.12,-.51,-.27,-.75,-.51],["c",-.39,-.36,-.57,-.78,-.57,-1.26],["c",0,-.27,0,-.3,.09,-.42],["c",.03,-.09,.18,-.21,.3,-.3],["c",.12,-.09,.3,-.21,.39,-.27],["c",.09,-.06,.21,-.18,.27,-.24],["c",.06,-.12,.09,-.15,.09,-.33],["c",0,-.18,-.03,-.24,-.09,-.36],["c",-.24,-.39,-.75,-.6,-1.38,-.57],["c",-.54,.03,-.9,.18,-1.23,.48],["c",-.81,.72,-1.08,2.16,-.96,5.37],["l",0,.63],["l",.3,-.12],["c",.78,-.27,1.29,-.33,2.1,-.27],["c",1.47,.12,2.49,.54,3.27,1.29],["c",.48,.51,.81,1.11,.96,1.89],["c",.06,.27,.06,.42,.06,.93],["c",0,.54,0,.69,-.06,.96],["c",-.15,.78,-.48,1.38,-.96,1.89],["c",-.54,.51,-1.17,.87,-1.98,1.08],["c",-1.14,.3,-2.4,.33,-3.24,.03],["c",-1.5,-.48,-2.64,-1.89,-3.27,-4.02],["c",-.36,-1.23,-.51,-2.82,-.42,-4.08],["c",.3,-3.66,2.28,-6.3,4.95,-6.66],["z"],["m",.66,7.41],["c",-.27,-.09,-.81,-.12,-1.08,-.06],["c",-.72,.18,-1.08,.69,-1.23,1.71],["c",-.06,.54,-.06,3,0,3.54],["c",.18,1.26,.72,1.77,1.8,1.74],["c",.39,-.03,.63,-.09,.9,-.27],["c",.66,-.42,.9,-1.32,.9,-3.24],["c",0,-2.22,-.36,-3.12,-1.29,-3.42],["z"]],w:9.956,h:14.982},7:{d:[["M",.21,-14.97],["c",.21,-.06,.45,0,.54,.15],["c",.06,.09,.06,.15,.06,.39],["c",0,.24,0,.33,.06,.42],["c",.06,.12,.21,.24,.27,.24],["c",.03,0,.12,-.12,.24,-.21],["c",.96,-1.2,2.58,-1.35,3.99,-.42],["c",.15,.12,.42,.3,.54,.45],["c",.48,.39,.81,.57,1.29,.6],["c",.69,.03,1.5,-.3,2.13,-.87],["c",.09,-.09,.27,-.3,.39,-.45],["c",.12,-.15,.24,-.27,.3,-.3],["c",.18,-.06,.39,.03,.51,.21],["c",.06,.18,.06,.24,-.27,.72],["c",-.18,.24,-.54,.78,-.78,1.17],["c",-2.37,3.54,-3.54,6.27,-3.87,9],["c",-.03,.33,-.03,.66,-.03,1.26],["c",0,.9,0,1.08,.15,1.89],["c",.06,.45,.06,.48,.03,.6],["c",-.06,.09,-.21,.21,-.3,.21],["c",-.03,0,-.27,-.06,-.54,-.15],["c",-.84,-.27,-1.11,-.3,-1.65,-.3],["c",-.57,0,-.84,.03,-1.56,.27],["c",-.6,.18,-.69,.21,-.81,.15],["c",-.12,-.06,-.21,-.18,-.21,-.3],["c",0,-.15,.6,-1.44,1.2,-2.61],["c",1.14,-2.22,2.73,-4.68,5.1,-8.01],["c",.21,-.27,.36,-.48,.33,-.48],["c",0,0,-.12,.06,-.27,.12],["c",-.54,.3,-.99,.39,-1.56,.39],["c",-.75,.03,-1.2,-.18,-1.83,-.75],["c",-.99,-.9,-1.83,-1.17,-2.31,-.72],["c",-.18,.15,-.36,.51,-.45,.84],["c",-.06,.24,-.06,.33,-.09,1.98],["c",0,1.62,-.03,1.74,-.06,1.8],["c",-.15,.24,-.54,.24,-.69,0],["c",-.06,-.09,-.06,-.15,-.06,-3.57],["c",0,-3.42,0,-3.48,.06,-3.57],["c",.03,-.06,.09,-.12,.15,-.15],["z"]],w:10.561,h:15.093},8:{d:[["M",4.98,-14.97],["c",.33,-.03,1.02,-.03,1.32,0],["c",1.32,.12,2.49,.6,3.21,1.32],["c",.39,.39,.66,.81,.78,1.29],["c",.09,.36,.09,1.08,0,1.44],["c",-.21,.84,-.66,1.59,-1.59,2.55],["l",-.3,.3],["l",.27,.18],["c",1.47,.93,2.31,2.31,2.25,3.75],["c",-.03,.75,-.24,1.35,-.63,1.95],["c",-.45,.66,-1.02,1.14,-1.83,1.53],["c",-1.8,.87,-4.2,.87,-6,.03],["c",-1.62,-.78,-2.52,-2.16,-2.46,-3.66],["c",.06,-.99,.54,-1.77,1.8,-2.97],["c",.54,-.51,.54,-.54,.48,-.57],["c",-.39,-.27,-.96,-.78,-1.2,-1.14],["c",-.75,-1.11,-.87,-2.4,-.3,-3.6],["c",.69,-1.35,2.25,-2.25,4.2,-2.4],["z"],["m",1.53,.69],["c",-.42,-.09,-1.11,-.12,-1.38,-.06],["c",-.3,.06,-.6,.18,-.81,.3],["c",-.21,.12,-.6,.51,-.72,.72],["c",-.51,.87,-.42,1.89,.21,2.52],["c",.21,.21,.36,.3,1.95,1.23],["c",.96,.54,1.74,.99,1.77,1.02],["c",.09,0,.63,-.6,.99,-1.11],["c",.21,-.36,.48,-.87,.57,-1.23],["c",.06,-.24,.06,-.36,.06,-.72],["c",0,-.45,-.03,-.66,-.15,-.99],["c",-.39,-.81,-1.29,-1.44,-2.49,-1.68],["z"],["m",-1.44,8.07],["l",-1.89,-1.08],["c",-.03,0,-.18,.15,-.39,.33],["c",-1.2,1.08,-1.65,1.95,-1.59,3],["c",.09,1.59,1.35,2.85,3.21,3.24],["c",.33,.06,.45,.06,.93,.06],["c",.63,0,.81,-.03,1.29,-.27],["c",.9,-.42,1.47,-1.41,1.41,-2.4],["c",-.06,-.66,-.39,-1.29,-.9,-1.65],["c",-.12,-.09,-1.05,-.63,-2.07,-1.23],["z"]],w:10.926,h:14.989},9:{d:[["M",4.23,-14.97],["c",.42,-.03,1.29,0,1.62,.06],["c",.51,.12,.93,.3,1.38,.57],["c",1.53,1.02,2.52,3.24,2.73,5.94],["c",.18,2.55,-.48,4.98,-1.83,6.57],["c",-1.05,1.26,-2.4,1.89,-3.93,1.83],["c",-1.23,-.06,-2.31,-.45,-3.03,-1.14],["c",-.57,-.51,-.87,-1.23,-.84,-1.98],["c",.03,-.51,.21,-.9,.6,-1.26],["c",.24,-.24,.45,-.39,.75,-.51],["c",.21,-.06,.27,-.06,.6,-.06],["c",.33,0,.39,0,.6,.06],["c",.3,.12,.51,.27,.75,.51],["c",.39,.36,.57,.78,.57,1.26],["c",0,.27,0,.3,-.09,.42],["c",-.03,.09,-.18,.21,-.3,.3],["c",-.12,.09,-.3,.21,-.39,.27],["c",-.09,.06,-.21,.18,-.27,.24],["c",-.06,.12,-.06,.15,-.06,.33],["c",0,.18,0,.24,.06,.36],["c",.24,.39,.75,.6,1.38,.57],["c",.54,-.03,.9,-.18,1.23,-.48],["c",.81,-.72,1.08,-2.16,.96,-5.37],["l",0,-.63],["l",-.3,.12],["c",-.78,.27,-1.29,.33,-2.1,.27],["c",-1.47,-.12,-2.49,-.54,-3.27,-1.29],["c",-.48,-.51,-.81,-1.11,-.96,-1.89],["c",-.06,-.27,-.06,-.42,-.06,-.96],["c",0,-.51,0,-.66,.06,-.93],["c",.15,-.78,.48,-1.38,.96,-1.89],["c",.15,-.12,.33,-.27,.42,-.36],["c",.69,-.51,1.62,-.81,2.76,-.93],["z"],["m",1.17,.66],["c",-.21,-.06,-.57,-.06,-.81,-.03],["c",-.78,.12,-1.26,.69,-1.41,1.74],["c",-.12,.63,-.15,1.95,-.09,2.79],["c",.12,1.71,.63,2.4,1.77,2.46],["c",1.08,.03,1.62,-.48,1.8,-1.74],["c",.06,-.54,.06,-3,0,-3.54],["c",-.15,-1.05,-.51,-1.53,-1.26,-1.68],["z"]],w:9.959,h:14.986},"rests.multimeasure":{d:[["M",0,-4],["l",0,16],["l",1,0],["l",0,-5],["l",40,0],["l",0,5],["l",1,0],["l",0,-16],["l",-1,0],["l",0,5],["l",-40,0],["l",0,-5],["z"]],w:42,h:18},"rests.whole":{d:[["M",.06,.03],["l",.09,-.06],["l",5.46,0],["l",5.49,0],["l",.09,.06],["l",.06,.09],["l",0,2.19],["l",0,2.19],["l",-.06,.09],["l",-.09,.06],["l",-5.49,0],["l",-5.46,0],["l",-.09,-.06],["l",-.06,-.09],["l",0,-2.19],["l",0,-2.19],["z"]],w:11.25,h:4.68},"rests.half":{d:[["M",.06,-4.62],["l",.09,-.06],["l",5.46,0],["l",5.49,0],["l",.09,.06],["l",.06,.09],["l",0,2.19],["l",0,2.19],["l",-.06,.09],["l",-.09,.06],["l",-5.49,0],["l",-5.46,0],["l",-.09,-.06],["l",-.06,-.09],["l",0,-2.19],["l",0,-2.19],["z"]],w:11.25,h:4.68},"rests.quarter":{d:[["M",1.89,-11.82],["c",.12,-.06,.24,-.06,.36,-.03],["c",.09,.06,4.74,5.58,4.86,5.82],["c",.21,.39,.15,.78,-.15,1.26],["c",-.24,.33,-.72,.81,-1.62,1.56],["c",-.45,.36,-.87,.75,-.96,.84],["c",-.93,.99,-1.14,2.49,-.6,3.63],["c",.18,.39,.27,.48,1.32,1.68],["c",1.92,2.25,1.83,2.16,1.83,2.34],["c",0,.18,-.18,.36,-.36,.39],["c",-.15,0,-.27,-.06,-.48,-.27],["c",-.75,-.75,-2.46,-1.29,-3.39,-1.08],["c",-.45,.09,-.69,.27,-.9,.69],["c",-.12,.3,-.21,.66,-.24,1.14],["c",-.03,.66,.09,1.35,.3,2.01],["c",.15,.42,.24,.66,.45,.96],["c",.18,.24,.18,.33,.03,.42],["c",-.12,.06,-.18,.03,-.45,-.3],["c",-1.08,-1.38,-2.07,-3.36,-2.4,-4.83],["c",-.27,-1.05,-.15,-1.77,.27,-2.07],["c",.21,-.12,.42,-.15,.87,-.15],["c",.87,.06,2.1,.39,3.3,.9],["l",.39,.18],["l",-1.65,-1.95],["c",-2.52,-2.97,-2.61,-3.09,-2.7,-3.27],["c",-.09,-.24,-.12,-.48,-.03,-.75],["c",.15,-.48,.57,-.96,1.83,-2.01],["c",.45,-.36,.84,-.72,.93,-.78],["c",.69,-.75,1.02,-1.8,.9,-2.79],["c",-.06,-.33,-.21,-.84,-.39,-1.11],["c",-.09,-.15,-.45,-.6,-.81,-1.05],["c",-.36,-.42,-.69,-.81,-.72,-.87],["c",-.09,-.18,0,-.42,.21,-.51],["z"]],w:7.888,h:21.435},"rests.8th":{d:[["M",1.68,-6.12],["c",.66,-.09,1.23,.09,1.68,.51],["c",.27,.3,.39,.54,.57,1.26],["c",.09,.33,.18,.66,.21,.72],["c",.12,.27,.33,.45,.6,.48],["c",.12,0,.18,0,.33,-.09],["c",.39,-.18,1.32,-1.29,1.68,-1.98],["c",.09,-.21,.24,-.3,.39,-.3],["c",.12,0,.27,.09,.33,.18],["c",.03,.06,-.27,1.11,-1.86,6.42],["c",-1.02,3.48,-1.89,6.39,-1.92,6.42],["c",0,.03,-.12,.12,-.24,.15],["c",-.18,.09,-.21,.09,-.45,.09],["c",-.24,0,-.3,0,-.48,-.06],["c",-.09,-.06,-.21,-.12,-.21,-.15],["c",-.06,-.03,.15,-.57,1.68,-4.92],["c",.96,-2.67,1.74,-4.89,1.71,-4.89],["l",-.51,.15],["c",-1.08,.36,-1.74,.48,-2.55,.48],["c",-.66,0,-.84,-.03,-1.32,-.27],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.33,-.45,.84,-.81,1.38,-.9],["z"]],w:7.534,h:13.883},"rests.16th":{d:[["M",3.33,-6.12],["c",.66,-.09,1.23,.09,1.68,.51],["c",.27,.3,.39,.54,.57,1.26],["c",.09,.33,.18,.66,.21,.72],["c",.15,.39,.57,.57,.87,.42],["c",.39,-.18,1.2,-1.23,1.62,-2.07],["c",.06,-.15,.24,-.24,.36,-.24],["c",.12,0,.27,.09,.33,.18],["c",.03,.06,-.45,1.86,-2.67,10.17],["c",-1.5,5.55,-2.73,10.14,-2.76,10.17],["c",-.03,.03,-.12,.12,-.24,.15],["c",-.18,.09,-.21,.09,-.45,.09],["c",-.24,0,-.3,0,-.48,-.06],["c",-.09,-.06,-.21,-.12,-.21,-.15],["c",-.06,-.03,.12,-.57,1.44,-4.92],["c",.81,-2.67,1.47,-4.86,1.47,-4.89],["c",-.03,0,-.27,.06,-.54,.15],["c",-1.08,.36,-1.77,.48,-2.58,.48],["c",-.66,0,-.84,-.03,-1.32,-.27],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.72,-1.05,2.22,-1.23,3.06,-.42],["c",.3,.33,.42,.6,.6,1.38],["c",.09,.45,.21,.78,.33,.9],["c",.09,.09,.27,.18,.45,.21],["c",.12,0,.18,0,.33,-.09],["c",.33,-.15,1.02,-.93,1.41,-1.59],["c",.12,-.21,.18,-.39,.39,-1.08],["c",.66,-2.1,1.17,-3.84,1.17,-3.87],["c",0,0,-.21,.06,-.42,.15],["c",-.51,.15,-1.2,.33,-1.68,.42],["c",-.33,.06,-.51,.06,-.96,.06],["c",-.66,0,-.84,-.03,-1.32,-.27],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.33,-.45,.84,-.81,1.38,-.9],["z"]],w:9.724,h:21.383},"rests.32nd":{d:[["M",4.23,-13.62],["c",.66,-.09,1.23,.09,1.68,.51],["c",.27,.3,.39,.54,.57,1.26],["c",.09,.33,.18,.66,.21,.72],["c",.12,.27,.33,.45,.6,.48],["c",.12,0,.18,0,.27,-.06],["c",.33,-.21,.99,-1.11,1.44,-1.98],["c",.09,-.24,.21,-.33,.39,-.33],["c",.12,0,.27,.09,.33,.18],["c",.03,.06,-.57,2.67,-3.21,13.89],["c",-1.8,7.62,-3.3,13.89,-3.3,13.92],["c",-.03,.06,-.12,.12,-.24,.18],["c",-.21,.09,-.24,.09,-.48,.09],["c",-.24,0,-.3,0,-.48,-.06],["c",-.09,-.06,-.21,-.12,-.21,-.15],["c",-.06,-.03,.09,-.57,1.23,-4.92],["c",.69,-2.67,1.26,-4.86,1.29,-4.89],["c",0,-.03,-.12,-.03,-.48,.12],["c",-1.17,.39,-2.22,.57,-3,.54],["c",-.42,-.03,-.75,-.12,-1.11,-.3],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.72,-1.05,2.22,-1.23,3.06,-.42],["c",.3,.33,.42,.6,.6,1.38],["c",.09,.45,.21,.78,.33,.9],["c",.12,.09,.3,.18,.48,.21],["c",.12,0,.18,0,.3,-.09],["c",.42,-.21,1.29,-1.29,1.56,-1.89],["c",.03,-.12,1.23,-4.59,1.23,-4.65],["c",0,-.03,-.18,.03,-.39,.12],["c",-.63,.18,-1.2,.36,-1.74,.45],["c",-.39,.06,-.54,.06,-1.02,.06],["c",-.66,0,-.84,-.03,-1.32,-.27],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.72,-1.05,2.22,-1.23,3.06,-.42],["c",.3,.33,.42,.6,.6,1.38],["c",.09,.45,.21,.78,.33,.9],["c",.18,.18,.51,.27,.72,.15],["c",.3,-.12,.69,-.57,1.08,-1.17],["c",.42,-.6,.39,-.51,1.05,-3.03],["c",.33,-1.26,.6,-2.31,.6,-2.34],["c",0,0,-.21,.03,-.45,.12],["c",-.57,.18,-1.14,.33,-1.62,.42],["c",-.33,.06,-.51,.06,-.96,.06],["c",-.66,0,-.84,-.03,-1.32,-.27],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.33,-.45,.84,-.81,1.38,-.9],["z"]],w:11.373,h:28.883},"rests.64th":{d:[["M",5.13,-13.62],["c",.66,-.09,1.23,.09,1.68,.51],["c",.27,.3,.39,.54,.57,1.26],["c",.15,.63,.21,.81,.33,.96],["c",.18,.21,.54,.3,.75,.18],["c",.24,-.12,.63,-.66,1.08,-1.56],["c",.33,-.66,.39,-.72,.6,-.72],["c",.12,0,.27,.09,.33,.18],["c",.03,.06,-.69,3.66,-3.54,17.64],["c",-1.95,9.66,-3.57,17.61,-3.57,17.64],["c",-.03,.06,-.12,.12,-.24,.18],["c",-.21,.09,-.24,.09,-.48,.09],["c",-.24,0,-.3,0,-.48,-.06],["c",-.09,-.06,-.21,-.12,-.21,-.15],["c",-.06,-.03,.06,-.57,1.05,-4.95],["c",.6,-2.7,1.08,-4.89,1.08,-4.92],["c",0,0,-.24,.06,-.51,.15],["c",-.66,.24,-1.2,.36,-1.77,.48],["c",-.42,.06,-.57,.06,-1.05,.06],["c",-.69,0,-.87,-.03,-1.35,-.27],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.72,-1.05,2.22,-1.23,3.06,-.42],["c",.3,.33,.42,.6,.6,1.38],["c",.09,.45,.21,.78,.33,.9],["c",.09,.09,.27,.18,.45,.21],["c",.21,.03,.39,-.09,.72,-.42],["c",.45,-.45,1.02,-1.26,1.17,-1.65],["c",.03,-.09,.27,-1.14,.54,-2.34],["c",.27,-1.2,.48,-2.19,.51,-2.22],["c",0,-.03,-.09,-.03,-.48,.12],["c",-1.17,.39,-2.22,.57,-3,.54],["c",-.42,-.03,-.75,-.12,-1.11,-.3],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.36,-.54,.96,-.87,1.65,-.93],["c",.54,-.03,1.02,.15,1.41,.54],["c",.27,.3,.39,.54,.57,1.26],["c",.09,.33,.18,.66,.21,.72],["c",.15,.39,.57,.57,.9,.42],["c",.36,-.18,1.2,-1.26,1.47,-1.89],["c",.03,-.09,.3,-1.2,.57,-2.43],["l",.51,-2.28],["l",-.54,.18],["c",-1.11,.36,-1.8,.48,-2.61,.48],["c",-.66,0,-.84,-.03,-1.32,-.27],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.36,-.54,.96,-.87,1.65,-.93],["c",.54,-.03,1.02,.15,1.41,.54],["c",.27,.3,.39,.54,.57,1.26],["c",.15,.63,.21,.81,.33,.96],["c",.21,.21,.54,.3,.75,.18],["c",.36,-.18,.93,-.93,1.29,-1.68],["c",.12,-.24,.18,-.48,.63,-2.55],["l",.51,-2.31],["c",0,-.03,-.18,.03,-.39,.12],["c",-1.14,.36,-2.1,.54,-2.82,.51],["c",-.42,-.03,-.75,-.12,-1.11,-.3],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.33,-.45,.84,-.81,1.38,-.9],["z"]],w:12.453,h:36.383},"rests.128th":{d:[["M",6.03,-21.12],["c",.66,-.09,1.23,.09,1.68,.51],["c",.27,.3,.39,.54,.57,1.26],["c",.09,.33,.18,.66,.21,.72],["c",.12,.27,.33,.45,.6,.48],["c",.21,0,.33,-.06,.54,-.36],["c",.15,-.21,.54,-.93,.78,-1.47],["c",.15,-.33,.18,-.39,.3,-.48],["c",.18,-.09,.45,0,.51,.15],["c",.03,.09,-7.11,42.75,-7.17,42.84],["c",-.03,.03,-.15,.09,-.24,.15],["c",-.18,.06,-.24,.06,-.45,.06],["c",-.24,0,-.3,0,-.48,-.06],["c",-.09,-.06,-.21,-.12,-.21,-.15],["c",-.06,-.03,.03,-.57,.84,-4.98],["c",.51,-2.7,.93,-4.92,.9,-4.92],["c",0,0,-.15,.06,-.36,.12],["c",-.78,.27,-1.62,.48,-2.31,.57],["c",-.15,.03,-.54,.03,-.81,.03],["c",-.66,0,-.84,-.03,-1.32,-.27],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.36,-.54,.96,-.87,1.65,-.93],["c",.54,-.03,1.02,.15,1.41,.54],["c",.27,.3,.39,.54,.57,1.26],["c",.09,.33,.18,.66,.21,.72],["c",.12,.27,.33,.45,.63,.48],["c",.12,0,.18,0,.3,-.09],["c",.42,-.21,1.14,-1.11,1.5,-1.83],["c",.12,-.27,.12,-.27,.54,-2.52],["c",.24,-1.23,.42,-2.25,.39,-2.25],["c",0,0,-.24,.06,-.51,.18],["c",-1.26,.39,-2.25,.57,-3.06,.54],["c",-.42,-.03,-.75,-.12,-1.11,-.3],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.36,-.54,.96,-.87,1.65,-.93],["c",.54,-.03,1.02,.15,1.41,.54],["c",.27,.3,.39,.54,.57,1.26],["c",.15,.63,.21,.81,.33,.96],["c",.18,.21,.51,.3,.75,.18],["c",.36,-.15,1.05,-.99,1.41,-1.77],["l",.15,-.3],["l",.42,-2.25],["c",.21,-1.26,.42,-2.28,.39,-2.28],["l",-.51,.15],["c",-1.11,.39,-1.89,.51,-2.7,.51],["c",-.66,0,-.84,-.03,-1.32,-.27],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.36,-.54,.96,-.87,1.65,-.93],["c",.54,-.03,1.02,.15,1.41,.54],["c",.27,.3,.39,.54,.57,1.26],["c",.15,.63,.21,.81,.33,.96],["c",.18,.18,.48,.27,.72,.21],["c",.33,-.12,1.14,-1.26,1.41,-1.95],["c",0,-.09,.21,-1.11,.45,-2.34],["c",.21,-1.2,.39,-2.22,.39,-2.28],["c",.03,-.03,0,-.03,-.45,.12],["c",-.57,.18,-1.2,.33,-1.71,.42],["c",-.3,.06,-.51,.06,-.93,.06],["c",-.66,0,-.84,-.03,-1.32,-.27],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.36,-.54,.96,-.87,1.65,-.93],["c",.54,-.03,1.02,.15,1.41,.54],["c",.27,.3,.39,.54,.57,1.26],["c",.09,.33,.18,.66,.21,.72],["c",.12,.27,.33,.45,.6,.48],["c",.18,0,.36,-.09,.57,-.33],["c",.33,-.36,.78,-1.14,.93,-1.56],["c",.03,-.12,.24,-1.2,.45,-2.4],["c",.24,-1.2,.42,-2.22,.42,-2.28],["c",.03,-.03,0,-.03,-.39,.09],["c",-1.05,.36,-1.8,.48,-2.58,.48],["c",-.63,0,-.84,-.03,-1.29,-.27],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.33,-.45,.84,-.81,1.38,-.9],["z"]],w:12.992,h:43.883},"accidentals.sharp":{d:[["M",5.73,-11.19],["c",.21,-.12,.54,-.03,.66,.24],["c",.06,.12,.06,.21,.06,2.31],["c",0,1.23,0,2.22,.03,2.22],["c",0,0,.27,-.12,.6,-.24],["c",.69,-.27,.78,-.3,.96,-.15],["c",.21,.15,.21,.18,.21,1.38],["c",0,1.02,0,1.11,-.06,1.2],["c",-.03,.06,-.09,.12,-.12,.15],["c",-.06,.03,-.42,.21,-.84,.36],["l",-.75,.33],["l",-.03,2.43],["c",0,1.32,0,2.43,.03,2.43],["c",0,0,.27,-.12,.6,-.24],["c",.69,-.27,.78,-.3,.96,-.15],["c",.21,.15,.21,.18,.21,1.38],["c",0,1.02,0,1.11,-.06,1.2],["c",-.03,.06,-.09,.12,-.12,.15],["c",-.06,.03,-.42,.21,-.84,.36],["l",-.75,.33],["l",-.03,2.52],["c",0,2.28,-.03,2.55,-.06,2.64],["c",-.21,.36,-.72,.36,-.93,0],["c",-.03,-.09,-.06,-.33,-.06,-2.43],["l",0,-2.31],["l",-1.29,.51],["l",-1.26,.51],["l",0,2.43],["c",0,2.58,0,2.52,-.15,2.67],["c",-.06,.09,-.27,.18,-.36,.18],["c",-.12,0,-.33,-.09,-.39,-.18],["c",-.15,-.15,-.15,-.09,-.15,-2.43],["c",0,-1.23,0,-2.22,-.03,-2.22],["c",0,0,-.27,.12,-.6,.24],["c",-.69,.27,-.78,.3,-.96,.15],["c",-.21,-.15,-.21,-.18,-.21,-1.38],["c",0,-1.02,0,-1.11,.06,-1.2],["c",.03,-.06,.09,-.12,.12,-.15],["c",.06,-.03,.42,-.21,.84,-.36],["l",.78,-.33],["l",0,-2.43],["c",0,-1.32,0,-2.43,-.03,-2.43],["c",0,0,-.27,.12,-.6,.24],["c",-.69,.27,-.78,.3,-.96,.15],["c",-.21,-.15,-.21,-.18,-.21,-1.38],["c",0,-1.02,0,-1.11,.06,-1.2],["c",.03,-.06,.09,-.12,.12,-.15],["c",.06,-.03,.42,-.21,.84,-.36],["l",.78,-.33],["l",0,-2.52],["c",0,-2.28,.03,-2.55,.06,-2.64],["c",.21,-.36,.72,-.36,.93,0],["c",.03,.09,.06,.33,.06,2.43],["l",.03,2.31],["l",1.26,-.51],["l",1.26,-.51],["l",0,-2.43],["c",0,-2.28,0,-2.43,.06,-2.55],["c",.06,-.12,.12,-.18,.27,-.24],["z"],["m",-.33,10.65],["l",0,-2.43],["l",-1.29,.51],["l",-1.26,.51],["l",0,2.46],["l",0,2.43],["l",.09,-.03],["c",.06,-.03,.63,-.27,1.29,-.51],["l",1.17,-.48],["l",0,-2.46],["z"]],w:8.25,h:22.462},"accidentals.halfsharp":{d:[["M",2.43,-10.05],["c",.21,-.12,.54,-.03,.66,.24],["c",.06,.12,.06,.21,.06,2.01],["c",0,1.05,0,1.89,.03,1.89],["l",.72,-.48],["c",.69,-.48,.69,-.51,.87,-.51],["c",.15,0,.18,.03,.27,.09],["c",.21,.15,.21,.18,.21,1.41],["c",0,1.11,-.03,1.14,-.09,1.23],["c",-.03,.03,-.48,.39,-1.02,.75],["l",-.99,.66],["l",0,2.37],["c",0,1.32,0,2.37,.03,2.37],["l",.72,-.48],["c",.69,-.48,.69,-.51,.87,-.51],["c",.15,0,.18,.03,.27,.09],["c",.21,.15,.21,.18,.21,1.41],["c",0,1.11,-.03,1.14,-.09,1.23],["c",-.03,.03,-.48,.39,-1.02,.75],["l",-.99,.66],["l",0,2.25],["c",0,1.95,0,2.28,-.06,2.37],["c",-.06,.12,-.12,.21,-.24,.27],["c",-.27,.12,-.54,.03,-.69,-.24],["c",-.06,-.12,-.06,-.21,-.06,-2.01],["c",0,-1.05,0,-1.89,-.03,-1.89],["l",-.72,.48],["c",-.69,.48,-.69,.48,-.87,.48],["c",-.15,0,-.18,0,-.27,-.06],["c",-.21,-.15,-.21,-.18,-.21,-1.41],["c",0,-1.11,.03,-1.14,.09,-1.23],["c",.03,-.03,.48,-.39,1.02,-.75],["l",.99,-.66],["l",0,-2.37],["c",0,-1.32,0,-2.37,-.03,-2.37],["l",-.72,.48],["c",-.69,.48,-.69,.48,-.87,.48],["c",-.15,0,-.18,0,-.27,-.06],["c",-.21,-.15,-.21,-.18,-.21,-1.41],["c",0,-1.11,.03,-1.14,.09,-1.23],["c",.03,-.03,.48,-.39,1.02,-.75],["l",.99,-.66],["l",0,-2.25],["c",0,-2.13,0,-2.28,.06,-2.4],["c",.06,-.12,.12,-.18,.27,-.24],["z"]],w:5.25,h:20.174},"accidentals.nat":{d:[["M",.21,-11.4],["c",.24,-.06,.78,0,.99,.15],["c",.03,.03,.03,.48,0,2.61],["c",-.03,1.44,-.03,2.61,-.03,2.61],["c",0,.03,.75,-.09,1.68,-.24],["c",.96,-.18,1.71,-.27,1.74,-.27],["c",.15,.03,.27,.15,.36,.3],["l",.06,.12],["l",.09,8.67],["c",.09,6.96,.12,8.67,.09,8.67],["c",-.03,.03,-.12,.06,-.21,.09],["c",-.24,.09,-.72,.09,-.96,0],["c",-.09,-.03,-.18,-.06,-.21,-.09],["c",-.03,-.03,-.03,-.48,0,-2.61],["c",.03,-1.44,.03,-2.61,.03,-2.61],["c",0,-.03,-.75,.09,-1.68,.24],["c",-.96,.18,-1.71,.27,-1.74,.27],["c",-.15,-.03,-.27,-.15,-.36,-.3],["l",-.06,-.15],["l",-.09,-7.53],["c",-.06,-4.14,-.09,-8.04,-.12,-8.67],["l",0,-1.11],["l",.15,-.06],["c",.09,-.03,.21,-.06,.27,-.09],["z"],["m",3.75,8.4],["c",0,-.33,0,-.42,-.03,-.42],["c",-.12,0,-2.79,.45,-2.79,.48],["c",-.03,0,-.09,6.3,-.09,6.33],["c",.03,0,2.79,-.45,2.82,-.48],["c",0,0,.09,-4.53,.09,-5.91],["z"]],w:5.4,h:22.8},"accidentals.flat":{d:[["M",-.36,-14.07],["c",.33,-.06,.87,0,1.08,.15],["c",.06,.03,.06,.36,-.03,5.25],["c",-.06,2.85,-.09,5.19,-.09,5.19],["c",0,.03,.12,-.03,.24,-.12],["c",.63,-.42,1.41,-.66,2.19,-.72],["c",.81,-.03,1.47,.21,2.04,.78],["c",.57,.54,.87,1.26,.93,2.04],["c",.03,.57,-.09,1.08,-.36,1.62],["c",-.42,.81,-1.02,1.38,-2.82,2.61],["c",-1.14,.78,-1.44,1.02,-1.8,1.44],["c",-.18,.18,-.39,.39,-.45,.42],["c",-.27,.18,-.57,.15,-.81,-.06],["c",-.06,-.09,-.12,-.18,-.15,-.27],["c",-.03,-.06,-.09,-3.27,-.18,-8.34],["c",-.09,-4.53,-.15,-8.58,-.18,-9.03],["l",0,-.78],["l",.12,-.06],["c",.06,-.03,.18,-.09,.27,-.12],["z"],["m",3.18,11.01],["c",-.21,-.12,-.54,-.15,-.81,-.06],["c",-.54,.15,-.99,.63,-1.17,1.26],["c",-.06,.3,-.12,2.88,-.06,3.87],["c",.03,.42,.03,.81,.06,.9],["l",.03,.12],["l",.45,-.39],["c",.63,-.54,1.26,-1.17,1.56,-1.59],["c",.3,-.42,.6,-.99,.72,-1.41],["c",.18,-.69,.09,-1.47,-.18,-2.07],["c",-.15,-.3,-.33,-.51,-.6,-.63],["z"]],w:6.75,h:18.801},"accidentals.halfflat":{d:[["M",4.83,-14.07],["c",.33,-.06,.87,0,1.08,.15],["c",.06,.03,.06,.6,-.12,9.06],["c",-.09,5.55,-.15,9.06,-.18,9.12],["c",-.03,.09,-.09,.18,-.15,.27],["c",-.24,.21,-.54,.24,-.81,.06],["c",-.06,-.03,-.27,-.24,-.45,-.42],["c",-.36,-.42,-.66,-.66,-1.8,-1.44],["c",-1.23,-.84,-1.83,-1.32,-2.25,-1.77],["c",-.66,-.78,-.96,-1.56,-.93,-2.46],["c",.09,-1.41,1.11,-2.58,2.4,-2.79],["c",.3,-.06,.84,-.03,1.23,.06],["c",.54,.12,1.08,.33,1.53,.63],["c",.12,.09,.24,.15,.24,.12],["c",0,0,-.12,-8.37,-.18,-9.75],["l",0,-.66],["l",.12,-.06],["c",.06,-.03,.18,-.09,.27,-.12],["z"],["m",-1.65,10.95],["c",-.6,-.18,-1.08,.09,-1.38,.69],["c",-.27,.6,-.36,1.38,-.18,2.07],["c",.12,.42,.42,.99,.72,1.41],["c",.3,.42,.93,1.05,1.56,1.59],["l",.48,.39],["l",0,-.12],["c",.03,-.09,.03,-.48,.06,-.9],["c",.03,-.57,.03,-1.08,0,-2.22],["c",-.03,-1.62,-.03,-1.62,-.24,-2.07],["c",-.21,-.42,-.6,-.75,-1.02,-.84],["z"]],w:6.728,h:18.801},"accidentals.dblflat":{d:[["M",-.36,-14.07],["c",.33,-.06,.87,0,1.08,.15],["c",.06,.03,.06,.36,-.03,5.25],["c",-.06,2.85,-.09,5.19,-.09,5.19],["c",0,.03,.12,-.03,.24,-.12],["c",.63,-.42,1.41,-.66,2.19,-.72],["c",.81,-.03,1.47,.21,2.04,.78],["c",.57,.54,.87,1.26,.93,2.04],["c",.03,.57,-.09,1.08,-.36,1.62],["c",-.42,.81,-1.02,1.38,-2.82,2.61],["c",-1.14,.78,-1.44,1.02,-1.8,1.44],["c",-.18,.18,-.39,.39,-.45,.42],["c",-.27,.18,-.57,.15,-.81,-.06],["c",-.06,-.09,-.12,-.18,-.15,-.27],["c",-.03,-.06,-.09,-3.27,-.18,-8.34],["c",-.09,-4.53,-.15,-8.58,-.18,-9.03],["l",0,-.78],["l",.12,-.06],["c",.06,-.03,.18,-.09,.27,-.12],["z"],["m",3.18,11.01],["c",-.21,-.12,-.54,-.15,-.81,-.06],["c",-.54,.15,-.99,.63,-1.17,1.26],["c",-.06,.3,-.12,2.88,-.06,3.87],["c",.03,.42,.03,.81,.06,.9],["l",.03,.12],["l",.45,-.39],["c",.63,-.54,1.26,-1.17,1.56,-1.59],["c",.3,-.42,.6,-.99,.72,-1.41],["c",.18,-.69,.09,-1.47,-.18,-2.07],["c",-.15,-.3,-.33,-.51,-.6,-.63],["z"],["m",3,-11],["c",.33,-.06,.87,0,1.08,.15],["c",.06,.03,.06,.36,-.03,5.25],["c",-.06,2.85,-.09,5.19,-.09,5.19],["c",0,.03,.12,-.03,.24,-.12],["c",.63,-.42,1.41,-.66,2.19,-.72],["c",.81,-.03,1.47,.21,2.04,.78],["c",.57,.54,.87,1.26,.93,2.04],["c",.03,.57,-.09,1.08,-.36,1.62],["c",-.42,.81,-1.02,1.38,-2.82,2.61],["c",-1.14,.78,-1.44,1.02,-1.8,1.44],["c",-.18,.18,-.39,.39,-.45,.42],["c",-.27,.18,-.57,.15,-.81,-.06],["c",-.06,-.09,-.12,-.18,-.15,-.27],["c",-.03,-.06,-.09,-3.27,-.18,-8.34],["c",-.09,-4.53,-.15,-8.58,-.18,-9.03],["l",0,-.78],["l",.12,-.06],["c",.06,-.03,.18,-.09,.27,-.12],["z"],["m",3.18,11.01],["c",-.21,-.12,-.54,-.15,-.81,-.06],["c",-.54,.15,-.99,.63,-1.17,1.26],["c",-.06,.3,-.12,2.88,-.06,3.87],["c",.03,.42,.03,.81,.06,.9],["l",.03,.12],["l",.45,-.39],["c",.63,-.54,1.26,-1.17,1.56,-1.59],["c",.3,-.42,.6,-.99,.72,-1.41],["c",.18,-.69,.09,-1.47,-.18,-2.07],["c",-.15,-.3,-.33,-.51,-.6,-.63],["z"]],w:12.1,h:18.804},"accidentals.dblsharp":{d:[["M",-.18,-3.96],["c",.06,-.03,.12,-.06,.15,-.06],["c",.09,0,2.76,.27,2.79,.3],["c",.12,.03,.15,.12,.15,.51],["c",.06,.96,.24,1.59,.57,2.1],["c",.06,.09,.15,.21,.18,.24],["l",.09,.06],["l",.09,-.06],["c",.03,-.03,.12,-.15,.18,-.24],["c",.33,-.51,.51,-1.14,.57,-2.1],["c",0,-.39,.03,-.45,.12,-.51],["c",.03,0,.66,-.09,1.44,-.15],["c",1.47,-.15,1.5,-.15,1.56,-.03],["c",.03,.06,0,.42,-.09,1.44],["c",-.09,.72,-.15,1.35,-.15,1.38],["c",0,.03,-.03,.09,-.06,.12],["c",-.06,.06,-.12,.09,-.51,.09],["c",-1.08,.06,-1.8,.3,-2.28,.75],["l",-.12,.09],["l",.09,.09],["c",.12,.15,.39,.33,.63,.45],["c",.42,.18,.96,.27,1.68,.33],["c",.39,0,.45,.03,.51,.09],["c",.03,.03,.06,.09,.06,.12],["c",0,.03,.06,.66,.15,1.38],["c",.09,1.02,.12,1.38,.09,1.44],["c",-.06,.12,-.09,.12,-1.56,-.03],["c",-.78,-.06,-1.41,-.15,-1.44,-.15],["c",-.09,-.06,-.12,-.12,-.12,-.54],["c",-.06,-.93,-.24,-1.56,-.57,-2.07],["c",-.06,-.09,-.15,-.21,-.18,-.24],["l",-.09,-.06],["l",-.09,.06],["c",-.03,.03,-.12,.15,-.18,.24],["c",-.33,.51,-.51,1.14,-.57,2.07],["c",0,.42,-.03,.48,-.12,.54],["c",-.03,0,-.66,.09,-1.44,.15],["c",-1.47,.15,-1.5,.15,-1.56,.03],["c",-.03,-.06,0,-.42,.09,-1.44],["c",.09,-.72,.15,-1.35,.15,-1.38],["c",0,-.03,.03,-.09,.06,-.12],["c",.06,-.06,.12,-.09,.51,-.09],["c",.72,-.06,1.26,-.15,1.68,-.33],["c",.24,-.12,.51,-.3,.63,-.45],["l",.09,-.09],["l",-.12,-.09],["c",-.48,-.45,-1.2,-.69,-2.28,-.75],["c",-.39,0,-.45,-.03,-.51,-.09],["c",-.03,-.03,-.06,-.09,-.06,-.12],["c",0,-.03,-.06,-.63,-.12,-1.38],["c",-.09,-.72,-.15,-1.35,-.15,-1.38],["z"]],w:7.95,h:7.977},"dots.dot":{d:[["M",1.32,-1.68],["c",.09,-.03,.27,-.06,.39,-.06],["c",.96,0,1.74,.78,1.74,1.71],["c",0,.96,-.78,1.74,-1.71,1.74],["c",-.96,0,-1.74,-.78,-1.74,-1.71],["c",0,-.78,.54,-1.5,1.32,-1.68],["z"]],w:3.45,h:3.45},"noteheads.dbl":{d:[["M",-.69,-4.02],["c",.18,-.09,.36,-.09,.54,0],["c",.18,.09,.24,.15,.33,.3],["c",.06,.15,.06,.18,.06,1.41],["l",0,1.23],["l",.12,-.18],["c",.72,-1.26,2.64,-2.31,4.86,-2.64],["c",.81,-.15,1.11,-.15,2.13,-.15],["c",.99,0,1.29,0,2.1,.15],["c",.75,.12,1.38,.27,2.04,.54],["c",1.35,.51,2.34,1.26,2.82,2.1],["l",.12,.18],["l",0,-1.23],["c",0,-1.2,0,-1.26,.06,-1.38],["c",.09,-.18,.15,-.24,.33,-.33],["c",.18,-.09,.36,-.09,.54,0],["c",.18,.09,.24,.15,.33,.3],["l",.06,.15],["l",0,3.54],["l",0,3.54],["l",-.06,.15],["c",-.09,.18,-.15,.24,-.33,.33],["c",-.18,.09,-.36,.09,-.54,0],["c",-.18,-.09,-.24,-.15,-.33,-.33],["c",-.06,-.12,-.06,-.18,-.06,-1.38],["l",0,-1.23],["l",-.12,.18],["c",-.48,.84,-1.47,1.59,-2.82,2.1],["c",-.84,.33,-1.71,.54,-2.85,.66],["c",-.45,.06,-2.16,.06,-2.61,0],["c",-1.14,-.12,-2.01,-.33,-2.85,-.66],["c",-1.35,-.51,-2.34,-1.26,-2.82,-2.1],["l",-.12,-.18],["l",0,1.23],["c",0,1.23,0,1.26,-.06,1.38],["c",-.09,.18,-.15,.24,-.33,.33],["c",-.18,.09,-.36,.09,-.54,0],["c",-.18,-.09,-.24,-.15,-.33,-.33],["l",-.06,-.15],["l",0,-3.54],["c",0,-3.48,0,-3.54,.06,-3.66],["c",.09,-.18,.15,-.24,.33,-.33],["z"],["m",7.71,.63],["c",-.36,-.06,-.9,-.06,-1.14,0],["c",-.3,.03,-.66,.24,-.87,.42],["c",-.6,.54,-.9,1.62,-.75,2.82],["c",.12,.93,.51,1.68,1.11,2.31],["c",.75,.72,1.83,1.2,2.85,1.26],["c",1.05,.06,1.83,-.54,2.1,-1.65],["c",.21,-.9,.12,-1.95,-.24,-2.82],["c",-.36,-.81,-1.08,-1.53,-1.95,-1.95],["c",-.3,-.15,-.78,-.3,-1.11,-.39],["z"]],w:16.83,h:8.145},"noteheads.whole":{d:[["M",6.51,-4.05],["c",.51,-.03,2.01,0,2.52,.03],["c",1.41,.18,2.64,.51,3.72,1.08],["c",1.2,.63,1.95,1.41,2.19,2.31],["c",.09,.33,.09,.9,0,1.23],["c",-.24,.9,-.99,1.68,-2.19,2.31],["c",-1.08,.57,-2.28,.9,-3.75,1.08],["c",-.66,.06,-2.31,.06,-2.97,0],["c",-1.47,-.18,-2.67,-.51,-3.75,-1.08],["c",-1.2,-.63,-1.95,-1.41,-2.19,-2.31],["c",-.09,-.33,-.09,-.9,0,-1.23],["c",.24,-.9,.99,-1.68,2.19,-2.31],["c",1.2,-.63,2.61,-.99,4.23,-1.11],["z"],["m",.57,.66],["c",-.87,-.15,-1.53,0,-2.04,.51],["c",-.15,.15,-.24,.27,-.33,.48],["c",-.24,.51,-.36,1.08,-.33,1.77],["c",.03,.69,.18,1.26,.42,1.77],["c",.6,1.17,1.74,1.98,3.18,2.22],["c",1.11,.21,1.95,-.15,2.34,-.99],["c",.24,-.51,.36,-1.08,.33,-1.8],["c",-.06,-1.11,-.45,-2.04,-1.17,-2.76],["c",-.63,-.63,-1.47,-1.05,-2.4,-1.2],["z"]],w:14.985,h:8.097},"noteheads.half":{d:[["M",7.44,-4.05],["c",.06,-.03,.27,-.03,.48,-.03],["c",1.05,0,1.71,.24,2.1,.81],["c",.42,.6,.45,1.35,.18,2.4],["c",-.42,1.59,-1.14,2.73,-2.16,3.39],["c",-1.41,.93,-3.18,1.44,-5.4,1.53],["c",-1.17,.03,-1.89,-.21,-2.28,-.81],["c",-.42,-.6,-.45,-1.35,-.18,-2.4],["c",.42,-1.59,1.14,-2.73,2.16,-3.39],["c",.63,-.42,1.23,-.72,1.98,-.96],["c",.9,-.3,1.65,-.42,3.12,-.54],["z"],["m",1.29,.87],["c",-.27,-.09,-.63,-.12,-.9,-.03],["c",-.72,.24,-1.53,.69,-3.27,1.8],["c",-2.34,1.5,-3.3,2.25,-3.57,2.79],["c",-.36,.72,-.06,1.5,.66,1.77],["c",.24,.12,.69,.09,.99,0],["c",.84,-.3,1.92,-.93,4.14,-2.37],["c",1.62,-1.08,2.37,-1.71,2.61,-2.19],["c",.36,-.72,.06,-1.5,-.66,-1.77],["z"]],w:10.37,h:8.132},"noteheads.quarter":{d:[["M",6.09,-4.05],["c",.36,-.03,1.2,0,1.53,.06],["c",1.17,.24,1.89,.84,2.16,1.83],["c",.06,.18,.06,.3,.06,.66],["c",0,.45,0,.63,-.15,1.08],["c",-.66,2.04,-3.06,3.93,-5.52,4.38],["c",-.54,.09,-1.44,.09,-1.83,.03],["c",-1.23,-.27,-1.98,-.87,-2.25,-1.86],["c",-.06,-.18,-.06,-.3,-.06,-.66],["c",0,-.45,0,-.63,.15,-1.08],["c",.24,-.78,.75,-1.53,1.44,-2.22],["c",1.2,-1.2,2.85,-2.01,4.47,-2.22],["z"]],w:9.81,h:8.094},"noteheads.slash.nostem":{d:[["M",9.3,-7.77],["c",.06,-.06,.18,-.06,1.71,-.06],["l",1.65,0],["l",.09,.09],["c",.06,.06,.06,.09,.06,.15],["c",-.03,.12,-9.21,15.24,-9.3,15.33],["c",-.06,.06,-.18,.06,-1.71,.06],["l",-1.65,0],["l",-.09,-.09],["c",-.06,-.06,-.06,-.09,-.06,-.15],["c",.03,-.12,9.21,-15.24,9.3,-15.33],["z"]],w:12.81,h:15.63},"noteheads.indeterminate":{d:[["M",.78,-4.05],["c",.12,-.03,.24,-.03,.36,.03],["c",.03,.03,.93,.72,1.95,1.56],["l",1.86,1.5],["l",1.86,-1.5],["c",1.02,-.84,1.92,-1.53,1.95,-1.56],["c",.21,-.12,.33,-.09,.75,.24],["c",.3,.27,.36,.36,.36,.54],["c",0,.03,-.03,.12,-.06,.18],["c",-.03,.06,-.9,.75,-1.89,1.56],["l",-1.8,1.47],["c",0,.03,.81,.69,1.8,1.5],["c",.99,.81,1.86,1.5,1.89,1.56],["c",.03,.06,.06,.15,.06,.18],["c",0,.18,-.06,.27,-.36,.54],["c",-.42,.33,-.54,.36,-.75,.24],["c",-.03,-.03,-.93,-.72,-1.95,-1.56],["l",-1.86,-1.5],["l",-1.86,1.5],["c",-1.02,.84,-1.92,1.53,-1.95,1.56],["c",-.21,.12,-.33,.09,-.75,-.24],["c",-.3,-.27,-.36,-.36,-.36,-.54],["c",0,-.03,.03,-.12,.06,-.18],["c",.03,-.06,.9,-.75,1.89,-1.56],["l",1.8,-1.47],["c",0,-.03,-.81,-.69,-1.8,-1.5],["c",-.99,-.81,-1.86,-1.5,-1.89,-1.56],["c",-.06,-.12,-.09,-.21,-.03,-.36],["c",.03,-.09,.57,-.57,.72,-.63],["z"]],w:9.843,h:8.139},"scripts.ufermata":{d:[["M",-.75,-10.77],["c",.12,0,.45,-.03,.69,-.03],["c",2.91,-.03,5.55,1.53,7.41,4.35],["c",1.17,1.71,1.95,3.72,2.43,6.03],["c",.12,.51,.12,.57,.03,.69],["c",-.12,.21,-.48,.27,-.69,.12],["c",-.12,-.09,-.18,-.24,-.27,-.69],["c",-.78,-3.63,-3.42,-6.54,-6.78,-7.38],["c",-.78,-.21,-1.2,-.24,-2.07,-.24],["c",-.63,0,-.84,0,-1.2,.06],["c",-1.83,.27,-3.42,1.08,-4.8,2.37],["c",-1.41,1.35,-2.4,3.21,-2.85,5.19],["c",-.09,.45,-.15,.6,-.27,.69],["c",-.21,.15,-.57,.09,-.69,-.12],["c",-.09,-.12,-.09,-.18,.03,-.69],["c",.33,-1.62,.78,-3,1.47,-4.38],["c",1.77,-3.54,4.44,-5.67,7.56,-5.97],["z"],["m",.33,7.47],["c",1.38,-.3,2.58,.9,2.31,2.25],["c",-.15,.72,-.78,1.35,-1.47,1.5],["c",-1.38,.27,-2.58,-.93,-2.31,-2.31],["c",.15,-.69,.78,-1.29,1.47,-1.44],["z"]],w:19.748,h:11.289},"scripts.dfermata":{d:[["M",-9.63,-.42],["c",.15,-.09,.36,-.06,.51,.03],["c",.12,.09,.18,.24,.27,.66],["c",.78,3.66,3.42,6.57,6.78,7.41],["c",.78,.21,1.2,.24,2.07,.24],["c",.63,0,.84,0,1.2,-.06],["c",1.83,-.27,3.42,-1.08,4.8,-2.37],["c",1.41,-1.35,2.4,-3.21,2.85,-5.22],["c",.09,-.42,.15,-.57,.27,-.66],["c",.21,-.15,.57,-.09,.69,.12],["c",.09,.12,.09,.18,-.03,.69],["c",-.33,1.62,-.78,3,-1.47,4.38],["c",-1.92,3.84,-4.89,6,-8.31,6],["c",-3.42,0,-6.39,-2.16,-8.31,-6],["c",-.48,-.96,-.84,-1.92,-1.14,-2.97],["c",-.18,-.69,-.42,-1.74,-.42,-1.92],["c",0,-.12,.09,-.27,.24,-.33],["z"],["m",9.21,0],["c",1.2,-.27,2.34,.63,2.34,1.86],["c",0,.9,-.66,1.68,-1.5,1.89],["c",-1.38,.27,-2.58,-.93,-2.31,-2.31],["c",.15,-.69,.78,-1.29,1.47,-1.44],["z"]],w:19.744,h:11.274},"scripts.sforzato":{d:[["M",-6.45,-3.69],["c",.06,-.03,.15,-.06,.18,-.06],["c",.06,0,2.85,.72,6.24,1.59],["l",6.33,1.65],["c",.33,.06,.45,.21,.45,.51],["c",0,.3,-.12,.45,-.45,.51],["l",-6.33,1.65],["c",-3.39,.87,-6.18,1.59,-6.21,1.59],["c",-.21,0,-.48,-.24,-.51,-.45],["c",0,-.15,.06,-.36,.18,-.45],["c",.09,-.06,.87,-.27,3.84,-1.05],["c",2.04,-.54,3.84,-.99,4.02,-1.02],["c",.15,-.06,1.14,-.24,2.22,-.42],["c",1.05,-.18,1.92,-.36,1.92,-.36],["c",0,0,-.87,-.18,-1.92,-.36],["c",-1.08,-.18,-2.07,-.36,-2.22,-.42],["c",-.18,-.03,-1.98,-.48,-4.02,-1.02],["c",-2.97,-.78,-3.75,-.99,-3.84,-1.05],["c",-.12,-.09,-.18,-.3,-.18,-.45],["c",.03,-.15,.15,-.3,.3,-.39],["z"]],w:13.5,h:7.5},"scripts.staccato":{d:[["M",-.36,-1.47],["c",.93,-.21,1.86,.51,1.86,1.47],["c",0,.93,-.87,1.65,-1.8,1.47],["c",-.54,-.12,-1.02,-.57,-1.14,-1.08],["c",-.21,-.81,.27,-1.65,1.08,-1.86],["z"]],w:2.989,h:3.004},"scripts.tenuto":{d:[["M",-4.2,-.48],["l",.12,-.06],["l",4.08,0],["l",4.08,0],["l",.12,.06],["c",.39,.21,.39,.75,0,.96],["l",-.12,.06],["l",-4.08,0],["l",-4.08,0],["l",-.12,-.06],["c",-.39,-.21,-.39,-.75,0,-.96],["z"]],w:8.985,h:1.08},"scripts.umarcato":{d:[["M",-.15,-8.19],["c",.15,-.12,.36,-.03,.45,.15],["c",.21,.42,3.45,7.65,3.45,7.71],["c",0,.12,-.12,.27,-.21,.3],["c",-.03,.03,-.51,.03,-1.14,.03],["c",-1.05,0,-1.08,0,-1.17,-.06],["c",-.09,-.06,-.24,-.36,-1.17,-2.4],["c",-.57,-1.29,-1.05,-2.34,-1.08,-2.34],["c",0,-.03,-.51,1.02,-1.08,2.34],["c",-.93,2.07,-1.08,2.34,-1.14,2.4],["c",-.06,.03,-.15,.06,-.18,.06],["c",-.15,0,-.33,-.18,-.33,-.33],["c",0,-.06,3.24,-7.32,3.45,-7.71],["c",.03,-.06,.09,-.15,.15,-.15],["z"]],w:7.5,h:8.245},"scripts.dmarcato":{d:[["M",-3.57,.03],["c",.03,0,.57,-.03,1.17,-.03],["c",1.05,0,1.08,0,1.17,.06],["c",.09,.06,.24,.36,1.17,2.4],["c",.57,1.29,1.05,2.34,1.08,2.34],["c",0,.03,.51,-1.02,1.08,-2.34],["c",.93,-2.07,1.08,-2.34,1.14,-2.4],["c",.06,-.03,.15,-.06,.18,-.06],["c",.15,0,.33,.18,.33,.33],["c",0,.09,-3.45,7.74,-3.54,7.83],["c",-.12,.12,-.3,.12,-.42,0],["c",-.09,-.09,-3.54,-7.74,-3.54,-7.83],["c",0,-.09,.12,-.27,.18,-.3],["z"]],w:7.5,h:8.25},"scripts.stopped":{d:[["M",-.27,-4.08],["c",.18,-.09,.36,-.09,.54,0],["c",.18,.09,.24,.15,.33,.3],["l",.06,.15],["l",0,1.5],["l",0,1.47],["l",1.47,0],["l",1.5,0],["l",.15,.06],["c",.15,.09,.21,.15,.3,.33],["c",.09,.18,.09,.36,0,.54],["c",-.09,.18,-.15,.24,-.33,.33],["c",-.12,.06,-.18,.06,-1.62,.06],["l",-1.47,0],["l",0,1.47],["l",0,1.47],["l",-.06,.15],["c",-.09,.18,-.15,.24,-.33,.33],["c",-.18,.09,-.36,.09,-.54,0],["c",-.18,-.09,-.24,-.15,-.33,-.33],["l",-.06,-.15],["l",0,-1.47],["l",0,-1.47],["l",-1.47,0],["c",-1.44,0,-1.5,0,-1.62,-.06],["c",-.18,-.09,-.24,-.15,-.33,-.33],["c",-.09,-.18,-.09,-.36,0,-.54],["c",.09,-.18,.15,-.24,.33,-.33],["l",.15,-.06],["l",1.47,0],["l",1.47,0],["l",0,-1.47],["c",0,-1.44,0,-1.5,.06,-1.62],["c",.09,-.18,.15,-.24,.33,-.33],["z"]],w:8.295,h:8.295},"scripts.upbow":{d:[["M",-4.65,-15.54],["c",.12,-.09,.36,-.06,.48,.03],["c",.03,.03,.09,.09,.12,.15],["c",.03,.06,.66,2.13,1.41,4.62],["c",1.35,4.41,1.38,4.56,2.01,6.96],["l",.63,2.46],["l",.63,-2.46],["c",.63,-2.4,.66,-2.55,2.01,-6.96],["c",.75,-2.49,1.38,-4.56,1.41,-4.62],["c",.06,-.15,.18,-.21,.36,-.24],["c",.15,0,.3,.06,.39,.18],["c",.15,.21,.24,-.18,-2.1,7.56],["c",-1.2,3.96,-2.22,7.32,-2.25,7.41],["c",0,.12,-.06,.27,-.09,.3],["c",-.12,.21,-.6,.21,-.72,0],["c",-.03,-.03,-.09,-.18,-.09,-.3],["c",-.03,-.09,-1.05,-3.45,-2.25,-7.41],["c",-2.34,-7.74,-2.25,-7.35,-2.1,-7.56],["c",.03,-.03,.09,-.09,.15,-.12],["z"]],w:9.73,h:15.608},"scripts.downbow":{d:[["M",-5.55,-9.93],["l",.09,-.06],["l",5.46,0],["l",5.46,0],["l",.09,.06],["l",.06,.09],["l",0,4.77],["c",0,5.28,0,4.89,-.18,5.01],["c",-.18,.12,-.42,.06,-.54,-.12],["c",-.06,-.09,-.06,-.18,-.06,-2.97],["l",0,-2.85],["l",-4.83,0],["l",-4.83,0],["l",0,2.85],["c",0,2.79,0,2.88,-.06,2.97],["c",-.15,.24,-.51,.24,-.66,0],["c",-.06,-.09,-.06,-.21,-.06,-4.89],["l",0,-4.77],["z"]],w:11.22,h:9.992},"scripts.turn":{d:[["M",-4.77,-3.9],["c",.36,-.06,1.05,-.06,1.44,.03],["c",.78,.15,1.5,.51,2.34,1.14],["c",.6,.45,1.05,.87,2.22,2.01],["c",1.11,1.08,1.62,1.5,2.22,1.86],["c",.6,.36,1.32,.57,1.92,.57],["c",.9,0,1.71,-.57,1.89,-1.35],["c",.24,-.93,-.39,-1.89,-1.35,-2.1],["l",-.15,-.06],["l",-.09,.15],["c",-.03,.09,-.15,.24,-.24,.33],["c",-.72,.72,-2.04,.54,-2.49,-.36],["c",-.48,-.93,.03,-1.86,1.17,-2.19],["c",.3,-.09,1.02,-.09,1.35,0],["c",.99,.27,1.74,.87,2.25,1.83],["c",.69,1.41,.63,3,-.21,4.26],["c",-.21,.3,-.69,.81,-.99,1.02],["c",-.3,.21,-.84,.45,-1.17,.54],["c",-1.23,.36,-2.49,.15,-3.72,-.6],["c",-.75,-.48,-1.41,-1.02,-2.85,-2.46],["c",-1.11,-1.08,-1.62,-1.5,-2.22,-1.86],["c",-.6,-.36,-1.32,-.57,-1.92,-.57],["c",-.9,0,-1.71,.57,-1.89,1.35],["c",-.24,.93,.39,1.89,1.35,2.1],["l",.15,.06],["l",.09,-.15],["c",.03,-.09,.15,-.24,.24,-.33],["c",.72,-.72,2.04,-.54,2.49,.36],["c",.48,.93,-.03,1.86,-1.17,2.19],["c",-.3,.09,-1.02,.09,-1.35,0],["c",-.99,-.27,-1.74,-.87,-2.25,-1.83],["c",-.69,-1.41,-.63,-3,.21,-4.26],["c",.21,-.3,.69,-.81,.99,-1.02],["c",.48,-.33,1.11,-.57,1.74,-.66],["z"]],w:16.366,h:7.893},"scripts.trill":{d:[["M",-.51,-16.02],["c",.12,-.09,.21,-.18,.21,-.18],["l",-.81,4.02],["l",-.81,4.02],["c",.03,0,.51,-.27,1.08,-.6],["c",.6,-.3,1.14,-.63,1.26,-.66],["c",1.14,-.54,2.31,-.6,3.09,-.18],["c",.27,.15,.54,.36,.6,.51],["l",.06,.12],["l",.21,-.21],["c",.9,-.81,2.22,-.99,3.12,-.42],["c",.6,.42,.9,1.14,.78,2.07],["c",-.15,1.29,-1.05,2.31,-1.95,2.25],["c",-.48,-.03,-.78,-.3,-.96,-.81],["c",-.09,-.27,-.09,-.9,-.03,-1.2],["c",.21,-.75,.81,-1.23,1.59,-1.32],["l",.24,-.03],["l",-.09,-.12],["c",-.51,-.66,-1.62,-.63,-2.31,.03],["c",-.39,.42,-.3,.09,-1.23,4.77],["l",-.81,4.14],["c",-.03,0,-.12,-.03,-.21,-.09],["c",-.33,-.15,-.54,-.18,-.99,-.18],["c",-.42,0,-.66,.03,-1.05,.18],["c",-.12,.06,-.21,.09,-.21,.09],["c",0,-.03,.36,-1.86,.81,-4.11],["c",.9,-4.47,.87,-4.26,.69,-4.53],["c",-.21,-.36,-.66,-.51,-1.17,-.36],["c",-.15,.06,-2.22,1.14,-2.58,1.38],["c",-.12,.09,-.12,.09,-.21,.6],["l",-.09,.51],["l",.21,.24],["c",.63,.75,1.02,1.47,1.2,2.19],["c",.06,.27,.06,.36,.06,.81],["c",0,.42,0,.54,-.06,.78],["c",-.15,.54,-.33,.93,-.63,1.35],["c",-.18,.24,-.57,.63,-.81,.78],["c",-.24,.15,-.63,.36,-.84,.42],["c",-.27,.06,-.66,.06,-.87,.03],["c",-.81,-.18,-1.32,-1.05,-1.38,-2.46],["c",-.03,-.6,.03,-.99,.33,-2.46],["c",.21,-1.08,.24,-1.32,.21,-1.29],["c",-1.2,.48,-2.4,.75,-3.21,.72],["c",-.69,-.06,-1.17,-.3,-1.41,-.72],["c",-.39,-.75,-.12,-1.8,.66,-2.46],["c",.24,-.18,.69,-.42,1.02,-.51],["c",.69,-.18,1.53,-.15,2.31,.09],["c",.3,.09,.75,.3,.99,.45],["c",.12,.09,.15,.09,.15,.03],["c",.03,-.03,.33,-1.59,.72,-3.45],["c",.36,-1.86,.66,-3.42,.69,-3.45],["c",0,-.03,.03,-.03,.21,.03],["c",.21,.06,.27,.06,.48,.06],["c",.42,-.03,.78,-.18,1.26,-.48],["c",.15,-.12,.36,-.27,.48,-.39],["z"],["m",-5.73,7.68],["c",-.27,-.03,-.96,-.06,-1.2,-.03],["c",-.81,.12,-1.35,.57,-1.5,1.2],["c",-.18,.66,.12,1.14,.75,1.29],["c",.66,.12,1.92,-.12,3.18,-.66],["l",.33,-.15],["l",.09,-.39],["c",.06,-.21,.09,-.42,.09,-.45],["c",0,-.03,-.45,-.3,-.75,-.45],["c",-.27,-.15,-.66,-.27,-.99,-.36],["z"],["m",4.29,3.63],["c",-.24,-.39,-.51,-.75,-.51,-.69],["c",-.06,.12,-.39,1.92,-.45,2.28],["c",-.09,.54,-.12,1.14,-.06,1.38],["c",.06,.42,.21,.6,.51,.57],["c",.39,-.06,.75,-.48,.93,-1.14],["c",.09,-.33,.09,-1.05,0,-1.38],["c",-.09,-.39,-.24,-.69,-.42,-1.02],["z"]],w:17.963,h:16.49},"scripts.segno":{d:[["M",-3.72,-11.22],["c",.78,-.09,1.59,.03,2.31,.42],["c",1.2,.6,2.01,1.71,2.31,3.09],["c",.09,.42,.09,1.2,.03,1.5],["c",-.15,.45,-.39,.81,-.66,.93],["c",-.33,.18,-.84,.21,-1.23,.15],["c",-.81,-.18,-1.32,-.93,-1.26,-1.89],["c",.03,-.36,.09,-.57,.24,-.9],["c",.15,-.33,.45,-.6,.72,-.75],["c",.12,-.06,.18,-.09,.18,-.12],["c",0,-.03,-.03,-.15,-.09,-.24],["c",-.18,-.45,-.54,-.87,-.96,-1.08],["c",-1.11,-.57,-2.34,-.18,-2.88,.9],["c",-.24,.51,-.33,1.11,-.24,1.83],["c",.27,1.92,1.5,3.54,3.93,5.13],["c",.48,.33,1.26,.78,1.29,.78],["c",.03,0,1.35,-2.19,2.94,-4.89],["l",2.88,-4.89],["l",.84,0],["l",.87,0],["l",-.03,.06],["c",-.15,.21,-6.15,10.41,-6.15,10.44],["c",0,0,.21,.15,.48,.27],["c",2.61,1.47,4.35,3.03,5.13,4.65],["c",1.14,2.34,.51,5.07,-1.44,6.39],["c",-.66,.42,-1.32,.63,-2.13,.69],["c",-2.01,.09,-3.81,-1.41,-4.26,-3.54],["c",-.09,-.42,-.09,-1.2,-.03,-1.5],["c",.15,-.45,.39,-.81,.66,-.93],["c",.33,-.18,.84,-.21,1.23,-.15],["c",.81,.18,1.32,.93,1.26,1.89],["c",-.03,.36,-.09,.57,-.24,.9],["c",-.15,.33,-.45,.6,-.72,.75],["c",-.12,.06,-.18,.09,-.18,.12],["c",0,.03,.03,.15,.09,.24],["c",.18,.45,.54,.87,.96,1.08],["c",1.11,.57,2.34,.18,2.88,-.9],["c",.24,-.51,.33,-1.11,.24,-1.83],["c",-.27,-1.92,-1.5,-3.54,-3.93,-5.13],["c",-.48,-.33,-1.26,-.78,-1.29,-.78],["c",-.03,0,-1.35,2.19,-2.91,4.89],["l",-2.88,4.89],["l",-.87,0],["l",-.87,0],["l",.03,-.06],["c",.15,-.21,6.15,-10.41,6.15,-10.44],["c",0,0,-.21,-.15,-.48,-.3],["c",-2.61,-1.44,-4.35,-3,-5.13,-4.62],["c",-.9,-1.89,-.72,-4.02,.48,-5.52],["c",.69,-.84,1.68,-1.41,2.73,-1.53],["z"],["m",8.76,9.09],["c",.03,-.03,.15,-.03,.27,-.03],["c",.33,.03,.57,.18,.72,.48],["c",.09,.18,.09,.57,0,.75],["c",-.09,.18,-.21,.3,-.36,.39],["c",-.15,.06,-.21,.06,-.39,.06],["c",-.21,0,-.27,0,-.39,-.06],["c",-.3,-.15,-.48,-.45,-.48,-.75],["c",0,-.39,.24,-.72,.63,-.84],["z"],["m",-10.53,2.61],["c",.03,-.03,.15,-.03,.27,-.03],["c",.33,.03,.57,.18,.72,.48],["c",.09,.18,.09,.57,0,.75],["c",-.09,.18,-.21,.3,-.36,.39],["c",-.15,.06,-.21,.06,-.39,.06],["c",-.21,0,-.27,0,-.39,-.06],["c",-.3,-.15,-.48,-.45,-.48,-.75],["c",0,-.39,.24,-.72,.63,-.84],["z"]],w:15,h:22.504},"scripts.coda":{d:[["M",-.21,-10.47],["c",.18,-.12,.42,-.06,.54,.12],["c",.06,.09,.06,.18,.06,1.5],["l",0,1.38],["l",.18,0],["c",.39,.06,.96,.24,1.38,.48],["c",1.68,.93,2.82,3.24,3.03,6.12],["c",.03,.24,.03,.45,.03,.45],["c",0,.03,.6,.03,1.35,.03],["c",1.5,0,1.47,0,1.59,.18],["c",.09,.12,.09,.3,0,.42],["c",-.12,.18,-.09,.18,-1.59,.18],["c",-.75,0,-1.35,0,-1.35,.03],["c",0,0,0,.21,-.03,.42],["c",-.24,3.15,-1.53,5.58,-3.45,6.36],["c",-.27,.12,-.72,.24,-.96,.27],["l",-.18,0],["l",0,1.38],["c",0,1.32,0,1.41,-.06,1.5],["c",-.15,.24,-.51,.24,-.66,0],["c",-.06,-.09,-.06,-.18,-.06,-1.5],["l",0,-1.38],["l",-.18,0],["c",-.39,-.06,-.96,-.24,-1.38,-.48],["c",-1.68,-.93,-2.82,-3.24,-3.03,-6.15],["c",-.03,-.21,-.03,-.42,-.03,-.42],["c",0,-.03,-.6,-.03,-1.35,-.03],["c",-1.5,0,-1.47,0,-1.59,-.18],["c",-.09,-.12,-.09,-.3,0,-.42],["c",.12,-.18,.09,-.18,1.59,-.18],["c",.75,0,1.35,0,1.35,-.03],["c",0,0,0,-.21,.03,-.45],["c",.24,-3.12,1.53,-5.55,3.45,-6.33],["c",.27,-.12,.72,-.24,.96,-.27],["l",.18,0],["l",0,-1.38],["c",0,-1.53,0,-1.5,.18,-1.62],["z"],["m",-.18,6.93],["c",0,-2.97,0,-3.15,-.06,-3.15],["c",-.09,0,-.51,.15,-.66,.21],["c",-.87,.51,-1.38,1.62,-1.56,3.51],["c",-.06,.54,-.12,1.59,-.12,2.16],["l",0,.42],["l",1.2,0],["l",1.2,0],["l",0,-3.15],["z"],["m",1.17,-3.06],["c",-.09,-.03,-.21,-.06,-.27,-.09],["l",-.12,0],["l",0,3.15],["l",0,3.15],["l",1.2,0],["l",1.2,0],["l",0,-.81],["c",-.06,-2.4,-.33,-3.69,-.93,-4.59],["c",-.27,-.39,-.66,-.69,-1.08,-.81],["z"],["m",-1.17,10.14],["l",0,-3.15],["l",-1.2,0],["l",-1.2,0],["l",0,.81],["c",.03,.96,.06,1.47,.15,2.13],["c",.24,2.04,.96,3.12,2.13,3.36],["l",.12,0],["l",0,-3.15],["z"],["m",3.18,-2.34],["l",0,-.81],["l",-1.2,0],["l",-1.2,0],["l",0,3.15],["l",0,3.15],["l",.12,0],["c",1.17,-.24,1.89,-1.32,2.13,-3.36],["c",.09,-.66,.12,-1.17,.15,-2.13],["z"]],w:16.035,h:21.062},"scripts.comma":{d:[["M",1.14,-4.62],["c",.3,-.12,.69,-.03,.93,.15],["c",.12,.12,.36,.45,.51,.78],["c",.9,1.77,.54,4.05,-1.08,6.75],["c",-.36,.63,-.87,1.38,-.96,1.44],["c",-.18,.12,-.42,.06,-.54,-.12],["c",-.09,-.18,-.09,-.3,.12,-.6],["c",.96,-1.44,1.44,-2.97,1.38,-4.35],["c",-.06,-.93,-.3,-1.68,-.78,-2.46],["c",-.27,-.39,-.33,-.63,-.24,-.96],["c",.09,-.27,.36,-.54,.66,-.63],["z"]],w:3.042,h:9.237},"scripts.roll":{d:[["M",1.95,-6],["c",.21,-.09,.36,-.09,.57,0],["c",.39,.15,.63,.39,1.47,1.35],["c",.66,.75,.78,.87,1.08,1.05],["c",.75,.45,1.65,.42,2.4,-.06],["c",.12,-.09,.27,-.27,.54,-.6],["c",.42,-.54,.51,-.63,.69,-.63],["c",.09,0,.3,.12,.36,.21],["c",.09,.12,.12,.3,.03,.42],["c",-.06,.12,-3.15,3.9,-3.3,4.08],["c",-.06,.06,-.18,.12,-.27,.18],["c",-.27,.12,-.6,.06,-.99,-.27],["c",-.27,-.21,-.42,-.39,-1.08,-1.14],["c",-.63,-.72,-.81,-.9,-1.17,-1.08],["c",-.36,-.18,-.57,-.21,-.99,-.21],["c",-.39,0,-.63,.03,-.93,.18],["c",-.36,.15,-.51,.27,-.9,.81],["c",-.24,.27,-.45,.51,-.48,.54],["c",-.12,.09,-.27,.06,-.39,0],["c",-.24,-.15,-.33,-.39,-.21,-.6],["c",.09,-.12,3.18,-3.87,3.33,-4.02],["c",.06,-.06,.18,-.15,.24,-.21],["z"]],w:10.817,h:6.125},"scripts.prall":{d:[["M",-4.38,-3.69],["c",.06,-.03,.18,-.06,.24,-.06],["c",.3,0,.27,-.03,1.89,1.95],["l",1.53,1.83],["c",.03,0,.57,-.84,1.23,-1.83],["c",1.14,-1.68,1.23,-1.83,1.35,-1.89],["c",.06,-.03,.18,-.06,.24,-.06],["c",.3,0,.27,-.03,1.89,1.95],["l",1.53,1.83],["l",.48,-.69],["c",.51,-.78,.54,-.84,.69,-.9],["c",.42,-.18,.87,.15,.81,.6],["c",-.03,.12,-.3,.51,-1.5,2.37],["c",-1.38,2.07,-1.5,2.22,-1.62,2.28],["c",-.06,.03,-.18,.06,-.24,.06],["c",-.3,0,-.27,.03,-1.89,-1.95],["l",-1.53,-1.83],["c",-.03,0,-.57,.84,-1.23,1.83],["c",-1.14,1.68,-1.23,1.83,-1.35,1.89],["c",-.06,.03,-.18,.06,-.24,.06],["c",-.3,0,-.27,.03,-1.89,-1.95],["l",-1.53,-1.83],["l",-.48,.69],["c",-.51,.78,-.54,.84,-.69,.9],["c",-.42,.18,-.87,-.15,-.81,-.6],["c",.03,-.12,.3,-.51,1.5,-2.37],["c",1.38,-2.07,1.5,-2.22,1.62,-2.28],["z"]],w:15.011,h:7.5},"scripts.arpeggio":{d:[["M",1.5,0],["c",1.5,2,1.5,3,1.5,3],["s",0,1,-2,1.5],["s",-.5,3,1,5.5],["l",1.5,0],["s",-1.75,-2,-1.9,-3.25],["s",2.15,-.6,2.95,-1.6],["s",.45,-1,.5,-1.25],["s",0,-1,-2,-3.9],["l",-1.5,0],["z"]],w:5,h:10},"scripts.mordent":{d:[["M",-.21,-4.95],["c",.27,-.15,.63,0,.75,.27],["c",.06,.12,.06,.24,.06,1.44],["l",0,1.29],["l",.57,-.84],["c",.51,-.75,.57,-.84,.69,-.9],["c",.06,-.03,.18,-.06,.24,-.06],["c",.3,0,.27,-.03,1.89,1.95],["l",1.53,1.83],["l",.48,-.69],["c",.51,-.78,.54,-.84,.69,-.9],["c",.42,-.18,.87,.15,.81,.6],["c",-.03,.12,-.3,.51,-1.5,2.37],["c",-1.38,2.07,-1.5,2.22,-1.62,2.28],["c",-.06,.03,-.18,.06,-.24,.06],["c",-.3,0,-.27,.03,-1.83,-1.89],["c",-.81,-.99,-1.5,-1.8,-1.53,-1.86],["c",-.06,-.03,-.06,-.03,-.12,.03],["c",-.06,.06,-.06,.15,-.06,2.28],["c",0,1.95,0,2.25,-.06,2.34],["c",-.18,.45,-.81,.48,-1.05,.03],["c",-.03,-.06,-.06,-.24,-.06,-1.41],["l",0,-1.35],["l",-.57,.84],["c",-.54,.78,-.6,.87,-.72,.93],["c",-.06,.03,-.18,.06,-.24,.06],["c",-.3,0,-.27,.03,-1.89,-1.95],["l",-1.53,-1.83],["l",-.48,.69],["c",-.51,.78,-.54,.84,-.69,.9],["c",-.42,.18,-.87,-.15,-.81,-.6],["c",.03,-.12,.3,-.51,1.5,-2.37],["c",1.38,-2.07,1.5,-2.22,1.62,-2.28],["c",.06,-.03,.18,-.06,.24,-.06],["c",.3,0,.27,-.03,1.89,1.95],["l",1.53,1.83],["c",.03,0,.06,-.06,.09,-.09],["c",.06,-.12,.06,-.15,.06,-2.28],["c",0,-1.92,0,-2.22,.06,-2.31],["c",.06,-.15,.15,-.24,.3,-.3],["z"]],w:15.011,h:10.012},"flags.u8th":{d:[["M",-.42,3.75],["l",0,-3.75],["l",.21,0],["l",.21,0],["l",0,.18],["c",0,.3,.06,.84,.12,1.23],["c",.24,1.53,.9,3.12,2.13,5.16],["l",.99,1.59],["c",.87,1.44,1.38,2.34,1.77,3.09],["c",.81,1.68,1.2,3.06,1.26,4.53],["c",.03,1.53,-.21,3.27,-.75,5.01],["c",-.21,.69,-.51,1.5,-.6,1.59],["c",-.09,.12,-.27,.21,-.42,.21],["c",-.15,0,-.42,-.12,-.51,-.21],["c",-.15,-.18,-.18,-.42,-.09,-.66],["c",.15,-.33,.45,-1.2,.57,-1.62],["c",.42,-1.38,.6,-2.58,.6,-3.9],["c",0,-.66,0,-.81,-.06,-1.11],["c",-.39,-2.07,-1.8,-4.26,-4.59,-7.14],["l",-.42,-.45],["l",-.21,0],["l",-.21,0],["l",0,-3.75],["z"]],w:6.692,h:22.59},"flags.u16th":{d:[["M",-.42,7.5],["l",0,-7.5],["l",.21,0],["l",.21,0],["l",0,.39],["c",.06,1.08,.39,2.19,.99,3.39],["c",.45,.9,.87,1.59,1.95,3.12],["c",1.29,1.86,1.77,2.64,2.22,3.57],["c",.45,.93,.72,1.8,.87,2.64],["c",.06,.51,.06,1.5,0,1.92],["c",-.12,.6,-.3,1.2,-.54,1.71],["l",-.09,.24],["l",.18,.45],["c",.51,1.2,.72,2.22,.69,3.42],["c",-.06,1.53,-.39,3.03,-.99,4.53],["c",-.3,.75,-.36,.81,-.57,.9],["c",-.15,.09,-.33,.06,-.48,0],["c",-.18,-.09,-.27,-.18,-.33,-.33],["c",-.09,-.18,-.06,-.3,.12,-.75],["c",.66,-1.41,1.02,-2.88,1.08,-4.32],["c",0,-.6,-.03,-1.05,-.18,-1.59],["c",-.3,-1.2,-.99,-2.4,-2.25,-3.87],["c",-.42,-.48,-1.53,-1.62,-2.19,-2.22],["l",-.45,-.42],["l",-.03,1.11],["l",0,1.11],["l",-.21,0],["l",-.21,0],["l",0,-7.5],["z"],["m",1.65,.09],["c",-.3,-.3,-.69,-.72,-.9,-.87],["l",-.33,-.33],["l",0,.15],["c",0,.3,.06,.81,.15,1.26],["c",.27,1.29,.87,2.61,2.04,4.29],["c",.15,.24,.6,.87,.96,1.38],["l",1.08,1.53],["l",.42,.63],["c",.03,0,.12,-.36,.21,-.72],["c",.06,-.33,.06,-1.2,0,-1.62],["c",-.33,-1.71,-1.44,-3.48,-3.63,-5.7],["z"]],w:6.693,h:26.337},"flags.u32nd":{d:[["M",-.42,11.25],["l",0,-11.25],["l",.21,0],["l",.21,0],["l",0,.36],["c",.09,1.68,.69,3.27,2.07,5.46],["l",.87,1.35],["c",1.02,1.62,1.47,2.37,1.86,3.18],["c",.48,1.02,.78,1.92,.93,2.88],["c",.06,.48,.06,1.5,0,1.89],["c",-.09,.42,-.21,.87,-.36,1.26],["l",-.12,.3],["l",.15,.39],["c",.69,1.56,.84,2.88,.54,4.38],["c",-.09,.45,-.27,1.08,-.45,1.47],["l",-.12,.24],["l",.18,.36],["c",.33,.72,.57,1.56,.69,2.34],["c",.12,1.02,-.06,2.52,-.42,3.84],["c",-.27,.93,-.75,2.13,-.93,2.31],["c",-.18,.15,-.45,.18,-.66,.09],["c",-.18,-.09,-.27,-.18,-.33,-.33],["c",-.09,-.18,-.06,-.3,.06,-.6],["c",.21,-.36,.42,-.9,.57,-1.38],["c",.51,-1.41,.69,-3.06,.48,-4.08],["c",-.15,-.81,-.57,-1.68,-1.2,-2.55],["c",-.72,-.99,-1.83,-2.13,-3.3,-3.33],["l",-.48,-.42],["l",-.03,1.53],["l",0,1.56],["l",-.21,0],["l",-.21,0],["l",0,-11.25],["z"],["m",1.26,-3.96],["c",-.27,-.3,-.54,-.6,-.66,-.72],["l",-.18,-.21],["l",0,.42],["c",.06,.87,.24,1.74,.66,2.67],["c",.36,.87,.96,1.86,1.92,3.18],["c",.21,.33,.63,.87,.87,1.23],["c",.27,.39,.6,.84,.75,1.08],["l",.27,.39],["l",.03,-.12],["c",.12,-.45,.15,-1.05,.09,-1.59],["c",-.27,-1.86,-1.38,-3.78,-3.75,-6.33],["z"],["m",-.27,6.09],["c",-.27,-.21,-.48,-.42,-.51,-.45],["c",-.06,-.03,-.06,-.03,-.06,.21],["c",0,.9,.3,2.04,.81,3.09],["c",.48,1.02,.96,1.77,2.37,3.63],["c",.6,.78,1.05,1.44,1.29,1.77],["c",.06,.12,.15,.21,.15,.18],["c",.03,-.03,.18,-.57,.24,-.87],["c",.06,-.45,.06,-1.32,-.03,-1.74],["c",-.09,-.48,-.24,-.9,-.51,-1.44],["c",-.66,-1.35,-1.83,-2.7,-3.75,-4.38],["z"]],w:6.697,h:32.145},"flags.u64th":{d:[["M",-.42,15],["l",0,-15],["l",.21,0],["l",.21,0],["l",0,.36],["c",.06,1.2,.39,2.37,1.02,3.66],["c",.39,.81,.84,1.56,1.8,3.09],["c",.81,1.26,1.05,1.68,1.35,2.22],["c",.87,1.5,1.35,2.79,1.56,4.08],["c",.06,.54,.06,1.56,-.03,2.04],["c",-.09,.48,-.21,.99,-.36,1.35],["l",-.12,.27],["l",.12,.27],["c",.09,.15,.21,.45,.27,.66],["c",.69,1.89,.63,3.66,-.18,5.46],["l",-.18,.39],["l",.15,.33],["c",.3,.66,.51,1.44,.63,2.1],["c",.06,.48,.06,1.35,0,1.71],["c",-.15,.57,-.42,1.2,-.78,1.68],["l",-.21,.27],["l",.18,.33],["c",.57,1.05,.93,2.13,1.02,3.18],["c",.06,.72,0,1.83,-.21,2.79],["c",-.18,1.02,-.63,2.34,-1.02,3.09],["c",-.15,.33,-.48,.45,-.78,.3],["c",-.18,-.09,-.27,-.18,-.33,-.33],["c",-.09,-.18,-.06,-.3,.03,-.54],["c",.75,-1.5,1.23,-3.45,1.17,-4.89],["c",-.06,-1.02,-.42,-2.01,-1.17,-3.15],["c",-.48,-.72,-1.02,-1.35,-1.89,-2.22],["c",-.57,-.57,-1.56,-1.5,-1.92,-1.77],["l",-.12,-.09],["l",0,1.68],["l",0,1.68],["l",-.21,0],["l",-.21,0],["l",0,-15],["z"],["m",.93,-8.07],["c",-.27,-.3,-.48,-.54,-.51,-.54],["c",0,0,0,.69,.03,1.02],["c",.15,1.47,.75,2.94,2.04,4.83],["l",1.08,1.53],["c",.39,.57,.84,1.2,.99,1.44],["c",.15,.24,.3,.45,.3,.45],["c",0,0,.03,-.09,.06,-.21],["c",.36,-1.59,-.15,-3.33,-1.47,-5.4],["c",-.63,-.93,-1.35,-1.83,-2.52,-3.12],["z"],["m",.06,6.72],["c",-.24,-.21,-.48,-.42,-.51,-.45],["l",-.06,-.06],["l",0,.33],["c",0,1.2,.3,2.34,.93,3.6],["c",.45,.9,.96,1.68,2.25,3.51],["c",.39,.54,.84,1.17,1.02,1.44],["c",.21,.33,.33,.51,.33,.48],["c",.06,-.09,.21,-.63,.3,-.99],["c",.06,-.33,.06,-.45,.06,-.96],["c",0,-.6,-.03,-.84,-.18,-1.35],["c",-.3,-1.08,-1.02,-2.28,-2.13,-3.57],["c",-.39,-.45,-1.44,-1.47,-2.01,-1.98],["z"],["m",0,6.72],["c",-.24,-.21,-.48,-.39,-.51,-.42],["l",-.06,-.06],["l",0,.33],["c",0,1.41,.45,2.82,1.38,4.35],["c",.42,.72,.72,1.14,1.86,2.73],["c",.36,.45,.75,.99,.87,1.2],["c",.15,.21,.3,.36,.3,.36],["c",.06,0,.3,-.48,.39,-.75],["c",.09,-.36,.12,-.63,.12,-1.05],["c",-.06,-1.05,-.45,-2.04,-1.2,-3.18],["c",-.57,-.87,-1.11,-1.53,-2.07,-2.49],["c",-.36,-.33,-.84,-.78,-1.08,-1.02],["z"]],w:6.682,h:39.694},"flags.d8th":{d:[["M",5.67,-21.63],["c",.24,-.12,.54,-.06,.69,.15],["c",.06,.06,.21,.36,.39,.66],["c",.84,1.77,1.26,3.36,1.32,5.1],["c",.03,1.29,-.21,2.37,-.81,3.63],["c",-.6,1.23,-1.26,2.13,-3.21,4.38],["c",-1.35,1.53,-1.86,2.19,-2.4,2.97],["c",-.63,.93,-1.11,1.92,-1.38,2.79],["c",-.15,.54,-.27,1.35,-.27,1.8],["l",0,.15],["l",-.21,0],["l",-.21,0],["l",0,-3.75],["l",0,-3.75],["l",.21,0],["l",.21,0],["l",.48,-.3],["c",1.83,-1.11,3.12,-2.1,4.17,-3.12],["c",.78,-.81,1.32,-1.53,1.71,-2.31],["c",.45,-.93,.6,-1.74,.51,-2.88],["c",-.12,-1.56,-.63,-3.18,-1.47,-4.68],["c",-.12,-.21,-.15,-.33,-.06,-.51],["c",.06,-.15,.15,-.24,.33,-.33],["z"]],w:8.492,h:21.691},"flags.ugrace":{d:[["M",6.03,6.93],["c",.15,-.09,.33,-.06,.51,0],["c",.15,.09,.21,.15,.3,.33],["c",.09,.18,.06,.39,-.03,.54],["c",-.06,.15,-10.89,8.88,-11.07,8.97],["c",-.15,.09,-.33,.06,-.48,0],["c",-.18,-.09,-.24,-.15,-.33,-.33],["c",-.09,-.18,-.06,-.39,.03,-.54],["c",.06,-.15,10.89,-8.88,11.07,-8.97],["z"]],w:12.019,h:9.954},"flags.dgrace":{d:[["M",-6.06,-15.93],["c",.18,-.09,.33,-.12,.48,-.06],["c",.18,.09,14.01,8.04,14.1,8.1],["c",.12,.12,.18,.33,.18,.51],["c",-.03,.21,-.15,.39,-.36,.48],["c",-.18,.09,-.33,.12,-.48,.06],["c",-.18,-.09,-14.01,-8.04,-14.1,-8.1],["c",-.12,-.12,-.18,-.33,-.18,-.51],["c",.03,-.21,.15,-.39,.36,-.48],["z"]],w:15.12,h:9.212},"flags.d16th":{d:[["M",6.84,-22.53],["c",.27,-.12,.57,-.06,.72,.15],["c",.15,.15,.33,.87,.45,1.56],["c",.06,.33,.06,1.35,0,1.65],["c",-.06,.33,-.15,.78,-.27,1.11],["c",-.12,.33,-.45,.96,-.66,1.32],["l",-.18,.27],["l",.09,.18],["c",.48,1.02,.72,2.25,.69,3.3],["c",-.06,1.23,-.42,2.28,-1.26,3.45],["c",-.57,.87,-.99,1.32,-3,3.39],["c",-1.56,1.56,-2.22,2.4,-2.76,3.45],["c",-.42,.84,-.66,1.8,-.66,2.55],["l",0,.15],["l",-.21,0],["l",-.21,0],["l",0,-7.5],["l",0,-7.5],["l",.21,0],["l",.21,0],["l",0,1.14],["l",0,1.11],["l",.27,-.15],["c",1.11,-.57,1.77,-.99,2.52,-1.47],["c",2.37,-1.56,3.69,-3.15,4.05,-4.83],["c",.03,-.18,.03,-.39,.03,-.78],["c",0,-.6,-.03,-.93,-.24,-1.5],["c",-.06,-.18,-.12,-.39,-.15,-.45],["c",-.03,-.24,.12,-.48,.36,-.6],["z"],["m",-.63,7.5],["c",-.06,-.18,-.15,-.36,-.15,-.36],["c",-.03,0,-.03,.03,-.06,.06],["c",-.06,.12,-.96,1.02,-1.95,1.98],["c",-.63,.57,-1.26,1.17,-1.44,1.35],["c",-1.53,1.62,-2.28,2.85,-2.55,4.32],["c",-.03,.18,-.03,.54,-.06,.99],["l",0,.69],["l",.18,-.09],["c",.93,-.54,2.1,-1.29,2.82,-1.83],["c",.69,-.51,1.02,-.81,1.53,-1.29],["c",1.86,-1.89,2.37,-3.66,1.68,-5.82],["z"]],w:8.475,h:22.591},"flags.d32nd":{d:[["M",6.84,-29.13],["c",.27,-.12,.57,-.06,.72,.15],["c",.12,.12,.27,.63,.36,1.11],["c",.33,1.59,.06,3.06,-.81,4.47],["l",-.18,.27],["l",.09,.15],["c",.12,.24,.33,.69,.45,1.05],["c",.63,1.83,.45,3.57,-.57,5.22],["l",-.18,.3],["l",.15,.27],["c",.42,.87,.6,1.71,.57,2.61],["c",-.06,1.29,-.48,2.46,-1.35,3.78],["c",-.54,.81,-.93,1.29,-2.46,3],["c",-.51,.54,-1.05,1.17,-1.26,1.41],["c",-1.56,1.86,-2.25,3.36,-2.37,5.01],["l",0,.33],["l",-.21,0],["l",-.21,0],["l",0,-11.25],["l",0,-11.25],["l",.21,0],["l",.21,0],["l",0,1.35],["l",.03,1.35],["l",.78,-.39],["c",1.38,-.69,2.34,-1.26,3.24,-1.92],["c",1.38,-1.02,2.28,-2.13,2.64,-3.21],["c",.15,-.48,.18,-.72,.18,-1.29],["c",0,-.57,-.06,-.9,-.24,-1.47],["c",-.06,-.18,-.12,-.39,-.15,-.45],["c",-.03,-.24,.12,-.48,.36,-.6],["z"],["m",-.63,7.2],["c",-.09,-.18,-.12,-.21,-.12,-.15],["c",-.03,.09,-1.02,1.08,-2.04,2.04],["c",-1.17,1.08,-1.65,1.56,-2.07,2.04],["c",-.84,.96,-1.38,1.86,-1.68,2.76],["c",-.21,.57,-.27,.99,-.3,1.65],["l",0,.54],["l",.66,-.33],["c",3.57,-1.86,5.49,-3.69,5.94,-5.7],["c",.06,-.39,.06,-1.2,-.03,-1.65],["c",-.06,-.39,-.24,-.9,-.36,-1.2],["z"],["m",-.06,7.2],["c",-.06,-.15,-.12,-.33,-.15,-.45],["l",-.06,-.18],["l",-.18,.21],["l",-1.83,1.83],["c",-.87,.9,-1.77,1.8,-1.95,2.01],["c",-1.08,1.29,-1.62,2.31,-1.89,3.51],["c",-.06,.3,-.06,.51,-.09,.93],["l",0,.57],["l",.09,-.06],["c",.75,-.45,1.89,-1.26,2.52,-1.74],["c",.81,-.66,1.74,-1.53,2.22,-2.16],["c",1.26,-1.53,1.68,-3.06,1.32,-4.47],["z"]],w:8.385,h:29.191},"flags.d64th":{d:[["M",7.08,-32.88],["c",.3,-.12,.66,-.03,.78,.24],["c",.18,.33,.27,2.1,.15,2.64],["c",-.09,.39,-.21,.78,-.39,1.08],["l",-.15,.3],["l",.09,.27],["c",.03,.12,.09,.45,.12,.69],["c",.27,1.44,.18,2.55,-.3,3.6],["l",-.12,.33],["l",.06,.42],["c",.27,1.35,.33,2.82,.21,3.63],["c",-.12,.6,-.3,1.23,-.57,1.8],["l",-.15,.27],["l",.03,.42],["c",.06,1.02,.06,2.7,.03,3.06],["c",-.15,1.47,-.66,2.76,-1.74,4.41],["c",-.45,.69,-.75,1.11,-1.74,2.37],["c",-1.05,1.38,-1.5,1.98,-1.95,2.73],["c",-.93,1.5,-1.38,2.82,-1.44,4.2],["l",0,.42],["l",-.21,0],["l",-.21,0],["l",0,-15],["l",0,-15],["l",.21,0],["l",.21,0],["l",0,1.86],["l",0,1.89],["c",0,0,.21,-.03,.45,-.09],["c",2.22,-.39,4.08,-1.11,5.19,-2.01],["c",.63,-.54,1.02,-1.14,1.2,-1.8],["c",.06,-.3,.06,-1.14,-.03,-1.65],["c",-.03,-.18,-.06,-.39,-.09,-.48],["c",-.03,-.24,.12,-.48,.36,-.6],["z"],["m",-.45,6.15],["c",-.03,-.18,-.06,-.42,-.06,-.54],["l",-.03,-.18],["l",-.33,.3],["c",-.42,.36,-.87,.72,-1.68,1.29],["c",-1.98,1.38,-2.25,1.59,-2.85,2.16],["c",-.75,.69,-1.23,1.44,-1.47,2.19],["c",-.15,.45,-.18,.63,-.21,1.35],["l",0,.66],["l",.39,-.18],["c",1.83,-.9,3.45,-1.95,4.47,-2.91],["c",.93,-.9,1.53,-1.83,1.74,-2.82],["c",.06,-.33,.06,-.87,.03,-1.32],["z"],["m",-.27,4.86],["c",-.03,-.21,-.06,-.36,-.06,-.36],["c",0,-.03,-.12,.09,-.24,.24],["c",-.39,.48,-.99,1.08,-2.16,2.19],["c",-1.47,1.38,-1.92,1.83,-2.46,2.49],["c",-.66,.87,-1.08,1.74,-1.29,2.58],["c",-.09,.42,-.15,.87,-.15,1.44],["l",0,.54],["l",.48,-.33],["c",1.5,-1.02,2.58,-1.89,3.51,-2.82],["c",1.47,-1.47,2.25,-2.85,2.4,-4.26],["c",.03,-.39,.03,-1.17,-.03,-1.71],["z"],["m",-.66,7.68],["c",.03,-.15,.03,-.6,.03,-.99],["l",0,-.72],["l",-.27,.33],["l",-1.74,1.98],["c",-1.77,1.92,-2.43,2.76,-2.97,3.9],["c",-.51,1.02,-.72,1.77,-.75,2.91],["c",0,.63,0,.63,.06,.6],["c",.03,-.03,.3,-.27,.63,-.54],["c",.66,-.6,1.86,-1.8,2.31,-2.31],["c",1.65,-1.89,2.52,-3.54,2.7,-5.16],["z"]],w:8.485,h:32.932},"clefs.C":{d:[["M",.06,-14.94],["l",.09,-.06],["l",1.92,0],["l",1.92,0],["l",.09,.06],["l",.06,.09],["l",0,14.85],["l",0,14.82],["l",-.06,.09],["l",-.09,.06],["l",-1.92,0],["l",-1.92,0],["l",-.09,-.06],["l",-.06,-.09],["l",0,-14.82],["l",0,-14.85],["z"],["m",5.37,0],["c",.09,-.06,.09,-.06,.57,-.06],["c",.45,0,.45,0,.54,.06],["l",.06,.09],["l",0,7.14],["l",0,7.11],["l",.09,-.06],["c",.18,-.18,.72,-.84,.96,-1.2],["c",.3,-.45,.66,-1.17,.84,-1.65],["c",.36,-.9,.57,-1.83,.6,-2.79],["c",.03,-.48,.03,-.54,.09,-.63],["c",.12,-.18,.36,-.21,.54,-.12],["c",.18,.09,.21,.15,.24,.66],["c",.06,.87,.21,1.56,.57,2.22],["c",.51,1.02,1.26,1.68,2.22,1.92],["c",.21,.06,.33,.06,.78,.06],["c",.45,0,.57,0,.84,-.06],["c",.45,-.12,.81,-.33,1.08,-.6],["c",.57,-.57,.87,-1.41,.99,-2.88],["c",.06,-.54,.06,-3,0,-3.57],["c",-.21,-2.58,-.84,-3.87,-2.16,-4.5],["c",-.48,-.21,-1.17,-.36,-1.77,-.36],["c",-.69,0,-1.29,.27,-1.5,.72],["c",-.06,.15,-.06,.21,-.06,.42],["c",0,.24,0,.3,.06,.45],["c",.12,.24,.24,.39,.63,.66],["c",.42,.3,.57,.48,.69,.72],["c",.06,.15,.06,.21,.06,.48],["c",0,.39,-.03,.63,-.21,.96],["c",-.3,.6,-.87,1.08,-1.5,1.26],["c",-.27,.06,-.87,.06,-1.14,0],["c",-.78,-.24,-1.44,-.87,-1.65,-1.68],["c",-.12,-.42,-.09,-1.17,.09,-1.71],["c",.51,-1.65,1.98,-2.82,3.81,-3.09],["c",.84,-.09,2.46,.03,3.51,.27],["c",2.22,.57,3.69,1.8,4.44,3.75],["c",.36,.93,.57,2.13,.57,3.36],["c",0,1.44,-.48,2.73,-1.38,3.81],["c",-1.26,1.5,-3.27,2.43,-5.28,2.43],["c",-.48,0,-.51,0,-.75,-.09],["c",-.15,-.03,-.48,-.21,-.78,-.36],["c",-.69,-.36,-.87,-.42,-1.26,-.42],["c",-.27,0,-.3,0,-.51,.09],["c",-.57,.3,-.81,.9,-.81,2.1],["c",0,1.23,.24,1.83,.81,2.13],["c",.21,.09,.24,.09,.51,.09],["c",.39,0,.57,-.06,1.26,-.42],["c",.3,-.15,.63,-.33,.78,-.36],["c",.24,-.09,.27,-.09,.75,-.09],["c",2.01,0,4.02,.93,5.28,2.4],["c",.9,1.11,1.38,2.4,1.38,3.84],["c",0,1.5,-.3,2.88,-.84,3.96],["c",-.78,1.59,-2.19,2.64,-4.17,3.15],["c",-1.05,.24,-2.67,.36,-3.51,.27],["c",-1.83,-.27,-3.3,-1.44,-3.81,-3.09],["c",-.18,-.54,-.21,-1.29,-.09,-1.74],["c",.15,-.6,.63,-1.2,1.23,-1.47],["c",.36,-.18,.57,-.21,.99,-.21],["c",.42,0,.63,.03,1.02,.21],["c",.42,.21,.84,.63,1.05,1.05],["c",.18,.36,.21,.6,.21,.96],["c",0,.3,0,.36,-.06,.51],["c",-.12,.24,-.27,.42,-.69,.72],["c",-.57,.42,-.69,.63,-.69,1.08],["c",0,.24,0,.3,.06,.45],["c",.12,.21,.3,.39,.57,.54],["c",.42,.18,.87,.21,1.53,.15],["c",1.08,-.15,1.8,-.57,2.34,-1.32],["c",.54,-.75,.84,-1.83,.99,-3.51],["c",.06,-.57,.06,-3.03,0,-3.57],["c",-.12,-1.47,-.42,-2.31,-.99,-2.88],["c",-.27,-.27,-.63,-.48,-1.08,-.6],["c",-.27,-.06,-.39,-.06,-.84,-.06],["c",-.45,0,-.57,0,-.78,.06],["c",-1.14,.27,-2.01,1.17,-2.46,2.49],["c",-.21,.57,-.3,.99,-.33,1.65],["c",-.03,.51,-.06,.57,-.24,.66],["c",-.12,.06,-.27,.06,-.39,0],["c",-.21,-.09,-.21,-.15,-.24,-.75],["c",-.09,-1.92,-.78,-3.72,-2.01,-5.19],["c",-.18,-.21,-.36,-.42,-.39,-.45],["l",-.09,-.06],["l",0,7.11],["l",0,7.14],["l",-.06,.09],["c",-.09,.06,-.09,.06,-.54,.06],["c",-.48,0,-.48,0,-.57,-.06],["l",-.06,-.09],["l",0,-14.82],["l",0,-14.85],["z"]],w:20.31,h:29.97},"clefs.F":{d:[["M",6.3,-7.8],["c",.36,-.03,1.65,0,2.13,.03],["c",3.6,.42,6.03,2.1,6.93,4.86],["c",.27,.84,.36,1.5,.36,2.58],["c",0,.9,-.03,1.35,-.18,2.16],["c",-.78,3.78,-3.54,7.08,-8.37,9.96],["c",-1.74,1.05,-3.87,2.13,-6.18,3.12],["c",-.39,.18,-.75,.33,-.81,.36],["c",-.06,.03,-.15,.06,-.18,.06],["c",-.15,0,-.33,-.18,-.33,-.33],["c",0,-.15,.06,-.21,.51,-.48],["c",3,-1.77,5.13,-3.21,6.84,-4.74],["c",.51,-.45,1.59,-1.5,1.95,-1.95],["c",1.89,-2.19,2.88,-4.32,3.15,-6.78],["c",.06,-.42,.06,-1.77,0,-2.19],["c",-.24,-2.01,-.93,-3.63,-2.04,-4.71],["c",-.63,-.63,-1.29,-1.02,-2.07,-1.2],["c",-1.62,-.39,-3.36,.15,-4.56,1.44],["c",-.54,.6,-1.05,1.47,-1.32,2.22],["l",-.09,.21],["l",.24,-.12],["c",.39,-.21,.63,-.24,1.11,-.24],["c",.3,0,.45,0,.66,.06],["c",1.92,.48,2.85,2.55,1.95,4.38],["c",-.45,.99,-1.41,1.62,-2.46,1.71],["c",-1.47,.09,-2.91,-.87,-3.39,-2.25],["c",-.18,-.57,-.21,-1.32,-.03,-2.28],["c",.39,-2.25,1.83,-4.2,3.81,-5.19],["c",.69,-.36,1.59,-.6,2.37,-.69],["z"],["m",11.58,2.52],["c",.84,-.21,1.71,.3,1.89,1.14],["c",.3,1.17,-.72,2.19,-1.89,1.89],["c",-.99,-.21,-1.5,-1.32,-1.02,-2.25],["c",.18,-.39,.6,-.69,1.02,-.78],["z"],["m",0,7.5],["c",.84,-.21,1.71,.3,1.89,1.14],["c",.21,.87,-.3,1.71,-1.14,1.89],["c",-.87,.21,-1.71,-.3,-1.89,-1.14],["c",-.21,-.84,.3,-1.71,1.14,-1.89],["z"]],w:20.153,h:23.142},"clefs.G":{d:[["M",9.69,-37.41],["c",.09,-.09,.24,-.06,.36,0],["c",.12,.09,.57,.6,.96,1.11],["c",1.77,2.34,3.21,5.85,3.57,8.73],["c",.21,1.56,.03,3.27,-.45,4.86],["c",-.69,2.31,-1.92,4.47,-4.23,7.44],["c",-.3,.39,-.57,.72,-.6,.75],["c",-.03,.06,0,.15,.18,.78],["c",.54,1.68,1.38,4.44,1.68,5.49],["l",.09,.42],["l",.39,0],["c",1.47,.09,2.76,.51,3.96,1.29],["c",1.83,1.23,3.06,3.21,3.39,5.52],["c",.09,.45,.12,1.29,.06,1.74],["c",-.09,1.02,-.33,1.83,-.75,2.73],["c",-.84,1.71,-2.28,3.06,-4.02,3.72],["l",-.33,.12],["l",.03,1.26],["c",0,1.74,-.06,3.63,-.21,4.62],["c",-.45,3.06,-2.19,5.49,-4.47,6.21],["c",-.57,.18,-.9,.21,-1.59,.21],["c",-.69,0,-1.02,-.03,-1.65,-.21],["c",-1.14,-.27,-2.13,-.84,-2.94,-1.65],["c",-.99,-.99,-1.56,-2.16,-1.71,-3.54],["c",-.09,-.81,.06,-1.53,.45,-2.13],["c",.63,-.99,1.83,-1.56,3,-1.53],["c",1.5,.09,2.64,1.32,2.73,2.94],["c",.06,1.47,-.93,2.7,-2.37,2.97],["c",-.45,.06,-.84,.03,-1.29,-.09],["l",-.21,-.09],["l",.09,.12],["c",.39,.54,.78,.93,1.32,1.26],["c",1.35,.87,3.06,1.02,4.35,.36],["c",1.44,-.72,2.52,-2.28,2.97,-4.35],["c",.15,-.66,.24,-1.5,.3,-3.03],["c",.03,-.84,.03,-2.94,0,-3],["c",-.03,0,-.18,0,-.36,.03],["c",-.66,.12,-.99,.12,-1.83,.12],["c",-1.05,0,-1.71,-.06,-2.61,-.3],["c",-4.02,-.99,-7.11,-4.35,-7.8,-8.46],["c",-.12,-.66,-.12,-.99,-.12,-1.83],["c",0,-.84,0,-1.14,.15,-1.92],["c",.36,-2.28,1.41,-4.62,3.3,-7.29],["l",2.79,-3.6],["c",.54,-.66,.96,-1.2,.96,-1.23],["c",0,-.03,-.09,-.33,-.18,-.69],["c",-.96,-3.21,-1.41,-5.28,-1.59,-7.68],["c",-.12,-1.38,-.15,-3.09,-.06,-3.96],["c",.33,-2.67,1.38,-5.07,3.12,-7.08],["c",.36,-.42,.99,-1.05,1.17,-1.14],["z"],["m",2.01,4.71],["c",-.15,-.3,-.3,-.54,-.3,-.54],["c",-.03,0,-.18,.09,-.3,.21],["c",-2.4,1.74,-3.87,4.2,-4.26,7.11],["c",-.06,.54,-.06,1.41,-.03,1.89],["c",.09,1.29,.48,3.12,1.08,5.22],["c",.15,.42,.24,.78,.24,.81],["c",0,.03,.84,-1.11,1.23,-1.68],["c",1.89,-2.73,2.88,-5.07,3.15,-7.53],["c",.09,-.57,.12,-1.74,.06,-2.37],["c",-.09,-1.23,-.27,-1.92,-.87,-3.12],["z"],["m",-2.94,20.7],["c",-.21,-.72,-.39,-1.32,-.42,-1.32],["c",0,0,-1.2,1.47,-1.86,2.37],["c",-2.79,3.63,-4.02,6.3,-4.35,9.3],["c",-.03,.21,-.03,.69,-.03,1.08],["c",0,.69,0,.75,.06,1.11],["c",.12,.54,.27,.99,.51,1.47],["c",.69,1.38,1.83,2.55,3.42,3.42],["c",.96,.54,2.07,.9,3.21,1.08],["c",.78,.12,2.04,.12,2.94,-.03],["c",.51,-.06,.45,-.03,.42,-.3],["c",-.24,-3.33,-.72,-6.33,-1.62,-10.08],["c",-.09,-.39,-.18,-.75,-.18,-.78],["c",-.03,-.03,-.42,0,-.81,.09],["c",-.9,.18,-1.65,.57,-2.22,1.14],["c",-.72,.72,-1.08,1.65,-1.05,2.64],["c",.06,.96,.48,1.83,1.23,2.58],["c",.36,.36,.72,.63,1.17,.9],["c",.33,.18,.36,.21,.42,.33],["c",.18,.42,-.18,.9,-.6,.87],["c",-.18,-.03,-.84,-.36,-1.26,-.63],["c",-.78,-.51,-1.38,-1.11,-1.86,-1.83],["c",-1.77,-2.7,-.99,-6.42,1.71,-8.19],["c",.3,-.21,.81,-.48,1.17,-.63],["c",.3,-.09,1.02,-.3,1.14,-.3],["c",.06,0,.09,0,.09,-.03],["c",.03,-.03,-.51,-1.92,-1.23,-4.26],["z"],["m",3.78,7.41],["c",-.18,-.03,-.36,-.06,-.39,-.06],["c",-.03,0,0,.21,.18,1.02],["c",.75,3.18,1.26,6.3,1.5,9.09],["c",.06,.72,0,.69,.51,.42],["c",.78,-.36,1.44,-.96,1.98,-1.77],["c",1.08,-1.62,1.2,-3.69,.3,-5.55],["c",-.81,-1.62,-2.31,-2.79,-4.08,-3.15],["z"]],w:19.051,h:57.057},"clefs.perc":{d:[["M",5.07,-7.44],["l",.09,-.06],["l",1.53,0],["l",1.53,0],["l",.09,.06],["l",.06,.09],["l",0,7.35],["l",0,7.32],["l",-.06,.09],["l",-.09,.06],["l",-1.53,0],["l",-1.53,0],["l",-.09,-.06],["l",-.06,-.09],["l",0,-7.32],["l",0,-7.35],["z"],["m",6.63,0],["l",.09,-.06],["l",1.53,0],["l",1.53,0],["l",.09,.06],["l",.06,.09],["l",0,7.35],["l",0,7.32],["l",-.06,.09],["l",-.09,.06],["l",-1.53,0],["l",-1.53,0],["l",-.09,-.06],["l",-.06,-.09],["l",0,-7.32],["l",0,-7.35],["z"]],w:21,h:14.97},"tab.big":{d:[["M",20.16,-21.66],["c",.24,-.09,.66,.09,.78,.36],["c",.09,.21,.09,.24,-.18,.54],["c",-.78,.81,-1.86,1.44,-2.94,1.71],["c",-.87,.24,-1.71,.24,-2.55,.03],["l",-.06,-.03],["l",-.18,.99],["c",-.33,1.98,-.75,4.26,-.96,5.04],["c",-.42,1.65,-1.26,3.18,-2.28,4.14],["c",-.57,.57,-1.17,.9,-1.86,1.08],["c",-.18,.06,-.33,.06,-.66,.06],["c",-.54,0,-.78,-.03,-1.23,-.27],["c",-.39,-.18,-.66,-.39,-1.38,-.99],["c",-.3,-.24,-.66,-.51,-.75,-.57],["c",-.21,-.15,-.27,-.24,-.24,-.45],["c",.06,-.27,.36,-.6,.6,-.66],["c",.18,-.03,.33,.06,.9,.57],["c",.48,.42,.72,.57,.93,.69],["c",.66,.33,1.38,.21,1.95,-.36],["c",.63,-.6,1.05,-1.62,1.23,-3],["c",.03,-.18,.09,-.66,.09,-1.11],["c",.09,-1.56,.33,-3.81,.57,-5.49],["c",.06,-.33,.09,-.63,.09,-.63],["c",-.03,-.03,-.81,-.12,-1.02,-.12],["c",-.57,0,-1.32,.12,-1.8,.33],["c",-.87,.3,-1.35,.78,-1.5,1.41],["c",-.18,.63,.09,1.26,.66,1.65],["c",.12,.06,.15,.12,.18,.24],["c",.09,.27,.06,.57,-.09,.75],["c",-.03,.06,-.12,.09,-.27,.15],["c",-.72,.21,-1.44,.15,-2.1,-.18],["c",-.54,-.27,-.96,-.66,-1.2,-1.14],["c",-.39,-.75,-.33,-1.74,.15,-2.52],["c",.27,-.42,.84,-.93,1.41,-1.23],["c",1.17,-.57,2.88,-.9,4.8,-.9],["c",.69,0,.78,0,1.08,.06],["c",.45,.09,1.11,.3,2.07,.6],["c",1.47,.48,1.83,.57,2.55,.54],["c",1.02,-.06,2.04,-.45,2.94,-1.11],["c",.12,-.09,.24,-.18,.27,-.18],["z"],["m",-5.88,13.05],["c",.21,-.03,.81,0,1.08,.06],["c",.48,.12,.9,.42,.99,.69],["c",.03,.09,.03,.15,0,.27],["c",0,.09,-.03,.57,-.06,1.08],["c",-.09,2.19,-.24,5.76,-.39,8.28],["c",-.06,1.53,-.06,1.77,.03,2.01],["c",.09,.18,.15,.24,.3,.3],["c",.24,.12,.54,.06,1.23,-.27],["c",.57,-.27,.66,-.3,.75,-.24],["c",.09,.06,.18,.3,.18,.45],["c",0,.33,-.15,.51,-.45,.63],["c",-.12,.03,-.39,.15,-.6,.27],["c",-1.17,.6,-1.38,.69,-1.8,.72],["c",-.45,.03,-.78,-.09,-1.08,-.39],["c",-.39,-.42,-.66,-1.2,-1.02,-3.12],["c",-.24,-1.23,-.36,-2.07,-.54,-3.75],["l",0,-.18],["l",-.36,.45],["c",-.6,.75,-1.32,1.59,-1.95,2.25],["c",-.15,.18,-.27,.3,-.27,.33],["c",0,0,.06,.09,.15,.18],["c",.24,.33,.6,.57,1.05,.69],["c",.18,.06,.3,.06,.69,.06],["l",.48,.03],["l",.06,.12],["c",.15,.27,.03,.72,-.21,.9],["c",-.18,.12,-.93,.27,-1.41,.27],["c",-.84,0,-1.59,-.3,-1.98,-.84],["l",-.12,-.15],["l",-.45,.42],["c",-.99,.87,-1.53,1.32,-2.16,1.74],["c",-.78,.51,-1.5,.84,-2.1,.93],["c",-.69,.12,-1.2,.03,-1.95,-.42],["c",-.21,-.12,-.51,-.27,-.66,-.36],["c",-.24,-.12,-.3,-.18,-.33,-.24],["c",-.12,-.27,.15,-.78,.45,-.93],["c",.24,-.12,.33,-.09,.9,.18],["c",.6,.3,.84,.39,1.2,.36],["c",.87,-.09,1.77,-.69,3.24,-2.31],["c",2.67,-2.85,4.59,-5.94,5.7,-9.15],["c",.15,-.45,.24,-.63,.42,-.81],["c",.21,-.24,.6,-.45,.99,-.51],["z"],["m",-3.99,16.05],["c",.18,0,.69,-.03,1.17,0],["c",3.27,.03,5.37,.75,6,2.07],["c",.45,.99,.12,2.4,-.81,3.42],["c",-.24,.27,-.57,.57,-.84,.75],["c",-.09,.06,-.18,.09,-.18,.12],["c",0,0,.18,.03,.42,.09],["c",1.23,.3,2.01,.81,2.37,1.59],["c",.27,.54,.3,1.32,.09,2.1],["c",-.12,.36,-.45,1.05,-.69,1.35],["c",-.87,1.17,-2.1,1.92,-3.54,2.25],["c",-.36,.06,-.48,.06,-.96,.06],["c",-.45,0,-.66,0,-.84,-.03],["c",-.84,-.18,-1.47,-.51,-2.07,-1.11],["c",-.33,-.33,-.45,-.51,-.45,-.63],["c",0,-.06,.03,-.15,.06,-.24],["c",.18,-.33,.69,-.6,.93,-.48],["c",.03,.03,.15,.12,.27,.24],["c",.39,.42,.99,.57,1.62,.45],["c",1.05,-.21,1.98,-1.02,2.31,-2.01],["c",.48,-1.53,-.48,-2.55,-2.58,-2.67],["c",-.21,0,-.36,-.03,-.42,-.06],["c",-.15,-.09,-.21,-.51,-.06,-.78],["c",.12,-.27,.24,-.33,.6,-.36],["c",.57,-.06,1.11,-.42,1.5,-.99],["c",.48,-.72,.54,-1.59,.18,-2.31],["c",-.12,-.21,-.45,-.54,-.69,-.69],["c",-.33,-.21,-.93,-.45,-1.35,-.51],["l",-.12,-.03],["l",-.06,.48],["c",-.54,2.94,-1.14,6.24,-1.29,6.75],["c",-.33,1.35,-.93,2.61,-1.65,3.6],["c",-.3,.36,-.81,.9,-1.14,1.14],["c",-.3,.24,-.84,.48,-1.14,.57],["c",-.33,.09,-.96,.09,-1.26,.03],["c",-.45,-.12,-.87,-.39,-1.53,-.96],["c",-.24,-.15,-.51,-.39,-.63,-.48],["c",-.3,-.21,-.33,-.33,-.21,-.63],["c",.12,-.18,.27,-.36,.42,-.45],["c",.27,-.12,.36,-.09,.87,.33],["c",.78,.6,1.08,.75,1.65,.72],["c",.45,-.03,.81,-.21,1.17,-.54],["c",.87,-.9,1.38,-2.85,1.38,-5.37],["c",0,-.6,.03,-1.11,.12,-2.04],["c",.06,-.69,.24,-2.01,.33,-2.58],["c",.06,-.24,.06,-.42,.06,-.42],["c",0,0,-.12,.03,-.21,.09],["c",-1.44,.57,-2.16,1.65,-1.74,2.55],["c",.09,.15,.18,.24,.27,.33],["c",.24,.21,.3,.27,.33,.39],["c",.06,.24,0,.63,-.15,.78],["c",-.09,.12,-.54,.21,-.96,.24],["c",-1.02,.03,-2.01,-.48,-2.43,-1.32],["c",-.21,-.45,-.27,-.9,-.15,-1.44],["c",.06,-.27,.21,-.66,.39,-.93],["c",.87,-1.29,3,-2.22,5.64,-2.43],["z"]],w:19.643,h:43.325},"tab.tiny":{d:[["M",16.02,-17.25],["c",.12,-.09,.15,-.09,.27,-.09],["c",.21,.03,.51,.3,.51,.45],["c",0,.06,-.12,.18,-.3,.36],["c",-1.11,1.08,-2.55,1.59,-3.84,1.41],["c",-.15,-.03,-.33,-.06,-.39,-.09],["c",-.06,-.03,-.09,-.03,-.12,-.03],["c",0,0,-.06,.42,-.15,.93],["c",-.33,2.01,-.66,3.69,-.84,4.26],["c",-.42,1.41,-1.23,2.67,-2.16,3.33],["c",-.27,.18,-.75,.42,-.99,.48],["c",-.3,.09,-.72,.09,-1.02,.06],["c",-.45,-.09,-.84,-.33,-1.53,-.9],["c",-.21,-.18,-.51,-.39,-.63,-.48],["c",-.27,-.21,-.3,-.24,-.3,-.36],["c",0,-.12,.09,-.36,.18,-.45],["c",.09,-.09,.27,-.18,.36,-.18],["c",.12,0,.3,.12,.66,.45],["c",.57,.51,.87,.69,1.23,.72],["c",.93,.06,1.68,-.78,1.98,-2.37],["c",.09,-.39,.15,-.75,.18,-1.53],["c",.06,-.99,.24,-2.79,.42,-4.05],["c",.03,-.3,.06,-.57,.06,-.6],["c",0,-.06,-.03,-.09,-.15,-.12],["c",-.9,-.18,-2.13,.06,-2.76,.57],["c",-.36,.3,-.51,.6,-.51,1.02],["c",0,.45,.15,.75,.48,.99],["c",.06,.06,.15,.18,.18,.24],["c",.12,.24,.03,.63,-.15,.69],["c",-.24,.12,-.6,.15,-.9,.15],["c",-.36,-.03,-.57,-.09,-.87,-.24],["c",-.78,-.36,-1.23,-1.11,-1.2,-1.92],["c",.12,-1.53,1.74,-2.49,4.62,-2.7],["c",1.2,-.09,1.47,-.03,3.33,.57],["c",.9,.3,1.14,.36,1.56,.39],["c",.45,0,.93,-.06,1.38,-.21],["c",.51,-.18,.81,-.33,1.41,-.75],["z"],["m",-4.68,10.38],["c",.39,-.06,.84,0,1.2,.15],["c",.24,.12,.36,.21,.45,.36],["l",.09,.09],["l",-.06,1.41],["c",-.09,2.19,-.18,3.96,-.27,5.49],["c",-.03,.78,-.06,1.59,-.06,1.86],["c",0,.42,0,.48,.06,.57],["c",.06,.18,.18,.24,.36,.27],["c",.18,0,.39,-.06,.84,-.27],["c",.45,-.21,.54,-.24,.63,-.18],["c",.12,.12,.15,.54,.03,.69],["c",-.03,.03,-.15,.12,-.27,.18],["c",-.15,.03,-.3,.12,-.36,.15],["c",-.87,.45,-1.02,.51,-1.26,.57],["c",-.33,.09,-.6,.06,-.84,-.06],["c",-.42,-.18,-.63,-.6,-.87,-1.44],["c",-.3,-1.23,-.57,-2.97,-.66,-4.08],["c",0,-.18,-.03,-.3,-.03,-.33],["l",-.06,.06],["c",-.18,.27,-1.11,1.38,-1.68,2.01],["l",-.33,.33],["l",.06,.09],["c",.06,.15,.27,.33,.48,.42],["c",.27,.18,.51,.24,.96,.27],["l",.39,0],["l",.03,.12],["c",.12,.21,.03,.57,-.15,.69],["c",-.03,.03,-.21,.09,-.36,.15],["c",-.27,.06,-.39,.06,-.75,.06],["c",-.48,0,-.75,-.03,-1.08,-.21],["c",-.21,-.12,-.51,-.36,-.57,-.48],["l",-.03,-.09],["l",-.39,.36],["c",-1.47,1.35,-2.49,1.98,-3.42,2.13],["c",-.54,.09,-.96,-.03,-1.62,-.39],["c",-.21,-.15,-.45,-.27,-.54,-.3],["c",-.18,-.09,-.21,-.21,-.12,-.45],["c",.06,-.27,.33,-.48,.54,-.48],["c",.03,0,.27,.09,.48,.21],["c",.48,.24,.69,.27,.99,.27],["c",.6,-.06,1.17,-.42,2.1,-1.35],["c",2.22,-2.22,4.02,-4.98,4.95,-7.59],["c",.21,-.57,.3,-.78,.48,-.93],["c",.15,-.15,.42,-.27,.66,-.33],["z"],["m",-3.06,12.84],["c",.27,-.03,1.68,0,2.01,.03],["c",1.92,.18,3.15,.69,3.63,1.5],["c",.18,.33,.24,.51,.21,.93],["c",0,.45,-.06,.72,-.24,1.11],["c",-.24,.51,-.69,1.02,-1.17,1.35],["c",-.21,.15,-.21,.15,-.12,.18],["c",.72,.15,1.11,.3,1.5,.57],["c",.39,.24,.63,.57,.75,.96],["c",.09,.3,.09,.96,0,1.29],["c",-.15,.57,-.39,1.05,-.78,1.5],["c",-.66,.75,-1.62,1.32,-2.61,1.53],["c",-.27,.06,-.42,.06,-.84,.06],["c",-.48,0,-.57,0,-.81,-.06],["c",-.6,-.18,-1.05,-.42,-1.47,-.81],["c",-.36,-.39,-.42,-.51,-.3,-.75],["c",.12,-.21,.39,-.39,.6,-.39],["c",.09,0,.15,.03,.33,.18],["c",.12,.12,.27,.24,.36,.27],["c",.96,.48,2.46,-.33,2.82,-1.5],["c",.24,-.81,-.03,-1.44,-.69,-1.77],["c",-.39,-.21,-1.02,-.33,-1.53,-.33],["c",-.18,0,-.21,0,-.27,-.09],["c",-.06,-.09,-.06,-.3,-.03,-.48],["c",.06,-.18,.18,-.36,.33,-.36],["c",.39,-.06,.51,-.09,.72,-.18],["c",.69,-.36,1.11,-1.23,.99,-2.01],["c",-.09,-.51,-.42,-.9,-.93,-1.17],["c",-.24,-.12,-.6,-.27,-.87,-.3],["c",-.09,-.03,-.09,-.03,-.12,.12],["c",0,.09,-.21,1.11,-.42,2.25],["c",-.66,3.75,-.72,3.99,-1.26,5.07],["c",-.9,1.89,-2.25,2.85,-3.48,2.61],["c",-.39,-.09,-.69,-.27,-1.38,-.84],["c",-.63,-.51,-.63,-.48,-.63,-.6],["c",0,-.18,.18,-.48,.39,-.57],["c",.21,-.12,.3,-.09,.81,.33],["c",.15,.15,.39,.3,.54,.36],["c",.18,.12,.27,.12,.48,.15],["c",.99,.06,1.71,-.78,2.04,-2.46],["c",.12,-.66,.18,-1.14,.21,-2.22],["c",.03,-1.23,.12,-2.25,.36,-3.63],["c",.03,-.24,.06,-.45,.06,-.48],["c",-.06,-.03,-.66,.27,-.9,.42],["c",-.06,.06,-.21,.18,-.33,.3],["c",-.57,.57,-.6,1.35,-.06,1.74],["c",.18,.12,.24,.24,.21,.51],["c",-.03,.3,-.15,.42,-.57,.48],["c",-1.11,.24,-2.22,-.42,-2.43,-1.38],["c",-.09,-.45,.03,-1.02,.3,-1.47],["c",.18,-.24,.6,-.63,.9,-.84],["c",.9,-.6,2.28,-1.02,3.69,-1.11],["z"]],w:15.709,h:34.656},"timesig.common":{d:[["M",6.66,-7.83],["c",.72,-.06,1.41,-.03,1.98,.09],["c",1.2,.27,2.34,.96,3.09,1.92],["c",.63,.81,1.08,1.86,1.14,2.73],["c",.06,1.02,-.51,1.92,-1.44,2.22],["c",-.24,.09,-.3,.09,-.63,.09],["c",-.33,0,-.42,0,-.63,-.06],["c",-.66,-.24,-1.14,-.63,-1.41,-1.2],["c",-.15,-.3,-.21,-.51,-.24,-.9],["c",-.06,-1.08,.57,-2.04,1.56,-2.37],["c",.18,-.06,.27,-.06,.63,-.06],["l",.45,0],["c",.06,.03,.09,.03,.09,0],["c",0,0,-.09,-.12,-.24,-.27],["c",-1.02,-1.11,-2.55,-1.68,-4.08,-1.5],["c",-1.29,.15,-2.04,.69,-2.4,1.74],["c",-.36,.93,-.42,1.89,-.42,5.37],["c",0,2.97,.06,3.96,.24,4.77],["c",.24,1.08,.63,1.68,1.41,2.07],["c",.81,.39,2.16,.45,3.18,.09],["c",1.29,-.45,2.37,-1.53,3.03,-2.97],["c",.15,-.33,.33,-.87,.39,-1.17],["c",.09,-.24,.15,-.36,.3,-.39],["c",.21,-.03,.42,.15,.39,.36],["c",-.06,.39,-.42,1.38,-.69,1.89],["c",-.96,1.8,-2.49,2.94,-4.23,3.18],["c",-.99,.12,-2.58,-.06,-3.63,-.45],["c",-.96,-.36,-1.71,-.84,-2.4,-1.5],["c",-1.11,-1.11,-1.8,-2.61,-2.04,-4.56],["c",-.06,-.6,-.06,-2.01,0,-2.61],["c",.24,-1.95,.9,-3.45,2.01,-4.56],["c",.69,-.66,1.44,-1.11,2.37,-1.47],["c",.63,-.24,1.47,-.42,2.22,-.48],["z"]],w:13.038,h:15.689},"timesig.cut":{d:[["M",6.24,-10.44],["c",.09,-.06,.09,-.06,.48,-.06],["c",.36,0,.36,0,.45,.06],["l",.06,.09],["l",0,1.23],["l",0,1.26],["l",.27,0],["c",1.26,0,2.49,.45,3.48,1.29],["c",1.05,.87,1.8,2.28,1.89,3.48],["c",.06,1.02,-.51,1.92,-1.44,2.22],["c",-.24,.09,-.3,.09,-.63,.09],["c",-.33,0,-.42,0,-.63,-.06],["c",-.66,-.24,-1.14,-.63,-1.41,-1.2],["c",-.15,-.3,-.21,-.51,-.24,-.9],["c",-.06,-1.08,.57,-2.04,1.56,-2.37],["c",.18,-.06,.27,-.06,.63,-.06],["l",.45,0],["c",.06,.03,.09,.03,.09,0],["c",0,-.03,-.45,-.51,-.66,-.69],["c",-.87,-.69,-1.83,-1.05,-2.94,-1.11],["l",-.42,0],["l",0,7.17],["l",0,7.14],["l",.42,0],["c",.69,-.03,1.23,-.18,1.86,-.51],["c",1.05,-.51,1.89,-1.47,2.46,-2.7],["c",.15,-.33,.33,-.87,.39,-1.17],["c",.09,-.24,.15,-.36,.3,-.39],["c",.21,-.03,.42,.15,.39,.36],["c",-.03,.24,-.21,.78,-.39,1.2],["c",-.96,2.37,-2.94,3.9,-5.13,3.9],["l",-.3,0],["l",0,1.26],["l",0,1.23],["l",-.06,.09],["c",-.09,.06,-.09,.06,-.45,.06],["c",-.39,0,-.39,0,-.48,-.06],["l",-.06,-.09],["l",0,-1.29],["l",0,-1.29],["l",-.21,-.03],["c",-1.23,-.21,-2.31,-.63,-3.21,-1.29],["c",-.15,-.09,-.45,-.36,-.66,-.57],["c",-1.11,-1.11,-1.8,-2.61,-2.04,-4.56],["c",-.06,-.6,-.06,-2.01,0,-2.61],["c",.24,-1.95,.93,-3.45,2.04,-4.59],["c",.42,-.39,.78,-.66,1.26,-.93],["c",.75,-.45,1.65,-.75,2.61,-.9],["l",.21,-.03],["l",0,-1.29],["l",0,-1.29],["z"],["m",-.06,10.44],["c",0,-5.58,0,-6.99,-.03,-6.99],["c",-.15,0,-.63,.27,-.87,.45],["c",-.45,.36,-.75,.93,-.93,1.77],["c",-.18,.81,-.24,1.8,-.24,4.74],["c",0,2.97,.06,3.96,.24,4.77],["c",.24,1.08,.66,1.68,1.41,2.07],["c",.12,.06,.3,.12,.33,.15],["l",.09,0],["l",0,-6.96],["z"]],w:13.038,h:20.97},"timesig.imperfectum":{d:[["M",13,-5],["a",8,8,0,1,0,0,10]],w:13.038,h:20.97},"timesig.imperfectum2":{d:[["M",13,-5],["a",8,8,0,1,0,0,10]],w:13.038,h:20.97},"timesig.perfectum":{d:[["M",13,-5],["a",8,8,0,1,0,0,10]],w:13.038,h:20.97},"timesig.perfectum2":{d:[["M",13,-5],["a",8,8,0,1,0,0,10]],w:13.038,h:20.97},f:{d:[["M",9.93,-14.28],["c",1.53,-.18,2.88,.45,3.12,1.5],["c",.12,.51,0,1.32,-.27,1.86],["c",-.15,.3,-.42,.57,-.63,.69],["c",-.69,.36,-1.56,.03,-1.83,-.69],["c",-.09,-.24,-.09,-.69,0,-.87],["c",.06,-.12,.21,-.24,.45,-.42],["c",.42,-.24,.57,-.45,.6,-.72],["c",.03,-.33,-.09,-.39,-.63,-.42],["c",-.3,0,-.45,0,-.6,.03],["c",-.81,.21,-1.35,.93,-1.74,2.46],["c",-.06,.27,-.48,2.25,-.48,2.31],["c",0,.03,.39,.03,.9,.03],["c",.72,0,.9,0,.99,.06],["c",.42,.15,.45,.72,.03,.9],["c",-.12,.06,-.24,.06,-1.17,.06],["l",-1.05,0],["l",-.78,2.55],["c",-.45,1.41,-.87,2.79,-.96,3.06],["c",-.87,2.37,-2.37,4.74,-3.78,5.91],["c",-1.05,.9,-2.04,1.23,-3.09,1.08],["c",-1.11,-.18,-1.89,-.78,-2.04,-1.59],["c",-.12,-.66,.15,-1.71,.54,-2.19],["c",.69,-.75,1.86,-.54,2.22,.39],["c",.06,.15,.09,.27,.09,.48],["c",0,.24,-.03,.27,-.12,.42],["c",-.03,.09,-.15,.18,-.27,.27],["c",-.09,.06,-.27,.21,-.36,.27],["c",-.24,.18,-.36,.36,-.39,.6],["c",-.03,.33,.09,.39,.63,.42],["c",.42,0,.63,-.03,.9,-.15],["c",.6,-.3,.96,-.96,1.38,-2.64],["c",.09,-.42,.63,-2.55,1.17,-4.77],["l",1.02,-4.08],["c",0,-.03,-.36,-.03,-.81,-.03],["c",-.72,0,-.81,0,-.93,-.06],["c",-.42,-.18,-.39,-.75,.03,-.9],["c",.09,-.06,.27,-.06,1.05,-.06],["l",.96,0],["l",0,-.09],["c",.06,-.18,.3,-.72,.51,-1.17],["c",1.2,-2.46,3.3,-4.23,5.34,-4.5],["z"]],w:16.155,h:19.445},m:{d:[["M",2.79,-8.91],["c",.09,0,.3,-.03,.45,-.03],["c",.24,.03,.3,.03,.45,.12],["c",.36,.15,.63,.54,.75,1.02],["l",.03,.21],["l",.33,-.3],["c",.69,-.69,1.38,-1.02,2.07,-1.02],["c",.27,0,.33,0,.48,.06],["c",.21,.09,.48,.36,.63,.6],["c",.03,.09,.12,.27,.18,.42],["c",.03,.15,.09,.27,.12,.27],["c",0,0,.09,-.09,.18,-.21],["c",.33,-.39,.87,-.81,1.29,-.99],["c",.78,-.33,1.47,-.21,2.01,.33],["c",.3,.33,.48,.69,.6,1.14],["c",.09,.42,.06,.54,-.54,3.06],["c",-.33,1.29,-.57,2.4,-.57,2.43],["c",0,.12,.09,.21,.21,.21],["c",.24,0,.75,-.3,1.2,-.72],["c",.45,-.39,.6,-.45,.78,-.27],["c",.18,.18,.09,.36,-.45,.87],["c",-1.05,.96,-1.83,1.47,-2.58,1.71],["c",-.93,.33,-1.53,.21,-1.8,-.33],["c",-.06,-.15,-.06,-.21,-.06,-.45],["c",0,-.24,.03,-.48,.6,-2.82],["c",.42,-1.71,.6,-2.64,.63,-2.79],["c",.03,-.57,-.3,-.75,-.84,-.48],["c",-.24,.12,-.54,.39,-.66,.63],["c",-.03,.09,-.42,1.38,-.9,3],["c",-.9,3.15,-.84,3,-1.14,3.15],["l",-.15,.09],["l",-.78,0],["c",-.6,0,-.78,0,-.84,-.06],["c",-.09,-.03,-.18,-.18,-.18,-.27],["c",0,-.03,.36,-1.38,.84,-2.97],["c",.57,-2.04,.81,-2.97,.84,-3.12],["c",.03,-.54,-.3,-.72,-.84,-.45],["c",-.24,.12,-.57,.42,-.66,.63],["c",-.06,.09,-.51,1.44,-1.05,2.97],["c",-.51,1.56,-.99,2.85,-.99,2.91],["c",-.06,.12,-.21,.24,-.36,.3],["c",-.12,.06,-.21,.06,-.9,.06],["c",-.6,0,-.78,0,-.84,-.06],["c",-.09,-.03,-.18,-.18,-.18,-.27],["c",0,-.03,.45,-1.38,.99,-2.97],["c",1.05,-3.18,1.05,-3.18,.93,-3.45],["c",-.12,-.27,-.39,-.3,-.72,-.15],["c",-.54,.27,-1.14,1.17,-1.56,2.4],["c",-.06,.15,-.15,.3,-.18,.36],["c",-.21,.21,-.57,.27,-.72,.09],["c",-.09,-.09,-.06,-.21,.06,-.63],["c",.48,-1.26,1.26,-2.46,2.01,-3.21],["c",.57,-.54,1.2,-.87,1.83,-1.02],["z"]],w:14.687,h:9.126},p:{d:[["M",1.92,-8.7],["c",.27,-.09,.81,-.06,1.11,.03],["c",.54,.18,.93,.51,1.17,.99],["c",.09,.15,.15,.33,.18,.36],["l",0,.12],["l",.3,-.27],["c",.66,-.6,1.35,-1.02,2.13,-1.2],["c",.21,-.06,.33,-.06,.78,-.06],["c",.45,0,.51,0,.84,.09],["c",1.29,.33,2.07,1.32,2.25,2.79],["c",.09,.81,-.09,2.01,-.45,2.79],["c",-.54,1.26,-1.86,2.55,-3.18,3.03],["c",-.45,.18,-.81,.24,-1.29,.24],["c",-.69,-.03,-1.35,-.18,-1.86,-.45],["c",-.3,-.15,-.51,-.18,-.69,-.09],["c",-.09,.03,-.18,.09,-.18,.12],["c",-.09,.12,-1.05,2.94,-1.05,3.06],["c",0,.24,.18,.48,.51,.63],["c",.18,.06,.54,.15,.75,.15],["c",.21,0,.36,.06,.42,.18],["c",.12,.18,.06,.42,-.12,.54],["c",-.09,.03,-.15,.03,-.78,0],["c",-1.98,-.15,-3.81,-.15,-5.79,0],["c",-.63,.03,-.69,.03,-.78,0],["c",-.24,-.15,-.24,-.57,.03,-.66],["c",.06,-.03,.48,-.09,.99,-.12],["c",.87,-.06,1.11,-.09,1.35,-.21],["c",.18,-.06,.33,-.18,.39,-.3],["c",.06,-.12,3.24,-9.42,3.27,-9.6],["c",.06,-.33,.03,-.57,-.15,-.69],["c",-.09,-.06,-.12,-.06,-.3,-.06],["c",-.69,.06,-1.53,1.02,-2.28,2.61],["c",-.09,.21,-.21,.45,-.27,.51],["c",-.09,.12,-.33,.24,-.48,.24],["c",-.18,0,-.36,-.15,-.36,-.3],["c",0,-.24,.78,-1.83,1.26,-2.55],["c",.72,-1.11,1.47,-1.74,2.28,-1.92],["z"],["m",5.37,1.47],["c",-.27,-.12,-.75,-.03,-1.14,.21],["c",-.75,.48,-1.47,1.68,-1.89,3.15],["c",-.45,1.47,-.42,2.34,0,2.7],["c",.45,.39,1.26,.21,1.83,-.36],["c",.51,-.51,.99,-1.68,1.38,-3.27],["c",.3,-1.17,.33,-1.74,.15,-2.13],["c",-.09,-.15,-.15,-.21,-.33,-.3],["z"]],w:14.689,h:13.127},r:{d:[["M",6.33,-9.12],["c",.27,-.03,.93,0,1.2,.06],["c",.84,.21,1.23,.81,1.02,1.53],["c",-.24,.75,-.9,1.17,-1.56,.96],["c",-.33,-.09,-.51,-.3,-.66,-.75],["c",-.03,-.12,-.09,-.24,-.12,-.3],["c",-.09,-.15,-.3,-.24,-.48,-.24],["c",-.57,0,-1.38,.54,-1.65,1.08],["c",-.06,.15,-.33,1.17,-.9,3.27],["c",-.57,2.31,-.81,3.12,-.87,3.21],["c",-.03,.06,-.12,.15,-.18,.21],["l",-.12,.06],["l",-.81,.03],["c",-.69,0,-.81,0,-.9,-.03],["c",-.09,-.06,-.18,-.21,-.18,-.3],["c",0,-.06,.39,-1.62,.9,-3.51],["c",.84,-3.24,.87,-3.45,.87,-3.72],["c",0,-.21,0,-.27,-.03,-.36],["c",-.12,-.15,-.21,-.24,-.42,-.24],["c",-.24,0,-.45,.15,-.78,.42],["c",-.33,.36,-.45,.54,-.72,1.14],["c",-.03,.12,-.21,.24,-.36,.27],["c",-.12,0,-.15,0,-.24,-.06],["c",-.18,-.12,-.18,-.21,-.06,-.54],["c",.21,-.57,.42,-.93,.78,-1.32],["c",.54,-.51,1.2,-.81,1.95,-.87],["c",.81,-.03,1.53,.3,1.92,.87],["l",.12,.18],["l",.09,-.09],["c",.57,-.45,1.41,-.84,2.19,-.96],["z"]],w:9.41,h:9.132},s:{d:[["M",4.47,-8.73],["c",.09,0,.36,-.03,.57,-.03],["c",.75,.03,1.29,.24,1.71,.63],["c",.51,.54,.66,1.26,.36,1.83],["c",-.24,.42,-.63,.57,-1.11,.42],["c",-.33,-.09,-.6,-.36,-.6,-.57],["c",0,-.03,.06,-.21,.15,-.39],["c",.12,-.21,.15,-.33,.18,-.48],["c",0,-.24,-.06,-.48,-.15,-.6],["c",-.15,-.21,-.42,-.24,-.75,-.15],["c",-.27,.06,-.48,.18,-.69,.36],["c",-.39,.39,-.51,.96,-.33,1.38],["c",.09,.21,.42,.51,.78,.72],["c",1.11,.69,1.59,1.11,1.89,1.68],["c",.21,.39,.24,.78,.15,1.29],["c",-.18,1.2,-1.17,2.16,-2.52,2.52],["c",-1.02,.24,-1.95,.12,-2.7,-.42],["c",-.72,-.51,-.99,-1.47,-.6,-2.19],["c",.24,-.48,.72,-.63,1.17,-.42],["c",.33,.18,.54,.45,.57,.81],["c",0,.21,-.03,.3,-.33,.51],["c",-.33,.24,-.39,.42,-.27,.69],["c",.06,.15,.21,.27,.45,.33],["c",.3,.09,.87,.09,1.2,0],["c",.75,-.21,1.23,-.72,1.29,-1.35],["c",.03,-.42,-.15,-.81,-.54,-1.2],["c",-.24,-.24,-.48,-.42,-1.41,-1.02],["c",-.69,-.42,-1.05,-.93,-1.05,-1.47],["c",0,-.39,.12,-.87,.3,-1.23],["c",.27,-.57,.78,-1.05,1.38,-1.35],["c",.24,-.12,.63,-.27,.9,-.3],["z"]],w:6.632,h:8.758},z:{d:[["M",2.64,-7.95],["c",.36,-.09,.81,-.03,1.71,.27],["c",.78,.21,.96,.27,1.74,.3],["c",.87,.06,1.02,.03,1.38,-.21],["c",.21,-.15,.33,-.15,.48,-.06],["c",.15,.09,.21,.3,.15,.45],["c",-.03,.06,-1.26,1.26,-2.76,2.67],["l",-2.73,2.55],["l",.54,.03],["c",.54,.03,.72,.03,2.01,.15],["c",.36,.03,.9,.06,1.2,.09],["c",.66,0,.81,-.03,1.02,-.24],["c",.3,-.3,.39,-.72,.27,-1.23],["c",-.06,-.27,-.06,-.27,-.03,-.39],["c",.15,-.3,.54,-.27,.69,.03],["c",.15,.33,.27,1.02,.27,1.5],["c",0,1.47,-1.11,2.7,-2.52,2.79],["c",-.57,.03,-1.02,-.09,-2.01,-.51],["c",-1.02,-.42,-1.23,-.48,-2.13,-.54],["c",-.81,-.06,-.96,-.03,-1.26,.18],["c",-.12,.06,-.24,.12,-.27,.12],["c",-.27,0,-.45,-.3,-.36,-.51],["c",.03,-.06,1.32,-1.32,2.91,-2.79],["l",2.88,-2.73],["c",-.03,0,-.21,.03,-.42,.06],["c",-.21,.03,-.78,.09,-1.23,.12],["c",-1.11,.12,-1.23,.15,-1.95,.27],["c",-.72,.15,-1.17,.18,-1.29,.09],["c",-.27,-.18,-.21,-.75,.12,-1.26],["c",.39,-.6,.93,-1.02,1.59,-1.2],["z"]],w:8.573,h:8.743},"+":{d:[["M",3.48,-9.3],["c",.18,-.09,.36,-.09,.54,0],["c",.18,.09,.24,.15,.33,.3],["l",.06,.15],["l",0,1.29],["l",0,1.29],["l",1.29,0],["c",1.23,0,1.29,0,1.41,.06],["c",.06,.03,.15,.09,.18,.12],["c",.12,.09,.21,.33,.21,.48],["c",0,.15,-.09,.39,-.21,.48],["c",-.03,.03,-.12,.09,-.18,.12],["c",-.12,.06,-.18,.06,-1.41,.06],["l",-1.29,0],["l",0,1.29],["c",0,1.23,0,1.29,-.06,1.41],["c",-.09,.18,-.15,.24,-.3,.33],["c",-.21,.09,-.39,.09,-.57,0],["c",-.18,-.09,-.24,-.15,-.33,-.33],["c",-.06,-.12,-.06,-.18,-.06,-1.41],["l",0,-1.29],["l",-1.29,0],["c",-1.23,0,-1.29,0,-1.41,-.06],["c",-.18,-.09,-.24,-.15,-.33,-.33],["c",-.09,-.18,-.09,-.36,0,-.54],["c",.09,-.18,.15,-.24,.33,-.33],["l",.15,-.06],["l",1.26,0],["l",1.29,0],["l",0,-1.29],["c",0,-1.23,0,-1.29,.06,-1.41],["c",.09,-.18,.15,-.24,.33,-.33],["z"]],w:7.507,h:7.515},",":{d:[["M",1.32,-3.36],["c",.57,-.15,1.17,.03,1.59,.45],["c",.45,.45,.6,.96,.51,1.89],["c",-.09,1.23,-.42,2.46,-.99,3.93],["c",-.3,.72,-.72,1.62,-.78,1.68],["c",-.18,.21,-.51,.18,-.66,-.06],["c",-.03,-.06,-.06,-.15,-.06,-.18],["c",0,-.06,.12,-.33,.24,-.63],["c",.84,-1.8,1.02,-2.61,.69,-3.24],["c",-.12,-.24,-.27,-.36,-.75,-.6],["c",-.36,-.15,-.42,-.21,-.6,-.39],["c",-.69,-.69,-.69,-1.71,0,-2.4],["c",.21,-.21,.51,-.39,.81,-.45],["z"]],w:3.452,h:8.143},"-":{d:[["M",.18,-5.34],["c",.09,-.06,.15,-.06,2.31,-.06],["c",2.46,0,2.37,0,2.46,.21],["c",.12,.21,.03,.42,-.15,.54],["c",-.09,.06,-.15,.06,-2.28,.06],["c",-2.16,0,-2.22,0,-2.31,-.06],["c",-.27,-.15,-.27,-.54,-.03,-.69],["z"]],w:5.001,h:.81},".":{d:[["M",1.32,-3.36],["c",1.05,-.27,2.1,.57,2.1,1.65],["c",0,1.08,-1.05,1.92,-2.1,1.65],["c",-.9,-.21,-1.5,-1.14,-1.26,-2.04],["c",.12,-.63,.63,-1.11,1.26,-1.26],["z"]],w:3.413,h:3.402},"scripts.wedge":{d:[["M",-3.66,-7.44],["c",.06,-.09,0,-.09,.81,.03],["c",1.86,.3,3.84,.3,5.73,0],["c",.78,-.12,.72,-.12,.78,-.03],["c",.15,.15,.12,.24,-.24,.6],["c",-.93,.93,-1.98,2.76,-2.67,4.62],["c",-.3,.78,-.51,1.71,-.51,2.13],["c",0,.15,0,.18,-.06,.27],["c",-.12,.09,-.24,.09,-.36,0],["c",-.06,-.09,-.06,-.12,-.06,-.27],["c",0,-.42,-.21,-1.35,-.51,-2.13],["c",-.69,-1.86,-1.74,-3.69,-2.67,-4.62],["c",-.36,-.36,-.39,-.45,-.24,-.6],["z"]],w:7.49,h:7.752},"scripts.thumb":{d:[["M",-.54,-3.69],["c",.15,-.03,.36,-.06,.51,-.06],["c",1.44,0,2.58,1.11,2.94,2.85],["c",.09,.48,.09,1.32,0,1.8],["c",-.27,1.41,-1.08,2.43,-2.16,2.73],["l",-.18,.06],["l",0,.12],["c",.03,.06,.06,.45,.09,.87],["c",.03,.57,.03,.78,0,.84],["c",-.09,.27,-.39,.48,-.66,.48],["c",-.27,0,-.57,-.21,-.66,-.48],["c",-.03,-.06,-.03,-.27,0,-.84],["c",.03,-.42,.06,-.81,.09,-.87],["l",0,-.12],["l",-.18,-.06],["c",-1.08,-.3,-1.89,-1.32,-2.16,-2.73],["c",-.09,-.48,-.09,-1.32,0,-1.8],["c",.15,-.84,.51,-1.53,1.02,-2.04],["c",.39,-.39,.84,-.63,1.35,-.75],["z"],["m",1.05,.9],["c",-.15,-.09,-.21,-.09,-.45,-.12],["c",-.15,0,-.3,.03,-.39,.03],["c",-.57,.18,-.9,.72,-1.08,1.74],["c",-.06,.48,-.06,1.8,0,2.28],["c",.15,.9,.42,1.44,.9,1.65],["c",.18,.09,.21,.09,.51,.09],["c",.3,0,.33,0,.51,-.09],["c",.48,-.21,.75,-.75,.9,-1.65],["c",.03,-.27,.03,-.54,.03,-1.14],["c",0,-.6,0,-.87,-.03,-1.14],["c",-.15,-.9,-.45,-1.44,-.9,-1.65],["z"]],w:5.955,h:9.75},"scripts.open":{d:[["M",-.54,-3.69],["c",.15,-.03,.36,-.06,.51,-.06],["c",1.44,0,2.58,1.11,2.94,2.85],["c",.09,.48,.09,1.32,0,1.8],["c",-.33,1.74,-1.47,2.85,-2.91,2.85],["c",-1.44,0,-2.58,-1.11,-2.91,-2.85],["c",-.09,-.48,-.09,-1.32,0,-1.8],["c",.15,-.84,.51,-1.53,1.02,-2.04],["c",.39,-.39,.84,-.63,1.35,-.75],["z"],["m",1.11,.9],["c",-.21,-.09,-.27,-.09,-.51,-.12],["c",-.3,0,-.42,.03,-.66,.15],["c",-.24,.12,-.51,.39,-.66,.63],["c",-.54,.93,-.63,2.64,-.21,3.81],["c",.21,.54,.51,.9,.93,1.11],["c",.21,.09,.24,.09,.54,.09],["c",.3,0,.33,0,.54,-.09],["c",.42,-.21,.72,-.57,.93,-1.11],["c",.36,-.99,.36,-2.37,0,-3.36],["c",-.21,-.54,-.51,-.9,-.9,-1.11],["z"]],w:5.955,h:7.5},"scripts.longphrase":{d:[["M",1.47,-15.09],["c",.36,-.09,.66,-.18,.69,-.18],["c",.06,0,.06,.54,.06,11.25],["l",0,11.25],["l",-.63,.15],["c",-.66,.18,-1.44,.39,-1.5,.39],["c",-.03,0,-.03,-3.39,-.03,-11.25],["l",0,-11.25],["l",.36,-.09],["c",.21,-.06,.66,-.18,1.05,-.27],["z"]],w:2.16,h:23.04},"scripts.mediumphrase":{d:[["M",1.47,-7.59],["c",.36,-.09,.66,-.18,.69,-.18],["c",.06,0,.06,.39,.06,7.5],["l",0,7.5],["l",-.63,.15],["c",-.66,.18,-1.44,.39,-1.5,.39],["c",-.03,0,-.03,-2.28,-.03,-7.5],["l",0,-7.5],["l",.36,-.09],["c",.21,-.06,.66,-.18,1.05,-.27],["z"]],w:2.16,h:15.54},"scripts.shortphrase":{d:[["M",1.47,-7.59],["c",.36,-.09,.66,-.18,.69,-.18],["c",.06,0,.06,.21,.06,3.75],["l",0,3.75],["l",-.42,.09],["c",-.57,.18,-1.65,.45,-1.71,.45],["c",-.03,0,-.03,-.72,-.03,-3.75],["l",0,-3.75],["l",.36,-.09],["c",.21,-.06,.66,-.18,1.05,-.27],["z"]],w:2.16,h:8.04},"scripts.snap":{d:[["M",4.5,-3.39],["c",.36,-.03,.96,-.03,1.35,0],["c",1.56,.15,3.15,.9,4.2,2.01],["c",.24,.27,.33,.42,.33,.6],["c",0,.27,.03,.24,-2.46,2.22],["c",-1.29,1.02,-2.4,1.86,-2.49,1.92],["c",-.18,.09,-.3,.09,-.48,0],["c",-.09,-.06,-1.2,-.9,-2.49,-1.92],["c",-2.49,-1.98,-2.46,-1.95,-2.46,-2.22],["c",0,-.18,.09,-.33,.33,-.6],["c",1.05,-1.08,2.64,-1.86,4.17,-2.01],["z"],["m",1.29,1.17],["c",-1.47,-.15,-2.97,.3,-4.14,1.2],["l",-.18,.15],["l",.06,.09],["c",.15,.12,3.63,2.85,3.66,2.85],["c",.03,0,3.51,-2.73,3.66,-2.85],["l",.06,-.09],["l",-.18,-.15],["c",-.84,-.66,-1.89,-1.08,-2.94,-1.2],["z"]],w:10.38,h:6.84},"noteheads.slash.whole":{d:[["M",5,-5],["l",1,1],["l",-5,5],["l",-1,-1],["z"],["m",4,6],["l",-5,-5],["l",2,-2],["l",5,5],["z"],["m",0,-2],["l",1,1],["l",-5,5],["l",-1,-1],["z"],["m",-4,6],["l",-5,-5],["l",2,-2],["l",5,5],["z"]],w:10.81,h:15.63},"noteheads.slash.quarter":{d:[["M",9,-6],["l",0,4],["l",-9,9],["l",0,-4],["z"]],w:9,h:9},"noteheads.harmonic.quarter":{d:[["M",3.63,-4.02],["c",.09,-.06,.18,-.09,.24,-.03],["c",.03,.03,.87,.93,1.83,2.01],["c",1.5,1.65,1.8,1.98,1.8,2.04],["c",0,.06,-.3,.39,-1.8,2.04],["c",-.96,1.08,-1.8,1.98,-1.83,2.01],["c",-.06,.06,-.15,.03,-.24,-.03],["c",-.12,-.09,-3.54,-3.84,-3.6,-3.93],["c",-.03,-.03,-.03,-.09,-.03,-.15],["c",.03,-.06,3.45,-3.84,3.63,-3.96],["z"]],w:7.5,h:8.165},"noteheads.triangle.quarter":{d:[["M",0,0],["l",9,0],["l",-4.5,-9],["z"]],w:9,h:9}},pathClone=function(e){for(var t=[],r=0,n=e.length;r<n;r++){t[r]=[];for(var o=0,a=e[r].length;o<a;o++)t[r][o]=e[r][o]}return t},pathScale=function(e,t,r){for(var n=0,o=e.length;n<o;n++){var a,i,s=e[n];for(a=1,i=s.length;a<i;a++)s[a]*=a%2?t:r}},Glyphs={printSymbol:function(e,t,r,n,o){if(!glyphs$8[r])return null;var a=pathClone(glyphs$8[r].d);a[0][1]+=e,a[0][2]+=t;for(var i="",s=0;s<a.length;s++)i+=a[s].join(" ");return o.path=i,n.path(o)},getPathForSymbol:function(e,t,r,n,o){if(n=n||1,o=o||1,!glyphs$8[r])return null;var a=pathClone(glyphs$8[r].d);return 1===n&&1===o||pathScale(a,n,o),a[0][1]+=e,a[0][2]+=t,a},getSymbolWidth:function(e){return glyphs$8[e]?glyphs$8[e].w:0},symbolHeightInPitches:function(e){return(glyphs$8[e]?glyphs$8[e].h:0)/spacing$b.STEP},getSymbolAlign:function(e){return"scripts"===e.substring(0,7)&&"scripts.roll"!==e?"center":"left"},getYCorr:function(e){switch(e){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case"+":case"flags.d64th":case"scripts.trill":case"scripts.upbow":case"scripts.downbow":return-2;case"timesig.common":case"timesig.cut":default:return 0;case"flags.d32nd":case"rests.half":case"rests.8th":case"rests.quarter":case"rests.16th":case"rests.32nd":case"rests.64th":case"scripts.ufermata":case"scripts.wedge":case"scripts.roll":case"scripts.shortphrase":case"scripts.longphrase":return-1;case"flags.u32nd":case"rests.whole":case"scripts.dfermata":return 1;case"flags.u64th":return 3;case"f":case"m":case"p":case"s":case"z":return-4}},setSymbol:function(e,t){glyphs$8[e]=t}},glyphs_1=Glyphs,AbsoluteElement$4=absoluteElement,glyphs$7=glyphs_1,RelativeElement$8=relativeElement,createClef$1=function(e,t){var r,n=0;e.el_type="clef";var o=new AbsoluteElement$4(e,0,10,"staff-extra clef",t);switch(o.isClef=!0,e.type){case"treble":r="clefs.G";break;case"tenor":case"alto":r="clefs.C";break;case"bass":r="clefs.F";break;case"treble+8":r="clefs.G",n=1;break;case"tenor+8":case"alto+8":r="clefs.C",n=1;break;case"bass+8":r="clefs.F",n=1;break;case"treble-8":r="clefs.G",n=-1;break;case"tenor-8":case"alto-8":r="clefs.C",n=-1;break;case"bass-8":r="clefs.F",n=-1;break;case"none":return null;case"perc":r="clefs.perc";break;default:o.addFixed(new RelativeElement$8("clef="+e.type,0,0,void 0,{type:"debug"}))}if(r){var a=glyphs$7.symbolHeightInPitches(r),i=clefOffsets(r);if(o.addRight(new RelativeElement$8(r,5,glyphs$7.getSymbolWidth(r),e.clefPos,{top:a+e.clefPos+i,bottom:e.clefPos+i})),0!==n){var s=2/3,l=(glyphs$7.getSymbolWidth(r)-glyphs$7.getSymbolWidth("8")*s)/2,c=n>0?o.top+3:o.bottom-1,u=n>0?o.top+3:o.bottom-3,d=u-2;"bass-8"===e.type&&(c=3,l=0),o.addRight(new RelativeElement$8("8",5+l,glyphs$7.getSymbolWidth("8")*s,c,{scalex:s,scaley:s,top:u,bottom:d}))}}return o};function clefOffsets(e){switch(e){case"clefs.G":return-5;case"clefs.C":case"clefs.F":return-4;case"clefs.perc":return-2;default:return 0}}var createClef_1=createClef$1,AbsoluteElement$3=absoluteElement,glyphs$6=glyphs_1,RelativeElement$7=relativeElement,createKeySignature$1=function(e,t){if(e.el_type="keySignature",!e.accidentals||0===e.accidentals.length)return null;var r=new AbsoluteElement$3(e,0,10,"staff-extra key-signature",t);r.isKeySig=!0;var n=0;return e.accidentals.forEach((function(e){var t,o=0;switch(e.acc){case"sharp":t="accidentals.sharp",o=-3;break;case"natural":t="accidentals.nat";break;case"flat":t="accidentals.flat",o=-1.2;break;case"quartersharp":t="accidentals.halfsharp",o=-2.5;break;case"quarterflat":t="accidentals.halfflat",o=-1.2;break;default:t="accidentals.flat"}r.addRight(new RelativeElement$7(t,n,glyphs$6.getSymbolWidth(t),e.verticalPos,{thickness:glyphs$6.symbolHeightInPitches(t),top:e.verticalPos+glyphs$6.symbolHeightInPitches(t)+o,bottom:e.verticalPos+o})),n+=glyphs$6.getSymbolWidth(t)+2}),this),r},createKeySignature_1=createKeySignature$1,glyphs$5=glyphs_1,RelativeElement$6=relativeElement,createNoteHead$1=function(e,t,r,n){n||(n={});var o,a=void 0!==n.dir?n.dir:null,i=void 0!==n.headx?n.headx:0,s=void 0!==n.extrax?n.extrax:0,l=void 0!==n.flag?n.flag:null,c=void 0!==n.dot?n.dot:0,u=void 0!==n.dotshiftx?n.dotshiftx:0,d=void 0!==n.scale?n.scale:1,p=void 0!==n.accidentalSlot?n.accidentalSlot:[],f=void 0!==n.shouldExtendStem&&n.shouldExtendStem,h=void 0===n.printAccidentals||n.printAccidentals,v=r.verticalPos,g=0,m=0,b=0;if(void 0===t)e.addFixed(new RelativeElement$6("pitch is undefined",0,0,0,{type:"debug"}));else if(""===t)o=new RelativeElement$6(null,0,0,v);else{var A=i;if(r.printer_shift){var y="same"===r.printer_shift?1:0;A="down"===a?-glyphs$5.getSymbolWidth(t)*d+y:glyphs$5.getSymbolWidth(t)*d-y}var x={scalex:d,scaley:d,thickness:glyphs$5.symbolHeightInPitches(t)*d,name:r.name};if((o=new RelativeElement$6(t,A,glyphs$5.getSymbolWidth(t)*d,v,x)).stemDir=a,l){var w=v+("down"===a?-7:7)*d;f&&("down"===a&&w>6&&(w=6),"up"===a&&w<6&&(w=6));var C="down"===a?i:i+o.w-.6;e.addRight(new RelativeElement$6(l,C,glyphs$5.getSymbolWidth(l)*d,w,{scalex:d,scaley:d}))}for(m=o.w+u-2+5*c;c>0;c--){var k=1-Math.abs(v)%2;e.addRight(new RelativeElement$6("dots.dot",o.w+u-2+5*c,glyphs$5.getSymbolWidth("dots.dot"),v+k))}}if(o&&(o.highestVert=r.highestVert),h&&r.accidental){var _;switch(r.accidental){case"quartersharp":_="accidentals.halfsharp";break;case"dblsharp":_="accidentals.dblsharp";break;case"sharp":_="accidentals.sharp";break;case"quarterflat":_="accidentals.halfflat";break;case"flat":_="accidentals.flat";break;case"dblflat":_="accidentals.dblflat";break;case"natural":_="accidentals.nat"}for(var S=!1,B=s,E=0;E<p.length;E++)if(v-p[E][0]>=6){p[E][0]=v,B=p[E][1],S=!0;break}!1===S&&(B-=glyphs$5.getSymbolWidth(_)*d+2,p.push([v,B]),g=glyphs$5.getSymbolWidth(_)*d+2);var T=glyphs$5.symbolHeightInPitches(_);e.addExtra(new RelativeElement$6(_,B,glyphs$5.getSymbolWidth(_),v,{scalex:d,scaley:d,top:v+T/2,bottom:v-T/2})),b=glyphs$5.getSymbolWidth(_)/2}return{notehead:o,accidentalshiftx:g,dotshiftx:m,extraLeft:b}},createNoteHead_1=createNoteHead$1,AbsoluteElement$2=absoluteElement,glyphs$4=glyphs_1,RelativeElement$5=relativeElement,createTimeSignature$1=function(e,t){e.el_type="timeSignature";var r=new AbsoluteElement$2(e,0,10,"staff-extra time-signature",t);if("specified"===e.type)for(var n=0,o=0;o<e.value.length;o++)if(0!==o&&(r.addRight(new RelativeElement$5("+",n+1,glyphs$4.getSymbolWidth("+"),6,{thickness:glyphs$4.symbolHeightInPitches("+")})),n+=glyphs$4.getSymbolWidth("+")+2),e.value[o].den){for(var a=0,i=0;i<e.value[o].num.length;i++)a+=glyphs$4.getSymbolWidth(e.value[o].num[i]);var s=0;for(i=0;i<e.value[o].num.length;i++)s+=glyphs$4.getSymbolWidth(e.value[o].den[i]);var l=Math.max(a,s);r.addRight(new RelativeElement$5(e.value[o].num,n+(l-a)/2,a,8,{thickness:glyphs$4.symbolHeightInPitches(e.value[o].num[0])})),r.addRight(new RelativeElement$5(e.value[o].den,n+(l-s)/2,s,4,{thickness:glyphs$4.symbolHeightInPitches(e.value[o].den[0])})),n+=l}else{for(var c=0,u=0;u<e.value[o].num.length;u++)c+=glyphs$4.getSymbolWidth(e.value[o].num[u]);r.addRight(new RelativeElement$5(e.value[o].num,n,c,6,{thickness:glyphs$4.symbolHeightInPitches(e.value[o].num[0])})),n+=c}else"common_time"===e.type?r.addRight(new RelativeElement$5("timesig.common",0,glyphs$4.getSymbolWidth("timesig.common"),6,{thickness:glyphs$4.symbolHeightInPitches("timesig.common")})):"cut_time"===e.type?r.addRight(new RelativeElement$5("timesig.cut",0,glyphs$4.getSymbolWidth("timesig.cut"),6,{thickness:glyphs$4.symbolHeightInPitches("timesig.cut")})):"tempus_imperfectum"===e.type?r.addRight(new RelativeElement$5("timesig.imperfectum",0,glyphs$4.getSymbolWidth("timesig.imperfectum"),6,{thickness:glyphs$4.symbolHeightInPitches("timesig.imperfectum")})):"tempus_imperfectum_prolatio"===e.type?r.addRight(new RelativeElement$5("timesig.imperfectum2",0,glyphs$4.getSymbolWidth("timesig.imperfectum2"),6,{thickness:glyphs$4.symbolHeightInPitches("timesig.imperfectum2")})):"tempus_perfectum"===e.type?r.addRight(new RelativeElement$5("timesig.perfectum",0,glyphs$4.getSymbolWidth("timesig.perfectum"),6,{thickness:glyphs$4.symbolHeightInPitches("timesig.perfectum")})):"tempus_perfectum_prolatio"===e.type?r.addRight(new RelativeElement$5("timesig.perfectum2",0,glyphs$4.getSymbolWidth("timesig.perfectum2"),6,{thickness:glyphs$4.symbolHeightInPitches("timesig.perfectum2")})):console.log("time signature:",e);return r},createTimeSignature_1=createTimeSignature$1,DynamicDecoration$1=function(e,t,r){this.type="DynamicDecoration",this.anchor=e,this.dec=t,"below"===r?this.volumeHeightBelow=6:this.volumeHeightAbove=6,this.pitch=void 0},dynamicDecoration=DynamicDecoration$1,CrescendoElem$1=function(e,t,r,n){this.type="CrescendoElem",this.anchor1=e,this.anchor2=t,this.dir=r,"above"===n?this.dynamicHeightAbove=6:this.dynamicHeightBelow=6,this.pitch=void 0},crescendoElement=CrescendoElem$1,GlissandoElem$1=function(e,t){this.type="GlissandoElem",this.anchor1=e,this.anchor2=t},glissandoElement=GlissandoElem$1,TieElem$2=function(e){this.type="TieElem",this.anchor1=e.anchor1,this.anchor2=e.anchor2,e.isGrace&&(this.isGrace=!0),e.fixedY&&(this.fixedY=!0),e.stemDir&&(this.stemDir=e.stemDir),void 0!==e.voiceNumber&&(this.voiceNumber=e.voiceNumber),void 0!==e.style&&(this.dotted=!0),this.internalNotes=[]};TieElem$2.prototype.addInternalNote=function(e){this.internalNotes.push(e)},TieElem$2.prototype.setEndAnchor=function(e){this.anchor2=e,this.anchor1?(this.top=Math.max(this.anchor1.pitch,this.anchor2.pitch)+4,this.bottom=Math.min(this.anchor1.pitch,this.anchor2.pitch)-4):(this.top=this.anchor2.pitch+4,this.bottom=this.anchor2.pitch-4)},TieElem$2.prototype.setStartX=function(e){this.startLimitX=e},TieElem$2.prototype.setEndX=function(e){this.endLimitX=e},TieElem$2.prototype.setHint=function(){this.hint=!0},TieElem$2.prototype.calcTieDirection=function(){if(this.isGrace)this.above=!1;else if(0===this.voiceNumber)this.above=!0;else if(this.voiceNumber>0)this.above=!1;else{var e;e=this.anchor1?this.anchor1.pitch:this.anchor2?this.anchor2.pitch:14,this.anchor1&&"down"===this.anchor1.stemDir&&this.anchor2&&"down"===this.anchor2.stemDir?this.above=!0:this.anchor1&&"up"===this.anchor1.stemDir&&this.anchor2&&"up"===this.anchor2.stemDir?this.above=!1:this.anchor1&&this.anchor2?this.above=e>=6:this.anchor1?this.above="down"===this.anchor1.stemDir:this.anchor2?this.above="down"===this.anchor2.stemDir:this.above=e>=6}},TieElem$2.prototype.calcSlurDirection=function(){if(this.isGrace)this.above=!1;else if(0===this.voiceNumber)this.above=!0;else if(this.voiceNumber>0)this.above=!1;else{var e=!1;this.anchor1&&"down"===this.anchor1.stemDir&&(e=!0),this.anchor2&&"down"===this.anchor2.stemDir&&(e=!0);for(var t=0;t<this.internalNotes.length;t++){"down"===this.internalNotes[t].stemDir&&(e=!0)}this.above=e}},TieElem$2.prototype.calcX=function(e,t){this.anchor1?(this.startX=this.anchor1.x,this.anchor1.scalex<1&&(this.startX-=3)):this.startLimitX?this.startX=this.startLimitX.x+this.startLimitX.w:this.anchor2?this.startX=this.anchor2.x-20:this.startX=e,!this.anchor1&&this.dotted&&(this.startX-=3),this.anchor2?this.endX=this.anchor2.x:this.endLimitX?this.endX=this.endLimitX.x:this.endX=t},TieElem$2.prototype.calcTieY=function(){this.anchor1?this.startY=this.anchor1.pitch:this.anchor2?this.startY=this.anchor2.pitch:this.startY=this.above?14:0,this.anchor2?this.endY=this.anchor2.pitch:this.anchor1?this.endY=this.anchor1.pitch:this.endY=this.above?14:0},TieElem$2.prototype.calcSlurY=function(){if(this.anchor1&&this.anchor2){this.above&&"up"===this.anchor1.stemDir&&!this.fixedY?(this.startY=(this.anchor1.highestVert+this.anchor1.pitch)/2,this.startX+=this.anchor1.w/2):this.startY=this.anchor1.pitch;var e=this.anchor2.parent.beam&&this.anchor2.parent.beam.stemsUp&&this.anchor2.parent.beam.elems[0]!==this.anchor2.parent,t=(this.anchor2.highestVert+this.anchor2.pitch)/2;this.above&&"up"===this.anchor2.stemDir&&!this.fixedY&&!e&&t<this.startY?(this.endY=t,this.endX+=Math.round(this.anchor2.w/2)):this.endY=this.above&&e?this.anchor2.highestVert:this.anchor2.pitch}else this.anchor1?this.startY=this.endY=this.anchor1.pitch:this.anchor2?this.startY=this.endY=this.anchor2.pitch:(this.startY=this.above?14:0,this.endY=this.above?14:0)},TieElem$2.prototype.avoidCollisionAbove=function(){if(this.above){for(var e=-50,t=0;t<this.internalNotes.length;t++)this.internalNotes[t].highestVert>e&&(e=this.internalNotes[t].highestVert);e>this.startY&&e>this.endY&&(this.startY=this.endY=e-1)}};var tieElement=TieElem$2,DynamicDecoration=dynamicDecoration,CrescendoElem=crescendoElement,GlissandoElem=glissandoElement,glyphs$3=glyphs_1,RelativeElement$4=relativeElement,TieElem$1=tieElement,Decoration$1=function(){this.startDiminuendoX=void 0,this.startCrescendoX=void 0,this.minTop=12,this.minBottom=0},closeDecoration=function(e,t,r,n,o,a,i,s){for(var l,c=0;c<t.length;c++){if("staccato"===t[c]||"tenuto"===t[c]||"accent"===t[c]){var u="scripts."+t[c];if("accent"===t[c]&&(u="scripts.sforzato"),l=void 0===l?"down"===i?r+2:s-2:"down"===i?l+2:l-2,"accent"===t[c])"up"===i?l--:l++;else switch(l){case 2:case 4:case 6:case 8:case 10:"up"===i?l--:l++}r>9&&l++;var d=n/2;"center"!==glyphs$3.getSymbolAlign(u)&&(d-=glyphs$3.getSymbolWidth(u)/2),o.addFixedX(new RelativeElement$4(u,d,glyphs$3.getSymbolWidth(u),l))}if("slide"===t[c]&&o.heads[0]){var p=o.heads[0].pitch,f=new RelativeElement$4("",-a-15,0,(p-=2)-1),h=new RelativeElement$4("",-a-5,0,p+1);o.addFixedX(f),o.addFixedX(h),e.addOther(new TieElem$1({anchor1:f,anchor2:h,fixedY:!0}))}}return void 0===l&&(l=r),{above:l,below:o.bottom}},volumeDecoration=function(e,t,r,n){for(var o=0;o<t.length;o++)switch(t[o]){case"p":case"mp":case"pp":case"ppp":case"pppp":case"f":case"ff":case"fff":case"ffff":case"sfz":case"mf":var a=new DynamicDecoration(r,t[o],n);e.addOther(a)}},compoundDecoration=function(e,t,r,n,o){function a(e,t){var a="down"===o?function(){if(0===n.heads.length)return 2;for(var e=n.heads[0].pitch,t=1;t<n.heads.length;t++)e=Math.min(e,n.heads[t].pitch);return e}()+1:function(){if(0===n.heads.length)return 10;for(var e=n.heads[0].pitch,t=1;t<n.heads.length;t++)e=Math.max(e,n.heads[t].pitch);return e}()+9;"down"!==o&&1===t&&a--;var i=r/2;i+="down"===o?-5:3;for(var s=0;s<t;s++)a-=1,n.addFixedX(new RelativeElement$4(e,i,glyphs$3.getSymbolWidth(e),a))}for(var i=0;i<e.length;i++)switch(e[i]){case"/":a("flags.ugrace",1);break;case"//":a("flags.ugrace",2);break;case"///":a("flags.ugrace",3);break;case"////":a("flags.ugrace",4)}},stackedDecoration=function(e,t,r,n,o,a,i){function s(e,t){"above"===e?n.above+=t:n.below-=t}function l(e){var t;return"above"===e?(t=n.above)<a&&(t=a):(t=n.below)>i&&(t=i),t}function c(e,n,o){var a=l(n);r.addFixedX(new RelativeElement$4(e,t/2,0,a+2,{type:"decoration",klass:"ornament",thickness:3,anchor:o})),s(n,5)}function u(e,n){var o=t/2;"center"!==glyphs$3.getSymbolAlign(e)&&(o-=glyphs$3.getSymbolWidth(e)/2);var a=glyphs$3.symbolHeightInPitches(e)+1,i=l(n);i="above"===n?i+a/2:i-a/2,r.addFixedX(new RelativeElement$4(e,o,glyphs$3.getSymbolWidth(e),i,{klass:"ornament",thickness:glyphs$3.symbolHeightInPitches(e)})),s(n,a)}for(var d={"+":"scripts.stopped",open:"scripts.open",snap:"scripts.snap",wedge:"scripts.wedge",thumb:"scripts.thumb",shortphrase:"scripts.shortphrase",mediumphrase:"scripts.mediumphrase",longphrase:"scripts.longphrase",trill:"scripts.trill",roll:"scripts.roll",irishroll:"scripts.roll",marcato:"scripts.umarcato",dmarcato:"scripts.dmarcato",umarcato:"scripts.umarcato",turn:"scripts.turn",uppermordent:"scripts.prall",pralltriller:"scripts.prall",mordent:"scripts.mordent",lowermordent:"scripts.mordent",downbow:"scripts.downbow",upbow:"scripts.upbow",fermata:"scripts.ufermata",invertedfermata:"scripts.dfermata",breath:",",coda:"scripts.coda",segno:"scripts.segno"},p=!1,f=0;f<e.length;f++)switch(e[f]){case"0":case"1":case"2":case"3":case"4":case"5":case"D.C.":case"D.S.":c(e[f],o,"middle"),p=!0;break;case"D.C.alcoda":c("D.C. al coda",o,"end"),p=!0;break;case"D.C.alfine":c("D.C. al fine",o,"end"),p=!0;break;case"D.S.alcoda":c("D.S. al coda",o,"end"),p=!0;break;case"D.S.alfine":c("D.S. al fine",o,"end"),p=!0;break;case"fine":c("FINE",o,"middle"),p=!0;break;case"+":case"open":case"snap":case"wedge":case"thumb":case"shortphrase":case"mediumphrase":case"longphrase":case"trill":case"roll":case"irishroll":case"marcato":case"dmarcato":case"turn":case"uppermordent":case"pralltriller":case"mordent":case"lowermordent":case"downbow":case"upbow":case"fermata":case"breath":case"umarcato":case"coda":case"segno":u(d[e[f]],o),p=!0;break;case"invertedfermata":u(d[e[f]],"below"),p=!0;break;case"mark":r.klass="mark"}return p};function leftDecoration(e,t,r){for(var n=0;n<e.length;n++)if("arpeggio"===e[n])for(var o=t.abcelem.minpitch-1;o<=t.abcelem.maxpitch;o+=2)t.addExtra(new RelativeElement$4("scripts.arpeggio",2*-glyphs$3.getSymbolWidth("scripts.arpeggio")-r,0,o+2,{klass:"ornament",thickness:glyphs$3.symbolHeightInPitches("scripts.arpeggio")}))}Decoration$1.prototype.dynamicDecoration=function(e,t,r,n){for(var o,a,i,s=0;s<t.length;s++)switch(t[s]){case"diminuendo(":this.startDiminuendoX=r,o=void 0;break;case"diminuendo)":o={start:this.startDiminuendoX,stop:r},this.startDiminuendoX=void 0;break;case"crescendo(":this.startCrescendoX=r,a=void 0;break;case"crescendo)":a={start:this.startCrescendoX,stop:r},this.startCrescendoX=void 0;break;case"glissando(":this.startGlissandoX=r,i=void 0;break;case"glissando)":i={start:this.startGlissandoX,stop:r},this.startGlissandoX=void 0}o&&e.addOther(new CrescendoElem(o.start,o.stop,">",n)),a&&e.addOther(new CrescendoElem(a.start,a.stop,"<",n)),i&&e.addOther(new GlissandoElem(i.start,i.stop))},Decoration$1.prototype.createDecoration=function(e,t,r,n,o,a,i,s,l,c){l||(l={ornamentPosition:"above",volumePosition:c?"above":"below",dynamicPosition:c?"above":"below"}),volumeDecoration(e,t,o,l.volumePosition),this.dynamicDecoration(e,t,o,l.dynamicPosition),compoundDecoration(t,r,n,o,i);var u=closeDecoration(e,t,r,n,o,a,i,s);u.above=Math.max(u.above,this.minTop),stackedDecoration(t,n,o,u,l.ornamentPosition,this.minTop,this.minBottom),leftDecoration(t,o,a)};var decoration=Decoration$1,EndingElem$1=function(e,t,r){this.type="EndingElem",this.text=e,this.anchor1=t,this.anchor2=r,this.endingHeightAbove=5,this.pitch=void 0},endingElement=EndingElem$1,calcHeight$1=function(e){for(var t=0,r=0;r<e.voices.length;r++){var n=e.voices[r].staff;e.voices[r].duplicate||(t+=n.top,t+=-n.bottom)}return t},calcHeight_1=calcHeight$1,calcHeight=calcHeight_1,StaffGroupElement$1=function(e){this.getTextSize=e,this.voices=[],this.staffs=[],this.brace=void 0,this.bracket=void 0};StaffGroupElement$1.prototype.setLimit=function(e,t){t.specialY[e]&&(t.staff.specialY[e]?t.staff.specialY[e]=Math.max(t.staff.specialY[e],t.specialY[e]):t.staff.specialY[e]=t.specialY[e])},StaffGroupElement$1.prototype.addVoice=function(e,t,r){var n=this.voices.length;this.voices[n]=e,this.staffs[t]?this.staffs[t].voices.push(n):this.staffs[this.staffs.length]={top:10,bottom:2,lines:r,voices:[n],specialY:{tempoHeightAbove:0,partHeightAbove:0,volumeHeightAbove:0,dynamicHeightAbove:0,endingHeightAbove:0,chordHeightAbove:0,lyricHeightAbove:0,lyricHeightBelow:0,chordHeightBelow:0,volumeHeightBelow:0,dynamicHeightBelow:0}},e.staff=this.staffs[t]},StaffGroupElement$1.prototype.setHeight=function(){this.height=calcHeight(this)},StaffGroupElement$1.prototype.setWidth=function(e){this.w=e;for(var t=0;t<this.voices.length;t++)this.voices[t].setWidth(e)},StaffGroupElement$1.prototype.setStaffLimits=function(e){e.staff.top=Math.max(e.staff.top,e.top),e.staff.bottom=Math.min(e.staff.bottom,e.bottom),this.setLimit("tempoHeightAbove",e),this.setLimit("partHeightAbove",e),this.setLimit("volumeHeightAbove",e),this.setLimit("dynamicHeightAbove",e),this.setLimit("endingHeightAbove",e),this.setLimit("chordHeightAbove",e),this.setLimit("lyricHeightAbove",e),this.setLimit("lyricHeightBelow",e),this.setLimit("chordHeightBelow",e),this.setLimit("volumeHeightBelow",e),this.setLimit("dynamicHeightBelow",e)};var staffGroupElement=StaffGroupElement$1,AbsoluteElement$1=absoluteElement,RelativeElement$3=relativeElement,TempoElement$1=function(e,t,r){this.type="TempoElement",this.tempo=e,this.tempo.type="tempo",this.tuneNumber=t,this.totalHeightInPitches=6,this.tempoHeightAbove=this.totalHeightInPitches,this.pitch=void 0,this.tempo.duration&&!this.tempo.suppressBpm&&(this.note=this.createNote(r,e,t))};TempoElement$1.prototype.setX=function(e){this.x=e},TempoElement$1.prototype.createNote=function(e,t,r){var n,o,a,i=.75,s=t.duration[0],l=new AbsoluteElement$1(t,s,1,"tempo",r);s<=1/32?(a="noteheads.quarter",o="flags.u32nd",n=0):s<=1/16?(a="noteheads.quarter",o="flags.u16th",n=0):s<=3/32?(a="noteheads.quarter",o="flags.u16nd",n=1):s<=1/8?(a="noteheads.quarter",o="flags.u8th",n=0):s<=3/16?(a="noteheads.quarter",o="flags.u8th",n=1):s<=1/4?(a="noteheads.quarter",n=0):s<=3/8?(a="noteheads.quarter",n=1):s<=.5?(a="noteheads.half",n=0):s<=3/4?(a="noteheads.half",n=1):s<=1?(a="noteheads.whole",n=0):s<=1.5?(a="noteheads.whole",n=1):s<=2?(a="noteheads.dbl",n=0):(a="noteheads.dbl",n=1);var c,u=e(l,a,{verticalPos:0},{dir:"up",flag:o,dot:n,scale:i}).notehead;if(l.addHead(u),"noteheads.whole"!==a&&"noteheads.dbl"!==a){var d=u.dx+u.w;c=new RelativeElement$3(null,d,0,.25,{type:"stem",pitch2:3.75,linewidth:-.6}),l.addRight(c)}return l};var tempoElement=TempoElement$1,TripletElem$1=function(e,t,r){this.type="TripletElem",this.anchor1=t,this.number=e,this.durationClass=("d"+Math.round(1e3*t.parent.durationClass)/1e3).replace(/\./,"-"),this.middleElems=[],this.flatBeams=r.flatBeams};TripletElem$1.prototype.isClosed=function(){return!!this.anchor2},TripletElem$1.prototype.middleNote=function(e){this.middleElems.push(e)},TripletElem$1.prototype.setCloseAnchor=function(e){this.anchor2=e,this.anchor1.parent.beam&&"up"!==this.anchor1.stemDir||(this.endingHeightAbove=4)};var tripletElement=TripletElem$1;function germanNote(e){switch(e){case"B#":return"H#";case"B♯":return"H♯";case"B":return"H";case"Bb":case"B♭":return"B"}return e}function translateChord$1(e,t,r){for(var n=e.split("\n"),o=0;o<n.length;o++){var a=n[o].match(/^([ABCDEFG][♯♭]?)?([^\/]+)?(\/([ABCDEFG][#b♯♭]?))?/);if(a){var i=a[1]||"",s=a[2]||"",l=a[4]||"";r&&(i=germanNote(i),l=germanNote(l));var c=t?"":"",u=l?"/"+l:"";n[o]=[i,s,u].join(c)}}return n.join("\n")}var translateChord_1=translateChord$1,RelativeElement$2=relativeElement,spacing$a=spacing_1,translateChord=translateChord_1,addChord$1=function(e,t,r,n,o,a,i,s){for(var l=0;l<r.chord.length;l++)for(var c=r.chord[l].position,u=r.chord[l].rel_position,d=r.chord[l].name.split("\n"),p=d.length-1;p>=0;p--){var f,h,v,g=d[p],m=0;"left"===c||"right"===c||"below"===c||"above"===c||u?(h="annotationfont",v="annotation"):(h="gchordfont",v="chord",g=translateChord(g,i,s));var b=e.attr(h,v),A=e.calc(g,h,v),y=A.width,x=A.height/spacing$a.STEP;switch(c){case"left":m=-(n+=y+7),f=r.averagepitch,t.addExtra(new RelativeElement$2(g,m,y+4,f,{type:"text",height:x,dim:b,position:"left"}));break;case"right":m=o+=4,f=r.averagepitch,t.addRight(new RelativeElement$2(g,m,y+4,f,{type:"text",height:x,dim:b,position:"right"}));break;case"below":t.addRight(new RelativeElement$2(g,0,0,void 0,{type:"text",position:"below",height:x,dim:b,realWidth:y}));break;case"above":t.addRight(new RelativeElement$2(g,0,0,void 0,{type:"text",position:"above",height:x,dim:b,realWidth:y}));break;default:if(u){var w=u.y+3*spacing$a.STEP;t.addRight(new RelativeElement$2(g,m+u.x,0,r.minpitch+w/spacing$a.STEP,{position:"relative",type:"text",height:x,dim:b}))}else{var C="above";r.positioning&&r.positioning.chordPosition&&(C=r.positioning.chordPosition),"hidden"!==C&&t.addCentered(new RelativeElement$2(g,a/2,y,void 0,{type:"chord",position:C,height:x,dim:b,realWidth:y}))}}}return{roomTaken:n,roomTakenRight:o}},addChord_1=addChord$1,AbsoluteElement=absoluteElement,BeamElem=beamElement,BraceElem=braceElement,createClef=createClef_1,createKeySignature=createKeySignature_1,createNoteHead=createNoteHead_1,createTimeSignature=createTimeSignature_1,Decoration=decoration,EndingElem=endingElement,glyphs$2=glyphs_1,RelativeElement$1=relativeElement,spacing$9=spacing_1,StaffGroupElement=staffGroupElement,TempoElement=tempoElement,TieElem=tieElement,TripletElem=tripletElement,VoiceElement$1=voiceElement,addChord=addChord_1,pitchesToPerc=pitchesToPerc_1,parseCommon$2=abc_common,getDuration=function(e){var t=0;return e.duration&&(t=e.duration),t},hint=!1,chartable={rest:{0:"rests.whole",1:"rests.half",2:"rests.quarter",3:"rests.8th",4:"rests.16th",5:"rests.32nd",6:"rests.64th",7:"rests.128th",multi:"rests.multimeasure"},note:{"-1":"noteheads.dbl",0:"noteheads.whole",1:"noteheads.half",2:"noteheads.quarter",3:"noteheads.quarter",4:"noteheads.quarter",5:"noteheads.quarter",6:"noteheads.quarter",7:"noteheads.quarter",nostem:"noteheads.quarter"},rhythm:{"-1":"noteheads.slash.whole",0:"noteheads.slash.whole",1:"noteheads.slash.whole",2:"noteheads.slash.quarter",3:"noteheads.slash.quarter",4:"noteheads.slash.quarter",5:"noteheads.slash.quarter",6:"noteheads.slash.quarter",7:"noteheads.slash.quarter",nostem:"noteheads.slash.nostem"},x:{"-1":"noteheads.indeterminate",0:"noteheads.indeterminate",1:"noteheads.indeterminate",2:"noteheads.indeterminate",3:"noteheads.indeterminate",4:"noteheads.indeterminate",5:"noteheads.indeterminate",6:"noteheads.indeterminate",7:"noteheads.indeterminate",nostem:"noteheads.indeterminate"},harmonic:{"-1":"noteheads.harmonic.quarter",0:"noteheads.harmonic.quarter",1:"noteheads.harmonic.quarter",2:"noteheads.harmonic.quarter",3:"noteheads.harmonic.quarter",4:"noteheads.harmonic.quarter",5:"noteheads.harmonic.quarter",6:"noteheads.harmonic.quarter",7:"noteheads.harmonic.quarter",nostem:"noteheads.harmonic.quarter"},triangle:{"-1":"noteheads.triangle.quarter",0:"noteheads.triangle.quarter",1:"noteheads.triangle.quarter",2:"noteheads.triangle.quarter",3:"noteheads.triangle.quarter",4:"noteheads.triangle.quarter",5:"noteheads.triangle.quarter",6:"noteheads.triangle.quarter",7:"noteheads.triangle.quarter",nostem:"noteheads.triangle.quarter"},uflags:{3:"flags.u8th",4:"flags.u16th",5:"flags.u32nd",6:"flags.u64th"},dflags:{3:"flags.d8th",4:"flags.d16th",5:"flags.d32nd",6:"flags.d64th"}},AbstractEngraver$1=function(e,t,r){this.decoration=new Decoration,this.getTextSize=e,this.tuneNumber=t,this.isBagpipes=r.bagpipes,this.flatBeams=r.flatbeams,this.graceSlurs=r.graceSlurs,this.percmap=r.percmap,this.initialClef=r.initialClef,this.jazzchords=!!r.jazzchords,this.germanAlphabet=!!r.germanAlphabet,this.reset()};function getBeamGroup(e,t){var r=e[t];if("note"!==r.el_type||!r.startBeam||r.endBeam)return{count:1,elem:r};for(var n=[];t<e.length&&"note"===e[t].el_type&&(n.push(e[t]),!e[t].endBeam);)t++;return{count:n.length,elem:n}}function setAveragePitch(e){if(e.pitches){sortPitch(e);for(var t=0,r=0;r<e.pitches.length;r++)t+=e.pitches[r].verticalPos;e.averagepitch=t/e.pitches.length,e.minpitch=e.pitches[0].verticalPos,e.maxpitch=e.pitches[e.pitches.length-1].verticalPos}}AbstractEngraver$1.prototype.reset=function(){this.slurs={},this.ties=[],this.voiceScale=1,this.voiceColor=void 0,this.slursbyvoice={},this.tiesbyvoice={},this.endingsbyvoice={},this.scaleByVoice={},this.colorByVoice={},this.tripletmultiplier=1,this.abcline=void 0,this.accidentalSlot=void 0,this.accidentalshiftx=void 0,this.dotshiftx=void 0,this.hasVocals=!1,this.minY=void 0,this.partstartelem=void 0,this.startlimitelem=void 0,this.stemdir=void 0},AbstractEngraver$1.prototype.setStemHeight=function(e){this.stemHeight=Math.round(10*e/spacing$9.STEP)/10},AbstractEngraver$1.prototype.getCurrentVoiceId=function(e,t){return"s"+e+"v"+t},AbstractEngraver$1.prototype.pushCrossLineElems=function(e,t){this.slursbyvoice[this.getCurrentVoiceId(e,t)]=this.slurs,this.tiesbyvoice[this.getCurrentVoiceId(e,t)]=this.ties,this.endingsbyvoice[this.getCurrentVoiceId(e,t)]=this.partstartelem,this.scaleByVoice[this.getCurrentVoiceId(e,t)]=this.voiceScale,this.voiceColor&&(this.colorByVoice[this.getCurrentVoiceId(e,t)]=this.voiceColor)},AbstractEngraver$1.prototype.popCrossLineElems=function(e,t){this.slurs=this.slursbyvoice[this.getCurrentVoiceId(e,t)]||{},this.ties=this.tiesbyvoice[this.getCurrentVoiceId(e,t)]||[],this.partstartelem=this.endingsbyvoice[this.getCurrentVoiceId(e,t)],this.voiceScale=this.scaleByVoice[this.getCurrentVoiceId(e,t)],void 0===this.voiceScale&&(this.voiceScale=1),this.voiceColor=this.colorByVoice[this.getCurrentVoiceId(e,t)]},AbstractEngraver$1.prototype.containsLyrics=function(e){for(var t=0;t<e.length;t++)for(var r=0;r<e[t].voices.length;r++)for(var n=0;n<e[t].voices[r].length;n++){var o=e[t].voices[r][n];if(o.lyric)return void(o.positioning&&"below"!==o.positioning.vocalPosition||(this.hasVocals=!0))}},AbstractEngraver$1.prototype.createABCLine=function(e,t,r){this.minY=2,this.containsLyrics(e);var n=new StaffGroupElement(this.getTextSize);this.tempoSet=!1;for(var o=0;o<e.length;o++)hint&&this.restoreState(),hint=!1,this.createABCStaff(n,e[o],t,o,r);return n},AbstractEngraver$1.prototype.createABCStaff=function(e,t,r,n,o){e.getTextSize.updateFonts(t);for(var a=0;a<t.voices.length;a++){var i=new VoiceElement$1(a,t.voices.length);0===a?(i.barfrom="start"===t.connectBarLines||"continue"===t.connectBarLines,i.barto="continue"===t.connectBarLines||"end"===t.connectBarLines):i.duplicate=!0,t.title&&t.title[a]&&(i.header=t.title[a].replace(/\\n/g,"\n"),i.headerPosition=6+e.getTextSize.baselineToCenter(i.header,"voicefont","staff-extra voice-name",a,t.voices.length)/spacing$9.STEP),t.clef&&"perc"===t.clef.type&&(i.isPercussion=!0);var s=(!this.initialClef||0===o)&&createClef(t.clef,this.tuneNumber);s&&(0===a&&t.barNumber&&this.addMeasureNumber(t.barNumber,s),i.addChild(s),this.startlimitelem=s);var l=createKeySignature(t.key,this.tuneNumber);if(l&&(i.addChild(l),this.startlimitelem=l),t.meter){"specified"===t.meter.type?this.measureLength=t.meter.value[0].num/t.meter.value[0].den:this.measureLength=1;var c=createTimeSignature(t.meter,this.tuneNumber);i.addChild(c),this.startlimitelem=c}i.duplicate&&(i.children=[]);var u=t.clef.stafflines||0===t.clef.stafflines?t.clef.stafflines:5;e.addVoice(i,n,u);var d=1===u;this.createABCVoice(t.voices[a],r,n,a,d,i),e.setStaffLimits(i),0===a&&("start"===t.brace||!e.brace&&t.brace?(e.brace||(e.brace=[]),e.brace.push(new BraceElem(i,"brace"))):"end"===t.brace&&e.brace?e.brace[e.brace.length-1].setBottomStaff(i):"continue"===t.brace&&e.brace&&e.brace[e.brace.length-1].continuing(i),"start"===t.bracket||!e.bracket&&t.bracket?(e.bracket||(e.bracket=[]),e.bracket.push(new BraceElem(i,"bracket"))):"end"===t.bracket&&e.bracket?e.bracket[e.bracket.length-1].setBottomStaff(i):"continue"===t.bracket&&e.bracket&&e.bracket[e.bracket.length-1].continuing(i))}},AbstractEngraver$1.prototype.createABCVoice=function(e,t,r,n,o,a){this.popCrossLineElems(r,n),this.stemdir=this.isBagpipes?"down":null,this.abcline=e,this.partstartelem&&(this.partstartelem=new EndingElem("",null,null),a.addOther(this.partstartelem));var i=a.voicetotal<2?-1:a.voicenumber;for(var s in this.slurs)this.slurs.hasOwnProperty(s)&&(this.slurs[s]=new TieElem({force:this.slurs[s].force,voiceNumber:i,stemDir:this.slurs[s].stemDir,style:this.slurs[s].dotted}),hint&&this.slurs[s].setHint(),a.addOther(this.slurs[s]));for(var l=0;l<this.ties.length;l++)this.ties[l]=new TieElem({force:this.ties[l].force,stemDir:this.ties[l].stemDir,voiceNumber:i,style:this.ties[l].dotted}),hint&&this.ties[l].setHint(),a.addOther(this.ties[l]);for(var c=0;c<this.abcline.length;c++)setAveragePitch(this.abcline[c]),this.minY=Math.min(this.abcline[c].minpitch,this.minY);for(var u=0===r,d=0;d<this.abcline.length;){var p=getBeamGroup(this.abcline,d),f=this.createABCElement(u,o,a,p.elem);if(f)for(l=0;l<f.length;l++){if(!this.tempoSet&&t&&!t.suppress){this.tempoSet=!0;var h=new AbsoluteElement(t,0,0,"tempo",this.tuneNumber,{});h.addFixedX(new TempoElement(t,this.tuneNumber,createNoteHead)),a.addChild(h)}a.addChild(f[l])}d+=p.count}this.pushCrossLineElems(r,n)},AbstractEngraver$1.prototype.saveState=function(){this.tiesSave=parseCommon$2.cloneArray(this.ties),this.slursSave=parseCommon$2.cloneHashOfHash(this.slurs),this.slursbyvoiceSave=parseCommon$2.cloneHashOfHash(this.slursbyvoice),this.tiesbyvoiceSave=parseCommon$2.cloneHashOfArrayOfHash(this.tiesbyvoice)},AbstractEngraver$1.prototype.restoreState=function(){this.ties=parseCommon$2.cloneArray(this.tiesSave),this.slurs=parseCommon$2.cloneHashOfHash(this.slursSave),this.slursbyvoice=parseCommon$2.cloneHashOfHash(this.slursbyvoiceSave),this.tiesbyvoice=parseCommon$2.cloneHashOfArrayOfHash(this.tiesbyvoiceSave)},AbstractEngraver$1.prototype.createABCElement=function(e,t,r,n){var o=[];switch(n.el_type){case void 0:o=this.createBeam(t,r,n);break;case"note":o[0]=this.createNote(n,!1,t,r),this.triplet&&this.triplet.isClosed()&&(r.addOther(this.triplet),this.triplet=null,this.tripletmultiplier=1);break;case"bar":o[0]=this.createBarLine(r,n,e),r.duplicate&&o.length>0&&(o[0].invisible=!0);break;case"meter":o[0]=createTimeSignature(n,this.tuneNumber),this.startlimitelem=o[0],r.duplicate&&o.length>0&&(o[0].invisible=!0);break;case"clef":if(o[0]=createClef(n,this.tuneNumber),!o[0])return null;r.duplicate&&o.length>0&&(o[0].invisible=!0);break;case"key":var a=createKeySignature(n,this.tuneNumber);a&&(o[0]=a,this.startlimitelem=o[0]),r.duplicate&&o.length>0&&(o[0].invisible=!0);break;case"stem":this.stemdir="auto"===n.direction?void 0:n.direction;break;case"part":var i=new AbsoluteElement(n,0,0,"part",this.tuneNumber),s=this.getTextSize.calc(n.title,"partsfont","part");i.addFixedX(new RelativeElement$1(n.title,0,0,void 0,{type:"part",height:s.height/spacing$9.STEP})),o[0]=i;break;case"tempo":var l=new AbsoluteElement(n,0,0,"tempo",this.tuneNumber);l.addFixedX(new TempoElement(n,this.tuneNumber,createNoteHead)),o[0]=l;break;case"style":"normal"===n.head?delete this.style:this.style=n.head;break;case"hint":hint=!0,this.saveState();break;case"midi":break;case"scale":this.voiceScale=n.size;break;case"color":this.voiceColor=n.color,r.color=this.voiceColor;break;default:var c=new AbsoluteElement(n,0,0,"unsupported",this.tuneNumber);c.addFixed(new RelativeElement$1("element type "+n.el_type,0,0,void 0,{type:"debug"})),o[0]=c}return o},AbstractEngraver$1.prototype.createBeam=function(e,t,r){var n=[],o=new BeamElem(this.stemHeight*this.voiceScale,this.stemdir,this.flatBeams,r[0]);hint&&o.setHint();for(var a=0;a<r.length;a++)o.runningDirection(r[a]);o.setStemDirection();var i=this.stemdir;for(this.stemdir=o.stemsUp?"up":"down",a=0;a<r.length;a++){var s=r[a],l=this.createNote(s,!0,e,t);n.push(l),o.add(l),this.triplet&&this.triplet.isClosed()&&(t.addOther(this.triplet),this.triplet=null,this.tripletmultiplier=1)}return o.calcDir(),t.addBeam(o),this.stemdir=i,n};var sortPitch=function(e){var t;do{t=!0;for(var r=0;r<e.pitches.length-1;r++)if(e.pitches[r].pitch>e.pitches[r+1].pitch){t=!1;var n=e.pitches[r];e.pitches[r]=e.pitches[r+1],e.pitches[r+1]=n}}while(!t)},ledgerLines=function(e,t,r,n,o,a,i,s,l){for(var c=r;c>11;c--)c%2!=0||n||e.addFixed(new RelativeElement$1(null,s,(o+4)*l,c,{type:"ledger"}));for(c=t;c<1;c++)c%2!=0||n||e.addFixed(new RelativeElement$1(null,s,(o+4)*l,c,{type:"ledger"}));for(c=0;c<a.length;c++){var u=o;"down"===i&&(u=-u),e.addFixed(new RelativeElement$1(null,u+s,(o+4)*l,a[c],{type:"ledger"}))}};function addRestToAbsElement(e,t,r,n,o,a,i,s,l){var c,u,d,p,f=7;switch(o&&("down"===a&&(f=3),"up"===a&&(f=11)),i&&(f=r<.5||r<1?7:5),t.rest.type){case"whole":c=chartable.rest[0],t.averagepitch=f,t.minpitch=f,t.maxpitch=f,n=0;break;case"rest":c="rhythm"===t.style?chartable.rhythm[-s]:chartable.rest[-s],t.averagepitch=f,t.minpitch=f,t.maxpitch=f;break;case"invisible":case"invisible-multimeasure":case"spacer":c="",t.averagepitch=f,t.minpitch=f,t.maxpitch=f;break;case"multimeasure":c=chartable.rest.multi,t.averagepitch=f,t.minpitch=f,t.maxpitch=f,n=0;var h=glyphs$2.getSymbolWidth(c);e.addHead(new RelativeElement$1(c,h,2*h,7));var v=new RelativeElement$1(""+t.rest.text,h,h,16,{type:"multimeasure-text"});e.addExtra(v)}if(t.rest.type.indexOf("multimeasure")<0&&"invisible"!==t.rest.type){var g=createNoteHead(e,c,{verticalPos:f},{dot:n,scale:l});(u=g.notehead)&&(e.addHead(u),d=g.accidentalshiftx,p=g.dotshiftx)}return{noteHead:u,roomTaken:d,roomTakenRight:p}}function addIfNotExist(e,t){for(var r=0;r<e.length;r++)if(JSON.stringify(e[r])===JSON.stringify(t))return;e.push(t)}AbstractEngraver$1.prototype.addGraceNotes=function(e,t,r,n,o,a,i){var s=.6;o=Math.round(.7*o);var l,c,u=null;e.gracenotes.length>1&&(u=new BeamElem(o,"grace",a),hint&&u.setHint(),u.mainNote=r);var d=[];for(c=e.gracenotes.length-1;c>=0;c--)i+=10,d[c]=i,e.gracenotes[c].accidental&&(i+=7);for(c=0;c<e.gracenotes.length;c++){var p=e.gracenotes[c].verticalPos;l=u?null:chartable.uflags[a?5:3];var f=createNoteHead(r,"noteheads.quarter",e.gracenotes[c],{dir:"up",headx:-d[c],extrax:-d[c],flag:l,scale:s*this.voiceScale,accidentalSlot:[]});f.notehead.highestVert=f.notehead.pitch+o;var h=f.notehead;if(this.addSlursAndTies(r,e.gracenotes[c],h,t,"up",!0),r.addExtra(h),e.gracenotes[c].acciaccatura){var v=e.gracenotes[c].verticalPos+4.2,g=u?5:6;r.addRight(new RelativeElement$1("flags.ugrace",-d[c]+g,0,v,{scalex:s,scaley:s}))}if(u){var m=e.gracenotes[c].duration/2;a&&(m/=2);var b={heads:[h],abcelem:{averagepitch:p,minpitch:p,maxpitch:p,duration:m}};u.add(b)}else{var A=p+1/3*s,y=p+4.2,x=h.dx+h.w;r.addExtra(new RelativeElement$1(null,x,0,A,{type:"stem",pitch2:y,linewidth:-.6}))}ledgerLines(r,p,p,!1,glyphs$2.getSymbolWidth("noteheads.quarter"),[],!0,h.dx-1,.6);var w=e.rest&&("spacer"===e.rest.type||"invisible"===e.rest.type);0!==c||a||!this.graceSlurs||w||t.addOther(new TieElem({anchor1:h,anchor2:n,isGrace:!0}))}return u&&(u.calcDir(),t.addBeam(u)),i},AbstractEngraver$1.prototype.addNoteToAbcElement=function(e,t,r,n,o,a,i,s,l){var c,u,d,p,f,h=0,v=0,g=0,m=[],b=[],A=0,y=t.averagepitch>=6?"down":"up";for(n&&(y=n),(o=t.style?t.style:o)&&"normal"!==o||(o="note"),(p=a?chartable[o].nostem:chartable[o][-i])||console.log("noteSymbol:",o,i,a),f="down"===y?t.pitches.length-2:1;"down"===y?f>=0:f<t.pitches.length;f="down"===y?f-1:f+1){var x=t.pitches["down"===y?f+1:f-1],w=t.pitches[f],C="down"===y?x.pitch-w.pitch:w.pitch-x.pitch;C<=1&&!x.printer_shift&&(w.printer_shift=C?"different":"same",(w.verticalPos>11||w.verticalPos<1)&&m.push(w.verticalPos-w.verticalPos%2),"down"===y?v=glyphs$2.getSymbolWidth(p)+2:h=glyphs$2.getSymbolWidth(p)+2)}var k=t.pitches.length;for(f=0;f<t.pitches.length;f++){var _,S;if(!s)_="down"===y&&0!==f||"up"===y&&f!==k-1?null:chartable["down"===y?"dflags":"uflags"][-i];if(t.pitches[f].style)S=chartable[t.pitches[f].style][-i];else if(l.isPercussion&&this.percmap){S=p;var B=this.percmap[pitchesToPerc(t.pitches[f])];B&&B.noteHead&&chartable[B.noteHead]&&(S=chartable[B.noteHead][-i])}else S=p;if(t.pitches[f].highestVert=t.pitches[f].verticalPos,("up"===n||"up"===y)&&0===f||("down"===n||"down"===y)&&f===k-1){if((t.startSlur||1===k)&&(t.pitches[f].highestVert=t.pitches[k-1].verticalPos,getDuration(t)<1&&("up"===n||"up"===y)&&(t.pitches[f].highestVert+=6)),t.startSlur)for(t.pitches[f].startSlur||(t.pitches[f].startSlur=[]),d=0;d<t.startSlur.length;d++)addIfNotExist(t.pitches[f].startSlur,t.startSlur[d]);if(t.endSlur)for(t.pitches[f].highestVert=t.pitches[k-1].verticalPos,getDuration(t)<1&&("up"===n||"up"===y)&&(t.pitches[f].highestVert+=6),t.pitches[f].endSlur||(t.pitches[f].endSlur=[]),d=0;d<t.endSlur.length;d++)addIfNotExist(t.pitches[f].endSlur,t.endSlur[d])}var E=!s&&i<=-1,T=createNoteHead(e,S,t.pitches[f],{dir:y,extrax:-v,flag:_,dot:r,dotshiftx:h,scale:this.voiceScale,accidentalSlot:b,shouldExtendStem:!n,printAccidentals:!l.isPercussion});A=Math.max(glyphs$2.getSymbolWidth(S),A),e.extraw-=T.extraLeft,(c=T.notehead)&&(this.addSlursAndTies(e,t.pitches[f],c,l,E?y:null,!1),t.gracenotes&&t.gracenotes.length>0&&(c.bottom=c.bottom-1),e.addHead(c)),v+=T.accidentalshiftx,g=Math.max(g,T.dotshiftx)}if(E){var P=Math.round(70*this.voiceScale)/10,I="down"===y?t.minpitch-P:t.minpitch+1/3;I>6&&!n&&(I=6);var N="down"===y?t.maxpitch-1/3:t.maxpitch+P;N<6&&!n&&(N=6);var z="down"===y||0===e.heads.length?0:e.heads[0].w,M="down"===y?1:-1;c&&"noteheads.slash.quarter"===c.c&&("down"===y?N-=1:I+=1),e.addRight(new RelativeElement$1(null,z,0,I,{type:"stem",pitch2:N,linewidth:M,bottom:I-1})),u=Math.min(I,N)}return{noteHead:c,roomTaken:v,roomTakenRight:g,min:u,additionalLedgers:m,dir:y,symbolWidth:A}},AbstractEngraver$1.prototype.addLyric=function(e,t){var r="";t.lyric.forEach((function(e){var t=" "===e.divider?"":e.divider;r+=e.syllable+t+"\n"}));var n=this.getTextSize.calc(r,"vocalfont","lyric"),o=t.positioning?t.positioning.vocalPosition:"below";e.addCentered(new RelativeElement$1(r,0,n.width,void 0,{type:"lyric",position:o,height:n.height/spacing$9.STEP,dim:this.getTextSize.attr("vocalfont","lyric")}))},AbstractEngraver$1.prototype.createNote=function(e,t,r,n){var o,a=null,i=0,s=0,l=0,c=[],u=getDuration(e),d=!1;0===u&&(d=!0,u=.25,t=!0);for(var p=Math.floor(Math.log(u)/Math.log(2)),f=0,h=Math.pow(2,p),v=h/2;h<u;f++,h+=v,v/=2);e.startTriplet&&(this.tripletmultiplier=e.tripletMultiplier);var g=u*this.tripletmultiplier;e.rest&&"multimeasure"===e.rest.type&&(g=1),e.rest&&"invisible-multimeasure"===e.rest.type&&(g=this.measureLength*e.rest.text);var m=e.rest?"rest":"note",b=new AbsoluteElement(e,g,1,m,this.tuneNumber,{durationClassOveride:e.duration*this.tripletmultiplier});if(hint&&b.setHint(),e.rest){this.measureLength===u&&"invisible"!==e.rest.type&&"spacer"!==e.rest.type&&e.rest.type.indexOf("multimeasure")<0&&(e.rest.type="whole");var A=addRestToAbsElement(b,e,u,f,n.voicetotal>1,this.stemdir,r,p,this.voiceScale);a=A.noteHead,i=A.roomTaken,s=A.roomTakenRight}else{var y=this.addNoteToAbcElement(b,e,f,this.stemdir,this.style,d,p,t,n);void 0!==y.min&&(this.minY=Math.min(y.min,this.minY)),a=y.noteHead,i=y.roomTaken,s=y.roomTakenRight,c=y.additionalLedgers,o=y.dir,l=y.symbolWidth}if(void 0!==e.lyric&&this.addLyric(b,e),void 0!==e.gracenotes&&(i+=this.addGraceNotes(e,n,b,a,this.stemHeight*this.voiceScale,this.isBagpipes,i)),e.decoration&&this.decoration.createDecoration(n,e.decoration,b.top,a?a.w:0,b,i,o,b.bottom,e.positioning,this.hasVocals),e.barNumber&&b.addFixed(new RelativeElement$1(e.barNumber,-10,0,0,{type:"barNumber"})),ledgerLines(b,e.minpitch,e.maxpitch,e.rest,l,c,o,-2,1),void 0!==e.chord){var x=addChord(this.getTextSize,b,e,i,s,l,this.jazzchords,this.germanAlphabet);i=x.roomTaken,s=x.roomTakenRight}return e.startTriplet&&(this.triplet=new TripletElem(e.startTriplet,a,{flatBeams:this.flatBeams})),e.endTriplet&&this.triplet&&this.triplet.setCloseAnchor(a),!this.triplet||e.startTriplet||e.endTriplet||e.rest&&"spacer"===e.rest.type||this.triplet.middleNote(a),b},AbstractEngraver$1.prototype.addSlursAndTies=function(e,t,r,n,o,a){if(t.endTie&&this.ties.length>0){for(var i=!1,s=0;s<this.ties.length;s++)if(this.ties[s].anchor1&&this.ties[s].anchor1.pitch===r.pitch){this.ties[s].setEndAnchor(r),n.setRange(this.ties[s]),this.ties.splice(s,1),i=!0;break}i||(this.ties[0].setEndAnchor(r),n.setRange(this.ties[0]),this.ties.splice(0,1))}var l,c,u=n.voicetotal<2?-1:n.voicenumber;if(t.startTie){var d=new TieElem({anchor1:r,force:"down"===this.stemdir||"up"===this.stemdir,stemDir:this.stemdir,isGrace:a,voiceNumber:u,style:t.startTie.style});hint&&d.setHint(),this.ties[this.ties.length]=d,n.addOther(d),e.startTie=!0}if(t.endSlur)for(var p=0;p<t.endSlur.length;p++)c=t.endSlur[p],this.slurs[c]?((l=this.slurs[c]).setEndAnchor(r),n.setRange(l),delete this.slurs[c]):(l=new TieElem({anchor2:r,stemDir:this.stemdir,voiceNumber:u}),hint&&l.setHint(),n.addOther(l)),this.startlimitelem&&l.setStartX(this.startlimitelem);else if(!a)for(var f in this.slurs)this.slurs.hasOwnProperty(f)&&this.slurs[f].addInternalNote(r);if(t.startSlur)for(p=0;p<t.startSlur.length;p++)c=t.startSlur[p].label,l=new TieElem({anchor1:r,stemDir:this.stemdir,voiceNumber:u,style:t.startSlur[p].style}),hint&&l.setHint(),this.slurs[c]=l,n.addOther(l)},AbstractEngraver$1.prototype.addMeasureNumber=function(e,t){var r=this.getTextSize.calc(e,"measurefont","bar-number"),n=0;t.isClef&&(n+=r.width/2);var o=r.width>10&&"treble"===t.abcelem.type?13:11;t.addFixed(new RelativeElement$1(e,n,r.width,o+r.height/spacing$9.STEP,{type:"barNumber",dim:this.getTextSize.attr("measurefont","bar-number")}))},AbstractEngraver$1.prototype.createBarLine=function(e,t,r){var n=new AbsoluteElement(t,0,10,"bar",this.tuneNumber),o=null,a=0;t.barNumber&&this.addMeasureNumber(t.barNumber,n);var i="bar_right_repeat"===t.type||"bar_dbl_repeat"===t.type,s="bar_left_repeat"!==t.type&&"bar_thick_thin"!==t.type&&"bar_invisible"!==t.type,l="bar_right_repeat"===t.type||"bar_dbl_repeat"===t.type||"bar_left_repeat"===t.type||"bar_thin_thick"===t.type||"bar_thick_thin"===t.type,c="bar_left_repeat"===t.type||"bar_thick_thin"===t.type||"bar_thin_thin"===t.type||"bar_dbl_repeat"===t.type,u="bar_left_repeat"===t.type||"bar_dbl_repeat"===t.type;if(i||u){for(var d in this.slurs)this.slurs.hasOwnProperty(d)&&this.slurs[d].setEndX(n);this.startlimitelem=n}if(i&&(n.addRight(new RelativeElement$1("dots.dot",a,1,7)),n.addRight(new RelativeElement$1("dots.dot",a,1,5)),a+=6),s&&(o=new RelativeElement$1(null,a,1,2,{type:"bar",pitch2:10,linewidth:.6}),n.addRight(o)),"bar_invisible"===t.type&&(o=new RelativeElement$1(null,a,1,2,{type:"none",pitch2:10,linewidth:.6}),n.addRight(o)),t.decoration&&this.decoration.createDecoration(e,t.decoration,12,l?3:1,n,0,"down",2,t.positioning,this.hasVocals),l&&(o=new RelativeElement$1(null,a+=4,4,2,{type:"bar",pitch2:10,linewidth:4}),n.addRight(o),a+=5),this.partstartelem&&t.endEnding&&(this.partstartelem.anchor2=o,this.partstartelem=null),c&&(o=new RelativeElement$1(null,a+=3,1,2,{type:"bar",pitch2:10,linewidth:.6}),n.addRight(o)),u&&(a+=3,n.addRight(new RelativeElement$1("dots.dot",a,1,7)),n.addRight(new RelativeElement$1("dots.dot",a,1,5))),t.startEnding&&r){var p=this.getTextSize.calc(t.startEnding,"repeatfont","").width;n.minspacing+=p+10,this.partstartelem=new EndingElem(t.startEnding,o,null),e.addOther(this.partstartelem)}return n.extraw-=5,void 0!==t.chord&&addChord(this.getTextSize,n,t,0,0,0,!1,this.germanAlphabet),n};var abstractEngraver=AbstractEngraver$1,svgNS="http://www.w3.org/2000/svg";function Svg$1(e){this.svg=createSvg(),this.currentGroup=[],e.appendChild(this.svg)}function constructHLine(e,t,r){var n=r-e;return"M "+e+" "+t+" l "+n+" 0 l 0 1 l "+-n+" 0 z "}function constructVLine(e,t,r){var n=r-t;return"M "+e+" "+t+" l 0 "+n+" l 1 0 l 0 "+-n+" z "}Svg$1.prototype.clear=function(){if(this.svg){var e=this.svg.parentNode;this.svg=createSvg(),this.currentGroup=[],e&&(e.innerHTML="",e.appendChild(this.svg))}},Svg$1.prototype.setTitle=function(e){var t=document.createElement("title"),r=document.createTextNode(e);t.appendChild(r),this.svg.insertBefore(t,this.svg.firstChild)},Svg$1.prototype.setResponsiveWidth=function(e,t){if(this.svg.setAttribute("viewBox","0 0 "+e+" "+t),this.svg.setAttribute("preserveAspectRatio","xMinYMin meet"),this.svg.removeAttribute("height"),this.svg.removeAttribute("width"),this.svg.style.display="inline-block",this.svg.style.position="absolute",this.svg.style.top="0",this.svg.style.left="0",this.svg.parentNode){var r=this.svg.parentNode.getAttribute("class");r?r.indexOf("abcjs-container")<0&&this.svg.parentNode.setAttribute("class",r+" abcjs-container"):this.svg.parentNode.setAttribute("class","abcjs-container"),this.svg.parentNode.style.display="inline-block",this.svg.parentNode.style.position="relative",this.svg.parentNode.style.width="100%";var n=t/e*100;this.svg.parentNode.style["padding-bottom"]=n+"%",this.svg.parentNode.style["vertical-align"]="middle",this.svg.parentNode.style.overflow="hidden"}},Svg$1.prototype.setSize=function(e,t){this.svg.setAttribute("width",e),this.svg.setAttribute("height",t)},Svg$1.prototype.setAttribute=function(e,t){this.svg.setAttribute(e,t)},Svg$1.prototype.setScale=function(e){1!==e?(this.svg.style.transform="scale("+e+","+e+")",this.svg.style["-ms-transform"]="scale("+e+","+e+")",this.svg.style["-webkit-transform"]="scale("+e+","+e+")",this.svg.style["transform-origin"]="0 0",this.svg.style["-ms-transform-origin-x"]="0",this.svg.style["-ms-transform-origin-y"]="0",this.svg.style["-webkit-transform-origin-x"]="0",this.svg.style["-webkit-transform-origin-y"]="0"):(this.svg.style.transform="",this.svg.style["-ms-transform"]="",this.svg.style["-webkit-transform"]="")},Svg$1.prototype.insertStyles=function(e){var t=document.createElementNS(svgNS,"style");t.textContent=e,this.svg.insertBefore(t,this.svg.firstChild)},Svg$1.prototype.setParentStyles=function(e){for(var t in e)e.hasOwnProperty(t)&&this.svg.parentNode&&(this.svg.parentNode.style[t]=e[t]);this.dummySvg&&(document.querySelector("body").removeChild(this.dummySvg),this.dummySvg=null)},Svg$1.prototype.rect=function(e){var t=[],r=e.x,n=e.y,o=e.x+e.width,a=e.y+e.height;return t.push(constructHLine(r,n,o)),t.push(constructHLine(r,a,o)),t.push(constructVLine(o,n,a)),t.push(constructVLine(r,a,n)),this.path({path:t.join(" "),stroke:"none","data-name":e["data-name"]})},Svg$1.prototype.dottedLine=function(e){var t=document.createElementNS(svgNS,"line");t.setAttribute("x1",e.x1),t.setAttribute("x2",e.x2),t.setAttribute("y1",e.y1),t.setAttribute("y2",e.y2),t.setAttribute("stroke",e.stroke),t.setAttribute("stroke-dasharray","5,5"),this.svg.insertBefore(t,this.svg.firstChild)},Svg$1.prototype.rectBeneath=function(e){var t=document.createElementNS(svgNS,"rect");t.setAttribute("x",e.x),t.setAttribute("width",e.width),t.setAttribute("y",e.y),t.setAttribute("height",e.height),e.stroke&&t.setAttribute("stroke",e.stroke),e["stroke-opacity"]&&t.setAttribute("stroke-opacity",e["stroke-opacity"]),e.fill&&t.setAttribute("fill",e.fill),e["fill-opacity"]&&t.setAttribute("fill-opacity",e["fill-opacity"]),this.svg.insertBefore(t,this.svg.firstChild)},Svg$1.prototype.text=function(e,t,r){var n=document.createElementNS(svgNS,"text");for(var o in n.setAttribute("stroke","none"),t)t.hasOwnProperty(o)&&n.setAttribute(o,t[o]);for(var a=(""+e).split("\n"),i=0;i<a.length;i++){var s=document.createElementNS(svgNS,"tspan");if(s.setAttribute("x",t.x?t.x:0),0!==i&&s.setAttribute("dy","1.2em"),-1!==a[i].indexOf("")){var l=a[i].split("");if(s.textContent=l[0],l[1]){var c=document.createElementNS(svgNS,"tspan");c.setAttribute("dy","-0.3em"),c.setAttribute("style","font-size:0.7em"),c.textContent=l[1],s.appendChild(c)}if(l[2]){var u=l[1]?"0.4em":"0.1em",d=document.createElementNS(svgNS,"tspan");d.setAttribute("dy",u),d.setAttribute("style","font-size:0.7em"),d.textContent=l[2],s.appendChild(d)}}else s.textContent=a[i];n.appendChild(s)}return r?r.appendChild(n):this.append(n),n},Svg$1.prototype.guessWidth=function(e,t){var r,n=this.createDummySvg(),o=this.text(e,t,n);try{r=o.getBBox(),r=isNaN(r.height)||!r.height?{width:t["font-size"]/2,height:t["font-size"]+2}:{width:r.width,height:r.height}}catch(a){r={width:t["font-size"]/2,height:t["font-size"]+2}}return n.removeChild(o),r},Svg$1.prototype.createDummySvg=function(){if(!this.dummySvg){this.dummySvg=createSvg();this.dummySvg.setAttribute("style",["display: block !important;","height: 1px;","width: 1px;","position: absolute;"].join("")),document.querySelector("body").appendChild(this.dummySvg)}return this.dummySvg};var sizeCache={};function createSvg(){var e=document.createElementNS(svgNS,"svg");return e.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),e.setAttribute("role","img"),e.setAttribute("fill","currentColor"),e.setAttribute("stroke","currentColor"),e}Svg$1.prototype.getTextSize=function(e,t,r){if("number"==typeof e&&(e=""+e),!e||e.match(/^\s+$/))return{width:0,height:0};var n;if(e.length<20&&(n=e+JSON.stringify(t),sizeCache[n]))return sizeCache[n];var o,a=!r;r||(r=this.text(e,t));try{o=r.getBBox(),o=isNaN(o.height)||!o.height?this.guessWidth(e,t):{width:o.width,height:o.height}}catch(i){o=this.guessWidth(e,t)}return a&&(this.currentGroup.length>0?this.currentGroup[0].removeChild(r):this.svg.removeChild(r)),n&&(sizeCache[n]=o),o},Svg$1.prototype.openGroup=function(e){e=e||{};var t=document.createElementNS(svgNS,"g");return e.klass&&t.setAttribute("class",e.klass),e.fill&&t.setAttribute("fill",e.fill),e.stroke&&t.setAttribute("stroke",e.stroke),e["data-name"]&&t.setAttribute("data-name",e["data-name"]),e.prepend?this.prepend(t):this.append(t),this.currentGroup.unshift(t),t},Svg$1.prototype.closeGroup=function(){var e=this.currentGroup.shift();return e&&0===e.children.length?(e.parentElement.removeChild(e),null):e},Svg$1.prototype.path=function(e){var t=document.createElementNS(svgNS,"path");for(var r in e)e.hasOwnProperty(r)&&("path"===r?t.setAttributeNS(null,"d",e.path):"klass"===r?t.setAttributeNS(null,"class",e[r]):void 0!==e[r]&&t.setAttributeNS(null,r,e[r]));return this.append(t),t},Svg$1.prototype.pathToBack=function(e){var t=document.createElementNS(svgNS,"path");for(var r in e)e.hasOwnProperty(r)&&("path"===r?t.setAttributeNS(null,"d",e.path):"klass"===r?t.setAttributeNS(null,"class",e[r]):t.setAttributeNS(null,r,e[r]));return this.prepend(t),t},Svg$1.prototype.lineToBack=function(e){for(var t=document.createElementNS(svgNS,"line"),r=Object.keys(e),n=0;n<r.length;n++)t.setAttribute(r[n],e[r[n]]);return this.prepend(t),t},Svg$1.prototype.append=function(e){this.currentGroup.length>0?this.currentGroup[0].appendChild(e):this.svg.appendChild(e)},Svg$1.prototype.prepend=function(e){this.currentGroup.length>0?this.currentGroup[0].appendChild(e):this.svg.insertBefore(e,this.svg.firstChild)},Svg$1.prototype.setAttributeOnElement=function(e,t){for(var r in t)t.hasOwnProperty(r)&&e.setAttributeNS(null,r,t[r])},Svg$1.prototype.moveElementToChild=function(e,t){e.appendChild(t)};var svg$5=Svg$1,spacing$8=spacing_1,Svg=svg$5,Renderer$1=function(e){this.paper=new Svg(e),this.controller=null,this.space=3*spacing$8.SPACE,this.padding={},this.reset(),this.firefox112=navigator.userAgent.indexOf("Firefox/112.0")>=0};Renderer$1.prototype.reset=function(){this.paper.clear(),this.y=0,this.abctune=null,this.path=null,this.isPrint=!1,this.lineThickness=0,this.initVerticalSpace()},Renderer$1.prototype.newTune=function(e){this.abctune=e,this.setVerticalSpace(e.formatting),this.isPrint="print"===e.media,this.setPadding(e)},Renderer$1.prototype.setLineThickness=function(e){this.lineThickness=e},Renderer$1.prototype.setPaddingOverride=function(e){this.paddingOverride={top:e.paddingtop,bottom:e.paddingbottom,right:e.paddingright,left:e.paddingleft}},Renderer$1.prototype.setPadding=function(e){function t(t,r,n,o,a){void 0!==e.formatting[n]?t.padding[r]=e.formatting[n]:void 0!==t.paddingOverride[r]?t.padding[r]=t.paddingOverride[r]:t.isPrint?t.padding[r]=o:t.padding[r]=a}t(this,"top","topmargin",38,15),t(this,"bottom","botmargin",38,15),t(this,"left","leftmargin",68,15),t(this,"right","rightmargin",68,15)},Renderer$1.prototype.adjustNonScaledItems=function(e){this.padding.top/=e,this.padding.bottom/=e,this.padding.left/=e,this.padding.right/=e,this.abctune.formatting.headerfont.size/=e,this.abctune.formatting.footerfont.size/=e},Renderer$1.prototype.initVerticalSpace=function(){this.spacing={composer:7.56,graceBefore:8.67,graceInside:10.67,graceAfter:16,info:0,lineSkipFactor:1.1,music:7.56,paragraphSkipFactor:.4,parts:11.33,slurHeight:1,staffSeparation:61.33,stemHeight:36.67,subtitle:3.78,systemStaffSeparation:48,text:18.9,title:7.56,top:30.24,vocal:0,words:0}},Renderer$1.prototype.setVerticalSpace=function(e){void 0!==e.staffsep&&(this.spacing.staffSeparation=4*e.staffsep/3),void 0!==e.composerspace&&(this.spacing.composer=4*e.composerspace/3),void 0!==e.partsspace&&(this.spacing.parts=4*e.partsspace/3),void 0!==e.textspace&&(this.spacing.text=4*e.textspace/3),void 0!==e.musicspace&&(this.spacing.music=4*e.musicspace/3),void 0!==e.titlespace&&(this.spacing.title=4*e.titlespace/3),void 0!==e.sysstaffsep&&(this.spacing.systemStaffSeparation=4*e.sysstaffsep/3),void 0!==e.subtitlespace&&(this.spacing.subtitle=4*e.subtitlespace/3),void 0!==e.topspace&&(this.spacing.top=4*e.topspace/3),void 0!==e.vocalspace&&(this.spacing.vocal=4*e.vocalspace/3),void 0!==e.wordsspace&&(this.spacing.words=4*e.wordsspace/3)},Renderer$1.prototype.calcY=function(e){return this.y-e*spacing$8.STEP},Renderer$1.prototype.moveY=function(e,t){void 0===t&&(t=1),this.y+=e*t},Renderer$1.prototype.absolutemoveY=function(e){this.y=e};var renderer=Renderer$1;function FreeText$1(e,t,r,n,o,a){var i,s=e.text;this.rows=[],t&&this.rows.push({move:t});var l=r.calc("textfont","defined-text");if(""===s)this.rows.push({move:2*l.attr["font-size"]});else if("string"==typeof s)this.rows.push({move:l.attr["font-size"]/2}),this.rows.push({left:n,text:s,font:"textfont",klass:"defined-text",anchor:"start",startChar:e.startChar,endChar:e.endChar,absElemType:"freeText",name:"free-text"}),i=a.calc(s,"textfont","defined-text"),this.rows.push({move:i.height});else if(s){for(var c=0,u=n,d="textfont",p=0;p<s.length;p++)d=s[p].font?s[p].font:"textfont",this.rows.push({left:u,text:s[p].text,font:d,klass:"defined-text",anchor:"start",startChar:e.startChar,endChar:e.endChar,absElemType:"freeText",name:"free-text"}),u+=(i=a.calc(s[p].text,r.calc(d,"defined-text").font,"defined-text")).width+i.height/2,c=Math.max(c,i.height);this.rows.push({move:c})}else if(1===e.length){var f=o/2;this.rows.push({left:f,text:e[0].text,font:"textfont",klass:"defined-text",anchor:"middle",startChar:e.startChar,endChar:e.endChar,absElemType:"freeText",name:"free-text"}),i=a.calc(e[0].text,"textfont","defined-text"),this.rows.push({move:i.height})}}var freeText=FreeText$1;function Separator$1(e,t,r){this.rows=[],e&&this.rows.push({move:e}),this.rows.push({separator:t,absElemType:"separator"}),r&&this.rows.push({move:r})}var separator$1=Separator$1;function Subtitle$1(e,t,r,n,o,a){this.rows=[],e&&this.rows.push({move:e});var i=t.titleleft?"start":"middle",s=t.titleleft?o:n;this.rows.push({left:s,text:r.text,font:"subtitlefont",klass:"text subtitle",anchor:i,startChar:r.startChar,endChar:r.endChar,absElemType:"subtitle",name:"subtitle"});var l=a.calc(r.text,"subtitlefont","text subtitle");this.rows.push({move:l.height})}var subtitle=Subtitle$1;function addTextIf$2(e,t,r){if(t.text){t.marginLeft||(t.marginLeft=0),t.klass||(t.klass=""),t.anchor||(t.anchor="start"),t.info||(t.info={startChar:-2,endChar:-2}),t.marginTop&&e.push({move:t.marginTop});var n={left:t.marginLeft,text:t.text,font:t.font,anchor:t.anchor,startChar:t.info.startChar,endChar:t.info.endChar};t.absElemType&&(n.absElemType=t.absElemType),t.inGroup||(n.klass=t.klass),t.name&&(n.name=t.name),e.push(n);var o=r.calc("A",t.font,t.klass),a=t.text.split("\n").length;if("\n"===t.text[t.text.length-1]&&a--,!t.noMove){var i=1.1*o.height*a;e.push({move:Math.round(i)}),t.marginBottom&&e.push({move:t.marginBottom})}}}var addTextIf_1=addTextIf$2,addTextIf$1=addTextIf_1;function TopText$1(e,t,r,n,o,a,i,s,l){if(this.rows=[],e.header&&a){var c=l.calc("X","headerfont","abcjs-header abcjs-meta-top").height;addTextIf$1(this.rows,{marginLeft:i,text:e.header.left,font:"headerfont",klass:"header meta-top",marginTop:-c,info:t.header,name:"header"},l),addTextIf$1(this.rows,{marginLeft:i+o/2,text:e.header.center,font:"headerfont",klass:"header meta-top",marginTop:-c,anchor:"middle",info:t.header,name:"header"},l),addTextIf$1(this.rows,{marginLeft:i+o,text:e.header.right,font:"headerfont",klass:"header meta-top",marginTop:-c,anchor:"end",info:t.header,name:"header"},l)}a&&this.rows.push({move:s.top});var u=r.titleleft?"start":"middle",d=r.titleleft?i:i+o/2;if(e.title&&addTextIf$1(this.rows,{marginLeft:d,text:e.title,font:"titlefont",klass:"title meta-top",marginTop:s.title,anchor:u,absElemType:"title",info:t.title,name:"title"},l),n.length)for(var p=0;p<n.length&&n[p].subtitle;)addTextIf$1(this.rows,{marginLeft:d,text:n[p].subtitle.text,font:"subtitlefont",klass:"text meta-top subtitle",marginTop:s.subtitle,anchor:u,absElemType:"subtitle",info:n[p].subtitle,name:"subtitle"},l),p++;if(e.rhythm||e.origin||e.composer){if(this.rows.push({move:s.composer}),e.rhythm&&e.rhythm.length>0){var f=!(!e.composer&&!e.origin);addTextIf$1(this.rows,{marginLeft:i,text:e.rhythm,font:"infofont",klass:"meta-top rhythm",absElemType:"rhythm",noMove:f,info:t.rhythm,name:"rhythm"},l)}var h="";e.composer&&(h+=e.composer),e.origin&&(h+=" ("+e.origin+")"),h.length>0&&addTextIf$1(this.rows,{marginLeft:i+o,text:h,font:"composerfont",klass:"meta-top composer",anchor:"end",absElemType:"composer",info:t.composer,name:"composer"},l)}e.author&&e.author.length>0&&addTextIf$1(this.rows,{marginLeft:i+o,text:e.author,font:"composerfont",klass:"meta-top author",anchor:"end",absElemType:"author",info:t.author,name:"author"},l),e.partOrder&&e.partOrder.length>0&&addTextIf$1(this.rows,{marginLeft:i,text:e.partOrder,font:"partsfont",klass:"meta-top part-order",absElemType:"partOrder",info:t.partOrder,name:"part-order"},l)}var topText=TopText$1,addTextIf=addTextIf_1;function BottomText$1(e,t,r,n,o,a){this.rows=[],e.unalignedWords&&e.unalignedWords.length>0&&this.unalignedWords(e.unalignedWords,n,o,a),this.extraText(e,n,o,a),e.footer&&r&&this.footer(e.footer,t,n,a)}BottomText$1.prototype.unalignedWords=function(e,t,r,n){var o="meta-bottom unaligned-words",a="wordsfont";this.rows.push({startGroup:"unalignedWords",klass:"abcjs-meta-bottom abcjs-unaligned-words",name:"words"});var i=n.calc("i",a,o);this.rows.push({move:r.words});for(var s=0;s<e.length;s++)if(""===e[s])this.rows.push({move:i.height});else if("string"==typeof e[s])addTextIf(this.rows,{marginLeft:t,text:e[s],font:a,klass:o,inGroup:!0,name:"words"},n);else{for(var l=0,c=0,u=0;u<e[s].length;u++){var d=e[s][u],p=d.font?d.font:a;this.rows.push({left:t+c,text:d.text,font:p,anchor:"start"});var f=n.calc(d.text,a,o);l=Math.max(l,f.height),c+=f.width," "===d.text[d.text.length-1]&&(c+=i.width)}this.rows.push({move:l})}this.rows.push({move:2*i.height}),this.rows.push({endGroup:"unalignedWords",absElemType:"unalignedWords",startChar:-1,endChar:-1,name:"unalignedWords"})},BottomText$1.prototype.extraText=function(e,t,r,n){var o="";e.book&&(o+="Book: "+e.book+"\n"),e.source&&(o+="Source: "+e.source+"\n"),e.discography&&(o+="Discography: "+e.discography+"\n"),e.notes&&(o+="Notes: "+e.notes+"\n"),e.transcription&&(o+="Transcription: "+e.transcription+"\n"),e.history&&(o+="History: "+e.history+"\n"),e["abc-copyright"]&&(o+="Copyright: "+e["abc-copyright"]+"\n"),e["abc-creator"]&&(o+="Creator: "+e["abc-creator"]+"\n"),e["abc-edited-by"]&&(o+="Edited By: "+e["abc-edited-by"]+"\n"),o.length>0&&addTextIf(this.rows,{marginLeft:t,text:o,font:"historyfont",klass:"meta-bottom extra-text",marginTop:r.info,absElemType:"extraText",name:"description"},n)},BottomText$1.prototype.footer=function(e,t,r,n){var o="header meta-bottom",a="footerfont";this.rows.push({startGroup:"footer",klass:o}),addTextIf(this.rows,{marginLeft:r,text:e.left,font:a,klass:o,name:"footer"},n),addTextIf(this.rows,{marginLeft:r+t/2,text:e.center,font:a,klass:o,anchor:"middle",name:"footer"},n),addTextIf(this.rows,{marginLeft:r+t,text:e.right,font:a,klass:o,anchor:"end",name:"footer"},n)};var bottomText=BottomText$1,spacing$7=spacing_1;function setupSelection$1(e,t){if(e.rangeHighlight=rangeHighlight,e.dragging)for(var r=0;r<e.selectables.length;r++){var n=e.selectables[r];"true"===n.svgEl.getAttribute("selectable")&&(n.svgEl.setAttribute("tabindex",0),n.svgEl.setAttribute("data-index",r),n.svgEl.addEventListener("keydown",keyboardDown.bind(e)),n.svgEl.addEventListener("keyup",keyboardSelection.bind(e)),n.svgEl.addEventListener("focus",elementFocused.bind(e)))}for(var o=0;o<t.length;o++)t[o].addEventListener("touchstart",mouseDown.bind(e),{passive:!0}),t[o].addEventListener("touchmove",mouseMove.bind(e),{passive:!0}),t[o].addEventListener("touchend",mouseUp.bind(e),{passive:!0}),t[o].addEventListener("mousedown",mouseDown.bind(e)),t[o].addEventListener("mousemove",mouseMove.bind(e)),t[o].addEventListener("mouseup",mouseUp.bind(e))}function getCoord(e){var t,r,n=1,o=1,a=e.target.closest("svg"),i=0;return a&&a.viewBox&&a.viewBox.baseVal&&(0!==a.viewBox.baseVal.width&&(n=a.viewBox.baseVal.width/a.clientWidth),0!==a.viewBox.baseVal.height&&(o=a.viewBox.baseVal.height/a.clientHeight),i=a.viewBox.baseVal.y),e.target&&"svg"===e.target.tagName?(t=e.offsetX,r=e.offsetY):(t=e.layerX,r=e.layerY),[t*=n,(r*=o)+i]}function elementFocused(e){"keyboard"===this.dragMechanism&&0!==this.dragYStep&&this.dragTarget&&notifySelect.bind(this)(this.dragTarget,this.dragYStep,this.selectables.length,this.dragIndex,e),this.dragYStep=0}function keyboardDown(e){switch(e.keyCode){case 38:case 40:e.preventDefault()}}function keyboardSelection(e){var t=!1,r=e.target.dataset.index;switch(e.keyCode){case 13:case 32:t=!0,this.dragTarget=this.selectables[r],this.dragIndex=r,this.dragMechanism="keyboard",mouseUp.bind(this)(e);break;case 38:t=!0,this.dragTarget=this.selectables[r],this.dragIndex=r,this.dragTarget&&this.dragTarget.isDraggable&&(this.dragging&&this.dragTarget.isDraggable&&this.dragTarget.absEl.highlight(void 0,this.dragColor),this.dragYStep--,this.dragTarget.svgEl.setAttribute("transform","translate(0,"+this.dragYStep*spacing$7.STEP+")"));break;case 40:t=!0,this.dragTarget=this.selectables[r],this.dragIndex=r,this.dragMechanism="keyboard",this.dragTarget&&this.dragTarget.isDraggable&&(this.dragging&&this.dragTarget.isDraggable&&this.dragTarget.absEl.highlight(void 0,this.dragColor),this.dragYStep++,this.dragTarget.svgEl.setAttribute("transform","translate(0,"+this.dragYStep*spacing$7.STEP+")"));break;case 9:0!==this.dragYStep&&mouseUp.bind(this)(e)}t&&e.preventDefault()}function findElementInHistory(e,t){for(var r=0;r<e.length;r++)if(t.dataset.index===e[r].svgEl.dataset.index)return r;return-1}function findElementByCoord(e,t,r){for(var n=9999999,o=-1,a=0;a<e.selectables.length&&n>0;a++){var i=e.selectables[a];if(e.getDim(i),i.dim.left<t&&i.dim.right>t&&i.dim.top<r&&i.dim.bottom>r)o=a,n=0;else if(i.dim.top<r&&i.dim.bottom>r){var s=Math.min(Math.abs(i.dim.left-t),Math.abs(i.dim.right-t));s<n&&(n=s,o=a)}else if(i.dim.left<t&&i.dim.right>t){var l=Math.min(Math.abs(i.dim.top-r),Math.abs(i.dim.bottom-r));l<n&&(n=l,o=a)}else{var c=Math.abs(t-i.dim.left)>Math.abs(t-i.dim.right)?Math.abs(t-i.dim.right):Math.abs(t-i.dim.left),u=Math.abs(r-i.dim.top)>Math.abs(r-i.dim.bottom)?Math.abs(r-i.dim.bottom):Math.abs(r-i.dim.top),d=Math.sqrt(c*c+u*u);d<n&&(n=d,o=a)}}return o>=0&&n<=12?o:-1}function getBestMatchCoordinates(e,t,r){return e.x<=t.offsetX&&e.x+e.width>=t.offsetX&&e.y<=t.offsetY&&e.y+e.height>=t.offsetY||Math.abs(t.layerY/r-t.offsetY)<3?[t.offsetX,t.offsetY]:[t.layerX,t.layerY]}function getTarget(e){if("svg"===e.tagName)return e;for(var t=e.getAttribute("selectable");!t;)t=!e.parentElement||("svg"===(e=e.parentElement).tagName||e.getAttribute("selectable"));return e}function getMousePosition(e,t){var r,n,o,a=findElementInHistory(e.selectables,getTarget(t.target));return a>=0?(r=(o=getBestMatchCoordinates(e.selectables[a].svgEl.getBBox(),t,e.scale))[0],n=o[1]):a=findElementByCoord(e,r=(o=getCoord(t))[0],n=o[1]),{x:r,y:n,clickedOn:a}}function attachMissingTouchEventAttributes(e){if(e&&e.target&&e.touches&&!(e.touches.length<1)){var t=e.target.getBoundingClientRect(),r=e.touches[0].pageX-t.left,n=e.touches[0].pageY-t.top;e.touches[0].offsetX=r,e.touches[0].offsetY=n,e.touches[0].layerX=e.touches[0].pageX,e.touches[0].layerY=e.touches[0].pageY}}function mouseDown(e){var t=e;"touchstart"===e.type&&(attachMissingTouchEventAttributes(e),e.touches.length>0&&(t=e.touches[0]));var r=getMousePosition(this,t);r.clickedOn>=0&&("touchstart"===e.type||0===e.button)&&this.selectables[r.clickedOn]&&(this.dragTarget=this.selectables[r.clickedOn],this.dragIndex=r.clickedOn,this.dragMechanism="mouse",this.dragMouseStart={x:r.x,y:r.y},this.dragging&&this.dragTarget.isDraggable&&(addGlobalClass(this.renderer.paper,"abcjs-dragging-in-progress"),this.dragTarget.absEl.highlight(void 0,this.dragColor)))}function mouseMove(e){var t=e;if("touchmove"===e.type&&(attachMissingTouchEventAttributes(e),e.touches.length>0&&(t=e.touches[0])),this.lastTouchMove=e,this.dragTarget&&this.dragging&&this.dragTarget.isDraggable&&"mouse"===this.dragMechanism&&this.dragMouseStart){var r=getMousePosition(this,t),n=Math.round((r.y-this.dragMouseStart.y)/spacing$7.STEP);n!==this.dragYStep&&(this.dragYStep=n,this.dragTarget.svgEl.setAttribute("transform","translate(0,"+n*spacing$7.STEP+")"))}}function mouseUp(e){var t=e;"touchend"===e.type&&this.lastTouchMove&&(attachMissingTouchEventAttributes(this.lastTouchMove),this.lastTouchMove&&this.lastTouchMove.touches&&this.lastTouchMove.touches.length>0&&(t=this.lastTouchMove.touches[0])),this.dragTarget&&(clearSelection.bind(this)(),this.dragTarget.absEl&&this.dragTarget.absEl.highlight&&(this.selected=[this.dragTarget.absEl],this.dragTarget.absEl.highlight(void 0,this.selectionColor)),notifySelect.bind(this)(this.dragTarget,this.dragYStep,this.selectables.length,this.dragIndex,t),this.dragTarget.svgEl&&this.dragTarget.svgEl.focus&&(this.dragTarget.svgEl.focus(),this.dragTarget=null,this.dragIndex=-1),removeGlobalClass(this.renderer.svg,"abcjs-dragging-in-progress"))}function setSelection(e){e>=0&&e<this.selectables.length&&(this.dragTarget=this.selectables[e],this.dragIndex=e,this.dragMechanism="keyboard",mouseUp.bind(this)({target:this.dragTarget.svgEl}))}function notifySelect(e,t,r,n,o){var a=[];if(e.absEl.elemset){for(var i={},s=0;s<e.absEl.elemset.length;s++){var l=e.absEl.elemset[s];if(l)for(var c=l.getAttribute("class").split(" "),u=0;u<c.length;u++)i[c[u]]=!0}for(var d=0;d<Object.keys(i).length;d++)a.push(Object.keys(i)[d])}for(var p={},f=0;f<a.length;f++)findNumber(a[f],"abcjs-v",p,"voice"),findNumber(a[f],"abcjs-l",p,"line"),findNumber(a[f],"abcjs-m",p,"measure");e.staffPos&&(p.staffPos=e.staffPos);for(var h=o.target;h&&h.dataset&&!h.dataset.name&&"svg"!==h.tagName.toLowerCase();)h=h.parentNode;for(var v=o.target;v&&v.dataset&&!v.dataset.index&&"svg"!==v.tagName.toLowerCase();)v=v.parentNode;v&&v.dataset&&(p.name=v.dataset.name,p.clickedName=h.dataset.name,p.parentClasses=v.classList),h&&h.classList&&(p.clickedClasses=h.classList),p.selectableElement=e.svgEl;for(var g=0;g<this.listeners.length;g++)this.listeners[g](e.absEl.abcelem,e.absEl.tuneNumber,a.join(" "),p,{step:t,max:r,index:n,setSelection:setSelection.bind(this)},o)}function findNumber(e,t,r,n){if(0===e.indexOf(t)){var o=e.replace(t,""),a=parseInt(o,10);""+a===o&&(r[n]=a)}}function clearSelection(){for(var e=0;e<this.selected.length;e++)this.selected[e].unhighlight(void 0,this.renderer.foregroundColor);this.selected=[]}function rangeHighlight(e,t){clearSelection.bind(this)();for(var r=0;r<this.staffgroups.length;r++)for(var n=this.staffgroups[r].voices,o=0;o<n.length;o++)for(var a=n[o].children,i=0;i<a.length;i++){var s=a[i].abcelem.startChar,l=a[i].abcelem.endChar;(t>s&&e<l||t===e&&t===l)&&(this.selected[this.selected.length]=a[i],a[i].highlight(void 0,this.selectionColor))}}function getClassSet(e){var t=e.getAttribute("class");t||(t="");for(var r=t.split(" "),n={},o=0;o<r.length;o++)n[r[o]]=!0;return n}function setClassSet(e,t){var r=[];for(var n in t)t.hasOwnProperty(n)&&r.push(n);e.setAttribute("class",r.join(" "))}function addGlobalClass(e,t){if(e){var r=getClassSet(e.svg);r[t]=!0,setClassSet(e.svg,r)}}function removeGlobalClass(e,t){if(e){var r=getClassSet(e.svg);delete r[t],setClassSet(e.svg,r)}}var selection=setupSelection$1;function getBarYAt$3(e,t,r,n,o){return t+(n-t)/(r-e)*(o-e)}var getBarYAt_1=getBarYAt$3,RelativeElement=relativeElement,spacing$6=spacing_1,getBarYAt$2=getBarYAt_1,layoutBeam$1=function(e){if(0!==e.elems.length&&!e.allrests){var t=calcDy(e.stemsUp,e.isgrace),r=e.elems[0],n=e.elems[e.elems.length-1],o=0,a=e.stemsUp?r.abcelem.maxpitch:r.abcelem.minpitch;o=minStem(r,e.stemsUp,a,o),o=minStem(n,e.stemsUp,a,o),o=Math.max(e.stemHeight,o+3);var i=calcYPos(e.average,e.elems.length,o,e.stemsUp,r.abcelem.averagepitch,n.abcelem.averagepitch,e.isflat,e.min,e.max,e.isgrace),s=calcXPos(e.stemsUp,r,n);e.addBeam({startX:s[0],endX:s[1],startY:i[0],endY:i[1],dy:t});for(var l=createAdditionalBeams(e.elems,e.stemsUp,e.beams[0],e.isgrace,t),c=0;c<l.length;c++)e.addBeam(l[c]);createStems(e.elems,e.stemsUp,e.beams[0],t,e.mainNote)}},getDurlog=function(e){return void 0===e?0:Math.floor(Math.log(e)/Math.log(2))};function minStem(e,t,r,n){if(!e.children)return n;for(var o=0;o<e.children.length;o++){var a=e.children[o];t&&void 0!==a.top&&"flags.ugrace"===a.c?n=Math.max(n,a.top-r):t||void 0===a.bottom||"flags.ugrace"!==a.c||(n=Math.max(n,r-a.bottom+7))}return n}function calcSlant(e,t,r,n){if(n)return 0;var o=e-t,a=r/2;return o>a&&(o=a),o<-a&&(o=-a),o}function calcDy(e,t){var r=e?spacing$6.STEP:-spacing$6.STEP;return t&&(r*=.4),r}function calcXPos(e,t,r){var n=t.heads[e?0:t.heads.length-1],o=r.heads[e?0:r.heads.length-1],a=n.x;e&&(a+=n.w-.6);var i=o.x;return[a,i+=e?o.w:.6]}function calcYPos(e,t,r,n,o,a,i,s,l,c){var u=r-2,d=r-2,p=Math.round(n?Math.max(e+u,l+d):Math.min(e-u,s-d)),f=calcSlant(o,a,t,i),h=p+Math.floor(f/2),v=p+Math.floor(-f/2);return c||(n&&p<6||!n&&p>6)&&(h=6,v=6),[h,v]}function createStems(e,t,r,n,o){for(var a=0;a<e.length;a++){var i=e[a];if(!i.abcelem.rest){var s=!i.addExtra,l=s?o:i,c=i.heads[t?0:i.heads.length-1],u=c.pitch+(t?.2:-.2),d=t?c.w:0;s||(d+=c.dx);var p=c.x+d,f=getBarYAt$2(r.startX,r.startY,r.endX,r.endY,p),h=t?-.6:.6;t||(f-=n/2/spacing$6.STEP),s&&(d+=i.heads[0].dx),"noteheads.slash.quarter"===c.c&&(t?u+=1:u-=1);var v=new RelativeElement(null,d,0,u,{type:"stem",pitch2:f,linewidth:h});v.setX(l.x),l.addRight(v)}}}function createAdditionalBeams(e,t,r,n,o){for(var a=[],i=[],s=0;s<e.length;s++){var l=e[s];if(!l.abcelem.rest){var c=l.heads[t?0:l.heads.length-1],u=c.x+(t?c.w:0),d=getBarYAt$2(r.startX,r.startY,r.endX,r.endY,u),p=t?-1.5:1.5;n&&(p=2*p/3);var f=l.abcelem.duration;0===f&&(f=.25);for(var h=getDurlog(f);h<-3;h++){var v=-4-h;if(i[v]?i[v].single=!1:i[v]={x:u+(t?-.6:0),y:d+p*(v+1),durlog:h,single:!0},s>0&&l.abcelem.beambr&&l.abcelem.beambr<=v+1){i[v].split||(i[v].split=[i[v].x]);var g=calcXPos(t,e[s-1],l);i[v].split[i[v].split.length-1]>=g[0]&&(g[0]+=l.w),i[v].split.push(g[0]),i[v].split.push(g[1])}}for(var m=i.length-1;m>=0;m--)if(s===e.length-1||getDurlog(e[s+1].abcelem.duration)>-m-4){var b=u,A=d+p*(m+1);i[m].single&&(b=0===s?u+5:u-5,A=getBarYAt$2(r.startX,r.startY,r.endX,r.endY,b)+p*(m+1));var y={startX:i[m].x,endX:b,startY:i[m].y,endY:A,dy:o};if(void 0!==i[m].split){var x=i[m].split;y.endX<=x[x.length-1]&&(x[x.length-1]-=l.w),x.push(y.endX),y.split=i[m].split}a.push(y),i=i.slice(0,m)}}}return a}var beam$1=layoutBeam$1,getBarYAt$1=getBarYAt_1;function layoutTriplet$1(e){if(e.anchor1&&e.anchor2){e.hasBeam=!!e.anchor1.parent.beam&&e.anchor1.parent.beam===e.anchor2.parent.beam;var t=e.anchor1.parent.beam;if(!e.hasBeam||t.elems[0]===e.anchor1.parent&&t.elems[t.elems.length-1]===e.anchor2.parent||(e.hasBeam=!1),e.hasBeam){var r=isAbove(t)?e.anchor1.x+e.anchor1.w:e.anchor1.x;e.yTextPos=heightAtMidpoint(r,e.anchor2.x,t),e.yTextPos+=isAbove(t)?3:-2,e.xTextPos=xAtMidpoint(r,e.anchor2.x),e.top=e.yTextPos+1,e.bottom=e.yTextPos-2,isAbove(t)&&(e.endingHeightAbove=4)}else{e.startNote=Math.max(e.anchor1.parent.top,9)+4,e.endNote=Math.max(e.anchor2.parent.top,9)+4,"rest"===e.anchor1.parent.type&&"rest"!==e.anchor2.parent.type?e.startNote=e.endNote:"rest"===e.anchor2.parent.type&&"rest"!==e.anchor1.parent.type&&(e.endNote=e.startNote);for(var n=0,o=0;o<e.middleElems.length;o++)n=Math.max(n,e.middleElems[o].top);((n+=4)>e.startNote||n>e.endNote)&&(e.startNote=n,e.endNote=n),e.flatBeams&&(e.startNote=Math.max(e.startNote,e.endNote),e.endNote=Math.max(e.startNote,e.endNote)),e.yTextPos=e.startNote+(e.endNote-e.startNote)/2,e.xTextPos=e.anchor1.x+(e.anchor2.x+e.anchor2.w-e.anchor1.x)/2,e.top=e.yTextPos+1}}delete e.middleElems,delete e.flatBeams}function isAbove(e){return e.stemsUp}function heightAtMidpoint(e,t,r){if(0===r.beams.length)return 0;r=r.beams[0];var n=e+(t-e)/2;return getBarYAt$1(r.startX,r.startY,r.endX,r.endY,n)}function xAtMidpoint(e,t){return e+(t-e)/2}var triplet$1=layoutTriplet$1,layoutBeam=beam$1,getBarYAt=getBarYAt_1,layoutTriplet=triplet$1,layoutVoice$1=function(e){for(var t=0;t<e.beams.length;t++)if("BeamElem"===e.beams[t].type){layoutBeam(e.beams[t]),moveDecorations(e.beams[t]);for(var r=0;r<e.beams[t].elems.length;r++)e.adjustRange(e.beams[t].elems[r])}for(e.staff.specialY.chordLines=setLaneForChord(e.children),t=0;t<e.otherchildren.length;t++){var n=e.otherchildren[t];"TripletElem"===n.type&&(layoutTriplet(n),e.adjustRange(n))}e.staff.top=Math.max(e.staff.top,e.top),e.staff.bottom=Math.min(e.staff.bottom,e.bottom)};function moveDecorations(e){for(var t=0;t<e.elems.length;t++){var r=e.elems[t];if(r.top)for(var n=yAtNote(r,e),o=0;o<r.children.length;o++){var a=r.children[o];if("ornament"===a.klass&&a.bottom-1.5<n){var i=n-a.bottom+1.5;a.bottom+=i,a.top+=i,a.pitch+=i,n=r.top=a.top}}}}function placeInLane(e,t){var r=t.getChordDim();if(r){for(var n=0;n<e.length;n++){if(e[n]<r.left)return n>0&&t.putChordInLane(n),void(e[n]=r.right)}e.push(r.right),t.putChordInLane(e.length-1)}}function setLaneForChord(e){var t,r,n,o=[0],a=[0];for(t=0;t<e.length;t++){for(r=0;r<e[t].children.length;r++)(n=e[t].children[r]).chordHeightAbove&&placeInLane(o,n);for(r=e[t].children.length-1;r>=0;r--)(n=e[t].children[r]).chordHeightBelow&&placeInLane(a,n)}return(o.length>1||a.length>1)&&setLane(e,o.length),{above:o.length,below:a.length}}function numAnnotationsBelow(e){for(var t=0,r=0;r<e.children.length;r++){e.children[r].chordHeightBelow&&t++}return t}function setLane(e,t,r){for(var n=0;n<e.length;n++){numAnnotationsBelow(e[n]);for(var o=0;o<e[n].children.length;o++){var a=e[n].children[o];a.chordHeightAbove&&a.invertLane(t)}}}function yAtNote(e,t){return t=t.beams[0],getBarYAt(t.startX,t.startY,t.endX,t.endY,e.x)}var voice$1=layoutVoice$1,spacing$5=spacing_1,setUpperAndLowerElements$1=function(e,t){for(var r,n=0;n<t.staffs.length;n++){var o=t.staffs[n],a={tempoHeightAbove:0,partHeightAbove:0,volumeHeightAbove:0,dynamicHeightAbove:0,endingHeightAbove:0,chordHeightAbove:0,lyricHeightAbove:0,lyricHeightBelow:0,chordHeightBelow:0,volumeHeightBelow:0,dynamicHeightBelow:0};if(e.showDebug&&e.showDebug.indexOf("box")>=0&&(o.originalTop=o.top,o.originalBottom=o.bottom),incTop(o,a,"lyricHeightAbove"),incTop(o,a,"chordHeightAbove",o.specialY.chordLines.above),o.specialY.endingHeightAbove&&(o.specialY.chordHeightAbove?o.top+=2:o.top+=o.specialY.endingHeightAbove+margin,a.endingHeightAbove=o.top),o.specialY.dynamicHeightAbove&&o.specialY.volumeHeightAbove?(o.top+=Math.max(o.specialY.dynamicHeightAbove,o.specialY.volumeHeightAbove)+margin,a.dynamicHeightAbove=o.top,a.volumeHeightAbove=o.top):(incTop(o,a,"dynamicHeightAbove"),incTop(o,a,"volumeHeightAbove")),incTop(o,a,"partHeightAbove"),incTop(o,a,"tempoHeightAbove"),o.specialY.lyricHeightBelow&&(o.specialY.lyricHeightBelow+=e.spacing.vocal/spacing$5.STEP,a.lyricHeightBelow=o.bottom,o.bottom-=o.specialY.lyricHeightBelow+margin),o.specialY.chordHeightBelow){a.chordHeightBelow=o.bottom;var i=o.specialY.chordHeightBelow;o.specialY.chordLines.below&&(i*=o.specialY.chordLines.below),o.bottom-=i+margin}o.specialY.volumeHeightBelow&&o.specialY.dynamicHeightBelow?(a.volumeHeightBelow=o.bottom,a.dynamicHeightBelow=o.bottom,o.bottom-=Math.max(o.specialY.volumeHeightBelow,o.specialY.dynamicHeightBelow)+margin):o.specialY.volumeHeightBelow?(a.volumeHeightBelow=o.bottom,o.bottom-=o.specialY.volumeHeightBelow+margin):o.specialY.dynamicHeightBelow&&(a.dynamicHeightBelow=o.bottom,o.bottom-=o.specialY.dynamicHeightBelow+margin),e.showDebug&&e.showDebug.indexOf("box")>=0&&(o.positionY=a);for(var s=0;s<o.voices.length;s++){setUpperAndLowerVoiceElements(a,t.voices[o.voices[s]],e.spacing)}if(void 0!==r){var l=r+(o.top-10),c=e.spacing.systemStaffSeparation/spacing$5.STEP-l;c>0&&(o.top+=c)}r=2-o.bottom}},margin=1;function incTop(e,t,r,n){if(e.specialY[r]){var o=e.specialY[r];n&&(o*=n),e.top+=o+margin,t[r]=e.top}}function setUpperAndLowerVoiceElements(e,t,r){var n,o;for(n=0;n<t.children.length;n++)setUpperAndLowerAbsoluteElements(e,o=t.children[n],r);for(n=0;n<t.otherchildren.length;n++)switch((o=t.otherchildren[n]).type){case"CrescendoElem":setUpperAndLowerCrescendoElements(e,o);break;case"DynamicDecoration":setUpperAndLowerDynamicElements(e,o);break;case"EndingElem":setUpperAndLowerEndingElements(e,o)}}function setUpperAndLowerAbsoluteElements(e,t,r){for(var n=0;n<t.children.length;n++){var o=t.children[n];for(var a in t.specialY)t.specialY.hasOwnProperty(a)&&o[a]&&(o.pitch=e[a],void 0===o.top&&("TempoElement"===o.type?setUpperAndLowerTempoElement(e,o):setUpperAndLowerRelativeElements(e,o,r),t.pushTop(o.top),t.pushBottom(o.bottom)))}}function setUpperAndLowerCrescendoElements(e,t){t.dynamicHeightAbove?t.pitch=e.dynamicHeightAbove:t.pitch=e.dynamicHeightBelow}function setUpperAndLowerDynamicElements(e,t){t.volumeHeightAbove?t.pitch=e.volumeHeightAbove:t.pitch=e.volumeHeightBelow}function setUpperAndLowerEndingElements(e,t){t.pitch=e.endingHeightAbove-2}function setUpperAndLowerTempoElement(e,t){if(t.pitch=e.tempoHeightAbove,t.top=e.tempoHeightAbove,t.bottom=e.tempoHeightAbove,t.note){var r=t.pitch-t.totalHeightInPitches+1;t.note.top=r,t.note.bottom=r;for(var n=0;n<t.note.children.length;n++){var o=t.note.children[n];o.top+=r,o.bottom+=r,o.pitch+=r,void 0!==o.pitch2&&(o.pitch2+=r)}}}function setUpperAndLowerRelativeElements(e,t,r){switch(t.type){case"part":t.top=e.partHeightAbove+t.height,t.bottom=e.partHeightAbove;break;case"text":case"chord":t.chordHeightAbove?(t.top=e.chordHeightAbove,t.bottom=e.chordHeightAbove):(t.top=e.chordHeightBelow,t.bottom=e.chordHeightBelow);break;case"lyric":t.lyricHeightAbove?(t.top=e.lyricHeightAbove,t.bottom=e.lyricHeightAbove):(t.top=e.lyricHeightBelow+r.vocal/spacing$5.STEP,t.bottom=e.lyricHeightBelow+r.vocal/spacing$5.STEP,t.pitch-=r.vocal/spacing$5.STEP);break;case"debug":t.top=e.chordHeightAbove,t.bottom=e.chordHeightAbove}void 0!==t.pitch&&void 0!==t.top||console.error("RelativeElement position not set.",t.type,t.pitch,t.top,e)}var setUpperAndLowerElements_1=setUpperAndLowerElements$1,VoiceElement=function(){};function getExtraWidth(e,t){var r=0;return"note"!==e.type&&"bar"!==e.type||(r=t),-e.extraw+r}function getMinWidth(e){return e.w}VoiceElement.beginLayout=function(e,t){t.i=0,t.durationindex=0,t.startx=e,t.minx=e,t.nextx=e,t.spacingduration=0},VoiceElement.layoutEnded=function(e){return e.i>=e.children.length},VoiceElement.getNextX=function(e){return Math.max(e.minx,e.nextx)},VoiceElement.getSpacingUnits=function(e){return Math.sqrt(8*e.spacingduration)},VoiceElement.layoutOneItem=function(e,t,r,n,o){var a=r.children[r.i];if(!a)return 0;var i=e-r.minx,s=r.durationindex+a.duration>0?n:0;if("note"===a.abcelem.el_type&&!a.abcelem.rest&&0!==r.voicenumber&&o){var l=o.children[o.i],c=l&&(a.abcelem.maxpitch<=l.abcelem.maxpitch+1&&a.abcelem.maxpitch>=l.abcelem.minpitch-1||a.abcelem.minpitch<=l.abcelem.maxpitch+1&&a.abcelem.minpitch>=l.abcelem.minpitch-1);if(c&&a.abcelem.minpitch===l.abcelem.minpitch&&a.abcelem.maxpitch===l.abcelem.maxpitch&&l.heads&&l.heads.length>0&&a.heads&&a.heads.length>0&&l.heads[0].c===a.heads[0].c&&(c=!1),c){var u=l.heads&&l.heads.length>0?l.heads[0].realWidth:l.fixed.w;a.adjustedWidth||(a.adjustedWidth=u+a.w),a.w=a.adjustedWidth;for(var d=0;d<a.children.length;d++){var p=a.children[d];p.name.indexOf("accidental")<0&&(p.adjustedWidth||(p.adjustedWidth=p.dx+u),p.dx=p.adjustedWidth)}}}var f=getExtraWidth(a,s);return i<f&&(0===r.i||"bar"!==a.type||"part"!==r.children[r.i-1].type&&"tempo"!==r.children[r.i-1].type)&&(e+=f-i),a.setX(e),r.spacingduration=a.duration,r.minx=e+getMinWidth(a),r.i!==r.children.length-1&&(r.minx+=a.minspacing),this.updateNextX(e,t,r),e},VoiceElement.shiftRight=function(e,t){var r=t.children[t.i];r&&(r.setX(r.x+e),t.minx+=e,t.nextx+=e)},VoiceElement.updateNextX=function(e,t,r){r.nextx=e+t*Math.sqrt(8*r.spacingduration)},VoiceElement.updateIndices=function(e){this.layoutEnded(e)||(e.durationindex+=e.children[e.i].duration,"bar"===e.children[e.i].type&&(e.durationindex=Math.round(64*e.durationindex)/64),e.i++)};var voiceElements=VoiceElement,layoutVoiceElements=voiceElements;function checkLastBarX(e){for(var t=0,r=0;r<e.length;r++){var n=e[r];if(n.children.length>0){var o=n.children.length-1,a=n.children[o];if("bar"===a.abcelem.el_type){var i=a.children[0].x;i>t?t=i:a.children[0].x=t}}}}var layoutStaffGroup$1=function(e,t,r,n,o){var a,i=0,s=1e3,l=o;n.startx=l;var c=0;for(r&&console.log("init layout",e),a=0;a<n.voices.length;a++)layoutVoiceElements.beginLayout(l,n.voices[a]);for(var u=0;!finished(n.voices);){for(c=null,a=0;a<n.voices.length;a++)layoutVoiceElements.layoutEnded(n.voices[a])||c&&!(getDurationIndex(n.voices[a])<c)||(c=getDurationIndex(n.voices[a]));var d=[],p=[];for(a=0;a<n.voices.length;a++){getDurationIndex(n.voices[a])-c>1e-7?p.push(n.voices[a]):d.push(n.voices[a])}u=0;var f=0;for(a=0;a<d.length;a++)layoutVoiceElements.getNextX(d[a])>l&&(l=layoutVoiceElements.getNextX(d[a]),u=layoutVoiceElements.getSpacingUnits(d[a]),f=d[a].spacingduration);i+=u,s=Math.min(s,u),r&&console.log("currentduration: ",c,i,s);var h=void 0;for(a=0;a<d.length;a++){var v=d[a];0===v.voicenumber&&(h=a);var g=void 0!==h&&d[h].voicenumber!==v.voicenumber?d[h]:void 0;isSameStaff(v,g)||(g=void 0);var m=layoutVoiceElements.layoutOneItem(l,e,v,t.minPadding,g),b=m-l;if(b>0){l=m;for(var A=0;A<a;A++)layoutVoiceElements.shiftRight(b,d[A])}}for(a=0;a<p.length;a++)p[a].spacingduration-=f,layoutVoiceElements.updateNextX(l,e,p[a]);for(a=0;a<d.length;a++){var y=d[a];layoutVoiceElements.updateIndices(y)}}for(a=0;a<n.voices.length;a++)layoutVoiceElements.getNextX(n.voices[a])>l&&(l=layoutVoiceElements.getNextX(n.voices[a]),u=layoutVoiceElements.getSpacingUnits(n.voices[a]));return checkLastBarX(n.voices),i+=u,n.setWidth(l),{spacingUnits:i,minSpace:s}};function finished(e){for(var t=0;t<e.length;t++)if(!layoutVoiceElements.layoutEnded(e[t]))return!1;return!0}function getDurationIndex(e){return e.durationindex-(e.children[e.i]&&e.children[e.i].duration>0?0:5e-7)}function isSameStaff(e,t){return!!(e&&e.staff&&e.staff.voices&&0!==e.staff.voices.length)&&(!!(t&&t.staff&&t.staff.voices&&0!==t.staff.voices.length)&&e.staff.voices[0]===t.staff.voices[0])}var staffGroup$1=layoutStaffGroup$1;function getLeftEdgeOfStaff$1(e,t,r,n,o){var a,i,s=e.padding.left,l=0;for(a=0;a<r.length;a++)r[a].header&&(i=t.calc(r[a].header,"voicefont",""),l=Math.max(l,i.width));(l=addBraceSize(l,n,t),l=addBraceSize(l,o,t))&&(l+=t.calc("A","voicefont","").width);var c=0;return c=setBraceLocation(n,s+=l,c),s+(c=setBraceLocation(o,s,c))}function addBraceSize(e,t,r){if(t)for(var n=0;n<t.length;n++)if(t[n].header){var o=r.calc(t[n].header,"voicefont","");e=Math.max(e,o.width)}return e}function setBraceLocation(e,t,r){if(e)for(var n=0;n<e.length;n++)setLocation(t,e[n]),r=Math.max(r,e[n].getWidth());return r}function setLocation(e,t){t.x=e}var getLeftEdgeOfStaff_1=getLeftEdgeOfStaff$1,layoutVoice=voice$1,setUpperAndLowerElements=setUpperAndLowerElements_1,layoutStaffGroup=staffGroup$1,getLeftEdgeOfStaff=getLeftEdgeOfStaff_1,layout$2=function(e,t,r,n){var o,a,i=r;for(o=0;o<t.lines.length;o++)(a=t.lines[o]).staff&&(setXSpacing(e,r,n,a.staffGroup,t.formatting,o===t.lines.length-1,!1),a.staffGroup.w>i&&(i=a.staffGroup.w));for(o=0;o<t.lines.length;o++)if((a=t.lines[o]).staffGroup&&a.staffGroup.voices){for(var s=0;s<a.staffGroup.voices.length;s++)layoutVoice(a.staffGroup.voices[s]);setUpperAndLowerElements(e,a.staffGroup)}for(o=0;o<t.lines.length;o++)(a=t.lines[o]).staffGroup&&a.staffGroup.setHeight();return i},setXSpacing=function(e,t,r,n,o,a,i){for(var s=getLeftEdgeOfStaff(e,n.getTextSize,n.voices,n.brace,n.bracket),l=r,c=0;c<8;c++){var u=layoutStaffGroup(l,e,i,n,s);if(l=calcHorizontalSpacing(a,o.stretchlast,t+e.padding.left,n.w,l,u.spacingUnits,u.minSpace,e.padding.left+e.padding.right),i&&console.log("setXSpace",c,n.w,l,n.minspace),null===l)break}centerWholeRests(n.voices)};function calcHorizontalSpacing(e,t,r,n,o,a,i,s){if(e)if(void 0===t){if(n/r<.66)return null}else if(!(1-(n+s)/r<t))return null;return Math.abs(r-n)<2?null:a>0?((o=(r-(n-a*o))/a)*i>50&&(o=50/i),o):null}function centerWholeRests(e){for(var t=0;t<e.length;t++)for(var r=e[t],n=1;n<r.children.length-1;n++){var o=r.children[n];if(o.abcelem.rest&&("whole"===o.abcelem.rest.type||"multimeasure"===o.abcelem.rest.type)){var a=r.children[n-1],i=r.children[n+1];o.center(a,i)}}}var layout_1=layout$2,Classes$1=function(e){this.shouldAddClasses=e.shouldAddClasses,this.reset()};Classes$1.prototype.reset=function(){this.lineNumber=null,this.voiceNumber=null,this.measureNumber=null,this.measureTotalPerLine=[],this.noteNumber=null},Classes$1.prototype.incrLine=function(){null===this.lineNumber?this.lineNumber=0:this.lineNumber++,this.voiceNumber=null,this.measureNumber=null,this.noteNumber=null},Classes$1.prototype.incrVoice=function(){null===this.voiceNumber?this.voiceNumber=0:this.voiceNumber++,this.measureNumber=null,this.noteNumber=null},Classes$1.prototype.isInMeasure=function(){return null!==this.measureNumber},Classes$1.prototype.newMeasure=function(){this.measureNumber&&(this.measureTotalPerLine[this.lineNumber]=this.measureNumber),this.measureNumber=null,this.noteNumber=null},Classes$1.prototype.startMeasure=function(){this.measureNumber=0,this.noteNumber=0},Classes$1.prototype.incrMeasure=function(){this.measureNumber++,this.noteNumber=0},Classes$1.prototype.incrNote=function(){this.noteNumber++},Classes$1.prototype.measureTotal=function(){for(var e=0,t=0;t<this.lineNumber;t++)e+=this.measureTotalPerLine[t]?this.measureTotalPerLine[t]:0;return this.measureNumber&&(e+=this.measureNumber),e},Classes$1.prototype.getCurrent=function(e){return{line:this.lineNumber,measure:this.measureNumber,measureTotal:this.measureTotal(),voice:this.voiceNumber,note:this.noteNumber}},Classes$1.prototype.generate=function(e){if(!this.shouldAddClasses)return"";var t=[];if(e&&e.length>0&&t.push(e),"tab-number"===e)return t.join(" ");if("text instrument-name"===e)return"abcjs-text abcjs-instrument-name";if(null!==this.lineNumber&&t.push("l"+this.lineNumber),null!==this.measureNumber&&t.push("m"+this.measureNumber),null!==this.measureNumber&&t.push("mm"+this.measureTotal()),null!==this.voiceNumber&&t.push("v"+this.voiceNumber),e&&(e.indexOf("note")>=0||e.indexOf("rest")>=0||e.indexOf("lyric")>=0)&&null!==this.noteNumber&&t.push("n"+this.noteNumber),t.length>0){t=(t=t.join(" ")).split(" ");for(var r=0;r<t.length;r++)0!==t[r].indexOf("abcjs-")&&t[r].length>0&&(t[r]="abcjs-"+t[r])}return t.join(" ")};var classes$2=Classes$1,GetFontAndAttr$1=function(e,t){this.formatting=e,this.classes=t};GetFontAndAttr$1.prototype.updateFonts=function(e){e.gchordfont&&(this.formatting.gchordfont=e.gchordfont),e.tripletfont&&(this.formatting.tripletfont=e.tripletfont),e.annotationfont&&(this.formatting.annotationfont=e.annotationfont),e.vocalfont&&(this.formatting.vocalfont=e.vocalfont)},GetFontAndAttr$1.prototype.calc=function(e,t){var r;r="string"==typeof e?(r=this.formatting[e])?{face:r.face,size:Math.round(4*r.size/3),decoration:r.decoration,style:r.style,weight:r.weight,box:r.box}:{face:"Arial",size:Math.round(16),decoration:"underline",style:"normal",weight:"normal"}:{face:e.face,size:Math.round(4*e.size/3),decoration:e.decoration,style:e.style,weight:e.weight,box:e.box};var n=this.formatting.fontboxpadding?this.formatting.fontboxpadding:.1;return r.padding=r.size*n,{font:r,attr:{"font-size":r.size,"font-style":r.style,"font-family":r.face,"font-weight":r.weight,"text-decoration":r.decoration,class:this.classes.generate(t)}}};var getFontAndAttr=GetFontAndAttr$1,GetTextSize$1=function(e,t){this.getFontAndAttr=e,this.svg=t};GetTextSize$1.prototype.updateFonts=function(e){this.getFontAndAttr.updateFonts(e)},GetTextSize$1.prototype.attr=function(e,t){return this.getFontAndAttr.calc(e,t)},GetTextSize$1.prototype.calc=function(e,t,r,n){var o;o="string"==typeof t?this.attr(t,r):{font:{face:t.face,size:t.size,decoration:t.decoration,style:t.style,weight:t.weight},attr:{"font-size":t.size,"font-style":t.style,"font-family":t.face,"font-weight":t.weight,"text-decoration":t.decoration,class:this.getFontAndAttr.classes.generate(r)}};var a=this.svg.getTextSize(e,o.attr,n);return o.font.box?{height:a.height+4*o.font.padding,width:a.width+4*o.font.padding}:a},GetTextSize$1.prototype.baselineToCenter=function(e,t,r,n,o){return.5*this.calc(e,t,r).height+(o-n-2)*this.attr(t,r).font.size};var getTextSize=GetTextSize$1,sprintf$7=function(){for(var e,t,r,n,o,a=0,i=arguments[a++],s=[];i;){if(t=/^[^\x25]+/.exec(i))s.push(t[0]);else if(t=/^\x25{2}/.exec(i))s.push("%");else{if(!(t=/^\x25(?:(\d+)\$)?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(i)))throw"Huh ?!";if(null==(e=arguments[t[1]||a++])||null==e)throw"Too few arguments.";if(/[^s]/.test(t[7])&&"number"!=typeof e)throw"Expecting number but found "+_typeof2(e);switch(t[7]){case"b":e=e.toString(2);break;case"c":e=String.fromCharCode(e);break;case"d":e=parseInt(e);break;case"e":e=t[6]?e.toExponential(t[6]):e.toExponential();break;case"f":e=t[6]?parseFloat(e).toFixed(t[6]):parseFloat(e);break;case"o":e=e.toString(8);break;case"s":e=(e=String(e))&&t[6]?e.substring(0,t[6]):e;break;case"u":e=Math.abs(e);break;case"x":e=e.toString(16);break;case"X":e=e.toString(16).toUpperCase()}e=/[def]/.test(t[7])&&t[2]&&e>0?"+"+e:e,n=t[3]?"0"==t[3]?"0":t[3][1]:" ",o=t[5]-String(e).length,r=t[5]?str_repeat(n,o):"",s.push(t[4]?e+r:r+e)}i=i.substring(t[0].length)}return s.join("")},sprintf_1=sprintf$7;function roundNumber$a(e){return parseFloat(e.toFixed(2))}var roundNumber_1=roundNumber$a,roundNumber$9=roundNumber_1;function renderText$8(e,t,r){var n,o=t.y;if(t.lane){var a=.25*t.dim.font.size;o+=(t.dim.font.size+a)*t.lane}t.dim?(n=t.dim).attr.class=t.klass:n=e.controller.getFontAndAttr.calc(t.type,t.klass),t.anchor&&(n.attr["text-anchor"]=t.anchor),n.attr.x=t.x,n.attr.y=o,t.centerVertically||(n.attr.y+=n.font.size),"debugfont"===t.type&&(console.log("Debug msg: "+t.text),n.attr.stroke="#ff0000"),t.cursor&&(n.attr.cursor=t.cursor);var i=t.text.replace(/\n\n/g,"\n \n");i=i.replace(/^\n/," \n"),n.font.box&&(r||e.paper.openGroup({klass:n.attr.class,fill:e.foregroundColor,"data-name":t.name}),"end"===n.attr["text-anchor"]?n.attr.x-=n.font.padding:"start"===n.attr["text-anchor"]&&(n.attr.x+=n.font.padding),n.attr.y+=n.font.padding,delete n.attr.class),t.noClass&&delete n.attr.class,n.attr.x=roundNumber$9(n.attr.x),n.attr.y=roundNumber$9(n.attr.y),t.name&&(n.attr["data-name"]=t.name);var s=e.paper.text(i,n.attr);if(n.font.box){var l=s.getBBox(),c=0;"middle"===n.attr["text-anchor"]?c=l.width/2+n.font.padding:"end"===n.attr["text-anchor"]&&(c=l.width+2*n.font.padding);var u=0;t.centerVertically&&(u=l.height-n.font.padding),e.paper.rect({"data-name":"box",x:Math.round(t.x-c),y:Math.round(o-u),width:Math.round(l.width+2*n.font.padding),height:Math.round(l.height+2*n.font.padding)}),r||(s=e.paper.closeGroup())}return s}var text$1=renderText$8,sprintf$6=sprintf_1,spacing$4=spacing_1,renderText$7=text$1;function drawBrace$1(e,t,r){var n=t.startVoice.staff.absoluteY-10*spacing$4.STEP;return t.endVoice&&t.endVoice.staff?t.endY=t.endVoice.staff.absoluteY-2*spacing$4.STEP:t.lastContinuedVoice&&t.lastContinuedVoice.staff?t.endY=t.lastContinuedVoice.staff.absoluteY-2*spacing$4.STEP:t.endY=t.startVoice.staff.absoluteY-2*spacing$4.STEP,draw$3(e,t.x,n,t.endY,t.type,t.header,r)}function straightPath(e,t,r,n,o){t+=spacing$4.STEP;var a=.75*spacing$4.STEP,i=.75*spacing$4.STEP,s=n-r,l=sprintf$6("M %f %f l %f %f l %f %f l %f %f z",t,r-i,0,s+2*i,a,0,0,-(s+2*i)),c=2*spacing$4.STEP,u=spacing$4.STEP;return l+=sprintf$6("M %f %f q %f %f %f %f q %f %f %f %f z",t+a,r-i,.6*c,.2*u,c,-u,.1*-c,.3*u,-c,u+spacing$4.STEP),l+=sprintf$6("M %f %f q %f %f %f %f q %f %f %f %f z",t+a,r+i+s,.6*c,.2*-u,c,u,.1*-c,.3*-u,-c,-u-spacing$4.STEP),e.paper.path({path:l,stroke:e.foregroundColor,fill:e.foregroundColor,class:e.controller.classes.generate(o),"data-name":o})}function curvyPath(e,t,r,n,o){var a=n-r,i=curve(t,r,[7.5,-8,21,0,18.5,-10.5,7.5],[0,a/5.5,a/3.14,a/2,a/2.93,a/4.88,0]);return i+=curve(t,r,[0,17.5,-7.5,6.6,-5,20,0],[a/2,a/1.46,a/1.22,a,a/1.19,a/1.42,a/2]),e.paper.path({path:i,stroke:e.foregroundColor,fill:e.foregroundColor,class:e.controller.classes.generate(o),"data-name":o})}function curve(e,t,r,n){return sprintf$6("M %f %f C %f %f %f %f %f %f C %f %f %f %f %f %f z",e+r[0],t+n[0],e+r[1],t+n[1],e+r[2],t+n[2],e+r[3],t+n[3],e+r[4],t+n[4],e+r[5],t+n[5],e+r[6],t+n[6])}var draw$3=function(e,t,r,n,o,a,i){var s;if(a){e.paper.openGroup({klass:e.controller.classes.generate("staff-extra voice-name"),"data-name":o});var l=r+(n-r)/2;l-=e.controller.getTextSize.baselineToCenter(a,"voicefont","staff-extra voice-name",0,1),renderText$7(e,{x:e.padding.left,y:l,text:a,type:"voicefont",klass:"staff-extra voice-name",anchor:"start",centerVertically:!0})}return"brace"===o?s=curvyPath(e,t,r,n,o):"bracket"===o&&(s=straightPath(e,t,r,n,o)),a&&(s=e.paper.closeGroup()),i.wrapSvgEl({el_type:o,startChar:-1,endChar:-1},s),s},brace=drawBrace$1;function printPath$5(e,t,r){return e.paper.path(t)}var printPath_1=printPath$5,sprintf$5=sprintf_1,printPath$4=printPath_1,roundNumber$8=roundNumber_1;function drawGlissando$1(e,t,r){t.anchor1&&t.anchor2&&t.anchor1.heads&&t.anchor2.heads&&0!==t.anchor1.heads.length&&0!==t.anchor2.heads.length||window.console.error("Glissando Element not set.");var n=e.calcY(t.anchor1.heads[0].pitch),o=e.calcY(t.anchor2.heads[0].pitch),a=t.anchor1.x+t.anchor1.w/2,i=t.anchor2.x+t.anchor2.w/2,s=lineLength(a,n,i,o),l=t.anchor1.w/2+4,c=t.anchor2.w/2+4,u=slope(a,n,i,o),d=getY$1(n,u,l);getY$1(o,u,-c);var p=numSquigglies(s-l-c),f=drawSquiggly(e,a+l,d,p,u);return r.wrapSvgEl({el_type:"glissando",startChar:-1,endChar:-1},f),[f]}function lineLength(e,t,r,n){var o=r-e,a=n-t;return Math.sqrt(o*o+a*a)}function slope(e,t,r,n){return(n-t)/(r-e)}function getY$1(e,t,r){return roundNumber$8(e+r*t)}function numSquigglies(e){return Math.max(2,Math.floor((e-10)/6))}var leftStart=[[3.5,-4.8]],right=[[1.5,-1],[.3,-.3],[-3.5,3.8]],leftEnd=[[-1.5,2]],top=[[3,4],[3,-4]],bottom=[[-3,4],[-3,-4]];function segment(e,t){for(var r="",n=0;n<e.length;n++)r+="l"+e[n][0]+" "+getY$1(e[n][1],t,e[n][0]);return r}var drawSquiggly=function(e,t,r,n,o){var a,i=sprintf$5("M %f %f",t,r);for(i+=segment(leftStart,o),a=0;a<n;a++)i+=segment(top,o);for(i+=segment(right,o),a=0;a<n;a++)i+=segment(bottom,o);return i+=segment(leftEnd,o)+"z",printPath$4(e,{path:i,highlight:"stroke",stroke:e.foregroundColor,class:e.controller.classes.generate("decoration"),"data-name":"glissando"})},glissando=drawGlissando$1,sprintf$4=sprintf_1,printPath$3=printPath_1,roundNumber$7=roundNumber_1;function drawCrescendo$1(e,t,r){void 0===t.pitch&&window.console.error("Crescendo Element y-coordinate not set.");var n,o=e.calcY(t.pitch)+4,a=t.anchor1?t.anchor1.x:0,i=t.anchor2?t.anchor2.x:800;return n="<"===t.dir?drawLine$1(e,o+4,o,o+4,o+8,a,i):drawLine$1(e,o,o+4,o+8,o+4,a,i),r.wrapSvgEl({el_type:"dynamicDecoration",startChar:-1,endChar:-1},n),[n]}var drawLine$1=function(e,t,r,n,o,a,i){t=roundNumber$7(t),r=roundNumber$7(r),n=roundNumber$7(n),o=roundNumber$7(o),a=roundNumber$7(a),i=roundNumber$7(i);var s=sprintf$4("M %f %f L %f %f M %f %f L %f %f",a,t,i,r,a,n,i,o);return printPath$3(e,{path:s,highlight:"stroke",stroke:e.foregroundColor,class:e.controller.classes.generate("dynamics decoration"),"data-name":"dynamics"})},crescendo=drawCrescendo$1,roundNumber$6=roundNumber_1;function Group(){this.ingroup=!1}Group.prototype.beginGroup=function(e,t){this.paper=e,this.controller=t,this.path=[],this.lastM=[0,0],this.ingroup=!0,this.paper.openGroup()},Group.prototype.isInGroup=function(){return this.ingroup},Group.prototype.addPath=function(e){if(0!==(e=e||[]).length){e[0][0]="m",e[0][1]=roundNumber$6(e[0][1]-this.lastM[0]),e[0][2]=roundNumber$6(e[0][2]-this.lastM[1]),this.lastM[0]+=e[0][1],this.lastM[1]+=e[0][2],this.path.push(e[0]);for(var t=1,r=e.length;t<r;t++)"m"===e[t][0]&&(this.lastM[0]+=e[t][1],this.lastM[1]+=e[t][2]),this.path.push(e[t])}},Group.prototype.endGroup=function(e,t){this.ingroup=!1;for(var r=0;r<this.path.length;r++)this.path[r].join(" ");this.path=[];var n=this.paper.closeGroup();return n&&(n.setAttribute("class",this.controller.classes.generate(e)),n.setAttribute("fill",this.controller.renderer.foregroundColor),n.setAttribute("stroke","none"),n.setAttribute("data-name",t)),n};var elementGroup$3=new Group,groupElements=elementGroup$3,renderText$6=text$1,glyphs$1=glyphs_1,elementGroup$2=groupElements;function printSymbol$2(e,t,r,n,o){var a,i;if(!n)return null;if(n.length>1&&n.indexOf(".")<0){var s=elementGroup$2.isInGroup()?"":o.klass;e.paper.openGroup({"data-name":o.name,klass:s});for(var l=0,c=0;c<n.length;c++){var u=n[c];i=glyphs$1.getYCorr(u),(a=glyphs$1.printSymbol(t+l,e.calcY(r+i),u,e.paper,{stroke:o.stroke,fill:o.fill}))?c<n.length-1&&(l+=kernSymbols(u,n[c+1],glyphs$1.getSymbolWidth(u))):renderText$6(e,{x:t,y:e.y,text:"no symbol:"+n,type:"debugfont",klass:"debug-msg",anchor:"start"},!1)}return e.paper.closeGroup()}return i=glyphs$1.getYCorr(n),(a=elementGroup$2.isInGroup()?glyphs$1.printSymbol(t,e.calcY(r+i),n,e.paper,{"data-name":o.name}):glyphs$1.printSymbol(t,e.calcY(r+i),n,e.paper,{klass:o.klass,stroke:o.stroke,fill:o.fill,"data-name":o.name}))?a:(renderText$6(e,{x:t,y:e.y,text:"no symbol:"+n,type:"debugfont",klass:"debug-msg",anchor:"start"},!1),null)}function kernSymbols(e,t,r){var n=r;return"f"===e&&"f"===t&&(n=2*n/3),"p"===e&&"p"===t&&(n=5*n/6),"f"===e&&"z"===t&&(n=5*n/8),n}var printSymbol_1=printSymbol$2,printSymbol$1=printSymbol_1;function drawDynamics$1(e,t,r){void 0===t.pitch&&window.console.error("Dynamic Element y-coordinate not set.");var n=printSymbol$1(e,t.anchor.x,t.pitch,t.dec,{scalex:1,scaley:1,klass:e.controller.classes.generate("decoration dynamics"),fill:e.foregroundColor,stroke:"none",name:"dynamics"});return r.wrapSvgEl({el_type:"dynamicDecoration",startChar:-1,endChar:-1,decoration:t.dec},n),[n]}var dynamics=drawDynamics$1,sprintf$3=sprintf_1,renderText$5=text$1,printPath$2=printPath_1,roundNumber$5=roundNumber_1;function drawTriplet$1(e,t,r){e.paper.openGroup({klass:e.controller.classes.generate("triplet "+t.durationClass),"data-name":"triplet"}),t.hasBeam||drawBracket(e,t.anchor1.x,t.startNote,t.anchor2.x+t.anchor2.w,t.endNote),renderText$5(e,{x:t.xTextPos,y:e.calcY(t.yTextPos-1),text:""+t.number,type:"tripletfont",anchor:"middle",centerVertically:!0,noClass:!0,name:""+t.number},!0);var n=e.paper.closeGroup();return r.wrapSvgEl({el_type:"triplet",startChar:-1,endChar:-1},n),n}function drawLine(e,t,r,n){return sprintf$3("M %f %f L %f %f",roundNumber$5(e),roundNumber$5(t),roundNumber$5(r),roundNumber$5(n))}function drawBracket(e,t,r,n,o){r=e.calcY(r),o=e.calcY(o);var a="";a+=drawLine(t,r,t,r+5),a+=drawLine(n,o,n,o+5);var i=t+(n-t)/2,s=(o-r)/(n-t),l=i-8;a+=drawLine(t,r,l,r+(l-t)*s);var c=i+8;a+=drawLine(c,r+(c-t)*s,n,o),printPath$2(e,{path:a,stroke:e.foregroundColor,"data-name":"triplet-bracket"})}var triplet=drawTriplet$1,sprintf$2=sprintf_1,renderText$4=text$1,printPath$1=printPath_1,roundNumber$4=roundNumber_1;function drawEnding$1(e,t,r,n,o){void 0===t.pitch&&window.console.error("Ending Element y-coordinate not set.");var a=roundNumber$4(e.calcY(t.pitch)),i="";t.anchor1&&(r=roundNumber$4(t.anchor1.x+t.anchor1.w),i+=sprintf$2("M %f %f L %f %f ",r,a,r,roundNumber$4(a+20))),t.anchor2&&(n=roundNumber$4(t.anchor2.x),i+=sprintf$2("M %f %f L %f %f ",n,a,n,roundNumber$4(a+20))),i+=sprintf$2("M %f %f L %f %f ",r,a,n,a),e.paper.openGroup({klass:e.controller.classes.generate("ending"),"data-name":"ending"}),printPath$1(e,{path:i,stroke:e.foregroundColor,fill:e.foregroundColor,"data-name":"line"}),t.anchor1&&renderText$4(e,{x:roundNumber$4(r+5),y:roundNumber$4(e.calcY(t.pitch-.5)),text:t.text,type:"repeatfont",klass:"ending",anchor:"start",noClass:!0,name:t.text});var s=e.paper.closeGroup();return o.wrapSvgEl({el_type:"ending",startChar:-1,endChar:-1},s),[s]}var ending=drawEnding$1,sprintf$1=sprintf_1,roundNumber$3=roundNumber_1;function drawTie$1(e,t,r,n,o){layout$1(t,r,n);var a="";t.anchor1?a+="abcjs-start-m"+t.anchor1.parent.counters.measure+"-n"+t.anchor1.parent.counters.note:a+="abcjs-start-edge",t.anchor2?a+=" abcjs-end-m"+t.anchor2.parent.counters.measure+"-n"+t.anchor2.parent.counters.note:a+=" abcjs-end-edge",t.hint&&(a="abcjs-hint");var i=t.fixedY?1.5:0,s=drawArc(e,t.startX,t.endX,t.startY+i,t.endY+i,t.above,a,t.isTie,t.dotted);return o.wrapSvgEl({el_type:"slur",startChar:-1,endChar:-1},s),[s]}var layout$1=function(e,t,r){e.anchor1&&e.anchor2?e.anchor1.pitch===e.anchor2.pitch&&0===e.internalNotes.length?e.isTie=!0:e.isTie=!1:e.isTie=!0,e.isTie?(e.calcTieDirection(),e.calcX(t,r),e.calcTieY()):(e.calcSlurDirection(),e.calcX(t,r),e.calcSlurY()),e.avoidCollisionAbove()},drawArc=function(e,t,r,n,o,a,i,s,l){var c=s?1.2:1.5;t=roundNumber$3(t+6),r=roundNumber$3(r+4),n+=a?c:-c,o+=a?c:-c;var u,d=roundNumber$3(e.calcY(n)),p=roundNumber$3(e.calcY(o)),f=r-t,h=p-d,v=Math.sqrt(f*f+h*h),g=f/v,m=h/v,b=v/3.5,A=s?10:25,y=(a?-1:1)*Math.min(A,Math.max(4,b)),x=roundNumber$3(t+b*g-y*m),w=roundNumber$3(d+b*m+y*g),C=roundNumber$3(r-b*g-y*m),k=roundNumber$3(p-b*m+y*g);if(i?i+=" slur":i="slur",i+=s?" tie":" legato",l){i+=" dotted";var _=sprintf$1("M %f %f C %f %f %f %f %f %f",t,d,x,w,C,k,r,p);u=e.paper.path({path:_,stroke:e.foregroundColor,fill:"none","stroke-dasharray":"5 5",class:e.controller.classes.generate(i),"data-name":s?"tie":"slur"})}else{var S=sprintf$1("M %f %f C %f %f %f %f %f %f C %f %f %f %f %f %f z",t,d,x,w,C,k,r,p,roundNumber$3(C-2*m),roundNumber$3(k+2*g),roundNumber$3(x-2*m),roundNumber$3(w+2*g),t,d);u=e.paper.path({path:S,stroke:"none",fill:e.foregroundColor,class:e.controller.classes.generate(i),"data-name":s?"tie":"slur"})}return u},tie=drawTie$1,printPath=printPath_1,roundNumber$2=roundNumber_1;function drawBeam$1(e,t){if(0!==t.beams.length){for(var r="",n=0;n<t.beams.length;n++){var o=t.beams[n];if(o.split){for(var a=getSlope(e,o.startX,o.startY,o.endX,o.endY),i=[],s=0;s<o.split.length;s+=2)i.push([o.split[s],o.split[s+1]]);for(s=0;s<i.length;s++){var l=getY(o.startX,o.startY,a,i[s][0]),c=getY(o.startX,o.startY,a,i[s][1]);r+=draw$2(e,i[s][0],l,i[s][1],c,o.dy)}}else r+=draw$2(e,o.startX,o.startY,o.endX,o.endY,o.dy)}var u=("abcjs-d"+t.duration).replace(/\./g,"-"),d=e.controller.classes.generate("beam-elem "+u);return[printPath(e,{path:r,stroke:"none",fill:e.foregroundColor,class:d})]}}function draw$2(e,t,r,n,o,a){r=roundNumber$2(e.calcY(r)),o=roundNumber$2(e.calcY(o)),t=roundNumber$2(t),n=roundNumber$2(n);var i=roundNumber$2(r+a);return"M"+t+" "+r+" L"+n+" "+o+"L"+n+" "+roundNumber$2(o+a)+" L"+t+" "+i+"z"}function getSlope(e,t,r,n,o){return(o-r)/(n-t)}function getY(e,t,r,n){return t+(n-e)*r}var beam=drawBeam$1,elementGroup$1=groupElements,roundNumber$1=roundNumber_1;function printStem$2(e,t,r,n,o,a,i){if(r<0||n<o){var s=roundNumber$1(o);o=roundNumber$1(n),n=s}else n=roundNumber$1(n),o=roundNumber$1(o);t=roundNumber$1(t);var l=roundNumber$1(t+r);if(e.firefox112){var c={x1:t+=r/2,x2:t,y1:n,y2:o,stroke:e.foregroundColor,"stroke-width":Math.abs(r)};return a&&(c.class=a),i&&(c["data-name"]=i),e.paper.lineToBack(c)}for(var u=[["M",t,n],["L",t,o],["L",l,o],["L",l,n],["z"]],d=(c={path:""},0);d<u.length;d++)c.path+=u[d].join(" ");return a&&(c.class=a),i&&(c["data-name"]=i),elementGroup$1.isInGroup()||(c.stroke="none",c.fill=e.foregroundColor),e.paper.pathToBack(c)}var printStem_1=printStem$2,sprintf=sprintf_1,roundNumber=roundNumber_1;function printLine$1(e,t,r,n,o,a,i){var s=e.foregroundColor;t=roundNumber(t),r=roundNumber(r);var l=roundNumber(n-i),c=roundNumber(n+i);if(e.firefox112){var u={x1:t,x2:r,y1:n+=i/2,y2:n,stroke:e.foregroundColor,"stroke-width":Math.abs(2*i)};return o&&(u.class=o),a&&(u["data-name"]=a),e.paper.lineToBack(u)}var d={path:sprintf("M %f %f L %f %f L %f %f L %f %f z",t,l,r,l,r,c,t,c),stroke:"none",fill:s};return a&&(d["data-name"]=a),o&&(d.class=o),e.paper.pathToBack(d)}var printLine_1=printLine$1,printLine=printLine_1;function printStaffLine$2(e,t,r,n,o,a,i){var s=e.calcY(n);return printLine(e,t,r,s,o,a,i)}var staffLine=printStaffLine$2,renderText$3=text$1,printStem$1=printStem_1,printStaffLine$1=staffLine,printSymbol=printSymbol_1;function drawRelativeElement$2(e,t,r){void 0===t.pitch&&window.console.error(t.type+" Relative Element y-coordinate not set.");var n=e.calcY(t.pitch);switch(t.type){case"symbol":if(null===t.c)return null;var o="symbol";t.klass&&(o+=" "+t.klass),t.graphelem=printSymbol(e,t.x,t.pitch,t.c,{scalex:t.scalex,scaley:t.scaley,klass:e.controller.classes.generate(o),name:t.name});break;case"debug":t.graphelem=renderText$3(e,{x:t.x,y:e.calcY(15),text:""+t.c,type:"debugfont",klass:e.controller.classes.generate("debug-msg"),anchor:"start",centerVertically:!1,dim:t.dim},!1);break;case"tabNumber":var a="tabnumberfont",i="tab-number";t.isGrace&&(a="tabgracefont",n+=2.5,i="tab-grace"),t.graphelem=renderText$3(e,{x:t.x,y:n,text:""+t.c,type:a,klass:e.controller.classes.generate(i),anchor:"middle",centerVertically:!1,dim:t.dim,cursor:"default"},!1);break;case"barNumber":t.graphelem=renderText$3(e,{x:t.x,y:n,text:""+t.c,type:"measurefont",klass:e.controller.classes.generate("bar-number"),anchor:"middle",dim:t.dim,name:"bar-number"},!0);break;case"lyric":t.graphelem=renderText$3(e,{x:t.x,y:n,text:t.c,type:"vocalfont",klass:e.controller.classes.generate("lyric"),anchor:"middle",dim:t.dim,name:"lyric"},!1);break;case"chord":t.graphelem=renderText$3(e,{x:t.x,y:n,text:t.c,type:"gchordfont",klass:e.controller.classes.generate("chord"),anchor:"middle",dim:t.dim,lane:t.getLane(),name:"chord"},!1);break;case"decoration":t.graphelem=renderText$3(e,{x:t.x,y:n+6,text:t.c,type:"annotationfont",klass:e.controller.classes.generate("annotation"),anchor:t.anchor,centerVertically:!0,dim:t.dim},!1);break;case"text":t.graphelem=renderText$3(e,{x:t.x,y:n,text:t.c,type:"annotationfont",klass:e.controller.classes.generate("annotation"),anchor:"start",centerVertically:t.centerVertically,dim:t.dim,lane:t.getLane(),name:"annotation"},!1);break;case"multimeasure-text":t.graphelem=renderText$3(e,{x:t.x+t.w/2,y:n,text:t.c,type:"tempofont",klass:e.controller.classes.generate("rest"),anchor:"middle",centerVertically:!1,dim:t.dim},!1);break;case"part":t.graphelem=renderText$3(e,{x:t.x,y:n,text:t.c,type:"partsfont",klass:e.controller.classes.generate("part"),anchor:"start",dim:t.dim,name:t.c},!0);break;case"bar":t.graphelem=printStem$1(e,t.x,t.linewidth+e.lineThickness,n,r||e.calcY(t.pitch2),null,"bar");break;case"stem":var s=t.linewidth>0?t.linewidth+e.lineThickness:t.linewidth-e.lineThickness;t.graphelem=printStem$1(e,t.x,s,n,e.calcY(t.pitch2),"abcjs-stem","stem");break;case"ledger":t.graphelem=printStaffLine$1(e,t.x,t.x+t.w,t.pitch,"abcjs-ledger","ledger",.35+e.lineThickness)}return 1!==t.scalex&&t.graphelem&&scaleExistingElem(e.paper,t.graphelem,t.scalex,t.scaley,t.x,n),t.graphelem}function scaleExistingElem(e,t,r,n,o,a){e.setAttributeOnElement(t,{style:"transform:scale("+r+","+n+");transform-origin:"+o+"px "+a+"px;"})}var relative=drawRelativeElement$2,drawRelativeElement$1=relative,renderText$2=text$1;function drawTempo$1(e,t){var r=t.x;void 0===t.pitch&&window.console.error("Tempo Element y-coordinate not set."),t.tempo.el_type="tempo";var n,o=e.calcY(t.pitch)+2;if(t.tempo.preString){n=renderText$2(e,{x:r,y:o,text:t.tempo.preString,type:"tempofont",klass:"abcjs-tempo",anchor:"start",noClass:!0,"dominant-baseline":"ideographic",name:"pre"},!0);var a=e.controller.getTextSize.calc(t.tempo.preString,"tempofont","tempo",n).width;r+=a+a/t.tempo.preString.length}if(t.note){t.note.setX(r);for(var i=0;i<t.note.children.length;i++)drawRelativeElement$1(e,t.note.children[i],r);r+=t.note.w+5;var s="= "+t.tempo.bpm;n=renderText$2(e,{x:r,y:o,text:s,type:"tempofont",klass:"abcjs-tempo",anchor:"start",noClass:!0,name:"beats"});var l=e.controller.getTextSize.calc(s,"tempofont","tempo",n).width;r+=l+l/s.length}t.tempo.postString&&renderText$2(e,{x:r,y:o,text:t.tempo.postString,type:"tempofont",klass:"abcjs-tempo",anchor:"start",noClass:!0,name:"post"},!0)}var tempo=drawTempo$1,drawTempo=tempo,drawRelativeElement=relative,spacing$3=spacing_1,setClass=setClass_1,elementGroup=groupElements;function drawAbsolute$1(e,t,r,n,o){if(!t.invisible){var a=t.children.length>0&&"TempoElement"===t.children[0].type;t.elemset=[],elementGroup.beginGroup(e.paper,e.controller);for(var i=0;i<t.children.length;i++){var s=t.children[i];if("TempoElement"===s.type)drawTempo(e,s);else drawRelativeElement(e,s,r)}var l=t.type;if(("note"===t.type||"rest"===t.type)&&(t.counters=e.controller.classes.getCurrent(),l=(l+=" d"+Math.round(1e3*t.durationClass)/1e3).replace(/\./g,"-"),t.abcelem.pitches))for(var c=0;c<t.abcelem.pitches.length;c++)l+=" p"+t.abcelem.pitches[c].pitch;var u=elementGroup.endGroup(l,t.type);if(u){if(t.cloned&&(t.cloned.overrideClasses=u.className.baseVal),t.overrideClasses){var d=u.classList&&u.classList.length>0?u.classList[0]+" ":"";u.setAttribute("class",d+t.overrideClasses)}if(a)t.startChar=t.abcelem.startChar,t.endChar=t.abcelem.endChar,n.add(t,u,!1,o);else{t.elemset.push(u);var p=!1;"note"!==t.type&&"tabNumber"!==t.type||(p=!0),n.add(t,u,p,o)}}else t.elemset.length>0&&n.add(t,t.elemset[0],"note"===t.type,o);if(t.klass&&setClass(t.elemset,"mark","","#00ff00"),t.hint&&setClass(t.elemset,"abcjs-hint","",null),t.abcelem.abselem=t,t.heads&&t.heads.length>0){t.notePositions=[];for(var f=0;f<t.heads.length;f++)t.notePositions.push({x:t.heads[f].x+t.heads[f].w/2,y:o.zero-t.heads[f].pitch*spacing$3.STEP})}}}var absolute=drawAbsolute$1,drawGlissando=glissando,drawCrescendo=crescendo,drawDynamics=dynamics,drawTriplet=triplet,drawEnding=ending,drawTie=tie,drawBeam=beam,renderText$1=text$1,drawAbsolute=absolute;function drawVoice$1(e,t,r,n,o){var a=t.w-1;e.staffbottom=t.staff.bottom;var i,s,l=e.foregroundColor;if(t.color&&(e.foregroundColor=t.color),t.header){var c=renderText$1(e,{x:e.padding.left,y:e.calcY(t.headerPosition),text:t.header,type:"voicefont",klass:"staff-extra voice-name",anchor:"start",centerVertically:!0,name:"voice-name"},!0);n.wrapSvgEl({el_type:"voiceName",startChar:-1,endChar:-1,text:t.header},c)}var u=!1;for(i=0;i<t.children.length;i++){"note"!==(s=t.children[i]).type&&"rest"!==s.type||(u=!0);var d=!1;"staff-extra"===s.type||e.controller.classes.isInMeasure()||(e.controller.classes.startMeasure(),d=!0),t.staff.isTabStaff&&(s.invisible=!1,"bar"==s.type&&s.abcelem.lastBar&&(r=t.topLine)),drawAbsolute(e,s,t.barto||i===t.children.length-1?r:0,n,o),("note"===s.type||isNonSpacerRest(s))&&e.controller.classes.incrNote(),"bar"===s.type&&!d&&u&&e.controller.classes.incrMeasure()}for(e.controller.classes.startMeasure(),i=0;i<t.beams.length;i++){var p=t.beams[i];"bar"===p?e.controller.classes.incrMeasure():drawBeam(e,p)}for(e.controller.classes.startMeasure(),i=0;i<t.otherchildren.length;i++)if("bar"===(s=t.otherchildren[i]))e.controller.classes.incrMeasure();else switch(s.type){case"GlissandoElem":s.elemset=drawGlissando(e,s,n);break;case"CrescendoElem":s.elemset=drawCrescendo(e,s,n);break;case"DynamicDecoration":s.elemset=drawDynamics(e,s,n);break;case"TripletElem":drawTriplet(e,s,n);break;case"EndingElem":s.elemset=drawEnding(e,s,t.startx+10,a,n);break;case"TieElem":s.elemset=drawTie(e,s,t.startx+10,a,n);break;default:console.log(s),drawAbsolute(e,s,t.startx+10,a,n)}e.foregroundColor=l}function isNonSpacerRest(e){return"rest"===e.type&&!(!e.abcelem||!e.abcelem.rest||"spacer"===e.abcelem.rest.type)}var voice=drawVoice$1,printStaffLine=staffLine;function printStaff$1(e,t,r,n,o,a){var i="abcjs-top-line",s=2;o&&(s=o),e.paper.openGroup({prepend:!0,klass:e.controller.classes.generate("abcjs-staff")});var l=0,c=0;if(1===n)printStaffLine(e,t,r,6,i,null,a+e.lineThickness),l=e.calcY(10),c=e.calcY(2);else for(var u=n-1;u>=0;u--){var d=(u+1)*s;c=e.calcY(d),0===l&&(l=c),printStaffLine(e,t,r,d,i,null,a+e.lineThickness),i=void 0}return e.paper.closeGroup(),[l,c]}var staff=printStaff$1;function printDebugBox$1(e,t,r){var n=e.paper.rectBeneath(t);return r&&e.paper.text(r,{x:0,y:t.y+7,"text-anchor":"start","font-size":"14px",fill:"rgba(0,0,255,.4)",stroke:"rgba(0,0,255,.4)"}),n}var debugBox=printDebugBox$1;function drawSeparator$1(e,t){var r=Math.round(e.y),n=(e.controller.width-t)/2,o=n+t,a="M "+n+" "+r+" L "+o+" "+r+" L "+o+" "+(r+1)+" L "+n+" "+(r+1)+" L "+n+" "+r+" z";e.paper.pathToBack({path:a,stroke:"rgba(0,0,0,0)",fill:"rgba(0,0,0,255)",class:e.controller.classes.generate("defined-text")})}var separator=drawSeparator$1,drawSeparator=separator,renderText=text$1;function nonMusic$2(e,t,r){for(var n=0;n<t.rows.length;n++){var o=t.rows[n];if(o.absmove)e.absolutemoveY(o.absmove);else if(o.move)e.moveY(o.move);else if(o.text){var a=o.left?o.left:0,i=renderText(e,{x:a,y:e.y,text:o.text,type:o.font,klass:o.klass,name:o.name,anchor:o.anchor});o.absElemType&&r.wrapSvgEl({el_type:o.absElemType,name:o.name,startChar:o.startChar,endChar:o.endChar,text:o.text},i)}else if(o.separator)drawSeparator(e,o.separator);else if(o.startGroup)e.paper.openGroup({klass:o.klass,"data-name":o.name});else if(o.endGroup){var s=e.paper.closeGroup();o.absElemType&&r.wrapSvgEl({el_type:o.absElemType,name:o.name,startChar:o.startChar,endChar:o.endChar,text:""},s)}}}var nonMusic_1=nonMusic$2,spacing$2=spacing_1,drawBrace=brace,drawVoice=voice,printStaff=staff,printDebugBox=debugBox,printStem=printStem_1,nonMusic$1=nonMusic_1;function drawStaffGroup$1(e,t,r,n){for(var o,a,i,s=e.y,l=0;l<t.staffs.length;l++){var c=t.staffs[l];e.moveY(spacing$2.STEP,c.top),c.absoluteY=e.y,e.showDebug&&(e.showDebug.indexOf("box")>=0&&c.voices&&boxAllElements(e,t.voices,c.voices),e.showDebug.indexOf("grid")>=0&&(e.paper.dottedLine({x1:e.padding.left,x2:e.padding.left+e.controller.width,y1:s,y2:s,stroke:"#0000ff"}),printDebugBox(e,{x:e.padding.left,y:e.calcY(c.originalTop),width:e.controller.width,height:e.calcY(c.originalBottom)-e.calcY(c.originalTop),fill:e.foregroundColor,stroke:e.foregroundColor,"fill-opacity":.1,"stroke-opacity":.1}),o=0,A(c,"chordHeightAbove"),A(c,"chordHeightBelow"),A(c,"dynamicHeightAbove"),A(c,"dynamicHeightBelow"),A(c,"endingHeightAbove"),A(c,"lyricHeightAbove"),A(c,"lyricHeightBelow"),A(c,"partHeightAbove"),A(c,"tempoHeightAbove"),A(c,"volumeHeightAbove"),A(c,"volumeHeightBelow"))),e.moveY(spacing$2.STEP,-c.bottom),e.showDebug&&e.showDebug.indexOf("grid")>=0&&e.paper.dottedLine({x1:e.padding.left,x2:e.padding.left+e.controller.width,y1:e.y,y2:e.y,stroke:"#0000aa"})}for(var u=2,d=0,p=0;p<t.voices.length;p++){var f=t.voices[p].staff,h=t.voices[p].tabNameInfos;if(e.y=f.absoluteY,e.controller.classes.incrVoice(),!t.voices[p].duplicate){if(a||(a=e.calcY(10)),i=e.calcY(u),0!==f.lines){f.linePitch&&(u=f.linePitch),e.controller.classes.newMeasure();var v=printStaff(e,t.startx,t.w,f.lines,f.linePitch,.35);i=v[1],f.bottomLine=i,f.topLine=v[0],f.hasTab&&(d=f.topLine),f.hasStaff&&(d=f.hasStaff.topLine,t.voices[p].barto=!0,t.voices[p].topLine=a)}printBrace(e,f.absoluteY,t.brace,p,r),printBrace(e,f.absoluteY,t.bracket,p,r)}drawVoice(e,t.voices[p],d,r,{top:s,zero:e.y,height:t.height*spacing$2.STEP});var g=0;if(h){var m={rows:[]};m.rows.push({absmove:i+2});m.rows.push({left:t.startx+8,text:h.name,font:"tablabelfont",klass:"text instrument-name",anchor:"start"}),m.rows.push({move:h.textSize.height}),nonMusic$1(e,m),g=h.textSize.height}e.controller.classes.newMeasure(),t.voices[p].duplicate||(d=e.calcY(2+g))}e.controller.classes.newMeasure();var b=t.staffs.length;function A(t,r){var n=["rgb(207,27,36)","rgb(168,214,80)","rgb(110,161,224)","rgb(191,119,218)","rgb(195,30,151)","rgb(31,170,177)","rgb(220,166,142)"];if(t.positionY&&t.positionY[r]){var a=t.specialY[r]*spacing$2.STEP;"chordHeightAbove"===r&&t.specialY.chordLines&&t.specialY.chordLines.above&&(a*=t.specialY.chordLines.above),"chordHeightBelow"===r&&t.specialY.chordLines&&t.specialY.chordLines.below&&(a*=t.specialY.chordLines.below),printDebugBox(e,{x:e.padding.left,y:e.calcY(t.positionY[r]),width:e.controller.width,height:a,fill:n[o],stroke:n[o],"fill-opacity":.4,"stroke-opacity":.4},r.substr(0,4)),(o+=1)>6&&(o=0)}}b>1&&(a=t.staffs[0].topLine,i=t.staffs[b-1].bottomLine,printStem(e,t.startx,.6,a,i,null)),e.y=s}function printBrace(e,t,r,n,o){if(r)for(var a=0;a<r.length;a++)r[a].isStartVoice(n)&&(r[a].startY=t-10*spacing$2.STEP,r[a].elemset=drawBrace(e,r[a],o))}function boxAllElements(e,t,r){for(var n=0;n<r.length;n++)for(var o=t[r[n]].children,a=0;a<o.length;a++){var i=o[a],s=i.getFixedCoords();if(!i.invisible&&void 0!==s.t&&void 0!==s.b){var l=(s.t-s.b)*spacing$2.STEP;printDebugBox(e,{x:s.x,y:e.calcY(s.t),width:s.w,height:l,fill:"#88e888","fill-opacity":.4,stroke:"#4aa93d","stroke-opacity":.8});for(var c=0;c<i.children.length;c++){var u=i.children[c],d=u.getChordDim();if(d){var p=e.calcY(u.pitch);p+=u.dim.font.size*u.getLane(),printDebugBox(e,{x:d.left,y:p,width:d.right-d.left,height:u.dim.font.size,fill:"none",stroke:"#4aa93d","stroke-opacity":.8})}}}}}var staffGroup=drawStaffGroup$1;function setPaperSize$1(e,t,r,n){var o=(t+e.padding.right)*r,a=(e.y+e.padding.bottom)*r;if(e.isPrint&&(a=Math.max(a,1056)),""!==e.ariaLabel){var i="Sheet Music";e.abctune&&e.abctune.metaText&&e.abctune.metaText.title&&(i+=' for "'+e.abctune.metaText.title+'"'),e.paper.setTitle(i);var s=e.ariaLabel?e.ariaLabel:i;e.paper.setAttribute("aria-label",s)}e.paper.insertStyles(".abcjs-dragging-in-progress text, .abcjs-dragging-in-progress tspan {"+["-webkit-touch-callout: none;","-webkit-user-select: none;","-khtml-user-select: none;","-moz-user-select: none;","-ms-user-select: none;","user-select: none;"].join(" ")+"}");var l={overflow:"hidden"};"resize"===n?e.paper.setResponsiveWidth(o,a):(l.width="",l.height=a+"px",r<1?(l.width=o+"px",e.paper.setSize(o/r,a/r)):e.paper.setSize(o,a)),e.paper.setScale(r),e.paper.setParentStyles(l)}var setPaperSize_1=setPaperSize$1,highlight=highlight_1,unhighlight=unhighlight_1;function Selectables$1(e,t,r){this.elements=[],this.paper=e,this.tuneNumber=r,this.selectTypes=t}Selectables$1.prototype.getElements=function(){return this.elements},Selectables$1.prototype.add=function(e,t,r,n){if(this.canSelect(e)){var o;o=void 0===this.selectTypes?{selectable:!1,"data-index":this.elements.length}:{selectable:!0,tabindex:0,"data-index":this.elements.length},this.paper.setAttributeOnElement(t,o);var a={absEl:e,svgEl:t,isDraggable:r};void 0!==n&&(a.staffPos=n),this.elements.push(a)}},Selectables$1.prototype.canSelect=function(e){return!1!==this.selectTypes&&(!(!e||!e.abcelem)&&(!0===this.selectTypes||(void 0===this.selectTypes?"note"===e.abcelem.el_type||"tabNumber"===e.abcelem.el_type:this.selectTypes.indexOf(e.abcelem.el_type)>=0)))},Selectables$1.prototype.wrapSvgEl=function(e,t){var r={tuneNumber:this.tuneNumber,abcelem:e,elemset:[t],highlight:highlight,unhighlight:unhighlight};this.add(r,t,!1)};var selectables=Selectables$1,drawStaffGroup=staffGroup,setPaperSize=setPaperSize_1,nonMusic=nonMusic_1,spacing$1=spacing_1,Selectables=selectables;function draw$1(e,t,r,n,o,a,i,s,l,c){var u=new Selectables(e.paper,s,l);e.paper.openGroup(),e.moveY(e.padding.top),nonMusic(e,r.topText,u),e.paper.closeGroup(),e.moveY(e.spacing.music);for(var d=[],p=0;p<r.lines.length;p++){t.incrLine();var f=r.lines[p];if(f.staff){e.paper.openGroup(),f.vskip&&e.moveY(f.vskip),d.length>=1&&addStaffPadding(e,e.spacing.staffSeparation,d[d.length-1],f.staffGroup);var h=engraveStaffLine(e,f.staffGroup,u);h.line=c+p,d.push(h),e.paper.closeGroup()}else f.nonMusic&&(e.paper.openGroup(),nonMusic(e,f.nonMusic,u),e.paper.closeGroup())}return t.reset(),r.bottomText&&r.bottomText.rows&&r.bottomText.rows.length>0&&(e.paper.openGroup(),e.moveY(24),nonMusic(e,r.bottomText,u),e.paper.closeGroup()),setPaperSize(e,o,i,a),{staffgroups:d,selectables:u.getElements()}}function engraveStaffLine(e,t,r,n){drawStaffGroup(e,t,r);var o=t.height*spacing$1.STEP;return e.y+=o,t}function addStaffPadding(e,t,r,n){var o=-(r.staffs[r.staffs.length-1].bottom-2),a=(n.staffs[0].top-10+o)*spacing$1.STEP;a<t&&e.moveY(t-a)}var draw_1=draw$1,spacing=spacing_1,AbstractEngraver=abstractEngraver,Renderer=renderer,FreeText=freeText,Separator=separator$1,Subtitle=subtitle,TopText=topText,BottomText=bottomText,setupSelection=selection,layout=layout_1,Classes=classes$2,GetFontAndAttr=getFontAndAttr,GetTextSize=getTextSize,draw=draw_1,tablatures=abc_tablatures,EngraverController$1=function(e,t){t=t||{},this.oneSvgPerLine=t.oneSvgPerLine,this.selectionColor=t.selectionColor,this.dragColor=t.dragColor?t.dragColor:t.selectionColor,this.dragging=!!t.dragging,this.selectTypes=t.selectTypes,this.responsive=t.responsive,this.space=3*spacing.SPACE,this.initialClef=t.initialClef,this.scale=t.scale?parseFloat(t.scale):0,this.classes=new Classes({shouldAddClasses:t.add_classes}),this.scale>.1||(this.scale=void 0),t.staffwidth?(this.staffwidthScreen=t.staffwidth,this.staffwidthPrint=t.staffwidth):(this.staffwidthScreen=740,this.staffwidthPrint=680),this.listeners=[],t.clickListener&&this.addSelectListener(t.clickListener),this.renderer=new Renderer(e),this.renderer.setPaddingOverride(t),t.showDebug&&(this.renderer.showDebug=t.showDebug),t.jazzchords&&(this.jazzchords=t.jazzchords),t.germanAlphabet&&(this.germanAlphabet=t.germanAlphabet),t.lineThickness&&(this.lineThickness=t.lineThickness),this.renderer.controller=this,this.renderer.foregroundColor=t.foregroundColor?t.foregroundColor:"currentColor",void 0!==t.ariaLabel&&(this.renderer.ariaLabel=t.ariaLabel),this.renderer.minPadding=t.minPadding?t.minPadding:0,this.reset()};function splitSvgIntoLines(e,t,r,n){r||(r="Untitled");var o=t.querySelector("svg");"resize"===n&&(t.style.paddingBottom="");for(var a=o.querySelector("style"),i="resize"===n?o.viewBox.baseVal.width:o.getAttribute("width"),s=t.querySelectorAll("svg > g"),l=0,c=[],u=0;u<s.length;u++){var d=s[u],p=d.getBBox(),f=p.y-l,h=p.height+f,v=document.createElement("div"),g="overflow: hidden;";"resize"!==n&&(g+="height:"+h+"px;"),v.setAttribute("style",g);var m=duplicateSvg(o),b='Sheet Music for "'+r+'" section '+(u+1);m.setAttribute("aria-label",b),"resize"!==n&&m.setAttribute("height",h),"resize"===n&&(m.style.position="");var A=e.firefox112?h+1:h;m.setAttribute("viewBox","0 "+l+" "+i+" "+A),m.appendChild(a.cloneNode(!0));var y=document.createElement("title");y.innerText=b,m.appendChild(y),m.appendChild(d),v.appendChild(m),c.push(m),t.appendChild(v),l=p.y+p.height}return t.removeChild(o),c}function duplicateSvg(e){for(var t=document.createElementNS("http://www.w3.org/2000/svg","svg"),r=0;r<e.attributes.length;r++){var n=e.attributes[r];"height"!==n.name&&"aria-label"!=n.name&&t.setAttribute(n.name,n.value)}return t}EngraverController$1.prototype.reset=function(){this.selected=[],this.staffgroups=[],this.engraver&&this.engraver.reset(),this.engraver=null,this.renderer.reset(),this.dragTarget=null,this.dragIndex=-1,this.dragMouseStart={x:-1,y:-1},this.dragYStep=0,this.lineThickness&&this.renderer.setLineThickness(this.lineThickness)},EngraverController$1.prototype.engraveABC=function(e,t,r){void 0===e[0]&&(e=[e]),this.reset();for(var n=0;n<e.length;n++)void 0===t&&(t=n),this.getFontAndAttr=new GetFontAndAttr(e[n].formatting,this.classes),this.getTextSize=new GetTextSize(this.getFontAndAttr,this.renderer.paper),this.engraveTune(e[n],t,r)},EngraverController$1.prototype.adjustNonScaledItems=function(e){this.width/=e,this.renderer.adjustNonScaledItems(e)},EngraverController$1.prototype.getMeasureWidths=function(e){this.reset(),this.getFontAndAttr=new GetFontAndAttr(e.formatting,this.classes),this.getTextSize=new GetTextSize(this.getFontAndAttr,this.renderer.paper),this.setupTune(e,0),this.constructTuneElements(e),layout(this.renderer,e,0,this.space);for(var t,r=[],n=!0,o=0;o<e.lines.length;o++){var a=e.lines[o];if(a.staff){if(n&&(t={left:0,measureWidths:[],total:0},r.push(t),n=!1),a.staffGroup.voices.length>0)for(var i=a.staffGroup.voices[0],s=!1,l=0,c=0;c<i.children.length;c++){var u=i.children[c];s||u.isClef||u.isKeySig||(s=!0,t.left=u.x,l=u.x),"bar"===u.type&&(t.measureWidths.push(u.x-l),t.total+=u.x-l,l=u.x)}}else n=!0}return r},EngraverController$1.prototype.setupTune=function(e,t){this.classes.reset(),void 0!==e.formatting.jazzchords&&(this.jazzchords=e.formatting.jazzchords),this.renderer.newTune(e),this.engraver=new AbstractEngraver(this.getTextSize,t,{bagpipes:e.formatting.bagpipes,flatbeams:e.formatting.flatbeams,graceSlurs:!1!==e.formatting.graceSlurs,percmap:e.formatting.percmap,initialClef:this.initialClef,jazzchords:this.jazzchords,germanAlphabet:this.germanAlphabet}),this.engraver.setStemHeight(this.renderer.spacing.stemHeight),this.engraver.measureLength=e.getMeterFraction().num/e.getMeterFraction().den,e.formatting.staffwidth?this.width=1.33*e.formatting.staffwidth:this.width=this.renderer.isPrint?this.staffwidthPrint:this.staffwidthScreen;var r=e.formatting.scale?e.formatting.scale:this.scale;return"resize"===this.responsive&&(r=void 0),void 0===r&&(r=this.renderer.isPrint?.75:1),this.adjustNonScaledItems(r),r},EngraverController$1.prototype.constructTuneElements=function(e){var t,r;e.topText=new TopText(e.metaText,e.metaTextInfo,e.formatting,e.lines,this.width,this.renderer.isPrint,this.renderer.padding.left,this.renderer.spacing,this.getTextSize);var n=!1,o=!1;for(t=0;t<e.lines.length;t++)if((r=e.lines[t]).staff)o=!0,r.staffGroup=this.engraver.createABCLine(r.staff,n?null:e.metaText.tempo,t),n=!0;else if(r.subtitle){if(o){var a=this.width/2+this.renderer.padding.left;r.nonMusic=new Subtitle(this.renderer.spacing.subtitle,e.formatting,r.subtitle,a,this.renderer.padding.left,this.getTextSize)}}else void 0!==r.text?(o=!0,r.nonMusic=new FreeText(r.text,r.vskip,this.getFontAndAttr,this.renderer.padding.left,this.width,this.getTextSize)):void 0!==r.separator&&r.separator.lineLength&&(o=!0,r.nonMusic=new Separator(r.separator.spaceAbove,r.separator.lineLength,r.separator.spaceBelow));e.bottomText=new BottomText(e.metaText,this.width,this.renderer.isPrint,this.renderer.padding.left,this.renderer.spacing,this.getTextSize)},EngraverController$1.prototype.engraveTune=function(e,t,r){var n=this.setupTune(e,t);this.constructTuneElements(e);var o=layout(this.renderer,e,this.width,this.space);e.tablatures&&tablatures.layoutTablatures(this.renderer,e);var a=draw(this.renderer,this.classes,e,this.width,o,this.responsive,n,this.selectTypes,t,r);if(this.staffgroups=a.staffgroups,this.selectables=a.selectables,this.oneSvgPerLine){var i=this.renderer.paper.svg.parentNode;this.svgs=splitSvgIntoLines(this.renderer,i,e.metaText.title,this.responsive)}else this.svgs=[this.renderer.paper.svg];setupSelection(this,this.svgs)},EngraverController$1.prototype.getDim=function(e){if(!e.dim){var t=e.svgEl.getBBox();e.dim={left:Math.round(t.x),top:Math.round(t.y),right:Math.round(t.x+t.width),bottom:Math.round(t.y+t.height)}}return e.dim},EngraverController$1.prototype.addSelectListener=function(e){this.listeners[this.listeners.length]=e};var engraverController=EngraverController$1,tunebook$1=abc_tunebook,EngraverController=engraverController,Parse=abc_parse,wrap$1=wrap_lines,resizeDivs={};function resizeOuter(){var e=window.innerWidth;for(var t in resizeDivs)if(resizeDivs.hasOwnProperty(t)){var r=resizeDivs[t];e-=2*r.offsetLeft,r.style.width=e+"px"}}try{window.addEventListener("resize",resizeOuter),window.addEventListener("orientationChange",resizeOuter)}catch(e){}function renderOne(e,t,r,n,o){r.viewportHorizontal?(e.innerHTML='<div class="abcjs-inner"></div>',r.scrollHorizontal?(e.style.overflowX="auto",e.style.overflowY="hidden"):e.style.overflow="hidden",resizeDivs[e.id]=e,e=e.children[0]):r.viewportVertical?(e.innerHTML='<div class="abcjs-inner scroll-amount"></div>',e.style.overflowX="hidden",e.style.overflowY="auto",e=e.children[0]):e.innerHTML="";var a=new EngraverController(e,r);(a.engraveABC(t,n,o),t.engraver=a,r.viewportVertical||r.viewportHorizontal)&&(e.parentNode.style.width=e.style.width)}var renderAbc$1=function(e,t,r,n,o){var a,i={};if(r){for(a in r)r.hasOwnProperty(a)&&(i[a]=r[a]);i.warnings_id&&i.tablature&&(i.tablature.warning_id=i.warnings_id)}if(n)for(a in n)n.hasOwnProperty(a)&&("listener"===a?n[a].highlight&&(i.clickListener=n[a].highlight):i[a]=n[a]);if(o)for(a in o)o.hasOwnProperty(a)&&(i[a]=o[a]);return tunebook$1.renderEngine((function(e,t,r,n){var o=!1;return"*"===e&&(o=!0,(e=document.createElement("div")).setAttribute("style","visibility: hidden;"),document.body.appendChild(e)),i.afterParsing&&i.afterParsing(t,r,n),!o&&i.wrap&&i.staffwidth?t=doLineWrapping(e,t,r,n,i):(renderOne(e,t,i,r,0),o&&e.parentNode.removeChild(e),null)}),e,t,i)};function doLineWrapping(e,t,r,n,o){var a=new EngraverController(e,o).getMeasureWidths(t),i=wrap$1.calcLineWraps(t,a,o);if(i.reParse){var s=new Parse;s.parse(n,i.revisedParams),t=s.getTune();var l=s.getWarnings();l&&(t.warnings=l)}return renderOne(e,t,i.revisedParams,r,0),t.explanation=i.explanation,t}var abc_tunebook_svg=renderAbc$1,soundsCache$3={},soundsCache_1=soundsCache$3,soundsCache$2=soundsCache_1,getNote$1=function(e,t,r,n){soundsCache$2[t]||(soundsCache$2[t]={});var o=soundsCache$2[t];return o[r]||(o[r]=new Promise((function(o,a){var i=new XMLHttpRequest,s=e+t+"-mp3/"+r+".mp3";i.open("GET",s,!0),i.responseType="arraybuffer",i.onload=function(){if(200===i.status){var e=n.decodeAudioData(i.response,(function(e){o({instrument:t,name:r,status:"loaded",audioBuffer:e})}),(function(){a(Error("Can't decode sound at "+s))}));e&&"function"==typeof e.catch&&e.catch(a)}else a(Error("Can't load sound at "+s+" status="+i.status))},i.onerror=function(){a(Error("Can't load sound at "+s))},i.send()})).catch((function(e){throw console.error("Didn't load note",t,r,":",e.message),e}))),o[r]},loadNote=getNote$1,instrumentIndexToName$3=["acoustic_grand_piano","bright_acoustic_piano","electric_grand_piano","honkytonk_piano","electric_piano_1","electric_piano_2","harpsichord","clavinet","celesta","glockenspiel","music_box","vibraphone","marimba","xylophone","tubular_bells","dulcimer","drawbar_organ","percussive_organ","rock_organ","church_organ","reed_organ","accordion","harmonica","tango_accordion","acoustic_guitar_nylon","acoustic_guitar_steel","electric_guitar_jazz","electric_guitar_clean","electric_guitar_muted","overdriven_guitar","distortion_guitar","guitar_harmonics","acoustic_bass","electric_bass_finger","electric_bass_pick","fretless_bass","slap_bass_1","slap_bass_2","synth_bass_1","synth_bass_2","violin","viola","cello","contrabass","tremolo_strings","pizzicato_strings","orchestral_harp","timpani","string_ensemble_1","string_ensemble_2","synth_strings_1","synth_strings_2","choir_aahs","voice_oohs","synth_choir","orchestra_hit","trumpet","trombone","tuba","muted_trumpet","french_horn","brass_section","synth_brass_1","synth_brass_2","soprano_sax","alto_sax","tenor_sax","baritone_sax","oboe","english_horn","bassoon","clarinet","piccolo","flute","recorder","pan_flute","blown_bottle","shakuhachi","whistle","ocarina","lead_1_square","lead_2_sawtooth","lead_3_calliope","lead_4_chiff","lead_5_charang","lead_6_voice","lead_7_fifths","lead_8_bass_lead","pad_1_new_age","pad_2_warm","pad_3_polysynth","pad_4_choir","pad_5_bowed","pad_6_metallic","pad_7_halo","pad_8_sweep","fx_1_rain","fx_2_soundtrack","fx_3_crystal","fx_4_atmosphere","fx_5_brightness","fx_6_goblins","fx_7_echoes","fx_8_scifi","sitar","banjo","shamisen","koto","kalimba","bagpipe","fiddle","shanai","tinkle_bell","agogo","steel_drums","woodblock","taiko_drum","melodic_tom","synth_drum","reverse_cymbal","guitar_fret_noise","breath_noise","seashore","bird_tweet","telephone_ring","helicopter","applause","gunshot","percussion"],instrumentIndexToName_1=instrumentIndexToName$3,instrumentIndexToName$2=instrumentIndexToName_1,createNoteMap$1=function(e){for(var t=[],r=0;r<e.tracks.length;r++)t.push([]);var n=instrumentIndexToName$2[0];return e.tracks.forEach((function(e,r){e.forEach((function(e){switch(e.cmd){case"note":if(e.duration>0){var o=e.gap?e.gap:0,a=e.duration;o=Math.min(o,2*a/3);var i={pitch:e.pitch,instrument:n,start:Math.round(1e6*e.start)/1e6,end:Math.round(1e6*(e.start+a-o))/1e6,volume:e.volume};e.startChar&&(i.startChar=e.startChar),e.endChar&&(i.endChar=e.endChar),e.style&&(i.style=e.style),e.cents&&(i.cents=e.cents),t[r].push(i)}break;case"program":n=instrumentIndexToName$2[e.instrument];break;case"text":break;default:console.log("Unhandled midi event",e)}}))})),t},createNoteMap_1=createNoteMap$1;function registerAudioContext$4(e){if(e)window.abcjsAudioContext=e;else if(!window.abcjsAudioContext){var t=window.AudioContext||window.webkitAudioContext;if(!t)return!1;window.abcjsAudioContext=new t}return"suspended"!==window.abcjsAudioContext.state}var registerAudioContext_1=registerAudioContext$4,registerAudioContext$3=registerAudioContext_1;function activeAudioContext$6(){return window.abcjsAudioContext||registerAudioContext$3(),window.abcjsAudioContext}var activeAudioContext_1=activeAudioContext$6,activeAudioContext$5=activeAudioContext_1;function supportsAudio$4(){if(!window.Promise)return!1;if(!(window.AudioContext||window.webkitAudioContext||navigator.mozAudioContext||navigator.msAudioContext))return!1;var e=activeAudioContext$5();return e?void 0!==e.resume:void 0}var supportsAudio_1=supportsAudio$4,pitchToNoteName$3={21:"A0",22:"Bb0",23:"B0",24:"C1",25:"Db1",26:"D1",27:"Eb1",28:"E1",29:"F1",30:"Gb1",31:"G1",32:"Ab1",33:"A1",34:"Bb1",35:"B1",36:"C2",37:"Db2",38:"D2",39:"Eb2",40:"E2",41:"F2",42:"Gb2",43:"G2",44:"Ab2",45:"A2",46:"Bb2",47:"B2",48:"C3",49:"Db3",50:"D3",51:"Eb3",52:"E3",53:"F3",54:"Gb3",55:"G3",56:"Ab3",57:"A3",58:"Bb3",59:"B3",60:"C4",61:"Db4",62:"D4",63:"Eb4",64:"E4",65:"F4",66:"Gb4",67:"G4",68:"Ab4",69:"A4",70:"Bb4",71:"B4",72:"C5",73:"Db5",74:"D5",75:"Eb5",76:"E5",77:"F5",78:"Gb5",79:"G5",80:"Ab5",81:"A5",82:"Bb5",83:"B5",84:"C6",85:"Db6",86:"D6",87:"Eb6",88:"E6",89:"F6",90:"Gb6",91:"G6",92:"Ab6",93:"A6",94:"Bb6",95:"B6",96:"C7",97:"Db7",98:"D7",99:"Eb7",100:"E7",101:"F7",102:"Gb7",103:"G7",104:"Ab7",105:"A7",106:"Bb7",107:"B7",108:"C8",109:"Db8",110:"D8",111:"Eb8",112:"E8",113:"F8",114:"Gb8",115:"G8",116:"Ab8",117:"A8",118:"Bb8",119:"B8",120:"C9",121:"Db9"},pitchToNoteName_1=pitchToNoteName$3,downloadBuffer$1=function(e){return window.URL.createObjectURL(bufferToWave$1(e.audioBuffers))};function bufferToWave$1(e){var t,r,n=e[0],o=n.numberOfChannels,a=n.length*o*2+44,i=new ArrayBuffer(a),s=new DataView(i),l=[],c=0,u=0;for(p(1179011410),p(a-8),p(1163280727),p(544501094),p(16),d(1),d(o),p(n.sampleRate),p(2*n.sampleRate*o),d(2*o),d(16),p(1635017060),p(a-u-4),t=0;t<o;t++)l.push(n.getChannelData(t));for(;u<a;){for(t=0;t<l.length;t++)r=0|(.5+(r=Math.max(-1,Math.min(1,l[t][c])))<0?32768*r:32767*r),s.setInt16(u,r,!0),u+=2;c++}return new Blob([i],{type:"audio/wav"});function d(e){s.setUint16(u,e,!0),u+=2}function p(e){s.setUint32(u,e,!0),u+=4}}var downloadBuffer_1=downloadBuffer$1;function centsToFactor$2(e){return Math.pow(2,e/1200)}var centsToFactor_1=centsToFactor$2,soundsCache$1=soundsCache_1,pitchToNoteName$2=pitchToNoteName_1,centsToFactor$1=centsToFactor_1;function placeNote$1(e,t,r,n,o,a,i,s,l){var c=window.OfflineAudioContext||window.webkitOfflineAudioContext,u=r.len*r.tempoMultiplier;a&&(u+=a/1e3),(u-=s)<0&&(u=.005);var d=new c(2,Math.floor((u+i)*t),t),p=pitchToNoteName$2[r.pitch],f=soundsCache$1[r.instrument][p];return f?f.then((function(s){var c=d.createBufferSource();c.buffer=s.audioBuffer;var f,h=r.volume/96*o;return c.gainNode=d.createGain(),r.pan&&d.createStereoPanner&&(c.panNode=d.createStereoPanner(),c.panNode.pan.setValueAtTime(r.pan,0)),c.gainNode.gain.value=h,c.gainNode.gain.linearRampToValueAtTime(c.gainNode.gain.value,u),c.gainNode.gain.linearRampToValueAtTime(0,u+i),r.cents&&(c.playbackRate.value=centsToFactor$1(r.cents)),c.panNode?(c.panNode.connect(d.destination),c.gainNode.connect(c.panNode)):c.gainNode.connect(d.destination),c.connect(c.gainNode),c.start(0),c.noteOff?c.noteOff(u+i):c.stop(u+i),d.oncomplete=function(o){if(o.renderedBuffer&&o.renderedBuffer.getChannelData)for(var i=0;i<n.length;i++){var s=n[i]*r.tempoMultiplier;a&&(s-=a/1e3),s<0&&(s=0),s=Math.floor(s*t),copyToChannel(e,o.renderedBuffer,s)}l&&l("placeNote: "+r.instrument+":"+p),f()},d.startRendering(),new Promise((function(e){f=e}))})).catch((function(e){return l&&l("placeNote catch: "+e.message),Promise.resolve()})):(l&&l("placeNote skipped: "+r.instrument+":"+p),Promise.resolve())}var copyToChannel=function(e,t,r){for(var n=0;n<2;n++)for(var o=t.getChannelData(n),a=e.getChannelData(n),i=0;i<o.length;i++)a[i+r]+=o[i]},placeNote_1=placeNote$1,getNote=loadNote,createNoteMap=createNoteMap_1,registerAudioContext$2=registerAudioContext_1,activeAudioContext$4=activeAudioContext_1,supportsAudio$3=supportsAudio_1,pitchToNoteName$1=pitchToNoteName_1,instrumentIndexToName$1=instrumentIndexToName_1,downloadBuffer=downloadBuffer_1,placeNote=placeNote_1,soundsCache=soundsCache_1,notSupportedMessage="MIDI is not supported in this browser.",originalSoundFontUrl="https://paulrosen.github.io/midi-js-soundfonts/abcjs/",defaultSoundFontUrl="https://paulrosen.github.io/midi-js-soundfonts/FluidR3_GM/",alternateSoundFontUrl="https://paulrosen.github.io/midi-js-soundfonts/MusyngKite/";function CreateSynth$3(){var e=this;e.audioBufferPossible=void 0,e.directSource=[],e.startTimeSec=void 0,e.pausedTimeSec=void 0,e.audioBuffers=[],e.duration=void 0,e.isRunning=!1,e.init=function(t){t||(t={}),registerAudioContext$2(t.audioContext);var r=activeAudioContext$4().currentTime;if(e.debugCallback=t.debugCallback,e.debugCallback&&e.debugCallback("init called"),e.audioBufferPossible=e._deviceCapable(),!e.audioBufferPossible)return Promise.reject({status:"NotSupported",message:notSupportedMessage});var n=t.options?t.options:{};e.soundFontUrl=n.soundFontUrl?n.soundFontUrl:defaultSoundFontUrl,"/"!==e.soundFontUrl[e.soundFontUrl.length-1]&&(e.soundFontUrl+="/"),n.soundFontVolumeMultiplier||0===n.soundFontVolumeMultiplier?e.soundFontVolumeMultiplier=n.soundFontVolumeMultiplier:e.soundFontUrl===defaultSoundFontUrl||e.soundFontUrl===alternateSoundFontUrl?e.soundFontVolumeMultiplier=3:e.soundFontUrl===originalSoundFontUrl?e.soundFontVolumeMultiplier=.4:e.soundFontVolumeMultiplier=1,n.programOffsets?e.programOffsets=n.programOffsets:e.soundFontUrl===originalSoundFontUrl?e.programOffsets={bright_acoustic_piano:20,honkytonk_piano:20,electric_piano_1:30,electric_piano_2:30,harpsichord:40,clavinet:20,celesta:20,glockenspiel:40,vibraphone:30,marimba:35,xylophone:30,tubular_bells:35,dulcimer:30,drawbar_organ:20,percussive_organ:25,rock_organ:20,church_organ:40,reed_organ:40,accordion:40,harmonica:40,acoustic_guitar_nylon:20,acoustic_guitar_steel:30,electric_guitar_jazz:25,electric_guitar_clean:15,electric_guitar_muted:35,overdriven_guitar:25,distortion_guitar:20,guitar_harmonics:30,electric_bass_finger:15,electric_bass_pick:30,fretless_bass:40,violin:105,viola:50,cello:40,contrabass:60,trumpet:10,trombone:90,alto_sax:20,tenor_sax:20,clarinet:20,flute:50,banjo:50,woodblock:20}:e.programOffsets={};var o=void 0!==n.fadeLength?parseInt(n.fadeLength,10):NaN;if(e.fadeLength=isNaN(o)?200:o,o=void 0!==n.noteEnd?parseInt(n.noteEnd,10):NaN,e.noteEnd=isNaN(o)?0:o,e.pan=n.pan,e.meterSize=1,t.visualObj){e.flattened=t.visualObj.setUpAudio(n),t.visualObj.getMeterFraction().den&&(e.meterSize=t.visualObj.getMeterFraction().num/t.visualObj.getMeterFraction().den)}else{if(!t.sequence)return Promise.reject(new Error("Must pass in either a visualObj or a sequence"));e.flattened=t.sequence}e.millisecondsPerMeasure=t.millisecondsPerMeasure?t.millisecondsPerMeasure:t.visualObj?t.visualObj.millisecondsPerMeasure(e.flattened.tempo):1e3,e.beatsPerMeasure=t.visualObj?t.visualObj.getBeatsPerMeasure():4,e.sequenceCallback=n.sequenceCallback,e.callbackContext=n.callbackContext,e.onEnded=n.onEnded;var a={},i=[],s=[],l=instrumentIndexToName$1[0];e.flattened.tracks.forEach((function(e){e.forEach((function(e){if("program"===e.cmd&&instrumentIndexToName$1[e.instrument]&&(l=instrumentIndexToName$1[e.instrument]),void 0!==e.pitch){var t=e.pitch,r=pitchToNoteName$1[t];if(r)if(a[l]||(a[l]={}),soundsCache[l]&&soundsCache[l][r]){var n=l+":"+r;i.indexOf(n)<0&&i.push(n)}else a[l][r]=!0;else{var o=l+":"+r;console.log("Can't find note: ",t,o),s.indexOf(o)<0&&s.push(o)}}}))})),e.debugCallback&&e.debugCallback("note gathering time = "+Math.floor(1e3*(activeAudioContext$4().currentTime-r))+"ms"),r=activeAudioContext$4().currentTime;var c=[];Object.keys(a).forEach((function(e){Object.keys(a[e]).forEach((function(t){c.push({instrument:e,note:t})}))})),e.debugCallback&&e.debugCallback("notes "+JSON.stringify(c));for(var u=[],d=0;d<c.length;d+=256)u.push(c.slice(d,d+256));return new Promise((function(t,n){var o={cached:i,error:s,loaded:[]},a=0;!function i(){e.debugCallback&&e.debugCallback("loadBatch idx="+a+" len="+u.length),a<u.length?e._loadBatch(u[a],e.soundFontUrl,r).then((function(t){e.debugCallback&&e.debugCallback("loadBatch then"),r=activeAudioContext$4().currentTime,t&&(t.error&&(o.error=o.error.concat(t.error)),t.loaded&&(o.loaded=o.loaded.concat(t.loaded))),a++,i()}),n):(e.debugCallback&&e.debugCallback("resolve init"),t(o))}()}))},e._loadBatch=function(t,r,n,o){var a=[];return t.forEach((function(t){e.debugCallback&&e.debugCallback("getNote "+t.instrument+":"+t.note),a.push(getNote(r,t.instrument,t.note,activeAudioContext$4()))})),Promise.all(a).then((function(a){e.debugCallback&&e.debugCallback("mp3 load time = "+Math.floor(1e3*(activeAudioContext$4().currentTime-n))+"ms");for(var i=[],s=[],l=[],c=[],u=0;u<a.length;u++){var d=a[u],p=d.instrument+":"+d.name;"loaded"===d.status?i.push(p):"pending"===d.status?l.push(p):"cached"===d.status?s.push(p):c.push(p+" "+d.message)}if(l.length>0){if(e.debugCallback&&e.debugCallback("pending "+JSON.stringify(l)),o?o*=2:o=50,o<9e4)return new Promise((function(t,a){setTimeout((function(){var i=[];for(u=0;u<l.length;u++)p=l[u].split(":"),i.push({instrument:p[0],note:p[1]});e.debugCallback&&e.debugCallback("retry "+JSON.stringify(i)),e._loadBatch(i,r,n,o).then((function(e){t(e)})).catch((function(e){a(e)}))}),o)}));for(var f=[],h=0;h<t.length;h++)f.push(t[h].instrument+"/"+t[h].note);return e.debugCallback&&e.debugCallback("loadBatch timeout"),Promise.reject(new Error("timeout attempting to load: "+f.join(", ")))}return e.debugCallback&&e.debugCallback("loadBatch resolve"),Promise.resolve({loaded:i,cached:s,error:c})})).catch((function(t){e.debugCallback&&e.debugCallback("loadBatch catch "+t.message)}))},e.prime=function(){var t=e.fadeLength/1e3;return e.isRunning=!1,e.audioBufferPossible?(e.debugCallback&&e.debugCallback("prime called"),new Promise((function(r){var n=activeAudioContext$4().currentTime,o=e.millisecondsPerMeasure/1e3/e.meterSize;if(e.duration=e.flattened.totalDuration*o,e.duration<=0)return e.audioBuffers=[],r({status:"empty",seconds:0});e.duration+=t;var a=Math.floor(activeAudioContext$4().sampleRate*e.duration);e.stop();var i=createNoteMap(e.flattened);e.sequenceCallback&&e.sequenceCallback(i,e.callbackContext);var s=function(e,t){if(null==t)return null;var r=[];if(t.length){for(var n=0;n<e;n++)if(n<t.length){var o=parseFloat(t[n]);o<-1?o=-1:o>1&&(o=1),r.push(o)}else r.push(0);return r}var a=parseFloat(t);if(a*(e-1)>2)return null;for(var i=e%2==0,s=i?0-a/2:0,l=s+a,c=0;c<e;c++)(i=c%2==0)?(r.push(s),s-=a):(r.push(l),l+=a);return r}(i.length,e.pan),l={};i.forEach((function(t,r){var n=s&&s.length>r?s[r]:0;t.forEach((function(t){var r=t.instrument+":"+t.pitch+":"+t.volume+":"+Math.round(1e3*(t.end-t.start))/1e3+":"+n+":"+o+":"+(t.cents?t.cents:0);e.debugCallback&&e.debugCallback("noteMapTrack "+r),l[r]||(l[r]=[]),l[r].push(t.start)}))}));for(var c=[],u=activeAudioContext$4().createBuffer(2,a,activeAudioContext$4().sampleRate),d=0;d<Object.keys(l).length;d++){var p=Object.keys(l)[d],f=p.split(":"),h=void 0!==f[6]?parseFloat(f[6]):0;f={instrument:f[0],pitch:parseInt(f[1],10),volume:parseInt(f[2],10),len:parseFloat(f[3]),pan:parseFloat(f[4]),tempoMultiplier:parseFloat(f[5]),cents:h},c.push(placeNote(u,activeAudioContext$4().sampleRate,f,l[p],e.soundFontVolumeMultiplier,e.programOffsets[f.instrument],t,e.noteEnd/1e3,e.debugCallback))}function v(e){var t=e&&e.audioBuffers&&e.audioBuffers.length>0?e.audioBuffers[0].duration:0;return{status:activeAudioContext$4().state,duration:t}}e.audioBuffers=[u],e.debugCallback&&(e.debugCallback("sampleRate = "+activeAudioContext$4().sampleRate),e.debugCallback("totalSamples = "+a),e.debugCallback("creationTime = "+Math.floor(1e3*(activeAudioContext$4().currentTime-n))+"ms")),Promise.all(c).then((function(){"suspended"===activeAudioContext$4().state?activeAudioContext$4().resume().then((function(){r(v(e))})):"interrupted"===activeAudioContext$4().state?activeAudioContext$4().suspend().then((function(){activeAudioContext$4().resume().then((function(){r(v(e))}))})):r(v(e))}))}))):Promise.reject(new Error(notSupportedMessage))},e.start=function(){if(!e.audioBufferPossible)throw new Error(notSupportedMessage);e.debugCallback&&e.debugCallback("start called");var t=e.pausedTimeSec?e.pausedTimeSec:0;e._kickOffSound(t),e.startTimeSec=activeAudioContext$4().currentTime-t,e.pausedTimeSec=void 0,e.debugCallback&&e.debugCallback("MIDI STARTED",e.startTimeSec)},e.pause=function(){if(!e.audioBufferPossible)throw new Error(notSupportedMessage);return e.debugCallback&&e.debugCallback("pause called"),e.pausedTimeSec=e.stop(),e.pausedTimeSec},e.resume=function(){e.start()},e.seek=function(t,r){var n;switch(r){case"seconds":n=t;break;case"beats":n=t*e.millisecondsPerMeasure/e.beatsPerMeasure/1e3;break;default:n=(e.duration-e.fadeLength/1e3)*t}if(!e.audioBufferPossible)throw new Error(notSupportedMessage);e.debugCallback&&e.debugCallback("seek called sec="+n),e.isRunning?(e.stop(),e._kickOffSound(n)):e.pausedTimeSec=n,e.pausedTimeSec=n},e.stop=function(){return e.isRunning=!1,e.pausedTimeSec=void 0,e.directSource.forEach((function(e){try{e.stop()}catch(error){console.log("direct source didn't stop:",error)}})),e.directSource=[],activeAudioContext$4().currentTime-e.startTimeSec},e.finished=function(){e.startTimeSec=void 0,e.pausedTimeSec=void 0,e.isRunning=!1},e.download=function(){return downloadBuffer(e)},e.getAudioBuffer=function(){return e.audioBuffers[0]},e._deviceCapable=function(){return!!supportsAudio$3()||(console.warn(notSupportedMessage),e.debugCallback&&e.debugCallback(notSupportedMessage),!1)},e._kickOffSound=function(t){e.isRunning=!0,e.directSource=[],e.audioBuffers.forEach((function(t,r){e.directSource[r]=activeAudioContext$4().createBufferSource(),e.directSource[r].buffer=t,e.directSource[r].connect(activeAudioContext$4().destination)})),e.directSource.forEach((function(e){e.start(0,t)})),e.onEnded&&(e.directSource[0].onended=function(){e.onEnded(e.callbackContext)})}}var createSynth=CreateSynth$3,SynthSequence$2=function(){var e=this;e.tracks=[],e.totalDuration=0,e.currentInstrument=[],e.starts=[],e.addTrack=function(){return e.tracks.push([]),e.currentInstrument.push(0),e.starts.push(0),e.tracks.length-1},e.setInstrument=function(t,r){e.tracks[t].push({channel:0,cmd:"program",instrument:r}),e.currentInstrument[t]=r},e.appendNote=function(t,r,n,o,a){var i={cmd:"note",duration:n,gap:0,instrument:e.currentInstrument[t],pitch:r,start:e.starts[t],volume:o};a&&(i.cents=a),e.tracks[t].push(i),e.starts[t]+=n,e.totalDuration=Math.max(e.totalDuration,e.starts[t])}},synthSequence=SynthSequence$2,svg$4='\n<svg version="1.0" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 700" preserveAspectRatio="xMidYMid meet">\n\t<g transform="translate(0,700) scale(0.1,-0.1)" >\n\t<path d="M3111 6981 c-20 -37 -90 -55 -364 -96 -120 -18 -190 -33 -244 -55\n\t-42 -17 -124 -42 -182 -56 -78 -18 -119 -34 -157 -60 -28 -19 -86 -46 -128\n\t-60 -43 -13 -107 -42 -144 -64 -37 -23 -84 -46 -106 -52 -21 -7 -56 -29 -79\n\t-50 -22 -22 -61 -50 -86 -63 -26 -13 -67 -40 -91 -60 -24 -20 -65 -47 -90 -60\n\t-25 -13 -53 -31 -61 -41 -8 -9 -32 -30 -54 -46 -75 -54 -486 -460 -512 -507\n\t-15 -25 -48 -69 -75 -98 -26 -28 -48 -57 -48 -63 0 -6 -18 -29 -39 -53 -21\n\t-23 -56 -71 -77 -107 -20 -36 -50 -80 -65 -97 -16 -18 -33 -52 -40 -75 -12\n\t-47 -47 -115 -84 -166 -13 -18 -30 -56 -38 -83 -8 -27 -34 -80 -56 -118 -33\n\t-53 -46 -91 -62 -167 -12 -63 -34 -127 -59 -179 -42 -84 -60 -166 -60 -270 0\n\t-90 26 -122 125 -154 54 -17 96 -19 430 -20 305 -1 381 2 430 14 82 22 140 51\n\t153 78 6 12 22 47 37 77 14 30 38 77 54 103 15 27 34 73 40 103 7 30 28 78 48\n\t107 19 28 44 74 55 101 10 28 34 67 53 87 18 20 49 61 68 90 19 30 44 63 57\n\t74 13 11 36 40 52 65 59 94 232 270 306 313 20 11 57 37 82 58 25 20 70 52\n\t100 72 30 19 66 47 79 61 13 14 49 35 80 46 30 12 80 37 111 56 31 19 95 45\n\t143 58 48 12 110 37 139 55 63 40 127 55 323 76 83 9 208 28 279 41 156 29\n\t165 29 330 4 453 -71 514 -84 606 -130 31 -16 83 -36 116 -45 32 -9 84 -34\n\t115 -56 31 -21 82 -48 113 -60 32 -11 72 -33 89 -48 18 -16 59 -45 92 -65 33\n\t-21 74 -51 90 -66 17 -15 49 -40 73 -54 52 -32 65 -61 50 -113 -8 -31 -61 -90\n\t-277 -308 -300 -303 -361 -382 -369 -481 -2 -29 0 -66 6 -81 13 -40 88 -138\n\t115 -151 12 -6 54 -26 92 -44 l70 -33 945 -2 c520 -1 975 2 1012 7 64 8 191\n\t50 231 76 11 7 33 34 50 60 22 34 42 51 65 58 l32 9 0 1101 0 1102 -32 9 c-21\n\t7 -44 26 -64 55 -60 84 -77 97 -140 110 -44 9 -76 10 -127 2 -59 -9 -77 -17\n\t-134 -62 -37 -28 -172 -155 -301 -281 -129 -127 -249 -237 -267 -245 -25 -10\n\t-41 -11 -71 -2 -58 15 -112 45 -124 69 -6 11 -35 35 -64 54 -28 18 -58 41 -66\n\t50 -8 9 -41 35 -75 58 -33 22 -77 56 -99 75 -21 18 -64 46 -95 61 -31 14 -73\n\t39 -93 55 -20 15 -70 40 -110 55 -40 15 -97 44 -127 64 -29 21 -78 44 -107 53\n\t-30 8 -77 31 -105 51 -42 28 -73 39 -173 60 -68 14 -154 39 -196 58 -95 43\n\t-131 51 -343 76 -209 24 -242 32 -279 70 l-30 29 -328 0 c-312 0 -330 -1 -339\n\t-19z"></path>\n\t<path d="M254 2875 c-89 -16 -107 -26 -145 -78 -32 -44 -62 -66 -91 -67 -17 0\n\t-18 -61 -18 -1140 l0 -1140 24 0 c16 0 41 -17 72 -50 40 -42 61 -55 117 -72\n\tl69 -21 82 23 c44 12 96 30 114 39 18 9 148 132 290 272 141 141 267 261 279\n\t268 51 26 86 14 176 -61 32 -26 62 -48 66 -48 5 0 36 -25 70 -55 34 -30 74\n\t-61 89 -69 15 -8 37 -28 50 -45 12 -17 50 -45 84 -62 34 -17 78 -44 98 -60 19\n\t-16 61 -37 93 -48 32 -11 81 -37 107 -56 27 -20 76 -45 109 -56 33 -12 75 -31\n\t93 -44 62 -45 93 -58 191 -82 54 -12 130 -37 168 -54 68 -29 180 -58 226 -59\n\t62 0 183 -64 183 -96 0 -12 88 -14 639 -14 l639 0 12 30 c18 44 76 66 233 89\n\t89 14 160 30 200 47 34 15 106 42 159 60 54 18 112 44 130 57 47 35 85 52 146\n\t67 29 7 76 28 105 48 29 20 77 48 107 63 30 15 66 39 80 54 14 15 50 40 81 56\n\t31 15 78 46 104 69 26 22 61 46 79 54 17 7 43 26 56 42 14 16 41 41 60 56 64\n\t48 380 362 408 405 15 23 40 51 55 63 15 12 36 38 46 58 11 21 37 57 58 82 22\n\t25 49 62 62 83 13 20 38 56 57 78 19 23 50 74 69 113 19 39 46 86 59 104 14\n\t18 34 62 46 98 12 36 32 77 45 92 31 38 60 97 80 167 9 33 26 76 37 95 29 50\n\t47 103 68 206 10 52 32 117 51 155 29 56 33 74 34 140 0 94 -10 108 -101 138\n\t-61 20 -83 21 -463 21 -226 0 -421 -4 -451 -10 -63 -12 -86 -30 -110 -85 -10\n\t-22 -33 -63 -52 -92 -21 -31 -42 -80 -53 -123 -11 -44 -32 -93 -56 -128 -20\n\t-32 -47 -83 -59 -115 -12 -32 -37 -77 -56 -100 -19 -23 -50 -65 -69 -94 -19\n\t-29 -44 -57 -54 -63 -11 -5 -29 -27 -42 -47 -52 -85 -234 -277 -300 -315 -25\n\t-15 -53 -38 -62 -51 -9 -14 -42 -39 -74 -57 -32 -18 -75 -48 -95 -66 -21 -18\n\t-59 -44 -85 -58 -26 -13 -72 -40 -100 -59 -35 -24 -78 -41 -128 -52 -47 -11\n\t-99 -31 -139 -56 -69 -42 -94 -49 -391 -110 -245 -51 -425 -66 -595 -50 -168\n\t16 -230 27 -330 61 -47 16 -123 35 -170 44 -98 17 -123 25 -172 58 -20 14 -71\n\t37 -114 53 -44 15 -95 40 -115 56 -20 16 -70 42 -110 59 -40 16 -88 45 -108\n\t63 -20 19 -55 46 -78 61 -24 14 -49 35 -55 47 -7 11 -34 33 -60 49 -50 31 -65\n\t61 -53 102 4 13 130 147 281 298 236 238 277 283 299 335 15 32 35 71 46 86\n\t12 18 19 44 19 76 0 42 -8 63 -53 138 -92 151 11 139 -1207 141 -798 2 -1030\n\t0 -1086 -11z"></path>\n\t</g>\n</svg>\n',loop_svg=svg$4,svg$3='\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" class="abcjs-play-svg">\n <g>\n <polygon points="4 0 23 12.5 4 25"/>\n </g>\n</svg>\n',play_svg=svg$3,svg$2='\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" class="abcjs-pause-svg">\n <g>\n <rect width="8.23" height="25"/>\n <rect width="8.23" height="25" x="17"/>\n </g>\n</svg>\n',pause_svg=svg$2,svg$1='\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" class="abcjs-loading-svg">\n <circle cx="50" cy="50" fill="none" stroke-width="20" r="35" stroke-dasharray="160 55"></circle>\n</svg>\n',loading_svg=svg$1,svg='\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25">\n <g>\n <polygon points="5 12.5 24 0 24 25"/>\n <rect width="3" height="25" x="0" y="0"/>\n </g>\n</svg>\n',reset_svg=svg,supportsAudio$2=supportsAudio_1,registerAudioContext$1=registerAudioContext_1,activeAudioContext$3=activeAudioContext_1,parseCommon$1=abc_common,loopImage=loop_svg,playImage=play_svg,pauseImage=pause_svg,loadingImage=loading_svg,resetImage=reset_svg;function CreateSynthControl$2(e,t){var r=this;if("string"==typeof e){var n=e;if(!(e=document.querySelector(n)))throw new Error('Cannot find element "'+n+'" in the DOM.')}else if(!(e instanceof HTMLElement))throw new Error("The first parameter must be a valid element or selector in the DOM.");if(r.parent=e,r.options={},t&&(r.options=parseCommon$1.clone(t)),r.options.ac&&registerAudioContext$1(r.options.ac),buildDom(r.parent,r.options),attachListeners(r),r.disable=function(e){var t=r.parent.querySelector(".abcjs-inline-audio");e?t.classList.add("abcjs-disabled"):t.classList.remove("abcjs-disabled")},r.setWarp=function(e,t){r.parent.querySelector(".abcjs-midi-tempo").value=Math.round(t),r.setTempo(e)},r.setTempo=function(e){var t=r.parent.querySelector(".abcjs-midi-current-tempo");t&&(t.innerHTML=Math.round(e))},r.resetAll=function(){for(var e=r.parent.querySelectorAll(".abcjs-pushed"),t=0;t<e.length;t++){e[t].classList.remove("abcjs-pushed")}},r.pushPlay=function(e){var t=r.parent.querySelector(".abcjs-midi-start");t&&(e?t.classList.add("abcjs-pushed"):t.classList.remove("abcjs-pushed"))},r.pushLoop=function(e){var t=r.parent.querySelector(".abcjs-midi-loop");t&&(e?t.classList.add("abcjs-pushed"):t.classList.remove("abcjs-pushed"))},r.setProgress=function(e,t){var n=r.parent.querySelector(".abcjs-midi-progress-background"),o=r.parent.querySelector(".abcjs-midi-progress-indicator");if(n&&o){var a=n.clientWidth*e;o.style.left=a+"px";var i=r.parent.querySelector(".abcjs-midi-clock");if(i){var s=t*e/1e3,l=Math.floor(s/60),c=Math.floor(s%60),u=c<10?"0"+c:c;i.innerHTML=l+":"+u}}},r.options.afterResume){var o=!1;r.options.ac?o="suspended"!==r.options.ac.state:activeAudioContext$3()&&(o="suspended"!==activeAudioContext$3().state),o&&r.options.afterResume()}}function buildDom(e,t){var r=!!t.loopHandler,n=!!t.restartHandler,o=!!t.playHandler||!!t.playPromiseHandler,a=!!t.progressHandler,i=!!t.warpHandler,s=!1!==t.hasClock,l='<div class="abcjs-inline-audio">\n';if(r){var c=t.repeatTitle?t.repeatTitle:"Click to toggle play once/repeat.";l+='<button type="button" class="abcjs-midi-loop abcjs-btn" title="'+c+'" aria-label="'+(t.repeatAria?t.repeatAria:c)+'">'+loopImage+"</button>\n"}if(n){var u=t.restartTitle?t.restartTitle:"Click to go to beginning.";l+='<button type="button" class="abcjs-midi-reset abcjs-btn" title="'+u+'" aria-label="'+(t.restartAria?t.restartAria:u)+'">'+resetImage+"</button>\n"}if(o){var d=t.playTitle?t.playTitle:"Click to play/pause.";l+='<button type="button" class="abcjs-midi-start abcjs-btn" title="'+d+'" aria-label="'+(t.playAria?t.playAria:d)+'">'+playImage+pauseImage+loadingImage+"</button>\n"}if(a){var p=t.randomTitle?t.randomTitle:"Click to change the playback position.";l+='<button type="button" class="abcjs-midi-progress-background" title="'+p+'" aria-label="'+(t.randomAria?t.randomAria:p)+'"><span class="abcjs-midi-progress-indicator"></span></button>\n'}if(s&&(l+='<span class="abcjs-midi-clock"></span>\n'),i){var f=t.warpTitle?t.warpTitle:"Change the playback speed.";l+='<span class="abcjs-tempo-wrapper"><label><input class="abcjs-midi-tempo" type="number" min="1" max="300" value="100" title="'+f+'" aria-label="'+(t.warpAria?t.warpAria:f)+'">%</label><span>&nbsp;(<span class="abcjs-midi-current-tempo"></span> '+(t.bpm?t.bpm:"BPM")+")</span></span>\n"}l+='<div class="abcjs-css-warning" style="font-size: 12px;color:red;border: 1px solid red;text-align: center;width: 300px;margin-top: 4px;font-weight: bold;border-radius: 4px;">CSS required: load abcjs-audio.css</div>',l+="</div>\n",e.innerHTML=l}function acResumerMiddleWare(e,t,r,n,o){var a=!0;if(activeAudioContext$3()?a="suspended"===activeAudioContext$3().state:registerAudioContext$1(),!supportsAudio$2())throw{status:"NotSupported",message:"This browser does not support audio."};(a||o)&&r&&r.classList.add("abcjs-loading"),a?activeAudioContext$3().resume().then((function(){n?n().then((function(n){doNext(e,t,r,o)})):doNext(e,t,r,o)})):doNext(e,t,r,o)}function doNext(e,t,r,n){n?e(t).then((function(){r&&r.classList.remove("abcjs-loading")})):(e(t),r&&r.classList.remove("abcjs-loading"))}function attachListeners(e){var t=!!e.options.loopHandler,r=!!e.options.restartHandler,n=!!e.options.playHandler||!!e.options.playPromiseHandler,o=!!e.options.progressHandler,a=!!e.options.warpHandler,i=e.parent.querySelector(".abcjs-midi-start");t&&e.parent.querySelector(".abcjs-midi-loop").addEventListener("click",(function(t){acResumerMiddleWare(e.options.loopHandler,t,i,e.options.afterResume)})),r&&e.parent.querySelector(".abcjs-midi-reset").addEventListener("click",(function(t){acResumerMiddleWare(e.options.restartHandler,t,i,e.options.afterResume)})),n&&i.addEventListener("click",(function(t){acResumerMiddleWare(e.options.playPromiseHandler||e.options.playHandler,t,i,e.options.afterResume,!!e.options.playPromiseHandler)})),o&&e.parent.querySelector(".abcjs-midi-progress-background").addEventListener("click",(function(t){acResumerMiddleWare(e.options.progressHandler,t,i,e.options.afterResume)})),a&&e.parent.querySelector(".abcjs-midi-tempo").addEventListener("change",(function(t){acResumerMiddleWare(e.options.warpHandler,t,i,e.options.afterResume)}))}var createSynthControl=CreateSynthControl$2,SynthSequence$1=synthSequence,CreateSynth$2=createSynth,activeAudioContext$2=activeAudioContext_1;function playEvent$1(e,t,r){for(var n=new SynthSequence$1,o=0;o<e.length;o++){var a=e[o],i=n.addTrack();if(n.setInstrument(i,a.instrument),0===o&&t)for(var s=0;s<t.length;s++){var l=t[s];n.appendNote(i,l.pitch,1/64,l.volume,l.cents)}n.appendNote(i,a.pitch,a.duration,a.volume,a.cents)}var c=activeAudioContext$2();return"suspended"===c.state?c.resume().then((function(){return doPlay(n,r)})):doPlay(n,r)}function doPlay(e,t){var r=new CreateSynth$2;return r.init({sequence:e,millisecondsPerMeasure:t}).then((function(){return r.prime()})).then((function(){return r.start(),Promise.resolve()}))}var playEvent_1=playEvent$1,CreateSynthControl$1=createSynthControl,CreateSynth$1=createSynth,TimingCallbacks=abc_timing_callbacks,activeAudioContext$1=activeAudioContext_1;function SynthController$2(){var e=this;e.warp=100,e.cursorControl=null,e.visualObj=null,e.timer=null,e.midiBuffer=null,e.options=null,e.currentTempo=null,e.control=null,e.isLooping=!1,e.isStarted=!1,e.isLoaded=!1,e.isLoading=!1,e.load=function(t,r,n){n||(n={}),e.control=new CreateSynthControl$1(t,{loopHandler:n.displayLoop?e.toggleLoop:void 0,restartHandler:n.displayRestart?e.restart:void 0,playPromiseHandler:n.displayPlay?e.play:void 0,progressHandler:n.displayProgress?e.randomAccess:void 0,warpHandler:n.displayWarp?e.onWarp:void 0,afterResume:e.init}),e.cursorControl=r,e.disable(!0)},e.disable=function(t){e.control&&e.control.disable(t)},e.setTune=function(t,r,n){return e.visualObj=t,e.disable(!1),e.options=n,e.control&&(e.pause(),e.setProgress(0,1),e.control.resetAll(),e.restart(),e.isStarted=!1),e.isLooping=!1,r?e.go():Promise.resolve({status:"no-audio-context"})},e.go=function(){e.isLoading=!0;var t,r=100*e.visualObj.millisecondsPerMeasure()/e.warp;return e.currentTempo=Math.round(e.visualObj.getBeatsPerMeasure()/r*6e4),e.control&&e.control.setTempo(e.currentTempo),e.percent=0,e.midiBuffer||(e.midiBuffer=new CreateSynth$1),activeAudioContext$1().resume().then((function(t){return e.midiBuffer.init({visualObj:e.visualObj,options:e.options,millisecondsPerMeasure:r})})).then((function(r){return t=r,e.midiBuffer.prime()})).then((function(){var r=16;return e.cursorControl&&void 0!==e.cursorControl.beatSubdivisions&&parseInt(e.cursorControl.beatSubdivisions,10)>=1&&parseInt(e.cursorControl.beatSubdivisions,10)<=64&&(r=parseInt(e.cursorControl.beatSubdivisions,10)),e.timer=new TimingCallbacks(e.visualObj,{beatCallback:e.beatCallback,eventCallback:e.eventCallback,lineEndCallback:e.lineEndCallback,qpm:e.currentTempo,extraMeasuresAtBeginning:e.cursorControl?e.cursorControl.extraMeasuresAtBeginning:void 0,lineEndAnticipation:e.cursorControl?e.cursorControl.lineEndAnticipation:0,beatSubdivisions:r}),e.cursorControl&&e.cursorControl.onReady&&"function"==typeof e.cursorControl.onReady&&e.cursorControl.onReady(e),e.isLoaded=!0,e.isLoading=!1,Promise.resolve({status:"created",notesStatus:t})}))},e.destroy=function(){e.timer&&(e.timer.reset(),e.timer.stop(),e.timer=null),e.midiBuffer&&(e.midiBuffer.stop(),e.midiBuffer=null),e.setProgress(0,1),e.control&&e.control.resetAll()},e.play=function(){return e.runWhenReady(e._play,void 0)},e.runWhenReady=function(t,r){return e.visualObj?e.isLoading?(n=500,new Promise((function(e){setTimeout(e,n)}))).then((function(){return e.isLoading?e.runWhenReady(t,r):t(r)})):e.isLoaded?t(r):e.go().then((function(){return t(r)})):Promise.resolve({status:"loading"});var n},e._play=function(){return activeAudioContext$1().resume().then((function(){return e.isStarted=!e.isStarted,e.isStarted?(e.cursorControl&&e.cursorControl.onStart&&"function"==typeof e.cursorControl.onStart&&e.cursorControl.onStart(),e.midiBuffer.start(),e.timer.start(e.percent),e.control&&e.control.pushPlay(!0)):e.pause(),Promise.resolve({status:"ok"})}))},e.pause=function(){e.timer&&(e.timer.pause(),e.midiBuffer.pause(),e.control&&e.control.pushPlay(!1))},e.toggleLoop=function(){e.isLooping=!e.isLooping,e.control&&e.control.pushLoop(e.isLooping)},e.restart=function(){e.timer&&(e.timer.setProgress(0),e.midiBuffer.seek(0))},e.randomAccess=function(t){return e.runWhenReady(e._randomAccess,t)},e._randomAccess=function(t){var r=t.target.classList.contains("abcjs-midi-progress-indicator")?t.target.parentNode:t.target,n=(t.x-r.offsetLeft)/r.offsetWidth;return n<0&&(n=0),n>1&&(n=1),e.seek(n),Promise.resolve({status:"ok"})},e.seek=function(t,r){e.timer&&e.midiBuffer&&(e.timer.setProgress(t,r),e.midiBuffer.seek(t,r))},e.setWarp=function(t){if(parseInt(t,10)>0){e.warp=parseInt(t,10);var r=e.isStarted,n=e.percent;return e.destroy(),e.isStarted=!1,e.go().then((function(){return e.setProgress(n,1e3*e.midiBuffer.duration),e.control&&e.control.setWarp(e.currentTempo,e.warp),r?e.play().then((function(){return e.seek(n),Promise.resolve()})):(e.seek(n),Promise.resolve())}))}return Promise.resolve()},e.onWarp=function(t){var r=t.target.value;return e.setWarp(r)},e.setProgress=function(t,r){e.percent=t,e.control&&e.control.setProgress(t,r)},e.finished=function(){if(e.timer.reset(),e.isLooping)return e.timer.start(0),e.midiBuffer.finished(),e.midiBuffer.start(),"continue";e.timer.stop(),e.isStarted&&(e.control&&e.control.pushPlay(!1),e.isStarted=!1,e.midiBuffer.finished(),e.cursorControl&&e.cursorControl.onFinished&&"function"==typeof e.cursorControl.onFinished&&e.cursorControl.onFinished(),e.setProgress(0,1))},e.beatCallback=function(t,r,n,o){var a=t/r;e.setProgress(a,n),e.cursorControl&&e.cursorControl.onBeat&&"function"==typeof e.cursorControl.onBeat&&e.cursorControl.onBeat(t,r,n,o)},e.eventCallback=function(t){if(!t)return e.finished();e.cursorControl&&e.cursorControl.onEvent&&"function"==typeof e.cursorControl.onEvent&&e.cursorControl.onEvent(t)},e.lineEndCallback=function(t,r){e.cursorControl&&e.cursorControl.onLineEnd&&"function"==typeof e.cursorControl.onLineEnd&&e.cursorControl.onLineEnd(t,r)},e.getUrl=function(){return e.midiBuffer.download()},e.download=function(t){var r=e.getUrl(),n=document.createElement("a");document.body.appendChild(n),n.setAttribute("style","display: none;"),n.href=r,n.download=t||"output.wav",n.click(),window.URL.revokeObjectURL(r),document.body.removeChild(n)}}var synthController=SynthController$2,centsToFactor=centsToFactor_1,rendererFactory$1;!function(){function e(e,t){for(var r in t)t.hasOwnProperty(r)&&e.setAttribute(r,t[r]);return e}function t(){this.trackstrings="",this.trackcount=0,this.noteOnAndChannel="%90",this.noteOffAndChannel="%80"}t.prototype.setTempo=function(e){0===this.trackcount&&(this.startTrack(),this.track+="%00%FF%51%03"+n(Math.round(6e7/e),6),this.endTrack())},t.prototype.setGlobalInfo=function(e,t,o,a){if(0===this.trackcount){this.startTrack();var i=Math.round(6e7/e);this.track+="%00%FF%51%03"+n(i,6),o&&(this.track+=function(e){if(!e||!e.accidentals)return"";for(var t="%00%FF%59%02",r=0,o=256,a=0;a<e.accidentals.length;a++)"sharp"===e.accidentals[a].acc?r++:"flat"===e.accidentals[a].acc&&o--;var i=n(256!==o?o:r,2),s="m"===e.mode?"%01":"%00";return t+i+s}(o)),a&&(this.track+=function(e){var t,r="%00%FF%58%04"+n(e.num,2),o={1:0,2:1,4:2,8:3,16:4,32:5}[e.den];if(!o)return"";switch(r+=n(o,2),e.num+"/"+e.den){case"2/4":case"3/4":case"4/4":case"5/4":t=24;break;case"6/4":t=72;break;case"2/2":case"3/2":case"4/2":t=48;break;case"3/8":case"6/8":case"9/8":case"12/8":t=36}return t?(r+=n(t,2),r+"%08"):""}(a)),t&&(this.track+=r(t,"%01")),this.endTrack()}},t.prototype.startTrack=function(){this.noteWarped={},this.track="",this.trackName="",this.trackInstrument="",this.silencelength=0,this.trackcount++,this.instrument&&this.setInstrument(this.instrument)},t.prototype.endTrack=function(){this.track=this.trackName+this.trackInstrument+this.track;var e=n(this.track.length/3+4,8);this.track="MTrk"+e+this.track+"%00%FF%2F%00",this.trackstrings+=this.track},t.prototype.setText=function(e,t){if("name"===e)this.trackName=r(t,"%03")},t.prototype.setInstrument=function(e){this.trackInstrument="%00%C0"+n(e,2),this.instrument=e},t.prototype.setChannel=function(e,t){this.channel=e;var r="%00%B"+this.channel.toString(16);this.track+=r+"%79%00",this.track+=r+"%40%00",this.track+=r+"%5B%30",t||(t=0),t=Math.round(64*(t+1)),this.track+=r+"%0A"+n(t,2),this.track+=r+"%07%64",this.noteOnAndChannel="%9"+this.channel.toString(16),this.noteOffAndChannel="%8"+this.channel.toString(16)};function r(e,t){for(var r="",o=0;o<e.length;o++)r+=n(e.charCodeAt(o),2);return"%00%FF"+t+n(r.length/3,2)+r}function n(e,t){var r=e.toString(16);for(r=r.split(".")[0];r.length<t;)r="0"+r;return r.length>t&&(r=r.substring(0,t)),function(e){for(var t="",r=0;r<e.length;r+=2)t+="%",t+=e.substr(r,2);return t}(r)}function o(e){var t=(e=Math.round(e))%128;return n(2*(e-t)+t,4)}function a(e){var t=0,r=[];for(e=Math.round(e);0!==e;)r.push(127&e),e>>=7;for(var o=r.length-1;o>=0;o--){t<<=8;var a=r[o];0!==o&&(a|=128),t|=a}var i=t.toString(16).length;return n(t,i+=i%2)}t.prototype.startNote=function(e,t,r){if(this.track+=a(this.silencelength),this.silencelength=0,r){this.track+="%e"+this.channel.toString(16);var i=Math.round(4096*centsToFactor(r));this.track+=o(8192+i),this.track+=a(0),this.noteWarped[e]=!0}this.track+=this.noteOnAndChannel,this.track+="%"+e.toString(16)+n(t,2)},t.prototype.endNote=function(e){this.track+=a(this.silencelength),this.silencelength=0,this.noteWarped[e]&&(this.track+="%e"+this.channel.toString(16),this.track+=o(8192),this.track+=a(0),this.noteWarped[e]=!1),this.track+=this.noteOffAndChannel,this.track+="%"+e.toString(16)+"%00"},t.prototype.addRest=function(e){this.silencelength+=e,this.silencelength<0&&(this.silencelength=0)},t.prototype.getData=function(){return"data:audio/midi,MThd%00%00%00%06%00%01"+n(this.trackcount,4)+"%01%e0"+this.trackstrings},t.prototype.embed=function(t,r){var n=this.getData(),o=e(document.createElement("a"),{href:n});if(o.innerHTML="download midi",t.insertBefore(o,t.firstChild),!r){var a=e(document.createElement("embed"),{src:n,type:"video/quicktime",controller:"true",autoplay:"false",loop:"false",enablejavascript:"true",style:"display:block; height: 20px;"});t.insertBefore(a,t.firstChild)}},rendererFactory$1=function(){return new t}}();var abc_midi_renderer=rendererFactory$1,rendererFactory=abc_midi_renderer,create;!function(){function e(e,t,r){for(var n=Object.keys(t),o=0;o<n.length;o++)n[o]=parseFloat(n[o]);n.sort((function(e,t){return e-t}));for(var a=0,i=0;i<n.length;i++){var s=t[n[i]];if(n[i]>a){var l=(n[i]-a)*r;e.addRest(l),a=n[i]}for(var c=0;c<s.length;c++){var u=s[c];u.volume?e.startNote(u.pitch,u.volume,u.cents):e.endNote(u.pitch)}}}create=function(t,r){void 0===r&&(r={});var n=t.setUpAudio(r),o=rendererFactory(),a=t.metaText?t.metaText.title:void 0;a&&a.length>128&&(a=a.substring(0,124)+"...");var i=t.getKeySignature(),s=t.getMeterFraction(),l=n.tempo/60;o.setGlobalInfo(n.tempo,a,i,s);for(var c=0;c<n.tracks.length;c++){o.startTrack();for(var u={},d=0;d<n.tracks[c].length;d++){var p=n.tracks[c][d];switch(p.cmd){case"text":o.setText(p.type,p.text);break;case"program":var f=0;r.pan&&r.pan.length>c&&(f=r.pan[c]),128===p.instrument?(o.setChannel(9,f),o.setInstrument(0)):(o.setChannel(p.channel,f),o.setInstrument(p.instrument));break;case"note":var h=p.gap*l,v=p.start,g=v+p.duration-h;u[v]||(u[v]=[]),u[v].push({pitch:p.pitch,volume:p.volume,cents:p.cents}),u[g]||(u[g]=[]),u[g].push({pitch:p.pitch,volume:0});break;default:console.log("MIDI create Unknown: "+p.cmd)}}e(o,u,1920),o.endTrack()}return o.getData()}}();var abc_midi_create=create,tunebook=abc_tunebook,midiCreate=abc_midi_create,getMidiFile$1=function(e,t){var r={};if(t)for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);function o(e,t,n){var o=midiCreate(t,r);switch(r.midiOutputType){case"encoded":return o;case"binary":var a=o.replace("data:audio/midi,","");a=(a=a.replace(/MThd/g,"%4d%54%68%64")).replace(/MTrk/g,"%4d%54%72%6b");for(var i=new ArrayBuffer(a.length/3),s=new Uint8Array(i),l=0;l<a.length/3;l++){var c=3*l+1,u=parseInt(a.substring(c,c+2),16);s[l]=u}return s;default:return generateMidiDownloadLink(t,r,o,n)}}return r.generateInline=!1,"string"==typeof e?tunebook.renderEngine(o,"*",e,r):o(0,e,0)};function isFunction(e){return e&&"[object Function]"==={}.toString.call(e)}var generateMidiDownloadLink=function(e,t,r,n){var o=["abcjs-download-midi","abcjs-midi-"+n];t.downloadClass&&o.push(t.downloadClass);var a='<div class="'+o.join(" ")+'">';t.preTextDownload&&(a+=t.preTextDownload);var i,s=e.metaText&&e.metaText.title?e.metaText.title:"Untitled";return i=t.downloadLabel&&isFunction(t.downloadLabel)?t.downloadLabel(e,n):t.downloadLabel?t.downloadLabel.replace(/%T/,s):'Download MIDI for "'+s+'"',s=s.toLowerCase().replace(/'/g,"").replace(/\W/g,"_").replace(/__/g,"_"),a+='<a download="'+(t.fileName?t.fileName:s+".midi")+'" href="'+r+'">'+i+"</a>",t.postTextDownload&&(a+=t.postTextDownload),a+"</div>"},getMidiFile_1=getMidiFile$1;try{if("function"!=typeof window.CustomEvent){var CustomEvent=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var r=document.createEvent("CustomEvent");return r.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),r};CustomEvent.prototype=window.Event.prototype,window.CustomEvent=CustomEvent}}catch(e){}var EditArea$1=function(e){this.textarea=document.getElementById(e),this.initialText=this.textarea.value,this.isDragging=!1};EditArea$1.prototype.addSelectionListener=function(e){this.textarea.onmousemove=function(t){this.isDragging&&e.fireSelectionChanged()}},EditArea$1.prototype.addChangeListener=function(e){this.changelistener=e,this.textarea.onkeyup=function(){e.fireChanged()},this.textarea.onmousedown=function(){this.isDragging=!0,e.fireSelectionChanged()},this.textarea.onmouseup=function(){this.isDragging=!1,e.fireChanged()},this.textarea.onchange=function(){e.fireChanged()}},EditArea$1.prototype.getSelection=function(){return{start:this.textarea.selectionStart,end:this.textarea.selectionEnd}},EditArea$1.prototype.setSelection=function(e,t){if(this.textarea.setSelectionRange)this.textarea.setSelectionRange(e,t);else if(this.textarea.createTextRange){var r=this.textarea.createTextRange();r.collapse(!0),r.moveEnd("character",t),r.moveStart("character",e),r.select()}this.textarea.focus()},EditArea$1.prototype.getString=function(){return this.textarea.value},EditArea$1.prototype.setString=function(e){this.textarea.value=e,this.initialText=this.getString(),this.changelistener&&this.changelistener.fireChanged()},EditArea$1.prototype.getElem=function(){return this.textarea};var abc_editarea=EditArea$1,parseCommon=abc_common,SynthController$1=synthController,supportsAudio$1=supportsAudio_1,renderAbc=abc_tunebook_svg,EditArea=abc_editarea;function gatherAbcParams(e){var t,r={};if(e.abcjsParams)for(t in e.abcjsParams)e.abcjsParams.hasOwnProperty(t)&&(r[t]=e.abcjsParams[t]);if(e.midi_options)for(t in e.midi_options)e.midi_options.hasOwnProperty(t)&&(r[t]=e.midi_options[t]);if(e.parser_options)for(t in e.parser_options)e.parser_options.hasOwnProperty(t)&&(r[t]=e.parser_options[t]);if(e.render_options)for(t in e.render_options)e.render_options.hasOwnProperty(t)&&(r[t]=e.render_options[t]);return r.tablature&&e.warnings_id&&(r.tablature.warnings_id=e.warnings_id),r}var Editor=function(e,t){this.abcjsParams=gatherAbcParams(t),t.indicate_changed&&(this.indicate_changed=!0),this.editarea="string"==typeof e?new EditArea(e):e,this.editarea.addSelectionListener(this),this.editarea.addChangeListener(this),t.canvas_id?this.div=t.canvas_id:t.paper_id?this.div=t.paper_id:(this.div=document.createElement("DIV"),this.editarea.getElem().parentNode.insertBefore(this.div,this.editarea.getElem())),"string"==typeof this.div&&(this.div=document.getElementById(this.div)),t.selectionChangeCallback&&(this.selectionChangeCallback=t.selectionChangeCallback),this.clientClickListener=this.abcjsParams.clickListener,this.abcjsParams.clickListener=this.highlight.bind(this),t.synth&&supportsAudio$1()&&(this.synth={el:t.synth.el,cursorControl:t.synth.cursorControl,options:t.synth.options}),t.generate_midi&&(this.generate_midi=t.generate_midi,this.abcjsParams.generateDownload&&("string"==typeof t.midi_download_id?this.downloadMidi=document.getElementById(t.midi_download_id):t.midi_download_id&&(this.downloadMidi=t.midi_download_id)),!1!==this.abcjsParams.generateInline&&("string"==typeof t.midi_id?this.inlineMidi=document.getElementById(t.midi_id):t.midi_id&&(this.inlineMidi=t.midi_id))),t.warnings_id?"string"==typeof t.warnings_id?this.warningsdiv=document.getElementById(t.warnings_id):this.warningsdiv=t.warnings_id:t.generate_warnings&&(this.warningsdiv=document.createElement("div"),this.div.parentNode.insertBefore(this.warningsdiv,this.div)),this.onchangeCallback=t.onchange,this.currentAbc="",this.tunes=[],this.bReentry=!1,this.parseABC(),this.modelChanged(),this.addClassName=function(e,t){return function(e,t){var r=e.className;return r.length>0&&(r===t||new RegExp("(^|\\s)"+t+"(\\s|$)").test(r))}(e,t)||(e.className+=(e.className?" ":"")+t),e},this.removeClassName=function(e,t){return e.className=parseCommon.strip(e.className.replace(new RegExp("(^|\\s+)"+t+"(\\s+|$)")," ")),e},this.setReadOnly=function(e){var t="abc_textarea_readonly",r=this.editarea.getElem();e?(r.setAttribute("readonly","yes"),this.addClassName(r,t)):(r.removeAttribute("readonly"),this.removeClassName(r,t))}};Editor.prototype.redrawMidi=function(){if(this.generate_midi&&!this.midiPause){var e=new window.CustomEvent("generateMidi",{detail:{tunes:this.tunes,abcjsParams:this.abcjsParams,downloadMidiEl:this.downloadMidi,inlineMidiEl:this.inlineMidi,engravingEl:this.div}});window.dispatchEvent(e)}if(this.synth){var t=this.synth.synthControl;this.synth.synthControl||(this.synth.synthControl=new SynthController$1,this.synth.synthControl.load(this.synth.el,this.synth.cursorControl,this.synth.options)),this.synth.synthControl.setTune(this.tunes[0],t,this.synth.options)}},Editor.prototype.modelChanged=function(){if(!this.bReentry){this.bReentry=!0;try{this.timerId=null,this.synth&&this.synth.synthControl&&this.synth.synthControl.disable(!0),this.tunes=renderAbc(this.div,this.currentAbc,this.abcjsParams),this.tunes.length>0&&(this.warnings=this.tunes[0].warnings),this.redrawMidi()}catch(error){console.error("ABCJS error: ",error),this.warnings||(this.warnings=[]),this.warnings.push(error.message)}this.warningsdiv&&(this.warningsdiv.innerHTML=this.warnings?this.warnings.join("<br />"):"No errors"),this.updateSelection(),this.bReentry=!1}},Editor.prototype.paramChanged=function(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this.abcjsParams[t]=e[t]);this.currentAbc="",this.fireChanged()},Editor.prototype.synthParamChanged=function(e){if(this.synth){if(this.synth.options={},e)for(var t in e)e.hasOwnProperty(t)&&(this.synth.options[t]=e[t]);this.currentAbc="",this.fireChanged()}},Editor.prototype.parseABC=function(){var e=this.editarea.getString();return e===this.currentAbc?(this.updateSelection(),!1):(this.currentAbc=e,!0)},Editor.prototype.updateSelection=function(){var t=this.editarea.getSelection();try{this.tunes.length>0&&this.tunes[0].engraver&&this.tunes[0].engraver.rangeHighlight(t.start,t.end)}catch(e){}this.selectionChangeCallback&&this.selectionChangeCallback(t.start,t.end)},Editor.prototype.fireSelectionChanged=function(){this.updateSelection()},Editor.prototype.setDirtyStyle=function(e){if(void 0!==this.indicate_changed){var t,r,n="abc_textarea_dirty",o=this.editarea.getElem();e?function(e,t){var r=e.className;return r.length>0&&(r===t||new RegExp("(^|\\s)"+t+"(\\s|$)").test(r))}(t=o,r=n)||(t.className+=(t.className?" ":"")+r):function(e,t){e.className=parseCommon.strip(e.className.replace(new RegExp("(^|\\s+)"+t+"(\\s+|$)")," "))}(o,n)}},Editor.prototype.fireChanged=function(){if(!this.bIsPaused&&this.parseABC()){var e=this;this.timerId&&clearTimeout(this.timerId),this.timerId=setTimeout((function(){e.modelChanged()}),300);var t=this.isDirty();this.wasDirty!==t&&(this.wasDirty=t,this.setDirtyStyle(t)),this.onchangeCallback&&this.onchangeCallback(this)}},Editor.prototype.setNotDirty=function(){this.editarea.initialText=this.editarea.getString(),this.wasDirty=!1,this.setDirtyStyle(!1)},Editor.prototype.isDirty=function(){return void 0!==this.indicate_changed&&this.editarea.initialText!==this.editarea.getString()},Editor.prototype.highlight=function(e,t,r,n,o,a){this.editarea.setSelection(e.startChar,e.endChar),this.selectionChangeCallback&&this.selectionChangeCallback(e.startChar,e.endChar),this.clientClickListener&&this.clientClickListener(e,t,r,n,o,a)},Editor.prototype.pause=function(e){this.bIsPaused=e,e||this.fireChanged()},Editor.prototype.millisecondsPerMeasure=function(){return this.synth&&this.synth.synthControl&&this.synth.synthControl.visualObj?this.synth.synthControl.visualObj.millisecondsPerMeasure():0},Editor.prototype.pauseMidi=function(e){this.midiPause=e,e||this.redrawMidi()};var abc_editor=Editor,version=version_1,animation=abc_animation,tuneBook=abc_tunebook,sequence=abc_midi_sequencer,strTranspose=output,abcjs={};
  7. /**!
  8. Copyright (c) 2009-2023 Paul Rosen and Gregory Dyke
  9. Permission is hereby granted, free of charge, to any person obtaining a copy
  10. of this software and associated documentation files (the "Software"), to deal
  11. in the Software without restriction, including without limitation the rights
  12. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  13. copies of the Software, and to permit persons to whom the Software is
  14. furnished to do so, subject to the following conditions:
  15. The above copyright notice and this permission notice shall be included in
  16. all copies or substantial portions of the Software.
  17. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  18. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  19. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  20. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  21. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  22. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  23. THE SOFTWARE.
  24. **This text is from: http://opensource.org/licenses/MIT**
  25. !**/abcjs.signature="abcjs-basic v"+version,Object.keys(animation).forEach((function(e){abcjs[e]=animation[e]})),Object.keys(tuneBook).forEach((function(e){abcjs[e]=tuneBook[e]})),abcjs.renderAbc=abc_tunebook_svg,abcjs.TimingCallbacks=abc_timing_callbacks;var glyphs=glyphs_1;abcjs.setGlyph=glyphs.setSymbol,abcjs.strTranspose=strTranspose;var CreateSynth=createSynth,instrumentIndexToName=instrumentIndexToName_1,pitchToNoteName=pitchToNoteName_1,SynthSequence=synthSequence,CreateSynthControl=createSynthControl,registerAudioContext=registerAudioContext_1,activeAudioContext=activeAudioContext_1,supportsAudio=supportsAudio_1,playEvent=playEvent_1,SynthController=synthController,getMidiFile=getMidiFile_1;abcjs.synth={CreateSynth:CreateSynth,instrumentIndexToName:instrumentIndexToName,pitchToNoteName:pitchToNoteName,SynthController:SynthController,SynthSequence:SynthSequence,CreateSynthControl:CreateSynthControl,registerAudioContext:registerAudioContext,activeAudioContext:activeAudioContext,supportsAudio:supportsAudio,playEvent:playEvent,getMidiFile:getMidiFile,sequence:sequence},abcjs.Editor=abc_editor,abcjs.EditArea=abc_editarea;var abcjs_1=abcjs,ABCJS=getDefaultExportFromCjs(abcjs_1),abcjsAudio="",container="_container_1h3dr_1",rhythm="_rhythm_1h3dr_17",containerTop="_containerTop_1h3dr_30",topWrap="_topWrap_1h3dr_37",topBtn="_topBtn_1h3dr_44",btnImg$1="_btnImg_1h3dr_44",btnImgActive="_btnImgActive_1h3dr_70",topBtnIcon$1="_topBtnIcon_1h3dr_73",btnDisabled="_btnDisabled_1h3dr_77",topDownArrow="_topDownArrow_1h3dr_82",topLine="_topLine_1h3dr_94",btnPlayMore="_btnPlayMore_1h3dr_100",wrapBox$1="_wrapBox_1h3dr_103",longTopBtn="_longTopBtn_1h3dr_113",dropDownWrap="_dropDownWrap_1h3dr_119",content$3="_content_1h3dr_127",slide$1="_slide_1h3dr_132",box$1="_box_1h3dr_145",value="_value_1h3dr_153",instruments$1="_instruments_1h3dr_180",instrumentTitle="_instrumentTitle_1h3dr_188",titleBox="_titleBox_1h3dr_196",popupWrap="_popupWrap_1h3dr_202",btnLineTitle="_btnLineTitle_1h3dr_210",btnItem$1="_btnItem_1h3dr_217",btnItemIcon$1="_btnItemIcon_1h3dr_223",btnItemName$1="_btnItemName_1h3dr_236",btnItemActive="_btnItemActive_1h3dr_239",titleName="_titleName_1h3dr_242",selectMearesBox="_selectMearesBox_1h3dr_248",mearesInput="_mearesInput_1h3dr_257",selectMearesHidden="_selectMearesHidden_1h3dr_268",loading="_loading_1h3dr_271",btnGroup="_btnGroup_1h3dr_303",exportPng="_exportPng_1h3dr_307",tabsmodel="_tabsmodel_1h3dr_315",styles$a={container:container,rhythm:rhythm,containerTop:containerTop,topWrap:topWrap,topBtn:topBtn,btnImg:btnImg$1,btnImgActive:btnImgActive,topBtnIcon:topBtnIcon$1,btnDisabled:btnDisabled,topDownArrow:topDownArrow,topLine:topLine,btnPlayMore:btnPlayMore,wrapBox:wrapBox$1,longTopBtn:longTopBtn,dropDownWrap:dropDownWrap,content:content$3,slide:slide$1,box:box$1,value:value,instruments:instruments$1,instrumentTitle:instrumentTitle,titleBox:titleBox,popupWrap:popupWrap,btnLineTitle:btnLineTitle,btnItem:btnItem$1,btnItemIcon:btnItemIcon$1,btnItemName:btnItemName$1,btnItemActive:btnItemActive,titleName:titleName,selectMearesBox:selectMearesBox,mearesInput:mearesInput,selectMearesHidden:selectMearesHidden,loading:loading,btnGroup:btnGroup,exportPng:exportPng,tabsmodel:tabsmodel},piano="_piano_1vew4_1",show="_show_1vew4_12",pianoItemWrap="_pianoItemWrap_1vew4_15",itemWrap$1="_itemWrap_1vew4_23",item$2="_item_1vew4_23",keyDown="_keyDown_1vew4_48",keytip="_keytip_1vew4_71",singname="_singname_1vew4_82",bkey="_bkey_1vew4_91",styles$9={piano:piano,show:show,pianoItemWrap:pianoItemWrap,itemWrap:itemWrap$1,item:item$2,keyDown:keyDown,keytip:keytip,singname:singname,bkey:bkey},_hoisted_1$3={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$3=createBaseVNode("path",{d:"M289.94 256l95-95A24 24 0 0 0 351 127l-95 95l-95-95a24 24 0 0 0-34 34l95 95l-95 95a24 24 0 1 0 34 34l95-95l95 95a24 24 0 0 0 34-34z",fill:"currentColor"},null,-1),_hoisted_3$3=[_hoisted_2$3],Close=defineComponent({name:"Close",render:function(e,t){return openBlock(),createElementBlock("svg",_hoisted_1$3,_hoisted_3$3)}}),setbox$2="_setbox_97a7m_1",head$3="_head_97a7m_10",close$3="_close_97a7m_24",content$2="_content_97a7m_30",lineTitle="_lineTitle_97a7m_35",item$1="_item_97a7m_43",itemImg="_itemImg_97a7m_51",icon$1="_icon_97a7m_59",itemActive="_itemActive_97a7m_63",itemIcon="_itemIcon_97a7m_70",beatItem="_beatItem_97a7m_81",beatIcon="_beatIcon_97a7m_92",speedIcon$1="_speedIcon_97a7m_107",btnItem="_btnItem_97a7m_110",btnItemIcon="_btnItemIcon_97a7m_119",btnItemName="_btnItemName_97a7m_128",active="_active_97a7m_131",btns$1="_btns_97a7m_134",styles$8={setbox:setbox$2,head:head$3,close:close$3,content:content$2,lineTitle:lineTitle,item:item$1,itemImg:itemImg,icon:icon$1,itemActive:itemActive,itemIcon:itemIcon,beatItem:beatItem,beatIcon:beatIcon,speedIcon:speedIcon$1,btnItem:btnItem,btnItemIcon:btnItemIcon,btnItemName:btnItemName,active:active,btns:btns$1},icon_1$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAAAuxJREFUeF7t27tPFFEcxfEvaqIhGC2wUv8COvwXrIy9iYWh8W0jSmOQiFr5oMH3q7GxsvGfsMDWwoQKYwyVWthglPwIJJvJwN5hzyXjnbPVFnfPzHz2zOzdeQzhl1RgSJrmMAwqLoFBDSoWEMe5oQYVC4jj3FCDigXEcW6oQcUC4jg31KBiAXGcG2pQsYA4zg01qFhAHOeGGlQsII5zQ/9T0PjiRoG9ovX/A3wXZUljcjf0GHALOA7sk645LAIngC/i3IHicoHuAW4CN4B4n+v1FjiTK3w7ublAZ4GZ7axQw890AjR284+ZmxnundnlPwAne5q2AtwG3gO/GjZws+Gd+VGKQ8jvyg9QHEvviiBbH6M+hh4ClitbPQZ8br2EaAXVoEeApcq6HQW+ita39TEGFX9FJYLuBv4Bf8VWSXGlgU4A8+uYk8DrJAXhoJJA4zzBj8oM4wrwWOjVN6ok0GHgZ80fisvAk74SogElgQbJNHCnYhPH00B9KjLbMqY00NjYe8BUDepF4Hlu1BJBw+w+cL0G9QLwIidqqaBh9gC4VoN6HniZC7Vk0DB7CMT0qfcVx9RzwKscqG0EPQiMCDc2mnqqBvVsjnlq20BjehO75C4h6GZR0dTTwDvlstoEGiemF5Qbl5D1DTicMC55SJtAx4FPyWuuGVg0aBA9Ai7BjjyQVvwuv9G5/cABTQHXUjr9oyR0XIuaA652fdqkQvXEXiXpv55CSZ8c0WLGJeu4B6D6VzNmDs+0i6pPa9M8dNDt9QnmQQUrn/clEDFoxPVepIvp0psMy9gysqRdfmNDfRl5p1uUc3klNjSnV99sNahvFutL3myAb2ds5pU02jfcJjGlD/It4elWySP90EIyVdpAP1aT5tR4lB/8akyW9gE/mpjm5FFVAfXEvvPCBhVXwKAGFQuI49xQg4oFxHFuqEHFAuI4N9SgYgFxnBtqULGAOM4NNahYQBznhhpULCCOc0MNKhYQx7mhYtBVqPOkVTfYfusAAAAASUVORK5CYII=",__vite_glob_0_0=Object.freeze(Object.defineProperty({__proto__:null,default:icon_1$1},Symbol.toStringTag,{value:"Module"})),icon_0="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAABIhJREFUeF7tm0uoVlUUx3/X8jFoYiKIghINRBMDxUHgA8XKaCTRAx9J+EKEFATBmQNBMEgjkSjFSO1hCEKQj4G9LAfqoKBEBKVQalIQhmT24o/nXA6He+93ztlr73O/7649Eu/e/73W76x19rfX3qcPb6YE+kzVXAwHahwEDtSBGhMwlvMIdaDGBIzlPEIdqDEBYzmPUAdqTMBYziPUgRoTMJbzCHWgxgSM5TxCHagxAWM5j1AHakzAWM4jtEuBPgasA54CpgIPdfDjDnAN+Bh4A/jD2O9ocrEjdAzwOrAJGNXQi5+AZ4AfGo5POiwmUME8BSwx8OgXYB5w00ArqkRMoPuBzYbWXwAWAfcMNc2lYgGdBXxbSnNF13bgc+DnDp5MBHYBG0r93gReNadgKBgL6D5gS8FOwXwc+K2G7bLtE+DZ0pjVwNEaOkm7xgL6PTCz4MkK4IMGno0HLgOPFMb+CxwHrlbQuw1oUTsH/Fqhf3CXWEDlSPGn0eQKaT6YM3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uQmCC",__vite_glob_0_1=Object.freeze(Object.defineProperty({__proto__:null,default:icon_0},Symbol.toStringTag,{value:"Module"})),icon_1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAAAvlJREFUeF7t3M2rTVEcxvHvNVCIKDHAQIgJE29FKCkGKJGJUCSMTYwN+AeEiZCBDCghpQyIkoGBlJeBpJSUkLeI6Hdat67b2d2193nWsXWfPf6t5679uc85Z59d+wzgQyowIE1zGAYVl8CgBhULiOPcUIOKBcRxbqhBxQLiODd0lIMuBjYBF4EnYgtJ3P/W0P3AKWAbcEkiIA4xqEHdUGUH/JJXagIGNahYQBznhhpULCCOc0MNKhYQx7mhBhULiOPcUIOKBcRxbqhBxQLiODfUoGIBcZwbalCxgDjODTWoWEAc54YaVCwgjnNDDSoWEMe5oQYVC4jj3FCDigXEcW6oQcUC4jg31KBiAXGcG2pQsYA4zg01qFhAHOeGGlQsII5zQw0qFhDHuaEGFQs0iJsATAO+Au+An0My3NAM0AXpCeP1wDJg4pA134EHwAXgHLDTD89Wi64DDgEbMtBj5CVwC9jrp5H/FpsBnAA2Z0J2G/Pj3UllC3AWmNQDZiw1KHAQOA6M6RHToMDu1EyBZSdiVDd0EXAfGKfSBNYAdzLzxgNr09vMbeB15rpGY/34iYx7wIpGu6teNB14m5E5G7gJzE2zX4BdwOWMtY1GSoOuBO422ln1osfAwszMq8DGYbMfgVnAp8yMWmOlQU8CB2rtaOThPcCZkcc6E4HX7YpiVYF/dOcPlgaN96zVmSefM/YIWAr8yBkGngLzu8zOAV5kZtQaKw36HJhXa0fVw5+BJcCzGnnR5tPD5uP3nuIqochRGvRKj9+IBk/6G7AVuNFAYXv68Zd46V8HjgFxj6DIURr0cDqBXjb/IX2wxNVC64/SoJPT+1hc5jQ54pJnH/CqyeJ/saY0aJzTcuAaMLXGCcaHyVHgfI01rRjtB2ic6EzgCLADGFtx5u/T7blAjOvH360QqrmJfoEObivuxse3prhsmQLEJ/ebdK/zIfCr5v5bN95v0NYBqDdkULGoQQ0qFhDHuaEGFQuI49xQg4oFxHFuqEHFAuK4P8RMplUmMtfOAAAAAElFTkSuQmCC",__vite_glob_0_2=Object.freeze(Object.defineProperty({__proto__:null,default:icon_1},Symbol.toStringTag,{value:"Module"})),icon_10="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAAA2xJREFUeF7tmcurTlEYxn9HIRnIBKWYuRdKMTAQEbkUCiNl4E8wMzDhv5CBGDBA7rfIZYpcMiFJSQkj92tPLbXjdM7+1n7W/vZ3elet2Xqfvd7ffvZa71p7iGhWAkNWtRAjgJpNEEADqJmAWS4cGkDNBMxy4dAAaiZglguHBlAzAbNcODSAmgmY5cKhAdRMwCwXDg2gZgJmuXBoADUTMMuFQwOomYBZLhwaQM0EzHLh0ABqJmCWC4cGUDMBs1w4NICaCZjlSjt0FbAcuArcM8+9k3Klgd4ABFXtFXAGOAXcAn50kkjDSZUGKlcuHWaOH4BzCe4V4GPDPDoTXhroY2DhKNl+AQT1dIL8tjN0MiZSGugjYFEP8/oF3ElwBfhFD7GdGFoa6AZgP7ACGJeR8cMEV+vug4z41kNKA/2b0Axga+rapMZnZPqy4tzbwM8MjeIhbQGtJjIV2AxsA9YBkzKyfFfZ1FSSfcrQKBLSD6DVRCYD6xPcjcCUjCw/A5crm5pg9631G2g18QnAmgR3CzAtg4qWAS0H2tDUtUy02roEtJq4NrCVCa7W3lmZVO5X4GqDK966CvTfxJdV4M7LpKISTK49Cgh0kTYoQKvJzwf2AXsyieggobX6W2b8iGGDBnQxsBPYDczMAPIdOAAcyoitFTIIQHV03ZFAzq2V1f+D5MbjwEHgWaZGrbCuAp2TAMqNo90FjJToc+AwcAR4U4tIw0FdAqrPWQX/dmBJg7xUh54EjgF3gd8NtHoO7SfQicBqYFPquaWRkhZE3bWeAK738661baDTAZ2I5MS1gE5Kua2TZ/s2gOqsvgvYm26dcp+pT1c3TmdTPVmslsx9w4rLTa7uM2cDFwHVjjlNN/nXgPOpv84RaTOmNNAnwIIeE1JZcyH1m8DXHuP7OrwkUF3Tva+RnW6L9DPvUnJz0TqxxnwaDSkJVBPTxjHc7v00ARRE/QHVcXBMtNJAVVPqhKIjn8oZrafqrV+rtfW2SgNVHiqNBLTIZURboOo+pw2gdecyJsYFUPNrDKAB1EzALBcODaBmAma5cGgANRMwy4VDA6iZgFkuHBpAzQTMcuHQAGomYJYLhwZQMwGzXDg0gJoJmOXCoQHUTMAsFw4NoGYCZrlwaAA1EzDLhUMDqJmAWS4cGkDNBMxy4VAz0D+03XNV5puEGQAAAABJRU5ErkJggg==",__vite_glob_0_3=Object.freeze(Object.defineProperty({__proto__:null,default:icon_10},Symbol.toStringTag,{value:"Module"})),icon_11="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAAAYVJREFUeF7t1bFNHFEARdFHRkodDk1ERBEUYLkxywXYLbgAaISIDhAix7IGnR05uBv/ufpz5kl7tX5U4IrWii1QPIJAA8UCONdCA8UCONdCA8UCONdCA8UCONdCA8UCONdCA8UCONdCA8UCONdCA8UCONdCA8UCONdCA8UCONdCA8UCONdCA8UCONdCA8UCONdCA8UCONdCA8UCONdCA8UCONdCA8UCONdCA8UCOHfWQq+33eC7H8m9bns+8sBnz54F+mfb/WcviZ572PYLtf6aOQv0advXS7/MP/rft/249B0CxcJngT5uu8V3P5r7tu3n0YeOnj8L9G7bl6OXg+ff/5R+b3uBzQ9TZ4Fe+j3+m36g+FMEGigWwLkWGigWwLkWGigWwLkWGigWwLkWGigWwLkWGigWwLkWGigWwLkWGigWwLkWGigWwLkWGigWwLkWGigWwLkWGigWwLkWGigWwLkWGigWwLkWGigWwLkWGigWwLkWGigWwLkWGigWwLkWikHfAEOtDVUlJKfhAAAAAElFTkSuQmCC",__vite_glob_0_4=Object.freeze(Object.defineProperty({__proto__:null,default:icon_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nkHYk/6Hm3PsfUwC3faOqDNZvMbtvJ9LwxiI7ZedmHPWwfUAXBzBhCz2MwQxqyJlUDxXKyiAqceIWVObMyiMBPNSqCSGqBNrcCD5sxg0Y9iLdByufwA4NqTqWHsh8xNjtuiL/Rr00EQGo3GAG/xZdjIr6Tudq9erz90D9jUt7ZCBRJOTv+87fcbI9AZCZRKpXVs8a4yl76MKZ1SgwCOo0/xXycjudB/phEiVBert7yQQFW+UUTQ31B9W6X1QPGh5J2C5+6rMduk9UBRlfKNdNzcfTVmm7QeKJ6d8iPeuLn7aoxSgwBeRhtyabjShQRIgARIgARIgARIgARIgARIgARIgARIgARIgARIgARIgARIgARIgARIgARIgARIgARCIvAH1T0D5hxAQ9EAAAAASUVORK5CYII=",__vite_glob_0_5=Object.freeze(Object.defineProperty({__proto__:null,default:icon_12},Symbol.toStringTag,{value:"Module"})),icon_13="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAACCpJREFUeF7tnHfMNUUVh59PQKoCSmgqAqFY6NUCYgIEAsFICaFEowImQChSRIqIhSIgRYFAaAlBKaH8QUfUSIiFLlUhNOlFkA4qSh4zk2xe7t3d2btz7+7LPcnN+97v2zmz83vPnDlzzm9mDlNpFYE5rWqbKmMKaMtGMAV0CmjLCLSsbmqhU0D/7/c3BdYGPgO8DTwG/Ab4Q8v4JKvrm4VuBhwNrDlkpH8GvgH8NRmJlhr0CdCPAw8D84SxPwn8Bfgk8NkCHs8CGwIPtoRRkpo+AerAFgXWBR6ZAdgOwC+BD4TRnw98LQmJlh7uG6Blw74M2Do88EfgCy1hlKRmNgF6CbBtGP3PgX2SkGjp4dkA6HLAzwrW+VxYtJ5qCaMkNX0GdEHgEGB/YN4w6meALYHbk1Bo8eE+A3oWsMsMLPYGftEiPsmq+gzoksCJwPaF1f0/wA+Ao5KRaKlBnwGNEKwAHATsWsDE78e2hFGSmtkAaBywIB4TvrwJfAL4RxIaLTw8m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rXqefTj9TBagv7y00nq4YtmjIsjMwP7vhAtFpgFJfrg6g6tTHmdk2rWYbA3br4b8LIU+dE2+p79bL5+sC2svBTeKlp4C2jPoU0CmgLSPQsrqphU4BbRmBltW9C6ljmGQOwc8cAAAAAElFTkSuQmCC",__vite_glob_0_6=Object.freeze(Object.defineProperty({__proto__:null,default:icon_13},Symbol.toStringTag,{value:"Module"})),icon_14="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAABPZJREFUeF7tnG2olUUQx39WYBnql6QIyjKpSKOw0BIMxMKyREyo0NIiCCMqragwIggxRdDEsA/ai2FWvhEVGKZSUVGBEiYURKllpimhqSVZIn/YQ9sh4Z5nZ/Z4n7MD98O9PDPPmd+ZfZnZ2duDIqYEephaK8YoQI2DoAAtQI0JGJsrEVqAGhMwNlcitAA1JmBsrkRoAWpMwNhcidAC1JiAsbkSoQWoMQFjcyVCawr0TOAsoA+wH/gF+NvY1yzm2hmhVwP3ANcBlwGnRB4L5ifAW8CS7gS3HUAF8gVgWBdD5ltgDLCti8+39bHcQGcCTwKntuj198Bg4EiLetkfzwVU71kETE3w8E7g9QT9LKq5gD4BzE70aBbwVKINd/UcQAcCW4AzEr2ZATyXaMNdPQfQ14C7DDy5HNhqYMfVhDfQ04Ffgd6JXnwOXJtoI4u6N9BbgHcTPfkL0Fbr60Q7WdS9gU4D5id68jgwN9FGNnVvoHMAAakqi4H7qiq3Q88b6Mshvazim/atDwLHWlRW0jAK2NiOlNUb6KvAlBaBHAAeBV5qUU+Pa2u2AtDc/TwwvYKNJJWTCehBYCmg9HRPRa9uB96MdMcC71W0VUktF9DdgKL1AuB8QNspicp03wEfAeuBQ5W8+FepJ/ApcFX40z7gCmBXot0uq+cCKlg3dPlTpT04ANgM9A1mPgxzaqtzcaVPUUegAjEeWBMRuRfQAukudQUqcC9G1a0dwMWAkgRXqTPQfoDqqI20V1swFbZdpc5ABe5p4NlAUAvjRcAfnkTrDlSHf4rSswNE9yJ13YGKo+oAjwWg2vRrr+omnQB0eNibCuLvgOZWt8WpE4DKR23szwlhORpY5xWinQBU7JYBkwJEnbqqCuYi3kBfAe4OaWWuTOn/QMVlRNVnH3GhCe4Xv04WoKo6zQsQl0fRas61UyJUw13DXrIBuN6cZDDYKUAfAhYEn1XOU1nPRToFqIrNDweCCwEBdpFOAfpOFJVakFIPDk/4ZXgDbTQ55KyHNjurM6afo/RTpb23XcIzwyqv5q6Jbd423QisDQCPhg3+b90VqBpmb2sz0MaXKoauC5Je4D3kVwO3thGo8vbtQK8QkRotb3hFZw6gmqvGOQK9MhwZ/xhAaUjHEvcF6ABQ+fzh7gxUQ+xmR6CKtjsCoJuA9yNY1wCfRaPwmajY7MbUe8hrMdCi4LXKN6YUARJYzdkSrexfAkPC7z8BlwB/upEMhr2BfhDSvBxA4/lRZ0cPRPDc587Gu7yBqr9oZKYIVVOv8vX7Qz9/w0ddzxnhHZm5gH4cnMkRoSoT7gzz6GnBQTX7qotEf88i3hGqRUGdxzmA6l26eqPbeBJdHlMXnr7UbOIN9AtgaCagzdCynMM3v9Qb6Kaw0uaI0Ni3lSFDyxaZuebQr0L3W26g/wDqvFPO3vjRDRJdzXEV7wiVE4Mch/wqYEILhNRKqT2pm3gD/Qa41BHoZEDnVvFN5hPB2gv0997cewNVM61u0nkNecE7NzQvaFXXUG/8NP+ue/jNub55pHoD/QG40BmoOZQUg95AVQU6rwBN+Yr+q6t/GqC+ehVJ9E8Eai/eEarSnZq1dD1R9zVrL95Aaw8wd6ZUgHYcAWOHy5AvQI0JGJsrEVqAGhMwNlcitAA1JmBsrkRoAWpMwNhcidAC1JiAsbkSoQWoMQFjc8cBYGvqVZKYHuIAAAAASUVORK5CYII=",__vite_glob_0_7=Object.freeze(Object.defineProperty({__proto__:null,default:icon_14},Symbol.toStringTag,{value:"Module"})),icon_15="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNS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EM5piPnjknOfZE1be9KUyroLJfKajmMC2DDqGaxLQO2odqFnMeQGUf/YdfOT1QYlv/aWIi1MI1szYOnXtgB1U+hQ7qoMoCyuU8oQ6qLKBczhPqoMoCyuU8oQ6qLKBczhPqoMoCyuU8oQ6qLKBczhPqoMoCyuU8oQ6qLKBczhOqDPoXmrbIVfzbB5kAAAAASUVORK5CYII=",__vite_glob_0_8=Object.freeze(Object.defineProperty({__proto__:null,default:icon_15},Symbol.toStringTag,{value:"Module"})),icon_16="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAAA49JREFUeF7tm0uoTVEYx3/XqzwyQMnA+5HEDGFACQMpioGUkSIDkYmRke6UKMVAipE8ihjIuxh4FUkKiRTyTnmN6KutTsdeZ59z93+tvR3frjs5Z63fWt/vfGvvtdZetwe/pAZ6pDSH4ULFSeBCXajYgBjnGepCxQbEOM9QFyo2IMZ5hrpQsQExzjPUhYoNiHGeoS5UbECM8wx1oWIDYpxnqAsVGxDjPENdqNiAGFdVho4GdgOLgaHAA2AHcF0cX3JcVULPAcubov0MTAPeJbcgbLAKoYOAb0D/nDjWACeF8SVHVSF0HPAiEOlWYF9yC8IGYwkdAqwARuT01T7rDcRwHLgsjC+E+giczUaKtLlYQi8AS6Q91cMuAkvV2FhC7R45WN1ZMe87YCNJesUSeguYI+2pHnYbmKvGxhI6BlgfuIcOBzYHArkE3FEHmcOze+hR4LW6rVhCW/VzPPA8UGAbsFcdZEpeFULt3voVcg+qrQWOpRSgbqsKoRbDDWBBUzA/spXSS3WQKXlVCbUl5mFgfpaprwCb1J9IGXyMtqoS+icWG/72Zw+JrriqFqqS2A9YDczK7s9XAJu6Jb+6Reh5YFmDvV/AFmB/aqPdIHQhcC1H3KfAPDiq424QuhE4GLBkG9lvoxpsgneDUFsM7AlIm9hiERHFcyyhG4BdiYacbVQPCNj5GfjcZhU7gUNqq7GEvgdGqjsr5n0ARomZ0f5PyYWKfykf8mKhKXH/xUMppVCfNolt+8ReLNRwvvQUS23cHLEXhPYq2jdHciQPA0zWF/EPEA0Xa2JftsP2NtJWMTMz0GNgE3C1LDh2/ToKHQiYwAlNwdsmx6RsvzO2lz7z6yh0OvAoENE84Gafo01QsY5CF7UY2quA0wm89LmJWEJbHXQo6uxYYF2g0CngSRGgje9tt+kI8KaNsh0ViSXUj+J09DMUF/bDYsWOOirhxxk70lVcuNWB26LaU4HtgUIHgPtFgDa+/+cO3LYRU7BIaLPDKqwEzpSBx64b66FUpt+TgacBwGzgbhl47Lp1FGpr93vZKZDG+J8BM4DQi7fYrtri11GodXxK9mrYDpOZYDttbPfVh21FVWGhugqtUEm5pl1oOX9/1XahLlRsQIzzDHWhYgNinGeoCxUbEOM8Q12o2IAY5xnqQsUGxDjPUBcqNiDGeYa6ULEBMc4z1IWKDYhxnqEuVGxAjPMMFQv9DSJxblXYNyrLAAAAAElFTkSuQmCC",__vite_glob_0_9=Object.freeze(Object.defineProperty({__proto__:null,default:icon_16},Symbol.toStringTag,{value:"Module"})),icon_17="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAABlhJREFUeF7tm0eoJUUUQM+Yc44oRlQwgmEhIuaEKGYXgqKgoAvTRheKoKgLUVAXggHUhRsziCjmgAFMiIq6MaArc86BI1Vj8Xz9rff/fd2fN3VhFvOm+nbV6Vt1Q91ZQpNQAktCtTVlNKDBRtCANqDBBILVNQttQIMJBKtrFtqABhMIVtcstAENJhCsrlloAxpMIFhds9AGNJhAsLpmoQ1oMIFgdc1CG9BOAicB6wM3BTOaSN2sWOg1wLnASsAnwNbA7xORCBo8K0D/Knj8ArwIHAz8EcSpWs2sAP08bfe88B+A94A9qkkEDZwVoF8A640w+RO4Ezg9iFWVmlkB+iWw7pgVa6k3AxdW0QgYNCtAvwLWSTx0RisUbHqFOitAvwbWThB/Td6+tDehPgcYWn0XYIidKqYB9GRgZ8AzLEI2T7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gcUMCPRW4o1iBZ6Fb2SjhzQlWdj5wRXFFvEwC9UN+mm4nZee55xa383iuy7VxnC0mqytf0jlmMEMZ6sWHA3cVLYiGR16BdDUyzGWw1l89InJvkw0OFquj+gIm2CzDfUn7Na8qzk7hnjLRzP8d/DBgDSHHng8Cx8xT14IfG8pCrwYuSlvTQPwSwN8mFe+gzigiBG86TwMemFRR1PihgHptfGUBwsYut2mt6MVvAXRsWTyH3wL2HKoWOuThrfOx661sTngVOAow3uwSm8DOTKmmSUDpiHxmK8CuusFkKAv1vToSA/qc9Rg2uf2fSt1wAtdybVO0+cw7fxtpfTZ/CMH5jJmUPUqRVax5fZShgDpZ/9eG1iSc0dxbSDYq5CYIrXFcfi5Im8Ksry7k1nRe8MY9NCRQ5+OW1RLt9MgdyDWLM5tSbkxB/SBdIosRqHPSwfh/iS5Pt5VaYrmlHWNMmTtBTAAs2Zm25qbamo/Qy5ihLbRcpCU4Cx9HADsA2yWQWuP7wGvAy5G9nNMgvJiATmN9vetsQIORN6ANaDCBYHXNQhvQYALB6pqFNqDBBILVNQttQIMJBKtrFtqABhMIVtcstAENJhCsrlloAxpMIFhds9AGNJhAsLpmoQ1oMIFgdX8DX38IZE9QsOUAAAAASUVORK5CYII=",__vite_glob_0_10=Object.freeze(Object.defineProperty({__proto__:null,default:icon_17},Symbol.toStringTag,{value:"Module"})),icon_18="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAAAqZJREFUeF7tm7FOVFEQhj8spMGGDkN4AEj0FYgFCY8gNQ3BQg2xoaYxBC00NNT6CCYWhleABB/AGOlsoIECyUl25XID7CznH+G6/2137r9zvvvP7JzsuWP4khIYk6pZDAMVm8BADVRMQCxnhxqomIBYzg41UDEBsZwdaqBiAmI5O9RAxQTEcnaogYoJiOXsUAMVExDL2aEGKiYglrNDOwh0DlgGFoAZYEK8hkFyx8AP4CuwAxwMuqHm80yHPgS2gBXgQU2SwnvPgG3gNXAq1P0rlQW0wPwCPMtIWqD5DVjMgJoF9AOwKlh4psRH4IX6CzKAlp653yrzn8AbYBc4VC9igN4UMA+8BaYbsaX8n6h7agbQd8DLRuIF5lPg9z8G2f66SWCvBfU98EqZVwbQ8is620hyCfisTLpC6znwqXH/d6BUlOzKAHrUGo0e30GZXweolP+vxodlpHokowkpJ0f+tBLMeGg1DFLzy1hsasI1JHv3pubXBaAbwFoPxiawXgl15IGeAGWjUK6yuxk30DoCakep9S6trgslrwag1jPQzCnEDhWPjgZqoNWbEfdQcc8zUAO9TOC6Pt3fAfWH9rpp9eLuMvzftKP6bx3a3AGpYPZ1btpRGegtaI8kUJd80Cnqkrrvet56iqcGAzXQ2BgW7EioW4gdaofaodIqUJeoWk+62Kv6ljrh+67XOaD+k07c9P03shhodByKxqlbSOdKPgoqGtc5oD4sFn20wTgfZwyCiob5wG2UVDDOR8KDoIYJ80sLw9AKxPq1mgCkYUP84tewxILxfjUxCMphVxDIOCw20qANVPz4DdRAxQTEcnaogYoJiOXsUAMVExDL2aEGKiYglrNDDVRMQCxnhxqomIBYzg41UDEBsZwdaqBiAmI5O1QM9BzclZ5Vih6RcAAAAABJRU5ErkJggg==",__vite_glob_0_11=Object.freeze(Object.defineProperty({__proto__:null,default:icon_18},Symbol.toStringTag,{value:"Module"})),icon_19="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAABB1JREFUeF7tm1vITlkYx3+fQ4QiiWkaV6hJDoUph6spdyZCCRdOceGUiNTkkOGOKDO4IIcUSojGnXLlUCghipkQ5ZBEIWUY/bNf3/L2vt+7vnc/a2/0PJfvu9b/Wc9vP3utvdZ+dgtupgRaTNVcDAdqnAQO1IEaEzCW8wx1oMYEjOU8Qx2oMQFjOc9QB2pMwFjOM9SBGhMwlvMMdaDGBIzlPEMdqDEBYznPUAdqTMBYzjP0OwQ6HVgEDAN6NhnfS+AasBM40qSGSbcyM7QXsBeYbB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CxnKeoQ7UmICxnGeoAzUmYCznGepAjQkYy3mGOlBjAsZynqEO1JiAsZxnqAM1JmAs9xH6qe1VA6ychgAAAABJRU5ErkJggg==",__vite_glob_0_12=Object.freeze(Object.defineProperty({__proto__:null,default:icon_19},Symbol.toStringTag,{value:"Module"})),icon_2="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAAB3lJREFUeF7tnHWsL8UVgL+HW3EnxYMFJxAgBGuwNEigSHENFlyDQ5G0DQ7FCVYcGlxaIEAIEIK7u7sEt3zJTLrZ7L2/ufctZ1/Inn9I2DNz93y/mZ1j88bQS6sExrQ6Wz8ZPdCWF0EPtAfaMoGWp+tXaA+0ZQItT9ev0B5oywRanq5foT3Qlgm0PF2/QnugLRNoebp+hfZAWybQ8nT9Cv0dAF0Q+AZ4bQS2TA3MDTwNfDeCceGq0Sv0b8AhycoNgasLLJ4GeAOYAngSWLRgTGcq0UCvA9ZJ1h4JHFFg+RLAIxW96HcueMX/q0S/3H+A9dKfPxQ4uuBtXZGPJ72fgfELxnSmEg30GmD9ZO1BwHEFli+ctrqqPwATFYzpTCUa6FXAX5K1BwD/KLDcQ+yZpPctMGnBmM5UooFeAWyUrN0XOL7A8vmB55LeV8AfCsZ0phIN9DJgk2TtXsBJBZbPC7yY9D4HdKHGWYkG+m9g00Rjd+DUAjL6ny8nvU+A6QrGdKYSDfRiYPNk7a7Avwosn6MSBHwIzFgwpjOVaKAXAFsla3cCziqw/I/JsVf1PWCWgjGdqUQDPR/YJlm7PXBegeWzAm8nvbcAAY+zEg30XGC7REOwrthBMjPwblJ6HZhz0IAun0cDPRvYIRm8JeA3dZDMAHyQlF4B5hk0oMvn0UDPBHZMBm8GXFpgvKf6R0lP92m+gjGdqUQD9VTfOVmrP6qjP0j0Oz9NSjr4Rk7jrEQDPQ3QXVJK03dTAjr0ylPAIuMsTQhvZzwF2C0BMUli9mmQTA4YcipmnRYfNKDL59Er9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5N7pIBQP0T8Jsv1mig+pC5QcyEsZn4LJMAlonNHGWxp2nJdKjMBZg0PrhGxcjICKkq9p2adAmXaKC2g+ucK943yqUKs/Susg0qBHxm5snK6EupNGKGySR1luVTWaSaoDaxbBY/JDKq/2LRQA0bvbhgqi6XOvyvB1VuxPUdfa7Pmjucn0+RlTBzgtoOEmtMXl3M8kIq/tnp3IlEA/VKjfG4VUyLbm57yxn5MpgQXJm6V/nw8v8Z85sodru77a182hdVvWKjU2+myS7nziQaqAeFl7/cjoae1wKGmVn0Fw0tL6kR8RayyRQPJJ13b4/4g2Tx2+uVx6EChTDA0UCz8+0VQ7uSjZayWP79K3Bvg/Wm+TysLC3XQ0v9T90sq6SdSzRQV1FTC6PlYU/r3KlcB9MUOX2ZfNJzOqdYeYFooF7ttvaTxdSalVDj+1xTauLzaK0v1Hq9t0hG8o8YhHCPBprvvnsonZ5q9CV1c/tI107RkHWpG0LojOKPRAP1FW0+8CQeKrncZIbdJR5etyQPYRSmxgzpAmiMZR39lR5oy+B7oD3Qlgm0PF2/QnugLRNoebp+hfZAWybQ8nT9Cu2Btkyg5en6FdoDbZlAy9P1K7QH2jKBlqfrV2gPtGUCLU/3K9ihLmQ2OcqhAAAAAElFTkSuQmCC",__vite_glob_0_13=Object.freeze(Object.defineProperty({__proto__:null,default:icon_2},Symbol.toStringTag,{value:"Module"})),icon_20="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAABt1JREFUeF7tmwnIbVUVgL/nnKilaKmhCA444JBTUDbgmDOplIoakTjkQGpUaFlCOA+oqYiKlVMqojY4j9FgUjiFhjjlkGUOqZSSWvE993luz7v//5997zr3/tpecMHnv8/aa393nb3XXmvdOVQJJTAnVFtVRgUa7AQVaAUaTCBYXfXQCjSYQLC66qEVaDCBYHXVQyvQYALB6qqHVqDBBILVVQ+tQIMJBKurHlqBBhMIVlc9tAINJhCsrnro+xzoAsD6wMrACumzIrAo8G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__:null,default:icon_20},Symbol.toStringTag,{value:"Module"})),icon_21="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAAA6BJREFUeF7t2r9LG2EYB/Dne0lUOpSCiQGnDC6aoUunDrVu/hMd/BEKRSillFZoRXRRKLVQbB1K54LQpaMOqbaDLnVpFocqBJK794a2RCwh5i2JkWqxkjf35GIuT+Z7v8fzue/dhbsDyY9VAKxpEkYCylwCARVQZgHmOGmogDILMMdJQwWUWYA5ThoqoMwCzHHSUAFlFmCOk4YKKLMAc5w0VECZBZjjpKECyizAHCcNFVBmAeY4aaiAMgswx0lDgwQ6NDTUZSuVgsZNDSrCwgfXtj8yz+hrXMsaOjAwcPXHz18bWuvrZyfGelckNJnL5fZ9lWDaWctAe2PxV6TLU+fNAaCgST9xHec1AM00qy8xLQTt+05aJy6aEqANUPekUtldXzQYdtI60GisruYBOCRNT6em7r2cnZ0tM8zc1IhLD/p3emxFwtZ4Pp/PNFXEY3gbgVYmRdEC5pLJwcV0Ol3yOHtTlrcZ6LEBQF9BNK6U2mmKiofQtgStzVsi0EI8FpvPZDJFDwasS9sZtAaBb7Vr6zarTINhAQCtTn4EwlJPT9dMNps9bNCCZVlQQE+urbug8IRSuU0WnQZCAgVam18TrGWLytNKqUIDJp6WBBH05K/AXthCyrbtdU9ChouDC3pyywK9BdEDv9oaeNDj/634AtKjfqB2BGgV1cIj13GeG57Bxpt3DihR2nXViLGQ4YLOAQV9cpW6behjvHnngBIeuq7zwljIcEFHgAL4HLIwatv2gaGP8ebBBwW9s4ju+3GHr978jA8B04LeOp/YN7477IcsSjmOs9Z4hvnKIIJqC3hDpB/71crT7IECBajycGRSqdyGebd4VgQFtFx7fPdMHt95LgYy4RDGbdve8hzFENDODa28AlmMx2Jz8gqEiLzc5QHsgPSYvKQ7dUo1Blp9jTyfTA4uyGvkf65P5qDYjoStMfnQ4T8X+npBq5/igGZGhoeXVldXjxjuG02NaNlNKRrry2ut4xdNB9AmqHtCPharowPRaN+KJn33vE0rnzOC9LTjOMvyOWMdmJVNEonEtULhYE0T3Ti7BOuRsJXK5/N7dUZdqs1adspXFPr7+68US6U7VKZbGvp3CHjv98MM7qPRUlDuYS5DnoAyHwUBFVBmAeY4aaiAMgswx0lDBZRZgDlOGiqgzALMcdJQAWUWYI6ThgooswBznDRUQJkFmOOkoQLKLMAcJw0VUGYB5jhpqIAyCzDHSUMFlFmAOe4PSI0GZCNbkkIAAAAASUVORK5CYII=",__vite_glob_0_15=Object.freeze(Object.defineProperty({__proto__:null,default:icon_21},Symbol.toStringTag,{value:"Module"})),icon_21_1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAAAkpJREFUeF7t2jFuE2EQxfGZVUo6765dQgMdR+Ae5AYhRW5AEm4QCXIEuAdHoIOGlM7uuqOMdhBdIBajSZ6yEvzdznzP/n5+5efGRyrg0jTCDFBxCQAFVCwgjqOhgIoFxHE0FFCxgDiOhgIqFhDH0VBAxQLiOBoKqFhAHEdDARULiONoKKBiAXEcDQVULCCOo6GAigXEcTQUULGAOG6RhkaEt+v1kUecRFjv5p8PDpqT7XZ7dZ/7bTabpzc380VYvHK3IdwvdsNweZ+sh55ZBHTVdccW9v72j3f3727xchzHH5VLdV33JMy/RMSz3841frwE6iKgbdd9jbDnf8K5NYfTdP2pAtq269dh88c7WW7fpnF8UclS7C4Cumq72ezuqxU3P52m4V3lYm3bvw2L8z1nYjeNTSVLsbsUaOz78d74+TQMZ5WLtX1/FnOc7juzm8ZHv9+jf+Gvi6/aDtBKa7JdQDOh4hzQIli2DmgmVJwDWgTL1gHNhIpzQItg2TqgmVBxDmgRLFsHNBMqzgEtgmXrgGZCxTmgRbBsHdBMqDgHtAiWrQOaCRXngBbBsnVAM6HiHNAiWLYOaCZUnANaBMvWAc2EinNAi2DZOqCZUHEOaBEsW+cpTiZUnPNYrAiWra/6/o3N8eH2Hs8ZM7W/zHlw+wC8/+3oIq/v/mVkQMX/LqCAigXEcTQUULGAOI6GAioWEMfRUEDFAuI4GgqoWEAcR0MBFQuI42gooGIBcRwNBVQsII6joYCKBcRxNBRQsYA4joYCKhYQx/0EirXBZAhm84EAAAAASUVORK5CYII=",__vite_glob_0_16=Object.freeze(Object.defineProperty({__proto__:null,default:icon_21_1},Symbol.toStringTag,{value:"Module"})),icon_22="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAAAk5JREFUeF7t2DFqVUEYhuE3YBOIhVjFIqRWsNE1GCy0cQOuwM5KS63s3IA7sNBCkjXERtBaLEwVLAzYWMjAvXA5xObO+4dzmO/082Xmud+cE/4d8qgCO2pawgioXIKABlQWkOPS0IDKAnJcGhpQWUCOS0MDKgvIcWloQGUBOS4NDagsIMeloQGVBeS4NDSgsoAcl4YuFHQPOAB2O/f/EzjrzChdXt3QQ+At8BC4Jp3kNfBSytJjKkGfAO+A6/qu4dZcm1oF2pr5pQiz/T7DgX4AHhU0s0UOd+XbB+jX5J3Z2vocOO9EHvKjdBv4OoE7Ak46MRexvOIdeg84nZz+PvB5ESKdmwxoJ+B0eUADKgvIcWloQGUBOS4NDagsIMeloQGVBeS4NDSg3QL7q4SSyf9oDX0FvFiBlowBRwJtzWzjv81HH1SPBHolU7CAymPFCtAruVpbfJoW29B21vKX/2ig7byl/56MCLrFmUuXLPrKl8psGR7QLeH+tyygAZUF5Lg0NKCygByXhgZUFpDj0tCAygJyXBoqgz4AjieZd4Bv5t+pGN+Z+1sPWdpkvee5CbwB7m6E/AVuABc9wdO1cwfdHAOa525ZH4HHduicQS8bVFvn/71q63crcJ0zImjDfAq8tzFb3pxB2/7MK9/emZ+AZ4DezCU0dL3HdvV7P0p/gB/2B+iyhs+9oRW3sjQzoDJvQAMqC8hxaWhAZQE5Lg0NqCwgx6WhAZUF5Lg0NKCygByXhgZUFpDj0tCAygJyXBoaUFlAjktDAyoLyHH/AKQCb1VT5OY1AAAAAElFTkSuQmCC",__vite_glob_0_17=Object.freeze(Object.defineProperty({__proto__:null,default:icon_22},Symbol.toStringTag,{value:"Module"})),icon_23="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAAByFJREFUeF7tm2esbUUVgL8HkSpIkCrSa6hCKCFIk4QuEgm996LSpGgQflANKB0NIAT8AYJoQi+hl4QaqgSkxQZYABUUsID5YCYZds69Z/Z9M/sFMyt5ee+dM3vNrO+uPbPK3Gk0KUpgWlFtTRkNaGEnaEAb0MIECqtrHtqAFiZQWF3z0Aa0MIHC6pqHNqCFCRRW1zy0AS1MoLC65qENaGEChdU1D21ACxMorK55aANamEBhdc1D/8+AbgTsBGwAfBGYK9O+vwLPhT9XAbdkPld92Izy0OWAS4H1Cln4EHAscE8hfVNWMyOArgvcDswx5VWPfvA/wG6AHjvDZGigSwJ60/yVLP4A2B24opL+sWqHBDo78CiwYmdV9wJnAI8Dfxi74o8HzAOsBBwE7AzMnDzn/ro08GamrqLDhgT6LeDczuqPCTCnx6itgGuA2RIlZwNHdJSuDywOXAf8fXomnOzZIYH+quOdFwMHFDJMT/1xoutfwELAW+Gzg4EfhX8/A6wB/LvQ3J9QMxRQQ6LfJTN/CLif/qaQUb7yhlHLJPrWBh4Jnus8CyTfrQIItrgMBXS78FpGAx4AvlzYmn2AS4LOV8Lb8F54Cy5M5vobsDDwbuH5P1I3FNCTgO8lBpwFHFnBoK8EL/0l8Jdgn55r3BvFA9C9u4oMBfR6YOvEgj2Bn1ax6GOlKwNLAKsCpyTzuG+61eRGE72XOBTQ3wKLJqtbDXiq92rHP7AJ4Ott2DRKLgf2Gq9m6iOGADov8EayRE/gz1Y4ZU8FvjPJNuZBuA1ww9RxjX9yCKAbA3cmS3kCWH380nqNMBbNAeXcawGmqVVkCKAG2Gcmqy/92s0CeKp/IZnjYeDq8Jkxalo3OAr4YRWaA53yAtwjMUDA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5MPLZAId1QbZdxasr+v5aHfDbl0XMifQxzq37kyCqj5+d6JAgN1A/au2OG07ZHWYn/eiUtz19FrXC2gxoPuaWlKeEe4bZwLtQvUzqmHUbo3jypYG1LZut61Q8KGX/XfFqkFVFt+AHy7Y5RhjfGir6iv7mSXXrtAzwO8BR3FWsHygPfqlflCMcaMKG1b+52dA3v11aUmUK9oe8GgWocxk44hnDHx7zPHT9ewmkBdmLGoVxnTIH+6FtzzYSFaeLYLOojUBqoReqqHifl9uv/VNNCT3HqsW8So1nO1uYcAGhfvBVgPCjuPS4WAO943KmGgv0Zj9ckU17Q0vWBRQn+WjiGBZi3o0z6oAS38E2xAG9DCBAqrax7agBYmUFhd89AGtDCBwuqahzaghQkUVtc8tAEtTKCwuuahDWhhAoXVNQ9tQAsTKKyueWgDWphAYXXNQxvQwgQKq/sfbaMzZCg0nJ8AAAAASUVORK5CYII=",__vite_glob_0_18=Object.freeze(Object.defineProperty({__proto__:null,default:icon_23},Symbol.toStringTag,{value:"Module"})),icon_24="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAABxlJREFUeF7tm1WoLEcQhr8bd3d3dyWuRIgTJ8TtIUrc3W6M6EtcCHHiSpwIcXd3d/fwQ8+l6Lu70ztbPScJXS8Hdqqrq/+pqa76u88wirgiMMzVWjFGAdQ5CAqgBVBnBJzNlQgtgDoj4GyuRGgB1BkBZ3MlQgugzgg4mysRWgB1RsDZXInQAqgzAs7mSoQWQJ0RcDZXIrQA6oyAs7kSof8zQCcDFgBmAMYYcG2/Ae8BzwFfDGir8fChitBZgeOADYDRG3vfeeDvwHXAQcCbzrZrzQ0FoGsDlwET1Ho3mMJ3wBbAzYOZ6W9024Dq834EGKc/Nxtr/wQsFdJAYyP9DGwTUH3azwJzRw6+DzwA/NiP4x10xwWWB6aPnr0ELAj8MaD9pOFtAroXcErk1aHAMUmepisdAhwdqe8NnJpuorlmW4BOCbwW5c3zgR2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iIg6Z+MySPr6jFUpqIKQaCfWDm3Tg35PKbOkp3Ol56NbKjokVNnkIt6AaqdWV2SPclX+qAyqk2lCt6S//chHoUvS3zq5NfJFR9jqnlQhuIg3oHJKBPKVkXepXYxay1uA6RJX9wGwVuJFhk7dmOhBUYFukgNQOacjjhWNl6pH9ZnG+bDTQpSLVXTrxXTzTz27gFDzkJL7lHeVPlTKVXIfoCMSV8kFqPKmDshEFFdycLgglroA2dDRhW6DTBsGfRgIZh2lKBemii6OHWuURUyL3erHRtJcuQDV5CI2bBmjbkj5Sp9pm6L0obxuuyiVaaog3CUnoOpa1KPrDmglIo91tNGm6KhEJHQlujuq3V6dnbvkBFTO7gionrSyQvhs3RfTwaDSxf3R76pfz801eW5ARwkdjSWOdcNYLWrqAVvTtSt/PxUI7sqGWkx1YH81NVo3Ljegml9d0EPRjq028+w65wZ8vgugdrQSVQbLJHZTjaduA1A5FxPIyl/iLr9s7HnvgZOG/G0ZJPmwdab5RphtC1AREWLJxzcLUm7dOdMCZVv5uxIRNNqIUmrWgVxqC1A5uW84cLMOHwCIrPCU/YETIoOaW2dJ2aVNQEW5qZDWOZMVkdBeV8J1y8R2Q5pHX4aahG5UoCvIbQIqx9WdiKZLvcgw6GJ1oilaT11bK9I2oFqUbnDohFJEb075IZykptxYcfNjKACV8/rsjw9n6bbf91iY6lud8R8YPncPm8k2hgrQykExS/qXFx3KDfofdcqROrTTv+5k3827ITzUgCa/+f+KYgHU+U0VQAugzgg4mysRWgB1RsDZXInQAqgzAs7mSoQWQJ0RcDZXIrQA6oyAs7kSoQVQZwSczZUILYA6I+BsrkRoAdQZAWdzJUILoM4IOJv7Bz+qFWRPFshOAAAAAElFTkSuQmCC",__vite_glob_0_19=Object.freeze(Object.defineProperty({__proto__:null,default:icon_24},Symbol.toStringTag,{value:"Module"})),icon_25="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAABlVJREFUeF7tm1eoJU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hDtSYgLE7j1BjoP8C1NtlZLgtPvEAAAAASUVORK5CYII=",__vite_glob_0_20=Object.freeze(Object.defineProperty({__proto__:null,default:icon_25},Symbol.toStringTag,{value:"Module"})),icon_26_0="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAyCAYAAAAayliMAAAAAXNSR0IArs4c6QAAAydJREFUaEPtmU9oE0EUxr83SoqFFqF4EUTIwR5EsMwkCr3E9qgnoSCIoEJFwYN6UfxzqUr1Ih4ExYJ6EBEKnvRom0tB3RkqiAc9BETwIqKU0tLYzJOtG1ljdpNsdqPB3duSeW/eb743s5P3CF3+UJfHjxTgbyv4fyiQy+W2AzhgrR0iok3W2h4hxBZm7olDASJasdZ+FEKsMPNnIcQ8gMeO47xt5D9UASllLxHdYubDQMf3CxPRA2Y+aYxZCgIJBPCCLzJzrtEqJPk7ETnMXAiCCARQSt1j5iM1wS0R0XtmzgLo936zAJYjQmwAIDzbBSIqMfM2AL1+f0R0X2t9tN4cdQHcnLfWvqmmDREtM/OZbDY7NT09XZFSzgDY4zp0gbTWg1EAlFLvvIBd81ljzMjY2Ni6Uqk0TkQ3mNkFdB8WQuyotyeCAC5bay/6gjphjLlTfY8CUCgUNi4uLk4w87e+vr6JYrG4Wg/AN8dxALer70KIK47jXKpdqLoAUsqnAPZ6g5ey2Wy/u/LtACilrjLzec/HQWPMozAAT4kFXzo9M8bsawpAKfWSmfNeirzWWg/5DaMoIKW8C2Dc83laa30zDMAdp5SaZ+adns0rrfWuZgHcna88Q621/u0k6iBAaBxr8dXbfEqpJAAmAZxz5xNCHHIc52ETCvw7APl8fqBSqVwjoq/MfMEY872rAAKU/uMY9Y9rlAntpNBzACPeZB8A7I/yHQDwBMBWz3bGGDPaKYBfJ0rEwOuZTRljjnUKwP0KuyrEdR1nAKPGmNmOAHhn9Clmvg4g06YKZSI6634Xav0ktgeqEw0PD28ul8u7AQxEhPiSyWRezM3NfYpynEfexBGDbdkscQVajqhFgxQg6C7U4kJGHp4qkCoQOXl+GqYplKZQmkLh/wzTq0SbGdLQPD2FuvkUCi1sNdQ+pgGRC1uNSosxxRfqpq3SYi6XCy3udgJAShm9uNuovJ4kQCzlde8iFdjgALCaEMR6AIO+vsDaNC03OFyjrm8x+SC6s8nnT5HaNquvrxV3JtlY26xxR5eEv7hKg0nE1pTPFKCpZUpwUNcr8ANOPD5gE7l+ggAAAABJRU5ErkJggg==",__vite_glob_0_21=Object.freeze(Object.defineProperty({__proto__:null,default:icon_26_0},Symbol.toStringTag,{value:"Module"})),icon_26_1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAyCAYAAAAayliMAAAAAXNSR0IArs4c6QAAB7hJREFUaEPtWX2MXFUVP+e93dnFzmrssnxoDHGUaBsl0XvfbDsVOsW2QjelJXGhVRIjfqOxqElNW5AVKdXWDyARqEZsTCCWxtivZWHFOlV3uvPuvRq/8APYQggghCVIC92d4d1j7vpmvPs6M+/NdmKD6U32j9l7vn73nHvOuechvM4Xvs7thzMATrcHz3jg/9YDS5Ys6alUKucHQdAFAM9KKScRkdoNuG0hlMvlzqlUKmu01lcg4lIi6okYWwaA3yPifkTcJ4T4SzvAnDKAxYsXzy+Xy5sQ8QtE1J3UqBDI5lMFckoAstnslUEQ/BgA3pTU8Aiddhxnx8DAwOahoSE9FxlzAkBE6HneTUT0NYCTawki/p2IlIl9ACgj4nkA8C4A6CciN2ooIj6YTqfXFwqFl1oFMScAjLGvA4Ax3l7TAHC367p3+r7/j3qGZLPZXq31egDYQkQGlL1+k8lklu/Zs8fclcSrZQCc8/VEdF9EQ6mzs3Pd+Pj4E0k0M8beAADfBoDPReh3KaU+nkRGlaYlAJ7nnae1fhQA0jUBiLv7+vo+NjIyYjzQ0mKMGQB32kyI+GEp5c+SCmoJAOd8JxF92hI+J7fbxtUJx8cAYKFSqpIERGIAuVzugnK5/Lh1CV/t7u6+cGxs7JkkihrRmITAOS8CwCLLq5+UUv4oidzEABhjXwaA71hCb1ZK3ZRESRyN53k5rfWYR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YIyoZYTOzs6F4+Pjf40D0Gy/GYC5yF20aNGCSqViQrYKYLuU8qtVANcT0fcs96wQQjw8F0VJPDAXuZ7nLddamw6hCuBLUsrbZgAwxkxm+LkFILbQxBnRbg94nvcNrfUNlt4rlVJ7qwDMYOp5AEiFBI/19PQsiIvL/1UIhdnLhPQ7Q53ljo6OvlKp9HKtEnPOTQ9zmeWFzwshZk0M4k7d3m+nBzzPu05r/X0rfB6UUs7UmBqAOrXgVdd1l/q+L1sxvN13IGzNzWOqVumrNWAWAPODc76PiK6wkE46jnOV7/uHWgXRDg9ks9lLtdb3E1GvZdN+KeWa2m/bMDMin56e9gHgAovBNGL3dHV1bY1rLdoVQuHjZgsiXhtpAp/s6urKFotFc1//k42iJ2sKBiIWiGh+nVP/HQAoRDQCzgaADACcT0QPrV69eqM9YWaMmcpq3rmm6LwspaxNsE0hO3DgwHZENKMTMwCeAIAXzPMTAN4f/s1Sj4gvElE+WmDrPikZY+9AxL1E9J6koYOIA1JK8x6YWeGdMi12GhFvkFJute7HKiIabkH2n4loremxojwNH/UrV66cNzk5aaqzGWjVZqGNlCLiKinliL2fz+fTJ06cmFcqlZ6LhNflRFQD2wTIcQD4bm9v7/bR0dFX6tHFjlXMvSiXyx8JL/cHqrOhMDTMo8U0b3tandKFM9FBRHx75MuOGWr91nzBSaVS99nxPicANpOJ3eHh4XMQ8VzXdV8oFovPnOqHOzM0y+VybwmC4Gwiem5gYOD5Vr7WxHogaZyeLrozAE7XyTesA6fboFb1nwmhVk+s3fT/BoE0lmAtp/yjAAAAAElFTkSuQmCC",__vite_glob_0_22=Object.freeze(Object.defineProperty({__proto__:null,default:icon_26_1},Symbol.toStringTag,{value:"Module"})),icon_26_2="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAMKADAAQAAA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1tfWqznND++YA6bIQi8VOAOSxg2GpcC8C3rj9kM9yLr5mF0+KDoe1llO+OSDa+/v75a+nJKTlNQlwvZSQJW/4WqiFzsugmOarAwIgnU5PElE5mPPLABorLy+vJ/J3lpFznPbdAbFGRB/Qfelg+TY71TA4OPjCToazcpIr9qacGTsZ4ZfEAVHMbXOZriA12J2zHPhDvNZ/ipxV45aSX0EukXKH6C/yMOY9hvoa4zDpTL/oRCLxzcTExCaAHOGwztCfYneu8zma4JbKezsY72CBvPQFraQOdHV1ZbF4VB4tSopX7MrbAgTWjLDOZtfyxvpcSR1QhpxyXckU25fsDBQLyOu6wAGvEfNb3ssOrMp5yTno2pZrB7gC5XfOVWlebDl5ai4F2ngVf+E+v48XmRJ5Es2BbzPpN2Mxpp0ceGJIvSPaMGBW/m62dJQVliVrtikUj8cHkBgrHSbXmsdyWCwX2L5wIk0NUvQ/OCyteWeO8QqnKD1sd8DRAbFXzL+YvOMsWCE5/0Qi39vbK78jBS2IQBCBIAL/0wj8B0SokQ50tMF9AAAAAElFTkSuQmCC",__vite_glob_0_23=Object.freeze(Object.defineProperty({__proto__:null,default:icon_26_2},Symbol.toStringTag,{value:"Module"})),icon_26_3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAyCAYAAAAayliMAAAAAXNSR0IArs4c6QAAA0NJREFUaEPtWUuLHFUYPaeGNA4EGUUwILgJwYUmSO7tcRGi40JDNsZZtGaRCP6D7CK6EBdKcOc/kDwgMUhMghCNi1Fwhpn+7iSoBAJhFiKigiSgMHHEPlLS09T09NSjUzVNY9Wy6nyP8z3q3u9eYswfjrn/qAmMOoP/rww45/YC+BTAnioiT/K2pFYI4fu8+gtlwHt/XtLreZUPgyN5wcyO5pUtSuBLSS/lVT4MjuR1M3s5r+zQBEjeB3Axr6EMXEvSQzFmOwn8ama7yiDgvf9F0uM1gaxoeu97PUCyzsB6wOoSyiqdRKTqEhoUrLqE0krIOfcYyWcA7JB0CsD+Lv4eydfyll8aTtInAKa6mGWSbwH4u9Fo3Jqfn/8tTXbLldh7f1jSR1Vt3AoQvwPgRAjh80EyAwl479+W9H4BI5VDSb5jZh/0G9pEoNlsNiUtSJqo3KsCBkj+A+AFM/s2KbaJQP+WmeQVAJfjmixgrwzoDgBHJL2SUHYuhHAslYBzLq653V3Qd2b2LEmV4VFRHZLovb8JYF9X9ucQwhNZBHrOkjxrZseLGi4T770/I6kX9RDChqrZVELOuSSBM2b2RpkOFdXlvT8tqRfEmsDMzMzU6urqk0UjmQc/OTn549zc3L0kttQSmp6ePtTpdC5JmszjUFEMydUoimaXlpa+WJctlYBz7hKAV4s6VhD/WQhhthICyYmsoFO54f1DfalN3EfgzyiK3svtWQqw0+m8C2BnDBlAoLzf6Chm4mEy8BeARjcal82sV/OjIJDsO5J/mNnDWSvxNwAOdgncJ3mo3W7H77DdBJrN5vOSrq3/9Uh+bWYzWQROAogHl+Rzl+SapEcS2ankWAXAGsm73QHq0Q3OkifN7MNUAq1Wq7GysrKQmLwGtl9V50Jb9TrJG5KeCyFs2BUPHGicc/FK+zGAF1MUVpWBTSZJfjUxMfHm4uLiT/0fUw93vfdHABwA8HScUgBO0n9prSoDJH8HsCxpLYqiHyTNt9vtq1tt6R/kdLqSDNSn02kr63b/RvOs8g9SQuN9wZEnOsNgqu6B8b7ki69ZSV6U9NQw0c2SqfyaNcuBUXwv1MSjcDDLZk0gK0JVfx/7DPwL/HmBUZS4HZIAAAAASUVORK5CYII=",__vite_glob_0_24=Object.freeze(Object.defineProperty({__proto__:null,default:icon_26_3},Symbol.toStringTag,{value:"Module"})),icon_26_4="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAyCAYAAAAayliMAAAAAXNSR0IArs4c6QAAA+ZJREFUaEPtWUFoVEcY/v9nCGgSUTHSQwllDxVaCo0zLxuwhdx6MDlYu9qDh1goNKBILfYgraQoKAXrRVSQ1hx60IbaQ1si6GFLpUmcmSqIoIJJDi0UpFUMpFST+cqsb8v64r739sXdzdKd6/zzz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lwAtDmPms1vq9RcfxmMOYex+rxRNTJC9mdpWo71kXvPV+5IsTBMw8AmB3xbfT4czP8Zk1DrQFcM/zvGtEdC7s+YosFDfTcuiPtdByABmFoUmg3go1vAL/Ar5O6VHdnJyGAAAAAElFTkSuQmCC",__vite_glob_0_25=Object.freeze(Object.defineProperty({__proto__:null,default:icon_26_4},Symbol.toStringTag,{value:"Module"})),icon_26_5="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAADbN2wMAAADAklEQVRoBe1ZvYsTQRTPh0swJFooHBwWfoAc+AX5RKNHKi0SxEoLC5srtbGwlPwLihYnggj3H9xZ5KpVCSlCUlyTRisLJTbCGU3AJP4Gdo5lvZnZeXOXucNdWGZ33se833tv3szsxmLRFXng//ZAXAa/WCxem06nd+Px+FEZn4oG+QF4XnY6nW8qXl36EZFAqVQ6P5lMXNCd2WwmYgvV78nfBvOVUAIaTAkRLzx/HTRHRCf0X87n82mCnFRECABhF0ZHqlFAhL71brf7S0Amd+sY+TGRSKxRRkI0B5lMZoMiq5IJDQAe7GMSvlIpnDddmELzNoQ63qEHEDqFqB5SyaFcnwHPBcdx3rdarW0Vf5BuNQIw/gbWmj7u9dFotIUyey5ooOrdKgBUp/swMOUZeRqFwtUFYRUADO75PYwV+5QuCKsAarXaaxj8xgSEVQCNRmNar9dXTEBYBcA8bwrCOgBTEHuyDlQqlSwqyjF/Lus+N5vNWDKZfIqSmsZkvsfl2cTG8wdUp2VsBj/zft4aAygUCs9Rwx9CofRwxAcktouQ6+dyuUKv19vy6zBKIXbogYceQeF+Gs/tdRChF/yFt0YAEO5tVJA/XNl+t3DWj+AYRimEnPyK3FyB0ie4jweVE99ZNE/g5is0VzMYj8cP+AtvjQAwJQDxFg27jS9WDGBkE55mOb9zIcrtVCp1C2P9s9kzSqGdEfbgwWf8Vb86brxop3ogAFCNZ0CtAzAx3joAFIC0l/NaaeNPMdsReIwJSzbeegQwQRf83lRNWD8vf7YaAZyDn8HoL54xm6xUiqoNNzjYGq8DQYU67+12+1O1Wj07HA5PUj/8WgXAwLquy7Yi5K/WVlNIJ1oi3kMPIHQKodwtY++/KvKErB8Tdf4/OHYxaAkglnbpV3ZBLgYQd8B4ScmsySBMIQz6W1OXlB36LqLiZKRMBKIQAE4/m9D3naBTJPIOFeeniEjtlx4Fy+XyAk5dNxF+o5987AdHNpvd8Eom1dZILvJA5IHIAwfQA38BZn0jbysutR8AAAAASUVORK5CYII=",__vite_glob_0_26=Object.freeze(Object.defineProperty({__proto__:null,default:icon_26_5},Symbol.toStringTag,{value:"Module"})),icon_26_6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAADbN2wMAAAEqklEQVRoBe2ZTWhUVxTHZyZjmoZRQYZCUYQM3WhEsfloYpDGjy5iHInoIOguuNDSRaEU2mYT6EbdCeJGhQriJtJGiQ2pItEgmZBkpRJRSbJw0xi0NqVNk5mkvxPmPu+8ee/lvcmb2MW78LjnnnvuOf9z7rn3nkxCoaAFEQgiEETgfUYgvJzxlpaWD6anp3cjV823Zjl5mV9YWJij+210dPSpG3ldprOzM9LX15eYn5/fBD9eVlaWHhoaeqnL6LSjA3V1ddWA6WLBFn2RGzocDs8uLi7udONEQ0PDlkwmcwy9u/g+Y906zcZf0Wj0U5x4rvEMMmpQJkIiPzU1VRR4UQWICpz4HNJ2F2pra5uQ+55oH0DOLpixbDa7l3lvDuTSxnPkMaTa32z/PTXQ+1QqVTY+Pv4j4L+DbwdcLXmL3F01MPe2O4Cg5Ly5dRPV+zAz5gl9j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WeO8QqnKD1sd8DRAbFXzL+YvOMsWCE5/0Qi39vbK78jBS2IQBCBIAL/0wj8B0SokQ50tMF9AAAAAElFTkSuQmCC",__vite_glob_0_27=Object.freeze(Object.defineProperty({__proto__:null,default:icon_26_6},Symbol.toStringTag,{value:"Module"})),icon_27_0=""+new URL("icon_27_0-1a34c85d.png",module.meta.url).href,__vite_glob_0_28=Object.freeze(Object.defineProperty({__proto__:null,default:icon_27_0},Symbol.toStringTag,{value:"Module"})),icon_27_1=""+new URL("icon_27_1-f9a5b1c0.png",module.meta.url).href,__vite_glob_0_29=Object.freeze(Object.defineProperty({__proto__:null,default:icon_27_1},Symbol.toStringTag,{value:"Module"})),icon_27_2=""+new URL("icon_27_2-f7c74866.png",module.meta.url).href,__vite_glob_0_30=Object.freeze(Object.defineProperty({__proto__:null,default:icon_27_2},Symbol.toStringTag,{value:"Module"})),icon_27_3=""+new URL("icon_27_3-10612b9d.png",module.meta.url).href,__vite_glob_0_31=Object.freeze(Object.defineProperty({__proto__:null,default:icon_27_3},Symbol.toStringTag,{value:"Module"})),icon_27_4=""+new URL("icon_27_4-acce030b.png",module.meta.url).href,__vite_glob_0_32=Object.freeze(Object.defineProperty({__proto__:null,default:icon_27_4},Symbol.toStringTag,{value:"Module"})),icon_28_1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAuCAYAAABTTPsKAAAAAXNSR0IArs4c6QAABXlJREFUaEPVmX9sU1UUx8+5ry3lR4lh772OOueUuBkjLpGEPzSRzZgQQ4IKWUJcJCL+hZK44R/+IFAR5R8DJCrhDxWCwZgQQDHELDFsQvQPk5kgaLIlwCxbWd97FcPmYF3fPeb25+tb2/datpL2n2W9937vZ2fnnnPuPQh19sE644W7Bg4Ggys5h/VE9BgAhQBgOQCIn+ITBYAbABhFxL8YgzOxWOzS3RipKuBgMPi4SbQFCF4koocrAUDEq4DwnYR4JBaLXa5krZhbEXAoFHpgeia5B4g2AwCrdDPbfA6IxxZ4Pbui0eh1t1qug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OxWJXi+2jKMoSTjBhCQSThq4Fsi5xy1pGYsOypcbQUG6yE3gFLlEgxZCVPCtyW1uA4v/csrjEhGHoS++JS2QsfMnv83aOjY3FixlklksADBmG/mitD12aFZwzYflDV5uwJlhvSgy3uqk1yoa1eU8cLiOD1TXKJo75Ss0ZANexNwvsmJrTsXiOi5/07hVltyywY/GTyVZVl5clqrXTldYPgqNEebnf0LQd6QOb+dxNAS/LwR4Cvj+dxaqr0LIcrgt4saDaK1JjY6OSNM2jBCh5JbajmhpY7F/RFUksqLtLaNrKdXTNF8B195CScY36eaqyRg3T5L/W+jEQAG55JPZ0RY+BFuiVSU5n6uK5NQtd7YO2WE/kC9X0QTsLXVctA2sFVTdNGfuNINP2eg0IXqiy7fW9hPjVvLe9il1lZjUWUTQVMdNYpCiQaC7e48ZiMfBafefY9qoViNt9/gdqw6RcQqK2VQAAAABJRU5ErkJggg==",__vite_glob_0_33=Object.freeze(Object.defineProperty({__proto__:null,default:icon_28_1},Symbol.toStringTag,{value:"Module"})),icon_28_2="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAABUtJREFUWEftmGtsVEUUx//n3lLALS/3zt3tgxBLi7YkKlEJiuHhF1Fj0MRiglF8JAZZAx8MwWBilhANGr4gtmqMYgDRpH5ANPpNiI8o0RhBKaRtCoG17d6ZhRZC7OPuPeYu3e7tPtvChiVhPu3OnDPzm/887plDuMEK3WC8uAlc7BUrmsJCBNcwnK0AbgfQA8Je0zDebmtrG7qaSV1zYCFEhQN6H8zr0sEItE8p67mSAQ4Gg4vtuHOAmefngtI1WmdZ1t7JQl8ThcPhsNbc/MHrDjvbAJSNgSGKgdmfrCPQQaWsJ68bcFVV1dyh4eH9zFiWDqERtQC8xWH0AdAT7US/xaR1v9e2urq6ZtC2l5Xr+k/d3d3n8k3mqhQWQjQ5jI8AzMlQVaOXYtHo12693xDDKeXpaExZS5L2xty5VRgYPMbMBhENgrBj5fLl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6FC6nq5ib+aW+fz7bdQA6/mC0vAcAhwqdlur61t7dXjmcPj6S6XgDgmz596r6zZ89eyClKIch87UIEH2HEdzG76meUfoK2bfbsGS0X+vrd/Z1IVbmroKT14GTHHXfmJ9cAjY2N5VLK1xj0hveEp+zpPMCJWNYtGlGzlNar1w04OXAioTc0tDNXqiAFrD8qZe/31x04CWAEgyvZdnYDvDAdikA7lbI2TxY2saWuxjmXr3s4T5w4GWJ21oNoHsDnCNgdCoVa0vNuEx2/KMAThZiI/U3giag1GdsbTuH/AcVTBFpmykTBAAAAAElFTkSuQmCC",__vite_glob_0_34=Object.freeze(Object.defineProperty({__proto__:null,default:icon_28_2},Symbol.toStringTag,{value:"Module"})),icon_28_3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAuCAYAAABTTPsKAAAAAXNSR0IArs4c6QAAAnlJREFUaEPtWDtvE0EQnjkHJxFRhHV7ezaWrBQOMg4looHCDWUaUvEHgIY2LaFNjQTiB9CFBjoaF9AgSmKM0kSWjJ29PRnxUB7EN+gCe7EPx/bFj/jIuRvN7Mznb2a/3VuEkP0wZHghAjzqjkUMRwz7GAjnSBQKhanNzfIdIuc6Ic6Ouq1B8iPRLqL2YWkp97JYLB5iNpudb3z99gaAbgRJNP5YfJ+4NH8bGeNPCejB+AEEr4iAz5Axo0oAl4MvH/8KBPiCOjPIK43aE9vaeTh+KCdXZIbxmQiuqIj/A3AymVw4BFhQ/+paLvfW3aGu7SrKx3L5lvJNAWzX6/VtZXPObzqadsG1Ncf5JYR4p3zd8pqmyZuIeX/evhhmnK+RQ4/U4pnpOKtWq7Zrp9NpfW//QHot0vCxFGJN2brBJRDpRzaibVuCKV+3vIyZdwmcF/68EWCcBIZTqdTVZrPpzRNj7FWpVDpw25XP5+NSymXVulgsVqrVap+8tpvmskYUd23HwX0pd14rX7e8A43EWcja+QKsc74KBKudmEaAhrTEoqcKvtiLszOLlUql4fozmUzi5+7e1vHBBOu2EOve+Bh8iwASR4ICME1Ec0NRiTbgAaQqkAT62FGb+VSyNvGAOecrDsBKx83nwHcpxf2Wk60tFonuWZb1w/UbhjFHiM9VrAawIYTY6DQS/9TCP+PTF8NnoRIn1TwfgFnLYTAq9v2HzPHYnOJ62XahGRVin/pEgIdO9DAZbr2UDx3o34T+y/5AIzEqkP3kDb+she4zP3QPKaF7qnIHP1SPgf3s1EmKCef78CQx2AtLxHAvhgb1RwwPymCv9aFj+DfynlZB98CwpwAAAABJRU5ErkJggg==",__vite_glob_0_35=Object.freeze(Object.defineProperty({__proto__:null,default:icon_28_3},Symbol.toStringTag,{value:"Module"})),icon_29$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAC7BJREFUeF7tnW2MFdUZx///mV2pVlKtjbB3F2sbhfRFU1AqaKGAWrQIJi1UU6JGpbVNjWX3LlUD/VSMWvfukkbTqGijxEYLfhB8rQoUI6tFpKFNG17SUnf3Lhpf2qxVkZ15mjP37rK73N2dmXvmztw7h2RzP3DO8zzn+c15P+c5RA38O/N38pn+D3C2ENPgYpormEbidAATBZiofimF32Jx+4ToA9BHFH5F8I5F7IOFfRTsqzsVBw5dz0+q3T2sxgJ8sUO+ctTFAgHmAzgPgjMAsfSWhS6ItwDsJrCt3sLWfzfzH3p1RC+tKgBn2uQLsHAlBAtEsACQydG7ppQGHiaxFerPxVP5Vr4bjx3+tSYW8Fm/kQkfO1gsDq4FcZmI1PsvVvQpSR6F4HnaePREG1sO3sIj0WsNriFxgKesk5n9Dm4kcJWInBK8SJXPQfI/AjxRZ+OhrpXcVXkLRteYGMBNHTLPdbBaIJckyUFBbSH4kmXjju5mbg+aN4r0sQNu6pDLXRdrROTCKAoYl0ySOy0La7ub+VxcNii9sQFuWicXOA7uhcj5cTogct3kG7aNm7tX8vXIdZVQUHHATe3yeVdwlwArIFJx/XE4GaQq6HqLuK27he9X0oaKOVhE2NiBG+DiboGcVslCJkUXwfdg4daeZjxMUiphV0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EvDIQqug5v0f4GwhpsHFNFcwjcQkCCYKcTKAiRRMVL/FvH1C9AHoo+BDEH0ieNsi9sHCPgr21Z2KA4eu5yflOjju/P8Hdipmra/K2tIAAAAASUVORK5CYII=",__vite_glob_0_36=Object.freeze(Object.defineProperty({__proto__:null,default:icon_29$1},Symbol.toStringTag,{value:"Module"})),icon_29_1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAAAmCAYAAABTahxxAAAAAXNSR0IArs4c6QAAC+pJREFUaEPlmgmQFcUZx3/zQHaXfcoKlFiIHBuu8iBl5Cg0HgWRRGOCopYxElgUFYLiRRQN6EZLIyinqIAYYilKUiISXfEoIQV4EE0qcikqCriCeMIuolxvUj3dPfNNz8xbspJUrGzV1ntvpnu6++vv+3//7z/t4fz5J192LIW9w8kxAM9rD4U8nmmkPoPvPuTUd0//9nx9Lfxt2tl7sr/ql2ir+qOfmfg0zw3HFP2DOdgF2DmJa/Z5ch7uXMLfahw57/A5O/G8zeQKL9AsN8e7/fG10mTR8BdUN6N242R8byReQQ8tJxB+t4YSA6q26knhgpx7cqHK2IGhM9rEFqR+yM1yDJ14lnluMB93HHEvZljZVjhIaEzzHL2GAh4PUNL9Oq+6eo9dNr4y3uZNi6HQTxvOLlBOyBpUeFrgSY6hYxM3HhrzHtneGtEYKvQU69nWI7I2RPQPokBsZMwBnHZ2A+385YbaftIbYxGjnpVbQkm3M5URdUD2qppBjlHhBNK8o9iuhqHtLlh4UKK/CP+gf0NtXe9L2VA7b2vI2IakwIQLTW7/GNwkNuE+7875V3p+r8uOhb2r8MiFeGYXZHc1FoIW82TIyp2XWOjgSqpXCNyz+KqMGYMMi7fmebHNkJjsPssNTxHWCSM7m2g31DpHAk+9Ak28Hp7fq2oKHtfEgd0B7nDCciEZmCJ3LQhdBwYSYVokSUg4KBqeDlZayLDjq08ZmmnfZTgn+tuNkEYO1jXV83sPW4vvH6N33HXTlB2V7Vy8SAudTPxLAfpY/yL4F7ZzMn9RTM4YLytTJ2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r4DnPUBJ1/gRX0k2o0Pm3gAotMcjH9w/UD0wccLhO34+sIm3Ez/7kPm/AP5K8tDKcnwwAAAAAElFTkSuQmCC",__vite_glob_0_37=Object.freeze(Object.defineProperty({__proto__:null,default:icon_29_1},Symbol.toStringTag,{value:"Module"})),icon_29_2="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAADXtJREFUeF7tnQtQVOUewP8fTyFBUN7IQzCvITZ0Sbs1RqY0t8RE4xr4IOGCmEF1VZ49rJicCFJvgRgGsiqKiAyEUXONxSRzvN40yMWSBI0FBIYEUReW17nz33t272Fdds+ecxYfs9/MjlN8z99+j//r+5bAXUwURdkBwGwA8GJ8pgHAQwBgTf+LPbwNADL63z8A4HfG51dCSO/dGgaZyIYpipoEAPMBYB79mSlQ+5cB4D/05ywhZECgenVWY3CAFEVhG38GgBAAWMyYVTo7xzEDzlYxAFQBwHlCCMWxHlbFDAaQoigLAFgGAJEA4M6qN8JnagOAAwBQSQgZFL56AMEB0ss0jAbnYIhOc6izmwZZJvTyFhQgRVFBAJAEAK4cBjkRRa4BQBYhpFaoxgQBSFEUAkNwCPB+SAgwkxDSwbezvAFSFLUIALYCwGS+nZng8rcAIJ0QUsOnXc4AKYoyB4B/AEA4nw7cA2VLAOCfhJAhLn3hBJCiqCkAsBMAHuXS6D1Y5mcA2EQIuaFv3/QGSFGUMwDkAMAMfRu7x/NfAYAEQkinPv3UCyBFUd4AsAsAEOKDmBBePCHkKtvBsQZIz7y9DzA8JTOE+He2M5EVQHrPy38Al+14Ew2XcyybPVEnQPq0zXuADgy2qxMPlg26Tmc2AFFAvt9FFbbQ1POVEEKytBXWCpAWkjO5tv6AlEvWJmyPC5BWz4rvQw1D6O8NNZaI8dQ+bQB33Ee6rdDQ1OurJYRs1tSIRoC0VQUBGtP/CWzWZMW5AyBtzyu9GyYpiURiJRaL7err6ydfv37dHD/Dw8Mm9vb2Q/jx9fWVLVy4sH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pGioaI6OjoP0mlUtUSV8+PtsLFixdfX79+fYetrS0vtVKtbs0BljRAPOoNEuKLp3RdXd1D6OfFvQr3LA8PDzmaqPz9/WVmZqwmqmosw8PDIJFIrFtaWiylUqkl1ot7K9YbEBBwW4BTVtN3qD3El4a4Bi8fCzHXH8A6tAeZ0wBRpLkr1xzuceDsrjnQEHkL1vc4DC7dY3fRRlkzRVHGq17/x6zfVS96FqJGYbxsCMDtsiENEd+EMV531fK2jM5LFRRFGS9ca9kx2QDESy3GK//jQNQJkF7KGBFgfHRCA0RWAGmI+FaM8dkTNYisAdIQjQ/v8AHImInGp59okHrNQIaQbXx8jA9AeiYan79TD3/loiAaH2DkQk2tjPEJUAEgMqw4xkdo+fCk7x6jawBf/2AVNM6nPZZl0ZJcBABH7+lnkJmDMT7EzfKr1ZXN+BS8LkJ6/N34YwR6wGKTlfFzGKgiKn8SA2Oftf0cBj5Oofw5DLzrcVd/DuO//3r8fBHuw8AAAAAASUVORK5CYII=",__vite_glob_0_38=Object.freeze(Object.defineProperty({__proto__:null,default:icon_29_2},Symbol.toStringTag,{value:"Module"})),icon_29_3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAACaxJREFUeF7tnX9MVMkdwL/DL3E1LJ6LlIqc4NUqnFzdpk2jSUO6RBESQkDUWi+GqojuJVZKXX+gfxAghrNSk65BJEdMrSdwRUMjUOM25GL0etrtnTk4azBwyA/BvRM4XD0WmOa7fW99u7cs772dx8JmJ9nsHzvznZnPzrz5zvf7nXkEfJgopZEAsAYA3hR8lgLAIgBQcd/YwhcAYOW+vwaArwSfh4SQYV91g8xmxZTScAD4OQD8jPu8xaj+TgC4x30+JYS8YiR3RjGKA6SUYh1aAMgAAJ1gVM3YOJkZcLSaAOAGAJgJIVSmHFHFFANIKQ0DgEwAeBcAlotqDftMfQDwFwBoIoSMsxcPwBwgN01zOHAaJRotQ6aFA/k31tObKUBK6S8B4A8AECOjk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KZ2rCsrK2uwuLi4l2XnSktLY69fv+44QaWk64A7Af86tIMDqFhwUU1NzbKqqqoVPDB0MZaVlT12XQTkAr1586b6xIkTq4Su1IKCgid79+6VFbQkoh1ug4twQVEkvA3dmJmZmW8PDw8LXZ10y5YtloyMjK+Tk5NfenJJuusQynzw4MHCGzduLG1pacGAUEd8SGRkpK2pqekLqTJFgMMs7sPbuFGoWIBla2ururi4GKNS5QXCiOwdKhWlpaWP09LSJB9dFVmF+wBLDiDetKFYiK/SUQsKRR8IuXoO8eUg/gYPH4v8NyRnu3XrVsSZM2fiLBbLAsmFPRTQaDTfFRUV9aSmpirpTPccZM4BRJVG0WMO4+PjpLGx8Y22trbI7u5u1fPnz0PFHnHgGQYHB9MlS5bYVq5caU1JSRnOzs7+JiwsTMlLdsQdc+AgKqZYsxx1syxL3EEbvlGU0sBRr9f/kLSjXtwoxH1n4LAhgLzDhhxEvBMmcNzVw90yM+pklNLAgWsPD1sxAHH3EDjyPw3EGQFyUxljZwKXTriBKAogBxEtHYFrT1wgigbIQQxcvOMNQMFIDFz9xIGUNAIFSnbg8jFvAHIjMXD9HQvbXOACRgY78sAVoAwgCqw4gUtoveHJnT1G1wDe/qHo5RUS2omW5MsA8NGcvgZZ2KHARdwS/l5PWQNXwTMCKXAXBF5GwIqp4HUYuEXkX4nxxgyvw8CYGP51GHjXqU9fh/E/jGI8fEs0YCEAAAAASUVORK5CYII=",__vite_glob_0_39=Object.freeze(Object.defineProperty({__proto__:null,default:icon_29_3},Symbol.toStringTag,{value:"Module"})),icon_29_4="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAABxlJREFUeF7tnA9MVVUcx78/EPEPFkn+4TGcIqZSmmKt0oaW/0KbhP/mFpVGpaZS+shaW2W1tTSeJmhq5ewPbY5UxKX4B0uZWq3E1EJNUQYD8Q9Ggn8Aeb927ntP+fd499537+vd7d7tbgzOn+/5cH7nnvM7v3MIPnyWMA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Fwz5TMiwU8M4J5NYUMSJKLxLzcxDMp83ocz4ykFOYFSzJBmVd0yQQlkkmXvNVhKiBd8hbn7ZEH5yVv+WDkGfaSN3f8pmVx4IESDDHSNYH/AUmZXpCRLCmZAAAAAElFTkSuQmCC",__vite_glob_0_40=Object.freeze(Object.defineProperty({__proto__:null,default:icon_29_4},Symbol.toStringTag,{value:"Module"})),icon_29_5="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAB9xJREFUeF7tnH2QlVUdxz+/uzsEKwvpSirmAIaRCRYgDFqAgZPA5cUJl5wUKqJEtJ3iJWSZanPGu6JghYqolAXW2O5sI8IGNmACZQQq6WJGoMCYqMEqbwLusPc05z538e7ufTnn3Oe5sjPPmbkz+8fv7Xz3nPM7v5fzCAUcSlVFuGf7QOALKNUPJf0Q1QfoBlKKojRhjnAM1DHgKEr2ImoXIruAl7lzyA6RqnihzJagFalFE3tyunkyMBoYCeqT+emUw8AmYCPFRXUy/+kD+cnLzh0IQOrxb3XmnUOTUfFpKLkOVCSYSUgcURuQyEouPL9Ovv2bU37r8RUg9VB5V46cmAnMQakL/TY2qzyRd4AldC9ZLrfXHvdLty8Aqb9UFfP3FypAVaJUmV/GOckRaQSJcfVVS+UrVaedZKQw5Q2QumfCl4k3L0MxIF9jfOUXGogUzZI71/w1H7nOAKma8k7sObEY1B0onOXkY3xOXkGBPEjfkrkypbYpJ30aAqeJqeropShqUGqwi9KC84i8iDBFFtS/YavbGiBVPWEUqvmPKLrbKvtY6YUjSNHXZMGaZ23ssAJIVUfLifMEqE42Ss4eWmkiwi2yoL7W1CZjgFRs/HdRanlwdxpTk/Ol03cnmSmVax8zkWQEUHLlPNnxwWmBROJEuMlkJeUEKHHmxOPrOu62yrRO9HaLjM11JmUFyPNW6qUOdyCb7B1Nkzi4ZVA275YRoOQ95/kO48pNQWlLp68AfUuuyXRPygxQLLoUpb7vqrdD8Yk8IJX1FelsTgtQMnz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Ad162Gr06Fs8VrzZjD9SZO/ZUiUfPQjLZkDcsp8qscVcDukrroVJ88wm15aqrccyleLi2Vqtovvg1edMtXl03iHt4OZ1VvDzI+yUaepMHstUUj6e7V+bvWykzUi4eZeL4m0r4NyLbFTl9lim0lw92/tvw8MzTLUk6byLon2oMbcOOnW2U2bisUwluni2plOw2DL0SYQaLsHqnFr/0qcalC2/hy2JFPBHY/jNMPwbppDlptNp2iXluelSKRLBqku649ZHoOzTdsqyURcCoMb/wiO32tmcSHe4JMwmzIYB+mWBT6MQADVshDWtiqY5jE8mzDSVilmmXPtd45Vw/BqFAEiXinY9b2FxMuXqAWSZtNex0feWg3a7foygAdKB8KMzLWOy1KS99yLHruzTdyhM+akf8AR/SNf8DPZss7C1TdknuYrsC4cjp8GXvm6hOANpkCvob3+ATSvtbBRaFw4TALmWnv0AKSiAXMDRYKQtPefTvKC3m06YuZ5JfgOkzxydMLPaVslFlql5IenN3Ntf9MGta2D617Of16RgWovPFyB9CdRNDQd2wX+2ej/3JFn69pcEQN6DuMI1UNmdDMFT52qg8lZR2IKX+p8Imzhb0NAP8EyaOBOryHtFGLYBpzZQtd3gKmwkT0ASPkVwfYrgXR7Dxyzhc6gcTzRzApRcSfopZvigLttNLHySaXBPDR/1GoEUPgvPCVP4YYGcEEH4aQoDkFLCkvDjJlk9XPh5HLPlFH5gyQwnwk90GQKVOKN0San59I0go1GMyP/JgxxG0KmYDR32I2+Z8FM15UW8fkI3QHeYzwT+H3ZrcTYXRZDdAAAAAElFTkSuQmCC",__vite_glob_0_41=Object.freeze(Object.defineProperty({__proto__:null,default:icon_29_5},Symbol.toStringTag,{value:"Module"})),icon_3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAABO9JREFUeF7tm3vo32MUx1+jtbRyTzO0uc1saZLcYm3YEGIjtjUjl8m2InIJfwnlErWL5BpaSIRMLqOYtZBL7mRaMTaaSyS5bOtd58mnT9/fj3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k0YBukslJafycK2JvUS7+Zhag+70yxV0604aBai+T9JmI1GRQym+rQKaBqjuKax3amBRgO5oJyCNScW3pVa0wFPm6e1aQP8noEx/Sfu17p2RgG4P/GBEVCtaShsLJKXnLqkRuwK4JQTFyiCieOi2wE82LtWGqka0SPUbpvLbMivKDfcJYxSgw4FfjNZJgIBJdAWi9VRJkSK6zFMNfnk+lJNGAarE8a9G5njgeWAesMi+/yzQtF6qbKd4cyiYkdZQbTq/VYAqFKoXO+jrEBXi/hiOYsA1VDecJTOvM/3oGrTFtin9FRlmJA/VGqkwqC46t+tsrxvQTkiUNVTj0Jm8Kqq517l+XSdI2iCjANVwvgJ2s9tPleKUAtwu8QxzUhI0XWEo666Qqe6tnYEayUM7A22wgSZQ539jAk2gzgSc1aWHJlBnAs7q0kMTqDMBZ3XpoQnUmYCzuvTQBOpMwFldemgCdSbgrC49NIE6E3BWtxnf06ZVfEeSgQAAAABJRU5ErkJggg==",__vite_glob_0_42=Object.freeze(Object.defineProperty({__proto__:null,default:icon_3},Symbol.toStringTag,{value:"Module"})),icon_30="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAAA49JREFUeF7t2kuoTVEcx/HvlVcGXiGlDCgMzJgwQMpEJEUkj4mBEUVSCJeBksRABh7FQJFIYsLIwISBCQNl4E2JvPPWX+vUaXXqnrPPb52z1um/pnfv3/mvz/3ffc9ea/XhQyrQJ03zMBxU3AQO6qBiAXGcd6iDigXEcd6hDioWEMd5hzqoWEAc5x3qoGIBcZx3qIOKBcRx3qEOKhYQx3mHOqhYQBznHeqgYgFxnHeog/4XmABcBGYBZ4GtwA+xTaW4Ujv0ELC9bsa3geXAu0oKwptKBT0MbIscHgGLgcdCn5ajSgUdD1hXzohm/BZYBtxpWUJ0Q6mgNv0xwGVgQWTxHdgAXBAZtRRTMqhNdChwElgfzfovsAs42JKG4OLSQWsEe4F9DTzOAJuAnwKrpiJ6BdQmuxY4Hbq2fvK3gBXAh6ZE2ryol0CNYh5wBRgbuTwM3wCetOk14O29BmoTngbcAKZGs38DLAXuDqjSxgW9CGoc44CrwNzI5mt4NFgXJxkpQUcAo5JU3VzocOAUsDC6/E94yzrSXExrV6UCPQDsBAa1Vk5Hr7ZvBf3qT0wBOhF4pS40Qd6vsMjyXpmdAnQ08BoYpiw0QdYXwF5hvymzU4BafauAPQ2+vihrbyfrGWCPpWvthDS6NxWous5i8hxU/KtyUAcVC4jjvEMdVCwgjvMOdVCxgDguVYduDCvok8T1quJsu3k3cEIVWMtJAToSsN3HIepixXm/w6tn9u/ythv5ErDls5xHMaCGuBk4lrFmUX/yNcd1YYHXtnrrx82wafYxY/DKpaV4htYXMz9smtljoH48CJtmTytXnumNqUFt2tPDptmUyMDWTG3T7F6mNpXK6gSoFWYLubZpNieq0jbN1oSfVZpAbjd1CtTmbf/1zwErIwTbNLOTdEdzw6lSTydBrT77PDtvtKNBsceBLYB9nSl2dBq0BmVvUvaWMjiSuw6sBj6XKtotUPNaBFwC7M2qftwHlgAvSkTtJqh5zQSsKydHeM/DqQ/bTCtqdBvUsGwf33YfZ0dydrIjPvadPW4OoIZkx3bOh+PcNTQ787k/e8GowFxArSw7tmNLanbO007I2UHZTw5amoC43pw6VDy17sQ5qNjdQR1ULCCO8w51ULGAOM471EHFAuI471AHFQuI47xDHVQsII7zDnVQsYA4zjvUQcUC4jjvUAcVC4jjvEMdVCwgjvMOFYP+A6f4XVWR690fAAAAAElFTkSuQmCC",__vite_glob_0_43=Object.freeze(Object.defineProperty({__proto__:null,default:icon_30},Symbol.toStringTag,{value:"Module"})),icon_4="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAAAm1JREFUeF7t27FqFFEchfEvRgUhgp2SF7BTJJWkS6EWWgsWvoRlep8ldQSNGrAJCBYiWPkCgjbaCFoE5Q+zECOzc2dyCGP4FtKEO2eZ3569s3vv7Ao+ogIr0TTDEDRcAkEFDQuE42yooGGBcJwNFTQsEI6zoYKGBcJxNlTQsEA4zoYKGhYIx9nQMw56F9gBvgLXw+d6KnFza+h94BnwBbh2KgLhJxFU0LBAOM6GChoWCMfZUEHDAuE4GypoWCAcZ0PPOOgDYLfhm9I6cAe4B1wAHgG/wjaT4v6Xhl4ENjvAQrxx7GxvAR8mCYQPmjPo7SOAW8DaknPfAN6HbSbFzRV07MkI2iO2WG0SdKyAoCGxgRgbGnYeAj0E3gLPgRfAG+AK4Bw64i1fq/d7HeIr4PuRY78JurzSi4b+BJ52iPVx6HfPYYI2zqGte0qCChq+6ggq6CiBuX71dA4d9TL2Dx57o4MXJefQUPUaY2xoI1TrMEFbpRrHCdoI1TqsBfQqULc91t9DYNXFkXFX+dqEq/2kAqz9pJvwz6+oXW0aWG2qFaXtDnFoP6miBB2xfNcyXQgqaEtPTj5maMW+7xlsaKChP4BLwDnn0OGrfN+Ij912SG2JHHS37LintGRmqI9GhbV41OLHa+Bl9//Px451cWRgmq238BPgfIf4Dqidzr6HoCe/bv2VIKigYYFwnA0VNCwQjrOhgoYFwnE2VNCwQDjOhgoaFgjH7QOXgcfAp3D2pLi53Yoz6STmdJCg4VdDUEHDAuE4GypoWCAcZ0MFDQuE42yooGGBcJwNFTQsEI6zoYKGBcJxNlTQsEA47g9MKqNV5KiOuwAAAABJRU5ErkJggg==",__vite_glob_0_44=Object.freeze(Object.defineProperty({__proto__:null,default:icon_4},Symbol.toStringTag,{value:"Module"})),icon_5="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAAAypJREFUeF7t28vLTVEYx/HvK4oSMZFSIrkO3E0YSkYm5lJKMlRMGMiljBgYGPoHZKQwMDSRW26RW6SUTMmdnlqyHc5519r7dzrr1G/Xqbe3Zz3nXZ/3OWfvtZ69J/AhFZiQZnMyDCouAoMaVCwgTucKNahYQJzOFWpQsYA4nSvUoGIBcTpXqEHFAuJ0rlCDigXE6ca1QncAx4G3wHaxSad04wq6GzgPvAYWdhIQD64RdCMwE3gKvOkzX4MWFMJdYDVwADhj0AK5PqEG7W74VwaDGvSPQI0nJVeoK9QVKq4Bgxq0R6B5Yb8MWAcsB64Br4amlZF43E5KU4EVwH5gH/Ad+AnE7+MI0K0Z8x5aSM2gh4ArwPr02pBWUDMGaDwCVg1NKyNxTaBLgEA7DczP+Nv/F2JQYC9wCpjTErE5zKDAQ2ClADNSGBR4AiwVgV4HtohytUpTw3doV9CPwAMglqxn08+tMBSDxg30E3AP+ApsThvQsWP/Q4GhyFEz6OeEdxO4lV5Rid8A79gP+O+fA/YAz4Abqek2zzv23T4vUxofW2/fdbP8Z7RBDertO3ENGNSgPQK+bCooCZ+UCrByQg2ao1QQY9ACrJzQNqCzgOgt3QdivT+yo4a1fO/kJwOdBhwETia8l6lBF3O5COwcmSZU+TRyL2i0RjY1XmuB6X3QvMHcgIn1fLSCLwGLgKi82cDcgoozKLANOAJE5cWNtl0OgwJ3gDVdFBtjDSruKd1OPXzR/6c8TQ1n+a49pZj1h3TJdAy4XM6gGzGOoIH3Pj398S51OZ/X0leqHTTw4jIqekq/e0uPgV1+rKb/p+pqOtNH8y1WOovT5dIJ4Gi6Iax3tHebBnxLxZ1zcaPDi7TymWylFKkMWvC1b9ACrJxQg+YoFcQYtAArJ9SgOUoFMQYtwMoJNWiOUkGMQQuwckINmqNUEJMDGpvR0QqJR2q+FOQeemgNa/neSeaADh2m7RvUCHoYWABcSA9ytZ3bSMbVCDoSCNWbGlQlmfIY1KBiAXE6V6hBxQLidK5Qg4oFxOlcoQYVC4jTuUINKhYQp3OFGlQsIE7nChWD/gIiUd9VSi7pUQAAAABJRU5ErkJggg==",__vite_glob_0_45=Object.freeze(Object.defineProperty({__proto__:null,default:icon_5},Symbol.toStringTag,{value:"Module"})),icon_6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAAAyFJREFUe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IQKSQAAAABJRU5ErkJggg==",__vite_glob_0_46=Object.freeze(Object.defineProperty({__proto__:null,default:icon_6},Symbol.toStringTag,{value:"Module"})),icon_7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAABclJREFUeF7tnAWobUUUhr9nodiKWFgottiiKCYGoqKoKGJ3t9iJohiY2I2BDSqiInYrFrbYiYqB3fLDDDzOOwfO/ve6+8y7zMDlPh57/TPr22vvPTNrzZ1AbaEEJoSqVTEq0OAgqEAr0GACwXI1QivQYALBcjVCK9BgAsFyNUIr0GACwXI1QivQYALBcqOM0CmABYCPgX+D/XLkpgTmS+P5zxGQzSiBHgacDVwH7Ow6EGh3FHA6sBVwh6s7SqAnAicBjwDrug4E2p0KHJturm6y1UoA+iiwjjX6WKMMdA/gSle6BKCPA2u5DgTaZaD7Ape4uiUAfQJY03Ug0C4DPRg439UtAehTwBquA4F2GegR6WNpSZcA9GlgdWv0sUYZ6DHpa2+plwD0WWA1a/SxRhmoZh+nuNIlAH0OWNV1INAuA9Xv413dEoC+AKziOhBol4GeCRzp6pYA9EVgZdeBQLsM9FzgUFe3BKAvASu6DgTaZaAXAQe4uiUAfRlYwXUg0C4DvQzY29UtAeirwHKuA4F2GejVwG6ubglAXwOWdR0ItMtAbwB2cHVLAPo6sIzrQKBdBnoLsK2rWwLQN4ClXQcC7TLQ24GtXd0SgL4FLOk6EGiXgd4KbOPqlgD0bWAJ14FAu3HzyL8LLBYIxpXKQG8GtnNFSojQ94BFXQcC7TLQG4HtXd0SgL4PLOI6EGg3bqZNHwALB4JxpTLQ64GdXJESIvQjYCHXgUC7DPRaYBdXtwSgKnRY0HUg0C4DvQbY1dUtAeinwPyuA4F2GehVwO6ubglAP0slMK4PUXYZ6BXAnq5oCUC/AOZ1HQi0Gzfbd18C8wSCcaUy0EuBfVyREiL0K2Bu14FAuwz0YmA/V3eUQFUoppTtJ6ms0fUhyq74FMhUqcRG+aLFgR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ElFTkSuQmCC",__vite_glob_0_47=Object.freeze(Object.defineProperty({__proto__:null,default:icon_7},Symbol.toStringTag,{value:"Module"})),icon_8="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAABz9JREFUeF7tnGWoNkUUgB9bscUGW7G7u7sVsTvBAhVRMVB/qIiK2N2Jhd3dhd1iYIKJjckjs7J83rs5u3fv9+6By/3x7szOPHv2zJlzzuw49BKVwDhRe+s7owcaWQl6oD3QyAQid9draA80MoHI3fUaOkBAJwLmBGYHZgNmAiYGJgAmBH4CvgG+Br4A3gQ+AP6KzKhUd13SUGGtA6wCrAAsGcCVmdAvAexTwAPAw8C3ZTqoe+1IAx0P2ADYGtgEmLzuhMZor7Y+C1wDXAd8Gbn//3U3UkAnAXYBDgbmGmaSfwKvA28B74U/gXwX/n4GfCDjBzMwLTADMD0wBzA/sAAwC/y7gbG/+4GzgNuBv5uA2zbQcYG9gOOA6caYkBN8BrgDeDJo1o8RJj1lMCErAisDywPvA6cCVwC/RrjHf120CXTZoB3axrQI7zLg1rC4xJzfUH0JeP1gYhYBTgKujKWxbQD1tVQjDw+vnpNU8y4Bzgdea5pgRv+ans0BwfpmPFZ3LE0DnTksCK7cCcgzgVOAr+oOPnJ7ba12WTessjQJdDHg7rBQuNqeBxxVd8CVZ9pSw6aAugD4CmmvXGj2BV5oaU4jepsmgOqc3xxcGTXy5JHevbRJODbQJYBHgc+A7YDn25xMF+4VE+iswNPAi8C2wA9dmGDFMeiZuBEoLbGAThpg3gccMgpf8SmArYDlwp87LDcaunfuzHSnzgWeyCMcC6gr+MvA2Xk37Njv+qH7AYcB0xQYm/PbP0thYgDdOGwjLy4woC5dsipwNaCvXEb2DhuSIdvUBWpAYmngrjIj6sC1GwI3VQgPOnQXXR9GI0AN9v7eMCDtm0EN7ZtBZu21u6y3w8bBSFQZmSd4H/ZbRV4BFm0KaJUBFW2zUFjg9BiM0A8nNwAHAJ8X7FjN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oE005oaBtAdwon6YS4WpmUbUnqAwM0nQS07tJ0dRMyMEBNtCVJPH3S2scDh3kaAwN0N+CiAMHKtsebUM+urPJt2FDTzFaOKCsVOWlREfjAaGg6s2p1ise9m5BOAG3DD90zdarC/JXfC2lCOgG0jVc+7dj7tYUk8hQb6oKps/ljdYDZtEeSmPOkh4VjTcjAAHUhSlwlY6N+xaYJ6QTQNmxoK8kzwENqnpL2ZIlf4knyWFEfXl71XRtALWO0nFHxVF6TR8KnDmeeGvt+Ux7QNhYlT7R9H4BaNjmqv/zQBaCOweo7v+nkJ4gsqhi1kge0jVdeeH6fzmo77elIfnao9oPsClC/NuZ3706reGCsNohYHeQBbcOGxppLJ/rpgUZ+DD3QloG64i4evqhYtdY+8pC73V2ehnoc0WsyT+B2e4rtji4PaLujGQvu1gON/BB7oD3QyAQid9draA80MoHI3fUa2gONTCByd/8AEGSZZECOlg0AAAAASUVORK5CYII=",__vite_glob_0_48=Object.freeze(Object.defineProperty({__proto__:null,default:icon_8},Symbol.toStringTag,{value:"Module"})),icon_9="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAAA/9JREFUeF7t22/IT2ccx/E3w2oZigkPxgMxNERKS0upjbYS7YFQIimtkD8pkoglNTzSltSKkgdsUfIv5c8IUVtk/k62Vh6glH+J6VvXXb8HP+d8zn1/z/md+F51P7o/v++5vq/76vyucx06EcNVoJNrtShGgDovggANUGcB53KxQgPUWcC5XKzQAHUWcC4XKzRAnQWcy8UKDVBnAedysUID1FnAuVys0AB1FnAuFys0QJ0FnMvFCg1QZwHncrFCA9RZwLlcrNAAdRZwLhcrNECdBZzLxQp9D0H7AN8AJ4B/nPt3L1f3FdoFuAiMBv4FRgCP3RUcC9YddDGwraHfrcBSx/7dS9UZ9BPgBtCroeuXwEjgL3cJp4J1Bt0BzG/S51Hga6f+3cvUFXQscAHo/JaOpwG/uWs4FKwjqM3pDPBFRn9/A8OB5w4GriXqCDob2CV0uQbYIOQqjdQNtDtwHRggKDwFhqbtlBCvJlI30E3AygKt7wVmFMiXHq0T6GDgKtANsO3ROmAR0DdHYSJwsnQp8QJ1Aj0IfJvmvRZYn1bfnpxe/gTGAK/EnkuN1QV0CnAodXoXGJa+wW1+9uhp26is8T2wvVQpsXgdQLsCV4Ahac7TgV8b5j8JOJ7Tz8P0+Qdi36XF6gC6AticOjwGfNWk28PC09FPwMLSpMTCrQbtl57XP05fRKOAa03mbqdNlyHzP6rZPdRuDX+IvZcSazXoL8Cc1NkWYFlGl7uBWTkKp4EvS5ESi7YSdDxwNq26++kemHXWOSht+m1blTVmAnk7A5GneKxVoHbd88C4NOW5gK3WvGHnoUtyQnYQ/RnwJK9YGb9vFeg8YGdq6FKC/V9o0F6H3AZ65GR/AFYL9dwjrQA1jJsNT0ATgN8LdLYK2JiTf5FOo+4UqOsSbQXojw2vMdrzLP4RcAvonyNwAJjqolSgSNWgdm+zR0XbzD9L97p7BebbFl0A/Cx8bjJwRMi5RaoGtebaNu52lmlnmu0ZH6SDFDu+yxp2FPh52uO25zqFP1MlqG2TzqUZ/pe2SR35JrbXIPuFjpcDdpupZFQJ2hM4ld5afgfsc+jQ/kD2h8oaj4DegLKL6PCUqgS1yX4ItG3QOzz59Khp/6IkaxtlOwjbSVQyqgYtoyl7bWL30k+BgWk12ubeXuTZtsl+Xpdx4WY13wXQqqyk6wSoxKSHAlS3kpIBKjHpoQDVraRkgEpMeihAdSspGaASkx4KUN1KSgaoxKSHAlS3kpIBKjHpoQDVraRkgEpMeihAdSspGaASkx4KUN1KSgaoxKSHAlS3kpIBKjHpoQDVraRkgEpMeihAdSspGaASkx4KUN1KSgaoxKSHAlS3kpIBKjHpoTevLW1V8CzwHgAAAABJRU5ErkJggg==",__vite_glob_0_49=Object.freeze(Object.defineProperty({__proto__:null,default:icon_9},Symbol.toStringTag,{value:"Module"})),icon_arrow="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAOCAYAAAAvxDzwAAAAAXNSR0IArs4c6QAAAcRJREFUOE+d0s9rE0EUB/Dvd6In7w67JoZQFNGDh/wB5iZ6UdEURdBDwVNREATBS06CICqCtFJBVFBQQQUR8WLb+D+0giJIMzP7D5jmh/Nkwm5ca9JY9zaP9z773rwhAERRdIEiB1vWzpKUEPvXL47j3d77R0qp88aY74y1nvHAAgCCvOecm90CVvLeL0GkAvKbUuoQoyh6IN7PZAiVumutvTQJLRaLu/q93hKAqZBLsi3AETYaDXV/fv6hiJwbosBtmySXx6GlUinud7uLAuxJsXUqdcwY84EhMEDn5h4LcDZDFHnTOHdlI1oul6Nup7MoIntTrAPyuLX2/eCcFdTr9cKn5eUnApwZIuQN59zV7FypVPR6ux2wfSnWFeCEc+5dbrrfPQS02Ww+hch0LuG6TZJrU1rv/EF+FJH9GaZETraS5G1+imGHWbBWq237vLr6TERO5Tq9BeAwRA6ksZ4qFOrGmDcbr+QvMCQM0JWV52GcEYvpU6lpa+2rUUsbCYbEarW6vbW29hrA0VzhT5CnnXMvx72AsWAo0FrvIPkVIhqAELiz2XP6Y8vj/piiXwC8cM5dnPTgN+1wUvGW7vB/sFDzCzQzsAEDKeLUAAAAAElFTkSuQmCC",__vite_glob_0_50=Object.freeze(Object.defineProperty({__proto__:null,default:icon_arrow},Symbol.toStringTag,{value:"Module"})),icon_check="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABT1JREFUaEPVmmlsVFUUx39nplRaSpBFk+kCisUAMUaChkU+gAVFjJSC1A1BRcFoglgI8YMmJGg02BZcE1wisgRpUSghgOBCDLIEPhiCoqFEhJaKYdNCWcq8Y+5MtzfrezNDcebb5J7l/z/33nPOvfcJKfjlV2qWpYwTGGPBQIFClJ5A9xbzjQhnFWo98JvCDx5he12ZXEzWvSRqoO9H2tN/kWKFYuB+Vc12Y0tEmoBtAjXeLGqOvShn3ei3yromkLtMs+UCZZbFAtDWCCfiu4OONHo8LNZuV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US/HrB9OuRk2gEe/Ft5aDWMuRWWTwoHv/ag8so3qQEfnAApTriZmzII3p8QDrLqF2Vsf+iVZR/742yw2jY1p4ZAWzNnzCXaTn8wASYPinu5R7NfeXgNHDiZGvAt0Q+20+ZPogeanMxgT1/QIzaJN39UPtyXOvDGku1Ak8yRcqgPNjwGXk9kEjuPKY9WQ5IZM4S92I+UgVlI4lA/dzgsuDecwJmLwZR58kKKox96qA/sgySuVUzw15XC8Hw7iWdrlK21qQVvbugiXqsYN8lcbPly4MtHYEBL4XrnJ2XJntSCD1qLcrFlhpK9WszKMAUOTp6HIwm9eMUhLHGuFo16Wl/utvJP6+v1NhLp/MDRkUTaPjHZllO6PvK1kUjnZ9ZWEmn90N0xO6ftpwahJSZtP/aIVCuv5+c2/wFFT3oflyizvwAAAABJRU5ErkJggg==",__vite_glob_0_51=Object.freeze(Object.defineProperty({__proto__:null,default:icon_check},Symbol.toStringTag,{value:"Module"})),icon_collapseIcon="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAATlJREFUWEftlD1OAzEQhWdMICJtstayUi6QPiWXQKImXIGengZxBEJPjkGVPidYVosNbVBQ1oNWCAmF/Rl7LSWFXXueP733PAh7Prjn9yEABAeCA4fpwGg8TuBzcwtIQx97gkC8nfaP79I0fd3Vq3RgJOU9Gbrx8fivBgp8eFfqn2YlgJTyojC08AkgEC611s8sB8pLw0g+AtHMCwTi/EOr6yqt2hImSTLYfG2XADTpBoGr/klvmmXZ2gqgvBzH8WRbmCURDVwgEHHdOxLTPM9XdfOt3zCKoitDMHcBEAgzrfVT02wrgHMfGnL/C8QCsO9Dc+7WADZ94OTuBFAOcfrAyd0ZoLUPzNw7AdT3gZ97J4CqPtjm3hlgtw+2uXsB+IE4O0csjFLqxWVRlTOsPeAqzpkLAMGB4MA3Z8uMIZKtiBMAAAAASUVORK5CYII=",__vite_glob_0_52=Object.freeze(Object.defineProperty({__proto__:null,default:icon_collapseIcon},Symbol.toStringTag,{value:"Module"})),icon_rest="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAABLCAYAAAAs2+QLAAANQElEQVR4Xu1ceVBTV9s/LhUQkCFsAkE2mbAURLG20RFapGMhhY7UG4HC1AFEq0DLMh0FX6nWHYHWqC0O2IxaWm/6spSxSDcLlqS4MICNLAGRrSUWg1YUqpb7zZNPMkRI7rlJ9PW17/33nvOc3+88z322c5Jp6B/2TPuH8UX/I/ysa1yjhisrK62dnZ0jjYyMSjkczuCzshEaCQcGBopdXFy4x48ff6bMXiOZN998kyorK0Ovv/46Wrdu3dLw8HDJs6Blrdrz8fGhpFIpyszM7EtOTua7uLg8FtICgYAyxGba2NigqKgorZxwzJWys7NDcrkcZyxj3AkJCVRxcTHjeVNNWLBgAWpqatKPcGpqKnX48GG0bNkytGfPnqXLli0zqJafOsJXr14lkpOTyaqqKvTOO+/U5uTk8O3s7OQGUQlC6KkjPE7M2dmZunPnDhocHDSoaT+VhE+ePMk+evQoWVtby/X09EQkSab7+fkVGELLTyVhIFZfX5/G4/HyBwcHkbe3t2ThwoX8zz//vE9f0k8tYSCWlpZGFRQUIDMzM7RhwwbJgQMHljIhvGvXrknhB2L9xYsXmYjRONbe3h4lJydPep+dna36DBl9j76+vkRPTw9569YtZG5ujm7fvs1oPkLIIPFWh93RjXBRURHx6aefkuMa8fHxQWvWrFm6bds23FD130VYJpMR7777LvnNN9+oNnnVqlV9mZmZfEPHZx20qHHKnTt3FpmamjbAAKYmiYyNjcnR0VFiXLqRkRFKTEy8fPjwYT9DgnxcshgRlsvlfmFhYeSlS5c4EwGxWCykUCgYyXpchOjkMgJZUVFB7N+/n6yrq5sk96WXXgJN8xMTE0V0i/4n3zMiDEAh4+ru7p6E+bnnnkPLly+X/Pjjj4xC1ZMmz4gwxNGtW7ciitLqbKfJZDK2h4eH3knJ49gMRoRXrFhB/fDDD1pxvPzyy5CU8KOiohiZ9tmzZ2f6+/ubWVpa3nwcRMdlMi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VqKgofmZm5iV9SGmZC70qpXbhNNDCwkIkl8sZFwpYXloTCDhQy8jIINra2tJu3LiB/Pz8JBcuXGBUROBuzqJFi1S3/2xtbfsaGxtVF8twZWgah6XhiZMlEkkaEL9x4wbX19cXFRYWOllZWeltauNrrF69evnY2Fgs1NLwUBTVXVlZuVtfouPzGROGiSUlJdYxMTHK/wUYGhpytrS0nPybAEMhNLAcnQgbGMMTFfePI/x/LKtcl4SQqH0AAAAASUVORK5CYII=",__vite_glob_0_53=Object.freeze(Object.defineProperty({__proto__:null,default:icon_rest},Symbol.toStringTag,{value:"Module"})),icon_staff=""+new URL("icon_staff-55f546a9.png",module.meta.url).href,__vite_glob_0_54=Object.freeze(Object.defineProperty({__proto__:null,default:icon_staff},Symbol.toStringTag,{value:"Module"})),modules=Object.assign({"./icon_-1.png":__vite_glob_0_0,"./icon_0.png":__vite_glob_0_1,"./icon_1.png":__vite_glob_0_2,"./icon_10.png":__vite_glob_0_3,"./icon_11.png":__vite_glob_0_4,"./icon_12.png":__vite_glob_0_5,"./icon_13.png":__vite_glob_0_6,"./icon_14.png":__vite_glob_0_7,"./icon_15.png":__vite_glob_0_8,"./icon_16.png":__vite_glob_0_9,"./icon_17.png":__vite_glob_0_10,"./icon_18.png":__vite_glob_0_11,"./icon_19.png":__vite_glob_0_12,"./icon_2.png":__vite_glob_0_13,"./icon_20.png":__vite_glob_0_14,"./icon_21.png":__vite_glob_0_15,"./icon_21_1.png":__vite_glob_0_16,"./icon_22.png":__vite_glob_0_17,"./icon_23.png":__vite_glob_0_18,"./icon_24.png":__vite_glob_0_19,"./icon_25.png":__vite_glob_0_20,"./icon_26_0.png":__vite_glob_0_21,"./icon_26_1.png":__vite_glob_0_22,"./icon_26_2.png":__vite_glob_0_23,"./icon_26_3.png":__vite_glob_0_24,"./icon_26_4.png":__vite_glob_0_25,"./icon_26_5.png":__vite_glob_0_26,"./icon_26_6.png":__vite_glob_0_27,"./icon_27_0.png":__vite_glob_0_28,"./icon_27_1.png":__vite_glob_0_29,"./icon_27_2.png":__vite_glob_0_30,"./icon_27_3.png":__vite_glob_0_31,"./icon_27_4.png":__vite_glob_0_32,"./icon_28_1.png":__vite_glob_0_33,"./icon_28_2.png":__vite_glob_0_34,"./icon_28_3.png":__vite_glob_0_35,"./icon_29.png":__vite_glob_0_36,"./icon_29_1.png":__vite_glob_0_37,"./icon_29_2.png":__vite_glob_0_38,"./icon_29_3.png":__vite_glob_0_39,"./icon_29_4.png":__vite_glob_0_40,"./icon_29_5.png":__vite_glob_0_41,"./icon_3.png":__vite_glob_0_42,"./icon_30.png":__vite_glob_0_43,"./icon_4.png":__vite_glob_0_44,"./icon_5.png":__vite_glob_0_45,"./icon_6.png":__vite_glob_0_46,"./icon_7.png":__vite_glob_0_47,"./icon_8.png":__vite_glob_0_48,"./icon_9.png":__vite_glob_0_49,"./icon_arrow.png":__vite_glob_0_50,"./icon_check.png":__vite_glob_0_51,"./icon_collapseIcon.png":__vite_glob_0_52,"./icon_rest.png":__vite_glob_0_53,"./icon_staff.png":__vite_glob_0_54}),getImage=function(e){var t;return(null===(t=modules["./".concat(e)])||void 0===t?void 0:t.default)||""},ALL_NOTES=function(){for(var e=["C","^C","D","^D","E","F","^F","G","^G","A","^A","B"],t=[],r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return 0===e?"":new Array(Math.abs(e)).fill(e>0?"'":",").join("")},n=0;n<=6;n++)for(var o=0;o<12;o++){var a=e[o];n<3?t.push(a+r(n-3)):3===n?t.push(a):4===n?(a=a.toLocaleLowerCase(),t.push(a)):(a=a.toLocaleLowerCase(),t.push(a+r(n-4)))}var i="";return t.forEach((function(e,t){i+=e+(t%4==0?" |":" ")})),i},ALL_Pitches=["C,,,,","D,,,,","E,,,,","F,,,,","G,,,,","A,,,,","B,,,,","C,,,","D,,,","E,,,","F,,,","G,,,","A,,,","B,,,","C,,","D,,","E,,","F,,","G,,","A,,","B,,","C,","D,","E,","F,","G,","A,","B,","C","D","E","F","G","A","B","c","d","e","f","g","a","b","c'","d'","e'","f'","g'","a'","b'","c''","d''","e''","f''","g''","a''","b''","c'''","d'''","e'''","f'''","g'''","a'''","b'''","c''''","d''''","e''''","f''''","g''''","a''''","b''''"],ABC_KEYS={"K:Cb":{"K:C":{up:1,down:-11,move:0},"K:C#":{up:2,down:-10,move:1},"K:Db":{up:2,down:-10,move:0},"K:D":{up:3,down:-9,move:1},"K:Eb":{up:4,down:-8,move:0},"K:E":{up:5,down:-7,move:1},"K:F":{up:6,down:-6,move:0},"K:Gb":{up:7,down:-5,move:1},"K:F#":{up:7,down:-5,move:0},"K:G":{up:8,down:-4,move:1},"K:Ab":{up:9,down:-3,move:0},"K:A":{up:10,down:-2,move:1},"K:Bb":{up:11,down:-1,move:0},"K:B":{up:0,down:0,move:0},"K:Cb":{up:0,down:0,move:0}},"K:C":{"K:C#":{up:1,down:-11,move:0},"K:Db":{up:1,down:-11,move:1},"K:D":{up:2,down:-10,move:0},"K:Eb":{up:3,down:-9,move:1},"K:E":{up:4,down:-8,move:0},"K:F":{up:5,down:-7,move:1},"K:F#":{up:6,down:-6,move:0},"K:Gb":{up:6,down:-6,move:1},"K:G":{up:7,down:-5,move:0},"K:Ab":{up:8,down:-4,move:1},"K:A":{up:9,down:-3,move:0},"K:Bb":{up:10,down:-2,move:1},"K:B":{up:11,down:-1,move:0},"K:Cb":{up:0,down:0,move:0}},"K:C#":{"K:D":{up:1,down:-11,move:0},"K:Eb":{up:2,down:-10,move:1},"K:E":{up:3,down:-9,move:0},"K:F":{up:4,down:-8,move:1},"K:Gb":{up:5,down:-7,move:0},"K:F#":{up:5,down:-7,move:1},"K:G":{up:6,down:-6,move:1},"K:Ab":{up:7,down:-5,move:1},"K:A":{up:8,down:-4,move:0},"K:Bb":{up:9,down:-3,move:1},"K:B":{up:10,down:-2,move:0},"K:Cb":{up:10,down:-2,move:0},"K:C":{up:11,down:-1,move:1},"K:C#":{up:0,down:0,move:0},"K:Db":{up:0,down:0,move:0}},"K:Db":{"K:D":{up:1,down:-11,move:0},"K:Eb":{up:2,down:-10,move:1},"K:E":{up:3,down:-9,move:0},"K:F":{up:4,down:-8,move:1},"K:Gb":{up:5,down:-7,move:0},"K:F#":{up:5,down:-7,move:1},"K:G":{up:6,down:-6,move:0},"K:Ab":{up:7,down:-5,move:1},"K:A":{up:8,down:-4,move:0},"K:Bb":{up:9,down:-3,move:1},"K:B":{up:10,down:-2,move:0},"K:Cb":{up:10,down:-2,move:0},"K:C":{up:11,down:-1,move:1},"K:C#":{up:0,down:0,move:0},"K:Db":{up:0,down:0,move:1}},"K:D":{"K:Eb":{up:1,down:-11,move:0},"K:E":{up:2,down:-10,move:1},"K:F":{up:3,down:-9,move:0},"K:Gb":{up:4,down:-8,move:1},"K:F#":{up:4,down:-8,move:0},"K:G":{up:5,down:-7,move:0},"K:Ab":{up:6,down:-6,move:0},"K:A":{up:7,down:-5,move:1},"K:Bb":{up:8,down:-4,move:0},"K:B":{up:9,down:-3,move:1},"K:Cb":{up:9,down:-3,move:1},"K:C":{up:10,down:-2,move:0},"K:C#":{up:11,down:-1,move:1},"K:Db":{up:11,down:-1,move:0},"K:D":{up:0,down:0,move:0}},"K:Eb":{"K:E":{up:1,down:-11,move:0},"K:F":{up:2,down:-10,move:1},"K:Gb":{up:3,down:-9,move:0},"K:F#":{up:3,down:-9,move:1},"K:G":{up:4,down:-8,move:0},"K:Ab":{up:5,down:-7,move:1},"K:A":{up:6,down:-6,move:0},"K:Bb":{up:7,down:-5,move:1},"K:B":{up:8,down:-4,move:0},"K:Cb":{up:8,down:-4,move:0},"K:C":{up:9,down:-3,move:1},"K:C#":{up:10,down:-2,move:0},"K:Db":{up:10,down:-2,move:1},"K:D":{up:11,down:-1,move:0},"K:Eb":{up:0,down:0,move:0}},"K:E":{"K:F":{up:1,down:-11,move:0},"K:Gb":{up:2,down:-10,move:1},"K:F#":{up:2,down:-10,move:0},"K:G":{up:3,down:-9,move:1},"K:Ab":{up:4,down:-8,move:0},"K:A":{up:5,down:-7,move:1},"K:Bb":{up:6,down:-6,move:0},"K:B":{up:7,down:-5,move:1},"K:Cb":{up:7,down:-5,move:1},"K:C":{up:8,down:-4,move:0},"K:C#":{up:9,down:-3,move:1},"K:Db":{up:9,down:-3,move:0},"K:D":{up:10,down:-2,move:1},"K:Eb":{up:11,down:-1,move:0},"K:E":{up:0,down:0,move:0}},"K:F":{"K:Gb":{up:1,down:-11,move:0},"K:F#":{up:1,down:-11,move:1},"K:G":{up:2,down:-10,move:0},"K:Ab":{up:3,down:-9,move:1},"K:A":{up:4,down:-8,move:0},"K:Bb":{up:5,down:-7,move:1},"K:B":{up:6,down:-6,move:0},"K:Cb":{up:6,down:-6,move:0},"K:C":{up:7,down:-5,move:1},"K:C#":{up:8,down:-4,move:0},"K:Db":{up:8,down:-4,move:1},"K:D":{up:9,down:-3,move:0},"K:Eb":{up:10,down:-2,move:1},"K:E":{up:11,down:-1,move:0},"K:F":{up:0,down:0,move:0}},"K:F#":{"K:G":{up:1,down:-11,move:0},"K:Ab":{up:2,down:-10,move:1},"K:A":{up:3,down:-9,move:0},"K:Bb":{up:4,down:-8,move:1},"K:B":{up:5,down:-7,move:0},"K:Cb":{up:5,down:-7,move:0},"K:C":{up:6,down:-6,move:1},"K:C#":{up:7,down:-5,move:0},"K:Db":{up:7,down:-5,move:1},"K:D":{up:8,down:-4,move:0},"K:Eb":{up:9,down:-3,move:1},"K:E":{up:10,down:-2,move:0},"K:F":{up:11,down:-1,move:1},"K:Gb":{up:0,down:0,move:0},"K:F#":{up:0,down:0,move:0}},"K:Gb":{"K:G":{up:1,down:-11,move:0},"K:Ab":{up:2,down:-10,move:1},"K:A":{up:3,down:-9,move:0},"K:Bb":{up:4,down:-8,move:1},"K:B":{up:5,down:-7,move:0},"K:Cb":{up:5,down:-7,move:0},"K:C":{up:6,down:-6,move:1},"K:C#":{up:7,down:-5,move:0},"K:Db":{up:7,down:-5,move:1},"K:D":{up:8,down:-4,move:0},"K:Eb":{up:9,down:-3,move:1},"K:E":{up:10,down:-2,move:0},"K:F":{up:11,down:-1,move:1},"K:Gb":{up:0,down:0,move:0},"K:F#":{up:0,down:0,move:0}},"K:G":{"K:Ab":{up:1,down:-11,move:0},"K:A":{up:2,down:-10,move:1},"K:Bb":{up:3,down:-9,move:0},"K:B":{up:4,down:-8,move:1},"K:Cb":{up:4,down:-8,move:1},"K:C":{up:5,down:-7,move:0},"K:C#":{up:6,down:-6,move:1},"K:Db":{up:6,down:-6,move:0},"K:D":{up:7,down:-5,move:1},"K:Eb":{up:8,down:-4,move:0},"K:E":{up:9,down:-3,move:1},"K:F":{up:10,down:-2,move:0},"K:Gb":{up:11,down:-1,move:1},"K:F#":{up:11,down:-1,move:0},"K:G":{up:0,down:0,move:0}},"K:Ab":{"K:A":{up:1,down:-11,move:0},"K:Bb":{up:2,down:-10,move:1},"K:B":{up:3,down:-9,move:0},"K:Cb":{up:3,down:-9,move:0},"K:C":{up:4,down:-8,move:1},"K:C#":{up:5,down:-7,move:0},"K:Db":{up:5,down:-7,move:1},"K:D":{up:6,down:-6,move:0},"K:Eb":{up:7,down:-5,move:1},"K:E":{up:8,down:-4,move:0},"K:F":{up:9,down:-3,move:1},"K:Gb":{up:10,down:-2,move:0},"K:F#":{up:10,down:-2,move:1},"K:G":{up:11,down:-1,move:0},"K:Ab":{up:0,down:0,move:0}},"K:A":{"K:Bb":{up:1,down:-11,move:0},"K:B":{up:2,down:-10,move:1},"K:Cb":{up:2,down:-10,move:1},"K:C":{up:3,down:-9,move:0},"K:C#":{up:4,down:-8,move:1},"K:Db":{up:4,down:-8,move:0},"K:D":{up:5,down:-7,move:1},"K:Eb":{up:6,down:-6,move:0},"K:E":{up:7,down:-5,move:1},"K:F":{up:8,down:-4,move:0},"K:Gb":{up:9,down:-3,move:1},"K:F#":{up:9,down:-3,move:0},"K:G":{up:10,down:-2,move:1},"K:Ab":{up:11,down:-1,move:0},"K:A":{up:0,down:0,move:0}},"K:Bb":{"K:B":{up:1,down:-11,move:0},"K:Cb":{up:1,down:-11,move:0},"K:C":{up:2,down:-10,move:1},"K:C#":{up:3,down:-9,move:0},"K:Db":{up:3,down:-9,move:1},"K:D":{up:4,down:-8,move:0},"K:Eb":{up:5,down:-7,move:1},"K:E":{up:6,down:-6,move:0},"K:F":{up:7,down:-5,move:1},"K:Gb":{up:8,down:-4,move:0},"K:F#":{up:8,down:-4,move:1},"K:G":{up:9,down:-3,move:0},"K:Ab":{up:10,down:-2,move:1},"K:A":{up:11,down:-1,move:0},"K:Bb":{up:0,down:0,move:0}},"K:B":{"K:C":{up:1,down:-11,move:0},"K:C#":{up:2,down:-10,move:1},"K:Db":{up:2,down:-10,move:0},"K:D":{up:3,down:-9,move:1},"K:Eb":{up:4,down:-8,move:0},"K:E":{up:5,down:-7,move:1},"K:F":{up:6,down:-6,move:0},"K:Gb":{up:7,down:-5,move:1},"K:F#":{up:7,down:-5,move:0},"K:G":{up:8,down:-4,move:1},"K:Ab":{up:9,down:-3,move:0},"K:A":{up:10,down:-2,move:1},"K:Bb":{up:11,down:-1,move:0},"K:B":{up:0,down:0,move:0},"K:Cb":{up:0,down:0,move:0}}},ABC_DATA={types:[{name:"全音符",value:"4",icon:"icon-quanyinfu"},{name:"2分音符",value:"2",icon:"icon-a-2fenyinfu"},{name:"4分音符",value:"",icon:"icon-a-4fenyinfu"},{name:"8分音符",value:"/",icon:"icon-a-8fenyinfu"},{name:"16分音符",value:"//",icon:"icon-a-16fenyinfu"},{name:"32音符",value:"///",icon:"icon-a-32fenyinfu"}],reset:[{name:"休止符",value:"z",icon:"icon-a-4fenxiuzhifu"}],accidentals:[{name:"重降号",value:"__",icon:getImage("icon_2.png")},{name:"降号",value:"_",icon:getImage("icon_3.png")},{name:"还原号",value:"=",icon:getImage("icon_4.png")},{name:"升号",value:"^",icon:getImage("icon_5.png")},{name:"重升号",value:"^^",icon:getImage("icon_6.png")}],clef:[{name:"低音谱号",value:"K:bass",icon:"icon-puhao-diyinpuhao"},{name:"高音谱号",value:"K:treble",icon:"icon-puhao-gaoyinpuhao"},{name:"次中音谱号",value:"K:tenor",icon:"icon-puhao-cizhongyinpuhao"},{name:"中音谱号",value:"K:alto",icon:"icon-puhao-zhongyinpuhao"},{name:"打击乐谱号",value:"K:perc",icon:"icon-puhao-gupu"}],key:[{name:"C大调",value:"K:C",step:0,icon:"icon-a-diaohao-cdadiaoaxiaodiao1"},{name:"F#大调",value:"K:F#",step:6,icon:"icon-a-diaohao-fdadiaodxiaodiao"},{name:"F大调",value:"K:F",step:5,icon:"icon-a-diaohao-fdadiaodxiaodiao1"},{name:"E大调",value:"K:E",step:4,icon:"icon-a-diaohao-edadiaocxiaodiao"},{name:"Eb大调",value:"K:Eb",step:3,icon:"icon-a-diaohao-ebdadiaocxiaodiao"},{name:"D大调",value:"K:D",step:2,icon:"icon-a-diaohao-Ddaxiaoexiaodiao"},{name:"C#大调",value:"K:C#",step:1,icon:"icon-a-diaohao-cdadiaoaxiaodiao"},{name:"B大调",value:"K:B",step:-1,icon:"icon-a-diaohao-bdadiaogxiaodiao"},{name:"Cb大调",value:"K:Cb",step:-1,icon:"icon-a-diaohao-cbdadiaoabxiaodiao"},{name:"Db大调",value:"K:Db",step:-1,icon:"icon-a-diaohao-dbdadiaobbxiaodiao"},{name:"Bb大调",value:"K:Bb",step:-2,icon:"icon-a-diaohao-bbdadiaogxiaodiao"},{name:"A大调",value:"K:A",step:-3,icon:"icon-a-diaohao-Adadiaofxiaodiao"},{name:"Ab大调",value:"K:Ab",step:-4,icon:"icon-a-diaohao-abdadiaofxiaodiao"},{name:"G大调",value:"K:G",step:-5,icon:"icon-a-diaohao-Gdadiaoexiaodiao"},{name:"Gb大调",value:"K:Gb",step:-6,icon:"icon-a-diaohao-gbdadiaoebxiaodiao"}],meter:[{name:"4/4",value:"M:4/4",icon:"icon-paihao-44"},{name:"2/2",value:"M:2/2",icon:"icon-paihao-22"},{name:"2/4",value:"M:2/4",icon:"icon-paihao-24"},{name:"3/4",value:"M:3/4",icon:"icon-paihao-34"},{name:"3/8",value:"M:3/8",icon:"icon-paihao-38"},{name:"6/8",value:"M:6/8",icon:"icon-paihao-68"},{name:"9/8",value:"M:9/8",icon:"icon-paihao-98"},{name:"12/8",value:"M:12/8",icon:"icon-a-paihao-128"}],play:[{name:"加强音",value:"!marcato!",icon:getImage("icon_9.png")},{name:"重音",value:"!>!",icon:getImage("icon_10.png")},{name:"保持音",value:"!tenuto!",icon:getImage("icon_11.png")},{name:"断音",value:"!wedge!",icon:getImage("icon_12.png")},{name:"花型重复记号",value:"S",icon:"icon-fanfuyutiaoyue-sbiao"},{name:"Coda",value:"O",icon:"icon-fanfuyutiaoyue-weisheng"},{name:"波音",value:"P",icon:"icon-e1"},{name:"逆波音",value:"M",icon:"icon-d1"},{name:"换气符号(逗号)",value:"!breath!",icon:"icon-c1"},{name:"回音",value:"!turn!",icon:"icon-b"},{name:"颤音",value:"T",icon:"icon-a1"},{name:"跳音",value:".",icon:"icon-a-zoufajihao-duanzouhaoshang"},{name:"延迟音记号",value:"!fermata!",icon:"icon-f1"}],bar:[{name:"单小节线",value:"|",icon:"icon-xiaojiexian-danxiaojiexian"},{name:"双小节线",value:"||",icon:"icon-xiaojiexian-shuangxiaojiexian"},{name:"结束线",value:"|]",icon:"icon-xiaojiexian-zhongzhixiaojiexian"},{name:"重复线开始",value:"|:",icon:"icon-a-xiaojiexian-zuoqishifanfuhao"},{name:"重复线结束",value:":|",icon:"icon-a-xiaojiexian-youzhongzhifanfuhao"},{name:"双重复",value:"::",icon:"icon-xiaojiexian-jieshuyuqishifanfubiaozhi"}],tie:[{name:"延音线",value:"-",icon:getImage("icon_7.png")},{name:"连音线",value:["(",")"],icon:getImage("icon_8.png")}],octave:[{name:"高8度开始",value:["!8va(!","!8va)!"]},{name:"低8度",value:["!8vb(!","!8vb)!"]}],dynamics:[{name:"极弱",value:"!ppp!",icon:"icon-lidujihao-ppp"},{name:"很弱",value:"!pp!",icon:"icon-lidujihao-pp"},{name:"弱",value:"!p!",icon:"icon-lidujihao-p"},{name:"中弱",value:"!mp!",icon:"icon-lidujihao-mp"},{name:"中强",value:"!mf!",icon:"icon-lidujihao-mf"},{name:"强",value:"!f!",icon:"icon-lidujihao-f"},{name:"很强",value:"!ff!",icon:"icon-lidujihao-ff"},{name:"极强",value:"!fff!",icon:"icon-lidujihao-fff"},{name:"渐强",value:["!<(!","!<)!"],icon:"icon-lidujihao-jianqianghao"},{name:"渐弱",value:["!>(!","!>)!"],icon:"icon-lidujihao-jianruohao"}],repeat:[{name:"第一跳跃",value:"1",icon:"icon-fanfuyutiaoyue-diyitiaoyuehao"},{name:"第二跳跃",value:"2",icon:"icon-fanfuyutiaoyue-di2kaifangtiaoyuehao"}],speeds:[{name:"60",value:"Q:1/4=60",icon:""},{name:"70",value:"Q:1/4=70",icon:""},{name:"80",value:"Q:1/4=80",icon:""},{name:"90",value:"Q:1/4=90",icon:""},{name:"100",value:"Q:1/4=100",icon:""},{name:"120",value:"Q:1/4=120",icon:""}],slus:[{name:"3连音",value:"(3",icon:""},{name:"4连音",value:"(4",icon:""},{name:"5连音",value:"(5",icon:""},{name:"6连音",value:"(6",icon:""},{name:"7连音",value:"(7",icon:""}]},settings=reactive({cursorType:"note"}),createNote=function(e){return{accidental:e.accidental||"",content:e.content||"",noteType:e.noteType||"",clef:e.clef||"",play:e.play||[],key:e.key||"",speed:e.speed||"",dynamics:e.dynamics||"",dCode:e.dCode||"",tie:e.tie||"",tCode:e.tCode||"",dot:e.dot||"",slus:e.slus||"",tieline:e.tieline||"",segno:e.segno||""}},createMeasure=function(){return{notes:[createNote({content:"z",noteType:"4"})],barline:"|",repeat:"",measureNumber:0,celf:"",key:"",meter:""}},renderMeasures=function(e,t){var r=1,n="X:1\n";null!=t&&t.jianpu&&(n+="%%jianpu 1 \n"),null!=t&&t.showTitle&&e.title&&(n+="T:".concat(e.title,"\n")),null!=t&&t.showCreator&&e.creator&&(n+="C:".concat(e.creator,"\n")),null!=t&&t.hiddenIndex||(n+="%%barnumbers 1\n"),"rhythm"===e.isrhythm?n+="K:perc\n":e.celf&&(n+=e.celf+"\n"),e.meter&&(n+=e.meter+"\n"),e.minUnit&&(n+=e.minUnit+"\n"),e.speed&&(n+=e.speed+"\n"),e.key&&(n+=e.key+" ","rhythm"===e.isrhythm&&(n+="style=x"),n+="\n");for(var o=e.measures,a=0;a<o.length;a++){var i,s,l,c=o[a];n+=null!==(i=c.repeat)&&void 0!==i?i:"",n+=null!==(s=c.meter)&&void 0!==s?s:"";for(var u=0;u<(null===(d=c.notes)||void 0===d?void 0:d.length);u++){var d,p,f,h,v,g,m,b,A,y,x,w,C,k,_,S,B,E,T=c.notes[u],P=null!==(p=null===(f=T.play)||void 0===f?void 0:f.join(""))&&void 0!==p?p:"";if(n+=null!==(h=T.clef)&&void 0!==h?h:"",n+=null!==(v=T.key)&&void 0!==v?v:"",n+=null!==(g=T.speed)&&void 0!==g?g:"",n+=null!==(m=T.slus)&&void 0!==m?m:"",null!==(b=T.tie)&&void 0!==b&&b.includes("("))n+=null!==(_=T.tie)&&void 0!==_?_:"";if(null!=t&&t.hiddenIndex||(n+='"<'.concat(a+"."+u,'"')),n+=null!=P?P:"",n+=null!==(A=T.dynamics)&&void 0!==A?A:"","rhythm"!==e.isrhythm)n+=null!==(S=T.accidental)&&void 0!==S?S:"";if(T.content.includes("z")||"rhythm"!==e.isrhythm)n+=null!==(B=T.content)&&void 0!==B?B:"";else n+="B";if(n+=null!==(y=T.noteType)&&void 0!==y?y:"",n+=null!==(x=T.dot)&&void 0!==x?x:"",n+=null!==(w=T.tieline)&&void 0!==w?w:"",null!==(C=T.tie)&&void 0!==C&&C.includes(")"))n+=null!==(E=T.tie)&&void 0!==E?E:"";n+=null!==(k=T.segno)&&void 0!==k?k:""}n+=null!==(l=c.barline)&&void 0!==l?l:"",r%4==0&&(n+="\n"),r++}return n},getKeyStep=function(e,t,r){var n=ABC_KEYS[t][e];return{step:"down"===r?n.down:"up"===r?n.up:Math.abs(n.up)>Math.abs(n.down)?n.down:n.up,move:n.move}},formateGetData={getNoteType:function(e){var t,r=.25/e,n=(null===(t=[{name:.25,value:"4"},{name:.5,value:"2"},{name:1,value:""},{name:2,value:"/"},{name:4,value:"//"},{name:8,value:"///"}].find((function(e){return e.name===r})))||void 0===t?void 0:t.value)||"";return""===n&&(n={.046875:"1/6",.09375:"1/3",.1875:"2/3",.375:"3/2",.75:"3"}[e]||""),n},getSegno:function(e,t){var r,n=" ";if(t&&e&&(null!=t&&null!==(r=t.abselem)&&void 0!==r&&null!==(r=r.beam)&&void 0!==r&&r.elems&&Array.isArray(t.abselem.beam.elems))){var o=t.abselem.beam.elems.find((function(t){return t.abcelem.startChar===e.startChar}));o&&(n="")}return n}},formateAbc=function(e,t){for(var r,n,o,a,i,s,l=null!=e&&null!==(r=e.metaText)&&void 0!==r&&null!==(r=r.tempo)&&void 0!==r&&r.bpm?e.metaText.tempo.bpm:e.getBpm(),c={celf:"K:treble",minUnit:"L:1/4",meter:"M:4/4",speed:"Q:1/4=".concat(l),key:"K:C",visualTranspose:0,subjectCode:null!==(n=t.subjectCode)&&void 0!==n?n:"acoustic_grand_piano",title:null!==(o=null==e||null===(a=e.metaText)||void 0===a?void 0:a.title)&&void 0!==o?o:"",creator:null!==(i=null==e||null===(s=e.metaText)||void 0===s?void 0:s.composer)&&void 0!==i?i:""},u=[],d=0,p=function(e){var t="";return e.content.includes("_")&&(t="_"),e.content.includes("__")&&(t="__"),e.content.includes("=")&&(t="="),e.content.includes("^")&&(t="^"),e.content.includes("^^")&&(t="^^"),t},f=0;f<e.lines.length;f++){var h=e.lines[f];if(h.staff)for(var v=0;v<h.staff.length;v++){var g,m=h.staff[v];if(0===f)m.clef&&(c.celf="K:".concat(m.clef.type)),m.key&&(c.key="K:".concat(m.key.root).concat(m.key.acc)),null!==(g=m.meter)&&void 0!==g&&null!==(g=g.value)&&void 0!==g&&g[0]&&(c.meter="M:".concat(m.meter.value[0].num,"/").concat(m.meter.value[0].den));if(m.voices)for(var b={notes:[],barline:"|",repeat:"",measureNumber:d,celf:"",key:"",meter:""},A=0;A<m.voices.length;A++)for(var y=m.voices[A],x=0;x<y.length;x++){var w=y[x],C=y[x+1];if("bar"===w.el_type&&(d++,u.push(b),b={notes:[],barline:"|",repeat:"",measureNumber:d,celf:"",key:"",meter:""}),"note"===w.el_type){var k,_,S={clef:"",key:"",speed:"",slus:"",tie:"",content:"",noteType:formateGetData.getNoteType(w.duration),play:[],dynamics:"",accidental:"",dot:"",tieline:"",segno:formateGetData.getSegno(w,C)};if(w.rest)S.content="z";else S.content=null!==(k=null===(_=w.pitches)||void 0===_||null===(_=_[0])||void 0===_?void 0:_.name)&&void 0!==k?k:"";S.accidental=p(S),S.accidental&&(S.content=S.content.replace(S.accidental,""));var B=createNote(S);b.notes.push(B)}}}}return console.log(d,u),_objectSpread(_objectSpread({},c),{},{measures:u})},index="",TheIcon=defineComponent({name:"TheIcon",props:{iconClassName:{type:String,default:""},color:{type:String,default:""},size:{type:Array,default:["1em","1em"]}},setup:function(e){var t="1em",r="1em";return Array.isArray(e.size)?(t=e.size[0],r=e.size[1]):(t=e.size,r=e.size),function(){return createVNode("svg",{style:{width:t,height:r},class:"svg-icon","aria-hidden":"true"},[createVNode("use",{"xlink:href":"#"+e.iconClassName,fill:e.color},null)])}}});function _isSlot$3(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!isVNode(e)}var instruments=[{label:"竖笛",key:"recorder",id:4,icon:getImage("icon_27_0.png"),range:{min:36,max:62}},{label:"排箫",key:"pan_flute",id:1,icon:getImage("icon_27_1.png"),range:{min:31,max:66}},{label:"口风琴",key:"piccolo",id:5,icon:getImage("icon_27_2.png"),range:{min:41,max:72}},{label:"陶笛",key:"blown_bottle",id:2,icon:getImage("icon_27_3.png"),range:{min:33,max:53}},{label:"葫芦丝",key:"clarinet",id:3,icon:getImage("icon_27_4.png"),range:{min:40,max:57}}],notationInstruments=instruments,TheCreate=defineComponent({name:"TheCreate",props:{show:{type:Boolean,default:!1}},emits:["update:show","create"],setup:function(e,t){var r=t.emit,n=useMessage(),o=reactive({loading:!1}),a=reactive({key:ABC_DATA.key[0],meter:ABC_DATA.meter[0],speed:80,measure:30}),i=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(){return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a.speed){e.next=3;break}return n.warning("请输入开始速度"),e.abrupt("return");case 3:if(a.measure){e.next=6;break}return n.warning("请输入小节数量"),e.abrupt("return");case 6:o.loading=!0,s({meter:a.meter.value,speed:"Q:1/4=".concat(a.speed),key:a.key.value,measure:a.measure}),r("create"),o.loading=!1;case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),s=function(e){var t="".concat(location.origin,"/notation/#/?v=").concat(Date.now(),"&config=").concat(encodeUrl(e));window.parent.postMessage({api:"notation_open",url:t},"*")};return function(){return createVNode(NModal,{maskClosable:!1,unstableShowMask:!1,transformOrigin:"center",autoFocus:!1,show:e.show,"onUpdate:show":function(e){return r("update:show",e)}},{default:function(){return[createVNode("div",{class:styles$8.setbox},[createVNode("div",{class:styles$8.head},[createVNode("div",null,[createTextVNode("新建乐谱")]),createVNode(NButton,{class:styles$8.close,quaternary:!0,circle:!0,size:"small",onClick:function(){return r("update:show",!1)}},{default:function(){return[createVNode(NIcon,{component:Close,size:18},null)]}})]),createVNode("div",{class:styles$8.content},[createVNode(NSpace,{style:{paddingBottom:"45px"}},{default:function(){return[createVNode(NPopover,{to:"body",trigger:"click"},{trigger:function(){return createVNode("div",null,[createVNode("div",{class:styles$8.lineTitle},[createTextVNode("调号")]),createVNode("div",{class:styles$8.beatItem},[createVNode("div",{class:[styles$8.beatIcon]},[createVNode(TheIcon,{iconClassName:a.key.icon},null)]),createVNode("div",null,[a.key.name])])])},default:function(){var e;return createVNode(NGrid,{cols:5,xGap:20,yGap:8},_isSlot$3(e=ABC_DATA.key.map((function(e){return createVNode(NGi,null,{default:function(){return[createVNode("div",{class:[styles$8.btnItem,a.key.value===e.value&&styles$8.active],onClick:function(){return a.key=e}},[createVNode("div",{class:[styles$8.btnItemIcon]},[createVNode(TheIcon,{iconClassName:e.icon},null)]),createVNode("div",{class:styles$8.btnItemName},[e.name])])]}})})))?e:{default:function(){return[e]}})}}),createVNode(NPopover,{to:"body",trigger:"click"},{trigger:function(){return createVNode("div",null,[createVNode("div",{class:styles$8.lineTitle},[createTextVNode("拍号")]),createVNode("div",{class:styles$8.beatItem},[createVNode("div",{class:[styles$8.beatIcon]},[createVNode(TheIcon,{iconClassName:a.meter.icon},null)]),createVNode("div",null,[a.meter.name])])])},default:function(){var e;return createVNode(NGrid,{cols:5,xGap:50,yGap:20},_isSlot$3(e=ABC_DATA.meter.map((function(e){return createVNode(NGi,null,{default:function(){return[createVNode("div",{class:[styles$8.btnItem,a.meter.value===e.value&&styles$8.active],onClick:function(){return a.meter=e}},[createVNode("div",{class:[styles$8.btnItemIcon]},[createVNode(TheIcon,{iconClassName:e.icon},null)]),createVNode("div",{class:styles$8.btnItemName},[e.name])])]}})})))?e:{default:function(){return[e]}})}}),createVNode("div",null,[createVNode("div",{class:styles$8.lineTitle},[createTextVNode("速度")]),createVNode("div",{class:styles$8.beatItem},[createVNode(NInputNumber,{size:"large",value:a.speed,"onUpdate:value":function(e){return a.speed=e},placeholder:"开始速度",showButton:!1,min:50},{prefix:function(){return createVNode("div",{class:styles$8.speedIcon},[createVNode(TheIcon,{iconClassName:"icon-a-sudu-4fenyinfu",size:["2em","1em"]},null)])}})])]),createVNode("div",null,[createVNode("div",{class:styles$8.lineTitle},[createTextVNode("小节")]),createVNode("div",{class:styles$8.beatItem},[createVNode(NInputNumber,{placeholder:"小节数量",size:"large",value:a.measure,"onUpdate:value":function(e){return a.measure=e},min:4},null)])])]}}),createVNode("div",{class:styles$8.btns},[createVNode(NButton,{round:!0,onClick:function(){return r("update:show",!1)}},{default:function(){return[createTextVNode("取消")]}}),createVNode(NButton,{loading:o.loading,round:!0,type:"primary",onClick:function(){return i()}},{default:function(){return[createTextVNode("确定")]}})])])])]}})}}}),Keys=defineComponent({name:"Keys",emits:["click"],props:{show:{type:Boolean,default:!1},instrumentCode:{type:String,default:""}},setup:function(e,t){var r=t.emit,n=reactive({keys:[{key:"C",singname:"do",type:"white"},{key:"D",singname:"re",type:"white"},{key:"E",singname:"mi",type:"white"},{key:"F",singname:"fa",type:"white"},{key:"G",singname:"so",type:"white"},{key:"A",singname:"la",type:"white"},{key:"B",singname:"si",type:"white"}],keyDown:"",list:[],range:{min:0,max:83}}),o=["#F07C83","#FF966C","#FBB957","#A7DCBF","#CCCCD6","#A5D2FF","#B0A4F4"],a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new Array(Math.abs(e)).fill(e>0?"'":",").join("")},i=function(e){n.keyDown=e.key.toLocaleUpperCase()},s=function(e){n.keyDown=""};watch((function(){return e.instrumentCode}),(function(){var t,r=null===(t=notationInstruments.find((function(t){return t.key===e.instrumentCode})))||void 0===t?void 0:t.range;n.range=r||{min:0,max:83}}));var l=computed((function(){var e=n.list.map((function(e){return e.filter((function(e){return e.noteIndex>=n.range.min&&e.noteIndex<=n.range.max}))})).filter((function(e){return e.length>0}));return e}));return onMounted((function(){!function(){for(var t,r=0,o=[],i=0;i<7;i++){for(var s=[],l=0;l<n.keys.length;l++){var c=n.keys[l],u=i>3?c.key.toLocaleLowerCase():c.key,d=i>3?[3,4].includes(i)?0:i-4:i-3;s.push({noteIndex:r,index:i,singname:c.singname,key:c.key,name:c.key+(i+1),type:"white",value:u+a(d)}),r++,"E"!==c.key&&"B"!==c.key&&(s.push({noteIndex:r,bekey:"bkey"+l,index:i,key:c.key,singname:c.singname,name:"#"+c.key+(i+1),type:"black",value:u+a(d)+"-^"}),r++)}o.push(s)}n.list=o;var p=null===(t=notationInstruments.find((function(t){return t.key===e.instrumentCode})))||void 0===t?void 0:t.range;p&&(n.range=p)}(),document.addEventListener("keydown",i),document.addEventListener("keyup",s)})),onUnmounted((function(){document.removeEventListener("keydown",i),document.removeEventListener("keyup",s)})),function(){return createVNode("div",{class:[styles$9.piano,e.show&&styles$9.show]},[createVNode("div",{class:styles$9.pianoItemWrap},[l.value.map((function(e,t){return createVNode("div",{class:styles$9.itemWrap,style:{width:"calc(100% / ".concat(l.value.length,")")}},[e.map((function(e){return createVNode(Fragment,null,["white"===e.type?createVNode("div",{style:{display:e.noteIndex<n.range.min||e.noteIndex>n.range.max?"none":""},class:[styles$9.item,3===e.index&&n.keyDown===e.key&&styles$9.keyDown],key:e.index,onClick:function(){console.log(e.value),r("click",{type:"note",value:e.value})}},[createVNode("div",{class:styles$9.keytip},[createVNode("div",{style:{color:"#ff4a00"}},[3===e.index&&"C"===e.key?"中央C":""]),createVNode("div",{class:styles$9.keyname},[e.name]),createVNode("div",{class:styles$9.singname,style:{background:o[e.index]}},[e.singname])])]):createVNode("div",{style:{display:e.noteIndex<n.range.min||e.noteIndex>n.range.max?"none":""},class:[styles$9.bkey,"".concat(e.bekey)],onClick:function(){r("click",{type:"note",value:e.value})}},[createVNode("div",{class:"keytip"},null)])])}))])}))])])}}}),isString=function(e){return"string"==typeof e},isBoolean=function(e){return"boolean"==typeof e},isNumber=function(e){return"number"==typeof e},isArray=function(e){return Array.isArray(e)},isURL=function(e){return!!e&&/^(http)|(\.*\/)/.test(e)},isWindow=function(e){return e===window},toNumber=function(e){return null==e?0:isString(e)?(e=parseFloat(e),e=Number.isNaN(e)?0:e):isBoolean(e)?Number(e):e},removeItem=function(e,t){if(e.length){var r=e.indexOf(t);if(r>-1)return e.splice(r,1)}},inBrowser$1=function(){return"undefined"!=typeof window},getGlobalThis=function(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:self};function error$1(e,t){throw Error("Varlet ["+e+"]: "+t)}function _extends(){return _extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_extends.apply(this,arguments)}function getStyle(e){return window.getComputedStyle(e)}function getRect(e){if(isWindow(e)){var t=e.innerWidth,r=e.innerHeight,n={x:0,y:0,top:0,left:0,right:t,bottom:r,width:t,height:r};return _extends({},n,{toJSON:function(){return n}})}return e.getBoundingClientRect()}function getViewportSize(){var e=getRect(window),t=e.width,r=e.height;return{vw:t,vh:r,vMin:Math.min(t,r),vMax:Math.max(t,r)}}var isRem=function(e){return isString(e)&&e.endsWith("rem")},isEm=function(e){return isString(e)&&e.endsWith("em")&&!e.endsWith("rem")},isPx=function(e){return isString(e)&&e.endsWith("px")||isNumber(e)},isPercent=function(e){return isString(e)&&e.endsWith("%")},isVw=function(e){return isString(e)&&e.endsWith("vw")},isVh=function(e){return isString(e)&&e.endsWith("vh")},isVMin=function(e){return isString(e)&&e.endsWith("vmin")},isVMax=function(e){return isString(e)&&e.endsWith("vmax")},isCalc=function(e){return isString(e)&&e.startsWith("calc(")},isVar=function(e){return isString(e)&&e.startsWith("var(")},toPxNum=function(e){if(isNumber(e))return e;if(isPx(e))return+e.replace("px","");if(!inBrowser$1())return 0;var t=getViewportSize(),r=t.vw,n=t.vh,o=t.vMin,a=t.vMax;if(isVw(e))return+e.replace("vw","")*r/100;if(isVh(e))return+e.replace("vh","")*n/100;if(isVMin(e))return+e.replace("vmin","")*o/100;if(isVMax(e))return+e.replace("vmax","")*a/100;if(isRem(e)){var i=+e.replace("rem",""),s=getStyle(document.documentElement).fontSize;return i*parseFloat(s)}return isString(e)?toNumber(e):0},toSizeUnit=function(e){if(null!=e)return isPercent(e)||isVw(e)||isVh(e)||isEm(e)||isRem(e)||isCalc(e)||isVar(e)||isVMin(e)||isVMax(e)?e:toPxNum(e)+"px"};function requestAnimationFrame$2(e){var t=getGlobalThis();return t.requestAnimationFrame?t.requestAnimationFrame(e):t.setTimeout(e,16)}function nextTickFrame(e){requestAnimationFrame$2((function(){requestAnimationFrame$2(e)}))}var __rest=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};function keyInProvides(e){return e in getCurrentInstance().provides}function useParent(e){if(!keyInProvides(e))return{index:null,parentProvider:null,bindParent:null};var t=inject(e),r=t.childInstances,n=t.collect,o=t.clear,a=__rest(t,["childInstances","collect","clear"]),i=getCurrentInstance();return{index:computed((function(){return r.indexOf(i)})),parentProvider:a,bindParent:function(e){onMounted((function(){nextTick().then((function(){n(i,e)}))})),onBeforeUnmount((function(){nextTick().then((function(){o(i,e)}))}))}}}function flatVNodes(e){var t=[];return function e(r){(null==r?void 0:r.component)?e(null==r?void 0:r.component.subTree):Array.isArray(null==r?void 0:r.children)&&r.children.forEach((function(r){isVNode(r)&&(t.push(r),e(r))}))}(e),t}function useChildren(e){var t=getCurrentInstance(),r=reactive([]),n=[],o=computed((function(){return r.length})),a=function(e,o){var a;r.push(e),n.push(o),a=flatVNodes(t.subTree),r.sort((function(e,t){return a.indexOf(e.vnode)-a.indexOf(t.vnode)}))},i=function(e,t){removeItem(r,e),removeItem(n,t)};return{length:o,childProviders:n,bindChildren:function(t){provide(e,Object.assign({childInstances:r,collect:a,clear:i},t))}}}function withInstall(e,t){var r=null!=t?t:e;return r.install=function(t){var r=e.name;r&&t.component(r,e)},r}function createNamespace(e){var t="var-"+e;return{n:function(e){return e?"$"===e[0]?e.replace("$","var"):e.startsWith("--")?""+t+e:t+"__"+e:t},classes:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.map((function(e){if(isArray(e)){var t=_slicedToArray(e,3),r=t[0],n=t[1],o=t[2];return r?n:void 0===o?null:o}return e}))}}}function call(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return isArray(e)?e.map((function(e){return e.apply(void 0,r)})):e?e.apply(void 0,r):void 0}function defineListenerProp(e){return{type:[Function,Array],default:e}}function formatElevation(e,t){return!1===e?null:(!0===e&&t&&(e=t),"var-elevation--"+e)}var props$2={name:{type:String},size:{type:[Number,String]},color:{type:String},namespace:{type:String,default:"var-icon"},transition:{type:[Number,String],default:0},animationClass:{type:String},onClick:defineListenerProp()};function asyncGeneratorStep(e,t,r,n,o,a,i){try{var s=e[a](i),l=s.value}catch(error){return void r(error)}s.done?t(l):Promise.resolve(l).then(n,o)}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){asyncGeneratorStep(a,n,o,i,s,"next",e)}function s(e){asyncGeneratorStep(a,n,o,i,s,"throw",e)}i(void 0)}))}}var _createNamespace=createNamespace("icon"),n$3=_createNamespace.n,classes$1=_createNamespace.classes;function __render__$2(e,t){return openBlock(),createBlock(resolveDynamicComponent(e.isURL(e.name)?"img":"i"),{class:normalizeClass(e.classes(e.n(),[e.namespace!==e.n(),e.namespace],e.namespace+"--set",[e.isURL(e.name),e.n("image"),e.namespace+"-"+e.nextName],[e.animateInProgress,null==e.animationClass?e.n("--shrinking"):e.animationClass])),style:normalizeStyle({color:e.color,"transition-duration":e.toNumber(e.transition)+"ms",width:e.isURL(e.name)?e.toSizeUnit(e.size):null,height:e.isURL(e.name)?e.toSizeUnit(e.size):null,fontSize:e.toSizeUnit(e.size)}),src:e.isURL(e.name)?e.nextName:null,onClick:e.onClick},null,8,["class","style","src","onClick"])}var __sfc__$2=defineComponent({name:"VarIcon",props:props$2,setup:function(e){var t=ref(""),r=ref(!1),n=function(){var n=_asyncToGenerator(_regeneratorRuntime().mark((function n(o,a){var i;return _regeneratorRuntime().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(i=e.transition,null!=a&&0!==toNumber(i)){n.next=4;break}return t.value=o,n.abrupt("return");case 4:return r.value=!0,n.next=7,nextTick();case 7:setTimeout((function(){null!=a&&(t.value=o),r.value=!1}),toNumber(i));case 8:case"end":return n.stop()}}),n)})));return function(e,t){return n.apply(this,arguments)}}();return watch((function(){return e.name}),n,{immediate:!0}),{n:n$3,classes:classes$1,nextName:t,animateInProgress:r,isURL:isURL,toNumber:toNumber,toSizeUnit:toSizeUnit}}});__sfc__$2.render=__render__$2;var Icon=__sfc__$2;withInstall(Icon);var COLLAPSE_BIND_COLLAPSE_ITEM_KEY=Symbol("COLLAPSE_BIND_COLLAPSE_ITEM_KEY");function useCollapseItem(){var e=useChildren(COLLAPSE_BIND_COLLAPSE_ITEM_KEY),t=e.childProviders;return{length:e.length,collapseItem:t,bindCollapseItem:e.bindChildren}}var props$1={modelValue:{type:[Array,String,Number]},accordion:{type:Boolean,default:!1},offset:{type:Boolean,default:!0},divider:{type:Boolean,default:!0},elevation:{type:[Boolean,String,Number],default:!0},onChange:defineListenerProp(),"onUpdate:modelValue":defineListenerProp()},_createNamespace2=createNamespace("collapse"),n$2=_createNamespace2.n;function __render__$1(e,t){return openBlock(),createElementBlock("div",{class:normalizeClass(e.n())},[renderSlot(e.$slots,"default")],2)}var __sfc__$1=defineComponent({name:"VarCollapse",props:props$1,setup:function(e){var t=useCollapseItem(),r=t.length,n=t.collapseItem,o=t.bindCollapseItem,a=computed((function(){return e.modelValue})),i=computed((function(){return e.offset})),s=computed((function(){return e.divider})),l=computed((function(){return e.elevation})),c=function(){return e.accordion||isArray(e.modelValue)?!e.accordion||!isArray(e.modelValue)||(console.error('[Varlet] Collapse: type of prop "modelValue" should be a String or Number'),!1):(console.error('[Varlet] Collapse: type of prop "modelValue" should be an Array'),!1)},u=function(){if(c()){var t=function(){if(e.accordion)return n.find((function(t){var r=t.name;return e.modelValue===r.value}));var t=n.filter((function(t){var r=t.name;return void 0!==r.value&&e.modelValue.includes(r.value)}));return t.length?t:void 0}()||(e.accordion?n.find((function(t){var r=t.index;return void 0===t.name.value&&e.modelValue===r.value})):n.filter((function(t){var r=t.index;return void 0===t.name.value&&e.modelValue.includes(r.value)})));e.accordion&&!t||!e.accordion&&!t.length?n.forEach((function(t){t.init(e.accordion,!1)})):n.forEach((function(r){var n=e.accordion?t===r:t.includes(r);r.init(e.accordion,n)}))}},d={active:a,offset:i,divider:s,elevation:l,updateItem:function(t,r){var n=function(t,r){return c()?r?e.accordion?t:[].concat(_toConsumableArray2(e.modelValue),[t]):e.accordion?null:e.modelValue.filter((function(e){return e!==t})):null}(t,r);call(e["onUpdate:modelValue"],n),call(e.onChange,n)}};return o(d),watch((function(){return r.value}),(function(){return nextTick().then(u)})),watch((function(){return e.modelValue}),(function(){return nextTick().then(u)})),{n:n$2,divider:s}}});__sfc__$1.render=__render__$1;var Collapse=__sfc__$1;function useCollapse(){var e=useParent(COLLAPSE_BIND_COLLAPSE_ITEM_KEY),t=e.parentProvider,r=e.index,n=e.bindParent;return n||error$1("Collapse","<var-collapse-item/> must in <var-collapse>"),{index:r,collapse:t,bindCollapse:n}}withInstall(Collapse);var props={name:{type:[String,Number]},title:{type:String},icon:{type:String,default:"chevron-down"},disabled:{type:Boolean,default:!1}},_createNamespace3=createNamespace("collapse-item"),n$1=_createNamespace3.n,classes=_createNamespace3.classes;function __render__(e,t){var r=resolveComponent("var-icon");return openBlock(),createElementBlock("div",{class:normalizeClass(e.classes(e.n(),[e.offset&&e.isShow,e.n("--active")],[e.disabled,e.n("--disable")])),style:normalizeStyle("--collapse-divider-top: "+(e.divider?"var(--collapse-border-top)":"none"))},[createBaseVNode("div",{class:normalizeClass(e.classes(e.n("shadow"),e.formatElevation(e.elevation,2)))},null,2),createBaseVNode("div",{class:normalizeClass(e.n("header")),onClick:t[0]||(t[0]=function(t){return e.toggle()})},[createBaseVNode("div",{class:normalizeClass(e.n("header-title"))},[renderSlot(e.$slots,"title",{},(function(){return[createTextVNode(toDisplayString(e.title),1)]}))],2),createBaseVNode("div",{class:normalizeClass(e.n("header-icon"))},[renderSlot(e.$slots,"icon",{},(function(){return[createVNode(r,{name:e.icon,transition:250,class:normalizeClass(e.classes(e.n("header-icon"),[e.isShow&&"chevron-down"===e.icon,e.n("header-open")],[e.disabled,e.n("header--disable")]))},null,8,["name","class"])]}))],2)],2),withDirectives(createBaseVNode("div",{class:normalizeClass(e.n("content")),ref:"contentEl",onTransitionend:t[1]||(t[1]=function(){return e.transitionend&&e.transitionend.apply(e,arguments)}),onTransitionstart:t[2]||(t[2]=function(){return e.start&&e.start.apply(e,arguments)})},[createBaseVNode("div",{class:normalizeClass(e.n("content-wrap"))},[renderSlot(e.$slots,"default")],2)],34),[[vShow,e.showContent]])],6)}var __sfc__=defineComponent({name:"VarCollapseItem",components:{VarIcon:Icon},props:props,setup:function(e){var t=useCollapse(),r=t.index,n=t.collapse,o=t.bindCollapse,a=!0,i=ref(null),s=ref(!1),l=ref(!1),c=n.active,u=n.offset,d=n.divider,p=n.elevation,f=n.updateItem,h=computed((function(){return e.name})),v=function(t){e.disabled||t||f(e.name||r.value,!l.value)},g=function(){l.value||(s.value=!1),i.value.style.height=""},m={index:r,name:h,init:function(e,t){void 0===c.value||e&&isArray(c.value)||t===l.value||(l.value=t,v(!0))}};return o(m),watch(l,(function(e){e?i.value&&(i.value.style.height="",s.value=!0,requestAnimationFrame$2((function(){var e=i.value.offsetHeight;i.value.style.height="0px",requestAnimationFrame$2((function(){i.value.style.height=e+"px",a&&nextTickFrame((function(){a&&g()}))}))}))):function(){if(i.value){var e=i.value.offsetHeight;i.value.style.height=e+"px",requestAnimationFrame$2((function(){i.value.style.height="0px"}))}}()})),{n:n$1,start:function(){a=!1},classes:classes,showContent:s,isShow:l,offset:u,divider:d,elevation:p,toggle:v,contentEl:i,transitionend:g,formatElevation:formatElevation}}});__sfc__.render=__render__;var CollapseItem=__sfc__;withInstall(CollapseItem);var lodash={exports:{}};
  26. /**
  27. * @license
  28. * Lodash <https://lodash.com/>
  29. * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
  30. * Released under MIT license <https://lodash.com/license>
  31. * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
  32. * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
  33. */lodash.exports,function(t,r){(function(){var n,o="Expected a function",a="__lodash_hash_undefined__",i="__lodash_placeholder__",s=16,l=32,c=64,u=128,d=256,p=1/0,f=9007199254740991,h=NaN,v=4294967295,g=[["ary",u],["bind",1],["bindKey",2],["curry",8],["curryRight",s],["flip",512],["partial",l],["partialRight",c],["rearg",d]],m="[object Arguments]",b="[object Array]",A="[object Boolean]",y="[object Date]",x="[object Error]",w="[object Function]",C="[object GeneratorFunction]",k="[object Map]",_="[object Number]",S="[object Object]",B="[object Promise]",E="[object RegExp]",T="[object Set]",P="[object String]",I="[object Symbol]",N="[object WeakMap]",z="[object ArrayBuffer]",M="[object DataView]",R="[object Float32Array]",D="[object Float64Array]",O="[object Int8Array]",F="[object Int16Array]",L="[object Int32Array]",j="[object Uint8Array]",V="[object Uint8ClampedArray]",$="[object Uint16Array]",H="[object Uint32Array]",U=/\b__p \+= '';/g,Q=/\b(__p \+=) '' \+/g,G=/(__e\(.*?\)|\b__t\)) \+\n'';/g,K=/&(?:amp|lt|gt|quot|#39);/g,q=/[&<>"']/g,W=RegExp(K.source),Y=RegExp(q.source),X=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,Z=/<%=([\s\S]+?)%>/g,ee=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,te=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ne=/[\\^$.*+?()[\]{}|]/g,oe=RegExp(ne.source),ae=/^\s+/,ie=/\s/,se=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,le=/\{\n\/\* \[wrapped with (.+)\] \*/,ce=/,? & /,ue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,pe=/\\(\\)?/g,fe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,he=/\w*$/,ve=/^[-+]0x[0-9a-f]+$/i,ge=/^0b[01]+$/i,me=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,Ae=/^(?:0|[1-9]\d*)$/,ye=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xe=/($^)/,we=/['\n\r\u2028\u2029\\]/g,Ce="\\ud800-\\udfff",ke="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",_e="\\u2700-\\u27bf",Se="a-z\\xdf-\\xf6\\xf8-\\xff",Be="A-Z\\xc0-\\xd6\\xd8-\\xde",Ee="\\ufe0e\\ufe0f",Te="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Pe="['’]",Ie="["+Ce+"]",Ne="["+Te+"]",ze="["+ke+"]",Me="\\d+",Re="["+_e+"]",De="["+Se+"]",Oe="[^"+Ce+Te+Me+_e+Se+Be+"]",Fe="\\ud83c[\\udffb-\\udfff]",Le="[^"+Ce+"]",je="(?:\\ud83c[\\udde6-\\uddff]){2}",Ve="[\\ud800-\\udbff][\\udc00-\\udfff]",$e="["+Be+"]",He="\\u200d",Ue="(?:"+De+"|"+Oe+")",Qe="(?:"+$e+"|"+Oe+")",Ge="(?:['’](?:d|ll|m|re|s|t|ve))?",Ke="(?:['’](?:D|LL|M|RE|S|T|VE))?",qe="(?:"+ze+"|"+Fe+")"+"?",We="["+Ee+"]?",Ye=We+qe+("(?:"+He+"(?:"+[Le,je,Ve].join("|")+")"+We+qe+")*"),Xe="(?:"+[Re,je,Ve].join("|")+")"+Ye,Je="(?:"+[Le+ze+"?",ze,je,Ve,Ie].join("|")+")",Ze=RegExp(Pe,"g"),et=RegExp(ze,"g"),tt=RegExp(Fe+"(?="+Fe+")|"+Je+Ye,"g"),rt=RegExp([$e+"?"+De+"+"+Ge+"(?="+[Ne,$e,"$"].join("|")+")",Qe+"+"+Ke+"(?="+[Ne,$e+Ue,"$"].join("|")+")",$e+"?"+Ue+"+"+Ge,$e+"+"+Ke,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Me,Xe].join("|"),"g"),nt=RegExp("["+He+Ce+ke+Ee+"]"),ot=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,at=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],it=-1,st={};st[R]=st[D]=st[O]=st[F]=st[L]=st[j]=st[V]=st[$]=st[H]=!0,st[m]=st[b]=st[z]=st[A]=st[M]=st[y]=st[x]=st[w]=st[k]=st[_]=st[S]=st[E]=st[T]=st[P]=st[N]=!1;var lt={};lt[m]=lt[b]=lt[z]=lt[M]=lt[A]=lt[y]=lt[R]=lt[D]=lt[O]=lt[F]=lt[L]=lt[k]=lt[_]=lt[S]=lt[E]=lt[T]=lt[P]=lt[I]=lt[j]=lt[V]=lt[$]=lt[H]=!0,lt[x]=lt[w]=lt[N]=!1;var ct={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ut=parseFloat,dt=parseInt,pt="object"==_typeof2(commonjsGlobal)&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,ft="object"==("undefined"==typeof self?"undefined":_typeof2(self))&&self&&self.Object===Object&&self,ht=pt||ft||Function("return this")(),vt=r&&!r.nodeType&&r,gt=vt&&t&&!t.nodeType&&t,mt=gt&&gt.exports===vt,bt=mt&&pt.process,At=function(){try{var t=gt&&gt.require&&gt.require("util").types;return t||bt&&bt.binding&&bt.binding("util")}catch(e){}}(),yt=At&&At.isArrayBuffer,xt=At&&At.isDate,wt=At&&At.isMap,Ct=At&&At.isRegExp,kt=At&&At.isSet,_t=At&&At.isTypedArray;function St(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function Bt(e,t,r,n){for(var o=-1,a=null==e?0:e.length;++o<a;){var i=e[o];t(n,i,r(i),e)}return n}function Et(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}function Tt(e,t){for(var r=null==e?0:e.length;r--&&!1!==t(e[r],r,e););return e}function Pt(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(!t(e[r],r,e))return!1;return!0}function It(e,t){for(var r=-1,n=null==e?0:e.length,o=0,a=[];++r<n;){var i=e[r];t(i,r,e)&&(a[o++]=i)}return a}function Nt(e,t){return!!(null==e?0:e.length)&&$t(e,t,0)>-1}function zt(e,t,r){for(var n=-1,o=null==e?0:e.length;++n<o;)if(r(t,e[n]))return!0;return!1}function Mt(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}function Rt(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}function Dt(e,t,r,n){var o=-1,a=null==e?0:e.length;for(n&&a&&(r=e[++o]);++o<a;)r=t(r,e[o],o,e);return r}function Ot(e,t,r,n){var o=null==e?0:e.length;for(n&&o&&(r=e[--o]);o--;)r=t(r,e[o],o,e);return r}function Ft(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}var Lt=Gt("length");function jt(e,t,r){var n;return r(e,(function(e,r,o){if(t(e,r,o))return n=r,!1})),n}function Vt(e,t,r,n){for(var o=e.length,a=r+(n?1:-1);n?a--:++a<o;)if(t(e[a],a,e))return a;return-1}function $t(e,t,r){return t==t?function(e,t,r){var n=r-1,o=e.length;for(;++n<o;)if(e[n]===t)return n;return-1}(e,t,r):Vt(e,Ut,r)}function Ht(e,t,r,n){for(var o=r-1,a=e.length;++o<a;)if(n(e[o],t))return o;return-1}function Ut(e){return e!=e}function Qt(e,t){var r=null==e?0:e.length;return r?Wt(e,t)/r:h}function Gt(e){return function(t){return null==t?n:t[e]}}function Kt(e){return function(t){return null==e?n:e[t]}}function qt(e,t,r,n,o){return o(e,(function(e,o,a){r=n?(n=!1,e):t(r,e,o,a)})),r}function Wt(e,t){for(var r,o=-1,a=e.length;++o<a;){var i=t(e[o]);i!==n&&(r=r===n?i:r+i)}return r}function Yt(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}function Xt(e){return e?e.slice(0,hr(e)+1).replace(ae,""):e}function Jt(e){return function(t){return e(t)}}function Zt(e,t){return Mt(t,(function(t){return e[t]}))}function er(e,t){return e.has(t)}function tr(e,t){for(var r=-1,n=e.length;++r<n&&$t(t,e[r],0)>-1;);return r}function rr(e,t){for(var r=e.length;r--&&$t(t,e[r],0)>-1;);return r}var nr=Kt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),or=Kt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function ar(e){return"\\"+ct[e]}function ir(e){return nt.test(e)}function sr(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}function lr(e,t){return function(r){return e(t(r))}}function cr(e,t){for(var r=-1,n=e.length,o=0,a=[];++r<n;){var s=e[r];s!==t&&s!==i||(e[r]=i,a[o++]=r)}return a}function ur(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}function dr(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=[e,e]})),r}function pr(e){return ir(e)?function(e){var t=tt.lastIndex=0;for(;tt.test(e);)++t;return t}(e):Lt(e)}function fr(e){return ir(e)?function(e){return e.match(tt)||[]}(e):function(e){return e.split("")}(e)}function hr(e){for(var t=e.length;t--&&ie.test(e.charAt(t)););return t}var vr=Kt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var gr=function t(r){var ie=(r=null==r?ht:gr.defaults(ht.Object(),r,gr.pick(ht,at))).Array,Ce=r.Date,ke=r.Error,_e=r.Function,Se=r.Math,Be=r.Object,Ee=r.RegExp,Te=r.String,Pe=r.TypeError,Ie=ie.prototype,Ne=_e.prototype,ze=Be.prototype,Me=r["__core-js_shared__"],Re=Ne.toString,De=ze.hasOwnProperty,Oe=0,Fe=function(){var e=/[^.]+$/.exec(Me&&Me.keys&&Me.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Le=ze.toString,je=Re.call(Be),Ve=ht._,$e=Ee("^"+Re.call(De).replace(ne,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),He=mt?r.Buffer:n,Ue=r.Symbol,Qe=r.Uint8Array,Ge=He?He.allocUnsafe:n,Ke=lr(Be.getPrototypeOf,Be),qe=Be.create,We=ze.propertyIsEnumerable,Ye=Ie.splice,Xe=Ue?Ue.isConcatSpreadable:n,Je=Ue?Ue.iterator:n,tt=Ue?Ue.toStringTag:n,nt=function(){try{var t=fa(Be,"defineProperty");return t({},"",{}),t}catch(e){}}(),ct=r.clearTimeout!==ht.clearTimeout&&r.clearTimeout,pt=Ce&&Ce.now!==ht.Date.now&&Ce.now,ft=r.setTimeout!==ht.setTimeout&&r.setTimeout,vt=Se.ceil,gt=Se.floor,bt=Be.getOwnPropertySymbols,At=He?He.isBuffer:n,Lt=r.isFinite,Kt=Ie.join,mr=lr(Be.keys,Be),br=Se.max,Ar=Se.min,yr=Ce.now,xr=r.parseInt,wr=Se.random,Cr=Ie.reverse,kr=fa(r,"DataView"),_r=fa(r,"Map"),Sr=fa(r,"Promise"),Br=fa(r,"Set"),Er=fa(r,"WeakMap"),Tr=fa(Be,"create"),Pr=Er&&new Er,Ir={},Nr=La(kr),zr=La(_r),Mr=La(Sr),Rr=La(Br),Dr=La(Er),Or=Ue?Ue.prototype:n,Fr=Or?Or.valueOf:n,Lr=Or?Or.toString:n;function jr(e){if(rs(e)&&!Qi(e)&&!(e instanceof Ur)){if(e instanceof Hr)return e;if(De.call(e,"__wrapped__"))return ja(e)}return new Hr(e)}var Vr=function(){function e(){}return function(t){if(!ts(t))return{};if(qe)return qe(t);e.prototype=t;var r=new e;return e.prototype=n,r}}();function $r(){}function Hr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}function Ur(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=v,this.__views__=[]}function Qr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Gr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Kr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function qr(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new Kr;++t<r;)this.add(e[t])}function Wr(e){var t=this.__data__=new Gr(e);this.size=t.size}function Yr(e,t){var r=Qi(e),n=!r&&Ui(e),o=!r&&!n&&Wi(e),a=!r&&!n&&!o&&us(e),i=r||n||o||a,s=i?Yt(e.length,Te):[],l=s.length;for(var c in e)!t&&!De.call(e,c)||i&&("length"==c||o&&("offset"==c||"parent"==c)||a&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||ya(c,l))||s.push(c);return s}function Xr(e){var t=e.length;return t?e[Wn(0,t-1)]:n}function Jr(e,t){return Da(Io(e),ln(t,0,e.length))}function Zr(e){return Da(Io(e))}function en(e,t,r){(r!==n&&!Vi(e[t],r)||r===n&&!(t in e))&&an(e,t,r)}function tn(e,t,r){var o=e[t];De.call(e,t)&&Vi(o,r)&&(r!==n||t in e)||an(e,t,r)}function rn(e,t){for(var r=e.length;r--;)if(Vi(e[r][0],t))return r;return-1}function nn(e,t,r,n){return fn(e,(function(e,o,a){t(n,e,r(e),a)})),n}function on(e,t){return e&&No(t,Ns(t),e)}function an(e,t,r){"__proto__"==t&&nt?nt(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function sn(e,t){for(var r=-1,o=t.length,a=ie(o),i=null==e;++r<o;)a[r]=i?n:Bs(e,t[r]);return a}function ln(e,t,r){return e==e&&(r!==n&&(e=e<=r?e:r),t!==n&&(e=e>=t?e:t)),e}function cn(e,t,r,o,a,i){var s,l=1&t,c=2&t,u=4&t;if(r&&(s=a?r(e,o,a,i):r(e)),s!==n)return s;if(!ts(e))return e;var d=Qi(e);if(d){if(s=function(e){var t=e.length,r=new e.constructor(t);t&&"string"==typeof e[0]&&De.call(e,"index")&&(r.index=e.index,r.input=e.input);return r}(e),!l)return Io(e,s)}else{var p=ga(e),f=p==w||p==C;if(Wi(e))return _o(e,l);if(p==S||p==m||f&&!a){if(s=c||f?{}:ba(e),!l)return c?function(e,t){return No(e,va(e),t)}(e,function(e,t){return e&&No(t,zs(t),e)}(s,e)):function(e,t){return No(e,ha(e),t)}(e,on(s,e))}else{if(!lt[p])return a?e:{};s=function(e,t,r){var n=e.constructor;switch(t){case z:return So(e);case A:case y:return new n(+e);case M:return function(e,t){var r=t?So(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e,r);case R:case D:case O:case F:case L:case j:case V:case $:case H:return Bo(e,r);case k:return new n;case _:case P:return new n(e);case E:return function(e){var t=new e.constructor(e.source,he.exec(e));return t.lastIndex=e.lastIndex,t}(e);case T:return new n;case I:return o=e,Fr?Be(Fr.call(o)):{}}var o}(e,p,l)}}i||(i=new Wr);var h=i.get(e);if(h)return h;i.set(e,s),ss(e)?e.forEach((function(n){s.add(cn(n,t,r,n,e,i))})):ns(e)&&e.forEach((function(n,o){s.set(o,cn(n,t,r,o,e,i))}));var v=d?n:(u?c?ia:aa:c?zs:Ns)(e);return Et(v||e,(function(n,o){v&&(n=e[o=n]),tn(s,o,cn(n,t,r,o,e,i))})),s}function un(e,t,r){var o=r.length;if(null==e)return!o;for(e=Be(e);o--;){var a=r[o],i=t[a],s=e[a];if(s===n&&!(a in e)||!i(s))return!1}return!0}function dn(e,t,r){if("function"!=typeof e)throw new Pe(o);return Na((function(){e.apply(n,r)}),t)}function pn(e,t,r,n){var o=-1,a=Nt,i=!0,s=e.length,l=[],c=t.length;if(!s)return l;r&&(t=Mt(t,Jt(r))),n?(a=zt,i=!1):t.length>=200&&(a=er,i=!1,t=new qr(t));e:for(;++o<s;){var u=e[o],d=null==r?u:r(u);if(u=n||0!==u?u:0,i&&d==d){for(var p=c;p--;)if(t[p]===d)continue e;l.push(u)}else a(t,d,n)||l.push(u)}return l}jr.templateSettings={escape:X,evaluate:J,interpolate:Z,variable:"",imports:{_:jr}},jr.prototype=$r.prototype,jr.prototype.constructor=jr,Hr.prototype=Vr($r.prototype),Hr.prototype.constructor=Hr,Ur.prototype=Vr($r.prototype),Ur.prototype.constructor=Ur,Qr.prototype.clear=function(){this.__data__=Tr?Tr(null):{},this.size=0},Qr.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Qr.prototype.get=function(e){var t=this.__data__;if(Tr){var r=t[e];return r===a?n:r}return De.call(t,e)?t[e]:n},Qr.prototype.has=function(e){var t=this.__data__;return Tr?t[e]!==n:De.call(t,e)},Qr.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Tr&&t===n?a:t,this},Gr.prototype.clear=function(){this.__data__=[],this.size=0},Gr.prototype.delete=function(e){var t=this.__data__,r=rn(t,e);return!(r<0)&&(r==t.length-1?t.pop():Ye.call(t,r,1),--this.size,!0)},Gr.prototype.get=function(e){var t=this.__data__,r=rn(t,e);return r<0?n:t[r][1]},Gr.prototype.has=function(e){return rn(this.__data__,e)>-1},Gr.prototype.set=function(e,t){var r=this.__data__,n=rn(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},Kr.prototype.clear=function(){this.size=0,this.__data__={hash:new Qr,map:new(_r||Gr),string:new Qr}},Kr.prototype.delete=function(e){var t=da(this,e).delete(e);return this.size-=t?1:0,t},Kr.prototype.get=function(e){return da(this,e).get(e)},Kr.prototype.has=function(e){return da(this,e).has(e)},Kr.prototype.set=function(e,t){var r=da(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},qr.prototype.add=qr.prototype.push=function(e){return this.__data__.set(e,a),this},qr.prototype.has=function(e){return this.__data__.has(e)},Wr.prototype.clear=function(){this.__data__=new Gr,this.size=0},Wr.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Wr.prototype.get=function(e){return this.__data__.get(e)},Wr.prototype.has=function(e){return this.__data__.has(e)},Wr.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Gr){var n=r.__data__;if(!_r||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Kr(n)}return r.set(e,t),this.size=r.size,this};var fn=Ro(xn),hn=Ro(wn,!0);function vn(e,t){var r=!0;return fn(e,(function(e,n,o){return r=!!t(e,n,o)})),r}function gn(e,t,r){for(var o=-1,a=e.length;++o<a;){var i=e[o],s=t(i);if(null!=s&&(l===n?s==s&&!cs(s):r(s,l)))var l=s,c=i}return c}function mn(e,t){var r=[];return fn(e,(function(e,n,o){t(e,n,o)&&r.push(e)})),r}function bn(e,t,r,n,o){var a=-1,i=e.length;for(r||(r=Aa),o||(o=[]);++a<i;){var s=e[a];t>0&&r(s)?t>1?bn(s,t-1,r,n,o):Rt(o,s):n||(o[o.length]=s)}return o}var An=Do(),yn=Do(!0);function xn(e,t){return e&&An(e,t,Ns)}function wn(e,t){return e&&yn(e,t,Ns)}function Cn(e,t){return It(t,(function(t){return Ji(e[t])}))}function kn(e,t){for(var r=0,o=(t=xo(t,e)).length;null!=e&&r<o;)e=e[Fa(t[r++])];return r&&r==o?e:n}function _n(e,t,r){var n=t(e);return Qi(e)?n:Rt(n,r(e))}function Sn(t){return null==t?t===n?"[object Undefined]":"[object Null]":tt&&tt in Be(t)?function(t){var r=De.call(t,tt),o=t[tt];try{t[tt]=n;var a=!0}catch(e){}var i=Le.call(t);a&&(r?t[tt]=o:delete t[tt]);return i}(t):function(e){return Le.call(e)}(t)}function Bn(e,t){return e>t}function En(e,t){return null!=e&&De.call(e,t)}function Tn(e,t){return null!=e&&t in Be(e)}function Pn(e,t,r){for(var o=r?zt:Nt,a=e[0].length,i=e.length,s=i,l=ie(i),c=1/0,u=[];s--;){var d=e[s];s&&t&&(d=Mt(d,Jt(t))),c=Ar(d.length,c),l[s]=!r&&(t||a>=120&&d.length>=120)?new qr(s&&d):n}d=e[0];var p=-1,f=l[0];e:for(;++p<a&&u.length<c;){var h=d[p],v=t?t(h):h;if(h=r||0!==h?h:0,!(f?er(f,v):o(u,v,r))){for(s=i;--s;){var g=l[s];if(!(g?er(g,v):o(e[s],v,r)))continue e}f&&f.push(v),u.push(h)}}return u}function In(e,t,r){var o=null==(e=Ta(e,t=xo(t,e)))?e:e[Fa(Xa(t))];return null==o?n:St(o,e,r)}function Nn(e){return rs(e)&&Sn(e)==m}function zn(e,t,r,o,a){return e===t||(null==e||null==t||!rs(e)&&!rs(t)?e!=e&&t!=t:function(e,t,r,o,a,i){var s=Qi(e),l=Qi(t),c=s?b:ga(e),u=l?b:ga(t),d=(c=c==m?S:c)==S,p=(u=u==m?S:u)==S,f=c==u;if(f&&Wi(e)){if(!Wi(t))return!1;s=!0,d=!1}if(f&&!d)return i||(i=new Wr),s||us(e)?na(e,t,r,o,a,i):function(e,t,r,n,o,a,i){switch(r){case M:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case z:return!(e.byteLength!=t.byteLength||!a(new Qe(e),new Qe(t)));case A:case y:case _:return Vi(+e,+t);case x:return e.name==t.name&&e.message==t.message;case E:case P:return e==t+"";case k:var s=sr;case T:var l=1&n;if(s||(s=ur),e.size!=t.size&&!l)return!1;var c=i.get(e);if(c)return c==t;n|=2,i.set(e,t);var u=na(s(e),s(t),n,o,a,i);return i.delete(e),u;case I:if(Fr)return Fr.call(e)==Fr.call(t)}return!1}(e,t,c,r,o,a,i);if(!(1&r)){var h=d&&De.call(e,"__wrapped__"),v=p&&De.call(t,"__wrapped__");if(h||v){var g=h?e.value():e,w=v?t.value():t;return i||(i=new Wr),a(g,w,r,o,i)}}if(!f)return!1;return i||(i=new Wr),function(e,t,r,o,a,i){var s=1&r,l=aa(e),c=l.length,u=aa(t),d=u.length;if(c!=d&&!s)return!1;var p=c;for(;p--;){var f=l[p];if(!(s?f in t:De.call(t,f)))return!1}var h=i.get(e),v=i.get(t);if(h&&v)return h==t&&v==e;var g=!0;i.set(e,t),i.set(t,e);var m=s;for(;++p<c;){var b=e[f=l[p]],A=t[f];if(o)var y=s?o(A,b,f,t,e,i):o(b,A,f,e,t,i);if(!(y===n?b===A||a(b,A,r,o,i):y)){g=!1;break}m||(m="constructor"==f)}if(g&&!m){var x=e.constructor,w=t.constructor;x==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(g=!1)}return i.delete(e),i.delete(t),g}(e,t,r,o,a,i)}(e,t,r,o,zn,a))}function Mn(e,t,r,o){var a=r.length,i=a,s=!o;if(null==e)return!i;for(e=Be(e);a--;){var l=r[a];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++a<i;){var c=(l=r[a])[0],u=e[c],d=l[1];if(s&&l[2]){if(u===n&&!(c in e))return!1}else{var p=new Wr;if(o)var f=o(u,d,c,e,t,p);if(!(f===n?zn(d,u,3,o,p):f))return!1}}return!0}function Rn(e){return!(!ts(e)||(t=e,Fe&&Fe in t))&&(Ji(e)?$e:me).test(La(e));var t}function Dn(e){return"function"==typeof e?e:null==e?ol:"object"==_typeof2(e)?Qi(e)?$n(e[0],e[1]):Vn(e):fl(e)}function On(e){if(!_a(e))return mr(e);var t=[];for(var r in Be(e))De.call(e,r)&&"constructor"!=r&&t.push(r);return t}function Fn(e){if(!ts(e))return function(e){var t=[];if(null!=e)for(var r in Be(e))t.push(r);return t}(e);var t=_a(e),r=[];for(var n in e)("constructor"!=n||!t&&De.call(e,n))&&r.push(n);return r}function Ln(e,t){return e<t}function jn(e,t){var r=-1,n=Ki(e)?ie(e.length):[];return fn(e,(function(e,o,a){n[++r]=t(e,o,a)})),n}function Vn(e){var t=pa(e);return 1==t.length&&t[0][2]?Ba(t[0][0],t[0][1]):function(r){return r===e||Mn(r,e,t)}}function $n(e,t){return wa(e)&&Sa(t)?Ba(Fa(e),t):function(r){var o=Bs(r,e);return o===n&&o===t?Es(r,e):zn(t,o,3)}}function Hn(e,t,r,o,a){e!==t&&An(t,(function(i,s){if(a||(a=new Wr),ts(i))!function(e,t,r,o,a,i,s){var l=Pa(e,r),c=Pa(t,r),u=s.get(c);if(u)return void en(e,r,u);var d=i?i(l,c,r+"",e,t,s):n,p=d===n;if(p){var f=Qi(c),h=!f&&Wi(c),v=!f&&!h&&us(c);d=c,f||h||v?Qi(l)?d=l:qi(l)?d=Io(l):h?(p=!1,d=_o(c,!0)):v?(p=!1,d=Bo(c,!0)):d=[]:as(c)||Ui(c)?(d=l,Ui(l)?d=bs(l):ts(l)&&!Ji(l)||(d=ba(c))):p=!1}p&&(s.set(c,d),a(d,c,o,i,s),s.delete(c));en(e,r,d)}(e,t,s,r,Hn,o,a);else{var l=o?o(Pa(e,s),i,s+"",e,t,a):n;l===n&&(l=i),en(e,s,l)}}),zs)}function Un(e,t){var r=e.length;if(r)return ya(t+=t<0?r:0,r)?e[t]:n}function Qn(e,t,r){t=t.length?Mt(t,(function(e){return Qi(e)?function(t){return kn(t,1===e.length?e[0]:e)}:e})):[ol];var n=-1;t=Mt(t,Jt(ua()));var o=jn(e,(function(e,r,o){var a=Mt(t,(function(t){return t(e)}));return{criteria:a,index:++n,value:e}}));return function(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}(o,(function(e,t){return function(e,t,r){var n=-1,o=e.criteria,a=t.criteria,i=o.length,s=r.length;for(;++n<i;){var l=Eo(o[n],a[n]);if(l)return n>=s?l:l*("desc"==r[n]?-1:1)}return e.index-t.index}(e,t,r)}))}function Gn(e,t,r){for(var n=-1,o=t.length,a={};++n<o;){var i=t[n],s=kn(e,i);r(s,i)&&eo(a,xo(i,e),s)}return a}function Kn(e,t,r,n){var o=n?Ht:$t,a=-1,i=t.length,s=e;for(e===t&&(t=Io(t)),r&&(s=Mt(e,Jt(r)));++a<i;)for(var l=0,c=t[a],u=r?r(c):c;(l=o(s,u,l,n))>-1;)s!==e&&Ye.call(s,l,1),Ye.call(e,l,1);return e}function qn(e,t){for(var r=e?t.length:0,n=r-1;r--;){var o=t[r];if(r==n||o!==a){var a=o;ya(o)?Ye.call(e,o,1):fo(e,o)}}return e}function Wn(e,t){return e+gt(wr()*(t-e+1))}function Yn(e,t){var r="";if(!e||t<1||t>f)return r;do{t%2&&(r+=e),(t=gt(t/2))&&(e+=e)}while(t);return r}function Xn(e,t){return za(Ea(e,t,ol),e+"")}function Jn(e){return Xr(Vs(e))}function Zn(e,t){var r=Vs(e);return Da(r,ln(t,0,r.length))}function eo(e,t,r,o){if(!ts(e))return e;for(var a=-1,i=(t=xo(t,e)).length,s=i-1,l=e;null!=l&&++a<i;){var c=Fa(t[a]),u=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(a!=s){var d=l[c];(u=o?o(d,c,l):n)===n&&(u=ts(d)?d:ya(t[a+1])?[]:{})}tn(l,c,u),l=l[c]}return e}var to=Pr?function(e,t){return Pr.set(e,t),e}:ol,ro=nt?function(e,t){return nt(e,"toString",{configurable:!0,enumerable:!1,value:tl(t),writable:!0})}:ol;function no(e){return Da(Vs(e))}function oo(e,t,r){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var a=ie(o);++n<o;)a[n]=e[n+t];return a}function ao(e,t){var r;return fn(e,(function(e,n,o){return!(r=t(e,n,o))})),!!r}function io(e,t,r){var n=0,o=null==e?n:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;n<o;){var a=n+o>>>1,i=e[a];null!==i&&!cs(i)&&(r?i<=t:i<t)?n=a+1:o=a}return o}return so(e,t,ol,r)}function so(e,t,r,o){var a=0,i=null==e?0:e.length;if(0===i)return 0;for(var s=(t=r(t))!=t,l=null===t,c=cs(t),u=t===n;a<i;){var d=gt((a+i)/2),p=r(e[d]),f=p!==n,h=null===p,v=p==p,g=cs(p);if(s)var m=o||v;else m=u?v&&(o||f):l?v&&f&&(o||!h):c?v&&f&&!h&&(o||!g):!h&&!g&&(o?p<=t:p<t);m?a=d+1:i=d}return Ar(i,4294967294)}function lo(e,t){for(var r=-1,n=e.length,o=0,a=[];++r<n;){var i=e[r],s=t?t(i):i;if(!r||!Vi(s,l)){var l=s;a[o++]=0===i?0:i}}return a}function co(e){return"number"==typeof e?e:cs(e)?h:+e}function uo(e){if("string"==typeof e)return e;if(Qi(e))return Mt(e,uo)+"";if(cs(e))return Lr?Lr.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function po(e,t,r){var n=-1,o=Nt,a=e.length,i=!0,s=[],l=s;if(r)i=!1,o=zt;else if(a>=200){var c=t?null:Xo(e);if(c)return ur(c);i=!1,o=er,l=new qr}else l=t?[]:s;e:for(;++n<a;){var u=e[n],d=t?t(u):u;if(u=r||0!==u?u:0,i&&d==d){for(var p=l.length;p--;)if(l[p]===d)continue e;t&&l.push(d),s.push(u)}else o(l,d,r)||(l!==s&&l.push(d),s.push(u))}return s}function fo(e,t){return null==(e=Ta(e,t=xo(t,e)))||delete e[Fa(Xa(t))]}function ho(e,t,r,n){return eo(e,t,r(kn(e,t)),n)}function vo(e,t,r,n){for(var o=e.length,a=n?o:-1;(n?a--:++a<o)&&t(e[a],a,e););return r?oo(e,n?0:a,n?a+1:o):oo(e,n?a+1:0,n?o:a)}function go(e,t){var r=e;return r instanceof Ur&&(r=r.value()),Dt(t,(function(e,t){return t.func.apply(t.thisArg,Rt([e],t.args))}),r)}function mo(e,t,r){var n=e.length;if(n<2)return n?po(e[0]):[];for(var o=-1,a=ie(n);++o<n;)for(var i=e[o],s=-1;++s<n;)s!=o&&(a[o]=pn(a[o]||i,e[s],t,r));return po(bn(a,1),t,r)}function bo(e,t,r){for(var o=-1,a=e.length,i=t.length,s={};++o<a;){var l=o<i?t[o]:n;r(s,e[o],l)}return s}function Ao(e){return qi(e)?e:[]}function yo(e){return"function"==typeof e?e:ol}function xo(e,t){return Qi(e)?e:wa(e,t)?[e]:Oa(As(e))}var wo=Xn;function Co(e,t,r){var o=e.length;return r=r===n?o:r,!t&&r>=o?e:oo(e,t,r)}var ko=ct||function(e){return ht.clearTimeout(e)};function _o(e,t){if(t)return e.slice();var r=e.length,n=Ge?Ge(r):new e.constructor(r);return e.copy(n),n}function So(e){var t=new e.constructor(e.byteLength);return new Qe(t).set(new Qe(e)),t}function Bo(e,t){var r=t?So(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function Eo(e,t){if(e!==t){var r=e!==n,o=null===e,a=e==e,i=cs(e),s=t!==n,l=null===t,c=t==t,u=cs(t);if(!l&&!u&&!i&&e>t||i&&s&&c&&!l&&!u||o&&s&&c||!r&&c||!a)return 1;if(!o&&!i&&!u&&e<t||u&&r&&a&&!o&&!i||l&&r&&a||!s&&a||!c)return-1}return 0}function To(e,t,r,n){for(var o=-1,a=e.length,i=r.length,s=-1,l=t.length,c=br(a-i,0),u=ie(l+c),d=!n;++s<l;)u[s]=t[s];for(;++o<i;)(d||o<a)&&(u[r[o]]=e[o]);for(;c--;)u[s++]=e[o++];return u}function Po(e,t,r,n){for(var o=-1,a=e.length,i=-1,s=r.length,l=-1,c=t.length,u=br(a-s,0),d=ie(u+c),p=!n;++o<u;)d[o]=e[o];for(var f=o;++l<c;)d[f+l]=t[l];for(;++i<s;)(p||o<a)&&(d[f+r[i]]=e[o++]);return d}function Io(e,t){var r=-1,n=e.length;for(t||(t=ie(n));++r<n;)t[r]=e[r];return t}function No(e,t,r,o){var a=!r;r||(r={});for(var i=-1,s=t.length;++i<s;){var l=t[i],c=o?o(r[l],e[l],l,r,e):n;c===n&&(c=e[l]),a?an(r,l,c):tn(r,l,c)}return r}function zo(e,t){return function(r,n){var o=Qi(r)?Bt:nn,a=t?t():{};return o(r,e,ua(n,2),a)}}function Mo(e){return Xn((function(t,r){var o=-1,a=r.length,i=a>1?r[a-1]:n,s=a>2?r[2]:n;for(i=e.length>3&&"function"==typeof i?(a--,i):n,s&&xa(r[0],r[1],s)&&(i=a<3?n:i,a=1),t=Be(t);++o<a;){var l=r[o];l&&e(t,l,o,i)}return t}))}function Ro(e,t){return function(r,n){if(null==r)return r;if(!Ki(r))return e(r,n);for(var o=r.length,a=t?o:-1,i=Be(r);(t?a--:++a<o)&&!1!==n(i[a],a,i););return r}}function Do(e){return function(t,r,n){for(var o=-1,a=Be(t),i=n(t),s=i.length;s--;){var l=i[e?s:++o];if(!1===r(a[l],l,a))break}return t}}function Oo(e){return function(t){var r=ir(t=As(t))?fr(t):n,o=r?r[0]:t.charAt(0),a=r?Co(r,1).join(""):t.slice(1);return o[e]()+a}}function Fo(e){return function(t){return Dt(Js(Us(t).replace(Ze,"")),e,"")}}function Lo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=Vr(e.prototype),n=e.apply(r,t);return ts(n)?n:r}}function jo(e){return function(t,r,o){var a=Be(t);if(!Ki(t)){var i=ua(r,3);t=Ns(t),r=function(e){return i(a[e],e,a)}}var s=e(t,r,o);return s>-1?a[i?t[s]:s]:n}}function Vo(e){return oa((function(t){var r=t.length,a=r,i=Hr.prototype.thru;for(e&&t.reverse();a--;){var s=t[a];if("function"!=typeof s)throw new Pe(o);if(i&&!l&&"wrapper"==la(s))var l=new Hr([],!0)}for(a=l?a:r;++a<r;){var c=la(s=t[a]),u="wrapper"==c?sa(s):n;l=u&&Ca(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?l[la(u[0])].apply(l,u[3]):1==s.length&&Ca(s)?l[c]():l.thru(s)}return function(){var e=arguments,n=e[0];if(l&&1==e.length&&Qi(n))return l.plant(n).value();for(var o=0,a=r?t[o].apply(this,e):n;++o<r;)a=t[o].call(this,a);return a}}))}function $o(e,t,r,o,a,i,s,l,c,d){var p=t&u,f=1&t,h=2&t,v=24&t,g=512&t,m=h?n:Lo(e);return function u(){for(var b=arguments.length,A=ie(b),y=b;y--;)A[y]=arguments[y];if(v)var x=ca(u),w=function(e,t){for(var r=e.length,n=0;r--;)e[r]===t&&++n;return n}(A,x);if(o&&(A=To(A,o,a,v)),i&&(A=Po(A,i,s,v)),b-=w,v&&b<d){var C=cr(A,x);return Wo(e,t,$o,u.placeholder,r,A,C,l,c,d-b)}var k=f?r:this,_=h?k[e]:e;return b=A.length,l?A=function(e,t){var r=e.length,o=Ar(t.length,r),a=Io(e);for(;o--;){var i=t[o];e[o]=ya(i,r)?a[i]:n}return e}(A,l):g&&b>1&&A.reverse(),p&&c<b&&(A.length=c),this&&this!==ht&&this instanceof u&&(_=m||Lo(_)),_.apply(k,A)}}function Ho(e,t){return function(r,n){return function(e,t,r,n){return xn(e,(function(e,o,a){t(n,r(e),o,a)})),n}(r,e,t(n),{})}}function Uo(e,t){return function(r,o){var a;if(r===n&&o===n)return t;if(r!==n&&(a=r),o!==n){if(a===n)return o;"string"==typeof r||"string"==typeof o?(r=uo(r),o=uo(o)):(r=co(r),o=co(o)),a=e(r,o)}return a}}function Qo(e){return oa((function(t){return t=Mt(t,Jt(ua())),Xn((function(r){var n=this;return e(t,(function(e){return St(e,n,r)}))}))}))}function Go(e,t){var r=(t=t===n?" ":uo(t)).length;if(r<2)return r?Yn(t,e):t;var o=Yn(t,vt(e/pr(t)));return ir(t)?Co(fr(o),0,e).join(""):o.slice(0,e)}function Ko(e){return function(t,r,o){return o&&"number"!=typeof o&&xa(t,r,o)&&(r=o=n),t=hs(t),r===n?(r=t,t=0):r=hs(r),function(e,t,r,n){for(var o=-1,a=br(vt((t-e)/(r||1)),0),i=ie(a);a--;)i[n?a:++o]=e,e+=r;return i}(t,r,o=o===n?t<r?1:-1:hs(o),e)}}function qo(e){return function(t,r){return"string"==typeof t&&"string"==typeof r||(t=ms(t),r=ms(r)),e(t,r)}}function Wo(e,t,r,o,a,i,s,u,d,p){var f=8&t;t|=f?l:c,4&(t&=~(f?c:l))||(t&=-4);var h=[e,t,a,f?i:n,f?s:n,f?n:i,f?n:s,u,d,p],v=r.apply(n,h);return Ca(e)&&Ia(v,h),v.placeholder=o,Ma(v,e,t)}function Yo(e){var t=Se[e];return function(e,r){if(e=ms(e),(r=null==r?0:Ar(vs(r),292))&&Lt(e)){var n=(As(e)+"e").split("e");return+((n=(As(t(n[0]+"e"+(+n[1]+r)))+"e").split("e"))[0]+"e"+(+n[1]-r))}return t(e)}}var Xo=Br&&1/ur(new Br([,-0]))[1]==p?function(e){return new Br(e)}:cl;function Jo(e){return function(t){var r=ga(t);return r==k?sr(t):r==T?dr(t):function(e,t){return Mt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Zo(e,t,r,a,p,f,h,v){var g=2&t;if(!g&&"function"!=typeof e)throw new Pe(o);var m=a?a.length:0;if(m||(t&=-97,a=p=n),h=h===n?h:br(vs(h),0),v=v===n?v:vs(v),m-=p?p.length:0,t&c){var b=a,A=p;a=p=n}var y=g?n:sa(e),x=[e,t,r,a,p,b,A,f,h,v];if(y&&function(e,t){var r=e[1],n=t[1],o=r|n,a=o<131,s=n==u&&8==r||n==u&&r==d&&e[7].length<=t[8]||384==n&&t[7].length<=t[8]&&8==r;if(!a&&!s)return e;1&n&&(e[2]=t[2],o|=1&r?0:4);var l=t[3];if(l){var c=e[3];e[3]=c?To(c,l,t[4]):l,e[4]=c?cr(e[3],i):t[4]}l=t[5],l&&(c=e[5],e[5]=c?Po(c,l,t[6]):l,e[6]=c?cr(e[5],i):t[6]);l=t[7],l&&(e[7]=l);n&u&&(e[8]=null==e[8]?t[8]:Ar(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(x,y),e=x[0],t=x[1],r=x[2],a=x[3],p=x[4],!(v=x[9]=x[9]===n?g?0:e.length:br(x[9]-m,0))&&24&t&&(t&=-25),t&&1!=t)w=8==t||t==s?function(e,t,r){var o=Lo(e);return function a(){for(var i=arguments.length,s=ie(i),l=i,c=ca(a);l--;)s[l]=arguments[l];var u=i<3&&s[0]!==c&&s[i-1]!==c?[]:cr(s,c);return(i-=u.length)<r?Wo(e,t,$o,a.placeholder,n,s,u,n,n,r-i):St(this&&this!==ht&&this instanceof a?o:e,this,s)}}(e,t,v):t!=l&&33!=t||p.length?$o.apply(n,x):function(e,t,r,n){var o=1&t,a=Lo(e);return function t(){for(var i=-1,s=arguments.length,l=-1,c=n.length,u=ie(c+s),d=this&&this!==ht&&this instanceof t?a:e;++l<c;)u[l]=n[l];for(;s--;)u[l++]=arguments[++i];return St(d,o?r:this,u)}}(e,t,r,a);else var w=function(e,t,r){var n=1&t,o=Lo(e);return function t(){return(this&&this!==ht&&this instanceof t?o:e).apply(n?r:this,arguments)}}(e,t,r);return Ma((y?to:Ia)(w,x),e,t)}function ea(e,t,r,o){return e===n||Vi(e,ze[r])&&!De.call(o,r)?t:e}function ta(e,t,r,o,a,i){return ts(e)&&ts(t)&&(i.set(t,e),Hn(e,t,n,ta,i),i.delete(t)),e}function ra(e){return as(e)?n:e}function na(e,t,r,o,a,i){var s=1&r,l=e.length,c=t.length;if(l!=c&&!(s&&c>l))return!1;var u=i.get(e),d=i.get(t);if(u&&d)return u==t&&d==e;var p=-1,f=!0,h=2&r?new qr:n;for(i.set(e,t),i.set(t,e);++p<l;){var v=e[p],g=t[p];if(o)var m=s?o(g,v,p,t,e,i):o(v,g,p,e,t,i);if(m!==n){if(m)continue;f=!1;break}if(h){if(!Ft(t,(function(e,t){if(!er(h,t)&&(v===e||a(v,e,r,o,i)))return h.push(t)}))){f=!1;break}}else if(v!==g&&!a(v,g,r,o,i)){f=!1;break}}return i.delete(e),i.delete(t),f}function oa(e){return za(Ea(e,n,Ga),e+"")}function aa(e){return _n(e,Ns,ha)}function ia(e){return _n(e,zs,va)}var sa=Pr?function(e){return Pr.get(e)}:cl;function la(e){for(var t=e.name+"",r=Ir[t],n=De.call(Ir,t)?r.length:0;n--;){var o=r[n],a=o.func;if(null==a||a==e)return o.name}return t}function ca(e){return(De.call(jr,"placeholder")?jr:e).placeholder}function ua(){var e=jr.iteratee||al;return e=e===al?Dn:e,arguments.length?e(arguments[0],arguments[1]):e}function da(e,t){var r=e.__data__;return function(e){var t=_typeof2(e);return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?r["string"==typeof t?"string":"hash"]:r.map}function pa(e){for(var t=Ns(e),r=t.length;r--;){var n=t[r],o=e[n];t[r]=[n,o,Sa(o)]}return t}function fa(e,t){var r=function(e,t){return null==e?n:e[t]}(e,t);return Rn(r)?r:n}var ha=bt?function(e){return null==e?[]:(e=Be(e),It(bt(e),(function(t){return We.call(e,t)})))}:gl,va=bt?function(e){for(var t=[];e;)Rt(t,ha(e)),e=Ke(e);return t}:gl,ga=Sn;function ma(e,t,r){for(var n=-1,o=(t=xo(t,e)).length,a=!1;++n<o;){var i=Fa(t[n]);if(!(a=null!=e&&r(e,i)))break;e=e[i]}return a||++n!=o?a:!!(o=null==e?0:e.length)&&es(o)&&ya(i,o)&&(Qi(e)||Ui(e))}function ba(e){return"function"!=typeof e.constructor||_a(e)?{}:Vr(Ke(e))}function Aa(e){return Qi(e)||Ui(e)||!!(Xe&&e&&e[Xe])}function ya(e,t){var r=_typeof2(e);return!!(t=null==t?f:t)&&("number"==r||"symbol"!=r&&Ae.test(e))&&e>-1&&e%1==0&&e<t}function xa(e,t,r){if(!ts(r))return!1;var n=_typeof2(t);return!!("number"==n?Ki(r)&&ya(t,r.length):"string"==n&&t in r)&&Vi(r[t],e)}function wa(e,t){if(Qi(e))return!1;var r=_typeof2(e);return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!cs(e))||(te.test(e)||!ee.test(e)||null!=t&&e in Be(t))}function Ca(e){var t=la(e),r=jr[t];if("function"!=typeof r||!(t in Ur.prototype))return!1;if(e===r)return!0;var n=sa(r);return!!n&&e===n[0]}(kr&&ga(new kr(new ArrayBuffer(1)))!=M||_r&&ga(new _r)!=k||Sr&&ga(Sr.resolve())!=B||Br&&ga(new Br)!=T||Er&&ga(new Er)!=N)&&(ga=function(e){var t=Sn(e),r=t==S?e.constructor:n,o=r?La(r):"";if(o)switch(o){case Nr:return M;case zr:return k;case Mr:return B;case Rr:return T;case Dr:return N}return t});var ka=Me?Ji:ml;function _a(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||ze)}function Sa(e){return e==e&&!ts(e)}function Ba(e,t){return function(r){return null!=r&&(r[e]===t&&(t!==n||e in Be(r)))}}function Ea(e,t,r){return t=br(t===n?e.length-1:t,0),function(){for(var n=arguments,o=-1,a=br(n.length-t,0),i=ie(a);++o<a;)i[o]=n[t+o];o=-1;for(var s=ie(t+1);++o<t;)s[o]=n[o];return s[t]=r(i),St(e,this,s)}}function Ta(e,t){return t.length<2?e:kn(e,oo(t,0,-1))}function Pa(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Ia=Ra(to),Na=ft||function(e,t){return ht.setTimeout(e,t)},za=Ra(ro);function Ma(e,t,r){var n=t+"";return za(e,function(e,t){var r=t.length;if(!r)return e;var n=r-1;return t[n]=(r>1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(se,"{\n/* [wrapped with "+t+"] */\n")}(n,function(e,t){return Et(g,(function(r){var n="_."+r[0];t&r[1]&&!Nt(e,n)&&e.push(n)})),e.sort()}(function(e){var t=e.match(le);return t?t[1].split(ce):[]}(n),r)))}function Ra(e){var t=0,r=0;return function(){var o=yr(),a=16-(o-r);if(r=o,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(n,arguments)}}function Da(e,t){var r=-1,o=e.length,a=o-1;for(t=t===n?o:t;++r<t;){var i=Wn(r,a),s=e[i];e[i]=e[r],e[r]=s}return e.length=t,e}var Oa=function(e){var t=Ri(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(re,(function(e,r,n,o){t.push(n?o.replace(pe,"$1"):r||e)})),t}));function Fa(e){if("string"==typeof e||cs(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function La(t){if(null!=t){try{return Re.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function ja(e){if(e instanceof Ur)return e.clone();var t=new Hr(e.__wrapped__,e.__chain__);return t.__actions__=Io(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Va=Xn((function(e,t){return qi(e)?pn(e,bn(t,1,qi,!0)):[]})),$a=Xn((function(e,t){var r=Xa(t);return qi(r)&&(r=n),qi(e)?pn(e,bn(t,1,qi,!0),ua(r,2)):[]})),Ha=Xn((function(e,t){var r=Xa(t);return qi(r)&&(r=n),qi(e)?pn(e,bn(t,1,qi,!0),n,r):[]}));function Ua(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var o=null==r?0:vs(r);return o<0&&(o=br(n+o,0)),Vt(e,ua(t,3),o)}function Qa(e,t,r){var o=null==e?0:e.length;if(!o)return-1;var a=o-1;return r!==n&&(a=vs(r),a=r<0?br(o+a,0):Ar(a,o-1)),Vt(e,ua(t,3),a,!0)}function Ga(e){return(null==e?0:e.length)?bn(e,1):[]}function Ka(e){return e&&e.length?e[0]:n}var qa=Xn((function(e){var t=Mt(e,Ao);return t.length&&t[0]===e[0]?Pn(t):[]})),Wa=Xn((function(e){var t=Xa(e),r=Mt(e,Ao);return t===Xa(r)?t=n:r.pop(),r.length&&r[0]===e[0]?Pn(r,ua(t,2)):[]})),Ya=Xn((function(e){var t=Xa(e),r=Mt(e,Ao);return(t="function"==typeof t?t:n)&&r.pop(),r.length&&r[0]===e[0]?Pn(r,n,t):[]}));function Xa(e){var t=null==e?0:e.length;return t?e[t-1]:n}var Ja=Xn(Za);function Za(e,t){return e&&e.length&&t&&t.length?Kn(e,t):e}var ei=oa((function(e,t){var r=null==e?0:e.length,n=sn(e,t);return qn(e,Mt(t,(function(e){return ya(e,r)?+e:e})).sort(Eo)),n}));function ti(e){return null==e?e:Cr.call(e)}var ri=Xn((function(e){return po(bn(e,1,qi,!0))})),ni=Xn((function(e){var t=Xa(e);return qi(t)&&(t=n),po(bn(e,1,qi,!0),ua(t,2))})),oi=Xn((function(e){var t=Xa(e);return t="function"==typeof t?t:n,po(bn(e,1,qi,!0),n,t)}));function ai(e){if(!e||!e.length)return[];var t=0;return e=It(e,(function(e){if(qi(e))return t=br(e.length,t),!0})),Yt(t,(function(t){return Mt(e,Gt(t))}))}function ii(e,t){if(!e||!e.length)return[];var r=ai(e);return null==t?r:Mt(r,(function(e){return St(t,n,e)}))}var si=Xn((function(e,t){return qi(e)?pn(e,t):[]})),li=Xn((function(e){return mo(It(e,qi))})),ci=Xn((function(e){var t=Xa(e);return qi(t)&&(t=n),mo(It(e,qi),ua(t,2))})),ui=Xn((function(e){var t=Xa(e);return t="function"==typeof t?t:n,mo(It(e,qi),n,t)})),di=Xn(ai);var pi=Xn((function(e){var t=e.length,r=t>1?e[t-1]:n;return r="function"==typeof r?(e.pop(),r):n,ii(e,r)}));function fi(e){var t=jr(e);return t.__chain__=!0,t}function hi(e,t){return t(e)}var vi=oa((function(e){var t=e.length,r=t?e[0]:0,o=this.__wrapped__,a=function(t){return sn(t,e)};return!(t>1||this.__actions__.length)&&o instanceof Ur&&ya(r)?((o=o.slice(r,+r+(t?1:0))).__actions__.push({func:hi,args:[a],thisArg:n}),new Hr(o,this.__chain__).thru((function(e){return t&&!e.length&&e.push(n),e}))):this.thru(a)}));var gi=zo((function(e,t,r){De.call(e,r)?++e[r]:an(e,r,1)}));var mi=jo(Ua),bi=jo(Qa);function Ai(e,t){return(Qi(e)?Et:fn)(e,ua(t,3))}function yi(e,t){return(Qi(e)?Tt:hn)(e,ua(t,3))}var xi=zo((function(e,t,r){De.call(e,r)?e[r].push(t):an(e,r,[t])}));var wi=Xn((function(e,t,r){var n=-1,o="function"==typeof t,a=Ki(e)?ie(e.length):[];return fn(e,(function(e){a[++n]=o?St(t,e,r):In(e,t,r)})),a})),Ci=zo((function(e,t,r){an(e,r,t)}));function ki(e,t){return(Qi(e)?Mt:jn)(e,ua(t,3))}var _i=zo((function(e,t,r){e[r?0:1].push(t)}),(function(){return[[],[]]}));var Si=Xn((function(e,t){if(null==e)return[];var r=t.length;return r>1&&xa(e,t[0],t[1])?t=[]:r>2&&xa(t[0],t[1],t[2])&&(t=[t[0]]),Qn(e,bn(t,1),[])})),Bi=pt||function(){return ht.Date.now()};function Ei(e,t,r){return t=r?n:t,t=e&&null==t?e.length:t,Zo(e,u,n,n,n,n,t)}function Ti(e,t){var r;if("function"!=typeof t)throw new Pe(o);return e=vs(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=n),r}}var Pi=Xn((function(e,t,r){var n=1;if(r.length){var o=cr(r,ca(Pi));n|=l}return Zo(e,n,t,r,o)})),Ii=Xn((function(e,t,r){var n=3;if(r.length){var o=cr(r,ca(Ii));n|=l}return Zo(t,n,e,r,o)}));function Ni(e,t,r){var a,i,s,l,c,u,d=0,p=!1,f=!1,h=!0;if("function"!=typeof e)throw new Pe(o);function v(t){var r=a,o=i;return a=i=n,d=t,l=e.apply(o,r)}function g(e){var r=e-u;return u===n||r>=t||r<0||f&&e-d>=s}function m(){var e=Bi();if(g(e))return b(e);c=Na(m,function(e){var r=t-(e-u);return f?Ar(r,s-(e-d)):r}(e))}function b(e){return c=n,h&&a?v(e):(a=i=n,l)}function A(){var e=Bi(),r=g(e);if(a=arguments,i=this,u=e,r){if(c===n)return function(e){return d=e,c=Na(m,t),p?v(e):l}(u);if(f)return ko(c),c=Na(m,t),v(u)}return c===n&&(c=Na(m,t)),l}return t=ms(t)||0,ts(r)&&(p=!!r.leading,s=(f="maxWait"in r)?br(ms(r.maxWait)||0,t):s,h="trailing"in r?!!r.trailing:h),A.cancel=function(){c!==n&&ko(c),d=0,a=u=i=c=n},A.flush=function(){return c===n?l:b(Bi())},A}var zi=Xn((function(e,t){return dn(e,1,t)})),Mi=Xn((function(e,t,r){return dn(e,ms(t)||0,r)}));function Ri(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Pe(o);var r=function r(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=e.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(Ri.Cache||Kr),r}function Di(e){if("function"!=typeof e)throw new Pe(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ri.Cache=Kr;var Oi=wo((function(e,t){var r=(t=1==t.length&&Qi(t[0])?Mt(t[0],Jt(ua())):Mt(bn(t,1),Jt(ua()))).length;return Xn((function(n){for(var o=-1,a=Ar(n.length,r);++o<a;)n[o]=t[o].call(this,n[o]);return St(e,this,n)}))})),Fi=Xn((function(e,t){var r=cr(t,ca(Fi));return Zo(e,l,n,t,r)})),Li=Xn((function(e,t){var r=cr(t,ca(Li));return Zo(e,c,n,t,r)})),ji=oa((function(e,t){return Zo(e,d,n,n,n,t)}));function Vi(e,t){return e===t||e!=e&&t!=t}var $i=qo(Bn),Hi=qo((function(e,t){return e>=t})),Ui=Nn(function(){return arguments}())?Nn:function(e){return rs(e)&&De.call(e,"callee")&&!We.call(e,"callee")},Qi=ie.isArray,Gi=yt?Jt(yt):function(e){return rs(e)&&Sn(e)==z};function Ki(e){return null!=e&&es(e.length)&&!Ji(e)}function qi(e){return rs(e)&&Ki(e)}var Wi=At||ml,Yi=xt?Jt(xt):function(e){return rs(e)&&Sn(e)==y};function Xi(e){if(!rs(e))return!1;var t=Sn(e);return t==x||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!as(e)}function Ji(e){if(!ts(e))return!1;var t=Sn(e);return t==w||t==C||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Zi(e){return"number"==typeof e&&e==vs(e)}function es(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=f}function ts(e){var t=_typeof2(e);return null!=e&&("object"==t||"function"==t)}function rs(e){return null!=e&&"object"==_typeof2(e)}var ns=wt?Jt(wt):function(e){return rs(e)&&ga(e)==k};function os(e){return"number"==typeof e||rs(e)&&Sn(e)==_}function as(e){if(!rs(e)||Sn(e)!=S)return!1;var t=Ke(e);if(null===t)return!0;var r=De.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Re.call(r)==je}var is=Ct?Jt(Ct):function(e){return rs(e)&&Sn(e)==E};var ss=kt?Jt(kt):function(e){return rs(e)&&ga(e)==T};function ls(e){return"string"==typeof e||!Qi(e)&&rs(e)&&Sn(e)==P}function cs(e){return"symbol"==_typeof2(e)||rs(e)&&Sn(e)==I}var us=_t?Jt(_t):function(e){return rs(e)&&es(e.length)&&!!st[Sn(e)]};var ds=qo(Ln),ps=qo((function(e,t){return e<=t}));function fs(e){if(!e)return[];if(Ki(e))return ls(e)?fr(e):Io(e);if(Je&&e[Je])return function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}(e[Je]());var t=ga(e);return(t==k?sr:t==T?ur:Vs)(e)}function hs(e){return e?(e=ms(e))===p||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function vs(e){var t=hs(e),r=t%1;return t==t?r?t-r:t:0}function gs(e){return e?ln(vs(e),0,v):0}function ms(e){if("number"==typeof e)return e;if(cs(e))return h;if(ts(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ts(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Xt(e);var r=ge.test(e);return r||be.test(e)?dt(e.slice(2),r?2:8):ve.test(e)?h:+e}function bs(e){return No(e,zs(e))}function As(e){return null==e?"":uo(e)}var ys=Mo((function(e,t){if(_a(t)||Ki(t))No(t,Ns(t),e);else for(var r in t)De.call(t,r)&&tn(e,r,t[r])})),xs=Mo((function(e,t){No(t,zs(t),e)})),ws=Mo((function(e,t,r,n){No(t,zs(t),e,n)})),Cs=Mo((function(e,t,r,n){No(t,Ns(t),e,n)})),ks=oa(sn);var _s=Xn((function(e,t){e=Be(e);var r=-1,o=t.length,a=o>2?t[2]:n;for(a&&xa(t[0],t[1],a)&&(o=1);++r<o;)for(var i=t[r],s=zs(i),l=-1,c=s.length;++l<c;){var u=s[l],d=e[u];(d===n||Vi(d,ze[u])&&!De.call(e,u))&&(e[u]=i[u])}return e})),Ss=Xn((function(e){return e.push(n,ta),St(Rs,n,e)}));function Bs(e,t,r){var o=null==e?n:kn(e,t);return o===n?r:o}function Es(e,t){return null!=e&&ma(e,t,Tn)}var Ts=Ho((function(e,t,r){null!=t&&"function"!=typeof t.toString&&(t=Le.call(t)),e[t]=r}),tl(ol)),Ps=Ho((function(e,t,r){null!=t&&"function"!=typeof t.toString&&(t=Le.call(t)),De.call(e,t)?e[t].push(r):e[t]=[r]}),ua),Is=Xn(In);function Ns(e){return Ki(e)?Yr(e):On(e)}function zs(e){return Ki(e)?Yr(e,!0):Fn(e)}var Ms=Mo((function(e,t,r){Hn(e,t,r)})),Rs=Mo((function(e,t,r,n){Hn(e,t,r,n)})),Ds=oa((function(e,t){var r={};if(null==e)return r;var n=!1;t=Mt(t,(function(t){return t=xo(t,e),n||(n=t.length>1),t})),No(e,ia(e),r),n&&(r=cn(r,7,ra));for(var o=t.length;o--;)fo(r,t[o]);return r}));var Os=oa((function(e,t){return null==e?{}:function(e,t){return Gn(e,t,(function(t,r){return Es(e,r)}))}(e,t)}));function Fs(e,t){if(null==e)return{};var r=Mt(ia(e),(function(e){return[e]}));return t=ua(t),Gn(e,r,(function(e,r){return t(e,r[0])}))}var Ls=Jo(Ns),js=Jo(zs);function Vs(e){return null==e?[]:Zt(e,Ns(e))}var $s=Fo((function(e,t,r){return t=t.toLowerCase(),e+(r?Hs(t):t)}));function Hs(e){return Xs(As(e).toLowerCase())}function Us(e){return(e=As(e))&&e.replace(ye,nr).replace(et,"")}var Qs=Fo((function(e,t,r){return e+(r?"-":"")+t.toLowerCase()})),Gs=Fo((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),Ks=Oo("toLowerCase");var qs=Fo((function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}));var Ws=Fo((function(e,t,r){return e+(r?" ":"")+Xs(t)}));var Ys=Fo((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),Xs=Oo("toUpperCase");function Js(e,t,r){return e=As(e),(t=r?n:t)===n?function(e){return ot.test(e)}(e)?function(e){return e.match(rt)||[]}(e):function(e){return e.match(ue)||[]}(e):e.match(t)||[]}var Zs=Xn((function(t,r){try{return St(t,n,r)}catch(e){return Xi(e)?e:new ke(e)}})),el=oa((function(e,t){return Et(t,(function(t){t=Fa(t),an(e,t,Pi(e[t],e))})),e}));function tl(e){return function(){return e}}var rl=Vo(),nl=Vo(!0);function ol(e){return e}function al(e){return Dn("function"==typeof e?e:cn(e,1))}var il=Xn((function(e,t){return function(r){return In(r,e,t)}})),sl=Xn((function(e,t){return function(r){return In(e,r,t)}}));function ll(e,t,r){var n=Ns(t),o=Cn(t,n);null!=r||ts(t)&&(o.length||!n.length)||(r=t,t=e,e=this,o=Cn(t,Ns(t)));var a=!(ts(r)&&"chain"in r&&!r.chain),i=Ji(e);return Et(o,(function(r){var n=t[r];e[r]=n,i&&(e.prototype[r]=function(){var t=this.__chain__;if(a||t){var r=e(this.__wrapped__);return(r.__actions__=Io(this.__actions__)).push({func:n,args:arguments,thisArg:e}),r.__chain__=t,r}return n.apply(e,Rt([this.value()],arguments))})})),e}function cl(){}var ul=Qo(Mt),dl=Qo(Pt),pl=Qo(Ft);function fl(e){return wa(e)?Gt(Fa(e)):function(e){return function(t){return kn(t,e)}}(e)}var hl=Ko(),vl=Ko(!0);function gl(){return[]}function ml(){return!1}var bl=Uo((function(e,t){return e+t}),0),Al=Yo("ceil"),yl=Uo((function(e,t){return e/t}),1),xl=Yo("floor");var wl,Cl=Uo((function(e,t){return e*t}),1),kl=Yo("round"),_l=Uo((function(e,t){return e-t}),0);return jr.after=function(e,t){if("function"!=typeof t)throw new Pe(o);return e=vs(e),function(){if(--e<1)return t.apply(this,arguments)}},jr.ary=Ei,jr.assign=ys,jr.assignIn=xs,jr.assignInWith=ws,jr.assignWith=Cs,jr.at=ks,jr.before=Ti,jr.bind=Pi,jr.bindAll=el,jr.bindKey=Ii,jr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Qi(e)?e:[e]},jr.chain=fi,jr.chunk=function(e,t,r){t=(r?xa(e,t,r):t===n)?1:br(vs(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var a=0,i=0,s=ie(vt(o/t));a<o;)s[i++]=oo(e,a,a+=t);return s},jr.compact=function(e){for(var t=-1,r=null==e?0:e.length,n=0,o=[];++t<r;){var a=e[t];a&&(o[n++]=a)}return o},jr.concat=function(){var e=arguments.length;if(!e)return[];for(var t=ie(e-1),r=arguments[0],n=e;n--;)t[n-1]=arguments[n];return Rt(Qi(r)?Io(r):[r],bn(t,1))},jr.cond=function(e){var t=null==e?0:e.length,r=ua();return e=t?Mt(e,(function(e){if("function"!=typeof e[1])throw new Pe(o);return[r(e[0]),e[1]]})):[],Xn((function(r){for(var n=-1;++n<t;){var o=e[n];if(St(o[0],this,r))return St(o[1],this,r)}}))},jr.conforms=function(e){return function(e){var t=Ns(e);return function(r){return un(r,e,t)}}(cn(e,1))},jr.constant=tl,jr.countBy=gi,jr.create=function(e,t){var r=Vr(e);return null==t?r:on(r,t)},jr.curry=function e(t,r,o){var a=Zo(t,8,n,n,n,n,n,r=o?n:r);return a.placeholder=e.placeholder,a},jr.curryRight=function e(t,r,o){var a=Zo(t,s,n,n,n,n,n,r=o?n:r);return a.placeholder=e.placeholder,a},jr.debounce=Ni,jr.defaults=_s,jr.defaultsDeep=Ss,jr.defer=zi,jr.delay=Mi,jr.difference=Va,jr.differenceBy=$a,jr.differenceWith=Ha,jr.drop=function(e,t,r){var o=null==e?0:e.length;return o?oo(e,(t=r||t===n?1:vs(t))<0?0:t,o):[]},jr.dropRight=function(e,t,r){var o=null==e?0:e.length;return o?oo(e,0,(t=o-(t=r||t===n?1:vs(t)))<0?0:t):[]},jr.dropRightWhile=function(e,t){return e&&e.length?vo(e,ua(t,3),!0,!0):[]},jr.dropWhile=function(e,t){return e&&e.length?vo(e,ua(t,3),!0):[]},jr.fill=function(e,t,r,o){var a=null==e?0:e.length;return a?(r&&"number"!=typeof r&&xa(e,t,r)&&(r=0,o=a),function(e,t,r,o){var a=e.length;for((r=vs(r))<0&&(r=-r>a?0:a+r),(o=o===n||o>a?a:vs(o))<0&&(o+=a),o=r>o?0:gs(o);r<o;)e[r++]=t;return e}(e,t,r,o)):[]},jr.filter=function(e,t){return(Qi(e)?It:mn)(e,ua(t,3))},jr.flatMap=function(e,t){return bn(ki(e,t),1)},jr.flatMapDeep=function(e,t){return bn(ki(e,t),p)},jr.flatMapDepth=function(e,t,r){return r=r===n?1:vs(r),bn(ki(e,t),r)},jr.flatten=Ga,jr.flattenDeep=function(e){return(null==e?0:e.length)?bn(e,p):[]},jr.flattenDepth=function(e,t){return(null==e?0:e.length)?bn(e,t=t===n?1:vs(t)):[]},jr.flip=function(e){return Zo(e,512)},jr.flow=rl,jr.flowRight=nl,jr.fromPairs=function(e){for(var t=-1,r=null==e?0:e.length,n={};++t<r;){var o=e[t];n[o[0]]=o[1]}return n},jr.functions=function(e){return null==e?[]:Cn(e,Ns(e))},jr.functionsIn=function(e){return null==e?[]:Cn(e,zs(e))},jr.groupBy=xi,jr.initial=function(e){return(null==e?0:e.length)?oo(e,0,-1):[]},jr.intersection=qa,jr.intersectionBy=Wa,jr.intersectionWith=Ya,jr.invert=Ts,jr.invertBy=Ps,jr.invokeMap=wi,jr.iteratee=al,jr.keyBy=Ci,jr.keys=Ns,jr.keysIn=zs,jr.map=ki,jr.mapKeys=function(e,t){var r={};return t=ua(t,3),xn(e,(function(e,n,o){an(r,t(e,n,o),e)})),r},jr.mapValues=function(e,t){var r={};return t=ua(t,3),xn(e,(function(e,n,o){an(r,n,t(e,n,o))})),r},jr.matches=function(e){return Vn(cn(e,1))},jr.matchesProperty=function(e,t){return $n(e,cn(t,1))},jr.memoize=Ri,jr.merge=Ms,jr.mergeWith=Rs,jr.method=il,jr.methodOf=sl,jr.mixin=ll,jr.negate=Di,jr.nthArg=function(e){return e=vs(e),Xn((function(t){return Un(t,e)}))},jr.omit=Ds,jr.omitBy=function(e,t){return Fs(e,Di(ua(t)))},jr.once=function(e){return Ti(2,e)},jr.orderBy=function(e,t,r,o){return null==e?[]:(Qi(t)||(t=null==t?[]:[t]),Qi(r=o?n:r)||(r=null==r?[]:[r]),Qn(e,t,r))},jr.over=ul,jr.overArgs=Oi,jr.overEvery=dl,jr.overSome=pl,jr.partial=Fi,jr.partialRight=Li,jr.partition=_i,jr.pick=Os,jr.pickBy=Fs,jr.property=fl,jr.propertyOf=function(e){return function(t){return null==e?n:kn(e,t)}},jr.pull=Ja,jr.pullAll=Za,jr.pullAllBy=function(e,t,r){return e&&e.length&&t&&t.length?Kn(e,t,ua(r,2)):e},jr.pullAllWith=function(e,t,r){return e&&e.length&&t&&t.length?Kn(e,t,n,r):e},jr.pullAt=ei,jr.range=hl,jr.rangeRight=vl,jr.rearg=ji,jr.reject=function(e,t){return(Qi(e)?It:mn)(e,Di(ua(t,3)))},jr.remove=function(e,t){var r=[];if(!e||!e.length)return r;var n=-1,o=[],a=e.length;for(t=ua(t,3);++n<a;){var i=e[n];t(i,n,e)&&(r.push(i),o.push(n))}return qn(e,o),r},jr.rest=function(e,t){if("function"!=typeof e)throw new Pe(o);return Xn(e,t=t===n?t:vs(t))},jr.reverse=ti,jr.sampleSize=function(e,t,r){return t=(r?xa(e,t,r):t===n)?1:vs(t),(Qi(e)?Jr:Zn)(e,t)},jr.set=function(e,t,r){return null==e?e:eo(e,t,r)},jr.setWith=function(e,t,r,o){return o="function"==typeof o?o:n,null==e?e:eo(e,t,r,o)},jr.shuffle=function(e){return(Qi(e)?Zr:no)(e)},jr.slice=function(e,t,r){var o=null==e?0:e.length;return o?(r&&"number"!=typeof r&&xa(e,t,r)?(t=0,r=o):(t=null==t?0:vs(t),r=r===n?o:vs(r)),oo(e,t,r)):[]},jr.sortBy=Si,jr.sortedUniq=function(e){return e&&e.length?lo(e):[]},jr.sortedUniqBy=function(e,t){return e&&e.length?lo(e,ua(t,2)):[]},jr.split=function(e,t,r){return r&&"number"!=typeof r&&xa(e,t,r)&&(t=r=n),(r=r===n?v:r>>>0)?(e=As(e))&&("string"==typeof t||null!=t&&!is(t))&&!(t=uo(t))&&ir(e)?Co(fr(e),0,r):e.split(t,r):[]},jr.spread=function(e,t){if("function"!=typeof e)throw new Pe(o);return t=null==t?0:br(vs(t),0),Xn((function(r){var n=r[t],o=Co(r,0,t);return n&&Rt(o,n),St(e,this,o)}))},jr.tail=function(e){var t=null==e?0:e.length;return t?oo(e,1,t):[]},jr.take=function(e,t,r){return e&&e.length?oo(e,0,(t=r||t===n?1:vs(t))<0?0:t):[]},jr.takeRight=function(e,t,r){var o=null==e?0:e.length;return o?oo(e,(t=o-(t=r||t===n?1:vs(t)))<0?0:t,o):[]},jr.takeRightWhile=function(e,t){return e&&e.length?vo(e,ua(t,3),!1,!0):[]},jr.takeWhile=function(e,t){return e&&e.length?vo(e,ua(t,3)):[]},jr.tap=function(e,t){return t(e),e},jr.throttle=function(e,t,r){var n=!0,a=!0;if("function"!=typeof e)throw new Pe(o);return ts(r)&&(n="leading"in r?!!r.leading:n,a="trailing"in r?!!r.trailing:a),Ni(e,t,{leading:n,maxWait:t,trailing:a})},jr.thru=hi,jr.toArray=fs,jr.toPairs=Ls,jr.toPairsIn=js,jr.toPath=function(e){return Qi(e)?Mt(e,Fa):cs(e)?[e]:Io(Oa(As(e)))},jr.toPlainObject=bs,jr.transform=function(e,t,r){var n=Qi(e),o=n||Wi(e)||us(e);if(t=ua(t,4),null==r){var a=e&&e.constructor;r=o?n?new a:[]:ts(e)&&Ji(a)?Vr(Ke(e)):{}}return(o?Et:xn)(e,(function(e,n,o){return t(r,e,n,o)})),r},jr.unary=function(e){return Ei(e,1)},jr.union=ri,jr.unionBy=ni,jr.unionWith=oi,jr.uniq=function(e){return e&&e.length?po(e):[]},jr.uniqBy=function(e,t){return e&&e.length?po(e,ua(t,2)):[]},jr.uniqWith=function(e,t){return t="function"==typeof t?t:n,e&&e.length?po(e,n,t):[]},jr.unset=function(e,t){return null==e||fo(e,t)},jr.unzip=ai,jr.unzipWith=ii,jr.update=function(e,t,r){return null==e?e:ho(e,t,yo(r))},jr.updateWith=function(e,t,r,o){return o="function"==typeof o?o:n,null==e?e:ho(e,t,yo(r),o)},jr.values=Vs,jr.valuesIn=function(e){return null==e?[]:Zt(e,zs(e))},jr.without=si,jr.words=Js,jr.wrap=function(e,t){return Fi(yo(t),e)},jr.xor=li,jr.xorBy=ci,jr.xorWith=ui,jr.zip=di,jr.zipObject=function(e,t){return bo(e||[],t||[],tn)},jr.zipObjectDeep=function(e,t){return bo(e||[],t||[],eo)},jr.zipWith=pi,jr.entries=Ls,jr.entriesIn=js,jr.extend=xs,jr.extendWith=ws,ll(jr,jr),jr.add=bl,jr.attempt=Zs,jr.camelCase=$s,jr.capitalize=Hs,jr.ceil=Al,jr.clamp=function(e,t,r){return r===n&&(r=t,t=n),r!==n&&(r=(r=ms(r))==r?r:0),t!==n&&(t=(t=ms(t))==t?t:0),ln(ms(e),t,r)},jr.clone=function(e){return cn(e,4)},jr.cloneDeep=function(e){return cn(e,5)},jr.cloneDeepWith=function(e,t){return cn(e,5,t="function"==typeof t?t:n)},jr.cloneWith=function(e,t){return cn(e,4,t="function"==typeof t?t:n)},jr.conformsTo=function(e,t){return null==t||un(e,t,Ns(t))},jr.deburr=Us,jr.defaultTo=function(e,t){return null==e||e!=e?t:e},jr.divide=yl,jr.endsWith=function(e,t,r){e=As(e),t=uo(t);var o=e.length,a=r=r===n?o:ln(vs(r),0,o);return(r-=t.length)>=0&&e.slice(r,a)==t},jr.eq=Vi,jr.escape=function(e){return(e=As(e))&&Y.test(e)?e.replace(q,or):e},jr.escapeRegExp=function(e){return(e=As(e))&&oe.test(e)?e.replace(ne,"\\$&"):e},jr.every=function(e,t,r){var o=Qi(e)?Pt:vn;return r&&xa(e,t,r)&&(t=n),o(e,ua(t,3))},jr.find=mi,jr.findIndex=Ua,jr.findKey=function(e,t){return jt(e,ua(t,3),xn)},jr.findLast=bi,jr.findLastIndex=Qa,jr.findLastKey=function(e,t){return jt(e,ua(t,3),wn)},jr.floor=xl,jr.forEach=Ai,jr.forEachRight=yi,jr.forIn=function(e,t){return null==e?e:An(e,ua(t,3),zs)},jr.forInRight=function(e,t){return null==e?e:yn(e,ua(t,3),zs)},jr.forOwn=function(e,t){return e&&xn(e,ua(t,3))},jr.forOwnRight=function(e,t){return e&&wn(e,ua(t,3))},jr.get=Bs,jr.gt=$i,jr.gte=Hi,jr.has=function(e,t){return null!=e&&ma(e,t,En)},jr.hasIn=Es,jr.head=Ka,jr.identity=ol,jr.includes=function(e,t,r,n){e=Ki(e)?e:Vs(e),r=r&&!n?vs(r):0;var o=e.length;return r<0&&(r=br(o+r,0)),ls(e)?r<=o&&e.indexOf(t,r)>-1:!!o&&$t(e,t,r)>-1},jr.indexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var o=null==r?0:vs(r);return o<0&&(o=br(n+o,0)),$t(e,t,o)},jr.inRange=function(e,t,r){return t=hs(t),r===n?(r=t,t=0):r=hs(r),function(e,t,r){return e>=Ar(t,r)&&e<br(t,r)}(e=ms(e),t,r)},jr.invoke=Is,jr.isArguments=Ui,jr.isArray=Qi,jr.isArrayBuffer=Gi,jr.isArrayLike=Ki,jr.isArrayLikeObject=qi,jr.isBoolean=function(e){return!0===e||!1===e||rs(e)&&Sn(e)==A},jr.isBuffer=Wi,jr.isDate=Yi,jr.isElement=function(e){return rs(e)&&1===e.nodeType&&!as(e)},jr.isEmpty=function(e){if(null==e)return!0;if(Ki(e)&&(Qi(e)||"string"==typeof e||"function"==typeof e.splice||Wi(e)||us(e)||Ui(e)))return!e.length;var t=ga(e);if(t==k||t==T)return!e.size;if(_a(e))return!On(e).length;for(var r in e)if(De.call(e,r))return!1;return!0},jr.isEqual=function(e,t){return zn(e,t)},jr.isEqualWith=function(e,t,r){var o=(r="function"==typeof r?r:n)?r(e,t):n;return o===n?zn(e,t,n,r):!!o},jr.isError=Xi,jr.isFinite=function(e){return"number"==typeof e&&Lt(e)},jr.isFunction=Ji,jr.isInteger=Zi,jr.isLength=es,jr.isMap=ns,jr.isMatch=function(e,t){return e===t||Mn(e,t,pa(t))},jr.isMatchWith=function(e,t,r){return r="function"==typeof r?r:n,Mn(e,t,pa(t),r)},jr.isNaN=function(e){return os(e)&&e!=+e},jr.isNative=function(e){if(ka(e))throw new ke("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Rn(e)},jr.isNil=function(e){return null==e},jr.isNull=function(e){return null===e},jr.isNumber=os,jr.isObject=ts,jr.isObjectLike=rs,jr.isPlainObject=as,jr.isRegExp=is,jr.isSafeInteger=function(e){return Zi(e)&&e>=-9007199254740991&&e<=f},jr.isSet=ss,jr.isString=ls,jr.isSymbol=cs,jr.isTypedArray=us,jr.isUndefined=function(e){return e===n},jr.isWeakMap=function(e){return rs(e)&&ga(e)==N},jr.isWeakSet=function(e){return rs(e)&&"[object WeakSet]"==Sn(e)},jr.join=function(e,t){return null==e?"":Kt.call(e,t)},jr.kebabCase=Qs,jr.last=Xa,jr.lastIndexOf=function(e,t,r){var o=null==e?0:e.length;if(!o)return-1;var a=o;return r!==n&&(a=(a=vs(r))<0?br(o+a,0):Ar(a,o-1)),t==t?function(e,t,r){for(var n=r+1;n--;)if(e[n]===t)return n;return n}(e,t,a):Vt(e,Ut,a,!0)},jr.lowerCase=Gs,jr.lowerFirst=Ks,jr.lt=ds,jr.lte=ps,jr.max=function(e){return e&&e.length?gn(e,ol,Bn):n},jr.maxBy=function(e,t){return e&&e.length?gn(e,ua(t,2),Bn):n},jr.mean=function(e){return Qt(e,ol)},jr.meanBy=function(e,t){return Qt(e,ua(t,2))},jr.min=function(e){return e&&e.length?gn(e,ol,Ln):n},jr.minBy=function(e,t){return e&&e.length?gn(e,ua(t,2),Ln):n},jr.stubArray=gl,jr.stubFalse=ml,jr.stubObject=function(){return{}},jr.stubString=function(){return""},jr.stubTrue=function(){return!0},jr.multiply=Cl,jr.nth=function(e,t){return e&&e.length?Un(e,vs(t)):n},jr.noConflict=function(){return ht._===this&&(ht._=Ve),this},jr.noop=cl,jr.now=Bi,jr.pad=function(e,t,r){e=As(e);var n=(t=vs(t))?pr(e):0;if(!t||n>=t)return e;var o=(t-n)/2;return Go(gt(o),r)+e+Go(vt(o),r)},jr.padEnd=function(e,t,r){e=As(e);var n=(t=vs(t))?pr(e):0;return t&&n<t?e+Go(t-n,r):e},jr.padStart=function(e,t,r){e=As(e);var n=(t=vs(t))?pr(e):0;return t&&n<t?Go(t-n,r)+e:e},jr.parseInt=function(e,t,r){return r||null==t?t=0:t&&(t=+t),xr(As(e).replace(ae,""),t||0)},jr.random=function(e,t,r){if(r&&"boolean"!=typeof r&&xa(e,t,r)&&(t=r=n),r===n&&("boolean"==typeof t?(r=t,t=n):"boolean"==typeof e&&(r=e,e=n)),e===n&&t===n?(e=0,t=1):(e=hs(e),t===n?(t=e,e=0):t=hs(t)),e>t){var o=e;e=t,t=o}if(r||e%1||t%1){var a=wr();return Ar(e+a*(t-e+ut("1e-"+((a+"").length-1))),t)}return Wn(e,t)},jr.reduce=function(e,t,r){var n=Qi(e)?Dt:qt,o=arguments.length<3;return n(e,ua(t,4),r,o,fn)},jr.reduceRight=function(e,t,r){var n=Qi(e)?Ot:qt,o=arguments.length<3;return n(e,ua(t,4),r,o,hn)},jr.repeat=function(e,t,r){return t=(r?xa(e,t,r):t===n)?1:vs(t),Yn(As(e),t)},jr.replace=function(){var e=arguments,t=As(e[0]);return e.length<3?t:t.replace(e[1],e[2])},jr.result=function(e,t,r){var o=-1,a=(t=xo(t,e)).length;for(a||(a=1,e=n);++o<a;){var i=null==e?n:e[Fa(t[o])];i===n&&(o=a,i=r),e=Ji(i)?i.call(e):i}return e},jr.round=kl,jr.runInContext=t,jr.sample=function(e){return(Qi(e)?Xr:Jn)(e)},jr.size=function(e){if(null==e)return 0;if(Ki(e))return ls(e)?pr(e):e.length;var t=ga(e);return t==k||t==T?e.size:On(e).length},jr.snakeCase=qs,jr.some=function(e,t,r){var o=Qi(e)?Ft:ao;return r&&xa(e,t,r)&&(t=n),o(e,ua(t,3))},jr.sortedIndex=function(e,t){return io(e,t)},jr.sortedIndexBy=function(e,t,r){return so(e,t,ua(r,2))},jr.sortedIndexOf=function(e,t){var r=null==e?0:e.length;if(r){var n=io(e,t);if(n<r&&Vi(e[n],t))return n}return-1},jr.sortedLastIndex=function(e,t){return io(e,t,!0)},jr.sortedLastIndexBy=function(e,t,r){return so(e,t,ua(r,2),!0)},jr.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var r=io(e,t,!0)-1;if(Vi(e[r],t))return r}return-1},jr.startCase=Ws,jr.startsWith=function(e,t,r){return e=As(e),r=null==r?0:ln(vs(r),0,e.length),t=uo(t),e.slice(r,r+t.length)==t},jr.subtract=_l,jr.sum=function(e){return e&&e.length?Wt(e,ol):0},jr.sumBy=function(e,t){return e&&e.length?Wt(e,ua(t,2)):0},jr.template=function(e,t,r){var o=jr.templateSettings;r&&xa(e,t,r)&&(t=n),e=As(e),t=ws({},t,o,ea);var a,i,s=ws({},t.imports,o.imports,ea),l=Ns(s),c=Zt(s,l),u=0,d=t.interpolate||xe,p="__p += '",f=Ee((t.escape||xe).source+"|"+d.source+"|"+(d===Z?fe:xe).source+"|"+(t.evaluate||xe).source+"|$","g"),h="//# sourceURL="+(De.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++it+"]")+"\n";e.replace(f,(function(t,r,n,o,s,l){return n||(n=o),p+=e.slice(u,l).replace(we,ar),r&&(a=!0,p+="' +\n__e("+r+") +\n'"),s&&(i=!0,p+="';\n"+s+";\n__p += '"),n&&(p+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),u=l+t.length,t})),p+="';\n";var v=De.call(t,"variable")&&t.variable;if(v){if(de.test(v))throw new ke("Invalid `variable` option passed into `_.template`")}else p="with (obj) {\n"+p+"\n}\n";p=(i?p.replace(U,""):p).replace(Q,"$1").replace(G,"$1;"),p="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var g=Zs((function(){return _e(l,h+"return "+p).apply(n,c)}));if(g.source=p,Xi(g))throw g;return g},jr.times=function(e,t){if((e=vs(e))<1||e>f)return[];var r=v,n=Ar(e,v);t=ua(t),e-=v;for(var o=Yt(n,t);++r<e;)t(r);return o},jr.toFinite=hs,jr.toInteger=vs,jr.toLength=gs,jr.toLower=function(e){return As(e).toLowerCase()},jr.toNumber=ms,jr.toSafeInteger=function(e){return e?ln(vs(e),-9007199254740991,f):0===e?e:0},jr.toString=As,jr.toUpper=function(e){return As(e).toUpperCase()},jr.trim=function(e,t,r){if((e=As(e))&&(r||t===n))return Xt(e);if(!e||!(t=uo(t)))return e;var o=fr(e),a=fr(t);return Co(o,tr(o,a),rr(o,a)+1).join("")},jr.trimEnd=function(e,t,r){if((e=As(e))&&(r||t===n))return e.slice(0,hr(e)+1);if(!e||!(t=uo(t)))return e;var o=fr(e);return Co(o,0,rr(o,fr(t))+1).join("")},jr.trimStart=function(e,t,r){if((e=As(e))&&(r||t===n))return e.replace(ae,"");if(!e||!(t=uo(t)))return e;var o=fr(e);return Co(o,tr(o,fr(t))).join("")},jr.truncate=function(e,t){var r=30,o="...";if(ts(t)){var a="separator"in t?t.separator:a;r="length"in t?vs(t.length):r,o="omission"in t?uo(t.omission):o}var i=(e=As(e)).length;if(ir(e)){var s=fr(e);i=s.length}if(r>=i)return e;var l=r-pr(o);if(l<1)return o;var c=s?Co(s,0,l).join(""):e.slice(0,l);if(a===n)return c+o;if(s&&(l+=c.length-l),is(a)){if(e.slice(l).search(a)){var u,d=c;for(a.global||(a=Ee(a.source,As(he.exec(a))+"g")),a.lastIndex=0;u=a.exec(d);)var p=u.index;c=c.slice(0,p===n?l:p)}}else if(e.indexOf(uo(a),l)!=l){var f=c.lastIndexOf(a);f>-1&&(c=c.slice(0,f))}return c+o},jr.unescape=function(e){return(e=As(e))&&W.test(e)?e.replace(K,vr):e},jr.uniqueId=function(e){var t=++Oe;return As(e)+t},jr.upperCase=Ys,jr.upperFirst=Xs,jr.each=Ai,jr.eachRight=yi,jr.first=Ka,ll(jr,(wl={},xn(jr,(function(e,t){De.call(jr.prototype,t)||(wl[t]=e)})),wl),{chain:!1}),jr.VERSION="4.17.21",Et(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){jr[e].placeholder=jr})),Et(["drop","take"],(function(e,t){Ur.prototype[e]=function(r){r=r===n?1:br(vs(r),0);var o=this.__filtered__&&!t?new Ur(this):this.clone();return o.__filtered__?o.__takeCount__=Ar(r,o.__takeCount__):o.__views__.push({size:Ar(r,v),type:e+(o.__dir__<0?"Right":"")}),o},Ur.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Et(["filter","map","takeWhile"],(function(e,t){var r=t+1,n=1==r||3==r;Ur.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ua(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}})),Et(["head","last"],(function(e,t){var r="take"+(t?"Right":"");Ur.prototype[e]=function(){return this[r](1).value()[0]}})),Et(["initial","tail"],(function(e,t){var r="drop"+(t?"":"Right");Ur.prototype[e]=function(){return this.__filtered__?new Ur(this):this[r](1)}})),Ur.prototype.compact=function(){return this.filter(ol)},Ur.prototype.find=function(e){return this.filter(e).head()},Ur.prototype.findLast=function(e){return this.reverse().find(e)},Ur.prototype.invokeMap=Xn((function(e,t){return"function"==typeof e?new Ur(this):this.map((function(r){return In(r,e,t)}))})),Ur.prototype.reject=function(e){return this.filter(Di(ua(e)))},Ur.prototype.slice=function(e,t){e=vs(e);var r=this;return r.__filtered__&&(e>0||t<0)?new Ur(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==n&&(r=(t=vs(t))<0?r.dropRight(-t):r.take(t-e)),r)},Ur.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Ur.prototype.toArray=function(){return this.take(v)},xn(Ur.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),o=/^(?:head|last)$/.test(t),a=jr[o?"take"+("last"==t?"Right":""):t],i=o||/^find/.test(t);a&&(jr.prototype[t]=function(){var t=this.__wrapped__,s=o?[1]:arguments,l=t instanceof Ur,c=s[0],u=l||Qi(t),d=function(e){var t=a.apply(jr,Rt([e],s));return o&&p?t[0]:t};u&&r&&"function"==typeof c&&1!=c.length&&(l=u=!1);var p=this.__chain__,f=!!this.__actions__.length,h=i&&!p,v=l&&!f;if(!i&&u){t=v?t:new Ur(this);var g=e.apply(t,s);return g.__actions__.push({func:hi,args:[d],thisArg:n}),new Hr(g,p)}return h&&v?e.apply(this,s):(g=this.thru(d),h?o?g.value()[0]:g.value():g)})})),Et(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Ie[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);jr.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var o=this.value();return t.apply(Qi(o)?o:[],e)}return this[r]((function(r){return t.apply(Qi(r)?r:[],e)}))}})),xn(Ur.prototype,(function(e,t){var r=jr[t];if(r){var n=r.name+"";De.call(Ir,n)||(Ir[n]=[]),Ir[n].push({name:t,func:r})}})),Ir[$o(n,2).name]=[{name:"wrapper",func:n}],Ur.prototype.clone=function(){var e=new Ur(this.__wrapped__);return e.__actions__=Io(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Io(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Io(this.__views__),e},Ur.prototype.reverse=function(){if(this.__filtered__){var e=new Ur(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Ur.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=Qi(e),n=t<0,o=r?e.length:0,a=function(e,t,r){var n=-1,o=r.length;for(;++n<o;){var a=r[n],i=a.size;switch(a.type){case"drop":e+=i;break;case"dropRight":t-=i;break;case"take":t=Ar(t,e+i);break;case"takeRight":e=br(e,t-i)}}return{start:e,end:t}}(0,o,this.__views__),i=a.start,s=a.end,l=s-i,c=n?s:i-1,u=this.__iteratees__,d=u.length,p=0,f=Ar(l,this.__takeCount__);if(!r||!n&&o==l&&f==l)return go(e,this.__actions__);var h=[];e:for(;l--&&p<f;){for(var v=-1,g=e[c+=t];++v<d;){var m=u[v],b=m.iteratee,A=m.type,y=b(g);if(2==A)g=y;else if(!y){if(1==A)continue e;break e}}h[p++]=g}return h},jr.prototype.at=vi,jr.prototype.chain=function(){return fi(this)},jr.prototype.commit=function(){return new Hr(this.value(),this.__chain__)},jr.prototype.next=function(){this.__values__===n&&(this.__values__=fs(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?n:this.__values__[this.__index__++]}},jr.prototype.plant=function(e){for(var t,r=this;r instanceof $r;){var o=ja(r);o.__index__=0,o.__values__=n,t?a.__wrapped__=o:t=o;var a=o;r=r.__wrapped__}return a.__wrapped__=e,t},jr.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Ur){var t=e;return this.__actions__.length&&(t=new Ur(this)),(t=t.reverse()).__actions__.push({func:hi,args:[ti],thisArg:n}),new Hr(t,this.__chain__)}return this.thru(ti)},jr.prototype.toJSON=jr.prototype.valueOf=jr.prototype.value=function(){return go(this.__wrapped__,this.__actions__)},jr.prototype.first=jr.prototype.head,Je&&(jr.prototype[Je]=function(){return this}),jr}();gt?((gt.exports=gr)._=gr,vt._=gr):ht._=gr}).call(commonjsGlobal)}(lodash,lodash.exports);var lodashExports=lodash.exports,speedEdit="_speedEdit_iqru4_1",speedIcon="_speedIcon_iqru4_6",styles$7={speedEdit:speedEdit,speedIcon:speedIcon},TheSpeed=defineComponent({name:"TheSpeed",emits:["change"],setup:function(e,t){var r=t.emit,n=reactive({speed:80});return function(){return createVNode("div",null,[createVNode("div",{class:styles$7.speedEdit,onKeyup:function(e){return e.stopPropagation()}},[createVNode(NInputNumber,{size:"large",value:n.speed,"onUpdate:value":[function(e){return n.speed=e},function(){r("change",{type:"speeds",value:"Q:1/4="+n.speed})}],min:45,max:270},{prefix:function(){return createVNode("div",{class:styles$7.speedIcon},[createVNode(TheIcon,{iconClassName:"icon-a-sudu-4fenyinfu",size:["2em","1em"]},null)])}})])])}}}),_hoisted_1$2={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 256 512"},_hoisted_2$2=createBaseVNode("path",{d:"M96 496V16c0-8.8-7.2-16-16-16H48c-8.8 0-16 7.2-16 16v480c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16zm128 0V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v480c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16z",fill:"currentColor"},null,-1),_hoisted_3$2=[_hoisted_2$2],GripLinesVertical=defineComponent({name:"GripLinesVertical",render:function(e,t){return openBlock(),createElementBlock("svg",_hoisted_1$2,_hoisted_3$2)}}),_hoisted_1$1={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 256 512"},_hoisted_2$1=createBaseVNode("path",{d:"M168 345.941V44c0-6.627-5.373-12-12-12h-56c-6.627 0-12 5.373-12 12v301.941H41.941c-21.382 0-32.09 25.851-16.971 40.971l86.059 86.059c9.373 9.373 24.569 9.373 33.941 0l86.059-86.059c15.119-15.119 4.411-40.971-16.971-40.971H168z",fill:"currentColor"},null,-1),_hoisted_3$1=[_hoisted_2$1],LongArrowAltDown=defineComponent({name:"LongArrowAltDown",render:function(e,t){return openBlock(),createElementBlock("svg",_hoisted_1$1,_hoisted_3$1)}}),_hoisted_1={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 256 512"},_hoisted_2=createBaseVNode("path",{d:"M88 166.059V468c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12V166.059h46.059c21.382 0 32.09-25.851 16.971-40.971l-86.059-86.059c-9.373-9.373-24.569-9.373-33.941 0l-86.059 86.059c-15.119 15.119-4.411 40.971 16.971 40.971H88z",fill:"currentColor"},null,-1),_hoisted_3=[_hoisted_2],LongArrowAltUp=defineComponent({name:"LongArrowAltUp",render:function(e,t){return openBlock(),createElementBlock("svg",_hoisted_1,_hoisted_3)}}),raf$1={exports:{}},performanceNow={exports:{}};(function(){var e,t,r,n,o,a;"undefined"!=typeof performance&&null!==performance&&performance.now?performanceNow.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(performanceNow.exports=function(){return(e()-o)/1e6},t=process.hrtime,n=(e=function(){var e;return 1e9*(e=t())[0]+e[1]})(),a=1e9*process.uptime(),o=n-a):Date.now?(performanceNow.exports=function(){return Date.now()-r},r=Date.now()):(performanceNow.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(commonjsGlobal);for(var performanceNowExports=performanceNow.exports,now=performanceNowExports,root="undefined"==typeof window?commonjsGlobal:window,vendors=["moz","webkit"],suffix="AnimationFrame",raf=root["request"+suffix],caf=root["cancel"+suffix]||root["cancelRequest"+suffix],i$1=0;!raf&&i$1<vendors.length;i$1++)raf=root[vendors[i$1]+"Request"+suffix],caf=root[vendors[i$1]+"Cancel"+suffix]||root[vendors[i$1]+"CancelRequest"+suffix];if(!raf||!caf){var last=0,id=0,queue=[],frameDuration=1e3/60;raf=function(t){if(0===queue.length){var r=now(),n=Math.max(0,frameDuration-(r-last));last=n+r,setTimeout((function(){var t=queue.slice(0);queue.length=0;for(var r=function(){if(!t[n].cancelled)try{t[n].callback(last)}catch(e){setTimeout((function(){throw e}),0)}},n=0;n<t.length;n++)r()}),Math.round(n))}return queue.push({handle:++id,callback:t,cancelled:!1}),id},caf=function(e){for(var t=0;t<queue.length;t++)queue[t].handle===e&&(queue[t].cancelled=!0)}}raf$1.exports=function(e){return raf.call(root,e)},raf$1.exports.cancel=function(){caf.apply(root,arguments)},raf$1.exports.polyfill=function(e){e||(e=root),e.requestAnimationFrame=raf,e.cancelAnimationFrame=caf};var rafExports=raf$1.exports,requestAnimationFrame$1=getDefaultExportFromCjs(rafExports),rgbcolor=function(t){this.ok=!1,this.alpha=1,"#"==t.charAt(0)&&(t=t.substr(1,6)),t=(t=t.replace(/ /g,"")).toLowerCase();var r={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};t=r[t]||t;for(var n=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3]),parseFloat(e[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],o=0;o<n.length;o++){var a=n[o].re,i=n[o].process,s=a.exec(t);if(s){var l=i(s);this.r=l[0],this.g=l[1],this.b=l[2],l.length>3&&(this.alpha=l[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),r=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==r.length&&(r="0"+r),"#"+e+t+r},this.getHelpXML=function(){for(var t=new Array,o=0;o<n.length;o++)for(var a=n[o].example,i=0;i<a.length;i++)t[t.length]=a[i];for(var s in r)t[t.length]=s;var l=document.createElement("ul");l.setAttribute("id","rgbcolor-examples");for(o=0;o<t.length;o++)try{var c=document.createElement("li"),u=new RGBColor(t[o]),d=document.createElement("div");d.style.cssText="margin: 3px; border: 1px solid black; background:"+u.toHex()+"; color:"+u.toHex(),d.appendChild(document.createTextNode("test"));var p=document.createTextNode(" "+t[o]+" -> "+u.toRGB()+" -> "+u.toHex());c.appendChild(d),c.appendChild(p),l.appendChild(c)}catch(e){}return l}},RGBColor$1=getDefaultExportFromCjs(rgbcolor),_t3=function(e,t){return(_t3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}_t3(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function e(e){var t="";Array.isArray(e)||(e=[e]);for(var r=0;r<e.length;r++){var n=e[r];if(n.type===_.CLOSE_PATH)t+="z";else if(n.type===_.HORIZ_LINE_TO)t+=(n.relative?"h":"H")+n.x;else if(n.type===_.VERT_LINE_TO)t+=(n.relative?"v":"V")+n.y;else if(n.type===_.MOVE_TO)t+=(n.relative?"m":"M")+n.x+" "+n.y;else if(n.type===_.LINE_TO)t+=(n.relative?"l":"L")+n.x+" "+n.y;else if(n.type===_.CURVE_TO)t+=(n.relative?"c":"C")+n.x1+" "+n.y1+" "+n.x2+" "+n.y2+" "+n.x+" "+n.y;else if(n.type===_.SMOOTH_CURVE_TO)t+=(n.relative?"s":"S")+n.x2+" "+n.y2+" "+n.x+" "+n.y;else if(n.type===_.QUAD_TO)t+=(n.relative?"q":"Q")+n.x1+" "+n.y1+" "+n.x+" "+n.y;else if(n.type===_.SMOOTH_QUAD_TO)t+=(n.relative?"t":"T")+n.x+" "+n.y;else{if(n.type!==_.ARC)throw new Error('Unexpected command type "'+n.type+'" at index '+r+".");t+=(n.relative?"a":"A")+n.rX+" "+n.rY+" "+n.xRot+" "+ +n.lArcFlag+" "+ +n.sweepFlag+" "+n.x+" "+n.y}}return t}function i(e,t){var r=e[0],n=e[1];return[r*Math.cos(t)-n*Math.sin(t),r*Math.sin(t)+n*Math.cos(t)]}function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0;r<e.length;r++)if("number"!=typeof e[r])throw new Error("assertNumbers arguments["+r+"] is not a number. "+_typeof2(e[r])+" == typeof "+e[r]);return!0}var n=Math.PI;function o(e,t,r){e.lArcFlag=0===e.lArcFlag?0:1,e.sweepFlag=0===e.sweepFlag?0:1;var o=e.rX,a=e.rY,s=e.x,l=e.y;o=Math.abs(e.rX),a=Math.abs(e.rY);var c=i([(t-s)/2,(r-l)/2],-e.xRot/180*n),u=c[0],d=c[1],p=Math.pow(u,2)/Math.pow(o,2)+Math.pow(d,2)/Math.pow(a,2);1<p&&(o*=Math.sqrt(p),a*=Math.sqrt(p)),e.rX=o,e.rY=a;var f=Math.pow(o,2)*Math.pow(d,2)+Math.pow(a,2)*Math.pow(u,2),h=(e.lArcFlag!==e.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(o,2)*Math.pow(a,2)-f)/f)),v=o*d/a*h,g=-a*u/o*h,m=i([v,g],e.xRot/180*n);e.cX=m[0]+(t+s)/2,e.cY=m[1]+(r+l)/2,e.phi1=Math.atan2((d-g)/a,(u-v)/o),e.phi2=Math.atan2((-d-g)/a,(-u-v)/o),0===e.sweepFlag&&e.phi2>e.phi1&&(e.phi2-=2*n),1===e.sweepFlag&&e.phi2<e.phi1&&(e.phi2+=2*n),e.phi1*=180/n,e.phi2*=180/n}function s(e,t,r){a(e,t,r);var n=e*e+t*t-r*r;if(0>n)return[];if(0===n)return[[e*r/(e*e+t*t),t*r/(e*e+t*t)]];var o=Math.sqrt(n);return[[(e*r+t*o)/(e*e+t*t),(t*r-e*o)/(e*e+t*t)],[(e*r-t*o)/(e*e+t*t),(t*r+e*o)/(e*e+t*t)]]}var u,h=Math.PI/180;function c$1(e,t,r){return(1-r)*e+r*t}function y(e,t,r,o){return e+Math.cos(o/180*n)*t+Math.sin(o/180*n)*r}function p(e,t,r,n){var o=1e-6,a=t-e,i=r-t,s=3*a+3*(n-r)-6*i,l=6*(i-a),c=3*a;return Math.abs(s)<o?[-c/l]:function(e,t,r){void 0===r&&(r=1e-6);var n=e*e/4-t;if(n<-r)return[];if(n<=r)return[-e/2];var o=Math.sqrt(n);return[-e/2-o,-e/2+o]}(l/s,c/s,o)}function m$1(e,t,r,n,o){var a=1-o;return e*(a*a*a)+t*(3*a*a*o)+r*(3*a*o*o)+n*(o*o*o)}!function(e){function t(){return l((function(e,t,r){return e.relative&&(void 0!==e.x1&&(e.x1+=t),void 0!==e.y1&&(e.y1+=r),void 0!==e.x2&&(e.x2+=t),void 0!==e.y2&&(e.y2+=r),void 0!==e.x&&(e.x+=t),void 0!==e.y&&(e.y+=r),e.relative=!1),e}))}function r(){var e=NaN,t=NaN,r=NaN,n=NaN;return l((function(o,a,i){return o.type&_.SMOOTH_CURVE_TO&&(o.type=_.CURVE_TO,e=isNaN(e)?a:e,t=isNaN(t)?i:t,o.x1=o.relative?a-e:2*a-e,o.y1=o.relative?i-t:2*i-t),o.type&_.CURVE_TO?(e=o.relative?a+o.x2:o.x2,t=o.relative?i+o.y2:o.y2):(e=NaN,t=NaN),o.type&_.SMOOTH_QUAD_TO&&(o.type=_.QUAD_TO,r=isNaN(r)?a:r,n=isNaN(n)?i:n,o.x1=o.relative?a-r:2*a-r,o.y1=o.relative?i-n:2*i-n),o.type&_.QUAD_TO?(r=o.relative?a+o.x1:o.x1,n=o.relative?i+o.y1:o.y1):(r=NaN,n=NaN),o}))}function n(){var e=NaN,t=NaN;return l((function(r,n,o){if(r.type&_.SMOOTH_QUAD_TO&&(r.type=_.QUAD_TO,e=isNaN(e)?n:e,t=isNaN(t)?o:t,r.x1=r.relative?n-e:2*n-e,r.y1=r.relative?o-t:2*o-t),r.type&_.QUAD_TO){e=r.relative?n+r.x1:r.x1,t=r.relative?o+r.y1:r.y1;var a=r.x1,i=r.y1;r.type=_.CURVE_TO,r.x1=((r.relative?0:n)+2*a)/3,r.y1=((r.relative?0:o)+2*i)/3,r.x2=(r.x+2*a)/3,r.y2=(r.y+2*i)/3}else e=NaN,t=NaN;return r}))}function l(e){var t=0,r=0,n=NaN,o=NaN;return function(a){if(isNaN(n)&&!(a.type&_.MOVE_TO))throw new Error("path must start with moveto");var i=e(a,t,r,n,o);return a.type&_.CLOSE_PATH&&(t=n,r=o),void 0!==a.x&&(t=a.relative?t+a.x:a.x),void 0!==a.y&&(r=a.relative?r+a.y:a.y),a.type&_.MOVE_TO&&(n=t,o=r),i}}function c(e,t,r,n,o,i){return a(e,t,r,n,o,i),l((function(a,s,l,c){var u=a.x1,d=a.x2,p=a.relative&&!isNaN(c),f=void 0!==a.x?a.x:p?0:s,h=void 0!==a.y?a.y:p?0:l;function v(e){return e*e}a.type&_.HORIZ_LINE_TO&&0!==t&&(a.type=_.LINE_TO,a.y=a.relative?0:l),a.type&_.VERT_LINE_TO&&0!==r&&(a.type=_.LINE_TO,a.x=a.relative?0:s),void 0!==a.x&&(a.x=a.x*e+h*r+(p?0:o)),void 0!==a.y&&(a.y=f*t+a.y*n+(p?0:i)),void 0!==a.x1&&(a.x1=a.x1*e+a.y1*r+(p?0:o)),void 0!==a.y1&&(a.y1=u*t+a.y1*n+(p?0:i)),void 0!==a.x2&&(a.x2=a.x2*e+a.y2*r+(p?0:o)),void 0!==a.y2&&(a.y2=d*t+a.y2*n+(p?0:i));var g=e*n-t*r;if(void 0!==a.xRot&&(1!==e||0!==t||0!==r||1!==n))if(0===g)delete a.rX,delete a.rY,delete a.xRot,delete a.lArcFlag,delete a.sweepFlag,a.type=_.LINE_TO;else{var m=a.xRot*Math.PI/180,b=Math.sin(m),A=Math.cos(m),y=1/v(a.rX),x=1/v(a.rY),w=v(A)*y+v(b)*x,C=2*b*A*(y-x),k=v(b)*y+v(A)*x,S=w*n*n-C*t*n+k*t*t,B=C*(e*n+t*r)-2*(w*r*n+k*e*t),E=w*r*r-C*e*r+k*e*e,T=(Math.atan2(B,S-E)+Math.PI)%Math.PI/2,P=Math.sin(T),I=Math.cos(T);a.rX=Math.abs(g)/Math.sqrt(S*v(I)+B*P*I+E*v(P)),a.rY=Math.abs(g)/Math.sqrt(S*v(P)-B*P*I+E*v(I)),a.xRot=180*T/Math.PI}return void 0!==a.sweepFlag&&0>g&&(a.sweepFlag=+!a.sweepFlag),a}))}e.ROUND=function(e){function t(t){return Math.round(t*e)/e}return void 0===e&&(e=1e13),a(e),function(e){return void 0!==e.x1&&(e.x1=t(e.x1)),void 0!==e.y1&&(e.y1=t(e.y1)),void 0!==e.x2&&(e.x2=t(e.x2)),void 0!==e.y2&&(e.y2=t(e.y2)),void 0!==e.x&&(e.x=t(e.x)),void 0!==e.y&&(e.y=t(e.y)),void 0!==e.rX&&(e.rX=t(e.rX)),void 0!==e.rY&&(e.rY=t(e.rY)),e}},e.TO_ABS=t,e.TO_REL=function(){return l((function(e,t,r){return e.relative||(void 0!==e.x1&&(e.x1-=t),void 0!==e.y1&&(e.y1-=r),void 0!==e.x2&&(e.x2-=t),void 0!==e.y2&&(e.y2-=r),void 0!==e.x&&(e.x-=t),void 0!==e.y&&(e.y-=r),e.relative=!0),e}))},e.NORMALIZE_HVZ=function(e,t,r){return void 0===e&&(e=!0),void 0===t&&(t=!0),void 0===r&&(r=!0),l((function(n,o,a,i,s){if(isNaN(i)&&!(n.type&_.MOVE_TO))throw new Error("path must start with moveto");return t&&n.type&_.HORIZ_LINE_TO&&(n.type=_.LINE_TO,n.y=n.relative?0:a),r&&n.type&_.VERT_LINE_TO&&(n.type=_.LINE_TO,n.x=n.relative?0:o),e&&n.type&_.CLOSE_PATH&&(n.type=_.LINE_TO,n.x=n.relative?i-o:i,n.y=n.relative?s-a:s),n.type&_.ARC&&(0===n.rX||0===n.rY)&&(n.type=_.LINE_TO,delete n.rX,delete n.rY,delete n.xRot,delete n.lArcFlag,delete n.sweepFlag),n}))},e.NORMALIZE_ST=r,e.QT_TO_C=n,e.INFO=l,e.SANITIZE=function(e){void 0===e&&(e=0),a(e);var t=NaN,r=NaN,n=NaN,o=NaN;return l((function(a,i,s,l,c){var u=Math.abs,d=!1,p=0,f=0;if(a.type&_.SMOOTH_CURVE_TO&&(p=isNaN(t)?0:i-t,f=isNaN(r)?0:s-r),a.type&(_.CURVE_TO|_.SMOOTH_CURVE_TO)?(t=a.relative?i+a.x2:a.x2,r=a.relative?s+a.y2:a.y2):(t=NaN,r=NaN),a.type&_.SMOOTH_QUAD_TO?(n=isNaN(n)?i:2*i-n,o=isNaN(o)?s:2*s-o):a.type&_.QUAD_TO?(n=a.relative?i+a.x1:a.x1,o=a.relative?s+a.y1:a.y2):(n=NaN,o=NaN),a.type&_.LINE_COMMANDS||a.type&_.ARC&&(0===a.rX||0===a.rY||!a.lArcFlag)||a.type&_.CURVE_TO||a.type&_.SMOOTH_CURVE_TO||a.type&_.QUAD_TO||a.type&_.SMOOTH_QUAD_TO){var h=void 0===a.x?0:a.relative?a.x:a.x-i,v=void 0===a.y?0:a.relative?a.y:a.y-s;p=isNaN(n)?void 0===a.x1?p:a.relative?a.x:a.x1-i:n-i,f=isNaN(o)?void 0===a.y1?f:a.relative?a.y:a.y1-s:o-s;var g=void 0===a.x2?0:a.relative?a.x:a.x2-i,m=void 0===a.y2?0:a.relative?a.y:a.y2-s;u(h)<=e&&u(v)<=e&&u(p)<=e&&u(f)<=e&&u(g)<=e&&u(m)<=e&&(d=!0)}return a.type&_.CLOSE_PATH&&u(i-l)<=e&&u(s-c)<=e&&(d=!0),d?[]:a}))},e.MATRIX=c,e.ROTATE=function(e,t,r){void 0===t&&(t=0),void 0===r&&(r=0),a(e,t,r);var n=Math.sin(e),o=Math.cos(e);return c(o,n,-n,o,t-t*o+r*n,r-t*n-r*o)},e.TRANSLATE=function(e,t){return void 0===t&&(t=0),a(e,t),c(1,0,0,1,e,t)},e.SCALE=function(e,t){return void 0===t&&(t=e),a(e,t),c(e,0,0,t,0,0)},e.SKEW_X=function(e){return a(e),c(1,0,Math.atan(e),1,0,0)},e.SKEW_Y=function(e){return a(e),c(1,Math.atan(e),0,1,0,0)},e.X_AXIS_SYMMETRY=function(e){return void 0===e&&(e=0),a(e),c(-1,0,0,1,e,0)},e.Y_AXIS_SYMMETRY=function(e){return void 0===e&&(e=0),a(e),c(1,0,0,-1,0,e)},e.A_TO_C=function(){return l((function(e,t,r){return _.ARC===e.type?function(e,t,r){var n,a,s,l;e.cX||o(e,t,r);for(var c=Math.min(e.phi1,e.phi2),u=Math.max(e.phi1,e.phi2)-c,d=Math.ceil(u/90),p=new Array(d),f=t,v=r,g=0;g<d;g++){var m=c$1(e.phi1,e.phi2,g/d),b=c$1(e.phi1,e.phi2,(g+1)/d),A=b-m,y=4/3*Math.tan(A*h/4),x=[Math.cos(m*h)-y*Math.sin(m*h),Math.sin(m*h)+y*Math.cos(m*h)],w=x[0],C=x[1],k=[Math.cos(b*h),Math.sin(b*h)],S=k[0],B=k[1],E=[S+y*Math.sin(b*h),B-y*Math.cos(b*h)],T=E[0],P=E[1];p[g]={relative:e.relative,type:_.CURVE_TO};var I=function(t,r){var n=i([t*e.rX,r*e.rY],e.xRot),o=n[0],a=n[1];return[e.cX+o,e.cY+a]};n=I(w,C),p[g].x1=n[0],p[g].y1=n[1],a=I(T,P),p[g].x2=a[0],p[g].y2=a[1],s=I(S,B),p[g].x=s[0],p[g].y=s[1],e.relative&&(p[g].x1-=f,p[g].y1-=v,p[g].x2-=f,p[g].y2-=v,p[g].x-=f,p[g].y-=v),f=(l=[p[g].x,p[g].y])[0],v=l[1]}return p}(e,e.relative?0:t,e.relative?0:r):e}))},e.ANNOTATE_ARCS=function(){return l((function(e,t,r){return e.relative&&(t=0,r=0),_.ARC===e.type&&o(e,t,r),e}))},e.CLONE=function(){return function(e){var t={};for(var r in e)t[r]=e[r];return t}},e.CALCULATE_BOUNDS=function(){var e=t(),a=n(),i=r(),c=l((function(t,r,n){var l=i(a(e(function(e){var t={};for(var r in e)t[r]=e[r];return t}(t))));function u(e){e>c.maxX&&(c.maxX=e),e<c.minX&&(c.minX=e)}function d(e){e>c.maxY&&(c.maxY=e),e<c.minY&&(c.minY=e)}if(l.type&_.DRAWING_COMMANDS&&(u(r),d(n)),l.type&_.HORIZ_LINE_TO&&u(l.x),l.type&_.VERT_LINE_TO&&d(l.y),l.type&_.LINE_TO&&(u(l.x),d(l.y)),l.type&_.CURVE_TO){u(l.x),d(l.y);for(var f=0,h=p(r,l.x1,l.x2,l.x);f<h.length;f++)0<(N=h[f])&&1>N&&u(m$1(r,l.x1,l.x2,l.x,N));for(var v=0,g=p(n,l.y1,l.y2,l.y);v<g.length;v++)0<(N=g[v])&&1>N&&d(m$1(n,l.y1,l.y2,l.y,N))}if(l.type&_.ARC){u(l.x),d(l.y),o(l,r,n);for(var m=l.xRot/180*Math.PI,b=Math.cos(m)*l.rX,A=Math.sin(m)*l.rX,x=-Math.sin(m)*l.rY,w=Math.cos(m)*l.rY,C=l.phi1<l.phi2?[l.phi1,l.phi2]:-180>l.phi2?[l.phi2+360,l.phi1+360]:[l.phi2,l.phi1],k=C[0],S=C[1],B=function(e){var t=e[0],r=e[1],n=180*Math.atan2(r,t)/Math.PI;return n<k?n+360:n},E=0,T=s(x,-b,0).map(B);E<T.length;E++)(N=T[E])>k&&N<S&&u(y(l.cX,b,x,N));for(var P=0,I=s(w,-A,0).map(B);P<I.length;P++){var N;(N=I[P])>k&&N<S&&d(y(l.cY,A,w,N))}}return t}));return c.minX=1/0,c.maxX=-1/0,c.minY=1/0,c.maxY=-1/0,c}}(u||(u={}));var O,l=function(){function e(){}return e.prototype.round=function(e){return this.transform(u.ROUND(e))},e.prototype.toAbs=function(){return this.transform(u.TO_ABS())},e.prototype.toRel=function(){return this.transform(u.TO_REL())},e.prototype.normalizeHVZ=function(e,t,r){return this.transform(u.NORMALIZE_HVZ(e,t,r))},e.prototype.normalizeST=function(){return this.transform(u.NORMALIZE_ST())},e.prototype.qtToC=function(){return this.transform(u.QT_TO_C())},e.prototype.aToC=function(){return this.transform(u.A_TO_C())},e.prototype.sanitize=function(e){return this.transform(u.SANITIZE(e))},e.prototype.translate=function(e,t){return this.transform(u.TRANSLATE(e,t))},e.prototype.scale=function(e,t){return this.transform(u.SCALE(e,t))},e.prototype.rotate=function(e,t,r){return this.transform(u.ROTATE(e,t,r))},e.prototype.matrix=function(e,t,r,n,o,a){return this.transform(u.MATRIX(e,t,r,n,o,a))},e.prototype.skewX=function(e){return this.transform(u.SKEW_X(e))},e.prototype.skewY=function(e){return this.transform(u.SKEW_Y(e))},e.prototype.xSymmetry=function(e){return this.transform(u.X_AXIS_SYMMETRY(e))},e.prototype.ySymmetry=function(e){return this.transform(u.Y_AXIS_SYMMETRY(e))},e.prototype.annotateArcs=function(){return this.transform(u.ANNOTATE_ARCS())},e}(),T=function(e){return" "===e||"\t"===e||"\r"===e||"\n"===e},v=function(e){return"0".charCodeAt(0)<=e.charCodeAt(0)&&e.charCodeAt(0)<="9".charCodeAt(0)},f=function(e){function t(){var t=e.call(this)||this;return t.curNumber="",t.curCommandType=-1,t.curCommandRelative=!1,t.canParseCommandOrComma=!0,t.curNumberHasExp=!1,t.curNumberHasExpDigits=!1,t.curNumberHasDecimal=!1,t.curArgs=[],t}return r(t,e),t.prototype.finish=function(e){if(void 0===e&&(e=[]),this.parse(" ",e),0!==this.curArgs.length||!this.canParseCommandOrComma)throw new SyntaxError("Unterminated command at the path end.");return e},t.prototype.parse=function(e,t){var r=this;void 0===t&&(t=[]);for(var n=function(e){t.push(e),r.curArgs.length=0,r.canParseCommandOrComma=!0},o=0;o<e.length;o++){var a=e[o],i=!(this.curCommandType!==_.ARC||3!==this.curArgs.length&&4!==this.curArgs.length||1!==this.curNumber.length||"0"!==this.curNumber&&"1"!==this.curNumber),s=v(a)&&("0"===this.curNumber&&"0"===a||i);if(!v(a)||s)if("e"!==a&&"E"!==a)if("-"!==a&&"+"!==a||!this.curNumberHasExp||this.curNumberHasExpDigits)if("."!==a||this.curNumberHasExp||this.curNumberHasDecimal||i){if(this.curNumber&&-1!==this.curCommandType){var l=Number(this.curNumber);if(isNaN(l))throw new SyntaxError("Invalid number ending at "+o);if(this.curCommandType===_.ARC)if(0===this.curArgs.length||1===this.curArgs.length){if(0>l)throw new SyntaxError('Expected positive number, got "'+l+'" at index "'+o+'"')}else if((3===this.curArgs.length||4===this.curArgs.length)&&"0"!==this.curNumber&&"1"!==this.curNumber)throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+o+'"');this.curArgs.push(l),this.curArgs.length===N[this.curCommandType]&&(_.HORIZ_LINE_TO===this.curCommandType?n({type:_.HORIZ_LINE_TO,relative:this.curCommandRelative,x:l}):_.VERT_LINE_TO===this.curCommandType?n({type:_.VERT_LINE_TO,relative:this.curCommandRelative,y:l}):this.curCommandType===_.MOVE_TO||this.curCommandType===_.LINE_TO||this.curCommandType===_.SMOOTH_QUAD_TO?(n({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),_.MOVE_TO===this.curCommandType&&(this.curCommandType=_.LINE_TO)):this.curCommandType===_.CURVE_TO?n({type:_.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===_.SMOOTH_CURVE_TO?n({type:_.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===_.QUAD_TO?n({type:_.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===_.ARC&&n({type:_.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!T(a))if(","===a&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if("+"!==a&&"-"!==a&&"."!==a)if(s)this.curNumber=a,this.curNumberHasDecimal=!1;else{if(0!==this.curArgs.length)throw new SyntaxError("Unterminated command at index "+o+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+a+'" at index '+o+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,"z"!==a&&"Z"!==a)if("h"===a||"H"===a)this.curCommandType=_.HORIZ_LINE_TO,this.curCommandRelative="h"===a;else if("v"===a||"V"===a)this.curCommandType=_.VERT_LINE_TO,this.curCommandRelative="v"===a;else if("m"===a||"M"===a)this.curCommandType=_.MOVE_TO,this.curCommandRelative="m"===a;else if("l"===a||"L"===a)this.curCommandType=_.LINE_TO,this.curCommandRelative="l"===a;else if("c"===a||"C"===a)this.curCommandType=_.CURVE_TO,this.curCommandRelative="c"===a;else if("s"===a||"S"===a)this.curCommandType=_.SMOOTH_CURVE_TO,this.curCommandRelative="s"===a;else if("q"===a||"Q"===a)this.curCommandType=_.QUAD_TO,this.curCommandRelative="q"===a;else if("t"===a||"T"===a)this.curCommandType=_.SMOOTH_QUAD_TO,this.curCommandRelative="t"===a;else{if("a"!==a&&"A"!==a)throw new SyntaxError('Unexpected character "'+a+'" at index '+o+".");this.curCommandType=_.ARC,this.curCommandRelative="a"===a}else t.push({type:_.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=a,this.curNumberHasDecimal="."===a}else this.curNumber+=a,this.curNumberHasDecimal=!0;else this.curNumber+=a;else this.curNumber+=a,this.curNumberHasExp=!0;else this.curNumber+=a,this.curNumberHasExpDigits=this.curNumberHasExp}return t},t.prototype.transform=function(e){return Object.create(this,{parse:{value:function(t,r){void 0===r&&(r=[]);for(var n=0,o=Object.getPrototypeOf(this).parse.call(this,t);n<o.length;n++){var a=o[n],i=e(a);Array.isArray(i)?r.push.apply(r,i):r.push(i)}return r}}})},t}(l),_=function(t){function n(e){var r=t.call(this)||this;return r.commands="string"==typeof e?n.parse(e):e,r}return r(n,t),n.prototype.encode=function(){return n.encode(this.commands)},n.prototype.getBounds=function(){var e=u.CALCULATE_BOUNDS();return this.transform(e),e},n.prototype.transform=function(e){for(var t=[],r=0,n=this.commands;r<n.length;r++){var o=e(n[r]);Array.isArray(o)?t.push.apply(t,o):t.push(o)}return this.commands=t,this},n.encode=function(t){return e(t)},n.parse=function(e){var t=new f,r=[];return t.parse(e,r),t.finish(r),r},n.CLOSE_PATH=1,n.MOVE_TO=2,n.HORIZ_LINE_TO=4,n.VERT_LINE_TO=8,n.LINE_TO=16,n.CURVE_TO=32,n.SMOOTH_CURVE_TO=64,n.QUAD_TO=128,n.SMOOTH_QUAD_TO=256,n.ARC=512,n.LINE_COMMANDS=n.LINE_TO|n.HORIZ_LINE_TO|n.VERT_LINE_TO,n.DRAWING_COMMANDS=n.HORIZ_LINE_TO|n.VERT_LINE_TO|n.LINE_TO|n.CURVE_TO|n.SMOOTH_CURVE_TO|n.QUAD_TO|n.SMOOTH_QUAD_TO|n.ARC,n}(l),N=((O={})[_.MOVE_TO]=2,O[_.LINE_TO]=2,O[_.HORIZ_LINE_TO]=1,O[_.VERT_LINE_TO]=1,O[_.CLOSE_PATH]=0,O[_.QUAD_TO]=4,O[_.SMOOTH_QUAD_TO]=2,O[_.CURVE_TO]=6,O[_.SMOOTH_CURVE_TO]=4,O[_.ARC]=7,O);function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}
  34. /**
  35. * StackBlur - a fast almost Gaussian Blur For Canvas
  36. *
  37. * In case you find this class useful - especially in commercial projects -
  38. * I am not totally unhappy for a small donation to my PayPal account
  39. * mario@quasimondo.de
  40. *
  41. * Or support me on flattr:
  42. * {@link https://flattr.com/thing/72791/StackBlur-a-fast-almost-Gaussian-Blur-Effect-for-CanvasJavascript}.
  43. *
  44. * @module StackBlur
  45. * @author Mario Klingemann
  46. * Contact: mario@quasimondo.com
  47. * Website: {@link http://www.quasimondo.com/StackBlurForCanvas/StackBlurDemo.html}
  48. * Twitter: @quasimondo
  49. *
  50. * @copyright (c) 2010 Mario Klingemann
  51. *
  52. * Permission is hereby granted, free of charge, to any person
  53. * obtaining a copy of this software and associated documentation
  54. * files (the "Software"), to deal in the Software without
  55. * restriction, including without limitation the rights to use,
  56. * copy, modify, merge, publish, distribute, sublicense, and/or sell
  57. * copies of the Software, and to permit persons to whom the
  58. * Software is furnished to do so, subject to the following
  59. * conditions:
  60. *
  61. * The above copyright notice and this permission notice shall be
  62. * included in all copies or substantial portions of the Software.
  63. *
  64. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  65. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
  66. * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  67. * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
  68. * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  69. * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  70. * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  71. * OTHER DEALINGS IN THE SOFTWARE.
  72. */var mulTable=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],shgTable=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function getImageDataFromCanvas(t,r,n,o,a){if("string"==typeof t&&(t=document.getElementById(t)),!t||"object"!==_typeof(t)||!("getContext"in t))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var i=t.getContext("2d");try{return i.getImageData(r,n,o,a)}catch(e){throw new Error("unable to access image data: "+e)}}function processCanvasRGBA(e,t,r,n,o,a){if(!(isNaN(a)||a<1)){a|=0;var i=getImageDataFromCanvas(e,t,r,n,o);i=processImageDataRGBA(i,t,r,n,o,a),e.getContext("2d").putImageData(i,t,r)}}function processImageDataRGBA(e,t,r,n,o,a){for(var i,s=e.data,l=2*a+1,c=n-1,u=o-1,d=a+1,p=d*(d+1)/2,f=new BlurStack,h=f,v=1;v<l;v++)h=h.next=new BlurStack,v===d&&(i=h);h.next=f;for(var g=null,m=null,b=0,A=0,y=mulTable[a],x=shgTable[a],w=0;w<o;w++){h=f;for(var C=s[A],k=s[A+1],_=s[A+2],S=s[A+3],B=0;B<d;B++)h.r=C,h.g=k,h.b=_,h.a=S,h=h.next;for(var E=0,T=0,P=0,I=0,N=d*C,z=d*k,M=d*_,R=d*S,D=p*C,O=p*k,F=p*_,L=p*S,j=1;j<d;j++){var V=A+((c<j?c:j)<<2),$=s[V],H=s[V+1],U=s[V+2],Q=s[V+3],G=d-j;D+=(h.r=$)*G,O+=(h.g=H)*G,F+=(h.b=U)*G,L+=(h.a=Q)*G,E+=$,T+=H,P+=U,I+=Q,h=h.next}g=f,m=i;for(var K=0;K<n;K++){var q=L*y>>x;if(s[A+3]=q,0!==q){var W=255/q;s[A]=(D*y>>x)*W,s[A+1]=(O*y>>x)*W,s[A+2]=(F*y>>x)*W}else s[A]=s[A+1]=s[A+2]=0;D-=N,O-=z,F-=M,L-=R,N-=g.r,z-=g.g,M-=g.b,R-=g.a;var Y=K+a+1;Y=b+(Y<c?Y:c)<<2,D+=E+=g.r=s[Y],O+=T+=g.g=s[Y+1],F+=P+=g.b=s[Y+2],L+=I+=g.a=s[Y+3],g=g.next;var X=m,J=X.r,Z=X.g,ee=X.b,te=X.a;N+=J,z+=Z,M+=ee,R+=te,E-=J,T-=Z,P-=ee,I-=te,m=m.next,A+=4}b+=n}for(var re=0;re<n;re++){var ne=s[A=re<<2],oe=s[A+1],ae=s[A+2],ie=s[A+3],se=d*ne,le=d*oe,ce=d*ae,ue=d*ie,de=p*ne,pe=p*oe,fe=p*ae,he=p*ie;h=f;for(var ve=0;ve<d;ve++)h.r=ne,h.g=oe,h.b=ae,h.a=ie,h=h.next;for(var ge=n,me=0,be=0,Ae=0,ye=0,xe=1;xe<=a;xe++){A=ge+re<<2;var we=d-xe;de+=(h.r=ne=s[A])*we,pe+=(h.g=oe=s[A+1])*we,fe+=(h.b=ae=s[A+2])*we,he+=(h.a=ie=s[A+3])*we,ye+=ne,me+=oe,be+=ae,Ae+=ie,h=h.next,xe<u&&(ge+=n)}A=re,g=f,m=i;for(var Ce=0;Ce<o;Ce++){var ke=A<<2;s[ke+3]=ie=he*y>>x,ie>0?(ie=255/ie,s[ke]=(de*y>>x)*ie,s[ke+1]=(pe*y>>x)*ie,s[ke+2]=(fe*y>>x)*ie):s[ke]=s[ke+1]=s[ke+2]=0,de-=se,pe-=le,fe-=ce,he-=ue,se-=g.r,le-=g.g,ce-=g.b,ue-=g.a,ke=re+((ke=Ce+d)<u?ke:u)*n<<2,de+=ye+=g.r=s[ke],pe+=me+=g.g=s[ke+1],fe+=be+=g.b=s[ke+2],he+=Ae+=g.a=s[ke+3],g=g.next,se+=ne=m.r,le+=oe=m.g,ce+=ae=m.b,ue+=ie=m.a,ye-=ne,me-=oe,be-=ae,Ae-=ie,m=m.next,A+=n}}return e}var BlurStack=function e(){_classCallCheck(this,e),this.r=0,this.g=0,this.b=0,this.a=0,this.next=null};function compressSpaces(e){return e.replace(/(?!\u3000)\s+/gm," ")}function trimLeft(e){return e.replace(/^[\n \t]+/,"")}function trimRight(e){return e.replace(/[\n \t]+$/,"")}function toNumbers(e){var t=e.match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm);return t?t.map(parseFloat):[]}function toMatrixValue(e){var t=toNumbers(e);return[t[0]||0,t[1]||0,t[2]||0,t[3]||0,t[4]||0,t[5]||0]}var allUppercase=/^[A-Z-]+$/;function normalizeAttributeName(e){return allUppercase.test(e)?e.toLowerCase():e}function parseExternalUrl(e){var t=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(e);return t&&(t[2]||t[3]||t[4])||""}function normalizeColor(e){if(!e.startsWith("rgb"))return e;var t=3;return e.replace(/\d+(\.\d+)?/g,(function(e,r){return t--&&r?String(Math.round(parseFloat(e))):e}))}var attributeRegex=/(\[[^\]]+\])/g,idRegex=/(#[^\s+>~.[:]+)/g,classRegex=/(\.[^\s+>~.[:]+)/g,pseudoElementRegex=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,pseudoClassWithBracketsRegex=/(:[\w-]+\([^)]*\))/gi,pseudoClassRegex=/(:[^\s+>~.[:]+)/g,elementRegex=/([^\s+>~.[:]+)/g;function findSelectorMatch(e,t){var r=t.exec(e);return r?[e.replace(t," "),r.length]:[e,0]}function getSelectorSpecificity(e){var t=[0,0,0],r=e.replace(/:not\(([^)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),n=0,o=_slicedToArray(findSelectorMatch(r,attributeRegex),2);r=o[0],n=o[1],t[1]+=n;var a=_slicedToArray(findSelectorMatch(r,idRegex),2);r=a[0],n=a[1],t[0]+=n;var i=_slicedToArray(findSelectorMatch(r,classRegex),2);r=i[0],n=i[1],t[1]+=n;var s=_slicedToArray(findSelectorMatch(r,pseudoElementRegex),2);r=s[0],n=s[1],t[2]+=n;var l=_slicedToArray(findSelectorMatch(r,pseudoClassWithBracketsRegex),2);r=l[0],n=l[1],t[1]+=n;var c=_slicedToArray(findSelectorMatch(r,pseudoClassRegex),2);r=c[0],n=c[1],t[1]+=n;var u=_slicedToArray(findSelectorMatch(r=r.replace(/[*\s+>~]/g," ").replace(/[#.]/g," "),elementRegex),2);return r=u[0],n=u[1],t[2]+=n,t.join("")}var PSEUDO_ZERO=1e-8;function vectorMagnitude(e){return Math.sqrt(Math.pow(e[0],2)+Math.pow(e[1],2))}function vectorsRatio(e,t){return(e[0]*t[0]+e[1]*t[1])/(vectorMagnitude(e)*vectorMagnitude(t))}function vectorsAngle(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(vectorsRatio(e,t))}function CB1(e){return e*e*e}function CB2(e){return 3*e*e*(1-e)}function CB3(e){return 3*e*(1-e)*(1-e)}function CB4(e){return(1-e)*(1-e)*(1-e)}function QB1(e){return e*e}function QB2(e){return 2*e*(1-e)}function QB3(e){return(1-e)*(1-e)}var Property=function(){function e(t,r,n){_classCallCheck2(this,e),this.document=t,this.name=r,this.value=n,this.isNormalizedColor=!1}return _createClass2(e,[{key:"split",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:" ",r=this.document,n=this.name;return compressSpaces(this.getString()).trim().split(t).map((function(t){return new e(r,n,t)}))}},{key:"hasValue",value:function(e){var t=this.value;return null!==t&&""!==t&&(e||0!==t)&&void 0!==t}},{key:"isString",value:function(e){var t=this.value,r="string"==typeof t;return r&&e?e.test(t):r}},{key:"isUrlDefinition",value:function(){return this.isString(/^url\(/)}},{key:"isPixels",value:function(){if(!this.hasValue())return!1;var e=this.getString();switch(!0){case e.endsWith("px"):case/^[0-9]+$/.test(e):return!0;default:return!1}}},{key:"setValue",value:function(e){return this.value=e,this}},{key:"getValue",value:function(e){return void 0===e||this.hasValue()?this.value:e}},{key:"getNumber",value:function(e){if(!this.hasValue())return void 0===e?0:parseFloat(e);var t=this.value,r=parseFloat(t);return this.isString(/%$/)&&(r/=100),r}},{key:"getString",value:function(e){return void 0===e||this.hasValue()?void 0===this.value?"":String(this.value):String(e)}},{key:"getColor",value:function(e){var t=this.getString(e);return this.isNormalizedColor||(this.isNormalizedColor=!0,t=normalizeColor(t),this.value=t),t}},{key:"getDpi",value:function(){return 96}},{key:"getRem",value:function(){return this.document.rootEmSize}},{key:"getEm",value:function(){return this.document.emSize}},{key:"getUnits",value:function(){return this.getString().replace(/[0-9.-]/g,"")}},{key:"getPixels",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.hasValue())return 0;var r=_slicedToArray("boolean"==typeof e?[void 0,e]:[e],2),n=r[0],o=r[1],a=this.document.screen.viewPort;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(a.computeSize("x"),a.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(a.computeSize("x"),a.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*a.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*a.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return 15*this.getNumber();case this.isString(/cm$/):return this.getNumber()*this.getDpi()/2.54;case this.isString(/mm$/):return this.getNumber()*this.getDpi()/25.4;case this.isString(/in$/):return this.getNumber()*this.getDpi();case this.isString(/%$/)&&o:return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*a.computeSize(n);default:var i=this.getNumber();return t&&i<1?i*a.computeSize(n):i}}},{key:"getMilliseconds",value:function(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():1e3*this.getNumber():0}},{key:"getRadians",value:function(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}},{key:"getDefinition",value:function(){var e=this.getString(),t=/#([^)'"]+)/.exec(e),r=(null==t?void 0:t[1])||e;return this.document.definitions[r]}},{key:"getFillStyleDefinition",value:function(e,t){var r=this.getDefinition();if(!r)return null;if("function"==typeof r.createGradient&&"getBoundingBox"in e)return r.createGradient(this.document.ctx,e,t);if("function"==typeof r.createPattern){if(r.getHrefAttribute().hasValue()){var n=r.getAttribute("patternTransform");(r=r.getHrefAttribute().getDefinition())&&n.hasValue()&&r.getAttribute("patternTransform",!0).setValue(n.value)}if(r)return r.createPattern(this.document.ctx,e,t)}return null}},{key:"getTextBaseline",value:function(){if(!this.hasValue())return null;var t=this.getString();return e.textBaselineMapping[t]||null}},{key:"addOpacity",value:function(t){for(var r=this.getColor(),n=r.length,o=0,a=0;a<n&&(","===r[a]&&o++,3!==o);a++);if(t.hasValue()&&this.isString()&&3!==o){var i=new RGBColor$1(r);i.ok&&(i.alpha=t.getNumber(),r=i.toRGBA())}return new e(this.document,this.name,r)}}],[{key:"empty",value:function(t){return new e(t,"EMPTY","")}}]),e}();Property.textBaselineMapping={baseline:"alphabetic","before-edge":"top","text-before-edge":"top",middle:"middle",central:"middle","after-edge":"bottom","text-after-edge":"bottom",ideographic:"ideographic",alphabetic:"alphabetic",hanging:"hanging",mathematical:"alphabetic"};var ViewPort=function(){function e(){_classCallCheck2(this,e),this.viewPorts=[]}return _createClass2(e,[{key:"clear",value:function(){this.viewPorts=[]}},{key:"setCurrent",value:function(e,t){this.viewPorts.push({width:e,height:t})}},{key:"removeCurrent",value:function(){this.viewPorts.pop()}},{key:"getRoot",value:function(){var e=_slicedToArray(this.viewPorts,1)[0];return e||getDefault()}},{key:"getCurrent",value:function(){var e=this.viewPorts,t=e[e.length-1];return t||getDefault()}},{key:"width",get:function(){return this.getCurrent().width}},{key:"height",get:function(){return this.getCurrent().height}},{key:"computeSize",value:function(e){return"number"==typeof e?e:"x"===e?this.width:"y"===e?this.height:Math.sqrt(Math.pow(this.width,2)+Math.pow(this.height,2))/Math.sqrt(2)}}]),e}();function getDefault(){return{width:ViewPort.DEFAULT_VIEWPORT_WIDTH,height:ViewPort.DEFAULT_VIEWPORT_HEIGHT}}ViewPort.DEFAULT_VIEWPORT_WIDTH=800,ViewPort.DEFAULT_VIEWPORT_HEIGHT=600;var Point=function(){function e(t,r){_classCallCheck2(this,e),this.x=t,this.y=r}return _createClass2(e,[{key:"angleTo",value:function(e){return Math.atan2(e.y-this.y,e.x-this.x)}},{key:"applyTransform",value:function(e){var t=this.x,r=this.y,n=t*e[0]+r*e[2]+e[4],o=t*e[1]+r*e[3]+e[5];this.x=n,this.y=o}}],[{key:"parse",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=_slicedToArray(toNumbers(t),2),o=n[0],a=void 0===o?r:o,i=n[1];return new e(a,void 0===i?r:i)}},{key:"parseScale",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=_slicedToArray(toNumbers(t),2),o=n[0],a=void 0===o?r:o,i=n[1];return new e(a,void 0===i?a:i)}},{key:"parsePath",value:function(t){for(var r=toNumbers(t),n=r.length,o=[],a=0;a<n;a+=2)o.push(new e(r[a],r[a+1]));return o}}]),e}(),Mouse=function(){function e(t){_classCallCheck2(this,e),this.screen=t,this.working=!1,this.events=[],this.eventElements=[],this.onClick=this.onClick.bind(this),this.onMouseMove=this.onMouseMove.bind(this)}return _createClass2(e,[{key:"isWorking",value:function(){return this.working}},{key:"start",value:function(){if(!this.working){var e=this.screen,t=this.onClick,r=this.onMouseMove,n=e.ctx.canvas;n.onclick=t,n.onmousemove=r,this.working=!0}}},{key:"stop",value:function(){if(this.working){var e=this.screen.ctx.canvas;this.working=!1,e.onclick=null,e.onmousemove=null}}},{key:"hasEvents",value:function(){return this.working&&this.events.length>0}},{key:"runEvents",value:function(){if(this.working){var e,t=this.screen,r=this.events,n=this.eventElements,o=t.ctx.canvas.style;o&&(o.cursor=""),r.forEach((function(t,r){var o=t.run;for(e=n[r];e;)o(e),e=e.parent})),this.events=[],this.eventElements=[]}}},{key:"checkPath",value:function(e,t){if(this.working&&t){var r=this.events,n=this.eventElements;r.forEach((function(r,o){var a=r.x,i=r.y;!n[o]&&t.isPointInPath&&t.isPointInPath(a,i)&&(n[o]=e)}))}}},{key:"checkBoundingBox",value:function(e,t){if(this.working&&t){var r=this.events,n=this.eventElements;r.forEach((function(r,o){var a=r.x,i=r.y;!n[o]&&t.isPointInBox(a,i)&&(n[o]=e)}))}}},{key:"mapXY",value:function(e,t){for(var r=this.screen,n=r.window,o=r.ctx,a=new Point(e,t),i=o.canvas;i;)a.x-=i.offsetLeft,a.y-=i.offsetTop,i=i.offsetParent;return(null==n?void 0:n.scrollX)&&(a.x+=n.scrollX),(null==n?void 0:n.scrollY)&&(a.y+=n.scrollY),a}},{key:"onClick",value:function(e){var t=this.mapXY(e.clientX,e.clientY),r=t.x,n=t.y;this.events.push({type:"onclick",x:r,y:n,run:function(e){e.onClick&&e.onClick()}})}},{key:"onMouseMove",value:function(e){var t=this.mapXY(e.clientX,e.clientY),r=t.x,n=t.y;this.events.push({type:"onmousemove",x:r,y:n,run:function(e){e.onMouseMove&&e.onMouseMove()}})}}]),e}(),defaultWindow$1="undefined"!=typeof window?window:null,defaultFetch$1="undefined"!=typeof fetch?fetch.bind(void 0):void 0,Screen=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.fetch,o=void 0===n?defaultFetch$1:n,a=r.window,i=void 0===a?defaultWindow$1:a;if(_classCallCheck2(this,e),this.ctx=t,this.viewPort=new ViewPort,this.mouse=new Mouse(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=i,!o)throw new Error("Can't find 'fetch' in 'globalThis', please provide it via options");this.fetch=o}return _createClass2(e,[{key:"wait",value:function(e){this.waits.push(e)}},{key:"ready",value:function(){return this.readyPromise?this.readyPromise:Promise.resolve()}},{key:"isReady",value:function(){if(this.isReadyLock)return!0;var e=this.waits.every((function(e){return e()}));return e&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=e,e}},{key:"setDefaults",value:function(e){e.strokeStyle="rgba(0,0,0,0)",e.lineCap="butt",e.lineJoin="miter",e.miterLimit=4}},{key:"setViewBox",value:function(e){var t=e.document,r=e.ctx,n=e.aspectRatio,o=e.width,a=e.desiredWidth,i=e.height,s=e.desiredHeight,l=e.minX,c=void 0===l?0:l,u=e.minY,d=void 0===u?0:u,p=e.refX,f=e.refY,h=e.clip,v=void 0!==h&&h,g=e.clipX,m=void 0===g?0:g,b=e.clipY,A=void 0===b?0:b,y=_slicedToArray(compressSpaces(n).replace(/^defer\s/,"").split(" "),2),x=y[0]||"xMidYMid",w=y[1]||"meet",C=o/a,k=i/s,_=Math.min(C,k),S=Math.max(C,k),B=a,E=s;"meet"===w&&(B*=_,E*=_),"slice"===w&&(B*=S,E*=S);var T=new Property(t,"refX",p),P=new Property(t,"refY",f),I=T.hasValue()&&P.hasValue();if(I&&r.translate(-_*T.getPixels("x"),-_*P.getPixels("y")),v){var N=_*m,z=_*A;r.beginPath(),r.moveTo(N,z),r.lineTo(o,z),r.lineTo(o,i),r.lineTo(N,i),r.closePath(),r.clip()}if(!I){var M="meet"===w&&_===k,R="slice"===w&&S===k,D="meet"===w&&_===C,O="slice"===w&&S===C;x.startsWith("xMid")&&(M||R)&&r.translate(o/2-B/2,0),x.endsWith("YMid")&&(D||O)&&r.translate(0,i/2-E/2),x.startsWith("xMax")&&(M||R)&&r.translate(o-B,0),x.endsWith("YMax")&&(D||O)&&r.translate(0,i-E)}switch(!0){case"none"===x:r.scale(C,k);break;case"meet"===w:r.scale(_,_);break;case"slice"===w:r.scale(S,S)}r.translate(-c,-d)}},{key:"start",value:function(t){var r=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.enableRedraw,a=void 0!==o&&o,i=n.ignoreMouse,s=void 0!==i&&i,l=n.ignoreAnimation,c=void 0!==l&&l,u=n.ignoreDimensions,d=void 0!==u&&u,p=n.ignoreClear,f=void 0!==p&&p,h=n.forceRedraw,v=n.scaleWidth,g=n.scaleHeight,m=n.offsetX,b=n.offsetY,A=this.mouse,y=1e3/e.FRAMERATE;if(this.isReadyLock=!1,this.frameDuration=y,this.readyPromise=new Promise((function(e){r.resolveReady=e})),this.isReady()&&this.render(t,d,f,v,g,m,b),a){var x=Date.now(),w=x,C=0;s||A.start(),this.intervalId=requestAnimationFrame$1((function e(){x=Date.now(),(C=x-w)>=y&&(w=x-C%y,r.shouldUpdate(c,h)&&(r.render(t,d,f,v,g,m,b),A.runEvents())),r.intervalId=requestAnimationFrame$1(e)}))}}},{key:"stop",value:function(){this.intervalId&&(requestAnimationFrame$1.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}},{key:"shouldUpdate",value:function(e,t){if(!e){var r=this.frameDuration,n=this.animations.reduce((function(e,t){return t.update(r)||e}),!1);if(n)return!0}return!("function"!=typeof t||!t())||(!(this.isReadyLock||!this.isReady())||!!this.mouse.hasEvents())}},{key:"render",value:function(e,t,r,n,o,a,i){var s=this.viewPort,l=this.ctx,c=this.isFirstRender,u=l.canvas;s.clear(),u.width&&u.height&&s.setCurrent(u.width,u.height);var d=e.getStyle("width"),p=e.getStyle("height");!t&&(c||"number"!=typeof n&&"number"!=typeof o)&&(d.hasValue()&&(u.width=d.getPixels("x"),u.style&&(u.style.width="".concat(u.width,"px"))),p.hasValue()&&(u.height=p.getPixels("y"),u.style&&(u.style.height="".concat(u.height,"px"))));var f=u.clientWidth||u.width,h=u.clientHeight||u.height;if(t&&d.hasValue()&&p.hasValue()&&(f=d.getPixels("x"),h=p.getPixels("y")),s.setCurrent(f,h),"number"==typeof a&&e.getAttribute("x",!0).setValue(a),"number"==typeof i&&e.getAttribute("y",!0).setValue(i),"number"==typeof n||"number"==typeof o){var v=toNumbers(e.getAttribute("viewBox").getString()),g=0,m=0;if("number"==typeof n){var b=e.getStyle("width");b.hasValue()?g=b.getPixels("x")/n:v[2]&&!isNaN(v[2])&&(g=v[2]/n)}if("number"==typeof o){var A=e.getStyle("height");A.hasValue()?m=A.getPixels("y")/o:v[3]&&!isNaN(v[3])&&(m=v[3]/o)}g||(g=m),m||(m=g),e.getAttribute("width",!0).setValue(n),e.getAttribute("height",!0).setValue(o);var y=e.getStyle("transform",!0,!0);y.setValue("".concat(y.getString()," scale(").concat(1/g,", ").concat(1/m,")"))}r||l.clearRect(0,0,f,h),e.render(l),c&&(this.isFirstRender=!1)}}]),e}();Screen.defaultWindow=defaultWindow$1,Screen.defaultFetch=defaultFetch$1,Screen.FRAMERATE=30,Screen.MAX_VIRTUAL_PIXELS=3e4;var defaultFetch=Screen.defaultFetch,DefaultDOMParser="undefined"!=typeof DOMParser?DOMParser:void 0,Parser=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.fetch,n=void 0===r?defaultFetch:r,o=t.DOMParser,a=void 0===o?DefaultDOMParser:o;if(_classCallCheck2(this,e),!n)throw new Error("Can't find 'fetch' in 'globalThis', please provide it via options");if(!a)throw new Error("Can't find 'DOMParser' in 'globalThis', please provide it via options");this.fetch=n,this.DOMParser=a}var t,r;return _createClass2(e,[{key:"parse",value:(r=_asyncToGenerator2(_regeneratorRuntime().mark((function e(t){return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.startsWith("<")){e.next=2;break}return e.abrupt("return",this.parseFromString(t));case 2:return e.abrupt("return",this.load(t));case 3:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"parseFromString",value:function(e){var t=new this.DOMParser;try{return this.checkDocument(t.parseFromString(e,"image/svg+xml"))}catch(err){return this.checkDocument(t.parseFromString(e,"text/xml"))}}},{key:"checkDocument",value:function(e){var t=e.getElementsByTagName("parsererror")[0];if(t)throw new Error(t.textContent||"Unknown parse error");return e}},{key:"load",value:(t=_asyncToGenerator2(_regeneratorRuntime().mark((function e(t){var r,n;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.fetch(t);case 2:return r=e.sent,e.next=5,r.text();case 5:return n=e.sent,e.abrupt("return",this.parseFromString(n));case 7:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})}]),e}(),Translate=function(){function e(t,r){_classCallCheck2(this,e),this.type="translate",this.point=Point.parse(r)}return _createClass2(e,[{key:"apply",value:function(e){var t=this.point,r=t.x,n=t.y;e.translate(r||0,n||0)}},{key:"unapply",value:function(e){var t=this.point,r=t.x,n=t.y;e.translate(-1*r||0,-1*n||0)}},{key:"applyToPoint",value:function(e){var t=this.point,r=t.x,n=t.y;e.applyTransform([1,0,0,1,r||0,n||0])}}]),e}(),Rotate=function(){function e(t,r,n){_classCallCheck2(this,e),this.type="rotate";var o=toNumbers(r);this.angle=new Property(t,"angle",o[0]),this.originX=n[0],this.originY=n[1],this.cx=o[1]||0,this.cy=o[2]||0}return _createClass2(e,[{key:"apply",value:function(e){var t=this.cx,r=this.cy,n=this.originX,o=this.originY,a=this.angle,i=t+n.getPixels("x"),s=r+o.getPixels("y");e.translate(i,s),e.rotate(a.getRadians()),e.translate(-i,-s)}},{key:"unapply",value:function(e){var t=this.cx,r=this.cy,n=this.originX,o=this.originY,a=this.angle,i=t+n.getPixels("x"),s=r+o.getPixels("y");e.translate(i,s),e.rotate(-1*a.getRadians()),e.translate(-i,-s)}},{key:"applyToPoint",value:function(e){var t=this.cx,r=this.cy,n=this.angle.getRadians();e.applyTransform([1,0,0,1,t||0,r||0]),e.applyTransform([Math.cos(n),Math.sin(n),-Math.sin(n),Math.cos(n),0,0]),e.applyTransform([1,0,0,1,-t||0,-r||0])}}]),e}(),Scale=function(){function e(t,r,n){_classCallCheck2(this,e),this.type="scale";var o=Point.parseScale(r);0!==o.x&&0!==o.y||(o.x=PSEUDO_ZERO,o.y=PSEUDO_ZERO),this.scale=o,this.originX=n[0],this.originY=n[1]}return _createClass2(e,[{key:"apply",value:function(e){var t=this.scale,r=t.x,n=t.y,o=this.originX,a=this.originY,i=o.getPixels("x"),s=a.getPixels("y");e.translate(i,s),e.scale(r,n||r),e.translate(-i,-s)}},{key:"unapply",value:function(e){var t=this.scale,r=t.x,n=t.y,o=this.originX,a=this.originY,i=o.getPixels("x"),s=a.getPixels("y");e.translate(i,s),e.scale(1/r,1/n||r),e.translate(-i,-s)}},{key:"applyToPoint",value:function(e){var t=this.scale,r=t.x,n=t.y;e.applyTransform([r||0,0,0,n||0,0,0])}}]),e}(),Matrix=function(){function e(t,r,n){_classCallCheck2(this,e),this.type="matrix",this.matrix=toMatrixValue(r),this.originX=n[0],this.originY=n[1]}return _createClass2(e,[{key:"apply",value:function(e){var t=this.originX,r=this.originY,n=this.matrix,o=t.getPixels("x"),a=r.getPixels("y");e.translate(o,a),e.transform(n[0],n[1],n[2],n[3],n[4],n[5]),e.translate(-o,-a)}},{key:"unapply",value:function(e){var t=this.originX,r=this.originY,n=this.matrix,o=n[0],a=n[2],i=n[4],s=n[1],l=n[3],c=n[5],u=1/(o*(1*l-0*c)-a*(1*s-0*c)+i*(0*s-0*l)),d=t.getPixels("x"),p=r.getPixels("y");e.translate(d,p),e.transform(u*(1*l-0*c),u*(0*c-1*s),u*(0*i-1*a),u*(1*o-0*i),u*(a*c-i*l),u*(i*s-o*c)),e.translate(-d,-p)}},{key:"applyToPoint",value:function(e){e.applyTransform(this.matrix)}}]),e}(),Skew=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(e,n,o){var a;return _classCallCheck2(this,r),(a=t.call(this,e,n,o)).type="skew",a.angle=new Property(e,"angle",n),a}return _createClass2(r)}(Matrix),SkewX=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(e,n,o){var a;return _classCallCheck2(this,r),(a=t.call(this,e,n,o)).type="skewX",a.matrix=[1,0,Math.tan(a.angle.getRadians()),1,0,0],a}return _createClass2(r)}(Skew),SkewY=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(e,n,o){var a;return _classCallCheck2(this,r),(a=t.call(this,e,n,o)).type="skewY",a.matrix=[1,Math.tan(a.angle.getRadians()),0,1,0,0],a}return _createClass2(r)}(Skew);function parseTransforms(e){return compressSpaces(e).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}function parseTransform(e){var t=_slicedToArray(e.split("("),2),r=t[0],n=void 0===r?"":r,o=t[1],a=void 0===o?"":o;return[n.trim(),a.trim().replace(")","")]}var Transform=function(){function e(t,r,n){var o=this;_classCallCheck2(this,e),this.document=t,this.transforms=[],parseTransforms(r).forEach((function(t){if("none"!==t){var r=_slicedToArray(parseTransform(t),2),a=r[0],i=r[1],s=e.transformTypes[a];s&&o.transforms.push(new s(o.document,i,n))}}))}return _createClass2(e,[{key:"apply",value:function(e){this.transforms.forEach((function(t){return t.apply(e)}))}},{key:"unapply",value:function(e){this.transforms.forEach((function(t){return t.unapply(e)}))}},{key:"applyToPoint",value:function(e){this.transforms.forEach((function(t){return t.applyToPoint(e)}))}}],[{key:"fromElement",value:function(t,r){var n=r.getStyle("transform",!1,!0);if(n.hasValue()){var o=_slicedToArray(r.getStyle("transform-origin",!1,!0).split(),2),a=o[0],i=o[1],s=void 0===i?a:i;if(a&&s){var l=[a,s];return new e(t,n.getString(),l)}}return null}}]),e}();Transform.transformTypes={translate:Translate,rotate:Rotate,scale:Scale,matrix:Matrix,skewX:SkewX,skewY:SkewY};var Element$1=function(){function e(t,r){var n=this,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(_classCallCheck2(this,e),this.document=t,this.node=r,this.captureTextNodes=o,this.type="",this.attributes={},this.styles={},this.stylesSpecificity={},this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],r&&1===r.nodeType){if(Array.from(r.attributes).forEach((function(e){var r=normalizeAttributeName(e.nodeName);n.attributes[r]=new Property(t,r,e.value)})),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()){var a=this.getAttribute("style").getString().split(";").map((function(e){return e.trim()}));a.forEach((function(e){if(e){var r=e.split(":").map((function(e){return e.trim()})),o=_slicedToArray(r,2),a=o[0],i=o[1];a&&(n.styles[a]=new Property(t,a,i))}}))}var i=t.definitions,s=this.getAttribute("id");s.hasValue()&&(i[s.getString()]||(i[s.getString()]=this)),Array.from(r.childNodes).forEach((function(e){if(1===e.nodeType)n.addChild(e);else if(o&&(3===e.nodeType||4===e.nodeType)){var r=t.createTextNode(e);r.getText().length>0&&n.addChild(r)}}))}}return _createClass2(e,[{key:"getAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.attributes[e];if(!r&&t){var n=new Property(this.document,e,"");return this.attributes[e]=n,n}return r||Property.empty(this.document)}},{key:"getHrefAttribute",value:function(){var e;for(var t in this.attributes)if("href"===t||t.endsWith(":href")){e=this.attributes[t];break}return e||Property.empty(this.document)}},{key:"getStyle",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=this.styles[e];if(n)return n;var o=this.getAttribute(e);if(o.hasValue())return this.styles[e]=o,o;if(!r){var a=this.parent;if(a){var i=a.getStyle(e);if(i.hasValue())return i}}if(t){var s=new Property(this.document,e,"");return this.styles[e]=s,s}return Property.empty(this.document)}},{key:"render",value:function(e){if("none"!==this.getStyle("display").getString()&&"hidden"!==this.getStyle("visibility").getString()){if(e.save(),this.getStyle("mask").hasValue()){var t=this.getStyle("mask").getDefinition();t&&(this.applyEffects(e),t.apply(e,this))}else if("none"!==this.getStyle("filter").getValue("none")){var r=this.getStyle("filter").getDefinition();r&&(this.applyEffects(e),r.apply(e,this))}else this.setContext(e),this.renderChildren(e),this.clearContext(e);e.restore()}}},{key:"setContext",value:function(e){}},{key:"applyEffects",value:function(e){var t=Transform.fromElement(this.document,this);t&&t.apply(e);var r=this.getStyle("clip-path",!1,!0);if(r.hasValue()){var n=r.getDefinition();n&&n.apply(e)}}},{key:"clearContext",value:function(e){}},{key:"renderChildren",value:function(e){this.children.forEach((function(t){t.render(e)}))}},{key:"addChild",value:function(t){var r=t instanceof e?t:this.document.createElement(t);r.parent=this,e.ignoreChildTypes.includes(r.type)||this.children.push(r)}},{key:"matchesSelector",value:function(e){var t,r=this.node;if("function"==typeof r.matches)return r.matches(e);var n=null===(t=r.getAttribute)||void 0===t?void 0:t.call(r,"class");return!(!n||""===n)&&n.split(" ").some((function(t){return".".concat(t)===e}))}},{key:"addStylesFromStyleDefinition",value:function(){var e,t=this.document,r=t.styles,n=t.stylesSpecificity;for(var o in r)if(!o.startsWith("@")&&this.matchesSelector(o)){var a=r[o],i=n[o];if(a)for(var s in a){var l=this.stylesSpecificity[s];void 0===l&&(l="000"),i&&i>=l&&((e=a[s])&&(this.styles[s]=e),this.stylesSpecificity[s]=i)}}}},{key:"removeStyles",value:function(e,t){var r=t.reduce((function(t,r){var n=e.getStyle(r);if(!n.hasValue())return t;var o=n.getString();return n.setValue(""),[].concat(_toConsumableArray2(t),[[r,o]])}),[]);return r}},{key:"restoreStyles",value:function(e,t){t.forEach((function(t){var r=_slicedToArray(t,2),n=r[0],o=r[1];e.getStyle(n,!0).setValue(o)}))}},{key:"isFirstChild",value:function(){var e;return 0===(null===(e=this.parent)||void 0===e?void 0:e.children.indexOf(this))}}]),e}();Element$1.ignoreChildTypes=["title"];var UnknownElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(e,n,o){return _classCallCheck2(this,r),t.call(this,e,n,o)}return _createClass2(r)}(Element$1);function wrapFontFamily(e){var t=e.trim();return/^('|")/.test(t)?t:'"'.concat(t,'"')}function prepareFontFamily(e){return"undefined"==typeof process?e:e.trim().split(",").map(wrapFontFamily).join(",")}function prepareFontStyle(e){if(!e)return"";var t=e.trim().toLowerCase();switch(t){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return t;default:return/^oblique\s+(-|)\d+deg$/.test(t)?t:""}}function prepareFontWeight(e){if(!e)return"";var t=e.trim().toLowerCase();switch(t){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return t;default:return/^[\d.]+$/.test(t)?t:""}}var Font=function(){function e(t,r,n,o,a,i){_classCallCheck2(this,e);var s=i?"string"==typeof i?e.parse(i):i:{};this.fontFamily=a||s.fontFamily,this.fontSize=o||s.fontSize,this.fontStyle=t||s.fontStyle,this.fontWeight=n||s.fontWeight,this.fontVariant=r||s.fontVariant}return _createClass2(e,[{key:"toString",value:function(){return[prepareFontStyle(this.fontStyle),this.fontVariant,prepareFontWeight(this.fontWeight),this.fontSize,prepareFontFamily(this.fontFamily)].join(" ").trim()}}],[{key:"parse",value:function(){var t=arguments.length>1?arguments[1]:void 0,r="",n="",o="",a="",i="",s=compressSpaces(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").trim().split(" "),l={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return s.forEach((function(t){switch(!0){case!l.fontStyle&&e.styles.includes(t):"inherit"!==t&&(r=t),l.fontStyle=!0;break;case!l.fontVariant&&e.variants.includes(t):"inherit"!==t&&(n=t),l.fontStyle=!0,l.fontVariant=!0;break;case!l.fontWeight&&e.weights.includes(t):"inherit"!==t&&(o=t),l.fontStyle=!0,l.fontVariant=!0,l.fontWeight=!0;break;case!l.fontSize:"inherit"!==t&&(a=t.split("/")[0]||""),l.fontStyle=!0,l.fontVariant=!0,l.fontWeight=!0,l.fontSize=!0;break;default:"inherit"!==t&&(i+=t)}})),new e(r,n,o,a,i,t)}}]),e}();Font.styles="normal|italic|oblique|inherit",Font.variants="normal|small-caps|inherit",Font.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";var BoundingBox=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.NaN,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.NaN,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.NaN,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Number.NaN;_classCallCheck2(this,e),this.x1=t,this.y1=r,this.x2=n,this.y2=o,this.addPoint(t,r),this.addPoint(n,o)}return _createClass2(e,[{key:"x",get:function(){return this.x1}},{key:"y",get:function(){return this.y1}},{key:"width",get:function(){return this.x2-this.x1}},{key:"height",get:function(){return this.y2-this.y1}},{key:"addPoint",value:function(e,t){void 0!==e&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=e,this.x2=e),e<this.x1&&(this.x1=e),e>this.x2&&(this.x2=e)),void 0!==t&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=t,this.y2=t),t<this.y1&&(this.y1=t),t>this.y2&&(this.y2=t))}},{key:"addX",value:function(e){this.addPoint(e,0)}},{key:"addY",value:function(e){this.addPoint(0,e)}},{key:"addBoundingBox",value:function(e){if(e){var t=e.x1,r=e.y1,n=e.x2,o=e.y2;this.addPoint(t,r),this.addPoint(n,o)}}},{key:"sumCubic",value:function(e,t,r,n,o){return Math.pow(1-e,3)*t+3*Math.pow(1-e,2)*e*r+3*(1-e)*Math.pow(e,2)*n+Math.pow(e,3)*o}},{key:"bezierCurveAdd",value:function(e,t,r,n,o){var a=6*t-12*r+6*n,i=-3*t+9*r-9*n+3*o,s=3*r-3*t;if(0!==i){var l=Math.pow(a,2)-4*s*i;if(!(l<0)){var c=(-a+Math.sqrt(l))/(2*i);0<c&&c<1&&(e?this.addX(this.sumCubic(c,t,r,n,o)):this.addY(this.sumCubic(c,t,r,n,o)));var u=(-a-Math.sqrt(l))/(2*i);0<u&&u<1&&(e?this.addX(this.sumCubic(u,t,r,n,o)):this.addY(this.sumCubic(u,t,r,n,o)))}}else{if(0===a)return;var d=-s/a;0<d&&d<1&&(e?this.addX(this.sumCubic(d,t,r,n,o)):this.addY(this.sumCubic(d,t,r,n,o)))}}},{key:"addBezierCurve",value:function(e,t,r,n,o,a,i,s){this.addPoint(e,t),this.addPoint(i,s),this.bezierCurveAdd(!0,e,r,o,i),this.bezierCurveAdd(!1,t,n,a,s)}},{key:"addQuadraticCurve",value:function(e,t,r,n,o,a){var i=e+2/3*(r-e),s=t+2/3*(n-t),l=i+1/3*(o-e),c=s+1/3*(a-t);this.addBezierCurve(e,t,i,l,s,c,o,a)}},{key:"isPointInBox",value:function(e,t){var r=this.x1,n=this.y1,o=this.x2,a=this.y2;return r<=e&&e<=o&&n<=t&&t<=a}}]),e}(),RenderedElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(){var e;_classCallCheck2(this,r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).modifiedEmSizeStack=!1,e}return _createClass2(r,[{key:"calculateOpacity",value:function(){for(var e=1,t=this;t;){var r=t.getStyle("opacity",!1,!0);r.hasValue(!0)&&(e*=r.getNumber()),t=t.parent}return e}},{key:"setContext",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t){var r=this.getStyle("fill"),n=this.getStyle("fill-opacity"),o=this.getStyle("stroke"),a=this.getStyle("stroke-opacity");if(r.isUrlDefinition()){var i=r.getFillStyleDefinition(this,n);i&&(e.fillStyle=i)}else if(r.hasValue()){"currentColor"===r.getString()&&r.setValue(this.getStyle("color").getColor());var s=r.getColor();"inherit"!==s&&(e.fillStyle="none"===s?"rgba(0,0,0,0)":s)}if(n.hasValue()){var l=new Property(this.document,"fill",e.fillStyle).addOpacity(n).getColor();e.fillStyle=l}if(o.isUrlDefinition()){var c=o.getFillStyleDefinition(this,a);c&&(e.strokeStyle=c)}else if(o.hasValue()){"currentColor"===o.getString()&&o.setValue(this.getStyle("color").getColor());var u=o.getString();"inherit"!==u&&(e.strokeStyle="none"===u?"rgba(0,0,0,0)":u)}if(a.hasValue()){var d=new Property(this.document,"stroke",e.strokeStyle).addOpacity(a).getString();e.strokeStyle=d}var p=this.getStyle("stroke-width");if(p.hasValue()){var f=p.getPixels();e.lineWidth=f||PSEUDO_ZERO}var h=this.getStyle("stroke-linecap"),v=this.getStyle("stroke-linejoin"),g=this.getStyle("stroke-miterlimit"),m=this.getStyle("stroke-dasharray"),b=this.getStyle("stroke-dashoffset");if(h.hasValue()&&(e.lineCap=h.getString()),v.hasValue()&&(e.lineJoin=v.getString()),g.hasValue()&&(e.miterLimit=g.getNumber()),m.hasValue()&&"none"!==m.getString()){var A=toNumbers(m.getString());void 0!==e.setLineDash?e.setLineDash(A):void 0!==e.webkitLineDash?e.webkitLineDash=A:void 0===e.mozDash||1===A.length&&0===A[0]||(e.mozDash=A);var y=b.getPixels();void 0!==e.lineDashOffset?e.lineDashOffset=y:void 0!==e.webkitLineDashOffset?e.webkitLineDashOffset=y:void 0!==e.mozDashOffset&&(e.mozDashOffset=y)}}if(this.modifiedEmSizeStack=!1,void 0!==e.font){var x=this.getStyle("font"),w=this.getStyle("font-style"),C=this.getStyle("font-variant"),k=this.getStyle("font-weight"),_=this.getStyle("font-size"),S=this.getStyle("font-family"),B=new Font(w.getString(),C.getString(),k.getString(),_.hasValue()?"".concat(_.getPixels(!0),"px"):"",S.getString(),Font.parse(x.getString(),e.font));w.setValue(B.fontStyle),C.setValue(B.fontVariant),k.setValue(B.fontWeight),_.setValue(B.fontSize),S.setValue(B.fontFamily),e.font=B.toString(),_.isPixels()&&(this.document.emSize=_.getPixels(),this.modifiedEmSizeStack=!0)}t||(this.applyEffects(e),e.globalAlpha=this.calculateOpacity())}},{key:"clearContext",value:function(e){_get(_getPrototypeOf2(r.prototype),"clearContext",this).call(this,e),this.modifiedEmSizeStack&&this.document.popEmSize()}}]),r}(Element$1),TextElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(e,n,o){var a;return _classCallCheck2(this,r),(a=t.call(this,e,n,(this instanceof r?this.constructor:void 0)===r||o)).type="text",a.x=0,a.y=0,a.leafTexts=[],a.textChunkStart=0,a.minX=Number.POSITIVE_INFINITY,a.maxX=Number.NEGATIVE_INFINITY,a.measureCache=-1,a}return _createClass2(r,[{key:"setContext",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];_get(_getPrototypeOf2(r.prototype),"setContext",this).call(this,e,t);var n=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();n&&(e.textBaseline=n)}},{key:"initializeCoordinates",value:function(){this.x=0,this.y=0,this.leafTexts=[],this.textChunkStart=0,this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY}},{key:"getBoundingBox",value:function(e){var t=this;if("text"!==this.type)return this.getTElementBoundingBox(e);this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(e);var r=null;return this.children.forEach((function(n,o){var a=t.getChildBoundingBox(e,t,t,o);r?r.addBoundingBox(a):r=a})),r}},{key:"getFontSize",value:function(){var e=this.document,t=this.parent,r=Font.parse(e.ctx.font).fontSize;return t.getStyle("font-size").getNumber(r)}},{key:"getTElementBoundingBox",value:function(e){var t=this.getFontSize();return new BoundingBox(this.x,this.y-t,this.x+this.measureText(e),this.y)}},{key:"getGlyph",value:function(e,t,r){var n,o=t[r];if(e.isArabic){var a,i=t.length,s=t[r-1],l=t[r+1],c="isolated";(0===r||" "===s)&&r<i-1&&" "!==l&&(c="terminal"),r>0&&" "!==s&&r<i-1&&" "!==l&&(c="medial"),r>0&&" "!==s&&(r===i-1||" "===l)&&(c="initial"),n=(null===(a=e.arabicGlyphs[o])||void 0===a?void 0:a[c])||e.glyphs[o]}else n=e.glyphs[o];return n||(n=e.missingGlyph),n}},{key:"getText",value:function(){return""}},{key:"getTextFromNode",value:function(e){var t=e||this.node,r=Array.from(t.parentNode.childNodes),n=r.indexOf(t),o=r.length-1,a=compressSpaces(t.textContent||"");return 0===n&&(a=trimLeft(a)),n===o&&(a=trimRight(a)),a}},{key:"renderChildren",value:function(e){var t=this;if("text"===this.type){this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(e),this.children.forEach((function(r,n){t.renderChild(e,t,t,n)}));var r=this.document.screen.mouse;r.isWorking()&&r.checkBoundingBox(this,this.getBoundingBox(e))}else this.renderTElementChildren(e)}},{key:"renderTElementChildren",value:function(e){var t=this.document,r=this.parent,n=this.getText(),o=r.getStyle("font-family").getDefinition();if(o)for(var a=o.fontFace.unitsPerEm,i=Font.parse(t.ctx.font),s=r.getStyle("font-size").getNumber(i.fontSize),l=r.getStyle("font-style").getString(i.fontStyle),c=s/a,u=o.isRTL?n.split("").reverse().join(""):n,d=toNumbers(r.getAttribute("dx").getString()),p=u.length,f=0;f<p;f++){var h=this.getGlyph(o,u,f);e.translate(this.x,this.y),e.scale(c,-c);var v=e.lineWidth;e.lineWidth=e.lineWidth*a/s,"italic"===l&&e.transform(1,0,.4,1,0,0),h.render(e),"italic"===l&&e.transform(1,0,-.4,1,0,0),e.lineWidth=v,e.scale(1/c,-1/c),e.translate(-this.x,-this.y),this.x+=s*(h.horizAdvX||o.horizAdvX)/a,void 0===d[f]||isNaN(d[f])||(this.x+=d[f])}else{var g=this.x,m=this.y;e.fillStyle&&e.fillText(n,g,m),e.strokeStyle&&e.strokeText(n,g,m)}}},{key:"applyAnchoring",value:function(){if(!(this.textChunkStart>=this.leafTexts.length)){var e=this.leafTexts[this.textChunkStart],t=e.getStyle("text-anchor").getString("start"),r=0;r="start"===t?e.x-this.minX:"end"===t?e.x-this.maxX:e.x-(this.minX+this.maxX)/2;for(var n=this.textChunkStart;n<this.leafTexts.length;n++)this.leafTexts[n].x+=r;this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY,this.textChunkStart=this.leafTexts.length}}},{key:"adjustChildCoordinatesRecursive",value:function(e){var t=this;this.children.forEach((function(r,n){t.adjustChildCoordinatesRecursiveCore(e,t,t,n)})),this.applyAnchoring()}},{key:"adjustChildCoordinatesRecursiveCore",value:function(e,t,r,n){var o=r.children[n];o.children.length>0?o.children.forEach((function(r,n){t.adjustChildCoordinatesRecursiveCore(e,t,o,n)})):this.adjustChildCoordinates(e,t,r,n)}},{key:"adjustChildCoordinates",value:function(e,t,r,n){var o=r.children[n];if("function"!=typeof o.measureText)return o;e.save(),o.setContext(e,!0);var a=o.getAttribute("x"),i=o.getAttribute("y"),s=o.getAttribute("dx"),l=o.getAttribute("dy"),c=o.getStyle("font-family").getDefinition(),u=Boolean(null==c?void 0:c.isRTL);0===n&&(a.hasValue()||a.setValue(o.getInheritedAttribute("x")),i.hasValue()||i.setValue(o.getInheritedAttribute("y")),s.hasValue()||s.setValue(o.getInheritedAttribute("dx")),l.hasValue()||l.setValue(o.getInheritedAttribute("dy")));var d=o.measureText(e);return u&&(t.x-=d),a.hasValue()?(t.applyAnchoring(),o.x=a.getPixels("x"),s.hasValue()&&(o.x+=s.getPixels("x"))):(s.hasValue()&&(t.x+=s.getPixels("x")),o.x=t.x),t.x=o.x,u||(t.x+=d),i.hasValue()?(o.y=i.getPixels("y"),l.hasValue()&&(o.y+=l.getPixels("y"))):(l.hasValue()&&(t.y+=l.getPixels("y")),o.y=t.y),t.y=o.y,t.leafTexts.push(o),t.minX=Math.min(t.minX,o.x,o.x+d),t.maxX=Math.max(t.maxX,o.x,o.x+d),o.clearContext(e),e.restore(),o}},{key:"getChildBoundingBox",value:function(e,t,r,n){var o=r.children[n];if("function"!=typeof o.getBoundingBox)return null;var a=o.getBoundingBox(e);return a&&o.children.forEach((function(r,n){var i=t.getChildBoundingBox(e,t,o,n);a.addBoundingBox(i)})),a}},{key:"renderChild",value:function(e,t,r,n){var o=r.children[n];o.render(e),o.children.forEach((function(r,n){t.renderChild(e,t,o,n)}))}},{key:"measureText",value:function(e){var t=this.measureCache;if(~t)return t;var r=this.getText(),n=this.measureTargetText(e,r);return this.measureCache=n,n}},{key:"measureTargetText",value:function(e,t){if(!t.length)return 0;var r=this.parent,n=r.getStyle("font-family").getDefinition();if(n){for(var o=this.getFontSize(),a=n.isRTL?t.split("").reverse().join(""):t,i=toNumbers(r.getAttribute("dx").getString()),s=a.length,l=0,c=0;c<s;c++){l+=(this.getGlyph(n,a,c).horizAdvX||n.horizAdvX)*o/n.fontFace.unitsPerEm,void 0===i[c]||isNaN(i[c])||(l+=i[c])}return l}if(!e.measureText)return 10*t.length;e.save(),this.setContext(e,!0);var u=e.measureText(t).width;return this.clearContext(e),e.restore(),u}},{key:"getInheritedAttribute",value:function(e){for(var t=this;t instanceof r&&t.isFirstChild()&&t.parent;){var n=t.parent.getAttribute(e);if(n.hasValue(!0))return n.getString("0");t=t.parent}return null}}]),r}(RenderedElement),TSpanElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(e,n,o){var a;return _classCallCheck2(this,r),(a=t.call(this,e,n,(this instanceof r?this.constructor:void 0)===r||o)).type="tspan",a.text=a.children.length>0?"":a.getTextFromNode(),a}return _createClass2(r,[{key:"getText",value:function(){return this.text}}]),r}(TextElement),TextNode=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(){var e;_classCallCheck2(this,r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).type="textNode",e}return _createClass2(r)}(TSpanElement),PathParser=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(e){var n;return _classCallCheck2(this,r),(n=t.call(this,e.replace(/([+\-.])\s+/gm,"$1").replace(/[^MmZzLlHhVvCcSsQqTtAae\d\s.,+-].*/g,""))).control=new Point(0,0),n.start=new Point(0,0),n.current=new Point(0,0),n.command=null,n.commands=n.commands,n.i=-1,n.previousCommand=null,n.points=[],n.angles=[],n}return _createClass2(r,[{key:"reset",value:function(){this.i=-1,this.command=null,this.previousCommand=null,this.start=new Point(0,0),this.control=new Point(0,0),this.current=new Point(0,0),this.points=[],this.angles=[]}},{key:"isEnd",value:function(){return this.i>=this.commands.length-1}},{key:"next",value:function(){var e=this.commands[++this.i];return this.previousCommand=this.command,this.command=e,e}},{key:"getPoint",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"x",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y",r=new Point(this.command[e],this.command[t]);return this.makeAbsolute(r)}},{key:"getAsControlPoint",value:function(e,t){var r=this.getPoint(e,t);return this.control=r,r}},{key:"getAsCurrentPoint",value:function(e,t){var r=this.getPoint(e,t);return this.current=r,r}},{key:"getReflectedControlPoint",value:function(){var e=this.previousCommand.type;if(e!==_.CURVE_TO&&e!==_.SMOOTH_CURVE_TO&&e!==_.QUAD_TO&&e!==_.SMOOTH_QUAD_TO)return this.current;var t=this.current,r=t.x,n=t.y,o=this.control,a=o.x,i=o.y;return new Point(2*r-a,2*n-i)}},{key:"makeAbsolute",value:function(e){if(this.command.relative){var t=this.current,r=t.x,n=t.y;e.x+=r,e.y+=n}return e}},{key:"addMarker",value:function(e,t,r){var n=this.points,o=this.angles;r&&o.length>0&&!o[o.length-1]&&(o[o.length-1]=n[n.length-1].angleTo(r)),this.addMarkerAngle(e,t?t.angleTo(e):null)}},{key:"addMarkerAngle",value:function(e,t){this.points.push(e),this.angles.push(t)}},{key:"getMarkerPoints",value:function(){return this.points}},{key:"getMarkerAngles",value:function(){for(var e=this.angles,t=e.length,r=0;r<t;r++)if(!e[r])for(var n=r+1;n<t;n++)if(e[n]){e[r]=e[n];break}return e}}]),r}(_),PathElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(e,n,o){var a;return _classCallCheck2(this,r),(a=t.call(this,e,n,o)).type="path",a.pathParser=new PathParser(a.getAttribute("d").getString()),a}return _createClass2(r,[{key:"path",value:function(e){var t=this.pathParser,r=new BoundingBox;for(t.reset(),e&&e.beginPath();!t.isEnd();)switch(t.next().type){case PathParser.MOVE_TO:this.pathM(e,r);break;case PathParser.LINE_TO:this.pathL(e,r);break;case PathParser.HORIZ_LINE_TO:this.pathH(e,r);break;case PathParser.VERT_LINE_TO:this.pathV(e,r);break;case PathParser.CURVE_TO:this.pathC(e,r);break;case PathParser.SMOOTH_CURVE_TO:this.pathS(e,r);break;case PathParser.QUAD_TO:this.pathQ(e,r);break;case PathParser.SMOOTH_QUAD_TO:this.pathT(e,r);break;case PathParser.ARC:this.pathA(e,r);break;case PathParser.CLOSE_PATH:this.pathZ(e,r)}return r}},{key:"getBoundingBox",value:function(e){return this.path()}},{key:"getMarkers",value:function(){var e=this.pathParser,t=e.getMarkerPoints(),r=e.getMarkerAngles(),n=t.map((function(e,t){return[e,r[t]]}));return n}},{key:"renderChildren",value:function(e){this.path(e),this.document.screen.mouse.checkPath(this,e);var t=this.getStyle("fill-rule");""!==e.fillStyle&&("inherit"!==t.getString("inherit")?e.fill(t.getString()):e.fill()),""!==e.strokeStyle&&("non-scaling-stroke"===this.getAttribute("vector-effect").getString()?(e.save(),e.setTransform(1,0,0,1,0,0),e.stroke(),e.restore()):e.stroke());var r=this.getMarkers();if(r){var n=r.length-1,o=this.getStyle("marker-start"),a=this.getStyle("marker-mid"),i=this.getStyle("marker-end");if(o.isUrlDefinition()){var s=o.getDefinition(),l=_slicedToArray(r[0],2),c=l[0],u=l[1];s.render(e,c,u)}if(a.isUrlDefinition())for(var d=a.getDefinition(),p=1;p<n;p++){var f=_slicedToArray(r[p],2),h=f[0],v=f[1];d.render(e,h,v)}if(i.isUrlDefinition()){var g=i.getDefinition(),m=_slicedToArray(r[n],2),b=m[0],A=m[1];g.render(e,b,A)}}}},{key:"pathM",value:function(e,t){var n=this.pathParser,o=r.pathM(n).point,a=o.x,i=o.y;n.addMarker(o),t.addPoint(a,i),e&&e.moveTo(a,i)}},{key:"pathL",value:function(e,t){var n=this.pathParser,o=r.pathL(n),a=o.current,i=o.point,s=i.x,l=i.y;n.addMarker(i,a),t.addPoint(s,l),e&&e.lineTo(s,l)}},{key:"pathH",value:function(e,t){var n=this.pathParser,o=r.pathH(n),a=o.current,i=o.point,s=i.x,l=i.y;n.addMarker(i,a),t.addPoint(s,l),e&&e.lineTo(s,l)}},{key:"pathV",value:function(e,t){var n=this.pathParser,o=r.pathV(n),a=o.current,i=o.point,s=i.x,l=i.y;n.addMarker(i,a),t.addPoint(s,l),e&&e.lineTo(s,l)}},{key:"pathC",value:function(e,t){var n=this.pathParser,o=r.pathC(n),a=o.current,i=o.point,s=o.controlPoint,l=o.currentPoint;n.addMarker(l,s,i),t.addBezierCurve(a.x,a.y,i.x,i.y,s.x,s.y,l.x,l.y),e&&e.bezierCurveTo(i.x,i.y,s.x,s.y,l.x,l.y)}},{key:"pathS",value:function(e,t){var n=this.pathParser,o=r.pathS(n),a=o.current,i=o.point,s=o.controlPoint,l=o.currentPoint;n.addMarker(l,s,i),t.addBezierCurve(a.x,a.y,i.x,i.y,s.x,s.y,l.x,l.y),e&&e.bezierCurveTo(i.x,i.y,s.x,s.y,l.x,l.y)}},{key:"pathQ",value:function(e,t){var n=this.pathParser,o=r.pathQ(n),a=o.current,i=o.controlPoint,s=o.currentPoint;n.addMarker(s,i,i),t.addQuadraticCurve(a.x,a.y,i.x,i.y,s.x,s.y),e&&e.quadraticCurveTo(i.x,i.y,s.x,s.y)}},{key:"pathT",value:function(e,t){var n=this.pathParser,o=r.pathT(n),a=o.current,i=o.controlPoint,s=o.currentPoint;n.addMarker(s,i,i),t.addQuadraticCurve(a.x,a.y,i.x,i.y,s.x,s.y),e&&e.quadraticCurveTo(i.x,i.y,s.x,s.y)}},{key:"pathA",value:function(e,t){var n=this.pathParser,o=r.pathA(n),a=o.currentPoint,i=o.rX,s=o.rY,l=o.sweepFlag,c=o.xAxisRotation,u=o.centp,d=o.a1,p=o.ad,f=1-l?1:-1,h=d+f*(p/2),v=new Point(u.x+i*Math.cos(h),u.y+s*Math.sin(h));if(n.addMarkerAngle(v,h-f*Math.PI/2),n.addMarkerAngle(a,h-f*Math.PI),t.addPoint(a.x,a.y),e&&!isNaN(d)&&!isNaN(p)){var g=i>s?i:s,m=i>s?1:i/s,b=i>s?s/i:1;e.translate(u.x,u.y),e.rotate(c),e.scale(m,b),e.arc(0,0,g,d,d+p,Boolean(1-l)),e.scale(1/m,1/b),e.rotate(-c),e.translate(-u.x,-u.y)}}},{key:"pathZ",value:function(e,t){r.pathZ(this.pathParser),e&&t.x1!==t.x2&&t.y1!==t.y2&&e.closePath()}}],[{key:"pathM",value:function(e){var t=e.getAsCurrentPoint();return e.start=e.current,{point:t}}},{key:"pathL",value:function(e){return{current:e.current,point:e.getAsCurrentPoint()}}},{key:"pathH",value:function(e){var t=e.current,r=e.command,n=new Point((r.relative?t.x:0)+r.x,t.y);return e.current=n,{current:t,point:n}}},{key:"pathV",value:function(e){var t=e.current,r=e.command,n=new Point(t.x,(r.relative?t.y:0)+r.y);return e.current=n,{current:t,point:n}}},{key:"pathC",value:function(e){return{current:e.current,point:e.getPoint("x1","y1"),controlPoint:e.getAsControlPoint("x2","y2"),currentPoint:e.getAsCurrentPoint()}}},{key:"pathS",value:function(e){return{current:e.current,point:e.getReflectedControlPoint(),controlPoint:e.getAsControlPoint("x2","y2"),currentPoint:e.getAsCurrentPoint()}}},{key:"pathQ",value:function(e){return{current:e.current,controlPoint:e.getAsControlPoint("x1","y1"),currentPoint:e.getAsCurrentPoint()}}},{key:"pathT",value:function(e){var t=e.current,r=e.getReflectedControlPoint();return e.control=r,{current:t,controlPoint:r,currentPoint:e.getAsCurrentPoint()}}},{key:"pathA",value:function(e){var t=e.current,r=e.command,n=r.rX,o=r.rY,a=r.xRot,i=r.lArcFlag,s=r.sweepFlag,l=a*(Math.PI/180),c=e.getAsCurrentPoint(),u=new Point(Math.cos(l)*(t.x-c.x)/2+Math.sin(l)*(t.y-c.y)/2,-Math.sin(l)*(t.x-c.x)/2+Math.cos(l)*(t.y-c.y)/2),d=Math.pow(u.x,2)/Math.pow(n,2)+Math.pow(u.y,2)/Math.pow(o,2);d>1&&(n*=Math.sqrt(d),o*=Math.sqrt(d));var p=(i===s?-1:1)*Math.sqrt((Math.pow(n,2)*Math.pow(o,2)-Math.pow(n,2)*Math.pow(u.y,2)-Math.pow(o,2)*Math.pow(u.x,2))/(Math.pow(n,2)*Math.pow(u.y,2)+Math.pow(o,2)*Math.pow(u.x,2)));isNaN(p)&&(p=0);var f=new Point(p*n*u.y/o,p*-o*u.x/n),h=new Point((t.x+c.x)/2+Math.cos(l)*f.x-Math.sin(l)*f.y,(t.y+c.y)/2+Math.sin(l)*f.x+Math.cos(l)*f.y),v=vectorsAngle([1,0],[(u.x-f.x)/n,(u.y-f.y)/o]),g=[(u.x-f.x)/n,(u.y-f.y)/o],m=[(-u.x-f.x)/n,(-u.y-f.y)/o],b=vectorsAngle(g,m);return vectorsRatio(g,m)<=-1&&(b=Math.PI),vectorsRatio(g,m)>=1&&(b=0),{currentPoint:c,rX:n,rY:o,sweepFlag:s,xAxisRotation:l,centp:h,a1:v,ad:b}}},{key:"pathZ",value:function(e){e.current=e.start}}]),r}(RenderedElement),SVGElement$1=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(){var e;_classCallCheck2(this,r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).type="svg",e.root=!1,e}return _createClass2(r,[{key:"setContext",value:function(e){var t,n=this.document,o=n.screen,a=n.window,i=e.canvas;if(o.setDefaults(e),"style"in i&&void 0!==e.font&&a&&void 0!==a.getComputedStyle){e.font=a.getComputedStyle(i).getPropertyValue("font");var s=new Property(n,"fontSize",Font.parse(e.font).fontSize);s.hasValue()&&(n.rootEmSize=s.getPixels("y"),n.emSize=n.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);var l=o.viewPort,c=l.width,u=l.height;this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black");var d=this.getAttribute("refX"),p=this.getAttribute("refY"),f=this.getAttribute("viewBox"),h=f.hasValue()?toNumbers(f.getString()):null,v=!this.root&&"visible"!==this.getStyle("overflow").getValue("hidden"),g=0,m=0,b=0,A=0;h&&(g=h[0],m=h[1]),this.root||(c=this.getStyle("width").getPixels("x"),u=this.getStyle("height").getPixels("y"),"marker"===this.type&&(b=g,A=m,g=0,m=0)),o.viewPort.setCurrent(c,u),!this.node||this.parent&&"foreignObject"!==(null===(t=this.node.parentNode)||void 0===t?void 0:t.nodeName)||!this.getStyle("transform",!1,!0).hasValue()||this.getStyle("transform-origin",!1,!0).hasValue()||this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),_get(_getPrototypeOf2(r.prototype),"setContext",this).call(this,e),e.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),h&&(c=h[2],u=h[3]),n.setViewBox({ctx:e,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:o.viewPort.width,desiredWidth:c,height:o.viewPort.height,desiredHeight:u,minX:g,minY:m,refX:d.getValue(),refY:p.getValue(),clip:v,clipX:b,clipY:A}),h&&(o.viewPort.removeCurrent(),o.viewPort.setCurrent(c,u))}},{key:"clearContext",value:function(e){_get(_getPrototypeOf2(r.prototype),"clearContext",this).call(this,e),this.document.screen.viewPort.removeCurrent()}},{key:"resize",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=this.getAttribute("width",!0),o=this.getAttribute("height",!0),a=this.getAttribute("viewBox"),i=this.getAttribute("style"),s=n.getNumber(0),l=o.getNumber(0);if(r)if("string"==typeof r)this.getAttribute("preserveAspectRatio",!0).setValue(r);else{var c=this.getAttribute("preserveAspectRatio");c.hasValue()&&c.setValue(c.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(n.setValue(e),o.setValue(t),a.hasValue()||a.setValue("0 0 ".concat(s||e," ").concat(l||t)),i.hasValue()){var u=this.getStyle("width"),d=this.getStyle("height");u.hasValue()&&u.setValue("".concat(e,"px")),d.hasValue()&&d.setValue("".concat(t,"px"))}}}]),r}(RenderedElement),RectElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(){var e;_classCallCheck2(this,r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).type="rect",e}return _createClass2(r,[{key:"path",value:function(e){var t=this.getAttribute("x").getPixels("x"),r=this.getAttribute("y").getPixels("y"),n=this.getStyle("width",!1,!0).getPixels("x"),o=this.getStyle("height",!1,!0).getPixels("y"),a=this.getAttribute("rx"),i=this.getAttribute("ry"),s=a.getPixels("x"),l=i.getPixels("y");if(a.hasValue()&&!i.hasValue()&&(l=s),i.hasValue()&&!a.hasValue()&&(s=l),s=Math.min(s,n/2),l=Math.min(l,o/2),e){var c=(Math.sqrt(2)-1)/3*4;e.beginPath(),o>0&&n>0&&(e.moveTo(t+s,r),e.lineTo(t+n-s,r),e.bezierCurveTo(t+n-s+c*s,r,t+n,r+l-c*l,t+n,r+l),e.lineTo(t+n,r+o-l),e.bezierCurveTo(t+n,r+o-l+c*l,t+n-s+c*s,r+o,t+n-s,r+o),e.lineTo(t+s,r+o),e.bezierCurveTo(t+s-c*s,r+o,t,r+o-l+c*l,t,r+o-l),e.lineTo(t,r+l),e.bezierCurveTo(t,r+l-c*l,t+s-c*s,r,t+s,r),e.closePath())}return new BoundingBox(t,r,t+n,r+o)}},{key:"getMarkers",value:function(){return null}}]),r}(PathElement),CircleElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(){var e;_classCallCheck2(this,r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).type="circle",e}return _createClass2(r,[{key:"path",value:function(e){var t=this.getAttribute("cx").getPixels("x"),r=this.getAttribute("cy").getPixels("y"),n=this.getAttribute("r").getPixels();return e&&n>0&&(e.beginPath(),e.arc(t,r,n,0,2*Math.PI,!1),e.closePath()),new BoundingBox(t-n,r-n,t+n,r+n)}},{key:"getMarkers",value:function(){return null}}]),r}(PathElement),EllipseElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(){var e;_classCallCheck2(this,r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).type="ellipse",e}return _createClass2(r,[{key:"path",value:function(e){var t=(Math.sqrt(2)-1)/3*4,r=this.getAttribute("rx").getPixels("x"),n=this.getAttribute("ry").getPixels("y"),o=this.getAttribute("cx").getPixels("x"),a=this.getAttribute("cy").getPixels("y");return e&&r>0&&n>0&&(e.beginPath(),e.moveTo(o+r,a),e.bezierCurveTo(o+r,a+t*n,o+t*r,a+n,o,a+n),e.bezierCurveTo(o-t*r,a+n,o-r,a+t*n,o-r,a),e.bezierCurveTo(o-r,a-t*n,o-t*r,a-n,o,a-n),e.bezierCurveTo(o+t*r,a-n,o+r,a-t*n,o+r,a),e.closePath()),new BoundingBox(o-r,a-n,o+r,a+n)}},{key:"getMarkers",value:function(){return null}}]),r}(PathElement),LineElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(){var e;_classCallCheck2(this,r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).type="line",e}return _createClass2(r,[{key:"getPoints",value:function(){return[new Point(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new Point(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}},{key:"path",value:function(e){var t=_slicedToArray(this.getPoints(),2),r=t[0],n=r.x,o=r.y,a=t[1],i=a.x,s=a.y;return e&&(e.beginPath(),e.moveTo(n,o),e.lineTo(i,s)),new BoundingBox(n,o,i,s)}},{key:"getMarkers",value:function(){var e=_slicedToArray(this.getPoints(),2),t=e[0],r=e[1],n=t.angleTo(r);return[[t,n],[r,n]]}}]),r}(PathElement),PolylineElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(e,n,o){var a;return _classCallCheck2(this,r),(a=t.call(this,e,n,o)).type="polyline",a.points=[],a.points=Point.parsePath(a.getAttribute("points").getString()),a}return _createClass2(r,[{key:"path",value:function(e){var t=this.points,r=_slicedToArray(t,1)[0],n=r.x,o=r.y,a=new BoundingBox(n,o);return e&&(e.beginPath(),e.moveTo(n,o)),t.forEach((function(t){var r=t.x,n=t.y;a.addPoint(r,n),e&&e.lineTo(r,n)})),a}},{key:"getMarkers",value:function(){var e=this.points,t=e.length-1,r=[];return e.forEach((function(n,o){o!==t&&r.push([n,n.angleTo(e[o+1])])})),r.length>0&&r.push([e[e.length-1],r[r.length-1][1]]),r}}]),r}(PathElement),PolygonElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(){var e;_classCallCheck2(this,r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).type="polygon",e}return _createClass2(r,[{key:"path",value:function(e){var t=_get(_getPrototypeOf2(r.prototype),"path",this).call(this,e),n=_slicedToArray(this.points,1)[0],o=n.x,a=n.y;return e&&(e.lineTo(o,a),e.closePath()),t}}]),r}(PolylineElement),PatternElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(){var e;_classCallCheck2(this,r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).type="pattern",e}return _createClass2(r,[{key:"createPattern",value:function(e,t,r){var n=this.getStyle("width").getPixels("x",!0),o=this.getStyle("height").getPixels("y",!0),a=new SVGElement$1(this.document,null);a.attributes.viewBox=new Property(this.document,"viewBox",this.getAttribute("viewBox").getValue()),a.attributes.width=new Property(this.document,"width","".concat(n,"px")),a.attributes.height=new Property(this.document,"height","".concat(o,"px")),a.attributes.transform=new Property(this.document,"transform",this.getAttribute("patternTransform").getValue()),a.children=this.children;var i=this.document.createCanvas(n,o),s=i.getContext("2d"),l=this.getAttribute("x"),c=this.getAttribute("y");l.hasValue()&&c.hasValue()&&s.translate(l.getPixels("x",!0),c.getPixels("y",!0)),r.hasValue()?this.styles["fill-opacity"]=r:Reflect.deleteProperty(this.styles,"fill-opacity");for(var u=-1;u<=1;u++)for(var d=-1;d<=1;d++)s.save(),a.attributes.x=new Property(this.document,"x",u*i.width),a.attributes.y=new Property(this.document,"y",d*i.height),a.render(s),s.restore();return e.createPattern(i,"repeat")}}]),r}(Element$1),MarkerElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(){var e;_classCallCheck2(this,r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).type="marker",e}return _createClass2(r,[{key:"render",value:function(e,t,r){if(t){var n=t.x,o=t.y,a=this.getAttribute("orient").getString("auto"),i=this.getAttribute("markerUnits").getString("strokeWidth");e.translate(n,o),"auto"===a&&e.rotate(r),"strokeWidth"===i&&e.scale(e.lineWidth,e.lineWidth),e.save();var s=new SVGElement$1(this.document);s.type=this.type,s.attributes.viewBox=new Property(this.document,"viewBox",this.getAttribute("viewBox").getValue()),s.attributes.refX=new Property(this.document,"refX",this.getAttribute("refX").getValue()),s.attributes.refY=new Property(this.document,"refY",this.getAttribute("refY").getValue()),s.attributes.width=new Property(this.document,"width",this.getAttribute("markerWidth").getValue()),s.attributes.height=new Property(this.document,"height",this.getAttribute("markerHeight").getValue()),s.attributes.overflow=new Property(this.document,"overflow",this.getAttribute("overflow").getValue()),s.attributes.fill=new Property(this.document,"fill",this.getAttribute("fill").getColor("black")),s.attributes.stroke=new Property(this.document,"stroke",this.getAttribute("stroke").getValue("none")),s.children=this.children,s.render(e),e.restore(),"strokeWidth"===i&&e.scale(1/e.lineWidth,1/e.lineWidth),"auto"===a&&e.rotate(-r),e.translate(-n,-o)}}}]),r}(Element$1),DefsElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(){var e;_classCallCheck2(this,r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).type="defs",e}return _createClass2(r,[{key:"render",value:function(){}}]),r}(Element$1),GElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(){var e;_classCallCheck2(this,r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).type="g",e}return _createClass2(r,[{key:"getBoundingBox",value:function(e){var t=new BoundingBox;return this.children.forEach((function(r){t.addBoundingBox(r.getBoundingBox(e))})),t}}]),r}(RenderedElement),GradientElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(e,n,o){var a;_classCallCheck2(this,r),(a=t.call(this,e,n,o)).attributesToInherit=["gradientUnits"],a.stops=[];var i=_assertThisInitialized2(a),s=i.stops;return i.children.forEach((function(e){"stop"===e.type&&s.push(e)})),a}return _createClass2(r,[{key:"getGradientUnits",value:function(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}},{key:"createGradient",value:function(e,t,r){var n=this,o=this;this.getHrefAttribute().hasValue()&&(o=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(o));var a=o.stops,i=this.getGradient(e,t);if(!i)return this.addParentOpacity(r,a[a.length-1].color);if(a.forEach((function(e){i.addColorStop(e.offset,n.addParentOpacity(r,e.color))})),this.getAttribute("gradientTransform").hasValue()){var s=this.document,l=Screen.MAX_VIRTUAL_PIXELS,c=s.screen.viewPort.getRoot(),u=new RectElement(s);u.attributes.x=new Property(s,"x",-l/3),u.attributes.y=new Property(s,"y",-l/3),u.attributes.width=new Property(s,"width",l),u.attributes.height=new Property(s,"height",l);var d=new GElement(s);d.attributes.transform=new Property(s,"transform",this.getAttribute("gradientTransform").getValue()),d.children=[u];var p=new SVGElement$1(s);p.attributes.x=new Property(s,"x",0),p.attributes.y=new Property(s,"y",0),p.attributes.width=new Property(s,"width",c.width),p.attributes.height=new Property(s,"height",c.height),p.children=[d];var f=s.createCanvas(c.width,c.height),h=f.getContext("2d");return h.fillStyle=i,p.render(h),h.createPattern(f,"no-repeat")}return i}},{key:"inheritStopContainer",value:function(e){var t=this;this.attributesToInherit.forEach((function(r){!t.getAttribute(r).hasValue()&&e.getAttribute(r).hasValue()&&t.getAttribute(r,!0).setValue(e.getAttribute(r).getValue())}))}},{key:"addParentOpacity",value:function(e,t){return e.hasValue()?new Property(this.document,"color",t).addOpacity(e).getColor():t}}]),r}(Element$1),LinearGradientElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(e,n,o){var a;return _classCallCheck2(this,r),(a=t.call(this,e,n,o)).type="linearGradient",a.attributesToInherit.push("x1","y1","x2","y2"),a}return _createClass2(r,[{key:"getGradient",value:function(e,t){var r="objectBoundingBox"===this.getGradientUnits(),n=r?t.getBoundingBox(e):null;if(r&&!n)return null;this.getAttribute("x1").hasValue()||this.getAttribute("y1").hasValue()||this.getAttribute("x2").hasValue()||this.getAttribute("y2").hasValue()||(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var o=r?n.x+n.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),a=r?n.y+n.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),i=r?n.x+n.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),s=r?n.y+n.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return o===i&&a===s?null:e.createLinearGradient(o,a,i,s)}}]),r}(GradientElement),RadialGradientElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(e,n,o){var a;return _classCallCheck2(this,r),(a=t.call(this,e,n,o)).type="radialGradient",a.attributesToInherit.push("cx","cy","r","fx","fy","fr"),a}return _createClass2(r,[{key:"getGradient",value:function(e,t){var r="objectBoundingBox"===this.getGradientUnits(),n=t.getBoundingBox(e);if(r&&!n)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var o=r?n.x+n.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),a=r?n.y+n.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),i=o,s=a;this.getAttribute("fx").hasValue()&&(i=r?n.x+n.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(s=r?n.y+n.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var l=r?(n.width+n.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),c=this.getAttribute("fr").getPixels();return e.createRadialGradient(i,s,c,o,a,l)}}]),r}(GradientElement),StopElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(e,n,o){var a;_classCallCheck2(this,r),(a=t.call(this,e,n,o)).type="stop";var i=Math.max(0,Math.min(1,a.getAttribute("offset").getNumber())),s=a.getStyle("stop-opacity"),l=a.getStyle("stop-color",!0);return""===l.getString()&&l.setValue("#000"),s.hasValue()&&(l=l.addOpacity(s)),a.offset=i,a.color=l.getColor(),a}return _createClass2(r)}(Element$1),AnimateElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(e,n,o){var a;_classCallCheck2(this,r),(a=t.call(this,e,n,o)).type="animate",a.duration=0,a.initialUnits="",a.removed=!1,a.frozen=!1,e.screen.animations.push(_assertThisInitialized2(a)),a.begin=a.getAttribute("begin").getMilliseconds(),a.maxDuration=a.begin+a.getAttribute("dur").getMilliseconds(),a.from=a.getAttribute("from"),a.to=a.getAttribute("to"),a.values=new Property(e,"values",null);var i=a.getAttribute("values");return i.hasValue()&&a.values.setValue(i.getString().split(";")),a}return _createClass2(r,[{key:"getProperty",value:function(){var e=this.getAttribute("attributeType").getString(),t=this.getAttribute("attributeName").getString();return"CSS"===e?this.parent.getStyle(t,!0):this.parent.getAttribute(t,!0)}},{key:"calcValue",value:function(){var e=this.initialUnits,t=this.getProgress(),r=t.progress,n=t.from,o=t.to,a=n.getNumber()+(o.getNumber()-n.getNumber())*r;return"%"===e&&(a*=100),"".concat(a).concat(e)}},{key:"update",value:function(e){var t=this.parent,r=this.getProperty();if(this.initialValue||(this.initialValue=r.getString(),this.initialUnits=r.getUnits()),this.duration>this.maxDuration){var n=this.getAttribute("fill").getString("remove");if("indefinite"===this.getAttribute("repeatCount").getString()||"indefinite"===this.getAttribute("repeatDur").getString())this.duration=0;else if("freeze"!==n||this.frozen){if("remove"===n&&!this.removed)return this.removed=!0,t&&r&&r.setValue(t.animationFrozen?t.animationFrozenValue:this.initialValue),!0}else this.frozen=!0,t&&r&&(t.animationFrozen=!0,t.animationFrozenValue=r.getString());return!1}this.duration+=e;var o=!1;if(this.begin<this.duration){var a=this.calcValue(),i=this.getAttribute("type");if(i.hasValue()){var s=i.getString();a="".concat(s,"(").concat(a,")")}r.setValue(a),o=!0}return o}},{key:"getProgress",value:function(){var e,t,r=this.document,n=this.values,o=(this.duration-this.begin)/(this.maxDuration-this.begin);if(n.hasValue()){var a,i=o*(n.getValue().length-1),s=Math.floor(i),l=Math.ceil(i);a=n.getValue()[s],e=new Property(r,"from",a?parseFloat(a):0),a=n.getValue()[l],t=new Property(r,"to",a?parseFloat(a):0),o=(i-s)/(l-s)}else e=this.from,t=this.to;return{progress:o,from:e,to:t}}}]),r}(Element$1),AnimateColorElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(){var e;_classCallCheck2(this,r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).type="animateColor",e}return _createClass2(r,[{key:"calcValue",value:function(){var e=this.getProgress(),t=e.progress,r=e.from,n=e.to,o=new RGBColor$1(r.getColor()),a=new RGBColor$1(n.getColor());if(o.ok&&a.ok){var i=o.r+(a.r-o.r)*t,s=o.g+(a.g-o.g)*t,l=o.b+(a.b-o.b)*t;return"rgb(".concat(Math.floor(i),", ").concat(Math.floor(s),", ").concat(Math.floor(l),")")}return this.getAttribute("from").getColor()}}]),r}(AnimateElement),AnimateTransformElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(){var e;_classCallCheck2(this,r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).type="animateTransform",e}return _createClass2(r,[{key:"calcValue",value:function(){var e=this.getProgress(),t=e.progress,r=e.from,n=e.to,o=toNumbers(r.getString()),a=toNumbers(n.getString()),i=o.map((function(e,r){return e+(a[r]-e)*t})).join(" ");return i}}]),r}(AnimateElement),FontFaceElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(e,n,o){var a;return _classCallCheck2(this,r),(a=t.call(this,e,n,o)).type="font-face",a.ascent=a.getAttribute("ascent").getNumber(),a.descent=a.getAttribute("descent").getNumber(),a.unitsPerEm=a.getAttribute("units-per-em").getNumber(),a}return _createClass2(r)}(Element$1),GlyphElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(e,n,o){var a;return _classCallCheck2(this,r),(a=t.call(this,e,n,o)).type="glyph",a.horizAdvX=a.getAttribute("horiz-adv-x").getNumber(),a.unicode=a.getAttribute("unicode").getString(),a.arabicForm=a.getAttribute("arabic-form").getString(),a}return _createClass2(r)}(PathElement),MissingGlyphElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(){var e;_classCallCheck2(this,r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).type="missing-glyph",e.horizAdvX=0,e}return _createClass2(r)}(GlyphElement),FontElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(e,n,o){var a;_classCallCheck2(this,r),(a=t.call(this,e,n,o)).type="font",a.isArabic=!1,a.glyphs={},a.arabicGlyphs={},a.isRTL=!1,a.horizAdvX=a.getAttribute("horiz-adv-x").getNumber();var i,s=e.definitions,l=_createForOfIteratorHelper(_assertThisInitialized2(a).children);try{for(l.s();!(i=l.n()).done;){var c=i.value;if(c instanceof FontFaceElement){a.fontFace=c;var u=c.getStyle("font-family");u.hasValue()&&(s[u.getString()]=_assertThisInitialized2(a))}else if(c instanceof MissingGlyphElement)a.missingGlyph=c;else if(c instanceof GlyphElement)if(c.arabicForm){a.isRTL=!0,a.isArabic=!0;var d=a.arabicGlyphs[c.unicode];void 0===d?a.arabicGlyphs[c.unicode]=_defineProperty2({},c.arabicForm,c):d[c.arabicForm]=c}else a.glyphs[c.unicode]=c}}catch(err){l.e(err)}finally{l.f()}return a}return _createClass2(r,[{key:"render",value:function(){}}]),r}(Element$1),TRefElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(){var e;_classCallCheck2(this,r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).type="tref",e}return _createClass2(r,[{key:"getText",value:function(){var e=this.getHrefAttribute().getDefinition();if(e){var t=e.children[0];if(t)return t.getText()}return""}}]),r}(TextElement),AElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(e,n,o){var a;_classCallCheck2(this,r),(a=t.call(this,e,n,o)).type="a";var i=n.childNodes,s=i[0],l=i.length>0&&Array.from(i).every((function(e){return 3===e.nodeType}));return a.hasText=l,a.text=l?a.getTextFromNode(s):"",a}return _createClass2(r,[{key:"getText",value:function(){return this.text}},{key:"renderChildren",value:function(e){if(this.hasText){_get(_getPrototypeOf2(r.prototype),"renderChildren",this).call(this,e);var t=this.document,n=this.x,o=this.y,a=t.screen.mouse,i=new Property(t,"fontSize",Font.parse(t.ctx.font).fontSize);a.isWorking()&&a.checkBoundingBox(this,new BoundingBox(n,o-i.getPixels("y"),n+this.measureText(e),o))}else if(this.children.length>0){var s=new GElement(this.document);s.children=this.children,s.parent=this,s.render(e)}}},{key:"onClick",value:function(){var e=this.document.window;e&&e.open(this.getHrefAttribute().getString())}},{key:"onMouseMove",value:function(){this.document.ctx.canvas.style.cursor="pointer"}}]),r}(TextElement),TextPathElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(e,n,o){var a;_classCallCheck2(this,r),(a=t.call(this,e,n,o)).type="textPath",a.textWidth=0,a.textHeight=0,a.pathLength=-1,a.glyphInfo=null,a.letterSpacingCache=[],a.measuresCache=new Map([["",0]]);var i=a.getHrefAttribute().getDefinition();return a.text=a.getTextFromNode(),a.dataArray=a.parsePathData(i),a}return _createClass2(r,[{key:"getText",value:function(){return this.text}},{key:"path",value:function(e){var t=this.dataArray;e&&e.beginPath(),t.forEach((function(t){var r=t.type,n=t.points;switch(r){case PathParser.LINE_TO:e&&e.lineTo(n[0],n[1]);break;case PathParser.MOVE_TO:e&&e.moveTo(n[0],n[1]);break;case PathParser.CURVE_TO:e&&e.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5]);break;case PathParser.QUAD_TO:e&&e.quadraticCurveTo(n[0],n[1],n[2],n[3]);break;case PathParser.ARC:var o=_slicedToArray(n,8),a=o[0],i=o[1],s=o[2],l=o[3],c=o[4],u=o[5],d=o[6],p=o[7],f=s>l?s:l,h=s>l?1:s/l,v=s>l?l/s:1;e&&(e.translate(a,i),e.rotate(d),e.scale(h,v),e.arc(0,0,f,c,c+u,Boolean(1-p)),e.scale(1/h,1/v),e.rotate(-d),e.translate(-a,-i));break;case PathParser.CLOSE_PATH:e&&e.closePath()}}))}},{key:"renderChildren",value:function(e){this.setTextData(e),e.save();var t=this.parent.getStyle("text-decoration").getString(),r=this.getFontSize(),n=this.glyphInfo,o=e.fillStyle;"underline"===t&&e.beginPath(),n.forEach((function(n,o){var a=n.p0,i=n.p1,s=n.rotation,l=n.text;e.save(),e.translate(a.x,a.y),e.rotate(s),e.fillStyle&&e.fillText(l,0,0),e.strokeStyle&&e.strokeText(l,0,0),e.restore(),"underline"===t&&(0===o&&e.moveTo(a.x,a.y+r/8),e.lineTo(i.x,i.y+r/5))})),"underline"===t&&(e.lineWidth=r/20,e.strokeStyle=o,e.stroke(),e.closePath()),e.restore()}},{key:"getLetterSpacingAt",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.letterSpacingCache[e]||0}},{key:"findSegmentToFitChar",value:function(e,t,r,n,o,a,i,s,l){var c=a,u=this.measureText(e,s);" "===s&&"justify"===t&&r<n&&(u+=(n-r)/o),l>-1&&(c+=this.getLetterSpacingAt(l));var d=this.textHeight/20,p=this.getEquidistantPointOnPath(c,d,0),f=this.getEquidistantPointOnPath(c+u,d,0),h={p0:p,p1:f},v=p&&f?Math.atan2(f.y-p.y,f.x-p.x):0;if(i){var g=Math.cos(Math.PI/2+v)*i,m=Math.cos(-v)*i;h.p0=_objectSpread(_objectSpread({},p),{},{x:p.x+g,y:p.y+m}),h.p1=_objectSpread(_objectSpread({},f),{},{x:f.x+g,y:f.y+m})}return{offset:c+=u,segment:h,rotation:v}}},{key:"measureText",value:function(e,t){var r=this.measuresCache,n=t||this.getText();if(r.has(n))return r.get(n);var o=this.measureTargetText(e,n);return r.set(n,o),o}},{key:"setTextData",value:function(e){var t=this;if(!this.glyphInfo){var r=this.getText(),n=r.split(""),o=r.split(" ").length-1,a=this.parent.getAttribute("dx").split().map((function(e){return e.getPixels("x")})),i=this.parent.getAttribute("dy").getPixels("y"),s=this.parent.getStyle("text-anchor").getString("start"),l=this.getStyle("letter-spacing"),c=this.parent.getStyle("letter-spacing"),u=0;l.hasValue()&&"inherit"!==l.getValue()?l.hasValue()&&"initial"!==l.getValue()&&"unset"!==l.getValue()&&(u=l.getPixels()):u=c.getPixels();var d=[],p=r.length;this.letterSpacingCache=d;for(var f=0;f<p;f++)d.push(void 0!==a[f]?a[f]:u);var h=d.reduce((function(e,t,r){return 0===r?0:e+t||0}),0),v=this.measureText(e),g=Math.max(v+h,0);this.textWidth=v,this.textHeight=this.getFontSize(),this.glyphInfo=[];var m=this.getPathLength(),b=this.getStyle("startOffset").getNumber(0)*m,A=0;"middle"!==s&&"center"!==s||(A=-g/2),"end"!==s&&"right"!==s||(A=-g),A+=b,n.forEach((function(r,a){var l=t.findSegmentToFitChar(e,s,g,m,o,A,i,r,a),c=l.offset,u=l.segment,d=l.rotation;A=c,u.p0&&u.p1&&t.glyphInfo.push({text:n[a],p0:u.p0,p1:u.p1,rotation:d})}))}}},{key:"parsePathData",value:function(e){if(this.pathLength=-1,!e)return[];var t=[],r=e.pathParser;for(r.reset();!r.isEnd();){var n=r.current,o=n?n.x:0,a=n?n.y:0,i=r.next(),s=i.type,l=[];switch(i.type){case PathParser.MOVE_TO:this.pathM(r,l);break;case PathParser.LINE_TO:s=this.pathL(r,l);break;case PathParser.HORIZ_LINE_TO:s=this.pathH(r,l);break;case PathParser.VERT_LINE_TO:s=this.pathV(r,l);break;case PathParser.CURVE_TO:this.pathC(r,l);break;case PathParser.SMOOTH_CURVE_TO:s=this.pathS(r,l);break;case PathParser.QUAD_TO:this.pathQ(r,l);break;case PathParser.SMOOTH_QUAD_TO:s=this.pathT(r,l);break;case PathParser.ARC:l=this.pathA(r);break;case PathParser.CLOSE_PATH:PathElement.pathZ(r)}i.type!==PathParser.CLOSE_PATH?t.push({type:s,points:l,start:{x:o,y:a},pathLength:this.calcLength(o,a,s,l)}):t.push({type:PathParser.CLOSE_PATH,points:[],pathLength:0})}return t}},{key:"pathM",value:function(e,t){var r=PathElement.pathM(e).point,n=r.x,o=r.y;t.push(n,o)}},{key:"pathL",value:function(e,t){var r=PathElement.pathL(e).point,n=r.x,o=r.y;return t.push(n,o),PathParser.LINE_TO}},{key:"pathH",value:function(e,t){var r=PathElement.pathH(e).point,n=r.x,o=r.y;return t.push(n,o),PathParser.LINE_TO}},{key:"pathV",value:function(e,t){var r=PathElement.pathV(e).point,n=r.x,o=r.y;return t.push(n,o),PathParser.LINE_TO}},{key:"pathC",value:function(e,t){var r=PathElement.pathC(e),n=r.point,o=r.controlPoint,a=r.currentPoint;t.push(n.x,n.y,o.x,o.y,a.x,a.y)}},{key:"pathS",value:function(e,t){var r=PathElement.pathS(e),n=r.point,o=r.controlPoint,a=r.currentPoint;return t.push(n.x,n.y,o.x,o.y,a.x,a.y),PathParser.CURVE_TO}},{key:"pathQ",value:function(e,t){var r=PathElement.pathQ(e),n=r.controlPoint,o=r.currentPoint;t.push(n.x,n.y,o.x,o.y)}},{key:"pathT",value:function(e,t){var r=PathElement.pathT(e),n=r.controlPoint,o=r.currentPoint;return t.push(n.x,n.y,o.x,o.y),PathParser.QUAD_TO}},{key:"pathA",value:function(e){var t=PathElement.pathA(e),r=t.rX,n=t.rY,o=t.sweepFlag,a=t.xAxisRotation,i=t.centp,s=t.a1,l=t.ad;return 0===o&&l>0&&(l-=2*Math.PI),1===o&&l<0&&(l+=2*Math.PI),[i.x,i.y,r,n,s,l,a,o]}},{key:"calcLength",value:function(e,t,r,n){var o=0,a=null,i=null,s=0;switch(r){case PathParser.LINE_TO:return this.getLineLength(e,t,n[0],n[1]);case PathParser.CURVE_TO:for(o=0,a=this.getPointOnCubicBezier(0,e,t,n[0],n[1],n[2],n[3],n[4],n[5]),s=.01;s<=1;s+=.01)i=this.getPointOnCubicBezier(s,e,t,n[0],n[1],n[2],n[3],n[4],n[5]),o+=this.getLineLength(a.x,a.y,i.x,i.y),a=i;return o;case PathParser.QUAD_TO:for(o=0,a=this.getPointOnQuadraticBezier(0,e,t,n[0],n[1],n[2],n[3]),s=.01;s<=1;s+=.01)i=this.getPointOnQuadraticBezier(s,e,t,n[0],n[1],n[2],n[3]),o+=this.getLineLength(a.x,a.y,i.x,i.y),a=i;return o;case PathParser.ARC:o=0;var l=n[4],c=n[5],u=n[4]+c,d=Math.PI/180;if(Math.abs(l-u)<d&&(d=Math.abs(l-u)),a=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],l,0),c<0)for(s=l-d;s>u;s-=d)i=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],s,0),o+=this.getLineLength(a.x,a.y,i.x,i.y),a=i;else for(s=l+d;s<u;s+=d)i=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],s,0),o+=this.getLineLength(a.x,a.y,i.x,i.y),a=i;return i=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],u,0),o+=this.getLineLength(a.x,a.y,i.x,i.y)}return 0}},{key:"getPointOnLine",value:function(e,t,r,n,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:t,i=arguments.length>6&&void 0!==arguments[6]?arguments[6]:r,s=(o-r)/(n-t+PSEUDO_ZERO),l=Math.sqrt(e*e/(1+s*s));n<t&&(l*=-1);var c=s*l,u=null;if(n===t)u={x:a,y:i+c};else if((i-r)/(a-t+PSEUDO_ZERO)===s)u={x:a+l,y:i+c};else{var d,p,f=this.getLineLength(t,r,n,o);if(f<PSEUDO_ZERO)return null;var h=(a-t)*(n-t)+(i-r)*(o-r);d=t+(h/=f*f)*(n-t),p=r+h*(o-r);var v=this.getLineLength(a,i,d,p),g=Math.sqrt(e*e-v*v);l=Math.sqrt(g*g/(1+s*s)),n<t&&(l*=-1),u={x:d+l,y:p+(c=s*l)}}return u}},{key:"getPointOnPath",value:function(e){var t=this.getPathLength(),r=0,n=null;if(e<-5e-5||e-5e-5>t)return null;var o,a=_createForOfIteratorHelper(this.dataArray);try{for(a.s();!(o=a.n()).done;){var i=o.value;if(!i||!(i.pathLength<5e-5||r+i.pathLength+5e-5<e)){var s=e-r,l=0;switch(i.type){case PathParser.LINE_TO:n=this.getPointOnLine(s,i.start.x,i.start.y,i.points[0],i.points[1],i.start.x,i.start.y);break;case PathParser.ARC:var c=i.points[4],u=i.points[5],d=i.points[4]+u;if(l=c+s/i.pathLength*u,u<0&&l<d||u>=0&&l>d)break;n=this.getPointOnEllipticalArc(i.points[0],i.points[1],i.points[2],i.points[3],l,i.points[6]);break;case PathParser.CURVE_TO:(l=s/i.pathLength)>1&&(l=1),n=this.getPointOnCubicBezier(l,i.start.x,i.start.y,i.points[0],i.points[1],i.points[2],i.points[3],i.points[4],i.points[5]);break;case PathParser.QUAD_TO:(l=s/i.pathLength)>1&&(l=1),n=this.getPointOnQuadraticBezier(l,i.start.x,i.start.y,i.points[0],i.points[1],i.points[2],i.points[3])}if(n)return n;break}r+=i.pathLength}}catch(err){a.e(err)}finally{a.f()}return null}},{key:"getLineLength",value:function(e,t,r,n){return Math.sqrt((r-e)*(r-e)+(n-t)*(n-t))}},{key:"getPathLength",value:function(){return-1===this.pathLength&&(this.pathLength=this.dataArray.reduce((function(e,t){return t.pathLength>0?e+t.pathLength:e}),0)),this.pathLength}},{key:"getPointOnCubicBezier",value:function(e,t,r,n,o,a,i,s,l){return{x:s*CB1(e)+a*CB2(e)+n*CB3(e)+t*CB4(e),y:l*CB1(e)+i*CB2(e)+o*CB3(e)+r*CB4(e)}}},{key:"getPointOnQuadraticBezier",value:function(e,t,r,n,o,a,i){return{x:a*QB1(e)+n*QB2(e)+t*QB3(e),y:i*QB1(e)+o*QB2(e)+r*QB3(e)}}},{key:"getPointOnEllipticalArc",value:function(e,t,r,n,o,a){var i=Math.cos(a),s=Math.sin(a),l=r*Math.cos(o),c=n*Math.sin(o);return{x:e+(l*i-c*s),y:t+(l*s+c*i)}}},{key:"buildEquidistantCache",value:function(e,t){var r=this.getPathLength(),n=t||.25,o=e||r/100;if(!this.equidistantCache||this.equidistantCache.step!==o||this.equidistantCache.precision!==n){this.equidistantCache={step:o,precision:n,points:[]};for(var a=0,i=0;i<=r;i+=n){var s=this.getPointOnPath(i),l=this.getPointOnPath(i+n);s&&l&&((a+=this.getLineLength(s.x,s.y,l.x,l.y))>=o&&(this.equidistantCache.points.push({x:s.x,y:s.y,distance:i}),a-=o))}}}},{key:"getEquidistantPointOnPath",value:function(e,t,r){if(this.buildEquidistantCache(t,r),e<0||e-this.getPathLength()>5e-5)return null;var n=Math.round(e/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[n]||null}}]),r}(TextElement),dataUriRegex=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i,ImageElement=function(e){_inherits2(o,e);var t,r,n=_createSuper2(o);function o(e,t,r){var a;_classCallCheck2(this,o),(a=n.call(this,e,t,r)).type="image",a.loaded=!1;var i=a.getHrefAttribute().getString();if(!i)return _possibleConstructorReturn2(a);var s=i.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(i);return e.images.push(_assertThisInitialized2(a)),s?a.loadSvg(i):a.loadImage(i),a}return _createClass2(o,[{key:"loadImage",value:(r=_asyncToGenerator2(_regeneratorRuntime().mark((function e(t){var r;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.document.createImage(t);case 3:r=e.sent,this.image=r,e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.error('Error while loading image "'.concat(t,'":'),e.t0);case 10:this.loaded=!0;case 11:case"end":return e.stop()}}),e,this,[[0,7]])}))),function(e){return r.apply(this,arguments)})},{key:"loadSvg",value:(t=_asyncToGenerator2(_regeneratorRuntime().mark((function e(t){var r,n,o,a;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=dataUriRegex.exec(t))){e.next=6;break}(n=r[5])&&("base64"===r[4]?this.image=atob(n):this.image=decodeURIComponent(n)),e.next=19;break;case 6:return e.prev=6,e.next=9,this.document.fetch(t);case 9:return o=e.sent,e.next=12,o.text();case 12:a=e.sent,this.image=a,e.next=19;break;case 16:e.prev=16,e.t0=e.catch(6),console.error('Error while loading image "'.concat(t,'":'),e.t0);case 19:this.loaded=!0;case 20:case"end":return e.stop()}}),e,this,[[6,16]])}))),function(e){return t.apply(this,arguments)})},{key:"renderChildren",value:function(e){var t=this.document,r=this.image,n=this.loaded,o=this.getAttribute("x").getPixels("x"),a=this.getAttribute("y").getPixels("y"),i=this.getStyle("width").getPixels("x"),s=this.getStyle("height").getPixels("y");if(n&&r&&i&&s){if(e.save(),e.translate(o,a),"string"==typeof r){var l=t.canvg.forkString(e,r,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:i,scaleHeight:s}),c=l.document.documentElement;c&&(c.parent=this),l.render()}else t.setViewBox({ctx:e,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:i,desiredWidth:r.width,height:s,desiredHeight:r.height}),this.loaded&&("complete"in r&&!r.complete||e.drawImage(r,0,0));e.restore()}}},{key:"getBoundingBox",value:function(){var e=this.getAttribute("x").getPixels("x"),t=this.getAttribute("y").getPixels("y"),r=this.getStyle("width").getPixels("x"),n=this.getStyle("height").getPixels("y");return new BoundingBox(e,t,e+r,t+n)}}]),o}(RenderedElement),SymbolElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(){var e;_classCallCheck2(this,r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).type="symbol",e}return _createClass2(r,[{key:"render",value:function(e){}}]),r}(RenderedElement),SVGFontLoader=function(){function e(t){_classCallCheck2(this,e),this.document=t,this.loaded=!1,t.fonts.push(this)}var t;return _createClass2(e,[{key:"load",value:(t=_asyncToGenerator2(_regeneratorRuntime().mark((function e(t,r){var n,o,a;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=this.document,e.next=4,n.canvg.parser.load(r);case 4:o=e.sent,a=o.getElementsByTagName("font"),Array.from(a).forEach((function(e){var r=n.createElement(e);n.definitions[t]=r})),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.error('Error while loading font "'.concat(r,'":'),e.t0);case 12:this.loaded=!0;case 13:case"end":return e.stop()}}),e,this,[[0,9]])}))),function(e,r){return t.apply(this,arguments)})}]),e}(),StyleElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(e,n,o){var a;_classCallCheck2(this,r),(a=t.call(this,e,n,o)).type="style";var i=compressSpaces(Array.from(n.childNodes).map((function(e){return e.textContent})).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,""));return i.split("}").forEach((function(t){var r=t.trim();if(r){var n=r.split("{"),o=n[0].split(","),a=n[1].split(";");o.forEach((function(t){var r=t.trim();if(r){var n=e.styles[r]||{};if(a.forEach((function(t){var r=t.indexOf(":"),o=t.substr(0,r).trim(),a=t.substr(r+1,t.length-r).trim();o&&a&&(n[o]=new Property(e,o,a))})),e.styles[r]=n,e.stylesSpecificity[r]=getSelectorSpecificity(r),"@font-face"===r){var o=n["font-family"].getString().replace(/"|'/g,"");n.src.getString().split(",").forEach((function(t){if(t.indexOf('format("svg")')>0){var r=parseExternalUrl(t);r&&new SVGFontLoader(e).load(o,r)}}))}}}))}})),a}return _createClass2(r)}(Element$1);StyleElement.parseExternalUrl=parseExternalUrl;var UseElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(){var e;_classCallCheck2(this,r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).type="use",e}return _createClass2(r,[{key:"setContext",value:function(e){_get(_getPrototypeOf2(r.prototype),"setContext",this).call(this,e);var t=this.getAttribute("x"),n=this.getAttribute("y");t.hasValue()&&e.translate(t.getPixels("x"),0),n.hasValue()&&e.translate(0,n.getPixels("y"))}},{key:"path",value:function(e){var t=this.element;t&&t.path(e)}},{key:"renderChildren",value:function(e){var t=this.document,r=this.element;if(r){var n=r;if("symbol"===r.type&&((n=new SVGElement$1(t)).attributes.viewBox=new Property(t,"viewBox",r.getAttribute("viewBox").getString()),n.attributes.preserveAspectRatio=new Property(t,"preserveAspectRatio",r.getAttribute("preserveAspectRatio").getString()),n.attributes.overflow=new Property(t,"overflow",r.getAttribute("overflow").getString()),n.children=r.children,r.styles.opacity=new Property(t,"opacity",this.calculateOpacity())),"svg"===n.type){var o=this.getStyle("width",!1,!0),a=this.getStyle("height",!1,!0);o.hasValue()&&(n.attributes.width=new Property(t,"width",o.getString())),a.hasValue()&&(n.attributes.height=new Property(t,"height",a.getString()))}var i=n.parent;n.parent=this,n.render(e),n.parent=i}}},{key:"getBoundingBox",value:function(e){var t=this.element;return t?t.getBoundingBox(e):null}},{key:"elementTransform",value:function(){var e=this.document,t=this.element;return t?Transform.fromElement(e,t):null}},{key:"element",get:function(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}}]),r}(RenderedElement);function imGet(e,t,r,n,o,a){return e[r*n*4+4*t+a]}function imSet(e,t,r,n,o,a,i){e[r*n*4+4*t+a]=i}function m(e,t,r){return e[t]*r}function c(e,t,r,n){return t+Math.cos(e)*r+Math.sin(e)*n}var FeColorMatrixElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(e,n,o){var a;_classCallCheck2(this,r),(a=t.call(this,e,n,o)).type="feColorMatrix";var i=toNumbers(a.getAttribute("values").getString());switch(a.getAttribute("type").getString("matrix")){case"saturate":var s=i[0];i=[.213+.787*s,.715-.715*s,.072-.072*s,0,0,.213-.213*s,.715+.285*s,.072-.072*s,0,0,.213-.213*s,.715-.715*s,.072+.928*s,0,0,0,0,0,1,0,0,0,0,0,1];break;case"hueRotate":var l=i[0]*Math.PI/180;i=[c(l,.213,.787,-.213),c(l,.715,-.715,-.715),c(l,.072,-.072,.928),0,0,c(l,.213,-.213,.143),c(l,.715,.285,.14),c(l,.072,-.072,-.283),0,0,c(l,.213,-.213,-.787),c(l,.715,-.715,.715),c(l,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break;case"luminanceToAlpha":i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1]}return a.matrix=i,a.includeOpacity=a.getAttribute("includeOpacity").hasValue(),a}return _createClass2(r,[{key:"apply",value:function(e,t,r,n,o){for(var a=this.includeOpacity,i=this.matrix,s=e.getImageData(0,0,n,o),l=0;l<o;l++)for(var c=0;c<n;c++){var u=imGet(s.data,c,l,n,o,0),d=imGet(s.data,c,l,n,o,1),p=imGet(s.data,c,l,n,o,2),f=imGet(s.data,c,l,n,o,3),h=m(i,0,u)+m(i,1,d)+m(i,2,p)+m(i,3,f)+m(i,4,1),v=m(i,5,u)+m(i,6,d)+m(i,7,p)+m(i,8,f)+m(i,9,1),g=m(i,10,u)+m(i,11,d)+m(i,12,p)+m(i,13,f)+m(i,14,1),b=m(i,15,u)+m(i,16,d)+m(i,17,p)+m(i,18,f)+m(i,19,1);a&&(h=0,v=0,g=0,b*=f/255),imSet(s.data,c,l,n,o,0,h),imSet(s.data,c,l,n,o,1,v),imSet(s.data,c,l,n,o,2,g),imSet(s.data,c,l,n,o,3,b)}e.clearRect(0,0,n,o),e.putImageData(s,0,0)}}]),r}(Element$1),MaskElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(){var e;_classCallCheck2(this,r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).type="mask",e}return _createClass2(r,[{key:"apply",value:function(e,t){var n=this.document,o=this.getAttribute("x").getPixels("x"),a=this.getAttribute("y").getPixels("y"),i=this.getStyle("width").getPixels("x"),s=this.getStyle("height").getPixels("y");if(!i&&!s){var l=new BoundingBox;this.children.forEach((function(t){l.addBoundingBox(t.getBoundingBox(e))})),o=Math.floor(l.x1),a=Math.floor(l.y1),i=Math.floor(l.width),s=Math.floor(l.height)}var c=this.removeStyles(t,r.ignoreStyles),u=n.createCanvas(o+i,a+s),d=u.getContext("2d");n.screen.setDefaults(d),this.renderChildren(d),new FeColorMatrixElement(n,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(d,0,0,o+i,a+s);var p=n.createCanvas(o+i,a+s),f=p.getContext("2d");n.screen.setDefaults(f),t.render(f),f.globalCompositeOperation="destination-in",f.fillStyle=d.createPattern(u,"no-repeat"),f.fillRect(0,0,o+i,a+s),e.fillStyle=f.createPattern(p,"no-repeat"),e.fillRect(0,0,o+i,a+s),this.restoreStyles(t,c)}},{key:"render",value:function(e){}}]),r}(Element$1);MaskElement.ignoreStyles=["mask","transform","clip-path"];var noop$1=function(){},ClipPathElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(){var e;_classCallCheck2(this,r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).type="clipPath",e}return _createClass2(r,[{key:"apply",value:function(e){var t=this.document,r=Reflect.getPrototypeOf(e),n=e.beginPath,o=e.closePath;r&&(r.beginPath=noop$1,r.closePath=noop$1),Reflect.apply(n,e,[]),this.children.forEach((function(n){if("path"in n){var a="elementTransform"in n?n.elementTransform():null;a||(a=Transform.fromElement(t,n)),a&&a.apply(e),n.path(e),r&&(r.closePath=o),a&&a.unapply(e)}})),Reflect.apply(o,e,[]),e.clip(),r&&(r.beginPath=n,r.closePath=o)}},{key:"render",value:function(e){}}]),r}(Element$1),FilterElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(){var e;_classCallCheck2(this,r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).type="filter",e}return _createClass2(r,[{key:"apply",value:function(e,t){var n=this.document,o=this.children,a="getBoundingBox"in t?t.getBoundingBox(e):null;if(a){var i=0,s=0;o.forEach((function(e){var t=e.extraFilterDistance||0;i=Math.max(i,t),s=Math.max(s,t)}));var l=Math.floor(a.width),c=Math.floor(a.height),u=l+2*i,d=c+2*s;if(!(u<1||d<1)){var p=Math.floor(a.x),f=Math.floor(a.y),h=this.removeStyles(t,r.ignoreStyles),v=n.createCanvas(u,d),g=v.getContext("2d");n.screen.setDefaults(g),g.translate(-p+i,-f+s),t.render(g),o.forEach((function(e){"function"==typeof e.apply&&e.apply(g,0,0,u,d)})),e.drawImage(v,0,0,u,d,p-i,f-s,u,d),this.restoreStyles(t,h)}}}},{key:"render",value:function(e){}}]),r}(Element$1);FilterElement.ignoreStyles=["filter","transform","clip-path"];var FeDropShadowElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(e,n,o){var a;return _classCallCheck2(this,r),(a=t.call(this,e,n,o)).type="feDropShadow",a.addStylesFromStyleDefinition(),a}return _createClass2(r,[{key:"apply",value:function(e,t,r,n,o){}}]),r}(Element$1),FeMorphologyElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(){var e;_classCallCheck2(this,r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).type="feMorphology",e}return _createClass2(r,[{key:"apply",value:function(e,t,r,n,o){}}]),r}(Element$1),FeCompositeElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(){var e;_classCallCheck2(this,r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).type="feComposite",e}return _createClass2(r,[{key:"apply",value:function(e,t,r,n,o){}}]),r}(Element$1),FeGaussianBlurElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(e,n,o){var a;return _classCallCheck2(this,r),(a=t.call(this,e,n,o)).type="feGaussianBlur",a.blurRadius=Math.floor(a.getAttribute("stdDeviation").getNumber()),a.extraFilterDistance=a.blurRadius,a}return _createClass2(r,[{key:"apply",value:function(e,t,r,n,o){var a=this.document,i=this.blurRadius,s=a.window?a.window.document.body:null,l=e.canvas;l.id=a.getUniqueId(),s&&(l.style.display="none",s.appendChild(l)),processCanvasRGBA(l,t,r,n,o,i),s&&s.removeChild(l)}}]),r}(Element$1),TitleElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(){var e;_classCallCheck2(this,r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).type="title",e}return _createClass2(r)}(Element$1),DescElement=function(e){_inherits2(r,e);var t=_createSuper2(r);function r(){var e;_classCallCheck2(this,r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).type="desc",e}return _createClass2(r)}(Element$1),elements={svg:SVGElement$1,rect:RectElement,circle:CircleElement,ellipse:EllipseElement,line:LineElement,polyline:PolylineElement,polygon:PolygonElement,path:PathElement,pattern:PatternElement,marker:MarkerElement,defs:DefsElement,linearGradient:LinearGradientElement,radialGradient:RadialGradientElement,stop:StopElement,animate:AnimateElement,animateColor:AnimateColorElement,animateTransform:AnimateTransformElement,font:FontElement,"font-face":FontFaceElement,"missing-glyph":MissingGlyphElement,glyph:GlyphElement,text:TextElement,tspan:TSpanElement,tref:TRefElement,a:AElement,textPath:TextPathElement,image:ImageElement,g:GElement,symbol:SymbolElement,style:StyleElement,use:UseElement,mask:MaskElement,clipPath:ClipPathElement,filter:FilterElement,feDropShadow:FeDropShadowElement,feMorphology:FeMorphologyElement,feComposite:FeCompositeElement,feColorMatrix:FeColorMatrixElement,feGaussianBlur:FeGaussianBlurElement,title:TitleElement,desc:DescElement};function createCanvas(e,t){var r=document.createElement("canvas");return r.width=e,r.height=t,r}function createImage(e){return _createImage.apply(this,arguments)}function _createImage(){return _createImage=_asyncToGenerator2(_regeneratorRuntime().mark((function e(t){var r,n,o=arguments;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=o.length>1&&void 0!==o[1]&&o[1],n=document.createElement("img"),r&&(n.crossOrigin="Anonymous"),e.abrupt("return",new Promise((function(e,r){n.onload=function(){e(n)},n.onerror=function(e,t,n,o,a){r(a)},n.src=t})));case 4:case"end":return e.stop()}}),e)}))),_createImage.apply(this,arguments)}var DEFAULT_EM_SIZE=12,Document=function(){function e(t){var r=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.rootEmSize,a=void 0===o?DEFAULT_EM_SIZE:o,i=n.emSize,s=void 0===i?DEFAULT_EM_SIZE:i,l=n.createCanvas,c=void 0===l?e.createCanvas:l,u=n.createImage,d=void 0===u?e.createImage:u,p=n.anonymousCrossOrigin;_classCallCheck2(this,e),this.canvg=t,this.definitions={},this.styles={},this.stylesSpecificity={},this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=t.screen,this.rootEmSize=a,this.emSize=s,this.createCanvas=c,this.createImage=this.bindCreateImage(d,p),this.screen.wait((function(){return r.isImagesLoaded()})),this.screen.wait((function(){return r.isFontsLoaded()}))}return _createClass2(e,[{key:"bindCreateImage",value:function(e,t){return"boolean"==typeof t?function(r,n){return e(r,"boolean"==typeof n?n:t)}:e}},{key:"window",get:function(){return this.screen.window}},{key:"fetch",get:function(){return this.screen.fetch}},{key:"ctx",get:function(){return this.screen.ctx}},{key:"emSize",get:function(){var e=this.emSizeStack;return e[e.length-1]||DEFAULT_EM_SIZE},set:function(e){this.emSizeStack.push(e)}},{key:"popEmSize",value:function(){this.emSizeStack.pop()}},{key:"getUniqueId",value:function(){return"canvg".concat(++this.uniqueId)}},{key:"isImagesLoaded",value:function(){return this.images.every((function(e){return e.loaded}))}},{key:"isFontsLoaded",value:function(){return this.fonts.every((function(e){return e.loaded}))}},{key:"createDocumentElement",value:function(e){var t=this.createElement(e.documentElement);return t.root=!0,t.addStylesFromStyleDefinition(),this.documentElement=t,t}},{key:"createElement",value:function(t){var r=t.nodeName.replace(/^[^:]+:/,""),n=e.elementTypes[r];return n?new n(this,t):new UnknownElement(this,t)}},{key:"createTextNode",value:function(e){return new TextNode(this,e)}},{key:"setViewBox",value:function(e){this.screen.setViewBox(_objectSpread({document:this},e))}}]),e}();Document.createCanvas=createCanvas,Document.createImage=createImage,Document.elementTypes=elements;var Canvg=function(){function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_classCallCheck2(this,e),this.parser=new Parser(n),this.screen=new Screen(t,n),this.options=n;var o=new Document(this,n),a=o.createDocumentElement(r);this.document=o,this.documentElement=a}var t,r;return _createClass2(e,[{key:"fork",value:function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.from(t,r,_objectSpread(_objectSpread({},this.options),n))}},{key:"forkString",value:function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.fromString(t,r,_objectSpread(_objectSpread({},this.options),n))}},{key:"ready",value:function(){return this.screen.ready()}},{key:"isReady",value:function(){return this.screen.isReady()}},{key:"render",value:(r=_asyncToGenerator2(_regeneratorRuntime().mark((function e(){var t,r=arguments;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},this.start(_objectSpread({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},t)),e.next=4,this.ready();case 4:this.stop();case 5:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"start",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.documentElement,r=this.screen,n=this.options;r.start(t,_objectSpread(_objectSpread({enableRedraw:!0},n),e))}},{key:"stop",value:function(){this.screen.stop()}},{key:"resize",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.documentElement.resize(e,t,r)}}],[{key:"from",value:(t=_asyncToGenerator2(_regeneratorRuntime().mark((function t(r,n){var o,a,i,s=arguments;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=new Parser(o=s.length>2&&void 0!==s[2]?s[2]:{}),t.next=4,a.parse(n);case 4:return i=t.sent,t.abrupt("return",new e(r,i,o));case 6:case"end":return t.stop()}}),t)}))),function(e,r){return t.apply(this,arguments)})},{key:"fromString",value:function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new e(t,new Parser(n).parseFromString(r),n)}}]),e}(),svg2canvas=function(e){var t=document.createElement("canvas"),r=t.getContext("2d");return r?(Canvg.fromString(r,e).start(),t):t},btnImg="_btnImg_16jss_1",topBtnIcon="_topBtnIcon_16jss_13",dropItem="_dropItem_16jss_17",dropIcon="_dropIcon_16jss_21",dropWrap="_dropWrap_16jss_26",styles$6={btnImg:btnImg,topBtnIcon:topBtnIcon,dropItem:dropItem,dropIcon:dropIcon,dropWrap:dropWrap},FileBtn=defineComponent({name:"FileBtn",emits:["select"],props:{saveLoading:{type:Boolean,default:!1}},setup:function(e,t){var r=t.emit,n=computed((function(){return[{label:function(){return createVNode("div",{class:styles$6.dropItem},[createVNode("img",{class:styles$6.dropIcon,src:getImage("icon_26_4.png")},null),createVNode("span",null,[createTextVNode("新建曲谱")])])},key:"newMusic"},{label:function(){return createVNode("div",{class:styles$6.dropItem},[createVNode("img",{class:styles$6.dropIcon,src:getImage("icon_26_0.png")},null),createVNode("span",null,[createTextVNode("保存")]),e.saveLoading&&createVNode(NSpin,{style:{marginLeft:"auto"},size:14},null)])},key:"save",disabled:e.saveLoading},{label:function(){return createVNode("div",{class:styles$6.dropItem},[createVNode("img",{class:styles$6.dropIcon,src:getImage("icon_26_6.png")},null),createVNode("span",null,[createTextVNode("导入")])])},key:"import",children:[{label:"XML",key:"xml"},{label:"PDF",key:"import-pdf"},{label:"PNG,JPG",key:"import-image"}]},{label:function(){return createVNode("div",{class:styles$6.dropItem},[createVNode("img",{class:styles$6.dropIcon,src:getImage("icon_26_1.png")},null),createVNode("span",null,[createTextVNode("上传到我的资源")])])},key:"upload"},{label:function(){return createVNode("div",{class:styles$6.dropItem},[createVNode("img",{class:styles$6.dropIcon,src:getImage("icon_26_2.png")},null),createVNode("span",null,[createTextVNode("导出")])])},key:"export",children:[{label:"XML",key:"down-xml"},{label:"PNG",key:"png"},{label:"WAV",key:"wav"},{label:"MIDI",key:"midi"}]},{label:function(){return createVNode("div",{class:styles$6.dropItem},[createVNode("img",{class:styles$6.dropIcon,src:getImage("icon_26_3.png")},null),createVNode("span",null,[createTextVNode("打印")])])},key:"print",disabled:!0}]}));return function(){return createVNode(NDropdown,{class:styles$6.dropWrap,options:n.value,trigger:"click",onSelect:function(e){console.log("🚀 ~ val:",e),r("select",e)}},{default:function(){return[createVNode("div",{class:styles$6.btnImg},[createVNode("img",{class:styles$6.topBtnIcon,src:getImage("icon_0.png")},null)])]}})}}}),setbox$1="_setbox_1p89x_1",head$2="_head_1p89x_11",close$2="_close_1p89x_25",content$1="_content_1p89x_31",slide="_slide_1p89x_36",box="_box_1p89x_43",btn$1="_btn_1p89x_56",activeBtn="_activeBtn_1p89x_63",btnIcon="_btnIcon_1p89x_68",keyBox="_keyBox_1p89x_71",table="_table_1p89x_74",styles$5={setbox:setbox$1,head:head$2,close:close$2,content:content$1,slide:slide,box:box,btn:btn$1,activeBtn:activeBtn,btnIcon:btnIcon,keyBox:keyBox,table:table};function _isSlot$2(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!isVNode(e)}var TheSetting=defineComponent({name:"TheSetting",props:{show:{type:Boolean,default:!1}},emits:["update:show"],setup:function(e,t){var r=t.emit;useMessage();var n=reactive({show:!1,btns:[{label:"播放设置",key:"1",icon:getImage("icon_28_1.png")},{label:"快捷键",key:"3",icon:getImage("icon_28_3.png")}],active:"3"});watch((function(){return e.show}),(function(){n.show=e.show}));var o=[{label:"音符向上",value:"↑"},{label:"音符向下",value:"↓"},{label:"音符C",value:"C"},{label:"音符D",value:"D"},{label:"音符E",value:"E"},{label:"音符F",value:"F"},{label:"音符G",value:"G"},{label:"音符A",value:"A"},{label:"音符B",value:"B"},{label:"删除音符",value:"BackSpace"},{label:"撤回",value:"Ctrl + z"},{label:"多选",value:"Shift"},{label:"休止符",value:"0"},{label:"三十二分音符",value:"1"},{label:"十六分音符",value:"2"},{label:"八分音符",value:"3"},{label:"四分音符",value:"4"},{label:"二分音符",value:"5"},{label:"全音符",value:"6"},{label:"还原记号",value:"7"},{label:"升记号",value:"8"},{label:"降记号",value:"9"}];return function(){var t;return createVNode(NModal,{maskClosable:!1,autoFocus:!1,show:e.show,"onUpdate:show":function(e){return r("update:show",e)}},{default:function(){return[createVNode("div",{class:styles$5.setbox},[createVNode("div",{class:styles$5.head},[createVNode("div",null,[createTextVNode("设置")]),createVNode(NButton,{class:styles$5.close,quaternary:!0,circle:!0,size:"small",onClick:function(){return r("update:show",!1)}},{default:function(){return[createVNode(NIcon,{component:Close,size:18},null)]}})]),createVNode("div",{class:styles$5.content},[createVNode("div",{class:styles$5.slide},[createVNode(NSpace,{vertical:!0,align:"center",wrapItem:!1},_isSlot$2(t=n.btns.map((function(e){return createVNode(NButton,{quaternary:!0,block:!0,class:[styles$5.btn,n.active===e.key&&styles$5.activeBtn],onClick:function(){return n.active=e.key}},{icon:function(){return createVNode("img",{class:styles$5.btnIcon,src:e.icon},null)},default:function(){return e.label}})})))?t:{default:function(){return[t]}})]),createVNode("div",{class:styles$5.box},[createVNode(NTabs,{value:n.active,"onUpdate:value":function(e){return n.active=e}},{default:function(){return[createVNode(NTabPane,{name:"1",tab:"1"},{default:function(){return[createVNode("div",{class:styles$5.keyBox},[createVNode(NCard,{title:"光标设置",bordered:!1},{default:function(){return[createVNode(NRadioGroup,{value:settings.cursorType,"onUpdate:value":function(e){return settings.cursorType=e}},{default:function(){return[createVNode(NSpace,null,{default:function(){return[createVNode(NRadio,{value:"beat",disabled:!0},{default:function(){return[createTextVNode("光标跟随节拍")]}}),createVNode(NRadio,{value:"note"},{default:function(){return[createTextVNode("光标跟随音符")]}})]}})]}})]}})])]}}),createVNode(NTabPane,{name:"3",tab:"3"},{default:function(){return[createVNode(NScrollbar,null,{default:function(){return[createVNode("div",{class:styles$5.keyBox},[createVNode(NTable,{class:styles$5.table,striped:!0},{default:function(){return[createVNode("thead",null,[createVNode("tr",null,[createVNode("th",null,[createTextVNode("命令")]),createVNode("th",null,[createTextVNode("快捷键")])])]),createVNode("tbody",null,[o.map((function(e){return createVNode("tr",null,[createVNode("td",null,[e.label]),createVNode("td",null,[e.value])])}))])]}})])]}})]}})]}})])])])]}})}}}),acoustic_grand_piano="三角大钢琴",bright_acoustic_piano="明亮钢琴",electric_grand_piano="电声大钢琴",honkytonk_piano="梦幻电钢",electric_piano_1="电子钢琴1",electric_piano_2="电子钢琴2",harpsichord="羽管键琴",clavinet="古钢琴",celesta="钢片琴",glockenspiel="钟琴",music_box="音乐盒",vibraphone="颤音琴",marimba="马林巴琴",xylophone="木琴",tubular_bells="管钟",dulcimer="杜西莫琴",drawbar_organ="拉杆管风琴",percussive_organ="敲击管风琴",rock_organ="摇滚管风琴",church_organ="教堂管风琴",reed_organ="簧片管风琴",accordion="手风琴",harmonica="口琴",tango_accordion="探戈手风琴",acoustic_guitar_nylon="古典吉他",acoustic_guitar_steel="民谣吉他",electric_guitar_jazz="爵士电吉他",electric_guitar_clean="清音电吉他",electric_guitar_muted="闷音电吉他",overdriven_guitar="过载电吉他",distortion_guitar="失真电吉他",guitar_harmonics="泛音吉他",acoustic_bass="原声贝司",electric_bass_finger="手弹贝司",electric_bass_pick="拨片贝司",fretless_bass="无品贝司",slap_bass_1="击弦贝司1",slap_bass_2="击弦贝司2",synth_bass_1="电贝司1",synth_bass_2="电贝司2",violin="小提琴",viola="中提琴",cello="大提琴",contrabass="倍大提琴",tremolo_strings="颤音弦乐",pizzicato_strings="弹拨弦乐",orchestral_harp="竖琴",timpani="定音鼓",string_ensemble_1="弦乐合奏1",string_ensemble_2="弦乐合奏2",synth_strings_1="合成弦乐1",synth_strings_2="合成弦乐2",choir_aahs="人声合唱“啊”",voice_oohs="人声合唱“嘟”",synth_choir="童声合唱",orchestra_hit="打击交响乐",trumpet="小号",trombone="长号",tuba="大号",muted_trumpet="弱音小号",french_horn="法国圆号",brass_section="铜管乐合奏",synth_brass_1="合成铜管1",synth_brass_2="合成铜管2",soprano_sax="高音萨克斯",alto_sax="中音萨克斯",tenor_sax="次中音萨克斯",baritone_sax="上低音萨克斯",oboe="双簧管",english_horn="英国管",bassoon="巴松管",clarinet="葫芦丝",piccolo="口风琴",flute="长笛",recorder="竖笛",pan_flute="排箫",blown_bottle="陶笛",shakuhachi="尺八",whistle="口哨",ocarina="瓶笛",lead_1_square="合成器1(方形)",lead_2_sawtooth="合成器2(锯齿波)",lead_3_calliope="主音3(汽笛风琴主奏)",lead_4_chiff="主音4(领奏)",lead_5_charang="主音5(沙朗主奏)",lead_6_voice="主音6(声音)",lead_7_fifths="主音7(五度管乐)",lead_8_bass_lead="主音8(贝司主奏)",pad_1_new_age="长音1(新世纪音乐)",pad_2_warm="长音2(温暖的音色)",pad_3_polysynth="长音3(多合成音色)",pad_4_choir="长音4(合唱)",pad_5_bowed="长音5(弧形波)",pad_6_metallic="长音6(金属感)",pad_7_halo="长音7(光晕)",pad_8_sweep="长音8(曲线波)",fx_1_rain="特效1(雨声)",fx_2_soundtrack="特效2(电影声效)",fx_3_crystal="特效3(清澈)",fx_4_atmosphere="特效4(气氛)",fx_5_brightness="特效5(明亮)",fx_6_goblins="特效6(哥布林)",fx_7_echoes="特效7(回响)",fx_8_scifi="特效8(科幻)",sitar="西塔尔琴",banjo="班卓琴",shamisen="三弦琴",koto="十三弦古筝",kalimba="克林巴琴",bagpipe="苏格兰风笛",fiddle="古提琴",shanai="响嘁",tinkle_bell="铃铛",agogo="摇摆舞铃",steel_drums="钢鼓",woodblock="木鱼",taiko_drum="太鼓",melodic_tom="通通鼓",synth_drum="合成鼓",reverse_cymbal="铜钹",guitar_fret_noise="吉他换把杂音",breath_noise="呼吸声",seashore="海浪声",bird_tweet="鸟鸣叫",telephone_ring="手机铃声",helicopter="直升机",applause="鼓掌",gunshot="射击",percussion="打击乐",instrumentsNames={acoustic_grand_piano:acoustic_grand_piano,bright_acoustic_piano:bright_acoustic_piano,electric_grand_piano:electric_grand_piano,honkytonk_piano:honkytonk_piano,electric_piano_1:electric_piano_1,electric_piano_2:electric_piano_2,harpsichord:harpsichord,clavinet:clavinet,celesta:celesta,glockenspiel:glockenspiel,music_box:music_box,vibraphone:vibraphone,marimba:marimba,xylophone:xylophone,tubular_bells:tubular_bells,dulcimer:dulcimer,drawbar_organ:drawbar_organ,percussive_organ:percussive_organ,rock_organ:rock_organ,church_organ:church_organ,reed_organ:reed_organ,accordion:accordion,harmonica:harmonica,tango_accordion:tango_accordion,acoustic_guitar_nylon:acoustic_guitar_nylon,acoustic_guitar_steel:acoustic_guitar_steel,electric_guitar_jazz:electric_guitar_jazz,electric_guitar_clean:electric_guitar_clean,electric_guitar_muted:electric_guitar_muted,overdriven_guitar:overdriven_guitar,distortion_guitar:distortion_guitar,guitar_harmonics:guitar_harmonics,acoustic_bass:acoustic_bass,electric_bass_finger:electric_bass_finger,electric_bass_pick:electric_bass_pick,fretless_bass:fretless_bass,slap_bass_1:slap_bass_1,slap_bass_2:slap_bass_2,synth_bass_1:synth_bass_1,synth_bass_2:synth_bass_2,violin:violin,viola:viola,cello:cello,contrabass:contrabass,tremolo_strings:tremolo_strings,pizzicato_strings:pizzicato_strings,orchestral_harp:orchestral_harp,timpani:timpani,string_ensemble_1:string_ensemble_1,string_ensemble_2:string_ensemble_2,synth_strings_1:synth_strings_1,synth_strings_2:synth_strings_2,choir_aahs:choir_aahs,voice_oohs:voice_oohs,synth_choir:synth_choir,orchestra_hit:orchestra_hit,trumpet:trumpet,trombone:trombone,tuba:tuba,muted_trumpet:muted_trumpet,french_horn:french_horn,brass_section:brass_section,synth_brass_1:synth_brass_1,synth_brass_2:synth_brass_2,soprano_sax:soprano_sax,alto_sax:alto_sax,tenor_sax:tenor_sax,baritone_sax:baritone_sax,oboe:oboe,english_horn:english_horn,bassoon:bassoon,clarinet:clarinet,piccolo:piccolo,flute:flute,recorder:recorder,pan_flute:pan_flute,blown_bottle:blown_bottle,shakuhachi:shakuhachi,whistle:whistle,ocarina:ocarina,lead_1_square:lead_1_square,lead_2_sawtooth:lead_2_sawtooth,lead_3_calliope:lead_3_calliope,lead_4_chiff:lead_4_chiff,lead_5_charang:lead_5_charang,lead_6_voice:lead_6_voice,lead_7_fifths:lead_7_fifths,lead_8_bass_lead:lead_8_bass_lead,pad_1_new_age:pad_1_new_age,pad_2_warm:pad_2_warm,pad_3_polysynth:pad_3_polysynth,pad_4_choir:pad_4_choir,pad_5_bowed:pad_5_bowed,pad_6_metallic:pad_6_metallic,pad_7_halo:pad_7_halo,pad_8_sweep:pad_8_sweep,fx_1_rain:fx_1_rain,fx_2_soundtrack:fx_2_soundtrack,fx_3_crystal:fx_3_crystal,fx_4_atmosphere:fx_4_atmosphere,fx_5_brightness:fx_5_brightness,fx_6_goblins:fx_6_goblins,fx_7_echoes:fx_7_echoes,fx_8_scifi:fx_8_scifi,sitar:sitar,banjo:banjo,shamisen:shamisen,koto:koto,kalimba:kalimba,bagpipe:bagpipe,fiddle:fiddle,shanai:shanai,tinkle_bell:tinkle_bell,agogo:agogo,steel_drums:steel_drums,woodblock:woodblock,taiko_drum:taiko_drum,melodic_tom:melodic_tom,synth_drum:synth_drum,reverse_cymbal:reverse_cymbal,guitar_fret_noise:guitar_fret_noise,breath_noise:breath_noise,seashore:seashore,bird_tweet:bird_tweet,telephone_ring:telephone_ring,helicopter:helicopter,applause:applause,gunshot:gunshot,percussion:percussion},howler={};
  73. /*!
  74. * howler.js v2.2.3
  75. * howlerjs.com
  76. *
  77. * (c) 2013-2020, James Simpson of GoldFire Studios
  78. * goldfirestudios.com
  79. *
  80. * MIT License
  81. */
  82. !function(t){!function(){var r=function(){this.init()};r.prototype={init:function(){var e=this||n;return e._counter=1e3,e._html5AudioPool=[],e.html5PoolSize=10,e._codecs={},e._howls=[],e._muted=!1,e._volume=1,e._canPlayEvent="canplaythrough",e._navigator="undefined"!=typeof window&&window.navigator?window.navigator:null,e.masterGain=null,e.noAudio=!1,e.usingWebAudio=!0,e.autoSuspend=!0,e.ctx=null,e.autoUnlock=!0,e._setup(),e},volume:function(e){var t=this||n;if(e=parseFloat(e),t.ctx||d(),void 0!==e&&e>=0&&e<=1){if(t._volume=e,t._muted)return t;t.usingWebAudio&&t.masterGain.gain.setValueAtTime(e,n.ctx.currentTime);for(var r=0;r<t._howls.length;r++)if(!t._howls[r]._webAudio)for(var o=t._howls[r]._getSoundIds(),a=0;a<o.length;a++){var i=t._howls[r]._soundById(o[a]);i&&i._node&&(i._node.volume=i._volume*e)}return t}return t._volume},mute:function(e){var t=this||n;t.ctx||d(),t._muted=e,t.usingWebAudio&&t.masterGain.gain.setValueAtTime(e?0:t._volume,n.ctx.currentTime);for(var r=0;r<t._howls.length;r++)if(!t._howls[r]._webAudio)for(var o=t._howls[r]._getSoundIds(),a=0;a<o.length;a++){var i=t._howls[r]._soundById(o[a]);i&&i._node&&(i._node.muted=!!e||i._muted)}return t},stop:function(){for(var e=this||n,t=0;t<e._howls.length;t++)e._howls[t].stop();return e},unload:function(){for(var e=this||n,t=e._howls.length-1;t>=0;t--)e._howls[t].unload();return e.usingWebAudio&&e.ctx&&void 0!==e.ctx.close&&(e.ctx.close(),e.ctx=null,d()),e},codecs:function(e){return(this||n)._codecs[e.replace(/^x-/,"")]},_setup:function(){var t=this||n;if(t.state=t.ctx&&t.ctx.state||"suspended",t._autoSuspend(),!t.usingWebAudio)if("undefined"!=typeof Audio)try{void 0===(new Audio).oncanplaythrough&&(t._canPlayEvent="canplay")}catch(e){t.noAudio=!0}else t.noAudio=!0;try{(new Audio).muted&&(t.noAudio=!0)}catch(e){}return t.noAudio||t._setupCodecs(),t},_setupCodecs:function(){var e=this||n,t=null;try{t="undefined"!=typeof Audio?new Audio:null}catch(err){return e}if(!t||"function"!=typeof t.canPlayType)return e;var r=t.canPlayType("audio/mpeg;").replace(/^no$/,""),o=e._navigator?e._navigator.userAgent:"",a=o.match(/OPR\/([0-6].)/g),i=a&&parseInt(a[0].split("/")[1],10)<33,s=-1!==o.indexOf("Safari")&&-1===o.indexOf("Chrome"),l=o.match(/Version\/(.*?) /),c=s&&l&&parseInt(l[1],10)<15;return e._codecs={mp3:!(i||!r&&!t.canPlayType("audio/mp3;").replace(/^no$/,"")),mpeg:!!r,opus:!!t.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/,""),ogg:!!t.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),oga:!!t.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),wav:!!(t.canPlayType('audio/wav; codecs="1"')||t.canPlayType("audio/wav")).replace(/^no$/,""),aac:!!t.canPlayType("audio/aac;").replace(/^no$/,""),caf:!!t.canPlayType("audio/x-caf;").replace(/^no$/,""),m4a:!!(t.canPlayType("audio/x-m4a;")||t.canPlayType("audio/m4a;")||t.canPlayType("audio/aac;")).replace(/^no$/,""),m4b:!!(t.canPlayType("audio/x-m4b;")||t.canPlayType("audio/m4b;")||t.canPlayType("audio/aac;")).replace(/^no$/,""),mp4:!!(t.canPlayType("audio/x-mp4;")||t.canPlayType("audio/mp4;")||t.canPlayType("audio/aac;")).replace(/^no$/,""),weba:!(c||!t.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),webm:!(c||!t.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),dolby:!!t.canPlayType('audio/mp4; codecs="ec-3"').replace(/^no$/,""),flac:!!(t.canPlayType("audio/x-flac;")||t.canPlayType("audio/flac;")).replace(/^no$/,"")},e},_unlockAudio:function(){var e=this||n;if(!e._audioUnlocked&&e.ctx){e._audioUnlocked=!1,e.autoUnlock=!1,e._mobileUnloaded||44100===e.ctx.sampleRate||(e._mobileUnloaded=!0,e.unload()),e._scratchBuffer=e.ctx.createBuffer(1,1,22050);var t=function t(r){for(;e._html5AudioPool.length<e.html5PoolSize;)try{var n=new Audio;n._unlocked=!0,e._releaseHtml5Audio(n)}catch(r){e.noAudio=!0;break}for(var o=0;o<e._howls.length;o++)if(!e._howls[o]._webAudio)for(var a=e._howls[o]._getSoundIds(),i=0;i<a.length;i++){var s=e._howls[o]._soundById(a[i]);s&&s._node&&!s._node._unlocked&&(s._node._unlocked=!0,s._node.load())}e._autoResume();var l=e.ctx.createBufferSource();l.buffer=e._scratchBuffer,l.connect(e.ctx.destination),void 0===l.start?l.noteOn(0):l.start(0),"function"==typeof e.ctx.resume&&e.ctx.resume(),l.onended=function(){l.disconnect(0),e._audioUnlocked=!0,document.removeEventListener("touchstart",t,!0),document.removeEventListener("touchend",t,!0),document.removeEventListener("click",t,!0),document.removeEventListener("keydown",t,!0);for(var r=0;r<e._howls.length;r++)e._howls[r]._emit("unlock")}};return document.addEventListener("touchstart",t,!0),document.addEventListener("touchend",t,!0),document.addEventListener("click",t,!0),document.addEventListener("keydown",t,!0),e}},_obtainHtml5Audio:function(){var e=this||n;if(e._html5AudioPool.length)return e._html5AudioPool.pop();var t=(new Audio).play();return t&&"undefined"!=typeof Promise&&(t instanceof Promise||"function"==typeof t.then)&&t.catch((function(){console.warn("HTML5 Audio pool exhausted, returning potentially locked audio object.")})),new Audio},_releaseHtml5Audio:function(e){var t=this||n;return e._unlocked&&t._html5AudioPool.push(e),t},_autoSuspend:function(){var e=this;if(e.autoSuspend&&e.ctx&&void 0!==e.ctx.suspend&&n.usingWebAudio){for(var t=0;t<e._howls.length;t++)if(e._howls[t]._webAudio)for(var r=0;r<e._howls[t]._sounds.length;r++)if(!e._howls[t]._sounds[r]._paused)return e;return e._suspendTimer&&clearTimeout(e._suspendTimer),e._suspendTimer=setTimeout((function(){if(e.autoSuspend){e._suspendTimer=null,e.state="suspending";var t=function(){e.state="suspended",e._resumeAfterSuspend&&(delete e._resumeAfterSuspend,e._autoResume())};e.ctx.suspend().then(t,t)}}),3e4),e}},_autoResume:function(){var e=this;if(e.ctx&&void 0!==e.ctx.resume&&n.usingWebAudio)return"running"===e.state&&"interrupted"!==e.ctx.state&&e._suspendTimer?(clearTimeout(e._suspendTimer),e._suspendTimer=null):"suspended"===e.state||"running"===e.state&&"interrupted"===e.ctx.state?(e.ctx.resume().then((function(){e.state="running";for(var t=0;t<e._howls.length;t++)e._howls[t]._emit("resume")})),e._suspendTimer&&(clearTimeout(e._suspendTimer),e._suspendTimer=null)):"suspending"===e.state&&(e._resumeAfterSuspend=!0),e}};var n=new r,o=function(e){e.src&&0!==e.src.length?this.init(e):console.error("An array of source files must be passed with any new Howl.")};o.prototype={init:function(e){var t=this;return n.ctx||d(),t._autoplay=e.autoplay||!1,t._format="string"!=typeof e.format?e.format:[e.format],t._html5=e.html5||!1,t._muted=e.mute||!1,t._loop=e.loop||!1,t._pool=e.pool||5,t._preload="boolean"!=typeof e.preload&&"metadata"!==e.preload||e.preload,t._rate=e.rate||1,t._sprite=e.sprite||{},t._src="string"!=typeof e.src?e.src:[e.src],t._volume=void 0!==e.volume?e.volume:1,t._xhr={method:e.xhr&&e.xhr.method?e.xhr.method:"GET",headers:e.xhr&&e.xhr.headers?e.xhr.headers:null,withCredentials:!(!e.xhr||!e.xhr.withCredentials)&&e.xhr.withCredentials},t._duration=0,t._state="unloaded",t._sounds=[],t._endTimers={},t._queue=[],t._playLock=!1,t._onend=e.onend?[{fn:e.onend}]:[],t._onfade=e.onfade?[{fn:e.onfade}]:[],t._onload=e.onload?[{fn:e.onload}]:[],t._onloaderror=e.onloaderror?[{fn:e.onloaderror}]:[],t._onplayerror=e.onplayerror?[{fn:e.onplayerror}]:[],t._onpause=e.onpause?[{fn:e.onpause}]:[],t._onplay=e.onplay?[{fn:e.onplay}]:[],t._onstop=e.onstop?[{fn:e.onstop}]:[],t._onmute=e.onmute?[{fn:e.onmute}]:[],t._onvolume=e.onvolume?[{fn:e.onvolume}]:[],t._onrate=e.onrate?[{fn:e.onrate}]:[],t._onseek=e.onseek?[{fn:e.onseek}]:[],t._onunlock=e.onunlock?[{fn:e.onunlock}]:[],t._onresume=[],t._webAudio=n.usingWebAudio&&!t._html5,void 0!==n.ctx&&n.ctx&&n.autoUnlock&&n._unlockAudio(),n._howls.push(t),t._autoplay&&t._queue.push({event:"play",action:function(){t.play()}}),t._preload&&"none"!==t._preload&&t.load(),t},load:function(){var e=this,t=null;if(n.noAudio)e._emit("loaderror",null,"No audio support.");else{"string"==typeof e._src&&(e._src=[e._src]);for(var r=0;r<e._src.length;r++){var o,i;if(e._format&&e._format[r])o=e._format[r];else{if("string"!=typeof(i=e._src[r])){e._emit("loaderror",null,"Non-string found in selected audio sources - ignoring.");continue}(o=/^data:audio\/([^;,]+);/i.exec(i))||(o=/\.([^.]+)$/.exec(i.split("?",1)[0])),o&&(o=o[1].toLowerCase())}if(o||console.warn('No file extension was found. Consider using the "format" property or specify an extension.'),o&&n.codecs(o)){t=e._src[r];break}}if(t)return e._src=t,e._state="loading","https:"===window.location.protocol&&"http:"===t.slice(0,5)&&(e._html5=!0,e._webAudio=!1),new a(e),e._webAudio&&s(e),e;e._emit("loaderror",null,"No codec support for selected audio sources.")}},play:function(e,t){var r=this,o=null;if("number"==typeof e)o=e,e=null;else{if("string"==typeof e&&"loaded"===r._state&&!r._sprite[e])return null;if(void 0===e&&(e="__default",!r._playLock)){for(var a=0,i=0;i<r._sounds.length;i++)r._sounds[i]._paused&&!r._sounds[i]._ended&&(a++,o=r._sounds[i]._id);1===a?e=null:o=null}}var s=o?r._soundById(o):r._inactiveSound();if(!s)return null;if(o&&!e&&(e=s._sprite||"__default"),"loaded"!==r._state){s._sprite=e,s._ended=!1;var l=s._id;return r._queue.push({event:"play",action:function(){r.play(l)}}),l}if(o&&!s._paused)return t||r._loadQueue("play"),s._id;r._webAudio&&n._autoResume();var c=Math.max(0,s._seek>0?s._seek:r._sprite[e][0]/1e3),u=Math.max(0,(r._sprite[e][0]+r._sprite[e][1])/1e3-c),d=1e3*u/Math.abs(s._rate),p=r._sprite[e][0]/1e3,f=(r._sprite[e][0]+r._sprite[e][1])/1e3;s._sprite=e,s._ended=!1;var h=function(){s._paused=!1,s._seek=c,s._start=p,s._stop=f,s._loop=!(!s._loop&&!r._sprite[e][2])};if(!(c>=f)){var v=s._node;if(r._webAudio){var g=function(){r._playLock=!1,h(),r._refreshBuffer(s);var e=s._muted||r._muted?0:s._volume;v.gain.setValueAtTime(e,n.ctx.currentTime),s._playStart=n.ctx.currentTime,void 0===v.bufferSource.start?s._loop?v.bufferSource.noteGrainOn(0,c,86400):v.bufferSource.noteGrainOn(0,c,u):s._loop?v.bufferSource.start(0,c,86400):v.bufferSource.start(0,c,u),d!==1/0&&(r._endTimers[s._id]=setTimeout(r._ended.bind(r,s),d)),t||setTimeout((function(){r._emit("play",s._id),r._loadQueue()}),0)};"running"===n.state&&"interrupted"!==n.ctx.state?g():(r._playLock=!0,r.once("resume",g),r._clearTimer(s._id))}else{var m=function(){v.currentTime=c,v.muted=s._muted||r._muted||n._muted||v.muted,v.volume=s._volume*n.volume(),v.playbackRate=s._rate;try{var o=v.play();if(o&&"undefined"!=typeof Promise&&(o instanceof Promise||"function"==typeof o.then)?(r._playLock=!0,h(),o.then((function(){r._playLock=!1,v._unlocked=!0,t?r._loadQueue():r._emit("play",s._id)})).catch((function(){r._playLock=!1,r._emit("playerror",s._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction."),s._ended=!0,s._paused=!0}))):t||(r._playLock=!1,h(),r._emit("play",s._id)),v.playbackRate=s._rate,v.paused)return void r._emit("playerror",s._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction.");"__default"!==e||s._loop?r._endTimers[s._id]=setTimeout(r._ended.bind(r,s),d):(r._endTimers[s._id]=function(){r._ended(s),v.removeEventListener("ended",r._endTimers[s._id],!1)},v.addEventListener("ended",r._endTimers[s._id],!1))}catch(err){r._emit("playerror",s._id,err)}};"data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA"===v.src&&(v.src=r._src,v.load());var b=window&&window.ejecta||!v.readyState&&n._navigator.isCocoonJS;if(v.readyState>=3||b)m();else{r._playLock=!0,r._state="loading";v.addEventListener(n._canPlayEvent,(function e(){r._state="loaded",m(),v.removeEventListener(n._canPlayEvent,e,!1)}),!1),r._clearTimer(s._id)}}return s._id}r._ended(s)},pause:function(e){var t=this;if("loaded"!==t._state||t._playLock)return t._queue.push({event:"pause",action:function(){t.pause(e)}}),t;for(var r=t._getSoundIds(e),n=0;n<r.length;n++){t._clearTimer(r[n]);var o=t._soundById(r[n]);if(o&&!o._paused&&(o._seek=t.seek(r[n]),o._rateSeek=0,o._paused=!0,t._stopFade(r[n]),o._node))if(t._webAudio){if(!o._node.bufferSource)continue;void 0===o._node.bufferSource.stop?o._node.bufferSource.noteOff(0):o._node.bufferSource.stop(0),t._cleanBuffer(o._node)}else isNaN(o._node.duration)&&o._node.duration!==1/0||o._node.pause();arguments[1]||t._emit("pause",o?o._id:null)}return t},stop:function(e,t){var r=this;if("loaded"!==r._state||r._playLock)return r._queue.push({event:"stop",action:function(){r.stop(e)}}),r;for(var n=r._getSoundIds(e),o=0;o<n.length;o++){r._clearTimer(n[o]);var a=r._soundById(n[o]);a&&(a._seek=a._start||0,a._rateSeek=0,a._paused=!0,a._ended=!0,r._stopFade(n[o]),a._node&&(r._webAudio?a._node.bufferSource&&(void 0===a._node.bufferSource.stop?a._node.bufferSource.noteOff(0):a._node.bufferSource.stop(0),r._cleanBuffer(a._node)):isNaN(a._node.duration)&&a._node.duration!==1/0||(a._node.currentTime=a._start||0,a._node.pause(),a._node.duration===1/0&&r._clearSound(a._node))),t||r._emit("stop",a._id))}return r},mute:function(e,t){var r=this;if("loaded"!==r._state||r._playLock)return r._queue.push({event:"mute",action:function(){r.mute(e,t)}}),r;if(void 0===t){if("boolean"!=typeof e)return r._muted;r._muted=e}for(var o=r._getSoundIds(t),a=0;a<o.length;a++){var i=r._soundById(o[a]);i&&(i._muted=e,i._interval&&r._stopFade(i._id),r._webAudio&&i._node?i._node.gain.setValueAtTime(e?0:i._volume,n.ctx.currentTime):i._node&&(i._node.muted=!!n._muted||e),r._emit("mute",i._id))}return r},volume:function(){var e,t,r,o=this,a=arguments;if(0===a.length)return o._volume;if(1===a.length||2===a.length&&void 0===a[1]?o._getSoundIds().indexOf(a[0])>=0?t=parseInt(a[0],10):e=parseFloat(a[0]):a.length>=2&&(e=parseFloat(a[0]),t=parseInt(a[1],10)),!(void 0!==e&&e>=0&&e<=1))return(r=t?o._soundById(t):o._sounds[0])?r._volume:0;if("loaded"!==o._state||o._playLock)return o._queue.push({event:"volume",action:function(){o.volume.apply(o,a)}}),o;void 0===t&&(o._volume=e),t=o._getSoundIds(t);for(var i=0;i<t.length;i++)(r=o._soundById(t[i]))&&(r._volume=e,a[2]||o._stopFade(t[i]),o._webAudio&&r._node&&!r._muted?r._node.gain.setValueAtTime(e,n.ctx.currentTime):r._node&&!r._muted&&(r._node.volume=e*n.volume()),o._emit("volume",r._id));return o},fade:function(e,t,r,o){var a=this;if("loaded"!==a._state||a._playLock)return a._queue.push({event:"fade",action:function(){a.fade(e,t,r,o)}}),a;e=Math.min(Math.max(0,parseFloat(e)),1),t=Math.min(Math.max(0,parseFloat(t)),1),r=parseFloat(r),a.volume(e,o);for(var i=a._getSoundIds(o),s=0;s<i.length;s++){var l=a._soundById(i[s]);if(l){if(o||a._stopFade(i[s]),a._webAudio&&!l._muted){var c=n.ctx.currentTime,u=c+r/1e3;l._volume=e,l._node.gain.setValueAtTime(e,c),l._node.gain.linearRampToValueAtTime(t,u)}a._startFadeInterval(l,e,t,r,i[s],void 0===o)}}return a},_startFadeInterval:function(e,t,r,n,o,a){var i=this,s=t,l=r-t,c=Math.abs(l/.01),u=Math.max(4,c>0?n/c:n),d=Date.now();e._fadeTo=r,e._interval=setInterval((function(){var o=(Date.now()-d)/n;d=Date.now(),s+=l*o,s=Math.round(100*s)/100,s=l<0?Math.max(r,s):Math.min(r,s),i._webAudio?e._volume=s:i.volume(s,e._id,!0),a&&(i._volume=s),(r<t&&s<=r||r>t&&s>=r)&&(clearInterval(e._interval),e._interval=null,e._fadeTo=null,i.volume(r,e._id),i._emit("fade",e._id))}),u)},_stopFade:function(e){var t=this,r=t._soundById(e);return r&&r._interval&&(t._webAudio&&r._node.gain.cancelScheduledValues(n.ctx.currentTime),clearInterval(r._interval),r._interval=null,t.volume(r._fadeTo,e),r._fadeTo=null,t._emit("fade",e)),t},loop:function(){var e,t,r,n=this,o=arguments;if(0===o.length)return n._loop;if(1===o.length){if("boolean"!=typeof o[0])return!!(r=n._soundById(parseInt(o[0],10)))&&r._loop;e=o[0],n._loop=e}else 2===o.length&&(e=o[0],t=parseInt(o[1],10));for(var a=n._getSoundIds(t),i=0;i<a.length;i++)(r=n._soundById(a[i]))&&(r._loop=e,n._webAudio&&r._node&&r._node.bufferSource&&(r._node.bufferSource.loop=e,e&&(r._node.bufferSource.loopStart=r._start||0,r._node.bufferSource.loopEnd=r._stop,n.playing(a[i])&&(n.pause(a[i],!0),n.play(a[i],!0)))));return n},rate:function(){var e,t,r,o=this,a=arguments;if(0===a.length)t=o._sounds[0]._id;else if(1===a.length){o._getSoundIds().indexOf(a[0])>=0?t=parseInt(a[0],10):e=parseFloat(a[0])}else 2===a.length&&(e=parseFloat(a[0]),t=parseInt(a[1],10));if("number"!=typeof e)return(r=o._soundById(t))?r._rate:o._rate;if("loaded"!==o._state||o._playLock)return o._queue.push({event:"rate",action:function(){o.rate.apply(o,a)}}),o;void 0===t&&(o._rate=e),t=o._getSoundIds(t);for(var i=0;i<t.length;i++)if(r=o._soundById(t[i])){o.playing(t[i])&&(r._rateSeek=o.seek(t[i]),r._playStart=o._webAudio?n.ctx.currentTime:r._playStart),r._rate=e,o._webAudio&&r._node&&r._node.bufferSource?r._node.bufferSource.playbackRate.setValueAtTime(e,n.ctx.currentTime):r._node&&(r._node.playbackRate=e);var s=o.seek(t[i]),l=1e3*((o._sprite[r._sprite][0]+o._sprite[r._sprite][1])/1e3-s)/Math.abs(r._rate);!o._endTimers[t[i]]&&r._paused||(o._clearTimer(t[i]),o._endTimers[t[i]]=setTimeout(o._ended.bind(o,r),l)),o._emit("rate",r._id)}return o},seek:function(){var e,t,r=this,o=arguments;if(0===o.length)r._sounds.length&&(t=r._sounds[0]._id);else if(1===o.length){r._getSoundIds().indexOf(o[0])>=0?t=parseInt(o[0],10):r._sounds.length&&(t=r._sounds[0]._id,e=parseFloat(o[0]))}else 2===o.length&&(e=parseFloat(o[0]),t=parseInt(o[1],10));if(void 0===t)return 0;if("number"==typeof e&&("loaded"!==r._state||r._playLock))return r._queue.push({event:"seek",action:function(){r.seek.apply(r,o)}}),r;var a=r._soundById(t);if(a){if(!("number"==typeof e&&e>=0)){if(r._webAudio){var i=r.playing(t)?n.ctx.currentTime-a._playStart:0,s=a._rateSeek?a._rateSeek-a._seek:0;return a._seek+(s+i*Math.abs(a._rate))}return a._node.currentTime}var l=r.playing(t);l&&r.pause(t,!0),a._seek=e,a._ended=!1,r._clearTimer(t),r._webAudio||!a._node||isNaN(a._node.duration)||(a._node.currentTime=e);var c=function(){l&&r.play(t,!0),r._emit("seek",t)};if(l&&!r._webAudio){setTimeout((function e(){r._playLock?setTimeout(e,0):c()}),0)}else c()}return r},playing:function(e){var t=this;if("number"==typeof e){var r=t._soundById(e);return!!r&&!r._paused}for(var n=0;n<t._sounds.length;n++)if(!t._sounds[n]._paused)return!0;return!1},duration:function(e){var t=this,r=t._duration,n=t._soundById(e);return n&&(r=t._sprite[n._sprite][1]/1e3),r},state:function(){return this._state},unload:function(){for(var e=this,t=e._sounds,r=0;r<t.length;r++)t[r]._paused||e.stop(t[r]._id),e._webAudio||(e._clearSound(t[r]._node),t[r]._node.removeEventListener("error",t[r]._errorFn,!1),t[r]._node.removeEventListener(n._canPlayEvent,t[r]._loadFn,!1),t[r]._node.removeEventListener("ended",t[r]._endFn,!1),n._releaseHtml5Audio(t[r]._node)),delete t[r]._node,e._clearTimer(t[r]._id);var o=n._howls.indexOf(e);o>=0&&n._howls.splice(o,1);var a=!0;for(r=0;r<n._howls.length;r++)if(n._howls[r]._src===e._src||e._src.indexOf(n._howls[r]._src)>=0){a=!1;break}return i&&a&&delete i[e._src],n.noAudio=!1,e._state="unloaded",e._sounds=[],e=null,null},on:function(e,t,r,n){var o=this["_on"+e];return"function"==typeof t&&o.push(n?{id:r,fn:t,once:n}:{id:r,fn:t}),this},off:function(e,t,r){var n=this,o=n["_on"+e],a=0;if("number"==typeof t&&(r=t,t=null),t||r)for(a=0;a<o.length;a++){var i=r===o[a].id;if(t===o[a].fn&&i||!t&&i){o.splice(a,1);break}}else if(e)n["_on"+e]=[];else{var s=Object.keys(n);for(a=0;a<s.length;a++)0===s[a].indexOf("_on")&&Array.isArray(n[s[a]])&&(n[s[a]]=[])}return n},once:function(e,t,r){return this.on(e,t,r,1),this},_emit:function(e,t,r){for(var n=this,o=n["_on"+e],a=o.length-1;a>=0;a--)o[a].id&&o[a].id!==t&&"load"!==e||(setTimeout(function(e){e.call(this,t,r)}.bind(n,o[a].fn),0),o[a].once&&n.off(e,o[a].fn,o[a].id));return n._loadQueue(e),n},_loadQueue:function(e){var t=this;if(t._queue.length>0){var r=t._queue[0];r.event===e&&(t._queue.shift(),t._loadQueue()),e||r.action()}return t},_ended:function(e){var t=this,r=e._sprite;if(!t._webAudio&&e._node&&!e._node.paused&&!e._node.ended&&e._node.currentTime<e._stop)return setTimeout(t._ended.bind(t,e),100),t;var o=!(!e._loop&&!t._sprite[r][2]);if(t._emit("end",e._id),!t._webAudio&&o&&t.stop(e._id,!0).play(e._id),t._webAudio&&o){t._emit("play",e._id),e._seek=e._start||0,e._rateSeek=0,e._playStart=n.ctx.currentTime;var a=1e3*(e._stop-e._start)/Math.abs(e._rate);t._endTimers[e._id]=setTimeout(t._ended.bind(t,e),a)}return t._webAudio&&!o&&(e._paused=!0,e._ended=!0,e._seek=e._start||0,e._rateSeek=0,t._clearTimer(e._id),t._cleanBuffer(e._node),n._autoSuspend()),t._webAudio||o||t.stop(e._id,!0),t},_clearTimer:function(e){var t=this;if(t._endTimers[e]){if("function"!=typeof t._endTimers[e])clearTimeout(t._endTimers[e]);else{var r=t._soundById(e);r&&r._node&&r._node.removeEventListener("ended",t._endTimers[e],!1)}delete t._endTimers[e]}return t},_soundById:function(e){for(var t=this,r=0;r<t._sounds.length;r++)if(e===t._sounds[r]._id)return t._sounds[r];return null},_inactiveSound:function(){var e=this;e._drain();for(var t=0;t<e._sounds.length;t++)if(e._sounds[t]._ended)return e._sounds[t].reset();return new a(e)},_drain:function(){var e=this,t=e._pool,r=0,n=0;if(!(e._sounds.length<t)){for(n=0;n<e._sounds.length;n++)e._sounds[n]._ended&&r++;for(n=e._sounds.length-1;n>=0;n--){if(r<=t)return;e._sounds[n]._ended&&(e._webAudio&&e._sounds[n]._node&&e._sounds[n]._node.disconnect(0),e._sounds.splice(n,1),r--)}}},_getSoundIds:function(e){if(void 0===e){for(var t=[],r=0;r<this._sounds.length;r++)t.push(this._sounds[r]._id);return t}return[e]},_refreshBuffer:function(e){return e._node.bufferSource=n.ctx.createBufferSource(),e._node.bufferSource.buffer=i[this._src],e._panner?e._node.bufferSource.connect(e._panner):e._node.bufferSource.connect(e._node),e._node.bufferSource.loop=e._loop,e._loop&&(e._node.bufferSource.loopStart=e._start||0,e._node.bufferSource.loopEnd=e._stop||0),e._node.bufferSource.playbackRate.setValueAtTime(e._rate,n.ctx.currentTime),this},_cleanBuffer:function(t){var r=n._navigator&&n._navigator.vendor.indexOf("Apple")>=0;if(n._scratchBuffer&&t.bufferSource&&(t.bufferSource.onended=null,t.bufferSource.disconnect(0),r))try{t.bufferSource.buffer=n._scratchBuffer}catch(e){}return t.bufferSource=null,this},_clearSound:function(e){/MSIE |Trident\//.test(n._navigator&&n._navigator.userAgent)||(e.src="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA")}};var a=function(e){this._parent=e,this.init()};a.prototype={init:function(){var e=this,t=e._parent;return e._muted=t._muted,e._loop=t._loop,e._volume=t._volume,e._rate=t._rate,e._seek=0,e._paused=!0,e._ended=!0,e._sprite="__default",e._id=++n._counter,t._sounds.push(e),e.create(),e},create:function(){var e=this,t=e._parent,r=n._muted||e._muted||e._parent._muted?0:e._volume;return t._webAudio?(e._node=void 0===n.ctx.createGain?n.ctx.createGainNode():n.ctx.createGain(),e._node.gain.setValueAtTime(r,n.ctx.currentTime),e._node.paused=!0,e._node.connect(n.masterGain)):n.noAudio||(e._node=n._obtainHtml5Audio(),e._errorFn=e._errorListener.bind(e),e._node.addEventListener("error",e._errorFn,!1),e._loadFn=e._loadListener.bind(e),e._node.addEventListener(n._canPlayEvent,e._loadFn,!1),e._endFn=e._endListener.bind(e),e._node.addEventListener("ended",e._endFn,!1),e._node.src=t._src,e._node.preload=!0===t._preload?"auto":t._preload,e._node.volume=r*n.volume(),e._node.load()),e},reset:function(){var e=this,t=e._parent;return e._muted=t._muted,e._loop=t._loop,e._volume=t._volume,e._rate=t._rate,e._seek=0,e._rateSeek=0,e._paused=!0,e._ended=!0,e._sprite="__default",e._id=++n._counter,e},_errorListener:function(){var e=this;e._parent._emit("loaderror",e._id,e._node.error?e._node.error.code:0),e._node.removeEventListener("error",e._errorFn,!1)},_loadListener:function(){var e=this,t=e._parent;t._duration=Math.ceil(10*e._node.duration)/10,0===Object.keys(t._sprite).length&&(t._sprite={__default:[0,1e3*t._duration]}),"loaded"!==t._state&&(t._state="loaded",t._emit("load"),t._loadQueue()),e._node.removeEventListener(n._canPlayEvent,e._loadFn,!1)},_endListener:function(){var e=this,t=e._parent;t._duration===1/0&&(t._duration=Math.ceil(10*e._node.duration)/10,t._sprite.__default[1]===1/0&&(t._sprite.__default[1]=1e3*t._duration),t._ended(e)),e._node.removeEventListener("ended",e._endFn,!1)}};var i={},s=function(e){var t=e._src;if(i[t])return e._duration=i[t].duration,void u(e);if(/^data:[^;]+;base64,/.test(t)){for(var r=atob(t.split(",")[1]),n=new Uint8Array(r.length),o=0;o<r.length;++o)n[o]=r.charCodeAt(o);c(n.buffer,e)}else{var a=new XMLHttpRequest;a.open(e._xhr.method,t,!0),a.withCredentials=e._xhr.withCredentials,a.responseType="arraybuffer",e._xhr.headers&&Object.keys(e._xhr.headers).forEach((function(t){a.setRequestHeader(t,e._xhr.headers[t])})),a.onload=function(){var t=(a.status+"")[0];"0"===t||"2"===t||"3"===t?c(a.response,e):e._emit("loaderror",null,"Failed loading audio file with status: "+a.status+".")},a.onerror=function(){e._webAudio&&(e._html5=!0,e._webAudio=!1,e._sounds=[],delete i[t],e.load())},l(a)}},l=function(t){try{t.send()}catch(e){t.onerror()}},c=function(e,t){var r=function(){t._emit("loaderror",null,"Decoding audio data failed.")},o=function(e){e&&t._sounds.length>0?(i[t._src]=e,u(t,e)):r()};"undefined"!=typeof Promise&&1===n.ctx.decodeAudioData.length?n.ctx.decodeAudioData(e).then(o).catch(r):n.ctx.decodeAudioData(e,o,r)},u=function(e,t){t&&!e._duration&&(e._duration=t.duration),0===Object.keys(e._sprite).length&&(e._sprite={__default:[0,1e3*e._duration]}),"loaded"!==e._state&&(e._state="loaded",e._emit("load"),e._loadQueue())},d=function(){if(n.usingWebAudio){try{"undefined"!=typeof AudioContext?n.ctx=new AudioContext:"undefined"!=typeof webkitAudioContext?n.ctx=new webkitAudioContext:n.usingWebAudio=!1}catch(e){n.usingWebAudio=!1}n.ctx||(n.usingWebAudio=!1);var t=/iP(hone|od|ad)/.test(n._navigator&&n._navigator.platform),r=n._navigator&&n._navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/),o=r?parseInt(r[1],10):null;if(t&&o&&o<9){var a=/safari/.test(n._navigator&&n._navigator.userAgent.toLowerCase());n._navigator&&!a&&(n.usingWebAudio=!1)}n.usingWebAudio&&(n.masterGain=void 0===n.ctx.createGain?n.ctx.createGainNode():n.ctx.createGain(),n.masterGain.gain.setValueAtTime(n._muted?0:n._volume,n.ctx.currentTime),n.masterGain.connect(n.ctx.destination)),n._setup()}};t.Howler=n,t.Howl=o,void 0!==commonjsGlobal?(commonjsGlobal.HowlerGlobal=r,commonjsGlobal.Howler=n,commonjsGlobal.Howl=o,commonjsGlobal.Sound=a):"undefined"!=typeof window&&(window.HowlerGlobal=r,window.Howler=n,window.Howl=o,window.Sound=a)}(),
  83. /*!
  84. * Spatial Plugin - Adds support for stereo and 3D audio where Web Audio is supported.
  85. *
  86. * howler.js v2.2.3
  87. * howlerjs.com
  88. *
  89. * (c) 2013-2020, James Simpson of GoldFire Studios
  90. * goldfirestudios.com
  91. *
  92. * MIT License
  93. */
  94. function(){var e;HowlerGlobal.prototype._pos=[0,0,0],HowlerGlobal.prototype._orientation=[0,0,-1,0,1,0],HowlerGlobal.prototype.stereo=function(e){var t=this;if(!t.ctx||!t.ctx.listener)return t;for(var r=t._howls.length-1;r>=0;r--)t._howls[r].stereo(e);return t},HowlerGlobal.prototype.pos=function(e,t,r){var n=this;return n.ctx&&n.ctx.listener?(t="number"!=typeof t?n._pos[1]:t,r="number"!=typeof r?n._pos[2]:r,"number"!=typeof e?n._pos:(n._pos=[e,t,r],void 0!==n.ctx.listener.positionX?(n.ctx.listener.positionX.setTargetAtTime(n._pos[0],Howler.ctx.currentTime,.1),n.ctx.listener.positionY.setTargetAtTime(n._pos[1],Howler.ctx.currentTime,.1),n.ctx.listener.positionZ.setTargetAtTime(n._pos[2],Howler.ctx.currentTime,.1)):n.ctx.listener.setPosition(n._pos[0],n._pos[1],n._pos[2]),n)):n},HowlerGlobal.prototype.orientation=function(e,t,r,n,o,a){var i=this;if(!i.ctx||!i.ctx.listener)return i;var s=i._orientation;return t="number"!=typeof t?s[1]:t,r="number"!=typeof r?s[2]:r,n="number"!=typeof n?s[3]:n,o="number"!=typeof o?s[4]:o,a="number"!=typeof a?s[5]:a,"number"!=typeof e?s:(i._orientation=[e,t,r,n,o,a],void 0!==i.ctx.listener.forwardX?(i.ctx.listener.forwardX.setTargetAtTime(e,Howler.ctx.currentTime,.1),i.ctx.listener.forwardY.setTargetAtTime(t,Howler.ctx.currentTime,.1),i.ctx.listener.forwardZ.setTargetAtTime(r,Howler.ctx.currentTime,.1),i.ctx.listener.upX.setTargetAtTime(n,Howler.ctx.currentTime,.1),i.ctx.listener.upY.setTargetAtTime(o,Howler.ctx.currentTime,.1),i.ctx.listener.upZ.setTargetAtTime(a,Howler.ctx.currentTime,.1)):i.ctx.listener.setOrientation(e,t,r,n,o,a),i)},Howl.prototype.init=(e=Howl.prototype.init,function(t){var r=this;return r._orientation=t.orientation||[1,0,0],r._stereo=t.stereo||null,r._pos=t.pos||null,r._pannerAttr={coneInnerAngle:void 0!==t.coneInnerAngle?t.coneInnerAngle:360,coneOuterAngle:void 0!==t.coneOuterAngle?t.coneOuterAngle:360,coneOuterGain:void 0!==t.coneOuterGain?t.coneOuterGain:0,distanceModel:void 0!==t.distanceModel?t.distanceModel:"inverse",maxDistance:void 0!==t.maxDistance?t.maxDistance:1e4,panningModel:void 0!==t.panningModel?t.panningModel:"HRTF",refDistance:void 0!==t.refDistance?t.refDistance:1,rolloffFactor:void 0!==t.rolloffFactor?t.rolloffFactor:1},r._onstereo=t.onstereo?[{fn:t.onstereo}]:[],r._onpos=t.onpos?[{fn:t.onpos}]:[],r._onorientation=t.onorientation?[{fn:t.onorientation}]:[],e.call(this,t)}),Howl.prototype.stereo=function(e,r){var n=this;if(!n._webAudio)return n;if("loaded"!==n._state)return n._queue.push({event:"stereo",action:function(){n.stereo(e,r)}}),n;var o=void 0===Howler.ctx.createStereoPanner?"spatial":"stereo";if(void 0===r){if("number"!=typeof e)return n._stereo;n._stereo=e,n._pos=[e,0,0]}for(var a=n._getSoundIds(r),i=0;i<a.length;i++){var s=n._soundById(a[i]);if(s){if("number"!=typeof e)return s._stereo;s._stereo=e,s._pos=[e,0,0],s._node&&(s._pannerAttr.panningModel="equalpower",s._panner&&s._panner.pan||t(s,o),"spatial"===o?void 0!==s._panner.positionX?(s._panner.positionX.setValueAtTime(e,Howler.ctx.currentTime),s._panner.positionY.setValueAtTime(0,Howler.ctx.currentTime),s._panner.positionZ.setValueAtTime(0,Howler.ctx.currentTime)):s._panner.setPosition(e,0,0):s._panner.pan.setValueAtTime(e,Howler.ctx.currentTime)),n._emit("stereo",s._id)}}return n},Howl.prototype.pos=function(e,r,n,o){var a=this;if(!a._webAudio)return a;if("loaded"!==a._state)return a._queue.push({event:"pos",action:function(){a.pos(e,r,n,o)}}),a;if(r="number"!=typeof r?0:r,n="number"!=typeof n?-.5:n,void 0===o){if("number"!=typeof e)return a._pos;a._pos=[e,r,n]}for(var i=a._getSoundIds(o),s=0;s<i.length;s++){var l=a._soundById(i[s]);if(l){if("number"!=typeof e)return l._pos;l._pos=[e,r,n],l._node&&(l._panner&&!l._panner.pan||t(l,"spatial"),void 0!==l._panner.positionX?(l._panner.positionX.setValueAtTime(e,Howler.ctx.currentTime),l._panner.positionY.setValueAtTime(r,Howler.ctx.currentTime),l._panner.positionZ.setValueAtTime(n,Howler.ctx.currentTime)):l._panner.setPosition(e,r,n)),a._emit("pos",l._id)}}return a},Howl.prototype.orientation=function(e,r,n,o){var a=this;if(!a._webAudio)return a;if("loaded"!==a._state)return a._queue.push({event:"orientation",action:function(){a.orientation(e,r,n,o)}}),a;if(r="number"!=typeof r?a._orientation[1]:r,n="number"!=typeof n?a._orientation[2]:n,void 0===o){if("number"!=typeof e)return a._orientation;a._orientation=[e,r,n]}for(var i=a._getSoundIds(o),s=0;s<i.length;s++){var l=a._soundById(i[s]);if(l){if("number"!=typeof e)return l._orientation;l._orientation=[e,r,n],l._node&&(l._panner||(l._pos||(l._pos=a._pos||[0,0,-.5]),t(l,"spatial")),void 0!==l._panner.orientationX?(l._panner.orientationX.setValueAtTime(e,Howler.ctx.currentTime),l._panner.orientationY.setValueAtTime(r,Howler.ctx.currentTime),l._panner.orientationZ.setValueAtTime(n,Howler.ctx.currentTime)):l._panner.setOrientation(e,r,n)),a._emit("orientation",l._id)}}return a},Howl.prototype.pannerAttr=function(){var e,r,n,o=this,a=arguments;if(!o._webAudio)return o;if(0===a.length)return o._pannerAttr;if(1===a.length){if("object"!==_typeof2(a[0]))return(n=o._soundById(parseInt(a[0],10)))?n._pannerAttr:o._pannerAttr;e=a[0],void 0===r&&(e.pannerAttr||(e.pannerAttr={coneInnerAngle:e.coneInnerAngle,coneOuterAngle:e.coneOuterAngle,coneOuterGain:e.coneOuterGain,distanceModel:e.distanceModel,maxDistance:e.maxDistance,refDistance:e.refDistance,rolloffFactor:e.rolloffFactor,panningModel:e.panningModel}),o._pannerAttr={coneInnerAngle:void 0!==e.pannerAttr.coneInnerAngle?e.pannerAttr.coneInnerAngle:o._coneInnerAngle,coneOuterAngle:void 0!==e.pannerAttr.coneOuterAngle?e.pannerAttr.coneOuterAngle:o._coneOuterAngle,coneOuterGain:void 0!==e.pannerAttr.coneOuterGain?e.pannerAttr.coneOuterGain:o._coneOuterGain,distanceModel:void 0!==e.pannerAttr.distanceModel?e.pannerAttr.distanceModel:o._distanceModel,maxDistance:void 0!==e.pannerAttr.maxDistance?e.pannerAttr.maxDistance:o._maxDistance,refDistance:void 0!==e.pannerAttr.refDistance?e.pannerAttr.refDistance:o._refDistance,rolloffFactor:void 0!==e.pannerAttr.rolloffFactor?e.pannerAttr.rolloffFactor:o._rolloffFactor,panningModel:void 0!==e.pannerAttr.panningModel?e.pannerAttr.panningModel:o._panningModel})}else 2===a.length&&(e=a[0],r=parseInt(a[1],10));for(var i=o._getSoundIds(r),s=0;s<i.length;s++)if(n=o._soundById(i[s])){var l=n._pannerAttr;l={coneInnerAngle:void 0!==e.coneInnerAngle?e.coneInnerAngle:l.coneInnerAngle,coneOuterAngle:void 0!==e.coneOuterAngle?e.coneOuterAngle:l.coneOuterAngle,coneOuterGain:void 0!==e.coneOuterGain?e.coneOuterGain:l.coneOuterGain,distanceModel:void 0!==e.distanceModel?e.distanceModel:l.distanceModel,maxDistance:void 0!==e.maxDistance?e.maxDistance:l.maxDistance,refDistance:void 0!==e.refDistance?e.refDistance:l.refDistance,rolloffFactor:void 0!==e.rolloffFactor?e.rolloffFactor:l.rolloffFactor,panningModel:void 0!==e.panningModel?e.panningModel:l.panningModel};var c=n._panner;c?(c.coneInnerAngle=l.coneInnerAngle,c.coneOuterAngle=l.coneOuterAngle,c.coneOuterGain=l.coneOuterGain,c.distanceModel=l.distanceModel,c.maxDistance=l.maxDistance,c.refDistance=l.refDistance,c.rolloffFactor=l.rolloffFactor,c.panningModel=l.panningModel):(n._pos||(n._pos=o._pos||[0,0,-.5]),t(n,"spatial"))}return o},Sound.prototype.init=function(e){return function(){var t=this,r=t._parent;t._orientation=r._orientation,t._stereo=r._stereo,t._pos=r._pos,t._pannerAttr=r._pannerAttr,e.call(this),t._stereo?r.stereo(t._stereo):t._pos&&r.pos(t._pos[0],t._pos[1],t._pos[2],t._id)}}(Sound.prototype.init),Sound.prototype.reset=function(e){return function(){var t=this,r=t._parent;return t._orientation=r._orientation,t._stereo=r._stereo,t._pos=r._pos,t._pannerAttr=r._pannerAttr,t._stereo?r.stereo(t._stereo):t._pos?r.pos(t._pos[0],t._pos[1],t._pos[2],t._id):t._panner&&(t._panner.disconnect(0),t._panner=void 0,r._refreshBuffer(t)),e.call(this)}}(Sound.prototype.reset);var t=function(e,t){"spatial"===(t=t||"spatial")?(e._panner=Howler.ctx.createPanner(),e._panner.coneInnerAngle=e._pannerAttr.coneInnerAngle,e._panner.coneOuterAngle=e._pannerAttr.coneOuterAngle,e._panner.coneOuterGain=e._pannerAttr.coneOuterGain,e._panner.distanceModel=e._pannerAttr.distanceModel,e._panner.maxDistance=e._pannerAttr.maxDistance,e._panner.refDistance=e._pannerAttr.refDistance,e._panner.rolloffFactor=e._pannerAttr.rolloffFactor,e._panner.panningModel=e._pannerAttr.panningModel,void 0!==e._panner.positionX?(e._panner.positionX.setValueAtTime(e._pos[0],Howler.ctx.currentTime),e._panner.positionY.setValueAtTime(e._pos[1],Howler.ctx.currentTime),e._panner.positionZ.setValueAtTime(e._pos[2],Howler.ctx.currentTime)):e._panner.setPosition(e._pos[0],e._pos[1],e._pos[2]),void 0!==e._panner.orientationX?(e._panner.orientationX.setValueAtTime(e._orientation[0],Howler.ctx.currentTime),e._panner.orientationY.setValueAtTime(e._orientation[1],Howler.ctx.currentTime),e._panner.orientationZ.setValueAtTime(e._orientation[2],Howler.ctx.currentTime)):e._panner.setOrientation(e._orientation[0],e._orientation[1],e._orientation[2])):(e._panner=Howler.ctx.createStereoPanner(),e._panner.pan.setValueAtTime(e._stereo,Howler.ctx.currentTime)),e._panner.connect(e._node),e._paused||e._parent.pause(e._id,!0).play(e._id,!0)}}()}(howler);var tick="data:audio/mpeg;base64,UklGRtRSAABXQVZFZm10IBAAAAABAAIARKwAABCxAgAEABAAZGF0YbBSAAAZABkADAAMAAUABgAXABUANgA3AN3/3v/n/+T/AwAIACIAHQAhACQAHwAdABMAEwBZAFsAGAAXACgAJwAQABIAQAA+AAsADAACAAMAEQAOAPn//P/d/9z/2//b//L/8f/u//D/DAAJAO//8v/T/9H/DgAPAPT/8/9AAEIAdwB0AGAAYgBJAEgAXwBfADkAOwAbABgAMAAyABwAGgD1//j/+P/1/wwADgD3//X/KwAtADgAOADt/+r/AgAGAAgABAAHAAoAHgAeAMD/vP/T/9n/GQAUAB4AIQDv/+3/xf/G/6j/qP+4/7j/+f/5/z8APwBCAEIA8f/x/zcANwALAAoAIQAkAEoARgA7AD4AYABfAFMAUwAoACgA9//3/zIAMAD3//3/0f/K/8n/z//P/8n/sv+3/9z/2v/h/+H/7f/v/8L/vv+j/6j/4//d/7v/wP/v/+3/0f/R/9D/0P/m/+f/GgAYAAUACAASAA8AdAB0ANMA1wB4HHQcgDaCNjZONk5BYj9iMnE1cZp6mHqsfa19v3q+ejlxOnECYgFiJE4lTv02/DZOHFEcegBzAKLkq+QAyvfJPbJFsm+eaZ4fjyOPyIXFhYyCj4KThZCF343ijZmclpzAr8Ov3sbcxmLgZODt++v7jhePF7YxtTFzSXZJ/Fz3XBNsGGzAdbt1XHlgeUV3RHcWbxRvZmFpYc1Oy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bgFvAaYBpgHdAdsB/wECAiACHQIsAjACNAIvAigCLAIVAhIC8wH2AccBxQGVAZUBUQFRAQ4BDwHCAMIAcgBwAB8AIgDN/8r/ef98/yz/K//k/uL+nP6f/mb+Yv4u/jP+Cv4H/u397f3a/dr91/3X/d793v3w/fL9E/4P/jn+Pf5w/m3+q/6s/vD+8f46/zj/if+L/9r/2f8rACoAfQB+AMgAyQAVARMBVQFXAZEBkAHEAcQB7AHtAQkCCAIbAhwCIgIgAhgCGwIKAgcC6gHsAcEBwQGSAZABUgFUARMBEgHJAMgAegB+ADAAKwDY/9z/kP+N/z3/P//5/vj+sv60/n3+ef5C/kj+I/4d/v/9A/7t/ez96f3o/ev97f3",tockAndTick={tick:tick,tock:tock},metronomeData=reactive({disable:!0,initPlayerState:!1,lineShow:!1,isClick:!1,metro:null,metroList:[],activeList:[],metroMeasure:[],activeIndex:null,activeMetro:{}}),Metronome=function(){function e(t){var r=this;_classCallCheck2(this,e),_defineProperty2(this,"playType","tick"),_defineProperty2(this,"source",null),_defineProperty2(this,"source1",null),_defineProperty2(this,"source2",null),_defineProperty2(this,"sound",(function(e){for(var t=-1,n=0;n<metronomeData.metroList.length;n++){if(!(e>=metronomeData.metroList[n]))break;t=n}if(t>-1&&metronomeData.activeIndex!==t)return metronomeData.activeIndex=t,void r.playAudio()})),_defineProperty2(this,"playAudio",(function(){metronomeData.initPlayerState&&r.source.play()})),_defineProperty2(this,"loadAudio1",(function(){return new howler.Howl({src:tockAndTick.tick})})),_defineProperty2(this,"loadAudio2",(function(){return new howler.Howl({src:tockAndTick.tock})}))}return _createClass2(e,[{key:"init",value:function(e){this.calculation(e),metronomeData.activeList=[]}},{key:"initPlayer",value:function(){this.source||(this.source=this.loadAudio1()),this.source.volume(metronomeData.disable?0:1),metronomeData.initPlayerState=!0}},{key:"selectPlay",value:function(){}},{key:"getStep",value:function(e){for(var t=0;t<metronomeData.metroMeasure.length;t++){var r=metronomeData.metroMeasure[t].find((function(t){return t.time===e}));if(r)return r}return{}}},{key:"calculation",value:function(e){for(var t,r=[],n=-1,o=-1,a=0;a<e.length;a++){var i,s=e[a],l=null==s||null===(i=s.timeNote)||void 0===i?void 0:i.measureNumber;if(l>-1)if(l!=o){var c,u,d={measureNumberXML:l,numerator:(null==s||null===(c=s.measure)||void 0===c?void 0:c.numerator)||0,time:null==s||null===(u=s.timeNote)||void 0===u?void 0:u.millisecondsPerMeasure,stepList:[],notes:[s]};r[++n]=d,o=l}else r[n].notes.push(s)}var p=[],f=[];try{for(var h=0;h<r.length;h++)for(var v=[],g=r[h],m=1/g.numerator,b=g.notes.reduce((function(e,t){var r;return e+(null==t||null===(r=t.abcNote)||void 0===r?void 0:r.duration)}),0),A=(Math.floor(b/m),g.notes[0].timeNote.milliseconds),y=g.notes[0].timeNote.millisecondsPerMeasure/g.numerator,x=0;x<g.numerator;x++){var w=y*x+A;p.push(w),v.push(w)}}catch(error){console.log(error)}metronomeData.metroList=p,metronomeData.metroMeasure=f,metronomeData.activeMetro=(null===(t=f[0])||void 0===t?void 0:t[0])||{}}}]),e}(),lodash_isempty={exports:{}};lodash_isempty.exports,function(t,r){var n=9007199254740991,o="[object Arguments]",a="[object Function]",i="[object GeneratorFunction]",s="[object Map]",l="[object Promise]",c="[object Set]",u="[object WeakMap]",d="[object DataView]",p=/^\[object .+?Constructor\]$/,f="object"==_typeof2(commonjsGlobal)&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,h="object"==("undefined"==typeof self?"undefined":_typeof2(self))&&self&&self.Object===Object&&self,v=f||h||Function("return this")(),g=r&&!r.nodeType&&r,m=g&&t&&!t.nodeType&&t,b=m&&m.exports===g;var A=Function.prototype,y=Object.prototype,x=v["__core-js_shared__"],w=function(){var e=/[^.]+$/.exec(x&&x.keys&&x.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),C=A.toString,k=y.hasOwnProperty,_=y.toString,S=RegExp("^"+C.call(k).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),B=b?v.Buffer:void 0,E=y.propertyIsEnumerable,T=B?B.isBuffer:void 0,P=function(e,t){return function(r){return e(t(r))}}(Object.keys,Object),I=H(v,"DataView"),N=H(v,"Map"),z=H(v,"Promise"),M=H(v,"Set"),R=H(v,"WeakMap"),D=!E.call({valueOf:1},"valueOf"),O=Q(I),F=Q(N),L=Q(z),j=Q(M),V=Q(R);function $(t){if(!X(t)||(r=t,w&&w in r))return!1;var r,n=Y(t)||function(t){var r=!1;if(null!=t&&"function"!=typeof t.toString)try{r=!!(t+"")}catch(e){}return r}(t)?S:p;return n.test(Q(t))}function H(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return $(r)?r:void 0}var U=function(e){return _.call(e)};function Q(t){if(null!=t){try{return C.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function G(e){return function(e){return function(e){return!!e&&"object"==_typeof2(e)}(e)&&q(e)}(e)&&k.call(e,"callee")&&(!E.call(e,"callee")||_.call(e)==o)}(I&&U(new I(new ArrayBuffer(1)))!=d||N&&U(new N)!=s||z&&U(z.resolve())!=l||M&&U(new M)!=c||R&&U(new R)!=u)&&(U=function(e){var t=_.call(e),r="[object Object]"==t?e.constructor:void 0,n=r?Q(r):void 0;if(n)switch(n){case O:return d;case F:return s;case L:return l;case j:return c;case V:return u}return t});var K=Array.isArray;function q(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}(e.length)&&!Y(e)}var W=T||function(){return!1};function Y(e){var t=X(e)?_.call(e):"";return t==a||t==i}function X(e){var t=_typeof2(e);return!!e&&("object"==t||"function"==t)}t.exports=function(e){if(q(e)&&(K(e)||"string"==typeof e||"function"==typeof e.splice||W(e)||G(e)))return!e.length;var t=U(e);if(t==s||t==c)return!e.size;if(D||function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||y)}(e))return!P(e).length;for(var r in e)if(k.call(e,r))return!1;return!0}}(lodash_isempty,lodash_isempty.exports);var lodash_isemptyExports=lodash_isempty.exports,objectTag="[object Object]";function isHostObject(t){var r=!1;if(null!=t&&"function"!=typeof t.toString)try{r=!!(t+"")}catch(e){}return r}function overArg(e,t){return function(r){return e(t(r))}}var funcProto=Function.prototype,objectProto=Object.prototype,funcToString=funcProto.toString,hasOwnProperty=objectProto.hasOwnProperty,objectCtorString=funcToString.call(Object),objectToString=objectProto.toString,getPrototype=overArg(Object.getPrototypeOf,Object);function isObjectLike(e){return!!e&&"object"==_typeof2(e)}function isPlainObject$1(e){if(!isObjectLike(e)||objectToString.call(e)!=objectTag||isHostObject(e))return!1;var t=getPrototype(e);if(null===t)return!0;var r=hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&funcToString.call(r)==objectCtorString}var lodash_isplainobject=isPlainObject$1,lodash_transform={exports:{}};lodash_transform.exports,function(t,r){var n="__lodash_hash_undefined__",o=1,a=2,i=1/0,s=9007199254740991,l="[object Arguments]",c="[object Array]",u="[object Boolean]",d="[object Date]",p="[object Error]",f="[object Function]",h="[object GeneratorFunction]",v="[object Map]",g="[object Number]",m="[object Object]",b="[object Promise]",A="[object RegExp]",y="[object Set]",x="[object String]",w="[object Symbol]",C="[object WeakMap]",k="[object ArrayBuffer]",_="[object DataView]",S=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,B=/^\w*$/,E=/^\./,T=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,P=/\\(\\)?/g,I=/^\[object .+?Constructor\]$/,N=/^(?:0|[1-9]\d*)$/,z={};z["[object Float32Array]"]=z["[object Float64Array]"]=z["[object Int8Array]"]=z["[object Int16Array]"]=z["[object Int32Array]"]=z["[object Uint8Array]"]=z["[object Uint8ClampedArray]"]=z["[object Uint16Array]"]=z["[object Uint32Array]"]=!0,z[l]=z[c]=z[k]=z[u]=z[_]=z[d]=z[p]=z[f]=z[v]=z[g]=z[m]=z[A]=z[y]=z[x]=z[C]=!1;var M="object"==_typeof2(commonjsGlobal)&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,R="object"==("undefined"==typeof self?"undefined":_typeof2(self))&&self&&self.Object===Object&&self,D=M||R||Function("return this")(),O=r&&!r.nodeType&&r,F=O&&t&&!t.nodeType&&t,L=F&&F.exports===O&&M.process,j=function(){try{return L&&L.binding("util")}catch(e){}}(),V=j&&j.isTypedArray;function $(e,t){for(var r=-1,n=e?e.length:0;++r<n&&!1!==t(e[r],r,e););return e}function H(e,t){for(var r=-1,n=e?e.length:0;++r<n;)if(t(e[r],r,e))return!0;return!1}function U(t){var r=!1;if(null!=t&&"function"!=typeof t.toString)try{r=!!(t+"")}catch(e){}return r}function Q(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}function G(e,t){return function(r){return e(t(r))}}function K(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}var q=Array.prototype,W=Function.prototype,Y=Object.prototype,X=D["__core-js_shared__"],J=function(){var e=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Z=W.toString,ee=Y.hasOwnProperty,te=Y.toString,re=RegExp("^"+Z.call(ee).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ne=D.Symbol,oe=D.Uint8Array,ae=G(Object.getPrototypeOf,Object),ie=Object.create,se=Y.propertyIsEnumerable,le=q.splice,ce=G(Object.keys,Object),ue=He(D,"DataView"),de=He(D,"Map"),pe=He(D,"Promise"),fe=He(D,"Set"),he=He(D,"WeakMap"),ve=He(Object,"create"),ge=Xe(ue),me=Xe(de),be=Xe(pe),Ae=Xe(fe),ye=Xe(he),xe=ne?ne.prototype:void 0,we=xe?xe.valueOf:void 0,Ce=xe?xe.toString:void 0;function ke(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function _e(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Se(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Be(e){var t=-1,r=e?e.length:0;for(this.__data__=new Se;++t<r;)this.add(e[t])}function Ee(e){this.__data__=new _e(e)}function Te(e,t){var r=tt(e)||et(e)?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],n=r.length,o=!!n;for(var a in e)!t&&!ee.call(e,a)||o&&("length"==a||Qe(a,n))||r.push(a);return r}function Pe(e,t){for(var r=e.length;r--;)if(Ze(e[r][0],t))return r;return-1}ke.prototype.clear=function(){this.__data__=ve?ve(null):{}},ke.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},ke.prototype.get=function(e){var t=this.__data__;if(ve){var r=t[e];return r===n?void 0:r}return ee.call(t,e)?t[e]:void 0},ke.prototype.has=function(e){var t=this.__data__;return ve?void 0!==t[e]:ee.call(t,e)},ke.prototype.set=function(e,t){return this.__data__[e]=ve&&void 0===t?n:t,this},_e.prototype.clear=function(){this.__data__=[]},_e.prototype.delete=function(e){var t=this.__data__,r=Pe(t,e);return!(r<0)&&(r==t.length-1?t.pop():le.call(t,r,1),!0)},_e.prototype.get=function(e){var t=this.__data__,r=Pe(t,e);return r<0?void 0:t[r][1]},_e.prototype.has=function(e){return Pe(this.__data__,e)>-1},_e.prototype.set=function(e,t){var r=this.__data__,n=Pe(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},Se.prototype.clear=function(){this.__data__={hash:new ke,map:new(de||_e),string:new ke}},Se.prototype.delete=function(e){return $e(this,e).delete(e)},Se.prototype.get=function(e){return $e(this,e).get(e)},Se.prototype.has=function(e){return $e(this,e).has(e)},Se.prototype.set=function(e,t){return $e(this,e).set(e,t),this},Be.prototype.add=Be.prototype.push=function(e){return this.__data__.set(e,n),this},Be.prototype.has=function(e){return this.__data__.has(e)},Ee.prototype.clear=function(){this.__data__=new _e},Ee.prototype.delete=function(e){return this.__data__.delete(e)},Ee.prototype.get=function(e){return this.__data__.get(e)},Ee.prototype.has=function(e){return this.__data__.has(e)},Ee.prototype.set=function(e,t){var r=this.__data__;if(r instanceof _e){var n=r.__data__;if(!de||n.length<199)return n.push([e,t]),this;r=this.__data__=new Se(n)}return r.set(e,t),this};var Ie,Ne=function(e,t,r){for(var n=-1,o=Object(e),a=r(e),i=a.length;i--;){var s=a[Ie?i:++n];if(!1===t(o[s],s,o))break}return e};function ze(e,t){return e&&Ne(e,t,ut)}function Me(e,t){for(var r=0,n=(t=Ge(t,e)?[t]:je(t)).length;null!=e&&r<n;)e=e[Ye(t[r++])];return r&&r==n?e:void 0}function Re(e,t){return null!=e&&t in Object(e)}function De(e,t,r,n,i){return e===t||(null==e||null==t||!at(e)&&!it(t)?e!=e&&t!=t:function(e,t,r,n,i,s){var f=tt(e),h=tt(t),b=c,C=c;f||(b=(b=Ue(e))==l?m:b);h||(C=(C=Ue(t))==l?m:C);var S=b==m&&!U(e),B=C==m&&!U(t),E=b==C;if(E&&!S)return s||(s=new Ee),f||ct(e)?Ve(e,t,r,n,i,s):function(e,t,r,n,i,s,l){switch(r){case _:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case k:return!(e.byteLength!=t.byteLength||!n(new oe(e),new oe(t)));case u:case d:case g:return Ze(+e,+t);case p:return e.name==t.name&&e.message==t.message;case A:case x:return e==t+"";case v:var c=Q;case y:var f=s&a;if(c||(c=K),e.size!=t.size&&!f)return!1;var h=l.get(e);if(h)return h==t;s|=o,l.set(e,t);var m=Ve(c(e),c(t),n,i,s,l);return l.delete(e),m;case w:if(we)return we.call(e)==we.call(t)}return!1}(e,t,b,r,n,i,s);if(!(i&a)){var T=S&&ee.call(e,"__wrapped__"),P=B&&ee.call(t,"__wrapped__");if(T||P){var I=T?e.value():e,N=P?t.value():t;return s||(s=new Ee),r(I,N,n,i,s)}}if(!E)return!1;return s||(s=new Ee),function(e,t,r,n,o,i){var s=o&a,l=ut(e),c=l.length,u=ut(t),d=u.length;if(c!=d&&!s)return!1;var p=c;for(;p--;){var f=l[p];if(!(s?f in t:ee.call(t,f)))return!1}var h=i.get(e);if(h&&i.get(t))return h==t;var v=!0;i.set(e,t),i.set(t,e);var g=s;for(;++p<c;){var m=e[f=l[p]],b=t[f];if(n)var A=s?n(b,m,f,t,e,i):n(m,b,f,e,t,i);if(!(void 0===A?m===b||r(m,b,n,o,i):A)){v=!1;break}g||(g="constructor"==f)}if(v&&!g){var y=e.constructor,x=t.constructor;y==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof x&&x instanceof x||(v=!1)}return i.delete(e),i.delete(t),v}(e,t,r,n,i,s)}(e,t,De,r,n,i))}function Oe(e){return!(!at(e)||(t=e,J&&J in t))&&(nt(e)||U(e)?re:I).test(Xe(e));var t}function Fe(e){return"function"==typeof e?e:null==e?dt:"object"==_typeof2(e)?tt(e)?function(e,t){if(Ge(e)&&Ke(t))return qe(Ye(e),t);return function(r){var n=function(e,t,r){var n=null==e?void 0:Me(e,t);return void 0===n?r:n}(r,e);return void 0===n&&n===t?function(e,t){return null!=e&&function(e,t,r){t=Ge(t,e)?[t]:je(t);var n,o=-1,a=t.length;for(;++o<a;){var i=Ye(t[o]);if(!(n=null!=e&&r(e,i)))break;e=e[i]}if(n)return n;a=e?e.length:0;return!!a&&ot(a)&&Qe(i,a)&&(tt(e)||et(e))}(e,t,Re)}(r,e):De(t,n,void 0,o|a)}}(e[0],e[1]):function(e){var t=function(e){var t=ut(e),r=t.length;for(;r--;){var n=t[r],o=e[n];t[r]=[n,o,Ke(o)]}return t}(e);if(1==t.length&&t[0][2])return qe(t[0][0],t[0][1]);return function(r){return r===e||function(e,t,r,n){var i=r.length,s=i,l=!n;if(null==e)return!s;for(e=Object(e);i--;){var c=r[i];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++i<s;){var u=(c=r[i])[0],d=e[u],p=c[1];if(l&&c[2]){if(void 0===d&&!(u in e))return!1}else{var f=new Ee;if(n)var h=n(d,p,u,e,t,f);if(!(void 0===h?De(p,d,n,o|a,f):h))return!1}}return!0}(r,e,t)}}(e):Ge(t=e)?(r=Ye(t),function(e){return null==e?void 0:e[r]}):function(e){return function(t){return Me(t,e)}}(t);var t,r}function Le(e){if(!function(e){var t=e&&e.constructor,r="function"==typeof t&&t.prototype||Y;return e===r}(e))return ce(e);var t=[];for(var r in Object(e))ee.call(e,r)&&"constructor"!=r&&t.push(r);return t}function je(e){return tt(e)?e:We(e)}function Ve(e,t,r,n,i,s){var l=i&a,c=e.length,u=t.length;if(c!=u&&!(l&&u>c))return!1;var d=s.get(e);if(d&&s.get(t))return d==t;var p=-1,f=!0,h=i&o?new Be:void 0;for(s.set(e,t),s.set(t,e);++p<c;){var v=e[p],g=t[p];if(n)var m=l?n(g,v,p,t,e,s):n(v,g,p,e,t,s);if(void 0!==m){if(m)continue;f=!1;break}if(h){if(!H(t,(function(e,t){if(!h.has(t)&&(v===e||r(v,e,n,i,s)))return h.add(t)}))){f=!1;break}}else if(v!==g&&!r(v,g,n,i,s)){f=!1;break}}return s.delete(e),s.delete(t),f}function $e(e,t){var r=e.__data__;return function(e){var t=_typeof2(e);return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?r["string"==typeof t?"string":"hash"]:r.map}function He(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return Oe(r)?r:void 0}var Ue=function(e){return te.call(e)};function Qe(e,t){return!!(t=null==t?s:t)&&("number"==typeof e||N.test(e))&&e>-1&&e%1==0&&e<t}function Ge(e,t){if(tt(e))return!1;var r=_typeof2(e);return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!st(e))||(B.test(e)||!S.test(e)||null!=t&&e in Object(t))}function Ke(e){return e==e&&!at(e)}function qe(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}}(ue&&Ue(new ue(new ArrayBuffer(1)))!=_||de&&Ue(new de)!=v||pe&&Ue(pe.resolve())!=b||fe&&Ue(new fe)!=y||he&&Ue(new he)!=C)&&(Ue=function(e){var t=te.call(e),r=t==m?e.constructor:void 0,n=r?Xe(r):void 0;if(n)switch(n){case ge:return _;case me:return v;case be:return b;case Ae:return y;case ye:return C}return t});var We=Je((function(e){e=function(e){return null==e?"":function(e){if("string"==typeof e)return e;if(st(e))return Ce?Ce.call(e):"";var t=e+"";return"0"==t&&1/e==-i?"-0":t}(e)}(e);var t=[];return E.test(e)&&t.push(""),e.replace(T,(function(e,r,n,o){t.push(n?o.replace(P,"$1"):r||e)})),t}));function Ye(e){if("string"==typeof e||st(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}function Xe(t){if(null!=t){try{return Z.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Je(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function r(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=e.apply(this,n);return r.cache=a.set(o,i),i};return r.cache=new(Je.Cache||Se),r}function Ze(e,t){return e===t||e!=e&&t!=t}function et(e){return function(e){return it(e)&&rt(e)}(e)&&ee.call(e,"callee")&&(!se.call(e,"callee")||te.call(e)==l)}Je.Cache=Se;var tt=Array.isArray;function rt(e){return null!=e&&ot(e.length)&&!nt(e)}function nt(e){var t=at(e)?te.call(e):"";return t==f||t==h}function ot(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=s}function at(e){var t=_typeof2(e);return!!e&&("object"==t||"function"==t)}function it(e){return!!e&&"object"==_typeof2(e)}function st(e){return"symbol"==_typeof2(e)||it(e)&&te.call(e)==w}var lt,ct=V?(lt=V,function(e){return lt(e)}):function(e){return it(e)&&ot(e.length)&&!!z[te.call(e)]};function ut(e){return rt(e)?Te(e):Le(e)}function dt(e){return e}t.exports=function(e,t,r){var n,o=tt(e)||ct(e);if(t=Fe(t),null==r)if(o||at(e)){var a=e.constructor;r=o?tt(e)?new a:[]:nt(a)?at(n=ae(e))?ie(n):{}:{}}else r={};return(o?$:ze)(e,(function(e,n,o){return t(r,e,n,o)})),r}}(lodash_transform,lodash_transform.exports);var lodash_transformExports=lodash_transform.exports,isEmpty=lodash_isemptyExports,isPlainObject=lodash_isplainobject,transform=lodash_transformExports,src=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.cleanKeys,o=void 0===n?[]:n,a=r.cleanValues,i=void 0===a?[]:a,s=r.emptyArrays,l=void 0===s||s,c=r.emptyObjects,u=void 0===c||c,d=r.emptyStrings,p=void 0===d||d,f=r.NaNValues,h=void 0!==f&&f,v=r.nullValues,g=void 0===v||v,m=r.undefinedValues,b=void 0===m||m;return transform(t,(function(t,r,n){if(!o.includes(n)&&((Array.isArray(r)||isPlainObject(r))&&(r=e(r,{NaNValues:h,cleanKeys:o,cleanValues:i,emptyArrays:l,emptyObjects:u,emptyStrings:p,nullValues:g,undefinedValues:b})),!i.includes(r)&&!(u&&isPlainObject(r)&&isEmpty(r))&&(!l||!Array.isArray(r)||r.length)&&!(p&&""===r||h&&Number.isNaN(r)||g&&null===r||b&&void 0===r)))return Array.isArray(t)?t.push(r):void(t[n]=r)}))},cleanDeep=getDefaultExportFromCjs(src),FileSaver_min={exports:{}};!function(e,t){!function(){function t(e,t){return void 0===t?t={autoBom:!1}:"object"!=_typeof2(t)&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}function r(e,t,r){var n=new XMLHttpRequest;n.open("GET",e),n.responseType="blob",n.onload=function(){s(n.response,t,r)},n.onerror=function(){console.error("could not download file")},n.send()}function n(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function o(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(r){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var a="object"==("undefined"==typeof window?"undefined":_typeof2(window))&&window.window===window?window:"object"==("undefined"==typeof self?"undefined":_typeof2(self))&&self.self===self?self:"object"==_typeof2(commonjsGlobal)&&commonjsGlobal.global===commonjsGlobal?commonjsGlobal:void 0,i=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),s=a.saveAs||("object"!=("undefined"==typeof window?"undefined":_typeof2(window))||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!i?function(e,t,i){var s=a.URL||a.webkitURL,l=document.createElement("a");t=t||e.name||"download",l.download=t,l.rel="noopener","string"==typeof e?(l.href=e,l.origin===location.origin?o(l):n(l.href)?r(e,t,i):o(l,l.target="_blank")):(l.href=s.createObjectURL(e),setTimeout((function(){s.revokeObjectURL(l.href)}),4e4),setTimeout((function(){o(l)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,a,i){if(a=a||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(t(e,i),a);else if(n(e))r(e,a,i);else{var s=document.createElement("a");s.href=e,s.target="_blank",setTimeout((function(){o(s)}))}}:function(e,t,n,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return r(e,t,n);var s="application/octet-stream"===e.type,l=/constructor/i.test(a.HTMLElement)||a.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||s&&l||i)&&"undefined"!=typeof FileReader){var u=new FileReader;u.onloadend=function(){var e=u.result;e=c?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},u.readAsDataURL(e)}else{var d=a.URL||a.webkitURL,p=d.createObjectURL(e);o?o.location=p:location.href=p,o=null,setTimeout((function(){d.revokeObjectURL(p)}),4e4)}});a.saveAs=s.saveAs=s,e.exports=s}()}(FileSaver_min);var FileSaver_minExports=FileSaver_min.exports;function tryOnScopeDispose(e){return!!getCurrentScope()&&(onScopeDispose(e),!0)}function toValue(e){return"function"==typeof e?e():unref(e)}var isClient="undefined"!=typeof window,noop=function(){};function unrefElement(e){var t,r=toValue(e);return null!=(t=null==r?void 0:r.$el)?t:r}var defaultWindow=isClient?window:void 0,defaultDocument=isClient?window.document:void 0;function useEventListener(){for(var e,t,r,n,o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];if("string"==typeof a[0]||Array.isArray(a[0])?(t=a[0],r=a[1],n=a[2],e=defaultWindow):(e=a[0],t=a[1],r=a[2],n=a[3]),!e)return noop;Array.isArray(t)||(t=[t]),Array.isArray(r)||(r=[r]);var s=[],l=function(){s.forEach((function(e){return e()})),s.length=0},c=watch((function(){return[unrefElement(e),toValue(n)]}),(function(e){var n=_slicedToArray(e,2),o=n[0],a=n[1];l(),o&&s.push.apply(s,_toConsumableArray2(t.flatMap((function(e){return r.map((function(t){return function(e,t,r,n){return e.addEventListener(t,r,n),function(){return e.removeEventListener(t,r,n)}}(o,e,t,a)}))}))))}),{immediate:!0,flush:"post"}),u=function(){c(),l()};return tryOnScopeDispose(u),u}function useDocumentVisibility(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).document,t=void 0===e?defaultDocument:e;if(!t)return ref("visible");var r=ref(t.visibilityState);return useEventListener(t,"visibilitychange",(function(){r.value=t.visibilityState})),r}var cosJsSdkV5={exports:{}};(function(module,exports){var factory;factory=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===_typeof2(e)&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/dist/",r(r.s="./index.js")}({"./index.js":
  95. /*!******************!*\
  96. !*** ./index.js ***!
  97. \******************/
  98. /*! no static exports found */function(e,t,r){var n=r(/*! ./src/cos */"./src/cos.js");e.exports=n},"./lib/base64.js":
  99. /*!***********************!*\
  100. !*** ./lib/base64.js ***!
  101. \***********************/
  102. /*! no static exports found */function(e,t){var r=function(e){var t=(e=e||{}).Base64,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=function(e){for(var t={},r=0,n=e.length;r<n;r++)t[e.charAt(r)]=r;return t}(r),o=String.fromCharCode,a=function(e){if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?o(192|t>>>6)+o(128|63&t):o(224|t>>>12&15)+o(128|t>>>6&63)+o(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return o(240|t>>>18&7)+o(128|t>>>12&63)+o(128|t>>>6&63)+o(128|63&t)},i=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,s=function(e){return e.replace(i,a)},l=function(e){var t=[0,2,1][e.length%3],n=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0);return[r.charAt(n>>>18),r.charAt(n>>>12&63),t>=2?"=":r.charAt(n>>>6&63),t>=1?"=":r.charAt(63&n)].join("")},c=e.btoa?function(t){return e.btoa(t)}:function(e){return e.replace(/[\s\S]{1,3}/g,l)},u=function(e){return c(s(e))},d=function(e,t){return t?u(String(e)).replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,""):u(String(e))},p=new RegExp(["[À-ß][€-¿]","[à-ï][€-¿]{2}","[ð-÷][€-¿]{3}"].join("|"),"g"),f=function(e){switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return o(55296+(t>>>10))+o(56320+(1023&t));case 3:return o((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return o((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},h=function(e){return e.replace(p,f)},v=function(e){var t=e.length,r=t%4,a=(t>0?n[e.charAt(0)]<<18:0)|(t>1?n[e.charAt(1)]<<12:0)|(t>2?n[e.charAt(2)]<<6:0)|(t>3?n[e.charAt(3)]:0),i=[o(a>>>16),o(a>>>8&255),o(255&a)];return i.length-=[0,0,2,1][r],i.join("")},g=e.atob?function(t){return e.atob(t)}:function(e){return e.replace(/[\s\S]{1,4}/g,v)},m=function(e){return function(e){return h(g(e))}(String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,""))},b={VERSION:"2.1.9",atob:g,btoa:c,fromBase64:m,toBase64:d,utob:s,encode:d,encodeURI:function(e){return d(e,!0)},btou:h,decode:m,noConflict:function(){var r=e.Base64;return e.Base64=t,r}};return b}();e.exports=r},"./lib/beacon.min.js":
  103. /*!***************************!*\
  104. !*** ./lib/beacon.min.js ***!
  105. \***************************/
  106. /*! no static exports found */function(e,t,r){var n,o,a=r(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js");!function(i,s){"object"==a(t)&&void 0!==e?e.exports=s():void 0===(o="function"==typeof(n=s)?n.call(t,r,t,e):n)||(e.exports=o)}(0,(function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)},t=function(){return t=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},t.apply(this,arguments)};function r(e,t,r,n){return new(r||(r=Promise))((function(o,a){function i(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,s)}l((n=n.apply(e,t||[])).next())}))}function n(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;i;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}var o="__BEACON_",a="__BEACON_deviceId",i="last_report_time",s="sending_event_ids",l="beacon_config",c="beacon_config_request_time",u=function(){function e(){var e=this;this.emit=function(t,r){if(e){var n,o=e.__EventsList[t];if(null==o?void 0:o.length){o=o.slice();for(var a=0;a<o.length;a++){n=o[a];try{var i=n.callback.apply(e,[r]);if(1===n.type&&e.remove(t,n.callback),!1===i)break}catch(e){throw e}}}return e}},this.__EventsList={}}return e.prototype.indexOf=function(e,t){for(var r=0;r<e.length;r++)if(e[r].callback===t)return r;return-1},e.prototype.on=function(e,t,r){if(void 0===r&&(r=0),this){var n=this.__EventsList[e];if(n||(n=this.__EventsList[e]=[]),-1===this.indexOf(n,t)){var o={name:e,type:r||0,callback:t};return n.push(o),this}return this}},e.prototype.one=function(e,t){this.on(e,t,1)},e.prototype.remove=function(e,t){if(this){var r=this.__EventsList[e];if(!r)return null;if(!t){try{delete this.__EventsList[e]}catch(e){}return null}if(r.length){var n=this.indexOf(r,t);r.splice(n,1)}return this}},e}();function d(e,t){for(var r={},n=0,o=Object.keys(e);n<o.length;n++){var a=o[n],i=e[a];if("string"==typeof i)r[p(a)]=p(i);else{if(t)throw new Error("value mast be string !!!!");r[p(String(a))]=p(String(i))}}return r}function p(e){if("string"!=typeof e)return e;try{return e.replace(new RegExp("\\|","g"),"%7C").replace(new RegExp("\\&","g"),"%26").replace(new RegExp("\\=","g"),"%3D").replace(new RegExp("\\+","g"),"%2B")}catch(e){return""}}function f(e){return String(e.A99)+String(e.A100)}var h=function(){},v=function(){function e(e){var r=this;this.lifeCycle=new u,this.uploadJobQueue=[],this.additionalParams={},this.delayTime=0,this._normalLogPipeline=function(e){if(!e||!e.reduce||!e.length)throw new TypeError("createPipeline 方法需要传入至少有一个 pipe 的数组");return 1===e.length?function(t,r){e[0](t,r||h)}:e.reduce((function(e,t){return function(r,n){return void 0===n&&(n=h),e(r,(function(e){return null==t?void 0:t(e,n)}))}}))}([function(e){r.send({url:r.strategy.getUploadUrl(),data:e,method:"post",contentType:"application/json;charset=UTF-8"},(function(){var t=r.config.onReportSuccess;"function"==typeof t&&t(JSON.stringify(e.events))}),(function(){var t=r.config.onReportFail;"function"==typeof t&&t(JSON.stringify(e.events))}))}]),function(e,t){if(!e)throw t instanceof Error?t:new Error(t)}(Boolean(e.appkey),"appkey must be initial"),this.config=t({},e)}return e.prototype.onUserAction=function(e,t){this.preReport(e,t,!1)},e.prototype.onDirectUserAction=function(e,t){this.preReport(e,t,!0)},e.prototype.preReport=function(e,t,r){e?this.strategy.isEventUpOnOff()&&(this.strategy.isBlackEvent(e)||this.strategy.isSampleEvent(e)||this.onReport(e,t,r)):this.errorReport.reportError("602"," no eventCode")},e.prototype.addAdditionalParams=function(e){for(var t=0,r=Object.keys(e);t<r.length;t++){var n=r[t];this.additionalParams[n]=e[n]}},e.prototype.setChannelId=function(e){this.commonInfo.channelID=String(e)},e.prototype.setOpenId=function(e){this.commonInfo.openid=String(e)},e.prototype.setUnionid=function(e){this.commonInfo.unid=String(e)},e.prototype.getDeviceId=function(){return this.commonInfo.deviceId},e.prototype.getCommonInfo=function(){return this.commonInfo},e.prototype.removeSendingId=function(e){try{var t=JSON.parse(this.storage.getItem(s)),r=t.indexOf(e);-1!=r&&(t.splice(r,1),this.storage.setItem(s,JSON.stringify(t)))}catch(e){}},e}(),g=function(){function e(e,t,r,n){this.requestParams={},this.network=n,this.requestParams.attaid="00400014144",this.requestParams.token="6478159937",this.requestParams.product_id=e.appkey,this.requestParams.platform=r,this.requestParams.uin=t.deviceId,this.requestParams.model="",this.requestParams.os=r,this.requestParams.app_version=e.appVersion,this.requestParams.sdk_version=t.sdkVersion,this.requestParams.error_stack="",this.uploadUrl=e.isOversea?"https://htrace.wetvinfo.com/kv":"https://h.trace.qq.com/kv"}return e.prototype.reportError=function(e,t){this.requestParams._dc=Math.random(),this.requestParams.error_msg=t,this.requestParams.error_code=e,this.network.get(this.uploadUrl,{params:this.requestParams}).catch((function(e){}))},e}(),m=function(){function e(e,t,r,n,o){this.strategy={isEventUpOnOff:!0,httpsUploadUrl:"https://otheve.beacon.qq.com/analytics/v2_upload",requestInterval:30,blacklist:[],samplelist:[]},this.realSample={},this.appkey="",this.needQueryConfig=!0,this.appkey=t.appkey,this.storage=n,this.needQueryConfig=e;try{var a=JSON.parse(this.storage.getItem(l));a&&this.processData(a)}catch(e){}t.isOversea&&(this.strategy.httpsUploadUrl="https://svibeacon.onezapp.com/analytics/v2_upload"),!t.isOversea&&this.needRequestConfig()&&this.requestConfig(t.appVersion,r,o)}return e.prototype.requestConfig=function(e,t,r){var n=this;this.storage.setItem(c,Date.now().toString()),r.post("https://oth.str.beacon.qq.com/trpc.beacon.configserver.BeaconConfigService/QueryConfig",{platformId:"undefined"==typeof wx?"3":"4",mainAppKey:this.appkey,appVersion:e,sdkVersion:t.sdkVersion,osVersion:t.userAgent,model:"",packageName:"",params:{A3:t.deviceId}}).then((function(e){if(0==e.data.ret)try{var t=JSON.parse(e.data.beaconConfig);t&&(n.processData(t),n.storage.setItem(l,e.data.beaconConfig))}catch(e){}else n.processData(null),n.storage.setItem(l,"")})).catch((function(e){}))},e.prototype.processData=function(e){var t,r,n,o,a;this.strategy.isEventUpOnOff=null!==(t=null==e?void 0:e.isEventUpOnOff)&&void 0!==t?t:this.strategy.isEventUpOnOff,this.strategy.httpsUploadUrl=null!==(r=null==e?void 0:e.httpsUploadUrl)&&void 0!==r?r:this.strategy.httpsUploadUrl,this.strategy.requestInterval=null!==(n=null==e?void 0:e.requestInterval)&&void 0!==n?n:this.strategy.requestInterval,this.strategy.blacklist=null!==(o=null==e?void 0:e.blacklist)&&void 0!==o?o:this.strategy.blacklist,this.strategy.samplelist=null!==(a=null==e?void 0:e.samplelist)&&void 0!==a?a:this.strategy.samplelist;for(var i=0,s=this.strategy.samplelist;i<s.length;i++){var l=s[i].split(",");2==l.length&&(this.realSample[l[0]]=l[1])}},e.prototype.needRequestConfig=function(){if(!this.needQueryConfig)return!1;var e=Number(this.storage.getItem(c));return Date.now()-e>60*this.strategy.requestInterval*1e3},e.prototype.getUploadUrl=function(){return this.strategy.httpsUploadUrl+"?appkey="+this.appkey},e.prototype.isBlackEvent=function(e){return-1!=this.strategy.blacklist.indexOf(e)},e.prototype.isEventUpOnOff=function(){return this.strategy.isEventUpOnOff},e.prototype.isSampleEvent=function(e){return!!Object.prototype.hasOwnProperty.call(this.realSample,e)&&this.realSample[e]<Math.floor(Math.random()*Math.floor(1e4))},e}(),b="session_storage_key",A=function(){function e(e,t,r){this.getSessionStackDepth=0,this.beacon=r,this.storage=e,this.duration=t,this.appkey=r.config.appkey}return e.prototype.getSession=function(){this.getSessionStackDepth+=1;var e=this.storage.getItem(b);if(!e)return this.createSession();var t="",r=0;try{var n=JSON.parse(e)||{sessionId:void 0,sessionStart:void 0};if(!n.sessionId||!n.sessionStart)return this.createSession();var o=Number(this.storage.getItem(i));if(Date.now()-o>this.duration)return this.createSession();t=n.sessionId,r=n.sessionStart,this.getSessionStackDepth=0}catch(e){}return{sessionId:t,sessionStart:r}},e.prototype.createSession=function(){var e=Date.now(),t={sessionId:this.appkey+"_"+e.toString(),sessionStart:e};this.storage.setItem(b,JSON.stringify(t)),this.storage.setItem(i,e.toString());var r="is_new_user",n=this.storage.getItem(r);return this.getSessionStackDepth<=1&&this.beacon.onDirectUserAction("rqd_applaunched",{A21:n?"N":"Y"}),this.storage.setItem(r,JSON.stringify(!1)),t},e}();function y(){var e=navigator.userAgent,t=e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1,r=e.indexOf("Edge")>-1&&!t,n=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);var o=parseFloat(RegExp.$1);return 7==o?7:8==o?8:9==o?9:10==o?10:6}return r?-2:n?11:-1}var x,w,C=function(){return(C=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},k=function(){function e(e,t){void 0===t&&(t={}),this.reportOptions={},this.config=e,this.reportOptions=t}return e.canUseDB=function(){return!!(null===window||void 0===window?void 0:window.indexedDB)},e.prototype.openDB=function(){var t=this;return new Promise((function(r,n){if(!e.canUseDB())return n({message:"当前不支持 indexeddb"});var o=t.config,a=o.name,i=o.version,s=o.stores,l=indexedDB.open(a,i);l.onsuccess=function(){t.db=l.result,r(),C({result:1,func:"open",params:JSON.stringify(t.config)},t.reportOptions)},l.onerror=function(e){var r,o;n(e),C({result:0,func:"open",params:JSON.stringify(t.config),error_msg:null===(o=null===(r=e.target)||void 0===r?void 0:r.error)||void 0===o?void 0:o.message},t.reportOptions)},l.onupgradeneeded=function(){t.db=l.result;try{null==s||s.forEach((function(e){t.createStore(e)}))}catch(e){C({result:0,func:"open",params:JSON.stringify(t.config),error_msg:e.message},t.reportOptions),n(e)}}}))},e.prototype.useStore=function(e){return this.storeName=e,this},e.prototype.deleteDB=function(){var e=this;return this.closeDB(),new Promise((function(t,r){var n=indexedDB.deleteDatabase(e.config.name);n.onsuccess=function(){return t()},n.onerror=r}))},e.prototype.closeDB=function(){var e;null===(e=this.db)||void 0===e||e.close(),this.db=null},e.prototype.getStoreCount=function(){var e=this;return new Promise((function(t,r){var n=e.getStore("readonly").count();n.onsuccess=function(){return t(n.result)},n.onerror=r}))},e.prototype.clearStore=function(){var e=this;return new Promise((function(t,r){var n=e.getStore("readwrite").clear();n.onsuccess=function(){return t()},n.onerror=r}))},e.prototype.add=function(e,t){var r=this;return new Promise((function(n,o){var a=r.getStore("readwrite").add(e,t);a.onsuccess=function(){n(a.result)},a.onerror=o}))},e.prototype.put=function(e,t){var r=this;return new Promise((function(n,o){var a=r.getStore("readwrite").put(e,t);a.onsuccess=function(){n(a.result)},a.onerror=o}))},e.prototype.getStoreAllData=function(){var e=this;return new Promise((function(t,r){var n=e.getStore("readonly").openCursor(),o=[];n.onsuccess=function(){var e;if(null===(e=n.result)||void 0===e?void 0:e.value){var r=n.result.value;o.push(r),n.result.continue()}else t(o)},n.onerror=r}))},e.prototype.getDataRangeByIndex=function(e,t,r,n,o){var a=this;return new Promise((function(i,s){var l=a.getStore().index(e),c=IDBKeyRange.bound(t,r,n,o),u=[],d=l.openCursor(c);d.onsuccess=function(){var e;(null===(e=null==d?void 0:d.result)||void 0===e?void 0:e.value)?(u.push(null==d?void 0:d.result.value),null==d||d.result.continue()):i(u)},d.onerror=s}))},e.prototype.removeDataByIndex=function(e,t,r,n,o){var a=this;return new Promise((function(i,s){var l=a.getStore("readwrite").index(e),c=IDBKeyRange.bound(t,r,n,o),u=l.openCursor(c),d=0;u.onsuccess=function(e){var t=e.target.result;t?(d+=1,t.delete(),t.continue()):i(d)},u.onerror=s}))},e.prototype.createStore=function(e){var t=e.name,r=e.indexes,n=void 0===r?[]:r,o=e.options;if(this.db){this.db.objectStoreNames.contains(t)&&this.db.deleteObjectStore(t);var a=this.db.createObjectStore(t,o);n.forEach((function(e){a.createIndex(e.indexName,e.keyPath,e.options)}))}},e.prototype.getStore=function(e){var t;return void 0===e&&(e="readonly"),null===(t=this.db)||void 0===t?void 0:t.transaction(this.storeName,e).objectStore(this.storeName)},e}(),_="event_table_v3",S="eventId",B=function(){function e(e){this.isReady=!1,this.taskQueue=Promise.resolve(),this.db=new k({name:"Beacon_"+e+"_V3",version:1,stores:[{name:_,options:{keyPath:S},indexes:[{indexName:S,keyPath:S,options:{unique:!0}}]}]}),this.open()}return e.prototype.getCount=function(){var e=this;return this.readyExec((function(){return e.db.getStoreCount()}))},e.prototype.setItem=function(e,t){var r=this;return this.readyExec((function(){return r.db.add({eventId:e,value:t})}))},e.prototype.getItem=function(e){return r(this,void 0,void 0,(function(){var t=this;return n(this,(function(r){return[2,this.readyExec((function(){return t.db.getDataRangeByIndex(S,e,e)}))]}))}))},e.prototype.removeItem=function(e){var t=this;return this.readyExec((function(){return t.db.removeDataByIndex(S,e,e)}))},e.prototype.updateItem=function(e,t){var r=this;return this.readyExec((function(){return r.db.put({eventId:e,value:t})}))},e.prototype.iterate=function(e){var t=this;return this.readyExec((function(){return t.db.getStoreAllData().then((function(t){t.forEach((function(t){e(t.value)}))}))}))},e.prototype.open=function(){return r(this,void 0,void 0,(function(){var e=this;return n(this,(function(t){switch(t.label){case 0:return this.taskQueue=this.taskQueue.then((function(){return e.db.openDB()})),[4,this.taskQueue];case 1:return t.sent(),this.isReady=!0,this.db.useStore(_),[2]}}))}))},e.prototype.readyExec=function(e){return this.isReady?e():(this.taskQueue=this.taskQueue.then((function(){return e()})),this.taskQueue)},e}(),E=function(){function e(e){this.keyObject={},this.storage=e}return e.prototype.getCount=function(){return this.storage.getStoreCount()},e.prototype.removeItem=function(e){this.storage.removeItem(e),delete this.keyObject[e]},e.prototype.setItem=function(e,t){var r=JSON.stringify(t);this.storage.setItem(e,r),this.keyObject[e]=t},e.prototype.iterate=function(e){for(var t=Object.keys(this.keyObject),r=0;r<t.length;r++){var n=this.storage.getItem(t[r]);e(JSON.parse(n))}},e}(),T=function(){function e(e,t){var r=this;this.dbEventCount=0,y()>0||!window.indexedDB||/X5Lite/.test(navigator.userAgent)?(this.store=new E(t),this.dbEventCount=this.store.getCount()):(this.store=new B(e),this.getCount().then((function(e){r.dbEventCount=e})).catch((function(e){})))}return e.prototype.getCount=function(){return r(this,void 0,void 0,(function(){return n(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,this.store.getCount()];case 1:return[2,e.sent()];case 2:return e.sent(),[2,Promise.reject()];case 3:return[2]}}))}))},e.prototype.insertEvent=function(e,t){return r(this,void 0,void 0,(function(){var r,o;return n(this,(function(n){switch(n.label){case 0:if(this.dbEventCount>=1e4)return[2,Promise.reject()];r=f(e.mapValue),n.label=1;case 1:return n.trys.push([1,3,,4]),this.dbEventCount++,[4,this.store.setItem(r,e)];case 2:return[2,n.sent()];case 3:return o=n.sent(),t&&t(o,e),this.dbEventCount--,[2,Promise.reject()];case 4:return[2]}}))}))},e.prototype.getEvents=function(){return r(this,void 0,void 0,(function(){var e;return n(this,(function(t){switch(t.label){case 0:e=[],t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this.store.iterate((function(t){e.push(t)}))];case 2:case 3:return t.sent(),[2,Promise.all(e)];case 4:return[2]}}))}))},e.prototype.removeEvent=function(e){return r(this,void 0,void 0,(function(){var t;return n(this,(function(r){switch(r.label){case 0:t=f(e.mapValue),r.label=1;case 1:return r.trys.push([1,3,,4]),this.dbEventCount--,[4,this.store.removeItem(t)];case 2:return[2,r.sent()];case 3:return r.sent(),this.dbEventCount++,[2,Promise.reject()];case 4:return[2]}}))}))},e}(),P=function(){return(P=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function I(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function N(e,t){var r=[null,void 0,"",NaN].includes(e);if(t.isSkipEmpty&&r)return null;var n=!t.isSkipEmpty&&r?"":e;try{return t.encode?encodeURIComponent(n):n}catch(e){return null}}function z(e,t){return new Promise((function(r,n){if(t&&document.querySelectorAll("script[data-tag="+t+"]").length)return r();var o=document.createElement("script"),a=P({type:"text/javascript",charset:"utf-8"},e);Object.keys(a).forEach((function(e){return function(e,t,r){if(e)return void 0===r?e.getAttribute(t):e.setAttribute(t,r)}(o,e,a[e])})),t&&(o.dataset.tag=t),o.onload=function(){return r()},o.onreadystatechange=function(){var e=o.readyState;["complete","loaded"].includes(e)&&(o.onreadystatechange=null,r())},o.onerror=n,document.body.appendChild(o)}))}(w=x||(x={}))[w.equal=0]="equal",w[w.low=-1]="low",w[w.high=1]="high";var M=function(){return(M=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function R(e,t,r,n){return new(r||(r=Promise))((function(o,a){function i(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,s)}l((n=n.apply(e,t||[])).next())}))}function D(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;i;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}var O=function(){function e(){this.interceptors=[]}return e.prototype.use=function(e,t){return this.interceptors.push({resolved:e,rejected:t}),this.interceptors.length-1},e.prototype.traverse=function(e,t){void 0===t&&(t=!1);var r=Promise.resolve(e);return(t?Array.prototype.reduceRight:Array.prototype.reduce).call(this.interceptors,(function(e,t){if(t){var n=t.resolved,o=t.rejected;r=r.then(n,o)}return e}),""),r},e.prototype.eject=function(e){this.interceptors[e]&&(this.interceptors[e]=null)},e}(),F={defaults:{timeout:0,method:"GET",mode:"cors",redirect:"follow",credentials:"same-origin"},headers:{common:{Accept:"application/json, text/plain, */*"},POST:{"Content-Type":"application/x-www-form-urlencoded"},PUT:{"Content-Type":"application/x-www-form-urlencoded"},PATCH:{"Content-Type":"application/x-www-form-urlencoded"}},baseURL:"",polyfillUrl:"https://vm.gtimg.cn/comps/script/fetch.min.js",interceptors:{request:new O,response:new O}},L=/^([a-z][a-z\d+\-.]*:)?\/\//i,j=Object.prototype.toString;function V(e){return R(this,void 0,void 0,(function(){var t;return D(this,(function(r){switch(r.label){case 0:if(window.fetch)return[2];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,z({src:e})];case 2:return r.sent(),[3,4];case 3:throw t=r.sent(),new Error("加载 polyfill "+e+" 失败: "+t.message);case 4:return[2]}}))}))}function $(e){return R(this,void 0,void 0,(function(){var t,r,n,o,a,i,s,l,c,u,d,p,f,h,v,g,m;return D(this,(function(b){switch(b.label){case 0:return t=F.baseURL,r=F.defaults,n=F.interceptors,[4,V(F.polyfillUrl)];case 1:return b.sent(),(o=M(M({},r),e)).headers||(o.headers=function(e){void 0===e&&(e="GET");var t=F.headers[e]||{};return M(M({},F.headers.common),t)}(o.method)),function(e){["Accept","Content-Type"].forEach((function(t){return r=t,void((n=e.headers)&&Object.keys(n).forEach((function(e){e!==r&&e.toUpperCase()===r.toUpperCase()&&(n[r]=n[e],delete n[e])})));var r,n})),function(e){if("[object Object]"!==j.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}(e.body)&&(e.body=JSON.stringify(e.body),e.headers&&(e.headers["Content-Type"]="application/json;charset=utf-8"))}(o),[4,n.request.traverse(o,!0)];case 2:if((a=b.sent())instanceof Error)throw a;return a.url=function(e,t){return!e||L.test(t)?t:e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,"")}(t,a.url),i=a.url,s=a.timeout,l=a.params,c=a.method,u=["GET","DELETE","OPTIONS","HEAD"].includes(void 0===c?"GET":c)&&!!l,d=u?function(e,t){void 0===t&&(t={encode:!0,isSkipEmpty:!1});var r=e.url,n=e.query,o=void 0===n?{}:n,a=e.hash,i=r.split("#"),s=i[0],l=i[1],c=void 0===l?"":l,u=s.split("?")[0],d=[],p=N(a||c,t),f=P(P({},function(e){var t=e.split("#"),r=t[0],n=t[1],o=void 0===n?"":n,a=r.split("?"),i=a[0],s=a[1],l=void 0===s?"":s,c=I(o),u=Object.create(null);return l.split("&").forEach((function(e){var t=e.split("="),r=t[0],n=t[1],o=void 0===n?"":n,a=I(r),i=I(o);null===a||null===i||""===a&&""===i||u[a]||(u[a]=i)})),{url:i,query:u,hash:c}}(r).query),o);return Object.keys(f).forEach((function(e){var r=N(e,t),n=N(f[e],t);null!==r&&null!==n&&d.push(r+"="+n)})),u+(d.length?"?"+d.join("&"):"")+(p?"#"+p:"")}({url:i,query:l}):i,p=[],s&&!a.signal&&(v=new Promise((function(e){f=setTimeout((function(){e(new Error("timeout"))}),s)})),p.push(v),h=new AbortController,a.signal=h.signal),p.push(fetch(d,a).catch((function(e){return e}))),[4,Promise.race(p)];case 3:return g=b.sent(),f&&clearTimeout(f),[4,n.response.traverse(g)];case 4:if((m=b.sent())instanceof Error)throw null==h||h.abort(),m;return[2,m]}}))}))}var H=function(){function e(e){F.interceptors.request.use((function(r){var n=r.url,o=r.method,a=r.body,i=a;if(e.onReportBeforeSend){var s=e.onReportBeforeSend({url:n,method:o,data:a?JSON.parse(a):null});i=(null==s?void 0:s.data)?JSON.stringify(s.data):null}return"GET"!=o&&i?t(t({},r),{body:i}):r}))}return e.prototype.get=function(e,o){return r(this,void 0,void 0,(function(){var r,a;return n(this,(function(n){switch(n.label){case 0:return[4,$(t({url:e},o))];case 1:return[4,(r=n.sent()).json()];case 2:return a=n.sent(),[2,Promise.resolve({data:a,status:r.status,statusText:r.statusText,headers:r.headers})]}}))}))},e.prototype.post=function(e,o,a){return r(this,void 0,void 0,(function(){var r,i;return n(this,(function(n){switch(n.label){case 0:return[4,$(t({url:e,body:o,method:"POST"},a))];case 1:return[4,(r=n.sent()).json()];case 2:return i=n.sent(),[2,Promise.resolve({data:i,status:r.status,statusText:r.statusText,headers:r.headers})]}}))}))},e}(),U=function(){function e(e){this.appkey=e}return e.prototype.getItem=function(e){try{return window.localStorage.getItem(this.getStoreKey(e))}catch(e){return""}},e.prototype.removeItem=function(e){try{window.localStorage.removeItem(this.getStoreKey(e))}catch(e){}},e.prototype.setItem=function(e,t){try{window.localStorage.setItem(this.getStoreKey(e),t)}catch(e){}},e.prototype.setSessionItem=function(e,t){try{window.sessionStorage.setItem(this.getStoreKey(e),t)}catch(e){}},e.prototype.getSessionItem=function(e){try{return window.sessionStorage.getItem(this.getStoreKey(e))}catch(e){return""}},e.prototype.getStoreKey=function(e){return o+this.appkey+"_"+e},e.prototype.createDeviceId=function(){try{var e=window.localStorage.getItem(a);return e||(e=function(e){for(var t="ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz0123456789",r="",n=0;n<32;n++)r+=t.charAt(Math.floor(51*Math.random()));return r}(),window.localStorage.setItem(a,e)),e}catch(e){return""}},e.prototype.clear=function(){try{for(var e=window.localStorage.length,t=0;t<e;t++){var r=window.localStorage.key(t);(null==r?void 0:r.substr(0,9))==o&&window.localStorage.removeItem(r)}}catch(e){}},e.prototype.getStoreCount=function(){var e=0;try{e=window.localStorage.length}catch(e){}return e},e}(),Q="logid_start",G="4.5.14-web";return function(r){function n(e){var t=r.call(this,e)||this;t.qimei36="",t.uselessCycleTaskNum=0,t.underWeakNet=!1,t.pauseSearching=!1,t.send=function(e,r,n){t.storage.setItem(i,Date.now().toString()),t.network.post(t.uploadUrl||t.strategy.getUploadUrl(),e.data).then((function(n){var o;100==(null===(o=null==n?void 0:n.data)||void 0===o?void 0:o.result)?t.delayTime=1e3*n.data.delayTime:t.delayTime=0,r&&r(e.data),e.data.events.forEach((function(e){t.store.removeEvent(e).then((function(){t.removeSendingId(f(e.mapValue))}))})),t.doCustomCycleTask()})).catch((function(r){var o=e.data.events;t.errorReport.reportError(r.code?r.code.toString():"600",r.message),n&&n(e.data);var a=JSON.parse(t.storage.getItem(s));o.forEach((function(e){a&&-1!=a.indexOf(f(e))&&t.store.insertEvent(e,(function(e,r){e&&t.errorReport.reportError("604","insertEvent fail!")})),t.removeSendingId(f(e))})),t.monitorUploadFailed()}))};var n,o,a=y();return t.isUnderIE8=a>0&&a<8,t.isUnderIE8||(t.isUnderIE=a>0,e.needInitQimei&&function(e,t){var r;(void 0===r&&(r=Date.now()+"-"+Math.random()),new Promise((function(e,t){if(document.getElementById(r))e(void 0);else{var n=document.getElementsByTagName("head")[0],o=document.createElement("script");o.onload=function(){return function(){o.onload=null,e(void 0)}},o.onerror=function(e){o.onerror=null,n.removeChild(o),t(e)},o.src="https://tun-cos-1258344701.file.myqcloud.com/fp.js",o.id=r,n.appendChild(o)}}))).then((function(){(new Fingerprint).getQimei36(e,t)})).catch((function(e){}))}(e.appkey,(function(e){t.qimei36=e.q36})),t.network=new H(e),t.storage=new U(e.appkey),t.initCommonInfo(e),t.store=new T(e.appkey,t.storage),t.errorReport=new g(t.config,t.commonInfo,"web",t.network),t.strategy=new m(null==e.needQueryConfig||e.needQueryConfig,t.config,t.commonInfo,t.storage,t.network),t.logidStartTime=t.storage.getItem(Q),t.logidStartTime||(t.logidStartTime=Date.now().toString(),t.storage.setItem(Q,t.logidStartTime)),n=t.logidStartTime,o=Date.now()-Number.parseFloat(n),Math.floor(o/864e5)>=365&&t.storage.clear(),t.initSession(e),t.onDirectUserAction("rqd_js_init",{}),setTimeout((function(){return t.lifeCycle.emit("init")}),0),t.initDelayTime=e.delay?e.delay:1e3,t.cycleTask(t.initDelayTime)),t}return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}(n,r),n.prototype.initSession=function(e){var t=18e5;e.sessionDuration&&e.sessionDuration>3e4&&(t=e.sessionDuration),this.beaconSession=new A(this.storage,t,this)},n.prototype.initCommonInfo=function(e){var t=Number(this.storage.getItem(i));try{var r=JSON.parse(this.storage.getItem(s));(Date.now()-t>3e4||!r)&&this.storage.setItem(s,JSON.stringify([]))}catch(e){}e.uploadUrl&&(this.uploadUrl=e.uploadUrl+"?appkey="+e.appkey);var n=[window.screen.width,window.screen.height];window.devicePixelRatio&&n.push(window.devicePixelRatio),this.commonInfo={deviceId:this.storage.createDeviceId(),language:navigator&&navigator.language||"zh_CN",query:window.location.search,userAgent:navigator.userAgent,pixel:n.join("*"),channelID:e.channelID?String(e.channelID):"",openid:e.openid?String(e.openid):"",unid:e.unionid?String(e.unionid):"",sdkVersion:G},this.config.appVersion=e.versionCode?String(e.versionCode):"",this.config.strictMode=e.strictMode},n.prototype.cycleTask=function(e){var t=this;this.intervalID=window.setInterval((function(){t.pauseSearching||t.store.getEvents().then((function(e){0==e.length&&(t.pauseSearching=!0);var r=[],n=JSON.parse(t.storage.getItem(s));n||(n=[]),e&&e.forEach((function(e){var t=f(e.mapValue);-1==n.indexOf(t)&&(r.push(e),n.push(t))})),0!=r.length&&(t.storage.setItem(s,JSON.stringify(n)),t._normalLogPipeline(t.assembleData(r)))})).catch((function(e){}))}),e)},n.prototype.onReport=function(e,t,r){var n=this;if(this.isUnderIE8)this.errorReport.reportError("601","UnderIE8");else{this.pauseSearching=!1;var o=this.generateData(e,t,r);if(r&&0==this.delayTime&&!this.underWeakNet)this._normalLogPipeline(this.assembleData(o));else{var a=o.shift();a&&this.store.insertEvent(a,(function(e){e&&n.errorReport.reportError("604","insertEvent fail!")})).catch((function(e){n._normalLogPipeline(n.assembleData(o))}))}}},n.prototype.onSendBeacon=function(e,t){if(this.isUnderIE)this.errorReport.reportError("605","UnderIE");else{this.pauseSearching=!1;var r=this.assembleData(this.generateData(e,t,!0));"function"==typeof navigator.sendBeacon&&navigator.sendBeacon(this.uploadUrl||this.strategy.getUploadUrl(),JSON.stringify(r))}},n.prototype.generateData=function(e,r,n){var o=[],a="4.5.14-web_"+(n?"direct_log_id":"normal_log_id"),i=Number(this.storage.getItem(a));return i=i||1,r=t(t({},r),{A99:n?"Y":"N",A100:i.toString(),A72:G,A88:this.logidStartTime}),i++,this.storage.setItem(a,i.toString()),o.push({eventCode:e,eventTime:Date.now().toString(),mapValue:d(r,this.config.strictMode)}),o},n.prototype.assembleData=function(e){var r=this.beaconSession.getSession();return{appVersion:this.config.appVersion?p(this.config.appVersion):"",sdkId:"js",sdkVersion:G,mainAppKey:this.config.appkey,platformId:3,common:d(t(t({},this.additionalParams),{A2:this.commonInfo.deviceId,A8:this.commonInfo.openid,A12:this.commonInfo.language,A17:this.commonInfo.pixel,A23:this.commonInfo.channelID,A50:this.commonInfo.unid,A76:r.sessionId,A101:this.commonInfo.userAgent,A102:window.location.href,A104:document.referrer,A119:this.commonInfo.query,A153:this.qimei36}),!1),events:e}},n.prototype.monitorUploadFailed=function(){this.uselessCycleTaskNum++,this.uselessCycleTaskNum>=5&&(window.clearInterval(this.intervalID),this.cycleTask(6e4),this.underWeakNet=!0)},n.prototype.doCustomCycleTask=function(){this.uselessCycleTaskNum>=5&&(window.clearInterval(this.intervalID),this.cycleTask(this.initDelayTime)),this.uselessCycleTaskNum=0,this.underWeakNet=!1},n}(v)}))},"./lib/crypto.js":
  107. /*!***********************!*\
  108. !*** ./lib/crypto.js ***!
  109. \***********************/
  110. /*! no static exports found */function(e,t,r){(function(e){var t,n,o=r(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),a=a||function(e,t){var r={},n=r.lib={},o=function(){},a=n.Base={extend:function(e){o.prototype=this;var t=new o;return e&&t.mixIn(e),t.hasOwnProperty("init")||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},i=n.WordArray=a.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||l).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes;if(e=e.sigBytes,this.clamp(),n%4)for(var o=0;o<e;o++)t[n+o>>>2]|=(r[o>>>2]>>>24-o%4*8&255)<<24-(n+o)%4*8;else if(65535<r.length)for(o=0;o<e;o+=4)t[n+o>>>2]=r[o>>>2];else t.push.apply(t,r);return this.sigBytes+=e,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=a.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var r=[],n=0;n<t;n+=4)r.push(4294967296*e.random()|0);return new i.init(r,t)}}),s=r.enc={},l=s.Hex={stringify:function(e){var t=e.words;e=e.sigBytes;for(var r=[],n=0;n<e;n++){var o=t[n>>>2]>>>24-n%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new i.init(r,t/2)}},u=s.Latin1={stringify:function(e){var t=e.words;e=e.sigBytes;for(var r=[],n=0;n<e;n++)r.push(String.fromCharCode(t[n>>>2]>>>24-n%4*8&255));return r.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new i.init(r,t)}},d=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(u.stringify(e)))}catch(c){throw Error("Malformed UTF-8 data")}},parse:function(e){return u.parse(unescape(encodeURIComponent(e)))}},p=n.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new i.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=d.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r=this._data,n=r.words,o=r.sigBytes,a=this.blockSize,s=o/(4*a);if(t=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,o=e.min(4*t,o),t){for(var l=0;l<t;l+=a)this._doProcessBlock(n,l);l=n.splice(0,t),r.sigBytes-=o}return new i.init(l,o)},clone:function(){var e=a.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});n.Hasher=p.extend({cfg:a.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new f.HMAC.init(e,r).finalize(t)}}});var f=r.algo={};return r}(Math);!function(){var e=a,t=(o=e.lib).WordArray,r=o.Hasher,n=[],o=e.algo.SHA1=r.extend({_doReset:function(){this._hash=new t.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,o=r[0],a=r[1],i=r[2],s=r[3],l=r[4],c=0;80>c;c++){if(16>c)n[c]=0|e[t+c];else{var u=n[c-3]^n[c-8]^n[c-14]^n[c-16];n[c]=u<<1|u>>>31}u=(o<<5|o>>>27)+l+n[c],u=20>c?u+(1518500249+(a&i|~a&s)):40>c?u+(1859775393+(a^i^s)):60>c?u+((a&i|a&s|i&s)-1894007588):u+((a^i^s)-899497514),l=s,s=i,i=a<<30|a>>>2,a=o,o=u}r[0]=r[0]+o|0,r[1]=r[1]+a|0,r[2]=r[2]+i|0,r[3]=r[3]+s|0,r[4]=r[4]+l|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}});e.SHA1=r._createHelper(o),e.HmacSHA1=r._createHmacHelper(o)}(),function(){var e=a,t=e.enc.Utf8;e.algo.HMAC=e.lib.Base.extend({init:function(e,r){e=this._hasher=new e.init,"string"==typeof r&&(r=t.parse(r));var n=e.blockSize,o=4*n;r.sigBytes>o&&(r=e.finalize(r)),r.clamp();for(var a=this._oKey=r.clone(),i=this._iKey=r.clone(),s=a.words,l=i.words,c=0;c<n;c++)s[c]^=1549556828,l[c]^=909522486;a.sigBytes=i.sigBytes=o,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher;return e=t.finalize(e),t.reset(),t.finalize(this._oKey.clone().concat(e))}})}(),n=(t=a).lib.WordArray,t.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp();for(var o=[],a=0;a<r;a+=3)for(var i=(t[a>>>2]>>>24-a%4*8&255)<<16|(t[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|t[a+2>>>2]>>>24-(a+2)%4*8&255,s=0;s<4&&a+.75*s<r;s++)o.push(n.charAt(i>>>6*(3-s)&63));var l=n.charAt(64);if(l)for(;o.length%4;)o.push(l);return o.join("")},parse:function(e){var t=e.length,r=this._map,o=r.charAt(64);if(o){var a=e.indexOf(o);-1!=a&&(t=a)}for(var i=[],s=0,l=0;l<t;l++)if(l%4){var c=r.indexOf(e.charAt(l-1))<<l%4*2,u=r.indexOf(e.charAt(l))>>>6-l%4*2;i[s>>>2]|=(c|u)<<24-s%4*8,s++}return n.create(i,s)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},"object"===o(e)?e.exports=a:window.CryptoJS=a}).call(this,r(/*! ./../node_modules/webpack/buildin/module.js */"./node_modules/webpack/buildin/module.js")(e))},"./lib/json2xml.js":
  111. /*!*************************!*\
  112. !*** ./lib/json2xml.js ***!
  113. \*************************/
  114. /*! no static exports found */function(t,r,n){var o=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),a="a-zA-Z_À-ÖØ-öø-ÿͰ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿿、-퟿豈-﷏ﷰ-�",i=new RegExp("^([^"+a+"])|^((x|X)(m|M)(l|L))|([^"+a+"-.0-9·̀-ͯ‿⁀])","g"),s=/[^\x09\x0A\x0D\x20-\xFF\x85\xA0-\uD7FF\uE000-\uFDCF\uFDE0-\uFFFD]/gm,l=function(e){var t=[];if(e instanceof Object)for(var r in e)e.hasOwnProperty(r)&&t.push(r);return t},c=function(e,t){var r=function(e,r,n,o,a){var s=void 0!==t.indent?t.indent:"\t",l=t.prettyPrint?"\n"+new Array(o).join(s):"";t.removeIllegalNameCharacters&&(e=e.replace(i,"_"));var c=[l,"<",e,n||""];return r&&r.length>0?(c.push(">"),c.push(r),a&&c.push(l),c.push("</"),c.push(e),c.push(">")):c.push("/>"),c.join("")};return function e(n,a,i){var c=o(n);switch((Array.isArray?Array.isArray(n):n instanceof Array)?c="array":n instanceof Date&&(c="date"),c){case"array":var u=[];return n.map((function(t){u.push(e(t,0,i+1))})),t.prettyPrint&&u.push("\n"),u.join("");case"date":return n.toJSON?n.toJSON():n+"";case"object":var d=[];for(var p in n)if(n.hasOwnProperty(p))if(n[p]instanceof Array)for(var f=0;f<n[p].length;f++)n[p].hasOwnProperty(f)&&d.push(r(p,e(n[p][f],0,i+1),null,i+1,l(n[p][f]).length));else d.push(r(p,e(n[p],0,i+1),null,i+1));return t.prettyPrint&&d.length>0&&d.push("\n"),d.join("");case"function":return n();default:return t.escape?(""+n).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&apos;").replace(/"/g,"&quot;").replace(s,""):""+n}}(e,0,0)},u=function(e){var t=['<?xml version="1.0" encoding="UTF-8"'];return e&&t.push(' standalone="yes"'),t.push("?>"),t.join("")};t.exports=function(t,r){if(r||(r={xmlHeader:{standalone:!0},prettyPrint:!0,indent:" ",escape:!0}),"string"==typeof t)try{t=JSON.parse(t.toString())}catch(e){return!1}var n="",a="";return r&&("object"==o(r)?(r.xmlHeader&&(n=u(!!r.xmlHeader.standalone)),void 0!==r.docType&&(a="<!DOCTYPE "+r.docType+">")):n=u()),[n,(r=r||{}).prettyPrint&&a?"\n":"",a,c(t,r)].join("").replace(/\n{2,}/g,"\n").replace(/\s+$/g,"")}},"./lib/md5.js":
  115. /*!********************!*\
  116. !*** ./lib/md5.js ***!
  117. \********************/
  118. /*! no static exports found */function libMd5Js(module,exports,__webpack_require__){(function(process,global,module){var __WEBPACK_AMD_DEFINE_RESULT__,_typeof=__webpack_require__(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js");(function(){var ERROR="input is invalid type",WINDOW="object"===("undefined"==typeof window?"undefined":_typeof(window)),root=WINDOW?window:{};root.JS_MD5_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"===("undefined"==typeof self?"undefined":_typeof(self)),NODE_JS=!root.JS_MD5_NO_NODE_JS&&"object"===(void 0===process?"undefined":_typeof(process))&&process.versions&&process.versions.node;NODE_JS?root=global:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_MD5_NO_COMMON_JS&&"object"===_typeof(module)&&module.exports,AMD=__webpack_require__(/*! !webpack amd options */"./node_modules/webpack/buildin/amd-options.js"),ARRAY_BUFFER=!root.JS_MD5_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[128,32768,8388608,-2147483648],SHIFT=[0,8,16,24],OUTPUT_TYPES=["hex","array","digest","buffer","arrayBuffer","base64"],BASE64_ENCODE_CHAR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),blocks=[],buffer8;if(ARRAY_BUFFER){var buffer=new ArrayBuffer(68);buffer8=new Uint8Array(buffer),blocks=new Uint32Array(buffer)}!root.JS_MD5_NO_NODE_JS&&Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!ARRAY_BUFFER||!root.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(e){return"object"===_typeof(e)&&e.buffer&&e.buffer.constructor===ArrayBuffer});var createOutputMethod=function(e){return function(t,r){return new Md5(!0).update(t,r)[e]()}},createMethod=function(){var e=createOutputMethod("hex");NODE_JS&&(e=nodeWrap(e)),e.getCtx=e.create=function(){return new Md5},e.update=function(t){return e.create().update(t)};for(var t=0;t<OUTPUT_TYPES.length;++t){var r=OUTPUT_TYPES[t];e[r]=createOutputMethod(r)}return e},nodeWrap=function nodeWrap(method){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),nodeMethod=function(e){if("string"==typeof e)return crypto.createHash("md5").update(e,"utf8").digest("hex");if(null==e)throw ERROR;return e.constructor===ArrayBuffer&&(e=new Uint8Array(e)),Array.isArray(e)||ArrayBuffer.isView(e)||e.constructor===Buffer?crypto.createHash("md5").update(new Buffer(e)).digest("hex"):method(e)};return nodeMethod};function Md5(e){if(e)blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks,this.buffer8=buffer8;else if(ARRAY_BUFFER){var t=new ArrayBuffer(68);this.buffer8=new Uint8Array(t),this.blocks=new Uint32Array(t)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}Md5.prototype.update=function(e,t){if(!this.finalized){for(var r,n,o=0,a=e.length,i=this.blocks,s=this.buffer8;o<a;){if(this.hashed&&(this.hashed=!1,i[0]=i[16],i[16]=i[1]=i[2]=i[3]=i[4]=i[5]=i[6]=i[7]=i[8]=i[9]=i[10]=i[11]=i[12]=i[13]=i[14]=i[15]=0),ARRAY_BUFFER)for(n=this.start;o<a&&n<64;++o)r=e.charCodeAt(o),t||r<128?s[n++]=r:r<2048?(s[n++]=192|r>>6,s[n++]=128|63&r):r<55296||r>=57344?(s[n++]=224|r>>12,s[n++]=128|r>>6&63,s[n++]=128|63&r):(r=65536+((1023&r)<<10|1023&e.charCodeAt(++o)),s[n++]=240|r>>18,s[n++]=128|r>>12&63,s[n++]=128|r>>6&63,s[n++]=128|63&r);else for(n=this.start;o<a&&n<64;++o)r=e.charCodeAt(o),t||r<128?i[n>>2]|=r<<SHIFT[3&n++]:r<2048?(i[n>>2]|=(192|r>>6)<<SHIFT[3&n++],i[n>>2]|=(128|63&r)<<SHIFT[3&n++]):r<55296||r>=57344?(i[n>>2]|=(224|r>>12)<<SHIFT[3&n++],i[n>>2]|=(128|r>>6&63)<<SHIFT[3&n++],i[n>>2]|=(128|63&r)<<SHIFT[3&n++]):(r=65536+((1023&r)<<10|1023&e.charCodeAt(++o)),i[n>>2]|=(240|r>>18)<<SHIFT[3&n++],i[n>>2]|=(128|r>>12&63)<<SHIFT[3&n++],i[n>>2]|=(128|r>>6&63)<<SHIFT[3&n++],i[n>>2]|=(128|63&r)<<SHIFT[3&n++]);this.lastByteIndex=n,this.bytes+=n-this.start,n>=64?(this.start=n-64,this.hash(),this.hashed=!0):this.start=n}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Md5.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[t>>2]|=EXTRA[3&t],t>=56&&(this.hashed||this.hash(),e[0]=e[16],e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.bytes<<3,e[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},Md5.prototype.hash=function(){var e,t,r,n,o,a,i=this.blocks;this.first?t=((t=((e=((e=i[0]-680876937)<<7|e>>>25)-271733879<<0)^(r=((r=(-271733879^(n=((n=(-1732584194^2004318071&e)+i[1]-117830708)<<12|n>>>20)+e<<0)&(-271733879^e))+i[2]-1126478375)<<17|r>>>15)+n<<0)&(n^e))+i[3]-1316259209)<<22|t>>>10)+r<<0:(e=this.h0,t=this.h1,r=this.h2,t=((t+=((e=((e+=((n=this.h3)^t&(r^n))+i[0]-680876936)<<7|e>>>25)+t<<0)^(r=((r+=(t^(n=((n+=(r^e&(t^r))+i[1]-389564586)<<12|n>>>20)+e<<0)&(e^t))+i[2]+606105819)<<17|r>>>15)+n<<0)&(n^e))+i[3]-1044525330)<<22|t>>>10)+r<<0),t=((t+=((e=((e+=(n^t&(r^n))+i[4]-176418897)<<7|e>>>25)+t<<0)^(r=((r+=(t^(n=((n+=(r^e&(t^r))+i[5]+1200080426)<<12|n>>>20)+e<<0)&(e^t))+i[6]-1473231341)<<17|r>>>15)+n<<0)&(n^e))+i[7]-45705983)<<22|t>>>10)+r<<0,t=((t+=((e=((e+=(n^t&(r^n))+i[8]+1770035416)<<7|e>>>25)+t<<0)^(r=((r+=(t^(n=((n+=(r^e&(t^r))+i[9]-1958414417)<<12|n>>>20)+e<<0)&(e^t))+i[10]-42063)<<17|r>>>15)+n<<0)&(n^e))+i[11]-1990404162)<<22|t>>>10)+r<<0,t=((t+=((e=((e+=(n^t&(r^n))+i[12]+1804603682)<<7|e>>>25)+t<<0)^(r=((r+=(t^(n=((n+=(r^e&(t^r))+i[13]-40341101)<<12|n>>>20)+e<<0)&(e^t))+i[14]-1502002290)<<17|r>>>15)+n<<0)&(n^e))+i[15]+1236535329)<<22|t>>>10)+r<<0,t=((t+=((n=((n+=(t^r&((e=((e+=(r^n&(t^r))+i[1]-165796510)<<5|e>>>27)+t<<0)^t))+i[6]-1069501632)<<9|n>>>23)+e<<0)^e&((r=((r+=(e^t&(n^e))+i[11]+643717713)<<14|r>>>18)+n<<0)^n))+i[0]-373897302)<<20|t>>>12)+r<<0,t=((t+=((n=((n+=(t^r&((e=((e+=(r^n&(t^r))+i[5]-701558691)<<5|e>>>27)+t<<0)^t))+i[10]+38016083)<<9|n>>>23)+e<<0)^e&((r=((r+=(e^t&(n^e))+i[15]-660478335)<<14|r>>>18)+n<<0)^n))+i[4]-405537848)<<20|t>>>12)+r<<0,t=((t+=((n=((n+=(t^r&((e=((e+=(r^n&(t^r))+i[9]+568446438)<<5|e>>>27)+t<<0)^t))+i[14]-1019803690)<<9|n>>>23)+e<<0)^e&((r=((r+=(e^t&(n^e))+i[3]-187363961)<<14|r>>>18)+n<<0)^n))+i[8]+1163531501)<<20|t>>>12)+r<<0,t=((t+=((n=((n+=(t^r&((e=((e+=(r^n&(t^r))+i[13]-1444681467)<<5|e>>>27)+t<<0)^t))+i[2]-51403784)<<9|n>>>23)+e<<0)^e&((r=((r+=(e^t&(n^e))+i[7]+1735328473)<<14|r>>>18)+n<<0)^n))+i[12]-1926607734)<<20|t>>>12)+r<<0,t=((t+=((a=(n=((n+=((o=t^r)^(e=((e+=(o^n)+i[5]-378558)<<4|e>>>28)+t<<0))+i[8]-2022574463)<<11|n>>>21)+e<<0)^e)^(r=((r+=(a^t)+i[11]+1839030562)<<16|r>>>16)+n<<0))+i[14]-35309556)<<23|t>>>9)+r<<0,t=((t+=((a=(n=((n+=((o=t^r)^(e=((e+=(o^n)+i[1]-1530992060)<<4|e>>>28)+t<<0))+i[4]+1272893353)<<11|n>>>21)+e<<0)^e)^(r=((r+=(a^t)+i[7]-155497632)<<16|r>>>16)+n<<0))+i[10]-1094730640)<<23|t>>>9)+r<<0,t=((t+=((a=(n=((n+=((o=t^r)^(e=((e+=(o^n)+i[13]+681279174)<<4|e>>>28)+t<<0))+i[0]-358537222)<<11|n>>>21)+e<<0)^e)^(r=((r+=(a^t)+i[3]-722521979)<<16|r>>>16)+n<<0))+i[6]+76029189)<<23|t>>>9)+r<<0,t=((t+=((a=(n=((n+=((o=t^r)^(e=((e+=(o^n)+i[9]-640364487)<<4|e>>>28)+t<<0))+i[12]-421815835)<<11|n>>>21)+e<<0)^e)^(r=((r+=(a^t)+i[15]+530742520)<<16|r>>>16)+n<<0))+i[2]-995338651)<<23|t>>>9)+r<<0,t=((t+=((n=((n+=(t^((e=((e+=(r^(t|~n))+i[0]-198630844)<<6|e>>>26)+t<<0)|~r))+i[7]+1126891415)<<10|n>>>22)+e<<0)^((r=((r+=(e^(n|~t))+i[14]-1416354905)<<15|r>>>17)+n<<0)|~e))+i[5]-57434055)<<21|t>>>11)+r<<0,t=((t+=((n=((n+=(t^((e=((e+=(r^(t|~n))+i[12]+1700485571)<<6|e>>>26)+t<<0)|~r))+i[3]-1894986606)<<10|n>>>22)+e<<0)^((r=((r+=(e^(n|~t))+i[10]-1051523)<<15|r>>>17)+n<<0)|~e))+i[1]-2054922799)<<21|t>>>11)+r<<0,t=((t+=((n=((n+=(t^((e=((e+=(r^(t|~n))+i[8]+1873313359)<<6|e>>>26)+t<<0)|~r))+i[15]-30611744)<<10|n>>>22)+e<<0)^((r=((r+=(e^(n|~t))+i[6]-1560198380)<<15|r>>>17)+n<<0)|~e))+i[13]+1309151649)<<21|t>>>11)+r<<0,t=((t+=((n=((n+=(t^((e=((e+=(r^(t|~n))+i[4]-145523070)<<6|e>>>26)+t<<0)|~r))+i[11]-1120210379)<<10|n>>>22)+e<<0)^((r=((r+=(e^(n|~t))+i[2]+718787259)<<15|r>>>17)+n<<0)|~e))+i[9]-343485551)<<21|t>>>11)+r<<0,this.first?(this.h0=e+1732584193<<0,this.h1=t-271733879<<0,this.h2=r-1732584194<<0,this.h3=n+271733878<<0,this.first=!1):(this.h0=this.h0+e<<0,this.h1=this.h1+t<<0,this.h2=this.h2+r<<0,this.h3=this.h3+n<<0)},Md5.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,r=this.h2,n=this.h3;return HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[t>>4&15]+HEX_CHARS[15&t]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[15&n]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]},Md5.prototype.toString=Md5.prototype.hex,Md5.prototype.digest=function(e){if("hex"===e)return this.hex();this.finalize();var t=this.h0,r=this.h1,n=this.h2,o=this.h3;return[255&t,t>>8&255,t>>16&255,t>>24&255,255&r,r>>8&255,r>>16&255,r>>24&255,255&n,n>>8&255,n>>16&255,n>>24&255,255&o,o>>8&255,o>>16&255,o>>24&255]},Md5.prototype.array=Md5.prototype.digest,Md5.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(16),t=new Uint32Array(e);return t[0]=this.h0,t[1]=this.h1,t[2]=this.h2,t[3]=this.h3,e},Md5.prototype.buffer=Md5.prototype.arrayBuffer,Md5.prototype.base64=function(){for(var e,t,r,n="",o=this.array(),a=0;a<15;)e=o[a++],t=o[a++],r=o[a++],n+=BASE64_ENCODE_CHAR[e>>>2]+BASE64_ENCODE_CHAR[63&(e<<4|t>>>4)]+BASE64_ENCODE_CHAR[63&(t<<2|r>>>6)]+BASE64_ENCODE_CHAR[63&r];return e=o[a],n+=BASE64_ENCODE_CHAR[e>>>2]+BASE64_ENCODE_CHAR[e<<4&63]+"=="};var exports=createMethod();COMMON_JS?module.exports=exports:(root.md5=exports,AMD&&(__WEBPACK_AMD_DEFINE_RESULT__=function(){return exports}.call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))})()}).call(this,__webpack_require__(/*! ./../node_modules/process/browser.js */"./node_modules/process/browser.js"),__webpack_require__(/*! ./../node_modules/webpack/buildin/global.js */"./node_modules/webpack/buildin/global.js"),__webpack_require__(/*! ./../node_modules/webpack/buildin/module.js */"./node_modules/webpack/buildin/module.js")(module))},"./lib/request.js":
  119. /*!************************!*\
  120. !*** ./lib/request.js ***!
  121. \************************/
  122. /*! no static exports found */function(e,t,r){var n=r(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),o=function(e){switch(n(e)){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},a=function(e,t,r){var n={};return t.getAllResponseHeaders().trim().split("\n").forEach((function(e){if(e){var t=e.indexOf(":"),r=e.substr(0,t).trim().toLowerCase(),o=e.substr(t+1).trim();n[r]=o}})),{error:e,statusCode:t.status,statusMessage:t.statusText,headers:n,body:r}},i=function(e,t){return t||"text"!==t?e.response:e.responseText};e.exports=function(e,t){var r=(e.method||"GET").toUpperCase(),s=e.url;if(e.qs){var l=function(e,t,r,a){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"===n(e)?Object.keys(e).map((function(n){var a=encodeURIComponent(o(n))+r;return Array.isArray(e[n])?e[n].map((function(e){return a+encodeURIComponent(o(e))})).join(t):a+encodeURIComponent(o(e[n]))})).filter(Boolean).join(t):a?encodeURIComponent(o(a))+r+encodeURIComponent(o(e)):""}(e.qs);l&&(s+=(-1===s.indexOf("?")?"?":"&")+l)}var c=new XMLHttpRequest;if(c.open(r,s,!0),c.responseType=e.dataType||"text",e.xhrFields)for(var u in e.xhrFields)c[u]=e.xhrFields[u];var d=e.headers;if(d)for(var p in d)d.hasOwnProperty(p)&&"content-length"!==p.toLowerCase()&&"user-agent"!==p.toLowerCase()&&"origin"!==p.toLowerCase()&&"host"!==p.toLowerCase()&&c.setRequestHeader(p,d[p]);return e.onProgress&&c.upload&&(c.upload.onprogress=e.onProgress),e.onDownloadProgress&&(c.onprogress=e.onDownloadProgress),e.timeout&&(c.timeout=e.timeout),c.ontimeout=function(e){var r=new Error("timeout");t(a(r,c))},c.onload=function(){t(a(null,c,i(c,e.dataType)))},c.onerror=function(r){var n=i(c,e.dataType);if(n)t(a(null,c,n));else{var o=c.statusText;o||0!==c.status||(o=new Error("CORS blocked or network error")),t(a(o,c,n))}},c.send(e.body||""),c}},"./lib/xml2json.js":
  123. /*!*************************!*\
  124. !*** ./lib/xml2json.js ***!
  125. \*************************/
  126. /*! no static exports found */function(t,r,n){var o=n(/*! @xmldom/xmldom */"./node_modules/@xmldom/xmldom/lib/index.js").DOMParser,a=function(){this.version="1.3.5";var t={mergeCDATA:!0,normalize:!0,stripElemPrefix:!0},r=new RegExp(/(?!xmlns)^.*:/);return this.grokType=function(e){return/^\s*$/.test(e)?null:/^(?:true|false)$/i.test(e)?"true"===e.toLowerCase():isFinite(e)?parseFloat(e):e},this.parseString=function(e,t){if(e){var r=this.stringToXML(e);return r.getElementsByTagName("parsererror").length?null:this.parseXML(r,t)}return null},this.parseXML=function(e,n){for(var o in n)t[o]=n[o];var i={},s=0,l="";if(e.childNodes.length)for(var c,u,d,p=0;p<e.childNodes.length;p++)4===(c=e.childNodes.item(p)).nodeType?t.mergeCDATA&&(l+=c.nodeValue):3===c.nodeType?l+=c.nodeValue:1===c.nodeType&&(0===s&&(i={}),u=t.stripElemPrefix?c.nodeName.replace(r,""):c.nodeName,d=a.parseXML(c),i.hasOwnProperty(u)?(i[u].constructor!==Array&&(i[u]=[i[u]]),i[u].push(d)):(i[u]=d,s++));return Object.keys(i).length||(i=l||""),i},this.xmlToString=function(e){try{return e.xml?e.xml:(new XMLSerializer).serializeToString(e)}catch(err){return null}},this.stringToXML=function(t){try{var r=null;return window.DOMParser?r=(new o).parseFromString(t,"text/xml"):((r=new ActiveXObject("Microsoft.XMLDOM")).async=!1,r.loadXML(t),r)}catch(e){return null}},this}.call({});t.exports=function(e){return a.parseString(e)}},"./node_modules/@babel/runtime/helpers/classCallCheck.js":
  127. /*!***************************************************************!*\
  128. !*** ./node_modules/@babel/runtime/helpers/classCallCheck.js ***!
  129. \***************************************************************/
  130. /*! no static exports found */function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},"./node_modules/@babel/runtime/helpers/createClass.js":
  131. /*!************************************************************!*\
  132. !*** ./node_modules/@babel/runtime/helpers/createClass.js ***!
  133. \************************************************************/
  134. /*! no static exports found */function(e,t,r){var n=r(/*! ./toPropertyKey.js */"./node_modules/@babel/runtime/helpers/toPropertyKey.js");function o(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,n(o.key),o)}}e.exports=function(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},"./node_modules/@babel/runtime/helpers/toPrimitive.js":
  135. /*!************************************************************!*\
  136. !*** ./node_modules/@babel/runtime/helpers/toPrimitive.js ***!
  137. \************************************************************/
  138. /*! no static exports found */function(e,t,r){var n=r(/*! ./typeof.js */"./node_modules/@babel/runtime/helpers/typeof.js").default;e.exports=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},"./node_modules/@babel/runtime/helpers/toPropertyKey.js":
  139. /*!**************************************************************!*\
  140. !*** ./node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
  141. \**************************************************************/
  142. /*! no static exports found */function(e,t,r){var n=r(/*! ./typeof.js */"./node_modules/@babel/runtime/helpers/typeof.js").default,o=r(/*! ./toPrimitive.js */"./node_modules/@babel/runtime/helpers/toPrimitive.js");e.exports=function(e){var t=o(e,"string");return"symbol"===n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},"./node_modules/@babel/runtime/helpers/typeof.js":
  143. /*!*******************************************************!*\
  144. !*** ./node_modules/@babel/runtime/helpers/typeof.js ***!
  145. \*******************************************************/
  146. /*! no static exports found */function(e,t){function r(t){return e.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,r(t)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports},"./node_modules/@xmldom/xmldom/lib/conventions.js":
  147. /*!********************************************************!*\
  148. !*** ./node_modules/@xmldom/xmldom/lib/conventions.js ***!
  149. \********************************************************/
  150. /*! no static exports found */function(e,t,r){function n(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e}var o=n({HTML:"text/html",isHTML:function(e){return e===o.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),a=n({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===a.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});t.assign=function(e,t){if(null===e||"object"!==_typeof2(e))throw new TypeError("target is not an object");for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},t.find=function(e,t,r){if(void 0===r&&(r=Array.prototype),e&&"function"==typeof r.find)return r.find.call(e,t);for(var n=0;n<e.length;n++)if(Object.prototype.hasOwnProperty.call(e,n)){var o=e[n];if(t.call(void 0,o,n,e))return o}},t.freeze=n,t.MIME_TYPE=o,t.NAMESPACE=a},"./node_modules/@xmldom/xmldom/lib/dom-parser.js":
  151. /*!*******************************************************!*\
  152. !*** ./node_modules/@xmldom/xmldom/lib/dom-parser.js ***!
  153. \*******************************************************/
  154. /*! no static exports found */function(e,t,r){var n=r(/*! ./conventions */"./node_modules/@xmldom/xmldom/lib/conventions.js"),o=r(/*! ./dom */"./node_modules/@xmldom/xmldom/lib/dom.js"),a=r(/*! ./entities */"./node_modules/@xmldom/xmldom/lib/entities.js"),i=r(/*! ./sax */"./node_modules/@xmldom/xmldom/lib/sax.js"),s=o.DOMImplementation,l=n.NAMESPACE,c=i.ParseError,u=i.XMLReader;function d(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function p(e){this.options=e||{locator:{}}}function f(){this.cdata=!1}function h(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function v(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function g(e,t,r){return"string"==typeof e?e.substr(t,r):e.length>=t+r||t?new java.lang.String(e,t,r)+"":e}function m(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}p.prototype.parseFromString=function(e,t){var r=this.options,n=new u,o=r.domBuilder||new f,i=r.errorHandler,s=r.locator,c=r.xmlns||{},p=/\/x?html?$/.test(t),h=p?a.HTML_ENTITIES:a.XML_ENTITIES;s&&o.setDocumentLocator(s),n.errorHandler=function(e,t,r){if(!e){if(t instanceof f)return t;e=t}var n={},o=e instanceof Function;function a(t){var a=e[t];!a&&o&&(a=2==e.length?function(r){e(t,r)}:e),n[t]=a&&function(e){a("[xmldom "+t+"]\t"+e+v(r))}||function(){}}return r=r||{},a("warning"),a("error"),a("fatalError"),n}(i,o,s),n.domBuilder=r.domBuilder||o,p&&(c[""]=l.HTML),c.xml=c.xml||l.XML;var g=r.normalizeLineEndings||d;return e&&"string"==typeof e?n.parse(g(e),c,h):n.errorHandler.error("invalid doc source"),o.doc},f.prototype={startDocument:function(){this.doc=(new s).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,r,n){var o=this.doc,a=o.createElementNS(e,r||t),i=n.length;m(this,a),this.currentElement=a,this.locator&&h(this.locator,a);for(var s=0;s<i;s++){e=n.getURI(s);var l=n.getValue(s),c=(r=n.getQName(s),o.createAttributeNS(e,r));this.locator&&h(n.getLocator(s),c),c.value=c.nodeValue=l,a.setAttributeNode(c)}},endElement:function(e,t,r){var n=this.currentElement;n.tagName,this.currentElement=n.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var r=this.doc.createProcessingInstruction(e,t);this.locator&&h(this.locator,r),m(this,r)},ignorableWhitespace:function(e,t,r){},characters:function(e,t,r){if(e=g.apply(this,arguments)){if(this.cdata)var n=this.doc.createCDATASection(e);else n=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(n):/^\s*$/.test(e)&&this.doc.appendChild(n),this.locator&&h(this.locator,n)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,r){e=g.apply(this,arguments);var n=this.doc.createComment(e);this.locator&&h(this.locator,n),m(this,n)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,r){var n=this.doc.implementation;if(n&&n.createDocumentType){var o=n.createDocumentType(e,t,r);this.locator&&h(this.locator,o),m(this,o),this.doc.doctype=o}},warning:function(e){console.warn("[xmldom warning]\t"+e,v(this.locator))},error:function(e){console.error("[xmldom error]\t"+e,v(this.locator))},fatalError:function(e){throw new c(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,(function(e){f.prototype[e]=function(){return null}})),t.__DOMHandler=f,t.normalizeLineEndings=d,t.DOMParser=p},"./node_modules/@xmldom/xmldom/lib/dom.js":
  155. /*!************************************************!*\
  156. !*** ./node_modules/@xmldom/xmldom/lib/dom.js ***!
  157. \************************************************/
  158. /*! no static exports found */function(t,r,n){var o=n(/*! ./conventions */"./node_modules/@xmldom/xmldom/lib/conventions.js"),a=o.find,i=o.NAMESPACE;function s(e){return""!==e}function l(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function c(e){if(!e)return[];var t=function(e){return e?e.split(/[\t\n\f\r ]+/).filter(s):[]}(e);return Object.keys(t.reduce(l,{}))}function u(e,t){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}function d(e,t){var r=e.prototype;if(!(r instanceof t)){function n(){}n.prototype=t.prototype,u(r,n=new n),e.prototype=r=n}r.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),r.constructor=e)}var p={},f=p.ELEMENT_NODE=1,h=p.ATTRIBUTE_NODE=2,v=p.TEXT_NODE=3,g=p.CDATA_SECTION_NODE=4,m=p.ENTITY_REFERENCE_NODE=5,b=p.ENTITY_NODE=6,A=p.PROCESSING_INSTRUCTION_NODE=7,y=p.COMMENT_NODE=8,x=p.DOCUMENT_NODE=9,w=p.DOCUMENT_TYPE_NODE=10,C=p.DOCUMENT_FRAGMENT_NODE=11,k=p.NOTATION_NODE=12,_={},S={};_.INDEX_SIZE_ERR=(S[1]="Index size error",1),_.DOMSTRING_SIZE_ERR=(S[2]="DOMString size error",2);var B=_.HIERARCHY_REQUEST_ERR=(S[3]="Hierarchy request error",3);_.WRONG_DOCUMENT_ERR=(S[4]="Wrong document",4),_.INVALID_CHARACTER_ERR=(S[5]="Invalid character",5),_.NO_DATA_ALLOWED_ERR=(S[6]="No data allowed",6),_.NO_MODIFICATION_ALLOWED_ERR=(S[7]="No modification allowed",7);var E=_.NOT_FOUND_ERR=(S[8]="Not found",8);_.NOT_SUPPORTED_ERR=(S[9]="Not supported",9);var T=_.INUSE_ATTRIBUTE_ERR=(S[10]="Attribute in use",10);function P(e,t){if(t instanceof Error)var r=t;else r=this,Error.call(this,S[e]),this.message=S[e],Error.captureStackTrace&&Error.captureStackTrace(this,P);return r.code=e,t&&(this.message=this.message+": "+t),r}function I(){}function N(e,t){this._node=e,this._refresh=t,z(this)}function z(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var r=e._refresh(e._node);if(ye(e,"length",r.length),!e.$$length||r.length<e.$$length)for(var n=r.length;n in e;n++)Object.prototype.hasOwnProperty.call(e,n)&&delete e[n];u(r,e),e._inc=t}}function M(){}function R(e,t){for(var r=e.length;r--;)if(e[r]===t)return r}function D(e,t,r,n){if(n?t[R(t,n)]=r:t[t.length++]=r,e){r.ownerElement=e;var o=e.ownerDocument;o&&(n&&H(o,e,n),function(e,t,r){e&&e._inc++;var n=r.namespaceURI;n===i.XMLNS&&(t._nsMap[r.prefix?r.localName:""]=r.value)}(o,e,r))}}function O(e,t,r){var n=R(t,r);if(!(n>=0))throw new P(E,new Error(e.tagName+"@"+r));for(var o=t.length-1;n<o;)t[n]=t[++n];if(t.length=o,e){var a=e.ownerDocument;a&&(H(a,e,r),r.ownerElement=null)}}function F(){}function L(){}function j(e){return("<"==e?"&lt;":">"==e&&"&gt;")||"&"==e&&"&amp;"||'"'==e&&"&quot;"||"&#"+e.charCodeAt()+";"}function V(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(V(e,t))return!0}while(e=e.nextSibling)}function $(){this.ownerDocument=this}function H(e,t,r,n){e&&e._inc++,r.namespaceURI===i.XMLNS&&delete t._nsMap[r.prefix?r.localName:""]}function U(e,t,r){if(e&&e._inc){e._inc++;var n=t.childNodes;if(r)n[n.length++]=r;else{for(var o=t.firstChild,a=0;o;)n[a++]=o,o=o.nextSibling;n.length=a,delete n[n.length]}}}function Q(e,t){var r=t.previousSibling,n=t.nextSibling;return r?r.nextSibling=n:e.firstChild=n,n?n.previousSibling=r:e.lastChild=r,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,U(e.ownerDocument,e),t}function G(e){return e&&e.nodeType===L.DOCUMENT_TYPE_NODE}function K(e){return e&&e.nodeType===L.ELEMENT_NODE}function q(e){return e&&e.nodeType===L.TEXT_NODE}function W(e,t){var r=e.childNodes||[];if(a(r,K)||G(t))return!1;var n=a(r,G);return!(t&&n&&r.indexOf(n)>r.indexOf(t))}function Y(e,t){var r=e.childNodes||[];if(a(r,(function(e){return K(e)&&e!==t})))return!1;var n=a(r,G);return!(t&&n&&r.indexOf(n)>r.indexOf(t))}function X(e,t,r){if(!function(e){return e&&(e.nodeType===L.DOCUMENT_NODE||e.nodeType===L.DOCUMENT_FRAGMENT_NODE||e.nodeType===L.ELEMENT_NODE)}(e))throw new P(B,"Unexpected parent node type "+e.nodeType);if(r&&r.parentNode!==e)throw new P(E,"child not in parent");if(!function(e){return e&&(K(e)||q(e)||G(e)||e.nodeType===L.DOCUMENT_FRAGMENT_NODE||e.nodeType===L.COMMENT_NODE||e.nodeType===L.PROCESSING_INSTRUCTION_NODE)}(t)||G(t)&&e.nodeType!==L.DOCUMENT_NODE)throw new P(B,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)}function J(e,t,r){var n=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===L.DOCUMENT_FRAGMENT_NODE){var i=o.filter(K);if(i.length>1||a(o,q))throw new P(B,"More than one element or text in fragment");if(1===i.length&&!W(e,r))throw new P(B,"Element in fragment can not be inserted before doctype")}if(K(t)&&!W(e,r))throw new P(B,"Only one element can be added and only after doctype");if(G(t)){if(a(n,G))throw new P(B,"Only one doctype is allowed");var s=a(n,K);if(r&&n.indexOf(s)<n.indexOf(r))throw new P(B,"Doctype can only be inserted before an element");if(!r&&s)throw new P(B,"Doctype can not be appended since element is present")}}function Z(e,t,r){var n=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===L.DOCUMENT_FRAGMENT_NODE){var i=o.filter(K);if(i.length>1||a(o,q))throw new P(B,"More than one element or text in fragment");if(1===i.length&&!Y(e,r))throw new P(B,"Element in fragment can not be inserted before doctype")}if(K(t)&&!Y(e,r))throw new P(B,"Only one element can be added and only after doctype");if(G(t)){function l(e){return G(e)&&e!==r}if(a(n,l))throw new P(B,"Only one doctype is allowed");var s=a(n,K);if(r&&n.indexOf(s)<n.indexOf(r))throw new P(B,"Doctype can only be inserted before an element")}}function ee(e,t,r,n){X(e,t,r),e.nodeType===L.DOCUMENT_NODE&&(n||J)(e,t,r);var o=t.parentNode;if(o&&o.removeChild(t),t.nodeType===C){var a=t.firstChild;if(null==a)return t;var i=t.lastChild}else a=i=t;var s=r?r.previousSibling:e.lastChild;a.previousSibling=s,i.nextSibling=r,s?s.nextSibling=a:e.firstChild=a,null==r?e.lastChild=i:r.previousSibling=i;do{a.parentNode=e}while(a!==i&&(a=a.nextSibling));return U(e.ownerDocument||e,e),t.nodeType==C&&(t.firstChild=t.lastChild=null),t}function te(){this._nsMap={}}function re(){}function ne(){}function oe(){}function ae(){}function ie(){}function se(){}function le(){}function ce(){}function ue(){}function de(){}function pe(){}function fe(){}function he(e,t){var r=[],n=9==this.nodeType&&this.documentElement||this,o=n.prefix,a=n.namespaceURI;if(a&&null==o&&null==(o=n.lookupPrefix(a)))var i=[{namespace:a,prefix:null}];return me(this,r,e,t,i),r.join("")}function ve(e,t,r){var n=e.prefix||"",o=e.namespaceURI;if(!o)return!1;if("xml"===n&&o===i.XML||o===i.XMLNS)return!1;for(var a=r.length;a--;){var s=r[a];if(s.prefix===n)return s.namespace!==o}return!0}function ge(e,t,r){e.push(" ",t,'="',r.replace(/[<>&"\t\n\r]/g,j),'"')}function me(e,t,r,n,o){if(o||(o=[]),n){if(!(e=n(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case f:var a=e.attributes,s=a.length,l=e.firstChild,c=e.tagName,u=c;if(!(r=i.isHTML(e.namespaceURI)||r)&&!e.prefix&&e.namespaceURI){for(var d,p=0;p<a.length;p++)if("xmlns"===a.item(p).name){d=a.item(p).value;break}if(!d)for(var b=o.length-1;b>=0;b--)if(""===(k=o[b]).prefix&&k.namespace===e.namespaceURI){d=k.namespace;break}if(d!==e.namespaceURI)for(b=o.length-1;b>=0;b--){var k;if((k=o[b]).namespace===e.namespaceURI){k.prefix&&(u=k.prefix+":"+c);break}}}t.push("<",u);for(var _=0;_<s;_++)"xmlns"==(S=a.item(_)).prefix?o.push({prefix:S.localName,namespace:S.value}):"xmlns"==S.nodeName&&o.push({prefix:"",namespace:S.value});for(_=0;_<s;_++){var S,B,E;ve(S=a.item(_),0,o)&&(ge(t,(B=S.prefix||"")?"xmlns:"+B:"xmlns",E=S.namespaceURI),o.push({prefix:B,namespace:E})),me(S,t,r,n,o)}if(c===u&&ve(e,0,o)&&(ge(t,(B=e.prefix||"")?"xmlns:"+B:"xmlns",E=e.namespaceURI),o.push({prefix:B,namespace:E})),l||r&&!/^(?:meta|link|img|br|hr|input)$/i.test(c)){if(t.push(">"),r&&/^script$/i.test(c))for(;l;)l.data?t.push(l.data):me(l,t,r,n,o.slice()),l=l.nextSibling;else for(;l;)me(l,t,r,n,o.slice()),l=l.nextSibling;t.push("</",u,">")}else t.push("/>");return;case x:case C:for(l=e.firstChild;l;)me(l,t,r,n,o.slice()),l=l.nextSibling;return;case h:return ge(t,e.name,e.value);case v:return t.push(e.data.replace(/[<&>]/g,j));case g:return t.push("<![CDATA[",e.data,"]]>");case y:return t.push("\x3c!--",e.data,"--\x3e");case w:var T=e.publicId,P=e.systemId;if(t.push("<!DOCTYPE ",e.name),T)t.push(" PUBLIC ",T),P&&"."!=P&&t.push(" ",P),t.push(">");else if(P&&"."!=P)t.push(" SYSTEM ",P,">");else{var I=e.internalSubset;I&&t.push(" [",I,"]"),t.push(">")}return;case A:return t.push("<?",e.target," ",e.data,"?>");case m:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function be(e,t,r){var n;switch(t.nodeType){case f:(n=t.cloneNode(!1)).ownerDocument=e;case C:break;case h:r=!0}if(n||(n=t.cloneNode(!1)),n.ownerDocument=e,n.parentNode=null,r)for(var o=t.firstChild;o;)n.appendChild(be(e,o,r)),o=o.nextSibling;return n}function Ae(e,t,r){var n=new t.constructor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var a=t[o];"object"!=_typeof2(a)&&a!=n[o]&&(n[o]=a)}switch(t.childNodes&&(n.childNodes=new I),n.ownerDocument=e,n.nodeType){case f:var i=t.attributes,s=n.attributes=new M,l=i.length;s._ownerElement=n;for(var c=0;c<l;c++)n.setAttributeNode(Ae(e,i.item(c),!0));break;case h:r=!0}if(r)for(var u=t.firstChild;u;)n.appendChild(Ae(e,u,r)),u=u.nextSibling;return n}function ye(e,t,r){e[t]=r}_.INVALID_STATE_ERR=(S[11]="Invalid state",11),_.SYNTAX_ERR=(S[12]="Syntax error",12),_.INVALID_MODIFICATION_ERR=(S[13]="Invalid modification",13),_.NAMESPACE_ERR=(S[14]="Invalid namespace",14),_.INVALID_ACCESS_ERR=(S[15]="Invalid access",15),P.prototype=Error.prototype,u(_,P),I.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e,t){for(var r=[],n=0;n<this.length;n++)me(this[n],r,e,t);return r.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},N.prototype.item=function(e){return z(this),this[e]||null},d(N,I),M.prototype={length:0,item:I.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var r=this[t];if(r.nodeName==e)return r}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new P(T);var r=this.getNamedItem(e.nodeName);return D(this._ownerElement,this,e,r),r},setNamedItemNS:function(e){var t,r=e.ownerElement;if(r&&r!=this._ownerElement)throw new P(T);return t=this.getNamedItemNS(e.namespaceURI,e.localName),D(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return O(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var r=this.getNamedItemNS(e,t);return O(this._ownerElement,this,r),r},getNamedItemNS:function(e,t){for(var r=this.length;r--;){var n=this[r];if(n.localName==t&&n.namespaceURI==e)return n}return null}},F.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,r){var n=new $;if(n.implementation=this,n.childNodes=new I,n.doctype=r||null,r&&n.appendChild(r),t){var o=n.createElementNS(e,t);n.appendChild(o)}return n},createDocumentType:function(e,t,r){var n=new se;return n.name=e,n.nodeName=e,n.publicId=t||"",n.systemId=r||"",n}},L.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return ee(this,e,t)},replaceChild:function(e,t){ee(this,e,t,Z),t&&this.removeChild(t)},removeChild:function(e){return Q(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return Ae(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==v&&e.nodeType==v?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var r=t._nsMap;if(r)for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&r[n]===e)return n;t=t.nodeType==h?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var r=t._nsMap;if(r&&Object.prototype.hasOwnProperty.call(r,e))return r[e];t=t.nodeType==h?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},u(p,L),u(p,L.prototype),$.prototype={nodeName:"#document",nodeType:x,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==C){for(var r=e.firstChild;r;){var n=r.nextSibling;this.insertBefore(r,t),r=n}return e}return ee(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===f&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),Q(this,e)},replaceChild:function(e,t){ee(this,e,t,Z),e.ownerDocument=this,t&&this.removeChild(t),K(e)&&(this.documentElement=e)},importNode:function(e,t){return be(this,e,t)},getElementById:function(e){var t=null;return V(this.documentElement,(function(r){if(r.nodeType==f&&r.getAttribute("id")==e)return t=r,!0})),t},getElementsByClassName:function(e){var t=c(e);return new N(this,(function(r){var n=[];return t.length>0&&V(r.documentElement,(function(o){if(o!==r&&o.nodeType===f){var a=o.getAttribute("class");if(a){var i=e===a;if(!i){var s=c(a);i=t.every(function(e){return function(t){return e&&-1!==e.indexOf(t)}}(s))}i&&n.push(o)}}})),n}))},createElement:function(e){var t=new te;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new I,(t.attributes=new M)._ownerElement=t,t},createDocumentFragment:function(){var e=new de;return e.ownerDocument=this,e.childNodes=new I,e},createTextNode:function(e){var t=new oe;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new ae;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new ie;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var r=new pe;return r.ownerDocument=this,r.tagName=r.nodeName=r.target=e,r.nodeValue=r.data=t,r},createAttribute:function(e){var t=new re;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new ue;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var r=new te,n=t.split(":"),o=r.attributes=new M;return r.childNodes=new I,r.ownerDocument=this,r.nodeName=t,r.tagName=t,r.namespaceURI=e,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=t,o._ownerElement=r,r},createAttributeNS:function(e,t){var r=new re,n=t.split(":");return r.ownerDocument=this,r.nodeName=t,r.name=t,r.namespaceURI=e,r.specified=!0,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=t,r}},d($,L),te.prototype={nodeType:f,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var r=this.ownerDocument.createAttribute(e);r.value=r.nodeValue=""+t,this.setAttributeNode(r)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===C?this.insertBefore(e,null):function(e,t){return t.parentNode&&t.parentNode.removeChild(t),t.parentNode=e,t.previousSibling=e.lastChild,t.nextSibling=null,t.previousSibling?t.previousSibling.nextSibling=t:e.firstChild=t,e.lastChild=t,U(e.ownerDocument,e,t),t}(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);r&&this.removeAttributeNode(r)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);return r&&r.value||""},setAttributeNS:function(e,t,r){var n=this.ownerDocument.createAttributeNS(e,t);n.value=n.nodeValue=""+r,this.setAttributeNode(n)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new N(this,(function(t){var r=[];return V(t,(function(n){n===t||n.nodeType!=f||"*"!==e&&n.tagName!=e||r.push(n)})),r}))},getElementsByTagNameNS:function(e,t){return new N(this,(function(r){var n=[];return V(r,(function(o){o===r||o.nodeType!==f||"*"!==e&&o.namespaceURI!==e||"*"!==t&&o.localName!=t||n.push(o)})),n}))}},$.prototype.getElementsByTagName=te.prototype.getElementsByTagName,$.prototype.getElementsByTagNameNS=te.prototype.getElementsByTagNameNS,d(te,L),re.prototype.nodeType=h,d(re,L),ne.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(S[B])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,r){r=this.data.substring(0,e)+r+this.data.substring(e+t),this.nodeValue=this.data=r,this.length=r.length}},d(ne,L),oe.prototype={nodeName:"#text",nodeType:v,splitText:function(e){var t=this.data,r=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var n=this.ownerDocument.createTextNode(r);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},d(oe,ne),ae.prototype={nodeName:"#comment",nodeType:y},d(ae,ne),ie.prototype={nodeName:"#cdata-section",nodeType:g},d(ie,ne),se.prototype.nodeType=w,d(se,L),le.prototype.nodeType=k,d(le,L),ce.prototype.nodeType=b,d(ce,L),ue.prototype.nodeType=m,d(ue,L),de.prototype.nodeName="#document-fragment",de.prototype.nodeType=C,d(de,L),pe.prototype.nodeType=A,d(pe,L),fe.prototype.serializeToString=function(e,t,r){return he.call(e,t,r)},L.prototype.toString=he;try{if(Object.defineProperty){function xe(e){switch(e.nodeType){case f:case C:var t=[];for(e=e.firstChild;e;)7!==e.nodeType&&8!==e.nodeType&&t.push(xe(e)),e=e.nextSibling;return t.join("");default:return e.nodeValue}}Object.defineProperty(N.prototype,"length",{get:function(){return z(this),this.$$length}}),Object.defineProperty(L.prototype,"textContent",{get:function(){return xe(this)},set:function(e){switch(this.nodeType){case f:case C:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),ye=function(e,t,r){e["$$"+t]=r}}}catch(e){}r.DocumentType=se,r.DOMException=P,r.DOMImplementation=F,r.Element=te,r.Node=L,r.NodeList=I,r.XMLSerializer=fe},"./node_modules/@xmldom/xmldom/lib/entities.js":
  159. /*!*****************************************************!*\
  160. !*** ./node_modules/@xmldom/xmldom/lib/entities.js ***!
  161. \*****************************************************/
  162. /*! no static exports found */function(e,t,r){var n=r(/*! ./conventions */"./node_modules/@xmldom/xmldom/lib/conventions.js").freeze;t.XML_ENTITIES=n({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=n({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}),t.entityMap=t.HTML_ENTITIES},"./node_modules/@xmldom/xmldom/lib/index.js":
  163. /*!**************************************************!*\
  164. !*** ./node_modules/@xmldom/xmldom/lib/index.js ***!
  165. \**************************************************/
  166. /*! no static exports found */function(e,t,r){var n=r(/*! ./dom */"./node_modules/@xmldom/xmldom/lib/dom.js");t.DOMImplementation=n.DOMImplementation,t.XMLSerializer=n.XMLSerializer,t.DOMParser=r(/*! ./dom-parser */"./node_modules/@xmldom/xmldom/lib/dom-parser.js").DOMParser},"./node_modules/@xmldom/xmldom/lib/sax.js":
  167. /*!************************************************!*\
  168. !*** ./node_modules/@xmldom/xmldom/lib/sax.js ***!
  169. \************************************************/
  170. /*! no static exports found */function(t,r,n){var o=n(/*! ./conventions */"./node_modules/@xmldom/xmldom/lib/conventions.js").NAMESPACE,a=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,i=new RegExp("[\\-\\.0-9"+a.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),s=new RegExp("^"+a.source+i.source+"*(?::"+a.source+i.source+"*)?$"),l=0,c=1,u=2,d=3,p=4,f=5,h=6,v=7;function g(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,g)}function m(){}function b(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function A(e,t,r,n,a,i){function s(e,t,n){r.attributeNames.hasOwnProperty(e)&&i.fatalError("Attribute "+e+" redefined"),r.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,a),n)}for(var g,m=++t,b=l;;){var A=e.charAt(m);switch(A){case"=":if(b===c)g=e.slice(t,m),b=d;else{if(b!==u)throw new Error("attribute equal must after attrName");b=d}break;case"'":case'"':if(b===d||b===c){if(b===c&&(i.warning('attribute value must after "="'),g=e.slice(t,m)),t=m+1,!((m=e.indexOf(A,t))>0))throw new Error("attribute value no end '"+A+"' match");s(g,y=e.slice(t,m),t-1),b=f}else{if(b!=p)throw new Error('attribute value must after "="');s(g,y=e.slice(t,m),t),i.warning('attribute "'+g+'" missed start quot('+A+")!!"),t=m+1,b=f}break;case"/":switch(b){case l:r.setTagName(e.slice(t,m));case f:case h:case v:b=v,r.closed=!0;case p:case c:break;case u:r.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return i.error("unexpected end of input"),b==l&&r.setTagName(e.slice(t,m)),m;case">":switch(b){case l:r.setTagName(e.slice(t,m));case f:case h:case v:break;case p:case c:"/"===(y=e.slice(t,m)).slice(-1)&&(r.closed=!0,y=y.slice(0,-1));case u:b===u&&(y=g),b==p?(i.warning('attribute "'+y+'" missed quot(")!'),s(g,y,t)):(o.isHTML(n[""])&&y.match(/^(?:disabled|checked|selected)$/i)||i.warning('attribute "'+y+'" missed value!! "'+y+'" instead!!'),s(y,y,t));break;case d:throw new Error("attribute value missed!!")}return m;case"€":A=" ";default:if(A<=" ")switch(b){case l:r.setTagName(e.slice(t,m)),b=h;break;case c:g=e.slice(t,m),b=u;break;case p:var y=e.slice(t,m);i.warning('attribute "'+y+'" missed quot(")!!'),s(g,y,t);case f:b=h}else switch(b){case u:r.tagName,o.isHTML(n[""])&&g.match(/^(?:disabled|checked|selected)$/i)||i.warning('attribute "'+g+'" missed value!! "'+g+'" instead2!!'),s(g,g,t),t=m,b=c;break;case f:i.warning('attribute space is required"'+g+'"!!');case h:b=c,t=m;break;case d:b=p,t=m;break;case v:throw new Error("elements closed character '/' and '>' must be connected to")}}m++}}function y(e,t,r){for(var n=e.tagName,a=null,i=e.length;i--;){var s=e[i],l=s.qName,c=s.value;if((f=l.indexOf(":"))>0)var u=s.prefix=l.slice(0,f),d=l.slice(f+1),p="xmlns"===u&&d;else d=l,u=null,p="xmlns"===l&&"";s.localName=d,!1!==p&&(null==a&&(a={},C(r,r={})),r[p]=a[p]=c,s.uri=o.XMLNS,t.startPrefixMapping(p,c))}for(i=e.length;i--;)(u=(s=e[i]).prefix)&&("xml"===u&&(s.uri=o.XML),"xmlns"!==u&&(s.uri=r[u||""]));var f;(f=n.indexOf(":"))>0?(u=e.prefix=n.slice(0,f),d=e.localName=n.slice(f+1)):(u=null,d=e.localName=n);var h=e.uri=r[u||""];if(t.startElement(h,d,n,e),!e.closed)return e.currentNSMap=r,e.localNSMap=a,!0;if(t.endElement(h,d,n),a)for(u in a)Object.prototype.hasOwnProperty.call(a,u)&&t.endPrefixMapping(u)}function x(e,t,r,n,o){if(/^(?:script|textarea)$/i.test(r)){var a=e.indexOf("</"+r+">",t),i=e.substring(t+1,a);if(/[&<]/.test(i))return/^script$/i.test(r)?(o.characters(i,0,i.length),a):(i=i.replace(/&#?\w+;/g,n),o.characters(i,0,i.length),a)}return t+1}function w(e,t,r,n){var o=n[r];return null==o&&((o=e.lastIndexOf("</"+r+">"))<t&&(o=e.lastIndexOf("</"+r)),n[r]=o),o<t}function C(e,t){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}function k(e,t,r,n){if("-"===e.charAt(t+2))return"-"===e.charAt(t+3)?(o=e.indexOf("--\x3e",t+4))>t?(r.comment(e,t+4,o-t-4),o+3):(n.error("Unclosed comment"),-1):-1;if("CDATA["==e.substr(t+3,6)){var o=e.indexOf("]]>",t+9);return r.startCDATA(),r.characters(e,t+9,o-t-9),r.endCDATA(),o+3}var a=function(e,t){var r,n=[],o=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(o.lastIndex=t,o.exec(e);r=o.exec(e);)if(n.push(r),r[1])return n}(e,t),i=a.length;if(i>1&&/!doctype/i.test(a[0][0])){var s=a[1][0],l=!1,c=!1;i>3&&(/^public$/i.test(a[2][0])?(l=a[3][0],c=i>4&&a[4][0]):/^system$/i.test(a[2][0])&&(c=a[3][0]));var u=a[i-1];return r.startDTD(s,l,c),r.endDTD(),u.index+u[0].length}return-1}function _(e,t,r){var n=e.indexOf("?>",t);if(n){var o=e.substring(t,n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return o?(o[0].length,r.processingInstruction(o[1],o[2]),n+2):-1}return-1}function S(){this.attributeNames={}}g.prototype=new Error,g.prototype.name=g.name,m.prototype={parse:function(t,r,n){var a=this.domBuilder;a.startDocument(),C(r,r={}),function(t,r,n,a,i){function s(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}function l(e){var t=e.slice(1,-1);return Object.hasOwnProperty.call(n,t)?n[t]:"#"===t.charAt(0)?s(parseInt(t.substr(1).replace("x","0x"))):(i.error("entity not found:"+e),e)}function c(e){if(e>C){var r=t.substring(C,e).replace(/&#?\w+;/g,l);h&&u(C),a.characters(r,0,e-C),C=e}}function u(e,r){for(;e>=p&&(r=f.exec(t));)d=r.index,p=d+r[0].length,h.lineNumber++;h.columnNumber=e-d+1}for(var d=0,p=0,f=/.*(?:\r\n?|\n)|.*$/g,h=a.locator,v=[{currentNSMap:r}],m={},C=0;;){try{var B=t.indexOf("<",C);if(B<0){if(!t.substr(C).match(/^\s*$/)){var E=a.doc,T=E.createTextNode(t.substr(C));E.appendChild(T),a.currentElement=T}return}switch(B>C&&c(B),t.charAt(B+1)){case"/":var P=t.indexOf(">",B+3),I=t.substring(B+2,P).replace(/[ \t\n\r]+$/g,""),N=v.pop();P<0?(I=t.substring(B+2).replace(/[\s<].*/,""),i.error("end tag name: "+I+" is not complete:"+N.tagName),P=B+1+I.length):I.match(/\s</)&&(I=I.replace(/[\s<].*/,""),i.error("end tag name: "+I+" maybe not complete"),P=B+1+I.length);var z=N.localNSMap,M=N.tagName==I;if(M||N.tagName&&N.tagName.toLowerCase()==I.toLowerCase()){if(a.endElement(N.uri,N.localName,I),z)for(var R in z)Object.prototype.hasOwnProperty.call(z,R)&&a.endPrefixMapping(R);M||i.fatalError("end tag name: "+I+" is not match the current start tagName:"+N.tagName)}else v.push(N);P++;break;case"?":h&&u(B),P=_(t,B,a);break;case"!":h&&u(B),P=k(t,B,a,i);break;default:h&&u(B);var D=new S,O=v[v.length-1].currentNSMap,F=(P=A(t,B,D,O,l,i),D.length);if(!D.closed&&w(t,P,D.tagName,m)&&(D.closed=!0,n.nbsp||i.warning("unclosed xml attribute")),h&&F){for(var L=b(h,{}),j=0;j<F;j++){var V=D[j];u(V.offset),V.locator=b(h,{})}a.locator=L,y(D,a,O)&&v.push(D),a.locator=h}else y(D,a,O)&&v.push(D);o.isHTML(D.uri)&&!D.closed?P=x(t,P,D.tagName,l,a):P++}}catch(e){if(e instanceof g)throw e;i.error("element parse error: "+e),P=-1}P>C?C=P:c(Math.max(B,C)+1)}}(t,r,n,a,this.errorHandler),a.endDocument()}},S.prototype={setTagName:function(e){if(!s.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,r){if(!s.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:r}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},r.XMLReader=m,r.ParseError=g},"./node_modules/process/browser.js":
  171. /*!*****************************************!*\
  172. !*** ./node_modules/process/browser.js ***!
  173. \*****************************************/
  174. /*! no static exports found */function(t,r){var n,o,a=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{o="function"==typeof clearTimeout?clearTimeout:s}catch(e){o=s}}();var c,u=[],d=!1,p=-1;function f(){d&&c&&(d=!1,c.length?u=c.concat(u):p=-1,u.length&&h())}function h(){if(!d){var t=l(f);d=!0;for(var r=u.length;r;){for(c=u,u=[];++p<r;)c&&c[p].run();p=-1,r=u.length}c=null,d=!1,function(t){if(o===clearTimeout)return clearTimeout(t);if((o===s||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(t);try{return o(t)}catch(e){try{return o.call(null,t)}catch(e){return o.call(this,t)}}}(t)}}function v(e,t){this.fun=e,this.array=t}function g(){}a.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new v(e,t)),1!==u.length||d||l(h)},v.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=g,a.addListener=g,a.once=g,a.off=g,a.removeListener=g,a.removeAllListeners=g,a.emit=g,a.prependListener=g,a.prependOnceListener=g,a.listeners=function(e){return[]},a.binding=function(e){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},"./node_modules/webpack/buildin/amd-options.js":
  175. /*!****************************************!*\
  176. !*** (webpack)/buildin/amd-options.js ***!
  177. \****************************************/
  178. /*! no static exports found */function(e,t){(function(t){e.exports=t}).call(this,{})},"./node_modules/webpack/buildin/global.js":
  179. /*!***********************************!*\
  180. !*** (webpack)/buildin/global.js ***!
  181. \***********************************/
  182. /*! no static exports found */function(t,r){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"===("undefined"==typeof window?"undefined":_typeof2(window))&&(n=window)}t.exports=n},"./node_modules/webpack/buildin/module.js":
  183. /*!***********************************!*\
  184. !*** (webpack)/buildin/module.js ***!
  185. \***********************************/
  186. /*! no static exports found */function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"./package.json":
  187. /*!**********************!*\
  188. !*** ./package.json ***!
  189. \**********************/
  190. /*! exports provided: name, version, description, main, types, scripts, repository, keywords, author, license, bugs, homepage, dependencies, devDependencies, default */function(e){e.exports=JSON.parse('{"name":"cos-js-sdk-v5","version":"1.4.21","description":"JavaScript SDK for [腾讯云对象存储](https://cloud.tencent.com/product/cos)","main":"dist/cos-js-sdk-v5.js","types":"index.d.ts","scripts":{"prettier":"prettier --write src demo/demo.js test/test.js server/sts.js index.d.ts","server":"node server/sts.js","dev":"cross-env NODE_ENV=development webpack -w --mode=development","build":"cross-env NODE_ENV=production webpack --mode=production","cos-auth.min.js":"uglifyjs ./demo/common/cos-auth.js -o ./demo/common/cos-auth.min.js -c -m","test":"jest --runInBand --coverage"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/cos-js-sdk-v5.git"},"keywords":[],"author":"carsonxu","license":"ISC","bugs":{"url":"https://github.com/tencentyun/cos-js-sdk-v5/issues"},"homepage":"https://github.com/tencentyun/cos-js-sdk-v5#readme","dependencies":{"@xmldom/xmldom":"^0.8.6"},"devDependencies":{"@babel/core":"7.17.9","@babel/plugin-transform-runtime":"7.18.10","@babel/preset-env":"7.16.11","babel-loader":"8.2.5","body-parser":"^1.18.3","cross-env":"^5.2.0","express":"^4.16.4","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","prettier":"^3.0.1","qcloud-cos-sts":"^3.0.2","request":"^2.87.0","terser-webpack-plugin":"4.2.3","uglifyjs":"^2.4.11","webpack":"4.46.0","webpack-cli":"4.10.0"}}')},"./src/advance.js":
  191. /*!************************!*\
  192. !*** ./src/advance.js ***!
  193. \************************/
  194. /*! no static exports found */function(e,t,r){var n=r(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),o=r(/*! ./session */"./src/session.js"),a=r(/*! ./async */"./src/async.js"),i=r(/*! ./event */"./src/event.js").EventProxy,s=r(/*! ./util */"./src/util.js"),l=r(/*! ./tracker */"./src/tracker.js");function c(e,t){var r=e.TaskId,n=e.Bucket,l=e.Region,c=e.Key,p=e.StorageClass,f=this,h={},v=e.FileSize,g=e.SliceSize,m=Math.ceil(v/g),b=0,A=s.throttleOnProgress.call(f,v,e.onHashProgress),y=function(t,r){var n=t.length;return 0===n?r(null,!0):n>m||n>1&&Math.max(t[0].Size,t[1].Size)!==g?r(null,!1):void function o(a){if(a<n){var i=t[a];!function(t,r){var n=g*(t-1),o=Math.min(n+g,v),a=o-n;h[t]?r(null,{PartNumber:t,ETag:h[t],Size:a}):s.fileSlice(e.Body,n,o,!1,(function(e){s.getFileMd5(e,(function(e,n){if(e)return r(s.error(e));var o='"'+n+'"';h[t]=o,A({loaded:b+=a,total:v}),r(null,{PartNumber:t,ETag:o,Size:a})}))}))}(i.PartNumber,(function(e,t){t&&t.ETag===i.ETag&&t.Size===i.Size?o(a+1):r(null,!1)}))}else r(null,!0)}(0)},x=new i;x.on("error",(function(e){if(f._isRunningTask(r))return t(e)})),x.on("upload_id_available",(function(e){var r={},n=[];s.each(e.PartList,(function(e){r[e.PartNumber]=e}));for(var o=1;o<=m;o++){var a=r[o];a?(a.PartNumber=o,a.Uploaded=!0):a={PartNumber:o,ETag:null,Uploaded:!1},n.push(a)}e.PartList=n,t(null,e)})),x.on("no_available_upload_id",(function(){if(f._isRunningTask(r)){var o=s.extend({Bucket:n,Region:l,Key:c,Query:s.clone(e.Query),StorageClass:p,Body:e.Body,calledBySdk:"sliceUploadFile",tracker:e.tracker},e),a=s.clone(e.Headers);delete a["x-cos-mime-limit"],o.Headers=a,f.multipartInit(o,(function(e,n){if(f._isRunningTask(r)){if(e)return x.emit("error",e);var o=n.UploadId;if(!o)return t(s.error(new Error("no such upload id")));x.emit("upload_id_available",{UploadId:o,PartList:[]})}}))}})),x.on("has_and_check_upload_id",(function(t){t=t.reverse(),a.eachLimit(t,1,(function(t,a){f._isRunningTask(r)&&(o.using[t]?a():d.call(f,{Bucket:n,Region:l,Key:c,UploadId:t,tracker:e.tracker},(function(e,n){if(f._isRunningTask(r)){if(e)return o.removeUsing(t),x.emit("error",e);var i=n.PartList;i.forEach((function(e){e.PartNumber*=1,e.Size*=1,e.ETag=e.ETag||""})),y(i,(function(e,n){if(f._isRunningTask(r))return e?x.emit("error",e):void(n?a({UploadId:t,PartList:i}):a())}))}})))}),(function(e){f._isRunningTask(r)&&(A(null,!0),e&&e.UploadId?x.emit("upload_id_available",e):x.emit("no_available_upload_id"))}))})),x.on("seek_local_avail_upload_id",(function(t){var a=o.getFileId(e.Body,e.ChunkSize,n,c),i=o.getUploadIdList.call(f,a);a&&i?function a(u){if(u>=i.length)x.emit("has_and_check_upload_id",t);else{var p=i[u];if(!s.isInArray(t,p))return o.removeUploadId.call(f,p),void a(u+1);o.using[p]?a(u+1):d.call(f,{Bucket:n,Region:l,Key:c,UploadId:p,tracker:e.tracker},(function(e,t){f._isRunningTask(r)&&(e?(o.removeUploadId.call(f,p),a(u+1)):x.emit("upload_id_available",{UploadId:p,PartList:t.PartList}))}))}}(0):x.emit("has_and_check_upload_id",t)})),x.on("get_remote_upload_id_list",(function(){u.call(f,{Bucket:n,Region:l,Key:c,tracker:e.tracker},(function(t,a){if(f._isRunningTask(r)){if(t)return x.emit("error",t);var i=s.filter(a.UploadList,(function(e){return e.Key===c&&(!p||e.StorageClass.toUpperCase()===p.toUpperCase())})).reverse().map((function(e){return e.UploadId||e.UploadID}));if(i.length)x.emit("seek_local_avail_upload_id",i);else{var l,u=o.getFileId(e.Body,e.ChunkSize,n,c);u&&(l=o.getUploadIdList.call(f,u))&&s.each(l,(function(e){o.removeUploadId.call(f,e)})),x.emit("no_available_upload_id")}}}))})),x.emit("get_remote_upload_id_list")}function u(e,t){var r=this,n=[],o={Bucket:e.Bucket,Region:e.Region,Prefix:e.Key,calledBySdk:e.calledBySdk||"sliceUploadFile",tracker:e.tracker};!function e(){r.multipartList(o,(function(r,a){if(r)return t(r);n.push.apply(n,a.Upload||[]),"true"===a.IsTruncated?(o.KeyMarker=a.NextKeyMarker,o.UploadIdMarker=a.NextUploadIdMarker,e()):t(null,{UploadList:n})}))}()}function d(e,t){var r=this,n=[],o={Bucket:e.Bucket,Region:e.Region,Key:e.Key,UploadId:e.UploadId,calledBySdk:"sliceUploadFile",tracker:e.tracker};!function e(){r.multipartListPart(o,(function(r,a){if(r)return t(r);n.push.apply(n,a.Part||[]),"true"===a.IsTruncated?(o.PartNumberMarker=a.NextPartNumberMarker,e()):t(null,{PartList:n})}))}()}function p(e,t){var r=this,n=e.TaskId,o=e.Bucket,i=e.Region,l=e.Key,c=e.UploadData,u=e.FileSize,d=e.SliceSize,p=Math.min(e.AsyncLimit||r.options.ChunkParallelLimit||1,256),h=e.Body,v=Math.ceil(u/d),g=0,m=e.ServerSideEncryption,b=e.Headers,A=s.filter(c.PartList,(function(e){return e.Uploaded&&(g+=e.PartNumber>=v&&u%d||d),!e.Uploaded})),y=e.onProgress;a.eachLimit(A,p,(function(t,a){if(r._isRunningTask(n)){var s=t.PartNumber,p=Math.min(u,t.PartNumber*d)-(t.PartNumber-1)*d,v=0;f.call(r,{TaskId:n,Bucket:o,Region:i,Key:l,SliceSize:d,FileSize:u,PartNumber:s,ServerSideEncryption:m,Body:h,UploadData:c,Headers:b,onProgress:function(e){g+=e.loaded-v,v=e.loaded,y({loaded:g,total:u})},tracker:e.tracker},(function(e,o){r._isRunningTask(n)&&(e||o.ETag||(e='get ETag error, please add "ETag" to CORS ExposeHeader setting.( 获取ETag失败,请在CORS ExposeHeader设置中添加ETag,请参考文档:https://cloud.tencent.com/document/product/436/13318 )'),e?g-=v:(g+=p-v,t.ETag=o.ETag),y({loaded:g,total:u}),a(e||null,o))}))}}),(function(e){if(r._isRunningTask(n))return e?t(e):void t(null,{UploadId:c.UploadId,SliceList:c.PartList})}))}function f(e,t){var r=this,n=e.TaskId,o=e.Bucket,i=e.Region,l=e.Key,c=e.FileSize,u=e.Body,d=1*e.PartNumber,p=e.SliceSize,f=e.ServerSideEncryption,h=e.UploadData,v=e.Headers||{},g=r.options.ChunkRetryTimes+1,m=p*(d-1),b=p,A=m+p;A>c&&(b=(A=c)-m);var y=["x-cos-traffic-limit","x-cos-mime-limit"],x={};s.each(v,(function(e,t){y.indexOf(t)>-1&&(x[t]=e)}));var w=h.PartList[d-1];a.retry(g,(function(t){r._isRunningTask(n)&&s.fileSlice(u,m,A,!0,(function(a){r.multipartUpload({TaskId:n,Bucket:o,Region:i,Key:l,ContentLength:b,PartNumber:d,UploadId:h.UploadId,ServerSideEncryption:f,Body:a,Headers:x,onProgress:e.onProgress,calledBySdk:"sliceUploadFile",tracker:e.tracker},(function(e,o){if(r._isRunningTask(n))return e?t(e):(w.Uploaded=!0,t(null,o))}))}))}),(function(e,o){if(r._isRunningTask(n))return t(e,o)}))}function h(e,t){var r=e.Bucket,n=e.Region,o=e.Key,i=e.UploadId,s=e.SliceList,l=this,c=this.options.ChunkRetryTimes+1,u=e.Headers,d=s.map((function(e){return{PartNumber:e.PartNumber,ETag:e.ETag}}));a.retry(c,(function(t){l.multipartComplete({Bucket:r,Region:n,Key:o,UploadId:i,Parts:d,Headers:u,calledBySdk:"sliceUploadFile",tracker:e.tracker},t)}),(function(e,r){t(e,r)}))}function v(e,t){var r=e.Bucket,n=e.Region,o=e.Key,i=e.AbortArray,s=e.AsyncLimit||1,l=this,c=0,u=new Array(i.length);a.eachLimit(i,s,(function(t,a){var i=c;if(o&&o!==t.Key)return u[i]={error:{KeyNotMatch:!0}},void a(null);var s=t.UploadId||t.UploadID;l.multipartAbort({Bucket:r,Region:n,Key:t.Key,Headers:e.Headers,UploadId:s},(function(e){var o={Bucket:r,Region:n,Key:t.Key,UploadId:s};u[i]={error:e,task:o},a(null)})),c++}),(function(e){if(e)return t(e);for(var r=[],n=[],o=0,a=u.length;o<a;o++){var i=u[o];i.task&&(i.error?n.push(i.task):r.push(i.task))}return t(null,{successList:r,errorList:n})}))}function g(e,t){var r=e.TaskId,n=e.Bucket,o=e.Region,i=e.Key,s=e.CopySource,l=e.UploadId,c=1*e.PartNumber,u=e.CopySourceRange,d=this.options.ChunkRetryTimes+1,p=this;a.retry(d,(function(e){p.uploadPartCopy({TaskId:r,Bucket:n,Region:o,Key:i,CopySource:s,UploadId:l,PartNumber:c,CopySourceRange:u},(function(t,r){e(t||null,r)}))}),(function(e,r){return t(e,r)}))}var m={sliceUploadFile:function(e,t){var r,n,a=this,l=new i,u=e.TaskId,d=e.Bucket,f=e.Region,v=e.Key,g=e.Body,m=e.ChunkSize||e.SliceSize||a.options.ChunkSize,b=e.AsyncLimit,A=e.StorageClass,y=e.ServerSideEncryption,x=e.onHashProgress,w=e.tracker;w&&w.setParams({chunkSize:m}),l.on("error",(function(r){if(a._isRunningTask(u))return r.UploadId=e.UploadData.UploadId||"",t(r)})),l.on("upload_complete",(function(r){var n=s.extend({UploadId:e.UploadData.UploadId||""},r);t(null,n)})),l.on("upload_slice_complete",(function(t){var i={};s.each(e.Headers,(function(e,t){var r=t.toLowerCase();0!==r.indexOf("x-cos-meta-")&&"pic-operations"!==r||(i[t]=e)})),h.call(a,{Bucket:d,Region:f,Key:v,UploadId:t.UploadId,SliceList:t.SliceList,Headers:i,tracker:w},(function(e,i){if(a._isRunningTask(u)){if(o.removeUsing(t.UploadId),e)return n(null,!0),l.emit("error",e);o.removeUploadId.call(a,t.UploadId),n({loaded:r,total:r},!0),l.emit("upload_complete",i)}}))})),l.on("get_upload_data_finish",(function(t){var i=o.getFileId(g,e.ChunkSize,d,v);i&&o.saveUploadId.call(a,i,t.UploadId,a.options.UploadIdCacheLimit),o.setUsing(t.UploadId),n(null,!0),p.call(a,{TaskId:u,Bucket:d,Region:f,Key:v,Body:g,FileSize:r,SliceSize:m,AsyncLimit:b,ServerSideEncryption:y,UploadData:t,Headers:e.Headers,onProgress:n,tracker:w},(function(e,t){if(a._isRunningTask(u))return e?(n(null,!0),l.emit("error",e)):void l.emit("upload_slice_complete",t)}))})),l.on("get_file_size_finish",(function(){if(n=s.throttleOnProgress.call(a,r,e.onProgress),e.UploadData.UploadId)l.emit("get_upload_data_finish",e.UploadData);else{var t=s.extend({TaskId:u,Bucket:d,Region:f,Key:v,Headers:e.Headers,StorageClass:A,Body:g,FileSize:r,SliceSize:m,onHashProgress:x,tracker:w},e);c.call(a,t,(function(t,r){if(a._isRunningTask(u)){if(t)return l.emit("error",t);e.UploadData.UploadId=r.UploadId,e.UploadData.PartList=r.PartList,l.emit("get_upload_data_finish",e.UploadData)}}))}})),r=e.ContentLength,delete e.ContentLength,!e.Headers&&(e.Headers={}),s.each(e.Headers,(function(t,r){"content-length"===r.toLowerCase()&&delete e.Headers[r]})),function(){for(var t=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],n=1048576,o=0;o<t.length&&!(r/(n=1024*t[o]*1024)<=a.options.MaxPartNumber);o++);e.ChunkSize=e.SliceSize=m=Math.max(m,n)}(),0===r?(e.Body="",e.ContentLength=0,e.SkipTask=!0,a.putObject(e,t)):l.emit("get_file_size_finish")},abortUploadTask:function(e,t){var r=e.Bucket,n=e.Region,o=e.Key,a=e.UploadId,l=e.Level||"task",c=e.AsyncLimit,d=this,p=new i;if(p.on("error",(function(e){return t(e)})),p.on("get_abort_array",(function(a){v.call(d,{Bucket:r,Region:n,Key:o,Headers:e.Headers,AsyncLimit:c,AbortArray:a},t)})),"bucket"===l)u.call(d,{Bucket:r,Region:n,calledBySdk:"abortUploadTask"},(function(e,r){if(e)return t(e);p.emit("get_abort_array",r.UploadList||[])}));else if("file"===l){if(!o)return t(s.error(new Error("abort_upload_task_no_key")));u.call(d,{Bucket:r,Region:n,Key:o,calledBySdk:"abortUploadTask"},(function(e,r){if(e)return t(e);p.emit("get_abort_array",r.UploadList||[])}))}else{if("task"!==l)return t(s.error(new Error("abort_unknown_level")));if(!a)return t(s.error(new Error("abort_upload_task_no_id")));if(!o)return t(s.error(new Error("abort_upload_task_no_key")));p.emit("get_abort_array",[{Key:o,UploadId:a}])}},uploadFile:function(e,t){var r=this,o=void 0===e.SliceSize?r.options.SliceSize:e.SliceSize,a=[],i=e.Body,c=i.size||i.length||0,u={TaskId:""};if(r.options.EnableTracker){var d=r.options.UseAccelerate||"string"==typeof r.options.Domain&&r.options.Domain.includes("accelerate.");e.tracker=new l({bucket:e.Bucket,region:e.Region,apiName:"uploadFile",fileKey:e.Key,fileSize:c,accelerate:d,deepTracker:r.options.DeepTracker,customId:r.options.CustomId,delay:r.options.TrackerDelay})}s.each(e,(function(e,t){"object"!==n(e)&&"function"!=typeof e&&(u[t]=e)}));var p=e.onTaskReady;e.onTaskReady=function(e){u.TaskId=e,p&&p(e)};var f=c>o?"sliceUploadFile":"putObject",h=e.onFileFinish;a.push({api:f,params:e,callback:function(r,n){e.tracker&&e.tracker.formatResult(r,n),h&&h(r,n,u),t&&t(r,n)}}),r._addTasks(a)},uploadFiles:function(e,t){var r=this,o=void 0===e.SliceSize?r.options.SliceSize:e.SliceSize,a=0,i=0,c=s.throttleOnProgress.call(r,i,e.onProgress),u=e.files.length,d=e.onFileFinish,p=Array(u),f=function(e,r,n){c(null,!0),d&&d(e,r,n),p[n.Index]={options:n,error:e,data:r},--u<=0&&t&&t(null,{files:p})},h=[];s.each(e.files,(function(e,t){!function(){var u=e.Body,d=u.size||u.length||0,p={Index:t,TaskId:""};if(!r.options.UseRawKey&&e.Key&&"/"===e.Key.substr(0,1)&&(e.Key=e.Key.substr(1)),a+=d,r.options.EnableTracker){var v=r.options.UseAccelerate||"string"==typeof r.options.Domain&&r.options.Domain.includes("accelerate.");e.tracker=new l({bucket:e.Bucket,region:e.Region,apiName:"uploadFiles",fileKey:e.Key,fileSize:d,accelerate:v,deepTracker:r.options.DeepTracker,customId:r.options.CustomId,delay:r.options.TrackerDelay})}s.each(e,(function(e,t){"object"!==n(e)&&"function"!=typeof e&&(p[t]=e)}));var g=e.onTaskReady;e.onTaskReady=function(e){p.TaskId=e,g&&g(e)};var m=0,b=e.onProgress;e.onProgress=function(e){i=i-m+e.loaded,m=e.loaded,b&&b(e),c({loaded:i,total:a})};var A=d>o?"sliceUploadFile":"putObject",y=e.onFileFinish;h.push({api:A,params:e,callback:function(t,r){e.tracker&&e.tracker.formatResult(t,r),y&&y(t,r),f&&f(t,r,p)}})}()})),r._addTasks(h)},sliceCopyFile:function(e,t){var r=new i,n=this,l=e.Bucket,c=e.Region,u=e.Key,p=e.CopySource,f=s.getSourceParams.call(this,p);if(f){var h=f.Bucket,v=f.Region,m=decodeURIComponent(f.Key),b=void 0===e.CopySliceSize?n.options.CopySliceSize:e.CopySliceSize;b=Math.max(0,b);var A,y,x=e.CopyChunkSize||this.options.CopyChunkSize,w=this.options.CopyChunkParallelLimit,C=this.options.ChunkRetryTimes+1,k=0,_=0,S={},B={},E={};r.on("copy_slice_complete",(function(r){s.each(e.Headers,(function(e,t){t.toLowerCase().indexOf("x-cos-meta-")}));var i=s.map(r.PartList,(function(e){return{PartNumber:e.PartNumber,ETag:e.ETag}}));a.retry(C,(function(e){n.multipartComplete({Bucket:l,Region:c,Key:u,UploadId:r.UploadId,Parts:i,calledBySdk:"sliceCopyFile"},e)}),(function(e,n){if(o.removeUsing(r.UploadId),e)return y(null,!0),t(e);o.removeUploadId(r.UploadId),y({loaded:A,total:A},!0),t(null,n)}))})),r.on("get_copy_data_finish",(function(e){var i=o.getCopyFileId(p,S,x,l,u);i&&o.saveUploadId(i,e.UploadId,n.options.UploadIdCacheLimit),o.setUsing(e.UploadId);var d=s.filter(e.PartList,(function(e){return e.Uploaded&&(_+=e.PartNumber>=k&&A%x||x),!e.Uploaded}));a.eachLimit(d,w,(function(t,r){var o=t.PartNumber,i=t.CopySourceRange,s=t.end-t.start;a.retry(C,(function(t){g.call(n,{Bucket:l,Region:c,Key:u,CopySource:p,UploadId:e.UploadId,PartNumber:o,CopySourceRange:i},t)}),(function(e,n){if(e)return r(e);y({loaded:_+=s,total:A}),t.ETag=n.ETag,r(e||null,n)}))}),(function(n){if(n)return o.removeUsing(e.UploadId),y(null,!0),t(n);r.emit("copy_slice_complete",e)}))})),r.on("get_chunk_size_finish",(function(){var a=function(){n.multipartInit({Bucket:l,Region:c,Key:u,Headers:E},(function(n,o){if(n)return t(n);e.UploadId=o.UploadId,r.emit("get_copy_data_finish",{UploadId:e.UploadId,PartList:e.PartList})}))},i=o.getCopyFileId(p,S,x,l,u),f=o.getUploadIdList(i);if(!i||!f)return a();!function t(i){if(i>=f.length)return a();var p=f[i];if(o.using[p])return t(i+1);d.call(n,{Bucket:l,Region:c,Key:u,UploadId:p},(function(n,a){if(n)o.removeUploadId(p),t(i+1);else{if(o.using[p])return t(i+1);var l={},c=0;s.each(a.PartList,(function(e){var t=parseInt(e.Size),r=c+t-1;l[e.PartNumber+"|"+c+"|"+r]=e.ETag,c+=t})),s.each(e.PartList,(function(e){var t=l[e.PartNumber+"|"+e.start+"|"+e.end];t&&(e.ETag=t,e.Uploaded=!0)})),r.emit("get_copy_data_finish",{UploadId:p,PartList:e.PartList})}}))}(0)})),r.on("get_file_size_finish",(function(){if(function(){for(var t=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],r=1048576,o=0;o<t.length&&!(A/(r=1024*t[o]*1024)<=n.options.MaxPartNumber);o++);e.ChunkSize=x=Math.max(x,r),k=Math.ceil(A/x);for(var a=[],i=1;i<=k;i++){var s=(i-1)*x,l=i*x<A?i*x-1:A-1,c={PartNumber:i,start:s,end:l,CopySourceRange:"bytes="+s+"-"+l};a.push(c)}e.PartList=a}(),(E="Replaced"===e.Headers["x-cos-metadata-directive"]?e.Headers:B)["x-cos-storage-class"]=e.Headers["x-cos-storage-class"]||B["x-cos-storage-class"],E=s.clearKey(E),"ARCHIVE"===B["x-cos-storage-class"]||"DEEP_ARCHIVE"===B["x-cos-storage-class"]){var o=B["x-cos-restore"];if(!o||'ongoing-request="true"'===o)return void t(s.error(new Error("Unrestored archive object is not allowed to be copied")))}delete E["x-cos-copy-source"],delete E["x-cos-metadata-directive"],delete E["x-cos-copy-source-If-Modified-Since"],delete E["x-cos-copy-source-If-Unmodified-Since"],delete E["x-cos-copy-source-If-Match"],delete E["x-cos-copy-source-If-None-Match"],r.emit("get_chunk_size_finish")})),n.headObject({Bucket:h,Region:v,Key:m},(function(o,a){if(o)o.statusCode&&404===o.statusCode?t(s.error(o,{ErrorStatus:m+" Not Exist"})):t(o);else if(void 0!==(A=e.FileSize=a.headers["content-length"])&&A)if(y=s.throttleOnProgress.call(n,A,e.onProgress),A<=b)e.Headers["x-cos-metadata-directive"]||(e.Headers["x-cos-metadata-directive"]="Copy"),n.putObjectCopy(e,(function(e,r){if(e)return y(null,!0),t(e);y({loaded:A,total:A},!0),t(e,r)}));else{var i=a.headers;S=i,B={"Cache-Control":i["cache-control"],"Content-Disposition":i["content-disposition"],"Content-Encoding":i["content-encoding"],"Content-Type":i["content-type"],Expires:i.expires,"x-cos-storage-class":i["x-cos-storage-class"]},s.each(i,(function(e,t){var r="x-cos-meta-";0===t.indexOf(r)&&t.length>11&&(B[t]=e)})),r.emit("get_file_size_finish")}else t(s.error(new Error('get Content-Length error, please add "Content-Length" to CORS ExposeHeader setting.( 获取Content-Length失败,请在CORS ExposeHeader设置中添加Content-Length,请参考文档:https://cloud.tencent.com/document/product/436/13318 )')))}))}else t(s.error(new Error("CopySource format error")))}};e.exports.init=function(e,t){t.transferToTaskMethod(m,"sliceUploadFile"),s.each(m,(function(t,r){e.prototype[r]=s.apiWrapper(r,t)}))}},"./src/async.js":
  195. /*!**********************!*\
  196. !*** ./src/async.js ***!
  197. \**********************/
  198. /*! no static exports found */function(e,t){var r={eachLimit:function(e,t,r,n){if(n=n||function(){},!e.length||t<=0)return n();var o=0,a=0,i=0;!function s(){if(o>=e.length)return n();for(;i<t&&a<e.length;)i+=1,r(e[(a+=1)-1],(function(t){t?(n(t),n=function(){}):(i-=1,(o+=1)>=e.length?n():s())}))}()},retry:function(e,t,r){e<1?r():function n(o){t((function(t,a){t&&o<e?n(o+1):r(t,a)}))}(1)}};e.exports=r},"./src/base.js":
  199. /*!*********************!*\
  200. !*** ./src/base.js ***!
  201. \*********************/
  202. /*! no static exports found */function(t,r,n){var o=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),a=n(/*! ../lib/request */"./lib/request.js"),i=n(/*! ./util */"./src/util.js");function s(e,t,r){var n=i.clone(t.InventoryConfiguration);if(n.OptionalFields){var o=n.OptionalFields||[];n.OptionalFields={Field:o}}if(n.Destination&&n.Destination.COSBucketDestination&&n.Destination.COSBucketDestination.Encryption){var a=n.Destination.COSBucketDestination.Encryption;Object.keys(a).indexOf("SSECOS")>-1&&(a["SSE-COS"]=a.SSECOS,delete a.SSECOS)}var s=i.json2xml({InventoryConfiguration:n}),l=t.Headers;l["Content-Type"]="application/xml",l["Content-MD5"]=i.b64(i.md5(s));var c="PUT"===e?"name/cos:PutBucketInventory":"name/cos:PostBucketInventory";h.call(this,{Action:c,method:e,Bucket:t.Bucket,Region:t.Region,body:s,action:"inventory",qs:{id:t.Id},headers:l},(function(e,t){return e&&204===e.statusCode?r(null,{statusCode:e.statusCode}):e?r(e):void r(null,{statusCode:t.statusCode,headers:t.headers})}))}function l(e){var t={GrantFullControl:[],GrantWrite:[],GrantRead:[],GrantReadAcp:[],GrantWriteAcp:[],ACL:""},r={FULL_CONTROL:"GrantFullControl",WRITE:"GrantWrite",READ:"GrantRead",READ_ACP:"GrantReadAcp",WRITE_ACP:"GrantWriteAcp"},n=(e&&e.AccessControlList||{}).Grant;n&&(n=i.isArray(n)?n:[n]);var o={READ:0,WRITE:0,FULL_CONTROL:0};return n&&n.length&&i.each(n,(function(n){"qcs::cam::anyone:anyone"===n.Grantee.ID||"http://cam.qcloud.com/groups/global/AllUsers"===n.Grantee.URI?o[n.Permission]=1:n.Grantee.ID!==e.Owner.ID&&t[r[n.Permission]].push('id="'+n.Grantee.ID+'"')})),o.FULL_CONTROL||o.WRITE&&o.READ?t.ACL="public-read-write":o.READ?t.ACL="public-read":t.ACL="private",i.each(r,(function(e){t[e]=c(t[e].join(","))})),t}function c(e){var t,r,n=e.split(","),o={};for(t=0;t<n.length;)o[r=n[t].trim()]?n.splice(t,1):(o[r]=!0,n[t]=r,t++);return n.join(",")}function u(e){var t=e.region||"",r=e.bucket||"",n=r.substr(0,r.lastIndexOf("-")),a=r.substr(r.lastIndexOf("-")+1),s=e.domain,l=e.object;"function"==typeof s&&(s=s({Bucket:r,Region:t})),["http","https"].includes(e.protocol)&&(e.protocol=e.protocol+":");var c=e.protocol||(i.isBrowser&&"object"===("undefined"==typeof location?"undefined":o(location))&&"http:"===location.protocol?"http:":"https:");s||(s=["cn-south","cn-south-2","cn-north","cn-east","cn-southwest","sg"].indexOf(t)>-1?"{Region}.myqcloud.com":"cos.{Region}.myqcloud.com",e.ForcePathStyle||(s="{Bucket}."+s)),s=(s=s.replace(/\{\{AppId\}\}/gi,a).replace(/\{\{Bucket\}\}/gi,n).replace(/\{\{Region\}\}/gi,t).replace(/\{\{.*?\}\}/gi,"")).replace(/\{AppId\}/gi,a).replace(/\{BucketName\}/gi,n).replace(/\{Bucket\}/gi,r).replace(/\{Region\}/gi,t).replace(/\{.*?\}/gi,""),/^[a-zA-Z]+:\/\//.test(s)||(s=c+"//"+s),"/"===s.slice(-1)&&(s=s.slice(0,-1));var u=s;return e.ForcePathStyle&&(u+="/"+r),u+="/",l&&(u+=i.camSafeUrlEncode(l).replace(/%2F/g,"/")),e.isLocation&&(u=u.replace(/^https?:\/\//,"")),u}var d=function(e){if(!e.Bucket||!e.Region)return"";var t=void 0===e.UseAccelerate?this.options.UseAccelerate:e.UseAccelerate,r=(e.Url||u({ForcePathStyle:this.options.ForcePathStyle,protocol:this.options.Protocol,domain:this.options.Domain,bucket:e.Bucket,region:t?"accelerate":e.Region})).replace(/^https?:\/\/([^/]+)(\/.*)?$/,"$1");return new RegExp("^([a-z\\d-]+-\\d+\\.)?(cos|cosv6|ci|pic)\\.([a-z\\d-]+)\\.myqcloud\\.com$").test(r)?r:""};function p(t,r){var n=i.clone(t.Headers),o="";i.each(n,(function(e,t){(""===e||["content-type","cache-control","expires"].indexOf(t.toLowerCase())>-1)&&delete n[t],"host"===t.toLowerCase()&&(o=e)}));var a=!1!==t.ForceSignHost;!o&&t.SignHost&&a&&(n.Host=t.SignHost);var s=!1,l=function(e,t){s||(s=!0,t&&t.XCosSecurityToken&&!t.SecurityToken&&((t=i.clone(t)).SecurityToken=t.XCosSecurityToken,delete t.XCosSecurityToken),r&&r(e,t))},c=this,u=t.Bucket||"",d=t.Region||"",p=t.Key||"";c.options.ForcePathStyle&&u&&(p=u+"/"+p);var f="/"+p,h={},v=t.Scope;if(!v){var g=t.Action||"",m=t.ResourceKey||t.Key||"";v=t.Scope||[{action:g,bucket:u,region:d,prefix:m}]}var b=i.md5(JSON.stringify(v));c._StsCache=c._StsCache||[],function(){var e,t;for(e=c._StsCache.length-1;e>=0;e--){t=c._StsCache[e];var r=Math.round(i.getSkewTime(c.options.SystemClockOffset)/1e3)+30;if(t.StartTime&&r<t.StartTime||r>=t.ExpiredTime)c._StsCache.splice(e,1);else if(!t.ScopeLimit||t.ScopeLimit&&t.ScopeKey===b){h=t;break}}}();var A,y=function(){var e="";h.StartTime&&t.Expires?e=h.StartTime+";"+(h.StartTime+1*t.Expires):h.StartTime&&h.ExpiredTime&&(e=h.StartTime+";"+h.ExpiredTime);var r={Authorization:i.getAuth({SecretId:h.TmpSecretId,SecretKey:h.TmpSecretKey,Method:t.Method,Pathname:f,Query:t.Query,Headers:n,Expires:t.Expires,UseRawKey:c.options.UseRawKey,SystemClockOffset:c.options.SystemClockOffset,KeyTime:e,ForceSignHost:a}),SecurityToken:h.SecurityToken||h.XCosSecurityToken||"",Token:h.Token||"",ClientIP:h.ClientIP||"",ClientUA:h.ClientUA||""};l(null,r)},x=function(t){if(t.Authorization){var r=!1,n=t.Authorization;if(n)if(n.indexOf(" ")>-1)r=!1;else if(n.indexOf("q-sign-algorithm=")>-1&&n.indexOf("q-ak=")>-1&&n.indexOf("q-sign-time=")>-1&&n.indexOf("q-key-time=")>-1&&n.indexOf("q-url-param-list=")>-1)r=!0;else try{(n=atob(n)).indexOf("a=")>-1&&n.indexOf("k=")>-1&&n.indexOf("t=")>-1&&n.indexOf("r=")>-1&&n.indexOf("b=")>-1&&(r=!0)}catch(e){}if(!r)return i.error(new Error("getAuthorization callback params format error"))}else{if(!t.TmpSecretId)return i.error(new Error('getAuthorization callback params missing "TmpSecretId"'));if(!t.TmpSecretKey)return i.error(new Error('getAuthorization callback params missing "TmpSecretKey"'));if(!t.SecurityToken&&!t.XCosSecurityToken)return i.error(new Error('getAuthorization callback params missing "SecurityToken"'));if(!t.ExpiredTime)return i.error(new Error('getAuthorization callback params missing "ExpiredTime"'));if(t.ExpiredTime&&10!==t.ExpiredTime.toString().length)return i.error(new Error('getAuthorization callback params "ExpiredTime" should be 10 digits'));if(t.StartTime&&10!==t.StartTime.toString().length)return i.error(new Error('getAuthorization callback params "StartTime" should be 10 StartTime'))}return!1};if(h.ExpiredTime&&h.ExpiredTime-i.getSkewTime(c.options.SystemClockOffset)/1e3>60)y();else if(c.options.getAuthorization)c.options.getAuthorization.call(c,{Bucket:u,Region:d,Method:t.Method,Key:p,Pathname:f,Query:t.Query,Headers:n,Scope:v,SystemClockOffset:c.options.SystemClockOffset,ForceSignHost:a},(function(e){"string"==typeof e&&(e={Authorization:e});var t=x(e);if(t)return l(t);e.Authorization?l(null,e):((h=e||{}).Scope=v,h.ScopeKey=b,c._StsCache.push(h),y())}));else{if(!c.options.getSTS)return A={Authorization:i.getAuth({SecretId:t.SecretId||c.options.SecretId,SecretKey:t.SecretKey||c.options.SecretKey,Method:t.Method,Pathname:f,Query:t.Query,Headers:n,Expires:t.Expires,UseRawKey:c.options.UseRawKey,SystemClockOffset:c.options.SystemClockOffset,ForceSignHost:a}),SecurityToken:c.options.SecurityToken||c.options.XCosSecurityToken},l(null,A),A;c.options.getSTS.call(c,{Bucket:u,Region:d},(function(e){(h=e||{}).Scope=v,h.ScopeKey=b,h.TmpSecretId||(h.TmpSecretId=h.SecretId),h.TmpSecretKey||(h.TmpSecretKey=h.SecretKey);var t=x(h);if(t)return l(t);c._StsCache.push(h),y()}))}return""}function f(t){var r=!1,n=!1,o=t.headers&&(t.headers.date||t.headers.Date)||t.error&&t.error.ServerTime;try{var a=t.error.Code,s=t.error.Message;("RequestTimeTooSkewed"===a||"AccessDenied"===a&&"Request has expired"===s)&&(n=!0)}catch(e){}if(t)if(n&&o){var l=Date.parse(o);this.options.CorrectClockSkew&&Math.abs(i.getSkewTime(this.options.SystemClockOffset)-l)>=3e4&&(console.error("error: Local time is too skewed."),this.options.SystemClockOffset=l-Date.now(),r=!0)}else 5===Math.floor(t.statusCode/100)&&(r=!0);return r}function h(e,t){var r=this;!e.headers&&(e.headers={}),!e.qs&&(e.qs={}),e.VersionId&&(e.qs.versionId=e.VersionId),e.qs=i.clearKey(e.qs),e.headers&&(e.headers=i.clearKey(e.headers)),e.qs&&(e.qs=i.clearKey(e.qs));var n=i.clone(e.qs);e.action&&(n[e.action]="");var o=e.url||e.Url,a=e.SignHost||d.call(this,{Bucket:e.Bucket,Region:e.Region,Url:o}),s=e.tracker;!function o(i){var l=r.options.SystemClockOffset;s&&s.setParams({signStartTime:(new Date).getTime(),retryTimes:i-1}),p.call(r,{Bucket:e.Bucket||"",Region:e.Region||"",Method:e.method,Key:e.Key,Query:n,Headers:e.headers,SignHost:a,Action:e.Action,ResourceKey:e.ResourceKey,Scope:e.Scope,ForceSignHost:r.options.ForceSignHost},(function(n,a){n?t(n):(s&&s.setParams({signEndTime:(new Date).getTime(),httpStartTime:(new Date).getTime()}),e.AuthData=a,v.call(r,e,(function(n,a){s&&s.setParams({httpEndTime:(new Date).getTime()}),n&&i<2&&(l!==r.options.SystemClockOffset||f.call(r,n))?(e.headers&&(delete e.headers.Authorization,delete e.headers.token,delete e.headers.clientIP,delete e.headers.clientUA,e.headers["x-cos-security-token"]&&delete e.headers["x-cos-security-token"],e.headers["x-ci-security-token"]&&delete e.headers["x-ci-security-token"]),o(i+1)):t(n,a)})))}))}(1)}function v(t,r){var n=this,o=t.TaskId;if(!o||n._isRunningTask(o)){var s=t.Bucket,l=t.Region,c=t.Key,d=t.method||"GET",p=t.Url||t.url,f=t.body,h=t.rawBody;n.options.UseAccelerate&&(l="accelerate"),p=p||u({ForcePathStyle:n.options.ForcePathStyle,protocol:n.options.Protocol,domain:n.options.Domain,bucket:s,region:l,object:c}),t.action&&(p=p+"?"+(i.isIOS_QQ?"".concat(t.action,"="):t.action)),t.qsStr&&(p=p.indexOf("?")>-1?p+"&"+t.qsStr:p+"?"+t.qsStr);var v={method:d,url:p,headers:t.headers,qs:t.qs,body:f},g="x-cos-security-token";if(i.isCIHost(p)&&(g="x-ci-security-token"),v.headers.Authorization=t.AuthData.Authorization,t.AuthData.Token&&(v.headers.token=t.AuthData.Token),t.AuthData.ClientIP&&(v.headers.clientIP=t.AuthData.ClientIP),t.AuthData.ClientUA&&(v.headers.clientUA=t.AuthData.ClientUA),t.AuthData.SecurityToken&&(v.headers[g]=t.AuthData.SecurityToken),v.headers&&(v.headers=i.clearKey(v.headers)),v=i.clearKey(v),t.onProgress&&"function"==typeof t.onProgress){var m=f&&(f.size||f.length)||0;v.onProgress=function(e){if(!o||n._isRunningTask(o)){var r=e?e.loaded:0;t.onProgress({loaded:r,total:m})}}}t.onDownloadProgress&&(v.onDownloadProgress=t.onDownloadProgress),t.DataType&&(v.dataType=t.DataType),this.options.Timeout&&(v.timeout=this.options.Timeout),n.options.ForcePathStyle&&(v.pathStyle=n.options.ForcePathStyle),n.emit("before-send",v);var b=v.url.includes("accelerate."),A=v.qs?Object.keys(v.qs).map((function(e){return"".concat(e,"=").concat(v.qs[e])})).join("&"):"",y=A?v.url+"?"+A:v.url;t.tracker&&t.tracker.setParams({reqUrl:y,accelerate:b?"Y":"N"}),t.tracker&&t.tracker.parent&&t.tracker.parent.setParams({reqUrl:y,accelerate:b?"Y":"N"});var x=(n.options.Request||a)(v,(function(t){if(!t||"abort"!==t.error){var a={options:v,error:t&&t.error,statusCode:t&&t.statusCode||0,statusMessage:t&&t.statusMessage||"",headers:t&&t.headers||{},body:t&&t.body};n.emit("after-receive",a);var s,l=a.error,c=a.body,u={statusCode:a.statusCode,statusMessage:a.statusMessage,headers:a.headers},d=function(e,t){if(o&&n.off("inner-kill-task",w),!s){s=!0;var a={};u&&u.statusCode&&(a.statusCode=u.statusCode),u&&u.headers&&(a.headers=u.headers),e?(e=i.extend(e||{},a),r(e,null)):(t=i.extend(t||{},a),r(null,t)),x=null}};if(l)return d(i.error(l));var p,f=u.statusCode,g=2===Math.floor(f/100);if(h&&g)return d(null,{body:c});try{p=c&&c.indexOf("<")>-1&&c.indexOf(">")>-1&&i.xml2json(c)||{}}catch(e){p={}}var m=p&&p.Error;g?d(null,p):m?d(i.error(new Error(m.Message),{code:m.Code,error:m})):f?d(i.error(new Error(u.statusMessage),{code:""+f})):f&&d(i.error(new Error("statusCode error")))}})),w=function e(t){t.TaskId===o&&(x&&x.abort&&x.abort(),n.off("inner-kill-task",e))};o&&n.on("inner-kill-task",w)}}var g={getService:function(e,t){"function"==typeof e&&(t=e,e={});var r=this.options.Protocol||(i.isBrowser&&"object"===("undefined"==typeof location?"undefined":o(location))&&"http:"===location.protocol?"http:":"https:"),n=this.options.ServiceDomain,a=e.AppId||this.options.appId,s=e.Region;n?(n=n.replace(/\{\{AppId\}\}/gi,a||"").replace(/\{\{Region\}\}/gi,s||"").replace(/\{\{.*?\}\}/gi,""),/^[a-zA-Z]+:\/\//.test(n)||(n=r+"//"+n),"/"===n.slice(-1)&&(n=n.slice(0,-1))):n=s?r+"//cos."+s+".myqcloud.com":r+"//service.cos.myqcloud.com";var l="",c=s?"cos."+s+".myqcloud.com":"service.cos.myqcloud.com";c===n.replace(/^https?:\/\/([^/]+)(\/.*)?$/,"$1")&&(l=c),h.call(this,{Action:"name/cos:GetService",url:n,method:"GET",headers:e.Headers,SignHost:l},(function(e,r){if(e)return t(e);var n=r&&r.ListAllMyBucketsResult&&r.ListAllMyBucketsResult.Buckets&&r.ListAllMyBucketsResult.Buckets.Bucket||[];n=i.isArray(n)?n:[n];var o=r&&r.ListAllMyBucketsResult&&r.ListAllMyBucketsResult.Owner||{};t(null,{Buckets:n,Owner:o,statusCode:r.statusCode,headers:r.headers})}))},putBucket:function(e,t){var r=this,n="";if(e.BucketAZConfig){var o={BucketAZConfig:e.BucketAZConfig};n=i.json2xml({CreateBucketConfiguration:o})}h.call(this,{Action:"name/cos:PutBucket",method:"PUT",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,body:n},(function(n,o){if(n)return t(n);var a=u({protocol:r.options.Protocol,domain:r.options.Domain,bucket:e.Bucket,region:e.Region,isLocation:!0});t(null,{Location:a,statusCode:o.statusCode,headers:o.headers})}))},headBucket:function(e,t){h.call(this,{Action:"name/cos:HeadBucket",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,method:"HEAD"},t)},getBucket:function(e,t){var r={};r.prefix=e.Prefix||"",r.delimiter=e.Delimiter,r.marker=e.Marker,r["max-keys"]=e.MaxKeys,r["encoding-type"]=e.EncodingType,h.call(this,{Action:"name/cos:GetBucket",ResourceKey:r.prefix,method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,qs:r},(function(e,r){if(e)return t(e);var n=r.ListBucketResult||{},o=n.Contents||[],a=n.CommonPrefixes||[];o=i.isArray(o)?o:[o],a=i.isArray(a)?a:[a];var s=i.clone(n);i.extend(s,{Contents:o,CommonPrefixes:a,statusCode:r.statusCode,headers:r.headers}),t(null,s)}))},deleteBucket:function(e,t){h.call(this,{Action:"name/cos:DeleteBucket",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,method:"DELETE"},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},putBucketAcl:function(e,t){var r=e.Headers,n="";if(e.AccessControlPolicy){var o=i.clone(e.AccessControlPolicy||{}),a=o.Grants||o.Grant;a=i.isArray(a)?a:[a],delete o.Grant,delete o.Grants,o.AccessControlList={Grant:a},n=i.json2xml({AccessControlPolicy:o}),r["Content-Type"]="application/xml",r["Content-MD5"]=i.b64(i.md5(n))}i.each(r,(function(e,t){0===t.indexOf("x-cos-grant-")&&(r[t]=c(r[t]))})),h.call(this,{Action:"name/cos:PutBucketACL",method:"PUT",Bucket:e.Bucket,Region:e.Region,headers:r,action:"acl",body:n},(function(e,r){if(e)return t(e);t(null,{statusCode:r.statusCode,headers:r.headers})}))},getBucketAcl:function(e,t){h.call(this,{Action:"name/cos:GetBucketACL",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"acl"},(function(e,r){if(e)return t(e);var n=r.AccessControlPolicy||{},o=n.Owner||{},a=n.AccessControlList.Grant||[];a=i.isArray(a)?a:[a];var s=l(n);r.headers&&r.headers["x-cos-acl"]&&(s.ACL=r.headers["x-cos-acl"]),s=i.extend(s,{Owner:o,Grants:a,statusCode:r.statusCode,headers:r.headers}),t(null,s)}))},putBucketCors:function(e,t){var r=(e.CORSConfiguration||{}).CORSRules||e.CORSRules||[];r=i.clone(i.isArray(r)?r:[r]),i.each(r,(function(e){i.each(["AllowedOrigin","AllowedHeader","AllowedMethod","ExposeHeader"],(function(t){var r=t+"s",n=e[r]||e[t]||[];delete e[r],e[t]=i.isArray(n)?n:[n]}))}));var n={CORSRule:r};e.ResponseVary&&(n.ResponseVary=e.ResponseVary);var o=i.json2xml({CORSConfiguration:n}),a=e.Headers;a["Content-Type"]="application/xml",a["Content-MD5"]=i.b64(i.md5(o)),h.call(this,{Action:"name/cos:PutBucketCORS",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:o,action:"cors",headers:a},(function(e,r){if(e)return t(e);t(null,{statusCode:r.statusCode,headers:r.headers})}))},getBucketCors:function(e,t){h.call(this,{Action:"name/cos:GetBucketCORS",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"cors"},(function(e,r){if(e)if(404===e.statusCode&&e.error&&"NoSuchCORSConfiguration"===e.error.Code){var n={CORSRules:[],statusCode:e.statusCode};e.headers&&(n.headers=e.headers),t(null,n)}else t(e);else{var o=r.CORSConfiguration||{},a=o.CORSRules||o.CORSRule||[];a=i.clone(i.isArray(a)?a:[a]);var s=o.ResponseVary;i.each(a,(function(e){i.each(["AllowedOrigin","AllowedHeader","AllowedMethod","ExposeHeader"],(function(t){var r=t+"s",n=e[r]||e[t]||[];delete e[t],e[r]=i.isArray(n)?n:[n]}))})),t(null,{CORSRules:a,ResponseVary:s,statusCode:r.statusCode,headers:r.headers})}}))},deleteBucketCors:function(e,t){h.call(this,{Action:"name/cos:DeleteBucketCORS",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"cors"},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode||e.statusCode,headers:r.headers})}))},getBucketLocation:function(e,t){h.call(this,{Action:"name/cos:GetBucketLocation",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"location"},t)},getBucketPolicy:function(t,r){h.call(this,{Action:"name/cos:GetBucketPolicy",method:"GET",Bucket:t.Bucket,Region:t.Region,headers:t.Headers,action:"policy",rawBody:!0},(function(t,n){if(t)return t.statusCode&&403===t.statusCode?r(i.error(t,{ErrorStatus:"Access Denied"})):t.statusCode&&405===t.statusCode?r(i.error(t,{ErrorStatus:"Method Not Allowed"})):t.statusCode&&404===t.statusCode?r(i.error(t,{ErrorStatus:"Policy Not Found"})):r(t);var o={};try{o=JSON.parse(n.body)}catch(e){}r(null,{Policy:o,statusCode:n.statusCode,headers:n.headers})}))},putBucketPolicy:function(t,r){var n=t.Policy;try{"string"==typeof n&&(n=JSON.parse(n))}catch(e){}if(!n||"string"==typeof n)return r(i.error(new Error("Policy format error")));var o=JSON.stringify(n);n.version||(n.version="2.0");var a=t.Headers;a["Content-Type"]="application/json",a["Content-MD5"]=i.b64(i.md5(o)),h.call(this,{Action:"name/cos:PutBucketPolicy",method:"PUT",Bucket:t.Bucket,Region:t.Region,action:"policy",body:o,headers:a},(function(e,t){return e&&204===e.statusCode?r(null,{statusCode:e.statusCode}):e?r(e):void r(null,{statusCode:t.statusCode,headers:t.headers})}))},deleteBucketPolicy:function(e,t){h.call(this,{Action:"name/cos:DeleteBucketPolicy",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"policy"},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode||e.statusCode,headers:r.headers})}))},putBucketTagging:function(e,t){var r=e.Tagging||{},n=r.TagSet||r.Tags||e.Tags||[];n=i.clone(i.isArray(n)?n:[n]);var o=i.json2xml({Tagging:{TagSet:{Tag:n}}}),a=e.Headers;a["Content-Type"]="application/xml",a["Content-MD5"]=i.b64(i.md5(o)),h.call(this,{Action:"name/cos:PutBucketTagging",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:o,action:"tagging",headers:a},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},getBucketTagging:function(t,r){h.call(this,{Action:"name/cos:GetBucketTagging",method:"GET",Bucket:t.Bucket,Region:t.Region,headers:t.Headers,action:"tagging"},(function(t,n){if(t)if(404!==t.statusCode||!t.error||"Not Found"!==t.error&&"NoSuchTagSet"!==t.error.Code)r(t);else{var o={Tags:[],statusCode:t.statusCode};t.headers&&(o.headers=t.headers),r(null,o)}else{var a=[];try{a=n.Tagging.TagSet.Tag||[]}catch(e){}a=i.clone(i.isArray(a)?a:[a]),r(null,{Tags:a,statusCode:n.statusCode,headers:n.headers})}}))},deleteBucketTagging:function(e,t){h.call(this,{Action:"name/cos:DeleteBucketTagging",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"tagging"},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},putBucketLifecycle:function(e,t){var r=(e.LifecycleConfiguration||{}).Rules||e.Rules||[];r=i.clone(r);var n=i.json2xml({LifecycleConfiguration:{Rule:r}}),o=e.Headers;o["Content-Type"]="application/xml",o["Content-MD5"]=i.b64(i.md5(n)),h.call(this,{Action:"name/cos:PutBucketLifecycle",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:n,action:"lifecycle",headers:o},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},getBucketLifecycle:function(t,r){h.call(this,{Action:"name/cos:GetBucketLifecycle",method:"GET",Bucket:t.Bucket,Region:t.Region,headers:t.Headers,action:"lifecycle"},(function(t,n){if(t)if(404===t.statusCode&&t.error&&"NoSuchLifecycleConfiguration"===t.error.Code){var o={Rules:[],statusCode:t.statusCode};t.headers&&(o.headers=t.headers),r(null,o)}else r(t);else{var a=[];try{a=n.LifecycleConfiguration.Rule||[]}catch(e){}a=i.clone(i.isArray(a)?a:[a]),r(null,{Rules:a,statusCode:n.statusCode,headers:n.headers})}}))},deleteBucketLifecycle:function(e,t){h.call(this,{Action:"name/cos:DeleteBucketLifecycle",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"lifecycle"},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},putBucketVersioning:function(e,t){if(e.VersioningConfiguration){var r=e.VersioningConfiguration||{},n=i.json2xml({VersioningConfiguration:r}),o=e.Headers;o["Content-Type"]="application/xml",o["Content-MD5"]=i.b64(i.md5(n)),h.call(this,{Action:"name/cos:PutBucketVersioning",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:n,action:"versioning",headers:o},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))}else t(i.error(new Error("missing param VersioningConfiguration")))},getBucketVersioning:function(e,t){h.call(this,{Action:"name/cos:GetBucketVersioning",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"versioning"},(function(e,r){e||!r.VersioningConfiguration&&(r.VersioningConfiguration={}),t(e,r)}))},putBucketReplication:function(e,t){var r=i.clone(e.ReplicationConfiguration),n=i.json2xml({ReplicationConfiguration:r});n=(n=n.replace(/<(\/?)Rules>/gi,"<$1Rule>")).replace(/<(\/?)Tags>/gi,"<$1Tag>");var o=e.Headers;o["Content-Type"]="application/xml",o["Content-MD5"]=i.b64(i.md5(n)),h.call(this,{Action:"name/cos:PutBucketReplication",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:n,action:"replication",headers:o},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},getBucketReplication:function(e,t){h.call(this,{Action:"name/cos:GetBucketReplication",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"replication"},(function(e,r){if(e)if(404!==e.statusCode||!e.error||"Not Found"!==e.error&&"ReplicationConfigurationnotFoundError"!==e.error.Code)t(e);else{var n={ReplicationConfiguration:{Rules:[]},statusCode:e.statusCode};e.headers&&(n.headers=e.headers),t(null,n)}else!r.ReplicationConfiguration&&(r.ReplicationConfiguration={}),r.ReplicationConfiguration.Rule&&(r.ReplicationConfiguration.Rules=i.makeArray(r.ReplicationConfiguration.Rule),delete r.ReplicationConfiguration.Rule),t(e,r)}))},deleteBucketReplication:function(e,t){h.call(this,{Action:"name/cos:DeleteBucketReplication",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"replication"},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},putBucketWebsite:function(e,t){if(e.WebsiteConfiguration){var r=i.clone(e.WebsiteConfiguration||{}),n=r.RoutingRules||r.RoutingRule||[];n=i.isArray(n)?n:[n],delete r.RoutingRule,delete r.RoutingRules,n.length&&(r.RoutingRules={RoutingRule:n});var o=i.json2xml({WebsiteConfiguration:r}),a=e.Headers;a["Content-Type"]="application/xml",a["Content-MD5"]=i.b64(i.md5(o)),h.call(this,{Action:"name/cos:PutBucketWebsite",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:o,action:"website",headers:a},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))}else t(i.error(new Error("missing param WebsiteConfiguration")))},getBucketWebsite:function(e,t){h.call(this,{Action:"name/cos:GetBucketWebsite",method:"GET",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,action:"website"},(function(e,r){if(e)if(404===e.statusCode&&"NoSuchWebsiteConfiguration"===e.error.Code){var n={WebsiteConfiguration:{},statusCode:e.statusCode};e.headers&&(n.headers=e.headers),t(null,n)}else t(e);else{var o=r.WebsiteConfiguration||{};if(o.RoutingRules){var a=i.clone(o.RoutingRules.RoutingRule||[]);a=i.makeArray(a),o.RoutingRules=a}t(null,{WebsiteConfiguration:o,statusCode:r.statusCode,headers:r.headers})}}))},deleteBucketWebsite:function(e,t){h.call(this,{Action:"name/cos:DeleteBucketWebsite",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"website"},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},putBucketReferer:function(e,t){if(e.RefererConfiguration){var r=i.clone(e.RefererConfiguration||{}),n=r.DomainList||{},o=n.Domains||n.Domain||[];(o=i.isArray(o)?o:[o]).length&&(r.DomainList={Domain:o});var a=i.json2xml({RefererConfiguration:r}),s=e.Headers;s["Content-Type"]="application/xml",s["Content-MD5"]=i.b64(i.md5(a)),h.call(this,{Action:"name/cos:PutBucketReferer",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:a,action:"referer",headers:s},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))}else t(i.error(new Error("missing param RefererConfiguration")))},getBucketReferer:function(e,t){h.call(this,{Action:"name/cos:GetBucketReferer",method:"GET",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,action:"referer"},(function(e,r){if(e)if(404===e.statusCode&&"NoSuchRefererConfiguration"===e.error.Code){var n={WebsiteConfiguration:{},statusCode:e.statusCode};e.headers&&(n.headers=e.headers),t(null,n)}else t(e);else{var o=r.RefererConfiguration||{};if(o.DomainList){var a=i.makeArray(o.DomainList.Domain||[]);o.DomainList={Domains:a}}t(null,{RefererConfiguration:o,statusCode:r.statusCode,headers:r.headers})}}))},putBucketDomain:function(e,t){var r=(e.DomainConfiguration||{}).DomainRule||e.DomainRule||[];r=i.clone(r);var n=i.json2xml({DomainConfiguration:{DomainRule:r}}),o=e.Headers;o["Content-Type"]="application/xml",o["Content-MD5"]=i.b64(i.md5(n)),h.call(this,{Action:"name/cos:PutBucketDomain",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:n,action:"domain",headers:o},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},getBucketDomain:function(t,r){h.call(this,{Action:"name/cos:GetBucketDomain",method:"GET",Bucket:t.Bucket,Region:t.Region,headers:t.Headers,action:"domain"},(function(t,n){if(t)return r(t);var o=[];try{o=n.DomainConfiguration.DomainRule||[]}catch(e){}o=i.clone(i.isArray(o)?o:[o]),r(null,{DomainRule:o,statusCode:n.statusCode,headers:n.headers})}))},deleteBucketDomain:function(e,t){h.call(this,{Action:"name/cos:DeleteBucketDomain",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"domain"},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},putBucketOrigin:function(e,t){var r=(e.OriginConfiguration||{}).OriginRule||e.OriginRule||[];r=i.clone(r);var n=i.json2xml({OriginConfiguration:{OriginRule:r}}),o=e.Headers;o["Content-Type"]="application/xml",o["Content-MD5"]=i.b64(i.md5(n)),h.call(this,{Action:"name/cos:PutBucketOrigin",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:n,action:"origin",headers:o},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},getBucketOrigin:function(t,r){h.call(this,{Action:"name/cos:GetBucketOrigin",method:"GET",Bucket:t.Bucket,Region:t.Region,headers:t.Headers,action:"origin"},(function(t,n){if(t)return r(t);var o=[];try{o=n.OriginConfiguration.OriginRule||[]}catch(e){}o=i.clone(i.isArray(o)?o:[o]),r(null,{OriginRule:o,statusCode:n.statusCode,headers:n.headers})}))},deleteBucketOrigin:function(e,t){h.call(this,{Action:"name/cos:DeleteBucketOrigin",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"origin"},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},putBucketLogging:function(e,t){var r=i.json2xml({BucketLoggingStatus:e.BucketLoggingStatus||""}),n=e.Headers;n["Content-Type"]="application/xml",n["Content-MD5"]=i.b64(i.md5(r)),h.call(this,{Action:"name/cos:PutBucketLogging",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:r,action:"logging",headers:n},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},getBucketLogging:function(e,t){h.call(this,{Action:"name/cos:GetBucketLogging",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"logging"},(function(e,r){if(e)return t(e);t(null,{BucketLoggingStatus:r.BucketLoggingStatus,statusCode:r.statusCode,headers:r.headers})}))},putBucketInventory:function(e,t){return s.call(this,"PUT",e,t)},postBucketInventory:function(e,t){return s.call(this,"POST",e,t)},getBucketInventory:function(e,t){h.call(this,{Action:"name/cos:GetBucketInventory",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"inventory",qs:{id:e.Id}},(function(e,r){if(e)return t(e);var n=r.InventoryConfiguration;if(n&&n.OptionalFields&&n.OptionalFields.Field){var o=n.OptionalFields.Field;i.isArray(o)||(o=[o]),n.OptionalFields=o}if(n.Destination&&n.Destination.COSBucketDestination&&n.Destination.COSBucketDestination.Encryption){var a=n.Destination.COSBucketDestination.Encryption;Object.keys(a).indexOf("SSE-COS")>-1&&(a.SSECOS=a["SSE-COS"],delete a["SSE-COS"])}t(null,{InventoryConfiguration:n,statusCode:r.statusCode,headers:r.headers})}))},listBucketInventory:function(e,t){h.call(this,{Action:"name/cos:ListBucketInventory",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"inventory",qs:{"continuation-token":e.ContinuationToken}},(function(e,r){if(e)return t(e);var n=r.ListInventoryConfigurationResult,o=n.InventoryConfiguration||[];o=i.isArray(o)?o:[o],delete n.InventoryConfiguration,i.each(o,(function(e){if(e&&e.OptionalFields&&e.OptionalFields.Field){var t=e.OptionalFields.Field;i.isArray(t)||(t=[t]),e.OptionalFields=t}if(e.Destination&&e.Destination.COSBucketDestination&&e.Destination.COSBucketDestination.Encryption){var r=e.Destination.COSBucketDestination.Encryption;Object.keys(r).indexOf("SSE-COS")>-1&&(r.SSECOS=r["SSE-COS"],delete r["SSE-COS"])}})),n.InventoryConfigurations=o,i.extend(n,{statusCode:r.statusCode,headers:r.headers}),t(null,n)}))},deleteBucketInventory:function(e,t){h.call(this,{Action:"name/cos:DeleteBucketInventory",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"inventory",qs:{id:e.Id}},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},putBucketAccelerate:function(e,t){if(e.AccelerateConfiguration){var r={AccelerateConfiguration:e.AccelerateConfiguration||{}},n=i.json2xml(r),o={"Content-Type":"application/xml"};o["Content-MD5"]=i.b64(i.md5(n)),h.call(this,{Action:"name/cos:PutBucketAccelerate",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:n,action:"accelerate",headers:o},(function(e,r){if(e)return t(e);t(null,{statusCode:r.statusCode,headers:r.headers})}))}else t(i.error(new Error("missing param AccelerateConfiguration")))},getBucketAccelerate:function(e,t){h.call(this,{Action:"name/cos:GetBucketAccelerate",method:"GET",Bucket:e.Bucket,Region:e.Region,action:"accelerate"},(function(e,r){e||!r.AccelerateConfiguration&&(r.AccelerateConfiguration={}),t(e,r)}))},putBucketEncryption:function(e,t){var r=e.ServerSideEncryptionConfiguration||{},n=r.Rule||r.Rules||[],o=i.json2xml({ServerSideEncryptionConfiguration:{Rule:n}}),a=e.Headers;a["Content-Type"]="application/xml",a["Content-MD5"]=i.b64(i.md5(o)),h.call(this,{Action:"name/cos:PutBucketEncryption",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:o,action:"encryption",headers:a},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},getBucketEncryption:function(e,t){h.call(this,{Action:"name/cos:GetBucketEncryption",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"encryption"},(function(e,r){if(e)if(404===e.statusCode&&"NoSuchEncryptionConfiguration"===e.code){var n={EncryptionConfiguration:{Rules:[]},statusCode:e.statusCode};e.headers&&(n.headers=e.headers),t(null,n)}else t(e);else{var o=i.makeArray(r.EncryptionConfiguration&&r.EncryptionConfiguration.Rule||[]);r.EncryptionConfiguration={Rules:o},t(e,r)}}))},deleteBucketEncryption:function(e,t){h.call(this,{Action:"name/cos:DeleteBucketReplication",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"encryption"},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},getObject:function(e,t){var r=e.Query||{},n=e.QueryString||"",o=i.throttleOnProgress.call(this,0,e.onProgress),a=e.tracker;a&&a.setParams({signStartTime:(new Date).getTime()}),r["response-content-type"]=e.ResponseContentType,r["response-content-language"]=e.ResponseContentLanguage,r["response-expires"]=e.ResponseExpires,r["response-cache-control"]=e.ResponseCacheControl,r["response-content-disposition"]=e.ResponseContentDisposition,r["response-content-encoding"]=e.ResponseContentEncoding,h.call(this,{Action:"name/cos:GetObject",method:"GET",Bucket:e.Bucket,Region:e.Region,Key:e.Key,VersionId:e.VersionId,DataType:e.DataType,headers:e.Headers,qs:r,qsStr:n,rawBody:!0,onDownloadProgress:o,tracker:a},(function(r,n){if(o(null,!0),r){var a=r.statusCode;return e.Headers["If-Modified-Since"]&&a&&304===a?t(null,{NotModified:!0}):t(r)}t(null,{Body:n.body,ETag:i.attr(n.headers,"etag",""),statusCode:n.statusCode,headers:n.headers})}))},headObject:function(e,t){h.call(this,{Action:"name/cos:HeadObject",method:"HEAD",Bucket:e.Bucket,Region:e.Region,Key:e.Key,VersionId:e.VersionId,headers:e.Headers},(function(r,n){if(r){var o=r.statusCode;return e.Headers["If-Modified-Since"]&&o&&304===o?t(null,{NotModified:!0,statusCode:o}):t(r)}n.ETag=i.attr(n.headers,"etag",""),t(null,n)}))},listObjectVersions:function(e,t){var r={};r.prefix=e.Prefix||"",r.delimiter=e.Delimiter,r["key-marker"]=e.KeyMarker,r["version-id-marker"]=e.VersionIdMarker,r["max-keys"]=e.MaxKeys,r["encoding-type"]=e.EncodingType,h.call(this,{Action:"name/cos:GetBucketObjectVersions",ResourceKey:r.prefix,method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,qs:r,action:"versions"},(function(e,r){if(e)return t(e);var n=r.ListVersionsResult||{},o=n.DeleteMarker||[];o=i.isArray(o)?o:[o];var a=n.Version||[];a=i.isArray(a)?a:[a];var s=i.clone(n);delete s.DeleteMarker,delete s.Version,i.extend(s,{DeleteMarkers:o,Versions:a,statusCode:r.statusCode,headers:r.headers}),t(null,s)}))},putObject:function(e,t){var r=this,n=e.ContentLength,o=i.throttleOnProgress.call(r,n,e.onProgress),a=e.Headers;a["Cache-Control"]||a["cache-control"]||(a["Cache-Control"]=""),a["Content-Type"]||a["content-type"]||(a["Content-Type"]=e.Body&&e.Body.type||"");var s=e.UploadAddMetaMd5||r.options.UploadAddMetaMd5||r.options.UploadCheckContentMd5,l=e.tracker;s&&l&&l.setParams({md5StartTime:(new Date).getTime()}),i.getBodyMd5(s,e.Body,(function(s){s&&(l&&l.setParams({md5EndTime:(new Date).getTime()}),r.options.UploadCheckContentMd5&&(a["Content-MD5"]=i.b64(s)),(e.UploadAddMetaMd5||r.options.UploadAddMetaMd5)&&(a["x-cos-meta-md5"]=s)),void 0!==e.ContentLength&&(a["Content-Length"]=e.ContentLength),o(null,!0),h.call(r,{Action:"name/cos:PutObject",TaskId:e.TaskId,method:"PUT",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,qs:e.Query,body:e.Body,onProgress:o,tracker:l},(function(a,s){if(a)return o(null,!0),t(a);o({loaded:n,total:n},!0);var l=u({ForcePathStyle:r.options.ForcePathStyle,protocol:r.options.Protocol,domain:r.options.Domain,bucket:e.Bucket,region:r.options.UseAccelerate?"accelerate":e.Region,object:e.Key});l=l.substr(l.indexOf("://")+3),s.Location=l,s.ETag=i.attr(s.headers,"etag",""),t(null,s)}))}),e.onHashProgress)},deleteObject:function(e,t){h.call(this,{Action:"name/cos:DeleteObject",method:"DELETE",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,VersionId:e.VersionId,action:e.Recursive?"recursive":""},(function(e,r){if(e){var n=e.statusCode;return n&&404===n?t(null,{BucketNotFound:!0,statusCode:n}):t(e)}t(null,{statusCode:r.statusCode,headers:r.headers})}))},getObjectAcl:function(e,t){var r={};e.VersionId&&(r.versionId=e.VersionId),h.call(this,{Action:"name/cos:GetObjectACL",method:"GET",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,qs:r,action:"acl"},(function(e,r){if(e)return t(e);var n=r.AccessControlPolicy||{},o=n.Owner||{},a=n.AccessControlList&&n.AccessControlList.Grant||[];a=i.isArray(a)?a:[a];var s=l(n);delete s.GrantWrite,r.headers&&r.headers["x-cos-acl"]&&(s.ACL=r.headers["x-cos-acl"]),s=i.extend(s,{Owner:o,Grants:a,statusCode:r.statusCode,headers:r.headers}),t(null,s)}))},putObjectAcl:function(e,t){var r=e.Headers,n="";if(e.AccessControlPolicy){var o=i.clone(e.AccessControlPolicy||{}),a=o.Grants||o.Grant;a=i.isArray(a)?a:[a],delete o.Grant,delete o.Grants,o.AccessControlList={Grant:a},n=i.json2xml({AccessControlPolicy:o}),r["Content-Type"]="application/xml",r["Content-MD5"]=i.b64(i.md5(n))}i.each(r,(function(e,t){0===t.indexOf("x-cos-grant-")&&(r[t]=c(r[t]))})),h.call(this,{Action:"name/cos:PutObjectACL",method:"PUT",Bucket:e.Bucket,Region:e.Region,Key:e.Key,action:"acl",headers:r,body:n},(function(e,r){if(e)return t(e);t(null,{statusCode:r.statusCode,headers:r.headers})}))},optionsObject:function(e,t){var r=e.Headers;r.Origin=e.Origin,r["Access-Control-Request-Method"]=e.AccessControlRequestMethod,r["Access-Control-Request-Headers"]=e.AccessControlRequestHeaders,h.call(this,{Action:"name/cos:OptionsObject",method:"OPTIONS",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:r},(function(e,r){if(e)return e.statusCode&&403===e.statusCode?t(null,{OptionsForbidden:!0,statusCode:e.statusCode}):t(e);var n=r.headers||{};t(null,{AccessControlAllowOrigin:n["access-control-allow-origin"],AccessControlAllowMethods:n["access-control-allow-methods"],AccessControlAllowHeaders:n["access-control-allow-headers"],AccessControlExposeHeaders:n["access-control-expose-headers"],AccessControlMaxAge:n["access-control-max-age"],statusCode:r.statusCode,headers:r.headers})}))},putObjectCopy:function(e,t){var r=this,n=e.Headers;n["Cache-Control"]||n["cache-control"]||(n["Cache-Control"]="");var o=e.CopySource||"",a=i.getSourceParams.call(this,o);if(a){var s=a.Bucket,l=a.Region,c=decodeURIComponent(a.Key);h.call(this,{Scope:[{action:"name/cos:GetObject",bucket:s,region:l,prefix:c},{action:"name/cos:PutObject",bucket:e.Bucket,region:e.Region,prefix:e.Key}],method:"PUT",Bucket:e.Bucket,Region:e.Region,Key:e.Key,VersionId:e.VersionId,headers:e.Headers},(function(n,o){if(n)return t(n);var a=i.clone(o.CopyObjectResult||{}),s=u({ForcePathStyle:r.options.ForcePathStyle,protocol:r.options.Protocol,domain:r.options.Domain,bucket:e.Bucket,region:e.Region,object:e.Key,isLocation:!0});i.extend(a,{Location:s,statusCode:o.statusCode,headers:o.headers}),t(null,a)}))}else t(i.error(new Error("CopySource format error")))},deleteMultipleObject:function(e,t){var r=e.Objects||[],n=e.Quiet;r=i.isArray(r)?r:[r];var o=i.json2xml({Delete:{Object:r,Quiet:n||!1}}),a=e.Headers;a["Content-Type"]="application/xml",a["Content-MD5"]=i.b64(i.md5(o));var s=i.map(r,(function(t){return{action:"name/cos:DeleteObject",bucket:e.Bucket,region:e.Region,prefix:t.Key}}));h.call(this,{Scope:s,method:"POST",Bucket:e.Bucket,Region:e.Region,body:o,action:"delete",headers:a},(function(e,r){if(e)return t(e);var n=r.DeleteResult||{},o=n.Deleted||[],a=n.Error||[];o=i.isArray(o)?o:[o],a=i.isArray(a)?a:[a];var s=i.clone(n);i.extend(s,{Error:a,Deleted:o,statusCode:r.statusCode,headers:r.headers}),t(null,s)}))},restoreObject:function(e,t){var r=e.Headers;if(e.RestoreRequest){var n=e.RestoreRequest||{},o=i.json2xml({RestoreRequest:n});r["Content-Type"]="application/xml",r["Content-MD5"]=i.b64(i.md5(o)),h.call(this,{Action:"name/cos:RestoreObject",method:"POST",Bucket:e.Bucket,Region:e.Region,Key:e.Key,VersionId:e.VersionId,body:o,action:"restore",headers:r},t)}else t(i.error(new Error("missing param RestoreRequest")))},putObjectTagging:function(e,t){var r=e.Tagging||{},n=r.TagSet||r.Tags||e.Tags||[];n=i.clone(i.isArray(n)?n:[n]);var o=i.json2xml({Tagging:{TagSet:{Tag:n}}}),a=e.Headers;a["Content-Type"]="application/xml",a["Content-MD5"]=i.b64(i.md5(o)),h.call(this,{Action:"name/cos:PutObjectTagging",method:"PUT",Bucket:e.Bucket,Key:e.Key,Region:e.Region,body:o,action:"tagging",headers:a,VersionId:e.VersionId},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},getObjectTagging:function(t,r){h.call(this,{Action:"name/cos:GetObjectTagging",method:"GET",Key:t.Key,Bucket:t.Bucket,Region:t.Region,headers:t.Headers,action:"tagging",VersionId:t.VersionId},(function(t,n){if(t)if(404!==t.statusCode||!t.error||"Not Found"!==t.error&&"NoSuchTagSet"!==t.error.Code)r(t);else{var o={Tags:[],statusCode:t.statusCode};t.headers&&(o.headers=t.headers),r(null,o)}else{var a=[];try{a=n.Tagging.TagSet.Tag||[]}catch(e){}a=i.clone(i.isArray(a)?a:[a]),r(null,{Tags:a,statusCode:n.statusCode,headers:n.headers})}}))},deleteObjectTagging:function(e,t){h.call(this,{Action:"name/cos:DeleteObjectTagging",method:"DELETE",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,action:"tagging",VersionId:e.VersionId},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},selectObjectContent:function(e,t){if(!e.SelectType)return t(i.error(new Error("missing param SelectType")));var r=e.SelectRequest||{},n=i.json2xml({SelectRequest:r}),o=e.Headers;o["Content-Type"]="application/xml",o["Content-MD5"]=i.b64(i.md5(n)),h.call(this,{Action:"name/cos:GetObject",method:"POST",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,action:"select",qs:{"select-type":e.SelectType},VersionId:e.VersionId,body:n,DataType:"arraybuffer",rawBody:!0},(function(e,r){if(e&&204===e.statusCode)return t(null,{statusCode:e.statusCode});if(e)return t(e);var n=i.parseSelectPayload(r.body);t(null,{statusCode:r.statusCode,headers:r.headers,Body:n.body,Payload:n.payload})}))},appendObject:function(e,t){var r=e.Headers;r["Cache-Control"]||r["cache-control"]||(r["Cache-Control"]=""),r["Content-Type"]||r["content-type"]||(r["Content-Type"]=e.Body&&e.Body.type||""),h.call(this,{Action:"name/cos:AppendObject",method:"POST",Bucket:e.Bucket,Region:e.Region,action:"append",Key:e.Key,body:e.Body,qs:{position:e.Position},headers:e.Headers},(function(e,r){if(e)return t(e);t(null,r)}))},uploadPartCopy:function(e,t){var r=e.CopySource||"",n=i.getSourceParams.call(this,r);if(n){var o=n.Bucket,a=n.Region,s=decodeURIComponent(n.Key);h.call(this,{Scope:[{action:"name/cos:GetObject",bucket:o,region:a,prefix:s},{action:"name/cos:PutObject",bucket:e.Bucket,region:e.Region,prefix:e.Key}],method:"PUT",Bucket:e.Bucket,Region:e.Region,Key:e.Key,VersionId:e.VersionId,qs:{partNumber:e.PartNumber,uploadId:e.UploadId},headers:e.Headers},(function(e,r){if(e)return t(e);var n=i.clone(r.CopyPartResult||{});i.extend(n,{statusCode:r.statusCode,headers:r.headers}),t(null,n)}))}else t(i.error(new Error("CopySource format error")))},multipartInit:function(e,t){var r=this,n=e.Headers,o=e.tracker;n["Cache-Control"]||n["cache-control"]||(n["Cache-Control"]=""),n["Content-Type"]||n["content-type"]||(n["Content-Type"]=e.Body&&e.Body.type||"");var a=e.Body&&(e.UploadAddMetaMd5||r.options.UploadAddMetaMd5);a&&o&&o.setParams({md5StartTime:(new Date).getTime()}),i.getBodyMd5(a,e.Body,(function(n){n&&(e.Headers["x-cos-meta-md5"]=n),a&&o&&o.setParams({md5EndTime:(new Date).getTime()}),h.call(r,{Action:"name/cos:InitiateMultipartUpload",method:"POST",Bucket:e.Bucket,Region:e.Region,Key:e.Key,action:"uploads",headers:e.Headers,qs:e.Query,tracker:o},(function(e,r){return e?(o&&o.parent&&o.parent.setParams({errorNode:"multipartInit"}),t(e)):(r=i.clone(r||{}))&&r.InitiateMultipartUploadResult?t(null,i.extend(r.InitiateMultipartUploadResult,{statusCode:r.statusCode,headers:r.headers})):void t(null,r)}))}),e.onHashProgress)},multipartUpload:function(e,t){var r=this;i.getFileSize("multipartUpload",e,(function(){var n=e.tracker,o=r.options.UploadCheckContentMd5;o&&n&&n.setParams({md5StartTime:(new Date).getTime()}),i.getBodyMd5(o,e.Body,(function(a){a&&(e.Headers["Content-MD5"]=i.b64(a)),o&&n&&n.setParams({md5EndTime:(new Date).getTime()}),n&&n.setParams({partNumber:e.PartNumber}),h.call(r,{Action:"name/cos:UploadPart",TaskId:e.TaskId,method:"PUT",Bucket:e.Bucket,Region:e.Region,Key:e.Key,qs:{partNumber:e.PartNumber,uploadId:e.UploadId},headers:e.Headers,onProgress:e.onProgress,body:e.Body||null,tracker:n},(function(e,r){if(e)return n&&n.parent&&n.parent.setParams({errorNode:"multipartUpload"}),t(e);t(null,{ETag:i.attr(r.headers,"etag",""),statusCode:r.statusCode,headers:r.headers})}))}))}))},multipartComplete:function(e,t){for(var r=this,n=e.UploadId,o=e.Parts,a=e.tracker,s=0,l=o.length;s<l;s++)o[s].ETag&&0===o[s].ETag.indexOf('"')||(o[s].ETag='"'+o[s].ETag+'"');var c=i.json2xml({CompleteMultipartUpload:{Part:o}});c=c.replace(/\n\s*/g,"");var d=e.Headers;d["Content-Type"]="application/xml",d["Content-MD5"]=i.b64(i.md5(c)),h.call(this,{Action:"name/cos:CompleteMultipartUpload",method:"POST",Bucket:e.Bucket,Region:e.Region,Key:e.Key,qs:{uploadId:n},body:c,headers:d,tracker:a},(function(n,o){if(n)return a&&a.parent&&a.parent.setParams({errorNode:"multipartComplete"}),t(n);var s=u({ForcePathStyle:r.options.ForcePathStyle,protocol:r.options.Protocol,domain:r.options.Domain,bucket:e.Bucket,region:e.Region,object:e.Key,isLocation:!0}),l=o.CompleteMultipartUploadResult||{};l.ProcessResults&&l&&l.ProcessResults&&(l.UploadResult={OriginalInfo:{Key:l.Key,Location:s,ETag:l.ETag,ImageInfo:l.ImageInfo},ProcessResults:l.ProcessResults},delete l.ImageInfo,delete l.ProcessResults);var c=i.extend(l,{Location:s,statusCode:o.statusCode,headers:o.headers});t(null,c)}))},multipartList:function(e,t){var r={};r.delimiter=e.Delimiter,r["encoding-type"]=e.EncodingType,r.prefix=e.Prefix||"",r["max-uploads"]=e.MaxUploads,r["key-marker"]=e.KeyMarker,r["upload-id-marker"]=e.UploadIdMarker,r=i.clearKey(r);var n=e.tracker;n&&n.setParams({signStartTime:(new Date).getTime()}),h.call(this,{Action:"name/cos:ListMultipartUploads",ResourceKey:r.prefix,method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,qs:r,action:"uploads",tracker:n},(function(e,r){if(e)return n&&n.parent&&n.parent.setParams({errorNode:"multipartList"}),t(e);if(r&&r.ListMultipartUploadsResult){var o=r.ListMultipartUploadsResult.Upload||[];o=i.isArray(o)?o:[o],r.ListMultipartUploadsResult.Upload=o}var a=i.clone(r.ListMultipartUploadsResult||{});i.extend(a,{statusCode:r.statusCode,headers:r.headers}),t(null,a)}))},multipartListPart:function(e,t){var r={},n=e.tracker;r.uploadId=e.UploadId,r["encoding-type"]=e.EncodingType,r["max-parts"]=e.MaxParts,r["part-number-marker"]=e.PartNumberMarker,h.call(this,{Action:"name/cos:ListParts",method:"GET",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,qs:r},(function(e,r){if(e)return n&&n.parent&&n.parent.setParams({errorNode:"multipartListPart"}),t(e);var o=r.ListPartsResult||{},a=o.Part||[];a=i.isArray(a)?a:[a],o.Part=a;var s=i.clone(o);i.extend(s,{statusCode:r.statusCode,headers:r.headers}),t(null,s)}))},multipartAbort:function(e,t){var r={};r.uploadId=e.UploadId,h.call(this,{Action:"name/cos:AbortMultipartUpload",method:"DELETE",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,qs:r},(function(e,r){if(e)return t(e);t(null,{statusCode:r.statusCode,headers:r.headers})}))},request:function(e,t){h.call(this,{method:e.Method,Bucket:e.Bucket,Region:e.Region,Key:e.Key,action:e.Action,headers:e.Headers,qs:e.Query,body:e.Body,Url:e.Url,rawBody:e.RawBody,DataType:e.DataType},(function(e,r){if(e)return t(e);r&&r.body&&(r.Body=r.body,delete r.body),t(e,r)}))},getObjectUrl:function(e,t){var r=this,n=void 0===e.UseAccelerate?r.options.UseAccelerate:e.UseAccelerate,o=u({ForcePathStyle:r.options.ForcePathStyle,protocol:e.Protocol||r.options.Protocol,domain:e.Domain||r.options.Domain,bucket:e.Bucket,region:n?"accelerate":e.Region,object:e.Key}),a="";e.Query&&(a+=i.obj2str(e.Query)),e.QueryString&&(a+=(a?"&":"")+e.QueryString);var s=o;if(void 0!==e.Sign&&!e.Sign)return a&&(s+="?"+a),t(null,{Url:s}),s;var l=d.call(this,{Bucket:e.Bucket,Region:e.Region,UseAccelerate:e.UseAccelerate,Url:o}),c=p.call(this,{Action:"PUT"===(e.Method||"").toUpperCase()?"name/cos:PutObject":"name/cos:GetObject",Bucket:e.Bucket||"",Region:e.Region||"",Method:e.Method||"get",Key:e.Key,Expires:e.Expires,Headers:e.Headers,Query:e.Query,SignHost:l,ForceSignHost:!1!==e.ForceSignHost&&r.options.ForceSignHost},(function(e,r){if(t)if(e)t(e);else{var n=o;n+="?"+(r.Authorization.indexOf("q-signature")>-1?function(e){var t=e.match(/q-url-param-list.*?(?=&)/g)[0],r="q-url-param-list="+encodeURIComponent(t.replace(/q-url-param-list=/,"")).toLowerCase(),n=new RegExp(t,"g");return e.replace(n,r)}(r.Authorization):"sign="+encodeURIComponent(r.Authorization)),r.SecurityToken&&(n+="&x-cos-security-token="+r.SecurityToken),r.ClientIP&&(n+="&clientIP="+r.ClientIP),r.ClientUA&&(n+="&clientUA="+r.ClientUA),r.Token&&(n+="&token="+r.Token),a&&(n+="&"+a),setTimeout((function(){t(null,{Url:n})}))}}));return c?(s+="?"+c.Authorization+(c.SecurityToken?"&x-cos-security-token="+c.SecurityToken:""),a&&(s+="&"+a)):a&&(s+="?"+a),s},getAuth:function(e){return i.getAuth({SecretId:e.SecretId||this.options.SecretId||"",SecretKey:e.SecretKey||this.options.SecretKey||"",Bucket:e.Bucket,Region:e.Region,Method:e.Method,Key:e.Key,Query:e.Query,Headers:e.Headers,Expires:e.Expires,UseRawKey:this.options.UseRawKey,SystemClockOffset:this.options.SystemClockOffset})}};t.exports.init=function(e,t){t.transferToTaskMethod(g,"putObject"),i.each(g,(function(t,r){e.prototype[r]=i.apiWrapper(r,t),function(e,t,r){i.each(["Cors","Acl"],(function(n){if(e.slice(-n.length)===n){var o=e.slice(0,-n.length)+n.toUpperCase(),a=i.apiWrapper(e,t),s=!1;r[o]=function(){!s&&console.warn("warning: cos."+o+" has been deprecated. Please Use cos."+e+" instead."),s=!0,a.apply(this,arguments)}}}))}(r,t,e.prototype)}))}},"./src/cos.js":
  203. /*!********************!*\
  204. !*** ./src/cos.js ***!
  205. \********************/
  206. /*! no static exports found */function(e,t,r){var n=r(/*! ./util */"./src/util.js"),o=r(/*! ./event */"./src/event.js"),a=r(/*! ./task */"./src/task.js"),i=r(/*! ./base */"./src/base.js"),s=r(/*! ./advance */"./src/advance.js"),l=r(/*! ../package.json */"./package.json"),c={AppId:"",SecretId:"",SecretKey:"",SecurityToken:"",ChunkRetryTimes:2,FileParallelLimit:3,ChunkParallelLimit:3,ChunkSize:1048576,SliceSize:1048576,CopyChunkParallelLimit:20,CopyChunkSize:10485760,CopySliceSize:10485760,MaxPartNumber:1e4,ProgressInterval:1e3,Domain:"",ServiceDomain:"",Protocol:"",CompatibilityMode:!1,ForcePathStyle:!1,UseRawKey:!1,Timeout:0,CorrectClockSkew:!0,SystemClockOffset:0,UploadCheckContentMd5:!1,UploadQueueSize:1e4,UploadAddMetaMd5:!1,UploadIdCacheLimit:50,UseAccelerate:!1,ForceSignHost:!0,EnableTracker:!1,DeepTracker:!1,TrackerDelay:5e3,CustomId:""},u=function(e){this.options=n.extend(n.clone(c),e||{}),this.options.FileParallelLimit=Math.max(1,this.options.FileParallelLimit),this.options.ChunkParallelLimit=Math.max(1,this.options.ChunkParallelLimit),this.options.ChunkRetryTimes=Math.max(0,this.options.ChunkRetryTimes),this.options.ChunkSize=Math.max(1048576,this.options.ChunkSize),this.options.CopyChunkParallelLimit=Math.max(1,this.options.CopyChunkParallelLimit),this.options.CopyChunkSize=Math.max(1048576,this.options.CopyChunkSize),this.options.CopySliceSize=Math.max(0,this.options.CopySliceSize),this.options.MaxPartNumber=Math.max(1024,Math.min(1e4,this.options.MaxPartNumber)),this.options.Timeout=Math.max(0,this.options.Timeout),this.options.AppId&&console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g: "test-1250000000").'),this.options.SecretId&&this.options.SecretId.indexOf(" ")>-1&&(console.error("error: SecretId格式错误,请检查"),console.error("error: SecretId format is incorrect. Please check")),this.options.SecretKey&&this.options.SecretKey.indexOf(" ")>-1&&(console.error("error: SecretKey格式错误,请检查"),console.error("error: SecretKey format is incorrect. Please check")),n.isNode()&&(console.warn("warning: cos-js-sdk-v5 不支持 nodejs 环境使用,请改用 cos-nodejs-sdk-v5,参考文档: https://cloud.tencent.com/document/product/436/8629"),console.warn("warning: cos-js-sdk-v5 does not support nodejs environment. Please use cos-nodejs-sdk-v5 instead. See: https://cloud.tencent.com/document/product/436/8629")),o.init(this),a.init(this)};i.init(u,a),s.init(u,a),u.util={md5:n.md5,xml2json:n.xml2json,json2xml:n.json2xml,encodeBase64:n.encodeBase64},u.getAuthorization=n.getAuth,u.version=l.version,e.exports=u},"./src/event.js":
  207. /*!**********************!*\
  208. !*** ./src/event.js ***!
  209. \**********************/
  210. /*! no static exports found */function(e,t){var r=function(e){var t={},r=function(e){return!t[e]&&(t[e]=[]),t[e]};e.on=function(e,t){"task-list-update"===e&&console.warn('warning: Event "'+e+'" has been deprecated. Please use "list-update" instead.'),r(e).push(t)},e.off=function(e,t){for(var n=r(e),o=n.length-1;o>=0;o--)t===n[o]&&n.splice(o,1)},e.emit=function(e,t){for(var n=r(e).map((function(e){return e})),o=0;o<n.length;o++)n[o](t)}};e.exports.init=r,e.exports.EventProxy=function(){r(this)}},"./src/session.js":
  211. /*!************************!*\
  212. !*** ./src/session.js ***!
  213. \************************/
  214. /*! no static exports found */function(t,r,n){var o,a,i=n(/*! ./util */"./src/util.js"),s="cos_sdk_upload_cache",l=function(){try{var t=JSON.parse(localStorage.getItem(s))}catch(e){}t||(t=[]),o=t},c=function(){try{o.length?localStorage.setItem(s,JSON.stringify(o)):localStorage.removeItem(s)}catch(e){}},u=function(){if(!o){l.call(this);for(var e=!1,t=Math.round(Date.now()/1e3),r=o.length-1;r>=0;r--){var n=o[r][2];(!n||n+2592e3<t)&&(o.splice(r,1),e=!0)}e&&c()}},d=function(){a||(a=setTimeout((function(){c(),a=null}),400))},p={using:{},setUsing:function(e){p.using[e]=!0},removeUsing:function(e){delete p.using[e]},getFileId:function(e,t,r,n){return e.name&&e.size&&e.lastModifiedDate&&t?i.md5([e.name,e.size,e.lastModifiedDate,t,r,n].join("::")):null},getCopyFileId:function(e,t,r,n,o){var a=t["content-length"],s=t.etag||"",l=t["last-modified"];return e&&r?i.md5([e,a,s,l,r,n,o].join("::")):null},getUploadIdList:function(e){if(!e)return null;u.call(this);for(var t=[],r=0;r<o.length;r++)o[r][0]===e&&t.push(o[r][1]);return t.length?t:null},saveUploadId:function(e,t,r){if(u.call(this),e){for(var n=o.length-1;n>=0;n--){var a=o[n];a[0]===e&&a[1]===t&&o.splice(n,1)}o.unshift([e,t,Math.round(Date.now()/1e3)]),o.length>r&&o.splice(r),d()}},removeUploadId:function(e){u.call(this),delete p.using[e];for(var t=o.length-1;t>=0;t--)o[t][1]===e&&o.splice(t,1);d()}};t.exports=p},"./src/task.js":
  215. /*!*********************!*\
  216. !*** ./src/task.js ***!
  217. \*********************/
  218. /*! no static exports found */function(t,r,n){var o=n(/*! ./session */"./src/session.js"),a=n(/*! ./util */"./src/util.js"),i={};t.exports.transferToTaskMethod=function(e,t){i[t]=e[t],e[t]=function(e,r){e.SkipTask?i[t].call(this,e,r):this._addTask(t,e,r)}},t.exports.init=function(t){var r=[],n={},s=0,l=0,c=function(e){var t={id:e.id,Bucket:e.Bucket,Region:e.Region,Key:e.Key,FilePath:e.FilePath,state:e.state,loaded:e.loaded,size:e.size,speed:e.speed,percent:e.percent,hashPercent:e.hashPercent,error:e.error};return e.FilePath&&(t.FilePath=e.FilePath),e._custom&&(t._custom=e._custom),t},u=function(){var e,n=function(){e=0,t.emit("task-list-update",{list:a.map(r,c)}),t.emit("list-update",{list:a.map(r,c)})};return function(){e||(e=setTimeout(n))}}(),d=function(){if(!(r.length<=t.options.UploadQueueSize)){for(var e=0;e<l&&e<r.length&&r.length>t.options.UploadQueueSize;){var o="waiting"===r[e].state||"checking"===r[e].state||"uploading"===r[e].state;r[e]&&o?e++:(n[r[e].id]&&delete n[r[e].id],r.splice(e,1),l--)}u()}},p=function e(){if(!(s>=t.options.FileParallelLimit)){for(;r[l]&&"waiting"!==r[l].state;)l++;if(!(l>=r.length)){var n=r[l];l++,s++,n.state="checking",n.params.onTaskStart&&n.params.onTaskStart(c(n)),!n.params.UploadData&&(n.params.UploadData={});var o=a.formatParams(n.api,n.params);i[n.api].call(t,o,(function(r,o){t._isRunningTask(n.id)&&("checking"!==n.state&&"uploading"!==n.state||(n.state=r?"error":"success",r&&(n.error=r),s--,u(),e(),n.callback&&n.callback(r,o),"success"===n.state&&(n.params&&(delete n.params.UploadData,delete n.params.Body,delete n.params),delete n.callback)),d())})),u(),setTimeout(e)}}},f=function(r,a){var i=n[r];if(i){var l=i&&"waiting"===i.state,c=i&&("checking"===i.state||"uploading"===i.state);if("canceled"===a&&"canceled"!==i.state||"paused"===a&&l||"paused"===a&&c){if("paused"===a&&i.params.Body&&"function"==typeof i.params.Body.pipe)return void console.error("stream not support pause");i.state=a,t.emit("inner-kill-task",{TaskId:r,toState:a});try{var f=i&&i.params&&i.params.UploadData.UploadId}catch(e){}"canceled"===a&&f&&o.removeUsing(f),u(),c&&(s--,p()),"canceled"===a&&(i.params&&(delete i.params.UploadData,delete i.params.Body,delete i.params),delete i.callback)}d()}};t._addTasks=function(e){a.each(e,(function(e){t._addTask(e.api,e.params,e.callback,!0)})),u()};var h=!0;t._addTask=function(e,o,i,s){o=a.formatParams(e,o);var l=a.uuid();o.TaskId=l,o.onTaskReady&&o.onTaskReady(l),o.TaskReady&&(o.TaskReady(l),h&&console.warn('warning: Param "TaskReady" has been deprecated. Please use "onTaskReady" instead.'),h=!1);var c={params:o,callback:i,api:e,index:r.length,id:l,Bucket:o.Bucket,Region:o.Region,Key:o.Key,FilePath:o.FilePath||"",state:"waiting",loaded:0,size:0,speed:0,percent:0,hashPercent:0,error:null,_custom:o._custom},f=o.onHashProgress;o.onHashProgress=function(e){t._isRunningTask(c.id)&&(c.hashPercent=e.percent,f&&f(e),u())};var v=o.onProgress;return o.onProgress=function(e){t._isRunningTask(c.id)&&("checking"===c.state&&(c.state="uploading"),c.loaded=e.loaded,c.speed=e.speed,c.percent=e.percent,v&&v(e),u())},a.getFileSize(e,o,(function(e,t){if(e)return i(a.error(e));n[l]=c,r.push(c),c.size=t,!s&&u(),p(),d()})),l},t._isRunningTask=function(e){var t=n[e];return!(!t||"checking"!==t.state&&"uploading"!==t.state)},t.getTaskList=function(){return a.map(r,c)},t.cancelTask=function(e){f(e,"canceled")},t.pauseTask=function(e){f(e,"paused")},t.restartTask=function(e){var t=n[e];!t||"paused"!==t.state&&"error"!==t.state||(t.state="waiting",u(),l=Math.min(l,t.index),p())},t.isUploadRunning=function(){return s||l<r.length}}},"./src/tracker.js":
  219. /*!************************!*\
  220. !*** ./src/tracker.js ***!
  221. \************************/
  222. /*! no static exports found */function(t,r,n){var o=n(/*! @babel/runtime/helpers/classCallCheck */"./node_modules/@babel/runtime/helpers/classCallCheck.js"),a=n(/*! @babel/runtime/helpers/createClass */"./node_modules/@babel/runtime/helpers/createClass.js"),i=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),s=n(/*! ../package.json */"./package.json"),l=null,c=function(e){if(!l){var t=n(/*! ../lib/beacon.min */"./lib/beacon.min.js");l=new t({appkey:"0AND0VEVB24UBGDU",versionCode:s.version,channelID:"js_sdk",openid:"openid",unionid:"unid",strictMode:!1,delay:e,sessionDuration:6e4})}return l},u=function(){var e=function(){return(65536*(1+Math.random())|0).toString(16).substring(1)};return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()},d=function(){if("object"===("undefined"==typeof navigator?"undefined":i(navigator))){var e=navigator.connection||navigator.mozConnection||navigator.webkitConnection;return(null==e?void 0:e.type)||(null==e?void 0:e.effectiveType)||"unknown"}return"unknown"},p=function(){if("object"!==("undefined"==typeof navigator?"undefined":i(navigator)))return"unknown os";var e=navigator.userAgent.toLowerCase(),t=/macintosh|mac os x/i.test(navigator.userAgent);return e.indexOf("win32")>=0||e.indexOf("wow32")>=0?"win32":e.indexOf("win64")>=0||e.indexOf("wow64")>=0?"win64":t?"mac":"unknown os"},f=function(){return!("object"!==("undefined"==typeof navigator?"undefined":i(navigator))||!navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i))},h=function(){return!("object"!==("undefined"==typeof navigator?"undefined":i(navigator))||!navigator.userAgent.match(/(Android|Adr|Linux)/i))},v=function(){return!("object"!==("undefined"==typeof navigator?"undefined":i(navigator))||!navigator.userAgent.match(/(iPhone|iPod|iPad|iOS)/i))},g=function(){if("object"!==("undefined"==typeof navigator?"undefined":i(navigator)))return"unknown device";var e=navigator.userAgent.toLowerCase();if(e.includes("app/tencent_wemeet"))return"tencent_wemeet";if(e.indexOf("maxthon")>=0){var t=e.match(/maxthon\/([\d.]+)/),r=t&&t[1]||"";return"傲游浏览器 ".concat(r).trim()}if(e.indexOf("qqbrowser")>=0){var n=e.match(/qqbrowser\/([\d.]+)/),o=n&&n[1]||"";return"QQ浏览器 ".concat(o).trim()}if(e.indexOf("se 2.x")>=0)return"搜狗浏览器";if(e.indexOf("wxwork")>=0)return"微信内置浏览器";if(e.indexOf("msie")>=0){var a=e.match(/msie ([\d.]+)/),s=a&&a[1]||"";return"IE ".concat(s).trim()}if(e.indexOf("firefox")>=0){var l=e.match(/firefox\/([\d.]+)/),c=l&&l[1]||"";return"Firefox ".concat(c).trim()}if(e.indexOf("chrome")>=0){var u=e.match(/chrome\/([\d.]+)/),d=u&&u[1]||"";return"Chrome ".concat(d).trim()}if(e.indexOf("opera")>=0){var p=e.match(/opera.([\d.]+)/),f=p&&p[1]||"";return"Opera ".concat(f).trim()}if(e.indexOf("safari")>=0){var h=e.match(/version\/([\d.]+)/),v=h&&h[1]||"";return"Safari ".concat(v).trim()}if(e.indexOf("edge")>=0){var g=e.match(/edge\/([\d.]+)/),m=g&&g[1]||"";return"edge ".concat(m).trim()}return e.substr(0,200)},m={isMobile:f(),isBrowser:!f(),mobileOsType:h()?"android":v?"ios":"other_mobile",pcOsType:p()},b={deviceType:m.isMobile?"mobile":m.isBrowser?"browser":"unknown",devicePlatform:m.isMobile?m.mobileOsType:m.pcOsType,deviceName:g()},A=["multipartInit","multipartUpload","multipartComplete","multipartList","multipartListPart","multipartAbort"],y=["putObject","postObject","appendObject","sliceUploadFile","uploadFile","uploadFiles"].concat(A),x=["getObject"];function w(e){return e.replace(/([A-Z])/g,"_$1").toLowerCase()}var C=function(){function t(e){o(this,t);var r=e.parent,n=e.traceId,a=e.bucket,i=e.region,l=e.apiName,d=e.fileKey,p=e.fileSize,f=e.accelerate,h=e.customId,v=e.delay,g=e.deepTracker,m=a&&a.substr(a.lastIndexOf("-")+1)||"";this.parent=r,this.deepTracker=g,this.delay=v,this.params={cossdkVersion:s.version,region:i,networkType:"",host:"",accelerate:f?"Y":"N",requestPath:d||"",size:p||-1,httpMd5:0,httpSign:0,httpFull:0,name:l||"",result:"",tookTime:0,errorNode:"",errorCode:"",errorMessage:"",errorRequestId:"",errorStatusCode:0,errorServiceName:"",tracePlatform:"cos-js-sdk-v5",traceId:n||u(),bucket:a,appid:m,partNumber:0,retryTimes:0,reqUrl:"",customId:h||"",deviceType:b.deviceType,devicePlatform:b.devicePlatform,deviceName:b.deviceName,md5StartTime:0,md5EndTime:0,signStartTime:0,signEndTime:0,httpStartTime:0,httpEndTime:0,startTime:(new Date).getTime(),endTime:0},this.beacon=c(v)}return a(t,[{key:"formatResult",value:function(t,r){var n,o,a,i,s,l,c=(new Date).getTime()-this.params.startTime,u=d(),p=t?(null==t?void 0:t.code)||(null==t||null===(n=t.error)||void 0===n?void 0:n.code)||(null==t||null===(o=t.error)||void 0===o?void 0:o.Code):"",f=t?(null==t?void 0:t.message)||(null==t||null===(a=t.error)||void 0===a?void 0:a.message)||(null==t||null===(i=t.error)||void 0===i?void 0:i.Message):"",h=t?(null==t?void 0:t.resource)||(null==t||null===(s=t.error)||void 0===s?void 0:s.resource)||(null==t||null===(l=t.error)||void 0===l?void 0:l.Resource):"",v=t?null==t?void 0:t.statusCode:r.statusCode,g=t?(null==t?void 0:t.headers)&&(null==t?void 0:t.headers["x-cos-request-id"]):(null==r?void 0:r.headers)&&(null==r?void 0:r.headers["x-cos-request-id"]),m=t?g?"Server":"Client":"";if(Object.assign(this.params,{tookTime:c,networkType:u,httpMd5:this.params.md5EndTime-this.params.md5StartTime,httpSign:this.params.signEndTime-this.params.signStartTime,httpFull:this.params.httpEndTime-this.params.httpStartTime,result:t?"Fail":"Success",errorType:m,errorCode:p,errorStatusCode:v,errorMessage:f,errorServiceName:h,errorRequestId:g}),!t||p&&f||(this.params.fullError=t?JSON.stringify(t):""),"getObject"===this.params.name&&(this.params.size=r?r.headers&&r.headers["content-length"]:-1),this.params.reqUrl)try{var b=/^http(s)?:\/\/(.*?)\//.exec(this.params.reqUrl);this.params.host=b[2]}catch(e){this.params.host=this.params.reqUrl}this.sendEvents()}},{key:"setParams",value:function(e){Object.assign(this.params,e)}},{key:"sendEvents",value:function(){if(!A.includes(this.params.name)||this.deepTracker){var e,t=(e=this.params.name,y.includes(e)?"cos_upload":x.includes(e)?"cos_download":"base_service"),r=function(e){var t={},r="Success"===e.result?["tracePlatform","cossdkVersion","region","bucket","appid","networkType","host","accelerate","requestPath","partNumber","size","name","result","tookTime","errorRequestId","retryTimes","reqUrl","customId","deviceType","devicePlatform","deviceName"]:["tracePlatform","cossdkVersion","region","networkType","host","accelerate","requestPath","size","httpMd5","httpSign","httpFull","name","result","tookTime","errorNode","errorCode","errorMessage","errorRequestId","errorStatusCode","errorServiceName","errorType","traceId","bucket","appid","partNumber","retryTimes","reqUrl","customId","fullError","deviceType","devicePlatform","deviceName"];for(var n in e)r.includes(n)&&(t[w(n)]=e[n]);return t}(this.params);this.beacon||(this.beacon=c(this.delay||5e3)),0===this.delay?this.beacon&&this.beacon.onDirectUserAction(t,r):this.beacon&&this.beacon.onUserAction(t,r)}}},{key:"generateSubTracker",value:function(e){return Object.assign(e,{parent:this,deepTracker:this.deepTracker,traceId:this.params.traceId,bucket:this.params.bucket,region:this.params.region,fileKey:this.params.requestPath,customId:this.params.customId,delay:this.delay}),new t(e)}}]),t}();t.exports=C},"./src/util.js":
  223. /*!*********************!*\
  224. !*** ./src/util.js ***!
  225. \*********************/
  226. /*! no static exports found */function(t,r,n){(function(r){var o=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),a=n(/*! ../lib/md5 */"./lib/md5.js"),i=n(/*! ../lib/crypto */"./lib/crypto.js"),s=n(/*! ../lib/xml2json */"./lib/xml2json.js"),l=n(/*! ../lib/json2xml */"./lib/json2xml.js"),c=n(/*! ../lib/base64 */"./lib/base64.js"),u=n(/*! ./tracker */"./src/tracker.js");function d(e){return encodeURIComponent(e).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A")}function p(e,t){var r=[];for(var n in e)e.hasOwnProperty(n)&&r.push(t?d(n).toLowerCase():n);return r.sort((function(e,t){return(e=e.toLowerCase())===(t=t.toLowerCase())?0:e>t?1:-1}))}var f,h=["cache-control","content-disposition","content-encoding","content-length","content-md5","expect","expires","host","if-match","if-modified-since","if-none-match","if-unmodified-since","origin","range","transfer-encoding"],v=function(e,t,r){var n=t/8,o=e.slice(r,r+n);return new Uint8Array(o).reverse(),new{8:Uint8Array,16:Uint16Array,32:Uint32Array}[t](o)[0]},g=function(e,t,r,n){var o=e.slice(t,r),a="";return new Uint8Array(o).forEach((function(e){a+=String.fromCharCode(e)})),n&&(a=decodeURIComponent(escape(a))),a},m=function(){},b=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&void 0!==e[r]&&null!==e[r]&&(t[r]=e[r]);return t},A=(f=function(e,t){e=e.split("."),t=t.split(".");for(var r=0;r<t.length;r++)if(e[r]!==t[r])return parseInt(e[r])>parseInt(t[r])?1:-1;return 0},function(e){if(!e)return!1;var t=(e.match(/Chrome\/([.\d]+)/)||[])[1],r=(e.match(/QBCore\/([.\d]+)/)||[])[1],n=(e.match(/QQBrowser\/([.\d]+)/)||[])[1];return t&&f(t,"53.0.2785.116")<0&&r&&f(r,"3.53.991.400")<0&&n&&f(n,"9.0.2524.400")<=0||!1}("undefined"!=typeof navigator&&navigator.userAgent)),y=1048576;function x(e){return _(e,(function(e){return"object"===o(e)&&null!==e?x(e):e}))}function w(e,t){return k(t,(function(r,n){e[n]=t[n]})),e}function C(e){return e instanceof Array}function k(e,t){for(var r in e)e.hasOwnProperty(r)&&t(e[r],r)}function _(e,t){var r=C(e)?[]:{};for(var n in e)e.hasOwnProperty(n)&&(r[n]=t(e[n],n));return r}var S=function(e,t){var r=t.Bucket,n=t.Region,o=t.Key,a=this.options.Domain,i=!a||"string"==typeof a&&a.indexOf("{Bucket}")>-1,s=!a||"string"==typeof a&&a.indexOf("{Region}")>-1;if(e.indexOf("Bucket")>-1||"deleteMultipleObject"===e||"multipartList"===e||"listObjectVersions"===e){if(i&&!r)return"Bucket";if(s&&!n)return"Region"}else if(e.indexOf("Object")>-1||e.indexOf("multipart")>-1||"sliceUploadFile"===e||"abortUploadTask"===e){if(i&&!r)return"Bucket";if(s&&!n)return"Region";if(!o)return"Key"}return!1},B=function(e,t){if(t=w({},t),"getAuth"!==e&&"getV4Auth"!==e&&"getObjectUrl"!==e){var r=t.Headers||{};t&&"object"===o(t)&&(!function(){for(var e in t)t.hasOwnProperty(e)&&e.indexOf("x-cos-")>-1&&(r[e]=t[e])}(),I.each({"x-cos-mfa":"MFA","Content-MD5":"ContentMD5","Content-Length":"ContentLength","Content-Type":"ContentType",Expect:"Expect",Expires:"Expires","Cache-Control":"CacheControl","Content-Disposition":"ContentDisposition","Content-Encoding":"ContentEncoding",Range:"Range","If-Modified-Since":"IfModifiedSince","If-Unmodified-Since":"IfUnmodifiedSince","If-Match":"IfMatch","If-None-Match":"IfNoneMatch","x-cos-copy-source":"CopySource","x-cos-copy-source-Range":"CopySourceRange","x-cos-metadata-directive":"MetadataDirective","x-cos-copy-source-If-Modified-Since":"CopySourceIfModifiedSince","x-cos-copy-source-If-Unmodified-Since":"CopySourceIfUnmodifiedSince","x-cos-copy-source-If-Match":"CopySourceIfMatch","x-cos-copy-source-If-None-Match":"CopySourceIfNoneMatch","x-cos-acl":"ACL","x-cos-grant-read":"GrantRead","x-cos-grant-write":"GrantWrite","x-cos-grant-full-control":"GrantFullControl","x-cos-grant-read-acp":"GrantReadAcp","x-cos-grant-write-acp":"GrantWriteAcp","x-cos-storage-class":"StorageClass","x-cos-traffic-limit":"TrafficLimit","x-cos-mime-limit":"MimeLimit","x-cos-server-side-encryption-customer-algorithm":"SSECustomerAlgorithm","x-cos-server-side-encryption-customer-key":"SSECustomerKey","x-cos-server-side-encryption-customer-key-MD5":"SSECustomerKeyMD5","x-cos-server-side-encryption":"ServerSideEncryption","x-cos-server-side-encryption-cos-kms-key-id":"SSEKMSKeyId","x-cos-server-side-encryption-context":"SSEContext","Pic-Operations":"PicOperations"},(function(e,n){void 0!==t[e]&&(r[n]=t[e])})),t.Headers=b(r))}return t},E=function(e){return Date.now()+(e||0)},T="object"===("undefined"==typeof navigator?"undefined":o(navigator))&&!!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),P="object"===("undefined"==typeof navigator?"undefined":o(navigator))&&/\sQQ/i.test(navigator.userAgent),I={noop:m,formatParams:B,apiWrapper:function(e,t){return function(r,n){var o,a=this;if("function"==typeof r&&(n=r,r={}),r=B(e,r),a.options.EnableTracker)if("sliceUploadFile"===r.calledBySdk)o=r.tracker&&r.tracker.generateSubTracker({apiName:e});else if(["uploadFile","uploadFiles"].includes(e))o=null;else{var i=-1;r.Body&&(i="string"==typeof r.Body?r.Body.length:r.Body.size||r.Body.byteLength||-1),o=new u({bucket:r.Bucket,region:r.Region,apiName:e,fileKey:r.Key,fileSize:i,deepTracker:a.options.DeepTracker,customId:a.options.CustomId,delay:a.options.TrackerDelay})}r.tracker=o;var s=function(e){return e&&e.headers&&(e.headers["x-cos-request-id"]&&(e.RequestId=e.headers["x-cos-request-id"]),e.headers["x-ci-request-id"]&&(e.RequestId=e.headers["x-ci-request-id"]),e.headers["x-cos-version-id"]&&(e.VersionId=e.headers["x-cos-version-id"]),e.headers["x-cos-delete-marker"]&&(e.DeleteMarker=e.headers["x-cos-delete-marker"])),e},l=function(e,t){o&&o.formatResult(e,t),n&&n(s(e),s(t))},c=function(){if("getService"!==e&&"abortUploadTask"!==e){var t=S.call(a,e,r);if(t)return"missing param "+t;if(r.Region){if(a.options.CompatibilityMode){if(!/^([a-z\d-.]+)$/.test(r.Region))return"Region format error."}else{if(r.Region.indexOf("cos.")>-1)return'param Region should not be start with "cos."';if(!/^([a-z\d-]+)$/.test(r.Region))return"Region format error."}a.options.CompatibilityMode||-1!==r.Region.indexOf("-")||"yfb"===r.Region||"default"===r.Region||"accelerate"===r.Region||console.warn("warning: param Region format error, find help here: https://cloud.tencent.com/document/product/436/6224")}if(r.Bucket){if(!/^([a-z\d-]+)-(\d+)$/.test(r.Bucket))if(r.AppId)r.Bucket=r.Bucket+"-"+r.AppId;else{if(!a.options.AppId)return'Bucket should format as "test-1250000000".';r.Bucket=r.Bucket+"-"+a.options.AppId}r.AppId&&(console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g Bucket:"test-1250000000" ).'),delete r.AppId)}!a.options.UseRawKey&&r.Key&&"/"===r.Key.substr(0,1)&&(r.Key=r.Key.substr(1))}}(),d=["getAuth","getObjectUrl"].includes(e);if("function"==typeof Promise&&!d&&!n)return new Promise((function(e,o){if(n=function(t,r){t?o(t):e(r)},c)return l(I.error(new Error(c)));t.call(a,r,l)}));if(c)return l(I.error(new Error(c)));var p=t.call(a,r,l);return d?p:void 0}},xml2json:s,json2xml:l,md5:a,clearKey:b,fileSlice:function(e,t,r,n,o){var a;if(e.slice?a=e.slice(t,r):e.mozSlice?a=e.mozSlice(t,r):e.webkitSlice&&(a=e.webkitSlice(t,r)),n&&A){var i=new FileReader;i.onload=function(e){a=null,o(new Blob([i.result]))},i.readAsArrayBuffer(a)}else o(a)},getBodyMd5:function(e,t,r,n){r=r||m,e?"string"==typeof t?r(I.md5(t,!0)):Blob&&t instanceof Blob?I.getFileMd5(t,(function(e,t){r(t)}),n):r():r()},getFileMd5:function(e,t,r){var n=e.size,o=0,i=a.getCtx();!function a(s){if(s>=n){var l=i.digest("hex");t(null,l)}else{var c=Math.min(n,s+y);I.fileSlice(e,s,c,!1,(function(e){!function(e,t){var r,n=new FileReader;FileReader.prototype.readAsBinaryString?(r=FileReader.prototype.readAsBinaryString,n.onload=function(){t(this.result)}):FileReader.prototype.readAsArrayBuffer?r=function(e){var r="",n=new FileReader;n.onload=function(e){for(var o=new Uint8Array(n.result),a=o.byteLength,i=0;i<a;i++)r+=String.fromCharCode(o[i]);t(r)},n.readAsArrayBuffer(e)}:console.error("FileReader not support readAsBinaryString"),r.call(n,e)}(e,(function(t){e=null,i=i.update(t,!0),o+=t.length,t=null,r&&r({loaded:o,total:n,percent:Math.round(o/n*1e4)/1e4}),a(s+y)}))}))}}(0)},b64:function(e){var t,r,n,o="";for(t=0,r=e.length/2;t<r;t++)n=parseInt(e[2*t]+e[2*t+1],16),o+=String.fromCharCode(n);return btoa(o)},extend:w,isArray:C,isInArray:function(e,t){for(var r=!1,n=0;n<e.length;n++)if(t===e[n]){r=!0;break}return r},makeArray:function(e){return C(e)?e:[e]},each:k,map:_,filter:function(e,t){var r=C(e),n=r?[]:{};for(var o in e)e.hasOwnProperty(o)&&t(e[o],o)&&(r?n.push(e[o]):n[o]=e[o]);return n},clone:x,attr:function(e,t,r){return e&&t in e?e[t]:r},uuid:function(){var e=function(){return(65536*(1+Math.random())|0).toString(16).substring(1)};return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()},camSafeUrlEncode:d,throttleOnProgress:function(t,r){var n,o,a=this,i=0,s=0,l=Date.now();function c(){if(o=0,r&&"function"==typeof r){n=Date.now();var a,c=Math.max(0,Math.round((s-i)/((n-l)/1e3)*100)/100)||0;a=0===s&&0===t?1:Math.floor(s/t*100)/100||0,l=n,i=s;try{r({loaded:s,total:t,speed:c,percent:a})}catch(e){}}}return function(e,r){if(e&&(s=e.loaded,t=e.total),r)clearTimeout(o),c();else{if(o)return;o=setTimeout(c,a.options.ProgressInterval)}}},getFileSize:function(e,t,r){var n;"string"==typeof t.Body?t.Body=new Blob([t.Body],{type:"text/plain"}):t.Body instanceof ArrayBuffer&&(t.Body=new Blob([t.Body])),t.Body&&(t.Body instanceof Blob||"[object File]"===t.Body.toString()||"[object Blob]"===t.Body.toString())?(n=t.Body.size,t.ContentLength=n,r(null,n)):r(I.error(new Error("params body format error, Only allow File|Blob|String.")))},getSkewTime:E,error:function(e,t){var r=e;return e.message=e.message||null,"string"==typeof t?(e.error=t,e.message=t):"object"===o(t)&&null!==t&&(w(e,t),(t.code||t.name)&&(e.code=t.code||t.name),t.message&&(e.message=t.message),t.stack&&(e.stack=t.stack)),"function"==typeof Object.defineProperty&&(Object.defineProperty(e,"name",{writable:!0,enumerable:!1}),Object.defineProperty(e,"message",{enumerable:!0})),e.name=t&&t.name||e.name||e.code||"Error",e.code||(e.code=e.name),e.error||(e.error=x(r)),e},obj2str:function(e,t){var r,n,o,a=[],i=p(e);for(r=0;r<i.length;r++)o=void 0===e[n=i[r]]||null===e[n]?"":""+e[n],n=t?d(n).toLowerCase():d(n),o=d(o)||"",a.push(n+"="+o);return a.join("&")},getAuth:function(e){var t,r=(e=e||{}).SecretId,n=e.SecretKey,o=e.KeyTime,a=(e.method||e.Method||"get").toLowerCase(),s=x(e.Query||e.params||{}),l=function(e){var t={};for(var r in e){var n=r.toLowerCase();(n.indexOf("x-cos-")>-1||h.indexOf(n)>-1)&&(t[r]=e[r])}return t}(x(e.Headers||e.headers||{})),c=e.Key||"";e.UseRawKey?t=e.Pathname||e.pathname||"/"+c:0!==(t=e.Pathname||e.pathname||c).indexOf("/")&&(t="/"+t);var u=!1!==e.ForceSignHost;if(!l.Host&&!l.host&&e.Bucket&&e.Region&&u&&(l.Host=e.Bucket+".cos."+e.Region+".myqcloud.com"),!r)throw new Error("missing param SecretId");if(!n)throw new Error("missing param SecretKey");var d=Math.round(E(e.SystemClockOffset)/1e3)-1,f=d,v=e.Expires||e.expires;f+=void 0===v?900:1*v||0;var g=r,m=o||d+";"+f,b=o||d+";"+f,A=p(l,!0).join(";").toLowerCase(),y=p(s,!0).join(";").toLowerCase(),w=i.HmacSHA1(b,n).toString(),C=[a,t,I.obj2str(s,!0),I.obj2str(l,!0),""].join("\n"),k=["sha1",m,i.SHA1(C).toString(),""].join("\n");return["q-sign-algorithm=sha1","q-ak="+g,"q-sign-time="+m,"q-key-time="+b,"q-header-list="+A,"q-url-param-list="+y,"q-signature="+i.HmacSHA1(k,w).toString()].join("&")},parseSelectPayload:function(e){for(var t={},r=g(e),n={records:[]};e.byteLength;){var o,a=v(e,32,0),i=v(e,32,4),s=a-i-16,l=0;for(e=e.slice(12);l<i;){var c=v(e,8,l),u=g(e,l+1,l+1+c),d=v(e,16,l+c+2),p=g(e,l+c+4,l+c+4+d);t[u]=p,l+=c+4+d}if("Records"===t[":event-type"])o=g(e,l,l+s,!0),n.records.push(o);else if("Stats"===t[":event-type"])o=g(e,l,l+s,!0),n.stats=I.xml2json(o).Stats;else if("error"===t[":event-type"]){var f=t[":error-code"],h=t[":error-message"],m=new Error(h);m.message=h,m.name=m.code=f,n.error=m}e=e.slice(l+s+4)}return{payload:n.records.join(""),body:r}},getSourceParams:function(e){var t=this.options.CopySourceParser;if(t)return t(e);var r=e.match(/^([^.]+-\d+)\.cos(v6|-cdc|-cdz|-internal)?\.([^.]+)\.((myqcloud\.com)|(tencentcos\.cn))\/(.+)$/);return r?{Bucket:r[1],Region:r[3],Key:r[7]}:null},isBrowser:!0,isNode:function(){return"object"!==("undefined"==typeof window?"undefined":o(window))&&"object"===(void 0===r?"undefined":o(r))&&!("object"===("undefined"==typeof globalThis?"undefined":o(globalThis))&&("DedicatedWorkerGlobalScope"===globalThis.constructor.name||globalThis.FileReaderSync))},isCIHost:function(e){return/^https?:\/\/([^/]+\.)?ci\.[^/]+/.test(e)},isIOS_QQ:T&&P,encodeBase64:function(e,t){var r=c.encode(e);return t&&(r=r.replaceAll("+","-").replaceAll("/","_").replaceAll("=","")),r}};t.exports=I}).call(this,n(/*! ./../node_modules/process/browser.js */"./node_modules/process/browser.js"))}})},module.exports=factory()})(cosJsSdkV5);var cosJsSdkV5Exports=cosJsSdkV5.exports,COS=getDefaultExportFromCjs(cosJsSdkV5Exports),ossSwitch="tencent",tencentBucket="daya-online-1303457149",getUploadSign=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(t){var r,n,o,a,i,s,l;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bucketName,n=t.filename,o=t.postData,a=ossSwitch,r,n,{},i=tencentBucket,s="ktqy/"+n,l={key:"ktqy/"+o.key},e.abrupt("return",request.post("/open/getUploadSign",{requestType:"json",data:{postData:l,pluginName:a,bucketName:i,filename:s},params:{pluginName:a}}));case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),onOnlyFileUpload=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(t,r){var n,o,a;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n="",o=null,console.log(r,"params"),a=new COS({Domain:"https://oss.dayaedu.com",getAuthorization:function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(t,n){return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n({Authorization:r.signature});case 1:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}()}),e.next=6,a.uploadFile({Bucket:tencentBucket,Region:"ap-nanjing",Key:"ktqy/".concat(r.name),Body:r.file,SliceSize:524288e3}).then((function(e){var t;n=(null===(t=e.Location)||void 0===t?void 0:t.indexOf("http"))>=0?e.Location:"https://"+e.Location})).catch((function(e){o=e}));case 6:if(!n){e.next=10;break}return e.abrupt("return",n);case 10:throw new Error(o);case 11:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),bucketName="gyt",ACL="public-read",ossUploadUrl="https://".concat(bucketName,".ks3-cn-beijing.ksyuncs.com/"),getPolicy=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(t){var r,n,o;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={filename:t,bucketName:bucketName,postData:{filename:t,acl:ACL,key:t}},e.next=3,getUploadSign(r);case 3:return n=e.sent,o=n.data,e.abrupt("return",o);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),upload=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(t,r,n,o){var a;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a={policy:t.policy,signature:t.signature,key:r,KSSAccessKeyId:t.kssAccessKeyId,acl:ACL,name:r,file:n},e.next=3,onOnlyFileUpload(ossUploadUrl,a);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})));return function(t,r,n,o){return e.apply(this,arguments)}}(),api_uploadFile=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(t,r,n){var o,a;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,getPolicy(r);case 2:return o=e.sent,e.next=5,upload(o,r,t);case 5:return a=e.sent,console.log("🚀 ~ url:",a),e.abrupt("return",a);case 8:case"end":return e.stop()}}),e)})));return function(t,r,n){return e.apply(this,arguments)}}(),bufferToWave=function(e){var t,r,n=e.numberOfChannels,o=e.length*n*2+44,a=new ArrayBuffer(o),i=new DataView(a),s=[],l=0,c=0;for(d(1179011410),d(o-8),d(1163280727),d(544501094),d(16),u(1),u(n),d(e.sampleRate),d(2*e.sampleRate*n),u(2*n),u(16),d(1635017060),d(o-c-4),t=0;t<n;t++)s.push(e.getChannelData(t));for(;c<o;){for(t=0;t<s.length;t++)r=0|(.5+(r=Math.max(-1,Math.min(1,s[t][l])))<0?32768*r:32767*r),i.setInt16(c,r,!0),c+=2;l++}return new Blob([a],{type:"audio/wav"});function u(e){i.setUint16(c,e,!0),c+=2}function d(e){i.setUint32(c,e,!0),c+=4}},setbox="_setbox_t3m21_1",head$1="_head_t3m21_10",close$1="_close_t3m21_24",form="_form_t3m21_30",checkbox="_checkbox_t3m21_48",btns="_btns_t3m21_59",productIframe="_productIframe_t3m21_75",styles$4={setbox:setbox,head:head$1,close:close$1,form:form,checkbox:checkbox,btns:btns,productIframe:productIframe},UploadToResources=defineComponent({name:"UploadToResources",props:{show:{type:Boolean,default:!1},item:{type:Object,default:function(){return{}}}},emits:["update:show","success"],setup:function(e,t){var r=t.emit,n=useMessage(),o=reactive({subjects:[],saveLoading:!1,saveProgress:0,productOpen:!1,productIfameSrc:""}),a=reactive({subjectId:null,cbsMusicalInstrumentIds:null,isPublic:0,mp3:"",musicImg:"",musicSvg:"",musicFirstSvg:"",musicJianSvg:""}),i=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(){var t,r;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,api_subjectList({enableFlag:!0,delFlag:0,page:1,rows:999});case 2:t=e.sent,r=t.data,o.subjects=r;case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),s=function(e){var t=e.data;if("webApi_renderSvg"===(null==t?void 0:t.api)){var r=[];try{r=JSON.parse(t.product)}catch(error){console.log("🚀 ~ error:",error)}r=r.filter((function(e){return e.base64})),3===r.length&&l(r),console.log("🚀 ~ 上传之前",_toConsumableArray2(r))}},l=function(){var t=_asyncToGenerator2(_regeneratorRuntime().mark((function t(r){var n,i,s,l,u,d,p;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.show){t.next=2;break}return t.abrupt("return");case 2:u=0;case 3:if(!(u<r.length)){t.next=13;break}return d="".concat(Date.now(),"p").concat(u,".png"),p=c(r[u].base64,d),t.next=8,api_uploadFile(p,d);case 8:r[u].url=t.sent,o.saveProgress=20*(u+1);case 10:u++,t.next=3;break;case 13:if(a.musicImg=(null===(n=r[0])||void 0===n?void 0:n.url)||"",a.musicSvg=(null===(i=r[1])||void 0===i?void 0:i.url)||"",a.musicFirstSvg=(null===(s=r[1])||void 0===s?void 0:s.url)||"",a.musicJianSvg=(null===(l=r[2])||void 0===l?void 0:l.url)||"",o.productOpen=!1,r=[],e.show){t.next=21;break}return t.abrupt("return");case 21:g();case 22:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),c=function(e,t){for(var r,n=e.split(",")||[],o=null===(r=n[0].match(/:(.*?);/))||void 0===r?void 0:r[1],a=atob(n[1]),i=a.length,s=new Uint8Array(i);i--;)s[i]=a.charCodeAt(i);return new File([s],t,{type:o})};onMounted((function(){i(),window.addEventListener("message",s)})),onUnmounted((function(){window.removeEventListener("message",s)})),watch((function(){return e.item}),(function(){var t,r,n,i,s=o.subjects.length>0?null===(t=o.subjects[0].instruments[0])||void 0===t?void 0:t.id:null;a.subjectId=null!==(r=e.item.subjectId)&&void 0!==r?r:s;var l=o.subjects.length>0?null===(n=o.subjects[0].instruments[0])||void 0===n?void 0:n.id:null,c=null!==(i=e.item.cbsMusicalInstrumentIds)&&void 0!==i?i:l,u=!1;o.subjects.length>0&&o.subjects.forEach((function(e){Array.isArray(e.instruments)&&e.instruments.forEach((function(e){c===e.id&&(u=!0)}))})),a.cbsMusicalInstrumentIds=u&&c||null}));var u=function(){var t=_asyncToGenerator2(_regeneratorRuntime().mark((function t(){var r,n;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=queryString.parseUrl(e.item.xml),t.next=3,api_musicSheetCreationSaveMusic({musicSheetCreationId:e.item.id,musicSheetName:e.item.name||"曲谱名称",musicSheetCategoriesId:"",audioType:"MP3",mp3Type:"MP3",composer:e.item.creator,xmlFileUrl:n.url+"?t="+(new Date).getTime(),musicSubject:a.subjectId,cbsMusicalInstrumentIds:a.cbsMusicalInstrumentIds,showFingering:1,canEvaluate:1,notation:1,playSpeed:(null===(r=e.item)||void 0===r||null===(r=r.visualObj)||void 0===r||null===(r=r.metaText)||void 0===r||null===(r=r.tempo)||void 0===r?void 0:r.bpm)||"",background:[{audioFileUrl:a.mp3,track:"P1"}],musicImg:a.musicImg,musicSvg:a.musicSvg,musicFirstSvg:a.musicFirstSvg,musicJianSvg:a.musicJianSvg,extConfigJson:""});case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),d=function(){var t=_asyncToGenerator2(_regeneratorRuntime().mark((function t(){var r,o;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,api_musicSheetCreationWav2mp3(e.item.filePath);case 3:r=t.sent,o=r.data,a.mp3=o,t.next=12;break;case 8:t.prev=8,t.t0=t.catch(0),n.error("wav转mp3失败"),p();case 12:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(){return t.apply(this,arguments)}}(),p=function(){o.saveLoading=!1,o.saveProgress=0},f=function(){var t=_asyncToGenerator2(_regeneratorRuntime().mark((function t(){var r,a,i;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o.saveProgress=0,r=e.item.xml,t.next=4,fetch(r);case 4:if(!((a=t.sent).status>299||a.status<200)){t.next=9;break}return n.error("xml文件不存在"),p(),t.abrupt("return");case 9:i=/(localhost|192)/.test(location.host)?"https://test.lexiaoya.cn":location.origin,o.productIfameSrc="".concat(i,"/instrument/#/product-img?xmlUrl=").concat(r,"&productXmlImg=1"),o.productOpen=!0,setTimeout((function(){o.saveProgress=10}),800);case 13:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),h=function(){var t=_asyncToGenerator2(_regeneratorRuntime().mark((function t(){var r,n=arguments;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=!(n.length>0&&void 0!==n[0])||n[0],t.abrupt("return",new Promise((function(t){var n=e.item.subjectCode||"acoustic_grand_piano",o=ABCJS.synth.instrumentIndexToName.indexOf(n),a=o>-1?o:0,i=new ABCJS.synth.CreateSynth;i.init({visualObj:e.item.visualObj,options:{program:a,soundFontUrl:"https://oss.dayaedu.com/musicSheet/"}}).then((function(){i.prime().then(_asyncToGenerator2(_regeneratorRuntime().mark((function n(){var o,a,s;return _regeneratorRuntime().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!r){n.next=4;break}downloadFile(i.download(),(e.item.name||"曲谱")+".wav"),n.next=10;break;case 4:return o=bufferToWave(i.getAudioBuffer()),a=+new Date+Math.ceil(1e3*Math.random()),n.next=8,api_uploadFile(o,a+".wav");case 8:s=n.sent,t(s);case 10:case"end":return n.stop()}}),n)}))))}))})));case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),v=ref(),g=function(){var t=_asyncToGenerator2(_regeneratorRuntime().mark((function t(){var i;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,h(!1);case 2:return i=t.sent,e.item.filePath=i,t.next=6,api_musicSheetCreationUpdate({id:e.item.id,cbsMusicalInstrumentIds:a.cbsMusicalInstrumentIds});case 6:return t.next=8,d();case 8:if(o.saveProgress=70,e.show){t.next=11;break}return t.abrupt("return");case 11:return t.next=13,u();case 13:if(o.saveProgress=100,r("success"),e.show){t.next=17;break}return t.abrupt("return");case 17:n.success("上传成功"),setTimeout((function(){o.saveLoading=!1,r("update:show",!1)}),300);case 19:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return function(){return createVNode(Fragment,null,[createVNode(NModal,{autoFocus:!1,show:e.show,unstableShowMask:!1,maskClosable:!1,"onUpdate:show":function(e){o.productOpen=!1,r("update:show",e)}},{default:function(){return[createVNode("div",{class:styles$4.setbox},[createVNode("div",{class:styles$4.head},[createVNode("div",null,[createTextVNode("上传到我的资源")]),createVNode(NButton,{class:styles$4.close,quaternary:!0,circle:!0,size:"small",onClick:function(){o.productOpen=!1,r("update:show",!1)}},{default:function(){return[createVNode(NIcon,{component:Close,size:18},null)]}})]),createVNode(NForm,{ref:v,model:a,class:styles$4.form,labelPlacement:"left",showRequireMark:!1},{default:function(){return[createVNode(NFormItem,{label:"可用乐器",path:"cbsMusicalInstrumentIds",rule:{required:!0,message:"请选择素材可用乐器",trigger:"change"}},{default:function(){return[createVNode(NCascader,{to:"body",disabled:o.saveLoading,placeholder:"请选择素材可用乐器",options:o.subjects,value:a.cbsMusicalInstrumentIds,"onUpdate:value":function(e){return a.cbsMusicalInstrumentIds=e},checkStrategy:"child",showPath:!1,childrenField:"instruments",expandTrigger:"hover",labelField:"name",valueField:"id",clearable:!0,filterable:!0},null)]}}),createVNode(NFormItem,{label:"上传进度",style:{display:o.saveLoading?"":"none"}},{default:function(){return[createVNode("div",{style:{display:"flex",width:"100%",height:"46px",alignItems:"center"}},[createVNode(NProgress,{percentage:o.saveProgress},null)])]}})]}}),createVNode("div",{class:styles$4.btns},[createVNode(NButton,{onClick:function(){o.productOpen=!1,p(),r("update:show",!1)}},{default:function(){return[createTextVNode("取消")]}}),createVNode(NButton,{type:"primary",loading:o.saveLoading,onClick:function(){v.value.validate(function(){var t=_asyncToGenerator2(_regeneratorRuntime().mark((function t(r){return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!r){t.next=2;break}return t.abrupt("return");case 2:if(e.item.xml){t.next=6;break}return n.error("没有生成xml文件"),p(),t.abrupt("return");case 6:o.saveLoading=!0,f();case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())}},{default:function(){return[createTextVNode("确定")]}})])])]}}),o.productOpen&&createVNode("iframe",{class:styles$4.productIframe,src:o.productIfameSrc},null)])}}}),jianpu="_jianpu_onyht_1",head="_head_onyht_9",close="_close_onyht_24",content="_content_onyht_30",iframe="_iframe_onyht_34",styles$3={jianpu:jianpu,head:head,close:close,content:content,iframe:iframe},TheJianpu=defineComponent({name:"TheJianpu",props:{show:{type:Boolean,default:!1},abc:{type:String,default:""}},emits:["update:show"],setup:function(e,t){var r=t.emit,n=computed((function(){return"".concat(location.origin).concat(location.pathname,"jianpu/index.html?c=")+encodeURIComponent(e.abc)}));return function(){return createVNode(NModal,{maskClosable:!1,displayDirective:"if",autoFocus:!1,show:e.show,"onUpdate:show":function(e){return r("update:show",e)}},{default:function(){return[createVNode("div",{class:styles$3.jianpu},[createVNode("div",{class:styles$3.head},[createVNode("div",null,[createTextVNode("简谱预览")]),createVNode(NButton,{class:styles$3.close,quaternary:!0,circle:!0,size:"small",onClick:function(){return r("update:show",!1)}},{default:function(){return[createVNode(NIcon,{component:Close,size:18},null)]}})]),createVNode("div",{class:styles$3.content},[createVNode("iframe",{class:styles$3.iframe,src:n.value},null)])])]}})}}});function _isSlot$1(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!isVNode(e)}var initMusic=function(e){return new Array(e).fill(0).map((function(e,t){return{measureNumber:t+1,barline:"|",celf:"",key:"",repeat:"",meter:"",notes:[{accidental:"",clef:"",meter:"",content:"z",noteType:"4",play:[],key:"",speed:"",dynamics:"",dCode:"",tie:"",tCode:"",dot:"",slus:"",tieline:"",segno:""}]}}))};function moveNote(e,t){var r=ALL_Pitches.indexOf(e);if(r>=0){var n=ALL_Pitches[r-t];return n||e}return e}var Home=defineComponent({name:"Home",setup:function(){var e=useDialog();useRoute$1();var t=useMessage(),r=reactive({instrument:!1,selectSubjectShow:!1,moveKeyShow:!1,speedShow:!1,accidentalsShow:!1,clefShow:!1,keyShow:!1,meterShow:!1,playShow:!1,dynamicsShow:!1,barShow:!1,mearseDeleteShow:!1,staffShow:!1,settingShow:!1,selectMearesShow:!1,jianpuShow:!1}),n=reactive({uploadStatus:"",saveLoading:!1,saveLoadingText:!1,loading:!0,drawCount:0,isSave:!0,musicId:Date.now().toString(),musicName:"",creator:"",cbsMusicalInstrumentIds:"",speed:"",music:"",playState:!1,active:null,select:{state:!1,list:[],parmas:null},isClickNote:!1,noteType:"",selectMeasures:{state:!1,x:0,y:0,start:1,startNote:null,end:0,endNote:null,max:30},slide:["note","meter","dynamics"],morePlay:!1,addMearseType:"pre",addMearseNumber:1,deleteMearseType:"ing",loadingAudioSrouce:!1,loadingAudioSrouce2:!1,moveKeyType:"inset",activePlayNote:null,times:[],undoList:[],redoList:[],uploadShow:!1,item:{},uploadClick:!1,multiSelect:!1,multiSelectList:[],multilList:[]}),o=ABC_DATA.types.map((function(e){return e.value})).filter(Boolean),a=ABC_DATA.accidentals.map((function(e){return e.value})).filter(Boolean),i=ABC_DATA.clef.map((function(e){return e.value})).filter(Boolean),s=ABC_DATA.play.map((function(e){return e.value})).filter(Boolean),l=ABC_DATA.dynamics.map((function(e){return e.value})).flat().filter(Boolean);ABC_DATA.bar.map((function(e){return e.value})).filter(Boolean),console.log("🚀 ~ noteTypes:",o,a,i,s,l);var c=function(){for(var e=n.multiSelectList[0],t=n.multiSelectList[1],r=[],o=e.measureIndex;o<t.measureIndex+1;o++)for(var a=d.abc.measures[o],i=0;i<a.notes.length;i++){var s=k("".concat(o,".").concat(i)),l=_objectSpread(_objectSpread({},lodashExports.cloneDeep(s)),{},{measureIndex:o,noteIndex:i});e.measureIndex!=t.measureIndex?e.measureIndex===o?i>=e.noteIndex&&r.push(l):o===t.measureIndex?i<=t.noteIndex&&r.push(l):r.push(l):i>=e.noteIndex&&i<=t.noteIndex&&r.push(l)}return r},u=ref(),d=reactive({visualObj:null,midiBuffer:null,abcOptions:{selectionColor:"#0f81ff",jazzchords:!0,add_classes:!0,clickListener:function(e,t,o,a,i){var s,l,u;u=document.querySelectorAll("#paper svg g.note_selected"),Array.from(u).forEach((function(e){e.classList.remove("note_selected")}));var p=(null===(s=e.chord)||void 0===s||null===(s=s.find((function(e){return"left"===e.position})))||void 0===s?void 0:s.name)||"";p=p.split(".").map((function(e){return Number(e)}));var f,h=_objectSpread(_objectSpread({},lodashExports.cloneDeep(e)),{},{measureIndex:p[0],noteIndex:p[1],isFirstChecked:!0});e&&(e.startChar&&e.endChar&&(d.visualObj.engraver.rangeHighlight(e.startChar,e.endChar),null==e||null===(f=e.abselem)||void 0===f||null===(f=f.elemset)||void 0===f||null===(f=f[0])||void 0===f||null===(f=f.classList)||void 0===f||f.add("note_selected")));if(n.select.state)return n.select.list.push(h),1===n.select.list.length&&showToast("请先选择结束音符"),void(2===n.select.list.length&&(console.log(n.select.list),n.select.list=n.select.list.sort((function(e,t){return e.startChar-t.startChar})),I()));if(n.active=h,n.multiSelect){if(0===n.multiSelectList.length&&n.multiSelectList.push(h),n.multiSelectList.length>0){if(n.multilList=[],n.multiSelectList[0].startChar>h.startChar){var v=n.multiSelectList[1]||n.multiSelectList[0];n.multiSelectList=[cleanDeep(v),cleanDeep(h)]}else n.multiSelectList=[cleanDeep(n.multiSelectList[0]),cleanDeep(h)];return console.log(n.multiSelectList[0].startChar,n.multiSelectList[1].startChar),n.multiSelectList=n.multiSelectList.sort((function(e,t){return e.startChar-t.startChar})),n.multilList=c(),void E({type:"multiSelect",value:""})}}else(n.multiSelectList.length||n.multilList.length)&&T();if(console.log("🚀 ~ abcElem:",e,n.music.substring(n.active.startChar,n.active.endChar)),"note"===(null===(l=n.active)||void 0===l?void 0:l.el_type)&&!r.selectMearesShow){var g=d.synthControl.visualObj.getTotalTime();if(g){var m=n.active.currentTrackMilliseconds/1e3/g;d.synthControl.seek(m)}}i&&i.step?E({type:"move",value:{action:"drag",step:i.step}}):null!=e&&e.midiPitches&&ABCJS.synth.playEvent(e.midiPitches,e.midiGraceNotePitches,1e3)},responsive:"resize",dragging:!0,selectTypes:["note"],visualTranspose:0,wrap:{minSpacing:.1,maxSpacing:2.7,preferredMeasuresPerLine:4},staffwidth:800},synthControl:null,synthOptions:{program:0,soundFontUrl:"https://oss.dayaedu.com/musicSheet/"},abc:{celf:"K:treble",minUnit:"L:1/4",meter:"M:4/4",speed:"Q:1/4=60",key:"K:C",visualTranspose:0,visualKey:"K:C",subjectCode:"acoustic_grand_piano",measures:initMusic(30),isrhythm:""}}),p=function(e,t,r){var n=d.abc.measures[e];n&&n.notes.splice(t+1,0,r)},f=function(){var e=document.querySelector("#paper svg .ABCJS-cursor");e&&(e.setAttribute("x1","0"),e.setAttribute("x2","0"),e.setAttribute("y1","0"),e.setAttribute("y2","0"))},h={onReady:function(){},onStart:function(){console.log("开始"),n.playState=!0;var e=document.querySelector("#paper svg"),t=document.querySelector("#paper svg .ABCJS-cursor");t||((t=document.createElementNS("http://www.w3.org/2000/svg","line")).setAttribute("class","ABCJS-cursor"),null==e||e.appendChild(t)),t.setAttributeNS(null,"x1","0"),t.setAttributeNS(null,"y1","0"),t.setAttributeNS(null,"x2","0"),t.setAttributeNS(null,"y2","0")},onBeat:function(e,t,o){if(n.playState){if(r.selectMearesShow&&n.selectMeasures.startNote&&n.selectMeasures.endNote)if(e>=t*(n.selectMeasures.endNote.milliseconds/(1e3*d.visualObj.getTotalTime()))-.1){var a=n.selectMeasures.startNote.milliseconds/(1e3*d.visualObj.getTotalTime());return void d.synthControl.seek(a)}var i=e/t*o;metronomeData.metro.sound(i)}},onEvent:function(e){var t=e;if(n.playState&&(!t.measureStart||null!==t.left)){n.activePlayNote=_objectSpread({},t);var r=document.querySelector("#paper svg .ABCJS-cursor");r&&(r.setAttribute("x1",t.left+t.width/2),r.setAttribute("x2",t.left+t.width/2),r.setAttribute("y1",t.top),r.setAttribute("y2",t.top+t.height))}},onFinished:function(){console.log("finished"),n.playState=!1;for(var e=document.querySelectorAll("svg .highlight"),t=0;t<e.length;t++)e[t].classList.remove("highlight");f()}},v=ALL_NOTES(),g=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(){var t,r,o;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.loadingAudioSrouce=!0,t=new ABCJS.synth.CreateSynth,r="X: 1\nM:4/4\nL:1/4\n".concat(v),o=ABCJS.parseOnly(r),e.next=6,t.init({visualObj:o[0],options:_objectSpread({},d.synthOptions)});case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),m=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];(new ABCJS.synth.CreateSynth).init({visualObj:d.visualObj,options:_objectSpread({},d.synthOptions)}).then((function(){d.synthControl.setTune(d.visualObj,e,{midiTranspose:d.abc.visualTranspose,program:d.synthOptions.program}).then((function(e){n.loadingAudioSrouce=!1})).catch((function(e){console.log(e)}))}))},b=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(o){var a,i,s,l;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("play"!==o){e.next=16;break}if(!r.selectMearesShow){e.next=12;break}if(!(n.selectMeasures.start>n.selectMeasures.end)&&n.selectMeasures.startNote&&n.selectMeasures.endNote){e.next=11;break}return n.selectMeasures.start=0,n.selectMeasures.end=0,n.selectMeasures.startNote=null,n.selectMeasures.endNote=null,t.warning("请输入正确的小节范围"),n.selectMeasures.state=!1,nextTick((function(){n.selectMeasures.state=!0})),e.abrupt("return");case 11:d.synthControl.isLoaded?(a=n.selectMeasures.startNote.milliseconds/(1e3*d.visualObj.getTotalTime()),d.synthControl.seek(a)):d.synthControl.runWhenReady((function(){var e=n.selectMeasures.startNote.milliseconds/(1e3*d.visualObj.getTotalTime());d.synthControl.seek(e)}));case 12:d.synthControl.play(),n.playState=!0,e.next=17;break;case 16:"pause"===o?(d.synthControl.play(),n.playState=!1,f(),(s=d.synthControl.visualObj.getTotalTime())&&void 0!==(null===(i=n.activePlayNote)||void 0===i?void 0:i.milliseconds)&&(l=n.activePlayNote.milliseconds/1e3/s,nextTick((function(){d.synthControl.seek(l)})))):(d.synthControl.restart(),nextTick((function(){if(r.selectMearesShow){if(n.selectMeasures.start>n.selectMeasures.end||!n.selectMeasures.startNote||!n.selectMeasures.endNote)return n.selectMeasures.start=0,n.selectMeasures.end=0,n.selectMeasures.startNote=null,n.selectMeasures.endNote=null,t.warning("请输入正确的小节范围"),n.selectMeasures.state=!1,void nextTick((function(){n.selectMeasures.state=!0}));if(d.synthControl.isLoaded){var e=n.selectMeasures.startNote.milliseconds/(1e3*d.visualObj.getTotalTime());d.synthControl.seek(e)}else d.synthControl.runWhenReady((function(){var e=n.selectMeasures.startNote.milliseconds/(1e3*d.visualObj.getTotalTime());d.synthControl.seek(e)}))}n.playState||d.synthControl.play()})));case 17:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),A=null,y=function(){A&&clearTimeout(A),A=setTimeout((function(){V(!1)}),15e3)},x=function(){return n.drawCount>0&&(d.synthControl.disable(!0),n.playState&&(n.playState=!1),n.isSave=!1),r.selectMearesShow&&(n.selectMeasures.startNote=null,n.selectMeasures.endNote=null,n.selectMeasures.start=0,n.selectMeasures.end=0,r.selectMearesShow=!1,n.selectMeasures.state=!1,nextTick((function(){n.selectMeasures.state=!0}))),new Promise((function(e){nextTick((function(){n.music=renderMeasures(d.abc),d.visualObj=ABCJS.renderAbc("paper",n.music,_objectSpread(_objectSpread({},d.abcOptions),{},{visualTranspose:d.abc.visualTranspose}))[0],n.drawCount<3&&console.log("🚀 ~ visualObj:",d.visualObj),m(n.drawCount>0),function(){for(var e=document.querySelector("#paper svg"),t=0,r=0;r<d.visualObj.lines.length;r++)for(var o=d.visualObj.lines[r],a=0;a<o.staff.length;a++)for(var i=_toConsumableArray2(o.staff[a].voices).flat(),s=0;s<i.length;s++){var l=i[s];if("bar"===l.el_type&&t++,["note","keySignature","clef","timeSignature"].includes(l.el_type)){var c,u,p,f=(null===(c=l.abselem.elemset)||void 0===c||null===(c=c[0])||void 0===c||null===(u=(p=c).getBBox)||void 0===u?void 0:u.call(p))||null;if(f){var h=document.createElementNS("http://www.w3.org/2000/svg","rect");h.setAttributeNS(null,"x",f.x-4+""),h.setAttributeNS(null,"y",f.y-4+""),h.setAttributeNS(null,"width",f.width+8+""),h.setAttributeNS(null,"height",f.height+8+""),h.setAttributeNS(null,"fill","rgba(0,0,0,0)"),h.setAttributeNS(null,"stroke","rgba(0,0,0,0)"),h.setAttributeNS(null,"rx","2"),h.classList.add("abcjs-note-hover"),null==e||e.appendChild(h)}}}console.log(t),n.selectMeasures.max=t}();try{w()}catch(error){console.log("🚀 ~ error:",error)}e(1),n.drawCount>0&&y(),u.value&&(u.value.value=n.music),n.drawCount++}))}))},w=function(){var e=new ABCJS.TimingCallbacks(d.visualObj);n.times=e.noteTimings;for(var t=[],r=d.abc.meter||"",o=0;o<e.noteTimings.length-1;o++){var a,i=e.noteTimings[o],s=P(i.startChar),l=(null===(a=s.chord)||void 0===a||null===(a=a.find((function(e){return"left"===e.position})))||void 0===a?void 0:a.name)||"";if(l=l.split(".").map((function(e){return Number(e)})),2===l.length){var c,u=d.abc.measures[l[0]],p=new RegExp(/M:(\d+)\/\d+/),f=Number(null===(c=r.match(p))||void 0===c?void 0:c[1]),h=u.notes[l[1]];t.push(_objectSpread(_objectSpread({},h),{},{timeNote:i,abcNote:s,measure:{numerator:f}}))}}metronomeData.metro||(metronomeData.metro=new Metronome);try{metronomeData.activeIndex=-1,metronomeData.metro.init(t)}catch(error){console.log("🚀 ~ 生成节拍器数据错误:",error)}},C=function(e){var t,r=d.visualObj.getElementFromChar(e);r&&(null==r||null===(t=r.abselem)||void 0===t||null===(t=t.elemset)||void 0===t||null===(t=t[0])||void 0===t||null===(t=t.classList)||void 0===t||t.add("note_selected"));return r},k=function(e){var t=n.music.indexOf(e);return d.visualObj.getElementFromChar(t)},_=function(e){for(var t=d.abc.measures[e],r=[],n=0;n<t.notes.length;n++){var o="".concat(e,".").concat(n),a=k(o);r.push(a)}return r},S=function(){console.log("点击退出",window.matchMedia("(display-mode: standalone)").matches),window.matchMedia("(display-mode: standalone)").matches?(window.onbeforeunload=null,console.log("准备发消息"),window.parent.postMessage({api:"notation_exit"},"*")):(window.close(),window.parent.postMessage({api:"notation_exit"},"*"))},B=function(){var r=_asyncToGenerator2(_regeneratorRuntime().mark((function r(){var o,a;return _regeneratorRuntime().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!n.saveLoading){r.next=2;break}return r.abrupt("return");case 2:return o=t.loading("保存中...",{duration:0}),r.next=5,V(!1);case 5:setTimeout(_asyncToGenerator2(_regeneratorRuntime().mark((function e(){return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o.type="success",o.content="保存成功",setTimeout((function(){o.destroy()}),500);case 3:case"end":return e.stop()}}),e)}))),300),"NO"!==n.uploadStatus?e.warning((_defineProperty2(a={maskClosable:!0,autoFocus:!1},"maskClosable",!1),_defineProperty2(a,"class","deleteDialog saveDialog"),_defineProperty2(a,"title","温馨提示"),_defineProperty2(a,"content","是否更新到我的资源?"),_defineProperty2(a,"positiveText","更新"),_defineProperty2(a,"positiveButtonProps",{type:"primary"}),_defineProperty2(a,"negativeText","不更新"),_defineProperty2(a,"negativeButtonProps",{type:"default",ghost:!1}),_defineProperty2(a,"onPositiveClick",function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(){return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.uploadClick=!0,e.next=3,ae();case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()),_defineProperty2(a,"onNegativeClick",(function(){S()})),a)):S();case 7:case"end":return r.stop()}}),r)})));return function(){return r.apply(this,arguments)}}(),E=function(){var o=_asyncToGenerator2(_regeneratorRuntime().mark((function o(a){var i,s,l,c,u,f,h,v,g,m,b,y,w,E,I,N,z,M,R,D,O,F,L,j,V,$,H,U,Q,G,K,q,W,Y,X,J,Z,ee,te,re,ne,oe,ae,ie,se,le,ce,ue,de,pe,fe,he,ve,ge,me;return _regeneratorRuntime().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(n.undoList.length>30&&n.undoList.shift(),n.undoList.push(cleanDeep(d.abc)),d.synthControl.disable(!0),n.playState&&(n.playState=!1),c=a.type,u=a.value,f=(null===(i=d.abc.measures[null===(s=n.active)||void 0===s?void 0:s.measureIndex])||void 0===i?void 0:i.notes[null===(l=n.active)||void 0===l?void 0:l.noteIndex])||null,"multiSelect"!==c){o.next=10;break}return n.multilList.forEach((function(e){var t;null==e||null===(t=e.abselem)||void 0===t||null===(t=t.elemset)||void 0===t||null===(t=t[0])||void 0===t||null===(t=t.classList)||void 0===t||t.add("note_selected")})),o.abrupt("return");case 10:if("exit"!==c){o.next=17;break}if(n.isSave){o.next=16;break}return clearTimeout(A),n.uploadClick=!1,e.warning({autoFocus:!1,maskClosable:!1,class:"deleteDialog saveDialog",title:"温馨提示",content:"是否保存当前曲谱?",positiveText:"保存",positiveButtonProps:{type:"primary"},negativeText:"不保存",negativeButtonProps:{type:"default",ghost:!1},onPositiveClick:function(){B()},onNegativeClick:function(){S()}}),o.abrupt("return");case 16:S();case 17:if("type"!==c){o.next=27;break}if(n.noteType=u,!f){o.next=26;break}return f.noteType=u,o.next=23,x();case 23:h=C(n.active.startChar),v=h?_objectSpread(_objectSpread({},lodashExports.cloneDeep(h)),{},{measureIndex:n.active.measureIndex,noteIndex:n.active.noteIndex,isFirstChecked:!0}):null,n.active=v;case 26:return o.abrupt("return");case 27:if("segno"!==c){o.next=37;break}if(n.active){o.next=31;break}return showToast("请先选择音符"),o.abrupt("return");case 31:if(f){o.next=33;break}return o.abrupt("return");case 33:return f.segno=f.segno?"":u,o.next=36,x();case 36:C(n.active.startChar);case 37:if("note"!==c){o.next=74;break}if(!n.active||"note"!=n.active.el_type){o.next=74;break}return y=(null===(g=d.abc.measures[n.active.measureIndex])||void 0===g?void 0:g.notes[n.active.noteIndex])||null,w=u.split("-"),n.active.isFirstChecked&&(y.content=w[0],y.noteType=n.noteType,w[1]&&(y.accidental=w[1]||""),n.active.isFirstChecked=!1),o.next=44,x();case 44:if(null==(E=k("".concat(n.active.measureIndex,".").concat(n.active.noteIndex)))||null===(m=E.abselem)||void 0===m||null===(m=m.beam)||void 0===m||null===(m=m.elems)||void 0===m||!m.length){o.next=53;break}if(I=E.abselem.beam.elems,N=d.visualObj.getBeatLength(),z=I.map((function(e){return e.duration})).reduce((function(e,t){return e+t})),!(z>=N)){o.next=53;break}return d.abc.measures[n.active.measureIndex].notes[n.active.noteIndex].segno=" ",o.next=53,x();case 53:if(null!=E&&E.midiPitches&&ABCJS.synth.playEvent(E.midiPitches,E.midiGraceNotePitches,1e3),!(null===(b=d.abc.measures[n.active.measureIndex])||void 0===b?void 0:b.notes[n.active.noteIndex+1])){o.next=61;break}M=k("".concat(n.active.measureIndex,".").concat(n.active.noteIndex+1)),C(M.startChar),n.active=_objectSpread(_objectSpread({},M),{},{measureIndex:n.active.measureIndex,noteIndex:n.active.noteIndex+1,isFirstChecked:!0}),o.next=74;break;case 61:if(R=_(n.active.measureIndex),D=R.map((function(e){return e.duration})).reduce((function(e,t){return e+t})),!(D>=1)){o.next=68;break}(null===(O=d.abc.measures[n.active.measureIndex+1])||void 0===O?void 0:O.notes[0])?(F=k("".concat(n.active.measureIndex+1,".",0)),C(F.startChar),n.active=_objectSpread(_objectSpread({},F),{},{measureIndex:n.active.measureIndex+1,noteIndex:0,isFirstChecked:!0})):(C(n.active.startChar),n.active.isFirstChecked=!0),o.next=74;break;case 68:return p(n.active.measureIndex,n.active.noteIndex,createNote({content:"z",noteType:n.noteType})),o.next=71,x();case 71:L=k("".concat(n.active.measureIndex,".").concat(n.active.noteIndex+1)),C(L.startChar),n.active=_objectSpread(_objectSpread({},L),{},{measureIndex:n.active.measureIndex,noteIndex:n.active.noteIndex+1,isFirstChecked:!0});case 74:if("accidentals"!==c){o.next=87;break}if(n.active){o.next=78;break}return t.warning("请先选择音符"),o.abrupt("return");case 78:if("z"!==f.content){o.next=81;break}return t.warning("休止符无法添加临时升降记号"),o.abrupt("return");case 81:return f.accidental=f.accidental==u?"":u,o.next=84,x();case 84:j=C(n.active.startChar),V=j?_objectSpread(_objectSpread({},lodashExports.cloneDeep(j)),{},{measureIndex:n.active.measureIndex,noteIndex:n.active.noteIndex,isFirstChecked:!0}):null,n.active=V;case 87:if("clef"!==c){o.next=104;break}if(!n.active){o.next=102;break}if(0!==n.active.measureIndex||0!==n.active.noteIndex){o.next=94;break}d.abc.celf=u,x(),o.next=99;break;case 94:if(f){o.next=96;break}return o.abrupt("return");case 96:return f.clef="[".concat(u,"]"),o.next=99,x();case 99:C(n.active.startChar),o.next=104;break;case 102:d.abc.celf=u,x();case 104:if("key"!==c){o.next=111;break}return d.abc.key=u,d.abc.visualTranspose=0,d.abc.visualKey="K:C",d.abc.visualKey=u,o.next=111,x();case 111:if("meter"!==c){o.next=126;break}if(!n.active||0===n.active.measureIndex){o.next=123;break}if(f){o.next=115;break}return o.abrupt("return");case 115:return d.abc.measures[n.active.measureIndex].meter="[".concat(u,"]"),o.next=119,x();case 119:$=k("".concat(n.active.measureIndex,".").concat(n.active.noteIndex)),C($.startChar),o.next=126;break;case 123:return d.abc.meter=u,o.next=126,x();case 126:if("play"!==c){o.next=136;break}if(n.active){o.next=130;break}return t.warning("请先选择音符"),o.abrupt("return");case 130:if(f){o.next=132;break}return o.abrupt("return");case 132:return f.play.includes(u)?f.play=f.play.filter((function(e){return e!==u})):f.play.push(u),o.next=135,x();case 135:C(n.active.startChar);case 136:if("dynamics"!==c){o.next=159;break}if(n.active){o.next=140;break}return t.info("请先选择音符"),o.abrupt("return");case 140:if(f){o.next=142;break}return o.abrupt("return");case 142:if(!Array.isArray(u)){o.next=155;break}if(null==f||!f.dynamics){o.next=150;break}for(f.dynamics="",H=0;H<d.abc.measures.length;H++)for(U=d.abc.measures[H],Q=0;Q<U.notes.length;Q++)(G=U.notes[Q]).dCode===f.dCode&&(G.dynamics="");return o.next=148,x();case 148:o.next=154;break;case 150:n.select.list=[lodashExports.cloneDeep(n.active)],n.select.state=!0,n.select.parmas=a,t.info("请选择结束音符");case 154:return o.abrupt("return");case 155:return f.dynamics===u?f.dynamics="":f.dynamics=u,o.next=158,x();case 158:C(n.active.startChar);case 159:if("tie"!==c){o.next=191;break}if(n.active){o.next=163;break}return t.info("请先选择音符"),o.abrupt("return");case 163:if(f){o.next=165;break}return o.abrupt("return");case 165:if(!Array.isArray(u)){o.next=179;break}if(null==f||!f.tie){o.next=174;break}for(f.tie="",K=0;K<d.abc.measures.length;K++)for(q=d.abc.measures[K],W=0;W<q.notes.length;W++)(Y=q.notes[W]).tCode===f.tCode&&(Y.tie="");return o.next=171,x();case 171:return o.abrupt("return");case 174:return n.select.list=[lodashExports.cloneDeep(n.active)],n.select.state=!0,n.select.parmas=a,t.info("请选择结束音符"),o.abrupt("return");case 179:if(X=P(n.active.endChar),!f.tieline){o.next=184;break}f.tieline="",o.next=188;break;case 184:if(n.active.averagepitch==X.averagepitch){o.next=187;break}return t.warning("必须同音高才能添加延音线"),o.abrupt("return");case 187:f.tieline=u;case 188:return o.next=190,x();case 190:C(n.active.startChar);case 191:if("repeat"!==c){o.next=201;break}if(n.active){o.next=194;break}return o.abrupt("return");case 194:if(J=d.abc.measures[n.active.measureIndex]||null){o.next=197;break}return o.abrupt("return");case 197:return J.repeat===u?J.repeat="":J.repeat=u,o.next=200,x();case 200:C(n.active.startChar+u.length);case 201:if("barline"!==c){o.next=217;break}if(n.active){o.next=204;break}return o.abrupt("return");case 204:if(Z=d.abc.measures[n.active.measureIndex]||null){o.next=207;break}return o.abrupt("return");case 207:if("|:"!==u){o.next=214;break}if(ee=d.abc.measures[n.active.measureIndex-1]||null){o.next=211;break}return o.abrupt("return");case 211:ee.barline=ee.barline===u?"|":u,o.next=215;break;case 214:Z.barline=Z.barline===u?"|":u;case 215:return o.next=217,x();case 217:if("speeds"!==c){o.next=237;break}if(!n.active){o.next=234;break}if(0!==n.active.measureIndex||0!==n.active.noteIndex){o.next=225;break}return d.abc.speed=u,o.next=223,x();case 223:o.next=231;break;case 225:if(re=(null===(te=d.abc.measures[n.active.measureIndex])||void 0===te?void 0:te.notes[n.active.noteIndex])||null){o.next=228;break}return o.abrupt("return");case 228:return re.speed="[".concat(u,"]"),o.next=231,x();case 231:C(n.active.startChar),o.next=237;break;case 234:return d.abc.speed=u,o.next=237,x();case 237:if("dot"!==c){o.next=247;break}if(n.active){o.next=241;break}return showToast("请先选择音符"),o.abrupt("return");case 241:if(f){o.next=243;break}return o.abrupt("return");case 243:return f.dot=f.dot?"":u,o.next=246,x();case 246:C(n.active.startChar);case 247:if("slus"!==c){o.next=255;break}if(oe=(null===(ne=d.abc.measures[n.active.measureIndex])||void 0===ne?void 0:ne.notes[n.active.noteIndex])||null){o.next=251;break}return o.abrupt("return");case 251:return oe.slus=oe.slus===u?"":u,o.next=254,x();case 254:C(n.active.startChar);case 255:if("move"!==c){o.next=282;break}if(ae="drag"===u.action?u.step:"up"===u.action?-1:1,!n.multilList.length){o.next=273;break}for(ie=0;ie<n.multilList.length;ie++)se=n.multilList[ie],(le=d.abc.measures[se.measureIndex].notes[se.noteIndex]).content=moveNote(le.content,ae);return o.next=261,x();case 261:ce=0;case 262:if(!(ce<n.multilList.length)){o.next=272;break}if(de=n.multilList[ce],null==(pe=k("".concat(de.measureIndex,".").concat(de.noteIndex)))||null===(ue=pe.abselem)||void 0===ue||null===(ue=ue.elemset)||void 0===ue||null===(ue=ue[0])||void 0===ue||null===(ue=ue.classList)||void 0===ue||ue.add("note_selected"),null!=pe&&pe.midiPitches){o.next=268;break}return o.abrupt("return");case 268:ABCJS.synth.playEvent(pe.midiPitches,pe.midiGraceNotePitches,1e3);case 269:ce++,o.next=262;break;case 272:return o.abrupt("return");case 273:if(f){o.next=275;break}return o.abrupt("return");case 275:return f.content=moveNote(f.content,ae),o.next=278,x();case 278:if(null!=(fe=C(n.active.startChar))&&fe.midiPitches){o.next=281;break}return o.abrupt("return");case 281:ABCJS.synth.playEvent(fe.midiPitches,fe.midiGraceNotePitches,1e3);case 282:if("delete"!==c){o.next=298;break}if(!n.multilList.length){o.next=289;break}for(he=0;he<n.multilList.length;he++)ve=n.multilList[he],d.abc.measures[ve.measureIndex].notes[ve.noteIndex].is_delete=!0;for(ge=0;ge<d.abc.measures.length;ge++)d.abc.measures[ge].notes=d.abc.measures[ge].notes.filter((function(e){return!0!==e.is_delete}));for(me=0;me<d.abc.measures.length;me++)d.abc.measures[me].notes.length||d.abc.measures[me].notes.push(createNote({content:"z",noteType:"4"}));o.next=295;break;case 289:if(n.active){o.next=291;break}return o.abrupt("return");case 291:if(0!==n.active.startChar){o.next=293;break}return o.abrupt("return");case 293:d.abc.measures[n.active.measureIndex].notes.splice(n.active.noteIndex,1),0===d.abc.measures[n.active.measureIndex].notes.length&&d.abc.measures.splice(n.active.measureIndex,1);case 295:return o.next=297,x();case 297:n.active=null;case 298:if(n.multilList.length&&T(),"setrhythm"!==c){o.next=305;break}return d.abc.isrhythm=u,console.log("🚀 ~ abcData.abc.isrhythm:",d.abc.isrhythm),r.moveKeyShow=!1,o.next=305,x();case 305:case"end":return o.stop()}}),o)})));return function(e){return o.apply(this,arguments)}}(),T=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(){return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n.multilList=[],n.multiSelectList=[],n.multiSelect=!1;case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),P=function e(t){var r=d.visualObj.getElementFromChar(t);return"note"===(null==r?void 0:r.el_type)?r:e(r.endChar)},I=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(){var r,o,a,i,s,l,c,u,p,f;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=null===(r=n.select.parmas)||void 0===r?void 0:r.type,i=null===(o=n.select.parmas)||void 0===o?void 0:o.value,s=n.select.list[0],l=n.select.list[1],"dynamics"!==a){e.next=16;break}if(!d.abc.measures[l.measureIndex].notes[l.noteIndex].dynamics&&!d.abc.measures[s.measureIndex].notes[s.noteIndex].dynamics){e.next=9;break}t.warning("已经添加了力度标记"),e.next=16;break;case 9:return c=Date.now()+"",d.abc.measures[s.measureIndex].notes[s.noteIndex].dynamics=i[0],d.abc.measures[s.measureIndex].notes[s.noteIndex].dCode=c,d.abc.measures[l.measureIndex].notes[l.noteIndex].dynamics=i[1],d.abc.measures[l.measureIndex].notes[l.noteIndex].dCode=c,e.next=16,x();case 16:if("tie"!==a){e.next=22;break}return u=Date.now()+"",d.abc.measures[s.measureIndex].notes[s.noteIndex].tie?(p=d.abc.measures[s.measureIndex].notes[s.noteIndex].tie,d.abc.measures[s.measureIndex].notes[s.noteIndex].tie=i[0]+p):(d.abc.measures[s.measureIndex].notes[s.noteIndex].tie=i[0],d.abc.measures[s.measureIndex].notes[s.noteIndex].tCode=u),d.abc.measures[l.measureIndex].notes[l.noteIndex].tie?(f=d.abc.measures[l.measureIndex].notes[l.noteIndex].tie,d.abc.measures[l.measureIndex].notes[l.noteIndex].tie=f+i[1]):(d.abc.measures[l.measureIndex].notes[l.noteIndex].tie=i[1],d.abc.measures[l.measureIndex].notes[l.noteIndex].tCode=u),e.next=22,x();case 22:n.select.state=!1,n.select.list=[],n.select.parmas=null,n.active=null,document.querySelectorAll(".abcjs-note_selected").forEach((function(e){e.classList.remove("abcjs-note_selected"),e.setAttribute("fill","currentColor")})),t.destroyAll();case 27:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),N=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(t){var o;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log(t),console.log(d.abc.visualKey||d.abc.key,"=>",t.value),o=getKeyStep(t.value,d.abc.visualKey||d.abc.key,n.moveKeyType),console.log("🚀 ~ item:",o),window.visual_Key=t.value.split(":")[1],d.abc.visualTranspose=o.step,d.abc.visualKey=t.value,r.moveKeyShow=!1,n.playState&&(d.synthControl.disable(!0),n.playState=!1),e.next=11,x();case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),z=reactive({wait:!1,control:!1}),M=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(t){var r;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("INPUT"!==t.target.nodeName){e.next=2;break}return e.abrupt("return");case 2:if("Control"!==t.key&&"Meta"!==t.key||(z.control=!0),"z"!==t.key||!z.control||z.wait){e.next=12;break}if(t.preventDefault(),!n.undoList.length){e.next=12;break}return d.abc=lodashExports.cloneDeep(n.undoList[n.undoList.length-1]),n.undoList.pop(),z.wait=!0,e.next=11,x();case 11:nextTick((function(){z.wait=!1}));case 12:"shift"===t.key.toLocaleLowerCase()&&(n.multiSelect||"note"!==(null===(r=n.active)||void 0===r?void 0:r.el_type)||(console.log("shift 按下"),n.multiSelectList=[cleanDeep(n.active)]),n.multiSelect=!0);case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),R=function(e){if("INPUT"!==e.target.nodeName){if(console.log(e.key.toLocaleLowerCase()),"shift"===e.key.toLocaleLowerCase()&&(console.log("shift 抬起"),n.multiSelect=!1),"Control"!==e.key&&"Meta"!==e.key||(z.control=!1),"1"==e.key.toLocaleLowerCase()&&E({type:"type",value:"///"}),"2"==e.key.toLocaleLowerCase()&&E({type:"type",value:"//"}),"3"==e.key.toLocaleLowerCase()&&E({type:"type",value:"/"}),"4"==e.key.toLocaleLowerCase()&&E({type:"type",value:""}),"5"==e.key.toLocaleLowerCase()&&E({type:"type",value:"2"}),"6"==e.key.toLocaleLowerCase()&&E({type:"type",value:"4"}),!n.active)return!1;if("Backspace"===e.key&&E({type:"delete",value:""}),/^[A-Ga-g]$/.test(e.key)&&E({type:"note",value:e.key.toLocaleUpperCase()}),["ArrowUp","ArrowDown"].includes(e.key))return e.preventDefault(),e.stopPropagation(),E({type:"move",value:{action:"ArrowUp"===e.key?"up":"donw"}}),!1;"0"===e.key.toLocaleLowerCase()&&E({type:"note",value:"z"}),"7"==e.key.toLocaleLowerCase()&&E({type:"accidentals",value:"="}),"8"==e.key.toLocaleLowerCase()&&E({type:"accidentals",value:"^"}),"9"==e.key.toLocaleLowerCase()&&E({type:"accidentals",value:"_"})}},D=computed((function(){return ABCJS.synth.instrumentIndexToName.map((function(e,t){return{label:instrumentsNames[e],value:t}}))})),O=computed((function(){var e=ABCJS.synth.instrumentIndexToName[d.synthOptions.program];return instrumentsNames[e]})),F=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(){var t,r,o,a,i,s,l,c;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=getQuery(),n.loading=!0,e.next=4,api_musicSheetCreationDetail(t.id);case 4:if(200!=(null==(r=e.sent)?void 0:r.code)){e.next=45;break}n.uploadStatus=r.data.uploadStatus||"",n.musicId=r.data.id||"",n.musicName=r.data.name||"",n.creator=r.data.creator||"",n.cbsMusicalInstrumentIds=r.data.cbsMusicalInstrumentIds||"",o="";try{o=JSON.parse(r.data.creationData)}catch(error){console.log(error)}if(!o){e.next=31;break}console.log("🚀 ~ abc:",o),n.musicName=null!==(a=o.title)&&void 0!==a?a:n.musicName,d.abc.title=n.musicName,d.abc.creator=n.creator,d.abc.celf=o.celf||"K:treble",d.abc.key=o.key.value||o.key||"K:C",d.abc.meter=o.meter.value||o.meter||"M:4/4",d.abc.speed=o.speed||"Q:1/4=60",d.abc.visualTranspose=o.visualTranspose||0,d.abc.visualKey=o.visualKey||"K:C",d.abc.subjectCode=o.subjectCode||"acoustic_grand_piano",i=ABCJS.synth.instrumentIndexToName.indexOf(d.abc.subjectCode),d.synthOptions.program=i>-1?i:0,d.abc.measures=o.measures||initMusic(30),d.abc.isrhythm=o.isrhythm?o.isrhythm:"",e.next=45;break;case 31:if(null==r||!r.data.xml){e.next=45;break}return e.next=34,request$1$1.get(r.data.xml,{mode:"cors"});case 34:return s=e.sent,l=(new DOMParser).parseFromString(s,"text/xml"),l=window.vertaal(l,{p:"f",t:1,u:0,v:3,mnum:0}),c=ABCJS.renderAbc("importRef",l[0],{responsive:"resize"}),console.log("🚀 ~ parseData:",c),d.abc=formateAbc(c[0],{subjectCode:d.abc.subjectCode}),console.log(d.abc,"12"),n.musicName=n.musicName||d.abc.title,n.creator=d.abc.creator||n.creator,e.next=45,x();case 45:return n.loading=!1,e.abrupt("return",r);case 47:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),L=function(e){n.saveLoading=!0,e&&(n.saveLoadingText=!0,t.loading("保存中...",{duration:0}))},j=!1,V=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(){var r,o,a,i,s,l,c=arguments;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=!(c.length>0&&void 0!==c[0])||c[0],n.musicName){e.next=4;break}return r&&(t.destroyAll(),t.error("请输入曲谱名称")),e.abrupt("return");case 4:if(!j){e.next=6;break}return e.abrupt("return");case 6:return j=!0,o=getQuery(),d.abc.title=n.musicName,d.abc.creator=n.creator,L(r),e.next=13,K(!1);case 13:if(a=e.sent,console.log("🚀 ~ pngUrl:",a),e.prev=15,!o.id){e.next=22;break}return e.next=19,api_musicSheetCreationUpdate({name:n.musicName||"未命名乐谱",creator:n.creator||"未命名乐谱",creationConfig:renderMeasures(d.abc,{hiddenIndex:!0,showTitle:!0,showCreator:!0}),creationData:JSON.stringify(cleanDeep(d.abc)),id:o.id,cbsMusicalInstrumentIds:n.cbsMusicalInstrumentIds,coverImg:a});case 19:e.sent,e.next=26;break;case 22:return e.next=24,api_musicSheetCreationSave({name:n.musicName||"未命名乐谱",creator:n.creator||"未命名乐谱",creationConfig:renderMeasures(d.abc,{hiddenIndex:!0,showTitle:!0,showCreator:!0}),creationData:JSON.stringify(cleanDeep(d.abc)),cbsMusicalInstrumentIds:n.cbsMusicalInstrumentIds,coverImg:a});case 24:if(null!=(i=e.sent)&&i.data){s=location.hash.split("?"),(l=queryString.parse(s[1])).id=i.data;try{delete l.config}catch(error){console.log("🚀 ~ error:",error)}location.hash=s[0]+"?"+queryString.stringify(l)}case 26:e.next=31;break;case 28:e.prev=28,e.t0=e.catch(15),console.log(e.t0);case 31:r&&(t.destroyAll(),t.success("保存成功")),n.isSave=!0,n.saveLoading=!1,n.uploadClick=!1,n.saveLoadingText=!1,j=!1;case 37:case"end":return e.stop()}}),e,null,[[15,28]])})));return function(){return e.apply(this,arguments)}}(),$=function(){var e,t,r,o,a,i,s,l=decodeUrl(getQuery().config);console.log("🚀 ~ abc:",l),n.cbsMusicalInstrumentIds=l.cbsMusicalInstrumentIds||"",d.abc.celf=null!==(e=l.celf)&&void 0!==e?e:"K:treble",d.abc.key=null!==(t=l.key)&&void 0!==t?t:"K:C",d.abc.meter=null!==(r=l.meter)&&void 0!==r?r:"M:4/4",d.abc.speed=null!==(o=l.speed)&&void 0!==o?o:"Q:1/4=80",d.abc.visualTranspose=null!==(a=l.visualTranspose)&&void 0!==a?a:0,d.abc.subjectCode=null!==(i=l.subjectCode)&&void 0!==i?i:"acoustic_grand_piano";var c=ABCJS.synth.instrumentIndexToName.indexOf(d.abc.subjectCode);d.synthOptions.program=c>-1?c:0,d.abc.measures=initMusic(null!==(s=l.measure)&&void 0!==s?s:30),n.loading=!1},H=useDocumentVisibility();watch((function(){return H.value}),(function(e){"hidden"===e&&n.playState&&b("pause")})),onMounted(_asyncToGenerator2(_regeneratorRuntime().mark((function e(){var t,r;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!getQuery().id){e.next=6;break}return e.next=4,F();case 4:e.next=7;break;case 6:$();case 7:return ABCJS.synth.supportsAudio()&&(d.synthControl=new ABCJS.synth.SynthController,d.synthControl.load("#audio",h,{displayLoop:!0,displayRestart:!0,displayPlay:!0,displayProgress:!0})),e.next=10,x();case 10:g(),document.addEventListener("keyup",R),document.addEventListener("keydown",M),window.onbeforeunload=function(e){n.isSave||(e.preventDefault(),e.returnValue="还有没保存的")},d.synthControl.restart(),(t=document.querySelector("#selectMearesBtn"))&&(r=t.getBoundingClientRect(),n.selectMeasures.x=document.body.clientWidth-320,n.selectMeasures.y=r.top+70,n.selectMeasures.state=!0);case 17:case"end":return e.stop()}}),e)})))),onUnmounted((function(){document.removeEventListener("keyup",R),document.removeEventListener("keydown",M)}));var U=computed((function(){return n.active&&d.abc.measures[n.active.measureIndex]||{}})),Q=computed((function(){var e;return n.active&&(null===(e=d.abc.measures[n.active.measureIndex])||void 0===e?void 0:e.notes[n.active.noteIndex])||{}})),G=function(){showConfirmDialog({title:"温馨提示",message:"是否覆盖当前乐谱?"}).then((function(){d.abc.measures=initMusic(30),x(),n.active=null}))},K=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return new Promise((function(t){var r,o=document.getElementById("exportPng");if(o){var a=renderMeasures(d.abc,{hiddenIndex:!0,showTitle:!0,showCreator:!0});ABCJS.renderAbc(o,a,d.abcOptions);var i=null===(r=o.children[0])||void 0===r?void 0:r.cloneNode(!0),s=o.getBoundingClientRect();i.setAttribute("width","".concat(3*s.width)),i.setAttribute("height","".concat(3*s.height));var l=document.createElementNS("http://www.w3.org/2000/svg","rect");if(l.setAttribute("x","0"),l.setAttribute("y","0"),l.setAttribute("width","".concat(10*s.width)),l.setAttribute("height","".concat(10*s.height)),l.setAttribute("fill","#fff"),i.prepend(l),i){var c=svg2canvas(i.outerHTML);if(e){var u=document.createElement("a");u.href=c.toDataURL(),u.download=n.musicName+".png";var p=new MouseEvent("click");u.dispatchEvent(p)}else c.toBlob(function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(r){var o;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,api_uploadFile(r,n.musicId+".png");case 2:o=e.sent,t(o);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),"image/png")}}}))},q=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(){return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:d.abc.title="T:".concat(n.musicName),d.abc.creator="R:".concat(n.creator),K();case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),W=ref(),Y=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(){var t,r=arguments;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=!(r.length>0&&void 0!==r[0])||r[0],e.abrupt("return",new Promise((function(e){var r=new ABCJS.synth.CreateSynth;r.init({visualObj:d.visualObj,options:d.synthOptions}).then((function(){r.prime().then(_asyncToGenerator2(_regeneratorRuntime().mark((function o(){var a,i;return _regeneratorRuntime().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(!t){o.next=4;break}downloadFile(r.download(),(n.musicName||"曲谱")+".wav"),o.next=9;break;case 4:return a=bufferToWave(r.getAudioBuffer()),o.next=7,api_uploadFile(a,n.musicId+".wav");case 7:i=o.sent,e(i);case 9:case"end":return o.stop()}}),o)}))))}))})));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),X=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(){var r,o,a;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=t.loading("导出中..."),e.next=3,V(!1);case 3:return e.next=5,F();case 5:if(null!=(a=e.sent)&&null!==(r=a.data)&&void 0!==r&&r.xml){e.next=10;break}return o.type="error",o.content="导出失败",e.abrupt("return");case 10:FileSaver_minExports.saveAs(a.data.xml,(n.musicName||"曲谱")+".xml"),o.type="success",o.content="导出成功";case 13:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),J=function(e){var t;"png"===e?q():"midi"===e?(t=ABCJS.synth.getMidiFile(d.visualObj,{chordsOff:!0,midiOutputType:"link",fileName:"曲谱"}),W.value.innerHTML=t,W.value.querySelector("a").click()):"wav"===e?function(){try{d.synthControl&&d.synthControl.download((n.musicName||"曲谱")+".wav")}catch(error){Y()}}():"down-xml"===e&&X()},Z=ref({timer:null,importFileId:null,data:{},abcData:{}}),ee=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(t){var r,n,o,a,i,s;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,console.log(t,"file"),r=t.name,o={filename:n=r,bucketName:"gyt",postData:{filename:n,acl:"public-read",key:n,unknowValueField:[]}},e.next=7,getUploadSign(o);case 7:a=e.sent,i=a.data,s={policy:i.policy,signature:i.signature,key:n,KSSAccessKeyId:i.kssAccessKeyId,acl:"public-read",name:n,file:t},onOnlyFileUpload("action",s).then(function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(t){var r;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,api_musicalScoreConversionRecordSave([{fileName:n,fileUrl:t,creationFlag:!1}]);case 2:(r=e.sent).data&&r.data.length>0&&(Z.value.importFileId=r.data[0],Z.value.timer=setInterval((function(){te()}),5e3));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e.next=15;break;case 13:e.prev=13,e.t0=e.catch(0);case 15:case"end":return e.stop()}}),e,null,[[0,13]])})));return function(t){return e.apply(this,arguments)}}(),te=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(){var r,o,a,i,s;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,r={page:1,rows:-1,idList:[Z.value.importFileId]},e.next=4,api_musicalScoreConversionRecordPage(r);case 4:if(o=e.sent,a=o.data.rows||[],i={},a.forEach((function(e){e.id===Z.value.importFileId&&(i=e)})),"SUCCESS"!==i.status){e.next=21;break}if(clearInterval(Z.value.timer),!i.xmlFileUrl){e.next=17;break}return e.next=13,request$1$1.get(i.xmlFileUrl,{mode:"cors"});case 13:s=e.sent,re(s),e.next=19;break;case 17:n.loadingAudioSrouce2=!1,t.error("上传失败");case 19:e.next=22;break;case 21:"FAIL"===i.status&&(clearInterval(Z.value.timer),n.loadingAudioSrouce2=!1,t.error("上传失败"));case 22:e.next=27;break;case 24:e.prev=24,e.t0=e.catch(0),console.log(e.t0,"e");case 27:case"end":return e.stop()}}),e,null,[[0,24]])})));return function(){return e.apply(this,arguments)}}(),re=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(t){var r,o;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,r=t,r=(new DOMParser).parseFromString(r,"text/xml"),r=window.vertaal(r,{p:"f",t:1,u:0,v:3,mnum:0}),o=ABCJS.renderAbc("importRef",r[0],{responsive:"resize"}),console.log("🚀 ~ parseData:",o),d.abc=formateAbc(o[0],{subjectCode:d.abc.subjectCode}),n.musicName=d.abc.title||n.musicName,n.creator=d.abc.creator||n.creator,e.next=11,x();case 11:e.next=15;break;case 13:e.prev=13,e.t0=e.catch(0);case 15:n.loadingAudioSrouce2=!1;case 16:case"end":return e.stop()}}),e,null,[[0,13]])})));return function(t){return e.apply(this,arguments)}}(),ne=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(){return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=Object.assign(n,Z.value.data),d=Object.assign(d,Z.value.abcData),clearInterval(Z.value.timer),!Z.value.importFileId){e.next=6;break}return e.next=6,api_musicalScoreConversionRecordRemove(Z.value.importFileId);case 6:n.loadingAudioSrouce2=!1;case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),oe=function(e,t){if(console.log("🚀 ~ index:",e),n.playState&&b("pause"),"start"===t){var r=e?k("".concat(e-1,".0")):null;r=n.times.find((function(e){return e.startChar===r.startChar})),n.selectMeasures.start=e?e-1:0,n.selectMeasures.startNote=r,n.selectMeasures.start&&n.selectMeasures.end&&n.selectMeasures.end<n.selectMeasures.start&&(n.selectMeasures.end=0,n.selectMeasures.endNote=null)}else{var o=e?k("".concat(e,".0")):null;o=n.times.find((function(e){return e.startChar===o.startChar})),n.selectMeasures.end=e?e-1:0,n.selectMeasures.endNote=o,n.selectMeasures.start&&n.selectMeasures.end&&n.selectMeasures.start>n.selectMeasures.end&&(n.selectMeasures.start=0,n.selectMeasures.startNote=null)}},ae=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(){var r,o;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n.saveLoading){e.next=2;break}return e.abrupt("return");case 2:if(getQuery().id){e.next=6;break}return e.next=6,V(!0);case 6:return r=getQuery(),e.next=9,api_musicSheetCreationDetail(r.id);case 9:(o=e.sent).data&&("YES"!==o.data.uploadStatus?(n.item=_objectSpread(_objectSpread({},o.data),{},{visualObj:d.visualObj,subjectCode:d.abc.subjectCode}),n.uploadShow=!0):t.info("已是最新版本"));case 11:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return function(){return createVNode(Fragment,null,[createVNode("div",{class:styles$a.container},[createVNode("div",{class:styles$a.containerTop,onKeyup:function(e){return e.stopPropagation()}},[createVNode("div",{class:styles$a.topWrap},[createVNode("div",{class:styles$a.topBtn,onClick:function(){return E({type:"exit",value:"exit"})}},[createVNode("div",{class:[styles$a.btnImg]},[createVNode("img",{class:styles$a.topBtnIcon,src:getImage("icon_-1.png")},null)]),createVNode("div",null,[createTextVNode("退出")])]),createVNode("div",{class:styles$a.topBtn},[createVNode(FileBtn,{saveLoading:n.saveLoading,onSelect:function(e){"newMusic"===e?G():"save"===e?V(!0):["xml","import-image","import-pdf"].includes(e)?function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"xml";n.active=null;var t=document.createElement("input");t.type="file","xml"===e?t.accept=".xml,.musicxml":"import-image"===e?t.accept=".jpg,.png,.jpeg":"import-pdf"===e&&(t.accept="application/pdf"),t.onchange=function(){var t=_asyncToGenerator2(_regeneratorRuntime().mark((function t(r){var o,a;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n.loadingAudioSrouce2=!0,Z.value.abcData=lodashExports.cloneDeep(d),Z.value.data=lodashExports.cloneDeep(n),o=r.target.files[0],"xml"===e?((a=new FileReader).onload=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(t){return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:re(t.target.result);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),a.readAsText(o)):["import-image","import-pdf"].includes(e)&&ee(o);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),t.click()}(e):"upload"===e?ae():["png","midi","wav","down-xml"].includes(e)&&J(e)}},null),createVNode("div",null,[createTextVNode("文件")])]),createVNode("div",{class:styles$a.topLine},null),createVNode("div",{class:styles$a.topBtn,onClick:function(){return E({type:"dot",value:">"})}},[createVNode("div",{class:[styles$a.btnImg,">"===Q.value.dot&&styles$a.btnImgActive]},[createVNode("img",{class:styles$a.topBtnIcon,src:getImage("icon_1.png")},null)]),createVNode("div",null,[createTextVNode("附点")])]),createVNode("div",{class:styles$a.topLine},null),ABC_DATA.accidentals.map((function(e){return createVNode("div",{class:styles$a.topBtn,onClick:function(){return E({type:"accidentals",value:e.value})}},[createVNode("div",{class:[styles$a.btnImg,Q.value.accidental===e.value&&styles$a.btnImgActive]},[createVNode("img",{class:styles$a.topBtnIcon,src:e.icon},null)]),createVNode("div",{class:styles$a.btnName},[e.name])])})),createVNode("div",{class:styles$a.topLine},null),createVNode("div",{class:styles$a.topBtn,onClick:function(){return E({type:"tie",value:ABC_DATA.tie[0].value})}},[createVNode("div",{class:[styles$a.btnImg,Q.value.tieline===ABC_DATA.tie[0].value&&styles$a.btnImgActive]},[createVNode("img",{class:styles$a.topBtnIcon,src:ABC_DATA.tie[0].icon},null)]),createVNode("div",null,[ABC_DATA.tie[0].name])]),createVNode("div",{class:styles$a.topBtn,onClick:function(){return E({type:"tie",value:ABC_DATA.tie[1].value})}},[createVNode("div",{class:[styles$a.btnImg,ABC_DATA.tie[1].value.includes(Q.value.tie)&&styles$a.btnImgActive]},[createVNode("img",{class:styles$a.topBtnIcon,src:ABC_DATA.tie[1].icon},null)]),createVNode("div",null,[ABC_DATA.tie[1].name])]),createVNode("div",{class:styles$a.topLine},null),ABC_DATA.play.slice(0,4).map((function(e){var t;return createVNode("div",{class:[styles$a.topBtn],onClick:function(){return E({type:"play",value:e.value})}},[createVNode("div",{class:[styles$a.btnImg,(null===(t=Q.value.play)||void 0===t?void 0:t.includes(e.value))&&styles$a.btnImgActive]},[createVNode("img",{class:styles$a.topBtnIcon,src:e.icon},null)]),createVNode("div",null,[e.name])])})),createVNode(NPopover,{class:styles$a.popupWrap,showArrow:!1,trigger:"click",contentStyle:{width:"400px"}},{trigger:function(){return createVNode("div",{class:styles$a.topDownArrow},[createVNode("img",{src:getImage("icon_arrow.png")},null)])},default:function(){var e;return createVNode(NGrid,{cols:4,yGap:8},_isSlot$1(e=ABC_DATA.play.slice(4).map((function(e){return createVNode(NGi,null,{default:function(){var t;return[createVNode("div",{class:[styles$a.btnItem,(null===(t=Q.value.play)||void 0===t?void 0:t.includes(e.value))&&styles$a.btnItemActive],onClick:function(){n.morePlay=!1,E({type:"play",value:e.value})}},[createVNode("div",{class:styles$a.btnItemIcon},[createVNode(TheIcon,{iconClassName:e.icon},null)]),createVNode("div",null,[e.name])])]}})})))?e:{default:function(){return[e]}})}}),createVNode("div",{class:styles$a.topLine},null),createVNode(NDropdown,{trigger:"click",options:ABC_DATA.slus,labelField:"name",keyField:"value",onSelect:function(e){console.log(e),E({type:"slus",value:e})}},{default:function(){return[createVNode("div",{class:[styles$a.topBtn]},[createVNode("div",{class:styles$a.btnImg},[createVNode("img",{class:styles$a.topBtnIcon,src:getImage("icon_13.png")},null)]),createVNode("div",null,[createTextVNode("连音")])])]}}),createVNode("div",{class:[styles$a.topBtn,styles$a.btnDisabled]},[createVNode("div",{class:styles$a.btnImg},[createVNode("img",{class:styles$a.topBtnIcon,src:getImage("icon_14.png")},null)]),createVNode("div",null,[createTextVNode("翻转")])]),createVNode("div",{class:styles$a.topLine},null),createVNode(NPopover,{class:styles$a.popupWrap,showArrow:!1,show:r.selectSubjectShow,"onUpdate:show":function(e){return r.selectSubjectShow=e},trigger:"click",contentStyle:{width:"320px"}},{trigger:function(){return createVNode("div",{class:styles$a.topBtn},[createVNode("div",{class:styles$a.btnImg,onClick:function(){return r.instrument=!0}},[createVNode("img",{class:styles$a.topBtnIcon,src:getImage("icon_25.png")},null)]),createVNode("div",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",maxWidth:"60px"}},[O.value])])},default:function(){return createVNode(Fragment,null,[createVNode("div",{class:styles$a.btnLineTitle},[createTextVNode("选择声部")]),createVNode(NSelect,{filterable:!0,options:D.value,value:d.synthOptions.program,"onUpdate:value":[function(e){return d.synthOptions.program=e},function(){d.synthControl.pause(),n.playState=!1,nextTick(_asyncToGenerator2(_regeneratorRuntime().mark((function e(){return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g();case 2:m(!0),r.selectSubjectShow=!1,d.abc.subjectCode=ABCJS.synth.instrumentIndexToName[d.synthOptions.program],y();case 6:case"end":return e.stop()}}),e)}))))}]},null)])}}),createVNode(NPopover,{class:styles$a.popupWrap,showArrow:!1,show:r.moveKeyShow,"onUpdate:show":function(e){return r.moveKeyShow=e},trigger:"click",contentStyle:{width:"320px"}},{trigger:function(){return createVNode("div",{class:[styles$a.topBtn,"rhythm"===d.abc.isrhythm&&styles$a.btnDisabled]},[createVNode("div",{class:styles$a.btnImg},[createVNode("img",{class:styles$a.topBtnIcon,src:getImage("icon_15.png")},null)]),createVNode("div",null,[createTextVNode("移调")])])},default:function(){var e;return createVNode(Fragment,null,[createVNode("div",{class:styles$a.btnLineTitle},[createTextVNode("移调方式")]),createVNode(NSpace,null,{default:function(){return[createVNode(NButton,{secondary:!0,type:"inset"===n.moveKeyType?"primary":"default",onClick:function(){return n.moveKeyType="inset"}},{default:function(){return[createVNode(NIcon,{component:GripLinesVertical},null),createTextVNode("最靠近")]}}),createVNode(NButton,{secondary:!0,type:"down"===n.moveKeyType?"primary":"default",onClick:function(){return n.moveKeyType="down"}},{default:function(){return[createVNode(NIcon,{component:LongArrowAltDown},null),createTextVNode("向下移调")]}}),createVNode(NButton,{secondary:!0,type:"up"===n.moveKeyType?"primary":"default",onClick:function(){return n.moveKeyType="up"}},{default:function(){return[createVNode(NIcon,{component:LongArrowAltUp},null),createTextVNode("向上移调")]}})]}}),createVNode("div",{class:styles$a.btnLineTitle},[createTextVNode("目标音调")]),createVNode(NGrid,{cols:5,yGap:8},_isSlot$1(e=ABC_DATA.key.sort((function(e,t){return t.step-e.step})).map((function(e){return createVNode(NGi,null,{default:function(){return[createVNode("div",{class:[styles$a.btnItem,d.abc.visualKey===e.value&&styles$a.btnItemActive],onClick:function(){return N(e)}},[createVNode("div",{class:[styles$a.btnItemIcon]},[createVNode(TheIcon,{iconClassName:e.icon},null)]),createVNode("div",{class:styles$a.btnItemName},[e.name])])]}})})))?e:{default:function(){return[e]}})])}}),createVNode(NPopover,{class:styles$a.popupWrap,showArrow:!1,value:r.speedShow,"onUpdate:value":function(e){return r.speedShow=e},trigger:"click",placement:"bottom",displayDirective:"show"},{trigger:function(){return createVNode("div",{class:[styles$a.topBtn]},[createVNode("div",{class:styles$a.btnImg},[createVNode("img",{class:styles$a.topBtnIcon,src:getImage("icon_16.png")},null)]),createVNode("div",null,[createTextVNode("速度调整")])])},default:function(){return createVNode(TheSpeed,{onChange:function(e){return E(e)}},null)}}),createVNode(NPopover,{class:styles$a.popupWrap,showArrow:!1,show:r.staffShow,"onUpdate:show":function(e){return r.staffShow=e},trigger:"click",placement:"bottom",contentStyle:{width:"320px"}},{trigger:function(){return createVNode("div",{class:[styles$a.topBtn]},[createVNode("div",{class:styles$a.btnImg},[createVNode("img",{class:styles$a.topBtnIcon,src:getImage("icon_17.png")},null)]),createVNode("div",null,[createTextVNode("谱面显示")])])},default:function(){return createVNode(Fragment,null,[createVNode("div",{class:styles$a.btnLineTitle},[createTextVNode("乐谱大小")]),createVNode(NSpace,null,{default:function(){return[createVNode(NButton,{type:1200===d.abcOptions.staffwidth?"primary":"default",secondary:!0,onClick:function(){d.abcOptions.staffwidth=1200,x()}},{default:function(){return[createTextVNode("小")]}}),createVNode(NButton,{type:800===d.abcOptions.staffwidth?"primary":"default",secondary:!0,onClick:function(){d.abcOptions.staffwidth=800,x()}},{default:function(){return[createTextVNode("中")]}}),createVNode(NButton,{type:400===d.abcOptions.staffwidth?"primary":"default",secondary:!0,onClick:function(){d.abcOptions.staffwidth=400,x()}},{default:function(){return[createTextVNode("大")]}})]}}),createVNode("div",{class:styles$a.btnLineTitle},[createTextVNode("小节数")]),createVNode(NSpace,{vertical:!0},{default:function(){return[createVNode(NInputNumber,{min:1,value:d.abcOptions.wrap.preferredMeasuresPerLine,"onUpdate:value":[function(e){return d.abcOptions.wrap.preferredMeasuresPerLine=e},function(){x()}],placeholder:"请输入小节数"},null)]}})])}}),createVNode(NPopover,{class:styles$a.popupWrap,showArrow:!1,show:r.barShow,"onUpdate:show":function(e){return r.barShow=e},trigger:"click",placement:"bottom",contentStyle:{width:"320px"}},{trigger:function(){return createVNode("div",{class:[styles$a.topBtn]},[createVNode("div",{class:styles$a.btnImg},[createVNode("img",{class:styles$a.topBtnIcon,src:getImage("icon_18.png")},null)]),createVNode("div",null,[createTextVNode("添加小节")])])},default:function(){return createVNode(Fragment,null,[createVNode("div",{class:styles$a.btnLineTitle},[createTextVNode("添加方式")]),createVNode(NSpace,null,{default:function(){return[createVNode(NButton,{type:"pre"===n.addMearseType?"primary":"default",secondary:!0,onClick:function(){return n.addMearseType="pre"}},{default:function(){return[createTextVNode("当前小节前")]}}),createVNode(NButton,{type:"next"===n.addMearseType?"primary":"default",secondary:!0,onClick:function(){return n.addMearseType="next"}},{default:function(){return[createTextVNode("当前小节后")]}}),createVNode(NButton,{type:"finish"===n.addMearseType?"primary":"default",secondary:!0,onClick:function(){return n.addMearseType="finish"}},{default:function(){return[createTextVNode("曲谱末尾")]}})]}}),createVNode("div",{class:styles$a.btnLineTitle},[createTextVNode("小节数")]),createVNode(NSpace,{vertical:!0},{default:function(){return[createVNode(NInputNumber,{min:1,value:n.addMearseNumber,"onUpdate:value":function(e){return n.addMearseNumber=e},placeholder:"请输入小节数"},null),createVNode(NSpace,{style:{marginTop:"20px"},align:"center",wrap:!1,wrapItem:!1},{default:function(){return[createVNode(NButton,{style:{width:"48%"},round:!0,onClick:function(){return r.barShow=!1}},{default:function(){return[createTextVNode("取消")]}}),createVNode(NButton,{style:{width:"48%"},round:!0,type:"primary",onClick:function(){return function(){for(var e=0;e<n.addMearseNumber;e++)if(["pre","next"].includes(n.addMearseType)){if(!n.active)return void t.warning("请选择小节");"pre"===n.addMearseType?d.abc.measures.splice(n.active.measureIndex,0,createMeasure()):"next"===n.addMearseType&&d.abc.measures.splice(n.active.measureIndex+1,0,createMeasure())}else d.abc.measures.push(createMeasure());r.barShow=!1,x()}()}},{default:function(){return[createTextVNode("确定")]}})]}})]}})])}}),createVNode(NPopover,{class:styles$a.popupWrap,show:r.mearseDeleteShow,"onUpdate:show":function(e){return r.mearseDeleteShow=e},trigger:"click",placement:"bottom"},{trigger:function(){return createVNode("div",{class:[styles$a.topBtn]},[createVNode("div",{class:styles$a.btnImg},[createVNode("img",{class:styles$a.topBtnIcon,src:getImage("icon_19.png")},null)]),createVNode("div",null,[createTextVNode("删除小节")])])},default:function(){return createVNode(Fragment,null,[createVNode("div",{class:styles$a.btnLineTitle},[createTextVNode("删除方式")]),createVNode(NSpace,{vertical:!0},{default:function(){return[createVNode(NSpace,null,{default:function(){return[createVNode(NButton,{type:"ing"===n.deleteMearseType?"primary":"default",secondary:!0,onClick:function(){return n.deleteMearseType="ing"}},{default:function(){return[createTextVNode("当前选中小节")]}}),createVNode(NButton,{type:"finish"===n.deleteMearseType?"primary":"default",secondary:!0,onClick:function(){return n.deleteMearseType="finish"}},{default:function(){return[createTextVNode("末尾空白小节")]}})]}}),createVNode(NSpace,{style:{marginTop:"20px"},align:"center",wrap:!1,wrapItem:!1},{default:function(){return[createVNode(NButton,{style:{width:"48%"},round:!0,onClick:function(){return r.mearseDeleteShow=!1}},{default:function(){return[createTextVNode("取消")]}}),createVNode(NButton,{style:{width:"48%"},round:!0,type:"primary",onClick:function(){return function(){if("ing"===n.deleteMearseType){if(!n.active)return void t.warning("请选择小节");d.abc.measures.splice(n.active.measureIndex,1)}else if("finish"===n.deleteMearseType)for(var e=d.abc.measures.length;e>0&&1===d.abc.measures[e-1].notes.length&&"z"===d.abc.measures[e-1].notes[0].content&&1!==d.abc.measures.length;e--)d.abc.measures.splice(e-1,1);r.mearseDeleteShow=!1,x()}()}},{default:function(){return[createTextVNode("确定")]}})]}})]}})])}}),createVNode("div",{class:[styles$a.topBtn,"rhythm"===d.abc.isrhythm&&styles$a.btnDisabled],onClick:function(){r.jianpuShow=!0}},[createVNode("div",{class:[styles$a.btnImg]},[createVNode("img",{class:styles$a.topBtnIcon,src:getImage("icon_30.png")},null)]),createVNode("div",null,[createTextVNode("简谱")])]),createVNode("div",{class:styles$a.topLine},null),createVNode("div",{style:{marginLeft:"auto"},class:styles$a.topBtn},[createVNode(NSpin,{show:n.loadingAudioSrouce||n.loadingAudioSrouce2,size:"small",stroke:"#20BDFF"},{default:function(){return[createVNode("div",{class:styles$a.btnImg,onClick:function(){return b("reset")}},[createVNode("img",{class:styles$a.topBtnIcon,src:getImage("icon_20.png")},null)])]}}),createVNode("div",null,[createTextVNode("重播")])]),createVNode("div",{class:styles$a.topBtn},[createVNode(NSpin,{show:n.loadingAudioSrouce||n.loadingAudioSrouce2,size:"small",stroke:"#20BDFF"},{default:function(){return[createVNode("div",{class:styles$a.btnImg,onClick:function(){return b(n.playState?"pause":"play")}},[createVNode("img",{style:{display:n.playState?"":"none"},class:styles$a.topBtnIcon,src:getImage("icon_21_1.png")},null),createVNode("img",{style:{display:n.playState?"none":""},class:styles$a.topBtnIcon,src:getImage("icon_21.png")},null)])]}}),createVNode("div",null,[n.playState?"暂停":"播放"])]),createVNode("div",{id:"selectMearesBtn",class:[styles$a.topBtn],onClick:function(){return r.selectMearesShow=!r.selectMearesShow}},[createVNode("div",{class:[styles$a.btnImg,r.selectMearesShow&&styles$a.btnImgActive]},[createVNode("img",{class:styles$a.topBtnIcon,src:getImage("icon_22.png")},null)]),createVNode("div",null,[createTextVNode("选段")])]),createVNode("div",{class:[styles$a.topBtn],onClick:function(){var e;metronomeData.disable=!metronomeData.disable,null===(e=metronomeData.metro)||void 0===e||e.initPlayer()}},[createVNode("div",{class:[styles$a.btnImg,!metronomeData.disable&&styles$a.btnImgActive]},[createVNode("img",{class:styles$a.topBtnIcon,src:getImage("icon_23.png")},null)]),createVNode("div",null,[createTextVNode("节拍器")])]),createVNode("div",{class:[styles$a.topBtn],onClick:function(){return r.settingShow=!0}},[createVNode("div",{class:styles$a.btnImg},[createVNode("img",{class:styles$a.topBtnIcon,src:getImage("icon_24.png")},null)]),createVNode("div",null,[createTextVNode("设置")])])])]),createVNode("div",{class:styles$a.content},[createVNode("div",{class:styles$a.slide},[createVNode(NTabs,{class:styles$a.tabsmodel,value:d.abc.isrhythm,"onUpdate:value":[function(e){return d.abc.isrhythm=e},function(e){E({type:"setrhythm",value:e||""})}],"justify-content":"space-evenly"},{default:function(){return[createVNode(NTabPane,{name:"",tab:"制谱模式"},null),createVNode(NTabPane,{name:"rhythm",tab:"节奏模式"},null)]}}),createVNode(Collapse,{modelValue:n.slide,"onUpdate:modelValue":function(e){return n.slide=e},elevation:!1,divider:!1},{default:function(){return[createVNode(CollapseItem,{title:"音符时值",name:"note"},{default:function(){return[createVNode("div",{class:styles$a.wrapBox},[ABC_DATA.types.map((function(e){return createVNode("div",{class:styles$a.topBtn,onClick:function(){return E({type:"type",value:e.value})}},[createVNode("div",{class:[styles$a.btnImg,n.noteType===e.value&&styles$a.btnImgActive]},[createVNode(TheIcon,{iconClassName:e.icon},null)]),createVNode("div",null,[e.name])])})),createVNode("div",{class:styles$a.topBtn,onClick:function(){return E({type:"note",value:"z"})}},[createVNode("div",{class:[styles$a.btnImg,"z"===Q.value.content&&styles$a.btnImgActive]},[createVNode("img",{style:{width:"20px",height:"20px"},src:getImage("icon_rest.png")},null)]),createVNode("div",null,[createTextVNode("休止符")])]),createVNode("div",{class:styles$a.topBtn,onClick:function(){return E({type:"segno",value:" "})}},[createVNode("div",{class:[styles$a.btnImg," "===Q.value.segno&&styles$a.btnImgActive]},null),createVNode("div",null,[createTextVNode("分割")])])])]}}),createVNode(CollapseItem,{title:"拍号",name:"meter"},{default:function(){return[createVNode("div",{class:styles$a.wrapBox},[ABC_DATA.meter.map((function(e){return createVNode("div",{class:styles$a.topBtn,onClick:function(){return E({type:"meter",value:e.value})}},[createVNode("div",{class:[styles$a.btnImg]},[createVNode(TheIcon,{iconClassName:e.icon},null)]),createVNode("div",null,[e.name])])}))])]}}),createVNode(CollapseItem,{title:"力度记号",name:"dynamics"},{default:function(){return[createVNode("div",{class:styles$a.wrapBox},[ABC_DATA.dynamics.slice(0,8).map((function(e){return createVNode("div",{class:styles$a.topBtn,onClick:function(){return E({type:"dynamics",value:e.value})}},[createVNode("div",{class:[styles$a.btnImg,Q.value.dynamics===e.value&&styles$a.btnImgActive]},[createVNode(TheIcon,{iconClassName:e.icon,size:["2em","2em"]},null)]),createVNode("div",null,[e.name])])})),createVNode("div",{class:styles$a.topBtn,onClick:function(){return E({type:"dynamics",value:ABC_DATA.dynamics[8].value})}},[createVNode("div",{class:[styles$a.btnImg,ABC_DATA.dynamics[8].value.includes(Q.value.dynamics)&&styles$a.btnImgActive]},[createVNode(TheIcon,{iconClassName:ABC_DATA.dynamics[8].icon,size:["2em","2em"]},null)]),createVNode("div",null,[ABC_DATA.dynamics[8].name])]),createVNode("div",{class:styles$a.topBtn,onClick:function(){return E({type:"dynamics",value:ABC_DATA.dynamics[9].value})}},[createVNode("div",{class:[styles$a.btnImg,ABC_DATA.dynamics[9].value.includes(Q.value.dynamics)&&styles$a.btnImgActive]},[createVNode(TheIcon,{iconClassName:ABC_DATA.dynamics[9].icon,size:["2em","2em"]},null)]),createVNode("div",null,[ABC_DATA.dynamics[9].name])])])]}}),createVNode(CollapseItem,{title:"反复与跳跃",name:"repeat"},{default:function(){return[createVNode("div",{class:styles$a.wrapBox},[ABC_DATA.repeat.map((function(e){return createVNode("div",{class:[styles$a.topBtn,styles$a.longTopBtn],onClick:function(){return E({type:"repeat",value:e.value})}},[createVNode("div",{class:[styles$a.btnImg,U.value.repeat===e.value&&styles$a.btnImgActive]},[createVNode(TheIcon,{iconClassName:e.icon,size:["5em","1em"]},null)]),createVNode("div",null,[e.name])])}))])]}}),createVNode(CollapseItem,{title:"小节线",name:"line"},{default:function(){return[createVNode("div",{class:styles$a.wrapBox},[ABC_DATA.bar.map((function(e){return createVNode("div",{class:styles$a.topBtn,onClick:function(){n.morePlay=!1,E({type:"barline",value:e.value})}},[createVNode("div",{class:[styles$a.btnImg,U.value.barline===e.value&&styles$a.btnImgActive]},[createVNode(TheIcon,{iconClassName:e.icon,size:["2em","2em"]},null)]),createVNode("div",null,[e.name])])}))])]}}),createVNode(CollapseItem,{title:"谱号",name:"clef"},{default:function(){return[createVNode("div",{class:styles$a.wrapBox},[ABC_DATA.clef.map((function(e){return createVNode("div",{class:styles$a.topBtn,onClick:function(){return E({type:"clef",value:e.value})}},[createVNode("div",{class:[styles$a.btnImg]},[createVNode(TheIcon,{iconClassName:e.icon},null)]),createVNode("div",null,[e.name])])}))])]}}),createVNode(CollapseItem,{title:"调号",name:"key"},{default:function(){return[createVNode("div",{class:styles$a.wrapBox},[ABC_DATA.key.map((function(e){return createVNode("div",{class:styles$a.topBtn,onClick:function(){return E({type:"key",value:e.value})}},[createVNode("div",{class:[styles$a.btnImg]},[createVNode(TheIcon,{iconClassName:e.icon},null)]),createVNode("div",null,[e.name])])}))])]}})]}})]),createVNode("div",{class:[styles$a.box,"rhythm"===d.abc.isrhythm&&styles$a.rhythm]},[createVNode("div",{class:styles$a.titleBox},[createVNode("div",{class:styles$a.titleName,style:{width:"50%",margin:"0 auto"}},[createVNode(NInput,{onBlur:function(){n.isSave=!1,y()},onKeyup:function(e){return e.stopPropagation()},value:n.musicName,"onUpdate:value":function(e){return n.musicName=e},placeholder:"曲谱名称"},null)]),createVNode("div",{style:{width:"30%",margin:"10px 0 0 auto"}},[createVNode(NInput,{onBlur:function(){n.isSave=!1,y()},onKeyup:function(e){return e.stopPropagation()},value:n.creator,"onUpdate:value":function(e){return n.creator=e},placeholder:"曲谱作者"},null)])]),createVNode("div",{id:"paper"},null),!n.loading&&createVNode(Keys,{show:!!n.active,instrumentCode:d.abc.subjectCode,onClick:function(e){return E(e)}},null),createVNode("div",{id:"importRef",style:{display:"none"}},null),createVNode("div",{id:"audio",style:{display:"none"}},null)]),n.loadingAudioSrouce&&createVNode("div",{class:styles$a.loading},[createVNode(NSpin,{description:"资源加载中...",stroke:"#20BDFF"},null)]),n.loadingAudioSrouce2&&createVNode("div",{class:styles$a.loading},[createVNode(NSpin,{description:"",stroke:"#20BDFF"},{description:function(){return createVNode("div",null,[createVNode("div",{class:styles$a.tips},[createTextVNode("正在识别曲目文件,请耐心等待...")]),createVNode("div",{class:styles$a.btnGroup},[createVNode(NButton,{round:!0,onClick:ne},{default:function(){return[createTextVNode("取消上传")]}})])])}})]),n.saveLoadingText&&createVNode("div",{class:styles$a.loading},null)]),createVNode("div",{ref:W},null),createVNode(TheSetting,{show:r.settingShow,"onUpdate:show":function(e){return r.settingShow=e}},null),n.selectMeasures.state&&createVNode("div",{style:{left:n.selectMeasures.x+"px",top:n.selectMeasures.y+"px"},class:[styles$a.selectMearesBox,!r.selectMearesShow&&styles$a.selectMearesHidden]},[createVNode("div",{onKeyup:function(e){return e.stopPropagation()}},[createVNode(NSpace,{justify:"space-between"},{default:function(){return[createVNode("div",{class:styles$a.btnLineTitle},[createTextVNode("输入小节范围")]),createVNode(NButton,{circle:!0,quaternary:!0,size:"small",onClick:function(){return r.selectMearesShow=!1}},{default:function(){return[createVNode(NIcon,{size:16,component:createVNode(Close,null,null)},null)]}})]}}),createVNode(NSpace,{align:"center",wrap:!1,wrapItem:!1},{default:function(){return[createVNode("div",{class:styles$a.mearesInput},[createVNode(NInputNumber,{min:1,max:(n.selectMeasures.end?n.selectMeasures.end+1:0)||n.selectMeasures.max,bordered:!1,placeholder:"开始小节",showButton:!1,"onUpdate:value":function(e){return oe(e,"start")}},null),createTextVNode("-"),createVNode(NInputNumber,{min:n.selectMeasures.start,max:n.selectMeasures.max,bordered:!1,placeholder:"结束小节",showButton:!1,"onUpdate:value":function(e){return oe(e,"end")}},null)]),createVNode("div",{class:styles$a.topBtn},[createVNode(NSpin,{show:n.loadingAudioSrouce,size:"small",stroke:"#20BDFF"},{default:function(){return[createVNode("div",{class:styles$a.btnImg,onClick:function(){return b(n.playState?"pause":"play")}},[createVNode("img",{style:{display:n.playState?"":"none"},class:styles$a.topBtnIcon,src:getImage("icon_21_1.png")},null),createVNode("img",{style:{display:n.playState?"none":""},class:styles$a.topBtnIcon,src:getImage("icon_21.png")},null)])]}})])]}})])])]),createVNode("div",{class:styles$a.exportPng},[createVNode("div",{id:"exportPng"},null)]),createVNode(UploadToResources,{show:n.uploadShow,"onUpdate:show":function(e){return n.uploadShow=e},item:n.item,onSuccess:function(){n.uploadStatus="YES",t.success("上传成功"),n.uploadClick&&setTimeout((function(){S()}),300)}},null),createVNode(TheJianpu,{show:r.jianpuShow,"onUpdate:show":function(e){return r.jianpuShow=e},abc:renderMeasures(d.abc,{hiddenIndex:!0,showTitle:!0,showCreator:!0,jianpu:!0})},null)])}}}),createItem="_createItem_zmwnx_1",wrap="_wrap_zmwnx_21",wrapBox="_wrapBox_zmwnx_26",itemWrap="_itemWrap_zmwnx_30",itemWrapBox="_itemWrapBox_zmwnx_65",item="_item_zmwnx_30",icon_29="_icon_29_zmwnx_85",bottomBtn="_bottomBtn_zmwnx_91",btn="_btn_zmwnx_99",imgBox="_imgBox_zmwnx_106",itemBottom="_itemBottom_zmwnx_114",bottombox="_bottombox_zmwnx_120",bottomLeft="_bottomLeft_zmwnx_125",itemtitle="_itemtitle_zmwnx_129",time="_time_zmwnx_137",importRef="_importRef_zmwnx_141",styles$2={createItem:createItem,wrap:wrap,wrapBox:wrapBox,itemWrap:itemWrap,itemWrapBox:itemWrapBox,item:item,icon_29:icon_29,bottomBtn:bottomBtn,btn:btn,imgBox:imgBox,itemBottom:itemBottom,bottombox:bottombox,bottomLeft:bottomLeft,itemtitle:itemtitle,time:time,importRef:importRef},uploadToTasks="_uploadToTasks_eu48q_1",error="_error_eu48q_9",success="_success_eu48q_12",arrow="_arrow_eu48q_15",arrowDown="_arrowDown_eu48q_20",loadingSection="_loadingSection_eu48q_24",succesSection="_succesSection_eu48q_25",loadingText="_loadingText_eu48q_40",iconQuestion$1="_iconQuestion_eu48q_49",uploadList="_uploadList_eu48q_58",uploadItem="_uploadItem_eu48q_66",uploadSuccess="_uploadSuccess_eu48q_77",text="_text_eu48q_80",uploadError="_uploadError_eu48q_86",uploadWaiting="_uploadWaiting_eu48q_89",iconClose$1="_iconClose_eu48q_96",info="_info_eu48q_102",icon="_icon_eu48q_49",status="_status_eu48q_111",message="_message_eu48q_121",styles$1={uploadToTasks:uploadToTasks,error:error,success:success,arrow:arrow,arrowDown:arrowDown,loadingSection:loadingSection,succesSection:succesSection,loadingText:loadingText,iconQuestion:iconQuestion$1,uploadList:uploadList,uploadItem:uploadItem,uploadSuccess:uploadSuccess,text:text,uploadError:uploadError,uploadWaiting:uploadWaiting,iconClose:iconClose$1,info:info,icon:icon,status:status,message:message},iconQuestion="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAAo1JREFUWEfNmL9v01AQx79f26DCghATaQpFCAF/AA1bywgSQp34sbCwgDqUGgEDIwOgJs1QwcLCgmCqEBKMpBuFPwBQhSi0hAkhFqgg9hc9Nw5JSRrHccXzZCt39z65u3d37xEpn32z2vv7F4bDEDk6yBkzClF1HFS3bMXShwl+TGOavSjlyyqEAcYBnJJ0aCNdkm8BPHF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QmCC",iconCloseRed="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAiRJREFUWEfFljtIW1EYgP//pKEILZTmQZyKLs6aOHQpoREkQrEULN1dCoJCQVwcMnQSXKRQDOLqKLQgCCYBh6IkcRJXZ01KShQ1mJ6/XNM877n3nkckd7yP//vOOf/jIgz4wgHzoSVARFiaii0CwISP2GYgm//VLzlKJp+WapfLDGkEwb8eyByfNWO3BEqJ2CfifOfhAUINiH0I5wp7phIWvFy72CWCZCMWnodzxVGBQPQLcVpvAfsgYYdbfLwJvXn3HFMp3ljr/6vyPv6iXr06IqKxfkgI4VZghkvhTHHDtgPWjdJ0dBjuIWcq4QRnjK0EM4W1zmO1VYGphAq86wg6rXQlVOGOAjrHoQN3FVCR0IV7CshImMClBNwk/MQ+1pF/bjeZRiaJst2poUnPAlFiMsS/nMjXGVwFLr0DTYCwOjroqnBlAeuDytvxV3XAUyJ41rPy7WCmMO+01cZHYAVwbK+NpWgNMOkccIW3G7uyhJSAY6khfiWAOZPZ4SngVee6bVs4DXsTxQvuWh2SOeG4A7JwUwmhgCrcRMImoAvXlegSMIXrSLR/y1PxJ+XD6g+TwSLzU+NjMBs4ONm3VcFlIjYPnG+ZDJbeKhKXKF6Es8WITaCcmFjgHL41H+gMFlG/75VAgD/BbPElIlLXMKK510Pl37U0AI4D0UYod5JWHSxO71/PTEZu7/h3AhpF8K2GsvmfUo2oXwJucTxb8WNLDFzgH4rq7jBbZyZTAAAAAElFTkSuQmCC";function _isSlot(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!isVNode(e)}var UploadToTasks=defineComponent({name:"upload-to-tasks",setup:function(){var e=reactive({showUploadList:!1,timer:null,functionTimer:null}),t=computed((function(){var e=uploadState.uploadList||[],t=0;return e.forEach((function(e){"CONVERSION"!==e.status&&"WAITING"!==e.status||t++})),t>0})),r=computed((function(){var e=uploadState.uploadList||[],t={success:0,error:0,waiting:0};return e.forEach((function(e){"CONVERSION"===e.status||"WAITING"===e.status?t.waiting++:"SUCCESS"===e.status?t.success++:"FAIL"===e.status&&t.error++})),t})),n=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(t){var n,o,a,i,s,l,c;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n={page:1,rows:-1},"ids"===t?(o=[],uploadState.uploadList.forEach((function(e){o.push(e.id)})),n.idList=o):n.statusList=["WAITING","CONVERSION"],e.next=5,api_musicalScoreConversionRecordPage(n);case 5:a=e.sent,i=a.data,s=i.rows||[],l=[],c=0,s.forEach((function(e){l.push({id:e.id,musicSheetCreationId:e.musicSheetCreationId,status:e.status,fileName:e.fileName,fileUrl:e.fileUrl}),"SUCCESS"===e.status&&c++})),r.value.success!==c&&eventGlobal.emit("resetList"),uploadState.uploadList=l,saveUploadCatch(l),e.next=18;break;case 16:e.prev=16,e.t0=e.catch(0);case 18:case"end":return e.stop()}}),e,null,[[0,16]])})));return function(t){return e.apply(this,arguments)}}(),o=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(t,r){var n;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,"remove"!==r){e.next=10;break}return e.next=4,api_musicalScoreConversionRecordRemove(t.id);case 4:return n=uploadState.uploadList.findIndex((function(e){return e.id===t.id})),uploadState.uploadList.splice(n,1),saveUploadCatch(),e.abrupt("return");case 10:"look"===r&&window.parent.postMessage({api:"notation_open",url:"".concat(location.origin,"/notation/#/?v=").concat(Date.now(),"&id=").concat(t.musicSheetCreationId)},"*");case 11:e.next=15;break;case 13:e.prev=13,e.t0=e.catch(0);case 15:case"end":return e.stop()}}),e,null,[[0,13]])})));return function(t,r){return e.apply(this,arguments)}}(),a=function(){lodashExports.debounce((function(){return n("ids")}),500)};return onMounted((function(){var r=getUploadCatch();r.length>0?(uploadState.uploadList=r,n("ids")):n(),eventGlobal.on("resetUploadTask",a),e.timer=setInterval((function(){t.value&&n("ids")}),5e3)})),onUnmounted((function(){eventGlobal.off("resetUploadTask",a),clearInterval(e.timer)})),function(){var n;return createVNode("div",{class:styles$1.uploadToTasks,style:{display:uploadState.uploadList.length>0?"block":"none"}},[createVNode(NScrollbar,{class:styles$1.uploadList,style:{display:e.showUploadList?"block":"none"}},_isSlot(n=uploadState.uploadList.map((function(e){return createVNode(Fragment,null,["SUCCESS"===e.status&&createVNode("div",{class:[styles$1.uploadItem,styles$1.uploadSuccess]},[createVNode("div",{class:styles$1.info},[createVNode("img",{class:styles$1.icon,src:iconSuccess},null),createVNode("p",{class:styles$1.message},[e.fileName])]),createVNode("div",{class:styles$1.status,onClick:function(){return o(e,"look")}},[createVNode("span",{class:styles$1.text},[createTextVNode("点击查看")])])]),"FAIL"===e.status&&createVNode("div",{class:[styles$1.uploadItem,styles$1.uploadError]},[createVNode("div",{class:styles$1.info},[createVNode("img",{class:styles$1.icon,src:iconError},null),createVNode("p",{class:styles$1.message},[e.fileName])]),createVNode("div",{class:styles$1.status,onClick:function(){return o(e,"remove")}},[createVNode("img",{class:styles$1.iconClose,src:iconCloseRed},null)])]),"WAITING"===e.status&&createVNode("div",{class:[styles$1.uploadItem,styles$1.uploadWaiting]},[createVNode("div",{class:styles$1.info},[createVNode("img",{class:styles$1.icon,src:iconWarning},null),createVNode("p",{class:styles$1.message},[e.fileName])]),createVNode("div",{class:styles$1.status,onClick:function(){return o(e,"remove")}},[createVNode("img",{class:styles$1.iconClose,src:iconClose},null),createVNode("span",{class:styles$1.text},[createTextVNode("等待上传")])])]),"CONVERSION"===e.status&&createVNode("div",{class:[styles$1.uploadItem,styles$1.uploadLoading]},[createVNode("div",{class:styles$1.info},[createVNode(NSpin,{class:styles$1.icon},null),createVNode("p",{class:styles$1.message},[e.fileName])]),createVNode("div",{class:styles$1.status,onClick:function(){return o(e,"remove")}},[createVNode("img",{class:styles$1.iconClose,src:iconClose},null)])])])})))?n:{default:function(){return[n]}}),createVNode("div",{onClick:function(){return e.showUploadList=!e.showUploadList}},[t.value?createVNode("div",{class:styles$1.loadingSection},[createVNode("div",{class:styles$1.loadingText},[createVNode("img",{class:styles$1.iconQuestion,src:iconQuestion},null),createVNode("p",null,[createTextVNode("剩余"),createVNode("span",{class:styles$1.error},[r.value.waiting]),createTextVNode("个文件正在上传中…")])]),createVNode("img",{class:[styles$1.arrow,e.showUploadList&&styles$1.arrowDown],src:iconArrow},null)]):createVNode("div",{class:styles$1.succesSection},[createVNode("p",null,[createTextVNode("上传完成,"),createVNode("span",{class:styles$1.success},[createTextVNode("成功"),r.value.success]),createTextVNode(" "),createVNode("span",{class:styles$1.error},[createTextVNode("失败"),r.value.error])]),createVNode("img",{class:[styles$1.arrow,e.showUploadList&&styles$1.arrowDown],src:iconArrow},null)])])])}}}),uploadFile="_uploadFile_chuon_1",iconUpload$1="_iconUpload_chuon_19",tips="_tips_chuon_24",styles={uploadFile:uploadFile,iconUpload:iconUpload$1,tips:tips},iconUpload="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAmCAYAAAC76qlaAAAAAXNSR0IArs4c6QAABgFJREFUWEe1WWmoVlUUXas5ssJm04S0AaPJMiuapAFpUhoMMpNGkETTBsioKCLsh5BWYoNpZa9swtLmIqKBBstsoBGNBouygkZKqtVZr3PkvK/v3XO/7z03PHjv3n32WXefffZeez+il0TSegAOBnAEgP4AdgSwMYBvAHwNYBmAZ0j+1htbsqdGJBnk5QBOBbBdwd4fAJ4NHzSd5Ks92btt4JI2BXAVgAsB+PdWZRGAi0l+1upC67cFPHr5EQDDutl0dQyPPwH0iz8bNNH9EcAYks+3Cr5l4JKGAPBGOzRs9naI7dsBLCa5Kn8nqQ+AkQDGAjipwWF/ATiH5IJWwLcEXNJWAN4AMDjbxN51uCwkqdLmkvYHMBvAgZnuGgBHk3yptD69bxX4cwCOyoy/E7LFKJJf1N3QepKcbW4BcFa27nsA+5B0BipKbeCSxgB4ILO4AsBwko7TtkRSRwyftH4eyXPr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3di93jBl83iSjc4sLmf2kXem8AlbRkylitx4lAOmYGpcnqgk3c1pqUejRUHPM0+rreAR6eaTjiFJplCclYCbp5hUmWGmMQUcxJJj8hakt4ALslF6iYTsmxzx/mQ0JisyWntQYF5mSF6ypTEI7HJJJe3grynwCWZN92Ydf7e3s2LmeFr/qOxkTBLNC/ImZzDxXMPFyoPhdxUeGhv9udKtojku/mHhV7Vs8EL4rOVofHNZ42uuh4AefhpW45f83435Xt4pOc5YgM2EzFzGtOFTmnWurn1uhfAFjW9/HPnZckus6QRAJ6Kp3cNyauTrXjZnAxasT+WpAvlWumuWd4tNLozMipQ+gZnoTzP2quei/cl6VNaK7HTspfryJJAkS8haULXRUrjCZOoswMfdlu2fZOd3AvODs3ztDooMq87J09s0tta5dvQDzwGYD7JV7qzWxwIeWH8x5Qzjr3oWHRMrqiae9T5kDi3cfzbrsfMtus7Udlc2Pa/NTRIFqWfi8cAAAAASUVORK5CYII=",UploadFile=defineComponent({name:"upload-file",setup:function(){var e=useMessage(),t=ref(),r=reactive({fileList:[],uploading:!1}),n=function(){var n=_asyncToGenerator2(_regeneratorRuntime().mark((function n(o){var a,i,s,l,c,u,d;return _regeneratorRuntime().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r.uploading=!0,n.prev=1,!((a=o.target.files||[]).length>5)){n.next=7;break}return e.error("最多选择5个文件"),r.uploading=!1,n.abrupt("return");case 7:i=0;case 8:if(!(i<a.length)){n.next=27;break}if(s=a[i],"other"!==(l=s.type.includes("png")||s.type.includes("jpg")||s.type.includes("jpeg")?"IMG":s.type.includes("xml")?"XML":s.type.includes("application/pdf")?"pdf":"other")){n.next=15;break}return e.error("文件格式不支持"),r.uploading=!1,n.abrupt("return",!1);case 15:if(!0,50,s.size/1024/1024<50){n.next=24;break}return c="IMG"===l?"图片":"XML"===l?"XMl":"",e.error("".concat(c,"大小不能超过").concat(50,"M")),r.uploading=!1,n.abrupt("return",!1);case 24:i++,n.next=8;break;case 27:u=_regeneratorRuntime().mark((function e(){var t,r,n,o,i,s,l;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=a[d],r=t.name,o={filename:n=r,bucketName:"gyt",postData:{filename:n,acl:"public-read",key:n,unknowValueField:[]}},e.next=6,getUploadSign(o);case 6:i=e.sent,s=i.data,l={policy:s.policy,signature:s.signature,key:n,KSSAccessKeyId:s.kssAccessKeyId,acl:"public-read",name:n,file:t},onOnlyFileUpload("action",l).then(function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(r){var o,a,i,s,l;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=!0,"XML"!==(t.type.includes("png")||t.type.includes("jpg")||t.type.includes("jpeg")?"IMG":t.type.includes("xml")?"XML":t.type.includes("application/pdf")?"pdf":"other")){e.next=16;break}return console.log(t,"files"),e.prev=4,e.next=7,request$1$1.get(r,{mode:"cors"});case 7:a=e.sent,i=(new DOMParser).parseFromString(a,"text/xml"),s=i.querySelector("parsererror"),console.log(i,"abc",s),o=!s,e.next=16;break;case 14:e.prev=14,e.t0=e.catch(4);case 16:return e.next=18,api_musicalScoreConversionRecordSave([{fileName:n,fileUrl:r,status:o?null:"FAIL"}]);case 18:l=e.sent,uploadState.uploadList.push({fileName:n,fileUrl:r,musicSheetCreationId:"",id:l.data[0],status:"WAITING"}),eventGlobal.emit("resetUploadTask");case 21:case"end":return e.stop()}}),e,null,[[4,14]])})));return function(t){return e.apply(this,arguments)}}());case 10:case"end":return e.stop()}}),e)})),d=0;case 29:if(!(d<a.length)){n.next=34;break}return n.delegateYield(u(),"t0",31);case 31:d++,n.next=29;break;case 34:t.value.value="",n.next=39;break;case 37:n.prev=37,n.t1=n.catch(1);case 39:r.uploading=!1;case 40:case"end":return n.stop()}}),n,null,[[1,37]])})));return function(e){return n.apply(this,arguments)}}();return function(){return createVNode("div",{class:styles.uploadFile},[createVNode("div",null,[createVNode(NButton,{type:"primary",loading:r.uploading,onClick:function(){t.value.click()}},{default:function(){return[createVNode("img",{src:iconUpload,class:styles.iconUpload},null),createTextVNode("上传曲谱")]}}),createVNode("input",{style:{display:"none"},ref:t,type:"file",accept:".jpg,.png,.jpeg,.xml,application/pdf",multiple:!0,onChange:n},null)]),createVNode("p",{class:styles.tips},[createTextVNode("(仅支持上传.PDF、JPG、PNG、XML格式文件)")])])}}}),Create=defineComponent({name:"Create",setup:function(){var e=getQuery();useDialog(),console.log(storeData.user);var t=reactive({teacherId:storeData.user.id,page:1,keyword:"",rows:20}),r=reactive({list:[],addShow:!!e.addShow,loading:!1,finish:!1,isCreated:!1,uploadShow:!1,item:{}}),n=function(){var e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(){var n;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r.loading=!0,e.prev=1,e.next=4,api_musicSheetCreationPage(_objectSpread({},t));case 4:n=e.sent,console.log(n,"res"),200==(null==n?void 0:n.code)&&(r.isCreated&&(r.isCreated=!1,u(n.data.rows[0])),r.list=r.list.concat(n.data.rows),r.finish=n.data.rows.length<t.rows),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(1),r.finish=!0;case 12:r.loading=!1;case 13:case"end":return e.stop()}}),e,null,[[1,9]])})));return function(){return e.apply(this,arguments)}}(),o=function(){t.page=1,r.finish=!1,r.list=[],n()};watch(usePageVisibility(),(function(e){"visible"===e&&o()}));var a=ref(!0),i=ref(!1),s=ref(),l=ref(),c=function(e){var t;"reload"==(null===(t=e.data)||void 0===t?void 0:t.api)&&o()};onMounted((function(){var e;(n(),l.value)&&new IntersectionObserver((function(e){if(e[0].isIntersecting){if(r.finish||r.loading)return;t.page++,n()}})).observe(null===(e=l.value)||void 0===e?void 0:e.$el);window.addEventListener("message",(function(e){c(e)})),eventGlobal.on("resetList",o)})),onUnmounted((function(){window.removeEventListener("message",c),eventGlobal.off("resetList",o)}));var u=function(e){window.parent.postMessage({api:"notation_open",url:"".concat(location.origin,"/notation/#/?v=").concat(Date.now(),"&id=").concat(e.id)},"*")},d=function(e,t){return ABCJS.renderAbc(t,e,{selectTypes:!1,add_classes:!0})[0]};return function(){return createVNode("div",{class:styles$2.wrap},[createVNode(UploadFile,null,null),createVNode("div",{class:styles$2.wrapBox},[createVNode("div",{class:styles$2.itemWrap},[createVNode("div",{class:styles$2.itemWrapBox},[createVNode("div",{class:styles$2.createItem,onClick:function(){return r.addShow=!0}},[createVNode("img",{src:getImage("icon_29.png")},null),createVNode("div",null,[createTextVNode("新建乐谱")])])])]),r.list.map((function(e,t){return createVNode("div",{class:styles$2.itemWrap},[createVNode("div",{class:styles$2.itemWrapBox},[createVNode("div",{class:styles$2.item,onClick:function(){return u(e)}},[createVNode("div",{class:[styles$2.imgBox],id:"item_"+t},[createVNode("img",{src:getImage("icon_staff.png"),onLoad:(n=_asyncToGenerator2(_regeneratorRuntime().mark((function r(){var n,o,a,i,s,l;return _regeneratorRuntime().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e.creationConfig){r.next=20;break}return r.prev=1,r.next=4,request$1$1.get(e.xml,{mode:"cors"});case 4:n=r.sent,o=(new DOMParser).parseFromString(n,"text/xml"),(a=o.querySelector("movement-title"))&&a.textContent.trim()!==(null==e?void 0:e.name)&&(a.textContent=e.name),o=window.vertaal(o,{p:"f",t:1,u:0,v:3,mnum:0}),i=ABCJS.renderAbc("importRef",o[0],{responsive:"resize"}),s=formateAbc(i[0],{subjectCode:"acoustic_grand_piano"}),l=renderMeasures(s,{hiddenIndex:!0,showTitle:!0,showCreator:!0}),e.visualObj=d(l,"item_"+t),r.next=18;break;case 15:r.prev=15,r.t0=r.catch(1),console.log(r.t0,"1222222");case 18:r.next=21;break;case 20:e.visualObj=d(e.creationConfig,"item_"+t);case 21:case"end":return r.stop()}}),r,null,[[1,15]])}))),function(){return n.apply(this,arguments)})},null)]),createVNode("div",{class:styles$2.itemBottom},[createVNode("div",{class:styles$2.bottombox},[createVNode("div",{class:styles$2.bottomLeft},[createVNode("div",{class:styles$2.itemtitle},[createVNode("span",null,[e.name||"未命名乐谱-".concat(t+1)])]),createVNode("div",{class:styles$2.time},[e.updateTime])]),"YES"!==e.uploadStatus&&createVNode("img",{class:styles$2.bottomBtn,src:getImage("icon_29_2.png"),onClick:function(t){t.stopPropagation();var n=e.creationData?JSON.parse(e.creationData):{};r.item=_objectSpread(_objectSpread({},e),{},{subjectCode:n.subjectCode||"acoustic_grand_piano"}),nextTick((function(){r.uploadShow=!0}))}},null),createVNode("img",{class:styles$2.bottomBtn,src:getImage("icon_29_3.png"),onClick:function(t){t.stopPropagation(),function(e){a.value=!0,i.value=!0,s.value=e.id}(e)}},null)])]),"YES"===e.uploadStatus&&createVNode("img",{class:styles$2.btn,src:getImage("icon_29_4.png")},null),"UPDATE"===e.uploadStatus&&createVNode("img",{class:styles$2.btn,src:getImage("icon_29_5.png")},null)])])]);var n})),createVNode("div",{id:"importRef",class:styles$2.importRef,style:{display:"none"}},null)]),!r.finish&&createVNode(NSpace,{ref:l,justify:"center",style:{padding:"30px"}},{default:function(){return[createVNode(NSpin,{size:"large"},null)]}}),createVNode(TheCreate,{show:r.addShow,"onUpdate:show":function(e){return r.addShow=e},onCreate:function(){r.addShow=!1}},null),createVNode(UploadToResources,{show:r.uploadShow,"onUpdate:show":function(e){return r.uploadShow=e},item:r.item,onSuccess:function(){r.list.find((function(e){return e.id===r.item.id})).uploadStatus="YES"}},null),createVNode(UploadToTasks,null,null),createVNode(NModal,{autoFocus:!1,show:i.value,unstableShowMask:!1,maskClosable:!1},{default:function(){return[createVNode(NDialog,{type:"warning",class:"deleteDialog",title:"删除曲谱",positiveText:"取消",positiveButtonProps:{type:"default"},content:function(){return createVNode("div",{onClick:function(){return a.value=!a.value}},[createVNode(NRadio,{checked:a.value},{default:function(){return[createTextVNode("同步删除我的资源中的该曲目")]}})])},negativeText:"删除",negativeButtonProps:{type:"primary",ghost:!1},onClose:function(){return i.value=!1},onPositiveClick:function(){i.value=!1},onNegativeClick:(e=_asyncToGenerator2(_regeneratorRuntime().mark((function e(){var t;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,api_musicSheetCreationRemove(s.value,a.value?1:0);case 2:o(),t=uploadState.uploadList.findIndex((function(e){return e.musicSheetCreationId===s.value})),-1!==t&&(uploadState.uploadList.splice(t,1),saveUploadCatch());case 5:case"end":return e.stop()}}),e)}))),function(){return e.apply(this,arguments)})},null)];var e}})])}}}),routes=[{path:"/create",component:Create},{path:"/",component:Home}],router=createRouter({history:createWebHashHistory(),routes:routes}),inBrowser="undefined"!=typeof window,supportTouch=inBrowser&&"ontouchstart"in window,initiated=!1,eventTarget,isMousedown=function(e){return"mousedown"===e},isMousemove=function(e){return"mousemove"===e},isMouseup=function(e){return"mouseup"===e},isUpdateTarget=function(e){return isMousedown(e)||!eventTarget||eventTarget&&!eventTarget.dispatchEvent};function Touch(e,t,r){var n=r.clientX,o=r.clientY,a=r.screenX,i=r.screenY,s=r.pageX,l=r.pageY;this.identifier=t,this.target=e,this.clientX=n,this.clientY=o,this.screenX=a,this.screenY=i,this.pageX=s,this.pageY=l}function updateTouchList(e){var t=createTouchList();return t.push(new Touch(eventTarget,1,e)),t}function createTouchList(){var e=[];return e.item=function(e){return this[e]||null},e}function getActiveTouches(e){var t=e.type;return isMouseup(t)?createTouchList():updateTouchList(e)}function triggerTouch(e,t){var r=t.altKey,n=t.ctrlKey,o=t.metaKey,a=t.shiftKey,i=new Event(e,{bubbles:!0,cancelable:!0});i.altKey=r,i.ctrlKey=n,i.metaKey=o,i.shiftKey=a,i.touches=getActiveTouches(t),i.targetTouches=getActiveTouches(t),i.changedTouches=createTouchList(),eventTarget.dispatchEvent(i)}function onMouse(e,t){var r=e.type,n=e.target;initiated=!!isMousedown(r)||!isMouseup(r)&&initiated,isMousemove(r)&&!initiated||(isUpdateTarget(r)&&(eventTarget=n),triggerTouch(t,e),isMouseup(r)&&(eventTarget=null))}function createTouchEmulator(){window.addEventListener("mousedown",(function(e){return onMouse(e,"touchstart")}),!0),window.addEventListener("mousemove",(function(e){return onMouse(e,"touchmove")}),!0),window.addEventListener("mouseup",(function(e){return onMouse(e,"touchend")}),!0)}inBrowser&&!supportTouch&&createTouchEmulator(),createApp(App).use(router).mount("#app")}}}))})();