@dhccmobile/vue3-lo-form 1.1.41 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.local.bak +6 -6
- package/.eslintrc.js +28 -28
- package/README.md +70 -62
- package/babel.config.js +3 -3
- package/dist/vue3-lo-form.common.js +7700 -107778
- package/dist/vue3-lo-form.common.js.map +1 -1
- package/dist/vue3-lo-form.css +1 -1
- package/dist/vue3-lo-form.umd.js +7773 -107851
- package/dist/vue3-lo-form.umd.js.map +1 -1
- package/dist/vue3-lo-form.umd.min.js +1 -56
- package/dist/vue3-lo-form.umd.min.js.map +1 -1
- package/package.json +65 -61
- package/public/index.html +17 -17
- package/public/js/pinyin.ts +101 -101
- package/src/App.vue +741 -741
- package/src/components/form/DvForm.vue +642 -642
- package/src/components/form/DvFormLayout.vue +1569 -1569
- package/src/components/form/StretchText.vue +90 -90
- package/src/components/index.ts +3 -3
- package/src/constants/config/form-template.config.ts +32 -32
- package/src/constants/config/form.config.ts +4 -4
- package/src/constants/config/storage.config.ts +4 -4
- package/src/constants/encode-assets/svg.ts +11 -11
- package/src/constants/enum/builtIn-label.enum.ts +5 -5
- package/src/constants/enum/cache-type.enum.ts +7 -7
- package/src/constants/enum/control-format-type.enum.ts +9 -9
- package/src/constants/enum/dynamic-option-type.enum.ts +6 -6
- package/src/constants/enum/form-bus-attr.enum.ts +8 -8
- package/src/constants/enum/form-field-class.enum.ts +7 -7
- package/src/constants/enum/form-field-type.enum.ts +25 -25
- package/src/constants/enum/form-type.enum.ts +5 -5
- package/src/constants/enum/index.ts +19 -19
- package/src/constants/enum/lateral-arrangement.enum.ts +9 -9
- package/src/constants/enum/money-unit.enum.ts +6 -6
- package/src/constants/enum/option-type.enum.ts +5 -5
- package/src/constants/enum/submitted-type.enum.ts +32 -31
- package/src/constants/enum/support-upload-type.enum.ts +5 -5
- package/src/constants/enum/switch.enum.ts +5 -5
- package/src/constants/enum/upload-type.enum.ts +17 -17
- package/src/constants/enum/validate-rules.enum.ts +25 -25
- package/src/constants/enum/validate-status.enum.ts +8 -8
- package/src/constants/enum/vertical-arrangement.enum.ts +7 -7
- package/src/constants/enum/zoom-type.ts +6 -6
- package/src/constants/index.ts +3 -3
- package/src/core/FormApi.ts +1238 -1238
- package/src/core/index.ts +1 -1
- package/src/domain/AbstractControl.ts +6 -6
- package/src/domain/Control.ts +14 -14
- package/src/domain/CustomFormat.ts +6 -6
- package/src/domain/DesForm.ts +48 -48
- package/src/domain/DesFormControl.ts +241 -241
- package/src/domain/DesFormLayout.ts +51 -51
- package/src/domain/FieldChangeHistory.ts +9 -9
- package/src/domain/FormConfig.ts +15 -15
- package/src/domain/FormControl.ts +125 -125
- package/src/domain/FormEnum.ts +9 -9
- package/src/domain/FormGroup.ts +42 -42
- package/src/domain/FormRestfulResponse.ts +6 -6
- package/src/domain/ProvideInjectData.ts +10 -10
- package/src/domain/SysDictDetail.ts +38 -38
- package/src/domain/SysDictInfo.ts +40 -40
- package/src/domain/SysDictTreeDetail.ts +52 -52
- package/src/domain/index.ts +12 -12
- package/src/filtres/amount-capitalization.filter.ts +154 -147
- package/src/filtres/extract-options.filter.ts +53 -53
- package/src/filtres/generate-grid-column-end.filter.ts +22 -22
- package/src/filtres/generate-grid-template-columns.filter.ts +24 -24
- package/src/filtres/switch-enum-convert.filter.ts +18 -18
- package/src/filtres/zoom-multiple.filter.ts +32 -32
- package/src/index.ts +73 -73
- package/src/main.ts +17 -17
- package/src/services/api.service.ts +73 -73
- package/src/services/clean-local-forage.service.ts +58 -58
- package/src/services/date-format.service.ts +74 -74
- package/src/services/dict-local-forage.service.ts +58 -58
- package/src/services/form-bean-utils.service.ts +41 -41
- package/src/services/form-local-forage.service.ts +59 -59
- package/src/services/form-tools.service.ts +739 -659
- package/src/services/form-tree-node-convert.service.ts +240 -240
- package/src/services/form-validate.service.ts +103 -103
- package/src/services/index.ts +9 -9
- package/src/services/router.service.ts +96 -96
- package/src/services/validate-generator.service.ts +710 -710
- package/src/shims-vue.d.ts +6 -6
- package/src/store/dict.store.ts +63 -63
- package/src/store/form.store.ts +32 -32
- package/src/store/index.ts +2 -2
- package/src/styles/datePicker.scss +125 -125
- package/src/styles/index.scss +195 -195
- package/src/styles/theme1.scss +277 -277
- package/src/styles/theme2.scss +376 -376
- package/src/styles/themes.scss +9 -9
- package/src/types/vfForm.ts +11 -11
- package/tsconfig.json +40 -40
- package/types/components/index.d.ts +3 -3
- package/types/constants/config/form-template.config.d.ts +30 -30
- package/types/constants/config/form.config.d.ts +4 -4
- package/types/constants/config/storage.config.d.ts +4 -4
- package/types/constants/encode-assets/svg.d.ts +5 -5
- package/types/constants/enum/builtIn-label.enum.d.ts +7 -7
- package/types/constants/enum/cache-type.enum.d.ts +15 -15
- package/types/constants/enum/control-format-type.enum.d.ts +23 -23
- package/types/constants/enum/dynamic-option-type.enum.d.ts +11 -11
- package/types/constants/enum/form-bus-attr.enum.d.ts +19 -19
- package/types/constants/enum/form-field-class.enum.d.ts +18 -18
- package/types/constants/enum/form-field-type.enum.d.ts +111 -111
- package/types/constants/enum/form-type.enum.d.ts +11 -11
- package/types/constants/enum/index.d.ts +19 -19
- package/types/constants/enum/lateral-arrangement.enum.d.ts +23 -23
- package/types/constants/enum/money-unit.enum.d.ts +15 -15
- package/types/constants/enum/option-type.enum.d.ts +11 -11
- package/types/constants/enum/submitted-type.enum.d.ts +115 -111
- package/types/constants/enum/support-upload-type.enum.d.ts +11 -11
- package/types/constants/enum/switch.enum.d.ts +11 -11
- package/types/constants/enum/upload-type.enum.d.ts +59 -59
- package/types/constants/enum/validate-rules.enum.d.ts +2 -2
- package/types/constants/enum/validate-status.enum.d.ts +2 -2
- package/types/constants/enum/vertical-arrangement.enum.d.ts +21 -21
- package/types/constants/enum/zoom-type.d.ts +15 -15
- package/types/constants/index.d.ts +3 -3
- package/types/core/FormApi.d.ts +376 -376
- package/types/core/index.d.ts +1 -1
- package/types/domain/AbstractControl.d.ts +5 -5
- package/types/domain/Control.d.ts +13 -13
- package/types/domain/CustomFormat.d.ts +5 -5
- package/types/domain/DesForm.d.ts +32 -32
- package/types/domain/DesFormControl.d.ts +160 -160
- package/types/domain/DesFormLayout.d.ts +33 -33
- package/types/domain/FieldChangeHistory.d.ts +9 -9
- package/types/domain/FormConfig.d.ts +15 -15
- package/types/domain/FormControl.d.ts +60 -60
- package/types/domain/FormEnum.d.ts +10 -10
- package/types/domain/FormGroup.d.ts +27 -27
- package/types/domain/FormRestfulResponse.d.ts +6 -6
- package/types/domain/ProvideInjectData.d.ts +10 -10
- package/types/domain/SysDictDetail.d.ts +24 -24
- package/types/domain/SysDictInfo.d.ts +26 -26
- package/types/domain/SysDictTreeDetail.d.ts +34 -34
- package/types/domain/index.d.ts +12 -12
- package/types/filtres/amount-capitalization.filter.d.ts +7 -7
- package/types/filtres/extract-options.filter.d.ts +13 -13
- package/types/filtres/generate-grid-column-end.filter.d.ts +11 -11
- package/types/filtres/generate-grid-template-columns.filter.d.ts +11 -11
- package/types/filtres/switch-enum-convert.filter.d.ts +2 -2
- package/types/filtres/zoom-multiple.filter.d.ts +3 -3
- package/types/index.d.ts +13 -13
- package/types/main.d.ts +2 -2
- package/types/services/api.service.d.ts +25 -25
- package/types/services/clean-local-forage.service.d.ts +28 -28
- package/types/services/date-format.service.d.ts +21 -21
- package/types/services/dict-local-forage.service.d.ts +28 -28
- package/types/services/form-bean-utils.service.d.ts +23 -23
- package/types/services/form-local-forage.service.d.ts +28 -28
- package/types/services/form-tools.service.d.ts +153 -144
- package/types/services/form-tree-node-convert.service.d.ts +104 -104
- package/types/services/form-validate.service.d.ts +32 -32
- package/types/services/index.d.ts +9 -9
- package/types/services/router.service.d.ts +40 -40
- package/types/services/validate-generator.service.d.ts +154 -154
- package/types/store/dict.store.d.ts +29 -29
- package/types/store/form.store.d.ts +17 -17
- package/types/store/index.d.ts +2 -2
- package/types/types/vfForm.d.ts +10 -10
- package/vue.config.js +38 -29
- package/dhccmobile-vue3-lo-form-1.1.41.tgz +0 -0
|
@@ -1,57 +1,2 @@
|
|
|
1
|
-
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["vue3-lo-form"]=t(require("vue")):e["vue3-lo-form"]=t(e["Vue"])})("undefined"!==typeof self?self:this,(function(__WEBPACK_EXTERNAL_MODULE__8bbf__){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"00ee":function(e,t,n){"use strict";var r=n("b622"),o=r("toStringTag"),i={};i[o]="z",e.exports="[object z]"===String(i)},"0437":function(e,t,n){"use strict";n("0f78")},"04f8":function(e,t,n){"use strict";var r=n("2d00"),o=n("d039"),i=n("da84"),a=i.String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"06cf":function(e,t,n){"use strict";var r=n("83ab"),o=n("c65b"),i=n("d1e7"),a=n("5c6c"),u=n("fc6a"),c=n("a04b"),l=n("1a2d"),s=n("0cfb"),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=u(e),t=c(t),s)try{return d(e,t)}catch(n){}if(l(e,t))return a(!o(i.f,e,t),e[t])}},"07fa":function(e,t,n){"use strict";var r=n("50c4");e.exports=function(e){return r(e.length)}},"0cfb":function(e,t,n){"use strict";var r=n("83ab"),o=n("d039"),i=n("cc12");e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},"0d26":function(e,t,n){"use strict";var r=n("e330"),o=Error,i=r("".replace),a=function(e){return String(new o(e).stack)}("zxcasd"),u=/\n\s*at [^:]*:[^\n]*/,c=u.test(a);e.exports=function(e,t){if(c&&"string"==typeof e&&!o.prepareStackTrace)while(t--)e=i(e,u,"");return e}},"0d51":function(e,t,n){"use strict";var r=String;e.exports=function(e){try{return r(e)}catch(t){return"Object"}}},"0f78":function(e,t,n){},"13d2":function(e,t,n){"use strict";var r=n("e330"),o=n("d039"),i=n("1626"),a=n("1a2d"),u=n("83ab"),c=n("5e77").CONFIGURABLE,l=n("8925"),s=n("69f3"),d=s.enforce,f=s.get,p=String,v=Object.defineProperty,h=r("".slice),m=r("".replace),g=r([].join),b=u&&!o((function(){return 8!==v((function(){}),"length",{value:8}).length})),y=String(String).split("String"),O=e.exports=function(e,t,n){"Symbol("===h(p(t),0,7)&&(t="["+m(p(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||c&&e.name!==t)&&(u?v(e,"name",{value:t,configurable:!0}):e.name=t),b&&n&&a(n,"arity")&&e.length!==n.arity&&v(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?u&&v(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(o){}var r=d(e);return a(r,"source")||(r.source=g(y,"string"==typeof t?t:"")),e};Function.prototype.toString=O((function(){return i(this)&&f(this).source||l(this)}),"toString")},"14d9":function(e,t,n){"use strict";var r=n("23e7"),o=n("7b0b"),i=n("07fa"),a=n("3a34"),u=n("3511"),c=n("d039"),l=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),s=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},d=l||!s();r({target:"Array",proto:!0,arity:1,forced:d},{push:function(e){var t=o(this),n=i(t),r=arguments.length;u(n+r);for(var c=0;c<r;c++)t[n]=arguments[c],n++;return a(t,n),n}})},1626:function(e,t,n){"use strict";var r="object"==typeof document&&document.all;e.exports="undefined"==typeof r&&void 0!==r?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}},1787:function(e,t,n){"use strict";var r=n("861d");e.exports=function(e){return r(e)||null===e}},1937:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r={GeneralDictionary:{code:"1",name:"常规"},TreeDictionary:{code:"2",name:"树形"}}},"1a2d":function(e,t,n){"use strict";var r=n("e330"),o=n("7b0b"),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},"1ac8":function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";return function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),n=this.year();return 1===t&&11===e?n+1:0===e&&t>=52?n-1:n}}}))},"1d80":function(e,t,n){"use strict";var r=n("7234"),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},"23cb":function(e,t,n){"use strict";var r=n("5926"),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},"23e7":function(e,t,n){"use strict";var r=n("da84"),o=n("06cf").f,i=n("9112"),a=n("cb2d"),u=n("6374"),c=n("e893"),l=n("94ca");e.exports=function(e,t){var n,s,d,f,p,v,h=e.target,m=e.global,g=e.stat;if(s=m?r:g?r[h]||u(h,{}):r[h]&&r[h].prototype,s)for(d in t){if(p=t[d],e.dontCallGetSet?(v=o(s,d),f=v&&v.value):f=s[d],n=l(m?d:h+(g?".":"#")+d,e.forced),!n&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(s,d,p,e)}}},"241c":function(e,t,n){"use strict";var r=n("ca84"),o=n("7839"),i=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},"26ee":function(e,t,n){"use strict";var r=n("5ea3"),o="object"==typeof self&&self&&self.Object===Object&&self,i=r["a"]||o||Function("return this")();t["a"]=i},2804:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r={Success:{code:"success",name:"通过"},Warning:{code:"warning",name:"警告"},Error:{code:"error",name:"未通过"},Validating:{code:"validating",name:"校验中"}}},"2a04":function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";var e="week",t="year";return function(n,r,o){var i=r.prototype;i.week=function(n){if(void 0===n&&(n=null),null!==n)return this.add(7*(n-this.week()),"day");var r=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var i=o(this).startOf(t).add(1,t).date(r),a=o(this).endOf(e);if(i.isBefore(a))return 1}var u=o(this).startOf(t).date(r).startOf(e).subtract(1,"millisecond"),c=this.diff(u,e,!0);return c<0?o(this).startOf("week").week():Math.ceil(c)},i.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}}))},"2a95":function(e,t,n){"use strict";(function(e){function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,a(e,t)}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function u(){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 c(e,t,n){return c=u()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=Function.bind.apply(e,r),i=new o;return n&&a(i,n.prototype),i},c.apply(null,arguments)}function l(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function s(e){var t="function"===typeof Map?new Map:void 0;return s=function(e){if(null===e||!l(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return c(e,arguments,i(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),a(n,e)},s(e)}n.d(t,"a",(function(){return re}));var d=/%[sdj%]/g,f=function(){};function p(e){if(!e||!e.length)return null;var t={};return e.forEach((function(e){var n=e.field;t[n]=t[n]||[],t[n].push(e)})),t}function v(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0,i=n.length;if("function"===typeof e)return e.apply(null,n);if("string"===typeof e){var a=e.replace(d,(function(e){if("%%"===e)return"%";if(o>=i)return e;switch(e){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch(t){return"[Circular]"}break;default:return e}}));return a}return e}function h(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}function m(e,t){return void 0===e||null===e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!h(t)||"string"!==typeof e||e))}function g(e,t,n){var r=[],o=0,i=e.length;function a(e){r.push.apply(r,e||[]),o++,o===i&&n(r)}e.forEach((function(e){t(e,a)}))}function b(e,t,n){var r=0,o=e.length;function i(a){if(a&&a.length)n(a);else{var u=r;r+=1,u<o?t(e[u],i):n([])}}i([])}function y(e){var t=[];return Object.keys(e).forEach((function(n){t.push.apply(t,e[n]||[])})),t}"undefined"!==typeof e&&Object({NODE_ENV:"production",BASE_URL:"/"});var O=function(e){function t(t,n){var r;return r=e.call(this,"Async Validation Error")||this,r.errors=t,r.fields=n,r}return o(t,e),t}(s(Error));function C(e,t,n,r,o){if(t.first){var i=new Promise((function(t,i){var a=function(e){return r(e),e.length?i(new O(e,p(e))):t(o)},u=y(e);b(u,n,a)}));return i["catch"]((function(e){return e})),i}var a=!0===t.firstFields?Object.keys(e):t.firstFields||[],u=Object.keys(e),c=u.length,l=0,s=[],d=new Promise((function(t,i){var d=function(e){if(s.push.apply(s,e),l++,l===c)return r(s),s.length?i(new O(s,p(s))):t(o)};u.length||(r(s),t(o)),u.forEach((function(t){var r=e[t];-1!==a.indexOf(t)?b(r,n,d):g(r,n,d)}))}));return d["catch"]((function(e){return e})),d}function w(e){return!(!e||void 0===e.message)}function S(e,t){for(var n=e,r=0;r<t.length;r++){if(void 0==n)return n;n=n[t[r]]}return n}function N(e,t){return function(n){var r;return r=e.fullFields?S(t,e.fullFields):t[n.field||e.fullField],w(n)?(n.field=n.field||e.fullField,n.fieldValue=r,n):{message:"function"===typeof n?n():n,fieldValue:r,field:n.field||e.fullField}}}function M(e,t){if(t)for(var n in t)if(t.hasOwnProperty(n)){var o=t[n];"object"===typeof o&&"object"===typeof e[n]?e[n]=r({},e[n],o):e[n]=o}return e}var x,j=function(e,t,n,r,o,i){!e.required||n.hasOwnProperty(e.field)&&!m(t,i||e.type)||r.push(v(o.messages.required,e.fullField))},T=function(e,t,n,r,o){(/^\s+$/.test(t)||""===t)&&r.push(v(o.messages.whitespace,e.fullField))},D=function(){if(x)return x;var e="[a-fA-F\\d:]",t=function(t){return t&&t.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},n="(?: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}",r="[a-fA-F\\d]{1,4}",o=("\n(?:\n(?:"+r+":){7}(?:"+r+"|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:"+r+":){6}(?:"+n+"|:"+r+"|:)| // 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(?:"+r+":){5}(?::"+n+"|(?::"+r+"){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(?:"+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+"){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(?:"+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+"){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(?:"+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+"){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(?:"+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+"){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::"+r+"){0,5}:"+n+"|(?::"+r+"){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(),i=new RegExp("(?:^"+n+"$)|(?:^"+o+"$)"),a=new RegExp("^"+n+"$"),u=new RegExp("^"+o+"$"),c=function(e){return e&&e.exact?i:new RegExp("(?:"+t(e)+n+t(e)+")|(?:"+t(e)+o+t(e)+")","g")};c.v4=function(e){return e&&e.exact?a:new RegExp(""+t(e)+n+t(e),"g")},c.v6=function(e){return e&&e.exact?u:new RegExp(""+t(e)+o+t(e),"g")};var l="(?:(?:[a-z]+:)?//)",s="(?:\\S+(?::\\S*)?@)?",d=c.v4().source,f=c.v6().source,p="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",v="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",h="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",m="(?::\\d{2,5})?",g='(?:[/?#][^\\s"]*)?',b="(?:"+l+"|www\\.)"+s+"(?:localhost|"+d+"|"+f+"|"+p+v+h+")"+m+g;return x=new RegExp("(?:^"+b+"$)","i"),x},E={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},k={integer:function(e){return k.number(e)&&parseInt(e,10)===e},float:function(e){return k.number(e)&&!k.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){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"===typeof e&&!k.array(e)},method:function(e){return"function"===typeof e},email:function(e){return"string"===typeof e&&e.length<=320&&!!e.match(E.email)},url:function(e){return"string"===typeof e&&e.length<=2048&&!!e.match(D())},hex:function(e){return"string"===typeof e&&!!e.match(E.hex)}},L=function(e,t,n,r,o){if(e.required&&void 0===t)j(e,t,n,r,o);else{var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=e.type;i.indexOf(a)>-1?k[a](t)||r.push(v(o.messages.types[a],e.fullField,e.type)):a&&typeof t!==e.type&&r.push(v(o.messages.types[a],e.fullField,e.type))}},Y=function(e,t,n,r,o){var i="number"===typeof e.len,a="number"===typeof e.min,u="number"===typeof e.max,c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=t,s=null,d="number"===typeof t,f="string"===typeof t,p=Array.isArray(t);if(d?s="number":f?s="string":p&&(s="array"),!s)return!1;p&&(l=t.length),f&&(l=t.replace(c,"_").length),i?l!==e.len&&r.push(v(o.messages[s].len,e.fullField,e.len)):a&&!u&&l<e.min?r.push(v(o.messages[s].min,e.fullField,e.min)):u&&!a&&l>e.max?r.push(v(o.messages[s].max,e.fullField,e.max)):a&&u&&(l<e.min||l>e.max)&&r.push(v(o.messages[s].range,e.fullField,e.min,e.max))},_="enum",A=function(e,t,n,r,o){e[_]=Array.isArray(e[_])?e[_]:[],-1===e[_].indexOf(t)&&r.push(v(o.messages[_],e.fullField,e[_].join(", ")))},P=function(e,t,n,r,o){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(v(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"===typeof e.pattern){var i=new RegExp(e.pattern);i.test(t)||r.push(v(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}},F={required:j,whitespace:T,type:L,range:Y,enum:A,pattern:P},I=function(e,t,n,r,o){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(m(t,"string")&&!e.required)return n();F.required(e,t,r,i,o,"string"),m(t,"string")||(F.type(e,t,r,i,o),F.range(e,t,r,i,o),F.pattern(e,t,r,i,o),!0===e.whitespace&&F.whitespace(e,t,r,i,o))}n(i)},B=function(e,t,n,r,o){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(m(t)&&!e.required)return n();F.required(e,t,r,i,o),void 0!==t&&F.type(e,t,r,i,o)}n(i)},Z=function(e,t,n,r,o){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(""===t&&(t=void 0),m(t)&&!e.required)return n();F.required(e,t,r,i,o),void 0!==t&&(F.type(e,t,r,i,o),F.range(e,t,r,i,o))}n(i)},R=function(e,t,n,r,o){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(m(t)&&!e.required)return n();F.required(e,t,r,i,o),void 0!==t&&F.type(e,t,r,i,o)}n(i)},H=function(e,t,n,r,o){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(m(t)&&!e.required)return n();F.required(e,t,r,i,o),m(t)||F.type(e,t,r,i,o)}n(i)},V=function(e,t,n,r,o){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(m(t)&&!e.required)return n();F.required(e,t,r,i,o),void 0!==t&&(F.type(e,t,r,i,o),F.range(e,t,r,i,o))}n(i)},X=function(e,t,n,r,o){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(m(t)&&!e.required)return n();F.required(e,t,r,i,o),void 0!==t&&(F.type(e,t,r,i,o),F.range(e,t,r,i,o))}n(i)},J=function(e,t,n,r,o){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if((void 0===t||null===t)&&!e.required)return n();F.required(e,t,r,i,o,"array"),void 0!==t&&null!==t&&(F.type(e,t,r,i,o),F.range(e,t,r,i,o))}n(i)},z=function(e,t,n,r,o){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(m(t)&&!e.required)return n();F.required(e,t,r,i,o),void 0!==t&&F.type(e,t,r,i,o)}n(i)},Q="enum",W=function(e,t,n,r,o){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(m(t)&&!e.required)return n();F.required(e,t,r,i,o),void 0!==t&&F[Q](e,t,r,i,o)}n(i)},K=function(e,t,n,r,o){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(m(t,"string")&&!e.required)return n();F.required(e,t,r,i,o),m(t,"string")||F.pattern(e,t,r,i,o)}n(i)},U=function(e,t,n,r,o){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(m(t,"date")&&!e.required)return n();var u;if(F.required(e,t,r,i,o),!m(t,"date"))u=t instanceof Date?t:new Date(t),F.type(e,u,r,i,o),u&&F.range(e,u.getTime(),r,i,o)}n(i)},G=function(e,t,n,r,o){var i=[],a=Array.isArray(t)?"array":typeof t;F.required(e,t,r,i,o,a),n(i)},$=function(e,t,n,r,o){var i=e.type,a=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(m(t,i)&&!e.required)return n();F.required(e,t,r,a,o,i),m(t,i)||F.type(e,t,r,a,o)}n(a)},q=function(e,t,n,r,o){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(m(t)&&!e.required)return n();F.required(e,t,r,i,o)}n(i)},ee={string:I,method:B,number:Z,boolean:R,regexp:H,integer:V,float:X,array:J,object:z,enum:W,pattern:K,date:U,url:$,hex:$,email:$,required:G,any:q};function te(){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 ne=te(),re=function(){function e(e){this.rules=null,this._messages=ne,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"!==typeof e||Array.isArray(e))throw new Error("Rules must be an object");this.rules={},Object.keys(e).forEach((function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]}))},t.messages=function(e){return e&&(this._messages=M(te(),e)),this._messages},t.validate=function(t,n,o){var i=this;void 0===n&&(n={}),void 0===o&&(o=function(){});var a=t,u=n,c=o;if("function"===typeof u&&(c=u,u={}),!this.rules||0===Object.keys(this.rules).length)return c&&c(null,a),Promise.resolve(a);function l(e){var t=[],n={};function r(e){var n;Array.isArray(e)?t=(n=t).concat.apply(n,e):t.push(e)}for(var o=0;o<e.length;o++)r(e[o]);t.length?(n=p(t),c(t,n)):c(null,a)}if(u.messages){var s=this.messages();s===ne&&(s=te()),M(s,u.messages),u.messages=s}else u.messages=this.messages();var d={},f=u.keys||Object.keys(this.rules);f.forEach((function(e){var n=i.rules[e],o=a[e];n.forEach((function(n){var u=n;"function"===typeof u.transform&&(a===t&&(a=r({},a)),o=a[e]=u.transform(o)),u="function"===typeof u?{validator:u}:r({},u),u.validator=i.getValidationMethod(u),u.validator&&(u.field=e,u.fullField=u.fullField||e,u.type=i.getType(u),d[e]=d[e]||[],d[e].push({rule:u,value:o,source:a,field:e}))}))}));var h={};return C(d,u,(function(t,n){var o,i=t.rule,c=("object"===i.type||"array"===i.type)&&("object"===typeof i.fields||"object"===typeof i.defaultField);function l(e,t){return r({},t,{fullField:i.fullField+"."+e,fullFields:i.fullFields?[].concat(i.fullFields,[e]):[e]})}function s(o){void 0===o&&(o=[]);var s=Array.isArray(o)?o:[o];!u.suppressWarning&&s.length&&e.warning("async-validator:",s),s.length&&void 0!==i.message&&(s=[].concat(i.message));var d=s.map(N(i,a));if(u.first&&d.length)return h[i.field]=1,n(d);if(c){if(i.required&&!t.value)return void 0!==i.message?d=[].concat(i.message).map(N(i,a)):u.error&&(d=[u.error(i,v(u.messages.required,i.field))]),n(d);var f={};i.defaultField&&Object.keys(t.value).map((function(e){f[e]=i.defaultField})),f=r({},f,t.rule.fields);var p={};Object.keys(f).forEach((function(e){var t=f[e],n=Array.isArray(t)?t:[t];p[e]=n.map(l.bind(null,e))}));var m=new e(p);m.messages(u.messages),t.rule.options&&(t.rule.options.messages=u.messages,t.rule.options.error=u.error),m.validate(t.value,t.rule.options||u,(function(e){var t=[];d&&d.length&&t.push.apply(t,d),e&&e.length&&t.push.apply(t,e),n(t.length?t:null)}))}else n(d)}if(c=c&&(i.required||!i.required&&t.value),i.field=t.field,i.asyncValidator)o=i.asyncValidator(i,t.value,s,t.source,u);else if(i.validator){try{o=i.validator(i,t.value,s,t.source,u)}catch(d){null==console.error||console.error(d),u.suppressValidatorError||setTimeout((function(){throw d}),0),s(d.message)}!0===o?s():!1===o?s("function"===typeof i.message?i.message(i.fullField||i.field):i.message||(i.fullField||i.field)+" fails"):o instanceof Array?s(o):o instanceof Error&&s(o.message)}o&&o.then&&o.then((function(){return s()}),(function(e){return s(e)}))}),(function(e){l(e)}),a)},t.getType=function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!==typeof e.validator&&e.type&&!ee.hasOwnProperty(e.type))throw new Error(v("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),n=t.indexOf("message");return-1!==n&&t.splice(n,1),1===t.length&&"required"===t[0]?ee.required:ee[this.getType(e)]||void 0},e}();re.register=function(e,t){if("function"!==typeof t)throw new Error("Cannot register a validator by type, validator is not a function");ee[e]=t},re.warning=f,re.messages=ne,re.validators=ee}).call(this,n("4362"))},"2ba4":function(e,t,n){"use strict";var r=n("40d5"),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},"2d00":function(e,t,n){"use strict";var r,o,i=n("da84"),a=n("342f"),u=i.process,c=i.Deno,l=u&&u.versions||c&&c.version,s=l&&l.v8;s&&(r=s.split("."),o=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(o=+r[1]))),e.exports=o},"2e48":function(e,t,n){},"2f74":function(e,t,n){"use strict";function r(){return!1}t["a"]=r},"342f":function(e,t,n){"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},3511:function(e,t,n){"use strict";var r=TypeError,o=9007199254740991;e.exports=function(e){if(e>o)throw r("Maximum allowed index exceeded");return e}},"3a34":function(e,t,n){"use strict";var r=n("83ab"),o=n("e8b5"),i=TypeError,a=Object.getOwnPropertyDescriptor,u=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=u?function(e,t){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},"3a9b":function(e,t,n){"use strict";var r=n("e330");e.exports=r({}.isPrototypeOf)},"3bbe":function(e,t,n){"use strict";var r=n("1787"),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},"40d5":function(e,t,n){"use strict";var r=n("d039");e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},4128:function(e,t,n){var r;(function(o){"use strict";
|
|
2
|
-
/*!
|
|
3
|
-
* decimal.js v10.4.3
|
|
4
|
-
* An arbitrary-precision Decimal type for JavaScript.
|
|
5
|
-
* https://github.com/MikeMcl/decimal.js
|
|
6
|
-
* Copyright (c) 2022 Michael Mclaughlin <M8ch88l@gmail.com>
|
|
7
|
-
* MIT Licence
|
|
8
|
-
*/var i,a,u,c=9e15,l=1e9,s="0123456789abcdef",d="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",f="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",p={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-c,maxE:c,crypto:!1},v=!0,h="[DecimalError] ",m=h+"Invalid argument: ",g=h+"Precision limit exceeded",b=h+"crypto unavailable",y="[object Decimal]",O=Math.floor,C=Math.pow,w=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,S=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,N=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,M=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,x=1e7,j=7,T=9007199254740991,D=d.length-1,E=f.length-1,k={toStringTag:y};function L(e){var t,n,r,o=e.length-1,i="",a=e[0];if(o>0){for(i+=a,t=1;t<o;t++)r=e[t]+"",n=j-r.length,n&&(i+=X(n)),i+=r;a=e[t],r=a+"",n=j-r.length,n&&(i+=X(n))}else if(0===a)return"0";for(;a%10===0;)a/=10;return i+a}function Y(e,t,n){if(e!==~~e||e<t||e>n)throw Error(m+e)}function _(e,t,n,r){var o,i,a,u;for(i=e[0];i>=10;i/=10)--t;return--t<0?(t+=j,o=0):(o=Math.ceil((t+1)/j),t%=j),i=C(10,j-t),u=e[o]%i|0,null==r?t<3?(0==t?u=u/100|0:1==t&&(u=u/10|0),a=n<4&&99999==u||n>3&&49999==u||5e4==u||0==u):a=(n<4&&u+1==i||n>3&&u+1==i/2)&&(e[o+1]/i/100|0)==C(10,t-2)-1||(u==i/2||0==u)&&0==(e[o+1]/i/100|0):t<4?(0==t?u=u/1e3|0:1==t?u=u/100|0:2==t&&(u=u/10|0),a=(r||n<4)&&9999==u||!r&&n>3&&4999==u):a=((r||n<4)&&u+1==i||!r&&n>3&&u+1==i/2)&&(e[o+1]/i/1e3|0)==C(10,t-3)-1,a}function A(e,t,n){for(var r,o,i=[0],a=0,u=e.length;a<u;){for(o=i.length;o--;)i[o]*=t;for(i[0]+=s.indexOf(e.charAt(a++)),r=0;r<i.length;r++)i[r]>n-1&&(void 0===i[r+1]&&(i[r+1]=0),i[r+1]+=i[r]/n|0,i[r]%=n)}return i.reverse()}function P(e,t){var n,r,o;if(t.isZero())return t;r=t.d.length,r<32?(n=Math.ceil(r/3),o=(1/te(4,n)).toString()):(n=16,o="2.3283064365386962890625e-10"),e.precision+=n,t=ee(e,1,t.times(o),new e(1));for(var i=n;i--;){var a=t.times(t);t=a.times(a).minus(a).times(8).plus(1)}return e.precision-=n,t}k.absoluteValue=k.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),I(e)},k.ceil=function(){return I(new this.constructor(this),this.e+1,2)},k.clampedTo=k.clamp=function(e,t){var n,r=this,o=r.constructor;if(e=new o(e),t=new o(t),!e.s||!t.s)return new o(NaN);if(e.gt(t))throw Error(m+t);return n=r.cmp(e),n<0?e:r.cmp(t)>0?t:new o(r)},k.comparedTo=k.cmp=function(e){var t,n,r,o,i=this,a=i.d,u=(e=new i.constructor(e)).d,c=i.s,l=e.s;if(!a||!u)return c&&l?c!==l?c:a===u?0:!a^c<0?1:-1:NaN;if(!a[0]||!u[0])return a[0]?c:u[0]?-l:0;if(c!==l)return c;if(i.e!==e.e)return i.e>e.e^c<0?1:-1;for(r=a.length,o=u.length,t=0,n=r<o?r:o;t<n;++t)if(a[t]!==u[t])return a[t]>u[t]^c<0?1:-1;return r===o?0:r>o^c<0?1:-1},k.cosine=k.cos=function(){var e,t,n=this,r=n.constructor;return n.d?n.d[0]?(e=r.precision,t=r.rounding,r.precision=e+Math.max(n.e,n.sd())+j,r.rounding=1,n=P(r,ne(r,n)),r.precision=e,r.rounding=t,I(2==u||3==u?n.neg():n,e,t,!0)):new r(1):new r(NaN)},k.cubeRoot=k.cbrt=function(){var e,t,n,r,o,i,a,u,c,l,s=this,d=s.constructor;if(!s.isFinite()||s.isZero())return new d(s);for(v=!1,i=s.s*C(s.s*s,1/3),i&&Math.abs(i)!=1/0?r=new d(i.toString()):(n=L(s.d),e=s.e,(i=(e-n.length+1)%3)&&(n+=1==i||-2==i?"0":"00"),i=C(n,1/3),e=O((e+1)/3)-(e%3==(e<0?-1:2)),i==1/0?n="5e"+e:(n=i.toExponential(),n=n.slice(0,n.indexOf("e")+1)+e),r=new d(n),r.s=s.s),a=(e=d.precision)+3;;)if(u=r,c=u.times(u).times(u),l=c.plus(s),r=F(l.plus(s).times(u),l.plus(c),a+2,1),L(u.d).slice(0,a)===(n=L(r.d)).slice(0,a)){if(n=n.slice(a-3,a+1),"9999"!=n&&(o||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(I(r,e+1,1),t=!r.times(r).times(r).eq(s));break}if(!o&&(I(u,e+1,0),u.times(u).times(u).eq(s))){r=u;break}a+=4,o=1}return v=!0,I(r,e,d.rounding,t)},k.decimalPlaces=k.dp=function(){var e,t=this.d,n=NaN;if(t){if(e=t.length-1,n=(e-O(this.e/j))*j,e=t[e],e)for(;e%10==0;e/=10)n--;n<0&&(n=0)}return n},k.dividedBy=k.div=function(e){return F(this,new this.constructor(e))},k.dividedToIntegerBy=k.divToInt=function(e){var t=this,n=t.constructor;return I(F(t,new n(e),0,1,1),n.precision,n.rounding)},k.equals=k.eq=function(e){return 0===this.cmp(e)},k.floor=function(){return I(new this.constructor(this),this.e+1,3)},k.greaterThan=k.gt=function(e){return this.cmp(e)>0},k.greaterThanOrEqualTo=k.gte=function(e){var t=this.cmp(e);return 1==t||0===t},k.hyperbolicCosine=k.cosh=function(){var e,t,n,r,o,i=this,a=i.constructor,u=new a(1);if(!i.isFinite())return new a(i.s?1/0:NaN);if(i.isZero())return u;n=a.precision,r=a.rounding,a.precision=n+Math.max(i.e,i.sd())+4,a.rounding=1,o=i.d.length,o<32?(e=Math.ceil(o/3),t=(1/te(4,e)).toString()):(e=16,t="2.3283064365386962890625e-10"),i=ee(a,1,i.times(t),new a(1),!0);for(var c,l=e,s=new a(8);l--;)c=i.times(i),i=u.minus(c.times(s.minus(c.times(s))));return I(i,a.precision=n,a.rounding=r,!0)},k.hyperbolicSine=k.sinh=function(){var e,t,n,r,o=this,i=o.constructor;if(!o.isFinite()||o.isZero())return new i(o);if(t=i.precision,n=i.rounding,i.precision=t+Math.max(o.e,o.sd())+4,i.rounding=1,r=o.d.length,r<3)o=ee(i,2,o,o,!0);else{e=1.4*Math.sqrt(r),e=e>16?16:0|e,o=o.times(1/te(5,e)),o=ee(i,2,o,o,!0);for(var a,u=new i(5),c=new i(16),l=new i(20);e--;)a=o.times(o),o=o.times(u.plus(a.times(c.times(a).plus(l))))}return i.precision=t,i.rounding=n,I(o,t,n,!0)},k.hyperbolicTangent=k.tanh=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+7,r.rounding=1,F(n.sinh(),n.cosh(),r.precision=e,r.rounding=t)):new r(n.s)},k.inverseCosine=k.acos=function(){var e,t=this,n=t.constructor,r=t.abs().cmp(1),o=n.precision,i=n.rounding;return-1!==r?0===r?t.isNeg()?H(n,o,i):new n(0):new n(NaN):t.isZero()?H(n,o+4,i).times(.5):(n.precision=o+6,n.rounding=1,t=t.asin(),e=H(n,o+4,i).times(.5),n.precision=o,n.rounding=i,e.minus(t))},k.inverseHyperbolicCosine=k.acosh=function(){var e,t,n=this,r=n.constructor;return n.lte(1)?new r(n.eq(1)?0:NaN):n.isFinite()?(e=r.precision,t=r.rounding,r.precision=e+Math.max(Math.abs(n.e),n.sd())+4,r.rounding=1,v=!1,n=n.times(n).minus(1).sqrt().plus(n),v=!0,r.precision=e,r.rounding=t,n.ln()):new r(n)},k.inverseHyperbolicSine=k.asinh=function(){var e,t,n=this,r=n.constructor;return!n.isFinite()||n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+2*Math.max(Math.abs(n.e),n.sd())+6,r.rounding=1,v=!1,n=n.times(n).plus(1).sqrt().plus(n),v=!0,r.precision=e,r.rounding=t,n.ln())},k.inverseHyperbolicTangent=k.atanh=function(){var e,t,n,r,o=this,i=o.constructor;return o.isFinite()?o.e>=0?new i(o.abs().eq(1)?o.s/0:o.isZero()?o:NaN):(e=i.precision,t=i.rounding,r=o.sd(),Math.max(r,e)<2*-o.e-1?I(new i(o),e,t,!0):(i.precision=n=r-o.e,o=F(o.plus(1),new i(1).minus(o),n+e,1),i.precision=e+4,i.rounding=1,o=o.ln(),i.precision=e,i.rounding=t,o.times(.5))):new i(NaN)},k.inverseSine=k.asin=function(){var e,t,n,r,o=this,i=o.constructor;return o.isZero()?new i(o):(t=o.abs().cmp(1),n=i.precision,r=i.rounding,-1!==t?0===t?(e=H(i,n+4,r).times(.5),e.s=o.s,e):new i(NaN):(i.precision=n+6,i.rounding=1,o=o.div(new i(1).minus(o.times(o)).sqrt().plus(1)).atan(),i.precision=n,i.rounding=r,o.times(2)))},k.inverseTangent=k.atan=function(){var e,t,n,r,o,i,a,u,c,l=this,s=l.constructor,d=s.precision,f=s.rounding;if(l.isFinite()){if(l.isZero())return new s(l);if(l.abs().eq(1)&&d+4<=E)return a=H(s,d+4,f).times(.25),a.s=l.s,a}else{if(!l.s)return new s(NaN);if(d+4<=E)return a=H(s,d+4,f).times(.5),a.s=l.s,a}for(s.precision=u=d+10,s.rounding=1,n=Math.min(28,u/j+2|0),e=n;e;--e)l=l.div(l.times(l).plus(1).sqrt().plus(1));for(v=!1,t=Math.ceil(u/j),r=1,c=l.times(l),a=new s(l),o=l;-1!==e;)if(o=o.times(c),i=a.minus(o.div(r+=2)),o=o.times(c),a=i.plus(o.div(r+=2)),void 0!==a.d[t])for(e=t;a.d[e]===i.d[e]&&e--;);return n&&(a=a.times(2<<n-1)),v=!0,I(a,s.precision=d,s.rounding=f,!0)},k.isFinite=function(){return!!this.d},k.isInteger=k.isInt=function(){return!!this.d&&O(this.e/j)>this.d.length-2},k.isNaN=function(){return!this.s},k.isNegative=k.isNeg=function(){return this.s<0},k.isPositive=k.isPos=function(){return this.s>0},k.isZero=function(){return!!this.d&&0===this.d[0]},k.lessThan=k.lt=function(e){return this.cmp(e)<0},k.lessThanOrEqualTo=k.lte=function(e){return this.cmp(e)<1},k.logarithm=k.log=function(e){var t,n,r,o,i,a,u,c,l=this,s=l.constructor,d=s.precision,f=s.rounding,p=5;if(null==e)e=new s(10),t=!0;else{if(e=new s(e),n=e.d,e.s<0||!n||!n[0]||e.eq(1))return new s(NaN);t=e.eq(10)}if(n=l.d,l.s<0||!n||!n[0]||l.eq(1))return new s(n&&!n[0]?-1/0:1!=l.s?NaN:n?0:1/0);if(t)if(n.length>1)i=!0;else{for(o=n[0];o%10===0;)o/=10;i=1!==o}if(v=!1,u=d+p,a=K(l,u),r=t?R(s,u+10):K(e,u),c=F(a,r,u,1),_(c.d,o=d,f))do{if(u+=10,a=K(l,u),r=t?R(s,u+10):K(e,u),c=F(a,r,u,1),!i){+L(c.d).slice(o+1,o+15)+1==1e14&&(c=I(c,d+1,0));break}}while(_(c.d,o+=10,f));return v=!0,I(c,d,f)},k.minus=k.sub=function(e){var t,n,r,o,i,a,u,c,l,s,d,f,p=this,h=p.constructor;if(e=new h(e),!p.d||!e.d)return p.s&&e.s?p.d?e.s=-e.s:e=new h(e.d||p.s!==e.s?p:NaN):e=new h(NaN),e;if(p.s!=e.s)return e.s=-e.s,p.plus(e);if(l=p.d,f=e.d,u=h.precision,c=h.rounding,!l[0]||!f[0]){if(f[0])e.s=-e.s;else{if(!l[0])return new h(3===c?-0:0);e=new h(p)}return v?I(e,u,c):e}if(n=O(e.e/j),s=O(p.e/j),l=l.slice(),i=s-n,i){for(d=i<0,d?(t=l,i=-i,a=f.length):(t=f,n=s,a=l.length),r=Math.max(Math.ceil(u/j),a)+2,i>r&&(i=r,t.length=1),t.reverse(),r=i;r--;)t.push(0);t.reverse()}else{for(r=l.length,a=f.length,d=r<a,d&&(a=r),r=0;r<a;r++)if(l[r]!=f[r]){d=l[r]<f[r];break}i=0}for(d&&(t=l,l=f,f=t,e.s=-e.s),a=l.length,r=f.length-a;r>0;--r)l[a++]=0;for(r=f.length;r>i;){if(l[--r]<f[r]){for(o=r;o&&0===l[--o];)l[o]=x-1;--l[o],l[r]+=x}l[r]-=f[r]}for(;0===l[--a];)l.pop();for(;0===l[0];l.shift())--n;return l[0]?(e.d=l,e.e=Z(l,n),v?I(e,u,c):e):new h(3===c?-0:0)},k.modulo=k.mod=function(e){var t,n=this,r=n.constructor;return e=new r(e),!n.d||!e.s||e.d&&!e.d[0]?new r(NaN):!e.d||n.d&&!n.d[0]?I(new r(n),r.precision,r.rounding):(v=!1,9==r.modulo?(t=F(n,e.abs(),0,3,1),t.s*=e.s):t=F(n,e,0,r.modulo,1),t=t.times(e),v=!0,n.minus(t))},k.naturalExponential=k.exp=function(){return W(this)},k.naturalLogarithm=k.ln=function(){return K(this)},k.negated=k.neg=function(){var e=new this.constructor(this);return e.s=-e.s,I(e)},k.plus=k.add=function(e){var t,n,r,o,i,a,u,c,l,s,d=this,f=d.constructor;if(e=new f(e),!d.d||!e.d)return d.s&&e.s?d.d||(e=new f(e.d||d.s===e.s?d:NaN)):e=new f(NaN),e;if(d.s!=e.s)return e.s=-e.s,d.minus(e);if(l=d.d,s=e.d,u=f.precision,c=f.rounding,!l[0]||!s[0])return s[0]||(e=new f(d)),v?I(e,u,c):e;if(i=O(d.e/j),r=O(e.e/j),l=l.slice(),o=i-r,o){for(o<0?(n=l,o=-o,a=s.length):(n=s,r=i,a=l.length),i=Math.ceil(u/j),a=i>a?i+1:a+1,o>a&&(o=a,n.length=1),n.reverse();o--;)n.push(0);n.reverse()}for(a=l.length,o=s.length,a-o<0&&(o=a,n=s,s=l,l=n),t=0;o;)t=(l[--o]=l[o]+s[o]+t)/x|0,l[o]%=x;for(t&&(l.unshift(t),++r),a=l.length;0==l[--a];)l.pop();return e.d=l,e.e=Z(l,r),v?I(e,u,c):e},k.precision=k.sd=function(e){var t,n=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(m+e);return n.d?(t=V(n.d),e&&n.e+1>t&&(t=n.e+1)):t=NaN,t},k.round=function(){var e=this,t=e.constructor;return I(new t(e),e.e+1,t.rounding)},k.sine=k.sin=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+Math.max(n.e,n.sd())+j,r.rounding=1,n=q(r,ne(r,n)),r.precision=e,r.rounding=t,I(u>2?n.neg():n,e,t,!0)):new r(NaN)},k.squareRoot=k.sqrt=function(){var e,t,n,r,o,i,a=this,u=a.d,c=a.e,l=a.s,s=a.constructor;if(1!==l||!u||!u[0])return new s(!l||l<0&&(!u||u[0])?NaN:u?a:1/0);for(v=!1,l=Math.sqrt(+a),0==l||l==1/0?(t=L(u),(t.length+c)%2==0&&(t+="0"),l=Math.sqrt(t),c=O((c+1)/2)-(c<0||c%2),l==1/0?t="5e"+c:(t=l.toExponential(),t=t.slice(0,t.indexOf("e")+1)+c),r=new s(t)):r=new s(l.toString()),n=(c=s.precision)+3;;)if(i=r,r=i.plus(F(a,i,n+2,1)).times(.5),L(i.d).slice(0,n)===(t=L(r.d)).slice(0,n)){if(t=t.slice(n-3,n+1),"9999"!=t&&(o||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(I(r,c+1,1),e=!r.times(r).eq(a));break}if(!o&&(I(i,c+1,0),i.times(i).eq(a))){r=i;break}n+=4,o=1}return v=!0,I(r,c,s.rounding,e)},k.tangent=k.tan=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+10,r.rounding=1,n=n.sin(),n.s=1,n=F(n,new r(1).minus(n.times(n)).sqrt(),e+10,0),r.precision=e,r.rounding=t,I(2==u||4==u?n.neg():n,e,t,!0)):new r(NaN)},k.times=k.mul=function(e){var t,n,r,o,i,a,u,c,l,s=this,d=s.constructor,f=s.d,p=(e=new d(e)).d;if(e.s*=s.s,!f||!f[0]||!p||!p[0])return new d(!e.s||f&&!f[0]&&!p||p&&!p[0]&&!f?NaN:f&&p?0*e.s:e.s/0);for(n=O(s.e/j)+O(e.e/j),c=f.length,l=p.length,c<l&&(i=f,f=p,p=i,a=c,c=l,l=a),i=[],a=c+l,r=a;r--;)i.push(0);for(r=l;--r>=0;){for(t=0,o=c+r;o>r;)u=i[o]+p[r]*f[o-r-1]+t,i[o--]=u%x|0,t=u/x|0;i[o]=(i[o]+t)%x|0}for(;!i[--a];)i.pop();return t?++n:i.shift(),e.d=i,e.e=Z(i,n),v?I(e,d.precision,d.rounding):e},k.toBinary=function(e,t){return re(this,2,e,t)},k.toDecimalPlaces=k.toDP=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(Y(e,0,l),void 0===t?t=r.rounding:Y(t,0,8),I(n,e+n.e+1,t))},k.toExponential=function(e,t){var n,r=this,o=r.constructor;return void 0===e?n=B(r,!0):(Y(e,0,l),void 0===t?t=o.rounding:Y(t,0,8),r=I(new o(r),e+1,t),n=B(r,!0,e+1)),r.isNeg()&&!r.isZero()?"-"+n:n},k.toFixed=function(e,t){var n,r,o=this,i=o.constructor;return void 0===e?n=B(o):(Y(e,0,l),void 0===t?t=i.rounding:Y(t,0,8),r=I(new i(o),e+o.e+1,t),n=B(r,!1,e+r.e+1)),o.isNeg()&&!o.isZero()?"-"+n:n},k.toFraction=function(e){var t,n,r,o,i,a,u,c,l,s,d,f,p=this,h=p.d,g=p.constructor;if(!h)return new g(p);if(l=n=new g(1),r=c=new g(0),t=new g(r),i=t.e=V(h)-p.e-1,a=i%j,t.d[0]=C(10,a<0?j+a:a),null==e)e=i>0?t:l;else{if(u=new g(e),!u.isInt()||u.lt(l))throw Error(m+u);e=u.gt(t)?i>0?t:l:u}for(v=!1,u=new g(L(h)),s=g.precision,g.precision=i=h.length*j*2;;){if(d=F(u,t,0,1,1),o=n.plus(d.times(r)),1==o.cmp(e))break;n=r,r=o,o=l,l=c.plus(d.times(o)),c=o,o=t,t=u.minus(d.times(o)),u=o}return o=F(e.minus(n),r,0,1,1),c=c.plus(o.times(l)),n=n.plus(o.times(r)),c.s=l.s=p.s,f=F(l,r,i,1).minus(p).abs().cmp(F(c,n,i,1).minus(p).abs())<1?[l,r]:[c,n],g.precision=s,v=!0,f},k.toHexadecimal=k.toHex=function(e,t){return re(this,16,e,t)},k.toNearest=function(e,t){var n=this,r=n.constructor;if(n=new r(n),null==e){if(!n.d)return n;e=new r(1),t=r.rounding}else{if(e=new r(e),void 0===t?t=r.rounding:Y(t,0,8),!n.d)return e.s?n:e;if(!e.d)return e.s&&(e.s=n.s),e}return e.d[0]?(v=!1,n=F(n,e,0,t,1).times(e),v=!0,I(n)):(e.s=n.s,n=e),n},k.toNumber=function(){return+this},k.toOctal=function(e,t){return re(this,8,e,t)},k.toPower=k.pow=function(e){var t,n,r,o,i,a,u=this,c=u.constructor,l=+(e=new c(e));if(!u.d||!e.d||!u.d[0]||!e.d[0])return new c(C(+u,l));if(u=new c(u),u.eq(1))return u;if(r=c.precision,i=c.rounding,e.eq(1))return I(u,r,i);if(t=O(e.e/j),t>=e.d.length-1&&(n=l<0?-l:l)<=T)return o=J(c,u,n,r),e.s<0?new c(1).div(o):I(o,r,i);if(a=u.s,a<0){if(t<e.d.length-1)return new c(NaN);if(0==(1&e.d[t])&&(a=1),0==u.e&&1==u.d[0]&&1==u.d.length)return u.s=a,u}return n=C(+u,l),t=0!=n&&isFinite(n)?new c(n+"").e:O(l*(Math.log("0."+L(u.d))/Math.LN10+u.e+1)),t>c.maxE+1||t<c.minE-1?new c(t>0?a/0:0):(v=!1,c.rounding=u.s=1,n=Math.min(12,(t+"").length),o=W(e.times(K(u,r+n)),r),o.d&&(o=I(o,r+5,1),_(o.d,r,i)&&(t=r+10,o=I(W(e.times(K(u,t+n)),t),t+5,1),+L(o.d).slice(r+1,r+15)+1==1e14&&(o=I(o,r+1,0)))),o.s=a,v=!0,c.rounding=i,I(o,r,i))},k.toPrecision=function(e,t){var n,r=this,o=r.constructor;return void 0===e?n=B(r,r.e<=o.toExpNeg||r.e>=o.toExpPos):(Y(e,1,l),void 0===t?t=o.rounding:Y(t,0,8),r=I(new o(r),e,t),n=B(r,e<=r.e||r.e<=o.toExpNeg,e)),r.isNeg()&&!r.isZero()?"-"+n:n},k.toSignificantDigits=k.toSD=function(e,t){var n=this,r=n.constructor;return void 0===e?(e=r.precision,t=r.rounding):(Y(e,1,l),void 0===t?t=r.rounding:Y(t,0,8)),I(new r(n),e,t)},k.toString=function(){var e=this,t=e.constructor,n=B(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()&&!e.isZero()?"-"+n:n},k.truncated=k.trunc=function(){return I(new this.constructor(this),this.e+1,1)},k.valueOf=k.toJSON=function(){var e=this,t=e.constructor,n=B(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()?"-"+n:n};var F=function(){function e(e,t,n){var r,o=0,i=e.length;for(e=e.slice();i--;)r=e[i]*t+o,e[i]=r%n|0,o=r/n|0;return o&&e.unshift(o),e}function t(e,t,n,r){var o,i;if(n!=r)i=n>r?1:-1;else for(o=i=0;o<n;o++)if(e[o]!=t[o]){i=e[o]>t[o]?1:-1;break}return i}function n(e,t,n,r){for(var o=0;n--;)e[n]-=o,o=e[n]<t[n]?1:0,e[n]=o*r+e[n]-t[n];for(;!e[0]&&e.length>1;)e.shift()}return function(r,o,i,u,c,l){var s,d,f,p,v,h,m,g,b,y,C,w,S,N,M,T,D,E,k,L,Y=r.constructor,_=r.s==o.s?1:-1,A=r.d,P=o.d;if(!A||!A[0]||!P||!P[0])return new Y(r.s&&o.s&&(A?!P||A[0]!=P[0]:P)?A&&0==A[0]||!P?0*_:_/0:NaN);for(l?(v=1,d=r.e-o.e):(l=x,v=j,d=O(r.e/v)-O(o.e/v)),k=P.length,D=A.length,b=new Y(_),y=b.d=[],f=0;P[f]==(A[f]||0);f++);if(P[f]>(A[f]||0)&&d--,null==i?(N=i=Y.precision,u=Y.rounding):N=c?i+(r.e-o.e)+1:i,N<0)y.push(1),h=!0;else{if(N=N/v+2|0,f=0,1==k){for(p=0,P=P[0],N++;(f<D||p)&&N--;f++)M=p*l+(A[f]||0),y[f]=M/P|0,p=M%P|0;h=p||f<D}else{for(p=l/(P[0]+1)|0,p>1&&(P=e(P,p,l),A=e(A,p,l),k=P.length,D=A.length),T=k,C=A.slice(0,k),w=C.length;w<k;)C[w++]=0;L=P.slice(),L.unshift(0),E=P[0],P[1]>=l/2&&++E;do{p=0,s=t(P,C,k,w),s<0?(S=C[0],k!=w&&(S=S*l+(C[1]||0)),p=S/E|0,p>1?(p>=l&&(p=l-1),m=e(P,p,l),g=m.length,w=C.length,s=t(m,C,g,w),1==s&&(p--,n(m,k<g?L:P,g,l))):(0==p&&(s=p=1),m=P.slice()),g=m.length,g<w&&m.unshift(0),n(C,m,w,l),-1==s&&(w=C.length,s=t(P,C,k,w),s<1&&(p++,n(C,k<w?L:P,w,l))),w=C.length):0===s&&(p++,C=[0]),y[f++]=p,s&&C[0]?C[w++]=A[T]||0:(C=[A[T]],w=1)}while((T++<D||void 0!==C[0])&&N--);h=void 0!==C[0]}y[0]||y.shift()}if(1==v)b.e=d,a=h;else{for(f=1,p=y[0];p>=10;p/=10)f++;b.e=f+d*v-1,I(b,c?i+b.e+1:i,u,h)}return b}}();function I(e,t,n,r){var o,i,a,u,c,l,s,d,f,p=e.constructor;e:if(null!=t){if(d=e.d,!d)return e;for(o=1,u=d[0];u>=10;u/=10)o++;if(i=t-o,i<0)i+=j,a=t,s=d[f=0],c=s/C(10,o-a-1)%10|0;else if(f=Math.ceil((i+1)/j),u=d.length,f>=u){if(!r)break e;for(;u++<=f;)d.push(0);s=c=0,o=1,i%=j,a=i-j+1}else{for(s=u=d[f],o=1;u>=10;u/=10)o++;i%=j,a=i-j+o,c=a<0?0:s/C(10,o-a-1)%10|0}if(r=r||t<0||void 0!==d[f+1]||(a<0?s:s%C(10,o-a-1)),l=n<4?(c||r)&&(0==n||n==(e.s<0?3:2)):c>5||5==c&&(4==n||r||6==n&&(i>0?a>0?s/C(10,o-a):0:d[f-1])%10&1||n==(e.s<0?8:7)),t<1||!d[0])return d.length=0,l?(t-=e.e+1,d[0]=C(10,(j-t%j)%j),e.e=-t||0):d[0]=e.e=0,e;if(0==i?(d.length=f,u=1,f--):(d.length=f+1,u=C(10,j-i),d[f]=a>0?(s/C(10,o-a)%C(10,a)|0)*u:0),l)for(;;){if(0==f){for(i=1,a=d[0];a>=10;a/=10)i++;for(a=d[0]+=u,u=1;a>=10;a/=10)u++;i!=u&&(e.e++,d[0]==x&&(d[0]=1));break}if(d[f]+=u,d[f]!=x)break;d[f--]=0,u=1}for(i=d.length;0===d[--i];)d.pop()}return v&&(e.e>p.maxE?(e.d=null,e.e=NaN):e.e<p.minE&&(e.e=0,e.d=[0])),e}function B(e,t,n){if(!e.isFinite())return U(e);var r,o=e.e,i=L(e.d),a=i.length;return t?(n&&(r=n-a)>0?i=i.charAt(0)+"."+i.slice(1)+X(r):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(e.e<0?"e":"e+")+e.e):o<0?(i="0."+X(-o-1)+i,n&&(r=n-a)>0&&(i+=X(r))):o>=a?(i+=X(o+1-a),n&&(r=n-o-1)>0&&(i=i+"."+X(r))):((r=o+1)<a&&(i=i.slice(0,r)+"."+i.slice(r)),n&&(r=n-a)>0&&(o+1===a&&(i+="."),i+=X(r))),i}function Z(e,t){var n=e[0];for(t*=j;n>=10;n/=10)t++;return t}function R(e,t,n){if(t>D)throw v=!0,n&&(e.precision=n),Error(g);return I(new e(d),t,1,!0)}function H(e,t,n){if(t>E)throw Error(g);return I(new e(f),t,n,!0)}function V(e){var t=e.length-1,n=t*j+1;if(t=e[t],t){for(;t%10==0;t/=10)n--;for(t=e[0];t>=10;t/=10)n++}return n}function X(e){for(var t="";e--;)t+="0";return t}function J(e,t,n,r){var o,i=new e(1),a=Math.ceil(r/j+4);for(v=!1;;){if(n%2&&(i=i.times(t),oe(i.d,a)&&(o=!0)),n=O(n/2),0===n){n=i.d.length-1,o&&0===i.d[n]&&++i.d[n];break}t=t.times(t),oe(t.d,a)}return v=!0,i}function z(e){return 1&e.d[e.d.length-1]}function Q(e,t,n){for(var r,o=new e(t[0]),i=0;++i<t.length;){if(r=new e(t[i]),!r.s){o=r;break}o[n](r)&&(o=r)}return o}function W(e,t){var n,r,o,i,a,u,c,l=0,s=0,d=0,f=e.constructor,p=f.rounding,h=f.precision;if(!e.d||!e.d[0]||e.e>17)return new f(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);null==t?(v=!1,c=h):c=t,u=new f(.03125);while(e.e>-2)e=e.times(u),d+=5;for(r=Math.log(C(2,d))/Math.LN10*2+5|0,c+=r,n=i=a=new f(1),f.precision=c;;){if(i=I(i.times(e),c,1),n=n.times(++s),u=a.plus(F(i,n,c,1)),L(u.d).slice(0,c)===L(a.d).slice(0,c)){o=d;while(o--)a=I(a.times(a),c,1);if(null!=t)return f.precision=h,a;if(!(l<3&&_(a.d,c-r,p,l)))return I(a,f.precision=h,p,v=!0);f.precision=c+=10,n=i=u=new f(1),s=0,l++}a=u}}function K(e,t){var n,r,o,i,a,u,c,l,s,d,f,p=1,h=10,m=e,g=m.d,b=m.constructor,y=b.rounding,O=b.precision;if(m.s<0||!g||!g[0]||!m.e&&1==g[0]&&1==g.length)return new b(g&&!g[0]?-1/0:1!=m.s?NaN:g?0:m);if(null==t?(v=!1,s=O):s=t,b.precision=s+=h,n=L(g),r=n.charAt(0),!(Math.abs(i=m.e)<15e14))return l=R(b,s+2,O).times(i+""),m=K(new b(r+"."+n.slice(1)),s-h).plus(l),b.precision=O,null==t?I(m,O,y,v=!0):m;while(r<7&&1!=r||1==r&&n.charAt(1)>3)m=m.times(e),n=L(m.d),r=n.charAt(0),p++;for(i=m.e,r>1?(m=new b("0."+n),i++):m=new b(r+"."+n.slice(1)),d=m,c=a=m=F(m.minus(1),m.plus(1),s,1),f=I(m.times(m),s,1),o=3;;){if(a=I(a.times(f),s,1),l=c.plus(F(a,new b(o),s,1)),L(l.d).slice(0,s)===L(c.d).slice(0,s)){if(c=c.times(2),0!==i&&(c=c.plus(R(b,s+2,O).times(i+""))),c=F(c,new b(p),s,1),null!=t)return b.precision=O,c;if(!_(c.d,s-h,y,u))return I(c,b.precision=O,y,v=!0);b.precision=s+=h,l=a=m=F(d.minus(1),d.plus(1),s,1),f=I(m.times(m),s,1),o=u=1}c=l,o+=2}}function U(e){return String(e.s*e.s/0)}function G(e,t){var n,r,o;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);r++);for(o=t.length;48===t.charCodeAt(o-1);--o);if(t=t.slice(r,o),t){if(o-=r,e.e=n=n-r-1,e.d=[],r=(n+1)%j,n<0&&(r+=j),r<o){for(r&&e.d.push(+t.slice(0,r)),o-=j;r<o;)e.d.push(+t.slice(r,r+=j));t=t.slice(r),r=j-t.length}else r-=o;for(;r--;)t+="0";e.d.push(+t),v&&(e.e>e.constructor.maxE?(e.d=null,e.e=NaN):e.e<e.constructor.minE&&(e.e=0,e.d=[0]))}else e.e=0,e.d=[0];return e}function $(e,t){var n,r,o,a,u,c,l,s,d;if(t.indexOf("_")>-1){if(t=t.replace(/(\d)_(?=\d)/g,"$1"),M.test(t))return G(e,t)}else if("Infinity"===t||"NaN"===t)return+t||(e.s=NaN),e.e=NaN,e.d=null,e;if(S.test(t))n=16,t=t.toLowerCase();else if(w.test(t))n=2;else{if(!N.test(t))throw Error(m+t);n=8}for(a=t.search(/p/i),a>0?(l=+t.slice(a+1),t=t.substring(2,a)):t=t.slice(2),a=t.indexOf("."),u=a>=0,r=e.constructor,u&&(t=t.replace(".",""),c=t.length,a=c-a,o=J(r,new r(n),a,2*a)),s=A(t,n,x),d=s.length-1,a=d;0===s[a];--a)s.pop();return a<0?new r(0*e.s):(e.e=Z(s,d),e.d=s,v=!1,u&&(e=F(e,o,4*c)),l&&(e=e.times(Math.abs(l)<54?C(2,l):i.pow(2,l))),v=!0,e)}function q(e,t){var n,r=t.d.length;if(r<3)return t.isZero()?t:ee(e,2,t,t);n=1.4*Math.sqrt(r),n=n>16?16:0|n,t=t.times(1/te(5,n)),t=ee(e,2,t,t);for(var o,i=new e(5),a=new e(16),u=new e(20);n--;)o=t.times(t),t=t.times(i.plus(o.times(a.times(o).minus(u))));return t}function ee(e,t,n,r,o){var i,a,u,c,l=e.precision,s=Math.ceil(l/j);for(v=!1,c=n.times(n),u=new e(r);;){if(a=F(u.times(c),new e(t++*t++),l,1),u=o?r.plus(a):r.minus(a),r=F(a.times(c),new e(t++*t++),l,1),a=u.plus(r),void 0!==a.d[s]){for(i=s;a.d[i]===u.d[i]&&i--;);if(-1==i)break}i=u,u=r,r=a,a=i}return v=!0,a.d.length=s+1,a}function te(e,t){var n=e;while(--t)n*=e;return n}function ne(e,t){var n,r=t.s<0,o=H(e,e.precision,1),i=o.times(.5);if(t=t.abs(),t.lte(i))return u=r?4:1,t;if(n=t.divToInt(o),n.isZero())u=r?3:2;else{if(t=t.minus(n.times(o)),t.lte(i))return u=z(n)?r?2:3:r?4:1,t;u=z(n)?r?1:4:r?3:2}return t.minus(o).abs()}function re(e,t,n,r){var o,i,u,c,d,f,p,v,h,m=e.constructor,g=void 0!==n;if(g?(Y(n,1,l),void 0===r?r=m.rounding:Y(r,0,8)):(n=m.precision,r=m.rounding),e.isFinite()){for(p=B(e),u=p.indexOf("."),g?(o=2,16==t?n=4*n-3:8==t&&(n=3*n-2)):o=t,u>=0&&(p=p.replace(".",""),h=new m(1),h.e=p.length-u,h.d=A(B(h),10,o),h.e=h.d.length),v=A(p,10,o),i=d=v.length;0==v[--d];)v.pop();if(v[0]){if(u<0?i--:(e=new m(e),e.d=v,e.e=i,e=F(e,h,n,r,0,o),v=e.d,i=e.e,f=a),u=v[n],c=o/2,f=f||void 0!==v[n+1],f=r<4?(void 0!==u||f)&&(0===r||r===(e.s<0?3:2)):u>c||u===c&&(4===r||f||6===r&&1&v[n-1]||r===(e.s<0?8:7)),v.length=n,f)for(;++v[--n]>o-1;)v[n]=0,n||(++i,v.unshift(1));for(d=v.length;!v[d-1];--d);for(u=0,p="";u<d;u++)p+=s.charAt(v[u]);if(g){if(d>1)if(16==t||8==t){for(u=16==t?4:3,--d;d%u;d++)p+="0";for(v=A(p,o,t),d=v.length;!v[d-1];--d);for(u=1,p="1.";u<d;u++)p+=s.charAt(v[u])}else p=p.charAt(0)+"."+p.slice(1);p=p+(i<0?"p":"p+")+i}else if(i<0){for(;++i;)p="0"+p;p="0."+p}else if(++i>d)for(i-=d;i--;)p+="0";else i<d&&(p=p.slice(0,i)+"."+p.slice(i))}else p=g?"0p+0":"0";p=(16==t?"0x":2==t?"0b":8==t?"0o":"")+p}else p=U(e);return e.s<0?"-"+p:p}function oe(e,t){if(e.length>t)return e.length=t,!0}function ie(e){return new this(e).abs()}function ae(e){return new this(e).acos()}function ue(e){return new this(e).acosh()}function ce(e,t){return new this(e).plus(t)}function le(e){return new this(e).asin()}function se(e){return new this(e).asinh()}function de(e){return new this(e).atan()}function fe(e){return new this(e).atanh()}function pe(e,t){e=new this(e),t=new this(t);var n,r=this.precision,o=this.rounding,i=r+4;return e.s&&t.s?e.d||t.d?!t.d||e.isZero()?(n=t.s<0?H(this,r,o):new this(0),n.s=e.s):!e.d||t.isZero()?(n=H(this,i,1).times(.5),n.s=e.s):t.s<0?(this.precision=i,this.rounding=1,n=this.atan(F(e,t,i,1)),t=H(this,i,1),this.precision=r,this.rounding=o,n=e.s<0?n.minus(t):n.plus(t)):n=this.atan(F(e,t,i,1)):(n=H(this,i,1).times(t.s>0?.25:.75),n.s=e.s):n=new this(NaN),n}function ve(e){return new this(e).cbrt()}function he(e){return I(e=new this(e),e.e+1,2)}function me(e,t,n){return new this(e).clamp(t,n)}function ge(e){if(!e||"object"!==typeof e)throw Error(h+"Object expected");var t,n,r,o=!0===e.defaults,i=["precision",1,l,"rounding",0,8,"toExpNeg",-c,0,"toExpPos",0,c,"maxE",0,c,"minE",-c,0,"modulo",0,9];for(t=0;t<i.length;t+=3)if(n=i[t],o&&(this[n]=p[n]),void 0!==(r=e[n])){if(!(O(r)===r&&r>=i[t+1]&&r<=i[t+2]))throw Error(m+n+": "+r);this[n]=r}if(n="crypto",o&&(this[n]=p[n]),void 0!==(r=e[n])){if(!0!==r&&!1!==r&&0!==r&&1!==r)throw Error(m+n+": "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error(b);this[n]=!0}else this[n]=!1}return this}function be(e){return new this(e).cos()}function ye(e){return new this(e).cosh()}function Oe(e){var t,n,r;function o(e){var t,n,r,i=this;if(!(i instanceof o))return new o(e);if(i.constructor=o,Me(e))return i.s=e.s,void(v?!e.d||e.e>o.maxE?(i.e=NaN,i.d=null):e.e<o.minE?(i.e=0,i.d=[0]):(i.e=e.e,i.d=e.d.slice()):(i.e=e.e,i.d=e.d?e.d.slice():e.d));if(r=typeof e,"number"===r){if(0===e)return i.s=1/e<0?-1:1,i.e=0,void(i.d=[0]);if(e<0?(e=-e,i.s=-1):i.s=1,e===~~e&&e<1e7){for(t=0,n=e;n>=10;n/=10)t++;return void(v?t>o.maxE?(i.e=NaN,i.d=null):t<o.minE?(i.e=0,i.d=[0]):(i.e=t,i.d=[e]):(i.e=t,i.d=[e]))}return 0*e!==0?(e||(i.s=NaN),i.e=NaN,void(i.d=null)):G(i,e.toString())}if("string"!==r)throw Error(m+e);return 45===(n=e.charCodeAt(0))?(e=e.slice(1),i.s=-1):(43===n&&(e=e.slice(1)),i.s=1),M.test(e)?G(i,e):$(i,e)}if(o.prototype=k,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.EUCLID=9,o.config=o.set=ge,o.clone=Oe,o.isDecimal=Me,o.abs=ie,o.acos=ae,o.acosh=ue,o.add=ce,o.asin=le,o.asinh=se,o.atan=de,o.atanh=fe,o.atan2=pe,o.cbrt=ve,o.ceil=he,o.clamp=me,o.cos=be,o.cosh=ye,o.div=Ce,o.exp=we,o.floor=Se,o.hypot=Ne,o.ln=xe,o.log=je,o.log10=De,o.log2=Te,o.max=Ee,o.min=ke,o.mod=Le,o.mul=Ye,o.pow=_e,o.random=Ae,o.round=Pe,o.sign=Fe,o.sin=Ie,o.sinh=Be,o.sqrt=Ze,o.sub=Re,o.sum=He,o.tan=Ve,o.tanh=Xe,o.trunc=Je,void 0===e&&(e={}),e&&!0!==e.defaults)for(r=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],t=0;t<r.length;)e.hasOwnProperty(n=r[t++])||(e[n]=this[n]);return o.config(e),o}function Ce(e,t){return new this(e).div(t)}function we(e){return new this(e).exp()}function Se(e){return I(e=new this(e),e.e+1,3)}function Ne(){var e,t,n=new this(0);for(v=!1,e=0;e<arguments.length;)if(t=new this(arguments[e++]),t.d)n.d&&(n=n.plus(t.times(t)));else{if(t.s)return v=!0,new this(1/0);n=t}return v=!0,n.sqrt()}function Me(e){return e instanceof i||e&&e.toStringTag===y||!1}function xe(e){return new this(e).ln()}function je(e,t){return new this(e).log(t)}function Te(e){return new this(e).log(2)}function De(e){return new this(e).log(10)}function Ee(){return Q(this,arguments,"lt")}function ke(){return Q(this,arguments,"gt")}function Le(e,t){return new this(e).mod(t)}function Ye(e,t){return new this(e).mul(t)}function _e(e,t){return new this(e).pow(t)}function Ae(e){var t,n,r,o,i=0,a=new this(1),u=[];if(void 0===e?e=this.precision:Y(e,1,l),r=Math.ceil(e/j),this.crypto)if(crypto.getRandomValues)for(t=crypto.getRandomValues(new Uint32Array(r));i<r;)o=t[i],o>=429e7?t[i]=crypto.getRandomValues(new Uint32Array(1))[0]:u[i++]=o%1e7;else{if(!crypto.randomBytes)throw Error(b);for(t=crypto.randomBytes(r*=4);i<r;)o=t[i]+(t[i+1]<<8)+(t[i+2]<<16)+((127&t[i+3])<<24),o>=214e7?crypto.randomBytes(4).copy(t,i):(u.push(o%1e7),i+=4);i=r/4}else for(;i<r;)u[i++]=1e7*Math.random()|0;for(r=u[--i],e%=j,r&&e&&(o=C(10,j-e),u[i]=(r/o|0)*o);0===u[i];i--)u.pop();if(i<0)n=0,u=[0];else{for(n=-1;0===u[0];n-=j)u.shift();for(r=1,o=u[0];o>=10;o/=10)r++;r<j&&(n-=j-r)}return a.e=n,a.d=u,a}function Pe(e){return I(e=new this(e),e.e+1,this.rounding)}function Fe(e){return e=new this(e),e.d?e.d[0]?e.s:0*e.s:e.s||NaN}function Ie(e){return new this(e).sin()}function Be(e){return new this(e).sinh()}function Ze(e){return new this(e).sqrt()}function Re(e,t){return new this(e).sub(t)}function He(){var e=0,t=arguments,n=new this(t[e]);for(v=!1;n.s&&++e<t.length;)n=n.plus(t[e]);return v=!0,I(n,this.precision,this.rounding)}function Ve(e){return new this(e).tan()}function Xe(e){return new this(e).tanh()}function Je(e){return I(e=new this(e),e.e+1,1)}i=Oe(p),i.prototype.constructor=i,i["default"]=i.Decimal=i,d=new i(d),f=new i(f),r=function(){return i}.call(t,n,t,e),void 0===r||(e.exports=r)})()},4362:function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=n("df7c")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"44ad":function(e,t,n){"use strict";var r=n("e330"),o=n("d039"),i=n("c6b6"),a=Object,u=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?u(e,""):a(e)}:a},4788:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o={"{":"\\{","}":"\\}","\\":"\\textbackslash{}","#":"\\#",$:"\\$","%":"\\%","&":"\\&","^":"\\textasciicircum{}",_:"\\_","~":"\\textasciitilde{}"},i={"–":"\\--","—":"\\---"," ":"~","\t":"\\qquad{}","\r\n":"\\newline{}","\n":"\\newline{}"},a=function(e,t){return r({},e,t)};e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.preserveFormatting,u=void 0!==n&&n,c=t.escapeMapFn,l=void 0===c?a:c,s=String(e),d="",f=l(r({},o),u?r({},i):{}),p=Object.keys(f),v=function(){var e=!1;p.forEach((function(t,n){e||s.length>=t.length&&s.slice(0,t.length)===t&&(d+=f[p[n]],s=s.slice(t.length,s.length),e=!0)})),e||(d+=s.slice(0,1),s=s.slice(1,s.length))};while(s)v();return d}},"485a":function(e,t,n){"use strict";var r=n("c65b"),o=n("1626"),i=n("861d"),a=TypeError;e.exports=function(e,t){var n,u;if("string"===t&&o(n=e.toString)&&!i(u=r(n,e)))return u;if(o(n=e.valueOf)&&!i(u=r(n,e)))return u;if("string"!==t&&o(n=e.toString)&&!i(u=r(n,e)))return u;throw new a("Can't convert object to primitive value")}},"4af7":function(e,t,n){
|
|
9
|
-
/**
|
|
10
|
-
* @license Fraction.js v4.3.7 31/08/2023
|
|
11
|
-
* https://www.xarg.org/2014/03/rational-numbers-in-javascript/
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) 2023, Robert Eisele (robert@raw.org)
|
|
14
|
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
|
15
|
-
**/
|
|
16
|
-
(function(n){"use strict";var r=2e3,o={s:1,n:0,d:1};function i(e,t){if(isNaN(e=parseInt(e,10)))throw h();return e*t}function a(e,t){if(0===t)throw v();var n=Object.create(p.prototype);n["s"]=e<0?-1:1,e=e<0?-e:e;var r=f(e,t);return n["n"]=e/r,n["d"]=t/r,n}function u(e){var t={},n=e,r=2,o=4;while(o<=n){while(n%r===0)n/=r,t[r]=(t[r]||0)+1;o+=1+2*r++}return n!==e?n>1&&(t[n]=(t[n]||0)+1):t[e]=(t[e]||0)+1,t}var c=function(e,t){var n,r=0,a=1,u=1,c=0,l=0,s=0,d=1,f=1,p=0,g=1,b=1,y=1,O=1e7;if(void 0===e||null===e);else if(void 0!==t){if(r=e,a=t,u=r*a,r%1!==0||a%1!==0)throw m()}else switch(typeof e){case"object":if("d"in e&&"n"in e)r=e["n"],a=e["d"],"s"in e&&(r*=e["s"]);else{if(!(0 in e))throw h();r=e[0],1 in e&&(a=e[1])}u=r*a;break;case"number":if(e<0&&(u=e,e=-e),e%1===0)r=e;else if(e>0){e>=1&&(f=Math.pow(10,Math.floor(1+Math.log(e)/Math.LN10)),e/=f);while(g<=O&&y<=O){if(n=(p+b)/(g+y),e===n){g+y<=O?(r=p+b,a=g+y):y>g?(r=b,a=y):(r=p,a=g);break}e>n?(p+=b,g+=y):(b+=p,y+=g),g>O?(r=b,a=y):(r=p,a=g)}r*=f}else(isNaN(e)||isNaN(t))&&(a=r=NaN);break;case"string":if(g=e.match(/\d+|./g),null===g)throw h();if("-"===g[p]?(u=-1,p++):"+"===g[p]&&p++,g.length===p+1?l=i(g[p++],u):"."===g[p+1]||"."===g[p]?("."!==g[p]&&(c=i(g[p++],u)),p++,(p+1===g.length||"("===g[p+1]&&")"===g[p+3]||"'"===g[p+1]&&"'"===g[p+3])&&(l=i(g[p],u),d=Math.pow(10,g[p].length),p++),("("===g[p]&&")"===g[p+2]||"'"===g[p]&&"'"===g[p+2])&&(s=i(g[p+1],u),f=Math.pow(10,g[p+1].length)-1,p+=3)):"/"===g[p+1]||":"===g[p+1]?(l=i(g[p],u),d=i(g[p+2],1),p+=3):"/"===g[p+3]&&" "===g[p+1]&&(c=i(g[p],u),l=i(g[p+2],u),d=i(g[p+4],1),p+=5),g.length<=p){a=d*f,u=r=s+a*c+f*l;break}default:throw h()}if(0===a)throw v();o["s"]=u<0?-1:1,o["n"]=Math.abs(r),o["d"]=Math.abs(a)};function l(e,t,n){for(var r=1;t>0;e=e*e%n,t>>=1)1&t&&(r=r*e%n);return r}function s(e,t){for(;t%2===0;t/=2);for(;t%5===0;t/=5);if(1===t)return 0;for(var n=10%t,o=1;1!==n;o++)if(n=10*n%t,o>r)return 0;return o}function d(e,t,n){for(var r=1,o=l(10,n,t),i=0;i<300;i++){if(r===o)return i;r=10*r%t,o=10*o%t}return 0}function f(e,t){if(!e)return t;if(!t)return e;while(1){if(e%=t,!e)return t;if(t%=e,!t)return e}}function p(e,t){if(c(e,t),!(this instanceof p))return a(o["s"]*o["n"],o["d"]);e=f(o["d"],o["n"]),this["s"]=o["s"],this["n"]=o["n"]/e,this["d"]=o["d"]/e}var v=function(){return new Error("Division by Zero")},h=function(){return new Error("Invalid argument")},m=function(){return new Error("Parameters must be integer")};p.prototype={s:1,n:0,d:1,abs:function(){return a(this["n"],this["d"])},neg:function(){return a(-this["s"]*this["n"],this["d"])},add:function(e,t){return c(e,t),a(this["s"]*this["n"]*o["d"]+o["s"]*this["d"]*o["n"],this["d"]*o["d"])},sub:function(e,t){return c(e,t),a(this["s"]*this["n"]*o["d"]-o["s"]*this["d"]*o["n"],this["d"]*o["d"])},mul:function(e,t){return c(e,t),a(this["s"]*o["s"]*this["n"]*o["n"],this["d"]*o["d"])},div:function(e,t){return c(e,t),a(this["s"]*o["s"]*this["n"]*o["d"],this["d"]*o["n"])},clone:function(){return a(this["s"]*this["n"],this["d"])},mod:function(e,t){if(isNaN(this["n"])||isNaN(this["d"]))return new p(NaN);if(void 0===e)return a(this["s"]*this["n"]%this["d"],1);if(c(e,t),0===o["n"]&&0===this["d"])throw v();return a(this["s"]*(o["d"]*this["n"])%(o["n"]*this["d"]),o["d"]*this["d"])},gcd:function(e,t){return c(e,t),a(f(o["n"],this["n"])*f(o["d"],this["d"]),o["d"]*this["d"])},lcm:function(e,t){return c(e,t),0===o["n"]&&0===this["n"]?a(0,1):a(o["n"]*this["n"],f(o["n"],this["n"])*f(o["d"],this["d"]))},ceil:function(e){return e=Math.pow(10,e||0),isNaN(this["n"])||isNaN(this["d"])?new p(NaN):a(Math.ceil(e*this["s"]*this["n"]/this["d"]),e)},floor:function(e){return e=Math.pow(10,e||0),isNaN(this["n"])||isNaN(this["d"])?new p(NaN):a(Math.floor(e*this["s"]*this["n"]/this["d"]),e)},round:function(e){return e=Math.pow(10,e||0),isNaN(this["n"])||isNaN(this["d"])?new p(NaN):a(Math.round(e*this["s"]*this["n"]/this["d"]),e)},roundTo:function(e,t){return c(e,t),a(this["s"]*Math.round(this["n"]*o["d"]/(this["d"]*o["n"]))*o["n"],o["d"])},inverse:function(){return a(this["s"]*this["d"],this["n"])},pow:function(e,t){if(c(e,t),1===o["d"])return o["s"]<0?a(Math.pow(this["s"]*this["d"],o["n"]),Math.pow(this["n"],o["n"])):a(Math.pow(this["s"]*this["n"],o["n"]),Math.pow(this["d"],o["n"]));if(this["s"]<0)return null;var n=u(this["n"]),r=u(this["d"]),i=1,l=1;for(var s in n)if("1"!==s){if("0"===s){i=0;break}if(n[s]*=o["n"],n[s]%o["d"]!==0)return null;n[s]/=o["d"],i*=Math.pow(s,n[s])}for(var s in r)if("1"!==s){if(r[s]*=o["n"],r[s]%o["d"]!==0)return null;r[s]/=o["d"],l*=Math.pow(s,r[s])}return o["s"]<0?a(l,i):a(i,l)},equals:function(e,t){return c(e,t),this["s"]*this["n"]*o["d"]===o["s"]*o["n"]*this["d"]},compare:function(e,t){c(e,t);var n=this["s"]*this["n"]*o["d"]-o["s"]*o["n"]*this["d"];return(0<n)-(n<0)},simplify:function(e){if(isNaN(this["n"])||isNaN(this["d"]))return this;e=e||.001;for(var t=this["abs"](),n=t["toContinued"](),r=1;r<n.length;r++){for(var o=a(n[r-1],1),i=r-2;i>=0;i--)o=o["inverse"]()["add"](n[i]);if(Math.abs(o["sub"](t).valueOf())<e)return o["mul"](this["s"])}return this},divisible:function(e,t){return c(e,t),!(!(o["n"]*this["d"])||this["n"]*o["d"]%(o["n"]*this["d"]))},valueOf:function(){return this["s"]*this["n"]/this["d"]},toFraction:function(e){var t,n="",r=this["n"],o=this["d"];return this["s"]<0&&(n+="-"),1===o?n+=r:(e&&(t=Math.floor(r/o))>0&&(n+=t,n+=" ",r%=o),n+=r,n+="/",n+=o),n},toLatex:function(e){var t,n="",r=this["n"],o=this["d"];return this["s"]<0&&(n+="-"),1===o?n+=r:(e&&(t=Math.floor(r/o))>0&&(n+=t,r%=o),n+="\\frac{",n+=r,n+="}{",n+=o,n+="}"),n},toContinued:function(){var e,t=this["n"],n=this["d"],r=[];if(isNaN(t)||isNaN(n))return r;do{r.push(Math.floor(t/n)),e=t%n,t=n,n=e}while(1!==t);return r},toString:function(e){var t=this["n"],n=this["d"];if(isNaN(t)||isNaN(n))return"NaN";e=e||15;var r=s(t,n),o=d(t,n,r),i=this["s"]<0?"-":"";if(i+=t/n|0,t%=n,t*=10,t&&(i+="."),r){for(var a=o;a--;)i+=t/n|0,t%=n,t*=10;i+="(";for(a=r;a--;)i+=t/n|0,t%=n,t*=10;i+=")"}else for(a=e;t&&a--;)i+=t/n|0,t%=n,t*=10;return i}},Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=p,e["exports"]=p})()},"4d64":function(e,t,n){"use strict";var r=n("fc6a"),o=n("23cb"),i=n("07fa"),a=function(e){return function(t,n,a){var u=r(t),c=i(u);if(0===c)return!e&&-1;var l,s=o(a,c);if(e&&n!==n){while(c>s)if(l=u[s++],l!==l)return!0}else for(;c>s;s++)if((e||s in u)&&u[s]===n)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"50c4":function(e,t,n){"use strict";var r=n("5926"),o=Math.min;e.exports=function(e){var t=r(e);return t>0?o(t,9007199254740991):0}},5692:function(e,t,n){"use strict";var r=n("c6cd");e.exports=function(e,t){return r[e]||(r[e]=t||{})}},"56ef":function(e,t,n){"use strict";var r=n("d066"),o=n("e330"),i=n("241c"),a=n("7418"),u=n("825a"),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(u(e)),n=a.f;return n?c(t,n(e)):t}},"577e":function(e,t,n){"use strict";var r=n("f5df"),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},"58e0":function(e,t,n){"use strict";(function(e){var r=n("26ee"),o=n("2f74"),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,u=a&&a.exports===i,c=u?r["a"].Buffer:void 0,l=c?c.isBuffer:void 0,s=l||o["a"];t["a"]=s}).call(this,n("dd40")(e))},5926:function(e,t,n){"use strict";var r=n("b42e");e.exports=function(e){var t=+e;return t!==t||0===t?0:r(t)}},"59ed":function(e,t,n){"use strict";var r=n("1626"),o=n("0d51"),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},"5a0c":function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",o="second",i="minute",a="hour",u="day",c="week",l="month",s="quarter",d="year",f="date",p="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},g=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},b={s:g,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+g(r,2,"0")+":"+g(o,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),o=t.clone().add(r,l),i=n-o<0,a=t.clone().add(r+(i?-1:1),l);return+(-(r+(n-o)/(i?o-a:a-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:c,d:u,D:f,h:a,m:i,s:o,ms:r,Q:s}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",O={};O[y]=m;var C="$isDayjsObject",w=function(e){return e instanceof x||!(!e||!e[C])},S=function e(t,n,r){var o;if(!t)return y;if("string"==typeof t){var i=t.toLowerCase();O[i]&&(o=i),n&&(O[i]=n,o=i);var a=t.split("-");if(!o&&a.length>1)return e(a[0])}else{var u=t.name;O[u]=t,o=u}return!r&&o&&(y=o),o||!r&&y},N=function(e,t){if(w(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new x(n)},M=b;M.l=S,M.i=w,M.w=function(e,t){return N(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var x=function(){function m(e){this.$L=S(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[C]=!0}var g=m.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(M.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(v);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(t)}(e),this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return M},g.isValid=function(){return!(this.$d.toString()===p)},g.isSame=function(e,t){var n=N(e);return this.startOf(t)<=n&&n<=this.endOf(t)},g.isAfter=function(e,t){return N(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<N(e)},g.$g=function(e,t,n){return M.u(e)?this[t]:this.set(n,e)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(e,t){var n=this,r=!!M.u(t)||t,s=M.p(e),p=function(e,t){var o=M.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?o:o.endOf(u)},v=function(e,t){return M.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,m=this.$M,g=this.$D,b="set"+(this.$u?"UTC":"");switch(s){case d:return r?p(1,0):p(31,11);case l:return r?p(1,m):p(0,m+1);case c:var y=this.$locale().weekStart||0,O=(h<y?h+7:h)-y;return p(r?g-O:g+(6-O),m);case u:case f:return v(b+"Hours",0);case a:return v(b+"Minutes",1);case i:return v(b+"Seconds",2);case o:return v(b+"Milliseconds",3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var n,c=M.p(e),s="set"+(this.$u?"UTC":""),p=(n={},n[u]=s+"Date",n[f]=s+"Date",n[l]=s+"Month",n[d]=s+"FullYear",n[a]=s+"Hours",n[i]=s+"Minutes",n[o]=s+"Seconds",n[r]=s+"Milliseconds",n)[c],v=c===u?this.$D+(t-this.$W):t;if(c===l||c===d){var h=this.clone().set(f,1);h.$d[p](v),h.init(),this.$d=h.set(f,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](v);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[M.p(e)]()},g.add=function(r,s){var f,p=this;r=Number(r);var v=M.p(s),h=function(e){var t=N(p);return M.w(t.date(t.date()+Math.round(e*r)),p)};if(v===l)return this.set(l,this.$M+r);if(v===d)return this.set(d,this.$y+r);if(v===u)return h(1);if(v===c)return h(7);var m=(f={},f[i]=t,f[a]=n,f[o]=e,f)[v]||1,g=this.$d.getTime()+r*m;return M.w(g,this)},g.subtract=function(e,t){return this.add(-1*e,t)},g.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||"YYYY-MM-DDTHH:mm:ssZ",o=M.z(this),i=this.$H,a=this.$m,u=this.$M,c=n.weekdays,l=n.months,s=n.meridiem,d=function(e,n,o,i){return e&&(e[n]||e(t,r))||o[n].slice(0,i)},f=function(e){return M.s(i%12||12,e,"0")},v=s||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(h,(function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return M.s(t.$y,4,"0");case"M":return u+1;case"MM":return M.s(u+1,2,"0");case"MMM":return d(n.monthsShort,u,l,3);case"MMMM":return d(l,u);case"D":return t.$D;case"DD":return M.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(n.weekdaysMin,t.$W,c,2);case"ddd":return d(n.weekdaysShort,t.$W,c,3);case"dddd":return c[t.$W];case"H":return String(i);case"HH":return M.s(i,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return v(i,a,!0);case"A":return v(i,a,!1);case"m":return String(a);case"mm":return M.s(a,2,"0");case"s":return String(t.$s);case"ss":return M.s(t.$s,2,"0");case"SSS":return M.s(t.$ms,3,"0");case"Z":return o}return null}(e)||o.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(r,f,p){var v,h=this,m=M.p(f),g=N(r),b=(g.utcOffset()-this.utcOffset())*t,y=this-g,O=function(){return M.m(h,g)};switch(m){case d:v=O()/12;break;case l:v=O();break;case s:v=O()/3;break;case c:v=(y-b)/6048e5;break;case u:v=(y-b)/864e5;break;case a:v=y/n;break;case i:v=y/t;break;case o:v=y/e;break;default:v=y}return p?v:M.a(v)},g.daysInMonth=function(){return this.endOf(l).$D},g.$locale=function(){return O[this.$L]},g.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=S(e,t,!0);return r&&(n.$L=r),n},g.clone=function(){return M.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},m}(),j=x.prototype;return N.prototype=j,[["$ms",r],["$s",o],["$m",i],["$H",a],["$W",u],["$M",l],["$y",d],["$D",f]].forEach((function(e){j[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),N.extend=function(e,t){return e.$i||(e(t,x,N),e.$i=!0),N},N.locale=S,N.isDayjs=w,N.unix=function(e){return N(1e3*e)},N.en=O[y],N.Ls=O,N.p={},N}))},"5c6c":function(e,t,n){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5cf9":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r={Fixed:{code:"1",name:"固定"},Dynamic:{code:"2",name:"动态"}}},"5e0f":function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";return function(e,t,n){var r=t.prototype,o=function(e){return e&&(e.indexOf?e:e.s)},i=function(e,t,n,r,i){var a=e.name?e:e.$locale(),u=o(a[t]),c=o(a[n]),l=u||c.map((function(e){return e.slice(0,r)}));if(!i)return l;var s=a.weekStart;return l.map((function(e,t){return l[(t+(s||0))%7]}))},a=function(){return n.Ls[n.locale()]},u=function(e,t){return e.formats[t]||function(e){return e.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}(e.formats[t.toUpperCase()])},c=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):i(e,"months")},monthsShort:function(t){return t?t.format("MMM"):i(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):i(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):i(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):i(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return u(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return c.bind(this)()},n.localeData=function(){var e=a();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(t){return u(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},n.months=function(){return i(a(),"months")},n.monthsShort=function(){return i(a(),"monthsShort","months",3)},n.weekdays=function(e){return i(a(),"weekdays",null,null,e)},n.weekdaysShort=function(e){return i(a(),"weekdaysShort","weekdays",3,e)},n.weekdaysMin=function(e){return i(a(),"weekdaysMin","weekdays",2,e)}}}))},"5e77":function(e,t,n){"use strict";var r=n("83ab"),o=n("1a2d"),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,u=o(i,"name"),c=u&&"something"===function(){}.name,l=u&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:u,PROPER:c,CONFIGURABLE:l}},"5ea3":function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t["a"]=n}).call(this,n("c8ba"))},"62e4":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}},6374:function(e,t,n){"use strict";var r=n("da84"),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},"69f3":function(e,t,n){"use strict";var r,o,i,a=n("cdce"),u=n("da84"),c=n("861d"),l=n("9112"),s=n("1a2d"),d=n("c6cd"),f=n("f772"),p=n("d012"),v="Object already initialized",h=u.TypeError,m=u.WeakMap,g=function(e){return i(e)?o(e):r(e,{})},b=function(e){return function(t){var n;if(!c(t)||(n=o(t)).type!==e)throw new h("Incompatible receiver, "+e+" required");return n}};if(a||d.state){var y=d.state||(d.state=new m);y.get=y.get,y.has=y.has,y.set=y.set,r=function(e,t){if(y.has(e))throw new h(v);return t.facade=e,y.set(e,t),t},o=function(e){return y.get(e)||{}},i=function(e){return y.has(e)}}else{var O=f("state");p[O]=!0,r=function(e,t){if(s(e,O))throw new h(v);return t.facade=e,l(e,O,t),t},o=function(e){return s(e,O)?e[O]:{}},i=function(e){return s(e,O)}}e.exports={set:r,get:o,has:i,enforce:g,getterFor:b}},"6b0d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n}},"6dd8":function(e,t,n){"use strict";(function(e){var n=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t}()}(),r="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,o=function(){return"undefined"!==typeof e&&e.Math===Math?e:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")()}(),i=function(){return"function"===typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)}}(),a=2;function u(e,t){var n=!1,r=!1,o=0;function u(){n&&(n=!1,e()),r&&l()}function c(){i(u)}function l(){var e=Date.now();if(n){if(e-o<a)return;r=!0}else n=!0,r=!1,setTimeout(c,t);o=e}return l}var c=20,l=["top","right","bottom","left","width","height","size","weight"],s="undefined"!==typeof MutationObserver,d=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=u(this.refresh.bind(this),c)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var e=this.updateObservers_();e&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t,r=l.some((function(e){return!!~n.indexOf(e)}));r&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),f=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},p=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||o},v=N(0,0,0,0);function h(e){return parseFloat(e)||0}function m(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){var r=e["border-"+n+"-width"];return t+h(r)}),0)}function g(e){for(var t=["top","right","bottom","left"],n={},r=0,o=t;r<o.length;r++){var i=o[r],a=e["padding-"+i];n[i]=h(a)}return n}function b(e){var t=e.getBBox();return N(0,0,t.width,t.height)}function y(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return v;var r=p(e).getComputedStyle(e),o=g(r),i=o.left+o.right,a=o.top+o.bottom,u=h(r.width),c=h(r.height);if("border-box"===r.boxSizing&&(Math.round(u+i)!==t&&(u-=m(r,"left","right")+i),Math.round(c+a)!==n&&(c-=m(r,"top","bottom")+a)),!C(e)){var l=Math.round(u+i)-t,s=Math.round(c+a)-n;1!==Math.abs(l)&&(u-=l),1!==Math.abs(s)&&(c-=s)}return N(o.left,o.top,u,c)}var O=function(){return"undefined"!==typeof SVGGraphicsElement?function(e){return e instanceof p(e).SVGGraphicsElement}:function(e){return e instanceof p(e).SVGElement&&"function"===typeof e.getBBox}}();function C(e){return e===p(e).document.documentElement}function w(e){return r?O(e)?b(e):y(e):v}function S(e){var t=e.x,n=e.y,r=e.width,o=e.height,i="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(i.prototype);return f(a,{x:t,y:n,width:r,height:o,top:n,right:t+r,bottom:o+n,left:t}),a}function N(e,t,n,r){return{x:e,y:t,width:n,height:r}}var M=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=N(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=w(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),x=function(){function e(e,t){var n=S(t);f(this,{target:e,contentRect:n})}return e}(),j=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!==typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new M(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new x(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),T="undefined"!==typeof WeakMap?new WeakMap:new n,D=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=d.getInstance(),r=new j(t,n,this);T.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach((function(e){D.prototype[e]=function(){var t;return(t=T.get(this))[e].apply(t,arguments)}}));var E=function(){return"undefined"!==typeof o.ResizeObserver?o.ResizeObserver:D}();t["a"]=E}).call(this,n("c8ba"))},"6f19":function(e,t,n){"use strict";var r=n("9112"),o=n("0d26"),i=n("b980"),a=Error.captureStackTrace;e.exports=function(e,t,n,u){i&&(a?a(e,t):r(e,"stack",o(n,u)))}},7037:function(e,t){function n(t){return e.exports=n="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,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},7156:function(e,t,n){"use strict";var r=n("1626"),o=n("861d"),i=n("d2bb");e.exports=function(e,t,n){var a,u;return i&&r(a=t.constructor)&&a!==n&&o(u=a.prototype)&&u!==n.prototype&&i(e,u),e}},7234:function(e,t,n){"use strict";e.exports=function(e){return null===e||void 0===e}},7282:function(e,t,n){"use strict";var r=n("e330"),o=n("59ed");e.exports=function(e,t,n){try{return r(o(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(i){}}},7418:function(e,t,n){"use strict";t.f=Object.getOwnPropertySymbols},7455:function(e,t,n){"use strict";n("fc2b")},7634:function(e,t,n){"use strict";var r,o,i;(function(n,a){o=[],r=a,i="function"===typeof r?r.apply(t,o):r,void 0===i||(e.exports=i)})(0,(function(){function e(){return!0}function t(){return!1}function n(){}function r(){var o=[{name:"number",test:function(e){return"number"===typeof e}},{name:"string",test:function(e){return"string"===typeof e}},{name:"boolean",test:function(e){return"boolean"===typeof e}},{name:"Function",test:function(e){return"function"===typeof e}},{name:"Array",test:Array.isArray},{name:"Date",test:function(e){return e instanceof Date}},{name:"RegExp",test:function(e){return e instanceof RegExp}},{name:"Object",test:function(e){return"object"===typeof e&&null!==e&&e.constructor===Object}},{name:"null",test:function(e){return null===e}},{name:"undefined",test:function(e){return void 0===e}}],i={name:"any",test:e},a=[],u=[],c={types:o,conversions:u,ignore:a};function l(e){var t=K(c.types,(function(t){return t.name===e}));if(t)return t;if("any"===e)return i;var n=K(c.types,(function(t){return t.name.toLowerCase()===e.toLowerCase()}));throw new TypeError('Unknown type "'+e+'"'+(n?'. Did you mean "'+n.name+'"?':""))}function s(e){return e===i?999:c.types.indexOf(e)}function d(e){var t=K(c.types,(function(t){return t.test(e)}));if(t)return t.name;throw new TypeError("Value has unknown type. Value: "+e)}function f(e,t){if(!e.signatures)throw new TypeError("Function is no typed-function");var n;if("string"===typeof t){n=t.split(",");for(var r=0;r<n.length;r++)n[r]=n[r].trim()}else{if(!Array.isArray(t))throw new TypeError("String array or a comma separated string expected");n=t}var o=n.join(","),i=e.signatures[o];if(i)return i;throw new TypeError("Signature not found (signature: "+(e.name||"unnamed")+"("+n.join(", ")+"))")}function p(e,t){var n=d(e);if(t===n)return e;for(var r=0;r<c.conversions.length;r++){var o=c.conversions[r];if(o.from===n&&o.to===t)return o.convert(e)}throw new Error("Cannot convert from "+n+" to "+t)}function v(e){return e.map((function(e){var t=e.types.map(S);return(e.restParam?"...":"")+t.join("|")})).join(",")}function h(e,t){var n=0===e.indexOf("..."),r=n?e.length>3?e.slice(3):"any":e,o=r.split("|").map(Z).filter(R).filter(B),i=k(t,o),a=o.map((function(e){var t=l(e);return{name:e,typeIndex:s(t),test:t.test,conversion:null,conversionIndex:-1}})),u=i.map((function(e){var n=l(e.from);return{name:e.from,typeIndex:s(n),test:n.test,conversion:e,conversionIndex:t.indexOf(e)}}));return{types:a.concat(u),restParam:n}}function m(e,t,n){var r=[];return""!==e.trim()&&(r=e.split(",").map(Z).map((function(e,t,r){var o=h(e,n);if(o.restParam&&t!==r.length-1)throw new SyntaxError('Unexpected rest parameter "'+e+'": only allowed for the last parameter');return o}))),r.some(V)?null:{params:r,fn:t}}function g(e){var t=J(e);return!!t&&t.restParam}function b(e){return e.types.some((function(e){return null!=e.conversion}))}function y(t){if(t&&0!==t.types.length){if(1===t.types.length)return l(t.types[0].name).test;if(2===t.types.length){var n=l(t.types[0].name).test,r=l(t.types[1].name).test;return function(e){return n(e)||r(e)}}var o=t.types.map((function(e){return l(e.name).test}));return function(e){for(var t=0;t<o.length;t++)if(o[t](e))return!0;return!1}}return e}function O(e){var t,n,r;if(g(e)){t=X(e).map(y);var o=t.length,i=y(J(e)),a=function(e){for(var t=o;t<e.length;t++)if(!i(e[t]))return!1;return!0};return function(e){for(var n=0;n<t.length;n++)if(!t[n](e[n]))return!1;return a(e)&&e.length>=o+1}}return 0===e.length?function(e){return 0===e.length}:1===e.length?(n=y(e[0]),function(e){return n(e[0])&&1===e.length}):2===e.length?(n=y(e[0]),r=y(e[1]),function(e){return n(e[0])&&r(e[1])&&2===e.length}):(t=e.map(y),function(e){for(var n=0;n<t.length;n++)if(!t[n](e[n]))return!1;return e.length===t.length})}function C(e,t){return t<e.params.length?e.params[t]:g(e.params)?J(e.params):null}function w(e,t,n){var r=C(e,t),o=r?n?r.types.filter(N):r.types:[];return o.map(S)}function S(e){return e.name}function N(e){return null===e.conversion||void 0===e.conversion}function M(e,t){var n=U(G(e,(function(e){return w(e,t,!1)})));return-1!==n.indexOf("any")?["any"]:n}function x(e,t,n){var r,o,i,a=e||"unnamed",u=n;for(i=0;i<t.length;i++){var c=u.filter((function(e){var n=y(C(e,i));return(i<e.params.length||g(e.params))&&n(t[i])}));if(0===c.length){if(o=M(u,i),o.length>0){var l=d(t[i]);return r=new TypeError("Unexpected type of argument in function "+a+" (expected: "+o.join(" or ")+", actual: "+l+", index: "+i+")"),r.data={category:"wrongType",fn:a,index:i,actual:l,expected:o},r}}else u=c}var s=u.map((function(e){return g(e.params)?1/0:e.params.length}));if(t.length<Math.min.apply(null,s))return o=M(u,i),r=new TypeError("Too few arguments in function "+a+" (expected: "+o.join(" or ")+", index: "+t.length+")"),r.data={category:"tooFewArgs",fn:a,index:t.length,expected:o},r;var f=Math.max.apply(null,s);return t.length>f?(r=new TypeError("Too many arguments in function "+a+" (expected: "+f+", actual: "+t.length+")"),r.data={category:"tooManyArgs",fn:a,index:t.length,expectedLength:f},r):(r=new TypeError('Arguments of type "'+t.join(", ")+'" do not match any of the defined signatures of function '+a+"."),r.data={category:"mismatch",actual:t.map(d)},r)}function j(e){for(var t=999,n=0;n<e.types.length;n++)N(e.types[n])&&(t=Math.min(t,e.types[n].typeIndex));return t}function T(e){for(var t=999,n=0;n<e.types.length;n++)N(e.types[n])||(t=Math.min(t,e.types[n].conversionIndex));return t}function D(e,t){var n;return n=e.restParam-t.restParam,0!==n?n:(n=b(e)-b(t),0!==n?n:(n=j(e)-j(t),0!==n?n:T(e)-T(t)))}function E(e,t){var n,r,o=Math.min(e.params.length,t.params.length);if(r=e.params.some(b)-t.params.some(b),0!==r)return r;for(n=0;n<o;n++)if(r=b(e.params[n])-b(t.params[n]),0!==r)return r;for(n=0;n<o;n++)if(r=D(e.params[n],t.params[n]),0!==r)return r;return e.params.length-t.params.length}function k(e,t){var n={};return e.forEach((function(e){-1!==t.indexOf(e.from)||-1===t.indexOf(e.to)||n[e.from]||(n[e.from]=e)})),Object.keys(n).map((function(e){return n[e]}))}function L(e,t){var n=t;if(e.some(b)){var r=g(e),o=e.map(Y);n=function(){for(var e=[],n=r?arguments.length-1:arguments.length,i=0;i<n;i++)e[i]=o[i](arguments[i]);return r&&(e[n]=arguments[n].map(o[n])),t.apply(this,e)}}var i=n;if(g(e)){var a=e.length-1;i=function(){return n.apply(this,z(arguments,0,a).concat([z(arguments,a)]))}}return i}function Y(e){var t,n,r,o,i=[],a=[];switch(e.types.forEach((function(e){e.conversion&&(i.push(l(e.conversion.from).test),a.push(e.conversion.convert))})),a.length){case 0:return function(e){return e};case 1:return t=i[0],r=a[0],function(e){return t(e)?r(e):e};case 2:return t=i[0],n=i[1],r=a[0],o=a[1],function(e){return t(e)?r(e):n(e)?o(e):e};default:return function(e){for(var t=0;t<a.length;t++)if(i[t](e))return a[t](e);return e}}}function _(e){var t={};return e.forEach((function(e){e.params.some(b)||A(e.params,!0).forEach((function(n){t[v(n)]=e.fn}))})),t}function A(e,t){function n(e,r,o){if(r<e.length){var i,a=e[r],u=t?a.types.filter(N):a.types;if(a.restParam){var c=u.filter(N);i=c.length<u.length?[c,u]:[u]}else i=u.map((function(e){return[e]}));return G(i,(function(t){return n(e,r+1,o.concat([t]))}))}var l=o.map((function(t,n){return{types:t,restParam:n===e.length-1&&g(e)}}));return[l]}return n(e,0,[])}function P(e,t){for(var n=Math.max(e.params.length,t.params.length),r=0;r<n;r++){var o=w(e,r,!0),i=w(t,r,!0);if(!W(o,i))return!1}var a=e.params.length,u=t.params.length,c=g(e.params),l=g(t.params);return c?l?a===u:u>=a:l?a>=u:a===u}function F(e,r){if(0===Object.keys(r).length)throw new SyntaxError("No signatures provided");var o=[];Object.keys(r).map((function(e){return m(e,r[e],c.conversions)})).filter(H).forEach((function(e){var t=K(o,(function(t){return P(t,e)}));if(t)throw new TypeError('Conflicting signatures "'+v(t.params)+'" and "'+v(e.params)+'".');o.push(e)}));var i=G(o,(function(e){var t=e?A(e.params,!1):[];return t.map((function(t){return{params:t,fn:e.fn}}))})).filter(H);i.sort(E);var a=i[0]&&i[0].params.length<=2&&!g(i[0].params),u=i[1]&&i[1].params.length<=2&&!g(i[1].params),l=i[2]&&i[2].params.length<=2&&!g(i[2].params),s=i[3]&&i[3].params.length<=2&&!g(i[3].params),d=i[4]&&i[4].params.length<=2&&!g(i[4].params),f=i[5]&&i[5].params.length<=2&&!g(i[5].params),p=a&&u&&l&&s&&d&&f,h=i.map((function(e){return O(e.params)})),b=a?y(i[0].params[0]):t,C=u?y(i[1].params[0]):t,w=l?y(i[2].params[0]):t,S=s?y(i[3].params[0]):t,N=d?y(i[4].params[0]):t,M=f?y(i[5].params[0]):t,x=a?y(i[0].params[1]):t,j=u?y(i[1].params[1]):t,T=l?y(i[2].params[1]):t,D=s?y(i[3].params[1]):t,k=d?y(i[4].params[1]):t,Y=f?y(i[5].params[1]):t,F=i.map((function(e){return L(e.params,e.fn)})),I=a?F[0]:n,B=u?F[1]:n,Z=l?F[2]:n,R=s?F[3]:n,V=d?F[4]:n,X=f?F[5]:n,J=a?i[0].params.length:-1,z=u?i[1].params.length:-1,Q=l?i[2].params.length:-1,W=s?i[3].params.length:-1,U=d?i[4].params.length:-1,$=f?i[5].params.length:-1,q=p?6:0,ee=i.length,te=function(){for(var t=q;t<ee;t++)if(h[t](arguments))return F[t].apply(this,arguments);return c.onMismatch(e,arguments,i)},ne=function e(t,n){return arguments.length===J&&b(t)&&x(n)?I.apply(e,arguments):arguments.length===z&&C(t)&&j(n)?B.apply(e,arguments):arguments.length===Q&&w(t)&&T(n)?Z.apply(e,arguments):arguments.length===W&&S(t)&&D(n)?R.apply(e,arguments):arguments.length===U&&N(t)&&k(n)?V.apply(e,arguments):arguments.length===$&&M(t)&&Y(n)?X.apply(e,arguments):te.apply(e,arguments)};try{Object.defineProperty(ne,"name",{value:e})}catch(re){}return ne.signatures=_(i),ne}function I(e,t,n){throw x(e,t,n)}function B(e){return-1===c.ignore.indexOf(e)}function Z(e){return e.trim()}function R(e){return!!e}function H(e){return null!==e}function V(e){return 0===e.types.length}function X(e){return e.slice(0,e.length-1)}function J(e){return e[e.length-1]}function z(e,t,n){return Array.prototype.slice.call(e,t,n)}function Q(e,t){return-1!==e.indexOf(t)}function W(e,t){for(var n=0;n<e.length;n++)if(Q(t,e[n]))return!0;return!1}function K(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return e[n]}function U(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return Object.keys(t)}function G(e,t){return Array.prototype.concat.apply([],e.map(t))}function $(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(("object"===typeof r.signatures||"string"===typeof r.signature)&&""!==r.name)if(""===t)t=r.name;else if(t!==r.name){var o=new Error("Function names do not match (expected: "+t+", actual: "+r.name+")");throw o.data={actual:r.name,expected:t},o}}return t}function q(e){var t,n={};function r(e,r){if(n.hasOwnProperty(e)&&r!==n[e])throw t=new Error('Signature "'+e+'" is defined twice'),t.data={signature:e},t}for(var o=0;o<e.length;o++){var i=e[o];if("object"===typeof i.signatures)for(var a in i.signatures)i.signatures.hasOwnProperty(a)&&(r(a,i.signatures[a]),n[a]=i.signatures[a]);else{if("string"!==typeof i.signature)throw t=new TypeError("Function is no typed-function (index: "+o+")"),t.data={index:o},t;r(i.signature,i),n[i.signature]=i}}return n}return c=F("typed",{"string, Object":F,Object:function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(e[n]);var r=$(t);return F(r,e)},"...Function":function(e){return F($(e),q(e))},"string, ...Function":function(e,t){return F(e,q(t))}}),c.create=r,c.types=o,c.conversions=u,c.ignore=a,c.onMismatch=I,c.throwMismatchError=I,c.createError=x,c.convert=p,c.find=f,c.addType=function(e,t){if(!e||"string"!==typeof e.name||"function"!==typeof e.test)throw new TypeError("Object with properties {name: string, test: function} expected");if(!1!==t)for(var n=0;n<c.types.length;n++)if("Object"===c.types[n].name)return void c.types.splice(n,0,e);c.types.push(e)},c.addConversion=function(e){if(!e||"string"!==typeof e.from||"string"!==typeof e.to||"function"!==typeof e.convert)throw new TypeError("Object with properties {from: string, to: string, convert: function} expected");c.conversions.push(e)},c}return r()}))},7839:function(e,t,n){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(e,t,n){"use strict";var r=n("1d80"),o=Object;e.exports=function(e){return o(r(e))}},"7e21":function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";return function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,n=this.$W,r=(n<t?n+7:n)-t;return this.$utils().u(e)?r:this.subtract(r,"day").add(e,"day")}}}))},"7ec2":function(e,t,n){n("d9e2"),n("14d9");var r=n("7037")["default"];function o(){"use strict";
|
|
17
|
-
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=o=function(){return n},e.exports.__esModule=!0,e.exports["default"]=e.exports;var t,n={},i=Object.prototype,a=i.hasOwnProperty,u=Object.defineProperty||function(e,t,n){e[t]=n.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",s=c.asyncIterator||"@@asyncIterator",d=c.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(t){f=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var o=t&&t.prototype instanceof O?t:O,i=Object.create(o.prototype),a=new Y(r||[]);return u(i,"_invoke",{value:D(e,n,a)}),i}function v(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=p;var h="suspendedStart",m="suspendedYield",g="executing",b="completed",y={};function O(){}function C(){}function w(){}var S={};f(S,l,(function(){return this}));var N=Object.getPrototypeOf,M=N&&N(N(_([])));M&&M!==i&&a.call(M,l)&&(S=M);var x=w.prototype=O.prototype=Object.create(S);function j(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,u,c){var l=v(e[o],e,i);if("throw"!==l.type){var s=l.arg,d=s.value;return d&&"object"==r(d)&&a.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,u,c)}),(function(e){n("throw",e,u,c)})):t.resolve(d).then((function(e){s.value=e,u(s)}),(function(e){return n("throw",e,u,c)}))}c(l.arg)}var o;u(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}})}function D(e,n,r){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===b){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=E(u,r);if(c){if(c===y)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=b,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var l=v(e,n,r);if("normal"===l.type){if(o=r.done?b:m,l.arg===y)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=b,r.method="throw",r.arg=l.arg)}}}function E(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator["return"]&&(n.method="return",n.arg=t,E(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var i=v(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function k(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 L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Y(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function _(e){if(e||""===e){var n=e[l];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(a.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(r(e)+" is not iterable")}return C.prototype=w,u(x,"constructor",{value:w,configurable:!0}),u(w,"constructor",{value:C,configurable:!0}),C.displayName=f(w,d,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===C||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,f(e,d,"GeneratorFunction")),e.prototype=Object.create(x),e},n.awrap=function(e){return{__await:e}},j(T.prototype),f(T.prototype,s,(function(){return this})),n.AsyncIterator=T,n.async=function(e,t,r,o,i){void 0===i&&(i=Promise);var a=new T(p(e,t,r,o),i);return n.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},j(x),f(x,d,"Generator"),f(x,l,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},n.values=_,Y.prototype={constructor:Y,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(L),!e)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},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 n=this;function r(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=a.call(i,"catchLoc"),l=a.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,y):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),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),L(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;L(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:_(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),y}},n}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},"825a":function(e,t,n){"use strict";var r=n("861d"),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},"83ab":function(e,t,n){"use strict";var r=n("d039");e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"861d":function(e,t,n){"use strict";var r=n("1626");e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},8925:function(e,t,n){"use strict";var r=n("e330"),o=n("1626"),i=n("c6cd"),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},"8bbf":function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE__8bbf__},"8f19":function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";return function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return r.bind(this)(e);var o=this.$utils(),i=(e||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case"Q":return Math.ceil((t.$M+1)/3);case"Do":return n.ordinal(t.$D);case"gggg":return t.weekYear();case"GGGG":return t.isoWeekYear();case"wo":return n.ordinal(t.week(),"W");case"w":case"ww":return o.s(t.week(),"w"===e?1:2,"0");case"W":case"WW":return o.s(t.isoWeek(),"W"===e?1:2,"0");case"k":case"kk":return o.s(String(0===t.$H?24:t.$H),"k"===e?1:2,"0");case"X":return Math.floor(t.$d.getTime()/1e3);case"x":return t.$d.getTime();case"z":return"["+t.offsetName()+"]";case"zzz":return"["+t.offsetName("long")+"]";default:return e}}));return r.bind(this)(i)}}}))},"90e3":function(e,t,n){"use strict";var r=n("e330"),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},9112:function(e,t,n){"use strict";var r=n("83ab"),o=n("9bf2"),i=n("5c6c");e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},9475:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r={FORM:{code:"1",name:"表格"},TABLE:{code:"2",name:"表单"},DICT:{code:"3",name:"字典"}}},"94ca":function(e,t,n){"use strict";var r=n("d039"),o=n("1626"),i=/#|\.prototype\./,a=function(e,t){var n=c[u(e)];return n===s||n!==l&&(o(t)?r(t):!!t)},u=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},l=a.NATIVE="N",s=a.POLYFILL="P";e.exports=a},9523:function(e,t,n){var r=n("a395");function o(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},"9b1f":function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";var e="month",t="quarter";return function(n,r){var o=r.prototype;o.quarter=function(e){return this.$utils().u(e)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(e-1))};var i=o.add;o.add=function(n,r){return n=Number(n),this.$utils().p(r)===t?this.add(3*n,e):i.bind(this)(n,r)};var a=o.startOf;o.startOf=function(n,r){var o=this.$utils(),i=!!o.u(r)||r;if(o.p(n)===t){var u=this.quarter()-1;return i?this.month(3*u).startOf(e).startOf("day"):this.month(3*u+2).endOf(e).endOf("day")}return a.bind(this)(n,r)}}}))},"9bf2":function(e,t,n){"use strict";var r=n("83ab"),o=n("0cfb"),i=n("aed9"),a=n("825a"),u=n("a04b"),c=TypeError,l=Object.defineProperty,s=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",p="writable";t.f=r?i?function(e,t,n){if(a(e),t=u(t),a(n),"function"===typeof e&&"prototype"===t&&"value"in n&&p in n&&!n[p]){var r=s(e,t);r&&r[p]&&(e[t]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:d in n?n[d]:r[d],writable:!1})}return l(e,t,n)}:l:function(e,t,n){if(a(e),t=u(t),a(n),o)try{return l(e,t,n)}catch(r){}if("get"in n||"set"in n)throw new c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"9ce7":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r={Layout:{code:"1",name:"布局",icon:"profile"},Base:{code:"2",name:"基础字段",icon:"profile"},Senior:{code:"3",name:"高级字段",icon:"profile"}}},a002:function(e,t,n){(function(t){var n;
|
|
18
|
-
/*!
|
|
19
|
-
localForage -- Offline Storage, Improved
|
|
20
|
-
Version 1.10.0
|
|
21
|
-
https://localforage.github.io/localForage
|
|
22
|
-
(c) 2013-2017 Mozilla, Apache License 2.0
|
|
23
|
-
*/
|
|
24
|
-
(function(t){e.exports=t()})((function(){return function e(t,r,o){function i(u,c){if(!r[u]){if(!t[u]){var l="function"==typeof n&&n;if(!c&&l)return n(u,!0);if(a)return a(u,!0);var s=new Error("Cannot find module '"+u+"'");throw s.code="MODULE_NOT_FOUND",s}var d=r[u]={exports:{}};t[u][0].call(d.exports,(function(e){var n=t[u][1][e];return i(n||e)}),d,d.exports,e,t,r,o)}return r[u].exports}for(var a="function"==typeof n&&n,u=0;u<o.length;u++)i(o[u]);return i}({1:[function(e,n,r){(function(e){"use strict";var t,r,o=e.MutationObserver||e.WebKitMutationObserver;if(o){var i=0,a=new o(s),u=e.document.createTextNode("");a.observe(u,{characterData:!0}),t=function(){u.data=i=++i%2}}else if(e.setImmediate||"undefined"===typeof e.MessageChannel)t="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){s(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(s,0)};else{var c=new e.MessageChannel;c.port1.onmessage=s,t=function(){c.port2.postMessage(0)}}var l=[];function s(){var e,t;r=!0;var n=l.length;while(n){t=l,l=[],e=-1;while(++e<n)t[e]();n=l.length}r=!1}function d(e){1!==l.push(e)||r||t()}n.exports=d}).call(this,"undefined"!==typeof t?t:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],2:[function(e,t,n){"use strict";var r=e(1);function o(){}var i={},a=["REJECTED"],u=["FULFILLED"],c=["PENDING"];function l(e){if("function"!==typeof e)throw new TypeError("resolver must be a function");this.state=c,this.queue=[],this.outcome=void 0,e!==o&&p(this,e)}function s(e,t,n){this.promise=e,"function"===typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"===typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function d(e,t,n){r((function(){var r;try{r=t(n)}catch(o){return i.reject(e,o)}r===e?i.reject(e,new TypeError("Cannot resolve promise with itself")):i.resolve(e,r)}))}function f(e){var t=e&&e.then;if(e&&("object"===typeof e||"function"===typeof e)&&"function"===typeof t)return function(){t.apply(e,arguments)}}function p(e,t){var n=!1;function r(t){n||(n=!0,i.reject(e,t))}function o(t){n||(n=!0,i.resolve(e,t))}function a(){t(o,r)}var u=v(a);"error"===u.status&&r(u.value)}function v(e,t){var n={};try{n.value=e(t),n.status="success"}catch(r){n.status="error",n.value=r}return n}function h(e){return e instanceof this?e:i.resolve(new this(o),e)}function m(e){var t=new this(o);return i.reject(t,e)}function g(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);var a=new Array(n),u=0,c=-1,l=new this(o);while(++c<n)s(e[c],c);return l;function s(e,o){function c(e){a[o]=e,++u!==n||r||(r=!0,i.resolve(l,a))}t.resolve(e).then(c,(function(e){r||(r=!0,i.reject(l,e))}))}}function b(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);var a=-1,u=new this(o);while(++a<n)c(e[a]);return u;function c(e){t.resolve(e).then((function(e){r||(r=!0,i.resolve(u,e))}),(function(e){r||(r=!0,i.reject(u,e))}))}}t.exports=l,l.prototype["catch"]=function(e){return this.then(null,e)},l.prototype.then=function(e,t){if("function"!==typeof e&&this.state===u||"function"!==typeof t&&this.state===a)return this;var n=new this.constructor(o);if(this.state!==c){var r=this.state===u?e:t;d(n,r,this.outcome)}else this.queue.push(new s(n,e,t));return n},s.prototype.callFulfilled=function(e){i.resolve(this.promise,e)},s.prototype.otherCallFulfilled=function(e){d(this.promise,this.onFulfilled,e)},s.prototype.callRejected=function(e){i.reject(this.promise,e)},s.prototype.otherCallRejected=function(e){d(this.promise,this.onRejected,e)},i.resolve=function(e,t){var n=v(f,t);if("error"===n.status)return i.reject(e,n.value);var r=n.value;if(r)p(e,r);else{e.state=u,e.outcome=t;var o=-1,a=e.queue.length;while(++o<a)e.queue[o].callFulfilled(t)}return e},i.reject=function(e,t){e.state=a,e.outcome=t;var n=-1,r=e.queue.length;while(++n<r)e.queue[n].callRejected(t);return e},l.resolve=h,l.reject=m,l.all=g,l.race=b},{1:1}],3:[function(e,n,r){(function(t){"use strict";"function"!==typeof t.Promise&&(t.Promise=e(2))}).call(this,"undefined"!==typeof t?t:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{2:2}],4:[function(e,t,n){"use strict";var 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};function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(){try{if("undefined"!==typeof indexedDB)return indexedDB;if("undefined"!==typeof webkitIndexedDB)return webkitIndexedDB;if("undefined"!==typeof mozIndexedDB)return mozIndexedDB;if("undefined"!==typeof OIndexedDB)return OIndexedDB;if("undefined"!==typeof msIndexedDB)return msIndexedDB}catch(e){return}}var a=i();function u(){try{if(!a||!a.open)return!1;var e="undefined"!==typeof openDatabase&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),t="function"===typeof fetch&&-1!==fetch.toString().indexOf("[native code");return(!e||t)&&"undefined"!==typeof indexedDB&&"undefined"!==typeof IDBKeyRange}catch(n){return!1}}function c(e,t){e=e||[],t=t||{};try{return new Blob(e,t)}catch(i){if("TypeError"!==i.name)throw i;for(var n="undefined"!==typeof BlobBuilder?BlobBuilder:"undefined"!==typeof MSBlobBuilder?MSBlobBuilder:"undefined"!==typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder,r=new n,o=0;o<e.length;o+=1)r.append(e[o]);return r.getBlob(t.type)}}"undefined"===typeof Promise&&e(3);var l=Promise;function s(e,t){t&&e.then((function(e){t(null,e)}),(function(e){t(e)}))}function d(e,t,n){"function"===typeof t&&e.then(t),"function"===typeof n&&e["catch"](n)}function f(e){return"string"!==typeof e&&(console.warn(e+" used as a key, but it is not a string."),e=String(e)),e}function p(){if(arguments.length&&"function"===typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var v="local-forage-detect-blob-support",h=void 0,m={},g=Object.prototype.toString,b="readonly",y="readwrite";function O(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n),o=0;o<t;o++)r[o]=e.charCodeAt(o);return n}function C(e){return new l((function(t){var n=e.transaction(v,y),r=c([""]);n.objectStore(v).put(r,"key"),n.onabort=function(e){e.preventDefault(),e.stopPropagation(),t(!1)},n.oncomplete=function(){var e=navigator.userAgent.match(/Chrome\/(\d+)/),n=navigator.userAgent.match(/Edge\//);t(n||!e||parseInt(e[1],10)>=43)}}))["catch"]((function(){return!1}))}function w(e){return"boolean"===typeof h?l.resolve(h):C(e).then((function(e){return h=e,h}))}function S(e){var t=m[e.name],n={};n.promise=new l((function(e,t){n.resolve=e,n.reject=t})),t.deferredOperations.push(n),t.dbReady?t.dbReady=t.dbReady.then((function(){return n.promise})):t.dbReady=n.promise}function N(e){var t=m[e.name],n=t.deferredOperations.pop();if(n)return n.resolve(),n.promise}function M(e,t){var n=m[e.name],r=n.deferredOperations.pop();if(r)return r.reject(t),r.promise}function x(e,t){return new l((function(n,r){if(m[e.name]=m[e.name]||P(),e.db){if(!t)return n(e.db);S(e),e.db.close()}var o=[e.name];t&&o.push(e.version);var i=a.open.apply(a,o);t&&(i.onupgradeneeded=function(t){var n=i.result;try{n.createObjectStore(e.storeName),t.oldVersion<=1&&n.createObjectStore(v)}catch(r){if("ConstraintError"!==r.name)throw r;console.warn('The database "'+e.name+'" has been upgraded from version '+t.oldVersion+" to version "+t.newVersion+', but the storage "'+e.storeName+'" already exists.')}}),i.onerror=function(e){e.preventDefault(),r(i.error)},i.onsuccess=function(){var t=i.result;t.onversionchange=function(e){e.target.close()},n(t),N(e)}}))}function j(e){return x(e,!1)}function T(e){return x(e,!0)}function D(e,t){if(!e.db)return!0;var n=!e.db.objectStoreNames.contains(e.storeName),r=e.version<e.db.version,o=e.version>e.db.version;if(r&&(e.version!==t&&console.warn('The database "'+e.name+"\" can't be downgraded from version "+e.db.version+" to version "+e.version+"."),e.version=e.db.version),o||n){if(n){var i=e.db.version+1;i>e.version&&(e.version=i)}return!0}return!1}function E(e){return new l((function(t,n){var r=new FileReader;r.onerror=n,r.onloadend=function(n){var r=btoa(n.target.result||"");t({__local_forage_encoded_blob:!0,data:r,type:e.type})},r.readAsBinaryString(e)}))}function k(e){var t=O(atob(e.data));return c([t],{type:e.type})}function L(e){return e&&e.__local_forage_encoded_blob}function Y(e){var t=this,n=t._initReady().then((function(){var e=m[t._dbInfo.name];if(e&&e.dbReady)return e.dbReady}));return d(n,e,e),n}function _(e){S(e);for(var t=m[e.name],n=t.forages,r=0;r<n.length;r++){var o=n[r];o._dbInfo.db&&(o._dbInfo.db.close(),o._dbInfo.db=null)}return e.db=null,j(e).then((function(t){return e.db=t,D(e)?T(e):t})).then((function(r){e.db=t.db=r;for(var o=0;o<n.length;o++)n[o]._dbInfo.db=r}))["catch"]((function(t){throw M(e,t),t}))}function A(e,t,n,r){void 0===r&&(r=1);try{var o=e.db.transaction(e.storeName,t);n(null,o)}catch(i){if(r>0&&(!e.db||"InvalidStateError"===i.name||"NotFoundError"===i.name))return l.resolve().then((function(){if(!e.db||"NotFoundError"===i.name&&!e.db.objectStoreNames.contains(e.storeName)&&e.version<=e.db.version)return e.db&&(e.version=e.db.version+1),T(e)})).then((function(){return _(e).then((function(){A(e,t,n,r-1)}))}))["catch"](n);n(i)}}function P(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function F(e){var t=this,n={db:null};if(e)for(var r in e)n[r]=e[r];var o=m[n.name];o||(o=P(),m[n.name]=o),o.forages.push(t),t._initReady||(t._initReady=t.ready,t.ready=Y);var i=[];function a(){return l.resolve()}for(var u=0;u<o.forages.length;u++){var c=o.forages[u];c!==t&&i.push(c._initReady()["catch"](a))}var s=o.forages.slice(0);return l.all(i).then((function(){return n.db=o.db,j(n)})).then((function(e){return n.db=e,D(n,t._defaultConfig.version)?T(n):e})).then((function(e){n.db=o.db=e,t._dbInfo=n;for(var r=0;r<s.length;r++){var i=s[r];i!==t&&(i._dbInfo.db=n.db,i._dbInfo.version=n.version)}}))}function I(e,t){var n=this;e=f(e);var r=new l((function(t,r){n.ready().then((function(){A(n._dbInfo,b,(function(o,i){if(o)return r(o);try{var a=i.objectStore(n._dbInfo.storeName),u=a.get(e);u.onsuccess=function(){var e=u.result;void 0===e&&(e=null),L(e)&&(e=k(e)),t(e)},u.onerror=function(){r(u.error)}}catch(c){r(c)}}))}))["catch"](r)}));return s(r,t),r}function B(e,t){var n=this,r=new l((function(t,r){n.ready().then((function(){A(n._dbInfo,b,(function(o,i){if(o)return r(o);try{var a=i.objectStore(n._dbInfo.storeName),u=a.openCursor(),c=1;u.onsuccess=function(){var n=u.result;if(n){var r=n.value;L(r)&&(r=k(r));var o=e(r,n.key,c++);void 0!==o?t(o):n["continue"]()}else t()},u.onerror=function(){r(u.error)}}catch(l){r(l)}}))}))["catch"](r)}));return s(r,t),r}function Z(e,t,n){var r=this;e=f(e);var o=new l((function(n,o){var i;r.ready().then((function(){return i=r._dbInfo,"[object Blob]"===g.call(t)?w(i.db).then((function(e){return e?t:E(t)})):t})).then((function(t){A(r._dbInfo,y,(function(i,a){if(i)return o(i);try{var u=a.objectStore(r._dbInfo.storeName);null===t&&(t=void 0);var c=u.put(t,e);a.oncomplete=function(){void 0===t&&(t=null),n(t)},a.onabort=a.onerror=function(){var e=c.error?c.error:c.transaction.error;o(e)}}catch(l){o(l)}}))}))["catch"](o)}));return s(o,n),o}function R(e,t){var n=this;e=f(e);var r=new l((function(t,r){n.ready().then((function(){A(n._dbInfo,y,(function(o,i){if(o)return r(o);try{var a=i.objectStore(n._dbInfo.storeName),u=a["delete"](e);i.oncomplete=function(){t()},i.onerror=function(){r(u.error)},i.onabort=function(){var e=u.error?u.error:u.transaction.error;r(e)}}catch(c){r(c)}}))}))["catch"](r)}));return s(r,t),r}function H(e){var t=this,n=new l((function(e,n){t.ready().then((function(){A(t._dbInfo,y,(function(r,o){if(r)return n(r);try{var i=o.objectStore(t._dbInfo.storeName),a=i.clear();o.oncomplete=function(){e()},o.onabort=o.onerror=function(){var e=a.error?a.error:a.transaction.error;n(e)}}catch(u){n(u)}}))}))["catch"](n)}));return s(n,e),n}function V(e){var t=this,n=new l((function(e,n){t.ready().then((function(){A(t._dbInfo,b,(function(r,o){if(r)return n(r);try{var i=o.objectStore(t._dbInfo.storeName),a=i.count();a.onsuccess=function(){e(a.result)},a.onerror=function(){n(a.error)}}catch(u){n(u)}}))}))["catch"](n)}));return s(n,e),n}function X(e,t){var n=this,r=new l((function(t,r){e<0?t(null):n.ready().then((function(){A(n._dbInfo,b,(function(o,i){if(o)return r(o);try{var a=i.objectStore(n._dbInfo.storeName),u=!1,c=a.openKeyCursor();c.onsuccess=function(){var n=c.result;n?0===e||u?t(n.key):(u=!0,n.advance(e)):t(null)},c.onerror=function(){r(c.error)}}catch(l){r(l)}}))}))["catch"](r)}));return s(r,t),r}function J(e){var t=this,n=new l((function(e,n){t.ready().then((function(){A(t._dbInfo,b,(function(r,o){if(r)return n(r);try{var i=o.objectStore(t._dbInfo.storeName),a=i.openKeyCursor(),u=[];a.onsuccess=function(){var t=a.result;t?(u.push(t.key),t["continue"]()):e(u)},a.onerror=function(){n(a.error)}}catch(c){n(c)}}))}))["catch"](n)}));return s(n,e),n}function z(e,t){t=p.apply(this,arguments);var n=this.config();e="function"!==typeof e&&e||{},e.name||(e.name=e.name||n.name,e.storeName=e.storeName||n.storeName);var r,o=this;if(e.name){var i=e.name===n.name&&o._dbInfo.db,u=i?l.resolve(o._dbInfo.db):j(e).then((function(t){var n=m[e.name],r=n.forages;n.db=t;for(var o=0;o<r.length;o++)r[o]._dbInfo.db=t;return t}));r=e.storeName?u.then((function(t){if(t.objectStoreNames.contains(e.storeName)){var n=t.version+1;S(e);var r=m[e.name],o=r.forages;t.close();for(var i=0;i<o.length;i++){var u=o[i];u._dbInfo.db=null,u._dbInfo.version=n}var c=new l((function(t,r){var o=a.open(e.name,n);o.onerror=function(e){var t=o.result;t.close(),r(e)},o.onupgradeneeded=function(){var t=o.result;t.deleteObjectStore(e.storeName)},o.onsuccess=function(){var e=o.result;e.close(),t(e)}}));return c.then((function(e){r.db=e;for(var t=0;t<o.length;t++){var n=o[t];n._dbInfo.db=e,N(n._dbInfo)}}))["catch"]((function(t){throw(M(e,t)||l.resolve())["catch"]((function(){})),t}))}})):u.then((function(t){S(e);var n=m[e.name],r=n.forages;t.close();for(var o=0;o<r.length;o++){var i=r[o];i._dbInfo.db=null}var u=new l((function(t,n){var r=a.deleteDatabase(e.name);r.onerror=function(){var e=r.result;e&&e.close(),n(r.error)},r.onblocked=function(){console.warn('dropInstance blocked for database "'+e.name+'" until all open connections are closed')},r.onsuccess=function(){var e=r.result;e&&e.close(),t(e)}}));return u.then((function(e){n.db=e;for(var t=0;t<r.length;t++){var o=r[t];N(o._dbInfo)}}))["catch"]((function(t){throw(M(e,t)||l.resolve())["catch"]((function(){})),t}))}))}else r=l.reject("Invalid arguments");return s(r,t),r}var Q={_driver:"asyncStorage",_initStorage:F,_support:u(),iterate:B,getItem:I,setItem:Z,removeItem:R,clear:H,length:V,key:X,keys:J,dropInstance:z};function W(){return"function"===typeof openDatabase}var K="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",U="~~local_forage_type~",G=/^~~local_forage_type~([^~]+)~/,$="__lfsc__:",q=$.length,ee="arbf",te="blob",ne="si08",re="ui08",oe="uic8",ie="si16",ae="si32",ue="ur16",ce="ui32",le="fl32",se="fl64",de=q+ee.length,fe=Object.prototype.toString;function pe(e){var t,n,r,o,i,a=.75*e.length,u=e.length,c=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var l=new ArrayBuffer(a),s=new Uint8Array(l);for(t=0;t<u;t+=4)n=K.indexOf(e[t]),r=K.indexOf(e[t+1]),o=K.indexOf(e[t+2]),i=K.indexOf(e[t+3]),s[c++]=n<<2|r>>4,s[c++]=(15&r)<<4|o>>2,s[c++]=(3&o)<<6|63&i;return l}function ve(e){var t,n=new Uint8Array(e),r="";for(t=0;t<n.length;t+=3)r+=K[n[t]>>2],r+=K[(3&n[t])<<4|n[t+1]>>4],r+=K[(15&n[t+1])<<2|n[t+2]>>6],r+=K[63&n[t+2]];return n.length%3===2?r=r.substring(0,r.length-1)+"=":n.length%3===1&&(r=r.substring(0,r.length-2)+"=="),r}function he(e,t){var n="";if(e&&(n=fe.call(e)),e&&("[object ArrayBuffer]"===n||e.buffer&&"[object ArrayBuffer]"===fe.call(e.buffer))){var r,o=$;e instanceof ArrayBuffer?(r=e,o+=ee):(r=e.buffer,"[object Int8Array]"===n?o+=ne:"[object Uint8Array]"===n?o+=re:"[object Uint8ClampedArray]"===n?o+=oe:"[object Int16Array]"===n?o+=ie:"[object Uint16Array]"===n?o+=ue:"[object Int32Array]"===n?o+=ae:"[object Uint32Array]"===n?o+=ce:"[object Float32Array]"===n?o+=le:"[object Float64Array]"===n?o+=se:t(new Error("Failed to get type for BinaryArray"))),t(o+ve(r))}else if("[object Blob]"===n){var i=new FileReader;i.onload=function(){var n=U+e.type+"~"+ve(this.result);t($+te+n)},i.readAsArrayBuffer(e)}else try{t(JSON.stringify(e))}catch(a){console.error("Couldn't convert value into a JSON string: ",e),t(null,a)}}function me(e){if(e.substring(0,q)!==$)return JSON.parse(e);var t,n=e.substring(de),r=e.substring(q,de);if(r===te&&G.test(n)){var o=n.match(G);t=o[1],n=n.substring(o[0].length)}var i=pe(n);switch(r){case ee:return i;case te:return c([i],{type:t});case ne:return new Int8Array(i);case re:return new Uint8Array(i);case oe:return new Uint8ClampedArray(i);case ie:return new Int16Array(i);case ue:return new Uint16Array(i);case ae:return new Int32Array(i);case ce:return new Uint32Array(i);case le:return new Float32Array(i);case se:return new Float64Array(i);default:throw new Error("Unkown type: "+r)}}var ge={serialize:he,deserialize:me,stringToBuffer:pe,bufferToString:ve};function be(e,t,n,r){e.executeSql("CREATE TABLE IF NOT EXISTS "+t.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],n,r)}function ye(e){var t=this,n={db:null};if(e)for(var r in e)n[r]="string"!==typeof e[r]?e[r].toString():e[r];var o=new l((function(e,r){try{n.db=openDatabase(n.name,String(n.version),n.description,n.size)}catch(o){return r(o)}n.db.transaction((function(o){be(o,n,(function(){t._dbInfo=n,e()}),(function(e,t){r(t)}))}),r)}));return n.serializer=ge,o}function Oe(e,t,n,r,o,i){e.executeSql(n,r,o,(function(e,a){a.code===a.SYNTAX_ERR?e.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[t.storeName],(function(e,u){u.rows.length?i(e,a):be(e,t,(function(){e.executeSql(n,r,o,i)}),i)}),i):i(e,a)}),i)}function Ce(e,t){var n=this;e=f(e);var r=new l((function(t,r){n.ready().then((function(){var o=n._dbInfo;o.db.transaction((function(n){Oe(n,o,"SELECT * FROM "+o.storeName+" WHERE key = ? LIMIT 1",[e],(function(e,n){var r=n.rows.length?n.rows.item(0).value:null;r&&(r=o.serializer.deserialize(r)),t(r)}),(function(e,t){r(t)}))}))}))["catch"](r)}));return s(r,t),r}function we(e,t){var n=this,r=new l((function(t,r){n.ready().then((function(){var o=n._dbInfo;o.db.transaction((function(n){Oe(n,o,"SELECT * FROM "+o.storeName,[],(function(n,r){for(var i=r.rows,a=i.length,u=0;u<a;u++){var c=i.item(u),l=c.value;if(l&&(l=o.serializer.deserialize(l)),l=e(l,c.key,u+1),void 0!==l)return void t(l)}t()}),(function(e,t){r(t)}))}))}))["catch"](r)}));return s(r,t),r}function Se(e,t,n,r){var o=this;e=f(e);var i=new l((function(i,a){o.ready().then((function(){void 0===t&&(t=null);var u=t,c=o._dbInfo;c.serializer.serialize(t,(function(t,l){l?a(l):c.db.transaction((function(n){Oe(n,c,"INSERT OR REPLACE INTO "+c.storeName+" (key, value) VALUES (?, ?)",[e,t],(function(){i(u)}),(function(e,t){a(t)}))}),(function(t){if(t.code===t.QUOTA_ERR){if(r>0)return void i(Se.apply(o,[e,u,n,r-1]));a(t)}}))}))}))["catch"](a)}));return s(i,n),i}function Ne(e,t,n){return Se.apply(this,[e,t,n,1])}function Me(e,t){var n=this;e=f(e);var r=new l((function(t,r){n.ready().then((function(){var o=n._dbInfo;o.db.transaction((function(n){Oe(n,o,"DELETE FROM "+o.storeName+" WHERE key = ?",[e],(function(){t()}),(function(e,t){r(t)}))}))}))["catch"](r)}));return s(r,t),r}function xe(e){var t=this,n=new l((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){Oe(t,r,"DELETE FROM "+r.storeName,[],(function(){e()}),(function(e,t){n(t)}))}))}))["catch"](n)}));return s(n,e),n}function je(e){var t=this,n=new l((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){Oe(t,r,"SELECT COUNT(key) as c FROM "+r.storeName,[],(function(t,n){var r=n.rows.item(0).c;e(r)}),(function(e,t){n(t)}))}))}))["catch"](n)}));return s(n,e),n}function Te(e,t){var n=this,r=new l((function(t,r){n.ready().then((function(){var o=n._dbInfo;o.db.transaction((function(n){Oe(n,o,"SELECT key FROM "+o.storeName+" WHERE id = ? LIMIT 1",[e+1],(function(e,n){var r=n.rows.length?n.rows.item(0).key:null;t(r)}),(function(e,t){r(t)}))}))}))["catch"](r)}));return s(r,t),r}function De(e){var t=this,n=new l((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){Oe(t,r,"SELECT key FROM "+r.storeName,[],(function(t,n){for(var r=[],o=0;o<n.rows.length;o++)r.push(n.rows.item(o).key);e(r)}),(function(e,t){n(t)}))}))}))["catch"](n)}));return s(n,e),n}function Ee(e){return new l((function(t,n){e.transaction((function(r){r.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],(function(n,r){for(var o=[],i=0;i<r.rows.length;i++)o.push(r.rows.item(i).name);t({db:e,storeNames:o})}),(function(e,t){n(t)}))}),(function(e){n(e)}))}))}function ke(e,t){t=p.apply(this,arguments);var n=this.config();e="function"!==typeof e&&e||{},e.name||(e.name=e.name||n.name,e.storeName=e.storeName||n.storeName);var r,o=this;return r=e.name?new l((function(t){var r;r=e.name===n.name?o._dbInfo.db:openDatabase(e.name,"","",0),e.storeName?t({db:r,storeNames:[e.storeName]}):t(Ee(r))})).then((function(e){return new l((function(t,n){e.db.transaction((function(r){function o(e){return new l((function(t,n){r.executeSql("DROP TABLE IF EXISTS "+e,[],(function(){t()}),(function(e,t){n(t)}))}))}for(var i=[],a=0,u=e.storeNames.length;a<u;a++)i.push(o(e.storeNames[a]));l.all(i).then((function(){t()}))["catch"]((function(e){n(e)}))}),(function(e){n(e)}))}))})):l.reject("Invalid arguments"),s(r,t),r}var Le={_driver:"webSQLStorage",_initStorage:ye,_support:W(),iterate:we,getItem:Ce,setItem:Ne,removeItem:Me,clear:xe,length:je,key:Te,keys:De,dropInstance:ke};function Ye(){try{return"undefined"!==typeof localStorage&&"setItem"in localStorage&&!!localStorage.setItem}catch(e){return!1}}function _e(e,t){var n=e.name+"/";return e.storeName!==t.storeName&&(n+=e.storeName+"/"),n}function Ae(){var e="_localforage_support_test";try{return localStorage.setItem(e,!0),localStorage.removeItem(e),!1}catch(t){return!0}}function Pe(){return!Ae()||localStorage.length>0}function Fe(e){var t=this,n={};if(e)for(var r in e)n[r]=e[r];return n.keyPrefix=_e(e,t._defaultConfig),Pe()?(t._dbInfo=n,n.serializer=ge,l.resolve()):l.reject()}function Ie(e){var t=this,n=t.ready().then((function(){for(var e=t._dbInfo.keyPrefix,n=localStorage.length-1;n>=0;n--){var r=localStorage.key(n);0===r.indexOf(e)&&localStorage.removeItem(r)}}));return s(n,e),n}function Be(e,t){var n=this;e=f(e);var r=n.ready().then((function(){var t=n._dbInfo,r=localStorage.getItem(t.keyPrefix+e);return r&&(r=t.serializer.deserialize(r)),r}));return s(r,t),r}function Ze(e,t){var n=this,r=n.ready().then((function(){for(var t=n._dbInfo,r=t.keyPrefix,o=r.length,i=localStorage.length,a=1,u=0;u<i;u++){var c=localStorage.key(u);if(0===c.indexOf(r)){var l=localStorage.getItem(c);if(l&&(l=t.serializer.deserialize(l)),l=e(l,c.substring(o),a++),void 0!==l)return l}}}));return s(r,t),r}function Re(e,t){var n=this,r=n.ready().then((function(){var t,r=n._dbInfo;try{t=localStorage.key(e)}catch(o){t=null}return t&&(t=t.substring(r.keyPrefix.length)),t}));return s(r,t),r}function He(e){var t=this,n=t.ready().then((function(){for(var e=t._dbInfo,n=localStorage.length,r=[],o=0;o<n;o++){var i=localStorage.key(o);0===i.indexOf(e.keyPrefix)&&r.push(i.substring(e.keyPrefix.length))}return r}));return s(n,e),n}function Ve(e){var t=this,n=t.keys().then((function(e){return e.length}));return s(n,e),n}function Xe(e,t){var n=this;e=f(e);var r=n.ready().then((function(){var t=n._dbInfo;localStorage.removeItem(t.keyPrefix+e)}));return s(r,t),r}function Je(e,t,n){var r=this;e=f(e);var o=r.ready().then((function(){void 0===t&&(t=null);var n=t;return new l((function(o,i){var a=r._dbInfo;a.serializer.serialize(t,(function(t,r){if(r)i(r);else try{localStorage.setItem(a.keyPrefix+e,t),o(n)}catch(u){"QuotaExceededError"!==u.name&&"NS_ERROR_DOM_QUOTA_REACHED"!==u.name||i(u),i(u)}}))}))}));return s(o,n),o}function ze(e,t){if(t=p.apply(this,arguments),e="function"!==typeof e&&e||{},!e.name){var n=this.config();e.name=e.name||n.name,e.storeName=e.storeName||n.storeName}var r,o=this;return r=e.name?new l((function(t){e.storeName?t(_e(e,o._defaultConfig)):t(e.name+"/")})).then((function(e){for(var t=localStorage.length-1;t>=0;t--){var n=localStorage.key(t);0===n.indexOf(e)&&localStorage.removeItem(n)}})):l.reject("Invalid arguments"),s(r,t),r}var Qe={_driver:"localStorageWrapper",_initStorage:Fe,_support:Ye(),iterate:Ze,getItem:Be,setItem:Je,removeItem:Xe,clear:Ie,length:Ve,key:Re,keys:He,dropInstance:ze},We=function(e,t){return e===t||"number"===typeof e&&"number"===typeof t&&isNaN(e)&&isNaN(t)},Ke=function(e,t){var n=e.length,r=0;while(r<n){if(We(e[r],t))return!0;r++}return!1},Ue=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},Ge={},$e={},qe={INDEXEDDB:Q,WEBSQL:Le,LOCALSTORAGE:Qe},et=[qe.INDEXEDDB._driver,qe.WEBSQL._driver,qe.LOCALSTORAGE._driver],tt=["dropInstance"],nt=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(tt),rt={description:"",driver:et.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function ot(e,t){e[t]=function(){var n=arguments;return e.ready().then((function(){return e[t].apply(e,n)}))}}function it(){for(var e=1;e<arguments.length;e++){var t=arguments[e];if(t)for(var n in t)t.hasOwnProperty(n)&&(Ue(t[n])?arguments[0][n]=t[n].slice():arguments[0][n]=t[n])}return arguments[0]}var at=function(){function e(t){for(var n in o(this,e),qe)if(qe.hasOwnProperty(n)){var r=qe[n],i=r._driver;this[n]=i,Ge[i]||this.defineDriver(r)}this._defaultConfig=it({},rt),this._config=it({},this._defaultConfig,t),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver)["catch"]((function(){}))}return e.prototype.config=function(e){if("object"===("undefined"===typeof e?"undefined":r(e))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var t in e){if("storeName"===t&&(e[t]=e[t].replace(/\W/g,"_")),"version"===t&&"number"!==typeof e[t])return new Error("Database version must be a number.");this._config[t]=e[t]}return!("driver"in e)||!e.driver||this.setDriver(this._config.driver)}return"string"===typeof e?this._config[e]:this._config},e.prototype.defineDriver=function(e,t,n){var r=new l((function(t,n){try{var r=e._driver,o=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!e._driver)return void n(o);for(var i=nt.concat("_initStorage"),a=0,u=i.length;a<u;a++){var c=i[a],d=!Ke(tt,c);if((d||e[c])&&"function"!==typeof e[c])return void n(o)}var f=function(){for(var t=function(e){return function(){var t=new Error("Method "+e+" is not implemented by the current driver"),n=l.reject(t);return s(n,arguments[arguments.length-1]),n}},n=0,r=tt.length;n<r;n++){var o=tt[n];e[o]||(e[o]=t(o))}};f();var p=function(n){Ge[r]&&console.info("Redefining LocalForage driver: "+r),Ge[r]=e,$e[r]=n,t()};"_support"in e?e._support&&"function"===typeof e._support?e._support().then(p,n):p(!!e._support):p(!0)}catch(v){n(v)}}));return d(r,t,n),r},e.prototype.driver=function(){return this._driver||null},e.prototype.getDriver=function(e,t,n){var r=Ge[e]?l.resolve(Ge[e]):l.reject(new Error("Driver not found."));return d(r,t,n),r},e.prototype.getSerializer=function(e){var t=l.resolve(ge);return d(t,e),t},e.prototype.ready=function(e){var t=this,n=t._driverSet.then((function(){return null===t._ready&&(t._ready=t._initDriver()),t._ready}));return d(n,e,e),n},e.prototype.setDriver=function(e,t,n){var r=this;Ue(e)||(e=[e]);var o=this._getSupportedDrivers(e);function i(){r._config.driver=r.driver()}function a(e){return r._extend(e),i(),r._ready=r._initStorage(r._config),r._ready}function u(e){return function(){var t=0;function n(){while(t<e.length){var o=e[t];return t++,r._dbInfo=null,r._ready=null,r.getDriver(o).then(a)["catch"](n)}i();var u=new Error("No available storage method found.");return r._driverSet=l.reject(u),r._driverSet}return n()}}var c=null!==this._driverSet?this._driverSet["catch"]((function(){return l.resolve()})):l.resolve();return this._driverSet=c.then((function(){var e=o[0];return r._dbInfo=null,r._ready=null,r.getDriver(e).then((function(e){r._driver=e._driver,i(),r._wrapLibraryMethodsWithReady(),r._initDriver=u(o)}))}))["catch"]((function(){i();var e=new Error("No available storage method found.");return r._driverSet=l.reject(e),r._driverSet})),d(this._driverSet,t,n),this._driverSet},e.prototype.supports=function(e){return!!$e[e]},e.prototype._extend=function(e){it(this,e)},e.prototype._getSupportedDrivers=function(e){for(var t=[],n=0,r=e.length;n<r;n++){var o=e[n];this.supports(o)&&t.push(o)}return t},e.prototype._wrapLibraryMethodsWithReady=function(){for(var e=0,t=nt.length;e<t;e++)ot(this,nt[e])},e.prototype.createInstance=function(t){return new e(t)},e}(),ut=new at;t.exports=ut},{3:3}]},{},[4])(4)}))}).call(this,n("c8ba"))},a04b:function(e,t,n){"use strict";var r=n("c04e"),o=n("d9b5");e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},a34a:function(e,t,n){var r=n("7ec2")();e.exports=r;try{regeneratorRuntime=r}catch(o){"object"===typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},a395:function(e,t,n){var r=n("7037")["default"],o=n("e50d");function i(e){var t=o(e,"string");return"symbol"==r(t)?t:t+""}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},a471:function(e,t,n){!function(t,r){e.exports=r(n("5a0c"))}(0,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),r={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){return"W"===t?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1100?"上午":n<1300?"中午":n<1800?"下午":"晚上"}};return n.default.locale(r,null,!0),r}))},a559:function(e,t){function n(){return e.exports=n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports["default"]=e.exports,n.apply(null,arguments)}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},ab36:function(e,t,n){"use strict";var r=n("861d"),o=n("9112");e.exports=function(e,t){r(t)&&"cause"in t&&o(e,"cause",t.cause)}},aeb0:function(e,t,n){"use strict";var r=n("9bf2").f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},aed9:function(e,t,n){"use strict";var r=n("83ab"),o=n("d039");e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},b20f:function(e,t,n){},b42e:function(e,t,n){"use strict";var r=Math.ceil,o=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?o:r)(t)}},b622:function(e,t,n){"use strict";var r=n("da84"),o=n("5692"),i=n("1a2d"),a=n("90e3"),u=n("04f8"),c=n("fdbf"),l=r.Symbol,s=o("wks"),d=c?l["for"]||l:l&&l.withoutSetter||a;e.exports=function(e){return i(s,e)||(s[e]=u&&i(l,e)?l[e]:d("Symbol."+e)),s[e]}},b980:function(e,t,n){"use strict";var r=n("d039"),o=n("5c6c");e.exports=!r((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",o(1,7)),7!==e.stack)}))},c04e:function(e,t,n){"use strict";var r=n("c65b"),o=n("861d"),i=n("d9b5"),a=n("dc4a"),u=n("485a"),c=n("b622"),l=TypeError,s=c("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var n,c=a(e,s);if(c){if(void 0===t&&(t="default"),n=r(c,e,t),!o(n)||i(n))return n;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),u(e,t)}},c0e2:function(e,t){function n(){}n.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;for(r;r<o;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t)for(var i=0,a=r.length;i<a;i++)r[i].fn!==t&&r[i].fn._!==t&&o.push(r[i]);return o.length?n[e]=o:delete n[e],this}},e.exports=n,e.exports.TinyEmitter=n},c1df:function(e,t,n){(function(e){var t;//! moment.js
|
|
25
|
-
//! version : 2.30.1
|
|
26
|
-
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
27
|
-
//! license : MIT
|
|
28
|
-
//! momentjs.com
|
|
29
|
-
(function(t,n){e.exports=n()})(0,(function(){"use strict";var n,r;function o(){return n.apply(null,arguments)}function i(e){n=e}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function u(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(c(e,t))return!1;return!0}function s(e){return void 0===e}function d(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function f(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function p(e,t){var n,r=[],o=e.length;for(n=0;n<o;++n)r.push(t(e[n],n));return r}function v(e,t){for(var n in t)c(t,n)&&(e[n]=t[n]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,r){return Kn(e,t,n,r,!0).utc()}function m(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function g(e){return null==e._pf&&(e._pf=m()),e._pf}function b(e){var t=null,n=!1,o=e._d&&!isNaN(e._d.getTime());return o&&(t=g(e),n=r.call(t.parsedDateParts,(function(e){return null!=e})),o=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(o=o&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e)?o:(e._isValid=o,e._isValid)}function y(e){var t=h(NaN);return null!=e?v(g(t),e):g(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var O=o.momentProperties=[],C=!1;function w(e,t){var n,r,o,i=O.length;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=g(t)),s(t._locale)||(e._locale=t._locale),i>0)for(n=0;n<i;n++)r=O[n],o=t[r],s(o)||(e[r]=o);return e}function S(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===C&&(C=!0,o.updateOffset(this),C=!1)}function N(e){return e instanceof S||null!=e&&null!=e._isAMomentObject}function M(e){!1===o.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function x(e,t){var n=!0;return v((function(){if(null!=o.deprecationHandler&&o.deprecationHandler(null,e),n){var r,i,a,u=[],l=arguments.length;for(i=0;i<l;i++){if(r="","object"===typeof arguments[i]){for(a in r+="\n["+i+"] ",arguments[0])c(arguments[0],a)&&(r+=a+": "+arguments[0][a]+", ");r=r.slice(0,-2)}else r=arguments[i];u.push(r)}M(e+"\nArguments: "+Array.prototype.slice.call(u).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var j,T={};function D(e,t){null!=o.deprecationHandler&&o.deprecationHandler(e,t),T[e]||(M(t),T[e]=!0)}function E(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function k(e){var t,n;for(n in e)c(e,n)&&(t=e[n],E(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function L(e,t){var n,r=v({},e);for(n in t)c(t,n)&&(u(e[n])&&u(t[n])?(r[n]={},v(r[n],e[n]),v(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)c(e,n)&&!c(t,n)&&u(e[n])&&(r[n]=v({},r[n]));return r}function Y(e){null!=e&&this.set(e)}o.suppressDeprecationWarnings=!1,o.deprecationHandler=null,j=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};var _={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function A(e,t,n){var r=this._calendar[e]||this._calendar["sameElse"];return E(r)?r.call(t,n):r}function P(e,t,n){var r=""+Math.abs(e),o=t-r.length,i=e>=0;return(i?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}var F=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,I=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,B={},Z={};function R(e,t,n,r){var o=r;"string"===typeof r&&(o=function(){return this[r]()}),e&&(Z[e]=o),t&&(Z[t[0]]=function(){return P(o.apply(this,arguments),t[1],t[2])}),n&&(Z[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function H(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function V(e){var t,n,r=e.match(F);for(t=0,n=r.length;t<n;t++)Z[r[t]]?r[t]=Z[r[t]]:r[t]=H(r[t]);return function(t){var o,i="";for(o=0;o<n;o++)i+=E(r[o])?r[o].call(t,e):r[o];return i}}function X(e,t){return e.isValid()?(t=J(t,e.localeData()),B[t]=B[t]||V(t),B[t](e)):e.localeData().invalidDate()}function J(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}I.lastIndex=0;while(n>=0&&I.test(e))e=e.replace(I,r),I.lastIndex=0,n-=1;return e}var z={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Q(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(F).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var W="Invalid date";function K(){return this._invalidDate}var U="%d",G=/\d{1,2}/;function $(e){return this._ordinal.replace("%d",e)}var q={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function ee(e,t,n,r){var o=this._relativeTime[n];return E(o)?o(e,t,n,r):o.replace(/%d/i,e)}function te(e,t){var n=this._relativeTime[e>0?"future":"past"];return E(n)?n(t):n.replace(/%s/i,t)}var ne={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function re(e){return"string"===typeof e?ne[e]||ne[e.toLowerCase()]:void 0}function oe(e){var t,n,r={};for(n in e)c(e,n)&&(t=re(n),t&&(r[t]=e[n]));return r}var ie={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function ae(e){var t,n=[];for(t in e)c(e,t)&&n.push({unit:t,priority:ie[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}var ue,ce=/\d/,le=/\d\d/,se=/\d{3}/,de=/\d{4}/,fe=/[+-]?\d{6}/,pe=/\d\d?/,ve=/\d\d\d\d?/,he=/\d\d\d\d\d\d?/,me=/\d{1,3}/,ge=/\d{1,4}/,be=/[+-]?\d{1,6}/,ye=/\d+/,Oe=/[+-]?\d+/,Ce=/Z|[+-]\d\d:?\d\d/gi,we=/Z|[+-]\d\d(?::?\d\d)?/gi,Se=/[+-]?\d+(\.\d{1,3})?/,Ne=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Me=/^[1-9]\d?/,xe=/^([1-9]\d|\d)/;function je(e,t,n){ue[e]=E(t)?t:function(e,r){return e&&n?n:t}}function Te(e,t){return c(ue,e)?ue[e](t._strict,t._locale):new RegExp(De(e))}function De(e){return Ee(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,o){return t||n||r||o})))}function Ee(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ke(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Le(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ke(t)),n}ue={};var Ye={};function _e(e,t){var n,r,o=t;for("string"===typeof e&&(e=[e]),d(t)&&(o=function(e,n){n[t]=Le(e)}),r=e.length,n=0;n<r;n++)Ye[e[n]]=o}function Ae(e,t){_e(e,(function(e,n,r,o){r._w=r._w||{},t(e,r._w,r,o)}))}function Pe(e,t,n){null!=t&&c(Ye,e)&&Ye[e](t,n._a,n,e)}function Fe(e){return e%4===0&&e%100!==0||e%400===0}var Ie=0,Be=1,Ze=2,Re=3,He=4,Ve=5,Xe=6,Je=7,ze=8;function Qe(e){return Fe(e)?366:365}R("Y",0,0,(function(){var e=this.year();return e<=9999?P(e,4):"+"+e})),R(0,["YY",2],0,(function(){return this.year()%100})),R(0,["YYYY",4],0,"year"),R(0,["YYYYY",5],0,"year"),R(0,["YYYYYY",6,!0],0,"year"),je("Y",Oe),je("YY",pe,le),je("YYYY",ge,de),je("YYYYY",be,fe),je("YYYYYY",be,fe),_e(["YYYYY","YYYYYY"],Ie),_e("YYYY",(function(e,t){t[Ie]=2===e.length?o.parseTwoDigitYear(e):Le(e)})),_e("YY",(function(e,t){t[Ie]=o.parseTwoDigitYear(e)})),_e("Y",(function(e,t){t[Ie]=parseInt(e,10)})),o.parseTwoDigitYear=function(e){return Le(e)+(Le(e)>68?1900:2e3)};var We,Ke=Ge("FullYear",!0);function Ue(){return Fe(this.year())}function Ge(e,t){return function(n){return null!=n?(qe(this,e,n),o.updateOffset(this,t),this):$e(this,e)}}function $e(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function qe(e,t,n){var r,o,i,a,u;if(e.isValid()&&!isNaN(n)){switch(r=e._d,o=e._isUTC,t){case"Milliseconds":return void(o?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(o?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(o?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(o?r.setUTCHours(n):r.setHours(n));case"Date":return void(o?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}i=n,a=e.month(),u=e.date(),u=29!==u||1!==a||Fe(i)?u:28,o?r.setUTCFullYear(i,a,u):r.setFullYear(i,a,u)}}function et(e){return e=re(e),E(this[e])?this[e]():this}function tt(e,t){if("object"===typeof e){e=oe(e);var n,r=ae(e),o=r.length;for(n=0;n<o;n++)this[r[n].unit](e[r[n].unit])}else if(e=re(e),E(this[e]))return this[e](t);return this}function nt(e,t){return(e%t+t)%t}function rt(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=nt(t,12);return e+=(t-n)/12,1===n?Fe(e)?29:28:31-n%7%2}We=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},R("M",["MM",2],"Mo",(function(){return this.month()+1})),R("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),R("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),je("M",pe,Me),je("MM",pe,le),je("MMM",(function(e,t){return t.monthsShortRegex(e)})),je("MMMM",(function(e,t){return t.monthsRegex(e)})),_e(["M","MM"],(function(e,t){t[Be]=Le(e)-1})),_e(["MMM","MMMM"],(function(e,t,n,r){var o=n._locale.monthsParse(e,r,n._strict);null!=o?t[Be]=o:g(n).invalidMonth=e}));var ot="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),it="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),at=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ut=Ne,ct=Ne;function lt(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||at).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months["standalone"]}function st(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[at.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort["standalone"]}function dt(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=h([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?(o=We.call(this._shortMonthsParse,a),-1!==o?o:null):(o=We.call(this._longMonthsParse,a),-1!==o?o:null):"MMM"===t?(o=We.call(this._shortMonthsParse,a),-1!==o?o:(o=We.call(this._longMonthsParse,a),-1!==o?o:null)):(o=We.call(this._longMonthsParse,a),-1!==o?o:(o=We.call(this._shortMonthsParse,a),-1!==o?o:null))}function ft(e,t,n){var r,o,i;if(this._monthsParseExact)return dt.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=h([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function pt(e,t){if(!e.isValid())return e;if("string"===typeof t)if(/^\d+$/.test(t))t=Le(t);else if(t=e.localeData().monthsParse(t),!d(t))return e;var n=t,r=e.date();return r=r<29?r:Math.min(r,rt(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,r):e._d.setMonth(n,r),e}function vt(e){return null!=e?(pt(this,e),o.updateOffset(this,!0),this):$e(this,"Month")}function ht(){return rt(this.year(),this.month())}function mt(e){return this._monthsParseExact?(c(this,"_monthsRegex")||bt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=ut),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function gt(e){return this._monthsParseExact?(c(this,"_monthsRegex")||bt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=ct),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function bt(){function e(e,t){return t.length-e.length}var t,n,r,o,i=[],a=[],u=[];for(t=0;t<12;t++)n=h([2e3,t]),r=Ee(this.monthsShort(n,"")),o=Ee(this.months(n,"")),i.push(r),a.push(o),u.push(o),u.push(r);i.sort(e),a.sort(e),u.sort(e),this._monthsRegex=new RegExp("^("+u.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function yt(e,t,n,r,o,i,a){var u;return e<100&&e>=0?(u=new Date(e+400,t,n,r,o,i,a),isFinite(u.getFullYear())&&u.setFullYear(e)):u=new Date(e,t,n,r,o,i,a),u}function Ot(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ct(e,t,n){var r=7+t-n,o=(7+Ot(e,0,r).getUTCDay()-t)%7;return-o+r-1}function wt(e,t,n,r,o){var i,a,u=(7+n-r)%7,c=Ct(e,r,o),l=1+7*(t-1)+u+c;return l<=0?(i=e-1,a=Qe(i)+l):l>Qe(e)?(i=e+1,a=l-Qe(e)):(i=e,a=l),{year:i,dayOfYear:a}}function St(e,t,n){var r,o,i=Ct(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?(o=e.year()-1,r=a+Nt(o,t,n)):a>Nt(e.year(),t,n)?(r=a-Nt(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function Nt(e,t,n){var r=Ct(e,t,n),o=Ct(e+1,t,n);return(Qe(e)-r+o)/7}function Mt(e){return St(e,this._week.dow,this._week.doy).week}R("w",["ww",2],"wo","week"),R("W",["WW",2],"Wo","isoWeek"),je("w",pe,Me),je("ww",pe,le),je("W",pe,Me),je("WW",pe,le),Ae(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=Le(e)}));var xt={dow:0,doy:6};function jt(){return this._week.dow}function Tt(){return this._week.doy}function Dt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Et(e){var t=St(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function kt(e,t){return"string"!==typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"===typeof e?e:null):parseInt(e,10)}function Lt(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Yt(e,t){return e.slice(t,7).concat(e.slice(0,t))}R("d",0,"do","day"),R("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),R("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),R("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),R("e",0,0,"weekday"),R("E",0,0,"isoWeekday"),je("d",pe),je("e",pe),je("E",pe),je("dd",(function(e,t){return t.weekdaysMinRegex(e)})),je("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),je("dddd",(function(e,t){return t.weekdaysRegex(e)})),Ae(["dd","ddd","dddd"],(function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:g(n).invalidWeekday=e})),Ae(["d","e","E"],(function(e,t,n,r){t[r]=Le(e)}));var _t="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),At="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Pt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ft=Ne,It=Ne,Bt=Ne;function Zt(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Yt(n,this._week.dow):e?n[e.day()]:n}function Rt(e){return!0===e?Yt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ht(e){return!0===e?Yt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Vt(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?(o=We.call(this._weekdaysParse,a),-1!==o?o:null):"ddd"===t?(o=We.call(this._shortWeekdaysParse,a),-1!==o?o:null):(o=We.call(this._minWeekdaysParse,a),-1!==o?o:null):"dddd"===t?(o=We.call(this._weekdaysParse,a),-1!==o?o:(o=We.call(this._shortWeekdaysParse,a),-1!==o?o:(o=We.call(this._minWeekdaysParse,a),-1!==o?o:null))):"ddd"===t?(o=We.call(this._shortWeekdaysParse,a),-1!==o?o:(o=We.call(this._weekdaysParse,a),-1!==o?o:(o=We.call(this._minWeekdaysParse,a),-1!==o?o:null))):(o=We.call(this._minWeekdaysParse,a),-1!==o?o:(o=We.call(this._weekdaysParse,a),-1!==o?o:(o=We.call(this._shortWeekdaysParse,a),-1!==o?o:null)))}function Xt(e,t,n){var r,o,i;if(this._weekdaysParseExact)return Vt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Jt(e){if(!this.isValid())return null!=e?this:NaN;var t=$e(this,"Day");return null!=e?(e=kt(e,this.localeData()),this.add(e-t,"d")):t}function zt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Qt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Lt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Wt(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Gt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Ft),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Kt(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Gt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=It),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ut(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Gt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Bt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Gt(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],u=[],c=[],l=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),r=Ee(this.weekdaysMin(n,"")),o=Ee(this.weekdaysShort(n,"")),i=Ee(this.weekdays(n,"")),a.push(r),u.push(o),c.push(i),l.push(r),l.push(o),l.push(i);a.sort(e),u.sort(e),c.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function $t(){return this.hours()%12||12}function qt(){return this.hours()||24}function en(e,t){R(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function tn(e,t){return t._meridiemParse}function nn(e){return"p"===(e+"").toLowerCase().charAt(0)}R("H",["HH",2],0,"hour"),R("h",["hh",2],0,$t),R("k",["kk",2],0,qt),R("hmm",0,0,(function(){return""+$t.apply(this)+P(this.minutes(),2)})),R("hmmss",0,0,(function(){return""+$t.apply(this)+P(this.minutes(),2)+P(this.seconds(),2)})),R("Hmm",0,0,(function(){return""+this.hours()+P(this.minutes(),2)})),R("Hmmss",0,0,(function(){return""+this.hours()+P(this.minutes(),2)+P(this.seconds(),2)})),en("a",!0),en("A",!1),je("a",tn),je("A",tn),je("H",pe,xe),je("h",pe,Me),je("k",pe,Me),je("HH",pe,le),je("hh",pe,le),je("kk",pe,le),je("hmm",ve),je("hmmss",he),je("Hmm",ve),je("Hmmss",he),_e(["H","HH"],Re),_e(["k","kk"],(function(e,t,n){var r=Le(e);t[Re]=24===r?0:r})),_e(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),_e(["h","hh"],(function(e,t,n){t[Re]=Le(e),g(n).bigHour=!0})),_e("hmm",(function(e,t,n){var r=e.length-2;t[Re]=Le(e.substr(0,r)),t[He]=Le(e.substr(r)),g(n).bigHour=!0})),_e("hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[Re]=Le(e.substr(0,r)),t[He]=Le(e.substr(r,2)),t[Ve]=Le(e.substr(o)),g(n).bigHour=!0})),_e("Hmm",(function(e,t,n){var r=e.length-2;t[Re]=Le(e.substr(0,r)),t[He]=Le(e.substr(r))})),_e("Hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[Re]=Le(e.substr(0,r)),t[He]=Le(e.substr(r,2)),t[Ve]=Le(e.substr(o))}));var rn=/[ap]\.?m?\.?/i,on=Ge("Hours",!0);function an(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var un,cn={calendar:_,longDateFormat:z,invalidDate:W,ordinal:U,dayOfMonthOrdinalParse:G,relativeTime:q,months:ot,monthsShort:it,week:xt,weekdays:_t,weekdaysMin:Pt,weekdaysShort:At,meridiemParse:rn},ln={},sn={};function dn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function fn(e){return e?e.toLowerCase().replace("_","-"):e}function pn(e){var t,n,r,o,i=0;while(i<e.length){o=fn(e[i]).split("-"),t=o.length,n=fn(e[i+1]),n=n?n.split("-"):null;while(t>0){if(r=hn(o.slice(0,t).join("-")),r)return r;if(n&&n.length>=t&&dn(o,n)>=t-1)break;t--}i++}return un}function vn(e){return!(!e||!e.match("^[^/\\\\]*$"))}function hn(n){var r=null;if(void 0===ln[n]&&"undefined"!==typeof e&&e&&e.exports&&vn(n))try{r=un._abbr,t,function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}(),mn(r)}catch(o){ln[n]=null}return ln[n]}function mn(e,t){var n;return e&&(n=s(t)?yn(e):gn(e,t),n?un=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),un._abbr}function gn(e,t){if(null!==t){var n,r=cn;if(t.abbr=e,null!=ln[e])D("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ln[e]._config;else if(null!=t.parentLocale)if(null!=ln[t.parentLocale])r=ln[t.parentLocale]._config;else{if(n=hn(t.parentLocale),null==n)return sn[t.parentLocale]||(sn[t.parentLocale]=[]),sn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ln[e]=new Y(L(r,t)),sn[e]&&sn[e].forEach((function(e){gn(e.name,e.config)})),mn(e),ln[e]}return delete ln[e],null}function bn(e,t){if(null!=t){var n,r,o=cn;null!=ln[e]&&null!=ln[e].parentLocale?ln[e].set(L(ln[e]._config,t)):(r=hn(e),null!=r&&(o=r._config),t=L(o,t),null==r&&(t.abbr=e),n=new Y(t),n.parentLocale=ln[e],ln[e]=n),mn(e)}else null!=ln[e]&&(null!=ln[e].parentLocale?(ln[e]=ln[e].parentLocale,e===mn()&&mn(e)):null!=ln[e]&&delete ln[e]);return ln[e]}function yn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return un;if(!a(e)){if(t=hn(e),t)return t;e=[e]}return pn(e)}function On(){return j(ln)}function Cn(e){var t,n=e._a;return n&&-2===g(e).overflow&&(t=n[Be]<0||n[Be]>11?Be:n[Ze]<1||n[Ze]>rt(n[Ie],n[Be])?Ze:n[Re]<0||n[Re]>24||24===n[Re]&&(0!==n[He]||0!==n[Ve]||0!==n[Xe])?Re:n[He]<0||n[He]>59?He:n[Ve]<0||n[Ve]>59?Ve:n[Xe]<0||n[Xe]>999?Xe:-1,g(e)._overflowDayOfYear&&(t<Ie||t>Ze)&&(t=Ze),g(e)._overflowWeeks&&-1===t&&(t=Je),g(e)._overflowWeekday&&-1===t&&(t=ze),g(e).overflow=t),e}var wn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Sn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Nn=/Z|[+-]\d\d(?::?\d\d)?/,Mn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],xn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],jn=/^\/?Date\((-?\d+)/i,Tn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Dn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(e){var t,n,r,o,i,a,u=e._i,c=wn.exec(u)||Sn.exec(u),l=Mn.length,s=xn.length;if(c){for(g(e).iso=!0,t=0,n=l;t<n;t++)if(Mn[t][1].exec(c[1])){o=Mn[t][0],r=!1!==Mn[t][2];break}if(null==o)return void(e._isValid=!1);if(c[3]){for(t=0,n=s;t<n;t++)if(xn[t][1].exec(c[3])){i=(c[2]||" ")+xn[t][0];break}if(null==i)return void(e._isValid=!1)}if(!r&&null!=i)return void(e._isValid=!1);if(c[4]){if(!Nn.exec(c[4]))return void(e._isValid=!1);a="Z"}e._f=o+(i||"")+(a||""),Hn(e)}else e._isValid=!1}function kn(e,t,n,r,o,i){var a=[Ln(e),it.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(o,10)];return i&&a.push(parseInt(i,10)),a}function Ln(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Yn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function _n(e,t,n){if(e){var r=At.indexOf(e),o=new Date(t[0],t[1],t[2]).getDay();if(r!==o)return g(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function An(e,t,n){if(e)return Dn[e];if(t)return 0;var r=parseInt(n,10),o=r%100,i=(r-o)/100;return 60*i+o}function Pn(e){var t,n=Tn.exec(Yn(e._i));if(n){if(t=kn(n[4],n[3],n[2],n[5],n[6],n[7]),!_n(n[1],t,e))return;e._a=t,e._tzm=An(n[8],n[9],n[10]),e._d=Ot.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}function Fn(e){var t=jn.exec(e._i);null===t?(En(e),!1===e._isValid&&(delete e._isValid,Pn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:o.createFromInputFallback(e)))):e._d=new Date(+t[1])}function In(e,t,n){return null!=e?e:null!=t?t:n}function Bn(e){var t=new Date(o.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Zn(e){var t,n,r,o,i,a=[];if(!e._d){for(r=Bn(e),e._w&&null==e._a[Ze]&&null==e._a[Be]&&Rn(e),null!=e._dayOfYear&&(i=In(e._a[Ie],r[Ie]),(e._dayOfYear>Qe(i)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=Ot(i,0,e._dayOfYear),e._a[Be]=n.getUTCMonth(),e._a[Ze]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Re]&&0===e._a[He]&&0===e._a[Ve]&&0===e._a[Xe]&&(e._nextDay=!0,e._a[Re]=0),e._d=(e._useUTC?Ot:yt).apply(null,a),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Re]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==o&&(g(e).weekdayMismatch=!0)}}function Rn(e){var t,n,r,o,i,a,u,c,l;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(i=1,a=4,n=In(t.GG,e._a[Ie],St(Un(),1,4).year),r=In(t.W,1),o=In(t.E,1),(o<1||o>7)&&(c=!0)):(i=e._locale._week.dow,a=e._locale._week.doy,l=St(Un(),i,a),n=In(t.gg,e._a[Ie],l.year),r=In(t.w,l.week),null!=t.d?(o=t.d,(o<0||o>6)&&(c=!0)):null!=t.e?(o=t.e+i,(t.e<0||t.e>6)&&(c=!0)):o=i),r<1||r>Nt(n,i,a)?g(e)._overflowWeeks=!0:null!=c?g(e)._overflowWeekday=!0:(u=wt(n,r,o,i,a),e._a[Ie]=u.year,e._dayOfYear=u.dayOfYear)}function Hn(e){if(e._f!==o.ISO_8601)if(e._f!==o.RFC_2822){e._a=[],g(e).empty=!0;var t,n,r,i,a,u,c,l=""+e._i,s=l.length,d=0;for(r=J(e._f,e._locale).match(F)||[],c=r.length,t=0;t<c;t++)i=r[t],n=(l.match(Te(i,e))||[])[0],n&&(a=l.substr(0,l.indexOf(n)),a.length>0&&g(e).unusedInput.push(a),l=l.slice(l.indexOf(n)+n.length),d+=n.length),Z[i]?(n?g(e).empty=!1:g(e).unusedTokens.push(i),Pe(i,n,e)):e._strict&&!n&&g(e).unusedTokens.push(i);g(e).charsLeftOver=s-d,l.length>0&&g(e).unusedInput.push(l),e._a[Re]<=12&&!0===g(e).bigHour&&e._a[Re]>0&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[Re]=Vn(e._locale,e._a[Re],e._meridiem),u=g(e).era,null!==u&&(e._a[Ie]=e._locale.erasConvertYear(u,e._a[Ie])),Zn(e),Cn(e)}else Pn(e);else En(e)}function Vn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Xn(e){var t,n,r,o,i,a,u=!1,c=e._f.length;if(0===c)return g(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<c;o++)i=0,a=!1,t=w({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],Hn(t),b(t)&&(a=!0),i+=g(t).charsLeftOver,i+=10*g(t).unusedTokens.length,g(t).score=i,u?i<r&&(r=i,n=t):(null==r||i<r||a)&&(r=i,n=t,a&&(u=!0));v(e,n||t)}function Jn(e){if(!e._d){var t=oe(e._i),n=void 0===t.day?t.date:t.day;e._a=p([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Zn(e)}}function zn(e){var t=new S(Cn(Qn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Qn(e){var t=e._i,n=e._f;return e._locale=e._locale||yn(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"===typeof t&&(e._i=t=e._locale.preparse(t)),N(t)?new S(Cn(t)):(f(t)?e._d=t:a(n)?Xn(e):n?Hn(e):Wn(e),b(e)||(e._d=null),e))}function Wn(e){var t=e._i;s(t)?e._d=new Date(o.now()):f(t)?e._d=new Date(t.valueOf()):"string"===typeof t?Fn(e):a(t)?(e._a=p(t.slice(0),(function(e){return parseInt(e,10)})),Zn(e)):u(t)?Jn(e):d(t)?e._d=new Date(t):o.createFromInputFallback(e)}function Kn(e,t,n,r,o){var i={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(u(e)&&l(e)||a(e)&&0===e.length)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=o,i._l=n,i._i=e,i._f=t,i._strict=r,zn(i)}function Un(e,t,n,r){return Kn(e,t,n,r,!1)}o.createFromInputFallback=x("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),o.ISO_8601=function(){},o.RFC_2822=function(){};var Gn=x("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Un.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:y()})),$n=x("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Un.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:y()}));function qn(e,t){var n,r;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Un();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function er(){var e=[].slice.call(arguments,0);return qn("isBefore",e)}function tr(){var e=[].slice.call(arguments,0);return qn("isAfter",e)}var nr=function(){return Date.now?Date.now():+new Date},rr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function or(e){var t,n,r=!1,o=rr.length;for(t in e)if(c(e,t)&&(-1===We.call(rr,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<o;++n)if(e[rr[n]]){if(r)return!1;parseFloat(e[rr[n]])!==Le(e[rr[n]])&&(r=!0)}return!0}function ir(){return this._isValid}function ar(){return Dr(NaN)}function ur(e){var t=oe(e),n=t.year||0,r=t.quarter||0,o=t.month||0,i=t.week||t.isoWeek||0,a=t.day||0,u=t.hour||0,c=t.minute||0,l=t.second||0,s=t.millisecond||0;this._isValid=or(t),this._milliseconds=+s+1e3*l+6e4*c+1e3*u*60*60,this._days=+a+7*i,this._months=+o+3*r+12*n,this._data={},this._locale=yn(),this._bubble()}function cr(e){return e instanceof ur}function lr(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function sr(e,t,n){var r,o=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0;for(r=0;r<o;r++)(n&&e[r]!==t[r]||!n&&Le(e[r])!==Le(t[r]))&&a++;return a+i}function dr(e,t){R(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+P(~~(e/60),2)+t+P(~~e%60,2)}))}dr("Z",":"),dr("ZZ",""),je("Z",we),je("ZZ",we),_e(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=pr(we,e)}));var fr=/([\+\-]|\d\d)/gi;function pr(e,t){var n,r,o,i=(t||"").match(e);return null===i?null:(n=i[i.length-1]||[],r=(n+"").match(fr)||["-",0,0],o=60*r[1]+Le(r[2]),0===o?0:"+"===r[0]?o:-o)}function vr(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(N(e)||f(e)?e.valueOf():Un(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),o.updateOffset(n,!1),n):Un(e).local()}function hr(e){return-Math.round(e._d.getTimezoneOffset())}function mr(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"===typeof e){if(e=pr(we,e),null===e)return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=hr(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?_r(this,Dr(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,o.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:hr(this)}function gr(e,t){return null!=e?("string"!==typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function br(e){return this.utcOffset(0,e)}function yr(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(hr(this),"m")),this}function Or(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var e=pr(Ce,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Cr(e){return!!this.isValid()&&(e=e?Un(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function wr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Sr(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),t=Qn(t),t._a?(e=t._isUTC?h(t._a):Un(t._a),this._isDSTShifted=this.isValid()&&sr(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Nr(){return!!this.isValid()&&!this._isUTC}function Mr(){return!!this.isValid()&&this._isUTC}function xr(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}o.updateOffset=function(){};var jr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Tr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Dr(e,t){var n,r,o,i=e,a=null;return cr(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:d(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(a=jr.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:Le(a[Ze])*n,h:Le(a[Re])*n,m:Le(a[He])*n,s:Le(a[Ve])*n,ms:Le(lr(1e3*a[Xe]))*n}):(a=Tr.exec(e))?(n="-"===a[1]?-1:1,i={y:Er(a[2],n),M:Er(a[3],n),w:Er(a[4],n),d:Er(a[5],n),h:Er(a[6],n),m:Er(a[7],n),s:Er(a[8],n)}):null==i?i={}:"object"===typeof i&&("from"in i||"to"in i)&&(o=Lr(Un(i.from),Un(i.to)),i={},i.ms=o.milliseconds,i.M=o.months),r=new ur(i),cr(e)&&c(e,"_locale")&&(r._locale=e._locale),cr(e)&&c(e,"_isValid")&&(r._isValid=e._isValid),r}function Er(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function kr(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Lr(e,t){var n;return e.isValid()&&t.isValid()?(t=vr(t,e),e.isBefore(t)?n=kr(e,t):(n=kr(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Yr(e,t){return function(n,r){var o,i;return null===r||isNaN(+r)||(D(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),o=Dr(n,r),_r(this,o,e),this}}function _r(e,t,n,r){var i=t._milliseconds,a=lr(t._days),u=lr(t._months);e.isValid()&&(r=null==r||r,u&&pt(e,$e(e,"Month")+u*n),a&&qe(e,"Date",$e(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&o.updateOffset(e,a||u))}Dr.fn=ur.prototype,Dr.invalid=ar;var Ar=Yr(1,"add"),Pr=Yr(-1,"subtract");function Fr(e){return"string"===typeof e||e instanceof String}function Ir(e){return N(e)||f(e)||Fr(e)||d(e)||Zr(e)||Br(e)||null===e||void 0===e}function Br(e){var t,n,r=u(e)&&!l(e),o=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=i.length;for(t=0;t<a;t+=1)n=i[t],o=o||c(e,n);return r&&o}function Zr(e){var t=a(e),n=!1;return t&&(n=0===e.filter((function(t){return!d(t)&&Fr(e)})).length),t&&n}function Rr(e){var t,n,r=u(e)&&!l(e),o=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<i.length;t+=1)n=i[t],o=o||c(e,n);return r&&o}function Hr(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Vr(e,t){1===arguments.length&&(arguments[0]?Ir(arguments[0])?(e=arguments[0],t=void 0):Rr(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Un(),r=vr(n,this).startOf("day"),i=o.calendarFormat(this,r)||"sameElse",a=t&&(E(t[i])?t[i].call(this,n):t[i]);return this.format(a||this.localeData().calendar(i,this,Un(n)))}function Xr(){return new S(this)}function Jr(e,t){var n=N(e)?e:Un(e);return!(!this.isValid()||!n.isValid())&&(t=re(t)||"millisecond","millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function zr(e,t){var n=N(e)?e:Un(e);return!(!this.isValid()||!n.isValid())&&(t=re(t)||"millisecond","millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Qr(e,t,n,r){var o=N(e)?e:Un(e),i=N(t)?t:Un(t);return!!(this.isValid()&&o.isValid()&&i.isValid())&&(r=r||"()",("("===r[0]?this.isAfter(o,n):!this.isBefore(o,n))&&(")"===r[1]?this.isBefore(i,n):!this.isAfter(i,n)))}function Wr(e,t){var n,r=N(e)?e:Un(e);return!(!this.isValid()||!r.isValid())&&(t=re(t)||"millisecond","millisecond"===t?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Kr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Ur(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Gr(e,t,n){var r,o,i;if(!this.isValid())return NaN;if(r=vr(e,this),!r.isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),t=re(t),t){case"year":i=$r(this,r)/12;break;case"month":i=$r(this,r);break;case"quarter":i=$r(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-o)/864e5;break;case"week":i=(this-r-o)/6048e5;break;default:i=this-r}return n?i:ke(i)}function $r(e,t){if(e.date()<t.date())return-$r(t,e);var n,r,o=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(o,"months");return t-i<0?(n=e.clone().add(o-1,"months"),r=(t-i)/(i-n)):(n=e.clone().add(o+1,"months"),r=(t-i)/(n-i)),-(o+r)||0}function qr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function eo(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?X(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):E(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",X(n,"Z")):X(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function to(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,o="moment",i="";return this.isLocal()||(o=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+o+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=i+'[")]',this.format(e+t+n+r)}function no(e){e||(e=this.isUtc()?o.defaultFormatUtc:o.defaultFormat);var t=X(this,e);return this.localeData().postformat(t)}function ro(e,t){return this.isValid()&&(N(e)&&e.isValid()||Un(e).isValid())?Dr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function oo(e){return this.from(Un(),e)}function io(e,t){return this.isValid()&&(N(e)&&e.isValid()||Un(e).isValid())?Dr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ao(e){return this.to(Un(),e)}function uo(e){var t;return void 0===e?this._locale._abbr:(t=yn(e),null!=t&&(this._locale=t),this)}o.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",o.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var co=x("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function lo(){return this._locale}var so=1e3,fo=60*so,po=60*fo,vo=3506328*po;function ho(e,t){return(e%t+t)%t}function mo(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-vo:new Date(e,t,n).valueOf()}function go(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-vo:Date.UTC(e,t,n)}function bo(e){var t,n;if(e=re(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?go:mo,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ho(t+(this._isUTC?0:this.utcOffset()*fo),po);break;case"minute":t=this._d.valueOf(),t-=ho(t,fo);break;case"second":t=this._d.valueOf(),t-=ho(t,so);break}return this._d.setTime(t),o.updateOffset(this,!0),this}function yo(e){var t,n;if(e=re(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?go:mo,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=po-ho(t+(this._isUTC?0:this.utcOffset()*fo),po)-1;break;case"minute":t=this._d.valueOf(),t+=fo-ho(t,fo)-1;break;case"second":t=this._d.valueOf(),t+=so-ho(t,so)-1;break}return this._d.setTime(t),o.updateOffset(this,!0),this}function Oo(){return this._d.valueOf()-6e4*(this._offset||0)}function Co(){return Math.floor(this.valueOf()/1e3)}function wo(){return new Date(this.valueOf())}function So(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function No(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Mo(){return this.isValid()?this.toISOString():null}function xo(){return b(this)}function jo(){return v({},g(this))}function To(){return g(this).overflow}function Do(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Eo(e,t){var n,r,i,a=this._eras||yn("en")._eras;for(n=0,r=a.length;n<r;++n){switch(typeof a[n].since){case"string":i=o(a[n].since).startOf("day"),a[n].since=i.valueOf();break}switch(typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":i=o(a[n].until).startOf("day").valueOf(),a[n].until=i.valueOf();break}}return a}function ko(e,t,n){var r,o,i,a,u,c=this.eras();for(e=e.toUpperCase(),r=0,o=c.length;r<o;++r)if(i=c[r].name.toUpperCase(),a=c[r].abbr.toUpperCase(),u=c[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return c[r];break;case"NNNN":if(i===e)return c[r];break;case"NNNNN":if(u===e)return c[r];break}else if([i,a,u].indexOf(e)>=0)return c[r]}function Lo(e,t){var n=e.since<=e.until?1:-1;return void 0===t?o(e.since).year():o(e.since).year()+(t-e.offset)*n}function Yo(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function _o(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Ao(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Po(){var e,t,n,r,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=i[e].since<=i[e].until?1:-1,r=this.clone().startOf("day").valueOf(),i[e].since<=r&&r<=i[e].until||i[e].until<=r&&r<=i[e].since)return(this.year()-o(i[e].since).year())*n+i[e].offset;return this.year()}function Fo(e){return c(this,"_erasNameRegex")||Xo.call(this),e?this._erasNameRegex:this._erasRegex}function Io(e){return c(this,"_erasAbbrRegex")||Xo.call(this),e?this._erasAbbrRegex:this._erasRegex}function Bo(e){return c(this,"_erasNarrowRegex")||Xo.call(this),e?this._erasNarrowRegex:this._erasRegex}function Zo(e,t){return t.erasAbbrRegex(e)}function Ro(e,t){return t.erasNameRegex(e)}function Ho(e,t){return t.erasNarrowRegex(e)}function Vo(e,t){return t._eraYearOrdinalRegex||ye}function Xo(){var e,t,n,r,o,i=[],a=[],u=[],c=[],l=this.eras();for(e=0,t=l.length;e<t;++e)n=Ee(l[e].name),r=Ee(l[e].abbr),o=Ee(l[e].narrow),a.push(n),i.push(r),u.push(o),c.push(n),c.push(r),c.push(o);this._erasRegex=new RegExp("^("+c.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+a.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+u.join("|")+")","i")}function Jo(e,t){R(0,[e,e.length],0,t)}function zo(e){return $o.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Qo(e){return $o.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Wo(){return Nt(this.year(),1,4)}function Ko(){return Nt(this.isoWeekYear(),1,4)}function Uo(){var e=this.localeData()._week;return Nt(this.year(),e.dow,e.doy)}function Go(){var e=this.localeData()._week;return Nt(this.weekYear(),e.dow,e.doy)}function $o(e,t,n,r,o){var i;return null==e?St(this,r,o).year:(i=Nt(e,r,o),t>i&&(t=i),qo.call(this,e,t,n,r,o))}function qo(e,t,n,r,o){var i=wt(e,t,n,r,o),a=Ot(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function ei(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}R("N",0,0,"eraAbbr"),R("NN",0,0,"eraAbbr"),R("NNN",0,0,"eraAbbr"),R("NNNN",0,0,"eraName"),R("NNNNN",0,0,"eraNarrow"),R("y",["y",1],"yo","eraYear"),R("y",["yy",2],0,"eraYear"),R("y",["yyy",3],0,"eraYear"),R("y",["yyyy",4],0,"eraYear"),je("N",Zo),je("NN",Zo),je("NNN",Zo),je("NNNN",Ro),je("NNNNN",Ho),_e(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var o=n._locale.erasParse(e,r,n._strict);o?g(n).era=o:g(n).invalidEra=e})),je("y",ye),je("yy",ye),je("yyy",ye),je("yyyy",ye),je("yo",Vo),_e(["y","yy","yyy","yyyy"],Ie),_e(["yo"],(function(e,t,n,r){var o;n._locale._eraYearOrdinalRegex&&(o=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Ie]=n._locale.eraYearOrdinalParse(e,o):t[Ie]=parseInt(e,10)})),R(0,["gg",2],0,(function(){return this.weekYear()%100})),R(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Jo("gggg","weekYear"),Jo("ggggg","weekYear"),Jo("GGGG","isoWeekYear"),Jo("GGGGG","isoWeekYear"),je("G",Oe),je("g",Oe),je("GG",pe,le),je("gg",pe,le),je("GGGG",ge,de),je("gggg",ge,de),je("GGGGG",be,fe),je("ggggg",be,fe),Ae(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=Le(e)})),Ae(["gg","GG"],(function(e,t,n,r){t[r]=o.parseTwoDigitYear(e)})),R("Q",0,"Qo","quarter"),je("Q",ce),_e("Q",(function(e,t){t[Be]=3*(Le(e)-1)})),R("D",["DD",2],"Do","date"),je("D",pe,Me),je("DD",pe,le),je("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),_e(["D","DD"],Ze),_e("Do",(function(e,t){t[Ze]=Le(e.match(pe)[0])}));var ti=Ge("Date",!0);function ni(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}R("DDD",["DDDD",3],"DDDo","dayOfYear"),je("DDD",me),je("DDDD",se),_e(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=Le(e)})),R("m",["mm",2],0,"minute"),je("m",pe,xe),je("mm",pe,le),_e(["m","mm"],He);var ri=Ge("Minutes",!1);R("s",["ss",2],0,"second"),je("s",pe,xe),je("ss",pe,le),_e(["s","ss"],Ve);var oi,ii,ai=Ge("Seconds",!1);for(R("S",0,0,(function(){return~~(this.millisecond()/100)})),R(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),R(0,["SSS",3],0,"millisecond"),R(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),R(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),R(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),R(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),R(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),R(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),je("S",me,ce),je("SS",me,le),je("SSS",me,se),oi="SSSS";oi.length<=9;oi+="S")je(oi,ye);function ui(e,t){t[Xe]=Le(1e3*("0."+e))}for(oi="S";oi.length<=9;oi+="S")_e(oi,ui);function ci(){return this._isUTC?"UTC":""}function li(){return this._isUTC?"Coordinated Universal Time":""}ii=Ge("Milliseconds",!1),R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");var si=S.prototype;function di(e){return Un(1e3*e)}function fi(){return Un.apply(null,arguments).parseZone()}function pi(e){return e}si.add=Ar,si.calendar=Vr,si.clone=Xr,si.diff=Gr,si.endOf=yo,si.format=no,si.from=ro,si.fromNow=oo,si.to=io,si.toNow=ao,si.get=et,si.invalidAt=To,si.isAfter=Jr,si.isBefore=zr,si.isBetween=Qr,si.isSame=Wr,si.isSameOrAfter=Kr,si.isSameOrBefore=Ur,si.isValid=xo,si.lang=co,si.locale=uo,si.localeData=lo,si.max=$n,si.min=Gn,si.parsingFlags=jo,si.set=tt,si.startOf=bo,si.subtract=Pr,si.toArray=So,si.toObject=No,si.toDate=wo,si.toISOString=eo,si.inspect=to,"undefined"!==typeof Symbol&&null!=Symbol.for&&(si[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),si.toJSON=Mo,si.toString=qr,si.unix=Co,si.valueOf=Oo,si.creationData=Do,si.eraName=Yo,si.eraNarrow=_o,si.eraAbbr=Ao,si.eraYear=Po,si.year=Ke,si.isLeapYear=Ue,si.weekYear=zo,si.isoWeekYear=Qo,si.quarter=si.quarters=ei,si.month=vt,si.daysInMonth=ht,si.week=si.weeks=Dt,si.isoWeek=si.isoWeeks=Et,si.weeksInYear=Uo,si.weeksInWeekYear=Go,si.isoWeeksInYear=Wo,si.isoWeeksInISOWeekYear=Ko,si.date=ti,si.day=si.days=Jt,si.weekday=zt,si.isoWeekday=Qt,si.dayOfYear=ni,si.hour=si.hours=on,si.minute=si.minutes=ri,si.second=si.seconds=ai,si.millisecond=si.milliseconds=ii,si.utcOffset=mr,si.utc=br,si.local=yr,si.parseZone=Or,si.hasAlignedHourOffset=Cr,si.isDST=wr,si.isLocal=Nr,si.isUtcOffset=Mr,si.isUtc=xr,si.isUTC=xr,si.zoneAbbr=ci,si.zoneName=li,si.dates=x("dates accessor is deprecated. Use date instead.",ti),si.months=x("months accessor is deprecated. Use month instead",vt),si.years=x("years accessor is deprecated. Use year instead",Ke),si.zone=x("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",gr),si.isDSTShifted=x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Sr);var vi=Y.prototype;function hi(e,t,n,r){var o=yn(),i=h().set(r,t);return o[n](i,e)}function mi(e,t,n){if(d(e)&&(t=e,e=void 0),e=e||"",null!=t)return hi(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=hi(e,r,n,"month");return o}function gi(e,t,n,r){"boolean"===typeof e?(d(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,d(t)&&(n=t,t=void 0),t=t||"");var o,i=yn(),a=e?i._week.dow:0,u=[];if(null!=n)return hi(t,(n+a)%7,r,"day");for(o=0;o<7;o++)u[o]=hi(t,(o+a)%7,r,"day");return u}function bi(e,t){return mi(e,t,"months")}function yi(e,t){return mi(e,t,"monthsShort")}function Oi(e,t,n){return gi(e,t,n,"weekdays")}function Ci(e,t,n){return gi(e,t,n,"weekdaysShort")}function wi(e,t,n){return gi(e,t,n,"weekdaysMin")}vi.calendar=A,vi.longDateFormat=Q,vi.invalidDate=K,vi.ordinal=$,vi.preparse=pi,vi.postformat=pi,vi.relativeTime=ee,vi.pastFuture=te,vi.set=k,vi.eras=Eo,vi.erasParse=ko,vi.erasConvertYear=Lo,vi.erasAbbrRegex=Io,vi.erasNameRegex=Fo,vi.erasNarrowRegex=Bo,vi.months=lt,vi.monthsShort=st,vi.monthsParse=ft,vi.monthsRegex=gt,vi.monthsShortRegex=mt,vi.week=Mt,vi.firstDayOfYear=Tt,vi.firstDayOfWeek=jt,vi.weekdays=Zt,vi.weekdaysMin=Ht,vi.weekdaysShort=Rt,vi.weekdaysParse=Xt,vi.weekdaysRegex=Wt,vi.weekdaysShortRegex=Kt,vi.weekdaysMinRegex=Ut,vi.isPM=nn,vi.meridiem=an,mn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===Le(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),o.lang=x("moment.lang is deprecated. Use moment.locale instead.",mn),o.langData=x("moment.langData is deprecated. Use moment.localeData instead.",yn);var Si=Math.abs;function Ni(){var e=this._data;return this._milliseconds=Si(this._milliseconds),this._days=Si(this._days),this._months=Si(this._months),e.milliseconds=Si(e.milliseconds),e.seconds=Si(e.seconds),e.minutes=Si(e.minutes),e.hours=Si(e.hours),e.months=Si(e.months),e.years=Si(e.years),this}function Mi(e,t,n,r){var o=Dr(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function xi(e,t){return Mi(this,e,t,1)}function ji(e,t){return Mi(this,e,t,-1)}function Ti(e){return e<0?Math.floor(e):Math.ceil(e)}function Di(){var e,t,n,r,o,i=this._milliseconds,a=this._days,u=this._months,c=this._data;return i>=0&&a>=0&&u>=0||i<=0&&a<=0&&u<=0||(i+=864e5*Ti(ki(u)+a),a=0,u=0),c.milliseconds=i%1e3,e=ke(i/1e3),c.seconds=e%60,t=ke(e/60),c.minutes=t%60,n=ke(t/60),c.hours=n%24,a+=ke(n/24),o=ke(Ei(a)),u+=o,a-=Ti(ki(o)),r=ke(u/12),u%=12,c.days=a,c.months=u,c.years=r,this}function Ei(e){return 4800*e/146097}function ki(e){return 146097*e/4800}function Li(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=re(e),"month"===e||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Ei(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(ki(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Yi(e){return function(){return this.as(e)}}var _i=Yi("ms"),Ai=Yi("s"),Pi=Yi("m"),Fi=Yi("h"),Ii=Yi("d"),Bi=Yi("w"),Zi=Yi("M"),Ri=Yi("Q"),Hi=Yi("y"),Vi=_i;function Xi(){return Dr(this)}function Ji(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function zi(e){return function(){return this.isValid()?this._data[e]:NaN}}var Qi=zi("milliseconds"),Wi=zi("seconds"),Ki=zi("minutes"),Ui=zi("hours"),Gi=zi("days"),$i=zi("months"),qi=zi("years");function ea(){return ke(this.days()/7)}var ta=Math.round,na={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ra(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}function oa(e,t,n,r){var o=Dr(e).abs(),i=ta(o.as("s")),a=ta(o.as("m")),u=ta(o.as("h")),c=ta(o.as("d")),l=ta(o.as("M")),s=ta(o.as("w")),d=ta(o.as("y")),f=i<=n.ss&&["s",i]||i<n.s&&["ss",i]||a<=1&&["m"]||a<n.m&&["mm",a]||u<=1&&["h"]||u<n.h&&["hh",u]||c<=1&&["d"]||c<n.d&&["dd",c];return null!=n.w&&(f=f||s<=1&&["w"]||s<n.w&&["ww",s]),f=f||l<=1&&["M"]||l<n.M&&["MM",l]||d<=1&&["y"]||["yy",d],f[2]=t,f[3]=+e>0,f[4]=r,ra.apply(null,f)}function ia(e){return void 0===e?ta:"function"===typeof e&&(ta=e,!0)}function aa(e,t){return void 0!==na[e]&&(void 0===t?na[e]:(na[e]=t,"s"===e&&(na.ss=t-1),!0))}function ua(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,o=!1,i=na;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(o=e),"object"===typeof t&&(i=Object.assign({},na,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),n=this.localeData(),r=oa(this,!o,i,n),o&&(r=n.pastFuture(+this,r)),n.postformat(r)}var ca=Math.abs;function la(e){return(e>0)-(e<0)||+e}function sa(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,o,i,a,u,c=ca(this._milliseconds)/1e3,l=ca(this._days),s=ca(this._months),d=this.asSeconds();return d?(e=ke(c/60),t=ke(e/60),c%=60,e%=60,n=ke(s/12),s%=12,r=c?c.toFixed(3).replace(/\.?0+$/,""):"",o=d<0?"-":"",i=la(this._months)!==la(d)?"-":"",a=la(this._days)!==la(d)?"-":"",u=la(this._milliseconds)!==la(d)?"-":"",o+"P"+(n?i+n+"Y":"")+(s?i+s+"M":"")+(l?a+l+"D":"")+(t||e||c?"T":"")+(t?u+t+"H":"")+(e?u+e+"M":"")+(c?u+r+"S":"")):"P0D"}var da=ur.prototype;return da.isValid=ir,da.abs=Ni,da.add=xi,da.subtract=ji,da.as=Li,da.asMilliseconds=_i,da.asSeconds=Ai,da.asMinutes=Pi,da.asHours=Fi,da.asDays=Ii,da.asWeeks=Bi,da.asMonths=Zi,da.asQuarters=Ri,da.asYears=Hi,da.valueOf=Vi,da._bubble=Di,da.clone=Xi,da.get=Ji,da.milliseconds=Qi,da.seconds=Wi,da.minutes=Ki,da.hours=Ui,da.days=Gi,da.weeks=ea,da.months=$i,da.years=qi,da.humanize=ua,da.toISOString=sa,da.toString=sa,da.toJSON=sa,da.locale=uo,da.localeData=lo,da.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",sa),da.lang=co,R("X",0,0,"unix"),R("x",0,0,"valueOf"),je("x",Oe),je("X",Se),_e("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),_e("x",(function(e,t,n){n._d=new Date(Le(e))})),
|
|
30
|
-
//! moment.js
|
|
31
|
-
o.version="2.30.1",i(Un),o.fn=si,o.min=er,o.max=tr,o.now=nr,o.utc=h,o.unix=di,o.months=bi,o.isDate=f,o.locale=mn,o.invalid=y,o.duration=Dr,o.isMoment=N,o.weekdays=Oi,o.parseZone=fi,o.localeData=yn,o.isDuration=cr,o.monthsShort=yi,o.weekdaysMin=wi,o.defineLocale=gn,o.updateLocale=bn,o.locales=On,o.weekdaysShort=Ci,o.normalizeUnits=re,o.relativeTimeRounding=ia,o.relativeTimeThreshold=aa,o.calendarFormat=Hr,o.prototype=si,o.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},o}))}).call(this,n("62e4")(e))},c430:function(e,t,n){"use strict";e.exports=!1},c65b:function(e,t,n){"use strict";var r=n("40d5"),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},c6b6:function(e,t,n){"use strict";var r=n("e330"),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},c6cd:function(e,t,n){"use strict";var r=n("c430"),o=n("da84"),i=n("6374"),a="__core-js_shared__",u=e.exports=o[a]||i(a,{});(u.versions||(u.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},c6eb:function(e,t,n){"use strict";(function(e){var r=n("5ea3"),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o,u=a&&r["a"].process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||u&&u.binding&&u.binding("util")}catch(t){}}();t["a"]=c}).call(this,n("dd40")(e))},c73e:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r={Disable:{code:"0",name:"禁用"},Enable:{code:"1",name:"启用"}}},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},c968:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("9ce7");const o={Input:{code:"1",name:"输入框",icon:"icondanhangwenben",type:r["a"].Base.code},Textarea:{code:"2",name:"多行文本",icon:"iconduohangwenben",type:r["a"].Base.code},InputNumber:{code:"3",name:"数字输入框",icon:"iconjishuqi",type:r["a"].Base.code},Select:{code:"4",name:"选择器",icon:"iconxialaxuanzekuang",type:r["a"].Base.code},Radio:{code:"5",name:"单选框",icon:"icondanxuankuangzu",type:r["a"].Base.code},Checkbox:{code:"6",name:"多选框",icon:"iconduoxuankuangzu",type:r["a"].Base.code},Switch:{code:"7",name:"开关",icon:"iconkaiguan",type:r["a"].Base.code},TimePicker:{code:"8",name:"时间选择框",icon:"iconshijianxuanzeqi",type:r["a"].Base.code},DatePicker:{code:"9",name:"日期选择框",icon:"iconriqixuanzeqi",type:r["a"].Base.code},Slider:{code:"10",name:"滑动输入条",icon:"iconhuakuai",type:r["a"].Base.code},Rate:{code:"11",name:"评分",icon:"iconpingfen",type:r["a"].Base.code},Upload:{code:"50",name:"上传",icon:"iconwenjian",type:r["a"].Senior.code},Editor:{code:"51",name:"编辑器",icon:"iconbianjiqi",type:r["a"].Senior.code},Cascader:{code:"52",name:"级联选择",icon:"iconjilianxuanzeqi",type:r["a"].Senior.code},TreeSelect:{code:"53",name:"树选择",icon:"iconxialaxuanzekuang",type:r["a"].Senior.code},Custom:{code:"54",name:"自定义组件",icon:"iconzidingyizujian",type:r["a"].Senior.code},Empty:{code:"101",name:"根布局",icon:"iconzhagebuju",type:r["a"].Layout.code},Grid:{code:"102",name:"栅格",icon:"iconzhagebuju",type:r["a"].Layout.code}}},ca84:function(e,t,n){"use strict";var r=n("e330"),o=n("1a2d"),i=n("fc6a"),a=n("4d64").indexOf,u=n("d012"),c=r([].push);e.exports=function(e,t){var n,r=i(e),l=0,s=[];for(n in r)!o(u,n)&&o(r,n)&&c(s,n);while(t.length>l)o(r,n=t[l++])&&(~a(s,n)||c(s,n));return s}},cb2d:function(e,t,n){"use strict";var r=n("1626"),o=n("9bf2"),i=n("13d2"),a=n("6374");e.exports=function(e,t,n,u){u||(u={});var c=u.enumerable,l=void 0!==u.name?u.name:t;if(r(n)&&i(n,l,u),u.global)c?e[t]=n:a(t,n);else{try{u.unsafe?e[t]&&(c=!0):delete e[t]}catch(s){}c?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return e}},cc12:function(e,t,n){"use strict";var r=n("da84"),o=n("861d"),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},cdce:function(e,t,n){"use strict";var r=n("da84"),o=n("1626"),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},d012:function(e,t,n){"use strict";e.exports={}},d039:function(e,t,n){"use strict";e.exports=function(e){try{return!!e()}catch(t){return!0}}},d066:function(e,t,n){"use strict";var r=n("da84"),o=n("1626"),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}},d1e7:function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},d29d:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o["a"]})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return a["a"]})),n.d(t,"e",(function(){return u})),n.d(t,"f",(function(){return c["a"]})),n.d(t,"g",(function(){return l["a"]})),n.d(t,"h",(function(){return s})),n.d(t,"i",(function(){return d})),n.d(t,"j",(function(){return f})),n.d(t,"k",(function(){return p["a"]})),n.d(t,"l",(function(){return v})),n.d(t,"m",(function(){return h})),n.d(t,"n",(function(){return m["a"]})),n.d(t,"o",(function(){return g})),n.d(t,"p",(function(){return b})),n.d(t,"q",(function(){return y["a"]})),n.d(t,"r",(function(){return O})),n.d(t,"s",(function(){return C["a"]}));const r={ORDERED_LIST:{code:"1",name:"ordered-list"}};var o=n("9475");const i={GENERAL:{code:"1",name:"常规数字"},AMOUNT_OF_MONEY:{code:"2",name:"金额"},BANK_CARD_NUMBER:{code:"3",name:"银行卡号"},CELL_PHONE_NUMBER:{code:"4",name:"手机号"},LANDLINE_NUMBER:{code:"5",name:"座机号"}};var a=n("1937");const u={SUBMITTED_TYPE:{code:"submittedType",name:"报送类型"},IS_SUPPLEMENT:{code:"isSupplement",name:"是否补录"},IS_KEY_ELEMENTS:{code:"isKeyElements",name:"是否关键要素"},IS_TRACK:{code:"isTrack",name:"是否追踪"}};var c=n("9ce7"),l=n("c968");const s={Pc:{code:"1",name:"PC端"},Mobile:{code:"2",name:"移动端"}},d={AlignLeft:{code:"1",name:"左对齐"},RightAlignment:{code:"2",name:"右对齐"},Center:{code:"3",name:"居中"},BothSidesAreEquallySpaced:{code:"4",name:"两侧间隔相等"},AlignBothEnds:{code:"5",name:"两端对齐"}},f={Yuan:{code:"1",name:"元"},TenThousandYuan:{code:"2",name:"万元"},HundredMillionYuan:{code:"3",name:"亿元"}};var p=n("5cf9");const v={EAST:{code:"1",name:"EAST"},CITIC:{code:"2",name:"中信登"},TOTAL_ELEMENTS:{code:"3",name:"全要素"},PBC_CAPITAL_DECLARATION:{code:"4",name:"人行资金申报"},ENTERPRISE_CREDIT_REFERENCE:{code:"5",name:"企业征信"},OTOHAF_SUBMISSION:{code:"6",name:"1104报送"},EAST_F:{code:"7",name:"EAST4.0"},PERSONAL_CREDIT:{code:"8",name:"个人征信"},BS_09:{code:"9",name:"非现场监管报表"},BS_10:{code:"10",name:"银监其他"},BS_11:{code:"11",name:"人行资管产品统计逐产品采集"},BS_12:{code:"12",name:"人行其他"},BS_13:{code:"13",name:"其他报表"},BS_14:{code:"14",name:"反洗钱"},BS_15:{code:"15",name:"关联交易"},BS_16:{code:"16",name:"事前报告"},BS_17:{code:"17",name:"银监风险项目要素表"},BS_18:{code:"18",name:"金控重点监测项目数据报送"},BS_19:{code:"19",name:"中央企业金融风险事项统计表"},BS_20:{code:"20",name:"主动管理项目清单"},BS_21:{code:"21",name:"风险项目要素表(重大预警及关注不良)"},BS_22:{code:"22",name:"人行金融基础数据报送"},BS_23:{code:"23",name:"人行利率报备"},BS_24:{code:"24",name:"EAST5.0"},BS_25:{code:"25",name:"新中信登"},BS_26:{code:"26",name:"集团司库资金系统投融资数据报送"},BS_27:{code:"27",name:"金控客户协同"}},h={Arbitrarily:{code:"1",name:"任意类型"},Custom:{code:"2",name:"自定义类型"}};var m=n("c73e");const g={Jpeg:{code:"image/jpeg",name:"jpeg/jpg/jpe"},Png:{code:"image/png",name:"png"},Gif:{code:"image/gif",name:"gif"},Bmp:{code:"image/bmp",name:"bmp"},Doc:{code:"application/msword",name:"doc"},html:{code:"text/html",name:"html"},Mp3:{code:"audio/mpeg",name:"mp3"},Mp4:{code:"audio/mp4",name:"mp4"},Pdf:{code:"application/pdf",name:"pdf"},Ppt:{code:"application/vnd.ms-powerpoint",name:"ppt"},Xls:{code:"application/vnd.ms-excel",name:"xls"},Xml:{code:"application/xml",name:"xml"},Zip:{code:"aplication/zip",name:"zip"},Wps:{code:"application/vnd.ms-works",name:"wps"}},b={SameValue:{code:"1",name:"相同的值",hasContent:!0,hasDescribe:!1},MailBox:{code:"2",name:"电子邮箱",hasContent:!1,hasDescribe:!1},RegEx:{code:"3",name:"正则表达式",hasContent:!0,hasDescribe:!0},MinTextLength:{code:"4",name:"最小文本长度",hasContent:!0,hasDescribe:!1},MaxTextLength:{code:"5",name:"最大文本长度",hasContent:!0,hasDescribe:!1},MinValue:{code:"6",name:"最小数值",hasContent:!0,hasDescribe:!1},MaxValue:{code:"7",name:"最大数值",hasContent:!0,hasDescribe:!1},SpecifiedValue:{code:"8",name:"指定的值",hasContent:!0,hasDescribe:!1},SpecifiedDigitsNumber:{code:"9",name:"指定位数的数字",hasContent:!0,hasDescribe:!1},DateNotEarlierThan:{code:"10",name:"日期不早于",hasContent:!0,hasDescribe:!1},DateNoLaterThan:{code:"11",name:"日期不晚于",hasContent:!0,hasDescribe:!1},SpecifiedRangeNumber:{code:"12",name:"指定范围的数字(包含最小/大值)",hasContent:!0,hasDescribe:!1},PhoneNumber:{code:"13",name:"手机号码",hasContent:!1,hasDescribe:!1},Required:{code:"14",name:"必填",hasContent:!1,hasDescribe:!1},LineUnique:{code:"15",name:"行唯一",hasContent:!1,hasDescribe:!1},LetterSpace:{code:"16",name:"字母空格",hasContent:!1,hasDescribe:!1},AlphanumericUnderline:{code:"17",name:"字母数字横线下划线",hasContent:!1,hasDescribe:!1},Alphanumeric:{code:"18",name:"字母数字",hasContent:!1,hasDescribe:!1},JsMethodVerification:{code:"19",name:"JS方法校验",hasContent:!0,hasDescribe:!0},BackEndVerification:{code:"20",name:"后端校验",hasContent:!1,hasDescribe:!1},LandlineNumber:{code:"21",name:"座机校验",hasContent:!1,hasDescribe:!1}};var y=n("2804");const O={AlignRight:{code:"1",name:"右对齐",value:"horizontal",textAlign:"right"},AlignTop:{code:"2",name:"顶部对齐",value:"vertical",textAlign:"left"},AlignLeft:{code:"3",name:"左对齐",value:"horizontal",textAlign:"left"}};var C=n("fbf2")},d2bb:function(e,t,n){"use strict";var r=n("7282"),o=n("861d"),i=n("1d80"),a=n("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=r(Object.prototype,"__proto__","set"),e(n,[]),t=n instanceof Array}catch(u){}return function(n,r){return i(n),a(r),o(n)?(t?e(n,r):n.__proto__=r,n):n}}():void 0)},d9b5:function(e,t,n){"use strict";var r=n("d066"),o=n("1626"),i=n("3a9b"),a=n("fdbf"),u=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&i(t.prototype,u(e))}},d9e2:function(e,t,n){"use strict";var r=n("23e7"),o=n("da84"),i=n("2ba4"),a=n("e5cb"),u="WebAssembly",c=o[u],l=7!==new Error("e",{cause:7}).cause,s=function(e,t){var n={};n[e]=a(e,t,l),r({global:!0,constructor:!0,arity:1,forced:l},n)},d=function(e,t){if(c&&c[e]){var n={};n[e]=a(u+"."+e,t,l),r({target:u,stat:!0,constructor:!0,arity:1,forced:l},n)}};s("Error",(function(e){return function(t){return i(e,this,arguments)}})),s("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),s("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),s("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),s("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),s("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),s("URIError",(function(e){return function(t){return i(e,this,arguments)}})),d("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),d("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),d("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},da84:function(e,t,n){"use strict";(function(t){var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},dc4a:function(e,t,n){"use strict";var r=n("59ed"),o=n("7234");e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},dd40:function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},df7c:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){n=t+1;break}}else-1===r&&(o=!1,r=t+1);return-1===r?"":e.slice(n,r)}function o(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",r=!1,i=arguments.length-1;i>=-1&&!r;i--){var a=i>=0?arguments[i]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,r="/"===a.charAt(0))}return t=n(o(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),a="/"===i(e,-1);return e=n(o(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&a&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(o(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var n=e.length-1;n>=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var o=r(e.split("/")),i=r(n.split("/")),a=Math.min(o.length,i.length),u=a,c=0;c<a;c++)if(o[c]!==i[c]){u=c;break}var l=[];for(c=u;c<o.length;c++)l.push("..");return l=l.concat(i.slice(u)),l.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,o=!0,i=e.length-1;i>=1;--i)if(t=e.charCodeAt(i),47===t){if(!o){r=i;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=r(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,o=!0,i=0,a=e.length-1;a>=0;--a){var u=e.charCodeAt(a);if(47!==u)-1===r&&(o=!1,r=a+1),46===u?-1===t?t=a:1!==i&&(i=1):-1!==t&&(i=-1);else if(!o){n=a+1;break}}return-1===t||-1===r||0===i||1===i&&t===r-1&&t===n+1?"":e.slice(t,r)};var i="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("4362"))},dff1:function(e,t,n){"use strict";(function(e){var r=n("26ee"),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o,u=a?r["a"].Buffer:void 0,c=u?u.allocUnsafe:void 0;function l(e,t){if(t)return e.slice();var n=e.length,r=c?c(n):new e.constructor(n);return e.copy(r),r}t["a"]=l}).call(this,n("dd40")(e))},e04f:function(e,t,n){"use strict";n("2e48")},e330:function(e,t,n){"use strict";var r=n("40d5"),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},e391:function(e,t,n){"use strict";var r=n("577e");e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},e50d:function(e,t,n){n("d9e2");var r=n("7037")["default"];function o(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},e5cb:function(e,t,n){"use strict";var r=n("d066"),o=n("1a2d"),i=n("9112"),a=n("3a9b"),u=n("d2bb"),c=n("e893"),l=n("aeb0"),s=n("7156"),d=n("e391"),f=n("ab36"),p=n("6f19"),v=n("83ab"),h=n("c430");e.exports=function(e,t,n,m){var g="stackTraceLimit",b=m?2:1,y=e.split("."),O=y[y.length-1],C=r.apply(null,y);if(C){var w=C.prototype;if(!h&&o(w,"cause")&&delete w.cause,!n)return C;var S=r("Error"),N=t((function(e,t){var n=d(m?t:e,void 0),r=m?new C(e):new C;return void 0!==n&&i(r,"message",n),p(r,N,r.stack,2),this&&a(w,this)&&s(r,this,N),arguments.length>b&&f(r,arguments[b]),r}));if(N.prototype=w,"Error"!==O?u?u(N,S):c(N,S,{name:!0}):v&&g in C&&(l(N,C,g),l(N,C,"prepareStackTrace")),c(N,C),!h)try{w.name!==O&&i(w,"name",O),w.constructor=N}catch(M){}return N}}},e720:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return validateGeneratorService}));var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("14d9"),core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__),_constants_enum__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("d29d"),moment__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("c1df"),moment__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_2__);class ValidateGeneratorService{fillCheckRule(e,t){if(t.verificationRules&&t.verificationRules.length>0){const n=[];t.verificationRules.forEach(e=>{const r=this.getBuiltInValidationRules(e,t);r&&n.push(r)}),e.addValidate(n)}}getBuiltInValidationRules(e,t){let n;switch(e.ruleType){case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].SameValue.code:n=this.genSameValue(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].MailBox.code:n=this.genMailBox(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].RegEx.code:n=this.genRegEx(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].MinTextLength.code:n=this.genMinTextLength(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].MaxTextLength.code:n=this.genMaxTextLength(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].MinValue.code:n=this.genMinValue(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].MaxValue.code:n=this.genMaxValue(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].SpecifiedValue.code:n=this.genSpecifiedValue(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].SpecifiedDigitsNumber.code:n=this.genSpecifiedDigitsNumber(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].DateNotEarlierThan.code:n=this.genDateNotEarlierThan(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].DateNoLaterThan.code:n=this.genDateNoLaterThan(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].SpecifiedRangeNumber.code:n=this.genSpecifiedRangeNumber(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].PhoneNumber.code:n=this.genPhoneNumber(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].Required.code:n=this.genRequired(e,t.controlType);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].LineUnique.code:n=this.genLineUnique(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].LetterSpace.code:n=this.genLetterSpace(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].AlphanumericUnderline.code:n=this.genAlphanumericUnderline(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].Alphanumeric.code:n=this.genAlphanumeric(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].JsMethodVerification.code:n=this.genJsMethodVerification(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].BackEndVerification.code:n=this.genBackEndVerification(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].LandlineNumber.code:n=this.genLandlineNumber(e);break}return n}genSameValue(e){const t={name:e.ruleType,validateFunc:t=>null!=t&&""!==t&&e.ruleContent&&t!=e.ruleContent?{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:`与预期值(${e.ruleContent})不符`}:{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}};return t}genMailBox(e){const t={name:e.ruleType,validateFunc:e=>{if(null!=e&&""!==e){const t=/^\w{3,}(\.\w+)*@[A-z0-9]+(\.[A-z]{2,5}){1,2}$/;if(!t.test(e))return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:"电子邮件格式不正确"}}return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}}};return t}genRegEx(item){const validate={name:item.ruleType,validateFunc:val=>null!=val&&""!==val&&item.ruleContent&&!eval(item.ruleContent).test(val)?{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:item.describe?item.describe:"'不满足正则校验'"+item.ruleContent}:{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}};return validate}genMinTextLength(e){const t={name:e.ruleType,validateFunc:t=>null!=t&&""!==t&&e.ruleContent&&t&&String(t).length<Number(e.ruleContent)?{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:`内容不少于${e.ruleContent}个字`}:{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}};return t}genMaxTextLength(e){const t={name:e.ruleType,validateFunc:t=>null!=t&&""!==t&&e.ruleContent&&t&&String(t).length>Number(e.ruleContent)?{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:`内容不超过${e.ruleContent}个字`}:{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}};return t}genMinValue(e){const t={name:e.ruleType,validateFunc:t=>void 0!=t&&""!==t&&null!=e.ruleContent&&null!=t&&""!==t&&Number(t)<Number(e.ruleContent)?{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:"数值不能小于"+e.ruleContent}:{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}};return t}genMaxValue(e){const t={name:e.ruleType,validateFunc:t=>void 0!=t&&""!==t&&null!=e.ruleContent&&null!=t&&""!==t&&Number(t)>Number(e.ruleContent)?{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:"数值不能大于"+e.ruleContent}:{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}};return t}genSpecifiedValue(e){const t={name:e.ruleType,validateFunc:t=>null!=t&&""!==t&&e.ruleContent&&t!=e.ruleContent?{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:`与预期值(${e.ruleContent})不符`}:{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}};return t}genSpecifiedDigitsNumber(e){const t={name:e.ruleType,validateFunc:t=>{if(void 0!=t&&""!==t&&e.ruleContent&&t){let n=0;if(Math.floor(t).toString()!==t.toString()&&(n=t.toString().split(".")[1].length||0),n!=Number(e.ruleContent))return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:"0"===e.ruleContent||0===e.ruleContent?"请输入整数":`请保留${e.ruleContent}位小数`}}return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}}};return t}roundNumber(e,t){let n;if(t=Number(t),t<1)n=Math.round(e).toString();else{let r=e.toString();-1==r.lastIndexOf(".")&&(r+=".");let o=r.lastIndexOf(".")+t,i=Number(r.substring(o,o+1));const a=Number(r.substring(o+1,o+2));if(a>=5){if(9==i&&o>0)while(o>0&&(9==i||isNaN(i)))"."!=i?(o-=1,i=Number(r.substring(o,o+1))):o-=1;i+=1}if(10==i){r=r.substring(0,r.lastIndexOf("."));const e=Number(r)+1;n=e.toString()+"."}else n=r.substring(0,o)+i.toString()}-1==n.lastIndexOf(".")&&(n+=".");const r=n.substring(n.lastIndexOf(".")+1).length;for(let o=0;o<t-r;o++)n+="0";return n}genDateNotEarlierThan(e){const t={name:e.ruleType,validateFunc:t=>{if(null!=t&&""!==t&&e.ruleContent&&t)try{if(t.toDate()>moment__WEBPACK_IMPORTED_MODULE_2___default()(e.ruleContent).toDate())return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:"日期不早于"+e.ruleContent}}catch(n){return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:`最大值日期(${e.ruleContent})格式有误!`}}return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}}};return t}genDateNoLaterThan(e){const t={name:e.ruleType,validateFunc:t=>{if(null!=t&&""!==t&&e.ruleContent&&t)try{if(t.toDate()<moment__WEBPACK_IMPORTED_MODULE_2___default()(e.ruleContent).toDate())return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:"日期不晚于"+e.ruleContent}}catch(n){return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:`最小值日期(${e.ruleContent})格式有误!`}}return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}}};return t}genSpecifiedRangeNumber(e){const t={name:e.ruleType,validateFunc:t=>{if(null!=t&&""!==t&&null!=e.ruleContent&&t&&e.ruleContent.indexOf("/")>-1){const n=e.ruleContent.split("/");if(n&&n.length>1&&(t<Number(n[0])||t>Number(n[1])))return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:`数值大小应在${n[0]}~${n[1]}之间`}}return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}}};return t}genPhoneNumber(e){const t=/^0?1[3|4|5|6|7|8|9][0-9]\d{8}$/,n={name:e.ruleType,validateFunc:e=>null!=e&&""!==e&&e&&!t.test(e)?{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:"手机号不合法"}:{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}};return n}genRequired(e,t){const n={name:e.ruleType,validateFunc:e=>{if(null==e||"string"==typeof e&&""===e.trim()||Array.isArray(e)&&0===e.length){let e="为必输项";return t===_constants_enum__WEBPACK_IMPORTED_MODULE_1__["g"].Select.code||t===_constants_enum__WEBPACK_IMPORTED_MODULE_1__["g"].Radio.code||t===_constants_enum__WEBPACK_IMPORTED_MODULE_1__["g"].Checkbox.code?e+=",请选择":e+=",请输入",{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:e}}return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}}};return n}genLineUnique(e){const t={name:e.ruleType,validateFunc:()=>({validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code})};return t}genLetterSpace(e){const t={name:e.ruleType,validateFunc:e=>{if(null!=e&&""!==e){const t=/^(?!_)([A-Za-z ]+)$/;if(e&&!t.test(e))return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:"仅包含字母空格"}}return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}}};return t}genAlphanumericUnderline(e){const t={name:e.ruleType,validateFunc:e=>{if(null!=e&&""!==e){const t=/^[a-zA-Z0-9_]{1,}$/;if(e&&!t.test(e))return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:"仅包含数字字母下划线"}}return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}}};return t}genAlphanumeric(e){const t={name:e.ruleType,validateFunc:e=>{if(null!=e&&""!==e){const t=/^[0-9a-zA-Z]*$/g;if(e&&!t.test(e))return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:"仅包含数字字母"}}return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}}};return t}genJsMethodVerification(e){const t={name:e.ruleType,validateFunc:t=>{if(null!=t&&""!==t&&t&&e.ruleContent)try{const n=new Function(e.ruleContent);return n(t)}catch(n){return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:e.describe?e.describe:"'JS校验函数不合法"}}return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}}};return t}genBackEndVerification(e){const t={name:e.ruleType,validateFunc:()=>({validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code})};return t}genLandlineNumber(e){const t=/^0\d{2,3}-?\d{7,8}$/,n={name:e.ruleType,validateFunc:e=>null!=e&&""!==e&&e&&!t.test(e)?{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:"座机号不合法"}:{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}};return n}}const validateGeneratorService=new ValidateGeneratorService},e893:function(e,t,n){"use strict";var r=n("1a2d"),o=n("56ef"),i=n("06cf"),a=n("9bf2");e.exports=function(e,t,n){for(var u=o(t),c=a.f,l=i.f,s=0;s<u.length;s++){var d=u[s];r(e,d)||n&&r(n,d)||c(e,d,l(t,d))}}},e8b5:function(e,t,n){"use strict";var r=n("c6b6");e.exports=Array.isArray||function(e){return"Array"===r(e)}},edaf:function(e,t,n){var r,o;
|
|
32
|
-
/**
|
|
33
|
-
* @license Complex.js v2.1.1 12/05/2020
|
|
34
|
-
*
|
|
35
|
-
* Copyright (c) 2020, Robert Eisele (robert@xarg.org)
|
|
36
|
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
|
37
|
-
**/(function(n){"use strict";var i=Math.cosh||function(e){return Math.abs(e)<1e-9?1-e:.5*(Math.exp(e)+Math.exp(-e))},a=Math.sinh||function(e){return Math.abs(e)<1e-9?e:.5*(Math.exp(e)-Math.exp(-e))},u=function(e){var t=Math.PI/4;if(-t>e||e>t)return Math.cos(e)-1;var n=e*e;return n*(n*(n*(n*(n*(n*(n*(n/20922789888e3-1/87178291200)+1/479001600)-1/3628800)+1/40320)-1/720)+1/24)-.5)},c=function(e,t){var n=Math.abs(e),r=Math.abs(t);return n<3e3&&r<3e3?Math.sqrt(n*n+r*r):(n<r?(n=r,r=e/t):r=t/e,n*Math.sqrt(1+r*r))},l=function(){throw SyntaxError("Invalid Param")};function s(e,t){var n=Math.abs(e),r=Math.abs(t);return 0===e?Math.log(r):0===t?Math.log(n):n<3e3&&r<3e3?.5*Math.log(e*e+t*t):(e/=2,t/=2,.5*Math.log(e*e+t*t)+Math.LN2)}var d=function(e,t){var n={re:0,im:0};if(void 0===e||null===e)n["re"]=n["im"]=0;else if(void 0!==t)n["re"]=e,n["im"]=t;else switch(typeof e){case"object":if("im"in e&&"re"in e)n["re"]=e["re"],n["im"]=e["im"];else if("abs"in e&&"arg"in e){if(!Number.isFinite(e["abs"])&&Number.isFinite(e["arg"]))return f["INFINITY"];n["re"]=e["abs"]*Math.cos(e["arg"]),n["im"]=e["abs"]*Math.sin(e["arg"])}else if("r"in e&&"phi"in e){if(!Number.isFinite(e["r"])&&Number.isFinite(e["phi"]))return f["INFINITY"];n["re"]=e["r"]*Math.cos(e["phi"]),n["im"]=e["r"]*Math.sin(e["phi"])}else 2===e.length?(n["re"]=e[0],n["im"]=e[1]):l();break;case"string":n["im"]=n["re"]=0;var r=e.match(/\d+\.?\d*e[+-]?\d+|\d+\.?\d*|\.\d+|./g),o=1,i=0;null===r&&l();for(var a=0;a<r.length;a++){var u=r[a];" "===u||"\t"===u||"\n"===u||("+"===u?o++:"-"===u?i++:"i"===u||"I"===u?(o+i===0&&l()," "===r[a+1]||isNaN(r[a+1])?n["im"]+=parseFloat((i%2?"-":"")+"1"):(n["im"]+=parseFloat((i%2?"-":"")+r[a+1]),a++),o=i=0):((o+i===0||isNaN(u))&&l(),"i"===r[a+1]||"I"===r[a+1]?(n["im"]+=parseFloat((i%2?"-":"")+u),a++):n["re"]+=parseFloat((i%2?"-":"")+u),o=i=0))}o+i>0&&l();break;case"number":n["im"]=0,n["re"]=e;break;default:l()}return isNaN(n["re"])||isNaN(n["im"]),n};function f(e,t){if(!(this instanceof f))return new f(e,t);var n=d(e,t);this["re"]=n["re"],this["im"]=n["im"]}f.prototype={re:0,im:0,sign:function(){var e=this["abs"]();return new f(this["re"]/e,this["im"]/e)},add:function(e,t){var n=new f(e,t);return this["isInfinite"]()&&n["isInfinite"]()?f["NAN"]:this["isInfinite"]()||n["isInfinite"]()?f["INFINITY"]:new f(this["re"]+n["re"],this["im"]+n["im"])},sub:function(e,t){var n=new f(e,t);return this["isInfinite"]()&&n["isInfinite"]()?f["NAN"]:this["isInfinite"]()||n["isInfinite"]()?f["INFINITY"]:new f(this["re"]-n["re"],this["im"]-n["im"])},mul:function(e,t){var n=new f(e,t);return this["isInfinite"]()&&n["isZero"]()||this["isZero"]()&&n["isInfinite"]()?f["NAN"]:this["isInfinite"]()||n["isInfinite"]()?f["INFINITY"]:0===n["im"]&&0===this["im"]?new f(this["re"]*n["re"],0):new f(this["re"]*n["re"]-this["im"]*n["im"],this["re"]*n["im"]+this["im"]*n["re"])},div:function(e,t){var n=new f(e,t);if(this["isZero"]()&&n["isZero"]()||this["isInfinite"]()&&n["isInfinite"]())return f["NAN"];if(this["isInfinite"]()||n["isZero"]())return f["INFINITY"];if(this["isZero"]()||n["isInfinite"]())return f["ZERO"];e=this["re"],t=this["im"];var r,o,i=n["re"],a=n["im"];return 0===a?new f(e/i,t/i):Math.abs(i)<Math.abs(a)?(o=i/a,r=i*o+a,new f((e*o+t)/r,(t*o-e)/r)):(o=a/i,r=a*o+i,new f((e+t*o)/r,(t-e*o)/r))},pow:function(e,t){var n=new f(e,t);if(e=this["re"],t=this["im"],n["isZero"]())return f["ONE"];if(0===n["im"]){if(0===t&&e>0)return new f(Math.pow(e,n["re"]),0);if(0===e)switch((n["re"]%4+4)%4){case 0:return new f(Math.pow(t,n["re"]),0);case 1:return new f(0,Math.pow(t,n["re"]));case 2:return new f(-Math.pow(t,n["re"]),0);case 3:return new f(0,-Math.pow(t,n["re"]))}}if(0===e&&0===t&&n["re"]>0&&n["im"]>=0)return f["ZERO"];var r=Math.atan2(t,e),o=s(e,t);return e=Math.exp(n["re"]*o-n["im"]*r),t=n["im"]*o+n["re"]*r,new f(e*Math.cos(t),e*Math.sin(t))},sqrt:function(){var e,t,n=this["re"],r=this["im"],o=this["abs"]();if(n>=0){if(0===r)return new f(Math.sqrt(n),0);e=.5*Math.sqrt(2*(o+n))}else e=Math.abs(r)/Math.sqrt(2*(o-n));return t=n<=0?.5*Math.sqrt(2*(o-n)):Math.abs(r)/Math.sqrt(2*(o+n)),new f(e,r<0?-t:t)},exp:function(){var e=Math.exp(this["re"]);return this["im"],new f(e*Math.cos(this["im"]),e*Math.sin(this["im"]))},expm1:function(){var e=this["re"],t=this["im"];return new f(Math.expm1(e)*Math.cos(t)+u(t),Math.exp(e)*Math.sin(t))},log:function(){var e=this["re"],t=this["im"];return new f(s(e,t),Math.atan2(t,e))},abs:function(){return c(this["re"],this["im"])},arg:function(){return Math.atan2(this["im"],this["re"])},sin:function(){var e=this["re"],t=this["im"];return new f(Math.sin(e)*i(t),Math.cos(e)*a(t))},cos:function(){var e=this["re"],t=this["im"];return new f(Math.cos(e)*i(t),-Math.sin(e)*a(t))},tan:function(){var e=2*this["re"],t=2*this["im"],n=Math.cos(e)+i(t);return new f(Math.sin(e)/n,a(t)/n)},cot:function(){var e=2*this["re"],t=2*this["im"],n=Math.cos(e)-i(t);return new f(-Math.sin(e)/n,a(t)/n)},sec:function(){var e=this["re"],t=this["im"],n=.5*i(2*t)+.5*Math.cos(2*e);return new f(Math.cos(e)*i(t)/n,Math.sin(e)*a(t)/n)},csc:function(){var e=this["re"],t=this["im"],n=.5*i(2*t)-.5*Math.cos(2*e);return new f(Math.sin(e)*i(t)/n,-Math.cos(e)*a(t)/n)},asin:function(){var e=this["re"],t=this["im"],n=new f(t*t-e*e+1,-2*e*t)["sqrt"](),r=new f(n["re"]-t,n["im"]+e)["log"]();return new f(r["im"],-r["re"])},acos:function(){var e=this["re"],t=this["im"],n=new f(t*t-e*e+1,-2*e*t)["sqrt"](),r=new f(n["re"]-t,n["im"]+e)["log"]();return new f(Math.PI/2-r["im"],r["re"])},atan:function(){var e=this["re"],t=this["im"];if(0===e){if(1===t)return new f(0,1/0);if(-1===t)return new f(0,-1/0)}var n=e*e+(1-t)*(1-t),r=new f((1-t*t-e*e)/n,-2*e/n).log();return new f(-.5*r["im"],.5*r["re"])},acot:function(){var e=this["re"],t=this["im"];if(0===t)return new f(Math.atan2(1,e),0);var n=e*e+t*t;return 0!==n?new f(e/n,-t/n).atan():new f(0!==e?e/0:0,0!==t?-t/0:0).atan()},asec:function(){var e=this["re"],t=this["im"];if(0===e&&0===t)return new f(0,1/0);var n=e*e+t*t;return 0!==n?new f(e/n,-t/n).acos():new f(0!==e?e/0:0,0!==t?-t/0:0).acos()},acsc:function(){var e=this["re"],t=this["im"];if(0===e&&0===t)return new f(Math.PI/2,1/0);var n=e*e+t*t;return 0!==n?new f(e/n,-t/n).asin():new f(0!==e?e/0:0,0!==t?-t/0:0).asin()},sinh:function(){var e=this["re"],t=this["im"];return new f(a(e)*Math.cos(t),i(e)*Math.sin(t))},cosh:function(){var e=this["re"],t=this["im"];return new f(i(e)*Math.cos(t),a(e)*Math.sin(t))},tanh:function(){var e=2*this["re"],t=2*this["im"],n=i(e)+Math.cos(t);return new f(a(e)/n,Math.sin(t)/n)},coth:function(){var e=2*this["re"],t=2*this["im"],n=i(e)-Math.cos(t);return new f(a(e)/n,-Math.sin(t)/n)},csch:function(){var e=this["re"],t=this["im"],n=Math.cos(2*t)-i(2*e);return new f(-2*a(e)*Math.cos(t)/n,2*i(e)*Math.sin(t)/n)},sech:function(){var e=this["re"],t=this["im"],n=Math.cos(2*t)+i(2*e);return new f(2*i(e)*Math.cos(t)/n,-2*a(e)*Math.sin(t)/n)},asinh:function(){var e=this["im"];this["im"]=-this["re"],this["re"]=e;var t=this["asin"]();return this["re"]=-this["im"],this["im"]=e,e=t["re"],t["re"]=-t["im"],t["im"]=e,t},acosh:function(){var e=this["acos"]();if(e["im"]<=0){var t=e["re"];e["re"]=-e["im"],e["im"]=t}else{t=e["im"];e["im"]=-e["re"],e["re"]=t}return e},atanh:function(){var e=this["re"],t=this["im"],n=e>1&&0===t,r=1-e,o=1+e,i=r*r+t*t,a=0!==i?new f((o*r-t*t)/i,(t*r+o*t)/i):new f(-1!==e?e/0:0,0!==t?t/0:0),u=a["re"];return a["re"]=s(a["re"],a["im"])/2,a["im"]=Math.atan2(a["im"],u)/2,n&&(a["im"]=-a["im"]),a},acoth:function(){var e=this["re"],t=this["im"];if(0===e&&0===t)return new f(0,Math.PI/2);var n=e*e+t*t;return 0!==n?new f(e/n,-t/n).atanh():new f(0!==e?e/0:0,0!==t?-t/0:0).atanh()},acsch:function(){var e=this["re"],t=this["im"];if(0===t)return new f(0!==e?Math.log(e+Math.sqrt(e*e+1)):1/0,0);var n=e*e+t*t;return 0!==n?new f(e/n,-t/n).asinh():new f(0!==e?e/0:0,0!==t?-t/0:0).asinh()},asech:function(){var e=this["re"],t=this["im"];if(this["isZero"]())return f["INFINITY"];var n=e*e+t*t;return 0!==n?new f(e/n,-t/n).acosh():new f(0!==e?e/0:0,0!==t?-t/0:0).acosh()},inverse:function(){if(this["isZero"]())return f["INFINITY"];if(this["isInfinite"]())return f["ZERO"];var e=this["re"],t=this["im"],n=e*e+t*t;return new f(e/n,-t/n)},conjugate:function(){return new f(this["re"],-this["im"])},neg:function(){return new f(-this["re"],-this["im"])},ceil:function(e){return e=Math.pow(10,e||0),new f(Math.ceil(this["re"]*e)/e,Math.ceil(this["im"]*e)/e)},floor:function(e){return e=Math.pow(10,e||0),new f(Math.floor(this["re"]*e)/e,Math.floor(this["im"]*e)/e)},round:function(e){return e=Math.pow(10,e||0),new f(Math.round(this["re"]*e)/e,Math.round(this["im"]*e)/e)},equals:function(e,t){var n=new f(e,t);return Math.abs(n["re"]-this["re"])<=f["EPSILON"]&&Math.abs(n["im"]-this["im"])<=f["EPSILON"]},clone:function(){return new f(this["re"],this["im"])},toString:function(){var e=this["re"],t=this["im"],n="";return this["isNaN"]()?"NaN":this["isInfinite"]()?"Infinity":(Math.abs(e)<f["EPSILON"]&&(e=0),Math.abs(t)<f["EPSILON"]&&(t=0),0===t?n+e:(0!==e?(n+=e,n+=" ",t<0?(t=-t,n+="-"):n+="+",n+=" "):t<0&&(t=-t,n+="-"),1!==t&&(n+=t),n+"i"))},toVector:function(){return[this["re"],this["im"]]},valueOf:function(){return 0===this["im"]?this["re"]:null},isNaN:function(){return isNaN(this["re"])||isNaN(this["im"])},isZero:function(){return 0===this["im"]&&0===this["re"]},isFinite:function(){return isFinite(this["re"])&&isFinite(this["im"])},isInfinite:function(){return!(this["isNaN"]()||this["isFinite"]())}},f["ZERO"]=new f(0,0),f["ONE"]=new f(1,0),f["I"]=new f(0,1),f["PI"]=new f(Math.PI,0),f["E"]=new f(Math.E,0),f["INFINITY"]=new f(1/0,1/0),f["NAN"]=new f(NaN,NaN),f["EPSILON"]=1e-15,r=[],o=function(){return f}.apply(t,r),void 0===o||(e.exports=o)})()},f5df:function(e,t,n){"use strict";var r=n("00ee"),o=n("1626"),i=n("c6b6"),a=n("b622"),u=a("toStringTag"),c=Object,l="Arguments"===i(function(){return arguments}()),s=function(e,t){try{return e[t]}catch(n){}};e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=s(t=c(e),u))?n:l?i(t):"Object"===(r=i(t))&&o(t.callee)?"Arguments":r}},f772:function(e,t,n){"use strict";var r=n("5692"),o=n("90e3"),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},f906:function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d\d/,r=/\d\d?/,o=/\d*[^-_:/,()\s\d]+/,i={},a=function(e){return(e=+e)+(e>68?1900:2e3)},u=function(e){return function(t){this[e]=+t}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e)}],l=function(e){var t=i[e];return t&&(t.indexOf?t:t.s.concat(t.f))},s=function(e,t){var n,r=i.meridiem;if(r){for(var o=1;o<=24;o+=1)if(e.indexOf(r(o,0,t))>-1){n=o>12;break}}else n=e===(t?"pm":"PM");return n},d={A:[o,function(e){this.afternoon=s(e,!1)}],a:[o,function(e){this.afternoon=s(e,!0)}],S:[/\d/,function(e){this.milliseconds=100*+e}],SS:[n,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[r,u("seconds")],ss:[r,u("seconds")],m:[r,u("minutes")],mm:[r,u("minutes")],H:[r,u("hours")],h:[r,u("hours")],HH:[r,u("hours")],hh:[r,u("hours")],D:[r,u("day")],DD:[n,u("day")],Do:[o,function(e){var t=i.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,"")===e&&(this.day=r)}],M:[r,u("month")],MM:[n,u("month")],MMM:[o,function(e){var t=l("months"),n=(l("monthsShort")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[o,function(e){var t=l("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,u("year")],YY:[n,function(e){this.year=a(e)}],YYYY:[/\d{4}/,u("year")],Z:c,ZZ:c};function f(n){var r,o;r=n,o=i&&i.formats;for(var a=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var i=r&&r.toUpperCase();return n||o[r]||e[r]||o[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),u=a.length,c=0;c<u;c+=1){var l=a[c],s=d[l],f=s&&s[0],p=s&&s[1];a[c]=p?{regex:f,parser:p}:l.replace(/^\[|\]$/g,"")}return function(e){for(var t={},n=0,r=0;n<u;n+=1){var o=a[n];if("string"==typeof o)r+=o.length;else{var i=o.regex,c=o.parser,l=e.slice(r),s=i.exec(l)[0];c.call(t,s),e=e.replace(s,"")}}return function(e){var t=e.afternoon;if(void 0!==t){var n=e.hours;t?n<12&&(e.hours+=12):12===n&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(a=e.parseTwoDigitYear);var r=t.prototype,o=r.parse;r.parse=function(e){var t=e.date,r=e.utc,a=e.args;this.$u=r;var u=a[1];if("string"==typeof u){var c=!0===a[2],l=!0===a[3],s=c||l,d=a[2];l&&(d=a[2]),i=this.$locale(),!c&&d&&(i=n.Ls[d]),this.$d=function(e,t,n){try{if(["x","X"].indexOf(t)>-1)return new Date(("X"===t?1e3:1)*e);var r=f(t)(e),o=r.year,i=r.month,a=r.day,u=r.hours,c=r.minutes,l=r.seconds,s=r.milliseconds,d=r.zone,p=new Date,v=a||(o||i?1:p.getDate()),h=o||p.getFullYear(),m=0;o&&!i||(m=i>0?i-1:p.getMonth());var g=u||0,b=c||0,y=l||0,O=s||0;return d?new Date(Date.UTC(h,m,v,g,b,y,O+60*d.offset*1e3)):n?new Date(Date.UTC(h,m,v,g,b,y,O)):new Date(h,m,v,g,b,y,O)}catch(e){return new Date("")}}(t,u,r),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),s&&t!=this.format(u)&&(this.$d=new Date("")),i={}}else if(u instanceof Array)for(var p=u.length,v=1;v<=p;v+=1){a[1]=u[v-1];var h=n.apply(this,a);if(h.isValid()){this.$d=h.$d,this.$L=h.$L,this.init();break}v===p&&(this.$d=new Date(""))}else o.call(this,e)}}}))},fb15:function(e,t,n){"use strict";if(n.r(t),n.d(t,"formTemplate",(function(){return be})),n.d(t,"SUBMITTED_SVG_XML",(function(){return ye})),n.d(t,"HISTORY_SVG_XML",(function(){return Oe})),n.d(t,"FORM_ERROR_MODAL_SVG_XML",(function(){return Ce})),n.d(t,"DROP_DOWN_LIST_SVG_XML",(function(){return we})),n.d(t,"BuiltLabel",(function(){return Se["a"]})),n.d(t,"CacheType",(function(){return Se["b"]})),n.d(t,"ControlFormatType",(function(){return Se["c"]})),n.d(t,"DynamicOptionType",(function(){return Se["d"]})),n.d(t,"FormBusAttr",(function(){return Se["e"]})),n.d(t,"FormFieldClass",(function(){return Se["f"]})),n.d(t,"FormFieldType",(function(){return Se["g"]})),n.d(t,"FormType",(function(){return Se["h"]})),n.d(t,"LateralArrangement",(function(){return Se["i"]})),n.d(t,"MoneyUnit",(function(){return Se["j"]})),n.d(t,"OptionType",(function(){return Se["k"]})),n.d(t,"SubmittedType",(function(){return Se["l"]})),n.d(t,"SupportUploadType",(function(){return Se["m"]})),n.d(t,"Switch",(function(){return Se["n"]})),n.d(t,"UploadType",(function(){return Se["o"]})),n.d(t,"ValidateRules",(function(){return Se["p"]})),n.d(t,"ValidateStatus",(function(){return Se["q"]})),n.d(t,"VerticalArrangement",(function(){return Se["r"]})),n.d(t,"ZoomType",(function(){return Se["s"]})),n.d(t,"Attribute",(function(){return yX})),n.d(t,"FormApi",(function(){return OX})),n.d(t,"DesFormControl",(function(){return dV})),n.d(t,"DesForm",(function(){return VR})),n.d(t,"DesFormLayout",(function(){return XR})),n.d(t,"FormControl",(function(){return vV})),n.d(t,"FormGroup",(function(){return hV})),n.d(t,"apiService",(function(){return ER})),n.d(t,"CleanLocalForageService",(function(){return AR})),n.d(t,"cleanLocalForageService",(function(){return PR})),n.d(t,"DictLocalForageService",(function(){return FR})),n.d(t,"dictLocalForageService",(function(){return IR})),n.d(t,"formBeanUtilsService",(function(){return ZR})),n.d(t,"FormLocalForageService",(function(){return RR})),n.d(t,"formLocalForageService",(function(){return HR})),n.d(t,"formToolsService",(function(){return aV})),n.d(t,"FormToolsService",(function(){return iV})),n.d(t,"formTreeNodeConvertService",(function(){return KR})),n.d(t,"formValidateService",(function(){return oV})),n.d(t,"validateGeneratorService",(function(){return uV["a"]})),n.d(t,"formStore",(function(){return GR})),n.d(t,"dictStore",(function(){return eH})),"undefined"!==typeof window){var r=window.document.currentScript,o=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])}var i=n("8bbf");function a(e,t,n,r,o,a){var u;const c=Object(i["resolveComponent"])("dv-form-layout");return null!==(u=e.desForm)&&void 0!==u&&null!==(u=u.controls)&&void 0!==u&&u.length?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{key:0,ref:"formView",class:Object(i["normalizeClass"])("lo-form-container lo-"+(e.edit?"enable":"disable")+"-edit lo-class-style-"+e.styleMode+" lo-form-theme-"+e.loFormTheme)},[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.desForm.controls,(n,r)=>(Object(i["openBlock"])(),Object(i["createBlock"])(c,{key:r,control:n,customFormats:e.customFormats,linkList:e.linkList,onLinkClick:e.linkClick,index:r,onChange:t[0]||(t[0]=t=>e.onChange(t)),onFocus:t[1]||(t[1]=t=>e.onFocus(t)),onBlur:t[2]||(t[2]=t=>e.onBlur(t)),onClick:t[3]||(t[3]=t=>e.onClick(t)),onAddonBefore:t[4]||(t[4]=t=>e.onAddonBeforeHandler(t)),onAddonAfter:t[5]||(t[5]=t=>e.onAddonAfterHandler(t)),onAddItem:t[6]||(t[6]=t=>e.selectAddItem(t))},Object(i["createSlots"])({_:2},[Object(i["renderList"])(Object.keys(this.$slots),t=>({name:t,fn:Object(i["withCtx"])(n=>[Object(i["renderSlot"])(e.$slots,t,{content:n.content,control:n.control,onChange:n.onChange},void 0,!0)])}))]),1032,["control","customFormats","linkList","onLinkClick","index"]))),128))],2)):Object(i["createCommentVNode"])("",!0)}function u(e){return u="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},u(e)}n("d9e2");function c(e,t){if("object"!=u(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function l(e){var t=c(e,"string");return"symbol"==u(t)?t:t+""}function s(e,t,n){return(t=l(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n("14d9");
|
|
38
|
-
/*! *****************************************************************************
|
|
39
|
-
Copyright (c) Microsoft Corporation.
|
|
40
|
-
|
|
41
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
42
|
-
purpose with or without fee is hereby granted.
|
|
43
|
-
|
|
44
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
45
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
46
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
47
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
48
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
49
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
50
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
51
|
-
***************************************************************************** */function d(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}const f=e=>(Object(i["pushScopeId"])("data-v-09bdff10"),e=e(),Object(i["popScopeId"])(),e),p={class:"lo-control-box"},v={key:0},h=["src"],m=f(()=>Object(i["createElementVNode"])("div",{class:"lo-history-popconfirm-title"},"历史修改",-1)),g={class:"lo-history-context"},b={class:"lo-important lo-mx-10"},y={class:"lo-important lo-mx-10"},O={class:"lo-important lo-ml-10"},C=["src"],w={class:"number-format-show"},S={class:"addon-inner"},N={class:"ant-picker-cell-inner calendar-control-style"},M={class:"date-control-style"},x=f(()=>Object(i["createElementVNode"])("div",{class:"eest-day-style"},null,-1)),j={class:"date-style"},T={class:"eest-day-style"},D={key:0,class:"holidays-style"},E={key:1,class:"weekday-style"},k={class:"date-type-style"},L={key:0,class:"trading-day-style"},Y=f(()=>Object(i["createElementVNode"])("div",{class:"legend"},[Object(i["createElementVNode"])("div",{class:"day-explain-style"},[Object(i["createElementVNode"])("div",{class:"trading-day-icon"}),Object(i["createElementVNode"])("div",{class:"day-explain"},"交易日")])],-1)),_={class:"lo-input-content"},A=["title"],P={key:1},F=f(()=>Object(i["createElementVNode"])("div",{class:"flex-grow-1"},null,-1)),I={key:0,class:"addon-readonly"};function B(e,t,n,r,o,a){const u=Object(i["resolveComponent"])("a-tooltip"),c=Object(i["resolveComponent"])("question-circle-outlined"),l=Object(i["resolveComponent"])("clock-circle-outlined"),s=Object(i["resolveComponent"])("a-timeline-item"),d=Object(i["resolveComponent"])("a-timeline"),f=Object(i["resolveComponent"])("a-popconfirm"),B=Object(i["resolveComponent"])("search-outlined"),Z=Object(i["resolveComponent"])("a-textarea"),R=Object(i["resolveComponent"])("a-input-number"),H=Object(i["resolveComponent"])("a-menu-item"),V=Object(i["resolveComponent"])("a-menu"),X=Object(i["resolveComponent"])("down-outlined"),J=Object(i["resolveComponent"])("a-button"),z=Object(i["resolveComponent"])("a-dropdown"),Q=Object(i["resolveComponent"])("a-popover"),W=Object(i["resolveComponent"])("v-nodes"),K=Object(i["resolveComponent"])("a-divider"),U=Object(i["resolveComponent"])("plus-outlined"),G=Object(i["resolveComponent"])("a-select-option"),$=Object(i["resolveComponent"])("a-select"),q=Object(i["resolveComponent"])("a-radio"),ee=Object(i["resolveComponent"])("a-radio-group"),te=Object(i["resolveComponent"])("a-checkbox"),ne=Object(i["resolveComponent"])("a-col"),re=Object(i["resolveComponent"])("a-row"),oe=Object(i["resolveComponent"])("a-checkbox-group"),ie=Object(i["resolveComponent"])("a-switch"),ae=Object(i["resolveComponent"])("a-time-picker"),ue=Object(i["resolveComponent"])("a-month-picker"),ce=Object(i["resolveComponent"])("a-date-picker"),le=Object(i["resolveComponent"])("a-slider"),se=Object(i["resolveComponent"])("a-cascader"),de=Object(i["resolveComponent"])("a-tree-select"),fe=Object(i["resolveComponent"])("a-rate"),pe=Object(i["resolveComponent"])("upload-outlined"),ve=Object(i["resolveComponent"])("a-upload"),he=Object(i["resolveComponent"])("stretch-text"),me=Object(i["resolveComponent"])("a-form-item"),ge=Object(i["resolveComponent"])("dv-form-layout",!0),be=Object(i["resolveComponent"])("a-form");return e.control.type!==e.formFieldClass.Base.code&&e.control.type!==e.formFieldClass.Senior.code||e.controlAttr.isHideControl?e.control.type===e.formFieldClass.Layout.code&&e.control.code===e.formFieldType.Empty.code?(Object(i["openBlock"])(),Object(i["createBlock"])(be,{key:1,class:Object(i["normalizeClass"])("w-100 lo-empty-layout-container"+(e.controlAttr.layoutName?" lo-form-layout-"+e.controlAttr.layoutName:"")),layout:e.layout,style:Object(i["normalizeStyle"])(e.emptyLayoutContainerStyle)},{default:Object(i["withCtx"])(()=>[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.control.subControls,(n,r)=>(Object(i["openBlock"])(),Object(i["createBlock"])(ge,{key:r,index:r,customFormats:e.customFormats,control:n,parentControl:e.control,linkList:e.linkList,onLinkClick:e.linkClick,onChange:t[57]||(t[57]=t=>e.onChange(t)),onClick:t[58]||(t[58]=t=>e.onClick(t)),onFocus:t[59]||(t[59]=t=>e.onFocus(t)),onBlur:t[60]||(t[60]=t=>e.onBlur(t)),onAddonBefore:t[61]||(t[61]=t=>e.onAddonBeforeHandler(t)),onAddonAfter:t[62]||(t[62]=t=>e.onAddonAfterHandler(t)),onAddItem:t[63]||(t[63]=t=>e.selectAddItem(t)),onFixFormLayout:e.onHideControl},Object(i["createSlots"])({_:2},[Object(i["renderList"])(Object.keys(e.$slots),t=>({name:t,fn:Object(i["withCtx"])(({content:n,control:r,onChange:o})=>[Object(i["renderSlot"])(e.$slots,t,{content:n,control:r,onChange:o},void 0,!0)])}))]),1032,["index","customFormats","control","parentControl","linkList","onLinkClick","onFixFormLayout"]))),128))]),_:3},8,["class","layout","style"])):e.control.type===e.formFieldClass.Layout.code&&e.control.code!==e.formFieldType.Empty.code?(Object(i["openBlock"])(),Object(i["createBlock"])(be,{key:2,class:Object(i["normalizeClass"])("w-100 lo-general-layout-container"+(e.controlAttr.layoutName?" lo-form-layout-"+e.controlAttr.layoutName:"")),layout:e.layout,style:Object(i["normalizeStyle"])(e.generalLayoutContainerStyle)},{default:Object(i["withCtx"])(()=>[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.control.subControls,(n,r)=>(Object(i["openBlock"])(),Object(i["createBlock"])(ge,{key:r,index:r,customFormats:e.customFormats,control:n,parentControl:e.control,class:Object(i["normalizeClass"])(e.controlAttr.layoutName?"lo-form-layout-"+e.controlAttr.layoutName:""),onChange:t[64]||(t[64]=t=>e.onChange(t)),onClick:t[65]||(t[65]=t=>e.onClick(t)),onFocus:t[66]||(t[66]=t=>e.onFocus(t)),onBlur:t[67]||(t[67]=t=>e.onBlur(t)),onAddonBefore:t[68]||(t[68]=t=>e.onAddonBeforeHandler(t)),onAddonAfter:t[69]||(t[69]=t=>e.onAddonAfterHandler(t)),onAddItem:t[70]||(t[70]=t=>e.selectAddItem(t))},Object(i["createSlots"])({_:2},[Object(i["renderList"])(Object.keys(e.$slots),t=>({name:t,fn:Object(i["withCtx"])(({content:n,control:r,onChange:o})=>[Object(i["renderSlot"])(e.$slots,t,{content:n,control:r,onChange:o},void 0,!0)])}))]),1032,["index","customFormats","control","parentControl","class"]))),128))]),_:3},8,["class","layout","style"])):Object(i["createCommentVNode"])("",!0):(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{key:0,class:"lo-control-container",style:Object(i["normalizeStyle"])({width:e.divWidthCompatibleToIe})},[Object(i["createElementVNode"])("div",p,[Object(i["createVNode"])(me,{labelCol:{style:"min-width: "+e.labelSpanWidth+";width:"+e.labelSpanWidth},wrapperCol:{style:"max-width: "+e.controlSpanMaxWidth+";width: "+e.controlSpanWidth},colon:e.colon,labelAlign:e.labelAlign,required:e.required,"validate-status":e.validateResult.validateStatus,help:e.provideInjectData.edit?e.validateResult.errorMsg:null,class:Object(i["normalizeClass"])({["form-model-item-"+e.controlAttr.boundProperty]:!0,["form-model-item-"+e.control.code]:!0,"lo-form-model-item-textarea-box":e.control.code===e.formFieldType.Textarea.code})},{label:Object(i["withCtx"])(()=>[e.controlAttr.isHideTitle?Object(i["createCommentVNode"])("",!0):(Object(i["openBlock"])(),Object(i["createElementBlock"])("span",v,[Object(i["createElementVNode"])("span",{class:Object(i["normalizeClass"])({"lo-fw":e.controlAttr.isBoldTitle}),style:Object(i["normalizeStyle"])({color:e.controlAttr.titleColor})},Object(i["toDisplayString"])(e.controlAttr.formFieldDescribe),7),e.submittedType.length>0?(Object(i["openBlock"])(),Object(i["createBlock"])(u,{key:0,class:"lo-label-sub-type-icon",placement:"right",title:e.submittedTypeStr,overlayClassName:"lo-form-item-tooltip"},{default:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("img",{src:e.submittedSvg},null,8,h)]),_:1},8,["title"])):Object(i["createCommentVNode"])("",!0),e.controlAttr.tips?(Object(i["openBlock"])(),Object(i["createBlock"])(u,{key:1,class:"lo-label-tips-icon",placement:"right",title:e.controlAttr.tips,overlayClassName:"lo-form-item-tooltip"},{default:Object(i["withCtx"])(()=>[Object(i["createVNode"])(c,{style:{"font-size":"13px"}})]),_:1},8,["title"])):Object(i["createCommentVNode"])("",!0),e.formControl.history&&e.formControl.history.length?(Object(i["openBlock"])(),Object(i["createBlock"])(f,{key:2,overlayClassName:"lo-label-history-popconfirm",placement:"right","ok-text":"确定"},{title:Object(i["withCtx"])(()=>[m,Object(i["createElementVNode"])("div",null,[Object(i["createVNode"])(d,{class:"lo-history-timeline"},{default:Object(i["withCtx"])(()=>[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.formControl.history,(e,t)=>(Object(i["openBlock"])(),Object(i["createBlock"])(s,{key:t},{dot:Object(i["withCtx"])(()=>[Object(i["createVNode"])(l,{style:{"font-size":"13px"}})]),default:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",g,[Object(i["createElementVNode"])("div",null,Object(i["toDisplayString"])(e.time),1),Object(i["createElementVNode"])("div",b,Object(i["toDisplayString"])(e.before),1),Object(i["createTextVNode"])(" 改为 "),Object(i["createElementVNode"])("div",y,Object(i["toDisplayString"])(e.after),1),Object(i["createTextVNode"])(" 修改人 "),Object(i["createElementVNode"])("div",O,Object(i["toDisplayString"])(e.author),1)])]),_:2},1024))),128))]),_:1})])]),default:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("img",{class:"lo-label-history-icon",src:e.historySvg},null,8,C)]),_:1})):Object(i["createCommentVNode"])("",!0)]))]),default:Object(i["withCtx"])(()=>[e.provideInjectData.edit?(Object(i["openBlock"])(),Object(i["createElementBlock"])(i["Fragment"],{key:0},[e.control.code===e.formFieldType.Input.code?(Object(i["openBlock"])(),Object(i["createElementBlock"])(i["Fragment"],{key:0},[e.provideInjectData.edit?(Object(i["openBlock"])(),Object(i["createBlock"])(Object(i["resolveDynamicComponent"])(e.inputShape),{key:0,class:Object(i["normalizeClass"])({"addon-before":e.$slots["input:addonBefore:"+e.formControl.key]||e.controlAttr.bindingPrefix||e.controlAttr.builtInFrontLabel,"addon-after":e.$slots["input:addonAfter:"+e.formControl.key]||e.controlAttr.bindingSuffix||e.controlAttr.builtInPostLabel}),value:e.formControl.value,"onUpdate:value":t[2]||(t[2]=t=>e.formControl.value=t),placeholder:e.controlAttr.placeholder,disabled:e.controlAttr.isNotEdit,"data-source":e.controlAttr.autoCompleteOptions,onFocus:t[3]||(t[3]=t=>e.onFocus(e.control)),onBlur:t[4]||(t[4]=t=>e.onBlur(e.control)),onInput:t[5]||(t[5]=t=>e.onChange(e.control)),onClick:t[6]||(t[6]=t=>e.onClick(e.control))},Object(i["createSlots"])({_:2},[e.$slots["input:prefix:"+e.formControl.key]?{name:"prefix",fn:Object(i["withCtx"])(()=>[Object(i["renderSlot"])(e.$slots,"input:prefix:"+e.formControl.key,{},void 0,!0)]),key:"0"}:void 0,e.$slots["input:suffix:"+e.formControl.key]?{name:"suffix",fn:Object(i["withCtx"])(()=>[Object(i["renderSlot"])(e.$slots,"input:suffix:"+e.formControl.key,{},void 0,!0)]),key:"1"}:void 0,e.$slots["input:addonBefore:"+e.formControl.key]||e.controlAttr.bindingPrefix||e.controlAttr.builtInFrontLabel?{name:"addonBefore",fn:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("span",{class:"addon-inner",onClick:t[0]||(t[0]=t=>e.onAddonBeforeHandler(e.control))},[e.$slots["input:addonBefore:"+e.formControl.key]?Object(i["renderSlot"])(e.$slots,"input:addonBefore:"+e.formControl.key,{key:0},void 0,!0):e.controlAttr.bindingPrefix?(Object(i["openBlock"])(),Object(i["createElementBlock"])(i["Fragment"],{key:1},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.controlAttr.bindingPrefix),1)],64)):e.controlAttr.builtInFrontLabel?(Object(i["openBlock"])(),Object(i["createBlock"])(B,{key:2,class:"addon-icon"})):Object(i["createCommentVNode"])("",!0)])]),key:"2"}:void 0,e.$slots["input:addonAfter:"+e.formControl.key]||e.controlAttr.bindingSuffix||e.controlAttr.builtInPostLabel?{name:"addonAfter",fn:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("span",{class:"addon-inner",onClick:t[1]||(t[1]=t=>e.onAddonAfterHandler(e.control))},[e.$slots["input:addonAfter:"+e.formControl.key]?Object(i["renderSlot"])(e.$slots,"input:addonAfter:"+e.formControl.key,{key:0},void 0,!0):e.controlAttr.bindingSuffix?(Object(i["openBlock"])(),Object(i["createElementBlock"])(i["Fragment"],{key:1},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.controlAttr.bindingSuffix),1)],64)):e.controlAttr.builtInPostLabel?(Object(i["openBlock"])(),Object(i["createBlock"])(B,{key:2,class:"addon-icon"})):Object(i["createCommentVNode"])("",!0)])]),key:"3"}:void 0]),1064,["class","value","placeholder","disabled","data-source"])):Object(i["createCommentVNode"])("",!0)],64)):e.control.code===e.formFieldType.Textarea.code?(Object(i["openBlock"])(),Object(i["createBlock"])(Z,{key:1,value:e.control.formControl.value,"onUpdate:value":t[7]||(t[7]=t=>e.control.formControl.value=t),placeholder:e.controlAttr.placeholder,disabled:e.controlAttr.isNotEdit,rows:e.controlAttr.textareaRows||3,showCount:!!e.maxCharacterCount,maxlength:e.maxCharacterCount,onInput:t[8]||(t[8]=t=>e.onChange(e.control)),onFocus:t[9]||(t[9]=t=>e.onFocus(e.control)),onBlur:t[10]||(t[10]=t=>e.onBlur(e.control)),onClick:t[11]||(t[11]=t=>e.onClick(e.control))},null,8,["value","placeholder","disabled","rows","showCount","maxlength"])):Object(i["createCommentVNode"])("",!0),e.control.code===e.formFieldType.InputNumber.code?(Object(i["openBlock"])(),Object(i["createElementBlock"])("span",{key:2,class:Object(i["normalizeClass"])(["lo-input-number-box",{"lo-with-unit":e.controlAttr.zoomType===e.zoomType.automatic.code&&e.moneyUnits.length>0,["lo-unit-"+e.moneyUnitsIndentScale]:!0}]),tabindex:"1"},[Object(i["createVNode"])(Q,{placement:"topLeft",trigger:"focus",getPopupContainer:t=>t.parentNode||e.document.body},Object(i["createSlots"])({default:Object(i["withCtx"])(()=>[Object(i["createVNode"])(R,{step:e.controlAttr.step||1,min:null!=e.controlAttr.minValue?e.controlAttr.minValue:void 0,max:null!=e.controlAttr.maxValue?e.controlAttr.maxValue:void 0,formatter:e.numberFormatter,parser:e.numberParser,precision:e.controlAttr.decimalPlaces,placeholder:e.controlAttr.placeholder,disabled:e.controlAttr.isNotEdit,value:e.formControl.value,"onUpdate:value":t[12]||(t[12]=t=>e.formControl.value=t),onChange:t[13]||(t[13]=t=>e.onChange(e.control)),onClick:t[14]||(t[14]=t=>e.onClick(e.control)),onFocus:t[15]||(t[15]=t=>e.onInputNumberFocus(e.control)),onBlur:t[16]||(t[16]=t=>e.onInputNumberBlur(e.control))},Object(i["createSlots"])({_:2},[e.controlAttr.unit?{name:"addonAfter",fn:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("span",S,Object(i["toDisplayString"])(e.controlAttr.unit),1)]),key:"0"}:void 0]),1032,["step","min","max","formatter","parser","precision","placeholder","disabled","value"]),e.controlAttr.zoomType===e.zoomType.automatic.code&&e.moneyUnits.length>0?(Object(i["openBlock"])(),Object(i["createBlock"])(z,{key:0},{overlay:Object(i["withCtx"])(()=>[Object(i["createVNode"])(V,{onClick:e.handleMoneyUnitMenuClick},{default:Object(i["withCtx"])(()=>[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.moneyUnits,e=>(Object(i["openBlock"])(),Object(i["createBlock"])(H,{key:e.code},{default:Object(i["withCtx"])(()=>[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.name),1)]),_:2},1024))),128))]),_:1},8,["onClick"])]),default:Object(i["withCtx"])(()=>[Object(i["createVNode"])(J,null,{default:Object(i["withCtx"])(()=>[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.defaultMoneyUnit.name)+" ",1),e.moneyUnits.length>1?(Object(i["openBlock"])(),Object(i["createBlock"])(X,{key:0})):Object(i["createCommentVNode"])("",!0)]),_:1})]),_:1})):Object(i["createCommentVNode"])("",!0)]),_:2},[e.numberPopoverVisible?{name:"content",fn:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("span",w,Object(i["toDisplayString"])(e.amountCapitalization(e.zoomMultiple(e.formControl.value,e.formControl))),1)]),key:"0"}:void 0]),1032,["getPopupContainer"])],2)):Object(i["createCommentVNode"])("",!0),e.control.code===e.formFieldType.Select.code?(Object(i["openBlock"])(),Object(i["createBlock"])($,{key:3,class:Object(i["normalizeClass"])(["lo-select",{"lo-select-multiple-suffix-icon":e.controlAttr.isMultipleChoice&&(e.$slots["select:suffixIcon:"+e.formControl.key]||e.controlAttr.bindingSuffix)}]),dropdownClassName:e.controlAttr.hiddenDropdown?"lo-select-hide-drop-down-content":"",showArrow:"",value:e.formControl.value,"onUpdate:value":t[19]||(t[19]=t=>e.formControl.value=t),"allow-clear":!0,"show-search":"",mode:e.controlAttr.isMultipleChoice?"multiple":"",disabled:e.controlAttr.isNotEdit,placeholder:e.controlAttr.placeholder,onChange:t[20]||(t[20]=t=>e.onChange(e.control)),onClick:t[21]||(t[21]=t=>e.onClick(e.control)),"get-popup-container":e.getPopupContainer,"filter-option":e.filterOption},Object(i["createSlots"])({dropdownRender:Object(i["withCtx"])(({menuNode:n})=>[Object(i["createVNode"])(W,{vnodes:n},null,8,["vnodes"]),e.controlAttr.canAddEntry?(Object(i["openBlock"])(),Object(i["createElementBlock"])(i["Fragment"],{key:0},[Object(i["createVNode"])(K,{style:{margin:"4px 0"}}),Object(i["createElementVNode"])("div",{style:{padding:"4px 8px 6px 8px",cursor:"pointer"},onMousedown:t[17]||(t[17]=e=>e.preventDefault()),onClick:t[18]||(t[18]=t=>e.selectAddItem(e.control))},[Object(i["createVNode"])(U),Object(i["createTextVNode"])("新增")],32)],64)):Object(i["createCommentVNode"])("",!0)]),default:Object(i["withCtx"])(()=>[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.options,e=>(Object(i["openBlock"])(),Object(i["createBlock"])(G,{value:e.value,key:e.value,title:e.title,disabled:!!e.disabled&&e.disabled},{default:Object(i["withCtx"])(()=>[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.title),1)]),_:2},1032,["value","title","disabled"]))),128))]),_:2},[e.$slots["select:suffixIcon:"+e.formControl.key]||e.controlAttr.bindingSuffix?{name:"suffixIcon",fn:Object(i["withCtx"])(()=>[e.$slots["select:suffixIcon:"+e.formControl.key]?Object(i["renderSlot"])(e.$slots,"select:suffixIcon:"+e.formControl.key,{key:0},void 0,!0):(Object(i["openBlock"])(),Object(i["createElementBlock"])(i["Fragment"],{key:1},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.controlAttr.bindingSuffix),1)],64))]),key:"0"}:void 0]),1032,["dropdownClassName","class","value","mode","disabled","placeholder","get-popup-container","filter-option"])):Object(i["createCommentVNode"])("",!0),e.control.code===e.formFieldType.Radio.code?(Object(i["openBlock"])(),Object(i["createBlock"])(ee,{key:4,class:"w-100",value:e.formControl.value,"onUpdate:value":t[22]||(t[22]=t=>e.formControl.value=t),disabled:e.controlAttr.isNotEdit,onChange:t[23]||(t[23]=t=>e.onChange(e.control)),onClick:t[24]||(t[24]=t=>e.onClick(e.control))},{default:Object(i["withCtx"])(()=>[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.options,e=>(Object(i["openBlock"])(),Object(i["createBlock"])(q,{key:e.value,value:e.value},{default:Object(i["withCtx"])(()=>[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.title),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value","disabled"])):Object(i["createCommentVNode"])("",!0),e.control.code===e.formFieldType.Checkbox.code?(Object(i["openBlock"])(),Object(i["createBlock"])(oe,{key:5,class:"w-100",value:e.formControl.value,"onUpdate:value":t[25]||(t[25]=t=>e.formControl.value=t),disabled:e.controlAttr.isNotEdit,onChange:t[26]||(t[26]=t=>e.onChange(e.control)),onClick:t[27]||(t[27]=t=>e.onClick(e.control))},{default:Object(i["withCtx"])(()=>[Object(i["createVNode"])(re,null,{default:Object(i["withCtx"])(()=>[Object(i["createVNode"])(ne,null,{default:Object(i["withCtx"])(()=>[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.options,t=>(Object(i["openBlock"])(),Object(i["createBlock"])(te,{key:t.value,value:t.value,class:"ml-0 mr-5",style:Object(i["normalizeStyle"])({width:e.controlAttr.checkboxStyle?"auto":"10rem"})},{default:Object(i["withCtx"])(()=>[Object(i["createVNode"])(u,null,{title:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(t.title),1)]),default:Object(i["withCtx"])(()=>[Object(i["createTextVNode"])(" "+Object(i["toDisplayString"])(t.title),1)]),_:2},1024)]),_:2},1032,["value","style"]))),128))]),_:1})]),_:1})]),_:1},8,["value","disabled"])):Object(i["createCommentVNode"])("",!0),e.control.code===e.formFieldType.Switch.code?(Object(i["openBlock"])(),Object(i["createBlock"])(ie,{key:6,checked:e.formControl.value,"onUpdate:checked":t[28]||(t[28]=t=>e.formControl.value=t),"checked-children":e.controlAttr.onOpeningText,"un-checked-children":e.controlAttr.whenClosedText,disabled:e.controlAttr.isNotEdit,onChange:t[29]||(t[29]=t=>e.onChange(e.control)),onClick:t[30]||(t[30]=t=>e.onClick(e.control))},null,8,["checked","checked-children","un-checked-children","disabled"])):Object(i["createCommentVNode"])("",!0),e.control.code===e.formFieldType.TimePicker.code?(Object(i["openBlock"])(),Object(i["createBlock"])(ae,{key:7,class:"w-100","get-popup-container":e.getPopupContainer,locale:e.locale,"use12-hours":e.is12Hours,placeholder:e.controlAttr.placeholder,disabled:e.controlAttr.isNotEdit,value:e.formControl.value,"onUpdate:value":t[31]||(t[31]=t=>e.formControl.value=t),onChange:t[32]||(t[32]=t=>e.onChange(e.control)),onClick:t[33]||(t[33]=t=>e.onClick(e.control))},null,8,["get-popup-container","locale","use12-hours","placeholder","disabled","value"])):Object(i["createCommentVNode"])("",!0),e.control.code===e.formFieldType.DatePicker.code?(Object(i["openBlock"])(),Object(i["createElementBlock"])(i["Fragment"],{key:8},[e.useMonthPicker?(Object(i["openBlock"])(),Object(i["createBlock"])(ue,{key:0,class:"w-100","get-popup-container":e.getPopupContainer,locale:e.locale,format:e.controlAttr.dateFormat,placeholder:e.controlAttr.placeholder,disabled:e.controlAttr.isNotEdit,value:e.formControl.value,"onUpdate:value":t[34]||(t[34]=t=>e.formControl.value=t),onChange:t[35]||(t[35]=t=>e.onChange(e.control)),onClick:t[36]||(t[36]=t=>e.onClick(e.control))},null,8,["get-popup-container","locale","format","placeholder","disabled","value"])):e.controlAttr.isShowHoliday?(Object(i["openBlock"])(),Object(i["createBlock"])(ce,{key:1,class:"w-100","get-popup-container":e.getPopupContainer,locale:e.locale,showTime:e.showPickerTime(e.controlAttr.dateFormat),format:e.controlAttr.dateFormat,placeholder:e.controlAttr.placeholder,disabled:e.controlAttr.isNotEdit,value:e.formControl.value,"onUpdate:value":t[37]||(t[37]=t=>e.formControl.value=t),onChange:t[38]||(t[38]=t=>e.onChange(e.control)),onClick:t[39]||(t[39]=t=>e.onClick(e.control))},{dateRender:Object(i["withCtx"])(({current:t})=>[Object(i["createElementVNode"])("div",N,[Object(i["createElementVNode"])("div",M,[x,Object(i["createElementVNode"])("div",j,Object(i["toDisplayString"])(t.date()),1),Object(i["createElementVNode"])("div",T,[e.isRest(t)?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",D,"休")):e.isWeekday(t)?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",E,"班")):Object(i["createCommentVNode"])("",!0)])]),Object(i["createElementVNode"])("div",k,[e.isRadingDay(t)?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",L)):Object(i["createCommentVNode"])("",!0)])])]),renderExtraFooter:Object(i["withCtx"])(()=>[Y]),_:1},8,["get-popup-container","locale","showTime","format","placeholder","disabled","value"])):(Object(i["openBlock"])(),Object(i["createBlock"])(ce,{key:2,class:"w-100","get-popup-container":e.getPopupContainer,locale:e.locale,showTime:e.showPickerTime(e.controlAttr.dateFormat),format:e.controlAttr.dateFormat,placeholder:e.controlAttr.placeholder,disabled:e.controlAttr.isNotEdit,value:e.formControl.value,"onUpdate:value":t[40]||(t[40]=t=>e.formControl.value=t),onChange:t[41]||(t[41]=t=>e.onChange(e.control)),onClick:t[42]||(t[42]=t=>e.onClick(e.control))},null,8,["get-popup-container","locale","showTime","format","placeholder","disabled","value"]))],64)):Object(i["createCommentVNode"])("",!0),e.control.code===e.formFieldType.Slider.code?(Object(i["openBlock"])(),Object(i["createBlock"])(le,{key:9,value:e.formControl.value,"onUpdate:value":t[43]||(t[43]=t=>e.formControl.value=t),disabled:e.controlAttr.isNotEdit,onChange:t[44]||(t[44]=t=>e.onChange(e.control)),onClick:t[45]||(t[45]=t=>e.onClick(e.control))},null,8,["value","disabled"])):Object(i["createCommentVNode"])("",!0),e.control.code===e.formFieldType.Cascader.code?(Object(i["openBlock"])(),Object(i["createBlock"])(se,{key:10,"get-popup-container":e.getPopupContainer,changeOnSelect:e.controlAttr.changeOnSelect,placeholder:e.controlAttr.placeholder,"show-search":{cascaderFilter:e.cascaderFilter},disabled:e.controlAttr.isNotEdit,options:e.cascaderOptions,value:e.formControl.value,"onUpdate:value":t[46]||(t[46]=t=>e.formControl.value=t),onChange:t[47]||(t[47]=t=>e.onChange(e.control)),onClick:t[48]||(t[48]=t=>e.onClick(e.control))},null,8,["get-popup-container","changeOnSelect","placeholder","show-search","disabled","options","value"])):Object(i["createCommentVNode"])("",!0),e.control.code===e.formFieldType.TreeSelect.code?(Object(i["openBlock"])(),Object(i["createBlock"])(de,{key:11,"get-popup-container":e.getPopupContainer,value:e.formControl.value,"onUpdate:value":t[49]||(t[49]=t=>e.formControl.value=t),"show-search":!0,treeNodeFilterProp:"title",disabled:e.controlAttr.isNotEdit,placeholder:e.controlAttr.placeholder,"dropdown-style":{maxHeight:"250px",overflow:"auto"},"tree-data":e.treeSelectOptions,onChange:t[50]||(t[50]=t=>e.onChange(e.control)),onClick:t[51]||(t[51]=t=>e.onClick(e.control)),treeDefaultExpandAll:e.controlAttr.IsTreeOpen},null,8,["get-popup-container","value","disabled","placeholder","tree-data","treeDefaultExpandAll"])):Object(i["createCommentVNode"])("",!0),e.control.code===e.formFieldType.Rate.code?(Object(i["openBlock"])(),Object(i["createBlock"])(fe,{key:12,value:e.formControl.value,"onUpdate:value":t[52]||(t[52]=t=>e.formControl.value=t),disabled:e.controlAttr.isNotEdit,onChange:t[53]||(t[53]=t=>e.onChange(e.control)),onClick:t[54]||(t[54]=t=>e.onClick(e.control)),"allow-half":""},null,8,["value","disabled"])):Object(i["createCommentVNode"])("",!0),e.control.code===e.formFieldType.Upload.code?(Object(i["openBlock"])(),Object(i["createBlock"])(ve,{key:13,"file-list":e.formControl.value,accept:e.uploadType,multiple:e.controlAttr.isMultipleChoice,onRemove:e.handleRemove,"before-upload":e.beforeUpload,onChange:e.handleUploadChange},{default:Object(i["withCtx"])(()=>[Object(i["createVNode"])(J,null,{default:Object(i["withCtx"])(()=>[Object(i["createVNode"])(pe),Object(i["createTextVNode"])(" 选择文件 ")]),_:1})]),_:1},8,["file-list","accept","multiple","onRemove","before-upload","onChange"])):Object(i["createCommentVNode"])("",!0),e.control.code===e.formFieldType.Custom.code&&e.controlAttr.customFieldName?Object(i["renderSlot"])(e.$slots,e.controlAttr.customFieldName,{key:14,control:e.control,onChange:e.onChange},void 0,!0):Object(i["createCommentVNode"])("",!0)],64)):(Object(i["openBlock"])(),Object(i["createElementBlock"])(i["Fragment"],{key:1},[Object(i["createElementVNode"])("div",_,[Object(i["renderSlot"])(e.$slots,"read:"+e.control.formControl.key,{content:e.formatData},()=>[e.controlAttr.textFold?(Object(i["openBlock"])(),Object(i["createBlock"])(he,{key:0,content:e.formatData,linkList:e.linkList,fieldKey:e.control.formControl.key,onLinkClick:t[55]||(t[55]=t=>e.linkClick({key:e.formControl.key,value:e.formatData}))},null,8,["content","linkList","fieldKey"])):(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{key:1,class:"lo-control-text",title:e.formatData},[e.linkList.indexOf(e.control.formControl.key)>-1?(Object(i["openBlock"])(),Object(i["createElementBlock"])("a",{key:0,href:"#",onClick:t[56]||(t[56]=t=>e.linkClick({key:e.formControl.key,value:e.formatData}))},Object(i["toDisplayString"])(e.formatData),1)):(Object(i["openBlock"])(),Object(i["createElementBlock"])("span",P,Object(i["toDisplayString"])(e.formatData),1))],8,A))],!0)]),F,e.controlAttr.unit?(Object(i["openBlock"])(),Object(i["createElementBlock"])("span",I,Object(i["toDisplayString"])(e.controlAttr.unit),1)):Object(i["createCommentVNode"])("",!0)],64))]),_:3},8,["labelCol","wrapperCol","colon","labelAlign","required","validate-status","help","class"])])],4))}
|
|
52
|
-
/**
|
|
53
|
-
* vue-class-component v8.0.0-rc.1
|
|
54
|
-
* (c) 2015-present Evan You
|
|
55
|
-
* @license MIT
|
|
56
|
-
*/function Z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function H(e,t,n){return t&&R(e.prototype,t),n&&R(e,n),e}function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function J(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?X(Object(n),!0).forEach((function(t){V(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function z(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&&W(e,t)}function Q(e){return Q=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Q(e)}function W(e,t){return W=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},W(e,t)}function K(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function U(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G(e,t){return!t||"object"!==typeof t&&"function"!==typeof t?U(e):t}function $(e){var t=K();return function(){var n,r=Q(e);if(t){var o=Q(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return G(this,n)}}function q(e){return ee(e)||te(e)||ne(e)||oe()}function ee(e){if(Array.isArray(e))return re(e)}function te(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function ne(e,t){if(e){if("string"===typeof e)return re(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?re(e,t):void 0}}function re(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function oe(){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 ie(e,t,n){Object.defineProperty(e,t,{get:n,enumerable:!1,configurable:!0})}function ae(e,t,n){Object.defineProperty(e,t,{get:function(){return n[t].value},set:function(e){n[t].value=e},enumerable:!0,configurable:!0})}function ue(e){var t=Object.getPrototypeOf(e.prototype);if(t)return t.constructor}function ce(e,t){return e.hasOwnProperty(t)?e[t]:void 0}var le=function(){function e(t,n){var r=this;Z(this,e),ie(this,"$props",(function(){return t})),ie(this,"$attrs",(function(){return n.attrs})),ie(this,"$slots",(function(){return n.slots})),ie(this,"$emit",(function(){return n.emit})),Object.keys(t).forEach((function(e){Object.defineProperty(r,e,{enumerable:!1,configurable:!0,writable:!0,value:t[e]})}))}return H(e,null,[{key:"registerHooks",value:function(e){var t;(t=this.__h).push.apply(t,q(e))}},{key:"with",value:function(e){var t=new e,n={};Object.keys(t).forEach((function(e){var r=t[e];n[e]=null!==r&&void 0!==r?r:null}));var r=function(e){z(n,e);var t=$(n);function n(){return Z(this,n),t.apply(this,arguments)}return n}(this);return r.__b={props:n},r}},{key:"__vccOpts",get:function(){if(this===se)return{};var e=this,t=ce(e,"__c");if(t)return t;var n=J({},ce(e,"__o"));e.__c=n;var r=ue(e);r&&(n["extends"]=r.__vccOpts);var o=ce(e,"__b");o&&(n.mixins=n.mixins||[],n.mixins.unshift(o)),n.methods=J({},n.methods),n.computed=J({},n.computed);var a=e.prototype;Object.getOwnPropertyNames(a).forEach((function(t){if("constructor"!==t)if(e.__h.indexOf(t)>-1)n[t]=a[t];else{var r=Object.getOwnPropertyDescriptor(a,t);"function"!==typeof r.value?(r.get||r.set)&&(n.computed[t]={get:r.get,set:r.set}):n.methods[t]=r.value}})),n.setup=function(t,n){var r,o=new e(t,n),a=Object.keys(o),u={},c=null;return a.forEach((function(e){void 0===o[e]||o[e]&&o[e].__s||(u[e]=Object(i["ref"])(o[e]),ae(o,e,u))})),a.forEach((function(e){if(o[e]&&o[e].__s){var t=o[e].__s();t instanceof Promise?(c||(c=Promise.resolve(u)),c=c.then((function(){return t.then((function(t){return u[e]=Object(i["proxyRefs"])(t),u}))}))):u[e]=Object(i["proxyRefs"])(t)}})),null!==(r=c)&&void 0!==r?r:u};var u=ce(e,"__d");u&&u.forEach((function(e){return e(n)}));var c=["render","ssrRender","__file","__cssModules","__scopeId","__hmrId"];return c.forEach((function(t){e[t]&&(n[t]=e[t])})),n}}]),e}();le.__h=["data","beforeCreate","created","beforeMount","mounted","beforeUnmount","unmounted","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];var se=le;function de(e){return function(t){return t.__o=e,t}}function fe(e){return function(t,n,r){var o="function"===typeof t?t:t.constructor;o.__d||(o.__d=[]),"number"!==typeof r&&(r=void 0),o.__d.push((function(t){return e(t,n,r)}))}}function pe(e=Object.create(null)){return fe((t,n)=>{const r=t.setup;t.setup=(t,o)=>{const a=null===r||void 0===r?void 0:r(t,o),u=Object(i["inject"])(e.from||n,e.default);return Object.assign(Object.assign({},a),{[n]:u})}})}function ve(e){return fe((t,n)=>{t.props||(t.props=Object.create(null)),t.props[n]=e})}function he(e){return fe((t,n)=>{const r=t.provide;t.provide=function(){const t="function"===typeof r?r.call(this):r;return Object.assign(Object.assign({},t),{[(null===e||void 0===e?void 0:e.to)||n]:(null===e||void 0===e?void 0:e.reactive)?Object(i["computed"])(()=>this[n]):this[n]})}})}function me(e){return fe((t,n)=>{t.computed||(t.computed=Object.create(null)),t.computed[n]={cache:!1,get(){return this.$refs[e||n]}}})}function ge(e,t){return fe((n,r)=>{n.watch||(n.watch=Object.create(null));const o=n.watch;"object"!==typeof o[e]||Array.isArray(o[e])?"undefined"===typeof o[e]&&(o[e]=[]):o[e]=[o[e]],o[e].push(Object.assign({handler:r},t))})}const be={formId:"1",appId:"1",domainClassId:"",objectId:"1",formType:"1",formName:"test",formAlias:"test",formDescribe:"",useState:"1",desDomainClass:null,desFormLayouts:[{layoutId:"1",formId:"1",parentLayoutId:"",layoutName:"",layoutType:"101",gridSpace:1,gridColumnConfig:'[{"value":12,"order":1},{"value":12,"order":2}]',gridLateralArrangement:"1",gridVerticalArrangement:"1",layoutOrder:1,labelSpan:"",controlSpan:"",subDesFormLayout:null,desFormControls:[]}],desBusObject:null},ye="data:image/svg+xml;base64, PHN2ZyB0PSIxNjEyMTY2MTU4NzYxIiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjkxMjY3IiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgd2lkdGg9IjE1IiBoZWlnaHQ9IjE1Ij4NCiAgICAgIDxkZWZzPjwvZGVmcz4NCiAgICAgIDxwYXRoDQogICAgICAgIGQ9Ik01MTEuNSA5NjBDMjY0LjIgOTYwIDYzIDc1OC44IDYzIDUxMS41UzI2NC4yIDYzIDUxMS41IDYzIDk2MCAyNjQuMiA5NjAgNTExLjUgNzU4LjggOTYwIDUxMS41IDk2MHogbTAtODU5LjIzMmMtMjI2LjQ3OCAwLTQxMC43MzIgMTg0LjI1NC00MTAuNzMyIDQxMC43MzJTMjg1LjAyMiA5MjIuMjMyIDUxMS41IDkyMi4yMzIgOTIyLjIzMiA3MzcuOTc4IDkyMi4yMzIgNTExLjUgNzM3Ljk3OCAxMDAuNzY4IDUxMS41IDEwMC43Njh6IG0tOTQuOTA2IDI4NS45ODhsMi40MTgtMS44MTNjOC45NzMtNi43MzQgMTMuNTIyLTE0LjE3NSAxMy41MjQtMjIuMTEycy00LjU0OS0xNS4zOC0xMy41MjQtMjIuMTE3bC0yLjQxOC0xLjgxNGgtNjMuMzQxVjIyNmwtMS44MTQtMi40MTljLTYuNzM2LTguOTc1LTE0LjE3OC0xMy41MjQtMjIuMTE1LTEzLjUyNHMtMTUuMzc5IDQuNTQ5LTIyLjExNSAxMy41MjRMMzA1LjM5NCAyMjZ2MTEyLjloLTczLjk4MWwtMi42NTQgMi42NTNjLTkuNjc5IDkuNjc5LTEzLjcxMyAxOC40OTQtMTIuMzMgMjYuOTQ5IDEuMTgyIDcuMjIzIDYuMTI5IDEzLjA0OCAxNC43IDE3LjMwOGwxLjkwNiAwLjk0Nmg3Mi4zNTV2MTU0LjEyOWMtMjEuOSAxMi4wNTgtNDkuODY5IDI0LjMtODMuMjM2IDM2LjQzNWwtMi4zODggMC44Ny0xLjU4OCAxLjk4MmMtOS4wMzMgMTEuMjc3LTExLjg3OSAyMC44LTguNyAyOS4xMDcgMy4wNCA3Ljk0NSAxMS4xODIgMTMuMDY5IDI0LjIgMTUuMjNsMi4yMTggMC4zNjkgMi4xMzMtMC43MWE0NzEuOTg5IDQ3MS45ODkgMCAwIDAgNjcuMzYyLTI4LjA1djE0My4zNDRjMCA3LjkyOS0yLjc4IDkuNy0zLjY5NCAxMC4yODQtMy42NSAyLjMyLTE2LjU4MSA1LjY2MS01Ny43NDctMTMuNTQybC0yLjY5MS0xLjI1NS0yLjkxMSAwLjU3OGMtMTAuNzI4IDIuMTQtMTcuOCA2Ljg5NC0yMS4wMDYgMTQuMTM5LTMuNTQxIDcuOTkxLTEuODczIDE3LjUyNiA1LjA5NCAyOS4xNDdsMS41NDkgMi41ODUgMi43OTEgMS4xNDNjMjguNDEgMTEuNjIxIDUxLjggMTcuNDE1IDcwLjU3NSAxNy40MTUgMTIuODI2IDAgMjMuNS0yLjcgMzIuMTQ4LTguMSAxNC4yNTctOC44OTIgMjIuMjQxLTI0LjY1IDIzLjczLTQ2LjgzNWwwLjAyMS0xNzMuNzE0YzI4LjI1OS0xNi4xMjcgNTIuMzUzLTM0LjA3NCA3MS42OC01My40bDEuNTE3LTEuNTE4IDAuNjc2LTIuMDM1YzQuNDc0LTEzLjQ3MiAzLjg0NS0yMy4zLTEuOTIzLTMwLjA0NC01LjU1MS02LjUtMTQuOTY2LTguNjkzLTI3Ljk4My02LjUyOWwtMy41OSAwLjU5My0yLjE3OSAyLjkxNGMtNy4zOTQgOS44NzYtMjAuMjEyIDIxLjA1MS0zOC4yIDMzLjMxNVYzODYuNzU2aDYzLjM0MXogbTM5MS4yODggMzY3Ljg2MmwtMS42NzgtMi43OTQtMy4wNzMtMS4wODVjLTUxLjY4Ni0xOC4yMzktOTYuNzMzLTQzLjk1My0xMzQuMDM3LTc2LjUgNDYuOTM4LTU1LjA1NSA3Ny4zLTExNC4wNzcgOTAuMy0xNzUuNTc0IDUuMTE4LTIwLjYgMi45NC0zNy4xNi02LjQ3MS00OS4yMTRDNzQxLjcgNDM1LjA4NiA3MjEuNDc5IDQyOC4xIDY5MS4wOSA0MjguMUg0OTIuMDEzVjMwOC4zMThjMC0yMS40MzggOS4xNDUtMzAuNTg1IDMwLjU4NC0zMC41ODVoMTM4Ljc1OWM0NC43MjkgMCA0NS40MzkgMjEuNTIxIDQ1LjQ0OSAzMC4xNzZsLTQuOTE3IDU0LjEtMC4wMzkgMC44MmMwIDQuOTI3LTEuODU1IDcuMDI3LTMuNDcgOC4zMDUtNS4xNTEgNC4wNzktMjEuMDQzIDkuMjA2LTY5LjYzMi0yLjI1OWwtMi43OS0wLjY1OC0yLjY2IDEuMDY3Yy0xMS4wNCA0LjQyMy0xNy40NjEgMTAuNjkzLTE5LjA4NSAxOC42NDQtMS42NzQgOC4xODUgMi4wNjIgMTYuOSAxMS4xIDI1LjkybDEuODggMS44NzIgMi41OTIgMC41NjZjNTQuODYgMTEuOTM0IDkxLjQ2NSAxMC40NTYgMTExLjkwNy00LjUzMSAxMC42MjYtNy43ODggMTYuNjc2LTE4Ljk3IDE4LTMzLjQ5M2w0Ljk0Mi03OS4xMDVjMS42MjYtMTkuNTc2LTIuOTY3LTM1LjM5LTEzLjY1My00Ny0xMy44LTE0Ljk5My0zNi42LTIyLjI4LTY5LjcxMi0yMi4yOEg1MTIuNjg0Yy00NC44MzMgMC02OC41MyAyMy43LTY4LjUzIDY4LjUyOVY3OTdsMS44MTUgMi40MTljNi43MzcgOC45NzUgMTQuMTc4IDEzLjUyNCAyMi4xMTYgMTMuNTI0czE1LjM3Ny00LjU0OSAyMi4xMTMtMTMuNTI0bDEuODE1LTIuNDE5di0wLjk4M2M1LjUxOSAyLjgyMSAxMi45MzUgMy40NzkgMjIuMTU3IDEuOTQybDEuNDg4LTAuMjQ2IDEuMzI2LTAuNzE2YzQxLjI5MS0yMi4yNjIgODEuNTYxLTUwLjg4MyAxMTkuOC04NS4xNDJhNDg5LjYgNDg5LjYgMCAwIDAgMTUwLjQgODUuNzExbDIuMzU3IDAuODMzIDIuNDUtMC41YzEwLjcyNy0yLjE2NCAxNy43ODgtNi45NCAyMC45ODgtMTQuMiAzLjUyOS03Ljk5IDEuODYtMTcuNDk5LTUuMDk3LTI5LjA4MXogbS05NS40NzMtMjY2LjNsLTAuMzI5IDAuODIxLTAuMTYzIDAuODdjLTkuMTE4IDQ4LjY0OS0zNi4xODkgOTkuNjIyLTgwLjUwOSAxNTEuNjI0LTQ1LjA4Ni00OS43NzQtNzcuNTM2LTEwNS40MTktOTYuNjItMTY1LjY3M2gxNDYuMzljMjYuMDU4IDAgMzEuMDQ2IDUuNDE1IDMxLjc4MiA2LjUgMC45MjkgMS4zNyAwLjIxMiAzLjk0LTAuNTUxIDUuODU3eiBtLTIyMC40IDUuMTE1YzI1LjQ1OCA3My4yMTkgNjEuNDI2IDEzNS43NDYgMTA3LjE1MyAxODYuMjM5LTMwLjEzNSAyOC44LTY2LjEyNyA1My45NDgtMTA3LjE1MyA3NC44NDhWNDkzLjQzMnoiDQogICAgICAgIGZpbGw9IiMwMDlERTUiDQogICAgICAgIHAtaWQ9IjkxMjY4Ig0KICAgICAgPjwvcGF0aD4NCiAgICA8L3N2Zz4=",Oe="data:image/svg+xml;base64, PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBzdHlsZT0idHJhbnNmb3JtOiBzY2FsZSgwLjkpOyBtYXJnaW4tYm90dG9tOiAtMi41cHgiIHdpZHRoPSIxNnB4IiBoZWlnaHQ9IjE1cHgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+DQogICAgICA8ZyB0cmFuc2Zvcm09Im1hdHJpeCgxIDAgMCAxIC03MzYgLTIyNyApIj4NCiAgICAgICAgPHBhdGgNCiAgICAgICAgICBkPSJNIDE0LjQgNy4xOTI5ODI0NTA2NTc4OSAgQyAxNC40IDcuNjczNjg0MjEwNTI2MzIgIDE0LjM1MDkzMzMzMzMzMzMgOC4xNDMxNTc4OTQ3MzY4NCAgMTQuMjU3Nzc3NzgzMzMzMyA4LjU5NjQ5MTIzMzU1MjYzICBMIDEyLjc5ODU3Nzc4MzMzMzMgOC41OTY0OTEyMzM1NTI2MyAgQyAxMi45MTgzMzI3ODU5NTUyIDguMTM4Mzk0ODc0Mjk4NjEgIDEyLjk3ODkzMDcxNzExODMgNy42NjcxOTc0MTQyNTIwMyAgMTIuOTc4OTMwNzE3MTE4MyA3LjE5NDEwMjY5MTg5MzEyICBDIDEyLjk3ODkzMDcxNzExODMgNC4wOTM1NTY3MzA5NTg2NCAgMTAuNDMxOTI4NDA3NTMxOSAxLjU4MDA2NzYwOTY1NjI4ICA3LjI5MDA0MTgzMzc4NDk3IDEuNTgwMDY3NjA5NjU2MjggIEMgNC4xNDgxNTUyNjAwMzgwNCAxLjU4MDA2NzYwOTY1NjI4ICAxLjYwMTE1Mjk1MDQ1MTY0IDQuMDkzNTU2NzMwOTU4NjQgIDEuNjAxMTUyOTUwNDUxNjQgNy4xOTQxMDI2OTE4OTMxMiAgQyAxLjYwMTE1Mjk1MDQ1MTY0IDEwLjI5NDY0ODY1MjgyNzYgIDQuMTQ4MTU1MjYwMDM4MDQgMTIuODA4MTM3Nzc0MTMgIDcuMjkwMDQxODMzNzg0OTcgMTIuODA4MTM3Nzc0MTMgIEMgNy44MDE3MTU4NDYxMjU2OCAxMi44MDgxMzc3NzQxMyAgOC4zMTEwNTEwNTk5ODkxMyAxMi43NDAwMTU0NzY1MDk1ICA4LjgwNDI2NjY2NjY2NjY3IDEyLjYwNTYxNDAyOTYwNTMgIEMgOC44ODY3NTU1NSAxMi44MTk2NDkxMTE4NDIxICA5LjAyMTE1NTU1IDEzLjAwOTEyMjc5NjA1MjYgIDkuMTkyNTMzMzMzMzMzMzMgMTMuMTU3ODk0NzM2ODQyMSAgQyA4LjkyMzU4OTU2OTY3MTU0IDEzLjM5MTU1NDE5MjUzODIgIDguNzU0MTUwMzc0NjM0NzggMTMuNzE2OTQ4ODM3NTM4MyAgOC43MTgyMjIyMTY2NjY2NyAxNC4wNjg3NzE5MjQzNDIxICBDIDguMjU2IDE0LjE2MTQwMzUwMzI4OTUgIDcuNzc4MTMzMzMzMzMzMzMgMTQuMjEwNTI2MzE1Nzg5NSAgNy4yODg4ODg4ODMzMzMzMyAxNC4yMTA1MjYzMTU3ODk1ICBDIDMuMzYxNDIyMjE2NjY2NjcgMTQuMjEwNTI2MzE1Nzg5NSAgMC4xNzc3Nzc3NjY2NjY2NjcgMTEuMDY4NzcxOTI0MzQyMSAgMC4xNzc3Nzc3ODMzMzMzMzQgNy4xOTI5ODI0NTA2NTc4OSAgQyAwLjE3Nzc3NzggMy4zMTcxOTI5NzY5NzM2OCAgMy4zNjE0MjIyMTY2NjY2NyAwLjE3NTQzODYwMTk3MzY4NCAgNy4yODg4ODg4ODMzMzMzMyAwLjE3NTQzODYwMTk3MzY4NCAgQyAxMS4yMTYzNTU1NSAwLjE3NTQzODYwMTk3MzY4NCAgMTQuNCAzLjMxNzE5Mjk5MzQyMTA1ICAxNC40IDcuMTkyOTgyNDUwNjU3ODkgIFogTSA3LjY0NDQ0NDQ1IDMuNjg0MjEwNTI2MzE1NzkgIEwgNy42NDQ0NDQ0NSA3LjE5Mjk4MjQ1MDY1Nzg5ICBMIDkuNzc3Nzc3NzgzMzMzMzMgNy4xOTI5ODI0NTA2NTc4OSAgQyAxMC4xNzA1MTM2MDg1MDM1IDcuMTkyOTgyNDUwNjU3ODkgIDEwLjQ4ODg4ODkgNy41MDcxNjg1OTM1ODIwOSAgMTAuNDg4ODg4OSA3Ljg5NDczNjg0MjEwNTI2ICBDIDEwLjQ4ODg4ODkgOC4yODIzMDUwOTA2Mjg0MyAgMTAuMTcwNTEzNjA4NTAzNSA4LjU5NjQ5MTIzMzU1MjYzICA5Ljc3Nzc3Nzc4MzMzMzMzIDguNTk2NDkxMjMzNTUyNjMgIEwgNi45MzMzMzMzMzMzMzMzMyA4LjU5NjQ5MTIzMzU1MjYzICBDIDYuNDU5MjU5MjU1NTU1NTUgOC41OTY0OTEyMzM1NTI2MyAgNy40MDc0MDc0MTExMTExMSA4LjU5NjQ5MTIzMzU1MjYzICA2LjkzMzMzMzMzMzMzMzMzIDguNTk2NDkxMjMzNTUyNjMgIEMgNi41NDA1OTc1MDgxNjMxOSA4LjU5NjQ5MTIzMzU1MjYzICA2LjIyMjIyMjIxNjY2NjY3IDguMjgyMzA1MDkwNjI4NDMgIDYuMjIyMjIyMjE2NjY2NjcgNy44OTQ3MzY4NDIxMDUyNiAgTCA2LjIyMjIyMjIxNjY2NjY3IDMuNjg0MjEwNTI2MzE1NzkgIEMgNi4yMjIyMjIyMTY2NjY2NyAzLjI5NjY0MjI3Nzc5MjYyICA2LjU0MDU5NzUwODE2MzE5IDIuOTgyNDU2MTM0ODY4NDIgIDYuOTMzMzMzMzMzMzMzMzMgMi45ODI0NTYxMzQ4Njg0MiAgQyA3LjMyNjA2OTE1ODUwMzQ4IDIuOTgyNDU2MTM0ODY4NDIgIDcuNjQ0NDQ0NDUgMy4yOTY2NDIyNzc3OTI2MiAgNy42NDQ0NDQ0NSAzLjY4NDIxMDUyNjMxNTc5ICBaIE0gMTAuODQ0NDQ0NDUgOS4yOTgyNDU2MDg1NTI2MyAgTCAxNS4xMTExMTExMTY2NjY3IDkuMjk4MjQ1NjA4NTUyNjMgIEMgMTUuNTAzODQ2OTQxODM2OCA5LjI5ODI0NTYwODU1MjYzICAxNS44MjIyMjIyMzMzMzMzIDkuNjEyNDMxNzUxNDc2ODMgIDE1LjgyMjIyMjIzMzMzMzMgMTAgIEMgMTUuODIyMjIyMjMzMzMzMyAxMC4zODc1NjgyNDg1MjMyICAxNS41MDM4NDY5NDE4MzY4IDEwLjcwMTc1NDM5MTQ0NzQgIDE1LjExMTExMTExNjY2NjcgMTAuNzAxNzU0MzkxNDQ3NCAgTCAxMC44NDQ0NDQ0NSAxMC43MDE3NTQzOTE0NDc0ICBDIDEwLjQ1MTcwODYyNDgyOTkgMTAuNzAxNzU0MzkxNDQ3NCAgMTAuMTMzMzMzMzMzMzMzMyAxMC4zODc1NjgyNDg1MjMyICAxMC4xMzMzMzMzMzMzMzMzIDEwICBDIDEwLjEzMzMzMzMzMzMzMzMgOS42MTI0MzE3NTE0NzY4MyAgMTAuNDUxNzA4NjI0ODI5OSA5LjI5ODI0NTYwODU1MjYzICAxMC44NDQ0NDQ0NSA5LjI5ODI0NTYwODU1MjYzICBaIE0gMTAuODQ0NDQ0NDUgMTEuNDAzNTA4NzY2NDQ3NCAgTCAxNS4xMTExMTExMTY2NjY3IDExLjQwMzUwODc2NjQ0NzQgIEMgMTUuNTAzODQ2OTQxODM2OCAxMS40MDM1MDg3NjY0NDc0ICAxNS44MjIyMjIyMzMzMzMzIDExLjcxNzY5NDkwOTM3MTYgIDE1LjgyMjIyMjIzMzMzMzMgMTIuMTA1MjYzMTU3ODk0NyAgQyAxNS44MjIyMjIyMzMzMzMzIDEyLjQ5MjgzMTQwNjQxNzkgIDE1LjUwMzg0Njk0MTgzNjggMTIuODA3MDE3NTQ5MzQyMSAgMTUuMTExMTExMTE2NjY2NyAxMi44MDcwMTc1NDkzNDIxICBMIDEwLjg0NDQ0NDQ1IDEyLjgwNzAxNzU0OTM0MjEgIEMgMTAuNDUxNzA4NjI0ODI5OSAxMi44MDcwMTc1NDkzNDIxICAxMC4xMzMzMzMzMzMzMzMzIDEyLjQ5MjgzMTQwNjQxNzkgIDEwLjEzMzMzMzMzMzMzMzMgMTIuMTA1MjYzMTU3ODk0NyAgQyAxMC4xMzMzMzMzMzMzMzMzIDExLjcxNzY5NDkwOTM3MTYgIDEwLjQ1MTcwODYyNDgyOTkgMTEuNDAzNTA4NzY2NDQ3NCAgMTAuODQ0NDQ0NDUgMTEuNDAzNTA4NzY2NDQ3NCAgWiBNIDEwLjg0NDQ0NDQ1IDEzLjUwODc3MTkyNDM0MjEgIEwgMTUuMTExMTExMTE2NjY2NyAxMy41MDg3NzE5MjQzNDIxICBDIDE1LjUwMzg0Njk0MTgzNjggMTMuNTA4NzcxOTI0MzQyMSAgMTUuODIyMjIyMjMzMzMzMyAxMy44MjI5NTgwNjcyNjYzICAxNS44MjIyMjIyMzMzMzMzIDE0LjIxMDUyNjMxNTc4OTUgIEMgMTUuODIyMjIyMjMzMzMzMyAxNC41OTgwOTQ1NjQzMTI2ICAxNS41MDM4NDY5NDE4MzY4IDE0LjkxMjI4MDcwNzIzNjggIDE1LjExMTExMTExNjY2NjcgMTQuOTEyMjgwNzA3MjM2OCAgTCAxMC44NDQ0NDQ0NSAxNC45MTIyODA3MDcyMzY4ICBDIDEwLjQ1MTcwODYyNDgyOTkgMTQuOTEyMjgwNzA3MjM2OCAgMTAuMTMzMzMzMzMzMzMzMyAxNC41OTgwOTQ1NjQzMTI2ICAxMC4xMzMzMzMzMzMzMzMzIDE0LjIxMDUyNjMxNTc4OTUgIEMgMTAuMTMzMzMzMzMzMzMzMyAxMy44MjI5NTgwNjcyNjYzICAxMC40NTE3MDg2MjQ4Mjk5IDEzLjUwODc3MTkyNDM0MjEgIDEwLjg0NDQ0NDQ1IDEzLjUwODc3MTkyNDM0MjEgIFogIg0KICAgICAgICAgIGZpbGwtcnVsZT0ibm9uemVybyINCiAgICAgICAgICBmaWxsPSIjZmZhMTE2Ig0KICAgICAgICAgIHN0cm9rZT0ibm9uZSINCiAgICAgICAgICB0cmFuc2Zvcm09Im1hdHJpeCgxIDAgMCAxIDczNiAyMjcgKSINCiAgICAgICAgLz4NCiAgICAgIDwvZz4NCiAgICA8L3N2Zz4=",Ce="data:image/svg+xml;base64, PHN2ZyB0PSIxNjI5Mjg0MTUzNjk3IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjIxODIiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZD0iTTUxMiAwQzIzMC40IDAgMCAyMjcuMiAwIDUxMmMwIDI4MS42IDIzMC40IDUxMiA1MTIgNTEyIDI4NC44IDAgNTEyLTIyNy4yIDUxMi01MTJTNzk2LjggMCA1MTIgMHogbTAgODE5LjJjLTI4LjggMC01MS4yLTIyLjQtNTEuMi01MS4yczIyLjQtNTEuMiA1MS4yLTUxLjJjMjguOCAwIDUxLjIgMjIuNCA1MS4yIDUxLjIgMy4yIDI4LjgtMjIuNCA1MS4yLTUxLjIgNTEuMnogbTU0LjQtMjIwLjhjMCAyOC44LTIyLjQgNTEuMi01MS4yIDUxLjItMjguOCAwLTUxLjItMjIuNC01MS4yLTUxLjJWMjU2YzAtMjguOCAyMi40LTUxLjIgNTEuMi01MS4yIDI4LjggMCA1MS4yIDIyLjQgNTEuMiA1MS4ydjM0Mi40eiIgcC1pZD0iMjE4MyIgZmlsbD0iI0YxQjkxNiI+PC9wYXRoPjwvc3ZnPg==",we="data:image/svg+xml;base64, PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMTRweCIgaGVpZ2h0PSIxMXB4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPg0KICA8ZyB0cmFuc2Zvcm09Im1hdHJpeCgxIDAgMCAxIC01MTYgLTQ2ICkiPg0KICAgIDxwYXRoIGQ9Ik0gMCA0Ljc0OTk5NDE0MDYyNTAxICBMIDAgNi4yNTAwMDU4NTkzNzQ5OSAgTCAxLjU1NTU0OTQ3OTE2NjY0IDYuMjUwMDA1ODU5Mzc0OTkgIEwgMS41NTU1NDk0NzkxNjY2NCA0Ljc0OTk5NDE0MDYyNTAxICBMIDAgNC43NDk5OTQxNDA2MjUwMSAgWiBNIDAgOC43NSAgTCAwIDEwLjI0OTk5NDE0MDYyNSAgTCAxLjU1NTU0OTQ3OTE2NjY0IDEwLjI0OTk5NDE0MDYyNSAgTCAxLjU1NTU0OTQ3OTE2NjY0IDguNzUgIEwgMCA4Ljc1ICBaIE0gMCAwLjc1MDAwNTg1OTM3NDk5NCAgTCAwIDIuMjUgIEwgMS41NTU1NDk0NzkxNjY2NCAyLjI1ICBMIDEuNTU1NTQ5NDc5MTY2NjQgMC43NTAwMDU4NTkzNzQ5OTQgIEwgMCAwLjc1MDAwNTg1OTM3NDk5NCAgWiBNIDMuMTExMTE3MTg3NDk5OTkgNC43NDk5OTQxNDA2MjUwMSAgTCAzLjExMTExNzE4NzQ5OTk5IDYuMjUwMDA1ODU5Mzc0OTkgIEwgMTQgNi4yNTAwMDU4NTkzNzQ5OSAgTCAxNCA0Ljc0OTk5NDE0MDYyNTAxICBMIDMuMTExMTE3MTg3NDk5OTkgNC43NDk5OTQxNDA2MjUwMSAgWiBNIDMuMTExMTE3MTg3NDk5OTkgOC43NSAgTCAzLjExMTExNzE4NzQ5OTk5IDEwLjI0OTk5NDE0MDYyNSAgTCAxNCAxMC4yNDk5OTQxNDA2MjUgIEwgMTQgOC43NSAgTCAzLjExMTExNzE4NzQ5OTk5IDguNzUgIFogTSAxNCAwLjc1MDAwNTg1OTM3NDk5NCAgTCAzLjExMTExNzE4NzQ5OTk5IDAuNzUwMDA1ODU5Mzc0OTk0ICBMIDMuMTExMTE3MTg3NDk5OTkgMi4yNSAgTCAxNCAyLjI1ICBMIDE0IDAuNzUwMDA1ODU5Mzc0OTk0ICBaICIgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSIjYmZiY2NjIiBzdHJva2U9Im5vbmUiIHRyYW5zZm9ybT0ibWF0cml4KDEgMCAwIDEgNTE2IDQ2ICkiIC8+DQogIDwvZz4NCjwvc3ZnPg==";var Se=n("d29d");function Ne(e){if(null!=e&&e.length>0){const t=[];return e.sort((e,t)=>e.order-t.order).forEach(e=>t.push(e.value+"fr")),t.join(" ")}return"1fr"}const Me=e=>Ne(e);var xe=Me;function je(e){return null!=e&&e.length>0?e.length+1:2}const Te=e=>je(e);var De=Te;function Ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ke(e){if(Array.isArray(e))return Ee(e)}function Le(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Ye(e,t){if(e){if("string"==typeof e)return Ee(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ee(e,t):void 0}}function _e(){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 Ae(e){return ke(e)||Le(e)||Ye(e)||_e()}function Pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pe(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ie(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Be(e,t,n){return t&&Ie(e.prototype,t),n&&Ie(e,n),e}function Ze(){return(Ze=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Re(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function He(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}function Ve(e){return 1==(null!=(t=e)&&"object"==typeof t&&!1===Array.isArray(t))&&"[object Object]"===Object.prototype.toString.call(e);var t}var Xe=Object.prototype,Je=Xe.toString,ze=Xe.hasOwnProperty,Qe=/^\s*function (\w+)/;function We(e){var t,n=null!==(t=null==e?void 0:e.type)&&void 0!==t?t:e;if(n){var r=n.toString().match(Qe);return r?r[1]:""}return""}var Ke=function(e){var t,n;return!1!==Ve(e)&&"function"==typeof(t=e.constructor)&&!1!==Ve(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")},Ue=function(e){return e},Ge=Ue,$e=function(e,t){return ze.call(e,t)},qe=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},et=Array.isArray||function(e){return"[object Array]"===Je.call(e)},tt=function(e){return"[object Function]"===Je.call(e)},nt=function(e){return Ke(e)&&$e(e,"_vueTypes_name")},rt=function(e){return Ke(e)&&($e(e,"type")||["_vueTypes_name","validator","default","required"].some((function(t){return $e(e,t)})))};function ot(e,t){return Object.defineProperty(e.bind(t),"__original",{value:e})}function it(e,t,n){var r;void 0===n&&(n=!1);var o=!0,i="";r=Ke(e)?e:{type:e};var a=nt(r)?r._vueTypes_name+" - ":"";if(rt(r)&&null!==r.type){if(void 0===r.type||!0===r.type)return o;if(!r.required&&void 0===t)return o;et(r.type)?(o=r.type.some((function(e){return!0===it(e,t,!0)})),i=r.type.map((function(e){return We(e)})).join(" or ")):o="Array"===(i=We(r))?et(t):"Object"===i?Ke(t):"String"===i||"Number"===i||"Boolean"===i||"Function"===i?function(e){if(null==e)return"";var t=e.constructor.toString().match(Qe);return t?t[1]:""}(t)===i:t instanceof r.type}if(!o){var u=a+'value "'+t+'" should be of type "'+i+'"';return!1===n?(Ge(u),!1):u}if($e(r,"validator")&&tt(r.validator)){var c=Ge,l=[];if(Ge=function(e){l.push(e)},o=r.validator(t),Ge=c,!o){var s=(l.length>1?"* ":"")+l.join("\n* ");return l.length=0,!1===n?(Ge(s),o):s}}return o}function at(e,t){var n=Object.defineProperties(t,{_vueTypes_name:{value:e,writable:!0},isRequired:{get:function(){return this.required=!0,this}},def:{value:function(e){return void 0!==e||this.default?tt(e)||!0===it(this,e,!0)?(this.default=et(e)?function(){return[].concat(e)}:Ke(e)?function(){return Object.assign({},e)}:e,this):(Ge(this._vueTypes_name+' - invalid default value: "'+e+'"'),this):this}}}),r=n.validator;return tt(r)&&(n.validator=ot(r,n)),n}function ut(e,t){var n=at(e,t);return Object.defineProperty(n,"validate",{value:function(e){return tt(this.validator)&&Ge(this._vueTypes_name+" - calling .validate() will overwrite the current custom validator function. Validator info:\n"+JSON.stringify(this)),this.validator=ot(e,this),this}})}function ct(e,t,n){var r,o,i=(r=t,o={},Object.getOwnPropertyNames(r).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(r,e)})),Object.defineProperties({},o));if(i._vueTypes_name=e,!Ke(n))return i;var a,u,c=n.validator,l=He(n,["validator"]);if(tt(c)){var s=i.validator;s&&(s=null!==(u=(a=s).__original)&&void 0!==u?u:a),i.validator=ot(s?function(e){return s.call(this,e)&&c.call(this,e)}:c,i)}return Object.assign(i,l)}function lt(e){return e.replace(/^(?!\s*$)/gm," ")}var st=function(){return ut("any",{})},dt=function(){return ut("function",{type:Function})},ft=function(){return ut("boolean",{type:Boolean})},pt=function(){return ut("string",{type:String})},vt=function(){return ut("number",{type:Number})},ht=function(){return ut("array",{type:Array})},mt=function(){return ut("object",{type:Object})},gt=function(){return at("integer",{type:Number,validator:function(e){return qe(e)}})},bt=function(){return at("symbol",{validator:function(e){return"symbol"==typeof e}})};function yt(e,t){if(void 0===t&&(t="custom validation failed"),"function"!=typeof e)throw new TypeError("[VueTypes error]: You must provide a function as argument");return at(e.name||"<<anonymous function>>",{validator:function(n){var r=e(n);return r||Ge(this._vueTypes_name+" - "+t),r}})}function Ot(e){if(!et(e))throw new TypeError("[VueTypes error]: You must provide an array as argument.");var t='oneOf - value should be one of "'+e.join('", "')+'".',n=e.reduce((function(e,t){if(null!=t){var n=t.constructor;-1===e.indexOf(n)&&e.push(n)}return e}),[]);return at("oneOf",{type:n.length>0?n:void 0,validator:function(n){var r=-1!==e.indexOf(n);return r||Ge(t),r}})}function Ct(e){if(!et(e))throw new TypeError("[VueTypes error]: You must provide an array as argument");for(var t=!1,n=[],r=0;r<e.length;r+=1){var o=e[r];if(rt(o)){if(nt(o)&&"oneOf"===o._vueTypes_name){n=n.concat(o.type);continue}if(tt(o.validator)&&(t=!0),!0!==o.type&&o.type){n=n.concat(o.type);continue}}n.push(o)}return n=n.filter((function(e,t){return n.indexOf(e)===t})),at("oneOfType",t?{type:n,validator:function(t){var n=[],r=e.some((function(e){var r=it(nt(e)&&"oneOf"===e._vueTypes_name?e.type||null:e,t,!0);return"string"==typeof r&&n.push(r),!0===r}));return r||Ge("oneOfType - provided value does not match any of the "+n.length+" passed-in validators:\n"+lt(n.join("\n"))),r}}:{type:n})}function wt(e){return at("arrayOf",{type:Array,validator:function(t){var n,r=t.every((function(t){return!0===(n=it(e,t,!0))}));return r||Ge("arrayOf - value validation error:\n"+lt(n)),r}})}function St(e){return at("instanceOf",{type:e})}function Nt(e){return at("objectOf",{type:Object,validator:function(t){var n,r=Object.keys(t).every((function(r){return!0===(n=it(e,t[r],!0))}));return r||Ge("objectOf - value validation error:\n"+lt(n)),r}})}function Mt(e){var t=Object.keys(e),n=t.filter((function(t){var n;return!!(null===(n=e[t])||void 0===n?void 0:n.required)})),r=at("shape",{type:Object,validator:function(r){var o=this;if(!Ke(r))return!1;var i=Object.keys(r);if(n.length>0&&n.some((function(e){return-1===i.indexOf(e)}))){var a=n.filter((function(e){return-1===i.indexOf(e)}));return Ge(1===a.length?'shape - required property "'+a[0]+'" is not defined.':'shape - required properties "'+a.join('", "')+'" are not defined.'),!1}return i.every((function(n){if(-1===t.indexOf(n))return!0===o._vueTypes_isLoose||(Ge('shape - shape definition does not include a "'+n+'" property. Allowed keys: "'+t.join('", "')+'".'),!1);var i=it(e[n],r[n],!0);return"string"==typeof i&&Ge('shape - "'+n+'" property validation error:\n '+lt(i)),!0===i}))}});return Object.defineProperty(r,"_vueTypes_isLoose",{writable:!0,value:!1}),Object.defineProperty(r,"loose",{get:function(){return this._vueTypes_isLoose=!0,this}}),r}var xt=function(){function e(){}return e.extend=function(e){var t=this;if(et(e))return e.forEach((function(e){return t.extend(e)})),this;var n=e.name,r=e.validate,o=void 0!==r&&r,i=e.getter,a=void 0!==i&&i,u=He(e,["name","validate","getter"]);if($e(this,n))throw new TypeError('[VueTypes error]: Type "'+n+'" already defined');var c,l=u.type;return nt(l)?(delete u.type,Object.defineProperty(this,n,a?{get:function(){return ct(n,l,u)}}:{value:function(){var e,t=ct(n,l,u);return t.validator&&(t.validator=(e=t.validator).bind.apply(e,[t].concat([].slice.call(arguments)))),t}})):(c=a?{get:function(){var e=Object.assign({},u);return o?ut(n,e):at(n,e)},enumerable:!0}:{value:function(){var e,t,r=Object.assign({},u);return e=o?ut(n,r):at(n,r),r.validator&&(e.validator=(t=r.validator).bind.apply(t,[e].concat([].slice.call(arguments)))),e},enumerable:!0},Object.defineProperty(this,n,c))},Be(e,null,[{key:"any",get:function(){return st()}},{key:"func",get:function(){return dt().def(this.defaults.func)}},{key:"bool",get:function(){return ft().def(this.defaults.bool)}},{key:"string",get:function(){return pt().def(this.defaults.string)}},{key:"number",get:function(){return vt().def(this.defaults.number)}},{key:"array",get:function(){return ht().def(this.defaults.array)}},{key:"object",get:function(){return mt().def(this.defaults.object)}},{key:"integer",get:function(){return gt().def(this.defaults.integer)}},{key:"symbol",get:function(){return bt()}}]),e}();function jt(e){var t;return void 0===e&&(e={func:function(){},bool:!0,string:"",number:0,array:function(){return[]},object:function(){return{}},integer:0}),(t=function(t){function n(){return t.apply(this,arguments)||this}return Re(n,t),Be(n,null,[{key:"sensibleDefaults",get:function(){return Ze({},this.defaults)},set:function(t){this.defaults=!1!==t?Ze({},!0!==t?t:e):{}}}]),n}(xt)).defaults=Ze({},e),t}xt.defaults={},xt.custom=yt,xt.oneOf=Ot,xt.instanceOf=St,xt.oneOfType=Ct,xt.arrayOf=wt,xt.objectOf=Nt,xt.shape=Mt,xt.utils={validate:function(e,t){return!0===it(t,e,!0)},toType:function(e,t,n){return void 0===n&&(n=!1),n?ut(e,t):at(e,t)}};(function(e){function t(){return e.apply(this,arguments)||this}Re(t,e)})(jt());var Tt=jt({func:void 0,bool:void 0,string:void 0,number:void 0,array:void 0,object:void 0,integer:void 0});function Dt(e){return e.default=void 0,e}Tt.extend([{name:"looseBool",getter:!0,type:Boolean,default:void 0},{name:"style",getter:!0,type:[String,Object],default:void 0},{name:"VueNode",getter:!0,type:null}]);var Et=Tt,kt=function(e){return"function"===typeof e},Lt=(Symbol("controlDefaultValue"),Array.isArray),Yt=function(e){return"string"===typeof e},_t=function(e){return null!==e&&"object"===u(e)},At=/^on[^a-z]/,Pt=function(e){return At.test(e)},Ft=function(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}},It=/-(\w)/g,Bt=Ft((function(e){return e.replace(It,(function(e,t){return t?t.toUpperCase():""}))})),Zt=/\B([A-Z])/g,Rt=Ft((function(e){return e.replace(Zt,"-$1").toLowerCase()})),Ht=(Ft((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),Object.prototype.hasOwnProperty),Vt=function(e,t){return Ht.call(e,t)};function Xt(e,t,n,r){var o=e[n];if(null!=o){var i=Vt(o,"default");if(i&&void 0===r){var a=o.default;r=o.type!==Function&&kt(a)?a():a}o.type===Boolean&&(Vt(t,n)||i?""===r&&(r=!0):r=!1)}return r}function Jt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return"function"===typeof e?e(t):null!==e&&void 0!==e?e:n}function zt(){for(var e=[],t=0;t<arguments.length;t++){var n=t<0||arguments.length<=t?void 0:arguments[t];if(n)if(Yt(n))e.push(n);else if(Lt(n))for(var r=0;r<n.length;r++){var o=zt(n[r]);o&&e.push(o)}else if(_t(n))for(var i in n)n[i]&&e.push(i)}return e.join(" ")}var Qt=zt,Wt={};function Kt(e,t){0}function Ut(e,t){0}function Gt(e,t,n){t||Wt[n]||(e(!1,n),Wt[n]=!0)}function $t(e,t){Gt(Kt,e,t)}function qt(e,t){Gt(Ut,e,t)}var en=$t,tn=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";en(e,"[antdv: ".concat(t,"] ").concat(n))};function nn(){this.__data__=[],this.size=0}var rn=nn;function on(e,t){return e===t||e!==e&&t!==t}var an=on;function un(e,t){var n=e.length;while(n--)if(an(e[n][0],t))return n;return-1}var cn=un,ln=Array.prototype,sn=ln.splice;function dn(e){var t=this.__data__,n=cn(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():sn.call(t,n,1),--this.size,!0}var fn=dn;function pn(e){var t=this.__data__,n=cn(t,e);return n<0?void 0:t[n][1]}var vn=pn;function hn(e){return cn(this.__data__,e)>-1}var mn=hn;function gn(e,t){var n=this.__data__,r=cn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var bn=gn;function yn(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}yn.prototype.clear=rn,yn.prototype["delete"]=fn,yn.prototype.get=vn,yn.prototype.has=mn,yn.prototype.set=bn;var On=yn;function Cn(){this.__data__=new On,this.size=0}var wn=Cn;function Sn(e){var t=this.__data__,n=t["delete"](e);return this.size=t.size,n}var Nn=Sn;function Mn(e){return this.__data__.get(e)}var xn=Mn;function jn(e){return this.__data__.has(e)}var Tn=jn,Dn=n("26ee"),En=Dn["a"].Symbol,kn=En,Ln=Object.prototype,Yn=Ln.hasOwnProperty,_n=Ln.toString,An=kn?kn.toStringTag:void 0;function Pn(e){var t=Yn.call(e,An),n=e[An];try{e[An]=void 0;var r=!0}catch(i){}var o=_n.call(e);return r&&(t?e[An]=n:delete e[An]),o}var Fn=Pn,In=Object.prototype,Bn=In.toString;function Zn(e){return Bn.call(e)}var Rn=Zn,Hn="[object Null]",Vn="[object Undefined]",Xn=kn?kn.toStringTag:void 0;function Jn(e){return null==e?void 0===e?Vn:Hn:Xn&&Xn in Object(e)?Fn(e):Rn(e)}var zn=Jn;function Qn(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var Wn=Qn,Kn="[object AsyncFunction]",Un="[object Function]",Gn="[object GeneratorFunction]",$n="[object Proxy]";function qn(e){if(!Wn(e))return!1;var t=zn(e);return t==Un||t==Gn||t==Kn||t==$n}var er=qn,tr=Dn["a"]["__core-js_shared__"],nr=tr,rr=function(){var e=/[^.]+$/.exec(nr&&nr.keys&&nr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function or(e){return!!rr&&rr in e}var ir=or,ar=Function.prototype,ur=ar.toString;function cr(e){if(null!=e){try{return ur.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var lr=cr,sr=/[\\^$.*+?()[\]{}|]/g,dr=/^\[object .+?Constructor\]$/,fr=Function.prototype,pr=Object.prototype,vr=fr.toString,hr=pr.hasOwnProperty,mr=RegExp("^"+vr.call(hr).replace(sr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function gr(e){if(!Wn(e)||ir(e))return!1;var t=er(e)?mr:dr;return t.test(lr(e))}var br=gr;function yr(e,t){return null==e?void 0:e[t]}var Or=yr;function Cr(e,t){var n=Or(e,t);return br(n)?n:void 0}var wr=Cr,Sr=wr(Dn["a"],"Map"),Nr=Sr,Mr=wr(Object,"create"),xr=Mr;function jr(){this.__data__=xr?xr(null):{},this.size=0}var Tr=jr;function Dr(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Er=Dr,kr="__lodash_hash_undefined__",Lr=Object.prototype,Yr=Lr.hasOwnProperty;function _r(e){var t=this.__data__;if(xr){var n=t[e];return n===kr?void 0:n}return Yr.call(t,e)?t[e]:void 0}var Ar=_r,Pr=Object.prototype,Fr=Pr.hasOwnProperty;function Ir(e){var t=this.__data__;return xr?void 0!==t[e]:Fr.call(t,e)}var Br=Ir,Zr="__lodash_hash_undefined__";function Rr(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=xr&&void 0===t?Zr:t,this}var Hr=Rr;function Vr(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}Vr.prototype.clear=Tr,Vr.prototype["delete"]=Er,Vr.prototype.get=Ar,Vr.prototype.has=Br,Vr.prototype.set=Hr;var Xr=Vr;function Jr(){this.size=0,this.__data__={hash:new Xr,map:new(Nr||On),string:new Xr}}var zr=Jr;function Qr(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}var Wr=Qr;function Kr(e,t){var n=e.__data__;return Wr(t)?n["string"==typeof t?"string":"hash"]:n.map}var Ur=Kr;function Gr(e){var t=Ur(this,e)["delete"](e);return this.size-=t?1:0,t}var $r=Gr;function qr(e){return Ur(this,e).get(e)}var eo=qr;function to(e){return Ur(this,e).has(e)}var no=to;function ro(e,t){var n=Ur(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var oo=ro;function io(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}io.prototype.clear=zr,io.prototype["delete"]=$r,io.prototype.get=eo,io.prototype.has=no,io.prototype.set=oo;var ao=io,uo=200;function co(e,t){var n=this.__data__;if(n instanceof On){var r=n.__data__;if(!Nr||r.length<uo-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ao(r)}return n.set(e,t),this.size=n.size,this}var lo=co;function so(e){var t=this.__data__=new On(e);this.size=t.size}so.prototype.clear=wn,so.prototype["delete"]=Nn,so.prototype.get=xn,so.prototype.has=Tn,so.prototype.set=lo;var fo=so;function po(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(!1===t(e[n],n,e))break;return e}var vo=po,ho=function(){try{var e=wr(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),mo=ho;function go(e,t,n){"__proto__"==t&&mo?mo(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var bo=go,yo=Object.prototype,Oo=yo.hasOwnProperty;function Co(e,t,n){var r=e[t];Oo.call(e,t)&&an(r,n)&&(void 0!==n||t in e)||bo(e,t,n)}var wo=Co;function So(e,t,n,r){var o=!n;n||(n={});var i=-1,a=t.length;while(++i<a){var u=t[i],c=r?r(n[u],e[u],u,n,e):void 0;void 0===c&&(c=e[u]),o?bo(n,u,c):wo(n,u,c)}return n}var No=So;function Mo(e,t){var n=-1,r=Array(e);while(++n<e)r[n]=t(n);return r}var xo=Mo;function jo(e){return null!=e&&"object"==typeof e}var To=jo,Do="[object Arguments]";function Eo(e){return To(e)&&zn(e)==Do}var ko=Eo,Lo=Object.prototype,Yo=Lo.hasOwnProperty,_o=Lo.propertyIsEnumerable,Ao=ko(function(){return arguments}())?ko:function(e){return To(e)&&Yo.call(e,"callee")&&!_o.call(e,"callee")},Po=Ao,Fo=Array.isArray,Io=Fo,Bo=n("58e0"),Zo=9007199254740991,Ro=/^(?:0|[1-9]\d*)$/;function Ho(e,t){var n=typeof e;return t=null==t?Zo:t,!!t&&("number"==n||"symbol"!=n&&Ro.test(e))&&e>-1&&e%1==0&&e<t}var Vo=Ho,Xo=9007199254740991;function Jo(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Xo}var zo=Jo,Qo="[object Arguments]",Wo="[object Array]",Ko="[object Boolean]",Uo="[object Date]",Go="[object Error]",$o="[object Function]",qo="[object Map]",ei="[object Number]",ti="[object Object]",ni="[object RegExp]",ri="[object Set]",oi="[object String]",ii="[object WeakMap]",ai="[object ArrayBuffer]",ui="[object DataView]",ci="[object Float32Array]",li="[object Float64Array]",si="[object Int8Array]",di="[object Int16Array]",fi="[object Int32Array]",pi="[object Uint8Array]",vi="[object Uint8ClampedArray]",hi="[object Uint16Array]",mi="[object Uint32Array]",gi={};function bi(e){return To(e)&&zo(e.length)&&!!gi[zn(e)]}gi[ci]=gi[li]=gi[si]=gi[di]=gi[fi]=gi[pi]=gi[vi]=gi[hi]=gi[mi]=!0,gi[Qo]=gi[Wo]=gi[ai]=gi[Ko]=gi[ui]=gi[Uo]=gi[Go]=gi[$o]=gi[qo]=gi[ei]=gi[ti]=gi[ni]=gi[ri]=gi[oi]=gi[ii]=!1;var yi=bi;function Oi(e){return function(t){return e(t)}}var Ci=Oi,wi=n("c6eb"),Si=wi["a"]&&wi["a"].isTypedArray,Ni=Si?Ci(Si):yi,Mi=Ni,xi=Object.prototype,ji=xi.hasOwnProperty;function Ti(e,t){var n=Io(e),r=!n&&Po(e),o=!n&&!r&&Object(Bo["a"])(e),i=!n&&!r&&!o&&Mi(e),a=n||r||o||i,u=a?xo(e.length,String):[],c=u.length;for(var l in e)!t&&!ji.call(e,l)||a&&("length"==l||o&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Vo(l,c))||u.push(l);return u}var Di=Ti,Ei=Object.prototype;function ki(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||Ei;return e===n}var Li=ki;function Yi(e,t){return function(n){return e(t(n))}}var _i=Yi,Ai=_i(Object.keys,Object),Pi=Ai,Fi=Object.prototype,Ii=Fi.hasOwnProperty;function Bi(e){if(!Li(e))return Pi(e);var t=[];for(var n in Object(e))Ii.call(e,n)&&"constructor"!=n&&t.push(n);return t}var Zi=Bi;function Ri(e){return null!=e&&zo(e.length)&&!er(e)}var Hi=Ri;function Vi(e){return Hi(e)?Di(e):Zi(e)}var Xi=Vi;function Ji(e,t){return e&&No(t,Xi(t),e)}var zi=Ji;function Qi(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}var Wi=Qi,Ki=Object.prototype,Ui=Ki.hasOwnProperty;function Gi(e){if(!Wn(e))return Wi(e);var t=Li(e),n=[];for(var r in e)("constructor"!=r||!t&&Ui.call(e,r))&&n.push(r);return n}var $i=Gi;function qi(e){return Hi(e)?Di(e,!0):$i(e)}var ea=qi;function ta(e,t){return e&&No(t,ea(t),e)}var na=ta,ra=n("dff1");function oa(e,t){var n=-1,r=e.length;t||(t=Array(r));while(++n<r)t[n]=e[n];return t}var ia=oa;function aa(e,t){var n=-1,r=null==e?0:e.length,o=0,i=[];while(++n<r){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}var ua=aa;function ca(){return[]}var la=ca,sa=Object.prototype,da=sa.propertyIsEnumerable,fa=Object.getOwnPropertySymbols,pa=fa?function(e){return null==e?[]:(e=Object(e),ua(fa(e),(function(t){return da.call(e,t)})))}:la,va=pa;function ha(e,t){return No(e,va(e),t)}var ma=ha;function ga(e,t){var n=-1,r=t.length,o=e.length;while(++n<r)e[o+n]=t[n];return e}var ba=ga,ya=_i(Object.getPrototypeOf,Object),Oa=ya,Ca=Object.getOwnPropertySymbols,wa=Ca?function(e){var t=[];while(e)ba(t,va(e)),e=Oa(e);return t}:la,Sa=wa;function Na(e,t){return No(e,Sa(e),t)}var Ma=Na;function xa(e,t,n){var r=t(e);return Io(e)?r:ba(r,n(e))}var ja=xa;function Ta(e){return ja(e,Xi,va)}var Da=Ta;function Ea(e){return ja(e,ea,Sa)}var ka=Ea,La=wr(Dn["a"],"DataView"),Ya=La,_a=wr(Dn["a"],"Promise"),Aa=_a,Pa=wr(Dn["a"],"Set"),Fa=Pa,Ia=wr(Dn["a"],"WeakMap"),Ba=Ia,Za="[object Map]",Ra="[object Object]",Ha="[object Promise]",Va="[object Set]",Xa="[object WeakMap]",Ja="[object DataView]",za=lr(Ya),Qa=lr(Nr),Wa=lr(Aa),Ka=lr(Fa),Ua=lr(Ba),Ga=zn;(Ya&&Ga(new Ya(new ArrayBuffer(1)))!=Ja||Nr&&Ga(new Nr)!=Za||Aa&&Ga(Aa.resolve())!=Ha||Fa&&Ga(new Fa)!=Va||Ba&&Ga(new Ba)!=Xa)&&(Ga=function(e){var t=zn(e),n=t==Ra?e.constructor:void 0,r=n?lr(n):"";if(r)switch(r){case za:return Ja;case Qa:return Za;case Wa:return Ha;case Ka:return Va;case Ua:return Xa}return t});var $a=Ga,qa=Object.prototype,eu=qa.hasOwnProperty;function tu(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&eu.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var nu=tu,ru=Dn["a"].Uint8Array,ou=ru;function iu(e){var t=new e.constructor(e.byteLength);return new ou(t).set(new ou(e)),t}var au=iu;function uu(e,t){var n=t?au(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var cu=uu,lu=/\w*$/;function su(e){var t=new e.constructor(e.source,lu.exec(e));return t.lastIndex=e.lastIndex,t}var du=su,fu=kn?kn.prototype:void 0,pu=fu?fu.valueOf:void 0;function vu(e){return pu?Object(pu.call(e)):{}}var hu=vu;function mu(e,t){var n=t?au(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var gu=mu,bu="[object Boolean]",yu="[object Date]",Ou="[object Map]",Cu="[object Number]",wu="[object RegExp]",Su="[object Set]",Nu="[object String]",Mu="[object Symbol]",xu="[object ArrayBuffer]",ju="[object DataView]",Tu="[object Float32Array]",Du="[object Float64Array]",Eu="[object Int8Array]",ku="[object Int16Array]",Lu="[object Int32Array]",Yu="[object Uint8Array]",_u="[object Uint8ClampedArray]",Au="[object Uint16Array]",Pu="[object Uint32Array]";function Fu(e,t,n){var r=e.constructor;switch(t){case xu:return au(e);case bu:case yu:return new r(+e);case ju:return cu(e,n);case Tu:case Du:case Eu:case ku:case Lu:case Yu:case _u:case Au:case Pu:return gu(e,n);case Ou:return new r;case Cu:case Nu:return new r(e);case wu:return du(e);case Su:return new r;case Mu:return hu(e)}}var Iu=Fu,Bu=Object.create,Zu=function(){function e(){}return function(t){if(!Wn(t))return{};if(Bu)return Bu(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Ru=Zu;function Hu(e){return"function"!=typeof e.constructor||Li(e)?{}:Ru(Oa(e))}var Vu=Hu,Xu="[object Map]";function Ju(e){return To(e)&&$a(e)==Xu}var zu=Ju,Qu=wi["a"]&&wi["a"].isMap,Wu=Qu?Ci(Qu):zu,Ku=Wu,Uu="[object Set]";function Gu(e){return To(e)&&$a(e)==Uu}var $u=Gu,qu=wi["a"]&&wi["a"].isSet,ec=qu?Ci(qu):$u,tc=ec,nc=1,rc=2,oc=4,ic="[object Arguments]",ac="[object Array]",uc="[object Boolean]",cc="[object Date]",lc="[object Error]",sc="[object Function]",dc="[object GeneratorFunction]",fc="[object Map]",pc="[object Number]",vc="[object Object]",hc="[object RegExp]",mc="[object Set]",gc="[object String]",bc="[object Symbol]",yc="[object WeakMap]",Oc="[object ArrayBuffer]",Cc="[object DataView]",wc="[object Float32Array]",Sc="[object Float64Array]",Nc="[object Int8Array]",Mc="[object Int16Array]",xc="[object Int32Array]",jc="[object Uint8Array]",Tc="[object Uint8ClampedArray]",Dc="[object Uint16Array]",Ec="[object Uint32Array]",kc={};function Lc(e,t,n,r,o,i){var a,u=t&nc,c=t&rc,l=t&oc;if(n&&(a=o?n(e,r,o,i):n(e)),void 0!==a)return a;if(!Wn(e))return e;var s=Io(e);if(s){if(a=nu(e),!u)return ia(e,a)}else{var d=$a(e),f=d==sc||d==dc;if(Object(Bo["a"])(e))return Object(ra["a"])(e,u);if(d==vc||d==ic||f&&!o){if(a=c||f?{}:Vu(e),!u)return c?Ma(e,na(a,e)):ma(e,zi(a,e))}else{if(!kc[d])return o?e:{};a=Iu(e,d,u)}}i||(i=new fo);var p=i.get(e);if(p)return p;i.set(e,a),tc(e)?e.forEach((function(r){a.add(Lc(r,t,n,r,e,i))})):Ku(e)&&e.forEach((function(r,o){a.set(o,Lc(r,t,n,o,e,i))}));var v=l?c?ka:Da:c?ea:Xi,h=s?void 0:v(e);return vo(h||e,(function(r,o){h&&(o=r,r=e[o]),wo(a,o,Lc(r,t,n,o,e,i))})),a}kc[ic]=kc[ac]=kc[Oc]=kc[Cc]=kc[uc]=kc[cc]=kc[wc]=kc[Sc]=kc[Nc]=kc[Mc]=kc[xc]=kc[fc]=kc[pc]=kc[vc]=kc[hc]=kc[mc]=kc[gc]=kc[bc]=kc[jc]=kc[Tc]=kc[Dc]=kc[Ec]=!0,kc[lc]=kc[sc]=kc[yc]=!1;var Yc=Lc,_c=1,Ac=4;function Pc(e){return Yc(e,_c|Ac)}var Fc=Pc,Ic=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t},Bc=function(e){var t=e;return t.install=function(n){n.component(t.displayName||t.name,e)},e},Zc=["xxxl","xxl","xl","lg","md","sm","xs"],Rc={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)",xxxl:"(min-width: 2000px)"},Hc=new Map,Vc=-1,Xc={},Jc={matchHandlers:{},dispatch:function(e){return Xc=e,Hc.forEach((function(e){return e(Xc)})),Hc.size>=1},subscribe:function(e){return Hc.size||this.register(),Vc+=1,Hc.set(Vc,e),e(Xc),Vc},unsubscribe:function(e){Hc.delete(e),Hc.size||this.unregister()},unregister:function(){var e=this;Object.keys(Rc).forEach((function(t){var n=Rc[t],r=e.matchHandlers[n];null===r||void 0===r||r.mql.removeListener(null===r||void 0===r?void 0:r.listener)})),Hc.clear()},register:function(){var e=this;Object.keys(Rc).forEach((function(t){var n=Rc[t],r=function(n){var r=n.matches;e.dispatch(Fe(Fe({},Xc),{},s({},t,r)))},o=window.matchMedia(n);o.addListener(r),e.matchHandlers[n]={mql:o,listener:r},r(o)}))}},zc=Jc;function Qc(){return Qc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qc.apply(null,arguments)}function Wc(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Kc(e,t){if(null==e)return{};var n,r,o=Wc(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Uc={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages"},Gc={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},$c=Gc,qc={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},el=qc,tl={lang:Fe({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},$c),timePickerLocale:Fe({},el)},nl=tl,rl=nl,ol="${label} is not a valid ${type}",il={locale:"en",Pagination:Uc,DatePicker:nl,TimePicker:el,Calendar:rl,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:ol,method:ol,array:ol,object:ol,number:ol,date:ol,boolean:ol,integer:ol,float:ol,regexp:ol,email:ol,url:ol,hex:ol},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"}},al=il,ul=al,cl=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"LocaleReceiver",props:{componentName:String,defaultLocale:{type:[Object,Function]},children:{type:Function}},setup:function(e,t){var n=t.slots,r=Object(i["inject"])("localeData",{}),o=Object(i["computed"])((function(){var t=e.componentName,n=void 0===t?"global":t,o=e.defaultLocale,i=o||ul[n||"global"],a=r.antLocale,u=n&&a?a[n]:{};return Fe(Fe({},"function"===typeof i?i():i),u||{})})),a=Object(i["computed"])((function(){var e=r.antLocale,t=e&&e.locale;return e&&e.exist&&!t?ul.locale:t}));return function(){var t=e.children||n.default,i=r.antLocale;return null===t||void 0===t?void 0:t(o.value,a.value,i)}}});function ll(e,t,n){var r=Object(i["inject"])("localeData",{}),o=Object(i["computed"])((function(){var o=r.antLocale,a=Object(i["unref"])(t)||ul[e||"global"],u=e&&o?o[e]:{};return Fe(Fe(Fe({},"function"===typeof a?a():a),u||{}),Object(i["unref"])(n)||{})}));return[o]}var sl=function(){var e=wv("empty",{}),t=e.getPrefixCls,n=t("empty-img-default");return Object(i["createVNode"])("svg",{class:n,width:"184",height:"152",viewBox:"0 0 184 152"},[Object(i["createVNode"])("g",{fill:"none","fill-rule":"evenodd"},[Object(i["createVNode"])("g",{transform:"translate(24 31.67)"},[Object(i["createVNode"])("ellipse",{class:"".concat(n,"-ellipse"),cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"},null),Object(i["createVNode"])("path",{class:"".concat(n,"-path-1"),d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z"},null),Object(i["createVNode"])("path",{class:"".concat(n,"-path-2"),d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",transform:"translate(13.56)"},null),Object(i["createVNode"])("path",{class:"".concat(n,"-path-3"),d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z"},null),Object(i["createVNode"])("path",{class:"".concat(n,"-path-4"),d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z"},null)]),Object(i["createVNode"])("path",{class:"".concat(n,"-path-5"),d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z"},null),Object(i["createVNode"])("g",{class:"".concat(n,"-g"),transform:"translate(149.65 15.383)"},[Object(i["createVNode"])("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"},null),Object(i["createVNode"])("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"},null)])])])};sl.PRESENTED_IMAGE_DEFAULT=!0;var dl=sl,fl=function(){var e=wv("empty",{}),t=e.getPrefixCls,n=t("empty-img-simple");return Object(i["createVNode"])("svg",{class:n,width:"64",height:"41",viewBox:"0 0 64 41"},[Object(i["createVNode"])("g",{transform:"translate(0 1)",fill:"none","fill-rule":"evenodd"},[Object(i["createVNode"])("ellipse",{class:"".concat(n,"-ellipse"),fill:"#F5F5F5",cx:"32",cy:"33",rx:"32",ry:"7"},null),Object(i["createVNode"])("g",{class:"".concat(n,"-g"),"fill-rule":"nonzero",stroke:"#D9D9D9"},[Object(i["createVNode"])("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"},null),Object(i["createVNode"])("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:"#FAFAFA",class:"".concat(n,"-path")},null)])])])};fl.PRESENTED_IMAGE_SIMPLE=!0;var pl=fl;function vl(e){if(Array.isArray(e))return e}function hl(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==t);c=!0);}catch(e){l=!0,o=e}finally{try{if(!c&&null!=n["return"]&&(a=n["return"](),Object(a)!==a))return}finally{if(l)throw o}}return u}}function ml(){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 gl(e,t){return vl(e)||hl(e,t)||Ye(e,t)||ml()}var bl="[object Object]",yl=Function.prototype,Ol=Object.prototype,Cl=yl.toString,wl=Ol.hasOwnProperty,Sl=Cl.call(Object);function Nl(e){if(!To(e)||zn(e)!=bl)return!1;var t=Oa(e);if(null===t)return!0;var n=wl.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Cl.call(n)==Sl}var Ml=Nl,xl=function(e){return void 0!==e&&null!==e&&""!==e},jl=xl,Tl=function(e){for(var t=Object.keys(e),n={},r={},o={},i=0,a=t.length;i<a;i++){var u=t[i];Pt(u)?(n[u[2].toLowerCase()+u.slice(3)]=e[u],r[u]=e[u]):o[u]=e[u]}return{onEvents:r,events:n,extraAttrs:o}},Dl=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n={},r=/;(?![^(]*\))/g,o=/:(.+)/;return"object"===u(e)?e:(e.split(r).forEach((function(e){if(e){var r=e.split(o);if(r.length>1){var i=t?Bt(r[0].trim()):r[0].trim();n[i]=r[1].trim()}}})),n)},El=function(e,t){return void 0!==e[t]},kl=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=Array.isArray(t)?t:[t],o=[];return r.forEach((function(t){Array.isArray(t)?o.push.apply(o,Ae(e(t,n))):t&&t.type===i["Fragment"]?o.push.apply(o,Ae(e(t.children,n))):t&&Object(i["isVNode"])(t)?n&&!Il(t)?o.push(t):n||o.push(t):jl(t)&&o.push(t)})),o},Ll=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Object(i["isVNode"])(e))return e.type===i["Fragment"]?"default"===t?kl(e.children):[]:e.children&&e.children[t]?kl(e.children[t](n)):[];var r=e.$slots[t]&&e.$slots[t](n);return kl(r)},Yl=function(e){var t,n=(null===e||void 0===e||null===(t=e.vnode)||void 0===t?void 0:t.el)||e&&(e.$el||e);while(n&&!n.tagName)n=n.nextSibling;return n},_l=function(e){var t={};if(e.$&&e.$.vnode){var n=e.$.vnode.props||{};Object.keys(e.$props).forEach((function(r){var o=e.$props[r],i=Rt(r);(void 0!==o||i in n)&&(t[r]=o)}))}else if(Object(i["isVNode"])(e)&&"object"===u(e.type)){var r=e.props||{},o={};Object.keys(r).forEach((function(e){o[Bt(e)]=r[e]}));var a=e.type.props||{};Object.keys(a).forEach((function(e){var n=Xt(a,o,e,o[e]);(void 0!==n||e in o)&&(t[e]=n)}))}return t},Al=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=void 0;if(e.$){var a=e[t];if(void 0!==a)return"function"===typeof a&&r?a(n):a;o=e.$slots[t],o=r&&o?o(n):o}else if(Object(i["isVNode"])(e)){var u=e.props&&e.props[t];if(void 0!==u&&null!==e.props)return"function"===typeof u&&r?u(n):u;e.type===i["Fragment"]?o=e.children:e.children&&e.children[t]&&(o=e.children[t],o=r&&o?o(n):o)}return Array.isArray(o)&&(o=kl(o),o=1===o.length?o[0]:o,o=0===o.length?void 0:o),o};function Pl(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n={};return n=e.$?Fe(Fe({},n),e.$attrs):Fe(Fe({},n),e.props),Tl(n)[t?"onEvents":"events"]}function Fl(e,t){var n=(Object(i["isVNode"])(e)?e.props:e.$attrs)||{},r=n.style||{};if("string"===typeof r)r=Dl(r,t);else if(t&&r){var o={};return Object.keys(r).forEach((function(e){return o[Bt(e)]=r[e]})),o}return r}function Il(e){return e&&(e.type===i["Comment"]||e.type===i["Fragment"]&&0===e.children.length||e.type===i["Text"]&&""===e.children.trim())}function Bl(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[];return e.forEach((function(e){Array.isArray(e)?t.push.apply(t,Ae(e)):(null===e||void 0===e?void 0:e.type)===i["Fragment"]?t.push.apply(t,Ae(Bl(e.children))):t.push(e)})),t.filter((function(e){return!Il(e)}))}function Zl(e){return Array.isArray(e)&&1===e.length&&(e=e[0]),e&&e.__v_isVNode&&"symbol"!==u(e.type)}function Rl(e,t){var n,r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"default";return null!==(n=t[o])&&void 0!==n?n:null===(r=e[o])||void 0===r?void 0:r.call(e)}var Hl=["image","description","imageStyle","class"],Vl=Object(i["createVNode"])(dl,null,null),Xl=Object(i["createVNode"])(pl,null,null),Jl=function(e,t){var n,r=t.slots,o=void 0===r?{}:r,a=t.attrs,u=wv("empty",e),c=u.direction,l=u.prefixCls,d=l.value,f=Fe(Fe({},e),a),p=f.image,v=void 0===p?Vl:p,h=f.description,m=void 0===h?(null===(n=o.description)||void 0===n?void 0:n.call(o))||void 0:h,g=f.imageStyle,b=f.class,y=void 0===b?"":b,O=Kc(f,Hl);return Object(i["createVNode"])(cl,{componentName:"Empty",children:function(e){var t,n="undefined"!==typeof m?m:e.description,r="string"===typeof n?n:"empty",a=null;return a="string"===typeof v?Object(i["createVNode"])("img",{alt:r,src:v},null):v,Object(i["createVNode"])("div",Fe({class:Qt(d,y,(t={},s(t,"".concat(d,"-normal"),v===Xl),s(t,"".concat(d,"-rtl"),"rtl"===c.value),t))},O),[Object(i["createVNode"])("div",{class:"".concat(d,"-image"),style:g},[a]),n&&Object(i["createVNode"])("p",{class:"".concat(d,"-description")},[n]),o.default&&Object(i["createVNode"])("div",{class:"".concat(d,"-footer")},[Bl(o.default())])])}},null)};Jl.displayName="AEmpty",Jl.PRESENTED_IMAGE_DEFAULT=Vl,Jl.PRESENTED_IMAGE_SIMPLE=Xl,Jl.inheritAttrs=!1,Jl.props={prefixCls:String,image:Et.any,description:Et.any,imageStyle:{type:Object,default:void 0}};var zl=Bc(Jl),Ql=function(e){var t=wv("empty",e),n=t.prefixCls,r=function(e){switch(e){case"Table":case"List":return Object(i["createVNode"])(zl,{image:zl.PRESENTED_IMAGE_SIMPLE},null);case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return Object(i["createVNode"])(zl,{image:zl.PRESENTED_IMAGE_SIMPLE,class:"".concat(n.value,"-small")},null);default:return Object(i["createVNode"])(zl,null,null)}};return r(e.componentName)};function Wl(e){return Object(i["createVNode"])(Ql,{componentName:e},null)}var Kl=Wl,Ul="internalMark",Gl=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ALocaleProvider",props:{locale:{type:Object},ANT_MARK__:String},setup:function(e,t){var n=t.slots;tn(e.ANT_MARK__===Ul,"LocaleProvider","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead");var r=Object(i["reactive"])({antLocale:Fe(Fe({},e.locale),{},{exist:!0}),ANT_MARK__:Ul});return Object(i["provide"])("localeData",r),Object(i["watch"])((function(){return e.locale}),(function(){r.antLocale=Fe(Fe({},e.locale),{},{exist:!0})}),{immediate:!0}),function(){var e;return null===(e=n.default)||void 0===e?void 0:e.call(n)}}});Gl.install=function(e){return e.component(Gl.name,Gl),e};var $l=Bc(Gl),ql=(Ic("bottomLeft","bottomRight","topLeft","topRight"),function(e){return void 0===e||"topLeft"!==e&&"topRight"!==e?"slide-up":"slide-down"}),es=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Fe(e?{name:e,appear:!0,enterFromClass:"".concat(e,"-enter ").concat(e,"-enter-prepare"),enterActiveClass:"".concat(e,"-enter ").concat(e,"-enter-prepare"),enterToClass:"".concat(e,"-enter ").concat(e,"-enter-active"),leaveFromClass:" ".concat(e,"-leave"),leaveActiveClass:"".concat(e,"-leave ").concat(e,"-leave-active"),leaveToClass:"".concat(e,"-leave ").concat(e,"-leave-active")}:{css:!1},t);return n},ts=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Fe(e?{name:e,appear:!0,appearActiveClass:"".concat(e),appearToClass:"".concat(e,"-appear ").concat(e,"-appear-active"),enterFromClass:"".concat(e,"-appear ").concat(e,"-enter ").concat(e,"-appear-prepare ").concat(e,"-enter-prepare"),enterActiveClass:"".concat(e),enterToClass:"".concat(e,"-enter ").concat(e,"-appear ").concat(e,"-appear-active ").concat(e,"-enter-active"),leaveActiveClass:"".concat(e," ").concat(e,"-leave"),leaveToClass:"".concat(e,"-leave-active")}:{css:!1},t);return n},ns=function(e,t,n){return void 0!==n?n:"".concat(e,"-").concat(t)},rs=i["Transition"],os=Object(i["defineComponent"])({name:"Notice",inheritAttrs:!1,props:["prefixCls","duration","updateMark","noticeKey","closeIcon","closable","props","onClick","onClose","holder","visible"],setup:function(e,t){var n,r=t.attrs,o=t.slots,a=!1,u=Object(i["computed"])((function(){return void 0===e.duration?4.5:e.duration})),c=function(){u.value&&!a&&(n=setTimeout((function(){d()}),1e3*u.value))},l=function(){n&&(clearTimeout(n),n=null)},d=function(t){t&&t.stopPropagation(),l();var n=e.onClose,r=e.noticeKey;n&&n(r)},f=function(){l(),c()};return Object(i["onMounted"])((function(){c()})),Object(i["onUnmounted"])((function(){a=!0,l()})),Object(i["watch"])([u,function(){return e.updateMark},function(){return e.visible}],(function(e,t){var n=gl(e,3),r=n[0],o=n[1],i=n[2],a=gl(t,3),u=a[0],c=a[1],l=a[2];(r!==u||o!==c||i!==l&&l)&&f()}),{flush:"post"}),function(){var t,n,a=e.prefixCls,u=e.closable,f=e.closeIcon,p=void 0===f?null===(t=o.closeIcon)||void 0===t?void 0:t.call(o):f,v=e.onClick,h=e.holder,m=r.class,g=r.style,b="".concat(a,"-notice"),y=Object.keys(r).reduce((function(e,t){return"data-"!==t.substr(0,5)&&"aria-"!==t.substr(0,5)&&"role"!==t||(e[t]=r[t]),e}),{}),O=Object(i["createVNode"])("div",Fe({class:Qt(b,m,s({},"".concat(b,"-closable"),u)),style:g,onMouseenter:l,onMouseleave:c,onClick:v},y),[Object(i["createVNode"])("div",{class:"".concat(b,"-content")},[null===(n=o.default)||void 0===n?void 0:n.call(o)]),u?Object(i["createVNode"])("a",{tabindex:0,onClick:d,class:"".concat(b,"-close")},[p||Object(i["createVNode"])("span",{class:"".concat(b,"-close-x")},null)]):null]);return h?Object(i["createVNode"])(i["Teleport"],{to:h},{default:function(){return O}}):O}}}),is=["name","getContainer","appContext","prefixCls","rootPrefixCls","transitionName","hasTransitionName"],as=0,us=Date.now();function cs(){var e=as;return as+=1,"rcNotification_".concat(us,"_").concat(e)}var ls=Object(i["defineComponent"])({name:"Notification",inheritAttrs:!1,props:["prefixCls","transitionName","animation","maxCount","closeIcon"],setup:function(e,t){var n=t.attrs,r=t.expose,o=t.slots,a=new Map,u=Object(i["ref"])([]),c=Object(i["computed"])((function(){var t=e.prefixCls,n=e.animation,r=void 0===n?"fade":n,o=e.transitionName;return!o&&r&&(o="".concat(t,"-").concat(r)),ts(o)})),l=function(t,n){var r=t.key||cs(),o=Fe(Fe({},t),{},{key:r}),i=e.maxCount,a=u.value.map((function(e){return e.notice.key})).indexOf(r),c=u.value.concat();-1!==a?c.splice(a,1,{notice:o,holderCallback:n}):(i&&u.value.length>=i&&(o.key=c[0].notice.key,o.updateMark=cs(),o.userPassKey=r,c.shift()),c.push({notice:o,holderCallback:n})),u.value=c},d=function(e){u.value=u.value.filter((function(t){var n=t.notice,r=n.key,o=n.userPassKey,i=o||r;return i!==e}))};return r({add:l,remove:d,notices:u}),function(){var t,r,l=e.prefixCls,f=e.closeIcon,p=void 0===f?null===(t=o.closeIcon)||void 0===t?void 0:t.call(o,{prefixCls:l}):f,v=u.value.map((function(e,t){var n=e.notice,r=e.holderCallback,o=t===u.value.length-1?n.updateMark:void 0,c=n.key,s=n.userPassKey,f=n.content,v=Fe(Fe(Fe({prefixCls:l,closeIcon:"function"===typeof p?p({prefixCls:l}):p},n),n.props),{},{key:c,noticeKey:s||c,updateMark:o,onClose:function(e){var t;d(e),null===(t=n.onClose)||void 0===t||t.call(n)},onClick:n.onClick});return r?Object(i["createVNode"])("div",{key:c,class:"".concat(l,"-hook-holder"),ref:function(e){"undefined"!==typeof c&&(e?(a.set(c,e),r(e,v)):a.delete(c))}},null):Object(i["createVNode"])(os,v,{default:function(){return["function"===typeof f?f({prefixCls:l}):f]}})})),h=(r={},s(r,l,1),s(r,n.class,!!n.class),r);return Object(i["createVNode"])("div",{class:h,style:n.style||{top:"65px",left:"50%"}},[Object(i["createVNode"])(i["TransitionGroup"],Fe({tag:"div"},c.value),{default:function(){return[v]}})])}}});ls.newInstance=function(e,t){var n=e||{},r=n.name,o=void 0===r?"notification":r,a=n.getContainer,u=n.appContext,c=n.prefixCls,l=n.rootPrefixCls,s=n.transitionName,d=n.hasTransitionName,f=Kc(n,is),p=document.createElement("div");if(a){var v=a();v.appendChild(p)}else document.body.appendChild(p);var h=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"NotificationWrapper",setup:function(e,n){var r=n.attrs,a=Object(i["ref"])();return Object(i["onMounted"])((function(){t({notice:function(e){var t;null===(t=a.value)||void 0===t||t.add(e)},removeNotice:function(e){var t;null===(t=a.value)||void 0===t||t.remove(e)},destroy:function(){Object(i["render"])(null,p),p.parentNode&&p.parentNode.removeChild(p)},component:a})})),function(){var e=hv,t=e.getPrefixCls(o,c),n=e.getRootPrefixCls(l,t),u=d?s:"".concat(n,"-").concat(s);return Object(i["createVNode"])(Cv,Fe(Fe({},e),{},{notUpdateGlobalConfig:!0,prefixCls:n}),{default:function(){return[Object(i["createVNode"])(ls,Fe(Fe({ref:a},r),{},{prefixCls:t,transitionName:u}),null)]}})}}}),m=Object(i["createVNode"])(h,f);m.appContext=u||m.appContext,Object(i["render"])(m,p)};var ss=ls,ds=ss,fs={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},ps=fs;function vs(e,t){ms(e)&&(e="100%");var n=gs(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t)),e)}function hs(e){return Math.min(1,Math.max(0,e))}function ms(e){return"string"===typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)}function gs(e){return"string"===typeof e&&-1!==e.indexOf("%")}function bs(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function ys(e){return e<=1?"".concat(100*Number(e),"%"):e}function Os(e){return 1===e.length?"0"+e:String(e)}function Cs(e,t,n){return{r:255*vs(e,255),g:255*vs(t,255),b:255*vs(n,255)}}function ws(e,t,n){e=vs(e,255),t=vs(t,255),n=vs(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,a=0,u=(r+o)/2;if(r===o)a=0,i=0;else{var c=r-o;switch(a=u>.5?c/(2-r-o):c/(r+o),r){case e:i=(t-n)/c+(t<n?6:0);break;case t:i=(n-e)/c+2;break;case n:i=(e-t)/c+4;break;default:break}i/=6}return{h:i,s:a,l:u}}function Ss(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Ns(e,t,n){var r,o,i;if(e=vs(e,360),t=vs(t,100),n=vs(n,100),0===t)o=n,i=n,r=n;else{var a=n<.5?n*(1+t):n+t-n*t,u=2*n-a;r=Ss(u,a,e+1/3),o=Ss(u,a,e),i=Ss(u,a,e-1/3)}return{r:255*r,g:255*o,b:255*i}}function Ms(e,t,n){e=vs(e,255),t=vs(t,255),n=vs(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,a=r,u=r-o,c=0===r?0:u/r;if(r===o)i=0;else{switch(r){case e:i=(t-n)/u+(t<n?6:0);break;case t:i=(n-e)/u+2;break;case n:i=(e-t)/u+4;break;default:break}i/=6}return{h:i,s:c,v:a}}function xs(e,t,n){e=6*vs(e,360),t=vs(t,100),n=vs(n,100);var r=Math.floor(e),o=e-r,i=n*(1-t),a=n*(1-o*t),u=n*(1-(1-o)*t),c=r%6,l=[n,a,i,i,u,n][c],s=[u,n,n,a,i,i][c],d=[i,i,u,n,n,a][c];return{r:255*l,g:255*s,b:255*d}}function js(e,t,n,r){var o=[Os(Math.round(e).toString(16)),Os(Math.round(t).toString(16)),Os(Math.round(n).toString(16))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function Ts(e,t,n,r,o){var i=[Os(Math.round(e).toString(16)),Os(Math.round(t).toString(16)),Os(Math.round(n).toString(16)),Os(Ds(r))];return o&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function Ds(e){return Math.round(255*parseFloat(e)).toString(16)}function Es(e){return ks(e)/255}function ks(e){return parseInt(e,16)}function Ls(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}var Ys={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",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",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:"#db7093",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",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function _s(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,i=null,a=!1,u=!1;return"string"===typeof e&&(e=Rs(e)),"object"===typeof e&&(Hs(e.r)&&Hs(e.g)&&Hs(e.b)?(t=Cs(e.r,e.g,e.b),a=!0,u="%"===String(e.r).substr(-1)?"prgb":"rgb"):Hs(e.h)&&Hs(e.s)&&Hs(e.v)?(r=ys(e.s),o=ys(e.v),t=xs(e.h,r,o),a=!0,u="hsv"):Hs(e.h)&&Hs(e.s)&&Hs(e.l)&&(r=ys(e.s),i=ys(e.l),t=Ns(e.h,r,i),a=!0,u="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=bs(n),{ok:a,format:e.format||u,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var As="[-\\+]?\\d+%?",Ps="[-\\+]?\\d*\\.\\d+%?",Fs="(?:".concat(Ps,")|(?:").concat(As,")"),Is="[\\s|\\(]+(".concat(Fs,")[,|\\s]+(").concat(Fs,")[,|\\s]+(").concat(Fs,")\\s*\\)?"),Bs="[\\s|\\(]+(".concat(Fs,")[,|\\s]+(").concat(Fs,")[,|\\s]+(").concat(Fs,")[,|\\s]+(").concat(Fs,")\\s*\\)?"),Zs={CSS_UNIT:new RegExp(Fs),rgb:new RegExp("rgb"+Is),rgba:new RegExp("rgba"+Bs),hsl:new RegExp("hsl"+Is),hsla:new RegExp("hsla"+Bs),hsv:new RegExp("hsv"+Is),hsva:new RegExp("hsva"+Bs),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Rs(e){if(e=e.trim().toLowerCase(),0===e.length)return!1;var t=!1;if(Ys[e])e=Ys[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=Zs.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Zs.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Zs.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Zs.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Zs.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Zs.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Zs.hex8.exec(e),n?{r:ks(n[1]),g:ks(n[2]),b:ks(n[3]),a:Es(n[4]),format:t?"name":"hex8"}:(n=Zs.hex6.exec(e),n?{r:ks(n[1]),g:ks(n[2]),b:ks(n[3]),format:t?"name":"hex"}:(n=Zs.hex4.exec(e),n?{r:ks(n[1]+n[1]),g:ks(n[2]+n[2]),b:ks(n[3]+n[3]),a:Es(n[4]+n[4]),format:t?"name":"hex8"}:(n=Zs.hex3.exec(e),!!n&&{r:ks(n[1]+n[1]),g:ks(n[2]+n[2]),b:ks(n[3]+n[3]),format:t?"name":"hex"})))))))))}function Hs(e){return Boolean(Zs.CSS_UNIT.exec(String(e)))}var Vs=2,Xs=.16,Js=.05,zs=.05,Qs=.15,Ws=5,Ks=4,Us=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function Gs(e){var t=e.r,n=e.g,r=e.b,o=Ms(t,n,r);return{h:360*o.h,s:o.s,v:o.v}}function $s(e){var t=e.r,n=e.g,r=e.b;return"#".concat(js(t,n,r,!1))}function qs(e,t,n){var r=n/100,o={r:(t.r-e.r)*r+e.r,g:(t.g-e.g)*r+e.g,b:(t.b-e.b)*r+e.b};return o}function ed(e,t,n){var r;return r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-Vs*t:Math.round(e.h)+Vs*t:n?Math.round(e.h)+Vs*t:Math.round(e.h)-Vs*t,r<0?r+=360:r>=360&&(r-=360),r}function td(e,t,n){return 0===e.h&&0===e.s?e.s:(r=n?e.s-Xs*t:t===Ks?e.s+Xs:e.s+Js*t,r>1&&(r=1),n&&t===Ws&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function nd(e,t,n){var r;return r=n?e.v+zs*t:e.v-Qs*t,r>1&&(r=1),Number(r.toFixed(2))}function rd(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=_s(e),o=Ws;o>0;o-=1){var i=Gs(r),a=$s(_s({h:ed(i,o,!0),s:td(i,o,!0),v:nd(i,o,!0)}));n.push(a)}n.push($s(r));for(var u=1;u<=Ks;u+=1){var c=Gs(r),l=$s(_s({h:ed(c,u),s:td(c,u),v:nd(c,u)}));n.push(l)}return"dark"===t.theme?Us.map((function(e){var r=e.index,o=e.opacity,i=$s(qs(_s(t.backgroundColor||"#141414"),_s(n[r]),100*o));return i})):n}var od={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},id={},ad={};Object.keys(od).forEach((function(e){id[e]=rd(od[e]),id[e].primary=id[e][5],ad[e]=rd(od[e],{theme:"dark",backgroundColor:"#141414"}),ad[e].primary=ad[e][5]}));id.red,id.volcano,id.gold,id.orange,id.yellow,id.lime,id.green,id.cyan,id.blue,id.geekblue,id.purple,id.magenta,id.grey;var ud=[],cd=[],ld="insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).";function sd(){var e=document.createElement("style");return e.setAttribute("type","text/css"),e}function dd(e,t){if(t=t||{},void 0===e)throw new Error(ld);var n,r=!0===t.prepend?"prepend":"append",o=void 0!==t.container?t.container:document.querySelector("head"),i=ud.indexOf(o);return-1===i&&(i=ud.push(o)-1,cd[i]={}),void 0!==cd[i]&&void 0!==cd[i][r]?n=cd[i][r]:(n=cd[i][r]=sd(),"prepend"===r?o.insertBefore(n,o.childNodes[0]):o.appendChild(n)),65279===e.charCodeAt(0)&&(e=e.substr(1,e.length)),n.styleSheet?n.styleSheet.cssText+=e:n.textContent+=e,n}var fd=dd;function pd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){vd(e,t,n[t])}))}return e}function vd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hd(e,t){0}function md(e,t){hd(e,"[@ant-design/icons-vue] ".concat(t))}function gd(e){return"object"===typeof e&&"string"===typeof e.name&&"string"===typeof e.theme&&("object"===typeof e.icon||"function"===typeof e.icon)}function bd(e,t,n){return n?Object(i["h"])(e.tag,pd({key:t},n,e.attrs),(e.children||[]).map((function(n,r){return bd(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))):Object(i["h"])(e.tag,pd({key:t},e.attrs),(e.children||[]).map((function(n,r){return bd(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function yd(e){return rd(e)[0]}function Od(e){return e?Array.isArray(e)?e:[e]:[]}var Cd="\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",wd=!1,Sd=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Cd;Object(i["nextTick"])((function(){wd||("undefined"!==typeof window&&window.document&&window.document.documentElement&&fd(e,{prepend:!0}),wd=!0)}))},Nd=["icon","primaryColor","secondaryColor"];function Md(e,t){if(null==e)return{};var n,r,o=xd(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function xd(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function jd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Td(e,t,n[t])}))}return e}function Td(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Dd={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Ed(e){var t=e.primaryColor,n=e.secondaryColor;Dd.primaryColor=t,Dd.secondaryColor=n||yd(t),Dd.calculated=!!n}function kd(){return jd({},Dd)}var Ld=function(e,t){var n=jd({},e,t.attrs),r=n.icon,o=n.primaryColor,i=n.secondaryColor,a=Md(n,Nd),u=Dd;if(o&&(u={primaryColor:o,secondaryColor:i||yd(o)}),Sd(),md(gd(r),"icon should be icon definiton, but got ".concat(r)),!gd(r))return null;var c=r;return c&&"function"===typeof c.icon&&(c=jd({},c,{icon:c.icon(u.primaryColor,u.secondaryColor)})),bd(c.icon,"svg-".concat(c.name),jd({},a,{"data-icon":c.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"}))};Ld.props={icon:Object,primaryColor:String,secondaryColor:String,focusable:String},Ld.inheritAttrs=!1,Ld.displayName="IconBase",Ld.getTwoToneColors=kd,Ld.setTwoToneColors=Ed;var Yd=Ld;function _d(e,t){return Bd(e)||Id(e,t)||Pd(e,t)||Ad()}function Ad(){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 Pd(e,t){if(e){if("string"===typeof e)return Fd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Fd(e,t):void 0}}function Fd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Id(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done);a=!0)if(i.push(r.value),t&&i.length===t)break}catch(c){u=!0,o=c}finally{try{a||null==n["return"]||n["return"]()}finally{if(u)throw o}}return i}}function Bd(e){if(Array.isArray(e))return e}function Zd(e){var t=Od(e),n=_d(t,2),r=n[0],o=n[1];return Yd.setTwoToneColors({primaryColor:r,secondaryColor:o})}function Rd(){var e=Yd.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var Hd=["class","icon","spin","rotate","tabindex","twoToneColor","onClick"];function Vd(e,t){return Wd(e)||Qd(e,t)||Jd(e,t)||Xd()}function Xd(){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 Jd(e,t){if(e){if("string"===typeof e)return zd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zd(e,t):void 0}}function zd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Qd(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done);a=!0)if(i.push(r.value),t&&i.length===t)break}catch(c){u=!0,o=c}finally{try{a||null==n["return"]||n["return"]()}finally{if(u)throw o}}return i}}function Wd(e){if(Array.isArray(e))return e}function Kd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Ud(e,t,n[t])}))}return e}function Ud(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gd(e,t){if(null==e)return{};var n,r,o=$d(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function $d(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}Zd("#1890ff");var qd=function(e,t){var n,r=Kd({},e,t.attrs),o=r["class"],a=r.icon,u=r.spin,c=r.rotate,l=r.tabindex,s=r.twoToneColor,d=r.onClick,f=Gd(r,Hd),p=(n={anticon:!0},Ud(n,"anticon-".concat(a.name),Boolean(a.name)),Ud(n,o,o),n),v=""===u||u||"loading"===a.name?"anticon-spin":"",h=l;void 0===h&&d&&(h=-1,f.tabindex=h);var m=c?{msTransform:"rotate(".concat(c,"deg)"),transform:"rotate(".concat(c,"deg)")}:void 0,g=Od(s),b=Vd(g,2),y=b[0],O=b[1];return Object(i["createVNode"])("span",Kd({role:"img","aria-label":a.name},f,{onClick:d,class:p}),[Object(i["createVNode"])(Yd,{class:v,icon:a,primaryColor:y,secondaryColor:O,style:m},null)])};qd.props={spin:Boolean,rotate:Number,icon:Object,twoToneColor:String},qd.displayName="AntdIcon",qd.inheritAttrs=!1,qd.getTwoToneColor=Rd,qd.setTwoToneColor=Zd;var ef=qd;function tf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){nf(e,t,n[t])}))}return e}function nf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rf=function(e,t){var n=tf({},e,t.attrs);return Object(i["createVNode"])(ef,tf({},n,{icon:ps}),null)};rf.displayName="LoadingOutlined",rf.inheritAttrs=!1;var of=rf,af={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},uf=af;function cf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){lf(e,t,n[t])}))}return e}function lf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sf=function(e,t){var n=cf({},e,t.attrs);return Object(i["createVNode"])(ef,cf({},n,{icon:uf}),null)};sf.displayName="ExclamationCircleFilled",sf.inheritAttrs=!1;var df=sf,ff={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},pf=ff;function vf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){hf(e,t,n[t])}))}return e}function hf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mf=function(e,t){var n=vf({},e,t.attrs);return Object(i["createVNode"])(ef,vf({},n,{icon:pf}),null)};mf.displayName="CloseCircleFilled",mf.inheritAttrs=!1;var gf=mf,bf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},yf=bf;function Of(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Cf(e,t,n[t])}))}return e}function Cf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wf=function(e,t){var n=Of({},e,t.attrs);return Object(i["createVNode"])(ef,Of({},n,{icon:yf}),null)};wf.displayName="CheckCircleFilled",wf.inheritAttrs=!1;var Sf=wf,Nf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},Mf=Nf;function xf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){jf(e,t,n[t])}))}return e}function jf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Tf=function(e,t){var n=xf({},e,t.attrs);return Object(i["createVNode"])(ef,xf({},n,{icon:Mf}),null)};Tf.displayName="InfoCircleFilled",Tf.inheritAttrs=!1;var Df,Ef,kf,Lf=Tf,Yf=3,_f=1,Af="",Pf="move-up",Ff=!1,If=function(){return document.body},Bf=!1;function Zf(){return _f++}function Rf(e){void 0!==e.top&&(Df=e.top,Ef=null),void 0!==e.duration&&(Yf=e.duration),void 0!==e.prefixCls&&(Af=e.prefixCls),void 0!==e.getContainer&&(If=e.getContainer,Ef=null),void 0!==e.transitionName&&(Pf=e.transitionName,Ef=null,Ff=!0),void 0!==e.maxCount&&(kf=e.maxCount,Ef=null),void 0!==e.rtl&&(Bf=e.rtl)}function Hf(e,t){Ef?t(Ef):ds.newInstance({appContext:e.appContext,prefixCls:e.prefixCls||Af,rootPrefixCls:e.rootPrefixCls,transitionName:Pf,hasTransitionName:Ff,style:{top:Df},getContainer:If||e.getPopupContainer,maxCount:kf,name:"message"},(function(e){Ef?t(Ef):(Ef=e,t(e))}))}var Vf={info:Lf,success:Sf,error:gf,warning:df,loading:of};function Xf(e){var t=void 0!==e.duration?e.duration:Yf,n=e.key||Zf(),r=new Promise((function(r){var o=function(){return"function"===typeof e.onClose&&e.onClose(),r(!0)};Hf(e,(function(r){r.notice({key:n,duration:t,style:e.style||{},class:e.class,content:function(t){var n,r=t.prefixCls,o=Vf[e.type],a=o?Object(i["createVNode"])(o,null,null):"",u=Qt("".concat(r,"-custom-content"),(n={},s(n,"".concat(r,"-").concat(e.type),e.type),s(n,"".concat(r,"-rtl"),!0===Bf),n));return Object(i["createVNode"])("div",{class:u},["function"===typeof e.icon?e.icon():e.icon||a,Object(i["createVNode"])("span",null,["function"===typeof e.content?e.content():e.content])])},onClose:o,onClick:e.onClick})}))})),o=function(){Ef&&Ef.removeNotice(n)};return o.then=function(e,t){return r.then(e,t)},o.promise=r,o}function Jf(e){return"[object Object]"===Object.prototype.toString.call(e)&&!!e.content}var zf={open:Xf,config:Rf,destroy:function(e){if(Ef)if(e){var t=Ef,n=t.removeNotice;n(e)}else{var r=Ef,o=r.destroy;o(),Ef=null}}};function Qf(e,t){e[t]=function(n,r,o){return Jf(n)?e.open(Fe(Fe({},n),{},{type:t})):("function"===typeof r&&(o=r,r=void 0),e.open({content:n,duration:r,type:t,onClose:o}))}}["success","info","warning","error","loading"].forEach((function(e){return Qf(zf,e)})),zf.warn=zf.warning;var Wf=zf;function Kf(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(r,o)}function Uf(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Kf(i,r,o,a,u,"next",e)}function u(e){Kf(i,r,o,a,u,"throw",e)}a(void 0)}))}}var Gf=n("a34a"),$f=n.n(Gf),qf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"},ep=qf;function tp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){np(e,t,n[t])}))}return e}function np(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rp=function(e,t){var n=tp({},e,t.attrs);return Object(i["createVNode"])(ef,tp({},n,{icon:ep}),null)};rp.displayName="CheckCircleOutlined",rp.inheritAttrs=!1;var op=rp,ip={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},ap=ip;function up(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){cp(e,t,n[t])}))}return e}function cp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var lp=function(e,t){var n=up({},e,t.attrs);return Object(i["createVNode"])(ef,up({},n,{icon:ap}),null)};lp.displayName="InfoCircleOutlined",lp.inheritAttrs=!1;var sp=lp,dp={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"},fp=dp;function pp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){vp(e,t,n[t])}))}return e}function vp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hp=function(e,t){var n=pp({},e,t.attrs);return Object(i["createVNode"])(ef,pp({},n,{icon:fp}),null)};hp.displayName="CloseCircleOutlined",hp.inheritAttrs=!1;var mp=hp,gp={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},bp=gp;function yp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Op(e,t,n[t])}))}return e}function Op(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Cp=function(e,t){var n=yp({},e,t.attrs);return Object(i["createVNode"])(ef,yp({},n,{icon:bp}),null)};Cp.displayName="ExclamationCircleOutlined",Cp.inheritAttrs=!1;var wp=Cp,Sp={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},Np=Sp;function Mp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){xp(e,t,n[t])}))}return e}function xp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jp=function(e,t){var n=Mp({},e,t.attrs);return Object(i["createVNode"])(ef,Mp({},n,{icon:Np}),null)};jp.displayName="CloseOutlined",jp.inheritAttrs=!1;var Tp,Dp=jp,Ep={},kp=4.5,Lp="24px",Yp="24px",_p="",Ap="topRight",Pp=function(){return document.body},Fp=null,Ip=!1;function Bp(e){var t=e.duration,n=e.placement,r=e.bottom,o=e.top,i=e.getContainer,a=e.closeIcon,u=e.prefixCls;void 0!==u&&(_p=u),void 0!==t&&(kp=t),void 0!==n&&(Ap=n),void 0!==r&&(Yp="number"===typeof r?"".concat(r,"px"):r),void 0!==o&&(Lp="number"===typeof o?"".concat(o,"px"):o),void 0!==i&&(Pp=i),void 0!==a&&(Fp=a),void 0!==e.rtl&&(Ip=e.rtl),void 0!==e.maxCount&&(Tp=e.maxCount)}function Zp(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Lp,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Yp;switch(e){case"topLeft":t={left:"0px",top:n,bottom:"auto"};break;case"topRight":t={right:"0px",top:n,bottom:"auto"};break;case"bottomLeft":t={left:"0px",top:"auto",bottom:r};break;default:t={right:"0px",top:"auto",bottom:r};break}return t}function Rp(e,t){var n=e.prefixCls,r=e.placement,o=void 0===r?Ap:r,a=e.getContainer,u=void 0===a?Pp:a,c=e.top,l=e.bottom,d=e.closeIcon,f=void 0===d?Fp:d,p=e.appContext,v=gv(),h=v.getPrefixCls,m=h("notification",n||_p),g="".concat(m,"-").concat(o,"-").concat(Ip),b=Ep[g];if(b)Promise.resolve(b).then((function(e){t(e)}));else{var y=Qt("".concat(m,"-").concat(o),s({},"".concat(m,"-rtl"),!0===Ip));ds.newInstance({name:"notification",prefixCls:n||_p,class:y,style:Zp(o,c,l),appContext:p,getContainer:u,closeIcon:function(e){var t=e.prefixCls,n=Object(i["createVNode"])("span",{class:"".concat(t,"-close-x")},[Jt(f,{},Object(i["createVNode"])(Dp,{class:"".concat(t,"-close-icon")},null))]);return n},maxCount:Tp,hasTransitionName:!0},(function(e){Ep[g]=e,t(e)}))}}var Hp={success:op,info:sp,error:mp,warning:wp};function Vp(e){var t=e.icon,n=e.type,r=e.description,o=e.message,a=e.btn,u=void 0===e.duration?kp:e.duration;Rp(e,(function(c){c.notice({content:function(e){var u=e.prefixCls,c="".concat(u,"-notice"),l=null;if(t)l=function(){return Object(i["createVNode"])("span",{class:"".concat(c,"-icon")},[Jt(t)])};else if(n){var s=Hp[n];l=function(){return Object(i["createVNode"])(s,{class:"".concat(c,"-icon ").concat(c,"-icon-").concat(n)},null)}}return Object(i["createVNode"])("div",{class:l?"".concat(c,"-with-icon"):""},[l&&l(),Object(i["createVNode"])("div",{class:"".concat(c,"-message")},[!r&&l?Object(i["createVNode"])("span",{class:"".concat(c,"-message-single-line-auto-margin")},null):null,Jt(o)]),Object(i["createVNode"])("div",{class:"".concat(c,"-description")},[Jt(r)]),a?Object(i["createVNode"])("span",{class:"".concat(c,"-btn")},[Jt(a)]):null])},duration:u,closable:!0,onClose:e.onClose,onClick:e.onClick,key:e.key,style:e.style||{},class:e.class})}))}var Xp={open:Vp,close:function(e){Object.keys(Ep).forEach((function(t){return Promise.resolve(Ep[t]).then((function(t){t.removeNotice(e)}))}))},config:Bp,destroy:function(){Object.keys(Ep).forEach((function(e){Promise.resolve(Ep[e]).then((function(e){e.destroy()})),delete Ep[e]}))}},Jp=["success","info","warning","error"];Jp.forEach((function(e){Xp[e]=function(t){return Xp.open(Fe(Fe({},t),{},{type:e}))}})),Xp.warn=Xp.warning;var zp=Xp,Qp=function(){function e(t,n){var r;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"===typeof t&&(t=Ls(t)),this.originalInput=t;var o=_s(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(r=n.format)&&void 0!==r?r:o.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e,t,n,r=this.toRgb(),o=r.r/255,i=r.g/255,a=r.b/255;return e=o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4),t=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4),n=a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4),.2126*e+.7152*t+.0722*n},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=bs(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var e=this.toHsl().s;return 0===e},e.prototype.toHsv=function(){var e=Ms(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=Ms(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=ws(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=ws(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),js(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),Ts(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*vs(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*vs(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+js(this.r,this.g,this.b,!1),t=0,n=Object.entries(Ys);t<n.length;t++){var r=n[t],o=r[0],i=r[1];if(e===i)return o}return!1},e.prototype.toString=function(e){var t=Boolean(e);e=null!==e&&void 0!==e?e:this.format;var n=!1,r=this.a<1&&this.a>=0,o=!t&&r&&(e.startsWith("hex")||"name"===e);return o?"name"===e&&0===this.a?this.toName():this.toRgbString():("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=hs(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=hs(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=hs(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=hs(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),i=n/100,a={r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a};return new e(a)},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);var n=this.toHsv(),r=n.h,o=n.s,i=n.v,a=[],u=1/t;while(t--)a.push(new e({h:r,s:o,v:i})),i=(i+u)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,a=1;a<t;a++)o.push(new e({h:(r+a*i)%360,s:n.s,l:n.l}));return o},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function Wp(){return!("undefined"===typeof window||!window.document||!window.document.createElement)}var Kp=Wp,Up="vc-util-key";function Gp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):Up}function $p(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function qp(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!Kp())return null;var r,o=document.createElement("style");null!==(t=n.csp)&&void 0!==t&&t.nonce&&(o.nonce=null===(r=n.csp)||void 0===r?void 0:r.nonce);o.innerHTML=e;var i=$p(n),a=i.firstChild;return n.prepend&&i.prepend?i.prepend(o):n.prepend&&a?i.insertBefore(o,a):i.appendChild(o),o}var ev=new Map;function tv(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=$p(t);return Array.from(ev.get(n).children).find((function(n){return"STYLE"===n.tagName&&n.getAttribute(Gp(t))===e}))}function nv(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=$p(n);if(!ev.has(r)){var o=qp("",n),i=o.parentNode;ev.set(r,i),i.removeChild(o)}var a=tv(t,n);if(a){var u,c,l;if(null!==(u=n.csp)&&void 0!==u&&u.nonce&&a.nonce!==(null===(c=n.csp)||void 0===c?void 0:c.nonce))a.nonce=null===(l=n.csp)||void 0===l?void 0:l.nonce;return a.innerHTML!==e&&(a.innerHTML=e),a}var s=qp(e,n);return s.setAttribute(Gp(n),t),s}var rv=function(e,t,n){en(e,"[ant-design-vue: ".concat(t,"] ").concat(n))},ov="-ant-".concat(Date.now(),"-").concat(Math.random());function iv(e,t){var n={},r=function(e,t){var n=e.clone();return n=(null===t||void 0===t?void 0:t(n))||n,n.toRgbString()},o=function(e,t){var o=new Qp(e),i=rd(o.toRgbString());n["".concat(t,"-color")]=r(o),n["".concat(t,"-color-disabled")]=i[1],n["".concat(t,"-color-hover")]=i[4],n["".concat(t,"-color-active")]=i[6],n["".concat(t,"-color-outline")]=o.clone().setAlpha(.2).toRgbString(),n["".concat(t,"-color-deprecated-bg")]=i[1],n["".concat(t,"-color-deprecated-border")]=i[3]};if(t.primaryColor){o(t.primaryColor,"primary");var i=new Qp(t.primaryColor),a=rd(i.toRgbString());a.forEach((function(e,t){n["primary-".concat(t+1)]=e})),n["primary-color-deprecated-l-35"]=r(i,(function(e){return e.lighten(35)})),n["primary-color-deprecated-l-20"]=r(i,(function(e){return e.lighten(20)})),n["primary-color-deprecated-t-20"]=r(i,(function(e){return e.tint(20)})),n["primary-color-deprecated-t-50"]=r(i,(function(e){return e.tint(50)})),n["primary-color-deprecated-f-12"]=r(i,(function(e){return e.setAlpha(.12*e.getAlpha())}));var u=new Qp(a[0]);n["primary-color-active-deprecated-f-30"]=r(u,(function(e){return e.setAlpha(.3*e.getAlpha())})),n["primary-color-active-deprecated-d-02"]=r(u,(function(e){return e.darken(2)}))}t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info");var c=Object.keys(n).map((function(t){return"--".concat(e,"-").concat(t,": ").concat(n[t],";")}));Kp()?nv("\n :root {\n ".concat(c.join("\n"),"\n }\n "),"".concat(ov,"-dynamic-theme")):rv(!1,"ConfigProvider","SSR do not support dynamic theme with css variables.")}var av=Symbol("GlobalFormContextKey"),uv=function(e){Object(i["provide"])(av,e)},cv=function(){return Object(i["inject"])(av,{validateMessages:Object(i["computed"])((function(){}))})},lv=(Symbol("GlobalConfigContextKey"),function(){return{getTargetContainer:{type:Function},getPopupContainer:{type:Function},prefixCls:String,getPrefixCls:{type:Function},renderEmpty:{type:Function},transformCellText:{type:Function},csp:{type:Object,default:void 0},input:{type:Object},autoInsertSpaceInButton:{type:Boolean,default:void 0},locale:{type:Object,default:void 0},pageHeader:{type:Object},componentSize:{type:String},direction:{type:String},space:{type:Object},virtual:{type:Boolean,default:void 0},dropdownMatchSelectWidth:{type:[Number,Boolean],default:!0},form:{type:Object,default:void 0},notUpdateGlobalConfig:Boolean}}),sv="ant";function dv(){return hv.prefixCls||sv}var fv,pv=Object(i["reactive"])({}),vv=Object(i["reactive"])({}),hv=Object(i["reactive"])({});Object(i["watchEffect"])((function(){Qc(hv,pv,vv),hv.prefixCls=dv(),hv.getPrefixCls=function(e,t){return t||(e?"".concat(hv.prefixCls,"-").concat(e):hv.prefixCls)},hv.getRootPrefixCls=function(e,t){return e||(hv.prefixCls?hv.prefixCls:t&&t.includes("-")?t.replace(/^(.*)-[^-]*$/,"$1"):dv())}}));var mv=function(e){fv&&fv(),fv=Object(i["watchEffect"])((function(){Qc(vv,Object(i["reactive"])(e)),Qc(hv,Object(i["reactive"])(e))})),e.theme&&iv(dv(),e.theme)},gv=function(){return{getPrefixCls:function(e,t){return t||(e?"".concat(dv(),"-").concat(e):dv())},getRootPrefixCls:function(e,t){return e||(hv.prefixCls?hv.prefixCls:t&&t.includes("-")?t.replace(/^(.*)-[^-]*$/,"$1"):dv())}}},bv=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"AConfigProvider",inheritAttrs:!1,props:lv(),setup:function(e,t){var n=t.slots,r=function(t,n){var r=e.prefixCls,o=void 0===r?"ant":r;return n||(t?"".concat(o,"-").concat(t):o)},o=function(t){var r=e.renderEmpty||n.renderEmpty||Kl;return r(t)},a=function(t,n){var o=e.prefixCls;if(n)return n;var i=o||r("");return t?"".concat(i,"-").concat(t):i},u=Object(i["reactive"])(Fe(Fe({},e),{},{getPrefixCls:a,renderEmpty:o}));Object.keys(e).forEach((function(t){Object(i["watch"])((function(){return e[t]}),(function(){u[t]=e[t]}))})),e.notUpdateGlobalConfig||(Qc(pv,u),Object(i["watch"])(u,(function(){Qc(pv,u)})));var c=Object(i["computed"])((function(){var t,n,r={};e.locale&&(r=(null===(t=e.locale.Form)||void 0===t?void 0:t.defaultValidateMessages)||(null===(n=al.Form)||void 0===n?void 0:n.defaultValidateMessages)||{});return e.form&&e.form.validateMessages&&(r=Fe(Fe({},r),e.form.validateMessages)),r}));uv({validateMessages:c}),Object(i["provide"])("configProvider",u);var l=function(t){var r;return Object(i["createVNode"])($l,{locale:e.locale||t,ANT_MARK__:Ul},{default:function(){return[null===(r=n.default)||void 0===r?void 0:r.call(n)]}})};return Object(i["watchEffect"])((function(){e.direction&&(Wf.config({rtl:"rtl"===e.direction}),zp.config({rtl:"rtl"===e.direction}))})),function(){return Object(i["createVNode"])(cl,{children:function(e,t,n){return l(n)}},null)}}}),yv=Object(i["reactive"])({getPrefixCls:function(e,t){return t||(e?"ant-".concat(e):"ant")},renderEmpty:Kl,direction:"ltr"});bv.config=mv,bv.install=function(e){e.component(bv.name,bv)};var Ov,Cv=bv,wv=function(e,t){var n=Object(i["inject"])("configProvider",yv),r=Object(i["computed"])((function(){return n.getPrefixCls(e,t.prefixCls)})),o=Object(i["computed"])((function(){var e;return null!==(e=t.direction)&&void 0!==e?e:n.direction})),a=Object(i["computed"])((function(){return n.getPrefixCls()})),u=Object(i["computed"])((function(){return n.autoInsertSpaceInButton})),c=Object(i["computed"])((function(){return n.renderEmpty})),l=Object(i["computed"])((function(){return n.space})),s=Object(i["computed"])((function(){return n.pageHeader})),d=Object(i["computed"])((function(){return n.form})),f=Object(i["computed"])((function(){return t.getTargetContainer||n.getTargetContainer})),p=Object(i["computed"])((function(){return t.getPopupContainer||n.getPopupContainer})),v=Object(i["computed"])((function(){var e;return null!==(e=t.dropdownMatchSelectWidth)&&void 0!==e?e:n.dropdownMatchSelectWidth})),h=Object(i["computed"])((function(){return(void 0===t.virtual?!1!==n.virtual:!1!==t.virtual)&&!1!==v.value})),m=Object(i["computed"])((function(){return t.size||n.componentSize})),g=Object(i["computed"])((function(){var e;return t.autocomplete||(null===(e=n.input)||void 0===e?void 0:e.autocomplete)})),b=Object(i["computed"])((function(){return n.csp}));return{configProvider:n,prefixCls:r,direction:o,size:m,getTargetContainer:f,getPopupContainer:p,space:l,pageHeader:s,form:d,autoInsertSpaceInButton:u,renderEmpty:c,virtual:h,dropdownMatchSelectWidth:v,rootPrefixCls:a,getPrefixCls:n.getPrefixCls,autocomplete:g,csp:b}},Sv=function(){return Kp()&&window.document.documentElement};var Nv=function(){if(!Sv())return!1;if(void 0!==Ov)return Ov;var e=document.createElement("div");return 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),Ov=1===e.scrollHeight,document.body.removeChild(e),Ov},Mv=function(){var e=Object(i["ref"])(!1);return Object(i["onMounted"])((function(){e.value=Nv()})),e},xv=Symbol("rowContextKey"),jv=function(e){Object(i["provide"])(xv,e)},Tv=function(){return Object(i["inject"])(xv,{gutter:Object(i["computed"])((function(){})),wrap:Object(i["computed"])((function(){})),supportFlexGap:Object(i["computed"])((function(){}))})},Dv=jv,Ev=(Ic("top","middle","bottom","stretch"),Ic("start","end","center","space-around","space-between"),function(){return{align:String,justify:String,prefixCls:String,gutter:{type:[Number,Array,Object],default:0},wrap:{type:Boolean,default:void 0}}}),kv=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ARow",props:Ev(),setup:function(e,t){var n,r=t.slots,o=wv("row",e),a=o.prefixCls,c=o.direction,l=Object(i["ref"])({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0,xxxl:!0}),d=Mv();Object(i["onMounted"])((function(){n=zc.subscribe((function(t){var n=e.gutter||0;(!Array.isArray(n)&&"object"===u(n)||Array.isArray(n)&&("object"===u(n[0])||"object"===u(n[1])))&&(l.value=t)}))})),Object(i["onBeforeUnmount"])((function(){zc.unsubscribe(n)}));var f=Object(i["computed"])((function(){var t=[0,0],n=e.gutter,r=void 0===n?0:n,o=Array.isArray(r)?r:[r,0];return o.forEach((function(e,n){if("object"===u(e))for(var r=0;r<Zc.length;r++){var o=Zc[r];if(l.value[o]&&void 0!==e[o]){t[n]=e[o];break}}else t[n]=e||0})),t}));Dv({gutter:f,supportFlexGap:d,wrap:Object(i["computed"])((function(){return e.wrap}))});var p=Object(i["computed"])((function(){var t;return Qt(a.value,(t={},s(t,"".concat(a.value,"-no-wrap"),!1===e.wrap),s(t,"".concat(a.value,"-").concat(e.justify),e.justify),s(t,"".concat(a.value,"-").concat(e.align),e.align),s(t,"".concat(a.value,"-rtl"),"rtl"===c.value),t))})),v=Object(i["computed"])((function(){var e=f.value,t={},n=e[0]>0?"".concat(e[0]/-2,"px"):void 0,r=e[1]>0?"".concat(e[1]/-2,"px"):void 0;return n&&(t.marginLeft=n,t.marginRight=n),d.value?t.rowGap="".concat(e[1],"px"):r&&(t.marginTop=r,t.marginBottom=r),t}));return function(){var e;return Object(i["createVNode"])("div",{class:p.value,style:v.value},[null===(e=r.default)||void 0===e?void 0:e.call(r)])}}}),Lv=kv,Yv=n("2a95");function _v(e){return void 0===e||null===e?[]:Array.isArray(e)?e:[e]}function Av(e,t){for(var n=e,r=0;r<t.length;r+=1){if(null===n||void 0===n)return;n=n[t[r]]}return n}function Pv(e){return vl(e)||Le(e)||Ye(e)||ml()}function Fv(e,t,n,r){if(!t.length)return n;var o,i=Pv(t),a=i[0],u=i.slice(1);return o=e||"number"!==typeof a?Array.isArray(e)?Ae(e):Fe({},e):[],r&&void 0===n&&1===u.length?delete o[a][u[0]]:o[a]=Fv(o[a],u,n,r),o}function Iv(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===n&&!Av(e,t.slice(0,-1))?e:Fv(e,t,n,r)}function Bv(e){return _v(e)}function Zv(e,t){var n=Av(e,t);return n}function Rv(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=Iv(e,t,n,r);return o}function Hv(e,t){return e&&e.some((function(e){return Qv(e,t)}))}function Vv(e){return"object"===u(e)&&null!==e&&Object.getPrototypeOf(e)===Object.prototype}function Xv(e,t){var n=Array.isArray(e)?Ae(e):Fe({},e);return t?(Object.keys(t).forEach((function(e){var r=n[e],o=t[e],i=Vv(r)&&Vv(o);n[e]=i?Xv(r,o||{}):o})),n):n}function Jv(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((function(e,t){return Xv(e,t)}),e)}function zv(e,t){var n={};return t.forEach((function(t){var r=Zv(e,t);n=Rv(n,t,r)})),n}function Qv(e,t){return!(!e||!t||e.length!==t.length)&&e.every((function(e,n){return t[n]===e}))}var Wv="'${name}' is not a valid ${type}",Kv={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:Wv,method:Wv,array:Wv,object:Wv,number:Wv,date:Wv,boolean:Wv,integer:Wv,float:Wv,regexp:Wv,email:Wv,url:Wv,hex:Wv},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},Uv=Yv["a"];function Gv(e,t){return e.replace(/\$\{\w+\}/g,(function(e){var n=e.slice(2,-1);return t[n]}))}function $v(e,t,n,r,o){return qv.apply(this,arguments)}function qv(){return qv=Uf($f.a.mark((function e(t,n,r,o,a){var u,c,l,d,f,p,v,h;return $f.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return u=Fe({},r),delete u.ruleIndex,delete u.trigger,c=null,u&&"array"===u.type&&u.defaultField&&(c=u.defaultField,delete u.defaultField),l=new Uv(s({},t,[u])),d=Jv({},Kv,o.validateMessages),l.messages(d),f=[],e.prev=9,e.next=12,Promise.resolve(l.validate(s({},t,n),Fe({},o)));case 12:e.next=17;break;case 14:e.prev=14,e.t0=e["catch"](9),e.t0.errors?f=e.t0.errors.map((function(e,t){var n=e.message;return Zl(n)?Object(i["cloneVNode"])(n,{key:"error_".concat(t)}):n})):(console.error(e.t0),f=[d.default()]);case 17:if(f.length||!c){e.next=22;break}return e.next=20,Promise.all(n.map((function(e,n){return $v("".concat(t,".").concat(n),e,c,o,a)})));case 20:return p=e.sent,e.abrupt("return",p.reduce((function(e,t){return[].concat(Ae(e),Ae(t))}),[]));case 22:return v=Fe(Fe({},r),{},{name:t,enum:(r.enum||[]).join(", ")},a),h=f.map((function(e){return"string"===typeof e?Gv(e,v):e})),e.abrupt("return",h);case 25:case"end":return e.stop()}}),e,null,[[9,14]])}))),qv.apply(this,arguments)}function eh(e,t,n,r,o,i){var a,u=e.join("."),c=n.map((function(e,t){var n=e.validator,r=Fe(Fe({},e),{},{ruleIndex:t});return n&&(r.validator=function(e,t,r){var o=!1,i=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Promise.resolve().then((function(){Kt(!o,"Your validator function has already return a promise. `callback` will be ignored."),o||r.apply(void 0,t)}))},a=n(e,t,i);o=a&&"function"===typeof a.then&&"function"===typeof a.catch,Kt(o,"`callback` is deprecated. Please return a promise instead."),o&&a.then((function(){r()})).catch((function(e){r(e||" ")}))}),r})).sort((function(e,t){var n=e.warningOnly,r=e.ruleIndex,o=t.warningOnly,i=t.ruleIndex;return!!n===!!o?r-i:n?1:-1}));if(!0===o)a=new Promise(function(){var e=Uf($f.a.mark((function e(n,o){var a,l,s;return $f.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:a=0;case 1:if(!(a<c.length)){e.next=12;break}return l=c[a],e.next=5,$v(u,t,l,r,i);case 5:if(s=e.sent,!s.length){e.next=9;break}return o([{errors:s,rule:l}]),e.abrupt("return");case 9:a+=1,e.next=1;break;case 12:n([]);case 13:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}());else{var l=c.map((function(e){return $v(u,t,e,r,i).then((function(t){return{errors:t,rule:e}}))}));a=(o?rh(l):th(l)).then((function(e){return Promise.reject(e)}))}return a.catch((function(e){return e})),a}function th(e){return nh.apply(this,arguments)}function nh(){return nh=Uf($f.a.mark((function e(t){return $f.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.all(t).then((function(e){var t,n=(t=[]).concat.apply(t,Ae(e));return n})));case 1:case"end":return e.stop()}}),e)}))),nh.apply(this,arguments)}function rh(e){return oh.apply(this,arguments)}function oh(){return oh=Uf($f.a.mark((function e(t){var n;return $f.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=0,e.abrupt("return",new Promise((function(e){t.forEach((function(r){r.then((function(r){r.errors.length&&e([r]),n+=1,n===t.length&&e([])}))}))})));case 2:case"end":return e.stop()}}),e)}))),oh.apply(this,arguments)}var ih="__lodash_hash_undefined__";function ah(e){return this.__data__.set(e,ih),this}var uh=ah;function ch(e){return this.__data__.has(e)}var lh=ch;function sh(e){var t=-1,n=null==e?0:e.length;this.__data__=new ao;while(++t<n)this.add(e[t])}sh.prototype.add=sh.prototype.push=uh,sh.prototype.has=lh;var dh=sh;function fh(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(t(e[n],n,e))return!0;return!1}var ph=fh;function vh(e,t){return e.has(t)}var hh=vh,mh=1,gh=2;function bh(e,t,n,r,o,i){var a=n&mh,u=e.length,c=t.length;if(u!=c&&!(a&&c>u))return!1;var l=i.get(e),s=i.get(t);if(l&&s)return l==t&&s==e;var d=-1,f=!0,p=n&gh?new dh:void 0;i.set(e,t),i.set(t,e);while(++d<u){var v=e[d],h=t[d];if(r)var m=a?r(h,v,d,t,e,i):r(v,h,d,e,t,i);if(void 0!==m){if(m)continue;f=!1;break}if(p){if(!ph(t,(function(e,t){if(!hh(p,t)&&(v===e||o(v,e,n,r,i)))return p.push(t)}))){f=!1;break}}else if(v!==h&&!o(v,h,n,r,i)){f=!1;break}}return i["delete"](e),i["delete"](t),f}var yh=bh;function Oh(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}var Ch=Oh;function wh(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var Sh=wh,Nh=1,Mh=2,xh="[object Boolean]",jh="[object Date]",Th="[object Error]",Dh="[object Map]",Eh="[object Number]",kh="[object RegExp]",Lh="[object Set]",Yh="[object String]",_h="[object Symbol]",Ah="[object ArrayBuffer]",Ph="[object DataView]",Fh=kn?kn.prototype:void 0,Ih=Fh?Fh.valueOf:void 0;function Bh(e,t,n,r,o,i,a){switch(n){case Ph:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Ah:return!(e.byteLength!=t.byteLength||!i(new ou(e),new ou(t)));case xh:case jh:case Eh:return an(+e,+t);case Th:return e.name==t.name&&e.message==t.message;case kh:case Yh:return e==t+"";case Dh:var u=Ch;case Lh:var c=r&Nh;if(u||(u=Sh),e.size!=t.size&&!c)return!1;var l=a.get(e);if(l)return l==t;r|=Mh,a.set(e,t);var s=yh(u(e),u(t),r,o,i,a);return a["delete"](e),s;case _h:if(Ih)return Ih.call(e)==Ih.call(t)}return!1}var Zh=Bh,Rh=1,Hh=Object.prototype,Vh=Hh.hasOwnProperty;function Xh(e,t,n,r,o,i){var a=n&Rh,u=Da(e),c=u.length,l=Da(t),s=l.length;if(c!=s&&!a)return!1;var d=c;while(d--){var f=u[d];if(!(a?f in t:Vh.call(t,f)))return!1}var p=i.get(e),v=i.get(t);if(p&&v)return p==t&&v==e;var h=!0;i.set(e,t),i.set(t,e);var m=a;while(++d<c){f=u[d];var g=e[f],b=t[f];if(r)var y=a?r(b,g,f,t,e,i):r(g,b,f,e,t,i);if(!(void 0===y?g===b||o(g,b,n,r,i):y)){h=!1;break}m||(m="constructor"==f)}if(h&&!m){var O=e.constructor,C=t.constructor;O==C||!("constructor"in e)||!("constructor"in t)||"function"==typeof O&&O instanceof O&&"function"==typeof C&&C instanceof C||(h=!1)}return i["delete"](e),i["delete"](t),h}var Jh=Xh,zh=1,Qh="[object Arguments]",Wh="[object Array]",Kh="[object Object]",Uh=Object.prototype,Gh=Uh.hasOwnProperty;function $h(e,t,n,r,o,i){var a=Io(e),u=Io(t),c=a?Wh:$a(e),l=u?Wh:$a(t);c=c==Qh?Kh:c,l=l==Qh?Kh:l;var s=c==Kh,d=l==Kh,f=c==l;if(f&&Object(Bo["a"])(e)){if(!Object(Bo["a"])(t))return!1;a=!0,s=!1}if(f&&!s)return i||(i=new fo),a||Mi(e)?yh(e,t,n,r,o,i):Zh(e,t,c,n,r,o,i);if(!(n&zh)){var p=s&&Gh.call(e,"__wrapped__"),v=d&&Gh.call(t,"__wrapped__");if(p||v){var h=p?e.value():e,m=v?t.value():t;return i||(i=new fo),o(h,m,n,r,i)}}return!!f&&(i||(i=new fo),Jh(e,t,n,r,o,i))}var qh=$h;function em(e,t,n,r,o){return e===t||(null==e||null==t||!To(e)&&!To(t)?e!==e&&t!==t:qh(e,t,n,r,em,o))}var tm=em,nm=1,rm=2;function om(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;e=Object(e);while(o--){var u=n[o];if(a&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}while(++o<i){u=n[o];var c=u[0],l=e[c],s=u[1];if(a&&u[2]){if(void 0===l&&!(c in e))return!1}else{var d=new fo;if(r)var f=r(l,s,c,e,t,d);if(!(void 0===f?tm(s,l,nm|rm,r,d):f))return!1}}return!0}var im=om;function am(e){return e===e&&!Wn(e)}var um=am;function cm(e){var t=Xi(e),n=t.length;while(n--){var r=t[n],o=e[r];t[n]=[r,o,um(o)]}return t}var lm=cm;function sm(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}var dm=sm;function fm(e){var t=lm(e);return 1==t.length&&t[0][2]?dm(t[0][0],t[0][1]):function(n){return n===e||im(n,e,t)}}var pm=fm,vm="[object Symbol]";function hm(e){return"symbol"==typeof e||To(e)&&zn(e)==vm}var mm=hm,gm=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,bm=/^\w*$/;function ym(e,t){if(Io(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!mm(e))||(bm.test(e)||!gm.test(e)||null!=t&&e in Object(t))}var Om=ym,Cm="Expected a function";function wm(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(Cm);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(wm.Cache||ao),n}wm.Cache=ao;var Sm=wm,Nm=500;function Mm(e){var t=Sm(e,(function(e){return n.size===Nm&&n.clear(),e})),n=t.cache;return t}var xm=Mm,jm=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Tm=/\\(\\)?/g,Dm=xm((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(jm,(function(e,n,r,o){t.push(r?o.replace(Tm,"$1"):n||e)})),t})),Em=Dm;function km(e,t){var n=-1,r=null==e?0:e.length,o=Array(r);while(++n<r)o[n]=t(e[n],n,e);return o}var Lm=km,Ym=1/0,_m=kn?kn.prototype:void 0,Am=_m?_m.toString:void 0;function Pm(e){if("string"==typeof e)return e;if(Io(e))return Lm(e,Pm)+"";if(mm(e))return Am?Am.call(e):"";var t=e+"";return"0"==t&&1/e==-Ym?"-0":t}var Fm=Pm;function Im(e){return null==e?"":Fm(e)}var Bm=Im;function Zm(e,t){return Io(e)?e:Om(e,t)?[e]:Em(Bm(e))}var Rm=Zm,Hm=1/0;function Vm(e){if("string"==typeof e||mm(e))return e;var t=e+"";return"0"==t&&1/e==-Hm?"-0":t}var Xm=Vm;function Jm(e,t){t=Rm(t,e);var n=0,r=t.length;while(null!=e&&n<r)e=e[Xm(t[n++])];return n&&n==r?e:void 0}var zm=Jm;function Qm(e,t,n){var r=null==e?void 0:zm(e,t);return void 0===r?n:r}var Wm=Qm;function Km(e,t){return null!=e&&t in Object(e)}var Um=Km;function Gm(e,t,n){t=Rm(t,e);var r=-1,o=t.length,i=!1;while(++r<o){var a=Xm(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:(o=null==e?0:e.length,!!o&&zo(o)&&Vo(a,o)&&(Io(e)||Po(e)))}var $m=Gm;function qm(e,t){return null!=e&&$m(e,t,Um)}var eg=qm,tg=1,ng=2;function rg(e,t){return Om(e)&&um(t)?dm(Xm(e),t):function(n){var r=Wm(n,e);return void 0===r&&r===t?eg(n,e):tm(t,r,tg|ng)}}var og=rg;function ig(e){return e}var ag=ig;function ug(e){return function(t){return null==t?void 0:t[e]}}var cg=ug;function lg(e){return function(t){return zm(t,e)}}var sg=lg;function dg(e){return Om(e)?cg(Xm(e)):sg(e)}var fg=dg;function pg(e){return"function"==typeof e?e:null==e?ag:"object"==typeof e?Io(e)?og(e[0],e[1]):pm(e):fg(e)}var vg=pg;function hg(e){return function(t,n,r){var o=Object(t);if(!Hi(t)){var i=vg(n,3);t=Xi(t),n=function(e){return i(o[e],e,o)}}var a=e(t,n,r);return a>-1?o[i?t[a]:a]:void 0}}var mg=hg;function gg(e,t,n,r){var o=e.length,i=n+(r?1:-1);while(r?i--:++i<o)if(t(e[i],i,e))return i;return-1}var bg=gg,yg=/\s/;function Og(e){var t=e.length;while(t--&&yg.test(e.charAt(t)));return t}var Cg=Og,wg=/^\s+/;function Sg(e){return e?e.slice(0,Cg(e)+1).replace(wg,""):e}var Ng=Sg,Mg=NaN,xg=/^[-+]0x[0-9a-f]+$/i,jg=/^0b[01]+$/i,Tg=/^0o[0-7]+$/i,Dg=parseInt;function Eg(e){if("number"==typeof e)return e;if(mm(e))return Mg;if(Wn(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Wn(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Ng(e);var n=jg.test(e);return n||Tg.test(e)?Dg(e.slice(2),n?2:8):xg.test(e)?Mg:+e}var kg=Eg,Lg=1/0,Yg=17976931348623157e292;function _g(e){if(!e)return 0===e?e:0;if(e=kg(e),e===Lg||e===-Lg){var t=e<0?-1:1;return t*Yg}return e===e?e:0}var Ag=_g;function Pg(e){var t=Ag(e),n=t%1;return t===t?n?t-n:t:0}var Fg=Pg,Ig=Math.max;function Bg(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:Fg(n);return o<0&&(o=Ig(r+o,0)),bg(e,vg(t,3),o)}var Zg=Bg,Rg=mg(Zg),Hg=Rg,Vg=Symbol("formContextKey"),Xg=function(e){Object(i["provide"])(Vg,e)},Jg=function(){return Object(i["inject"])(Vg,{name:Object(i["computed"])((function(){})),labelAlign:Object(i["computed"])((function(){return"right"})),vertical:Object(i["computed"])((function(){return!1})),addField:function(e,t){},removeField:function(e){},model:Object(i["computed"])((function(){})),rules:Object(i["computed"])((function(){})),colon:Object(i["computed"])((function(){})),labelWrap:Object(i["computed"])((function(){})),labelCol:Object(i["computed"])((function(){})),requiredMark:Object(i["computed"])((function(){return!1})),validateTrigger:Object(i["computed"])((function(){})),onValidate:function(){},validateMessages:Object(i["computed"])((function(){return Kv}))})},zg=Symbol("formItemPrefixContextKey"),Qg=function(e){Object(i["provide"])(zg,e)},Wg=function(){return Object(i["inject"])(zg,{prefixCls:Object(i["computed"])((function(){return""}))})};function Kg(e){return"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}var Ug=function(){return{span:[String,Number],order:[String,Number],offset:[String,Number],push:[String,Number],pull:[String,Number],xs:{type:[String,Number,Object],default:void 0},sm:{type:[String,Number,Object],default:void 0},md:{type:[String,Number,Object],default:void 0},lg:{type:[String,Number,Object],default:void 0},xl:{type:[String,Number,Object],default:void 0},xxl:{type:[String,Number,Object],default:void 0},xxxl:{type:[String,Number,Object],default:void 0},prefixCls:String,flex:[String,Number]}},Gg=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ACol",props:Ug(),setup:function(e,t){var n=t.slots,r=Tv(),o=r.gutter,a=r.supportFlexGap,c=r.wrap,l=wv("col",e),d=l.prefixCls,f=l.direction,p=Object(i["computed"])((function(){var t,n=e.span,r=e.order,o=e.offset,i=e.push,a=e.pull,c=d.value,l={};return["xs","sm","md","lg","xl","xxl","xxxl"].forEach((function(t){var n,r={},o=e[t];"number"===typeof o?r.span=o:"object"===u(o)&&(r=o||{}),l=Fe(Fe({},l),{},(n={},s(n,"".concat(c,"-").concat(t,"-").concat(r.span),void 0!==r.span),s(n,"".concat(c,"-").concat(t,"-order-").concat(r.order),r.order||0===r.order),s(n,"".concat(c,"-").concat(t,"-offset-").concat(r.offset),r.offset||0===r.offset),s(n,"".concat(c,"-").concat(t,"-push-").concat(r.push),r.push||0===r.push),s(n,"".concat(c,"-").concat(t,"-pull-").concat(r.pull),r.pull||0===r.pull),s(n,"".concat(c,"-rtl"),"rtl"===f.value),n))})),Qt(c,(t={},s(t,"".concat(c,"-").concat(n),void 0!==n),s(t,"".concat(c,"-order-").concat(r),r),s(t,"".concat(c,"-offset-").concat(o),o),s(t,"".concat(c,"-push-").concat(i),i),s(t,"".concat(c,"-pull-").concat(a),a),t),l)})),v=Object(i["computed"])((function(){var t=e.flex,n=o.value,r={};if(n&&n[0]>0){var i="".concat(n[0]/2,"px");r.paddingLeft=i,r.paddingRight=i}if(n&&n[1]>0&&!a.value){var u="".concat(n[1]/2,"px");r.paddingTop=u,r.paddingBottom=u}return t&&(r.flex=Kg(t),!1!==c.value||r.minWidth||(r.minWidth=0)),r}));return function(){var e;return Object(i["createVNode"])("div",{class:p.value,style:v.value},[null===(e=n.default)||void 0===e?void 0:e.call(n)])}}}),$g=function(e,t){var n,r,o,a,u=t.slots,c=t.emit,l=t.attrs,d=Fe(Fe({},e),l),f=d.prefixCls,p=d.htmlFor,v=d.labelCol,h=d.labelAlign,m=d.colon,g=d.required,b=d.requiredMark,y=ll("Form"),O=gl(y,1),C=O[0],w=null!==(n=e.label)&&void 0!==n?n:null===(r=u.label)||void 0===r?void 0:r.call(u);if(!w)return null;var S,N,M=Jg(),x=M.vertical,j=M.labelAlign,T=M.labelCol,D=M.labelWrap,E=M.colon,k=v||(null===T||void 0===T?void 0:T.value)||{},L=h||(null===j||void 0===j?void 0:j.value),Y="".concat(f,"-item-label"),_=Qt(Y,"left"===L&&"".concat(Y,"-left"),k.class,s({},"".concat(Y,"-wrap"),!!D.value)),A=w,P=!0===m||!1!==(null===E||void 0===E?void 0:E.value)&&!1!==m,F=P&&!x.value;(F&&"string"===typeof w&&""!==w.trim()&&(A=w.replace(/[:|:]\s*$/,"")),A=Object(i["createVNode"])(i["Fragment"],null,[A,null===(o=u.tooltip)||void 0===o?void 0:o.call(u,{class:"".concat(f,"-item-tooltip")})]),"optional"!==b||g)||(A=Object(i["createVNode"])(i["Fragment"],null,[A,Object(i["createVNode"])("span",{class:"".concat(f,"-item-optional")},[(null===(S=C.value)||void 0===S?void 0:S.optional)||(null===(N=al.Form)||void 0===N?void 0:N.optional)])]));var I=Qt((a={},s(a,"".concat(f,"-item-required"),g),s(a,"".concat(f,"-item-required-mark-optional"),"optional"===b),s(a,"".concat(f,"-item-no-colon"),!P),a));return Object(i["createVNode"])(Gg,Fe(Fe({},k),{},{class:_}),{default:function(){return[Object(i["createVNode"])("label",{for:p,class:I,title:"string"===typeof w?w:"",onClick:function(e){return c("click",e)}},[A])]}})};$g.displayName="FormItemLabel",$g.inheritAttrs=!1;var qg=$g;function eb(e,t){if(e.classList)return e.classList.contains(t);var n=e.className;return" ".concat(n," ").indexOf(" ".concat(t," "))>-1}function tb(e,t){e.classList?e.classList.add(t):eb(e,t)||(e.className="".concat(e.className," ").concat(t))}function nb(e,t){if(e.classList)e.classList.remove(t);else if(eb(e,t)){var n=e.className;e.className=" ".concat(n," ").replace(" ".concat(t," ")," ")}}var rb=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"ant-motion-collapse",t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return{name:e,appear:t,css:!0,onBeforeEnter:function(t){t.style.height="0px",t.style.opacity="0",tb(t,e)},onEnter:function(e){Object(i["nextTick"])((function(){e.style.height="".concat(e.scrollHeight,"px"),e.style.opacity="1"}))},onAfterEnter:function(t){t&&(nb(t,e),t.style.height=null,t.style.opacity=null)},onBeforeLeave:function(t){tb(t,e),t.style.height="".concat(t.offsetHeight,"px"),t.style.opacity=null},onLeave:function(e){setTimeout((function(){e.style.height="0px",e.style.opacity="0"}))},onAfterLeave:function(t){t&&(nb(t,e),t.style&&(t.style.height=null,t.style.opacity=null))}}},ob=rb,ib=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ErrorList",props:["errors","help","onDomErrorVisibleChange","helpStatus","warnings"],setup:function(e){var t=wv("",e),n=t.prefixCls,r=Wg(),o=r.prefixCls,a=r.status,u=Object(i["computed"])((function(){return"".concat(o.value,"-item-explain")})),c=Object(i["computed"])((function(){return!(!e.errors||!e.errors.length)})),l=Object(i["ref"])(a.value);return Object(i["watch"])([c,a],(function(){c.value&&(l.value=a.value)})),function(){var t,r,o=ob("".concat(n.value,"-show-help-item")),a=ts("".concat(n.value,"-show-help-item"),o);return a.class=u.value,null!==(t=e.errors)&&void 0!==t&&t.length?Object(i["createVNode"])(i["TransitionGroup"],Fe(Fe({},a),{},{tag:"div"}),{default:function(){return[null===(r=e.errors)||void 0===r?void 0:r.map((function(e,t){return Object(i["createVNode"])("div",{key:t,role:"alert",class:l.value?"".concat(u.value,"-").concat(l.value):""},[e])}))]}}):null}}}),ab={success:Sf,warning:df,error:gf,validating:of},ub=Object(i["defineComponent"])({compatConfig:{MODE:3},slots:["help","extra","errors"],inheritAttrs:!1,props:["prefixCls","errors","hasFeedback","onDomErrorVisibleChange","wrapperCol","help","extra","status"],setup:function(e,t){var n=t.slots,r=Jg(),o=r.wrapperCol,a=Fe({},r);return delete a.labelCol,delete a.wrapperCol,Xg(a),Qg({prefixCls:Object(i["computed"])((function(){return e.prefixCls})),status:Object(i["computed"])((function(){return e.status}))}),function(){var t,r,a,u=e.prefixCls,c=e.wrapperCol,l=e.help,s=void 0===l?null===(t=n.help)||void 0===t?void 0:t.call(n):l,d=e.errors,f=void 0===d?null===(r=n.errors)||void 0===r?void 0:r.call(n):d,p=e.hasFeedback,v=e.status,h=e.extra,m=void 0===h?null===(a=n.extra)||void 0===a?void 0:a.call(n):h,g="".concat(u,"-item"),b=c||(null===o||void 0===o?void 0:o.value)||{},y=Qt("".concat(g,"-control"),b.class),O=v&&ab[v];return Object(i["createVNode"])(Gg,Fe(Fe({},b),{},{class:y}),{default:function(){var e;return Object(i["createVNode"])(i["Fragment"],null,[Object(i["createVNode"])("div",{class:"".concat(g,"-control-input")},[Object(i["createVNode"])("div",{class:"".concat(g,"-control-input-content")},[null===(e=n.default)||void 0===e?void 0:e.call(n)]),p&&O?Object(i["createVNode"])("span",{class:"".concat(g,"-children-icon")},[Object(i["createVNode"])(O,null,null)]):null]),Object(i["createVNode"])(ib,{errors:f,help:s,class:"".concat(g,"-explain-connected")},null),m?Object(i["createVNode"])("div",{class:"".concat(g,"-extra")},[m]):null])}})}}}),cb=ub,lb=Symbol("ContextProps"),sb=Symbol("InternalContextProps"),db=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object(i["computed"])((function(){return!0})),n=Object(i["ref"])(new Map),r=function(e,t){n.value.set(e,t),n.value=new Map(n.value)},o=function(e){n.value.delete(e),n.value=new Map(n.value)};Object(i["getCurrentInstance"])();Object(i["watch"])([t,n],(function(){})),Object(i["provide"])(lb,e),Object(i["provide"])(sb,{addFormItemField:r,removeFormItemField:o})},fb={id:Object(i["computed"])((function(){})),onFieldBlur:function(){},onFieldChange:function(){},clearValidate:function(){}},pb={addFormItemField:function(){},removeFormItemField:function(){}},vb=function(){var e=Object(i["inject"])(sb,pb),t=Symbol("FormItemFieldKey"),n=Object(i["getCurrentInstance"])();return e.addFormItemField(t,n.type),Object(i["onBeforeUnmount"])((function(){e.removeFormItemField(t)})),Object(i["provide"])(sb,pb),Object(i["provide"])(lb,fb),Object(i["inject"])(lb,fb)},hb=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"AFormItemRest",setup:function(e,t){var n=t.slots;return Object(i["provide"])(sb,pb),Object(i["provide"])(lb,fb),function(){var e;return null===(e=n.default)||void 0===e?void 0:e.call(n)}}});function mb(e){var t=Object(i["shallowRef"])(e.value.slice()),n=null;return Object(i["watchEffect"])((function(){clearTimeout(n),n=setTimeout((function(){t.value=e.value}),e.value.length?0:10)})),t}Ic("success","warning","error","validating","");function gb(e,t,n){var r=e,o=t,i=0;try{for(var a=o.length;i<a-1;++i){if(!r&&!n)break;var u=o[i];if(!(u in r)){if(n)throw Error("please transfer a valid name path to form item!");break}r=r[u]}if(n&&!r)throw Error("please transfer a valid name path to form item!")}catch(c){console.error("please transfer a valid name path to form item!")}return{o:r,k:o[i],v:r?r[o[i]]:void 0}}var bb=function(){return{htmlFor:String,prefixCls:String,label:Et.any,help:Et.any,extra:Et.any,labelCol:{type:Object},wrapperCol:{type:Object},hasFeedback:{type:Boolean,default:!1},colon:{type:Boolean,default:void 0},labelAlign:String,prop:{type:[String,Number,Array]},name:{type:[String,Number,Array]},rules:[Array,Object],autoLink:{type:Boolean,default:!0},required:{type:Boolean,default:void 0},validateFirst:{type:Boolean,default:void 0},validateStatus:Et.oneOf(Ic("","success","warning","error","validating")),validateTrigger:{type:[String,Array]},messageVariables:{type:Object},hidden:Boolean,noStyle:Boolean}},yb=0,Ob="form_item",Cb=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"AFormItem",inheritAttrs:!1,__ANT_NEW_FORM_ITEM:!0,props:bb(),slots:["help","label","extra"],setup:function(e,t){var n=t.slots,r=t.attrs,o=t.expose;Kt(void 0===e.prop,"`prop` is deprecated. Please use `name` instead.");var a="form-item-".concat(++yb),u=wv("form",e),c=u.prefixCls,l=Jg(),d=Object(i["computed"])((function(){return e.name||e.prop})),f=Object(i["ref"])([]),p=Object(i["ref"])(!1),v=Object(i["ref"])(),h=Object(i["computed"])((function(){var e=d.value;return Bv(e)})),m=Object(i["computed"])((function(){if(h.value.length){var e=l.name.value,t=h.value.join("_");return e?"".concat(e,"_").concat(t):"".concat(Ob,"_").concat(t)}})),g=function(){var e=l.model.value;return e&&d.value?gb(e,h.value,!0).v:void 0},b=Object(i["computed"])((function(){return g()})),y=Object(i["ref"])(Fc(b.value)),O=Object(i["computed"])((function(){var t=void 0!==e.validateTrigger?e.validateTrigger:l.validateTrigger.value;return t=void 0===t?"change":t,_v(t)})),C=Object(i["computed"])((function(){var t=l.rules.value,n=e.rules,r=void 0!==e.required?{required:!!e.required,trigger:O.value}:[],o=gb(t,h.value);t=t?o.o[o.k]||o.v:[];var i=[].concat(n||t||[]);return Hg(i,(function(e){return e.required}))?i:i.concat(r)})),w=Object(i["computed"])((function(){var t=C.value,n=!1;return t&&t.length&&t.every((function(e){return!e.required||(n=!0,!1)})),n||e.required})),S=Object(i["ref"])();Object(i["watchEffect"])((function(){S.value=e.validateStatus}));var N=Object(i["computed"])((function(){var t={};return"string"===typeof e.label?t.label=e.label:e.name&&(t.label=String(e.name)),e.messageVariables&&(t=Fe(Fe({},t),e.messageVariables)),t})),M=function(t){if(0!==h.value.length){var n=e.validateFirst,r=void 0!==n&&n,o=t||{},a=o.triggerName,u=C.value;if(a&&(u=u.filter((function(e){var t=e.trigger;if(!t&&!O.value.length)return!0;var n=_v(t||O.value);return n.includes(a)}))),!u.length)return Promise.resolve();var c=eh(h.value,b.value,u,Fe({validateMessages:l.validateMessages.value},t),r,N.value);return S.value="validating",f.value=[],c.catch((function(e){return e})).then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if("validating"===S.value){var t=e.filter((function(e){return e&&e.errors.length}));S.value=t.length?"error":"success",f.value=t.map((function(e){return e.errors})),l.onValidate(d.value,!f.value.length,f.value.length?Object(i["toRaw"])(f.value[0]):null)}})),c}},x=function(){M({triggerName:"blur"})},j=function(){p.value?p.value=!1:M({triggerName:"change"})},T=function(){S.value=e.validateStatus,p.value=!1,f.value=[]},D=function(){S.value=e.validateStatus,p.value=!0,f.value=[];var t=l.model.value||{},n=b.value,r=gb(t,h.value,!0);Array.isArray(n)?r.o[r.k]=[].concat(y.value):r.o[r.k]=y.value,Object(i["nextTick"])((function(){p.value=!1}))},E=Object(i["computed"])((function(){return void 0===e.htmlFor?m.value:e.htmlFor})),k=function(){var e=E.value;if(e&&v.value){var t=v.value.$el.querySelector('[id="'.concat(e,'"]'));t&&t.focus&&t.focus()}};o({onFieldBlur:x,onFieldChange:j,clearValidate:T,resetField:D}),db({id:m,onFieldBlur:function(){e.autoLink&&x()},onFieldChange:function(){e.autoLink&&j()},clearValidate:T},Object(i["computed"])((function(){return!!(e.autoLink&&l.model.value&&d.value)})));var L=!1;Object(i["watch"])(d,(function(e){e?L||(L=!0,l.addField(a,{fieldValue:b,fieldId:m,fieldName:d,resetField:D,clearValidate:T,namePath:h,validateRules:M,rules:C})):(L=!1,l.removeField(a))}),{immediate:!0}),Object(i["onBeforeUnmount"])((function(){l.removeField(a)}));var Y=mb(f),_=Object(i["computed"])((function(){return void 0!==e.validateStatus?e.validateStatus:Y.value.length?"error":S.value})),A=Object(i["computed"])((function(){var t;return t={},s(t,"".concat(c.value,"-item"),!0),s(t,"".concat(c.value,"-item-has-feedback"),_.value&&e.hasFeedback),s(t,"".concat(c.value,"-item-has-success"),"success"===_.value),s(t,"".concat(c.value,"-item-has-warning"),"warning"===_.value),s(t,"".concat(c.value,"-item-has-error"),"error"===_.value),s(t,"".concat(c.value,"-item-is-validating"),"validating"===_.value),s(t,"".concat(c.value,"-item-hidden"),e.hidden),t}));return function(){var t,o;if(e.noStyle)return null===(t=n.default)||void 0===t?void 0:t.call(n);var a=null!==(o=e.help)&&void 0!==o?o:n.help?Bl(n.help()):null;return Object(i["createVNode"])(Lv,Fe(Fe({},r),{},{class:[A.value,void 0!==a&&null!==a||Y.value.length?"".concat(c.value,"-item-with-help"):"",r.class],key:"row"}),{default:function(){var t,r,o,u;return Object(i["createVNode"])(i["Fragment"],null,[Object(i["createVNode"])(qg,Fe(Fe({},e),{},{htmlFor:E.value,required:w.value,requiredMark:l.requiredMark.value,prefixCls:c.value,onClick:k,label:null!==(t=e.label)&&void 0!==t?t:null===(r=n.label)||void 0===r?void 0:r.call(n)}),null),Object(i["createVNode"])(cb,Fe(Fe({},e),{},{errors:void 0!==a&&null!==a?_v(a):Y.value,prefixCls:c.value,status:_.value,ref:v,help:a,extra:null!==(o=e.extra)&&void 0!==o?o:null===(u=n.extra)||void 0===u?void 0:u.call(n)}),{default:n.default})])}})}}});function wb(e){var t=!1,n=e.length,r=[];return e.length?new Promise((function(o,i){e.forEach((function(e,a){e.catch((function(e){return t=!0,e})).then((function(e){n-=1,r[a]=e,n>0||(t&&i(r),o(r))}))}))})):Promise.resolve([])}function Sb(e,t){return tm(e,t)}var Nb=Sb;function Mb(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function xb(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function jb(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return xb(n.overflowY,t)||xb(n.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function Tb(e,t,n,r,o,i,a,u){return i<e&&a>t||i>e&&a<t?0:i<=e&&u<=n||a>=t&&u>=n?i-e-r:a>t&&u<n||i<e&&u>n?a-t+o:0}var Db=function(e,t){var n=window,r=t.scrollMode,o=t.block,i=t.inline,a=t.boundary,u=t.skipOverflowHiddenElements,c="function"==typeof a?a:function(e){return e!==a};if(!Mb(e))throw new TypeError("Invalid target");for(var l,s,d=document.scrollingElement||document.documentElement,f=[],p=e;Mb(p)&&c(p);){if((p=null==(s=(l=p).parentElement)?l.getRootNode().host||null:s)===d){f.push(p);break}null!=p&&p===document.body&&jb(p)&&!jb(document.documentElement)||null!=p&&jb(p,u)&&f.push(p)}for(var v=n.visualViewport?n.visualViewport.width:innerWidth,h=n.visualViewport?n.visualViewport.height:innerHeight,m=window.scrollX||pageXOffset,g=window.scrollY||pageYOffset,b=e.getBoundingClientRect(),y=b.height,O=b.width,C=b.top,w=b.right,S=b.bottom,N=b.left,M="start"===o||"nearest"===o?C:"end"===o?S:C+y/2,x="center"===i?N+O/2:"end"===i?w:N,j=[],T=0;T<f.length;T++){var D=f[T],E=D.getBoundingClientRect(),k=E.height,L=E.width,Y=E.top,_=E.right,A=E.bottom,P=E.left;if("if-needed"===r&&C>=0&&N>=0&&S<=h&&w<=v&&C>=Y&&S<=A&&N>=P&&w<=_)return j;var F=getComputedStyle(D),I=parseInt(F.borderLeftWidth,10),B=parseInt(F.borderTopWidth,10),Z=parseInt(F.borderRightWidth,10),R=parseInt(F.borderBottomWidth,10),H=0,V=0,X="offsetWidth"in D?D.offsetWidth-D.clientWidth-I-Z:0,J="offsetHeight"in D?D.offsetHeight-D.clientHeight-B-R:0,z="offsetWidth"in D?0===D.offsetWidth?0:L/D.offsetWidth:0,Q="offsetHeight"in D?0===D.offsetHeight?0:k/D.offsetHeight:0;if(d===D)H="start"===o?M:"end"===o?M-h:"nearest"===o?Tb(g,g+h,h,B,R,g+M,g+M+y,y):M-h/2,V="start"===i?x:"center"===i?x-v/2:"end"===i?x-v:Tb(m,m+v,v,I,Z,m+x,m+x+O,O),H=Math.max(0,H+g),V=Math.max(0,V+m);else{H="start"===o?M-Y-B:"end"===o?M-A+R+J:"nearest"===o?Tb(Y,A,k,B,R+J,M,M+y,y):M-(Y+k/2)+J/2,V="start"===i?x-P-I:"center"===i?x-(P+L/2)+X/2:"end"===i?x-_+Z+X:Tb(P,_,L,I,Z+X,x,x+O,O);var W=D.scrollLeft,K=D.scrollTop;M+=K-(H=Math.max(0,Math.min(K+H/Q,D.scrollHeight-k/Q+J))),x+=W-(V=Math.max(0,Math.min(W+V/z,D.scrollWidth-L/z+X)))}j.push({el:D,top:H,left:V})}return j};function Eb(e){return e===Object(e)&&0!==Object.keys(e).length}function kb(e,t){void 0===t&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach((function(e){var r=e.el,o=e.top,i=e.left;r.scroll&&n?r.scroll({top:o,left:i,behavior:t}):(r.scrollTop=o,r.scrollLeft=i)}))}function Lb(e){return!1===e?{block:"end",inline:"nearest"}:Eb(e)?e:{block:"start",inline:"nearest"}}function Yb(e,t){var n=e.isConnected||e.ownerDocument.documentElement.contains(e);if(Eb(t)&&"function"===typeof t.behavior)return t.behavior(n?Db(e,t):[]);if(n){var r=Lb(t);return kb(Db(e,r),r.behavior)}}var _b=Yb,Ab=function(e,t){var n=Fe({},e);return Object.keys(t).forEach((function(e){var r=n[e];if(!r)throw new Error("not have ".concat(e," prop"));r.type||r.default?r.default=t[e]:r.def?r.def(t[e]):n[e]={type:r,default:t[e]}})),n},Pb=Ab,Fb=Symbol("SizeProvider"),Ib=function(e){var t=e?Object(i["computed"])((function(){return e.size})):Object(i["inject"])(Fb,Object(i["computed"])((function(){return"default"})));return t};function Bb(e){return e!==e}var Zb=Bb;function Rb(e,t,n){var r=n-1,o=e.length;while(++r<o)if(e[r]===t)return r;return-1}var Hb=Rb;function Vb(e,t,n){return t===t?Hb(e,t,n):bg(e,Zb,n)}var Xb=Vb;function Jb(e,t){var n=null==e?0:e.length;return!!n&&Xb(e,t,0)>-1}var zb=Jb;function Qb(e,t,n){var r=-1,o=null==e?0:e.length;while(++r<o)if(n(t,e[r]))return!0;return!1}var Wb=Qb,Kb=Math.min;function Ub(e,t,n){var r=n?Wb:zb,o=e[0].length,i=e.length,a=i,u=Array(i),c=1/0,l=[];while(a--){var s=e[a];a&&t&&(s=Lm(s,Ci(t))),c=Kb(s.length,c),u[a]=!n&&(t||o>=120&&s.length>=120)?new dh(a&&s):void 0}s=e[0];var d=-1,f=u[0];e:while(++d<o&&l.length<c){var p=s[d],v=t?t(p):p;if(p=n||0!==p?p:0,!(f?hh(f,v):r(l,v,n))){a=i;while(--a){var h=u[a];if(!(h?hh(h,v):r(e[a],v,n)))continue e}f&&f.push(v),l.push(p)}}return l}var Gb=Ub;function $b(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var qb=$b,ey=Math.max;function ty(e,t,n){return t=ey(void 0===t?e.length-1:t,0),function(){var r=arguments,o=-1,i=ey(r.length-t,0),a=Array(i);while(++o<i)a[o]=r[t+o];o=-1;var u=Array(t+1);while(++o<t)u[o]=r[o];return u[t]=n(a),qb(e,this,u)}}var ny=ty;function ry(e){return function(){return e}}var oy=ry,iy=mo?function(e,t){return mo(e,"toString",{configurable:!0,enumerable:!1,value:oy(t),writable:!0})}:ag,ay=iy,uy=800,cy=16,ly=Date.now;function sy(e){var t=0,n=0;return function(){var r=ly(),o=cy-(r-n);if(n=r,o>0){if(++t>=uy)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var dy=sy,fy=dy(ay),py=fy;function vy(e,t){return py(ny(e,t,ag),e+"")}var hy=vy;function my(e){return To(e)&&Hi(e)}var gy=my;function by(e){return gy(e)?e:[]}var yy=by,Oy=hy((function(e){var t=Lm(e,yy);return t.length&&t[0]===e[0]?Gb(t):[]})),Cy=Oy,wy=function(){return Dn["a"].Date.now()},Sy=wy,Ny="Expected a function",My=Math.max,xy=Math.min;function jy(e,t,n){var r,o,i,a,u,c,l=0,s=!1,d=!1,f=!0;if("function"!=typeof e)throw new TypeError(Ny);function p(t){var n=r,i=o;return r=o=void 0,l=t,a=e.apply(i,n),a}function v(e){return l=e,u=setTimeout(g,t),s?p(e):a}function h(e){var n=e-c,r=e-l,o=t-n;return d?xy(o,i-r):o}function m(e){var n=e-c,r=e-l;return void 0===c||n>=t||n<0||d&&r>=i}function g(){var e=Sy();if(m(e))return b(e);u=setTimeout(g,h(e))}function b(e){return u=void 0,f&&r?p(e):(r=o=void 0,a)}function y(){void 0!==u&&clearTimeout(u),l=0,r=c=o=u=void 0}function O(){return void 0===u?a:b(Sy())}function C(){var e=Sy(),n=m(e);if(r=arguments,o=this,c=e,n){if(void 0===u)return v(c);if(d)return clearTimeout(u),u=setTimeout(g,t),p(c)}return void 0===u&&(u=setTimeout(g,t)),a}return t=kg(t)||0,Wn(n)&&(s=!!n.leading,d="maxWait"in n,i=d?My(kg(n.maxWait)||0,t):i,f="trailing"in n?!!n.trailing:f),C.cancel=y,C.flush=O,C}var Ty=jy;function Dy(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Ey=Dy;function ky(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;var i=Array(o);while(++r<o)i[r]=e[r+t];return i}var Ly=ky;function Yy(e,t){return t.length<2?e:zm(e,Ly(t,0,-1))}var _y=Yy;function Ay(e,t){return t=Rm(t,e),e=_y(e,t),null==e||delete e[Xm(Ey(t))]}var Py=Ay;function Fy(e){return Ml(e)?void 0:e}var Iy=Fy,By=kn?kn.isConcatSpreadable:void 0;function Zy(e){return Io(e)||Po(e)||!!(By&&e&&e[By])}var Ry=Zy;function Hy(e,t,n,r,o){var i=-1,a=e.length;n||(n=Ry),o||(o=[]);while(++i<a){var u=e[i];t>0&&n(u)?t>1?Hy(u,t-1,n,r,o):ba(o,u):r||(o[o.length]=u)}return o}var Vy=Hy;function Xy(e){var t=null==e?0:e.length;return t?Vy(e,1):[]}var Jy=Xy;function zy(e){return py(ny(e,void 0,Jy),e+"")}var Qy=zy,Wy=1,Ky=2,Uy=4,Gy=Qy((function(e,t){var n={};if(null==e)return n;var r=!1;t=Lm(t,(function(t){return t=Rm(t,e),r||(r=t.length>1),t})),No(e,ka(e),n),r&&(n=Yc(n,Wy|Ky|Uy,Iy));var o=t.length;while(o--)Py(n,t[o]);return n})),$y=Gy;function qy(e){var t=!1;return e&&e.length&&e.every((function(e){return!e.required||(t=!0,!1)})),t}function eO(e){return void 0===e||null===e?[]:Array.isArray(e)?e:[e]}function tO(e,t,n){var r=e;t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,"");for(var o=t.split("."),i=0,a=o.length;i<a-1;++i){if(!r&&!n)break;var u=o[i];if(!(u in r)){if(n)throw new Error("please transfer a valid name path to validate!");break}r=r[u]}return{o:r,k:o[i],v:r?r[o[i]]:null,isValid:r&&o[i]in r}}function nO(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object(i["ref"])({}),n=arguments.length>2?arguments[2]:void 0,r=Fc(Object(i["unref"])(e)),o=Object(i["reactive"])({}),a=Object(i["shallowRef"])([]),u=function(n){Qc(Object(i["unref"])(e),Fe(Fe({},Fc(r)),n)),Object(i["nextTick"])((function(){Object.keys(o).forEach((function(e){o[e]={autoLink:!1,required:qy(Object(i["unref"])(t)[e])}}))}))},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t.length?e.filter((function(e){var n=eO(e.trigger||"change");return Cy(n,t).length})):e},l=null,s=function(n){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0,a=[],u={},s=function(){var l=n[f],s=tO(Object(i["unref"])(e),l,o);if(!s.isValid)return"continue";u[l]=s.v;var p=c(Object(i["unref"])(t)[l],eO(r&&r.trigger));p.length&&a.push(d(l,s.v,p,r||{}).then((function(){return{name:l,errors:[],warnings:[]}})).catch((function(e){var t=[],n=[];return e.forEach((function(e){var r=e.rule.warningOnly,o=e.errors;r?n.push.apply(n,Ae(o)):t.push.apply(t,Ae(o))})),t.length?Promise.reject({name:l,errors:t,warnings:n}):{name:l,errors:t,warnings:n}})))},f=0;f<n.length;f++)s();var p=wb(a);l=p;var v=p.then((function(){return l===p?Promise.resolve(u):Promise.reject([])})).catch((function(e){var t=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:u,errorFields:t,outOfDate:l!==p})}));return v.catch((function(e){return e})),v},d=function(e,t,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},u=eh([e],t,r,Fe({validateMessages:Kv},a),!!a.validateFirst);return o[e]?(o[e].validateStatus="validating",u.catch((function(e){return e})).then((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if("validating"===o[e].validateStatus){var r,a=t.filter((function(e){return e&&e.errors.length}));o[e].validateStatus=a.length?"error":"success",o[e].help=a.length?a.map((function(e){return e.errors})):null,null===n||void 0===n||null===(r=n.onValidate)||void 0===r||r.call(n,e,!a.length,a.length?Object(i["toRaw"])(o[e].help[0]):null)}})),u):u.catch((function(e){return e}))},f=function(e,t){var n=[],r=!0;e?n=Array.isArray(e)?e:[e]:(r=!1,n=a.value);var o=s(n,t||{},r);return o.catch((function(e){return e})),o},p=function(e){var t=[];t=e?Array.isArray(e)?e:[e]:a.value,t.forEach((function(e){o[e]&&Qc(o[e],{validateStatus:"",help:null})}))},v=function(e){for(var t={autoLink:!1},n=[],r=Array.isArray(e)?e:[e],o=0;o<r.length;o++){var i=r[o];"error"===(null===i||void 0===i?void 0:i.validateStatus)&&(t.validateStatus="error",i.help&&n.push(i.help)),t.required=t.required||(null===i||void 0===i?void 0:i.required)}return t.help=n,t},h=r,m=!0,g=function(e){var t=[];a.value.forEach((function(r){var o=tO(e,r,!1),i=tO(h,r,!1),a=m&&(null===n||void 0===n?void 0:n.immediate)&&o.isValid;!a&&Nb(o.v,i.v)||t.push(r)})),f(t,{trigger:"change"}),m=!1,h=Fc(Object(i["toRaw"])(e))},b=null===n||void 0===n?void 0:n.debounce,y=!0;return Object(i["watch"])(t,(function(){a.value=t?Object.keys(Object(i["unref"])(t)):[],!y&&n&&n.validateOnRuleChange&&f(),y=!1}),{deep:!0,immediate:!0}),Object(i["watch"])(a,(function(){var e={};for(var n in a.value.forEach((function(n){e[n]=Qc({},o[n],{autoLink:!1,required:qy(Object(i["unref"])(t)[n])}),delete o[n]})),o)Object.prototype.hasOwnProperty.call(o,n)&&delete o[n];Qc(o,e)}),{immediate:!0}),Object(i["watch"])(e,b&&b.wait?Ty(g,b.wait,$y(b,["wait"])):g,{immediate:n&&!!n.immediate,deep:!0}),{modelRef:e,rulesRef:t,initialModel:r,validateInfos:o,resetFields:u,validate:f,validateField:d,mergeValidateInfo:v,clearValidate:p}}var rO=nO,oO=function(){return{layout:Et.oneOf(Ic("horizontal","inline","vertical")),labelCol:{type:Object},wrapperCol:{type:Object},colon:{type:Boolean,default:void 0},labelAlign:Et.oneOf(Ic("left","right")),labelWrap:{type:Boolean,default:void 0},prefixCls:String,requiredMark:{type:[String,Boolean],default:void 0},hideRequiredMark:{type:Boolean,default:void 0},model:Et.object,rules:{type:Object},validateMessages:{type:Object,default:void 0},validateOnRuleChange:{type:Boolean,default:void 0},scrollToFirstError:{type:[Boolean,Object]},onSubmit:Function,name:String,validateTrigger:{type:[String,Array]},size:{type:String},onValuesChange:{type:Function},onFieldsChange:{type:Function},onFinish:{type:Function},onFinishFailed:{type:Function},onValidate:{type:Function}}};function iO(e,t){return Nb(_v(e),_v(t))}var aO=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"AForm",inheritAttrs:!1,props:Pb(oO(),{layout:"horizontal",hideRequiredMark:!1,colon:!0}),Item:Cb,useForm:rO,setup:function(e,t){var n=t.emit,r=t.slots,o=t.expose,a=t.attrs,c=Ib(e),l=wv("form",e),d=l.prefixCls,f=l.direction,p=l.form,v=Object(i["computed"])((function(){return""===e.requiredMark||e.requiredMark})),h=Object(i["computed"])((function(){var t;return void 0!==v.value?v.value:p&&void 0!==(null===(t=p.value)||void 0===t?void 0:t.requiredMark)?p.value.requiredMark:!e.hideRequiredMark})),m=Object(i["computed"])((function(){var t,n;return null!==(t=e.colon)&&void 0!==t?t:null===(n=p.value)||void 0===n?void 0:n.colon})),g=cv(),b=g.validateMessages,y=Object(i["computed"])((function(){return Fe(Fe(Fe({},Kv),b.value),e.validateMessages)})),O=Object(i["computed"])((function(){var t;return Qt(d.value,(t={},s(t,"".concat(d.value,"-").concat(e.layout),!0),s(t,"".concat(d.value,"-hide-required-mark"),!1===h.value),s(t,"".concat(d.value,"-rtl"),"rtl"===f.value),s(t,"".concat(d.value,"-").concat(c.value),c.value),t))})),C=Object(i["ref"])(),w={},S=function(e,t){w[e]=t},N=function(e){delete w[e]},M=function(e){var t=!!e,n=t?_v(e).map(Bv):[];return t?Object.values(w).filter((function(e){return n.findIndex((function(t){return iO(t,e.fieldName.value)}))>-1})):Object.values(w)},x=function(t){e.model?M(t).forEach((function(e){e.resetField()})):tn(!1,"Form","model is required for resetFields to work.")},j=function(e){M(e).forEach((function(e){e.clearValidate()}))},T=function(t){var r=e.scrollToFirstError;if(n("finishFailed",t),r&&t.errorFields.length){var o={};"object"===u(r)&&(o=r),E(t.errorFields[0].name,o)}},D=function(){return Y.apply(void 0,arguments)},E=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M(e?[e]:void 0);if(n.length){var r=n[0].fieldId.value,o=r?document.getElementById(r):null;o&&_b(o,Fe({scrollMode:"if-needed",block:"nearest"},t))}},k=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(!0===t){var n=[];return Object.values(w).forEach((function(e){var t=e.namePath;n.push(t.value)})),zv(e.model,n)}return zv(e.model,t)},L=function(t,n){if(tn(!(t instanceof Function),"Form","validateFields/validateField/validate not support callback, please use promise instead"),!e.model)return tn(!1,"Form","model is required for validateFields to work."),Promise.reject("Form `model` is required for validateFields to work.");var r=!!t,o=r?_v(t).map(Bv):[],i=[];Object.values(w).forEach((function(e){var t;if(r||o.push(e.namePath.value),null!==(t=e.rules)&&void 0!==t&&t.value.length){var a=e.namePath.value;if(!r||Hv(o,a)){var u=e.validateRules(Fe({validateMessages:y.value},n));i.push(u.then((function(){return{name:a,errors:[],warnings:[]}})).catch((function(e){var t=[],n=[];return e.forEach((function(e){var r=e.rule.warningOnly,o=e.errors;r?n.push.apply(n,Ae(o)):t.push.apply(t,Ae(o))})),t.length?Promise.reject({name:a,errors:t,warnings:n}):{name:a,errors:t,warnings:n}})))}}}));var a=wb(i);C.value=a;var u=a.then((function(){return C.value===a?Promise.resolve(k(o)):Promise.reject([])})).catch((function(e){var t=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:k(o),errorFields:t,outOfDate:C.value!==a})}));return u.catch((function(e){return e})),u},Y=function(){return L.apply(void 0,arguments)},_=function(t){if(t.preventDefault(),t.stopPropagation(),n("submit",t),e.model){var r=L();r.then((function(e){n("finish",e)})).catch((function(e){T(e)}))}};return o({resetFields:x,clearValidate:j,validateFields:L,getFieldsValue:k,validate:D,scrollToField:E}),Xg({model:Object(i["computed"])((function(){return e.model})),name:Object(i["computed"])((function(){return e.name})),labelAlign:Object(i["computed"])((function(){return e.labelAlign})),labelCol:Object(i["computed"])((function(){return e.labelCol})),labelWrap:Object(i["computed"])((function(){return e.labelWrap})),wrapperCol:Object(i["computed"])((function(){return e.wrapperCol})),vertical:Object(i["computed"])((function(){return"vertical"===e.layout})),colon:m,requiredMark:h,validateTrigger:Object(i["computed"])((function(){return e.validateTrigger})),rules:Object(i["computed"])((function(){return e.rules})),addField:S,removeField:N,onValidate:function(e,t,r){n("validate",e,t,r)},validateMessages:y}),Object(i["watch"])((function(){return e.rules}),(function(){e.validateOnRuleChange&&L()})),function(){var e;return Object(i["createVNode"])("form",Fe(Fe({},a),{},{onSubmit:_,class:[O.value,a.class]}),[null===(e=r.default)||void 0===e?void 0:e.call(r)])}}}),uO=aO;uO.useInjectFormItemContext=vb,uO.ItemRest=hb,uO.install=function(e){return e.component(uO.name,uO),e.component(uO.Item.name,uO.Item),e.component(hb.name,hb),e};var cO=uO;function lO(e){e.target.composing=!0}function sO(e){e.target.composing&&(e.target.composing=!1,dO(e.target,"input"))}function dO(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function fO(e,t,n,r){e.addEventListener(t,n,r)}var pO={created:function(e,t){t.modifiers&&t.modifiers.lazy||(fO(e,"compositionstart",lO),fO(e,"compositionend",sO),fO(e,"change",sO))}},vO=pO;function hO(e,t){for(var n=Qc({},e),r=0;r<t.length;r+=1){var o=t[r];delete n[o]}return n}var mO=hO,gO=(Symbol(),function(){return{id:String,prefixCls:String,inputPrefixCls:String,defaultValue:Et.oneOfType([Et.string,Et.number]),value:{type:[String,Number,Symbol],default:void 0},placeholder:{type:[String,Number]},autocomplete:String,type:{type:String,default:"text"},name:String,size:{type:String},disabled:{type:Boolean,default:void 0},readonly:{type:Boolean,default:void 0},addonBefore:Et.any,addonAfter:Et.any,prefix:Et.any,suffix:Et.any,autofocus:{type:Boolean,default:void 0},allowClear:{type:Boolean,default:void 0},lazy:{type:Boolean,default:!0},maxlength:Number,loading:{type:Boolean,default:void 0},bordered:{type:Boolean,default:void 0},showCount:{type:[Boolean,Object]},htmlSize:Number,onPressEnter:Function,onKeydown:Function,onKeyup:Function,onFocus:Function,onBlur:Function,onChange:Function,onInput:Function,"onUpdate:value":Function,valueModifiers:Object,hidden:Boolean}}),bO=gO,yO=function(){return Fe(Fe({},mO(gO(),["prefix","addonBefore","addonAfter","suffix"])),{},{rows:Number,autosize:{type:[Boolean,Object],default:void 0},autoSize:{type:[Boolean,Object],default:void 0},onResize:{type:Function},onCompositionstart:Function,onCompositionend:Function,valueModifiers:Object})};function OO(e,t,n,r,o){var i;return Qt(e,(i={},s(i,"".concat(e,"-sm"),"small"===n),s(i,"".concat(e,"-lg"),"large"===n),s(i,"".concat(e,"-disabled"),r),s(i,"".concat(e,"-rtl"),"rtl"===o),s(i,"".concat(e,"-borderless"),!t),i))}var CO=function(e){return void 0!==e&&null!==e&&(!Array.isArray(e)||Bl(e).length)};function wO(e){return CO(e.prefix)||CO(e.suffix)||CO(e.allowClear)}function SO(e){return CO(e.addonBefore)||CO(e.addonAfter)}function NO(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=e;if(Array.isArray(e)&&(o=Bl(e)[0]),!o)return null;var a=Object(i["cloneVNode"])(o,t,r);return a.props=n?Fe(Fe({},a.props),t):a.props,tn("object"!==u(a.props.class),"class must be string"),a}function MO(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return e.map((function(e){return NO(e,t,n)}))}var xO=["text","input"],jO=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ClearableLabeledInput",inheritAttrs:!1,props:{prefixCls:String,inputType:Et.oneOf(Ic("text","input")),value:Et.any,defaultValue:Et.any,allowClear:{type:Boolean,default:void 0},element:Et.any,handleReset:Function,disabled:{type:Boolean,default:void 0},direction:{type:String},size:{type:String},suffix:Et.any,prefix:Et.any,addonBefore:Et.any,addonAfter:Et.any,readonly:{type:Boolean,default:void 0},focused:{type:Boolean,default:void 0},bordered:{type:Boolean,default:!0},triggerFocus:{type:Function},hidden:Boolean},setup:function(e,t){var n=t.slots,r=t.attrs,o=Object(i["ref"])(),a=function(t){var n;if(null!==(n=o.value)&&void 0!==n&&n.contains(t.target)){var r=e.triggerFocus;null===r||void 0===r||r()}},u=function(t){var r,o=e.allowClear,a=e.value,u=e.disabled,c=e.readonly,l=e.handleReset,d=e.suffix,f=void 0===d?n.suffix:d;if(!o)return null;var p=!u&&!c&&a,v="".concat(t,"-clear-icon");return Object(i["createVNode"])(gf,{onClick:l,onMousedown:function(e){return e.preventDefault()},class:Qt((r={},s(r,"".concat(v,"-hidden"),!p),s(r,"".concat(v,"-has-suffix"),!!f),r),v),role:"button"},null)},c=function(t){var r,o=e.suffix,a=void 0===o?null===(r=n.suffix)||void 0===r?void 0:r.call(n):o,c=e.allowClear;return a||c?Object(i["createVNode"])("span",{class:"".concat(t,"-suffix")},[u(t),a]):null},l=function(t,u){var l,d,f,p=e.focused,v=e.value,h=e.prefix,m=void 0===h?null===(l=n.prefix)||void 0===l?void 0:l.call(n):h,g=e.size,b=e.suffix,y=void 0===b?null===(d=n.suffix)||void 0===d?void 0:d.call(n):b,O=e.disabled,C=e.allowClear,w=e.direction,S=e.readonly,N=e.bordered,M=e.hidden,x=e.addonAfter,j=void 0===x?n.addonAfter:x,T=e.addonBefore,D=void 0===T?n.addonBefore:T,E=c(t);if(!wO({prefix:m,suffix:y,allowClear:C}))return NO(u,{value:v});var k=m?Object(i["createVNode"])("span",{class:"".concat(t,"-prefix")},[m]):null,L=Qt("".concat(t,"-affix-wrapper"),(f={},s(f,"".concat(t,"-affix-wrapper-focused"),p),s(f,"".concat(t,"-affix-wrapper-disabled"),O),s(f,"".concat(t,"-affix-wrapper-sm"),"small"===g),s(f,"".concat(t,"-affix-wrapper-lg"),"large"===g),s(f,"".concat(t,"-affix-wrapper-input-with-clear-btn"),y&&C&&v),s(f,"".concat(t,"-affix-wrapper-rtl"),"rtl"===w),s(f,"".concat(t,"-affix-wrapper-readonly"),S),s(f,"".concat(t,"-affix-wrapper-borderless"),!N),s(f,"".concat(r.class),!SO({addonAfter:j,addonBefore:D})&&r.class),f));return Object(i["createVNode"])("span",{ref:o,class:L,style:r.style,onMouseup:a,hidden:M},[k,NO(u,{style:null,value:v,class:OO(t,N,g,O)}),E])},d=function(t,o){var a,u,c,l=e.addonBefore,d=void 0===l?null===(a=n.addonBefore)||void 0===a?void 0:a.call(n):l,f=e.addonAfter,p=void 0===f?null===(u=n.addonAfter)||void 0===u?void 0:u.call(n):f,v=e.size,h=e.direction,m=e.hidden,g=e.disabled;if(!SO({addonBefore:d,addonAfter:p}))return o;var b="".concat(t,"-group"),y="".concat(b,"-addon"),O=Qt(y,s({},"".concat(y,"-disabled"),g)),C=d?Object(i["createVNode"])("span",{class:O},[d]):null,w=p?Object(i["createVNode"])("span",{class:O},[p]):null,S=Qt("".concat(t,"-wrapper"),b,s({},"".concat(b,"-rtl"),"rtl"===h)),N=Qt("".concat(t,"-group-wrapper"),(c={},s(c,"".concat(t,"-group-wrapper-sm"),"small"===v),s(c,"".concat(t,"-group-wrapper-lg"),"large"===v),s(c,"".concat(t,"-group-wrapper-rtl"),"rtl"===h),c),r.class);return Object(i["createVNode"])("span",{class:N,style:r.style,hidden:m},[Object(i["createVNode"])("span",{class:S},[C,NO(o,{style:null}),w])])},f=function(t,o){var a,c=e.value,l=e.allowClear,d=e.direction,f=e.bordered,p=e.hidden,v=e.addonAfter,h=void 0===v?n.addonAfter:v,m=e.addonBefore,g=void 0===m?n.addonBefore:m;if(!l)return NO(o,{value:c});var b=Qt("".concat(t,"-affix-wrapper"),"".concat(t,"-affix-wrapper-textarea-with-clear-btn"),(a={},s(a,"".concat(t,"-affix-wrapper-rtl"),"rtl"===d),s(a,"".concat(t,"-affix-wrapper-borderless"),!f),s(a,"".concat(r.class),!SO({addonAfter:h,addonBefore:g})&&r.class),a));return Object(i["createVNode"])("span",{class:b,style:r.style,hidden:p},[NO(o,{style:null,value:c}),u(t)])};return function(){var t,r=e.prefixCls,o=e.inputType,i=e.element,a=void 0===i?null===(t=n.element)||void 0===t?void 0:t.call(n):i;return o===xO[0]?f(r,a):d(r,l(r,a))}}});function TO(e){return"undefined"===typeof e||null===e?"":String(e)}function DO(e,t,n,r){if(n){var o=t;if("click"===t.type){Object.defineProperty(o,"target",{writable:!0}),Object.defineProperty(o,"currentTarget",{writable:!0});var i=e.cloneNode(!0);return o.target=i,o.currentTarget=i,i.value="",void n(o)}if(void 0!==r)return Object.defineProperty(o,"target",{writable:!0}),Object.defineProperty(o,"currentTarget",{writable:!0}),o.target=e,o.currentTarget=e,e.value=r,void n(o);n(o)}}function EO(e,t){if(e){e.focus(t);var n=t||{},r=n.cursor;if(r){var o=e.value.length;switch(r){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(o,o);break;default:e.setSelectionRange(0,o)}}}}var kO=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"AInput",inheritAttrs:!1,props:bO(),setup:function(e,t){var n,r=t.slots,o=t.attrs,a=t.expose,c=t.emit,l=Object(i["ref"])(),d=Object(i["ref"])(),f=vb(),p=wv("input",e),v=p.direction,h=p.prefixCls,m=p.size,g=p.autocomplete,b=Object(i["ref"])(void 0===e.value?e.defaultValue:e.value),y=Object(i["ref"])(!1);Object(i["watch"])((function(){return e.value}),(function(){b.value=e.value})),Object(i["watch"])((function(){return e.disabled}),(function(){void 0!==e.value&&(b.value=e.value),e.disabled&&(y.value=!1)}));var O=function(){n=setTimeout((function(){var e;"password"===(null===(e=l.value)||void 0===e?void 0:e.getAttribute("type"))&&l.value.hasAttribute("value")&&l.value.removeAttribute("value")}))},C=function(e){EO(l.value,e)},w=function(){var e;null===(e=l.value)||void 0===e||e.blur()},S=function(e,t,n){var r;null===(r=l.value)||void 0===r||r.setSelectionRange(e,t,n)},N=function(){var e;null===(e=l.value)||void 0===e||e.select()};a({focus:C,blur:w,input:l,stateValue:b,setSelectionRange:S,select:N});var M=function(t){var n=e.onFocus;y.value=!0,null===n||void 0===n||n(t),Object(i["nextTick"])((function(){O()}))},x=function(t){var n=e.onBlur;y.value=!1,null===n||void 0===n||n(t),f.onFieldBlur(),Object(i["nextTick"])((function(){O()}))},j=function(e){c("update:value",e.target.value),c("change",e),c("input",e),f.onFieldChange()},T=Object(i["getCurrentInstance"])(),D=function(t,n){b.value!==t&&(void 0===e.value?b.value=t:Object(i["nextTick"])((function(){l.value.value!==b.value&&T.update()})),Object(i["nextTick"])((function(){n&&n()})))},E=function(e){DO(l.value,e,j),D("",(function(){C()}))},k=function(t){var n=t.target,r=n.value,o=n.composing;if(!((t.isComposing||o)&&e.lazy||b.value===r)){var i=t.target.value;DO(l.value,t,j),D(i,(function(){O()}))}},L=function(e){13===e.keyCode&&c("pressEnter",e),c("keydown",e)};Object(i["onMounted"])((function(){O()})),Object(i["onBeforeUnmount"])((function(){clearTimeout(n)}));var Y=function(){var t,n=e.addonBefore,a=void 0===n?r.addonBefore:n,u=e.addonAfter,c=void 0===u?r.addonAfter:u,d=e.disabled,p=e.bordered,b=void 0===p||p,y=e.valueModifiers,O=void 0===y?{}:y,C=e.htmlSize,w=mO(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","bordered","htmlSize","lazy","showCount","valueModifiers"]),S=Fe(Fe(Fe({},w),o),{},{autocomplete:g.value,onChange:k,onInput:k,onFocus:M,onBlur:x,onKeydown:L,class:Qt(OO(h.value,b,m.value,d,v.value),s({},o.class,o.class&&!a&&!c)),ref:l,key:"ant-input",size:C,id:null!==(t=w.id)&&void 0!==t?t:f.id.value});O.lazy&&delete S.onInput,S.autofocus||delete S.autofocus;var N=Object(i["createVNode"])("input",mO(S,["size"]),null);return Object(i["withDirectives"])(N,[[vO]])},_=function(){var t,n=b.value,o=e.maxlength,a=e.suffix,c=void 0===a?null===(t=r.suffix)||void 0===t?void 0:t.call(r):a,l=e.showCount,d=Number(o)>0;if(c||l){var f=Ae(TO(n)).length,p=null;return p="object"===u(l)?l.formatter({count:f,maxlength:o}):"".concat(f).concat(d?" / ".concat(o):""),Object(i["createVNode"])(i["Fragment"],null,[!!l&&Object(i["createVNode"])("span",{class:Qt("".concat(h.value,"-show-count-suffix"),s({},"".concat(h.value,"-show-count-has-suffix"),!!c))},[p]),c])}return null};return function(){var t=Fe(Fe(Fe({},o),e),{},{prefixCls:h.value,inputType:"input",value:TO(b.value),handleReset:E,focused:y.value&&!e.disabled});return Object(i["createVNode"])(jO,Fe(Fe({},mO(t,["element","valueModifiers","suffix","showCount"])),{},{ref:d}),Fe(Fe({},r),{},{element:Y,suffix:_}))}}}),LO=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"AInputGroup",props:{prefixCls:String,size:{type:String},compact:{type:Boolean,default:void 0},onMouseenter:{type:Function},onMouseleave:{type:Function},onFocus:{type:Function},onBlur:{type:Function}},setup:function(e,t){var n=t.slots,r=wv("input-group",e),o=r.prefixCls,a=r.direction,u=Object(i["computed"])((function(){var t,n=o.value;return t={},s(t,"".concat(n),!0),s(t,"".concat(n,"-lg"),"large"===e.size),s(t,"".concat(n,"-sm"),"small"===e.size),s(t,"".concat(n,"-compact"),e.compact),s(t,"".concat(n,"-rtl"),"rtl"===a.value),t}));return function(){var t;return Object(i["createVNode"])("span",{class:u.value,onMouseenter:e.onMouseenter,onMouseleave:e.onMouseleave,onFocus:e.onFocus,onBlur:e.onBlur},[null===(t=n.default)||void 0===t?void 0:t.call(n)])}}}),YO={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},_O=YO;function AO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){PO(e,t,n[t])}))}return e}function PO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var FO=function(e,t){var n=AO({},e,t.attrs);return Object(i["createVNode"])(ef,AO({},n,{icon:_O}),null)};FO.displayName="SearchOutlined",FO.inheritAttrs=!1;var IO=FO,BO={transitionstart:{transition:"transitionstart",WebkitTransition:"webkitTransitionStart",MozTransition:"mozTransitionStart",OTransition:"oTransitionStart",msTransition:"MSTransitionStart"},animationstart:{animation:"animationstart",WebkitAnimation:"webkitAnimationStart",MozAnimation:"mozAnimationStart",OAnimation:"oAnimationStart",msAnimation:"MSAnimationStart"}},ZO={transitionend:{transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"mozTransitionEnd",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd"},animationend:{animation:"animationend",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"mozAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd"}},RO=[],HO=[];function VO(){var e=document.createElement("div"),t=e.style;function n(e,n){for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];for(var i in o)if(i in t){n.push(o[i]);break}}}"AnimationEvent"in window||(delete BO.animationstart.animation,delete ZO.animationend.animation),"TransitionEvent"in window||(delete BO.transitionstart.transition,delete ZO.transitionend.transition),n(BO,RO),n(ZO,HO)}function XO(e,t,n){e.addEventListener(t,n,!1)}function JO(e,t,n){e.removeEventListener(t,n,!1)}"undefined"!==typeof window&&"undefined"!==typeof document&&VO();var zO={startEvents:RO,addStartEventListener:function(e,t){0!==RO.length?RO.forEach((function(n){XO(e,n,t)})):setTimeout(t,0)},removeStartEventListener:function(e,t){0!==RO.length&&RO.forEach((function(n){JO(e,n,t)}))},endEvents:HO,addEndEventListener:function(e,t){0!==HO.length?HO.forEach((function(n){XO(e,n,t)})):setTimeout(t,0)},removeEndEventListener:function(e,t){0!==HO.length&&HO.forEach((function(n){JO(e,n,t)}))}},QO=zO,WO=function(e){return setTimeout(e,16)},KO=function(e){return clearTimeout(e)};"undefined"!==typeof window&&"requestAnimationFrame"in window&&(WO=function(e){return window.requestAnimationFrame(e)},KO=function(e){return window.cancelAnimationFrame(e)});var UO,GO=0,$O=new Map;function qO(e){$O.delete(e)}function eC(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;GO+=1;var n=GO;function r(t){if(0===t)qO(n),e();else{var o=WO((function(){r(t-1)}));$O.set(n,o)}}return r(t),n}function tC(e){return!e||null===e.offsetParent}function nC(e){var t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\.\d]*)?\)/);return!(t&&t[1]&&t[2]&&t[3])||!(t[1]===t[2]&&t[2]===t[3])}eC.cancel=function(e){var t=$O.get(e);return qO(t),KO(t)};var rC=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"Wave",props:{insertExtraNode:Boolean,disabled:Boolean},setup:function(e,t){var n=t.slots,r=t.expose,o=Object(i["getCurrentInstance"])(),a=wv("",e),u=a.csp,c=a.prefixCls;r({csp:u});var l=null,s=null,d=null,f=!1,p=null,v=!1,h=function(e){if(!v){var t=Yl(o);e&&e.target===t&&(f||y(t))}},m=function(e){e&&"fadeEffect"===e.animationName&&y(e.target)},g=function(){var t=e.insertExtraNode;return"".concat(c.value,t?"-click-animating":"-click-animating-without-extra-node")},b=function(t,n){var r=e.insertExtraNode,o=e.disabled;if(!(o||!t||tC(t)||t.className.indexOf("-leave")>=0)){p=document.createElement("div"),p.className="".concat(c.value,"-click-animating-node");var i,a=g();if(t.removeAttribute(a),t.setAttribute(a,"true"),UO=UO||document.createElement("style"),n&&"#ffffff"!==n&&"rgb(255, 255, 255)"!==n&&nC(n)&&!/rgba\(\d*, \d*, \d*, 0\)/.test(n)&&"transparent"!==n)null!==(i=u.value)&&void 0!==i&&i.nonce&&(UO.nonce=u.value.nonce),p.style.borderColor=n,UO.innerHTML="\n [".concat(c.value,"-click-animating-without-extra-node='true']::after, .").concat(c.value,"-click-animating-node {\n --antd-wave-shadow-color: ").concat(n,";\n }"),document.body.contains(UO)||document.body.appendChild(UO);r&&t.appendChild(p),QO.addStartEventListener(t,h),QO.addEndEventListener(t,m)}},y=function(t){if(t&&t!==p&&t instanceof Element){var n=e.insertExtraNode,r=g();t.setAttribute(r,"false"),UO&&(UO.innerHTML=""),n&&p&&t.contains(p)&&t.removeChild(p),QO.removeStartEventListener(t,h),QO.removeEndEventListener(t,m)}},O=function(e){if(e&&e.getAttribute&&!e.getAttribute("disabled")&&!(e.className.indexOf("disabled")>=0)){var t=function(t){if("INPUT"!==t.target.tagName&&!tC(t.target)){y(e);var n=getComputedStyle(e).getPropertyValue("border-top-color")||getComputedStyle(e).getPropertyValue("border-color")||getComputedStyle(e).getPropertyValue("background-color");s=setTimeout((function(){return b(e,n)}),0),eC.cancel(d),f=!0,d=eC((function(){f=!1}),10)}};return e.addEventListener("click",t,!0),{cancel:function(){e.removeEventListener("click",t,!0)}}}};return Object(i["onMounted"])((function(){Object(i["nextTick"])((function(){var e=Yl(o);1===e.nodeType&&(l=O(e))}))})),Object(i["onBeforeUnmount"])((function(){l&&l.cancel(),clearTimeout(s),v=!0})),function(){var e;return null===(e=n.default)||void 0===e?void 0:e.call(n)[0]}}});function oC(e){return"danger"===e?{danger:!0}:{type:e}}var iC=function(){return{prefixCls:String,type:String,htmlType:{type:String,default:"button"},shape:{type:String},size:{type:String},loading:{type:[Boolean,Object],default:function(){return!1}},disabled:{type:Boolean,default:void 0},ghost:{type:Boolean,default:void 0},block:{type:Boolean,default:void 0},danger:{type:Boolean,default:void 0},icon:Et.any,href:String,target:String,title:String,onClick:{type:Function},onMousedown:{type:Function}}},aC=iC,uC=function(e){e&&(e.style.width="0px",e.style.opacity="0",e.style.transform="scale(0)")},cC=function(e){Object(i["nextTick"])((function(){e&&(e.style.width="".concat(e.scrollWidth,"px"),e.style.opacity="1",e.style.transform="scale(1)")}))},lC=function(e){e&&e.style&&(e.style.width=null,e.style.opacity=null,e.style.transform=null)},sC=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"LoadingIcon",props:{prefixCls:String,loading:[Boolean,Object],existIcon:Boolean},setup:function(e){return function(){var t=e.existIcon,n=e.prefixCls,r=e.loading;if(t)return Object(i["createVNode"])("span",{class:"".concat(n,"-loading-icon")},[Object(i["createVNode"])(of,null,null)]);var o=!!r;return Object(i["createVNode"])(rs,{name:"".concat(n,"-loading-icon-motion"),onBeforeEnter:uC,onEnter:cC,onAfterEnter:lC,onBeforeLeave:cC,onLeave:function(e){setTimeout((function(){uC(e)}))},onAfterLeave:lC},{default:function(){return[o?Object(i["createVNode"])("span",{class:"".concat(n,"-loading-icon")},[Object(i["createVNode"])(of,null,null)]):null]}})}}}),dC=/^[\u4e00-\u9fa5]{2}$/,fC=dC.test.bind(dC);function pC(e){return"text"===e||"link"===e}var vC=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"AButton",inheritAttrs:!1,__ANT_BUTTON:!0,props:Pb(aC(),{type:"default"}),slots:["icon"],setup:function(e,t){var n=t.slots,r=t.attrs,o=t.emit,a=t.expose,c=wv("btn",e),l=c.prefixCls,d=c.autoInsertSpaceInButton,f=c.direction,p=c.size,v=Object(i["ref"])(null),h=Object(i["ref"])(void 0),m=!1,g=Object(i["ref"])(!1),b=Object(i["ref"])(!1),y=Object(i["computed"])((function(){return!1!==d.value})),O=Object(i["computed"])((function(){return"object"===u(e.loading)&&e.loading.delay?e.loading.delay||!0:!!e.loading}));Object(i["watch"])(O,(function(e){clearTimeout(h.value),"number"===typeof O.value?h.value=setTimeout((function(){g.value=e}),O.value):g.value=e}),{immediate:!0});var C=Object(i["computed"])((function(){var t,n=e.type,r=e.shape,o=void 0===r?"default":r,i=e.ghost,a=e.block,u=e.danger,c=l.value,d={large:"lg",small:"sm",middle:void 0},v=p.value,h=v&&d[v]||"";return t={},s(t,"".concat(c),!0),s(t,"".concat(c,"-").concat(n),n),s(t,"".concat(c,"-").concat(o),"default"!==o&&o),s(t,"".concat(c,"-").concat(h),h),s(t,"".concat(c,"-loading"),g.value),s(t,"".concat(c,"-background-ghost"),i&&!pC(n)),s(t,"".concat(c,"-two-chinese-chars"),b.value&&y.value),s(t,"".concat(c,"-block"),a),s(t,"".concat(c,"-dangerous"),!!u),s(t,"".concat(c,"-rtl"),"rtl"===f.value),t})),w=function(){var e=v.value;if(e&&!1!==d.value){var t=e.textContent;m&&fC(t)?b.value||(b.value=!0):b.value&&(b.value=!1)}},S=function(t){g.value||e.disabled?t.preventDefault():o("click",t)},N=function(e,t){var n=t?" ":"";if(e.type===i["Text"]){var r=e.children.trim();return fC(r)&&(r=r.split("").join(n)),Object(i["createVNode"])("span",null,[r])}return e};Object(i["watchEffect"])((function(){rv(!(e.ghost&&pC(e.type)),"Button","`link` or `text` button can't be a `ghost` button.")})),Object(i["onMounted"])(w),Object(i["onUpdated"])(w),Object(i["onBeforeUnmount"])((function(){h.value&&clearTimeout(h.value)}));var M=function(){var e;null===(e=v.value)||void 0===e||e.focus()},x=function(){var e;null===(e=v.value)||void 0===e||e.blur()};return a({focus:M,blur:x}),function(){var t,o,a=e.icon,u=void 0===a?null===(t=n.icon)||void 0===t?void 0:t.call(n):a,c=kl(null===(o=n.default)||void 0===o?void 0:o.call(n));m=1===c.length&&!u&&!pC(e.type);var d=e.type,f=e.htmlType,p=e.disabled,h=e.href,b=e.title,O=e.target,w=e.onMousedown,M=g.value?"loading":u,x=Fe(Fe({},r),{},{title:b,disabled:p,class:[C.value,r.class,s({},"".concat(l.value,"-icon-only"),0===c.length&&!!M)],onClick:S,onMousedown:w});p||delete x.disabled;var j=u&&!g.value?u:Object(i["createVNode"])(sC,{existIcon:!!u,prefixCls:l.value,loading:!!g.value},null),T=c.map((function(e){return N(e,m&&y.value)}));if(void 0!==h)return Object(i["createVNode"])("a",Fe(Fe({},x),{},{href:h,target:O,ref:v}),[j,T]);var D=Object(i["createVNode"])("button",Fe(Fe({},x),{},{ref:v,type:f}),[j,T]);return pC(d)?D:Object(i["createVNode"])(rC,{ref:"wave",disabled:!!g.value},{default:function(){return[D]}})}}});function hC(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,l(r.key),r)}}function mC(e,t,n){return t&&hC(e.prototype,t),n&&hC(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function gC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var bC=mC((function e(t){gC(this,e),this.error=new Error("unreachable case: ".concat(JSON.stringify(t)))})),yC=function(){return{prefixCls:String,size:{type:String}}},OC=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"AButtonGroup",props:yC(),setup:function(e,t){var n=t.slots,r=wv("btn-group",e),o=r.prefixCls,a=r.direction,u=Object(i["computed"])((function(){var t,n=e.size,r="";switch(n){case"large":r="lg";break;case"small":r="sm";break;case"middle":case void 0:break;default:console.warn(new bC(n).error)}return t={},s(t,"".concat(o.value),!0),s(t,"".concat(o.value,"-").concat(r),r),s(t,"".concat(o.value,"-rtl"),"rtl"===a.value),t}));return function(){var e;return Object(i["createVNode"])("div",{class:u.value},[kl(null===(e=n.default)||void 0===e?void 0:e.call(n))])}}});vC.Group=OC,vC.install=function(e){return e.component(vC.name,vC),e.component(OC.name,OC),e};var CC=vC,wC=/iPhone/i,SC=/iPod/i,NC=/iPad/i,MC=/\bAndroid(?:.+)Mobile\b/i,xC=/Android/i,jC=/\bAndroid(?:.+)SD4930UR\b/i,TC=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,DC=/Windows Phone/i,EC=/\bWindows(?:.+)ARM\b/i,kC=/BlackBerry/i,LC=/BB10/i,YC=/Opera Mini/i,_C=/\b(CriOS|Chrome)(?:.+)Mobile/i,AC=/Mobile(?:.+)Firefox\b/i;function PC(e,t){return e.test(t)}function FC(e){var t=e||("undefined"!==typeof navigator?navigator.userAgent:""),n=t.split("[FBAN");if("undefined"!==typeof n[1]){var r=n,o=gl(r,1);t=o[0]}if(n=t.split("Twitter"),"undefined"!==typeof n[1]){var i=n,a=gl(i,1);t=a[0]}var u={apple:{phone:PC(wC,t)&&!PC(DC,t),ipod:PC(SC,t),tablet:!PC(wC,t)&&PC(NC,t)&&!PC(DC,t),device:(PC(wC,t)||PC(SC,t)||PC(NC,t))&&!PC(DC,t)},amazon:{phone:PC(jC,t),tablet:!PC(jC,t)&&PC(TC,t),device:PC(jC,t)||PC(TC,t)},android:{phone:!PC(DC,t)&&PC(jC,t)||!PC(DC,t)&&PC(MC,t),tablet:!PC(DC,t)&&!PC(jC,t)&&!PC(MC,t)&&(PC(TC,t)||PC(xC,t)),device:!PC(DC,t)&&(PC(jC,t)||PC(TC,t)||PC(MC,t)||PC(xC,t))||PC(/\bokhttp\b/i,t)},windows:{phone:PC(DC,t),tablet:PC(EC,t),device:PC(DC,t)||PC(EC,t)},other:{blackberry:PC(kC,t),blackberry10:PC(LC,t),opera:PC(YC,t),firefox:PC(AC,t),chrome:PC(_C,t),device:PC(kC,t)||PC(LC,t)||PC(YC,t)||PC(AC,t)||PC(_C,t)},any:null,phone:null,tablet:null};return u.any=u.apple.device||u.android.device||u.windows.device||u.other.device,u.phone=u.apple.phone||u.android.phone||u.windows.phone,u.tablet=u.apple.tablet||u.android.tablet||u.windows.tablet,u}var IC,BC=Fe(Fe({},FC()),{},{isMobile:FC}),ZC=BC,RC=["disabled","loading","addonAfter","suffix"],HC=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"AInputSearch",inheritAttrs:!1,props:Fe(Fe({},bO()),{},{inputPrefixCls:String,enterButton:Et.any,onSearch:{type:Function}}),setup:function(e,t){var n=t.slots,r=t.attrs,o=t.expose,a=t.emit,u=Object(i["ref"])(),c=function(){var e;null===(e=u.value)||void 0===e||e.focus()},l=function(){var e;null===(e=u.value)||void 0===e||e.blur()};o({focus:c,blur:l});var d=function(e){a("update:value",e.target.value),e&&e.target&&"click"===e.type&&a("search",e.target.value,e),a("change",e)},f=function(e){var t;document.activeElement===(null===(t=u.value)||void 0===t?void 0:t.input)&&e.preventDefault()},p=function(e){var t;a("search",null===(t=u.value)||void 0===t?void 0:t.stateValue,e),ZC.tablet||u.value.focus()},v=wv("input-search",e),h=v.prefixCls,m=v.getPrefixCls,g=v.direction,b=v.size,y=Object(i["computed"])((function(){return m("input",e.inputPrefixCls)}));return function(){var t,o,a,c,l,v=e.disabled,m=e.loading,O=e.addonAfter,C=void 0===O?null===(t=n.addonAfter)||void 0===t?void 0:t.call(n):O,w=e.suffix,S=void 0===w?null===(o=n.suffix)||void 0===o?void 0:o.call(n):w,N=Kc(e,RC),M=e.enterButton,x=void 0===M?null!==(a=null===(c=n.enterButton)||void 0===c?void 0:c.call(n))&&void 0!==a&&a:M;x=x||""===x;var j,T="boolean"===typeof x?Object(i["createVNode"])(IO,null,null):null,D="".concat(h.value,"-button"),E=Array.isArray(x)?x[0]:x,k=E.type&&Ml(E.type)&&E.type.__ANT_BUTTON;if(k||"button"===E.tagName)j=NO(E,Fe({onMousedown:f,onClick:p,key:"enterButton"},k?{class:D,size:b.value}:{}),!1);else{var L=T&&!x;j=Object(i["createVNode"])(CC,{class:D,type:x?"primary":void 0,size:b.value,disabled:v,key:"enterButton",onMousedown:f,onClick:p,loading:m,icon:L?T:null},{default:function(){return[L?null:T||x]}})}C&&(j=[j,C]);var Y=Qt(h.value,(l={},s(l,"".concat(h.value,"-rtl"),"rtl"===g.value),s(l,"".concat(h.value,"-").concat(b.value),!!b.value),s(l,"".concat(h.value,"-with-button"),!!x),l),r.class);return Object(i["createVNode"])(kO,Fe(Fe(Fe({ref:u},mO(N,["onUpdate:value","onSearch","enterButton"])),r),{},{onPressEnter:p,size:b.value,prefixCls:y.value,addonAfter:j,suffix:S,onChange:d,class:Y,disabled:v}),n)}}}),VC=n("6dd8"),XC=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ResizeObserver",props:{disabled:Boolean,onResize:Function},emits:["resize"],setup:function(e,t){var n=t.slots,r=Object(i["reactive"])({width:0,height:0,offsetHeight:0,offsetWidth:0}),o=null,a=null,u=function(){a&&(a.disconnect(),a=null)},c=function(t){var n=e.onResize,o=t[0].target,i=o.getBoundingClientRect(),a=i.width,u=i.height,c=o.offsetWidth,l=o.offsetHeight,s=Math.floor(a),d=Math.floor(u);if(r.width!==s||r.height!==d||r.offsetWidth!==c||r.offsetHeight!==l){var f={width:s,height:d,offsetWidth:c,offsetHeight:l};Qc(r,f),n&&Promise.resolve().then((function(){n(Fe(Fe({},f),{},{offsetWidth:c,offsetHeight:l}),o)}))}},l=Object(i["getCurrentInstance"])(),s=function(){var t=e.disabled;if(t)u();else{var n=Yl(l),r=n!==o;r&&(u(),o=n),!a&&n&&(a=new VC["a"](c),a.observe(n))}};return Object(i["onMounted"])((function(){s()})),Object(i["onUpdated"])((function(){s()})),Object(i["onUnmounted"])((function(){u()})),Object(i["watch"])((function(){return e.disabled}),(function(){s()}),{flush:"post"}),function(){var e;return null===(e=n.default)||void 0===e?void 0:e.call(n)[0]}}}),JC="\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",zC=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],QC={};function WC(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&QC[n])return QC[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),i=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),a=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),u=zC.map((function(e){return"".concat(e,":").concat(r.getPropertyValue(e))})).join(";"),c={sizingStyle:u,paddingSize:i,borderSize:a,boxSizing:o};return t&&n&&(QC[n]=c),c}function KC(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;IC||(IC=document.createElement("textarea"),IC.setAttribute("tab-index","-1"),IC.setAttribute("aria-hidden","true"),document.body.appendChild(IC)),e.getAttribute("wrap")?IC.setAttribute("wrap",e.getAttribute("wrap")):IC.removeAttribute("wrap");var o=WC(e,t),i=o.paddingSize,a=o.borderSize,u=o.boxSizing,c=o.sizingStyle;IC.setAttribute("style","".concat(c,";").concat(JC)),IC.value=e.value||e.placeholder||"";var l,s=Number.MIN_SAFE_INTEGER,d=Number.MAX_SAFE_INTEGER,f=IC.scrollHeight;if("border-box"===u?f+=a:"content-box"===u&&(f-=i),null!==n||null!==r){IC.value=" ";var p=IC.scrollHeight-i;null!==n&&(s=p*n,"border-box"===u&&(s=s+i+a),f=Math.max(s,f)),null!==r&&(d=p*r,"border-box"===u&&(d=d+i+a),l=f>d?"":"hidden",f=Math.min(d,f))}return{height:"".concat(f,"px"),minHeight:"".concat(s,"px"),maxHeight:"".concat(d,"px"),overflowY:l,resize:"none"}}var UC=0,GC=1,$C=2,qC=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ResizableTextArea",inheritAttrs:!1,props:yO(),setup:function(e,t){var n,r,o=t.attrs,a=t.emit,u=t.expose,c=Object(i["ref"])(),l=Object(i["ref"])({}),d=Object(i["ref"])(UC);Object(i["onBeforeUnmount"])((function(){eC.cancel(n),eC.cancel(r)}));var f=function(){try{if(document.activeElement===c.value){var e=c.value.selectionStart,t=c.value.selectionEnd;c.value.setSelectionRange(e,t)}}catch(n){}},p=function(){var t=e.autoSize||e.autosize;if(t&&c.value){var n=t.minRows,o=t.maxRows;l.value=KC(c.value,!1,n,o),d.value=GC,eC.cancel(r),r=eC((function(){d.value=$C,r=eC((function(){d.value=UC,f()}))}))}},v=function(){eC.cancel(n),n=eC(p)},h=function(t){if(d.value===UC){a("resize",t);var n=e.autoSize||e.autosize;n&&v()}};tn(void 0===e.autosize,"Input.TextArea","autosize is deprecated, please use autoSize instead.");var m=function(){var t=e.prefixCls,n=e.autoSize,r=e.autosize,a=e.disabled,u=mO(e,["prefixCls","onPressEnter","autoSize","autosize","defaultValue","allowClear","type","lazy","maxlength","valueModifiers"]),f=Qt(t,o.class,s({},"".concat(t,"-disabled"),a)),p=[o.style,l.value,d.value===GC?{overflowX:"hidden",overflowY:"hidden"}:null],v=Fe(Fe(Fe({},u),o),{},{style:p,class:f});return v.autofocus||delete v.autofocus,0===v.rows&&delete v.rows,Object(i["createVNode"])(XC,{onResize:h,disabled:!(n||r)},{default:function(){return[Object(i["withDirectives"])(Object(i["createVNode"])("textarea",Fe(Fe({},v),{},{ref:c}),null),[[vO]])]}})};Object(i["watch"])((function(){return e.value}),(function(){Object(i["nextTick"])((function(){p()}))})),Object(i["onMounted"])((function(){Object(i["nextTick"])((function(){p()}))}));var g=Object(i["getCurrentInstance"])();return u({resizeTextarea:p,textArea:c,instance:g}),function(){return m()}}}),ew=qC;function tw(e,t){return Ae(e||"").slice(0,t).join("")}function nw(e,t,n,r){var o=n;return e?o=tw(n,r):Ae(t||"").length<n.length&&Ae(n||"").length>r&&(o=t),o}var rw=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ATextarea",inheritAttrs:!1,props:yO(),setup:function(e,t){var n=t.attrs,r=t.expose,o=t.emit,a=vb(),c=Object(i["ref"])(void 0===e.value?e.defaultValue:e.value),l=Object(i["ref"])(),d=Object(i["ref"])(""),f=wv("input",e),p=f.prefixCls,v=f.size,h=f.direction,m=Object(i["computed"])((function(){return""===e.showCount||e.showCount||!1})),g=Object(i["computed"])((function(){return Number(e.maxlength)>0})),b=Object(i["ref"])(!1),y=Object(i["ref"])(),O=Object(i["ref"])(0),C=function(e){b.value=!0,y.value=d.value,O.value=e.currentTarget.selectionStart,o("compositionstart",e)},w=function(t){b.value=!1;var n=t.currentTarget.value;if(g.value){var r,i=O.value>=e.maxlength+1||O.value===(null===(r=y.value)||void 0===r?void 0:r.length);n=nw(i,y.value,n,e.maxlength)}n!==d.value&&(x(n),DO(t.currentTarget,t,D,n)),o("compositionend",t)},S=Object(i["getCurrentInstance"])();Object(i["watch"])((function(){return e.value}),(function(){var t;S.vnode.props,c.value=null!==(t=e.value)&&void 0!==t?t:""}));var N=function(e){var t;EO(null===(t=l.value)||void 0===t?void 0:t.textArea,e)},M=function(){var e,t;null===(e=l.value)||void 0===e||null===(t=e.textArea)||void 0===t||t.blur()},x=function(t,n){c.value!==t&&(void 0===e.value?c.value=t:Object(i["nextTick"])((function(){var e,t,n;l.value.textArea.value!==d.value&&(null===(e=l.value)||void 0===e||null===(t=(n=e.instance).update)||void 0===t||t.call(n))})),Object(i["nextTick"])((function(){n&&n()})))},j=function(e){13===e.keyCode&&o("pressEnter",e),o("keydown",e)},T=function(t){var n=e.onBlur;null===n||void 0===n||n(t),a.onFieldBlur()},D=function(e){o("update:value",e.target.value),o("change",e),o("input",e),a.onFieldChange()},E=function(e){DO(l.value.textArea,e,D),x("",(function(){N()}))},k=function(t){var n=t.target.composing,r=t.target.value;if(b.value=!(!t.isComposing&&!n),!(b.value&&e.lazy||c.value===r)){if(g.value){var o=t.target,i=o.selectionStart>=e.maxlength+1||o.selectionStart===r.length||!o.selectionStart;r=nw(i,d.value,r,e.maxlength)}DO(t.currentTarget,t,D,r),x(r)}},L=function(){var t,r,o,u=n.style,c=n.class,d=e.bordered,f=void 0===d||d,h=Fe(Fe(Fe({},mO(e,["allowClear"])),n),{},{style:m.value?{}:u,class:(t={},s(t,"".concat(p.value,"-borderless"),!f),s(t,"".concat(c),c&&!m.value),s(t,"".concat(p.value,"-sm"),"small"===v.value),s(t,"".concat(p.value,"-lg"),"large"===v.value),t),showCount:null,prefixCls:p.value,onInput:k,onChange:k,onBlur:T,onKeydown:j,onCompositionstart:C,onCompositionend:w});return null!==(r=e.valueModifiers)&&void 0!==r&&r.lazy&&delete h.onInput,Object(i["createVNode"])(ew,Fe(Fe({},h),{},{id:null!==(o=h.id)&&void 0!==o?o:a.id.value,ref:l,maxlength:e.maxlength}),null)};return r({focus:N,blur:M,resizableTextArea:l}),Object(i["watchEffect"])((function(){var t=TO(c.value);b.value||!g.value||null!==e.value&&void 0!==e.value||(t=tw(t,e.maxlength)),d.value=t})),function(){var t=e.maxlength,r=e.bordered,o=void 0===r||r,a=e.hidden,c=n.style,l=n.class,f=Fe(Fe(Fe({},e),n),{},{prefixCls:p.value,inputType:"text",handleReset:E,direction:h.value,bordered:o,style:m.value?void 0:c}),v=Object(i["createVNode"])(jO,Fe(Fe({},f),{},{value:d.value}),{element:L});if(m.value){var b=Ae(d.value).length,y="";y="object"===u(m.value)?m.value.formatter({count:b,maxlength:t}):"".concat(b).concat(g.value?" / ".concat(t):"");(function(){})();v=Object(i["createVNode"])("div",{hidden:a,class:Qt("".concat(p.value,"-textarea"),s({},"".concat(p.value,"-textarea-rtl"),"rtl"===h.value),"".concat(p.value,"-textarea-show-count"),l),style:c,"data-count":"object"!==u(y)?y:void 0},[v])}return v}}}),ow={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},iw=ow;function aw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){uw(e,t,n[t])}))}return e}function uw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cw=function(e,t){var n=aw({},e,t.attrs);return Object(i["createVNode"])(ef,aw({},n,{icon:iw}),null)};cw.displayName="EyeOutlined",cw.inheritAttrs=!1;var lw=cw,sw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},dw=sw;function fw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){pw(e,t,n[t])}))}return e}function pw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var vw=function(e,t){var n=fw({},e,t.attrs);return Object(i["createVNode"])(ef,fw({},n,{icon:dw}),null)};vw.displayName="EyeInvisibleOutlined",vw.inheritAttrs=!1;var hw=vw,mw=["size","visibilityToggle"],gw={click:"onClick",hover:"onMouseover"},bw=function(e){return e?Object(i["createVNode"])(lw,null,null):Object(i["createVNode"])(hw,null,null)},yw=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"AInputPassword",inheritAttrs:!1,props:Fe(Fe({},bO()),{},{prefixCls:String,inputPrefixCls:String,action:{type:String,default:"click"},visibilityToggle:{type:Boolean,default:!0},iconRender:Function}),setup:function(e,t){var n=t.slots,r=t.attrs,o=t.expose,a=Object(i["ref"])(!1),u=function(){var t=e.disabled;t||(a.value=!a.value)},c=Object(i["ref"])(),l=function(){var e;null===(e=c.value)||void 0===e||e.focus()},d=function(){var e;null===(e=c.value)||void 0===e||e.blur()};o({focus:l,blur:d});var f=function(t){var r,o=e.action,c=e.iconRender,l=void 0===c?n.iconRender||bw:c,d=gw[o]||"",f=l(a.value),p=(r={},s(r,d,u),s(r,"class","".concat(t,"-icon")),s(r,"key","passwordIcon"),s(r,"onMousedown",(function(e){e.preventDefault()})),s(r,"onMouseup",(function(e){e.preventDefault()})),r);return NO(Zl(f)?f:Object(i["createVNode"])("span",null,[f]),p)},p=wv("input-password",e),v=p.prefixCls,h=p.getPrefixCls,m=Object(i["computed"])((function(){return h("input",e.inputPrefixCls)})),g=function(){var t=e.size,o=e.visibilityToggle,u=Kc(e,mw),l=o&&f(v.value),d=Qt(v.value,r.class,s({},"".concat(v.value,"-").concat(t),!!t)),p=Fe(Fe(Fe({},mO(u,["suffix","iconRender","action"])),r),{},{type:a.value?"text":"password",class:d,prefixCls:m.value,suffix:l});return t&&(p.size=t),Object(i["createVNode"])(kO,Fe({ref:c},p),n)};return function(){return g()}}});kO.Group=LO,kO.Search=HC,kO.TextArea=rw,kO.Password=yw,kO.install=function(e){return e.component(kO.name,kO),e.component(kO.Group.name,kO.Group),e.component(kO.Search.name,kO.Search),e.component(kO.TextArea.name,kO.TextArea),e.component(kO.Password.name,kO.Password),e};var Ow=kO;function Cw(e,t){var n,r=e.key;return"value"in e&&(n=e.value),null!==r&&void 0!==r?r:void 0!==n?n:"rc-index-key-".concat(t)}function ww(e,t){var n=e||{},r=n.label,o=n.value,i=n.options;return{label:r||(t?"children":"label"),value:o||"value",options:i||"options"}}function Sw(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,o=[],i=ww(n,!1),a=i.label,u=i.value,c=i.options;function l(e,t){e.forEach((function(e){var n=e[a];if(t||!(c in e)){var i=e[u];o.push({key:Cw(e,o.length),groupOption:t,data:e,label:n,value:i})}else{var s=n;void 0===s&&r&&(s=e.label),o.push({key:Cw(e,o.length),group:!0,data:e,label:s}),l(e[c],!0)}}))}return l(e,!1),o}function Nw(e){var t=Fe({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return Kt(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}function Mw(e,t){if(!t||!t.length)return null;var n=!1;function r(e,t){var o=Pv(t),i=o[0],a=o.slice(1);if(!i)return[e];var u=e.split(i);return n=n||u.length>1,u.reduce((function(e,t){return[].concat(Ae(e),Ae(r(t,a)))}),[]).filter((function(e){return e}))}var o=r(e,t);return n?o:null}function xw(e,t){return!!e&&e.contains(t)}var jw=["moz","ms","webkit"];function Tw(){var e=0;return function(t){var n=(new Date).getTime(),r=Math.max(0,16-(n-e)),o=window.setTimeout((function(){t(n+r)}),r);return e=n+r,o}}function Dw(){if("undefined"===typeof window)return function(){};if(window.requestAnimationFrame)return window.requestAnimationFrame.bind(window);var e=jw.filter((function(e){return"".concat(e,"RequestAnimationFrame")in window}))[0];return e?window["".concat(e,"RequestAnimationFrame")]:Tw()}function Ew(e){if("undefined"===typeof window)return null;if(window.cancelAnimationFrame)return window.cancelAnimationFrame(e);var t=jw.filter((function(e){return"".concat(e,"CancelAnimationFrame")in window||"".concat(e,"CancelRequestAnimationFrame")in window}))[0];return t?(window["".concat(t,"CancelAnimationFrame")]||window["".concat(t,"CancelRequestAnimationFrame")]).call(this,e):clearTimeout(e)}var kw=Dw(),Lw=function(e){return Ew(e.id)},Yw=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=Date.now();function r(){Date.now()-n>=t?e.call():o.id=kw(r)}var o={id:kw(r)};return o},_w=!1;try{var Aw=Object.defineProperty({},"passive",{get:function(){_w=!0}});window.addEventListener("testPassive",null,Aw),window.removeEventListener("testPassive",null,Aw)}catch(kq){}var Pw=_w;function Fw(e,t,n,r){if(e&&e.addEventListener){var o=r;void 0!==o||!Pw||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o={passive:!1}),e.addEventListener(t,n,o)}return{remove:function(){e&&e.removeEventListener&&e.removeEventListener(t,n)}}}var Iw={visible:Boolean,prefixCls:String,zIndex:Number,destroyPopupOnHide:Boolean,forceRender:Boolean,animation:[String,Object],transitionName:String,stretch:{type:String},align:{type:Object},point:{type:Object},getRootDomNode:{type:Function},getClassNameFromAlign:{type:Function},onMouseenter:{type:Function},onMouseleave:{type:Function},onMousedown:{type:Function},onTouchstart:{type:Function}},Bw=Fe(Fe({},Iw),{},{mobile:{type:Object}}),Zw=Fe(Fe({},Iw),{},{mask:Boolean,mobile:{type:Object},maskAnimation:String,maskTransitionName:String});function Rw(e){var t=e.prefixCls,n=e.animation,r=e.transitionName;return n?{name:"".concat(t,"-").concat(n)}:r?{name:r}:{}}function Hw(e){var t=e.prefixCls,n=e.visible,r=e.zIndex,o=e.mask,a=e.maskAnimation,u=e.maskTransitionName;if(!o)return null;var c={};return(u||a)&&(c=Rw({prefixCls:t,transitionName:u,animation:a})),Object(i["createVNode"])(i["Transition"],Fe({appear:!0},c),{default:function(){return[Object(i["withDirectives"])(Object(i["createVNode"])("div",{style:{zIndex:r},class:"".concat(t,"-mask")},null),[[Object(i["resolveDirective"])("if"),n]])]}})}Hw.displayName="Mask";var Vw,Xw=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"MobilePopupInner",inheritAttrs:!1,props:Bw,emits:["mouseenter","mouseleave","mousedown","touchstart","align"],setup:function(e,t){var n=t.expose,r=t.slots,o=Object(i["ref"])();return n({forceAlign:function(){},getElement:function(){return o.value}}),function(){var t,n=e.zIndex,a=e.visible,u=e.prefixCls,c=e.mobile,l=void 0===c?{}:c,s=l.popupClassName,d=l.popupStyle,f=l.popupMotion,p=void 0===f?{}:f,v=l.popupRender,h=Fe({zIndex:n},d),m=kl(null===(t=r.default)||void 0===t?void 0:t.call(r));if(m.length>1){(function(){})();m=Object(i["createVNode"])("div",{class:"".concat(u,"-content")},[m])}v&&(m=v(m));var g=Qt(u,s);return Object(i["createVNode"])(i["Transition"],Fe({ref:o},p),{default:function(){return[a?Object(i["createVNode"])("div",{class:g,style:h},[m]):null]}})}}}),Jw=["measure","align",null,"motion"],zw=function(e,t){var n=Object(i["ref"])(null),r=Object(i["ref"])(),o=Object(i["ref"])(!1);function a(e){o.value||(n.value=e)}function u(){eC.cancel(r.value)}function c(e){u(),r.value=eC((function(){var t=n.value;switch(n.value){case"align":t="motion";break;case"motion":t="stable";break;default:}a(t),null===e||void 0===e||e()}))}return Object(i["watch"])(e,(function(){a("measure")}),{immediate:!0,flush:"post"}),Object(i["onMounted"])((function(){Object(i["watch"])(n,(function(){switch(n.value){case"measure":t();break;default:}n.value&&(r.value=eC(Uf($f.a.mark((function e(){var t,r;return $f.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t=Jw.indexOf(n.value),r=Jw[t+1],r&&-1!==t&&a(r);case 3:case"end":return e.stop()}}),e)})))))}),{immediate:!0,flush:"post"})})),Object(i["onBeforeUnmount"])((function(){o.value=!0,u()})),[n,c]},Qw=function(e){var t=Object(i["ref"])({width:0,height:0});function n(e){t.value={width:e.offsetWidth,height:e.offsetHeight}}var r=Object(i["computed"])((function(){var n={};if(e.value){var r=t.value,o=r.width,i=r.height;-1!==e.value.indexOf("height")&&i?n.height="".concat(i,"px"):-1!==e.value.indexOf("minHeight")&&i&&(n.minHeight="".concat(i,"px")),-1!==e.value.indexOf("width")&&o?n.width="".concat(o,"px"):-1!==e.value.indexOf("minWidth")&&o&&(n.minWidth="".concat(o,"px"))}return n}));return[r,n]};function Ww(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Kw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ww(Object(n),!0).forEach((function(t){Gw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ww(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Uw(e){return Uw="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},Uw(e)}function Gw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $w={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function qw(){if(void 0!==Vw)return Vw;Vw="";var e=document.createElement("p").style,t="Transform";for(var n in $w)n+t in e&&(Vw=n);return Vw}function eS(){return qw()?"".concat(qw(),"TransitionProperty"):"transitionProperty"}function tS(){return qw()?"".concat(qw(),"Transform"):"transform"}function nS(e,t){var n=eS();n&&(e.style[n]=t,"transitionProperty"!==n&&(e.style.transitionProperty=t))}function rS(e,t){var n=tS();n&&(e.style[n]=t,"transform"!==n&&(e.style.transform=t))}function oS(e){return e.style.transitionProperty||e.style[eS()]}function iS(e){var t=window.getComputedStyle(e,null),n=t.getPropertyValue("transform")||t.getPropertyValue(tS());if(n&&"none"!==n){var r=n.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(r[12]||r[4],0),y:parseFloat(r[13]||r[5],0)}}return{x:0,y:0}}var aS=/matrix\((.*)\)/,uS=/matrix3d\((.*)\)/;function cS(e,t){var n=window.getComputedStyle(e,null),r=n.getPropertyValue("transform")||n.getPropertyValue(tS());if(r&&"none"!==r){var o,i=r.match(aS);if(i)i=i[1],o=i.split(",").map((function(e){return parseFloat(e,10)})),o[4]=t.x,o[5]=t.y,rS(e,"matrix(".concat(o.join(","),")"));else{var a=r.match(uS)[1];o=a.split(",").map((function(e){return parseFloat(e,10)})),o[12]=t.x,o[13]=t.y,rS(e,"matrix3d(".concat(o.join(","),")"))}}else rS(e,"translateX(".concat(t.x,"px) translateY(").concat(t.y,"px) translateZ(0)"))}var lS,sS=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source;function dS(e){var t=e.style.display;e.style.display="none",e.offsetHeight,e.style.display=t}function fS(e,t,n){var r=n;if("object"!==Uw(t))return"undefined"!==typeof r?("number"===typeof r&&(r="".concat(r,"px")),void(e.style[t]=r)):lS(e,t);for(var o in t)t.hasOwnProperty(o)&&fS(e,o,t[o])}function pS(e){var t,n,r,o=e.ownerDocument,i=o.body,a=o&&o.documentElement;return t=e.getBoundingClientRect(),n=Math.floor(t.left),r=Math.floor(t.top),n-=a.clientLeft||i.clientLeft||0,r-=a.clientTop||i.clientTop||0,{left:n,top:r}}function vS(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!==typeof n){var o=e.document;n=o.documentElement[r],"number"!==typeof n&&(n=o.body[r])}return n}function hS(e){return vS(e)}function mS(e){return vS(e,!0)}function gS(e){var t=pS(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=hS(r),t.top+=mS(r),t}function bS(e){return null!==e&&void 0!==e&&e==e.window}function yS(e){return bS(e)?e.document:9===e.nodeType?e:e.ownerDocument}function OS(e,t,n){var r=n,o="",i=yS(e);return r=r||i.defaultView.getComputedStyle(e,null),r&&(o=r.getPropertyValue(t)||r[t]),o}var CS=new RegExp("^(".concat(sS,")(?!px)[a-z%]+$"),"i"),wS=/^(top|right|bottom|left)$/,SS="currentStyle",NS="runtimeStyle",MS="left",xS="px";function jS(e,t){var n=e[SS]&&e[SS][t];if(CS.test(n)&&!wS.test(t)){var r=e.style,o=r[MS],i=e[NS][MS];e[NS][MS]=e[SS][MS],r[MS]="fontSize"===t?"1em":n||0,n=r.pixelLeft+xS,r[MS]=o,e[NS][MS]=i}return""===n?"auto":n}function TS(e,t){return"left"===e?t.useCssRight?"right":e:t.useCssBottom?"bottom":e}function DS(e){return"left"===e?"right":"right"===e?"left":"top"===e?"bottom":"bottom"===e?"top":void 0}function ES(e,t,n){"static"===fS(e,"position")&&(e.style.position="relative");var r=-999,o=-999,i=TS("left",n),a=TS("top",n),u=DS(i),c=DS(a);"left"!==i&&(r=999),"top"!==a&&(o=999);var l="",s=gS(e);("left"in t||"top"in t)&&(l=oS(e)||"",nS(e,"none")),"left"in t&&(e.style[u]="",e.style[i]="".concat(r,"px")),"top"in t&&(e.style[c]="",e.style[a]="".concat(o,"px")),dS(e);var d=gS(e),f={};for(var p in t)if(t.hasOwnProperty(p)){var v=TS(p,n),h="left"===p?r:o,m=s[p]-d[p];f[v]=v===p?h+m:h-m}fS(e,f),dS(e),("left"in t||"top"in t)&&nS(e,l);var g={};for(var b in t)if(t.hasOwnProperty(b)){var y=TS(b,n),O=t[b]-s[b];g[y]=b===y?f[y]+O:f[y]-O}fS(e,g)}function kS(e,t){var n=gS(e),r=iS(e),o={x:r.x,y:r.y};"left"in t&&(o.x=r.x+t.left-n.left),"top"in t&&(o.y=r.y+t.top-n.top),cS(e,o)}function LS(e,t,n){if(n.ignoreShake){var r=gS(e),o=r.left.toFixed(0),i=r.top.toFixed(0),a=t.left.toFixed(0),u=t.top.toFixed(0);if(o===a&&i===u)return}n.useCssRight||n.useCssBottom?ES(e,t,n):n.useCssTransform&&tS()in document.body.style?kS(e,t):ES(e,t,n)}function YS(e,t){for(var n=0;n<e.length;n++)t(e[n])}function _S(e){return"border-box"===lS(e,"boxSizing")}"undefined"!==typeof window&&(lS=window.getComputedStyle?OS:jS);var AS=["margin","border","padding"],PS=-1,FS=2,IS=1,BS=0;function ZS(e,t,n){var r,o={},i=e.style;for(r in t)t.hasOwnProperty(r)&&(o[r]=i[r],i[r]=t[r]);for(r in n.call(e),t)t.hasOwnProperty(r)&&(i[r]=o[r])}function RS(e,t,n){var r,o,i,a=0;for(o=0;o<t.length;o++)if(r=t[o],r)for(i=0;i<n.length;i++){var u=void 0;u="border"===r?"".concat(r).concat(n[i],"Width"):r+n[i],a+=parseFloat(lS(e,u))||0}return a}var HS={getParent:function(e){var t=e;do{t=11===t.nodeType&&t.host?t.host:t.parentNode}while(t&&1!==t.nodeType&&9!==t.nodeType);return t}};function VS(e,t,n){var r=n;if(bS(e))return"width"===t?HS.viewportWidth(e):HS.viewportHeight(e);if(9===e.nodeType)return"width"===t?HS.docWidth(e):HS.docHeight(e);var o="width"===t?["Left","Right"]:["Top","Bottom"],i="width"===t?Math.floor(e.getBoundingClientRect().width):Math.floor(e.getBoundingClientRect().height),a=_S(e),u=0;(null===i||void 0===i||i<=0)&&(i=void 0,u=lS(e,t),(null===u||void 0===u||Number(u)<0)&&(u=e.style[t]||0),u=Math.floor(parseFloat(u))||0),void 0===r&&(r=a?IS:PS);var c=void 0!==i||a,l=i||u;return r===PS?c?l-RS(e,["border","padding"],o):u:c?r===IS?l:l+(r===FS?-RS(e,["border"],o):RS(e,["margin"],o)):u+RS(e,AS.slice(r),o)}YS(["Width","Height"],(function(e){HS["doc".concat(e)]=function(t){var n=t.document;return Math.max(n.documentElement["scroll".concat(e)],n.body["scroll".concat(e)],HS["viewport".concat(e)](n))},HS["viewport".concat(e)]=function(t){var n="client".concat(e),r=t.document,o=r.body,i=r.documentElement,a=i[n];return"CSS1Compat"===r.compatMode&&a||o&&o[n]||a}}));var XS={position:"absolute",visibility:"hidden",display:"block"};function JS(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o=t[0];return 0!==o.offsetWidth?r=VS.apply(void 0,t):ZS(o,XS,(function(){r=VS.apply(void 0,t)})),r}function zS(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}YS(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);HS["outer".concat(t)]=function(t,n){return t&&JS(t,e,n?BS:IS)};var n="width"===e?["Left","Right"]:["Top","Bottom"];HS[e]=function(t,r){var o=r;if(void 0===o)return t&&JS(t,e,PS);if(t){var i=_S(t);return i&&(o+=RS(t,["padding","border"],n)),fS(t,e,o)}}}));var QS={getWindow:function(e){if(e&&e.document&&e.setTimeout)return e;var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},getDocument:yS,offset:function(e,t,n){if("undefined"===typeof t)return gS(e);LS(e,t,n||{})},isWindow:bS,each:YS,css:fS,clone:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);var r=e.overflow;if(r)for(t in e)e.hasOwnProperty(t)&&(n.overflow[t]=e.overflow[t]);return n},mix:zS,getWindowScrollLeft:function(e){return hS(e)},getWindowScrollTop:function(e){return mS(e)},merge:function(){for(var e={},t=0;t<arguments.length;t++)QS.mix(e,t<0||arguments.length<=t?void 0:arguments[t]);return e},viewportWidth:0,viewportHeight:0};zS(QS,HS);var WS=QS.getParent;function KS(e){if(QS.isWindow(e)||9===e.nodeType)return null;var t,n=QS.getDocument(e),r=n.body,o=QS.css(e,"position"),i="fixed"===o||"absolute"===o;if(!i)return"html"===e.nodeName.toLowerCase()?null:WS(e);for(t=WS(e);t&&t!==r&&9!==t.nodeType;t=WS(t))if(o=QS.css(t,"position"),"static"!==o)return t;return null}var US=QS.getParent;function GS(e){if(QS.isWindow(e)||9===e.nodeType)return!1;var t=QS.getDocument(e),n=t.body,r=null;for(r=US(e);r&&r!==n&&r!==t;r=US(r)){var o=QS.css(r,"position");if("fixed"===o)return!0}return!1}function $S(e,t){var n={left:0,right:1/0,top:0,bottom:1/0},r=KS(e),o=QS.getDocument(e),i=o.defaultView||o.parentWindow,a=o.body,u=o.documentElement;while(r){if(-1!==navigator.userAgent.indexOf("MSIE")&&0===r.clientWidth||r===a||r===u||"visible"===QS.css(r,"overflow")){if(r===a||r===u)break}else{var c=QS.offset(r);c.left+=r.clientLeft,c.top+=r.clientTop,n.top=Math.max(n.top,c.top),n.right=Math.min(n.right,c.left+r.clientWidth),n.bottom=Math.min(n.bottom,c.top+r.clientHeight),n.left=Math.max(n.left,c.left)}r=KS(r)}var l=null;if(!QS.isWindow(e)&&9!==e.nodeType){l=e.style.position;var s=QS.css(e,"position");"absolute"===s&&(e.style.position="fixed")}var d=QS.getWindowScrollLeft(i),f=QS.getWindowScrollTop(i),p=QS.viewportWidth(i),v=QS.viewportHeight(i),h=u.scrollWidth,m=u.scrollHeight,g=window.getComputedStyle(a);if("hidden"===g.overflowX&&(h=i.innerWidth),"hidden"===g.overflowY&&(m=i.innerHeight),e.style&&(e.style.position=l),t||GS(e))n.left=Math.max(n.left,d),n.top=Math.max(n.top,f),n.right=Math.min(n.right,d+p),n.bottom=Math.min(n.bottom,f+v);else{var b=Math.max(h,d+p);n.right=Math.min(n.right,b);var y=Math.max(m,f+v);n.bottom=Math.min(n.bottom,y)}return n.top>=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function qS(e,t,n,r){var o=QS.clone(e),i={width:t.width,height:t.height};return r.adjustX&&o.left<n.left&&(o.left=n.left),r.resizeWidth&&o.left>=n.left&&o.left+i.width>n.right&&(i.width-=o.left+i.width-n.right),r.adjustX&&o.left+i.width>n.right&&(o.left=Math.max(n.right-i.width,n.left)),r.adjustY&&o.top<n.top&&(o.top=n.top),r.resizeHeight&&o.top>=n.top&&o.top+i.height>n.bottom&&(i.height-=o.top+i.height-n.bottom),r.adjustY&&o.top+i.height>n.bottom&&(o.top=Math.max(n.bottom-i.height,n.top)),QS.mix(o,i)}function eN(e){var t,n,r;if(QS.isWindow(e)||9===e.nodeType){var o=QS.getWindow(e);t={left:QS.getWindowScrollLeft(o),top:QS.getWindowScrollTop(o)},n=QS.viewportWidth(o),r=QS.viewportHeight(o)}else t=QS.offset(e),n=QS.outerWidth(e),r=QS.outerHeight(e);return t.width=n,t.height=r,t}function tN(e,t){var n=t.charAt(0),r=t.charAt(1),o=e.width,i=e.height,a=e.left,u=e.top;return"c"===n?u+=i/2:"b"===n&&(u+=i),"c"===r?a+=o/2:"r"===r&&(a+=o),{left:a,top:u}}function nN(e,t,n,r,o){var i=tN(t,n[1]),a=tN(e,n[0]),u=[a.left-i.left,a.top-i.top];return{left:Math.round(e.left-u[0]+r[0]-o[0]),top:Math.round(e.top-u[1]+r[1]-o[1])}}function rN(e,t,n){return e.left<n.left||e.left+t.width>n.right}function oN(e,t,n){return e.top<n.top||e.top+t.height>n.bottom}function iN(e,t,n){return e.left>n.right||e.left+t.width<n.left}function aN(e,t,n){return e.top>n.bottom||e.top+t.height<n.top}function uN(e,t,n){var r=[];return QS.each(e,(function(e){r.push(e.replace(t,(function(e){return n[e]})))})),r}function cN(e,t){return e[t]=-e[t],e}function lN(e,t){var n;return n=/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10),n||0}function sN(e,t){e[0]=lN(e[0],t.width),e[1]=lN(e[1],t.height)}function dN(e,t,n,r){var o=n.points,i=n.offset||[0,0],a=n.targetOffset||[0,0],u=n.overflow,c=n.source||e;i=[].concat(i),a=[].concat(a),u=u||{};var l={},s=0,d=!(!u||!u.alwaysByViewport),f=$S(c,d),p=eN(c);sN(i,p),sN(a,t);var v=nN(p,t,o,i,a),h=QS.merge(p,v);if(f&&(u.adjustX||u.adjustY)&&r){if(u.adjustX&&rN(v,p,f)){var m=uN(o,/[lr]/gi,{l:"r",r:"l"}),g=cN(i,0),b=cN(a,0),y=nN(p,t,m,g,b);iN(y,p,f)||(s=1,o=m,i=g,a=b)}if(u.adjustY&&oN(v,p,f)){var O=uN(o,/[tb]/gi,{t:"b",b:"t"}),C=cN(i,1),w=cN(a,1),S=nN(p,t,O,C,w);aN(S,p,f)||(s=1,o=O,i=C,a=w)}s&&(v=nN(p,t,o,i,a),QS.mix(h,v));var N=rN(v,p,f),M=oN(v,p,f);if(N||M){var x=o;N&&(x=uN(o,/[lr]/gi,{l:"r",r:"l"})),M&&(x=uN(o,/[tb]/gi,{t:"b",b:"t"})),o=x,i=n.offset||[0,0],a=n.targetOffset||[0,0]}l.adjustX=u.adjustX&&N,l.adjustY=u.adjustY&&M,(l.adjustX||l.adjustY)&&(h=qS(v,p,f,l))}return h.width!==p.width&&QS.css(c,"width",QS.width(c)+h.width-p.width),h.height!==p.height&&QS.css(c,"height",QS.height(c)+h.height-p.height),QS.offset(c,{left:h.left,top:h.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:o,offset:i,targetOffset:a,overflow:l}}function fN(e,t){var n=$S(e,t),r=eN(e);return!n||r.left+r.width<=n.left||r.top+r.height<=n.top||r.left>=n.right||r.top>=n.bottom}function pN(e,t,n){var r=n.target||t,o=eN(r),i=!fN(r,n.overflow&&n.overflow.alwaysByViewport);return dN(e,o,n,i)}function vN(e,t,n){var r,o,i=QS.getDocument(e),a=i.defaultView||i.parentWindow,u=QS.getWindowScrollLeft(a),c=QS.getWindowScrollTop(a),l=QS.viewportWidth(a),s=QS.viewportHeight(a);r="pageX"in t?t.pageX:u+t.clientX,o="pageY"in t?t.pageY:c+t.clientY;var d={left:r,top:o,width:0,height:0},f=r>=0&&r<=u+l&&o>=0&&o<=c+s,p=[n.points[0],"cc"];return dN(e,d,Kw(Kw({},n),{},{points:p}),f)}pN.__getOffsetParent=KS,pN.__getVisibleRectForElement=$S;var hN=function(e){if(!e)return!1;if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox();if(t.width||t.height)return!0}if(e.getBoundingClientRect){var n=e.getBoundingClientRect();if(n.width||n.height)return!0}return!1};function mN(e,t){return e===t||!(!e||!t)&&("pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t&&(e.clientX===t.clientX&&e.clientY===t.clientY))}function gN(e,t){e!==document.activeElement&&xw(t,e)&&"function"===typeof e.focus&&e.focus()}function bN(e,t){var n=null,r=null;function o(e){var o=gl(e,1),i=o[0].target;if(document.documentElement.contains(i)){var a=i.getBoundingClientRect(),u=a.width,c=a.height,l=Math.floor(u),s=Math.floor(c);n===l&&r===s||Promise.resolve().then((function(){t({width:l,height:s})})),n=l,r=s}}var i=new VC["a"](o);return e&&i.observe(e),function(){i.disconnect()}}var yN=function(e,t){var n=!1,r=null;function o(){clearTimeout(r)}function i(a){if(n&&!0!==a)o(),r=setTimeout((function(){n=!1,i()}),t.value);else{if(!1===e())return;n=!0,o(),r=setTimeout((function(){n=!1}),t.value)}}return[i,function(){n=!1,o()}]},ON={align:Object,target:[Object,Function],onAlign:Function,monitorBufferTime:Number,monitorWindowResize:Boolean,disabled:Boolean};function CN(e){return"function"!==typeof e?null:e()}function wN(e){return"object"===u(e)&&e?e:null}var SN=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"Align",props:ON,emits:["align"],setup:function(e,t){var n=t.expose,r=t.slots,o=Object(i["ref"])({}),a=Object(i["ref"])(),u=yN((function(){var t=e.disabled,n=e.target,r=e.align,i=e.onAlign;if(!t&&n&&a.value){var u,c=a.value,l=CN(n),s=wN(n);o.value.element=l,o.value.point=s,o.value.align=r;var d=document,f=d.activeElement;return l&&hN(l)?u=pN(c,l,r):s&&(u=vN(c,s,r)),gN(f,c),i&&u&&i(c,u),!0}return!1}),Object(i["computed"])((function(){return e.monitorBufferTime}))),c=gl(u,2),l=c[0],s=c[1],d=Object(i["ref"])({cancel:function(){}}),f=Object(i["ref"])({cancel:function(){}}),p=function(){var t=e.target,n=CN(t),r=wN(t);a.value!==f.value.element&&(f.value.cancel(),f.value.element=a.value,f.value.cancel=bN(a.value,l)),o.value.element===n&&mN(o.value.point,r)&&Nb(o.value.align,e.align)||(l(),d.value.element!==n&&(d.value.cancel(),d.value.element=n,d.value.cancel=bN(n,l)))};Object(i["onMounted"])((function(){Object(i["nextTick"])((function(){p()}))})),Object(i["onUpdated"])((function(){Object(i["nextTick"])((function(){p()}))})),Object(i["watch"])((function(){return e.disabled}),(function(e){e?s():l()}),{immediate:!0,flush:"post"});var v=Object(i["ref"])(null);return Object(i["watch"])((function(){return e.monitorWindowResize}),(function(e){e?v.value||(v.value=Fw(window,"resize",l)):v.value&&(v.value.remove(),v.value=null)}),{flush:"post"}),Object(i["onUnmounted"])((function(){d.value.cancel(),f.value.cancel(),v.value&&v.value.remove(),s()})),n({forceAlign:function(){return l(!0)}}),function(){var e=null===r||void 0===r?void 0:r.default();return e?NO(e[0],{ref:a},!0,!0):null}}}),NN=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"PopupInner",inheritAttrs:!1,props:Iw,emits:["mouseenter","mouseleave","mousedown","touchstart","align"],setup:function(e,t){var n,r=t.expose,o=t.attrs,a=t.slots,c=Object(i["ref"])(),l=Object(i["ref"])(),d=Object(i["ref"])(),f=Qw(Object(i["toRef"])(e,"stretch")),p=gl(f,2),v=p[0],h=p[1],m=function(){e.stretch&&h(e.getRootDomNode())},g=Object(i["ref"])(!1);Object(i["watch"])((function(){return e.visible}),(function(t){clearTimeout(n),t?n=setTimeout((function(){g.value=e.visible})):g.value=!1}),{immediate:!0});var b=zw(g,m),y=gl(b,2),O=y[0],C=y[1],w=Object(i["ref"])(),S=function(){return e.point?e.point:e.getRootDomNode},N=function(){var e;null===(e=c.value)||void 0===e||e.forceAlign()},M=function(t,n){var r,o=e.getClassNameFromAlign(n),i=d.value;(d.value!==o&&(d.value=o),"align"===O.value)&&(i!==o?Promise.resolve().then((function(){N()})):C((function(){var e;null===(e=w.value)||void 0===e||e.call(w)})),null===(r=e.onAlign)||void 0===r||r.call(e,t,n))},x=Object(i["computed"])((function(){var t="object"===u(e.animation)?e.animation:Rw(e);return["onAfterEnter","onAfterLeave"].forEach((function(e){var n=t[e];t[e]=function(e){C(),O.value="stable",null===n||void 0===n||n(e)}})),t})),j=function(){return new Promise((function(e){w.value=e}))};Object(i["watch"])([x,O],(function(){x.value||"motion"!==O.value||C()}),{immediate:!0}),r({forceAlign:N,getElement:function(){return l.value.$el||l.value}});var T=Object(i["computed"])((function(){var t;return null===(t=e.align)||void 0===t||!t.points||"align"!==O.value&&"stable"!==O.value}));return function(){var t,n=e.zIndex,r=e.align,u=e.prefixCls,f=e.destroyPopupOnHide,p=e.onMouseenter,h=e.onMouseleave,m=e.onTouchstart,b=void 0===m?function(){}:m,y=e.onMousedown,C=O.value,w=[Fe(Fe({},v.value),{},{zIndex:n,opacity:"motion"!==C&&"stable"!==C&&g.value?0:null,pointerEvents:g.value||"stable"===C?null:"none"}),o.style],N=kl(null===(t=a.default)||void 0===t?void 0:t.call(a,{visible:e.visible}));if(N.length>1){(function(){})();N=Object(i["createVNode"])("div",{class:"".concat(u,"-content")},[N])}var D=Qt(u,o.class,d.value),E=g.value||!e.visible,k=E?es(x.value.name,x.value):{};return Object(i["createVNode"])(i["Transition"],Fe(Fe({ref:l},k),{},{onBeforeEnter:j}),{default:function(){return!f||e.visible?Object(i["withDirectives"])(Object(i["createVNode"])(SN,{target:S(),key:"popup",ref:c,monitorWindowResize:!0,disabled:T.value,align:r,onAlign:M},{default:function(){return Object(i["createVNode"])("div",Fe(Fe({class:D,onMouseenter:p,onMouseleave:h,onMousedown:Object(i["withModifiers"])(y,["capture"])},s({},Pw?"onTouchstartPassive":"onTouchstart",Object(i["withModifiers"])(b,["capture"]))),{},{style:w}),[N])}}),[[i["vShow"],g.value]]):null}})}}}),MN=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"Popup",inheritAttrs:!1,props:Zw,setup:function(e,t){var n=t.attrs,r=t.slots,o=t.expose,a=Object(i["ref"])(!1),u=Object(i["ref"])(!1),c=Object(i["ref"])();return Object(i["watch"])([function(){return e.visible},function(){return e.mobile}],(function(){a.value=e.visible,e.visible&&e.mobile&&(u.value=!0)}),{immediate:!0,flush:"post"}),o({forceAlign:function(){var e;null===(e=c.value)||void 0===e||e.forceAlign()},getElement:function(){var e;return null===(e=c.value)||void 0===e?void 0:e.getElement()}}),function(){var t=Fe(Fe(Fe({},e),n),{},{visible:a.value}),o=u.value?Object(i["createVNode"])(Xw,Fe(Fe({},t),{},{mobile:e.mobile,ref:c}),{default:r.default}):Object(i["createVNode"])(NN,Fe(Fe({},t),{},{ref:c}),{default:r.default});return Object(i["createVNode"])("div",null,[Object(i["createVNode"])(Hw,t,null),o])}}});function xN(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function jN(e,t,n){var r=e[t]||{};return Fe(Fe({},r),n)}function TN(e,t,n,r){for(var o=n.points,i=Object.keys(e),a=0;a<i.length;a+=1){var u=i[a];if(xN(e[u].points,o,r))return"".concat(t,"-placement-").concat(u)}return""}var DN={methods:{setState:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n="function"===typeof e?e(this.$data,this.$props):e;if(this.getDerivedStateFromProps){var r=this.getDerivedStateFromProps(_l(this),Fe(Fe({},this.$data),n));if(null===r)return;n=Fe(Fe({},n),r||{})}Qc(this.$data,n),this._.isMounted&&this.$forceUpdate(),Object(i["nextTick"])((function(){t&&t()}))},__emit:function(){var e=[].slice.call(arguments,0),t=e[0];t="on".concat(t[0].toUpperCase()).concat(t.substring(1));var n=this.$props[t]||this.$attrs[t];if(e.length&&n)if(Array.isArray(n))for(var r=0,o=n.length;r<o;r++)n[r].apply(n,Ae(e.slice(1)));else n.apply(void 0,Ae(e.slice(1)))}}},EN=Symbol("TriggerContextKey"),kN=function(){var e=null;return Object(i["provide"])(EN,{setPortal:function(t){e=t},popPortal:!0}),function(){return e}},LN=function(e){return e?Object(i["inject"])(EN,{setPortal:function(){},popPortal:!1}):{setPortal:function(){},popPortal:!1}},YN=Symbol("PortalContextKey"),_N=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inTriggerContext:!0};Object(i["provide"])(YN,{inTriggerContext:t.inTriggerContext,shouldRender:Object(i["computed"])((function(){var t=e||{},n=t.sPopupVisible,r=t.popupRef,o=t.forceRender,i=t.autoDestroy,a=!1;return(n||r||o)&&(a=!0),!n&&i&&(a=!1),a}))})},AN=function(){_N({},{inTriggerContext:!1});var e=Object(i["inject"])(YN,{shouldRender:Object(i["computed"])((function(){return!1})),inTriggerContext:!1});return{shouldRender:Object(i["computed"])((function(){return e.shouldRender.value||!1===e.inTriggerContext}))}},PN=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"Portal",inheritAttrs:!1,props:{getContainer:Et.func.isRequired,didUpdate:Function},setup:function(e,t){var n,r=t.slots,o=!0,a=AN(),u=a.shouldRender;Object(i["onBeforeMount"])((function(){o=!1,u.value&&(n=e.getContainer())}));var c=Object(i["watch"])(u,(function(){u.value&&!n&&(n=e.getContainer()),n&&c()}));return Object(i["onUpdated"])((function(){Object(i["nextTick"])((function(){var t;u.value&&(null===(t=e.didUpdate)||void 0===t||t.call(e,e))}))})),Object(i["onBeforeUnmount"])((function(){n&&n.parentNode&&n.parentNode.removeChild(n)})),function(){return u.value?o?null===(e=r.default)||void 0===e?void 0:e.call(r):n?Object(i["createVNode"])(i["Teleport"],{to:n},r):null:null;var e}}});function FN(){}function IN(){return""}function BN(e){return e?e.ownerDocument:window.document}var ZN=["onClick","onMousedown","onTouchstart","onMouseenter","onMouseleave","onFocus","onBlur","onContextmenu"],RN=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"Trigger",mixins:[DN],inheritAttrs:!1,props:{action:Et.oneOfType([Et.string,Et.arrayOf(Et.string)]).def([]),showAction:Et.any.def([]),hideAction:Et.any.def([]),getPopupClassNameFromAlign:Et.any.def(IN),onPopupVisibleChange:Function,afterPopupVisibleChange:Et.func.def(FN),popup:Et.any,popupStyle:{type:Object,default:void 0},prefixCls:Et.string.def("rc-trigger-popup"),popupClassName:Et.string.def(""),popupPlacement:String,builtinPlacements:Et.object,popupTransitionName:String,popupAnimation:Et.any,mouseEnterDelay:Et.number.def(0),mouseLeaveDelay:Et.number.def(.1),zIndex:Number,focusDelay:Et.number.def(0),blurDelay:Et.number.def(.15),getPopupContainer:Function,getDocument:Et.func.def(BN),forceRender:{type:Boolean,default:void 0},destroyPopupOnHide:{type:Boolean,default:!1},mask:{type:Boolean,default:!1},maskClosable:{type:Boolean,default:!0},popupAlign:Et.object.def((function(){return{}})),popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:{type:Boolean,default:!1},maskTransitionName:String,maskAnimation:String,stretch:String,alignPoint:{type:Boolean,default:void 0},autoDestroy:{type:Boolean,default:!1},mobile:Object,getTriggerDOMNode:Function,tryPopPortal:Boolean},setup:function(e){var t=Object(i["computed"])((function(){var t=e.popupPlacement,n=e.popupAlign,r=e.builtinPlacements;return t&&r?jN(r,t,n):n})),n=LN(e.tryPopPortal),r=n.setPortal,o=n.popPortal,a=Object(i["ref"])(null),u=function(e){a.value=e};return{popPortal:o,setPortal:r,vcTriggerContext:Object(i["inject"])("vcTriggerContext",{}),popupRef:a,setPopupRef:u,triggerRef:Object(i["ref"])(null),align:t,focusTime:null,clickOutsideHandler:null,contextmenuOutsideHandler1:null,contextmenuOutsideHandler2:null,touchOutsideHandler:null,attachId:null,delayTimer:null,hasPopupMouseDown:!1,preClickTime:null,preTouchTime:null,mouseDownTimeout:null,childOriginEvents:{}}},data:function(){var e,t,n=this,r=this.$props;return t=void 0!==this.popupVisible?!!r.popupVisible:!!r.defaultPopupVisible,ZN.forEach((function(e){n["fire".concat(e)]=function(t){n.fireEvents(e,t)}})),null===(e=this.setPortal)||void 0===e||e.call(this,Object(i["createVNode"])(PN,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},{default:this.getComponent})),{prevPopupVisible:t,sPopupVisible:t,point:null}},watch:{popupVisible:function(e){void 0!==e&&(this.prevPopupVisible=this.sPopupVisible,this.sPopupVisible=e)}},created:function(){Object(i["provide"])("vcTriggerContext",{onPopupMouseDown:this.onPopupMouseDown}),_N(this)},deactivated:function(){this.setPopupVisible(!1)},mounted:function(){var e=this;this.$nextTick((function(){e.updatedCal()}))},updated:function(){var e=this;this.$nextTick((function(){e.updatedCal()}))},beforeUnmount:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),eC.cancel(this.attachId)},methods:{updatedCal:function(){var e,t=this.$props,n=this.$data;n.sPopupVisible?(this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextmenuToShow()||(e=t.getDocument(this.getRootDomNode()),this.clickOutsideHandler=Fw(e,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(e=e||t.getDocument(this.getRootDomNode()),this.touchOutsideHandler=Fw(e,"touchstart",this.onDocumentClick,!!Pw&&{passive:!1})),!this.contextmenuOutsideHandler1&&this.isContextmenuToShow()&&(e=e||t.getDocument(this.getRootDomNode()),this.contextmenuOutsideHandler1=Fw(e,"scroll",this.onContextmenuClose)),!this.contextmenuOutsideHandler2&&this.isContextmenuToShow()&&(this.contextmenuOutsideHandler2=Fw(window,"blur",this.onContextmenuClose))):this.clearOutsideHandler()},onMouseenter:function(e){var t=this.$props.mouseEnterDelay;this.fireEvents("onMouseenter",e),this.delaySetPopupVisible(!0,t,t?null:e)},onMouseMove:function(e){this.fireEvents("onMousemove",e),this.setPoint(e)},onMouseleave:function(e){this.fireEvents("onMouseleave",e),this.delaySetPopupVisible(!1,this.$props.mouseLeaveDelay)},onPopupMouseenter:function(){this.clearDelayTimer()},onPopupMouseleave:function(e){var t;e&&e.relatedTarget&&!e.relatedTarget.setTimeout&&xw(null===(t=this.popupRef)||void 0===t?void 0:t.getElement(),e.relatedTarget)||this.delaySetPopupVisible(!1,this.$props.mouseLeaveDelay)},onFocus:function(e){this.fireEvents("onFocus",e),this.clearDelayTimer(),this.isFocusToShow()&&(this.focusTime=Date.now(),this.delaySetPopupVisible(!0,this.$props.focusDelay))},onMousedown:function(e){this.fireEvents("onMousedown",e),this.preClickTime=Date.now()},onTouchstart:function(e){this.fireEvents("onTouchstart",e),this.preTouchTime=Date.now()},onBlur:function(e){xw(e.target,e.relatedTarget||document.activeElement)||(this.fireEvents("onBlur",e),this.clearDelayTimer(),this.isBlurToHide()&&this.delaySetPopupVisible(!1,this.$props.blurDelay))},onContextmenu:function(e){e.preventDefault(),this.fireEvents("onContextmenu",e),this.setPopupVisible(!0,e)},onContextmenuClose:function(){this.isContextmenuToShow()&&this.close()},onClick:function(e){if(this.fireEvents("onClick",e),this.focusTime){var t;if(this.preClickTime&&this.preTouchTime?t=Math.min(this.preClickTime,this.preTouchTime):this.preClickTime?t=this.preClickTime:this.preTouchTime&&(t=this.preTouchTime),Math.abs(t-this.focusTime)<20)return;this.focusTime=0}this.preClickTime=0,this.preTouchTime=0,this.isClickToShow()&&(this.isClickToHide()||this.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault(),e&&e.domEvent&&e.domEvent.preventDefault();var n=!this.$data.sPopupVisible;(this.isClickToHide()&&!n||n&&this.isClickToShow())&&this.setPopupVisible(!this.$data.sPopupVisible,e)},onPopupMouseDown:function(){var e=this,t=this.vcTriggerContext,n=void 0===t?{}:t;this.hasPopupMouseDown=!0,clearTimeout(this.mouseDownTimeout),this.mouseDownTimeout=setTimeout((function(){e.hasPopupMouseDown=!1}),0),n.onPopupMouseDown&&n.onPopupMouseDown.apply(n,arguments)},onDocumentClick:function(e){if(!this.$props.mask||this.$props.maskClosable){var t=e.target,n=this.getRootDomNode(),r=this.getPopupDomNode();xw(n,t)&&!this.isContextMenuOnly()||xw(r,t)||this.hasPopupMouseDown||this.delaySetPopupVisible(!1,.1)}},getPopupDomNode:function(){var e;return(null===(e=this.popupRef)||void 0===e?void 0:e.getElement())||null},getRootDomNode:function(){var e=this.$props.getTriggerDOMNode;if(e){var t=Yl(this.triggerRef);return Yl(e(t))}try{var n=Yl(this.triggerRef);if(n)return n}catch(r){}return Yl(this)},handleGetPopupClassFromAlign:function(e){var t=[],n=this.$props,r=n.popupPlacement,o=n.builtinPlacements,i=n.prefixCls,a=n.alignPoint,u=n.getPopupClassNameFromAlign;return r&&o&&t.push(TN(o,i,e,a)),u&&t.push(u(e)),t.join(" ")},getPopupAlign:function(){var e=this.$props,t=e.popupPlacement,n=e.popupAlign,r=e.builtinPlacements;return t&&r?jN(r,t,n):n},getComponent:function(){var e=this,t={};this.isMouseEnterToShow()&&(t.onMouseenter=this.onPopupMouseenter),this.isMouseLeaveToHide()&&(t.onMouseleave=this.onPopupMouseleave),t.onMousedown=this.onPopupMouseDown,t[Pw?"onTouchstartPassive":"onTouchstart"]=this.onPopupMouseDown;var n=this.handleGetPopupClassFromAlign,r=this.getRootDomNode,o=this.getContainer,a=this.$attrs,u=this.$props,c=u.prefixCls,l=u.destroyPopupOnHide,s=u.popupClassName,d=u.popupAnimation,f=u.popupTransitionName,p=u.popupStyle,v=u.mask,h=u.maskAnimation,m=u.maskTransitionName,g=u.zIndex,b=u.stretch,y=u.alignPoint,O=u.mobile,C=u.forceRender,w=this.$data,S=w.sPopupVisible,N=w.point,M=Fe(Fe({prefixCls:c,destroyPopupOnHide:l,visible:S,point:y?N:null,align:this.align,animation:d,getClassNameFromAlign:n,stretch:b,getRootDomNode:r,mask:v,zIndex:g,transitionName:f,maskAnimation:h,maskTransitionName:m,getContainer:o,class:s,style:p,onAlign:a.onPopupAlign||FN},t),{},{ref:this.setPopupRef,mobile:O,forceRender:C});return Object(i["createVNode"])(MN,M,{default:this.$slots.popup||function(){return Al(e,"popup")}})},attachParent:function(e){var t=this;eC.cancel(this.attachId);var n,r=this.$props,o=r.getPopupContainer,i=r.getDocument,a=this.getRootDomNode();o?(a||0===o.length)&&(n=o(a)):n=i(this.getRootDomNode()).body,n?n.appendChild(e):this.attachId=eC((function(){t.attachParent(e)}))},getContainer:function(){var e=this.$props,t=e.getDocument,n=t(this.getRootDomNode()).createElement("div");return n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.width="100%",this.attachParent(n),n},setPopupVisible:function(e,t){var n=this.alignPoint,r=this.sPopupVisible,o=this.onPopupVisibleChange;this.clearDelayTimer(),r!==e&&(El(this,"popupVisible")||this.setState({sPopupVisible:e,prevPopupVisible:r}),o&&o(e)),n&&t&&e&&this.setPoint(t)},setPoint:function(e){var t=this.$props.alignPoint;t&&e&&this.setState({point:{pageX:e.pageX,pageY:e.pageY}})},handlePortalUpdate:function(){this.prevPopupVisible!==this.sPopupVisible&&this.afterPopupVisibleChange(this.sPopupVisible)},delaySetPopupVisible:function(e,t,n){var r=this,o=1e3*t;if(this.clearDelayTimer(),o){var i=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=Yw((function(){r.setPopupVisible(e,i),r.clearDelayTimer()}),o)}else this.setPopupVisible(e,n)},clearDelayTimer:function(){this.delayTimer&&(Lw(this.delayTimer),this.delayTimer=null)},clearOutsideHandler:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextmenuOutsideHandler1&&(this.contextmenuOutsideHandler1.remove(),this.contextmenuOutsideHandler1=null),this.contextmenuOutsideHandler2&&(this.contextmenuOutsideHandler2.remove(),this.contextmenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)},createTwoChains:function(e){var t=function(){},n=Pl(this);return this.childOriginEvents[e]&&n[e]?this["fire".concat(e)]:(t=this.childOriginEvents[e]||n[e]||t,t)},isClickToShow:function(){var e=this.$props,t=e.action,n=e.showAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")},isContextMenuOnly:function(){var e=this.$props.action;return"contextmenu"===e||1===e.length&&"contextmenu"===e[0]},isContextmenuToShow:function(){var e=this.$props,t=e.action,n=e.showAction;return-1!==t.indexOf("contextmenu")||-1!==n.indexOf("contextmenu")},isClickToHide:function(){var e=this.$props,t=e.action,n=e.hideAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")},isMouseEnterToShow:function(){var e=this.$props,t=e.action,n=e.showAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseenter")},isMouseLeaveToHide:function(){var e=this.$props,t=e.action,n=e.hideAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseleave")},isFocusToShow:function(){var e=this.$props,t=e.action,n=e.showAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("focus")},isBlurToHide:function(){var e=this.$props,t=e.action,n=e.hideAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("blur")},forcePopupAlign:function(){var e;this.$data.sPopupVisible&&(null===(e=this.popupRef)||void 0===e||e.forceAlign())},fireEvents:function(e,t){this.childOriginEvents[e]&&this.childOriginEvents[e](t);var n=this.$props[e]||this.$attrs[e];n&&n(t)},close:function(){this.setPopupVisible(!1)}},render:function(){var e=this,t=this.$attrs,n=Bl(Ll(this)),r=this.$props.alignPoint,o=n[0];this.childOriginEvents=Pl(o);var a={key:"trigger"};this.isContextmenuToShow()?a.onContextmenu=this.onContextmenu:a.onContextmenu=this.createTwoChains("onContextmenu"),this.isClickToHide()||this.isClickToShow()?(a.onClick=this.onClick,a.onMousedown=this.onMousedown,a[Pw?"onTouchstartPassive":"onTouchstart"]=this.onTouchstart):(a.onClick=this.createTwoChains("onClick"),a.onMousedown=this.createTwoChains("onMousedown"),a[Pw?"onTouchstartPassive":"onTouchstart"]=this.createTwoChains("onTouchstart")),this.isMouseEnterToShow()?(a.onMouseenter=this.onMouseenter,r&&(a.onMousemove=this.onMouseMove)):a.onMouseenter=this.createTwoChains("onMouseenter"),this.isMouseLeaveToHide()?a.onMouseleave=this.onMouseleave:a.onMouseleave=this.createTwoChains("onMouseleave"),this.isFocusToShow()||this.isBlurToHide()?(a.onFocus=this.onFocus,a.onBlur=this.onBlur):(a.onFocus=this.createTwoChains("onFocus"),a.onBlur=function(t){!t||t.relatedTarget&&xw(t.target,t.relatedTarget)||e.createTwoChains("onBlur")(t)});var u=Qt(o&&o.props&&o.props.class,t.class);u&&(a.class=u);var c=NO(o,Fe(Fe({},a),{},{ref:"triggerRef"}),!0,!0);if(this.popPortal)return c;var l=Object(i["createVNode"])(PN,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},{default:this.getComponent});return Object(i["createVNode"])(i["Fragment"],null,[l,c])}}),HN=RN,VN=["empty"],XN=function(e){var t=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}}}},JN=Object(i["defineComponent"])({name:"SelectTrigger",inheritAttrs:!1,props:{dropdownAlign:Object,visible:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},dropdownClassName:String,dropdownStyle:Et.object,placement:String,empty:{type:Boolean,default:void 0},prefixCls:String,popupClassName:String,animation:String,transitionName:String,getPopupContainer:Function,dropdownRender:Function,containerWidth:Number,dropdownMatchSelectWidth:Et.oneOfType([Number,Boolean]).def(!0),popupElement:Et.any,direction:String,getTriggerDOMNode:Function,onPopupVisibleChange:Function,onPopupMouseEnter:Function},setup:function(e,t){var n=t.slots,r=t.attrs,o=t.expose,a=Object(i["computed"])((function(){var t=e.dropdownMatchSelectWidth;return XN(t)})),u=Object(i["ref"])();return o({getPopupElement:function(){return u.value}}),function(){var t=Fe(Fe({},e),r),o=t.empty,c=void 0!==o&&o,l=Kc(t,VN),d=l.visible,f=l.dropdownAlign,p=l.prefixCls,v=l.popupElement,h=l.dropdownClassName,m=l.dropdownStyle,g=l.direction,b=void 0===g?"ltr":g,y=l.placement,O=l.dropdownMatchSelectWidth,C=l.containerWidth,w=l.dropdownRender,S=l.animation,N=l.transitionName,M=l.getPopupContainer,x=l.getTriggerDOMNode,j=l.onPopupVisibleChange,T=l.onPopupMouseEnter,D="".concat(p,"-dropdown"),E=v;w&&(E=w({menuNode:v,props:e}));var k=S?"".concat(D,"-").concat(S):N,L=Fe({minWidth:"".concat(C,"px")},m);return"number"===typeof O?L.width="".concat(O,"px"):O&&(L.width="".concat(C,"px")),Object(i["createVNode"])(HN,Fe(Fe({},e),{},{showAction:j?["click"]:[],hideAction:j?["click"]:[],popupPlacement:y||("rtl"===b?"bottomRight":"bottomLeft"),builtinPlacements:a.value,prefixCls:D,popupTransitionName:k,popupAlign:f,popupVisible:d,getPopupContainer:M,popupClassName:Qt(h,s({},"".concat(D,"-empty"),c)),popupStyle:L,getTriggerDOMNode:x,onPopupVisibleChange:j}),{default:n.default,popup:function(){return Object(i["createVNode"])("div",{ref:u,onMouseenter:T},[E])}})}}}),zN=JN,QN={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=QN.F1&&t<=QN.F12)return!1;switch(t){case QN.ALT:case QN.CAPS_LOCK:case QN.CONTEXT_MENU:case QN.CTRL:case QN.DOWN:case QN.END:case QN.ESC:case QN.HOME:case QN.INSERT:case QN.LEFT:case QN.MAC_FF_META:case QN.META:case QN.NUMLOCK:case QN.NUM_CENTER:case QN.PAGE_DOWN:case QN.PAGE_UP:case QN.PAUSE:case QN.PRINT_SCREEN:case QN.RIGHT:case QN.SHIFT:case QN.UP:case QN.WIN_KEY:case QN.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=QN.ZERO&&e<=QN.NINE)return!0;if(e>=QN.NUM_ZERO&&e<=QN.NUM_MULTIPLY)return!0;if(e>=QN.A&&e<=QN.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case QN.SPACE:case QN.QUESTION_MARK:case QN.NUM_PLUS:case QN.NUM_MINUS:case QN.NUM_PERIOD:case QN.NUM_DIVISION:case QN.SEMICOLON:case QN.DASH:case QN.EQUALS:case QN.COMMA:case QN.PERIOD:case QN.SLASH:case QN.APOSTROPHE:case QN.SINGLE_QUOTE:case QN.OPEN_SQUARE_BRACKET:case QN.BACKSLASH:case QN.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},WN=QN,KN=function(e,t){var n,r,o=t.slots,a=e.class,u=e.customizeIcon,c=e.customizeIconProps,l=e.onMousedown,s=e.onClick;return r="function"===typeof u?u(c):u,Object(i["createVNode"])("span",{class:a,onMousedown:function(e){e.preventDefault(),l&&l(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:s,"aria-hidden":!0},[void 0!==r?r:Object(i["createVNode"])("span",{class:a.split(/\s+/).map((function(e){return"".concat(e,"-icon")}))},[null===(n=o.default)||void 0===n?void 0:n.call(o)])])};KN.inheritAttrs=!1,KN.displayName="TransBtn",KN.props={class:String,customizeIcon:Et.any,customizeIconProps:Et.any,onMousedown:Function,onClick:Function};var UN=KN,GN={inputRef:Et.any,prefixCls:String,id:String,inputElement:Et.VueNode,disabled:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,editable:{type:Boolean,default:void 0},activeDescendantId:String,value:String,open:{type:Boolean,default:void 0},tabindex:Et.oneOfType([Et.number,Et.string]),attrs:Et.object,onKeydown:{type:Function},onMousedown:{type:Function},onChange:{type:Function},onPaste:{type:Function},onCompositionstart:{type:Function},onCompositionend:{type:Function},onFocus:{type:Function},onBlur:{type:Function}},$N=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"Input",inheritAttrs:!1,props:GN,setup:function(e){var t=null,n=Object(i["inject"])("VCSelectContainerEvent");return function(){var r,o,a=e.prefixCls,u=e.id,c=e.inputElement,l=e.disabled,s=e.tabindex,d=e.autofocus,f=e.autocomplete,p=e.editable,v=e.activeDescendantId,h=e.value,m=e.onKeydown,g=e.onMousedown,b=e.onChange,y=e.onPaste,O=e.onCompositionstart,C=e.onCompositionend,w=e.onFocus,S=e.onBlur,N=e.open,M=e.inputRef,x=e.attrs,j=c||Object(i["withDirectives"])(Object(i["createVNode"])("input",null,null),[[vO]]),T=j.props||{},D=T.onKeydown,E=T.onInput,k=T.onFocus,L=T.onBlur,Y=T.onMousedown,_=T.onCompositionstart,A=T.onCompositionend,P=T.style;return j=NO(j,Qc(Fe(Fe(Fe({type:"search"},T),{},{id:u,ref:M,disabled:l,tabindex:s,autocomplete:f||"off",autofocus:d,class:Qt("".concat(a,"-selection-search-input"),null===(r=j)||void 0===r||null===(o=r.props)||void 0===o?void 0:o.class),role:"combobox","aria-expanded":N,"aria-haspopup":"listbox","aria-owns":"".concat(u,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(u,"_list"),"aria-activedescendant":v},x),{},{value:p?h:"",readonly:!p,unselectable:p?null:"on",style:Fe(Fe({},P),{},{opacity:p?null:0}),onKeydown:function(e){m(e),D&&D(e)},onMousedown:function(e){g(e),Y&&Y(e)},onInput:function(e){b(e),E&&E(e)},onCompositionstart:function(e){O(e),_&&_(e)},onCompositionend:function(e){C(e),A&&A(e)},onPaste:y,onFocus:function(){clearTimeout(t),k&&k(arguments.length<=0?void 0:arguments[0]),w&&w(arguments.length<=0?void 0:arguments[0]),null===n||void 0===n||n.focus(arguments.length<=0?void 0:arguments[0])},onBlur:function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];t=setTimeout((function(){L&&L(r[0]),S&&S(r[0]),null===n||void 0===n||n.blur(r[0])}),100)}}),"textarea"===j.type?{}:{type:"search"}),!0,!0),j}}}),qN=$N,eM="accept acceptcharset accesskey action allowfullscreen allowtransparency\nalt async autocomplete autofocus autoplay capture cellpadding cellspacing challenge\ncharset checked classid classname colspan cols content contenteditable contextmenu\ncontrols coords crossorigin data datetime default defer dir disabled download draggable\nenctype form formaction formenctype formmethod formnovalidate formtarget frameborder\nheaders height hidden high href hreflang htmlfor for httpequiv icon id inputmode integrity\nis keyparams keytype kind label lang list loop low manifest marginheight marginwidth max maxlength media\nmediagroup method min minlength multiple muted name novalidate nonce open\noptimum pattern placeholder poster preload radiogroup readonly rel required\nreversed role rowspan rows sandbox scope scoped scrolling seamless selected\nshape size sizes span spellcheck src srcdoc srclang srcset start step style\nsummary tabindex target title type usemap value width wmode wrap",tM="onCopy onCut onPaste onCompositionend onCompositionstart onCompositionupdate onKeydown\n onKeypress onKeyup onFocus onBlur onChange onInput onSubmit onClick onContextmenu onDoubleclick onDblclick\n onDrag onDragend onDragenter onDragexit onDragleave onDragover onDragstart onDrop onMousedown\n onMouseenter onMouseleave onMousemove onMouseout onMouseover onMouseup onSelect onTouchcancel\n onTouchend onTouchmove onTouchstart onTouchstartPassive onTouchmovePassive onScroll onWheel onAbort onCanplay onCanplaythrough\n onDurationchange onEmptied onEncrypted onEnded onError onLoadeddata onLoadedmetadata\n onLoadstart onPause onPlay onPlaying onProgress onRatechange onSeeked onSeeking onStalled onSuspend onTimeupdate onVolumechange onWaiting onLoad onError",nM="".concat(eM," ").concat(tM).split(/[\s\n]+/),rM="aria-",oM="data-";function iM(e,t){return 0===e.indexOf(t)}function aM(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=!1===n?{aria:!0,data:!0,attr:!0}:!0===n?{aria:!0}:Fe({},n);var r={};return Object.keys(e).forEach((function(n){(t.aria&&("role"===n||iM(n,rM))||t.data&&iM(n,oM)||t.attr&&(nM.includes(n)||nM.includes(n.toLowerCase())))&&(r[n]=e[n])})),r}var uM=Symbol("OverflowContextProviderKey"),cM=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"OverflowContextProvider",inheritAttrs:!1,props:{value:{type:Object}},setup:function(e,t){var n=t.slots;return Object(i["provide"])(uM,Object(i["computed"])((function(){return e.value}))),function(){var e;return null===(e=n.default)||void 0===e?void 0:e.call(n)}}}),lM=function(){return Object(i["inject"])(uM,Object(i["computed"])((function(){return null})))},sM=["prefixCls","invalidate","item","renderItem","responsive","registerSize","itemKey","display","order","component"],dM=void 0,fM=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"Item",props:{prefixCls:String,item:Et.any,renderItem:Function,responsive:Boolean,itemKey:{type:[String,Number]},registerSize:Function,display:Boolean,order:Number,component:Et.any,invalidate:Boolean},setup:function(e,t){var n=t.slots,r=t.expose,o=Object(i["computed"])((function(){return e.responsive&&!e.display})),a=Object(i["ref"])();function u(t){e.registerSize(e.itemKey,t)}return r({itemNodeRef:a}),Object(i["onUnmounted"])((function(){u(null)})),function(){var t,r,c=e.prefixCls,l=e.invalidate,s=e.item,d=e.renderItem,f=e.responsive,p=(e.registerSize,e.itemKey,e.display,e.order),v=e.component,h=void 0===v?"div":v,m=Kc(e,sM),g=null===(t=n.default)||void 0===t?void 0:t.call(n),b=d&&s!==dM?d(s):g;l||(r={opacity:o.value?0:1,height:o.value?0:dM,overflowY:o.value?"hidden":dM,order:f?p:dM,pointerEvents:o.value?"none":dM,position:o.value?"absolute":dM});var y={};return o.value&&(y["aria-hidden"]=!0),Object(i["createVNode"])(XC,{disabled:!f,onResize:function(e){var t=e.offsetWidth;u(t)}},{default:function(){return Object(i["createVNode"])(h,Fe(Fe(Fe({class:Qt(!l&&c),style:r},y),m),{},{ref:a}),{default:function(){return[b]}})}})}}}),pM=["component"],vM=["className"],hM=["class"],mM=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"RawItem",inheritAttrs:!1,props:{component:Et.any,title:Et.any,id:String,onMouseenter:{type:Function},onMouseleave:{type:Function},onClick:{type:Function},onKeydown:{type:Function},onFocus:{type:Function}},setup:function(e,t){var n=t.slots,r=t.attrs,o=lM();return function(){if(!o.value){var t,a=e.component,u=void 0===a?"div":a,c=Kc(e,pM);return Object(i["createVNode"])(u,Fe(Fe({},c),r),{default:function(){return[null===(t=n.default)||void 0===t?void 0:t.call(n)]}})}var l=o.value,s=l.className,d=Kc(l,vM),f=r.class,p=Kc(r,hM);return Object(i["createVNode"])(cM,{value:null},{default:function(){return[Object(i["createVNode"])(fM,Fe(Fe(Fe({class:Qt(s,f)},d),p),e),n)]}})}}}),gM=["class","style"],bM="responsive",yM="invalidate";function OM(e){return"+ ".concat(e.length," ...")}var CM=function(){return{id:String,prefixCls:String,data:Array,itemKey:[String,Number,Function],itemWidth:{type:Number,default:10},renderItem:Function,renderRawItem:Function,maxCount:[Number,String],renderRest:Function,renderRawRest:Function,suffix:Et.any,component:String,itemComponent:Et.any,onVisibleChange:Function,ssr:String,onMousedown:Function}},wM=Object(i["defineComponent"])({name:"Overflow",inheritAttrs:!1,props:CM(),emits:["visibleChange"],setup:function(e,t){var n=t.attrs,r=t.emit,o=t.slots,a=Object(i["computed"])((function(){return"full"===e.ssr})),u=Object(i["ref"])(null),c=Object(i["computed"])((function(){return u.value||0})),l=Object(i["ref"])(new Map),s=Object(i["ref"])(0),d=Object(i["ref"])(0),f=Object(i["ref"])(0),p=Object(i["ref"])(null),v=Object(i["ref"])(null),h=Object(i["computed"])((function(){return null===v.value&&a.value?Number.MAX_SAFE_INTEGER:v.value||0})),m=Object(i["ref"])(!1),g=Object(i["computed"])((function(){return"".concat(e.prefixCls,"-item")})),b=Object(i["computed"])((function(){return Math.max(s.value,d.value)})),y=Object(i["computed"])((function(){return!(!e.data.length||e.maxCount!==bM)})),O=Object(i["computed"])((function(){return e.maxCount===yM})),C=Object(i["computed"])((function(){return y.value||"number"===typeof e.maxCount&&e.data.length>e.maxCount})),w=Object(i["computed"])((function(){var t=e.data;return y.value?t=null===u.value&&a.value?e.data:e.data.slice(0,Math.min(e.data.length,c.value/e.itemWidth)):"number"===typeof e.maxCount&&(t=e.data.slice(0,e.maxCount)),t})),S=Object(i["computed"])((function(){return y.value?e.data.slice(h.value+1):e.data.slice(w.value.length)})),N=function(t,n){var r;return"function"===typeof e.itemKey?e.itemKey(t):null!==(r=e.itemKey&&(null===t||void 0===t?void 0:t[e.itemKey]))&&void 0!==r?r:n},M=Object(i["computed"])((function(){return e.renderItem||function(e){return e}})),x=function(t,n){v.value=t,n||(m.value=t<e.data.length-1,r("visibleChange",t))},j=function(e,t){u.value=t.clientWidth},T=function(e,t){var n=new Map(l.value);null===t?n.delete(e):n.set(e,t),l.value=n},D=function(e,t){s.value=d.value,d.value=t},E=function(e,t){f.value=t},k=function(e){return l.value.get(N(w.value[e],e))};return Object(i["watch"])([c,l,d,f,function(){return e.itemKey},w],(function(){if(c.value&&b.value&&w.value){var t=f.value,n=w.value.length,r=n-1;if(!n)return x(0),void(p.value=null);for(var o=0;o<n;o+=1){var i=k(o);if(void 0===i){x(o-1,!0);break}if(t+=i,0===r&&t<=c.value||o===r-1&&t+k(r)<=c.value){x(r),p.value=null;break}if(t+b.value>c.value){x(o-1),p.value=t-i-f.value+d.value;break}}e.suffix&&k(0)+f.value>c.value&&(p.value=null)}})),function(){var t=m.value&&!!S.value.length,r=e.itemComponent,a=e.renderRawItem,u=e.renderRawRest,c=e.renderRest,l=e.prefixCls,s=void 0===l?"rc-overflow":l,d=e.suffix,f=e.component,v=void 0===f?"div":f,b=e.id,x=e.onMousedown,k=n.class,L=n.style,Y=Kc(n,gM),_={};null!==p.value&&y.value&&(_={position:"absolute",left:"".concat(p.value,"px"),top:0});var A={prefixCls:g.value,responsive:y.value,component:r,invalidate:O.value},P=a?function(e,t){var n=N(e,t);return Object(i["createVNode"])(cM,{key:n,value:Fe(Fe({},A),{},{order:t,item:e,itemKey:n,registerSize:T,display:t<=h.value})},{default:function(){return[a(e,t)]}})}:function(e,t){var n=N(e,t);return Object(i["createVNode"])(fM,Fe(Fe({},A),{},{order:t,key:n,item:e,renderItem:M.value,itemKey:n,registerSize:T,display:t<=h.value}),null)},F=function(){return null},I={order:t?h.value:Number.MAX_SAFE_INTEGER,className:"".concat(g.value," ").concat(g.value,"-rest"),registerSize:D,display:t};if(u)u&&(F=function(){return Object(i["createVNode"])(cM,{value:Fe(Fe({},A),I)},{default:function(){return[u(S.value)]}})});else{var B=c||OM;F=function(){return Object(i["createVNode"])(fM,Fe(Fe({},A),I),{default:function(){return"function"===typeof B?B(S.value):B}})}}var Z=function(){var e;return Object(i["createVNode"])(v,Fe({id:b,class:Qt(!O.value&&s,k),style:L,onMousedown:x},Y),{default:function(){return[w.value.map(P),C.value?F():null,d&&Object(i["createVNode"])(fM,Fe(Fe({},A),{},{order:h.value,class:"".concat(g.value,"-suffix"),registerSize:E,display:!0,style:_}),{default:function(){return d}}),null===(e=o.default)||void 0===e?void 0:e.call(o)]}})};return Object(i["createVNode"])(XC,{disabled:!y.value,onResize:j},{default:Z})}}});wM.Item=mM,wM.RESPONSIVE=bM,wM.INVALIDATE=yM;var SM=wM,NM=SM,MM=Symbol("TreeSelectLegacyContextPropsKey");function xM(e){return Object(i["provide"])(MM,e)}function jM(){return Object(i["inject"])(MM,{})}var TM={id:String,prefixCls:String,values:Et.array,open:{type:Boolean,default:void 0},searchValue:String,inputRef:Et.any,placeholder:Et.any,disabled:{type:Boolean,default:void 0},mode:String,showSearch:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,activeDescendantId:String,tabindex:Et.oneOfType([Et.number,Et.string]),removeIcon:Et.any,choiceTransitionName:String,maxTagCount:Et.oneOfType([Et.number,Et.string]),maxTagTextLength:Number,maxTagPlaceholder:Et.any.def((function(){return function(e){return"+ ".concat(e.length," ...")}})),tagRender:Function,onToggleOpen:{type:Function},onRemove:Function,onInputChange:Function,onInputPaste:Function,onInputKeyDown:Function,onInputMouseDown:Function,onInputCompositionStart:Function,onInputCompositionEnd:Function},DM=function(e){e.preventDefault(),e.stopPropagation()},EM=Object(i["defineComponent"])({name:"MultipleSelectSelector",inheritAttrs:!1,props:TM,setup:function(e){var t=Object(i["ref"])(),n=Object(i["ref"])(0),r=Object(i["ref"])(!1),o=jM(),a=Object(i["computed"])((function(){return"".concat(e.prefixCls,"-selection")})),u=Object(i["computed"])((function(){return e.open||"tags"===e.mode?e.searchValue:""})),c=Object(i["computed"])((function(){return"tags"===e.mode||e.showSearch&&(e.open||r.value)}));function l(t,n,r,o,u){return Object(i["createVNode"])("span",{class:Qt("".concat(a.value,"-item"),s({},"".concat(a.value,"-item-disabled"),r)),title:"string"===typeof t||"number"===typeof t?t.toString():void 0},[Object(i["createVNode"])("span",{class:"".concat(a.value,"-item-content")},[n]),o&&Object(i["createVNode"])(UN,{class:"".concat(a.value,"-item-remove"),onMousedown:DM,onClick:u,customizeIcon:e.removeIcon},{default:function(){return[Object(i["createTextVNode"])("×")]}})])}function d(t,n,r,a,u,c){var l,s=function(t){DM(t),e.onToggleOpen(!open)},d=c;o.keyEntities&&(d=(null===(l=o.keyEntities[t])||void 0===l?void 0:l.node)||{});return Object(i["createVNode"])("span",{key:t,onMousedown:s},[e.tagRender({label:n,value:t,disabled:r,closable:a,onClose:u,option:d})])}function f(t){var n=t.disabled,r=t.label,o=t.value,i=t.option,a=!e.disabled&&!n,u=r;if("number"===typeof e.maxTagTextLength&&("string"===typeof r||"number"===typeof r)){var c=String(u);c.length>e.maxTagTextLength&&(u="".concat(c.slice(0,e.maxTagTextLength),"..."))}var s=function(n){var r;n&&n.stopPropagation(),null===(r=e.onRemove)||void 0===r||r.call(e,t)};return"function"===typeof e.tagRender?d(o,u,n,a,s,i):l(r,u,n,a,s)}function p(t){var n=e.maxTagPlaceholder,r=void 0===n?function(e){return"+ ".concat(e.length," ...")}:n,o="function"===typeof r?r(t):r;return l(o,o,!1)}return Object(i["onMounted"])((function(){Object(i["watch"])(u,(function(){n.value=t.value.scrollWidth}),{flush:"post",immediate:!0})})),function(){var o=e.id,l=e.prefixCls,s=e.values,d=e.open,v=e.inputRef,h=e.placeholder,m=e.disabled,g=e.autofocus,b=e.autocomplete,y=e.activeDescendantId,O=e.tabindex,C=e.onInputChange,w=e.onInputPaste,S=e.onInputKeyDown,N=e.onInputMouseDown,M=e.onInputCompositionStart,x=e.onInputCompositionEnd,j=Object(i["createVNode"])("div",{class:"".concat(a.value,"-search"),style:{width:n.value+"px"},key:"input"},[Object(i["createVNode"])(qN,{inputRef:v,open:d,prefixCls:l,id:o,inputElement:null,disabled:m,autofocus:g,autocomplete:b,editable:c.value,activeDescendantId:y,value:u.value,onKeydown:S,onMousedown:N,onChange:C,onPaste:w,onCompositionstart:M,onCompositionend:x,tabindex:O,attrs:aM(e,!0),onFocus:function(){return r.value=!0},onBlur:function(){return r.value=!1}},null),Object(i["createVNode"])("span",{ref:t,class:"".concat(a.value,"-search-mirror"),"aria-hidden":!0},[u.value,Object(i["createTextVNode"])(" ")])]),T=Object(i["createVNode"])(NM,{prefixCls:"".concat(a.value,"-overflow"),data:s,renderItem:f,renderRest:p,suffix:j,itemKey:"key",maxCount:e.maxTagCount,key:"overflow"},null);return Object(i["createVNode"])(i["Fragment"],null,[T,!s.length&&!u.value&&Object(i["createVNode"])("span",{class:"".concat(a.value,"-placeholder")},[h])])}}}),kM=EM,LM={inputElement:Et.any,id:String,prefixCls:String,values:Et.array,open:{type:Boolean,default:void 0},searchValue:String,inputRef:Et.any,placeholder:Et.any,disabled:{type:Boolean,default:void 0},mode:String,showSearch:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,activeDescendantId:String,tabindex:Et.oneOfType([Et.number,Et.string]),activeValue:String,backfill:{type:Boolean,default:void 0},optionLabelRender:Function,onInputChange:Function,onInputPaste:Function,onInputKeyDown:Function,onInputMouseDown:Function,onInputCompositionStart:Function,onInputCompositionEnd:Function},YM=Object(i["defineComponent"])({name:"SingleSelector",setup:function(e){var t=Object(i["ref"])(!1),n=Object(i["computed"])((function(){return"combobox"===e.mode})),r=Object(i["computed"])((function(){return n.value||e.showSearch})),o=Object(i["computed"])((function(){var r=e.searchValue||"";return n.value&&e.activeValue&&!t.value&&(r=e.activeValue),r})),a=jM();Object(i["watch"])([n,function(){return e.activeValue}],(function(){n.value&&(t.value=!1)}),{immediate:!0});var u=Object(i["computed"])((function(){return!("combobox"!==e.mode&&!e.open&&!e.showSearch)&&!!o.value})),c=Object(i["computed"])((function(){var t=e.values[0];return!t||"string"!==typeof t.label&&"number"!==typeof t.label?void 0:t.label.toString()})),l=function(){if(e.values[0])return null;var t=u.value?{visibility:"hidden"}:void 0;return Object(i["createVNode"])("span",{class:"".concat(e.prefixCls,"-selection-placeholder"),style:t},[e.placeholder])};return function(){var s,d=e.inputElement,f=e.prefixCls,p=e.id,v=e.values,h=e.inputRef,m=e.disabled,g=e.autofocus,b=e.autocomplete,y=e.activeDescendantId,O=e.open,C=e.tabindex,w=e.optionLabelRender,S=e.onInputKeyDown,N=e.onInputMouseDown,M=e.onInputChange,x=e.onInputPaste,j=e.onInputCompositionStart,T=e.onInputCompositionEnd,D=v[0],E=null;if(D&&a.customSlots){var k,L,Y,_=null!==(k=D.key)&&void 0!==k?k:D.value,A=(null===(L=a.keyEntities[_])||void 0===L?void 0:L.node)||{};E=a.customSlots[null===(Y=A.slots)||void 0===Y?void 0:Y.title]||a.customSlots.title||D.label,"function"===typeof E&&(E=E(A))}else E=w&&D?w(D.option):null===D||void 0===D?void 0:D.label;return Object(i["createVNode"])(i["Fragment"],null,[Object(i["createVNode"])("span",{class:"".concat(f,"-selection-search")},[Object(i["createVNode"])(qN,{inputRef:h,prefixCls:f,id:p,open:O,inputElement:d,disabled:m,autofocus:g,autocomplete:b,editable:r.value,activeDescendantId:y,value:o.value,onKeydown:S,onMousedown:N,onChange:function(e){t.value=!0,M(e)},onPaste:x,onCompositionstart:j,onCompositionend:T,tabindex:C,attrs:aM(e,!0)},null)]),!n.value&&D&&!u.value&&Object(i["createVNode"])("span",{class:"".concat(f,"-selection-item"),title:c.value},[Object(i["createVNode"])(i["Fragment"],{key:null!==(s=D.key)&&void 0!==s?s:D.value},[E])]),l()])}}});YM.props=LM,YM.inheritAttrs=!1;var _M=YM;function AM(e){return![WN.ESC,WN.SHIFT,WN.BACKSPACE,WN.TAB,WN.WIN_KEY,WN.ALT,WN.META,WN.WIN_KEY_RIGHT,WN.CTRL,WN.SEMICOLON,WN.EQUALS,WN.CAPS_LOCK,WN.CONTEXT_MENU,WN.F1,WN.F2,WN.F3,WN.F4,WN.F5,WN.F6,WN.F7,WN.F8,WN.F9,WN.F10,WN.F11,WN.F12].includes(e)}function PM(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,n=null;function r(r){(r||null===n)&&(n=r),clearTimeout(e),e=setTimeout((function(){n=null}),t)}return Object(i["onBeforeUnmount"])((function(){clearTimeout(e)})),[function(){return n},r]}function FM(){var e=function e(t){e.current=t};return e}var IM=FM,BM=Object(i["defineComponent"])({name:"Selector",inheritAttrs:!1,props:{id:String,prefixCls:String,showSearch:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},values:Et.array,multiple:{type:Boolean,default:void 0},mode:String,searchValue:String,activeValue:String,inputElement:Et.any,autofocus:{type:Boolean,default:void 0},activeDescendantId:String,tabindex:Et.oneOfType([Et.number,Et.string]),disabled:{type:Boolean,default:void 0},placeholder:Et.any,removeIcon:Et.any,maxTagCount:Et.oneOfType([Et.number,Et.string]),maxTagTextLength:Number,maxTagPlaceholder:Et.any,tagRender:Function,optionLabelRender:Function,tokenWithEnter:{type:Boolean,default:void 0},choiceTransitionName:String,onToggleOpen:{type:Function},onSearch:Function,onSearchSubmit:Function,onRemove:Function,onInputKeyDown:{type:Function},domRef:Function},setup:function(e,t){var n=t.expose,r=IM(),o=!1,a=PM(0),u=gl(a,2),c=u[0],l=u[1],s=function(t){var n=t.which;n!==WN.UP&&n!==WN.DOWN||t.preventDefault(),e.onInputKeyDown&&e.onInputKeyDown(t),n!==WN.ENTER||"tags"!==e.mode||o||e.open||e.onSearchSubmit(t.target.value),AM(n)&&e.onToggleOpen(!0)},d=function(){l(!0)},f=null,p=function(t){!1!==e.onSearch(t,!0,o)&&e.onToggleOpen(!0)},v=function(){o=!0},h=function(t){o=!1,"combobox"!==e.mode&&p(t.target.value)},m=function(t){var n=t.target.value;if(e.tokenWithEnter&&f&&/[\r\n]/.test(f)){var r=f.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");n=n.replace(r,f)}f=null,p(n)},g=function(e){var t=e.clipboardData,n=t.getData("text");f=n},b=function(e){var t=e.target;if(t!==r.current){var n=void 0!==document.body.style.msTouchAction;n?setTimeout((function(){r.current.focus()})):r.current.focus()}},y=function(t){var n=c();t.target===r.current||n||t.preventDefault(),("combobox"===e.mode||e.showSearch&&n)&&e.open||(e.open&&e.onSearch("",!0,!1),e.onToggleOpen())};return n({focus:function(){r.current.focus()},blur:function(){r.current.blur()}}),function(){var t=e.prefixCls,n=e.domRef,o=e.mode,a={inputRef:r,onInputKeyDown:s,onInputMouseDown:d,onInputChange:m,onInputPaste:g,onInputCompositionStart:v,onInputCompositionEnd:h},u="multiple"===o||"tags"===o?Object(i["createVNode"])(kM,Fe(Fe({},e),a),null):Object(i["createVNode"])(_M,Fe(Fe({},e),a),null);return Object(i["createVNode"])("div",{ref:n,class:"".concat(t,"-selector"),onClick:b,onMousedown:y},[u])}}}),ZM=BM;function RM(e,t,n){function r(r){var o,i,a,u=r.target;u.shadowRoot&&r.composed&&(u=r.composedPath()[0]||u);var c=[null===(o=e[0])||void 0===o?void 0:o.value,null===(i=e[1])||void 0===i||null===(a=i.value)||void 0===a?void 0:a.getPopupElement()];t.value&&c.every((function(e){return e&&!e.contains(u)&&e!==u}))&&n(!1)}Object(i["onMounted"])((function(){window.addEventListener("mousedown",r)})),Object(i["onBeforeUnmount"])((function(){window.removeEventListener("mousedown",r)}))}function HM(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,n=Object(i["ref"])(!1),r=function(){clearTimeout(e)};Object(i["onMounted"])((function(){r()}));var o=function(o,i){r(),e=setTimeout((function(){n.value=o,i&&i()}),t)};return[n,o,r]}var VM=Symbol("BaseSelectContextKey");function XM(e){return Object(i["provide"])(VM,e)}function JM(){return Object(i["inject"])(VM,{})}var zM=function(){if("undefined"===typeof navigator||"undefined"===typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return!(!/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)&&!/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null===e||void 0===e?void 0:e.substr(0,4)))};function QM(e){if(!Object(i["isRef"])(e))return Object(i["reactive"])(e);var t=new Proxy({},{get:function(t,n,r){return Reflect.get(e.value,n,r)},set:function(t,n,r){return e.value[n]=r,!0},deleteProperty:function(t,n){return Reflect.deleteProperty(e.value,n)},has:function(t,n){return Reflect.has(e.value,n)},ownKeys:function(){return Object.keys(e.value)},getOwnPropertyDescriptor:function(){return{enumerable:!0,configurable:!0}}});return Object(i["reactive"])(t)}var WM=["prefixCls","id","open","defaultOpen","mode","showSearch","searchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","disabled","loading","getInputElement","getPopupContainer","placement","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","optionLabelRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyup","onKeydown","onMousedown","onClear","omitDomProps","getRawInputElement","displayValues","onDisplayValuesChange","emptyOptions","activeDescendantId","activeValue","OptionList"],KM=["value","onChange","removeIcon","placeholder","autofocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabindex","OptionList","notFoundContent"],UM=function(){return{prefixCls:String,id:String,omitDomProps:Array,displayValues:Array,onDisplayValuesChange:Function,activeValue:String,activeDescendantId:String,onActiveValueChange:Function,searchValue:String,onSearch:Function,onSearchSplit:Function,maxLength:Number,OptionList:Et.any,emptyOptions:Boolean}},GM=function(){return{showSearch:{type:Boolean,default:void 0},tagRender:{type:Function},optionLabelRender:{type:Function},direction:{type:String},tabindex:Number,autofocus:Boolean,notFoundContent:Et.any,placeholder:Et.any,onClear:Function,choiceTransitionName:String,mode:String,disabled:{type:Boolean,default:void 0},loading:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:void 0},onDropdownVisibleChange:{type:Function},getInputElement:{type:Function},getRawInputElement:{type:Function},maxTagTextLength:Number,maxTagCount:{type:[String,Number]},maxTagPlaceholder:Et.any,tokenSeparators:{type:Array},allowClear:{type:Boolean,default:void 0},showArrow:{type:Boolean,default:void 0},inputIcon:Et.any,clearIcon:Et.any,removeIcon:Et.any,animation:String,transitionName:String,dropdownStyle:{type:Object},dropdownClassName:String,dropdownMatchSelectWidth:{type:[Boolean,Number],default:void 0},dropdownRender:{type:Function},dropdownAlign:Object,placement:{type:String},getPopupContainer:{type:Function},showAction:{type:Array},onBlur:{type:Function},onFocus:{type:Function},onKeyup:Function,onKeydown:Function,onMousedown:Function,onPopupScroll:Function,onInputKeyDown:Function,onMouseenter:Function,onMouseleave:Function,onClick:Function}},$M=function(){return Fe(Fe({},UM()),GM())};function qM(e){return"tags"===e||"multiple"===e}var ex=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"BaseSelect",inheritAttrs:!1,props:Pb($M(),{showAction:[],notFoundContent:"Not Found"}),setup:function(e,t){var n=t.attrs,r=t.expose,o=t.slots,a=Object(i["computed"])((function(){return qM(e.mode)})),c=Object(i["computed"])((function(){return void 0!==e.showSearch?e.showSearch:a.value||"combobox"===e.mode})),l=Object(i["ref"])(!1);Object(i["onMounted"])((function(){l.value=zM()}));var d=jM(),f=Object(i["ref"])(null),p=IM(),v=Object(i["ref"])(null),h=Object(i["ref"])(null),m=Object(i["ref"])(null),g=HM(),b=gl(g,3),y=b[0],O=b[1],C=b[2],w=function(){var e;null===(e=h.value)||void 0===e||e.focus()},S=function(){var e;null===(e=h.value)||void 0===e||e.blur()};r({focus:w,blur:S,scrollTo:function(e){var t;return null===(t=m.value)||void 0===t?void 0:t.scrollTo(e)}});var N=Object(i["computed"])((function(){var t;if("combobox"!==e.mode)return e.searchValue;var n=null===(t=e.displayValues[0])||void 0===t?void 0:t.value;return"string"===typeof n||"number"===typeof n?String(n):""})),M=void 0!==e.open?e.open:e.defaultOpen,x=Object(i["ref"])(M),j=Object(i["ref"])(M),T=function(t){x.value=void 0!==e.open?e.open:t,j.value=x.value};Object(i["watch"])((function(){return e.open}),(function(){T(e.open)}));var D=Object(i["computed"])((function(){return!e.notFoundContent&&e.emptyOptions}));Object(i["watchEffect"])((function(){j.value=x.value,(e.disabled||D.value&&j.value&&"combobox"===e.mode)&&(j.value=!1)}));var E=Object(i["computed"])((function(){return!D.value&&j.value})),k=function(t){var n=void 0!==t?t:!j.value;x.value===n||e.disabled||(T(n),e.onDropdownVisibleChange&&e.onDropdownVisibleChange(n))},L=Object(i["computed"])((function(){return(e.tokenSeparators||[]).some((function(e){return["\n","\r\n"].includes(e)}))})),Y=function(t,n,r){var o,i=!0,a=t;null===(o=e.onActiveValueChange)||void 0===o||o.call(e,null);var u,c=r?null:Mw(t,e.tokenSeparators);"combobox"!==e.mode&&c&&(a="",null===(u=e.onSearchSplit)||void 0===u||u.call(e,c),k(!1),i=!1);return e.onSearch&&N.value!==a&&e.onSearch(a,{source:n?"typing":"effect"}),i},_=function(t){var n;t&&t.trim()&&(null===(n=e.onSearch)||void 0===n||n.call(e,t,{source:"submit"}))};Object(i["watch"])(j,(function(){j.value||a.value||"combobox"===e.mode||Y("",!1,!1)}),{immediate:!0,flush:"post"}),Object(i["watch"])((function(){return e.disabled}),(function(){x.value&&e.disabled&&T(!1)}),{immediate:!0});var A=PM(),P=gl(A,2),F=P[0],I=P[1],B=function(t){var n,r,o=F(),i=t.which;if(i===WN.ENTER&&("combobox"!==e.mode&&t.preventDefault(),j.value||k(!0)),I(!!N.value),i===WN.BACKSPACE&&!o&&a.value&&!N.value&&e.displayValues.length){for(var u=Ae(e.displayValues),c=null,l=u.length-1;l>=0;l-=1){var s=u[l];if(!s.disabled){u.splice(l,1),c=s;break}}c&&e.onDisplayValuesChange(u,{type:"remove",values:[c]})}for(var d=arguments.length,f=new Array(d>1?d-1:0),p=1;p<d;p++)f[p-1]=arguments[p];j.value&&m.value&&(r=m.value).onKeydown.apply(r,[t].concat(f));null===(n=e.onKeydown)||void 0===n||n.call.apply(n,[e,t].concat(f))},Z=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var i;j.value&&m.value&&(i=m.value).onKeyup.apply(i,[t].concat(r));e.onKeyup&&e.onKeyup.apply(e,[t].concat(r))},R=function(t){var n=e.displayValues.filter((function(e){return e!==t}));e.onDisplayValuesChange(n,{type:"remove",values:[t]})},H=Object(i["ref"])(!1),V=function(){O(!0),e.disabled||(e.onFocus&&!H.value&&e.onFocus.apply(e,arguments),e.showAction&&e.showAction.includes("focus")&&k(!0)),H.value=!0},X=function(){if(O(!1,(function(){H.value=!1,k(!1)})),!e.disabled){var t=N.value;t&&("tags"===e.mode?e.onSearch(t,{source:"submit"}):"multiple"===e.mode&&e.onSearch("",{source:"blur"})),e.onBlur&&e.onBlur.apply(e,arguments)}};Object(i["provide"])("VCSelectContainerEvent",{focus:V,blur:X});var J=[];Object(i["onMounted"])((function(){J.forEach((function(e){return clearTimeout(e)})),J.splice(0,J.length)})),Object(i["onBeforeUnmount"])((function(){J.forEach((function(e){return clearTimeout(e)})),J.splice(0,J.length)}));var z=function(t){var n,r,o=t.target,i=null===(n=v.value)||void 0===n?void 0:n.getPopupElement();if(i&&i.contains(o)){var a=setTimeout((function(){var e,t=J.indexOf(a);(-1!==t&&J.splice(t,1),C(),l.value||i.contains(document.activeElement))||(null===(e=h.value)||void 0===e||e.focus())}));J.push(a)}for(var u=arguments.length,c=new Array(u>1?u-1:0),s=1;s<u;s++)c[s-1]=arguments[s];null===(r=e.onMousedown)||void 0===r||r.call.apply(r,[e,t].concat(c))},Q=Object(i["ref"])(null),W=Object(i["getCurrentInstance"])(),K=function(){W.update()};return Object(i["onMounted"])((function(){Object(i["watch"])(E,(function(){if(E.value){var e,t=Math.ceil(null===(e=f.value)||void 0===e?void 0:e.offsetWidth);Q.value===t||Number.isNaN(t)||(Q.value=t)}}),{immediate:!0,flush:"post"})})),RM([f,v],E,k),XM(QM(Fe(Fe({},Object(i["toRefs"])(e)),{},{open:j,triggerOpen:E,showSearch:c,multiple:a,toggleOpen:k}))),function(){var t,r,l=Fe(Fe({},e),n),g=l.prefixCls,b=l.id,O=(l.open,l.defaultOpen,l.mode),C=(l.showSearch,l.searchValue,l.onSearch,l.allowClear),w=l.clearIcon,S=l.showArrow,M=l.inputIcon,x=l.disabled,T=l.loading,D=l.getInputElement,A=l.getPopupContainer,P=l.placement,F=l.animation,I=l.transitionName,H=l.dropdownStyle,V=l.dropdownClassName,X=l.dropdownMatchSelectWidth,J=l.dropdownRender,W=l.dropdownAlign,U=(l.showAction,l.direction),G=(l.tokenSeparators,l.tagRender),$=l.optionLabelRender,q=(l.onPopupScroll,l.onDropdownVisibleChange,l.onFocus,l.onBlur,l.onKeyup,l.onKeydown,l.onMousedown,l.onClear),ee=l.omitDomProps,te=l.getRawInputElement,ne=l.displayValues,re=l.onDisplayValuesChange,oe=l.emptyOptions,ie=l.activeDescendantId,ae=l.activeValue,ue=l.OptionList,ce=Kc(l,WM),le="combobox"===O&&D&&D()||null,se="function"===typeof te&&te(),de=Fe({},ce);se&&(r=function(e){k(e)}),KM.forEach((function(e){delete de[e]})),null===ee||void 0===ee||ee.forEach((function(e){delete de[e]}));var fe,pe,ve=void 0!==S?S:T||!a.value&&"combobox"!==O;ve&&(fe=Object(i["createVNode"])(UN,{class:Qt("".concat(g,"-arrow"),s({},"".concat(g,"-arrow-loading"),T)),customizeIcon:M,customizeIconProps:{loading:T,searchValue:N.value,open:j.value,focused:y.value,showSearch:c.value}},null));var he=function(){null===q||void 0===q||q(),re([],{type:"clear",values:ne}),Y("",!1,!1)};!x&&C&&(ne.length||N.value)&&(pe=Object(i["createVNode"])(UN,{class:"".concat(g,"-clear"),onMousedown:he,customizeIcon:w},{default:function(){return[Object(i["createTextVNode"])("×")]}}));var me,ge=Object(i["createVNode"])(ue,{ref:m},Fe(Fe({},d.customSlots),{},{option:o.option})),be=Qt(g,n.class,(t={},s(t,"".concat(g,"-focused"),y.value),s(t,"".concat(g,"-multiple"),a.value),s(t,"".concat(g,"-single"),!a.value),s(t,"".concat(g,"-allow-clear"),C),s(t,"".concat(g,"-show-arrow"),ve),s(t,"".concat(g,"-disabled"),x),s(t,"".concat(g,"-loading"),T),s(t,"".concat(g,"-open"),j.value),s(t,"".concat(g,"-customize-input"),le),s(t,"".concat(g,"-show-search"),c.value),t)),ye=Object(i["createVNode"])(zN,{ref:v,disabled:x,prefixCls:g,visible:E.value,popupElement:ge,containerWidth:Q.value,animation:F,transitionName:I,dropdownStyle:H,dropdownClassName:V,direction:U,dropdownMatchSelectWidth:X,dropdownRender:J,dropdownAlign:W,placement:P,getPopupContainer:A,empty:oe,getTriggerDOMNode:function(){return p.current},onPopupVisibleChange:r,onPopupMouseEnter:K},{default:function(){return se?Zl(se)&&NO(se,{ref:p},!1,!0):Object(i["createVNode"])(ZM,Fe(Fe({},e),{},{domRef:p,prefixCls:g,inputElement:le,ref:h,id:b,showSearch:c.value,mode:O,activeDescendantId:ie,tagRender:G,optionLabelRender:$,values:ne,open:j.value,onToggleOpen:k,activeValue:ae,searchValue:N.value,onSearch:Y,onSearchSubmit:_,onRemove:R,tokenWithEnter:L.value}),null)}});return me=se?ye:Object(i["createVNode"])("div",Fe(Fe({},de),{},{class:be,ref:f,onMousedown:z,onKeydown:B,onKeyup:Z}),[y.value&&!j.value&&Object(i["createVNode"])("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},["".concat(ne.map((function(e){var t=e.label,n=e.value;return["number","string"].includes(u(t))?t:n})).join(", "))]),ye,fe,pe]),me}}}),tx=function(e,t){var n,r=e.height,o=e.offset,a=e.prefixCls,u=e.onInnerResize,c=t.slots,l={},d={display:"flex",flexDirection:"column"};return void 0!==o&&(l={height:"".concat(r,"px"),position:"relative",overflow:"hidden"},d=Fe(Fe({},d),{},{transform:"translateY(".concat(o,"px)"),position:"absolute",left:0,right:0,top:0})),Object(i["createVNode"])("div",{style:l},[Object(i["createVNode"])(XC,{onResize:function(e){var t=e.offsetHeight;t&&u&&u()}},{default:function(){return[Object(i["createVNode"])("div",{style:d,class:Qt(s({},"".concat(a,"-holder-inner"),a))},[null===(n=c.default)||void 0===n?void 0:n.call(c)])]}})])};tx.displayName="Filter",tx.inheritAttrs=!1,tx.props={prefixCls:String,height:Number,offset:Number,onInnerResize:Function};var nx=tx,rx=function(e,t){var n,r=e.setRef,o=t.slots,a=kl(null===(n=o.default)||void 0===n?void 0:n.call(o));return a&&a.length?Object(i["cloneVNode"])(a[0],{ref:r}):a};rx.props={setRef:{type:Function,default:function(){}}};var ox=rx,ix=20;function ax(e){return"touches"in e?e.touches[0].pageY:e.pageY}var ux=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ScrollBar",inheritAttrs:!1,props:{prefixCls:String,scrollTop:Number,scrollHeight:Number,height:Number,count:Number,onScroll:{type:Function},onStartMove:{type:Function},onStopMove:{type:Function}},setup:function(){return{moveRaf:null,scrollbarRef:IM(),thumbRef:IM(),visibleTimeout:null,state:Object(i["reactive"])({dragging:!1,pageY:null,startTop:null,visible:!1})}},watch:{scrollTop:{handler:function(){this.delayHidden()},flush:"post"}},mounted:function(){var e,t;null===(e=this.scrollbarRef.current)||void 0===e||e.addEventListener("touchstart",this.onScrollbarTouchStart,!!Pw&&{passive:!1}),null===(t=this.thumbRef.current)||void 0===t||t.addEventListener("touchstart",this.onMouseDown,!!Pw&&{passive:!1})},beforeUnmount:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)},methods:{delayHidden:function(){var e=this;clearTimeout(this.visibleTimeout),this.state.visible=!0,this.visibleTimeout=setTimeout((function(){e.state.visible=!1}),2e3)},onScrollbarTouchStart:function(e){e.preventDefault()},onContainerMouseDown:function(e){e.stopPropagation(),e.preventDefault()},patchEvents:function(){window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("mouseup",this.onMouseUp),this.thumbRef.current.addEventListener("touchmove",this.onMouseMove,!!Pw&&{passive:!1}),this.thumbRef.current.addEventListener("touchend",this.onMouseUp)},removeEvents:function(){window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("mouseup",this.onMouseUp),this.scrollbarRef.current.removeEventListener("touchstart",this.onScrollbarTouchStart,!!Pw&&{passive:!1}),this.thumbRef.current&&(this.thumbRef.current.removeEventListener("touchstart",this.onMouseDown,!!Pw&&{passive:!1}),this.thumbRef.current.removeEventListener("touchmove",this.onMouseMove,!!Pw&&{passive:!1}),this.thumbRef.current.removeEventListener("touchend",this.onMouseUp)),eC.cancel(this.moveRaf)},onMouseDown:function(e){var t=this.$props.onStartMove;Qc(this.state,{dragging:!0,pageY:ax(e),startTop:this.getTop()}),t(),this.patchEvents(),e.stopPropagation(),e.preventDefault()},onMouseMove:function(e){var t=this.state,n=t.dragging,r=t.pageY,o=t.startTop,i=this.$props.onScroll;if(eC.cancel(this.moveRaf),n){var a=ax(e)-r,u=o+a,c=this.getEnableScrollRange(),l=this.getEnableHeightRange(),s=l?u/l:0,d=Math.ceil(s*c);this.moveRaf=eC((function(){i(d)}))}},onMouseUp:function(){var e=this.$props.onStopMove;this.state.dragging=!1,e(),this.removeEvents()},getSpinHeight:function(){var e=this.$props,t=e.height,n=e.count,r=t/n*10;return r=Math.max(r,ix),r=Math.min(r,t/2),Math.floor(r)},getEnableScrollRange:function(){var e=this.$props,t=e.scrollHeight,n=e.height;return t-n||0},getEnableHeightRange:function(){var e=this.$props.height,t=this.getSpinHeight();return e-t||0},getTop:function(){var e=this.$props.scrollTop,t=this.getEnableScrollRange(),n=this.getEnableHeightRange();if(0===e||0===t)return 0;var r=e/t;return r*n},showScroll:function(){var e=this.$props,t=e.height,n=e.scrollHeight;return n>t}},render:function(){var e=this.state,t=e.dragging,n=e.visible,r=this.$props.prefixCls,o=this.getSpinHeight()+"px",a=this.getTop()+"px",u=this.showScroll(),c=u&&n;return Object(i["createVNode"])("div",{ref:this.scrollbarRef,class:Qt("".concat(r,"-scrollbar"),s({},"".concat(r,"-scrollbar-show"),u)),style:{width:"8px",top:0,bottom:0,right:0,position:"absolute",display:c?void 0:"none"},onMousedown:this.onContainerMouseDown,onMousemove:this.delayHidden},[Object(i["createVNode"])("div",{ref:this.thumbRef,class:Qt("".concat(r,"-scrollbar-thumb"),s({},"".concat(r,"-scrollbar-thumb-moving"),t)),style:{width:"100%",height:o,top:a,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:"99px",cursor:"pointer",userSelect:"none"},onMousedown:this.onMouseDown},null)])}});function cx(e,t,n,r){var o=new Map,a=new Map,u=Object(i["ref"])(Symbol("update"));Object(i["watch"])(e,(function(){u.value=Symbol("update")}));var c=void 0;function l(){eC.cancel(c)}function s(){l(),c=eC((function(){o.forEach((function(e,t){if(e&&e.offsetParent){var n=e.offsetHeight;a.get(t)!==n&&(u.value=Symbol("update"),a.set(t,e.offsetHeight))}}))}))}function d(e,i){var a=t(e),u=o.get(a);i?(o.set(a,i.$el||i),s()):o.delete(a),!u!==!i&&(i?null===n||void 0===n||n(e):null===r||void 0===r||r(e))}return Object(i["onUnmounted"])((function(){l()})),[d,s,a,u]}function lx(e,t,n,r,o,i,a,c){var l;return function(s){if(null!==s&&void 0!==s){eC.cancel(l);var d=t.value,f=r.itemHeight;if("number"===typeof s)a(s);else if(s&&"object"===u(s)){var p,v=s.align;p="index"in s?s.index:d.findIndex((function(e){return o(e)===s.key}));var h=s.offset,m=void 0===h?0:h,g=function t(r,u){if(!(r<0)&&e.value){var c=e.value.clientHeight,s=!1,h=u;if(c){for(var g=u||v,b=0,y=0,O=0,C=Math.min(d.length,p),w=0;w<=C;w+=1){var S=o(d[w]);y=b;var N=n.get(S);O=y+(void 0===N?f:N),b=O,w===p&&void 0===N&&(s=!0)}var M=e.value.scrollTop,x=null;switch(g){case"top":x=y-m;break;case"bottom":x=O-c+m;break;default:var j=M+c;y<M?h="top":O>j&&(h="bottom")}null!==x&&x!==M&&a(x)}l=eC((function(){s&&i(),t(r-1,h)}),2)}};g(5)}}else c()}}var sx="object"===("undefined"===typeof navigator?"undefined":u(navigator))&&/Firefox/i.test(navigator.userAgent),dx=sx,fx=function(e,t){var n=!1,r=null;function o(){clearTimeout(r),n=!0,r=setTimeout((function(){n=!1}),50)}return function(i){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],u=i<0&&e.value||i>0&&t.value;return a&&u?(clearTimeout(r),n=!1):u&&!n||o(),!n&&u}};function px(e,t,n,r){var o=0,i=null,a=null,u=!1,c=fx(t,n);function l(t){if(e.value){eC.cancel(i);var n=t.deltaY;o+=n,a=n,c(n)||(dx||t.preventDefault(),i=eC((function(){var e=u?10:1;r(o*e),o=0})))}}function s(t){e.value&&(u=t.detail===a)}return[l,s]}var vx=14/15;function hx(e,t,n){var r=!1,o=0,a=null,u=null,c=function(){a&&(a.removeEventListener("touchmove",l),a.removeEventListener("touchend",s))},l=function(e){if(r){var t=Math.ceil(e.touches[0].pageY),i=o-t;o=t,n(i)&&e.preventDefault(),clearInterval(u),u=setInterval((function(){i*=vx,(!n(i,!0)||Math.abs(i)<=.1)&&clearInterval(u)}),16)}},s=function(){r=!1,c()},d=function(e){c(),1!==e.touches.length||r||(r=!0,o=Math.ceil(e.touches[0].pageY),a=e.target,a.addEventListener("touchmove",l,{passive:!1}),a.addEventListener("touchend",s))},f=function(){};Object(i["onMounted"])((function(){document.addEventListener("touchmove",f,{passive:!1}),Object(i["watch"])(e,(function(e){t.value.removeEventListener("touchstart",d),c(),clearInterval(u),e&&t.value.addEventListener("touchstart",d,{passive:!1})}),{immediate:!0})})),Object(i["onBeforeUnmount"])((function(){document.removeEventListener("touchmove",f)}))}var mx=["prefixCls","height","itemHeight","fullHeight","data","itemKey","virtual","component","onScroll","children","style","class"],gx=[],bx={overflowY:"auto",overflowAnchor:"none"};function yx(e,t,n,r,o,a){var u=a.getKey;return e.slice(t,n+1).map((function(e,n){var a=t+n,c=o(e,a,{}),l=u(e);return Object(i["createVNode"])(ox,{key:l,setRef:function(t){return r(e,t)}},{default:function(){return[c]}})}))}var Ox=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"List",inheritAttrs:!1,props:{prefixCls:String,data:Et.array,height:Number,itemHeight:Number,fullHeight:{type:Boolean,default:void 0},itemKey:{type:[String,Number,Function],required:!0},component:{type:[String,Object]},virtual:{type:Boolean,default:void 0},children:Function,onScroll:Function,onMousedown:Function,onMouseenter:Function,onVisibleChange:Function},setup:function(e,t){var n=t.expose,r=Object(i["computed"])((function(){var t=e.height,n=e.itemHeight,r=e.virtual;return!(!1===r||!t||!n)})),o=Object(i["computed"])((function(){var t=e.height,n=e.itemHeight,o=e.data;return r.value&&o&&n*o.length>t})),a=Object(i["reactive"])({scrollTop:0,scrollMoving:!1}),u=Object(i["computed"])((function(){return e.data||gx})),c=Object(i["shallowRef"])([]);Object(i["watch"])(u,(function(){c.value=Object(i["toRaw"])(u.value).slice()}),{immediate:!0});var l=Object(i["shallowRef"])((function(e){}));Object(i["watch"])((function(){return e.itemKey}),(function(e){l.value="function"===typeof e?e:function(t){return null===t||void 0===t?void 0:t[e]}}),{immediate:!0});var d=Object(i["ref"])(),f=Object(i["ref"])(),p=Object(i["ref"])(),v=function(e){return l.value(e)},h={getKey:v};function m(e){var t;t="function"===typeof e?e(a.scrollTop):e;var n=x(t);d.value&&(d.value.scrollTop=n),a.scrollTop=n}var g=cx(c,v,null,null),b=gl(g,4),y=b[0],O=b[1],C=b[2],w=b[3],S=Object(i["reactive"])({scrollHeight:void 0,start:0,end:0,offset:void 0}),N=Object(i["ref"])(0);Object(i["onMounted"])((function(){Object(i["nextTick"])((function(){var e;N.value=(null===(e=f.value)||void 0===e?void 0:e.offsetHeight)||0}))})),Object(i["onUpdated"])((function(){Object(i["nextTick"])((function(){var e;N.value=(null===(e=f.value)||void 0===e?void 0:e.offsetHeight)||0}))})),Object(i["watch"])([r,c],(function(){r.value||Qc(S,{scrollHeight:void 0,start:0,end:c.value.length-1,offset:void 0})}),{immediate:!0}),Object(i["watch"])([r,c,N,o],(function(){r.value&&!o.value&&Qc(S,{scrollHeight:N.value,start:0,end:c.value.length-1,offset:void 0}),d.value&&(a.scrollTop=d.value.scrollTop)}),{immediate:!0}),Object(i["watch"])([o,r,function(){return a.scrollTop},c,w,function(){return e.height},N],(function(){if(r.value&&o.value){for(var t,n,i,u=0,l=c.value.length,s=c.value,d=a.scrollTop,f=e.itemHeight,p=e.height,h=d+p,m=0;m<l;m+=1){var g=s[m],b=v(g),y=C.get(b);void 0===y&&(y=f);var O=u+y;void 0===t&&O>=d&&(t=m,n=u),void 0===i&&O>h&&(i=m),u=O}void 0===t&&(t=0,n=0,i=Math.ceil(p/f)),void 0===i&&(i=l-1),i=Math.min(i+1,l),Qc(S,{scrollHeight:u,start:t,end:i,offset:n})}}),{immediate:!0});var M=Object(i["computed"])((function(){return S.scrollHeight-e.height}));function x(e){var t=e;return Number.isNaN(M.value)||(t=Math.min(t,M.value)),t=Math.max(t,0),t}var j=Object(i["computed"])((function(){return a.scrollTop<=0})),T=Object(i["computed"])((function(){return a.scrollTop>=M.value})),D=fx(j,T);function E(e){var t=e;m(t)}function k(t){var n,r=t.currentTarget.scrollTop;r!==a.scrollTop&&m(r),null===(n=e.onScroll)||void 0===n||n.call(e,t)}var L=px(r,j,T,(function(e){m((function(t){var n=t+e;return n}))})),Y=gl(L,2),_=Y[0],A=Y[1];function P(e){r.value&&e.preventDefault()}hx(r,d,(function(e,t){return!D(e,t)&&(_({preventDefault:function(){},deltaY:e}),!0)}));var F=function(){d.value&&(d.value.removeEventListener("wheel",_,!!Pw&&{passive:!1}),d.value.removeEventListener("DOMMouseScroll",A),d.value.removeEventListener("MozMousePixelScroll",P))};Object(i["watchEffect"])((function(){Object(i["nextTick"])((function(){d.value&&(F(),d.value.addEventListener("wheel",_,!!Pw&&{passive:!1}),d.value.addEventListener("DOMMouseScroll",A),d.value.addEventListener("MozMousePixelScroll",P))}))})),Object(i["onBeforeUnmount"])((function(){F()}));var I=lx(d,c,C,e,v,O,m,(function(){var e;null===(e=p.value)||void 0===e||e.delayHidden()}));n({scrollTo:I});var B=Object(i["computed"])((function(){var t=null;return e.height&&(t=Fe(s({},e.fullHeight?"height":"maxHeight",e.height+"px"),bx),r.value&&(t.overflowY="hidden",a.scrollMoving&&(t.pointerEvents="none"))),t}));return Object(i["watch"])([function(){return S.start},function(){return S.end},c],(function(){if(e.onVisibleChange){var t=c.value.slice(S.start,S.end+1);e.onVisibleChange(t,c.value)}}),{flush:"post"}),{state:a,mergedData:c,componentStyle:B,onFallbackScroll:k,onScrollBar:E,componentRef:d,useVirtual:r,calRes:S,collectHeight:O,setInstance:y,sharedConfig:h,scrollBarRef:p,fillerInnerRef:f}},render:function(){var e=this,t=Fe(Fe({},this.$props),this.$attrs),n=t.prefixCls,r=void 0===n?"rc-virtual-list":n,o=t.height,a=(t.itemHeight,t.fullHeight,t.data,t.itemKey,t.virtual,t.component),u=void 0===a?"div":a,c=(t.onScroll,t.children),l=void 0===c?this.$slots.default:c,s=t.style,d=t.class,f=Kc(t,mx),p=Qt(r,d),v=this.state.scrollTop,h=this.calRes,m=h.scrollHeight,g=h.offset,b=h.start,y=h.end,O=this.componentStyle,C=this.onFallbackScroll,w=this.onScrollBar,S=this.useVirtual,N=this.collectHeight,M=this.sharedConfig,x=this.setInstance,j=this.mergedData;return Object(i["createVNode"])("div",Fe({style:Fe(Fe({},s),{},{position:"relative"}),class:p},f),[Object(i["createVNode"])(u,{class:"".concat(r,"-holder"),style:O,ref:"componentRef",onScroll:C},{default:function(){return[Object(i["createVNode"])(nx,{prefixCls:r,height:m,offset:g,onInnerResize:N,ref:"fillerInnerRef"},{default:function(){return yx(j,b,y,x,l,M)}})]}}),S&&Object(i["createVNode"])(ux,{ref:"scrollBarRef",prefixCls:r,scrollTop:v,height:o,scrollHeight:m,count:j.length,onScroll:w,onStartMove:function(){e.state.scrollMoving=!0},onStopMove:function(){e.state.scrollMoving=!1}},null)])}}),Cx=Ox,wx=Cx;function Sx(e,t,n){var r=Object(i["ref"])(e());return Object(i["watch"])(t,(function(t,o){n?n(t,o)&&(r.value=e()):r.value=e()})),r}function Nx(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Mx=Symbol("SelectContextKey");function xx(e){return Object(i["provide"])(Mx,e)}function jx(){return Object(i["inject"])(Mx,{})}var Tx=["disabled","title","children","style","class","className"];function Dx(e){return"string"===typeof e||"number"===typeof e}var Ex=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"OptionList",inheritAttrs:!1,slots:["option"],setup:function(e,t){var n=t.expose,r=t.slots,o=JM(),a=jx(),u=Object(i["computed"])((function(){return"".concat(o.prefixCls,"-item")})),c=Sx((function(){return a.flattenOptions}),[function(){return o.open},function(){return a.flattenOptions}],(function(e){return e[0]})),l=IM(),d=function(e){e.preventDefault()},f=function(e){l.current&&l.current.scrollTo("number"===typeof e?{index:e}:e)},p=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=c.value.length,r=0;r<n;r+=1){var o=(e+r*t+n)%n,i=c.value[o],a=i.group,u=i.data;if(!a&&!u.disabled)return o}return-1},v=Object(i["reactive"])({activeIndex:p(0)}),h=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];v.activeIndex=e;var n={source:t?"keyboard":"mouse"},r=c.value[e];r?a.onActiveValue(r.value,e,n):a.onActiveValue(null,-1,n)};Object(i["watch"])([function(){return c.value.length},function(){return o.searchValue}],(function(){h(!1!==a.defaultActiveFirstOption?p(0):-1)}),{immediate:!0});var m=function(e){return a.rawValues.has(e)&&"combobox"!==o.mode};Object(i["watch"])([function(){return o.open},function(){return o.searchValue}],(function(){if(!o.multiple&&o.open&&1===a.rawValues.size){var e=Array.from(a.rawValues)[0],t=Object(i["toRaw"])(c.value).findIndex((function(t){var n=t.data;return n[a.fieldNames.value]===e}));-1!==t&&(h(t),Object(i["nextTick"])((function(){f(t)})))}o.open&&Object(i["nextTick"])((function(){var e;null===(e=l.current)||void 0===e||e.scrollTo(void 0)}))}),{immediate:!0,flush:"post"});var g=function(e){void 0!==e&&a.onSelect(e,{selected:!a.rawValues.has(e)}),o.multiple||o.toggleOpen(!1)},b=function(e){return"function"===typeof e.label?e.label():e.label};function y(e){var t=c.value[e];if(!t)return null;var n=t.data||{},r=n.value,a=t.group,u=aM(n,!0),l=b(t);return t?Object(i["createVNode"])("div",Fe(Fe({"aria-label":"string"!==typeof l||a?null:l},u),{},{key:e,role:a?"presentation":"option",id:"".concat(o.id,"_list_").concat(e),"aria-selected":m(r)}),[r]):null}var O=function(e){var t=e.which,n=e.ctrlKey;switch(t){case WN.N:case WN.P:case WN.UP:case WN.DOWN:var r=0;if(t===WN.UP?r=-1:t===WN.DOWN?r=1:Nx()&&n&&(t===WN.N?r=1:t===WN.P&&(r=-1)),0!==r){var i=p(v.activeIndex+r,r);f(i),h(i,!0)}break;case WN.ENTER:var a=c.value[v.activeIndex];a&&!a.data.disabled?g(a.value):g(void 0),o.open&&e.preventDefault();break;case WN.ESC:o.toggleOpen(!1),o.open&&e.stopPropagation()}},C=function(){},w=function(e){f(e)};return n({onKeydown:O,onKeyup:C,scrollTo:w}),function(){var e=o.id,t=o.notFoundContent,n=o.onPopupScroll,f=a.menuItemSelectedIcon,p=a.fieldNames,O=a.virtual,C=a.listHeight,w=a.listItemHeight,S=r.option,N=v.activeIndex,M=Object.keys(p).map((function(e){return p[e]}));return 0===c.value.length?Object(i["createVNode"])("div",{role:"listbox",id:"".concat(e,"_list"),class:"".concat(u.value,"-empty"),onMousedown:d},[t]):Object(i["createVNode"])(i["Fragment"],null,[Object(i["createVNode"])("div",{role:"listbox",id:"".concat(e,"_list"),style:{height:0,width:0,overflow:"hidden"}},[y(N-1),y(N),y(N+1)]),Object(i["createVNode"])(wx,{itemKey:"key",ref:l,data:c.value,height:C,itemHeight:w,fullHeight:!1,onMousedown:d,onScroll:n,virtual:O},{default:function(e,t){var n,r=e.group,o=e.groupOption,a=e.data,c=e.value,l=a.key,d="function"===typeof e.label?e.label():e.label;if(r){var p,v=null!==(p=a.title)&&void 0!==p?p:Dx(d)&&d;return Object(i["createVNode"])("div",{class:Qt(u.value,"".concat(u.value,"-group")),title:v},[S?S(a):void 0!==d?d:l])}var y=a.disabled,O=a.title,C=(a.children,a.style),w=a.class,x=a.className,j=Kc(a,Tx),T=mO(j,M),D=m(c),E="".concat(u.value,"-option"),k=Qt(u.value,E,w,x,(n={},s(n,"".concat(E,"-grouped"),o),s(n,"".concat(E,"-active"),N===t&&!y),s(n,"".concat(E,"-disabled"),y),s(n,"".concat(E,"-selected"),D),n)),L=b(e),Y=!f||"function"===typeof f||D,_="number"===typeof L?L:L||c,A=Dx(_)?_.toString():void 0;return void 0!==O&&(A=O),Object(i["createVNode"])("div",Fe(Fe({},T),{},{"aria-selected":D,class:k,title:A,onMousemove:function(e){j.onMousemove&&j.onMousemove(e),N===t||y||h(t)},onClick:function(e){y||g(c),j.onClick&&j.onClick(e)},style:C}),[Object(i["createVNode"])("div",{class:"".concat(E,"-content")},[S?S(a):_]),Zl(f)||D,Y&&Object(i["createVNode"])(UN,{class:"".concat(u.value,"-option-state"),customizeIcon:f,customizeIconProps:{isSelected:D}},{default:function(){return[D?"✓":null]}})])}})])}}}),kx=Ex,Lx=["value","disabled"];function Yx(e){var t=e.key,n=e.children,r=e.props,o=r.value,i=r.disabled,a=Kc(r,Lx),u=null===n||void 0===n?void 0:n.default;return Fe({key:t,value:void 0!==o?o:t,children:u,disabled:i||""===i},a)}function _x(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=kl(e).map((function(e,n){var r;if(!Zl(e)||!e.type)return null;var o=e.type.isSelectOptGroup,i=e.key,a=e.children,u=e.props;if(t||!o)return Yx(e);var c=a&&a.default?a.default():void 0,l=(null===u||void 0===u?void 0:u.label)||(null===(r=a.label)||void 0===r?void 0:r.call(a))||i;return Fe(Fe({key:"__RC_SELECT_GRP__".concat(null===i?n:String(i),"__")},u),{},{label:l,options:_x(c||[])})})).filter((function(e){return e}));return n}function Ax(e,t,n){var r=Object(i["shallowRef"])(),o=Object(i["shallowRef"])(),a=Object(i["shallowRef"])(),u=Object(i["shallowRef"])([]);return Object(i["watch"])([e,t],(function(){e.value?u.value=Object(i["toRaw"])(e.value).slice():u.value=_x(t.value)}),{immediate:!0,deep:!0}),Object(i["watchEffect"])((function(){var e=u.value,t=new Map,i=new Map,c=n.value;function l(e){for(var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=0;r<e.length;r+=1){var o=e[r];!o[c.options]||n?(t.set(o[c.value],o),i.set(o[c.label],o)):l(o[c.options],!0)}}l(e),r.value=e,o.value=t,a.value=i})),{options:r,valueOptions:o,labelOptions:a}}var Px=0,Fx=Kp();function Ix(){var e;return Fx?(e=Px,Px+=1):e="TEST_OR_SSR",e}function Bx(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Object(i["ref"])(""),t="rc_select_".concat(Ix());return e.value||t}function Zx(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}"undefined"!==typeof window&&window.document&&window.document.documentElement;function Rx(e,t){return Zx(e).join("").toUpperCase().includes(t)}var Hx=function(e,t,n,r,o){return Object(i["computed"])((function(){var i=n.value,a=null===o||void 0===o?void 0:o.value,u=null===r||void 0===r?void 0:r.value;if(!i||!1===u)return e.value;var c=t.value,l=c.options,d=c.label,f=c.value,p=[],v="function"===typeof u,h=i.toUpperCase(),m=v?u:function(e,t){return a?Rx(t[a],h):t[l]?Rx(t["children"!==d?d:"label"],h):Rx(t[f],h)},g=v?function(e){return Nw(e)}:function(e){return e};return e.value.forEach((function(e){if(e[l]){var t=m(i,g(e));if(t)p.push(e);else{var n=e[l].filter((function(e){return m(i,g(e))}));n.length&&p.push(Fe(Fe({},e),{},s({},l,n)))}}else m(i,g(e))&&p.push(e)})),p}))},Vx=function(e,t){var n=Object(i["shallowRef"])({values:new Map,options:new Map}),r=Object(i["computed"])((function(){var r=n.value,o=r.values,i=r.options,a=e.value.map((function(e){var t;return void 0===e.label?Fe(Fe({},e),{},{label:null===(t=o.get(e.value))||void 0===t?void 0:t.label}):e})),u=new Map,c=new Map;return a.forEach((function(e){u.set(e.value,e),c.set(e.value,t.value.get(e.value)||i.get(e.value))})),n.value.values=u,n.value.options=c,a})),o=function(e){return t.value.get(e)||n.value.options.get(e)};return[r,o]};function Xx(e,t){var n=t||{},r=n.defaultValue,o=n.value,a=void 0===o?Object(i["ref"])():o,u="function"===typeof e?e():e;void 0!==a.value&&(u=Object(i["unref"])(a)),void 0!==r&&(u="function"===typeof r?r():r);var c=Object(i["ref"])(u),l=Object(i["ref"])(u);function s(e){var n=l.value;c.value=e,Object(i["toRaw"])(l.value)!==e&&t.onChange&&t.onChange(e,n)}return Object(i["watchEffect"])((function(){var e=void 0!==a.value?a.value:c.value;t.postState&&(e=t.postState(e)),l.value=e})),Object(i["watch"])(a,(function(){c.value=a.value})),[l,s]}function Jx(e){var t="function"===typeof e?e():e,n=Object(i["ref"])(t);function r(e){n.value=e}return[n,r]}var zx=["inputValue"];function Qx(){return Fe(Fe({},GM()),{},{prefixCls:String,id:String,backfill:{type:Boolean,default:void 0},fieldNames:Object,inputValue:String,searchValue:String,onSearch:Function,autoClearSearchValue:{type:Boolean,default:void 0},onSelect:Function,onDeselect:Function,filterOption:{type:[Boolean,Function],default:void 0},filterSort:Function,optionFilterProp:String,optionLabelProp:String,options:Array,defaultActiveFirstOption:{type:Boolean,default:void 0},virtual:{type:Boolean,default:void 0},listHeight:Number,listItemHeight:Number,menuItemSelectedIcon:Et.any,mode:String,labelInValue:{type:Boolean,default:void 0},value:Et.any,defaultValue:Et.any,onChange:Function,children:Array})}function Wx(e){return!e||"object"!==u(e)}var Kx=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"Select",inheritAttrs:!1,props:Pb(Qx(),{prefixCls:"vc-select",autoClearSearchValue:!0,listHeight:200,listItemHeight:20,dropdownMatchSelectWidth:!0}),setup:function(e,t){var n=t.expose,r=t.attrs,o=t.slots,a=Bx(Object(i["toRef"])(e,"id")),u=Object(i["computed"])((function(){return qM(e.mode)})),c=Object(i["computed"])((function(){return!(e.options||!e.children)})),l=Object(i["computed"])((function(){return(void 0!==e.filterOption||"combobox"!==e.mode)&&e.filterOption})),d=Object(i["computed"])((function(){return ww(e.fieldNames,c.value)})),f=Xx("",{value:Object(i["computed"])((function(){return void 0!==e.searchValue?e.searchValue:e.inputValue})),postState:function(e){return e||""}}),p=gl(f,2),v=p[0],h=p[1],m=Ax(Object(i["toRef"])(e,"options"),Object(i["toRef"])(e,"children"),d),g=m.valueOptions,b=m.labelOptions,y=m.options,O=function(t){var n=Zx(t);return n.map((function(t){var n,r,o,i,a;Wx(t)?n=t:(o=t.key,r=t.label,n=null!==(a=t.value)&&void 0!==a?a:o);var u,c=g.value.get(n);c&&(void 0===r&&(r=null===c||void 0===c?void 0:c[e.optionLabelProp||d.value.label]),void 0===o&&(o=null!==(u=null===c||void 0===c?void 0:c.key)&&void 0!==u?u:n),i=null===c||void 0===c?void 0:c.disabled);return{label:r,value:n,key:o,disabled:i,option:c}}))},C=Xx(e.defaultValue,{value:Object(i["toRef"])(e,"value")}),w=gl(C,2),S=w[0],N=w[1],M=Object(i["computed"])((function(){var t,n=O(S.value);return"combobox"!==e.mode||null!==(t=n[0])&&void 0!==t&&t.value?n:[]})),x=Vx(M,g),j=gl(x,2),T=j[0],D=j[1],E=Object(i["computed"])((function(){if(!e.mode&&1===T.value.length){var t=T.value[0];if(null===t.value&&(null===t.label||void 0===t.label))return[]}return T.value.map((function(e){var t;return Fe(Fe({},e),{},{label:null!==(t="function"===typeof e.label?e.label():e.label)&&void 0!==t?t:e.value})}))})),k=Object(i["computed"])((function(){return new Set(T.value.map((function(e){return e.value})))}));Object(i["watchEffect"])((function(){if("combobox"===e.mode){var t,n=null===(t=T.value[0])||void 0===t?void 0:t.value;void 0!==n&&null!==n&&h(String(n))}}),{flush:"post"});var L=function(e,t){var n,r=null!==t&&void 0!==t?t:e;return n={},s(n,d.value.value,e),s(n,d.value.label,r),n},Y=Object(i["shallowRef"])();Object(i["watchEffect"])((function(){if("tags"===e.mode){var t=y.value.slice(),n=function(e){return g.value.has(e)};Ae(T.value).sort((function(e,t){return e.value<t.value?-1:1})).forEach((function(e){var r=e.value;n(r)||t.push(L(r,e.label))})),Y.value=t}else Y.value=y.value}));var _=Hx(Y,d,v,l,Object(i["toRef"])(e,"optionFilterProp")),A=Object(i["computed"])((function(){return"tags"!==e.mode||!v.value||_.value.some((function(t){return t[e.optionFilterProp||"value"]===v.value}))?_.value:[L(v.value)].concat(Ae(_.value))})),P=Object(i["computed"])((function(){return e.filterSort?Ae(A.value).sort((function(t,n){return e.filterSort(t,n)})):A.value})),F=Object(i["computed"])((function(){return Sw(P.value,{fieldNames:d.value,childrenAsData:c.value})})),I=function(t){var n=O(t);if(N(n),e.onChange&&(n.length!==T.value.length||n.some((function(e,t){var n;return(null===(n=T.value[t])||void 0===n?void 0:n.value)!==(null===e||void 0===e?void 0:e.value)})))){var r=e.labelInValue?n.map((function(e){return Fe(Fe({},e),{},{originLabel:e.label,label:"function"===typeof e.label?e.label():e.label})})):n.map((function(e){return e.value})),o=n.map((function(e){return Nw(D(e.value))}));e.onChange(u.value?r:r[0],u.value?o:o[0])}},B=Jx(null),Z=gl(B,2),R=Z[0],H=Z[1],V=Jx(0),X=gl(V,2),J=X[0],z=X[1],Q=Object(i["computed"])((function(){return void 0!==e.defaultActiveFirstOption?e.defaultActiveFirstOption:"combobox"!==e.mode})),W=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=r.source,i=void 0===o?"keyboard":o;z(n),e.backfill&&"combobox"===e.mode&&null!==t&&"keyboard"===i&&H(String(t))},K=function(t,n){var r=function(){var n,r=D(t),o=null===r||void 0===r?void 0:r[d.value.label];return[e.labelInValue?{label:"function"===typeof o?o():o,originLabel:o,value:t,key:null!==(n=null===r||void 0===r?void 0:r.key)&&void 0!==n?n:t}:t,Nw(r)]};if(n&&e.onSelect){var o=r(),i=gl(o,2),a=i[0],u=i[1];e.onSelect(a,u)}else if(!n&&e.onDeselect){var c=r(),l=gl(c,2),s=l[0],f=l[1];e.onDeselect(s,f)}},U=function(t,n){var r,o=!u.value||n.selected;r=o?u.value?[].concat(Ae(T.value),[t]):[t]:T.value.filter((function(e){return e.value!==t})),I(r),K(t,o),"combobox"===e.mode?H(""):u.value&&!e.autoClearSearchValue||(h(""),H(""))},G=function(e,t){I(e),"remove"!==t.type&&"clear"!==t.type||t.values.forEach((function(e){K(e.value,!1)}))},$=function(t,n){if(h(t),H(null),"submit"!==n.source){var r;if("blur"!==n.source)"combobox"===e.mode&&I(t),null===(r=e.onSearch)||void 0===r||r.call(e,t)}else{var o=(t||"").trim();if(o){var i=Array.from(new Set([].concat(Ae(k.value),[o])));I(i),K(o,!0),h("")}}},q=function(t){var n=t;"tags"!==e.mode&&(n=t.map((function(e){var t=b.value.get(e);return null===t||void 0===t?void 0:t.value})).filter((function(e){return void 0!==e})));var r=Array.from(new Set([].concat(Ae(k.value),Ae(n))));I(r),r.forEach((function(e){K(e,!0)}))},ee=Object(i["computed"])((function(){return!1!==e.virtual&&!1!==e.dropdownMatchSelectWidth}));xx(QM(Fe(Fe({},m),{},{flattenOptions:F,onActiveValue:W,defaultActiveFirstOption:Q,onSelect:U,menuItemSelectedIcon:Object(i["toRef"])(e,"menuItemSelectedIcon"),rawValues:k,fieldNames:d,virtual:ee,listHeight:Object(i["toRef"])(e,"listHeight"),listItemHeight:Object(i["toRef"])(e,"listItemHeight"),childrenAsData:c})));var te=Object(i["ref"])();n({focus:function(){var e;null===(e=te.value)||void 0===e||e.focus()},blur:function(){var e;null===(e=te.value)||void 0===e||e.blur()},scrollTo:function(e){var t;null===(t=te.value)||void 0===t||t.scrollTo(e)}});var ne=Object(i["computed"])((function(){return mO(e,["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"])}));return function(){return Object(i["createVNode"])(ex,Fe(Fe(Fe({},ne.value),r),{},{id:a,prefixCls:e.prefixCls,ref:te,omitDomProps:zx,mode:e.mode,displayValues:E.value,onDisplayValuesChange:G,searchValue:v.value,onSearch:$,onSearchSplit:q,dropdownMatchSelectWidth:e.dropdownMatchSelectWidth,OptionList:kx,emptyOptions:!F.value.length,activeValue:R.value,activeDescendantId:"".concat(a,"_list_").concat(J.value)}),o)}}}),Ux=function(){return null};Ux.isSelectOption=!0,Ux.displayName="ASelectOption";var Gx=Ux,$x=function(){return null};$x.isSelectOptGroup=!0,$x.displayName="ASelectOptGroup";var qx=$x,ej=Kx,tj={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},nj=tj;function rj(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){oj(e,t,n[t])}))}return e}function oj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ij=function(e,t){var n=rj({},e,t.attrs);return Object(i["createVNode"])(ef,rj({},n,{icon:nj}),null)};ij.displayName="DownOutlined",ij.inheritAttrs=!1;var aj=ij,uj={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},cj=uj;function lj(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){sj(e,t,n[t])}))}return e}function sj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dj=function(e,t){var n=lj({},e,t.attrs);return Object(i["createVNode"])(ef,lj({},n,{icon:cj}),null)};dj.displayName="CheckOutlined",dj.inheritAttrs=!1;var fj=dj;function pj(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.loading,r=e.multiple,o=e.prefixCls,a=e.suffixIcon||t.suffixIcon&&t.suffixIcon(),u=e.clearIcon||t.clearIcon&&t.clearIcon(),c=e.menuItemSelectedIcon||t.menuItemSelectedIcon&&t.menuItemSelectedIcon(),l=e.removeIcon||t.removeIcon&&t.removeIcon(),s=u;u||(s=Object(i["createVNode"])(gf,null,null));var d=null;if(void 0!==a)d=a;else if(n)d=Object(i["createVNode"])(of,{spin:!0},null);else{var f="".concat(o,"-suffix");d=function(e){var t=e.open,n=e.showSearch;return t&&n?Object(i["createVNode"])(IO,{class:f},null):Object(i["createVNode"])(aj,{class:f},null)}}var p=null;p=void 0!==c?c:r?Object(i["createVNode"])(fj,null,null):null;var v=null;return v=void 0!==l?l:Object(i["createVNode"])(Dp,null,null),{clearIcon:s,suffixIcon:d,itemIcon:p,removeIcon:v}}var vj=function(){return Fe(Fe({},mO(Qx(),["inputIcon","mode","getInputElement","getRawInputElement","backfill"])),{},{value:{type:[Array,Object,String,Number]},defaultValue:{type:[Array,Object,String,Number]},notFoundContent:Et.any,suffixIcon:Et.any,itemIcon:Et.any,size:String,mode:String,bordered:{type:Boolean,default:!0},transitionName:String,choiceTransitionName:{type:String,default:""},"onUpdate:value":Function})},hj="SECRET_COMBOBOX_MODE_DO_NOT_USE",mj=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ASelect",Option:Gx,OptGroup:qx,inheritAttrs:!1,props:Pb(vj(),{listHeight:256,listItemHeight:24}),SECRET_COMBOBOX_MODE_DO_NOT_USE:hj,slots:["notFoundContent","suffixIcon","itemIcon","removeIcon","clearIcon","dropdownRender","option","placeholder","tagRender","maxTagPlaceholder","optionLabel"],setup:function(e,t){var n=t.attrs,r=t.emit,o=t.slots,a=t.expose,u=Object(i["ref"])(),c=vb(),l=function(){var e;null===(e=u.value)||void 0===e||e.focus()},d=function(){var e;null===(e=u.value)||void 0===e||e.blur()},f=function(e){var t;null===(t=u.value)||void 0===t||t.scrollTo(e)},p=Object(i["computed"])((function(){var t=e.mode;if("combobox"!==t)return t===hj?"combobox":t})),v=wv("select",e),h=v.prefixCls,m=v.direction,g=v.configProvider,b=v.size,y=v.getPrefixCls,O=Object(i["computed"])((function(){return y()})),C=Object(i["computed"])((function(){return ns(O.value,"slide-up",e.transitionName)})),w=Object(i["computed"])((function(){var t;return Qt((t={},s(t,"".concat(h.value,"-lg"),"large"===b.value),s(t,"".concat(h.value,"-sm"),"small"===b.value),s(t,"".concat(h.value,"-rtl"),"rtl"===m.value),s(t,"".concat(h.value,"-borderless"),!e.bordered),t))})),S=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r("update:value",t[0]),r.apply(void 0,["change"].concat(t)),c.onFieldChange()},N=function(e){r("blur",e),c.onFieldBlur()};a({blur:d,focus:l,scrollTo:f});var M=Object(i["computed"])((function(){return"multiple"===p.value||"tags"===p.value}));return function(){var t,r,a,l=e.notFoundContent,d=e.listHeight,f=void 0===d?256:d,v=e.listItemHeight,b=void 0===v?24:v,y=e.getPopupContainer,O=e.dropdownClassName,x=e.virtual,j=e.dropdownMatchSelectWidth,T=e.id,D=void 0===T?c.id.value:T,E=e.placeholder,k=void 0===E?null===(t=o.placeholder)||void 0===t?void 0:t.call(o):E,L=g.renderEmpty,Y=g.getPopupContainer;a=void 0!==l?l:o.notFoundContent?o.notFoundContent():"combobox"===p.value?null:L("Select");var _=pj(Fe(Fe({},e),{},{multiple:M.value,prefixCls:h.value}),o),A=_.suffixIcon,P=_.itemIcon,F=_.removeIcon,I=_.clearIcon,B=mO(e,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered"]),Z=Qt(O,s({},"".concat(h.value,"-dropdown-").concat(m.value),"rtl"===m.value));return Object(i["createVNode"])(ej,Fe(Fe(Fe({ref:u,virtual:x,dropdownMatchSelectWidth:j},B),n),{},{placeholder:k,listHeight:f,listItemHeight:b,mode:p.value,prefixCls:h.value,direction:m.value,inputIcon:A,menuItemSelectedIcon:P,removeIcon:F,clearIcon:I,notFoundContent:a,class:[w.value,n.class],getPopupContainer:y||Y,dropdownClassName:Z,onChange:S,onBlur:N,id:D,dropdownRender:B.dropdownRender||o.dropdownRender,transitionName:C.value,children:null===(r=o.default)||void 0===r?void 0:r.call(o),tagRender:e.tagRender||o.tagRender,optionLabelRender:o.optionLabel,maxTagPlaceholder:e.maxTagPlaceholder||o.maxTagPlaceholder}),{option:o.option})}}});mj.install=function(e){return e.component(mj.name,mj),e.component(mj.Option.displayName,mj.Option),e.component(mj.OptGroup.displayName,mj.OptGroup),e};mj.Option,mj.OptGroup;var gj=mj,bj=function(){return null};bj.isSelectOption=!0,bj.displayName="AAutoCompleteOption";var yj=bj,Oj=function(){return null};Oj.isSelectOptGroup=!0,Oj.displayName="AAutoCompleteOptGroup";var Cj=Oj;function wj(e){var t,n;return(null===e||void 0===e||null===(t=e.type)||void 0===t?void 0:t.isSelectOption)||(null===e||void 0===e||null===(n=e.type)||void 0===n?void 0:n.isSelectOptGroup)}var Sj=function(){return Fe(Fe({},mO(vj(),["loading","mode","optionLabelProp","labelInValue"])),{},{dataSource:Array,dropdownMenuStyle:{type:Object,default:void 0},dropdownMatchSelectWidth:{type:[Number,Boolean],default:!0},prefixCls:String,showSearch:{type:Boolean,default:void 0},transitionName:String,choiceTransitionName:{type:String,default:"zoom"},autofocus:{type:Boolean,default:void 0},backfill:{type:Boolean,default:void 0},filterOption:{type:[Boolean,Function],default:!1},defaultActiveFirstOption:{type:Boolean,default:!0}})},Nj=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"AAutoComplete",inheritAttrs:!1,props:Sj(),slots:["option"],setup:function(e,t){var n=t.slots,r=t.attrs,o=t.expose;tn(!("dataSource"in n),"AutoComplete","`dataSource` slot is deprecated, please use props `options` instead."),tn(!("options"in n),"AutoComplete","`options` slot is deprecated, please use props `options` instead.");var a=Object(i["ref"])(),c=function(){var e,t=kl(null===(e=n.default)||void 0===e?void 0:e.call(n)),r=t.length?t[0]:void 0;return r},l=function(){var e;null===(e=a.value)||void 0===e||e.focus()},d=function(){var e;null===(e=a.value)||void 0===e||e.blur()};o({focus:l,blur:d});var f=wv("select",e),p=f.prefixCls;return function(){var t,o,l,d=e.size,f=e.dataSource,v=e.notFoundContent,h=void 0===v?null===(t=n.notFoundContent)||void 0===t?void 0:t.call(n):v,m=r.class,g=(o={},s(o,m,!!m),s(o,"".concat(p.value,"-lg"),"large"===d),s(o,"".concat(p.value,"-sm"),"small"===d),s(o,"".concat(p.value,"-show-search"),!0),s(o,"".concat(p.value,"-auto-complete"),!0),o);if(void 0===e.options){var b,y,O=(null===(b=n.dataSource)||void 0===b?void 0:b.call(n))||(null===(y=n.options)||void 0===y?void 0:y.call(n))||[];l=O.length&&wj(O[0])?O:f?f.map((function(e){if(Zl(e))return e;switch(u(e)){case"string":return Object(i["createVNode"])(yj,{key:e,value:e},{default:function(){return[e]}});case"object":return Object(i["createVNode"])(yj,{key:e.value,value:e.value},{default:function(){return[e.text]}});default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}})):[]}var C=mO(Fe(Fe(Fe({},e),r),{},{mode:gj.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:c,notFoundContent:h,class:g,ref:a}),["dataSource","loading"]);return Object(i["createVNode"])(gj,C,Fe({default:function(){return[l]}},mO(n,["default","dataSource","options"])))}}}),Mj=Qc(Nj,{Option:yj,OptGroup:Cj,install:function(e){return e.component(Nj.name,Nj),e.component(yj.displayName,yj),e.component(Cj.displayName,Cj),e}}),xj={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},jj=xj;function Tj(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Dj(e,t,n[t])}))}return e}function Dj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ej=function(e,t){var n=Tj({},e,t.attrs);return Object(i["createVNode"])(ef,Tj({},n,{icon:jj}),null)};Ej.displayName="UpOutlined",Ej.inheritAttrs=!1;var kj=Ej;function Lj(){return"function"===typeof BigInt}function Yj(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),t.startsWith(".")&&(t="0".concat(t));var r=t||"0",o=r.split("."),i=o[0]||"0",a=o[1]||"0";"0"===i&&"0"===a&&(n=!1);var u=n?"-":"";return{negative:n,negativeStr:u,trimStr:r,integerStr:i,decimalStr:a,fullStr:"".concat(u).concat(r)}}function _j(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function Aj(e){var t=String(e);if(_j(e)){var n=Number(t.slice(t.indexOf("e-")+2)),r=t.match(/\.(\d+)/);return null!==r&&void 0!==r&&r[1]&&(n+=r[1].length),n}return t.includes(".")&&Fj(t)?t.length-t.indexOf(".")-1:0}function Pj(e){var t=String(e);if(_j(e)){if(e>Number.MAX_SAFE_INTEGER)return String(Lj()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e<Number.MIN_SAFE_INTEGER)return String(Lj()?BigInt(e).toString():Number.MIN_SAFE_INTEGER);t=e.toFixed(Aj(t))}return Yj(t).fullStr}function Fj(e){return"number"===typeof e?!Number.isNaN(e):!!e&&(/^\s*-?\d+(\.\d+)?\s*$/.test(e)||/^\s*-?\d+\.\s*$/.test(e)||/^\s*-?\.\d+\s*$/.test(e))}function Ij(e){return!e&&0!==e&&!Number.isNaN(e)||!String(e).trim()}var Bj=function(){function e(t){gC(this,e),s(this,"origin",""),Ij(t)?this.empty=!0:(this.origin=String(t),this.number=Number(t))}return mC(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(t){if(this.isInvalidate())return new e(t);var n=Number(t);if(Number.isNaN(n))return this;var r=this.number+n;if(r>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(r<Number.MIN_SAFE_INTEGER)return new e(Number.MIN_SAFE_INTEGER);var o=Math.max(Aj(this.number),Aj(n));return new e(r.toFixed(o))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return Number.isNaN(this.number)}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(e){return this.toNumber()===(null===e||void 0===e?void 0:e.toNumber())}},{key:"lessEquals",value:function(e){return this.add(e.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return e?this.isInvalidate()?"":Pj(this.number):this.origin}}]),e}(),Zj=function(){function e(t){if(gC(this,e),s(this,"origin",""),Ij(t))this.empty=!0;else if(this.origin=String(t),"-"===t||Number.isNaN(t))this.nan=!0;else{var n=t;if(_j(n)&&(n=Number(n)),n="string"===typeof n?n:Pj(n),Fj(n)){var r=Yj(n);this.negative=r.negative;var o=r.trimStr.split(".");this.integer=BigInt(o[0]);var i=o[1]||"0";this.decimal=BigInt(i),this.decimalLen=i.length}else this.nan=!0}}return mC(e,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(e){var t="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(e,"0"));return BigInt(t)}},{key:"negate",value:function(){var t=new e(this.toString());return t.negative=!t.negative,t}},{key:"add",value:function(t){if(this.isInvalidate())return new e(t);var n=new e(t);if(n.isInvalidate())return this;var r=Math.max(this.getDecimalStr().length,n.getDecimalStr().length),o=this.alignDecimal(r),i=n.alignDecimal(r),a=(o+i).toString(),u=Yj(a),c=u.negativeStr,l=u.trimStr,s="".concat(c).concat(l.padStart(r+1,"0"));return new e("".concat(s.slice(0,-r),".").concat(s.slice(-r)))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(e){return this.toString()===(null===e||void 0===e?void 0:e.toString())}},{key:"lessEquals",value:function(e){return this.add(e.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return e?this.isInvalidate()?"":Yj("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}();function Rj(e){return Lj()?new Zj(e):new Bj(e)}function Hj(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(""===e)return"";var o=Yj(e),i=o.negativeStr,a=o.integerStr,u=o.decimalStr,c="".concat(t).concat(u),l="".concat(i).concat(a);if(n>=0){var s=Number(u[n]);if(s>=5&&!r){var d=Rj(e).add("".concat(i,"0.").concat("0".repeat(n)).concat(10-s));return Hj(d.toString(),t,n,r)}return 0===n?l:"".concat(l).concat(t).concat(u.padEnd(n,"0").slice(0,n))}return".0"===c?l:"".concat(l).concat(c)}var Vj=200,Xj=600,Jj=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"StepHandler",inheritAttrs:!1,props:{prefixCls:String,upDisabled:Boolean,downDisabled:Boolean,onStep:{type:Function}},slots:["upNode","downNode"],setup:function(e,t){var n=t.slots,r=t.emit,o=Object(i["ref"])(),a=function(e,t){function n(){r("step",t),o.value=setTimeout(n,Vj)}e.preventDefault(),r("step",t),o.value=setTimeout(n,Xj)},u=function(){clearTimeout(o.value)};return Object(i["onBeforeUnmount"])((function(){u()})),function(){if(zM())return null;var t=e.prefixCls,r=e.upDisabled,o=e.downDisabled,c="".concat(t,"-handler"),l=Qt(c,"".concat(c,"-up"),s({},"".concat(c,"-up-disabled"),r)),d=Qt(c,"".concat(c,"-down"),s({},"".concat(c,"-down-disabled"),o)),f={unselectable:"on",role:"button",onMouseup:u,onMouseleave:u},p=n.upNode,v=n.downNode;return Object(i["createVNode"])("div",{class:"".concat(c,"-wrap")},[Object(i["createVNode"])("span",Fe(Fe({},f),{},{onMousedown:function(e){a(e,!0)},"aria-label":"Increase Value","aria-disabled":r,class:l}),[(null===p||void 0===p?void 0:p())||Object(i["createVNode"])("span",{unselectable:"on",class:"".concat(t,"-handler-up-inner")},null)]),Object(i["createVNode"])("span",Fe(Fe({},f),{},{onMousedown:function(e){a(e,!1)},"aria-label":"Decrease Value","aria-disabled":o,class:d}),[(null===v||void 0===v?void 0:v())||Object(i["createVNode"])("span",{unselectable:"on",class:"".concat(t,"-handler-down-inner")},null)])])}}});function zj(e,t){var n=Object(i["ref"])(null);function r(){try{var t=e.value,r=t.selectionStart,o=t.selectionEnd,i=t.value,a=i.substring(0,r),u=i.substring(o);n.value={start:r,end:o,value:i,beforeTxt:a,afterTxt:u}}catch(kq){}}function o(){if(e.value&&n.value&&t.value)try{var r=e.value.value,o=n.value,i=o.beforeTxt,a=o.afterTxt,u=o.start,c=r.length;if(r.endsWith(a))c=r.length-n.value.afterTxt.length;else if(r.startsWith(i))c=i.length;else{var l=i[u-1],s=r.indexOf(l,u-1);-1!==s&&(c=s+1)}e.value.setSelectionRange(c,c)}catch(kq){Kt(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(kq.message))}}return[r,o]}var Qj=function(){var e=Object(i["ref"])(0),t=function(){eC.cancel(e.value)};return Object(i["onBeforeUnmount"])((function(){t()})),function(n){t(),e.value=eC((function(){n()}))}},Wj=["prefixCls","min","max","step","defaultValue","value","disabled","readonly","keyboard","controls","autofocus","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","lazy","class","style"],Kj=function(e,t){return e||t.isEmpty()?t.toString():t.toNumber()},Uj=function(e){var t=Rj(e);return t.isInvalidate()?null:t},Gj=function(){return{stringMode:{type:Boolean},defaultValue:{type:[String,Number]},value:{type:[String,Number]},prefixCls:{type:String},min:{type:[String,Number]},max:{type:[String,Number]},step:{type:[String,Number],default:1},tabindex:{type:Number},controls:{type:Boolean,default:!0},readonly:{type:Boolean},disabled:{type:Boolean},autofocus:{type:Boolean},keyboard:{type:Boolean,default:!0},parser:{type:Function},formatter:{type:Function},precision:{type:Number},decimalSeparator:{type:String},onInput:{type:Function},onChange:{type:Function},onPressEnter:{type:Function},onStep:{type:Function},onBlur:{type:Function},onFocus:{type:Function}}},$j=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"InnerInputNumber",inheritAttrs:!1,props:Fe(Fe({},Gj()),{},{lazy:Boolean}),slots:["upHandler","downHandler"],setup:function(e,t){var n=t.attrs,r=t.slots,o=t.emit,a=t.expose,c=Object(i["ref"])(),l=Object(i["ref"])(!1),d=Object(i["ref"])(!1),f=Object(i["ref"])(!1),p=Object(i["ref"])(Rj(e.value));function v(t){void 0===e.value&&(p.value=t)}var h=function(t,n){if(!n)return e.precision>=0?e.precision:Math.max(Aj(t),Aj(e.step))},m=function(t){var n=String(t);if(e.parser)return e.parser(n);var r=n;return e.decimalSeparator&&(r=r.replace(e.decimalSeparator,".")),r.replace(/[^\w.-]+/g,"")},g=Object(i["ref"])(""),b=function(t,n){if(e.formatter)return e.formatter(t,{userTyping:n,input:String(g.value)});var r="number"===typeof t?Pj(t):t;if(!n){var o=h(r,n);if(Fj(r)&&(e.decimalSeparator||o>=0)){var i=e.decimalSeparator||".";r=Hj(r,i,o)}}return r},y=function(){var t=e.value;return p.value.isInvalidate()&&["string","number"].includes(u(t))?Number.isNaN(t)?"":t:b(p.value.toString(),!1)}();function O(e,t){g.value=b(e.isInvalidate()?e.toString(!1):e.toString(!t),t)}g.value=y;var C=Object(i["computed"])((function(){return Uj(e.max)})),w=Object(i["computed"])((function(){return Uj(e.min)})),S=Object(i["computed"])((function(){return!(!C.value||!p.value||p.value.isInvalidate())&&C.value.lessEquals(p.value)})),N=Object(i["computed"])((function(){return!(!w.value||!p.value||p.value.isInvalidate())&&p.value.lessEquals(w.value)})),M=zj(c,l),x=gl(M,2),j=x[0],T=x[1],D=function(e){return C.value&&!e.lessEquals(C.value)?C.value:w.value&&!w.value.lessEquals(e)?w.value:null},E=function(e){return!D(e)},k=function(t,n){var r=t,o=E(r)||r.isEmpty();if(r.isEmpty()||n||(r=D(r)||r,o=!0),!e.readonly&&!e.disabled&&o){var i,a=r.toString(),u=h(a,n);if(u>=0&&(r=Rj(Hj(a,".",u))),!r.equals(p.value))v(r),null===(i=e.onChange)||void 0===i||i.call(e,r.isEmpty()?null:Kj(e.stringMode,r)),void 0===e.value&&O(r,n);return r}return p.value},L=Qj(),Y=function t(n){var r;if(j(),g.value=n,!f.value){var o=m(n),i=Rj(o);i.isNaN()||k(i,!0)}null===(r=e.onInput)||void 0===r||r.call(e,n),L((function(){var r=n;e.parser||(r=n.replace(/。/g,".")),r!==n&&t(r)}))},_=function(){f.value=!0},A=function(){f.value=!1,Y(c.value.value)},P=function(e){Y(e.target.value)},F=function(t){var n,r;if(!(t&&S.value||!t&&N.value)){d.value=!1;var o=Rj(e.step);t||(o=o.negate());var i=(p.value||Rj(0)).add(o.toString()),a=k(i,!1);null===(n=e.onStep)||void 0===n||n.call(e,Kj(e.stringMode,a),{offset:e.step,type:t?"up":"down"}),null===(r=c.value)||void 0===r||r.focus()}},I=function(t){var n=Rj(m(g.value)),r=n;r=n.isNaN()?p.value:k(n,t),void 0!==e.value?O(p.value,!1):r.isNaN()||O(r,!1)},B=function(t){var n,r=t.which;(d.value=!0,r===WN.ENTER)&&(f.value||(d.value=!1),I(!1),null===(n=e.onPressEnter)||void 0===n||n.call(e,t));!1!==e.keyboard&&!f.value&&[WN.UP,WN.DOWN].includes(r)&&(F(WN.UP===r),t.preventDefault())},Z=function(){d.value=!1},R=function(e){I(!1),l.value=!1,d.value=!1,o("blur",e)};return Object(i["watch"])((function(){return e.precision}),(function(){p.value.isInvalidate()||O(p.value,!1)}),{flush:"post"}),Object(i["watch"])((function(){return e.value}),(function(){var t=Rj(e.value);p.value=t;var n=Rj(m(g.value));t.equals(n)&&d.value&&!e.formatter||O(t,d.value)}),{flush:"post"}),Object(i["watch"])(g,(function(){e.formatter&&T()}),{flush:"post"}),Object(i["watch"])((function(){return e.disabled}),(function(e){e&&(l.value=!1)})),a({focus:function(){var e;null===(e=c.value)||void 0===e||e.focus()},blur:function(){var e;null===(e=c.value)||void 0===e||e.blur()}}),function(){var t,a=Fe(Fe({},n),e),u=a.prefixCls,d=void 0===u?"rc-input-number":u,f=a.min,v=a.max,h=a.step,m=void 0===h?1:h,b=(a.defaultValue,a.value,a.disabled),y=a.readonly,O=(a.keyboard,a.controls),C=void 0===O||O,w=a.autofocus,M=(a.stringMode,a.parser,a.formatter,a.precision,a.decimalSeparator,a.onChange,a.onInput,a.onPressEnter,a.onStep,a.lazy),x=a.class,j=a.style,T=Kc(a,Wj),D=r.upHandler,k=r.downHandler,L="".concat(d,"-input"),Y={};return M?Y.onChange=P:Y.onInput=P,Object(i["createVNode"])("div",{class:Qt(d,x,(t={},s(t,"".concat(d,"-focused"),l.value),s(t,"".concat(d,"-disabled"),b),s(t,"".concat(d,"-readonly"),y),s(t,"".concat(d,"-not-a-number"),p.value.isNaN()),s(t,"".concat(d,"-out-of-range"),!p.value.isInvalidate()&&!E(p.value)),t)),style:j,onKeydown:B,onKeyup:Z},[C&&Object(i["createVNode"])(Jj,{prefixCls:d,upDisabled:S.value,downDisabled:N.value,onStep:F},{upNode:D,downNode:k}),Object(i["createVNode"])("div",{class:"".concat(L,"-wrap")},[Object(i["createVNode"])("input",Fe(Fe(Fe({autofocus:w,autocomplete:"off",role:"spinbutton","aria-valuemin":f,"aria-valuemax":v,"aria-valuenow":p.value.isInvalidate()?null:p.value.toString(),step:m},T),{},{ref:c,class:L,value:g.value,disabled:b,readonly:y,onFocus:function(e){l.value=!0,o("focus",e)}},Y),{},{onBlur:R,onCompositionstart:_,onCompositionend:A}),null)])])}}}),qj=function(e){return void 0!==e&&null!==e},eT=["class","bordered","readonly","style","addonBefore","addonAfter","prefix","valueModifiers"],tT=Gj(),nT=function(){return Fe(Fe({},tT),{},{size:{type:String},bordered:{type:Boolean,default:!0},placeholder:String,name:String,id:String,type:String,addonBefore:Et.any,addonAfter:Et.any,prefix:Et.any,"onUpdate:value":tT.onChange,valueModifiers:Object})},rT=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"AInputNumber",inheritAttrs:!1,props:nT(),slots:["addonBefore","addonAfter","prefix"],setup:function(e,t){var n=t.emit,r=t.expose,o=t.attrs,a=t.slots,u=vb(),c=wv("input-number",e),l=c.prefixCls,d=c.size,f=c.direction,p=Object(i["ref"])(void 0===e.value?e.defaultValue:e.value),v=Object(i["ref"])(!1);Object(i["watch"])((function(){return e.value}),(function(){p.value=e.value}));var h=Object(i["ref"])(null),m=function(){var e;null===(e=h.value)||void 0===e||e.focus()},g=function(){var e;null===(e=h.value)||void 0===e||e.blur()};r({focus:m,blur:g});var b=function(t){void 0===e.value&&(p.value=t),n("update:value",t),n("change",t),u.onFieldChange()},y=function(e){v.value=!1,n("blur",e),u.onFieldBlur()},O=function(e){v.value=!0,n("focus",e)};return function(){var t,n,r,u,c=Fe(Fe({},o),e),m=c.class,g=c.bordered,C=c.readonly,w=c.style,S=c.addonBefore,N=void 0===S?null===(t=a.addonBefore)||void 0===t?void 0:t.call(a):S,M=c.addonAfter,x=void 0===M?null===(n=a.addonAfter)||void 0===n?void 0:n.call(a):M,j=c.prefix,T=void 0===j?null===(r=a.prefix)||void 0===r?void 0:r.call(a):j,D=c.valueModifiers,E=void 0===D?{}:D,k=Kc(c,eT),L=l.value,Y=d.value,_=Qt((u={},s(u,"".concat(L,"-lg"),"large"===Y),s(u,"".concat(L,"-sm"),"small"===Y),s(u,"".concat(L,"-rtl"),"rtl"===f.value),s(u,"".concat(L,"-readonly"),C),s(u,"".concat(L,"-borderless"),!g),u),m),A=Object(i["createVNode"])($j,Fe(Fe({},mO(k,["size","defaultValue"])),{},{ref:h,lazy:!!E.lazy,value:p.value,class:_,prefixCls:L,readonly:C,onChange:b,onBlur:y,onFocus:O}),{upHandler:function(){return Object(i["createVNode"])(kj,{class:"".concat(L,"-handler-up-inner")},null)},downHandler:function(){return Object(i["createVNode"])(aj,{class:"".concat(L,"-handler-down-inner")},null)}}),P=qj(N)||qj(x);if(qj(T)){var F,I=Qt("".concat(L,"-affix-wrapper"),(F={},s(F,"".concat(L,"-affix-wrapper-focused"),v.value),s(F,"".concat(L,"-affix-wrapper-disabled"),e.disabled),s(F,"".concat(L,"-affix-wrapper-rtl"),"rtl"===f.value),s(F,"".concat(L,"-affix-wrapper-readonly"),C),s(F,"".concat(L,"-affix-wrapper-borderless"),!g),s(F,"".concat(m),!P&&m),F));A=Object(i["createVNode"])("div",{class:I,style:w,onMouseup:function(){return h.value.focus()}},[Object(i["createVNode"])("span",{class:"".concat(L,"-prefix")},[T]),A])}if(P){var B,Z="".concat(L,"-group"),R="".concat(Z,"-addon"),H=N?Object(i["createVNode"])("div",{class:R},[N]):null,V=x?Object(i["createVNode"])("div",{class:R},[x]):null,X=Qt("".concat(L,"-wrapper"),Z,s({},"".concat(Z,"-rtl"),"rtl"===f.value)),J=Qt("".concat(L,"-group-wrapper"),(B={},s(B,"".concat(L,"-group-wrapper-sm"),"small"===Y),s(B,"".concat(L,"-group-wrapper-lg"),"large"===Y),s(B,"".concat(L,"-group-wrapper-rtl"),"rtl"===f.value),B),m);A=Object(i["createVNode"])("div",{class:J,style:w},[Object(i["createVNode"])("div",{class:X},[H,A,V])])}return NO(A,{style:w})}}}),oT=Qc(rT,{install:function(e){return e.component(rT.name,rT),e}}),iT=["prefixCls","name","id","type","disabled","readonly","tabindex","autofocus","value","required"],aT={prefixCls:String,name:String,id:String,type:String,defaultChecked:{type:[Boolean,Number],default:void 0},checked:{type:[Boolean,Number],default:void 0},disabled:Boolean,tabindex:{type:[Number,String]},readonly:Boolean,autofocus:Boolean,value:Et.any,required:Boolean},uT=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"Checkbox",inheritAttrs:!1,props:Pb(aT,{prefixCls:"rc-checkbox",type:"checkbox",defaultChecked:!1}),emits:["click","change"],setup:function(e,t){var n=t.attrs,r=t.emit,o=t.expose,a=Object(i["ref"])(void 0===e.checked?e.defaultChecked:e.checked),u=Object(i["ref"])();Object(i["watch"])((function(){return e.checked}),(function(){a.value=e.checked})),o({focus:function(){var e;null===(e=u.value)||void 0===e||e.focus()},blur:function(){var e;null===(e=u.value)||void 0===e||e.blur()}});var c=Object(i["ref"])(),l=function(t){if(!e.disabled){void 0===e.checked&&(a.value=t.target.checked),t.shiftKey=c.value;var n={target:Fe(Fe({},e),{},{checked:t.target.checked}),stopPropagation:function(){t.stopPropagation()},preventDefault:function(){t.preventDefault()},nativeEvent:t};void 0!==e.checked&&(u.value.checked=!!e.checked),r("change",n),c.value=!1}},d=function(e){r("click",e),c.value=e.shiftKey};return function(){var t,r=e.prefixCls,o=e.name,c=e.id,f=e.type,p=e.disabled,v=e.readonly,h=e.tabindex,m=e.autofocus,g=e.value,b=e.required,y=Kc(e,iT),O=n.class,C=n.onFocus,w=n.onBlur,S=n.onKeydown,N=n.onKeypress,M=n.onKeyup,x=Fe(Fe({},y),n),j=Object.keys(x).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=x[t]),e}),{}),T=Qt(r,O,(t={},s(t,"".concat(r,"-checked"),a.value),s(t,"".concat(r,"-disabled"),p),t)),D=Fe(Fe({name:o,id:c,type:f,readonly:v,disabled:p,tabindex:h,class:"".concat(r,"-input"),checked:!!a.value,autofocus:m,value:g},j),{},{onChange:l,onClick:d,onFocus:C,onBlur:w,onKeydown:S,onKeypress:N,onKeyup:M,required:b});return Object(i["createVNode"])("span",{class:T},[Object(i["createVNode"])("input",Fe({ref:u},D),null),Object(i["createVNode"])("span",{class:"".concat(r,"-inner")},null)])}}}),cT=["prefixCls","id"],lT=function(){return{prefixCls:String,checked:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},isGroup:{type:Boolean,default:void 0},value:Et.any,name:String,id:String,autofocus:{type:Boolean,default:void 0},onChange:Function,onFocus:Function,onBlur:Function,onClick:Function,"onUpdate:checked":Function,"onUpdate:value":Function}},sT=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ARadio",props:lT(),setup:function(e,t){var n=t.emit,r=t.expose,o=t.slots,a=vb(),u=Object(i["ref"])(),c=Object(i["inject"])("radioGroupContext",void 0),l=wv("radio",e),d=l.prefixCls,f=l.direction,p=function(){u.value.focus()},v=function(){u.value.blur()};r({focus:p,blur:v});var h=function(e){var t=e.target.checked;n("update:checked",t),n("update:value",t),n("change",e),a.onFieldChange()},m=function(e){n("change",e),c&&c.onRadioChange&&c.onRadioChange(e)};return function(){var t,n=c,r=(e.prefixCls,e.id),l=void 0===r?a.id.value:r,p=Kc(e,cT),v=Fe({prefixCls:d.value,id:l},mO(p,["onUpdate:checked","onUpdate:value"]));n?(v.name=n.props.name,v.onChange=m,v.checked=e.value===n.stateValue.value,v.disabled=e.disabled||n.props.disabled):v.onChange=h;var g=Qt((t={},s(t,"".concat(d.value,"-wrapper"),!0),s(t,"".concat(d.value,"-wrapper-checked"),v.checked),s(t,"".concat(d.value,"-wrapper-disabled"),v.disabled),s(t,"".concat(d.value,"-wrapper-rtl"),"rtl"===f.value),t));return Object(i["createVNode"])("label",{class:g},[Object(i["createVNode"])(uT,Fe(Fe({},v),{},{type:"radio",ref:u}),null),o.default&&Object(i["createVNode"])("span",null,[o.default()])])}}}),dT=Ic("large","default","small"),fT=function(){return{prefixCls:String,value:Et.any,size:Et.oneOf(dT),options:{type:Array},disabled:{type:Boolean,default:void 0},name:String,buttonStyle:{type:String,default:"outline"},id:String,optionType:{type:String,default:"default"},onChange:Function,"onUpdate:value":Function}},pT=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ARadioGroup",props:fT(),setup:function(e,t){var n=t.slots,r=t.emit,o=vb(),a=wv("radio",e),u=a.prefixCls,c=a.direction,l=a.size,d=Object(i["ref"])(e.value),f=Object(i["ref"])(!1);Object(i["watch"])((function(){return e.value}),(function(e){d.value=e,f.value=!1}));var p=function(t){var n=d.value,a=t.target.value;"value"in e||(d.value=a),f.value||a===n||(f.value=!0,r("update:value",a),r("change",t),o.onFieldChange()),Object(i["nextTick"])((function(){f.value=!1}))};return Object(i["provide"])("radioGroupContext",{onRadioChange:p,stateValue:d,props:e}),function(){var t,r=e.options,a=e.optionType,f=e.buttonStyle,p=e.id,v=void 0===p?o.id.value:p,h="".concat(u.value,"-group"),m=Qt(h,"".concat(h,"-").concat(f),(t={},s(t,"".concat(h,"-").concat(l.value),l.value),s(t,"".concat(h,"-rtl"),"rtl"===c.value),t)),g=null;if(r&&r.length>0){var b="button"===a?"".concat(u.value,"-button"):u.value;g=r.map((function(t){if("string"===typeof t||"number"===typeof t)return Object(i["createVNode"])(sT,{key:t,prefixCls:b,disabled:e.disabled,value:t,checked:d.value===t},{default:function(){return[t]}});var n=t.value,r=t.disabled,o=t.label;return Object(i["createVNode"])(sT,{key:"radio-group-value-options-".concat(n),prefixCls:b,disabled:r||e.disabled,value:n,checked:d.value===n},{default:function(){return[o]}})}))}else{var y;g=null===(y=n.default)||void 0===y?void 0:y.call(n)}return Object(i["createVNode"])("div",{class:m,id:v},[g])}}}),vT=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ARadioButton",props:lT(),setup:function(e,t){var n=t.slots,r=wv("radio-button",e),o=r.prefixCls,a=Object(i["inject"])("radioGroupContext",void 0);return function(){var t,r=Fe(Fe({},e),{},{prefixCls:o.value});return a&&(r.onChange=a.onRadioChange,r.checked=r.value===a.stateValue.value,r.disabled=r.disabled||a.props.disabled),Object(i["createVNode"])(sT,r,{default:function(){return[null===(t=n.default)||void 0===t?void 0:t.call(n)]}})}}});sT.Group=pT,sT.Button=vT,sT.install=function(e){return e.component(sT.name,sT),e.component(sT.Group.name,sT.Group),e.component(sT.Button.name,sT.Button),e};var hT=sT,mT=function(){return{name:String,prefixCls:String,options:{type:Array,default:function(){return[]}},disabled:Boolean,id:String}},gT=function(){return Fe(Fe({},mT()),{},{defaultValue:{type:Array},value:{type:Array},onChange:{type:Function},"onUpdate:value":{type:Function}})},bT=function(){return{prefixCls:String,defaultChecked:{type:Boolean,default:void 0},checked:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},isGroup:{type:Boolean,default:void 0},value:Et.any,name:String,id:String,indeterminate:{type:Boolean,default:void 0},type:{type:String,default:"checkbox"},autofocus:{type:Boolean,default:void 0},onChange:Function,"onUpdate:checked":Function,onClick:Function,skipGroup:{type:Boolean,default:!1}}},yT=function(){return Fe(Fe({},bT()),{},{indeterminate:{type:Boolean,default:!1}})},OT=Symbol("CheckboxGroupContext"),CT=["indeterminate","skipGroup","id"],wT=["onMouseenter","onMouseleave","onInput","class","style"],ST=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ACheckbox",inheritAttrs:!1,__ANT_CHECKBOX:!0,props:yT(),setup:function(e,t){var n=t.emit,r=t.attrs,o=t.slots,a=t.expose,u=vb(),c=wv("checkbox",e),l=c.prefixCls,d=c.direction,f=Object(i["inject"])(OT,void 0),p=Symbol("checkboxUniId");Object(i["watchEffect"])((function(){!e.skipGroup&&f&&f.registerValue(p,e.value)})),Object(i["onBeforeUnmount"])((function(){f&&f.cancelValue(p)})),Object(i["onMounted"])((function(){tn(void 0!==e.checked||f||void 0===e.value,"Checkbox","`value` is not validate prop, do you mean `checked`?")}));var v=function(e){var t=e.target.checked;n("update:checked",t),n("change",e)},h=Object(i["ref"])(),m=function(){var e;null===(e=h.value)||void 0===e||e.focus()},g=function(){var e;null===(e=h.value)||void 0===e||e.blur()};return a({focus:m,blur:g}),function(){var t,a,c=kl(null===(t=o.default)||void 0===t?void 0:t.call(o)),p=e.indeterminate,m=e.skipGroup,g=e.id,b=void 0===g?u.id.value:g,y=Kc(e,CT),O=r.onMouseenter,C=r.onMouseleave,w=(r.onInput,r.class),S=r.style,N=Kc(r,wT),M=Fe(Fe({},y),{},{id:b,prefixCls:l.value},N);f&&!m?(M.onChange=function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];n.apply(void 0,["change"].concat(r)),f.toggleOption({label:c,value:e.value})},M.name=f.name.value,M.checked=-1!==f.mergedValue.value.indexOf(e.value),M.disabled=e.disabled||f.disabled.value,M.indeterminate=p):M.onChange=v;var x=Qt((a={},s(a,"".concat(l.value,"-wrapper"),!0),s(a,"".concat(l.value,"-rtl"),"rtl"===d.value),s(a,"".concat(l.value,"-wrapper-checked"),M.checked),s(a,"".concat(l.value,"-wrapper-disabled"),M.disabled),a),w),j=Qt(s({},"".concat(l.value,"-indeterminate"),p));return Object(i["createVNode"])("label",{class:x,style:S,onMouseenter:O,onMouseleave:C},[Object(i["createVNode"])(uT,Fe(Fe({},M),{},{class:j,ref:h}),null),c.length?Object(i["createVNode"])("span",null,[c]):null])}}});function NT(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Ye(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},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 i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n["return"]||n["return"]()}finally{if(u)throw i}}}}var MT=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ACheckboxGroup",props:gT(),setup:function(e,t){var n=t.slots,r=t.emit,o=t.expose,a=vb(),u=wv("checkbox",e),c=u.prefixCls,l=u.direction,d=Object(i["ref"])((void 0===e.value?e.defaultValue:e.value)||[]);Object(i["watch"])((function(){return e.value}),(function(){d.value=e.value||[]}));var f=Object(i["computed"])((function(){return e.options.map((function(e){return"string"===typeof e||"number"===typeof e?{label:e,value:e}:e}))})),p=Object(i["ref"])(Symbol()),v=Object(i["ref"])(new Map),h=function(e){v.value.delete(e),p.value=Symbol()},m=function(e,t){v.value.set(e,t),p.value=Symbol()},g=Object(i["ref"])(new Map);Object(i["watch"])(p,(function(){var e,t=new Map,n=NT(v.value.values());try{for(n.s();!(e=n.n()).done;){var r=e.value;t.set(r,!0)}}catch(o){n.e(o)}finally{n.f()}g.value=t}));var b=function(t){var n=d.value.indexOf(t.value),o=Ae(d.value);-1===n?o.push(t.value):o.splice(n,1),void 0===e.value&&(d.value=o);var i=o.filter((function(e){return g.value.has(e)})).sort((function(e,t){var n=f.value.findIndex((function(t){return t.value===e})),r=f.value.findIndex((function(e){return e.value===t}));return n-r}));r("update:value",i),r("change",i),a.onFieldChange()};return Object(i["provide"])(OT,{cancelValue:h,registerValue:m,toggleOption:b,mergedValue:d,name:Object(i["computed"])((function(){return e.name})),disabled:Object(i["computed"])((function(){return e.disabled}))}),o({mergedValue:d}),function(){var t,r=e.id,o=void 0===r?a.id.value:r,u=null,p="".concat(c.value,"-group");return f.value&&f.value.length>0&&(u=f.value.map((function(t){var r;return Object(i["createVNode"])(ST,{prefixCls:c.value,key:t.value.toString(),disabled:"disabled"in t?t.disabled:e.disabled,indeterminate:t.indeterminate,value:t.value,checked:-1!==d.value.indexOf(t.value),onChange:t.onChange,class:"".concat(p,"-item")},{default:function(){return[void 0===t.label?null===(r=n.label)||void 0===r?void 0:r.call(n,t):t.label]}})}))),Object(i["createVNode"])("div",{class:[p,s({},"".concat(p,"-rtl"),"rtl"===l.value)],id:o},[u||(null===(t=n.default)||void 0===t?void 0:t.call(n))])}}});ST.Group=MT,ST.install=function(e){return e.component(ST.name,ST),e.component(MT.name,MT),e};var xT=ST,jT=Ic("small","default"),TT=function(){return{id:String,prefixCls:String,size:Et.oneOf(jT),disabled:{type:Boolean,default:void 0},checkedChildren:Et.any,unCheckedChildren:Et.any,tabindex:Et.oneOfType([Et.string,Et.number]),autofocus:{type:Boolean,default:void 0},loading:{type:Boolean,default:void 0},checked:Et.oneOfType([Et.string,Et.number,Et.looseBool]),checkedValue:Et.oneOfType([Et.string,Et.number,Et.looseBool]).def(!0),unCheckedValue:Et.oneOfType([Et.string,Et.number,Et.looseBool]).def(!1),onChange:{type:Function},onClick:{type:Function},onKeydown:{type:Function},onMouseup:{type:Function},"onUpdate:checked":{type:Function},onBlur:Function,onFocus:Function}},DT=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ASwitch",__ANT_SWITCH:!0,inheritAttrs:!1,props:TT(),slots:["checkedChildren","unCheckedChildren"],setup:function(e,t){var n=t.attrs,r=t.slots,o=t.expose,a=t.emit,u=vb();Object(i["onBeforeMount"])((function(){tn(!("defaultChecked"in n),"Switch","'defaultChecked' is deprecated, please use 'v-model:checked'"),tn(!("value"in n),"Switch","`value` is not validate prop, do you mean `checked`?")}));var c=Object(i["ref"])(void 0!==e.checked?e.checked:n.defaultChecked),l=Object(i["computed"])((function(){return c.value===e.checkedValue}));Object(i["watch"])((function(){return e.checked}),(function(){c.value=e.checked}));var d=wv("switch",e),f=d.prefixCls,p=d.direction,v=d.size,h=Object(i["ref"])(),m=function(){var e;null===(e=h.value)||void 0===e||e.focus()},g=function(){var e;null===(e=h.value)||void 0===e||e.blur()};o({focus:m,blur:g}),Object(i["onMounted"])((function(){Object(i["nextTick"])((function(){e.autofocus&&!e.disabled&&h.value.focus()}))}));var b=function(t,n){e.disabled||(a("update:checked",t),a("change",t,n),u.onFieldChange())},y=function(e){a("blur",e)},O=function(t){m();var n=l.value?e.unCheckedValue:e.checkedValue;b(n,t),a("click",n,t)},C=function(t){t.keyCode===WN.LEFT?b(e.unCheckedValue,t):t.keyCode===WN.RIGHT&&b(e.checkedValue,t),a("keydown",t)},w=function(e){var t;null===(t=h.value)||void 0===t||t.blur(),a("mouseup",e)},S=Object(i["computed"])((function(){var t;return t={},s(t,"".concat(f.value,"-small"),"small"===v.value),s(t,"".concat(f.value,"-loading"),e.loading),s(t,"".concat(f.value,"-checked"),l.value),s(t,"".concat(f.value,"-disabled"),e.disabled),s(t,f.value,!0),s(t,"".concat(f.value,"-rtl"),"rtl"===p.value),t}));return function(){var t;return Object(i["createVNode"])(rC,{insertExtraNode:!0},{default:function(){return[Object(i["createVNode"])("button",Fe(Fe(Fe({},mO(e,["prefixCls","checkedChildren","unCheckedChildren","checked","autofocus","checkedValue","unCheckedValue","id","onChange","onUpdate:checked"])),n),{},{id:null!==(t=e.id)&&void 0!==t?t:u.id.value,onKeydown:C,onClick:O,onBlur:y,onMouseup:w,type:"button",role:"switch","aria-checked":c.value,disabled:e.disabled||e.loading,class:[n.class,S.value],ref:h}),[Object(i["createVNode"])("div",{class:"".concat(f.value,"-handle")},[e.loading?Object(i["createVNode"])(of,{class:"".concat(f.value,"-loading-icon")},null):null]),Object(i["createVNode"])("span",{class:"".concat(f.value,"-inner")},[l.value?Rl(r,e,"checkedChildren"):Rl(r,e,"unCheckedChildren")])])]}})}}}),ET=Bc(DT),kT=function(e,t){var n=t.attrs,r=t.slots;return Object(i["createVNode"])(CC,Fe(Fe({size:"small",type:"primary"},e),n),r)},LT=kT,YT=Ic("success","processing","error","default","warning"),_T=Ic("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"),AT=function(){return{prefixCls:String,checked:{type:Boolean,default:void 0},onChange:{type:Function},onClick:{type:Function},"onUpdate:checked":Function}},PT=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ACheckableTag",props:AT(),setup:function(e,t){var n=t.slots,r=t.emit,o=wv("tag",e),a=o.prefixCls,u=function(t){var n=e.checked;r("update:checked",!n),r("change",!n),r("click",t)},c=Object(i["computed"])((function(){var t;return Qt(a.value,(t={},s(t,"".concat(a.value,"-checkable"),!0),s(t,"".concat(a.value,"-checkable-checked"),e.checked),t))}));return function(){var e;return Object(i["createVNode"])("span",{class:c.value,onClick:u},[null===(e=n.default)||void 0===e?void 0:e.call(n)])}}}),FT=PT,IT=new RegExp("^(".concat(_T.join("|"),")(-inverse)?$")),BT=new RegExp("^(".concat(YT.join("|"),")$")),ZT=function(){return{prefixCls:String,color:{type:String},closable:{type:Boolean,default:!1},closeIcon:Et.any,visible:{type:Boolean,default:void 0},onClose:{type:Function},"onUpdate:visible":Function,icon:Et.any}},RT=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ATag",props:ZT(),slots:["closeIcon","icon"],setup:function(e,t){var n=t.slots,r=t.emit,o=t.attrs,a=wv("tag",e),u=a.prefixCls,c=a.direction,l=Object(i["ref"])(!0);Object(i["watchEffect"])((function(){void 0!==e.visible&&(l.value=e.visible)}));var d=function(t){t.stopPropagation(),r("update:visible",!1),r("close",t),t.defaultPrevented||void 0===e.visible&&(l.value=!1)},f=Object(i["computed"])((function(){var t=e.color;return!!t&&(IT.test(t)||BT.test(t))})),p=Object(i["computed"])((function(){var t;return Qt(u.value,(t={},s(t,"".concat(u.value,"-").concat(e.color),f.value),s(t,"".concat(u.value,"-has-color"),e.color&&!f.value),s(t,"".concat(u.value,"-hidden"),!l.value),s(t,"".concat(u.value,"-rtl"),"rtl"===c.value),t))}));return function(){var t,r,a,c=e.icon,l=void 0===c?null===(t=n.icon)||void 0===t?void 0:t.call(n):c,s=e.color,v=e.closeIcon,h=void 0===v?null===(r=n.closeIcon)||void 0===r?void 0:r.call(n):v,m=e.closable,g=void 0!==m&&m,b=function(){return g?h?Object(i["createVNode"])("span",{class:"".concat(u.value,"-close-icon"),onClick:d},[h]):Object(i["createVNode"])(Dp,{class:"".concat(u.value,"-close-icon"),onClick:d},null):null},y={backgroundColor:s&&!f.value?s:void 0},O=l||null,C=null===(a=n.default)||void 0===a?void 0:a.call(n),w=O?Object(i["createVNode"])(i["Fragment"],null,[O,Object(i["createVNode"])("span",null,[C])]):C,S="onClick"in o,N=Object(i["createVNode"])("span",{class:p.value,style:y},[w,b()]);return S?Object(i["createVNode"])(rC,null,{default:function(){return[N]}}):N}}});RT.CheckableTag=FT,RT.install=function(e){return e.component(RT.name,RT),e.component(FT.name,FT),e};var HT=RT;function VT(e,t){var n=t.slots,r=t.attrs;return Object(i["createVNode"])(HT,Fe(Fe({color:"blue"},e),r),n)}var XT={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},JT=XT;function zT(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){QT(e,t,n[t])}))}return e}function QT(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var WT=function(e,t){var n=zT({},e,t.attrs);return Object(i["createVNode"])(ef,zT({},n,{icon:JT}),null)};WT.displayName="CalendarOutlined",WT.inheritAttrs=!1;var KT=WT,UT={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},GT=UT;function $T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){qT(e,t,n[t])}))}return e}function qT(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var eD=function(e,t){var n=$T({},e,t.attrs);return Object(i["createVNode"])(ef,$T({},n,{icon:GT}),null)};eD.displayName="ClockCircleOutlined",eD.inheritAttrs=!1;var tD=eD;function nD(e){var t=Object(i["useAttrs"])();return Fe(Fe({},e),t)}var rD=Symbol("PanelContextProps"),oD=function(e){Object(i["provide"])(rD,e)},iD=function(){return Object(i["inject"])(rD,{})},aD={visibility:"hidden"};function uD(e,t){var n,r=t.slots,o=nD(e),a=o.prefixCls,u=o.prevIcon,c=void 0===u?"‹":u,l=o.nextIcon,s=void 0===l?"›":l,d=o.superPrevIcon,f=void 0===d?"«":d,p=o.superNextIcon,v=void 0===p?"»":p,h=o.onSuperPrev,m=o.onSuperNext,g=o.onPrev,b=o.onNext,y=iD(),O=y.hideNextBtn,C=y.hidePrevBtn;return Object(i["createVNode"])("div",{class:a},[h&&Object(i["createVNode"])("button",{type:"button",onClick:h,tabindex:-1,class:"".concat(a,"-super-prev-btn"),style:C.value?aD:{}},[f]),g&&Object(i["createVNode"])("button",{type:"button",onClick:g,tabindex:-1,class:"".concat(a,"-prev-btn"),style:C.value?aD:{}},[c]),Object(i["createVNode"])("div",{class:"".concat(a,"-view")},[null===(n=r.default)||void 0===n?void 0:n.call(r)]),b&&Object(i["createVNode"])("button",{type:"button",onClick:b,tabindex:-1,class:"".concat(a,"-next-btn"),style:O.value?aD:{}},[s]),m&&Object(i["createVNode"])("button",{type:"button",onClick:m,tabindex:-1,class:"".concat(a,"-super-next-btn"),style:O.value?aD:{}},[v])])}uD.displayName="Header",uD.inheritAttrs=!1;var cD=uD;function lD(e){var t=nD(e),n=t.prefixCls,r=t.generateConfig,o=t.viewDate,a=t.onPrevDecades,u=t.onNextDecades,c=iD(),l=c.hideHeader;if(l)return null;var s="".concat(n,"-header"),d=r.getYear(o),f=Math.floor(d/ID)*ID,p=f+ID-1;return Object(i["createVNode"])(cD,Fe(Fe({},t),{},{prefixCls:s,onSuperPrev:a,onSuperNext:u}),{default:function(){return[f,Object(i["createTextVNode"])("-"),p]}})}lD.displayName="DecadeHeader",lD.inheritAttrs=!1;var sD=lD;function dD(e,t,n,r,o){var i=e.setHour(t,n);return i=e.setMinute(i,r),i=e.setSecond(i,o),i}function fD(e,t,n){if(!n)return t;var r=t;return r=e.setHour(r,e.getHour(n)),r=e.setMinute(r,e.getMinute(n)),r=e.setSecond(r,e.getSecond(n)),r}function pD(e,t,n,r,o,i){var a=Math.floor(e/r)*r;if(a<e)return[a,60-o,60-i];var u=Math.floor(t/o)*o;if(u<t)return[a,u,60-i];var c=Math.floor(n/i)*i;return[a,u,c]}function vD(e,t){var n=e.getYear(t),r=e.getMonth(t)+1,o=e.getEndDate(e.getFixedDate("".concat(n,"-").concat(r,"-01"))),i=e.getDate(o),a=r<10?"0".concat(r):"".concat(r);return"".concat(n,"-").concat(a,"-").concat(i)}function hD(e){for(var t=nD(e),n=t.prefixCls,r=t.disabledDate,o=t.onSelect,a=t.picker,u=t.rowNum,c=t.colNum,l=t.prefixColumn,d=t.rowClassName,f=t.baseDate,p=t.getCellClassName,v=t.getCellText,h=t.getCellNode,m=t.getCellDate,g=t.generateConfig,b=t.titleCell,y=t.headerCells,O=iD(),C=O.onDateMouseenter,w=O.onDateMouseleave,S=O.mode,N="".concat(n,"-cell"),M=[],x=0;x<u;x+=1){for(var j=[],T=void 0,D=function(){var e,t=x*c+E,n=m(f,t),u=rE({cellDate:n,mode:S.value,disabledDate:r,generateConfig:g});0===E&&(T=n,l&&j.push(l(T)));var d=b&&b(n);j.push(Object(i["createVNode"])("td",{key:E,title:d,class:Qt(N,Fe((e={},s(e,"".concat(N,"-disabled"),u),s(e,"".concat(N,"-start"),1===v(n)||"year"===a&&Number(d)%10===0),s(e,"".concat(N,"-end"),d===vD(g,n)||"year"===a&&Number(d)%10===9),e),p(n))),onClick:function(){u||o(n)},onMouseenter:function(){!u&&C&&C(n)},onMouseleave:function(){!u&&w&&w(n)}},[h?h(n):Object(i["createVNode"])("div",{class:"".concat(N,"-inner")},[v(n)])]))},E=0;E<c;E+=1)D();M.push(Object(i["createVNode"])("tr",{key:x,class:d&&d(T)},[j]))}return Object(i["createVNode"])("div",{class:"".concat(n,"-body")},[Object(i["createVNode"])("table",{class:"".concat(n,"-content")},[y&&Object(i["createVNode"])("thead",null,[Object(i["createVNode"])("tr",null,[y])]),Object(i["createVNode"])("tbody",null,[M])])])}hD.displayName="PanelBody",hD.inheritAttrs=!1;var mD=hD,gD=3,bD=4;function yD(e){var t=nD(e),n=FD-1,r=t.prefixCls,o=t.viewDate,a=t.generateConfig,u="".concat(r,"-cell"),c=a.getYear(o),l=Math.floor(c/FD)*FD,d=Math.floor(c/ID)*ID,f=d+ID-1,p=a.setYear(o,d-Math.ceil((gD*bD*FD-ID)/2)),v=function(e){var t,r=a.getYear(e),o=r+n;return t={},s(t,"".concat(u,"-in-view"),d<=r&&o<=f),s(t,"".concat(u,"-selected"),r===l),t};return Object(i["createVNode"])(mD,Fe(Fe({},t),{},{rowNum:bD,colNum:gD,baseDate:p,getCellText:function(e){var t=a.getYear(e);return"".concat(t,"-").concat(t+n)},getCellClassName:v,getCellDate:function(e,t){return a.addYear(e,t*FD)}}),null)}yD.displayName="DecadeBody",yD.inheritAttrs=!1;var OD=yD,CD=new Map;function wD(e,t){var n;function r(){hN(e)?t():n=eC((function(){r()}))}return r(),function(){eC.cancel(n)}}function SD(e,t,n){if(CD.get(e)&&eC.cancel(CD.get(e)),n<=0)CD.set(e,eC((function(){e.scrollTop=t})));else{var r=t-e.scrollTop,o=r/n*10;CD.set(e,eC((function(){e.scrollTop+=o,e.scrollTop!==t&&SD(e,t,n-10)})))}}function ND(e,t){var n=t.onLeftRight,r=t.onCtrlLeftRight,o=t.onUpDown,i=t.onPageUpDown,a=t.onEnter,u=e.which,c=e.ctrlKey,l=e.metaKey;switch(u){case WN.LEFT:if(c||l){if(r)return r(-1),!0}else if(n)return n(-1),!0;break;case WN.RIGHT:if(c||l){if(r)return r(1),!0}else if(n)return n(1),!0;break;case WN.UP:if(o)return o(-1),!0;break;case WN.DOWN:if(o)return o(1),!0;break;case WN.PAGE_UP:if(i)return i(-1),!0;break;case WN.PAGE_DOWN:if(i)return i(1),!0;break;case WN.ENTER:if(a)return a(),!0;break}return!1}function MD(e,t,n,r){var o=e;if(!o)switch(t){case"time":o=r?"hh:mm:ss a":"HH:mm:ss";break;case"week":o="gggg-wo";break;case"month":o="YYYY-MM";break;case"quarter":o="YYYY-[Q]Q";break;case"year":o="YYYY";break;default:o=n?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return o}function xD(e,t,n){var r="time"===e?8:10,o="function"===typeof t?t(n.getNow()).length:t.length;return Math.max(r,o)+2}var jD=null,TD=new Set;function DD(e){return!jD&&"undefined"!==typeof window&&window.addEventListener&&(jD=function(e){Ae(TD).forEach((function(t){t(e)}))},window.addEventListener("mousedown",jD)),TD.add(e),function(){TD.delete(e),0===TD.size&&(window.removeEventListener("mousedown",jD),jD=null)}}function ED(e){var t,n=e.target;return e.composed&&n.shadowRoot&&(null===(t=e.composedPath)||void 0===t?void 0:t.call(e)[0])||n}var kD=function(e){return"month"===e||"date"===e?"year":e},LD=function(e){return"date"===e?"month":e},YD=function(e){return"month"===e||"date"===e?"quarter":e},_D=function(e){return"date"===e?"week":e},AD={year:kD,month:LD,quarter:YD,week:_D,time:null,date:null};function PD(e,t){return e.some((function(e){return e&&e.contains(t)}))}var FD=10,ID=10*FD;function BD(e){var t=nD(e),n=t.prefixCls,r=t.onViewDateChange,o=t.generateConfig,a=t.viewDate,u=t.operationRef,c=t.onSelect,l=t.onPanelChange,s="".concat(n,"-decade-panel");u.value={onKeydown:function(e){return ND(e,{onLeftRight:function(e){c(o.addYear(a,e*FD),"key")},onCtrlLeftRight:function(e){c(o.addYear(a,e*ID),"key")},onUpDown:function(e){c(o.addYear(a,e*FD*gD),"key")},onEnter:function(){l("year",a)}})}};var d=function(e){var t=o.addYear(a,e*ID);r(t),l(null,t)},f=function(e){c(e,"mouse"),l("year",e)};return Object(i["createVNode"])("div",{class:s},[Object(i["createVNode"])(sD,Fe(Fe({},t),{},{prefixCls:n,onPrevDecades:function(){d(-1)},onNextDecades:function(){d(1)}}),null),Object(i["createVNode"])(OD,Fe(Fe({},t),{},{prefixCls:n,onSelect:f}),null)])}BD.displayName="DecadePanel",BD.inheritAttrs=!1;var ZD=BD,RD=7;function HD(e,t){return!e&&!t||!(!e||!t)&&void 0}function VD(e,t,n){var r=HD(t,n);if("boolean"===typeof r)return r;var o=Math.floor(e.getYear(t)/10),i=Math.floor(e.getYear(n)/10);return o===i}function XD(e,t,n){var r=HD(t,n);return"boolean"===typeof r?r:e.getYear(t)===e.getYear(n)}function JD(e,t){var n=Math.floor(e.getMonth(t)/3);return n+1}function zD(e,t,n){var r=HD(t,n);return"boolean"===typeof r?r:XD(e,t,n)&&JD(e,t)===JD(e,n)}function QD(e,t,n){var r=HD(t,n);return"boolean"===typeof r?r:XD(e,t,n)&&e.getMonth(t)===e.getMonth(n)}function WD(e,t,n){var r=HD(t,n);return"boolean"===typeof r?r:e.getYear(t)===e.getYear(n)&&e.getMonth(t)===e.getMonth(n)&&e.getDate(t)===e.getDate(n)}function KD(e,t,n){var r=HD(t,n);return"boolean"===typeof r?r:e.getHour(t)===e.getHour(n)&&e.getMinute(t)===e.getMinute(n)&&e.getSecond(t)===e.getSecond(n)}function UD(e,t,n,r){var o=HD(n,r);return"boolean"===typeof o?o:e.locale.getWeek(t,n)===e.locale.getWeek(t,r)}function GD(e,t,n){return WD(e,t,n)&&KD(e,t,n)}function $D(e,t,n,r){return!!(t&&n&&r)&&(!WD(e,t,r)&&!WD(e,n,r)&&e.isAfter(r,t)&&e.isAfter(n,r))}function qD(e,t,n){var r=t.locale.getWeekFirstDay(e),o=t.setDate(n,1),i=t.getWeekDay(o),a=t.addDate(o,r-i);return t.getMonth(a)===t.getMonth(n)&&t.getDate(a)>1&&(a=t.addDate(a,-7)),a}function eE(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;switch(t){case"year":return n.addYear(e,10*r);case"quarter":case"month":return n.addYear(e,r);default:return n.addMonth(e,r)}}function tE(e,t){var n=t.generateConfig,r=t.locale,o=t.format;return"function"===typeof o?o(e):n.locale.format(r.locale,e,o)}function nE(e,t){var n=t.generateConfig,r=t.locale,o=t.formatList;return e&&"function"!==typeof o[0]?n.locale.parse(r.locale,e,o):null}function rE(e){var t=e.cellDate,n=e.mode,r=e.disabledDate,o=e.generateConfig;if(!r)return!1;var i=function(e,n,i){var a=n;while(a<=i){var u=void 0;switch(e){case"date":if(u=o.setDate(t,a),!r(u))return!1;break;case"month":if(u=o.setMonth(t,a),!rE({cellDate:u,mode:"month",generateConfig:o,disabledDate:r}))return!1;break;case"year":if(u=o.setYear(t,a),!rE({cellDate:u,mode:"year",generateConfig:o,disabledDate:r}))return!1;break}a+=1}return!0};switch(n){case"date":case"week":return r(t);case"month":var a=1,u=o.getDate(o.getEndDate(t));return i("date",a,u);case"quarter":var c=3*Math.floor(o.getMonth(t)/3),l=c+2;return i("month",c,l);case"year":return i("month",0,11);case"decade":var s=o.getYear(t),d=Math.floor(s/FD)*FD,f=d+FD-1;return i("year",d,f)}}function oE(e){var t=nD(e),n=iD(),r=n.hideHeader;if(r.value)return null;var o=t.prefixCls,a=t.generateConfig,u=t.locale,c=t.value,l=t.format,s="".concat(o,"-header");return Object(i["createVNode"])(cD,{prefixCls:s},{default:function(){return[c?tE(c,{locale:u,format:l,generateConfig:a}):" "]}})}oE.displayName="TimeHeader",oE.inheritAttrs=!1;var iE=oE,aE=Object(i["defineComponent"])({name:"TimeUnitColumn",props:["prefixCls","units","onSelect","value","active","hideDisabledOptions"],setup:function(e){var t=iD(),n=t.open,r=Object(i["ref"])(null),o=Object(i["ref"])(new Map),a=Object(i["ref"])();return Object(i["watch"])((function(){return e.value}),(function(){var t=o.value.get(e.value);t&&!1!==n.value&&SD(r.value,t.offsetTop,120)})),Object(i["onBeforeUnmount"])((function(){var e;null===(e=a.value)||void 0===e||e.call(a)})),Object(i["watch"])(n,(function(){var t;null===(t=a.value)||void 0===t||t.call(a),Object(i["nextTick"])((function(){if(n.value){var t=o.value.get(e.value);t&&(a.value=wD(t,(function(){SD(r.value,t.offsetTop,0)})))}}))}),{immediate:!0,flush:"post"}),function(){var t=e.prefixCls,n=e.units,a=e.onSelect,u=e.value,c=e.active,l=e.hideDisabledOptions,d="".concat(t,"-cell");return Object(i["createVNode"])("ul",{class:Qt("".concat(t,"-column"),s({},"".concat(t,"-column-active"),c)),ref:r,style:{position:"relative"}},[n.map((function(e){var t;return l&&e.disabled?null:Object(i["createVNode"])("li",{key:e.value,ref:function(t){o.value.set(e.value,t)},class:Qt(d,(t={},s(t,"".concat(d,"-disabled"),e.disabled),s(t,"".concat(d,"-selected"),u===e.value),t)),onClick:function(){e.disabled||a(e.value)}},[Object(i["createVNode"])("div",{class:"".concat(d,"-inner")},[e.label])])}))])}}});function uE(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0",r=String(e);while(r.length<t)r="".concat(n).concat(e);return r}var cE=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t};function lE(e){return null===e||void 0===e?[]:Array.isArray(e)?e:[e]}function sE(e){var t={};return Object.keys(e).forEach((function(n){"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)&&"role"!==n&&"name"!==n||"data-__"===n.substr(0,7)||(t[n]=e[n])})),t}function dE(e,t){return e?e[t]:null}function fE(e,t,n){var r=[dE(e,0),dE(e,1)];return r[n]="function"===typeof t?t(r[n]):t,r[0]||r[1]?r:null}function pE(e,t,n,r){for(var o=[],i=e;i<=t;i+=n)o.push({label:uE(i,2),value:i,disabled:(r||[]).includes(i)});return o}var vE=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"TimeBody",inheritAttrs:!1,props:["generateConfig","prefixCls","operationRef","activeColumnIndex","value","showHour","showMinute","showSecond","use12Hours","hourStep","minuteStep","secondStep","disabledHours","disabledMinutes","disabledSeconds","disabledTime","hideDisabledOptions","onSelect"],setup:function(e){var t=Object(i["computed"])((function(){return e.value?e.generateConfig.getHour(e.value):-1})),n=Object(i["computed"])((function(){return!!e.use12Hours&&t.value>=12})),r=Object(i["computed"])((function(){return e.use12Hours?t.value%12:t.value})),o=Object(i["computed"])((function(){return e.value?e.generateConfig.getMinute(e.value):-1})),a=Object(i["computed"])((function(){return e.value?e.generateConfig.getSecond(e.value):-1})),u=Object(i["ref"])(e.generateConfig.getNow()),c=Object(i["ref"])(),l=Object(i["ref"])(),s=Object(i["ref"])();Object(i["onBeforeUpdate"])((function(){u.value=e.generateConfig.getNow()})),Object(i["watchEffect"])((function(){if(e.disabledTime){var t=e.disabledTime(u),n=[t.disabledHours,t.disabledMinutes,t.disabledSeconds];c.value=n[0],l.value=n[1],s.value=n[2]}else{var r=[e.disabledHours,e.disabledMinutes,e.disabledSeconds];c.value=r[0],l.value=r[1],s.value=r[2]}}));var d=function(t,n,r,o){var i=e.value||e.generateConfig.getNow(),a=Math.max(0,n),u=Math.max(0,r),c=Math.max(0,o);return i=dD(e.generateConfig,i,e.use12Hours&&t?a+12:a,u,c),i},f=Object(i["computed"])((function(){var t;return pE(0,23,null!==(t=e.hourStep)&&void 0!==t?t:1,c.value&&c.value())})),p=Object(i["computed"])((function(){if(!e.use12Hours)return[!1,!1];var t=[!0,!0];return f.value.forEach((function(e){var n=e.disabled,r=e.value;n||(r>=12?t[1]=!1:t[0]=!1)})),t})),v=Object(i["computed"])((function(){return e.use12Hours?f.value.filter(n.value?function(e){return e.value>=12}:function(e){return e.value<12}).map((function(e){var t=e.value%12,n=0===t?"12":uE(t,2);return Fe(Fe({},e),{},{label:n,value:t})})):f.value})),h=Object(i["computed"])((function(){var n;return pE(0,59,null!==(n=e.minuteStep)&&void 0!==n?n:1,l.value&&l.value(t.value))})),m=Object(i["computed"])((function(){var n;return pE(0,59,null!==(n=e.secondStep)&&void 0!==n?n:1,s.value&&s.value(t.value,o.value))}));return function(){var t=e.prefixCls,u=e.operationRef,c=e.activeColumnIndex,l=e.showHour,s=e.showMinute,f=e.showSecond,g=e.use12Hours,b=e.hideDisabledOptions,y=e.onSelect,O=[],C="".concat(t,"-content"),w="".concat(t,"-time-panel");function S(e,t,n,r,o){!1!==e&&O.push({node:NO(t,{prefixCls:w,value:n,active:c===O.length,onSelect:o,units:r,hideDisabledOptions:b}),onSelect:o,value:n,units:r})}u.value={onUpDown:function(e){var t=O[c];if(t)for(var n=t.units.findIndex((function(e){return e.value===t.value})),r=t.units.length,o=1;o<r;o+=1){var i=t.units[(n+e*o+r)%r];if(!0!==i.disabled){t.onSelect(i.value);break}}}},S(l,Object(i["createVNode"])(aE,{key:"hour"},null),r.value,v.value,(function(e){y(d(n.value,e,o.value,a.value),"mouse")})),S(s,Object(i["createVNode"])(aE,{key:"minute"},null),o.value,h.value,(function(e){y(d(n.value,r.value,e,a.value),"mouse")})),S(f,Object(i["createVNode"])(aE,{key:"second"},null),a.value,m.value,(function(e){y(d(n.value,r.value,o.value,e),"mouse")}));var N=-1;return"boolean"===typeof n.value&&(N=n.value?1:0),S(!0===g,Object(i["createVNode"])(aE,{key:"12hours"},null),N,[{label:"AM",value:0,disabled:p.value[0]},{label:"PM",value:1,disabled:p.value[1]}],(function(e){y(d(!!e,r.value,o.value,a.value),"mouse")})),Object(i["createVNode"])("div",{class:C},[O.map((function(e){var t=e.node;return t}))])}}}),hE=vE,mE=function(e){return e.filter((function(e){return!1!==e})).length};function gE(e){var t=nD(e),n=t.generateConfig,r=t.format,o=void 0===r?"HH:mm:ss":r,a=t.prefixCls,u=t.active,c=t.operationRef,l=t.showHour,d=t.showMinute,f=t.showSecond,p=t.use12Hours,v=void 0!==p&&p,h=t.onSelect,m=t.value,g="".concat(a,"-time-panel"),b=Object(i["ref"])(),y=Object(i["ref"])(-1),O=mE([l,d,f,v]);return c.value={onKeydown:function(e){return ND(e,{onLeftRight:function(e){y.value=(y.value+e+O)%O},onUpDown:function(e){-1===y.value?y.value=0:b.value&&b.value.onUpDown(e)},onEnter:function(){h(m||n.getNow(),"key"),y.value=-1}})},onBlur:function(){y.value=-1}},Object(i["createVNode"])("div",{class:Qt(g,s({},"".concat(g,"-active"),u))},[Object(i["createVNode"])(iE,Fe(Fe({},t),{},{format:o,prefixCls:a}),null),Object(i["createVNode"])(hE,Fe(Fe({},t),{},{prefixCls:a,activeColumnIndex:y.value,operationRef:b}),null)])}gE.displayName="TimePanel",gE.inheritAttrs=!1;var bE=gE;function yE(e){var t=e.cellPrefixCls,n=e.generateConfig,r=e.rangedValue,o=e.hoverRangedValue,i=e.isInView,a=e.isSameCell,u=e.offsetCell,c=e.today,l=e.value;function d(e){var d,f=u(e,-1),p=u(e,1),v=dE(r,0),h=dE(r,1),m=dE(o,0),g=dE(o,1),b=$D(n,m,g,e);function y(e){return a(v,e)}function O(e){return a(h,e)}var C=a(m,e),w=a(g,e),S=(b||w)&&(!i(f)||O(f)),N=(b||C)&&(!i(p)||y(p));return d={},s(d,"".concat(t,"-in-view"),i(e)),s(d,"".concat(t,"-in-range"),$D(n,v,h,e)),s(d,"".concat(t,"-range-start"),y(e)),s(d,"".concat(t,"-range-end"),O(e)),s(d,"".concat(t,"-range-start-single"),y(e)&&!h),s(d,"".concat(t,"-range-end-single"),O(e)&&!v),s(d,"".concat(t,"-range-start-near-hover"),y(e)&&(a(f,m)||$D(n,m,g,f))),s(d,"".concat(t,"-range-end-near-hover"),O(e)&&(a(p,g)||$D(n,m,g,p))),s(d,"".concat(t,"-range-hover"),b),s(d,"".concat(t,"-range-hover-start"),C),s(d,"".concat(t,"-range-hover-end"),w),s(d,"".concat(t,"-range-hover-edge-start"),S),s(d,"".concat(t,"-range-hover-edge-end"),N),s(d,"".concat(t,"-range-hover-edge-start-near-range"),S&&a(f,h)),s(d,"".concat(t,"-range-hover-edge-end-near-range"),N&&a(p,v)),s(d,"".concat(t,"-today"),a(c,e)),s(d,"".concat(t,"-selected"),a(l,e)),d}return d}var OE=Symbol("RangeContextProps"),CE=function(e){Object(i["provide"])(OE,e)},wE=function(){return Object(i["inject"])(OE,{rangedValue:Object(i["ref"])(),hoverRangedValue:Object(i["ref"])(),inRange:Object(i["ref"])(),panelPosition:Object(i["ref"])()})},SE=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"PanelContextProvider",inheritAttrs:!1,props:{value:{type:Object,default:function(){return{}}}},setup:function(e,t){var n=t.slots,r={rangedValue:Object(i["ref"])(e.value.rangedValue),hoverRangedValue:Object(i["ref"])(e.value.hoverRangedValue),inRange:Object(i["ref"])(e.value.inRange),panelPosition:Object(i["ref"])(e.value.panelPosition)};return CE(r),i["toRef"],Object(i["watch"])((function(){return e.value}),(function(){Object.keys(e.value).forEach((function(t){r[t]&&(r[t].value=e.value[t])}))})),function(){var e;return null===(e=n.default)||void 0===e?void 0:e.call(n)}}});function NE(e){var t=nD(e),n=t.prefixCls,r=t.generateConfig,o=t.prefixColumn,a=t.locale,u=t.rowCount,c=t.viewDate,l=t.value,s=t.dateRender,d=wE(),f=d.rangedValue,p=d.hoverRangedValue,v=qD(a.locale,r,c),h="".concat(n,"-cell"),m=r.locale.getWeekFirstDay(a.locale),g=r.getNow(),b=[],y=a.shortWeekDays||(r.locale.getShortWeekDays?r.locale.getShortWeekDays(a.locale):[]);o&&b.push(Object(i["createVNode"])("th",{key:"empty","aria-label":"empty cell"},null));for(var O=0;O<RD;O+=1)b.push(Object(i["createVNode"])("th",{key:O},[y[(O+m)%RD]]));var C=yE({cellPrefixCls:h,today:g,value:l,generateConfig:r,rangedValue:o?null:f.value,hoverRangedValue:o?null:p.value,isSameCell:function(e,t){return WD(r,e,t)},isInView:function(e){return QD(r,e,c)},offsetCell:function(e,t){return r.addDate(e,t)}}),w=s?function(e){return s({current:e,today:g})}:void 0;return Object(i["createVNode"])(mD,Fe(Fe({},t),{},{rowNum:u,colNum:RD,baseDate:v,getCellNode:w,getCellText:r.getDate,getCellClassName:C,getCellDate:r.addDate,titleCell:function(e){return tE(e,{locale:a,format:"YYYY-MM-DD",generateConfig:r})},headerCells:b}),null)}NE.displayName="DateBody",NE.inheritAttrs=!1,NE.props=["prefixCls","generateConfig","value?","viewDate","locale","rowCount","onSelect","dateRender?","disabledDate?","prefixColumn?","rowClassName?"];var ME=NE;function xE(e){var t=nD(e),n=t.prefixCls,r=t.generateConfig,o=t.locale,a=t.viewDate,u=t.onNextMonth,c=t.onPrevMonth,l=t.onNextYear,s=t.onPrevYear,d=t.onYearClick,f=t.onMonthClick,p=iD(),v=p.hideHeader;if(v.value)return null;var h="".concat(n,"-header"),m=o.shortMonths||(r.locale.getShortMonths?r.locale.getShortMonths(o.locale):[]),g=r.getMonth(a),b=Object(i["createVNode"])("button",{type:"button",key:"year",onClick:d,tabindex:-1,class:"".concat(n,"-year-btn")},[tE(a,{locale:o,format:o.yearFormat,generateConfig:r})]),y=Object(i["createVNode"])("button",{type:"button",key:"month",onClick:f,tabindex:-1,class:"".concat(n,"-month-btn")},[o.monthFormat?tE(a,{locale:o,format:o.monthFormat,generateConfig:r}):m[g]]),O=o.monthBeforeYear?[y,b]:[b,y];return Object(i["createVNode"])(cD,Fe(Fe({},t),{},{prefixCls:h,onSuperPrev:s,onPrev:c,onNext:u,onSuperNext:l}),{default:function(){return[O]}})}xE.displayName="DateHeader",xE.inheritAttrs=!1;var jE=xE,TE=6;function DE(e){var t=nD(e),n=t.prefixCls,r=t.panelName,o=void 0===r?"date":r,a=t.keyboardConfig,u=t.active,c=t.operationRef,l=t.generateConfig,d=t.value,f=t.viewDate,p=t.onViewDateChange,v=t.onPanelChange,h=t.onSelect,m="".concat(n,"-").concat(o,"-panel");c.value={onKeydown:function(e){return ND(e,Fe({onLeftRight:function(e){h(l.addDate(d||f,e),"key")},onCtrlLeftRight:function(e){h(l.addYear(d||f,e),"key")},onUpDown:function(e){h(l.addDate(d||f,e*RD),"key")},onPageUpDown:function(e){h(l.addMonth(d||f,e),"key")}},a))}};var g=function(e){var t=l.addYear(f,e);p(t),v(null,t)},b=function(e){var t=l.addMonth(f,e);p(t),v(null,t)};return Object(i["createVNode"])("div",{class:Qt(m,s({},"".concat(m,"-active"),u))},[Object(i["createVNode"])(jE,Fe(Fe({},t),{},{prefixCls:n,value:d,viewDate:f,onPrevYear:function(){g(-1)},onNextYear:function(){g(1)},onPrevMonth:function(){b(-1)},onNextMonth:function(){b(1)},onMonthClick:function(){v("month",f)},onYearClick:function(){v("year",f)}}),null),Object(i["createVNode"])(ME,Fe(Fe({},t),{},{onSelect:function(e){return h(e,"mouse")},prefixCls:n,value:d,viewDate:f,rowCount:TE}),null)])}DE.displayName="DatePanel",DE.inheritAttrs=!1;var EE=DE,kE=cE("date","time");function LE(e){var t=nD(e),n=t.prefixCls,r=t.operationRef,o=t.generateConfig,a=t.value,c=t.defaultValue,l=t.disabledTime,d=t.showTime,f=t.onSelect,p="".concat(n,"-datetime-panel"),v=Object(i["ref"])(null),h=Object(i["ref"])({}),m=Object(i["ref"])({}),g="object"===u(d)?Fe({},d):{};function b(e){var t=kE.indexOf(v.value)+e,n=kE[t]||null;return n}var y=function(e){m.value.onBlur&&m.value.onBlur(e),v.value=null};r.value={onKeydown:function(e){if(e.which===WN.TAB){var t=b(e.shiftKey?-1:1);return v.value=t,t&&e.preventDefault(),!0}if(v.value){var n="date"===v.value?h:m;return n.value&&n.value.onKeydown&&n.value.onKeydown(e),!0}return!![WN.LEFT,WN.RIGHT,WN.UP,WN.DOWN].includes(e.which)&&(v.value="date",!0)},onBlur:y,onClose:y};var O=function(e,t){var n=e;"date"===t&&!a&&g.defaultValue?(n=o.setHour(n,o.getHour(g.defaultValue)),n=o.setMinute(n,o.getMinute(g.defaultValue)),n=o.setSecond(n,o.getSecond(g.defaultValue))):"time"===t&&!a&&c&&(n=o.setYear(n,o.getYear(c)),n=o.setMonth(n,o.getMonth(c)),n=o.setDate(n,o.getDate(c))),f&&f(n,"mouse")},C=l?l(a||null):{};return Object(i["createVNode"])("div",{class:Qt(p,s({},"".concat(p,"-active"),v.value))},[Object(i["createVNode"])(EE,Fe(Fe({},t),{},{operationRef:h,active:"date"===v.value,onSelect:function(e){O(fD(o,e,a||"object"!==u(d)?null:d.defaultValue),"date")}}),null),Object(i["createVNode"])(bE,Fe(Fe(Fe(Fe({},t),{},{format:void 0},g),C),{},{disabledTime:null,defaultValue:void 0,operationRef:m,active:"time"===v.value,onSelect:function(e){O(e,"time")}}),null)])}LE.displayName="DatetimePanel",LE.inheritAttrs=!1;var YE=LE;function _E(e){var t=nD(e),n=t.prefixCls,r=t.generateConfig,o=t.locale,a=t.value,u="".concat(n,"-cell"),c=function(e){return Object(i["createVNode"])("td",{key:"week",class:Qt(u,"".concat(u,"-week"))},[r.locale.getWeek(o.locale,e)])},l="".concat(n,"-week-panel-row"),d=function(e){return Qt(l,s({},"".concat(l,"-selected"),UD(r,o.locale,a,e)))};return Object(i["createVNode"])(EE,Fe(Fe({},t),{},{panelName:"week",prefixColumn:c,rowClassName:d,keyboardConfig:{onLeftRight:null}}),null)}_E.displayName="WeekPanel",_E.inheritAttrs=!1;var AE=_E;function PE(e){var t=nD(e),n=t.prefixCls,r=t.generateConfig,o=t.locale,a=t.viewDate,u=t.onNextYear,c=t.onPrevYear,l=t.onYearClick,s=iD(),d=s.hideHeader;if(d.value)return null;var f="".concat(n,"-header");return Object(i["createVNode"])(cD,Fe(Fe({},t),{},{prefixCls:f,onSuperPrev:c,onSuperNext:u}),{default:function(){return[Object(i["createVNode"])("button",{type:"button",onClick:l,class:"".concat(n,"-year-btn")},[tE(a,{locale:o,format:o.yearFormat,generateConfig:r})])]}})}PE.displayName="MonthHeader",PE.inheritAttrs=!1;var FE=PE,IE=3,BE=4;function ZE(e){var t=nD(e),n=t.prefixCls,r=t.locale,o=t.value,a=t.viewDate,u=t.generateConfig,c=t.monthCellRender,l=wE(),s=l.rangedValue,d=l.hoverRangedValue,f="".concat(n,"-cell"),p=yE({cellPrefixCls:f,value:o,generateConfig:u,rangedValue:s.value,hoverRangedValue:d.value,isSameCell:function(e,t){return QD(u,e,t)},isInView:function(){return!0},offsetCell:function(e,t){return u.addMonth(e,t)}}),v=r.shortMonths||(u.locale.getShortMonths?u.locale.getShortMonths(r.locale):[]),h=u.setMonth(a,0),m=c?function(e){return c({current:e,locale:r})}:void 0;return Object(i["createVNode"])(mD,Fe(Fe({},t),{},{rowNum:BE,colNum:IE,baseDate:h,getCellNode:m,getCellText:function(e){return r.monthFormat?tE(e,{locale:r,format:r.monthFormat,generateConfig:u}):v[u.getMonth(e)]},getCellClassName:p,getCellDate:u.addMonth,titleCell:function(e){return tE(e,{locale:r,format:"YYYY-MM",generateConfig:u})}}),null)}ZE.displayName="MonthBody",ZE.inheritAttrs=!1;var RE=ZE;function HE(e){var t=nD(e),n=t.prefixCls,r=t.operationRef,o=t.onViewDateChange,a=t.generateConfig,u=t.value,c=t.viewDate,l=t.onPanelChange,s=t.onSelect,d="".concat(n,"-month-panel");r.value={onKeydown:function(e){return ND(e,{onLeftRight:function(e){s(a.addMonth(u||c,e),"key")},onCtrlLeftRight:function(e){s(a.addYear(u||c,e),"key")},onUpDown:function(e){s(a.addMonth(u||c,e*IE),"key")},onEnter:function(){l("date",u||c)}})}};var f=function(e){var t=a.addYear(c,e);o(t),l(null,t)};return Object(i["createVNode"])("div",{class:d},[Object(i["createVNode"])(FE,Fe(Fe({},t),{},{prefixCls:n,onPrevYear:function(){f(-1)},onNextYear:function(){f(1)},onYearClick:function(){l("year",c)}}),null),Object(i["createVNode"])(RE,Fe(Fe({},t),{},{prefixCls:n,onSelect:function(e){s(e,"mouse"),l("date",e)}}),null)])}HE.displayName="MonthPanel",HE.inheritAttrs=!1;var VE=HE;function XE(e){var t=nD(e),n=t.prefixCls,r=t.generateConfig,o=t.locale,a=t.viewDate,u=t.onNextYear,c=t.onPrevYear,l=t.onYearClick,s=iD(),d=s.hideHeader;if(d.value)return null;var f="".concat(n,"-header");return Object(i["createVNode"])(cD,Fe(Fe({},t),{},{prefixCls:f,onSuperPrev:c,onSuperNext:u}),{default:function(){return[Object(i["createVNode"])("button",{type:"button",onClick:l,class:"".concat(n,"-year-btn")},[tE(a,{locale:o,format:o.yearFormat,generateConfig:r})])]}})}XE.displayName="QuarterHeader",XE.inheritAttrs=!1;var JE=XE,zE=4,QE=1;function WE(e){var t=nD(e),n=t.prefixCls,r=t.locale,o=t.value,a=t.viewDate,u=t.generateConfig,c=wE(),l=c.rangedValue,s=c.hoverRangedValue,d="".concat(n,"-cell"),f=yE({cellPrefixCls:d,value:o,generateConfig:u,rangedValue:l.value,hoverRangedValue:s.value,isSameCell:function(e,t){return zD(u,e,t)},isInView:function(){return!0},offsetCell:function(e,t){return u.addMonth(e,3*t)}}),p=u.setDate(u.setMonth(a,0),1);return Object(i["createVNode"])(mD,Fe(Fe({},t),{},{rowNum:QE,colNum:zE,baseDate:p,getCellText:function(e){return tE(e,{locale:r,format:r.quarterFormat||"[Q]Q",generateConfig:u})},getCellClassName:f,getCellDate:function(e,t){return u.addMonth(e,3*t)},titleCell:function(e){return tE(e,{locale:r,format:"YYYY-[Q]Q",generateConfig:u})}}),null)}WE.displayName="QuarterBody",WE.inheritAttrs=!1;var KE=WE;function UE(e){var t=nD(e),n=t.prefixCls,r=t.operationRef,o=t.onViewDateChange,a=t.generateConfig,u=t.value,c=t.viewDate,l=t.onPanelChange,s=t.onSelect,d="".concat(n,"-quarter-panel");r.value={onKeydown:function(e){return ND(e,{onLeftRight:function(e){s(a.addMonth(u||c,3*e),"key")},onCtrlLeftRight:function(e){s(a.addYear(u||c,e),"key")},onUpDown:function(e){s(a.addYear(u||c,e),"key")}})}};var f=function(e){var t=a.addYear(c,e);o(t),l(null,t)};return Object(i["createVNode"])("div",{class:d},[Object(i["createVNode"])(JE,Fe(Fe({},t),{},{prefixCls:n,onPrevYear:function(){f(-1)},onNextYear:function(){f(1)},onYearClick:function(){l("year",c)}}),null),Object(i["createVNode"])(KE,Fe(Fe({},t),{},{prefixCls:n,onSelect:function(e){s(e,"mouse")}}),null)])}UE.displayName="QuarterPanel",UE.inheritAttrs=!1;var GE=UE;function $E(e){var t=nD(e),n=t.prefixCls,r=t.generateConfig,o=t.viewDate,a=t.onPrevDecade,u=t.onNextDecade,c=t.onDecadeClick,l=iD(),s=l.hideHeader;if(s.value)return null;var d="".concat(n,"-header"),f=r.getYear(o),p=Math.floor(f/ok)*ok,v=p+ok-1;return Object(i["createVNode"])(cD,Fe(Fe({},t),{},{prefixCls:d,onSuperPrev:a,onSuperNext:u}),{default:function(){return[Object(i["createVNode"])("button",{type:"button",onClick:c,class:"".concat(n,"-decade-btn")},[p,Object(i["createTextVNode"])("-"),v])]}})}$E.displayName="YearHeader",$E.inheritAttrs=!1;var qE=$E,ek=3,tk=4;function nk(e){var t=nD(e),n=t.prefixCls,r=t.value,o=t.viewDate,a=t.locale,u=t.generateConfig,c=wE(),l=c.rangedValue,s=c.hoverRangedValue,d="".concat(n,"-cell"),f=u.getYear(o),p=Math.floor(f/ok)*ok,v=p+ok-1,h=u.setYear(o,p-Math.ceil((ek*tk-ok)/2)),m=function(e){var t=u.getYear(e);return p<=t&&t<=v},g=yE({cellPrefixCls:d,value:r,generateConfig:u,rangedValue:l.value,hoverRangedValue:s.value,isSameCell:function(e,t){return XD(u,e,t)},isInView:m,offsetCell:function(e,t){return u.addYear(e,t)}});return Object(i["createVNode"])(mD,Fe(Fe({},t),{},{rowNum:tk,colNum:ek,baseDate:h,getCellText:u.getYear,getCellClassName:g,getCellDate:u.addYear,titleCell:function(e){return tE(e,{locale:a,format:"YYYY",generateConfig:u})}}),null)}nk.displayName="YearBody",nk.inheritAttrs=!1;var rk=nk,ok=10;function ik(e){var t=nD(e),n=t.prefixCls,r=t.operationRef,o=t.onViewDateChange,a=t.generateConfig,u=t.value,c=t.viewDate,l=t.sourceMode,s=t.onSelect,d=t.onPanelChange,f="".concat(n,"-year-panel");r.value={onKeydown:function(e){return ND(e,{onLeftRight:function(e){s(a.addYear(u||c,e),"key")},onCtrlLeftRight:function(e){s(a.addYear(u||c,e*ok),"key")},onUpDown:function(e){s(a.addYear(u||c,e*ek),"key")},onEnter:function(){d("date"===l?"date":"month",u||c)}})}};var p=function(e){var t=a.addYear(c,10*e);o(t),d(null,t)};return Object(i["createVNode"])("div",{class:f},[Object(i["createVNode"])(qE,Fe(Fe({},t),{},{prefixCls:n,onPrevDecade:function(){p(-1)},onNextDecade:function(){p(1)},onDecadeClick:function(){d("decade",c)}}),null),Object(i["createVNode"])(rk,Fe(Fe({},t),{},{prefixCls:n,onSelect:function(e){d("date"===l?"date":"month",e),s(e,"mouse")}}),null)])}ik.displayName="YearPanel",ik.inheritAttrs=!1;var ak=ik;function uk(e,t,n){return n?Object(i["createVNode"])("div",{class:"".concat(e,"-footer-extra")},[n(t)]):null}function ck(e){var t,n,r=e.prefixCls,o=e.rangeList,a=void 0===o?[]:o,u=e.components,c=void 0===u?{}:u,l=e.needConfirmButton,s=e.onNow,d=e.onOk,f=e.okDisabled,p=e.showNow,v=e.locale;if(a.length){var h=c.rangeItem||"span";t=Object(i["createVNode"])(i["Fragment"],null,[a.map((function(e){var t=e.label,n=e.onClick,o=e.onMouseenter,a=e.onMouseleave;return Object(i["createVNode"])("li",{key:t,class:"".concat(r,"-preset")},[Object(i["createVNode"])(h,{onClick:n,onMouseenter:o,onMouseleave:a},{default:function(){return[t]}})])}))])}if(l){var m=c.button||"button";s&&!t&&!1!==p&&(t=Object(i["createVNode"])("li",{class:"".concat(r,"-now")},[Object(i["createVNode"])("a",{class:"".concat(r,"-now-btn"),onClick:s},[v.now])])),n=l&&Object(i["createVNode"])("li",{class:"".concat(r,"-ok")},[Object(i["createVNode"])(m,{disabled:f,onClick:d},{default:function(){return[v.ok]}})])}return t||n?Object(i["createVNode"])("ul",{class:"".concat(r,"-ranges")},[t,n]):null}function lk(){return Object(i["defineComponent"])({name:"PickerPanel",inheritAttrs:!1,props:{prefixCls:String,locale:Object,generateConfig:Object,value:Object,defaultValue:Object,pickerValue:Object,defaultPickerValue:Object,disabledDate:Function,mode:String,picker:{type:String,default:"date"},tabindex:{type:[Number,String],default:0},showNow:{type:Boolean,default:void 0},showTime:[Boolean,Object],showToday:Boolean,renderExtraFooter:Function,dateRender:Function,hideHeader:{type:Boolean,default:void 0},onSelect:Function,onChange:Function,onPanelChange:Function,onMousedown:Function,onPickerValueChange:Function,onOk:Function,components:Object,direction:String,hourStep:{type:Number,default:1},minuteStep:{type:Number,default:1},secondStep:{type:Number,default:1}},setup:function(e,t){var n=t.attrs,r=Object(i["computed"])((function(){return"date"===e.picker&&!!e.showTime||"time"===e.picker})),o=Object(i["computed"])((function(){return 24%e.hourStep===0})),a=Object(i["computed"])((function(){return 60%e.minuteStep===0})),c=Object(i["computed"])((function(){return 60%e.secondStep===0}));var l=iD(),d=l.operationRef,f=l.panelRef,p=l.onSelect,v=l.hideRanges,h=l.defaultOpenValue,m=wE(),g=m.inRange,b=m.panelPosition,y=m.rangedValue,O=m.hoverRangedValue,C=Object(i["ref"])({}),w=Xx(null,{value:Object(i["toRef"])(e,"value"),defaultValue:e.defaultValue,postState:function(t){return!t&&null!==h&&void 0!==h&&h.value&&"time"===e.picker?h.value:t}}),S=gl(w,2),N=S[0],M=S[1],x=Xx(null,{value:Object(i["toRef"])(e,"pickerValue"),defaultValue:e.defaultPickerValue||N.value,postState:function(t){var n=e.generateConfig,r=e.showTime,o=e.defaultValue,i=n.getNow();return t?!N.value&&e.showTime?"object"===u(r)?fD(n,Array.isArray(t)?t[0]:t,r.defaultValue||i):fD(n,Array.isArray(t)?t[0]:t,o||i):t:i}}),j=gl(x,2),T=j[0],D=j[1],E=function(t){D(t),e.onPickerValueChange&&e.onPickerValueChange(t)},k=function(t){var n=AD[e.picker];return n?n(t):t},L=Xx((function(){return"time"===e.picker?"time":k("date")}),{value:Object(i["toRef"])(e,"mode")}),Y=gl(L,2),_=Y[0],A=Y[1];Object(i["watch"])((function(){return e.picker}),(function(){A(e.picker)}));var P=Object(i["ref"])(_.value),F=function(e){P.value=e},I=function(t,n){var r=e.onPanelChange,o=e.generateConfig,i=k(t||_.value);F(_.value),A(i),r&&(_.value!==i||GD(o,T.value,T.value))&&r(n,i)},B=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=e.picker,i=e.generateConfig,a=e.onSelect,u=e.onChange,c=e.disabledDate;(_.value===o||r)&&(M(t),a&&a(t),p&&p(t,n),!u||GD(i,t,N.value)||null!==c&&void 0!==c&&c(t)||u(t))},Z=function(e){return C.value&&C.value.onKeydown?([WN.LEFT,WN.RIGHT,WN.UP,WN.DOWN,WN.PAGE_UP,WN.PAGE_DOWN,WN.ENTER].includes(e.which)&&e.preventDefault(),C.value.onKeydown(e)):(Kt(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},R=function(e){C.value&&C.value.onBlur&&C.value.onBlur(e)},H=function(){var t=e.generateConfig,n=e.hourStep,r=e.minuteStep,i=e.secondStep,u=t.getNow(),l=pD(t.getHour(u),t.getMinute(u),t.getSecond(u),o.value?n:1,a.value?r:1,c.value?i:1),s=dD(t,u,l[0],l[1],l[2]);B(s,"submit")},V=Object(i["computed"])((function(){var t,n=e.prefixCls,r=e.direction;return Qt("".concat(n,"-panel"),(t={},s(t,"".concat(n,"-panel-has-range"),y&&y.value&&y.value[0]&&y.value[1]),s(t,"".concat(n,"-panel-has-range-hover"),O&&O.value&&O.value[0]&&O.value[1]),s(t,"".concat(n,"-panel-rtl"),"rtl"===r),t))}));return oD(Fe(Fe({},l),{},{mode:_,hideHeader:Object(i["computed"])((function(){var t;return void 0!==e.hideHeader?e.hideHeader:null===(t=l.hideHeader)||void 0===t?void 0:t.value})),hidePrevBtn:Object(i["computed"])((function(){return g.value&&"right"===b.value})),hideNextBtn:Object(i["computed"])((function(){return g.value&&"left"===b.value}))})),Object(i["watch"])((function(){return e.value}),(function(){e.value&&D(e.value)})),function(){var t,o=e.prefixCls,a=void 0===o?"ant-picker":o,c=e.locale,l=e.generateConfig,s=e.disabledDate,p=e.picker,h=void 0===p?"date":p,m=e.tabindex,g=void 0===m?0:m,y=e.showNow,O=e.showTime,w=e.showToday,S=e.renderExtraFooter,M=e.onMousedown,x=e.onOk,j=e.components;d&&"right"!==b.value&&(d.value={onKeydown:Z,onClose:function(){C.value&&C.value.onClose&&C.value.onClose()}});var D,k,L,Y=Fe(Fe(Fe({},n),e),{},{operationRef:C,prefixCls:a,viewDate:T.value,value:N.value,onViewDateChange:E,sourceMode:P.value,onPanelChange:I,disabledDate:s});switch(delete Y.onChange,delete Y.onSelect,_.value){case"decade":t=Object(i["createVNode"])(ZD,Fe(Fe({},Y),{},{onSelect:function(e,t){E(e),B(e,t)}}),null);break;case"year":t=Object(i["createVNode"])(ak,Fe(Fe({},Y),{},{onSelect:function(e,t){E(e),B(e,t)}}),null);break;case"month":t=Object(i["createVNode"])(VE,Fe(Fe({},Y),{},{onSelect:function(e,t){E(e),B(e,t)}}),null);break;case"quarter":t=Object(i["createVNode"])(GE,Fe(Fe({},Y),{},{onSelect:function(e,t){E(e),B(e,t)}}),null);break;case"week":t=Object(i["createVNode"])(AE,Fe(Fe({},Y),{},{onSelect:function(e,t){E(e),B(e,t)}}),null);break;case"time":delete Y.showTime,t=Object(i["createVNode"])(bE,Fe(Fe(Fe({},Y),"object"===u(O)?O:null),{},{onSelect:function(e,t){E(e),B(e,t)}}),null);break;default:t=O?Object(i["createVNode"])(YE,Fe(Fe({},Y),{},{onSelect:function(e,t){E(e),B(e,t)}}),null):Object(i["createVNode"])(EE,Fe(Fe({},Y),{},{onSelect:function(e,t){E(e),B(e,t)}}),null)}if(null!==v&&void 0!==v&&v.value||(D=uk(a,_.value,S),k=ck({prefixCls:a,components:j,needConfirmButton:r.value,okDisabled:!N.value||s&&s(N.value),locale:c,showNow:y,onNow:r.value&&H,onOk:function(){N.value&&(B(N.value,"submit",!0),x&&x(N.value))}})),w&&"date"===_.value&&"date"===h&&!O){var A=l.getNow(),F="".concat(a,"-today-btn"),X=s&&s(A);L=Object(i["createVNode"])("a",{class:Qt(F,X&&"".concat(F,"-disabled")),"aria-disabled":X,onClick:function(){X||B(A,"mouse",!0)}},[c.today])}return Object(i["createVNode"])("div",{tabindex:g,class:Qt(V.value,n.class),style:n.style,onKeydown:Z,onBlur:R,onMousedown:M,ref:f},[t,D||k||L?Object(i["createVNode"])("div",{class:"".concat(a,"-footer")},[D,k,L]):null])}}})}var sk=lk(),dk=function(e){return Object(i["createVNode"])(sk,e)},fk={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function pk(e,t){var n,r=t.slots,o=nD(e),a=o.prefixCls,u=o.popupStyle,c=o.visible,l=o.dropdownClassName,d=o.dropdownAlign,f=o.transitionName,p=o.getPopupContainer,v=o.range,h=o.popupPlacement,m=o.direction,g="".concat(a,"-dropdown"),b=function(){return void 0!==h?h:"rtl"===m?"bottomRight":"bottomLeft"};return Object(i["createVNode"])(HN,{showAction:[],hideAction:[],popupPlacement:b(),builtinPlacements:fk,prefixCls:g,popupTransitionName:f,popupAlign:d,popupVisible:c,popupClassName:Qt(l,(n={},s(n,"".concat(g,"-range"),v),s(n,"".concat(g,"-rtl"),"rtl"===m),n)),popupStyle:u,getPopupContainer:p,tryPopPortal:!0},{default:r.default,popup:r.popupElement})}var vk=pk;function hk(e){var t=e.open,n=e.value,r=e.isClickOutside,o=e.triggerOpen,a=e.forwardKeydown,u=e.onKeydown,c=e.blurToCancel,l=e.onSubmit,s=e.onCancel,d=e.onFocus,f=e.onBlur,p=Object(i["ref"])(!1),v=Object(i["ref"])(!1),h=Object(i["ref"])(!1),m=Object(i["ref"])(!1),g=Object(i["ref"])(!1),b=Object(i["computed"])((function(){return{onMousedown:function(){p.value=!0,o(!0)},onKeydown:function(e){var n=function(){g.value=!0};if(u(e,n),!g.value){switch(e.which){case WN.ENTER:return t.value?!1!==l()&&(p.value=!0):o(!0),void e.preventDefault();case WN.TAB:return void(p.value&&t.value&&!e.shiftKey?(p.value=!1,e.preventDefault()):!p.value&&t.value&&!a(e)&&e.shiftKey&&(p.value=!0,e.preventDefault()));case WN.ESC:return p.value=!0,void s()}t.value||[WN.SHIFT].includes(e.which)?p.value||a(e):o(!0)}},onFocus:function(e){p.value=!0,v.value=!0,d&&d(e)},onBlur:function(e){!h.value&&r(document.activeElement)?(c.value?setTimeout((function(){var e=document,t=e.activeElement;while(t&&t.shadowRoot)t=t.shadowRoot.activeElement;r(t)&&s()}),0):t.value&&(o(!1),m.value&&l()),v.value=!1,f&&f(e)):h.value=!1}}}));Object(i["watch"])(t,(function(){m.value=!1})),Object(i["watch"])(n,(function(){m.value=!0}));var y=Object(i["ref"])();return Object(i["onMounted"])((function(){y.value=DD((function(e){var n=ED(e);if(t.value){var i=r(n);i?v.value&&!i||o(!1):(h.value=!0,eC((function(){h.value=!1})))}}))})),Object(i["onBeforeUnmount"])((function(){y.value&&y.value()})),[b,{focused:v,typing:p}]}function mk(e){var t=e.valueTexts,n=e.onTextChange,r=Object(i["ref"])("");function o(e){r.value=e,n(e)}function a(){r.value=t.value[0]}return Object(i["watch"])((function(){return Ae(t.value)}),(function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];e.join("||")!==n.join("||")&&t.value.every((function(e){return e!==r.value}))&&a()}),{immediate:!0}),[r,o,a]}function gk(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!==u(e)||!e||"object"!==u(t)||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var s=i[l];if(!c(s))return!1;var d=e[s],f=t[s];if(o=n?n.call(r,d,f,s):void 0,!1===o||void 0===o&&d!==f)return!1}return!0}var bk=function(e,t,n,r){return gk(Object(i["toRaw"])(e),Object(i["toRaw"])(t),n,r)};function yk(e,t){var n=t.formatList,r=t.generateConfig,o=t.locale,a=Sx((function(){if(!e.value)return[[""],""];for(var t="",i=[],a=0;a<n.value.length;a+=1){var u=n.value[a],c=tE(e.value,{generateConfig:r.value,locale:o.value,format:u});i.push(c),0===a&&(t=c)}return[i,t]}),[e,n],(function(e,t){return t[0]!==e[0]||!bk(t[1],e[1])})),u=Object(i["computed"])((function(){return a.value[0]})),c=Object(i["computed"])((function(){return a.value[1]}));return[u,c]}function Ok(e,t){var n,r=t.formatList,o=t.generateConfig,a=t.locale,u=Object(i["ref"])(null);function c(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];eC.cancel(n),t?u.value=e:n=eC((function(){u.value=e}))}var l=yk(u,{formatList:r,generateConfig:o,locale:a}),s=gl(l,2),d=s[1];function f(e){c(e)}function p(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];c(null,e)}return Object(i["watch"])(e,(function(){p(!0)})),Object(i["onBeforeUnmount"])((function(){eC.cancel(n)})),[d,f,p]}function Ck(){return Object(i["defineComponent"])({name:"Picker",inheritAttrs:!1,props:["prefixCls","id","tabindex","dropdownClassName","dropdownAlign","popupStyle","transitionName","generateConfig","locale","inputReadOnly","allowClear","autofocus","showTime","showNow","showHour","showMinute","showSecond","picker","format","use12Hours","value","defaultValue","open","defaultOpen","defaultOpenValue","suffixIcon","clearIcon","disabled","disabledDate","placeholder","getPopupContainer","panelRender","inputRender","onChange","onOpenChange","onFocus","onBlur","onMousedown","onMouseup","onMouseenter","onMouseleave","onContextmenu","onClick","onKeydown","onSelect","direction","autocomplete","showToday","renderExtraFooter","dateRender","minuteStep","hourStep","secondStep","hideDisabledOptions"],setup:function(e,t){var n=t.attrs,r=t.expose,o=Object(i["ref"])(null),a=Object(i["computed"])((function(){var t;return null!==(t=e.picker)&&void 0!==t?t:"date"})),u=Object(i["computed"])((function(){return"date"===a.value&&!!e.showTime||"time"===a.value}));var c=Object(i["computed"])((function(){return lE(MD(e.format,a.value,e.showTime,e.use12Hours))})),l=Object(i["ref"])(null),d=Object(i["ref"])(null),f=Object(i["ref"])(null),p=Xx(null,{value:Object(i["toRef"])(e,"value"),defaultValue:e.defaultValue}),v=gl(p,2),h=v[0],m=v[1],g=Object(i["ref"])(h.value),b=function(e){g.value=e},y=Object(i["ref"])(null),O=Xx(!1,{value:Object(i["toRef"])(e,"open"),defaultValue:e.defaultOpen,postState:function(t){return!e.disabled&&t},onChange:function(t){e.onOpenChange&&e.onOpenChange(t),!t&&y.value&&y.value.onClose&&y.value.onClose()}}),C=gl(O,2),w=C[0],S=C[1],N=yk(g,{formatList:c,generateConfig:Object(i["toRef"])(e,"generateConfig"),locale:Object(i["toRef"])(e,"locale")}),M=gl(N,2),x=M[0],j=M[1],T=mk({valueTexts:x,onTextChange:function(t){var n=nE(t,{locale:e.locale,formatList:c.value,generateConfig:e.generateConfig});!n||e.disabledDate&&e.disabledDate(n)||b(n)}}),D=gl(T,3),E=D[0],k=D[1],L=D[2],Y=function(t){var n=e.onChange,r=e.generateConfig,o=e.locale;b(t),m(t),n&&!GD(r,h.value,t)&&n(t,t?tE(t,{generateConfig:r,locale:o,format:c.value[0]}):"")},_=function(t){e.disabled&&t||S(t)},A=function(e){return w.value&&y.value&&y.value.onKeydown?y.value.onKeydown(e):(Kt(!1,"Picker not correct forward Keydown operation. Please help to fire issue about this."),!1)},P=function(){e.onMouseup&&e.onMouseup.apply(e,arguments),o.value&&(o.value.focus(),_(!0))},F=hk({blurToCancel:u,open:w,value:E,triggerOpen:_,forwardKeydown:A,isClickOutside:function(e){return!PD([l.value,d.value,f.value],e)},onSubmit:function(){return!(!g.value||e.disabledDate&&e.disabledDate(g.value))&&(Y(g.value),_(!1),L(),!0)},onCancel:function(){_(!1),b(h.value),L()},onKeydown:function(t,n){var r;null===(r=e.onKeydown)||void 0===r||r.call(e,t,n)},onFocus:function(t){var n;null===(n=e.onFocus)||void 0===n||n.call(e,t)},onBlur:function(t){var n;null===(n=e.onBlur)||void 0===n||n.call(e,t)}}),I=gl(F,2),B=I[0],Z=I[1],R=Z.focused,H=Z.typing;Object(i["watch"])([w,x],(function(){w.value||(b(h.value),x.value.length&&""!==x.value[0]?j.value!==E.value&&L():k(""))})),Object(i["watch"])(a,(function(){w.value||L()})),Object(i["watch"])(h,(function(){b(h.value)}));var V=Ok(E,{formatList:c,generateConfig:Object(i["toRef"])(e,"generateConfig"),locale:Object(i["toRef"])(e,"locale")}),X=gl(V,3),J=X[0],z=X[1],Q=X[2],W=function(e,t){("submit"===t||"key"!==t&&!u.value)&&(Y(e),_(!1))};oD({operationRef:y,hideHeader:Object(i["computed"])((function(){return"time"===a.value})),panelRef:l,onSelect:W,open:w,defaultOpenValue:Object(i["toRef"])(e,"defaultOpenValue"),onDateMouseenter:z,onDateMouseleave:Q}),r({focus:function(){o.value&&o.value.focus()},blur:function(){o.value&&o.value.blur()}});var K=kN();return function(){var t,r=e.prefixCls,a=void 0===r?"rc-picker":r,u=e.id,l=e.tabindex,p=e.dropdownClassName,v=e.dropdownAlign,m=e.popupStyle,y=e.transitionName,O=e.generateConfig,C=e.locale,S=e.inputReadOnly,N=e.allowClear,M=e.autofocus,x=e.picker,j=void 0===x?"date":x,T=(e.defaultOpenValue,e.suffixIcon),D=e.clearIcon,L=e.disabled,A=e.placeholder,F=e.getPopupContainer,I=e.panelRender,Z=e.onMousedown,V=e.onMouseenter,X=e.onMouseleave,z=e.onContextmenu,W=e.onClick,U=e.onSelect,G=e.direction,$=e.autocomplete,q=void 0===$?"off":$,ee=Fe(Fe(Fe({},e),n),{},{class:Qt(s({},"".concat(a,"-panel-focused"),!H.value)),style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),te=Object(i["createVNode"])(dk,Fe(Fe({},ee),{},{generateConfig:O,value:g.value,locale:C,tabindex:-1,onSelect:function(e){null===U||void 0===U||U(e),b(e)},direction:G,onPanelChange:function(t,n){var r=e.onPanelChange;Q(!0),null===r||void 0===r||r(t,n)}}),null);I&&(te=I(te));var ne,re,oe=Object(i["createVNode"])("div",{class:"".concat(a,"-panel-container"),onMousedown:function(e){e.preventDefault()}},[te]);T&&(ne=Object(i["createVNode"])("span",{class:"".concat(a,"-suffix")},[T])),N&&h.value&&!L&&(re=Object(i["createVNode"])("span",{onMousedown:function(e){e.preventDefault(),e.stopPropagation()},onMouseup:function(e){e.preventDefault(),e.stopPropagation(),Y(null),_(!1)},class:"".concat(a,"-clear"),role:"button"},[D||Object(i["createVNode"])("span",{class:"".concat(a,"-clear-btn")},null)]));var ie=Fe(Fe(Fe({id:u,tabindex:l,disabled:L,readonly:S||"function"===typeof c.value[0]||!H.value,value:J.value||E.value,onInput:function(e){k(e.target.value)},autofocus:M,placeholder:A,ref:o,title:E.value},B.value),{},{size:xD(j,c.value[0],O)},sE(e)),{},{autocomplete:q}),ae=e.inputRender?e.inputRender(ie):Object(i["createVNode"])("input",ie,null);var ue="rtl"===G?"bottomRight":"bottomLeft";return Object(i["createVNode"])(vk,{visible:w.value,popupStyle:m,prefixCls:a,dropdownClassName:p,dropdownAlign:v,getPopupContainer:F,transitionName:y,popupPlacement:ue,direction:G},{default:function(){return[Object(i["createVNode"])("div",{ref:f,class:Qt(a,n.class,(t={},s(t,"".concat(a,"-disabled"),L),s(t,"".concat(a,"-focused"),R.value),s(t,"".concat(a,"-rtl"),"rtl"===G),t)),style:n.style,onMousedown:Z,onMouseup:P,onMouseenter:V,onMouseleave:X,onContextmenu:z,onClick:W},[Object(i["createVNode"])("div",{class:Qt("".concat(a,"-input"),s({},"".concat(a,"-input-placeholder"),!!J.value)),ref:d},[ae,ne,re]),K()])]},popupElement:function(){return oe}})}}})}var wk=Ck(),Sk=wk;function Nk(e,t,n){return void 0!==n?n:"year"===e&&t.lang.yearPlaceholder?t.lang.yearPlaceholder:"quarter"===e&&t.lang.quarterPlaceholder?t.lang.quarterPlaceholder:"month"===e&&t.lang.monthPlaceholder?t.lang.monthPlaceholder:"week"===e&&t.lang.weekPlaceholder?t.lang.weekPlaceholder:"time"===e&&t.timePickerLocale.placeholder?t.timePickerLocale.placeholder:t.lang.placeholder}function Mk(e,t,n){return void 0!==n?n:"year"===e&&t.lang.yearPlaceholder?t.lang.rangeYearPlaceholder:"month"===e&&t.lang.monthPlaceholder?t.lang.rangeMonthPlaceholder:"week"===e&&t.lang.weekPlaceholder?t.lang.rangeWeekPlaceholder:"time"===e&&t.timePickerLocale.placeholder?t.timePickerLocale.rangePlaceholder:t.lang.rangePlaceholder}function xk(){return{id:String,dropdownClassName:String,dropdownAlign:{type:Object},popupStyle:{type:Object},transitionName:String,placeholder:String,allowClear:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},tabindex:Number,open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:void 0},inputReadOnly:{type:Boolean,default:void 0},format:{type:[String,Function,Array]},getPopupContainer:{type:Function},panelRender:{type:Function},onChange:{type:Function},"onUpdate:value":{type:Function},onOk:{type:Function},onOpenChange:{type:Function},"onUpdate:open":{type:Function},onFocus:{type:Function},onBlur:{type:Function},onMousedown:{type:Function},onMouseup:{type:Function},onMouseenter:{type:Function},onMouseleave:{type:Function},onClick:{type:Function},onContextmenu:{type:Function},onKeydown:{type:Function},role:String,name:String,autocomplete:String,direction:{type:String},showToday:{type:Boolean,default:void 0},showTime:{type:[Boolean,Object],default:void 0},locale:{type:Object},size:{type:String},bordered:{type:Boolean,default:void 0},dateRender:{type:Function},disabledDate:{type:Function},mode:{type:String},picker:{type:String},valueFormat:String,disabledHours:Function,disabledMinutes:Function,disabledSeconds:Function}}function jk(){return{defaultPickerValue:{type:[String,Object]},defaultValue:{type:[String,Object]},value:{type:[String,Object]},disabledTime:{type:Function},renderExtraFooter:{type:Function},showNow:{type:Boolean,default:void 0},monthCellRender:{type:Function},monthCellContentRender:{type:Function}}}function Tk(){return{allowEmpty:{type:Array},dateRender:{type:Function},defaultPickerValue:{type:Array},defaultValue:{type:Array},value:{type:Array},disabledTime:{type:Function},disabled:{type:[Boolean,Array]},renderExtraFooter:{type:Function},separator:{type:String},ranges:{type:Object},placeholder:Array,mode:{type:Array},onChange:{type:Function},"onUpdate:value":{type:Function},onCalendarChange:{type:Function},onPanelChange:{type:Function},onOk:{type:Function}}}var Dk=["bordered","placeholder","suffixIcon","showToday","transitionName","allowClear","dateRender","renderExtraFooter","monthCellRender","clearIcon","id"];function Ek(e,t){function n(n,r){var o=Fe(Fe(Fe({},xk()),jk()),t);return Object(i["defineComponent"])({compatConfig:{MODE:3},name:r,inheritAttrs:!1,props:o,slots:["suffixIcon","prevIcon","nextIcon","superPrevIcon","superNextIcon","dateRender","renderExtraFooter","monthCellRender"],setup:function(t,r){var o=r.slots,a=r.expose,c=r.attrs,l=r.emit,d=t,f=vb();rv(!(d.monthCellContentRender||o.monthCellContentRender),"DatePicker",'`monthCellContentRender` is deprecated. Please use `monthCellRender"` instead.'),rv(!c.getCalendarContainer,"DatePicker",'`getCalendarContainer` is deprecated. Please use `getPopupContainer"` instead.');var p=wv("picker",d),v=p.prefixCls,h=p.direction,m=p.getPopupContainer,g=p.size,b=p.rootPrefixCls,y=Object(i["ref"])();a({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()}});var O=function(t){return d.valueFormat?e.toString(t,d.valueFormat):t},C=function(e,t){var n=O(e);l("update:value",n),l("change",n,t),f.onFieldChange()},w=function(e){l("update:open",e),l("openChange",e)},S=function(e){l("focus",e)},N=function(e){l("blur",e),f.onFieldBlur()},M=function(e,t){var n=O(e);l("panelChange",n,t)},x=function(e){var t=O(e);l("ok",t)},j=ll("DatePicker",nl),T=gl(j,1),D=T[0],E=Object(i["computed"])((function(){return d.value?d.valueFormat?e.toDate(d.value,d.valueFormat):d.value:""===d.value?void 0:d.value})),k=Object(i["computed"])((function(){return d.defaultValue?d.valueFormat?e.toDate(d.defaultValue,d.valueFormat):d.defaultValue:""===d.defaultValue?void 0:d.defaultValue})),L=Object(i["computed"])((function(){return d.defaultPickerValue?d.valueFormat?e.toDate(d.defaultPickerValue,d.valueFormat):d.defaultPickerValue:""===d.defaultPickerValue?void 0:d.defaultPickerValue}));return function(){var t,r,a,l,p,O,j,T=Fe(Fe({},D.value),d.locale),Y=Fe(Fe({},d),c),_=Y.bordered,A=void 0===_||_,P=Y.placeholder,F=Y.suffixIcon,I=void 0===F?null===(t=o.suffixIcon)||void 0===t?void 0:t.call(o):F,B=Y.showToday,Z=void 0===B||B,R=Y.transitionName,H=Y.allowClear,V=void 0===H||H,X=Y.dateRender,J=void 0===X?o.dateRender:X,z=Y.renderExtraFooter,Q=void 0===z?o.renderExtraFooter:z,W=Y.monthCellRender,K=void 0===W?o.monthCellRender||d.monthCellContentRender||o.monthCellContentRender:W,U=Y.clearIcon,G=void 0===U?null===(r=o.clearIcon)||void 0===r?void 0:r.call(o):U,$=Y.id,q=void 0===$?f.id.value:$,ee=Kc(Y,Dk),te=""===Y.showTime||Y.showTime,ne=Y.format,re={};n&&(re.picker=n);var oe=n||Y.picker||"date";re=Fe(Fe(Fe({},re),te?cL(Fe({format:ne,picker:oe},"object"===u(te)?te:{})):{}),"time"===oe?cL(Fe(Fe({format:ne},ee),{},{picker:oe})):{});var ie=v.value;return Object(i["createVNode"])(Sk,Fe(Fe(Fe({monthCellRender:K,dateRender:J,renderExtraFooter:Q,ref:y,placeholder:Nk(oe,T,P),suffixIcon:I||("time"===oe?Object(i["createVNode"])(tD,null,null):Object(i["createVNode"])(KT,null,null)),clearIcon:G||Object(i["createVNode"])(gf,null,null),allowClear:V,transitionName:R||"".concat(b.value,"-slide-up")},ee),re),{},{id:q,picker:oe,value:E.value,defaultValue:k.value,defaultPickerValue:L.value,showToday:Z,locale:T.lang,class:Qt((a={},s(a,"".concat(ie,"-").concat(g.value),g.value),s(a,"".concat(ie,"-borderless"),!A),a),c.class),prefixCls:ie,getPopupContainer:c.getCalendarContainer||m.value,generateConfig:e,prevIcon:(null===(l=o.prevIcon)||void 0===l?void 0:l.call(o))||Object(i["createVNode"])("span",{class:"".concat(ie,"-prev-icon")},null),nextIcon:(null===(p=o.nextIcon)||void 0===p?void 0:p.call(o))||Object(i["createVNode"])("span",{class:"".concat(ie,"-next-icon")},null),superPrevIcon:(null===(O=o.superPrevIcon)||void 0===O?void 0:O.call(o))||Object(i["createVNode"])("span",{class:"".concat(ie,"-super-prev-icon")},null),superNextIcon:(null===(j=o.superNextIcon)||void 0===j?void 0:j.call(o))||Object(i["createVNode"])("span",{class:"".concat(ie,"-super-next-icon")},null),components:aL,direction:h.value,onChange:C,onOpenChange:w,onFocus:S,onBlur:N,onPanelChange:M,onOk:x}),null)}}})}var r=n(void 0,"ADatePicker"),o=n("week","AWeekPicker"),a=n("month","AMonthPicker"),c=n("year","AYearPicker"),l=n("time","TimePicker"),d=n("quarter","AQuarterPicker");return{DatePicker:r,WeekPicker:o,MonthPicker:a,YearPicker:c,TimePicker:l,QuarterPicker:d}}var kk={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},Lk=kk;function Yk(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){_k(e,t,n[t])}))}return e}function _k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ak=function(e,t){var n=Yk({},e,t.attrs);return Object(i["createVNode"])(ef,Yk({},n,{icon:Lk}),null)};Ak.displayName="SwapRightOutlined",Ak.inheritAttrs=!1;var Pk,Fk,Ik=Ak;function Bk(e,t){var n=e.picker,r=e.locale,o=e.selectedValue,a=e.disabledDate,u=e.disabled,c=e.generateConfig,l=Object(i["computed"])((function(){return dE(o.value,0)})),s=Object(i["computed"])((function(){return dE(o.value,1)}));function d(e){return c.value.locale.getWeekFirstDate(r.value.locale,e)}function f(e){var t=c.value.getYear(e),n=c.value.getMonth(e);return 100*t+n}function p(e){var t=c.value.getYear(e),n=JD(c.value,e);return 10*t+n}var v=function(e){var r;if(a&&null!==a&&void 0!==a&&null!==(r=a.value)&&void 0!==r&&r.call(a,e))return!0;if(u[1]&&s)return!WD(c.value,e,s.value)&&c.value.isAfter(e,s.value);if(t.value[1]&&s.value)switch(n.value){case"quarter":return p(e)>p(s.value);case"month":return f(e)>f(s.value);case"week":return d(e)>d(s.value);default:return!WD(c.value,e,s.value)&&c.value.isAfter(e,s.value)}return!1},h=function(e){var r;if(null!==(r=a.value)&&void 0!==r&&r.call(a,e))return!0;if(u[0]&&l)return!WD(c.value,e,s.value)&&c.value.isAfter(l.value,e);if(t.value[0]&&l.value)switch(n.value){case"quarter":return p(e)<p(l.value);case"month":return f(e)<f(l.value);case"week":return d(e)<d(l.value);default:return!WD(c.value,e,l.value)&&c.value.isAfter(l.value,e)}return!1};return[v,h]}function Zk(e,t,n,r){var o=eE(e,n,r,1);function i(n){return n(e,t)?"same":n(o,t)?"closing":"far"}switch(n){case"year":return i((function(e,t){return VD(r,e,t)}));case"quarter":case"month":return i((function(e,t){return XD(r,e,t)}));default:return i((function(e,t){return QD(r,e,t)}))}}function Rk(e,t,n,r){var o=dE(e,0),i=dE(e,1);if(0===t)return o;if(o&&i){var a=Zk(o,i,n,r);switch(a){case"same":return o;case"closing":return o;default:return eE(i,n,r,-1)}}return o}function Hk(e){var t=e.values,n=e.picker,r=e.defaultDates,o=e.generateConfig,a=Object(i["ref"])([dE(r,0),dE(r,1)]),u=Object(i["ref"])(null),c=Object(i["computed"])((function(){return dE(t.value,0)})),l=Object(i["computed"])((function(){return dE(t.value,1)})),s=function(e){return a.value[e]?a.value[e]:dE(u.value,e)||Rk(t.value,e,n.value,o.value)||c.value||l.value||o.value.getNow()},d=Object(i["ref"])(null),f=Object(i["ref"])(null);function p(e,n){if(e){var r=fE(u.value,e,n);a.value=fE(a.value,null,n)||[null,null];var o=(n+1)%2;dE(t.value,o)||(r=fE(r,e,o)),u.value=r}else(c.value||l.value)&&(u.value=null)}return Object(i["watchEffect"])((function(){d.value=s(0),f.value=s(1)})),[d,f,p]}function Vk(e){return!!Object(i["getCurrentScope"])()&&(Object(i["onScopeDispose"])(e),!0)}function Xk(e){return"function"===typeof e?e():Object(i["unref"])(e)}function Jk(e){var t,n=Xk(e);return null!==(t=null===n||void 0===n?void 0:n.$el)&&void 0!==t?t:n}function zk(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];Object(i["getCurrentInstance"])()?Object(i["onMounted"])(e):t?e():Object(i["nextTick"])(e)}function Qk(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Object(i["ref"])(),r=function(){return n.value=Boolean(e())};return r(),zk(r,t),n}var Wk="undefined"!==typeof window,Kk=(Object.prototype.toString,Wk&&(null===(Pk=window)||void 0===Pk||null===(Fk=Pk.navigator)||void 0===Fk?void 0:Fk.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent),Wk?window:void 0),Uk=(Wk&&window.document,Wk&&window.navigator,Wk&&window.location,["window"]);function Gk(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=r.window,a=void 0===o?Kk:o,u=Kc(r,Uk),c=Qk((function(){return a&&"ResizeObserver"in a})),l=function(){n&&(n.disconnect(),n=void 0)},s=Object(i["watch"])((function(){return Jk(e)}),(function(e){l(),c.value&&a&&e&&(n=new ResizeObserver(t),n.observe(e,u))}),{immediate:!0,flush:"post"}),d=function(){l(),s()};return Vk(d),{isSupported:c,stop:d}}function $k(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{width:0,height:0},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.box,o=void 0===r?"content-box":r,a=Object(i["ref"])(t.width),u=Object(i["ref"])(t.height);return Gk(e,(function(e){var t=gl(e,1),n=t[0],r="border-box"===o?n.borderBoxSize:"content-box"===o?n.contentBoxSize:n.devicePixelContentBoxSize;r?(a.value=r.reduce((function(e,t){var n=t.inlineSize;return e+n}),0),u.value=r.reduce((function(e,t){var n=t.blockSize;return e+n}),0)):(a.value=n.contentRect.width,u.value=n.contentRect.height)}),n),Object(i["watch"])((function(){return Jk(e)}),(function(e){a.value=e?t.width:0,u.value=e?t.height:0})),{width:a,height:u}}function qk(e,t){return e&&e[0]&&e[1]&&t.isAfter(e[0],e[1])?[e[1],e[0]]:e}function eL(e,t,n,r){return!!e||(!(!r||!r[t])||!!n[(t+1)%2])}function tL(){return Object(i["defineComponent"])({name:"RangerPicker",inheritAttrs:!1,props:["prefixCls","id","popupStyle","dropdownClassName","transitionName","dropdownAlign","getPopupContainer","generateConfig","locale","placeholder","autofocus","disabled","format","picker","showTime","showNow","showHour","showMinute","showSecond","use12Hours","separator","value","defaultValue","defaultPickerValue","open","defaultOpen","disabledDate","disabledTime","dateRender","panelRender","ranges","allowEmpty","allowClear","suffixIcon","clearIcon","pickerRef","inputReadOnly","mode","renderExtraFooter","onChange","onOpenChange","onPanelChange","onCalendarChange","onFocus","onBlur","onMousedown","onMouseup","onMouseenter","onMouseleave","onClick","onOk","onKeydown","components","order","direction","activePickerIndex","autocomplete","minuteStep","hourStep","secondStep","hideDisabledOptions","disabledMinutes"],setup:function(e,t){var n=t.attrs,r=t.expose,o=Object(i["computed"])((function(){return"date"===e.picker&&!!e.showTime||"time"===e.picker})),a=kN(),c=Object(i["ref"])({}),l=Object(i["ref"])(null),d=Object(i["ref"])(null),f=Object(i["ref"])(null),p=Object(i["ref"])(null),v=Object(i["ref"])(null),h=Object(i["ref"])(null),m=Object(i["ref"])(null),g=Object(i["ref"])(null);var b=Object(i["computed"])((function(){return lE(MD(e.format,e.picker,e.showTime,e.use12Hours))})),y=Xx(0,{value:Object(i["toRef"])(e,"activePickerIndex")}),O=gl(y,2),C=O[0],w=O[1],S=Object(i["ref"])(null),N=Object(i["computed"])((function(){var t=e.disabled;return Array.isArray(t)?t:[t||!1,t||!1]})),M=Xx(null,{value:Object(i["toRef"])(e,"value"),defaultValue:e.defaultValue,postState:function(t){return"time"!==e.picker||e.order?qk(t,e.generateConfig):t}}),x=gl(M,2),j=x[0],T=x[1],D=Hk({values:j,picker:Object(i["toRef"])(e,"picker"),defaultDates:e.defaultPickerValue,generateConfig:Object(i["toRef"])(e,"generateConfig")}),E=gl(D,3),k=E[0],L=E[1],Y=E[2],_=Xx(j.value,{postState:function(t){var n=t;if(N.value[0]&&N.value[1])return n;for(var r=0;r<2;r+=1)!N.value[r]||dE(n,r)||dE(e.allowEmpty,r)||(n=fE(n,e.generateConfig.getNow(),r));return n}}),A=gl(_,2),P=A[0],F=A[1],I=Xx([e.picker,e.picker],{value:Object(i["toRef"])(e,"mode")}),B=gl(I,2),Z=B[0],R=B[1];Object(i["watch"])((function(){return e.picker}),(function(){R([e.picker,e.picker])}));var H=function(t,n){var r;R(t),null===(r=e.onPanelChange)||void 0===r||r.call(e,n,t)},V=Bk({picker:Object(i["toRef"])(e,"picker"),selectedValue:P,locale:Object(i["toRef"])(e,"locale"),disabled:N,disabledDate:Object(i["toRef"])(e,"disabledDate"),generateConfig:Object(i["toRef"])(e,"generateConfig")},c),X=gl(V,2),J=X[0],z=X[1],Q=Xx(!1,{value:Object(i["toRef"])(e,"open"),defaultValue:e.defaultOpen,postState:function(e){return!N.value[C.value]&&e},onChange:function(t){var n;null===(n=e.onOpenChange)||void 0===n||n.call(e,t),!t&&S.value&&S.value.onClose&&S.value.onClose()}}),W=gl(Q,2),K=W[0],U=W[1],G=Object(i["computed"])((function(){return K.value&&0===C.value})),$=Object(i["computed"])((function(){return K.value&&1===C.value})),q=Object(i["ref"])(0),ee=Object(i["ref"])(0),te=Object(i["ref"])(0),ne=$k(l),re=ne.width;Object(i["watch"])([K,re],(function(){!K.value&&l.value&&(te.value=re.value)}));var oe=$k(d),ie=oe.width,ae=$k(g),ue=ae.width,ce=$k(f),le=ce.width,se=$k(v),de=se.width;Object(i["watch"])([C,K,ie,ue,le,de,function(){return e.direction}],(function(){ee.value=0,K.value&&C.value?f.value&&v.value&&d.value&&(ee.value=le.value+de.value,ie.value&&ue.value&&ee.value>ie.value-ue.value-("rtl"===e.direction||g.value.offsetLeft>ee.value?0:g.value.offsetLeft)&&(q.value=ee.value)):0===C.value&&(q.value=0)}),{immediate:!0});var fe=Object(i["ref"])();function pe(e,t){if(e)clearTimeout(fe.value),c.value[t]=!0,w(t),U(e),K.value||Y(null,t);else if(C.value===t){U(e);var n=c.value;fe.value=setTimeout((function(){n===c.value&&(c.value={})}))}}function ve(e){pe(!0,e),setTimeout((function(){var t=[h,m][e];t.value&&t.value.focus()}),0)}function he(t,n){var r=t,o=dE(r,0),i=dE(r,1),a=e.generateConfig,u=e.locale,l=e.picker,d=e.order,f=e.onCalendarChange,p=e.allowEmpty,v=e.onChange,h=e.showTime;o&&i&&a.isAfter(o,i)&&("week"===l&&!UD(a,u.locale,o,i)||"quarter"===l&&!zD(a,o,i)||"week"!==l&&"quarter"!==l&&"time"!==l&&!(h?GD(a,o,i):WD(a,o,i))?(0===n?(r=[o,null],i=null):(o=null,r=[null,i]),c.value=s({},n,!0)):"time"===l&&!1===d||(r=qk(r,a))),F(r);var m=r&&r[0]?tE(r[0],{generateConfig:a,locale:u,format:b.value[0]}):"",g=r&&r[1]?tE(r[1],{generateConfig:a,locale:u,format:b.value[0]}):"";if(f){var y={range:0===n?"start":"end"};f(r,[m,g],y)}var O=eL(o,0,N.value,p),w=eL(i,1,N.value,p),S=null===r||O&&w;S&&(T(r),!v||GD(a,dE(j.value,0),o)&&GD(a,dE(j.value,1),i)||v(r,[m,g]));var M=null;0!==n||N.value[1]?1!==n||N.value[0]||(M=0):M=1,null===M||M===C.value||c.value[M]&&dE(r,M)||!dE(r,n)?pe(!1,n):ve(M)}var me=function(e){return K&&S.value&&S.value.onKeydown?S.value.onKeydown(e):(Kt(!1,"Picker not correct forward Keydown operation. Please help to fire issue about this."),!1)},ge={formatList:b,generateConfig:Object(i["toRef"])(e,"generateConfig"),locale:Object(i["toRef"])(e,"locale")},be=yk(Object(i["computed"])((function(){return dE(P.value,0)})),ge),ye=gl(be,2),Oe=ye[0],Ce=ye[1],we=yk(Object(i["computed"])((function(){return dE(P.value,1)})),ge),Se=gl(we,2),Ne=Se[0],Me=Se[1],xe=function(t,n){var r=nE(t,{locale:e.locale,formatList:b.value,generateConfig:e.generateConfig}),o=0===n?J:z;r&&!o(r)&&(F(fE(P.value,r,n)),Y(r,n))},je=mk({valueTexts:Oe,onTextChange:function(e){return xe(e,0)}}),Te=gl(je,3),De=Te[0],Ee=Te[1],ke=Te[2],Le=mk({valueTexts:Ne,onTextChange:function(e){return xe(e,1)}}),Ye=gl(Le,3),_e=Ye[0],Ae=Ye[1],Pe=Ye[2],Ie=Jx(null),Be=gl(Ie,2),Ze=Be[0],Re=Be[1],He=Jx(null),Ve=gl(He,2),Xe=Ve[0],Je=Ve[1],ze=Ok(De,ge),Qe=gl(ze,3),We=Qe[0],Ke=Qe[1],Ue=Qe[2],Ge=Ok(_e,ge),$e=gl(Ge,3),qe=$e[0],et=$e[1],tt=$e[2],nt=function(e){Je(fE(P.value,e,C.value)),0===C.value?Ke(e):et(e)},rt=function(){Je(fE(P.value,null,C.value)),0===C.value?Ue():tt()},ot=function(t,n){return{forwardKeydown:me,onBlur:function(t){var n;null===(n=e.onBlur)||void 0===n||n.call(e,t)},isClickOutside:function(e){return!PD([d.value,f.value,p.value,l.value],e)},onFocus:function(n){var r;w(t),null===(r=e.onFocus)||void 0===r||r.call(e,n)},triggerOpen:function(e){pe(e,t)},onSubmit:function(){if(!P.value||e.disabledDate&&e.disabledDate(P.value[t]))return!1;he(P.value,t),n()},onCancel:function(){pe(!1,t),F(j.value),n()}}},it=hk(Fe(Fe({},ot(0,ke)),{},{blurToCancel:o,open:G,value:De,onKeydown:function(t,n){var r;null===(r=e.onKeydown)||void 0===r||r.call(e,t,n)}})),at=gl(it,2),ut=at[0],ct=at[1],lt=ct.focused,st=ct.typing,dt=hk(Fe(Fe({},ot(1,Pe)),{},{blurToCancel:o,open:$,value:_e,onKeydown:function(t,n){var r;null===(r=e.onKeydown)||void 0===r||r.call(e,t,n)}})),ft=gl(dt,2),pt=ft[0],vt=ft[1],ht=vt.focused,mt=vt.typing,gt=function(t){var n;null===(n=e.onClick)||void 0===n||n.call(e,t),K.value||h.value.contains(t.target)||m.value.contains(t.target)||(N.value[0]?N.value[1]||ve(1):ve(0))},bt=function(t){var n;null===(n=e.onMousedown)||void 0===n||n.call(e,t),!K.value||!lt.value&&!ht.value||h.value.contains(t.target)||m.value.contains(t.target)||t.preventDefault()},yt=Object(i["computed"])((function(){var t;return null!==(t=j.value)&&void 0!==t&&t[0]?tE(j.value[0],{locale:e.locale,format:"YYYYMMDDHHmmss",generateConfig:e.generateConfig}):""})),Ot=Object(i["computed"])((function(){var t;return null!==(t=j.value)&&void 0!==t&&t[1]?tE(j.value[1],{locale:e.locale,format:"YYYYMMDDHHmmss",generateConfig:e.generateConfig}):""}));Object(i["watch"])([K,Oe,Ne],(function(){K.value||(F(j.value),Oe.value.length&&""!==Oe.value[0]?Ce.value!==De.value&&ke():Ee(""),Ne.value.length&&""!==Ne.value[0]?Me.value!==_e.value&&Pe():Ae(""))})),Object(i["watch"])([yt,Ot],(function(){F(j.value)})),r({focus:function(){h.value&&h.value.focus()},blur:function(){h.value&&h.value.blur(),m.value&&m.value.blur()}});var Ct=Object(i["computed"])((function(){return Object.keys(e.ranges||{}).map((function(t){var n=e.ranges[t],r="function"===typeof n?n():n;return{label:t,onClick:function(){he(r,null),pe(!1,C.value)},onMouseenter:function(){Re(r)},onMouseleave:function(){Re(null)}}}))})),wt=Object(i["computed"])((function(){return K.value&&Xe.value&&Xe.value[0]&&Xe.value[1]&&e.generateConfig.isAfter(Xe.value[1],Xe.value[0])?Xe.value:null}));function St(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.generateConfig,o=e.showTime,a=e.dateRender,c=e.direction,l=e.disabledTime,d=e.prefixCls,f=e.locale,p=o;if(o&&"object"===u(o)&&o.defaultValue){var v=o.defaultValue;p=Fe(Fe({},o),{},{defaultValue:dE(v,C.value)||void 0})}var h=null;return a&&(h=function(e){var t=e.current,n=e.today;return a({current:t,today:n,info:{range:C.value?"end":"start"}})}),Object(i["createVNode"])(SE,{value:{inRange:!0,panelPosition:t,rangedValue:Ze.value||P.value,hoverRangedValue:wt.value}},{default:function(){return[Object(i["createVNode"])(dk,Fe(Fe(Fe({},e),n),{},{dateRender:h,showTime:p,mode:Z.value[C.value],generateConfig:r,style:void 0,direction:c,disabledDate:0===C.value?J:z,disabledTime:function(e){return!!l&&l(e,0===C.value?"start":"end")},class:Qt(s({},"".concat(d,"-panel-focused"),0===C.value?!st.value:!mt.value)),value:dE(P.value,C.value),locale:f,tabIndex:-1,onPanelChange:function(e,n){0===C.value&&Ue(!0),1===C.value&&tt(!0),H(fE(Z.value,n,C.value),fE(P.value,e,C.value));var o=e;"right"===t&&Z.value[C.value]===n&&(o=eE(o,n,r,-1)),Y(o,C.value)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:0===C.value?dE(P.value,1):dE(P.value,0)}),null)]}})}var Nt=function(e,t){var n=fE(P.value,e,C.value);"submit"===t||"key"!==t&&!o.value?(he(n,C.value),0===C.value?Ue():tt()):F(n)};return oD({operationRef:S,hideHeader:Object(i["computed"])((function(){return"time"===e.picker})),onDateMouseenter:nt,onDateMouseleave:rt,hideRanges:Object(i["computed"])((function(){return!0})),onSelect:Nt,open:K}),function(){var t,r,u,c=e.prefixCls,y=void 0===c?"rc-picker":c,O=e.id,w=e.popupStyle,S=e.dropdownClassName,M=e.transitionName,x=e.dropdownAlign,T=e.getPopupContainer,D=e.generateConfig,E=e.locale,_=e.placeholder,A=e.autofocus,F=e.picker,I=void 0===F?"date":F,B=e.showTime,R=e.separator,H=void 0===R?"~":R,V=e.disabledDate,X=e.panelRender,J=e.allowClear,z=e.suffixIcon,Q=e.clearIcon,W=e.inputReadOnly,U=e.renderExtraFooter,G=e.onMouseenter,$=e.onMouseleave,ne=e.onMouseup,re=e.onOk,oe=e.components,ie=e.direction,ae=e.autocomplete,ue=void 0===ae?"off":ae,ce="rtl"===ie?{right:"".concat(ee.value,"px")}:{left:"".concat(ee.value,"px")};function le(){var e,t=uk(y,Z.value[C.value],U),n=ck({prefixCls:y,components:oe,needConfirmButton:o.value,okDisabled:!dE(P.value,C.value)||V&&V(P.value[C.value]),locale:E,rangeList:Ct.value,onOk:function(){dE(P.value,C.value)&&(he(P.value,C.value),re&&re(P.value))}});if("time"===I||B)e=St();else{var r=0===C.value?k.value:L.value,a=eE(r,I,D),u=Z.value[C.value],c=u===I,l=St(!!c&&"left",{pickerValue:r,onPickerValueChange:function(e){Y(e,C.value)}}),s=St("right",{pickerValue:a,onPickerValueChange:function(e){Y(eE(e,I,D,-1),C.value)}});e="rtl"===ie?Object(i["createVNode"])(i["Fragment"],null,[s,c&&l]):Object(i["createVNode"])(i["Fragment"],null,[l,c&&s])}var f=Object(i["createVNode"])(i["Fragment"],null,[Object(i["createVNode"])("div",{class:"".concat(y,"-panels")},[e]),(t||n)&&Object(i["createVNode"])("div",{class:"".concat(y,"-footer")},[t,n])]);return X&&(f=X(f)),Object(i["createVNode"])("div",{class:"".concat(y,"-panel-container"),style:{marginLeft:"".concat(q.value,"px")},ref:d,onMousedown:function(e){e.preventDefault()}},[f])}var se,de,fe=Object(i["createVNode"])("div",{class:Qt("".concat(y,"-range-wrapper"),"".concat(y,"-").concat(I,"-range-wrapper")),style:{minWidth:"".concat(te.value,"px")}},[Object(i["createVNode"])("div",{ref:g,class:"".concat(y,"-range-arrow"),style:ce},null),le()]);z&&(se=Object(i["createVNode"])("span",{class:"".concat(y,"-suffix")},[z])),J&&(dE(j.value,0)&&!N.value[0]||dE(j.value,1)&&!N.value[1])&&(de=Object(i["createVNode"])("span",{onMousedown:function(e){e.preventDefault(),e.stopPropagation()},onMouseup:function(e){e.preventDefault(),e.stopPropagation();var t=j.value;N.value[0]||(t=fE(t,null,0)),N.value[1]||(t=fE(t,null,1)),he(t,null),pe(!1,C.value)},class:"".concat(y,"-clear")},[Q||Object(i["createVNode"])("span",{class:"".concat(y,"-clear-btn")},null)]));var ve={size:xD(I,b.value[0],D)},me=0,ge=0;f.value&&p.value&&v.value&&(0===C.value?ge=f.value.offsetWidth:(me=ee.value,ge=p.value.offsetWidth));var be="rtl"===ie?{right:"".concat(me,"px")}:{left:"".concat(me,"px")};return Object(i["createVNode"])(vk,{visible:K.value,popupStyle:w,prefixCls:y,dropdownClassName:S,dropdownAlign:x,getPopupContainer:T,transitionName:M,range:!0,direction:ie},{default:function(){return[Object(i["createVNode"])("div",Fe({ref:l,class:Qt(y,"".concat(y,"-range"),n.class,(t={},s(t,"".concat(y,"-disabled"),N.value[0]&&N.value[1]),s(t,"".concat(y,"-focused"),0===C.value?lt.value:ht.value),s(t,"".concat(y,"-rtl"),"rtl"===ie),t)),style:n.style,onClick:gt,onMouseenter:G,onMouseleave:$,onMousedown:bt,onMouseup:ne},sE(e)),[Object(i["createVNode"])("div",{class:Qt("".concat(y,"-input"),(r={},s(r,"".concat(y,"-input-active"),0===C.value),s(r,"".concat(y,"-input-placeholder"),!!We.value),r)),ref:f},[Object(i["createVNode"])("input",Fe(Fe(Fe({id:O,disabled:N.value[0],readonly:W||"function"===typeof b.value[0]||!st.value,value:We.value||De.value,onInput:function(e){Ee(e.target.value)},autofocus:A,placeholder:dE(_,0)||"",ref:h},ut.value),ve),{},{autocomplete:ue}),null)]),Object(i["createVNode"])("div",{class:"".concat(y,"-range-separator"),ref:v},[H]),Object(i["createVNode"])("div",{class:Qt("".concat(y,"-input"),(u={},s(u,"".concat(y,"-input-active"),1===C.value),s(u,"".concat(y,"-input-placeholder"),!!qe.value),u)),ref:p},[Object(i["createVNode"])("input",Fe(Fe(Fe({disabled:N.value[1],readonly:W||"function"===typeof b.value[0]||!mt.value,value:qe.value||_e.value,onInput:function(e){Ae(e.target.value)},placeholder:dE(_,1)||"",ref:m},pt.value),ve),{},{autocomplete:ue}),null)]),Object(i["createVNode"])("div",{class:"".concat(y,"-active-bar"),style:Fe(Fe({},be),{},{width:"".concat(ge,"px"),position:"absolute"})},null),se,de,a()])]},popupElement:function(){return fe}})}}})}var nL=tL(),rL=nL,oL=["prefixCls","bordered","placeholder","suffixIcon","picker","transitionName","allowClear","dateRender","renderExtraFooter","separator","clearIcon","id"];function iL(e,t){var n=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ARangePicker",inheritAttrs:!1,props:Fe(Fe(Fe({},xk()),Tk()),t),slots:["suffixIcon","prevIcon","nextIcon","superPrevIcon","superNextIcon","dateRender","renderExtraFooter"],setup:function(t,n){var r=n.expose,o=n.slots,a=n.attrs,u=n.emit,c=t,l=vb();rv(!a.getCalendarContainer,"DatePicker",'`getCalendarContainer` is deprecated. Please use `getPopupContainer"` instead.');var d=wv("picker",c),f=d.prefixCls,p=d.direction,v=d.getPopupContainer,h=d.size,m=d.rootPrefixCls,g=Object(i["ref"])();r({focus:function(){var e;null===(e=g.value)||void 0===e||e.focus()},blur:function(){var e;null===(e=g.value)||void 0===e||e.blur()}});var b=function(t){return c.valueFormat?e.toString(t,c.valueFormat):t},y=function(e,t){var n=b(e);u("update:value",n),u("change",n,t),l.onFieldChange()},O=function(e){u("update:open",e),u("openChange",e)},C=function(e){u("focus",e)},w=function(e){u("blur",e),l.onFieldBlur()},S=function(e,t){var n=b(e);u("panelChange",n,t)},N=function(e){var t=b(e);u("ok",t)},M=function(e,t,n){var r=b(e);u("calendarChange",r,t,n)},x=ll("DatePicker",nl),j=gl(x,1),T=j[0],D=Object(i["computed"])((function(){return c.value&&c.valueFormat?e.toDate(c.value,c.valueFormat):c.value})),E=Object(i["computed"])((function(){return c.defaultValue&&c.valueFormat?e.toDate(c.defaultValue,c.valueFormat):c.defaultValue})),k=Object(i["computed"])((function(){return c.defaultPickerValue&&c.valueFormat?e.toDate(c.defaultPickerValue,c.valueFormat):c.defaultPickerValue}));return function(){var t,n,r,u,d,b,x,j,L=Fe(Fe({},T.value),c.locale),Y=Fe(Fe({},c),a),_=(Y.prefixCls,Y.bordered),A=void 0===_||_,P=Y.placeholder,F=Y.suffixIcon,I=void 0===F?null===(t=o.suffixIcon)||void 0===t?void 0:t.call(o):F,B=Y.picker,Z=void 0===B?"date":B,R=Y.transitionName,H=Y.allowClear,V=void 0===H||H,X=Y.dateRender,J=void 0===X?o.dateRender:X,z=Y.renderExtraFooter,Q=void 0===z?o.renderExtraFooter:z,W=Y.separator,K=void 0===W?null===(n=o.separator)||void 0===n?void 0:n.call(o):W,U=Y.clearIcon,G=void 0===U?null===(r=o.clearIcon)||void 0===r?void 0:r.call(o):U,$=Y.id,q=void 0===$?l.id.value:$,ee=Kc(Y,oL);delete ee["onUpdate:value"],delete ee["onUpdate:open"];var te=Y.format,ne=Y.showTime,re={};re=Fe(Fe(Fe({},re),ne?cL(Fe({format:te,picker:Z},ne)):{}),"time"===Z?cL(Fe(Fe({format:te},mO(ee,["disabledTime"])),{},{picker:Z})):{});var oe=f.value;return Object(i["createVNode"])(rL,Fe(Fe(Fe({dateRender:J,renderExtraFooter:Q,separator:K||Object(i["createVNode"])("span",{"aria-label":"to",class:"".concat(oe,"-separator")},[Object(i["createVNode"])(Ik,null,null)]),ref:g,placeholder:Mk(Z,L,P),suffixIcon:I||("time"===Z?Object(i["createVNode"])(tD,null,null):Object(i["createVNode"])(KT,null,null)),clearIcon:G||Object(i["createVNode"])(gf,null,null),allowClear:V,transitionName:R||"".concat(m.value,"-slide-up")},ee),re),{},{id:q,value:D.value,defaultValue:E.value,defaultPickerValue:k.value,picker:Z,class:Qt((u={},s(u,"".concat(oe,"-").concat(h.value),h.value),s(u,"".concat(oe,"-borderless"),!A),u),a.class),locale:L.lang,prefixCls:oe,getPopupContainer:a.getCalendarContainer||v.value,generateConfig:e,prevIcon:(null===(d=o.prevIcon)||void 0===d?void 0:d.call(o))||Object(i["createVNode"])("span",{class:"".concat(oe,"-prev-icon")},null),nextIcon:(null===(b=o.nextIcon)||void 0===b?void 0:b.call(o))||Object(i["createVNode"])("span",{class:"".concat(oe,"-next-icon")},null),superPrevIcon:(null===(x=o.superPrevIcon)||void 0===x?void 0:x.call(o))||Object(i["createVNode"])("span",{class:"".concat(oe,"-super-prev-icon")},null),superNextIcon:(null===(j=o.superNextIcon)||void 0===j?void 0:j.call(o))||Object(i["createVNode"])("span",{class:"".concat(oe,"-super-next-icon")},null),components:aL,direction:p.value,onChange:y,onOpenChange:O,onFocus:C,onBlur:w,onPanelChange:S,onOk:N,onCalendarChange:M}),null)}}});return n}var aL={button:LT,rangeItem:VT};function uL(e){return e?Array.isArray(e)?e:[e]:[]}function cL(e){var t=e.format,n=e.picker,r=e.showHour,o=e.showMinute,i=e.showSecond,a=e.use12Hours,u=uL(t)[0],c=Fe({},e);return u&&"string"===typeof u&&(u.includes("s")||void 0!==i||(c.showSecond=!1),u.includes("m")||void 0!==o||(c.showMinute=!1),u.includes("H")||u.includes("h")||void 0!==r||(c.showHour=!1),(u.includes("a")||u.includes("A"))&&void 0===a&&(c.use12Hours=!0)),"time"===n?c:("function"===typeof u&&delete c.format,{showTime:c})}function lL(e,t){var n=Ek(e,t),r=n.DatePicker,o=n.WeekPicker,i=n.MonthPicker,a=n.YearPicker,u=n.TimePicker,c=n.QuarterPicker,l=iL(e,t);return{DatePicker:r,WeekPicker:o,MonthPicker:i,YearPicker:a,TimePicker:u,QuarterPicker:c,RangePicker:l}}var sL=lL,dL=function(){return{format:String,showNow:{type:Boolean,default:void 0},showHour:{type:Boolean,default:void 0},showMinute:{type:Boolean,default:void 0},showSecond:{type:Boolean,default:void 0},use12Hours:{type:Boolean,default:void 0},hourStep:Number,minuteStep:Number,secondStep:Number,hideDisabledOptions:{type:Boolean,default:void 0},popupClassName:String}};function fL(e){var t=sL(e,Fe(Fe({},dL()),{},{order:{type:Boolean,default:!0}})),n=t.TimePicker,r=t.RangePicker,o=Object(i["defineComponent"])({name:"ATimePicker",inheritAttrs:!1,props:Fe(Fe(Fe(Fe({},xk()),jk()),dL()),{},{addon:{type:Function}}),slot:["addon","renderExtraFooter","suffixIcon","clearIcon"],setup:function(e,t){var r=t.slots,o=t.expose,a=t.emit,u=t.attrs,c=vb();rv(!(r.addon||e.addon),"TimePicker","`addon` is deprecated. Please use `v-slot:renderExtraFooter` instead.");var l=Object(i["ref"])();o({focus:function(){var e;null===(e=l.value)||void 0===e||e.focus()},blur:function(){var e;null===(e=l.value)||void 0===e||e.blur()}});var s=function(e,t){a("update:value",e),a("change",e,t),c.onFieldChange()},d=function(e){a("update:open",e),a("openChange",e)},f=function(e){a("focus",e)},p=function(e){a("blur",e),c.onFieldBlur()},v=function(e){a("ok",e)};return function(){var t=e.id,o=void 0===t?c.id.value:t;return Object(i["createVNode"])(n,Fe(Fe(Fe({},u),mO(e,["onUpdate:value","onUpdate:open"])),{},{id:o,dropdownClassName:e.popupClassName,mode:void 0,ref:l,renderExtraFooter:e.addon||r.addon||e.renderExtraFooter||r.renderExtraFooter,onChange:s,onOpenChange:d,onFocus:f,onBlur:p,onOk:v}),r)}}}),a=Object(i["defineComponent"])({name:"ATimeRangePicker",inheritAttrs:!1,props:Fe(Fe(Fe(Fe({},xk()),Tk()),dL()),{},{order:{type:Boolean,default:!0}}),slot:["renderExtraFooter","suffixIcon","clearIcon"],setup:function(e,t){var n=t.slots,o=t.expose,a=t.emit,u=t.attrs,c=Object(i["ref"])(),l=vb();o({focus:function(){var e;null===(e=c.value)||void 0===e||e.focus()},blur:function(){var e;null===(e=c.value)||void 0===e||e.blur()}});var s=function(e,t){a("update:value",e),a("change",e,t),l.onFieldChange()},d=function(e){a("update:open",e),a("openChange",e)},f=function(e){a("focus",e)},p=function(e){a("blur",e),l.onFieldBlur()},v=function(e,t){a("panelChange",e,t)},h=function(e){a("ok",e)},m=function(e,t,n){a("calendarChange",e,t,n)};return function(){var t=e.id,o=void 0===t?l.id.value:t;return Object(i["createVNode"])(r,Fe(Fe(Fe({},u),mO(e,["onUpdate:open","onUpdate:value"])),{},{id:o,dropdownClassName:e.popupClassName,picker:"time",mode:void 0,ref:c,onChange:s,onOpenChange:d,onFocus:f,onBlur:p,onPanelChange:v,onOk:h,onCalendarChange:m}),n)}}});return{TimePicker:o,TimeRangePicker:a}}var pL=fL,vL=n("5a0c"),hL=n.n(vL),mL=n("7e21"),gL=n.n(mL),bL=n("5e0f"),yL=n.n(bL),OL=n("2a04"),CL=n.n(OL),wL=n("1ac8"),SL=n.n(wL),NL=n("9b1f"),ML=n.n(NL),xL=n("8f19"),jL=n.n(xL),TL=n("f906"),DL=n.n(TL);hL.a.extend(DL.a),hL.a.extend(jL.a),hL.a.extend(gL.a),hL.a.extend(yL.a),hL.a.extend(CL.a),hL.a.extend(SL.a),hL.a.extend(ML.a),hL.a.extend((function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=(e||"").replace("Wo","wo");return r.bind(this)(t)}}));var EL={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},kL=function(e){var t=EL[e];return t||e.split("_")[0]},LL=function(){qt(!1,"Not match any format. Please help to fire a issue about this.")},YL=/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|k{1,2}|S/g;function _L(e,t,n){for(var r=Ae(new Set(e.split(n))),o=0,i=0;i<r.length;i++){var a=r[i];if(o+=a.length,o>t)return a;o+=n.length}}var AL=function(e,t){if(!e)return null;if(hL.a.isDayjs(e))return e;var n=t.matchAll(YL),r=hL()(e,t);if(null===n)return r;var o,i=NT(n);try{for(i.s();!(o=i.n()).done;){var a=o.value,u=a[0],c=a["index"];if("Q"===u){var l=e.slice(c-1,c),s=_L(e,c,l).match(/\d+/)[0];r=r.quarter(parseInt(s))}if("wo"===u.toLowerCase()){var d=e.slice(c-1,c),f=_L(e,c,d).match(/\d+/)[0];r=r.week(parseInt(f))}"ww"===u.toLowerCase()&&(r=r.week(parseInt(e.slice(c,c+u.length)))),"w"===u.toLowerCase()&&(r=r.week(parseInt(e.slice(c,c+u.length+1))))}}catch(p){i.e(p)}finally{i.f()}return r},PL={getNow:function(){return hL()()},getFixedDate:function(e){return hL()(e,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(e){return e.endOf("month")},getWeekDay:function(e){var t=e.locale("en");return t.weekday()+t.localeData().firstDayOfWeek()},getYear:function(e){return e.year()},getMonth:function(e){return e.month()},getDate:function(e){return e.date()},getHour:function(e){return e.hour()},getMinute:function(e){return e.minute()},getSecond:function(e){return e.second()},addYear:function(e,t){return e.add(t,"year")},addMonth:function(e,t){return e.add(t,"month")},addDate:function(e,t){return e.add(t,"day")},setYear:function(e,t){return e.year(t)},setMonth:function(e,t){return e.month(t)},setDate:function(e,t){return e.date(t)},setHour:function(e,t){return e.hour(t)},setMinute:function(e,t){return e.minute(t)},setSecond:function(e,t){return e.second(t)},isAfter:function(e,t){return e.isAfter(t)},isValidate:function(e){return e.isValid()},locale:{getWeekFirstDay:function(e){return hL()().locale(kL(e)).localeData().firstDayOfWeek()},getWeekFirstDate:function(e,t){return t.locale(kL(e)).weekday(0)},getWeek:function(e,t){return t.locale(kL(e)).week()},getShortWeekDays:function(e){return hL()().locale(kL(e)).localeData().weekdaysMin()},getShortMonths:function(e){return hL()().locale(kL(e)).localeData().monthsShort()},format:function(e,t,n){return t.locale(kL(e)).format(n)},parse:function(e,t,n){for(var r=kL(e),o=0;o<n.length;o+=1){var i=n[o],a=t;if(i.includes("wo")||i.includes("Wo")){for(var u=a.split("-")[0],c=a.split("-")[1],l=hL()(u,"YYYY").startOf("year").locale(r),s=0;s<=52;s+=1){var d=l.add(s,"week");if(d.format("Wo")===c)return d}return LL(),null}var f=hL()(a,i,!0).locale(r);if(f.isValid())return f}return t||LL(),null}},toDate:function(e,t){return Array.isArray(e)?e.map((function(e){return AL(e,t)})):AL(e,t)},toString:function(e,t){return Array.isArray(e)?e.map((function(e){return hL.a.isDayjs(e)?e.format(t):e})):hL.a.isDayjs(e)?e.format(t):e}},FL=PL,IL=pL(FL),BL=IL.TimePicker,ZL=IL.TimeRangePicker,RL=Qc(BL,{TimePicker:BL,TimeRangePicker:ZL,install:function(e){return e.component(BL.name,BL),e.component(ZL.name,ZL),e}}),HL=RL,VL=sL(FL),XL=VL.DatePicker,JL=VL.WeekPicker,zL=VL.MonthPicker,QL=VL.YearPicker,WL=VL.TimePicker,KL=VL.QuarterPicker,UL=VL.RangePicker,GL=Qc(XL,{WeekPicker:JL,MonthPicker:zL,YearPicker:QL,RangePicker:UL,TimePicker:WL,QuarterPicker:KL,install:function(e){return e.component(XL.name,XL),e.component(UL.name,UL),e.component(zL.name,zL),e.component(JL.name,JL),e.component(KL.name,KL),e}}),$L=GL,qL=function(e,t){var n,r,o=t.attrs,a=o.included,u=o.vertical,c=o.style,l=o.class,d=o.length,f=o.offset,p=o.reverse;d<0&&(p=!p,d=Math.abs(d),f=100-f);var v=u?(n={},s(n,p?"top":"bottom","".concat(f,"%")),s(n,p?"bottom":"top","auto"),s(n,"height","".concat(d,"%")),n):(r={},s(r,p?"right":"left","".concat(f,"%")),s(r,p?"left":"right","auto"),s(r,"width","".concat(d,"%")),r),h=Fe(Fe({},c),v);return a?Object(i["createVNode"])("div",{class:l,style:h},null):null};qL.inheritAttrs=!1;var eY=qL,tY=function(e,t,n,r,o,i){tn(!n||r>0,"Slider","`Slider[step]` should be a positive number in order to make Slider[dots] work.");var a=Object.keys(t).map(parseFloat).sort((function(e,t){return e-t}));if(n&&r)for(var u=o;u<=i;u+=r)-1===a.indexOf(u)&&a.push(u);return a},nY=function(e,t){var n=t.attrs,r=n.prefixCls,o=n.vertical,a=n.reverse,u=n.marks,c=n.dots,l=n.step,d=n.included,f=n.lowerBound,p=n.upperBound,v=n.max,h=n.min,m=n.dotStyle,g=n.activeDotStyle,b=v-h,y=tY(o,u,c,l,h,v).map((function(e){var t,n="".concat(Math.abs(e-h)/b*100,"%"),u=!d&&e===p||d&&e<=p&&e>=f,c=Fe(Fe({},m),{},s({},o?a?"top":"bottom":a?"right":"left",n));u&&(c=Fe(Fe({},c),g));var l=Qt((t={},s(t,"".concat(r,"-dot"),!0),s(t,"".concat(r,"-dot-active"),u),s(t,"".concat(r,"-dot-reverse"),a),t));return Object(i["createVNode"])("span",{class:l,style:c,key:e},null)}));return Object(i["createVNode"])("div",{class:"".concat(r,"-step")},[y])};nY.inheritAttrs=!1;var rY=nY,oY=function(e,t){var n=t.attrs,r=t.slots,o=n.class,a=n.vertical,c=n.reverse,l=n.marks,d=n.included,f=n.upperBound,p=n.lowerBound,v=n.max,h=n.min,m=n.onClickLabel,g=Object.keys(l),b=r.mark,y=v-h,O=g.map(parseFloat).sort((function(e,t){return e-t})).map((function(e){var t,n="function"===typeof l[e]?l[e]():l[e],r="object"===u(n)&&!Zl(n),v=r?n.label:n;if(!v&&0!==v)return null;b&&(v=b({point:e,label:v}));var g=!d&&e===f||d&&e<=f&&e>=p,O=Qt((t={},s(t,"".concat(o,"-text"),!0),s(t,"".concat(o,"-text-active"),g),t)),C=s({marginBottom:"-50%"},c?"top":"bottom","".concat((e-h)/y*100,"%")),w=s({transform:"translateX(".concat(c?"50%":"-50%",")"),msTransform:"translateX(".concat(c?"50%":"-50%",")")},c?"right":"left","".concat((e-h)/y*100,"%")),S=a?C:w,N=r?Fe(Fe({},S),n.style):S,M=s({},Pw?"onTouchstartPassive":"onTouchstart",(function(t){return m(t,e)}));return Object(i["createVNode"])("span",Fe({class:O,style:N,key:e,onMousedown:function(t){return m(t,e)}},M),[v])}));return Object(i["createVNode"])("div",{class:o},[O])};oY.inheritAttrs=!1;var iY=oY,aY=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"Handle",inheritAttrs:!1,props:{prefixCls:String,vertical:{type:Boolean,default:void 0},offset:Number,disabled:{type:Boolean,default:void 0},min:Number,max:Number,value:Number,tabindex:Et.oneOfType([Et.number,Et.string]),reverse:{type:Boolean,default:void 0},ariaLabel:String,ariaLabelledBy:String,ariaValueTextFormatter:Function,onMouseenter:{type:Function},onMouseleave:{type:Function},onMousedown:{type:Function}},setup:function(e,t){var n=t.attrs,r=t.emit,o=t.expose,a=Object(i["ref"])(!1),u=Object(i["ref"])(),c=function(){document.activeElement===u.value&&(a.value=!0)},l=function(e){a.value=!1,r("blur",e)},d=function(){a.value=!1},f=function(){var e;null===(e=u.value)||void 0===e||e.focus()},p=function(){var e;null===(e=u.value)||void 0===e||e.blur()},v=function(){a.value=!0,f()},h=function(e){e.preventDefault(),f(),r("mousedown",e)};o({focus:f,blur:p,clickFocus:v,ref:u});var m=null;Object(i["onMounted"])((function(){m=Fw(document,"mouseup",c)})),Object(i["onBeforeUnmount"])((function(){var e;null===(e=m)||void 0===e||e.remove()}));var g=Object(i["computed"])((function(){var t,n,r=e.vertical,o=e.offset,i=e.reverse;return r?(t={},s(t,i?"top":"bottom","".concat(o,"%")),s(t,i?"bottom":"top","auto"),s(t,"transform",i?null:"translateY(+50%)"),t):(n={},s(n,i?"right":"left","".concat(o,"%")),s(n,i?"left":"right","auto"),s(n,"transform","translateX(".concat(i?"+":"-","50%)")),n)}));return function(){var t,r=e.prefixCls,o=e.disabled,c=e.min,f=e.max,p=e.value,v=e.tabindex,m=e.ariaLabel,b=e.ariaLabelledBy,y=e.ariaValueTextFormatter,O=e.onMouseenter,C=e.onMouseleave,w=Qt(n.class,s({},"".concat(r,"-handle-click-focused"),a.value)),S={"aria-valuemin":c,"aria-valuemax":f,"aria-valuenow":p,"aria-disabled":!!o},N=[n.style,g.value],M=v||0;(o||null===v)&&(M=null),y&&(t=y(p));var x=Fe(Fe(Fe({},n),{},{role:"slider",tabindex:M},S),{},{class:w,onBlur:l,onKeydown:d,onMousedown:h,onMouseenter:O,onMouseleave:C,ref:u,style:N});return Object(i["createVNode"])("div",Fe(Fe({},x),{},{"aria-label":m,"aria-labelledby":b,"aria-valuetext":t}),null)}}});function uY(e,t){try{return Object.keys(t).some((function(n){return e.target===t[n].ref}))}catch(n){return!1}}function cY(e,t){var n=t.min,r=t.max;return e<n||e>r}function lY(e){return e.touches.length>1||"touchend"===e.type.toLowerCase()&&e.touches.length>0}function sY(e,t){var n=t.marks,r=t.step,o=t.min,i=t.max,a=Object.keys(n).map(parseFloat);if(null!==r){var u=Math.pow(10,dY(r)),c=Math.floor((i*u-o*u)/(r*u)),l=Math.min((e-o)/r,c),s=Math.round(l)*r+o;a.push(s)}var d=a.map((function(t){return Math.abs(e-t)}));return a[d.indexOf(Math.min.apply(Math,Ae(d)))]}function dY(e){var t=e.toString(),n=0;return t.indexOf(".")>=0&&(n=t.length-t.indexOf(".")-1),n}function fY(e,t){var n=1;return window.visualViewport&&(n=+(window.visualViewport.width/document.body.getBoundingClientRect().width).toFixed(2)),(e?t.clientY:t.pageX)/n}function pY(e,t){var n=1;return window.visualViewport&&(n=+(window.visualViewport.width/document.body.getBoundingClientRect().width).toFixed(2)),(e?t.touches[0].clientY:t.touches[0].pageX)/n}function vY(e,t){var n=t.getBoundingClientRect();return e?n.top+.5*n.height:window.pageXOffset+n.left+.5*n.width}function hY(e,t){var n=t.max,r=t.min;return e<=r?r:e>=n?n:e}function mY(e,t){var n=t.step,r=isFinite(sY(e,t))?sY(e,t):0;return null===n?r:parseFloat(r.toFixed(dY(n)))}function gY(e){e.stopPropagation(),e.preventDefault()}function bY(e,t,n){var r={increase:function(e,t){return e+t},decrease:function(e,t){return e-t}},o=r[e](Object.keys(n.marks).indexOf(JSON.stringify(t)),1),i=Object.keys(n.marks)[o];return n.step?r[e](t,n.step):Object.keys(n.marks).length&&n.marks[i]?n.marks[i]:t}function yY(e,t,n){var r="increase",o="decrease",i=r;switch(e.keyCode){case WN.UP:i=t&&n?o:r;break;case WN.RIGHT:i=!t&&n?o:r;break;case WN.DOWN:i=t&&n?r:o;break;case WN.LEFT:i=!t&&n?r:o;break;case WN.END:return function(e,t){return t.max};case WN.HOME:return function(e,t){return t.min};case WN.PAGE_UP:return function(e,t){return e+2*t.step};case WN.PAGE_DOWN:return function(e,t){return e-2*t.step};default:return}return function(e,t){return bY(i,e,t)}}var OY=["index","directives","className","style"];function CY(){}function wY(e){var t={id:String,min:Number,max:Number,step:Number,marks:Et.object,included:{type:Boolean,default:void 0},prefixCls:String,disabled:{type:Boolean,default:void 0},handle:Function,dots:{type:Boolean,default:void 0},vertical:{type:Boolean,default:void 0},reverse:{type:Boolean,default:void 0},minimumTrackStyle:Et.object,maximumTrackStyle:Et.object,handleStyle:Et.oneOfType([Et.object,Et.arrayOf(Et.object)]),trackStyle:Et.oneOfType([Et.object,Et.arrayOf(Et.object)]),railStyle:Et.object,dotStyle:Et.object,activeDotStyle:Et.object,autofocus:{type:Boolean,default:void 0},draggableTrack:{type:Boolean,default:void 0}};return Object(i["defineComponent"])({compatConfig:{MODE:3},name:"CreateSlider",mixins:[DN,e],inheritAttrs:!1,slots:["mark"],props:Pb(t,{prefixCls:"rc-slider",min:0,max:100,step:1,marks:{},included:!0,disabled:!1,dots:!1,vertical:!1,reverse:!1,trackStyle:[{}],handleStyle:[{}],railStyle:{},dotStyle:{},activeDotStyle:{}}),emits:["change","blur","focus"],data:function(){var e=this.step,t=this.max,n=this.min,r=!isFinite(t-n)||(t-n)%e===0;return tn(!e||Math.floor(e)!==e||r,"Slider[max] - Slider[min] (".concat(t-n,") should be a multiple of Slider[step] (").concat(e,")")),this.handlesRefs={},{}},mounted:function(){var e=this;this.$nextTick((function(){e.document=e.sliderRef&&e.sliderRef.ownerDocument;var t=e.autofocus,n=e.disabled;t&&!n&&e.focus()}))},beforeUnmount:function(){var e=this;this.$nextTick((function(){e.removeDocumentEvents()}))},methods:{defaultHandle:function(e){var t=e.index,n=(e.directives,e.className),r=e.style,o=Kc(e,OY);if(delete o.dragging,null===o.value)return null;var a=Fe(Fe({},o),{},{class:n,style:r,key:t});return Object(i["createVNode"])(aY,a,null)},onDown:function(e,t){var n=t,r=this.$props,o=r.draggableTrack,i=r.vertical,a=this.$data.bounds,u=o&&this.positionGetValue&&this.positionGetValue(n)||[],c=uY(e,this.handlesRefs);if(this.dragTrack=o&&a.length>=2&&!c&&!u.map((function(e,t){var n=!!t||e>=a[t];return t===u.length-1?e<=a[t]:n})).some((function(e){return!e})),this.dragTrack)this.dragOffset=n,this.startBounds=Ae(a);else{if(c){var l=vY(i,e.target);this.dragOffset=n-l,n=l}else this.dragOffset=0;this.onStart(n)}},onMouseDown:function(e){if(0===e.button){this.removeDocumentEvents();var t=this.$props.vertical,n=fY(t,e);this.onDown(e,n),this.addDocumentMouseEvents()}},onTouchStart:function(e){if(!lY(e)){var t=this.vertical,n=pY(t,e);this.onDown(e,n),this.addDocumentTouchEvents(),gY(e)}},onFocus:function(e){var t=this.vertical;if(uY(e,this.handlesRefs)&&!this.dragTrack){var n=vY(t,e.target);this.dragOffset=0,this.onStart(n),gY(e),this.$emit("focus",e)}},onBlur:function(e){this.dragTrack||this.onEnd(),this.$emit("blur",e)},onMouseUp:function(){this.handlesRefs[this.prevMovedHandleIndex]&&this.handlesRefs[this.prevMovedHandleIndex].clickFocus()},onMouseMove:function(e){if(this.sliderRef){var t=fY(this.vertical,e);this.onMove(e,t-this.dragOffset,this.dragTrack,this.startBounds)}else this.onEnd()},onTouchMove:function(e){if(!lY(e)&&this.sliderRef){var t=pY(this.vertical,e);this.onMove(e,t-this.dragOffset,this.dragTrack,this.startBounds)}else this.onEnd()},onKeyDown:function(e){this.sliderRef&&uY(e,this.handlesRefs)&&this.onKeyboard(e)},onClickMarkLabel:function(e,t){var n=this;e.stopPropagation(),this.onChange({sValue:t}),this.setState({sValue:t},(function(){return n.onEnd(!0)}))},getSliderStart:function(){var e=this.sliderRef,t=this.vertical,n=this.reverse,r=e.getBoundingClientRect();return t?n?r.bottom:r.top:window.pageXOffset+(n?r.right:r.left)},getSliderLength:function(){var e=this.sliderRef;if(!e)return 0;var t=e.getBoundingClientRect();return this.vertical?t.height:t.width},addDocumentTouchEvents:function(){this.onTouchMoveListener=Fw(this.document,"touchmove",this.onTouchMove),this.onTouchUpListener=Fw(this.document,"touchend",this.onEnd)},addDocumentMouseEvents:function(){this.onMouseMoveListener=Fw(this.document,"mousemove",this.onMouseMove),this.onMouseUpListener=Fw(this.document,"mouseup",this.onEnd)},removeDocumentEvents:function(){this.onTouchMoveListener&&this.onTouchMoveListener.remove(),this.onTouchUpListener&&this.onTouchUpListener.remove(),this.onMouseMoveListener&&this.onMouseMoveListener.remove(),this.onMouseUpListener&&this.onMouseUpListener.remove()},focus:function(){var e;this.$props.disabled||null===(e=this.handlesRefs[0])||void 0===e||e.focus()},blur:function(){var e=this;this.$props.disabled||Object.keys(this.handlesRefs).forEach((function(t){var n,r;null===(n=e.handlesRefs[t])||void 0===n||null===(r=n.blur)||void 0===r||r.call(n)}))},calcValue:function(e){var t=this.vertical,n=this.min,r=this.max,o=Math.abs(Math.max(e,0)/this.getSliderLength()),i=t?(1-o)*(r-n)+n:o*(r-n)+n;return i},calcValueByPos:function(e){var t=this.reverse?-1:1,n=t*(e-this.getSliderStart()),r=this.trimAlignValue(this.calcValue(n));return r},calcOffset:function(e){var t=this.min,n=this.max,r=(e-t)/(n-t);return Math.max(0,100*r)},saveSlider:function(e){this.sliderRef=e},saveHandle:function(e,t){this.handlesRefs[e]=t}},render:function(){var e,t=this.prefixCls,n=this.marks,r=this.dots,o=this.step,a=this.included,u=this.disabled,c=this.vertical,l=this.reverse,d=this.min,f=this.max,p=this.maximumTrackStyle,v=this.railStyle,h=this.dotStyle,m=this.activeDotStyle,g=this.id,b=this.$attrs,y=b.class,O=b.style,C=this.renderSlider(),w=C.tracks,S=C.handles,N=Qt(t,y,(e={},s(e,"".concat(t,"-with-marks"),Object.keys(n).length),s(e,"".concat(t,"-disabled"),u),s(e,"".concat(t,"-vertical"),c),e)),M={vertical:c,marks:n,included:a,lowerBound:this.getLowerBound(),upperBound:this.getUpperBound(),max:f,min:d,reverse:l,class:"".concat(t,"-mark"),onClickLabel:u?CY:this.onClickMarkLabel},x=s({},Pw?"onTouchstartPassive":"onTouchstart",u?CY:this.onTouchStart);return Object(i["createVNode"])("div",Fe(Fe({id:g,ref:this.saveSlider,tabindex:"-1",class:N},x),{},{onMousedown:u?CY:this.onMouseDown,onMouseup:u?CY:this.onMouseUp,onKeydown:u?CY:this.onKeyDown,onFocus:u?CY:this.onFocus,onBlur:u?CY:this.onBlur,style:O}),[Object(i["createVNode"])("div",{class:"".concat(t,"-rail"),style:Fe(Fe({},p),v)},null),w,Object(i["createVNode"])(rY,{prefixCls:t,vertical:c,reverse:l,marks:n,dots:r,step:o,included:a,lowerBound:this.getLowerBound(),upperBound:this.getUpperBound(),max:f,min:d,dotStyle:h,activeDotStyle:m},null),S,Object(i["createVNode"])(iY,M,{mark:this.$slots.mark}),Ll(this)])}})}var SY=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"Slider",mixins:[DN],inheritAttrs:!1,props:{defaultValue:Number,value:Number,disabled:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},tabindex:Et.oneOfType([Et.number,Et.string]),reverse:{type:Boolean,default:void 0},min:Number,max:Number,ariaLabelForHandle:String,ariaLabelledByForHandle:String,ariaValueTextFormatterForHandle:String,startPoint:Number},emits:["beforeChange","afterChange","change"],data:function(){var e=void 0!==this.defaultValue?this.defaultValue:this.min,t=void 0!==this.value?this.value:e;return{sValue:this.trimAlignValue(t),dragging:!1}},watch:{value:{handler:function(e){this.setChangeValue(e)},deep:!0},min:function(){var e=this.sValue;this.setChangeValue(e)},max:function(){var e=this.sValue;this.setChangeValue(e)}},methods:{setChangeValue:function(e){var t=void 0!==e?e:this.sValue,n=this.trimAlignValue(t,this.$props);n!==this.sValue&&(this.setState({sValue:n}),cY(t,this.$props)&&this.$emit("change",n))},onChange:function(e){var t=!El(this,"value"),n=e.sValue>this.max?Fe(Fe({},e),{},{sValue:this.max}):e;t&&this.setState(n);var r=n.sValue;this.$emit("change",r)},onStart:function(e){this.setState({dragging:!0});var t=this.sValue;this.$emit("beforeChange",t);var n=this.calcValueByPos(e);this.startValue=n,this.startPosition=e,n!==t&&(this.prevMovedHandleIndex=0,this.onChange({sValue:n}))},onEnd:function(e){var t=this.dragging;this.removeDocumentEvents(),(t||e)&&this.$emit("afterChange",this.sValue),this.setState({dragging:!1})},onMove:function(e,t){gY(e);var n=this.sValue,r=this.calcValueByPos(t);r!==n&&this.onChange({sValue:r})},onKeyboard:function(e){var t=this.$props,n=t.reverse,r=t.vertical,o=yY(e,r,n);if(o){gY(e);var i=this.sValue,a=o(i,this.$props),u=this.trimAlignValue(a);if(u===i)return;this.onChange({sValue:u}),this.$emit("afterChange",u),this.onEnd()}},getLowerBound:function(){var e=this.$props.startPoint||this.$props.min;return this.$data.sValue>e?e:this.$data.sValue},getUpperBound:function(){return this.$data.sValue<this.$props.startPoint?this.$props.startPoint:this.$data.sValue},trimAlignValue:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null===e)return null;var n=Fe(Fe({},this.$props),t),r=hY(e,n);return mY(r,n)},getTrack:function(e){var t=e.prefixCls,n=e.reverse,r=e.vertical,o=e.included,a=e.minimumTrackStyle,u=e.mergedTrackStyle,c=e.length,l=e.offset;return Object(i["createVNode"])(eY,{class:"".concat(t,"-track"),vertical:r,included:o,offset:l,reverse:n,length:c,style:Fe(Fe({},a),u)},null)},renderSlider:function(){var e=this,t=this.prefixCls,n=this.vertical,r=this.included,o=this.disabled,i=this.minimumTrackStyle,a=this.trackStyle,u=this.handleStyle,c=this.tabindex,l=this.ariaLabelForHandle,s=this.ariaLabelledByForHandle,d=this.ariaValueTextFormatterForHandle,f=this.min,p=this.max,v=this.startPoint,h=this.reverse,m=this.handle,g=this.defaultHandle,b=m||g,y=this.sValue,O=this.dragging,C=this.calcOffset(y),w=b({class:"".concat(t,"-handle"),prefixCls:t,vertical:n,offset:C,value:y,dragging:O,disabled:o,min:f,max:p,reverse:h,index:0,tabindex:c,ariaLabel:l,ariaLabelledBy:s,ariaValueTextFormatter:d,style:u[0]||u,ref:function(t){return e.saveHandle(0,t)},onFocus:this.onFocus,onBlur:this.onBlur}),S=void 0!==v?this.calcOffset(v):0,N=a[0]||a;return{tracks:this.getTrack({prefixCls:t,reverse:h,vertical:n,included:r,offset:S,minimumTrackStyle:i,mergedTrackStyle:N,length:C-S}),handles:w}}}}),NY=wY(SY),MY=function(e){var t=e.value,n=e.handle,r=e.bounds,o=e.props,i=o.allowCross,a=o.pushable,u=Number(a),c=hY(t,o),l=c;return i||null==n||void 0===r||(n>0&&c<=r[n-1]+u&&(l=r[n-1]+u),n<r.length-1&&c>=r[n+1]-u&&(l=r[n+1]-u)),mY(l,o)},xY={defaultValue:Et.arrayOf(Et.number),value:Et.arrayOf(Et.number),count:Number,pushable:Dt(Et.oneOfType([Et.looseBool,Et.number])),allowCross:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},reverse:{type:Boolean,default:void 0},tabindex:Et.arrayOf(Et.number),prefixCls:String,min:Number,max:Number,autofocus:{type:Boolean,default:void 0},ariaLabelGroupForHandles:Array,ariaLabelledByGroupForHandles:Array,ariaValueTextFormatterGroupForHandles:Array,draggableTrack:{type:Boolean,default:void 0}},jY=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"Range",mixins:[DN],inheritAttrs:!1,props:Pb(xY,{count:1,allowCross:!0,pushable:!1,tabindex:[],draggableTrack:!1,ariaLabelGroupForHandles:[],ariaLabelledByGroupForHandles:[],ariaValueTextFormatterGroupForHandles:[]}),emits:["beforeChange","afterChange","change"],displayName:"Range",data:function(){var e=this,t=this.count,n=this.min,r=this.max,o=Array.apply(void 0,Ae(Array(t+1))).map((function(){return n})),i=El(this,"defaultValue")?this.defaultValue:o,a=this.value;void 0===a&&(a=i);var u=a.map((function(t,n){return MY({value:t,handle:n,props:e.$props})})),c=u[0]===r?0:u.length-1;return{sHandle:null,recent:c,bounds:u}},watch:{value:{handler:function(e){var t=this.bounds;this.setChangeValue(e||t)},deep:!0},min:function(){var e=this.value;this.setChangeValue(e||this.bounds)},max:function(){var e=this.value;this.setChangeValue(e||this.bounds)}},methods:{setChangeValue:function(e){var t=this,n=this.bounds,r=e.map((function(e,r){return MY({value:e,handle:r,bounds:n,props:t.$props})}));if(n.length===r.length){if(r.every((function(e,t){return e===n[t]})))return null}else r=e.map((function(e,n){return MY({value:e,handle:n,props:t.$props})}));if(this.setState({bounds:r}),e.some((function(e){return cY(e,t.$props)}))){var o=e.map((function(e){return hY(e,t.$props)}));this.$emit("change",o)}},onChange:function(e){var t=!El(this,"value");if(t)this.setState(e);else{var n={};["sHandle","recent"].forEach((function(t){void 0!==e[t]&&(n[t]=e[t])})),Object.keys(n).length&&this.setState(n)}var r=Fe(Fe({},this.$data),e),o=r.bounds;this.$emit("change",o)},positionGetValue:function(e){var t=this.getValue(),n=this.calcValueByPos(e),r=this.getClosestBound(n),o=this.getBoundNeedMoving(n,r),i=t[o];if(n===i)return null;var a=Ae(t);return a[o]=n,a},onStart:function(e){var t=this.bounds;this.$emit("beforeChange",t);var n=this.calcValueByPos(e);this.startValue=n,this.startPosition=e;var r=this.getClosestBound(n);this.prevMovedHandleIndex=this.getBoundNeedMoving(n,r),this.setState({sHandle:this.prevMovedHandleIndex,recent:this.prevMovedHandleIndex});var o=t[this.prevMovedHandleIndex];if(n!==o){var i=Ae(t);i[this.prevMovedHandleIndex]=n,this.onChange({bounds:i})}},onEnd:function(e){var t=this.sHandle;this.removeDocumentEvents(),t||(this.dragTrack=!1),(null!==t||e)&&this.$emit("afterChange",this.bounds),this.setState({sHandle:null})},onMove:function(e,t,n,r){gY(e);var o=this.$data,i=this.$props,a=i.max||100,u=i.min||0;if(n){var c=i.vertical?-t:t;c=i.reverse?-c:c;var l=a-Math.max.apply(Math,Ae(r)),s=u-Math.min.apply(Math,Ae(r)),d=Math.min(Math.max(c/(this.getSliderLength()/100),s),l),f=r.map((function(e){return Math.floor(Math.max(Math.min(e+d,a),u))}));o.bounds.map((function(e,t){return e===f[t]})).some((function(e){return!e}))&&this.onChange({bounds:f})}else{var p=this.bounds,v=this.sHandle,h=this.calcValueByPos(t),m=p[v];h!==m&&this.moveTo(h)}},onKeyboard:function(e){var t=this.$props,n=t.reverse,r=t.vertical,o=yY(e,r,n);if(o){gY(e);var i=this.bounds,a=this.sHandle,u=i[null===a?this.recent:a],c=o(u,this.$props),l=MY({value:c,handle:a,bounds:i,props:this.$props});if(l===u)return;var s=!0;this.moveTo(l,s)}},getClosestBound:function(e){for(var t=this.bounds,n=0,r=1;r<t.length-1;r+=1)e>=t[r]&&(n=r);return Math.abs(t[n+1]-e)<Math.abs(t[n]-e)&&(n+=1),n},getBoundNeedMoving:function(e,t){var n=this.bounds,r=this.recent,o=t,i=n[t+1]===n[t];return i&&n[r]===n[t]&&(o=r),i&&e!==n[t+1]&&(o=e<n[t+1]?t:t+1),o},getLowerBound:function(){return this.bounds[0]},getUpperBound:function(){var e=this.bounds;return e[e.length-1]},getPoints:function(){var e=this.marks,t=this.step,n=this.min,r=this.max,o=this.internalPointsCache;if(!o||o.marks!==e||o.step!==t){var i=Fe({},e);if(null!==t)for(var a=n;a<=r;a+=t)i[a]=a;var u=Object.keys(i).map(parseFloat);u.sort((function(e,t){return e-t})),this.internalPointsCache={marks:e,step:t,points:u}}return this.internalPointsCache.points},moveTo:function(e,t){var n=this,r=Ae(this.bounds),o=this.sHandle,i=this.recent,a=null===o?i:o;r[a]=e;var u=a;!1!==this.$props.pushable?this.pushSurroundingHandles(r,u):this.$props.allowCross&&(r.sort((function(e,t){return e-t})),u=r.indexOf(e)),this.onChange({recent:u,sHandle:u,bounds:r}),t&&(this.$emit("afterChange",r),this.setState({},(function(){n.handlesRefs[u].focus()})),this.onEnd())},pushSurroundingHandles:function(e,t){var n=e[t],r=this.pushable,o=Number(r),i=0;if(e[t+1]-n<o&&(i=1),n-e[t-1]<o&&(i=-1),0!==i){var a=t+i,u=i*(e[a]-n);this.pushHandle(e,a,i,o-u)||(e[t]=e[a]-i*o)}},pushHandle:function(e,t,n,r){var o=e[t],i=e[t];while(n*(i-o)<r){if(!this.pushHandleOnePoint(e,t,n))return e[t]=o,!1;i=e[t]}return!0},pushHandleOnePoint:function(e,t,n){var r=this.getPoints(),o=r.indexOf(e[t]),i=o+n;if(i>=r.length||i<0)return!1;var a=t+n,u=r[i],c=this.pushable,l=Number(c),s=n*(e[a]-u);return!!this.pushHandle(e,a,n,l-s)&&(e[t]=u,!0)},trimAlignValue:function(e){var t=this.sHandle,n=this.bounds;return MY({value:e,handle:t,bounds:n,props:this.$props})},ensureValueNotConflict:function(e,t,n){var r=n.allowCross,o=n.pushable,i=this.$data||{},a=i.bounds;if(e=void 0===e?i.sHandle:e,o=Number(o),!r&&null!=e&&void 0!==a){if(e>0&&t<=a[e-1]+o)return a[e-1]+o;if(e<a.length-1&&t>=a[e+1]-o)return a[e+1]-o}return t},getTrack:function(e){var t=e.bounds,n=e.prefixCls,r=e.reverse,o=e.vertical,a=e.included,u=e.offsets,c=e.trackStyle;return t.slice(0,-1).map((function(e,t){var l,d=t+1,f=Qt((l={},s(l,"".concat(n,"-track"),!0),s(l,"".concat(n,"-track-").concat(d),!0),l));return Object(i["createVNode"])(eY,{class:f,vertical:o,reverse:r,included:a,offset:u[d-1],length:u[d]-u[d-1],style:c[t],key:d},null)}))},renderSlider:function(){var e=this,t=this.sHandle,n=this.bounds,r=this.prefixCls,o=this.vertical,i=this.included,a=this.disabled,u=this.min,c=this.max,l=this.reverse,d=this.handle,f=this.defaultHandle,p=this.trackStyle,v=this.handleStyle,h=this.tabindex,m=this.ariaLabelGroupForHandles,g=this.ariaLabelledByGroupForHandles,b=this.ariaValueTextFormatterGroupForHandles,y=d||f,O=n.map((function(t){return e.calcOffset(t)})),C="".concat(r,"-handle"),w=n.map((function(n,i){var d,f=h[i]||0;(a||null===h[i])&&(f=null);var p=t===i;return y({class:Qt((d={},s(d,C,!0),s(d,"".concat(C,"-").concat(i+1),!0),s(d,"".concat(C,"-dragging"),p),d)),prefixCls:r,vertical:o,dragging:p,offset:O[i],value:n,index:i,tabindex:f,min:u,max:c,reverse:l,disabled:a,style:v[i],ref:function(t){return e.saveHandle(i,t)},onFocus:e.onFocus,onBlur:e.onBlur,ariaLabel:m[i],ariaLabelledBy:g[i],ariaValueTextFormatter:b[i]})}));return{tracks:this.getTrack({bounds:n,prefixCls:r,reverse:l,vertical:o,included:i,offsets:O,trackStyle:p}),handles:w}}}}),TY=wY(jY),DY={adjustX:1,adjustY:1},EY=[0,0],kY={left:{points:["cr","cl"],overflow:DY,offset:[-4,0],targetOffset:EY},right:{points:["cl","cr"],overflow:DY,offset:[4,0],targetOffset:EY},top:{points:["bc","tc"],overflow:DY,offset:[0,-4],targetOffset:EY},bottom:{points:["tc","bc"],overflow:DY,offset:[0,4],targetOffset:EY},topLeft:{points:["bl","tl"],overflow:DY,offset:[0,-4],targetOffset:EY},leftTop:{points:["tr","tl"],overflow:DY,offset:[-4,0],targetOffset:EY},topRight:{points:["br","tr"],overflow:DY,offset:[0,-4],targetOffset:EY},rightTop:{points:["tl","tr"],overflow:DY,offset:[4,0],targetOffset:EY},bottomRight:{points:["tr","br"],overflow:DY,offset:[0,4],targetOffset:EY},rightBottom:{points:["bl","br"],overflow:DY,offset:[4,0],targetOffset:EY},bottomLeft:{points:["tl","bl"],overflow:DY,offset:[0,4],targetOffset:EY},leftBottom:{points:["br","bl"],overflow:DY,offset:[-4,0],targetOffset:EY}},LY={prefixCls:String,id:String,overlayInnerStyle:Et.any},YY=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"Content",props:LY,slots:["overlay"],setup:function(e,t){var n=t.slots;return function(){var t;return Object(i["createVNode"])("div",{class:"".concat(e.prefixCls,"-inner"),id:e.id,role:"tooltip",style:e.overlayInnerStyle},[null===(t=n.overlay)||void 0===t?void 0:t.call(n)])}}}),_Y=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible"];function AY(){}var PY=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"Tooltip",inheritAttrs:!1,props:{trigger:Et.any.def(["hover"]),defaultVisible:{type:Boolean,default:void 0},visible:{type:Boolean,default:void 0},placement:Et.string.def("right"),transitionName:String,animation:Et.any,afterVisibleChange:Et.func.def((function(){})),overlayStyle:{type:Object,default:void 0},overlayClassName:String,prefixCls:Et.string.def("rc-tooltip"),mouseEnterDelay:Et.number.def(.1),mouseLeaveDelay:Et.number.def(.1),getPopupContainer:Function,destroyTooltipOnHide:{type:Boolean,default:!1},align:Et.object.def((function(){return{}})),arrowContent:Et.any.def(null),tipId:String,builtinPlacements:Et.object,overlayInnerStyle:{type:Object,default:void 0},popupVisible:{type:Boolean,default:void 0},onVisibleChange:Function,onPopupAlign:Function},slots:["arrowContent","overlay"],setup:function(e,t){var n=t.slots,r=t.attrs,o=t.expose,a=Object(i["ref"])(),c=function(){var t=e.prefixCls,r=e.tipId,o=e.overlayInnerStyle;return[Object(i["createVNode"])("div",{class:"".concat(t,"-arrow"),key:"arrow"},[Rl(n,e,"arrowContent")]),Object(i["createVNode"])(YY,{key:"content",prefixCls:t,id:r,overlayInnerStyle:o},{overlay:n.overlay})]},l=function(){return a.value.getPopupDomNode()};o({getPopupDomNode:l,triggerDOM:a,forcePopupAlign:function(){var e;return null===(e=a.value)||void 0===e?void 0:e.forcePopupAlign()}});var s=Object(i["ref"])(!1),d=Object(i["ref"])(!1);return Object(i["watchEffect"])((function(){var t=e.destroyTooltipOnHide;if("boolean"===typeof t)s.value=t;else if(t&&"object"===u(t)){var n=t.keepParent;s.value=!0===n,d.value=!1===n}})),function(){var t=e.overlayClassName,o=e.trigger,u=e.mouseEnterDelay,l=e.mouseLeaveDelay,f=e.overlayStyle,p=e.prefixCls,v=e.afterVisibleChange,h=e.transitionName,m=e.animation,g=e.placement,b=e.align,y=(e.destroyTooltipOnHide,e.defaultVisible),O=Kc(e,_Y),C=Fe({},O);void 0!==e.visible&&(C.popupVisible=e.visible);var w=Fe(Fe(Fe({popupClassName:t,prefixCls:p,action:o,builtinPlacements:kY,popupPlacement:g,popupAlign:b,afterPopupVisibleChange:v,popupTransitionName:h,popupAnimation:m,defaultPopupVisible:y,destroyPopupOnHide:s.value,autoDestroy:d.value,mouseLeaveDelay:l,popupStyle:f,mouseEnterDelay:u},C),r),{},{onPopupVisibleChange:e.onVisibleChange||AY,onPopupAlign:e.onPopupAlign||AY,ref:a,popup:c()});return Object(i["createVNode"])(HN,w,{default:n.default})}}}),FY=PY,IY=function(){return{trigger:[String,Array],visible:{type:Boolean,default:void 0},defaultVisible:{type:Boolean,default:void 0},placement:String,color:String,transitionName:String,overlayStyle:{type:Object,default:void 0},overlayClassName:String,openClassName:String,prefixCls:String,mouseEnterDelay:Number,mouseLeaveDelay:Number,getPopupContainer:Function,arrowPointAtCenter:{type:Boolean,default:void 0},autoAdjustOverflow:{type:[Boolean,Object],default:void 0},destroyTooltipOnHide:{type:Boolean,default:void 0},align:{type:Object,default:void 0},builtinPlacements:{type:Object,default:void 0},children:Array,onVisibleChange:Function,"onUpdate:visible":Function}},BY={adjustX:1,adjustY:1},ZY={adjustX:0,adjustY:0},RY=[0,0];function HY(e){return"boolean"===typeof e?e?BY:ZY:Fe(Fe({},ZY),e)}function VY(e){var t=e.arrowWidth,n=void 0===t?4:t,r=e.horizontalArrowShift,o=void 0===r?16:r,i=e.verticalArrowShift,a=void 0===i?8:i,u=e.autoAdjustOverflow,c=e.arrowPointAtCenter,l={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(o+n),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(a+n)]},topRight:{points:["br","tc"],offset:[o+n,-4]},rightTop:{points:["tl","cr"],offset:[4,-(a+n)]},bottomRight:{points:["tr","bc"],offset:[o+n,4]},rightBottom:{points:["bl","cr"],offset:[4,a+n]},bottomLeft:{points:["tl","bc"],offset:[-(o+n),4]},leftBottom:{points:["br","cl"],offset:[-4,a+n]}};return Object.keys(l).forEach((function(e){l[e]=c?Fe(Fe({},l[e]),{},{overflow:HY(u),targetOffset:RY}):Fe(Fe({},kY[e]),{},{overflow:HY(u)}),l[e].ignoreShake=!0})),l}function XY(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=0,n=e.length;t<n;t++)if(void 0!==e[t])return e[t]}var JY=XY,zY=function(e,t){var n={},r=Fe({},e);return t.forEach((function(t){e&&t in e&&(n[t]=e[t],delete r[t])})),{picked:n,omitted:r}},QY=new RegExp("^(".concat(_T.join("|"),")(-inverse)?$")),WY=function(){return Fe(Fe({},IY()),{},{title:Et.any})},KY=function(){return{trigger:"hover",transitionName:"zoom-big-fast",align:{},placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0}},UY=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ATooltip",inheritAttrs:!1,props:Pb(WY(),{trigger:"hover",transitionName:"zoom-big-fast",align:{},placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0}),slots:["title"],setup:function(e,t){var n,r=t.slots,o=t.emit,a=t.attrs,c=t.expose,l=wv("tooltip",e),d=l.prefixCls,f=l.getPopupContainer,p=Object(i["ref"])(JY([e.visible,e.defaultVisible])),v=Object(i["ref"])();Object(i["onMounted"])((function(){tn(void 0===e.defaultVisible,"Tooltip","'defaultVisible' is deprecated, please use 'v-model:visible'")})),Object(i["watch"])((function(){return e.visible}),(function(e){eC.cancel(n),n=eC((function(){p.value=!!e}))}));var h=function(){var t,n=null!==(t=e.title)&&void 0!==t?t:r.title;return!n&&0!==n},m=function(t){var n=h();void 0===e.visible&&(p.value=!n&&t),n||(o("update:visible",t),o("visibleChange",t))},g=function(){return v.value.getPopupDomNode()};c({getPopupDomNode:g,visible:p,forcePopupAlign:function(){var e;return null===(e=v.value)||void 0===e?void 0:e.forcePopupAlign()}});var b=Object(i["computed"])((function(){var t=e.builtinPlacements,n=e.arrowPointAtCenter,r=e.autoAdjustOverflow;return t||VY({arrowPointAtCenter:n,autoAdjustOverflow:r})})),y=function(e){return e||""===e},O=function(e){var t=e.type;if("object"===u(t)&&e.props&&((!0===t.__ANT_BUTTON||"button"===t)&&y(e.props.disabled)||!0===t.__ANT_SWITCH&&(y(e.props.disabled)||y(e.props.loading)))){var n=zY(Fl(e),["position","left","right","top","bottom","float","display","zIndex"]),r=n.picked,o=n.omitted,a=Fe(Fe({display:"inline-block"},r),{},{cursor:"not-allowed",lineHeight:1,width:e.props&&e.props.block?"100%":null}),c=Fe(Fe({},o),{},{pointerEvents:"none"}),l=NO(e,{style:c},!0);return Object(i["createVNode"])("span",{style:a,class:"".concat(d.value,"-disabled-compatible-wrapper")},[l])}return e},C=function(){var t,n;return null!==(t=e.title)&&void 0!==t?t:null===(n=r.title)||void 0===n?void 0:n.call(r)},w=function(e,t){var n=b.value,r=Object.keys(n).filter((function(e){return n[e].points[0]===t.points[0]&&n[e].points[1]===t.points[1]}))[0];if(r){var o=e.getBoundingClientRect(),i={top:"50%",left:"50%"};r.indexOf("top")>=0||r.indexOf("Bottom")>=0?i.top="".concat(o.height-t.offset[1],"px"):(r.indexOf("Top")>=0||r.indexOf("bottom")>=0)&&(i.top="".concat(-t.offset[1],"px")),r.indexOf("left")>=0||r.indexOf("Right")>=0?i.left="".concat(o.width-t.offset[0],"px"):(r.indexOf("right")>=0||r.indexOf("Left")>=0)&&(i.left="".concat(-t.offset[0],"px")),e.style.transformOrigin="".concat(i.left," ").concat(i.top)}};return function(){var t,n,o,u=e.openClassName,c=e.color,l=e.overlayClassName,g=null!==(t=Bl(null===(n=r.default)||void 0===n?void 0:n.call(r)))&&void 0!==t?t:null;g=1===g.length?g[0]:g;var y=p.value;if(void 0===e.visible&&h()&&(y=!1),!g)return null;var S,N,M=O(Zl(g)?g:Object(i["createVNode"])("span",null,[g])),x=Qt((o={},s(o,u||"".concat(d.value,"-open"),!0),s(o,M.props&&M.props.class,M.props&&M.props.class),o)),j=Qt(l,s({},"".concat(d.value,"-").concat(c),c&&QY.test(c)));c&&!QY.test(c)&&(S={backgroundColor:c},N={backgroundColor:c});var T=Fe(Fe(Fe({},a),e),{},{prefixCls:d.value,getPopupContainer:f.value,builtinPlacements:b.value,visible:y,ref:v,overlayClassName:j,overlayInnerStyle:S,onVisibleChange:m,onPopupAlign:w});return Object(i["createVNode"])(FY,T,{default:function(){return[p.value?NO(M,{class:x}):M]},arrowContent:function(){return Object(i["createVNode"])("span",{class:"".concat(d.value,"-arrow-content"),style:N},null)},overlay:C})}}}),GY=Bc(UY),$Y=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"SliderTooltip",inheritAttrs:!1,props:WY(),setup:function(e,t){var n=t.attrs,r=t.slots,o=Object(i["ref"])(null),a=Object(i["ref"])(null);function u(){eC.cancel(a.value),a.value=null}function c(){a.value=eC((function(){var e;null===(e=o.value)||void 0===e||e.forcePopupAlign(),a.value=null}))}var l=function(){u(),e.visible&&c()};return Object(i["watch"])([function(){return e.visible},function(){return e.title}],(function(){l()}),{flush:"post",immediate:!0}),Object(i["onActivated"])((function(){l()})),Object(i["onBeforeUnmount"])((function(){u()})),function(){return Object(i["createVNode"])(GY,Fe(Fe({ref:o},e),n),r)}}}),qY=["value","dragging","index"],e_=["tooltipPrefixCls","range","id"],t_=function(e){return"number"===typeof e?e.toString():""},n_=function(){return{id:String,prefixCls:String,tooltipPrefixCls:String,range:{type:[Boolean,Object],default:void 0},reverse:{type:Boolean,default:void 0},min:Number,max:Number,step:{type:[Number,Object]},marks:{type:Object},dots:{type:Boolean,default:void 0},value:{type:[Number,Array]},defaultValue:{type:[Number,Array]},included:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},vertical:{type:Boolean,default:void 0},tipFormatter:{type:[Function,Object],default:function(){return t_}},tooltipVisible:{type:Boolean,default:void 0},tooltipPlacement:{type:String},getTooltipPopupContainer:{type:Function},autofocus:{type:Boolean,default:void 0},handleStyle:{type:[Object,Array]},trackStyle:{type:[Object,Array]},onChange:{type:Function},onAfterChange:{type:Function},onFocus:{type:Function},onBlur:{type:Function},"onUpdate:value":{type:Function}}},r_=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ASlider",inheritAttrs:!1,props:n_(),slots:["mark"],setup:function(e,t){var n=t.attrs,r=t.slots,o=t.emit,a=t.expose,c=wv("slider",e),l=c.prefixCls,d=c.rootPrefixCls,f=c.direction,p=c.getPopupContainer,v=c.configProvider,h=vb(),m=Object(i["ref"])(),g=Object(i["ref"])({}),b=function(e,t){g.value[e]=t},y=Object(i["computed"])((function(){return e.tooltipPlacement?e.tooltipPlacement:e.vertical?"rtl"===f.value?"left":"right":"top"})),O=function(){var e;null===(e=m.value)||void 0===e||e.focus()},C=function(){var e;null===(e=m.value)||void 0===e||e.blur()},w=function(e){o("update:value",e),o("change",e),h.onFieldChange()},S=function(e){o("blur",e)};a({focus:O,blur:C});var N=function(t){var n=t.tooltipPrefixCls,r=t.info,o=r.value,a=r.dragging,u=r.index,c=Kc(r,qY),s=e.tipFormatter,f=e.tooltipVisible,v=e.getTooltipPopupContainer,h=!!s&&(g.value[u]||a),m=f||void 0===f&&h;return Object(i["createVNode"])($Y,{prefixCls:n,title:s?s(o):"",visible:m,placement:y.value,transitionName:"".concat(d.value,"-zoom-down"),key:u,overlayClassName:"".concat(l.value,"-tooltip"),getPopupContainer:v||p.value},{default:function(){return[Object(i["createVNode"])(aY,Fe(Fe({},c),{},{value:o,onMouseenter:function(){return b(u,!0)},onMouseleave:function(){return b(u,!1)}}),null)]}})};return function(){var t,o=e.tooltipPrefixCls,a=e.range,c=e.id,d=void 0===c?h.id.value:c,p=Kc(e,e_),g=v.getPrefixCls("tooltip",o),b=Qt(n.class,s({},"".concat(l.value,"-rtl"),"rtl"===f.value));return"rtl"!==f.value||p.vertical||(p.reverse=!p.reverse),"object"===u(a)&&(t=a.draggableTrack),a?Object(i["createVNode"])(TY,Fe(Fe({},p),{},{step:p.step,draggableTrack:t,class:b,ref:m,handle:function(e){return N({tooltipPrefixCls:g,prefixCls:l.value,info:e})},prefixCls:l.value,onChange:w,onBlur:S}),{mark:r.mark}):Object(i["createVNode"])(NY,Fe(Fe({},p),{},{id:d,step:p.step,class:b,ref:m,handle:function(e){return N({tooltipPrefixCls:g,prefixCls:l.value,info:e})},prefixCls:l.value,onChange:w,onBlur:S}),{mark:r.mark})}}}),o_=Bc(r_),i_="__RC_CASCADER_SPLIT__",a_="SHOW_PARENT",u_="SHOW_CHILD";function c_(e){return e.join(i_)}function l_(e){return e.map(c_)}function s_(e){return e.split(i_)}function d_(e){var t=e||{},n=t.label,r=t.value,o=t.children,i=r||"value";return{label:n||"label",value:i,key:i,children:o||"children"}}function f_(e,t){var n,r;return null!==(n=e.isLeaf)&&void 0!==n?n:!(null!==(r=e[t.children])&&void 0!==r&&r.length)}function p_(e){var t=e.parentElement;if(t){var n=e.offsetTop-t.offsetTop;n-t.scrollTop<0?t.scrollTo({top:n}):n+e.offsetHeight-t.scrollTop>t.offsetHeight&&t.scrollTo({top:n+e.offsetHeight-t.offsetHeight})}}var v_=Symbol("TreeContextKey"),h_=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"TreeContext",props:{value:{type:Object}},setup:function(e,t){var n=t.slots;return Object(i["provide"])(v_,Object(i["computed"])((function(){return e.value}))),function(){var e;return null===(e=n.default)||void 0===e?void 0:e.call(n)}}}),m_=function(){return Object(i["inject"])(v_,Object(i["computed"])((function(){return{}})))},g_=Symbol("KeysStateKey"),b_=function(e){Object(i["provide"])(g_,e)},y_=function(){return Object(i["inject"])(g_,{expandedKeys:Object(i["shallowRef"])([]),selectedKeys:Object(i["shallowRef"])([]),loadedKeys:Object(i["shallowRef"])([]),loadingKeys:Object(i["shallowRef"])([]),checkedKeys:Object(i["shallowRef"])([]),halfCheckedKeys:Object(i["shallowRef"])([]),expandedKeysSet:Object(i["computed"])((function(){return new Set})),selectedKeysSet:Object(i["computed"])((function(){return new Set})),loadedKeysSet:Object(i["computed"])((function(){return new Set})),loadingKeysSet:Object(i["computed"])((function(){return new Set})),checkedKeysSet:Object(i["computed"])((function(){return new Set})),halfCheckedKeysSet:Object(i["computed"])((function(){return new Set})),flattenNodes:Object(i["shallowRef"])([])})},O_=function(e){for(var t=e.prefixCls,n=e.level,r=e.isStart,o=e.isEnd,a="".concat(t,"-indent-unit"),u=[],c=0;c<n;c+=1){var l;u.push(Object(i["createVNode"])("span",{key:c,class:(l={},s(l,a,!0),s(l,"".concat(a,"-start"),r[c]),s(l,"".concat(a,"-end"),o[c]),l)},null))}return Object(i["createVNode"])("span",{"aria-hidden":"true",class:"".concat(t,"-indent")},[u])},C_=O_,w_={eventKey:[String,Number],prefixCls:String,title:Et.any,data:{type:Object,default:void 0},parent:{type:Object,default:void 0},isStart:{type:Array},isEnd:{type:Array},active:{type:Boolean,default:void 0},onMousemove:{type:Function},isLeaf:{type:Boolean,default:void 0},checkable:{type:Boolean,default:void 0},selectable:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},disableCheckbox:{type:Boolean,default:void 0},icon:Et.any,switcherIcon:Et.any,domRef:{type:Function}},S_={prefixCls:{type:String},motion:{type:Object},focusable:{type:Boolean},activeItem:{type:Object},focused:{type:Boolean},tabindex:{type:Number},checkable:{type:Boolean},selectable:{type:Boolean},disabled:{type:Boolean},height:{type:Number},itemHeight:{type:Number},virtual:{type:Boolean},onScroll:{type:Function},onKeydown:{type:Function},onFocus:{type:Function},onBlur:{type:Function},onActiveChange:{type:Function},onContextmenu:{type:Function},onListChangeStart:{type:Function},onListChangeEnd:{type:Function}},N_=function(){return{prefixCls:String,focusable:{type:Boolean,default:void 0},activeKey:[Number,String],tabindex:Number,children:Et.any,treeData:{type:Array},fieldNames:{type:Object},showLine:{type:[Boolean,Object],default:void 0},showIcon:{type:Boolean,default:void 0},icon:Et.any,selectable:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},multiple:{type:Boolean,default:void 0},checkable:{type:Boolean,default:void 0},checkStrictly:{type:Boolean,default:void 0},draggable:{type:[Function,Boolean]},defaultExpandParent:{type:Boolean,default:void 0},autoExpandParent:{type:Boolean,default:void 0},defaultExpandAll:{type:Boolean,default:void 0},defaultExpandedKeys:{type:Array},expandedKeys:{type:Array},defaultCheckedKeys:{type:Array},checkedKeys:{type:[Object,Array]},defaultSelectedKeys:{type:Array},selectedKeys:{type:Array},allowDrop:{type:Function},dropIndicatorRender:{type:Function},onFocus:{type:Function},onBlur:{type:Function},onKeydown:{type:Function},onContextmenu:{type:Function},onClick:{type:Function},onDblclick:{type:Function},onScroll:{type:Function},onExpand:{type:Function},onCheck:{type:Function},onSelect:{type:Function},onLoad:{type:Function},loadData:{type:Function},loadedKeys:{type:Array},onMouseenter:{type:Function},onMouseleave:{type:Function},onRightClick:{type:Function},onDragstart:{type:Function},onDragenter:{type:Function},onDragover:{type:Function},onDragleave:{type:Function},onDragend:{type:Function},onDrop:{type:Function},onActiveChange:{type:Function},filterTreeNode:{type:Function},motion:Et.any,switcherIcon:Et.any,height:Number,itemHeight:Number,virtual:{type:Boolean,default:void 0},direction:{type:String}}};function M_(e){var t=Object(i["shallowRef"])();return Object(i["watchEffect"])((function(){t.value=e()}),{flush:"sync"}),t}var x_=["eventKey","isLeaf","isStart","isEnd","domRef","active","data","onMousemove","selectable"],j_="open",T_="close",D_="---",E_=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ATreeNode",inheritAttrs:!1,props:w_,isTreeNode:1,slots:["title","icon","switcherIcon"],setup:function(e,t){var n=t.attrs,r=t.slots,o=t.expose;Kt(!("slots"in e.data),"treeData slots is deprecated, please use ".concat(Object.keys(e.data.slots||{}).map((function(e){return"`v-slot:"+e+"` "})),"instead"));var a=Object(i["ref"])(!1),u=m_(),c=y_(),l=c.expandedKeysSet,d=c.selectedKeysSet,f=c.loadedKeysSet,p=c.loadingKeysSet,v=c.checkedKeysSet,h=c.halfCheckedKeysSet,m=u.value,g=m.dragOverNodeKey,b=m.dropPosition,y=m.keyEntities,O=Object(i["computed"])((function(){return U_(e.eventKey,{expandedKeysSet:l.value,selectedKeysSet:d.value,loadedKeysSet:f.value,loadingKeysSet:p.value,checkedKeysSet:v.value,halfCheckedKeysSet:h.value,dragOverNodeKey:g,dropPosition:b,keyEntities:y})})),C=M_((function(){return O.value.expanded})),w=M_((function(){return O.value.selected})),S=M_((function(){return O.value.checked})),N=M_((function(){return O.value.loaded})),M=M_((function(){return O.value.loading})),x=M_((function(){return O.value.halfChecked})),j=M_((function(){return O.value.dragOver})),T=M_((function(){return O.value.dragOverGapTop})),D=M_((function(){return O.value.dragOverGapBottom})),E=M_((function(){return O.value.pos})),k=Object(i["ref"])(),L=Object(i["computed"])((function(){var t=e.eventKey,n=u.value.keyEntities,r=n[t]||{},o=r.children;return!!(o||[]).length})),Y=Object(i["computed"])((function(){var t=e.isLeaf,n=u.value.loadData,r=L.value;return!1!==t&&(t||!n&&!r||n&&N.value&&!r)})),_=Object(i["computed"])((function(){return Y.value?null:C.value?j_:T_})),A=Object(i["computed"])((function(){var t=e.disabled,n=u.value.disabled;return!(!n&&!t)})),P=Object(i["computed"])((function(){var t=e.checkable,n=u.value.checkable;return!(!n||!1===t)&&n})),F=Object(i["computed"])((function(){var t=e.selectable,n=u.value.selectable;return"boolean"===typeof t?t:n})),I=Object(i["computed"])((function(){var t=e.data,n=e.active,r=e.checkable,o=e.disableCheckbox,i=e.disabled,a=e.selectable;return Fe(Fe({active:n,checkable:r,disableCheckbox:o,disabled:i,selectable:a},t),{},{dataRef:t,data:t,isLeaf:Y.value,checked:S.value,expanded:C.value,loading:M.value,selected:w.value,halfChecked:x.value})})),B=Object(i["getCurrentInstance"])(),Z=Object(i["computed"])((function(){var t=e.eventKey,n=u.value.keyEntities,r=n[t]||{},o=r.parent;return Fe(Fe({},G_(Qc({},e,O.value))),{},{parent:o})})),R=Object(i["reactive"])({eventData:Z,eventKey:Object(i["computed"])((function(){return e.eventKey})),selectHandle:k,pos:E,key:B.vnode.key});o(R);var H=function(e){var t=u.value.onNodeDoubleClick;t(e,Z.value)},V=function(e){if(!A.value){var t=u.value.onNodeSelect;e.preventDefault(),t(e,Z.value)}},X=function(t){if(!A.value){var n=e.disableCheckbox,r=u.value.onNodeCheck;if(P.value&&!n){t.preventDefault();var o=!S.value;r(t,Z.value,o)}}},J=function(e){var t=u.value.onNodeClick;t(e,Z.value),F.value?V(e):X(e)},z=function(e){var t=u.value.onNodeMouseEnter;t(e,Z.value)},Q=function(e){var t=u.value.onNodeMouseLeave;t(e,Z.value)},W=function(e){var t=u.value.onNodeContextMenu;t(e,Z.value)},K=function(e){var t=u.value.onNodeDragStart;e.stopPropagation(),a.value=!0,t(e,R);try{e.dataTransfer.setData("text/plain","")}catch(n){}},U=function(e){var t=u.value.onNodeDragEnter;e.preventDefault(),e.stopPropagation(),t(e,R)},G=function(e){var t=u.value.onNodeDragOver;e.preventDefault(),e.stopPropagation(),t(e,R)},$=function(e){var t=u.value.onNodeDragLeave;e.stopPropagation(),t(e,R)},q=function(e){var t=u.value.onNodeDragEnd;e.stopPropagation(),a.value=!1,t(e,R)},ee=function(e){var t=u.value.onNodeDrop;e.preventDefault(),e.stopPropagation(),a.value=!1,t(e,R)},te=function(e){var t=u.value.onNodeExpand;M.value||t(e,Z.value)},ne=function(){var t=e.data,n=u.value.draggable;return!(!n||n.nodeDraggable&&!n.nodeDraggable(t))},re=function(){var e=u.value,t=e.draggable,n=e.prefixCls;return t&&null!==t&&void 0!==t&&t.icon?Object(i["createVNode"])("span",{class:"".concat(n,"-draggable-icon")},[t.icon]):null},oe=function(){var t,n,o,i=e.switcherIcon,a=void 0===i?r.switcherIcon||(null===(t=u.value.slots)||void 0===t?void 0:t[null===(n=e.data)||void 0===n||null===(o=n.slots)||void 0===o?void 0:o.switcherIcon]):i,c=u.value.switcherIcon,l=a||c;return"function"===typeof l?l(I.value):l},ie=function(){var e=u.value,t=e.loadData,n=e.onNodeLoad;M.value||t&&C.value&&!Y.value&&(L.value||N.value||n(Z.value))};Object(i["onMounted"])((function(){ie()})),Object(i["onUpdated"])((function(){ie()}));var ae=function(){var e=u.value.prefixCls,t=oe();if(Y.value)return!1!==t?Object(i["createVNode"])("span",{class:Qt("".concat(e,"-switcher"),"".concat(e,"-switcher-noop"))},[t]):null;var n=Qt("".concat(e,"-switcher"),"".concat(e,"-switcher_").concat(C.value?j_:T_));return!1!==t?Object(i["createVNode"])("span",{onClick:te,class:n},[t]):null},ue=function(){var t,n,r=e.disableCheckbox,o=u.value.prefixCls,a=A.value,c=P.value;return c?Object(i["createVNode"])("span",{class:Qt("".concat(o,"-checkbox"),S.value&&"".concat(o,"-checkbox-checked"),!S.value&&x.value&&"".concat(o,"-checkbox-indeterminate"),(a||r)&&"".concat(o,"-checkbox-disabled")),onClick:X},[null===(t=(n=u.value).customCheckable)||void 0===t?void 0:t.call(n)]):null},ce=function(){var e=u.value.prefixCls;return Object(i["createVNode"])("span",{class:Qt("".concat(e,"-iconEle"),"".concat(e,"-icon__").concat(_.value||"docu"),M.value&&"".concat(e,"-icon_loading"))},null)},le=function(){var t=e.disabled,n=e.eventKey,r=u.value,o=r.draggable,i=r.dropLevelOffset,a=r.dropPosition,c=r.prefixCls,l=r.indent,s=r.dropIndicatorRender,d=r.dragOverNodeKey,f=r.direction,p=!1!==o,v=!t&&p&&d===n;return v?s({dropPosition:a,dropLevelOffset:i,indent:l,prefixCls:c,direction:f}):null},se=function(){var t,n,o,c,l,s,d=e.icon,f=void 0===d?r.icon:d,p=e.data,v=r.title||(null===(t=u.value.slots)||void 0===t?void 0:t[null===(n=e.data)||void 0===n||null===(o=n.slots)||void 0===o?void 0:o.title])||(null===(c=u.value.slots)||void 0===c?void 0:c.title)||e.title,h=u.value,m=h.prefixCls,g=h.showIcon,b=h.icon,y=h.loadData,O=A.value,C="".concat(m,"-node-content-wrapper");if(g){var S,N,x=f||(null===(S=u.value.slots)||void 0===S?void 0:S[null===p||void 0===p||null===(N=p.slots)||void 0===N?void 0:N.icon])||b;l=x?Object(i["createVNode"])("span",{class:Qt("".concat(m,"-iconEle"),"".concat(m,"-icon__customize"))},["function"===typeof x?x(I.value):x]):ce()}else y&&M.value&&(l=ce());s="function"===typeof v?v(I.value):v,s=void 0===s?D_:s;var j=Object(i["createVNode"])("span",{class:"".concat(m,"-title")},[s]);return Object(i["createVNode"])("span",{ref:k,title:"string"===typeof v?v:"",class:Qt("".concat(C),"".concat(C,"-").concat(_.value||"normal"),!O&&(w.value||a.value)&&"".concat(m,"-node-selected")),onMouseenter:z,onMouseleave:Q,onContextmenu:W,onClick:J,onDblclick:H},[l,j,le()])};return function(){var t,r=Fe(Fe({},e),n),o=r.eventKey,a=r.isLeaf,c=r.isStart,l=r.isEnd,d=r.domRef,f=r.active,p=(r.data,r.onMousemove),v=r.selectable,h=Kc(r,x_),m=u.value,g=m.prefixCls,b=m.filterTreeNode,y=m.keyEntities,O=m.dropContainerKey,N=m.dropTargetKey,E=m.draggingNodeKey,k=A.value,L=aM(h,{aria:!0,data:!0}),Y=y[o]||{},_=Y.level,P=l[l.length-1],F=ne(),I=!k&&F,B=E===o,R=void 0!==v?{"aria-selected":!!v}:void 0;return Object(i["createVNode"])("div",Fe(Fe({ref:d,class:Qt(n.class,"".concat(g,"-treenode"),(t={},s(t,"".concat(g,"-treenode-disabled"),k),s(t,"".concat(g,"-treenode-switcher-").concat(C.value?"open":"close"),!a),s(t,"".concat(g,"-treenode-checkbox-checked"),S.value),s(t,"".concat(g,"-treenode-checkbox-indeterminate"),x.value),s(t,"".concat(g,"-treenode-selected"),w.value),s(t,"".concat(g,"-treenode-loading"),M.value),s(t,"".concat(g,"-treenode-active"),f),s(t,"".concat(g,"-treenode-leaf-last"),P),s(t,"".concat(g,"-treenode-draggable"),I),s(t,"dragging",B),s(t,"drop-target",N===o),s(t,"drop-container",O===o),s(t,"drag-over",!k&&j.value),s(t,"drag-over-gap-top",!k&&T.value),s(t,"drag-over-gap-bottom",!k&&D.value),s(t,"filter-node",b&&b(Z.value)),t)),style:n.style,draggable:I,"aria-grabbed":B,onDragstart:I?K:void 0,onDragenter:F?U:void 0,onDragover:F?G:void 0,onDragleave:F?$:void 0,onDrop:F?ee:void 0,onDragend:F?q:void 0,onMousemove:p},R),L),[Object(i["createVNode"])(C_,{prefixCls:g,level:_,isStart:c,isEnd:l},null),re(),ae(),ue(),se()])}}});function k_(e,t){if(!e)return[];var n=e.slice(),r=n.indexOf(t);return r>=0&&n.splice(r,1),n}function L_(e,t){var n=(e||[]).slice();return-1===n.indexOf(t)&&n.push(t),n}function Y_(e){return e.split("-")}function __(e,t){return"".concat(e,"-").concat(t)}function A_(e){return e&&e.type&&e.type.isTreeNode}function P_(e,t){var n=[],r=t[e];function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.forEach((function(e){var t=e.key,r=e.children;n.push(t),o(r)}))}return o(r.children),n}function F_(e){if(e.parent){var t=Y_(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function I_(e){var t=Y_(e.pos);return 0===Number(t[t.length-1])}function B_(e,t,n,r,o,i,a,u,c,l){var s,d=e.clientX,f=e.clientY,p=e.target.getBoundingClientRect(),v=p.top,h=p.height,m=("rtl"===l?-1:1)*(((null===o||void 0===o?void 0:o.x)||0)-d),g=(m-12)/r,b=u[n.eventKey];if(f<v+h/2){var y=a.findIndex((function(e){return e.key===b.key})),O=y<=0?0:y-1,C=a[O].key;b=u[C]}var w=b.key,S=b,N=b.key,M=0,x=0;if(!c.has(w))for(var j=0;j<g;j+=1){if(!F_(b))break;b=b.parent,x+=1}var T=t.eventData,D=b.node,E=!0;return I_(b)&&0===b.level&&f<v+h/2&&i({dragNode:T,dropNode:D,dropPosition:-1})&&b.key===n.eventKey?M=-1:(S.children||[]).length&&c.has(N)?i({dragNode:T,dropNode:D,dropPosition:0})?M=0:E=!1:0===x?g>-1.5?i({dragNode:T,dropNode:D,dropPosition:1})?M=1:E=!1:i({dragNode:T,dropNode:D,dropPosition:0})?M=0:i({dragNode:T,dropNode:D,dropPosition:1})?M=1:E=!1:i({dragNode:T,dropNode:D,dropPosition:1})?M=1:E=!1,{dropPosition:M,dropLevelOffset:x,dropTargetKey:b.key,dropTargetPos:b.pos,dragOverNodeKey:N,dropContainerKey:0===M?null:(null===(s=b.parent)||void 0===s?void 0:s.key)||null,dropAllowed:E}}function Z_(e,t){if(e){var n=t.multiple;return n?e.slice():e.length?[e[0]]:e}}function R_(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==u(e))return Kt(!1,"`checkedKeys` is not an array or an object"),null;t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return t}function H_(e,t){var n=new Set;function r(e){if(!n.has(e)){var o=t[e];if(o){n.add(e);var i=o.parent,a=o.node;a.disabled||i&&r(i.key)}}}return(e||[]).forEach((function(e){r(e)})),Ae(n)}var V_=["title","icon","switcherIcon"];function X_(e,t){return null!==e&&void 0!==e?e:t}function J_(e){var t=e||{},n=t.title,r=t._title,o=t.key,i=t.children,a=n||"title";return{title:a,_title:r||[a],key:o||"key",children:i||"children"}}function z_(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=Bl(e);return n.map((function(e){var n,r,o,a;if(!A_(e))return Kt(!e,"Tree/TreeNode can only accept TreeNode as children."),null;for(var u=e.children||{},c=e.key,l={},s=0,d=Object.entries(e.props);s<d.length;s++){var f=gl(d[s],2),p=f[0],v=f[1];l[Object(i["camelize"])(p)]=v}var h=l.isLeaf,m=l.checkable,g=l.selectable,b=l.disabled,y=l.disableCheckbox,O={isLeaf:h||""===h||void 0,checkable:m||""===m||void 0,selectable:g||""===g||void 0,disabled:b||""===b||void 0,disableCheckbox:y||""===y||void 0},C=Fe(Fe({},l),O),w=l.title,S=void 0===w?null===(n=u.title)||void 0===n?void 0:n.call(u,C):w,N=l.icon,M=void 0===N?null===(r=u.icon)||void 0===r?void 0:r.call(u,C):N,x=l.switcherIcon,j=void 0===x?null===(o=u.switcherIcon)||void 0===o?void 0:o.call(u,C):x,T=Kc(l,V_),D=null===(a=u.default)||void 0===a?void 0:a.call(u),E=Fe(Fe({},T),{},{title:S,icon:M,switcherIcon:j,key:c,isLeaf:h},O),k=t(D);return k.length&&(E.children=k),E}))}return t(e)}function Q_(e,t,n){var r=J_(n),o=r._title,i=r.key,a=r.children,u=new Set(!0===t?[]:t),c=[];function l(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.map((function(r,s){for(var d,f=__(n?n.pos:"0",s),p=X_(r[i],f),v=0;v<o.length;v+=1){var h=o[v];if(void 0!==r[h]){d=r[h];break}}var m=Fe(Fe({},mO(r,[].concat(Ae(o),[i,a]))),{},{title:d,key:p,parent:n,pos:f,children:null,data:r,isStart:[].concat(Ae(n?n.isStart:[]),[0===s]),isEnd:[].concat(Ae(n?n.isEnd:[]),[s===e.length-1])});return c.push(m),!0===t||u.has(p)?m.children=l(r[a]||[],m):m.children=[],m}))}return l(e),c}function W_(e,t,n){var r={};r="object"===u(n)?n:{externalGetKey:n},r=r||{};var o,i=r,a=i.childrenPropName,c=i.externalGetKey,l=i.fieldNames,s=J_(l),d=s.key,f=s.children,p=a||f;function v(n,r,i,a){var u=n?n[p]:e,c=n?__(i.pos,r):"0",l=n?[].concat(Ae(a),[n]):[];if(n){var s=o(n,c),d={node:n,index:r,pos:c,key:s,parentPos:i.node?i.pos:null,level:i.level+1,nodes:l};t(d)}u&&u.forEach((function(e,t){v(e,t,{node:n,pos:c,level:i?i.level+1:-1},l)}))}c?"string"===typeof c?o=function(e){return e[c]}:"function"===typeof c&&(o=function(e){return c(e)}):o=function(e,t){return X_(e[d],t)},v(null)}function K_(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.initWrapper,r=t.processEntity,o=t.onProcessFinished,i=t.externalGetKey,a=t.childrenPropName,u=t.fieldNames,c=arguments.length>2?arguments[2]:void 0,l=i||c,s={},d={},f={posEntities:s,keyEntities:d};return n&&(f=n(f)||f),W_(e,(function(e){var t=e.node,n=e.index,o=e.pos,i=e.key,a=e.parentPos,u=e.level,c=e.nodes,l={node:t,nodes:c,index:n,key:i,pos:o,level:u},p=X_(i,o);s[o]=l,d[p]=l,l.parent=s[a],l.parent&&(l.parent.children=l.parent.children||[],l.parent.children.push(l)),r&&r(l,f)}),{externalGetKey:l,childrenPropName:a,fieldNames:u}),o&&o(f),f}function U_(e,t){var n=t.expandedKeysSet,r=t.selectedKeysSet,o=t.loadedKeysSet,i=t.loadingKeysSet,a=t.checkedKeysSet,u=t.halfCheckedKeysSet,c=t.dragOverNodeKey,l=t.dropPosition,s=t.keyEntities,d=s[e],f={eventKey:e,expanded:n.has(e),selected:r.has(e),loaded:o.has(e),loading:i.has(e),checked:a.has(e),halfChecked:u.has(e),pos:String(d?d.pos:""),parent:d.parent,dragOver:c===e&&0===l,dragOverGapTop:c===e&&-1===l,dragOverGapBottom:c===e&&1===l};return f}function G_(e){var t=e.data,n=e.expanded,r=e.selected,o=e.checked,i=e.loaded,a=e.loading,u=e.halfChecked,c=e.dragOver,l=e.dragOverGapTop,s=e.dragOverGapBottom,d=e.pos,f=e.active,p=e.eventKey,v=Fe(Fe({dataRef:t},t),{},{expanded:n,selected:r,checked:o,loaded:i,loading:a,halfChecked:u,dragOver:c,dragOverGapTop:l,dragOverGapBottom:s,pos:d,active:f,eventKey:p,key:p});return"props"in v||Object.defineProperty(v,"props",{get:function(){return Kt(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),v}var $_=function(e,t){var n=Object(i["computed"])((function(){return K_(e.value,{fieldNames:t.value,initWrapper:function(e){return Fe(Fe({},e),{},{pathKeyEntities:{}})},processEntity:function(e,n){var r=e.nodes.map((function(e){return e[t.value.value]})).join(i_);n.pathKeyEntities[r]=e,e.key=r}}).pathKeyEntities}));return n};function q_(e){var t=Object(i["ref"])(!1),n=Object(i["ref"])({});return Object(i["watchEffect"])((function(){if(!e.value)return t.value=!1,void(n.value={});var r={matchInputWidth:!0,limit:50};e.value&&"object"===u(e.value)&&(r=Fe(Fe({},r),e.value)),r.limit<=0&&delete r.limit,t.value=!0,n.value=r})),{showSearch:t,searchConfig:n}}var eA="__rc_cascader_search_mark__",tA=function(e,t,n){var r=n.label;return t.some((function(t){return String(t[r]).toLowerCase().includes(e.toLowerCase())}))},nA=function(e){var t=e.path,n=e.fieldNames;return t.map((function(e){return e[n.label]})).join(" / ")},rA=function(e,t,n,r,o,a){return Object(i["computed"])((function(){var i=o.value,u=i.filter,c=void 0===u?tA:u,l=i.render,d=void 0===l?nA:l,f=i.limit,p=void 0===f?50:f,v=i.sort,h=[];if(!e.value)return[];function m(t,o){t.forEach((function(t){if(!(!v&&p>0&&h.length>=p)){var i,u=[].concat(Ae(o),[t]),l=t[n.value.children];if(!l||0===l.length||a.value)if(c(e.value,u,{label:n.value.label}))h.push(Fe(Fe({},t),{},(i={},s(i,n.value.label,d({inputValue:e.value,path:u,prefixCls:r.value,fieldNames:n.value})),s(i,eA,u),i)));l&&m(t[n.value.children],u)}}))}return m(t.value,[]),v&&h.sort((function(t,r){return v(t[eA],r[eA],e.value,n.value)})),p>0?h.slice(0,p):h}))};function oA(e,t,n){var r=new Set(e);return e.filter((function(e){var o=t[e],i=o?o.parent:null,a=o?o.children:null;return n===u_?!(a&&a.some((function(e){return e.key&&r.has(e.key)}))):!(i&&!i.node.disabled&&r.has(i.key))}))}function iA(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=t,i=[],a=function(){var t,a,c,l=e[u],s=null===(t=o)||void 0===t?void 0:t.findIndex((function(e){var t=e[n.value];return r?String(t)===String(l):t===l})),d=-1!==s?null===(a=o)||void 0===a?void 0:a[s]:null;i.push({value:null!==(c=null===d||void 0===d?void 0:d[n.value])&&void 0!==c?c:l,index:s,option:d}),o=null===d||void 0===d?void 0:d[n.children]},u=0;u<e.length;u+=1)a();return i}var aA=function(e,t,n){return Object(i["computed"])((function(){var r=[],o=[];return n.value.forEach((function(n){var i=iA(n,e.value,t.value);i.every((function(e){return e.option}))?o.push(n):r.push(n)})),[o,r]}))};function uA(e,t){var n=new Set;return e.forEach((function(e){t.has(e)||n.add(e)})),n}function cA(e){var t=e||{},n=t.disabled,r=t.disableCheckbox,o=t.checkable;return!(!n&&!r)||!1===o}function lA(e,t,n,r){for(var o=new Set(e),i=new Set,a=0;a<=n;a+=1){var u=t.get(a)||new Set;u.forEach((function(e){var t=e.key,n=e.node,i=e.children,a=void 0===i?[]:i;o.has(t)&&!r(n)&&a.filter((function(e){return!r(e.node)})).forEach((function(e){o.add(e.key)}))}))}for(var c=new Set,l=n;l>=0;l-=1){var s=t.get(l)||new Set;s.forEach((function(e){var t=e.parent,n=e.node;if(!r(n)&&e.parent&&!c.has(e.parent.key))if(r(e.parent.node))c.add(t.key);else{var a=!0,u=!1;(t.children||[]).filter((function(e){return!r(e.node)})).forEach((function(e){var t=e.key,n=o.has(t);a&&!n&&(a=!1),u||!n&&!i.has(t)||(u=!0)})),a&&o.add(t.key),u&&i.add(t.key),c.add(t.key)}}))}return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(uA(i,o))}}function sA(e,t,n,r,o){for(var i=new Set(e),a=new Set(t),u=0;u<=r;u+=1){var c=n.get(u)||new Set;c.forEach((function(e){var t=e.key,n=e.node,r=e.children,u=void 0===r?[]:r;i.has(t)||a.has(t)||o(n)||u.filter((function(e){return!o(e.node)})).forEach((function(e){i.delete(e.key)}))}))}a=new Set;for(var l=new Set,s=r;s>=0;s-=1){var d=n.get(s)||new Set;d.forEach((function(e){var t=e.parent,n=e.node;if(!o(n)&&e.parent&&!l.has(e.parent.key))if(o(e.parent.node))l.add(t.key);else{var r=!0,u=!1;(t.children||[]).filter((function(e){return!o(e.node)})).forEach((function(e){var t=e.key,n=i.has(t);r&&!n&&(r=!1),u||!n&&!a.has(t)||(u=!0)})),r||i.delete(t.key),u&&a.add(t.key),l.add(t.key)}}))}return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(uA(a,i))}}function dA(e,t,n,r,o,i){var a,u=[];a=i||cA;var c,l=new Set(e.filter((function(e){var t=!!n[e];return t||u.push(e),t})));return Ut(!u.length,"Tree missing follow keys: ".concat(u.slice(0,100).map((function(e){return"'".concat(e,"'")})).join(", "))),c=!0===t?lA(l,o,r,a):sA(l,t.halfCheckedKeys,o,r,a),c}var fA=function(e,t,n,r,o){return Object(i["computed"])((function(){var i=o.value||function(e){var t=e.labels,n=r.value?t.slice(-1):t,o=" / ";return n.every((function(e){return["string","number"].includes(u(e))}))?n.join(o):n.reduce((function(e,t,n){var r=Zl(t)?NO(t,{key:n}):t;return 0===n?[r]:[].concat(Ae(e),[o,r])}),[])};return e.value.map((function(e){var r=iA(e,t.value,n.value),o=i({labels:r.map((function(e){var t,r=e.option,o=e.value;return null!==(t=null===r||void 0===r?void 0:r[n.value.label])&&void 0!==t?t:o})),selectedOptions:r.map((function(e){var t=e.option;return t}))}),a=c_(e);return{label:o,value:a,key:a,valueCells:e}}))}))},pA=Symbol("CascaderContextKey"),vA=function(e){Object(i["provide"])(pA,e)},hA=function(){return Object(i["inject"])(pA)},mA=function(){var e=JM(),t=hA(),n=t.values,r=Jx([]),o=gl(r,2),a=o[0],u=o[1];return Object(i["watch"])((function(){return e.open}),(function(){if(e.open&&!e.multiple){var t=n.value[0];u(t||[])}}),{immediate:!0}),[a,u]},gA=function(e,t,n,r,o,a){var u=JM(),c=Object(i["computed"])((function(){return"rtl"===u.direction})),l=[Object(i["ref"])([]),Object(i["ref"])(),Object(i["ref"])([])],s=l[0],d=l[1],f=l[2];Object(i["watchEffect"])((function(){for(var e=-1,o=t.value,i=[],a=[],u=r.value.length,c=function(t){var u=o.findIndex((function(e){return e[n.value.value]===r.value[t]}));if(-1===u)return"break";e=u,i.push(e),a.push(r.value[t]),o=o[e][n.value.children]},l=0;l<u&&o;l+=1){var p=c(l);if("break"===p)break}for(var v=t.value,h=0;h<i.length-1;h+=1)v=v[i[h]][n.value.children];var m=[a,e,v];s.value=m[0],d.value=m[1],f.value=m[2]}));var p=function(e){o(e)},v=function(e){var t=f.value.length,r=d.value;-1===r&&e<0&&(r=t);for(var o=0;o<t;o+=1){r=(r+e+t)%t;var i=f.value[r];if(i&&!i.disabled){var a=i[n.value.value],u=s.value.slice(0,-1).concat(a);return void p(u)}}},h=function(){if(s.value.length>1){var e=s.value.slice(0,-1);p(e)}else u.toggleOpen(!1)},m=function(){var e,t=(null===(e=f.value[d.value])||void 0===e?void 0:e[n.value.children])||[],r=t.find((function(e){return!e.disabled}));if(r){var o=[].concat(Ae(s.value),[r[n.value.value]]);p(o)}};e.expose({onKeydown:function(e){var t=e.which;switch(t){case WN.UP:case WN.DOWN:var r=0;t===WN.UP?r=-1:t===WN.DOWN&&(r=1),0!==r&&v(r);break;case WN.LEFT:c.value?m():h();break;case WN.RIGHT:c.value?h():m();break;case WN.BACKSPACE:u.searchValue||h();break;case WN.ENTER:if(s.value.length){var o=f.value[d.value],i=(null===o||void 0===o?void 0:o[eA])||[];i.length?a(i.map((function(e){return e[n.value.value]})),i[i.length-1]):a(s.value,o)}break;case WN.ESC:u.toggleOpen(!1),open&&e.stopPropagation()}},onKeyup:function(){}})};function bA(e){var t,n=e.prefixCls,r=e.checked,o=e.halfChecked,a=e.disabled,u=e.onClick,c=hA(),l=c.customSlots,d=c.checkable,f=!1!==d.value?l.value.checkable:d.value,p="function"===typeof f?f():"boolean"===typeof f?null:f;return Object(i["createVNode"])("span",{class:(t={},s(t,n,!0),s(t,"".concat(n,"-checked"),r),s(t,"".concat(n,"-indeterminate"),!r&&o),s(t,"".concat(n,"-disabled"),a),t),onClick:u},[p])}bA.props=["prefixCls","checked","halfChecked","disabled","onClick"],bA.displayName="Checkbox",bA.inheritAttrs=!1;var yA="__cascader_fix_label__";function OA(e){var t,n,r,o,a,u,c=e.prefixCls,l=e.multiple,d=e.options,f=e.activeValue,p=e.prevValuePath,v=e.onToggleOpen,h=e.onSelect,m=e.onActive,g=e.checkedSet,b=e.halfCheckedSet,y=e.loadingKeys,O=e.isSelectable,C="".concat(c,"-menu"),w="".concat(c,"-menu-item"),S=hA(),N=S.fieldNames,M=S.changeOnSelect,x=S.expandTrigger,j=S.expandIcon,T=S.loadingIcon,D=S.dropdownMenuColumnStyle,E=S.customSlots,k=null!==(t=j.value)&&void 0!==t?t:null===(n=(r=E.value).expandIcon)||void 0===n?void 0:n.call(r),L=null!==(o=T.value)&&void 0!==o?o:null===(a=(u=E.value).loadingIcon)||void 0===a?void 0:a.call(u),Y="hover"===x.value;return Object(i["createVNode"])("ul",{class:C,role:"menu"},[d.map((function(e){var t,n,r,o=e.disabled,a=e[eA],u=null!==(t=e[yA])&&void 0!==t?t:e[N.value.label],d=e[N.value.value],C=f_(e,N.value),S=a?a.map((function(e){return e[N.value.value]})):[].concat(Ae(p),[d]),x=c_(S),j=y.includes(x),T=g.has(x),E=b.has(x),_=function(){o||Y&&C||m(S)},A=function(){O(e)&&h(S,C)};return"string"===typeof e.title?r=e.title:"string"===typeof u&&(r=u),Object(i["createVNode"])("li",{key:x,class:[w,(n={},s(n,"".concat(w,"-expand"),!C),s(n,"".concat(w,"-active"),f===d),s(n,"".concat(w,"-disabled"),o),s(n,"".concat(w,"-loading"),j),n)],style:D.value,role:"menuitemcheckbox",title:r,"aria-checked":T,"data-path-key":x,onClick:function(){_(),l&&!C||A()},onDblclick:function(){M.value&&v(!1)},onMouseenter:function(){Y&&_()},onMousedown:function(e){e.preventDefault()}},[l&&Object(i["createVNode"])(bA,{prefixCls:"".concat(c,"-checkbox"),checked:T,halfChecked:E,disabled:o,onClick:function(e){e.stopPropagation(),A()}},null),Object(i["createVNode"])("div",{class:"".concat(w,"-content")},[u]),!j&&k&&!C&&Object(i["createVNode"])("div",{class:"".concat(w,"-expand-icon")},[k]),j&&L&&Object(i["createVNode"])("div",{class:"".concat(w,"-loading-icon")},[L])])}))])}OA.props=["prefixCls","multiple","options","activeValue","prevValuePath","onToggleOpen","onSelect","onActive","checkedSet","halfCheckedSet","loadingKeys","isSelectable"],OA.displayName="Column",OA.inheritAttrs=!1;var CA=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"OptionList",inheritAttrs:!1,setup:function(e,t){var n=t.attrs,r=t.slots,o=JM(),a=Object(i["ref"])(),u=Object(i["computed"])((function(){return"rtl"===o.direction})),c=hA(),l=c.options,d=c.values,f=c.halfValues,p=c.fieldNames,v=c.changeOnSelect,h=c.onSelect,m=c.searchOptions,g=c.dropdownPrefixCls,b=c.loadData,y=c.expandTrigger,O=c.customSlots,C=Object(i["computed"])((function(){return g.value||o.prefixCls})),w=Object(i["shallowRef"])([]),S=function(e){if(b.value&&!o.searchValue){var t=iA(e,l.value,p.value),n=t.map((function(e){var t=e.option;return t})),r=n[n.length-1];if(r&&!f_(r,p.value)){var i=c_(e);w.value=[].concat(Ae(w.value),[i]),b.value(n)}}};Object(i["watchEffect"])((function(){w.value.length&&w.value.forEach((function(e){var t=s_(e),n=iA(t,l.value,p.value,!0).map((function(e){var t=e.option;return t})),r=n[n.length-1];(!r||r[p.value.children]||f_(r,p.value))&&(w.value=w.value.filter((function(t){return t!==e})))}))}));var N=Object(i["computed"])((function(){return new Set(l_(d.value))})),M=Object(i["computed"])((function(){return new Set(l_(f.value))})),x=mA(),j=gl(x,2),T=j[0],D=j[1],E=function(e){D(e),S(e)},k=function(e){var t=e.disabled,n=f_(e,p.value);return!t&&(n||v.value||o.multiple)},L=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];h(e),!o.multiple&&(t||v.value&&("hover"===y.value||n))&&o.toggleOpen(!1)},Y=Object(i["computed"])((function(){return o.searchValue?m.value:l.value})),_=Object(i["computed"])((function(){for(var e=[{options:Y.value}],t=Y.value,n=function(){var n=T.value[r],o=t.find((function(e){return e[p.value.value]===n})),i=null===o||void 0===o?void 0:o[p.value.children];if(null===i||void 0===i||!i.length)return"break";t=i,e.push({options:i})},r=0;r<T.value.length;r+=1){var o=n();if("break"===o)break}return e})),A=function(e,t){k(t)&&L(e,f_(t,p.value),!0)};gA(t,Y,p,T,E,A);var P=function(e){e.preventDefault()};return Object(i["onMounted"])((function(){Object(i["watch"])(T,(function(e){for(var t=0;t<e.length;t+=1){var n,r=e.slice(0,t+1),o=c_(r),i=null===(n=a.value)||void 0===n?void 0:n.querySelector('li[data-path-key="'.concat(o.replace(/\\{0,2}"/g,'\\"'),'"]'));i&&p_(i)}}),{flush:"post",immediate:!0})})),function(){var e,t,c,l,d,f,v,h=o.notFoundContent,m=void 0===h?(null===(e=r.notFoundContent)||void 0===e?void 0:e.call(r))||(null===(t=(c=O.value).notFoundContent)||void 0===t?void 0:t.call(c)):h,g=o.multiple,b=o.toggleOpen,y=!(null!==(l=_.value[0])&&void 0!==l&&null!==(d=l.options)&&void 0!==d&&d.length),S=[(f={},s(f,p.value.value,"__EMPTY__"),s(f,yA,m),s(f,"disabled",!0),f)],x=Fe(Fe({},n),{},{multiple:!y&&g,onSelect:L,onActive:E,onToggleOpen:b,checkedSet:N.value,halfCheckedSet:M.value,loadingKeys:w.value,isSelectable:k}),j=y?[{options:S}]:_.value,D=j.map((function(e,t){var n=T.value.slice(0,t),r=T.value[t];return Object(i["createVNode"])(OA,Fe(Fe({key:t},x),{},{prefixCls:C.value,options:e.options,prevValuePath:n,activeValue:r}),null)}));return Object(i["createVNode"])("div",{class:["".concat(C.value,"-menus"),(v={},s(v,"".concat(C.value,"-menu-empty"),y),s(v,"".concat(C.value,"-rtl"),u.value),v)],onMousedown:P,ref:a},[D])}}});function wA(e){var t=Object(i["ref"])(0),n=Object(i["shallowRef"])();return Object(i["watchEffect"])((function(){var r=new Map,o=0,i=e.value||{};for(var a in i)if(Object.prototype.hasOwnProperty.call(i,a)){var u=i[a],c=u.level,l=r.get(c);l||(l=new Set,r.set(c,l)),l.add(u),o=Math.max(o,c)}t.value=o,n.value=r})),{maxLevel:t,levelEntities:n}}function SA(){return Fe(Fe({},mO(GM(),["tokenSeparators","mode","showSearch"])),{},{id:String,prefixCls:String,fieldNames:Object,children:Array,value:{type:[String,Number,Array]},defaultValue:{type:[String,Number,Array]},changeOnSelect:{type:Boolean,default:void 0},displayRender:Function,checkable:{type:Boolean,default:void 0},showCheckedStrategy:{type:String,default:a_},showSearch:{type:[Boolean,Object],default:void 0},searchValue:String,onSearch:Function,expandTrigger:String,options:Array,dropdownPrefixCls:String,loadData:Function,popupVisible:{type:Boolean,default:void 0},popupClassName:String,dropdownClassName:String,dropdownMenuColumnStyle:{type:Object,default:void 0},popupStyle:{type:Object,default:void 0},dropdownStyle:{type:Object,default:void 0},popupPlacement:String,placement:String,onPopupVisibleChange:Function,onDropdownVisibleChange:Function,expandIcon:Et.any,loadingIcon:Et.any})}function NA(){return Fe(Fe({},SA()),{},{onChange:Function,customSlots:Object})}function MA(e){return Array.isArray(e)&&Array.isArray(e[0])}function xA(e){return e?MA(e)?e:(0===e.length?[]:[e]).map((function(e){return Array.isArray(e)?e:[e]})):[]}var jA=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"Cascader",inheritAttrs:!1,props:Pb(NA(),{}),setup:function(e,t){var n=t.attrs,r=t.expose,o=t.slots,a=Bx(Object(i["toRef"])(e,"id")),u=Object(i["computed"])((function(){return!!e.checkable})),c=Xx(e.defaultValue,{value:Object(i["computed"])((function(){return e.value})),postState:xA}),l=gl(c,2),s=l[0],d=l[1],f=Object(i["computed"])((function(){return d_(e.fieldNames)})),p=Object(i["computed"])((function(){return e.options||[]})),v=$_(p,f),h=function(e){var t=v.value;return e.map((function(e){var n=t[e].nodes;return n.map((function(e){return e[f.value.value]}))}))},m=Xx("",{value:Object(i["computed"])((function(){return e.searchValue})),postState:function(e){return e||""}}),g=gl(m,2),b=g[0],y=g[1],O=function(t,n){y(t),"blur"!==n.source&&e.onSearch&&e.onSearch(t)},C=q_(Object(i["toRef"])(e,"showSearch")),w=C.showSearch,S=C.searchConfig,N=rA(b,p,f,Object(i["computed"])((function(){return e.dropdownPrefixCls||e.prefixCls})),S,Object(i["toRef"])(e,"changeOnSelect")),M=aA(p,f,s),x=[Object(i["ref"])([]),Object(i["ref"])([]),Object(i["ref"])([])],j=x[0],T=x[1],D=x[2],E=wA(v),k=E.maxLevel,L=E.levelEntities;Object(i["watchEffect"])((function(){var e=gl(M.value,2),t=e[0],n=e[1];if(!u.value||!s.value.length){var r=[t,[],n];return j.value=r[0],T.value=r[1],void(D.value=r[2])}var o=l_(t),i=v.value,a=dA(o,!0,i,k.value,L.value),c=a.checkedKeys,l=a.halfCheckedKeys,d=[h(c),h(l),n];j.value=d[0],T.value=d[1],D.value=d[2]}));var Y=Object(i["computed"])((function(){var t=l_(j.value),n=oA(t,v.value,e.showCheckedStrategy);return[].concat(Ae(D.value),Ae(h(n)))})),_=fA(Y,p,f,u,Object(i["toRef"])(e,"displayRender")),A=function(t){if(d(t),e.onChange){var n=xA(t),r=n.map((function(e){return iA(e,p.value,f.value).map((function(e){return e.option}))})),o=u.value?n:n[0],i=u.value?r:r[0];e.onChange(o,i)}},P=function(t){if(y(""),u.value){var n=c_(t),r=l_(j.value),o=l_(T.value),i=r.includes(n),a=D.value.some((function(e){return c_(e)===n})),c=j.value,l=D.value;if(a&&!i)l=D.value.filter((function(e){return c_(e)!==n}));else{var s,d=i?r.filter((function(e){return e!==n})):[].concat(Ae(r),[n]);if(i){var f=dA(d,{checked:!1,halfCheckedKeys:o},v.value,k.value,L.value);s=f.checkedKeys}else{var p=dA(d,!0,v.value,k.value,L.value);s=p.checkedKeys}var m=oA(s,v.value,e.showCheckedStrategy);c=h(m)}A([].concat(Ae(l),Ae(c)))}else A(t)},F=function(e,t){if("clear"!==t.type){var n=t.values[0].valueCells;P(n)}else A([])};var I=Object(i["computed"])((function(){return void 0!==e.open?e.open:e.popupVisible})),B=Object(i["computed"])((function(){return e.dropdownClassName||e.popupClassName})),Z=Object(i["computed"])((function(){return e.dropdownStyle||e.popupStyle||{}})),R=Object(i["computed"])((function(){return e.placement||e.popupPlacement})),H=function(t){var n,r;null===(n=e.onDropdownVisibleChange)||void 0===n||n.call(e,t),null===(r=e.onPopupVisibleChange)||void 0===r||r.call(e,t)},V=Object(i["toRefs"])(e),X=V.changeOnSelect,J=V.checkable,z=V.dropdownPrefixCls,Q=V.loadData,W=V.expandTrigger,K=V.expandIcon,U=V.loadingIcon,G=V.dropdownMenuColumnStyle,$=V.customSlots;vA({options:p,fieldNames:f,values:j,halfValues:T,changeOnSelect:X,onSelect:P,checkable:J,searchOptions:N,dropdownPrefixCls:z,loadData:Q,expandTrigger:W,expandIcon:K,loadingIcon:U,dropdownMenuColumnStyle:G,customSlots:$});var q=Object(i["ref"])();r({focus:function(){var e;null===(e=q.value)||void 0===e||e.focus()},blur:function(){var e;null===(e=q.value)||void 0===e||e.blur()},scrollTo:function(e){var t;null===(t=q.value)||void 0===t||t.scrollTo(e)}});var ee=Object(i["computed"])((function(){return mO(e,["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","customSlots","showCheckedStrategy","children"])}));return function(){var t=!(b.value?N.value:p.value).length,r=e.dropdownMatchSelectWidth,c=void 0!==r&&r,l=b.value&&S.value.matchInputWidth||t?{}:{minWidth:"auto"};return Object(i["createVNode"])(ex,Fe(Fe(Fe({},ee.value),n),{},{ref:q,id:a,prefixCls:e.prefixCls,dropdownMatchSelectWidth:c,dropdownStyle:Fe(Fe({},Z.value),l),displayValues:_.value,onDisplayValuesChange:F,mode:u.value?"multiple":void 0,searchValue:b.value,onSearch:O,showSearch:w.value,OptionList:CA,emptyOptions:t,open:I.value,dropdownClassName:B.value,placement:R.value,onDropdownVisibleChange:H,getRawInputElement:function(){var e;return null===(e=o.default)||void 0===e?void 0:e.call(o)}}),o)}}}),TA=jA,DA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},EA=DA;function kA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){LA(e,t,n[t])}))}return e}function LA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var YA=function(e,t){var n=kA({},e,t.attrs);return Object(i["createVNode"])(ef,kA({},n,{icon:EA}),null)};YA.displayName="RightOutlined",YA.inheritAttrs=!1;var _A=YA,AA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},PA=AA;function FA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){IA(e,t,n[t])}))}return e}function IA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var BA=function(e,t){var n=FA({},e,t.attrs);return Object(i["createVNode"])(ef,FA({},n,{icon:PA}),null)};BA.displayName="LeftOutlined",BA.inheritAttrs=!1;var ZA=BA,RA=["notFoundContent","expandIcon","multiple","bordered","allowClear","choiceTransitionName","transitionName","id"];function HA(e,t,n){var r=e.toLowerCase().split(t).reduce((function(e,n,r){return 0===r?[n]:[].concat(Ae(e),[t,n])}),[]),o=[],a=0;return r.forEach((function(t,r){var u=a+t.length,c=e.slice(a,u);if(a=u,r%2===1){(function(){})();c=Object(i["createVNode"])("span",{class:"".concat(n,"-menu-item-keyword"),key:"seperator"},[c])}o.push(c)})),o}var VA=function(e){var t=e.inputValue,n=e.path,r=e.prefixCls,o=e.fieldNames,i=[],a=t.toLowerCase();return n.forEach((function(e,t){0!==t&&i.push(" / ");var n=e[o.label],c=u(n);"string"!==c&&"number"!==c||(n=HA(String(n),a,r)),i.push(n)})),i};function XA(){return Fe(Fe({},mO(NA(),["customSlots","checkable","options"])),{},{multiple:{type:Boolean,default:void 0},size:String,bordered:{type:Boolean,default:void 0},placement:{type:String},suffixIcon:Et.any,options:Array,"onUpdate:value":Function})}var JA=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ACascader",inheritAttrs:!1,props:Pb(XA(),{bordered:!0,choiceTransitionName:"",allowClear:!0}),setup:function(e,t){var n=t.attrs,r=t.expose,o=t.slots,a=t.emit,c=vb(),l=wv("cascader",e),d=l.prefixCls,f=l.rootPrefixCls,p=l.getPrefixCls,v=l.direction,h=l.getPopupContainer,m=l.renderEmpty,g=l.size,b=Object(i["computed"])((function(){return p("select",e.prefixCls)})),y=Object(i["computed"])((function(){return"rtl"===v.value}));var O=Object(i["computed"])((function(){if(!e.showSearch)return e.showSearch;var t={render:VA};return"object"===u(e.showSearch)&&(t=Fe(Fe({},t),e.showSearch)),t})),C=Object(i["computed"])((function(){return Qt(e.dropdownClassName||e.popupClassName,"".concat(d.value,"-dropdown"),s({},"".concat(d.value,"-dropdown-rtl"),y.value))})),w=Object(i["ref"])();r({focus:function(){var e;null===(e=w.value)||void 0===e||e.focus()},blur:function(){var e;null===(e=w.value)||void 0===e||e.blur()}});var S=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];a("update:value",t[0]),a.apply(void 0,["change"].concat(t)),c.onFieldChange()},N=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];a.apply(void 0,["blur"].concat(t)),c.onFieldBlur()},M=Object(i["computed"])((function(){return void 0!==e.showArrow?e.showArrow:e.loading||!e.multiple})),x=Object(i["computed"])((function(){return void 0!==e.placement?e.placement:"rtl"===v.value?"bottomRight":"bottomLeft"}));return function(){var t,r,a,u=e.notFoundContent,l=void 0===u?null===(t=o.notFoundContent)||void 0===t?void 0:t.call(o):u,p=e.expandIcon,j=void 0===p?null===(r=o.expandIcon)||void 0===r?void 0:r.call(o):p,T=e.multiple,D=e.bordered,E=e.allowClear,k=e.choiceTransitionName,L=e.transitionName,Y=e.id,_=void 0===Y?c.id.value:Y,A=Kc(e,RA),P=l||m.value("Cascader"),F=j;j||(F=y.value?Object(i["createVNode"])(ZA,null,null):Object(i["createVNode"])(_A,null,null));var I=Object(i["createVNode"])("span",{class:"".concat(b.value,"-menu-item-loading-icon")},[Object(i["createVNode"])(of,{spin:!0},null)]),B=pj(Fe(Fe({},e),{},{multiple:T,prefixCls:b.value,showArrow:M.value}),o),Z=B.suffixIcon,R=B.removeIcon,H=B.clearIcon;return Object(i["createVNode"])(TA,Fe(Fe(Fe({},A),n),{},{id:_,prefixCls:b.value,class:[d.value,(a={},s(a,"".concat(b.value,"-lg"),"large"===g.value),s(a,"".concat(b.value,"-sm"),"small"===g.value),s(a,"".concat(b.value,"-rtl"),y.value),s(a,"".concat(b.value,"-borderless"),!D),a),n.class],direction:v.value,placement:x.value,notFoundContent:P,allowClear:E,showSearch:O.value,expandIcon:F,inputIcon:Z,removeIcon:R,clearIcon:H,loadingIcon:I,checkable:!!T,dropdownClassName:C.value,dropdownPrefixCls:d.value,choiceTransitionName:ns(f.value,"",k),transitionName:ns(f.value,ql(x.value),L),getPopupContainer:h.value,customSlots:Fe(Fe({},o),{},{checkable:function(){return Object(i["createVNode"])("span",{class:"".concat(d.value,"-checkbox-inner")},null)}}),tagRender:e.tagRender||o.tagRender,displayRender:e.displayRender||o.displayRender,maxTagPlaceholder:e.maxTagPlaceholder||o.maxTagPlaceholder,showArrow:e.showArrow,onChange:S,onBlur:N,ref:w}),o)}}}),zA=Bc(JA);function QA(e){if(null==e)throw new TypeError("Cannot destructure "+e)}var WA=["motion","motionNodes","motionType","active","eventKey"],KA=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"MotionTreeNode",inheritAttrs:!1,props:Fe(Fe({},w_),{},{active:Boolean,motion:Object,motionNodes:{type:Array},onMotionStart:Function,onMotionEnd:Function,motionType:String}),slots:["title","icon","switcherIcon","checkable"],setup:function(e,t){var n=t.attrs,r=t.slots,o=Object(i["ref"])(!0),a=m_(),u=Object(i["ref"])(!1),c=Object(i["computed"])((function(){return e.motion?e.motion:ob()})),l=function(t,n){var r,o;if("appear"===n)null===(r=c.value)||void 0===r||null===(o=r.onAfterEnter)||void 0===o||o.call(r,t);else if("leave"===n){var i,a;null===(i=c.value)||void 0===i||null===(a=i.onAfterLeave)||void 0===a||a.call(i,t)}u.value||e.onMotionEnd(),u.value=!0};return Object(i["watch"])((function(){return e.motionNodes}),(function(){e.motionNodes&&"hide"===e.motionType&&o.value&&Object(i["nextTick"])((function(){o.value=!1}))}),{immediate:!0,flush:"post"}),Object(i["onMounted"])((function(){e.motionNodes&&e.onMotionStart()})),Object(i["onBeforeUnmount"])((function(){e.motionNodes&&l()})),function(){e.motion;var t=e.motionNodes,u=e.motionType,s=e.active,d=e.eventKey,f=Kc(e,WA);return t?Object(i["createVNode"])(i["Transition"],Fe(Fe({},c.value),{},{appear:"show"===u,onAfterAppear:function(e){return l(e,"appear")},onAfterLeave:function(e){return l(e,"leave")}}),{default:function(){return[Object(i["withDirectives"])(Object(i["createVNode"])("div",{class:"".concat(a.value.prefixCls,"-treenode-motion")},[t.map((function(e){var t=Qc({},(QA(e.data),e.data)),n=e.title,o=e.key,a=e.isStart,u=e.isEnd;return delete t.children,Object(i["createVNode"])(E_,Fe(Fe({},t),{},{title:n,active:s,data:e.data,key:o,eventKey:o,isStart:a,isEnd:u}),r)}))]),[[i["vShow"],o.value]])]}}):Object(i["createVNode"])(E_,Fe(Fe({domRef:i["ref"],class:n.class,style:n.style},f),{},{active:s,eventKey:d}),r)}}});function UA(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.length,r=t.length;if(1!==Math.abs(n-r))return{add:!1,key:null};function o(e,t){var n=new Map;e.forEach((function(e){n.set(e,!0)}));var r=t.filter((function(e){return!n.has(e)}));return 1===r.length?r[0]:null}return n<r?{add:!0,key:o(e,t)}:{add:!1,key:o(t,e)}}function GA(e,t,n){var r=e.findIndex((function(e){return e.key===n})),o=e[r+1],i=t.findIndex((function(e){return e.key===n}));if(o){var a=t.findIndex((function(e){return e.key===o.key}));return t.slice(i+1,a)}return t.slice(i+1)}var $A=["prefixCls","selectable","checkable","disabled","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabindex","onKeydown","onFocus","onBlur","onListChangeStart","onListChangeEnd"],qA={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},eP=function(){},tP="RC_TREE_MOTION_".concat(Math.random()),nP={key:tP},rP={key:tP,level:0,index:0,pos:"0",node:nP,nodes:[nP]},oP={parent:null,children:[],pos:rP.pos,data:nP,title:null,key:tP,isStart:[],isEnd:[]};function iP(e,t,n,r){return!1!==t&&n?e.slice(0,Math.ceil(n/r)+1):e}function aP(e){var t=e.key,n=e.pos;return X_(t,n)}function uP(e){var t=String(e.key),n=e;while(n.parent)n=n.parent,t="".concat(n.key," > ").concat(t);return t}var cP=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"NodeList",inheritAttrs:!1,props:S_,setup:function(e,t){var n=t.expose,r=t.attrs,o=Object(i["ref"])(),a=Object(i["ref"])(),u=y_(),c=u.expandedKeys,l=u.flattenNodes;n({scrollTo:function(e){o.value.scrollTo(e)},getIndentWidth:function(){return a.value.offsetWidth}});var s=Object(i["shallowRef"])(l.value),d=Object(i["shallowRef"])([]),f=Object(i["ref"])(null);function p(){s.value=l.value,d.value=[],f.value=null,e.onListChangeEnd()}var v=m_();Object(i["watch"])([function(){return c.value.slice()},l],(function(t,n){var r=gl(t,2),o=r[0],i=r[1],a=gl(n,2),u=a[0],c=a[1],l=UA(u,o);if(null!==l.key){var p=e.virtual,v=e.height,h=e.itemHeight;if(l.add){var m=c.findIndex((function(e){var t=e.key;return t===l.key})),g=iP(GA(c,i,l.key),p,v,h),b=c.slice();b.splice(m+1,0,oP),s.value=b,d.value=g,f.value="show"}else{var y=i.findIndex((function(e){var t=e.key;return t===l.key})),O=iP(GA(i,c,l.key),p,v,h),C=i.slice();C.splice(y+1,0,oP),s.value=C,d.value=O,f.value="hide"}}else c!==i&&(s.value=i)})),Object(i["watch"])((function(){return v.value.dragging}),(function(e){e||p()}));var h=Object(i["computed"])((function(){return void 0===e.motion?s.value:l.value})),m=function(){e.onActiveChange(null)};return function(){var t=Fe(Fe({},e),r),n=t.prefixCls,u=(t.selectable,t.checkable,t.disabled),c=t.motion,l=t.height,s=t.itemHeight,v=t.virtual,g=t.focusable,b=t.activeItem,y=t.focused,O=t.tabindex,C=t.onKeydown,w=t.onFocus,S=t.onBlur,N=t.onListChangeStart,M=(t.onListChangeEnd,Kc(t,$A));return Object(i["createVNode"])(i["Fragment"],null,[y&&b&&Object(i["createVNode"])("span",{style:qA,"aria-live":"assertive"},[uP(b)]),Object(i["createVNode"])("div",null,[Object(i["createVNode"])("input",{style:qA,disabled:!1===g||u,tabindex:!1!==g?O:null,onKeydown:C,onFocus:w,onBlur:S,value:"",onChange:eP,"aria-label":"for screen reader"},null)]),Object(i["createVNode"])("div",{class:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden"}},[Object(i["createVNode"])("div",{class:"".concat(n,"-indent")},[Object(i["createVNode"])("div",{ref:a,class:"".concat(n,"-indent-unit")},null)])]),Object(i["createVNode"])(wx,Fe(Fe({},mO(M,["onActiveChange"])),{},{data:h.value,itemKey:aP,height:l,fullHeight:!1,virtual:v,itemHeight:s,prefixCls:"".concat(n,"-list"),ref:o,onVisibleChange:function(e,t){var n=new Set(e),r=t.filter((function(e){return!n.has(e)}));r.some((function(e){return aP(e)===tP}))&&p()}}),{default:function(e){var t=e.pos,n=Qc({},(QA(e.data),e.data)),r=e.title,o=e.key,a=e.isStart,u=e.isEnd,l=X_(o,t);return delete n.key,delete n.children,Object(i["createVNode"])(KA,Fe(Fe({},n),{},{eventKey:l,title:r,active:!!b&&o===b.key,data:e.data,isStart:a,isEnd:u,motion:c,motionNodes:o===tP?d.value:null,motionType:f.value,onMotionStart:N,onMotionEnd:p,onMousemove:m}),null)}})])}}});function lP(e){var t=e.dropPosition,n=e.dropLevelOffset,r=e.indent,o={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:"".concat(2,"px")};switch(t){case-1:o.top=0,o.left="".concat(-n*r,"px");break;case 1:o.bottom=0,o.left="".concat(-n*r,"px");break;case 0:o.bottom=0,o.left="".concat(r);break}return Object(i["createVNode"])("div",{style:o},null)}var sP=10,dP=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"Tree",inheritAttrs:!1,slots:["checkable","title","icon","titleRender"],props:Pb(N_(),{prefixCls:"vc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:lP,allowDrop:function(){return!0}}),setup:function(e,t){var n=t.attrs,r=t.slots,o=t.expose,a=Object(i["ref"])(!1),c={},l=Object(i["ref"])(),d=Object(i["shallowRef"])([]),f=Object(i["shallowRef"])([]),p=Object(i["shallowRef"])([]),v=Object(i["shallowRef"])([]),h=Object(i["shallowRef"])([]),m=Object(i["shallowRef"])([]),g={},b=Object(i["reactive"])({draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null}),y=Object(i["shallowRef"])([]);Object(i["watch"])([function(){return e.treeData},function(){return e.children}],(function(){y.value=void 0!==e.treeData?Object(i["toRaw"])(e.treeData).slice():z_(Object(i["toRaw"])(e.children))}),{immediate:!0,deep:!0});var O=Object(i["shallowRef"])({}),C=Object(i["ref"])(!1),w=Object(i["ref"])(null),S=Object(i["ref"])(!1),N=Object(i["computed"])((function(){return J_(e.fieldNames)})),M=Object(i["ref"])(),x=null,j=null,T=null,D=Object(i["computed"])((function(){return{expandedKeysSet:E.value,selectedKeysSet:k.value,loadedKeysSet:L.value,loadingKeysSet:Y.value,checkedKeysSet:_.value,halfCheckedKeysSet:A.value,dragOverNodeKey:b.dragOverNodeKey,dropPosition:b.dropPosition,keyEntities:O.value}})),E=Object(i["computed"])((function(){return new Set(m.value)})),k=Object(i["computed"])((function(){return new Set(d.value)})),L=Object(i["computed"])((function(){return new Set(v.value)})),Y=Object(i["computed"])((function(){return new Set(h.value)})),_=Object(i["computed"])((function(){return new Set(f.value)})),A=Object(i["computed"])((function(){return new Set(p.value)}));Object(i["watchEffect"])((function(){if(y.value){var e=K_(y.value,{fieldNames:N.value});O.value=Fe(s({},tP,rP),e.keyEntities)}}));var P=!1;Object(i["watch"])([function(){return e.expandedKeys},function(){return e.autoExpandParent},O],(function(t,n){var r=gl(t,2),o=(r[0],r[1]),i=gl(n,2),a=(i[0],i[1]),u=m.value;if(void 0!==e.expandedKeys||P&&o!==a)u=e.autoExpandParent||!P&&e.defaultExpandParent?H_(e.expandedKeys,O.value):e.expandedKeys;else if(!P&&e.defaultExpandAll){var c=Fe({},O.value);delete c[tP],u=Object.keys(c).map((function(e){return c[e].key}))}else!P&&e.defaultExpandedKeys&&(u=e.autoExpandParent||e.defaultExpandParent?H_(e.defaultExpandedKeys,O.value):e.defaultExpandedKeys);u&&(m.value=u),P=!0}),{immediate:!0});var F=Object(i["shallowRef"])([]);Object(i["watchEffect"])((function(){F.value=Q_(y.value,m.value,N.value)})),Object(i["watchEffect"])((function(){e.selectable&&(void 0!==e.selectedKeys?d.value=Z_(e.selectedKeys,e):!P&&e.defaultSelectedKeys&&(d.value=Z_(e.defaultSelectedKeys,e)))}));var I=wA(O),B=I.maxLevel,Z=I.levelEntities;Object(i["watchEffect"])((function(){var t;if(e.checkable&&(void 0!==e.checkedKeys?t=R_(e.checkedKeys)||{}:!P&&e.defaultCheckedKeys?t=R_(e.defaultCheckedKeys)||{}:y.value&&(t=R_(e.checkedKeys)||{checkedKeys:f.value,halfCheckedKeys:p.value}),t)){var n=t,r=n.checkedKeys,o=void 0===r?[]:r,i=n.halfCheckedKeys,a=void 0===i?[]:i;if(!e.checkStrictly){var u=dA(o,!0,O.value,B.value,Z.value);o=u.checkedKeys,a=u.halfCheckedKeys}f.value=o,p.value=a}})),Object(i["watchEffect"])((function(){e.loadedKeys&&(v.value=e.loadedKeys)}));var R=function(){Qc(b,{dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})},H=function(e){M.value.scrollTo(e)};Object(i["watch"])((function(){return e.activeKey}),(function(){void 0!==e.activeKey&&(w.value=e.activeKey)}),{immediate:!0}),Object(i["watch"])(w,(function(e){Object(i["nextTick"])((function(){null!==e&&H({key:e})}))}),{immediate:!0,flush:"post"});var V=function(t){void 0===e.expandedKeys&&(m.value=t)},X=function(){null!==b.draggingNodeKey&&Qc(b,{draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),x=null,T=null},J=function(t,n){var r=e.onDragend;b.dragOverNodeKey=null,X(),null===r||void 0===r||r({event:t,node:n.eventData}),j=null},z=function e(t){J(t,null,!0),window.removeEventListener("dragend",e)},Q=function(t,n){var r=e.onDragstart,o=n.eventKey,i=n.eventData;j=n,x={x:t.clientX,y:t.clientY};var a=k_(m.value,o);b.draggingNodeKey=o,b.dragChildrenKeys=P_(o,O.value),l.value=M.value.getIndentWidth(),V(a),window.addEventListener("dragend",z),r&&r({event:t,node:i})},W=function(t,n){var r=e.onDragenter,o=e.onExpand,i=e.allowDrop,a=e.direction,u=n.pos,s=n.eventKey;if(T!==s&&(T=s),j){var d=B_(t,j,n,l.value,x,i,F.value,O.value,E.value,a),f=d.dropPosition,p=d.dropLevelOffset,v=d.dropTargetKey,h=d.dropContainerKey,g=d.dropTargetPos,y=d.dropAllowed,C=d.dragOverNodeKey;-1===b.dragChildrenKeys.indexOf(v)&&y?(c||(c={}),Object.keys(c).forEach((function(e){clearTimeout(c[e])})),j.eventKey!==n.eventKey&&(c[u]=window.setTimeout((function(){if(null!==b.draggingNodeKey){var e=m.value.slice(),r=O.value[n.eventKey];r&&(r.children||[]).length&&(e=L_(m.value,n.eventKey)),V(e),o&&o(e,{node:n.eventData,expanded:!0,nativeEvent:t})}}),800)),j.eventKey!==v||0!==p?(Qc(b,{dragOverNodeKey:C,dropPosition:f,dropLevelOffset:p,dropTargetKey:v,dropContainerKey:h,dropTargetPos:g,dropAllowed:y}),r&&r({event:t,node:n.eventData,expandedKeys:m.value})):R()):R()}else R()},K=function(t,n){var r=e.onDragover,o=e.allowDrop,i=e.direction;if(j){var a=B_(t,j,n,l.value,x,o,F.value,O.value,E.value,i),u=a.dropPosition,c=a.dropLevelOffset,s=a.dropTargetKey,d=a.dropContainerKey,f=a.dropAllowed,p=a.dropTargetPos,v=a.dragOverNodeKey;-1===b.dragChildrenKeys.indexOf(s)&&f&&(j.eventKey===s&&0===c?null===b.dropPosition&&null===b.dropLevelOffset&&null===b.dropTargetKey&&null===b.dropContainerKey&&null===b.dropTargetPos&&!1===b.dropAllowed&&null===b.dragOverNodeKey||R():u===b.dropPosition&&c===b.dropLevelOffset&&s===b.dropTargetKey&&d===b.dropContainerKey&&p===b.dropTargetPos&&f===b.dropAllowed&&v===b.dragOverNodeKey||Qc(b,{dropPosition:u,dropLevelOffset:c,dropTargetKey:s,dropContainerKey:d,dropTargetPos:p,dropAllowed:f,dragOverNodeKey:v}),r&&r({event:t,node:n.eventData}))}},U=function(t,n){T!==n.eventKey||t.currentTarget.contains(t.relatedTarget)||(R(),T=null);var r=e.onDragleave;r&&r({event:t,node:n.eventData})},G=function(t,n){var r,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=b.dragChildrenKeys,u=b.dropPosition,c=b.dropTargetKey,l=b.dropTargetPos,s=b.dropAllowed;if(s){var d=e.onDrop;if(b.dragOverNodeKey=null,X(),null!==c){var f=Fe(Fe({},U_(c,Object(i["toRaw"])(D.value))),{},{active:(null===(r=fe.value)||void 0===r?void 0:r.key)===c,data:O.value[c].node}),p=-1!==a.indexOf(c);Kt(!p,"Can not drop to dragNode's children node. Maybe this is a bug of ant-design-vue. Please report an issue.");var v=Y_(l),h={event:t,node:G_(f),dragNode:j?j.eventData:null,dragNodesKeys:[j.eventKey].concat(a),dropToGap:0!==u,dropPosition:u+Number(v[v.length-1])};o||null===d||void 0===d||d(h),j=null}}},$=function(t,n){var r=e.onClick;r&&r(t,n)},q=function(t,n){var r=e.onDblclick;r&&r(t,n)},ee=function(t,n){var r=d.value,o=e.onSelect,i=e.multiple,a=n.selected,u=n[N.value.key],c=!a;r=c?i?L_(r,u):[u]:k_(r,u);var l=O.value,s=r.map((function(e){var t=l[e];return t?t.node:null})).filter((function(e){return e}));void 0===e.selectedKeys&&(d.value=r),o&&o(r,{event:"select",selected:c,node:n,selectedNodes:s,nativeEvent:t})},te=function(t,n,r){var o,i=e.checkStrictly,a=e.onCheck,u=n[N.value.key],c={event:"check",node:n,checked:r,nativeEvent:t},l=O.value;if(i){var s=r?L_(f.value,u):k_(f.value,u),d=k_(p.value,u);o={checked:s,halfChecked:d},c.checkedNodes=s.map((function(e){return l[e]})).filter((function(e){return e})).map((function(e){return e.node})),void 0===e.checkedKeys&&(f.value=s)}else{var v=dA([].concat(Ae(f.value),[u]),!0,l,B.value,Z.value),h=v.checkedKeys,m=v.halfCheckedKeys;if(!r){var g=new Set(h);g.delete(u);var b=dA(Array.from(g),{checked:!1,halfCheckedKeys:m},l,B.value,Z.value);h=b.checkedKeys,m=b.halfCheckedKeys}o=h,c.checkedNodes=[],c.checkedNodesPositions=[],c.halfCheckedKeys=m,h.forEach((function(e){var t=l[e];if(t){var n=t.node,r=t.pos;c.checkedNodes.push(n),c.checkedNodesPositions.push({node:n,pos:r})}})),void 0===e.checkedKeys&&(f.value=h,p.value=m)}a&&a(o,c)},ne=function(t){var n=t[N.value.key],r=new Promise((function(r,o){var i=e.loadData,a=e.onLoad;if(!i||L.value.has(n)||Y.value.has(n))return null;var u=i(t);u.then((function(){var o=L_(v.value,n),i=k_(h.value,n);a&&a(o,{event:"load",node:t}),void 0===e.loadedKeys&&(v.value=o),h.value=i,r()})).catch((function(t){var i=k_(h.value,n);if(h.value=i,g[n]=(g[n]||0)+1,g[n]>=sP){Kt(!1,"Retry for `loadData` many times but still failed. No more retry.");var a=L_(v.value,n);void 0===e.loadedKeys&&(v.value=a),r()}o(t)})),h.value=L_(h.value,n)}));return r.catch((function(){})),r},re=function(t,n){var r=e.onMouseenter;r&&r({event:t,node:n})},oe=function(t,n){var r=e.onMouseleave;r&&r({event:t,node:n})},ie=function(t,n){var r=e.onRightClick;r&&(t.preventDefault(),r({event:t,node:n}))},ae=function(t){var n=e.onFocus;C.value=!0,n&&n(t)},ue=function(t){var n=e.onBlur;C.value=!1,de(null),n&&n(t)},ce=function(t,n){var r=m.value,o=e.onExpand,i=e.loadData,a=n.expanded,u=n[N.value.key];if(!S.value){var c=r.indexOf(u),l=!a;if(Kt(a&&-1!==c||!a&&-1===c,"Expand state not sync with index check"),r=l?L_(r,u):k_(r,u),V(r),o&&o(r,{node:n,expanded:l,nativeEvent:t}),l&&i){var s=ne(n);s&&s.then((function(){})).catch((function(e){var t=k_(m.value,u);V(t),Promise.reject(e)}))}}},le=function(){S.value=!0},se=function(){setTimeout((function(){S.value=!1}))},de=function(t){var n=e.onActiveChange;w.value!==t&&(void 0!==e.activeKey&&(w.value=t),null!==t&&H({key:t}),n&&n(t))},fe=Object(i["computed"])((function(){return null===w.value?null:F.value.find((function(e){var t=e.key;return t===w.value}))||null})),pe=function(e){var t=F.value.findIndex((function(e){var t=e.key;return t===w.value}));-1===t&&e<0&&(t=F.value.length),t=(t+e+F.value.length)%F.value.length;var n=F.value[t];if(n){var r=n.key;de(r)}else de(null)},ve=Object(i["computed"])((function(){return G_(Fe(Fe({},U_(w.value,D.value)),{},{data:fe.value.data,active:!0}))})),he=function(t){var n=e.onKeydown,r=e.checkable,o=e.selectable;switch(t.which){case WN.UP:pe(-1),t.preventDefault();break;case WN.DOWN:pe(1),t.preventDefault();break}var i=fe.value;if(i&&i.data){var a=!1===i.data.isLeaf||!!(i.data.children||[]).length,u=ve.value;switch(t.which){case WN.LEFT:a&&E.value.has(w.value)?ce({},u):i.parent&&de(i.parent.key),t.preventDefault();break;case WN.RIGHT:a&&!E.value.has(w.value)?ce({},u):i.children&&i.children.length&&de(i.children[0].key),t.preventDefault();break;case WN.ENTER:case WN.SPACE:!r||u.disabled||!1===u.checkable||u.disableCheckbox?r||!o||u.disabled||!1===u.selectable||ee({},u):te({},u,!_.value.has(w.value));break}}n&&n(t)};return o({onNodeExpand:ce,scrollTo:H,onKeydown:he,selectedKeys:Object(i["computed"])((function(){return d.value})),checkedKeys:Object(i["computed"])((function(){return f.value})),halfCheckedKeys:Object(i["computed"])((function(){return p.value})),loadedKeys:Object(i["computed"])((function(){return v.value})),loadingKeys:Object(i["computed"])((function(){return h.value})),expandedKeys:Object(i["computed"])((function(){return m.value}))}),Object(i["onUnmounted"])((function(){window.removeEventListener("dragend",z),a.value=!0})),b_({expandedKeys:m,selectedKeys:d,loadedKeys:v,loadingKeys:h,checkedKeys:f,halfCheckedKeys:p,expandedKeysSet:E,selectedKeysSet:k,loadedKeysSet:L,loadingKeysSet:Y,checkedKeysSet:_,halfCheckedKeysSet:A,flattenNodes:F}),function(){var t,o,a=b.draggingNodeKey,c=b.dropLevelOffset,d=b.dropContainerKey,f=b.dropTargetKey,p=b.dropPosition,v=b.dragOverNodeKey,h=e.prefixCls,m=e.showLine,g=e.focusable,y=e.tabindex,S=void 0===y?0:y,N=e.selectable,x=e.showIcon,j=e.icon,T=void 0===j?r.icon:j,D=e.switcherIcon,E=e.draggable,k=e.checkable,L=e.checkStrictly,Y=e.disabled,_=e.motion,A=e.loadData,P=e.filterTreeNode,F=e.height,I=e.itemHeight,B=e.virtual,Z=e.dropIndicatorRender,R=e.onContextmenu,H=e.onScroll,V=e.direction,X=n.class,z=n.style,pe=aM(Fe(Fe({},e),n),{aria:!0,data:!0});return E&&(o="object"===u(E)?E:"function"===typeof E?{nodeDraggable:E}:{}),Object(i["createVNode"])(h_,{value:{prefixCls:h,selectable:N,showIcon:x,icon:T,switcherIcon:D,draggable:o,draggingNodeKey:a,checkable:k,customCheckable:r.checkable,checkStrictly:L,disabled:Y,keyEntities:O.value,dropLevelOffset:c,dropContainerKey:d,dropTargetKey:f,dropPosition:p,dragOverNodeKey:v,dragging:null!==a,indent:l.value,direction:V,dropIndicatorRender:Z,loadData:A,filterTreeNode:P,onNodeClick:$,onNodeDoubleClick:q,onNodeExpand:ce,onNodeSelect:ee,onNodeCheck:te,onNodeLoad:ne,onNodeMouseEnter:re,onNodeMouseLeave:oe,onNodeContextMenu:ie,onNodeDragStart:Q,onNodeDragEnter:W,onNodeDragOver:K,onNodeDragLeave:U,onNodeDragEnd:J,onNodeDrop:G,slots:r}},{default:function(){return[Object(i["createVNode"])("div",{role:"tree",class:Qt(h,X,(t={},s(t,"".concat(h,"-show-line"),m),s(t,"".concat(h,"-focused"),C.value),s(t,"".concat(h,"-active-focused"),null!==w.value),t))},[Object(i["createVNode"])(cP,Fe({ref:M,prefixCls:h,style:z,disabled:Y,selectable:N,checkable:!!k,motion:_,height:F,itemHeight:I,virtual:B,focusable:g,focused:C.value,tabindex:S,activeItem:fe.value,onFocus:ae,onBlur:ue,onKeydown:he,onActiveChange:de,onListChangeStart:le,onListChangeEnd:se,onContextmenu:R,onScroll:H},pe),null)])]}})}}});function fP(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}function pP(e){var t=e||{},n=t.label,r=t.value,o=t.children,i=r||"value";return{_title:n?[n]:["title","label"],value:i,key:i,children:o||"children"}}function vP(e){return e.disabled||e.disableCheckbox||!1===e.checkable}function hP(e,t){var n=[];function r(e){e.forEach((function(e){n.push(e[t.value]);var o=e[t.children];o&&r(o)}))}return r(e),n}function mP(e){return null===e||void 0===e}var gP=Symbol("TreeSelectContextPropsKey");function bP(e){return Object(i["provide"])(gP,e)}function yP(){return Object(i["inject"])(gP,{})}var OP={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},CP=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"OptionList",inheritAttrs:!1,slots:["notFoundContent","menuItemSelectedIcon"],setup:function(e,t){var n=t.slots,r=t.expose,o=JM(),a=jM(),u=yP(),c=Object(i["ref"])(),l=Sx((function(){return u.treeData}),[function(){return o.open},function(){return u.treeData}],(function(e){return e[0]})),s=Object(i["computed"])((function(){var e=a.checkable,t=a.halfCheckedKeys,n=a.checkedKeys;return e?{checked:n,halfChecked:t}:null}));Object(i["watch"])((function(){return o.open}),(function(){Object(i["nextTick"])((function(){var e;o.open&&!o.multiple&&a.checkedKeys.length&&(null===(e=c.value)||void 0===e||e.scrollTo({key:a.checkedKeys[0]}))}))}),{immediate:!0,flush:"post"});var d=Object(i["computed"])((function(){return String(o.searchValue).toLowerCase()})),f=function(e){return!!d.value&&String(e[a.treeNodeFilterProp]).toLowerCase().includes(d.value)},p=Object(i["shallowRef"])(a.treeDefaultExpandedKeys),v=Object(i["shallowRef"])(null);Object(i["watch"])((function(){return o.searchValue}),(function(){o.searchValue&&(v.value=hP(Object(i["toRaw"])(u.treeData),Object(i["toRaw"])(u.fieldNames)))}),{immediate:!0});var h=Object(i["computed"])((function(){return a.treeExpandedKeys?a.treeExpandedKeys.slice():o.searchValue?v.value:p.value})),m=function(e){var t;p.value=e,v.value=e,null===(t=a.onTreeExpand)||void 0===t||t.call(a,e)},g=function(e){e.preventDefault()},b=function(e,t){var n,r,i=t.node,c=a.checkable,l=a.checkedKeys;c&&vP(i)||(null===(n=u.onSelect)||void 0===n||n.call(u,i.key,{selected:!l.includes(i.key)}),o.multiple||null===(r=o.toggleOpen)||void 0===r||r.call(o,!1))},y=Object(i["ref"])(null),O=Object(i["computed"])((function(){return a.keyEntities[y.value]})),C=function(e){y.value=e};return r({scrollTo:function(){for(var e,t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return null===(e=c.value)||void 0===e||null===(t=e.scrollTo)||void 0===t?void 0:t.call.apply(t,[e].concat(r))},onKeydown:function(e){var t,n=e.which;switch(n){case WN.UP:case WN.DOWN:case WN.LEFT:case WN.RIGHT:null===(t=c.value)||void 0===t||t.onKeydown(e);break;case WN.ENTER:if(O.value){var r=O.value.node||{},i=r.selectable,u=r.value;!1!==i&&b(null,{node:{key:y.value},selected:!a.checkedKeys.includes(u)})}break;case WN.ESC:o.toggleOpen(!1)}},onKeyup:function(){}}),function(){var e,t=o.prefixCls,r=o.multiple,d=o.searchValue,p=o.open,v=o.notFoundContent,w=void 0===v?null===(e=n.notFoundContent)||void 0===e?void 0:e.call(n):v,S=u.listHeight,N=u.listItemHeight,M=u.virtual,x=a.checkable,j=a.treeDefaultExpandAll,T=a.treeIcon,D=a.showTreeIcon,E=a.switcherIcon,k=a.treeLine,L=a.loadData,Y=a.treeLoadedKeys,_=a.treeMotion,A=a.onTreeLoad,P=a.checkedKeys;if(0===l.value.length)return Object(i["createVNode"])("div",{role:"listbox",class:"".concat(t,"-empty"),onMousedown:g},[w]);var F={fieldNames:u.fieldNames};return Y&&(F.loadedKeys=Y),h.value&&(F.expandedKeys=h.value),Object(i["createVNode"])("div",{onMousedown:g},[O.value&&p&&Object(i["createVNode"])("span",{style:OP,"aria-live":"assertive"},[O.value.node.value]),Object(i["createVNode"])(dP,Fe(Fe({ref:c,focusable:!1,prefixCls:"".concat(t,"-tree"),treeData:l.value,height:S,itemHeight:N,virtual:M,multiple:r,icon:T,showIcon:D,switcherIcon:E,showLine:k,loadData:d?null:L,motion:_,activeKey:y.value,checkable:x,checkStrictly:!0,checkedKeys:s.value,selectedKeys:x?[]:P,defaultExpandAll:j},F),{},{onActiveChange:C,onSelect:b,onCheck:b,onExpand:m,onLoad:A,filterTreeNode:f}),Fe(Fe({},n),{},{checkable:a.customSlots.treeCheckable}))])}}}),wP="SHOW_ALL",SP="SHOW_PARENT",NP="SHOW_CHILD";function MP(e,t,n,r){var o=new Set(e);return t===NP?e.filter((function(e){var t=n[e];return!(t&&t.children&&t.children.some((function(e){var t=e.node;return o.has(t[r.value])}))&&t.children.every((function(e){var t=e.node;return vP(t)||o.has(t[r.value])})))})):t===SP?e.filter((function(e){var t=n[e],r=t?t.parent:null;return!(r&&!vP(r.node)&&o.has(r.key))})):e}var xP=function(){return null};xP.inheritAttrs=!1,xP.displayName="ATreeSelectNode",xP.isTreeSelectNode=!0;var jP=xP,TP=["title","switcherIcon"];function DP(e){return e&&e.type&&e.type.isTreeSelectNode}function EP(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Bl(e).map((function(e){var n,r,o;if(!DP(e))return Kt(!e,"TreeSelect/TreeSelectNode can only accept TreeSelectNode as children."),null;for(var a=e.children||{},u=e.key,c={},l=0,s=Object.entries(e.props);l<s.length;l++){var d=gl(s[l],2),f=d[0],p=d[1];c[Object(i["camelize"])(f)]=p}var v=c.isLeaf,h=c.checkable,m=c.selectable,g=c.disabled,b=c.disableCheckbox,y={isLeaf:v||""===v||void 0,checkable:h||""===h||void 0,selectable:m||""===m||void 0,disabled:g||""===g||void 0,disableCheckbox:b||""===b||void 0},O=Fe(Fe({},c),y),C=c.title,w=void 0===C?null===(n=a.title)||void 0===n?void 0:n.call(a,O):C,S=c.switcherIcon,N=void 0===S?null===(r=a.switcherIcon)||void 0===r?void 0:r.call(a,O):S,M=Kc(c,TP),x=null===(o=a.default)||void 0===o?void 0:o.call(a),j=Fe(Fe({},M),{},{title:w,switcherIcon:N,key:u,isLeaf:v},y),T=t(x);return T.length&&(j.children=T),j}))}return t(e)}function kP(e){if(!e)return e;var t=Fe({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return Kt(!1,"New `vc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),t}}),t}function LP(e,t,n,r,o,a){var u=null,c=null;function l(){function e(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0",l=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return r.map((function(r,s){var d="".concat(o,"-").concat(s),f=r[a.value],p=n.includes(f),v=e(r[a.children]||[],d,p),h=Object(i["createVNode"])(jP,r,{default:function(){return[v.map((function(e){return e.node}))]}});if(t===f&&(u=h),p){var m={pos:d,node:h,children:v};return l||c.push(m),m}return null})).filter((function(e){return e}))}c||(c=[],e(r),c.sort((function(e,t){var r=e.node.props.value,o=t.node.props.value,i=n.indexOf(r),a=n.indexOf(o);return i-a})))}Object.defineProperty(e,"triggerNode",{get:function(){return Kt(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),l(),u}}),Object.defineProperty(e,"allCheckedNodes",{get:function(){return Kt(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),l(),o?c:c.map((function(e){var t=e.node;return t}))}})}function YP(e,t){var n=t.id,r=t.pId,o=t.rootPId,i={},a=[],u=e.map((function(e){var t=Fe({},e),r=t[n];return i[r]=t,t.key=t.key||r,t}));return u.forEach((function(e){var t=e[r],n=i[t];n&&(n.children=n.children||[],n.children.push(e)),(t===o||!n&&null===o)&&a.push(e)})),a}function _P(e,t,n){var r=Object(i["shallowRef"])();return Object(i["watch"])([n,e,t],(function(){var o=n.value;e.value?r.value=n.value?YP(Object(i["toRaw"])(e.value),Fe({id:"id",pId:"pId",rootPId:null},!0!==o?o:{})):Object(i["toRaw"])(e.value).slice():r.value=EP(Object(i["toRaw"])(t.value))}),{immediate:!0,deep:!0}),r}var AP=function(e){var t=Object(i["shallowRef"])({valueLabels:new Map}),n=Object(i["shallowRef"])();Object(i["watch"])(e,(function(){n.value=Object(i["toRaw"])(e.value)}),{immediate:!0});var r=Object(i["computed"])((function(){var e=t.value.valueLabels,r=new Map,o=n.value.map((function(t){var n,o=t.value,i=null!==(n=t.label)&&void 0!==n?n:e.get(o);return r.set(o,i),Fe(Fe({},t),{},{label:i})}));return t.value.valueLabels=r,o}));return[r]},PP=function(e,t){var n=Object(i["shallowRef"])(new Map),r=Object(i["shallowRef"])({});return Object(i["watchEffect"])((function(){var o=t.value,i=K_(e.value,{fieldNames:o,initWrapper:function(e){return Fe(Fe({},e),{},{valueEntities:new Map})},processEntity:function(e,t){var n=e.node[o.value];t.valueEntities.set(n,e)}});n.value=i.valueEntities,r.value=i.keyEntities})),{valueEntities:n,keyEntities:r}},FP=function(e,t,n,r,o,a){var u=Object(i["shallowRef"])([]),c=Object(i["shallowRef"])([]);return Object(i["watchEffect"])((function(){var i=e.value.map((function(e){var t=e.value;return t})),l=t.value.map((function(e){var t=e.value;return t})),s=i.filter((function(e){return!r.value[e]}));if(n.value){var d=dA(i,!0,r.value,o.value,a.value);i=d.checkedKeys,l=d.halfCheckedKeys}u.value=Array.from(new Set([].concat(Ae(s),Ae(i)))),c.value=l})),[u,c]},IP=function(e,t,n){var r=n.treeNodeFilterProp,o=n.filterTreeNode,a=n.fieldNames;return Object(i["computed"])((function(){var n,i=a.value.children,u=t.value,c=null===r||void 0===r?void 0:r.value;if(!u||!1===o.value)return e.value;if("function"===typeof o.value)n=o.value;else{var l=u.toUpperCase();n=function(e,t){var n=t[c];return String(n).toUpperCase().includes(l)}}function d(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=[],o=0,a=e.length;o<a;o++){var c=e[o],l=c[i],f=t||n(u,kP(c)),p=d(l||[],f);(f||p.length)&&r.push(Fe(Fe({},c),{},s({},i,p)))}return r}return d(e.value)}))};function BP(){return Fe(Fe({},mO(GM(),["mode"])),{},{prefixCls:String,id:String,value:{type:[String,Number,Object,Array]},defaultValue:{type:[String,Number,Object,Array]},onChange:{type:Function},searchValue:String,inputValue:String,onSearch:{type:Function},autoClearSearchValue:{type:Boolean,default:void 0},filterTreeNode:{type:[Boolean,Function],default:void 0},treeNodeFilterProp:String,onSelect:Function,onDeselect:Function,showCheckedStrategy:{type:String},treeNodeLabelProp:String,fieldNames:{type:Object},multiple:{type:Boolean,default:void 0},treeCheckable:{type:Boolean,default:void 0},treeCheckStrictly:{type:Boolean,default:void 0},labelInValue:{type:Boolean,default:void 0},treeData:{type:Array},treeDataSimpleMode:{type:[Boolean,Object],default:void 0},loadData:{type:Function},treeLoadedKeys:{type:Array},onTreeLoad:{type:Function},treeDefaultExpandAll:{type:Boolean,default:void 0},treeExpandedKeys:{type:Array},treeDefaultExpandedKeys:{type:Array},onTreeExpand:{type:Function},virtual:{type:Boolean,default:void 0},listHeight:Number,listItemHeight:Number,onDropdownVisibleChange:{type:Function},treeLine:{type:[Boolean,Object],default:void 0},treeIcon:Et.any,showTreeIcon:{type:Boolean,default:void 0},switcherIcon:Et.any,treeMotion:Et.any,children:Array,showArrow:{type:Boolean,default:void 0},showSearch:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},placeholder:Et.any,maxTagPlaceholder:{type:Function},dropdownPopupAlign:Et.any,customSlots:Object})}function ZP(e){return!e||"object"!==u(e)}var RP=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"TreeSelect",inheritAttrs:!1,props:Pb(BP(),{treeNodeFilterProp:"value",autoClearSearchValue:!0,showCheckedStrategy:NP,listHeight:200,listItemHeight:20,prefixCls:"vc-tree-select"}),setup:function(e,t){var n=t.attrs,r=t.expose,o=t.slots,a=Bx(Object(i["toRef"])(e,"id")),u=Object(i["computed"])((function(){return e.treeCheckable&&!e.treeCheckStrictly})),c=Object(i["computed"])((function(){return e.treeCheckable||e.treeCheckStrictly})),l=Object(i["computed"])((function(){return e.treeCheckStrictly||e.labelInValue})),s=Object(i["computed"])((function(){return c.value||e.multiple}));var d=Object(i["computed"])((function(){return pP(e.fieldNames)})),f=Xx("",{value:Object(i["computed"])((function(){return void 0!==e.searchValue?e.searchValue:e.inputValue})),postState:function(e){return e||""}}),p=gl(f,2),v=p[0],h=p[1],m=function(t){var n;h(t),null===(n=e.onSearch)||void 0===n||n.call(e,t)},g=_P(Object(i["toRef"])(e,"treeData"),Object(i["toRef"])(e,"children"),Object(i["toRef"])(e,"treeDataSimpleMode")),b=PP(g,d),y=b.keyEntities,O=b.valueEntities,C=function(e){var t=[],n=[];return e.forEach((function(e){O.value.has(e)?n.push(e):t.push(e)})),{missingRawValues:t,existRawValues:n}},w=IP(g,v,{fieldNames:d,treeNodeFilterProp:Object(i["toRef"])(e,"treeNodeFilterProp"),filterTreeNode:Object(i["toRef"])(e,"filterTreeNode")}),S=function(t){if(t){if(e.treeNodeLabelProp)return t[e.treeNodeLabelProp];for(var n=d.value._title,r=0;r<n.length;r+=1){var o=t[n[r]];if(void 0!==o)return o}}},N=function(e){var t=fP(e);return t.map((function(e){return ZP(e)?{value:e}:e}))},M=function(e){var t=N(e);return t.map((function(e){var t,n,r=e.label,o=e.value,i=e.halfChecked,a=O.value.get(o);a&&(r=null!==(n=r)&&void 0!==n?n:S(a.node),t=a.node.disabled);return{label:r,value:o,halfChecked:i,disabled:t}}))},x=Xx(e.defaultValue,{value:Object(i["toRef"])(e,"value")}),j=gl(x,2),T=j[0],D=j[1],E=Object(i["computed"])((function(){return N(T.value)})),k=Object(i["shallowRef"])([]),L=Object(i["shallowRef"])([]);Object(i["watchEffect"])((function(){var e=[],t=[];E.value.forEach((function(n){n.halfChecked?t.push(n):e.push(n)})),k.value=e,L.value=t}));var Y=Object(i["computed"])((function(){return k.value.map((function(e){return e.value}))})),_=wA(y),A=_.maxLevel,P=_.levelEntities,F=FP(k,L,u,y,A,P),I=gl(F,2),B=I[0],Z=I[1],R=Object(i["computed"])((function(){var t=MP(B.value,e.showCheckedStrategy,y.value,d.value),n=t.map((function(e){var t,n,r;return null!==(t=null===(n=y.value[e])||void 0===n||null===(r=n.node)||void 0===r?void 0:r[d.value.value])&&void 0!==t?t:e})),r=n.map((function(e){var t=k.value.find((function(t){return t.value===e}));return{value:e,label:null===t||void 0===t?void 0:t.label}})),o=M(r),i=o[0];return!s.value&&i&&mP(i.value)&&mP(i.label)?[]:o.map((function(e){var t;return Fe(Fe({},e),{},{label:null!==(t=e.label)&&void 0!==t?t:e.value})}))})),H=AP(R),V=gl(H,1),X=V[0],J=function(t,n,r){var o=M(t);if(D(o),e.autoClearSearchValue&&h(""),e.onChange){var i=t;if(u.value){var a=MP(t,e.showCheckedStrategy,y.value,d.value);i=a.map((function(e){var t=O.value.get(e);return t?t.node[d.value.value]:e}))}var f=n||{triggerValue:void 0,selected:void 0},p=f.triggerValue,v=f.selected,m=i;if(e.treeCheckStrictly){var b=L.value.filter((function(e){return!i.includes(e.value)}));m=[].concat(Ae(m),Ae(b))}var C=M(m),w={preValue:k.value,triggerValue:p},S=!0;(e.treeCheckStrictly||"selection"===r&&!v)&&(S=!1),LP(w,p,t,g.value,S,d.value),c.value?w.checked=v:w.selected=v;var N=l.value?C:C.map((function(e){return e.value}));e.onChange(s.value?N:N[0],l.value?null:C.map((function(e){return e.label})),w)}},z=function(t,n){var r,o,a,c=n.selected,l=n.source,f=Object(i["toRaw"])(y.value),p=Object(i["toRaw"])(O.value),v=f[t],h=null===v||void 0===v?void 0:v.node,m=null!==(r=null===h||void 0===h?void 0:h[d.value.value])&&void 0!==r?r:t;if(s.value){var g=c?[].concat(Ae(Y.value),[m]):B.value.filter((function(e){return e!==m}));if(u.value){var b,w=C(g),S=w.missingRawValues,N=w.existRawValues,M=N.map((function(e){return p.get(e).key}));if(c){var x=dA(M,!0,f,A.value,P.value);b=x.checkedKeys}else{var j=dA(M,{checked:!1,halfCheckedKeys:Z.value},f,A.value,P.value);b=j.checkedKeys}g=[].concat(Ae(S),Ae(b.map((function(e){return f[e].node[d.value.value]}))))}J(g,{selected:c,triggerValue:m},l||"option")}else J([m],{selected:!0,triggerValue:m},"option");c||!s.value?null===(o=e.onSelect)||void 0===o||o.call(e,m,kP(h)):null===(a=e.onDeselect)||void 0===a||a.call(e,m,kP(h))},Q=function(t){if(e.onDropdownVisibleChange){var n={};Object.defineProperty(n,"documentClickClose",{get:function(){return Kt(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),e.onDropdownVisibleChange(t,n)}},W=function(e,t){var n=e.map((function(e){return e.value}));"clear"!==t.type?t.values.length&&z(t.values[0].value,{selected:!1,source:"selection"}):J(n,{},"selection")},K=Object(i["toRefs"])(e),U=K.treeNodeFilterProp,G=K.loadData,$=K.treeLoadedKeys,q=K.onTreeLoad,ee=K.treeDefaultExpandAll,te=K.treeExpandedKeys,ne=K.treeDefaultExpandedKeys,re=K.onTreeExpand,oe=K.virtual,ie=K.listHeight,ae=K.listItemHeight,ue=K.treeLine,ce=K.treeIcon,le=K.showTreeIcon,se=K.switcherIcon,de=K.treeMotion,fe=K.customSlots;i["toRaw"],xM(QM({checkable:c,loadData:G,treeLoadedKeys:$,onTreeLoad:q,checkedKeys:B,halfCheckedKeys:Z,treeDefaultExpandAll:ee,treeExpandedKeys:te,treeDefaultExpandedKeys:ne,onTreeExpand:re,treeIcon:ce,treeMotion:de,showTreeIcon:le,switcherIcon:se,treeLine:ue,treeNodeFilterProp:U,keyEntities:y,customSlots:fe})),bP(QM({virtual:oe,listHeight:ie,listItemHeight:ae,treeData:w,fieldNames:d,onSelect:z}));var pe=Object(i["ref"])();return r({focus:function(){var e;null===(e=pe.value)||void 0===e||e.focus()},blur:function(){var e;null===(e=pe.value)||void 0===e||e.blur()},scrollTo:function(e){var t;null===(t=pe.value)||void 0===t||t.scrollTo(e)}}),function(){var t,r=mO(e,["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","virtual","listHeight","listItemHeight","onDropdownVisibleChange","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion"]);return Object(i["createVNode"])(ex,Fe(Fe(Fe({ref:pe},n),r),{},{id:a,prefixCls:e.prefixCls,mode:s.value?"multiple":void 0,displayValues:X.value,onDisplayValuesChange:W,searchValue:v.value,onSearch:m,OptionList:CP,emptyOptions:!g.value.length,onDropdownVisibleChange:Q,tagRender:e.tagRender||o.tagRender,dropdownMatchSelectWidth:null===(t=e.dropdownMatchSelectWidth)||void 0===t||t}),o)}}}),HP=RP,VP={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},XP=VP;function JP(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){zP(e,t,n[t])}))}return e}function zP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var QP=function(e,t){var n=JP({},e,t.attrs);return Object(i["createVNode"])(ef,JP({},n,{icon:XP}),null)};QP.displayName="FileOutlined",QP.inheritAttrs=!1;var WP=QP,KP={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},UP=KP;function GP(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){$P(e,t,n[t])}))}return e}function $P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qP=function(e,t){var n=GP({},e,t.attrs);return Object(i["createVNode"])(ef,GP({},n,{icon:UP}),null)};qP.displayName="MinusSquareOutlined",qP.inheritAttrs=!1;var eF=qP,tF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},nF=tF;function rF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){oF(e,t,n[t])}))}return e}function oF(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var iF=function(e,t){var n=rF({},e,t.attrs);return Object(i["createVNode"])(ef,rF({},n,{icon:nF}),null)};iF.displayName="PlusSquareOutlined",iF.inheritAttrs=!1;var aF=iF,uF={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},cF=uF;function lF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){sF(e,t,n[t])}))}return e}function sF(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dF=function(e,t){var n=lF({},e,t.attrs);return Object(i["createVNode"])(ef,lF({},n,{icon:cF}),null)};dF.displayName="CaretDownFilled",dF.inheritAttrs=!1;var fF=dF;function pF(e,t,n,r){var o,a=r.isLeaf,c=r.expanded,l=r.loading,s=t;if(l)return Object(i["createVNode"])(of,{class:"".concat(e,"-switcher-loading-icon")},null);n&&"object"===u(n)&&(o=n.showLeafIcon);var d=null,f="".concat(e,"-switcher-icon");return a?(n&&(d="object"!==u(n)||o?Object(i["createVNode"])(WP,{class:"".concat(e,"-switcher-line-icon")},null):Object(i["createVNode"])("span",{class:"".concat(e,"-switcher-leaf-line")},null)),d):(d=Object(i["createVNode"])(fF,{class:f},null),n&&(d=c?Object(i["createVNode"])(eF,{class:"".concat(e,"-switcher-line-icon")},null):Object(i["createVNode"])(aF,{class:"".concat(e,"-switcher-line-icon")},null)),"function"===typeof t?s=t(Fe(Fe({},r),{},{defaultIcon:d,switcherCls:f})):Zl(s)&&(s=Object(i["cloneVNode"])(s,{class:f})),s||d)}var vF=function(e,t,n){return void 0!==n?n:"".concat(e,"-").concat(t)};function hF(){return Fe(Fe({},mO(BP(),["showTreeIcon","treeMotion","inputIcon","getInputElement","treeLine","customSlots"])),{},{suffixIcon:Et.any,size:{type:String},bordered:{type:Boolean,default:void 0},treeLine:{type:[Boolean,Object],default:void 0},replaceFields:{type:Object},"onUpdate:value":{type:Function},"onUpdate:treeExpandedKeys":{type:Function},"onUpdate:searchValue":{type:Function}})}var mF=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ATreeSelect",inheritAttrs:!1,props:Pb(hF(),{choiceTransitionName:"",listHeight:256,treeIcon:!1,listItemHeight:26,bordered:!0}),slots:["title","titleRender","placeholder","maxTagPlaceholder","treeIcon","switcherIcon","notFoundContent"],setup:function(e,t){var n=t.attrs,r=t.slots,o=t.expose,a=t.emit;Kt(!(void 0===e.treeData&&r.default),"`children` of TreeSelect is deprecated. Please use `treeData` instead."),Object(i["watchEffect"])((function(){rv(!1!==e.multiple||!e.treeCheckable,"TreeSelect","`multiple` will always be `true` when `treeCheckable` is true"),rv(void 0===e.replaceFields,"TreeSelect","`replaceFields` is deprecated, please use fieldNames instead")}));var u=vb(),c=wv("select",e),l=c.prefixCls,d=c.renderEmpty,f=c.direction,p=c.virtual,v=c.dropdownMatchSelectWidth,h=c.size,m=c.getPopupContainer,g=c.getPrefixCls,b=Object(i["computed"])((function(){return g()})),y=Object(i["computed"])((function(){return vF(b.value,"slide-up",e.transitionName)})),O=Object(i["computed"])((function(){return vF(b.value,"",e.choiceTransitionName)})),C=Object(i["computed"])((function(){return g("select-tree",e.prefixCls)})),w=Object(i["computed"])((function(){return g("tree-select",e.prefixCls)})),S=Object(i["computed"])((function(){return Qt(e.dropdownClassName,"".concat(w.value,"-dropdown"),s({},"".concat(w.value,"-dropdown-rtl"),"rtl"===f.value))})),N=Object(i["computed"])((function(){return!(!e.treeCheckable&&!e.multiple)})),M=Object(i["ref"])();o({focus:function(){var e,t;null===(e=(t=M.value).focus)||void 0===e||e.call(t)},blur:function(){var e,t;null===(e=(t=M.value).blur)||void 0===e||e.call(t)}});var x=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];a("update:value",t[0]),a.apply(void 0,["change"].concat(t)),u.onFieldChange()},j=function(e){a("update:treeExpandedKeys",e),a("treeExpand",e)},T=function(e){a("update:searchValue",e),a("search",e)},D=function(e){a("blur",e),u.onFieldBlur()};return function(){var t,o,a,c,g=e.notFoundContent,b=void 0===g?null===(t=r.notFoundContent)||void 0===t?void 0:t.call(r):g,E=e.prefixCls,k=e.bordered,L=e.listHeight,Y=e.listItemHeight,_=e.multiple,A=e.treeIcon,P=e.treeLine,F=e.switcherIcon,I=void 0===F?null===(o=r.switcherIcon)||void 0===o?void 0:o.call(r):F,B=e.fieldNames,Z=void 0===B?e.replaceFields:B,R=e.id,H=void 0===R?u.id.value:R,V=pj(Fe(Fe({},e),{},{multiple:N.value,prefixCls:l.value}),r),X=V.suffixIcon,J=V.removeIcon,z=V.clearIcon;c=void 0!==b?b:d.value("Select");var Q=mO(e,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","bordered","onUpdate:value","onUpdate:treeExpandedKeys","onUpdate:searchValue"]),W=Qt(!E&&w.value,(a={},s(a,"".concat(l.value,"-lg"),"large"===h.value),s(a,"".concat(l.value,"-sm"),"small"===h.value),s(a,"".concat(l.value,"-rtl"),"rtl"===f.value),s(a,"".concat(l.value,"-borderless"),!k),a),n.class),K={};return void 0===e.treeData&&r.default&&(K.children=kl(r.default())),Object(i["createVNode"])(HP,Fe(Fe(Fe(Fe({},n),Q),{},{virtual:p.value,dropdownMatchSelectWidth:v.value,id:H,fieldNames:Z,ref:M,prefixCls:l.value,class:W,listHeight:L,listItemHeight:Y,treeLine:!!P,inputIcon:X,multiple:_,removeIcon:J,clearIcon:z,switcherIcon:function(e){return pF(C.value,I,P,e)},showTreeIcon:A,notFoundContent:c,getPopupContainer:m.value,treeMotion:null,dropdownClassName:S.value,choiceTransitionName:O.value,onChange:x,onBlur:D,onSearch:T,onTreeExpand:j},K),{},{transitionName:y.value,customSlots:Fe(Fe({},r),{},{treeCheckable:function(){return Object(i["createVNode"])("span",{class:"".concat(l.value,"-tree-checkbox-inner")},null)}}),maxTagPlaceholder:e.maxTagPlaceholder||r.maxTagPlaceholder}),Fe(Fe({},r),{},{treeCheckable:function(){return Object(i["createVNode"])("span",{class:"".concat(l.value,"-tree-checkbox-inner")},null)}}))}}}),gF=jP,bF=Qc(mF,{TreeNode:jP,SHOW_ALL:wP,SHOW_PARENT:SP,SHOW_CHILD:NP,install:function(e){return e.component(mF.name,mF),e.component(gF.displayName,gF),e}}),yF=function(){return Fe(Fe({},IY()),{},{content:Et.any,title:Et.any})},OF=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"APopover",props:Pb(yF(),Fe(Fe({},KY()),{},{trigger:"hover",transitionName:"zoom-big",placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1})),setup:function(e,t){var n=t.expose,r=t.slots,o=Object(i["ref"])();n({getPopupDomNode:function(){var e,t;return null===(e=o.value)||void 0===e||null===(t=e.getPopupDomNode)||void 0===t?void 0:t.call(e)}});var a=wv("popover",e),u=a.prefixCls,c=a.configProvider,l=Object(i["computed"])((function(){return c.getPrefixCls()})),s=function(){var t,n,o=e.title,a=void 0===o?Bl(null===(t=r.title)||void 0===t?void 0:t.call(r)):o,c=e.content,l=void 0===c?Bl(null===(n=r.content)||void 0===n?void 0:n.call(r)):c,s=!!(Array.isArray(a)?a.length:a),d=!!(Array.isArray(l)?l.length:a);if(s||d)return Object(i["createVNode"])(i["Fragment"],null,[s&&Object(i["createVNode"])("div",{class:"".concat(u.value,"-title")},[a]),Object(i["createVNode"])("div",{class:"".concat(u.value,"-inner-content")},[l])])};return function(){return Object(i["createVNode"])(GY,Fe(Fe({},mO(e,["title","content"])),{},{prefixCls:u.value,ref:o,transitionName:ns(l.value,"zoom-big",e.transitionName)}),{title:s,default:r.default})}}}),CF=Bc(OF),wF=function(){var e=Object(i["ref"])(!1);return Object(i["onBeforeUnmount"])((function(){e.value=!0})),e},SF=wF,NF={type:{type:String},actionFn:Function,close:Function,autofocus:Boolean,prefixCls:String,buttonProps:Object,emitEvent:Boolean,quitOnNullishReturnValue:Boolean};function MF(e){return!(!e||!e.then)}var xF=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ActionButton",props:NF,setup:function(e,t){var n,r=t.slots,o=Object(i["ref"])(!1),a=Object(i["ref"])(),u=Object(i["ref"])(!1),c=SF();Object(i["onMounted"])((function(){e.autofocus&&(n=setTimeout((function(){var e;return null===(e=a.value.$el)||void 0===e?void 0:e.focus()})))})),Object(i["onBeforeUnmount"])((function(){clearTimeout(n)}));var l=function(t){var n=e.close;MF(t)&&(u.value=!0,t.then((function(){c.value||(u.value=!1),n.apply(void 0,arguments),o.value=!1}),(function(e){console.error(e),c.value||(u.value=!1),o.value=!1})))},s=function(t){var n=e.actionFn,r=e.close,i=void 0===r?function(){}:r;if(!o.value)if(o.value=!0,n){var a;if(e.emitEvent){if(a=n(t),e.quitOnNullishReturnValue&&!MF(a))return o.value=!1,void i(t)}else if(n.length)a=n(i),o.value=!1;else if(a=n(),!a)return void i();l(a)}else i()};return function(){var t=e.type,n=e.prefixCls,o=e.buttonProps;return Object(i["createVNode"])(CC,Fe(Fe(Fe({},oC(t)),{},{onClick:s,loading:u.value,prefixCls:n},o),{},{ref:a}),r)}}}),jF=["placement","overlayClassName"],TF=function(){return Fe(Fe({},IY()),{},{prefixCls:String,content:Et.any,title:Et.any,okType:{type:String,default:"primary"},disabled:{type:Boolean,default:!1},okText:Et.any,cancelText:Et.any,icon:Et.any,okButtonProps:{type:Object,default:void 0},cancelButtonProps:{type:Object,default:void 0},showCancel:{type:Boolean,default:!0},onConfirm:Function,onCancel:Function})},DF=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"APopconfirm",props:Pb(TF(),Fe(Fe({},KY()),{},{trigger:"click",transitionName:"zoom-big",placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0,okType:"primary",disabled:!1})),slots:["title","content","okText","icon","cancelText","cancelButton","okButton"],emits:["update:visible","visibleChange"],setup:function(e,t){var n=t.slots,r=t.emit,o=t.expose;Object(i["onMounted"])((function(){rv(void 0===e.defaultVisible,"Popconfirm","'defaultVisible' is deprecated, please use 'v-model:visible'")}));var a=Object(i["ref"])();o({getPopupDomNode:function(){var e,t;return null===(e=a.value)||void 0===e||null===(t=e.getPopupDomNode)||void 0===t?void 0:t.call(e)}});var u=Xx(!1,{value:Object(i["toRef"])(e,"visible"),defaultValue:e.defaultVisible}),c=gl(u,2),l=c[0],s=c[1],d=function(t,n){void 0===e.visible&&s(t),r("update:visible",t),r("visibleChange",t,n)},f=function(e){d(!1,e)},p=function(t){var n;return null===(n=e.onConfirm)||void 0===n?void 0:n.call(e,t)},v=function(t){var n;d(!1,t),null===(n=e.onCancel)||void 0===n||n.call(e,t)},h=function(e){e.keyCode===WN.ESC&&l&&d(!1,e)},m=function(t){var n=e.disabled;n||d(t)},g=wv("popconfirm",e),b=g.prefixCls,y=g.getPrefixCls,O=Object(i["computed"])((function(){return y()})),C=Object(i["computed"])((function(){return y("popover")})),w=Object(i["computed"])((function(){return y("btn")})),S=ll("Popconfirm",ul.Popconfirm),N=gl(S,1),M=N[0],x=function(){var t,r,o,a,u=e.okButtonProps,c=e.cancelButtonProps,l=e.title,s=void 0===l?null===(t=n.title)||void 0===t?void 0:t.call(n):l,d=e.cancelText,h=void 0===d?null===(r=n.cancel)||void 0===r?void 0:r.call(n):d,m=e.okText,g=void 0===m?null===(o=n.okText)||void 0===o?void 0:o.call(n):m,b=e.okType,y=e.icon,O=void 0===y?null===(a=n.icon)||void 0===a?void 0:a.call(n):y,S=e.showCancel,N=void 0===S||S,x=n.cancelButton,j=n.okButton,T=Fe({onClick:v,size:"small"},c),D=Fe(Fe({onClick:p},oC(b)),{},{size:"small"},u);return Object(i["createVNode"])("div",{class:"".concat(C.value,"-inner-content")},[Object(i["createVNode"])("div",{class:"".concat(C.value,"-message")},[O||Object(i["createVNode"])(df,null,null),Object(i["createVNode"])("div",{class:"".concat(C.value,"-message-title")},[s])]),Object(i["createVNode"])("div",{class:"".concat(C.value,"-buttons")},[N?x?x(T):Object(i["createVNode"])(CC,T,{default:function(){return[h||M.value.cancelText]}}):null,j?j(D):Object(i["createVNode"])(xF,{buttonProps:Fe(Fe({size:"small"},oC(b)),u),actionFn:p,close:f,prefixCls:w.value,quitOnNullishReturnValue:!0,emitEvent:!0},{default:function(){return[g||M.value.okText]}})])])};return function(){var t,r=e.placement,o=e.overlayClassName,u=Kc(e,jF),c=mO(u,["title","content","cancelText","okText","onUpdate:visible","onConfirm","onCancel"]),s=Qt(b.value,o);return Object(i["createVNode"])(GY,Fe(Fe({},c),{},{prefixCls:C.value,placement:r,onVisibleChange:m,visible:l.value,overlayClassName:s,transitionName:ns(O.value,"zoom-big",e.transitionName),ref:a}),{default:function(){return[MO((null===(t=n.default)||void 0===t?void 0:t.call(n))||[],{onKeydown:function(e){h(e)}},!1)]},title:x})}}}),EF=Bc(DF),kF=function(){return{prefixCls:String,color:String,dot:Et.any,pending:{type:Boolean,default:void 0},position:Et.oneOf(Ic("left","right","")).def(""),label:Et.any}},LF=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ATimelineItem",props:Pb(kF(),{color:"blue",pending:!1}),slots:["dot","label"],setup:function(e,t){var n=t.slots,r=wv("timeline",e),o=r.prefixCls;return function(){var t,r,a,u,c,l=e.color,d=void 0===l?"":l,f=e.pending,p=e.label,v=void 0===p?null===(t=n.label)||void 0===t?void 0:t.call(n):p,h=e.dot,m=void 0===h?null===(r=n.dot)||void 0===r?void 0:r.call(n):h,g=Qt((a={},s(a,"".concat(o.value,"-item"),!0),s(a,"".concat(o.value,"-item-pending"),f),a)),b=Qt((u={},s(u,"".concat(o.value,"-item-head"),!0),s(u,"".concat(o.value,"-item-head-custom"),m),s(u,"".concat(o.value,"-item-head-").concat(d),!0),u)),y=/blue|red|green|gray/.test(d||"")?void 0:d;return Object(i["createVNode"])("li",{class:g},[v&&Object(i["createVNode"])("div",{class:"".concat(o.value,"-item-label")},[v]),Object(i["createVNode"])("div",{class:"".concat(o.value,"-item-tail")},null),Object(i["createVNode"])("div",{class:b,style:{borderColor:y,color:y}},[m]),Object(i["createVNode"])("div",{class:"".concat(o.value,"-item-content")},[null===(c=n.default)||void 0===c?void 0:c.call(n)])])}}}),YF=function(){return{prefixCls:String,pending:Et.any,pendingDot:Et.any,reverse:{type:Boolean,default:void 0},mode:Et.oneOf(Ic("left","alternate","right",""))}},_F=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ATimeline",props:Pb(YF(),{reverse:!1,mode:""}),slots:["pending","pendingDot"],setup:function(e,t){var n=t.slots,r=wv("timeline",e),o=r.prefixCls,a=r.direction,u=function(t,n){var r=t.props||{};return"alternate"===e.mode?"right"===r.position?"".concat(o.value,"-item-right"):"left"===r.position?"".concat(o.value,"-item-left"):"".concat(o.value,n%2===0?"-item-left":"-item-right"):"left"===e.mode?"".concat(o.value,"-item-left"):"right"===e.mode||"right"===r.position?"".concat(o.value,"-item-right"):""};return function(){var t,r,c,l,d=e.pending,f=void 0===d?null===(t=n.pending)||void 0===t?void 0:t.call(n):d,p=e.pendingDot,v=void 0===p?null===(r=n.pendingDot)||void 0===r?void 0:r.call(n):p,h=e.reverse,m=e.mode,g="boolean"===typeof f?null:f,b=Bl(null===(c=n.default)||void 0===c?void 0:c.call(n)),y=f?Object(i["createVNode"])(LF,{pending:!!f,dot:v||Object(i["createVNode"])(of,null,null)},{default:function(){return[g]}}):null;y&&b.push(y);var O=h?b.reverse():b,C=O.length,w="".concat(o.value,"-item-last"),S=O.map((function(e,t){var n=t===C-2?w:"",r=t===C-1?w:"";return Object(i["cloneVNode"])(e,{class:Qt([!h&&f?n:r,u(e,t)])})})),N=O.some((function(e){var t,n;return!!(null!==(t=e.props)&&void 0!==t&&t.label||null!==(n=e.children)&&void 0!==n&&n.label)})),M=Qt(o.value,(l={},s(l,"".concat(o.value,"-pending"),!!f),s(l,"".concat(o.value,"-reverse"),!!h),s(l,"".concat(o.value,"-").concat(m),!!m&&!N),s(l,"".concat(o.value,"-label"),N),s(l,"".concat(o.value,"-rtl"),"rtl"===a.value),l));return Object(i["createVNode"])("ul",{class:M},[S])}}});_F.Item=LF,_F.install=function(e){return e.component(_F.name,_F),e.component(LF.name,LF),e};var AF=_F;function PF(e){var t=e.pageXOffset,n="scrollLeft";if("number"!==typeof t){var r=e.document;t=r.documentElement[n],"number"!==typeof t&&(t=r.body[n])}return t}function FF(e){var t,n,r=e.ownerDocument,o=r.body,i=r&&r.documentElement,a=e.getBoundingClientRect();return t=a.left,n=a.top,t-=i.clientLeft||o.clientLeft||0,n-=i.clientTop||o.clientTop||0,{left:t,top:n}}function IF(e){var t=FF(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=PF(r),t.left}var BF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},ZF=BF;function RF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){HF(e,t,n[t])}))}return e}function HF(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var VF=function(e,t){var n=RF({},e,t.attrs);return Object(i["createVNode"])(ef,RF({},n,{icon:ZF}),null)};VF.displayName="StarFilled",VF.inheritAttrs=!1;var XF=VF,JF={value:Number,index:Number,prefixCls:String,allowHalf:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},character:Et.any,characterRender:Function,focused:{type:Boolean,default:void 0},count:Number,onClick:Function,onHover:Function},zF=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"Star",inheritAttrs:!1,props:JF,emits:["hover","click"],setup:function(e,t){var n=t.slots,r=t.emit,o=function(t){var n=e.index;r("hover",t,n)},a=function(t){var n=e.index;r("click",t,n)},u=function(t){var n=e.index;13===t.keyCode&&r("click",t,n)},c=Object(i["computed"])((function(){var t=e.prefixCls,n=e.index,r=e.value,o=e.allowHalf,i=e.focused,a=n+1,u=t;return 0===r&&0===n&&i?u+=" ".concat(t,"-focused"):o&&r+.5>=a&&r<a?(u+=" ".concat(t,"-half ").concat(t,"-active"),i&&(u+=" ".concat(t,"-focused"))):(u+=" ".concat(t,a<=r?"-full":"-zero"),a===r&&i&&(u+=" ".concat(t,"-focused"))),u}));return function(){var t=e.disabled,r=e.prefixCls,l=e.characterRender,s=e.index,d=e.count,f=e.value,p=Rl(n,e,"character"),v=Object(i["createVNode"])("li",{class:c.value},[Object(i["createVNode"])("div",{onClick:t?null:a,onKeydown:t?null:u,onMousemove:t?null:o,role:"radio","aria-checked":f>s?"true":"false","aria-posinset":s+1,"aria-setsize":d,tabindex:t?-1:0},[Object(i["createVNode"])("div",{class:"".concat(r,"-first")},[p]),Object(i["createVNode"])("div",{class:"".concat(r,"-second")},[p])])]);return l&&(v=l(v,e)),v}}}),QF=function(){var e=Object(i["ref"])(new Map),t=function(t){return function(n){e.value.set(t,n)}};return Object(i["onBeforeUpdate"])((function(){e.value=new Map})),[t,e]},WF=QF,KF=function(){return{prefixCls:String,count:Number,value:Number,allowHalf:{type:Boolean,default:void 0},allowClear:{type:Boolean,default:void 0},tooltips:Array,disabled:{type:Boolean,default:void 0},character:Et.any,autofocus:{type:Boolean,default:void 0},tabindex:Et.oneOfType([Et.number,Et.string]),direction:String,id:String,onChange:Function,onHoverChange:Function,"onUpdate:value":Function,onFocus:Function,onBlur:Function,onKeydown:Function}},UF=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ARate",inheritAttrs:!1,props:Pb(KF(),{value:0,count:5,allowHalf:!1,allowClear:!0,tabindex:0,direction:"ltr"}),setup:function(e,t){var n=t.slots,r=t.attrs,o=t.emit,a=t.expose,u=wv("rate",e),c=u.prefixCls,l=u.direction,d=vb(),f=Object(i["ref"])(),p=WF(),v=gl(p,2),h=v[0],m=v[1],g=Object(i["reactive"])({value:e.value,focused:!1,cleanedValue:null,hoverValue:void 0});Object(i["watch"])((function(){return e.value}),(function(){g.value=e.value}));var b=function(e){return Yl(m.value.get(e))},y=function(t,n){var r="rtl"===l.value,o=t+1;if(e.allowHalf){var i=b(t),a=IF(i),u=i.clientWidth;(r&&n-a>u/2||!r&&n-a<u/2)&&(o-=.5)}return o},O=function(t){void 0===e.value&&(g.value=t),o("update:value",t),o("change",t),d.onFieldChange()},C=function(e,t){var n=y(t,e.pageX);n!==g.cleanedValue&&(g.hoverValue=n,g.cleanedValue=null),o("hoverChange",n)},w=function(){g.hoverValue=void 0,g.cleanedValue=null,o("hoverChange",void 0)},S=function(t,n){var r=e.allowClear,o=y(n,t.pageX),i=!1;r&&(i=o===g.value),w(),O(i?0:o),g.cleanedValue=i?o:null},N=function(e){g.focused=!0,o("focus",e)},M=function(e){g.focused=!1,o("blur",e),d.onFieldBlur()},x=function(t){var n=t.keyCode,r=e.count,i=e.allowHalf,a="rtl"===l.value;n===WN.RIGHT&&g.value<r&&!a?(g.value+=i?.5:1,O(g.value),t.preventDefault()):n===WN.LEFT&&g.value>0&&!a||n===WN.RIGHT&&g.value>0&&a?(g.value-=i?.5:1,O(g.value),t.preventDefault()):n===WN.LEFT&&g.value<r&&a&&(g.value+=i?.5:1,O(g.value),t.preventDefault()),o("keydown",t)},j=function(){e.disabled||f.value.focus()},T=function(){e.disabled||f.value.blur()};a({focus:j,blur:T}),Object(i["onMounted"])((function(){var t=e.autofocus,n=e.disabled;t&&!n&&j()}));var D=function(t,n){var r=n.index,o=e.tooltips;return o?Object(i["createVNode"])(GY,{title:o[r]},{default:function(){return[t]}}):t},E=Rl(n,e,"character")||Object(i["createVNode"])(XF,null,null);return function(){for(var t=e.count,n=e.allowHalf,o=e.disabled,a=e.tabindex,u=e.id,p=void 0===u?d.id.value:u,v=r.class,m=r.style,b=[],y=o?"".concat(c.value,"-disabled"):"",O=0;O<t;O++)b.push(Object(i["createVNode"])(zF,{ref:h(O),key:O,index:O,count:t,disabled:o,prefixCls:"".concat(c.value,"-star"),allowHalf:n,value:void 0===g.hoverValue?g.value:g.hoverValue,onClick:S,onHover:C,character:E,characterRender:D,focused:g.focused},null));var j=Qt(c.value,y,v,s({},"".concat(c.value,"-rtl"),"rtl"===l.value));return Object(i["createVNode"])("ul",Fe(Fe({},r),{},{id:p,class:j,style:m,onMouseleave:o?null:w,tabindex:o?-1:a,onFocus:o?null:N,onBlur:o?null:M,onKeydown:o?null:x,ref:f,role:"radiogroup"}),[b])}}}),GF=Bc(UF),$F={adjustX:1,adjustY:1},qF=[0,0],eI={topLeft:{points:["bl","tl"],overflow:$F,offset:[0,-4],targetOffset:qF},topCenter:{points:["bc","tc"],overflow:$F,offset:[0,-4],targetOffset:qF},topRight:{points:["br","tr"],overflow:$F,offset:[0,-4],targetOffset:qF},bottomLeft:{points:["tl","bl"],overflow:$F,offset:[0,4],targetOffset:qF},bottomCenter:{points:["tc","bc"],overflow:$F,offset:[0,4],targetOffset:qF},bottomRight:{points:["tr","br"],overflow:$F,offset:[0,4],targetOffset:qF}},tI=eI,nI=["prefixCls","arrow","showAction","overlayStyle","trigger","placement","align","getPopupContainer","transitionName","animation","overlayClassName"],rI=Object(i["defineComponent"])({compatConfig:{MODE:3},props:{minOverlayWidthMatchTrigger:{type:Boolean,default:void 0},arrow:{type:Boolean,default:!1},prefixCls:Et.string.def("rc-dropdown"),transitionName:String,overlayClassName:Et.string.def(""),openClassName:String,animation:Et.any,align:Et.object,overlayStyle:{type:Object,default:void 0},placement:Et.string.def("bottomLeft"),overlay:Et.any,trigger:Et.oneOfType([Et.string,Et.arrayOf(Et.string)]).def("hover"),alignPoint:{type:Boolean,default:void 0},showAction:Et.array,hideAction:Et.array,getPopupContainer:Function,visible:{type:Boolean,default:void 0},defaultVisible:{type:Boolean,default:!1},mouseEnterDelay:Et.number.def(.15),mouseLeaveDelay:Et.number.def(.1)},emits:["visibleChange","overlayClick"],slots:["overlay"],setup:function(e,t){var n=t.slots,r=t.emit,o=t.expose,a=Object(i["ref"])(!!e.visible);Object(i["watch"])((function(){return e.visible}),(function(e){void 0!==e&&(a.value=e)}));var u=Object(i["ref"])();o({triggerRef:u});var c=function(t){void 0===e.visible&&(a.value=!1),r("overlayClick",t)},l=function(t){void 0===e.visible&&(a.value=t),r("visibleChange",t)},d=function(){var t,r=null===(t=n.overlay)||void 0===t?void 0:t.call(n),o={prefixCls:"".concat(e.prefixCls,"-menu"),onClick:c,getPopupContainer:function(){return u.value.getPopupDomNode()}};return Object(i["createVNode"])(i["Fragment"],null,[e.arrow&&Object(i["createVNode"])("div",{class:"".concat(e.prefixCls,"-arrow")},null),NO(r,o,!1)])},f=Object(i["computed"])((function(){var t=e.minOverlayWidthMatchTrigger,n=void 0===t?!e.alignPoint:t;return n})),p=function(){var t,r=null===(t=n.default)||void 0===t?void 0:t.call(n);return a.value&&r?NO(r[0],{class:e.openClassName||"".concat(e.prefixCls,"-open")},!1):r},v=Object(i["computed"])((function(){return e.hideAction||-1===e.trigger.indexOf("contextmenu")?e.hideAction:["click"]}));return function(){var t=e.prefixCls,n=e.arrow,r=e.showAction,o=e.overlayStyle,c=e.trigger,h=e.placement,m=e.align,g=e.getPopupContainer,b=e.transitionName,y=e.animation,O=e.overlayClassName,C=Kc(e,nI);return Object(i["createVNode"])(HN,Fe(Fe({},C),{},{prefixCls:t,ref:u,popupClassName:Qt(O,s({},"".concat(t,"-show-arrow"),n)),popupStyle:o,builtinPlacements:tI,action:c,showAction:r,hideAction:v.value||[],popupPlacement:h,popupAlign:m,popupTransitionName:b,popupAnimation:y,popupVisible:a.value,stretch:f.value?"minWidth":"",onPopupVisibleChange:l,getPopupContainer:g}),{popup:d,default:p})}}}),oI=rI,iI=function(){return{arrow:{type:[Boolean,Object],default:void 0},trigger:{type:[Array,String]},overlay:Et.any,visible:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},align:{type:Object},getPopupContainer:Function,prefixCls:String,transitionName:String,placement:String,overlayClassName:String,overlayStyle:{type:Object,default:void 0},forceRender:{type:Boolean,default:void 0},mouseEnterDelay:Number,mouseLeaveDelay:Number,openClassName:String,minOverlayWidthMatchTrigger:{type:Boolean,default:void 0},destroyPopupOnHide:{type:Boolean,default:void 0},onVisibleChange:{type:Function},"onUpdate:visible":{type:Function}}},aI=aC(),uI=function(){return Fe(Fe({},iI()),{},{type:aI.type,size:String,htmlType:aI.htmlType,href:String,disabled:{type:Boolean,default:void 0},prefixCls:String,icon:Et.any,title:String,loading:aI.loading,onClick:{type:Function}})},cI={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},lI=cI;function sI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){dI(e,t,n[t])}))}return e}function dI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fI=function(e,t){var n=sI({},e,t.attrs);return Object(i["createVNode"])(ef,sI({},n,{icon:lI}),null)};fI.displayName="EllipsisOutlined",fI.inheritAttrs=!1;var pI=fI,vI=["type","disabled","loading","htmlType","class","overlay","trigger","align","visible","onVisibleChange","placement","href","title","icon","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","onClick","onUpdate:visible"],hI=CC.Group,mI=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ADropdownButton",inheritAttrs:!1,__ANT_BUTTON:!0,props:Pb(uI(),{trigger:"hover",placement:"bottomRight",type:"default"}),slots:["icon","leftButton","rightButton","overlay"],setup:function(e,t){var n=t.slots,r=t.attrs,o=t.emit,a=function(e){o("update:visible",e),o("visibleChange",e)},u=wv("dropdown-button",e),c=u.prefixCls,l=u.direction,s=u.getPopupContainer;return function(){var t,o,u=Fe(Fe({},e),r),d=u.type,f=void 0===d?"default":d,p=u.disabled,v=u.loading,h=u.htmlType,m=u.class,g=void 0===m?"":m,b=u.overlay,y=void 0===b?null===(t=n.overlay)||void 0===t?void 0:t.call(n):b,O=u.trigger,C=u.align,w=u.visible,S=(u.onVisibleChange,u.placement),N=void 0===S?"rtl"===l.value?"bottomLeft":"bottomRight":S,M=u.href,x=u.title,j=u.icon,T=void 0===j?(null===(o=n.icon)||void 0===o?void 0:o.call(n))||Object(i["createVNode"])(pI,null,null):j,D=u.mouseEnterDelay,E=u.mouseLeaveDelay,k=u.overlayClassName,L=u.overlayStyle,Y=u.destroyPopupOnHide,_=u.onClick,A=(u["onUpdate:visible"],Kc(u,vI)),P={align:C,disabled:p,trigger:p?[]:O,placement:N,getPopupContainer:s.value,onVisibleChange:a,mouseEnterDelay:D,mouseLeaveDelay:E,visible:w,overlayClassName:k,overlayStyle:L,destroyPopupOnHide:Y},F=Object(i["createVNode"])(CC,{type:f,disabled:p,loading:v,onClick:_,htmlType:h,href:M,title:x},{default:n.default}),I=Object(i["createVNode"])(CC,{type:f,icon:T},null);return Object(i["createVNode"])(hI,Fe(Fe({},A),{},{class:Qt(c.value,g)}),{default:function(){return[n.leftButton?n.leftButton({button:F}):F,Object(i["createVNode"])(bI,P,{default:function(){return[n.rightButton?n.rightButton({button:I}):I]},overlay:function(){return y}})]}})}}}),gI=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ADropdown",inheritAttrs:!1,props:Pb(iI(),{mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft",trigger:"hover"}),slots:["overlay"],setup:function(e,t){var n=t.slots,r=t.attrs,o=t.emit,a=wv("dropdown",e),c=a.prefixCls,l=a.rootPrefixCls,d=a.direction,f=a.getPopupContainer,p=Object(i["computed"])((function(){var t=e.placement,n=void 0===t?"":t,r=e.transitionName;return void 0!==r?r:n.indexOf("top")>=0?"".concat(l.value,"-slide-down"):"".concat(l.value,"-slide-up")})),v=function(){var t,r,o,a=e.overlay||(null===(t=n.overlay)||void 0===t?void 0:t.call(n)),u=Array.isArray(a)?a[0]:a;if(!u)return null;var l=u.props||{};rv(!l.mode||"vertical"===l.mode,"Dropdown",'mode="'.concat(l.mode,"\" is not supported for Dropdown's Menu."));var s=l.selectable,d=void 0!==s&&s,f=l.expandIcon,p=void 0===f?null===(r=u.children)||void 0===r||null===(o=r.expandIcon)||void 0===o?void 0:o.call(r):f,v="undefined"!==typeof p&&Zl(p)?p:Object(i["createVNode"])("span",{class:"".concat(c.value,"-menu-submenu-arrow")},[Object(i["createVNode"])(_A,{class:"".concat(c.value,"-menu-submenu-arrow-icon")},null)]),h=Zl(u)?NO(u,{mode:"vertical",selectable:d,expandIcon:function(){return v}}):u;return h},h=Object(i["computed"])((function(){var t=e.placement;if(!t)return"rtl"===d.value?"bottomRight":"bottomLeft";if(t.includes("Center")){var n=t.slice(0,t.indexOf("Center"));return rv(!t.includes("Center"),"Dropdown","You are using '".concat(t,"' placement in Dropdown, which is deprecated. Try to use '").concat(n,"' instead.")),n}return t})),m=function(e){o("update:visible",e),o("visibleChange",e)};return function(){var t,o,a,l=e.arrow,g=e.trigger,b=e.disabled,y=e.overlayClassName,O=null===(t=n.default)||void 0===t?void 0:t.call(n)[0],C=NO(O,Qc({class:Qt(null===O||void 0===O||null===(o=O.props)||void 0===o?void 0:o.class,s({},"".concat(c.value,"-rtl"),"rtl"===d.value),"".concat(c.value,"-trigger"))},b?{disabled:b}:{})),w=Qt(y,s({},"".concat(c.value,"-rtl"),"rtl"===d.value)),S=b?[]:g;S&&-1!==S.indexOf("contextmenu")&&(a=!0);var N=VY({arrowPointAtCenter:"object"===u(l)&&l.pointAtCenter,autoAdjustOverflow:!0}),M=mO(Fe(Fe(Fe({},e),r),{},{builtinPlacements:N,overlayClassName:w,arrow:l,alignPoint:a,prefixCls:c.value,getPopupContainer:f.value,transitionName:p.value,trigger:S,onVisibleChange:m,placement:h.value}),["overlay","onUpdate:visible"]);return Object(i["createVNode"])(oI,M,{default:function(){return[C]},overlay:v})}}});gI.Button=mI;var bI=gI;bI.Button=mI,bI.install=function(e){return e.component(bI.name,bI),e.component(mI.name,mI),e};var yI=bI,OI=Symbol("menuContextKey"),CI=function(e){Object(i["provide"])(OI,e)},wI=function(){return Object(i["inject"])(OI)},SI=Symbol("ForceRenderKey"),NI=function(e){Object(i["provide"])(SI,e)},MI=function(){return Object(i["inject"])(SI,!1)},xI=Symbol("menuFirstLevelContextKey"),jI=function(e){Object(i["provide"])(xI,e)},TI=function(){return Object(i["inject"])(xI,!0)},DI=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"MenuContextProvider",inheritAttrs:!1,props:{mode:{type:String,default:void 0},overflowDisabled:{type:Boolean,default:void 0},isRootMenu:{type:Boolean,default:void 0}},setup:function(e,t){var n=t.slots,r=wI(),o=Fe({},r);return void 0!==e.mode&&(o.mode=Object(i["toRef"])(e,"mode")),void 0!==e.isRootMenu&&(o.isRootMenu=Object(i["toRef"])(e,"isRootMenu")),void 0!==e.overflowDisabled&&(o.overflowDisabled=Object(i["toRef"])(e,"overflowDisabled")),CI(o),function(){var e;return null===(e=n.default)||void 0===e?void 0:e.call(n)}}}),EI=CI;function kI(){}var LI=kI,YI=1/0,_I=Fa&&1/Sh(new Fa([,-0]))[1]==YI?function(e){return new Fa(e)}:LI,AI=_I,PI=200;function FI(e,t,n){var r=-1,o=zb,i=e.length,a=!0,u=[],c=u;if(n)a=!1,o=Wb;else if(i>=PI){var l=t?null:AI(e);if(l)return Sh(l);a=!1,o=hh,c=new dh}else c=t?[]:u;e:while(++r<i){var s=e[r],d=t?t(s):s;if(s=n||0!==s?s:0,a&&d===d){var f=c.length;while(f--)if(c[f]===d)continue e;t&&c.push(d),u.push(s)}else o(c,d,n)||(c!==u&&c.push(d),u.push(s))}return u}var II=FI;function BI(e){return e&&e.length?II(e):[]}var ZI=BI,RI=Symbol("siderCollapsed"),HI=(Symbol("siderHookProvider"),"$$__vc-menu-more__key"),VI=Symbol("KeyPathContext"),XI=function(){return Object(i["inject"])(VI,{parentEventKeys:Object(i["computed"])((function(){return[]})),parentKeys:Object(i["computed"])((function(){return[]})),parentInfo:{}})},JI=function(e,t,n){var r=XI(),o=r.parentEventKeys,a=r.parentKeys,u=Object(i["computed"])((function(){return[].concat(Ae(o.value),[e])})),c=Object(i["computed"])((function(){return[].concat(Ae(a.value),[t])}));return Object(i["provide"])(VI,{parentEventKeys:u,parentKeys:c,parentInfo:n}),c},zI=Symbol("measure"),QI=Object(i["defineComponent"])({compatConfig:{MODE:3},setup:function(e,t){var n=t.slots;return Object(i["provide"])(zI,!0),function(){var e;return null===(e=n.default)||void 0===e?void 0:e.call(n)}}}),WI=function(){return Object(i["inject"])(zI,!1)},KI=JI;function UI(e){var t=wI(),n=t.mode,r=t.rtl,o=t.inlineIndent;return Object(i["computed"])((function(){return"inline"!==n.value?null:r.value?{paddingRight:"".concat(e.value*o.value,"px")}:{paddingLeft:"".concat(e.value*o.value,"px")}}))}var GI=0,$I=function(){return{id:String,role:String,disabled:Boolean,danger:Boolean,title:{type:[String,Boolean],default:void 0},icon:Et.any,onMouseenter:Function,onMouseleave:Function,onClick:Function,onKeydown:Function,onFocus:Function}},qI=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"AMenuItem",inheritAttrs:!1,props:$I(),slots:["icon","title"],setup:function(e,t){var n=t.slots,r=t.emit,o=t.attrs,a=Object(i["getCurrentInstance"])(),c=WI(),l="symbol"===u(a.vnode.key)?String(a.vnode.key):a.vnode.key;rv("symbol"!==u(a.vnode.key),"MenuItem",'MenuItem `:key="'.concat(String(l),'"` not support Symbol type'));var d="menu_item_".concat(++GI,"_$$_").concat(l),f=XI(),p=f.parentEventKeys,v=f.parentKeys,h=wI(),m=h.prefixCls,g=h.activeKeys,b=h.disabled,y=h.changeActiveKeys,O=h.rtl,C=h.inlineCollapsed,w=h.siderCollapsed,S=h.onItemClick,N=h.selectedKeys,M=h.registerMenuInfo,x=h.unRegisterMenuInfo,j=TI(),T=Object(i["ref"])(!1),D=Object(i["computed"])((function(){return[].concat(Ae(v.value),[l])})),E={eventKey:d,key:l,parentEventKeys:p,parentKeys:v,isLeaf:!0};M(d,E),Object(i["onBeforeUnmount"])((function(){x(d)})),Object(i["watch"])(g,(function(){T.value=!!g.value.find((function(e){return e===l}))}),{immediate:!0});var k=Object(i["computed"])((function(){return b.value||e.disabled})),L=Object(i["computed"])((function(){return N.value.includes(l)})),Y=Object(i["computed"])((function(){var t,n="".concat(m.value,"-item");return t={},s(t,"".concat(n),!0),s(t,"".concat(n,"-danger"),e.danger),s(t,"".concat(n,"-active"),T.value),s(t,"".concat(n,"-selected"),L.value),s(t,"".concat(n,"-disabled"),k.value),t})),_=function(t){return{key:l,eventKey:d,keyPath:D.value,eventKeyPath:[].concat(Ae(p.value),[d]),domEvent:t,item:Fe(Fe({},e),o)}},A=function(e){if(!k.value){var t=_(e);r("click",e),S(t)}},P=function(e){k.value||(y(D.value),r("mouseenter",e))},F=function(e){k.value||(y([]),r("mouseleave",e))},I=function(e){if(r("keydown",e),e.which===WN.ENTER){var t=_(e);r("click",e),S(t)}},B=function(e){y(D.value),r("focus",e)},Z=function(e,t){var n=Object(i["createVNode"])("span",{class:"".concat(m.value,"-title-content")},[t]);return(!e||Zl(t)&&"span"===t.type)&&t&&C.value&&j&&"string"===typeof t?Object(i["createVNode"])("div",{class:"".concat(m.value,"-inline-collapsed-noicon")},[t.charAt(0)]):n},R=UI(Object(i["computed"])((function(){return D.value.length})));return function(){var t,r,a,u;if(c)return null;var d=null!==(t=e.title)&&void 0!==t?t:null===(r=n.title)||void 0===r?void 0:r.call(n),f=kl(null===(a=n.default)||void 0===a?void 0:a.call(n)),p=f.length,v=d;"undefined"===typeof d?v=j&&p?f:"":!1===d&&(v="");var h={title:v};w.value||C.value||(h.title=null,h.visible=!1);var g={};"option"===e.role&&(g["aria-selected"]=L.value);var b=Rl(n,e,"icon");return Object(i["createVNode"])(GY,Fe(Fe({},h),{},{placement:O.value?"left":"right",overlayClassName:"".concat(m.value,"-inline-collapsed-tooltip")}),{default:function(){return[Object(i["createVNode"])(NM.Item,Fe(Fe(Fe({component:"li"},o),{},{id:e.id,style:Fe(Fe({},o.style||{}),R.value),class:[Y.value,(u={},s(u,"".concat(o.class),!!o.class),s(u,"".concat(m.value,"-item-only-child"),1===(b?p+1:p)),u)],role:e.role||"menuitem",tabindex:e.disabled?null:-1,"data-menu-id":l,"aria-disabled":e.disabled},g),{},{onMouseenter:P,onMouseleave:F,onClick:A,onKeydown:I,onFocus:B,title:"string"===typeof d?d:void 0}),{default:function(){return[NO(b,{class:"".concat(m.value,"-item-icon")},!1),Z(b,f)]}})]}})}}}),eB={adjustX:1,adjustY:1},tB={topLeft:{points:["bl","tl"],overflow:eB,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:eB,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:eB,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:eB,offset:[4,0]}},nB={topLeft:{points:["bl","tl"],overflow:eB,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:eB,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:eB,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:eB,offset:[4,0]}},rB={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},oB=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"PopupTrigger",inheritAttrs:!1,props:{prefixCls:String,mode:String,visible:Boolean,popupClassName:String,popupOffset:Array,disabled:Boolean,onVisibleChange:Function},slots:["popup"],emits:["visibleChange"],setup:function(e,t){var n=t.slots,r=t.emit,o=Object(i["ref"])(!1),a=wI(),u=a.getPopupContainer,c=a.rtl,l=a.subMenuOpenDelay,d=a.subMenuCloseDelay,f=a.builtinPlacements,p=a.triggerSubMenuAction,v=a.isRootMenu,h=a.forceSubMenuRender,m=a.motion,g=a.defaultMotions,b=MI(),y=Object(i["computed"])((function(){return c.value?Fe(Fe({},nB),f.value):Fe(Fe({},tB),f.value)})),O=Object(i["computed"])((function(){return rB[e.mode]})),C=Object(i["ref"])();Object(i["watch"])((function(){return e.visible}),(function(e){eC.cancel(C.value),C.value=eC((function(){o.value=e}))}),{immediate:!0}),Object(i["onBeforeUnmount"])((function(){eC.cancel(C.value)}));var w=function(e){r("visibleChange",e)},S=Object(i["computed"])((function(){var t,n,r=m.value||(null===(t=g.value)||void 0===t?void 0:t[e.mode])||(null===(n=g.value)||void 0===n?void 0:n.other),o="function"===typeof r?r():r;return o?es(o.name,{css:!0}):void 0}));return function(){var t=e.prefixCls,r=e.popupClassName,a=e.mode,f=e.popupOffset,m=e.disabled;return Object(i["createVNode"])(HN,{prefixCls:t,popupClassName:Qt("".concat(t,"-popup"),s({},"".concat(t,"-rtl"),c.value),r),stretch:"horizontal"===a?"minWidth":null,getPopupContainer:v.value?u.value:function(e){return e.parentNode},builtinPlacements:y.value,popupPlacement:O.value,popupVisible:o.value,popupAlign:f&&{offset:f},action:m?[]:[p.value],mouseEnterDelay:l.value,mouseLeaveDelay:d.value,onPopupVisibleChange:w,forceRender:b||h.value,popupAnimation:S.value},{popup:n.popup,default:n.default})}}}),iB=function(e,t){var n,r=t.slots,o=t.attrs,a=wI(),u=a.prefixCls,c=a.mode;return Object(i["createVNode"])("ul",Fe(Fe({},o),{},{class:Qt(u.value,"".concat(u.value,"-sub"),"".concat(u.value,"-").concat("inline"===c.value?"inline":"vertical")),"data-menu-list":!0}),[null===(n=r.default)||void 0===n?void 0:n.call(r)])};iB.displayName="SubMenuList";var aB=iB,uB=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"InlineSubMenuList",inheritAttrs:!1,props:{id:String,open:Boolean,keyPath:Array},setup:function(e,t){var n=t.slots,r=Object(i["computed"])((function(){return"inline"})),o=wI(),a=o.motion,u=o.mode,c=o.defaultMotions,l=Object(i["computed"])((function(){return u.value===r.value})),s=Object(i["ref"])(!l.value),d=Object(i["computed"])((function(){return!!l.value&&e.open}));Object(i["watch"])(u,(function(){l.value&&(s.value=!1)}),{flush:"post"});var f=Object(i["computed"])((function(){var t,n,o=a.value||(null===(t=c.value)||void 0===t?void 0:t[r.value])||(null===(n=c.value)||void 0===n?void 0:n.other),i="function"===typeof o?o():o;return Fe(Fe({},i),{},{appear:e.keyPath.length<=1})}));return function(){var t;return s.value?null:Object(i["createVNode"])(DI,{mode:r.value},{default:function(){return[Object(i["createVNode"])(rs,f.value,{default:function(){return[Object(i["withDirectives"])(Object(i["createVNode"])(aB,{id:e.id},{default:function(){return[null===(t=n.default)||void 0===t?void 0:t.call(n)]}}),[[i["vShow"],d.value]])]}})]}})}}}),cB=0,lB=function(){return{icon:Et.any,title:Et.any,disabled:Boolean,level:Number,popupClassName:String,popupOffset:Array,internalPopupClose:Boolean,eventKey:String,expandIcon:Function,onMouseenter:Function,onMouseleave:Function,onTitleClick:Function}},sB=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ASubMenu",inheritAttrs:!1,props:lB(),slots:["icon","title","expandIcon"],setup:function(e,t){var n,r,o=t.slots,a=t.attrs,c=t.emit;jI(!1);var l=WI(),d=Object(i["getCurrentInstance"])(),f="symbol"===u(d.vnode.key)?String(d.vnode.key):d.vnode.key;rv("symbol"!==u(d.vnode.key),"SubMenu",'SubMenu `:key="'.concat(String(f),'"` not support Symbol type'));var p=jl(f)?f:"sub_menu_".concat(++cB,"_$$_not_set_key"),v=null!==(n=e.eventKey)&&void 0!==n?n:jl(f)?"sub_menu_".concat(++cB,"_$$_").concat(f):p,h=XI(),m=h.parentEventKeys,g=h.parentInfo,b=h.parentKeys,y=Object(i["computed"])((function(){return[].concat(Ae(b.value),[p])})),O=Object(i["ref"])([]),C={eventKey:v,key:p,parentEventKeys:m,childrenEventKeys:O,parentKeys:b};null===(r=g.childrenEventKeys)||void 0===r||r.value.push(v),Object(i["onBeforeUnmount"])((function(){var e;g.childrenEventKeys&&(g.childrenEventKeys.value=null===(e=g.childrenEventKeys)||void 0===e?void 0:e.value.filter((function(e){return e!=v})))})),KI(v,p,C);var w=wI(),S=w.prefixCls,N=w.activeKeys,M=w.disabled,x=w.changeActiveKeys,j=w.mode,T=w.inlineCollapsed,D=w.antdMenuTheme,E=w.openKeys,k=w.overflowDisabled,L=w.onOpenChange,Y=w.registerMenuInfo,_=w.unRegisterMenuInfo,A=w.selectedSubMenuKeys,P=w.expandIcon,F=void 0!==f&&null!==f,I=!l&&(MI()||!F);NI(I),(l&&F||!l&&!F||I)&&(Y(v,C),Object(i["onBeforeUnmount"])((function(){_(v)})));var B=Object(i["computed"])((function(){return"".concat(S.value,"-submenu")})),Z=Object(i["computed"])((function(){return M.value||e.disabled})),R=Object(i["ref"])(),H=Object(i["ref"])(),V=Object(i["computed"])((function(){return E.value.includes(p)})),X=Object(i["computed"])((function(){return!k.value&&V.value})),J=Object(i["computed"])((function(){return A.value.includes(p)})),z=Object(i["ref"])(!1);Object(i["watch"])(N,(function(){z.value=!!N.value.find((function(e){return e===p}))}),{immediate:!0});var Q=function(e){Z.value||(c("titleClick",e,p),"inline"===j.value&&L(p,!V.value))},W=function(e){Z.value||(x(y.value),c("mouseenter",e))},K=function(e){Z.value||(x([]),c("mouseleave",e))},U=UI(Object(i["computed"])((function(){return y.value.length}))),G=function(e){"inline"!==j.value&&L(p,e)},$=function(){x(y.value)},q=v&&"".concat(v,"-popup"),ee=Object(i["computed"])((function(){return Qt(S.value,"".concat(S.value,"-").concat(D.value),e.popupClassName)})),te=function(e,t){if(!t)return T.value&&!b.value.length&&e&&"string"===typeof e?Object(i["createVNode"])("div",{class:"".concat(S.value,"-inline-collapsed-noicon")},[e.charAt(0)]):Object(i["createVNode"])("span",{class:"".concat(S.value,"-title-content")},[e]);var n=Zl(e)&&"span"===e.type;return Object(i["createVNode"])(i["Fragment"],null,[NO(t,{class:"".concat(S.value,"-item-icon")},!1),n?e:Object(i["createVNode"])("span",{class:"".concat(S.value,"-title-content")},[e])])},ne=Object(i["computed"])((function(){return"inline"!==j.value&&y.value.length>1?"vertical":j.value})),re=Object(i["computed"])((function(){return"horizontal"===j.value?"vertical":j.value})),oe=Object(i["computed"])((function(){return"horizontal"===ne.value?"vertical":ne.value})),ie=function(){var t=B.value,n=Rl(o,e,"icon"),r=e.expandIcon||o.expandIcon||P.value,a=te(Rl(o,e,"title"),n);return Object(i["createVNode"])("div",{style:U.value,class:"".concat(t,"-title"),tabindex:Z.value?null:-1,ref:R,title:"string"===typeof a?a:null,"data-menu-id":p,"aria-expanded":X.value,"aria-haspopup":!0,"aria-controls":q,"aria-disabled":Z.value,onClick:Q,onFocus:$},[a,"horizontal"!==j.value&&r?r(Fe(Fe({},e),{},{isOpen:X.value})):Object(i["createVNode"])("i",{class:"".concat(t,"-arrow")},null)])};return function(){var t,n;if(l)return F?null===(n=o.default)||void 0===n?void 0:n.call(o):null;var r=B.value,u=function(){return null};return u=k.value||"inline"===j.value?function(){return Object(i["createVNode"])(oB,null,{default:ie})}:function(){return Object(i["createVNode"])(oB,{mode:ne.value,prefixCls:r,visible:!e.internalPopupClose&&X.value,popupClassName:ee.value,popupOffset:e.popupOffset,disabled:Z.value,onVisibleChange:G},{default:function(){return[ie()]},popup:function(){return Object(i["createVNode"])(DI,{mode:oe.value,isRootMenu:!1},{default:function(){return[Object(i["createVNode"])(aB,{id:q,ref:H},{default:o.default})]}})}})},Object(i["createVNode"])(DI,{mode:re.value},{default:function(){return[Object(i["createVNode"])(NM.Item,Fe(Fe({component:"li"},a),{},{role:"none",class:Qt(r,"".concat(r,"-").concat(j.value),a.class,(t={},s(t,"".concat(r,"-open"),X.value),s(t,"".concat(r,"-active"),z.value),s(t,"".concat(r,"-selected"),J.value),s(t,"".concat(r,"-disabled"),Z.value),t)),onMouseenter:W,onMouseleave:K,"data-submenu-id":p}),{default:function(){return Object(i["createVNode"])(i["Fragment"],null,[u(),!k.value&&Object(i["createVNode"])(uB,{id:q,open:X.value,keyPath:y.value},{default:o.default})])}})]}})}}}),dB=function(){return{id:String,prefixCls:String,disabled:Boolean,inlineCollapsed:Boolean,disabledOverflow:Boolean,forceSubMenuRender:Boolean,openKeys:Array,selectedKeys:Array,activeKey:String,selectable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},motion:Object,theme:{type:String,default:"light"},mode:{type:String,default:"vertical"},inlineIndent:{type:Number,default:24},subMenuOpenDelay:{type:Number,default:.1},subMenuCloseDelay:{type:Number,default:.1},builtinPlacements:{type:Object},triggerSubMenuAction:{type:String,default:"hover"},getPopupContainer:Function,expandIcon:Function,onOpenChange:Function,onSelect:Function,onDeselect:Function,onClick:[Function,Array],onFocus:Function,onBlur:Function,onMousedown:Function,"onUpdate:openKeys":Function,"onUpdate:selectedKeys":Function,"onUpdate:activeKey":Function}},fB=[],pB=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"AMenu",inheritAttrs:!1,props:dB(),slots:["expandIcon","overflowedIndicator"],setup:function(e,t){var n=t.slots,r=t.emit,o=t.attrs,a=wv("menu",e),u=a.prefixCls,c=a.direction,l=a.getPrefixCls,d=Object(i["ref"])({}),f=Object(i["inject"])(RI,Object(i["ref"])(void 0)),p=Object(i["computed"])((function(){return void 0!==f.value?f.value:e.inlineCollapsed})),v=Object(i["ref"])(!1);Object(i["onMounted"])((function(){v.value=!0})),Object(i["watchEffect"])((function(){rv(!(!0===e.inlineCollapsed&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),rv(!(void 0!==f.value&&!0===e.inlineCollapsed),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead.")}));var h=Object(i["ref"])([]),m=Object(i["ref"])([]),g=Object(i["ref"])({});Object(i["watch"])(d,(function(){for(var e={},t=0,n=Object.values(d.value);t<n.length;t++){var r=n[t];e[r.key]=r}g.value=e}),{flush:"post"}),Object(i["watchEffect"])((function(){if(void 0!==e.activeKey){var t=[],n=e.activeKey?g.value[e.activeKey]:void 0;t=n&&void 0!==e.activeKey?ZI([].concat(Object(i["unref"])(n.parentKeys),e.activeKey)):[],bk(h.value,t)||(h.value=t)}})),Object(i["watch"])((function(){return e.selectedKeys}),(function(e){e&&(m.value=e.slice())}),{immediate:!0,deep:!0});var b=Object(i["ref"])([]);Object(i["watch"])([g,m],(function(){var e=[];m.value.forEach((function(t){var n=g.value[t];n&&(e=e.concat(Object(i["unref"])(n.parentKeys)))})),e=ZI(e),bk(b.value,e)||(b.value=e)}),{immediate:!0});var y,O=function(t){if(e.selectable){var n,o=t.key,i=m.value.includes(o);n=e.multiple?i?m.value.filter((function(e){return e!==o})):[].concat(Ae(m.value),[o]):[o];var a=Fe(Fe({},t),{},{selectedKeys:n});bk(n,m.value)||(void 0===e.selectedKeys&&(m.value=n),r("update:selectedKeys",n),i&&e.multiple?r("deselect",a):r("select",a)),"inline"!==M.value&&!e.multiple&&C.value.length&&T(fB)}},C=Object(i["ref"])([]);Object(i["watch"])((function(){return e.openKeys}),(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:C.value;bk(C.value,e)||(C.value=e.slice())}),{immediate:!0,deep:!0});var w=function(t){clearTimeout(y),y=setTimeout((function(){void 0===e.activeKey&&(h.value=t),r("update:activeKey",t[t.length-1])}))},S=Object(i["computed"])((function(){return!!e.disabled})),N=Object(i["computed"])((function(){return"rtl"===c.value})),M=Object(i["ref"])("vertical"),x=Object(i["ref"])(!1);Object(i["watchEffect"])((function(){"inline"!==e.mode&&"vertical"!==e.mode||!p.value?(M.value=e.mode,x.value=!1):(M.value="vertical",x.value=p.value)}));var j=Object(i["computed"])((function(){return"inline"===M.value})),T=function(e){C.value=e,r("update:openKeys",e),r("openChange",e)},D=Object(i["ref"])(C.value),E=Object(i["ref"])(!1);Object(i["watch"])(C,(function(){j.value&&(D.value=C.value)}),{immediate:!0}),Object(i["watch"])(j,(function(){E.value?j.value?C.value=D.value:T(fB):E.value=!0}),{immediate:!0});var k=Object(i["computed"])((function(){var t;return t={},s(t,"".concat(u.value),!0),s(t,"".concat(u.value,"-root"),!0),s(t,"".concat(u.value,"-").concat(M.value),!0),s(t,"".concat(u.value,"-inline-collapsed"),x.value),s(t,"".concat(u.value,"-rtl"),N.value),s(t,"".concat(u.value,"-").concat(e.theme),!0),t})),L=Object(i["computed"])((function(){return l()})),Y=Object(i["computed"])((function(){return{horizontal:{name:"".concat(L.value,"-slide-up")},inline:ob,other:{name:"".concat(L.value,"-zoom-big")}}}));jI(!0);var _=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[],r=d.value;return t.forEach((function(t){var o=r[t],a=o.key,u=o.childrenEventKeys;n.push.apply(n,[a].concat(Ae(e(Object(i["unref"])(u)))))})),n},A=function(e){r("click",e),O(e)},P=function(e,t){var n,r=(null===(n=g.value[e])||void 0===n?void 0:n.childrenEventKeys)||[],o=C.value.filter((function(t){return t!==e}));if(t)o.push(e);else if("inline"!==M.value){var a=_(Object(i["unref"])(r));o=ZI(o.filter((function(e){return!a.includes(e)})))}bk(C,o)||T(o)},F=function(e,t){d.value=Fe(Fe({},d.value),{},s({},e,t))},I=function(e){delete d.value[e],d.value=Fe({},d.value)},B=Object(i["ref"])(0),Z=Object(i["computed"])((function(){return e.expandIcon||n.expandIcon?function(t){var r=e.expandIcon||n.expandIcon;return r="function"===typeof r?r(t):r,NO(r,{class:"".concat(u.value,"-submenu-expand-icon")},!1)}:null}));return EI({store:d,prefixCls:u,activeKeys:h,openKeys:C,selectedKeys:m,changeActiveKeys:w,disabled:S,rtl:N,mode:M,inlineIndent:Object(i["computed"])((function(){return e.inlineIndent})),subMenuCloseDelay:Object(i["computed"])((function(){return e.subMenuCloseDelay})),subMenuOpenDelay:Object(i["computed"])((function(){return e.subMenuOpenDelay})),builtinPlacements:Object(i["computed"])((function(){return e.builtinPlacements})),triggerSubMenuAction:Object(i["computed"])((function(){return e.triggerSubMenuAction})),getPopupContainer:Object(i["computed"])((function(){return e.getPopupContainer})),inlineCollapsed:x,antdMenuTheme:Object(i["computed"])((function(){return e.theme})),siderCollapsed:f,defaultMotions:Object(i["computed"])((function(){return v.value?Y.value:null})),motion:Object(i["computed"])((function(){return v.value?e.motion:null})),overflowDisabled:Object(i["ref"])(void 0),onOpenChange:P,onItemClick:A,registerMenuInfo:F,unRegisterMenuInfo:I,selectedSubMenuKeys:b,isRootMenu:Object(i["ref"])(!0),expandIcon:Z,forceSubMenuRender:Object(i["computed"])((function(){return e.forceSubMenuRender}))}),function(){var t,r,a=kl(null===(t=n.default)||void 0===t?void 0:t.call(n)),c=B.value>=a.length-1||"horizontal"!==M.value||e.disabledOverflow,l="horizontal"!==M.value||e.disabledOverflow?a:a.map((function(e,t){return Object(i["createVNode"])(DI,{key:e.key,overflowDisabled:t>B.value},{default:function(){return e}})})),s=(null===(r=n.overflowedIndicator)||void 0===r?void 0:r.call(n))||Object(i["createVNode"])(pI,null,null);return Object(i["createVNode"])(NM,Fe(Fe({},o),{},{onMousedown:e.onMousedown,prefixCls:"".concat(u.value,"-overflow"),component:"ul",itemComponent:qI,class:[k.value,o.class],role:"menu",id:e.id,data:l,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?a.slice(-t):null;return Object(i["createVNode"])(i["Fragment"],null,[Object(i["createVNode"])(sB,{eventKey:HI,key:HI,title:s,disabled:c,internalPopupClose:0===t},{default:function(){return n}}),Object(i["createVNode"])(QI,null,{default:function(){return[Object(i["createVNode"])(sB,{eventKey:HI,key:HI,title:s,disabled:c,internalPopupClose:0===t},{default:function(){return n}})]}})])},maxCount:"horizontal"!==M.value||e.disabledOverflow?NM.INVALIDATE:NM.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){B.value=e}}),{default:function(){return[Object(i["createVNode"])(i["Teleport"],{to:"body"},{default:function(){return[Object(i["createVNode"])("div",{style:{display:"none"},"aria-hidden":!0},[Object(i["createVNode"])(QI,null,{default:function(){return[l]}})])]}})]}})}}}),vB=function(){return{title:Et.any}},hB=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"AMenuItemGroup",inheritAttrs:!1,props:vB(),slots:["title"],setup:function(e,t){var n=t.slots,r=t.attrs,o=wI(),a=o.prefixCls,u=Object(i["computed"])((function(){return"".concat(a.value,"-item-group")})),c=WI();return function(){var t,o;return c?null===(t=n.default)||void 0===t?void 0:t.call(n):Object(i["createVNode"])("li",Fe(Fe({},r),{},{onClick:function(e){return e.stopPropagation()},class:u.value}),[Object(i["createVNode"])("div",{title:"string"===typeof e.title?e.title:void 0,class:"".concat(u.value,"-title")},[Rl(n,e,"title")]),Object(i["createVNode"])("ul",{class:"".concat(u.value,"-list")},[null===(o=n.default)||void 0===o?void 0:o.call(n)])])}}}),mB=function(){return{prefixCls:String,dashed:Boolean}},gB=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"AMenuDivider",props:mB(),setup:function(e){var t=wv("menu",e),n=t.prefixCls,r=Object(i["computed"])((function(){var t;return t={},s(t,"".concat(n.value,"-item-divider"),!0),s(t,"".concat(n.value,"-item-divider-dashed"),!!e.dashed),t}));return function(){return Object(i["createVNode"])("li",{class:r.value},null)}}});pB.install=function(e){return e.component(pB.name,pB),e.component(qI.name,qI),e.component(sB.name,sB),e.component(gB.name,gB),e.component(hB.name,hB),e},pB.Item=qI,pB.Divider=gB,pB.SubMenu=sB,pB.ItemGroup=hB;var bB=pB;function yB(e,t){var n="cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"),r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}function OB(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(kq){return t}}function CB(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new FormData;e.data&&Object.keys(e.data).forEach((function(t){var r=e.data[t];Array.isArray(r)?r.forEach((function(e){n.append("".concat(t,"[]"),e)})):n.append(t,r)})),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){return t.status<200||t.status>=300?e.onError(yB(e,t),OB(t)):e.onSuccess(OB(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};return null!==r["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(r).forEach((function(e){null!==r[e]&&t.setRequestHeader(e,r[e])})),t.send(n),{abort:function(){t.abort()}}}var wB=+new Date,SB=0;function NB(){return"vc-upload-".concat(wB,"-").concat(++SB)}var MB=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",i=o.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if("."===t.charAt(0)){var n=r.toLowerCase(),a=t.toLowerCase(),u=[a];return".jpg"!==a&&".jpeg"!==a||(u=[".jpg",".jpeg"]),u.some((function(e){return n.endsWith(e)}))}return/\/\*$/.test(t)?i===t.replace(/\/.*$/,""):o===t||!!/^\w+$/.test(t)&&(Kt(!1,"Upload takes an invalidate 'accept' type '".concat(t,"'.Skip for check.")),!0)}))}return!0};function xB(e,t){var n=e.createReader(),r=[];function o(){n.readEntries((function(e){var n=Array.prototype.slice.apply(e);r=r.concat(n);var i=!n.length;i?t(r):o()}))}o()}var jB=function(e,t,n){var r=function e(r,o){r.path=o||"",r.isFile?r.file((function(e){n(e)&&(r.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=r.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))})):r.isDirectory&&xB(r,(function(t){t.forEach((function(t){e(t,"".concat(o).concat(r.name,"/"))}))}))};e.forEach((function(e){r(e.webkitGetAsEntry())}))},TB=jB,DB=function(){return{capture:[Boolean,String],multipart:{type:Boolean,default:void 0},name:String,disabled:{type:Boolean,default:void 0},componentTag:String,action:[String,Function],method:String,directory:{type:Boolean,default:void 0},data:[Object,Function],headers:Object,accept:String,multiple:{type:Boolean,default:void 0},onBatchStart:Function,onReject:Function,onStart:Function,onError:Function,onSuccess:Function,onProgress:Function,beforeUpload:Function,customRequest:Function,withCredentials:{type:Boolean,default:void 0},openFileDialogOnClick:{type:Boolean,default:void 0},prefixCls:String,id:String,onMouseenter:Function,onMouseleave:Function,onClick:Function}};function EB(e,t,n,r){var o=-1,i=null==e?0:e.length;while(++o<i){var a=e[o];t(r,a,n(a),e)}return r}var kB=EB;function LB(e){return function(t,n,r){var o=-1,i=Object(t),a=r(t),u=a.length;while(u--){var c=a[e?u:++o];if(!1===n(i[c],c,i))break}return t}}var YB=LB,_B=YB(),AB=_B;function PB(e,t){return e&&AB(e,t,Xi)}var FB=PB;function IB(e,t){return function(n,r){if(null==n)return n;if(!Hi(n))return e(n,r);var o=n.length,i=t?o:-1,a=Object(n);while(t?i--:++i<o)if(!1===r(a[i],i,a))break;return n}}var BB=IB,ZB=BB(FB),RB=ZB;function HB(e,t,n,r){return RB(e,(function(e,o,i){t(r,e,n(e),i)})),r}var VB=HB;function XB(e,t){return function(n,r){var o=Io(n)?kB:VB,i=t?t():{};return o(n,e,vg(r,2),i)}}var JB=XB,zB=JB((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),QB=zB,WB=["componentTag","prefixCls","disabled","id","multiple","accept","capture","directory","openFileDialogOnClick","onMouseenter","onMouseleave"],KB=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"AjaxUploader",inheritAttrs:!1,props:DB(),setup:function(e,t){var n=t.slots,r=t.attrs,o=t.expose,a=Object(i["ref"])(NB()),c={},l=Object(i["ref"])(),d=!1,f=function(){var t=Uf($f.a.mark((function t(n,r){var o,i,a,c,l,s,d,f,p;return $f.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(o=e.beforeUpload,i=n,!o){t.next=14;break}return t.prev=3,t.next=6,o(n,r);case 6:i=t.sent,t.next=12;break;case 9:t.prev=9,t.t0=t["catch"](3),i=!1;case 12:if(!1!==i){t.next=14;break}return t.abrupt("return",{origin:n,parsedFile:null,action:null,data:null});case 14:if(a=e.action,"function"!==typeof a){t.next=21;break}return t.next=18,a(n);case 18:c=t.sent,t.next=22;break;case 21:c=a;case 22:if(l=e.data,"function"!==typeof l){t.next=29;break}return t.next=26,l(n);case 26:s=t.sent,t.next=30;break;case 29:s=l;case 30:return d="object"!==u(i)&&"string"!==typeof i||!i?n:i,f=d instanceof File?d:new File([d],n.name,{type:n.type}),p=f,p.uid=n.uid,t.abrupt("return",{origin:n,data:s,parsedFile:p,action:c});case 35:case"end":return t.stop()}}),t,null,[[3,9]])})));return function(e,n){return t.apply(this,arguments)}}(),p=function(t){var n=t.data,r=t.origin,o=t.action,i=t.parsedFile;if(d){var a=e.onStart,u=e.customRequest,l=e.name,s=e.headers,f=e.withCredentials,p=e.method,v=r.uid,h=u||CB,m={action:o,filename:l,data:n,file:i,headers:s,withCredentials:f,method:p||"post",onProgress:function(t){var n=e.onProgress;null===n||void 0===n||n(t,i)},onSuccess:function(t,n){var r=e.onSuccess;null===r||void 0===r||r(t,i,n),delete c[v]},onError:function(t,n){var r=e.onError;null===r||void 0===r||r(t,n,i),delete c[v]}};a(r),c[v]=h(m)}},v=function(){a.value=NB()},h=function(e){if(e){var t=e.uid?e.uid:e;c[t]&&c[t].abort&&c[t].abort(),delete c[t]}else Object.keys(c).forEach((function(e){c[e]&&c[e].abort&&c[e].abort(),delete c[e]}))};Object(i["onMounted"])((function(){d=!0})),Object(i["onBeforeUnmount"])((function(){d=!1,h()}));var m=function(t){var n=Ae(t),r=n.map((function(e){return e.uid=NB(),f(e,n)}));Promise.all(r).then((function(t){var n=e.onBatchStart;null===n||void 0===n||n(t.map((function(e){var t=e.origin,n=e.parsedFile;return{file:t,parsedFile:n}}))),t.filter((function(e){return null!==e.parsedFile})).forEach((function(e){p(e)}))}))},g=function(t){var n=e.accept,r=e.directory,o=t.target.files,i=Ae(o).filter((function(e){return!r||MB(e,n)}));m(i),v()},b=function(t){var n=l.value;if(n){var r=e.onClick;n.click(),r&&r(t)}},y=function(e){"Enter"===e.key&&b(e)},O=function(t){var n=e.multiple;if(t.preventDefault(),"dragover"!==t.type)if(e.directory)TB(Array.prototype.slice.call(t.dataTransfer.items),m,(function(t){return MB(t,e.accept)}));else{var r=QB(Array.prototype.slice.call(t.dataTransfer.files),(function(t){return MB(t,e.accept)})),o=r[0],i=r[1];!1===n&&(o=o.slice(0,1)),m(o),i.length&&e.onReject&&e.onReject(i)}};return o({abort:h}),function(){var t,o,u=e.componentTag,c=e.prefixCls,d=e.disabled,f=e.id,p=e.multiple,v=e.accept,h=e.capture,m=e.directory,C=e.openFileDialogOnClick,w=e.onMouseenter,S=e.onMouseleave,N=Kc(e,WB),M=(t={},s(t,c,!0),s(t,"".concat(c,"-disabled"),d),s(t,r.class,!!r.class),t),x=m?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},j=d?{}:{onClick:C?b:function(){},onKeydown:C?y:function(){},onMouseenter:w,onMouseleave:S,onDrop:O,onDragover:O,tabindex:"0"};return Object(i["createVNode"])(u,Fe(Fe({},j),{},{class:M,role:"button",style:r.style}),{default:function(){return[Object(i["createVNode"])("input",Fe(Fe(Fe({},aM(N,{aria:!0,data:!0})),{},{id:f,type:"file",ref:l,onClick:function(e){return e.stopPropagation()},key:a.value,style:{display:"none"},accept:v},x),{},{multiple:p,onChange:g},null!=h?{capture:h}:{}),null),null===(o=n.default)||void 0===o?void 0:o.call(n)]}})}}});function UB(){}var GB=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"Upload",inheritAttrs:!1,props:Pb(DB(),{componentTag:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:UB,onError:UB,onSuccess:UB,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0}),setup:function(e,t){var n=t.slots,r=t.attrs,o=t.expose,a=Object(i["ref"])(),u=function(e){var t;null===(t=a.value)||void 0===t||t.abort(e)};return o({abort:u}),function(){return Object(i["createVNode"])(KB,Fe(Fe(Fe({},e),r),{},{ref:a}),n)}}}),$B=GB,qB={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},eZ=qB;function tZ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){nZ(e,t,n[t])}))}return e}function nZ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rZ=function(e,t){var n=tZ({},e,t.attrs);return Object(i["createVNode"])(ef,tZ({},n,{icon:eZ}),null)};rZ.displayName="PaperClipOutlined",rZ.inheritAttrs=!1;var oZ=rZ,iZ={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:e}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:t}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:t}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:t}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:e}}]}},name:"picture",theme:"twotone"},aZ=iZ;function uZ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){cZ(e,t,n[t])}))}return e}function cZ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var lZ=function(e,t){var n=uZ({},e,t.attrs);return Object(i["createVNode"])(ef,uZ({},n,{icon:aZ}),null)};lZ.displayName="PictureTwoTone",lZ.inheritAttrs=!1;var sZ=lZ,dZ={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:t}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}}]}},name:"file",theme:"twotone"},fZ=dZ;function pZ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){vZ(e,t,n[t])}))}return e}function vZ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hZ=function(e,t){var n=pZ({},e,t.attrs);return Object(i["createVNode"])(ef,pZ({},n,{icon:fZ}),null)};hZ.displayName="FileTwoTone",hZ.inheritAttrs=!1;var mZ=hZ;function gZ(){return{capture:[Boolean,String],type:String,name:String,defaultFileList:Array,fileList:Array,action:[String,Function],directory:{type:Boolean,default:void 0},data:[Object,Function],method:String,headers:Object,showUploadList:{type:[Boolean,Object],default:void 0},multiple:{type:Boolean,default:void 0},accept:String,beforeUpload:Function,onChange:Function,"onUpdate:fileList":Function,onDrop:Function,listType:String,onPreview:Function,onDownload:Function,onReject:Function,onRemove:Function,remove:Function,supportServerRender:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},prefixCls:String,customRequest:Function,withCredentials:{type:Boolean,default:void 0},openFileDialogOnClick:{type:Boolean,default:void 0},locale:{type:Object,default:void 0},id:String,previewFile:Function,transformFile:Function,iconRender:Function,isImageUrl:Function,progress:Object,itemRender:Function,maxCount:Number,height:[Number,String],removeIcon:Function,downloadIcon:Function,previewIcon:Function}}function bZ(){return{listType:String,onPreview:Function,onDownload:Function,onRemove:Function,items:Array,progress:Object,prefixCls:String,showRemoveIcon:{type:Boolean,default:void 0},showDownloadIcon:{type:Boolean,default:void 0},showPreviewIcon:{type:Boolean,default:void 0},removeIcon:Function,downloadIcon:Function,previewIcon:Function,locale:{type:Object,default:void 0},previewFile:Function,iconRender:Function,isImageUrl:Function,appendAction:Function,appendActionVisible:{type:Boolean,default:void 0},itemRender:Function}}function yZ(e){return Fe(Fe({},e),{},{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function OZ(e,t){var n=Ae(t),r=n.findIndex((function(t){var n=t.uid;return n===e.uid}));return-1===r?n.push(e):n[r]=e,n}function CZ(e,t){var n=void 0!==e.uid?"uid":"name";return t.filter((function(t){return t[n]===e[n]}))[0]}function wZ(e,t){var n=void 0!==e.uid?"uid":"name",r=t.filter((function(t){return t[n]!==e[n]}));return r.length===t.length?null:r}var SZ=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/"),n=t[t.length-1],r=n.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]},NZ=function(e){return 0===e.indexOf("image/")},MZ=function(e){if(e.type&&!e.thumbUrl)return NZ(e.type);var t=e.thumbUrl||e.url||"",n=SZ(t);return!(!/^data:image\//.test(t)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(n))||!/^data:/.test(t)&&!n},xZ=200;function jZ(e){return new Promise((function(t){if(e.type&&NZ(e.type)){var n=document.createElement("canvas");n.width=xZ,n.height=xZ,n.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(xZ,"px; height: ").concat(xZ,"px; z-index: 9999; display: none;"),document.body.appendChild(n);var r=n.getContext("2d"),o=new Image;o.onload=function(){var e=o.width,i=o.height,a=xZ,u=xZ,c=0,l=0;e>i?(u=i*(xZ/e),l=-(u-a)/2):(a=e*(xZ/i),c=-(a-u)/2),r.drawImage(o,c,l,a,u);var s=n.toDataURL();document.body.removeChild(n),t(s)},o.src=window.URL.createObjectURL(e)}else t("")}))}var TZ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},DZ=TZ;function EZ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){kZ(e,t,n[t])}))}return e}function kZ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var LZ=function(e,t){var n=EZ({},e,t.attrs);return Object(i["createVNode"])(ef,EZ({},n,{icon:DZ}),null)};LZ.displayName="DeleteOutlined",LZ.inheritAttrs=!1;var YZ=LZ,_Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},AZ=_Z;function PZ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){FZ(e,t,n[t])}))}return e}function FZ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var IZ=function(e,t){var n=PZ({},e,t.attrs);return Object(i["createVNode"])(ef,PZ({},n,{icon:AZ}),null)};IZ.displayName="DownloadOutlined",IZ.inheritAttrs=!1;var BZ=IZ,ZZ=Ic("normal","exception","active","success"),RZ=Ic("line","circle","dashboard"),HZ=Ic("default","small"),VZ=function(){return{prefixCls:String,type:Et.oneOf(RZ),percent:Number,format:{type:Function},status:Et.oneOf(ZZ),showInfo:{type:Boolean,default:void 0},strokeWidth:Number,strokeLinecap:String,strokeColor:{type:[String,Object],default:void 0},trailColor:String,width:Number,success:{type:Object,default:function(){return{}}},gapDegree:Number,gapPosition:String,size:Et.oneOf(HZ),steps:Number,successPercent:Number,title:String}};function XZ(e){return!e||e<0?0:e>100?100:e}function JZ(e){var t=e.success,n=e.successPercent,r=n;return t&&"progress"in t&&(rv(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),r=t.progress),t&&"percent"in t&&(r=t.percent),r}var zZ=["from","to","direction"],QZ=function(){return Fe(Fe({},VZ()),{},{prefixCls:String,direction:{type:String}})},WZ=function(e){var t=[];return Object.keys(e).forEach((function(n){var r=parseFloat(n.replace(/%/g,""));isNaN(r)||t.push({key:r,value:e[n]})})),t=t.sort((function(e,t){return e.key-t.key})),t.map((function(e){var t=e.key,n=e.value;return"".concat(n," ").concat(t,"%")})).join(", ")},KZ=function(e,t){var n=e.from,r=void 0===n?od.blue:n,o=e.to,i=void 0===o?od.blue:o,a=e.direction,u=void 0===a?"rtl"===t?"to left":"to right":a,c=Kc(e,zZ);if(0!==Object.keys(c).length){var l=WZ(c);return{backgroundImage:"linear-gradient(".concat(u,", ").concat(l,")")}}return{backgroundImage:"linear-gradient(".concat(u,", ").concat(r,", ").concat(i,")")}},UZ=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"Line",props:QZ(),setup:function(e,t){var n=t.slots,r=Object(i["computed"])((function(){var t=e.strokeColor,n=e.direction;return t&&"string"!==typeof t?KZ(t,n):{background:t}})),o=Object(i["computed"])((function(){return e.trailColor?{backgroundColor:e.trailColor}:void 0})),a=Object(i["computed"])((function(){var t=e.percent,n=e.strokeWidth,o=e.strokeLinecap,i=e.size;return Fe({width:"".concat(XZ(t),"%"),height:"".concat(n||("small"===i?6:8),"px"),borderRadius:"square"===o?0:""},r.value)})),u=Object(i["computed"])((function(){return JZ(e)})),c=Object(i["computed"])((function(){var t=e.strokeWidth,n=e.size,r=e.strokeLinecap,o=e.success;return{width:"".concat(XZ(u.value),"%"),height:"".concat(t||("small"===n?6:8),"px"),borderRadius:"square"===r?0:"",backgroundColor:null===o||void 0===o?void 0:o.strokeColor}}));return function(){var t;return Object(i["createVNode"])(i["Fragment"],null,[Object(i["createVNode"])("div",{class:"".concat(e.prefixCls,"-outer")},[Object(i["createVNode"])("div",{class:"".concat(e.prefixCls,"-inner"),style:o.value},[Object(i["createVNode"])("div",{class:"".concat(e.prefixCls,"-bg"),style:a.value},null),void 0!==u.value?Object(i["createVNode"])("div",{class:"".concat(e.prefixCls,"-success-bg"),style:c.value},null):null])]),null===(t=n.default)||void 0===t?void 0:t.call(n)])}}}),GZ={percent:0,prefixCls:"vc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1},$Z=function(e){var t=Object(i["ref"])(null);return Object(i["onUpdated"])((function(){var n=Date.now(),r=!1;e.value.forEach((function(e){var o=(null===e||void 0===e?void 0:e.$el)||e;if(o){r=!0;var i=o.style;i.transitionDuration=".3s, .3s, .3s, .06s",t.value&&n-t.value<100&&(i.transitionDuration="0s, 0s")}})),r&&(t.value=Date.now())})),e},qZ={gapDegree:Number,gapPosition:{type:String},percent:{type:[Array,Number]},prefixCls:String,strokeColor:{type:[Object,String,Array]},strokeLinecap:{type:String},strokeWidth:Number,trailColor:String,trailWidth:Number,transition:String},eR=["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","strokeColor"],tR=0;function nR(e){return+e.replace("%","")}function rR(e){return Array.isArray(e)?e:[e]}function oR(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,i=arguments.length>5?arguments[5]:void 0,a=50-r/2,u=0,c=-a,l=0,s=-2*a;switch(i){case"left":u=-a,c=0,l=2*a,s=0;break;case"right":u=a,c=0,l=-2*a,s=0;break;case"bottom":c=a,s=2*a;break;default:}var d="M 50,50 m ".concat(u,",").concat(c,"\n a ").concat(a,",").concat(a," 0 1 1 ").concat(l,",").concat(-s,"\n a ").concat(a,",").concat(a," 0 1 1 ").concat(-l,",").concat(s),f=2*Math.PI*a,p={stroke:n,strokeDasharray:"".concat(t/100*(f-o),"px ").concat(f,"px"),strokeDashoffset:"-".concat(o/2+e/100*(f-o),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s"};return{pathString:d,pathStyle:p}}var iR=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"VCCircle",props:Pb(qZ,GZ),setup:function(e){tR+=1;var t=Object(i["ref"])(tR),n=Object(i["computed"])((function(){return rR(e.percent)})),r=Object(i["computed"])((function(){return rR(e.strokeColor)})),o=WF(),a=gl(o,2),u=a[0],c=a[1];$Z(c);var l=function(){var o=e.prefixCls,a=e.strokeWidth,c=e.strokeLinecap,l=e.gapDegree,s=e.gapPosition,d=0;return n.value.map((function(e,n){var f=r.value[n]||r.value[r.value.length-1],p="[object Object]"===Object.prototype.toString.call(f)?"url(#".concat(o,"-gradient-").concat(t.value,")"):"",v=oR(d,e,f,a,l,s),h=v.pathString,m=v.pathStyle;d+=e;var g={key:n,d:h,stroke:p,"stroke-linecap":c,"stroke-width":a,opacity:0===e?0:1,"fill-opacity":"0",class:"".concat(o,"-circle-path"),style:m};return Object(i["createVNode"])("path",Fe({ref:u(n)},g),null)}))};return function(){var n=e.prefixCls,o=e.strokeWidth,a=e.trailWidth,u=e.gapDegree,c=e.gapPosition,s=e.trailColor,d=e.strokeLinecap,f=(e.strokeColor,Kc(e,eR)),p=oR(0,100,s,o,u,c),v=p.pathString,h=p.pathStyle;delete f.percent;var m=r.value.find((function(e){return"[object Object]"===Object.prototype.toString.call(e)})),g={d:v,stroke:s,"stroke-linecap":d,"stroke-width":a||o,"fill-opacity":"0",class:"".concat(n,"-circle-trail"),style:h};return Object(i["createVNode"])("svg",Fe({class:"".concat(n,"-circle"),viewBox:"0 0 100 100"},f),[m&&Object(i["createVNode"])("defs",null,[Object(i["createVNode"])("linearGradient",{id:"".concat(n,"-gradient-").concat(t.value),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},[Object.keys(m).sort((function(e,t){return nR(e)-nR(t)})).map((function(e,t){return Object(i["createVNode"])("stop",{key:t,offset:e,"stop-color":m[e]},null)}))])]),Object(i["createVNode"])("path",g,null),l().reverse()])}}});function aR(e){var t=e.percent,n=e.success,r=e.successPercent,o=XZ(JZ({success:n,successPercent:r}));return[o,XZ(XZ(t)-o)]}function uR(e){var t=e.success,n=void 0===t?{}:t,r=e.strokeColor,o=n.strokeColor;return[o||od.green,r||null]}var cR=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"Circle",inheritAttrs:!1,props:VZ(),setup:function(e,t){var n=t.slots,r=Object(i["computed"])((function(){return e.gapDegree||0===e.gapDegree?e.gapDegree:"dashboard"===e.type?75:void 0})),o=Object(i["computed"])((function(){var t=e.width||120;return{width:"number"===typeof t?"".concat(t,"px"):t,height:"number"===typeof t?"".concat(t,"px"):t,fontSize:"".concat(.15*t+6,"px")}})),a=Object(i["computed"])((function(){return e.strokeWidth||6})),u=Object(i["computed"])((function(){return e.gapPosition||"dashboard"===e.type&&"bottom"||"top"})),c=Object(i["computed"])((function(){return aR(e)})),l=Object(i["computed"])((function(){return"[object Object]"===Object.prototype.toString.call(e.strokeColor)})),d=Object(i["computed"])((function(){return uR({success:e.success,strokeColor:e.strokeColor})})),f=Object(i["computed"])((function(){var t;return t={},s(t,"".concat(e.prefixCls,"-inner"),!0),s(t,"".concat(e.prefixCls,"-circle-gradient"),l.value),t}));return function(){var t;return Object(i["createVNode"])("div",{class:f.value,style:o.value},[Object(i["createVNode"])(iR,{percent:c.value,strokeWidth:a.value,trailWidth:a.value,strokeColor:d.value,strokeLinecap:e.strokeLinecap,trailColor:e.trailColor,prefixCls:e.prefixCls,gapDegree:r.value,gapPosition:u.value},null),null===(t=n.default)||void 0===t?void 0:t.call(n)])}}}),lR=function(){return Fe(Fe({},VZ()),{},{steps:Number,size:{type:String},strokeColor:String,trailColor:String})},sR=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"Steps",props:lR(),setup:function(e,t){var n=t.slots,r=Object(i["computed"])((function(){return Math.round(e.steps*((e.percent||0)/100))})),o=Object(i["computed"])((function(){return"small"===e.size?2:14})),a=Object(i["computed"])((function(){for(var t=e.steps,n=e.strokeWidth,a=void 0===n?8:n,u=e.strokeColor,c=e.trailColor,l=e.prefixCls,d=[],f=0;f<t;f+=1){var p,v=(p={},s(p,"".concat(l,"-steps-item"),!0),s(p,"".concat(l,"-steps-item-active"),f<=r.value-1),p);d.push(Object(i["createVNode"])("div",{key:f,class:v,style:{backgroundColor:f<=r.value-1?u:c,width:"".concat(o.value,"px"),height:"".concat(a,"px")}},null))}return d}));return function(){var t;return Object(i["createVNode"])("div",{class:"".concat(e.prefixCls,"-steps-outer")},[a.value,null===(t=n.default)||void 0===t?void 0:t.call(n)])}}}),dR=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"AProgress",props:Pb(VZ(),{type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",strokeLinecap:"round"}),slots:["format"],setup:function(e,t){var n=t.slots,r=wv("progress",e),o=r.prefixCls,a=r.direction;rv(void 0==e.successPercent,"Progress","`successPercent` is deprecated. Please use `success.percent` instead.");var u=Object(i["computed"])((function(){var t,n=e.type,r=e.showInfo,i=e.size,u=o.value;return t={},s(t,u,!0),s(t,"".concat(u,"-").concat("dashboard"===n?"circle":n),!0),s(t,"".concat(u,"-show-info"),r),s(t,"".concat(u,"-").concat(i),i),s(t,"".concat(u,"-rtl"),"rtl"===a.value),t})),c=Object(i["computed"])((function(){var t=e.percent,n=void 0===t?0:t,r=JZ(e);return parseInt(void 0!==r?r.toString():n.toString(),10)})),l=Object(i["computed"])((function(){var t=e.status;return ZZ.indexOf(t)<0&&c.value>=100?"success":t||"normal"})),d=function(){var t,r=e.showInfo,a=e.format,u=e.type,c=e.percent,s=e.title,d=JZ(e);if(!r)return null;var f=a||(null===n||void 0===n?void 0:n.format)||function(e){return"".concat(e,"%")},p="line"===u;return a||null!==n&&void 0!==n&&n.format||"exception"!==l.value&&"success"!==l.value?t=f(XZ(c),XZ(d)):"exception"===l.value?t=p?Object(i["createVNode"])(gf,null,null):Object(i["createVNode"])(Dp,null,null):"success"===l.value&&(t=p?Object(i["createVNode"])(Sf,null,null):Object(i["createVNode"])(fj,null,null)),Object(i["createVNode"])("span",{class:"".concat(o.value,"-text"),title:void 0===s&&"string"===typeof t?t:void 0},[t])};return function(){var t,n=e.type,r=e.steps,a=e.strokeColor,c=e.title,f=d();"line"===n?t=r?Object(i["createVNode"])(sR,Fe(Fe({},e),{},{strokeColor:"string"===typeof a?a:void 0,prefixCls:o.value,steps:r}),{default:function(){return[f]}}):Object(i["createVNode"])(UZ,Fe(Fe({},e),{},{prefixCls:o.value}),{default:function(){return[f]}}):"circle"!==n&&"dashboard"!==n||(t=Object(i["createVNode"])(cR,Fe(Fe({},e),{},{prefixCls:o.value}),{default:function(){return[f]}}));var p=Fe(Fe({},u.value),{},s({},"".concat(o.value,"-status-").concat(l.value),!0));return Object(i["createVNode"])("div",{class:p,title:c},[t])}}}),fR=Bc(dR),pR=function(){return{prefixCls:String,locale:{type:Object,default:void 0},file:Object,items:Array,listType:String,isImgUrl:Function,showRemoveIcon:{type:Boolean,default:void 0},showDownloadIcon:{type:Boolean,default:void 0},showPreviewIcon:{type:Boolean,default:void 0},removeIcon:Function,downloadIcon:Function,previewIcon:Function,iconRender:Function,actionIconRender:Function,itemRender:Function,onPreview:Function,onClose:Function,onDownload:Function,progress:{type:Object,default:void 0}}},vR=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ListItem",inheritAttrs:!1,props:pR(),setup:function(e,t){var n=t.slots,r=t.attrs,o=Object(i["ref"])(!1),a=Object(i["ref"])();Object(i["onMounted"])((function(){a.value=setTimeout((function(){o.value=!0}),300)})),Object(i["onBeforeUnmount"])((function(){clearTimeout(a.value)}));var u=wv("upload",e),c=u.rootPrefixCls,l=Object(i["computed"])((function(){return es("".concat(c.value,"-fade"))}));return function(){var t,a,u=e.prefixCls,c=e.locale,d=e.listType,f=e.file,p=e.items,v=e.progress,h=e.iconRender,m=void 0===h?n.iconRender:h,g=e.actionIconRender,b=void 0===g?n.actionIconRender:g,y=e.itemRender,O=void 0===y?n.itemRender:y,C=e.isImgUrl,w=e.showPreviewIcon,S=e.showRemoveIcon,N=e.showDownloadIcon,M=e.previewIcon,x=void 0===M?n.previewIcon:M,j=e.removeIcon,T=void 0===j?n.removeIcon:j,D=e.downloadIcon,E=void 0===D?n.downloadIcon:D,k=e.onPreview,L=e.onDownload,Y=e.onClose,_=r.class,A=r.style,P="".concat(u,"-span"),F=m({file:f}),I=Object(i["createVNode"])("div",{class:"".concat(u,"-text-icon")},[F]);if("picture"===d||"picture-card"===d)if("uploading"===f.status||!f.thumbUrl&&!f.url){var B,Z=(B={},s(B,"".concat(u,"-list-item-thumbnail"),!0),s(B,"".concat(u,"-list-item-file"),"uploading"!==f.status),B);I=Object(i["createVNode"])("div",{class:Z},[F])}else{var R,H=null!==C&&void 0!==C&&C(f)?Object(i["createVNode"])("img",{src:f.thumbUrl||f.url,alt:f.name,class:"".concat(u,"-list-item-image")},null):F,V=(R={},s(R,"".concat(u,"-list-item-thumbnail"),!0),s(R,"".concat(u,"-list-item-file"),C&&!C(f)),R);I=Object(i["createVNode"])("a",{class:V,onClick:function(e){return k(f,e)},href:f.url||f.thumbUrl,target:"_blank",rel:"noopener noreferrer"},[H])}var X,J,z,Q=(t={},s(t,"".concat(u,"-list-item"),!0),s(t,"".concat(u,"-list-item-").concat(f.status),!0),s(t,"".concat(u,"-list-item-list-type-").concat(d),!0),t),W="string"===typeof f.linkProps?JSON.parse(f.linkProps):f.linkProps,K=S?b({customIcon:T?T({file:f}):Object(i["createVNode"])(YZ,null,null),callback:function(){return Y(f)},prefixCls:u,title:c.removeFile}):null,U=N&&"done"===f.status?b({customIcon:E?E({file:f}):Object(i["createVNode"])(BZ,null,null),callback:function(){return L(f)},prefixCls:u,title:c.downloadFile}):null,G="picture-card"!==d&&Object(i["createVNode"])("span",{key:"download-delete",class:["".concat(u,"-list-item-card-actions"),{picture:"picture"===d}]},[U,K]),$="".concat(u,"-list-item-name"),q=f.url?[Object(i["createVNode"])("a",Fe(Fe({key:"view",target:"_blank",rel:"noopener noreferrer",class:$,title:f.name},W),{},{href:f.url,onClick:function(e){return k(f,e)}}),[f.name]),G]:[Object(i["createVNode"])("span",{key:"view",class:$,onClick:function(e){return k(f,e)},title:f.name},[f.name]),G],ee={pointerEvents:"none",opacity:.5},te=w?Object(i["createVNode"])("a",{href:f.url||f.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:f.url||f.thumbUrl?void 0:ee,onClick:function(e){return k(f,e)},title:c.previewFile},[x?x({file:f}):Object(i["createVNode"])(lw,null,null)]):null,ne="picture-card"===d&&"uploading"!==f.status&&Object(i["createVNode"])("span",{class:"".concat(u,"-list-item-actions")},[te,"done"===f.status&&U,K]);f.response&&"string"===typeof f.response?X=f.response:X=(null===(J=f.error)||void 0===J?void 0:J.statusText)||(null===(z=f.error)||void 0===z?void 0:z.message)||c.uploadError;var re=Object(i["createVNode"])("span",{class:P},[I,q]),oe=Object(i["createVNode"])("div",{class:Q},[Object(i["createVNode"])("div",{class:"".concat(u,"-list-item-info")},[re]),ne,o.value&&Object(i["createVNode"])(rs,l.value,{default:function(){return[Object(i["withDirectives"])(Object(i["createVNode"])("div",{class:"".concat(u,"-list-item-progress")},["percent"in f?Object(i["createVNode"])(fR,Fe(Fe({},v),{},{type:"line",percent:f.percent}),null):null]),[[i["vShow"],"uploading"===f.status]])]}})]),ie=(a={},s(a,"".concat(u,"-list-").concat(d,"-container"),!0),s(a,"".concat(_),!!_),a),ae="error"===f.status?Object(i["createVNode"])(GY,{title:X,getPopupContainer:function(e){return e.parentNode}},{default:function(){return[oe]}}):oe;return Object(i["createVNode"])("div",{class:ie,style:A,ref:i["ref"]},[O?O({originNode:ae,file:f,fileList:p,actions:{download:L.bind(null,f),preview:k.bind(null,f),remove:Y.bind(null,f)}}):ae])}}}),hR=function(e,t){var n,r=t.slots;return Bl(null===(n=r.default)||void 0===n?void 0:n.call(r))[0]},mR=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"AUploadList",props:Pb(bZ(),{listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:jZ,isImageUrl:MZ,items:[],appendActionVisible:!0}),setup:function(e,t){var n=t.slots,r=t.expose,o=Object(i["ref"])(!1),a=Object(i["getCurrentInstance"])();Object(i["onMounted"])((function(){o.value})),Object(i["watchEffect"])((function(){"picture"!==e.listType&&"picture-card"!==e.listType||(e.items||[]).forEach((function(t){"undefined"!==typeof document&&"undefined"!==typeof window&&window.FileReader&&window.File&&(t.originFileObj instanceof File||t.originFileObj instanceof Blob)&&void 0===t.thumbUrl&&(t.thumbUrl="",e.previewFile&&e.previewFile(t.originFileObj).then((function(e){t.thumbUrl=e||"",a.update()})))}))}));var u=function(t,n){if(e.onPreview)return null===n||void 0===n||n.preventDefault(),e.onPreview(t)},c=function(t){"function"===typeof e.onDownload?e.onDownload(t):t.url&&window.open(t.url)},l=function(t){var n;null===(n=e.onRemove)||void 0===n||n.call(e,t)},d=function(t){var r=t.file,o=e.iconRender||n.iconRender;if(o)return o({file:r,listType:e.listType});var a="uploading"===r.status,u=e.isImageUrl&&e.isImageUrl(r)?Object(i["createVNode"])(sZ,null,null):Object(i["createVNode"])(mZ,null,null),c=a?Object(i["createVNode"])(of,null,null):Object(i["createVNode"])(oZ,null,null);return"picture"===e.listType?c=a?Object(i["createVNode"])(of,null,null):u:"picture-card"===e.listType&&(c=a?e.locale.uploading:u),c},f=function(e){var t=e.customIcon,n=e.callback,r=e.prefixCls,o=e.title,a={type:"text",size:"small",title:o,onClick:function(){n()},class:"".concat(r,"-list-item-card-actions-btn")};return Zl(t)?Object(i["createVNode"])(CC,a,{icon:function(){return t}}):Object(i["createVNode"])(CC,a,{default:function(){return[Object(i["createVNode"])("span",null,[t])]}})};r({handlePreview:u,handleDownload:c});var p=wv("upload",e),v=p.prefixCls,h=p.direction,m=Object(i["computed"])((function(){var t;return t={},s(t,"".concat(v.value,"-list"),!0),s(t,"".concat(v.value,"-list-").concat(e.listType),!0),s(t,"".concat(v.value,"-list-rtl"),"rtl"===h.value),t})),g=Object(i["computed"])((function(){return Fe(Fe(Fe({},ob("".concat(v.value,"-").concat("picture-card"===e.listType?"animate-inline":"animate"))),ts("".concat(v.value,"-").concat("picture-card"===e.listType?"animate-inline":"animate"))),{},{class:m.value,appear:o.value})}));return function(){var t=e.listType,r=e.locale,o=e.isImageUrl,a=e.items,s=void 0===a?[]:a,p=e.showPreviewIcon,h=e.showRemoveIcon,m=e.showDownloadIcon,b=e.removeIcon,y=e.previewIcon,O=e.downloadIcon,C=e.progress,w=e.appendAction,S=e.itemRender,N=e.appendActionVisible,M=null===w||void 0===w?void 0:w();return Object(i["createVNode"])(i["TransitionGroup"],Fe(Fe({},g.value),{},{tag:"div"}),{default:function(){return[s.map((function(e){var a=e.uid;return Object(i["createVNode"])(vR,{key:a,locale:r,prefixCls:v.value,file:e,items:s,progress:C,listType:t,isImgUrl:o,showPreviewIcon:p,showRemoveIcon:h,showDownloadIcon:m,onPreview:u,onDownload:c,onClose:l,removeIcon:b,previewIcon:y,downloadIcon:O,itemRender:S},Fe(Fe({},n),{},{iconRender:d,actionIconRender:f}))})),w?Object(i["withDirectives"])(Object(i["createVNode"])(hR,{key:"__ant_upload_appendAction"},{default:function(){return M}}),[[i["vShow"],!!N]]):null]}})}}}),gR=["class","style"],bR="__LIST_IGNORE_".concat(Date.now(),"__"),yR=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"AUpload",inheritAttrs:!1,props:Pb(gZ(),{type:"select",multiple:!1,action:"",data:{},accept:"",showUploadList:!0,listType:"text",disabled:!1,supportServerRender:!0}),setup:function(e,t){var n=t.slots,r=t.attrs,o=t.expose,a=vb(),c=Xx(e.defaultFileList||[],{value:Object(i["toRef"])(e,"fileList"),postState:function(e){var t=Date.now();return(null!==e&&void 0!==e?e:[]).map((function(e,n){return e.uid||Object.isFrozen(e)||(e.uid="__AUTO__".concat(t,"_").concat(n,"__")),e}))}}),l=gl(c,2),d=l[0],f=l[1],p=Object(i["ref"])("drop"),v=Object(i["ref"])();Object(i["onMounted"])((function(){rv(void 0!==e.fileList||void 0===r.value,"Upload","`value` is not a valid prop, do you mean `fileList`?"),rv(void 0===e.transformFile,"Upload","`transformFile` is deprecated. Please use `beforeUpload` directly."),rv(void 0===e.remove,"Upload","`remove` props is deprecated. Please use `remove` event.")}));var h=function(t,n,r){var o,i,u=Ae(n);1===e.maxCount?u=u.slice(-1):e.maxCount&&(u=u.slice(0,e.maxCount)),f(u);var c={file:t,fileList:u};r&&(c.event=r),null===(o=e["onUpdate:fileList"])||void 0===o||o.call(e,c.fileList),null===(i=e.onChange)||void 0===i||i.call(e,c),a.onFieldChange()},m=function(){var t=Uf($f.a.mark((function t(n,r){var o,i,a,c;return $f.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(o=e.beforeUpload,i=e.transformFile,a=n,!o){t.next=13;break}return t.next=5,o(n,r);case 5:if(c=t.sent,!1!==c){t.next=8;break}return t.abrupt("return",!1);case 8:if(delete n[bR],c!==bR){t.next=12;break}return Object.defineProperty(n,bR,{value:!0,configurable:!0}),t.abrupt("return",!1);case 12:"object"===u(c)&&c&&(a=c);case 13:if(!i){t.next=17;break}return t.next=16,i(a);case 16:a=t.sent;case 17:return t.abrupt("return",a);case 18:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}(),g=function(e){var t=e.filter((function(e){return!e.file[bR]}));if(t.length){var n=t.map((function(e){return yZ(e.file)})),r=Ae(d.value);n.forEach((function(e){r=OZ(e,r)})),n.forEach((function(e,n){var o=e;if(t[n].parsedFile)e.status="uploading";else{var i,a=e.originFileObj;try{i=new File([a],a.name,{type:a.type})}catch(kq){i=new Blob([a],{type:a.type}),i.name=a.name,i.lastModifiedDate=new Date,i.lastModified=(new Date).getTime()}i.uid=e.uid,o=i}h(o,r)}))}},b=function(e,t,n){try{"string"===typeof e&&(e=JSON.parse(e))}catch(kq){}if(CZ(t,d.value)){var r=yZ(t);r.status="done",r.percent=100,r.response=e,r.xhr=n;var o=OZ(r,d.value);h(r,o)}},y=function(e,t){if(CZ(t,d.value)){var n=yZ(t);n.status="uploading",n.percent=e.percent;var r=OZ(n,d.value);h(n,r,e)}},O=function(e,t,n){if(CZ(n,d.value)){var r=yZ(n);r.error=e,r.response=t,r.status="error";var o=OZ(r,d.value);h(r,o)}},C=function(t){var n,r=e.onRemove||e.remove;Promise.resolve("function"===typeof r?r(t):r).then((function(e){if(!1!==e){var r,o,i=wZ(t,d.value);if(i)n=Fe(Fe({},t),{},{status:"removed"}),null===(r=d.value)||void 0===r||r.forEach((function(e){var t=void 0!==n.uid?"uid":"name";e[t]!==n[t]||Object.isFrozen(e)||(e.status="removed")})),null===(o=v.value)||void 0===o||o.abort(n),h(n,i)}}))},w=function(t){var n;(p.value=t.type,"drop"===t.type)&&(null===(n=e.onDrop)||void 0===n||n.call(e,t))};o({onBatchStart:g,onSuccess:b,onProgress:y,onError:O,fileList:d,upload:v});var S=wv("upload",e),N=S.prefixCls,M=S.direction,x=ll("Upload",al.Upload,Object(i["computed"])((function(){return e.locale}))),j=gl(x,1),T=j[0],D=function(t,r){var o=e.removeIcon,a=e.previewIcon,u=e.downloadIcon,c=e.previewFile,l=e.onPreview,s=e.onDownload,f=e.disabled,p=e.isImageUrl,v=e.progress,h=e.itemRender,m=e.iconRender,g=e.showUploadList,b="boolean"===typeof g?{}:g,y=b.showDownloadIcon,O=b.showPreviewIcon,w=b.showRemoveIcon;return g?Object(i["createVNode"])(mR,{listType:e.listType,items:d.value,previewFile:c,onPreview:l,onDownload:s,onRemove:C,showRemoveIcon:!f&&w,showPreviewIcon:O,showDownloadIcon:y,removeIcon:o,previewIcon:a,downloadIcon:u,iconRender:m,locale:T.value,isImageUrl:p,progress:v,itemRender:h,appendActionVisible:r,appendAction:t},Fe({},n)):null===t||void 0===t?void 0:t()};return function(){var t,o,u,c=e.listType,l=e.disabled,f=e.type,h=(r.class,r.style,Kc(r,gR)),C=Fe(Fe(Fe({onBatchStart:g,onError:O,onProgress:y,onSuccess:b},h),e),{},{id:null!==(t=e.id)&&void 0!==t?t:a.id.value,prefixCls:N.value,beforeUpload:m,onChange:void 0});if(delete C.remove,n.default&&!l||delete C.id,"drag"===f){var S,x,j=Qt(N.value,(S={},s(S,"".concat(N.value,"-drag"),!0),s(S,"".concat(N.value,"-drag-uploading"),d.value.some((function(e){return"uploading"===e.status}))),s(S,"".concat(N.value,"-drag-hover"),"dragover"===p.value),s(S,"".concat(N.value,"-disabled"),l),s(S,"".concat(N.value,"-rtl"),"rtl"===M.value),S),r.class);return Object(i["createVNode"])("span",null,[Object(i["createVNode"])("div",{class:j,onDrop:w,onDragover:w,onDragleave:w,style:r.style},[Object(i["createVNode"])($B,Fe(Fe({},C),{},{ref:v,class:"".concat(N.value,"-btn")}),Fe({default:function(){return[Object(i["createVNode"])("div",{class:"".concat(N.value,"-drag-container")},[null===(x=n.default)||void 0===x?void 0:x.call(n)])]}},n))]),D()])}var T=Qt(N.value,(o={},s(o,"".concat(N.value,"-select"),!0),s(o,"".concat(N.value,"-select-").concat(c),!0),s(o,"".concat(N.value,"-disabled"),l),s(o,"".concat(N.value,"-rtl"),"rtl"===M.value),o)),E=kl(null===(u=n.default)||void 0===u?void 0:u.call(n)),k=function(e){return Object(i["createVNode"])("div",{class:T,style:e},[Object(i["createVNode"])($B,Fe(Fe({},C),{},{ref:v}),n)])};return"picture-card"===c?Object(i["createVNode"])("span",{class:Qt("".concat(N.value,"-picture-card-wrapper"),r.class)},[D(k,!(!E||!E.length))]):Object(i["createVNode"])("span",{class:r.class},[k(E&&E.length?void 0:{display:"none"}),D()])}}}),OR=["height"],CR=["style"],wR=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"AUploadDragger",inheritAttrs:!1,props:gZ(),setup:function(e,t){var n=t.slots,r=t.attrs;return function(){var t=e.height,o=Kc(e,OR),a=r.style,u=Kc(r,CR),c=Fe(Fe(Fe({},o),u),{},{type:"drag",style:Fe(Fe({},a),{},{height:"number"===typeof t?"".concat(t,"px"):t})});return Object(i["createVNode"])(yR,c,n)}}}),SR=Qc(yR,{Dragger:wR,LIST_IGNORE:bR,install:function(e){return e.component(yR.name,yR),e.component(wR.name,wR),e}}),NR=function(){return{prefixCls:String,type:{type:String,default:"horizontal"},dashed:{type:Boolean,default:!1},orientation:{type:String,default:"center"},plain:{type:Boolean,default:!1},orientationMargin:[String,Number]}},MR=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"ADivider",props:NR(),setup:function(e,t){var n=t.slots,r=wv("divider",e),o=r.prefixCls,a=r.direction,u=Object(i["computed"])((function(){return"left"===e.orientation&&null!=e.orientationMargin})),c=Object(i["computed"])((function(){return"right"===e.orientation&&null!=e.orientationMargin})),l=Object(i["computed"])((function(){var t,n=e.type,r=e.dashed,i=e.plain,l=o.value;return t={},s(t,l,!0),s(t,"".concat(l,"-").concat(n),!0),s(t,"".concat(l,"-dashed"),!!r),s(t,"".concat(l,"-plain"),!!i),s(t,"".concat(l,"-rtl"),"rtl"===a.value),s(t,"".concat(l,"-no-default-orientation-margin-left"),u.value),s(t,"".concat(l,"-no-default-orientation-margin-right"),c.value),t})),d=Object(i["computed"])((function(){var t="number"===typeof e.orientationMargin?"".concat(e.orientationMargin,"px"):e.orientationMargin;return Fe(Fe({},u.value&&{marginLeft:t}),c.value&&{marginRight:t})})),f=Object(i["computed"])((function(){return e.orientation.length>0?"-"+e.orientation:e.orientation}));return function(){var e,t=kl(null===(e=n.default)||void 0===e?void 0:e.call(n));return Object(i["createVNode"])("div",{class:[l.value,t.length?"".concat(o.value,"-with-text ").concat(o.value,"-with-text").concat(f.value):""],role:"separator"},[t.length?Object(i["createVNode"])("span",{class:"".concat(o.value,"-inner-text"),style:d.value},[t]):null])}}}),xR=Bc(MR),jR=Bc(Lv),TR=Bc(Gg);class DR{createBasicHeaders(){return{"Content-Type":"application/json",Accept:"application/json"}}createAuthHeaders(e,t){return{Authorization:"bearer "+e,"user-identity":t,"Content-Type":"application/json",Accept:"application/json"}}fetch(e,t,n,r,o){return e=null!=t?this.urlQueryConvert(e,t):e,fetch(e,{method:r||"GET",headers:o,body:n}).then((function(e){return e.status,e.statusText,e.headers,e.url,e.json()}),(function(e){e.message}))}urlQueryConvert(e,t){let n="";return n=-1!==e.indexOf("?")?"&":"?",t&&Object.keys(t).forEach((r,o)=>{const i=t[r];e+=0===o?null!=i&&"null"!==i&&"undefined"!==i?n+r+"="+i:n+r+"=":null!=i&&"null"!==i&&"undefined"!==i?"&"+r+"="+i:"&"+r+"="}),e}}const ER=new DR;var kR=n("a002");const LR="vue-lo",YR="form:",_R="dict:";class AR{get formConfig(){return window.$app.config.globalProperties.$qlForm?window.$app.config.globalProperties.$qlForm:{}}constructor(){s(this,"localForage",void 0),s(this,"config",void 0)}init(){const e=this.formConfig.appId?this.formConfig.appId:"";this.config={driver:kR["INDEXEDDB"],name:LR,version:1,storeName:"clean:"+e,description:"用于清理实例的缓存对象"},this.localForage=kR["createInstance"](this.config)}setItem(e,t){this.localForage.setItem(e,t)}getItem(e){return this.localForage.getItem(e)}dropInstance(){null!=this.localForage&&this.localForage.dropInstance().then()}}const PR=new AR;class FR{get formConfig(){return window.$app.config.globalProperties.$qlForm?window.$app.config.globalProperties.$qlForm:{}}constructor(){s(this,"localForage",void 0),s(this,"config",void 0)}init(){const e=this.formConfig.appId?this.formConfig.appId:"";this.config={driver:kR["INDEXEDDB"],name:LR,version:1,storeName:_R+e,description:"PC端表单数据库"},this.localForage=kR["createInstance"](this.config)}setItem(e,t){this.localForage.setItem(e,t)}getItem(e){return this.localForage.getItem(e)}dropInstance(){null!=this.localForage&&this.localForage.dropInstance().then()}}const IR=new FR;class BR{constructor(){}copy(e){return null!=e?JSON.parse(JSON.stringify(e)):""}parse(e){return null!=e&&""!==e?JSON.parse(e):null}stringify(e){return null!=e?JSON.stringify(e):""}}const ZR=new BR;class RR{get formConfig(){return window.$app.config.globalProperties.$qlForm?window.$app.config.globalProperties.$qlForm:{}}constructor(){s(this,"localForage",void 0),s(this,"config",void 0)}init(){const e=this.formConfig.appId?this.formConfig.appId:"";this.config={driver:kR["INDEXEDDB"],name:LR,version:1,storeName:YR+e,description:"PC端表单数据库"},this.localForage=kR["createInstance"](this.config)}setItem(e,t){this.localForage.setItem(e,t)}getItem(e){return this.localForage.getItem(e)}dropInstance(){null!=this.localForage&&this.localForage.dropInstance().then()}}const HR=new RR;class VR{constructor(e={}){s(this,"formId",void 0),s(this,"appId",void 0),s(this,"domainClassId",void 0),s(this,"objectId",void 0),s(this,"formType",void 0),s(this,"formName",void 0),s(this,"formAlias",void 0),s(this,"formDescribe",void 0),s(this,"useState",void 0),s(this,"desFormLayouts",void 0),s(this,"controls",void 0),s(this,"formGroup",void 0),this.formId=e.formId||"",this.appId=e.appId||"",this.domainClassId=e.domainClassId||"",this.objectId=e.objectId||"",this.formType=e.formType||"",this.formName=e.formName||"",this.formAlias=e.formAlias||"",this.formDescribe=e.formDescribe||"",this.useState=e.useState||"",this.controls=e.controls||[],this.formGroup=e.formGroup,this.desFormLayouts=e.desFormLayouts||[]}}class XR{constructor(e={}){s(this,"layoutId",void 0),s(this,"formId",void 0),s(this,"parentLayoutId",void 0),s(this,"layoutName",void 0),s(this,"layoutType",void 0),s(this,"gridSpace",void 0),s(this,"gridColumnConfig",void 0),s(this,"gridLateralArrangement",void 0),s(this,"gridVerticalArrangement",void 0),s(this,"layoutOrder",void 0),s(this,"labelSpan",void 0),s(this,"controlSpan",void 0),s(this,"desFormControls",void 0),s(this,"subDesFormLayout",void 0),this.layoutId=e.layoutId||"",this.formId=e.formId||"",this.parentLayoutId=e.parentLayoutId||"",this.layoutName=e.layoutName||"",this.layoutType=e.layoutType||"",this.gridSpace=e.gridSpace,this.gridColumnConfig=e.gridColumnConfig,this.gridLateralArrangement=e.gridLateralArrangement||"",this.gridVerticalArrangement=e.gridVerticalArrangement||"",this.layoutOrder=e.layoutOrder,this.labelSpan=e.labelSpan||"",this.controlSpan=e.controlSpan||"",this.desFormControls=e.desFormControls||[],this.subDesFormLayout=e.subDesFormLayout||[]}}var JR=n("9ce7"),zR=n("c968"),QR=n("c73e");class WR{constructor(){}arrayConvertToTreeNode(e,t,n){if(null!=e&&e.length>0){let r=e.filter(e=>(e[t.parentId]||"")===(n||""));if(null!=r&&r.length>0)return r=ZR.copy(r),r.forEach(n=>{const r=this.arrayConvertToTreeNode(e,t,n[t.id]);null!=r&&r.length>0&&(n[t.children]=[...r])}),r}return[]}treeNodeConvertToNzTreeNode(e,t,n=!1){const r=[];return null!=e&&e.length>0&&e.forEach(e=>{const o={title:"",key:"",icon:"",isLeaf:!0,checked:!1,selected:!1,selectable:!0,disabled:n,disableCheckbox:!1,expanded:!0,children:[]};for(const n of Object.keys(t))null!=t[n]&&""!==t[n]&&(o[n]=e[t[n]]);if(o.children=[],null!=e[t.children]&&e[t.children].length>0){const r=this.treeNodeConvertToNzTreeNode(e[t.children],t,n);o.disabled=!1,o.isLeaf=!1,o.children=r}r.push(o)}),r}arrayConvertToNzTreeNode(e,t,n,r=!1){const o=this.arrayConvertToTreeNode(e,t);return null!=o&&o.length>0?this.treeNodeConvertToNzTreeNode(o,n,r):[]}treeNodeConvertToCascaderOption(e,t,n=!1){const r=[];return null!=e&&e.length>0&&e.forEach(e=>{const o={value:"",label:"",title:"",disabled:n,loading:"",isLeaf:!0,parent:"",children:""};for(const n of Object.keys(t))null!=t[n]&&""!==t[n]&&(o[n]=e[t[n]]);if(o.children=[],null!=e[t.children]&&e[t.children].length>0){const r=this.treeNodeConvertToCascaderOption(e[t.children],t,n);o.disabled=!1,o.isLeaf=!1,o.children=r}r.push(o)}),r}nzTreeNodeConvertToMap(e){if(null!=e&&e.length>0){const t={};return e.forEach(e=>{e.value&&(t[e.value]={key:e.key,title:e.title,value:e.value},e.children&&e.children.length>0&&(t[e.value].children=this.nzTreeNodeConvertToMap(e.children)||void 0))}),t}}arrayConvertToCascaderOption(e,t,n,r=!1){const o=this.arrayConvertToTreeNode(e,t);return null!=o&&o.length>0?this.treeNodeConvertToCascaderOption(o,n,r):[]}treeNodeConvertToArray(e,t,n){return t=t||[],e=JSON.parse(JSON.stringify(e)),e.forEach(e=>{t.push(e),e[n]&&e[n].length&&KR.treeNodeConvertToArray(e[n],t,n)}),t.forEach(e=>{delete e[n]}),t}}const KR=new WR;class UR{constructor(){}setForms(e){HR.setItem(UR.FORMS,e)}getForms(){return HR.getItem(UR.FORMS)}setVersion(e){HR.setItem(UR.VERSION,e)}getVersion(){return HR.getItem(UR.VERSION)}}s(UR,"FORMS","forms_data"),s(UR,"VERSION","forms_version");const GR=new UR;var $R=n("1937");class qR{constructor(){}setDicts(e){IR.setItem(qR.DICTS,e)}getDicts(){return IR.getItem(qR.DICTS)}setTreeDicts(e){IR.setItem(qR.TREE_DICTS,e)}getTreeDicts(){return IR.getItem(qR.TREE_DICTS)}setMapDicts(e){IR.setItem(qR.MAP_DICTS,e)}getMapDicts(){return IR.getItem(qR.MAP_DICTS)}setMapTreeDicts(e){IR.setItem(qR.MAP_TREE_DICTS,e)}getMapTreeDicts(){return IR.getItem(qR.MAP_TREE_DICTS)}setVersion(e){IR.setItem(qR.VERSION,e)}getVersion(){return IR.getItem(qR.VERSION)}}s(qR,"DICTS","dicts_data"),s(qR,"TREE_DICTS","treeDicts_data"),s(qR,"MAP_DICTS","map_dicts_data"),s(qR,"MAP_TREE_DICTS","map_treeDicts_data"),s(qR,"VERSION","dict_version");const eH=new qR,tH="form-design.json",nH="dict.json",rH="./resources/json/"+nH;var oH=n("9475");class iH{constructor(){}push(e){history.pushState(null,e,e)}getPathFromUrl(e){let t=e;return-1!==e.indexOf("?")&&(t=e.split("?")[0]),t}getParamsFromUrl(e){let t;return-1!==e.indexOf("?")&&(t=this.urlParameterToParams(e.split("?")[1])),t}urlParameterToParams(e){const t={},n=e.split("&");return n.forEach((e,n,r)=>{const o=e.split("=");o.length>1?t[o[0]]=decodeURIComponent(o[1]):t[o[0]]=""}),t}getParameterOfUrl(e,t){let n="";if(n=-1!==e.indexOf("?")?"&":"?",t&&Object.keys(t).length>0){let r=0;Object.keys(t).forEach(o=>{0===r?null!=t[o]&&"null"!==t[o]&&"undefined"!==t[o]?e+=n+o+"="+t[o]:e+=n+o+"=":null!=t[o]&&"null"!==t[o]&&"undefined"!==t[o]?e+="&"+o+"="+t[o]:e+="&"+o+"=",r++})}return e}}const aH=new iH;function uH(){return{keyboard:{type:Boolean,default:void 0},mask:{type:Boolean,default:void 0},afterClose:Function,closable:{type:Boolean,default:void 0},maskClosable:{type:Boolean,default:void 0},visible:{type:Boolean,default:void 0},destroyOnClose:{type:Boolean,default:void 0},mousePosition:Et.shape({x:Number,y:Number}).loose,title:Et.any,footer:Et.any,transitionName:String,maskTransitionName:String,animation:Et.any,maskAnimation:Et.any,wrapStyle:{type:Object,default:void 0},bodyStyle:{type:Object,default:void 0},maskStyle:{type:Object,default:void 0},prefixCls:String,wrapClassName:String,rootClassName:String,width:[String,Number],height:[String,Number],zIndex:Number,bodyProps:Et.any,maskProps:Et.any,wrapProps:Et.any,getContainer:Et.any,dialogStyle:{type:Object,default:void 0},dialogClass:String,closeIcon:Et.any,forceRender:{type:Boolean,default:void 0},getOpenCount:Function,focusTriggerAfterClose:{type:Boolean,default:void 0},onClose:Function,modalRender:Function}}var cH=uH;function lH(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}var sH=-1;function dH(){return sH+=1,sH}function fH(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!==typeof n){var o=e.document;n=o.documentElement[r],"number"!==typeof n&&(n=o.body[r])}return n}function pH(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow;return n.left+=fH(o),n.top+=fH(o,!0),n}var vH,hH={width:0,height:0,overflow:"hidden",outline:"none"},mH=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"Content",inheritAttrs:!1,props:Fe(Fe({},cH()),{},{motionName:String,ariaId:String,onVisibleChanged:Function,onMousedown:Function,onMouseup:Function}),setup:function(e,t){var n=t.expose,r=t.slots,o=t.attrs,a=Object(i["ref"])(),u=Object(i["ref"])(),c=Object(i["ref"])();n({focus:function(){var e;null===(e=a.value)||void 0===e||e.focus()},changeActive:function(e){var t=document,n=t.activeElement;e&&n===u.value?a.value.focus():e||n!==a.value||u.value.focus()}});var l=Object(i["ref"])(),s=Object(i["computed"])((function(){var t=e.width,n=e.height,r={};return void 0!==t&&(r.width="number"===typeof t?"".concat(t,"px"):t),void 0!==n&&(r.height="number"===typeof n?"".concat(n,"px"):n),l.value&&(r.transformOrigin=l.value),r})),d=function(){Object(i["nextTick"])((function(){if(c.value){var t=pH(c.value);l.value=e.mousePosition?"".concat(e.mousePosition.x-t.left,"px ").concat(e.mousePosition.y-t.top,"px"):""}}))},f=function(t){e.onVisibleChanged(t)};return function(){var t,n,l,p,v,h,m,g=e.prefixCls,b=e.footer,y=void 0===b?null===(t=r.footer)||void 0===t?void 0:t.call(r):b,O=e.title,C=void 0===O?null===(n=r.title)||void 0===n?void 0:n.call(r):O,w=e.ariaId,S=e.closable,N=e.closeIcon,M=void 0===N?null===(l=r.closeIcon)||void 0===l?void 0:l.call(r):N,x=e.onClose,j=e.bodyStyle,T=e.bodyProps,D=e.onMousedown,E=e.onMouseup,k=e.visible,L=e.modalRender,Y=void 0===L?r.modalRender:L,_=e.destroyOnClose,A=e.motionName;y&&(v=Object(i["createVNode"])("div",{class:"".concat(g,"-footer")},[y])),C&&(h=Object(i["createVNode"])("div",{class:"".concat(g,"-header")},[Object(i["createVNode"])("div",{class:"".concat(g,"-title"),id:w},[C])])),S&&(m=Object(i["createVNode"])("button",{type:"button",onClick:x,"aria-label":"Close",class:"".concat(g,"-close")},[M||Object(i["createVNode"])("span",{class:"".concat(g,"-close-x")},null)]));var P=Object(i["createVNode"])("div",{class:"".concat(g,"-content")},[m,h,Object(i["createVNode"])("div",Fe({class:"".concat(g,"-body"),style:j},T),[null===(p=r.default)||void 0===p?void 0:p.call(r)]),v]),F=es(A);return Object(i["createVNode"])(rs,Fe(Fe({},F),{},{onBeforeEnter:d,onAfterEnter:function(){return f(!0)},onAfterLeave:function(){return f(!1)}}),{default:function(){return[k||!_?Object(i["withDirectives"])(Object(i["createVNode"])("div",Fe(Fe({},o),{},{ref:c,key:"dialog-element",role:"document",style:[s.value,o.style],class:[g,o.class],onMousedown:D,onMouseup:E}),[Object(i["createVNode"])("div",{tabindex:0,ref:a,style:hH,"aria-hidden":"true"},null),Y?Y({originVNode:P}):P,Object(i["createVNode"])("div",{tabindex:0,ref:u,style:hH,"aria-hidden":"true"},null)]),[[i["vShow"],k]]):null]}})}}}),gH=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"Mask",props:{prefixCls:String,visible:Boolean,motionName:String,maskProps:Object},setup:function(e,t){return QA(t),function(){var t=e.prefixCls,n=e.visible,r=e.maskProps,o=e.motionName,a=es(o);return Object(i["createVNode"])(rs,a,{default:function(){return[Object(i["withDirectives"])(Object(i["createVNode"])("div",Fe({class:"".concat(t,"-mask")},r),null),[[i["vShow"],n]])]}})}}}),bH=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"Dialog",inheritAttrs:!1,props:Pb(Fe(Fe({},cH()),{},{getOpenCount:Function,scrollLocker:Object}),{mask:!0,visible:!1,keyboard:!0,closable:!0,maskClosable:!0,destroyOnClose:!1,prefixCls:"rc-dialog",getOpenCount:function(){return null},focusTriggerAfterClose:!0}),setup:function(e,t){var n=t.attrs,r=t.slots,o=Object(i["ref"])(),a=Object(i["ref"])(),u=Object(i["ref"])(),c=Object(i["ref"])(e.visible),l=Object(i["ref"])("vcDialogTitle".concat(dH())),s=function(t){if(t){var n;if(!xw(a.value,document.activeElement))o.value=document.activeElement,null===(n=u.value)||void 0===n||n.focus()}else{var r,i=c.value;if(c.value=!1,e.mask&&o.value&&e.focusTriggerAfterClose){try{o.value.focus({preventScroll:!0})}catch(kq){}o.value=null}if(i)null===(r=e.afterClose)||void 0===r||r.call(e)}},d=function(t){var n;null===(n=e.onClose)||void 0===n||n.call(e,t)},f=Object(i["ref"])(!1),p=Object(i["ref"])(),v=function(){clearTimeout(p.value),f.value=!0},h=function(){p.value=setTimeout((function(){f.value=!1}))},m=function(t){if(!e.maskClosable)return null;f.value?f.value=!1:a.value===t.target&&d(t)},g=function(t){if(e.keyboard&&t.keyCode===WN.ESC)return t.stopPropagation(),void d(t);e.visible&&t.keyCode===WN.TAB&&u.value.changeActive(!t.shiftKey)};return Object(i["watch"])((function(){return e.visible}),(function(){e.visible&&(c.value=!0)}),{flush:"post"}),Object(i["onBeforeUnmount"])((function(){var t;clearTimeout(p.value),null===(t=e.scrollLocker)||void 0===t||t.unLock()})),Object(i["watchEffect"])((function(){var t,n;(null===(t=e.scrollLocker)||void 0===t||t.unLock(),c.value)&&(null===(n=e.scrollLocker)||void 0===n||n.lock())})),function(){var t=e.prefixCls,o=e.mask,f=e.visible,p=e.maskTransitionName,b=e.maskAnimation,y=e.zIndex,O=e.wrapClassName,C=e.rootClassName,w=e.wrapStyle,S=e.closable,N=e.maskProps,M=e.maskStyle,x=e.transitionName,j=e.animation,T=e.wrapProps,D=e.title,E=void 0===D?r.title:D,k=n.style,L=n.class;return Object(i["createVNode"])("div",Fe({class:["".concat(t,"-root"),C]},aM(e,{data:!0})),[Object(i["createVNode"])(gH,{prefixCls:t,visible:o&&f,motionName:lH(t,p,b),style:Fe({zIndex:y},M),maskProps:N},null),Object(i["createVNode"])("div",Fe({tabIndex:-1,onKeydown:g,class:Qt("".concat(t,"-wrap"),O),ref:a,onClick:m,role:"dialog","aria-labelledby":E?l.value:null,style:Fe(Fe({zIndex:y},w),{},{display:c.value?null:"none"})},T),[Object(i["createVNode"])(mH,Fe(Fe({},mO(e,["scrollLocker"])),{},{style:k,class:L,onMousedown:v,onMouseup:h,ref:u,closable:S,ariaId:l.value,prefixCls:t,visible:f,onClose:d,onVisibleChanged:s,motionName:lH(t,x,j)}),r)])])}}});function yH(e){if("undefined"===typeof document)return 0;if(e||void 0===vH){var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var n=document.createElement("div"),r=n.style;r.position="absolute",r.top="0",r.left="0",r.pointerEvents="none",r.visibility="hidden",r.width="200px",r.height="150px",r.overflow="hidden",n.appendChild(t),document.body.appendChild(n);var o=t.offsetWidth;n.style.overflow="scroll";var i=t.offsetWidth;o===i&&(i=n.clientWidth),document.body.removeChild(n),vH=o-i}return vH}function OH(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.element,r=void 0===n?document.body:n,o={},i=Object.keys(e);return i.forEach((function(e){o[e]=r.style[e]})),i.forEach((function(t){r.style[t]=e[t]})),o}var CH=OH;function wH(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var SH={},NH=function(e){if(wH()||e){var t="ant-scrolling-effect",n=new RegExp("".concat(t),"g"),r=document.body.className;if(e){if(!n.test(r))return;return CH(SH),SH={},void(document.body.className=r.replace(n,"").trim())}var o=yH();if(o&&(SH=CH({position:"relative",width:"calc(100% - ".concat(o,"px)")}),!n.test(r))){var i="".concat(r," ").concat(t);document.body.className=i.trim()}}},MH=[],xH="ant-scrolling-effect",jH=new RegExp("".concat(xH),"g"),TH=0,DH=new Map,EH=mC((function e(t){var n=this;gC(this,e),s(this,"getContainer",(function(){var e;return null===(e=n.options)||void 0===e?void 0:e.container})),s(this,"reLock",(function(e){var t=MH.find((function(e){var t=e.target;return t===n.lockTarget}));t&&n.unLock(),n.options=e,t&&(t.options=e,n.lock())})),s(this,"lock",(function(){var e;if(!MH.some((function(e){var t=e.target;return t===n.lockTarget})))if(MH.some((function(e){var t,r=e.options;return(null===r||void 0===r?void 0:r.container)===(null===(t=n.options)||void 0===t?void 0:t.container)})))MH=[].concat(Ae(MH),[{target:n.lockTarget,options:n.options}]);else{var t=0,r=(null===(e=n.options)||void 0===e?void 0:e.container)||document.body;(r===document.body&&window.innerWidth-document.documentElement.clientWidth>0||r.scrollHeight>r.clientHeight)&&(t=yH());var o=r.className;if(0===MH.filter((function(e){var t,r=e.options;return(null===r||void 0===r?void 0:r.container)===(null===(t=n.options)||void 0===t?void 0:t.container)})).length&&DH.set(r,CH({width:0!==t?"calc(100% - ".concat(t,"px)"):void 0,overflow:"hidden",overflowX:"hidden",overflowY:"hidden"},{element:r})),!jH.test(o)){var i="".concat(o," ").concat(xH);r.className=i.trim()}MH=[].concat(Ae(MH),[{target:n.lockTarget,options:n.options}])}})),s(this,"unLock",(function(){var e,t=MH.find((function(e){var t=e.target;return t===n.lockTarget}));if(MH=MH.filter((function(e){var t=e.target;return t!==n.lockTarget})),t&&!MH.some((function(e){var n,r=e.options;return(null===r||void 0===r?void 0:r.container)===(null===(n=t.options)||void 0===n?void 0:n.container)}))){var r=(null===(e=n.options)||void 0===e?void 0:e.container)||document.body,o=r.className;jH.test(o)&&(CH(DH.get(r),{element:r}),DH.delete(r),r.className=r.className.replace(jH,"").trim())}})),this.lockTarget=TH++,this.options=t})),kH=0,LH=Kp();var YH={},_H=function(e){if(!LH)return null;if(e){if("string"===typeof e)return document.querySelectorAll(e)[0];if("function"===typeof e)return e();if("object"===u(e)&&e instanceof window.HTMLElement)return e}return document.body},AH=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"PortalWrapper",inheritAttrs:!1,props:{wrapperClassName:String,forceRender:{type:Boolean,default:void 0},getContainer:Et.any,visible:{type:Boolean,default:void 0}},setup:function(e,t){var n=t.slots,r=Object(i["ref"])(),o=Object(i["ref"])(),a=Object(i["ref"])(),u=new EH({container:_H(e.getContainer)}),c=function(){var e,t;null===(e=r.value)||void 0===e||null===(t=e.parentNode)||void 0===t||t.removeChild(r.value)},l=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(t||r.value&&!r.value.parentNode){var n=_H(e.getContainer);return!!n&&(n.appendChild(r.value),!0)}return!0},s=function(){return LH?(r.value||(r.value=document.createElement("div"),l(!0)),d(),r.value):null},d=function(){var t=e.wrapperClassName;r.value&&t&&t!==r.value.className&&(r.value.className=t)};Object(i["onUpdated"])((function(){d(),l()}));var f=function(){1!==kH||Object.keys(YH).length?kH||(CH(YH),YH={},NH(!0)):(NH(),YH=CH({overflow:"hidden",overflowX:"hidden",overflowY:"hidden"}))},p=Object(i["getCurrentInstance"])();return Object(i["onMounted"])((function(){var t=!1;Object(i["watch"])([function(){return e.visible},function(){return e.getContainer}],(function(n,r){var o=gl(n,2),i=o[0],a=o[1],l=gl(r,2),s=l[0],d=l[1];if(LH&&_H(e.getContainer)===document.body&&(i&&!s?kH+=1:t&&(kH-=1)),t){var f="function"===typeof a&&"function"===typeof d;(f?a.toString()!==d.toString():a!==d)&&c(),i&&i!==s&&LH&&_H(a)!==u.getContainer()&&u.reLock({container:_H(a)})}t=!0}),{immediate:!0,flush:"post"}),Object(i["nextTick"])((function(){l()||(a.value=eC((function(){p.update()})))}))})),Object(i["onBeforeUnmount"])((function(){var t=e.visible,n=e.getContainer;LH&&_H(n)===document.body&&(kH=t&&kH?kH-1:kH),c(),eC.cancel(a.value)})),function(){var t=e.forceRender,r=e.visible,a=null,c={getOpenCount:function(){return kH},getContainer:s,switchScrollingEffect:f,scrollLocker:u};return(t||r||o.value)&&(a=Object(i["createVNode"])(PN,{getContainer:s,ref:o},{default:function(){var e;return null===(e=n.default)||void 0===e?void 0:e.call(n,c)}})),a}}}),PH=cH(),FH=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"DialogWrap",inheritAttrs:!1,props:Pb(PH,{visible:!1}),setup:function(e,t){var n=t.attrs,r=t.slots,o=Object(i["ref"])(e.visible);return _N({},{inTriggerContext:!1}),Object(i["watch"])((function(){return e.visible}),(function(){e.visible&&(o.value=!0)}),{flush:"post"}),function(){var t=e.visible,a=e.getContainer,u=e.forceRender,c=e.destroyOnClose,l=void 0!==c&&c,s=e.afterClose,d=Fe(Fe(Fe({},e),n),{},{ref:"_component",key:"dialog"});return!1===a?Object(i["createVNode"])(bH,Fe(Fe({},d),{},{getOpenCount:function(){return 2}}),r):u||!l||o.value?Object(i["createVNode"])(AH,{visible:t,forceRender:u,getContainer:a},{default:function(e){return d=Fe(Fe(Fe({},d),e),{},{afterClose:function(){null===s||void 0===s||s(),o.value=!1}}),Object(i["createVNode"])(bH,d,r)}}):null}}}),IH=FH,BH=IH,ZH=["prefixCls","visible","wrapClassName","centered","getContainer","closeIcon","focusTriggerAfterClose"],RH=null,HH=function(e){RH={x:e.pageX,y:e.pageY},setTimeout((function(){return RH=null}),100)};Sv()&&Fw(document.documentElement,"click",HH,!0);var VH=function(){return{prefixCls:String,visible:{type:Boolean,default:void 0},confirmLoading:{type:Boolean,default:void 0},title:Et.any,closable:{type:Boolean,default:void 0},closeIcon:Et.any,onOk:Function,onCancel:Function,"onUpdate:visible":Function,onChange:Function,afterClose:Function,centered:{type:Boolean,default:void 0},width:[String,Number],footer:Et.any,okText:Et.any,okType:String,cancelText:Et.any,icon:Et.any,maskClosable:{type:Boolean,default:void 0},forceRender:{type:Boolean,default:void 0},okButtonProps:Object,cancelButtonProps:Object,destroyOnClose:{type:Boolean,default:void 0},wrapClassName:String,maskTransitionName:String,transitionName:String,getContainer:{type:[String,Function,Boolean,Object],default:void 0},zIndex:Number,bodyStyle:{type:Object,default:void 0},maskStyle:{type:Object,default:void 0},mask:{type:Boolean,default:void 0},keyboard:{type:Boolean,default:void 0},wrapProps:Object,focusTriggerAfterClose:{type:Boolean,default:void 0},modalRender:Function}},XH=[],JH=Object(i["defineComponent"])({compatConfig:{MODE:3},name:"AModal",inheritAttrs:!1,props:Pb(VH(),{width:520,transitionName:"zoom",maskTransitionName:"fade",confirmLoading:!1,visible:!1,okType:"primary"}),setup:function(e,t){var n=t.emit,r=t.slots,o=t.attrs,a=ll("Modal"),u=gl(a,1),c=u[0],l=wv("modal",e),d=l.prefixCls,f=l.rootPrefixCls,p=l.direction,v=l.getPopupContainer,h=function(e){n("update:visible",!1),n("cancel",e),n("change",!1)},m=function(e){n("ok",e)},g=function(){var t,n,o=e.okText,a=void 0===o?null===(t=r.okText)||void 0===t?void 0:t.call(r):o,u=e.okType,l=e.cancelText,s=void 0===l?null===(n=r.cancelText)||void 0===n?void 0:n.call(r):l,d=e.confirmLoading;return Object(i["createVNode"])(i["Fragment"],null,[Object(i["createVNode"])(CC,Fe({onClick:h},e.cancelButtonProps),{default:function(){return[s||c.value.cancelText]}}),Object(i["createVNode"])(CC,Fe(Fe({},oC(u)),{},{loading:d,onClick:m},e.okButtonProps),{default:function(){return[a||c.value.okText]}})])};return function(){e.prefixCls;var t,n,a=e.visible,u=e.wrapClassName,c=e.centered,l=e.getContainer,m=e.closeIcon,b=void 0===m?null===(t=r.closeIcon)||void 0===t?void 0:t.call(r):m,y=e.focusTriggerAfterClose,O=void 0===y||y,C=Kc(e,ZH),w=Qt(u,(n={},s(n,"".concat(d.value,"-centered"),!!c),s(n,"".concat(d.value,"-wrap-rtl"),"rtl"===p.value),n));return Object(i["createVNode"])(BH,Fe(Fe(Fe({},C),o),{},{getContainer:l||v.value,prefixCls:d.value,wrapClassName:w,visible:a,mousePosition:RH,onClose:h,focusTriggerAfterClose:O,transitionName:ns(f.value,"zoom",e.transitionName),maskTransitionName:ns(f.value,"fade",e.maskTransitionName)}),Fe(Fe({},r),{},{footer:r.footer||g,closeIcon:function(){return Object(i["createVNode"])("span",{class:"".concat(d.value,"-close-x")},[b||Object(i["createVNode"])(Dp,{class:"".concat(d.value,"-close-icon")},null)])}}))}}});function zH(e){return"function"===typeof e?e():e}var QH=Object(i["defineComponent"])({name:"ConfirmDialog",inheritAttrs:!1,props:["icon","onCancel","onOk","close","closable","zIndex","afterClose","visible","keyboard","centered","getContainer","maskStyle","okButtonProps","cancelButtonProps","okType","prefixCls","okCancel","width","mask","maskClosable","okText","cancelText","autoFocusButton","transitionName","maskTransitionName","type","title","content","direction","rootPrefixCls","bodyStyle","closeIcon","modalRender","focusTriggerAfterClose","wrapClassName"],setup:function(e,t){var n=t.attrs,r=ll("Modal"),o=gl(r,1),a=o[0];return function(){var t=e.icon,r=e.onCancel,o=e.onOk,u=e.close,c=e.closable,l=void 0!==c&&c,d=e.zIndex,f=e.afterClose,p=e.visible,v=e.keyboard,h=e.centered,m=e.getContainer,g=e.maskStyle,b=e.okButtonProps,y=e.cancelButtonProps,O=e.okCancel,C=void 0===O||O,w=e.width,S=void 0===w?416:w,N=e.mask,M=void 0===N||N,x=e.maskClosable,j=void 0!==x&&x,T=e.type,D=e.title,E=e.content,k=e.direction,L=e.closeIcon,Y=e.modalRender,_=e.focusTriggerAfterClose,A=e.rootPrefixCls,P=e.bodyStyle,F=e.wrapClassName,I=e.okType||"primary",B=e.prefixCls||"ant-modal",Z="".concat(B,"-confirm"),R=n.style||{},H=zH(e.okText)||(C?a.value.okText:a.value.justOkText),V=zH(e.cancelText)||a.value.cancelText,X=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),J=Qt(Z,"".concat(Z,"-").concat(T),"".concat(B,"-").concat(T),s({},"".concat(Z,"-rtl"),"rtl"===k),n.class),z=C&&Object(i["createVNode"])(xF,{actionFn:r,close:u,autofocus:"cancel"===X,buttonProps:y,prefixCls:"".concat(A,"-btn")},{default:function(){return[V]}});return Object(i["createVNode"])(JH,{prefixCls:B,class:J,wrapClassName:Qt(s({},"".concat(Z,"-centered"),!!h),F),onCancel:function(e){return u({triggerCancel:!0},e)},visible:p,title:"",footer:"",transitionName:ns(A,"zoom",e.transitionName),maskTransitionName:ns(A,"fade",e.maskTransitionName),mask:M,maskClosable:j,maskStyle:g,style:R,bodyStyle:P,width:S,zIndex:d,afterClose:f,keyboard:v,centered:h,getContainer:m,closable:l,closeIcon:L,modalRender:Y,focusTriggerAfterClose:_},{default:function(){return[Object(i["createVNode"])("div",{class:"".concat(Z,"-body-wrapper")},[Object(i["createVNode"])("div",{class:"".concat(Z,"-body")},[zH(t),void 0===D?null:Object(i["createVNode"])("span",{class:"".concat(Z,"-title")},[zH(D)]),Object(i["createVNode"])("div",{class:"".concat(Z,"-content")},[zH(E)])]),Object(i["createVNode"])("div",{class:"".concat(Z,"-btns")},[z,Object(i["createVNode"])(xF,{type:I,actionFn:o,close:u,autofocus:"ok"===X,buttonProps:b,prefixCls:"".concat(A,"-btn")},{default:function(){return[H]}})])])]}})}}}),WH=function(e){var t=document.createDocumentFragment(),n=Fe(Fe({},mO(e,["parentContext","appContext"])),{},{close:a,visible:!0}),r=null;function o(){r&&(Object(i["render"])(null,t),r.component.update(),r=null);for(var n=arguments.length,o=new Array(n),u=0;u<n;u++)o[u]=arguments[u];var c=o.some((function(e){return e&&e.triggerCancel}));e.onCancel&&c&&e.onCancel.apply(e,o);for(var l=0;l<XH.length;l++){var s=XH[l];if(s===a){XH.splice(l,1);break}}}function a(){for(var t=this,r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];n=Fe(Fe({},n),{},{visible:!1,afterClose:function(){"function"===typeof e.afterClose&&e.afterClose(),o.apply(t,i)}}),u(n)}function u(e){n="function"===typeof e?e(n):Fe(Fe({},n),e),r&&(Qc(r.component.props,n),r.component.update())}var c=function(e){var t=hv,n=t.prefixCls,r=e.prefixCls||"".concat(n,"-modal");return Object(i["createVNode"])(Cv,Fe(Fe({},t),{},{notUpdateGlobalConfig:!0,prefixCls:n}),{default:function(){return[Object(i["createVNode"])(QH,Fe(Fe({},e),{},{rootPrefixCls:n,prefixCls:r}),null)]}})};function l(n){var r=Object(i["createVNode"])(c,Fe({},n));return r.appContext=e.parentContext||e.appContext||r.appContext,Object(i["render"])(r,t),r}return r=l(n),XH.push(a),{destroy:a,update:u}},KH=WH;function UH(e){return Fe(Fe({icon:function(){return Object(i["createVNode"])(wp,null,null)},okCancel:!1},e),{},{type:"warning"})}function GH(e){return Fe(Fe({icon:function(){return Object(i["createVNode"])(sp,null,null)},okCancel:!1},e),{},{type:"info"})}function $H(e){return Fe(Fe({icon:function(){return Object(i["createVNode"])(op,null,null)},okCancel:!1},e),{},{type:"success"})}function qH(e){return Fe(Fe({icon:function(){return Object(i["createVNode"])(mp,null,null)},okCancel:!1},e),{},{type:"error"})}function eV(e){return Fe(Fe({icon:function(){return Object(i["createVNode"])(wp,null,null)},okCancel:!0},e),{},{type:"confirm"})}function tV(e){return KH(UH(e))}JH.info=function(e){return KH(GH(e))},JH.success=function(e){return KH($H(e))},JH.error=function(e){return KH(qH(e))},JH.warning=tV,JH.warn=tV,JH.confirm=function(e){return KH(eV(e))},JH.destroyAll=function(){while(XH.length){var e=XH.pop();e&&e()}},JH.install=function(e){return e.component(JH.name,JH),e};var nV=JH;class rV{validateTips(e,t){if(null!=e){Array.isArray(e)||(e=[e]);const n=[];let r=[],o="";if(e.forEach(e=>{const t=e.validateReport();t&&t.length>0&&(n.push(e),r=r.concat(t))}),r&&r.length>0)return r.forEach(e=>{console.log(e),o+=`<div class="lo-error-item d-flex"><div class="lo-error-describe">${e.name}</div> ${e.errorMsg};</div>`}),nV.confirm({width:380,title:Object(i["h"])("div",{class:"d-flex",innerHTML:`<img src="${Ce}" /><div style="font-size: 18px">校验提示</div>`}),content:Object(i["h"])("div",{innerHTML:o}),onOk:()=>{this.showErrorModal(n,r,t)},okText:"确认",cancelText:"取消",class:"lo-form-error-modal"}),!1}return!0}showErrorModal(e,t,n){var r,o;const i=null===(r=e[0])||void 0===r?void 0:r.getControlEl(null===(o=t[0])||void 0===o?void 0:o.key);if(null!=i)if(n&&"string"===typeof n&&(n=document.getElementById(n)),n){n.scrollTo({top:i.offsetTop,behavior:"smooth"});const e=t=>{const r=null!=n.window&&n.window===n.window.window?document.documentElement.scrollTop||document.body.scrollTop:n.scrollTop,o=i.offsetTop-r;o>-20&&o<20&&(n.removeEventListener("scroll",e),this.showErrInput(i))};n.addEventListener("scroll",e,!1)}else this.showErrInput(i)}showErrInput(e){let t=0;const n=setInterval(()=>{e.style.opacity=t++%2===0?".3":"1",t>5&&clearInterval(n)},400)}}const oV=new rV;class iV{constructor(){s(this,"nodeContrast",{id:"layoutId",parentId:"parentLayoutId",children:"subDesFormLayout"}),s(this,"dictDetailsContrast",{id:"dicEntryPk",parentId:"suprDicPk",children:"children"}),s(this,"nzDictDetailsContrastContrast",{key:"dicEntryPk",title:"dicValue",children:"children",value:"dicKey"}),s(this,"dictTreeDetailsContrast",{id:"dicEntryPk",parentId:"suprDicPk",children:"children"}),s(this,"nzDictTreeDetailsContrastContrast",{key:"dicEntryPk",title:"dicValue",children:"children",value:"dicKey"}),s(this,"desForms",[]),s(this,"sysDictDetailOptions",[]),s(this,"sysDictTreeDetailOptions",[]),s(this,"mapSysDictDetailOptions",void 0),s(this,"mapSysDictTreeDetailOptions",void 0)}get formConfig(){return null!=window.$app.config.globalProperties.$qlForm?window.$app.config.globalProperties.$qlForm:{}}checkFirstLoadAndInitDesign(){return iV.IS_FIRST_LOADED?Promise.resolve({code:1,msg:"检查到已经过首次加载,不在执行加载逻辑"}):this.init().then(e=>(iV.IS_FIRST_LOADED=!0,e))}init(){return Promise.all([this.initDesign(),this.initDict(),this.selectHolidays()]).then(([e,t])=>{const n=1===e.code&&1===t.code?1:0;return{code:n,msg:e.msg+"; "+t.msg}})}selectHolidays(){if(this.formConfig.url){const e=this.formConfig.url+"/ms-loong/api/v1/basic-form-weekday/query-all-by-year";return this.fetch(e,{},void 0,"POST").then(e=>(null==e||1!==e.code&&String(e.code)!==String(200)||null!=e.data&&(localStorage.setItem("traddayList",JSON.stringify(e.data.traddayList)),localStorage.setItem("weekdayList",JSON.stringify(e.data.weekdayList)),localStorage.setItem("workdayList",JSON.stringify(e.data.workdayList))),Promise.resolve(iV.LOAD_SUCCESS)))}return Promise.resolve(iV.LOAD_SUCCESS)}initDesign(){return Promise.all([GR.getForms(),GR.getVersion()]).then(([e,t])=>{if("static"===this.formConfig.loadMode)return null!=e?(this.desForms=e,Promise.resolve(iV.LOAD_SUCCESS)):this.loadDesign([this.formConfig.url||tH]);if("dynamic"===this.formConfig.loadMode){if(null!=this.formConfig.appId&&""!==this.formConfig.appId){const n={appId:this.formConfig.appId,cacheType:oH["a"].FORM.code},r=this.formConfig.url+"/ms-loong/api/v1/des-cache-info/permit_endpoint/query-cacheversion-by-appid-cachetype";return this.fetch(r,n).then(n=>{if(null!=n&&1===n.code){if(null!=n.data&&null!=n.data.desCacheVersion){if(String(t)!==String(n.data.desCacheVersion.cacheVersionNumber)){const e=this.formConfig.url+"/ms-loong/api/v1/des-cache-info/permit_endpoint/download?storageAddress="+n.data.desCacheVersion.storageAddress;return this.loadDesign([e]).then(e=>(1===e.code&&GR.setVersion(n.data.desCacheVersion.cacheVersionNumber),e))}return null!=e&&(this.desForms=e),console.log(this.desForms),Promise.resolve(iV.LOAD_SUCCESS)}return Promise.resolve({code:1,msg:"暂无版本数据"})}return Promise.resolve(iV.LOAD_FAIL)})}return Promise.resolve({code:0,msg:"动态加载需指定当前系统编号(appId)"})}return"merge"===this.formConfig.loadMode?this.formConfig.urls?new Promise(e=>{this.loadDesign(this.formConfig.urls||[]).then(()=>{e(iV.LOAD_SUCCESS)})}):this.mergeUrlByType(oH["a"].FORM.code).then(n=>t===n.cacheVersionNumber?(e&&(this.desForms=e),Promise.resolve(iV.LOAD_SUCCESS)):new Promise(e=>{this.loadDesign(n.storageAddress).then(()=>{GR.setVersion(n.cacheVersionNumber),e(iV.LOAD_SUCCESS)})})):Promise.resolve(iV.LOAD_FAIL)})}mergeUrlByType(e){const t=this.formConfig.url+"/ms-loong/api/v1/des-cache-info/permit_endpoint/query-batch-appids-cachetype",n=this.formConfig.url+"/ms-loong/api/v1/des-cache-info/permit_endpoint/download?storageAddress=",r={appIds:this.formConfig.appId,cacheType:e};return this.fetch(t,r).then(t=>{var o,i;const a={},u=[],c=[],l={};return null===t||void 0===t||null===(o=t.data)||void 0===o||o.forEach(t=>{var o;t.cacheType==e&&null!==(o=t.desCacheVersion)&&void 0!==o&&o.storageAddress&&r.appIds&&r.appIds.indexOf(t.appId)>-1&&(l[t.appId]=t.desCacheVersion.cacheVersionNumber,u.push(n+t.desCacheVersion.storageAddress))}),null===(i=r.appIds)||void 0===i||i.split(",").forEach(e=>{c.push(l[e])}),a.cacheVersionNumber=c.join(","),a.storageAddress=u,a})}loadDesign(e){return this.mergeFetchDesign(e).then(e=>{const t=[];return null!=e&&e.length>0&&e.filter(e=>null!=e.desFormLayouts&&e.desFormLayouts.length>0).forEach(e=>{const n=this.formatDesForm(e);null!=n&&t.push(n)}),this.desForms=t,GR.setForms(this.desForms),iV.LOAD_SUCCESS})}mergeFetchDesign(e){const t=!!this.formConfig.onlySimpleLoadConfig,n=this.createFileDownloadAuthorizationHeader(),r=[];return e.forEach(e=>{r.push(this.fetch(e,{},void 0,"GET",n,t))}),Promise.all(r).then(e=>{let t=[];return null===e||void 0===e||e.forEach(e=>{t=t.concat(e)}),t})}initDict(){return Promise.all([eH.getDicts(),eH.getTreeDicts(),eH.getMapDicts(),eH.getMapTreeDicts(),eH.getVersion()]).then(([e,t,n,r,o])=>{if("static"===this.formConfig.loadMode){const o=this.formConfig.dictUrl?this.formConfig.dictUrl:rH;return null!=e||null!=t?(this.sysDictDetailOptions=e,this.sysDictTreeDetailOptions=t,this.mapSysDictDetailOptions=n,this.mapSysDictTreeDetailOptions=r,iV.LOAD_SUCCESS):this.loadDict([o])}if("dynamic"===this.formConfig.loadMode){if(this.formConfig.appId){const i=this.formConfig.url+"/ms-loong/api/v1/des-cache-info/permit_endpoint/query-cacheversion-by-appid-cachetype",a=this.formConfig.dictUrl?this.formConfig.dictUrl:i||"",u=aH.getPathFromUrl(a);let c=aH.getParamsFromUrl(a)||{};c.appId=c.appId?c.appId:this.formConfig.appId,c.cacheType=c.cacheType?c.cacheType:oH["a"].DICT.code,c=this.formConfig.dictRestLoadOnlyBody?{}:c;const l="GET"===(this.formConfig.dictRestLoadMode||"GET").toLocaleUpperCase()?void 0:this.formConfig.dictRestLoadBody;let s=this.formConfig.dictRestLoadHeaders;return null!=s&&"function"===typeof s&&(s=s()),this.fetch(u,c,l,this.formConfig.dictRestLoadMode,s).then(i=>{if(null==i||1!==i.code&&String(i.code)!==String(200))return iV.LOAD_FAIL;if(null!=i.data){let a=i.data.desCacheVersion;i.data&&i.data instanceof Array&&i.data.length>0&&(a=i.data[0].desCacheVersion);const u=this.formConfig.url+"/ms-loong/api/v1/des-cache-info/permit_endpoint/download?storageAddress="+a.storageAddress;return String(o)!==String(a.cacheVersionNumber)?this.loadDict([u]).then(e=>(1===e.code&&eH.setVersion(a.cacheVersionNumber),e)):(null==e&&null==t||(this.sysDictDetailOptions=e,this.sysDictTreeDetailOptions=t,this.mapSysDictDetailOptions=n,this.mapSysDictTreeDetailOptions=r),iV.LOAD_SUCCESS)}return{code:1,msg:"暂无版本数据"}})}return{code:0,msg:"动态加载需指定当前系统编号(appId)"}}return"merge"===this.formConfig.loadMode?this.mergeUrlByType(oH["a"].DICT.code).then(i=>o===i.cacheVersionNumber?(null==e&&null==t||(this.sysDictDetailOptions=e,this.sysDictTreeDetailOptions=t,this.mapSysDictDetailOptions=n,this.mapSysDictTreeDetailOptions=r),iV.LOAD_SUCCESS):new Promise(e=>{this.loadDict(i.storageAddress).then(()=>{eH.setVersion(i.cacheVersionNumber),e(iV.LOAD_SUCCESS)})})):iV.LOAD_FAIL})}loadDict(e){return this.mergeFetchDict(e).then(e=>{if(null!=e){const t=this.inidDictOptions(e);this.sysDictDetailOptions=t.sysDictDetailOptions||[],this.sysDictTreeDetailOptions=t.sysDictTreeDetailOptions||[],this.mapSysDictDetailOptions=t.mapSysDictDetailOptions,this.mapSysDictTreeDetailOptions=t.mapSysDictTreeDetailOptions,t.sysDictDetailOptions&&t.sysDictDetailOptions.length>0&&eH.setDicts(t.sysDictDetailOptions),t.sysDictTreeDetailOptions&&t.sysDictTreeDetailOptions.length>0&&eH.setTreeDicts(t.sysDictTreeDetailOptions),eH.setMapDicts(t.mapSysDictDetailOptions||null),eH.setMapTreeDicts(t.mapSysDictTreeDetailOptions||null)}return iV.LOAD_SUCCESS})}mergeFetchDict(e){const t=[];return e.forEach(e=>{t.push(this.fetch(e,{},void 0,"GET",void 0,!!this.formConfig.onlySimpleLoadConfig))}),Promise.all(t).then(e=>{let t=[];const n={},r=[];return null===e||void 0===e||e.forEach(e=>{t=t.concat(e)}),t.forEach(e=>{n[e.dictId]||(r.push(e),n[e.dictId]=!0)}),r})}inidDictOptions(e){const t=[],n=[];e.forEach(e=>{const r={key:e.dictId,value:e.dictCd,title:e.dictNm,isLeaf:!0,expanded:!1,children:[]};e.dictTp===$R["a"].GeneralDictionary.code?(r.isLeaf=!1,r.children=KR.arrayConvertToNzTreeNode(e.comDictKeyValues.filter(e=>!!e.dictId),this.dictDetailsContrast,this.nzDictDetailsContrastContrast,!0),t.push(r)):e.dictTp===$R["a"].TreeDictionary.code&&(null!=e.treeDictKeyValues&&e.treeDictKeyValues.length>0&&(r.isLeaf=!1,e.treeDictKeyValues.forEach(e=>{"0"===e.suprDicPk&&(e.suprDicPk="")}),r.children=KR.arrayConvertToNzTreeNode(e.treeDictKeyValues.filter(e=>!!e.dictId),this.dictTreeDetailsContrast,this.nzDictTreeDetailsContrastContrast,!0)),n.push(r))});const r=KR.nzTreeNodeConvertToMap(t),o=KR.nzTreeNodeConvertToMap(n);return{sysDictDetailOptions:t,sysDictTreeDetailOptions:n,mapSysDictDetailOptions:r,mapSysDictTreeDetailOptions:o}}formatDesForm(e){if(null!=e){const t=new VR(e),n=KR.arrayConvertToTreeNode(e.desFormLayouts,this.nodeContrast),r=this.recursionFormatForm([],n);return this.sortControls(r),t.desFormLayouts=[],t.controls=r,t}}recursionFormatForm(e,t){const n=[];return null!=e&&e.length>0&&e.filter(e=>!!e.formFieldId).forEach(e=>{const t={code:e.controlType,name:(Object.values(zR["a"]).find(t=>t.code===e.controlType)||{}).name||"",type:Number(e.controlType)<50?JR["a"].Base.code:JR["a"].Senior.code,active:!1,subControls:void 0,controlAttr:e},r=t.controlAttr;r.isBoldTitle=e.isBoldTitle===QR["a"].Enable.code,r.isHideTitle=e.isHideTitle===QR["a"].Enable.code,r.isNotEdit=e.isNotEdit===QR["a"].Enable.code,r.isShowHoliday=e.isShowHoliday===QR["a"].Enable.code,r.isHideControl=e.isHideControl===QR["a"].Enable.code,r.isPasswordBox=e.isPasswordBox===QR["a"].Enable.code,r.enableAutoComplete=e.enableAutoComplete===QR["a"].Enable.code,r.isFixedRowHeight=e.isFixedRowHeight===QR["a"].Enable.code,r.thousandthPercentileFormat=e.thousandthPercentileFormat===QR["a"].Enable.code,r.isShowCapitalization=e.isShowCapitalization===QR["a"].Enable.code,r.isLineFeedDisplay=e.isLineFeedDisplay===QR["a"].Enable.code,r.optionConfig=ZR.parse(e.optionConfig),r.generalDictionaryOptions=ZR.parse(e.generalDictionaryOptions),r.treeShapeOptions=ZR.parse(e.treeShapeOptions),r.isSupportMultiple=e.isSupportMultiple===QR["a"].Enable.code,Array.isArray(e.customUploadType)&&e.customUploadType.length>0&&(r.customUploadType=e.customUploadType.join(",")),r.isMultipleChoice=e.isMultipleChoice===QR["a"].Enable.code,r.isSearchable=e.isSearchable===QR["a"].Enable.code,r.canAddEntry=e.canAddEntry===QR["a"].Enable.code,r.isClearButton=e.isClearButton===QR["a"].Enable.code,r.hiddenDropdown=e.hiddenDropdown===QR["a"].Enable.code,r.textFold=e.textFold===QR["a"].Enable.code,r.verificationRules=ZR.parse(e.verificationRules),n.push(t)}),null!=t&&t.length>0&&t.filter(e=>!!e.layoutId).forEach(e=>{const t={code:e.layoutType,name:(Object.values(zR["a"]).find(t=>t.code===e.layoutType)||{}).name||"",type:JR["a"].Layout.code,active:!1,subControls:[],controlAttr:new XR(e)},r=t.controlAttr;r.gridColumnConfig=ZR.parse(e.gridColumnConfig),r.desFormControls=[],r.subDesFormLayout=[],(null!=e.subDesFormLayout&&e.subDesFormLayout.length>0||null!=e.desFormControls&&e.desFormControls.length>0)&&(t.subControls=this.recursionFormatForm(e.desFormControls,e.subDesFormLayout)),n.push(t)}),n}sortControls(e){e.sort((e,t)=>{let n=0,r=0;return n=e.type===JR["a"].Layout.code?Number(e.controlAttr.layoutOrder):Number(e.controlAttr.tableFieldOrder),r=t.type===JR["a"].Layout.code?Number(t.controlAttr.layoutOrder):Number(t.controlAttr.tableFieldOrder),n-r}),e.forEach(e=>{null!=e.subControls&&e.subControls.length>0&&this.sortControls(e.subControls)})}loadResource(e){const t=this.desForms.find(t=>t.formId===e);return null!=t?ZR.copy(t):new VR({formId:e})}fetch(e,t,n,r="GET",o,i=!1){return o=o||ER.createBasicHeaders(),i?fetch(e).then(e=>e.json()):ER.fetch(e,t,n,r,o)}validateTips(e,t){return oV.validateTips(e,t)}createFileDownloadAuthorizationHeader(){return{headers:{"Content-Type":"application/json"},responseType:"blob"}}}s(iV,"LOAD_SUCCESS",{code:1,msg:"加载成功"}),s(iV,"LOAD_FAIL",{code:1,msg:"加载失败"}),s(iV,"IS_FIRST_LOADED",!1);const aV=new iV;var uV=n("e720");function cV(e){const t=999999999999.99,n="零",r="壹",o="贰",i="叁",a="肆",u="伍",c="陆",l="柒",s="捌",d="玖",f="拾",p="佰",v="仟",h="万",m="亿",g="",b="",y="点",O="",C="",w="";let S,N,M,x,j,T,D,E,k,L=[],Y=[],_=[],A=[],P=[];e=void 0!=e?e.toString():"";let F="";if(null!=e&&0===e.indexOf("-")&&(F="负",e=e.substr(1)),""===e)return"空";if(null!=e.match(/[^,.\d]/))return"您的输入含有无效字符";if(null==e.match(/^((\d{1,3}(,\d{3})*(.((\d{3},)*\d{1,3}))?)|(\d+(.\d+)?))$/))return"您的输入的数字格式不正确";if(e=e.replace(/,/g,""),e=e.replace(/^0+/,""),Number(e)>t){let t=1e12;if(e.indexOf(".")>-1){const n=e.split(".")[1].length;for(let e=0;e<n;e++)t*=10;e=e.replace(".","")}return Number(e)/Number(t)+"万亿元"}if(L=e.split("."),L.length>1?(S=L[0],N=L[1],N=N.substr(0,2)):(S=L[0],N=""),Y=[n,r,o,i,a,u,c,l,s,d],_=["",f,p,v],A=["",h,m],P=[O,C],M="",Number(S)>0)for(x=0,j=0;j<S.length;j++)T=S.length-j-1,D=S.substr(j,1),E=T/4,k=T%4,"0"===D?x++:(x>0&&(M+=Y[0]),x=0,M+=Y[Number(D)]+_[k]),0===k&&x<4&&(M+=A[E],x=0);if(""!==N)for(M+=y,j=0;j<N.length;j++)D=N.substr(j,1),"0"!==D&&(M+=Y[Number(D)]+P[j]);return""===M&&(M=n+b),""===N&&(M+=w),M=g+F+M,M}const lV=e=>cV(e);var sV=lV;class dV{constructor(e={}){s(this,"formFieldId",void 0),s(this,"formId",void 0),s(this,"layoutId",void 0),s(this,"boundProperty",void 0),s(this,"extendBoundPropertyOne",void 0),s(this,"extendBoundPropertyTwo",void 0),s(this,"formFieldDescribe",void 0),s(this,"controlType",void 0),s(this,"tableFieldOrder",void 0),s(this,"fieldDefaultValue",void 0),s(this,"titleWidth",void 0),s(this,"isBoldTitle",void 0),s(this,"isHideTitle",void 0),s(this,"titleColor",void 0),s(this,"placeholder",void 0),s(this,"tips",void 0),s(this,"isNotEdit",void 0),s(this,"bindingPrefix",void 0),s(this,"bindingSuffix",void 0),s(this,"builtInFrontLabel",void 0),s(this,"builtInPostLabel",void 0),s(this,"isHideControl",void 0),s(this,"isShowHoliday",void 0),s(this,"controlWidth",void 0),s(this,"isPasswordBox",void 0),s(this,"initRowHeight",void 0),s(this,"isFixedRowHeight",void 0),s(this,"formatType",void 0),s(this,"minValue",void 0),s(this,"maxValue",void 0),s(this,"step",void 0),s(this,"decimalPlaces",void 0),s(this,"thousandthPercentileFormat",void 0),s(this,"unit",void 0),s(this,"moneyUnit",void 0),s(this,"defineOptionalUnits",void 0),s(this,"defineOptionalUnitsDefault",void 0),s(this,"zoomType",void 0),s(this,"zoomMultiple",void 0),s(this,"isShowCapitalization",void 0),s(this,"isLineFeedDisplay",void 0),s(this,"isOptionType",void 0),s(this,"optionConfig",void 0),s(this,"dynamicOptionType",void 0),s(this,"generalDictionary",void 0),s(this,"generalDictionaryOptions",void 0),s(this,"treeShape",void 0),s(this,"treeShapeOptions",void 0),s(this,"disableNonLeafNodes",void 0),s(this,"dateFormat",void 0),s(this,"timeFormat",void 0),s(this,"isSupportMultiple",void 0),s(this,"maxUploadNumber",void 0),s(this,"limitSize",void 0),s(this,"supportUploadType",void 0),s(this,"customUploadType",void 0),s(this,"extendUploadType",void 0),s(this,"attachmentExtendProperties",void 0),s(this,"isMultipleChoice",void 0),s(this,"isSearchable",void 0),s(this,"canAddEntry",void 0),s(this,"isClearButton",void 0),s(this,"hiddenDropdown",void 0),s(this,"onOpeningValue",void 0),s(this,"whenClosedValue",void 0),s(this,"onOpeningText",void 0),s(this,"whenClosedText",void 0),s(this,"customFieldName",void 0),s(this,"textFold",void 0),s(this,"enableAutoComplete",void 0),s(this,"autoCompleteOptions",void 0),s(this,"verificationRules",void 0),s(this,"busAttr",void 0),s(this,"checkboxStyle",void 0),s(this,"itemWidth",void 0),s(this,"IsTreeOpen",void 0),s(this,"changeOnSelect",void 0),s(this,"textareaRows",void 0),this.formFieldId=e.formFieldId||"",this.formId=e.formId||"",this.layoutId=e.layoutId||"",this.boundProperty=e.boundProperty||"",this.extendBoundPropertyOne=e.extendBoundPropertyOne||"",this.extendBoundPropertyTwo=e.extendBoundPropertyTwo||"",this.formFieldDescribe=e.formFieldDescribe||"",this.controlType=e.controlType||"",this.tableFieldOrder=e.tableFieldOrder||void 0,this.fieldDefaultValue=e.fieldDefaultValue||"",this.titleWidth=e.titleWidth||"",this.isBoldTitle=e.isBoldTitle||"",this.isHideTitle=e.isHideTitle||"",this.titleColor=e.titleColor||"",this.placeholder=e.placeholder||"",this.tips=e.tips||"",this.isNotEdit=e.isNotEdit||"",this.bindingPrefix=e.bindingPrefix||"",this.bindingSuffix=e.bindingSuffix||"",this.builtInFrontLabel=e.builtInFrontLabel||"",this.builtInPostLabel=e.builtInPostLabel||"",this.isHideControl=e.isHideControl||"",this.isShowHoliday=e.isShowHoliday||"",this.controlWidth=e.controlWidth||"",this.isPasswordBox=e.isPasswordBox||"",this.initRowHeight=e.initRowHeight||void 0,this.isFixedRowHeight=e.isFixedRowHeight||"",this.formatType=e.formatType||"",this.minValue=e.minValue||void 0,this.maxValue=e.maxValue||void 0,this.step=e.step||void 0,this.decimalPlaces=e.decimalPlaces||void 0,this.thousandthPercentileFormat=e.thousandthPercentileFormat||"",this.unit=e.unit||"",this.moneyUnit=e.moneyUnit||"",this.defineOptionalUnits=e.defineOptionalUnits||"",this.defineOptionalUnitsDefault=e.defineOptionalUnitsDefault||"",this.zoomType=e.zoomType||"",this.zoomMultiple=e.zoomMultiple||void 0,this.isShowCapitalization=e.isShowCapitalization||"",this.isLineFeedDisplay=e.isLineFeedDisplay||"",this.isOptionType=e.isOptionType||"",this.optionConfig=e.optionConfig||"",this.dynamicOptionType=e.dynamicOptionType||"",this.generalDictionary=e.generalDictionary||"",this.generalDictionaryOptions=e.generalDictionaryOptions||"",this.treeShape=e.treeShape||"",this.treeShapeOptions=e.treeShapeOptions||"",this.disableNonLeafNodes=e.disableNonLeafNodes||"",this.dateFormat=e.dateFormat||"",this.timeFormat=e.timeFormat||"",this.isSupportMultiple=e.isSupportMultiple||"",this.maxUploadNumber=e.maxUploadNumber||void 0,this.limitSize=e.limitSize||void 0,this.supportUploadType=e.supportUploadType||"",this.customUploadType=e.customUploadType,this.extendUploadType=e.extendUploadType||"",this.attachmentExtendProperties=e.attachmentExtendProperties||"",this.isMultipleChoice=e.isMultipleChoice||"",this.isSearchable=e.isSearchable||"",this.canAddEntry=e.canAddEntry||"",this.isClearButton=e.isClearButton||"",this.hiddenDropdown=e.hiddenDropdown||"",this.onOpeningValue=e.onOpeningValue||"",this.whenClosedValue=e.whenClosedValue||"",this.onOpeningText=e.onOpeningText||"",this.whenClosedText=e.whenClosedText||"",this.customFieldName=e.customFieldName||"",this.textFold=e.textFold||"",this.enableAutoComplete=e.enableAutoComplete||"",this.autoCompleteOptions=e.autoCompleteOptions||[],this.verificationRules=e.verificationRules,this.busAttr=e.busAttr,this.checkboxStyle=e.checkboxStyle||"",this.IsTreeOpen=e.IsTreeOpen||"",this.itemWidth=e.itemWidth||"",this.changeOnSelect=e.changeOnSelect||"",this.textareaRows=e.textareaRows||3}}class fV{constructor(){s(this,"value",void 0)}}var pV=n("2804");class vV extends fV{constructor(e){super(),s(this,"history",[]),s(this,"validates",[]),s(this,"textNoticeCallback",void 0),this.setValue(e)}setValue(e){this.value=e||void 0}get(e){return this}addValidate(e){let t=[];if(e instanceof Array?t=e:t.push(e),t&&t.length>0)for(let n=0;n<t.length;n++)if(t[n].name){const e=this.validates.findIndex(e=>e.name===t[n].name);e>-1?this.validates[e].validateFunc=t[n].validateFunc:this.validates.push(t[n])}}removeValidate(e){if(e){const t=this.validates.findIndex(t=>t.name===e);t>-1&&this.validates.splice(t,1)}}getValidate(e){return e?this.validates.find(t=>t.name===e):null}validate(e=this.value){for(let t=0;t<this.validates.length;t++){const n=this.validates[t].validateFunc(e);if(n&&n.validateStatus!==pV["a"].Success.code)return n}return{validateStatus:pV["a"].Success.code,errorMsg:null}}text(){return this.textNoticeCallback?this.textNoticeCallback():""}}class hV extends fV{constructor(e={}){super(),s(this,"controls",void 0),this.controls=e}addControl(e,t){this.controls[e]=t}removeControl(e){null!=this.controls[e]&&delete this.controls[e]}get(e){return"string"===typeof e?this.controls[e]:null}}var mV=n("5cf9");function gV(e,t){null==t&&(t=[]),null!=e&&(e.isOptionType===mV["a"].Fixed.code?e.optionConfig=t:e.isOptionType===mV["a"].Dynamic.code&&(e.dynamicOptionType===$R["a"].GeneralDictionary.code?e.generalDictionaryOptions=t:e.dynamicOptionType===$R["a"].TreeDictionary.code&&(e.treeShapeOptions=t)))}function bV(e){if(null!=e){if(e.isOptionType===mV["a"].Fixed.code)return e.optionConfig||[];if(e.isOptionType===mV["a"].Dynamic.code){if(e.dynamicOptionType===$R["a"].GeneralDictionary.code)return e.generalDictionaryOptions||[];if(e.dynamicOptionType===$R["a"].TreeDictionary.code)return e.treeShapeOptions||[]}}return[]}const yV=(e,...t)=>bV(e),OV=(e,t)=>gV(e,t);var CV=n("fbf2");function wV(e,t){var n;const r=null===(n=Object(i["getCurrentInstance"])())||void 0===n?void 0:n.proxy,o=null===r||void 0===r?void 0:r.$mathjs;return e&&t.controlAttr.zoomMultiple&&(t.controlAttr.zoomType===CV["a"].enlarge.code?e=o.format(o.evaluate(`${e} * ${t.controlAttr.zoomMultiple}`),{notation:"fixed"}):t.controlAttr.zoomType===CV["a"].narrow.code?e=o.format(o.evaluate(`${e} / ${t.controlAttr.zoomMultiple}`),{notation:"fixed"}):t.controlAttr.zoomType===CV["a"].automatic.code&&(e=o.format(o.evaluate(`${e} * ${t.controlAttr.zoomMultiple}`),{notation:"fixed"}))),"0"===String(t.value)&&(e=0),e}const SV=(e,t)=>wV(e,t);var NV=SV;function MV(e,t,n,r){if(null!=t&&Object.values(t).length>0)for(const o of Object.values(t))return o[n||"name"]||r;return r||""}const xV=(e,t,n,r)=>MV(e,t,n,r);var jV=xV;const TV=["title"],DV={key:1};function EV(e,t,n,r,o,a){return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{class:Object(i["normalizeClass"])(["lo-text-container",[{"lo-text-column":!e.unfold},{"lo-text-row":e.unfold}]])},[Object(i["createElementVNode"])("div",{class:Object(i["normalizeClass"])(["lo-text-box",{"lo-over":!e.ifOver},{"lo-over-hidden":!e.unfold},{"lo-unfold":e.ifOver&&!e.unfold}]),ref:"textBox"},[Object(i["createElementVNode"])("span",{class:"lo-text",ref:"spanBox",title:e.content},[e.linkList.indexOf(e.fieldKey)>-1?(Object(i["openBlock"])(),Object(i["createElementBlock"])("a",{key:0,href:"#",onClick:t[0]||(t[0]=t=>e.linkClick(e.content))},Object(i["toDisplayString"])(e.content),1)):(Object(i["openBlock"])(),Object(i["createElementBlock"])("span",DV,Object(i["toDisplayString"])(e.content),1))],8,TV)],2),e.ifOver?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{key:0,class:"lo-btn",onClick:t[1]||(t[1]=t=>e.unfold=!e.unfold)},Object(i["toDisplayString"])(e.unfold?"收起":"展开"),1)):Object(i["createCommentVNode"])("",!0)],2)}let kV=class extends se{constructor(...e){super(...e),s(this,"ifOver",!1),s(this,"unfold",!1),s(this,"enableStretchText",void 0),s(this,"content",void 0),s(this,"fieldKey",void 0),s(this,"linkList",void 0),s(this,"spanBox",void 0),s(this,"textBox",void 0)}mounted(){this.onContentHandle()}linkClick(e){this.$emit("linkClick",e)}onContentHandle(){this.ifOver=this.spanBox.offsetHeight>this.textBox.offsetHeight}};d([ve({default:!1})],kV.prototype,"enableStretchText",void 0),d([ve({default:""})],kV.prototype,"content",void 0),d([ve({default:""})],kV.prototype,"fieldKey",void 0),d([ve({type:Array,default:()=>[]})],kV.prototype,"linkList",void 0),d([me()],kV.prototype,"spanBox",void 0),d([me()],kV.prototype,"textBox",void 0),d([ge("content")],kV.prototype,"onContentHandle",null),kV=d([de({name:"StretchText"})],kV);var LV=kV,YV=(n("e04f"),n("6b0d")),_V=n.n(YV);const AV=_V()(LV,[["render",EV],["__scopeId","data-v-12085cfe"]]);var PV=AV,FV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},IV=FV;function BV(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){ZV(e,t,n[t])}))}return e}function ZV(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var RV=function(e,t){var n=BV({},e,t.attrs);return Object(i["createVNode"])(ef,BV({},n,{icon:IV}),null)};RV.displayName="PlusOutlined",RV.inheritAttrs=!1;var HV=RV,VV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},XV=VV;function JV(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){zV(e,t,n[t])}))}return e}function zV(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var QV=function(e,t){var n=JV({},e,t.attrs);return Object(i["createVNode"])(ef,JV({},n,{icon:XV}),null)};QV.displayName="QuestionCircleOutlined",QV.inheritAttrs=!1;var WV=QV,KV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},UV=KV;function GV(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){$V(e,t,n[t])}))}return e}function $V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qV=function(e,t){var n=GV({},e,t.attrs);return Object(i["createVNode"])(ef,GV({},n,{icon:UV}),null)};qV.displayName="UploadOutlined",qV.inheritAttrs=!1;var eX=qV,tX={locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",yearFormat:"YYYY年",dayFormat:"D日",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH时mm分ss秒",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪"},nX=tX,rX={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]},oX=rX,iX={lang:Fe({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},nX),timePickerLocale:Fe({},oX)};iX.lang.ok="确定";var aX=iX;const uX="YDYQSXMWZSSXJBYMGCCZQPSSQBYCDSCDQLDYLYBSSJGYZZJJFKCCLZDHWDWZJLJPFYYNWJJTMYHZWZHFLZPPQHGSCYYYNJQYXXGJHHSDSJNKKTMOMLCRXYPSNQSECCQZGGLLYJLMYZZSECYKYYHQWJSSGGYXYZYJWWKDJHYCHMYXJTLXJYQBYXZLDWRDJRWYSRLDZJPCBZJJBRCFTLECZSTZFXXZHTRQHYBDLYCZSSYMMRFMYQZPWWJJYFCRWFDFZQPYDDWYXKYJAWJFFXYPSFTZYHHYZYSWCJYXSCLCXXWZZXNBGNNXBXLZSZSBSGPYSYZDHMDZBQBZCWDZZYYTZHBTSYYBZGNTNXQYWQSKBPHHLXGYBFMJEBJHHGQTJCYSXSTKZHLYCKGLYSMZXYALMELDCCXGZYRJXSDLTYZCQKCNNJWHJTZZCQLJSTSTBNXBTYXCEQXGKWJYFLZQLYHYXSPSFXLMPBYSXXXYDJCZYLLLSJXFHJXPJBTFFYABYXBHZZBJYZLWLCZGGBTSSMDTJZXPTHYQTGLJSCQFZKJZJQNLZWLSLHDZBWJNCJZYZSQQYCQYRZCJJWYBRTWPYFTWEXCSKDZCTBZHYZZYYJXZCFFZZMJYXXSDZZOTTBZLQWFCKSZSXFYRLNYJMBDTHJXSQQCCSBXYYTSYFBXDZTGBCNSLCYZZPSAZYZZSCJCSHZQYDXLBPJLLMQXTYDZXSQJTZPXLCGLQTZWJBHCTSYJSFXYEJJTLBGXSXJMYJQQPFZASYJNTYDJXKJCDJSZCBARTDCLYJQMWNQNCLLLKBYBZZSYHQQLTWLCCXTXLLZNTYLNEWYZYXCZXXGRKRMTCNDNJTSYYSSDQDGHSDBJGHRWRQLYBGLXHLGTGXBQJDZPYJSJYJCTMRNYMGRZJCZGJMZMGXMPRYXKJNYMSGMZJYMKMFXMLDTGFBHCJHKYLPFMDXLQJJSMTQGZSJLQDLDGJYCALCMZCSDJLLNXDJFFFFJCZFMZFFPFKHKGDPSXKTACJDHHZDDCRRCFQYJKQCCWJDXHWJLYLLZGCFCQDSMLZPBJJPLSBCJGGDCKKDEZSQCCKJGCGKDJTJDLZYCXKLQSCGJCLTFPCQCZGWPJDQYZJJBYJHSJDZWGFSJGZKQCCZLLPSPKJGQJHZZLJPLGJGJJTHJJYJZCZMLZLYQBGJWMLJKXZDZNJQSYZMLJLLJKYWXMKJLHSKJGBMCLYYMKXJQLBMLLKMDXXKWYXYSLMLPSJQQJQXYXFJTJDXMXXLLCXQBSYJBGWYMBGGBCYXPJYGPEPFGDJGBHBNSQJYZJKJKHXQFGQZKFHYGKHDKLLSDJQXPQYKYBNQSXQNSZSWHBSXWHXWBZZXDMNSJBSBKBBZKLYLXGWXDRWYQZMYWSJQLCJXXJXKJEQXSCYETLZHLYYYSDZPAQYZCMTLSHTZCFYZYXYLJSDCJQAGYSLCQLYYYSHMRQQKLDXZSCSSSYDYCJYSFSJBFRSSZQSBXXPXJYSDRCKGJLGDKZJZBDKTCSYQPYHSTCLDJDHMXMCGXYZHJDDTMHLTXZXYLYMOHYJCLTYFBQQXPFBDFHHTKSQHZYYWCNXXCRWHOWGYJLEGWDQCWGFJYCSNTMYTOLBYGWQWESJPWNMLRYDZSZTXYQPZGCWXHNGPYXSHMYQJXZTDPPBFYHZHTJYFDZWKGKZBLDNTSXHQEEGZZYLZMMZYJZGXZXKHKSTXNXXWYLYAPSTHXDWHZYMPXAGKYDXBHNHXKDPJNMYHYLPMGOCSLNZHKXXLPZZLBMLSFBHHGYGYYGGBHSCYAQTYWLXTZQCEZYDQDQMMHTKLLSZHLSJZWFYHQSWSCWLQAZYNYTLSXTHAZNKZZSZZLAXXZWWCTGQQTDDYZTCCHYQZFLXPSLZYGPZSZNGLNDQTBDLXGTCTAJDKYWNSYZLJHHZZCWNYYZYWMHYCHHYXHJKZWSXHZYXLYSKQYSPSLYZWMYPPKBYGLKZHTYXAXQSYSHXASMCHKDSCRSWJPWXSGZJLWWSCHSJHSQNHCSEGNDAQTBAALZZMSSTDQJCJKTSCJAXPLGGXHHGXXZCXPDMMHLDGTYBYSJMXHMRCPXXJZCKZXSHMLQXXTTHXWZFKHCCZDYTCJYXQHLXDHYPJQXYLSYYDZOZJNYXQEZYSQYAYXWYPDGXDDXSPPYZNDLTWRHXYDXZZJHTCXMCZLHPYYYYMHZLLHNXMYLLLMDCPPXHMXDKYCYRDLTXJCHHZZXZLCCLYLNZSHZJZZLNNRLWHYQSNJHXYNTTTKYJPYCHHYEGKCTTWLGQRLGGTGTYGYHPYHYLQYQGCWYQKPYYYTTTTLHYHLLTYTTSPLKYZXGZWGPYDSSZZDQXSKCQNMJJZZBXYQMJRTFFBTKHZKBXLJJKDXJTLBWFZPPTKQTZTGPDGNTPJYFALQMKGXBDCLZFHZCLLLLADPMXDJHLCCLGYHDZFGYDDGCYYFGYDXKSSEBDHYKDKDKHNAXXYBPBYYHXZQGAFFQYJXDMLJCSQZLLPCHBSXGJYNDYBYQSPZWJLZKSDDTACTBXZDYZYPJZQSJNKKTKNJDJGYYPGTLFYQKASDNTCYHBLWDZHBBYDWJRYGKZYHEYYFJMSDTYFZJJHGCXPLXHLDWXXJKYTCYKSSSMTWCTTQZLPBSZDZWZXGZAGYKTYWXLHLSPBCLLOQMMZSSLCMBJCSZZKYDCZJGQQDSMCYTZQQLWZQZXSSFPTTFQMDDZDSHDTDWFHTDYZJYQJQKYPBDJYYXTLJHDRQXXXHAYDHRJLKLYTWHLLRLLRCXYLBWSRSZZSYMKZZHHKYHXKSMDSYDYCJPBZBSQLFCXXXNXKXWYWSDZYQOGGQMMYHCDZTTFJYYBGSTTTYBYKJDHKYXBELHTYPJQNFXFDYKZHQKZBYJTZBXHFDXKDASWTAWAJLDYJSFHBLDNNTNQJTJNCHXFJSRFWHZFMDRYJYJWZPDJKZYJYMPCYZNYNXFBYTFYFWYGDBNZZZDNYTXZEMMQBSQEHXFZMBMFLZZSRXYMJGSXWZJSPRYDJSJGXHJJGLJJYNZZJXHGXKYMLPYYYCXYTWQZSWHWLYRJLPXSLSXMFSWWKLCTNXNYNPSJSZHDZEPTXMYYWXYYSYWLXJQZQXZDCLEEELMCPJPCLWBXSQHFWWTFFJTNQJHJQDXHWLBYZNFJLALKYYJLDXHHYCSTYYWNRJYXYWTRMDRQHWQCMFJDYZMHMYYXJWMYZQZXTLMRSPWWCHAQBXYGZYPXYYRRCLMPYMGKSJSZYSRMYJSNXTPLNBAPPYPYLXYYZKYNLDZYJZCZNNLMZHHARQMPGWQTZMXXMLLHGDZXYHXKYXYCJMFFYYHJFSBSSQLXXNDYCANNMTCJCYPRRNYTYQNYYMBMSXNDLYLYSLJRLXYSXQMLLYZLZJJJKYZZCSFBZXXMSTBJGNXYZHLXNMCWSCYZYFZLXBRNNNYLBNRTGZQYSATSWRYHYJZMZDHZGZDWYBSSCSKXSYHYTXXGCQGXZZSHYXJSCRHMKKBXCZJYJYMKQHZJFNBHMQHYSNJNZYBKNQMCLGQHWLZNZSWXKHLJHYYBQLBFCDSXDLDSPFZPSKJYZWZXZDDXJSMMEGJSCSSMGCLXXKYYYLNYPWWWGYDKZJGGGZGGSYCKNJWNJPCXBJJTQTJWDSSPJXZXNZXUMELPXFSXTLLXCLJXJJLJZXCTPSWXLYDHLYQRWHSYCSQYYBYAYWJJJQFWQCQQCJQGXALDBZZYJGKGXPLTZYFXJLTPADKYQHPMATLCPDCKBMTXYBHKLENXDLEEGQDYMSAWHZMLJTWYGXLYQZLJEEYYBQQFFNLYXRDSCTGJGXYYNKLLYQKCCTLHJLQMKKZGCYYGLLLJDZGYDHZWXPYSJBZKDZGYZZHYWYFQYTYZSZYEZZLYMHJJHTSMQWYZLKYYWZCSRKQYTLTDXWCTYJKLWSQZWBDCQYNCJSRSZJLKCDCDTLZZZACQQZZDDXYPLXZBQJYLZLLLQDDZQJYJYJZYXNYYYNYJXKXDAZWYRDLJYYYRJLXLLDYXJCYWYWNQCCLDDNYYYNYCKCZHXXCCLGZQJGKWPPCQQJYSBZZXYJSQPXJPZBSBDSFNSFPZXHDWZTDWPPTFLZZBZDMYYPQJRSDZSQZSQXBDGCPZSWDWCSQZGMDHZXMWWFYBPDGPHTMJTHZSMMBGZMBZJCFZWFZBBZMQCFMBDMCJXLGPNJBBXGYHYYJGPTZGZMQBQTCGYXJXLWZKYDPDYMGCFTPFXYZTZXDZXTGKMTYBBCLBJASKYTSSQYYMSZXFJEWLXLLSZBQJJJAKLYLXLYCCTSXMCWFKKKBSXLLLLJYXTYLTJYYTDPJHNHNNKBYQNFQYYZBYYESSESSGDYHFHWTCJBSDZZTFDMXHCNJZYMQWSRYJDZJQPDQBBSTJGGFBKJBXTGQHNGWJXJGDLLTHZHHYYYYYYSXWTYYYCCBDBPYPZYCCZYJPZYWCBDLFWZCWJDXXHYHLHWZZXJTCZLCDPXUJCZZZLYXJJTXPHFXWPYWXZPTDZZBDZCYHJHMLXBQXSBYLRDTGJRRCTTTHYTCZWMXFYTWWZCWJWXJYWCSKYBZSCCTZQNHXNWXXKHKFHTSWOCCJYBCMPZZYKBNNZPBZHHZDLSYDDYTYFJPXYNGFXBYQXCBHXCPSXTYZDMKYSNXSXLHKMZXLYHDHKWHXXSSKQYHHCJYXGLHZXCSNHEKDTGZXQYPKDHEXTYKCNYMYYYPKQYYYKXZLTHJQTBYQHXBMYHSQCKWWYLLHCYYLNNEQXQWMCFBDCCMLJGGXDQKTLXKGNQCDGZJWYJJLYHHQTTTNWCHMXCXWHWSZJYDJCCDBQCDGDNYXZTHCQRXCBHZTQCBXWGQWYYBXHMBYMYQTYEXMQKYAQYRGYZSLFYKKQHYSSQYSHJGJCNXKZYCXSBXYXHYYLSTYCXQTHYSMGSCPMMGCCCCCMTZTASMGQZJHKLOSQYLSWTMXSYQKDZLJQQYPLSYCZTCQQPBBQJZCLPKHQZYYXXDTDDTSJCXFFLLCHQXMJLWCJCXTSPYCXNDTJSHJWXDQQJSKXYAMYLSJHMLALYKXCYYDMNMDQMXMCZNNCYBZKKYFLMCHCMLHXRCJJHSYLNMTJZGZGYWJXSRXCWJGJQHQZDQJDCJJZKJKGDZQGJJYJYLXZXXCDQHHHEYTMHLFSBDJSYYSHFYSTCZQLPBDRFRZTZYKYWHSZYQKWDQZRKMSYNBCRXQBJYFAZPZZEDZCJYWBCJWHYJBQSZYWRYSZPTDKZPFPBNZTKLQYHBBZPNPPTYZZYBQNYDCPJMMCYCQMCYFZZDCMNLFPBPLNGQJTBTTNJZPZBBZNJKLJQYLNBZQHKSJZNGGQSZZKYXSHPZSNBCGZKDDZQANZHJKDRTLZLSWJLJZLYWTJNDJZJHXYAYNCBGTZCSSQMNJPJYTYSWXZFKWJQTKHTZPLBHSNJZSYZBWZZZZLSYLSBJHDWWQPSLMMFBJDWAQYZTCJTBNNWZXQXCDSLQGDSDPDZHJTQQPSWLYYJZLGYXYZLCTCBJTKTYCZJTQKBSJLGMGZDMCSGPYNJZYQYYKNXRPWSZXMTNCSZZYXYBYHYZAXYWQCJTLLCKJJTJHGDXDXYQYZZBYWDLWQCGLZGJGQRQZCZSSBCRPCSKYDZNXJSQGXSSJMYDNSTZTPBDLTKZWXQWQTZEXNQCZGWEZKSSBYBRTSSSLCCGBPSZQSZLCCGLLLZXHZQTHCZMQGYZQZNMCOCSZJMMZSQPJYGQLJYJPPLDXRGZYXCCSXHSHGTZNLZWZKJCXTCFCJXLBMQBCZZWPQDNHXLJCTHYZLGYLNLSZZPCXDSCQQHJQKSXZPBAJYEMSMJTZDXLCJYRYYNWJBNGZZTMJXLTBSLYRZPYLSSCNXPHLLHYLLQQZQLXYMRSYCXZLMMCZLTZSDWTJJLLNZGGQXPFSKYGYGHBFZPDKMWGHCXMSGDXJMCJZDYCABXJDLNBCDQYGSKYDQTXDJJYXMSZQAZDZFSLQXYJSJZYLBTXXWXQQZBJZUFBBLYLWDSLJHXJYZJWTDJCZFQZQZZDZSXZZQLZCDZFJHYSPYMPQZMLPPLFFXJJNZZYLSJEYQZFPFZKSYWJJJHRDJZZXTXXGLGHYDXCSKYSWMMZCWYBAZBJKSHFHJCXMHFQHYXXYZFTSJYZFXYXPZLCHMZMBXHZZSXYFYMNCWDABAZLXKTCSHHXKXJJZJSTHYGXSXYYHHHJWXKZXSSBZZWHHHCWTZZZPJXSNXQQJGZYZYWLLCWXZFXXYXYHXMKYYSWSQMNLNAYCYSPMJKHWCQHYLAJJMZXHMMCNZHBHXCLXTJPLTXYJHDYYLTTXFSZHYXXSJBJYAYRSMXYPLCKDUYHLXRLNLLSTYZYYQYGYHHSCCSMZCTZQXKYQFPYYRPFFLKQUNTSZLLZMWWTCQQYZWTLLMLMPWMBZSSTZRBPDDTLQJJBXZCSRZQQYGWCSXFWZLXCCRSZDZMCYGGDZQSGTJSWLJMYMMZYHFBJDGYXCCPSHXNZCSBSJYJGJMPPWAFFYFNXHYZXZYLREMZGZCYZSSZDLLJCSQFNXZKPTXZGXJJGFMYYYSNBTYLBNLHPFZDCYFBMGQRRSSSZXYSGTZRNYDZZCDGPJAFJFZKNZBLCZSZPSGCYCJSZLMLRSZBZZLDLSLLYSXSQZQLYXZLSKKBRXBRBZCYCXZZZEEYFGKLZLYYHGZSGZLFJHGTGWKRAAJYZKZQTSSHJJXDCYZUYJLZYRZDQQHGJZXSSZBYKJPBFRTJXLLFQWJHYLQTYMBLPZDXTZYGBDHZZRBGXHWNJTJXLKSCFSMWLSDQYSJTXKZSCFWJLBXFTZLLJZLLQBLSQMQQCGCZFPBPHZCZJLPYYGGDTGWDCFCZQYYYQYSSCLXZSKLZZZGFFCQNWGLHQYZJJCZLQZZYJPJZZBPDCCMHJGXDQDGDLZQMFGPSYTSDYFWWDJZJYSXYYCZCYHZWPBYKXRYLYBHKJKSFXTZJMMCKHLLTNYYMSYXYZPYJQYCSYCWMTJJKQYRHLLQXPSGTLYYCLJSCPXJYZFNMLRGJJTYZBXYZMSJYJHHFZQMSYXRSZCWTLRTQZSSTKXGQKGSPTGCZNJSJCQCXHMXGGZTQYDJKZDLBZSXJLHYQGGGTHQSZPYHJHHGYYGKGGCWJZZYLCZLXQSFTGZSLLLMLJSKCTBLLZZSZMMNYTPZSXQHJCJYQXYZXZQZCPSHKZZYSXCDFGMWQRLLQXRFZTLYSTCTMJCXJJXHJNXTNRZTZFQYHQGLLGCXSZSJDJLJCYDSJTLNYXHSZXCGJZYQPYLFHDJSBPCCZHJJJQZJQDYBSSLLCMYTTMQTBHJQNNYGKYRQYQMZGCJKPDCGMYZHQLLSLLCLMHOLZGDYYFZSLJCQZLYLZQJESHNYLLJXGJXLYSYYYXNBZLJSSZCQQCJYLLZLTJYLLZLLBNYLGQCHXYYXOXCXQKYJXXXYKLXSXXYQXCYKQXQCSGYXXYQXYGYTQOHXHXPYXXXULCYEYCHZZCBWQBBWJQZSCSZSSLZYLKDESJZWMYMCYTSDSXXSCJPQQSQYLYYZYCMDJDZYWCBTJSYDJKCYDDJLBDJJSODZYSYXQQYXDHHGQQYQHDYXWGMMMAJDYBBBPPBCMUUPLJZSMTXERXJMHQNUTPJDCBSSMSSSTKJTSSMMTRCPLZSZMLQDSDMJMQPNQDXCFYNBFSDQXYXHYAYKQYDDLQYYYSSZBYDSLNTFQTZQPZMCHDHCZCWFDXTMYQSPHQYYXSRGJCWTJTZZQMGWJJTJHTQJBBHWZPXXHYQFXXQYWYYHYSCDYDHHQMNMTMWCPBSZPPZZGLMZFOLLCFWHMMSJZTTDHZZYFFYTZZGZYSKYJXQYJZQBHMBZZLYGHGFMSHPZFZSNCLPBQSNJXZSLXXFPMTYJYGBXLLDLXPZJYZJYHHZCYWHJYLSJEXFSZZYWXKZJLUYDTMLYMQJPWXYHXSKTQJEZRPXXZHHMHWQPWQLYJJQJJZSZCPHJLCHHNXJLQWZJHBMZYXBDHHYPZLHLHLGFWLCHYYTLHJXCJMSCPXSTKPNHQXSRTYXXTESYJCTLSSLSTDLLLWWYHDHRJZSFGXTSYCZYNYHTDHWJSLHTZDQDJZXXQHGYLTZPHCSQFCLNJTCLZPFSTPDYNYLGMJLLYCQHYSSHCHYLHQYQTMZYPBYWRFQYKQSYSLZDQJMPXYYSSRHZJNYWTQDFZBWWTWWRXCWHGYHXMKMYYYQMSMZHNGCEPMLQQMTCWCTMMPXJPJJHFXYYZSXZHTYBMSTSYJTTQQQYYLHYNPYQZLCYZHZWSMYLKFJXLWGXYPJYTYSYXYMZCKTTWLKSMZSYLMPWLZWXWQZSSAQSYXYRHSSNTSRAPXCPWCMGDXHXZDZYFJHGZTTSBJHGYZSZYSMYCLLLXBTYXHBBZJKSSDMALXHYCFYGMQYPJYCQXJLLLJGSLZGQLYCJCCZOTYXMTMTTLLWTGPXYMZMKLPSZZZXHKQYSXCTYJZYHXSHYXZKXLZWPSQPYHJWPJPWXQQYLXSDHMRSLZZYZWTTCYXYSZZSHBSCCSTPLWSSCJCHNLCGCHSSPHYLHFHHXJSXYLLNYLSZDHZXYLSXLWZYKCLDYAXZCMDDYSPJTQJZLNWQPSSSWCTSTSZLBLNXSMNYYMJQBQHRZWTYYDCHQLXKPZWBGQYBKFCMZWPZLLYYLSZYDWHXPSBCMLJBSCGBHXLQHYRLJXYSWXWXZSLDFHLSLYNJLZYFLYJYCDRJLFSYZFSLLCQYQFGJYHYXZLYLMSTDJCYHBZLLNWLXXYGYYHSMGDHXXHHLZZJZXCZZZCYQZFNGWPYLCPKPYYPMCLQKDGXZGGWQBDXZZKZFBXXLZXJTPJPTTBYTSZZDWSLCHZHSLTYXHQLHYXXXYYZYSWTXZKHLXZXZPYHGCHKCFSYHUTJRLXFJXPTZTWHPLYXFCRHXSHXKYXXYHZQDXQWULHYHMJTBFLKHTXCWHJFWJCFPQRYQXCYYYQYGRPYWSGSUNGWCHKZDXYFLXXHJJBYZWTSXXNCYJJYMSWZJQRMHXZWFQSYLZJZGBHYNSLBGTTCSYBYXXWXYHXYYXNSQYXMQYWRGYQLXBBZLJSYLPSYTJZYHYZAWLRORJMKSCZJXXXYXCHDYXRYXXJDTSQFXLYLTSFFYXLMTYJMJUYYYXLTZCSXQZQHZXLYYXZHDNBRXXXJCTYHLBRLMBRLLAXKYLLLJLYXXLYCRYLCJTGJCMTLZLLCYZZPZPCYAWHJJFYBDYYZSMPCKZDQYQPBPCJPDCYZMDPBCYYDYCNNPLMTMLRMFMMGWYZBSJGYGSMZQQQZTXMKQWGXLLPJGZBQCDJJJFPKJKCXBLJMSWMDTQJXLDLPPBXCWRCQFBFQJCZAHZGMYKPHYYHZYKNDKZMBPJYXPXYHLFPNYYGXJDBKXNXHJMZJXSTRSTLDXSKZYSYBZXJLXYSLBZYSLHXJPFXPQNBYLLJQKYGZMCYZZYMCCSLCLHZFWFWYXZMWSXTYNXJHPYYMCYSPMHYSMYDYSHQYZCHMJJMZCAAGCFJBBHPLYZYLXXSDJGXDHKXXTXXNBHRMLYJSLTXMRHNLXQJXYZLLYSWQGDLBJHDCGJYQYCMHWFMJYBMBYJYJWYMDPWHXQLDYGPDFXXBCGJSPCKRSSYZJMSLBZZJFLJJJLGXZGYXYXLSZQYXBEXYXHGCXBPLDYHWETTWWCJMBTXCHXYQXLLXFLYXLLJLSSFWDPZSMYJCLMWYTCZPCHQEKCQBWLCQYDPLQPPQZQFJQDJHYMMCXTXDRMJWRHXCJZYLQXDYYNHYYHRSLSRSYWWZJYMTLTLLGTQCJZYABTCKZCJYCCQLJZQXALMZYHYWLWDXZXQDLLQSHGPJFJLJHJABCQZDJGTKHSSTCYJLPSWZLXZXRWGLDLZRLZXTGSLLLLZLYXXWGDZYGBDPHZPBRLWSXQBPFDWOFMWHLYPCBJCCLDMBZPBZZLCYQXLDOMZBLZWPDWYYGDSTTHCSQSCCRSSSYSLFYBFNTYJSZDFNDPDHDZZMBBLSLCMYFFGTJJQWFTMTPJWFNLBZCMMJTGBDZLQLPYFHYYMJYLSDCHDZJWJCCTLJCLDTLJJCPDDSQDSSZYBNDBJLGGJZXSXNLYCYBJXQYCBYLZCFZPPGKCXZDZFZTJJFJSJXZBNZYJQTTYJYHTYCZHYMDJXTTMPXSPLZCDWSLSHXYPZGTFMLCJTYCBPMGDKWYCYZCDSZZYHFLYCTYGWHKJYYLSJCXGYWJCBLLCSNDDBTZBSCLYZCZZSSQDLLMQYYHFSLQLLXFTYHABXGWNYWYYPLLSDLDLLBJCYXJZMLHLJDXYYQYTDLLLBUGBFDFBBQJZZMDPJHGCLGMJJPGAEHHBWCQXAXHHHZCHXYPHJAXHLPHJPGPZJQCQZGJJZZUZDMQYYBZZPHYHYBWHAZYJHYKFGDPFQSDLZMLJXKXGALXZDAGLMDGXMWZQYXXDXXPFDMMSSYMPFMDMMKXKSYZYSHDZKXSYSMMZZZMSYDNZZCZXFPLSTMZDNMXCKJMZTYYMZMZZMSXHHDCZJEMXXKLJSTLWLSQLYJZLLZJSSDPPMHNLZJCZYHMXXHGZCJMDHXTKGRMXFWMCGMWKDTKSXQMMMFZZYDKMSCLCMPCGMHSPXQPZDSSLCXKYXTWLWJYAHZJGZQMCSNXYYMMPMLKJXMHLMLQMXCTKZMJQYSZJSYSZHSYJZJCDAJZYBSDQJZGWZQQXFKDMSDJLFWEHKZQKJPEYPZYSZCDWYJFFMZZYLTTDZZEFMZLBNPPLPLPEPSZALLTYLKCKQZKGENQLWAGYXYDPXLHSXQQWQCQXQCLHYXXMLYCCWLYMQYSKGCHLCJNSZKPYZKCQZQLJPDMDZHLASXLBYDWQLWDNBQCRYDDZTJYBKBWSZDXDTNPJDTCTQDFXQQMGNXECLTTBKPWSLCTYQLPWYZZKLPYGZCQQPLLKCCYLPQMZCZQCLJSLQZDJXLDDHPZQDLJJXZQDXYZQKZLJCYQDYJPPYPQYKJYRMPCBYMCXKLLZLLFQPYLLLMBSGLCYSSLRSYSQTMXYXZQZFDZUYSYZTFFMZZSMZQHZSSCCMLYXWTPZGXZJGZGSJSGKDDHTQGGZLLBJDZLCBCHYXYZHZFYWXYZYMSDBZZYJGTSMTFXQYXQSTDGSLNXDLRYZZLRYYLXQHTXSRTZNGZXBNQQZFMYKMZJBZYMKBPNLYZPBLMCNQYZZZSJZHJCTZKHYZZJRDYZHNPXGLFZTLKGJTCTSSYLLGZRZBBQZZKLPKLCZYSSUYXBJFPNJZZXCDWXZYJXZZDJJKGGRSRJKMSMZJLSJYWQSKYHQJSXPJZZZLSNSHRNYPZTWCHKLPSRZLZXYJQXQKYSJYCZTLQZYBBYBWZPQDWWYZCYTJCJXCKCWDKKZXSGKDZXWWYYJQYYTCYTDLLXWKCZKKLCCLZCQQDZLQLCSFQCHQHSFSMQZZLNBJJZBSJHTSZDYSJQJPDLZCDCWJKJZZLPYCGMZWDJJBSJQZSYZYHHXJPBJYDSSXDZNCGLQMBTSFSBPDZDLZNFGFJGFSMPXJQLMBLGQCYYXBQKDJJQYRFKZTJDHCZKLBSDZCFJTPLLJGXHYXZCSSZZXSTJYGKGCKGYOQXJPLZPBPGTGYJZGHZQZZLBJLSQFZGKQQJZGYCZBZQTLDXRJXBSXXPZXHYZYCLWDXJJHXMFDZPFZHQHQMQGKSLYHTYCGFRZGNQXCLPDLBZCSCZQLLJBLHBZCYPZZPPDYMZZSGYHCKCPZJGSLJLNSCDSLDLXBMSTLDDFJMKDJDHZLZXLSZQPQPGJLLYBDSZGQLBZLSLKYYHZTTNTJYQTZZPSZQZTLLJTYYLLQLLQYZQLBDZLSLYYZYMDFSZSNHLXZNCZQZPBWSKRFBSYZMTHBLGJPMCZZLSTLXSHTCSYZLZBLFEQHLXFLCJLYLJQCBZLZJHHSSTBRMHXZHJZCLXFNBGXGTQJCZTMSFZKJMSSNXLJKBHSJXNTNLZDNTLMSJXGZJYJCZXYJYJWRWWQNZTNFJSZPZSHZJFYRDJSFSZJZBJFZQZZHZLXFYSBZQLZSGYFTZDCSZXZJBQMSZKJRHYJZCKMJKHCHGTXKXQGLXPXFXTRTYLXJXHDTSJXHJZJXZWZLCQSBTXWXGXTXXHXFTSDKFJHZYJFJXRZSDLLLTQSQQZQWZXSYQTWGWBZCGZLLYZBCLMQQTZHZXZXLJFRMYZFLXYSQXXJKXRMQDZDMMYYBSQBHGZMWFWXGMXLZPYYTGZYCCDXYZXYWGSYJYZNBHPZJSQSYXSXRTFYZGRHZTXSZZTHCBFCLSYXZLZQMZLMPLMXZJXSFLBYZMYQHXJSXRXSQZZZSSLYFRCZJRCRXHHZXQYDYHXSJJHZCXZBTYNSYSXJBQLPXZQPYMLXZKYXLXCJLCYSXXZZLXDLLLJJYHZXGYJWKJRWYHCPSGNRZLFZWFZZNSXGXFLZSXZZZBFCSYJDBRJKRDHHGXJLJJTGXJXXSTJTJXLYXQFCSGSWMSBCTLQZZWLZZKXJMLTMJYHSDDBXGZHDLBMYJFRZFSGCLYJBPMLYSMSXLSZJQQHJZFXGFQFQBPXZGYYQXGZTCQWYLTLGWSGWHRLFSFGZJMGMGBGTJFSYZZGZYZAFLSSPMLPFLCWBJZCLJJMZLPJJLYMQDMYYYFBGYGYZMLYZDXQYXRQQQHSYYYQXYLJTYXFSFSLLGNQCYHYCWFHCCCFXPYLYPLLZYXXXXXKQHHXSHJZCFZSCZJXCPZWHHHHHAPYLQALPQAFYHXDYLUKMZQGGGDDESRNNZLTZGCHYPPYSQJJHCLLJTOLNJPZLJLHYMHEYDYDSQYCDDHGZUNDZCLZYZLLZNTNYZGSLHSLPJJBDGWXPCDUTJCKLKCLWKLLCASSTKZZDNQNTTLYYZSSYSSZZRYLJQKCQDHHCRXRZYDGRGCWCGZQFFFPPJFZYNAKRGYWYQPQXXFKJTSZZXSWZDDFBBXTBGTZKZNPZZPZXZPJSZBMQHKCYXYLDKLJNYPKYGHGDZJXXEAHPNZKZTZCMXCXMMJXNKSZQNMNLWBWWXJKYHCPSTMCSQTZJYXTPCTPDTNNPGLLLZSJLSPBLPLQHDTNJNLYYRSZFFJFQWDPHZDWMRZCCLODAXNSSNYZRESTYJWJYJDBCFXNMWTTBYLWSTSZGYBLJPXGLBOCLHPCBJLTMXZLJYLZXCLTPNCLCKXTPZJSWCYXSFYSZDKNTLBYJCYJLLSTGQCBXRYZXBXKLYLHZLQZLNZCXWJZLJZJNCJHXMNZZGJZZXTZJXYCYYCXXJYYXJJXSSSJSTSSTTPPGQTCSXWZDCSYFPTFBFHFBBLZJCLZZDBXGCXLQPXKFZFLSYLTUWBMQJHSZBMDDBCYSCCLDXYCDDQLYJJWMQLLCSGLJJSYFPYYCCYLTJANTJJPWYCMMGQYYSXDXQMZHSZXPFTWWZQSWQRFKJLZJQQYFBRXJHHFWJJZYQAZMYFRHCYYBYQWLPEXCCZSTYRLTTDMQLYKMBBGMYYJPRKZNPBSXYXBHYZDJDNGHPMFSGMWFZMFQMMBCMZZCJJLCNUXYQLMLRYGQZCYXZLWJGCJCGGMCJNFYZZJHYCPRRCMTZQZXHFQGTJXCCJEAQCRJYHPLQLSZDJRBCQHQDYRHYLYXJSYMHZYDWLDFRYHBPYDTSSCNWBXGLPZMLZZTQSSCPJMXXYCSJYTYCGHYCJWYRXXLFEMWJNMKLLSWTXHYYYNCMMCWJDQDJZGLLJWJRKHPZGGFLCCSCZMCBLTBHBQJXQDSPDJZZGKGLFQYWBZYZJLTSTDHQHCTCBCHFLQMPWDSHYYTQWCNZZJTLBYMBPDYYYXSQKXWYYFLXXNCWCXYPMAELYKKJMZZZBRXYYQJFLJPFHHHYTZZXSGQQMHSPGDZQWBWPJHZJDYSCQWZKTXXSQLZYYMYSDZGRXCKKUJLWPYSYSCSYZLRMLQSYLJXBCXTLWDQZPCYCYKPPPNSXFYZJJRCEMHSZMSXLXGLRWGCSTLRSXBZGBZGZTCPLUJLSLYLYMTXMTZPALZXPXJTJWTCYYZLBLXBZLQMYLXPGHDSLSSDMXMBDZZSXWHAMLCZCPJMCNHJYSNSYGCHSKQMZZQDLLKABLWJXSFMOCDXJRRLYQZKJMYBYQLYHETFJZFRFKSRYXFJTWDSXXSYSQJYSLYXWJHSNLXYYXHBHAWHHJZXWMYLJCSSLKYDZTXBZSYFDXGXZJKHSXXYBSSXDPYNZWRPTQZCZENYGCXQFJYKJBZMLJCMQQXUOXSLYXXLYLLJDZBTYMHPFSTTQQWLHOKYBLZZALZXQLHZWRRQHLSTMYPYXJJXMQSJFNBXYXYJXXYQYLTHYLQYFMLKLJTMLLHSZWKZHLJMLHLJKLJSTLQXYLMBHHLNLZXQJHXCFXXLHYHJJGBYZZKBXSCQDJQDSUJZYYHZHHMGSXCSYMXFEBCQWWRBPYYJQTYZCYQYQQZYHMWFFHGZFRJFCDPXNTQYZPDYKHJLFRZXPPXZDBBGZQSTLGDGYLCQMLCHHMFYWLZYXKJLYPQHSYWMQQGQZMLZJNSQXJQSYJYCBEHSXFSZPXZWFLLBCYYJDYTDTHWZSFJMQQYJLMQXXLLDTTKHHYBFPWTYYSQQWNQWLGWDEBZWCMYGCULKJXTMXMYJSXHYBRWFYMWFRXYQMXYSZTZZTFYKMLDHQDXWYYNLCRYJBLPSXCXYWLSPRRJWXHQYPHTYDNXHHMMYWYTZCSQMTSSCCDALWZTCPQPYJLLQZYJSWXMZZMMYLMXCLMXCZMXMZSQTZPPQQBLPGXQZHFLJJHYTJSRXWZXSCCDLXTYJDCQJXSLQYCLZXLZZXMXQRJMHRHZJBHMFLJLMLCLQNLDXZLLLPYPSYJYSXCQQDCMQJZZXHNPNXZMEKMXHYKYQLXSXTXJYYHWDCWDZHQYYBGYBCYSCFGPSJNZDYZZJZXRZRQJJYMCANYRJTLDPPYZBSTJKXXZYPFDWFGZZRPYMTNGXZQBYXNBUFNQKRJQZMJEGRZGYCLKXZDSKKNSXKCLJSPJYYZLQQJYBZSSQLLLKJXTBKTYLCCDDBLSPPFYLGYDTZJYQGGKQTTFZXBDKTYYHYBBFYTYYBCLPDYTGDHRYRNJSPTCSNYJQHKLLLZSLYDXXWBCJQSPXBPJZJCJDZFFXXBRMLAZHCSNDLBJDSZBLPRZTSWSBXBCLLXXLZDJZSJPYLYXXYFTFFFBHJJXGBYXJPMMMPSSJZJMTLYZJXSWXTYLEDQPJMYGQZJGDJLQJWJQLLSJGJGYGMSCLJJXDTYGJQJQJCJZCJGDZZSXQGSJGGCXHQXSNQLZZBXHSGZXCXYLJXYXYYDFQQJHJFXDHCTXJYRXYSQTJXYEFYYSSYYJXNCYZXFXMSYSZXYYSCHSHXZZZGZZZGFJDLTYLNPZGYJYZYYQZPBXQBDZTZCZYXXYHHSQXSHDHGQHJHGYWSZTMZMLHYXGEBTYLZKQWYTJZRCLEKYSTDBCYKQQSAYXCJXWWGSBHJYZYDHCSJKQCXSWXFLTYNYZPZCCZJQTZWJQDZZZQZLJJXLSBHPYXXPSXSHHEZTXFPTLQYZZXHYTXNCFZYYHXGNXMYWXTZSJPTHHGYMXMXQZXTSBCZYJYXXTYYZYPCQLMMSZMJZZLLZXGXZAAJZYXJMZXWDXZSXZDZXLEYJJZQBHZWZZZQTZPSXZTDSXJJJZNYAZPHXYYSRNQDTHZHYYKYJHDZXZLSWCLYBZYECWCYCRYLCXNHZYDZYDYJDFRJJHTRSQTXYXJRJHOJYNXELXSFSFJZGHPZSXZSZDZCQZBYYKLSGSJHCZSHDGQGXYZGXCHXZJWYQWGYHKSSEQZZNDZFKWYSSTCLZSTSYMCDHJXXYWEYXCZAYDMPXMDSXYBSQMJMZJMTZQLPJYQZCGQHXJHHLXXHLHDLDJQCLDWBSXFZZYYSCHTYTYYBHECXHYKGJPXHHYZJFXHWHBDZFYZBCAPNPGNYDMSXHMMMMAMYNBYJTMPXYYMCTHJBZYFCGTYHWPHFTWZZEZSBZEGPFMTSKFTYCMHFLLHGPZJXZJGZJYXZSBBQSCZZLZCCSTPGXMJSFTCCZJZDJXCYBZLFCJSYZFGSZLYBCWZZBYZDZYPSWYJZXZBDSYUXLZZBZFYGCZXBZHZFTPBGZGEJBSTGKDMFHYZZJHZLLZZGJQZLSFDJSSCBZGPDLFZFZSZYZYZSYGCXSNXXCHCZXTZZLJFZGQSQYXZJQDCCZTQCDXZJYQJQCHXZTDLGSCXZSYQJQTZWLQDQZTQCHQQJZYEZZZPBWKDJFCJPZTYPQYQTTYNLMBDKTJZPQZQZZFPZSBNJLGYJDXJDZZKZGQKXDLPZJTCJDQBXDJQJSTCKNXBXZMSLYJCQMTJQWWCJQNJNLLLHJCWQTBZQYDZCZPZZDZYDDCYZZZCCJTTJFZDPRRTZTJDCQTQZDTJNPLZBCLLCTZSXKJZQZPZLBZRBTJDCXFCZDBCCJJLTQQPLDCGZDBBZJCQDCJWYNLLZYZCCDWLLXWZLXRXNTQQCZXKQLSGDFQTDDGLRLAJJTKUYMKQLLTZYTDYYCZGJWYXDXFRSKSTQTENQMRKQZHHQKDLDAZFKYPBGGPZREBZZYKZZSPEGJXGYKQZZZSLYSYYYZWFQZYLZZLZHWCHKYPQGNPGBLPLRRJYXCCSYYHSFZFYBZYYTGZXYLXCZWXXZJZBLFFLGSKHYJZEYJHLPLLLLCZGXDRZELRHGKLZZYHZLYQSZZJZQLJZFLNBHGWLCZCFJYSPYXZLZLXGCCPZBLLCYBBBBUBBCBPCRNNZCZYRBFSRLDCGQYYQXYGMQZWTZYTYJXYFWTEHZZJYWLCCNTZYJJZDEDPZDZTSYQJHDYMBJNYJZLXTSSTPHNDJXXBYXQTZQDDTJTDYYTGWSCSZQFLSHLGLBCZPHDLYZJYCKWTYTYLBNYTSDSYCCTYSZYYEBHEXHQDTWNYGYCLXTSZYSTQMYGZAZCCSZZDSLZCLZRQXYYELJSBYMXSXZTEMBBLLYYLLYTDQYSHYMRQWKFKBFXNXSBYCHXBWJYHTQBPBSBWDZYLKGZSKYHXQZJXHXJXGNLJKZLYYCDXLFYFGHLJGJYBXQLYBXQPQGZTZPLNCYPXDJYQYDYMRBESJYYHKXXSTMXRCZZYWXYQYBMCLLYZHQYZWQXDBXBZWZMSLPDMYSKFMZKLZCYQYCZLQXFZZYDQZPZYGYJYZMZXDZFYFYTTQTZHGSPCZMLCCYTZXJCYTJMKSLPZHYSNZLLYTPZCTZZCKTXDHXXTQCYFKSMQCCYYAZHTJPCYLZLYJBJXTPNYLJYYNRXSYLMMNXJSMYBCSYSYLZYLXJJQYLDZLPQBFZZBLFNDXQKCZFYWHGQMRDSXYCYTXNQQJZYYPFZXDYZFPRXEJDGYQBXRCNFYYQPGHYJDYZXGRHTKYLNWDZNTSMPKLBTHBPYSZBZTJZSZZJTYYXZPHSSZZBZCZPTQFZMYFLYPYBBJQXZMXXDJMTSYSKKBJZXHJCKLPSMKYJZCXTMLJYXRZZQSLXXQPYZXMKYXXXJCLJPRMYYGADYSKQLSNDHYZKQXZYZTCGHZTLMLWZYBWSYCTBHJHJFCWZTXWYTKZLXQSHLYJZJXTMPLPYCGLTBZZTLZJCYJGDTCLKLPLLQPJMZPAPXYZLKKTKDZCZZBNZDYDYQZJYJGMCTXLTGXSZLMLHBGLKFWNWZHDXUHLFMKYSLGXDTWWFRJEJZTZHYDXYKSHWFZCQSHKTMQQHTZHYMJDJSKHXZJZBZZXYMPAGQMSTPXLSKLZYNWRTSQLSZBPSPSGZWYHTLKSSSWHZZLYYTNXJGMJSZSUFWNLSOZTXGXLSAMMLBWLDSZYLAKQCQCTMYCFJBSLXCLZZCLXXKSBZQCLHJPSQPLSXXCKSLNHPSFQQYTXYJZLQLDXZQJZDYYDJNZPTUZDSKJFSLJHYLZSQZLBTXYDGTQFDBYAZXDZHZJNHHQBYKNXJJQCZMLLJZKSPLDYCLBBLXKLELXJLBQYCXJXGCNLCQPLZLZYJTZLJGYZDZPLTQCSXFDMNYCXGBTJDCZNBGBQYQJWGKFHTNPYQZQGBKPBBYZMTJDYTBLSQMPSXTBNPDXKLEMYYCJYNZCTLDYKZZXDDXHQSHDGMZSJYCCTAYRZLPYLTLKXSLZCGGEXCLFXLKJRTLQJAQZNCMBYDKKCXGLCZJZXJHPTDJJMZQYKQSECQZDSHHADMLZFMMZBGNTJNNLGBYJBRBTMLBYJDZXLCJLPLDLPCQDHLXZLYCBLCXZZJADJLNZMMSSSMYBHBSQKBHRSXXJMXSDZNZPXLGBRHWGGFCXGMSKLLTSJYYCQLTSKYWYYHYWXBXQYWPYWYKQLSQPTNTKHQCWDQKTWPXXHCPTHTWUMSSYHBWCRWXHJMKMZNGWTMLKFGHKJYLSYYCXWHYECLQHKQHTTQKHFZLDXQWYZYYDESBPKYRZPJFYYZJCEQDZZDLATZBBFJLLCXDLMJSSXEGYGSJQXCWBXSSZPDYZCXDNYXPPZYDLYJCZPLTXLSXYZYRXCYYYDYLWWNZSAHJSYQYHGYWWAXTJZDAXYSRLTDPSSYYFNEJDXYZHLXLLLZQZSJNYQYQQXYJGHZGZCYJCHZLYCDSHWSHJZYJXCLLNXZJJYYXNFXMWFPYLCYLLABWDDHWDXJMCXZTZPMLQZHSFHZYNZTLLDYWLSLXHYMMYLMBWWKYXYADTXYLLDJPYBPWUXJMWMLLSAFDLLYFLBHHHBQQLTZJCQJLDJTFFKMMMBYTHYGDCQRDDWRQJXNBYSNWZDBYYTBJHPYBYTTJXAAHGQDQTMYSTQXKBTZPKJLZRBEQQSSMJJBDJOTGTBXPGBKTLHQXJJJCTHXQDWJLWRFWQGWSHCKRYSWGFTGYGBXSDWDWRFHWYTJJXXXJYZYSLPYYYPAYXHYDQKXSHXYXGSKQHYWFDDDPPLCJLQQEEWXKSYYKDYPLTJTHKJLTCYYHHJTTPLTZZCDLTHQKZXQYSTEEYWYYZYXXYYSTTJKLLPZMCYHQGXYHSRMBXPLLNQYDQHXSXXWGDQBSHYLLPJJJTHYJKYPPTHYYKTYEZYENMDSHLCRPQFDGFXZPSFTLJXXJBSWYYSKSFLXLPPLBBBLBSFXFYZBSJSSYLPBBFFFFSSCJDSTZSXZRYYSYFFSYZYZBJTBCTSBSDHRTJJBYTCXYJEYLXCBNEBJDSYXYKGSJZBXBYTFZWGENYHHTHZHHXFWGCSTBGXKLSXYWMTMBYXJSTZSCDYQRCYTWXZFHMYMCXLZNSDJTTTXRYCFYJSBSDYERXJLJXBBDEYNJGHXGCKGSCYMBLXJMSZNSKGXFBNBPTHFJAAFXYXFPXMYPQDTZCXZZPXRSYWZDLYBBKTYQPQJPZYPZJZNJPZJLZZFYSBTTSLMPTZRTDXQSJEHBZYLZDHLJSQMLHTXTJECXSLZZSPKTLZKQQYFSYGYWPCPQFHQHYTQXZKRSGTTSQCZLPTXCDYYZXSQZSLXLZMYCPCQBZYXHBSXLZDLTCDXTYLZJYYZPZYZLTXJSJXHLPMYTXCQRBLZSSFJZZTNJYTXMYJHLHPPLCYXQJQQKZZSCPZKSWALQSBLCCZJSXGWWWYGYKTJBBZTDKHXHKGTGPBKQYSLPXPJCKBMLLXDZSTBKLGGQKQLSBKKTFXRMDKBFTPZFRTBBRFERQGXYJPZSSTLBZTPSZQZSJDHLJQLZBPMSMMSXLQQNHKNBLRDDNXXDHDDJCYYGYLXGZLXSYGMQQGKHBPMXYXLYTQWLWGCPBMQXCYZYDRJBHTDJYHQSHTMJSBYPLWHLZFFNYPMHXXHPLTBQPFBJWQDBYGPNZTPFZJGSDDTQSHZEAWZZYLLTYYBWJKXXGHLFKXDJTMSZSQYNZGGSWQSPHTLSSKMCLZXYSZQZXNCJDQGZDLFNYKLJCJLLZLMZZNHYDSSHTHZZLZZBBHQZWWYCRZHLYQQJBEYFXXXWHSRXWQHWPSLMSSKZTTYGYQQWRSLALHMJTQJSMXQBJJZJXZYZKXBYQXBJXSHZTSFJLXMXZXFGHKZSZGGYLCLSARJYHSLLLMZXELGLXYDJYTLFBHBPNLYZFBBHPTGJKWETZHKJJXZXXGLLJLSTGSHJJYQLQZFKCGNNDJSSZFDBCTWWSEQFHQJBSAQTGYPQLBXBMMYWXGSLZHGLZGQYFLZBYFZJFRYSFMBYZHQGFWZSYFYJJPHZBYYZFFWODGRLMFTWLBZGYCQXCDJYGZYYYYTYTYDWEGAZYHXJLZYYHLRMGRXXZCLHNELJJTJTPWJYBJJBXJJTJTEEKHWSLJPLPSFYZPQQBDLQJJTYYQLYZKDKSQJYYQZLDQTGJQYZJSUCMRYQTHTEJMFCTYHYPKMHYZWJDQFHYYXWSHCTXRLJHQXHCCYYYJLTKTTYTMXGTCJTZAYYOCZLYLBSZYWJYTSJYHBYSHFJLYGJXXTMZYYLTXXYPZLXYJZYZYYPNHMYMDYYLBLHLSYYQQLLNJJYMSOYQBZGDLYXYLCQYXTSZEGXHZGLHWBLJHEYXTWQMAKBPQCGYSHHEGQCMWYYWLJYJHYYZLLJJYLHZYHMGSLJLJXCJJYCLYCJPCPZJZJMMYLCQLNQLJQJSXYJMLSZLJQLYCMMHCFMMFPQQMFYLQMCFFQMMMMHMZNFHHJGTTHHKHSLNCHHYQDXTMMQDCYZYXYQMYQYLTDCYYYZAZZCYMZYDLZFFFMMYCQZWZZMABTBYZTDMNZZGGDFTYPCGQYTTSSFFWFDTZQSSYSTWXJHXYTSXXYLBYQHWWKXHZXWZNNZZJZJJQJCCCHYYXBZXZCYZTLLCQXYNJYCYYCYNZZQYYYEWYCZDCJYCCHYJLBTZYYCQWMPWPYMLGKDLDLGKQQBGYCHJXY",cX={a:"啊阿锕",ai:"埃挨哎唉哀皑癌蔼矮艾碍爱隘诶捱嗳嗌嫒瑷暧砹锿霭",an:"鞍氨安俺按暗岸胺案谙埯揞犴庵桉铵鹌顸黯",ang:"肮昂盎",ao:"凹敖熬翱袄傲奥懊澳坳拗嗷噢岙廒遨媪骜聱螯鏊鳌鏖",ba:"芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸茇菝萆捭岜灞杷钯粑鲅魃",bai:"白柏百摆佰败拜稗薜掰鞴",ban:"斑班搬扳般颁板版扮拌伴瓣半办绊阪坂豳钣瘢癍舨",bang:"邦帮梆榜膀绑棒磅蚌镑傍谤蒡螃",bao:"苞胞包褒雹保堡饱宝抱报暴豹鲍爆勹葆宀孢煲鸨褓趵龅",bo:"剥薄玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳亳蕃啵饽檗擘礴钹鹁簸跛",bei:"杯碑悲卑北辈背贝钡倍狈备惫焙被孛陂邶埤蓓呗怫悖碚鹎褙鐾",ben:"奔苯本笨畚坌锛",beng:"崩绷甭泵蹦迸唪嘣甏",bi:"逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛匕仳俾芘荜荸吡哔狴庳愎滗濞弼妣婢嬖璧贲畀铋秕裨筚箅篦舭襞跸髀",bian:"鞭边编贬扁便变卞辨辩辫遍匾弁苄忭汴缏煸砭碥稹窆蝙笾鳊",biao:"标彪膘表婊骠飑飙飚灬镖镳瘭裱鳔",bie:"鳖憋别瘪蹩鳘",bin:"彬斌濒滨宾摈傧浜缤玢殡膑镔髌鬓",bing:"兵冰柄丙秉饼炳病并禀邴摒绠枋槟燹",bu:"捕卜哺补埠不布步簿部怖拊卟逋瓿晡钚醭",ca:"擦嚓礤",cai:"猜裁材才财睬踩采彩菜蔡",can:"餐参蚕残惭惨灿骖璨粲黪",cang:"苍舱仓沧藏伧",cao:"操糙槽曹草艹嘈漕螬艚",ce:"厕策侧册测刂帻恻",ceng:"层蹭噌",cha:"插叉茬茶查碴搽察岔差诧猹馇汊姹杈楂槎檫钗锸镲衩",chai:"拆柴豺侪茈瘥虿龇",chan:"搀掺蝉馋谗缠铲产阐颤冁谄谶蒇廛忏潺澶孱羼婵嬗骣觇禅镡裣蟾躔",chang:"昌猖场尝常长偿肠厂敞畅唱倡伥鬯苌菖徜怅惝阊娼嫦昶氅鲳",chao:"超抄钞朝嘲潮巢吵炒怊绉晁耖",che:"车扯撤掣彻澈坼屮砗",chen:"郴臣辰尘晨忱沉陈趁衬称谌抻嗔宸琛榇肜胂碜龀",cheng:"撑城橙成呈乘程惩澄诚承逞骋秤埕嵊徵浈枨柽樘晟塍瞠铖裎蛏酲",chi:"吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽傺墀芪茌搋叱哧啻嗤彳饬沲媸敕胝眙眵鸱瘛褫蚩螭笞篪豉踅踟魑",chong:"充冲虫崇宠茺忡憧铳艟",chou:"抽酬畴踌稠愁筹仇绸瞅丑俦圳帱惆溴妯瘳雠鲋",chu:"臭初出橱厨躇锄雏滁除楚础储矗搐触处亍刍憷绌杵楮樗蜍蹰黜",chuan:"揣川穿椽传船喘串掾舛惴遄巛氚钏镩舡",chuang:"疮窗幢床闯创怆",chui:"吹炊捶锤垂陲棰槌",chun:"春椿醇唇淳纯蠢促莼沌肫朐鹑蝽",chuo:"戳绰蔟辶辍镞踔龊",ci:"疵茨磁雌辞慈瓷词此刺赐次荠呲嵯鹚螅糍趑",cong:"聪葱囱匆从丛偬苁淙骢琮璁枞",cu:"凑粗醋簇猝殂蹙",cuan:"蹿篡窜汆撺昕爨",cui:"摧崔催脆瘁粹淬翠萃悴璀榱隹",cun:"村存寸磋忖皴",cuo:"撮搓措挫错厝脞锉矬痤鹾蹉躜",da:"搭达答瘩打大耷哒嗒怛妲疸褡笪靼鞑",dai:"呆歹傣戴带殆代贷袋待逮怠埭甙呔岱迨逯骀绐玳黛",dan:"耽担丹单郸掸胆旦氮但惮淡诞弹蛋亻儋卩萏啖澹檐殚赕眈瘅聃箪",dang:"当挡党荡档谠凼菪宕砀铛裆",dao:"刀捣蹈倒岛祷导到稻悼道盗叨啁忉洮氘焘忑纛",de:"德得的锝",deng:"蹬灯登等瞪凳邓噔嶝戥磴镫簦",di:"堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔氐籴诋谛邸坻莜荻嘀娣柢棣觌砥碲睇镝羝骶",dian:"颠掂滇碘点典靛垫电佃甸店惦奠淀殿丶阽坫埝巅玷癜癫簟踮",diao:"碉叼雕凋刁掉吊钓调轺铞蜩粜貂",die:"跌爹碟蝶迭谍叠佚垤堞揲喋渫轶牒瓞褶耋蹀鲽鳎",ding:"丁盯叮钉顶鼎锭定订丢仃啶玎腚碇町铤疔耵酊",dong:"东冬董懂动栋侗恫冻洞垌咚岽峒夂氡胨胴硐鸫",dou:"兜抖斗陡豆逗痘蔸钭窦窬蚪篼酡",du:"都督毒犊独读堵睹赌杜镀肚度渡妒芏嘟渎椟橐牍蠹笃髑黩",duan:"端短锻段断缎彖椴煅簖",dui:"堆兑队对怼憝碓",dun:"墩吨蹲敦顿囤钝盾遁炖砘礅盹镦趸",duo:"掇哆多夺垛躲朵跺舵剁惰堕咄哚缍柁铎裰踱",e:"蛾峨鹅俄额讹娥恶厄扼遏鄂饿噩谔垩垭苊莪萼呃愕屙婀轭曷腭硪锇锷鹗颚鳄",en:"恩蒽摁唔嗯",er:"而儿耳尔饵洱二贰迩珥铒鸸鲕",fa:"发罚筏伐乏阀法珐垡砝",fan:"藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛蘩幡犭梵攵燔畈蹯",fang:"坊芳方肪房防妨仿访纺放匚邡彷钫舫鲂",fei:"菲非啡飞肥匪诽吠肺废沸费芾狒悱淝妃绋绯榧腓斐扉祓砩镄痱蜚篚翡霏鲱",fen:"芬酚吩氛分纷坟焚汾粉奋份忿愤粪偾瀵棼愍鲼鼢",feng:"丰封枫蜂峰锋风疯烽逢冯缝讽奉凤俸酆葑沣砜",fu:"佛否夫敷肤孵扶拂辐幅氟符伏俘服浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐匐凫郛芙苻茯莩菔呋幞滏艴孚驸绂桴赙黻黼罘稃馥虍蚨蜉蝠蝮麸趺跗鳆",ga:"噶嘎蛤尬呷尕尜旮钆",gai:"该改概钙盖溉丐陔垓戤赅胲",gan:"干甘杆柑竿肝赶感秆敢赣坩苷尴擀泔淦澉绀橄旰矸疳酐",gang:"冈刚钢缸肛纲岗港戆罡颃筻",gong:"杠工攻功恭龚供躬公宫弓巩汞拱贡共蕻廾咣珙肱蚣蛩觥",gao:"篙皋高膏羔糕搞镐稿告睾诰郜蒿藁缟槔槁杲锆",ge:"哥歌搁戈鸽胳疙割革葛格阁隔铬个各鬲仡哿塥嗝纥搿膈硌铪镉袼颌虼舸骼髂",gei:"给",gen:"根跟亘茛哏艮",geng:"耕更庚羹埂耿梗哽赓鲠",gou:"钩勾沟苟狗垢构购够佝诟岣遘媾缑觏彀鸲笱篝鞲",gu:"辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇嘏诂菰哌崮汩梏轱牯牿胍臌毂瞽罟钴锢瓠鸪鹄痼蛄酤觚鲴骰鹘",gua:"刮瓜剐寡挂褂卦诖呱栝鸹",guai:"乖拐怪哙",guan:"棺关官冠观管馆罐惯灌贯倌莞掼涫盥鹳鳏",guang:"光广逛犷桄胱疒",gui:"瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽匦刿庋宄妫桧炅晷皈簋鲑鳜",gun:"辊滚棍丨衮绲磙鲧",guo:"锅郭国果裹过馘蠃埚掴呙囗帼崞猓椁虢锞聒蜮蜾蝈",ha:"哈",hai:"骸孩海氦亥害骇咴嗨颏醢",han:"酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉邗菡撖阚瀚晗焓颔蚶鼾",hen:"夯痕很狠恨",hang:"杭航沆绗珩桁",hao:"壕嚎豪毫郝好耗号浩薅嗥嚆濠灏昊皓颢蚝",he:"呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺诃劾壑藿嗑嗬阖盍蚵翮",hei:"嘿黑",heng:"哼亨横衡恒訇蘅",hong:"轰哄烘虹鸿洪宏弘红黉讧荭薨闳泓",hou:"喉侯猴吼厚候后堠後逅瘊篌糇鲎骺",hu:"呼乎忽瑚壶葫胡蝴狐糊湖弧虎唬护互沪户冱唿囫岵猢怙惚浒滹琥槲轷觳烀煳戽扈祜鹕鹱笏醐斛",hua:"花哗华猾滑画划化话劐浍骅桦铧稞",huai:"槐徊怀淮坏还踝",huan:"欢环桓缓换患唤痪豢焕涣宦幻郇奂垸擐圜洹浣漶寰逭缳锾鲩鬟",huang:"荒慌黄磺蝗簧皇凰惶煌晃幌恍谎隍徨湟潢遑璜肓癀蟥篁鳇",hui:"灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘诙茴荟蕙哕喙隳洄彗缋珲晖恚虺蟪麾",hun:"荤昏婚魂浑混诨馄阍溷缗",huo:"豁活伙火获或惑霍货祸攉嚯夥钬锪镬耠蠖",ji:"击圾基机畸稽积箕肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪居丌乩剞佶佴脔墼芨芰萁蒺蕺掎叽咭哜唧岌嵴洎彐屐骥畿玑楫殛戟戢赍觊犄齑矶羁嵇稷瘠瘵虮笈笄暨跻跽霁鲚鲫髻麂",jia:"嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁伽郏拮岬浃迦珈戛胛恝铗镓痂蛱笳袈跏",jian:"歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件健舰剑饯渐溅涧建僭谏谫菅蒹搛囝湔蹇謇缣枧柙楗戋戬牮犍毽腱睑锏鹣裥笕箴翦趼踺鲣鞯",jiang:"僵姜将浆江疆蒋桨奖讲匠酱降茳洚绛缰犟礓耩糨豇",jiao:"蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫佼僬茭挢噍峤徼姣纟敫皎鹪蛟醮跤鲛",jie:"窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届偈讦诘喈嗟獬婕孑桀獒碣锴疖袷颉蚧羯鲒骱髫",jin:"巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸尽卺荩堇噤馑廑妗缙瑾槿赆觐钅锓衿矜",jing:"劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净刭儆阱菁獍憬泾迳弪婧肼胫腈旌",jiong:"炯窘冂迥扃",jiu:"揪究纠玖韭久灸九酒厩救旧臼舅咎就疚僦啾阄柩桕鹫赳鬏",ju:"鞠拘狙疽驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧倨讵苣苴莒掬遽屦琚枸椐榘榉橘犋飓钜锔窭裾趄醵踽龃雎鞫",juan:"捐鹃娟倦眷卷绢鄄狷涓桊蠲锩镌隽",jue:"撅攫抉掘倔爵觉决诀绝厥劂谲矍蕨噘崛獗孓珏桷橛爝镢蹶觖",jun:"均菌钧军君峻俊竣浚郡骏捃狻皲筠麇",ka:"喀咖卡佧咔胩",ke:"咯坷苛柯棵磕颗科壳咳可渴克刻客课岢恪溘骒缂珂轲氪瞌钶疴窠蝌髁",kai:"开揩楷凯慨剀垲蒈忾恺铠锎",kan:"刊堪勘坎砍看侃凵莰莶戡龛瞰",kang:"康慷糠扛抗亢炕坑伉闶钪",kao:"考拷烤靠尻栲犒铐",ken:"肯啃垦恳垠裉颀",keng:"吭忐铿",kong:"空恐孔控倥崆箜",kou:"抠口扣寇芤蔻叩眍筘",ku:"枯哭窟苦酷库裤刳堀喾绔骷",kua:"夸垮挎跨胯侉",kuai:"块筷侩快蒯郐蒉狯脍",kuan:"宽款髋",kuang:"匡筐狂框矿眶旷况诓诳邝圹夼哐纩贶",kui:"亏盔岿窥葵奎魁傀馈愧溃馗匮夔隗揆喹喟悝愦阕逵暌睽聩蝰篑臾跬",kun:"坤昆捆困悃阃琨锟醌鲲髡",kuo:"括扩廓阔蛞",la:"垃拉喇蜡腊辣啦剌摺邋旯砬瘌",lai:"莱来赖崃徕涞濑赉睐铼癞籁",lan:"蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥啉岚懔漤榄斓罱镧褴",lang:"琅榔狼廊郎朗浪莨蒗啷阆锒稂螂",lao:"捞劳牢老佬姥酪烙涝唠崂栳铑铹痨醪",le:"勒乐肋仂叻嘞泐鳓",lei:"雷镭蕾磊累儡垒擂类泪羸诔荽咧漯嫘缧檑耒酹",ling:"棱冷拎玲菱零龄铃伶羚凌灵陵岭领另令酃塄苓呤囹泠绫柃棂瓴聆蛉翎鲮",leng:"楞愣",li:"厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐痢立粒沥隶力璃哩俪俚郦坜苈莅蓠藜捩呖唳喱猁溧澧逦娌嫠骊缡珞枥栎轹戾砺詈罹锂鹂疠疬蛎蜊蠡笠篥粝醴跞雳鲡鳢黧",lian:"俩联莲连镰廉怜涟帘敛脸链恋炼练挛蔹奁潋濂娈琏楝殓臁膦裢蠊鲢",liang:"粮凉梁粱良两辆量晾亮谅墚椋踉靓魉",liao:"撩聊僚疗燎寥辽潦了撂镣廖料蓼尥嘹獠寮缭钌鹩耢",lie:"列裂烈劣猎冽埒洌趔躐鬣",lin:"琳林磷霖临邻鳞淋凛赁吝蔺嶙廪遴檩辚瞵粼躏麟",liu:"溜琉榴硫馏留刘瘤流柳六抡偻蒌泖浏遛骝绺旒熘锍镏鹨鎏",long:"龙聋咙笼窿隆垄拢陇弄垅茏泷珑栊胧砻癃",lou:"楼娄搂篓漏陋喽嵝镂瘘耧蝼髅",lu:"芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮垆摅撸噜泸渌漉璐栌橹轳辂辘氇胪镥鸬鹭簏舻鲈",lv:"驴吕铝侣旅履屡缕虑氯律率滤绿捋闾榈膂稆褛",luan:"峦孪滦卵乱栾鸾銮",lue:"掠略锊",lun:"轮伦仑沦纶论囵",luo:"萝螺罗逻锣箩骡裸落洛骆络倮荦摞猡泺椤脶镙瘰雒",ma:"妈麻玛码蚂马骂嘛吗唛犸嬷杩麽",mai:"埋买麦卖迈脉劢荬咪霾",man:"瞒馒蛮满蔓曼慢漫谩墁幔缦熳镘颟螨鳗鞔",mang:"芒茫盲忙莽邙漭朦硭蟒",meng:"氓萌蒙檬盟锰猛梦孟勐甍瞢懵礞虻蜢蠓艋艨黾",miao:"猫苗描瞄藐秒渺庙妙喵邈缈缪杪淼眇鹋蜱",mao:"茅锚毛矛铆卯茂冒帽貌贸侔袤勖茆峁瑁昴牦耄旄懋瞀蛑蝥蟊髦",me:"么",mei:"玫枚梅酶霉煤没眉媒镁每美昧寐妹媚坶莓嵋猸浼湄楣镅鹛袂魅",men:"门闷们扪玟焖懑钔",mi:"眯醚靡糜迷谜弥米秘觅泌蜜密幂芈冖谧蘼嘧猕獯汨宓弭脒敉糸縻麋",mian:"棉眠绵冕免勉娩缅面沔湎腼眄",mie:"蔑灭咩蠛篾",min:"民抿皿敏悯闽苠岷闵泯珉",ming:"明螟鸣铭名命冥茗溟暝瞑酩",miu:"谬",mo:"摸摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谟茉蓦馍嫫镆秣瘼耱蟆貊貘",mou:"谋牟某厶哞婺眸鍪",mu:"拇牡亩姆母墓暮幕募慕木目睦牧穆仫苜呒沐毪钼",na:"拿哪呐钠那娜纳内捺肭镎衲箬",nai:"氖乃奶耐奈鼐艿萘柰",nan:"南男难囊喃囡楠腩蝻赧",nao:"挠脑恼闹孬垴猱瑙硇铙蛲",ne:"淖呢讷",nei:"馁",nen:"嫩能枘恁",ni:"妮霓倪泥尼拟你匿腻逆溺伲坭猊怩滠昵旎祢慝睨铌鲵",nian:"蔫拈年碾撵捻念廿辇黏鲇鲶",niang:"娘酿",niao:"鸟尿茑嬲脲袅",nie:"捏聂孽啮镊镍涅乜陧蘖嗫肀颞臬蹑",nin:"您柠",ning:"狞凝宁拧泞佞蓥咛甯聍",niu:"牛扭钮纽狃忸妞蚴",nong:"脓浓农侬",nu:"奴努怒呶帑弩胬孥驽",nv:"女恧钕衄",nuan:"暖",nuenue:"虐",nue:"疟谑",nuo:"挪懦糯诺傩搦喏锘",ou:"哦欧鸥殴藕呕偶沤怄瓯耦",pa:"啪趴爬帕怕琶葩筢",pai:"拍排牌徘湃派俳蒎",pan:"攀潘盘磐盼畔判叛爿泮袢襻蟠蹒",pang:"乓庞旁耪胖滂逄",pao:"抛咆刨炮袍跑泡匏狍庖脬疱",pei:"呸胚培裴赔陪配佩沛掊辔帔淠旆锫醅霈",pen:"喷盆湓",peng:"砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯堋嘭怦蟛",pi:"砒霹批披劈琵毗啤脾疲皮匹痞僻屁譬丕陴邳郫圮鼙擗噼庀媲纰枇甓睥罴铍痦癖疋蚍貔",pian:"篇偏片骗谝骈犏胼褊翩蹁",piao:"飘漂瓢票剽嘌嫖缥殍瞟螵",pie:"撇瞥丿苤氕",pin:"拼频贫品聘拚姘嫔榀牝颦",ping:"乒坪苹萍平凭瓶评屏俜娉枰鲆",po:"坡泼颇婆破魄迫粕叵鄱溥珀钋钷皤笸",pou:"剖裒踣",pu:"扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑匍噗濮璞氆镤镨蹼",qi:"期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫亟亓圻芑萋葺嘁屺岐汔淇骐绮琪琦杞桤槭欹祺憩碛蛴蜞綦綮趿蹊鳍麒",qia:"掐恰洽葜",qian:"牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉佥阡芊芡荨掮岍悭慊骞搴褰缱椠肷愆钤虔箝",qiang:"枪呛腔羌墙蔷强抢嫱樯戗炝锖锵镪襁蜣羟跫跄",qiao:"橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍劁诮谯荞愀憔缲樵毳硗跷鞒",qie:"切茄且怯窃郄唼惬妾挈锲箧",qin:"钦侵亲秦琴勤芹擒禽寝沁芩蓁蕲揿吣嗪噙溱檎螓衾",qing:"青轻氢倾卿清擎晴氰情顷请庆倩苘圊檠磬蜻罄箐謦鲭黥",qiong:"琼穷邛茕穹筇銎",qiu:"秋丘邱球求囚酋泅俅氽巯艽犰湫逑遒楸赇鸠虬蚯蝤裘糗鳅鼽",qu:"趋区蛆曲躯屈驱渠取娶龋趣去诎劬蕖蘧岖衢阒璩觑氍祛磲癯蛐蠼麴瞿黢",quan:"圈颧权醛泉全痊拳犬券劝诠荃獾悛绻辁畎铨蜷筌鬈",que:"缺炔瘸却鹊榷确雀阙悫",qun:"裙群逡",ran:"然燃冉染苒髯",rang:"瓤壤攘嚷让禳穰",rao:"饶扰绕荛娆桡",ruo:"惹若弱",re:"热偌",ren:"壬仁人忍韧任认刃妊纫仞荏葚饪轫稔衽",reng:"扔仍",ri:"日",rong:"戎茸蓉荣融熔溶容绒冗嵘狨缛榕蝾",rou:"揉柔肉糅蹂鞣",ru:"茹蠕儒孺如辱乳汝入褥蓐薷嚅洳溽濡铷襦颥",ruan:"软阮朊",rui:"蕊瑞锐芮蕤睿蚋",run:"闰润",sa:"撒洒萨卅仨挲飒",sai:"腮鳃塞赛噻",san:"三叁伞散彡馓氵毵糁霰",sang:"桑嗓丧搡磉颡",sao:"搔骚扫嫂埽臊瘙鳋",se:"瑟色涩啬铩铯穑",sen:"森",seng:"僧",sha:"莎砂杀刹沙纱傻啥煞脎歃痧裟霎鲨",shai:"筛晒酾",shan:"珊苫杉山删煽衫闪陕擅赡膳善汕扇缮剡讪鄯埏芟潸姗骟膻钐疝蟮舢跚鳝",shang:"墒伤商赏晌上尚裳垧绱殇熵觞",shao:"梢捎稍烧芍勺韶少哨邵绍劭苕潲蛸笤筲艄",she:"奢赊蛇舌舍赦摄射慑涉社设厍佘猞畲麝",shen:"砷申呻伸身深娠绅神沈审婶甚肾慎渗诜谂吲哂渖椹矧蜃",sheng:"声生甥牲升绳省盛剩胜圣丞渑媵眚笙",shi:"师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试谥埘莳蓍弑唑饣轼耆贳炻礻铈铊螫舐筮豕鲥鲺",shou:"收手首守寿授售受瘦兽扌狩绶艏",shu:"蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱恕倏塾菽忄沭涑澍姝纾毹腧殳镯秫鹬",shua:"刷耍唰涮",shuai:"摔衰甩帅蟀",shuan:"栓拴闩",shuang:"霜双爽孀",shui:"谁水睡税",shun:"吮瞬顺舜恂",shuo:"说硕朔烁蒴搠嗍濯妁槊铄",si:"斯撕嘶思私司丝死肆寺嗣四伺似饲巳厮俟兕菥咝汜泗澌姒驷缌祀祠锶鸶耜蛳笥",song:"松耸怂颂送宋讼诵凇菘崧嵩忪悚淞竦",sou:"搜艘擞嗽叟嗖嗾馊溲飕瞍锼螋",su:"苏酥俗素速粟僳塑溯宿诉肃夙谡蔌嗉愫簌觫稣",suan:"酸蒜算",sui:"虽隋随绥髓碎岁穗遂隧祟蓑冫谇濉邃燧眭睢",sun:"孙损笋荪狲飧榫跣隼",suo:"梭唆缩琐索锁所唢嗦娑桫睃羧",ta:"塌他它她塔獭挞蹋踏闼溻遢榻沓",tai:"胎苔抬台泰酞太态汰邰薹肽炱钛跆鲐",tan:"坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭郯蕈昙钽锬覃",tang:"汤塘搪堂棠膛唐糖傥饧溏瑭铴镗耥螗螳羰醣",thang:"倘躺淌",theng:"趟烫",tao:"掏涛滔绦萄桃逃淘陶讨套挑鼗啕韬饕",te:"特",teng:"藤腾疼誊滕",ti:"梯剔踢锑提题蹄啼体替嚏惕涕剃屉荑悌逖绨缇鹈裼醍",tian:"天添填田甜恬舔腆掭忝阗殄畋钿蚺",tiao:"条迢眺跳佻祧铫窕龆鲦",tie:"贴铁帖萜餮",ting:"厅听烃汀廷停亭庭挺艇莛葶婷梃蜓霆",tong:"通桐酮瞳同铜彤童桶捅筒统痛佟僮仝茼嗵恸潼砼",tou:"偷投头透亠",tu:"凸秃突图徒途涂屠土吐兔堍荼菟钍酴",tuan:"湍团疃",tui:"推颓腿蜕褪退忒煺",tun:"吞屯臀饨暾豚窀",tuo:"拖托脱鸵陀驮驼椭妥拓唾乇佗坨庹沱柝砣箨舄跎鼍",wa:"挖哇蛙洼娃瓦袜佤娲腽",wai:"歪外",wan:"豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕剜芄苋菀纨绾琬脘畹蜿箢",wang:"汪王亡枉网往旺望忘妄罔尢惘辋魍",wei:"威巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫倭偎诿隈葳薇帏帷崴嵬猥猬闱沩洧涠逶娓玮韪軎炜煨熨痿艉鲔",wen:"瘟温蚊文闻纹吻稳紊问刎愠阌汶璺韫殁雯",weng:"嗡翁瓮蓊蕹",wo:"挝蜗涡窝我斡卧握沃莴幄渥杌肟龌",wu:"巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误兀仵阢邬圬芴庑怃忤浯寤迕妩骛牾焐鹉鹜蜈鋈鼯",xi:"昔熙析西硒矽晰嘻吸锡牺稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细僖兮隰郗茜葸蓰奚唏徙饩阋浠淅屣嬉玺樨曦觋欷熹禊禧钸皙穸蜥蟋舾羲粞翕醯鼷",xia:"瞎虾匣霞辖暇峡侠狭下厦夏吓掀葭嗄狎遐瑕硖瘕罅黠",xian:"锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线冼藓岘猃暹娴氙祆鹇痫蚬筅籼酰跹",xiang:"相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象芗葙饷庠骧缃蟓鲞飨",xiao:"萧硝霄削哮嚣销消宵淆晓小孝校肖啸笑效哓咻崤潇逍骁绡枭枵筱箫魈",xie:"楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑偕亵勰燮薤撷廨瀣邂绁缬榭榍歙躞",xin:"薪芯锌欣辛新忻心信衅囟馨莘歆铽鑫",xing:"星腥猩惺兴刑型形邢行醒幸杏性姓陉荇荥擤悻硎",xiong:"兄凶胸匈汹雄熊芎",xiu:"休修羞朽嗅锈秀袖绣莠岫馐庥鸺貅髹",xu:"墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续讴诩圩蓿怵洫溆顼栩煦砉盱胥糈醑",xuan:"轩喧宣悬旋玄选癣眩绚儇谖萱揎馔泫洵渲漩璇楦暄炫煊碹铉镟痃",xue:"靴薛学穴雪血噱泶鳕",xun:"勋熏循旬询寻驯巡殉汛训讯逊迅巽埙荀薰峋徇浔曛窨醺鲟",ya:"压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶伢揠吖岈迓娅琊桠氩砑睚痖",yan:"焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验厣靥赝俨偃兖讠谳郾鄢芫菸崦恹闫阏洇湮滟妍嫣琰晏胭腌焱罨筵酽魇餍鼹",yang:"殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾徉怏泱炀烊恙蛘鞅",yao:"邀腰妖瑶摇尧遥窑谣姚咬舀药要耀夭爻吆崾徭瀹幺珧杳曜肴鹞窈繇鳐",ye:"椰噎耶爷野冶也页掖业叶曳腋夜液谒邺揶馀晔烨铘",yi:"一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎刈劓佾诒圪圯埸懿苡薏弈奕挹弋呓咦咿噫峄嶷猗饴怿怡悒漪迤驿缢殪贻旖熠钇镒镱痍瘗癔翊衤蜴舣羿翳酏黟",yin:"茵荫因殷音阴姻吟银淫寅饮尹引隐印胤鄞堙茚喑狺夤氤铟瘾蚓霪龈",ying:"英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映嬴郢茔莺萦撄嘤膺滢潆瀛瑛璎楹鹦瘿颍罂",yo:"哟唷",yong:"拥佣臃痈庸雍踊蛹咏泳涌永恿勇用俑壅墉慵邕镛甬鳙饔",you:"幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼卣攸侑莸呦囿宥柚猷牖铕疣蝣鱿黝鼬",yu:"迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉浴寓裕预豫驭禺毓伛俣谀谕萸蓣揄喁圄圉嵛狳饫庾阈妪妤纡瑜昱觎腴欤於煜燠聿钰鹆瘐瘀窳蝓竽舁雩龉",yuan:"鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院塬沅媛瑗橼爰眢鸢螈鼋",yue:"曰约越跃钥岳粤月悦阅龠樾刖钺",yun:"耘云郧匀陨允运蕴酝晕韵孕郓芸狁恽纭殒昀氲",za:"匝砸杂拶咂",zai:"栽哉灾宰载再在咱崽甾",zan:"攒暂赞瓒昝簪糌趱錾",zang:"赃脏葬奘戕臧",zao:"遭糟凿藻枣早澡蚤躁噪造皂灶燥唣缫",ze:"责择则泽仄赜啧迮昃笮箦舴",zei:"贼",zen:"怎谮",zeng:"增憎曾赠缯甑罾锃",zha:"扎喳渣札轧铡闸眨栅榨咋乍炸诈揸吒咤哳怍砟痄蚱齄",zhai:"摘斋宅窄债寨砦",zhan:"瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽谵搌旃",zhang:"樟章彰漳张掌涨杖丈帐账仗胀瘴障仉鄣幛嶂獐嫜璋蟑",zhao:"招昭找沼赵照罩兆肇召爪诏棹钊笊",zhe:"遮折哲蛰辙者锗蔗这浙谪陬柘辄磔鹧褚蜇赭",zhen:"珍斟真甄砧臻贞针侦枕疹诊震振镇阵缜桢榛轸赈胗朕祯畛鸩",zheng:"蒸挣睁征狰争怔整拯正政帧症郑证诤峥钲铮筝",zhi:"芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒卮陟郅埴芷摭帙忮彘咫骘栉枳栀桎轵轾攴贽膣祉祗黹雉鸷痣蛭絷酯跖踬踯豸觯",zhong:"中盅忠钟衷终种肿重仲众冢锺螽舂舯踵",zhou:"舟周州洲诌粥轴肘帚咒皱宙昼骤啄着倜诹荮鬻纣胄碡籀舳酎鲷",zhu:"珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑住注祝驻伫侏邾苎茱洙渚潴驺杼槠橥炷铢疰瘃蚰竺箸翥躅麈",zhua:"抓",zhuai:"拽",zhuan:"专砖转撰赚篆抟啭颛",zhuang:"桩庄装妆撞壮状丬",zhui:"椎锥追赘坠缀萑骓缒",zhun:"谆准",zhuo:"捉拙卓桌琢茁酌灼浊倬诼廴蕞擢啜浞涿杓焯禚斫",zi:"兹咨资姿滋淄孜紫仔籽滓子自渍字谘嵫姊孳缁梓辎赀恣眦锱秭耔笫粢觜訾鲻髭",zong:"鬃棕踪宗综总纵腙粽",zou:"邹走奏揍鄹鲰",zu:"租足卒族祖诅阻组俎菹啐徂驵蹴",zuan:"钻纂攥缵",zui:"嘴醉最罪",zun:"尊遵撙樽鳟",zuo:"昨左佐柞做作坐座阝阼胙祚酢",cou:"薮楱辏腠",nang:"攮哝囔馕曩",o:"喔",dia:"嗲",chuai:"嘬膪踹",cen:"岑涔",diu:"铥",nou:"耨",fou:"缶",bia:"髟"},lX={19969:"DZ",19975:"WM",19988:"QJ",20048:"YL",20056:"SC",20060:"NM",20094:"QG",20127:"QJ",20167:"QC",20193:"YG",20250:"KH",20256:"ZC",20282:"SC",20285:"QJG",20291:"TD",20314:"YD",20340:"NE",20375:"TD",20389:"YJ",20391:"CZ",20415:"PB",20446:"YS",20447:"SQ",20504:"TC",20608:"KG",20854:"QJ",20857:"ZC",20911:"PF",20985:"AW",21032:"PB",21048:"XQ",21049:"SC",21089:"YS",21119:"JC",21242:"SB",21273:"SC",21305:"YP",21306:"QO",21330:"ZC",21333:"SDC",21345:"QK",21378:"CA",21397:"SC",21414:"XS",21442:"SC",21477:"JG",21480:"TD",21484:"ZS",21494:"YX",21505:"YX",21512:"HG",21523:"XH",21537:"PB",21542:"PF",21549:"KH",21571:"E",21574:"DA",21588:"TD",21589:"O",21618:"ZC",21621:"KHA",21632:"ZJ",21654:"KG",21679:"LKG",21683:"KH",21710:"A",21719:"YH",21734:"WOE",21769:"A",21780:"WN",21804:"XH",21834:"A",21899:"ZD",21903:"RN",21908:"WO",21939:"ZC",21956:"SA",21964:"YA",21970:"TD",22003:"A",22031:"JG",22040:"XS",22060:"ZC",22066:"ZC",22079:"MH",22129:"XJ",22179:"XA",22237:"NJ",22244:"TD",22280:"JQ",22300:"YH",22313:"XW",22331:"YQ",22343:"YJ",22351:"PH",22395:"DC",22412:"TD",22484:"PB",22500:"PB",22534:"ZD",22549:"DH",22561:"PB",22612:"TD",22771:"KQ",22831:"HB",22841:"JG",22855:"QJ",22865:"XQ",23013:"ML",23081:"WM",23487:"SX",23558:"QJ",23561:"YW",23586:"YW",23614:"YW",23615:"SN",23631:"PB",23646:"ZS",23663:"ZT",23673:"YG",23762:"TD",23769:"ZS",23780:"QJ",23884:"QK",24055:"XH",24113:"DC",24162:"ZC",24191:"GA",24273:"QJ",24324:"NL",24377:"TD",24378:"QJ",24439:"PF",24554:"ZS",24683:"TD",24694:"WE",24733:"LK",24925:"TN",25094:"ZG",25100:"XQ",25103:"XH",25153:"PB",25170:"PB",25179:"KG",25203:"PB",25240:"ZS",25282:"FB",25303:"NA",25324:"KG",25341:"ZY",25373:"WZ",25375:"XJ",25384:"A",25457:"A",25528:"SD",25530:"SC",25552:"TD",25774:"ZC",25874:"ZC",26044:"YW",26080:"WM",26292:"PB",26333:"PB",26355:"ZY",26366:"CZ",26397:"ZC",26399:"QJ",26415:"ZS",26451:"SB",26526:"ZC",26552:"JG",26561:"TD",26588:"JG",26597:"CZ",26629:"ZS",26638:"YL",26646:"XQ",26653:"KG",26657:"XJ",26727:"HG",26894:"ZC",26937:"ZS",26946:"ZC",26999:"KJ",27099:"KJ",27449:"YQ",27481:"XS",27542:"ZS",27663:"ZS",27748:"TS",27784:"SC",27788:"ZD",27795:"TD",27812:"O",27850:"PB",27852:"MB",27895:"SL",27898:"PL",27973:"QJ",27981:"KH",27986:"HX",27994:"XJ",28044:"YC",28065:"WG",28177:"SM",28267:"QJ",28291:"KH",28337:"ZQ",28463:"TL",28548:"DC",28601:"TD",28689:"PB",28805:"JG",28820:"QG",28846:"PB",28952:"TD",28975:"ZC",29100:"A",29325:"QJ",29575:"SL",29602:"FB",30010:"TD",30044:"CX",30058:"PF",30091:"YSP",30111:"YN",30229:"XJ",30427:"SC",30465:"SX",30631:"YQ",30655:"QJ",30684:"QJG",30707:"SD",30729:"XH",30796:"LG",30917:"PB",31074:"NM",31085:"JZ",31109:"SC",31181:"ZC",31192:"MLB",31293:"JQ",31400:"YX",31584:"YJ",31896:"ZN",31909:"ZY",31995:"XJ",32321:"PF",32327:"ZY",32418:"HG",32420:"XQ",32421:"HG",32438:"LG",32473:"GJ",32488:"TD",32521:"QJ",32527:"PB",32562:"ZSQ",32564:"JZ",32735:"ZD",32793:"PB",33071:"PF",33098:"XL",33100:"YA",33152:"PB",33261:"CX",33324:"BP",33333:"TD",33406:"YA",33426:"WM",33432:"PB",33445:"JG",33486:"ZN",33493:"TS",33507:"QJ",33540:"QJ",33544:"ZC",33564:"XQ",33617:"YT",33632:"QJ",33636:"XH",33637:"YX",33694:"WG",33705:"PF",33728:"YW",33882:"SR",34067:"WM",34074:"YW",34121:"QJ",34255:"ZC",34259:"XL",34425:"JH",34430:"XH",34485:"KH",34503:"YS",34532:"HG",34552:"XS",34558:"YE",34593:"ZL",34660:"YQ",34892:"XH",34928:"SC",34999:"QJ",35048:"PB",35059:"SC",35098:"ZC",35203:"TQ",35265:"JX",35299:"JX",35782:"SZ",35828:"YS",35830:"E",35843:"TD",35895:"YG",35977:"MH",36158:"JG",36228:"QJ",36426:"XQ",36466:"DC",36710:"JC",36711:"ZYG",36767:"PB",36866:"SK",36951:"YW",37034:"YX",37063:"XH",37218:"ZC",37325:"ZC",38063:"PB",38079:"TD",38085:"QY",38107:"DC",38116:"TD",38123:"YD",38224:"HG",38241:"XTC",38271:"ZC",38415:"YE",38426:"KH",38461:"YD",38463:"AE",38466:"PB",38477:"XJ",38518:"YT",38551:"WK",38585:"ZC",38704:"XS",38739:"LJ",38761:"GJ",38808:"SQ",39048:"JG",39049:"XJ",39052:"HG",39076:"CZ",39271:"XT",39534:"TD",39552:"TD",39584:"PB",39647:"SB",39730:"LG",39748:"TPB",40109:"ZQ",40479:"ND",40516:"HG",40536:"HG",40583:"QJ",40765:"YQ",40784:"QJ",40840:"YK",40863:"QJG"},sX={checkPolyphone:!1,charcase:"default"},dX={getFullChars:e=>{let t,n="";if(!e)return n;new RegExp("[a-zA-Z0-9- ]");for(let r=0,o=e.length;r<o;r++){const o=e.substr(r,1),i=o.charCodeAt(0);i>40869||i<19968?n+=o:(t=dX._getFullChar(o),!1!==t&&(n+=t))}return n.toLocaleLowerCase()},getCamelChars:e=>{if("string"!==typeof e)return"Z";const t=[];for(let n=0,r=e.length;n<r;n++){const r=e.charAt(n);t.push(dX._getChar(r))}return dX._getResult(t).toLocaleLowerCase()},_getFullChar:e=>{for(const t in cX)if(-1!==cX[t].indexOf(e))return dX._capitalize(t);return!1},_capitalize:e=>{if(e.length>0){const t=e.substr(0,1).toUpperCase(),n=e.substr(1,e.length);return t+n}},_getChar:e=>{const t=e.charCodeAt(0);return t>40869||t<19968?e:sX.checkPolyphone&&lX[t]?lX[t]:uX.charAt(t-19968)},_getResult:e=>{if(!sX.checkPolyphone)return e.join("");let t=[""];for(let n=0,r=e.length;n<r;n++){const r=e[n],o=r.length;if(1===o)for(let e=0;e<t.length;e++)t[e]+=r;else{const e=t.slice(0);t=[];for(let n=0;n<o;n++){const o=e.slice(0);for(let e=0;e<o.length;e++)o[e]+=r.charAt(n);t=t.concat(o)}}}return t}};var fX=dX;let pX=class extends se{constructor(...e){super(...e),s(this,"locale",aX),s(this,"submittedSvg",ye),s(this,"historySvg",Oe),s(this,"numberPopoverVisible",!1),s(this,"validateResult",{}),s(this,"metaRefresh",void 0),s(this,"defaultMoneyUnit",{}),s(this,"zoomType",Se["s"]),s(this,"builtLabel",Se["a"]),s(this,"traddayList",localStorage.getItem("traddayList")||JSON.stringify([])),s(this,"weekdayList",localStorage.getItem("weekdayList")||JSON.stringify([])),s(this,"workdayList",localStorage.getItem("workdayList")||JSON.stringify([])),s(this,"amountCapitalization",sV),s(this,"zoomMultiple",NV),s(this,"index",void 0),s(this,"control",void 0),s(this,"parentControl",void 0),s(this,"customFormats",void 0),s(this,"linkList",void 0),s(this,"provideInjectData",void 0),s(this,"formFieldClass",Se["f"]),s(this,"formFieldType",Se["g"])}filterOption(e,t){return!!t.title&&(t.title.indexOf(e)>-1||fX.getCamelChars(t.title).indexOf(e)>-1||fX.getFullChars(t.title).indexOf(e)>-1)}onDefaultMoneyUnitHandler(e){if(null!=e.code)switch(e.code){case Se["j"].Yuan.code:this.controlAttr.zoomMultiple=1;break;case Se["j"].TenThousandYuan.code:this.controlAttr.zoomMultiple=1e4;break;case Se["j"].HundredMillionYuan.code:this.controlAttr.zoomMultiple=1e8;break}}onValidationFeedbackHandle(){this.validateResult=this.formControl.validate()}onFormValidateStateResetMarkHandle(){this.validateResult={}}linkClick(e){this.$emit("linkClick",e)}onHideControl(){this.$nextTick(()=>{this.$emit("fixFormLayout")})}get inputShape(){return this.controlAttr.isPasswordBox?"a-input-password":this.controlAttr.enableAutoComplete?"a-auto-complete":"a-input"}get formControl(){return this.control&&this.control.formControl?(this.initFormControlData(),this.control.formControl):new vV}get controlAttr(){var e;return null===(e=this.control)||void 0===e?void 0:e.controlAttr}get parentControlAttr(){var e;return null===(e=this.parentControl)||void 0===e?void 0:e.controlAttr}get layout(){for(const e of Object.keys(Se["r"]))if(Se["r"][e]["code"]===this.controlAttr.gridVerticalArrangement)return Se["r"][e]["value"];return Se["r"].AlignRight.value}get currentCharacterCount(){return this.control.formControl&&this.control.formControl.value?this.control.formControl.value.length:0}get maxCharacterCount(){const e=this.controlAttr;if(e.verificationRules&&e.verificationRules.length>0){const t=e.verificationRules.find(e=>e.ruleType===Se["p"].MaxTextLength.code);if(null!=t&&t.ruleContent)return Number(t.ruleContent)}}get numberFormatter(){const e=this.controlAttr,t=e.formatType?e.formatType:Se["c"].GENERAL.code;return n=>{let r=void 0!=n?String(n):"";switch(t){case Se["c"].GENERAL.code:case Se["c"].AMOUNT_OF_MONEY.code:return t===Se["c"].AMOUNT_OF_MONEY.code&&null!=r&&e.thousandthPercentileFormat&&(r=r.indexOf(".")>-1?(""+r).split(".")[0].replace(/\B(?=(\d{3})+(?!\d))/g,",")+"."+(""+r).split(".")[1]:(""+r).replace(/\B(?=(\d{3})+(?!\d))/g,",")),e.zoomType!==Se["s"].automatic.code&&null!=r&&""!=r&&e.unit&&(r=""+r),r;case Se["c"].BANK_CARD_NUMBER.code:return null!=r&&(r=r.replace(/[\s]/g,"").replace(/(\d{4})(?=\d)/g,"$1 ")),r;case Se["c"].CELL_PHONE_NUMBER.code:if(null!=r){r=r.replace(/\D/g,"").substr(0,11);const e=r.length;e>3&&e<8?r=r.replace(/^(\d{3})/g,"$1 "):e>=8&&(r=r.replace(/^(\d{3})(\d{4})/g,"$1 $2 "))}return r;case Se["c"].LANDLINE_NUMBER.code:return r;default:return n}}}get numberParser(){const e=this.controlAttr,t=e.formatType?e.formatType:Se["c"].GENERAL.code;return n=>{let r=n;switch(t){case Se["c"].GENERAL.code:case Se["c"].AMOUNT_OF_MONEY.code:if(t===Se["c"].AMOUNT_OF_MONEY.code&&null!=r&&e.thousandthPercentileFormat&&(r=r.replace(/\$\s?|(,*)/g,"")),e.zoomType!==Se["s"].automatic.code&&null!=r&&""!=r&&e.unit){const t=e.unit.split("");t.forEach(e=>{r=r.replace(e,"")})}return r;case Se["c"].BANK_CARD_NUMBER.code:case Se["c"].CELL_PHONE_NUMBER.code:return null!=r&&(r=r.replace(/\s/g,"")),r;case Se["c"].LANDLINE_NUMBER.code:return r;default:return r}}}get labelSpanWidth(){const e=this.controlAttr,t=this.parentControlAttr;return e.titleWidth?e.titleWidth:t.labelSpan?t.labelSpan:this.provideInjectData.labelSpan}get colon(){return this.provideInjectData.colon}get controlSpanMaxWidth(){const e=this.controlAttr,t=this.parentControlAttr;return e.controlWidth?e.controlWidth:t.controlSpan?t.controlSpan:this.provideInjectData.controlSpan?this.provideInjectData.controlSpan:"none"}get controlSpanWidth(){const e=this.controlAttr,t=this.parentControlAttr;return e.controlWidth?e.controlWidth:t.controlSpan?t.controlSpan:this.provideInjectData.controlSpan?this.provideInjectData.controlSpan:0}get labelAlign(){for(const e of Object.keys(Se["r"]))if(Se["r"][e]["code"]===this.controlAttr.gridVerticalArrangement)return Se["r"][e]["textAlign"];return Se["r"].AlignRight.textAlign}get moneyUnits(){const e=[],t=ZR.parse(this.controlAttr.moneyUnit);return this.controlAttr.moneyUnit&&Object.values(Se["j"]).forEach(n=>{-1!==t.findIndex(e=>e===n.code)&&e.push(n)}),e&&e.length>0&&(this.defaultMoneyUnit=e[0]),e}get moneyUnitsIndentScale(){const e=this.defaultMoneyUnit;return null!=e&&e.code?Number(e.code):0}get options(){return yV(this.controlAttr)}get useMonthPicker(){const e=this.controlAttr.dateFormat;return!(!e||"yyyy-mm"!==e.toLowerCase())}get cascaderOptions(){const e=this.options;let t=[];if(e&&e.length>0){const n=ZR.copy(e);t=this.cascaderRecursion(n)}return t}get treeSelectOptions(){const e=this.options;if(console.log(e),e&&e.length>0){const t=ZR.copy(e);return this.treeSelectRecursion(t),t}return[]}get is12Hours(){return!!this.controlAttr.timeFormat&&this.controlAttr.timeFormat.indexOf(":ss")<0}get hasFeedback(){return null!=this.control.formControl&&this.control.formControl.validates&&this.control.formControl.validates.length>0}get required(){return!(!this.hasFeedback||-1===this.control.formControl.validates.findIndex(e=>String(e.name)===String(Se["p"].Required.code)))}get formatData(){this.metaRefresh=this.provideInjectData.metaRefresh;let e,t,n="",r=this.control.formControl.value;const o=this.controlAttr;switch(this.control.code){case Se["g"].Input.code:o.bindingPrefix&&(n+=o.bindingPrefix),n+=r||"",o.bindingSuffix&&(n+=o.bindingSuffix),r=n;break;case Se["g"].InputNumber.code:if(this.numberFormatter&&(r=this.numberFormatter(r)),r&&void 0!=o.decimalPlaces&&""!==o.decimalPlaces){let e;-1==r.indexOf(".")?(e=o.decimalPlaces,r+="."):e=o.decimalPlaces-(r.length-1-r.indexOf("."));for(let t=0;t<e;t++)r+="0"}return o.zoomType!==Se["s"].automatic.code&&null!=r&&""!=r&&o.unit&&(r=r.replace(o.unit,"")),r;case Se["g"].Select.code:case Se["g"].Radio.code:if(null!=r&&Array.isArray(r)){const e=[];return this.options.find(t=>{for(let n=0;n<r.length;n++)t.value===r[n]&&e.push(t.title)}),e.join(",")}{const e=this.options.find(e=>e.value===r);return e?e.title:""}case Se["g"].Checkbox.code:return e=r||[],t=[],e.forEach(e=>{this.options.find(n=>{n.value===e&&t.push(n.title)})}),t.join(" , ");case Se["g"].Switch.code:return void 0!==r?!0===r&&void 0!=o.onOpeningValue&&""!==o.onOpeningValue?o.onOpeningValue:!1===r&&void 0!=o.whenClosedValue&&""!==o.whenClosedValue?o.whenClosedValue:r?"是":"否":"";case Se["g"].TimePicker.code:return null!=r?hL()(r).format(o.timeFormat||"HH:mm:ss"):"";case Se["g"].DatePicker.code:return null!=r?hL()(r).format(o.dateFormat||"YYYY-MM-dd"):"";case Se["g"].Cascader.code:return null!=r?this.cascaderContextRecursion(r,this.cascaderOptions):"";case Se["g"].TreeSelect.code:return null!=r?this.treeSelectContextRecursion(r,this.treeSelectOptions):"";case Se["g"].Custom.code:if(this.customFormats&&this.customFormats[o.customFieldName]){const e=this.customFormats[o.customFieldName];if(e&&e.display)return e.display(r,o)}}return r}get uploadType(){const e=this.controlAttr;if(e.supportUploadType!==Se["m"].Arbitrarily.code)return e.supportUploadType===Se["m"].Custom.code?e.customUploadType:void 0}selectAddItem(e){this.$emit("add-item",e)}cascaderFilter(e,t){return t.some(t=>t.label.toLowerCase().indexOf(e.toLowerCase())>-1)}treeSelectRecursion(e){const t=[];return e.forEach(e=>{e.disabled=!1,e.key=e.value,e.children&&e.children.length>0&&("0"!==this.controlAttr.disableNonLeafNodes&&(e.disabled=!0),this.treeSelectRecursion(e.children))}),t}cascaderRecursion(e){const t=[];return e.forEach(e=>{const n={value:e.value,label:e.title,isLeaf:!1};t.push(n),e.children&&e.children.length>0?n.children=this.cascaderRecursion(e.children):n.isLeaf=!0}),t}cascaderContextRecursion(e,t,n=0){if(e&&e.length>0&&t&&t.length>0&&e.length>n){const r=e[n],o=t.find(e=>e.value===r);if(null!=o){let t=o.label;if(e.length>n+1){const r=this.cascaderContextRecursion(e,o.children,n+1);t+=" / "+r}return t}}return""}treeSelectContextRecursion(e,t){if(e&&t&&t.length>0)for(let n=0;n<t.length;n++){if(t[n].value===e)return t[n].title;if(t[n].children&&t[n].children.length>0){const r=this.treeSelectContextRecursion(e,t[n].children);if(r)return r}}return""}get isIe(){return!!this.provideInjectData.widthCompatibleMode||!!window.ActiveXObject||"ActiveXObject"in window}get divWidthCompatibleToIe(){if(this.isIe){const e=this.parentControlAttr,t=this.index%e.gridColumnConfig.length,n=e.gridColumnConfig[t].value;let r=0;e.gridColumnConfig.forEach(e=>{r+=Number(e.value)});const o=n/r,i=100*Number(o);return`calc( ${i}% - 1px)`}return"100%"}get emptyLayoutContainerStyle(){let e={};if(this.isIe)e={display:"flex","flex-wrap":"wrap"};else{var t;const n=xe(null===(t=this.control)||void 0===t||null===(t=t.controlAttr)||void 0===t?void 0:t.gridColumnConfig);e={"grid-template-columns":n}}return e}get generalLayoutContainerStyle(){let e={};if(this.isIe)e={display:"flex","flex-wrap":"wrap"};else{var t,n;const r=De(null===(t=this.parentControl)||void 0===t||null===(t=t.controlAttr)||void 0===t?void 0:t.gridColumnConfig),o=xe(null===(n=this.control)||void 0===n||null===(n=n.controlAttr)||void 0===n?void 0:n.gridColumnConfig);e={"grid-column-end":r,"grid-template-columns":o}}return e}initFormControlData(){if(this.control&&this.control.formControl){this.control.code!==Se["g"].DatePicker.code&&this.control.code!==Se["g"].TimePicker.code||this.control.formControl.value&&("string"===typeof this.control.formControl.value?this.control.formControl.value=hL()(new Date(this.control.formControl.value)):this.control.formControl.value instanceof Date&&(this.control.formControl.value=hL()(this.control.formControl.value))),null==this.control.formControl.textNoticeCallback&&(this.control.formControl.textNoticeCallback=()=>this.formatData);const e=this.controlAttr;if(null==e.maxValue||""===e.maxValue){const t="9999999999999999";void 0!=e.decimalPlaces&&""!==e.decimalPlaces&&e.decimalPlaces>0?(e.decimalPlaces>16&&(e.decimalPlaces=16),e.maxValue=Number(t.slice(0,t.length-e.decimalPlaces)+"."+t.slice(t.length-e.decimalPlaces,t.length))):e.maxValue=Number(t)}}}get busAttr(){const e=this.controlAttr;let t,n=[];e.busAttr&&(t=ZR.parse(e.busAttr),t[Se["e"].SUBMITTED_TYPE.code]&&(n=t[Se["e"].SUBMITTED_TYPE.code].split(",").filter(e=>!!e)));const r=Object.values(Se["l"]).map(e=>({label:e.name,value:e.code})),o=[];return r.forEach(e=>{n.findIndex(t=>t===e.value)>-1&&o.push(e)}),{[Se["e"].SUBMITTED_TYPE.code]:o,[Se["e"].IS_SUPPLEMENT.code]:!!t&&t[Se["e"].IS_SUPPLEMENT.code],[Se["e"].IS_KEY_ELEMENTS.code]:!!t&&t[Se["e"].IS_KEY_ELEMENTS.code],[Se["e"].IS_TRACK.code]:!!t&&t[Se["e"].IS_TRACK.code]}}get submittedType(){return this.busAttr&&this.busAttr[Se["e"].SUBMITTED_TYPE.code].length>0?this.busAttr[Se["e"].SUBMITTED_TYPE.code]:[]}get submittedTypeStr(){return this.submittedType.map(e=>e.label).join("、")}showPickerTime(e){return!!(e&&e.indexOf("HH:mm")>-1)&&e}clearNoNum(e){return e&&(e=e.replace(/[^\d.]/g,""),e=e.replace(/\.{2,}/g,"."),e=e.replace(".","$#$").replace(/\./g,"").replace("$#$","."),e=e.replace(/^(\-)*(\d+)\.(\d\d).*$/,"$1$2.$3"),e.indexOf(".")<0&&""!=e&&(e=parseFloat(e))),e}validateNumBeyondLimit(e){if(e){const t=e.replace(/[^0-9]/gi,"");return t.length>16}return!1}handleRemove(e){const t=this.formControl.value.indexOf(e),n=this.formControl.value.slice();n.splice(t,1),this.formControl.value=n}beforeUpload(e){const t=[...this.formControl.value,e];return this.formControl.value=t,!1}handleUploadChange(e){let t=[...this.formControl.value];const n=this.controlAttr;n.maxUploadNumber&&n.maxUploadNumber>0&&(t=t.slice(0-Number(n.maxUploadNumber))),t=t.map(e=>(e.response&&(e.url=e.response.url),e)),this.formControl.value=t,e&&e.file&&(void 0===e.file.status||"removed"===e.file.status)&&this.onChange(this.control)}handleMoneyUnitMenuClick(e){this.defaultMoneyUnit=this.moneyUnits.find(t=>t.code===e.key)}getPopupContainer(e){return e.parentNode}onChange(e){var t;!this.control||this.control.type!==Se["f"].Base.code&&this.control.type!==Se["f"].Senior.code||(this.validateResult=this.formControl.validate(null===(t=e.formControl)||void 0===t?void 0:t.value));this.$emit("change",e)}onClick(e){this.$emit("click",e)}onAddonBeforeHandler(e){this.$emit("addon-before",e)}onAddonAfterHandler(e){this.$emit("addon-after",e)}onInputNumberFocus(e){this.onFocus(e),this.controlAttr.isShowCapitalization&&(this.numberPopoverVisible=!0)}onInputNumberBlur(e){this.onBlur(e),this.controlAttr.isShowCapitalization&&(this.numberPopoverVisible=!1)}onFocus(e){this.$emit("focus",e)}onBlur(e){this.$emit("blur",e)}isRest(e){return!!JSON.parse(this.weekdayList).find(t=>t.calDate===this.DateTime(e.$d))}isWeekday(e){return!!JSON.parse(this.workdayList).find(t=>t.calDate===this.DateTime(e.$d))}isRadingDay(e){return!!JSON.parse(this.traddayList).find(t=>t.calDate===this.DateTime(e.$d))}DateTime(e){const t=e.getFullYear();let n=e.getMonth()+1,r=e.getDate();return n<10&&(n="0"+n),r<10&&(r="0"+r),""+t+n+r}};d([ve()],pX.prototype,"index",void 0),d([ve()],pX.prototype,"control",void 0),d([ve()],pX.prototype,"parentControl",void 0),d([ve({type:Object,default:()=>({})})],pX.prototype,"customFormats",void 0),d([ve({type:Array,default:()=>[]})],pX.prototype,"linkList",void 0),d([pe()],pX.prototype,"provideInjectData",void 0),d([ge("defaultMoneyUnit",{immediate:!0})],pX.prototype,"onDefaultMoneyUnitHandler",null),d([ge("provideInjectData.refreshCheckFeedbackFlag"),ge("control.formControl.refreshValidate")],pX.prototype,"onValidationFeedbackHandle",null),d([ge("provideInjectData.formValidateStateResetMark")],pX.prototype,"onFormValidateStateResetMarkHandle",null),d([ge("control.controlAttr.isHideControl")],pX.prototype,"onHideControl",null),pX=d([de({name:"DvFormLayout",filters:{amountCapitalization:sV,switchEnumConvert:jV,zoomMultiple:NV},components:{StretchText:PV,PlusOutlined:HV,[cO.name]:cO,[Cb.name]:Cb,[Ow.name]:Ow,[rw.name]:rw,[Mj.name]:Mj,[oT.name]:oT,[gj.name]:gj,[gj.Option.displayName+""]:gj.Option,[gj.OptGroup.displayName+""]:gj.OptGroup,[hT.name]:hT,[pT.name]:pT,[xT.name]:xT,[MT.name]:MT,[ET.name]:ET,[HL.name]:HL,[$L.name]:$L,[o_.name]:o_,[Mj.name]:Mj,[zA.name]:zA,[bF.name]:bF,[GY.name]:GY,[yw.name]:yw,[CF.name]:CF,[EF.name]:EF,[AF.name]:AF,[LF.name]:LF,[GF.name]:GF,[yI.name]:yI,[bB.name]:bB,[bB.Item.name]:bB.Item,[SR.name]:SR,[CC.name]:CC,[xR.name]:xR,[$L.MonthPicker.name]:$L.MonthPicker,[PV.name]:PV,[jR.name]:jR,[TR.name]:TR,VNodes:(e,{attrs:t})=>t.vnodes,QuestionCircleOutlined:WV,ClockCircleOutlined:tD,DownOutlined:aj,UploadOutlined:eX,SearchOutlined:IO}})],pX);var vX=pX;n("7455");const hX=_V()(vX,[["render",B],["__scopeId","data-v-09bdff10"]]);var mX=hX;class gX{formatDateTime(e,t="YYYY-MM-dd HH:mm:ss"){const n=/(YY|YYYY|MM|dd|HH|mm|ss|ww|WW)/g;if(!e)return"";if(!n.test(t))throw new Error(`The defined format ${t} is incorrect,Please enter 'YYYY or YY' for year,MM for month, dd for day,ww or WW for week,HH for hours,mm for minutes,ss for seconds.`);"string"===typeof e&&8===e.length?e=[e.substr(0,4),e.substr(4,2),e.substr(6,2)].join("/"):isNaN(Number(e))||(e=Number(e));const r=new Date(e);if("Invalid Date"===String(r))throw new Error(`Time format unrecognized by ${e}, Please enter time stamp or legal time format.`);const o=["日","一","二","三","四","五","六"],i=String(r.getFullYear()),a=r.getMonth()+1>9?String(r.getMonth()+1):"0"+String(r.getMonth()+1),u=r.getDate()>9?String(r.getDate()):"0"+String(r.getDate()),c=r.getDay(),l=0!==c?c:"日",s=r.getHours()>9?String(r.getHours()):"0"+String(r.getHours()),d=r.getMinutes()>9?String(r.getMinutes()):"0"+r.getMinutes(),f=r.getSeconds()>9?String(r.getSeconds()):"0"+String(r.getSeconds());let p="";return/YYYY|YY/g.test(t)?t.replace(/YYYY|YY/g,(e,t,n)=>("YY"===e&&(p=n.replace("YY",i.slice(2))),"YYYY"===e&&(p=n.replace("YYYY",i)),p)):p=t,p=p.replace(/MM/g,a),p=p.replace(/dd/g,u),p=p.replace(/HH/g,s),p=p.replace(/mm/g,d),p=p.replace(/ss/g,f),p=p.replace(/ww/g,l),p=p.replace(/WW/g,o[c]),p}dateSizeCompare(e,t){return new Date(Date.parse(e.replace(/-/g,"/"))).getTime()>new Date(Date.parse(t.replace(/-/g,"/"))).getTime()}}const bX=new gX;var yX;(function(e){e["IsHideControl"]="isHideControl",e["IsRequiredValidate"]="isRequiredValidate",e["FormFieldDescribe"]="formFieldDescribe",e["FieldDefaultValue"]="fieldDefaultValue",e["TitleWidth"]="titleWidth",e["IsBoldTitle"]="isBoldTitle",e["IsHideTitle"]="isHideTitle",e["TitleColor"]="titleColor",e["Placeholder"]="placeholder",e["Tips"]="tips",e["IsNotEdit"]="isNotEdit",e["BindingPrefix"]="bindingPrefix",e["BindingSuffix"]="bindingSuffix",e["BuiltInFrontLabel"]="builtInFrontLabel",e["BuiltInPostLabel"]="builtInPostLabel",e["ControlWidth"]="controlWidth",e["IsPasswordBox"]="isPasswordBox",e["InitRowHeight"]="initRowHeight",e["IsFixedRowHeight"]="isFixedRowHeight",e["FormatType"]="formatType",e["MinValue"]="minValue",e["MaxValue"]="maxValue",e["Step"]="step",e["DecimalPlaces"]="decimalPlaces",e["ThousandthPercentileFormat"]="thousandthPercentileFormat",e["Unit"]="unit",e["ZoomType"]="zoomType",e["ZoomMultiple"]="zoomMultiple",e["IsShowCapitalization"]="isShowCapitalization",e["IsLineFeedDisplay"]="isLineFeedDisplay",e["IsOptionType"]="isOptionType",e["OptionConfig"]="optionConfig",e["DateFormat"]="dateFormat",e["TimeFormat"]="timeFormat",e["IsSupportMultiple"]="isSupportMultiple",e["MaxUploadNumber"]="maxUploadNumber",e["LimitSize"]="limitSize",e["SupportUploadType"]="supportUploadType",e["CustomUploadType"]="customUploadType",e["ExtendUploadType"]="extendUploadType",e["AttachmentExtendProperties"]="attachmentExtendProperties",e["IsMultipleChoice"]="isMultipleChoice",e["IsSearchable"]="isSearchable",e["CanAddEntry"]="canAddEntry",e["IsClearButton"]="isClearButton",e["OnOpeningValue"]="onOpeningValue",e["WhenClosedValue"]="whenClosedValue",e["OnOpeningText"]="onOpeningText",e["WhenClosedText"]="whenClosedText",e["CustomFieldName"]="customFieldName",e["TextFold"]="textFold",e["HiddenDropdown"]="hiddenDropdown",e["BusAttr"]="busAttr",e["EnableAutoComplete"]="enableAutoComplete",e["AutoCompleteOptions"]="autoCompleteOptions",e["IsTreeOpen"]="isTreeOpen",e["CheckboxStyle"]="checkboxStyle",e["ItemWidth"]="itemWidth",e["ChangeOnSelect"]="changeOnSelect",e["TextareaRows"]="textareaRows",e["IsShowHoliday"]="isShowHoliday"})(yX||(yX={}));class OX{constructor(e={}){s(this,"id",void 0),s(this,"dvForm",void 0),s(this,"edit",void 0),s(this,"formatType",void 0),s(this,"apiMetaRefresh",void 0),s(this,"oldVal",void 0),this.id=e.id||this.getUuid(),this.dvForm=e.dvForm||new se(NX),this.edit=e.edit,this.formatType=e.formatType||"default"}get mathjs(){return window.$app.config.globalProperties.$mathjs?window.$app.config.globalProperties.$mathjs:{}}get formData(){if(this.apiMetaRefresh=this.dvForm.metaRefresh,this.dvForm.desForm&&this.dvForm.desForm.formGroup){let e=this.generateData(this.dvForm.desForm.formGroup);return this.oldVal&&(e=this.contrast(this.oldVal,e),Object.keys(e).length||(e=null)),e}return null}get formAllData(){if(this.apiMetaRefresh=this.dvForm.metaRefresh,this.dvForm.desForm&&this.dvForm.desForm.formGroup){const e=this.generateData(this.dvForm.desForm.formGroup);return e}return null}get encodedFormData(){if(this.apiMetaRefresh=this.dvForm.metaRefresh,this.dvForm.desForm&&this.dvForm.desForm.formGroup){const e=this.generateData(this.dvForm.desForm.formGroup);return this.jsonToFormData(e)}return null}setFormData(e,t=!1,n=!1,r){this.dvForm.desForm.formGroup?this.setFormDataInner(e,t,n):setTimeout(()=>{this.setFormDataInner(e,t,n)}),r&&(this.oldVal=r)}getControl(e,t,n=!0){if(e&&(null==t&&(this.dvForm.desForm.formGroup?t=this.dvForm.desForm.formGroup.controls:n&&console.log("表单对象尚未初始化完成...")),t&&Object.keys(t).length>0))for(const r of Object.keys(t)){if(r===e)return t[r];if(t[r].controls&&Object.keys(t[r].controls).length>0){const n=this.getControl(e,t[r].controls);if(null!=n)return n}}return null}getValue(e){const t=this.getControl(e);return t?this.decodeData(t,!1):null}setValue(e,t,n=!1,r=!0){let o=this.getControl(e);null==o?setTimeout(()=>{o=this.getControl(e),this.setControlValue(o,e,t,n,r)}):this.setControlValue(o,e,t,n,r)}resetValue(){this.dvForm.formatDesForm(!0)}getText(e){const t=this.getControl(e);return t?t.text():""}getOptions(e){const t=this.getControl(e);return t&&t.controlAttr?yV(t.controlAttr):[]}setOptions(e,t,n){let r=this.getControl(e);null==r?setTimeout(()=>{r=this.getControl(e),this.setControlOptions(r,e,t,n)}):this.setControlOptions(r,e,t,n)}getAttribute(e,t){const n=this.getControl(e);if(n&&n.controlAttr)return n.controlAttr[t]}setAttribute(e,t,n){let r=this.getControl(e);null==r?setTimeout(()=>{r=this.getControl(e),this.setControlAttribute(r,t,n)}):this.setControlAttribute(r,t,n)}getValidate(e,t){const n=this.getControl(e);if(n)return n.getValidate(t)}removeValidate(e,t){const n=this.getControl(e);if(n){const e=n.validates;if(e&&e.length>0){const n=e.findIndex(e=>e.name===t);-1!==n&&e.splice(n,1)}}}removeAllValidates(e){const t=this.getControl(e);t&&(t.validates=[])}getValidates(e){const t=this.getControl(e);return t?t.validates:[]}setRequiredValidate(e,t){t?this.setValidate(e,{ruleType:Se["p"].Required.code}):this.removeValidate(e,Se["p"].Required.code)}setValidate(e,t,n=!1){let r=this.getControl(e);null==r?setTimeout(()=>{r=this.getControl(e),r&&this.setValidateInner(r,t,n)}):this.setValidateInner(r,t,n)}validateTips(e){return oV.validateTips(this,e)}validateReport(e,t,n=!0){if(null==t&&(t=[]),null==e&&(e=this.dvForm.desForm.formGroup,n&&(this.dvForm.refreshCheckFeedbackFlag=(new Date).getTime())),null!=e)for(const r of Object.keys(e.controls))if(e.controls[r]instanceof hV)this.validateReport(e.controls[r],t);else if(e.controls[r]instanceof vV&&!e.controls[r].controlAttr.isHideControl){const n=e.controls[r].validate();n.validateStatus===Se["q"].Error.code&&t.push({key:e.controls[r].key,name:e.controls[r].controlAttr.formFieldDescribe,errorMsg:n.errorMsg,controlType:e.controls[r].controlAttr.controlType})}return t}validate(e=!0){const t=this.validateReport(void 0,void 0,e);return!(t.length>0)}refreshValidate(e){let t=this.getControl(e);null==t?setTimeout(()=>{t=this.getControl(e),t["refreshValidate"]=(new Date).getTime()}):t["refreshValidate"]=(new Date).getTime()}resetFormValidateState(){this.dvForm.formValidateStateResetMark=(new Date).getTime()}setFormatDisplayAndOutput(e,t){e&&(this.dvForm.customFormats[e]=t),this.refreshAndUpdateData()}refreshAndUpdateData(){this.dvForm.onRefreshArgumentsHandler((new Date).getTime())}getControlEl(e){const t=this.getControl(e);if(null!=t&&t.controlAttr){const e=document.getElementsByClassName("form-model-item-"+t.controlAttr.boundProperty);if(null!=e&&e.length>0)return e[0]}return null}checkHasUploadControl(e){if(e instanceof hV){const t=e;for(const e of Object.keys(t.controls))if(t.controls[e]instanceof hV){const n=this.checkHasUploadControl(t.controls[e]);if(n)return n}else if(t.controls[e]instanceof vV&&t.controls[e].code===Se["g"].Upload.code)return!0}return!1}jsonToFormData(e){const t=new FormData;return null!=e?(Object.keys(e).forEach(n=>{null!=e[n]&&e[n]instanceof Array&&e[n].length>0&&e[n][0]instanceof File?e[n].forEach(e=>{t.append(n,e)}):t.append(n,e[n])}),t):t}setFieldChangeHistory(e){e=e||{};for(const t of Object.keys(e)){let n=this.getControl(t,void 0,!1);if(null==n)setTimeout(()=>{if(n=this.getControl(t,void 0,!1),n){const r=(e[t]||[]).sort((e,t)=>{const n=new Date(e.time).getTime(),r=new Date(t.time).getTime();return r-n});n.history=r}});else if(n=this.getControl(t,void 0,!1),n){const r=(e[t]||[]).sort((e,t)=>{const n=new Date(e.time).getTime(),r=new Date(t.time).getTime();return r-n});n.history=r}}}hideLayout(e,t=!0){if(e){const n=document.getElementsByClassName("lo-form-layout-"+e);if(n&&n.length>0)for(let e=0;e<n.length;e++)n[e].style.display=t?"none":"grid"}}setFormDataInner(e,t,n){if(e)for(const r of Object.keys(e))"string"===typeof e[r]||"number"===typeof e[r]?this.setValue(r,e[r],t,!1):this.setFormData(e[r],t,n);n&&this.validate()}setControlValue(e,t,n,r,o=!0){if(e){switch(e.code){case Se["g"].InputNumber.code:n&&e.controlAttr.zoomMultiple&&(e.controlAttr.zoomType===Se["s"].enlarge.code?n=this.mathjs.format(this.mathjs.evaluate(`${n} / ${e.controlAttr.zoomMultiple}`),{notation:"fixed"}):e.controlAttr.zoomType===Se["s"].narrow.code&&(n=this.mathjs.format(this.mathjs.evaluate(`${n} * ${e.controlAttr.zoomMultiple}`),{notation:"fixed"}))),e.value=void 0!=n?n:"";break;case Se["g"].Select.code:e.controlAttr.isMultipleChoice&&(n?"string"===typeof n&&(n=n.split(",")):n=[]),e.value=n;break;case Se["g"].Checkbox.code:case Se["g"].Cascader.code:n=n?n.split(","):[],e.value=n;break;case Se["g"].Switch.code:e.controlAttr.onOpeningValue?n=!0===n||n===e.controlAttr.onOpeningValue:e.controlAttr.whenClosedValue&&(n=!(!1===n||n===e.controlAttr.whenClosedValue)),e.value=n;break;case Se["g"].TimePicker.code:n?("string"===typeof n?n=hL()(new Date(this.nowDateStr()+" "+n)):n instanceof Date&&(n=hL()(n)),e.value=n):e.value=null;break;case Se["g"].DatePicker.code:n?("string"===typeof n?n=hL()(n,e.dateFormat):n instanceof Date&&(n=hL()(n)),e.value=n):e.value=null;break;default:e.value=n}r&&this.setAttribute(t,yX.FieldDefaultValue,JSON.stringify(e.value)),o&&(e["refreshValidate"]=(new Date).getTime())}}setControlOptions(e,t,n,r){e&&e.controlAttr&&(OV(e.controlAttr,n),this.setAttribute(t,yX.IsOptionType,Se["k"].Fixed.code),this.setAttribute(t,yX.OptionConfig,n)),r&&this.setValue(t,r,!0)}setControlAttribute(e,t,n){e&&t&&(e.controlAttr[t]=n)}setValidateInner(e,t,n=!1){null!=t&&t.ruleType&&(t=uV["a"].getBuiltInValidationRules(t,e.controlAttr)),null!=t&&(n&&(e.validates=[]),e.addValidate(t))}generateData(e,t={}){if(e instanceof hV){const n=e;for(const e of Object.keys(n.controls))n.controls[e]instanceof hV?t[e]=this.generateData(n.controls[e],t[e]):n.controls[e]instanceof vV&&(t[e]=this.decodeData(n.controls[e]))}return t}decodeData(e,t=!0){let n=e.value||"";switch(e.code){case Se["g"].InputNumber.code:n&&e.controlAttr.zoomMultiple&&(e.controlAttr.zoomType===Se["s"].enlarge.code?n=this.mathjs.format(this.mathjs.evaluate(`${n} * ${e.controlAttr.zoomMultiple}`),{notation:"fixed"}):e.controlAttr.zoomType===Se["s"].narrow.code?n=this.mathjs.format(this.mathjs.evaluate(`${n} / ${e.controlAttr.zoomMultiple}`),{notation:"fixed"}):e.controlAttr.zoomType===Se["s"].automatic.code&&(n=this.mathjs.format(this.mathjs.evaluate(`${n} * ${e.controlAttr.zoomMultiple}`),{notation:"fixed"}))),0===e.value&&(n=0);break;case Se["g"].Select.code:e.controlAttr.isMultipleChoice&&n&&Array.isArray(n)&&(n=n.join(","));break;case Se["g"].Checkbox.code:n&&t&&(n=n.join(","));break;case Se["g"].TimePicker.code:n&&(n=hL()(n).format(e.controlAttr.timeFormat||"LTS"));break;case Se["g"].DatePicker.code:n&&(n=hL()(n).format(e.controlAttr.dateFormat||"YYYY-MM-DD"));break;case Se["g"].Cascader.code:n&&(n=n.join(","));break;case Se["g"].Switch.code:n=!!n,e.controlAttr&&(!0===n&&void 0!=e.controlAttr.onOpeningValue&&""!==e.controlAttr.onOpeningValue?n=e.controlAttr.onOpeningValue:!1===n&&void 0!=e.controlAttr.whenClosedValue&&""!==e.controlAttr.whenClosedValue&&(n=e.controlAttr.whenClosedValue));break;case Se["g"].Custom.code:if(e.controlAttr&&e.controlAttr.customFieldName){const t=this.dvForm.customFormats[e.controlAttr.customFieldName];t&&t.output&&(n=t.output(n,e.controlAttr))}}return n}nowDateStr(){const e=new Date,t=("0"+e.getDate()).slice(-2),n=("0"+(e.getMonth()+1)).slice(-2);return e.getFullYear()+"/"+n+"/"+t}getUuid(){const e=[],t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";for(let r=0;r<36;r++)e[r]=t.substr(Math.floor(16*Math.random()),1);e[14]="4",e[19]=t.substr(3&e[19]|8,1),e[8]=e[13]=e[18]=e[23]="-";const n=e.join("");return n}contrast(e,t){const n={},r=[];if(!t||!e)return n.changeLog="必传参数不存在",n;const o=e.handlerFlag;for(const i in this.dvForm.desForm.formGroup.controls){if(!e[i]&&!t[i])continue;const a=this.getControl(i);if(a&&this.getChangedInfo(a,e[i],t[i])){let u=e[i];const c=t[i],l={};if(a.code!==Se["g"].Custom.code){l.field_cd=i;const e=a.controlAttr.formFieldDescribe;l.field_nm=e,l.field_key=c;const t=this.translateDictionaries(a,i,c);l.field_value=t,l.is_change="1",l.field_old_key=u;const s=this.translateDictionaries(a,i,u);l.field_old_value=s,n[i]=c,r.push(l),"null"!==u&&"undefined"!==u||(u="");const d=u?s:"空",f=c?t:"空";n.changeLog=n.changeLog?n.changeLog+",":"",n.changeLog="add"===o?n.changeLog+"新增【"+e+"】为“"+f+"”":n.changeLog+"修改【"+e+"】由“"+d+"”修改为“"+f+"”"}else n[i]=c}}return n.fieldInfoArr=r,n}getChangedInfo(e,t,n){if(t+="",n+="","null"===t||"undefined"===t)return!0;let r=!0;switch(e.code){case Se["g"].Input.code:t===n&&(r=!1);break;case Se["g"].InputNumber.code:t===n&&(r=!1);break;case Se["g"].Textarea.code:t===n&&(r=!1);break;case Se["g"].Slider.code:t===n&&(r=!1);break;case Se["g"].Rate.code:t===n&&(r=!1);break;case Se["g"].Select.code:t===n&&(r=!1);break;case Se["g"].Checkbox.code:t===n&&(r=!1);break;case Se["g"].Radio.code:t===n&&(r=!1);break;case Se["g"].TimePicker.code:t===n&&(r=!1);break;case Se["g"].DatePicker.code:t=bX.formatDateTime(t,"YYYY-MM-dd"),n=bX.formatDateTime(n,"YYYY-MM-dd"),t===n&&(r=!1);break;case Se["g"].Cascader.code:t===n&&(r=!1);break;case Se["g"].TreeSelect.code:t===n&&(r=!1);break;case Se["g"].Switch.code:t===n&&(r=!1);break;case Se["g"].Custom.code:break}return r}translateDictionaries(e,t,n){let r=n;switch(e.code){case Se["g"].Input.code:break;case Se["g"].InputNumber.code:break;case Se["g"].Textarea.code:break;case Se["g"].Slider.code:break;case Se["g"].Rate.code:break;case Se["g"].Select.code:e.controlAttr.generalDictionaryOptions?e.controlAttr.generalDictionaryOptions.forEach(e=>{e.value===n&&(r=e.title)}):e.controlAttr.optionConfig.forEach(e=>{e.value===n&&(r=e.title)});break;case Se["g"].Checkbox.code:r="",n&&(e.controlAttr.generalDictionaryOptions?e.controlAttr.generalDictionaryOptions.forEach(e=>{n.split(",").forEach(t=>{e.value===t&&(r=r+e.title+",")})}):e.controlAttr.optionConfig.forEach(e=>{n.split(",").forEach(t=>{e.value===t&&(r=r+e.title+",")})}),r=r.substring(0,r.length-1));break;case Se["g"].Radio.code:e.controlAttr.generalDictionaryOptions?e.controlAttr.generalDictionaryOptions.forEach(e=>{e.value===n&&(r=e.title)}):e.controlAttr.optionConfig.forEach(e=>{e.value===n&&(r=e.title)});break;case Se["g"].TimePicker.code:break;case Se["g"].DatePicker.code:r=bX.formatDateTime(n,"YYYY-MM-dd");break;case Se["g"].Cascader.code:r="",n?(KR.treeNodeConvertToArray(e.controlAttr.treeShapeOptions,[],"children").forEach(e=>{n.split(",").forEach(t=>{e.value===t&&(r=r+e.title+",")})}),r=r.substring(0,r.length-1)):r="";break;case Se["g"].TreeSelect.code:r="",KR.treeNodeConvertToArray(e.controlAttr.treeShapeOptions,[],"children").forEach(e=>{e.value===n&&(r+=e.title)});break;case Se["g"].Switch.code:r=n?"开":"关";break;case Se["g"].Custom.code:break;default:r=n;break}return r}getFormSubmittedType(e,t){const n=t&&t.length>0?t:[],r=this.dvForm.desForm.controls[0].subControls,o=aV.loadResource(this.dvForm.desForm.formId).controls[0].subControls,i=[];n.length>0?(r.forEach((t,r)=>{t.formControl?e.getAttribute(t.formControl.key,yX.IsHideControl)||(i.push(t.formControl.key),e.setAttribute(t.formControl.key,yX.IsHideControl,o[r].controlAttr.isHideControl),this.handleSubmittedData(i,n,t)):t.subControls&&t.subControls.forEach((t,a)=>{e.getAttribute(t.formControl.key,yX.IsHideControl)||(i.push(t.formControl.key),e.setAttribute(t.formControl.key,yX.IsHideControl,o[r].subControls[a].controlAttr.isHideControl),this.handleSubmittedData(i,n,t))})}),i.forEach(t=>{e.setAttribute(t,yX.IsHideControl,!0)})):r.forEach((t,n)=>{t.formControl?e.setAttribute(t.formControl.key,yX.IsHideControl,o[n].controlAttr.isHideControl):t.subControls&&t.subControls.forEach((t,r)=>{e.setAttribute(t.formControl.key,yX.IsHideControl,o[n].subControls[r].controlAttr.isHideControl)})})}handleSubmittedData(e,t,n){let r=[];if(""!==JSON.parse(n.formControl.controlAttr.busAttr).submittedType){r=JSON.parse(n.formControl.controlAttr.busAttr).submittedType.split(",");for(let o=0;o<t.length;o++)if(r.filter(e=>e===t[o]).length>0&&e.indexOf(n.formControl.key)>=0){e.splice(e.indexOf(n.formControl.key),1);break}}}getSubmittedType(){const e=[];return Object.values(Se["l"]).forEach(t=>{e.push({value:t.code,label:t.name})}),e}}let CX=class extends se{constructor(...e){super(...e),s(this,"formId",void 0),s(this,"mode",void 0),s(this,"styleMode",void 0),s(this,"srcDesForm",void 0),s(this,"edit",void 0),s(this,"colon",void 0),s(this,"labelSpan",void 0),s(this,"controlSpan",void 0),s(this,"formApi",void 0),s(this,"history",void 0),s(this,"customFormats",void 0),s(this,"refreshArguments",void 0),s(this,"widthCompatibleMode",void 0),s(this,"formTheme",void 0),s(this,"linkList",void 0),s(this,"metaRefresh",(new Date).getTime()),s(this,"refreshCheckFeedbackFlag",(new Date).getTime()),s(this,"sysDictDetailOptions",[]),s(this,"sysDictTreeDetailOptions",[]),s(this,"formValidateStateResetMark",(new Date).getTime()),s(this,"desForm",new VR),s(this,"provideInjectData",{edit:this.$props.edit,labelSpan:this.$props.labelSpan,controlSpan:this.$props.controlSpan,colon:this.$props.colon,metaRefresh:this.metaRefresh,refreshCheckFeedbackFlag:this.refreshCheckFeedbackFlag,widthCompatibleMode:this.$props.widthCompatibleMode,formValidateStateResetMark:this.formValidateStateResetMark})}onRefreshArgumentsHandler(e){this.metaRefresh=e}onPropFormValidateStateResetHandler(e){this._provided&&(this._provided.provideInjectData.formValidateStateResetMark=this.formValidateStateResetMark)}onPropHandler(e){this&&(this.provideInjectData.edit=this.edit,this.provideInjectData.labelSpan=this.labelSpan,this.provideInjectData.controlSpan=this.controlSpan,this.provideInjectData.metaRefresh=this.metaRefresh,this.provideInjectData.refreshCheckFeedbackFlag=this.refreshCheckFeedbackFlag,this.provideInjectData.widthCompatibleMode=this.widthCompatibleMode)}get loFormTheme(){const e=window,t=["default","gray"],n=t.indexOf(this.formTheme)>-1?this.formTheme:e.$loFormTheme;return t.indexOf(n)>-1?n:t[0]}linkClick(e){this.$emit("linkClick",e)}created(){this.initDict()}mounted(){this.formId?this.initDesForm():this.desForm&&this.formatDesForm()}onFormIdChanged(){this.initDesForm()}onSrcDesFormChanged(e){null!=e&&(this.desForm=ZR.copy(e),this.formatDesForm())}initDesForm(){null!=this.formId&&""!==this.formId&&(this.desForm=aV.loadResource(this.formId),this.formatDesForm())}initDict(){this.sysDictDetailOptions=aV.sysDictDetailOptions,this.sysDictTreeDetailOptions=aV.sysDictTreeDetailOptions}formatDesForm(e){if(null!=this.desForm&&null!=this.desForm.controls&&this.desForm.controls.length>0){const n=this.analysisBindingObjects();var t;if(this.desForm.formGroup=this.generateFormGroup(n),this.initControlForm(this.desForm.controls,this.desForm.formGroup),this.generateFormApi(e),null!=this.history)null===(t=this.formApi)||void 0===t||t.setFieldChangeHistory(this.history);this.$emit("complete")}}fixFormLayout(){this.$nextTick(()=>{console.log("自动修改表单宽度");try{const e=this.$refs.formView,t=e.getElementsByClassName("lo-control-container"),n=t.length;for(let r=0;r<n-1;r++)t[r].offsetLeft===t[r+1].offsetLeft&&t[r].clientWidth<t[r+1].clientWidth?t[r].style.width="200%":t[r].style.width="100%";if(n>2){const e=t[n-1],r=t[n-2];e.clientWidth===r.clientWidth&&e.offsetLeft!==r.offsetLeft?e.style.width="200%":e.style.width="100%"}}catch(kq){console.error("自动修改表单宽度错误"+kq)}})}generateFormApi(e){if(e){const e=new OX(this.formApi);e.dvForm=this,this.$emit("update:formApi",e)}else if(this.formApi)this.formApi.dvForm=this,this.$emit("update:formApi",this.formApi);else{const e=new OX({dvForm:this});this.$emit("update:formApi",e)}}analysisBindingObjects(){const e=this.objectExtraction(this.desForm.controls);let t={};return null!=e&&e.length>0&&e.forEach(e=>{Object.keys(e).length>0&&(t=this.objectMerge(t,e[Object.keys(e)[0]]))}),t}objectExtraction(e,t=[]){return e.forEach(e=>{if(e.type===Se["f"].Layout.code){if(null!=e.subControls&&e.subControls.length>0)return this.objectExtraction(e.subControls,t)}else{const n=null===e||void 0===e?void 0:e.controlAttr,r=n.boundProperty;if(r){(n.generalDictionary||n.treeShape)&&n.isOptionType===Se["k"].Dynamic.code&&(n.dynamicOptionType===Se["d"].GeneralDictionary.code?n.generalDictionaryOptions=this.findDictOptions(n.generalDictionary,this.sysDictDetailOptions):n.dynamicOptionType===Se["d"].TreeDictionary.code&&(n.treeShapeOptions=this.findDictOptions(n.treeShape,this.sysDictTreeDetailOptions)));const o=r.split(".");let i={};const a={lastMd:i};o.forEach((t,n,r)=>{if(n<r.length-1)i[t]={},i=i[t];else{const n=ZR.parse(e.controlAttr.fieldDefaultValue)||"";i[t]=this.securityValue(e,n)}}),t.push(a.lastMd)}}}),t}findDictOptions(e,t){if(null!=t&&t.length>0)for(const n of t){if(n.key===e)return(n.children||[]).forEach(e=>{e.disabled=!1}),n.children||[];if(n.children&&n.children.length>0){const t=this.findDictOptions(e,n.children);if(null!=t&&t.length>0)return t}}return[]}securityValue(e,t){if(e.code===Se["g"].DatePicker.code||e.code===Se["g"].TimePicker.code)return t||null;if(e.code===Se["g"].TreeSelect.code){const n=yV(e.controlAttr);return n&&n.length>0&&t&&(t=this.treeSelectRecursion(t,n)),t}return e.code===Se["g"].Upload.code?t||[]:e.code===Se["g"].Switch.code?e.controlAttr&&e.controlAttr.onOpeningValue?!0===t||t===e.controlAttr.onOpeningValue:e.controlAttr&&e.controlAttr.whenClosedValue?!1!==t&&t!==e.controlAttr.whenClosedValue:t:t}treeSelectRecursion(e,t){for(let n=0;n<t.length;n++){if(t[n].key===e)return t[n].value;if(t[n].children&&t[n].children.length>0){const r=this.treeSelectRecursion(e,t[n].children);if(r)return r}}return""}objectMerge(e,t){let n;for(n in t)e[n]&&"[object Object]"===e[n].toString()&&t[n]&&"[object Object]"===t[n].toString()?e[n]=this.objectMerge(e[n],t[n]):e[n]=e[n]=t[n];return e}generateFormGroup(e){const t=new hV;return null!=e&&Object.keys(e).forEach(n=>{if("[object Object]"===Object.prototype.toString.call(e[n])){const r=this.generateFormGroup(e[n]);r.key=n,t.addControl(n,r)}else{const r=new vV(e[n]);r.key=n,t.addControl(n,r)}}),t}initControlForm(e,t){e.forEach(e=>{if(e.type===Se["f"].Base.code||e.type===Se["f"].Senior.code){var n;const r=null===(n=e.controlAttr)||void 0===n?void 0:n.boundProperty;if(r){const n=r.split(".");if(n.length>1&&null!=t){const r=this.findFormControlByProperty(n.slice(1,n.length),t);r.code=e.code,r.controlAttr=e.controlAttr,uV["a"].fillCheckRule(r,e.controlAttr),e["formControl"]=r}}}else e.type===Se["f"].Layout.code&&null!=e.subControls&&e.subControls.length>0&&this.initControlForm(e.subControls,t)})}findFormControlByProperty(e,t){let n=t;for(let r=0;r<e.length;r++){const t=n.get(e[r]);if(!(r<e.length-1&&null!=t&&t instanceof hV))return t;n=t}}onChange(e){this.$emit("change",e)}selectAddItem(e){this.$emit("add-item",e)}onClick(e){this.$emit("click",e)}onAddonBeforeHandler(e){this.$emit("addon-before",e)}onAddonAfterHandler(e){this.$emit("addon-after",e)}onFocus(e){this.$emit("focus",e)}onBlur(e){this.$emit("blur",e)}};d([ve()],CX.prototype,"formId",void 0),d([ve()],CX.prototype,"mode",void 0),d([ve({type:String,default:"default"})],CX.prototype,"styleMode",void 0),d([ve()],CX.prototype,"srcDesForm",void 0),d([ve({default:!1,type:Boolean})],CX.prototype,"edit",void 0),d([ve({default:!1,type:Boolean})],CX.prototype,"colon",void 0),d([ve({default:"130px",type:String})],CX.prototype,"labelSpan",void 0),d([ve({default:void 0})],CX.prototype,"controlSpan",void 0),d([ve({type:Object})],CX.prototype,"formApi",void 0),d([ve({type:Array})],CX.prototype,"history",void 0),d([ve({type:Object,default:()=>({})})],CX.prototype,"customFormats",void 0),d([ve()],CX.prototype,"refreshArguments",void 0),d([ve({default:!1})],CX.prototype,"widthCompatibleMode",void 0),d([ve({type:String})],CX.prototype,"formTheme",void 0),d([ve({type:Array})],CX.prototype,"linkList",void 0),d([he()],CX.prototype,"provideInjectData",void 0),d([ge("refreshArguments",{immediate:!0})],CX.prototype,"onRefreshArgumentsHandler",null),d([ge("formValidateStateResetMark")],CX.prototype,"onPropFormValidateStateResetHandler",null),d([ge("edit"),ge("labelSpan"),ge("controlSpan"),ge("metaRefresh"),ge("refreshCheckFeedbackFlag"),ge("widthCompatibleMode")],CX.prototype,"onPropHandler",null),d([ge("formId")],CX.prototype,"onFormIdChanged",null),d([ge("srcDesForm",{immediate:!0})],CX.prototype,"onSrcDesFormChanged",null),CX=d([de({name:"DyForm",components:{DvFormLayout:mX}})],CX);var wX=CX;n("0437");const SX=_V()(wX,[["render",a],["__scopeId","data-v-1fb7b4f2"]]);var NX=SX,MX=n("4128"),xX=n.n(MX);function jX(e){return"number"===typeof e}function TX(e){return!(!e||"object"!==typeof e||"function"!==typeof e.constructor)&&(!0===e.isBigNumber&&"object"===typeof e.constructor.prototype&&!0===e.constructor.prototype.isBigNumber||"function"===typeof e.constructor.isDecimal&&!0===e.constructor.isDecimal(e))}function DX(e){return e&&"object"===typeof e&&!0===Object.getPrototypeOf(e).isComplex||!1}function EX(e){return e&&"object"===typeof e&&!0===Object.getPrototypeOf(e).isFraction||!1}function kX(e){return e&&!0===e.constructor.prototype.isUnit||!1}function LX(e){return"string"===typeof e}var YX=Array.isArray;function _X(e){return e&&!0===e.constructor.prototype.isMatrix||!1}function AX(e){return Array.isArray(e)||_X(e)}function PX(e){return e&&e.isDenseMatrix&&!0===e.constructor.prototype.isMatrix||!1}function FX(e){return e&&e.isSparseMatrix&&!0===e.constructor.prototype.isMatrix||!1}function IX(e){return e&&!0===e.constructor.prototype.isRange||!1}function BX(e){return e&&!0===e.constructor.prototype.isIndex||!1}function ZX(e){return"boolean"===typeof e}function RX(e){return e&&!0===e.constructor.prototype.isResultSet||!1}function HX(e){return e&&!0===e.constructor.prototype.isHelp||!1}function VX(e){return"function"===typeof e}function XX(e){return e instanceof Date}function JX(e){return e instanceof RegExp}function zX(e){return!(!e||"object"!==typeof e||e.constructor!==Object||DX(e)||EX(e))}function QX(e){return null===e}function WX(e){return void 0===e}function KX(e){return e&&!0===e.isAccessorNode&&!0===e.constructor.prototype.isNode||!1}function UX(e){return e&&!0===e.isArrayNode&&!0===e.constructor.prototype.isNode||!1}function GX(e){return e&&!0===e.isAssignmentNode&&!0===e.constructor.prototype.isNode||!1}function $X(e){return e&&!0===e.isBlockNode&&!0===e.constructor.prototype.isNode||!1}function qX(e){return e&&!0===e.isConditionalNode&&!0===e.constructor.prototype.isNode||!1}function eJ(e){return e&&!0===e.isConstantNode&&!0===e.constructor.prototype.isNode||!1}function tJ(e){return e&&!0===e.isFunctionAssignmentNode&&!0===e.constructor.prototype.isNode||!1}function nJ(e){return e&&!0===e.isFunctionNode&&!0===e.constructor.prototype.isNode||!1}function rJ(e){return e&&!0===e.isIndexNode&&!0===e.constructor.prototype.isNode||!1}function oJ(e){return e&&!0===e.isNode&&!0===e.constructor.prototype.isNode||!1}function iJ(e){return e&&!0===e.isObjectNode&&!0===e.constructor.prototype.isNode||!1}function aJ(e){return e&&!0===e.isOperatorNode&&!0===e.constructor.prototype.isNode||!1}function uJ(e){return e&&!0===e.isParenthesisNode&&!0===e.constructor.prototype.isNode||!1}function cJ(e){return e&&!0===e.isRangeNode&&!0===e.constructor.prototype.isNode||!1}function lJ(e){return e&&!0===e.isSymbolNode&&!0===e.constructor.prototype.isNode||!1}function sJ(e){return e&&!0===e.constructor.prototype.isChain||!1}function dJ(e){var t=typeof e;return"object"===t?null===e?"null":Array.isArray(e)?"Array":e instanceof Date?"Date":e instanceof RegExp?"RegExp":TX(e)?"BigNumber":DX(e)?"Complex":EX(e)?"Fraction":_X(e)?"Matrix":kX(e)?"Unit":BX(e)?"Index":IX(e)?"Range":RX(e)?"ResultSet":oJ(e)?e.type:sJ(e)?"Chain":HX(e)?"Help":"Object":"function"===t?"Function":t}function fJ(e){return"boolean"===typeof e||!!isFinite(e)&&e===Math.round(e)}var pJ=Math.sign||function(e){return e>0?1:e<0?-1:0},vJ=Math.log2||function(e){return Math.log(e)/Math.LN2},hJ=Math.log10||function(e){return Math.log(e)/Math.LN10},mJ=Math.log1p||function(e){return Math.log(e+1)},gJ=Math.cbrt||function(e){if(0===e)return e;var t,n=e<0;return n&&(e=-e),isFinite(e)?(t=Math.exp(Math.log(e)/3),t=(e/(t*t)+2*t)/3):t=e,n?-t:t},bJ=Math.expm1||function(e){return e>=2e-4||e<=-2e-4?Math.exp(e)-1:e+e*e/2+e*e*e/6};function yJ(e,t,n){var r={2:"0b",8:"0o",16:"0x"},o=r[t],i="";if(n){if(n<1)throw new Error("size must be in greater than 0");if(!fJ(n))throw new Error("size must be an integer");if(e>2**(n-1)-1||e<-(2**(n-1)))throw new Error("Value must be in range [-2^".concat(n-1,", 2^").concat(n-1,"-1]"));if(!fJ(e))throw new Error("Value must be an integer");e<0&&(e+=2**n),i="i".concat(n)}var a="";return e<0&&(e=-e,a="-"),"".concat(a).concat(o).concat(e.toString(t)).concat(i)}function OJ(e,t){if("function"===typeof t)return t(e);if(e===1/0)return"Infinity";if(e===-1/0)return"-Infinity";if(isNaN(e))return"NaN";var n,r,o="auto";if(t&&(t.notation&&(o=t.notation),jX(t)?n=t:jX(t.precision)&&(n=t.precision),t.wordSize&&(r=t.wordSize,"number"!==typeof r)))throw new Error('Option "wordSize" must be a number');switch(o){case"fixed":return SJ(e,n);case"exponential":return NJ(e,n);case"engineering":return wJ(e,n);case"bin":return yJ(e,2,r);case"oct":return yJ(e,8,r);case"hex":return yJ(e,16,r);case"auto":return MJ(e,n,t&&t).replace(/((\.\d*?)(0+))($|e)/,(function(){var e=arguments[2],t=arguments[4];return"."!==e?e+t:t}));default:throw new Error('Unknown notation "'+o+'". Choose "auto", "exponential", "fixed", "bin", "oct", or "hex.')}}function CJ(e){var t=String(e).toLowerCase().match(/^(-?)(\d+\.?\d*)(e([+-]?\d+))?$/);if(!t)throw new SyntaxError("Invalid number "+e);var n=t[1],r=t[2],o=parseFloat(t[4]||"0"),i=r.indexOf(".");o+=-1!==i?i-1:r.length-1;var a=r.replace(".","").replace(/^0*/,(function(e){return o-=e.length,""})).replace(/0*$/,"").split("").map((function(e){return parseInt(e)}));return 0===a.length&&(a.push(0),o++),{sign:n,coefficients:a,exponent:o}}function wJ(e,t){if(isNaN(e)||!isFinite(e))return String(e);var n=CJ(e),r=xJ(n,t),o=r.exponent,i=r.coefficients,a=o%3===0?o:o<0?o-3-o%3:o-o%3;if(jX(t))while(t>i.length||o-a+1>i.length)i.push(0);else for(var u=Math.abs(o-a)-(i.length-1),c=0;c<u;c++)i.push(0);var l=Math.abs(o-a),s=1;while(l>0)s++,l--;var d=i.slice(s).join(""),f=jX(t)&&d.length||d.match(/[1-9]/)?"."+d:"",p=i.slice(0,s).join("")+f+"e"+(o>=0?"+":"")+a.toString();return r.sign+p}function SJ(e,t){if(isNaN(e)||!isFinite(e))return String(e);var n=CJ(e),r="number"===typeof t?xJ(n,n.exponent+1+t):n,o=r.coefficients,i=r.exponent+1,a=i+(t||0);return o.length<a&&(o=o.concat(jJ(a-o.length))),i<0&&(o=jJ(1-i).concat(o),i=1),i<o.length&&o.splice(i,0,0===i?"0.":"."),r.sign+o.join("")}function NJ(e,t){if(isNaN(e)||!isFinite(e))return String(e);var n=CJ(e),r=t?xJ(n,t):n,o=r.coefficients,i=r.exponent;o.length<t&&(o=o.concat(jJ(t-o.length)));var a=o.shift();return r.sign+a+(o.length>0?"."+o.join(""):"")+"e"+(i>=0?"+":"")+i}function MJ(e,t,n){if(isNaN(e)||!isFinite(e))return String(e);var r=n&&void 0!==n.lowerExp?n.lowerExp:-3,o=n&&void 0!==n.upperExp?n.upperExp:5,i=CJ(e),a=t?xJ(i,t):i;if(a.exponent<r||a.exponent>=o)return NJ(e,t);var u=a.coefficients,c=a.exponent;u.length<t&&(u=u.concat(jJ(t-u.length))),u=u.concat(jJ(c-u.length+1+(u.length<t?t-u.length:0))),u=jJ(-c).concat(u);var l=c>0?c:0;return l<u.length-1&&u.splice(l+1,0,"."),a.sign+u.join("")}function xJ(e,t){var n={sign:e.sign,coefficients:e.coefficients,exponent:e.exponent},r=n.coefficients;while(t<=0)r.unshift(0),n.exponent++,t++;if(r.length>t){var o=r.splice(t,r.length-t);if(o[0]>=5){var i=t-1;r[i]++;while(10===r[i])r.pop(),0===i&&(r.unshift(0),n.exponent++,i++),i--,r[i]++}}return n}function jJ(e){for(var t=[],n=0;n<e;n++)t.push(0);return t}function TJ(e){return e.toExponential().replace(/e.*$/,"").replace(/^0\.?0*|\./,"").length}var DJ=Number.EPSILON||2220446049250313e-31;function EJ(e,t,n){if(null===n||void 0===n)return e===t;if(e===t)return!0;if(isNaN(e)||isNaN(t))return!1;if(isFinite(e)&&isFinite(t)){var r=Math.abs(e-t);return r<DJ||r<=Math.max(Math.abs(e),Math.abs(t))*n}return!1}Math.acosh,Math.asinh,Math.atanh,Math.cosh,Math.sinh,Math.tanh;function kJ(e,t,n){var r=e.constructor,o=new r(2),i="";if(n){if(n<1)throw new Error("size must be in greater than 0");if(!fJ(n))throw new Error("size must be an integer");if(e.greaterThan(o.pow(n-1).sub(1))||e.lessThan(o.pow(n-1).mul(-1)))throw new Error("Value must be in range [-2^".concat(n-1,", 2^").concat(n-1,"-1]"));if(!e.isInteger())throw new Error("Value must be an integer");e.lessThan(0)&&(e=e.add(o.pow(n))),i="i".concat(n)}switch(t){case 2:return"".concat(e.toBinary()).concat(i);case 8:return"".concat(e.toOctal()).concat(i);case 16:return"".concat(e.toHexadecimal()).concat(i);default:throw new Error("Base ".concat(t," not supported "))}}function LJ(e,t){if("function"===typeof t)return t(e);if(!e.isFinite())return e.isNaN()?"NaN":e.gt(0)?"Infinity":"-Infinity";var n,r,o="auto";if(void 0!==t&&(t.notation&&(o=t.notation),"number"===typeof t?n=t:t.precision&&(n=t.precision),t.wordSize&&(r=t.wordSize,"number"!==typeof r)))throw new Error('Option "wordSize" must be a number');switch(o){case"fixed":return AJ(e,n);case"exponential":return _J(e,n);case"engineering":return YJ(e,n);case"bin":return kJ(e,2,r);case"oct":return kJ(e,8,r);case"hex":return kJ(e,16,r);case"auto":var i,a=t&&void 0!==t.lowerExp?t.lowerExp:-3,u=t&&void 0!==t.upperExp?t.upperExp:5;if(e.isZero())return"0";var c=e.toSignificantDigits(n),l=c.e;return i=l>=a&&l<u?c.toFixed():_J(e,n),i.replace(/((\.\d*?)(0+))($|e)/,(function(){var e=arguments[2],t=arguments[4];return"."!==e?e+t:t}));default:throw new Error('Unknown notation "'+o+'". Choose "auto", "exponential", "fixed", "bin", "oct", or "hex.')}}function YJ(e,t){var n=e.e,r=n%3===0?n:n<0?n-3-n%3:n-n%3,o=e.mul(Math.pow(10,-r)),i=o.toPrecision(t);return-1!==i.indexOf("e")&&(i=o.toString()),i+"e"+(n>=0?"+":"")+r.toString()}function _J(e,t){return void 0!==t?e.toExponential(t-1):e.toExponential()}function AJ(e,t){return e.toFixed(t)}function PJ(e,t){var n=e.length-t.length,r=e.length;return e.substring(n,r)===t}function FJ(e,t){var n=IJ(e,t);return t&&"object"===typeof t&&"truncate"in t&&n.length>t.truncate?n.substring(0,t.truncate-3)+"...":n}function IJ(e,t){if("number"===typeof e)return OJ(e,t);if(TX(e))return LJ(e,t);if(HJ(e))return t&&"decimal"===t.fraction?e.toString():e.s*e.n+"/"+e.d;if(Array.isArray(e))return RJ(e,t);if(LX(e))return'"'+e+'"';if("function"===typeof e)return e.syntax?String(e.syntax):"function";if(e&&"object"===typeof e){if("function"===typeof e.format)return e.format(t);if(e&&e.toString(t)!=={}.toString())return e.toString(t);var n=Object.keys(e).map(n=>'"'+n+'": '+FJ(e[n],t));return"{"+n.join(", ")+"}"}return String(e)}function BJ(e){var t=String(e),n="",r=0;while(r<t.length){var o=t.charAt(r);"\\"===o?(n+=o,r++,o=t.charAt(r),""!==o&&-1!=='"\\/bfnrtu'.indexOf(o)||(n+="\\"),n+=o):n+='"'===o?'\\"':o,r++}return'"'+n+'"'}function ZJ(e){var t=String(e);return t=t.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">"),t}function RJ(e,t){if(Array.isArray(e)){for(var n="[",r=e.length,o=0;o<r;o++)0!==o&&(n+=", "),n+=RJ(e[o],t);return n+="]",n}return FJ(e,t)}function HJ(e){return e&&"object"===typeof e&&"number"===typeof e.s&&"number"===typeof e.n&&"number"===typeof e.d||!1}function VJ(e,t,n){if(!(this instanceof VJ))throw new SyntaxError("Constructor must be called with the new operator");this.actual=e,this.expected=t,this.relation=n,this.message="Dimension mismatch ("+(Array.isArray(e)?"["+e.join(", ")+"]":e)+" "+(this.relation||"!=")+" "+(Array.isArray(t)?"["+t.join(", ")+"]":t)+")",this.stack=(new Error).stack}function XJ(e,t,n){if(!(this instanceof XJ))throw new SyntaxError("Constructor must be called with the new operator");this.index=e,arguments.length<3?(this.min=0,this.max=t):(this.min=t,this.max=n),void 0!==this.min&&this.index<this.min?this.message="Index out of range ("+this.index+" < "+this.min+")":void 0!==this.max&&this.index>=this.max?this.message="Index out of range ("+this.index+" > "+(this.max-1)+")":this.message="Index out of range ("+this.index+")",this.stack=(new Error).stack}function JJ(e){var t=[];while(Array.isArray(e))t.push(e.length),e=e[0];return t}function zJ(e,t,n){var r,o=e.length;if(o!==t[n])throw new VJ(o,t[n]);if(n<t.length-1){var i=n+1;for(r=0;r<o;r++){var a=e[r];if(!Array.isArray(a))throw new VJ(t.length-1,t.length,"<");zJ(e[r],t,i)}}else for(r=0;r<o;r++)if(Array.isArray(e[r]))throw new VJ(t.length+1,t.length,">")}function QJ(e,t){var n=0===t.length;if(n){if(Array.isArray(e))throw new VJ(e.length,0)}else zJ(e,t,0)}function WJ(e,t){if(!jX(e)||!fJ(e))throw new TypeError("Index must be an integer (value: "+e+")");if(e<0||"number"===typeof t&&e>=t)throw new XJ(e,t)}function KJ(e,t,n){if(!Array.isArray(e)||!Array.isArray(t))throw new TypeError("Array expected");if(0===t.length)throw new Error("Resizing to scalar is not supported");t.forEach((function(e){if(!jX(e)||!fJ(e)||e<0)throw new TypeError("Invalid size, must contain positive integers (size: "+FJ(t)+")")}));var r=void 0!==n?n:0;return UJ(e,t,0,r),e}function UJ(e,t,n,r){var o,i,a=e.length,u=t[n],c=Math.min(a,u);if(e.length=u,n<t.length-1){var l=n+1;for(o=0;o<c;o++)i=e[o],Array.isArray(i)||(i=[i],e[o]=i),UJ(i,t,l,r);for(o=c;o<u;o++)i=[],e[o]=i,UJ(i,t,l,r)}else{for(o=0;o<c;o++)while(Array.isArray(e[o]))e[o]=e[o][0];for(o=c;o<u;o++)e[o]=r}}function GJ(e,t){var n=rz(e),r=n.length;if(!Array.isArray(e)||!Array.isArray(t))throw new TypeError("Array expected");if(0===t.length)throw new VJ(0,r,"!=");t=$J(t,r);var o=qJ(t);if(r!==o)throw new VJ(o,r,"!=");try{return ez(n,t)}catch(kq){if(kq instanceof VJ)throw new VJ(o,r,"!=");throw kq}}function $J(e,t){var n=qJ(e),r=e.slice(),o=-1,i=e.indexOf(o),a=e.indexOf(o,i+1)>=0;if(a)throw new Error("More than one wildcard in sizes");var u=i>=0,c=t%n===0;if(u){if(!c)throw new Error("Could not replace wildcard, since "+t+" is no multiple of "+-n);r[i]=-t/n}return r}function qJ(e){return e.reduce((e,t)=>e*t,1)}function ez(e,t){for(var n,r=e,o=t.length-1;o>0;o--){var i=t[o];n=[];for(var a=r.length/i,u=0;u<a;u++)n.push(r.slice(u*i,(u+1)*i));r=n}return r}function tz(e,t,n,r){var o=r||JJ(e);if(n)for(var i=0;i<n;i++)e=[e],o.unshift(1);e=nz(e,t,0);while(o.length<t)o.push(1);return e}function nz(e,t,n){var r,o;if(Array.isArray(e)){var i=n+1;for(r=0,o=e.length;r<o;r++)e[r]=nz(e[r],t,i)}else for(var a=n;a<t;a++)e=[e];return e}function rz(e){if(!Array.isArray(e))return e;var t=[];return e.forEach((function e(n){Array.isArray(n)?n.forEach(e):t.push(n)})),t}function oz(e,t){return Array.prototype.map.call(e,t)}function iz(e,t){Array.prototype.forEach.call(e,t)}function az(e,t){return Array.prototype.join.call(e,t)}function uz(e,t){for(var n,r=0,o=0;o<e.length;o++){var i=e[o],a=Array.isArray(i);if(0===o&&a&&(r=i.length),a&&i.length!==r)return;var u=a?uz(i,t):t(i);if(void 0===n)n=u;else if(n!==u)return"mixed"}return n}function cz(e,t){return-1!==e.indexOf(t)}function lz(e){var t=typeof e;if("number"===t||"string"===t||"boolean"===t||null===e||void 0===e)return e;if("function"===typeof e.clone)return e.clone();if(Array.isArray(e))return e.map((function(e){return lz(e)}));if(e instanceof Date)return new Date(e.valueOf());if(TX(e))return e;if(e instanceof RegExp)throw new TypeError("Cannot clone "+e);return sz(e,lz)}function sz(e,t){var n={};for(var r in e)gz(e,r)&&(n[r]=t(e[r]));return n}function dz(e,t){for(var n in t)gz(t,n)&&(e[n]=t[n]);return e}function fz(e,t){if(Array.isArray(t))throw new TypeError("Arrays are not supported by deepExtend");for(var n in t)if(gz(t,n)&&!(n in Object.prototype)&&!(n in Function.prototype))if(t[n]&&t[n].constructor===Object)void 0===e[n]&&(e[n]={}),e[n]&&e[n].constructor===Object?fz(e[n],t[n]):e[n]=t[n];else{if(Array.isArray(t[n]))throw new TypeError("Arrays are not supported by deepExtend");e[n]=t[n]}return e}function pz(e,t){var n,r,o;if(Array.isArray(e)){if(!Array.isArray(t))return!1;if(e.length!==t.length)return!1;for(r=0,o=e.length;r<o;r++)if(!pz(e[r],t[r]))return!1;return!0}if("function"===typeof e)return e===t;if(e instanceof Object){if(Array.isArray(t)||!(t instanceof Object))return!1;for(n in e)if(!(n in t)||!pz(e[n],t[n]))return!1;for(n in t)if(!(n in e))return!1;return!0}return e===t}function vz(e){var t={};return hz(e,t),t}function hz(e,t){for(var n in e)if(gz(e,n)){var r=e[n];"object"===typeof r&&null!==r?hz(r,t):t[n]=r}}function mz(e,t,n){var r,o=!0;Object.defineProperty(e,t,{get:function(){return o&&(r=n(),o=!1),r},set:function(e){r=e,o=!1},configurable:!0,enumerable:!0})}function gz(e,t){return e&&Object.hasOwnProperty.call(e,t)}function bz(e){return e&&"function"===typeof e.factory}function yz(e,t){for(var n={},r=0;r<t.length;r++){var o=t[r],i=e[o];void 0!==i&&(n[o]=i)}return n}function Oz(e){return Object.keys(e).map(t=>e[t])}function Cz(e,t,n,r){function o(r){var o=yz(r,t.map(Mz));return Sz(e,t,r),n(o)}return o.isFactory=!0,o.fn=e,o.dependencies=t.slice().sort(),r&&(o.meta=r),o}function wz(e){return"function"===typeof e&&"string"===typeof e.fn&&Array.isArray(e.dependencies)}function Sz(e,t,n){var r=t.filter(e=>!Nz(e)).every(e=>void 0!==n[e]);if(!r){var o=t.filter(e=>void 0===n[e]);throw new Error('Cannot create function "'.concat(e,'", ')+"some dependencies are missing: ".concat(o.map(e=>'"'.concat(e,'"')).join(", "),"."))}}function Nz(e){return e&&"?"===e[0]}function Mz(e){return e&&"?"===e[0]?e.slice(1):e}VJ.prototype=new RangeError,VJ.prototype.constructor=RangeError,VJ.prototype.name="DimensionError",VJ.prototype.isDimensionError=!0,XJ.prototype=new RangeError,XJ.prototype.constructor=RangeError,XJ.prototype.name="IndexError",XJ.prototype.isIndexError=!0;var xz="BigNumber",jz=["?on","config"],Tz=Cz(xz,jz,e=>{var{on:t,config:n}=e,r=xX.a.clone({precision:n.precision,modulo:xX.a.EUCLID});return r.prototype=Object.create(r.prototype),r.prototype.type="BigNumber",r.prototype.isBigNumber=!0,r.prototype.toJSON=function(){return{mathjs:"BigNumber",value:this.toString()}},r.fromJSON=function(e){return new r(e.value)},t&&t("config",(function(e,t){e.precision!==t.precision&&r.config({precision:e.precision})})),r},{isClass:!0}),Dz={createBigNumberClass:Tz},Ez=n("edaf"),kz=n.n(Ez),Lz="Complex",Yz=[],_z=Cz(Lz,Yz,()=>(kz.a.prototype.type="Complex",kz.a.prototype.isComplex=!0,kz.a.prototype.toJSON=function(){return{mathjs:"Complex",re:this.re,im:this.im}},kz.a.prototype.toPolar=function(){return{r:this.abs(),phi:this.arg()}},kz.a.prototype.format=function(e){var t="",n=this.im,r=this.re,o=OJ(this.re,e),i=OJ(this.im,e),a=jX(e)?e:e?e.precision:null;if(null!==a){var u=Math.pow(10,-a);Math.abs(r/n)<u&&(r=0),Math.abs(n/r)<u&&(n=0)}return t=0===n?o:0===r?1===n?"i":-1===n?"-i":i+"i":n<0?-1===n?o+" - i":o+" - "+i.substring(1)+"i":1===n?o+" + i":o+" + "+i+"i",t},kz.a.fromPolar=function(e){switch(arguments.length){case 1:var t=arguments[0];if("object"===typeof t)return kz()(t);throw new TypeError("Input has to be an object with r and phi keys.");case 2:var n=arguments[0],r=arguments[1];if(jX(n)){if(kX(r)&&r.hasBase("ANGLE")&&(r=r.toNumber("rad")),jX(r))return new kz.a({r:n,phi:r});throw new TypeError("Phi is not a number nor an angle unit.")}throw new TypeError("Radius r is not a number.");default:throw new SyntaxError("Wrong number of arguments in function fromPolar")}},kz.a.prototype.valueOf=kz.a.prototype.toString,kz.a.fromJSON=function(e){return new kz.a(e)},kz.a.compare=function(e,t){return e.re>t.re?1:e.re<t.re?-1:e.im>t.im?1:e.im<t.im?-1:0},kz.a),{isClass:!0}),Az={createComplexClass:_z},Pz="Matrix",Fz=[],Iz=Cz(Pz,Fz,()=>{function e(){if(!(this instanceof e))throw new SyntaxError("Constructor must be called with the new operator")}return e.prototype.type="Matrix",e.prototype.isMatrix=!0,e.prototype.storage=function(){throw new Error("Cannot invoke storage on a Matrix interface")},e.prototype.datatype=function(){throw new Error("Cannot invoke datatype on a Matrix interface")},e.prototype.create=function(e,t){throw new Error("Cannot invoke create on a Matrix interface")},e.prototype.subset=function(e,t,n){throw new Error("Cannot invoke subset on a Matrix interface")},e.prototype.get=function(e){throw new Error("Cannot invoke get on a Matrix interface")},e.prototype.set=function(e,t,n){throw new Error("Cannot invoke set on a Matrix interface")},e.prototype.resize=function(e,t){throw new Error("Cannot invoke resize on a Matrix interface")},e.prototype.reshape=function(e,t){throw new Error("Cannot invoke reshape on a Matrix interface")},e.prototype.clone=function(){throw new Error("Cannot invoke clone on a Matrix interface")},e.prototype.size=function(){throw new Error("Cannot invoke size on a Matrix interface")},e.prototype.map=function(e,t){throw new Error("Cannot invoke map on a Matrix interface")},e.prototype.forEach=function(e){throw new Error("Cannot invoke forEach on a Matrix interface")},e.prototype[Symbol.iterator]=function(){throw new Error("Cannot iterate a Matrix interface")},e.prototype.toArray=function(){throw new Error("Cannot invoke toArray on a Matrix interface")},e.prototype.valueOf=function(){throw new Error("Cannot invoke valueOf on a Matrix interface")},e.prototype.format=function(e){throw new Error("Cannot invoke format on a Matrix interface")},e.prototype.toString=function(){throw new Error("Cannot invoke toString on a Matrix interface")},e},{isClass:!0}),Bz={createMatrixClass:Iz},Zz="DenseMatrix",Rz=["Matrix"],Hz=Cz(Zz,Rz,e=>{var{Matrix:t}=e;function n(e,t){if(!(this instanceof n))throw new SyntaxError("Constructor must be called with the new operator");if(t&&!LX(t))throw new Error("Invalid datatype: "+t);if(_X(e))"DenseMatrix"===e.type?(this._data=lz(e._data),this._size=lz(e._size),this._datatype=t||e._datatype):(this._data=e.toArray(),this._size=e.size(),this._datatype=t||e._datatype);else if(e&&YX(e.data)&&YX(e.size))this._data=e.data,this._size=e.size,QJ(this._data,this._size),this._datatype=t||e.datatype;else if(YX(e))this._data=l(e),this._size=JJ(this._data),QJ(this._data,this._size),this._datatype=t;else{if(e)throw new TypeError("Unsupported type of data ("+dJ(e)+")");this._data=[],this._size=[0],this._datatype=t}}function r(e,t){if(!BX(t))throw new TypeError("Invalid index");var r=t.isScalar();if(r)return e.get(t.min());var i=t.size();if(i.length!==e._size.length)throw new VJ(i.length,e._size.length);for(var a=t.min(),u=t.max(),c=0,l=e._size.length;c<l;c++)WJ(a[c],e._size[c]),WJ(u[c],e._size[c]);return new n(o(e._data,t,i.length,0),e._datatype)}function o(e,t,n,r){var i=r===n-1,a=t.dimension(r);return i?a.map((function(t){return WJ(t,e.length),e[t]})).valueOf():a.map((function(i){WJ(i,e.length);var a=e[i];return o(a,t,n,r+1)})).valueOf()}function i(e,t,n,r){if(!t||!0!==t.isIndex)throw new TypeError("Invalid index");var o,i=t.size(),u=t.isScalar();if(_X(n)?(o=n.size(),n=n.valueOf()):o=JJ(n),u){if(0!==o.length)throw new TypeError("Scalar expected");e.set(t.min(),n,r)}else{if(i.length<e._size.length)throw new VJ(i.length,e._size.length,"<");if(o.length<i.length){var l=0,s=0;while(1===i[l]&&1===o[l])l++;while(1===i[l])s++,l++;n=tz(n,i.length,s,o)}if(!pz(i,o))throw new VJ(i,o,">");var d=t.max().map((function(e){return e+1}));c(e,d,r);var f=i.length,p=0;a(e._data,t,n,f,p)}return e}function a(e,t,n,r,o){var i=o===r-1,u=t.dimension(o);i?u.forEach((function(t,r){WJ(t),e[t]=n[r[0]]})):u.forEach((function(i,u){WJ(i),a(e[i],t,n[u[0]],r,o+1)}))}function u(e,t,n){if(0===t.length){var r=e._data;while(YX(r))r=r[0];return r}return e._size=t.slice(0),e._data=KJ(e._data,e._size,n),e}function c(e,t,n){var r=e._size.slice(0),o=!1;while(r.length<t.length)r.push(0),o=!0;for(var i=0,a=t.length;i<a;i++)t[i]>r[i]&&(r[i]=t[i],o=!0);o&&u(e,r,n)}function l(e){for(var t=0,n=e.length;t<n;t++){var r=e[t];YX(r)?e[t]=l(r):r&&!0===r.isMatrix&&(e[t]=l(r.valueOf()))}return e}return n.prototype=new t,n.prototype.createDenseMatrix=function(e,t){return new n(e,t)},n.prototype.type="DenseMatrix",n.prototype.isDenseMatrix=!0,n.prototype.getDataType=function(){return uz(this._data,dJ)},n.prototype.storage=function(){return"dense"},n.prototype.datatype=function(){return this._datatype},n.prototype.create=function(e,t){return new n(e,t)},n.prototype.subset=function(e,t,n){switch(arguments.length){case 1:return r(this,e);case 2:case 3:return i(this,e,t,n);default:throw new SyntaxError("Wrong number of arguments")}},n.prototype.get=function(e){if(!YX(e))throw new TypeError("Array expected");if(e.length!==this._size.length)throw new VJ(e.length,this._size.length);for(var t=0;t<e.length;t++)WJ(e[t],this._size[t]);for(var n=this._data,r=0,o=e.length;r<o;r++){var i=e[r];WJ(i,n.length),n=n[i]}return n},n.prototype.set=function(e,t,n){if(!YX(e))throw new TypeError("Array expected");if(e.length<this._size.length)throw new VJ(e.length,this._size.length,"<");var r,o,i,a=e.map((function(e){return e+1}));c(this,a,n);var u=this._data;for(r=0,o=e.length-1;r<o;r++)i=e[r],WJ(i,u.length),u=u[i];return i=e[e.length-1],WJ(i,u.length),u[i]=t,this},n.prototype.resize=function(e,t,n){if(!AX(e))throw new TypeError("Array or Matrix expected");var r=e.valueOf().map(e=>Array.isArray(e)&&1===e.length?e[0]:e),o=n?this.clone():this;return u(o,r,t)},n.prototype.reshape=function(e,t){var n=t?this.clone():this;n._data=GJ(n._data,e);var r=n._size.reduce((e,t)=>e*t);return n._size=$J(e,r),n},n.prototype.clone=function(){var e=new n({data:lz(this._data),size:lz(this._size),datatype:this._datatype});return e},n.prototype.size=function(){return this._size.slice(0)},n.prototype.map=function(e){var t=this,r=function n(r,o){return YX(r)?r.map((function(e,t){return n(e,o.concat(t))})):e(r,o,t)},o=r(this._data,[]),i=void 0!==this._datatype?uz(o,dJ):void 0;return new n(o,i)},n.prototype.forEach=function(e){var t=this,n=function n(r,o){YX(r)?r.forEach((function(e,t){n(e,o.concat(t))})):e(r,o,t)};n(this._data,[])},n.prototype[Symbol.iterator]=function*(){var e=function*e(t,n){if(YX(t))for(var r=0;r<t.length;r++)yield*e(t[r],n.concat(r));else yield{value:t,index:n}};yield*e(this._data,[])},n.prototype.rows=function(){var e=[],t=this.size();if(2!==t.length)throw new TypeError("Rows can only be returned for a 2D matrix.");var r=this._data;for(var o of r)e.push(new n([o],this._datatype));return e},n.prototype.columns=function(){var e=this,t=[],r=this.size();if(2!==r.length)throw new TypeError("Rows can only be returned for a 2D matrix.");for(var o=this._data,i=function(r){var i=o.map(e=>[e[r]]);t.push(new n(i,e._datatype))},a=0;a<r[1];a++)i(a);return t},n.prototype.toArray=function(){return lz(this._data)},n.prototype.valueOf=function(){return this._data},n.prototype.format=function(e){return FJ(this._data,e)},n.prototype.toString=function(){return FJ(this._data)},n.prototype.toJSON=function(){return{mathjs:"DenseMatrix",data:this._data,size:this._size,datatype:this._datatype}},n.prototype.diagonal=function(e){if(e){if(TX(e)&&(e=e.toNumber()),!jX(e)||!fJ(e))throw new TypeError("The parameter k must be an integer number")}else e=0;for(var t=e>0?e:0,r=e<0?-e:0,o=this._size[0],i=this._size[1],a=Math.min(o-r,i-t),u=[],c=0;c<a;c++)u[c]=this._data[c+r][c+t];return new n({data:u,size:[a],datatype:this._datatype})},n.diagonal=function(e,t,r,o){if(!YX(e))throw new TypeError("Array expected, size parameter");if(2!==e.length)throw new Error("Only two dimensions matrix are supported");if(e=e.map((function(e){if(TX(e)&&(e=e.toNumber()),!jX(e)||!fJ(e)||e<1)throw new Error("Size values must be positive integers");return e})),r){if(TX(r)&&(r=r.toNumber()),!jX(r)||!fJ(r))throw new TypeError("The parameter k must be an integer number")}else r=0;var i,a=r>0?r:0,u=r<0?-r:0,c=e[0],l=e[1],s=Math.min(c-u,l-a);if(YX(t)){if(t.length!==s)throw new Error("Invalid value array length");i=function(e){return t[e]}}else if(_X(t)){var d=t.size();if(1!==d.length||d[0]!==s)throw new Error("Invalid matrix length");i=function(e){return t.get([e])}}else i=function(){return t};o||(o=TX(i(0))?i(0).mul(0):0);var f=[];if(e.length>0){f=KJ(f,e,o);for(var p=0;p<s;p++)f[p+u][p+a]=i(p)}return new n({data:f,size:[c,l]})},n.fromJSON=function(e){return new n(e)},n.prototype.swapRows=function(e,t){if(!jX(e)||!fJ(e)||!jX(t)||!fJ(t))throw new Error("Row index must be positive integers");if(2!==this._size.length)throw new Error("Only two dimensional matrix is supported");return WJ(e,this._size[0]),WJ(t,this._size[0]),n._swapRows(e,t,this._data),this},n._swapRows=function(e,t,n){var r=n[e];n[e]=n[t],n[t]=r},n},{isClass:!0}),Vz={MatrixDependencies:Bz,createDenseMatrixClass:Hz},Xz=n("4af7"),Jz=n.n(Xz),zz="Fraction",Qz=[],Wz=Cz(zz,Qz,()=>(Jz.a.prototype.type="Fraction",Jz.a.prototype.isFraction=!0,Jz.a.prototype.toJSON=function(){return{mathjs:"Fraction",n:this.s*this.n,d:this.d}},Jz.a.fromJSON=function(e){return new Jz.a(e)},Jz.a),{isClass:!0}),Kz={createFractionClass:Wz},Uz=n("7634"),Gz=n.n(Uz);function $z(e,t){if(oQ(e)&&tQ(e,t))return e[t];if("function"===typeof e[t]&&rQ(e,t))throw new Error('Cannot access method "'+t+'" as a property');throw new Error('No access to property "'+t+'"')}function qz(e,t,n){if(oQ(e)&&tQ(e,t))return e[t]=n,n;throw new Error('No access to property "'+t+'"')}function eQ(e,t){return t in e}function tQ(e,t){return!(!e||"object"!==typeof e)&&(!!gz(iQ,t)||!(t in Object.prototype)&&!(t in Function.prototype))}function nQ(e,t){if(!rQ(e,t))throw new Error('No access to method "'+t+'"')}function rQ(e,t){return null!==e&&void 0!==e&&"function"===typeof e[t]&&(!(gz(e,t)&&Object.getPrototypeOf&&t in Object.getPrototypeOf(e))&&(!!gz(aQ,t)||!(t in Object.prototype)&&!(t in Function.prototype)))}function oQ(e){return"object"===typeof e&&e&&e.constructor===Object}var iQ={length:!0,name:!0},aQ={toString:!0,valueOf:!0,toLocaleString:!0};class uQ{constructor(e){this.wrappedObject=e}keys(){return Object.keys(this.wrappedObject)}get(e){return $z(this.wrappedObject,e)}set(e,t){return qz(this.wrappedObject,e,t),this}has(e){return eQ(this.wrappedObject,e)}}function cQ(){return new Map}function lQ(e){if(!e)return cQ();if(sQ(e))return e;if(zX(e))return new uQ(e);throw new Error("createMap can create maps from objects or Maps")}function sQ(e){return!!e&&(e instanceof Map||e instanceof uQ||"function"===typeof e.set&&"function"===typeof e.get&&"function"===typeof e.keys&&"function"===typeof e.has)}function dQ(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var o of n)if(o)if(sQ(o))for(var i of o.keys())e.set(i,o.get(i));else if(zX(o))for(var a of Object.keys(o))e.set(a,o[a]);return e}var fQ=function(){return fQ=Gz.a.create,Gz.a},pQ=["?BigNumber","?Complex","?DenseMatrix","?Fraction"],vQ=Cz("typed",pQ,(function(e){var{BigNumber:t,Complex:n,DenseMatrix:r,Fraction:o}=e,i=fQ();return i.types=[{name:"number",test:jX},{name:"Complex",test:DX},{name:"BigNumber",test:TX},{name:"Fraction",test:EX},{name:"Unit",test:kX},{name:"string",test:LX},{name:"Chain",test:sJ},{name:"Array",test:YX},{name:"Matrix",test:_X},{name:"DenseMatrix",test:PX},{name:"SparseMatrix",test:FX},{name:"Range",test:IX},{name:"Index",test:BX},{name:"boolean",test:ZX},{name:"ResultSet",test:RX},{name:"Help",test:HX},{name:"function",test:VX},{name:"Date",test:XX},{name:"RegExp",test:JX},{name:"null",test:QX},{name:"undefined",test:WX},{name:"AccessorNode",test:KX},{name:"ArrayNode",test:UX},{name:"AssignmentNode",test:GX},{name:"BlockNode",test:$X},{name:"ConditionalNode",test:qX},{name:"ConstantNode",test:eJ},{name:"FunctionNode",test:nJ},{name:"FunctionAssignmentNode",test:tJ},{name:"IndexNode",test:rJ},{name:"Node",test:oJ},{name:"ObjectNode",test:iJ},{name:"OperatorNode",test:aJ},{name:"ParenthesisNode",test:uJ},{name:"RangeNode",test:cJ},{name:"SymbolNode",test:lJ},{name:"Map",test:sQ},{name:"Object",test:zX}],i.conversions=[{from:"number",to:"BigNumber",convert:function(e){if(t||hQ(e),TJ(e)>15)throw new TypeError("Cannot implicitly convert a number with >15 significant digits to BigNumber (value: "+e+"). Use function bignumber(x) to convert to BigNumber.");return new t(e)}},{from:"number",to:"Complex",convert:function(e){return n||mQ(e),new n(e,0)}},{from:"number",to:"string",convert:function(e){return e+""}},{from:"BigNumber",to:"Complex",convert:function(e){return n||mQ(e),new n(e.toNumber(),0)}},{from:"Fraction",to:"BigNumber",convert:function(e){throw new TypeError("Cannot implicitly convert a Fraction to BigNumber or vice versa. Use function bignumber(x) to convert to BigNumber or fraction(x) to convert to Fraction.")}},{from:"Fraction",to:"Complex",convert:function(e){return n||mQ(e),new n(e.valueOf(),0)}},{from:"number",to:"Fraction",convert:function(e){o||bQ(e);var t=new o(e);if(t.valueOf()!==e)throw new TypeError("Cannot implicitly convert a number to a Fraction when there will be a loss of precision (value: "+e+"). Use function fraction(x) to convert to Fraction.");return t}},{from:"string",to:"number",convert:function(e){var t=Number(e);if(isNaN(t))throw new Error('Cannot convert "'+e+'" to a number');return t}},{from:"string",to:"BigNumber",convert:function(e){t||hQ(e);try{return new t(e)}catch(n){throw new Error('Cannot convert "'+e+'" to BigNumber')}}},{from:"string",to:"Fraction",convert:function(e){o||bQ(e);try{return new o(e)}catch(t){throw new Error('Cannot convert "'+e+'" to Fraction')}}},{from:"string",to:"Complex",convert:function(e){n||mQ(e);try{return new n(e)}catch(t){throw new Error('Cannot convert "'+e+'" to Complex')}}},{from:"boolean",to:"number",convert:function(e){return+e}},{from:"boolean",to:"BigNumber",convert:function(e){return t||hQ(e),new t(+e)}},{from:"boolean",to:"Fraction",convert:function(e){return o||bQ(e),new o(+e)}},{from:"boolean",to:"string",convert:function(e){return String(e)}},{from:"Array",to:"Matrix",convert:function(e){return r||gQ(),new r(e)}},{from:"Matrix",to:"Array",convert:function(e){return e.valueOf()}}],i}));function hQ(e){throw new Error("Cannot convert value ".concat(e," into a BigNumber: no class 'BigNumber' provided"))}function mQ(e){throw new Error("Cannot convert value ".concat(e," into a Complex number: no class 'Complex' provided"))}function gQ(){throw new Error("Cannot convert array into a Matrix: no class 'DenseMatrix' provided")}function bQ(e){throw new Error("Cannot convert value ".concat(e," into a Fraction, no class 'Fraction' provided."))}var yQ={BigNumberDependencies:Dz,ComplexDependencies:Az,DenseMatrixDependencies:Vz,FractionDependencies:Kz,createTyped:vQ},OQ="format",CQ=["typed"],wQ=Cz(OQ,CQ,e=>{var{typed:t}=e;return t(OQ,{any:FJ,"any, Object | function | number":FJ})}),SQ={typedDependencies:yQ,createFormat:wQ},NQ="number",MQ="number, number";function xQ(e){return Math.abs(e)}function jQ(e,t){return e+t}function TQ(e,t){return e-t}function DQ(e,t){return e*t}function EQ(e,t){return e/t}function kQ(e){return-e}function LQ(e){return e}function YQ(e){return gJ(e)}function _Q(e){return e*e*e}function AQ(e){return Math.exp(e)}function PQ(e){return bJ(e)}function FQ(e,t){if(!fJ(e)||!fJ(t))throw new Error("Parameters in function gcd must be integer numbers");var n;while(0!==t)n=e%t,e=t,t=n;return e<0?-e:e}function IQ(e,t){if(!fJ(e)||!fJ(t))throw new Error("Parameters in function lcm must be integer numbers");if(0===e||0===t)return 0;var n,r=e*t;while(0!==t)n=t,t=e%n,e=n;return Math.abs(r/e)}function BQ(e){return hJ(e)}function ZQ(e){return vJ(e)}function RQ(e){return mJ(e)}function HQ(e,t){if(t>0)return e-t*Math.floor(e/t);if(0===t)return e;throw new Error("Cannot calculate mod for a negative divisor")}function VQ(e){return pJ(e)}function XQ(e){return Math.sqrt(e)}function JQ(e){return e*e}function zQ(e,t){var n,r,o,i,a=0,u=1,c=1,l=0;if(!fJ(e)||!fJ(t))throw new Error("Parameters in function xgcd must be integer numbers");while(t)r=Math.floor(e/t),o=e-r*t,n=a,a=u-r*a,u=n,n=c,c=l-r*c,l=n,e=t,t=o;return i=e<0?[-e,-u,-l]:[e,e?u:0,l],i}function QQ(e,t){return e*e<1&&t===1/0||e*e>1&&t===-1/0?0:Math.pow(e,t)}function WQ(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!fJ(t)||t<0||t>15)throw new Error("Number of decimals in function round must be an integer from 0 to 15 inclusive");return parseFloat(SJ(e,t))}function KQ(e){return Math.abs(e)}xQ.signature=NQ,jQ.signature=MQ,TQ.signature=MQ,DQ.signature=MQ,EQ.signature=MQ,kQ.signature=NQ,LQ.signature=NQ,YQ.signature=NQ,_Q.signature=NQ,AQ.signature=NQ,PQ.signature=NQ,FQ.signature=MQ,IQ.signature=MQ,BQ.signature=NQ,ZQ.signature=NQ,RQ.signature=NQ,HQ.signature=MQ,VQ.signature=NQ,XQ.signature=NQ,JQ.signature=NQ,zQ.signature=MQ,QQ.signature=MQ,KQ.signature=NQ;var UQ="addScalar",GQ=["typed"],$Q=Cz(UQ,GQ,e=>{var{typed:t}=e;return t(UQ,{"number, number":jQ,"Complex, Complex":function(e,t){return e.add(t)},"BigNumber, BigNumber":function(e,t){return e.plus(t)},"Fraction, Fraction":function(e,t){return e.add(t)},"Unit, Unit":function(e,t){if(null===e.value||void 0===e.value)throw new Error("Parameter x contains a unit with undefined value");if(null===t.value||void 0===t.value)throw new Error("Parameter y contains a unit with undefined value");if(!e.equalBase(t))throw new Error("Units do not match");var n=e.clone();return n.value=this(n.value,t.value),n.fixPrefix=!1,n}})}),qQ={typedDependencies:yQ,createAddScalar:$Q};function eW(e,t,n){if(null===n||void 0===n)return e.eq(t);if(e.eq(t))return!0;if(e.isNaN()||t.isNaN())return!1;if(e.isFinite()&&t.isFinite()){var r=e.minus(t).abs();if(r.isZero())return!0;var o=e.constructor.max(e.abs(),t.abs());return r.lte(o.times(n))}return!1}function tW(e,t,n){return EJ(e.re,t.re,n)&&EJ(e.im,t.im,n)}var nW="equalScalar",rW=["typed","config"],oW=Cz(nW,rW,e=>{var{typed:t,config:n}=e;return t(nW,{"boolean, boolean":function(e,t){return e===t},"number, number":function(e,t){return EJ(e,t,n.epsilon)},"BigNumber, BigNumber":function(e,t){return e.eq(t)||eW(e,t,n.epsilon)},"Fraction, Fraction":function(e,t){return e.equals(t)},"Complex, Complex":function(e,t){return tW(e,t,n.epsilon)},"Unit, Unit":function(e,t){if(!e.equalBase(t))throw new Error("Cannot compare units with different base");return this(e.value,t.value)}})}),iW=(Cz(nW,["typed","config"],e=>{var{typed:t,config:n}=e;return t(nW,{"number, number":function(e,t){return EJ(e,t,n.epsilon)}})}),{typedDependencies:yQ,createEqualScalar:oW}),aW="SparseMatrix",uW=["typed","equalScalar","Matrix"],cW=Cz(aW,uW,e=>{var{typed:t,equalScalar:n,Matrix:r}=e;function o(e,t){if(!(this instanceof o))throw new SyntaxError("Constructor must be called with the new operator");if(t&&!LX(t))throw new Error("Invalid datatype: "+t);if(_X(e))i(this,e,t);else if(e&&YX(e.index)&&YX(e.ptr)&&YX(e.size))this._values=e.values,this._index=e.index,this._ptr=e.ptr,this._size=e.size,this._datatype=t||e.datatype;else if(YX(e))a(this,e,t);else{if(e)throw new TypeError("Unsupported type of data ("+dJ(e)+")");this._values=[],this._index=[],this._ptr=[0],this._size=[0,0],this._datatype=t}}function i(e,t,n){"SparseMatrix"===t.type?(e._values=t._values?lz(t._values):void 0,e._index=lz(t._index),e._ptr=lz(t._ptr),e._size=lz(t._size),e._datatype=n||t._datatype):a(e,t.valueOf(),n||t._datatype)}function a(e,r,o){e._values=[],e._index=[],e._ptr=[],e._datatype=o;var i=r.length,a=0,u=n,c=0;if(LX(o)&&(u=t.find(n,[o,o])||n,c=t.convert(0,o)),i>0){var l=0;do{e._ptr.push(e._index.length);for(var s=0;s<i;s++){var d=r[s];if(YX(d)){if(0===l&&a<d.length&&(a=d.length),l<d.length){var f=d[l];u(f,c)||(e._values.push(f),e._index.push(s))}}else 0===l&&a<1&&(a=1),u(d,c)||(e._values.push(d),e._index.push(s))}l++}while(l<a)}e._ptr.push(e._index.length),e._size=[i,a]}function u(e,t){if(!BX(t))throw new TypeError("Invalid index");var n=t.isScalar();if(n)return e.get(t.min());var r,i,a,u,c=t.size();if(c.length!==e._size.length)throw new VJ(c.length,e._size.length);var l=t.min(),s=t.max();for(r=0,i=e._size.length;r<i;r++)WJ(l[r],e._size[r]),WJ(s[r],e._size[r]);var d=e._values,f=e._index,p=e._ptr,v=t.dimension(0),h=t.dimension(1),m=[],g=[];v.forEach((function(e,t){g[e]=t[0],m[e]=!0}));var b=d?[]:void 0,y=[],O=[];return h.forEach((function(e){for(O.push(y.length),a=p[e],u=p[e+1];a<u;a++)r=f[a],!0===m[r]&&(y.push(g[r]),b&&b.push(d[a]))})),O.push(y.length),new o({values:b,index:y,ptr:O,size:c,datatype:e._datatype})}function c(e,t,n,r){if(!t||!0!==t.isIndex)throw new TypeError("Invalid index");var o,i=t.size(),a=t.isScalar();if(_X(n)?(o=n.size(),n=n.toArray()):o=JJ(n),a){if(0!==o.length)throw new TypeError("Scalar expected");e.set(t.min(),n,r)}else{if(1!==i.length&&2!==i.length)throw new VJ(i.length,e._size.length,"<");if(o.length<i.length){var u=0,c=0;while(1===i[u]&&1===o[u])u++;while(1===i[u])c++,u++;n=tz(n,i.length,c,o)}if(!pz(i,o))throw new VJ(i,o,">");if(1===i.length){var l=t.dimension(0);l.forEach((function(t,o){WJ(t),e.set([t,0],n[o[0]],r)}))}else{var s=t.dimension(0),d=t.dimension(1);s.forEach((function(t,o){WJ(t),d.forEach((function(i,a){WJ(i),e.set([t,i],n[o[0]][a[0]],r)}))}))}}return e}function l(e,t,n,r){if(n-t===0)return n;for(var o=t;o<n;o++)if(r[o]===e)return o;return t}function s(e,t,n,r,o){n.splice(e,1),r.splice(e,1);for(var i=t+1;i<o.length;i++)o[i]--}function d(e,t,n,r,o,i,a){o.splice(e,0,r),i.splice(e,0,t);for(var u=n+1;u<a.length;u++)a[u]++}function f(e,r,o,i){var a=i||0,u=n,c=0;LX(e._datatype)&&(u=t.find(n,[e._datatype,e._datatype])||n,c=t.convert(0,e._datatype),a=t.convert(a,e._datatype));var l,s,d,f=!u(a,c),p=e._size[0],v=e._size[1];if(o>v){for(s=v;s<o;s++)if(e._ptr[s]=e._values.length,f)for(l=0;l<p;l++)e._values.push(a),e._index.push(l);e._ptr[o]=e._values.length}else o<v&&(e._ptr.splice(o+1,v-o),e._values.splice(e._ptr[o],e._values.length),e._index.splice(e._ptr[o],e._index.length));if(v=o,r>p){if(f){var h=0;for(s=0;s<v;s++){e._ptr[s]=e._ptr[s]+h,d=e._ptr[s+1]+h;var m=0;for(l=p;l<r;l++,m++)e._values.splice(d+m,0,a),e._index.splice(d+m,0,l),h++}e._ptr[v]=e._values.length}}else if(r<p){var g=0;for(s=0;s<v;s++){e._ptr[s]=e._ptr[s]-g;var b=e._ptr[s],y=e._ptr[s+1]-g;for(d=b;d<y;d++)l=e._index[d],l>r-1&&(e._values.splice(d,1),e._index.splice(d,1),g++)}e._ptr[s]=e._values.length}return e._size[0]=r,e._size[1]=o,e}function p(e,r,i,a,u,c,l){var s=[],d=[],f=[],p=n,v=0;LX(e._datatype)&&(p=t.find(n,[e._datatype,e._datatype])||n,v=t.convert(0,e._datatype));for(var h=function(e,t,n){e=c(e,t,n),p(e,v)||(s.push(e),d.push(t))},m=a;m<=u;m++){f.push(s.length);var g=e._ptr[m],b=e._ptr[m+1];if(l)for(var y=g;y<b;y++){var O=e._index[y];O>=r&&O<=i&&h(e._values[y],O-r,m-a)}else{for(var C={},w=g;w<b;w++){var S=e._index[w];C[S]=e._values[w]}for(var N=r;N<=i;N++){var M=N in C?C[N]:0;h(M,N-r,m-a)}}}return f.push(s.length),new o({values:s,index:d,ptr:f,size:[i-r+1,u-a+1]})}function v(e,t,n,r,o){var i,a,u=r[0],c=r[1],l=[];for(i=0;i<u;i++)for(l[i]=[],a=0;a<c;a++)l[i][a]=0;for(a=0;a<c;a++)for(var s=n[a],d=n[a+1],f=s;f<d;f++)i=t[f],l[i][a]=e?o?lz(e[f]):e[f]:1;return l}return o.prototype=new r,o.prototype.createSparseMatrix=function(e,t){return new o(e,t)},o.prototype.type="SparseMatrix",o.prototype.isSparseMatrix=!0,o.prototype.getDataType=function(){return uz(this._values,dJ)},o.prototype.storage=function(){return"sparse"},o.prototype.datatype=function(){return this._datatype},o.prototype.create=function(e,t){return new o(e,t)},o.prototype.density=function(){var e=this._size[0],t=this._size[1];return 0!==e&&0!==t?this._index.length/(e*t):0},o.prototype.subset=function(e,t,n){if(!this._values)throw new Error("Cannot invoke subset on a Pattern only matrix");switch(arguments.length){case 1:return u(this,e);case 2:case 3:return c(this,e,t,n);default:throw new SyntaxError("Wrong number of arguments")}},o.prototype.get=function(e){if(!YX(e))throw new TypeError("Array expected");if(e.length!==this._size.length)throw new VJ(e.length,this._size.length);if(!this._values)throw new Error("Cannot invoke get on a Pattern only matrix");var t=e[0],n=e[1];WJ(t,this._size[0]),WJ(n,this._size[1]);var r=l(t,this._ptr[n],this._ptr[n+1],this._index);return r<this._ptr[n+1]&&this._index[r]===t?this._values[r]:0},o.prototype.set=function(e,r,o){if(!YX(e))throw new TypeError("Array expected");if(e.length!==this._size.length)throw new VJ(e.length,this._size.length);if(!this._values)throw new Error("Cannot invoke set on a Pattern only matrix");var i=e[0],a=e[1],u=this._size[0],c=this._size[1],p=n,v=0;LX(this._datatype)&&(p=t.find(n,[this._datatype,this._datatype])||n,v=t.convert(0,this._datatype)),(i>u-1||a>c-1)&&(f(this,Math.max(i+1,u),Math.max(a+1,c),o),u=this._size[0],c=this._size[1]),WJ(i,u),WJ(a,c);var h=l(i,this._ptr[a],this._ptr[a+1],this._index);return h<this._ptr[a+1]&&this._index[h]===i?p(r,v)?s(h,a,this._values,this._index,this._ptr):this._values[h]=r:d(h,i,a,r,this._values,this._index,this._ptr),this},o.prototype.resize=function(e,t,n){if(!AX(e))throw new TypeError("Array or Matrix expected");var r=e.valueOf().map(e=>Array.isArray(e)&&1===e.length?e[0]:e);if(2!==r.length)throw new Error("Only two dimensions matrix are supported");r.forEach((function(e){if(!jX(e)||!fJ(e)||e<0)throw new TypeError("Invalid size, must contain positive integers (size: "+FJ(r)+")")}));var o=n?this.clone():this;return f(o,r[0],r[1],t)},o.prototype.reshape=function(e,t){if(!YX(e))throw new TypeError("Array expected");if(2!==e.length)throw new Error("Sparse matrices can only be reshaped in two dimensions");e.forEach((function(t){if(!jX(t)||!fJ(t)||t<=-2||0===t)throw new TypeError("Invalid size, must contain positive integers or -1 (size: "+FJ(e)+")")}));var n=this._size[0]*this._size[1];e=$J(e,n);var r=e[0]*e[1];if(n!==r)throw new Error("Reshaping sparse matrix will result in the wrong number of elements");var o=t?this.clone():this;if(this._size[0]===e[0]&&this._size[1]===e[1])return o;for(var i=[],a=0;a<o._ptr.length;a++)for(var u=0;u<o._ptr[a+1]-o._ptr[a];u++)i.push(a);for(var c=o._values.slice(),s=o._index.slice(),f=0;f<o._index.length;f++){var p=s[f],v=i[f],h=p*o._size[1]+v;i[f]=h%e[1],s[f]=Math.floor(h/e[1])}o._values.length=0,o._index.length=0,o._ptr.length=e[1]+1,o._size=e.slice();for(var m=0;m<o._ptr.length;m++)o._ptr[m]=0;for(var g=0;g<c.length;g++){var b=s[g],y=i[g],O=c[g],C=l(b,o._ptr[y],o._ptr[y+1],o._index);d(C,b,y,O,o._values,o._index,o._ptr)}return o},o.prototype.clone=function(){var e=new o({values:this._values?lz(this._values):void 0,index:lz(this._index),ptr:lz(this._ptr),size:lz(this._size),datatype:this._datatype});return e},o.prototype.size=function(){return this._size.slice(0)},o.prototype.map=function(e,t){if(!this._values)throw new Error("Cannot invoke map on a Pattern only matrix");var n=this,r=this._size[0],o=this._size[1],i=function(t,r,o){return e(t,[r,o],n)};return p(this,0,r-1,0,o-1,i,t)},o.prototype.forEach=function(e,t){if(!this._values)throw new Error("Cannot invoke forEach on a Pattern only matrix");for(var n=this,r=this._size[0],o=this._size[1],i=0;i<o;i++){var a=this._ptr[i],u=this._ptr[i+1];if(t)for(var c=a;c<u;c++){var l=this._index[c];e(this._values[c],[l,i],n)}else{for(var s={},d=a;d<u;d++){var f=this._index[d];s[f]=this._values[d]}for(var p=0;p<r;p++){var v=p in s?s[p]:0;e(v,[p,i],n)}}}},o.prototype[Symbol.iterator]=function*(){if(!this._values)throw new Error("Cannot iterate a Pattern only matrix");for(var e=this._size[1],t=0;t<e;t++)for(var n=this._ptr[t],r=this._ptr[t+1],o=n;o<r;o++){var i=this._index[o];yield{value:this._values[o],index:[i,t]}}},o.prototype.toArray=function(){return v(this._values,this._index,this._ptr,this._size,!0)},o.prototype.valueOf=function(){return v(this._values,this._index,this._ptr,this._size,!1)},o.prototype.format=function(e){for(var t=this._size[0],n=this._size[1],r=this.density(),o="Sparse Matrix ["+FJ(t,e)+" x "+FJ(n,e)+"] density: "+FJ(r,e)+"\n",i=0;i<n;i++)for(var a=this._ptr[i],u=this._ptr[i+1],c=a;c<u;c++){var l=this._index[c];o+="\n ("+FJ(l,e)+", "+FJ(i,e)+") ==> "+(this._values?FJ(this._values[c],e):"X")}return o},o.prototype.toString=function(){return FJ(this.toArray())},o.prototype.toJSON=function(){return{mathjs:"SparseMatrix",values:this._values,index:this._index,ptr:this._ptr,size:this._size,datatype:this._datatype}},o.prototype.diagonal=function(e){if(e){if(TX(e)&&(e=e.toNumber()),!jX(e)||!fJ(e))throw new TypeError("The parameter k must be an integer number")}else e=0;var t=e>0?e:0,n=e<0?-e:0,r=this._size[0],i=this._size[1],a=Math.min(r-n,i-t),u=[],c=[],l=[];l[0]=0;for(var s=t;s<i&&u.length<a;s++)for(var d=this._ptr[s],f=this._ptr[s+1],p=d;p<f;p++){var v=this._index[p];if(v===s-t+n){u.push(this._values[p]),c[u.length-1]=v-n;break}}return l.push(u.length),new o({values:u,index:c,ptr:l,size:[a,1]})},o.fromJSON=function(e){return new o(e)},o.diagonal=function(e,r,i,a,u){if(!YX(e))throw new TypeError("Array expected, size parameter");if(2!==e.length)throw new Error("Only two dimensions matrix are supported");if(e=e.map((function(e){if(TX(e)&&(e=e.toNumber()),!jX(e)||!fJ(e)||e<1)throw new Error("Size values must be positive integers");return e})),i){if(TX(i)&&(i=i.toNumber()),!jX(i)||!fJ(i))throw new TypeError("The parameter k must be an integer number")}else i=0;var c=n,l=0;LX(u)&&(c=t.find(n,[u,u])||n,l=t.convert(0,u));var s,d=i>0?i:0,f=i<0?-i:0,p=e[0],v=e[1],h=Math.min(p-f,v-d);if(YX(r)){if(r.length!==h)throw new Error("Invalid value array length");s=function(e){return r[e]}}else if(_X(r)){var m=r.size();if(1!==m.length||m[0]!==h)throw new Error("Invalid matrix length");s=function(e){return r.get([e])}}else s=function(){return r};for(var g=[],b=[],y=[],O=0;O<v;O++){y.push(g.length);var C=O-d;if(C>=0&&C<h){var w=s(C);c(w,l)||(b.push(C+f),g.push(w))}}return y.push(g.length),new o({values:g,index:b,ptr:y,size:[p,v]})},o.prototype.swapRows=function(e,t){if(!jX(e)||!fJ(e)||!jX(t)||!fJ(t))throw new Error("Row index must be positive integers");if(2!==this._size.length)throw new Error("Only two dimensional matrix is supported");return WJ(e,this._size[0]),WJ(t,this._size[0]),o._swapRows(e,t,this._size[1],this._values,this._index,this._ptr),this},o._forEachRow=function(e,t,n,r,o){for(var i=r[e],a=r[e+1],u=i;u<a;u++)o(n[u],t[u])},o._swapRows=function(e,t,n,r,o,i){for(var a=0;a<n;a++){var u=i[a],c=i[a+1],s=l(e,u,c,o),d=l(t,u,c,o);if(s<c&&d<c&&o[s]===e&&o[d]===t){if(r){var f=r[s];r[s]=r[d],r[d]=f}}else if(s<c&&o[s]===e&&(d>=c||o[d]!==t)){var p=r?r[s]:void 0;o.splice(d,0,t),r&&r.splice(d,0,p),o.splice(d<=s?s+1:s,1),r&&r.splice(d<=s?s+1:s,1)}else if(d<c&&o[d]===t&&(s>=c||o[s]!==e)){var v=r?r[d]:void 0;o.splice(s,0,e),r&&r.splice(s,0,v),o.splice(s<=d?d+1:d,1),r&&r.splice(s<=d?d+1:d,1)}}},o},{isClass:!0}),lW={MatrixDependencies:Bz,equalScalarDependencies:iW,typedDependencies:yQ,createSparseMatrixClass:cW},sW="matrix",dW=["typed","Matrix","DenseMatrix","SparseMatrix"],fW=Cz(sW,dW,e=>{var{typed:t,Matrix:n,DenseMatrix:r,SparseMatrix:o}=e;return t(sW,{"":function(){return i([])},string:function(e){return i([],e)},"string, string":function(e,t){return i([],e,t)},Array:function(e){return i(e)},Matrix:function(e){return i(e,e.storage())},"Array | Matrix, string":i,"Array | Matrix, string, string":i});function i(e,t,n){if("dense"===t||"default"===t||void 0===t)return new r(e,n);if("sparse"===t)return new o(e,n);throw new TypeError("Unknown matrix type "+JSON.stringify(t)+".")}}),pW={DenseMatrixDependencies:Vz,MatrixDependencies:Bz,SparseMatrixDependencies:lW,typedDependencies:yQ,createMatrix:fW};function vW(e,t,n){return e&&"function"===typeof e.map?e.map((function(e){return vW(e,t,n)})):t(e)}var hW="unaryMinus",mW=["typed"],gW=Cz(hW,mW,e=>{var{typed:t}=e;return t(hW,{number:kQ,Complex:function(e){return e.neg()},BigNumber:function(e){return e.neg()},Fraction:function(e){return e.neg()},Unit:function(e){var t=e.clone();return t.value=this(e.value),t},"Array | Matrix":function(e){return vW(e,this,!0)}})}),bW={typedDependencies:yQ,createUnaryMinus:gW},yW="algorithm01",OW=["typed"],CW=Cz(yW,OW,e=>{var{typed:t}=e;return function(e,n,r,o){var i=e._data,a=e._size,u=e._datatype,c=n._values,l=n._index,s=n._ptr,d=n._size,f=n._datatype;if(a.length!==d.length)throw new VJ(a.length,d.length);if(a[0]!==d[0]||a[1]!==d[1])throw new RangeError("Dimension mismatch. Matrix A ("+a+") must match Matrix B ("+d+")");if(!c)throw new Error("Cannot perform operation on Dense Matrix and Pattern Sparse Matrix");var p,v,h=a[0],m=a[1],g="string"===typeof u&&u===f?u:void 0,b=g?t.find(r,[g,g]):r,y=[];for(p=0;p<h;p++)y[p]=[];var O=[],C=[];for(v=0;v<m;v++){for(var w=v+1,S=s[v],N=s[v+1],M=S;M<N;M++)p=l[M],O[p]=o?b(c[M],i[p][v]):b(i[p][v],c[M]),C[p]=w;for(p=0;p<h;p++)C[p]===w?y[p][v]=O[p]:y[p][v]=i[p][v]}return e.createDenseMatrix({data:y,size:[h,m],datatype:g})}}),wW="algorithm03",SW=["typed"],NW=Cz(wW,SW,e=>{var{typed:t}=e;return function(e,n,r,o){var i=e._data,a=e._size,u=e._datatype,c=n._values,l=n._index,s=n._ptr,d=n._size,f=n._datatype;if(a.length!==d.length)throw new VJ(a.length,d.length);if(a[0]!==d[0]||a[1]!==d[1])throw new RangeError("Dimension mismatch. Matrix A ("+a+") must match Matrix B ("+d+")");if(!c)throw new Error("Cannot perform operation on Dense Matrix and Pattern Sparse Matrix");var p,v=a[0],h=a[1],m=0,g=r;"string"===typeof u&&u===f&&(p=u,m=t.convert(0,p),g=t.find(r,[p,p]));for(var b=[],y=0;y<v;y++)b[y]=[];for(var O=[],C=[],w=0;w<h;w++){for(var S=w+1,N=s[w],M=s[w+1],x=N;x<M;x++){var j=l[x];O[j]=o?g(c[x],i[j][w]):g(i[j][w],c[x]),C[j]=S}for(var T=0;T<v;T++)C[T]===S?b[T][w]=O[T]:b[T][w]=o?g(m,i[T][w]):g(i[T][w],m)}return e.createDenseMatrix({data:b,size:[v,h],datatype:p})}}),MW="algorithm05",xW=["typed","equalScalar"],jW=Cz(MW,xW,e=>{var{typed:t,equalScalar:n}=e;return function(e,r,o){var i=e._values,a=e._index,u=e._ptr,c=e._size,l=e._datatype,s=r._values,d=r._index,f=r._ptr,p=r._size,v=r._datatype;if(c.length!==p.length)throw new VJ(c.length,p.length);if(c[0]!==p[0]||c[1]!==p[1])throw new RangeError("Dimension mismatch. Matrix A ("+c+") must match Matrix B ("+p+")");var h,m=c[0],g=c[1],b=n,y=0,O=o;"string"===typeof l&&l===v&&(h=l,b=t.find(n,[h,h]),y=t.convert(0,h),O=t.find(o,[h,h]));var C,w,S,N,M=i&&s?[]:void 0,x=[],j=[],T=M?[]:void 0,D=M?[]:void 0,E=[],k=[];for(w=0;w<g;w++){j[w]=x.length;var L=w+1;for(S=u[w],N=u[w+1];S<N;S++)C=a[S],x.push(C),E[C]=L,T&&(T[C]=i[S]);for(S=f[w],N=f[w+1];S<N;S++)C=d[S],E[C]!==L&&x.push(C),k[C]=L,D&&(D[C]=s[S]);if(M){S=j[w];while(S<x.length){C=x[S];var Y=E[C],_=k[C];if(Y===L||_===L){var A=Y===L?T[C]:y,P=_===L?D[C]:y,F=O(A,P);b(F,y)?x.splice(S,1):(M.push(F),S++)}}}}return j[g]=x.length,e.createSparseMatrix({values:M,index:x,ptr:j,size:[m,g],datatype:h})}}),TW="algorithm10",DW=["typed","DenseMatrix"],EW=Cz(TW,DW,e=>{var{typed:t,DenseMatrix:n}=e;return function(e,r,o,i){var a=e._values,u=e._index,c=e._ptr,l=e._size,s=e._datatype;if(!a)throw new Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var d,f=l[0],p=l[1],v=o;"string"===typeof s&&(d=s,r=t.convert(r,d),v=t.find(o,[d,d]));for(var h=[],m=[],g=[],b=0;b<p;b++){for(var y=b+1,O=c[b],C=c[b+1],w=O;w<C;w++){var S=u[w];m[S]=a[w],g[S]=y}for(var N=0;N<f;N++)0===b&&(h[N]=[]),g[N]===y?h[N][b]=i?v(r,m[N]):v(m[N],r):h[N][b]=r}return new n({data:h,size:[f,p],datatype:d})}}),kW="algorithm13",LW=["typed"],YW=Cz(kW,LW,e=>{var{typed:t}=e;return function(e,r,o){var i,a=e._data,u=e._size,c=e._datatype,l=r._data,s=r._size,d=r._datatype,f=[];if(u.length!==s.length)throw new VJ(u.length,s.length);for(var p=0;p<u.length;p++){if(u[p]!==s[p])throw new RangeError("Dimension mismatch. Matrix A ("+u+") must match Matrix B ("+s+")");f[p]=u[p]}var v=o;"string"===typeof c&&c===d&&(i=c,v=t.find(o,[i,i]));var h=f.length>0?n(v,0,f,f[0],a,l):[];return e.createDenseMatrix({data:h,size:f,datatype:i})};function n(e,t,r,o,i,a){var u=[];if(t===r.length-1)for(var c=0;c<o;c++)u[c]=e(i[c],a[c]);else for(var l=0;l<o;l++)u[l]=n(e,t+1,r,r[t+1],i[l],a[l]);return u}}),_W="algorithm14",AW=["typed"],PW=Cz(_W,AW,e=>{var{typed:t}=e;return function(e,r,o,i){var a,u=e._data,c=e._size,l=e._datatype,s=o;"string"===typeof l&&(a=l,r=t.convert(r,a),s=t.find(o,[a,a]));var d=c.length>0?n(s,0,c,c[0],u,r,i):[];return e.createDenseMatrix({data:d,size:lz(c),datatype:a})};function n(e,t,r,o,i,a,u){var c=[];if(t===r.length-1)for(var l=0;l<o;l++)c[l]=u?e(a,i[l]):e(i[l],a);else for(var s=0;s<o;s++)c[s]=n(e,t+1,r,r[t+1],i[s],a,u);return c}}),FW="subtract",IW=["typed","matrix","equalScalar","addScalar","unaryMinus","DenseMatrix"],BW=Cz(FW,IW,e=>{var{typed:t,matrix:n,equalScalar:r,addScalar:o,unaryMinus:i,DenseMatrix:a}=e,u=CW({typed:t}),c=NW({typed:t}),l=jW({typed:t,equalScalar:r}),s=EW({typed:t,DenseMatrix:a}),d=YW({typed:t}),f=PW({typed:t});return t(FW,{"number, number":function(e,t){return e-t},"Complex, Complex":function(e,t){return e.sub(t)},"BigNumber, BigNumber":function(e,t){return e.minus(t)},"Fraction, Fraction":function(e,t){return e.sub(t)},"Unit, Unit":function(e,t){if(null===e.value)throw new Error("Parameter x contains a unit with undefined value");if(null===t.value)throw new Error("Parameter y contains a unit with undefined value");if(!e.equalBase(t))throw new Error("Units do not match");var n=e.clone();return n.value=this(n.value,t.value),n.fixPrefix=!1,n},"SparseMatrix, SparseMatrix":function(e,t){return ZW(e,t),l(e,t,this)},"SparseMatrix, DenseMatrix":function(e,t){return ZW(e,t),c(t,e,this,!0)},"DenseMatrix, SparseMatrix":function(e,t){return ZW(e,t),u(e,t,this,!1)},"DenseMatrix, DenseMatrix":function(e,t){return ZW(e,t),d(e,t,this)},"Array, Array":function(e,t){return this(n(e),n(t)).valueOf()},"Array, Matrix":function(e,t){return this(n(e),t)},"Matrix, Array":function(e,t){return this(e,n(t))},"SparseMatrix, any":function(e,t){return s(e,i(t),o)},"DenseMatrix, any":function(e,t){return f(e,t,this)},"any, SparseMatrix":function(e,t){return s(t,e,this,!0)},"any, DenseMatrix":function(e,t){return f(t,e,this,!0)},"Array, any":function(e,t){return f(n(e),t,this,!1).valueOf()},"any, Array":function(e,t){return f(n(t),e,this,!0).valueOf()}})});function ZW(e,t){var n=e.size(),r=t.size();if(n.length!==r.length)throw new VJ(n.length,r.length)}var RW={DenseMatrixDependencies:Vz,addScalarDependencies:qQ,equalScalarDependencies:iW,matrixDependencies:pW,typedDependencies:yQ,unaryMinusDependencies:bW,createSubtract:BW},HW="conj",VW=["typed"],XW=Cz(HW,VW,e=>{var{typed:t}=e;return t(HW,{number:function(e){return e},BigNumber:function(e){return e},Complex:function(e){return e.conjugate()},"Array | Matrix":function(e){return vW(e,this)}})}),JW={typedDependencies:yQ,createConj:XW},zW="multiplyScalar",QW=["typed"],WW=Cz(zW,QW,e=>{var{typed:t}=e;return t("multiplyScalar",{"number, number":DQ,"Complex, Complex":function(e,t){return e.mul(t)},"BigNumber, BigNumber":function(e,t){return e.times(t)},"Fraction, Fraction":function(e,t){return e.mul(t)},"number | Fraction | BigNumber | Complex, Unit":function(e,t){var n=t.clone();return n.value=null===n.value?n._normalize(e):this(n.value,e),n},"Unit, number | Fraction | BigNumber | Complex":function(e,t){var n=e.clone();return n.value=null===n.value?n._normalize(t):this(n.value,t),n},"Unit, Unit":function(e,t){return e.multiply(t)}})}),KW={typedDependencies:yQ,createMultiplyScalar:WW};function UW(){throw new Error('No "bignumber" implementation available')}function GW(){throw new Error('No "fraction" implementation available')}function $W(){throw new Error('No "matrix" implementation available')}var qW="size",eK=["typed","config","?matrix"],tK=Cz(qW,eK,e=>{var{typed:t,config:n,matrix:r}=e;return t(qW,{Matrix:function(e){return e.create(e.size())},Array:JJ,string:function(e){return"Array"===n.matrix?[e.length]:r([e.length])},"number | Complex | BigNumber | Unit | boolean | null":function(e){return"Array"===n.matrix?[]:r?r([]):$W()}})}),nK={matrixDependencies:pW,typedDependencies:yQ,createSize:tK},rK="dot",oK=["typed","addScalar","multiplyScalar","conj","size"],iK=Cz(rK,oK,e=>{var{typed:t,addScalar:n,multiplyScalar:r,conj:o,size:i}=e;return t(rK,{"Array | DenseMatrix, Array | DenseMatrix":u,"SparseMatrix, SparseMatrix":c});function a(e,t){var n,r,o=l(e),i=l(t);if(1===o.length)n=o[0];else{if(2!==o.length||1!==o[1])throw new RangeError("Expected a column vector, instead got a matrix of size ("+o.join(", ")+")");n=o[0]}if(1===i.length)r=i[0];else{if(2!==i.length||1!==i[1])throw new RangeError("Expected a column vector, instead got a matrix of size ("+i.join(", ")+")");r=i[0]}if(n!==r)throw new RangeError("Vectors must have equal length ("+n+" != "+r+")");if(0===n)throw new RangeError("Cannot calculate the dot product of empty vectors");return n}function u(e,i){var u=a(e,i),c=_X(e)?e._data:e,s=_X(e)?e._datatype:void 0,d=_X(i)?i._data:i,f=_X(i)?i._datatype:void 0,p=2===l(e).length,v=2===l(i).length,h=n,m=r;if(s&&f&&s===f&&"string"===typeof s){var g=s;h=t.find(n,[g,g]),m=t.find(r,[g,g])}if(!p&&!v){for(var b=m(o(c[0]),d[0]),y=1;y<u;y++)b=h(b,m(o(c[y]),d[y]));return b}if(!p&&v){for(var O=m(o(c[0]),d[0][0]),C=1;C<u;C++)O=h(O,m(o(c[C]),d[C][0]));return O}if(p&&!v){for(var w=m(o(c[0][0]),d[0]),S=1;S<u;S++)w=h(w,m(o(c[S][0]),d[S]));return w}if(p&&v){for(var N=m(o(c[0][0]),d[0][0]),M=1;M<u;M++)N=h(N,m(o(c[M][0]),d[M][0]));return N}}function c(e,t){a(e,t);var o=e._index,i=e._values,u=t._index,c=t._values,l=0,s=n,d=r,f=0,p=0;while(f<o.length&&p<u.length){var v=o[f],h=u[p];v<h?f++:v>h?p++:v===h&&(l=s(l,d(i[f],c[p])),f++,p++)}return l}function l(e){return _X(e)?e.size():i(e)}}),aK={addScalarDependencies:qQ,conjDependencies:JW,multiplyScalarDependencies:KW,sizeDependencies:nK,typedDependencies:yQ,createDot:iK},uK="algorithm11",cK=["typed","equalScalar"],lK=Cz(uK,cK,e=>{var{typed:t,equalScalar:n}=e;return function(e,r,o,i){var a=e._values,u=e._index,c=e._ptr,l=e._size,s=e._datatype;if(!a)throw new Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var d,f=l[0],p=l[1],v=n,h=0,m=o;"string"===typeof s&&(d=s,v=t.find(n,[d,d]),h=t.convert(0,d),r=t.convert(r,d),m=t.find(o,[d,d]));for(var g=[],b=[],y=[],O=0;O<p;O++){y[O]=b.length;for(var C=c[O],w=c[O+1],S=C;S<w;S++){var N=u[S],M=i?m(r,a[S]):m(a[S],r);v(M,h)||(b.push(N),g.push(M))}}return y[p]=b.length,e.createSparseMatrix({values:g,index:b,ptr:y,size:[f,p],datatype:d})}}),sK="multiply",dK=["typed","matrix","addScalar","multiplyScalar","equalScalar","dot"],fK=Cz(sK,dK,e=>{var{typed:t,matrix:n,addScalar:r,multiplyScalar:o,equalScalar:i,dot:a}=e,u=lK({typed:t,equalScalar:i}),c=PW({typed:t});function l(e,t){switch(e.length){case 1:switch(t.length){case 1:if(e[0]!==t[0])throw new RangeError("Dimension mismatch in multiplication. Vectors must have the same length");break;case 2:if(e[0]!==t[0])throw new RangeError("Dimension mismatch in multiplication. Vector length ("+e[0]+") must match Matrix rows ("+t[0]+")");break;default:throw new Error("Can only multiply a 1 or 2 dimensional matrix (Matrix B has "+t.length+" dimensions)")}break;case 2:switch(t.length){case 1:if(e[1]!==t[0])throw new RangeError("Dimension mismatch in multiplication. Matrix columns ("+e[1]+") must match Vector length ("+t[0]+")");break;case 2:if(e[1]!==t[0])throw new RangeError("Dimension mismatch in multiplication. Matrix A columns ("+e[1]+") must match Matrix B rows ("+t[0]+")");break;default:throw new Error("Can only multiply a 1 or 2 dimensional matrix (Matrix B has "+t.length+" dimensions)")}break;default:throw new Error("Can only multiply a 1 or 2 dimensional matrix (Matrix A has "+e.length+" dimensions)")}}function s(e,t,n){if(0===n)throw new Error("Cannot multiply two empty vectors");return a(e,t)}function d(e,t){if("dense"!==t.storage())throw new Error("Support for SparseMatrix not implemented");return f(e,t)}function f(e,n){var i,a=e._data,u=e._size,c=e._datatype,l=n._data,s=n._size,d=n._datatype,f=u[0],p=s[1],v=r,h=o;c&&d&&c===d&&"string"===typeof c&&(i=c,v=t.find(r,[i,i]),h=t.find(o,[i,i]));for(var m=[],g=0;g<p;g++){for(var b=h(a[0],l[0][g]),y=1;y<f;y++)b=v(b,h(a[y],l[y][g]));m[g]=b}return e.createDenseMatrix({data:m,size:[p],datatype:i})}var p=t("_multiplyMatrixVector",{"DenseMatrix, any":h,"SparseMatrix, any":b}),v=t("_multiplyMatrixMatrix",{"DenseMatrix, DenseMatrix":m,"DenseMatrix, SparseMatrix":g,"SparseMatrix, DenseMatrix":y,"SparseMatrix, SparseMatrix":O});function h(e,n){var i,a=e._data,u=e._size,c=e._datatype,l=n._data,s=n._datatype,d=u[0],f=u[1],p=r,v=o;c&&s&&c===s&&"string"===typeof c&&(i=c,p=t.find(r,[i,i]),v=t.find(o,[i,i]));for(var h=[],m=0;m<d;m++){for(var g=a[m],b=v(g[0],l[0]),y=1;y<f;y++)b=p(b,v(g[y],l[y]));h[m]=b}return e.createDenseMatrix({data:h,size:[d],datatype:i})}function m(e,n){var i,a=e._data,u=e._size,c=e._datatype,l=n._data,s=n._size,d=n._datatype,f=u[0],p=u[1],v=s[1],h=r,m=o;c&&d&&c===d&&"string"===typeof c&&(i=c,h=t.find(r,[i,i]),m=t.find(o,[i,i]));for(var g=[],b=0;b<f;b++){var y=a[b];g[b]=[];for(var O=0;O<v;O++){for(var C=m(y[0],l[0][O]),w=1;w<p;w++)C=h(C,m(y[w],l[w][O]));g[b][O]=C}}return e.createDenseMatrix({data:g,size:[f,v],datatype:i})}function g(e,n){var a=e._data,u=e._size,c=e._datatype,l=n._values,s=n._index,d=n._ptr,f=n._size,p=n._datatype;if(!l)throw new Error("Cannot multiply Dense Matrix times Pattern only Matrix");var v,h=u[0],m=f[1],g=r,b=o,y=i,O=0;c&&p&&c===p&&"string"===typeof c&&(v=c,g=t.find(r,[v,v]),b=t.find(o,[v,v]),y=t.find(i,[v,v]),O=t.convert(0,v));for(var C=[],w=[],S=[],N=n.createSparseMatrix({values:C,index:w,ptr:S,size:[h,m],datatype:v}),M=0;M<m;M++){S[M]=w.length;var x=d[M],j=d[M+1];if(j>x)for(var T=0,D=0;D<h;D++){for(var E=D+1,k=void 0,L=x;L<j;L++){var Y=s[L];T!==E?(k=b(a[D][Y],l[L]),T=E):k=g(k,b(a[D][Y],l[L]))}T!==E||y(k,O)||(w.push(D),C.push(k))}}return S[m]=w.length,N}function b(e,n){var a=e._values,u=e._index,c=e._ptr,l=e._datatype;if(!a)throw new Error("Cannot multiply Pattern only Matrix times Dense Matrix");var s,d=n._data,f=n._datatype,p=e._size[0],v=n._size[0],h=[],m=[],g=[],b=r,y=o,O=i,C=0;l&&f&&l===f&&"string"===typeof l&&(s=l,b=t.find(r,[s,s]),y=t.find(o,[s,s]),O=t.find(i,[s,s]),C=t.convert(0,s));var w=[],S=[];g[0]=0;for(var N=0;N<v;N++){var M=d[N];if(!O(M,C))for(var x=c[N],j=c[N+1],T=x;T<j;T++){var D=u[T];S[D]?w[D]=b(w[D],y(M,a[T])):(S[D]=!0,m.push(D),w[D]=y(M,a[T]))}}for(var E=m.length,k=0;k<E;k++){var L=m[k];h[k]=w[L]}return g[1]=m.length,e.createSparseMatrix({values:h,index:m,ptr:g,size:[p,1],datatype:s})}function y(e,n){var a=e._values,u=e._index,c=e._ptr,l=e._datatype;if(!a)throw new Error("Cannot multiply Pattern only Matrix times Dense Matrix");var s,d=n._data,f=n._datatype,p=e._size[0],v=n._size[0],h=n._size[1],m=r,g=o,b=i,y=0;l&&f&&l===f&&"string"===typeof l&&(s=l,m=t.find(r,[s,s]),g=t.find(o,[s,s]),b=t.find(i,[s,s]),y=t.convert(0,s));for(var O=[],C=[],w=[],S=e.createSparseMatrix({values:O,index:C,ptr:w,size:[p,h],datatype:s}),N=[],M=[],x=0;x<h;x++){w[x]=C.length;for(var j=x+1,T=0;T<v;T++){var D=d[T][x];if(!b(D,y))for(var E=c[T],k=c[T+1],L=E;L<k;L++){var Y=u[L];M[Y]!==j?(M[Y]=j,C.push(Y),N[Y]=g(D,a[L])):N[Y]=m(N[Y],g(D,a[L]))}}for(var _=w[x],A=C.length,P=_;P<A;P++){var F=C[P];O[P]=N[F]}}return w[h]=C.length,S}function O(e,n){var i,a=e._values,u=e._index,c=e._ptr,l=e._datatype,s=n._values,d=n._index,f=n._ptr,p=n._datatype,v=e._size[0],h=n._size[1],m=a&&s,g=r,b=o;l&&p&&l===p&&"string"===typeof l&&(i=l,g=t.find(r,[i,i]),b=t.find(o,[i,i]));for(var y,O,C,w,S,N,M,x,j=m?[]:void 0,T=[],D=[],E=e.createSparseMatrix({values:j,index:T,ptr:D,size:[v,h],datatype:i}),k=m?[]:void 0,L=[],Y=0;Y<h;Y++){D[Y]=T.length;var _=Y+1;for(S=f[Y],N=f[Y+1],w=S;w<N;w++)if(x=d[w],m)for(O=c[x],C=c[x+1],y=O;y<C;y++)M=u[y],L[M]!==_?(L[M]=_,T.push(M),k[M]=b(s[w],a[y])):k[M]=g(k[M],b(s[w],a[y]));else for(O=c[x],C=c[x+1],y=O;y<C;y++)M=u[y],L[M]!==_&&(L[M]=_,T.push(M));if(m)for(var A=D[Y],P=T.length,F=A;F<P;F++){var I=T[F];j[F]=k[I]}}return D[h]=T.length,E}return t(sK,dz({"Array, Array":function(e,t){l(JJ(e),JJ(t));var r=this(n(e),n(t));return _X(r)?r.valueOf():r},"Matrix, Matrix":function(e,t){var n=e.size(),r=t.size();return l(n,r),1===n.length?1===r.length?s(e,t,n[0]):d(e,t):1===r.length?p(e,t):v(e,t)},"Matrix, Array":function(e,t){return this(e,n(t))},"Array, Matrix":function(e,t){return this(n(e,t.storage()),t)},"SparseMatrix, any":function(e,t){return u(e,t,o,!1)},"DenseMatrix, any":function(e,t){return c(e,t,o,!1)},"any, SparseMatrix":function(e,t){return u(t,e,o,!0)},"any, DenseMatrix":function(e,t){return c(t,e,o,!0)},"Array, any":function(e,t){return c(n(e),t,o,!1).valueOf()},"any, Array":function(e,t){return c(n(t),e,o,!0).valueOf()},"any, any":o,"any, any, ...any":function(e,t,n){for(var r=this(e,t),o=0;o<n.length;o++)r=this(r,n[o]);return r}},o.signatures))}),pK={addScalarDependencies:qQ,dotDependencies:aK,equalScalarDependencies:iW,matrixDependencies:pW,multiplyScalarDependencies:KW,typedDependencies:yQ,createMultiply:fK},vK=new Set(["end"]),hK="Node",mK=["mathWithTransform"],gK=Cz(hK,mK,e=>{var{mathWithTransform:t}=e;function n(){if(!(this instanceof n))throw new SyntaxError("Constructor must be called with the new operator")}function r(e){for(var t of[...vK])if(e.has(t))throw new Error('Scope contains an illegal symbol, "'+t+'" is a reserved keyword')}return n.prototype.evaluate=function(e){return this.compile().evaluate(e)},n.prototype.type="Node",n.prototype.isNode=!0,n.prototype.comment="",n.prototype.compile=function(){var e=this._compile(t,{}),n={},o=null;function i(t){var i=lQ(t);return r(i),e(i,n,o)}return{evaluate:i}},n.prototype._compile=function(e,t){throw new Error("Method _compile should be implemented by type "+this.type)},n.prototype.forEach=function(e){throw new Error("Cannot run forEach on a Node interface")},n.prototype.map=function(e){throw new Error("Cannot run map on a Node interface")},n.prototype._ifNode=function(e){if(!oJ(e))throw new TypeError("Callback function must return a Node");return e},n.prototype.traverse=function(e){function t(e,n){e.forEach((function(e,r,o){n(e,r,o),t(e,n)}))}e(this,null,null),t(this,e)},n.prototype.transform=function(e){function t(n,r,o){var i=e(n,r,o);return i!==n?i:n.map(t)}return t(this,null,null)},n.prototype.filter=function(e){var t=[];return this.traverse((function(n,r,o){e(n,r,o)&&t.push(n)})),t},n.prototype.clone=function(){throw new Error("Cannot clone a Node interface")},n.prototype.cloneDeep=function(){return this.map((function(e){return e.cloneDeep()}))},n.prototype.equals=function(e){return!!e&&pz(this,e)},n.prototype.toString=function(e){var t=this._getCustomString(e);return"undefined"!==typeof t?t:this._toString(e)},n.prototype.toJSON=function(){throw new Error("Cannot serialize object: toJSON not implemented by "+this.type)},n.prototype.toHTML=function(e){var t=this._getCustomString(e);return"undefined"!==typeof t?t:this.toHTML(e)},n.prototype._toString=function(){throw new Error("_toString not implemented for "+this.type)},n.prototype.toTex=function(e){var t=this._getCustomString(e);return"undefined"!==typeof t?t:this._toTex(e)},n.prototype._toTex=function(e){throw new Error("_toTex not implemented for "+this.type)},n.prototype._getCustomString=function(e){if(e&&"object"===typeof e)switch(typeof e.handler){case"object":case"undefined":return;case"function":return e.handler(this,e);default:throw new TypeError("Object or function expected as callback")}},n.prototype.getIdentifier=function(){return this.type},n.prototype.getContent=function(){return this},n},{isClass:!0,isNode:!0}),bK={createNode:gK},yK="subset",OK=["typed","matrix"],CK=Cz(yK,OK,e=>{var{typed:t,matrix:n}=e;return t(yK,{"Array, Index":function(e,t){var r=n(e),o=r.subset(t);return t.isScalar()?o:o.valueOf()},"Matrix, Index":function(e,t){return e.subset(t)},"Object, Index":NK,"string, Index":wK,"Array, Index, any":function(e,t,r){return n(lz(e)).subset(t,r,void 0).valueOf()},"Array, Index, any, any":function(e,t,r,o){return n(lz(e)).subset(t,r,o).valueOf()},"Matrix, Index, any":function(e,t,n){return e.clone().subset(t,n)},"Matrix, Index, any, any":function(e,t,n,r){return e.clone().subset(t,n,r)},"string, Index, string":SK,"string, Index, string, string":SK,"Object, Index, any":MK})});function wK(e,t){if(!BX(t))throw new TypeError("Index expected");if(1!==t.size().length)throw new VJ(t.size().length,1);var n=e.length;WJ(t.min()[0],n),WJ(t.max()[0],n);var r=t.dimension(0),o="";return r.forEach((function(t){o+=e.charAt(t)})),o}function SK(e,t,n,r){if(!t||!0!==t.isIndex)throw new TypeError("Index expected");if(1!==t.size().length)throw new VJ(t.size().length,1);if(void 0!==r){if("string"!==typeof r||1!==r.length)throw new TypeError("Single character expected as defaultValue")}else r=" ";var o=t.dimension(0),i=o.size()[0];if(i!==n.length)throw new VJ(o.size()[0],n.length);var a=e.length;WJ(t.min()[0]),WJ(t.max()[0]);for(var u=[],c=0;c<a;c++)u[c]=e.charAt(c);if(o.forEach((function(e,t){u[e]=n.charAt(t[0])})),u.length>a)for(var l=a-1,s=u.length;l<s;l++)u[l]||(u[l]=r);return u.join("")}function NK(e,t){if(1!==t.size().length)throw new VJ(t.size(),1);var n=t.dimension(0);if("string"!==typeof n)throw new TypeError("String expected as index to retrieve an object property");return $z(e,n)}function MK(e,t,n){if(1!==t.size().length)throw new VJ(t.size(),1);var r=t.dimension(0);if("string"!==typeof r)throw new TypeError("String expected as index to retrieve an object property");var o=lz(e);return qz(o,r,n),o}var xK={matrixDependencies:pW,typedDependencies:yQ,createSubset:CK};function jK(e){return e&&e.isIndexError?new XJ(e.index+1,e.min+1,void 0!==e.max?e.max+1:void 0):e}function TK(e){var{subset:t}=e;return function(e,n){try{if(Array.isArray(e))return t(e,n);if(e&&"function"===typeof e.subset)return e.subset(n);if("string"===typeof e)return t(e,n);if("object"===typeof e){if(!n.isObjectProperty())throw new TypeError("Cannot apply a numeric index as object property");return $z(e,n.getObjectProperty())}throw new TypeError("Cannot apply index: unsupported type of object")}catch(r){throw jK(r)}}}var DK="AccessorNode",EK=["subset","Node"],kK=Cz(DK,EK,e=>{var{subset:t,Node:n}=e,r=TK({subset:t});function o(e,t){if(!(this instanceof o))throw new SyntaxError("Constructor must be called with the new operator");if(!oJ(e))throw new TypeError('Node expected for parameter "object"');if(!rJ(t))throw new TypeError('IndexNode expected for parameter "index"');this.object=e||null,this.index=t,Object.defineProperty(this,"name",{get:function(){return this.index?this.index.isObjectProperty()?this.index.getObjectProperty():"":this.object.name||""}.bind(this),set:function(){throw new Error("Cannot assign a new name, name is read-only")}})}function i(e){return!(KX(e)||UX(e)||eJ(e)||nJ(e)||iJ(e)||uJ(e)||lJ(e))}return o.prototype=new n,o.prototype.type="AccessorNode",o.prototype.isAccessorNode=!0,o.prototype._compile=function(e,t){var n=this.object._compile(e,t),o=this.index._compile(e,t);if(this.index.isObjectProperty()){var i=this.index.getObjectProperty();return function(e,t,r){return $z(n(e,t,r),i)}}return function(e,t,i){var a=n(e,t,i),u=o(e,t,a);return r(a,u)}},o.prototype.forEach=function(e){e(this.object,"object",this),e(this.index,"index",this)},o.prototype.map=function(e){return new o(this._ifNode(e(this.object,"object",this)),this._ifNode(e(this.index,"index",this)))},o.prototype.clone=function(){return new o(this.object,this.index)},o.prototype._toString=function(e){var t=this.object.toString(e);return i(this.object)&&(t="("+t+")"),t+this.index.toString(e)},o.prototype.toHTML=function(e){var t=this.object.toHTML(e);return i(this.object)&&(t='<span class="math-parenthesis math-round-parenthesis">(</span>'+t+'<span class="math-parenthesis math-round-parenthesis">)</span>'),t+this.index.toHTML(e)},o.prototype._toTex=function(e){var t=this.object.toTex(e);return i(this.object)&&(t="\\left(' + object + '\\right)"),t+this.index.toTex(e)},o.prototype.toJSON=function(){return{mathjs:"AccessorNode",object:this.object,index:this.index}},o.fromJSON=function(e){return new o(e.object,e.index)},o},{isClass:!0,isNode:!0}),LK={NodeDependencies:bK,subsetDependencies:xK,createAccessorNode:kK},YK="ArrayNode",_K=["Node"],AK=Cz(YK,_K,e=>{var{Node:t}=e;function n(e){if(!(this instanceof n))throw new SyntaxError("Constructor must be called with the new operator");if(this.items=e||[],!Array.isArray(this.items)||!this.items.every(oJ))throw new TypeError("Array containing Nodes expected")}return n.prototype=new t,n.prototype.type="ArrayNode",n.prototype.isArrayNode=!0,n.prototype._compile=function(e,t){var n=oz(this.items,(function(n){return n._compile(e,t)})),r="Array"!==e.config.matrix;if(r){var o=e.matrix;return function(e,t,r){return o(oz(n,(function(n){return n(e,t,r)})))}}return function(e,t,r){return oz(n,(function(n){return n(e,t,r)}))}},n.prototype.forEach=function(e){for(var t=0;t<this.items.length;t++){var n=this.items[t];e(n,"items["+t+"]",this)}},n.prototype.map=function(e){for(var t=[],r=0;r<this.items.length;r++)t[r]=this._ifNode(e(this.items[r],"items["+r+"]",this));return new n(t)},n.prototype.clone=function(){return new n(this.items.slice(0))},n.prototype._toString=function(e){var t=this.items.map((function(t){return t.toString(e)}));return"["+t.join(", ")+"]"},n.prototype.toJSON=function(){return{mathjs:"ArrayNode",items:this.items}},n.fromJSON=function(e){return new n(e.items)},n.prototype.toHTML=function(e){var t=this.items.map((function(t){return t.toHTML(e)}));return'<span class="math-parenthesis math-square-parenthesis">[</span>'+t.join('<span class="math-separator">,</span>')+'<span class="math-parenthesis math-square-parenthesis">]</span>'},n.prototype._toTex=function(e){function t(n,r){var o=n.some(UX)&&!n.every(UX),i=r||o,a=i?"&":"\\\\",u=n.map((function(n){return n.items?t(n.items,!r):n.toTex(e)})).join(a);return o||!i||i&&!r?"\\begin{bmatrix}"+u+"\\end{bmatrix}":u}return t(this.items,!1)},n},{isClass:!0,isNode:!0}),PK={NodeDependencies:bK,createArrayNode:AK};function FK(e){var{subset:t,matrix:n}=e;return function(e,r,o){try{if(Array.isArray(e))return n(e).subset(r,o).valueOf();if(e&&"function"===typeof e.subset)return e.subset(r,o);if("string"===typeof e)return t(e,r,o);if("object"===typeof e){if(!r.isObjectProperty())throw TypeError("Cannot apply a numeric index as object property");return qz(e,r.getObjectProperty(),o),e}throw new TypeError("Cannot apply index: unsupported type of object")}catch(i){throw jK(i)}}}var IK=[{AssignmentNode:{},FunctionAssignmentNode:{}},{ConditionalNode:{latexLeftParens:!1,latexRightParens:!1,latexParens:!1}},{"OperatorNode:or":{associativity:"left",associativeWith:[]}},{"OperatorNode:xor":{associativity:"left",associativeWith:[]}},{"OperatorNode:and":{associativity:"left",associativeWith:[]}},{"OperatorNode:bitOr":{associativity:"left",associativeWith:[]}},{"OperatorNode:bitXor":{associativity:"left",associativeWith:[]}},{"OperatorNode:bitAnd":{associativity:"left",associativeWith:[]}},{"OperatorNode:equal":{associativity:"left",associativeWith:[]},"OperatorNode:unequal":{associativity:"left",associativeWith:[]},"OperatorNode:smaller":{associativity:"left",associativeWith:[]},"OperatorNode:larger":{associativity:"left",associativeWith:[]},"OperatorNode:smallerEq":{associativity:"left",associativeWith:[]},"OperatorNode:largerEq":{associativity:"left",associativeWith:[]},RelationalNode:{associativity:"left",associativeWith:[]}},{"OperatorNode:leftShift":{associativity:"left",associativeWith:[]},"OperatorNode:rightArithShift":{associativity:"left",associativeWith:[]},"OperatorNode:rightLogShift":{associativity:"left",associativeWith:[]}},{"OperatorNode:to":{associativity:"left",associativeWith:[]}},{RangeNode:{}},{"OperatorNode:add":{associativity:"left",associativeWith:["OperatorNode:add","OperatorNode:subtract"]},"OperatorNode:subtract":{associativity:"left",associativeWith:[]}},{"OperatorNode:multiply":{associativity:"left",associativeWith:["OperatorNode:multiply","OperatorNode:divide","Operator:dotMultiply","Operator:dotDivide"]},"OperatorNode:divide":{associativity:"left",associativeWith:[],latexLeftParens:!1,latexRightParens:!1,latexParens:!1},"OperatorNode:dotMultiply":{associativity:"left",associativeWith:["OperatorNode:multiply","OperatorNode:divide","OperatorNode:dotMultiply","OperatorNode:doDivide"]},"OperatorNode:dotDivide":{associativity:"left",associativeWith:[]},"OperatorNode:mod":{associativity:"left",associativeWith:[]}},{"OperatorNode:unaryPlus":{associativity:"right"},"OperatorNode:unaryMinus":{associativity:"right"},"OperatorNode:bitNot":{associativity:"right"},"OperatorNode:not":{associativity:"right"}},{"OperatorNode:pow":{associativity:"right",associativeWith:[],latexRightParens:!1},"OperatorNode:dotPow":{associativity:"right",associativeWith:[]}},{"OperatorNode:factorial":{associativity:"left"}},{"OperatorNode:transpose":{associativity:"left"}}];function BK(e,t){var n=e;"keep"!==t&&(n=e.getContent());for(var r=n.getIdentifier(),o=0;o<IK.length;o++)if(r in IK[o])return o;return null}function ZK(e,t){var n=e;"keep"!==t&&(n=e.getContent());var r=n.getIdentifier(),o=BK(n,t);if(null===o)return null;var i=IK[o][r];if(gz(i,"associativity")){if("left"===i.associativity)return"left";if("right"===i.associativity)return"right";throw Error("'"+r+"' has the invalid associativity '"+i.associativity+"'.")}return null}function RK(e,t,n){var r="keep"!==n?e.getContent():e,o="keep"!==n?e.getContent():t,i=r.getIdentifier(),a=o.getIdentifier(),u=BK(r,n);if(null===u)return null;var c=IK[u][i];if(gz(c,"associativeWith")&&c.associativeWith instanceof Array){for(var l=0;l<c.associativeWith.length;l++)if(c.associativeWith[l]===a)return!0;return!1}return null}var HK="AssignmentNode",VK=["subset","?matrix","Node"],XK=Cz(HK,VK,e=>{var{subset:t,matrix:n,Node:r}=e,o=TK({subset:t}),i=FK({subset:t,matrix:n});function a(e,t,n){if(!(this instanceof a))throw new SyntaxError("Constructor must be called with the new operator");if(this.object=e,this.index=n?t:null,this.value=n||t,!lJ(e)&&!KX(e))throw new TypeError('SymbolNode or AccessorNode expected as "object"');if(lJ(e)&&"end"===e.name)throw new Error('Cannot assign to symbol "end"');if(this.index&&!rJ(this.index))throw new TypeError('IndexNode expected as "index"');if(!oJ(this.value))throw new TypeError('Node expected as "value"');Object.defineProperty(this,"name",{get:function(){return this.index?this.index.isObjectProperty()?this.index.getObjectProperty():"":this.object.name||""}.bind(this),set:function(){throw new Error("Cannot assign a new name, name is read-only")}})}function u(e,t){t||(t="keep");var n=BK(e,t),r=BK(e.value,t);return"all"===t||null!==r&&r<=n}return a.prototype=new r,a.prototype.type="AssignmentNode",a.prototype.isAssignmentNode=!0,a.prototype._compile=function(e,t){var n=this.object._compile(e,t),r=this.index?this.index._compile(e,t):null,a=this.value._compile(e,t),u=this.object.name;if(this.index){if(this.index.isObjectProperty()){var c=this.index.getObjectProperty();return function(e,t,r){var o=n(e,t,r),i=a(e,t,r);return qz(o,c,i),i}}if(lJ(this.object))return function(e,t,o){var c=n(e,t,o),l=a(e,t,o),s=r(e,t,c);return e.set(u,i(c,s,l)),l};var l=this.object.object._compile(e,t);if(this.object.index.isObjectProperty()){var s=this.object.index.getObjectProperty();return function(e,t,n){var o=l(e,t,n),u=$z(o,s),c=r(e,t,u),d=a(e,t,n);return qz(o,s,i(u,c,d)),d}}var d=this.object.index._compile(e,t);return function(e,t,n){var u=l(e,t,n),c=d(e,t,u),s=o(u,c),f=r(e,t,s),p=a(e,t,n);return i(u,c,i(s,f,p)),p}}if(!lJ(this.object))throw new TypeError("SymbolNode expected as object");return function(e,t,n){var r=a(e,t,n);return e.set(u,r),r}},a.prototype.forEach=function(e){e(this.object,"object",this),this.index&&e(this.index,"index",this),e(this.value,"value",this)},a.prototype.map=function(e){var t=this._ifNode(e(this.object,"object",this)),n=this.index?this._ifNode(e(this.index,"index",this)):null,r=this._ifNode(e(this.value,"value",this));return new a(t,n,r)},a.prototype.clone=function(){return new a(this.object,this.index,this.value)},a.prototype._toString=function(e){var t=this.object.toString(e),n=this.index?this.index.toString(e):"",r=this.value.toString(e);return u(this,e&&e.parenthesis)&&(r="("+r+")"),t+n+" = "+r},a.prototype.toJSON=function(){return{mathjs:"AssignmentNode",object:this.object,index:this.index,value:this.value}},a.fromJSON=function(e){return new a(e.object,e.index,e.value)},a.prototype.toHTML=function(e){var t=this.object.toHTML(e),n=this.index?this.index.toHTML(e):"",r=this.value.toHTML(e);return u(this,e&&e.parenthesis)&&(r='<span class="math-paranthesis math-round-parenthesis">(</span>'+r+'<span class="math-paranthesis math-round-parenthesis">)</span>'),t+n+'<span class="math-operator math-assignment-operator math-variable-assignment-operator math-binary-operator">=</span>'+r},a.prototype._toTex=function(e){var t=this.object.toTex(e),n=this.index?this.index.toTex(e):"",r=this.value.toTex(e);return u(this,e&&e.parenthesis)&&(r="\\left(".concat(r,"\\right)")),t+n+":="+r},a},{isClass:!0,isNode:!0}),JK={matrixDependencies:pW,NodeDependencies:bK,subsetDependencies:xK,createAssignmentNode:XK},zK="ResultSet",QK=[],WK=Cz(zK,QK,()=>{function e(t){if(!(this instanceof e))throw new SyntaxError("Constructor must be called with the new operator");this.entries=t||[]}return e.prototype.type="ResultSet",e.prototype.isResultSet=!0,e.prototype.valueOf=function(){return this.entries},e.prototype.toString=function(){return"["+this.entries.join(", ")+"]"},e.prototype.toJSON=function(){return{mathjs:"ResultSet",entries:this.entries}},e.fromJSON=function(t){return new e(t.entries)},e},{isClass:!0}),KK={createResultSet:WK},UK="BlockNode",GK=["ResultSet","Node"],$K=Cz(UK,GK,e=>{var{ResultSet:t,Node:n}=e;function r(e){if(!(this instanceof r))throw new SyntaxError("Constructor must be called with the new operator");if(!Array.isArray(e))throw new Error("Array expected");this.blocks=e.map((function(e){var t=e&&e.node,n=!e||void 0===e.visible||e.visible;if(!oJ(t))throw new TypeError('Property "node" must be a Node');if("boolean"!==typeof n)throw new TypeError('Property "visible" must be a boolean');return{node:t,visible:n}}))}return r.prototype=new n,r.prototype.type="BlockNode",r.prototype.isBlockNode=!0,r.prototype._compile=function(e,n){var r=oz(this.blocks,(function(t){return{evaluate:t.node._compile(e,n),visible:t.visible}}));return function(e,n,o){var i=[];return iz(r,(function(t){var r=t.evaluate(e,n,o);t.visible&&i.push(r)})),new t(i)}},r.prototype.forEach=function(e){for(var t=0;t<this.blocks.length;t++)e(this.blocks[t].node,"blocks["+t+"].node",this)},r.prototype.map=function(e){for(var t=[],n=0;n<this.blocks.length;n++){var o=this.blocks[n],i=this._ifNode(e(o.node,"blocks["+n+"].node",this));t[n]={node:i,visible:o.visible}}return new r(t)},r.prototype.clone=function(){var e=this.blocks.map((function(e){return{node:e.node,visible:e.visible}}));return new r(e)},r.prototype._toString=function(e){return this.blocks.map((function(t){return t.node.toString(e)+(t.visible?"":";")})).join("\n")},r.prototype.toJSON=function(){return{mathjs:"BlockNode",blocks:this.blocks}},r.fromJSON=function(e){return new r(e.blocks)},r.prototype.toHTML=function(e){return this.blocks.map((function(t){return t.node.toHTML(e)+(t.visible?"":'<span class="math-separator">;</span>')})).join('<span class="math-separator"><br /></span>')},r.prototype._toTex=function(e){return this.blocks.map((function(t){return t.node.toTex(e)+(t.visible?"":";")})).join("\\;\\;\n")},r},{isClass:!0,isNode:!0}),qK={NodeDependencies:bK,ResultSetDependencies:KK,createBlockNode:$K},eU="ConditionalNode",tU=["Node"],nU=Cz(eU,tU,e=>{var{Node:t}=e;function n(e,t,r){if(!(this instanceof n))throw new SyntaxError("Constructor must be called with the new operator");if(!oJ(e))throw new TypeError("Parameter condition must be a Node");if(!oJ(t))throw new TypeError("Parameter trueExpr must be a Node");if(!oJ(r))throw new TypeError("Parameter falseExpr must be a Node");this.condition=e,this.trueExpr=t,this.falseExpr=r}function r(e){if("number"===typeof e||"boolean"===typeof e||"string"===typeof e)return!!e;if(e){if(TX(e))return!e.isZero();if(DX(e))return!(!e.re&&!e.im);if(kX(e))return!!e.value}if(null===e||void 0===e)return!1;throw new TypeError('Unsupported type of condition "'+dJ(e)+'"')}return n.prototype=new t,n.prototype.type="ConditionalNode",n.prototype.isConditionalNode=!0,n.prototype._compile=function(e,t){var n=this.condition._compile(e,t),o=this.trueExpr._compile(e,t),i=this.falseExpr._compile(e,t);return function(e,t,a){return r(n(e,t,a))?o(e,t,a):i(e,t,a)}},n.prototype.forEach=function(e){e(this.condition,"condition",this),e(this.trueExpr,"trueExpr",this),e(this.falseExpr,"falseExpr",this)},n.prototype.map=function(e){return new n(this._ifNode(e(this.condition,"condition",this)),this._ifNode(e(this.trueExpr,"trueExpr",this)),this._ifNode(e(this.falseExpr,"falseExpr",this)))},n.prototype.clone=function(){return new n(this.condition,this.trueExpr,this.falseExpr)},n.prototype._toString=function(e){var t=e&&e.parenthesis?e.parenthesis:"keep",n=BK(this,t),r=this.condition.toString(e),o=BK(this.condition,t);("all"===t||"OperatorNode"===this.condition.type||null!==o&&o<=n)&&(r="("+r+")");var i=this.trueExpr.toString(e),a=BK(this.trueExpr,t);("all"===t||"OperatorNode"===this.trueExpr.type||null!==a&&a<=n)&&(i="("+i+")");var u=this.falseExpr.toString(e),c=BK(this.falseExpr,t);return("all"===t||"OperatorNode"===this.falseExpr.type||null!==c&&c<=n)&&(u="("+u+")"),r+" ? "+i+" : "+u},n.prototype.toJSON=function(){return{mathjs:"ConditionalNode",condition:this.condition,trueExpr:this.trueExpr,falseExpr:this.falseExpr}},n.fromJSON=function(e){return new n(e.condition,e.trueExpr,e.falseExpr)},n.prototype.toHTML=function(e){var t=e&&e.parenthesis?e.parenthesis:"keep",n=BK(this,t),r=this.condition.toHTML(e),o=BK(this.condition,t);("all"===t||"OperatorNode"===this.condition.type||null!==o&&o<=n)&&(r='<span class="math-parenthesis math-round-parenthesis">(</span>'+r+'<span class="math-parenthesis math-round-parenthesis">)</span>');var i=this.trueExpr.toHTML(e),a=BK(this.trueExpr,t);("all"===t||"OperatorNode"===this.trueExpr.type||null!==a&&a<=n)&&(i='<span class="math-parenthesis math-round-parenthesis">(</span>'+i+'<span class="math-parenthesis math-round-parenthesis">)</span>');var u=this.falseExpr.toHTML(e),c=BK(this.falseExpr,t);return("all"===t||"OperatorNode"===this.falseExpr.type||null!==c&&c<=n)&&(u='<span class="math-parenthesis math-round-parenthesis">(</span>'+u+'<span class="math-parenthesis math-round-parenthesis">)</span>'),r+'<span class="math-operator math-conditional-operator">?</span>'+i+'<span class="math-operator math-conditional-operator">:</span>'+u},n.prototype._toTex=function(e){return"\\begin{cases} {"+this.trueExpr.toTex(e)+"}, &\\quad{\\text{if }\\;"+this.condition.toTex(e)+"}\\\\{"+this.falseExpr.toTex(e)+"}, &\\quad{\\text{otherwise}}\\end{cases}"},n},{isClass:!0,isNode:!0}),rU={NodeDependencies:bK,createConditionalNode:nU},oU=n("4788"),iU=n.n(oU),aU={Alpha:"A",alpha:"\\alpha",Beta:"B",beta:"\\beta",Gamma:"\\Gamma",gamma:"\\gamma",Delta:"\\Delta",delta:"\\delta",Epsilon:"E",epsilon:"\\epsilon",varepsilon:"\\varepsilon",Zeta:"Z",zeta:"\\zeta",Eta:"H",eta:"\\eta",Theta:"\\Theta",theta:"\\theta",vartheta:"\\vartheta",Iota:"I",iota:"\\iota",Kappa:"K",kappa:"\\kappa",varkappa:"\\varkappa",Lambda:"\\Lambda",lambda:"\\lambda",Mu:"M",mu:"\\mu",Nu:"N",nu:"\\nu",Xi:"\\Xi",xi:"\\xi",Omicron:"O",omicron:"o",Pi:"\\Pi",pi:"\\pi",varpi:"\\varpi",Rho:"P",rho:"\\rho",varrho:"\\varrho",Sigma:"\\Sigma",sigma:"\\sigma",varsigma:"\\varsigma",Tau:"T",tau:"\\tau",Upsilon:"\\Upsilon",upsilon:"\\upsilon",Phi:"\\Phi",phi:"\\phi",varphi:"\\varphi",Chi:"X",chi:"\\chi",Psi:"\\Psi",psi:"\\psi",Omega:"\\Omega",omega:"\\omega",true:"\\mathrm{True}",false:"\\mathrm{False}",i:"i",inf:"\\infty",Inf:"\\infty",infinity:"\\infty",Infinity:"\\infty",oo:"\\infty",lim:"\\lim",undefined:"\\mathbf{?}"},uU={transpose:"^\\top",ctranspose:"^H",factorial:"!",pow:"^",dotPow:".^\\wedge",unaryPlus:"+",unaryMinus:"-",bitNot:"\\~",not:"\\neg",multiply:"\\cdot",divide:"\\frac",dotMultiply:".\\cdot",dotDivide:".:",mod:"\\mod",add:"+",subtract:"-",to:"\\rightarrow",leftShift:"<<",rightArithShift:">>",rightLogShift:">>>",equal:"=",unequal:"\\neq",smaller:"<",larger:">",smallerEq:"\\leq",largerEq:"\\geq",bitAnd:"\\&",bitXor:"\\underline{|}",bitOr:"|",and:"\\wedge",xor:"\\veebar",or:"\\vee"},cU={abs:{1:"\\left|${args[0]}\\right|"},add:{2:"\\left(${args[0]}".concat(uU.add,"${args[1]}\\right)")},cbrt:{1:"\\sqrt[3]{${args[0]}}"},ceil:{1:"\\left\\lceil${args[0]}\\right\\rceil"},cube:{1:"\\left(${args[0]}\\right)^3"},divide:{2:"\\frac{${args[0]}}{${args[1]}}"},dotDivide:{2:"\\left(${args[0]}".concat(uU.dotDivide,"${args[1]}\\right)")},dotMultiply:{2:"\\left(${args[0]}".concat(uU.dotMultiply,"${args[1]}\\right)")},dotPow:{2:"\\left(${args[0]}".concat(uU.dotPow,"${args[1]}\\right)")},exp:{1:"\\exp\\left(${args[0]}\\right)"},expm1:"\\left(e".concat(uU.pow,"{${args[0]}}-1\\right)"),fix:{1:"\\mathrm{${name}}\\left(${args[0]}\\right)"},floor:{1:"\\left\\lfloor${args[0]}\\right\\rfloor"},gcd:"\\gcd\\left(${args}\\right)",hypot:"\\hypot\\left(${args}\\right)",log:{1:"\\ln\\left(${args[0]}\\right)",2:"\\log_{${args[1]}}\\left(${args[0]}\\right)"},log10:{1:"\\log_{10}\\left(${args[0]}\\right)"},log1p:{1:"\\ln\\left(${args[0]}+1\\right)",2:"\\log_{${args[1]}}\\left(${args[0]}+1\\right)"},log2:"\\log_{2}\\left(${args[0]}\\right)",mod:{2:"\\left(${args[0]}".concat(uU.mod,"${args[1]}\\right)")},multiply:{2:"\\left(${args[0]}".concat(uU.multiply,"${args[1]}\\right)")},norm:{1:"\\left\\|${args[0]}\\right\\|",2:void 0},nthRoot:{2:"\\sqrt[${args[1]}]{${args[0]}}"},nthRoots:{2:"\\{y : $y^{args[1]} = {${args[0]}}\\}"},pow:{2:"\\left(${args[0]}\\right)".concat(uU.pow,"{${args[1]}}")},round:{1:"\\left\\lfloor${args[0]}\\right\\rceil",2:void 0},sign:{1:"\\mathrm{${name}}\\left(${args[0]}\\right)"},sqrt:{1:"\\sqrt{${args[0]}}"},square:{1:"\\left(${args[0]}\\right)^2"},subtract:{2:"\\left(${args[0]}".concat(uU.subtract,"${args[1]}\\right)")},unaryMinus:{1:"".concat(uU.unaryMinus,"\\left(${args[0]}\\right)")},unaryPlus:{1:"".concat(uU.unaryPlus,"\\left(${args[0]}\\right)")},bitAnd:{2:"\\left(${args[0]}".concat(uU.bitAnd,"${args[1]}\\right)")},bitNot:{1:uU.bitNot+"\\left(${args[0]}\\right)"},bitOr:{2:"\\left(${args[0]}".concat(uU.bitOr,"${args[1]}\\right)")},bitXor:{2:"\\left(${args[0]}".concat(uU.bitXor,"${args[1]}\\right)")},leftShift:{2:"\\left(${args[0]}".concat(uU.leftShift,"${args[1]}\\right)")},rightArithShift:{2:"\\left(${args[0]}".concat(uU.rightArithShift,"${args[1]}\\right)")},rightLogShift:{2:"\\left(${args[0]}".concat(uU.rightLogShift,"${args[1]}\\right)")},bellNumbers:{1:"\\mathrm{B}_{${args[0]}}"},catalan:{1:"\\mathrm{C}_{${args[0]}}"},stirlingS2:{2:"\\mathrm{S}\\left(${args}\\right)"},arg:{1:"\\arg\\left(${args[0]}\\right)"},conj:{1:"\\left(${args[0]}\\right)^*"},im:{1:"\\Im\\left\\lbrace${args[0]}\\right\\rbrace"},re:{1:"\\Re\\left\\lbrace${args[0]}\\right\\rbrace"},and:{2:"\\left(${args[0]}".concat(uU.and,"${args[1]}\\right)")},not:{1:uU.not+"\\left(${args[0]}\\right)"},or:{2:"\\left(${args[0]}".concat(uU.or,"${args[1]}\\right)")},xor:{2:"\\left(${args[0]}".concat(uU.xor,"${args[1]}\\right)")},cross:{2:"\\left(${args[0]}\\right)\\times\\left(${args[1]}\\right)"},ctranspose:{1:"\\left(${args[0]}\\right)".concat(uU.ctranspose)},det:{1:"\\det\\left(${args[0]}\\right)"},dot:{2:"\\left(${args[0]}\\cdot${args[1]}\\right)"},expm:{1:"\\exp\\left(${args[0]}\\right)"},inv:{1:"\\left(${args[0]}\\right)^{-1}"},pinv:{1:"\\left(${args[0]}\\right)^{+}"},sqrtm:{1:"{${args[0]}}".concat(uU.pow,"{\\frac{1}{2}}")},trace:{1:"\\mathrm{tr}\\left(${args[0]}\\right)"},transpose:{1:"\\left(${args[0]}\\right)".concat(uU.transpose)},combinations:{2:"\\binom{${args[0]}}{${args[1]}}"},combinationsWithRep:{2:"\\left(\\!\\!{\\binom{${args[0]}}{${args[1]}}}\\!\\!\\right)"},factorial:{1:"\\left(${args[0]}\\right)".concat(uU.factorial)},gamma:{1:"\\Gamma\\left(${args[0]}\\right)"},lgamma:{1:"\\ln\\Gamma\\left(${args[0]}\\right)"},equal:{2:"\\left(${args[0]}".concat(uU.equal,"${args[1]}\\right)")},larger:{2:"\\left(${args[0]}".concat(uU.larger,"${args[1]}\\right)")},largerEq:{2:"\\left(${args[0]}".concat(uU.largerEq,"${args[1]}\\right)")},smaller:{2:"\\left(${args[0]}".concat(uU.smaller,"${args[1]}\\right)")},smallerEq:{2:"\\left(${args[0]}".concat(uU.smallerEq,"${args[1]}\\right)")},unequal:{2:"\\left(${args[0]}".concat(uU.unequal,"${args[1]}\\right)")},erf:{1:"erf\\left(${args[0]}\\right)"},max:"\\max\\left(${args}\\right)",min:"\\min\\left(${args}\\right)",variance:"\\mathrm{Var}\\left(${args}\\right)",acos:{1:"\\cos^{-1}\\left(${args[0]}\\right)"},acosh:{1:"\\cosh^{-1}\\left(${args[0]}\\right)"},acot:{1:"\\cot^{-1}\\left(${args[0]}\\right)"},acoth:{1:"\\coth^{-1}\\left(${args[0]}\\right)"},acsc:{1:"\\csc^{-1}\\left(${args[0]}\\right)"},acsch:{1:"\\mathrm{csch}^{-1}\\left(${args[0]}\\right)"},asec:{1:"\\sec^{-1}\\left(${args[0]}\\right)"},asech:{1:"\\mathrm{sech}^{-1}\\left(${args[0]}\\right)"},asin:{1:"\\sin^{-1}\\left(${args[0]}\\right)"},asinh:{1:"\\sinh^{-1}\\left(${args[0]}\\right)"},atan:{1:"\\tan^{-1}\\left(${args[0]}\\right)"},atan2:{2:"\\mathrm{atan2}\\left(${args}\\right)"},atanh:{1:"\\tanh^{-1}\\left(${args[0]}\\right)"},cos:{1:"\\cos\\left(${args[0]}\\right)"},cosh:{1:"\\cosh\\left(${args[0]}\\right)"},cot:{1:"\\cot\\left(${args[0]}\\right)"},coth:{1:"\\coth\\left(${args[0]}\\right)"},csc:{1:"\\csc\\left(${args[0]}\\right)"},csch:{1:"\\mathrm{csch}\\left(${args[0]}\\right)"},sec:{1:"\\sec\\left(${args[0]}\\right)"},sech:{1:"\\mathrm{sech}\\left(${args[0]}\\right)"},sin:{1:"\\sin\\left(${args[0]}\\right)"},sinh:{1:"\\sinh\\left(${args[0]}\\right)"},tan:{1:"\\tan\\left(${args[0]}\\right)"},tanh:{1:"\\tanh\\left(${args[0]}\\right)"},to:{2:"\\left(${args[0]}".concat(uU.to,"${args[1]}\\right)")},numeric:function(e,t){return e.args[0].toTex()},number:{0:"0",1:"\\left(${args[0]}\\right)",2:"\\left(\\left(${args[0]}\\right)${args[1]}\\right)"},string:{0:'\\mathtt{""}',1:"\\mathrm{string}\\left(${args[0]}\\right)"},bignumber:{0:"0",1:"\\left(${args[0]}\\right)"},complex:{0:"0",1:"\\left(${args[0]}\\right)",2:"\\left(\\left(${args[0]}\\right)+".concat(aU.i,"\\cdot\\left(${args[1]}\\right)\\right)")},matrix:{0:"\\begin{bmatrix}\\end{bmatrix}",1:"\\left(${args[0]}\\right)",2:"\\left(${args[0]}\\right)"},sparse:{0:"\\begin{bsparse}\\end{bsparse}",1:"\\left(${args[0]}\\right)"},unit:{1:"\\left(${args[0]}\\right)",2:"\\left(\\left(${args[0]}\\right)${args[1]}\\right)"}},lU="\\mathrm{${name}}\\left(${args}\\right)",sU={deg:"^\\circ"};function dU(e){return iU()(e,{preserveFormatting:!0})}function fU(e,t){return t="undefined"!==typeof t&&t,t?gz(sU,e)?sU[e]:"\\mathrm{"+dU(e)+"}":gz(aU,e)?aU[e]:dU(e)}var pU="ConstantNode",vU=["Node"],hU=Cz(pU,vU,e=>{var{Node:t}=e;function n(e){if(!(this instanceof n))throw new SyntaxError("Constructor must be called with the new operator");this.value=e}return n.prototype=new t,n.prototype.type="ConstantNode",n.prototype.isConstantNode=!0,n.prototype._compile=function(e,t){var n=this.value;return function(){return n}},n.prototype.forEach=function(e){},n.prototype.map=function(e){return this.clone()},n.prototype.clone=function(){return new n(this.value)},n.prototype._toString=function(e){return FJ(this.value,e)},n.prototype.toHTML=function(e){var t=this._toString(e);switch(dJ(this.value)){case"number":case"BigNumber":case"Fraction":return'<span class="math-number">'+t+"</span>";case"string":return'<span class="math-string">'+t+"</span>";case"boolean":return'<span class="math-boolean">'+t+"</span>";case"null":return'<span class="math-null-symbol">'+t+"</span>";case"undefined":return'<span class="math-undefined">'+t+"</span>";default:return'<span class="math-symbol">'+t+"</span>"}},n.prototype.toJSON=function(){return{mathjs:"ConstantNode",value:this.value}},n.fromJSON=function(e){return new n(e.value)},n.prototype._toTex=function(e){var t=this._toString(e);switch(dJ(this.value)){case"string":return"\\mathtt{"+dU(t)+"}";case"number":case"BigNumber":if(!isFinite(this.value))return this.value.valueOf()<0?"-\\infty":"\\infty";var n=t.toLowerCase().indexOf("e");return-1!==n?t.substring(0,n)+"\\cdot10^{"+t.substring(n+1)+"}":t;case"Fraction":return this.value.toLatex();default:return t}},n},{isClass:!0,isNode:!0}),mU={NodeDependencies:bK,createConstantNode:hU},gU="FunctionAssignmentNode",bU=["typed","Node"],yU=Cz(gU,bU,e=>{var{typed:t,Node:n}=e;function r(e,t,n){if(!(this instanceof r))throw new SyntaxError("Constructor must be called with the new operator");if("string"!==typeof e)throw new TypeError('String expected for parameter "name"');if(!Array.isArray(t))throw new TypeError('Array containing strings or objects expected for parameter "params"');if(!oJ(n))throw new TypeError('Node expected for parameter "expr"');if(vK.has(e))throw new Error('Illegal function name, "'+e+'" is a reserved keyword');this.name=e,this.params=t.map((function(e){return e&&e.name||e})),this.types=t.map((function(e){return e&&e.type||"any"})),this.expr=n}function o(e,t){var n=BK(e,t),r=BK(e.expr,t);return"all"===t||null!==r&&r<=n}return r.prototype=new n,r.prototype.type="FunctionAssignmentNode",r.prototype.isFunctionAssignmentNode=!0,r.prototype._compile=function(e,n){var r=Object.create(n);iz(this.params,(function(e){r[e]=!0}));var o=this.expr._compile(e,r),i=this.name,a=this.params,u=az(this.types,","),c=i+"("+az(this.params,", ")+")";return function(e,n,r){var l={};l[u]=function(){for(var t=Object.create(n),i=0;i<a.length;i++)t[a[i]]=arguments[i];return o(e,t,r)};var s=t(i,l);return s.syntax=c,e.set(i,s),s}},r.prototype.forEach=function(e){e(this.expr,"expr",this)},r.prototype.map=function(e){var t=this._ifNode(e(this.expr,"expr",this));return new r(this.name,this.params.slice(0),t)},r.prototype.clone=function(){return new r(this.name,this.params.slice(0),this.expr)},r.prototype._toString=function(e){var t=e&&e.parenthesis?e.parenthesis:"keep",n=this.expr.toString(e);return o(this,t)&&(n="("+n+")"),this.name+"("+this.params.join(", ")+") = "+n},r.prototype.toJSON=function(){var e=this.types;return{mathjs:"FunctionAssignmentNode",name:this.name,params:this.params.map((function(t,n){return{name:t,type:e[n]}})),expr:this.expr}},r.fromJSON=function(e){return new r(e.name,e.params,e.expr)},r.prototype.toHTML=function(e){for(var t=e&&e.parenthesis?e.parenthesis:"keep",n=[],r=0;r<this.params.length;r++)n.push('<span class="math-symbol math-parameter">'+ZJ(this.params[r])+"</span>");var i=this.expr.toHTML(e);return o(this,t)&&(i='<span class="math-parenthesis math-round-parenthesis">(</span>'+i+'<span class="math-parenthesis math-round-parenthesis">)</span>'),'<span class="math-function">'+ZJ(this.name)+'</span><span class="math-parenthesis math-round-parenthesis">(</span>'+n.join('<span class="math-separator">,</span>')+'<span class="math-parenthesis math-round-parenthesis">)</span><span class="math-operator math-assignment-operator math-variable-assignment-operator math-binary-operator">=</span>'+i},r.prototype._toTex=function(e){var t=e&&e.parenthesis?e.parenthesis:"keep",n=this.expr.toTex(e);return o(this,t)&&(n="\\left(".concat(n,"\\right)")),"\\mathrm{"+this.name+"}\\left("+this.params.map(fU).join(",")+"\\right):="+n},r},{isClass:!0,isNode:!0}),OU={NodeDependencies:bK,typedDependencies:yQ,createFunctionAssignmentNode:yU},CU="abs",wU=["typed"],SU=Cz(CU,wU,e=>{var{typed:t}=e;return t(CU,{number:xQ,Complex:function(e){return e.abs()},BigNumber:function(e){return e.abs()},Fraction:function(e){return e.abs()},"Array | Matrix":function(e){return vW(e,this,!0)},Unit:function(e){return e.abs()}})}),NU={typedDependencies:yQ,createAbs:SU},MU="bignumber",xU=["typed","BigNumber"],jU=Cz(MU,xU,e=>{var{typed:t,BigNumber:n}=e;return t("bignumber",{"":function(){return new n(0)},number:function(e){return new n(e+"")},string:function(e){var t=e.match(/(0[box][0-9a-fA-F]*)i([0-9]*)/);if(t){var r=t[2],o=n(t[1]),i=new n(2).pow(Number(r));if(o.gt(i.sub(1)))throw new SyntaxError('String "'.concat(e,'" is out of range'));var a=new n(2).pow(Number(r)-1);return o.gte(a)?o.sub(i):o}return new n(e)},BigNumber:function(e){return e},Fraction:function(e){return new n(e.n).div(e.d).times(e.s)},null:function(e){return new n(0)},"Array | Matrix":function(e){return vW(e,this)}})}),TU={BigNumberDependencies:Dz,typedDependencies:yQ,createBignumber:jU},DU="fraction",EU=["typed","Fraction"],kU=Cz(DU,EU,e=>{var{typed:t,Fraction:n}=e;return t("fraction",{number:function(e){if(!isFinite(e)||isNaN(e))throw new Error(e+" cannot be represented as a fraction");return new n(e)},string:function(e){return new n(e)},"number, number":function(e,t){return new n(e,t)},null:function(e){return new n(0)},BigNumber:function(e){return new n(e.toString())},Fraction:function(e){return e},Object:function(e){return new n(e)},"Array | Matrix":function(e){return vW(e,this)}})}),LU={FractionDependencies:Kz,typedDependencies:yQ,createFraction:kU},YU="number",_U=["typed"];function AU(e){var t=e.match(/(0[box])([0-9a-fA-F]*)\.([0-9a-fA-F]*)/);if(t){var n={"0b":2,"0o":8,"0x":16}[t[1]],r=t[2],o=t[3];return{input:e,radix:n,integerPart:r,fractionalPart:o}}return null}function PU(e){for(var t=parseInt(e.integerPart,e.radix),n=0,r=0;r<e.fractionalPart.length;r++){var o=parseInt(e.fractionalPart[r],e.radix);n+=o/Math.pow(e.radix,r+1)}var i=t+n;if(isNaN(i))throw new SyntaxError('String "'+e.input+'" is no valid number');return i}var FU=Cz(YU,_U,e=>{var{typed:t}=e,n=t("number",{"":function(){return 0},number:function(e){return e},string:function(e){if("NaN"===e)return NaN;var t=AU(e);if(t)return PU(t);var n=0,r=e.match(/(0[box][0-9a-fA-F]*)i([0-9]*)/);r&&(n=Number(r[2]),e=r[1]);var o=Number(e);if(isNaN(o))throw new SyntaxError('String "'+e+'" is no valid number');if(r){if(o>2**n-1)throw new SyntaxError('String "'.concat(e,'" is out of range'));o>=2**(n-1)&&(o-=2**n)}return o},BigNumber:function(e){return e.toNumber()},Fraction:function(e){return e.valueOf()},Unit:function(e){throw new Error("Second argument with valueless unit expected")},null:function(e){return 0},"Unit, string | Unit":function(e,t){return e.toNumber(t)},"Array | Matrix":function(e){return vW(e,this)}});return n.fromJSON=function(e){return parseFloat(e.value)},n}),IU={typedDependencies:yQ,createNumber:FU},BU="numeric",ZU=["number","?bignumber","?fraction"],RU=Cz(BU,ZU,e=>{var{number:t,bignumber:n,fraction:r}=e,o={string:!0,number:!0,BigNumber:!0,Fraction:!0},i={number:e=>t(e),BigNumber:n?e=>n(e):UW,Fraction:r?e=>r(e):GW};return function(e,t){var n=dJ(e);if(!(n in o))throw new TypeError("Cannot convert "+e+' of type "'+n+'"; valid input types are '+Object.keys(o).join(", "));if(!(t in i))throw new TypeError("Cannot convert "+e+' to type "'+t+'"; valid output types are '+Object.keys(i).join(", "));return t===n?e:i[t](e)}}),HU={bignumberDependencies:TU,fractionDependencies:LU,numberDependencies:IU,createNumeric:RU},VU="divideScalar",XU=["typed","numeric"],JU=Cz(VU,XU,e=>{var{typed:t,numeric:n}=e;return t(VU,{"number, number":function(e,t){return e/t},"Complex, Complex":function(e,t){return e.div(t)},"BigNumber, BigNumber":function(e,t){return e.div(t)},"Fraction, Fraction":function(e,t){return e.div(t)},"Unit, number | Fraction | BigNumber":function(e,t){var r=e.clone(),o=n(1,dJ(t));return r.value=this(null===r.value?r._normalize(o):r.value,t),r},"number | Fraction | BigNumber, Unit":function(e,t){var r=t.clone();r=r.pow(-1);var o=n(1,dJ(e));return r.value=this(e,null===t.value?t._normalize(o):t.value),r},"Unit, Unit":function(e,t){return e.divide(t)}})}),zU={numericDependencies:HU,typedDependencies:yQ,createDivideScalar:JU},QU="algorithm07",WU=["typed","DenseMatrix"],KU=Cz(QU,WU,e=>{var{typed:t,DenseMatrix:n}=e;return function(e,o,i){var a=e._size,u=e._datatype,c=o._size,l=o._datatype;if(a.length!==c.length)throw new VJ(a.length,c.length);if(a[0]!==c[0]||a[1]!==c[1])throw new RangeError("Dimension mismatch. Matrix A ("+a+") must match Matrix B ("+c+")");var s,d,f,p=a[0],v=a[1],h=0,m=i;"string"===typeof u&&u===l&&(s=u,h=t.convert(0,s),m=t.find(i,[s,s]));var g=[];for(d=0;d<p;d++)g[d]=[];var b=[],y=[],O=[],C=[];for(f=0;f<v;f++){var w=f+1;for(r(e,f,O,b,w),r(o,f,C,y,w),d=0;d<p;d++){var S=O[d]===w?b[d]:h,N=C[d]===w?y[d]:h;g[d][f]=m(S,N)}}return new n({data:g,size:[p,v],datatype:s})};function r(e,t,n,r,o){for(var i=e._values,a=e._index,u=e._ptr,c=u[t],l=u[t+1];c<l;c++){var s=a[c];n[s]=o,r[s]=i[c]}}}),UU="algorithm12",GU=["typed","DenseMatrix"],$U=Cz(UU,GU,e=>{var{typed:t,DenseMatrix:n}=e;return function(e,r,o,i){var a=e._values,u=e._index,c=e._ptr,l=e._size,s=e._datatype;if(!a)throw new Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var d,f=l[0],p=l[1],v=o;"string"===typeof s&&(d=s,r=t.convert(r,d),v=t.find(o,[d,d]));for(var h=[],m=[],g=[],b=0;b<p;b++){for(var y=b+1,O=c[b],C=c[b+1],w=O;w<C;w++){var S=u[w];m[S]=a[w],g[S]=y}for(var N=0;N<f;N++)0===b&&(h[N]=[]),g[N]===y?h[N][b]=i?v(r,m[N]):v(m[N],r):h[N][b]=i?v(r,0):v(0,r)}return new n({data:h,size:[f,p],datatype:d})}}),qU="equal",eG=["typed","matrix","equalScalar","DenseMatrix"],tG=Cz(qU,eG,e=>{var{typed:t,matrix:n,equalScalar:r,DenseMatrix:o}=e,i=NW({typed:t}),a=KU({typed:t,DenseMatrix:o}),u=$U({typed:t,DenseMatrix:o}),c=YW({typed:t}),l=PW({typed:t});return t(qU,{"any, any":function(e,t){return null===e?null===t:null===t?null===e:void 0===e?void 0===t:void 0===t?void 0===e:r(e,t)},"SparseMatrix, SparseMatrix":function(e,t){return a(e,t,r)},"SparseMatrix, DenseMatrix":function(e,t){return i(t,e,r,!0)},"DenseMatrix, SparseMatrix":function(e,t){return i(e,t,r,!1)},"DenseMatrix, DenseMatrix":function(e,t){return c(e,t,r)},"Array, Array":function(e,t){return this(n(e),n(t)).valueOf()},"Array, Matrix":function(e,t){return this(n(e),t)},"Matrix, Array":function(e,t){return this(e,n(t))},"SparseMatrix, any":function(e,t){return u(e,t,r,!1)},"DenseMatrix, any":function(e,t){return l(e,t,r,!1)},"any, SparseMatrix":function(e,t){return u(t,e,r,!0)},"any, DenseMatrix":function(e,t){return l(t,e,r,!0)},"Array, any":function(e,t){return l(n(e),t,r,!1).valueOf()},"any, Array":function(e,t){return l(n(t),e,r,!0).valueOf()}})}),nG=(Cz(qU,["typed","equalScalar"],e=>{var{typed:t,equalScalar:n}=e;return t(qU,{"any, any":function(e,t){return null===e?null===t:null===t?null===e:void 0===e?void 0===t:void 0===t?void 0===e:n(e,t)}})}),{DenseMatrixDependencies:Vz,equalScalarDependencies:iW,matrixDependencies:pW,typedDependencies:yQ,createEqual:tG}),rG="zeros",oG=["typed","config","matrix","BigNumber"],iG=Cz(rG,oG,e=>{var{typed:t,config:n,matrix:r,BigNumber:o}=e;return t(rG,{"":function(){return"Array"===n.matrix?i([]):i([],"default")},"...number | BigNumber | string":function(e){var t=e[e.length-1];if("string"===typeof t){var r=e.pop();return i(e,r)}return"Array"===n.matrix?i(e):i(e,"default")},Array:i,Matrix:function(e){var t=e.storage();return i(e.valueOf(),t)},"Array | Matrix, string":function(e,t){return i(e.valueOf(),t)}});function i(e,t){var n=a(e),i=n?new o(0):0;if(u(e),t){var c=r(t);return e.length>0?c.resize(e,i):c}var l=[];return e.length>0?KJ(l,e,i):l}function a(e){var t=!1;return e.forEach((function(e,n,r){TX(e)&&(t=!0,r[n]=e.toNumber())})),t}function u(e){e.forEach((function(e){if("number"!==typeof e||!fJ(e)||e<0)throw new Error("Parameters in function zeros must be positive integers")}))}}),aG={BigNumberDependencies:Dz,matrixDependencies:pW,typedDependencies:yQ,createZeros:iG},uG="Number of decimals in function round must be an integer",cG="round",lG=["typed","matrix","equalScalar","zeros","BigNumber","DenseMatrix"],sG=Cz(cG,lG,e=>{var{typed:t,matrix:n,equalScalar:r,zeros:o,BigNumber:i,DenseMatrix:a}=e,u=lK({typed:t,equalScalar:r}),c=$U({typed:t,DenseMatrix:a}),l=PW({typed:t});return t(cG,{number:WQ,"number, number":WQ,"number, BigNumber":function(e,t){if(!t.isInteger())throw new TypeError(uG);return new i(e).toDecimalPlaces(t.toNumber())},Complex:function(e){return e.round()},"Complex, number":function(e,t){if(t%1)throw new TypeError(uG);return e.round(t)},"Complex, BigNumber":function(e,t){if(!t.isInteger())throw new TypeError(uG);var n=t.toNumber();return e.round(n)},BigNumber:function(e){return e.toDecimalPlaces(0)},"BigNumber, BigNumber":function(e,t){if(!t.isInteger())throw new TypeError(uG);return e.toDecimalPlaces(t.toNumber())},Fraction:function(e){return e.round()},"Fraction, number":function(e,t){if(t%1)throw new TypeError(uG);return e.round(t)},"Fraction, BigNumber":function(e,t){if(!t.isInteger())throw new TypeError(uG);return e.round(t.toNumber())},"Array | Matrix":function(e){return vW(e,this,!0)},"SparseMatrix, number | BigNumber":function(e,t){return u(e,t,this,!1)},"DenseMatrix, number | BigNumber":function(e,t){return l(e,t,this,!1)},"Array, number | BigNumber":function(e,t){return l(n(e),t,this,!1).valueOf()},"number | Complex | BigNumber | Fraction, SparseMatrix":function(e,t){return r(e,0)?o(t.size(),t.storage()):c(t,e,this,!0)},"number | Complex | BigNumber | Fraction, DenseMatrix":function(e,t){return r(e,0)?o(t.size(),t.storage()):l(t,e,this,!0)},"number | Complex | BigNumber | Fraction, Array":function(e,t){return l(n(t),e,this,!0).valueOf()}})}),dG={BigNumberDependencies:Dz,DenseMatrixDependencies:Vz,equalScalarDependencies:iW,matrixDependencies:pW,typedDependencies:yQ,zerosDependencies:aG,createRound:sG},fG="ceil",pG=["typed","config","round","matrix","equalScalar","zeros","DenseMatrix"],vG=Cz(fG,["typed","config","round"],e=>{var{typed:t,config:n,round:r}=e;return t(fG,{number:function(e){return EJ(e,r(e),n.epsilon)?r(e):Math.ceil(e)},"number, number":function(e,t){if(EJ(e,r(e,t),n.epsilon))return r(e,t);var[o,i]="".concat(e,"e").split("e"),a=Math.ceil(Number("".concat(o,"e").concat(Number(i)+t)));return[o,i]="".concat(a,"e").split("e"),Number("".concat(o,"e").concat(Number(i)-t))}})}),hG=Cz(fG,pG,e=>{var{typed:t,config:n,round:r,matrix:o,equalScalar:i,zeros:a,DenseMatrix:u}=e,c=lK({typed:t,equalScalar:i}),l=$U({typed:t,DenseMatrix:u}),s=PW({typed:t}),d=vG({typed:t,config:n,round:r});return t("ceil",{number:d.signatures.number,"number,number":d.signatures["number,number"],Complex:function(e){return e.ceil()},"Complex, number":function(e,t){return e.ceil(t)},"Complex, BigNumber":function(e,t){return e.ceil(t.toNumber())},BigNumber:function(e){return eW(e,r(e),n.epsilon)?r(e):e.ceil()},"BigNumber, BigNumber":function(e,t){return eW(e,r(e,t),n.epsilon)?r(e,t):e.toDecimalPlaces(t.toNumber(),xX.a.ROUND_CEIL)},Fraction:function(e){return e.ceil()},"Fraction, number":function(e,t){return e.ceil(t)},"Fraction, BigNumber":function(e,t){return e.ceil(t.toNumber())},"Array | Matrix":function(e){return vW(e,this,!0)},"Array, number | BigNumber":function(e,t){return vW(e,e=>this(e,t),!0)},"SparseMatrix, number | BigNumber":function(e,t){return c(e,t,this,!1)},"DenseMatrix, number | BigNumber":function(e,t){return s(e,t,this,!1)},"number | Complex | Fraction | BigNumber, Array":function(e,t){return s(o(t),e,this,!0).valueOf()},"number | Complex | Fraction | BigNumber, Matrix":function(e,t){return i(e,0)?a(t.size(),t.storage()):"dense"===t.storage()?s(t,e,this,!0):l(t,e,this,!0)}})}),mG={DenseMatrixDependencies:Vz,equalScalarDependencies:iW,matrixDependencies:pW,roundDependencies:dG,typedDependencies:yQ,zerosDependencies:aG,createCeil:hG},gG="floor",bG=["typed","config","round","matrix","equalScalar","zeros","DenseMatrix"],yG=Cz(gG,["typed","config","round"],e=>{var{typed:t,config:n,round:r}=e;return t(gG,{number:function(e){return EJ(e,r(e),n.epsilon)?r(e):Math.floor(e)},"number, number":function(e,t){if(EJ(e,r(e,t),n.epsilon))return r(e,t);var[o,i]="".concat(e,"e").split("e"),a=Math.floor(Number("".concat(o,"e").concat(Number(i)+t)));return[o,i]="".concat(a,"e").split("e"),Number("".concat(o,"e").concat(Number(i)-t))}})}),OG=Cz(gG,bG,e=>{var{typed:t,config:n,round:r,matrix:o,equalScalar:i,zeros:a,DenseMatrix:u}=e,c=lK({typed:t,equalScalar:i}),l=$U({typed:t,DenseMatrix:u}),s=PW({typed:t}),d=yG({typed:t,config:n,round:r});return t("floor",{number:d.signatures.number,"number,number":d.signatures["number,number"],Complex:function(e){return e.floor()},"Complex, number":function(e,t){return e.floor(t)},"Complex, BigNumber":function(e,t){return e.floor(t.toNumber())},BigNumber:function(e){return eW(e,r(e),n.epsilon)?r(e):e.floor()},"BigNumber, BigNumber":function(e,t){return eW(e,r(e,t),n.epsilon)?r(e,t):e.toDecimalPlaces(t.toNumber(),xX.a.ROUND_FLOOR)},Fraction:function(e){return e.floor()},"Fraction, number":function(e,t){return e.floor(t)},"Fraction, BigNumber":function(e,t){return e.floor(t.toNumber())},"Array | Matrix":function(e){return vW(e,this,!0)},"Array, number | BigNumber":function(e,t){return vW(e,e=>this(e,t),!0)},"SparseMatrix, number | BigNumber":function(e,t){return c(e,t,this,!1)},"DenseMatrix, number | BigNumber":function(e,t){return s(e,t,this,!1)},"number | Complex | Fraction | BigNumber, Array":function(e,t){return s(o(t),e,this,!0).valueOf()},"number | Complex | Fraction | BigNumber, Matrix":function(e,t){return i(e,0)?a(t.size(),t.storage()):"dense"===t.storage()?s(t,e,this,!0):l(t,e,this,!0)}})}),CG={DenseMatrixDependencies:Vz,equalScalarDependencies:iW,matrixDependencies:pW,roundDependencies:dG,typedDependencies:yQ,zerosDependencies:aG,createFloor:OG},wG="fix",SG=["typed","Complex","matrix","ceil","floor","equalScalar","zeros","DenseMatrix"],NG=Cz(wG,["typed","ceil","floor"],e=>{var{typed:t,ceil:n,floor:r}=e;return t(wG,{number:function(e){return e>0?r(e):n(e)},"number, number":function(e,t){return e>0?r(e,t):n(e,t)}})}),MG=Cz(wG,SG,e=>{var{typed:t,Complex:n,matrix:r,ceil:o,floor:i,equalScalar:a,zeros:u,DenseMatrix:c}=e,l=$U({typed:t,DenseMatrix:c}),s=PW({typed:t}),d=NG({typed:t,ceil:o,floor:i});return t("fix",{number:d.signatures.number,"number, number | BigNumber":d.signatures["number,number"],Complex:function(e){return new n(e.re>0?Math.floor(e.re):Math.ceil(e.re),e.im>0?Math.floor(e.im):Math.ceil(e.im))},"Complex, number":function(e,t){return new n(e.re>0?i(e.re,t):o(e.re,t),e.im>0?i(e.im,t):o(e.im,t))},"Complex, BigNumber":function(e,t){var r=t.toNumber();return new n(e.re>0?i(e.re,r):o(e.re,r),e.im>0?i(e.im,r):o(e.im,r))},BigNumber:function(e){return e.isNegative()?o(e):i(e)},"BigNumber, number | BigNumber":function(e,t){return e.isNegative()?o(e,t):i(e,t)},Fraction:function(e){return e.s<0?e.ceil():e.floor()},"Fraction, number | BigNumber":function(e,t){return e.s<0?o(e,t):i(e,t)},"Array | Matrix":function(e){return vW(e,this,!0)},"Array | Matrix, number | BigNumber":function(e,t){return vW(e,e=>this(e,t),!0)},"number | Complex | Fraction | BigNumber, Array":function(e,t){return s(r(t),e,this,!0).valueOf()},"number | Complex | Fraction | BigNumber, Matrix":function(e,t){return a(e,0)?u(t.size(),t.storage()):"dense"===t.storage()?s(t,e,this,!0):l(t,e,this,!0)}})}),xG={ComplexDependencies:Az,DenseMatrixDependencies:Vz,ceilDependencies:mG,equalScalarDependencies:iW,floorDependencies:CG,matrixDependencies:pW,typedDependencies:yQ,zerosDependencies:aG,createFix:MG},jG="isNumeric",TG=["typed"],DG=Cz(jG,TG,e=>{var{typed:t}=e;return t(jG,{"number | BigNumber | Fraction | boolean":function(){return!0},"Complex | Unit | string | null | undefined | Node":function(){return!1},"Array | Matrix":function(e){return vW(e,this)}})}),EG={typedDependencies:yQ,createIsNumeric:DG},kG="identity",LG=["typed","config","matrix","BigNumber","DenseMatrix","SparseMatrix"],YG=Cz(kG,LG,e=>{var{typed:t,config:n,matrix:r,BigNumber:o,DenseMatrix:i,SparseMatrix:a}=e;return t(kG,{"":function(){return"Matrix"===n.matrix?r([]):[]},string:function(e){return r(e)},"number | BigNumber":function(e){return c(e,e,"Matrix"===n.matrix?"dense":void 0)},"number | BigNumber, string":function(e,t){return c(e,e,t)},"number | BigNumber, number | BigNumber":function(e,t){return c(e,t,"Matrix"===n.matrix?"dense":void 0)},"number | BigNumber, number | BigNumber, string":function(e,t,n){return c(e,t,n)},Array:function(e){return u(e)},"Array, string":function(e,t){return u(e,t)},Matrix:function(e){return u(e.valueOf(),e.storage())},"Matrix, string":function(e,t){return u(e.valueOf(),t)}});function u(e,t){switch(e.length){case 0:return t?r(t):[];case 1:return c(e[0],e[0],t);case 2:return c(e[0],e[1],t);default:throw new Error("Vector containing two values expected")}}function c(e,t,n){var r=TX(e)||TX(t)?o:null;if(TX(e)&&(e=e.toNumber()),TX(t)&&(t=t.toNumber()),!fJ(e)||e<1)throw new Error("Parameters in function identity must be positive integers");if(!fJ(t)||t<1)throw new Error("Parameters in function identity must be positive integers");var u=r?new o(1):1,c=r?new r(0):0,l=[e,t];if(n){if("sparse"===n)return a.diagonal(l,u,0,c);if("dense"===n)return i.diagonal(l,u,0,c);throw new TypeError('Unknown matrix type "'.concat(n,'"'))}for(var s=KJ([],l,c),d=e<t?e:t,f=0;f<d;f++)s[f][f]=u;return s}}),_G={BigNumberDependencies:Dz,DenseMatrixDependencies:Vz,SparseMatrixDependencies:lW,matrixDependencies:pW,typedDependencies:yQ,createIdentity:YG},AG="number";function PG(e){return fJ(e)}function FG(e){return e<0}function IG(e){return e>0}function BG(e){return 0===e}function ZG(e){return Number.isNaN(e)}PG.signature=AG,FG.signature=AG,IG.signature=AG,BG.signature=AG,ZG.signature=AG;var RG="isZero",HG=["typed"],VG=Cz(RG,HG,e=>{var{typed:t}=e;return t(RG,{number:BG,BigNumber:function(e){return e.isZero()},Complex:function(e){return 0===e.re&&0===e.im},Fraction:function(e){return 1===e.d&&0===e.n},Unit:function(e){return this(e.value)},"Array | Matrix":function(e){return vW(e,this)}})}),XG={typedDependencies:yQ,createIsZero:VG},JG="det",zG=["typed","matrix","subtract","multiply","divideScalar","isZero","unaryMinus"],QG=Cz(JG,zG,e=>{var{typed:t,matrix:n,subtract:r,multiply:o,divideScalar:i,isZero:a,unaryMinus:u}=e;return t(JG,{any:function(e){return lz(e)},"Array | Matrix":function(e){var t;switch(_X(e)?t=e.size():Array.isArray(e)?(e=n(e),t=e.size()):t=[],t.length){case 0:return lz(e);case 1:if(1===t[0])return lz(e.valueOf()[0]);throw new RangeError("Matrix must be square (size: "+FJ(t)+")");case 2:var r=t[0],o=t[1];if(r===o)return c(e.clone().valueOf(),r,o);throw new RangeError("Matrix must be square (size: "+FJ(t)+")");default:throw new RangeError("Matrix must be two dimensional (size: "+FJ(t)+")")}}});function c(e,t,n){if(1===t)return lz(e[0][0]);if(2===t)return r(o(e[0][0],e[1][1]),o(e[1][0],e[0][1]));for(var c=!1,l=new Array(t).fill(0).map((e,t)=>t),s=0;s<t;s++){var d=l[s];if(a(e[d][s])){var f=void 0;for(f=s+1;f<t;f++)if(!a(e[l[f]][s])){d=l[f],l[f]=l[s],l[s]=d,c=!c;break}if(f===t)return e[d][s]}for(var p=e[d][s],v=0===s?1:e[l[s-1]][s-1],h=s+1;h<t;h++)for(var m=l[h],g=s+1;g<t;g++)e[m][g]=i(r(o(e[m][g],p),o(e[m][s],e[d][g])),v)}var b=e[l[t-1]][t-1];return c?u(b):b}}),WG={divideScalarDependencies:zU,isZeroDependencies:XG,matrixDependencies:pW,multiplyDependencies:pK,subtractDependencies:RW,typedDependencies:yQ,unaryMinusDependencies:bW,createDet:QG},KG="inv",UG=["typed","matrix","divideScalar","addScalar","multiply","unaryMinus","det","identity","abs"],GG=Cz(KG,UG,e=>{var{typed:t,matrix:n,divideScalar:r,addScalar:o,multiply:i,unaryMinus:a,det:u,identity:c,abs:l}=e;return t(KG,{"Array | Matrix":function(e){var t=_X(e)?e.size():JJ(e);switch(t.length){case 1:if(1===t[0])return _X(e)?n([r(1,e.valueOf()[0])]):[r(1,e[0])];throw new RangeError("Matrix must be square (size: "+FJ(t)+")");case 2:var o=t[0],i=t[1];if(o===i)return _X(e)?n(s(e.valueOf(),o,i),e.storage()):s(e,o,i);throw new RangeError("Matrix must be square (size: "+FJ(t)+")");default:throw new RangeError("Matrix must be two dimensional (size: "+FJ(t)+")")}},any:function(e){return r(1,e)}});function s(e,t,n){var s,d,f,p,v;if(1===t){if(p=e[0][0],0===p)throw Error("Cannot calculate inverse, determinant is zero");return[[r(1,p)]]}if(2===t){var h=u(e);if(0===h)throw Error("Cannot calculate inverse, determinant is zero");return[[r(e[1][1],h),r(a(e[0][1]),h)],[r(a(e[1][0]),h),r(e[0][0],h)]]}var m=e.concat();for(s=0;s<t;s++)m[s]=m[s].concat();for(var g=c(t).valueOf(),b=0;b<n;b++){var y=l(m[b][b]),O=b;s=b+1;while(s<t)l(m[s][b])>y&&(y=l(m[s][b]),O=s),s++;if(0===y)throw Error("Cannot calculate inverse, determinant is zero");s=O,s!==b&&(v=m[b],m[b]=m[s],m[s]=v,v=g[b],g[b]=g[s],g[s]=v);var C=m[b],w=g[b];for(s=0;s<t;s++){var S=m[s],N=g[s];if(s!==b){if(0!==S[b]){for(f=r(a(S[b]),C[b]),d=b;d<n;d++)S[d]=o(S[d],i(f,C[d]));for(d=0;d<n;d++)N[d]=o(N[d],i(f,w[d]))}}else{for(f=C[b],d=b;d<n;d++)S[d]=r(S[d],f);for(d=0;d<n;d++)N[d]=r(N[d],f)}}}return g}}),$G={absDependencies:NU,addScalarDependencies:qQ,detDependencies:WG,divideScalarDependencies:zU,identityDependencies:_G,matrixDependencies:pW,multiplyDependencies:pK,typedDependencies:yQ,unaryMinusDependencies:bW,createInv:GG},qG="pow",e$=["typed","config","identity","multiply","matrix","inv","fraction","number","Complex"],t$=Cz(qG,e$,e=>{var{typed:t,config:n,identity:r,multiply:o,matrix:i,inv:a,number:u,fraction:c,Complex:l}=e;return t(qG,{"number, number":s,"Complex, Complex":function(e,t){return e.pow(t)},"BigNumber, BigNumber":function(e,t){return t.isInteger()||e>=0||n.predictable?e.pow(t):new l(e.toNumber(),0).pow(t.toNumber(),0)},"Fraction, Fraction":function(e,t){var r=e.pow(t);if(null!=r)return r;if(n.predictable)throw new Error("Result of pow is non-rational and cannot be expressed as a fraction");return s(e.valueOf(),t.valueOf())},"Array, number":d,"Array, BigNumber":function(e,t){return d(e,t.toNumber())},"Matrix, number":f,"Matrix, BigNumber":function(e,t){return f(e,t.toNumber())},"Unit, number | BigNumber":function(e,t){return e.pow(t)}});function s(e,t){if(n.predictable&&!fJ(t)&&e<0)try{var r=c(t),o=u(r);if((t===o||Math.abs((t-o)/t)<1e-14)&&r.d%2===1)return(r.n%2===0?1:-1)*Math.pow(-e,t)}catch(i){}return n.predictable&&(e<-1&&t===1/0||e>-1&&e<0&&t===-1/0)?NaN:fJ(t)||e>=0||n.predictable?QQ(e,t):e*e<1&&t===1/0||e*e>1&&t===-1/0?0:new l(e,0).pow(t,0)}function d(e,t){if(!fJ(t))throw new TypeError("For A^b, b must be an integer (value is "+t+")");var n=JJ(e);if(2!==n.length)throw new Error("For A^b, A must be 2 dimensional (A has "+n.length+" dimensions)");if(n[0]!==n[1])throw new Error("For A^b, A must be square (size is "+n[0]+"x"+n[1]+")");if(t<0)try{return d(a(e),-t)}catch(c){if("Cannot calculate inverse, determinant is zero"===c.message)throw new TypeError("For A^b, when A is not invertible, b must be a positive integer (value is "+t+")");throw c}var i=r(n[0]).valueOf(),u=e;while(t>=1)1===(1&t)&&(i=o(u,i)),t>>=1,u=o(u,u);return i}function f(e,t){return i(d(e.valueOf(),t))}}),n$={ComplexDependencies:Az,fractionDependencies:LU,identityDependencies:_G,invDependencies:$G,matrixDependencies:pW,multiplyDependencies:pK,numberDependencies:IU,typedDependencies:yQ,createPow:t$},r$=n("a559"),o$=n.n(r$),i$=n("9523"),a$=n.n(i$);function u$(e){var t=0,n=1,r=Object.create(null),o=Object.create(null),i=0,a=function(e){var a=o[e];if(a&&(delete r[a],delete o[e],--t,n===a)){if(!t)return i=0,void(n=1);while(!hasOwnProperty.call(r,++n));}};return e=Math.abs(e),{hit:function(u){var c=o[u],l=++i;if(r[l]=u,o[u]=l,!c){if(++t,t<=e)return;return u=r[n],a(u),u}if(delete r[c],n===c)while(!hasOwnProperty.call(r,++n));},delete:a,clear:function(){t=i=0,n=1,r=Object.create(null),o=Object.create(null)}}}function c$(e){var{hasher:t,limit:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n=null==n?Number.POSITIVE_INFINITY:n,t=null==t?JSON.stringify:t,function r(){"object"!==typeof r.cache&&(r.cache={values:new Map,lru:u$(n||Number.POSITIVE_INFINITY)});for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var a=t(o);if(r.cache.values.has(a))return r.cache.lru.hit(a),r.cache.values.get(a);var u=e.apply(e,o);return r.cache.values.set(a,u),r.cache.values.delete(r.cache.lru.hit(a)),u}}c$((function(e){return new e(1).exp()}),{hasher:s$}),c$((function(e){return new e(1).plus(new e(5).sqrt()).div(2)}),{hasher:s$});var l$=c$((function(e){return e.acos(-1)}),{hasher:s$});c$((function(e){return l$(e).times(2)}),{hasher:s$});function s$(e){return e[0].precision}function d$(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f$(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d$(Object(n),!0).forEach((function(t){a$()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d$(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p$="Unit",v$=["?on","config","addScalar","subtract","multiplyScalar","divideScalar","pow","abs","fix","round","equal","isNumeric","format","number","Complex","BigNumber","Fraction"],h$=Cz(p$,v$,e=>{var t,n,r,{on:o,config:i,addScalar:a,subtract:u,multiplyScalar:c,divideScalar:l,pow:s,abs:d,fix:f,round:p,equal:v,isNumeric:h,format:m,number:g,Complex:b,BigNumber:y,Fraction:O}=e,C=g;function w(e,t){if(!(this instanceof w))throw new Error("Constructor must be called with the new operator");if(null!==e&&void 0!==e&&!h(e)&&!DX(e))throw new TypeError("First parameter in Unit constructor must be number, BigNumber, Fraction, Complex, or undefined");if(void 0!==t&&("string"!==typeof t||""===t))throw new TypeError("Second parameter in Unit constructor must be a string");if(void 0!==t){var n=w.parse(t);this.units=n.units,this.dimensions=n.dimensions}else{this.units=[{unit:I,prefix:Y.NONE,power:0}],this.dimensions=[];for(var r=0;r<_.length;r++)this.dimensions[r]=0}this.value=void 0!==e&&null!==e?this._normalize(e):null,this.fixPrefix=!1,this.skipAutomaticSimplification=!0}function S(){while(" "===r||"\t"===r)x()}function N(e){return e>="0"&&e<="9"||"."===e}function M(e){return e>="0"&&e<="9"}function x(){n++,r=t.charAt(n)}function j(e){n=e,r=t.charAt(n)}function T(){var e="",t=n;if("+"===r?x():"-"===r&&(e+=r,x()),!N(r))return j(t),null;if("."===r){if(e+=r,x(),!M(r))return j(t),null}else{while(M(r))e+=r,x();"."===r&&(e+=r,x())}while(M(r))e+=r,x();if("E"===r||"e"===r){var o="",i=n;if(o+=r,x(),"+"!==r&&"-"!==r||(o+=r,x()),!M(r))return j(i),e;e+=o;while(M(r))e+=r,x()}return e}function D(){var e="";while(M(r)||w.isValidAlpha(r))e+=r,x();var t=e.charAt(0);return w.isValidAlpha(t)?e:null}function E(e){return r===e?(x(),e):null}w.prototype.type="Unit",w.prototype.isUnit=!0,w.parse=function(e,o){if(o=o||{},t=e,n=-1,r="","string"!==typeof t)throw new TypeError("Invalid argument in Unit.parse, string expected");var a=new w;a.units=[];var u=1,c=!1;x(),S();var l=T(),s=null;if(l){if("BigNumber"===i.number)s=new y(l);else if("Fraction"===i.number)try{s=new O(l)}catch(N){s=parseFloat(l)}else s=parseFloat(l);S(),E("*")?(u=1,c=!0):E("/")&&(u=-1,c=!0)}var d=[],f=1;while(1){S();while("("===r)d.push(u),f*=u,u=1,x(),S();var p=void 0;if(!r)break;var v=r;if(p=D(),null===p)throw new SyntaxError('Unexpected "'+v+'" in "'+t+'" at index '+n.toString());var h=k(p);if(null===h)throw new SyntaxError('Unit "'+p+'" not found.');var m=u*f;if(S(),E("^")){S();var g=T();if(null===g)throw new SyntaxError('In "'+e+'", "^" must be followed by a floating-point number');m*=g}a.units.push({unit:h.unit,prefix:h.prefix,power:m});for(var b=0;b<_.length;b++)a.dimensions[b]+=(h.unit.dimensions[b]||0)*m;S();while(")"===r){if(0===d.length)throw new SyntaxError('Unmatched ")" in "'+t+'" at index '+n.toString());f/=d.pop(),x(),S()}if(c=!1,E("*")?(u=1,c=!0):E("/")?(u=-1,c=!0):u=1,h.unit.base){var C=h.unit.base.key;H.auto[C]={unit:h.unit,prefix:h.prefix}}}if(S(),r)throw new SyntaxError('Could not parse: "'+e+'"');if(c)throw new SyntaxError('Trailing characters: "'+e+'"');if(0!==d.length)throw new SyntaxError('Unmatched "(" in "'+t+'"');if(0===a.units.length&&!o.allowNoUnits)throw new SyntaxError('"'+e+'" contains no units');return a.value=void 0!==s?a._normalize(s):null,a},w.prototype.clone=function(){var e=new w;e.fixPrefix=this.fixPrefix,e.skipAutomaticSimplification=this.skipAutomaticSimplification,e.value=lz(this.value),e.dimensions=this.dimensions.slice(0),e.units=[];for(var t=0;t<this.units.length;t++)for(var n in e.units[t]={},this.units[t])gz(this.units[t],n)&&(e.units[t][n]=this.units[t][n]);return e},w.prototype._isDerived=function(){return 0!==this.units.length&&(this.units.length>1||Math.abs(this.units[0].power-1)>1e-15)},w.prototype._normalize=function(e){if(null===e||void 0===e||0===this.units.length)return e;for(var t=e,n=w._getNumberConverter(dJ(e)),r=0;r<this.units.length;r++){var o=n(this.units[r].unit.value),i=n(this.units[r].prefix.value),a=n(this.units[r].power);t=c(t,s(c(o,i),a))}return t},w.prototype._denormalize=function(e,t){if(null===e||void 0===e||0===this.units.length)return e;for(var n=e,r=w._getNumberConverter(dJ(e)),o=0;o<this.units.length;o++){var i=r(this.units[o].unit.value),a=r(this.units[o].prefix.value),u=r(this.units[o].power);n=l(n,s(c(i,a),u))}return n};var k=c$(e=>{if(gz(B,e)){var t=B[e],n=t.prefixes[""];return{unit:t,prefix:n}}for(var r in B)if(gz(B,r)&&PJ(e,r)){var o=B[r],i=e.length-r.length,a=e.substring(0,i),u=gz(o.prefixes,a)?o.prefixes[a]:void 0;if(void 0!==u)return{unit:o,prefix:u}}return null},{hasher:e=>e[0],limit:100});function L(e){return e.equalBase(A.NONE)&&null!==e.value&&!i.predictable?e.value:e}w.isValuelessUnit=function(e){return null!==k(e)},w.prototype.hasBase=function(e){if("string"===typeof e&&(e=A[e]),!e)return!1;for(var t=0;t<_.length;t++)if(Math.abs((this.dimensions[t]||0)-(e.dimensions[t]||0))>1e-12)return!1;return!0},w.prototype.equalBase=function(e){for(var t=0;t<_.length;t++)if(Math.abs((this.dimensions[t]||0)-(e.dimensions[t]||0))>1e-12)return!1;return!0},w.prototype.equals=function(e){return this.equalBase(e)&&v(this.value,e.value)},w.prototype.multiply=function(e){for(var t=this.clone(),n=0;n<_.length;n++)t.dimensions[n]=(this.dimensions[n]||0)+(e.dimensions[n]||0);for(var r=0;r<e.units.length;r++){var o=f$({},e.units[r]);t.units.push(o)}if(null!==this.value||null!==e.value){var i=null===this.value?this._normalize(1):this.value,a=null===e.value?e._normalize(1):e.value;t.value=c(i,a)}else t.value=null;return t.skipAutomaticSimplification=!1,L(t)},w.prototype.divide=function(e){for(var t=this.clone(),n=0;n<_.length;n++)t.dimensions[n]=(this.dimensions[n]||0)-(e.dimensions[n]||0);for(var r=0;r<e.units.length;r++){var o=f$(f$({},e.units[r]),{},{power:-e.units[r].power});t.units.push(o)}if(null!==this.value||null!==e.value){var i=null===this.value?this._normalize(1):this.value,a=null===e.value?e._normalize(1):e.value;t.value=l(i,a)}else t.value=null;return t.skipAutomaticSimplification=!1,L(t)},w.prototype.pow=function(e){for(var t=this.clone(),n=0;n<_.length;n++)t.dimensions[n]=(this.dimensions[n]||0)*e;for(var r=0;r<t.units.length;r++)t.units[r].power*=e;return null!==t.value?t.value=s(t.value,e):t.value=null,t.skipAutomaticSimplification=!1,L(t)},w.prototype.abs=function(){var e=this.clone();if(null!==e.value)if(e._isDerived()||0===e.units[0].unit.offset)e.value=d(e.value);else{var t=w._getNumberConverter(dJ(e.value)),n=t(e.units[0].unit.value),r=t(e.units[0].unit.offset),o=c(n,r);e.value=u(d(a(e.value,o)),o)}for(var i in e.units)"VA"!==e.units[i].unit.name&&"VAR"!==e.units[i].unit.name||(e.units[i].unit=B.W);return e},w.prototype.to=function(e){var t,n=null===this.value?this._normalize(1):this.value;if("string"===typeof e)t=w.parse(e);else{if(!kX(e))throw new Error("String or Unit expected as parameter");t=e.clone()}if(!this.equalBase(t))throw new Error("Units do not match ('".concat(t.toString(),"' != '").concat(this.toString(),"')"));if(null!==t.value)throw new Error("Cannot convert to a unit with a value");if(null===this.value||this._isDerived()||this.units[0].unit.offset===t.units[0].unit.offset)t.value=lz(n);else{var r=w._getNumberConverter(dJ(n)),o=r(this.units[0].unit.value),i=r(this.units[0].unit.offset),l=c(o,i),s=r(t.units[0].unit.value),d=r(t.units[0].unit.offset),f=c(s,d);t.value=u(a(n,l),f)}return t.fixPrefix=!0,t.skipAutomaticSimplification=!0,t},w.prototype.toNumber=function(e){return C(this.toNumeric(e))},w.prototype.toNumeric=function(e){var t;return t=e?this.to(e):this.clone(),t._isDerived()||0===t.units.length?t._denormalize(t.value):t._denormalize(t.value,t.units[0].prefix.value)},w.prototype.toString=function(){return this.format()},w.prototype.toJSON=function(){return{mathjs:"Unit",value:this._denormalize(this.value),unit:this.formatUnits(),fixPrefix:this.fixPrefix}},w.fromJSON=function(e){var t=new w(e.value,e.unit);return t.fixPrefix=e.fixPrefix||!1,t},w.prototype.valueOf=w.prototype.toString,w.prototype.simplify=function(){var e,t,n=this.clone(),r=[];for(var o in V)if(gz(V,o)&&n.hasBase(A[o])){e=o;break}if("NONE"===e)n.units=[];else if(e&&gz(V,e)&&(t=V[e]),t)n.units=[{unit:t.unit,prefix:t.prefix,power:1}];else{for(var i=!1,a=0;a<_.length;a++){var u=_[a];Math.abs(n.dimensions[a]||0)>1e-12&&(gz(V,u)?r.push({unit:V[u].unit,prefix:V[u].prefix,power:n.dimensions[a]||0}):i=!0)}r.length<n.units.length&&!i&&(n.units=r)}return n},w.prototype.toSI=function(){for(var e=this.clone(),t=[],n=0;n<_.length;n++){var r=_[n];if(Math.abs(e.dimensions[n]||0)>1e-12){if(!gz(H.si,r))throw new Error("Cannot express custom unit "+r+" in SI units");t.push({unit:H.si[r].unit,prefix:H.si[r].prefix,power:e.dimensions[n]||0})}}return e.units=t,e.fixPrefix=!0,e.skipAutomaticSimplification=!0,e},w.prototype.formatUnits=function(){for(var e="",t="",n=0,r=0,o=0;o<this.units.length;o++)this.units[o].power>0?(n++,e+=" "+this.units[o].prefix.name+this.units[o].unit.name,Math.abs(this.units[o].power-1)>1e-15&&(e+="^"+this.units[o].power)):this.units[o].power<0&&r++;if(r>0)for(var i=0;i<this.units.length;i++)this.units[i].power<0&&(n>0?(t+=" "+this.units[i].prefix.name+this.units[i].unit.name,Math.abs(this.units[i].power+1)>1e-15&&(t+="^"+-this.units[i].power)):(t+=" "+this.units[i].prefix.name+this.units[i].unit.name,t+="^"+this.units[i].power));e=e.substr(1),t=t.substr(1),n>1&&r>0&&(e="("+e+")"),r>1&&n>0&&(t="("+t+")");var a=e;return n>0&&r>0&&(a+=" / "),a+=t,a},w.prototype.format=function(e){var t=this.skipAutomaticSimplification||null===this.value?this.clone():this.simplify(),n=!1;for(var r in"undefined"!==typeof t.value&&null!==t.value&&DX(t.value)&&(n=Math.abs(t.value.re)<1e-14),t.units)gz(t.units,r)&&t.units[r].unit&&("VA"===t.units[r].unit.name&&n?t.units[r].unit=B.VAR:"VAR"!==t.units[r].unit.name||n||(t.units[r].unit=B.VA));1!==t.units.length||t.fixPrefix||Math.abs(t.units[0].power-Math.round(t.units[0].power))<1e-14&&(t.units[0].prefix=t._bestPrefix());var o=t._denormalize(t.value),i=null!==t.value?m(o,e||{}):"",a=t.formatUnits();return t.value&&DX(t.value)&&(i="("+i+")"),a.length>0&&i.length>0&&(i+=" "),i+=a,i},w.prototype._bestPrefix=function(){if(1!==this.units.length)throw new Error("Can only compute the best prefix for single units with integer powers, like kg, s^2, N^-1, and so forth!");if(Math.abs(this.units[0].power-Math.round(this.units[0].power))>=1e-14)throw new Error("Can only compute the best prefix for single units with integer powers, like kg, s^2, N^-1, and so forth!");var e=null!==this.value?d(this.value):0,t=d(this.units[0].unit.value),n=this.units[0].prefix;if(0===e)return n;var r=this.units[0].power,o=Math.log(e/Math.pow(n.value*t,r))/Math.LN10-1.2;if(o>-2.200001&&o<1.800001)return n;o=Math.abs(o);var i=this.units[0].unit.prefixes;for(var a in i)if(gz(i,a)){var u=i[a];if(u.scientific){var c=Math.abs(Math.log(e/Math.pow(u.value*t,r))/Math.LN10-1.2);(c<o||c===o&&u.name.length<n.name.length)&&(n=u,o=c)}}return n},w.prototype.splitUnit=function(e){for(var t=this.clone(),n=[],r=0;r<e.length;r++){if(t=t.to(e[r]),r===e.length-1)break;var o=t.toNumeric(),i=p(o),c=void 0,l=v(i,o);c=l?i:f(t.toNumeric());var s=new w(c,e[r].toString());n.push(s),t=u(t,s)}for(var d=0,h=0;h<n.length;h++)d=a(d,n[h].value);return v(d,this.value)&&(t.value=0),n.push(t),n};var Y={NONE:{"":{name:"",value:1,scientific:!0}},SHORT:{"":{name:"",value:1,scientific:!0},da:{name:"da",value:10,scientific:!1},h:{name:"h",value:100,scientific:!1},k:{name:"k",value:1e3,scientific:!0},M:{name:"M",value:1e6,scientific:!0},G:{name:"G",value:1e9,scientific:!0},T:{name:"T",value:1e12,scientific:!0},P:{name:"P",value:1e15,scientific:!0},E:{name:"E",value:1e18,scientific:!0},Z:{name:"Z",value:1e21,scientific:!0},Y:{name:"Y",value:1e24,scientific:!0},d:{name:"d",value:.1,scientific:!1},c:{name:"c",value:.01,scientific:!1},m:{name:"m",value:.001,scientific:!0},u:{name:"u",value:1e-6,scientific:!0},n:{name:"n",value:1e-9,scientific:!0},p:{name:"p",value:1e-12,scientific:!0},f:{name:"f",value:1e-15,scientific:!0},a:{name:"a",value:1e-18,scientific:!0},z:{name:"z",value:1e-21,scientific:!0},y:{name:"y",value:1e-24,scientific:!0}},LONG:{"":{name:"",value:1,scientific:!0},deca:{name:"deca",value:10,scientific:!1},hecto:{name:"hecto",value:100,scientific:!1},kilo:{name:"kilo",value:1e3,scientific:!0},mega:{name:"mega",value:1e6,scientific:!0},giga:{name:"giga",value:1e9,scientific:!0},tera:{name:"tera",value:1e12,scientific:!0},peta:{name:"peta",value:1e15,scientific:!0},exa:{name:"exa",value:1e18,scientific:!0},zetta:{name:"zetta",value:1e21,scientific:!0},yotta:{name:"yotta",value:1e24,scientific:!0},deci:{name:"deci",value:.1,scientific:!1},centi:{name:"centi",value:.01,scientific:!1},milli:{name:"milli",value:.001,scientific:!0},micro:{name:"micro",value:1e-6,scientific:!0},nano:{name:"nano",value:1e-9,scientific:!0},pico:{name:"pico",value:1e-12,scientific:!0},femto:{name:"femto",value:1e-15,scientific:!0},atto:{name:"atto",value:1e-18,scientific:!0},zepto:{name:"zepto",value:1e-21,scientific:!0},yocto:{name:"yocto",value:1e-24,scientific:!0}},SQUARED:{"":{name:"",value:1,scientific:!0},da:{name:"da",value:100,scientific:!1},h:{name:"h",value:1e4,scientific:!1},k:{name:"k",value:1e6,scientific:!0},M:{name:"M",value:1e12,scientific:!0},G:{name:"G",value:1e18,scientific:!0},T:{name:"T",value:1e24,scientific:!0},P:{name:"P",value:1e30,scientific:!0},E:{name:"E",value:1e36,scientific:!0},Z:{name:"Z",value:1e42,scientific:!0},Y:{name:"Y",value:1e48,scientific:!0},d:{name:"d",value:.01,scientific:!1},c:{name:"c",value:1e-4,scientific:!1},m:{name:"m",value:1e-6,scientific:!0},u:{name:"u",value:1e-12,scientific:!0},n:{name:"n",value:1e-18,scientific:!0},p:{name:"p",value:1e-24,scientific:!0},f:{name:"f",value:1e-30,scientific:!0},a:{name:"a",value:1e-36,scientific:!0},z:{name:"z",value:1e-42,scientific:!0},y:{name:"y",value:1e-48,scientific:!0}},CUBIC:{"":{name:"",value:1,scientific:!0},da:{name:"da",value:1e3,scientific:!1},h:{name:"h",value:1e6,scientific:!1},k:{name:"k",value:1e9,scientific:!0},M:{name:"M",value:1e18,scientific:!0},G:{name:"G",value:1e27,scientific:!0},T:{name:"T",value:1e36,scientific:!0},P:{name:"P",value:1e45,scientific:!0},E:{name:"E",value:1e54,scientific:!0},Z:{name:"Z",value:1e63,scientific:!0},Y:{name:"Y",value:1e72,scientific:!0},d:{name:"d",value:.001,scientific:!1},c:{name:"c",value:1e-6,scientific:!1},m:{name:"m",value:1e-9,scientific:!0},u:{name:"u",value:1e-18,scientific:!0},n:{name:"n",value:1e-27,scientific:!0},p:{name:"p",value:1e-36,scientific:!0},f:{name:"f",value:1e-45,scientific:!0},a:{name:"a",value:1e-54,scientific:!0},z:{name:"z",value:1e-63,scientific:!0},y:{name:"y",value:1e-72,scientific:!0}},BINARY_SHORT_SI:{"":{name:"",value:1,scientific:!0},k:{name:"k",value:1e3,scientific:!0},M:{name:"M",value:1e6,scientific:!0},G:{name:"G",value:1e9,scientific:!0},T:{name:"T",value:1e12,scientific:!0},P:{name:"P",value:1e15,scientific:!0},E:{name:"E",value:1e18,scientific:!0},Z:{name:"Z",value:1e21,scientific:!0},Y:{name:"Y",value:1e24,scientific:!0}},BINARY_SHORT_IEC:{"":{name:"",value:1,scientific:!0},Ki:{name:"Ki",value:1024,scientific:!0},Mi:{name:"Mi",value:Math.pow(1024,2),scientific:!0},Gi:{name:"Gi",value:Math.pow(1024,3),scientific:!0},Ti:{name:"Ti",value:Math.pow(1024,4),scientific:!0},Pi:{name:"Pi",value:Math.pow(1024,5),scientific:!0},Ei:{name:"Ei",value:Math.pow(1024,6),scientific:!0},Zi:{name:"Zi",value:Math.pow(1024,7),scientific:!0},Yi:{name:"Yi",value:Math.pow(1024,8),scientific:!0}},BINARY_LONG_SI:{"":{name:"",value:1,scientific:!0},kilo:{name:"kilo",value:1e3,scientific:!0},mega:{name:"mega",value:1e6,scientific:!0},giga:{name:"giga",value:1e9,scientific:!0},tera:{name:"tera",value:1e12,scientific:!0},peta:{name:"peta",value:1e15,scientific:!0},exa:{name:"exa",value:1e18,scientific:!0},zetta:{name:"zetta",value:1e21,scientific:!0},yotta:{name:"yotta",value:1e24,scientific:!0}},BINARY_LONG_IEC:{"":{name:"",value:1,scientific:!0},kibi:{name:"kibi",value:1024,scientific:!0},mebi:{name:"mebi",value:Math.pow(1024,2),scientific:!0},gibi:{name:"gibi",value:Math.pow(1024,3),scientific:!0},tebi:{name:"tebi",value:Math.pow(1024,4),scientific:!0},pebi:{name:"pebi",value:Math.pow(1024,5),scientific:!0},exi:{name:"exi",value:Math.pow(1024,6),scientific:!0},zebi:{name:"zebi",value:Math.pow(1024,7),scientific:!0},yobi:{name:"yobi",value:Math.pow(1024,8),scientific:!0}},BTU:{"":{name:"",value:1,scientific:!0},MM:{name:"MM",value:1e6,scientific:!0}}};Y.SHORTLONG=o$()({},Y.SHORT,Y.LONG),Y.BINARY_SHORT=o$()({},Y.BINARY_SHORT_SI,Y.BINARY_SHORT_IEC),Y.BINARY_LONG=o$()({},Y.BINARY_LONG_SI,Y.BINARY_LONG_IEC);var _=["MASS","LENGTH","TIME","CURRENT","TEMPERATURE","LUMINOUS_INTENSITY","AMOUNT_OF_SUBSTANCE","ANGLE","BIT"],A={NONE:{dimensions:[0,0,0,0,0,0,0,0,0]},MASS:{dimensions:[1,0,0,0,0,0,0,0,0]},LENGTH:{dimensions:[0,1,0,0,0,0,0,0,0]},TIME:{dimensions:[0,0,1,0,0,0,0,0,0]},CURRENT:{dimensions:[0,0,0,1,0,0,0,0,0]},TEMPERATURE:{dimensions:[0,0,0,0,1,0,0,0,0]},LUMINOUS_INTENSITY:{dimensions:[0,0,0,0,0,1,0,0,0]},AMOUNT_OF_SUBSTANCE:{dimensions:[0,0,0,0,0,0,1,0,0]},FORCE:{dimensions:[1,1,-2,0,0,0,0,0,0]},SURFACE:{dimensions:[0,2,0,0,0,0,0,0,0]},VOLUME:{dimensions:[0,3,0,0,0,0,0,0,0]},ENERGY:{dimensions:[1,2,-2,0,0,0,0,0,0]},POWER:{dimensions:[1,2,-3,0,0,0,0,0,0]},PRESSURE:{dimensions:[1,-1,-2,0,0,0,0,0,0]},ELECTRIC_CHARGE:{dimensions:[0,0,1,1,0,0,0,0,0]},ELECTRIC_CAPACITANCE:{dimensions:[-1,-2,4,2,0,0,0,0,0]},ELECTRIC_POTENTIAL:{dimensions:[1,2,-3,-1,0,0,0,0,0]},ELECTRIC_RESISTANCE:{dimensions:[1,2,-3,-2,0,0,0,0,0]},ELECTRIC_INDUCTANCE:{dimensions:[1,2,-2,-2,0,0,0,0,0]},ELECTRIC_CONDUCTANCE:{dimensions:[-1,-2,3,2,0,0,0,0,0]},MAGNETIC_FLUX:{dimensions:[1,2,-2,-1,0,0,0,0,0]},MAGNETIC_FLUX_DENSITY:{dimensions:[1,0,-2,-1,0,0,0,0,0]},FREQUENCY:{dimensions:[0,0,-1,0,0,0,0,0,0]},ANGLE:{dimensions:[0,0,0,0,0,0,0,1,0]},BIT:{dimensions:[0,0,0,0,0,0,0,0,1]}};for(var P in A)gz(A,P)&&(A[P].key=P);var F={},I={name:"",base:F,value:1,offset:0,dimensions:_.map(e=>0)},B={meter:{name:"meter",base:A.LENGTH,prefixes:Y.LONG,value:1,offset:0},inch:{name:"inch",base:A.LENGTH,prefixes:Y.NONE,value:.0254,offset:0},foot:{name:"foot",base:A.LENGTH,prefixes:Y.NONE,value:.3048,offset:0},yard:{name:"yard",base:A.LENGTH,prefixes:Y.NONE,value:.9144,offset:0},mile:{name:"mile",base:A.LENGTH,prefixes:Y.NONE,value:1609.344,offset:0},link:{name:"link",base:A.LENGTH,prefixes:Y.NONE,value:.201168,offset:0},rod:{name:"rod",base:A.LENGTH,prefixes:Y.NONE,value:5.0292,offset:0},chain:{name:"chain",base:A.LENGTH,prefixes:Y.NONE,value:20.1168,offset:0},angstrom:{name:"angstrom",base:A.LENGTH,prefixes:Y.NONE,value:1e-10,offset:0},m:{name:"m",base:A.LENGTH,prefixes:Y.SHORT,value:1,offset:0},in:{name:"in",base:A.LENGTH,prefixes:Y.NONE,value:.0254,offset:0},ft:{name:"ft",base:A.LENGTH,prefixes:Y.NONE,value:.3048,offset:0},yd:{name:"yd",base:A.LENGTH,prefixes:Y.NONE,value:.9144,offset:0},mi:{name:"mi",base:A.LENGTH,prefixes:Y.NONE,value:1609.344,offset:0},li:{name:"li",base:A.LENGTH,prefixes:Y.NONE,value:.201168,offset:0},rd:{name:"rd",base:A.LENGTH,prefixes:Y.NONE,value:5.02921,offset:0},ch:{name:"ch",base:A.LENGTH,prefixes:Y.NONE,value:20.1168,offset:0},mil:{name:"mil",base:A.LENGTH,prefixes:Y.NONE,value:254e-7,offset:0},m2:{name:"m2",base:A.SURFACE,prefixes:Y.SQUARED,value:1,offset:0},sqin:{name:"sqin",base:A.SURFACE,prefixes:Y.NONE,value:64516e-8,offset:0},sqft:{name:"sqft",base:A.SURFACE,prefixes:Y.NONE,value:.09290304,offset:0},sqyd:{name:"sqyd",base:A.SURFACE,prefixes:Y.NONE,value:.83612736,offset:0},sqmi:{name:"sqmi",base:A.SURFACE,prefixes:Y.NONE,value:2589988.110336,offset:0},sqrd:{name:"sqrd",base:A.SURFACE,prefixes:Y.NONE,value:25.29295,offset:0},sqch:{name:"sqch",base:A.SURFACE,prefixes:Y.NONE,value:404.6873,offset:0},sqmil:{name:"sqmil",base:A.SURFACE,prefixes:Y.NONE,value:6.4516e-10,offset:0},acre:{name:"acre",base:A.SURFACE,prefixes:Y.NONE,value:4046.86,offset:0},hectare:{name:"hectare",base:A.SURFACE,prefixes:Y.NONE,value:1e4,offset:0},m3:{name:"m3",base:A.VOLUME,prefixes:Y.CUBIC,value:1,offset:0},L:{name:"L",base:A.VOLUME,prefixes:Y.SHORT,value:.001,offset:0},l:{name:"l",base:A.VOLUME,prefixes:Y.SHORT,value:.001,offset:0},litre:{name:"litre",base:A.VOLUME,prefixes:Y.LONG,value:.001,offset:0},cuin:{name:"cuin",base:A.VOLUME,prefixes:Y.NONE,value:16387064e-12,offset:0},cuft:{name:"cuft",base:A.VOLUME,prefixes:Y.NONE,value:.028316846592,offset:0},cuyd:{name:"cuyd",base:A.VOLUME,prefixes:Y.NONE,value:.764554857984,offset:0},teaspoon:{name:"teaspoon",base:A.VOLUME,prefixes:Y.NONE,value:5e-6,offset:0},tablespoon:{name:"tablespoon",base:A.VOLUME,prefixes:Y.NONE,value:15e-6,offset:0},drop:{name:"drop",base:A.VOLUME,prefixes:Y.NONE,value:5e-8,offset:0},gtt:{name:"gtt",base:A.VOLUME,prefixes:Y.NONE,value:5e-8,offset:0},minim:{name:"minim",base:A.VOLUME,prefixes:Y.NONE,value:6.161152e-8,offset:0},fluiddram:{name:"fluiddram",base:A.VOLUME,prefixes:Y.NONE,value:36966911e-13,offset:0},fluidounce:{name:"fluidounce",base:A.VOLUME,prefixes:Y.NONE,value:2957353e-11,offset:0},gill:{name:"gill",base:A.VOLUME,prefixes:Y.NONE,value:.0001182941,offset:0},cc:{name:"cc",base:A.VOLUME,prefixes:Y.NONE,value:1e-6,offset:0},cup:{name:"cup",base:A.VOLUME,prefixes:Y.NONE,value:.0002365882,offset:0},pint:{name:"pint",base:A.VOLUME,prefixes:Y.NONE,value:.0004731765,offset:0},quart:{name:"quart",base:A.VOLUME,prefixes:Y.NONE,value:.0009463529,offset:0},gallon:{name:"gallon",base:A.VOLUME,prefixes:Y.NONE,value:.003785412,offset:0},beerbarrel:{name:"beerbarrel",base:A.VOLUME,prefixes:Y.NONE,value:.1173478,offset:0},oilbarrel:{name:"oilbarrel",base:A.VOLUME,prefixes:Y.NONE,value:.1589873,offset:0},hogshead:{name:"hogshead",base:A.VOLUME,prefixes:Y.NONE,value:.238481,offset:0},fldr:{name:"fldr",base:A.VOLUME,prefixes:Y.NONE,value:36966911e-13,offset:0},floz:{name:"floz",base:A.VOLUME,prefixes:Y.NONE,value:2957353e-11,offset:0},gi:{name:"gi",base:A.VOLUME,prefixes:Y.NONE,value:.0001182941,offset:0},cp:{name:"cp",base:A.VOLUME,prefixes:Y.NONE,value:.0002365882,offset:0},pt:{name:"pt",base:A.VOLUME,prefixes:Y.NONE,value:.0004731765,offset:0},qt:{name:"qt",base:A.VOLUME,prefixes:Y.NONE,value:.0009463529,offset:0},gal:{name:"gal",base:A.VOLUME,prefixes:Y.NONE,value:.003785412,offset:0},bbl:{name:"bbl",base:A.VOLUME,prefixes:Y.NONE,value:.1173478,offset:0},obl:{name:"obl",base:A.VOLUME,prefixes:Y.NONE,value:.1589873,offset:0},g:{name:"g",base:A.MASS,prefixes:Y.SHORT,value:.001,offset:0},gram:{name:"gram",base:A.MASS,prefixes:Y.LONG,value:.001,offset:0},ton:{name:"ton",base:A.MASS,prefixes:Y.SHORT,value:907.18474,offset:0},t:{name:"t",base:A.MASS,prefixes:Y.SHORT,value:1e3,offset:0},tonne:{name:"tonne",base:A.MASS,prefixes:Y.LONG,value:1e3,offset:0},grain:{name:"grain",base:A.MASS,prefixes:Y.NONE,value:6479891e-11,offset:0},dram:{name:"dram",base:A.MASS,prefixes:Y.NONE,value:.0017718451953125,offset:0},ounce:{name:"ounce",base:A.MASS,prefixes:Y.NONE,value:.028349523125,offset:0},poundmass:{name:"poundmass",base:A.MASS,prefixes:Y.NONE,value:.45359237,offset:0},hundredweight:{name:"hundredweight",base:A.MASS,prefixes:Y.NONE,value:45.359237,offset:0},stick:{name:"stick",base:A.MASS,prefixes:Y.NONE,value:.115,offset:0},stone:{name:"stone",base:A.MASS,prefixes:Y.NONE,value:6.35029318,offset:0},gr:{name:"gr",base:A.MASS,prefixes:Y.NONE,value:6479891e-11,offset:0},dr:{name:"dr",base:A.MASS,prefixes:Y.NONE,value:.0017718451953125,offset:0},oz:{name:"oz",base:A.MASS,prefixes:Y.NONE,value:.028349523125,offset:0},lbm:{name:"lbm",base:A.MASS,prefixes:Y.NONE,value:.45359237,offset:0},cwt:{name:"cwt",base:A.MASS,prefixes:Y.NONE,value:45.359237,offset:0},s:{name:"s",base:A.TIME,prefixes:Y.SHORT,value:1,offset:0},min:{name:"min",base:A.TIME,prefixes:Y.NONE,value:60,offset:0},h:{name:"h",base:A.TIME,prefixes:Y.NONE,value:3600,offset:0},second:{name:"second",base:A.TIME,prefixes:Y.LONG,value:1,offset:0},sec:{name:"sec",base:A.TIME,prefixes:Y.LONG,value:1,offset:0},minute:{name:"minute",base:A.TIME,prefixes:Y.NONE,value:60,offset:0},hour:{name:"hour",base:A.TIME,prefixes:Y.NONE,value:3600,offset:0},day:{name:"day",base:A.TIME,prefixes:Y.NONE,value:86400,offset:0},week:{name:"week",base:A.TIME,prefixes:Y.NONE,value:604800,offset:0},month:{name:"month",base:A.TIME,prefixes:Y.NONE,value:2629800,offset:0},year:{name:"year",base:A.TIME,prefixes:Y.NONE,value:31557600,offset:0},decade:{name:"decade",base:A.TIME,prefixes:Y.NONE,value:315576e3,offset:0},century:{name:"century",base:A.TIME,prefixes:Y.NONE,value:315576e4,offset:0},millennium:{name:"millennium",base:A.TIME,prefixes:Y.NONE,value:315576e5,offset:0},hertz:{name:"Hertz",base:A.FREQUENCY,prefixes:Y.LONG,value:1,offset:0,reciprocal:!0},Hz:{name:"Hz",base:A.FREQUENCY,prefixes:Y.SHORT,value:1,offset:0,reciprocal:!0},rad:{name:"rad",base:A.ANGLE,prefixes:Y.SHORT,value:1,offset:0},radian:{name:"radian",base:A.ANGLE,prefixes:Y.LONG,value:1,offset:0},deg:{name:"deg",base:A.ANGLE,prefixes:Y.SHORT,value:null,offset:0},degree:{name:"degree",base:A.ANGLE,prefixes:Y.LONG,value:null,offset:0},grad:{name:"grad",base:A.ANGLE,prefixes:Y.SHORT,value:null,offset:0},gradian:{name:"gradian",base:A.ANGLE,prefixes:Y.LONG,value:null,offset:0},cycle:{name:"cycle",base:A.ANGLE,prefixes:Y.NONE,value:null,offset:0},arcsec:{name:"arcsec",base:A.ANGLE,prefixes:Y.NONE,value:null,offset:0},arcmin:{name:"arcmin",base:A.ANGLE,prefixes:Y.NONE,value:null,offset:0},A:{name:"A",base:A.CURRENT,prefixes:Y.SHORT,value:1,offset:0},ampere:{name:"ampere",base:A.CURRENT,prefixes:Y.LONG,value:1,offset:0},K:{name:"K",base:A.TEMPERATURE,prefixes:Y.NONE,value:1,offset:0},degC:{name:"degC",base:A.TEMPERATURE,prefixes:Y.NONE,value:1,offset:273.15},degF:{name:"degF",base:A.TEMPERATURE,prefixes:Y.NONE,value:1/1.8,offset:459.67},degR:{name:"degR",base:A.TEMPERATURE,prefixes:Y.NONE,value:1/1.8,offset:0},kelvin:{name:"kelvin",base:A.TEMPERATURE,prefixes:Y.NONE,value:1,offset:0},celsius:{name:"celsius",base:A.TEMPERATURE,prefixes:Y.NONE,value:1,offset:273.15},fahrenheit:{name:"fahrenheit",base:A.TEMPERATURE,prefixes:Y.NONE,value:1/1.8,offset:459.67},rankine:{name:"rankine",base:A.TEMPERATURE,prefixes:Y.NONE,value:1/1.8,offset:0},mol:{name:"mol",base:A.AMOUNT_OF_SUBSTANCE,prefixes:Y.SHORT,value:1,offset:0},mole:{name:"mole",base:A.AMOUNT_OF_SUBSTANCE,prefixes:Y.LONG,value:1,offset:0},cd:{name:"cd",base:A.LUMINOUS_INTENSITY,prefixes:Y.SHORT,value:1,offset:0},candela:{name:"candela",base:A.LUMINOUS_INTENSITY,prefixes:Y.LONG,value:1,offset:0},N:{name:"N",base:A.FORCE,prefixes:Y.SHORT,value:1,offset:0},newton:{name:"newton",base:A.FORCE,prefixes:Y.LONG,value:1,offset:0},dyn:{name:"dyn",base:A.FORCE,prefixes:Y.SHORT,value:1e-5,offset:0},dyne:{name:"dyne",base:A.FORCE,prefixes:Y.LONG,value:1e-5,offset:0},lbf:{name:"lbf",base:A.FORCE,prefixes:Y.NONE,value:4.4482216152605,offset:0},poundforce:{name:"poundforce",base:A.FORCE,prefixes:Y.NONE,value:4.4482216152605,offset:0},kip:{name:"kip",base:A.FORCE,prefixes:Y.LONG,value:4448.2216,offset:0},kilogramforce:{name:"kilogramforce",base:A.FORCE,prefixes:Y.NONE,value:9.80665,offset:0},J:{name:"J",base:A.ENERGY,prefixes:Y.SHORT,value:1,offset:0},joule:{name:"joule",base:A.ENERGY,prefixes:Y.SHORT,value:1,offset:0},erg:{name:"erg",base:A.ENERGY,prefixes:Y.NONE,value:1e-7,offset:0},Wh:{name:"Wh",base:A.ENERGY,prefixes:Y.SHORT,value:3600,offset:0},BTU:{name:"BTU",base:A.ENERGY,prefixes:Y.BTU,value:1055.05585262,offset:0},eV:{name:"eV",base:A.ENERGY,prefixes:Y.SHORT,value:1602176565e-28,offset:0},electronvolt:{name:"electronvolt",base:A.ENERGY,prefixes:Y.LONG,value:1602176565e-28,offset:0},W:{name:"W",base:A.POWER,prefixes:Y.SHORT,value:1,offset:0},watt:{name:"watt",base:A.POWER,prefixes:Y.LONG,value:1,offset:0},hp:{name:"hp",base:A.POWER,prefixes:Y.NONE,value:745.6998715386,offset:0},VAR:{name:"VAR",base:A.POWER,prefixes:Y.SHORT,value:b.I,offset:0},VA:{name:"VA",base:A.POWER,prefixes:Y.SHORT,value:1,offset:0},Pa:{name:"Pa",base:A.PRESSURE,prefixes:Y.SHORT,value:1,offset:0},psi:{name:"psi",base:A.PRESSURE,prefixes:Y.NONE,value:6894.75729276459,offset:0},atm:{name:"atm",base:A.PRESSURE,prefixes:Y.NONE,value:101325,offset:0},bar:{name:"bar",base:A.PRESSURE,prefixes:Y.SHORTLONG,value:1e5,offset:0},torr:{name:"torr",base:A.PRESSURE,prefixes:Y.NONE,value:133.322,offset:0},mmHg:{name:"mmHg",base:A.PRESSURE,prefixes:Y.NONE,value:133.322,offset:0},mmH2O:{name:"mmH2O",base:A.PRESSURE,prefixes:Y.NONE,value:9.80665,offset:0},cmH2O:{name:"cmH2O",base:A.PRESSURE,prefixes:Y.NONE,value:98.0665,offset:0},coulomb:{name:"coulomb",base:A.ELECTRIC_CHARGE,prefixes:Y.LONG,value:1,offset:0},C:{name:"C",base:A.ELECTRIC_CHARGE,prefixes:Y.SHORT,value:1,offset:0},farad:{name:"farad",base:A.ELECTRIC_CAPACITANCE,prefixes:Y.LONG,value:1,offset:0},F:{name:"F",base:A.ELECTRIC_CAPACITANCE,prefixes:Y.SHORT,value:1,offset:0},volt:{name:"volt",base:A.ELECTRIC_POTENTIAL,prefixes:Y.LONG,value:1,offset:0},V:{name:"V",base:A.ELECTRIC_POTENTIAL,prefixes:Y.SHORT,value:1,offset:0},ohm:{name:"ohm",base:A.ELECTRIC_RESISTANCE,prefixes:Y.SHORTLONG,value:1,offset:0},henry:{name:"henry",base:A.ELECTRIC_INDUCTANCE,prefixes:Y.LONG,value:1,offset:0},H:{name:"H",base:A.ELECTRIC_INDUCTANCE,prefixes:Y.SHORT,value:1,offset:0},siemens:{name:"siemens",base:A.ELECTRIC_CONDUCTANCE,prefixes:Y.LONG,value:1,offset:0},S:{name:"S",base:A.ELECTRIC_CONDUCTANCE,prefixes:Y.SHORT,value:1,offset:0},weber:{name:"weber",base:A.MAGNETIC_FLUX,prefixes:Y.LONG,value:1,offset:0},Wb:{name:"Wb",base:A.MAGNETIC_FLUX,prefixes:Y.SHORT,value:1,offset:0},tesla:{name:"tesla",base:A.MAGNETIC_FLUX_DENSITY,prefixes:Y.LONG,value:1,offset:0},T:{name:"T",base:A.MAGNETIC_FLUX_DENSITY,prefixes:Y.SHORT,value:1,offset:0},b:{name:"b",base:A.BIT,prefixes:Y.BINARY_SHORT,value:1,offset:0},bits:{name:"bits",base:A.BIT,prefixes:Y.BINARY_LONG,value:1,offset:0},B:{name:"B",base:A.BIT,prefixes:Y.BINARY_SHORT,value:8,offset:0},bytes:{name:"bytes",base:A.BIT,prefixes:Y.BINARY_LONG,value:8,offset:0}},Z={meters:"meter",inches:"inch",feet:"foot",yards:"yard",miles:"mile",links:"link",rods:"rod",chains:"chain",angstroms:"angstrom",lt:"l",litres:"litre",liter:"litre",liters:"litre",teaspoons:"teaspoon",tablespoons:"tablespoon",minims:"minim",fluiddrams:"fluiddram",fluidounces:"fluidounce",gills:"gill",cups:"cup",pints:"pint",quarts:"quart",gallons:"gallon",beerbarrels:"beerbarrel",oilbarrels:"oilbarrel",hogsheads:"hogshead",gtts:"gtt",grams:"gram",tons:"ton",tonnes:"tonne",grains:"grain",drams:"dram",ounces:"ounce",poundmasses:"poundmass",hundredweights:"hundredweight",sticks:"stick",lb:"lbm",lbs:"lbm",kips:"kip",kgf:"kilogramforce",acres:"acre",hectares:"hectare",sqfeet:"sqft",sqyard:"sqyd",sqmile:"sqmi",sqmiles:"sqmi",mmhg:"mmHg",mmh2o:"mmH2O",cmh2o:"cmH2O",seconds:"second",secs:"second",minutes:"minute",mins:"minute",hours:"hour",hr:"hour",hrs:"hour",days:"day",weeks:"week",months:"month",years:"year",decades:"decade",centuries:"century",millennia:"millennium",hertz:"hertz",radians:"radian",degrees:"degree",gradians:"gradian",cycles:"cycle",arcsecond:"arcsec",arcseconds:"arcsec",arcminute:"arcmin",arcminutes:"arcmin",BTUs:"BTU",watts:"watt",joules:"joule",amperes:"ampere",coulombs:"coulomb",volts:"volt",ohms:"ohm",farads:"farad",webers:"weber",teslas:"tesla",electronvolts:"electronvolt",moles:"mole",bit:"bits",byte:"bytes"};function R(e){if("BigNumber"===e.number){var t=l$(y);B.rad.value=new y(1),B.deg.value=t.div(180),B.grad.value=t.div(200),B.cycle.value=t.times(2),B.arcsec.value=t.div(648e3),B.arcmin.value=t.div(10800)}else B.rad.value=1,B.deg.value=Math.PI/180,B.grad.value=Math.PI/200,B.cycle.value=2*Math.PI,B.arcsec.value=Math.PI/648e3,B.arcmin.value=Math.PI/10800;B.radian.value=B.rad.value,B.degree.value=B.deg.value,B.gradian.value=B.grad.value}R(i),o&&o("config",(function(e,t){e.number!==t.number&&R(e)}));var H={si:{NONE:{unit:I,prefix:Y.NONE[""]},LENGTH:{unit:B.m,prefix:Y.SHORT[""]},MASS:{unit:B.g,prefix:Y.SHORT.k},TIME:{unit:B.s,prefix:Y.SHORT[""]},CURRENT:{unit:B.A,prefix:Y.SHORT[""]},TEMPERATURE:{unit:B.K,prefix:Y.SHORT[""]},LUMINOUS_INTENSITY:{unit:B.cd,prefix:Y.SHORT[""]},AMOUNT_OF_SUBSTANCE:{unit:B.mol,prefix:Y.SHORT[""]},ANGLE:{unit:B.rad,prefix:Y.SHORT[""]},BIT:{unit:B.bits,prefix:Y.SHORT[""]},FORCE:{unit:B.N,prefix:Y.SHORT[""]},ENERGY:{unit:B.J,prefix:Y.SHORT[""]},POWER:{unit:B.W,prefix:Y.SHORT[""]},PRESSURE:{unit:B.Pa,prefix:Y.SHORT[""]},ELECTRIC_CHARGE:{unit:B.C,prefix:Y.SHORT[""]},ELECTRIC_CAPACITANCE:{unit:B.F,prefix:Y.SHORT[""]},ELECTRIC_POTENTIAL:{unit:B.V,prefix:Y.SHORT[""]},ELECTRIC_RESISTANCE:{unit:B.ohm,prefix:Y.SHORT[""]},ELECTRIC_INDUCTANCE:{unit:B.H,prefix:Y.SHORT[""]},ELECTRIC_CONDUCTANCE:{unit:B.S,prefix:Y.SHORT[""]},MAGNETIC_FLUX:{unit:B.Wb,prefix:Y.SHORT[""]},MAGNETIC_FLUX_DENSITY:{unit:B.T,prefix:Y.SHORT[""]},FREQUENCY:{unit:B.Hz,prefix:Y.SHORT[""]}}};H.cgs=JSON.parse(JSON.stringify(H.si)),H.cgs.LENGTH={unit:B.m,prefix:Y.SHORT.c},H.cgs.MASS={unit:B.g,prefix:Y.SHORT[""]},H.cgs.FORCE={unit:B.dyn,prefix:Y.SHORT[""]},H.cgs.ENERGY={unit:B.erg,prefix:Y.NONE[""]},H.us=JSON.parse(JSON.stringify(H.si)),H.us.LENGTH={unit:B.ft,prefix:Y.NONE[""]},H.us.MASS={unit:B.lbm,prefix:Y.NONE[""]},H.us.TEMPERATURE={unit:B.degF,prefix:Y.NONE[""]},H.us.FORCE={unit:B.lbf,prefix:Y.NONE[""]},H.us.ENERGY={unit:B.BTU,prefix:Y.BTU[""]},H.us.POWER={unit:B.hp,prefix:Y.NONE[""]},H.us.PRESSURE={unit:B.psi,prefix:Y.NONE[""]},H.auto=JSON.parse(JSON.stringify(H.si));var V=H.auto;for(var X in w.setUnitSystem=function(e){if(!gz(H,e))throw new Error("Unit system "+e+" does not exist. Choices are: "+Object.keys(H).join(", "));V=H[e]},w.getUnitSystem=function(){for(var e in H)if(gz(H,e)&&H[e]===V)return e},w.typeConverters={BigNumber:function(e){return new y(e+"")},Fraction:function(e){return new O(e)},Complex:function(e){return e},number:function(e){return e}},w._getNumberConverter=function(e){if(!w.typeConverters[e])throw new TypeError('Unsupported type "'+e+'"');return w.typeConverters[e]},B)if(gz(B,X)){var J=B[X];J.dimensions=J.base.dimensions}for(var z in Z)if(gz(Z,z)){var Q=B[Z[z]],W={};for(var K in Q)gz(Q,K)&&(W[K]=Q[K]);W.name=z,B[z]=W}function U(e){for(var t=0;t<e.length;t++){if(r=e.charAt(t),0===t&&!w.isValidAlpha(r))throw new Error('Invalid unit name (must begin with alpha character): "'+e+'"');if(t>0&&!w.isValidAlpha(r)&&!M(r))throw new Error('Invalid unit name (only alphanumeric characters are allowed): "'+e+'"')}}return w.isValidAlpha=function(e){return/^[a-zA-Z]$/.test(e)},w.createUnit=function(e,t){if("object"!==typeof e)throw new TypeError("createUnit expects first parameter to be of type 'Object'");if(t&&t.override)for(var n in e)if(gz(e,n)&&w.deleteUnit(n),e[n].aliases)for(var r=0;r<e[n].aliases.length;r++)w.deleteUnit(e[n].aliases[r]);var o;for(var i in e)gz(e,i)&&(o=w.createUnitSingle(i,e[i]));return o},w.createUnitSingle=function(e,t,n){if("undefined"!==typeof t&&null!==t||(t={}),"string"!==typeof e)throw new TypeError("createUnitSingle expects first parameter to be of type 'string'");if(gz(B,e))throw new Error('Cannot create unit "'+e+'": a unit with that name already exists');U(e);var r,o,i,a=null,u=[],c=0;if(t&&"Unit"===t.type)a=t.clone();else if("string"===typeof t)""!==t&&(r=t);else{if("object"!==typeof t)throw new TypeError('Cannot create unit "'+e+'" from "'+t.toString()+'": expecting "string" or "Unit" or "Object"');r=t.definition,o=t.prefixes,c=t.offset,i=t.baseName,t.aliases&&(u=t.aliases.valueOf())}if(u)for(var l=0;l<u.length;l++)if(gz(B,u[l]))throw new Error('Cannot create alias "'+u[l]+'": a unit with that name already exists');if(r&&"string"===typeof r&&!a)try{a=w.parse(r,{allowNoUnits:!0})}catch(N){throw N.message='Could not create unit "'+e+'" from "'+r+'": '+N.message,N}else r&&"Unit"===r.type&&(a=r.clone());u=u||[],c=c||0,o=o&&o.toUpperCase&&Y[o.toUpperCase()]||Y.NONE;var s={};if(a){s={name:e,value:a.value,dimensions:a.dimensions.slice(0),prefixes:o,offset:c};var d=!1;for(var f in A)if(gz(A,f)){for(var p=!0,v=0;v<_.length;v++)if(Math.abs((s.dimensions[v]||0)-(A[f].dimensions[v]||0))>1e-12){p=!1;break}if(p){d=!0,s.base=A[f];break}}if(!d){i=i||e+"_STUFF";var h={dimensions:a.dimensions.slice(0)};h.key=i,A[i]=h,V[i]={unit:s,prefix:Y.NONE[""]},s.base=A[i]}}else{if(i=i||e+"_STUFF",_.indexOf(i)>=0)throw new Error('Cannot create new base unit "'+e+'": a base unit with that name already exists (and cannot be overridden)');for(var m in _.push(i),A)gz(A,m)&&(A[m].dimensions[_.length-1]=0);for(var g={dimensions:[]},b=0;b<_.length;b++)g.dimensions[b]=0;g.dimensions[_.length-1]=1,g.key=i,A[i]=g,s={name:e,value:1,dimensions:A[i].dimensions.slice(0),prefixes:o,offset:c,base:A[i]},V[i]={unit:s,prefix:Y.NONE[""]}}w.UNITS[e]=s;for(var y=0;y<u.length;y++){var O=u[y],C={};for(var S in s)gz(s,S)&&(C[S]=s[S]);C.name=O,w.UNITS[O]=C}return delete k.cache,new w(null,e)},w.deleteUnit=function(e){delete w.UNITS[e]},w.PREFIXES=Y,w.BASE_DIMENSIONS=_,w.BASE_UNITS=A,w.UNIT_SYSTEMS=H,w.UNITS=B,w},{isClass:!0}),m$={BigNumberDependencies:Dz,ComplexDependencies:Az,FractionDependencies:Kz,absDependencies:NU,addScalarDependencies:qQ,divideScalarDependencies:zU,equalDependencies:nG,fixDependencies:xG,formatDependencies:SQ,isNumericDependencies:EG,multiplyScalarDependencies:KW,numberDependencies:IU,powDependencies:n$,roundDependencies:dG,subtractDependencies:RW,createUnitClass:h$},g$="SymbolNode",b$=["math","?Unit","Node"],y$=Cz(g$,b$,e=>{var{math:t,Unit:n,Node:r}=e;function o(e){return!!n&&n.isValuelessUnit(e)}function i(e){if(!(this instanceof i))throw new SyntaxError("Constructor must be called with the new operator");if("string"!==typeof e)throw new TypeError('String expected for parameter "name"');this.name=e}return i.prototype=new r,i.prototype.type="SymbolNode",i.prototype.isSymbolNode=!0,i.prototype._compile=function(e,t){var r=this.name;if(!0===t[r])return function(e,t,n){return t[r]};if(r in e)return function(t,n,o){return t.has(r)?t.get(r):$z(e,r)};var a=o(r);return function(e,t,o){return e.has(r)?e.get(r):a?new n(null,r):i.onUndefinedSymbol(r)}},i.prototype.forEach=function(e){},i.prototype.map=function(e){return this.clone()},i.onUndefinedSymbol=function(e){throw new Error("Undefined symbol "+e)},i.prototype.clone=function(){return new i(this.name)},i.prototype._toString=function(e){return this.name},i.prototype.toHTML=function(e){var t=ZJ(this.name);return"true"===t||"false"===t?'<span class="math-symbol math-boolean">'+t+"</span>":"i"===t?'<span class="math-symbol math-imaginary-symbol">'+t+"</span>":"Infinity"===t?'<span class="math-symbol math-infinity-symbol">'+t+"</span>":"NaN"===t?'<span class="math-symbol math-nan-symbol">'+t+"</span>":"null"===t?'<span class="math-symbol math-null-symbol">'+t+"</span>":"undefined"===t?'<span class="math-symbol math-undefined-symbol">'+t+"</span>":'<span class="math-symbol">'+t+"</span>"},i.prototype.toJSON=function(){return{mathjs:"SymbolNode",name:this.name}},i.fromJSON=function(e){return new i(e.name)},i.prototype._toTex=function(e){var n=!1;"undefined"===typeof t[this.name]&&o(this.name)&&(n=!0);var r=fU(this.name,n);return"\\"===r[0]?r:" "+r},i},{isClass:!0,isNode:!0}),O$={UnitDependencies:m$,NodeDependencies:bK,createSymbolNode:y$};function C$(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"===typeof e.createSubScope?dQ(e.createSubScope(),...n):dQ(cQ(),e,...n)}var w$="FunctionNode",S$=["math","Node","SymbolNode"],N$=Cz(w$,S$,e=>{var{math:t,Node:n,SymbolNode:r}=e;function o(e,t){if(!(this instanceof o))throw new SyntaxError("Constructor must be called with the new operator");if("string"===typeof e&&(e=new r(e)),!oJ(e))throw new TypeError('Node expected as parameter "fn"');if(!Array.isArray(t)||!t.every(oJ))throw new TypeError('Array containing Nodes expected for parameter "args"');this.fn=e,this.args=t||[],Object.defineProperty(this,"name",{get:function(){return this.fn.name||""}.bind(this),set:function(){throw new Error("Cannot assign a new name, name is read-only")}})}o.prototype=new n,o.prototype.type="FunctionNode",o.prototype.isFunctionNode=!0;var i=e=>FJ(e,{truncate:78});o.prototype._compile=function(e,t){if(!(this instanceof o))throw new TypeError("No valid FunctionNode");var n=this.args.map(n=>n._compile(e,t));if(!lJ(this.fn)){if(KX(this.fn)&&rJ(this.fn.index)&&this.fn.index.isObjectProperty()){var r=this.fn.object._compile(e,t),a=this.fn.index.getObjectProperty(),u=this.args;return function(t,o,i){var c=r(t,o,i);nQ(c,a);var l=c[a]&&c[a].rawArgs;if(l)return c[a](u,e,C$(t,o),t);var s=n.map(e=>e(t,o,i));return c[a].apply(c,s)}}var c=this.fn.toString(),l=this.fn._compile(e,t),s=this.args;return function(t,r,o){var a=l(t,r,o);if("function"!==typeof a)throw new TypeError("Expression '".concat(c,"' did not evaluate to a function; value is:")+"\n ".concat(i(a)));if(a.rawArgs)return a(s,e,C$(t,r),t);var u=n.map(e=>e(t,r,o));return a.apply(a,u)}}var d=this.fn.name;if(t[d]){var f=this.args;return function(t,r,o){var a=r[d];if("function"!==typeof a)throw new TypeError("Argument '".concat(d,"' was not a function; received: ").concat(i(a)));if(a.rawArgs)return a(f,e,C$(t,r),t);var u=n.map(e=>e(t,r,o));return a.apply(a,u)}}var p=d in e?$z(e,d):void 0,v="function"===typeof p&&!0===p.rawArgs,h=t=>{var n;if(t.has(d))n=t.get(d);else{if(!(d in e))return o.onUndefinedFunction(d);n=$z(e,d)}if("function"===typeof n)return n;throw new TypeError("'".concat(d,"' is not a function; its value is:\n ").concat(i(n)))};if(v){var m=this.args;return function(t,n,r){var o=h(t);return o(m,e,C$(t,n),t)}}switch(n.length){case 0:return function(e,t,n){var r=h(e);return r()};case 1:return function(e,t,r){var o=h(e),i=n[0];return o(i(e,t,r))};case 2:return function(e,t,r){var o=h(e),i=n[0],a=n[1];return o(i(e,t,r),a(e,t,r))};default:return function(e,t,r){var o=h(e),i=n.map(n=>n(e,t,r));return o(...i)}}},o.prototype.forEach=function(e){e(this.fn,"fn",this);for(var t=0;t<this.args.length;t++)e(this.args[t],"args["+t+"]",this)},o.prototype.map=function(e){for(var t=this._ifNode(e(this.fn,"fn",this)),n=[],r=0;r<this.args.length;r++)n[r]=this._ifNode(e(this.args[r],"args["+r+"]",this));return new o(t,n)},o.prototype.clone=function(){return new o(this.fn,this.args.slice(0))},o.onUndefinedFunction=function(e){throw new Error("Undefined function "+e)};var a=o.prototype.toString;function u(e,t,n){var r,o="",i=/\$(?:\{([a-z_][a-z_0-9]*)(?:\[([0-9]+)\])?\}|\$)/gi,a=0;while(null!==(r=i.exec(e)))if(o+=e.substring(a,r.index),a=r.index,"$$"===r[0])o+="$",a++;else{a+=r[0].length;var u=t[r[1]];if(!u)throw new ReferenceError("Template: Property "+r[1]+" does not exist.");if(void 0===r[2])switch(typeof u){case"string":o+=u;break;case"object":if(oJ(u))o+=u.toTex(n);else{if(!Array.isArray(u))throw new TypeError("Template: "+r[1]+" has to be a Node, String or array of Nodes");o+=u.map((function(e,t){if(oJ(e))return e.toTex(n);throw new TypeError("Template: "+r[1]+"["+t+"] is not a Node.")})).join(",")}break;default:throw new TypeError("Template: "+r[1]+" has to be a Node, String or array of Nodes")}else{if(!oJ(u[r[2]]&&u[r[2]]))throw new TypeError("Template: "+r[1]+"["+r[2]+"] is not a Node.");o+=u[r[2]].toTex(n)}}return o+=e.slice(a),o}o.prototype.toString=function(e){var t,n=this.fn.toString(e);return e&&"object"===typeof e.handler&&gz(e.handler,n)&&(t=e.handler[n](this,e)),"undefined"!==typeof t?t:a.call(this,e)},o.prototype._toString=function(e){var t=this.args.map((function(t){return t.toString(e)})),n=tJ(this.fn)?"("+this.fn.toString(e)+")":this.fn.toString(e);return n+"("+t.join(", ")+")"},o.prototype.toJSON=function(){return{mathjs:"FunctionNode",fn:this.fn,args:this.args}},o.fromJSON=function(e){return new o(e.fn,e.args)},o.prototype.toHTML=function(e){var t=this.args.map((function(t){return t.toHTML(e)}));return'<span class="math-function">'+ZJ(this.fn)+'</span><span class="math-paranthesis math-round-parenthesis">(</span>'+t.join('<span class="math-separator">,</span>')+'<span class="math-paranthesis math-round-parenthesis">)</span>'};var c=o.prototype.toTex;return o.prototype.toTex=function(e){var t;return e&&"object"===typeof e.handler&&gz(e.handler,this.name)&&(t=e.handler[this.name](this,e)),"undefined"!==typeof t?t:c.call(this,e)},o.prototype._toTex=function(e){var n,r,o=this.args.map((function(t){return t.toTex(e)}));switch(cU[this.name]&&(n=cU[this.name]),!t[this.name]||"function"!==typeof t[this.name].toTex&&"object"!==typeof t[this.name].toTex&&"string"!==typeof t[this.name].toTex||(n=t[this.name].toTex),typeof n){case"function":r=n(this,e);break;case"string":r=u(n,this,e);break;case"object":switch(typeof n[o.length]){case"function":r=n[o.length](this,e);break;case"string":r=u(n[o.length],this,e);break}}return"undefined"!==typeof r?r:u(lU,this,e)},o.prototype.getIdentifier=function(){return this.type+":"+this.name},o},{isClass:!0,isNode:!0}),M$={NodeDependencies:bK,SymbolNodeDependencies:O$,createFunctionNode:N$},x$="IndexNode",j$=["Node","size"],T$=Cz(x$,j$,e=>{var{Node:t,size:n}=e;function r(e,t){if(!(this instanceof r))throw new SyntaxError("Constructor must be called with the new operator");if(this.dimensions=e,this.dotNotation=t||!1,!Array.isArray(e)||!e.every(oJ))throw new TypeError('Array containing Nodes expected for parameter "dimensions"');if(this.dotNotation&&!this.isObjectProperty())throw new Error("dotNotation only applicable for object properties")}return r.prototype=new t,r.prototype.type="IndexNode",r.prototype.isIndexNode=!0,r.prototype._compile=function(e,t){var r=oz(this.dimensions,(function(r,o){var i=r.filter(e=>e.isSymbolNode&&"end"===e.name).length>0;if(i){var a=Object.create(t);a.end=!0;var u=r._compile(e,a);return function(e,t,r){if(!_X(r)&&!YX(r)&&!LX(r))throw new TypeError('Cannot resolve "end": context must be a Matrix, Array, or string but is '+dJ(r));var i=n(r).valueOf(),a=Object.create(t);return a.end=i[o],u(e,a,r)}}return r._compile(e,t)})),o=$z(e,"index");return function(e,t,n){var i=oz(r,(function(r){return r(e,t,n)}));return o(...i)}},r.prototype.forEach=function(e){for(var t=0;t<this.dimensions.length;t++)e(this.dimensions[t],"dimensions["+t+"]",this)},r.prototype.map=function(e){for(var t=[],n=0;n<this.dimensions.length;n++)t[n]=this._ifNode(e(this.dimensions[n],"dimensions["+n+"]",this));return new r(t,this.dotNotation)},r.prototype.clone=function(){return new r(this.dimensions.slice(0),this.dotNotation)},r.prototype.isObjectProperty=function(){return 1===this.dimensions.length&&eJ(this.dimensions[0])&&"string"===typeof this.dimensions[0].value},r.prototype.getObjectProperty=function(){return this.isObjectProperty()?this.dimensions[0].value:null},r.prototype._toString=function(e){return this.dotNotation?"."+this.getObjectProperty():"["+this.dimensions.join(", ")+"]"},r.prototype.toJSON=function(){return{mathjs:"IndexNode",dimensions:this.dimensions,dotNotation:this.dotNotation}},r.fromJSON=function(e){return new r(e.dimensions,e.dotNotation)},r.prototype.toHTML=function(e){for(var t=[],n=0;n<this.dimensions.length;n++)t[n]=this.dimensions[n].toHTML();return this.dotNotation?'<span class="math-operator math-accessor-operator">.</span><span class="math-symbol math-property">'+ZJ(this.getObjectProperty())+"</span>":'<span class="math-parenthesis math-square-parenthesis">[</span>'+t.join('<span class="math-separator">,</span>')+'<span class="math-parenthesis math-square-parenthesis">]</span>'},r.prototype._toTex=function(e){var t=this.dimensions.map((function(t){return t.toTex(e)}));return this.dotNotation?"."+this.getObjectProperty():"_{"+t.join(",")+"}"},r},{isClass:!0,isNode:!0}),D$={NodeDependencies:bK,sizeDependencies:nK,createIndexNode:T$},E$="ObjectNode",k$=["Node"],L$=Cz(E$,k$,e=>{var{Node:t}=e;function n(e){if(!(this instanceof n))throw new SyntaxError("Constructor must be called with the new operator");if(this.properties=e||{},e&&("object"!==typeof e||!Object.keys(e).every((function(t){return oJ(e[t])}))))throw new TypeError("Object containing Nodes expected")}return n.prototype=new t,n.prototype.type="ObjectNode",n.prototype.isObjectNode=!0,n.prototype._compile=function(e,t){var n={};for(var r in this.properties)if(gz(this.properties,r)){var o=BJ(r),i=JSON.parse(o);if(!tQ(this.properties,i))throw new Error('No access to property "'+i+'"');n[i]=this.properties[r]._compile(e,t)}return function(e,t,r){var o={};for(var i in n)gz(n,i)&&(o[i]=n[i](e,t,r));return o}},n.prototype.forEach=function(e){for(var t in this.properties)gz(this.properties,t)&&e(this.properties[t],"properties["+BJ(t)+"]",this)},n.prototype.map=function(e){var t={};for(var r in this.properties)gz(this.properties,r)&&(t[r]=this._ifNode(e(this.properties[r],"properties["+BJ(r)+"]",this)));return new n(t)},n.prototype.clone=function(){var e={};for(var t in this.properties)gz(this.properties,t)&&(e[t]=this.properties[t]);return new n(e)},n.prototype._toString=function(e){var t=[];for(var n in this.properties)gz(this.properties,n)&&t.push(BJ(n)+": "+this.properties[n].toString(e));return"{"+t.join(", ")+"}"},n.prototype.toJSON=function(){return{mathjs:"ObjectNode",properties:this.properties}},n.fromJSON=function(e){return new n(e.properties)},n.prototype.toHTML=function(e){var t=[];for(var n in this.properties)gz(this.properties,n)&&t.push('<span class="math-symbol math-property">'+ZJ(n)+'</span><span class="math-operator math-assignment-operator math-property-assignment-operator math-binary-operator">:</span>'+this.properties[n].toHTML(e));return'<span class="math-parenthesis math-curly-parenthesis">{</span>'+t.join('<span class="math-separator">,</span>')+'<span class="math-parenthesis math-curly-parenthesis">}</span>'},n.prototype._toTex=function(e){var t=[];for(var n in this.properties)gz(this.properties,n)&&t.push("\\mathbf{"+n+":} & "+this.properties[n].toTex(e)+"\\\\");return"\\left\\{\\begin{array}{ll}".concat(t.join("\n"),"\\end{array}\\right\\}")},n},{isClass:!0,isNode:!0}),Y$={NodeDependencies:bK,createObjectNode:L$},_$="OperatorNode",A$=["Node"],P$=Cz(_$,A$,e=>{var{Node:t}=e;function n(e,t,r,o,i){if(!(this instanceof n))throw new SyntaxError("Constructor must be called with the new operator");if("string"!==typeof e)throw new TypeError('string expected for parameter "op"');if("string"!==typeof t)throw new TypeError('string expected for parameter "fn"');if(!Array.isArray(r)||!r.every(oJ))throw new TypeError('Array containing Nodes expected for parameter "args"');this.implicit=!0===o,this.isPercentage=!0===i,this.op=e,this.fn=t,this.args=r||[]}function r(e,t,n,r,o){var i,a=BK(e,t),u=ZK(e,t);if("all"===t||r.length>2&&"OperatorNode:add"!==e.getIdentifier()&&"OperatorNode:multiply"!==e.getIdentifier())return r.map((function(e){switch(e.getContent().type){case"ArrayNode":case"ConstantNode":case"SymbolNode":case"ParenthesisNode":return!1;default:return!0}}));switch(r.length){case 0:i=[];break;case 1:var c=BK(r[0],t);if(o&&null!==c){var l,s;if("keep"===t?(l=r[0].getIdentifier(),s=e.getIdentifier()):(l=r[0].getContent().getIdentifier(),s=e.getContent().getIdentifier()),!1===IK[a][s].latexLeftParens){i=[!1];break}if(!1===IK[c][l].latexParens){i=[!1];break}}if(null===c){i=[!1];break}if(c<=a){i=[!0];break}i=[!1];break;case 2:var d,f,p=BK(r[0],t),v=RK(e,r[0],t);d=null!==p&&(p===a&&"right"===u&&!v||p<a);var h,m,g,b=BK(r[1],t),y=RK(e,r[1],t);if(f=null!==b&&(b===a&&"left"===u&&!y||b<a),o)"keep"===t?(h=e.getIdentifier(),m=e.args[0].getIdentifier(),g=e.args[1].getIdentifier()):(h=e.getContent().getIdentifier(),m=e.args[0].getContent().getIdentifier(),g=e.args[1].getContent().getIdentifier()),null!==p&&(!1===IK[a][h].latexLeftParens&&(d=!1),!1===IK[p][m].latexParens&&(d=!1)),null!==b&&(!1===IK[a][h].latexRightParens&&(f=!1),!1===IK[b][g].latexParens&&(f=!1));i=[d,f];break;default:"OperatorNode:add"!==e.getIdentifier()&&"OperatorNode:multiply"!==e.getIdentifier()||(i=r.map((function(n){var r=BK(n,t),o=RK(e,n,t),i=ZK(n,t);return null!==r&&(a===r&&u===i&&!o||r<a)})));break}return r.length>=2&&"OperatorNode:multiply"===e.getIdentifier()&&e.implicit&&"auto"===t&&"hide"===n&&(i=r.map((function(e,t){var n="ParenthesisNode"===e.getIdentifier();return!(!i[t]&&!n)}))),i}return n.prototype=new t,n.prototype.type="OperatorNode",n.prototype.isOperatorNode=!0,n.prototype._compile=function(e,t){if("string"!==typeof this.fn||!rQ(e,this.fn))throw e[this.fn]?new Error('No access to function "'+this.fn+'"'):new Error("Function "+this.fn+' missing in provided namespace "math"');var n=$z(e,this.fn),r=oz(this.args,(function(n){return n._compile(e,t)}));if(1===r.length){var o=r[0];return function(e,t,r){return n(o(e,t,r))}}if(2===r.length){var i=r[0],a=r[1];return function(e,t,r){return n(i(e,t,r),a(e,t,r))}}return function(e,t,o){return n.apply(null,oz(r,(function(n){return n(e,t,o)})))}},n.prototype.forEach=function(e){for(var t=0;t<this.args.length;t++)e(this.args[t],"args["+t+"]",this)},n.prototype.map=function(e){for(var t=[],r=0;r<this.args.length;r++)t[r]=this._ifNode(e(this.args[r],"args["+r+"]",this));return new n(this.op,this.fn,t,this.implicit,this.isPercentage)},n.prototype.clone=function(){return new n(this.op,this.fn,this.args.slice(0),this.implicit,this.isPercentage)},n.prototype.isUnary=function(){return 1===this.args.length},n.prototype.isBinary=function(){return 2===this.args.length},n.prototype._toString=function(e){var t=e&&e.parenthesis?e.parenthesis:"keep",n=e&&e.implicit?e.implicit:"hide",o=this.args,i=r(this,t,n,o,!1);if(1===o.length){var a=ZK(this,t),u=o[0].toString(e);i[0]&&(u="("+u+")");var c=/[a-zA-Z]+/.test(this.op);return"right"===a?this.op+(c?" ":"")+u:"left"===a?u+(c?" ":"")+this.op:u+this.op}if(2===o.length){var l=o[0].toString(e),s=o[1].toString(e);return i[0]&&(l="("+l+")"),i[1]&&(s="("+s+")"),this.implicit&&"OperatorNode:multiply"===this.getIdentifier()&&"hide"===n?l+" "+s:l+" "+this.op+" "+s}if(o.length>2&&("OperatorNode:add"===this.getIdentifier()||"OperatorNode:multiply"===this.getIdentifier())){var d=o.map((function(t,n){return t=t.toString(e),i[n]&&(t="("+t+")"),t}));return this.implicit&&"OperatorNode:multiply"===this.getIdentifier()&&"hide"===n?d.join(" "):d.join(" "+this.op+" ")}return this.fn+"("+this.args.join(", ")+")"},n.prototype.toJSON=function(){return{mathjs:"OperatorNode",op:this.op,fn:this.fn,args:this.args,implicit:this.implicit,isPercentage:this.isPercentage}},n.fromJSON=function(e){return new n(e.op,e.fn,e.args,e.implicit,e.isPercentage)},n.prototype.toHTML=function(e){var t=e&&e.parenthesis?e.parenthesis:"keep",n=e&&e.implicit?e.implicit:"hide",o=this.args,i=r(this,t,n,o,!1);if(1===o.length){var a=ZK(this,t),u=o[0].toHTML(e);return i[0]&&(u='<span class="math-parenthesis math-round-parenthesis">(</span>'+u+'<span class="math-parenthesis math-round-parenthesis">)</span>'),"right"===a?'<span class="math-operator math-unary-operator math-lefthand-unary-operator">'+ZJ(this.op)+"</span>"+u:u+'<span class="math-operator math-unary-operator math-righthand-unary-operator">'+ZJ(this.op)+"</span>"}if(2===o.length){var c=o[0].toHTML(e),l=o[1].toHTML(e);return i[0]&&(c='<span class="math-parenthesis math-round-parenthesis">(</span>'+c+'<span class="math-parenthesis math-round-parenthesis">)</span>'),i[1]&&(l='<span class="math-parenthesis math-round-parenthesis">(</span>'+l+'<span class="math-parenthesis math-round-parenthesis">)</span>'),this.implicit&&"OperatorNode:multiply"===this.getIdentifier()&&"hide"===n?c+'<span class="math-operator math-binary-operator math-implicit-binary-operator"></span>'+l:c+'<span class="math-operator math-binary-operator math-explicit-binary-operator">'+ZJ(this.op)+"</span>"+l}var s=o.map((function(t,n){return t=t.toHTML(e),i[n]&&(t='<span class="math-parenthesis math-round-parenthesis">(</span>'+t+'<span class="math-parenthesis math-round-parenthesis">)</span>'),t}));return o.length>2&&("OperatorNode:add"===this.getIdentifier()||"OperatorNode:multiply"===this.getIdentifier())?this.implicit&&"OperatorNode:multiply"===this.getIdentifier()&&"hide"===n?s.join('<span class="math-operator math-binary-operator math-implicit-binary-operator"></span>'):s.join('<span class="math-operator math-binary-operator math-explicit-binary-operator">'+ZJ(this.op)+"</span>"):'<span class="math-function">'+ZJ(this.fn)+'</span><span class="math-paranthesis math-round-parenthesis">(</span>'+s.join('<span class="math-separator">,</span>')+'<span class="math-paranthesis math-round-parenthesis">)</span>'},n.prototype._toTex=function(e){var t=e&&e.parenthesis?e.parenthesis:"keep",n=e&&e.implicit?e.implicit:"hide",o=this.args,i=r(this,t,n,o,!0),a=uU[this.fn];if(a="undefined"===typeof a?this.op:a,1===o.length){var u=ZK(this,t),c=o[0].toTex(e);return i[0]&&(c="\\left(".concat(c,"\\right)")),"right"===u?a+c:c+a}if(2===o.length){var l=o[0],s=l.toTex(e);i[0]&&(s="\\left(".concat(s,"\\right)"));var d,f=o[1],p=f.toTex(e);switch(i[1]&&(p="\\left(".concat(p,"\\right)")),d="keep"===t?l.getIdentifier():l.getContent().getIdentifier(),this.getIdentifier()){case"OperatorNode:divide":return a+"{"+s+"}{"+p+"}";case"OperatorNode:pow":switch(s="{"+s+"}",p="{"+p+"}",d){case"ConditionalNode":case"OperatorNode:divide":s="\\left(".concat(s,"\\right)")}break;case"OperatorNode:multiply":if(this.implicit&&"hide"===n)return s+"~"+p}return s+a+p}if(o.length>2&&("OperatorNode:add"===this.getIdentifier()||"OperatorNode:multiply"===this.getIdentifier())){var v=o.map((function(t,n){return t=t.toTex(e),i[n]&&(t="\\left(".concat(t,"\\right)")),t}));return"OperatorNode:multiply"===this.getIdentifier()&&this.implicit?v.join("~"):v.join(a)}return"\\mathrm{"+this.fn+"}\\left("+o.map((function(t){return t.toTex(e)})).join(",")+"\\right)"},n.prototype.getIdentifier=function(){return this.type+":"+this.fn},n},{isClass:!0,isNode:!0}),F$={NodeDependencies:bK,createOperatorNode:P$},I$="ParenthesisNode",B$=["Node"],Z$=Cz(I$,B$,e=>{var{Node:t}=e;function n(e){if(!(this instanceof n))throw new SyntaxError("Constructor must be called with the new operator");if(!oJ(e))throw new TypeError('Node expected for parameter "content"');this.content=e}return n.prototype=new t,n.prototype.type="ParenthesisNode",n.prototype.isParenthesisNode=!0,n.prototype._compile=function(e,t){return this.content._compile(e,t)},n.prototype.getContent=function(){return this.content.getContent()},n.prototype.forEach=function(e){e(this.content,"content",this)},n.prototype.map=function(e){var t=e(this.content,"content",this);return new n(t)},n.prototype.clone=function(){return new n(this.content)},n.prototype._toString=function(e){return!e||e&&!e.parenthesis||e&&"keep"===e.parenthesis?"("+this.content.toString(e)+")":this.content.toString(e)},n.prototype.toJSON=function(){return{mathjs:"ParenthesisNode",content:this.content}},n.fromJSON=function(e){return new n(e.content)},n.prototype.toHTML=function(e){return!e||e&&!e.parenthesis||e&&"keep"===e.parenthesis?'<span class="math-parenthesis math-round-parenthesis">(</span>'+this.content.toHTML(e)+'<span class="math-parenthesis math-round-parenthesis">)</span>':this.content.toHTML(e)},n.prototype._toTex=function(e){return!e||e&&!e.parenthesis||e&&"keep"===e.parenthesis?"\\left(".concat(this.content.toTex(e),"\\right)"):this.content.toTex(e)},n},{isClass:!0,isNode:!0}),R$={NodeDependencies:bK,createParenthesisNode:Z$},H$="RangeNode",V$=["Node"],X$=Cz(H$,V$,e=>{var{Node:t}=e;function n(e,t,r){if(!(this instanceof n))throw new SyntaxError("Constructor must be called with the new operator");if(!oJ(e))throw new TypeError("Node expected");if(!oJ(t))throw new TypeError("Node expected");if(r&&!oJ(r))throw new TypeError("Node expected");if(arguments.length>3)throw new Error("Too many arguments");this.start=e,this.end=t,this.step=r||null}function r(e,t){var n=BK(e,t),r={},o=BK(e.start,t);if(r.start=null!==o&&o<=n||"all"===t,e.step){var i=BK(e.step,t);r.step=null!==i&&i<=n||"all"===t}var a=BK(e.end,t);return r.end=null!==a&&a<=n||"all"===t,r}return n.prototype=new t,n.prototype.type="RangeNode",n.prototype.isRangeNode=!0,n.prototype.needsEnd=function(){var e=this.filter((function(e){return lJ(e)&&"end"===e.name}));return e.length>0},n.prototype._compile=function(e,t){var n=e.range,r=this.start._compile(e,t),o=this.end._compile(e,t);if(this.step){var i=this.step._compile(e,t);return function(e,t,a){return n(r(e,t,a),o(e,t,a),i(e,t,a))}}return function(e,t,i){return n(r(e,t,i),o(e,t,i))}},n.prototype.forEach=function(e){e(this.start,"start",this),e(this.end,"end",this),this.step&&e(this.step,"step",this)},n.prototype.map=function(e){return new n(this._ifNode(e(this.start,"start",this)),this._ifNode(e(this.end,"end",this)),this.step&&this._ifNode(e(this.step,"step",this)))},n.prototype.clone=function(){return new n(this.start,this.end,this.step&&this.step)},n.prototype._toString=function(e){var t,n=e&&e.parenthesis?e.parenthesis:"keep",o=r(this,n),i=this.start.toString(e);if(o.start&&(i="("+i+")"),t=i,this.step){var a=this.step.toString(e);o.step&&(a="("+a+")"),t+=":"+a}var u=this.end.toString(e);return o.end&&(u="("+u+")"),t+=":"+u,t},n.prototype.toJSON=function(){return{mathjs:"RangeNode",start:this.start,end:this.end,step:this.step}},n.fromJSON=function(e){return new n(e.start,e.end,e.step)},n.prototype.toHTML=function(e){var t,n=e&&e.parenthesis?e.parenthesis:"keep",o=r(this,n),i=this.start.toHTML(e);if(o.start&&(i='<span class="math-parenthesis math-round-parenthesis">(</span>'+i+'<span class="math-parenthesis math-round-parenthesis">)</span>'),t=i,this.step){var a=this.step.toHTML(e);o.step&&(a='<span class="math-parenthesis math-round-parenthesis">(</span>'+a+'<span class="math-parenthesis math-round-parenthesis">)</span>'),t+='<span class="math-operator math-range-operator">:</span>'+a}var u=this.end.toHTML(e);return o.end&&(u='<span class="math-parenthesis math-round-parenthesis">(</span>'+u+'<span class="math-parenthesis math-round-parenthesis">)</span>'),t+='<span class="math-operator math-range-operator">:</span>'+u,t},n.prototype._toTex=function(e){var t=e&&e.parenthesis?e.parenthesis:"keep",n=r(this,t),o=this.start.toTex(e);if(n.start&&(o="\\left(".concat(o,"\\right)")),this.step){var i=this.step.toTex(e);n.step&&(i="\\left(".concat(i,"\\right)")),o+=":"+i}var a=this.end.toTex(e);return n.end&&(a="\\left(".concat(a,"\\right)")),o+=":"+a,o},n},{isClass:!0,isNode:!0}),J$={NodeDependencies:bK,createRangeNode:X$},z$="RelationalNode",Q$=["Node"],W$=Cz(z$,Q$,e=>{var{Node:t}=e;function n(e,t){if(!(this instanceof n))throw new SyntaxError("Constructor must be called with the new operator");if(!Array.isArray(e))throw new TypeError("Parameter conditionals must be an array");if(!Array.isArray(t))throw new TypeError("Parameter params must be an array");if(e.length!==t.length-1)throw new TypeError("Parameter params must contain exactly one more element than parameter conditionals");this.conditionals=e,this.params=t}return n.prototype=new t,n.prototype.type="RelationalNode",n.prototype.isRelationalNode=!0,n.prototype._compile=function(e,t){var n=this,r=this.params.map(n=>n._compile(e,t));return function(t,o,i){for(var a,u=r[0](t,o,i),c=0;c<n.conditionals.length;c++){a=u,u=r[c+1](t,o,i);var l=$z(e,n.conditionals[c]);if(!l(a,u))return!1}return!0}},n.prototype.forEach=function(e){this.params.forEach((t,n)=>e(t,"params["+n+"]",this),this)},n.prototype.map=function(e){return new n(this.conditionals.slice(),this.params.map((t,n)=>this._ifNode(e(t,"params["+n+"]",this)),this))},n.prototype.clone=function(){return new n(this.conditionals,this.params)},n.prototype._toString=function(e){for(var t=e&&e.parenthesis?e.parenthesis:"keep",n=BK(this,t),r=this.params.map((function(r,o){var i=BK(r,t);return"all"===t||null!==i&&i<=n?"("+r.toString(e)+")":r.toString(e)})),o={equal:"==",unequal:"!=",smaller:"<",larger:">",smallerEq:"<=",largerEq:">="},i=r[0],a=0;a<this.conditionals.length;a++)i+=" "+o[this.conditionals[a]]+" "+r[a+1];return i},n.prototype.toJSON=function(){return{mathjs:"RelationalNode",conditionals:this.conditionals,params:this.params}},n.fromJSON=function(e){return new n(e.conditionals,e.params)},n.prototype.toHTML=function(e){for(var t=e&&e.parenthesis?e.parenthesis:"keep",n=BK(this,t),r=this.params.map((function(r,o){var i=BK(r,t);return"all"===t||null!==i&&i<=n?'<span class="math-parenthesis math-round-parenthesis">(</span>'+r.toHTML(e)+'<span class="math-parenthesis math-round-parenthesis">)</span>':r.toHTML(e)})),o={equal:"==",unequal:"!=",smaller:"<",larger:">",smallerEq:"<=",largerEq:">="},i=r[0],a=0;a<this.conditionals.length;a++)i+='<span class="math-operator math-binary-operator math-explicit-binary-operator">'+ZJ(o[this.conditionals[a]])+"</span>"+r[a+1];return i},n.prototype._toTex=function(e){for(var t=e&&e.parenthesis?e.parenthesis:"keep",n=BK(this,t),r=this.params.map((function(r,o){var i=BK(r,t);return"all"===t||null!==i&&i<=n?"\\left("+r.toTex(e)+"\right)":r.toTex(e)})),o=r[0],i=0;i<this.conditionals.length;i++)o+=uU[this.conditionals[i]]+r[i+1];return o},n},{isClass:!0,isNode:!0}),K$={NodeDependencies:bK,createRelationalNode:W$},U$="parse",G$=["typed","numeric","config","AccessorNode","ArrayNode","AssignmentNode","BlockNode","ConditionalNode","ConstantNode","FunctionAssignmentNode","FunctionNode","IndexNode","ObjectNode","OperatorNode","ParenthesisNode","RangeNode","RelationalNode","SymbolNode"],$$=Cz(U$,G$,e=>{var{typed:t,numeric:n,config:r,AccessorNode:o,ArrayNode:i,AssignmentNode:a,BlockNode:u,ConditionalNode:c,ConstantNode:l,FunctionAssignmentNode:s,FunctionNode:d,IndexNode:f,ObjectNode:p,OperatorNode:v,ParenthesisNode:h,RangeNode:m,RelationalNode:g,SymbolNode:b}=e,y=t(U$,{string:function(e){return P(e,{})},"Array | Matrix":function(e){return O(e,{})},"string, Object":function(e,t){var n=void 0!==t.nodes?t.nodes:{};return P(e,n)},"Array | Matrix, Object":O});function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=void 0!==t.nodes?t.nodes:{};return vW(e,(function(e){if("string"!==typeof e)throw new TypeError("String expected");return P(e,n)}))}var C={NULL:0,DELIMITER:1,NUMBER:2,SYMBOL:3,UNKNOWN:4},w={",":!0,"(":!0,")":!0,"[":!0,"]":!0,"{":!0,"}":!0,'"':!0,"'":!0,";":!0,"+":!0,"-":!0,"*":!0,".*":!0,"/":!0,"./":!0,"%":!0,"^":!0,".^":!0,"~":!0,"!":!0,"&":!0,"|":!0,"^|":!0,"=":!0,":":!0,"?":!0,"==":!0,"!=":!0,"<":!0,">":!0,"<=":!0,">=":!0,"<<":!0,">>":!0,">>>":!0},S={mod:!0,to:!0,in:!0,and:!0,xor:!0,or:!0,not:!0},N={true:!0,false:!1,null:null,undefined:void 0},M=["NaN","Infinity"];function x(){return{extraNodes:{},expression:"",comment:"",index:0,token:"",tokenType:C.NULL,nestingLevel:0,conditionalLevel:null}}function j(e,t){return e.expression.substr(e.index,t)}function T(e){return j(e,1)}function D(e){e.index++}function E(e){return e.expression.charAt(e.index-1)}function k(e){return e.expression.charAt(e.index+1)}function L(e){e.tokenType=C.NULL,e.token="",e.comment="";while(1){if("#"===T(e))while("\n"!==T(e)&&""!==T(e))e.comment+=T(e),D(e);if(!y.isWhitespace(T(e),e.nestingLevel))break;D(e)}if(""!==T(e)){if("\n"===T(e)&&!e.nestingLevel)return e.tokenType=C.DELIMITER,e.token=T(e),void D(e);var t=T(e),n=j(e,2),r=j(e,3);if(3===r.length&&w[r])return e.tokenType=C.DELIMITER,e.token=r,D(e),D(e),void D(e);if(2===n.length&&w[n])return e.tokenType=C.DELIMITER,e.token=n,D(e),void D(e);if(w[t])return e.tokenType=C.DELIMITER,e.token=t,void D(e);if(y.isDigitDot(t)){e.tokenType=C.NUMBER;var o=j(e,2);if("0b"===o||"0o"===o||"0x"===o){e.token+=T(e),D(e),e.token+=T(e),D(e);while(y.isHexDigit(T(e)))e.token+=T(e),D(e);if("."===T(e)){e.token+=".",D(e);while(y.isHexDigit(T(e)))e.token+=T(e),D(e)}else if("i"===T(e)){e.token+="i",D(e);while(y.isDigit(T(e)))e.token+=T(e),D(e)}return}if("."===T(e)){if(e.token+=T(e),D(e),!y.isDigit(T(e)))return void(e.tokenType=C.DELIMITER)}else{while(y.isDigit(T(e)))e.token+=T(e),D(e);y.isDecimalMark(T(e),k(e))&&(e.token+=T(e),D(e))}while(y.isDigit(T(e)))e.token+=T(e),D(e);if("E"===T(e)||"e"===T(e))if(y.isDigit(k(e))||"-"===k(e)||"+"===k(e)){if(e.token+=T(e),D(e),"+"!==T(e)&&"-"!==T(e)||(e.token+=T(e),D(e)),!y.isDigit(T(e)))throw be(e,'Digit expected, got "'+T(e)+'"');while(y.isDigit(T(e)))e.token+=T(e),D(e);if(y.isDecimalMark(T(e),k(e)))throw be(e,'Digit expected, got "'+T(e)+'"')}else if("."===k(e))throw D(e),be(e,'Digit expected, got "'+T(e)+'"')}else{if(!y.isAlpha(T(e),E(e),k(e))){e.tokenType=C.UNKNOWN;while(""!==T(e))e.token+=T(e),D(e);throw be(e,'Syntax error in part "'+e.token+'"')}while(y.isAlpha(T(e),E(e),k(e))||y.isDigit(T(e)))e.token+=T(e),D(e);gz(S,e.token)?e.tokenType=C.DELIMITER:e.tokenType=C.SYMBOL}}else e.tokenType=C.DELIMITER}function Y(e){do{L(e)}while("\n"===e.token)}function _(e){e.nestingLevel++}function A(e){e.nestingLevel--}function P(e,t){var n=x();o$()(n,{expression:e,extraNodes:t}),L(n);var r=F(n);if(""!==n.token)throw n.tokenType===C.DELIMITER?ye(n,"Unexpected operator "+n.token):be(n,'Unexpected part "'+n.token+'"');return r}function F(e){var t,n,r=[];""!==e.token&&"\n"!==e.token&&";"!==e.token&&(t=I(e),t.comment=e.comment);while("\n"===e.token||";"===e.token)0===r.length&&t&&(n=";"!==e.token,r.push({node:t,visible:n})),L(e),"\n"!==e.token&&";"!==e.token&&""!==e.token&&(t=I(e),t.comment=e.comment,n=";"!==e.token,r.push({node:t,visible:n}));return r.length>0?new u(r):(t||(t=new l(void 0),t.comment=e.comment),t)}function I(e){var t,n,r,o,i=B(e);if("="===e.token){if(lJ(i))return t=i.name,Y(e),r=I(e),new a(new b(t),r);if(KX(i))return Y(e),r=I(e),new a(i.object,i.index,r);if(nJ(i)&&lJ(i.fn)&&(o=!0,n=[],t=i.name,i.args.forEach((function(e,t){lJ(e)?n[t]=e.name:o=!1})),o))return Y(e),r=I(e),new s(t,n,r);throw be(e,"Invalid left hand side of assignment operator =")}return i}function B(e){var t=Z(e);while("?"===e.token){var n=e.conditionalLevel;e.conditionalLevel=e.nestingLevel,Y(e);var r=t,o=I(e);if(":"!==e.token)throw be(e,"False part of conditional expression expected");e.conditionalLevel=null,Y(e);var i=I(e);t=new c(r,o,i),e.conditionalLevel=n}return t}function Z(e){var t=R(e);while("or"===e.token)Y(e),t=new v("or","or",[t,R(e)]);return t}function R(e){var t=H(e);while("xor"===e.token)Y(e),t=new v("xor","xor",[t,H(e)]);return t}function H(e){var t=V(e);while("and"===e.token)Y(e),t=new v("and","and",[t,V(e)]);return t}function V(e){var t=X(e);while("|"===e.token)Y(e),t=new v("|","bitOr",[t,X(e)]);return t}function X(e){var t=J(e);while("^|"===e.token)Y(e),t=new v("^|","bitXor",[t,J(e)]);return t}function J(e){var t=z(e);while("&"===e.token)Y(e),t=new v("&","bitAnd",[t,z(e)]);return t}function z(e){var t=[Q(e)],n=[],r={"==":"equal","!=":"unequal","<":"smaller",">":"larger","<=":"smallerEq",">=":"largerEq"};while(gz(r,e.token)){var o={name:e.token,fn:r[e.token]};n.push(o),Y(e),t.push(Q(e))}return 1===t.length?t[0]:2===t.length?new v(n[0].name,n[0].fn,t):new g(n.map(e=>e.fn),t)}function Q(e){var t,n,r,o;t=W(e);var i={"<<":"leftShift",">>":"rightArithShift",">>>":"rightLogShift"};while(gz(i,e.token))n=e.token,r=i[n],Y(e),o=[t,W(e)],t=new v(n,r,o);return t}function W(e){var t,n,r,o;t=K(e);var i={to:"to",in:"to"};while(gz(i,e.token))n=e.token,r=i[n],Y(e),"in"===n&&""===e.token?t=new v("*","multiply",[t,new b("in")],!0):(o=[t,K(e)],t=new v(n,r,o));return t}function K(e){var t,n=[];if(t=":"===e.token?new l(1):U(e),":"===e.token&&e.conditionalLevel!==e.nestingLevel){n.push(t);while(":"===e.token&&n.length<3)Y(e),")"===e.token||"]"===e.token||","===e.token||""===e.token?n.push(new b("end")):n.push(U(e));t=3===n.length?new m(n[0],n[2],n[1]):new m(n[0],n[1])}return t}function U(e){var t,n,r,o;t=G(e);var i={"+":"add","-":"subtract"};while(gz(i,e.token)){n=e.token,r=i[n],Y(e);var a=G(e);o=a.isPercentage?[t,new v("*","multiply",[t,a])]:[t,a],t=new v(n,r,o)}return t}function G(e){var t,n,r,o;t=$(e),n=t;var i={"*":"multiply",".*":"dotMultiply","/":"divide","./":"dotDivide"};while(1){if(!gz(i,e.token))break;r=e.token,o=i[r],Y(e),n=$(e),t=new v(r,o,[t,n])}return t}function $(e){var t,n;t=q(e),n=t;while(1){if(!(e.tokenType===C.SYMBOL||"in"===e.token&&eJ(t))&&(e.tokenType!==C.NUMBER||eJ(n)||aJ(n)&&"!"!==n.op)&&"("!==e.token)break;n=q(e),t=new v("*","multiply",[t,n],!0)}return t}function q(e){var t=ee(e),n=t,r=[];while(1){if("/"!==e.token||!eJ(n))break;if(r.push(o$()({},e)),Y(e),e.tokenType!==C.NUMBER){o$()(e,r.pop());break}if(r.push(o$()({},e)),Y(e),e.tokenType!==C.SYMBOL&&"("!==e.token){r.pop(),o$()(e,r.pop());break}o$()(e,r.pop()),r.pop(),n=ee(e),t=new v("/","divide",[t,n])}return t}function ee(e){var t,n,r,o;t=te(e);var i={"%":"mod",mod:"mod"};while(gz(i,e.token))n=e.token,r=i[n],Y(e),"%"===n&&e.tokenType===C.DELIMITER&&"("!==e.token?t=new v("/","divide",[t,new l(100)],!1,!0):(o=[t,te(e)],t=new v(n,r,o));return t}function te(e){var t,n,r,o={"-":"unaryMinus","+":"unaryPlus","~":"bitNot",not:"not"};return gz(o,e.token)?(r=o[e.token],t=e.token,Y(e),n=[te(e)],new v(t,r,n)):ne(e)}function ne(e){var t,n,r,o;return t=re(e),"^"!==e.token&&".^"!==e.token||(n=e.token,r="^"===n?"pow":"dotPow",Y(e),o=[t,te(e)],t=new v(n,r,o)),t}function re(e){var t,n,r,o;t=oe(e);var i={"!":"factorial","'":"ctranspose"};while(gz(i,e.token))n=e.token,r=i[n],L(e),o=[t],t=new v(n,r,o),t=ae(e,t);return t}function oe(e){var t=[];if(e.tokenType===C.SYMBOL&&gz(e.extraNodes,e.token)){var n=e.extraNodes[e.token];if(L(e),"("===e.token){if(t=[],_(e),L(e),")"!==e.token){t.push(I(e));while(","===e.token)L(e),t.push(I(e))}if(")"!==e.token)throw be(e,"Parenthesis ) expected");A(e),L(e)}return new n(t)}return ie(e)}function ie(e){var t,r;return e.tokenType===C.SYMBOL||e.tokenType===C.DELIMITER&&e.token in S?(r=e.token,L(e),t=gz(N,r)?new l(N[r]):-1!==M.indexOf(r)?new l(n(r,"number")):new b(r),t=ae(e,t),t):ue(e)}function ae(e,t,n){var r;while(("("===e.token||"["===e.token||"."===e.token)&&(!n||-1!==n.indexOf(e.token)))if(r=[],"("===e.token){if(!lJ(t)&&!KX(t))return t;if(_(e),L(e),")"!==e.token){r.push(I(e));while(","===e.token)L(e),r.push(I(e))}if(")"!==e.token)throw be(e,"Parenthesis ) expected");A(e),L(e),t=new d(t,r)}else if("["===e.token){if(_(e),L(e),"]"!==e.token){r.push(I(e));while(","===e.token)L(e),r.push(I(e))}if("]"!==e.token)throw be(e,"Parenthesis ] expected");A(e),L(e),t=new o(t,new f(r))}else{if(L(e),e.tokenType!==C.SYMBOL)throw be(e,"Property name expected after dot");r.push(new l(e.token)),L(e);var i=!0;t=new o(t,new f(r,i))}return t}function ue(e){var t,n;return'"'===e.token?(n=ce(e),t=new l(n),t=ae(e,t),t):le(e)}function ce(e){var t="";while(""!==T(e)&&'"'!==T(e))"\\"===T(e)&&(t+=T(e),D(e)),t+=T(e),D(e);if(L(e),'"'!==e.token)throw be(e,'End of string " expected');return L(e),JSON.parse('"'+t+'"')}function le(e){var t,n;return"'"===e.token?(n=se(e),t=new l(n),t=ae(e,t),t):de(e)}function se(e){var t="";while(""!==T(e)&&"'"!==T(e))"\\"===T(e)&&(t+=T(e),D(e)),t+=T(e),D(e);if(L(e),"'"!==e.token)throw be(e,"End of string ' expected");return L(e),JSON.parse('"'+t+'"')}function de(e){var t,n,r,o;if("["===e.token){if(_(e),L(e),"]"!==e.token){var a=fe(e);if(";"===e.token){r=1,n=[a];while(";"===e.token)L(e),n[r]=fe(e),r++;if("]"!==e.token)throw be(e,"End of matrix ] expected");A(e),L(e),o=n[0].items.length;for(var u=1;u<r;u++)if(n[u].items.length!==o)throw ye(e,"Column dimensions mismatch ("+n[u].items.length+" !== "+o+")");t=new i(n)}else{if("]"!==e.token)throw be(e,"End of matrix ] expected");A(e),L(e),t=a}}else A(e),L(e),t=new i([]);return ae(e,t)}return pe(e)}function fe(e){var t=[I(e)],n=1;while(","===e.token)L(e),t[n]=I(e),n++;return new i(t)}function pe(e){if("{"===e.token){var t;_(e);var n={};do{if(L(e),"}"!==e.token){if('"'===e.token)t=ce(e);else if("'"===e.token)t=se(e);else{if(!(e.tokenType===C.SYMBOL||e.tokenType===C.DELIMITER&&e.token in S))throw be(e,"Symbol or string expected as object key");t=e.token,L(e)}if(":"!==e.token)throw be(e,"Colon : expected after object key");L(e),n[t]=I(e)}}while(","===e.token);if("}"!==e.token)throw be(e,"Comma , or bracket } expected after object value");A(e),L(e);var r=new p(n);return r=ae(e,r),r}return ve(e)}function ve(e){var t;return e.tokenType===C.NUMBER?(t=e.token,L(e),new l(n(t,r.number))):he(e)}function he(e){var t;if("("===e.token){if(_(e),L(e),t=I(e),")"!==e.token)throw be(e,"Parenthesis ) expected");return A(e),L(e),t=new h(t),t=ae(e,t),t}return me(e)}function me(e){throw""===e.token?be(e,"Unexpected end of expression"):be(e,"Value expected")}function ge(e){return e.index-e.token.length+1}function be(e,t){var n=ge(e),r=new SyntaxError(t+" (char "+n+")");return r.char=n,r}function ye(e,t){var n=ge(e),r=new SyntaxError(t+" (char "+n+")");return r.char=n,r}return y.isAlpha=function(e,t,n){return y.isValidLatinOrGreek(e)||y.isValidMathSymbol(e,n)||y.isValidMathSymbol(t,e)},y.isValidLatinOrGreek=function(e){return/^[a-zA-Z_$\u00C0-\u02AF\u0370-\u03FF\u2100-\u214F]$/.test(e)},y.isValidMathSymbol=function(e,t){return/^[\uD835]$/.test(e)&&/^[\uDC00-\uDFFF]$/.test(t)&&/^[^\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDFCC\uDFCD]$/.test(t)},y.isWhitespace=function(e,t){return" "===e||"\t"===e||"\n"===e&&t>0},y.isDecimalMark=function(e,t){return"."===e&&"/"!==t&&"*"!==t&&"^"!==t},y.isDigitDot=function(e){return e>="0"&&e<="9"||"."===e},y.isDigit=function(e){return e>="0"&&e<="9"},y.isHexDigit=function(e){return e>="0"&&e<="9"||e>="a"&&e<="f"||e>="A"&&e<="F"},y}),q$={AccessorNodeDependencies:LK,ArrayNodeDependencies:PK,AssignmentNodeDependencies:JK,BlockNodeDependencies:qK,ConditionalNodeDependencies:rU,ConstantNodeDependencies:mU,FunctionAssignmentNodeDependencies:OU,FunctionNodeDependencies:M$,IndexNodeDependencies:D$,ObjectNodeDependencies:Y$,OperatorNodeDependencies:F$,ParenthesisNodeDependencies:R$,RangeNodeDependencies:J$,RelationalNodeDependencies:K$,SymbolNodeDependencies:O$,numericDependencies:HU,typedDependencies:yQ,createParse:$$},eq="evaluate",tq=["typed","parse"],nq=Cz(eq,tq,e=>{var{typed:t,parse:n}=e;return t(eq,{string:function(e){var t=cQ();return n(e).compile().evaluate(t)},"string, Map | Object":function(e,t){return n(e).compile().evaluate(t)},"Array | Matrix":function(e){var t=cQ();return vW(e,(function(e){return n(e).compile().evaluate(t)}))},"Array | Matrix, Map | Object":function(e,t){return vW(e,(function(e){return n(e).compile().evaluate(t)}))}})}),rq={parseDependencies:q$,typedDependencies:yQ,createEvaluate:nq},oq="algorithm04",iq=["typed","equalScalar"],aq=Cz(oq,iq,e=>{var{typed:t,equalScalar:n}=e;return function(e,r,o){var i=e._values,a=e._index,u=e._ptr,c=e._size,l=e._datatype,s=r._values,d=r._index,f=r._ptr,p=r._size,v=r._datatype;if(c.length!==p.length)throw new VJ(c.length,p.length);if(c[0]!==p[0]||c[1]!==p[1])throw new RangeError("Dimension mismatch. Matrix A ("+c+") must match Matrix B ("+p+")");var h,m=c[0],g=c[1],b=n,y=0,O=o;"string"===typeof l&&l===v&&(h=l,b=t.find(n,[h,h]),y=t.convert(0,h),O=t.find(o,[h,h]));var C,w,S,N,M,x=i&&s?[]:void 0,j=[],T=[],D=i&&s?[]:void 0,E=i&&s?[]:void 0,k=[],L=[];for(w=0;w<g;w++){T[w]=j.length;var Y=w+1;for(N=u[w],M=u[w+1],S=N;S<M;S++)C=a[S],j.push(C),k[C]=Y,D&&(D[C]=i[S]);for(N=f[w],M=f[w+1],S=N;S<M;S++)if(C=d[S],k[C]===Y){if(D){var _=O(D[C],s[S]);b(_,y)?k[C]=null:D[C]=_}}else j.push(C),L[C]=Y,E&&(E[C]=s[S]);if(D&&E){S=T[w];while(S<j.length)C=j[S],k[C]===Y?(x[S]=D[C],S++):L[C]===Y?(x[S]=E[C],S++):j.splice(S,1)}}return T[g]=j.length,e.createSparseMatrix({values:x,index:j,ptr:T,size:[m,g],datatype:h})}}),uq="add",cq=["typed","matrix","addScalar","equalScalar","DenseMatrix","SparseMatrix"],lq=Cz(uq,cq,e=>{var{typed:t,matrix:n,addScalar:r,equalScalar:o,DenseMatrix:i,SparseMatrix:a}=e,u=CW({typed:t}),c=aq({typed:t,equalScalar:o}),l=EW({typed:t,DenseMatrix:i}),s=YW({typed:t}),d=PW({typed:t});return t(uq,dz({"DenseMatrix, DenseMatrix":function(e,t){return s(e,t,r)},"DenseMatrix, SparseMatrix":function(e,t){return u(e,t,r,!1)},"SparseMatrix, DenseMatrix":function(e,t){return u(t,e,r,!0)},"SparseMatrix, SparseMatrix":function(e,t){return c(e,t,r)},"Array, Array":function(e,t){return this(n(e),n(t)).valueOf()},"Array, Matrix":function(e,t){return this(n(e),t)},"Matrix, Array":function(e,t){return this(e,n(t))},"DenseMatrix, any":function(e,t){return d(e,t,r,!1)},"SparseMatrix, any":function(e,t){return l(e,t,r,!1)},"any, DenseMatrix":function(e,t){return d(t,e,r,!0)},"any, SparseMatrix":function(e,t){return l(t,e,r,!0)},"Array, any":function(e,t){return d(n(e),t,r,!1).valueOf()},"any, Array":function(e,t){return d(n(t),e,r,!0).valueOf()},"any, any":r,"any, any, ...any":function(e,t,n){for(var r=this(e,t),o=0;o<n.length;o++)r=this(r,n[o]);return r}},r.signatures))}),sq={DenseMatrixDependencies:Vz,SparseMatrixDependencies:lW,addScalarDependencies:qQ,equalScalarDependencies:iW,matrixDependencies:pW,typedDependencies:yQ,createAdd:lq},dq="divide",fq=["typed","matrix","multiply","equalScalar","divideScalar","inv"],pq=Cz(dq,fq,e=>{var{typed:t,matrix:n,multiply:r,equalScalar:o,divideScalar:i,inv:a}=e,u=lK({typed:t,equalScalar:o}),c=PW({typed:t});return t("divide",dz({"Array | Matrix, Array | Matrix":function(e,t){return r(e,a(t))},"DenseMatrix, any":function(e,t){return c(e,t,i,!1)},"SparseMatrix, any":function(e,t){return u(e,t,i,!1)},"Array, any":function(e,t){return c(n(e),t,i,!1).valueOf()},"any, Array | Matrix":function(e,t){return r(e,a(t))}},i.signatures))}),vq={divideScalarDependencies:zU,equalScalarDependencies:iW,invDependencies:$G,matrixDependencies:pW,multiplyDependencies:pK,typedDependencies:yQ,createDivide:pq},hq=n("c0e2"),mq=n.n(hq);function gq(e){var t=new mq.a;return e.on=t.on.bind(t),e.off=t.off.bind(t),e.once=t.once.bind(t),e.emit=t.emit.bind(t),e}function bq(e,t,n,r){if(!(this instanceof bq))throw new SyntaxError("Constructor must be called with the new operator");this.fn=e,this.count=t,this.min=n,this.max=r,this.message="Wrong number of arguments in function "+e+" ("+t+" provided, "+n+(void 0!==r&&null!==r?"-"+r:"")+" expected)",this.stack=(new Error).stack}function yq(e,t,n,r){function o(e,t){var n=arguments.length;if(1!==n&&2!==n)throw new bq("import",n,1,2);function r(e,n,o){if(Array.isArray(n))n.forEach(t=>r(e,t));else if("object"===typeof n)for(var i in n)gz(n,i)&&r(e,n[i],i);else if(wz(n)||void 0!==o){var a=wz(n)?h(n)?n.fn+".transform":n.fn:o;if(gz(e,a)&&e[a]!==n&&!t.silent)throw new Error('Cannot import "'+a+'" twice');e[a]=n}else if(!t.silent)throw new TypeError("Factory, Object, or Array expected")}t||(t={});var o={};for(var a in r(o,e),o)if(gz(o,a)){var u=o[a];if(wz(u))l(u,t);else if(s(u))i(a,u,t);else if(!t.silent)throw new TypeError("Factory, Object, or Array expected")}}function i(t,o,i){if(i.wrap&&"function"===typeof o&&(o=c(o)),f(o)&&(o=e(t,{[o.signature]:o})),d(n[t])&&d(o))return o=i.override?e(t,o.signatures):e(n[t],o),n[t]=o,delete r[t],a(t,o),void n.emit("import",t,(function(){return o}));if(void 0===n[t]||i.override)return n[t]=o,delete r[t],a(t,o),void n.emit("import",t,(function(){return o}));if(!i.silent)throw new Error('Cannot import "'+t+'": already exists')}function a(e,t){t&&"function"===typeof t.transform?(n.expression.transform[e]=t.transform,p(e)&&(n.expression.mathWithTransform[e]=t.transform)):(delete n.expression.transform[e],p(e)&&(n.expression.mathWithTransform[e]=t))}function u(e){delete n.expression.transform[e],p(e)?n.expression.mathWithTransform[e]=n[e]:delete n.expression.mathWithTransform[e]}function c(e){var t=function(){for(var t=[],r=0,o=arguments.length;r<o;r++){var i=arguments[r];t[r]=i&&i.valueOf()}return e.apply(n,t)};return e.transform&&(t.transform=e.transform),t}function l(t,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.fn;if(cz(i,"."))throw new Error("Factory name should not contain a nested path. Name: "+JSON.stringify(i));var a=h(t)?n.expression.transform:n,c=i in n.expression.transform,l=gz(a,i)?a[i]:void 0,s=function(){var r={};t.dependencies.map(Mz).forEach(e=>{if(cz(e,"."))throw new Error("Factory dependency should not contain a nested path. Name: "+JSON.stringify(e));"math"===e?r.math=n:"mathWithTransform"===e?r.mathWithTransform=n.expression.mathWithTransform:"classes"===e?r.classes=n:r[e]=n[e]});var a=t(r);if(a&&"function"===typeof a.transform)throw new Error('Transforms cannot be attached to factory functions. Please create a separate function for it with exports.path="expression.transform"');if(void 0===l||o.override)return a;if(d(l)&&d(a))return e(l,a);if(o.silent)return l;throw new Error('Cannot import "'+i+'": already exists')};t.meta&&!1===t.meta.lazy?(a[i]=s(),l&&c?u(i):(h(t)||v(t))&&mz(n.expression.mathWithTransform,i,()=>a[i])):(mz(a,i,s),l&&c?u(i):(h(t)||v(t))&&mz(n.expression.mathWithTransform,i,()=>a[i])),r[i]=t,n.emit("import",i,s)}function s(e){return"function"===typeof e||"number"===typeof e||"string"===typeof e||"boolean"===typeof e||null===e||kX(e)||DX(e)||TX(e)||EX(e)||_X(e)||Array.isArray(e)}function d(e){return"function"===typeof e&&"object"===typeof e.signatures}function f(e){return"function"===typeof e&&"string"===typeof e.signature}function p(e){return!gz(m,e)}function v(e){return-1===e.fn.indexOf(".")&&!gz(m,e.fn)&&(!e.meta||!e.meta.isClass)}function h(e){return void 0!==e&&void 0!==e.meta&&!0===e.meta.isTransformFunction||!1}var m={expression:!0,type:!0,docs:!0,error:!0,json:!0,chain:!0};return o}bq.prototype=new Error,bq.prototype.constructor=Error,bq.prototype.name="ArgumentsError",bq.prototype.isArgumentsError=!0;var Oq={epsilon:1e-12,matrix:"Matrix",number:"number",precision:64,predictable:!1,randomSeed:null},Cq=["Matrix","Array"],wq=["number","BigNumber","Fraction"];function Sq(e,t){function n(n){if(n){var r=sz(e,lz);Mq(n,"matrix",Cq),Mq(n,"number",wq),fz(e,n);var o=sz(e,lz),i=sz(n,lz);return t("config",o,r,i),o}return sz(e,lz)}return n.MATRIX_OPTIONS=Cq,n.NUMBER_OPTIONS=wq,Object.keys(Oq).forEach(t=>{Object.defineProperty(n,t,{get:()=>e[t],enumerable:!0,configurable:!0})}),n}function Nq(e,t){return-1!==e.indexOf(t)}function Mq(e,t,n){void 0===e[t]||Nq(n,e[t])||console.warn('Warning: Unknown value "'+e[t]+'" for configuration option "'+t+'". Available options: '+n.map(e=>JSON.stringify(e)).join(", ")+".")}function xq(e,t){var n=o$()({},Oq,t);if("function"!==typeof Object.create)throw new Error("ES5 not supported by this JavaScript engine. Please load the es5-shim and es5-sham library for compatibility.");var r=gq({isNumber:jX,isComplex:DX,isBigNumber:TX,isFraction:EX,isUnit:kX,isString:LX,isArray:YX,isMatrix:_X,isCollection:AX,isDenseMatrix:PX,isSparseMatrix:FX,isRange:IX,isIndex:BX,isBoolean:ZX,isResultSet:RX,isHelp:HX,isFunction:VX,isDate:XX,isRegExp:JX,isObject:zX,isNull:QX,isUndefined:WX,isAccessorNode:KX,isArrayNode:UX,isAssignmentNode:GX,isBlockNode:$X,isConditionalNode:qX,isConstantNode:eJ,isFunctionAssignmentNode:tJ,isFunctionNode:nJ,isIndexNode:rJ,isNode:oJ,isObjectNode:iJ,isOperatorNode:aJ,isParenthesisNode:uJ,isRangeNode:cJ,isSymbolNode:lJ,isChain:sJ});r.config=Sq(n,r.emit),r.expression={transform:{},mathWithTransform:{config:r.config}};var o=[],i=[];function a(e){if(wz(e))return e(r);var t=e[Object.keys(e)[0]];if(wz(t))return t(r);if(!bz(e))throw console.warn("Factory object with properties `type`, `name`, and `factory` expected",e),new Error("Factory object with properties `type`, `name`, and `factory` expected");var u,c=o.indexOf(e);return-1===c?(u=!0===e.math?e.factory(r.type,n,a,r.typed,r):e.factory(r.type,n,a,r.typed),o.push(e),i.push(u)):u=i[c],u}var u={};function c(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.typed.apply(r.typed,t)}var l=yq(c,a,r,u);return r.import=l,r.on("config",()=>{Oz(u).forEach(e=>{e&&e.meta&&e.meta.recreateOnConfigChange&&l(e,{override:!0})})}),r.create=xq.bind(null,e),r.factory=Cz,r.import(Oz(vz(e))),r.ArgumentsError=bq,r.DimensionError=VJ,r.IndexError=XJ,r}n("b20f"),n("a471");const jq={DyForm:NX},Tq=function(e,t){if(Tq.installed)return;Tq.installed=!0,Object.keys(jq).forEach(t=>{e.component(t,jq[t])}),hL.a.locale("zh-cn");const n=t&&t.url?t.url:"./resources/json/"+tH;e.config.globalProperties.$qlForm={url:n,dictUrl:t&&t.dictUrl?t.dictUrl:"",dictRestLoadMode:t&&t.dictRestLoadMode?t.dictRestLoadMode:"GET",dictRestLoadBody:t&&t.dictRestLoadBody?t.dictRestLoadBody:void 0,dictRestLoadHeaders:t&&t.dictRestLoadHeaders?t.dictRestLoadHeaders:void 0,dictRestLoadOnlyBody:!(!t||!t.dictRestLoadOnlyBody)&&t.dictRestLoadOnlyBody,loadMode:t&&t.loadMode?t.loadMode:"static",appId:t&&t.appId?t.appId:"",onlySimpleLoadConfig:!(!t||!t.onlySimpleLoadConfig)&&t.onlySimpleLoadConfig,urls:null===t||void 0===t?void 0:t.urls,dictUrls:null===t||void 0===t?void 0:t.dictUrls},e.config.globalProperties.$formToolsService=aV,window.$app=e,PR.init(),HR.init(),IR.init();const r={formatDependencies:SQ,subtractDependencies:RW,multiplyDependencies:pK,evaluateDependencies:rq,addDependencies:sq,divideDependencies:vq},o=xq(r,{number:"BigNumber",precision:20});e.config.globalProperties.$mathjs=o},Dq={install:Tq};var Eq=Dq;t["default"]=Eq},fbf2:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r={enlarge:{code:"1",name:"放大"},narrow:{code:"2",name:"缩小"},automatic:{code:"3",name:"自动"}}},fc2b:function(e,t,n){},fc6a:function(e,t,n){"use strict";var r=n("44ad"),o=n("1d80");e.exports=function(e){return r(o(e))}},fdbf:function(e,t,n){"use strict";var r=n("04f8");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}})}));
|
|
1
|
+
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["vue3-lo-form"]=t():e["vue3-lo-form"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s="fb15")}({"01a6":function(e,t){e.exports=require("vue-property-decorator")},"0437":function(e,t,o){"use strict";o("0f78")},"0f78":function(e,t,o){},1937:function(e,t,o){"use strict";o.d(t,"a",(function(){return n}));const n={GeneralDictionary:{code:"1",name:"常规"},TreeDictionary:{code:"2",name:"树形"}}},2439:function(e,t){e.exports=require("core-js/modules/es.array.push.js")},2804:function(e,t,o){"use strict";o.d(t,"a",(function(){return n}));const n={Success:{code:"success",name:"通过"},Warning:{code:"warning",name:"警告"},Error:{code:"error",name:"未通过"},Validating:{code:"validating",name:"校验中"}}},"2a2b":function(e,t){e.exports=require("dayjs/locale/zh-cn")},"2e48":function(e,t,o){},"4e72":function(e,t){e.exports=require("ant-design-vue")},"5cf9":function(e,t,o){"use strict";o.d(t,"a",(function(){return n}));const n={Fixed:{code:"1",name:"固定"},Dynamic:{code:"2",name:"动态"}}},"6b0d":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=(e,t)=>{const o=e.__vccOpts||e;for(const[n,r]of t)o[n]=r;return o}},"6e85":function(e,t){e.exports=require("dayjs")},"8bbf":function(e,t){e.exports=require("vue")},"8db4":function(e,t){e.exports=require("@ant-design/icons-vue")},9475:function(e,t,o){"use strict";o.d(t,"a",(function(){return n}));const n={FORM:{code:"1",name:"表格"},TABLE:{code:"2",name:"表单"},DICT:{code:"3",name:"字典"}}},"9ce7":function(e,t,o){"use strict";o.d(t,"a",(function(){return n}));const n={Layout:{code:"1",name:"布局",icon:"profile"},Base:{code:"2",name:"基础字段",icon:"profile"},Senior:{code:"3",name:"高级字段",icon:"profile"}}},a86c:function(e,t,o){"use strict";o("ea26")},b20f:function(e,t,o){},bd2d:function(e,t){e.exports=require("mathjs")},c124:function(e,t){e.exports=require("ant-design-vue/es/date-picker/locale/zh_CN")},c223:function(e,t){e.exports=require("localforage")},c32d:function(e,t){e.exports=require("moment")},c73e:function(e,t,o){"use strict";o.d(t,"a",(function(){return n}));const n={Disable:{code:"0",name:"禁用"},Enable:{code:"1",name:"启用"}}},c968:function(e,t,o){"use strict";o.d(t,"a",(function(){return r}));var n=o("9ce7");const r={Input:{code:"1",name:"输入框",icon:"icondanhangwenben",type:n["a"].Base.code},Textarea:{code:"2",name:"多行文本",icon:"iconduohangwenben",type:n["a"].Base.code},InputNumber:{code:"3",name:"数字输入框",icon:"iconjishuqi",type:n["a"].Base.code},Select:{code:"4",name:"选择器",icon:"iconxialaxuanzekuang",type:n["a"].Base.code},Radio:{code:"5",name:"单选框",icon:"icondanxuankuangzu",type:n["a"].Base.code},Checkbox:{code:"6",name:"多选框",icon:"iconduoxuankuangzu",type:n["a"].Base.code},Switch:{code:"7",name:"开关",icon:"iconkaiguan",type:n["a"].Base.code},TimePicker:{code:"8",name:"时间选择框",icon:"iconshijianxuanzeqi",type:n["a"].Base.code},DatePicker:{code:"9",name:"日期选择框",icon:"iconriqixuanzeqi",type:n["a"].Base.code},Slider:{code:"10",name:"滑动输入条",icon:"iconhuakuai",type:n["a"].Base.code},Rate:{code:"11",name:"评分",icon:"iconpingfen",type:n["a"].Base.code},Upload:{code:"50",name:"上传",icon:"iconwenjian",type:n["a"].Senior.code},Editor:{code:"51",name:"编辑器",icon:"iconbianjiqi",type:n["a"].Senior.code},Cascader:{code:"52",name:"级联选择",icon:"iconjilianxuanzeqi",type:n["a"].Senior.code},TreeSelect:{code:"53",name:"树选择",icon:"iconxialaxuanzekuang",type:n["a"].Senior.code},Custom:{code:"54",name:"自定义组件",icon:"iconzidingyizujian",type:n["a"].Senior.code},Empty:{code:"101",name:"根布局",icon:"iconzhagebuju",type:n["a"].Layout.code},Grid:{code:"102",name:"栅格",icon:"iconzhagebuju",type:n["a"].Layout.code}}},d29d:function(e,t,o){"use strict";o.d(t,"a",(function(){return n})),o.d(t,"b",(function(){return r["a"]})),o.d(t,"c",(function(){return i})),o.d(t,"d",(function(){return a["a"]})),o.d(t,"e",(function(){return l})),o.d(t,"f",(function(){return c["a"]})),o.d(t,"g",(function(){return s["a"]})),o.d(t,"h",(function(){return d})),o.d(t,"i",(function(){return u})),o.d(t,"j",(function(){return C})),o.d(t,"k",(function(){return Y["a"]})),o.d(t,"l",(function(){return M})),o.d(t,"m",(function(){return L})),o.d(t,"n",(function(){return D["a"]})),o.d(t,"o",(function(){return S})),o.d(t,"p",(function(){return T})),o.d(t,"q",(function(){return m["a"]})),o.d(t,"r",(function(){return Z})),o.d(t,"s",(function(){return h["a"]}));const n={ORDERED_LIST:{code:"1",name:"ordered-list"}};var r=o("9475");const i={GENERAL:{code:"1",name:"常规数字"},AMOUNT_OF_MONEY:{code:"2",name:"金额"},BANK_CARD_NUMBER:{code:"3",name:"银行卡号"},CELL_PHONE_NUMBER:{code:"4",name:"手机号"},LANDLINE_NUMBER:{code:"5",name:"座机号"}};var a=o("1937");const l={SUBMITTED_TYPE:{code:"submittedType",name:"报送类型"},IS_SUPPLEMENT:{code:"isSupplement",name:"是否补录"},IS_KEY_ELEMENTS:{code:"isKeyElements",name:"是否关键要素"},IS_TRACK:{code:"isTrack",name:"是否追踪"}};var c=o("9ce7"),s=o("c968");const d={Pc:{code:"1",name:"PC端"},Mobile:{code:"2",name:"移动端"}},u={AlignLeft:{code:"1",name:"左对齐"},RightAlignment:{code:"2",name:"右对齐"},Center:{code:"3",name:"居中"},BothSidesAreEquallySpaced:{code:"4",name:"两侧间隔相等"},AlignBothEnds:{code:"5",name:"两端对齐"}},C={Yuan:{code:"1",name:"元"},TenThousandYuan:{code:"2",name:"万元"},HundredMillionYuan:{code:"3",name:"亿元"}};var Y=o("5cf9");const M={EAST:{code:"1",name:"EAST"},CITIC:{code:"2",name:"中信登"},TOTAL_ELEMENTS:{code:"3",name:"全要素"},PBC_CAPITAL_DECLARATION:{code:"4",name:"人行资金申报"},ENTERPRISE_CREDIT_REFERENCE:{code:"5",name:"企业征信"},OTOHAF_SUBMISSION:{code:"6",name:"1104报送"},EAST_F:{code:"7",name:"EAST4.0"},PERSONAL_CREDIT:{code:"8",name:"个人征信"},BS_09:{code:"9",name:"非现场监管报表"},BS_10:{code:"10",name:"银监其他"},BS_11:{code:"11",name:"人行资管产品统计逐产品采集"},BS_12:{code:"12",name:"人行其他"},BS_13:{code:"13",name:"其他报表"},BS_14:{code:"14",name:"反洗钱"},BS_15:{code:"15",name:"关联交易"},BS_16:{code:"16",name:"事前报告"},BS_17:{code:"17",name:"银监风险项目要素表"},BS_18:{code:"18",name:"金控重点监测项目数据报送"},BS_19:{code:"19",name:"中央企业金融风险事项统计表"},BS_20:{code:"20",name:"主动管理项目清单"},BS_21:{code:"21",name:"风险项目要素表(重大预警及关注不良)"},BS_22:{code:"22",name:"人行金融基础数据报送"},BS_23:{code:"23",name:"人行利率报备"},BS_24:{code:"24",name:"EAST5.0"},BS_25:{code:"25",name:"新中信登"},BS_26:{code:"26",name:"集团司库资金系统投融资数据报送"},BS_27:{code:"27",name:"金控客户协同"},BS_28:{code:"28",name:"金控大额交易"}},L={Arbitrarily:{code:"1",name:"任意类型"},Custom:{code:"2",name:"自定义类型"}};var D=o("c73e");const S={Jpeg:{code:"image/jpeg",name:"jpeg/jpg/jpe"},Png:{code:"image/png",name:"png"},Gif:{code:"image/gif",name:"gif"},Bmp:{code:"image/bmp",name:"bmp"},Doc:{code:"application/msword",name:"doc"},html:{code:"text/html",name:"html"},Mp3:{code:"audio/mpeg",name:"mp3"},Mp4:{code:"audio/mp4",name:"mp4"},Pdf:{code:"application/pdf",name:"pdf"},Ppt:{code:"application/vnd.ms-powerpoint",name:"ppt"},Xls:{code:"application/vnd.ms-excel",name:"xls"},Xml:{code:"application/xml",name:"xml"},Zip:{code:"aplication/zip",name:"zip"},Wps:{code:"application/vnd.ms-works",name:"wps"}},T={SameValue:{code:"1",name:"相同的值",hasContent:!0,hasDescribe:!1},MailBox:{code:"2",name:"电子邮箱",hasContent:!1,hasDescribe:!1},RegEx:{code:"3",name:"正则表达式",hasContent:!0,hasDescribe:!0},MinTextLength:{code:"4",name:"最小文本长度",hasContent:!0,hasDescribe:!1},MaxTextLength:{code:"5",name:"最大文本长度",hasContent:!0,hasDescribe:!1},MinValue:{code:"6",name:"最小数值",hasContent:!0,hasDescribe:!1},MaxValue:{code:"7",name:"最大数值",hasContent:!0,hasDescribe:!1},SpecifiedValue:{code:"8",name:"指定的值",hasContent:!0,hasDescribe:!1},SpecifiedDigitsNumber:{code:"9",name:"指定位数的数字",hasContent:!0,hasDescribe:!1},DateNotEarlierThan:{code:"10",name:"日期不早于",hasContent:!0,hasDescribe:!1},DateNoLaterThan:{code:"11",name:"日期不晚于",hasContent:!0,hasDescribe:!1},SpecifiedRangeNumber:{code:"12",name:"指定范围的数字(包含最小/大值)",hasContent:!0,hasDescribe:!1},PhoneNumber:{code:"13",name:"手机号码",hasContent:!1,hasDescribe:!1},Required:{code:"14",name:"必填",hasContent:!1,hasDescribe:!1},LineUnique:{code:"15",name:"行唯一",hasContent:!1,hasDescribe:!1},LetterSpace:{code:"16",name:"字母空格",hasContent:!1,hasDescribe:!1},AlphanumericUnderline:{code:"17",name:"字母数字横线下划线",hasContent:!1,hasDescribe:!1},Alphanumeric:{code:"18",name:"字母数字",hasContent:!1,hasDescribe:!1},JsMethodVerification:{code:"19",name:"JS方法校验",hasContent:!0,hasDescribe:!0},BackEndVerification:{code:"20",name:"后端校验",hasContent:!1,hasDescribe:!1},LandlineNumber:{code:"21",name:"座机校验",hasContent:!1,hasDescribe:!1}};var m=o("2804");const Z={AlignRight:{code:"1",name:"右对齐",value:"horizontal",textAlign:"right"},AlignTop:{code:"2",name:"顶部对齐",value:"vertical",textAlign:"left"},AlignLeft:{code:"3",name:"左对齐",value:"horizontal",textAlign:"left"}};var h=o("fbf2")},d7bc:function(e,t){e.exports=require("tslib")},dc50:function(e,t){e.exports=require("core-js/modules/es.error.cause.js")},e04f:function(e,t,o){"use strict";o("2e48")},e720:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return validateGeneratorService}));var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("2439"),core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__),_constants_enum__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("d29d"),moment__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("c32d"),moment__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_2__);class ValidateGeneratorService{fillCheckRule(e,t){if(t.verificationRules&&t.verificationRules.length>0){const o=[];t.verificationRules.forEach(e=>{const n=this.getBuiltInValidationRules(e,t);n&&o.push(n)}),e.addValidate(o)}}getBuiltInValidationRules(e,t){let o;switch(e.ruleType){case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].SameValue.code:o=this.genSameValue(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].MailBox.code:o=this.genMailBox(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].RegEx.code:o=this.genRegEx(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].MinTextLength.code:o=this.genMinTextLength(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].MaxTextLength.code:o=this.genMaxTextLength(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].MinValue.code:o=this.genMinValue(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].MaxValue.code:o=this.genMaxValue(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].SpecifiedValue.code:o=this.genSpecifiedValue(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].SpecifiedDigitsNumber.code:o=this.genSpecifiedDigitsNumber(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].DateNotEarlierThan.code:o=this.genDateNotEarlierThan(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].DateNoLaterThan.code:o=this.genDateNoLaterThan(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].SpecifiedRangeNumber.code:o=this.genSpecifiedRangeNumber(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].PhoneNumber.code:o=this.genPhoneNumber(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].Required.code:o=this.genRequired(e,t.controlType);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].LineUnique.code:o=this.genLineUnique(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].LetterSpace.code:o=this.genLetterSpace(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].AlphanumericUnderline.code:o=this.genAlphanumericUnderline(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].Alphanumeric.code:o=this.genAlphanumeric(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].JsMethodVerification.code:o=this.genJsMethodVerification(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].BackEndVerification.code:o=this.genBackEndVerification(e);break;case _constants_enum__WEBPACK_IMPORTED_MODULE_1__["p"].LandlineNumber.code:o=this.genLandlineNumber(e);break}return o}genSameValue(e){const t={name:e.ruleType,validateFunc:t=>null!=t&&""!==t&&e.ruleContent&&t!=e.ruleContent?{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:`与预期值(${e.ruleContent})不符`}:{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}};return t}genMailBox(e){const t={name:e.ruleType,validateFunc:e=>{if(null!=e&&""!==e){const t=/^\w{3,}(\.\w+)*@[A-z0-9]+(\.[A-z]{2,5}){1,2}$/;if(!t.test(e))return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:"电子邮件格式不正确"}}return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}}};return t}genRegEx(item){const validate={name:item.ruleType,validateFunc:val=>null!=val&&""!==val&&item.ruleContent&&!eval(item.ruleContent).test(val)?{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:item.describe?item.describe:"'不满足正则校验'"+item.ruleContent}:{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}};return validate}genMinTextLength(e){const t={name:e.ruleType,validateFunc:t=>null!=t&&""!==t&&e.ruleContent&&t&&String(t).length<Number(e.ruleContent)?{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:`内容不少于${e.ruleContent}个字`}:{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}};return t}genMaxTextLength(e){const t={name:e.ruleType,validateFunc:t=>null!=t&&""!==t&&e.ruleContent&&t&&String(t).length>Number(e.ruleContent)?{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:`内容不超过${e.ruleContent}个字`}:{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}};return t}genMinValue(e){const t={name:e.ruleType,validateFunc:t=>void 0!=t&&""!==t&&null!=e.ruleContent&&null!=t&&""!==t&&Number(t)<Number(e.ruleContent)?{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:"数值不能小于"+e.ruleContent}:{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}};return t}genMaxValue(e){const t={name:e.ruleType,validateFunc:t=>void 0!=t&&""!==t&&null!=e.ruleContent&&null!=t&&""!==t&&Number(t)>Number(e.ruleContent)?{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:"数值不能大于"+e.ruleContent}:{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}};return t}genSpecifiedValue(e){const t={name:e.ruleType,validateFunc:t=>null!=t&&""!==t&&e.ruleContent&&t!=e.ruleContent?{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:`与预期值(${e.ruleContent})不符`}:{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}};return t}genSpecifiedDigitsNumber(e){const t={name:e.ruleType,validateFunc:t=>{if(void 0!=t&&""!==t&&e.ruleContent&&t){let o=0;if(Math.floor(t).toString()!==t.toString()&&(o=t.toString().split(".")[1].length||0),o!=Number(e.ruleContent))return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:"0"===e.ruleContent||0===e.ruleContent?"请输入整数":`请保留${e.ruleContent}位小数`}}return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}}};return t}roundNumber(e,t){let o;if(t=Number(t),t<1)o=Math.round(e).toString();else{let n=e.toString();-1==n.lastIndexOf(".")&&(n+=".");let r=n.lastIndexOf(".")+t,i=Number(n.substring(r,r+1));const a=Number(n.substring(r+1,r+2));if(a>=5){if(9==i&&r>0)while(r>0&&(9==i||isNaN(i)))"."!=i?(r-=1,i=Number(n.substring(r,r+1))):r-=1;i+=1}if(10==i){n=n.substring(0,n.lastIndexOf("."));const e=Number(n)+1;o=e.toString()+"."}else o=n.substring(0,r)+i.toString()}-1==o.lastIndexOf(".")&&(o+=".");const n=o.substring(o.lastIndexOf(".")+1).length;for(let r=0;r<t-n;r++)o+="0";return o}genDateNotEarlierThan(e){const t={name:e.ruleType,validateFunc:t=>{if(null!=t&&""!==t&&e.ruleContent&&t)try{if(t.toDate()>moment__WEBPACK_IMPORTED_MODULE_2___default()(e.ruleContent).toDate())return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:"日期不早于"+e.ruleContent}}catch(o){return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:`最大值日期(${e.ruleContent})格式有误!`}}return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}}};return t}genDateNoLaterThan(e){const t={name:e.ruleType,validateFunc:t=>{if(null!=t&&""!==t&&e.ruleContent&&t)try{if(t.toDate()<moment__WEBPACK_IMPORTED_MODULE_2___default()(e.ruleContent).toDate())return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:"日期不晚于"+e.ruleContent}}catch(o){return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:`最小值日期(${e.ruleContent})格式有误!`}}return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}}};return t}genSpecifiedRangeNumber(e){const t={name:e.ruleType,validateFunc:t=>{if(null!=t&&""!==t&&null!=e.ruleContent&&t&&e.ruleContent.indexOf("/")>-1){const o=e.ruleContent.split("/");if(o&&o.length>1&&(t<Number(o[0])||t>Number(o[1])))return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:`数值大小应在${o[0]}~${o[1]}之间`}}return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}}};return t}genPhoneNumber(e){const t=/^0?1[3|4|5|6|7|8|9][0-9]\d{8}$/,o={name:e.ruleType,validateFunc:e=>null!=e&&""!==e&&e&&!t.test(e)?{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:"手机号不合法"}:{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}};return o}genRequired(e,t){const o={name:e.ruleType,validateFunc:e=>{if(null==e||"string"==typeof e&&""===e.trim()||Array.isArray(e)&&0===e.length){let e="为必输项";return t===_constants_enum__WEBPACK_IMPORTED_MODULE_1__["g"].Select.code||t===_constants_enum__WEBPACK_IMPORTED_MODULE_1__["g"].Radio.code||t===_constants_enum__WEBPACK_IMPORTED_MODULE_1__["g"].Checkbox.code?e+=",请选择":e+=",请输入",{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:e}}return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}}};return o}genLineUnique(e){const t={name:e.ruleType,validateFunc:()=>({validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code})};return t}genLetterSpace(e){const t={name:e.ruleType,validateFunc:e=>{if(null!=e&&""!==e){const t=/^(?!_)([A-Za-z ]+)$/;if(e&&!t.test(e))return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:"仅包含字母空格"}}return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}}};return t}genAlphanumericUnderline(e){const t={name:e.ruleType,validateFunc:e=>{if(null!=e&&""!==e){const t=/^[a-zA-Z0-9_]{1,}$/;if(e&&!t.test(e))return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:"仅包含数字字母下划线"}}return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}}};return t}genAlphanumeric(e){const t={name:e.ruleType,validateFunc:e=>{if(null!=e&&""!==e){const t=/^[0-9a-zA-Z]*$/g;if(e&&!t.test(e))return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:"仅包含数字字母"}}return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}}};return t}genJsMethodVerification(e){const t={name:e.ruleType,validateFunc:t=>{if(null!=t&&""!==t&&t&&e.ruleContent)try{const o=new Function(e.ruleContent);return o(t)}catch(o){return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:e.describe?e.describe:"'JS校验函数不合法"}}return{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}}};return t}genBackEndVerification(e){const t={name:e.ruleType,validateFunc:()=>({validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code})};return t}genLandlineNumber(e){const t=/^0\d{2,3}-?\d{7,8}$/,o={name:e.ruleType,validateFunc:e=>null!=e&&""!==e&&e&&!t.test(e)?{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Error.code,errorMsg:"座机号不合法"}:{validateStatus:_constants_enum__WEBPACK_IMPORTED_MODULE_1__["q"].Success.code}};return o}}const validateGeneratorService=new ValidateGeneratorService},ea26:function(e,t,o){},fb15:function(e,t,o){"use strict";if(o.r(t),o.d(t,"formTemplate",(function(){return v})),o.d(t,"SUBMITTED_SVG_XML",(function(){return W})),o.d(t,"HISTORY_SVG_XML",(function(){return G})),o.d(t,"FORM_ERROR_MODAL_SVG_XML",(function(){return k})),o.d(t,"DROP_DOWN_LIST_SVG_XML",(function(){return x})),o.d(t,"BuiltLabel",(function(){return z["a"]})),o.d(t,"CacheType",(function(){return z["b"]})),o.d(t,"ControlFormatType",(function(){return z["c"]})),o.d(t,"DynamicOptionType",(function(){return z["d"]})),o.d(t,"FormBusAttr",(function(){return z["e"]})),o.d(t,"FormFieldClass",(function(){return z["f"]})),o.d(t,"FormFieldType",(function(){return z["g"]})),o.d(t,"FormType",(function(){return z["h"]})),o.d(t,"LateralArrangement",(function(){return z["i"]})),o.d(t,"MoneyUnit",(function(){return z["j"]})),o.d(t,"OptionType",(function(){return z["k"]})),o.d(t,"SubmittedType",(function(){return z["l"]})),o.d(t,"SupportUploadType",(function(){return z["m"]})),o.d(t,"Switch",(function(){return z["n"]})),o.d(t,"UploadType",(function(){return z["o"]})),o.d(t,"ValidateRules",(function(){return z["p"]})),o.d(t,"ValidateStatus",(function(){return z["q"]})),o.d(t,"VerticalArrangement",(function(){return z["r"]})),o.d(t,"ZoomType",(function(){return z["s"]})),o.d(t,"Attribute",(function(){return yt})),o.d(t,"FormApi",(function(){return Qt})),o.d(t,"DesFormControl",(function(){return _e})),o.d(t,"DesForm",(function(){return Me})),o.d(t,"DesFormLayout",(function(){return Le})),o.d(t,"FormControl",(function(){return Ge})),o.d(t,"FormGroup",(function(){return ke})),o.d(t,"apiService",(function(){return te})),o.d(t,"CleanLocalForageService",(function(){return ae})),o.d(t,"cleanLocalForageService",(function(){return le})),o.d(t,"DictLocalForageService",(function(){return ce})),o.d(t,"dictLocalForageService",(function(){return se})),o.d(t,"formBeanUtilsService",(function(){return ue})),o.d(t,"FormLocalForageService",(function(){return Ce})),o.d(t,"formLocalForageService",(function(){return Ye})),o.d(t,"formToolsService",(function(){return He})),o.d(t,"FormToolsService",(function(){return Pe})),o.d(t,"formTreeNodeConvertService",(function(){return Ze})),o.d(t,"formValidateService",(function(){return je})),o.d(t,"validateGeneratorService",(function(){return Ae["a"]})),o.d(t,"formStore",(function(){return pe})),o.d(t,"dictStore",(function(){return Je})),"undefined"!==typeof window){var n=window.document.currentScript,r=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);r&&(o.p=r[1])}var i=o("8bbf");function a(e,t,o,n,r,a){var l;const c=Object(i["resolveComponent"])("dv-form-layout");return null!==(l=e.desForm)&&void 0!==l&&null!==(l=l.controls)&&void 0!==l&&l.length?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{key:0,ref:"formView",class:Object(i["normalizeClass"])("lo-form-container lo-"+(e.edit?"enable":"disable")+"-edit lo-class-style-"+e.styleMode+" lo-form-theme-"+e.loFormTheme)},[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.desForm.controls,(o,n)=>(Object(i["openBlock"])(),Object(i["createBlock"])(c,{key:n,control:o,customFormats:e.customFormats,linkList:e.linkList,onLinkClick:e.linkClick,index:n,onChange:t[0]||(t[0]=t=>e.onChange(t)),onFocus:t[1]||(t[1]=t=>e.onFocus(t)),onBlur:t[2]||(t[2]=t=>e.onBlur(t)),onClick:t[3]||(t[3]=t=>e.onClick(t)),onAddonBefore:t[4]||(t[4]=t=>e.onAddonBeforeHandler(t)),onAddonAfter:t[5]||(t[5]=t=>e.onAddonAfterHandler(t)),onAddItem:t[6]||(t[6]=t=>e.selectAddItem(t))},Object(i["createSlots"])({_:2},[Object(i["renderList"])(Object.keys(this.$slots),t=>({name:t,fn:Object(i["withCtx"])(o=>[Object(i["renderSlot"])(e.$slots,t,{content:o.content,control:o.control,onChange:o.onChange},void 0,!0)])}))]),1032,["control","customFormats","linkList","onLinkClick","index"]))),128))],2)):Object(i["createCommentVNode"])("",!0)}function l(e){return l="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},l(e)}o("dc50");function c(e,t){if("object"!=l(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function s(e){var t=c(e,"string");return"symbol"==l(t)?t:t+""}function d(e,t,o){return(t=s(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}o("2439");var u=o("d7bc");const C=e=>(Object(i["pushScopeId"])("data-v-439fd898"),e=e(),Object(i["popScopeId"])(),e),Y={class:"lo-control-box"},M={key:0},L=["src"],D=C(()=>Object(i["createElementVNode"])("div",{class:"lo-history-popconfirm-title"},"历史修改",-1)),S={class:"lo-history-context"},T={class:"lo-important lo-mx-10"},m={class:"lo-important lo-mx-10"},Z={class:"lo-important lo-ml-10"},h=["src"],p={class:"number-format-show"},g={class:"addon-inner"},N={class:"ant-picker-cell-inner calendar-control-style"},J={class:"date-control-style"},X=C(()=>Object(i["createElementVNode"])("div",{class:"eest-day-style"},null,-1)),f={class:"date-style"},O={class:"eest-day-style"},y={key:0,class:"holidays-style"},Q={key:1,class:"weekday-style"},b={class:"date-type-style"},B={key:0,class:"trading-day-style"},j=C(()=>Object(i["createElementVNode"])("div",{class:"legend"},[Object(i["createElementVNode"])("div",{class:"day-explain-style"},[Object(i["createElementVNode"])("div",{class:"trading-day-icon"}),Object(i["createElementVNode"])("div",{class:"day-explain"},"交易日")])],-1)),P={class:"lo-input-content"},H=["title"],A={key:1},F=C(()=>Object(i["createElementVNode"])("div",{class:"flex-grow-1"},null,-1)),E={key:0,class:"addon-readonly"};function I(e,t,o,n,r,a){const l=Object(i["resolveComponent"])("a-tooltip"),c=Object(i["resolveComponent"])("question-circle-outlined"),s=Object(i["resolveComponent"])("clock-circle-outlined"),d=Object(i["resolveComponent"])("a-timeline-item"),u=Object(i["resolveComponent"])("a-timeline"),C=Object(i["resolveComponent"])("a-popconfirm"),I=Object(i["resolveComponent"])("search-outlined"),_=Object(i["resolveComponent"])("a-textarea"),v=Object(i["resolveComponent"])("a-input-number"),W=Object(i["resolveComponent"])("a-menu-item"),G=Object(i["resolveComponent"])("a-menu"),k=Object(i["resolveComponent"])("down-outlined"),x=Object(i["resolveComponent"])("a-button"),z=Object(i["resolveComponent"])("a-dropdown"),K=Object(i["resolveComponent"])("a-popover"),R=Object(i["resolveComponent"])("v-nodes"),w=Object(i["resolveComponent"])("a-divider"),U=Object(i["resolveComponent"])("plus-outlined"),V=Object(i["resolveComponent"])("a-select-option"),$=Object(i["resolveComponent"])("a-select"),q=Object(i["resolveComponent"])("a-radio"),ee=Object(i["resolveComponent"])("a-radio-group"),te=Object(i["resolveComponent"])("a-checkbox"),oe=Object(i["resolveComponent"])("a-col"),ne=Object(i["resolveComponent"])("a-row"),re=Object(i["resolveComponent"])("a-checkbox-group"),ie=Object(i["resolveComponent"])("a-switch"),ae=Object(i["resolveComponent"])("a-time-picker"),le=Object(i["resolveComponent"])("a-month-picker"),ce=Object(i["resolveComponent"])("a-date-picker"),se=Object(i["resolveComponent"])("a-slider"),de=Object(i["resolveComponent"])("a-cascader"),ue=Object(i["resolveComponent"])("a-tree-select"),Ce=Object(i["resolveComponent"])("a-rate"),Ye=Object(i["resolveComponent"])("upload-outlined"),Me=Object(i["resolveComponent"])("a-upload"),Le=Object(i["resolveComponent"])("stretch-text"),De=Object(i["resolveComponent"])("a-form-item"),Se=Object(i["resolveComponent"])("dv-form-layout",!0),Te=Object(i["resolveComponent"])("a-form");return e.control.type!==e.formFieldClass.Base.code&&e.control.type!==e.formFieldClass.Senior.code||e.controlAttr.isHideControl?e.control.type===e.formFieldClass.Layout.code&&e.control.code===e.formFieldType.Empty.code?(Object(i["openBlock"])(),Object(i["createBlock"])(Te,{key:1,class:Object(i["normalizeClass"])("w-100 lo-empty-layout-container"+(e.controlAttr.layoutName?" lo-form-layout-"+e.controlAttr.layoutName:"")),layout:e.layout,style:Object(i["normalizeStyle"])(e.emptyLayoutContainerStyle)},{default:Object(i["withCtx"])(()=>[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.control.subControls,(o,n)=>(Object(i["openBlock"])(),Object(i["createBlock"])(Se,{key:n,index:n,customFormats:e.customFormats,control:o,parentControl:e.control,linkList:e.linkList,onLinkClick:e.linkClick,onChange:t[57]||(t[57]=t=>e.onChange(t)),onClick:t[58]||(t[58]=t=>e.onClick(t)),onFocus:t[59]||(t[59]=t=>e.onFocus(t)),onBlur:t[60]||(t[60]=t=>e.onBlur(t)),onAddonBefore:t[61]||(t[61]=t=>e.onAddonBeforeHandler(t)),onAddonAfter:t[62]||(t[62]=t=>e.onAddonAfterHandler(t)),onAddItem:t[63]||(t[63]=t=>e.selectAddItem(t)),onFixFormLayout:e.onHideControl},Object(i["createSlots"])({_:2},[Object(i["renderList"])(Object.keys(e.$slots),t=>({name:t,fn:Object(i["withCtx"])(({content:o,control:n,onChange:r})=>[Object(i["renderSlot"])(e.$slots,t,{content:o,control:n,onChange:r},void 0,!0)])}))]),1032,["index","customFormats","control","parentControl","linkList","onLinkClick","onFixFormLayout"]))),128))]),_:3},8,["class","layout","style"])):e.control.type===e.formFieldClass.Layout.code&&e.control.code!==e.formFieldType.Empty.code?(Object(i["openBlock"])(),Object(i["createBlock"])(Te,{key:2,class:Object(i["normalizeClass"])("w-100 lo-general-layout-container"+(e.controlAttr.layoutName?" lo-form-layout-"+e.controlAttr.layoutName:"")),layout:e.layout,style:Object(i["normalizeStyle"])(e.generalLayoutContainerStyle)},{default:Object(i["withCtx"])(()=>[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.control.subControls,(o,n)=>(Object(i["openBlock"])(),Object(i["createBlock"])(Se,{key:n,index:n,customFormats:e.customFormats,control:o,parentControl:e.control,class:Object(i["normalizeClass"])(e.controlAttr.layoutName?"lo-form-layout-"+e.controlAttr.layoutName:""),onChange:t[64]||(t[64]=t=>e.onChange(t)),onClick:t[65]||(t[65]=t=>e.onClick(t)),onFocus:t[66]||(t[66]=t=>e.onFocus(t)),onBlur:t[67]||(t[67]=t=>e.onBlur(t)),onAddonBefore:t[68]||(t[68]=t=>e.onAddonBeforeHandler(t)),onAddonAfter:t[69]||(t[69]=t=>e.onAddonAfterHandler(t)),onAddItem:t[70]||(t[70]=t=>e.selectAddItem(t))},Object(i["createSlots"])({_:2},[Object(i["renderList"])(Object.keys(e.$slots),t=>({name:t,fn:Object(i["withCtx"])(({content:o,control:n,onChange:r})=>[Object(i["renderSlot"])(e.$slots,t,{content:o,control:n,onChange:r},void 0,!0)])}))]),1032,["index","customFormats","control","parentControl","class"]))),128))]),_:3},8,["class","layout","style"])):Object(i["createCommentVNode"])("",!0):(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{key:0,class:"lo-control-container",style:Object(i["normalizeStyle"])({width:e.divWidthCompatibleToIe})},[Object(i["createElementVNode"])("div",Y,[Object(i["createVNode"])(De,{labelCol:{style:"min-width: "+e.labelSpanWidth+";width:"+e.labelSpanWidth},wrapperCol:{style:"max-width: "+e.controlSpanMaxWidth+";width: "+e.controlSpanWidth},colon:e.colon,labelAlign:e.labelAlign,required:e.required,"validate-status":e.validateResult.validateStatus,help:e.provideInjectData.edit?e.validateResult.errorMsg:null,class:Object(i["normalizeClass"])({["form-model-item-"+e.controlAttr.boundProperty]:!0,["form-model-item-"+e.control.code]:!0,"lo-form-model-item-textarea-box":e.control.code===e.formFieldType.Textarea.code})},{label:Object(i["withCtx"])(()=>[e.controlAttr.isHideTitle?Object(i["createCommentVNode"])("",!0):(Object(i["openBlock"])(),Object(i["createElementBlock"])("span",M,[Object(i["createElementVNode"])("span",{class:Object(i["normalizeClass"])({"lo-fw":e.controlAttr.isBoldTitle}),style:Object(i["normalizeStyle"])({color:e.controlAttr.titleColor})},Object(i["toDisplayString"])(e.controlAttr.formFieldDescribe),7),e.submittedType.length>0?(Object(i["openBlock"])(),Object(i["createBlock"])(l,{key:0,class:"lo-label-sub-type-icon",placement:"right",title:e.submittedTypeStr,overlayClassName:"lo-form-item-tooltip"},{default:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("img",{src:e.submittedSvg},null,8,L)]),_:1},8,["title"])):Object(i["createCommentVNode"])("",!0),e.controlAttr.tips?(Object(i["openBlock"])(),Object(i["createBlock"])(l,{key:1,class:"lo-label-tips-icon",placement:"right",title:e.controlAttr.tips,overlayClassName:"lo-form-item-tooltip"},{default:Object(i["withCtx"])(()=>[Object(i["createVNode"])(c,{style:{"font-size":"13px"}})]),_:1},8,["title"])):Object(i["createCommentVNode"])("",!0),e.formControl.history&&e.formControl.history.length?(Object(i["openBlock"])(),Object(i["createBlock"])(C,{key:2,overlayClassName:"lo-label-history-popconfirm",placement:"right","ok-text":"确定"},{title:Object(i["withCtx"])(()=>[D,Object(i["createElementVNode"])("div",null,[Object(i["createVNode"])(u,{class:"lo-history-timeline"},{default:Object(i["withCtx"])(()=>[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.formControl.history,(e,t)=>(Object(i["openBlock"])(),Object(i["createBlock"])(d,{key:t},{dot:Object(i["withCtx"])(()=>[Object(i["createVNode"])(s,{style:{"font-size":"13px"}})]),default:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",S,[Object(i["createElementVNode"])("div",null,Object(i["toDisplayString"])(e.time),1),Object(i["createElementVNode"])("div",T,Object(i["toDisplayString"])(e.before),1),Object(i["createTextVNode"])(" 改为 "),Object(i["createElementVNode"])("div",m,Object(i["toDisplayString"])(e.after),1),Object(i["createTextVNode"])(" 修改人 "),Object(i["createElementVNode"])("div",Z,Object(i["toDisplayString"])(e.author),1)])]),_:2},1024))),128))]),_:1})])]),default:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("img",{class:"lo-label-history-icon",src:e.historySvg},null,8,h)]),_:1})):Object(i["createCommentVNode"])("",!0)]))]),default:Object(i["withCtx"])(()=>[e.provideInjectData.edit?(Object(i["openBlock"])(),Object(i["createElementBlock"])(i["Fragment"],{key:0},[e.control.code===e.formFieldType.Input.code?(Object(i["openBlock"])(),Object(i["createElementBlock"])(i["Fragment"],{key:0},[e.provideInjectData.edit?(Object(i["openBlock"])(),Object(i["createBlock"])(Object(i["resolveDynamicComponent"])(e.inputShape),{key:0,class:Object(i["normalizeClass"])({"addon-before":e.$slots["input:addonBefore:"+e.formControl.key]||e.controlAttr.bindingPrefix||e.controlAttr.builtInFrontLabel,"addon-after":e.$slots["input:addonAfter:"+e.formControl.key]||e.controlAttr.bindingSuffix||e.controlAttr.builtInPostLabel}),value:e.formControl.value,"onUpdate:value":t[2]||(t[2]=t=>e.formControl.value=t),placeholder:e.controlAttr.placeholder,disabled:e.controlAttr.isNotEdit,"data-source":e.controlAttr.autoCompleteOptions,onFocus:t[3]||(t[3]=t=>e.onFocus(e.control)),onBlur:t[4]||(t[4]=t=>e.onBlur(e.control)),onInput:t[5]||(t[5]=t=>e.onChange(e.control)),onClick:t[6]||(t[6]=t=>e.onClick(e.control))},Object(i["createSlots"])({_:2},[e.$slots["input:prefix:"+e.formControl.key]?{name:"prefix",fn:Object(i["withCtx"])(()=>[Object(i["renderSlot"])(e.$slots,"input:prefix:"+e.formControl.key,{},void 0,!0)]),key:"0"}:void 0,e.$slots["input:suffix:"+e.formControl.key]?{name:"suffix",fn:Object(i["withCtx"])(()=>[Object(i["renderSlot"])(e.$slots,"input:suffix:"+e.formControl.key,{},void 0,!0)]),key:"1"}:void 0,e.$slots["input:addonBefore:"+e.formControl.key]||e.controlAttr.bindingPrefix||e.controlAttr.builtInFrontLabel?{name:"addonBefore",fn:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("span",{class:"addon-inner",onClick:t[0]||(t[0]=t=>e.onAddonBeforeHandler(e.control))},[e.$slots["input:addonBefore:"+e.formControl.key]?Object(i["renderSlot"])(e.$slots,"input:addonBefore:"+e.formControl.key,{key:0},void 0,!0):e.controlAttr.bindingPrefix?(Object(i["openBlock"])(),Object(i["createElementBlock"])(i["Fragment"],{key:1},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.controlAttr.bindingPrefix),1)],64)):e.controlAttr.builtInFrontLabel?(Object(i["openBlock"])(),Object(i["createBlock"])(I,{key:2,class:"addon-icon"})):Object(i["createCommentVNode"])("",!0)])]),key:"2"}:void 0,e.$slots["input:addonAfter:"+e.formControl.key]||e.controlAttr.bindingSuffix||e.controlAttr.builtInPostLabel?{name:"addonAfter",fn:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("span",{class:"addon-inner",onClick:t[1]||(t[1]=t=>e.onAddonAfterHandler(e.control))},[e.$slots["input:addonAfter:"+e.formControl.key]?Object(i["renderSlot"])(e.$slots,"input:addonAfter:"+e.formControl.key,{key:0},void 0,!0):e.controlAttr.bindingSuffix?(Object(i["openBlock"])(),Object(i["createElementBlock"])(i["Fragment"],{key:1},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.controlAttr.bindingSuffix),1)],64)):e.controlAttr.builtInPostLabel?(Object(i["openBlock"])(),Object(i["createBlock"])(I,{key:2,class:"addon-icon"})):Object(i["createCommentVNode"])("",!0)])]),key:"3"}:void 0]),1064,["class","value","placeholder","disabled","data-source"])):Object(i["createCommentVNode"])("",!0)],64)):e.control.code===e.formFieldType.Textarea.code?(Object(i["openBlock"])(),Object(i["createBlock"])(_,{key:1,value:e.control.formControl.value,"onUpdate:value":t[7]||(t[7]=t=>e.control.formControl.value=t),placeholder:e.controlAttr.placeholder,disabled:e.controlAttr.isNotEdit,rows:e.controlAttr.textareaRows||3,showCount:!!e.maxCharacterCount,maxlength:e.maxCharacterCount,onInput:t[8]||(t[8]=t=>e.onChange(e.control)),onFocus:t[9]||(t[9]=t=>e.onFocus(e.control)),onBlur:t[10]||(t[10]=t=>e.onBlur(e.control)),onClick:t[11]||(t[11]=t=>e.onClick(e.control))},null,8,["value","placeholder","disabled","rows","showCount","maxlength"])):Object(i["createCommentVNode"])("",!0),e.control.code===e.formFieldType.InputNumber.code?(Object(i["openBlock"])(),Object(i["createElementBlock"])("span",{key:2,class:Object(i["normalizeClass"])(["lo-input-number-box",{"lo-with-unit":e.controlAttr.zoomType===e.zoomType.automatic.code&&e.moneyUnits.length>0,["lo-unit-"+e.moneyUnitsIndentScale]:!0}]),tabindex:"1"},[Object(i["createVNode"])(K,{placement:"topLeft",trigger:"focus",getPopupContainer:t=>t.parentNode||e.document.body},Object(i["createSlots"])({default:Object(i["withCtx"])(()=>[Object(i["createVNode"])(v,{step:e.controlAttr.step||1,min:null!=e.controlAttr.minValue?e.controlAttr.minValue:void 0,max:null!=e.controlAttr.maxValue?e.controlAttr.maxValue:void 0,formatter:e.numberFormatter,parser:e.numberParser,precision:e.controlAttr.decimalPlaces,placeholder:e.controlAttr.placeholder,disabled:e.controlAttr.isNotEdit,value:e.formControl.value,"onUpdate:value":t[12]||(t[12]=t=>e.formControl.value=t),onChange:t[13]||(t[13]=t=>e.onChange(e.control)),onClick:t[14]||(t[14]=t=>e.onClick(e.control)),onFocus:t[15]||(t[15]=t=>e.onInputNumberFocus(e.control)),onBlur:t[16]||(t[16]=t=>e.onInputNumberBlur(e.control))},Object(i["createSlots"])({_:2},[e.controlAttr.unit?{name:"addonAfter",fn:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("span",g,Object(i["toDisplayString"])(e.controlAttr.unit),1)]),key:"0"}:void 0]),1032,["step","min","max","formatter","parser","precision","placeholder","disabled","value"]),e.controlAttr.zoomType===e.zoomType.automatic.code&&e.moneyUnits.length>0?(Object(i["openBlock"])(),Object(i["createBlock"])(z,{key:0},{overlay:Object(i["withCtx"])(()=>[Object(i["createVNode"])(G,{onClick:e.handleMoneyUnitMenuClick},{default:Object(i["withCtx"])(()=>[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.moneyUnits,e=>(Object(i["openBlock"])(),Object(i["createBlock"])(W,{key:e.code},{default:Object(i["withCtx"])(()=>[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.name),1)]),_:2},1024))),128))]),_:1},8,["onClick"])]),default:Object(i["withCtx"])(()=>[Object(i["createVNode"])(x,null,{default:Object(i["withCtx"])(()=>[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.defaultMoneyUnit.name)+" ",1),e.moneyUnits.length>1?(Object(i["openBlock"])(),Object(i["createBlock"])(k,{key:0})):Object(i["createCommentVNode"])("",!0)]),_:1})]),_:1})):Object(i["createCommentVNode"])("",!0)]),_:2},[e.numberPopoverVisible?{name:"content",fn:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("span",p,Object(i["toDisplayString"])(e.amountCapitalization(e.zoomMultiple(e.formControl.value,e.formControl))),1)]),key:"0"}:void 0]),1032,["getPopupContainer"])],2)):Object(i["createCommentVNode"])("",!0),e.control.code===e.formFieldType.Select.code?(Object(i["openBlock"])(),Object(i["createBlock"])($,{key:3,class:Object(i["normalizeClass"])(["lo-select",{"lo-select-multiple-suffix-icon":e.controlAttr.isMultipleChoice&&(e.$slots["select:suffixIcon:"+e.formControl.key]||e.controlAttr.bindingSuffix)}]),dropdownClassName:e.controlAttr.hiddenDropdown?"lo-select-hide-drop-down-content":"",showArrow:"",value:e.formControl.value,"onUpdate:value":t[19]||(t[19]=t=>e.formControl.value=t),"allow-clear":!0,"show-search":"",mode:e.controlAttr.isMultipleChoice?"multiple":"",disabled:e.controlAttr.isNotEdit,placeholder:e.controlAttr.placeholder,onChange:t[20]||(t[20]=t=>e.onChange(e.control)),onClick:t[21]||(t[21]=t=>e.onClick(e.control)),"get-popup-container":e.getPopupContainer,"filter-option":e.filterOption},Object(i["createSlots"])({dropdownRender:Object(i["withCtx"])(({menuNode:o})=>[Object(i["createVNode"])(R,{vnodes:o},null,8,["vnodes"]),e.controlAttr.canAddEntry?(Object(i["openBlock"])(),Object(i["createElementBlock"])(i["Fragment"],{key:0},[Object(i["createVNode"])(w,{style:{margin:"4px 0"}}),Object(i["createElementVNode"])("div",{style:{padding:"4px 8px 6px 8px",cursor:"pointer"},onMousedown:t[17]||(t[17]=e=>e.preventDefault()),onClick:t[18]||(t[18]=t=>e.selectAddItem(e.control))},[Object(i["createVNode"])(U),Object(i["createTextVNode"])("新增")],32)],64)):Object(i["createCommentVNode"])("",!0)]),default:Object(i["withCtx"])(()=>[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.options,e=>(Object(i["openBlock"])(),Object(i["createBlock"])(V,{value:e.value,key:e.value,title:e.title,disabled:!!e.disabled&&e.disabled},{default:Object(i["withCtx"])(()=>[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.title),1)]),_:2},1032,["value","title","disabled"]))),128))]),_:2},[e.$slots["select:suffixIcon:"+e.formControl.key]||e.controlAttr.bindingSuffix?{name:"suffixIcon",fn:Object(i["withCtx"])(()=>[e.$slots["select:suffixIcon:"+e.formControl.key]?Object(i["renderSlot"])(e.$slots,"select:suffixIcon:"+e.formControl.key,{key:0},void 0,!0):(Object(i["openBlock"])(),Object(i["createElementBlock"])(i["Fragment"],{key:1},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.controlAttr.bindingSuffix),1)],64))]),key:"0"}:void 0]),1032,["dropdownClassName","class","value","mode","disabled","placeholder","get-popup-container","filter-option"])):Object(i["createCommentVNode"])("",!0),e.control.code===e.formFieldType.Radio.code?(Object(i["openBlock"])(),Object(i["createBlock"])(ee,{key:4,class:"w-100",value:e.formControl.value,"onUpdate:value":t[22]||(t[22]=t=>e.formControl.value=t),disabled:e.controlAttr.isNotEdit,onChange:t[23]||(t[23]=t=>e.onChange(e.control)),onClick:t[24]||(t[24]=t=>e.onClick(e.control))},{default:Object(i["withCtx"])(()=>[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.options,e=>(Object(i["openBlock"])(),Object(i["createBlock"])(q,{key:e.value,value:e.value},{default:Object(i["withCtx"])(()=>[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.title),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value","disabled"])):Object(i["createCommentVNode"])("",!0),e.control.code===e.formFieldType.Checkbox.code?(Object(i["openBlock"])(),Object(i["createBlock"])(re,{key:5,class:"w-100",value:e.formControl.value,"onUpdate:value":t[25]||(t[25]=t=>e.formControl.value=t),disabled:e.controlAttr.isNotEdit,onChange:t[26]||(t[26]=t=>e.onChange(e.control)),onClick:t[27]||(t[27]=t=>e.onClick(e.control))},{default:Object(i["withCtx"])(()=>[Object(i["createVNode"])(ne,null,{default:Object(i["withCtx"])(()=>[Object(i["createVNode"])(oe,null,{default:Object(i["withCtx"])(()=>[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.options,t=>(Object(i["openBlock"])(),Object(i["createBlock"])(te,{key:t.value,value:t.value,class:"ml-0 mr-5",style:Object(i["normalizeStyle"])({width:e.controlAttr.checkboxStyle?"auto":"10rem"})},{default:Object(i["withCtx"])(()=>[Object(i["createVNode"])(l,null,{title:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(t.title),1)]),default:Object(i["withCtx"])(()=>[Object(i["createTextVNode"])(" "+Object(i["toDisplayString"])(t.title),1)]),_:2},1024)]),_:2},1032,["value","style"]))),128))]),_:1})]),_:1})]),_:1},8,["value","disabled"])):Object(i["createCommentVNode"])("",!0),e.control.code===e.formFieldType.Switch.code?(Object(i["openBlock"])(),Object(i["createBlock"])(ie,{key:6,checked:e.formControl.value,"onUpdate:checked":t[28]||(t[28]=t=>e.formControl.value=t),"checked-children":e.controlAttr.onOpeningText,"un-checked-children":e.controlAttr.whenClosedText,disabled:e.controlAttr.isNotEdit,onChange:t[29]||(t[29]=t=>e.onChange(e.control)),onClick:t[30]||(t[30]=t=>e.onClick(e.control))},null,8,["checked","checked-children","un-checked-children","disabled"])):Object(i["createCommentVNode"])("",!0),e.control.code===e.formFieldType.TimePicker.code?(Object(i["openBlock"])(),Object(i["createBlock"])(ae,{key:7,class:"w-100","get-popup-container":e.getPopupContainer,locale:e.locale,"use12-hours":e.is12Hours,placeholder:e.controlAttr.placeholder,disabled:e.controlAttr.isNotEdit,value:e.formControl.value,"onUpdate:value":t[31]||(t[31]=t=>e.formControl.value=t),onChange:t[32]||(t[32]=t=>e.onChange(e.control)),onClick:t[33]||(t[33]=t=>e.onClick(e.control))},null,8,["get-popup-container","locale","use12-hours","placeholder","disabled","value"])):Object(i["createCommentVNode"])("",!0),e.control.code===e.formFieldType.DatePicker.code?(Object(i["openBlock"])(),Object(i["createElementBlock"])(i["Fragment"],{key:8},[e.useMonthPicker?(Object(i["openBlock"])(),Object(i["createBlock"])(le,{key:0,class:"w-100","get-popup-container":e.getPopupContainer,locale:e.locale,format:e.controlAttr.dateFormat,placeholder:e.controlAttr.placeholder,disabled:e.controlAttr.isNotEdit,value:e.formControl.value,"onUpdate:value":t[34]||(t[34]=t=>e.formControl.value=t),onChange:t[35]||(t[35]=t=>e.onChange(e.control)),onClick:t[36]||(t[36]=t=>e.onClick(e.control))},null,8,["get-popup-container","locale","format","placeholder","disabled","value"])):e.controlAttr.isShowHoliday?(Object(i["openBlock"])(),Object(i["createBlock"])(ce,{key:1,class:"w-100","get-popup-container":e.getPopupContainer,locale:e.locale,showTime:e.showPickerTime(e.controlAttr.dateFormat),format:e.controlAttr.dateFormat,placeholder:e.controlAttr.placeholder,disabled:e.controlAttr.isNotEdit,value:e.formControl.value,"onUpdate:value":t[37]||(t[37]=t=>e.formControl.value=t),onChange:t[38]||(t[38]=t=>e.onChange(e.control)),onClick:t[39]||(t[39]=t=>e.onClick(e.control))},{dateRender:Object(i["withCtx"])(({current:t})=>[Object(i["createElementVNode"])("div",N,[Object(i["createElementVNode"])("div",J,[X,Object(i["createElementVNode"])("div",f,Object(i["toDisplayString"])(t.date()),1),Object(i["createElementVNode"])("div",O,[e.isRest(t)?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",y,"休")):e.isWeekday(t)?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Q,"班")):Object(i["createCommentVNode"])("",!0)])]),Object(i["createElementVNode"])("div",b,[e.isRadingDay(t)?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",B)):Object(i["createCommentVNode"])("",!0)])])]),renderExtraFooter:Object(i["withCtx"])(()=>[j]),_:1},8,["get-popup-container","locale","showTime","format","placeholder","disabled","value"])):(Object(i["openBlock"])(),Object(i["createBlock"])(ce,{key:2,class:"w-100","get-popup-container":e.getPopupContainer,locale:e.locale,showTime:e.showPickerTime(e.controlAttr.dateFormat),format:e.controlAttr.dateFormat,placeholder:e.controlAttr.placeholder,disabled:e.controlAttr.isNotEdit,value:e.formControl.value,"onUpdate:value":t[40]||(t[40]=t=>e.formControl.value=t),onChange:t[41]||(t[41]=t=>e.onChange(e.control)),onClick:t[42]||(t[42]=t=>e.onClick(e.control))},null,8,["get-popup-container","locale","showTime","format","placeholder","disabled","value"]))],64)):Object(i["createCommentVNode"])("",!0),e.control.code===e.formFieldType.Slider.code?(Object(i["openBlock"])(),Object(i["createBlock"])(se,{key:9,value:e.formControl.value,"onUpdate:value":t[43]||(t[43]=t=>e.formControl.value=t),disabled:e.controlAttr.isNotEdit,onChange:t[44]||(t[44]=t=>e.onChange(e.control)),onClick:t[45]||(t[45]=t=>e.onClick(e.control))},null,8,["value","disabled"])):Object(i["createCommentVNode"])("",!0),e.control.code===e.formFieldType.Cascader.code?(Object(i["openBlock"])(),Object(i["createBlock"])(de,{key:10,"get-popup-container":e.getPopupContainer,changeOnSelect:e.controlAttr.changeOnSelect,placeholder:e.controlAttr.placeholder,"show-search":{cascaderFilter:e.cascaderFilter},disabled:e.controlAttr.isNotEdit,options:e.cascaderOptions,value:e.formControl.value,"onUpdate:value":t[46]||(t[46]=t=>e.formControl.value=t),onChange:t[47]||(t[47]=t=>e.onChange(e.control)),onClick:t[48]||(t[48]=t=>e.onClick(e.control))},null,8,["get-popup-container","changeOnSelect","placeholder","show-search","disabled","options","value"])):Object(i["createCommentVNode"])("",!0),e.control.code===e.formFieldType.TreeSelect.code?(Object(i["openBlock"])(),Object(i["createBlock"])(ue,{key:11,"get-popup-container":e.getPopupContainer,value:e.formControl.value,"onUpdate:value":t[49]||(t[49]=t=>e.formControl.value=t),"show-search":!0,treeNodeFilterProp:"title",disabled:e.controlAttr.isNotEdit,placeholder:e.controlAttr.placeholder,"dropdown-style":{maxHeight:"250px",overflow:"auto"},"tree-data":e.treeSelectOptions,onChange:t[50]||(t[50]=t=>e.onChange(e.control)),onClick:t[51]||(t[51]=t=>e.onClick(e.control)),treeDefaultExpandAll:e.controlAttr.isTreeOpen},null,8,["get-popup-container","value","disabled","placeholder","tree-data","treeDefaultExpandAll"])):Object(i["createCommentVNode"])("",!0),e.control.code===e.formFieldType.Rate.code?(Object(i["openBlock"])(),Object(i["createBlock"])(Ce,{key:12,value:e.formControl.value,"onUpdate:value":t[52]||(t[52]=t=>e.formControl.value=t),disabled:e.controlAttr.isNotEdit,onChange:t[53]||(t[53]=t=>e.onChange(e.control)),onClick:t[54]||(t[54]=t=>e.onClick(e.control)),"allow-half":""},null,8,["value","disabled"])):Object(i["createCommentVNode"])("",!0),e.control.code===e.formFieldType.Upload.code?(Object(i["openBlock"])(),Object(i["createBlock"])(Me,{key:13,"file-list":e.formControl.value,accept:e.uploadType,multiple:e.controlAttr.isMultipleChoice,onRemove:e.handleRemove,"before-upload":e.beforeUpload,onChange:e.handleUploadChange},{default:Object(i["withCtx"])(()=>[Object(i["createVNode"])(x,null,{default:Object(i["withCtx"])(()=>[Object(i["createVNode"])(Ye),Object(i["createTextVNode"])(" 选择文件 ")]),_:1})]),_:1},8,["file-list","accept","multiple","onRemove","before-upload","onChange"])):Object(i["createCommentVNode"])("",!0),e.control.code===e.formFieldType.Custom.code&&e.controlAttr.customFieldName?Object(i["renderSlot"])(e.$slots,e.controlAttr.customFieldName,{key:14,control:e.control,onChange:e.onChange},void 0,!0):Object(i["createCommentVNode"])("",!0)],64)):(Object(i["openBlock"])(),Object(i["createElementBlock"])(i["Fragment"],{key:1},[Object(i["createElementVNode"])("div",P,[Object(i["renderSlot"])(e.$slots,"read:"+e.control.formControl.key,{content:e.formatData},()=>[e.controlAttr.textFold?(Object(i["openBlock"])(),Object(i["createBlock"])(Le,{key:0,content:e.formatData,linkList:e.linkList,fieldKey:e.control.formControl.key,onLinkClick:t[55]||(t[55]=t=>e.linkClick({key:e.formControl.key,value:e.formatData}))},null,8,["content","linkList","fieldKey"])):(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{key:1,class:"lo-control-text",title:e.formatData},[e.linkList.indexOf(e.control.formControl.key)>-1?(Object(i["openBlock"])(),Object(i["createElementBlock"])("a",{key:0,href:"#",onClick:t[56]||(t[56]=t=>e.linkClick({key:e.formControl.key,value:e.formatData}))},Object(i["toDisplayString"])(e.formatData),1)):(Object(i["openBlock"])(),Object(i["createElementBlock"])("span",A,Object(i["toDisplayString"])(e.formatData),1))],8,H))],!0)]),F,e.controlAttr.unit?(Object(i["openBlock"])(),Object(i["createElementBlock"])("span",E,Object(i["toDisplayString"])(e.controlAttr.unit),1)):Object(i["createCommentVNode"])("",!0)],64))]),_:3},8,["labelCol","wrapperCol","colon","labelAlign","required","validate-status","help","class"])])],4))}var _=o("01a6");const v={formId:"1",appId:"1",domainClassId:"",objectId:"1",formType:"1",formName:"test",formAlias:"test",formDescribe:"",useState:"1",desDomainClass:null,desFormLayouts:[{layoutId:"1",formId:"1",parentLayoutId:"",layoutName:"",layoutType:"101",gridSpace:1,gridColumnConfig:'[{"value":12,"order":1},{"value":12,"order":2}]',gridLateralArrangement:"1",gridVerticalArrangement:"1",layoutOrder:1,labelSpan:"",controlSpan:"",subDesFormLayout:null,desFormControls:[]}],desBusObject:null},W="data:image/svg+xml;base64, PHN2ZyB0PSIxNjEyMTY2MTU4NzYxIiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjkxMjY3IiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgd2lkdGg9IjE1IiBoZWlnaHQ9IjE1Ij4NCiAgICAgIDxkZWZzPjwvZGVmcz4NCiAgICAgIDxwYXRoDQogICAgICAgIGQ9Ik01MTEuNSA5NjBDMjY0LjIgOTYwIDYzIDc1OC44IDYzIDUxMS41UzI2NC4yIDYzIDUxMS41IDYzIDk2MCAyNjQuMiA5NjAgNTExLjUgNzU4LjggOTYwIDUxMS41IDk2MHogbTAtODU5LjIzMmMtMjI2LjQ3OCAwLTQxMC43MzIgMTg0LjI1NC00MTAuNzMyIDQxMC43MzJTMjg1LjAyMiA5MjIuMjMyIDUxMS41IDkyMi4yMzIgOTIyLjIzMiA3MzcuOTc4IDkyMi4yMzIgNTExLjUgNzM3Ljk3OCAxMDAuNzY4IDUxMS41IDEwMC43Njh6IG0tOTQuOTA2IDI4NS45ODhsMi40MTgtMS44MTNjOC45NzMtNi43MzQgMTMuNTIyLTE0LjE3NSAxMy41MjQtMjIuMTEycy00LjU0OS0xNS4zOC0xMy41MjQtMjIuMTE3bC0yLjQxOC0xLjgxNGgtNjMuMzQxVjIyNmwtMS44MTQtMi40MTljLTYuNzM2LTguOTc1LTE0LjE3OC0xMy41MjQtMjIuMTE1LTEzLjUyNHMtMTUuMzc5IDQuNTQ5LTIyLjExNSAxMy41MjRMMzA1LjM5NCAyMjZ2MTEyLjloLTczLjk4MWwtMi42NTQgMi42NTNjLTkuNjc5IDkuNjc5LTEzLjcxMyAxOC40OTQtMTIuMzMgMjYuOTQ5IDEuMTgyIDcuMjIzIDYuMTI5IDEzLjA0OCAxNC43IDE3LjMwOGwxLjkwNiAwLjk0Nmg3Mi4zNTV2MTU0LjEyOWMtMjEuOSAxMi4wNTgtNDkuODY5IDI0LjMtODMuMjM2IDM2LjQzNWwtMi4zODggMC44Ny0xLjU4OCAxLjk4MmMtOS4wMzMgMTEuMjc3LTExLjg3OSAyMC44LTguNyAyOS4xMDcgMy4wNCA3Ljk0NSAxMS4xODIgMTMuMDY5IDI0LjIgMTUuMjNsMi4yMTggMC4zNjkgMi4xMzMtMC43MWE0NzEuOTg5IDQ3MS45ODkgMCAwIDAgNjcuMzYyLTI4LjA1djE0My4zNDRjMCA3LjkyOS0yLjc4IDkuNy0zLjY5NCAxMC4yODQtMy42NSAyLjMyLTE2LjU4MSA1LjY2MS01Ny43NDctMTMuNTQybC0yLjY5MS0xLjI1NS0yLjkxMSAwLjU3OGMtMTAuNzI4IDIuMTQtMTcuOCA2Ljg5NC0yMS4wMDYgMTQuMTM5LTMuNTQxIDcuOTkxLTEuODczIDE3LjUyNiA1LjA5NCAyOS4xNDdsMS41NDkgMi41ODUgMi43OTEgMS4xNDNjMjguNDEgMTEuNjIxIDUxLjggMTcuNDE1IDcwLjU3NSAxNy40MTUgMTIuODI2IDAgMjMuNS0yLjcgMzIuMTQ4LTguMSAxNC4yNTctOC44OTIgMjIuMjQxLTI0LjY1IDIzLjczLTQ2LjgzNWwwLjAyMS0xNzMuNzE0YzI4LjI1OS0xNi4xMjcgNTIuMzUzLTM0LjA3NCA3MS42OC01My40bDEuNTE3LTEuNTE4IDAuNjc2LTIuMDM1YzQuNDc0LTEzLjQ3MiAzLjg0NS0yMy4zLTEuOTIzLTMwLjA0NC01LjU1MS02LjUtMTQuOTY2LTguNjkzLTI3Ljk4My02LjUyOWwtMy41OSAwLjU5My0yLjE3OSAyLjkxNGMtNy4zOTQgOS44NzYtMjAuMjEyIDIxLjA1MS0zOC4yIDMzLjMxNVYzODYuNzU2aDYzLjM0MXogbTM5MS4yODggMzY3Ljg2MmwtMS42NzgtMi43OTQtMy4wNzMtMS4wODVjLTUxLjY4Ni0xOC4yMzktOTYuNzMzLTQzLjk1My0xMzQuMDM3LTc2LjUgNDYuOTM4LTU1LjA1NSA3Ny4zLTExNC4wNzcgOTAuMy0xNzUuNTc0IDUuMTE4LTIwLjYgMi45NC0zNy4xNi02LjQ3MS00OS4yMTRDNzQxLjcgNDM1LjA4NiA3MjEuNDc5IDQyOC4xIDY5MS4wOSA0MjguMUg0OTIuMDEzVjMwOC4zMThjMC0yMS40MzggOS4xNDUtMzAuNTg1IDMwLjU4NC0zMC41ODVoMTM4Ljc1OWM0NC43MjkgMCA0NS40MzkgMjEuNTIxIDQ1LjQ0OSAzMC4xNzZsLTQuOTE3IDU0LjEtMC4wMzkgMC44MmMwIDQuOTI3LTEuODU1IDcuMDI3LTMuNDcgOC4zMDUtNS4xNTEgNC4wNzktMjEuMDQzIDkuMjA2LTY5LjYzMi0yLjI1OWwtMi43OS0wLjY1OC0yLjY2IDEuMDY3Yy0xMS4wNCA0LjQyMy0xNy40NjEgMTAuNjkzLTE5LjA4NSAxOC42NDQtMS42NzQgOC4xODUgMi4wNjIgMTYuOSAxMS4xIDI1LjkybDEuODggMS44NzIgMi41OTIgMC41NjZjNTQuODYgMTEuOTM0IDkxLjQ2NSAxMC40NTYgMTExLjkwNy00LjUzMSAxMC42MjYtNy43ODggMTYuNjc2LTE4Ljk3IDE4LTMzLjQ5M2w0Ljk0Mi03OS4xMDVjMS42MjYtMTkuNTc2LTIuOTY3LTM1LjM5LTEzLjY1My00Ny0xMy44LTE0Ljk5My0zNi42LTIyLjI4LTY5LjcxMi0yMi4yOEg1MTIuNjg0Yy00NC44MzMgMC02OC41MyAyMy43LTY4LjUzIDY4LjUyOVY3OTdsMS44MTUgMi40MTljNi43MzcgOC45NzUgMTQuMTc4IDEzLjUyNCAyMi4xMTYgMTMuNTI0czE1LjM3Ny00LjU0OSAyMi4xMTMtMTMuNTI0bDEuODE1LTIuNDE5di0wLjk4M2M1LjUxOSAyLjgyMSAxMi45MzUgMy40NzkgMjIuMTU3IDEuOTQybDEuNDg4LTAuMjQ2IDEuMzI2LTAuNzE2YzQxLjI5MS0yMi4yNjIgODEuNTYxLTUwLjg4MyAxMTkuOC04NS4xNDJhNDg5LjYgNDg5LjYgMCAwIDAgMTUwLjQgODUuNzExbDIuMzU3IDAuODMzIDIuNDUtMC41YzEwLjcyNy0yLjE2NCAxNy43ODgtNi45NCAyMC45ODgtMTQuMiAzLjUyOS03Ljk5IDEuODYtMTcuNDk5LTUuMDk3LTI5LjA4MXogbS05NS40NzMtMjY2LjNsLTAuMzI5IDAuODIxLTAuMTYzIDAuODdjLTkuMTE4IDQ4LjY0OS0zNi4xODkgOTkuNjIyLTgwLjUwOSAxNTEuNjI0LTQ1LjA4Ni00OS43NzQtNzcuNTM2LTEwNS40MTktOTYuNjItMTY1LjY3M2gxNDYuMzljMjYuMDU4IDAgMzEuMDQ2IDUuNDE1IDMxLjc4MiA2LjUgMC45MjkgMS4zNyAwLjIxMiAzLjk0LTAuNTUxIDUuODU3eiBtLTIyMC40IDUuMTE1YzI1LjQ1OCA3My4yMTkgNjEuNDI2IDEzNS43NDYgMTA3LjE1MyAxODYuMjM5LTMwLjEzNSAyOC44LTY2LjEyNyA1My45NDgtMTA3LjE1MyA3NC44NDhWNDkzLjQzMnoiDQogICAgICAgIGZpbGw9IiMwMDlERTUiDQogICAgICAgIHAtaWQ9IjkxMjY4Ig0KICAgICAgPjwvcGF0aD4NCiAgICA8L3N2Zz4=",G="data:image/svg+xml;base64, PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBzdHlsZT0idHJhbnNmb3JtOiBzY2FsZSgwLjkpOyBtYXJnaW4tYm90dG9tOiAtMi41cHgiIHdpZHRoPSIxNnB4IiBoZWlnaHQ9IjE1cHgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+DQogICAgICA8ZyB0cmFuc2Zvcm09Im1hdHJpeCgxIDAgMCAxIC03MzYgLTIyNyApIj4NCiAgICAgICAgPHBhdGgNCiAgICAgICAgICBkPSJNIDE0LjQgNy4xOTI5ODI0NTA2NTc4OSAgQyAxNC40IDcuNjczNjg0MjEwNTI2MzIgIDE0LjM1MDkzMzMzMzMzMzMgOC4xNDMxNTc4OTQ3MzY4NCAgMTQuMjU3Nzc3NzgzMzMzMyA4LjU5NjQ5MTIzMzU1MjYzICBMIDEyLjc5ODU3Nzc4MzMzMzMgOC41OTY0OTEyMzM1NTI2MyAgQyAxMi45MTgzMzI3ODU5NTUyIDguMTM4Mzk0ODc0Mjk4NjEgIDEyLjk3ODkzMDcxNzExODMgNy42NjcxOTc0MTQyNTIwMyAgMTIuOTc4OTMwNzE3MTE4MyA3LjE5NDEwMjY5MTg5MzEyICBDIDEyLjk3ODkzMDcxNzExODMgNC4wOTM1NTY3MzA5NTg2NCAgMTAuNDMxOTI4NDA3NTMxOSAxLjU4MDA2NzYwOTY1NjI4ICA3LjI5MDA0MTgzMzc4NDk3IDEuNTgwMDY3NjA5NjU2MjggIEMgNC4xNDgxNTUyNjAwMzgwNCAxLjU4MDA2NzYwOTY1NjI4ICAxLjYwMTE1Mjk1MDQ1MTY0IDQuMDkzNTU2NzMwOTU4NjQgIDEuNjAxMTUyOTUwNDUxNjQgNy4xOTQxMDI2OTE4OTMxMiAgQyAxLjYwMTE1Mjk1MDQ1MTY0IDEwLjI5NDY0ODY1MjgyNzYgIDQuMTQ4MTU1MjYwMDM4MDQgMTIuODA4MTM3Nzc0MTMgIDcuMjkwMDQxODMzNzg0OTcgMTIuODA4MTM3Nzc0MTMgIEMgNy44MDE3MTU4NDYxMjU2OCAxMi44MDgxMzc3NzQxMyAgOC4zMTEwNTEwNTk5ODkxMyAxMi43NDAwMTU0NzY1MDk1ICA4LjgwNDI2NjY2NjY2NjY3IDEyLjYwNTYxNDAyOTYwNTMgIEMgOC44ODY3NTU1NSAxMi44MTk2NDkxMTE4NDIxICA5LjAyMTE1NTU1IDEzLjAwOTEyMjc5NjA1MjYgIDkuMTkyNTMzMzMzMzMzMzMgMTMuMTU3ODk0NzM2ODQyMSAgQyA4LjkyMzU4OTU2OTY3MTU0IDEzLjM5MTU1NDE5MjUzODIgIDguNzU0MTUwMzc0NjM0NzggMTMuNzE2OTQ4ODM3NTM4MyAgOC43MTgyMjIyMTY2NjY2NyAxNC4wNjg3NzE5MjQzNDIxICBDIDguMjU2IDE0LjE2MTQwMzUwMzI4OTUgIDcuNzc4MTMzMzMzMzMzMzMgMTQuMjEwNTI2MzE1Nzg5NSAgNy4yODg4ODg4ODMzMzMzMyAxNC4yMTA1MjYzMTU3ODk1ICBDIDMuMzYxNDIyMjE2NjY2NjcgMTQuMjEwNTI2MzE1Nzg5NSAgMC4xNzc3Nzc3NjY2NjY2NjcgMTEuMDY4NzcxOTI0MzQyMSAgMC4xNzc3Nzc3ODMzMzMzMzQgNy4xOTI5ODI0NTA2NTc4OSAgQyAwLjE3Nzc3NzggMy4zMTcxOTI5NzY5NzM2OCAgMy4zNjE0MjIyMTY2NjY2NyAwLjE3NTQzODYwMTk3MzY4NCAgNy4yODg4ODg4ODMzMzMzMyAwLjE3NTQzODYwMTk3MzY4NCAgQyAxMS4yMTYzNTU1NSAwLjE3NTQzODYwMTk3MzY4NCAgMTQuNCAzLjMxNzE5Mjk5MzQyMTA1ICAxNC40IDcuMTkyOTgyNDUwNjU3ODkgIFogTSA3LjY0NDQ0NDQ1IDMuNjg0MjEwNTI2MzE1NzkgIEwgNy42NDQ0NDQ0NSA3LjE5Mjk4MjQ1MDY1Nzg5ICBMIDkuNzc3Nzc3NzgzMzMzMzMgNy4xOTI5ODI0NTA2NTc4OSAgQyAxMC4xNzA1MTM2MDg1MDM1IDcuMTkyOTgyNDUwNjU3ODkgIDEwLjQ4ODg4ODkgNy41MDcxNjg1OTM1ODIwOSAgMTAuNDg4ODg4OSA3Ljg5NDczNjg0MjEwNTI2ICBDIDEwLjQ4ODg4ODkgOC4yODIzMDUwOTA2Mjg0MyAgMTAuMTcwNTEzNjA4NTAzNSA4LjU5NjQ5MTIzMzU1MjYzICA5Ljc3Nzc3Nzc4MzMzMzMzIDguNTk2NDkxMjMzNTUyNjMgIEwgNi45MzMzMzMzMzMzMzMzMyA4LjU5NjQ5MTIzMzU1MjYzICBDIDYuNDU5MjU5MjU1NTU1NTUgOC41OTY0OTEyMzM1NTI2MyAgNy40MDc0MDc0MTExMTExMSA4LjU5NjQ5MTIzMzU1MjYzICA2LjkzMzMzMzMzMzMzMzMzIDguNTk2NDkxMjMzNTUyNjMgIEMgNi41NDA1OTc1MDgxNjMxOSA4LjU5NjQ5MTIzMzU1MjYzICA2LjIyMjIyMjIxNjY2NjY3IDguMjgyMzA1MDkwNjI4NDMgIDYuMjIyMjIyMjE2NjY2NjcgNy44OTQ3MzY4NDIxMDUyNiAgTCA2LjIyMjIyMjIxNjY2NjY3IDMuNjg0MjEwNTI2MzE1NzkgIEMgNi4yMjIyMjIyMTY2NjY2NyAzLjI5NjY0MjI3Nzc5MjYyICA2LjU0MDU5NzUwODE2MzE5IDIuOTgyNDU2MTM0ODY4NDIgIDYuOTMzMzMzMzMzMzMzMzMgMi45ODI0NTYxMzQ4Njg0MiAgQyA3LjMyNjA2OTE1ODUwMzQ4IDIuOTgyNDU2MTM0ODY4NDIgIDcuNjQ0NDQ0NDUgMy4yOTY2NDIyNzc3OTI2MiAgNy42NDQ0NDQ0NSAzLjY4NDIxMDUyNjMxNTc5ICBaIE0gMTAuODQ0NDQ0NDUgOS4yOTgyNDU2MDg1NTI2MyAgTCAxNS4xMTExMTExMTY2NjY3IDkuMjk4MjQ1NjA4NTUyNjMgIEMgMTUuNTAzODQ2OTQxODM2OCA5LjI5ODI0NTYwODU1MjYzICAxNS44MjIyMjIyMzMzMzMzIDkuNjEyNDMxNzUxNDc2ODMgIDE1LjgyMjIyMjIzMzMzMzMgMTAgIEMgMTUuODIyMjIyMjMzMzMzMyAxMC4zODc1NjgyNDg1MjMyICAxNS41MDM4NDY5NDE4MzY4IDEwLjcwMTc1NDM5MTQ0NzQgIDE1LjExMTExMTExNjY2NjcgMTAuNzAxNzU0MzkxNDQ3NCAgTCAxMC44NDQ0NDQ0NSAxMC43MDE3NTQzOTE0NDc0ICBDIDEwLjQ1MTcwODYyNDgyOTkgMTAuNzAxNzU0MzkxNDQ3NCAgMTAuMTMzMzMzMzMzMzMzMyAxMC4zODc1NjgyNDg1MjMyICAxMC4xMzMzMzMzMzMzMzMzIDEwICBDIDEwLjEzMzMzMzMzMzMzMzMgOS42MTI0MzE3NTE0NzY4MyAgMTAuNDUxNzA4NjI0ODI5OSA5LjI5ODI0NTYwODU1MjYzICAxMC44NDQ0NDQ0NSA5LjI5ODI0NTYwODU1MjYzICBaIE0gMTAuODQ0NDQ0NDUgMTEuNDAzNTA4NzY2NDQ3NCAgTCAxNS4xMTExMTExMTY2NjY3IDExLjQwMzUwODc2NjQ0NzQgIEMgMTUuNTAzODQ2OTQxODM2OCAxMS40MDM1MDg3NjY0NDc0ICAxNS44MjIyMjIyMzMzMzMzIDExLjcxNzY5NDkwOTM3MTYgIDE1LjgyMjIyMjIzMzMzMzMgMTIuMTA1MjYzMTU3ODk0NyAgQyAxNS44MjIyMjIyMzMzMzMzIDEyLjQ5MjgzMTQwNjQxNzkgIDE1LjUwMzg0Njk0MTgzNjggMTIuODA3MDE3NTQ5MzQyMSAgMTUuMTExMTExMTE2NjY2NyAxMi44MDcwMTc1NDkzNDIxICBMIDEwLjg0NDQ0NDQ1IDEyLjgwNzAxNzU0OTM0MjEgIEMgMTAuNDUxNzA4NjI0ODI5OSAxMi44MDcwMTc1NDkzNDIxICAxMC4xMzMzMzMzMzMzMzMzIDEyLjQ5MjgzMTQwNjQxNzkgIDEwLjEzMzMzMzMzMzMzMzMgMTIuMTA1MjYzMTU3ODk0NyAgQyAxMC4xMzMzMzMzMzMzMzMzIDExLjcxNzY5NDkwOTM3MTYgIDEwLjQ1MTcwODYyNDgyOTkgMTEuNDAzNTA4NzY2NDQ3NCAgMTAuODQ0NDQ0NDUgMTEuNDAzNTA4NzY2NDQ3NCAgWiBNIDEwLjg0NDQ0NDQ1IDEzLjUwODc3MTkyNDM0MjEgIEwgMTUuMTExMTExMTE2NjY2NyAxMy41MDg3NzE5MjQzNDIxICBDIDE1LjUwMzg0Njk0MTgzNjggMTMuNTA4NzcxOTI0MzQyMSAgMTUuODIyMjIyMjMzMzMzMyAxMy44MjI5NTgwNjcyNjYzICAxNS44MjIyMjIyMzMzMzMzIDE0LjIxMDUyNjMxNTc4OTUgIEMgMTUuODIyMjIyMjMzMzMzMyAxNC41OTgwOTQ1NjQzMTI2ICAxNS41MDM4NDY5NDE4MzY4IDE0LjkxMjI4MDcwNzIzNjggIDE1LjExMTExMTExNjY2NjcgMTQuOTEyMjgwNzA3MjM2OCAgTCAxMC44NDQ0NDQ0NSAxNC45MTIyODA3MDcyMzY4ICBDIDEwLjQ1MTcwODYyNDgyOTkgMTQuOTEyMjgwNzA3MjM2OCAgMTAuMTMzMzMzMzMzMzMzMyAxNC41OTgwOTQ1NjQzMTI2ICAxMC4xMzMzMzMzMzMzMzMzIDE0LjIxMDUyNjMxNTc4OTUgIEMgMTAuMTMzMzMzMzMzMzMzMyAxMy44MjI5NTgwNjcyNjYzICAxMC40NTE3MDg2MjQ4Mjk5IDEzLjUwODc3MTkyNDM0MjEgIDEwLjg0NDQ0NDQ1IDEzLjUwODc3MTkyNDM0MjEgIFogIg0KICAgICAgICAgIGZpbGwtcnVsZT0ibm9uemVybyINCiAgICAgICAgICBmaWxsPSIjZmZhMTE2Ig0KICAgICAgICAgIHN0cm9rZT0ibm9uZSINCiAgICAgICAgICB0cmFuc2Zvcm09Im1hdHJpeCgxIDAgMCAxIDczNiAyMjcgKSINCiAgICAgICAgLz4NCiAgICAgIDwvZz4NCiAgICA8L3N2Zz4=",k="data:image/svg+xml;base64, PHN2ZyB0PSIxNjI5Mjg0MTUzNjk3IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjIxODIiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZD0iTTUxMiAwQzIzMC40IDAgMCAyMjcuMiAwIDUxMmMwIDI4MS42IDIzMC40IDUxMiA1MTIgNTEyIDI4NC44IDAgNTEyLTIyNy4yIDUxMi01MTJTNzk2LjggMCA1MTIgMHogbTAgODE5LjJjLTI4LjggMC01MS4yLTIyLjQtNTEuMi01MS4yczIyLjQtNTEuMiA1MS4yLTUxLjJjMjguOCAwIDUxLjIgMjIuNCA1MS4yIDUxLjIgMy4yIDI4LjgtMjIuNCA1MS4yLTUxLjIgNTEuMnogbTU0LjQtMjIwLjhjMCAyOC44LTIyLjQgNTEuMi01MS4yIDUxLjItMjguOCAwLTUxLjItMjIuNC01MS4yLTUxLjJWMjU2YzAtMjguOCAyMi40LTUxLjIgNTEuMi01MS4yIDI4LjggMCA1MS4yIDIyLjQgNTEuMiA1MS4ydjM0Mi40eiIgcC1pZD0iMjE4MyIgZmlsbD0iI0YxQjkxNiI+PC9wYXRoPjwvc3ZnPg==",x="data:image/svg+xml;base64, PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMTRweCIgaGVpZ2h0PSIxMXB4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPg0KICA8ZyB0cmFuc2Zvcm09Im1hdHJpeCgxIDAgMCAxIC01MTYgLTQ2ICkiPg0KICAgIDxwYXRoIGQ9Ik0gMCA0Ljc0OTk5NDE0MDYyNTAxICBMIDAgNi4yNTAwMDU4NTkzNzQ5OSAgTCAxLjU1NTU0OTQ3OTE2NjY0IDYuMjUwMDA1ODU5Mzc0OTkgIEwgMS41NTU1NDk0NzkxNjY2NCA0Ljc0OTk5NDE0MDYyNTAxICBMIDAgNC43NDk5OTQxNDA2MjUwMSAgWiBNIDAgOC43NSAgTCAwIDEwLjI0OTk5NDE0MDYyNSAgTCAxLjU1NTU0OTQ3OTE2NjY0IDEwLjI0OTk5NDE0MDYyNSAgTCAxLjU1NTU0OTQ3OTE2NjY0IDguNzUgIEwgMCA4Ljc1ICBaIE0gMCAwLjc1MDAwNTg1OTM3NDk5NCAgTCAwIDIuMjUgIEwgMS41NTU1NDk0NzkxNjY2NCAyLjI1ICBMIDEuNTU1NTQ5NDc5MTY2NjQgMC43NTAwMDU4NTkzNzQ5OTQgIEwgMCAwLjc1MDAwNTg1OTM3NDk5NCAgWiBNIDMuMTExMTE3MTg3NDk5OTkgNC43NDk5OTQxNDA2MjUwMSAgTCAzLjExMTExNzE4NzQ5OTk5IDYuMjUwMDA1ODU5Mzc0OTkgIEwgMTQgNi4yNTAwMDU4NTkzNzQ5OSAgTCAxNCA0Ljc0OTk5NDE0MDYyNTAxICBMIDMuMTExMTE3MTg3NDk5OTkgNC43NDk5OTQxNDA2MjUwMSAgWiBNIDMuMTExMTE3MTg3NDk5OTkgOC43NSAgTCAzLjExMTExNzE4NzQ5OTk5IDEwLjI0OTk5NDE0MDYyNSAgTCAxNCAxMC4yNDk5OTQxNDA2MjUgIEwgMTQgOC43NSAgTCAzLjExMTExNzE4NzQ5OTk5IDguNzUgIFogTSAxNCAwLjc1MDAwNTg1OTM3NDk5NCAgTCAzLjExMTExNzE4NzQ5OTk5IDAuNzUwMDA1ODU5Mzc0OTk0ICBMIDMuMTExMTE3MTg3NDk5OTkgMi4yNSAgTCAxNCAyLjI1ICBMIDE0IDAuNzUwMDA1ODU5Mzc0OTk0ICBaICIgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSIjYmZiY2NjIiBzdHJva2U9Im5vbmUiIHRyYW5zZm9ybT0ibWF0cml4KDEgMCAwIDEgNTE2IDQ2ICkiIC8+DQogIDwvZz4NCjwvc3ZnPg==";var z=o("d29d");function K(e){if(null!=e&&e.length>0){const t=[];return e.sort((e,t)=>e.order-t.order).forEach(e=>t.push(e.value+"fr")),t.join(" ")}return"1fr"}const R=e=>K(e);var w=R;function U(e){return null!=e&&e.length>0?e.length+1:2}const V=e=>U(e);var $=V,q=o("4e72");class ee{createBasicHeaders(){return{"Content-Type":"application/json",Accept:"application/json"}}createAuthHeaders(e,t){return{Authorization:"bearer "+e,"user-identity":t,"Content-Type":"application/json",Accept:"application/json"}}fetch(e,t,o,n,r){return e=null!=t?this.urlQueryConvert(e,t):e,fetch(e,{method:n||"GET",headers:r,body:o}).then((function(e){return e.status,e.statusText,e.headers,e.url,e.json()}),(function(e){e.message}))}urlQueryConvert(e,t){let o="";return o=-1!==e.indexOf("?")?"&":"?",t&&Object.keys(t).forEach((n,r)=>{const i=t[n];e+=0===r?null!=i&&"null"!==i&&"undefined"!==i?o+n+"="+i:o+n+"=":null!=i&&"null"!==i&&"undefined"!==i?"&"+n+"="+i:"&"+n+"="}),e}}const te=new ee;var oe=o("c223");const ne="vue-lo",re="form:",ie="dict:";class ae{get formConfig(){return window.$app.config.globalProperties.$qlForm?window.$app.config.globalProperties.$qlForm:{}}constructor(){d(this,"localForage",void 0),d(this,"config",void 0)}init(){const e=this.formConfig.appId?this.formConfig.appId:"";this.config={driver:oe["INDEXEDDB"],name:ne,version:1,storeName:"clean:"+e,description:"用于清理实例的缓存对象"},this.localForage=oe["createInstance"](this.config)}setItem(e,t){this.localForage.setItem(e,t)}getItem(e){return this.localForage.getItem(e)}dropInstance(){null!=this.localForage&&this.localForage.dropInstance().then()}}const le=new ae;class ce{get formConfig(){return window.$app.config.globalProperties.$qlForm?window.$app.config.globalProperties.$qlForm:{}}constructor(){d(this,"localForage",void 0),d(this,"config",void 0)}init(){const e=this.formConfig.appId?this.formConfig.appId:"";this.config={driver:oe["INDEXEDDB"],name:ne,version:1,storeName:ie+e,description:"PC端表单数据库"},this.localForage=oe["createInstance"](this.config)}setItem(e,t){this.localForage.setItem(e,t)}getItem(e){return this.localForage.getItem(e)}dropInstance(){null!=this.localForage&&this.localForage.dropInstance().then()}}const se=new ce;class de{constructor(){}copy(e){return null!=e?JSON.parse(JSON.stringify(e)):""}parse(e){return null!=e&&""!==e?JSON.parse(e):null}stringify(e){return null!=e?JSON.stringify(e):""}}const ue=new de;class Ce{get formConfig(){return window.$app.config.globalProperties.$qlForm?window.$app.config.globalProperties.$qlForm:{}}constructor(){d(this,"localForage",void 0),d(this,"config",void 0)}init(){const e=this.formConfig.appId?this.formConfig.appId:"";this.config={driver:oe["INDEXEDDB"],name:ne,version:1,storeName:re+e,description:"PC端表单数据库"},this.localForage=oe["createInstance"](this.config)}setItem(e,t){this.localForage.setItem(e,t)}getItem(e){return this.localForage.getItem(e)}dropInstance(){null!=this.localForage&&this.localForage.dropInstance().then()}}const Ye=new Ce;class Me{constructor(e={}){d(this,"formId",void 0),d(this,"appId",void 0),d(this,"domainClassId",void 0),d(this,"objectId",void 0),d(this,"formType",void 0),d(this,"formName",void 0),d(this,"formAlias",void 0),d(this,"formDescribe",void 0),d(this,"useState",void 0),d(this,"desFormLayouts",void 0),d(this,"controls",void 0),d(this,"formGroup",void 0),this.formId=e.formId||"",this.appId=e.appId||"",this.domainClassId=e.domainClassId||"",this.objectId=e.objectId||"",this.formType=e.formType||"",this.formName=e.formName||"",this.formAlias=e.formAlias||"",this.formDescribe=e.formDescribe||"",this.useState=e.useState||"",this.controls=e.controls||[],this.formGroup=e.formGroup,this.desFormLayouts=e.desFormLayouts||[]}}class Le{constructor(e={}){d(this,"layoutId",void 0),d(this,"formId",void 0),d(this,"parentLayoutId",void 0),d(this,"layoutName",void 0),d(this,"layoutType",void 0),d(this,"gridSpace",void 0),d(this,"gridColumnConfig",void 0),d(this,"gridLateralArrangement",void 0),d(this,"gridVerticalArrangement",void 0),d(this,"layoutOrder",void 0),d(this,"labelSpan",void 0),d(this,"controlSpan",void 0),d(this,"desFormControls",void 0),d(this,"subDesFormLayout",void 0),this.layoutId=e.layoutId||"",this.formId=e.formId||"",this.parentLayoutId=e.parentLayoutId||"",this.layoutName=e.layoutName||"",this.layoutType=e.layoutType||"",this.gridSpace=e.gridSpace,this.gridColumnConfig=e.gridColumnConfig,this.gridLateralArrangement=e.gridLateralArrangement||"",this.gridVerticalArrangement=e.gridVerticalArrangement||"",this.layoutOrder=e.layoutOrder,this.labelSpan=e.labelSpan||"",this.controlSpan=e.controlSpan||"",this.desFormControls=e.desFormControls||[],this.subDesFormLayout=e.subDesFormLayout||[]}}var De=o("9ce7"),Se=o("c968"),Te=o("c73e");class me{constructor(){}arrayConvertToTreeNode(e,t,o){if(null!=e&&e.length>0){let n=e.filter(e=>(e[t.parentId]||"")===(o||""));if(null!=n&&n.length>0)return n=ue.copy(n),n.forEach(o=>{const n=this.arrayConvertToTreeNode(e,t,o[t.id]);null!=n&&n.length>0&&(o[t.children]=[...n])}),n}return[]}treeNodeConvertToNzTreeNode(e,t,o=!1){const n=[];return null!=e&&e.length>0&&e.forEach(e=>{const r={title:"",key:"",icon:"",isLeaf:!0,checked:!1,selected:!1,selectable:!0,disabled:o,disableCheckbox:!1,expanded:!0,children:[]};for(const o of Object.keys(t))null!=t[o]&&""!==t[o]&&(r[o]=e[t[o]]);if(r.children=[],null!=e[t.children]&&e[t.children].length>0){const n=this.treeNodeConvertToNzTreeNode(e[t.children],t,o);r.disabled=!1,r.isLeaf=!1,r.children=n}n.push(r)}),n}arrayConvertToNzTreeNode(e,t,o,n=!1){const r=this.arrayConvertToTreeNode(e,t);return null!=r&&r.length>0?this.treeNodeConvertToNzTreeNode(r,o,n):[]}treeNodeConvertToCascaderOption(e,t,o=!1){const n=[];return null!=e&&e.length>0&&e.forEach(e=>{const r={value:"",label:"",title:"",disabled:o,loading:"",isLeaf:!0,parent:"",children:""};for(const o of Object.keys(t))null!=t[o]&&""!==t[o]&&(r[o]=e[t[o]]);if(r.children=[],null!=e[t.children]&&e[t.children].length>0){const n=this.treeNodeConvertToCascaderOption(e[t.children],t,o);r.disabled=!1,r.isLeaf=!1,r.children=n}n.push(r)}),n}nzTreeNodeConvertToMap(e){if(null!=e&&e.length>0){const t={};return e.forEach(e=>{e.value&&(t[e.value]={key:e.key,title:e.title,value:e.value},e.children&&e.children.length>0&&(t[e.value].children=this.nzTreeNodeConvertToMap(e.children)||void 0))}),t}}arrayConvertToCascaderOption(e,t,o,n=!1){const r=this.arrayConvertToTreeNode(e,t);return null!=r&&r.length>0?this.treeNodeConvertToCascaderOption(r,o,n):[]}treeNodeConvertToArray(e,t,o){return t=t||[],e=JSON.parse(JSON.stringify(e)),e.forEach(e=>{t.push(e),e[o]&&e[o].length&&Ze.treeNodeConvertToArray(e[o],t,o)}),t.forEach(e=>{delete e[o]}),t}}const Ze=new me;class he{constructor(){}setForms(e){Ye.setItem(he.FORMS,e)}getForms(){return Ye.getItem(he.FORMS)}setVersion(e){Ye.setItem(he.VERSION,e)}getVersion(){return Ye.getItem(he.VERSION)}}d(he,"FORMS","forms_data"),d(he,"VERSION","forms_version");const pe=new he;var ge=o("1937");class Ne{constructor(){}setDicts(e){se.setItem(Ne.DICTS,e)}getDicts(){return se.getItem(Ne.DICTS)}setTreeDicts(e){se.setItem(Ne.TREE_DICTS,e)}getTreeDicts(){return se.getItem(Ne.TREE_DICTS)}setMapDicts(e){se.setItem(Ne.MAP_DICTS,e)}getMapDicts(){return se.getItem(Ne.MAP_DICTS)}setMapTreeDicts(e){se.setItem(Ne.MAP_TREE_DICTS,e)}getMapTreeDicts(){return se.getItem(Ne.MAP_TREE_DICTS)}setVersion(e){se.setItem(Ne.VERSION,e)}getVersion(){return se.getItem(Ne.VERSION)}}d(Ne,"DICTS","dicts_data"),d(Ne,"TREE_DICTS","treeDicts_data"),d(Ne,"MAP_DICTS","map_dicts_data"),d(Ne,"MAP_TREE_DICTS","map_treeDicts_data"),d(Ne,"VERSION","dict_version");const Je=new Ne,Xe="form-design.json",fe="dict.json",Oe="./resources/json/"+fe;var ye=o("9475");class Qe{constructor(){}push(e){history.pushState(null,e,e)}getPathFromUrl(e){let t=e;return-1!==e.indexOf("?")&&(t=e.split("?")[0]),t}getParamsFromUrl(e){let t;return-1!==e.indexOf("?")&&(t=this.urlParameterToParams(e.split("?")[1])),t}urlParameterToParams(e){const t={},o=e.split("&");return o.forEach((e,o,n)=>{const r=e.split("=");r.length>1?t[r[0]]=decodeURIComponent(r[1]):t[r[0]]=""}),t}getParameterOfUrl(e,t){let o="";if(o=-1!==e.indexOf("?")?"&":"?",t&&Object.keys(t).length>0){let n=0;Object.keys(t).forEach(r=>{0===n?null!=t[r]&&"null"!==t[r]&&"undefined"!==t[r]?e+=o+r+"="+t[r]:e+=o+r+"=":null!=t[r]&&"null"!==t[r]&&"undefined"!==t[r]?e+="&"+r+"="+t[r]:e+="&"+r+"=",n++})}return e}}const be=new Qe;class Be{validateTips(e,t){if(null!=e){Array.isArray(e)||(e=[e]);const o=[];let n=[],r="";if(e.forEach(e=>{const t=e.validateReport();t&&t.length>0&&(o.push(e),n=n.concat(t))}),n&&n.length>0)return n.forEach(e=>{console.log(e),r+=`<div class="lo-error-item d-flex"><div class="lo-error-describe">${e.name}</div> ${e.errorMsg};</div>`}),q["Modal"].confirm({width:380,title:Object(i["h"])("div",{class:"d-flex",innerHTML:`<img src="${k}" /><div style="font-size: 18px">校验提示</div>`}),content:Object(i["h"])("div",{innerHTML:r}),onOk:()=>{this.showErrorModal(o,n,t)},okText:"确认",cancelText:"取消",class:"lo-form-error-modal"}),!1}return!0}showErrorModal(e,t,o){var n,r;const i=null===(n=e[0])||void 0===n?void 0:n.getControlEl(null===(r=t[0])||void 0===r?void 0:r.key);if(null!=i)if(o&&"string"===typeof o&&(o=document.getElementById(o)),o){o.scrollTo({top:i.offsetTop,behavior:"smooth"});const e=t=>{const n=null!=o.window&&o.window===o.window.window?document.documentElement.scrollTop||document.body.scrollTop:o.scrollTop,r=i.offsetTop-n;r>-20&&r<20&&(o.removeEventListener("scroll",e),this.showErrInput(i))};o.addEventListener("scroll",e,!1)}else this.showErrInput(i)}showErrInput(e){let t=0;const o=setInterval(()=>{e.style.opacity=t++%2===0?".3":"1",t>5&&clearInterval(o)},400)}}const je=new Be;class Pe{constructor(){d(this,"nodeContrast",{id:"layoutId",parentId:"parentLayoutId",children:"subDesFormLayout"}),d(this,"dictDetailsContrast",{id:"dicEntryPk",parentId:"suprDicPk",children:"children"}),d(this,"nzDictDetailsContrastContrast",{key:"dicEntryPk",title:"dicValue",children:"children",value:"dicKey"}),d(this,"dictTreeDetailsContrast",{id:"dicEntryPk",parentId:"suprDicPk",children:"children"}),d(this,"nzDictTreeDetailsContrastContrast",{key:"dicEntryPk",title:"dicValue",children:"children",value:"dicKey"}),d(this,"desForms",[]),d(this,"sysDictDetailOptions",[]),d(this,"sysDictTreeDetailOptions",[]),d(this,"mapSysDictDetailOptions",void 0),d(this,"mapSysDictTreeDetailOptions",void 0),d(this,"supHoliday",!1)}get formConfig(){return null!=window.$app.config.globalProperties.$qlForm?window.$app.config.globalProperties.$qlForm:{}}setSupHoliday(e){this.supHoliday=e}setFormDisabledColor(e="#f0f0f0"){document.body.style.setProperty("--lo-form-disabled",e)}checkFirstLoadAndInitDesign(){return Pe.IS_FIRST_LOADED?Promise.resolve({code:1,msg:"检查到已经过首次加载,不在执行加载逻辑"}):this.init().then(e=>(Pe.IS_FIRST_LOADED=!0,e))}init(){return Promise.all([this.initDesign(),this.initDict(),this.selectHolidays()]).then(([e,t])=>{const o=1===e.code&&1===t.code?1:0;return{code:o,msg:e.msg+"; "+t.msg}})}selectHolidays(){if(this.formConfig.url&&this.supHoliday){const e=this.formConfig.url+"/ms-loong/api/v1/basic-form-weekday/query-all-by-year";return this.fetch(e,{},void 0,"POST").then(e=>(null==e||1!==e.code&&String(e.code)!==String(200)||null!=e.data&&(localStorage.setItem("traddayList",JSON.stringify(e.data.traddayList)),localStorage.setItem("weekdayList",JSON.stringify(e.data.weekdayList)),localStorage.setItem("workdayList",JSON.stringify(e.data.workdayList))),Promise.resolve(Pe.LOAD_SUCCESS)))}return Promise.resolve(Pe.LOAD_SUCCESS)}initDesign(){return Promise.all([pe.getForms(),pe.getVersion()]).then(([e,t])=>{if("static"===this.formConfig.loadMode)return null!=e?(this.desForms=e,Promise.resolve(Pe.LOAD_SUCCESS)):this.loadDesign([this.formConfig.url||Xe]);if("dynamic"===this.formConfig.loadMode){if(null!=this.formConfig.appId&&""!==this.formConfig.appId){const o={appId:this.formConfig.appId,cacheType:ye["a"].FORM.code},n=this.formConfig.url+"/ms-loong/api/v1/des-cache-info/permit_endpoint/query-cacheversion-by-appid-cachetype";return this.fetch(n,o).then(o=>{if(null!=o&&1===o.code){if(null!=o.data&&null!=o.data.desCacheVersion){if(String(t)!==String(o.data.desCacheVersion.cacheVersionNumber)){const e=this.formConfig.url+"/ms-loong/api/v1/des-cache-info/permit_endpoint/download?storageAddress="+o.data.desCacheVersion.storageAddress;return this.loadDesign([e]).then(e=>(1===e.code&&pe.setVersion(o.data.desCacheVersion.cacheVersionNumber),e))}return null!=e&&(this.desForms=e),console.log(this.desForms),Promise.resolve(Pe.LOAD_SUCCESS)}return Promise.resolve({code:1,msg:"暂无版本数据"})}return Promise.resolve(Pe.LOAD_FAIL)})}return Promise.resolve({code:0,msg:"动态加载需指定当前系统编号(appId)"})}return"merge"===this.formConfig.loadMode?this.formConfig.urls?new Promise(e=>{this.loadDesign(this.formConfig.urls||[]).then(()=>{e(Pe.LOAD_SUCCESS)})}):this.mergeUrlByType(ye["a"].FORM.code).then(o=>t===o.cacheVersionNumber?(e&&(this.desForms=e),Promise.resolve(Pe.LOAD_SUCCESS)):new Promise(e=>{this.loadDesign(o.storageAddress).then(()=>{pe.setVersion(o.cacheVersionNumber),e(Pe.LOAD_SUCCESS)})})):"merge_cacheId"===this.formConfig.loadMode?this.mergeUrlByCacheId(ye["a"].FORM.code).then(o=>t===o.cacheVersionNumber?(e&&(this.desForms=e),Promise.resolve(Pe.LOAD_SUCCESS)):new Promise(e=>{this.loadDesign(o.storageAddress).then(()=>{pe.setVersion(o.cacheVersionNumber),e(Pe.LOAD_SUCCESS)})})):Promise.resolve(Pe.LOAD_FAIL)})}mergeUrlByType(e){const t=this.formConfig.url+"/ms-loong/api/v1/des-cache-info/permit_endpoint/query-batch-appids-cachetype",o=this.formConfig.url+"/ms-loong/api/v1/des-cache-info/permit_endpoint/download?storageAddress=",n={appIds:this.formConfig.appId,cacheType:e};return this.fetch(t,n).then(t=>{var r,i;const a={},l=[],c=[],s={};return null===t||void 0===t||null===(r=t.data)||void 0===r||r.forEach(t=>{var r;t.cacheType==e&&null!==(r=t.desCacheVersion)&&void 0!==r&&r.storageAddress&&n.appIds&&n.appIds.indexOf(t.appId)>-1&&(s[t.appId]=t.desCacheVersion.cacheVersionNumber,l.push(o+t.desCacheVersion.storageAddress))}),null===(i=n.appIds)||void 0===i||i.split(",").forEach(e=>{c.push(s[e])}),a.cacheVersionNumber=c.join(","),a.storageAddress=l,a})}mergeUrlByCacheId(e){var t;const o=this.formConfig.url+"/ms-loong/api/v1/des-cache-info/permit_endpoint/query-batch-appids-cachetype",n=this.formConfig.url+"/ms-loong/api/v1/des-cache-info/permit_endpoint/downloadById?cacheVersionId=",r={appIds:this.formConfig.appId,cacheType:e},i=(null===(t=r.appIds)||void 0===t?void 0:t.split(","))||[];return this.fetch(o,r).then(t=>{var o,a;const l={},c=[],s=[],d={};return null===t||void 0===t||null===(o=t.data)||void 0===o||o.forEach(t=>{var o;t.cacheType==e&&null!==(o=t.desCacheVersion)&&void 0!==o&&o.cacheVersionId&&r.appIds&&i.indexOf(t.appId)>-1&&(d[t.appId]=t.desCacheVersion.cacheVersionNumber,c.push(n+t.desCacheVersion.cacheVersionId+"&appId="+t.appId+"&cacheType="+e))}),null===(a=r.appIds)||void 0===a||a.split(",").forEach(e=>{s.push(d[e])}),l.cacheVersionNumber=s.join(","),l.storageAddress=c,l})}loadDesign(e){return this.mergeFetchDesign(e).then(e=>{const t=[];return null!=e&&e.length>0&&e.filter(e=>null!=e.desFormLayouts&&e.desFormLayouts.length>0).forEach(e=>{const o=this.formatDesForm(e);null!=o&&t.push(o)}),this.desForms=t,pe.setForms(this.desForms),Pe.LOAD_SUCCESS})}mergeFetchDesign(e){const t=!!this.formConfig.onlySimpleLoadConfig,o=this.createFileDownloadAuthorizationHeader(),n=[];return e.forEach(e=>{n.push(this.fetch(e,{},void 0,"GET",o,t))}),Promise.all(n).then(e=>{let t=[];return null===e||void 0===e||e.forEach(e=>{t=t.concat(e)}),t})}initDict(){return Promise.all([Je.getDicts(),Je.getTreeDicts(),Je.getMapDicts(),Je.getMapTreeDicts(),Je.getVersion()]).then(([e,t,o,n,r])=>{if("static"===this.formConfig.loadMode){const r=this.formConfig.dictUrl?this.formConfig.dictUrl:Oe;return null!=e||null!=t?(this.sysDictDetailOptions=e,this.sysDictTreeDetailOptions=t,this.mapSysDictDetailOptions=o,this.mapSysDictTreeDetailOptions=n,Pe.LOAD_SUCCESS):this.loadDict([r])}if("dynamic"===this.formConfig.loadMode){if(this.formConfig.appId){const i=this.formConfig.url+"/ms-loong/api/v1/des-cache-info/permit_endpoint/query-cacheversion-by-appid-cachetype",a=this.formConfig.dictUrl?this.formConfig.dictUrl:i||"",l=be.getPathFromUrl(a);let c=be.getParamsFromUrl(a)||{};c.appId=c.appId?c.appId:this.formConfig.appId,c.cacheType=c.cacheType?c.cacheType:ye["a"].DICT.code,c=this.formConfig.dictRestLoadOnlyBody?{}:c;const s="GET"===(this.formConfig.dictRestLoadMode||"GET").toLocaleUpperCase()?void 0:this.formConfig.dictRestLoadBody;let d=this.formConfig.dictRestLoadHeaders;return null!=d&&"function"===typeof d&&(d=d()),this.fetch(l,c,s,this.formConfig.dictRestLoadMode,d).then(i=>{if(null==i||1!==i.code&&String(i.code)!==String(200))return Pe.LOAD_FAIL;if(null!=i.data){let a=i.data.desCacheVersion;i.data&&i.data instanceof Array&&i.data.length>0&&(a=i.data[0].desCacheVersion);const l=this.formConfig.url+"/ms-loong/api/v1/des-cache-info/permit_endpoint/download?storageAddress="+a.storageAddress;return String(r)!==String(a.cacheVersionNumber)?this.loadDict([l]).then(e=>(1===e.code&&Je.setVersion(a.cacheVersionNumber),e)):(null==e&&null==t||(this.sysDictDetailOptions=e,this.sysDictTreeDetailOptions=t,this.mapSysDictDetailOptions=o,this.mapSysDictTreeDetailOptions=n),Pe.LOAD_SUCCESS)}return{code:1,msg:"暂无版本数据"}})}return{code:0,msg:"动态加载需指定当前系统编号(appId)"}}return"merge"===this.formConfig.loadMode?this.mergeUrlByType(ye["a"].DICT.code).then(i=>r===i.cacheVersionNumber?(null==e&&null==t||(this.sysDictDetailOptions=e,this.sysDictTreeDetailOptions=t,this.mapSysDictDetailOptions=o,this.mapSysDictTreeDetailOptions=n),Pe.LOAD_SUCCESS):new Promise(e=>{this.loadDict(i.storageAddress).then(()=>{Je.setVersion(i.cacheVersionNumber),e(Pe.LOAD_SUCCESS)})})):"merge_cacheId"===this.formConfig.loadMode?this.mergeUrlByCacheId(ye["a"].DICT.code).then(i=>r===i.cacheVersionNumber?(null==e&&null==t||(this.sysDictDetailOptions=e,this.sysDictTreeDetailOptions=t,this.mapSysDictDetailOptions=o,this.mapSysDictTreeDetailOptions=n),Pe.LOAD_SUCCESS):new Promise(e=>{this.loadDict(i.storageAddress).then(()=>{Je.setVersion(i.cacheVersionNumber),e(Pe.LOAD_SUCCESS)})})):Pe.LOAD_FAIL})}loadDict(e){return this.mergeFetchDict(e).then(e=>{if(null!=e){const t=this.inidDictOptions(e);this.sysDictDetailOptions=t.sysDictDetailOptions||[],this.sysDictTreeDetailOptions=t.sysDictTreeDetailOptions||[],this.mapSysDictDetailOptions=t.mapSysDictDetailOptions,this.mapSysDictTreeDetailOptions=t.mapSysDictTreeDetailOptions,t.sysDictDetailOptions&&t.sysDictDetailOptions.length>0&&Je.setDicts(t.sysDictDetailOptions),t.sysDictTreeDetailOptions&&t.sysDictTreeDetailOptions.length>0&&Je.setTreeDicts(t.sysDictTreeDetailOptions),Je.setMapDicts(t.mapSysDictDetailOptions||null),Je.setMapTreeDicts(t.mapSysDictTreeDetailOptions||null)}return Pe.LOAD_SUCCESS})}mergeFetchDict(e){const t=[];return e.forEach(e=>{t.push(this.fetch(e,{},void 0,"GET",void 0,!!this.formConfig.onlySimpleLoadConfig))}),Promise.all(t).then(e=>{let t=[];const o={},n=[];return null===e||void 0===e||e.forEach(e=>{t=t.concat(e)}),t.forEach(e=>{o[e.dictId]||(n.push(e),o[e.dictId]=!0)}),n})}inidDictOptions(e){const t=[],o=[];e.forEach(e=>{const n={key:e.dictId,value:e.dictCd,title:e.dictNm,isLeaf:!0,expanded:!1,children:[]};e.dictTp===ge["a"].GeneralDictionary.code?(n.isLeaf=!1,n.children=Ze.arrayConvertToNzTreeNode(e.comDictKeyValues.filter(e=>!!e.dictId),this.dictDetailsContrast,this.nzDictDetailsContrastContrast,!0),t.push(n)):e.dictTp===ge["a"].TreeDictionary.code&&(null!=e.treeDictKeyValues&&e.treeDictKeyValues.length>0&&(n.isLeaf=!1,e.treeDictKeyValues.forEach(e=>{"0"===e.suprDicPk&&(e.suprDicPk="")}),n.children=Ze.arrayConvertToNzTreeNode(e.treeDictKeyValues.filter(e=>!!e.dictId),this.dictTreeDetailsContrast,this.nzDictTreeDetailsContrastContrast,!0)),o.push(n))});const n=Ze.nzTreeNodeConvertToMap(t),r=Ze.nzTreeNodeConvertToMap(o);return{sysDictDetailOptions:t,sysDictTreeDetailOptions:o,mapSysDictDetailOptions:n,mapSysDictTreeDetailOptions:r}}formatDesForm(e){if(null!=e){const t=new Me(e),o=Ze.arrayConvertToTreeNode(e.desFormLayouts,this.nodeContrast),n=this.recursionFormatForm([],o);return this.sortControls(n),t.desFormLayouts=[],t.controls=n,t}}recursionFormatForm(e,t){const o=[];return null!=e&&e.length>0&&e.filter(e=>!!e.formFieldId).forEach(e=>{const t={code:e.controlType,name:(Object.values(Se["a"]).find(t=>t.code===e.controlType)||{}).name||"",type:Number(e.controlType)<50?De["a"].Base.code:De["a"].Senior.code,active:!1,subControls:void 0,controlAttr:e},n=t.controlAttr;n.isBoldTitle=e.isBoldTitle===Te["a"].Enable.code,n.isHideTitle=e.isHideTitle===Te["a"].Enable.code,n.isNotEdit=e.isNotEdit===Te["a"].Enable.code,n.isShowHoliday=e.isShowHoliday===Te["a"].Enable.code,n.isHideControl=e.isHideControl===Te["a"].Enable.code,n.isPasswordBox=e.isPasswordBox===Te["a"].Enable.code,n.enableAutoComplete=e.enableAutoComplete===Te["a"].Enable.code,n.isFixedRowHeight=e.isFixedRowHeight===Te["a"].Enable.code,n.thousandthPercentileFormat=e.thousandthPercentileFormat===Te["a"].Enable.code,n.isShowCapitalization=e.isShowCapitalization===Te["a"].Enable.code,n.isLineFeedDisplay=e.isLineFeedDisplay===Te["a"].Enable.code,n.optionConfig=ue.parse(e.optionConfig),n.generalDictionaryOptions=ue.parse(e.generalDictionaryOptions),n.treeShapeOptions=ue.parse(e.treeShapeOptions),n.isSupportMultiple=e.isSupportMultiple===Te["a"].Enable.code,Array.isArray(e.customUploadType)&&e.customUploadType.length>0&&(n.customUploadType=e.customUploadType.join(",")),n.isMultipleChoice=e.isMultipleChoice===Te["a"].Enable.code,n.isSearchable=e.isSearchable===Te["a"].Enable.code,n.canAddEntry=e.canAddEntry===Te["a"].Enable.code,n.isClearButton=e.isClearButton===Te["a"].Enable.code,n.hiddenDropdown=e.hiddenDropdown===Te["a"].Enable.code,n.textFold=e.textFold===Te["a"].Enable.code,n.verificationRules=ue.parse(e.verificationRules),o.push(t)}),null!=t&&t.length>0&&t.filter(e=>!!e.layoutId).forEach(e=>{const t={code:e.layoutType,name:(Object.values(Se["a"]).find(t=>t.code===e.layoutType)||{}).name||"",type:De["a"].Layout.code,active:!1,subControls:[],controlAttr:new Le(e)},n=t.controlAttr;n.gridColumnConfig=ue.parse(e.gridColumnConfig),n.desFormControls=[],n.subDesFormLayout=[],(null!=e.subDesFormLayout&&e.subDesFormLayout.length>0||null!=e.desFormControls&&e.desFormControls.length>0)&&(t.subControls=this.recursionFormatForm(e.desFormControls,e.subDesFormLayout)),o.push(t)}),o}sortControls(e){e.sort((e,t)=>{let o=0,n=0;return o=e.type===De["a"].Layout.code?Number(e.controlAttr.layoutOrder):Number(e.controlAttr.tableFieldOrder),n=t.type===De["a"].Layout.code?Number(t.controlAttr.layoutOrder):Number(t.controlAttr.tableFieldOrder),o-n}),e.forEach(e=>{null!=e.subControls&&e.subControls.length>0&&this.sortControls(e.subControls)})}loadResource(e){const t=this.desForms.find(t=>t.formId===e);return null!=t?ue.copy(t):new Me({formId:e})}fetch(e,t,o,n="GET",r,i=!1){return r=r||te.createBasicHeaders(),i?fetch(e).then(e=>e.json()):te.fetch(e,t,o,n,r)}validateTips(e,t){return je.validateTips(e,t)}createFileDownloadAuthorizationHeader(){return{headers:{"Content-Type":"application/json"},responseType:"blob"}}}d(Pe,"LOAD_SUCCESS",{code:1,msg:"加载成功"}),d(Pe,"LOAD_FAIL",{code:1,msg:"加载失败"}),d(Pe,"IS_FIRST_LOADED",!1);const He=new Pe;var Ae=o("e720");function Fe(e){const t=999999999999.99,o="零",n="壹",r="贰",i="叁",a="肆",l="伍",c="陆",s="柒",d="捌",u="玖",C="拾",Y="佰",M="仟",L="万",D="亿",S="",T="",m="点",Z="",h="",p="";let g,N,J,X,f,O,y,Q,b,B=[],j=[],P=[],H=[],A=[];e=void 0!=e?e.toString():"";let F="";if(null!=e&&0===e.indexOf("-")&&(F="负",e=e.substr(1)),""===e)return"空";if(null!=e.match(/[^,.\d]/))return"您的输入含有无效字符";if(null==e.match(/^((\d{1,3}(,\d{3})*(.((\d{3},)*\d{1,3}))?)|(\d+(.\d+)?))$/))return"您的输入的数字格式不正确";if(e=e.replace(/,/g,""),e=e.replace(/^0+/,""),Number(e)>t){let t=1e12;if(e.indexOf(".")>-1){const o=e.split(".")[1].length;for(let e=0;e<o;e++)t*=10;e=e.replace(".","")}return Number(e)/Number(t)+"万亿元"}if(B=e.split("."),B.length>1?(g=B[0],N=B[1],N=N.substr(0,2)):(g=B[0],N=""),j=[o,n,r,i,a,l,c,s,d,u],P=["",C,Y,M],H=["",L,D],A=[Z,h],J="",Number(g)>0)for(X=0,f=0;f<g.length;f++)O=g.length-f-1,y=g.substr(f,1),Q=O/4,b=O%4,"0"===y?X++:(X>0&&(J+=j[0]),X=0,J+=j[Number(y)]+P[b]),0===b&&X<4&&(J+=H[Q],X=0);else J=j[Number(g)];if(""!==N&&"0"!==N&&"00"!==N)for(J+=m,f=0;f<N.length;f++)y=N.substr(f,1),"0"!==y?J+=j[Number(y)]+A[f]:0===f&&(J+=j[Number(y)]);return""===J&&(J=o+T),""===N&&(J+=p),J=S+F+J,J}const Ee=e=>Fe(e);var Ie=Ee;class _e{constructor(e={}){d(this,"formFieldId",void 0),d(this,"formId",void 0),d(this,"layoutId",void 0),d(this,"boundProperty",void 0),d(this,"extendBoundPropertyOne",void 0),d(this,"extendBoundPropertyTwo",void 0),d(this,"formFieldDescribe",void 0),d(this,"controlType",void 0),d(this,"tableFieldOrder",void 0),d(this,"fieldDefaultValue",void 0),d(this,"titleWidth",void 0),d(this,"isBoldTitle",void 0),d(this,"isHideTitle",void 0),d(this,"titleColor",void 0),d(this,"placeholder",void 0),d(this,"tips",void 0),d(this,"isNotEdit",void 0),d(this,"bindingPrefix",void 0),d(this,"bindingSuffix",void 0),d(this,"builtInFrontLabel",void 0),d(this,"builtInPostLabel",void 0),d(this,"isHideControl",void 0),d(this,"isShowHoliday",void 0),d(this,"controlWidth",void 0),d(this,"isPasswordBox",void 0),d(this,"initRowHeight",void 0),d(this,"isFixedRowHeight",void 0),d(this,"formatType",void 0),d(this,"minValue",void 0),d(this,"maxValue",void 0),d(this,"step",void 0),d(this,"decimalPlaces",void 0),d(this,"thousandthPercentileFormat",void 0),d(this,"unit",void 0),d(this,"moneyUnit",void 0),d(this,"defineOptionalUnits",void 0),d(this,"defineOptionalUnitsDefault",void 0),d(this,"zoomType",void 0),d(this,"zoomMultiple",void 0),d(this,"isShowCapitalization",void 0),d(this,"isLineFeedDisplay",void 0),d(this,"isOptionType",void 0),d(this,"optionConfig",void 0),d(this,"dynamicOptionType",void 0),d(this,"generalDictionary",void 0),d(this,"generalDictionaryOptions",void 0),d(this,"treeShape",void 0),d(this,"treeShapeOptions",void 0),d(this,"disableNonLeafNodes",void 0),d(this,"dateFormat",void 0),d(this,"timeFormat",void 0),d(this,"isSupportMultiple",void 0),d(this,"maxUploadNumber",void 0),d(this,"limitSize",void 0),d(this,"supportUploadType",void 0),d(this,"customUploadType",void 0),d(this,"extendUploadType",void 0),d(this,"attachmentExtendProperties",void 0),d(this,"isMultipleChoice",void 0),d(this,"isSearchable",void 0),d(this,"canAddEntry",void 0),d(this,"isClearButton",void 0),d(this,"hiddenDropdown",void 0),d(this,"onOpeningValue",void 0),d(this,"whenClosedValue",void 0),d(this,"onOpeningText",void 0),d(this,"whenClosedText",void 0),d(this,"customFieldName",void 0),d(this,"textFold",void 0),d(this,"enableAutoComplete",void 0),d(this,"autoCompleteOptions",void 0),d(this,"verificationRules",void 0),d(this,"busAttr",void 0),d(this,"checkboxStyle",void 0),d(this,"itemWidth",void 0),d(this,"isTreeOpen",void 0),d(this,"changeOnSelect",void 0),d(this,"textareaRows",void 0),this.formFieldId=e.formFieldId||"",this.formId=e.formId||"",this.layoutId=e.layoutId||"",this.boundProperty=e.boundProperty||"",this.extendBoundPropertyOne=e.extendBoundPropertyOne||"",this.extendBoundPropertyTwo=e.extendBoundPropertyTwo||"",this.formFieldDescribe=e.formFieldDescribe||"",this.controlType=e.controlType||"",this.tableFieldOrder=e.tableFieldOrder||void 0,this.fieldDefaultValue=e.fieldDefaultValue||"",this.titleWidth=e.titleWidth||"",this.isBoldTitle=e.isBoldTitle||"",this.isHideTitle=e.isHideTitle||"",this.titleColor=e.titleColor||"",this.placeholder=e.placeholder||"",this.tips=e.tips||"",this.isNotEdit=e.isNotEdit||"",this.bindingPrefix=e.bindingPrefix||"",this.bindingSuffix=e.bindingSuffix||"",this.builtInFrontLabel=e.builtInFrontLabel||"",this.builtInPostLabel=e.builtInPostLabel||"",this.isHideControl=e.isHideControl||"",this.isShowHoliday=e.isShowHoliday||"",this.controlWidth=e.controlWidth||"",this.isPasswordBox=e.isPasswordBox||"",this.initRowHeight=e.initRowHeight||void 0,this.isFixedRowHeight=e.isFixedRowHeight||"",this.formatType=e.formatType||"",this.minValue=e.minValue||void 0,this.maxValue=e.maxValue||void 0,this.step=e.step||void 0,this.decimalPlaces=e.decimalPlaces||void 0,this.thousandthPercentileFormat=e.thousandthPercentileFormat||"",this.unit=e.unit||"",this.moneyUnit=e.moneyUnit||"",this.defineOptionalUnits=e.defineOptionalUnits||"",this.defineOptionalUnitsDefault=e.defineOptionalUnitsDefault||"",this.zoomType=e.zoomType||"",this.zoomMultiple=e.zoomMultiple||void 0,this.isShowCapitalization=e.isShowCapitalization||"",this.isLineFeedDisplay=e.isLineFeedDisplay||"",this.isOptionType=e.isOptionType||"",this.optionConfig=e.optionConfig||"",this.dynamicOptionType=e.dynamicOptionType||"",this.generalDictionary=e.generalDictionary||"",this.generalDictionaryOptions=e.generalDictionaryOptions||"",this.treeShape=e.treeShape||"",this.treeShapeOptions=e.treeShapeOptions||"",this.disableNonLeafNodes=e.disableNonLeafNodes||"",this.dateFormat=e.dateFormat||"",this.timeFormat=e.timeFormat||"",this.isSupportMultiple=e.isSupportMultiple||"",this.maxUploadNumber=e.maxUploadNumber||void 0,this.limitSize=e.limitSize||void 0,this.supportUploadType=e.supportUploadType||"",this.customUploadType=e.customUploadType,this.extendUploadType=e.extendUploadType||"",this.attachmentExtendProperties=e.attachmentExtendProperties||"",this.isMultipleChoice=e.isMultipleChoice||"",this.isSearchable=e.isSearchable||"",this.canAddEntry=e.canAddEntry||"",this.isClearButton=e.isClearButton||"",this.hiddenDropdown=e.hiddenDropdown||"",this.onOpeningValue=e.onOpeningValue||"",this.whenClosedValue=e.whenClosedValue||"",this.onOpeningText=e.onOpeningText||"",this.whenClosedText=e.whenClosedText||"",this.customFieldName=e.customFieldName||"",this.textFold=e.textFold||"",this.enableAutoComplete=e.enableAutoComplete||"",this.autoCompleteOptions=e.autoCompleteOptions||[],this.verificationRules=e.verificationRules,this.busAttr=e.busAttr,this.checkboxStyle=e.checkboxStyle||"",this.isTreeOpen=e.isTreeOpen||"",this.itemWidth=e.itemWidth||"",this.changeOnSelect=e.changeOnSelect||"",this.textareaRows=e.textareaRows||3}}class ve{constructor(){d(this,"value",void 0)}}var We=o("2804");class Ge extends ve{constructor(e){super(),d(this,"history",[]),d(this,"validates",[]),d(this,"textNoticeCallback",void 0),this.setValue(e)}setValue(e){this.value=e||void 0}get(e){return this}addValidate(e){let t=[];if(e instanceof Array?t=e:t.push(e),t&&t.length>0)for(let o=0;o<t.length;o++)if(t[o].name){const e=this.validates.findIndex(e=>e.name===t[o].name);e>-1?this.validates[e].validateFunc=t[o].validateFunc:this.validates.push(t[o])}}removeValidate(e){if(e){const t=this.validates.findIndex(t=>t.name===e);t>-1&&this.validates.splice(t,1)}}getValidate(e){return e?this.validates.find(t=>t.name===e):null}validate(e=this.value){for(let t=0;t<this.validates.length;t++){const o=this.validates[t].validateFunc(e);if(o&&o.validateStatus!==We["a"].Success.code)return o}return{validateStatus:We["a"].Success.code,errorMsg:null}}text(){return this.textNoticeCallback?this.textNoticeCallback():""}}class ke extends ve{constructor(e={}){super(),d(this,"controls",void 0),this.controls=e}addControl(e,t){this.controls[e]=t}removeControl(e){null!=this.controls[e]&&delete this.controls[e]}get(e){return"string"===typeof e?this.controls[e]:null}}var xe=o("5cf9");function ze(e,t){null==t&&(t=[]),null!=e&&(e.isOptionType===xe["a"].Fixed.code?e.optionConfig=t:e.isOptionType===xe["a"].Dynamic.code&&(e.dynamicOptionType===ge["a"].GeneralDictionary.code?e.generalDictionaryOptions=t:e.dynamicOptionType===ge["a"].TreeDictionary.code&&(e.treeShapeOptions=t)))}function Ke(e){if(null!=e){if(e.isOptionType===xe["a"].Fixed.code)return e.optionConfig||[];if(e.isOptionType===xe["a"].Dynamic.code){if(e.dynamicOptionType===ge["a"].GeneralDictionary.code)return e.generalDictionaryOptions||[];if(e.dynamicOptionType===ge["a"].TreeDictionary.code)return e.treeShapeOptions||[]}}return[]}const Re=(e,...t)=>Ke(e),we=(e,t)=>ze(e,t);var Ue=o("fbf2");function Ve(e,t){var o;const n=null===(o=Object(i["getCurrentInstance"])())||void 0===o?void 0:o.proxy,r=null===n||void 0===n?void 0:n.$mathjs;return e&&t.controlAttr.zoomMultiple&&(t.controlAttr.zoomType===Ue["a"].enlarge.code?e=r.format(r.evaluate(`${e} * ${t.controlAttr.zoomMultiple}`),{notation:"fixed"}):t.controlAttr.zoomType===Ue["a"].narrow.code?e=r.format(r.evaluate(`${e} / ${t.controlAttr.zoomMultiple}`),{notation:"fixed"}):t.controlAttr.zoomType===Ue["a"].automatic.code&&(e=r.format(r.evaluate(`${e} * ${t.controlAttr.zoomMultiple}`),{notation:"fixed"}))),"0"===String(t.value)&&(e=0),e}const $e=(e,t)=>Ve(e,t);var qe=$e;function et(e,t,o,n){if(null!=t&&Object.values(t).length>0)for(const r of Object.values(t))return r[o||"name"]||n;return n||""}const tt=(e,t,o,n)=>et(e,t,o,n);var ot=tt;const nt=["title"],rt={key:1};function it(e,t,o,n,r,a){return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{class:Object(i["normalizeClass"])(["lo-text-container",[{"lo-text-column":!e.unfold},{"lo-text-row":e.unfold}]])},[Object(i["createElementVNode"])("div",{class:Object(i["normalizeClass"])(["lo-text-box",{"lo-over":!e.ifOver},{"lo-over-hidden":!e.unfold},{"lo-unfold":e.ifOver&&!e.unfold}]),ref:"textBox"},[Object(i["createElementVNode"])("span",{class:"lo-text",ref:"spanBox",title:e.content},[e.linkList.indexOf(e.fieldKey)>-1?(Object(i["openBlock"])(),Object(i["createElementBlock"])("a",{key:0,href:"#",onClick:t[0]||(t[0]=t=>e.linkClick(e.content))},Object(i["toDisplayString"])(e.content),1)):(Object(i["openBlock"])(),Object(i["createElementBlock"])("span",rt,Object(i["toDisplayString"])(e.content),1))],8,nt)],2),e.ifOver?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{key:0,class:"lo-btn",onClick:t[1]||(t[1]=t=>e.unfold=!e.unfold)},Object(i["toDisplayString"])(e.unfold?"收起":"展开"),1)):Object(i["createCommentVNode"])("",!0)],2)}let at=class extends _["Vue"]{constructor(...e){super(...e),d(this,"ifOver",!1),d(this,"unfold",!1),d(this,"enableStretchText",void 0),d(this,"content",void 0),d(this,"fieldKey",void 0),d(this,"linkList",void 0),d(this,"spanBox",void 0),d(this,"textBox",void 0)}mounted(){this.onContentHandle()}linkClick(e){this.$emit("linkClick",e)}onContentHandle(){this.ifOver=this.spanBox.offsetHeight>this.textBox.offsetHeight}};Object(u["__decorate"])([Object(_["Prop"])({default:!1})],at.prototype,"enableStretchText",void 0),Object(u["__decorate"])([Object(_["Prop"])({default:""})],at.prototype,"content",void 0),Object(u["__decorate"])([Object(_["Prop"])({default:""})],at.prototype,"fieldKey",void 0),Object(u["__decorate"])([Object(_["Prop"])({type:Array,default:()=>[]})],at.prototype,"linkList",void 0),Object(u["__decorate"])([Object(_["Ref"])()],at.prototype,"spanBox",void 0),Object(u["__decorate"])([Object(_["Ref"])()],at.prototype,"textBox",void 0),Object(u["__decorate"])([Object(_["Watch"])("content")],at.prototype,"onContentHandle",null),at=Object(u["__decorate"])([Object(_["Options"])({name:"StretchText"})],at);var lt=at,ct=(o("e04f"),o("6b0d")),st=o.n(ct);const dt=st()(lt,[["render",it],["__scopeId","data-v-12085cfe"]]);var ut=dt,Ct=o("8db4"),Yt=o("6e85"),Mt=o.n(Yt),Lt=o("c124"),Dt=o.n(Lt);const St="YDYQSXMWZSSXJBYMGCCZQPSSQBYCDSCDQLDYLYBSSJGYZZJJFKCCLZDHWDWZJLJPFYYNWJJTMYHZWZHFLZPPQHGSCYYYNJQYXXGJHHSDSJNKKTMOMLCRXYPSNQSECCQZGGLLYJLMYZZSECYKYYHQWJSSGGYXYZYJWWKDJHYCHMYXJTLXJYQBYXZLDWRDJRWYSRLDZJPCBZJJBRCFTLECZSTZFXXZHTRQHYBDLYCZSSYMMRFMYQZPWWJJYFCRWFDFZQPYDDWYXKYJAWJFFXYPSFTZYHHYZYSWCJYXSCLCXXWZZXNBGNNXBXLZSZSBSGPYSYZDHMDZBQBZCWDZZYYTZHBTSYYBZGNTNXQYWQSKBPHHLXGYBFMJEBJHHGQTJCYSXSTKZHLYCKGLYSMZXYALMELDCCXGZYRJXSDLTYZCQKCNNJWHJTZZCQLJSTSTBNXBTYXCEQXGKWJYFLZQLYHYXSPSFXLMPBYSXXXYDJCZYLLLSJXFHJXPJBTFFYABYXBHZZBJYZLWLCZGGBTSSMDTJZXPTHYQTGLJSCQFZKJZJQNLZWLSLHDZBWJNCJZYZSQQYCQYRZCJJWYBRTWPYFTWEXCSKDZCTBZHYZZYYJXZCFFZZMJYXXSDZZOTTBZLQWFCKSZSXFYRLNYJMBDTHJXSQQCCSBXYYTSYFBXDZTGBCNSLCYZZPSAZYZZSCJCSHZQYDXLBPJLLMQXTYDZXSQJTZPXLCGLQTZWJBHCTSYJSFXYEJJTLBGXSXJMYJQQPFZASYJNTYDJXKJCDJSZCBARTDCLYJQMWNQNCLLLKBYBZZSYHQQLTWLCCXTXLLZNTYLNEWYZYXCZXXGRKRMTCNDNJTSYYSSDQDGHSDBJGHRWRQLYBGLXHLGTGXBQJDZPYJSJYJCTMRNYMGRZJCZGJMZMGXMPRYXKJNYMSGMZJYMKMFXMLDTGFBHCJHKYLPFMDXLQJJSMTQGZSJLQDLDGJYCALCMZCSDJLLNXDJFFFFJCZFMZFFPFKHKGDPSXKTACJDHHZDDCRRCFQYJKQCCWJDXHWJLYLLZGCFCQDSMLZPBJJPLSBCJGGDCKKDEZSQCCKJGCGKDJTJDLZYCXKLQSCGJCLTFPCQCZGWPJDQYZJJBYJHSJDZWGFSJGZKQCCZLLPSPKJGQJHZZLJPLGJGJJTHJJYJZCZMLZLYQBGJWMLJKXZDZNJQSYZMLJLLJKYWXMKJLHSKJGBMCLYYMKXJQLBMLLKMDXXKWYXYSLMLPSJQQJQXYXFJTJDXMXXLLCXQBSYJBGWYMBGGBCYXPJYGPEPFGDJGBHBNSQJYZJKJKHXQFGQZKFHYGKHDKLLSDJQXPQYKYBNQSXQNSZSWHBSXWHXWBZZXDMNSJBSBKBBZKLYLXGWXDRWYQZMYWSJQLCJXXJXKJEQXSCYETLZHLYYYSDZPAQYZCMTLSHTZCFYZYXYLJSDCJQAGYSLCQLYYYSHMRQQKLDXZSCSSSYDYCJYSFSJBFRSSZQSBXXPXJYSDRCKGJLGDKZJZBDKTCSYQPYHSTCLDJDHMXMCGXYZHJDDTMHLTXZXYLYMOHYJCLTYFBQQXPFBDFHHTKSQHZYYWCNXXCRWHOWGYJLEGWDQCWGFJYCSNTMYTOLBYGWQWESJPWNMLRYDZSZTXYQPZGCWXHNGPYXSHMYQJXZTDPPBFYHZHTJYFDZWKGKZBLDNTSXHQEEGZZYLZMMZYJZGXZXKHKSTXNXXWYLYAPSTHXDWHZYMPXAGKYDXBHNHXKDPJNMYHYLPMGOCSLNZHKXXLPZZLBMLSFBHHGYGYYGGBHSCYAQTYWLXTZQCEZYDQDQMMHTKLLSZHLSJZWFYHQSWSCWLQAZYNYTLSXTHAZNKZZSZZLAXXZWWCTGQQTDDYZTCCHYQZFLXPSLZYGPZSZNGLNDQTBDLXGTCTAJDKYWNSYZLJHHZZCWNYYZYWMHYCHHYXHJKZWSXHZYXLYSKQYSPSLYZWMYPPKBYGLKZHTYXAXQSYSHXASMCHKDSCRSWJPWXSGZJLWWSCHSJHSQNHCSEGNDAQTBAALZZMSSTDQJCJKTSCJAXPLGGXHHGXXZCXPDMMHLDGTYBYSJMXHMRCPXXJZCKZXSHMLQXXTTHXWZFKHCCZDYTCJYXQHLXDHYPJQXYLSYYDZOZJNYXQEZYSQYAYXWYPDGXDDXSPPYZNDLTWRHXYDXZZJHTCXMCZLHPYYYYMHZLLHNXMYLLLMDCPPXHMXDKYCYRDLTXJCHHZZXZLCCLYLNZSHZJZZLNNRLWHYQSNJHXYNTTTKYJPYCHHYEGKCTTWLGQRLGGTGTYGYHPYHYLQYQGCWYQKPYYYTTTTLHYHLLTYTTSPLKYZXGZWGPYDSSZZDQXSKCQNMJJZZBXYQMJRTFFBTKHZKBXLJJKDXJTLBWFZPPTKQTZTGPDGNTPJYFALQMKGXBDCLZFHZCLLLLADPMXDJHLCCLGYHDZFGYDDGCYYFGYDXKSSEBDHYKDKDKHNAXXYBPBYYHXZQGAFFQYJXDMLJCSQZLLPCHBSXGJYNDYBYQSPZWJLZKSDDTACTBXZDYZYPJZQSJNKKTKNJDJGYYPGTLFYQKASDNTCYHBLWDZHBBYDWJRYGKZYHEYYFJMSDTYFZJJHGCXPLXHLDWXXJKYTCYKSSSMTWCTTQZLPBSZDZWZXGZAGYKTYWXLHLSPBCLLOQMMZSSLCMBJCSZZKYDCZJGQQDSMCYTZQQLWZQZXSSFPTTFQMDDZDSHDTDWFHTDYZJYQJQKYPBDJYYXTLJHDRQXXXHAYDHRJLKLYTWHLLRLLRCXYLBWSRSZZSYMKZZHHKYHXKSMDSYDYCJPBZBSQLFCXXXNXKXWYWSDZYQOGGQMMYHCDZTTFJYYBGSTTTYBYKJDHKYXBELHTYPJQNFXFDYKZHQKZBYJTZBXHFDXKDASWTAWAJLDYJSFHBLDNNTNQJTJNCHXFJSRFWHZFMDRYJYJWZPDJKZYJYMPCYZNYNXFBYTFYFWYGDBNZZZDNYTXZEMMQBSQEHXFZMBMFLZZSRXYMJGSXWZJSPRYDJSJGXHJJGLJJYNZZJXHGXKYMLPYYYCXYTWQZSWHWLYRJLPXSLSXMFSWWKLCTNXNYNPSJSZHDZEPTXMYYWXYYSYWLXJQZQXZDCLEEELMCPJPCLWBXSQHFWWTFFJTNQJHJQDXHWLBYZNFJLALKYYJLDXHHYCSTYYWNRJYXYWTRMDRQHWQCMFJDYZMHMYYXJWMYZQZXTLMRSPWWCHAQBXYGZYPXYYRRCLMPYMGKSJSZYSRMYJSNXTPLNBAPPYPYLXYYZKYNLDZYJZCZNNLMZHHARQMPGWQTZMXXMLLHGDZXYHXKYXYCJMFFYYHJFSBSSQLXXNDYCANNMTCJCYPRRNYTYQNYYMBMSXNDLYLYSLJRLXYSXQMLLYZLZJJJKYZZCSFBZXXMSTBJGNXYZHLXNMCWSCYZYFZLXBRNNNYLBNRTGZQYSATSWRYHYJZMZDHZGZDWYBSSCSKXSYHYTXXGCQGXZZSHYXJSCRHMKKBXCZJYJYMKQHZJFNBHMQHYSNJNZYBKNQMCLGQHWLZNZSWXKHLJHYYBQLBFCDSXDLDSPFZPSKJYZWZXZDDXJSMMEGJSCSSMGCLXXKYYYLNYPWWWGYDKZJGGGZGGSYCKNJWNJPCXBJJTQTJWDSSPJXZXNZXUMELPXFSXTLLXCLJXJJLJZXCTPSWXLYDHLYQRWHSYCSQYYBYAYWJJJQFWQCQQCJQGXALDBZZYJGKGXPLTZYFXJLTPADKYQHPMATLCPDCKBMTXYBHKLENXDLEEGQDYMSAWHZMLJTWYGXLYQZLJEEYYBQQFFNLYXRDSCTGJGXYYNKLLYQKCCTLHJLQMKKZGCYYGLLLJDZGYDHZWXPYSJBZKDZGYZZHYWYFQYTYZSZYEZZLYMHJJHTSMQWYZLKYYWZCSRKQYTLTDXWCTYJKLWSQZWBDCQYNCJSRSZJLKCDCDTLZZZACQQZZDDXYPLXZBQJYLZLLLQDDZQJYJYJZYXNYYYNYJXKXDAZWYRDLJYYYRJLXLLDYXJCYWYWNQCCLDDNYYYNYCKCZHXXCCLGZQJGKWPPCQQJYSBZZXYJSQPXJPZBSBDSFNSFPZXHDWZTDWPPTFLZZBZDMYYPQJRSDZSQZSQXBDGCPZSWDWCSQZGMDHZXMWWFYBPDGPHTMJTHZSMMBGZMBZJCFZWFZBBZMQCFMBDMCJXLGPNJBBXGYHYYJGPTZGZMQBQTCGYXJXLWZKYDPDYMGCFTPFXYZTZXDZXTGKMTYBBCLBJASKYTSSQYYMSZXFJEWLXLLSZBQJJJAKLYLXLYCCTSXMCWFKKKBSXLLLLJYXTYLTJYYTDPJHNHNNKBYQNFQYYZBYYESSESSGDYHFHWTCJBSDZZTFDMXHCNJZYMQWSRYJDZJQPDQBBSTJGGFBKJBXTGQHNGWJXJGDLLTHZHHYYYYYYSXWTYYYCCBDBPYPZYCCZYJPZYWCBDLFWZCWJDXXHYHLHWZZXJTCZLCDPXUJCZZZLYXJJTXPHFXWPYWXZPTDZZBDZCYHJHMLXBQXSBYLRDTGJRRCTTTHYTCZWMXFYTWWZCWJWXJYWCSKYBZSCCTZQNHXNWXXKHKFHTSWOCCJYBCMPZZYKBNNZPBZHHZDLSYDDYTYFJPXYNGFXBYQXCBHXCPSXTYZDMKYSNXSXLHKMZXLYHDHKWHXXSSKQYHHCJYXGLHZXCSNHEKDTGZXQYPKDHEXTYKCNYMYYYPKQYYYKXZLTHJQTBYQHXBMYHSQCKWWYLLHCYYLNNEQXQWMCFBDCCMLJGGXDQKTLXKGNQCDGZJWYJJLYHHQTTTNWCHMXCXWHWSZJYDJCCDBQCDGDNYXZTHCQRXCBHZTQCBXWGQWYYBXHMBYMYQTYEXMQKYAQYRGYZSLFYKKQHYSSQYSHJGJCNXKZYCXSBXYXHYYLSTYCXQTHYSMGSCPMMGCCCCCMTZTASMGQZJHKLOSQYLSWTMXSYQKDZLJQQYPLSYCZTCQQPBBQJZCLPKHQZYYXXDTDDTSJCXFFLLCHQXMJLWCJCXTSPYCXNDTJSHJWXDQQJSKXYAMYLSJHMLALYKXCYYDMNMDQMXMCZNNCYBZKKYFLMCHCMLHXRCJJHSYLNMTJZGZGYWJXSRXCWJGJQHQZDQJDCJJZKJKGDZQGJJYJYLXZXXCDQHHHEYTMHLFSBDJSYYSHFYSTCZQLPBDRFRZTZYKYWHSZYQKWDQZRKMSYNBCRXQBJYFAZPZZEDZCJYWBCJWHYJBQSZYWRYSZPTDKZPFPBNZTKLQYHBBZPNPPTYZZYBQNYDCPJMMCYCQMCYFZZDCMNLFPBPLNGQJTBTTNJZPZBBZNJKLJQYLNBZQHKSJZNGGQSZZKYXSHPZSNBCGZKDDZQANZHJKDRTLZLSWJLJZLYWTJNDJZJHXYAYNCBGTZCSSQMNJPJYTYSWXZFKWJQTKHTZPLBHSNJZSYZBWZZZZLSYLSBJHDWWQPSLMMFBJDWAQYZTCJTBNNWZXQXCDSLQGDSDPDZHJTQQPSWLYYJZLGYXYZLCTCBJTKTYCZJTQKBSJLGMGZDMCSGPYNJZYQYYKNXRPWSZXMTNCSZZYXYBYHYZAXYWQCJTLLCKJJTJHGDXDXYQYZZBYWDLWQCGLZGJGQRQZCZSSBCRPCSKYDZNXJSQGXSSJMYDNSTZTPBDLTKZWXQWQTZEXNQCZGWEZKSSBYBRTSSSLCCGBPSZQSZLCCGLLLZXHZQTHCZMQGYZQZNMCOCSZJMMZSQPJYGQLJYJPPLDXRGZYXCCSXHSHGTZNLZWZKJCXTCFCJXLBMQBCZZWPQDNHXLJCTHYZLGYLNLSZZPCXDSCQQHJQKSXZPBAJYEMSMJTZDXLCJYRYYNWJBNGZZTMJXLTBSLYRZPYLSSCNXPHLLHYLLQQZQLXYMRSYCXZLMMCZLTZSDWTJJLLNZGGQXPFSKYGYGHBFZPDKMWGHCXMSGDXJMCJZDYCABXJDLNBCDQYGSKYDQTXDJJYXMSZQAZDZFSLQXYJSJZYLBTXXWXQQZBJZUFBBLYLWDSLJHXJYZJWTDJCZFQZQZZDZSXZZQLZCDZFJHYSPYMPQZMLPPLFFXJJNZZYLSJEYQZFPFZKSYWJJJHRDJZZXTXXGLGHYDXCSKYSWMMZCWYBAZBJKSHFHJCXMHFQHYXXYZFTSJYZFXYXPZLCHMZMBXHZZSXYFYMNCWDABAZLXKTCSHHXKXJJZJSTHYGXSXYYHHHJWXKZXSSBZZWHHHCWTZZZPJXSNXQQJGZYZYWLLCWXZFXXYXYHXMKYYSWSQMNLNAYCYSPMJKHWCQHYLAJJMZXHMMCNZHBHXCLXTJPLTXYJHDYYLTTXFSZHYXXSJBJYAYRSMXYPLCKDUYHLXRLNLLSTYZYYQYGYHHSCCSMZCTZQXKYQFPYYRPFFLKQUNTSZLLZMWWTCQQYZWTLLMLMPWMBZSSTZRBPDDTLQJJBXZCSRZQQYGWCSXFWZLXCCRSZDZMCYGGDZQSGTJSWLJMYMMZYHFBJDGYXCCPSHXNZCSBSJYJGJMPPWAFFYFNXHYZXZYLREMZGZCYZSSZDLLJCSQFNXZKPTXZGXJJGFMYYYSNBTYLBNLHPFZDCYFBMGQRRSSSZXYSGTZRNYDZZCDGPJAFJFZKNZBLCZSZPSGCYCJSZLMLRSZBZZLDLSLLYSXSQZQLYXZLSKKBRXBRBZCYCXZZZEEYFGKLZLYYHGZSGZLFJHGTGWKRAAJYZKZQTSSHJJXDCYZUYJLZYRZDQQHGJZXSSZBYKJPBFRTJXLLFQWJHYLQTYMBLPZDXTZYGBDHZZRBGXHWNJTJXLKSCFSMWLSDQYSJTXKZSCFWJLBXFTZLLJZLLQBLSQMQQCGCZFPBPHZCZJLPYYGGDTGWDCFCZQYYYQYSSCLXZSKLZZZGFFCQNWGLHQYZJJCZLQZZYJPJZZBPDCCMHJGXDQDGDLZQMFGPSYTSDYFWWDJZJYSXYYCZCYHZWPBYKXRYLYBHKJKSFXTZJMMCKHLLTNYYMSYXYZPYJQYCSYCWMTJJKQYRHLLQXPSGTLYYCLJSCPXJYZFNMLRGJJTYZBXYZMSJYJHHFZQMSYXRSZCWTLRTQZSSTKXGQKGSPTGCZNJSJCQCXHMXGGZTQYDJKZDLBZSXJLHYQGGGTHQSZPYHJHHGYYGKGGCWJZZYLCZLXQSFTGZSLLLMLJSKCTBLLZZSZMMNYTPZSXQHJCJYQXYZXZQZCPSHKZZYSXCDFGMWQRLLQXRFZTLYSTCTMJCXJJXHJNXTNRZTZFQYHQGLLGCXSZSJDJLJCYDSJTLNYXHSZXCGJZYQPYLFHDJSBPCCZHJJJQZJQDYBSSLLCMYTTMQTBHJQNNYGKYRQYQMZGCJKPDCGMYZHQLLSLLCLMHOLZGDYYFZSLJCQZLYLZQJESHNYLLJXGJXLYSYYYXNBZLJSSZCQQCJYLLZLTJYLLZLLBNYLGQCHXYYXOXCXQKYJXXXYKLXSXXYQXCYKQXQCSGYXXYQXYGYTQOHXHXPYXXXULCYEYCHZZCBWQBBWJQZSCSZSSLZYLKDESJZWMYMCYTSDSXXSCJPQQSQYLYYZYCMDJDZYWCBTJSYDJKCYDDJLBDJJSODZYSYXQQYXDHHGQQYQHDYXWGMMMAJDYBBBPPBCMUUPLJZSMTXERXJMHQNUTPJDCBSSMSSSTKJTSSMMTRCPLZSZMLQDSDMJMQPNQDXCFYNBFSDQXYXHYAYKQYDDLQYYYSSZBYDSLNTFQTZQPZMCHDHCZCWFDXTMYQSPHQYYXSRGJCWTJTZZQMGWJJTJHTQJBBHWZPXXHYQFXXQYWYYHYSCDYDHHQMNMTMWCPBSZPPZZGLMZFOLLCFWHMMSJZTTDHZZYFFYTZZGZYSKYJXQYJZQBHMBZZLYGHGFMSHPZFZSNCLPBQSNJXZSLXXFPMTYJYGBXLLDLXPZJYZJYHHZCYWHJYLSJEXFSZZYWXKZJLUYDTMLYMQJPWXYHXSKTQJEZRPXXZHHMHWQPWQLYJJQJJZSZCPHJLCHHNXJLQWZJHBMZYXBDHHYPZLHLHLGFWLCHYYTLHJXCJMSCPXSTKPNHQXSRTYXXTESYJCTLSSLSTDLLLWWYHDHRJZSFGXTSYCZYNYHTDHWJSLHTZDQDJZXXQHGYLTZPHCSQFCLNJTCLZPFSTPDYNYLGMJLLYCQHYSSHCHYLHQYQTMZYPBYWRFQYKQSYSLZDQJMPXYYSSRHZJNYWTQDFZBWWTWWRXCWHGYHXMKMYYYQMSMZHNGCEPMLQQMTCWCTMMPXJPJJHFXYYZSXZHTYBMSTSYJTTQQQYYLHYNPYQZLCYZHZWSMYLKFJXLWGXYPJYTYSYXYMZCKTTWLKSMZSYLMPWLZWXWQZSSAQSYXYRHSSNTSRAPXCPWCMGDXHXZDZYFJHGZTTSBJHGYZSZYSMYCLLLXBTYXHBBZJKSSDMALXHYCFYGMQYPJYCQXJLLLJGSLZGQLYCJCCZOTYXMTMTTLLWTGPXYMZMKLPSZZZXHKQYSXCTYJZYHXSHYXZKXLZWPSQPYHJWPJPWXQQYLXSDHMRSLZZYZWTTCYXYSZZSHBSCCSTPLWSSCJCHNLCGCHSSPHYLHFHHXJSXYLLNYLSZDHZXYLSXLWZYKCLDYAXZCMDDYSPJTQJZLNWQPSSSWCTSTSZLBLNXSMNYYMJQBQHRZWTYYDCHQLXKPZWBGQYBKFCMZWPZLLYYLSZYDWHXPSBCMLJBSCGBHXLQHYRLJXYSWXWXZSLDFHLSLYNJLZYFLYJYCDRJLFSYZFSLLCQYQFGJYHYXZLYLMSTDJCYHBZLLNWLXXYGYYHSMGDHXXHHLZZJZXCZZZCYQZFNGWPYLCPKPYYPMCLQKDGXZGGWQBDXZZKZFBXXLZXJTPJPTTBYTSZZDWSLCHZHSLTYXHQLHYXXXYYZYSWTXZKHLXZXZPYHGCHKCFSYHUTJRLXFJXPTZTWHPLYXFCRHXSHXKYXXYHZQDXQWULHYHMJTBFLKHTXCWHJFWJCFPQRYQXCYYYQYGRPYWSGSUNGWCHKZDXYFLXXHJJBYZWTSXXNCYJJYMSWZJQRMHXZWFQSYLZJZGBHYNSLBGTTCSYBYXXWXYHXYYXNSQYXMQYWRGYQLXBBZLJSYLPSYTJZYHYZAWLRORJMKSCZJXXXYXCHDYXRYXXJDTSQFXLYLTSFFYXLMTYJMJUYYYXLTZCSXQZQHZXLYYXZHDNBRXXXJCTYHLBRLMBRLLAXKYLLLJLYXXLYCRYLCJTGJCMTLZLLCYZZPZPCYAWHJJFYBDYYZSMPCKZDQYQPBPCJPDCYZMDPBCYYDYCNNPLMTMLRMFMMGWYZBSJGYGSMZQQQZTXMKQWGXLLPJGZBQCDJJJFPKJKCXBLJMSWMDTQJXLDLPPBXCWRCQFBFQJCZAHZGMYKPHYYHZYKNDKZMBPJYXPXYHLFPNYYGXJDBKXNXHJMZJXSTRSTLDXSKZYSYBZXJLXYSLBZYSLHXJPFXPQNBYLLJQKYGZMCYZZYMCCSLCLHZFWFWYXZMWSXTYNXJHPYYMCYSPMHYSMYDYSHQYZCHMJJMZCAAGCFJBBHPLYZYLXXSDJGXDHKXXTXXNBHRMLYJSLTXMRHNLXQJXYZLLYSWQGDLBJHDCGJYQYCMHWFMJYBMBYJYJWYMDPWHXQLDYGPDFXXBCGJSPCKRSSYZJMSLBZZJFLJJJLGXZGYXYXLSZQYXBEXYXHGCXBPLDYHWETTWWCJMBTXCHXYQXLLXFLYXLLJLSSFWDPZSMYJCLMWYTCZPCHQEKCQBWLCQYDPLQPPQZQFJQDJHYMMCXTXDRMJWRHXCJZYLQXDYYNHYYHRSLSRSYWWZJYMTLTLLGTQCJZYABTCKZCJYCCQLJZQXALMZYHYWLWDXZXQDLLQSHGPJFJLJHJABCQZDJGTKHSSTCYJLPSWZLXZXRWGLDLZRLZXTGSLLLLZLYXXWGDZYGBDPHZPBRLWSXQBPFDWOFMWHLYPCBJCCLDMBZPBZZLCYQXLDOMZBLZWPDWYYGDSTTHCSQSCCRSSSYSLFYBFNTYJSZDFNDPDHDZZMBBLSLCMYFFGTJJQWFTMTPJWFNLBZCMMJTGBDZLQLPYFHYYMJYLSDCHDZJWJCCTLJCLDTLJJCPDDSQDSSZYBNDBJLGGJZXSXNLYCYBJXQYCBYLZCFZPPGKCXZDZFZTJJFJSJXZBNZYJQTTYJYHTYCZHYMDJXTTMPXSPLZCDWSLSHXYPZGTFMLCJTYCBPMGDKWYCYZCDSZZYHFLYCTYGWHKJYYLSJCXGYWJCBLLCSNDDBTZBSCLYZCZZSSQDLLMQYYHFSLQLLXFTYHABXGWNYWYYPLLSDLDLLBJCYXJZMLHLJDXYYQYTDLLLBUGBFDFBBQJZZMDPJHGCLGMJJPGAEHHBWCQXAXHHHZCHXYPHJAXHLPHJPGPZJQCQZGJJZZUZDMQYYBZZPHYHYBWHAZYJHYKFGDPFQSDLZMLJXKXGALXZDAGLMDGXMWZQYXXDXXPFDMMSSYMPFMDMMKXKSYZYSHDZKXSYSMMZZZMSYDNZZCZXFPLSTMZDNMXCKJMZTYYMZMZZMSXHHDCZJEMXXKLJSTLWLSQLYJZLLZJSSDPPMHNLZJCZYHMXXHGZCJMDHXTKGRMXFWMCGMWKDTKSXQMMMFZZYDKMSCLCMPCGMHSPXQPZDSSLCXKYXTWLWJYAHZJGZQMCSNXYYMMPMLKJXMHLMLQMXCTKZMJQYSZJSYSZHSYJZJCDAJZYBSDQJZGWZQQXFKDMSDJLFWEHKZQKJPEYPZYSZCDWYJFFMZZYLTTDZZEFMZLBNPPLPLPEPSZALLTYLKCKQZKGENQLWAGYXYDPXLHSXQQWQCQXQCLHYXXMLYCCWLYMQYSKGCHLCJNSZKPYZKCQZQLJPDMDZHLASXLBYDWQLWDNBQCRYDDZTJYBKBWSZDXDTNPJDTCTQDFXQQMGNXECLTTBKPWSLCTYQLPWYZZKLPYGZCQQPLLKCCYLPQMZCZQCLJSLQZDJXLDDHPZQDLJJXZQDXYZQKZLJCYQDYJPPYPQYKJYRMPCBYMCXKLLZLLFQPYLLLMBSGLCYSSLRSYSQTMXYXZQZFDZUYSYZTFFMZZSMZQHZSSCCMLYXWTPZGXZJGZGSJSGKDDHTQGGZLLBJDZLCBCHYXYZHZFYWXYZYMSDBZZYJGTSMTFXQYXQSTDGSLNXDLRYZZLRYYLXQHTXSRTZNGZXBNQQZFMYKMZJBZYMKBPNLYZPBLMCNQYZZZSJZHJCTZKHYZZJRDYZHNPXGLFZTLKGJTCTSSYLLGZRZBBQZZKLPKLCZYSSUYXBJFPNJZZXCDWXZYJXZZDJJKGGRSRJKMSMZJLSJYWQSKYHQJSXPJZZZLSNSHRNYPZTWCHKLPSRZLZXYJQXQKYSJYCZTLQZYBBYBWZPQDWWYZCYTJCJXCKCWDKKZXSGKDZXWWYYJQYYTCYTDLLXWKCZKKLCCLZCQQDZLQLCSFQCHQHSFSMQZZLNBJJZBSJHTSZDYSJQJPDLZCDCWJKJZZLPYCGMZWDJJBSJQZSYZYHHXJPBJYDSSXDZNCGLQMBTSFSBPDZDLZNFGFJGFSMPXJQLMBLGQCYYXBQKDJJQYRFKZTJDHCZKLBSDZCFJTPLLJGXHYXZCSSZZXSTJYGKGCKGYOQXJPLZPBPGTGYJZGHZQZZLBJLSQFZGKQQJZGYCZBZQTLDXRJXBSXXPZXHYZYCLWDXJJHXMFDZPFZHQHQMQGKSLYHTYCGFRZGNQXCLPDLBZCSCZQLLJBLHBZCYPZZPPDYMZZSGYHCKCPZJGSLJLNSCDSLDLXBMSTLDDFJMKDJDHZLZXLSZQPQPGJLLYBDSZGQLBZLSLKYYHZTTNTJYQTZZPSZQZTLLJTYYLLQLLQYZQLBDZLSLYYZYMDFSZSNHLXZNCZQZPBWSKRFBSYZMTHBLGJPMCZZLSTLXSHTCSYZLZBLFEQHLXFLCJLYLJQCBZLZJHHSSTBRMHXZHJZCLXFNBGXGTQJCZTMSFZKJMSSNXLJKBHSJXNTNLZDNTLMSJXGZJYJCZXYJYJWRWWQNZTNFJSZPZSHZJFYRDJSFSZJZBJFZQZZHZLXFYSBZQLZSGYFTZDCSZXZJBQMSZKJRHYJZCKMJKHCHGTXKXQGLXPXFXTRTYLXJXHDTSJXHJZJXZWZLCQSBTXWXGXTXXHXFTSDKFJHZYJFJXRZSDLLLTQSQQZQWZXSYQTWGWBZCGZLLYZBCLMQQTZHZXZXLJFRMYZFLXYSQXXJKXRMQDZDMMYYBSQBHGZMWFWXGMXLZPYYTGZYCCDXYZXYWGSYJYZNBHPZJSQSYXSXRTFYZGRHZTXSZZTHCBFCLSYXZLZQMZLMPLMXZJXSFLBYZMYQHXJSXRXSQZZZSSLYFRCZJRCRXHHZXQYDYHXSJJHZCXZBTYNSYSXJBQLPXZQPYMLXZKYXLXCJLCYSXXZZLXDLLLJJYHZXGYJWKJRWYHCPSGNRZLFZWFZZNSXGXFLZSXZZZBFCSYJDBRJKRDHHGXJLJJTGXJXXSTJTJXLYXQFCSGSWMSBCTLQZZWLZZKXJMLTMJYHSDDBXGZHDLBMYJFRZFSGCLYJBPMLYSMSXLSZJQQHJZFXGFQFQBPXZGYYQXGZTCQWYLTLGWSGWHRLFSFGZJMGMGBGTJFSYZZGZYZAFLSSPMLPFLCWBJZCLJJMZLPJJLYMQDMYYYFBGYGYZMLYZDXQYXRQQQHSYYYQXYLJTYXFSFSLLGNQCYHYCWFHCCCFXPYLYPLLZYXXXXXKQHHXSHJZCFZSCZJXCPZWHHHHHAPYLQALPQAFYHXDYLUKMZQGGGDDESRNNZLTZGCHYPPYSQJJHCLLJTOLNJPZLJLHYMHEYDYDSQYCDDHGZUNDZCLZYZLLZNTNYZGSLHSLPJJBDGWXPCDUTJCKLKCLWKLLCASSTKZZDNQNTTLYYZSSYSSZZRYLJQKCQDHHCRXRZYDGRGCWCGZQFFFPPJFZYNAKRGYWYQPQXXFKJTSZZXSWZDDFBBXTBGTZKZNPZZPZXZPJSZBMQHKCYXYLDKLJNYPKYGHGDZJXXEAHPNZKZTZCMXCXMMJXNKSZQNMNLWBWWXJKYHCPSTMCSQTZJYXTPCTPDTNNPGLLLZSJLSPBLPLQHDTNJNLYYRSZFFJFQWDPHZDWMRZCCLODAXNSSNYZRESTYJWJYJDBCFXNMWTTBYLWSTSZGYBLJPXGLBOCLHPCBJLTMXZLJYLZXCLTPNCLCKXTPZJSWCYXSFYSZDKNTLBYJCYJLLSTGQCBXRYZXBXKLYLHZLQZLNZCXWJZLJZJNCJHXMNZZGJZZXTZJXYCYYCXXJYYXJJXSSSJSTSSTTPPGQTCSXWZDCSYFPTFBFHFBBLZJCLZZDBXGCXLQPXKFZFLSYLTUWBMQJHSZBMDDBCYSCCLDXYCDDQLYJJWMQLLCSGLJJSYFPYYCCYLTJANTJJPWYCMMGQYYSXDXQMZHSZXPFTWWZQSWQRFKJLZJQQYFBRXJHHFWJJZYQAZMYFRHCYYBYQWLPEXCCZSTYRLTTDMQLYKMBBGMYYJPRKZNPBSXYXBHYZDJDNGHPMFSGMWFZMFQMMBCMZZCJJLCNUXYQLMLRYGQZCYXZLWJGCJCGGMCJNFYZZJHYCPRRCMTZQZXHFQGTJXCCJEAQCRJYHPLQLSZDJRBCQHQDYRHYLYXJSYMHZYDWLDFRYHBPYDTSSCNWBXGLPZMLZZTQSSCPJMXXYCSJYTYCGHYCJWYRXXLFEMWJNMKLLSWTXHYYYNCMMCWJDQDJZGLLJWJRKHPZGGFLCCSCZMCBLTBHBQJXQDSPDJZZGKGLFQYWBZYZJLTSTDHQHCTCBCHFLQMPWDSHYYTQWCNZZJTLBYMBPDYYYXSQKXWYYFLXXNCWCXYPMAELYKKJMZZZBRXYYQJFLJPFHHHYTZZXSGQQMHSPGDZQWBWPJHZJDYSCQWZKTXXSQLZYYMYSDZGRXCKKUJLWPYSYSCSYZLRMLQSYLJXBCXTLWDQZPCYCYKPPPNSXFYZJJRCEMHSZMSXLXGLRWGCSTLRSXBZGBZGZTCPLUJLSLYLYMTXMTZPALZXPXJTJWTCYYZLBLXBZLQMYLXPGHDSLSSDMXMBDZZSXWHAMLCZCPJMCNHJYSNSYGCHSKQMZZQDLLKABLWJXSFMOCDXJRRLYQZKJMYBYQLYHETFJZFRFKSRYXFJTWDSXXSYSQJYSLYXWJHSNLXYYXHBHAWHHJZXWMYLJCSSLKYDZTXBZSYFDXGXZJKHSXXYBSSXDPYNZWRPTQZCZENYGCXQFJYKJBZMLJCMQQXUOXSLYXXLYLLJDZBTYMHPFSTTQQWLHOKYBLZZALZXQLHZWRRQHLSTMYPYXJJXMQSJFNBXYXYJXXYQYLTHYLQYFMLKLJTMLLHSZWKZHLJMLHLJKLJSTLQXYLMBHHLNLZXQJHXCFXXLHYHJJGBYZZKBXSCQDJQDSUJZYYHZHHMGSXCSYMXFEBCQWWRBPYYJQTYZCYQYQQZYHMWFFHGZFRJFCDPXNTQYZPDYKHJLFRZXPPXZDBBGZQSTLGDGYLCQMLCHHMFYWLZYXKJLYPQHSYWMQQGQZMLZJNSQXJQSYJYCBEHSXFSZPXZWFLLBCYYJDYTDTHWZSFJMQQYJLMQXXLLDTTKHHYBFPWTYYSQQWNQWLGWDEBZWCMYGCULKJXTMXMYJSXHYBRWFYMWFRXYQMXYSZTZZTFYKMLDHQDXWYYNLCRYJBLPSXCXYWLSPRRJWXHQYPHTYDNXHHMMYWYTZCSQMTSSCCDALWZTCPQPYJLLQZYJSWXMZZMMYLMXCLMXCZMXMZSQTZPPQQBLPGXQZHFLJJHYTJSRXWZXSCCDLXTYJDCQJXSLQYCLZXLZZXMXQRJMHRHZJBHMFLJLMLCLQNLDXZLLLPYPSYJYSXCQQDCMQJZZXHNPNXZMEKMXHYKYQLXSXTXJYYHWDCWDZHQYYBGYBCYSCFGPSJNZDYZZJZXRZRQJJYMCANYRJTLDPPYZBSTJKXXZYPFDWFGZZRPYMTNGXZQBYXNBUFNQKRJQZMJEGRZGYCLKXZDSKKNSXKCLJSPJYYZLQQJYBZSSQLLLKJXTBKTYLCCDDBLSPPFYLGYDTZJYQGGKQTTFZXBDKTYYHYBBFYTYYBCLPDYTGDHRYRNJSPTCSNYJQHKLLLZSLYDXXWBCJQSPXBPJZJCJDZFFXXBRMLAZHCSNDLBJDSZBLPRZTSWSBXBCLLXXLZDJZSJPYLYXXYFTFFFBHJJXGBYXJPMMMPSSJZJMTLYZJXSWXTYLEDQPJMYGQZJGDJLQJWJQLLSJGJGYGMSCLJJXDTYGJQJQJCJZCJGDZZSXQGSJGGCXHQXSNQLZZBXHSGZXCXYLJXYXYYDFQQJHJFXDHCTXJYRXYSQTJXYEFYYSSYYJXNCYZXFXMSYSZXYYSCHSHXZZZGZZZGFJDLTYLNPZGYJYZYYQZPBXQBDZTZCZYXXYHHSQXSHDHGQHJHGYWSZTMZMLHYXGEBTYLZKQWYTJZRCLEKYSTDBCYKQQSAYXCJXWWGSBHJYZYDHCSJKQCXSWXFLTYNYZPZCCZJQTZWJQDZZZQZLJJXLSBHPYXXPSXSHHEZTXFPTLQYZZXHYTXNCFZYYHXGNXMYWXTZSJPTHHGYMXMXQZXTSBCZYJYXXTYYZYPCQLMMSZMJZZLLZXGXZAAJZYXJMZXWDXZSXZDZXLEYJJZQBHZWZZZQTZPSXZTDSXJJJZNYAZPHXYYSRNQDTHZHYYKYJHDZXZLSWCLYBZYECWCYCRYLCXNHZYDZYDYJDFRJJHTRSQTXYXJRJHOJYNXELXSFSFJZGHPZSXZSZDZCQZBYYKLSGSJHCZSHDGQGXYZGXCHXZJWYQWGYHKSSEQZZNDZFKWYSSTCLZSTSYMCDHJXXYWEYXCZAYDMPXMDSXYBSQMJMZJMTZQLPJYQZCGQHXJHHLXXHLHDLDJQCLDWBSXFZZYYSCHTYTYYBHECXHYKGJPXHHYZJFXHWHBDZFYZBCAPNPGNYDMSXHMMMMAMYNBYJTMPXYYMCTHJBZYFCGTYHWPHFTWZZEZSBZEGPFMTSKFTYCMHFLLHGPZJXZJGZJYXZSBBQSCZZLZCCSTPGXMJSFTCCZJZDJXCYBZLFCJSYZFGSZLYBCWZZBYZDZYPSWYJZXZBDSYUXLZZBZFYGCZXBZHZFTPBGZGEJBSTGKDMFHYZZJHZLLZZGJQZLSFDJSSCBZGPDLFZFZSZYZYZSYGCXSNXXCHCZXTZZLJFZGQSQYXZJQDCCZTQCDXZJYQJQCHXZTDLGSCXZSYQJQTZWLQDQZTQCHQQJZYEZZZPBWKDJFCJPZTYPQYQTTYNLMBDKTJZPQZQZZFPZSBNJLGYJDXJDZZKZGQKXDLPZJTCJDQBXDJQJSTCKNXBXZMSLYJCQMTJQWWCJQNJNLLLHJCWQTBZQYDZCZPZZDZYDDCYZZZCCJTTJFZDPRRTZTJDCQTQZDTJNPLZBCLLCTZSXKJZQZPZLBZRBTJDCXFCZDBCCJJLTQQPLDCGZDBBZJCQDCJWYNLLZYZCCDWLLXWZLXRXNTQQCZXKQLSGDFQTDDGLRLAJJTKUYMKQLLTZYTDYYCZGJWYXDXFRSKSTQTENQMRKQZHHQKDLDAZFKYPBGGPZREBZZYKZZSPEGJXGYKQZZZSLYSYYYZWFQZYLZZLZHWCHKYPQGNPGBLPLRRJYXCCSYYHSFZFYBZYYTGZXYLXCZWXXZJZBLFFLGSKHYJZEYJHLPLLLLCZGXDRZELRHGKLZZYHZLYQSZZJZQLJZFLNBHGWLCZCFJYSPYXZLZLXGCCPZBLLCYBBBBUBBCBPCRNNZCZYRBFSRLDCGQYYQXYGMQZWTZYTYJXYFWTEHZZJYWLCCNTZYJJZDEDPZDZTSYQJHDYMBJNYJZLXTSSTPHNDJXXBYXQTZQDDTJTDYYTGWSCSZQFLSHLGLBCZPHDLYZJYCKWTYTYLBNYTSDSYCCTYSZYYEBHEXHQDTWNYGYCLXTSZYSTQMYGZAZCCSZZDSLZCLZRQXYYELJSBYMXSXZTEMBBLLYYLLYTDQYSHYMRQWKFKBFXNXSBYCHXBWJYHTQBPBSBWDZYLKGZSKYHXQZJXHXJXGNLJKZLYYCDXLFYFGHLJGJYBXQLYBXQPQGZTZPLNCYPXDJYQYDYMRBESJYYHKXXSTMXRCZZYWXYQYBMCLLYZHQYZWQXDBXBZWZMSLPDMYSKFMZKLZCYQYCZLQXFZZYDQZPZYGYJYZMZXDZFYFYTTQTZHGSPCZMLCCYTZXJCYTJMKSLPZHYSNZLLYTPZCTZZCKTXDHXXTQCYFKSMQCCYYAZHTJPCYLZLYJBJXTPNYLJYYNRXSYLMMNXJSMYBCSYSYLZYLXJJQYLDZLPQBFZZBLFNDXQKCZFYWHGQMRDSXYCYTXNQQJZYYPFZXDYZFPRXEJDGYQBXRCNFYYQPGHYJDYZXGRHTKYLNWDZNTSMPKLBTHBPYSZBZTJZSZZJTYYXZPHSSZZBZCZPTQFZMYFLYPYBBJQXZMXXDJMTSYSKKBJZXHJCKLPSMKYJZCXTMLJYXRZZQSLXXQPYZXMKYXXXJCLJPRMYYGADYSKQLSNDHYZKQXZYZTCGHZTLMLWZYBWSYCTBHJHJFCWZTXWYTKZLXQSHLYJZJXTMPLPYCGLTBZZTLZJCYJGDTCLKLPLLQPJMZPAPXYZLKKTKDZCZZBNZDYDYQZJYJGMCTXLTGXSZLMLHBGLKFWNWZHDXUHLFMKYSLGXDTWWFRJEJZTZHYDXYKSHWFZCQSHKTMQQHTZHYMJDJSKHXZJZBZZXYMPAGQMSTPXLSKLZYNWRTSQLSZBPSPSGZWYHTLKSSSWHZZLYYTNXJGMJSZSUFWNLSOZTXGXLSAMMLBWLDSZYLAKQCQCTMYCFJBSLXCLZZCLXXKSBZQCLHJPSQPLSXXCKSLNHPSFQQYTXYJZLQLDXZQJZDYYDJNZPTUZDSKJFSLJHYLZSQZLBTXYDGTQFDBYAZXDZHZJNHHQBYKNXJJQCZMLLJZKSPLDYCLBBLXKLELXJLBQYCXJXGCNLCQPLZLZYJTZLJGYZDZPLTQCSXFDMNYCXGBTJDCZNBGBQYQJWGKFHTNPYQZQGBKPBBYZMTJDYTBLSQMPSXTBNPDXKLEMYYCJYNZCTLDYKZZXDDXHQSHDGMZSJYCCTAYRZLPYLTLKXSLZCGGEXCLFXLKJRTLQJAQZNCMBYDKKCXGLCZJZXJHPTDJJMZQYKQSECQZDSHHADMLZFMMZBGNTJNNLGBYJBRBTMLBYJDZXLCJLPLDLPCQDHLXZLYCBLCXZZJADJLNZMMSSSMYBHBSQKBHRSXXJMXSDZNZPXLGBRHWGGFCXGMSKLLTSJYYCQLTSKYWYYHYWXBXQYWPYWYKQLSQPTNTKHQCWDQKTWPXXHCPTHTWUMSSYHBWCRWXHJMKMZNGWTMLKFGHKJYLSYYCXWHYECLQHKQHTTQKHFZLDXQWYZYYDESBPKYRZPJFYYZJCEQDZZDLATZBBFJLLCXDLMJSSXEGYGSJQXCWBXSSZPDYZCXDNYXPPZYDLYJCZPLTXLSXYZYRXCYYYDYLWWNZSAHJSYQYHGYWWAXTJZDAXYSRLTDPSSYYFNEJDXYZHLXLLLZQZSJNYQYQQXYJGHZGZCYJCHZLYCDSHWSHJZYJXCLLNXZJJYYXNFXMWFPYLCYLLABWDDHWDXJMCXZTZPMLQZHSFHZYNZTLLDYWLSLXHYMMYLMBWWKYXYADTXYLLDJPYBPWUXJMWMLLSAFDLLYFLBHHHBQQLTZJCQJLDJTFFKMMMBYTHYGDCQRDDWRQJXNBYSNWZDBYYTBJHPYBYTTJXAAHGQDQTMYSTQXKBTZPKJLZRBEQQSSMJJBDJOTGTBXPGBKTLHQXJJJCTHXQDWJLWRFWQGWSHCKRYSWGFTGYGBXSDWDWRFHWYTJJXXXJYZYSLPYYYPAYXHYDQKXSHXYXGSKQHYWFDDDPPLCJLQQEEWXKSYYKDYPLTJTHKJLTCYYHHJTTPLTZZCDLTHQKZXQYSTEEYWYYZYXXYYSTTJKLLPZMCYHQGXYHSRMBXPLLNQYDQHXSXXWGDQBSHYLLPJJJTHYJKYPPTHYYKTYEZYENMDSHLCRPQFDGFXZPSFTLJXXJBSWYYSKSFLXLPPLBBBLBSFXFYZBSJSSYLPBBFFFFSSCJDSTZSXZRYYSYFFSYZYZBJTBCTSBSDHRTJJBYTCXYJEYLXCBNEBJDSYXYKGSJZBXBYTFZWGENYHHTHZHHXFWGCSTBGXKLSXYWMTMBYXJSTZSCDYQRCYTWXZFHMYMCXLZNSDJTTTXRYCFYJSBSDYERXJLJXBBDEYNJGHXGCKGSCYMBLXJMSZNSKGXFBNBPTHFJAAFXYXFPXMYPQDTZCXZZPXRSYWZDLYBBKTYQPQJPZYPZJZNJPZJLZZFYSBTTSLMPTZRTDXQSJEHBZYLZDHLJSQMLHTXTJECXSLZZSPKTLZKQQYFSYGYWPCPQFHQHYTQXZKRSGTTSQCZLPTXCDYYZXSQZSLXLZMYCPCQBZYXHBSXLZDLTCDXTYLZJYYZPZYZLTXJSJXHLPMYTXCQRBLZSSFJZZTNJYTXMYJHLHPPLCYXQJQQKZZSCPZKSWALQSBLCCZJSXGWWWYGYKTJBBZTDKHXHKGTGPBKQYSLPXPJCKBMLLXDZSTBKLGGQKQLSBKKTFXRMDKBFTPZFRTBBRFERQGXYJPZSSTLBZTPSZQZSJDHLJQLZBPMSMMSXLQQNHKNBLRDDNXXDHDDJCYYGYLXGZLXSYGMQQGKHBPMXYXLYTQWLWGCPBMQXCYZYDRJBHTDJYHQSHTMJSBYPLWHLZFFNYPMHXXHPLTBQPFBJWQDBYGPNZTPFZJGSDDTQSHZEAWZZYLLTYYBWJKXXGHLFKXDJTMSZSQYNZGGSWQSPHTLSSKMCLZXYSZQZXNCJDQGZDLFNYKLJCJLLZLMZZNHYDSSHTHZZLZZBBHQZWWYCRZHLYQQJBEYFXXXWHSRXWQHWPSLMSSKZTTYGYQQWRSLALHMJTQJSMXQBJJZJXZYZKXBYQXBJXSHZTSFJLXMXZXFGHKZSZGGYLCLSARJYHSLLLMZXELGLXYDJYTLFBHBPNLYZFBBHPTGJKWETZHKJJXZXXGLLJLSTGSHJJYQLQZFKCGNNDJSSZFDBCTWWSEQFHQJBSAQTGYPQLBXBMMYWXGSLZHGLZGQYFLZBYFZJFRYSFMBYZHQGFWZSYFYJJPHZBYYZFFWODGRLMFTWLBZGYCQXCDJYGZYYYYTYTYDWEGAZYHXJLZYYHLRMGRXXZCLHNELJJTJTPWJYBJJBXJJTJTEEKHWSLJPLPSFYZPQQBDLQJJTYYQLYZKDKSQJYYQZLDQTGJQYZJSUCMRYQTHTEJMFCTYHYPKMHYZWJDQFHYYXWSHCTXRLJHQXHCCYYYJLTKTTYTMXGTCJTZAYYOCZLYLBSZYWJYTSJYHBYSHFJLYGJXXTMZYYLTXXYPZLXYJZYZYYPNHMYMDYYLBLHLSYYQQLLNJJYMSOYQBZGDLYXYLCQYXTSZEGXHZGLHWBLJHEYXTWQMAKBPQCGYSHHEGQCMWYYWLJYJHYYZLLJJYLHZYHMGSLJLJXCJJYCLYCJPCPZJZJMMYLCQLNQLJQJSXYJMLSZLJQLYCMMHCFMMFPQQMFYLQMCFFQMMMMHMZNFHHJGTTHHKHSLNCHHYQDXTMMQDCYZYXYQMYQYLTDCYYYZAZZCYMZYDLZFFFMMYCQZWZZMABTBYZTDMNZZGGDFTYPCGQYTTSSFFWFDTZQSSYSTWXJHXYTSXXYLBYQHWWKXHZXWZNNZZJZJJQJCCCHYYXBZXZCYZTLLCQXYNJYCYYCYNZZQYYYEWYCZDCJYCCHYJLBTZYYCQWMPWPYMLGKDLDLGKQQBGYCHJXY",Tt={a:"啊阿锕",ai:"埃挨哎唉哀皑癌蔼矮艾碍爱隘诶捱嗳嗌嫒瑷暧砹锿霭",an:"鞍氨安俺按暗岸胺案谙埯揞犴庵桉铵鹌顸黯",ang:"肮昂盎",ao:"凹敖熬翱袄傲奥懊澳坳拗嗷噢岙廒遨媪骜聱螯鏊鳌鏖",ba:"芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸茇菝萆捭岜灞杷钯粑鲅魃",bai:"白柏百摆佰败拜稗薜掰鞴",ban:"斑班搬扳般颁板版扮拌伴瓣半办绊阪坂豳钣瘢癍舨",bang:"邦帮梆榜膀绑棒磅蚌镑傍谤蒡螃",bao:"苞胞包褒雹保堡饱宝抱报暴豹鲍爆勹葆宀孢煲鸨褓趵龅",bo:"剥薄玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳亳蕃啵饽檗擘礴钹鹁簸跛",bei:"杯碑悲卑北辈背贝钡倍狈备惫焙被孛陂邶埤蓓呗怫悖碚鹎褙鐾",ben:"奔苯本笨畚坌锛",beng:"崩绷甭泵蹦迸唪嘣甏",bi:"逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛匕仳俾芘荜荸吡哔狴庳愎滗濞弼妣婢嬖璧贲畀铋秕裨筚箅篦舭襞跸髀",bian:"鞭边编贬扁便变卞辨辩辫遍匾弁苄忭汴缏煸砭碥稹窆蝙笾鳊",biao:"标彪膘表婊骠飑飙飚灬镖镳瘭裱鳔",bie:"鳖憋别瘪蹩鳘",bin:"彬斌濒滨宾摈傧浜缤玢殡膑镔髌鬓",bing:"兵冰柄丙秉饼炳病并禀邴摒绠枋槟燹",bu:"捕卜哺补埠不布步簿部怖拊卟逋瓿晡钚醭",ca:"擦嚓礤",cai:"猜裁材才财睬踩采彩菜蔡",can:"餐参蚕残惭惨灿骖璨粲黪",cang:"苍舱仓沧藏伧",cao:"操糙槽曹草艹嘈漕螬艚",ce:"厕策侧册测刂帻恻",ceng:"层蹭噌",cha:"插叉茬茶查碴搽察岔差诧猹馇汊姹杈楂槎檫钗锸镲衩",chai:"拆柴豺侪茈瘥虿龇",chan:"搀掺蝉馋谗缠铲产阐颤冁谄谶蒇廛忏潺澶孱羼婵嬗骣觇禅镡裣蟾躔",chang:"昌猖场尝常长偿肠厂敞畅唱倡伥鬯苌菖徜怅惝阊娼嫦昶氅鲳",chao:"超抄钞朝嘲潮巢吵炒怊绉晁耖",che:"车扯撤掣彻澈坼屮砗",chen:"郴臣辰尘晨忱沉陈趁衬称谌抻嗔宸琛榇肜胂碜龀",cheng:"撑城橙成呈乘程惩澄诚承逞骋秤埕嵊徵浈枨柽樘晟塍瞠铖裎蛏酲",chi:"吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽傺墀芪茌搋叱哧啻嗤彳饬沲媸敕胝眙眵鸱瘛褫蚩螭笞篪豉踅踟魑",chong:"充冲虫崇宠茺忡憧铳艟",chou:"抽酬畴踌稠愁筹仇绸瞅丑俦圳帱惆溴妯瘳雠鲋",chu:"臭初出橱厨躇锄雏滁除楚础储矗搐触处亍刍憷绌杵楮樗蜍蹰黜",chuan:"揣川穿椽传船喘串掾舛惴遄巛氚钏镩舡",chuang:"疮窗幢床闯创怆",chui:"吹炊捶锤垂陲棰槌",chun:"春椿醇唇淳纯蠢促莼沌肫朐鹑蝽",chuo:"戳绰蔟辶辍镞踔龊",ci:"疵茨磁雌辞慈瓷词此刺赐次荠呲嵯鹚螅糍趑",cong:"聪葱囱匆从丛偬苁淙骢琮璁枞",cu:"凑粗醋簇猝殂蹙",cuan:"蹿篡窜汆撺昕爨",cui:"摧崔催脆瘁粹淬翠萃悴璀榱隹",cun:"村存寸磋忖皴",cuo:"撮搓措挫错厝脞锉矬痤鹾蹉躜",da:"搭达答瘩打大耷哒嗒怛妲疸褡笪靼鞑",dai:"呆歹傣戴带殆代贷袋待逮怠埭甙呔岱迨逯骀绐玳黛",dan:"耽担丹单郸掸胆旦氮但惮淡诞弹蛋亻儋卩萏啖澹檐殚赕眈瘅聃箪",dang:"当挡党荡档谠凼菪宕砀铛裆",dao:"刀捣蹈倒岛祷导到稻悼道盗叨啁忉洮氘焘忑纛",de:"德得的锝",deng:"蹬灯登等瞪凳邓噔嶝戥磴镫簦",di:"堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔氐籴诋谛邸坻莜荻嘀娣柢棣觌砥碲睇镝羝骶",dian:"颠掂滇碘点典靛垫电佃甸店惦奠淀殿丶阽坫埝巅玷癜癫簟踮",diao:"碉叼雕凋刁掉吊钓调轺铞蜩粜貂",die:"跌爹碟蝶迭谍叠佚垤堞揲喋渫轶牒瓞褶耋蹀鲽鳎",ding:"丁盯叮钉顶鼎锭定订丢仃啶玎腚碇町铤疔耵酊",dong:"东冬董懂动栋侗恫冻洞垌咚岽峒夂氡胨胴硐鸫",dou:"兜抖斗陡豆逗痘蔸钭窦窬蚪篼酡",du:"都督毒犊独读堵睹赌杜镀肚度渡妒芏嘟渎椟橐牍蠹笃髑黩",duan:"端短锻段断缎彖椴煅簖",dui:"堆兑队对怼憝碓",dun:"墩吨蹲敦顿囤钝盾遁炖砘礅盹镦趸",duo:"掇哆多夺垛躲朵跺舵剁惰堕咄哚缍柁铎裰踱",e:"蛾峨鹅俄额讹娥恶厄扼遏鄂饿噩谔垩垭苊莪萼呃愕屙婀轭曷腭硪锇锷鹗颚鳄",en:"恩蒽摁唔嗯",er:"而儿耳尔饵洱二贰迩珥铒鸸鲕",fa:"发罚筏伐乏阀法珐垡砝",fan:"藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛蘩幡犭梵攵燔畈蹯",fang:"坊芳方肪房防妨仿访纺放匚邡彷钫舫鲂",fei:"菲非啡飞肥匪诽吠肺废沸费芾狒悱淝妃绋绯榧腓斐扉祓砩镄痱蜚篚翡霏鲱",fen:"芬酚吩氛分纷坟焚汾粉奋份忿愤粪偾瀵棼愍鲼鼢",feng:"丰封枫蜂峰锋风疯烽逢冯缝讽奉凤俸酆葑沣砜",fu:"佛否夫敷肤孵扶拂辐幅氟符伏俘服浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐匐凫郛芙苻茯莩菔呋幞滏艴孚驸绂桴赙黻黼罘稃馥虍蚨蜉蝠蝮麸趺跗鳆",ga:"噶嘎蛤尬呷尕尜旮钆",gai:"该改概钙盖溉丐陔垓戤赅胲",gan:"干甘杆柑竿肝赶感秆敢赣坩苷尴擀泔淦澉绀橄旰矸疳酐",gang:"冈刚钢缸肛纲岗港戆罡颃筻",gong:"杠工攻功恭龚供躬公宫弓巩汞拱贡共蕻廾咣珙肱蚣蛩觥",gao:"篙皋高膏羔糕搞镐稿告睾诰郜蒿藁缟槔槁杲锆",ge:"哥歌搁戈鸽胳疙割革葛格阁隔铬个各鬲仡哿塥嗝纥搿膈硌铪镉袼颌虼舸骼髂",gei:"给",gen:"根跟亘茛哏艮",geng:"耕更庚羹埂耿梗哽赓鲠",gou:"钩勾沟苟狗垢构购够佝诟岣遘媾缑觏彀鸲笱篝鞲",gu:"辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇嘏诂菰哌崮汩梏轱牯牿胍臌毂瞽罟钴锢瓠鸪鹄痼蛄酤觚鲴骰鹘",gua:"刮瓜剐寡挂褂卦诖呱栝鸹",guai:"乖拐怪哙",guan:"棺关官冠观管馆罐惯灌贯倌莞掼涫盥鹳鳏",guang:"光广逛犷桄胱疒",gui:"瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽匦刿庋宄妫桧炅晷皈簋鲑鳜",gun:"辊滚棍丨衮绲磙鲧",guo:"锅郭国果裹过馘蠃埚掴呙囗帼崞猓椁虢锞聒蜮蜾蝈",ha:"哈",hai:"骸孩海氦亥害骇咴嗨颏醢",han:"酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉邗菡撖阚瀚晗焓颔蚶鼾",hen:"夯痕很狠恨",hang:"杭航沆绗珩桁",hao:"壕嚎豪毫郝好耗号浩薅嗥嚆濠灏昊皓颢蚝",he:"呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺诃劾壑藿嗑嗬阖盍蚵翮",hei:"嘿黑",heng:"哼亨横衡恒訇蘅",hong:"轰哄烘虹鸿洪宏弘红黉讧荭薨闳泓",hou:"喉侯猴吼厚候后堠後逅瘊篌糇鲎骺",hu:"呼乎忽瑚壶葫胡蝴狐糊湖弧虎唬护互沪户冱唿囫岵猢怙惚浒滹琥槲轷觳烀煳戽扈祜鹕鹱笏醐斛",hua:"花哗华猾滑画划化话劐浍骅桦铧稞",huai:"槐徊怀淮坏还踝",huan:"欢环桓缓换患唤痪豢焕涣宦幻郇奂垸擐圜洹浣漶寰逭缳锾鲩鬟",huang:"荒慌黄磺蝗簧皇凰惶煌晃幌恍谎隍徨湟潢遑璜肓癀蟥篁鳇",hui:"灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘诙茴荟蕙哕喙隳洄彗缋珲晖恚虺蟪麾",hun:"荤昏婚魂浑混诨馄阍溷缗",huo:"豁活伙火获或惑霍货祸攉嚯夥钬锪镬耠蠖",ji:"击圾基机畸稽积箕肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪居丌乩剞佶佴脔墼芨芰萁蒺蕺掎叽咭哜唧岌嵴洎彐屐骥畿玑楫殛戟戢赍觊犄齑矶羁嵇稷瘠瘵虮笈笄暨跻跽霁鲚鲫髻麂",jia:"嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁伽郏拮岬浃迦珈戛胛恝铗镓痂蛱笳袈跏",jian:"歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件健舰剑饯渐溅涧建僭谏谫菅蒹搛囝湔蹇謇缣枧柙楗戋戬牮犍毽腱睑锏鹣裥笕箴翦趼踺鲣鞯",jiang:"僵姜将浆江疆蒋桨奖讲匠酱降茳洚绛缰犟礓耩糨豇",jiao:"蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫佼僬茭挢噍峤徼姣纟敫皎鹪蛟醮跤鲛",jie:"窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届偈讦诘喈嗟獬婕孑桀獒碣锴疖袷颉蚧羯鲒骱髫",jin:"巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸尽卺荩堇噤馑廑妗缙瑾槿赆觐钅锓衿矜",jing:"劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净刭儆阱菁獍憬泾迳弪婧肼胫腈旌",jiong:"炯窘冂迥扃",jiu:"揪究纠玖韭久灸九酒厩救旧臼舅咎就疚僦啾阄柩桕鹫赳鬏",ju:"鞠拘狙疽驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧倨讵苣苴莒掬遽屦琚枸椐榘榉橘犋飓钜锔窭裾趄醵踽龃雎鞫",juan:"捐鹃娟倦眷卷绢鄄狷涓桊蠲锩镌隽",jue:"撅攫抉掘倔爵觉决诀绝厥劂谲矍蕨噘崛獗孓珏桷橛爝镢蹶觖",jun:"均菌钧军君峻俊竣浚郡骏捃狻皲筠麇",ka:"喀咖卡佧咔胩",ke:"咯坷苛柯棵磕颗科壳咳可渴克刻客课岢恪溘骒缂珂轲氪瞌钶疴窠蝌髁",kai:"开揩楷凯慨剀垲蒈忾恺铠锎",kan:"刊堪勘坎砍看侃凵莰莶戡龛瞰",kang:"康慷糠扛抗亢炕坑伉闶钪",kao:"考拷烤靠尻栲犒铐",ken:"肯啃垦恳垠裉颀",keng:"吭忐铿",kong:"空恐孔控倥崆箜",kou:"抠口扣寇芤蔻叩眍筘",ku:"枯哭窟苦酷库裤刳堀喾绔骷",kua:"夸垮挎跨胯侉",kuai:"块筷侩快蒯郐蒉狯脍",kuan:"宽款髋",kuang:"匡筐狂框矿眶旷况诓诳邝圹夼哐纩贶",kui:"亏盔岿窥葵奎魁傀馈愧溃馗匮夔隗揆喹喟悝愦阕逵暌睽聩蝰篑臾跬",kun:"坤昆捆困悃阃琨锟醌鲲髡",kuo:"括扩廓阔蛞",la:"垃拉喇蜡腊辣啦剌摺邋旯砬瘌",lai:"莱来赖崃徕涞濑赉睐铼癞籁",lan:"蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥啉岚懔漤榄斓罱镧褴",lang:"琅榔狼廊郎朗浪莨蒗啷阆锒稂螂",lao:"捞劳牢老佬姥酪烙涝唠崂栳铑铹痨醪",le:"勒乐肋仂叻嘞泐鳓",lei:"雷镭蕾磊累儡垒擂类泪羸诔荽咧漯嫘缧檑耒酹",ling:"棱冷拎玲菱零龄铃伶羚凌灵陵岭领另令酃塄苓呤囹泠绫柃棂瓴聆蛉翎鲮",leng:"楞愣",li:"厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐痢立粒沥隶力璃哩俪俚郦坜苈莅蓠藜捩呖唳喱猁溧澧逦娌嫠骊缡珞枥栎轹戾砺詈罹锂鹂疠疬蛎蜊蠡笠篥粝醴跞雳鲡鳢黧",lian:"俩联莲连镰廉怜涟帘敛脸链恋炼练挛蔹奁潋濂娈琏楝殓臁膦裢蠊鲢",liang:"粮凉梁粱良两辆量晾亮谅墚椋踉靓魉",liao:"撩聊僚疗燎寥辽潦了撂镣廖料蓼尥嘹獠寮缭钌鹩耢",lie:"列裂烈劣猎冽埒洌趔躐鬣",lin:"琳林磷霖临邻鳞淋凛赁吝蔺嶙廪遴檩辚瞵粼躏麟",liu:"溜琉榴硫馏留刘瘤流柳六抡偻蒌泖浏遛骝绺旒熘锍镏鹨鎏",long:"龙聋咙笼窿隆垄拢陇弄垅茏泷珑栊胧砻癃",lou:"楼娄搂篓漏陋喽嵝镂瘘耧蝼髅",lu:"芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮垆摅撸噜泸渌漉璐栌橹轳辂辘氇胪镥鸬鹭簏舻鲈",lv:"驴吕铝侣旅履屡缕虑氯律率滤绿捋闾榈膂稆褛",luan:"峦孪滦卵乱栾鸾銮",lue:"掠略锊",lun:"轮伦仑沦纶论囵",luo:"萝螺罗逻锣箩骡裸落洛骆络倮荦摞猡泺椤脶镙瘰雒",ma:"妈麻玛码蚂马骂嘛吗唛犸嬷杩麽",mai:"埋买麦卖迈脉劢荬咪霾",man:"瞒馒蛮满蔓曼慢漫谩墁幔缦熳镘颟螨鳗鞔",mang:"芒茫盲忙莽邙漭朦硭蟒",meng:"氓萌蒙檬盟锰猛梦孟勐甍瞢懵礞虻蜢蠓艋艨黾",miao:"猫苗描瞄藐秒渺庙妙喵邈缈缪杪淼眇鹋蜱",mao:"茅锚毛矛铆卯茂冒帽貌贸侔袤勖茆峁瑁昴牦耄旄懋瞀蛑蝥蟊髦",me:"么",mei:"玫枚梅酶霉煤没眉媒镁每美昧寐妹媚坶莓嵋猸浼湄楣镅鹛袂魅",men:"门闷们扪玟焖懑钔",mi:"眯醚靡糜迷谜弥米秘觅泌蜜密幂芈冖谧蘼嘧猕獯汨宓弭脒敉糸縻麋",mian:"棉眠绵冕免勉娩缅面沔湎腼眄",mie:"蔑灭咩蠛篾",min:"民抿皿敏悯闽苠岷闵泯珉",ming:"明螟鸣铭名命冥茗溟暝瞑酩",miu:"谬",mo:"摸摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谟茉蓦馍嫫镆秣瘼耱蟆貊貘",mou:"谋牟某厶哞婺眸鍪",mu:"拇牡亩姆母墓暮幕募慕木目睦牧穆仫苜呒沐毪钼",na:"拿哪呐钠那娜纳内捺肭镎衲箬",nai:"氖乃奶耐奈鼐艿萘柰",nan:"南男难囊喃囡楠腩蝻赧",nao:"挠脑恼闹孬垴猱瑙硇铙蛲",ne:"淖呢讷",nei:"馁",nen:"嫩能枘恁",ni:"妮霓倪泥尼拟你匿腻逆溺伲坭猊怩滠昵旎祢慝睨铌鲵",nian:"蔫拈年碾撵捻念廿辇黏鲇鲶",niang:"娘酿",niao:"鸟尿茑嬲脲袅",nie:"捏聂孽啮镊镍涅乜陧蘖嗫肀颞臬蹑",nin:"您柠",ning:"狞凝宁拧泞佞蓥咛甯聍",niu:"牛扭钮纽狃忸妞蚴",nong:"脓浓农侬",nu:"奴努怒呶帑弩胬孥驽",nv:"女恧钕衄",nuan:"暖",nuenue:"虐",nue:"疟谑",nuo:"挪懦糯诺傩搦喏锘",ou:"哦欧鸥殴藕呕偶沤怄瓯耦",pa:"啪趴爬帕怕琶葩筢",pai:"拍排牌徘湃派俳蒎",pan:"攀潘盘磐盼畔判叛爿泮袢襻蟠蹒",pang:"乓庞旁耪胖滂逄",pao:"抛咆刨炮袍跑泡匏狍庖脬疱",pei:"呸胚培裴赔陪配佩沛掊辔帔淠旆锫醅霈",pen:"喷盆湓",peng:"砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯堋嘭怦蟛",pi:"砒霹批披劈琵毗啤脾疲皮匹痞僻屁譬丕陴邳郫圮鼙擗噼庀媲纰枇甓睥罴铍痦癖疋蚍貔",pian:"篇偏片骗谝骈犏胼褊翩蹁",piao:"飘漂瓢票剽嘌嫖缥殍瞟螵",pie:"撇瞥丿苤氕",pin:"拼频贫品聘拚姘嫔榀牝颦",ping:"乒坪苹萍平凭瓶评屏俜娉枰鲆",po:"坡泼颇婆破魄迫粕叵鄱溥珀钋钷皤笸",pou:"剖裒踣",pu:"扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑匍噗濮璞氆镤镨蹼",qi:"期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫亟亓圻芑萋葺嘁屺岐汔淇骐绮琪琦杞桤槭欹祺憩碛蛴蜞綦綮趿蹊鳍麒",qia:"掐恰洽葜",qian:"牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉佥阡芊芡荨掮岍悭慊骞搴褰缱椠肷愆钤虔箝",qiang:"枪呛腔羌墙蔷强抢嫱樯戗炝锖锵镪襁蜣羟跫跄",qiao:"橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍劁诮谯荞愀憔缲樵毳硗跷鞒",qie:"切茄且怯窃郄唼惬妾挈锲箧",qin:"钦侵亲秦琴勤芹擒禽寝沁芩蓁蕲揿吣嗪噙溱檎螓衾",qing:"青轻氢倾卿清擎晴氰情顷请庆倩苘圊檠磬蜻罄箐謦鲭黥",qiong:"琼穷邛茕穹筇銎",qiu:"秋丘邱球求囚酋泅俅氽巯艽犰湫逑遒楸赇鸠虬蚯蝤裘糗鳅鼽",qu:"趋区蛆曲躯屈驱渠取娶龋趣去诎劬蕖蘧岖衢阒璩觑氍祛磲癯蛐蠼麴瞿黢",quan:"圈颧权醛泉全痊拳犬券劝诠荃獾悛绻辁畎铨蜷筌鬈",que:"缺炔瘸却鹊榷确雀阙悫",qun:"裙群逡",ran:"然燃冉染苒髯",rang:"瓤壤攘嚷让禳穰",rao:"饶扰绕荛娆桡",ruo:"惹若弱",re:"热偌",ren:"壬仁人忍韧任认刃妊纫仞荏葚饪轫稔衽",reng:"扔仍",ri:"日",rong:"戎茸蓉荣融熔溶容绒冗嵘狨缛榕蝾",rou:"揉柔肉糅蹂鞣",ru:"茹蠕儒孺如辱乳汝入褥蓐薷嚅洳溽濡铷襦颥",ruan:"软阮朊",rui:"蕊瑞锐芮蕤睿蚋",run:"闰润",sa:"撒洒萨卅仨挲飒",sai:"腮鳃塞赛噻",san:"三叁伞散彡馓氵毵糁霰",sang:"桑嗓丧搡磉颡",sao:"搔骚扫嫂埽臊瘙鳋",se:"瑟色涩啬铩铯穑",sen:"森",seng:"僧",sha:"莎砂杀刹沙纱傻啥煞脎歃痧裟霎鲨",shai:"筛晒酾",shan:"珊苫杉山删煽衫闪陕擅赡膳善汕扇缮剡讪鄯埏芟潸姗骟膻钐疝蟮舢跚鳝",shang:"墒伤商赏晌上尚裳垧绱殇熵觞",shao:"梢捎稍烧芍勺韶少哨邵绍劭苕潲蛸笤筲艄",she:"奢赊蛇舌舍赦摄射慑涉社设厍佘猞畲麝",shen:"砷申呻伸身深娠绅神沈审婶甚肾慎渗诜谂吲哂渖椹矧蜃",sheng:"声生甥牲升绳省盛剩胜圣丞渑媵眚笙",shi:"师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试谥埘莳蓍弑唑饣轼耆贳炻礻铈铊螫舐筮豕鲥鲺",shou:"收手首守寿授售受瘦兽扌狩绶艏",shu:"蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱恕倏塾菽忄沭涑澍姝纾毹腧殳镯秫鹬",shua:"刷耍唰涮",shuai:"摔衰甩帅蟀",shuan:"栓拴闩",shuang:"霜双爽孀",shui:"谁水睡税",shun:"吮瞬顺舜恂",shuo:"说硕朔烁蒴搠嗍濯妁槊铄",si:"斯撕嘶思私司丝死肆寺嗣四伺似饲巳厮俟兕菥咝汜泗澌姒驷缌祀祠锶鸶耜蛳笥",song:"松耸怂颂送宋讼诵凇菘崧嵩忪悚淞竦",sou:"搜艘擞嗽叟嗖嗾馊溲飕瞍锼螋",su:"苏酥俗素速粟僳塑溯宿诉肃夙谡蔌嗉愫簌觫稣",suan:"酸蒜算",sui:"虽隋随绥髓碎岁穗遂隧祟蓑冫谇濉邃燧眭睢",sun:"孙损笋荪狲飧榫跣隼",suo:"梭唆缩琐索锁所唢嗦娑桫睃羧",ta:"塌他它她塔獭挞蹋踏闼溻遢榻沓",tai:"胎苔抬台泰酞太态汰邰薹肽炱钛跆鲐",tan:"坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭郯蕈昙钽锬覃",tang:"汤塘搪堂棠膛唐糖傥饧溏瑭铴镗耥螗螳羰醣",thang:"倘躺淌",theng:"趟烫",tao:"掏涛滔绦萄桃逃淘陶讨套挑鼗啕韬饕",te:"特",teng:"藤腾疼誊滕",ti:"梯剔踢锑提题蹄啼体替嚏惕涕剃屉荑悌逖绨缇鹈裼醍",tian:"天添填田甜恬舔腆掭忝阗殄畋钿蚺",tiao:"条迢眺跳佻祧铫窕龆鲦",tie:"贴铁帖萜餮",ting:"厅听烃汀廷停亭庭挺艇莛葶婷梃蜓霆",tong:"通桐酮瞳同铜彤童桶捅筒统痛佟僮仝茼嗵恸潼砼",tou:"偷投头透亠",tu:"凸秃突图徒途涂屠土吐兔堍荼菟钍酴",tuan:"湍团疃",tui:"推颓腿蜕褪退忒煺",tun:"吞屯臀饨暾豚窀",tuo:"拖托脱鸵陀驮驼椭妥拓唾乇佗坨庹沱柝砣箨舄跎鼍",wa:"挖哇蛙洼娃瓦袜佤娲腽",wai:"歪外",wan:"豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕剜芄苋菀纨绾琬脘畹蜿箢",wang:"汪王亡枉网往旺望忘妄罔尢惘辋魍",wei:"威巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫倭偎诿隈葳薇帏帷崴嵬猥猬闱沩洧涠逶娓玮韪軎炜煨熨痿艉鲔",wen:"瘟温蚊文闻纹吻稳紊问刎愠阌汶璺韫殁雯",weng:"嗡翁瓮蓊蕹",wo:"挝蜗涡窝我斡卧握沃莴幄渥杌肟龌",wu:"巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误兀仵阢邬圬芴庑怃忤浯寤迕妩骛牾焐鹉鹜蜈鋈鼯",xi:"昔熙析西硒矽晰嘻吸锡牺稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细僖兮隰郗茜葸蓰奚唏徙饩阋浠淅屣嬉玺樨曦觋欷熹禊禧钸皙穸蜥蟋舾羲粞翕醯鼷",xia:"瞎虾匣霞辖暇峡侠狭下厦夏吓掀葭嗄狎遐瑕硖瘕罅黠",xian:"锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线冼藓岘猃暹娴氙祆鹇痫蚬筅籼酰跹",xiang:"相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象芗葙饷庠骧缃蟓鲞飨",xiao:"萧硝霄削哮嚣销消宵淆晓小孝校肖啸笑效哓咻崤潇逍骁绡枭枵筱箫魈",xie:"楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑偕亵勰燮薤撷廨瀣邂绁缬榭榍歙躞",xin:"薪芯锌欣辛新忻心信衅囟馨莘歆铽鑫",xing:"星腥猩惺兴刑型形邢行醒幸杏性姓陉荇荥擤悻硎",xiong:"兄凶胸匈汹雄熊芎",xiu:"休修羞朽嗅锈秀袖绣莠岫馐庥鸺貅髹",xu:"墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续讴诩圩蓿怵洫溆顼栩煦砉盱胥糈醑",xuan:"轩喧宣悬旋玄选癣眩绚儇谖萱揎馔泫洵渲漩璇楦暄炫煊碹铉镟痃",xue:"靴薛学穴雪血噱泶鳕",xun:"勋熏循旬询寻驯巡殉汛训讯逊迅巽埙荀薰峋徇浔曛窨醺鲟",ya:"压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶伢揠吖岈迓娅琊桠氩砑睚痖",yan:"焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验厣靥赝俨偃兖讠谳郾鄢芫菸崦恹闫阏洇湮滟妍嫣琰晏胭腌焱罨筵酽魇餍鼹",yang:"殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾徉怏泱炀烊恙蛘鞅",yao:"邀腰妖瑶摇尧遥窑谣姚咬舀药要耀夭爻吆崾徭瀹幺珧杳曜肴鹞窈繇鳐",ye:"椰噎耶爷野冶也页掖业叶曳腋夜液谒邺揶馀晔烨铘",yi:"一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎刈劓佾诒圪圯埸懿苡薏弈奕挹弋呓咦咿噫峄嶷猗饴怿怡悒漪迤驿缢殪贻旖熠钇镒镱痍瘗癔翊衤蜴舣羿翳酏黟",yin:"茵荫因殷音阴姻吟银淫寅饮尹引隐印胤鄞堙茚喑狺夤氤铟瘾蚓霪龈",ying:"英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映嬴郢茔莺萦撄嘤膺滢潆瀛瑛璎楹鹦瘿颍罂",yo:"哟唷",yong:"拥佣臃痈庸雍踊蛹咏泳涌永恿勇用俑壅墉慵邕镛甬鳙饔",you:"幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼卣攸侑莸呦囿宥柚猷牖铕疣蝣鱿黝鼬",yu:"迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉浴寓裕预豫驭禺毓伛俣谀谕萸蓣揄喁圄圉嵛狳饫庾阈妪妤纡瑜昱觎腴欤於煜燠聿钰鹆瘐瘀窳蝓竽舁雩龉",yuan:"鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院塬沅媛瑗橼爰眢鸢螈鼋",yue:"曰约越跃钥岳粤月悦阅龠樾刖钺",yun:"耘云郧匀陨允运蕴酝晕韵孕郓芸狁恽纭殒昀氲",za:"匝砸杂拶咂",zai:"栽哉灾宰载再在咱崽甾",zan:"攒暂赞瓒昝簪糌趱錾",zang:"赃脏葬奘戕臧",zao:"遭糟凿藻枣早澡蚤躁噪造皂灶燥唣缫",ze:"责择则泽仄赜啧迮昃笮箦舴",zei:"贼",zen:"怎谮",zeng:"增憎曾赠缯甑罾锃",zha:"扎喳渣札轧铡闸眨栅榨咋乍炸诈揸吒咤哳怍砟痄蚱齄",zhai:"摘斋宅窄债寨砦",zhan:"瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽谵搌旃",zhang:"樟章彰漳张掌涨杖丈帐账仗胀瘴障仉鄣幛嶂獐嫜璋蟑",zhao:"招昭找沼赵照罩兆肇召爪诏棹钊笊",zhe:"遮折哲蛰辙者锗蔗这浙谪陬柘辄磔鹧褚蜇赭",zhen:"珍斟真甄砧臻贞针侦枕疹诊震振镇阵缜桢榛轸赈胗朕祯畛鸩",zheng:"蒸挣睁征狰争怔整拯正政帧症郑证诤峥钲铮筝",zhi:"芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒卮陟郅埴芷摭帙忮彘咫骘栉枳栀桎轵轾攴贽膣祉祗黹雉鸷痣蛭絷酯跖踬踯豸觯",zhong:"中盅忠钟衷终种肿重仲众冢锺螽舂舯踵",zhou:"舟周州洲诌粥轴肘帚咒皱宙昼骤啄着倜诹荮鬻纣胄碡籀舳酎鲷",zhu:"珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑住注祝驻伫侏邾苎茱洙渚潴驺杼槠橥炷铢疰瘃蚰竺箸翥躅麈",zhua:"抓",zhuai:"拽",zhuan:"专砖转撰赚篆抟啭颛",zhuang:"桩庄装妆撞壮状丬",zhui:"椎锥追赘坠缀萑骓缒",zhun:"谆准",zhuo:"捉拙卓桌琢茁酌灼浊倬诼廴蕞擢啜浞涿杓焯禚斫",zi:"兹咨资姿滋淄孜紫仔籽滓子自渍字谘嵫姊孳缁梓辎赀恣眦锱秭耔笫粢觜訾鲻髭",zong:"鬃棕踪宗综总纵腙粽",zou:"邹走奏揍鄹鲰",zu:"租足卒族祖诅阻组俎菹啐徂驵蹴",zuan:"钻纂攥缵",zui:"嘴醉最罪",zun:"尊遵撙樽鳟",zuo:"昨左佐柞做作坐座阝阼胙祚酢",cou:"薮楱辏腠",nang:"攮哝囔馕曩",o:"喔",dia:"嗲",chuai:"嘬膪踹",cen:"岑涔",diu:"铥",nou:"耨",fou:"缶",bia:"髟"},mt={19969:"DZ",19975:"WM",19988:"QJ",20048:"YL",20056:"SC",20060:"NM",20094:"QG",20127:"QJ",20167:"QC",20193:"YG",20250:"KH",20256:"ZC",20282:"SC",20285:"QJG",20291:"TD",20314:"YD",20340:"NE",20375:"TD",20389:"YJ",20391:"CZ",20415:"PB",20446:"YS",20447:"SQ",20504:"TC",20608:"KG",20854:"QJ",20857:"ZC",20911:"PF",20985:"AW",21032:"PB",21048:"XQ",21049:"SC",21089:"YS",21119:"JC",21242:"SB",21273:"SC",21305:"YP",21306:"QO",21330:"ZC",21333:"SDC",21345:"QK",21378:"CA",21397:"SC",21414:"XS",21442:"SC",21477:"JG",21480:"TD",21484:"ZS",21494:"YX",21505:"YX",21512:"HG",21523:"XH",21537:"PB",21542:"PF",21549:"KH",21571:"E",21574:"DA",21588:"TD",21589:"O",21618:"ZC",21621:"KHA",21632:"ZJ",21654:"KG",21679:"LKG",21683:"KH",21710:"A",21719:"YH",21734:"WOE",21769:"A",21780:"WN",21804:"XH",21834:"A",21899:"ZD",21903:"RN",21908:"WO",21939:"ZC",21956:"SA",21964:"YA",21970:"TD",22003:"A",22031:"JG",22040:"XS",22060:"ZC",22066:"ZC",22079:"MH",22129:"XJ",22179:"XA",22237:"NJ",22244:"TD",22280:"JQ",22300:"YH",22313:"XW",22331:"YQ",22343:"YJ",22351:"PH",22395:"DC",22412:"TD",22484:"PB",22500:"PB",22534:"ZD",22549:"DH",22561:"PB",22612:"TD",22771:"KQ",22831:"HB",22841:"JG",22855:"QJ",22865:"XQ",23013:"ML",23081:"WM",23487:"SX",23558:"QJ",23561:"YW",23586:"YW",23614:"YW",23615:"SN",23631:"PB",23646:"ZS",23663:"ZT",23673:"YG",23762:"TD",23769:"ZS",23780:"QJ",23884:"QK",24055:"XH",24113:"DC",24162:"ZC",24191:"GA",24273:"QJ",24324:"NL",24377:"TD",24378:"QJ",24439:"PF",24554:"ZS",24683:"TD",24694:"WE",24733:"LK",24925:"TN",25094:"ZG",25100:"XQ",25103:"XH",25153:"PB",25170:"PB",25179:"KG",25203:"PB",25240:"ZS",25282:"FB",25303:"NA",25324:"KG",25341:"ZY",25373:"WZ",25375:"XJ",25384:"A",25457:"A",25528:"SD",25530:"SC",25552:"TD",25774:"ZC",25874:"ZC",26044:"YW",26080:"WM",26292:"PB",26333:"PB",26355:"ZY",26366:"CZ",26397:"ZC",26399:"QJ",26415:"ZS",26451:"SB",26526:"ZC",26552:"JG",26561:"TD",26588:"JG",26597:"CZ",26629:"ZS",26638:"YL",26646:"XQ",26653:"KG",26657:"XJ",26727:"HG",26894:"ZC",26937:"ZS",26946:"ZC",26999:"KJ",27099:"KJ",27449:"YQ",27481:"XS",27542:"ZS",27663:"ZS",27748:"TS",27784:"SC",27788:"ZD",27795:"TD",27812:"O",27850:"PB",27852:"MB",27895:"SL",27898:"PL",27973:"QJ",27981:"KH",27986:"HX",27994:"XJ",28044:"YC",28065:"WG",28177:"SM",28267:"QJ",28291:"KH",28337:"ZQ",28463:"TL",28548:"DC",28601:"TD",28689:"PB",28805:"JG",28820:"QG",28846:"PB",28952:"TD",28975:"ZC",29100:"A",29325:"QJ",29575:"SL",29602:"FB",30010:"TD",30044:"CX",30058:"PF",30091:"YSP",30111:"YN",30229:"XJ",30427:"SC",30465:"SX",30631:"YQ",30655:"QJ",30684:"QJG",30707:"SD",30729:"XH",30796:"LG",30917:"PB",31074:"NM",31085:"JZ",31109:"SC",31181:"ZC",31192:"MLB",31293:"JQ",31400:"YX",31584:"YJ",31896:"ZN",31909:"ZY",31995:"XJ",32321:"PF",32327:"ZY",32418:"HG",32420:"XQ",32421:"HG",32438:"LG",32473:"GJ",32488:"TD",32521:"QJ",32527:"PB",32562:"ZSQ",32564:"JZ",32735:"ZD",32793:"PB",33071:"PF",33098:"XL",33100:"YA",33152:"PB",33261:"CX",33324:"BP",33333:"TD",33406:"YA",33426:"WM",33432:"PB",33445:"JG",33486:"ZN",33493:"TS",33507:"QJ",33540:"QJ",33544:"ZC",33564:"XQ",33617:"YT",33632:"QJ",33636:"XH",33637:"YX",33694:"WG",33705:"PF",33728:"YW",33882:"SR",34067:"WM",34074:"YW",34121:"QJ",34255:"ZC",34259:"XL",34425:"JH",34430:"XH",34485:"KH",34503:"YS",34532:"HG",34552:"XS",34558:"YE",34593:"ZL",34660:"YQ",34892:"XH",34928:"SC",34999:"QJ",35048:"PB",35059:"SC",35098:"ZC",35203:"TQ",35265:"JX",35299:"JX",35782:"SZ",35828:"YS",35830:"E",35843:"TD",35895:"YG",35977:"MH",36158:"JG",36228:"QJ",36426:"XQ",36466:"DC",36710:"JC",36711:"ZYG",36767:"PB",36866:"SK",36951:"YW",37034:"YX",37063:"XH",37218:"ZC",37325:"ZC",38063:"PB",38079:"TD",38085:"QY",38107:"DC",38116:"TD",38123:"YD",38224:"HG",38241:"XTC",38271:"ZC",38415:"YE",38426:"KH",38461:"YD",38463:"AE",38466:"PB",38477:"XJ",38518:"YT",38551:"WK",38585:"ZC",38704:"XS",38739:"LJ",38761:"GJ",38808:"SQ",39048:"JG",39049:"XJ",39052:"HG",39076:"CZ",39271:"XT",39534:"TD",39552:"TD",39584:"PB",39647:"SB",39730:"LG",39748:"TPB",40109:"ZQ",40479:"ND",40516:"HG",40536:"HG",40583:"QJ",40765:"YQ",40784:"QJ",40840:"YK",40863:"QJG"},Zt={checkPolyphone:!1,charcase:"default"},ht={getFullChars:e=>{let t,o="";if(!e)return o;new RegExp("[a-zA-Z0-9- ]");for(let n=0,r=e.length;n<r;n++){const r=e.substr(n,1),i=r.charCodeAt(0);i>40869||i<19968?o+=r:(t=ht._getFullChar(r),!1!==t&&(o+=t))}return o.toLocaleLowerCase()},getCamelChars:e=>{if("string"!==typeof e)return"Z";const t=[];for(let o=0,n=e.length;o<n;o++){const n=e.charAt(o);t.push(ht._getChar(n))}return ht._getResult(t).toLocaleLowerCase()},_getFullChar:e=>{for(const t in Tt)if(-1!==Tt[t].indexOf(e))return ht._capitalize(t);return!1},_capitalize:e=>{if(e.length>0){const t=e.substr(0,1).toUpperCase(),o=e.substr(1,e.length);return t+o}},_getChar:e=>{const t=e.charCodeAt(0);return t>40869||t<19968?e:Zt.checkPolyphone&&mt[t]?mt[t]:St.charAt(t-19968)},_getResult:e=>{if(!Zt.checkPolyphone)return e.join("");let t=[""];for(let o=0,n=e.length;o<n;o++){const n=e[o],r=n.length;if(1===r)for(let e=0;e<t.length;e++)t[e]+=n;else{const e=t.slice(0);t=[];for(let o=0;o<r;o++){const r=e.slice(0);for(let e=0;e<r.length;e++)r[e]+=n.charAt(o);t=t.concat(r)}}}return t}};var pt=ht;let gt=class extends _["Vue"]{constructor(...e){super(...e),d(this,"locale",Dt.a),d(this,"submittedSvg",W),d(this,"historySvg",G),d(this,"numberPopoverVisible",!1),d(this,"validateResult",{}),d(this,"metaRefresh",void 0),d(this,"defaultMoneyUnit",{}),d(this,"zoomType",z["s"]),d(this,"builtLabel",z["a"]),d(this,"traddayList",localStorage.getItem("traddayList")||JSON.stringify([])),d(this,"weekdayList",localStorage.getItem("weekdayList")||JSON.stringify([])),d(this,"workdayList",localStorage.getItem("workdayList")||JSON.stringify([])),d(this,"amountCapitalization",Ie),d(this,"zoomMultiple",qe),d(this,"index",void 0),d(this,"control",void 0),d(this,"parentControl",void 0),d(this,"customFormats",void 0),d(this,"linkList",void 0),d(this,"provideInjectData",void 0),d(this,"formFieldClass",z["f"]),d(this,"formFieldType",z["g"])}filterOption(e,t){return!!t.title&&(t.title.indexOf(e)>-1||pt.getCamelChars(t.title).indexOf(e)>-1||pt.getFullChars(t.title).indexOf(e)>-1)}onDefaultMoneyUnitHandler(e){if(null!=e.code)switch(e.code){case z["j"].Yuan.code:this.controlAttr.zoomMultiple=1;break;case z["j"].TenThousandYuan.code:this.controlAttr.zoomMultiple=1e4;break;case z["j"].HundredMillionYuan.code:this.controlAttr.zoomMultiple=1e8;break}}onValidationFeedbackHandle(){this.validateResult=this.formControl.validate()}onFormValidateStateResetMarkHandle(){this.validateResult={}}linkClick(e){this.$emit("linkClick",e)}onHideControl(){this.$nextTick(()=>{this.$emit("fixFormLayout")})}get inputShape(){return this.controlAttr.isPasswordBox?"a-input-password":this.controlAttr.enableAutoComplete?"a-auto-complete":"a-input"}get formControl(){return this.control&&this.control.formControl?(this.initFormControlData(),this.control.formControl):new Ge}get controlAttr(){var e;return null===(e=this.control)||void 0===e?void 0:e.controlAttr}get parentControlAttr(){var e;return null===(e=this.parentControl)||void 0===e?void 0:e.controlAttr}get layout(){for(const e of Object.keys(z["r"]))if(z["r"][e]["code"]===this.controlAttr.gridVerticalArrangement)return z["r"][e]["value"];return z["r"].AlignRight.value}get currentCharacterCount(){return this.control.formControl&&this.control.formControl.value?this.control.formControl.value.length:0}get maxCharacterCount(){const e=this.controlAttr;if(e.verificationRules&&e.verificationRules.length>0){const t=e.verificationRules.find(e=>e.ruleType===z["p"].MaxTextLength.code);if(null!=t&&t.ruleContent)return Number(t.ruleContent)}}get numberFormatter(){const e=this.controlAttr,t=e.formatType?e.formatType:z["c"].GENERAL.code;return o=>{let n=void 0!=o?String(o):"";switch(t){case z["c"].GENERAL.code:case z["c"].AMOUNT_OF_MONEY.code:return t===z["c"].AMOUNT_OF_MONEY.code&&null!=n&&e.thousandthPercentileFormat&&(n=n.indexOf(".")>-1?(""+n).split(".")[0].replace(/\B(?=(\d{3})+(?!\d))/g,",")+"."+(""+n).split(".")[1]:(""+n).replace(/\B(?=(\d{3})+(?!\d))/g,",")),e.zoomType!==z["s"].automatic.code&&null!=n&&""!=n&&e.unit&&(n=""+n),n;case z["c"].BANK_CARD_NUMBER.code:return null!=n&&(n=n.replace(/[\s]/g,"").replace(/(\d{4})(?=\d)/g,"$1 ")),n;case z["c"].CELL_PHONE_NUMBER.code:if(null!=n){n=n.replace(/\D/g,"").substr(0,11);const e=n.length;e>3&&e<8?n=n.replace(/^(\d{3})/g,"$1 "):e>=8&&(n=n.replace(/^(\d{3})(\d{4})/g,"$1 $2 "))}return n;case z["c"].LANDLINE_NUMBER.code:return n;default:return o}}}get numberParser(){const e=this.controlAttr,t=e.formatType?e.formatType:z["c"].GENERAL.code;return o=>{let n=o;switch(t){case z["c"].GENERAL.code:case z["c"].AMOUNT_OF_MONEY.code:if(t===z["c"].AMOUNT_OF_MONEY.code&&null!=n&&e.thousandthPercentileFormat&&(n=n.replace(/\$\s?|(,*)/g,"")),e.zoomType!==z["s"].automatic.code&&null!=n&&""!=n&&e.unit){const t=e.unit.split("");t.forEach(e=>{n=n.replace(e,"")})}return n;case z["c"].BANK_CARD_NUMBER.code:case z["c"].CELL_PHONE_NUMBER.code:return null!=n&&(n=n.replace(/\s/g,"")),n;case z["c"].LANDLINE_NUMBER.code:return n;default:return n}}}get labelSpanWidth(){const e=this.controlAttr,t=this.parentControlAttr;return e.titleWidth?e.titleWidth:t.labelSpan?t.labelSpan:this.provideInjectData.labelSpan}get colon(){return this.provideInjectData.colon}get controlSpanMaxWidth(){const e=this.controlAttr,t=this.parentControlAttr;return e.controlWidth?e.controlWidth:t.controlSpan?t.controlSpan:this.provideInjectData.controlSpan?this.provideInjectData.controlSpan:"none"}get controlSpanWidth(){const e=this.controlAttr,t=this.parentControlAttr;return e.controlWidth?e.controlWidth:t.controlSpan?t.controlSpan:this.provideInjectData.controlSpan?this.provideInjectData.controlSpan:0}get labelAlign(){for(const e of Object.keys(z["r"]))if(z["r"][e]["code"]===this.controlAttr.gridVerticalArrangement)return z["r"][e]["textAlign"];return z["r"].AlignRight.textAlign}get moneyUnits(){const e=[],t=ue.parse(this.controlAttr.moneyUnit);return this.controlAttr.moneyUnit&&Object.values(z["j"]).forEach(o=>{-1!==t.findIndex(e=>e===o.code)&&e.push(o)}),e&&e.length>0&&(this.defaultMoneyUnit=e[0]),e}get moneyUnitsIndentScale(){const e=this.defaultMoneyUnit;return null!=e&&e.code?Number(e.code):0}get options(){return Re(this.controlAttr)}get useMonthPicker(){const e=this.controlAttr.dateFormat;return!(!e||"yyyy-mm"!==e.toLowerCase())}get cascaderOptions(){const e=this.options;let t=[];if(e&&e.length>0){const o=ue.copy(e);t=this.cascaderRecursion(o)}return t}get treeSelectOptions(){const e=this.options;if(console.log(e),e&&e.length>0){const t=ue.copy(e);return this.treeSelectRecursion(t),t}return[]}get is12Hours(){return!!this.controlAttr.timeFormat&&this.controlAttr.timeFormat.indexOf(":ss")<0}get hasFeedback(){return null!=this.control.formControl&&this.control.formControl.validates&&this.control.formControl.validates.length>0}get required(){return!(!this.hasFeedback||-1===this.control.formControl.validates.findIndex(e=>String(e.name)===String(z["p"].Required.code)))}get formatData(){this.metaRefresh=this.provideInjectData.metaRefresh;let e,t,o="",n=this.control.formControl.value;const r=this.controlAttr;switch(this.control.code){case z["g"].Input.code:r.bindingPrefix&&(o+=r.bindingPrefix),o+=n||"",r.bindingSuffix&&(o+=r.bindingSuffix),n=o;break;case z["g"].InputNumber.code:if(this.numberFormatter&&(n=this.numberFormatter(n)),n&&void 0!=r.decimalPlaces&&""!==r.decimalPlaces){let e;-1==n.indexOf(".")?(e=r.decimalPlaces,n+="."):e=r.decimalPlaces-(n.length-1-n.indexOf("."));for(let t=0;t<e;t++)n+="0"}return r.zoomType!==z["s"].automatic.code&&null!=n&&""!=n&&r.unit&&(n=n.replace(r.unit,"")),n;case z["g"].Select.code:case z["g"].Radio.code:if(null!=n&&Array.isArray(n)){const e=[];return this.options.find(t=>{for(let o=0;o<n.length;o++)t.value===n[o]&&e.push(t.title)}),e.join(",")}{const e=this.options.find(e=>e.value===n);return e?e.title:""}case z["g"].Checkbox.code:return e=n||[],t=[],e.forEach(e=>{this.options.find(o=>{o.value===e&&t.push(o.title)})}),t.join(" , ");case z["g"].Switch.code:return void 0!==n?!0===n&&void 0!=r.onOpeningValue&&""!==r.onOpeningValue?r.onOpeningValue:!1===n&&void 0!=r.whenClosedValue&&""!==r.whenClosedValue?r.whenClosedValue:n?"是":"否":"";case z["g"].TimePicker.code:return null!=n?Mt()(n).format(r.timeFormat||"HH:mm:ss"):"";case z["g"].DatePicker.code:return null!=n?Mt()(n).format(r.dateFormat||"YYYY-MM-dd"):"";case z["g"].Cascader.code:return null!=n?this.cascaderContextRecursion(n,this.cascaderOptions):"";case z["g"].TreeSelect.code:return null!=n?this.treeSelectContextRecursion(n,this.treeSelectOptions):"";case z["g"].Custom.code:if(this.customFormats&&this.customFormats[r.customFieldName]){const e=this.customFormats[r.customFieldName];if(e&&e.display)return e.display(n,r)}}return n}get uploadType(){const e=this.controlAttr;if(e.supportUploadType!==z["m"].Arbitrarily.code)return e.supportUploadType===z["m"].Custom.code?e.customUploadType:void 0}selectAddItem(e){this.$emit("add-item",e)}cascaderFilter(e,t){return t.some(t=>t.label.toLowerCase().indexOf(e.toLowerCase())>-1)}treeSelectRecursion(e){const t=[];return e.forEach(e=>{e.disabled=!1,e.key=e.value,e.children&&e.children.length>0&&("0"!==this.controlAttr.disableNonLeafNodes&&(e.disabled=!0),this.treeSelectRecursion(e.children))}),t}cascaderRecursion(e){const t=[];return e.forEach(e=>{const o={value:e.value,label:e.title,isLeaf:!1};t.push(o),e.children&&e.children.length>0?o.children=this.cascaderRecursion(e.children):o.isLeaf=!0}),t}cascaderContextRecursion(e,t,o=0){if(e&&e.length>0&&t&&t.length>0&&e.length>o){const n=e[o],r=t.find(e=>e.value===n);if(null!=r){let t=r.label;if(e.length>o+1){const n=this.cascaderContextRecursion(e,r.children,o+1);t+=" / "+n}return t}}return""}treeSelectContextRecursion(e,t){if(e&&t&&t.length>0)for(let o=0;o<t.length;o++){if(t[o].value===e)return t[o].title;if(t[o].children&&t[o].children.length>0){const n=this.treeSelectContextRecursion(e,t[o].children);if(n)return n}}return""}get isIe(){return!!this.provideInjectData.widthCompatibleMode||!!window.ActiveXObject||"ActiveXObject"in window}get divWidthCompatibleToIe(){if(this.isIe){const e=this.parentControlAttr,t=this.index%e.gridColumnConfig.length,o=e.gridColumnConfig[t].value;let n=0;e.gridColumnConfig.forEach(e=>{n+=Number(e.value)});const r=o/n,i=100*Number(r);return`calc( ${i}% - 1px)`}return"100%"}get emptyLayoutContainerStyle(){let e={};if(this.isIe)e={display:"flex","flex-wrap":"wrap"};else{var t;const o=w(null===(t=this.control)||void 0===t||null===(t=t.controlAttr)||void 0===t?void 0:t.gridColumnConfig);e={"grid-template-columns":o}}return e}get generalLayoutContainerStyle(){let e={};if(this.isIe)e={display:"flex","flex-wrap":"wrap"};else{var t,o;const n=$(null===(t=this.parentControl)||void 0===t||null===(t=t.controlAttr)||void 0===t?void 0:t.gridColumnConfig),r=w(null===(o=this.control)||void 0===o||null===(o=o.controlAttr)||void 0===o?void 0:o.gridColumnConfig);e={"grid-column-end":n,"grid-template-columns":r}}return e}initFormControlData(){if(this.control&&this.control.formControl){this.control.code!==z["g"].DatePicker.code&&this.control.code!==z["g"].TimePicker.code||this.control.formControl.value&&("string"===typeof this.control.formControl.value?this.control.formControl.value=Mt()(new Date(this.control.formControl.value)):this.control.formControl.value instanceof Date&&(this.control.formControl.value=Mt()(this.control.formControl.value))),null==this.control.formControl.textNoticeCallback&&(this.control.formControl.textNoticeCallback=()=>this.formatData);const e=this.controlAttr;if(null==e.maxValue||""===e.maxValue){const t="9999999999999999";void 0!=e.decimalPlaces&&""!==e.decimalPlaces&&e.decimalPlaces>0?(e.decimalPlaces>16&&(e.decimalPlaces=16),e.maxValue=Number(t.slice(0,t.length-e.decimalPlaces)+"."+t.slice(t.length-e.decimalPlaces,t.length))):e.maxValue=Number(t)}}}get busAttr(){const e=this.controlAttr;let t,o=[];e.busAttr&&(t=ue.parse(e.busAttr),t[z["e"].SUBMITTED_TYPE.code]&&(o=t[z["e"].SUBMITTED_TYPE.code].split(",").filter(e=>!!e)));const n=Object.values(z["l"]).map(e=>({label:e.name,value:e.code})),r=[];return n.forEach(e=>{o.findIndex(t=>t===e.value)>-1&&r.push(e)}),{[z["e"].SUBMITTED_TYPE.code]:r,[z["e"].IS_SUPPLEMENT.code]:!!t&&t[z["e"].IS_SUPPLEMENT.code],[z["e"].IS_KEY_ELEMENTS.code]:!!t&&t[z["e"].IS_KEY_ELEMENTS.code],[z["e"].IS_TRACK.code]:!!t&&t[z["e"].IS_TRACK.code]}}get submittedType(){return this.busAttr&&this.busAttr[z["e"].SUBMITTED_TYPE.code].length>0?this.busAttr[z["e"].SUBMITTED_TYPE.code]:[]}get submittedTypeStr(){return this.submittedType.map(e=>e.label).join("、")}showPickerTime(e){return!!(e&&e.indexOf("HH:mm")>-1)&&e}clearNoNum(e){return e&&(e=e.replace(/[^\d.]/g,""),e=e.replace(/\.{2,}/g,"."),e=e.replace(".","$#$").replace(/\./g,"").replace("$#$","."),e=e.replace(/^(\-)*(\d+)\.(\d\d).*$/,"$1$2.$3"),e.indexOf(".")<0&&""!=e&&(e=parseFloat(e))),e}validateNumBeyondLimit(e){if(e){const t=e.replace(/[^0-9]/gi,"");return t.length>16}return!1}handleRemove(e){const t=this.formControl.value.indexOf(e),o=this.formControl.value.slice();o.splice(t,1),this.formControl.value=o}beforeUpload(e){const t=[...this.formControl.value,e];return this.formControl.value=t,!1}handleUploadChange(e){let t=[...this.formControl.value];const o=this.controlAttr;o.maxUploadNumber&&o.maxUploadNumber>0&&(t=t.slice(0-Number(o.maxUploadNumber))),t=t.map(e=>(e.response&&(e.url=e.response.url),e)),this.formControl.value=t,e&&e.file&&(void 0===e.file.status||"removed"===e.file.status)&&this.onChange(this.control)}handleMoneyUnitMenuClick(e){this.defaultMoneyUnit=this.moneyUnits.find(t=>t.code===e.key)}getPopupContainer(e){return e.parentNode}onChange(e){var t;!this.control||this.control.type!==z["f"].Base.code&&this.control.type!==z["f"].Senior.code||(this.validateResult=this.formControl.validate(null===(t=e.formControl)||void 0===t?void 0:t.value));this.$emit("change",e)}onClick(e){this.$emit("click",e)}onAddonBeforeHandler(e){this.$emit("addon-before",e)}onAddonAfterHandler(e){this.$emit("addon-after",e)}onInputNumberFocus(e){this.onFocus(e),this.controlAttr.isShowCapitalization&&(this.numberPopoverVisible=!0)}onInputNumberBlur(e){this.onBlur(e),this.controlAttr.isShowCapitalization&&(this.numberPopoverVisible=!1)}onFocus(e){this.$emit("focus",e)}onBlur(e){this.$emit("blur",e)}isRest(e){return!!JSON.parse(this.weekdayList).find(t=>t.calDate===this.DateTime(e.$d))}isWeekday(e){return!!JSON.parse(this.workdayList).find(t=>t.calDate===this.DateTime(e.$d))}isRadingDay(e){return!!JSON.parse(this.traddayList).find(t=>t.calDate===this.DateTime(e.$d))}DateTime(e){const t=e.getFullYear();let o=e.getMonth()+1,n=e.getDate();return o<10&&(o="0"+o),n<10&&(n="0"+n),""+t+o+n}};Object(u["__decorate"])([Object(_["Prop"])()],gt.prototype,"index",void 0),Object(u["__decorate"])([Object(_["Prop"])()],gt.prototype,"control",void 0),Object(u["__decorate"])([Object(_["Prop"])()],gt.prototype,"parentControl",void 0),Object(u["__decorate"])([Object(_["Prop"])({type:Object,default:()=>({})})],gt.prototype,"customFormats",void 0),Object(u["__decorate"])([Object(_["Prop"])({type:Array,default:()=>[]})],gt.prototype,"linkList",void 0),Object(u["__decorate"])([Object(_["Inject"])()],gt.prototype,"provideInjectData",void 0),Object(u["__decorate"])([Object(_["Watch"])("defaultMoneyUnit",{immediate:!0})],gt.prototype,"onDefaultMoneyUnitHandler",null),Object(u["__decorate"])([Object(_["Watch"])("provideInjectData.refreshCheckFeedbackFlag"),Object(_["Watch"])("control.formControl.refreshValidate")],gt.prototype,"onValidationFeedbackHandle",null),Object(u["__decorate"])([Object(_["Watch"])("provideInjectData.formValidateStateResetMark")],gt.prototype,"onFormValidateStateResetMarkHandle",null),Object(u["__decorate"])([Object(_["Watch"])("control.controlAttr.isHideControl")],gt.prototype,"onHideControl",null),gt=Object(u["__decorate"])([Object(_["Options"])({name:"DvFormLayout",filters:{amountCapitalization:Ie,switchEnumConvert:ot,zoomMultiple:qe},components:{StretchText:ut,PlusOutlined:Ct["PlusOutlined"],[q["Form"].name]:q["Form"],[q["FormItem"].name]:q["FormItem"],[q["Input"].name]:q["Input"],[q["Textarea"].name]:q["Textarea"],[q["AutoComplete"].name]:q["AutoComplete"],[q["InputNumber"].name]:q["InputNumber"],[q["Select"].name]:q["Select"],[q["Select"].Option.displayName+""]:q["Select"].Option,[q["Select"].OptGroup.displayName+""]:q["Select"].OptGroup,[q["Radio"].name]:q["Radio"],[q["RadioGroup"].name]:q["RadioGroup"],[q["Checkbox"].name]:q["Checkbox"],[q["CheckboxGroup"].name]:q["CheckboxGroup"],[q["Switch"].name]:q["Switch"],[q["TimePicker"].name]:q["TimePicker"],[q["DatePicker"].name]:q["DatePicker"],[q["Slider"].name]:q["Slider"],[q["AutoComplete"].name]:q["AutoComplete"],[q["Cascader"].name]:q["Cascader"],[q["TreeSelect"].name]:q["TreeSelect"],[q["Tooltip"].name]:q["Tooltip"],[q["InputPassword"].name]:q["InputPassword"],[q["Popover"].name]:q["Popover"],[q["Popconfirm"].name]:q["Popconfirm"],[q["Timeline"].name]:q["Timeline"],[q["TimelineItem"].name]:q["TimelineItem"],[q["Rate"].name]:q["Rate"],[q["Dropdown"].name]:q["Dropdown"],[q["Menu"].name]:q["Menu"],[q["Menu"].Item.name]:q["Menu"].Item,[q["Upload"].name]:q["Upload"],[q["Button"].name]:q["Button"],[q["Divider"].name]:q["Divider"],[q["DatePicker"].MonthPicker.name]:q["DatePicker"].MonthPicker,[ut.name]:ut,[q["Row"].name]:q["Row"],[q["Col"].name]:q["Col"],VNodes:(e,{attrs:t})=>t.vnodes,QuestionCircleOutlined:Ct["QuestionCircleOutlined"],ClockCircleOutlined:Ct["ClockCircleOutlined"],DownOutlined:Ct["DownOutlined"],UploadOutlined:Ct["UploadOutlined"],SearchOutlined:Ct["SearchOutlined"]}})],gt);var Nt=gt;o("a86c");const Jt=st()(Nt,[["render",I],["__scopeId","data-v-439fd898"]]);var Xt=Jt;class ft{formatDateTime(e,t="YYYY-MM-dd HH:mm:ss"){const o=/(YY|YYYY|MM|dd|HH|mm|ss|ww|WW)/g;if(!e)return"";if(!o.test(t))throw new Error(`The defined format ${t} is incorrect,Please enter 'YYYY or YY' for year,MM for month, dd for day,ww or WW for week,HH for hours,mm for minutes,ss for seconds.`);"string"===typeof e&&8===e.length?e=[e.substr(0,4),e.substr(4,2),e.substr(6,2)].join("/"):isNaN(Number(e))||(e=Number(e));const n=new Date(e);if("Invalid Date"===String(n))throw new Error(`Time format unrecognized by ${e}, Please enter time stamp or legal time format.`);const r=["日","一","二","三","四","五","六"],i=String(n.getFullYear()),a=n.getMonth()+1>9?String(n.getMonth()+1):"0"+String(n.getMonth()+1),l=n.getDate()>9?String(n.getDate()):"0"+String(n.getDate()),c=n.getDay(),s=0!==c?c:"日",d=n.getHours()>9?String(n.getHours()):"0"+String(n.getHours()),u=n.getMinutes()>9?String(n.getMinutes()):"0"+n.getMinutes(),C=n.getSeconds()>9?String(n.getSeconds()):"0"+String(n.getSeconds());let Y="";return/YYYY|YY/g.test(t)?t.replace(/YYYY|YY/g,(e,t,o)=>("YY"===e&&(Y=o.replace("YY",i.slice(2))),"YYYY"===e&&(Y=o.replace("YYYY",i)),Y)):Y=t,Y=Y.replace(/MM/g,a),Y=Y.replace(/dd/g,l),Y=Y.replace(/HH/g,d),Y=Y.replace(/mm/g,u),Y=Y.replace(/ss/g,C),Y=Y.replace(/ww/g,s),Y=Y.replace(/WW/g,r[c]),Y}dateSizeCompare(e,t){return new Date(Date.parse(e.replace(/-/g,"/"))).getTime()>new Date(Date.parse(t.replace(/-/g,"/"))).getTime()}}const Ot=new ft;var yt;(function(e){e["IsHideControl"]="isHideControl",e["IsRequiredValidate"]="isRequiredValidate",e["FormFieldDescribe"]="formFieldDescribe",e["FieldDefaultValue"]="fieldDefaultValue",e["TitleWidth"]="titleWidth",e["IsBoldTitle"]="isBoldTitle",e["IsHideTitle"]="isHideTitle",e["TitleColor"]="titleColor",e["Placeholder"]="placeholder",e["Tips"]="tips",e["IsNotEdit"]="isNotEdit",e["BindingPrefix"]="bindingPrefix",e["BindingSuffix"]="bindingSuffix",e["BuiltInFrontLabel"]="builtInFrontLabel",e["BuiltInPostLabel"]="builtInPostLabel",e["ControlWidth"]="controlWidth",e["IsPasswordBox"]="isPasswordBox",e["InitRowHeight"]="initRowHeight",e["IsFixedRowHeight"]="isFixedRowHeight",e["FormatType"]="formatType",e["MinValue"]="minValue",e["MaxValue"]="maxValue",e["Step"]="step",e["DecimalPlaces"]="decimalPlaces",e["ThousandthPercentileFormat"]="thousandthPercentileFormat",e["Unit"]="unit",e["ZoomType"]="zoomType",e["ZoomMultiple"]="zoomMultiple",e["IsShowCapitalization"]="isShowCapitalization",e["IsLineFeedDisplay"]="isLineFeedDisplay",e["IsOptionType"]="isOptionType",e["OptionConfig"]="optionConfig",e["DateFormat"]="dateFormat",e["TimeFormat"]="timeFormat",e["IsSupportMultiple"]="isSupportMultiple",e["MaxUploadNumber"]="maxUploadNumber",e["LimitSize"]="limitSize",e["SupportUploadType"]="supportUploadType",e["CustomUploadType"]="customUploadType",e["ExtendUploadType"]="extendUploadType",e["AttachmentExtendProperties"]="attachmentExtendProperties",e["IsMultipleChoice"]="isMultipleChoice",e["IsSearchable"]="isSearchable",e["CanAddEntry"]="canAddEntry",e["IsClearButton"]="isClearButton",e["OnOpeningValue"]="onOpeningValue",e["WhenClosedValue"]="whenClosedValue",e["OnOpeningText"]="onOpeningText",e["WhenClosedText"]="whenClosedText",e["CustomFieldName"]="customFieldName",e["TextFold"]="textFold",e["HiddenDropdown"]="hiddenDropdown",e["BusAttr"]="busAttr",e["EnableAutoComplete"]="enableAutoComplete",e["AutoCompleteOptions"]="autoCompleteOptions",e["IsTreeOpen"]="isTreeOpen",e["CheckboxStyle"]="checkboxStyle",e["ItemWidth"]="itemWidth",e["ChangeOnSelect"]="changeOnSelect",e["TextareaRows"]="textareaRows",e["IsShowHoliday"]="isShowHoliday"})(yt||(yt={}));class Qt{constructor(e={}){d(this,"id",void 0),d(this,"dvForm",void 0),d(this,"edit",void 0),d(this,"formatType",void 0),d(this,"apiMetaRefresh",void 0),d(this,"oldVal",void 0),this.id=e.id||this.getUuid(),this.dvForm=e.dvForm||new _["Vue"](Pt),this.edit=e.edit,this.formatType=e.formatType||"default"}get mathjs(){return window.$app.config.globalProperties.$mathjs?window.$app.config.globalProperties.$mathjs:{}}get formData(){if(this.apiMetaRefresh=this.dvForm.metaRefresh,this.dvForm.desForm&&this.dvForm.desForm.formGroup){let e=this.generateData(this.dvForm.desForm.formGroup);return this.oldVal&&(e=this.contrast(this.oldVal,e),Object.keys(e).length||(e=null)),e}return null}get formAllData(){if(this.apiMetaRefresh=this.dvForm.metaRefresh,this.dvForm.desForm&&this.dvForm.desForm.formGroup){const e=this.generateData(this.dvForm.desForm.formGroup);return e}return null}get encodedFormData(){if(this.apiMetaRefresh=this.dvForm.metaRefresh,this.dvForm.desForm&&this.dvForm.desForm.formGroup){const e=this.generateData(this.dvForm.desForm.formGroup);return this.jsonToFormData(e)}return null}setFormData(e,t=!1,o=!1,n){this.dvForm.desForm.formGroup?this.setFormDataInner(e,t,o):setTimeout(()=>{this.setFormDataInner(e,t,o)}),n&&(this.oldVal=n)}getControl(e,t,o=!0){if(e&&(null==t&&(this.dvForm.desForm.formGroup?t=this.dvForm.desForm.formGroup.controls:o&&console.log("表单对象尚未初始化完成...")),t&&Object.keys(t).length>0))for(const n of Object.keys(t)){if(n===e)return t[n];if(t[n].controls&&Object.keys(t[n].controls).length>0){const o=this.getControl(e,t[n].controls);if(null!=o)return o}}return null}getValue(e){const t=this.getControl(e);return t?this.decodeData(t,!1):null}setValue(e,t,o=!1,n=!0){let r=this.getControl(e);null==r?setTimeout(()=>{r=this.getControl(e),this.setControlValue(r,e,t,o,n)}):this.setControlValue(r,e,t,o,n)}resetValue(){this.dvForm.formatDesForm(!0)}getText(e){const t=this.getControl(e);return t?t.text():""}getOptions(e){const t=this.getControl(e);return t&&t.controlAttr?Re(t.controlAttr):[]}setOptions(e,t,o){let n=this.getControl(e);null==n?setTimeout(()=>{n=this.getControl(e),this.setControlOptions(n,e,t,o)}):this.setControlOptions(n,e,t,o)}getAttribute(e,t){const o=this.getControl(e);if(o&&o.controlAttr)return o.controlAttr[t]}setAttribute(e,t,o){let n=this.getControl(e);null==n?setTimeout(()=>{n=this.getControl(e),this.setControlAttribute(n,t,o)}):this.setControlAttribute(n,t,o)}getValidate(e,t){const o=this.getControl(e);if(o)return o.getValidate(t)}removeValidate(e,t){const o=this.getControl(e);if(o){const e=o.validates;if(e&&e.length>0){const o=e.findIndex(e=>e.name===t);-1!==o&&e.splice(o,1)}}}removeAllValidates(e){const t=this.getControl(e);t&&(t.validates=[])}getValidates(e){const t=this.getControl(e);return t?t.validates:[]}setRequiredValidate(e,t){t?this.setValidate(e,{ruleType:z["p"].Required.code}):this.removeValidate(e,z["p"].Required.code)}setValidate(e,t,o=!1){let n=this.getControl(e);null==n?setTimeout(()=>{n=this.getControl(e),n&&this.setValidateInner(n,t,o)}):this.setValidateInner(n,t,o)}validateTips(e){return je.validateTips(this,e)}validateReport(e,t,o=!0){if(null==t&&(t=[]),null==e&&(e=this.dvForm.desForm.formGroup,o&&(this.dvForm.refreshCheckFeedbackFlag=(new Date).getTime())),null!=e)for(const n of Object.keys(e.controls))if(e.controls[n]instanceof ke)this.validateReport(e.controls[n],t);else if(e.controls[n]instanceof Ge&&!e.controls[n].controlAttr.isHideControl){const o=e.controls[n].validate();o.validateStatus===z["q"].Error.code&&t.push({key:e.controls[n].key,name:e.controls[n].controlAttr.formFieldDescribe,errorMsg:o.errorMsg,controlType:e.controls[n].controlAttr.controlType})}return t}validate(e=!0){const t=this.validateReport(void 0,void 0,e);return!(t.length>0)}refreshValidate(e){let t=this.getControl(e);null==t?setTimeout(()=>{t=this.getControl(e),t["refreshValidate"]=(new Date).getTime()}):t["refreshValidate"]=(new Date).getTime()}resetFormValidateState(){this.dvForm.formValidateStateResetMark=(new Date).getTime()}setFormatDisplayAndOutput(e,t){e&&(this.dvForm.customFormats[e]=t),this.refreshAndUpdateData()}refreshAndUpdateData(){this.dvForm.onRefreshArgumentsHandler((new Date).getTime())}getControlEl(e){const t=this.getControl(e);if(null!=t&&t.controlAttr){const e=document.getElementsByClassName("form-model-item-"+t.controlAttr.boundProperty);if(null!=e&&e.length>0)return e[0]}return null}checkHasUploadControl(e){if(e instanceof ke){const t=e;for(const e of Object.keys(t.controls))if(t.controls[e]instanceof ke){const o=this.checkHasUploadControl(t.controls[e]);if(o)return o}else if(t.controls[e]instanceof Ge&&t.controls[e].code===z["g"].Upload.code)return!0}return!1}jsonToFormData(e){const t=new FormData;return null!=e?(Object.keys(e).forEach(o=>{null!=e[o]&&e[o]instanceof Array&&e[o].length>0&&e[o][0]instanceof File?e[o].forEach(e=>{t.append(o,e)}):t.append(o,e[o])}),t):t}setFieldChangeHistory(e){e=e||{};for(const t of Object.keys(e)){let o=this.getControl(t,void 0,!1);if(null==o)setTimeout(()=>{if(o=this.getControl(t,void 0,!1),o){const n=(e[t]||[]).sort((e,t)=>{const o=new Date(e.time).getTime(),n=new Date(t.time).getTime();return n-o});o.history=n}});else if(o=this.getControl(t,void 0,!1),o){const n=(e[t]||[]).sort((e,t)=>{const o=new Date(e.time).getTime(),n=new Date(t.time).getTime();return n-o});o.history=n}}}hideLayout(e,t=!0){if(e){const o=document.getElementsByClassName("lo-form-layout-"+e);if(o&&o.length>0)for(let e=0;e<o.length;e++)o[e].style.display=t?"none":"grid"}}setFormDataInner(e,t,o){if(e)for(const n of Object.keys(e))"string"===typeof e[n]||"number"===typeof e[n]?this.setValue(n,e[n],t,!1):this.setFormData(e[n],t,o);o&&this.validate()}setControlValue(e,t,o,n,r=!0){if(e){switch(e.code){case z["g"].InputNumber.code:o&&e.controlAttr.zoomMultiple&&(e.controlAttr.zoomType===z["s"].enlarge.code?o=this.mathjs.format(this.mathjs.evaluate(`${o} / ${e.controlAttr.zoomMultiple}`),{notation:"fixed"}):e.controlAttr.zoomType===z["s"].narrow.code&&(o=this.mathjs.format(this.mathjs.evaluate(`${o} * ${e.controlAttr.zoomMultiple}`),{notation:"fixed"}))),e.value=void 0!=o?o:"";break;case z["g"].Select.code:e.controlAttr.isMultipleChoice&&(o?"string"===typeof o&&(o=o.split(",")):o=[]),e.value=o;break;case z["g"].Checkbox.code:case z["g"].Cascader.code:o=o?o.split(","):[],e.value=o;break;case z["g"].Switch.code:e.controlAttr.onOpeningValue?o=!0===o||o===e.controlAttr.onOpeningValue:e.controlAttr.whenClosedValue&&(o=!(!1===o||o===e.controlAttr.whenClosedValue)),e.value=o;break;case z["g"].TimePicker.code:o?("string"===typeof o?o=Mt()(new Date(this.nowDateStr()+" "+o)):o instanceof Date&&(o=Mt()(o)),e.value=o):e.value=null;break;case z["g"].DatePicker.code:o?("string"===typeof o?o=Mt()(o,e.dateFormat):o instanceof Date&&(o=Mt()(o)),e.value=o):e.value=null;break;default:e.value=o}n&&this.setAttribute(t,yt.FieldDefaultValue,JSON.stringify(e.value)),r&&(e["refreshValidate"]=(new Date).getTime())}}setControlOptions(e,t,o,n){e&&e.controlAttr&&(we(e.controlAttr,o),this.setAttribute(t,yt.IsOptionType,z["k"].Fixed.code),this.setAttribute(t,yt.OptionConfig,o)),n&&this.setValue(t,n,!0)}setControlAttribute(e,t,o){e&&t&&(e.controlAttr[t]=o)}setValidateInner(e,t,o=!1){null!=t&&t.ruleType&&(t=Ae["a"].getBuiltInValidationRules(t,e.controlAttr)),null!=t&&(o&&(e.validates=[]),e.addValidate(t))}generateData(e,t={}){if(e instanceof ke){const o=e;for(const e of Object.keys(o.controls))o.controls[e]instanceof ke?t[e]=this.generateData(o.controls[e],t[e]):o.controls[e]instanceof Ge&&(t[e]=this.decodeData(o.controls[e]))}return t}decodeData(e,t=!0){let o=e.value||"";switch(e.code){case z["g"].InputNumber.code:o&&e.controlAttr.zoomMultiple&&(e.controlAttr.zoomType===z["s"].enlarge.code?o=this.mathjs.format(this.mathjs.evaluate(`${o} * ${e.controlAttr.zoomMultiple}`),{notation:"fixed"}):e.controlAttr.zoomType===z["s"].narrow.code?o=this.mathjs.format(this.mathjs.evaluate(`${o} / ${e.controlAttr.zoomMultiple}`),{notation:"fixed"}):e.controlAttr.zoomType===z["s"].automatic.code&&(o=this.mathjs.format(this.mathjs.evaluate(`${o} * ${e.controlAttr.zoomMultiple}`),{notation:"fixed"}))),0===e.value&&(o=0);break;case z["g"].Select.code:e.controlAttr.isMultipleChoice&&o&&Array.isArray(o)&&(o=o.join(","));break;case z["g"].Checkbox.code:o&&t&&(o=o.join(","));break;case z["g"].TimePicker.code:o&&(o=Mt()(o).format(e.controlAttr.timeFormat||"LTS"));break;case z["g"].DatePicker.code:o&&(o=Mt()(o).format(e.controlAttr.dateFormat||"YYYY-MM-DD"));break;case z["g"].Cascader.code:o&&(o=o.join(","));break;case z["g"].Switch.code:o=!!o,e.controlAttr&&(!0===o&&void 0!=e.controlAttr.onOpeningValue&&""!==e.controlAttr.onOpeningValue?o=e.controlAttr.onOpeningValue:!1===o&&void 0!=e.controlAttr.whenClosedValue&&""!==e.controlAttr.whenClosedValue&&(o=e.controlAttr.whenClosedValue));break;case z["g"].Custom.code:if(e.controlAttr&&e.controlAttr.customFieldName){const t=this.dvForm.customFormats[e.controlAttr.customFieldName];t&&t.output&&(o=t.output(o,e.controlAttr))}}return o}nowDateStr(){const e=new Date,t=("0"+e.getDate()).slice(-2),o=("0"+(e.getMonth()+1)).slice(-2);return e.getFullYear()+"/"+o+"/"+t}getUuid(){const e=[],t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";for(let n=0;n<36;n++)e[n]=t.substr(Math.floor(16*Math.random()),1);e[14]="4",e[19]=t.substr(3&e[19]|8,1),e[8]=e[13]=e[18]=e[23]="-";const o=e.join("");return o}contrast(e,t){const o={},n=[];if(!t||!e)return o.changeLog="必传参数不存在",o;const r=e.handlerFlag;for(const i in this.dvForm.desForm.formGroup.controls){if(!e[i]&&!t[i])continue;const a=this.getControl(i);if(a&&this.getChangedInfo(a,e[i],t[i])){let l=e[i];const c=t[i],s={};if(a.code!==z["g"].Custom.code){s.field_cd=i;const e=a.controlAttr.formFieldDescribe;s.field_nm=e,s.field_key=c;const t=this.translateDictionaries(a,i,c);s.field_value=t,s.is_change="1",s.field_old_key=l;const d=this.translateDictionaries(a,i,l);s.field_old_value=d,o[i]=c,n.push(s),"null"!==l&&"undefined"!==l||(l="");const u=l?d:"空",C=c?t:"空";o.changeLog=o.changeLog?o.changeLog+",":"",o.changeLog="add"===r?o.changeLog+"新增【"+e+"】为“"+C+"”":o.changeLog+"修改【"+e+"】由“"+u+"”修改为“"+C+"”"}else o[i]=c}}return o.fieldInfoArr=n,o}getChangedInfo(e,t,o){if(t+="",o+="","null"===t||"undefined"===t)return!0;let n=!0;switch(e.code){case z["g"].Input.code:t===o&&(n=!1);break;case z["g"].InputNumber.code:t===o&&(n=!1);break;case z["g"].Textarea.code:t===o&&(n=!1);break;case z["g"].Slider.code:t===o&&(n=!1);break;case z["g"].Rate.code:t===o&&(n=!1);break;case z["g"].Select.code:t===o&&(n=!1);break;case z["g"].Checkbox.code:t===o&&(n=!1);break;case z["g"].Radio.code:t===o&&(n=!1);break;case z["g"].TimePicker.code:t===o&&(n=!1);break;case z["g"].DatePicker.code:t=Ot.formatDateTime(t,"YYYY-MM-dd"),o=Ot.formatDateTime(o,"YYYY-MM-dd"),t===o&&(n=!1);break;case z["g"].Cascader.code:t===o&&(n=!1);break;case z["g"].TreeSelect.code:t===o&&(n=!1);break;case z["g"].Switch.code:t===o&&(n=!1);break;case z["g"].Custom.code:break}return n}translateDictionaries(e,t,o){let n=o;switch(e.code){case z["g"].Input.code:break;case z["g"].InputNumber.code:break;case z["g"].Textarea.code:break;case z["g"].Slider.code:break;case z["g"].Rate.code:break;case z["g"].Select.code:e.controlAttr.generalDictionaryOptions?e.controlAttr.generalDictionaryOptions.forEach(e=>{e.value===o&&(n=e.title)}):e.controlAttr.optionConfig.forEach(e=>{e.value===o&&(n=e.title)});break;case z["g"].Checkbox.code:n="",o&&(e.controlAttr.generalDictionaryOptions?e.controlAttr.generalDictionaryOptions.forEach(e=>{o.split(",").forEach(t=>{e.value===t&&(n=n+e.title+",")})}):e.controlAttr.optionConfig.forEach(e=>{o.split(",").forEach(t=>{e.value===t&&(n=n+e.title+",")})}),n=n.substring(0,n.length-1));break;case z["g"].Radio.code:e.controlAttr.generalDictionaryOptions?e.controlAttr.generalDictionaryOptions.forEach(e=>{e.value===o&&(n=e.title)}):e.controlAttr.optionConfig.forEach(e=>{e.value===o&&(n=e.title)});break;case z["g"].TimePicker.code:break;case z["g"].DatePicker.code:n=Ot.formatDateTime(o,"YYYY-MM-dd");break;case z["g"].Cascader.code:n="",o?(Ze.treeNodeConvertToArray(e.controlAttr.treeShapeOptions,[],"children").forEach(e=>{o.split(",").forEach(t=>{e.value===t&&(n=n+e.title+",")})}),n=n.substring(0,n.length-1)):n="";break;case z["g"].TreeSelect.code:n="",Ze.treeNodeConvertToArray(e.controlAttr.treeShapeOptions,[],"children").forEach(e=>{e.value===o&&(n+=e.title)});break;case z["g"].Switch.code:n=o?"开":"关";break;case z["g"].Custom.code:break;default:n=o;break}return n}getFormSubmittedType(e,t){const o=t&&t.length>0?t:[],n=this.dvForm.desForm.controls[0].subControls,r=He.loadResource(this.dvForm.desForm.formId).controls[0].subControls,i=[];o.length>0?(n.forEach((t,n)=>{t.formControl?e.getAttribute(t.formControl.key,yt.IsHideControl)||(i.push(t.formControl.key),e.setAttribute(t.formControl.key,yt.IsHideControl,r[n].controlAttr.isHideControl),this.handleSubmittedData(i,o,t)):t.subControls&&t.subControls.forEach((t,a)=>{e.getAttribute(t.formControl.key,yt.IsHideControl)||(i.push(t.formControl.key),e.setAttribute(t.formControl.key,yt.IsHideControl,r[n].subControls[a].controlAttr.isHideControl),this.handleSubmittedData(i,o,t))})}),i.forEach(t=>{e.setAttribute(t,yt.IsHideControl,!0)})):n.forEach((t,o)=>{t.formControl?e.setAttribute(t.formControl.key,yt.IsHideControl,r[o].controlAttr.isHideControl):t.subControls&&t.subControls.forEach((t,n)=>{e.setAttribute(t.formControl.key,yt.IsHideControl,r[o].subControls[n].controlAttr.isHideControl)})})}handleSubmittedData(e,t,o){let n=[];if(""!==JSON.parse(o.formControl.controlAttr.busAttr).submittedType){n=JSON.parse(o.formControl.controlAttr.busAttr).submittedType.split(",");for(let r=0;r<t.length;r++)if(n.filter(e=>e===t[r]).length>0&&e.indexOf(o.formControl.key)>=0){e.splice(e.indexOf(o.formControl.key),1);break}}}getSubmittedType(){const e=[];return Object.values(z["l"]).forEach(t=>{e.push({value:t.code,label:t.name})}),e}}let bt=class extends _["Vue"]{constructor(...e){super(...e),d(this,"formId",void 0),d(this,"mode",void 0),d(this,"styleMode",void 0),d(this,"srcDesForm",void 0),d(this,"edit",void 0),d(this,"colon",void 0),d(this,"labelSpan",void 0),d(this,"controlSpan",void 0),d(this,"formApi",void 0),d(this,"history",void 0),d(this,"customFormats",void 0),d(this,"refreshArguments",void 0),d(this,"widthCompatibleMode",void 0),d(this,"formTheme",void 0),d(this,"linkList",void 0),d(this,"metaRefresh",(new Date).getTime()),d(this,"refreshCheckFeedbackFlag",(new Date).getTime()),d(this,"sysDictDetailOptions",[]),d(this,"sysDictTreeDetailOptions",[]),d(this,"formValidateStateResetMark",(new Date).getTime()),d(this,"desForm",new Me),d(this,"provideInjectData",{edit:this.$props.edit,labelSpan:this.$props.labelSpan,controlSpan:this.$props.controlSpan,colon:this.$props.colon,metaRefresh:this.metaRefresh,refreshCheckFeedbackFlag:this.refreshCheckFeedbackFlag,widthCompatibleMode:this.$props.widthCompatibleMode,formValidateStateResetMark:this.formValidateStateResetMark})}onRefreshArgumentsHandler(e){this.metaRefresh=e}onPropFormValidateStateResetHandler(e){this._provided&&(this._provided.provideInjectData.formValidateStateResetMark=this.formValidateStateResetMark)}onPropHandler(e){this&&(this.provideInjectData.edit=this.edit,this.provideInjectData.labelSpan=this.labelSpan,this.provideInjectData.controlSpan=this.controlSpan,this.provideInjectData.metaRefresh=this.metaRefresh,this.provideInjectData.refreshCheckFeedbackFlag=this.refreshCheckFeedbackFlag,this.provideInjectData.widthCompatibleMode=this.widthCompatibleMode)}get loFormTheme(){const e=window,t=["default","gray"],o=t.indexOf(this.formTheme)>-1?this.formTheme:e.$loFormTheme;return t.indexOf(o)>-1?o:t[0]}linkClick(e){this.$emit("linkClick",e)}created(){this.initDict()}mounted(){this.formId?this.initDesForm():this.desForm&&this.formatDesForm()}onFormIdChanged(){this.initDesForm()}onSrcDesFormChanged(e){null!=e&&(this.desForm=ue.copy(e),this.formatDesForm())}initDesForm(){null!=this.formId&&""!==this.formId&&(this.desForm=He.loadResource(this.formId),this.formatDesForm())}initDict(){this.sysDictDetailOptions=He.sysDictDetailOptions,this.sysDictTreeDetailOptions=He.sysDictTreeDetailOptions}formatDesForm(e){if(null!=this.desForm&&null!=this.desForm.controls&&this.desForm.controls.length>0){const o=this.analysisBindingObjects();var t;if(this.desForm.formGroup=this.generateFormGroup(o),this.initControlForm(this.desForm.controls,this.desForm.formGroup),this.generateFormApi(e),null!=this.history)null===(t=this.formApi)||void 0===t||t.setFieldChangeHistory(this.history);this.$emit("complete")}}fixFormLayout(){this.$nextTick(()=>{console.log("自动修改表单宽度");try{const e=this.$refs.formView,t=e.getElementsByClassName("lo-control-container"),o=t.length;for(let n=0;n<o-1;n++)t[n].offsetLeft===t[n+1].offsetLeft&&t[n].clientWidth<t[n+1].clientWidth?t[n].style.width="200%":t[n].style.width="100%";if(o>2){const e=t[o-1],n=t[o-2];e.clientWidth===n.clientWidth&&e.offsetLeft!==n.offsetLeft?e.style.width="200%":e.style.width="100%"}}catch(e){console.error("自动修改表单宽度错误"+e)}})}generateFormApi(e){if(e){const e=new Qt(this.formApi);e.dvForm=this,this.$emit("update:formApi",e)}else if(this.formApi)this.formApi.dvForm=this,this.$emit("update:formApi",this.formApi);else{const e=new Qt({dvForm:this});this.$emit("update:formApi",e)}}analysisBindingObjects(){const e=this.objectExtraction(this.desForm.controls);let t={};return null!=e&&e.length>0&&e.forEach(e=>{Object.keys(e).length>0&&(t=this.objectMerge(t,e[Object.keys(e)[0]]))}),t}objectExtraction(e,t=[]){return e.forEach(e=>{if(e.type===z["f"].Layout.code){if(null!=e.subControls&&e.subControls.length>0)return this.objectExtraction(e.subControls,t)}else{const o=null===e||void 0===e?void 0:e.controlAttr,n=o.boundProperty;if(n){(o.generalDictionary||o.treeShape)&&o.isOptionType===z["k"].Dynamic.code&&(o.dynamicOptionType===z["d"].GeneralDictionary.code?o.generalDictionaryOptions=this.findDictOptions(o.generalDictionary,this.sysDictDetailOptions):o.dynamicOptionType===z["d"].TreeDictionary.code&&(o.treeShapeOptions=this.findDictOptions(o.treeShape,this.sysDictTreeDetailOptions)));const r=n.split(".");let i={};const a={lastMd:i};r.forEach((t,o,n)=>{if(o<n.length-1)i[t]={},i=i[t];else{const o=ue.parse(e.controlAttr.fieldDefaultValue)||"";i[t]=this.securityValue(e,o)}}),t.push(a.lastMd)}}}),t}findDictOptions(e,t){if(null!=t&&t.length>0)for(const o of t){if(o.key===e)return(o.children||[]).forEach(e=>{e.disabled=!1}),o.children||[];if(o.children&&o.children.length>0){const t=this.findDictOptions(e,o.children);if(null!=t&&t.length>0)return t}}return[]}securityValue(e,t){if(e.code===z["g"].DatePicker.code||e.code===z["g"].TimePicker.code)return t||null;if(e.code===z["g"].TreeSelect.code){const o=Re(e.controlAttr);return o&&o.length>0&&t&&(t=this.treeSelectRecursion(t,o)),t}return e.code===z["g"].Upload.code?t||[]:e.code===z["g"].Switch.code?e.controlAttr&&e.controlAttr.onOpeningValue?!0===t||t===e.controlAttr.onOpeningValue:e.controlAttr&&e.controlAttr.whenClosedValue?!1!==t&&t!==e.controlAttr.whenClosedValue:t:t}treeSelectRecursion(e,t){for(let o=0;o<t.length;o++){if(t[o].key===e)return t[o].value;if(t[o].children&&t[o].children.length>0){const n=this.treeSelectRecursion(e,t[o].children);if(n)return n}}return""}objectMerge(e,t){let o;for(o in t)e[o]&&"[object Object]"===e[o].toString()&&t[o]&&"[object Object]"===t[o].toString()?e[o]=this.objectMerge(e[o],t[o]):e[o]=e[o]=t[o];return e}generateFormGroup(e){const t=new ke;return null!=e&&Object.keys(e).forEach(o=>{if("[object Object]"===Object.prototype.toString.call(e[o])){const n=this.generateFormGroup(e[o]);n.key=o,t.addControl(o,n)}else{const n=new Ge(e[o]);n.key=o,t.addControl(o,n)}}),t}initControlForm(e,t){e.forEach(e=>{if(e.type===z["f"].Base.code||e.type===z["f"].Senior.code){var o;const n=null===(o=e.controlAttr)||void 0===o?void 0:o.boundProperty;if(n){const o=n.split(".");if(o.length>1&&null!=t){const n=this.findFormControlByProperty(o.slice(1,o.length),t);n.code=e.code,n.controlAttr=e.controlAttr,Ae["a"].fillCheckRule(n,e.controlAttr),e["formControl"]=n}}}else e.type===z["f"].Layout.code&&null!=e.subControls&&e.subControls.length>0&&this.initControlForm(e.subControls,t)})}findFormControlByProperty(e,t){let o=t;for(let n=0;n<e.length;n++){const t=o.get(e[n]);if(!(n<e.length-1&&null!=t&&t instanceof ke))return t;o=t}}onChange(e){this.$emit("change",e)}selectAddItem(e){this.$emit("add-item",e)}onClick(e){this.$emit("click",e)}onAddonBeforeHandler(e){this.$emit("addon-before",e)}onAddonAfterHandler(e){this.$emit("addon-after",e)}onFocus(e){this.$emit("focus",e)}onBlur(e){this.$emit("blur",e)}};Object(u["__decorate"])([Object(_["Prop"])()],bt.prototype,"formId",void 0),Object(u["__decorate"])([Object(_["Prop"])()],bt.prototype,"mode",void 0),Object(u["__decorate"])([Object(_["Prop"])({type:String,default:"default"})],bt.prototype,"styleMode",void 0),Object(u["__decorate"])([Object(_["Prop"])()],bt.prototype,"srcDesForm",void 0),Object(u["__decorate"])([Object(_["Prop"])({default:!1,type:Boolean})],bt.prototype,"edit",void 0),Object(u["__decorate"])([Object(_["Prop"])({default:!1,type:Boolean})],bt.prototype,"colon",void 0),Object(u["__decorate"])([Object(_["Prop"])({default:"130px",type:String})],bt.prototype,"labelSpan",void 0),Object(u["__decorate"])([Object(_["Prop"])({default:void 0})],bt.prototype,"controlSpan",void 0),Object(u["__decorate"])([Object(_["Prop"])({type:Object})],bt.prototype,"formApi",void 0),Object(u["__decorate"])([Object(_["Prop"])({type:Array})],bt.prototype,"history",void 0),Object(u["__decorate"])([Object(_["Prop"])({type:Object,default:()=>({})})],bt.prototype,"customFormats",void 0),Object(u["__decorate"])([Object(_["Prop"])()],bt.prototype,"refreshArguments",void 0),Object(u["__decorate"])([Object(_["Prop"])({default:!1})],bt.prototype,"widthCompatibleMode",void 0),Object(u["__decorate"])([Object(_["Prop"])({type:String})],bt.prototype,"formTheme",void 0),Object(u["__decorate"])([Object(_["Prop"])({type:Array})],bt.prototype,"linkList",void 0),Object(u["__decorate"])([Object(_["Provide"])()],bt.prototype,"provideInjectData",void 0),Object(u["__decorate"])([Object(_["Watch"])("refreshArguments",{immediate:!0})],bt.prototype,"onRefreshArgumentsHandler",null),Object(u["__decorate"])([Object(_["Watch"])("formValidateStateResetMark")],bt.prototype,"onPropFormValidateStateResetHandler",null),Object(u["__decorate"])([Object(_["Watch"])("edit"),Object(_["Watch"])("labelSpan"),Object(_["Watch"])("controlSpan"),Object(_["Watch"])("metaRefresh"),Object(_["Watch"])("refreshCheckFeedbackFlag"),Object(_["Watch"])("widthCompatibleMode")],bt.prototype,"onPropHandler",null),Object(u["__decorate"])([Object(_["Watch"])("formId")],bt.prototype,"onFormIdChanged",null),Object(u["__decorate"])([Object(_["Watch"])("srcDesForm",{immediate:!0})],bt.prototype,"onSrcDesFormChanged",null),bt=Object(u["__decorate"])([Object(_["Options"])({name:"DyForm",components:{DvFormLayout:Xt}})],bt);var Bt=bt;o("0437");const jt=st()(Bt,[["render",a],["__scopeId","data-v-1fb7b4f2"]]);var Pt=jt,Ht=o("bd2d");o("b20f"),o("2a2b");const At={DyForm:Pt},Ft=function(e,t){if(Ft.installed)return;Ft.installed=!0,Object.keys(At).forEach(t=>{e.component(t,At[t])}),Mt.a.locale("zh-cn");const o=t&&t.url?t.url:"./resources/json/"+Xe;e.config.globalProperties.$qlForm={url:o,dictUrl:t&&t.dictUrl?t.dictUrl:"",dictRestLoadMode:t&&t.dictRestLoadMode?t.dictRestLoadMode:"GET",dictRestLoadBody:t&&t.dictRestLoadBody?t.dictRestLoadBody:void 0,dictRestLoadHeaders:t&&t.dictRestLoadHeaders?t.dictRestLoadHeaders:void 0,dictRestLoadOnlyBody:!(!t||!t.dictRestLoadOnlyBody)&&t.dictRestLoadOnlyBody,loadMode:t&&t.loadMode?t.loadMode:"static",appId:t&&t.appId?t.appId:"",onlySimpleLoadConfig:!(!t||!t.onlySimpleLoadConfig)&&t.onlySimpleLoadConfig,urls:null===t||void 0===t?void 0:t.urls,dictUrls:null===t||void 0===t?void 0:t.dictUrls},e.config.globalProperties.$formToolsService=He,window.$app=e,le.init(),Ye.init(),se.init();const n={formatDependencies:Ht["formatDependencies"],subtractDependencies:Ht["subtractDependencies"],multiplyDependencies:Ht["multiplyDependencies"],evaluateDependencies:Ht["evaluateDependencies"],addDependencies:Ht["addDependencies"],divideDependencies:Ht["divideDependencies"]},r=Object(Ht["create"])(n,{number:"BigNumber",precision:20});e.config.globalProperties.$mathjs=r},Et={install:Ft};var It=Et;t["default"]=It},fbf2:function(e,t,o){"use strict";o.d(t,"a",(function(){return n}));const n={enlarge:{code:"1",name:"放大"},narrow:{code:"2",name:"缩小"},automatic:{code:"3",name:"自动"}}}})}));
|
|
57
2
|
//# sourceMappingURL=vue3-lo-form.umd.min.js.map
|