`;
- }
- const char = String.fromCharCode(65+j);
- tmp += `${char}.${jsonArr[j]}
`;
- if(j%2 == 1){
- tmp += '';
- }
- }
-
- if(j%2== 0){
- tmp += '';
- }
- workdesc = tmp;
- }
-
- row[i].workdescFormat = workdesc; // 题目选项
-
-
- // 答案处理
- let workanswer = '';
- if(row[i].workanswer && row[i].workanswer != '') {
- // 因答案内容存在多种格式: 1.["123","1234"] 2.123#&1234 3.123
- if(row[i].workanswer.indexOf('[')!==-1 && row[i].workanswer.indexOf(']')!==-1) {
- //123会直接被转换, 且不是数组对象, 故手动判断是否有[和]两个字符
- let json = JSON.parse(row[i].workanswer);
- // 单选、多选 需要 数字转为ABCD
- if(row[i].worktype == '单选题') {
- const str2Char = String.fromCharCode(65+Number(json[0]));
- workanswer = str2Char;
- } else if (row[i].worktype == '多选题') {
- // const answerArr = row[i].workanswer.split('#&');
- let arr2Char = '';
- for(let k=0; k';
- }
- workanswer = arr2Char;
- row[i].titleFormat = row[i].titleFormat.replace(/!@#\$%/g, '');
- } else {
- workanswer = json.join('、');
- }
- } else if(row[i].workanswer.indexOf('#&')) {
- // 意味着多个答案或者填空内容
- let workanswerList = row[i].workanswer.split('#&');
- if(row[i].worktype == '多选题') {
- // 数字转为ABCD
- let arr2Char = '';
- for(let k=0; k {
- const arrTmp = item.answer.split('#&');
- let value = `(${indexLabel})`;
- arrTmp.forEach((element,i) => {
- if(item.type == '单选题' || item.type == '多选题'){
- value += `${String.fromCharCode(65+Number(element))}`;
- }
- if(item.type == '判断题' || item.type == '填空题'){
- // 去除下 html标签
- value += `${element.replace(/<[^>]+>/g, '')}`+ (i==arrTmp.length-1?'':'、');
- }
- })
- arr.push(value);
- indexLabel++;
- })
- const answer = arr.join('
');
-
- row[i].workanswerFormat = answer;
- }
- else if(row[i].worktype == '主观题') {
- // 1.选项解析替换---主观题没选项
- // 题目(背景材料+主观题目)
- const bjTitle = row[i].title.split('!@#$%')[0];
- const tmTitles = row[i].title.split('!@#$%').filter((it,ix)=>ix>0);
- // console.log(bjTitle,'背景标题');
- // console.log(tmTitles,'主观题目');
- let titls = [];
- const s = [];
- tmTitles.map((it,ix)=>{
- s.push(it);
- })
- // console.log(s,'?????????????????')
-
- row[i].titleFormat = bjTitle + s.join('');
- // 填空选项不需要展示,
- row[i].workdescFormat = '';
-
- //2.答案
- // 填空题答案
- const workanswerList = JSON.parse(row[i].workanswer);
- let tmp='';
- workanswerList&&workanswerList.map((item,index)=>{
- tmp += ''+(index+1)+'.'+item.replace(/#&/g, ',')+'
';
- })
- row[i].workanswerFormat = tmp;
-
- }
- else {
- //处理答案
- row[i].workanswerFormat = '见试题解答内容';
- }
- */
}
}
}
diff --git a/src/renderer/src/views/examReport/index.vue b/src/renderer/src/views/examReport/index.vue
index 37d73e2..e45fa83 100644
--- a/src/renderer/src/views/examReport/index.vue
+++ b/src/renderer/src/views/examReport/index.vue
@@ -75,7 +75,7 @@ import { ArrowRight } from '@element-plus/icons-vue'
import useResoureStore from '@/views/resource/store'
import ChooseTextbook from '@/components/choose-textbook/index.vue'
import {listEntpcoursework, listEntpcourseworkNew} from '@/api/education/entpCourseWork'
-import {processExamQuestion} from '@/utils/examQuestion/tool'
+import { processList } from '@/hooks/useProcessList'
import { JYApiListCT} from "@/utils/examQuestion/jyeoo"
import examReview from './container/examReview.vue'
@@ -154,7 +154,7 @@ const getData = async (data) => {
listExamQuestion.value = res.data;
// queryParams.total = res.total;
// 格式化试题
- processExamQuestion(listExamQuestion.value);
+ processList(listExamQuestion.value);
loading.value = false;
}
@@ -222,7 +222,7 @@ const queryExamQuestionByParams = async () => {
listExamQuestion.value = res.data;
// queryParams.total = res.total;
// 格式化试题
- processExamQuestion(listExamQuestion.value);
+ processList(listExamQuestion.value);
loading.value = false;
}
From cd5abd864d50a91e9a584c8df8ef3c2f0ff1d17e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=9Czouyf=E2=80=9D?= <80906036@qq.com>
Date: Fri, 11 Oct 2024 16:03:56 +0800
Subject: [PATCH 2/9] =?UTF-8?q?[=E8=80=83=E8=AF=95=E5=88=86=E6=9E=90]=20-?=
=?UTF-8?q?=20=E4=BC=98=E5=8C=96=E9=9D=9E=E7=BB=91=E5=AE=9A=E8=8F=81?=
=?UTF-8?q?=E4=BC=98=E7=BD=91=E7=AB=A0=E8=8A=82=E4=B8=8D=E6=98=BE=E7=A4=BA?=
=?UTF-8?q?=E8=AF=95=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/components/choose-textbook/index.vue | 3 +-
src/renderer/src/views/examReport/index.vue | 58 +++++++++++--------
2 files changed, 35 insertions(+), 26 deletions(-)
diff --git a/src/renderer/src/components/choose-textbook/index.vue b/src/renderer/src/components/choose-textbook/index.vue
index 028cd02..3c4414d 100644
--- a/src/renderer/src/components/choose-textbook/index.vue
+++ b/src/renderer/src/components/choose-textbook/index.vue
@@ -49,7 +49,7 @@ import { useGetSubject } from '@/hooks/useGetSubject'
const BaseUrl = import.meta.env.VITE_APP_BUILD_BASE_PATH
// 定义要发送的emit事件
-const emit = defineEmits(['nodeClick'])
+const emit = defineEmits(['nodeClick', 'changeBook'])
let useSubject = null
const subjectList = ref([])
const dialogVisible = ref(false)
@@ -164,7 +164,6 @@ const handleNodeClick = (data) => {
sessionStore.set('subject.defaultExpandedKeys', defaultExpandedKeys)
sessionStore.set('subject.curNode', nodeData)
emit('nodeClick', curData)
-
}
onMounted( async () => {
treeLoading.value = true
diff --git a/src/renderer/src/views/examReport/index.vue b/src/renderer/src/views/examReport/index.vue
index e45fa83..9a4c791 100644
--- a/src/renderer/src/views/examReport/index.vue
+++ b/src/renderer/src/views/examReport/index.vue
@@ -58,8 +58,8 @@
v-else-if="curTask.viewkey=='考点分析' "
/>
-
@@ -81,6 +81,7 @@ import { JYApiListCT} from "@/utils/examQuestion/jyeoo"
import examReview from './container/examReview.vue'
import pointAnalysis from './container/pointAnalysis.vue'
import examMocks from './container/examMocks.vue'
+import { ElMessage } from 'element-plus'
const {proxy} = getCurrentInstance();
const sourceStore = useResoureStore();
@@ -106,6 +107,19 @@ const listWorkType = ref([{
value: 0,
}]);
+const getCourseWorkList = async (params) => {
+ const res = await listEntpcourseworkNew(params);
+ if(res.data == null) {
+ listExamQuestion.value = [];
+ // queryParams.total = 0
+ return;
+ }
+ listExamQuestion.value = res.data;
+ // queryParams.total = res.total;
+ // 格式化试题
+ processList(listExamQuestion.value);
+}
+
/**
* @desc: 选中单元章节后的回调, 获取单元章节信息
* @return: {*}
@@ -134,6 +148,15 @@ const getData = async (data) => {
// const res = await listEntpcoursework(params);
// listExamQuestion.value = res.rows;
+ // 当前不存在对应绑定的菁优网章节id时, 不进行处理
+ // 注意: 菁优网章节id绑定需在网页端[/evaluation/bind]中进行绑定
+ if (curNode.value.bookId == null || curNode.value.bookId == '' || curNode.value.bookId == '0') {
+ listExamQuestion.value = [];
+ loading.value = false;
+ ElMessage.error("当前单元/章节下无试题");
+ return;
+ }
+
// 查询本地+菁优网(后端处理)
const params = {
eid: curNode.value.id,
@@ -144,17 +167,7 @@ const getData = async (data) => {
edustage: curNode.value.edustage,
sectionName: curNode.value.itemtitle,
}
- const res = await listEntpcourseworkNew(params);
- if(res.data == null) {
- listExamQuestion.value = [];
- // queryParams.total = 0
- loading.value = false;
- return;
- }
- listExamQuestion.value = res.data;
- // queryParams.total = res.total;
- // 格式化试题
- processList(listExamQuestion.value);
+ await getCourseWorkList(params);
loading.value = false;
}
@@ -202,6 +215,13 @@ const queryExamQuestionByParams = async () => {
// const res = await listEntpcoursework(params);
// listExamQuestion.value = res.rows;
+ if (curNode.value.bookId == null || curNode.value.bookId == '' || curNode.value.bookId == '0') {
+ listExamQuestion.value = [];
+ loading.value = false;
+ ElMessage.error("当前单元/章节下无试题");
+ return;
+ }
+
// 查询本地+菁优网(后端处理)
const params = {
eid: curNode.value.id,
@@ -212,17 +232,7 @@ const queryExamQuestionByParams = async () => {
edustage: curNode.value.edustage,
sectionName: curNode.value.itemtitle,
}
- const res = await listEntpcourseworkNew(params);
- if(res.data == null) {
- listExamQuestion.value = [];
- // queryParams.total = 0
- loading.value = false;
- return;
- }
- listExamQuestion.value = res.data;
- // queryParams.total = res.total;
- // 格式化试题
- processList(listExamQuestion.value);
+ await getCourseWorkList(params);
loading.value = false;
}
From 6911a92ecba1116aaa62fe2943960652024656ed Mon Sep 17 00:00:00 2001
From: qinqing <775435633@qq.com>
Date: Fri, 11 Oct 2024 16:21:52 +0800
Subject: [PATCH 3/9] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=89=93=E5=BC=80?=
=?UTF-8?q?=E6=96=B0=E8=AF=BE=E4=BB=B6=EF=BC=8C=E4=BC=98=E5=8C=96PDF?=
=?UTF-8?q?=E6=8F=92=E4=BB=B6=E6=9F=A5=E7=9C=8B=E5=99=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pdfjs-qinqing-custome.js | 2 +-
src/renderer/public/pdfjs-dist/web/viewer.css | 35 +++++++++++---
.../public/pdfjs-dist/web/viewer.html | 25 +++++-----
src/renderer/public/pdfjs-dist/web/viewer.mjs | 11 +++--
src/renderer/src/components/PdfJs/index.vue | 9 +++-
src/renderer/src/router/index.js | 7 +++
src/renderer/src/utils/tool.js | 17 ++++++-
src/renderer/src/views/prepare/index.vue | 9 ++--
.../src/views/textbookAnalysis/index.vue | 46 +++++++++++++------
.../src/views/tool/components/side.vue | 3 +-
src/renderer/src/views/tool/sphere.vue | 15 +++++-
11 files changed, 135 insertions(+), 44 deletions(-)
diff --git a/src/renderer/public/pdfjs-dist/web/pdfjs-qinqing-custome/pdfjs-qinqing-custome.js b/src/renderer/public/pdfjs-dist/web/pdfjs-qinqing-custome/pdfjs-qinqing-custome.js
index 299fe24..5753622 100644
--- a/src/renderer/public/pdfjs-dist/web/pdfjs-qinqing-custome/pdfjs-qinqing-custome.js
+++ b/src/renderer/public/pdfjs-dist/web/pdfjs-qinqing-custome/pdfjs-qinqing-custome.js
@@ -1,2 +1,2 @@
/*! For license information please see pdfjs-qinqing-custome.js.LICENSE.txt */
-!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.PdfjsAnnotationExtension=t():e.PdfjsAnnotationExtension=t()}(self,(()=>(()=>{var e,t,n={8075:(e,t,n)=>{"use strict";var r=n(453),o=n(487),i=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&i(e,".prototype.")>-1?o(n):n}},487:(e,t,n)=>{"use strict";var r=n(6743),o=n(453),i=n(6897),A=n(9675),a=o("%Function.prototype.apply%"),s=o("%Function.prototype.call%"),l=o("%Reflect.apply%",!0)||r.call(s,a),c=n(655),u=o("%Math.max%");e.exports=function(e){if("function"!=typeof e)throw new A("a function is required");var t=l(r,s,arguments);return i(t,1+u(0,e.length-(arguments.length-1)),!0)};var d=function(){return l(r,a,arguments)};c?c(e.exports,"apply",{value:d}):e.exports.apply=d},6766:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1601),o=n.n(r),i=n(6314),A=n.n(i)()(o());A.push([e.id,".commentcon{width:100%;height:auto}.commentcon-tit{font-size:14px;font-weight:bold;color:#414141}.commentcon-list{width:100%;height:auto;padding-top:1px}.commentcon-list-mine{width:100%;height:auto;border-top:1px solid #e1e1e1;margin-top:16px}.commentcon-list-mine-head{display:flex;justify-content:flex-start;align-items:center}.commentcon-list-mine-head-icon{width:30px;height:30px}.commentcon-list-mine-head-name,.commentcon-list-mine-head-time{font-size:12px;color:#828282;margin-left:6px}.commentcon-list-mine-mid{padding:16px;font-size:14px;color:#414141}.commentcon-list-mine-operate{width:100%;height:auto;display:flex;justify-content:space-around;align-items:center}.commentcon-list-mine-operate-left{display:flex;align-items:center}.commentcon-list-mine-operate-left-likes{height:32px;border-radius:16px;border:1px solid #e1e1e1;display:flex;align-items:center;padding:0 16px}.commentcon-list-mine-operate-left-likes-ico{width:30px;height:30px}.commentcon-list-mine-operate-left-likes-num{font-size:12px;color:#414141;margin-left:6px}.commentcon-list-mine-operate-left-comment{padding:0 16px;height:32px;border-radius:16px;border:1px solid #e1e1e1;font-size:12px;color:#414141;line-height:32px;margin-left:6px}.commentcon-list-mine-operate-right{display:flex;align-items:center}.commentcon-list-add{width:100%;height:auto;margin-top:20px;border-top:1px dashed #333;padding-top:20px}.commentcon-list-add-btn{display:flex;justify-content:flex-end;align-items:center;margin-top:8px}",""]);const a=A},4619:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1601),o=n.n(r),i=n(6314),A=n.n(i)()(o());A.push([e.id,".CustomPopbar{width:max-content;position:absolute;top:0;left:0;background-color:#000;box-shadow:4px 6px 6px var(--doorhanger-border-color);font:message-box;border-radius:6px}.CustomPopbar .buttons{display:flex;padding:0;margin:0;list-style:none;gap:3px;user-select:none}.CustomPopbar .buttons li{align-items:center;height:100%;text-align:center;border:1px solid rgba(0,0,0,0);color:var(--main-color);cursor:default;width:70px}.CustomPopbar .buttons li .icon{font-size:14px;padding:5px 10px 0 10px;border-bottom:1px solid rgba(0,0,0,0);color:#fff;opacity:.8}.CustomPopbar .buttons li .name{font-size:14px;padding:1px 10px 2px 10px;opacity:.8;color:#fff}.CustomPopbar .buttons li:hover .name{opacity:1}.CustomPopbar .buttons li:hover .icon{opacity:1}.CustomPopbar.show{z-index:999;display:block}.CustomPopbar.hide{display:none}",""]);const a=A},8508:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1601),o=n.n(r),i=n(6314),A=n.n(i)()(o());A.push([e.id,'.CustomToolbar{width:100%;height:32px;display:flex;justify-content:center;align-items:center}.CustomToolbar .buttons{display:flex;padding:0;margin:0;list-style:none;gap:3px;user-select:none}.CustomToolbar .buttons li{align-items:center;height:100%;text-align:center;border:1px solid rgba(0,0,0,0);border-radius:3px;color:var(--main-color);transition:background-color .3s}.CustomToolbar .buttons li .ant-upload-wrapper{line-height:normal}.CustomToolbar .buttons li .icon{font-size:18px;padding:5px 10px 3px 10px;border-bottom:1px solid rgba(0,0,0,0);opacity:.8}.CustomToolbar .buttons li .name{font-size:14px;padding:1px 10px 2px 10px}.CustomToolbar .buttons li:hover{background-color:var(--button-hover-color)}.CustomToolbar .buttons li.selected{border:1px solid var(--toolbar-border-color);background-color:var(--toolbar-border-color)}.CustomToolbar .buttons li.disabled{opacity:.5}.CustomToolbar .buttons li.disabled:hover{background-color:rgba(0,0,0,0)}.CustomToolbar .splitToolbarButtonSeparator{height:51px;margin:0 10px}.SignatureTool{margin:0 auto}.SignatureTool-Container{background-color:#eee;border:1px solid #ccc;position:relative;margin:0 auto}.SignatureTool-Container .konvajs-content{z-index:99;cursor:crosshair}.SignatureTool-Container::after{content:"签名处...";font-size:20px;z-index:0;color:#ccc;position:absolute;top:50%;left:0;right:0;transform:translateY(-50%);text-align:center}.SignatureTool-Toolbar{border:1px solid #ccc;border-top:0;display:flex;justify-content:space-between;margin:0 auto}.SignatureTool-Toolbar .colorPalette{display:flex;margin:8px}.SignatureTool-Toolbar .colorPalette .cell{cursor:pointer;width:22px;height:22px;margin-right:10px;border-radius:100px;display:flex;align-items:center;justify-content:center;border:1px solid #fff}.SignatureTool-Toolbar .colorPalette .cell span{width:12px;height:12px;display:inline-block;border-radius:100px}.SignatureTool-Toolbar .colorPalette .active{border:1px solid #bbb}.SignatureTool-Toolbar .clear{padding:8px;cursor:pointer}.SignatureTool-Toolbar .clear:hover{text-decoration:underline}.SignaturePop .ant-popover-inner{padding:5px}.SignaturePop ul,.SignaturePop li{margin:0;list-style:none;padding:0}.SignaturePop ul img:hover,.SignaturePop li img:hover{background-color:#ccc}.SignaturePop li{display:flex;margin:5px;justify-content:center;align-items:center}.SignaturePop li span{margin-left:5px;cursor:pointer}.SignaturePop-Toolbar{padding:5px}.StampTool{position:relative}.StampTool input{position:absolute;width:100%;height:100%;top:0;left:0;z-index:1;opacity:0}',""]);const a=A},1665:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1601),o=n.n(r),i=n(6314),A=n.n(i)()(o());A.push([e.id,".PdfjsAnnotationExtension_painter_wrapper{position:absolute;text-align:initial;top:0;inset:0;overflow:hidden;line-height:1;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:1}.PdfjsAnnotationExtension_selector_hover .PdfjsAnnotationExtension_painter_wrapper{cursor:pointer !important}.PdfjsAnnotationExtension_is_painting .PdfjsAnnotationExtension_painter_wrapper{z-index:999}.PdfjsAnnotationExtension_painting_type_1 .textLayer:not(.free) span,.PdfjsAnnotationExtension_painting_type_2 .textLayer:not(.free) span,.PdfjsAnnotationExtension_painting_type_3 .textLayer:not(.free) span{cursor:var(--editorHighlight-editing-cursor)}.PdfjsAnnotationExtension_painting_type_4 .PdfjsAnnotationExtension_painter_wrapper,.PdfjsAnnotationExtension_painting_type_5 .PdfjsAnnotationExtension_painter_wrapper,.PdfjsAnnotationExtension_painting_type_6 .PdfjsAnnotationExtension_painter_wrapper{cursor:crosshair}.PdfjsAnnotationExtension_painting_type_7 .PdfjsAnnotationExtension_painter_wrapper{cursor:var(--editorInk-editing-cursor)}.PdfjsAnnotationExtension_painting_type_8 .PdfjsAnnotationExtension_painter_wrapper{cursor:var(--editorFreeHighlight-editing-cursor)}.PdfjsAnnotationExtension_painting_type_9 .PdfjsAnnotationExtension_painter_wrapper,.PdfjsAnnotationExtension_painting_type_10 .PdfjsAnnotationExtension_painter_wrapper{cursor:var(--PdfjsAnnotationExtension-image-cursor)}.PdfjsAnnotationExtension_free_text_input{width:auto;position:absolute;z-index:999;padding:0px;overflow:hidden;background:#fff;outline:none;overflow-wrap:break-word;white-space:pre-wrap;user-select:text;word-break:normal;font-weight:normal;font-style:normal}",""]);const a=A},8307:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1601),o=n.n(r),i=n(6314),A=n.n(i)()(o());A.push([e.id,".PdfjsAnnotationExtension .textLayer{z-index:9 !important}.PdfjsAnnotationExtension #viewerContainer{top:36px !important}.PdfjsAnnotationExtension #sidebarContainer{top:36px !important}.PdfjsAnnotationExtension #toolbarContainer{height:36px}.antd-message{z-index:999999 !important}",""]);const a=A},6314:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var A={};if(r)for(var a=0;a0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=i),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),o&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=o):c[4]="".concat(o)),t.push(c))}},t}},1601:e=>{"use strict";e.exports=function(e){return e[1]}},41:(e,t,n)=>{"use strict";var r=n(655),o=n(8068),i=n(9675),A=n(5795);e.exports=function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new i("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,s=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],u=!!A&&A(e,t);if(r)r(e,t,{configurable:null===l&&u?u.configurable:!l,enumerable:null===a&&u?u.enumerable:!a,value:n,writable:null===s&&u?u.writable:!s});else{if(!c&&(a||s||l))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},655:(e,t,n)=>{"use strict";var r=n(453)("%Object.defineProperty%",!0)||!1;if(r)try{r({},"a",{value:1})}catch(e){r=!1}e.exports=r},1237:e=>{"use strict";e.exports=EvalError},9383:e=>{"use strict";e.exports=Error},9290:e=>{"use strict";e.exports=RangeError},9538:e=>{"use strict";e.exports=ReferenceError},8068:e=>{"use strict";e.exports=SyntaxError},9675:e=>{"use strict";e.exports=TypeError},5345:e=>{"use strict";e.exports=URIError},9353:e=>{"use strict";var t=Object.prototype.toString,n=Math.max,r=function(e,t){for(var n=[],r=0;r{"use strict";var r=n(9353);e.exports=Function.prototype.bind||r},453:(e,t,n)=>{"use strict";var r,o=n(9383),i=n(1237),A=n(9290),a=n(9538),s=n(8068),l=n(9675),c=n(5345),u=Function,d=function(e){try{return u('"use strict"; return ('+e+").constructor;")()}catch(e){}},f=Object.getOwnPropertyDescriptor;if(f)try{f({},"")}catch(e){f=null}var h=function(){throw new l},p=f?function(){try{return h}catch(e){try{return f(arguments,"callee").get}catch(e){return h}}}():h,g=n(4039)(),m=n(24)(),v=Object.getPrototypeOf||(m?function(e){return e.__proto__}:null),y={},w="undefined"!=typeof Uint8Array&&v?v(Uint8Array):r,b={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":g&&v?v([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":i,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":u,"%GeneratorFunction%":y,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":g&&v?v(v([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&g&&v?v((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":A,"%ReferenceError%":a,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&g&&v?v((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g&&v?v(""[Symbol.iterator]()):r,"%Symbol%":g?Symbol:r,"%SyntaxError%":s,"%ThrowTypeError%":p,"%TypedArray%":w,"%TypeError%":l,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":c,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};if(v)try{null.error}catch(e){var B=v(v(e));b["%Error.prototype%"]=B}var C=function e(t){var n;if("%AsyncFunction%"===t)n=d("async function () {}");else if("%GeneratorFunction%"===t)n=d("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=d("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&v&&(n=v(o.prototype))}return b[t]=n,n},x={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},S=n(6743),E=n(9957),F=S.call(Function.call,Array.prototype.concat),Q=S.call(Function.apply,Array.prototype.splice),U=S.call(Function.call,String.prototype.replace),k=S.call(Function.call,String.prototype.slice),I=S.call(Function.call,RegExp.prototype.exec),O=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,T=function(e,t){var n,r=e;if(E(x,r)&&(r="%"+(n=x[r])[0]+"%"),E(b,r)){var o=b[r];if(o===y&&(o=C(r)),void 0===o&&!t)throw new l("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new s("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new l('"allowMissing" argument must be a boolean');if(null===I(/^%?[^%]*%?$/,e))throw new s("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=k(e,0,1),n=k(e,-1);if("%"===t&&"%"!==n)throw new s("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new s("invalid intrinsic syntax, expected opening `%`");var r=[];return U(e,O,(function(e,t,n,o){r[r.length]=n?U(o,P,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",o=T("%"+r+"%",t),i=o.name,A=o.value,a=!1,c=o.alias;c&&(r=c[0],Q(n,F([0,1],c)));for(var u=1,d=!0;u=n.length){var m=f(A,h);A=(d=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:A[h]}else d=E(A,h),A=A[h];d&&!a&&(b[i]=A)}}return A}},5795:(e,t,n)=>{"use strict";var r=n(453)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},592:(e,t,n)=>{"use strict";var r=n(655),o=function(){return!!r};o.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=o},24:e=>{"use strict";var t={__proto__:null,foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!(t instanceof n)}},4039:(e,t,n)=>{"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(1333);e.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&o()}},1333:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},9957:(e,t,n)=>{"use strict";var r=Function.prototype.call,o=Object.prototype.hasOwnProperty,i=n(6743);e.exports=i.call(r,o)},9696:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Animation=void 0;const r=n(8871),o=n(4060),i=r.glob.performance&&r.glob.performance.now?function(){return r.glob.performance.now()}:function(){return(new Date).getTime()};class A{constructor(e,t){this.id=A.animIdCounter++,this.frame={time:0,timeDiff:0,lastTime:i(),frameRate:0},this.func=e,this.setLayers(t)}setLayers(e){let t=[];return e&&(t=Array.isArray(e)?e:[e]),this.layers=t,this}getLayers(){return this.layers}addLayer(e){const t=this.layers,n=t.length;for(let r=0;r{"use strict";function n(e,t,n){const o=r(1,n,e),i=r(1,n,t),A=o*o+i*i;return Math.sqrt(A)}Object.defineProperty(t,"__esModule",{value:!0}),t.t2length=t.getQuadraticArcLength=t.getCubicArcLength=t.binomialCoefficients=t.cValues=t.tValues=void 0,t.tValues=[[],[],[-.5773502691896257,.5773502691896257],[0,-.7745966692414834,.7745966692414834],[-.33998104358485626,.33998104358485626,-.8611363115940526,.8611363115940526],[0,-.5384693101056831,.5384693101056831,-.906179845938664,.906179845938664],[.6612093864662645,-.6612093864662645,-.2386191860831969,.2386191860831969,-.932469514203152,.932469514203152],[0,.4058451513773972,-.4058451513773972,-.7415311855993945,.7415311855993945,-.9491079123427585,.9491079123427585],[-.1834346424956498,.1834346424956498,-.525532409916329,.525532409916329,-.7966664774136267,.7966664774136267,-.9602898564975363,.9602898564975363],[0,-.8360311073266358,.8360311073266358,-.9681602395076261,.9681602395076261,-.3242534234038089,.3242534234038089,-.6133714327005904,.6133714327005904],[-.14887433898163122,.14887433898163122,-.4333953941292472,.4333953941292472,-.6794095682990244,.6794095682990244,-.8650633666889845,.8650633666889845,-.9739065285171717,.9739065285171717],[0,-.26954315595234496,.26954315595234496,-.5190961292068118,.5190961292068118,-.7301520055740494,.7301520055740494,-.8870625997680953,.8870625997680953,-.978228658146057,.978228658146057],[-.1252334085114689,.1252334085114689,-.3678314989981802,.3678314989981802,-.5873179542866175,.5873179542866175,-.7699026741943047,.7699026741943047,-.9041172563704749,.9041172563704749,-.9815606342467192,.9815606342467192],[0,-.2304583159551348,.2304583159551348,-.44849275103644687,.44849275103644687,-.6423493394403402,.6423493394403402,-.8015780907333099,.8015780907333099,-.9175983992229779,.9175983992229779,-.9841830547185881,.9841830547185881],[-.10805494870734367,.10805494870734367,-.31911236892788974,.31911236892788974,-.5152486363581541,.5152486363581541,-.6872929048116855,.6872929048116855,-.827201315069765,.827201315069765,-.9284348836635735,.9284348836635735,-.9862838086968123,.9862838086968123],[0,-.20119409399743451,.20119409399743451,-.3941513470775634,.3941513470775634,-.5709721726085388,.5709721726085388,-.7244177313601701,.7244177313601701,-.8482065834104272,.8482065834104272,-.937273392400706,.937273392400706,-.9879925180204854,.9879925180204854],[-.09501250983763744,.09501250983763744,-.2816035507792589,.2816035507792589,-.45801677765722737,.45801677765722737,-.6178762444026438,.6178762444026438,-.755404408355003,.755404408355003,-.8656312023878318,.8656312023878318,-.9445750230732326,.9445750230732326,-.9894009349916499,.9894009349916499],[0,-.17848418149584785,.17848418149584785,-.3512317634538763,.3512317634538763,-.5126905370864769,.5126905370864769,-.6576711592166907,.6576711592166907,-.7815140038968014,.7815140038968014,-.8802391537269859,.8802391537269859,-.9506755217687678,.9506755217687678,-.9905754753144174,.9905754753144174],[-.0847750130417353,.0847750130417353,-.2518862256915055,.2518862256915055,-.41175116146284263,.41175116146284263,-.5597708310739475,.5597708310739475,-.6916870430603532,.6916870430603532,-.8037049589725231,.8037049589725231,-.8926024664975557,.8926024664975557,-.9558239495713977,.9558239495713977,-.9915651684209309,.9915651684209309],[0,-.16035864564022537,.16035864564022537,-.31656409996362983,.31656409996362983,-.46457074137596094,.46457074137596094,-.600545304661681,.600545304661681,-.7209661773352294,.7209661773352294,-.8227146565371428,.8227146565371428,-.9031559036148179,.9031559036148179,-.96020815213483,.96020815213483,-.9924068438435844,.9924068438435844],[-.07652652113349734,.07652652113349734,-.22778585114164507,.22778585114164507,-.37370608871541955,.37370608871541955,-.5108670019508271,.5108670019508271,-.636053680726515,.636053680726515,-.7463319064601508,.7463319064601508,-.8391169718222188,.8391169718222188,-.912234428251326,.912234428251326,-.9639719272779138,.9639719272779138,-.9931285991850949,.9931285991850949],[0,-.1455618541608951,.1455618541608951,-.2880213168024011,.2880213168024011,-.4243421202074388,.4243421202074388,-.5516188358872198,.5516188358872198,-.6671388041974123,.6671388041974123,-.7684399634756779,.7684399634756779,-.8533633645833173,.8533633645833173,-.9200993341504008,.9200993341504008,-.9672268385663063,.9672268385663063,-.9937521706203895,.9937521706203895],[-.06973927331972223,.06973927331972223,-.20786042668822127,.20786042668822127,-.34193582089208424,.34193582089208424,-.469355837986757,.469355837986757,-.5876404035069116,.5876404035069116,-.6944872631866827,.6944872631866827,-.7878168059792081,.7878168059792081,-.8658125777203002,.8658125777203002,-.926956772187174,.926956772187174,-.9700604978354287,.9700604978354287,-.9942945854823992,.9942945854823992],[0,-.1332568242984661,.1332568242984661,-.26413568097034495,.26413568097034495,-.3903010380302908,.3903010380302908,-.5095014778460075,.5095014778460075,-.6196098757636461,.6196098757636461,-.7186613631319502,.7186613631319502,-.8048884016188399,.8048884016188399,-.8767523582704416,.8767523582704416,-.9329710868260161,.9329710868260161,-.9725424712181152,.9725424712181152,-.9947693349975522,.9947693349975522],[-.06405689286260563,.06405689286260563,-.1911188674736163,.1911188674736163,-.3150426796961634,.3150426796961634,-.4337935076260451,.4337935076260451,-.5454214713888396,.5454214713888396,-.6480936519369755,.6480936519369755,-.7401241915785544,.7401241915785544,-.820001985973903,.820001985973903,-.8864155270044011,.8864155270044011,-.9382745520027328,.9382745520027328,-.9747285559713095,.9747285559713095,-.9951872199970213,.9951872199970213]],t.cValues=[[],[],[1,1],[.8888888888888888,.5555555555555556,.5555555555555556],[.6521451548625461,.6521451548625461,.34785484513745385,.34785484513745385],[.5688888888888889,.47862867049936647,.47862867049936647,.23692688505618908,.23692688505618908],[.3607615730481386,.3607615730481386,.46791393457269104,.46791393457269104,.17132449237917036,.17132449237917036],[.4179591836734694,.3818300505051189,.3818300505051189,.27970539148927664,.27970539148927664,.1294849661688697,.1294849661688697],[.362683783378362,.362683783378362,.31370664587788727,.31370664587788727,.22238103445337448,.22238103445337448,.10122853629037626,.10122853629037626],[.3302393550012598,.1806481606948574,.1806481606948574,.08127438836157441,.08127438836157441,.31234707704000286,.31234707704000286,.26061069640293544,.26061069640293544],[.29552422471475287,.29552422471475287,.26926671930999635,.26926671930999635,.21908636251598204,.21908636251598204,.1494513491505806,.1494513491505806,.06667134430868814,.06667134430868814],[.2729250867779006,.26280454451024665,.26280454451024665,.23319376459199048,.23319376459199048,.18629021092773426,.18629021092773426,.1255803694649046,.1255803694649046,.05566856711617366,.05566856711617366],[.24914704581340277,.24914704581340277,.2334925365383548,.2334925365383548,.20316742672306592,.20316742672306592,.16007832854334622,.16007832854334622,.10693932599531843,.10693932599531843,.04717533638651183,.04717533638651183],[.2325515532308739,.22628318026289723,.22628318026289723,.2078160475368885,.2078160475368885,.17814598076194574,.17814598076194574,.13887351021978725,.13887351021978725,.09212149983772845,.09212149983772845,.04048400476531588,.04048400476531588],[.2152638534631578,.2152638534631578,.2051984637212956,.2051984637212956,.18553839747793782,.18553839747793782,.15720316715819355,.15720316715819355,.12151857068790319,.12151857068790319,.08015808715976021,.08015808715976021,.03511946033175186,.03511946033175186],[.2025782419255613,.19843148532711158,.19843148532711158,.1861610000155622,.1861610000155622,.16626920581699392,.16626920581699392,.13957067792615432,.13957067792615432,.10715922046717194,.10715922046717194,.07036604748810812,.07036604748810812,.03075324199611727,.03075324199611727],[.1894506104550685,.1894506104550685,.18260341504492358,.18260341504492358,.16915651939500254,.16915651939500254,.14959598881657674,.14959598881657674,.12462897125553388,.12462897125553388,.09515851168249279,.09515851168249279,.062253523938647894,.062253523938647894,.027152459411754096,.027152459411754096],[.17944647035620653,.17656270536699264,.17656270536699264,.16800410215645004,.16800410215645004,.15404576107681028,.15404576107681028,.13513636846852548,.13513636846852548,.11188384719340397,.11188384719340397,.08503614831717918,.08503614831717918,.0554595293739872,.0554595293739872,.02414830286854793,.02414830286854793],[.1691423829631436,.1691423829631436,.16427648374583273,.16427648374583273,.15468467512626524,.15468467512626524,.14064291467065065,.14064291467065065,.12255520671147846,.12255520671147846,.10094204410628717,.10094204410628717,.07642573025488905,.07642573025488905,.0497145488949698,.0497145488949698,.02161601352648331,.02161601352648331],[.1610544498487837,.15896884339395434,.15896884339395434,.15276604206585967,.15276604206585967,.1426067021736066,.1426067021736066,.12875396253933621,.12875396253933621,.11156664554733399,.11156664554733399,.09149002162245,.09149002162245,.06904454273764123,.06904454273764123,.0448142267656996,.0448142267656996,.019461788229726478,.019461788229726478],[.15275338713072584,.15275338713072584,.14917298647260374,.14917298647260374,.14209610931838204,.14209610931838204,.13168863844917664,.13168863844917664,.11819453196151841,.11819453196151841,.10193011981724044,.10193011981724044,.08327674157670475,.08327674157670475,.06267204833410907,.06267204833410907,.04060142980038694,.04060142980038694,.017614007139152118,.017614007139152118],[.14608113364969041,.14452440398997005,.14452440398997005,.13988739479107315,.13988739479107315,.13226893863333747,.13226893863333747,.12183141605372853,.12183141605372853,.10879729916714838,.10879729916714838,.09344442345603386,.09344442345603386,.0761001136283793,.0761001136283793,.057134425426857205,.057134425426857205,.036953789770852494,.036953789770852494,.016017228257774335,.016017228257774335],[.13925187285563198,.13925187285563198,.13654149834601517,.13654149834601517,.13117350478706238,.13117350478706238,.12325237681051242,.12325237681051242,.11293229608053922,.11293229608053922,.10041414444288096,.10041414444288096,.08594160621706773,.08594160621706773,.06979646842452049,.06979646842452049,.052293335152683286,.052293335152683286,.03377490158481415,.03377490158481415,.0146279952982722,.0146279952982722],[.13365457218610619,.1324620394046966,.1324620394046966,.12890572218808216,.12890572218808216,.12304908430672953,.12304908430672953,.11499664022241136,.11499664022241136,.10489209146454141,.10489209146454141,.09291576606003515,.09291576606003515,.07928141177671895,.07928141177671895,.06423242140852585,.06423242140852585,.04803767173108467,.04803767173108467,.030988005856979445,.030988005856979445,.013411859487141771,.013411859487141771],[.12793819534675216,.12793819534675216,.1258374563468283,.1258374563468283,.12167047292780339,.12167047292780339,.1155056680537256,.1155056680537256,.10744427011596563,.10744427011596563,.09761865210411388,.09761865210411388,.08619016153195327,.08619016153195327,.0733464814110803,.0733464814110803,.05929858491543678,.05929858491543678,.04427743881741981,.04427743881741981,.028531388628933663,.028531388628933663,.0123412297999872,.0123412297999872]],t.binomialCoefficients=[[1],[1,1],[1,2,1],[1,3,3,1]],t.getCubicArcLength=(e,r,o)=>{let i,A,a;i=o/2,A=0;for(let o=0;o<20;o++)a=i*t.tValues[20][o]+i,A+=t.cValues[20][o]*n(e,r,a);return i*A},t.getQuadraticArcLength=(e,t,n)=>{void 0===n&&(n=1);const r=e[0]-2*e[1]+e[2],o=t[0]-2*t[1]+t[2],i=2*e[1]-2*e[0],A=2*t[1]-2*t[0],a=4*(r*r+o*o),s=4*(r*i+o*A),l=i*i+A*A;if(0===a)return n*Math.sqrt(Math.pow(e[2]-e[0],2)+Math.pow(t[2]-t[0],2));const c=s/(2*a),u=n+c,d=l/a-c*c,f=u*u+d>0?Math.sqrt(u*u+d):0,h=c*c+d>0?Math.sqrt(c*c+d):0,p=c+Math.sqrt(c*c+d)!==0?d*Math.log(Math.abs((u+f)/(c+h))):0;return Math.sqrt(a)/2*(u*f-c*h+p)};const r=(e,n,o)=>{const i=o.length-1;let A,a;if(0===i)return 0;if(0===e){a=0;for(let e=0;e<=i;e++)a+=t.binomialCoefficients[i][e]*Math.pow(1-n,i-e)*Math.pow(n,e)*o[e];return a}A=new Array(i);for(let e=0;e{let r=1,o=e/t,i=(e-n(o))/t,A=0;for(;r>.001;){const a=n(o+i),s=Math.abs(e-a)/t;if(s500)break}return o}},8604:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HitCanvas=t.SceneCanvas=t.Canvas=void 0;const r=n(4060),o=n(9869),i=n(8871),A=n(4892),a=n(5483);var s;class l{constructor(e){this.pixelRatio=1,this.width=0,this.height=0,this.isCache=!1;var t=(e||{}).pixelRatio||i.Konva.pixelRatio||function(){if(s)return s;var e=r.Util.createCanvasElement(),t=e.getContext("2d");return s=(i.Konva._global.devicePixelRatio||1)/(t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1),r.Util.releaseCanvas(e),s}();this.pixelRatio=t,this._canvas=r.Util.createCanvasElement(),this._canvas.style.padding="0",this._canvas.style.margin="0",this._canvas.style.border="0",this._canvas.style.background="transparent",this._canvas.style.position="absolute",this._canvas.style.top="0",this._canvas.style.left="0"}getContext(){return this.context}getPixelRatio(){return this.pixelRatio}setPixelRatio(e){var t=this.pixelRatio;this.pixelRatio=e,this.setSize(this.getWidth()/t,this.getHeight()/t)}setWidth(e){this.width=this._canvas.width=e*this.pixelRatio,this._canvas.style.width=e+"px";var t=this.pixelRatio;this.getContext()._context.scale(t,t)}setHeight(e){this.height=this._canvas.height=e*this.pixelRatio,this._canvas.style.height=e+"px";var t=this.pixelRatio;this.getContext()._context.scale(t,t)}getWidth(){return this.width}getHeight(){return this.height}setSize(e,t){this.setWidth(e||0),this.setHeight(t||0)}toDataURL(e,t){try{return this._canvas.toDataURL(e,t)}catch(e){try{return this._canvas.toDataURL()}catch(e){return r.Util.error("Unable to get data URL. "+e.message+" For more info read https://konvajs.org/docs/posts/Tainted_Canvas.html."),""}}}}t.Canvas=l,A.Factory.addGetterSetter(l,"pixelRatio",void 0,(0,a.getNumberValidator)()),t.SceneCanvas=class extends l{constructor(e={width:0,height:0,willReadFrequently:!1}){super(e),this.context=new o.SceneContext(this,{willReadFrequently:e.willReadFrequently}),this.setSize(e.width,e.height)}},t.HitCanvas=class extends l{constructor(e={width:0,height:0}){super(e),this.hitCanvas=!0,this.context=new o.HitContext(this),this.setSize(e.width,e.height)}}},4473:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Container=void 0;const r=n(4892),o=n(6536),i=n(5483);class A extends o.Node{constructor(){super(...arguments),this.children=[]}getChildren(e){if(!e)return this.children||[];const t=this.children||[];var n=[];return t.forEach((function(t){e(t)&&n.push(t)})),n}hasChildren(){return this.getChildren().length>0}removeChildren(){return this.getChildren().forEach((e=>{e.parent=null,e.index=0,e.remove()})),this.children=[],this._requestDraw(),this}destroyChildren(){return this.getChildren().forEach((e=>{e.parent=null,e.index=0,e.destroy()})),this.children=[],this._requestDraw(),this}add(...e){if(0===e.length)return this;if(e.length>1){for(var t=0;t0?t[0]:void 0}_generalFind(e,t){var n=[];return this._descendants((r=>{const o=r._isMatch(e);return o&&n.push(r),!(!o||!t)})),n}_descendants(e){let t=!1;const n=this.getChildren();for(const r of n){if(t=e(r),t)return!0;if(r.hasChildren()&&(t=r._descendants(e),t))return!0}return!1}toObject(){var e=o.Node.prototype.toObject.call(this);return e.children=[],this.getChildren().forEach((t=>{e.children.push(t.toObject())})),e}isAncestorOf(e){for(var t=e.getParent();t;){if(t._id===this._id)return!0;t=t.getParent()}return!1}clone(e){var t=o.Node.prototype.clone.call(this,e);return this.getChildren().forEach((function(e){t.add(e.clone())})),t}getAllIntersections(e){var t=[];return this.find("Shape").forEach((n=>{n.isVisible()&&n.intersects(e)&&t.push(n)})),t}_clearSelfAndDescendantCache(e){var t;super._clearSelfAndDescendantCache(e),this.isCached()||null===(t=this.children)||void 0===t||t.forEach((function(t){t._clearSelfAndDescendantCache(e)}))}_setChildrenIndices(){var e;null===(e=this.children)||void 0===e||e.forEach((function(e,t){e.index=t})),this._requestDraw()}drawScene(e,t,n){var r=this.getLayer(),o=e||r&&r.getCanvas(),i=o&&o.getContext(),A=this._getCanvasCache(),a=A&&A.scene,s=o&&o.isCache;if(!this.isVisible()&&!s)return this;if(a){i.save();var l=this.getAbsoluteTransform(t).getMatrix();i.transform(l[0],l[1],l[2],l[3],l[4],l[5]),this._drawCachedSceneCanvas(i),i.restore()}else this._drawChildren("drawScene",o,t,n);return this}drawHit(e,t){if(!this.shouldDrawHit(t))return this;var n=this.getLayer(),r=e||n&&n.hitCanvas,o=r&&r.getContext(),i=this._getCanvasCache();if(i&&i.hit){o.save();var A=this.getAbsoluteTransform(t).getMatrix();o.transform(A[0],A[1],A[2],A[3],A[4],A[5]),this._drawCachedHitCanvas(o),o.restore()}else this._drawChildren("drawHit",r,t);return this}_drawChildren(e,t,n,r){var o,i=t&&t.getContext(),A=this.clipWidth(),a=this.clipHeight(),s=this.clipFunc(),l="number"==typeof A&&"number"==typeof a||s;const c=n===this;if(l){i.save();var u=this.getAbsoluteTransform(n),d=u.getMatrix();let e;if(i.transform(d[0],d[1],d[2],d[3],d[4],d[5]),i.beginPath(),s)e=s.call(this,i,this);else{var f=this.clipX(),h=this.clipY();i.rect(f||0,h||0,A,a)}i.clip.apply(i,e),d=u.copy().invert().getMatrix(),i.transform(d[0],d[1],d[2],d[3],d[4],d[5])}var p=!c&&"source-over"!==this.globalCompositeOperation()&&"drawScene"===e;p&&(i.save(),i._applyGlobalCompositeOperation(this)),null===(o=this.children)||void 0===o||o.forEach((function(o){o[e](t,n,r)})),p&&i.restore(),l&&i.restore()}getClientRect(e={}){var t,n,r,o,i,A,a=e.skipTransform,s=e.relativeTo,l=this;null===(t=this.children)||void 0===t||t.forEach((function(t){if(t.visible()){var A=t.getClientRect({relativeTo:l,skipShadow:e.skipShadow,skipStroke:e.skipStroke});0===A.width&&0===A.height||(void 0===n?(n=A.x,r=A.y,o=A.x+A.width,i=A.y+A.height):(n=Math.min(n,A.x),r=Math.min(r,A.y),o=Math.max(o,A.x+A.width),i=Math.max(i,A.y+A.height)))}}));for(var c=this.find("Shape"),u=!1,d=0;d{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HitContext=t.SceneContext=t.Context=void 0;const r=n(4060),o=n(8871);var i=["arc","arcTo","beginPath","bezierCurveTo","clearRect","clip","closePath","createLinearGradient","createPattern","createRadialGradient","drawImage","ellipse","fill","fillText","getImageData","createImageData","lineTo","moveTo","putImageData","quadraticCurveTo","rect","roundRect","restore","rotate","save","scale","setLineDash","setTransform","stroke","strokeText","transform","translate"];class A{constructor(e){this.canvas=e,o.Konva.enableTrace&&(this.traceArr=[],this._enableTrace())}fillShape(e){e.fillEnabled()&&this._fill(e)}_fill(e){}strokeShape(e){e.hasStroke()&&this._stroke(e)}_stroke(e){}fillStrokeShape(e){e.attrs.fillAfterStrokeEnabled?(this.strokeShape(e),this.fillShape(e)):(this.fillShape(e),this.strokeShape(e))}getTrace(e,t){var n,o,i,A,a=this.traceArr,s=a.length,l="";for(n=0;n"number"==typeof e?Math.floor(e):e))),l+="("+A.join(",")+")")):(l+=o.property,e||(l+="="+o.val)),l+=";";return l}clearTrace(){this.traceArr=[]}_trace(e){var t=this.traceArr;t.push(e),t.length>=100&&t.shift()}reset(){var e=this.getCanvas().getPixelRatio();this.setTransform(1*e,0,0,1*e,0,0)}getCanvas(){return this.canvas}clear(e){var t=this.getCanvas();e?this.clearRect(e.x||0,e.y||0,e.width||0,e.height||0):this.clearRect(0,0,t.getWidth()/t.pixelRatio,t.getHeight()/t.pixelRatio)}_applyLineCap(e){const t=e.attrs.lineCap;t&&this.setAttr("lineCap",t)}_applyOpacity(e){var t=e.getAbsoluteOpacity();1!==t&&this.setAttr("globalAlpha",t)}_applyLineJoin(e){const t=e.attrs.lineJoin;t&&this.setAttr("lineJoin",t)}setAttr(e,t){this._context[e]=t}arc(e,t,n,r,o,i){this._context.arc(e,t,n,r,o,i)}arcTo(e,t,n,r,o){this._context.arcTo(e,t,n,r,o)}beginPath(){this._context.beginPath()}bezierCurveTo(e,t,n,r,o,i){this._context.bezierCurveTo(e,t,n,r,o,i)}clearRect(e,t,n,r){this._context.clearRect(e,t,n,r)}clip(...e){this._context.clip.apply(this._context,e)}closePath(){this._context.closePath()}createImageData(e,t){var n=arguments;return 2===n.length?this._context.createImageData(e,t):1===n.length?this._context.createImageData(e):void 0}createLinearGradient(e,t,n,r){return this._context.createLinearGradient(e,t,n,r)}createPattern(e,t){return this._context.createPattern(e,t)}createRadialGradient(e,t,n,r,o,i){return this._context.createRadialGradient(e,t,n,r,o,i)}drawImage(e,t,n,r,o,i,A,a,s){var l=arguments,c=this._context;3===l.length?c.drawImage(e,t,n):5===l.length?c.drawImage(e,t,n,r,o):9===l.length&&c.drawImage(e,t,n,r,o,i,A,a,s)}ellipse(e,t,n,r,o,i,A,a){this._context.ellipse(e,t,n,r,o,i,A,a)}isPointInPath(e,t,n,r){return n?this._context.isPointInPath(n,e,t,r):this._context.isPointInPath(e,t,r)}fill(...e){this._context.fill.apply(this._context,e)}fillRect(e,t,n,r){this._context.fillRect(e,t,n,r)}strokeRect(e,t,n,r){this._context.strokeRect(e,t,n,r)}fillText(e,t,n,r){r?this._context.fillText(e,t,n,r):this._context.fillText(e,t,n)}measureText(e){return this._context.measureText(e)}getImageData(e,t,n,r){return this._context.getImageData(e,t,n,r)}lineTo(e,t){this._context.lineTo(e,t)}moveTo(e,t){this._context.moveTo(e,t)}rect(e,t,n,r){this._context.rect(e,t,n,r)}roundRect(e,t,n,r,o){this._context.roundRect(e,t,n,r,o)}putImageData(e,t,n){this._context.putImageData(e,t,n)}quadraticCurveTo(e,t,n,r){this._context.quadraticCurveTo(e,t,n,r)}restore(){this._context.restore()}rotate(e){this._context.rotate(e)}save(){this._context.save()}scale(e,t){this._context.scale(e,t)}setLineDash(e){this._context.setLineDash?this._context.setLineDash(e):"mozDash"in this._context?this._context.mozDash=e:"webkitLineDash"in this._context&&(this._context.webkitLineDash=e)}getLineDash(){return this._context.getLineDash()}setTransform(e,t,n,r,o,i){this._context.setTransform(e,t,n,r,o,i)}stroke(e){e?this._context.stroke(e):this._context.stroke()}strokeText(e,t,n,r){this._context.strokeText(e,t,n,r)}transform(e,t,n,r,o,i){this._context.transform(e,t,n,r,o,i)}translate(e,t){this._context.translate(e,t)}_enableTrace(){var e,t,n=this,o=i.length,A=this.setAttr,a=function(e){var o,i=n[e];n[e]=function(){return t=function(e){var t,n,o=[],i=e.length,A=r.Util;for(t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DD=void 0;const r=n(8871),o=n(4060);t.DD={get isDragging(){var e=!1;return t.DD._dragElements.forEach((t=>{"dragging"===t.dragStatus&&(e=!0)})),e},justDragged:!1,get node(){var e;return t.DD._dragElements.forEach((t=>{e=t.node})),e},_dragElements:new Map,_drag(e){const n=[];t.DD._dragElements.forEach(((t,r)=>{const{node:i}=t,A=i.getStage();A.setPointersPositions(e),void 0===t.pointerId&&(t.pointerId=o.Util._getFirstPointerId(e));const a=A._changedPointerPositions.find((e=>e.id===t.pointerId));if(a){if("dragging"!==t.dragStatus){var s=i.dragDistance();if(Math.max(Math.abs(a.x-t.startPointerPos.x),Math.abs(a.y-t.startPointerPos.y)){t.fire("dragmove",{type:"dragmove",target:t,evt:e},!0)}))},_endDragBefore(e){const n=[];t.DD._dragElements.forEach((o=>{const{node:i}=o,A=i.getStage();if(e&&A.setPointersPositions(e),!A._changedPointerPositions.find((e=>e.id===o.pointerId)))return;"dragging"!==o.dragStatus&&"stopped"!==o.dragStatus||(t.DD.justDragged=!0,r.Konva._mouseListenClick=!1,r.Konva._touchListenClick=!1,r.Konva._pointerListenClick=!1,o.dragStatus="stopped");const a=o.node.getLayer()||o.node instanceof r.Konva.Stage&&o.node;a&&-1===n.indexOf(a)&&n.push(a)})),n.forEach((e=>{e.draw()}))},_endDragAfter(e){t.DD._dragElements.forEach(((n,r)=>{"stopped"===n.dragStatus&&n.node.fire("dragend",{type:"dragend",target:n.node,evt:e},!0),"dragging"!==n.dragStatus&&t.DD._dragElements.delete(r)}))}},r.Konva.isBrowser&&(window.addEventListener("mouseup",t.DD._endDragBefore,!0),window.addEventListener("touchend",t.DD._endDragBefore,!0),window.addEventListener("mousemove",t.DD._drag),window.addEventListener("touchmove",t.DD._drag),window.addEventListener("mouseup",t.DD._endDragAfter,!1),window.addEventListener("touchend",t.DD._endDragAfter,!1))},4892:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Factory=void 0;const r=n(4060),o=n(5483);var i="get",A="set";t.Factory={addGetterSetter(e,n,r,o,i){t.Factory.addGetter(e,n,r),t.Factory.addSetter(e,n,o,i),t.Factory.addOverloadedGetterSetter(e,n)},addGetter(e,t,n){var o=i+r.Util._capitalize(t);e.prototype[o]=e.prototype[o]||function(){var e=this.attrs[t];return void 0===e?n:e}},addSetter(e,n,o,i){var a=A+r.Util._capitalize(n);e.prototype[a]||t.Factory.overWriteSetter(e,n,o,i)},overWriteSetter(e,t,n,o){var i=A+r.Util._capitalize(t);e.prototype[i]=function(e){return n&&null!=e&&(e=n.call(this,e,t)),this._setAttr(t,e),o&&o.call(this),this}},addComponentsGetterSetter(e,n,a,s,l){var c,u,d=a.length,f=r.Util._capitalize,h=i+f(n),p=A+f(n);e.prototype[h]=function(){var e={};for(c=0;c{this._setAttr(n+f(e),void 0)})),this._fireChangeEvent(n,r,e),l&&l.call(this),this},t.Factory.addOverloadedGetterSetter(e,n)},addOverloadedGetterSetter(e,t){var n=r.Util._capitalize(t),o=A+n,a=i+n;e.prototype[t]=function(){return arguments.length?(this[o](arguments[0]),this):this[a]()}},addDeprecatedGetterSetter(e,n,o,A){r.Util.error("Adding deprecated "+n);var a=i+r.Util._capitalize(n),s=n+" property is deprecated and will be removed soon. Look at Konva change log for more information.";e.prototype[a]=function(){r.Util.error(s);var e=this.attrs[n];return void 0===e?o:e},t.Factory.addSetter(e,n,A,(function(){r.Util.error(s)})),t.Factory.addOverloadedGetterSetter(e,n)},backCompat(e,t){r.Util.each(t,(function(t,n){var o=e.prototype[n],a=i+r.Util._capitalize(t),s=A+r.Util._capitalize(t);function l(){o.apply(this,arguments),r.Util.error('"'+t+'" method is deprecated and will be removed soon. Use ""'+n+'" instead.')}e.prototype[t]=l,e.prototype[a]=l,e.prototype[s]=l}))},afterSetFilter(){this._filterUpToDate=!1}}},7457:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FastLayer=void 0;const r=n(4060),o=n(6267),i=n(8871);class A extends o.Layer{constructor(e){super(e),this.listening(!1),r.Util.warn('Konva.Fast layer is deprecated. Please use "new Konva.Layer({ listening: false })" instead.')}}t.FastLayer=A,A.prototype.nodeType="FastLayer",(0,i._registerNode)(A)},8871:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._registerNode=t.Konva=t.glob=void 0;const r=Math.PI/180;t.glob=void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope?self:{},t.Konva={_global:t.glob,version:"9.3.14",isBrowser:"undefined"!=typeof window&&("[object Window]"==={}.toString.call(window)||"[object global]"==={}.toString.call(window)),isUnminified:/param/.test(function(e){}.toString()),dblClickWindow:400,getAngle:e=>t.Konva.angleDeg?e*r:e,enableTrace:!1,pointerEventsEnabled:!0,autoDrawEnabled:!0,hitOnDragEnabled:!1,capturePointerEventsEnabled:!1,_mouseListenClick:!1,_touchListenClick:!1,_pointerListenClick:!1,_mouseInDblClickWindow:!1,_touchInDblClickWindow:!1,_pointerInDblClickWindow:!1,_mouseDblClickPointerId:null,_touchDblClickPointerId:null,_pointerDblClickPointerId:null,_fixTextRendering:!1,pixelRatio:"undefined"!=typeof window&&window.devicePixelRatio||1,dragDistance:3,angleDeg:!0,showWarnings:!0,dragButtons:[0,1],isDragging:()=>t.Konva.DD.isDragging,isTransforming(){var e;return null===(e=t.Konva.Transformer)||void 0===e?void 0:e.isTransforming()},isDragReady:()=>!!t.Konva.DD.node,releaseCanvasOnDestroy:!0,document:t.glob.document,_injectGlobal(e){t.glob.Konva=e}},t._registerNode=e=>{t.Konva[e.prototype.getClassName()]=e},t.Konva._injectGlobal(t.Konva)},7949:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Group=void 0;const r=n(4060),o=n(4473),i=n(8871);class A extends o.Container{_validateAdd(e){var t=e.getType();"Group"!==t&&"Shape"!==t&&r.Util.throw("You may only add groups and shapes to groups.")}}t.Group=A,A.prototype.nodeType="Group",(0,i._registerNode)(A)},6267:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Layer=void 0;const r=n(4060),o=n(4473),i=n(6536),A=n(4892),a=n(8604),s=n(5483),l=n(4723),c=n(8871);var u=[{x:0,y:0},{x:-1,y:-1},{x:1,y:-1},{x:1,y:1},{x:-1,y:1}],d=u.length;class f extends o.Container{constructor(e){super(e),this.canvas=new a.SceneCanvas,this.hitCanvas=new a.HitCanvas({pixelRatio:1}),this._waitingForDraw=!1,this.on("visibleChange.konva",this._checkVisibility),this._checkVisibility(),this.on("imageSmoothingEnabledChange.konva",this._setSmoothEnabled),this._setSmoothEnabled()}createPNGStream(){return this.canvas._canvas.createPNGStream()}getCanvas(){return this.canvas}getNativeCanvasElement(){return this.canvas._canvas}getHitCanvas(){return this.hitCanvas}getContext(){return this.getCanvas().getContext()}clear(e){return this.getContext().clear(e),this.getHitCanvas().getContext().clear(e),this}setZIndex(e){super.setZIndex(e);var t=this.getStage();return t&&t.content&&(t.content.removeChild(this.getNativeCanvasElement()),e{this.draw(),this._waitingForDraw=!1}))),this}getIntersection(e){if(!this.isListening()||!this.isVisible())return null;for(var t=1,n=!1;;){for(let r=0;r0?{antialiased:!0}:{}}drawScene(e,t){var n=this.getLayer(),r=e||n&&n.getCanvas();return this._fire("beforeDraw",{node:this}),this.clearBeforeDraw()&&r.getContext().clear(),o.Container.prototype.drawScene.call(this,r,t),this._fire("draw",{node:this}),this}drawHit(e,t){var n=this.getLayer(),r=e||n&&n.hitCanvas;return n&&n.clearBeforeDraw()&&n.getHitCanvas().getContext().clear(),o.Container.prototype.drawHit.call(this,r,t),this}enableHitGraph(){return this.hitGraphEnabled(!0),this}disableHitGraph(){return this.hitGraphEnabled(!1),this}setHitGraphEnabled(e){r.Util.warn("hitGraphEnabled method is deprecated. Please use layer.listening() instead."),this.listening(e)}getHitGraphEnabled(e){return r.Util.warn("hitGraphEnabled method is deprecated. Please use layer.listening() instead."),this.listening()}toggleHitCanvas(){if(this.parent&&this.parent.content){var e=this.parent;this.hitCanvas._canvas.parentNode?e.content.removeChild(this.hitCanvas._canvas):e.content.appendChild(this.hitCanvas._canvas)}}destroy(){return r.Util.releaseCanvas(this.getNativeCanvasElement(),this.getHitCanvas()._canvas),super.destroy()}}t.Layer=f,f.prototype.nodeType="Layer",(0,c._registerNode)(f),A.Factory.addGetterSetter(f,"imageSmoothingEnabled",!0),A.Factory.addGetterSetter(f,"clearBeforeDraw",!0),A.Factory.addGetterSetter(f,"hitGraphEnabled",!0,(0,s.getBooleanValidator)())},6536:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Node=void 0;const r=n(4060),o=n(4892),i=n(8604),A=n(8871),a=n(1268),s=n(5483);var l="absoluteOpacity",c="allEventListeners",u="absoluteTransform",d="absoluteScale",f="canvas",h="listening",p="mouseenter",g="mouseleave",m="Shape",v=" ",y="stage",w="transform",b="visible",B=["xChange.konva","yChange.konva","scaleXChange.konva","scaleYChange.konva","skewXChange.konva","skewYChange.konva","rotationChange.konva","offsetXChange.konva","offsetYChange.konva","transformsEnabledChange.konva"].join(v);let C=1;class x{constructor(e){this._id=C++,this.eventListeners={},this.attrs={},this.index=0,this._allEventListeners=null,this.parent=null,this._cache=new Map,this._attachedDepsListeners=new Map,this._lastPos=null,this._batchingTransformChange=!1,this._needClearTransformCache=!1,this._filterUpToDate=!1,this._isUnderCache=!1,this._dragEventId=null,this._shouldFireChangeEvents=!1,this.setAttrs(e),this._shouldFireChangeEvents=!0}hasChildren(){return!1}_clearCache(e){e!==w&&e!==u||!this._cache.get(e)?e?this._cache.delete(e):this._cache.clear():this._cache.get(e).dirty=!0}_getCache(e,t){var n=this._cache.get(e);return(void 0===n||(e===w||e===u)&&!0===n.dirty)&&(n=t.call(this),this._cache.set(e,n)),n}_calculate(e,t,n){if(!this._attachedDepsListeners.get(e)){const n=t.map((e=>e+"Change.konva")).join(v);this.on(n,(()=>{this._clearCache(e)})),this._attachedDepsListeners.set(e,!0)}return this._getCache(e,n)}_getCanvasCache(){return this._cache.get(f)}_clearSelfAndDescendantCache(e){this._clearCache(e),e===u&&this.fire("absoluteTransformChange")}clearCache(){if(this._cache.has(f)){const{scene:e,filter:t,hit:n}=this._cache.get(f);r.Util.releaseCanvas(e,t,n),this._cache.delete(f)}return this._clearSelfAndDescendantCache(),this._requestDraw(),this}cache(e){var t=e||{},n={};void 0!==t.x&&void 0!==t.y&&void 0!==t.width&&void 0!==t.height||(n=this.getClientRect({skipTransform:!0,relativeTo:this.getParent()||void 0}));var o=Math.ceil(t.width||n.width),A=Math.ceil(t.height||n.height),a=t.pixelRatio,s=void 0===t.x?Math.floor(n.x):t.x,c=void 0===t.y?Math.floor(n.y):t.y,u=t.offset||0,h=t.drawBorder||!1,p=t.hitCanvasPixelRatio||1;if(o&&A){o+=2*u+(Math.abs(Math.round(n.x)-s)>.5?1:0),A+=2*u+(Math.abs(Math.round(n.y)-c)>.5?1:0),s-=u,c-=u;var g=new i.SceneCanvas({pixelRatio:a,width:o,height:A}),m=new i.SceneCanvas({pixelRatio:a,width:0,height:0,willReadFrequently:!0}),v=new i.HitCanvas({pixelRatio:p,width:o,height:A}),y=g.getContext(),w=v.getContext();return v.isCache=!0,g.isCache=!0,this._cache.delete(f),this._filterUpToDate=!1,!1===t.imageSmoothingEnabled&&(g.getContext()._context.imageSmoothingEnabled=!1,m.getContext()._context.imageSmoothingEnabled=!1),y.save(),w.save(),y.translate(-s,-c),w.translate(-s,-c),this._isUnderCache=!0,this._clearSelfAndDescendantCache(l),this._clearSelfAndDescendantCache(d),this.drawScene(g,this),this.drawHit(v,this),this._isUnderCache=!1,y.restore(),w.restore(),h&&(y.save(),y.beginPath(),y.rect(0,0,o,A),y.closePath(),y.setAttr("strokeStyle","red"),y.setAttr("lineWidth",5),y.stroke(),y.restore()),this._cache.set(f,{scene:g,filter:m,hit:v,x:s,y:c}),this._requestDraw(),this}r.Util.error("Can not cache the node. Width or height of the node equals 0. Caching is skipped.")}isCached(){return this._cache.has(f)}getClientRect(e){throw new Error('abstract "getClientRect" method call')}_transformedRect(e,t){var n=[{x:e.x,y:e.y},{x:e.x+e.width,y:e.y},{x:e.x+e.width,y:e.y+e.height},{x:e.x,y:e.y+e.height}],r=1/0,o=1/0,i=-1/0,A=-1/0,a=this.getAbsoluteTransform(t);return n.forEach((function(e){var t=a.point(e);void 0===r&&(r=i=t.x,o=A=t.y),r=Math.min(r,t.x),o=Math.min(o,t.y),i=Math.max(i,t.x),A=Math.max(A,t.y)})),{x:r,y:o,width:i-r,height:A-o}}_drawCachedSceneCanvas(e){e.save(),e._applyOpacity(this),e._applyGlobalCompositeOperation(this);const t=this._getCanvasCache();e.translate(t.x,t.y);var n=this._getCachedSceneCanvas(),r=n.pixelRatio;e.drawImage(n._canvas,0,0,n.width/r,n.height/r),e.restore()}_drawCachedHitCanvas(e){var t=this._getCanvasCache(),n=t.hit;e.save(),e.translate(t.x,t.y),e.drawImage(n._canvas,0,0,n.width/n.pixelRatio,n.height/n.pixelRatio),e.restore()}_getCachedSceneCanvas(){var e,t,n,o,i=this.filters(),A=this._getCanvasCache(),a=A.scene,s=A.filter,l=s.getContext();if(i){if(!this._filterUpToDate){var c=a.pixelRatio;s.setSize(a.width/a.pixelRatio,a.height/a.pixelRatio);try{for(e=i.length,l.clear(),l.drawImage(a._canvas,0,0,a.getWidth()/c,a.getHeight()/c),t=l.getImageData(0,0,s.getWidth(),s.getHeight()),n=0;n{var t,n;if(!e)return this;for(t in e)"children"!==t&&(n="set"+r.Util._capitalize(t),r.Util._isFunction(this[n])?this[n](e[t]):this._setAttr(t,e[t]))})),this}isListening(){return this._getCache(h,this._isListening)}_isListening(e){if(!this.listening())return!1;const t=this.getParent();return!t||t===e||this===e||t._isListening(e)}isVisible(){return this._getCache(b,this._isVisible)}_isVisible(e){if(!this.visible())return!1;const t=this.getParent();return!t||t===e||this===e||t._isVisible(e)}shouldDrawHit(e,t=!1){if(e)return this._isVisible(e)&&this._isListening(e);var n=this.getLayer(),r=!1;a.DD._dragElements.forEach((e=>{"dragging"===e.dragStatus&&("Stage"===e.node.nodeType||e.node.getLayer()===n)&&(r=!0)}));var o=!t&&!A.Konva.hitOnDragEnabled&&(r||A.Konva.isTransforming());return this.isListening()&&this.isVisible()&&!o}show(){return this.visible(!0),this}hide(){return this.visible(!1),this}getZIndex(){return this.index||0}getAbsoluteZIndex(){var e,t,n,r,o=this.getDepth(),i=this,A=0;const a=this.getStage();return"Stage"!==i.nodeType&&a&&function a(s){for(e=[],t=s.length,n=0;n0&&e[0].getDepth()<=o&&a(e)}(a.getChildren()),A}getDepth(){for(var e=0,t=this.parent;t;)e++,t=t.parent;return e}_batchTransformChanges(e){this._batchingTransformChange=!0,e(),this._batchingTransformChange=!1,this._needClearTransformCache&&(this._clearCache(w),this._clearSelfAndDescendantCache(u)),this._needClearTransformCache=!1}setPosition(e){return this._batchTransformChanges((()=>{this.x(e.x),this.y(e.y)})),this}getPosition(){return{x:this.x(),y:this.y()}}getRelativePointerPosition(){const e=this.getStage();if(!e)return null;var t=e.getPointerPosition();if(!t)return null;var n=this.getAbsoluteTransform().copy();return n.invert(),n.point(t)}getAbsolutePosition(e){let t=!1,n=this.parent;for(;n;){if(n.isCached()){t=!0;break}n=n.parent}t&&!e&&(e=!0);var o=this.getAbsoluteTransform(e).getMatrix(),i=new r.Transform,A=this.offset();return i.m=o.slice(),i.translate(A.x,A.y),i.getTranslation()}setAbsolutePosition(e){const{x:t,y:n,...r}=this._clearTransform();this.attrs.x=t,this.attrs.y=n,this._clearCache(w);var o=this._getAbsoluteTransform().copy();return o.invert(),o.translate(e.x,e.y),e={x:this.attrs.x+o.getTranslation().x,y:this.attrs.y+o.getTranslation().y},this._setTransform(r),this.setPosition({x:e.x,y:e.y}),this._clearCache(w),this._clearSelfAndDescendantCache(u),this}_setTransform(e){var t;for(t in e)this.attrs[t]=e[t]}_clearTransform(){var e={x:this.x(),y:this.y(),rotation:this.rotation(),scaleX:this.scaleX(),scaleY:this.scaleY(),offsetX:this.offsetX(),offsetY:this.offsetY(),skewX:this.skewX(),skewY:this.skewY()};return this.attrs.x=0,this.attrs.y=0,this.attrs.rotation=0,this.attrs.scaleX=1,this.attrs.scaleY=1,this.attrs.offsetX=0,this.attrs.offsetY=0,this.attrs.skewX=0,this.attrs.skewY=0,e}move(e){var t=e.x,n=e.y,r=this.x(),o=this.y();return void 0!==t&&(r+=t),void 0!==n&&(o+=n),this.setPosition({x:r,y:o}),this}_eachAncestorReverse(e,t){var n,r,o=[],i=this.getParent();if(!t||t._id!==this._id){for(o.unshift(this);i&&(!t||i._id!==t._id);)o.unshift(i),i=i.parent;for(n=o.length,r=0;r0&&(this.parent.children.splice(e,1),this.parent.children.splice(e-1,0,this),this.parent._setChildrenIndices(),!0)}moveToBottom(){if(!this.parent)return r.Util.warn("Node has no parent. moveToBottom function is ignored."),!1;var e=this.index;return e>0&&(this.parent.children.splice(e,1),this.parent.children.unshift(this),this.parent._setChildrenIndices(),!0)}setZIndex(e){if(!this.parent)return r.Util.warn("Node has no parent. zIndex parameter is ignored."),this;(e<0||e>=this.parent.children.length)&&r.Util.warn("Unexpected value "+e+" for zIndex property. zIndex is just index of a node in children of its parent. Expected value is from 0 to "+(this.parent.children.length-1)+".");var t=this.index;return this.parent.children.splice(t,1),this.parent.children.splice(e,0,this),this.parent._setChildrenIndices(),this}getAbsoluteOpacity(){return this._getCache(l,this._getAbsoluteOpacity)}_getAbsoluteOpacity(){var e=this.opacity(),t=this.getParent();return t&&!t._isUnderCache&&(e*=t.getAbsoluteOpacity()),e}moveTo(e){return this.getParent()!==e&&(this._remove(),e.add(this)),this}toObject(){var e,t,n,o,i=this.getAttrs();const A={attrs:{},className:this.getClassName()};for(e in i)t=i[e],r.Util.isObject(t)&&!r.Util._isPlainObject(t)&&!r.Util._isArray(t)||(n="function"==typeof this[e]&&this[e],delete i[e],o=n?n.call(this):null,i[e]=t,o!==t&&(A.attrs[e]=t));return r.Util._prepareToStringify(A)}toJSON(){return JSON.stringify(this.toObject())}getParent(){return this.parent}findAncestors(e,t,n){var r=[];t&&this._isMatch(e)&&r.push(this);for(var o=this.parent;o;){if(o===n)return r;o._isMatch(e)&&r.push(o),o=o.parent}return r}isAncestorOf(e){return!1}findAncestor(e,t,n){return this.findAncestors(e,t,n)[0]}_isMatch(e){if(!e)return!1;if("function"==typeof e)return e(this);var t,n,o=e.replace(/ /g,"").split(","),i=o.length;for(t=0;t{try{const n=null==e?void 0:e.callback;n&&delete e.callback,r.Util._urlToImage(this.toDataURL(e),(function(e){t(e),null==n||n(e)}))}catch(e){n(e)}}))}toBlob(e){return new Promise(((t,n)=>{try{const n=null==e?void 0:e.callback;n&&delete e.callback,this.toCanvas(e).toBlob((e=>{t(e),null==n||n(e)}),null==e?void 0:e.mimeType,null==e?void 0:e.quality)}catch(e){n(e)}}))}setSize(e){return this.width(e.width),this.height(e.height),this}getSize(){return{width:this.width(),height:this.height()}}getClassName(){return this.className||this.nodeType}getType(){return this.nodeType}getDragDistance(){return void 0!==this.attrs.dragDistance?this.attrs.dragDistance:this.parent?this.parent.getDragDistance():A.Konva.dragDistance}_off(e,t,n){var r,o,i,A=this.eventListeners[e];for(r=0;r=0)&&!this.isDragging()){var t=!1;a.DD._dragElements.forEach((e=>{this.isAncestorOf(e.node)&&(t=!0)})),t||this._createDragElement(e)}}))}_dragChange(){if(this.attrs.draggable)this._listenDrag();else{if(this._dragCleanup(),!this.getStage())return;const e=a.DD._dragElements.get(this._id),t=e&&"dragging"===e.dragStatus,n=e&&"ready"===e.dragStatus;t?this.stopDrag():n&&a.DD._dragElements.delete(this._id)}}_dragCleanup(){this.off("mousedown.konva"),this.off("touchstart.konva")}isClientRectOnScreen(e={x:0,y:0}){const t=this.getStage();if(!t)return!1;const n={x:-e.x,y:-e.y,width:t.width()+2*e.x,height:t.height()+2*e.y};return r.Util.haveIntersection(n,this.getClientRect())}static create(e,t){return r.Util._isString(e)&&(e=JSON.parse(e)),this._createNode(e,t)}static _createNode(e,t){var n,o,i,a=x.prototype.getClassName.call(e),s=e.children;if(t&&(e.attrs.container=t),A.Konva[a]||(r.Util.warn('Can not find a node with class name "'+a+'". Fallback to "Shape".'),a="Shape"),n=new(0,A.Konva[a])(e.attrs),s)for(o=s.length,i=0;i{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.releaseCapture=t.setPointerCapture=t.hasPointerCapture=t.createEvent=t.getCapturedShape=void 0;const r=n(8871),o=new Map,i=void 0!==r.Konva._global.PointerEvent;function A(e){return{evt:e,pointerId:e.pointerId}}function a(e,t){const n=o.get(e);if(!n)return;const r=n.getStage();r&&r.content,o.delete(e),i&&n._fire("lostpointercapture",A(new PointerEvent("lostpointercapture")))}t.getCapturedShape=function(e){return o.get(e)},t.createEvent=A,t.hasPointerCapture=function(e,t){return o.get(e)===t},t.setPointerCapture=function(e,t){a(e),t.getStage()&&(o.set(e,t),i&&t._fire("gotpointercapture",A(new PointerEvent("gotpointercapture"))))},t.releaseCapture=a},4723:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Shape=t.shapes=void 0;const r=n(8871),o=n(4060),i=n(4892),A=n(6536),a=n(5483),s=n(8871),l=n(8722);var c="hasShadow",u="shadowRGBA",d="patternImage",f="linearGradient",h="radialGradient";let p;function g(){return p||(p=o.Util.createCanvasElement().getContext("2d"),p)}t.shapes={};class m extends A.Node{constructor(e){let n;for(super(e);n=o.Util.getRandomColor(),!n||n in t.shapes;);this.colorKey=n,t.shapes[n]=this}getContext(){return o.Util.warn("shape.getContext() method is deprecated. Please do not use it."),this.getLayer().getContext()}getCanvas(){return o.Util.warn("shape.getCanvas() method is deprecated. Please do not use it."),this.getLayer().getCanvas()}getSceneFunc(){return this.attrs.sceneFunc||this._sceneFunc}getHitFunc(){return this.attrs.hitFunc||this._hitFunc}hasShadow(){return this._getCache(c,this._hasShadow)}_hasShadow(){return this.shadowEnabled()&&0!==this.shadowOpacity()&&!!(this.shadowColor()||this.shadowBlur()||this.shadowOffsetX()||this.shadowOffsetY())}_getFillPattern(){return this._getCache(d,this.__getFillPattern)}__getFillPattern(){if(this.fillPatternImage()){const e=g().createPattern(this.fillPatternImage(),this.fillPatternRepeat()||"repeat");if(e&&e.setTransform){const t=new o.Transform;t.translate(this.fillPatternX(),this.fillPatternY()),t.rotate(r.Konva.getAngle(this.fillPatternRotation())),t.scale(this.fillPatternScaleX(),this.fillPatternScaleY()),t.translate(-1*this.fillPatternOffsetX(),-1*this.fillPatternOffsetY());const n=t.getMatrix(),i="undefined"==typeof DOMMatrix?{a:n[0],b:n[1],c:n[2],d:n[3],e:n[4],f:n[5]}:new DOMMatrix(n);e.setTransform(i)}return e}}_getLinearGradient(){return this._getCache(f,this.__getLinearGradient)}__getLinearGradient(){var e=this.fillLinearGradientColorStops();if(e){for(var t=g(),n=this.fillLinearGradientStartPoint(),r=this.fillLinearGradientEndPoint(),o=t.createLinearGradient(n.x,n.y,r.x,r.y),i=0;ithis.fillEnabled()&&!!(this.fill()||this.fillPatternImage()||this.fillLinearGradientColorStops()||this.fillRadialGradientColorStops())))}hasStroke(){return this._calculate("hasStroke",["strokeEnabled","strokeWidth","stroke","strokeLinearGradientColorStops"],(()=>this.strokeEnabled()&&this.strokeWidth()&&!(!this.stroke()&&!this.strokeLinearGradientColorStops())))}hasHitStroke(){const e=this.hitStrokeWidth();return"auto"===e?this.hasStroke():this.strokeEnabled()&&!!e}intersects(e){var t=this.getStage();if(!t)return!1;const n=t.bufferHitCanvas;return n.getContext().clear(),this.drawHit(n,void 0,!0),n.context.getImageData(Math.round(e.x),Math.round(e.y),1,1).data[3]>0}destroy(){return A.Node.prototype.destroy.call(this),delete t.shapes[this.colorKey],delete this.colorKey,this}_useBufferCanvas(e){var t;if(null!==(t=this.attrs.perfectDrawEnabled)&&void 0!==t&&!t)return!1;const n=e||this.hasFill(),r=this.hasStroke(),o=1!==this.getAbsoluteOpacity();if(n&&r&&o)return!0;const i=this.hasShadow(),A=this.shadowForStrokeEnabled();return!!(n&&r&&i&&A)}setStrokeHitEnabled(e){o.Util.warn("strokeHitEnabled property is deprecated. Please use hitStrokeWidth instead."),e?this.hitStrokeWidth("auto"):this.hitStrokeWidth(0)}getStrokeHitEnabled(){return 0!==this.hitStrokeWidth()}getSelfRect(){var e=this.size();return{x:this._centroid?-e.width/2:0,y:this._centroid?-e.height/2:0,width:e.width,height:e.height}}getClientRect(e={}){let t=!1,n=this.getParent();for(;n;){if(n.isCached()){t=!0;break}n=n.getParent()}const r=e.skipTransform,o=e.relativeTo||t&&this.getStage()||void 0,i=this.getSelfRect(),A=!e.skipStroke&&this.hasStroke()&&this.strokeWidth()||0,a=i.width+A,s=i.height+A,l=!e.skipShadow&&this.hasShadow(),c=l?this.shadowOffsetX():0,u=l?this.shadowOffsetY():0,d=a+Math.abs(c),f=s+Math.abs(u),h=l&&this.shadowBlur()||0,p={width:d+2*h,height:f+2*h,x:-(A/2+h)+Math.min(c,0)+i.x,y:-(A/2+h)+Math.min(u,0)+i.y};return r?p:this._transformedRect(p,o)}drawScene(e,t,n){var r,o,i=this.getLayer(),A=e||i.getCanvas(),a=A.getContext(),s=this._getCanvasCache(),l=this.getSceneFunc(),c=this.hasShadow(),u=A.isCache,d=t===this;if(!this.isVisible()&&!d)return this;if(s){a.save();var f=this.getAbsoluteTransform(t).getMatrix();return a.transform(f[0],f[1],f[2],f[3],f[4],f[5]),this._drawCachedSceneCanvas(a),a.restore(),this}if(!l)return this;if(a.save(),this._useBufferCanvas()&&!u){r=this.getStage();const e=n||r.bufferCanvas;(o=e.getContext()).clear(),o.save(),o._applyLineJoin(this);var h=this.getAbsoluteTransform(t).getMatrix();o.transform(h[0],h[1],h[2],h[3],h[4],h[5]),l.call(this,o,this),o.restore();var p=e.pixelRatio;c&&a._applyShadow(this),a._applyOpacity(this),a._applyGlobalCompositeOperation(this),a.drawImage(e._canvas,0,0,e.width/p,e.height/p)}else a._applyLineJoin(this),d||(h=this.getAbsoluteTransform(t).getMatrix(),a.transform(h[0],h[1],h[2],h[3],h[4],h[5]),a._applyOpacity(this),a._applyGlobalCompositeOperation(this)),c&&a._applyShadow(this),l.call(this,a,this);return a.restore(),this}drawHit(e,t,n=!1){if(!this.shouldDrawHit(t,n))return this;var r=this.getLayer(),i=e||r.hitCanvas,A=i&&i.getContext(),a=this.hitFunc()||this.sceneFunc(),s=this._getCanvasCache(),l=s&&s.hit;if(this.colorKey||o.Util.warn("Looks like your canvas has a destroyed shape in it. Do not reuse shape after you destroyed it. If you want to reuse shape you should call remove() instead of destroy()"),l){A.save();var c=this.getAbsoluteTransform(t).getMatrix();return A.transform(c[0],c[1],c[2],c[3],c[4],c[5]),this._drawCachedHitCanvas(A),A.restore(),this}if(!a)return this;if(A.save(),A._applyLineJoin(this),this!==t){var u=this.getAbsoluteTransform(t).getMatrix();A.transform(u[0],u[1],u[2],u[3],u[4],u[5])}return a.call(this,A,this),A.restore(),this}drawHitFromCache(e=0){var t,n,r,i,A,a=this._getCanvasCache(),s=this._getCachedSceneCanvas(),l=a.hit,c=l.getContext(),u=l.getWidth(),d=l.getHeight();c.clear(),c.drawImage(s._canvas,0,0,u,d);try{for(r=(n=(t=c.getImageData(0,0,u,d)).data).length,i=o.Util._hexToRgb(this.colorKey),A=0;Ae?(n[A]=i.r,n[A+1]=i.g,n[A+2]=i.b,n[A+3]=255):n[A+3]=0;c.putImageData(t,0,0)}catch(e){o.Util.error("Unable to draw hit graph from cached scene canvas. "+e.message)}return this}hasPointerCapture(e){return l.hasPointerCapture(e,this)}setPointerCapture(e){l.setPointerCapture(e,this)}releaseCapture(e){l.releaseCapture(e,this)}}t.Shape=m,m.prototype._fillFunc=function(e){const t=this.attrs.fillRule;t?e.fill(t):e.fill()},m.prototype._strokeFunc=function(e){e.stroke()},m.prototype._fillFuncHit=function(e){const t=this.attrs.fillRule;t?e.fill(t):e.fill()},m.prototype._strokeFuncHit=function(e){e.stroke()},m.prototype._centroid=!1,m.prototype.nodeType="Shape",(0,s._registerNode)(m),m.prototype.eventListeners={},m.prototype.on.call(m.prototype,"shadowColorChange.konva shadowBlurChange.konva shadowOffsetChange.konva shadowOpacityChange.konva shadowEnabledChange.konva",(function(){this._clearCache(c)})),m.prototype.on.call(m.prototype,"shadowColorChange.konva shadowOpacityChange.konva shadowEnabledChange.konva",(function(){this._clearCache(u)})),m.prototype.on.call(m.prototype,"fillPriorityChange.konva fillPatternImageChange.konva fillPatternRepeatChange.konva fillPatternScaleXChange.konva fillPatternScaleYChange.konva fillPatternOffsetXChange.konva fillPatternOffsetYChange.konva fillPatternXChange.konva fillPatternYChange.konva fillPatternRotationChange.konva",(function(){this._clearCache(d)})),m.prototype.on.call(m.prototype,"fillPriorityChange.konva fillLinearGradientColorStopsChange.konva fillLinearGradientStartPointXChange.konva fillLinearGradientStartPointYChange.konva fillLinearGradientEndPointXChange.konva fillLinearGradientEndPointYChange.konva",(function(){this._clearCache(f)})),m.prototype.on.call(m.prototype,"fillPriorityChange.konva fillRadialGradientColorStopsChange.konva fillRadialGradientStartPointXChange.konva fillRadialGradientStartPointYChange.konva fillRadialGradientEndPointXChange.konva fillRadialGradientEndPointYChange.konva fillRadialGradientStartRadiusChange.konva fillRadialGradientEndRadiusChange.konva",(function(){this._clearCache(h)})),i.Factory.addGetterSetter(m,"stroke",void 0,(0,a.getStringOrGradientValidator)()),i.Factory.addGetterSetter(m,"strokeWidth",2,(0,a.getNumberValidator)()),i.Factory.addGetterSetter(m,"fillAfterStrokeEnabled",!1),i.Factory.addGetterSetter(m,"hitStrokeWidth","auto",(0,a.getNumberOrAutoValidator)()),i.Factory.addGetterSetter(m,"strokeHitEnabled",!0,(0,a.getBooleanValidator)()),i.Factory.addGetterSetter(m,"perfectDrawEnabled",!0,(0,a.getBooleanValidator)()),i.Factory.addGetterSetter(m,"shadowForStrokeEnabled",!0,(0,a.getBooleanValidator)()),i.Factory.addGetterSetter(m,"lineJoin"),i.Factory.addGetterSetter(m,"lineCap"),i.Factory.addGetterSetter(m,"sceneFunc"),i.Factory.addGetterSetter(m,"hitFunc"),i.Factory.addGetterSetter(m,"dash"),i.Factory.addGetterSetter(m,"dashOffset",0,(0,a.getNumberValidator)()),i.Factory.addGetterSetter(m,"shadowColor",void 0,(0,a.getStringValidator)()),i.Factory.addGetterSetter(m,"shadowBlur",0,(0,a.getNumberValidator)()),i.Factory.addGetterSetter(m,"shadowOpacity",1,(0,a.getNumberValidator)()),i.Factory.addComponentsGetterSetter(m,"shadowOffset",["x","y"]),i.Factory.addGetterSetter(m,"shadowOffsetX",0,(0,a.getNumberValidator)()),i.Factory.addGetterSetter(m,"shadowOffsetY",0,(0,a.getNumberValidator)()),i.Factory.addGetterSetter(m,"fillPatternImage"),i.Factory.addGetterSetter(m,"fill",void 0,(0,a.getStringOrGradientValidator)()),i.Factory.addGetterSetter(m,"fillPatternX",0,(0,a.getNumberValidator)()),i.Factory.addGetterSetter(m,"fillPatternY",0,(0,a.getNumberValidator)()),i.Factory.addGetterSetter(m,"fillLinearGradientColorStops"),i.Factory.addGetterSetter(m,"strokeLinearGradientColorStops"),i.Factory.addGetterSetter(m,"fillRadialGradientStartRadius",0),i.Factory.addGetterSetter(m,"fillRadialGradientEndRadius",0),i.Factory.addGetterSetter(m,"fillRadialGradientColorStops"),i.Factory.addGetterSetter(m,"fillPatternRepeat","repeat"),i.Factory.addGetterSetter(m,"fillEnabled",!0),i.Factory.addGetterSetter(m,"strokeEnabled",!0),i.Factory.addGetterSetter(m,"shadowEnabled",!0),i.Factory.addGetterSetter(m,"dashEnabled",!0),i.Factory.addGetterSetter(m,"strokeScaleEnabled",!0),i.Factory.addGetterSetter(m,"fillPriority","color"),i.Factory.addComponentsGetterSetter(m,"fillPatternOffset",["x","y"]),i.Factory.addGetterSetter(m,"fillPatternOffsetX",0,(0,a.getNumberValidator)()),i.Factory.addGetterSetter(m,"fillPatternOffsetY",0,(0,a.getNumberValidator)()),i.Factory.addComponentsGetterSetter(m,"fillPatternScale",["x","y"]),i.Factory.addGetterSetter(m,"fillPatternScaleX",1,(0,a.getNumberValidator)()),i.Factory.addGetterSetter(m,"fillPatternScaleY",1,(0,a.getNumberValidator)()),i.Factory.addComponentsGetterSetter(m,"fillLinearGradientStartPoint",["x","y"]),i.Factory.addComponentsGetterSetter(m,"strokeLinearGradientStartPoint",["x","y"]),i.Factory.addGetterSetter(m,"fillLinearGradientStartPointX",0),i.Factory.addGetterSetter(m,"strokeLinearGradientStartPointX",0),i.Factory.addGetterSetter(m,"fillLinearGradientStartPointY",0),i.Factory.addGetterSetter(m,"strokeLinearGradientStartPointY",0),i.Factory.addComponentsGetterSetter(m,"fillLinearGradientEndPoint",["x","y"]),i.Factory.addComponentsGetterSetter(m,"strokeLinearGradientEndPoint",["x","y"]),i.Factory.addGetterSetter(m,"fillLinearGradientEndPointX",0),i.Factory.addGetterSetter(m,"strokeLinearGradientEndPointX",0),i.Factory.addGetterSetter(m,"fillLinearGradientEndPointY",0),i.Factory.addGetterSetter(m,"strokeLinearGradientEndPointY",0),i.Factory.addComponentsGetterSetter(m,"fillRadialGradientStartPoint",["x","y"]),i.Factory.addGetterSetter(m,"fillRadialGradientStartPointX",0),i.Factory.addGetterSetter(m,"fillRadialGradientStartPointY",0),i.Factory.addComponentsGetterSetter(m,"fillRadialGradientEndPoint",["x","y"]),i.Factory.addGetterSetter(m,"fillRadialGradientEndPointX",0),i.Factory.addGetterSetter(m,"fillRadialGradientEndPointY",0),i.Factory.addGetterSetter(m,"fillPatternRotation",0),i.Factory.addGetterSetter(m,"fillRule",void 0,(0,a.getStringValidator)()),i.Factory.backCompat(m,{dashArray:"dash",getDashArray:"getDash",setDashArray:"getDash",drawFunc:"sceneFunc",getDrawFunc:"getSceneFunc",setDrawFunc:"setSceneFunc",drawHitFunc:"hitFunc",getDrawHitFunc:"getHitFunc",setDrawHitFunc:"setHitFunc"})},7324:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Stage=t.stages=void 0;const r=n(4060),o=n(4892),i=n(4473),A=n(8871),a=n(8604),s=n(1268),l=n(8871),c=n(8722);var u="mouseleave",d="mouseover",f="mouseenter",h="mousemove",p="mousedown",g="mouseup",m="pointermove",v="pointerdown",y="pointerup",w="pointercancel",b="pointerout",B="pointerleave",C="pointerover",x="pointerenter",S="contextmenu",E="touchstart",F="touchend",Q="touchmove",U="touchcancel",k="wheel",I=[[f,"_pointerenter"],[p,"_pointerdown"],[h,"_pointermove"],[g,"_pointerup"],[u,"_pointerleave"],[E,"_pointerdown"],[Q,"_pointermove"],[F,"_pointerup"],[U,"_pointercancel"],[d,"_pointerover"],[k,"_wheel"],[S,"_contextmenu"],[v,"_pointerdown"],[m,"_pointermove"],[y,"_pointerup"],[w,"_pointercancel"],["lostpointercapture","_lostpointercapture"]];const O={mouse:{[b]:"mouseout",[B]:u,[C]:d,[x]:f,[m]:h,[v]:p,[y]:g,[w]:"mousecancel",pointerclick:"click",pointerdblclick:"dblclick"},touch:{[b]:"touchout",[B]:"touchleave",[C]:"touchover",[x]:"touchenter",[m]:Q,[v]:E,[y]:F,[w]:U,pointerclick:"tap",pointerdblclick:"dbltap"},pointer:{[b]:b,[B]:B,[C]:C,[x]:x,[m]:m,[v]:v,[y]:y,[w]:w,pointerclick:"pointerclick",pointerdblclick:"pointerdblclick"}},P=e=>e.indexOf("pointer")>=0?"pointer":e.indexOf("touch")>=0?"touch":"mouse",T=e=>{const t=P(e);return"pointer"===t?A.Konva.pointerEventsEnabled&&O.pointer:"touch"===t?O.touch:"mouse"===t?O.mouse:void 0};function H(e={}){return(e.clipFunc||e.clipWidth||e.clipHeight)&&r.Util.warn("Stage does not support clipping. Please use clip for Layers or Groups."),e}t.stages=[];class L extends i.Container{constructor(e){super(H(e)),this._pointerPositions=[],this._changedPointerPositions=[],this._buildDOM(),this._bindContentEvents(),t.stages.push(this),this.on("widthChange.konva heightChange.konva",this._resizeDOM),this.on("visibleChange.konva",this._checkVisibility),this.on("clipWidthChange.konva clipHeightChange.konva clipFuncChange.konva",(()=>{H(this.attrs)})),this._checkVisibility()}_validateAdd(e){const t="Layer"===e.getType(),n="FastLayer"===e.getType();t||n||r.Util.throw("You may only add layers to the stage.")}_checkVisibility(){if(!this.content)return;const e=this.visible()?"":"none";this.content.style.display=e}setContainer(e){if("string"==typeof e){if("."===e.charAt(0)){var t=e.slice(1);e=document.getElementsByClassName(t)[0]}else{var n;n="#"!==e.charAt(0)?e:e.slice(1),e=document.getElementById(n)}if(!e)throw"Can not find container in document with id "+n}return this._setAttr("container",e),this.content&&(this.content.parentElement&&this.content.parentElement.removeChild(this.content),e.appendChild(this.content)),this}shouldDrawHit(){return!0}clear(){var e,t=this.children,n=t.length;for(e=0;e-1&&t.stages.splice(n,1),r.Util.releaseCanvas(this.bufferCanvas._canvas,this.bufferHitCanvas._canvas),this}getPointerPosition(){const e=this._pointerPositions[0]||this._changedPointerPositions[0];return e?{x:e.x,y:e.y}:(r.Util.warn("Pointer position is missing and not registered by the stage. Looks like it is outside of the stage container. You can set it manually from event: stage.setPointersPositions(event);"),null)}_getPointerById(e){return this._pointerPositions.find((t=>t.id===e))}getPointersPositions(){return this._pointerPositions}getStage(){return this}getContent(){return this.content}_toKonvaCanvas(e){(e=e||{}).x=e.x||0,e.y=e.y||0,e.width=e.width||this.width(),e.height=e.height||this.height();var t=new a.SceneCanvas({width:e.width,height:e.height,pixelRatio:e.pixelRatio||1}),n=t.getContext()._context,r=this.children;return(e.x||e.y)&&n.translate(-1*e.x,-1*e.y),r.forEach((function(t){if(t.isVisible()){var r=t._toKonvaCanvas(e);n.drawImage(r._canvas,e.x,e.y,r.getWidth()/r.getPixelRatio(),r.getHeight()/r.getPixelRatio())}})),t}getIntersection(e){if(!e)return null;var t,n=this.children;for(t=n.length-1;t>=0;t--){const r=n[t].getIntersection(e);if(r)return r}return null}_resizeDOM(){var e=this.width(),t=this.height();this.content&&(this.content.style.width=e+"px",this.content.style.height=t+"px"),this.bufferCanvas.setSize(e,t),this.bufferHitCanvas.setSize(e,t),this.children.forEach((n=>{n.setSize({width:e,height:t}),n.draw()}))}add(e,...t){if(arguments.length>1){for(var n=0;n5&&r.Util.warn("The stage has "+o+" layers. Recommended maximum number of layers is 3-5. Adding more layers into the stage may drop the performance. Rethink your tree structure, you can use Konva.Group."),e.setSize({width:this.width(),height:this.height()}),e.draw(),A.Konva.isBrowser&&this.content.appendChild(e.canvas._canvas),this}getParent(){return null}getLayer(){return null}hasPointerCapture(e){return c.hasPointerCapture(e,this)}setPointerCapture(e){c.setPointerCapture(e,this)}releaseCapture(e){c.releaseCapture(e,this)}getLayers(){return this.children}_bindContentEvents(){A.Konva.isBrowser&&I.forEach((([e,t])=>{this.content.addEventListener(e,(e=>{this[t](e)}),{passive:!1})}))}_pointerenter(e){this.setPointersPositions(e);const t=T(e.type);t&&this._fire(t.pointerenter,{evt:e,target:this,currentTarget:this})}_pointerover(e){this.setPointersPositions(e);const t=T(e.type);t&&this._fire(t.pointerover,{evt:e,target:this,currentTarget:this})}_getTargetShape(e){let t=this[e+"targetShape"];return t&&!t.getStage()&&(t=null),t}_pointerleave(e){const t=T(e.type),n=P(e.type);if(t){this.setPointersPositions(e);var r=this._getTargetShape(n),o=!(A.Konva.isDragging()||A.Konva.isTransforming())||A.Konva.hitOnDragEnabled;r&&o?(r._fireAndBubble(t.pointerout,{evt:e}),r._fireAndBubble(t.pointerleave,{evt:e}),this._fire(t.pointerleave,{evt:e,target:this,currentTarget:this}),this[n+"targetShape"]=null):o&&(this._fire(t.pointerleave,{evt:e,target:this,currentTarget:this}),this._fire(t.pointerout,{evt:e,target:this,currentTarget:this})),this.pointerPos=null,this._pointerPositions=[]}}_pointerdown(e){const t=T(e.type),n=P(e.type);if(t){this.setPointersPositions(e);var r=!1;this._changedPointerPositions.forEach((o=>{var i=this.getIntersection(o);if(s.DD.justDragged=!1,A.Konva["_"+n+"ListenClick"]=!0,!i||!i.isListening())return void(this[n+"ClickStartShape"]=void 0);A.Konva.capturePointerEventsEnabled&&i.setPointerCapture(o.id),this[n+"ClickStartShape"]=i,i._fireAndBubble(t.pointerdown,{evt:e,pointerId:o.id}),r=!0;const a=e.type.indexOf("touch")>=0;i.preventDefault()&&e.cancelable&&a&&e.preventDefault()})),r||this._fire(t.pointerdown,{evt:e,target:this,currentTarget:this,pointerId:this._pointerPositions[0].id})}}_pointermove(e){const t=T(e.type),n=P(e.type);if(!t)return;if(A.Konva.isDragging()&&s.DD.node.preventDefault()&&e.cancelable&&e.preventDefault(),this.setPointersPositions(e),(A.Konva.isDragging()||A.Konva.isTransforming())&&!A.Konva.hitOnDragEnabled)return;var r={};let o=!1;var i=this._getTargetShape(n);this._changedPointerPositions.forEach((A=>{const a=c.getCapturedShape(A.id)||this.getIntersection(A),s=A.id,l={evt:e,pointerId:s};var u=i!==a;if(u&&i&&(i._fireAndBubble(t.pointerout,{...l},a),i._fireAndBubble(t.pointerleave,{...l},a)),a){if(r[a._id])return;r[a._id]=!0}a&&a.isListening()?(o=!0,u&&(a._fireAndBubble(t.pointerover,{...l},i),a._fireAndBubble(t.pointerenter,{...l},i),this[n+"targetShape"]=a),a._fireAndBubble(t.pointermove,{...l})):i&&(this._fire(t.pointerover,{evt:e,target:this,currentTarget:this,pointerId:s}),this[n+"targetShape"]=null)})),o||this._fire(t.pointermove,{evt:e,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id})}_pointerup(e){const t=T(e.type),n=P(e.type);if(!t)return;this.setPointersPositions(e);const r=this[n+"ClickStartShape"],o=this[n+"ClickEndShape"];var i={};let a=!1;this._changedPointerPositions.forEach((l=>{const u=c.getCapturedShape(l.id)||this.getIntersection(l);if(u){if(u.releaseCapture(l.id),i[u._id])return;i[u._id]=!0}const d=l.id,f={evt:e,pointerId:d};let h=!1;A.Konva["_"+n+"InDblClickWindow"]?(h=!0,clearTimeout(this[n+"DblTimeout"])):s.DD.justDragged||(A.Konva["_"+n+"InDblClickWindow"]=!0,clearTimeout(this[n+"DblTimeout"])),this[n+"DblTimeout"]=setTimeout((function(){A.Konva["_"+n+"InDblClickWindow"]=!1}),A.Konva.dblClickWindow),u&&u.isListening()?(a=!0,this[n+"ClickEndShape"]=u,u._fireAndBubble(t.pointerup,{...f}),A.Konva["_"+n+"ListenClick"]&&r&&r===u&&(u._fireAndBubble(t.pointerclick,{...f}),h&&o&&o===u&&u._fireAndBubble(t.pointerdblclick,{...f}))):(this[n+"ClickEndShape"]=null,A.Konva["_"+n+"ListenClick"]&&this._fire(t.pointerclick,{evt:e,target:this,currentTarget:this,pointerId:d}),h&&this._fire(t.pointerdblclick,{evt:e,target:this,currentTarget:this,pointerId:d}))})),a||this._fire(t.pointerup,{evt:e,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id}),A.Konva["_"+n+"ListenClick"]=!1,e.cancelable&&"touch"!==n&&e.preventDefault()}_contextmenu(e){this.setPointersPositions(e);var t=this.getIntersection(this.getPointerPosition());t&&t.isListening()?t._fireAndBubble(S,{evt:e}):this._fire(S,{evt:e,target:this,currentTarget:this})}_wheel(e){this.setPointersPositions(e);var t=this.getIntersection(this.getPointerPosition());t&&t.isListening()?t._fireAndBubble(k,{evt:e}):this._fire(k,{evt:e,target:this,currentTarget:this})}_pointercancel(e){this.setPointersPositions(e);const t=c.getCapturedShape(e.pointerId)||this.getIntersection(this.getPointerPosition());t&&t._fireAndBubble(y,c.createEvent(e)),c.releaseCapture(e.pointerId)}_lostpointercapture(e){c.releaseCapture(e.pointerId)}setPointersPositions(e){var t=this._getContentPosition(),n=null,o=null;void 0!==(e=e||window.event).touches?(this._pointerPositions=[],this._changedPointerPositions=[],Array.prototype.forEach.call(e.touches,(e=>{this._pointerPositions.push({id:e.identifier,x:(e.clientX-t.left)/t.scaleX,y:(e.clientY-t.top)/t.scaleY})})),Array.prototype.forEach.call(e.changedTouches||e.touches,(e=>{this._changedPointerPositions.push({id:e.identifier,x:(e.clientX-t.left)/t.scaleX,y:(e.clientY-t.top)/t.scaleY})}))):(n=(e.clientX-t.left)/t.scaleX,o=(e.clientY-t.top)/t.scaleY,this.pointerPos={x:n,y:o},this._pointerPositions=[{x:n,y:o,id:r.Util._getFirstPointerId(e)}],this._changedPointerPositions=[{x:n,y:o,id:r.Util._getFirstPointerId(e)}])}_setPointerPosition(e){r.Util.warn('Method _setPointerPosition is deprecated. Use "stage.setPointersPositions(event)" instead.'),this.setPointersPositions(e)}_getContentPosition(){if(!this.content||!this.content.getBoundingClientRect)return{top:0,left:0,scaleX:1,scaleY:1};var e=this.content.getBoundingClientRect();return{top:e.top,left:e.left,scaleX:e.width/this.content.clientWidth||1,scaleY:e.height/this.content.clientHeight||1}}_buildDOM(){if(this.bufferCanvas=new a.SceneCanvas({width:this.width(),height:this.height()}),this.bufferHitCanvas=new a.HitCanvas({pixelRatio:1,width:this.width(),height:this.height()}),A.Konva.isBrowser){var e=this.container();if(!e)throw"Stage has no container. A container is required.";e.innerHTML="",this.content=document.createElement("div"),this.content.style.position="relative",this.content.style.userSelect="none",this.content.className="konvajs-content",this.content.setAttribute("role","presentation"),e.appendChild(this.content),this._resizeDOM()}}cache(){return r.Util.warn("Cache function is not allowed for stage. You may use cache only for layers, groups and shapes."),this}clearCache(){return this}batchDraw(){return this.getChildren().forEach((function(e){e.batchDraw()})),this}}t.Stage=L,L.prototype.nodeType="Stage",(0,l._registerNode)(L),o.Factory.addGetterSetter(L,"container"),A.Konva.isBrowser&&document.addEventListener("visibilitychange",(()=>{t.stages.forEach((e=>{e.batchDraw()}))}))},8665:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Easings=t.Tween=void 0;const r=n(4060),o=n(9696),i=n(6536),A=n(8871);var a={node:1,duration:1,easing:1,onFinish:1,yoyo:1},s=0,l=["fill","stroke","shadowColor"];class c{constructor(e,t,n,r,o,i,A){this.prop=e,this.propFunc=t,this.begin=r,this._pos=r,this.duration=i,this._change=0,this.prevPos=0,this.yoyo=A,this._time=0,this._position=0,this._startTime=0,this._finish=0,this.func=n,this._change=o-this.begin,this.pause()}fire(e){var t=this[e];t&&t()}setTime(e){e>this.duration?this.yoyo?(this._time=this.duration,this.reverse()):this.finish():e<0?this.yoyo?(this._time=0,this.play()):this.reset():(this._time=e,this.update())}getTime(){return this._time}setPosition(e){this.prevPos=this._pos,this.propFunc(e),this._pos=e}getPosition(e){return void 0===e&&(e=this._time),this.func(e,this.begin,this._change,this.duration)}play(){this.state=2,this._startTime=this.getTimer()-this._time,this.onEnterFrame(),this.fire("onPlay")}reverse(){this.state=3,this._time=this.duration-this._time,this._startTime=this.getTimer()-this._time,this.onEnterFrame(),this.fire("onReverse")}seek(e){this.pause(),this._time=e,this.update(),this.fire("onSeek")}reset(){this.pause(),this._time=0,this.update(),this.fire("onReset")}finish(){this.pause(),this._time=this.duration,this.update(),this.fire("onFinish")}update(){this.setPosition(this.getPosition(this._time)),this.fire("onUpdate")}onEnterFrame(){var e=this.getTimer()-this._startTime;2===this.state?this.setTime(e):3===this.state&&this.setTime(this.duration-e)}pause(){this.state=1,this.fire("onPause")}getTimer(){return(new Date).getTime()}}class u{constructor(e){var n,i,l=this,d=e.node,f=d._id,h=e.easing||t.Easings.Linear,p=!!e.yoyo;n=void 0===e.duration?.3:0===e.duration?.001:e.duration,this.node=d,this._id=s++;var g=d.getLayer()||(d instanceof A.Konva.Stage?d.getLayers():null);for(i in g||r.Util.error("Tween constructor have `node` that is not in a layer. Please add node into layer first."),this.anim=new o.Animation((function(){l.tween.onEnterFrame()}),g),this.tween=new c(i,(function(e){l._tweenFunc(e)}),h,0,1,1e3*n,p),this._addListeners(),u.attrs[f]||(u.attrs[f]={}),u.attrs[f][this._id]||(u.attrs[f][this._id]={}),u.tweens[f]||(u.tweens[f]={}),e)void 0===a[i]&&this._addAttr(i,e[i]);this.reset(),this.onFinish=e.onFinish,this.onReset=e.onReset,this.onUpdate=e.onUpdate}_addAttr(e,t){var n,o,i,A,a,s,c,d,f=this.node,h=f._id;if((i=u.tweens[h][e])&&delete u.attrs[h][i][e],n=f.getAttr(e),r.Util._isArray(t))if(o=[],a=Math.max(t.length,n.length),"points"===e&&t.length!==n.length&&(t.length>n.length?(c=n,n=r.Util._prepareArrayForTween(n,t,f.closed())):(s=t,t=r.Util._prepareArrayForTween(t,n,f.closed()))),0===e.indexOf("fill"))for(A=0;A{this.anim.start()},this.tween.onReverse=()=>{this.anim.start()},this.tween.onPause=()=>{this.anim.stop()},this.tween.onFinish=()=>{var e=this.node,t=u.attrs[e._id][this._id];t.points&&t.points.trueEnd&&e.setAttr("points",t.points.trueEnd),this.onFinish&&this.onFinish.call(this)},this.tween.onReset=()=>{var e=this.node,t=u.attrs[e._id][this._id];t.points&&t.points.trueStart&&e.points(t.points.trueStart),this.onReset&&this.onReset()},this.tween.onUpdate=()=>{this.onUpdate&&this.onUpdate.call(this)}}play(){return this.tween.play(),this}reverse(){return this.tween.reverse(),this}reset(){return this.tween.reset(),this}seek(e){return this.tween.seek(1e3*e),this}pause(){return this.tween.pause(),this}finish(){return this.tween.finish(),this}destroy(){var e,t=this.node._id,n=this._id,r=u.tweens[t];for(e in this.pause(),r)delete u.tweens[t][e];delete u.attrs[t][n]}}t.Tween=u,u.attrs={},u.tweens={},i.Node.prototype.to=function(e){var t=e.onFinish;e.node=this,e.onFinish=function(){this.destroy(),t&&t()},new u(e).play()},t.Easings={BackEaseIn(e,t,n,r){var o=1.70158;return n*(e/=r)*e*((o+1)*e-o)+t},BackEaseOut(e,t,n,r){var o=1.70158;return n*((e=e/r-1)*e*((o+1)*e+o)+1)+t},BackEaseInOut(e,t,n,r){var o=1.70158;return(e/=r/2)<1?n/2*(e*e*((1+(o*=1.525))*e-o))+t:n/2*((e-=2)*e*((1+(o*=1.525))*e+o)+2)+t},ElasticEaseIn(e,t,n,r,o,i){var A=0;return 0===e?t:1==(e/=r)?t+n:(i||(i=.3*r),!o||o(e/=r)<1/2.75?n*(7.5625*e*e)+t:e<2/2.75?n*(7.5625*(e-=1.5/2.75)*e+.75)+t:e<2.5/2.75?n*(7.5625*(e-=2.25/2.75)*e+.9375)+t:n*(7.5625*(e-=2.625/2.75)*e+.984375)+t,BounceEaseIn:(e,n,r,o)=>r-t.Easings.BounceEaseOut(o-e,0,r,o)+n,BounceEaseInOut:(e,n,r,o)=>en*(e/=r)*e+t,EaseOut:(e,t,n,r)=>-n*(e/=r)*(e-2)+t,EaseInOut:(e,t,n,r)=>(e/=r/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t,StrongEaseIn:(e,t,n,r)=>n*(e/=r)*e*e*e*e+t,StrongEaseOut:(e,t,n,r)=>n*((e=e/r-1)*e*e*e*e+1)+t,StrongEaseInOut:(e,t,n,r)=>(e/=r/2)<1?n/2*e*e*e*e*e+t:n/2*((e-=2)*e*e*e*e+2)+t,Linear:(e,t,n,r)=>n*e/r+t}},4060:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Util=t.Transform=void 0;const r=n(8871);class o{constructor(e=[1,0,0,1,0,0]){this.dirty=!1,this.m=e&&e.slice()||[1,0,0,1,0,0]}reset(){this.m[0]=1,this.m[1]=0,this.m[2]=0,this.m[3]=1,this.m[4]=0,this.m[5]=0}copy(){return new o(this.m)}copyInto(e){e.m[0]=this.m[0],e.m[1]=this.m[1],e.m[2]=this.m[2],e.m[3]=this.m[3],e.m[4]=this.m[4],e.m[5]=this.m[5]}point(e){var t=this.m;return{x:t[0]*e.x+t[2]*e.y+t[4],y:t[1]*e.x+t[3]*e.y+t[5]}}translate(e,t){return this.m[4]+=this.m[0]*e+this.m[2]*t,this.m[5]+=this.m[1]*e+this.m[3]*t,this}scale(e,t){return this.m[0]*=e,this.m[1]*=e,this.m[2]*=t,this.m[3]*=t,this}rotate(e){var t=Math.cos(e),n=Math.sin(e),r=this.m[0]*t+this.m[2]*n,o=this.m[1]*t+this.m[3]*n,i=this.m[0]*-n+this.m[2]*t,A=this.m[1]*-n+this.m[3]*t;return this.m[0]=r,this.m[1]=o,this.m[2]=i,this.m[3]=A,this}getTranslation(){return{x:this.m[4],y:this.m[5]}}skew(e,t){var n=this.m[0]+this.m[2]*t,r=this.m[1]+this.m[3]*t,o=this.m[2]+this.m[0]*e,i=this.m[3]+this.m[1]*e;return this.m[0]=n,this.m[1]=r,this.m[2]=o,this.m[3]=i,this}multiply(e){var t=this.m[0]*e.m[0]+this.m[2]*e.m[1],n=this.m[1]*e.m[0]+this.m[3]*e.m[1],r=this.m[0]*e.m[2]+this.m[2]*e.m[3],o=this.m[1]*e.m[2]+this.m[3]*e.m[3],i=this.m[0]*e.m[4]+this.m[2]*e.m[5]+this.m[4],A=this.m[1]*e.m[4]+this.m[3]*e.m[5]+this.m[5];return this.m[0]=t,this.m[1]=n,this.m[2]=r,this.m[3]=o,this.m[4]=i,this.m[5]=A,this}invert(){var e=1/(this.m[0]*this.m[3]-this.m[1]*this.m[2]),t=this.m[3]*e,n=-this.m[1]*e,r=-this.m[2]*e,o=this.m[0]*e,i=e*(this.m[2]*this.m[5]-this.m[3]*this.m[4]),A=e*(this.m[1]*this.m[4]-this.m[0]*this.m[5]);return this.m[0]=t,this.m[1]=n,this.m[2]=r,this.m[3]=o,this.m[4]=i,this.m[5]=A,this}getMatrix(){return this.m}decompose(){var e=this.m[0],n=this.m[1],r=this.m[2],o=this.m[3],i=e*o-n*r;let A={x:this.m[4],y:this.m[5],rotation:0,scaleX:0,scaleY:0,skewX:0,skewY:0};if(0!=e||0!=n){var a=Math.sqrt(e*e+n*n);A.rotation=n>0?Math.acos(e/a):-Math.acos(e/a),A.scaleX=a,A.scaleY=i/a,A.skewX=(e*r+n*o)/i,A.skewY=0}else if(0!=r||0!=o){var s=Math.sqrt(r*r+o*o);A.rotation=Math.PI/2-(o>0?Math.acos(-r/s):-Math.acos(r/s)),A.scaleX=i/s,A.scaleY=s,A.skewX=0,A.skewY=(e*r+n*o)/i}return A.rotation=t.Util._getRotation(A.rotation),A}}t.Transform=o;var i=Math.PI/180,A=180/Math.PI,a="Konva error: ",s={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,132,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,255,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,203],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[119,128,144],slategrey:[119,128,144],snow:[255,255,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],transparent:[255,255,255,0],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,5]},l=/rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)/,c=[];const u="undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||function(e){setTimeout(e,60)};t.Util={_isElement:e=>!(!e||1!=e.nodeType),_isFunction:e=>!!(e&&e.constructor&&e.call&&e.apply),_isPlainObject:e=>!!e&&e.constructor===Object,_isArray:e=>"[object Array]"===Object.prototype.toString.call(e),_isNumber:e=>"[object Number]"===Object.prototype.toString.call(e)&&!isNaN(e)&&isFinite(e),_isString:e=>"[object String]"===Object.prototype.toString.call(e),_isBoolean:e=>"[object Boolean]"===Object.prototype.toString.call(e),isObject:e=>e instanceof Object,isValidSelector(e){if("string"!=typeof e)return!1;var t=e[0];return"#"===t||"."===t||t===t.toUpperCase()},_sign:e=>0===e||e>0?1:-1,requestAnimFrame(e){c.push(e),1===c.length&&u((function(){const e=c;c=[],e.forEach((function(e){e()}))}))},createCanvasElement(){var e=document.createElement("canvas");try{e.style=e.style||{}}catch(e){}return e},createImageElement:()=>document.createElement("img"),_isInDocument(e){for(;e=e.parentNode;)if(e==document)return!0;return!1},_urlToImage(e,n){var r=t.Util.createImageElement();r.onload=function(){n(r)},r.src=e},_rgbToHex:(e,t,n)=>((1<<24)+(e<<16)+(t<<8)+n).toString(16).slice(1),_hexToRgb(e){e=e.replace("#","");var t=parseInt(e,16);return{r:t>>16&255,g:t>>8&255,b:255&t}},getRandomColor(){for(var e=(16777215*Math.random()|0).toString(16);e.length<6;)e="0"+e;return"#"+e},getRGB(e){var t;return e in s?{r:(t=s[e])[0],g:t[1],b:t[2]}:"#"===e[0]?this._hexToRgb(e.substring(1)):"rgb("===e.substr(0,4)?(t=l.exec(e.replace(/ /g,"")),{r:parseInt(t[1],10),g:parseInt(t[2],10),b:parseInt(t[3],10)}):{r:0,g:0,b:0}},colorToRGBA:e=>(e=e||"black",t.Util._namedColorToRBA(e)||t.Util._hex3ColorToRGBA(e)||t.Util._hex4ColorToRGBA(e)||t.Util._hex6ColorToRGBA(e)||t.Util._hex8ColorToRGBA(e)||t.Util._rgbColorToRGBA(e)||t.Util._rgbaColorToRGBA(e)||t.Util._hslColorToRGBA(e)),_namedColorToRBA(e){var t=s[e.toLowerCase()];return t?{r:t[0],g:t[1],b:t[2],a:1}:null},_rgbColorToRGBA(e){if(0===e.indexOf("rgb(")){var t=(e=e.match(/rgb\(([^)]+)\)/)[1]).split(/ *, */).map(Number);return{r:t[0],g:t[1],b:t[2],a:1}}},_rgbaColorToRGBA(e){if(0===e.indexOf("rgba(")){var t=(e=e.match(/rgba\(([^)]+)\)/)[1]).split(/ *, */).map(((e,t)=>"%"===e.slice(-1)?3===t?parseInt(e)/100:parseInt(e)/100*255:Number(e)));return{r:t[0],g:t[1],b:t[2],a:t[3]}}},_hex8ColorToRGBA(e){if("#"===e[0]&&9===e.length)return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16),a:parseInt(e.slice(7,9),16)/255}},_hex6ColorToRGBA(e){if("#"===e[0]&&7===e.length)return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16),a:1}},_hex4ColorToRGBA(e){if("#"===e[0]&&5===e.length)return{r:parseInt(e[1]+e[1],16),g:parseInt(e[2]+e[2],16),b:parseInt(e[3]+e[3],16),a:parseInt(e[4]+e[4],16)/255}},_hex3ColorToRGBA(e){if("#"===e[0]&&4===e.length)return{r:parseInt(e[1]+e[1],16),g:parseInt(e[2]+e[2],16),b:parseInt(e[3]+e[3],16),a:1}},_hslColorToRGBA(e){if(/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.test(e)){const[t,...n]=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e),r=Number(n[0])/360,o=Number(n[1])/100,i=Number(n[2])/100;let A,a,s;if(0===o)return s=255*i,{r:Math.round(s),g:Math.round(s),b:Math.round(s),a:1};A=i<.5?i*(1+o):i+o-i*o;const l=2*i-A,c=[0,0,0];for(let e=0;e<3;e++)a=r+1/3*-(e-1),a<0&&a++,a>1&&a--,s=6*a<1?l+6*(A-l)*a:2*a<1?A:3*a<2?l+(A-l)*(2/3-a)*6:l,c[e]=255*s;return{r:Math.round(c[0]),g:Math.round(c[1]),b:Math.round(c[2]),a:1}}},haveIntersection:(e,t)=>!(t.x>e.x+e.width||t.x+t.widthe.y+e.height||t.y+t.heighte.slice(0),degToRad:e=>e*i,radToDeg:e=>e*A,_degToRad:e=>(t.Util.warn("Util._degToRad is removed. Please use public Util.degToRad instead."),t.Util.degToRad(e)),_radToDeg:e=>(t.Util.warn("Util._radToDeg is removed. Please use public Util.radToDeg instead."),t.Util.radToDeg(e)),_getRotation:e=>r.Konva.angleDeg?t.Util.radToDeg(e):e,_capitalize:e=>e.charAt(0).toUpperCase()+e.slice(1),throw(e){throw new Error(a+e)},error(e){console.error(a+e)},warn(e){r.Konva.showWarnings&&console.warn("Konva warning: "+e)},each(e,t){for(var n in e)t(n,e[n])},_inRange:(e,t,n)=>t<=e&&e1?(A=n,a=r,s=(n-o)*(n-o)+(r-i)*(r-i)):s=((A=e+c*(n-e))-o)*(A-o)+((a=t+c*(r-t))-i)*(a-i)}return[A,a,s]},_getProjectionToLine(e,n,r){var o=t.Util.cloneObject(e),i=Number.MAX_VALUE;return n.forEach((function(A,a){if(r||a!==n.length-1){var s=n[(a+1)%n.length],l=t.Util._getProjectionToSegment(A.x,A.y,s.x,s.y,e.x,e.y),c=l[0],u=l[1],d=l[2];dn.length){var a=n;n=e,e=a}for(o=0;oe.touches?e.changedTouches[0].identifier:e.pointerId||999,releaseCanvas(...e){r.Konva.releaseCanvasOnDestroy&&e.forEach((e=>{e.width=0,e.height=0}))},drawRoundedRectPath(e,t,n,r){let o=0,i=0,A=0,a=0;"number"==typeof r?o=i=A=a=Math.min(r,t/2,n/2):(o=Math.min(r[0]||0,t/2,n/2),i=Math.min(r[1]||0,t/2,n/2),a=Math.min(r[2]||0,t/2,n/2),A=Math.min(r[3]||0,t/2,n/2)),e.moveTo(o,0),e.lineTo(t-i,0),e.arc(t-i,i,i,3*Math.PI/2,0,!1),e.lineTo(t,n-a),e.arc(t-a,n-a,a,0,Math.PI/2,!1),e.lineTo(A,n),e.arc(A,n-A,A,Math.PI/2,Math.PI,!1),e.lineTo(0,o),e.arc(o,o,o,Math.PI,3*Math.PI/2,!1)}}},5483:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getComponentValidator=t.getBooleanValidator=t.getNumberArrayValidator=t.getFunctionValidator=t.getStringOrGradientValidator=t.getStringValidator=t.getNumberOrAutoValidator=t.getNumberOrArrayOfNumbersValidator=t.getNumberValidator=t.alphaComponent=t.RGBComponent=void 0;const r=n(8871),o=n(4060);function i(e){return o.Util._isString(e)?'"'+e+'"':"[object Number]"===Object.prototype.toString.call(e)||o.Util._isBoolean(e)?e:Object.prototype.toString.call(e)}t.RGBComponent=function(e){return e>255?255:e<0?0:Math.round(e)},t.alphaComponent=function(e){return e>1?1:e<1e-4?1e-4:e},t.getNumberValidator=function(){if(r.Konva.isUnminified)return function(e,t){return o.Util._isNumber(e)||o.Util.warn(i(e)+' is a not valid value for "'+t+'" attribute. The value should be a number.'),e}},t.getNumberOrArrayOfNumbersValidator=function(e){if(r.Konva.isUnminified)return function(t,n){let r=o.Util._isNumber(t),A=o.Util._isArray(t)&&t.length==e;return r||A||o.Util.warn(i(t)+' is a not valid value for "'+n+'" attribute. The value should be a number or Array('+e+")"),t}},t.getNumberOrAutoValidator=function(){if(r.Konva.isUnminified)return function(e,t){return o.Util._isNumber(e)||"auto"===e||o.Util.warn(i(e)+' is a not valid value for "'+t+'" attribute. The value should be a number or "auto".'),e}},t.getStringValidator=function(){if(r.Konva.isUnminified)return function(e,t){return o.Util._isString(e)||o.Util.warn(i(e)+' is a not valid value for "'+t+'" attribute. The value should be a string.'),e}},t.getStringOrGradientValidator=function(){if(r.Konva.isUnminified)return function(e,t){const n=o.Util._isString(e),r="[object CanvasGradient]"===Object.prototype.toString.call(e)||e&&e.addColorStop;return n||r||o.Util.warn(i(e)+' is a not valid value for "'+t+'" attribute. The value should be a string or a native gradient.'),e}},t.getFunctionValidator=function(){if(r.Konva.isUnminified)return function(e,t){return o.Util._isFunction(e)||o.Util.warn(i(e)+' is a not valid value for "'+t+'" attribute. The value should be a function.'),e}},t.getNumberArrayValidator=function(){if(r.Konva.isUnminified)return function(e,t){const n=Int8Array?Object.getPrototypeOf(Int8Array):null;return n&&e instanceof n||(o.Util._isArray(e)?e.forEach((function(e){o.Util._isNumber(e)||o.Util.warn('"'+t+'" attribute has non numeric element '+e+". Make sure that all elements are numbers.")})):o.Util.warn(i(e)+' is a not valid value for "'+t+'" attribute. The value should be a array of numbers.')),e}},t.getBooleanValidator=function(){if(r.Konva.isUnminified)return function(e,t){return!0===e||!1===e||o.Util.warn(i(e)+' is a not valid value for "'+t+'" attribute. The value should be a boolean.'),e}},t.getComponentValidator=function(e){if(r.Konva.isUnminified)return function(t,n){return null==t||o.Util.isObject(t)||o.Util.warn(i(t)+' is a not valid value for "'+n+'" attribute. The value should be an object with properties '+e),t}}},680:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Konva=void 0;const r=n(8871),o=n(4060),i=n(6536),A=n(4473),a=n(7324),s=n(6267),l=n(7457),c=n(7949),u=n(1268),d=n(4723),f=n(9696),h=n(8665),p=n(9869),g=n(8604);t.Konva=o.Util._assign(r.Konva,{Util:o.Util,Transform:o.Transform,Node:i.Node,Container:A.Container,Stage:a.Stage,stages:a.stages,Layer:s.Layer,FastLayer:l.FastLayer,Group:c.Group,DD:u.DD,Shape:d.Shape,shapes:d.shapes,Animation:f.Animation,Tween:h.Tween,Easings:h.Easings,Context:p.Context,Canvas:g.Canvas}),t.default=t.Konva},8558:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Konva=void 0;const r=n(680),o=n(4821),i=n(9456),A=n(9729),a=n(6955),s=n(7256),l=n(6619),c=n(3443),u=n(1486),d=n(5155),f=n(9131),h=n(5451),p=n(9308),g=n(4481),m=n(1958),v=n(8137),y=n(5058),w=n(8001),b=n(6261),B=n(6627),C=n(2650),x=n(983),S=n(7928),E=n(7241),F=n(5461),Q=n(4843),U=n(6564),k=n(5553),I=n(8624),O=n(5992),P=n(4943),T=n(7019),H=n(6921),L=n(3862),_=n(2512),R=n(517),N=n(661);t.Konva=r.Konva.Util._assign(r.Konva,{Arc:o.Arc,Arrow:i.Arrow,Circle:A.Circle,Ellipse:a.Ellipse,Image:s.Image,Label:l.Label,Tag:l.Tag,Line:c.Line,Path:u.Path,Rect:d.Rect,RegularPolygon:f.RegularPolygon,Ring:h.Ring,Sprite:p.Sprite,Star:g.Star,Text:m.Text,TextPath:v.TextPath,Transformer:y.Transformer,Wedge:w.Wedge,Filters:{Blur:b.Blur,Brighten:B.Brighten,Contrast:C.Contrast,Emboss:x.Emboss,Enhance:S.Enhance,Grayscale:E.Grayscale,HSL:F.HSL,HSV:Q.HSV,Invert:U.Invert,Kaleidoscope:k.Kaleidoscope,Mask:I.Mask,Noise:O.Noise,Pixelate:P.Pixelate,Posterize:T.Posterize,RGB:H.RGB,RGBA:L.RGBA,Sepia:_.Sepia,Solarize:R.Solarize,Threshold:N.Threshold}})},6261:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Blur=void 0;const r=n(4892),o=n(6536),i=n(5483);function A(){this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}var a=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],s=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];t.Blur=function(e){var t=Math.round(this.blurRadius());t>0&&function(e,t){var n,r,o,i,l,c,u,d,f,h,p,g,m,v,y,w,b,B,C,x,S,E,F,Q,U=e.data,k=e.width,I=e.height,O=t+t+1,P=k-1,T=I-1,H=t+1,L=H*(H+1)/2,_=new A,R=null,N=_,M=null,D=null,j=a[t],G=s[t];for(o=1;o>G,0!==F?(F=255/F,U[c]=(d*j>>G)*F,U[c+1]=(f*j>>G)*F,U[c+2]=(h*j>>G)*F):U[c]=U[c+1]=U[c+2]=0,d-=g,f-=m,h-=v,p-=y,g-=M.r,m-=M.g,v-=M.b,y-=M.a,i=u+((i=n+t+1)>G,F>0?(F=255/F,U[i]=(d*j>>G)*F,U[i+1]=(f*j>>G)*F,U[i+2]=(h*j>>G)*F):U[i]=U[i+1]=U[i+2]=0,d-=g,f-=m,h-=v,p-=y,g-=M.r,m-=M.g,v-=M.b,y-=M.a,i=n+((i=r+H){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Brighten=void 0;const r=n(4892),o=n(6536),i=n(5483);t.Brighten=function(e){var t,n=255*this.brightness(),r=e.data,o=r.length;for(t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Contrast=void 0;const r=n(4892),o=n(6536),i=n(5483);t.Contrast=function(e){var t,n=Math.pow((this.contrast()+100)/100,2),r=e.data,o=r.length,i=150,A=150,a=150;for(t=0;t255?255:i,A=(A*=255)<0?0:A>255?255:A,a=(a*=255)<0?0:a>255?255:a,r[t]=i,r[t+1]=A,r[t+2]=a},r.Factory.addGetterSetter(o.Node,"contrast",0,(0,i.getNumberValidator)(),r.Factory.afterSetFilter)},983:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Emboss=void 0;const r=n(4892),o=n(6536),i=n(4060),A=n(5483);t.Emboss=function(e){var t=10*this.embossStrength(),n=255*this.embossWhiteLevel(),r=this.embossDirection(),o=this.embossBlend(),A=0,a=0,s=e.data,l=e.width,c=e.height,u=4*l,d=c;switch(r){case"top-left":A=-1,a=-1;break;case"top":A=-1,a=0;break;case"top-right":A=-1,a=1;break;case"right":A=0,a=1;break;case"bottom-right":A=1,a=1;break;case"bottom":A=1,a=0;break;case"bottom-left":A=1,a=-1;break;case"left":A=0,a=-1;break;default:i.Util.error("Unknown emboss direction: "+r)}do{var f=(d-1)*u,h=A;d+h<1&&(h=0),d+h>c&&(h=0);var p=(d-1+h)*l*4,g=l;do{var m=f+4*(g-1),v=a;g+v<1&&(v=0),g+v>l&&(v=0);var y=p+4*(g-1+v),w=s[m]-s[y],b=s[m+1]-s[y+1],B=s[m+2]-s[y+2],C=w,x=C>0?C:-C;if((b>0?b:-b)>x&&(C=b),(B>0?B:-B)>x&&(C=B),C*=t,o){var S=s[m]+C,E=s[m+1]+C,F=s[m+2]+C;s[m]=S>255?255:S<0?0:S,s[m+1]=E>255?255:E<0?0:E,s[m+2]=F>255?255:F<0?0:F}else{var Q=n-C;Q<0?Q=0:Q>255&&(Q=255),s[m]=s[m+1]=s[m+2]=Q}}while(--g)}while(--d)},r.Factory.addGetterSetter(o.Node,"embossStrength",.5,(0,A.getNumberValidator)(),r.Factory.afterSetFilter),r.Factory.addGetterSetter(o.Node,"embossWhiteLevel",.5,(0,A.getNumberValidator)(),r.Factory.afterSetFilter),r.Factory.addGetterSetter(o.Node,"embossDirection","top-left",null,r.Factory.afterSetFilter),r.Factory.addGetterSetter(o.Node,"embossBlend",!1,null,r.Factory.afterSetFilter)},7928:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Enhance=void 0;const r=n(4892),o=n(6536),i=n(5483);function A(e,t,n,r,o){var i=n-t,A=o-r;return 0===i?r+A/2:0===A?r:A*((e-t)/i)+r}t.Enhance=function(e){var t,n,r,o,i=e.data,a=i.length,s=i[0],l=s,c=i[1],u=c,d=i[2],f=d,h=this.enhance();if(0!==h){for(o=0;ol&&(l=t),(n=i[o+1])u&&(u=n),(r=i[o+2])f&&(f=r);var p,g,m,v,y,w,b,B,C;for(l===s&&(l=255,s=0),u===c&&(u=255,c=0),f===d&&(f=255,d=0),h>0?(g=l+h*(255-l),m=s-h*(s-0),y=u+h*(255-u),w=c-h*(c-0),B=f+h*(255-f),C=d-h*(d-0)):(g=l+h*(l-(p=.5*(l+s))),m=s+h*(s-p),y=u+h*(u-(v=.5*(u+c))),w=c+h*(c-v),B=f+h*(f-(b=.5*(f+d))),C=d+h*(d-b)),o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Grayscale=void 0,t.Grayscale=function(e){var t,n,r=e.data,o=r.length;for(t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HSL=void 0;const r=n(4892),o=n(6536),i=n(5483);r.Factory.addGetterSetter(o.Node,"hue",0,(0,i.getNumberValidator)(),r.Factory.afterSetFilter),r.Factory.addGetterSetter(o.Node,"saturation",0,(0,i.getNumberValidator)(),r.Factory.afterSetFilter),r.Factory.addGetterSetter(o.Node,"luminance",0,(0,i.getNumberValidator)(),r.Factory.afterSetFilter),t.HSL=function(e){var t,n,r,o,i,A=e.data,a=A.length,s=Math.pow(2,this.saturation()),l=Math.abs(this.hue()+360)%360,c=127*this.luminance(),u=1*s*Math.cos(l*Math.PI/180),d=1*s*Math.sin(l*Math.PI/180),f=.299+.701*u+.167*d,h=.587-.587*u+.33*d,p=.114-.114*u-.497*d,g=.299-.299*u-.328*d,m=.587+.413*u+.035*d,v=.114-.114*u+.293*d,y=.299-.3*u+1.25*d,w=.587-.586*u-1.05*d,b=.114+.886*u-.2*d;for(t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HSV=void 0;const r=n(4892),o=n(6536),i=n(5483);t.HSV=function(e){var t,n,r,o,i,A=e.data,a=A.length,s=Math.pow(2,this.value()),l=Math.pow(2,this.saturation()),c=Math.abs(this.hue()+360)%360,u=s*l*Math.cos(c*Math.PI/180),d=s*l*Math.sin(c*Math.PI/180),f=.299*s+.701*u+.167*d,h=.587*s-.587*u+.33*d,p=.114*s-.114*u-.497*d,g=.299*s-.299*u-.328*d,m=.587*s+.413*u+.035*d,v=.114*s-.114*u+.293*d,y=.299*s-.3*u+1.25*d,w=.587*s-.586*u-1.05*d,b=.114*s+.886*u-.2*d;for(t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Invert=void 0,t.Invert=function(e){var t,n=e.data,r=n.length;for(t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Kaleidoscope=void 0;const r=n(4892),o=n(6536),i=n(4060),A=n(5483);t.Kaleidoscope=function(e){var t,n,r,o,A,a,s,l,c,u=e.width,d=e.height,f=Math.round(this.kaleidoscopePower()),h=Math.round(this.kaleidoscopeAngle()),p=Math.floor(u*(h%360)/360);if(!(f<1)){var g=i.Util.createCanvasElement();g.width=u,g.height=d;var m=g.getContext("2d").getImageData(0,0,u,d);i.Util.releaseCanvas(g),function(e,t,n){var r,o,i,A,a=e.data,s=t.data,l=e.width,c=e.height,u=n.polarCenterX||l/2,d=n.polarCenterY||c/2,f=0,h=0,p=0,g=0,m=Math.sqrt(u*u+d*d);o=l-u,i=c-d,m=(A=Math.sqrt(o*o+i*i))>m?A:m;var v,y,w,b,B=c,C=l,x=360/C*Math.PI/180;for(y=0;yu&&(w=y,b=0,B=-1),n=0;ny?s:y;var w,b,B,C=d,x=u,S=n.polarRotation||0;for(o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Mask=void 0;const r=n(4892),o=n(6536),i=n(5483);function A(e,t,n){var r=4*(n*e.width+t),o=[];return o.push(e.data[r++],e.data[r++],e.data[r++],e.data[r++]),o}function a(e,t){return Math.sqrt(Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2))}t.Mask=function(e){var t=function(e,t){var n=A(e,0,0),r=A(e,e.width-1,0),o=A(e,0,e.height-1),i=A(e,e.width-1,e.height-1),s=t||10;if(a(n,r)=0&&f=0&&h=0&&f=0&&h=1020?255:0}return A}(t=function(e,t,n){for(var r=[1,1,1,1,0,1,1,1,1],o=Math.round(Math.sqrt(r.length)),i=Math.floor(o/2),A=[],a=0;a=0&&f=0&&h{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Noise=void 0;const r=n(4892),o=n(6536),i=n(5483);t.Noise=function(e){var t,n=255*this.noise(),r=e.data,o=r.length,i=n/2;for(t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Pixelate=void 0;const r=n(4892),o=n(4060),i=n(6536),A=n(5483);t.Pixelate=function(e){var t,n,r,i,A,a,s,l,c,u,d,f,h,p,g=Math.ceil(this.pixelSize()),m=e.width,v=e.height,y=Math.ceil(m/g),w=Math.ceil(v/g),b=e.data;if(g<=0)o.Util.error("pixelSize value can not be <= 0");else for(f=0;f=m))for(n=u;n=v||(i+=b[0+(r=4*(m*n+t))],A+=b[r+1],a+=b[r+2],s+=b[r+3],p+=1);for(i/=p,A/=p,a/=p,s/=p,t=l;t=m))for(n=u;n=v||(b[0+(r=4*(m*n+t))]=i,b[r+1]=A,b[r+2]=a,b[r+3]=s)}},r.Factory.addGetterSetter(i.Node,"pixelSize",8,(0,A.getNumberValidator)(),r.Factory.afterSetFilter)},7019:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Posterize=void 0;const r=n(4892),o=n(6536),i=n(5483);t.Posterize=function(e){var t,n=Math.round(254*this.levels())+1,r=e.data,o=r.length,i=255/n;for(t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RGB=void 0;const r=n(4892),o=n(6536),i=n(5483);t.RGB=function(e){var t,n,r=e.data,o=r.length,i=this.red(),A=this.green(),a=this.blue();for(t=0;t255?255:e<0?0:Math.round(e)})),r.Factory.addGetterSetter(o.Node,"green",0,(function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)})),r.Factory.addGetterSetter(o.Node,"blue",0,i.RGBComponent,r.Factory.afterSetFilter)},3862:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RGBA=void 0;const r=n(4892),o=n(6536),i=n(5483);t.RGBA=function(e){var t,n,r=e.data,o=r.length,i=this.red(),A=this.green(),a=this.blue(),s=this.alpha();for(t=0;t255?255:e<0?0:Math.round(e)})),r.Factory.addGetterSetter(o.Node,"green",0,(function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)})),r.Factory.addGetterSetter(o.Node,"blue",0,i.RGBComponent,r.Factory.afterSetFilter),r.Factory.addGetterSetter(o.Node,"alpha",1,(function(e){return this._filterUpToDate=!1,e>1?1:e<0?0:e}))},2512:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sepia=void 0,t.Sepia=function(e){var t,n,r,o,i=e.data,A=i.length;for(t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Solarize=void 0,t.Solarize=function(e){var t=e.data,n=e.width,r=4*n,o=e.height;do{var i=(o-1)*r,A=n;do{var a=i+4*(A-1),s=t[a],l=t[a+1],c=t[a+2];s>127&&(s=255-s),l>127&&(l=255-l),c>127&&(c=255-c),t[a]=s,t[a+1]=l,t[a+2]=c}while(--A)}while(--o)}},661:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Threshold=void 0;const r=n(4892),o=n(6536),i=n(5483);t.Threshold=function(e){var t,n=255*this.threshold(),r=e.data,o=r.length;for(t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(8558);e.exports=r.Konva},4821:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Arc=void 0;const r=n(4892),o=n(4723),i=n(8871),A=n(5483),a=n(8871);class s extends o.Shape{_sceneFunc(e){var t=i.Konva.getAngle(this.angle()),n=this.clockwise();e.beginPath(),e.arc(0,0,this.outerRadius(),0,t,n),e.arc(0,0,this.innerRadius(),t,0,!n),e.closePath(),e.fillStrokeShape(this)}getWidth(){return 2*this.outerRadius()}getHeight(){return 2*this.outerRadius()}setWidth(e){this.outerRadius(e/2)}setHeight(e){this.outerRadius(e/2)}getSelfRect(){const e=this.innerRadius(),t=this.outerRadius(),n=this.clockwise(),r=i.Konva.getAngle(n?360-this.angle():this.angle()),o=Math.cos(Math.min(r,Math.PI)),A=Math.sin(Math.min(Math.max(Math.PI,r),3*Math.PI/2)),a=Math.sin(Math.min(r,Math.PI/2)),s=o*(o>0?e:t),l=A*(A>0?e:t),c=a*(a>0?t:e);return{x:s,y:n?-1*c:l,width:1*t-s,height:c-l}}}t.Arc=s,s.prototype._centroid=!0,s.prototype.className="Arc",s.prototype._attrsAffectingSize=["innerRadius","outerRadius"],(0,a._registerNode)(s),r.Factory.addGetterSetter(s,"innerRadius",0,(0,A.getNumberValidator)()),r.Factory.addGetterSetter(s,"outerRadius",0,(0,A.getNumberValidator)()),r.Factory.addGetterSetter(s,"angle",0,(0,A.getNumberValidator)()),r.Factory.addGetterSetter(s,"clockwise",!1,(0,A.getBooleanValidator)())},9456:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Arrow=void 0;const r=n(4892),o=n(3443),i=n(5483),A=n(8871),a=n(1486);class s extends o.Line{_sceneFunc(e){super._sceneFunc(e);var t=2*Math.PI,n=this.points(),r=n,o=0!==this.tension()&&n.length>4;o&&(r=this.getTensionPoints());var i,A,s=this.pointerLength(),l=n.length;if(o){const e=[r[r.length-4],r[r.length-3],r[r.length-2],r[r.length-1],n[l-2],n[l-1]],t=a.Path.calcLength(r[r.length-4],r[r.length-3],"C",e),o=a.Path.getPointOnQuadraticBezier(Math.min(1,1-s/t),e[0],e[1],e[2],e[3],e[4],e[5]);i=n[l-2]-o.x,A=n[l-1]-o.y}else i=n[l-2]-n[l-4],A=n[l-1]-n[l-3];var c=(Math.atan2(A,i)+t)%t,u=this.pointerWidth();this.pointerAtEnding()&&(e.save(),e.beginPath(),e.translate(n[l-2],n[l-1]),e.rotate(c),e.moveTo(0,0),e.lineTo(-s,u/2),e.lineTo(-s,-u/2),e.closePath(),e.restore(),this.__fillStroke(e)),this.pointerAtBeginning()&&(e.save(),e.beginPath(),e.translate(n[0],n[1]),o?(i=(r[0]+r[2])/2-n[0],A=(r[1]+r[3])/2-n[1]):(i=n[2]-n[0],A=n[3]-n[1]),e.rotate((Math.atan2(-A,-i)+t)%t),e.moveTo(0,0),e.lineTo(-s,u/2),e.lineTo(-s,-u/2),e.closePath(),e.restore(),this.__fillStroke(e))}__fillStroke(e){var t=this.dashEnabled();t&&(this.attrs.dashEnabled=!1,e.setLineDash([])),e.fillStrokeShape(this),t&&(this.attrs.dashEnabled=!0)}getSelfRect(){const e=super.getSelfRect(),t=this.pointerWidth()/2;return{x:e.x-t,y:e.y-t,width:e.width+2*t,height:e.height+2*t}}}t.Arrow=s,s.prototype.className="Arrow",(0,A._registerNode)(s),r.Factory.addGetterSetter(s,"pointerLength",10,(0,i.getNumberValidator)()),r.Factory.addGetterSetter(s,"pointerWidth",10,(0,i.getNumberValidator)()),r.Factory.addGetterSetter(s,"pointerAtBeginning",!1),r.Factory.addGetterSetter(s,"pointerAtEnding",!0)},9729:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Circle=void 0;const r=n(4892),o=n(4723),i=n(5483),A=n(8871);class a extends o.Shape{_sceneFunc(e){e.beginPath(),e.arc(0,0,this.attrs.radius||0,0,2*Math.PI,!1),e.closePath(),e.fillStrokeShape(this)}getWidth(){return 2*this.radius()}getHeight(){return 2*this.radius()}setWidth(e){this.radius()!==e/2&&this.radius(e/2)}setHeight(e){this.radius()!==e/2&&this.radius(e/2)}}t.Circle=a,a.prototype._centroid=!0,a.prototype.className="Circle",a.prototype._attrsAffectingSize=["radius"],(0,A._registerNode)(a),r.Factory.addGetterSetter(a,"radius",0,(0,i.getNumberValidator)())},6955:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Ellipse=void 0;const r=n(4892),o=n(4723),i=n(5483),A=n(8871);class a extends o.Shape{_sceneFunc(e){var t=this.radiusX(),n=this.radiusY();e.beginPath(),e.save(),t!==n&&e.scale(1,n/t),e.arc(0,0,t,0,2*Math.PI,!1),e.restore(),e.closePath(),e.fillStrokeShape(this)}getWidth(){return 2*this.radiusX()}getHeight(){return 2*this.radiusY()}setWidth(e){this.radiusX(e/2)}setHeight(e){this.radiusY(e/2)}}t.Ellipse=a,a.prototype.className="Ellipse",a.prototype._centroid=!0,a.prototype._attrsAffectingSize=["radiusX","radiusY"],(0,A._registerNode)(a),r.Factory.addComponentsGetterSetter(a,"radius",["x","y"]),r.Factory.addGetterSetter(a,"radiusX",0,(0,i.getNumberValidator)()),r.Factory.addGetterSetter(a,"radiusY",0,(0,i.getNumberValidator)())},7256:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Image=void 0;const r=n(4060),o=n(4892),i=n(4723),A=n(8871),a=n(5483);class s extends i.Shape{constructor(e){super(e),this.on("imageChange.konva",(()=>{this._setImageLoad()})),this._setImageLoad()}_setImageLoad(){const e=this.image();e&&e.complete||e&&4===e.readyState||e&&e.addEventListener&&e.addEventListener("load",(()=>{this._requestDraw()}))}_useBufferCanvas(){const e=!!this.cornerRadius(),t=this.hasShadow();return!(!e||!t)||super._useBufferCanvas(!0)}_sceneFunc(e){const t=this.getWidth(),n=this.getHeight(),o=this.cornerRadius(),i=this.attrs.image;let A;if(i){const e=this.attrs.cropWidth,r=this.attrs.cropHeight;A=e&&r?[i,this.cropX(),this.cropY(),e,r,0,0,t,n]:[i,0,0,t,n]}(this.hasFill()||this.hasStroke()||o)&&(e.beginPath(),o?r.Util.drawRoundedRectPath(e,t,n,o):e.rect(0,0,t,n),e.closePath(),e.fillStrokeShape(this)),i&&(o&&e.clip(),e.drawImage.apply(e,A))}_hitFunc(e){var t=this.width(),n=this.height(),o=this.cornerRadius();e.beginPath(),o?r.Util.drawRoundedRectPath(e,t,n,o):e.rect(0,0,t,n),e.closePath(),e.fillStrokeShape(this)}getWidth(){var e,t;return null!==(e=this.attrs.width)&&void 0!==e?e:null===(t=this.image())||void 0===t?void 0:t.width}getHeight(){var e,t;return null!==(e=this.attrs.height)&&void 0!==e?e:null===(t=this.image())||void 0===t?void 0:t.height}static fromURL(e,t,n=null){var o=r.Util.createImageElement();o.onload=function(){var e=new s({image:o});t(e)},o.onerror=n,o.crossOrigin="Anonymous",o.src=e}}t.Image=s,s.prototype.className="Image",(0,A._registerNode)(s),o.Factory.addGetterSetter(s,"cornerRadius",0,(0,a.getNumberOrArrayOfNumbersValidator)(4)),o.Factory.addGetterSetter(s,"image"),o.Factory.addComponentsGetterSetter(s,"crop",["x","y","width","height"]),o.Factory.addGetterSetter(s,"cropX",0,(0,a.getNumberValidator)()),o.Factory.addGetterSetter(s,"cropY",0,(0,a.getNumberValidator)()),o.Factory.addGetterSetter(s,"cropWidth",0,(0,a.getNumberValidator)()),o.Factory.addGetterSetter(s,"cropHeight",0,(0,a.getNumberValidator)())},6619:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tag=t.Label=void 0;const r=n(4892),o=n(4723),i=n(7949),A=n(5483),a=n(8871);var s=["fontFamily","fontSize","fontStyle","padding","lineHeight","text","width","height","pointerDirection","pointerWidth","pointerHeight"],l="up",c="right",u="down",d="left",f=s.length;class h extends i.Group{constructor(e){super(e),this.on("add.konva",(function(e){this._addListeners(e.child),this._sync()}))}getText(){return this.find("Text")[0]}getTag(){return this.find("Tag")[0]}_addListeners(e){var t,n=this,r=function(){n._sync()};for(t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Line=void 0;const r=n(4892),o=n(4723),i=n(5483),A=n(8871);function a(e,t,n,r,o,i,A){var a=Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2)),s=Math.sqrt(Math.pow(o-n,2)+Math.pow(i-r,2)),l=A*a/(a+s),c=A*s/(a+s);return[n-l*(o-e),r-l*(i-t),n+c*(o-e),r+c*(i-t)]}function s(e,t){var n,r,o=e.length,i=[];for(n=2;n4){for(n=(t=this.getTensionPoints()).length,r=a?0:4,a||e.quadraticCurveTo(t[0],t[1],t[2],t[3]);r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Path=void 0;const r=n(4892),o=n(4723),i=n(8871),A=n(5570);class a extends o.Shape{constructor(e){super(e),this.dataArray=[],this.pathLength=0,this._readDataAttribute(),this.on("dataChange.konva",(function(){this._readDataAttribute()}))}_readDataAttribute(){this.dataArray=a.parsePathData(this.data()),this.pathLength=a.getPathLength(this.dataArray)}_sceneFunc(e){var t=this.dataArray;e.beginPath();for(var n=!1,r=0;rl?s:l,p=s>l?1:s/l,g=s>l?l/s:1;e.translate(A,a),e.rotate(d),e.scale(p,g),e.arc(0,0,h,c,c+u,1-f),e.scale(1/p,1/g),e.rotate(-d),e.translate(-A,-a);break;case"z":n=!0,e.closePath()}}n||this.hasFill()?e.fillStrokeShape(this):e.strokeShape(this)}getSelfRect(){var e=[];this.dataArray.forEach((function(t){if("A"===t.command){var n=t.points[4],r=t.points[5],o=t.points[4]+r,i=Math.PI/180;if(Math.abs(n-o)o;r-=i){const n=a.getPointOnEllipticalArc(t.points[0],t.points[1],t.points[2],t.points[3],r,0);e.push(n.x,n.y)}else for(let r=n+i;rt[r].pathLength;)e-=t[r].pathLength,++r;if(r===o)return{x:(n=t[r-1].points.slice(-2))[0],y:n[1]};if(e<.01)return{x:(n=t[r].points.slice(0,2))[0],y:n[1]};var i=t[r],s=i.points;switch(i.command){case"L":return a.getPointOnLine(e,i.start.x,i.start.y,s[0],s[1]);case"C":return a.getPointOnCubicBezier((0,A.t2length)(e,a.getPathLength(t),(e=>(0,A.getCubicArcLength)([i.start.x,s[0],s[2],s[4]],[i.start.y,s[1],s[3],s[5]],e))),i.start.x,i.start.y,s[0],s[1],s[2],s[3],s[4],s[5]);case"Q":return a.getPointOnQuadraticBezier((0,A.t2length)(e,a.getPathLength(t),(e=>(0,A.getQuadraticArcLength)([i.start.x,s[0],s[2]],[i.start.y,s[1],s[3]],e))),i.start.x,i.start.y,s[0],s[1],s[2],s[3]);case"A":var l=s[0],c=s[1],u=s[2],d=s[3],f=s[4],h=s[5],p=s[6];return f+=h*e/i.pathLength,a.getPointOnEllipticalArc(l,c,u,d,f,p)}return null}static getPointOnLine(e,t,n,r,o,i,A){i=null!=i?i:t,A=null!=A?A:n;const a=this.getLineLength(t,n,r,o);if(a<1e-10)return{x:t,y:n};if(r===t)return{x:i,y:A+(o>n?e:-e)};const s=(o-n)/(r-t),l=Math.sqrt(e*e/(1+s*s))*(r0&&!isNaN(f[0]);){var m,v,y,w,b,B,C,x,S,E,F="",Q=[],U=s,k=l;switch(d){case"l":s+=f.shift(),l+=f.shift(),F="L",Q.push(s,l);break;case"L":s=f.shift(),l=f.shift(),Q.push(s,l);break;case"m":var I=f.shift(),O=f.shift();if(s+=I,l+=O,F="M",A.length>2&&"z"===A[A.length-1].command)for(var P=A.length-2;P>=0;P--)if("M"===A[P].command){s=A[P].points[0]+I,l=A[P].points[1]+O;break}Q.push(s,l),d="l";break;case"M":s=f.shift(),l=f.shift(),F="M",Q.push(s,l),d="L";break;case"h":s+=f.shift(),F="L",Q.push(s,l);break;case"H":s=f.shift(),F="L",Q.push(s,l);break;case"v":l+=f.shift(),F="L",Q.push(s,l);break;case"V":l=f.shift(),F="L",Q.push(s,l);break;case"C":Q.push(f.shift(),f.shift(),f.shift(),f.shift()),s=f.shift(),l=f.shift(),Q.push(s,l);break;case"c":Q.push(s+f.shift(),l+f.shift(),s+f.shift(),l+f.shift()),s+=f.shift(),l+=f.shift(),F="C",Q.push(s,l);break;case"S":v=s,y=l,"C"===(m=A[A.length-1]).command&&(v=s+(s-m.points[2]),y=l+(l-m.points[3])),Q.push(v,y,f.shift(),f.shift()),s=f.shift(),l=f.shift(),F="C",Q.push(s,l);break;case"s":v=s,y=l,"C"===(m=A[A.length-1]).command&&(v=s+(s-m.points[2]),y=l+(l-m.points[3])),Q.push(v,y,s+f.shift(),l+f.shift()),s+=f.shift(),l+=f.shift(),F="C",Q.push(s,l);break;case"Q":Q.push(f.shift(),f.shift()),s=f.shift(),l=f.shift(),Q.push(s,l);break;case"q":Q.push(s+f.shift(),l+f.shift()),s+=f.shift(),l+=f.shift(),F="Q",Q.push(s,l);break;case"T":v=s,y=l,"Q"===(m=A[A.length-1]).command&&(v=s+(s-m.points[0]),y=l+(l-m.points[1])),s=f.shift(),l=f.shift(),F="Q",Q.push(v,y,s,l);break;case"t":v=s,y=l,"Q"===(m=A[A.length-1]).command&&(v=s+(s-m.points[0]),y=l+(l-m.points[1])),s+=f.shift(),l+=f.shift(),F="Q",Q.push(v,y,s,l);break;case"A":w=f.shift(),b=f.shift(),B=f.shift(),C=f.shift(),x=f.shift(),S=s,E=l,s=f.shift(),l=f.shift(),F="A",Q=this.convertEndpointToCenterParameterization(S,E,s,l,C,x,w,b,B);break;case"a":w=f.shift(),b=f.shift(),B=f.shift(),C=f.shift(),x=f.shift(),S=s,E=l,s+=f.shift(),l+=f.shift(),F="A",Q=this.convertEndpointToCenterParameterization(S,E,s,l,C,x,w,b,B)}A.push({command:F||d,points:Q,start:{x:U,y:k},pathLength:this.calcLength(U,k,F||d,Q)})}"z"!==d&&"Z"!==d||A.push({command:"z",points:[],start:void 0,pathLength:0})}return A}static calcLength(e,t,n,r){var o,i,s,l,c=a;switch(n){case"L":return c.getLineLength(e,t,r[0],r[1]);case"C":return(0,A.getCubicArcLength)([e,r[0],r[2],r[4]],[t,r[1],r[3],r[5]],1);case"Q":return(0,A.getQuadraticArcLength)([e,r[0],r[2]],[t,r[1],r[3]],1);case"A":o=0;var u=r[4],d=r[5],f=r[4]+d,h=Math.PI/180;if(Math.abs(u-f)f;l-=h)s=c.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],l,0),o+=c.getLineLength(i.x,i.y,s.x,s.y),i=s;else for(l=u+h;l1&&(A*=Math.sqrt(d),a*=Math.sqrt(d));var f=Math.sqrt((A*A*(a*a)-A*A*(u*u)-a*a*(c*c))/(A*A*(u*u)+a*a*(c*c)));o===i&&(f*=-1),isNaN(f)&&(f=0);var h=f*A*u/a,p=f*-a*c/A,g=(e+n)/2+Math.cos(l)*h-Math.sin(l)*p,m=(t+r)/2+Math.sin(l)*h+Math.cos(l)*p,v=function(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])},y=function(e,t){return(e[0]*t[0]+e[1]*t[1])/(v(e)*v(t))},w=function(e,t){return(e[0]*t[1]=1&&(x=0),0===i&&x>0&&(x-=2*Math.PI),1===i&&x<0&&(x+=2*Math.PI),[g,m,A,a,b,x,l,i]}}t.Path=a,a.prototype.className="Path",a.prototype._attrsAffectingSize=["data"],(0,i._registerNode)(a),r.Factory.addGetterSetter(a,"data")},5155:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Rect=void 0;const r=n(4892),o=n(4723),i=n(8871),A=n(4060),a=n(5483);class s extends o.Shape{_sceneFunc(e){var t=this.cornerRadius(),n=this.width(),r=this.height();e.beginPath(),t?A.Util.drawRoundedRectPath(e,n,r,t):e.rect(0,0,n,r),e.closePath(),e.fillStrokeShape(this)}}t.Rect=s,s.prototype.className="Rect",(0,i._registerNode)(s),r.Factory.addGetterSetter(s,"cornerRadius",0,(0,a.getNumberOrArrayOfNumbersValidator)(4))},9131:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RegularPolygon=void 0;const r=n(4892),o=n(4723),i=n(5483),A=n(8871);class a extends o.Shape{_sceneFunc(e){const t=this._getPoints();e.beginPath(),e.moveTo(t[0].x,t[0].y);for(var n=1;n{t=Math.min(t,e.x),n=Math.max(n,e.x),r=Math.min(r,e.y),o=Math.max(o,e.y)})),{x:t,y:r,width:n-t,height:o-r}}getWidth(){return 2*this.radius()}getHeight(){return 2*this.radius()}setWidth(e){this.radius(e/2)}setHeight(e){this.radius(e/2)}}t.RegularPolygon=a,a.prototype.className="RegularPolygon",a.prototype._centroid=!0,a.prototype._attrsAffectingSize=["radius"],(0,A._registerNode)(a),r.Factory.addGetterSetter(a,"radius",0,(0,i.getNumberValidator)()),r.Factory.addGetterSetter(a,"sides",0,(0,i.getNumberValidator)())},5451:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Ring=void 0;const r=n(4892),o=n(4723),i=n(5483),A=n(8871);var a=2*Math.PI;class s extends o.Shape{_sceneFunc(e){e.beginPath(),e.arc(0,0,this.innerRadius(),0,a,!1),e.moveTo(this.outerRadius(),0),e.arc(0,0,this.outerRadius(),a,0,!0),e.closePath(),e.fillStrokeShape(this)}getWidth(){return 2*this.outerRadius()}getHeight(){return 2*this.outerRadius()}setWidth(e){this.outerRadius(e/2)}setHeight(e){this.outerRadius(e/2)}}t.Ring=s,s.prototype.className="Ring",s.prototype._centroid=!0,s.prototype._attrsAffectingSize=["innerRadius","outerRadius"],(0,A._registerNode)(s),r.Factory.addGetterSetter(s,"innerRadius",0,(0,i.getNumberValidator)()),r.Factory.addGetterSetter(s,"outerRadius",0,(0,i.getNumberValidator)())},9308:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sprite=void 0;const r=n(4892),o=n(4723),i=n(9696),A=n(5483),a=n(8871);class s extends o.Shape{constructor(e){super(e),this._updated=!0,this.anim=new i.Animation((()=>{var e=this._updated;return this._updated=!1,e})),this.on("animationChange.konva",(function(){this.frameIndex(0)})),this.on("frameIndexChange.konva",(function(){this._updated=!0})),this.on("frameRateChange.konva",(function(){this.anim.isRunning()&&(clearInterval(this.interval),this._setInterval())}))}_sceneFunc(e){var t=this.animation(),n=this.frameIndex(),r=4*n,o=this.animations()[t],i=this.frameOffsets(),A=o[r+0],a=o[r+1],s=o[r+2],l=o[r+3],c=this.image();if((this.hasFill()||this.hasStroke())&&(e.beginPath(),e.rect(0,0,s,l),e.closePath(),e.fillStrokeShape(this)),c)if(i){var u=i[t],d=2*n;e.drawImage(c,A,a,s,l,u[d+0],u[d+1],s,l)}else e.drawImage(c,A,a,s,l,0,0,s,l)}_hitFunc(e){var t=this.animation(),n=this.frameIndex(),r=4*n,o=this.animations()[t],i=this.frameOffsets(),A=o[r+2],a=o[r+3];if(e.beginPath(),i){var s=i[t],l=2*n;e.rect(s[l+0],s[l+1],A,a)}else e.rect(0,0,A,a);e.closePath(),e.fillShape(this)}_useBufferCanvas(){return super._useBufferCanvas(!0)}_setInterval(){var e=this;this.interval=setInterval((function(){e._updateIndex()}),1e3/this.frameRate())}start(){if(!this.isRunning()){var e=this.getLayer();this.anim.setLayers(e),this._setInterval(),this.anim.start()}}stop(){this.anim.stop(),clearInterval(this.interval)}isRunning(){return this.anim.isRunning()}_updateIndex(){var e=this.frameIndex(),t=this.animation();e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Star=void 0;const r=n(4892),o=n(4723),i=n(5483),A=n(8871);class a extends o.Shape{_sceneFunc(e){var t=this.innerRadius(),n=this.outerRadius(),r=this.numPoints();e.beginPath(),e.moveTo(0,0-n);for(var o=1;o<2*r;o++){var i=o%2==0?n:t,A=i*Math.sin(o*Math.PI/r),a=-1*i*Math.cos(o*Math.PI/r);e.lineTo(A,a)}e.closePath(),e.fillStrokeShape(this)}getWidth(){return 2*this.outerRadius()}getHeight(){return 2*this.outerRadius()}setWidth(e){this.outerRadius(e/2)}setHeight(e){this.outerRadius(e/2)}}t.Star=a,a.prototype.className="Star",a.prototype._centroid=!0,a.prototype._attrsAffectingSize=["innerRadius","outerRadius"],(0,A._registerNode)(a),r.Factory.addGetterSetter(a,"numPoints",5,(0,i.getNumberValidator)()),r.Factory.addGetterSetter(a,"innerRadius",0,(0,i.getNumberValidator)()),r.Factory.addGetterSetter(a,"outerRadius",0,(0,i.getNumberValidator)())},1958:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Text=t.stringToArray=void 0;const r=n(4060),o=n(4892),i=n(4723),A=n(8871),a=n(5483),s=n(8871);function l(e){return Array.from(e)}t.stringToArray=l;var c,u="auto",d="inherit",f="justify",h="left",p="middle",g="normal",m=" ",v="none",y=["direction","fontFamily","fontSize","fontStyle","fontVariant","padding","align","verticalAlign","lineHeight","text","width","height","wrap","ellipsis","letterSpacing"],w=y.length;function b(){return c||(c=r.Util.createCanvasElement().getContext("2d"))}class B extends i.Shape{constructor(e){super(function(e){return(e=e||{}).fillLinearGradientColorStops||e.fillRadialGradientColorStops||e.fillPatternImage||(e.fill=e.fill||"black"),e}(e)),this._partialTextX=0,this._partialTextY=0;for(var t=0;t1&&(C+=a)}}}_hitFunc(e){var t=this.getWidth(),n=this.getHeight();e.beginPath(),e.rect(0,0,t,n),e.closePath(),e.fillStrokeShape(this)}setText(e){var t=r.Util._isString(e)?e:null==e?"":e+"";return this._setAttr("text",t),this}getWidth(){return this.attrs.width===u||void 0===this.attrs.width?this.getTextWidth()+2*this.padding():this.attrs.width}getHeight(){return this.attrs.height===u||void 0===this.attrs.height?this.fontSize()*this.textArr.length*this.lineHeight()+2*this.padding():this.attrs.height}getTextWidth(){return this.textWidth}getTextHeight(){return r.Util.warn("text.getTextHeight() method is deprecated. Use text.height() - for full height and text.fontSize() - for one line height."),this.textHeight}measureSize(e){var t,n,r,o,i,A,a,s,l,c,u,d,f=b(),h=this.fontSize();f.save(),f.font=this._getContextFont(),d=f.measureText(e),f.restore();const p=h/100;return{actualBoundingBoxAscent:null!==(t=d.actualBoundingBoxAscent)&&void 0!==t?t:71.58203125*p,actualBoundingBoxDescent:null!==(n=d.actualBoundingBoxDescent)&&void 0!==n?n:0,actualBoundingBoxLeft:null!==(r=d.actualBoundingBoxLeft)&&void 0!==r?r:-7.421875*p,actualBoundingBoxRight:null!==(o=d.actualBoundingBoxRight)&&void 0!==o?o:75.732421875*p,alphabeticBaseline:null!==(i=d.alphabeticBaseline)&&void 0!==i?i:0,emHeightAscent:null!==(A=d.emHeightAscent)&&void 0!==A?A:100*p,emHeightDescent:null!==(a=d.emHeightDescent)&&void 0!==a?a:-20*p,fontBoundingBoxAscent:null!==(s=d.fontBoundingBoxAscent)&&void 0!==s?s:91*p,fontBoundingBoxDescent:null!==(l=d.fontBoundingBoxDescent)&&void 0!==l?l:21*p,hangingBaseline:null!==(c=d.hangingBaseline)&&void 0!==c?c:72.80000305175781*p,ideographicBaseline:null!==(u=d.ideographicBaseline)&&void 0!==u?u:-21*p,width:d.width,height:h}}_getContextFont(){return this.fontStyle()+m+this.fontVariant()+m+(this.fontSize()+"px ")+this.fontFamily().split(",").map((e=>{const t=(e=e.trim()).indexOf(" ")>=0,n=e.indexOf('"')>=0||e.indexOf("'")>=0;return t&&!n&&(e=`"${e}"`),e})).join(", ")}_addTextLine(e){this.align()===f&&(e=e.trim());var t=this._getTextWidth(e);return this.textArr.push({text:e,width:t,lastInParagraph:!1})}_getTextWidth(e){var t=this.letterSpacing(),n=e.length;return b().measureText(e).width+(n?t*(n-1):0)}_setTextData(){var e=this.text().split("\n"),t=+this.fontSize(),n=0,r=this.lineHeight()*t,o=this.attrs.width,i=this.attrs.height,A=o!==u&&void 0!==o,a=i!==u&&void 0!==i,s=this.padding(),l=o-2*s,c=i-2*s,d=0,f=this.wrap(),h="char"!==f&&f!==v,p=this.ellipsis();this.textArr=[],b().font=this._getContextFont();for(var g=p?this._getTextWidth("…"):0,y=0,w=e.length;yl)for(;B.length>0;){for(var x=0,S=B.length,E="",F=0;x>>1,U=B.slice(0,Q+1),k=this._getTextWidth(U)+g;k<=l?(x=Q+1,E=U,F=k):S=Q}if(!E)break;if(h){var I,O=B[E.length];(I=(O===m||"-"===O)&&F<=l?E.length:Math.max(E.lastIndexOf(m),E.lastIndexOf("-"))+1)>0&&(x=I,E=E.slice(0,x),F=this._getTextWidth(E))}if(E=E.trimRight(),this._addTextLine(E),n=Math.max(n,F),d+=r,this._shouldHandleEllipsis(d)){this._tryToAddEllipsisToLastLine();break}if((B=(B=B.slice(x)).trimLeft()).length>0&&(C=this._getTextWidth(B))<=l){this._addTextLine(B),d+=r,n=Math.max(n,C);break}}else this._addTextLine(B),d+=r,n=Math.max(n,C),this._shouldHandleEllipsis(d)&&yc)break}this.textHeight=t,this.textWidth=n}_shouldHandleEllipsis(e){var t=+this.fontSize(),n=this.lineHeight()*t,r=this.attrs.height,o=r!==u&&void 0!==r,i=r-2*this.padding();return!(this.wrap()!==v)||o&&e+n>i}_tryToAddEllipsisToLastLine(){var e=this.attrs.width,t=e!==u&&void 0!==e,n=e-2*this.padding(),r=this.ellipsis(),o=this.textArr[this.textArr.length-1];o&&r&&(t&&(this._getTextWidth(o.text+"…"){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextPath=void 0;const r=n(4060),o=n(4892),i=n(4723),A=n(1486),a=n(1958),s=n(5483),l=n(8871);var c="normal";function u(e){e.fillText(this.partialText,0,0)}function d(e){e.strokeText(this.partialText,0,0)}class f extends i.Shape{constructor(e){super(e),this.dummyCanvas=r.Util.createCanvasElement(),this.dataArray=[],this._readDataAttribute(),this.on("dataChange.konva",(function(){this._readDataAttribute(),this._setTextData()})),this.on("textChange.konva alignChange.konva letterSpacingChange.konva kerningFuncChange.konva fontSizeChange.konva fontFamilyChange.konva",this._setTextData),this._setTextData()}_getTextPathLength(){return A.Path.getPathLength(this.dataArray)}_getPointAtLength(e){return this.attrs.data?e-1>this.pathLength?null:A.Path.getPointAtLengthOfDataArray(e,this.dataArray):null}_readDataAttribute(){this.dataArray=A.Path.parsePathData(this.attrs.data),this.pathLength=this._getTextPathLength()}_sceneFunc(e){e.setAttr("font",this._getContextFont()),e.setAttr("textBaseline",this.textBaseline()),e.setAttr("textAlign","left"),e.save();var t=this.textDecoration(),n=this.fill(),r=this.fontSize(),o=this.glyphInfo;"underline"===t&&e.beginPath();for(var i=0;i=1){var n=t[0].p0;e.moveTo(n.x,n.y)}for(var r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Transformer=void 0;const r=n(4060),o=n(4892),i=n(6536),A=n(4723),a=n(5155),s=n(7949),l=n(8871),c=n(5483),u=n(8871);var d="tr-konva",f=["resizeEnabledChange","rotateAnchorOffsetChange","rotateEnabledChange","enabledAnchorsChange","anchorSizeChange","borderEnabledChange","borderStrokeChange","borderStrokeWidthChange","borderDashChange","anchorStrokeChange","anchorStrokeWidthChange","anchorFillChange","anchorCornerRadiusChange","ignoreStrokeChange","anchorStyleFuncChange"].map((e=>e+`.${d}`)).join(" "),h="nodesRect",p=["widthChange","heightChange","scaleXChange","scaleYChange","skewXChange","skewYChange","rotationChange","offsetXChange","offsetYChange","transformsEnabledChange","strokeWidthChange"],g={"top-left":-45,"top-center":0,"top-right":45,"middle-right":-90,"middle-left":90,"bottom-left":-135,"bottom-center":180,"bottom-right":135};const m="ontouchstart"in l.Konva._global;var v=["top-left","top-center","top-right","middle-right","middle-left","bottom-left","bottom-center","bottom-right"];function y(e,t,n){const r=n.x+(e.x-n.x)*Math.cos(t)-(e.y-n.y)*Math.sin(t),o=n.y+(e.x-n.x)*Math.sin(t)+(e.y-n.y)*Math.cos(t);return{...e,rotation:e.rotation+t,x:r,y:o}}let w=0;class b extends s.Group{constructor(e){super(e),this._movingAnchorName=null,this._transforming=!1,this._createElements(),this._handleMouseMove=this._handleMouseMove.bind(this),this._handleMouseUp=this._handleMouseUp.bind(this),this.update=this.update.bind(this),this.on(f,this.update),this.getNode()&&this.update()}attachTo(e){return this.setNode(e),this}setNode(e){return r.Util.warn("tr.setNode(shape), tr.node(shape) and tr.attachTo(shape) methods are deprecated. Please use tr.nodes(nodesArray) instead."),this.setNodes([e])}getNode(){return this._nodes&&this._nodes[0]}_getEventNamespace(){return d+this._id}setNodes(e=[]){this._nodes&&this._nodes.length&&this.detach();const t=e.filter((e=>!e.isAncestorOf(this)||(r.Util.error("Konva.Transformer cannot be an a child of the node you are trying to attach"),!1)));return this._nodes=e=t,1===e.length&&this.useSingleNodeRotation()?this.rotation(e[0].getAbsoluteRotation()):this.rotation(0),this._nodes.forEach((e=>{const t=()=>{1===this.nodes().length&&this.useSingleNodeRotation()&&this.rotation(this.nodes()[0].getAbsoluteRotation()),this._resetTransformCache(),this._transforming||this.isDragging()||this.update()},n=e._attrsAffectingSize.map((e=>e+"Change."+this._getEventNamespace())).join(" ");e.on(n,t),e.on(p.map((e=>e+`.${this._getEventNamespace()}`)).join(" "),t),e.on(`absoluteTransformChange.${this._getEventNamespace()}`,t),this._proxyDrag(e)})),this._resetTransformCache(),!!this.findOne(".top-left")&&this.update(),this}_proxyDrag(e){let t;e.on(`dragstart.${this._getEventNamespace()}`,(n=>{t=e.getAbsolutePosition(),this.isDragging()||e===this.findOne(".back")||this.startDrag(n,!1)})),e.on(`dragmove.${this._getEventNamespace()}`,(n=>{if(!t)return;const r=e.getAbsolutePosition(),o=r.x-t.x,i=r.y-t.y;this.nodes().forEach((t=>{if(t===e)return;if(t.isDragging())return;const r=t.getAbsolutePosition();t.setAbsolutePosition({x:r.x+o,y:r.y+i}),t.startDrag(n)})),t=null}))}getNodes(){return this._nodes||[]}getActiveAnchor(){return this._movingAnchorName}detach(){this._nodes&&this._nodes.forEach((e=>{e.off("."+this._getEventNamespace())})),this._nodes=[],this._resetTransformCache()}_resetTransformCache(){this._clearCache(h),this._clearCache("transform"),this._clearSelfAndDescendantCache("absoluteTransform")}_getNodeRect(){return this._getCache(h,this.__getNodeRect)}__getNodeShape(e,t=this.rotation(),n){var r=e.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:this.ignoreStroke()}),o=e.getAbsoluteScale(n),i=e.getAbsolutePosition(n),A=r.x*o.x-e.offsetX()*o.x,a=r.y*o.y-e.offsetY()*o.y;const s=(l.Konva.getAngle(e.getAbsoluteRotation())+2*Math.PI)%(2*Math.PI);return y({x:i.x+A*Math.cos(s)+a*Math.sin(-s),y:i.y+a*Math.cos(s)+A*Math.sin(s),width:r.width*o.x,height:r.height*o.y,rotation:s},-l.Konva.getAngle(t),{x:0,y:0})}__getNodeRect(){if(!this.getNode())return{x:-1e8,y:-1e8,width:0,height:0,rotation:0};const e=[];this.nodes().map((t=>{const n=t.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:this.ignoreStroke()});var r=[{x:n.x,y:n.y},{x:n.x+n.width,y:n.y},{x:n.x+n.width,y:n.y+n.height},{x:n.x,y:n.y+n.height}],o=t.getAbsoluteTransform();r.forEach((function(t){var n=o.point(t);e.push(n)}))}));const t=new r.Transform;t.rotate(-l.Konva.getAngle(this.rotation()));var n=1/0,o=1/0,i=-1/0,A=-1/0;e.forEach((function(e){var r=t.point(e);void 0===n&&(n=i=r.x,o=A=r.y),n=Math.min(n,r.x),o=Math.min(o,r.y),i=Math.max(i,r.x),A=Math.max(A,r.y)})),t.invert();const a=t.point({x:n,y:o});return{x:a.x,y:a.y,width:i-n,height:A-o,rotation:l.Konva.getAngle(this.rotation())}}getX(){return this._getNodeRect().x}getY(){return this._getNodeRect().y}getWidth(){return this._getNodeRect().width}getHeight(){return this._getNodeRect().height}_createElements(){this._createBack(),v.forEach((e=>{this._createAnchor(e)})),this._createAnchor("rotater")}_createAnchor(e){var t=new a.Rect({stroke:"rgb(0, 161, 255)",fill:"white",strokeWidth:1,name:e+" _anchor",dragDistance:0,draggable:!0,hitStrokeWidth:m?10:"auto"}),n=this;t.on("mousedown touchstart",(function(e){n._handleMouseDown(e)})),t.on("dragstart",(e=>{t.stopDrag(),e.cancelBubble=!0})),t.on("dragend",(e=>{e.cancelBubble=!0})),t.on("mouseenter",(()=>{var n=l.Konva.getAngle(this.rotation()),o=this.rotateAnchorCursor(),i=function(e,t,n){if("rotater"===e)return n;t+=r.Util.degToRad(g[e]||0);var o=(r.Util.radToDeg(t)%360+360)%360;return r.Util._inRange(o,337.5,360)||r.Util._inRange(o,0,22.5)?"ns-resize":r.Util._inRange(o,22.5,67.5)?"nesw-resize":r.Util._inRange(o,67.5,112.5)?"ew-resize":r.Util._inRange(o,112.5,157.5)?"nwse-resize":r.Util._inRange(o,157.5,202.5)?"ns-resize":r.Util._inRange(o,202.5,247.5)?"nesw-resize":r.Util._inRange(o,247.5,292.5)?"ew-resize":r.Util._inRange(o,292.5,337.5)?"nwse-resize":(r.Util.error("Transformer has unknown angle for cursor detection: "+o),"pointer")}(e,n,o);t.getStage().content&&(t.getStage().content.style.cursor=i),this._cursorChange=!0})),t.on("mouseout",(()=>{t.getStage().content&&(t.getStage().content.style.cursor=""),this._cursorChange=!1})),this.add(t)}_createBack(){var e=new A.Shape({name:"back",width:0,height:0,draggable:!0,sceneFunc(e,t){var n=t.getParent(),o=n.padding();e.beginPath(),e.rect(-o,-o,t.width()+2*o,t.height()+2*o),e.moveTo(t.width()/2,-o),n.rotateEnabled()&&n.rotateLineVisible()&&e.lineTo(t.width()/2,-n.rotateAnchorOffset()*r.Util._sign(t.height())-o),e.fillStrokeShape(t)},hitFunc:(e,t)=>{if(this.shouldOverdrawWholeArea()){var n=this.padding();e.beginPath(),e.rect(-n,-n,t.width()+2*n,t.height()+2*n),e.fillStrokeShape(t)}}});this.add(e),this._proxyDrag(e),e.on("dragstart",(e=>{e.cancelBubble=!0})),e.on("dragmove",(e=>{e.cancelBubble=!0})),e.on("dragend",(e=>{e.cancelBubble=!0})),this.on("dragmove",(e=>{this.update()}))}_handleMouseDown(e){if(!this._transforming){this._movingAnchorName=e.target.name().split(" ")[0];var t=this._getNodeRect(),n=t.width,r=t.height,o=Math.sqrt(Math.pow(n,2)+Math.pow(r,2));this.sin=Math.abs(r/o),this.cos=Math.abs(n/o),"undefined"!=typeof window&&(window.addEventListener("mousemove",this._handleMouseMove),window.addEventListener("touchmove",this._handleMouseMove),window.addEventListener("mouseup",this._handleMouseUp,!0),window.addEventListener("touchend",this._handleMouseUp,!0)),this._transforming=!0;var i=e.target.getAbsolutePosition(),A=e.target.getStage().getPointerPosition();this._anchorDragOffset={x:A.x-i.x,y:A.y-i.y},w++,this._fire("transformstart",{evt:e.evt,target:this.getNode()}),this._nodes.forEach((t=>{t._fire("transformstart",{evt:e.evt,target:t})}))}}_handleMouseMove(e){var t,n,r,o=this.findOne("."+this._movingAnchorName),i=o.getStage();i.setPointersPositions(e);const A=i.getPointerPosition();let a={x:A.x-this._anchorDragOffset.x,y:A.y-this._anchorDragOffset.y};const s=o.getAbsolutePosition();this.anchorDragBoundFunc()&&(a=this.anchorDragBoundFunc()(s,a,e)),o.setAbsolutePosition(a);const c=o.getAbsolutePosition();if(s.x!==c.x||s.y!==c.y)if("rotater"!==this._movingAnchorName){var u,d=this.shiftBehavior();u="inverted"===d?this.keepRatio()&&!e.shiftKey:"none"===d?this.keepRatio():this.keepRatio()||e.shiftKey;var f=this.centeredScaling()||e.altKey;if("top-left"===this._movingAnchorName){if(u){var h=f?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".bottom-right").x(),y:this.findOne(".bottom-right").y()};r=Math.sqrt(Math.pow(h.x-o.x(),2)+Math.pow(h.y-o.y(),2));var p=this.findOne(".top-left").x()>h.x?-1:1,g=this.findOne(".top-left").y()>h.y?-1:1;t=r*this.cos*p,n=r*this.sin*g,this.findOne(".top-left").x(h.x-t),this.findOne(".top-left").y(h.y-n)}}else if("top-center"===this._movingAnchorName)this.findOne(".top-left").y(o.y());else if("top-right"===this._movingAnchorName){u&&(h=f?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".bottom-left").x(),y:this.findOne(".bottom-left").y()},r=Math.sqrt(Math.pow(o.x()-h.x,2)+Math.pow(h.y-o.y(),2)),p=this.findOne(".top-right").x()h.y?-1:1,t=r*this.cos*p,n=r*this.sin*g,this.findOne(".top-right").x(h.x+t),this.findOne(".top-right").y(h.y-n));var m=o.position();this.findOne(".top-left").y(m.y),this.findOne(".bottom-right").x(m.x)}else"middle-left"===this._movingAnchorName?this.findOne(".top-left").x(o.x()):"middle-right"===this._movingAnchorName?this.findOne(".bottom-right").x(o.x()):"bottom-left"===this._movingAnchorName?(u&&(h=f?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".top-right").x(),y:this.findOne(".top-right").y()},r=Math.sqrt(Math.pow(h.x-o.x(),2)+Math.pow(o.y()-h.y,2)),p=h.x{var n;t._fire("transformend",{evt:e,target:t}),null===(n=t.getLayer())||void 0===n||n.batchDraw()})),this._movingAnchorName=null}}_fitNodesInto(e,t){var n=this._getNodeRect();if(r.Util._inRange(e.width,2*-this.padding()-1,1))return void this.update();if(r.Util._inRange(e.height,2*-this.padding()-1,1))return void this.update();var o=new r.Transform;if(o.rotate(l.Konva.getAngle(this.rotation())),this._movingAnchorName&&e.width<0&&this._movingAnchorName.indexOf("left")>=0){const t=o.point({x:2*-this.padding(),y:0});e.x+=t.x,e.y+=t.y,e.width+=2*this.padding(),this._movingAnchorName=this._movingAnchorName.replace("left","right"),this._anchorDragOffset.x-=t.x,this._anchorDragOffset.y-=t.y}else if(this._movingAnchorName&&e.width<0&&this._movingAnchorName.indexOf("right")>=0){const t=o.point({x:2*this.padding(),y:0});this._movingAnchorName=this._movingAnchorName.replace("right","left"),this._anchorDragOffset.x-=t.x,this._anchorDragOffset.y-=t.y,e.width+=2*this.padding()}if(this._movingAnchorName&&e.height<0&&this._movingAnchorName.indexOf("top")>=0){const t=o.point({x:0,y:2*-this.padding()});e.x+=t.x,e.y+=t.y,this._movingAnchorName=this._movingAnchorName.replace("top","bottom"),this._anchorDragOffset.x-=t.x,this._anchorDragOffset.y-=t.y,e.height+=2*this.padding()}else if(this._movingAnchorName&&e.height<0&&this._movingAnchorName.indexOf("bottom")>=0){const t=o.point({x:0,y:2*this.padding()});this._movingAnchorName=this._movingAnchorName.replace("bottom","top"),this._anchorDragOffset.x-=t.x,this._anchorDragOffset.y-=t.y,e.height+=2*this.padding()}if(this.boundBoxFunc()){const t=this.boundBoxFunc()(n,e);t?e=t:r.Util.warn("boundBoxFunc returned falsy. You should return new bound rect from it!")}const i=1e7,A=new r.Transform;A.translate(n.x,n.y),A.rotate(n.rotation),A.scale(n.width/i,n.height/i);const a=new r.Transform,s=e.width/i,c=e.height/i;!1===this.flipEnabled()?(a.translate(e.x,e.y),a.rotate(e.rotation),a.translate(e.width<0?e.width:0,e.height<0?e.height:0),a.scale(Math.abs(s),Math.abs(c))):(a.translate(e.x,e.y),a.rotate(e.rotation),a.scale(s,c));const u=a.multiply(A.invert());this._nodes.forEach((e=>{var t;const n=e.getParent().getAbsoluteTransform(),o=e.getTransform().copy();o.translate(e.offsetX(),e.offsetY());const i=new r.Transform;i.multiply(n.copy().invert()).multiply(u).multiply(n).multiply(o);const A=i.decompose();e.setAttrs(A),null===(t=e.getLayer())||void 0===t||t.batchDraw()})),this.rotation(r.Util._getRotation(e.rotation)),this._nodes.forEach((e=>{this._fire("transform",{evt:t,target:e}),e._fire("transform",{evt:t,target:e})})),this._resetTransformCache(),this.update(),this.getLayer().batchDraw()}forceUpdate(){this._resetTransformCache(),this.update()}_batchChangeChild(e,t){this.findOne(e).setAttrs(t)}update(){var e,t=this._getNodeRect();this.rotation(r.Util._getRotation(t.rotation));var n=t.width,o=t.height,i=this.enabledAnchors(),A=this.resizeEnabled(),a=this.padding(),s=this.anchorSize();const l=this.find("._anchor");l.forEach((e=>{e.setAttrs({width:s,height:s,offsetX:s/2,offsetY:s/2,stroke:this.anchorStroke(),strokeWidth:this.anchorStrokeWidth(),fill:this.anchorFill(),cornerRadius:this.anchorCornerRadius()})})),this._batchChangeChild(".top-left",{x:0,y:0,offsetX:s/2+a,offsetY:s/2+a,visible:A&&i.indexOf("top-left")>=0}),this._batchChangeChild(".top-center",{x:n/2,y:0,offsetY:s/2+a,visible:A&&i.indexOf("top-center")>=0}),this._batchChangeChild(".top-right",{x:n,y:0,offsetX:s/2-a,offsetY:s/2+a,visible:A&&i.indexOf("top-right")>=0}),this._batchChangeChild(".middle-left",{x:0,y:o/2,offsetX:s/2+a,visible:A&&i.indexOf("middle-left")>=0}),this._batchChangeChild(".middle-right",{x:n,y:o/2,offsetX:s/2-a,visible:A&&i.indexOf("middle-right")>=0}),this._batchChangeChild(".bottom-left",{x:0,y:o,offsetX:s/2+a,offsetY:s/2-a,visible:A&&i.indexOf("bottom-left")>=0}),this._batchChangeChild(".bottom-center",{x:n/2,y:o,offsetY:s/2-a,visible:A&&i.indexOf("bottom-center")>=0}),this._batchChangeChild(".bottom-right",{x:n,y:o,offsetX:s/2-a,offsetY:s/2-a,visible:A&&i.indexOf("bottom-right")>=0}),this._batchChangeChild(".rotater",{x:n/2,y:-this.rotateAnchorOffset()*r.Util._sign(o)-a,visible:this.rotateEnabled()}),this._batchChangeChild(".back",{width:n,height:o,visible:this.borderEnabled(),stroke:this.borderStroke(),strokeWidth:this.borderStrokeWidth(),dash:this.borderDash(),x:0,y:0});const c=this.anchorStyleFunc();c&&l.forEach((e=>{c(e)})),null===(e=this.getLayer())||void 0===e||e.batchDraw()}isTransforming(){return this._transforming}stopTransform(){if(this._transforming){this._removeEvents();var e=this.findOne("."+this._movingAnchorName);e&&e.stopDrag()}}destroy(){return this.getStage()&&this._cursorChange&&this.getStage().content&&(this.getStage().content.style.cursor=""),s.Group.prototype.destroy.call(this),this.detach(),this._removeEvents(),this}toObject(){return i.Node.prototype.toObject.call(this)}clone(e){return i.Node.prototype.clone.call(this,e)}getClientRect(){return this.nodes().length>0?super.getClientRect():{x:0,y:0,width:0,height:0}}}t.Transformer=b,b.isTransforming=()=>w>0,b.prototype.className="Transformer",(0,u._registerNode)(b),o.Factory.addGetterSetter(b,"enabledAnchors",v,(function(e){return e instanceof Array||r.Util.warn("enabledAnchors value should be an array"),e instanceof Array&&e.forEach((function(e){-1===v.indexOf(e)&&r.Util.warn("Unknown anchor name: "+e+". Available names are: "+v.join(", "))})),e||[]})),o.Factory.addGetterSetter(b,"flipEnabled",!0,(0,c.getBooleanValidator)()),o.Factory.addGetterSetter(b,"resizeEnabled",!0),o.Factory.addGetterSetter(b,"anchorSize",10,(0,c.getNumberValidator)()),o.Factory.addGetterSetter(b,"rotateEnabled",!0),o.Factory.addGetterSetter(b,"rotateLineVisible",!0),o.Factory.addGetterSetter(b,"rotationSnaps",[]),o.Factory.addGetterSetter(b,"rotateAnchorOffset",50,(0,c.getNumberValidator)()),o.Factory.addGetterSetter(b,"rotateAnchorCursor","crosshair"),o.Factory.addGetterSetter(b,"rotationSnapTolerance",5,(0,c.getNumberValidator)()),o.Factory.addGetterSetter(b,"borderEnabled",!0),o.Factory.addGetterSetter(b,"anchorStroke","rgb(0, 161, 255)"),o.Factory.addGetterSetter(b,"anchorStrokeWidth",1,(0,c.getNumberValidator)()),o.Factory.addGetterSetter(b,"anchorFill","white"),o.Factory.addGetterSetter(b,"anchorCornerRadius",0,(0,c.getNumberValidator)()),o.Factory.addGetterSetter(b,"borderStroke","rgb(0, 161, 255)"),o.Factory.addGetterSetter(b,"borderStrokeWidth",1,(0,c.getNumberValidator)()),o.Factory.addGetterSetter(b,"borderDash"),o.Factory.addGetterSetter(b,"keepRatio",!0),o.Factory.addGetterSetter(b,"shiftBehavior","default"),o.Factory.addGetterSetter(b,"centeredScaling",!1),o.Factory.addGetterSetter(b,"ignoreStroke",!1),o.Factory.addGetterSetter(b,"padding",0,(0,c.getNumberValidator)()),o.Factory.addGetterSetter(b,"node"),o.Factory.addGetterSetter(b,"nodes"),o.Factory.addGetterSetter(b,"boundBoxFunc"),o.Factory.addGetterSetter(b,"anchorDragBoundFunc"),o.Factory.addGetterSetter(b,"anchorStyleFunc"),o.Factory.addGetterSetter(b,"shouldOverdrawWholeArea",!1),o.Factory.addGetterSetter(b,"useSingleNodeRotation",!0),o.Factory.backCompat(b,{lineEnabled:"borderEnabled",rotateHandlerOffset:"rotateAnchorOffset",enabledHandlers:"enabledAnchors"})},8001:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Wedge=void 0;const r=n(4892),o=n(4723),i=n(8871),A=n(5483),a=n(8871);class s extends o.Shape{_sceneFunc(e){e.beginPath(),e.arc(0,0,this.radius(),0,i.Konva.getAngle(this.angle()),this.clockwise()),e.lineTo(0,0),e.closePath(),e.fillStrokeShape(this)}getWidth(){return 2*this.radius()}getHeight(){return 2*this.radius()}setWidth(e){this.radius(e/2)}setHeight(e){this.radius(e/2)}}t.Wedge=s,s.prototype.className="Wedge",s.prototype._centroid=!0,s.prototype._attrsAffectingSize=["radius"],(0,a._registerNode)(s),r.Factory.addGetterSetter(s,"radius",0,(0,A.getNumberValidator)()),r.Factory.addGetterSetter(s,"angle",0,(0,A.getNumberValidator)()),r.Factory.addGetterSetter(s,"clockwise",!1),r.Factory.backCompat(s,{angleDeg:"angle",getAngleDeg:"getAngle",setAngleDeg:"setAngle"})},8859:(e,t,n)=>{var r="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=r&&o&&"function"==typeof o.get?o.get:null,A=r&&Map.prototype.forEach,a="function"==typeof Set&&Set.prototype,s=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=a&&s&&"function"==typeof s.get?s.get:null,c=a&&Set.prototype.forEach,u="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,p=Object.prototype.toString,g=Function.prototype.toString,m=String.prototype.match,v=String.prototype.slice,y=String.prototype.replace,w=String.prototype.toUpperCase,b=String.prototype.toLowerCase,B=RegExp.prototype.test,C=Array.prototype.concat,x=Array.prototype.join,S=Array.prototype.slice,E=Math.floor,F="function"==typeof BigInt?BigInt.prototype.valueOf:null,Q=Object.getOwnPropertySymbols,U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"==typeof Symbol.iterator,I="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,O=Object.prototype.propertyIsEnumerable,P=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function T(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||B.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-E(-e):E(e);if(r!==e){var o=String(r),i=v.call(t,o.length+1);return y.call(o,n,"$&_")+"."+y.call(y.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return y.call(t,n,"$&_")}var H=n(2634),L=H.custom,_=j(L)?L:null;function R(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function N(e){return y.call(String(e),/"/g,""")}function M(e){return!("[object Array]"!==V(e)||I&&"object"==typeof e&&I in e)}function D(e){return!("[object RegExp]"!==V(e)||I&&"object"==typeof e&&I in e)}function j(e){if(k)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!U)return!1;try{return U.call(e),!0}catch(e){}return!1}e.exports=function e(t,r,o,a){var s=r||{};if(K(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(K(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var p=!K(s,"customInspect")||s.customInspect;if("boolean"!=typeof p&&"symbol"!==p)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(K(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(K(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var w=s.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return W(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var B=String(t);return w?T(t,B):B}if("bigint"==typeof t){var E=String(t)+"n";return w?T(t,E):E}var Q=void 0===s.depth?5:s.depth;if(void 0===o&&(o=0),o>=Q&&Q>0&&"object"==typeof t)return M(t)?"[Array]":"[Object]";var L,G=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=x.call(Array(e.indent+1)," ")}return{base:n,prev:x.call(Array(t+1),n)}}(s,o);if(void 0===a)a=[];else if(z(a,t)>=0)return"[Circular]";function X(t,n,r){if(n&&(a=S.call(a)).push(n),r){var i={depth:s.depth};return K(s,"quoteStyle")&&(i.quoteStyle=s.quoteStyle),e(t,i,o+1,a)}return e(t,s,o+1,a)}if("function"==typeof t&&!D(t)){var ee=function(e){if(e.name)return e.name;var t=m.call(g.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),te=Z(t,X);return"[Function"+(ee?": "+ee:" (anonymous)")+"]"+(te.length>0?" { "+x.call(te,", ")+" }":"")}if(j(t)){var ne=k?y.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):U.call(t);return"object"!=typeof t||k?ne:$(ne)}if((L=t)&&"object"==typeof L&&("undefined"!=typeof HTMLElement&&L instanceof HTMLElement||"string"==typeof L.nodeName&&"function"==typeof L.getAttribute)){for(var re="<"+b.call(String(t.nodeName)),oe=t.attributes||[],ie=0;ie",t.childNodes&&t.childNodes.length&&(re+="..."),re+""+b.call(String(t.nodeName))+">"}if(M(t)){if(0===t.length)return"[]";var Ae=Z(t,X);return G&&!function(e){for(var t=0;t=0)return!1;return!0}(Ae)?"["+q(Ae,G)+"]":"[ "+x.call(Ae,", ")+" ]"}if(function(e){return!("[object Error]"!==V(e)||I&&"object"==typeof e&&I in e)}(t)){var ae=Z(t,X);return"cause"in Error.prototype||!("cause"in t)||O.call(t,"cause")?0===ae.length?"["+String(t)+"]":"{ ["+String(t)+"] "+x.call(ae,", ")+" }":"{ ["+String(t)+"] "+x.call(C.call("[cause]: "+X(t.cause),ae),", ")+" }"}if("object"==typeof t&&p){if(_&&"function"==typeof t[_]&&H)return H(t,{depth:Q-o});if("symbol"!==p&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{l.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var se=[];return A&&A.call(t,(function(e,n){se.push(X(n,t,!0)+" => "+X(e,t))})),J("Map",i.call(t),se,G)}if(function(e){if(!l||!e||"object"!=typeof e)return!1;try{l.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var le=[];return c&&c.call(t,(function(e){le.push(X(e,t))})),J("Set",l.call(t),le,G)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e,u);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Y("WeakMap");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{u.call(e,u)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Y("WeakSet");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{return f.call(e),!0}catch(e){}return!1}(t))return Y("WeakRef");if(function(e){return!("[object Number]"!==V(e)||I&&"object"==typeof e&&I in e)}(t))return $(X(Number(t)));if(function(e){if(!e||"object"!=typeof e||!F)return!1;try{return F.call(e),!0}catch(e){}return!1}(t))return $(X(F.call(t)));if(function(e){return!("[object Boolean]"!==V(e)||I&&"object"==typeof e&&I in e)}(t))return $(h.call(t));if(function(e){return!("[object String]"!==V(e)||I&&"object"==typeof e&&I in e)}(t))return $(X(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==n.g&&t===n.g)return"{ [object globalThis] }";if(!function(e){return!("[object Date]"!==V(e)||I&&"object"==typeof e&&I in e)}(t)&&!D(t)){var ce=Z(t,X),ue=P?P(t)===Object.prototype:t instanceof Object||t.constructor===Object,de=t instanceof Object?"":"null prototype",fe=!ue&&I&&Object(t)===t&&I in t?v.call(V(t),8,-1):de?"Object":"",he=(ue||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(fe||de?"["+x.call(C.call([],fe||[],de||[]),": ")+"] ":"");return 0===ce.length?he+"{}":G?he+"{"+q(ce,G)+"}":he+"{ "+x.call(ce,", ")+" }"}return String(t)};var G=Object.prototype.hasOwnProperty||function(e){return e in this};function K(e,t){return G.call(e,t)}function V(e){return p.call(e)}function z(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;nt.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return W(v.call(e,0,t.maxStringLength),t)+r}return R(y.call(y.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,X),"single",t)}function X(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function $(e){return"Object("+e+")"}function Y(e){return e+" { ? }"}function J(e,t,n,r){return e+" ("+t+") {"+(r?q(n,r):x.call(n,", "))+"}"}function q(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+x.call(e,","+n)+"\n"+t.prev}function Z(e,t){var n=M(e),r=[];if(n){r.length=e.length;for(var o=0;o{"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC3986";e.exports={default:r,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:r}},5373:(e,t,n)=>{"use strict";var r=n(8636),o=n(2642),i=n(4765);e.exports={formats:i,parse:o,stringify:r}},2642:(e,t,n)=>{"use strict";var r=n(7720),o=Object.prototype.hasOwnProperty,i=Array.isArray,A={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},a=function(e){return e.replace(/(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},s=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},l=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,A=/(\[[^[\]]*])/g,a=n.depth>0&&/(\[[^[\]]*])/.exec(i),l=a?i.slice(0,a.index):i,c=[];if(l){if(!n.plainObjects&&o.call(Object.prototype,l)&&!n.allowPrototypes)return;c.push(l)}for(var u=0;n.depth>0&&null!==(a=A.exec(i))&&u=0;--i){var A,a=e[i];if("[]"===a&&n.parseArrays)A=n.allowEmptyArrays&&(""===o||n.strictNullHandling&&null===o)?[]:[].concat(o);else{A=n.plainObjects?Object.create(null):{};var l="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,c=n.decodeDotInKeys?l.replace(/%2E/g,"."):l,u=parseInt(c,10);n.parseArrays||""!==c?!isNaN(u)&&a!==c&&String(u)===c&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(A=[])[u]=o:"__proto__"!==c&&(A[c]=o):A={0:o}}o=A}return o}(c,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return A;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?A.charset:e.charset,n=void 0===e.duplicates?A.duplicates:e.duplicates;if("combine"!==n&&"first"!==n&&"last"!==n)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||A.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:A.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:A.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:A.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:A.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:A.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:A.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:A.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:A.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:A.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:A.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:A.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:A.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:A.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:A.strictDepth,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:A.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var c="string"==typeof e?function(e,t){var n={__proto__:null},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;l=l.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var c,u=t.parameterLimit===1/0?void 0:t.parameterLimit,d=l.split(t.delimiter,u),f=-1,h=t.charset;if(t.charsetSentinel)for(c=0;c-1&&(g=i(g)?[g]:g);var w=o.call(n,p);w&&"combine"===t.duplicates?n[p]=r.combine(n[p],g):w&&"last"!==t.duplicates||(n[p]=g)}return n}(e,n):e,u=n.plainObjects?Object.create(null):{},d=Object.keys(c),f=0;f{"use strict";var r=n(920),o=n(7720),i=n(4765),A=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},s=Array.isArray,l=Array.prototype.push,c=function(e,t){l.apply(e,s(t)?t:[t])},u=Date.prototype.toISOString,d=i.default,f={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:o.encode,encodeValuesOnly:!1,format:d,formatter:i.formatters[d],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},h={},p=function e(t,n,i,A,a,l,u,d,p,g,m,v,y,w,b,B,C,x){for(var S,E=t,F=x,Q=0,U=!1;void 0!==(F=F.get(h))&&!U;){var k=F.get(t);if(Q+=1,void 0!==k){if(k===Q)throw new RangeError("Cyclic object value");U=!0}void 0===F.get(h)&&(Q=0)}if("function"==typeof g?E=g(n,E):E instanceof Date?E=y(E):"comma"===i&&s(E)&&(E=o.maybeMap(E,(function(e){return e instanceof Date?y(e):e}))),null===E){if(l)return p&&!B?p(n,f.encoder,C,"key",w):n;E=""}if("string"==typeof(S=E)||"number"==typeof S||"boolean"==typeof S||"symbol"==typeof S||"bigint"==typeof S||o.isBuffer(E))return p?[b(B?n:p(n,f.encoder,C,"key",w))+"="+b(p(E,f.encoder,C,"value",w))]:[b(n)+"="+b(String(E))];var I,O=[];if(void 0===E)return O;if("comma"===i&&s(E))B&&p&&(E=o.maybeMap(E,p)),I=[{value:E.length>0?E.join(",")||null:void 0}];else if(s(g))I=g;else{var P=Object.keys(E);I=m?P.sort(m):P}var T=d?n.replace(/\./g,"%2E"):n,H=A&&s(E)&&1===E.length?T+"[]":T;if(a&&s(E)&&0===E.length)return H+"[]";for(var L=0;L0?w+y:""}},7720:(e,t,n)=>{"use strict";var r=n(4765),o=Object.prototype.hasOwnProperty,i=Array.isArray,A=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o=s?a.slice(c,c+s):a,d=[],f=0;f=48&&h<=57||h>=65&&h<=90||h>=97&&h<=122||i===r.RFC1738&&(40===h||41===h)?d[d.length]=u.charAt(f):h<128?d[d.length]=A[h]:h<2048?d[d.length]=A[192|h>>6]+A[128|63&h]:h<55296||h>=57344?d[d.length]=A[224|h>>12]+A[128|h>>6&63]+A[128|63&h]:(f+=1,h=65536+((1023&h)<<10|1023&u.charCodeAt(f)),d[d.length]=A[240|h>>18]+A[128|h>>12&63]+A[128|h>>6&63]+A[128|63&h])}l+=d.join("")}return l},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var n=[],r=0;r{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy");Symbol.for("react.offscreen");function p(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case A:case i:case u:case d:return e;default:switch(e=e&&e.$$typeof){case l:case s:case c:case h:case f:case a:return e;default:return t}}case r:return t}}}Symbol.for("react.module.reference"),t.ForwardRef=c,t.isFragment=function(e){return p(e)===o},t.isMemo=function(e){return p(e)===f}},6351:(e,t,n)=>{"use strict";e.exports=n(7787)},2551:(e,t,n)=>{"use strict";var r=n(6540),o=n(9982);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nt}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!u.call(h,e)||!u.call(f,e)&&(d.test(e)?h[e]=!0:(f[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(m,v);g[t]=new p(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(m,v);g[t]=new p(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(m,v);g[t]=new p(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new p(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new p("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new p(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,b=Symbol.for("react.element"),B=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),E=Symbol.for("react.provider"),F=Symbol.for("react.context"),Q=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),O=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var P=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var T=Symbol.iterator;function H(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=T&&e[T]||e["@@iterator"])?e:null}var L,_=Object.assign;function R(e){if(void 0===L)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);L=t&&t[1]||""}return"\n"+L+e}var N=!1;function M(e,t){if(!e||N)return"";N=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=r.stack.split("\n"),A=o.length-1,a=i.length-1;1<=A&&0<=a&&o[A]!==i[a];)a--;for(;1<=A&&0<=a;A--,a--)if(o[A]!==i[a]){if(1!==A||1!==a)do{if(A--,0>--a||o[A]!==i[a]){var s="\n"+o[A].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}}while(1<=A&&0<=a);break}}}finally{N=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?R(e):""}function D(e){switch(e.tag){case 5:return R(e.type);case 16:return R("Lazy");case 13:return R("Suspense");case 19:return R("SuspenseList");case 0:case 2:case 15:return M(e.type,!1);case 11:return M(e.type.render,!1);case 1:return M(e.type,!0);default:return""}}function j(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case C:return"Fragment";case B:return"Portal";case S:return"Profiler";case x:return"StrictMode";case U:return"Suspense";case k:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case F:return(e.displayName||"Context")+".Consumer";case E:return(e._context.displayName||"Context")+".Provider";case Q:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case I:return null!==(t=e.displayName||null)?t:j(e.type)||"Memo";case O:t=e._payload,e=e._init;try{return j(e(t))}catch(e){}}return null}function G(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return j(t);case 8:return t===x?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function K(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function V(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function z(e){e._valueTracker||(e._valueTracker=function(e){var t=V(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function W(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=V(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function X(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function $(e,t){var n=t.checked;return _({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Y(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=K(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function J(e,t){null!=(t=t.checked)&&y(e,"checked",t,!1)}function q(e,t){J(e,t);var n=K(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,K(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Z(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&X(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=le.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function de(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var fe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function pe(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||fe.hasOwnProperty(e)&&fe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=pe(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(fe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fe[t]=fe[e]}))}));var me=_({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ve(e,t){if(t){if(me[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62))}}function ye(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function be(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Be=null,Ce=null,xe=null;function Se(e){if(e=wo(e)){if("function"!=typeof Be)throw Error(i(280));var t=e.stateNode;t&&(t=Bo(t),Be(e.stateNode,e.type,t))}}function Ee(e){Ce?xe?xe.push(e):xe=[e]:Ce=e}function Fe(){if(Ce){var e=Ce,t=xe;if(xe=Ce=null,Se(e),t)for(e=0;e>>=0)?32:31-(at(e)/st|0)|0},at=Math.log,st=Math.LN2,lt=64,ct=4194304;function ut(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,A=268435455&n;if(0!==A){var a=A&~o;0!==a?r=ut(a):0!=(i&=A)&&(r=ut(i))}else 0!=(A=n&~o)?r=ut(A):0!==i&&(r=ut(i));if(0===r)return 0;if(0!==t&&t!==r&&!(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&4194240&i))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function mt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-At(t)]=n}function vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-At(n),o=1<=Hn),Rn=String.fromCharCode(32),Nn=!1;function Mn(e,t){switch(e){case"keyup":return-1!==Pn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Dn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var jn=!1,Gn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Kn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Gn[e.type]:"textarea"===t}function Vn(e,t,n,r){Ee(r),0<(t=zr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var zn=null,Wn=null;function Xn(e){Rr(e,0)}function $n(e){if(W(bo(e)))return e}function Yn(e,t){if("change"===e)return t}var Jn=!1;if(c){var qn;if(c){var Zn="oninput"in document;if(!Zn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Zn="function"==typeof er.oninput}qn=Zn}else qn=!1;Jn=qn&&(!document.documentMode||9=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=lr(r)}}function ur(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?ur(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dr(){for(var e=window,t=X();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=X((e=t.contentWindow).document)}return t}function fr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=dr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ur(n.ownerDocument.documentElement,n)){if(null!==r&&fr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=cr(n,i);var A=cr(n,r);o&&A&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==A.node||e.focusOffset!==A.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(A.node,A.offset)):(t.setEnd(A.node,A.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n=document.documentMode,gr=null,mr=null,vr=null,yr=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;yr||null==gr||gr!==X(r)||(r="selectionStart"in(r=gr)&&fr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&sr(vr,r)||(vr=r,0<(r=zr(mr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function br(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Br={animationend:br("Animation","AnimationEnd"),animationiteration:br("Animation","AnimationIteration"),animationstart:br("Animation","AnimationStart"),transitionend:br("Transition","TransitionEnd")},Cr={},xr={};function Sr(e){if(Cr[e])return Cr[e];if(!Br[e])return e;var t,n=Br[e];for(t in n)if(n.hasOwnProperty(t)&&t in xr)return Cr[e]=n[t];return e}c&&(xr=document.createElement("div").style,"AnimationEvent"in window||(delete Br.animationend.animation,delete Br.animationiteration.animation,delete Br.animationstart.animation),"TransitionEvent"in window||delete Br.transitionend.transition);var Er=Sr("animationend"),Fr=Sr("animationiteration"),Qr=Sr("animationstart"),Ur=Sr("transitionend"),kr=new Map,Ir="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Or(e,t){kr.set(e,t),s(t,[e])}for(var Pr=0;Prxo||(e.current=Co[xo],Co[xo]=null,xo--)}function Fo(e,t){xo++,Co[xo]=e.current,e.current=t}var Qo={},Uo=So(Qo),ko=So(!1),Io=Qo;function Oo(e,t){var n=e.type.contextTypes;if(!n)return Qo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Po(e){return null!=e.childContextTypes}function To(){Eo(ko),Eo(Uo)}function Ho(e,t,n){if(Uo.current!==Qo)throw Error(i(168));Fo(Uo,t),Fo(ko,n)}function Lo(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,G(e)||"Unknown",o));return _({},n,r)}function _o(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Qo,Io=Uo.current,Fo(Uo,e),Fo(ko,ko.current),!0}function Ro(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Lo(e,t,Io),r.__reactInternalMemoizedMergedChildContext=e,Eo(ko),Eo(Uo),Fo(Uo,e)):Eo(ko),Fo(ko,n)}var No=null,Mo=!1,Do=!1;function jo(e){null===No?No=[e]:No.push(e)}function Go(){if(!Do&&null!==No){Do=!0;var e=0,t=yt;try{var n=No;for(yt=1;e>=A,o-=A,Jo=1<<32-At(t)+o|n<p?(g=u,u=null):g=u.sibling;var m=f(o,u,a[p],s);if(null===m){null===u&&(u=g);break}e&&u&&null===m.alternate&&t(o,u),i=A(m,i,p),null===c?l=m:c.sibling=m,c=m,u=g}if(p===a.length)return n(o,u),ii&&Zo(o,p),l;if(null===u){for(;pg?(m=p,p=null):m=p.sibling;var y=f(o,p,v.value,l);if(null===y){null===p&&(p=m);break}e&&p&&null===y.alternate&&t(o,p),a=A(y,a,g),null===u?c=y:u.sibling=y,u=y,p=m}if(v.done)return n(o,p),ii&&Zo(o,g),c;if(null===p){for(;!v.done;g++,v=s.next())null!==(v=d(o,v.value,l))&&(a=A(v,a,g),null===u?c=v:u.sibling=v,u=v);return ii&&Zo(o,g),c}for(p=r(o,p);!v.done;g++,v=s.next())null!==(v=h(p,o,g,v.value,l))&&(e&&null!==v.alternate&&p.delete(null===v.key?g:v.key),a=A(v,a,g),null===u?c=v:u.sibling=v,u=v);return e&&p.forEach((function(e){return t(o,e)})),ii&&Zo(o,g),c}return function e(r,i,A,s){if("object"==typeof A&&null!==A&&A.type===C&&null===A.key&&(A=A.props.children),"object"==typeof A&&null!==A){switch(A.$$typeof){case b:e:{for(var l=A.key,c=i;null!==c;){if(c.key===l){if((l=A.type)===C){if(7===c.tag){n(r,c.sibling),(i=o(c,A.props.children)).return=r,r=i;break e}}else if(c.elementType===l||"object"==typeof l&&null!==l&&l.$$typeof===O&&yi(l)===c.type){n(r,c.sibling),(i=o(c,A.props)).ref=mi(r,c,A),i.return=r,r=i;break e}n(r,c);break}t(r,c),c=c.sibling}A.type===C?((i=Hl(A.props.children,r.mode,s,A.key)).return=r,r=i):((s=Tl(A.type,A.key,A.props,null,r.mode,s)).ref=mi(r,i,A),s.return=r,r=s)}return a(r);case B:e:{for(c=A.key;null!==i;){if(i.key===c){if(4===i.tag&&i.stateNode.containerInfo===A.containerInfo&&i.stateNode.implementation===A.implementation){n(r,i.sibling),(i=o(i,A.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Rl(A,r.mode,s)).return=r,r=i}return a(r);case O:return e(r,i,(c=A._init)(A._payload),s)}if(te(A))return p(r,i,A,s);if(H(A))return g(r,i,A,s);vi(r,A)}return"string"==typeof A&&""!==A||"number"==typeof A?(A=""+A,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,A)).return=r,r=i):(n(r,i),(i=_l(A,r.mode,s)).return=r,r=i),a(r)):n(r,i)}}var bi=wi(!0),Bi=wi(!1),Ci=So(null),xi=null,Si=null,Ei=null;function Fi(){Ei=Si=xi=null}function Qi(e){var t=Ci.current;Eo(Ci),e._currentValue=t}function Ui(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ki(e,t){xi=e,Ei=Si=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(ya=!0),e.firstContext=null)}function Ii(e){var t=e._currentValue;if(Ei!==e)if(e={context:e,memoizedValue:t,next:null},null===Si){if(null===xi)throw Error(i(308));Si=e,xi.dependencies={lanes:0,firstContext:e}}else Si=Si.next=e;return t}var Oi=null;function Pi(e){null===Oi?Oi=[e]:Oi.push(e)}function Ti(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Pi(t)):(n.next=o.next,o.next=n),t.interleaved=n,Hi(e,r)}function Hi(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Li=!1;function _i(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ri(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ni(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Mi(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Qs){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Hi(e,n)}return null===(o=r.interleaved)?(t.next=t,Pi(r)):(t.next=o.next,o.next=t),r.interleaved=t,Hi(e,n)}function Di(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}function ji(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var A={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=A:i=i.next=A,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Gi(e,t,n,r){var o=e.updateQueue;Li=!1;var i=o.firstBaseUpdate,A=o.lastBaseUpdate,a=o.shared.pending;if(null!==a){o.shared.pending=null;var s=a,l=s.next;s.next=null,null===A?i=l:A.next=l,A=s;var c=e.alternate;null!==c&&(a=(c=c.updateQueue).lastBaseUpdate)!==A&&(null===a?c.firstBaseUpdate=l:a.next=l,c.lastBaseUpdate=s)}if(null!==i){var u=o.baseState;for(A=0,c=l=s=null,a=i;;){var d=a.lane,f=a.eventTime;if((r&d)===d){null!==c&&(c=c.next={eventTime:f,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var h=e,p=a;switch(d=t,f=n,p.tag){case 1:if("function"==typeof(h=p.payload)){u=h.call(f,u,d);break e}u=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(d="function"==typeof(h=p.payload)?h.call(f,u,d):h))break e;u=_({},u,d);break e;case 2:Li=!0}}null!==a.callback&&0!==a.lane&&(e.flags|=64,null===(d=o.effects)?o.effects=[a]:d.push(a))}else f={eventTime:f,lane:d,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===c?(l=c=f,s=u):c=c.next=f,A|=d;if(null===(a=a.next)){if(null===(a=o.shared.pending))break;a=(d=a).next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}if(null===c&&(s=u),o.baseState=s,o.firstBaseUpdate=l,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{A|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Ls|=A,e.lanes=A,e.memoizedState=u}}function Ki(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;tn?n:4,e(!0);var r=iA.transition;iA.transition={};try{e(!1),t()}finally{yt=n,iA.transition=r}}function zA(){return yA().memoizedState}function WA(e,t,n){var r=tl(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},$A(e)?YA(t,n):null!==(n=Ti(e,t,n,r))&&(nl(n,e,r,el()),JA(n,t,r))}function XA(e,t,n){var r=tl(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if($A(e))YA(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var A=t.lastRenderedState,a=i(A,n);if(o.hasEagerState=!0,o.eagerState=a,ar(a,A)){var s=t.interleaved;return null===s?(o.next=o,Pi(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=Ti(e,t,o,r))&&(nl(n,e,r,o=el()),JA(n,t,r))}}function $A(e){var t=e.alternate;return e===aA||null!==t&&t===aA}function YA(e,t){uA=cA=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function JA(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}var qA={readContext:Ii,useCallback:hA,useContext:hA,useEffect:hA,useImperativeHandle:hA,useInsertionEffect:hA,useLayoutEffect:hA,useMemo:hA,useReducer:hA,useRef:hA,useState:hA,useDebugValue:hA,useDeferredValue:hA,useTransition:hA,useMutableSource:hA,useSyncExternalStore:hA,useId:hA,unstable_isNewReconciler:!1},ZA={readContext:Ii,useCallback:function(e,t){return vA().memoizedState=[e,void 0===t?null:t],e},useContext:Ii,useEffect:HA,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,PA(4194308,4,NA.bind(null,t,e),n)},useLayoutEffect:function(e,t){return PA(4194308,4,e,t)},useInsertionEffect:function(e,t){return PA(4,2,e,t)},useMemo:function(e,t){var n=vA();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=vA();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=WA.bind(null,aA,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},vA().memoizedState=e},useState:kA,useDebugValue:DA,useDeferredValue:function(e){return vA().memoizedState=e},useTransition:function(){var e=kA(!1),t=e[0];return e=VA.bind(null,e[1]),vA().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=aA,o=vA();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Us)throw Error(i(349));30&AA||SA(r,t,n)}o.memoizedState=n;var A={value:n,getSnapshot:t};return o.queue=A,HA(FA.bind(null,r,A,e),[e]),r.flags|=2048,IA(9,EA.bind(null,r,A,n,t),void 0,null),n},useId:function(){var e=vA(),t=Us.identifierPrefix;if(ii){var n=qo;t=":"+t+"R"+(n=(Jo&~(1<<32-At(Jo)-1)).toString(32)+n),0<(n=dA++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=fA++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ea={readContext:Ii,useCallback:jA,useContext:Ii,useEffect:LA,useImperativeHandle:MA,useInsertionEffect:_A,useLayoutEffect:RA,useMemo:GA,useReducer:bA,useRef:OA,useState:function(){return bA(wA)},useDebugValue:DA,useDeferredValue:function(e){return KA(yA(),sA.memoizedState,e)},useTransition:function(){return[bA(wA)[0],yA().memoizedState]},useMutableSource:CA,useSyncExternalStore:xA,useId:zA,unstable_isNewReconciler:!1},ta={readContext:Ii,useCallback:jA,useContext:Ii,useEffect:LA,useImperativeHandle:MA,useInsertionEffect:_A,useLayoutEffect:RA,useMemo:GA,useReducer:BA,useRef:OA,useState:function(){return BA(wA)},useDebugValue:DA,useDeferredValue:function(e){var t=yA();return null===sA?t.memoizedState=e:KA(t,sA.memoizedState,e)},useTransition:function(){return[BA(wA)[0],yA().memoizedState]},useMutableSource:CA,useSyncExternalStore:xA,useId:zA,unstable_isNewReconciler:!1};function na(e,t){if(e&&e.defaultProps){for(var n in t=_({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function ra(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:_({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var oa={isMounted:function(e){return!!(e=e._reactInternals)&&je(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=el(),o=tl(e),i=Ni(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=Mi(e,i,o))&&(nl(t,e,o,r),Di(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=el(),o=tl(e),i=Ni(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=Mi(e,i,o))&&(nl(t,e,o,r),Di(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=el(),r=tl(e),o=Ni(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Mi(e,o,r))&&(nl(t,e,r,n),Di(t,e,r))}};function ia(e,t,n,r,o,i,A){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,A):!(t.prototype&&t.prototype.isPureReactComponent&&sr(n,r)&&sr(o,i))}function Aa(e,t,n){var r=!1,o=Qo,i=t.contextType;return"object"==typeof i&&null!==i?i=Ii(i):(o=Po(t)?Io:Uo.current,i=(r=null!=(r=t.contextTypes))?Oo(e,o):Qo),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=oa,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function aa(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&oa.enqueueReplaceState(t,t.state,null)}function sa(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},_i(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=Ii(i):(i=Po(t)?Io:Uo.current,o.context=Oo(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(ra(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&oa.enqueueReplaceState(o,o.state,null),Gi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function la(e,t){try{var n="",r=t;do{n+=D(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function ca(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ua(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var da="function"==typeof WeakMap?WeakMap:Map;function fa(e,t,n){(n=Ni(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ks||(Ks=!0,Vs=r),ua(0,t)},n}function ha(e,t,n){(n=Ni(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){ua(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){ua(0,t),"function"!=typeof r&&(null===zs?zs=new Set([this]):zs.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function pa(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new da;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Sl.bind(null,e,t,n),t.then(e,e))}function ga(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ma(e,t,n,r,o){return 1&e.mode?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Ni(-1,1)).tag=2,Mi(n,t,1))),n.lanes|=1),e)}var va=w.ReactCurrentOwner,ya=!1;function wa(e,t,n,r){t.child=null===e?Bi(t,null,n,r):bi(t,e.child,n,r)}function ba(e,t,n,r,o){n=n.render;var i=t.ref;return ki(t,o),r=gA(e,t,n,r,i,o),n=mA(),null===e||ya?(ii&&n&&ti(t),t.flags|=1,wa(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ka(e,t,o))}function Ba(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||Ol(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Tl(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Ca(e,t,i,r,o))}if(i=e.child,!(e.lanes&o)){var A=i.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(A,r)&&e.ref===t.ref)return Ka(e,t,o)}return t.flags|=1,(e=Pl(i,r)).ref=t.ref,e.return=t,t.child=e}function Ca(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(sr(i,r)&&e.ref===t.ref){if(ya=!1,t.pendingProps=r=i,!(e.lanes&o))return t.lanes=e.lanes,Ka(e,t,o);131072&e.flags&&(ya=!0)}}return Ea(e,t,n,r,o)}function xa(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Fo(Ps,Os),Os|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Fo(Ps,Os),Os|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Fo(Ps,Os),Os|=n;else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Fo(Ps,Os),Os|=r;return wa(e,t,o,n),t.child}function Sa(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ea(e,t,n,r,o){var i=Po(n)?Io:Uo.current;return i=Oo(t,i),ki(t,o),n=gA(e,t,n,r,i,o),r=mA(),null===e||ya?(ii&&r&&ti(t),t.flags|=1,wa(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ka(e,t,o))}function Fa(e,t,n,r,o){if(Po(n)){var i=!0;_o(t)}else i=!1;if(ki(t,o),null===t.stateNode)Ga(e,t),Aa(t,n,r),sa(t,n,r,o),r=!0;else if(null===e){var A=t.stateNode,a=t.memoizedProps;A.props=a;var s=A.context,l=n.contextType;l="object"==typeof l&&null!==l?Ii(l):Oo(t,l=Po(n)?Io:Uo.current);var c=n.getDerivedStateFromProps,u="function"==typeof c||"function"==typeof A.getSnapshotBeforeUpdate;u||"function"!=typeof A.UNSAFE_componentWillReceiveProps&&"function"!=typeof A.componentWillReceiveProps||(a!==r||s!==l)&&aa(t,A,r,l),Li=!1;var d=t.memoizedState;A.state=d,Gi(t,r,A,o),s=t.memoizedState,a!==r||d!==s||ko.current||Li?("function"==typeof c&&(ra(t,n,c,r),s=t.memoizedState),(a=Li||ia(t,n,a,r,d,s,l))?(u||"function"!=typeof A.UNSAFE_componentWillMount&&"function"!=typeof A.componentWillMount||("function"==typeof A.componentWillMount&&A.componentWillMount(),"function"==typeof A.UNSAFE_componentWillMount&&A.UNSAFE_componentWillMount()),"function"==typeof A.componentDidMount&&(t.flags|=4194308)):("function"==typeof A.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),A.props=r,A.state=s,A.context=l,r=a):("function"==typeof A.componentDidMount&&(t.flags|=4194308),r=!1)}else{A=t.stateNode,Ri(e,t),a=t.memoizedProps,l=t.type===t.elementType?a:na(t.type,a),A.props=l,u=t.pendingProps,d=A.context,s="object"==typeof(s=n.contextType)&&null!==s?Ii(s):Oo(t,s=Po(n)?Io:Uo.current);var f=n.getDerivedStateFromProps;(c="function"==typeof f||"function"==typeof A.getSnapshotBeforeUpdate)||"function"!=typeof A.UNSAFE_componentWillReceiveProps&&"function"!=typeof A.componentWillReceiveProps||(a!==u||d!==s)&&aa(t,A,r,s),Li=!1,d=t.memoizedState,A.state=d,Gi(t,r,A,o);var h=t.memoizedState;a!==u||d!==h||ko.current||Li?("function"==typeof f&&(ra(t,n,f,r),h=t.memoizedState),(l=Li||ia(t,n,l,r,d,h,s)||!1)?(c||"function"!=typeof A.UNSAFE_componentWillUpdate&&"function"!=typeof A.componentWillUpdate||("function"==typeof A.componentWillUpdate&&A.componentWillUpdate(r,h,s),"function"==typeof A.UNSAFE_componentWillUpdate&&A.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof A.componentDidUpdate&&(t.flags|=4),"function"==typeof A.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof A.componentDidUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof A.getSnapshotBeforeUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),A.props=r,A.state=h,A.context=s,r=l):("function"!=typeof A.componentDidUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof A.getSnapshotBeforeUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Qa(e,t,n,r,i,o)}function Qa(e,t,n,r,o,i){Sa(e,t);var A=!!(128&t.flags);if(!r&&!A)return o&&Ro(t,n,!1),Ka(e,t,i);r=t.stateNode,va.current=t;var a=A&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&A?(t.child=bi(t,e.child,null,i),t.child=bi(t,null,a,i)):wa(e,t,a,i),t.memoizedState=r.state,o&&Ro(t,n,!0),t.child}function Ua(e){var t=e.stateNode;t.pendingContext?Ho(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ho(0,t.context,!1),Yi(e,t.containerInfo)}function ka(e,t,n,r,o){return hi(),pi(o),t.flags|=256,wa(e,t,n,r),t.child}var Ia,Oa,Pa,Ta,Ha={dehydrated:null,treeContext:null,retryLane:0};function La(e){return{baseLanes:e,cachePool:null,transitions:null}}function _a(e,t,n){var r,o=t.pendingProps,A=eA.current,a=!1,s=!!(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&!!(2&A)),r?(a=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(A|=1),Fo(eA,1&A),null===e)return ci(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=o.children,e=o.fallback,a?(o=t.mode,a=t.child,s={mode:"hidden",children:s},1&o||null===a?a=Ll(s,o,0,null):(a.childLanes=0,a.pendingProps=s),e=Hl(e,o,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=La(n),t.memoizedState=Ha,e):Ra(t,s));if(null!==(A=e.memoizedState)&&null!==(r=A.dehydrated))return function(e,t,n,r,o,A,a){if(n)return 256&t.flags?(t.flags&=-257,Na(e,t,a,r=ca(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(A=r.fallback,o=t.mode,r=Ll({mode:"visible",children:r.children},o,0,null),(A=Hl(A,o,a,null)).flags|=2,r.return=t,A.return=t,r.sibling=A,t.child=r,1&t.mode&&bi(t,e.child,null,a),t.child.memoizedState=La(a),t.memoizedState=Ha,A);if(!(1&t.mode))return Na(e,t,a,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var s=r.dgst;return r=s,Na(e,t,a,r=ca(A=Error(i(419)),r,void 0))}if(s=!!(a&e.childLanes),ya||s){if(null!==(r=Us)){switch(a&-a){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=o&(r.suspendedLanes|a)?0:o)&&o!==A.retryLane&&(A.retryLane=o,Hi(e,o),nl(r,e,o,-1))}return pl(),Na(e,t,a,r=ca(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Fl.bind(null,e),o._reactRetry=t,null):(e=A.treeContext,oi=lo(o.nextSibling),ri=t,ii=!0,Ai=null,null!==e&&(Xo[$o++]=Jo,Xo[$o++]=qo,Xo[$o++]=Yo,Jo=e.id,qo=e.overflow,Yo=t),(t=Ra(t,r.children)).flags|=4096,t)}(e,t,s,o,r,A,n);if(a){a=o.fallback,s=t.mode,r=(A=e.child).sibling;var l={mode:"hidden",children:o.children};return 1&s||t.child===A?(o=Pl(A,l)).subtreeFlags=14680064&A.subtreeFlags:((o=t.child).childLanes=0,o.pendingProps=l,t.deletions=null),null!==r?a=Pl(r,a):(a=Hl(a,s,n,null)).flags|=2,a.return=t,o.return=t,o.sibling=a,t.child=o,o=a,a=t.child,s=null===(s=e.child.memoizedState)?La(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},a.memoizedState=s,a.childLanes=e.childLanes&~n,t.memoizedState=Ha,o}return e=(a=e.child).sibling,o=Pl(a,{mode:"visible",children:o.children}),!(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Ra(e,t){return(t=Ll({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Na(e,t,n,r){return null!==r&&pi(r),bi(t,e.child,null,n),(e=Ra(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ma(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ui(e.return,t,n)}function Da(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function ja(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(wa(e,t,r.children,n),2&(r=eA.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ma(e,n,t);else if(19===e.tag)Ma(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Fo(eA,r),1&t.mode)switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===tA(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Da(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===tA(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Da(t,!0,n,null,i);break;case"together":Da(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Ga(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ka(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ls|=t.lanes,!(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Pl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Pl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Va(e,t){if(!ii)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function za(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Wa(e,t,n){var r=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return za(t),null;case 1:case 17:return Po(t.type)&&To(),za(t),null;case 3:return r=t.stateNode,Ji(),Eo(ko),Eo(Uo),rA(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(di(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==Ai&&(Al(Ai),Ai=null))),Oa(e,t),za(t),null;case 5:Zi(t);var o=$i(Xi.current);if(n=t.type,null!==e&&null!=t.stateNode)Pa(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return za(t),null}if(e=$i(zi.current),di(t)){r=t.stateNode,n=t.type;var A=t.memoizedProps;switch(r[fo]=t,r[ho]=A,e=!!(1&t.mode),n){case"dialog":Nr("cancel",r),Nr("close",r);break;case"iframe":case"object":case"embed":Nr("load",r);break;case"video":case"audio":for(o=0;o<\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[fo]=t,e[ho]=r,Ia(e,t,!1,!1),t.stateNode=e;e:{switch(s=ye(n,r),n){case"dialog":Nr("cancel",e),Nr("close",e),o=r;break;case"iframe":case"object":case"embed":Nr("load",e),o=r;break;case"video":case"audio":for(o=0;ojs&&(t.flags|=128,r=!0,Va(A,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=tA(s))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Va(A,!0),null===A.tail&&"hidden"===A.tailMode&&!s.alternate&&!ii)return za(t),null}else 2*Je()-A.renderingStartTime>js&&1073741824!==n&&(t.flags|=128,r=!0,Va(A,!1),t.lanes=4194304);A.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=A.last)?n.sibling=s:t.child=s,A.last=s)}return null!==A.tail?(t=A.tail,A.rendering=t,A.tail=t.sibling,A.renderingStartTime=Je(),t.sibling=null,n=eA.current,Fo(eA,r?1&n|2:1&n),t):(za(t),null);case 22:case 23:return ul(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&Os)&&(za(t),6&t.subtreeFlags&&(t.flags|=8192)):za(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Xa(e,t){switch(ni(t),t.tag){case 1:return Po(t.type)&&To(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Ji(),Eo(ko),Eo(Uo),rA(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Zi(t),null;case 13:if(Eo(eA),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));hi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Eo(eA),null;case 4:return Ji(),null;case 10:return Qi(t.type._context),null;case 22:case 23:return ul(),null;default:return null}}Ia=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Oa=function(){},Pa=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,$i(zi.current);var i,A=null;switch(n){case"input":o=$(e,o),r=$(e,r),A=[];break;case"select":o=_({},o,{value:void 0}),r=_({},r,{value:void 0}),A=[];break;case"textarea":o=re(e,o),r=re(e,r),A=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Zr)}for(c in ve(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var s=o[c];for(i in s)s.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(a.hasOwnProperty(c)?A||(A=[]):(A=A||[]).push(c,null));for(c in r){var l=r[c];if(s=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&l!==s&&(null!=l||null!=s))if("style"===c)if(s){for(i in s)!s.hasOwnProperty(i)||l&&l.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in l)l.hasOwnProperty(i)&&s[i]!==l[i]&&(n||(n={}),n[i]=l[i])}else n||(A||(A=[]),A.push(c,n)),n=l;else"dangerouslySetInnerHTML"===c?(l=l?l.__html:void 0,s=s?s.__html:void 0,null!=l&&s!==l&&(A=A||[]).push(c,l)):"children"===c?"string"!=typeof l&&"number"!=typeof l||(A=A||[]).push(c,""+l):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(a.hasOwnProperty(c)?(null!=l&&"onScroll"===c&&Nr("scroll",e),A||s===l||(A=[])):(A=A||[]).push(c,l))}n&&(A=A||[]).push("style",n);var c=A;(t.updateQueue=c)&&(t.flags|=4)}},Ta=function(e,t,n,r){n!==r&&(t.flags|=4)};var $a=!1,Ya=!1,Ja="function"==typeof WeakSet?WeakSet:Set,qa=null;function Za(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){xl(e,t,n)}else n.current=null}function es(e,t,n){try{n()}catch(n){xl(e,t,n)}}var ts=!1;function ns(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&es(t,n,i)}o=o.next}while(o!==r)}}function rs(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function os(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function is(e){var t=e.alternate;null!==t&&(e.alternate=null,is(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[fo],delete t[ho],delete t[go],delete t[mo],delete t[vo]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function As(e){return 5===e.tag||3===e.tag||4===e.tag}function as(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||As(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ss(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Zr));else if(4!==r&&null!==(e=e.child))for(ss(e,t,n),e=e.sibling;null!==e;)ss(e,t,n),e=e.sibling}function ls(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ls(e,t,n),e=e.sibling;null!==e;)ls(e,t,n),e=e.sibling}var cs=null,us=!1;function ds(e,t,n){for(n=n.child;null!==n;)fs(e,t,n),n=n.sibling}function fs(e,t,n){if(it&&"function"==typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(e){}switch(n.tag){case 5:Ya||Za(n,t);case 6:var r=cs,o=us;cs=null,ds(e,t,n),us=o,null!==(cs=r)&&(us?(e=cs,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):cs.removeChild(n.stateNode));break;case 18:null!==cs&&(us?(e=cs,n=n.stateNode,8===e.nodeType?so(e.parentNode,n):1===e.nodeType&&so(e,n),jt(e)):so(cs,n.stateNode));break;case 4:r=cs,o=us,cs=n.stateNode.containerInfo,us=!0,ds(e,t,n),cs=r,us=o;break;case 0:case 11:case 14:case 15:if(!Ya&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){o=r=r.next;do{var i=o,A=i.destroy;i=i.tag,void 0!==A&&(2&i||4&i)&&es(n,t,A),o=o.next}while(o!==r)}ds(e,t,n);break;case 1:if(!Ya&&(Za(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){xl(n,t,e)}ds(e,t,n);break;case 21:ds(e,t,n);break;case 22:1&n.mode?(Ya=(r=Ya)||null!==n.memoizedState,ds(e,t,n),Ya=r):ds(e,t,n);break;default:ds(e,t,n)}}function hs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ja),t.forEach((function(t){var r=Ql.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ps(e,t){var n=t.deletions;if(null!==n)for(var r=0;ro&&(o=a),r&=~A}if(r=o,10<(r=(120>(r=Je()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*xs(r/1960))-r)){e.timeoutHandle=ro(bl.bind(null,e,Ms,Gs),r);break}bl(e,Ms,Gs);break;default:throw Error(i(329))}}}return rl(e,Je()),e.callbackNode===n?ol.bind(null,e):null}function il(e,t){var n=Ns;return e.current.memoizedState.isDehydrated&&(dl(e,t).flags|=256),2!==(e=gl(e,t))&&(t=Ms,Ms=n,null!==t&&Al(t)),e}function Al(e){null===Ms?Ms=e:Ms.push.apply(Ms,e)}function al(e,t){for(t&=~Rs,t&=~_s,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0e?16:e,null===Xs)var r=!1;else{if(e=Xs,Xs=null,$s=0,6&Qs)throw Error(i(331));var o=Qs;for(Qs|=4,qa=e.current;null!==qa;){var A=qa,a=A.child;if(16&qa.flags){var s=A.deletions;if(null!==s){for(var l=0;lJe()-Ds?dl(e,0):Rs|=n),rl(e,t)}function El(e,t){0===t&&(1&e.mode?(t=ct,!(130023424&(ct<<=1))&&(ct=4194304)):t=1);var n=el();null!==(e=Hi(e,t))&&(mt(e,t,n),rl(e,n))}function Fl(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),El(e,n)}function Ql(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),El(e,n)}function Ul(e,t){return We(e,t)}function kl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Il(e,t,n,r){return new kl(e,t,n,r)}function Ol(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Pl(e,t){var n=e.alternate;return null===n?((n=Il(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Tl(e,t,n,r,o,A){var a=2;if(r=e,"function"==typeof e)Ol(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case C:return Hl(n.children,o,A,t);case x:a=8,o|=8;break;case S:return(e=Il(12,n,t,2|o)).elementType=S,e.lanes=A,e;case U:return(e=Il(13,n,t,o)).elementType=U,e.lanes=A,e;case k:return(e=Il(19,n,t,o)).elementType=k,e.lanes=A,e;case P:return Ll(n,o,A,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case E:a=10;break e;case F:a=9;break e;case Q:a=11;break e;case I:a=14;break e;case O:a=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Il(a,n,t,o)).elementType=e,t.type=r,t.lanes=A,t}function Hl(e,t,n,r){return(e=Il(7,e,r,t)).lanes=n,e}function Ll(e,t,n,r){return(e=Il(22,e,r,t)).elementType=P,e.lanes=n,e.stateNode={isHidden:!1},e}function _l(e,t,n){return(e=Il(6,e,null,t)).lanes=n,e}function Rl(e,t,n){return(t=Il(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Nl(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Ml(e,t,n,r,o,i,A,a,s){return e=new Nl(e,t,n,a,s),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Il(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},_i(i),e}function Dl(e){if(!e)return Qo;e:{if(je(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Po(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(Po(n))return Lo(e,n,t)}return t}function jl(e,t,n,r,o,i,A,a,s){return(e=Ml(n,r,!0,e,0,i,0,a,s)).context=Dl(null),n=e.current,(i=Ni(r=el(),o=tl(n))).callback=null!=t?t:null,Mi(n,i,o),e.current.lanes=o,mt(e,o,r),rl(e,r),e}function Gl(e,t,n,r){var o=t.current,i=el(),A=tl(o);return n=Dl(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ni(i,A)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Mi(o,t,A))&&(nl(e,o,A,i),Di(e,o,A)),A}function Kl(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Vl(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n{"use strict";var r=n(961);t.H=r.createRoot,r.hydrateRoot},961:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(2551)},1020:(e,t,n)=>{"use strict";var r=n(6540),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),A=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,n){var r,i={},l=null,c=null;for(r in void 0!==n&&(l=""+n),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(c=t.ref),t)A.call(t,r)&&!s.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:l,ref:c,props:i,_owner:a.current}}t.Fragment=i,t.jsx=l,t.jsxs=l},5287:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.iterator,h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p=Object.assign,g={};function m(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}function v(){}function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=m.prototype;var w=y.prototype=new v;w.constructor=y,p(w,m.prototype),w.isPureReactComponent=!0;var b=Array.isArray,B=Object.prototype.hasOwnProperty,C={current:null},x={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,r){var o,i={},A=null,a=null;if(null!=t)for(o in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(A=""+t.key),t)B.call(t,o)&&!x.hasOwnProperty(o)&&(i[o]=t[o]);var s=arguments.length-2;if(1===s)i.children=r;else if(1{"use strict";e.exports=n(5287)},4848:(e,t,n)=>{"use strict";e.exports=n(1020)},7463:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0>>1,o=e[r];if(!(0>>1;ri(s,n))li(c,s)?(e[r]=c,e[l]=n,r=l):(e[r]=s,e[a]=n,r=a);else{if(!(li(c,n)))break e;e[r]=c,e[l]=n,r=l}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var A=performance;t.unstable_now=function(){return A.now()}}else{var a=Date,s=a.now();t.unstable_now=function(){return a.now()-s}}var l=[],c=[],u=1,d=null,f=3,h=!1,p=!1,g=!1,m="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,n(l,t)}t=r(c)}}function b(e){if(g=!1,w(e),!p)if(null!==r(l))p=!0,P(B);else{var t=r(c);null!==t&&T(b,t.startTime-e)}}function B(e,n){p=!1,g&&(g=!1,v(E),E=-1),h=!0;var i=f;try{for(w(n),d=r(l);null!==d&&(!(d.expirationTime>n)||e&&!U());){var A=d.callback;if("function"==typeof A){d.callback=null,f=d.priorityLevel;var a=A(d.expirationTime<=n);n=t.unstable_now(),"function"==typeof a?d.callback=a:d===r(l)&&o(l),w(n)}else o(l);d=r(l)}if(null!==d)var s=!0;else{var u=r(c);null!==u&&T(b,u.startTime-n),s=!1}return s}finally{d=null,f=i,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var C,x=!1,S=null,E=-1,F=5,Q=-1;function U(){return!(t.unstable_now()-Qe||125A?(e.sortIndex=i,n(c,e),null===r(l)&&e===r(c)&&(g?(v(E),E=-1):g=!0,T(b,i-A))):(e.sortIndex=a,n(l,e),p||h||(p=!0,P(B))),e},t.unstable_shouldYield=U,t.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}},9982:(e,t,n)=>{"use strict";e.exports=n(7463)},6897:(e,t,n)=>{"use strict";var r=n(453),o=n(41),i=n(592)(),A=n(5795),a=n(9675),s=r("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new a("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||s(t)!==t)throw new a("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,l=!0;if("length"in e&&A){var c=A(e,"length");c&&!c.configurable&&(r=!1),c&&!c.writable&&(l=!1)}return(r||l||!n)&&(i?o(e,"length",t,!0,!0):o(e,"length",t)),e}},920:(e,t,n)=>{"use strict";var r=n(453),o=n(8075),i=n(8859),A=n(9675),a=r("%WeakMap%",!0),s=r("%Map%",!0),l=o("WeakMap.prototype.get",!0),c=o("WeakMap.prototype.set",!0),u=o("WeakMap.prototype.has",!0),d=o("Map.prototype.get",!0),f=o("Map.prototype.set",!0),h=o("Map.prototype.has",!0),p=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new A("Side channel does not contain "+i(e))},get:function(r){if(a&&r&&("object"==typeof r||"function"==typeof r)){if(e)return l(e,r)}else if(s){if(t)return d(t,r)}else if(n)return function(e,t){var n=p(e,t);return n&&n.value}(n,r)},has:function(r){if(a&&r&&("object"==typeof r||"function"==typeof r)){if(e)return u(e,r)}else if(s){if(t)return h(t,r)}else if(n)return function(e,t){return!!p(e,t)}(n,r);return!1},set:function(r,o){a&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new a),c(e,r,o)):s?(t||(t=new s),f(t,r,o)):(n||(n={key:{},next:null}),function(e,t,n){var r=p(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,o))}};return r}},5072:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},540:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},5056:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7825:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},1113:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},2910:e=>{window,e.exports=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=7)}([function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.eventEmitter=t.INTERNAL_ERROR_EVENT=t.UNKNOWN_IDX=t.ROOT_IDX=t.getStylesheet=t.getDefaultOptions=t.CAMEL_DATASET_SPLIT_TYPE=t.CAMEL_DATASET_IDENTIFIER_EXTRA=t.CAMEL_DATASET_IDENTIFIER=t.DATASET_SPLIT_TYPE=t.DATASET_IDENTIFIER_EXTRA=t.DATASET_IDENTIFIER=t.STYLESHEET_ID=t.LOCAL_STORE_KEY=t.ID_DIVISION=void 0;var A=i(n(10)),a=i(n(2));t.ID_DIVISION=";",t.LOCAL_STORE_KEY="highlight-mengshou",t.STYLESHEET_ID="highlight-mengshou-style",t.DATASET_IDENTIFIER="highlight-id",t.DATASET_IDENTIFIER_EXTRA="highlight-id-extra",t.DATASET_SPLIT_TYPE="highlight-split-type",t.CAMEL_DATASET_IDENTIFIER=A.default(t.DATASET_IDENTIFIER),t.CAMEL_DATASET_IDENTIFIER_EXTRA=A.default(t.DATASET_IDENTIFIER_EXTRA),t.CAMEL_DATASET_SPLIT_TYPE=A.default(t.DATASET_SPLIT_TYPE),t.getDefaultOptions=function(){return{$root:document||document.documentElement,exceptSelectors:null,wrapTag:"span",verbose:!1,style:{className:"highlight-mengshou-wrap"}}},t.getStylesheet=function(){return"\n ."+t.getDefaultOptions().style.className+" {\n background: #ff9;\n cursor: pointer;\n }\n ."+t.getDefaultOptions().style.className+".active {\n background: #ffb;\n }\n"},t.ROOT_IDX=-2,t.UNKNOWN_IDX=-1,t.INTERNAL_ERROR_EVENT="error";var s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(a.default);t.eventEmitter=new s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserInputEvent=t.SelectedNodeType=t.CreateFrom=t.EventType=t.ERROR=t.SplitType=void 0,function(e){e.none="none",e.head="head",e.tail="tail",e.both="both"}(t.SplitType||(t.SplitType={})),function(e){e.DOM_TYPE_ERROR="[DOM] Receive wrong node type.",e.DOM_SELECTION_EMPTY="[DOM] The selection contains no dom node, may be you except them.",e.RANGE_INVALID="[RANGE] Got invalid dom range, can't convert to a valid highlight range.",e.RANGE_NODE_INVALID="[RANGE] Start or end node isn't a text node, it may occur an error.",e.DB_ID_DUPLICATE_ERROR="[STORE] Unique id conflict.",e.CACHE_SET_ERROR="[CACHE] Cache.data can't be set manually, please use .save().",e.SOURCE_TYPE_ERROR="[SOURCE] Object isn't a highlight source instance.",e.HIGHLIGHT_RANGE_FROZEN="[HIGHLIGHT_RANGE] A highlight range must be frozen before render.",e.HIGHLIGHT_SOURCE_RECREATE="[HIGHLIGHT_SOURCE] Recreate highlights from sources error.",e.HIGHLIGHT_SOURCE_NONE_RENDER="[HIGHLIGHT_SOURCE] This highlight source isn't rendered. May be the exception skips it or the dom structure has changed."}(t.ERROR||(t.ERROR={})),function(e){e.CREATE="selection:create",e.REMOVE="selection:remove",e.MODIFY="selection:modify",e.HOVER="selection:hover",e.HOVER_OUT="selection:hover-out",e.CLICK="selection:click"}(t.EventType||(t.EventType={})),function(e){e.STORE="from-store",e.INPUT="from-input"}(t.CreateFrom||(t.CreateFrom={})),function(e){e.text="text",e.span="span"}(t.SelectedNodeType||(t.SelectedNodeType={})),function(e){e.touchend="touchend",e.mouseup="mouseup",e.touchstart="touchstart",e.click="click",e.mouseover="mouseover"}(t.UserInputEvent||(t.UserInputEvent={}))},function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),A=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)A.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return A},o=this&&this.__spread||function(){for(var e=[],t=0;t>>0,1),this},e.prototype.emit=function(e){for(var t=[],n=1;n=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),A=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)A.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return A},i=this&&this.__spread||function(){for(var e=[],t=0;t>t/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)}},function(e,t,n){e.exports=n(8)},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;a--)n.push(A[a]);if(3===r.nodeType&&(i=t-o,(o+=r.textContent.length)>=t))break}return r||(r=e),{$node:r,offset:i}},t.queryElementNode=function(e,t){return{start:e.startMeta.parentIndex===r.ROOT_IDX?t:t.getElementsByTagName(e.startMeta.parentTagName)[e.startMeta.parentIndex],end:e.endMeta.parentIndex===r.ROOT_IDX?t:t.getElementsByTagName(e.endMeta.parentTagName)[e.endMeta.parentIndex]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.split("-").reduce((function(e,t,n){return e+(0===n?t:t[0].toUpperCase()+t.slice(1))}),"")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeSelection=t.getDomRange=void 0,t.getDomRange=function(){var e=window.getSelection();return e.isCollapsed?(console.debug("no text selected"),null):e.getRangeAt(0)},t.removeSelection=function(){window.getSelection().removeAllRanges()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatDomNode=t.getDomMeta=void 0;var r=n(0);t.getDomMeta=function(e,t,n){var o=function(e){if(e instanceof HTMLElement&&(!e.dataset||!e.dataset[r.CAMEL_DATASET_IDENTIFIER]))return e;for(var t=e.parentNode;null==t?void 0:t.dataset[r.CAMEL_DATASET_IDENTIFIER];)t=t.parentNode;return t}(e),i=o===n?r.ROOT_IDX:function(e,t){for(var n=e.tagName,o=t.getElementsByTagName(n),i=0;i=0;A--)n.push(i[A]);if(3===r.nodeType&&r!==t)o+=r.textContent.length;else if(3===r.nodeType)break}return o}(o,e);return{parentTagName:o.tagName,parentIndex:i,textOffset:A+t}},t.formatDomNode=function(e){return 3===e.$node.nodeType||4===e.$node.nodeType||8===e.$node.nodeType?e:{$node:e.$node.childNodes[e.offset],offset:0}}},function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),A=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)A.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return A},o=this&&this.__spread||function(){for(var e=[],t=0;t=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},A=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=A(n(2)),s=n(1),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._data=new Map,t}return o(t,e),Object.defineProperty(t.prototype,"data",{get:function(){return this.getAll()},set:function(e){throw s.ERROR.CACHE_SET_ERROR},enumerable:!1,configurable:!0}),t.prototype.save=function(e){var t=this;Array.isArray(e)?e.forEach((function(e){return t._data.set(e.id,e)})):this._data.set(e.id,e)},t.prototype.get=function(e){return this._data.get(e)},t.prototype.remove=function(e){this._data.delete(e)},t.prototype.getAll=function(){var e,t,n=[];try{for(var r=i(this._data),o=r.next();!o.done;o=r.next()){var A=o.value;n.push(A[1])}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return n},t.prototype.removeAll=function(){var e,t,n=[];try{for(var r=i(this._data),o=r.next();!o.done;o=r.next()){var A=o.value;n.push(A[0])}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return this._data=new Map,n},t}(a.default);t.default=l},function(e,t,n){"use strict";var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),A=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)A.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return A},i=this&&this.__spread||function(){for(var e=[],t=0;t0?r.push(e):d.eventEmitter.emit(d.INTERNAL_ERROR_EVENT,{type:c.ERROR.HIGHLIGHT_SOURCE_NONE_RENDER,detail:e})}else d.eventEmitter.emit(d.INTERNAL_ERROR_EVENT,{type:c.ERROR.SOURCE_TYPE_ERROR})})),r},e.prototype.removeHighlight=function(e){var t,n,o=new RegExp("("+e+"\\"+d.ID_DIVISION+"|\\"+d.ID_DIVISION+"?"+e+"$)"),A=this.hooks,a=this.options.wrapTag,c=document.querySelectorAll(a+"[data-"+d.DATASET_IDENTIFIER+"]"),u=[],f=[],h=[];try{for(var p=r(c),g=p.next();!g.done;g=p.next()){var m=g.value,v=m.dataset[d.CAMEL_DATASET_IDENTIFIER],y=m.dataset[d.CAMEL_DATASET_IDENTIFIER_EXTRA];v!==e||y?v===e?f.push(m):v!==e&&o.test(y)&&h.push(m):u.push(m)}}catch(e){t={error:e}}finally{try{g&&!g.done&&(n=p.return)&&n.call(p)}finally{if(t)throw t.error}}return u.forEach((function(t){var n=t.parentNode,r=document.createDocumentFragment();l.forEach(t.childNodes,(function(e){return r.appendChild(e.cloneNode(!1))}));var o=t.previousSibling,i=t.nextSibling;n.replaceChild(r,t),s.normalizeSiblingText(o,!0),s.normalizeSiblingText(i,!1),A.Remove.UpdateNodes.call(e,t,"remove")})),f.forEach((function(t){var n=t.dataset,r=n[d.CAMEL_DATASET_IDENTIFIER_EXTRA].split(d.ID_DIVISION),o=r.shift(),s=document.querySelector(a+"[data-"+d.DATASET_IDENTIFIER+'="'+o+'"]');s&&(l.removeAllClass(t),l.addClass(t,i(s.classList))),n[d.CAMEL_DATASET_IDENTIFIER]=o,n[d.CAMEL_DATASET_IDENTIFIER_EXTRA]=r.join(d.ID_DIVISION),A.Remove.UpdateNodes.call(e,t,"id-update")})),h.forEach((function(t){var n=t.dataset[d.CAMEL_DATASET_IDENTIFIER_EXTRA];t.dataset[d.CAMEL_DATASET_IDENTIFIER_EXTRA]=n.replace(o,""),A.Remove.UpdateNodes.call(e,t,"extra-update")})),u.length+f.length+h.length!==0},e.prototype.removeAllHighlight=function(){var e=this.options,t=e.wrapTag,n=e.$root;l.getHighlightsByRoot(n,t).forEach((function(e){var t=e.parentNode,n=document.createDocumentFragment();l.forEach(e.childNodes,(function(e){return n.appendChild(e.cloneNode(!1))})),t.replaceChild(n,e)}))},e}();t.default=f},function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),A=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)A.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return A},o=this&&this.__spread||function(){for(var e=[],t=0;t=0;g--)c.push(p[g]);if(h===o){if(3===h.nodeType){h.splitText(a);var m=h.nextSibling;u.push({$node:m,type:i.SelectedNodeType.text,splitType:i.SplitType.head})}f=!0}else{if(h===A){3===h.nodeType&&((m=h).splitText(s),u.push({$node:m,type:i.SelectedNodeType.text,splitType:i.SplitType.tail}));break}f&&3===h.nodeType&&u.push({$node:h,type:i.SelectedNodeType.text,splitType:i.SplitType.none})}}return u};var c=function(e,t){var n=Array.isArray(t)?t:[t];return(n=0===n.length?[a.getDefaultOptions().style.className]:n).forEach((function(t){A.addClass(e,t)})),e},u=function(e){return!e||!e.textContent};t.wrapHighlight=function(e,t,n,r){var l=e.$node.parentNode,d=e.$node.previousSibling,f=e.$node.nextSibling;return A.isHighlightWrapNode(l)?!A.isHighlightWrapNode(l)||u(d)&&u(f)?function(e,t,n){var r=e.$node.parentNode,o=r;A.removeAllClass(o),c(o,n);var i=r.dataset,s=i[a.CAMEL_DATASET_IDENTIFIER];return i[a.CAMEL_DATASET_IDENTIFIER]=t.id,i[a.CAMEL_DATASET_IDENTIFIER_EXTRA]=i[a.CAMEL_DATASET_IDENTIFIER_EXTRA]?s+a.ID_DIVISION+i[a.CAMEL_DATASET_IDENTIFIER_EXTRA]:s,o}(e,t,n):function(e,t,n,r){var A=document.createElement(r),l=e.$node.parentNode,u=e.$node.previousSibling,d=e.$node.nextSibling,f=document.createDocumentFragment(),h=l.dataset[a.CAMEL_DATASET_IDENTIFIER],p=l.dataset[a.CAMEL_DATASET_IDENTIFIER_EXTRA],g=p?h+a.ID_DIVISION+p:h;A.setAttribute("data-"+a.DATASET_IDENTIFIER,t.id),A.setAttribute("data-"+a.DATASET_IDENTIFIER_EXTRA,g),A.appendChild(e.$node.cloneNode(!1));var m,v=!1,y=!1;u&&((w=l.cloneNode(!1)).textContent=u.textContent,f.appendChild(w),v=!0);var w,b=[];return Array.isArray(n)?b.push.apply(b,o(n)):b.push(n),c(A,s.unique(b)),f.appendChild(A),d&&((w=l.cloneNode(!1)).textContent=d.textContent,f.appendChild(w),y=!0),m=v&&y?i.SplitType.both:v?i.SplitType.head:y?i.SplitType.tail:i.SplitType.none,A.setAttribute("data-"+a.DATASET_SPLIT_TYPE,m),l.parentNode.replaceChild(f,l),A}(e,t,n,r):function(e,t,n,r){var o=document.createElement(r);return c(o,n),o.appendChild(e.$node.cloneNode(!1)),e.$node.parentNode.replaceChild(o,e.$node),o.setAttribute("data-"+a.DATASET_IDENTIFIER,t.id),o.setAttribute("data-"+a.DATASET_SPLIT_TYPE,e.splitType),o.setAttribute("data-"+a.DATASET_IDENTIFIER_EXTRA,""),o}(e,t,n,r)},t.normalizeSiblingText=function(e,t){if(void 0===t&&(t=!0),e&&3===e.nodeType){var n=t?e.nextSibling:e.previousSibling;if(3===n.nodeType){var r=n.nodeValue;e.nodeValue=t?e.nodeValue+r:r+e.nodeValue,n.parentNode.removeChild(n)}}}},function(e,t,n){"use strict";var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.unique=void 0,t.unique=function(e){var t,n,o=[];try{for(var i=r(e),A=i.next();!A.done;A=i.next()){var a=A.value;-1===o.indexOf(a)&&o.push(a)}}catch(e){t={error:e}}finally{try{A&&!A.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initDefaultStylesheet=void 0;var r=n(0);t.initDefaultStylesheet=function(){var e=r.STYLESHEET_ID,t=document.getElementById(e);if(!t){var n=document.createTextNode(r.getStylesheet());(t=document.createElement("style")).id=e,t.appendChild(n),document.head.appendChild(t)}return t}}]).default},2634:()=>{},6942:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var A={};e=e||[null,t({}),t([]),t(t)];for(var a=2&r&&n;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>A[e]=()=>n[e]));return A.default=()=>n,o.d(i,A),i},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0,(()=>{"use strict";var e={};o.r(e),o.d(e,{hasBrowserEnv:()=>Mv,hasStandardBrowserEnv:()=>jv,hasStandardBrowserWebWorkerEnv:()=>Gv,navigator:()=>Dv,origin:()=>Kv});var t=o(5072),n=o.n(t),r=o(7825),i=o.n(r),A=o(7659),a=o.n(A),s=o(5056),l=o.n(s),c=o(540),u=o.n(c),d=o(1113),f=o.n(d),h=o(8307),p={};p.styleTagTransform=f(),p.setAttributes=l(),p.insert=a().bind(null,"head"),p.domAPI=i(),p.insertStyleElement=u(),n()(h.A,p),h.A&&h.A.locals&&h.A.locals;var g=o(6540),m=o.t(g,2),v=o(5338),y=o(4619),w={};w.styleTagTransform=f(),w.setAttributes=l(),w.insert=a().bind(null,"head"),w.domAPI=i(),w.insertStyleElement=u(),n()(y.A,w),y.A&&y.A.locals&&y.A.locals;const b=Math.min,B=Math.max,C=Math.round,x=(Math.floor,e=>({x:e,y:e})),S={left:"right",right:"left",bottom:"top",top:"bottom"},E={start:"end",end:"start"};function F(e,t){return"function"==typeof e?e(t):e}function Q(e){return e.split("-")[0]}function U(e){return e.split("-")[1]}function k(e){return"y"===e?"height":"width"}function I(e){return["top","bottom"].includes(Q(e))?"y":"x"}function O(e){return"x"===I(e)?"y":"x"}function P(e){return e.replace(/start|end/g,(e=>E[e]))}function T(e){return e.replace(/left|right|bottom|top/g,(e=>S[e]))}function H(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function L(e,t,n){let{reference:r,floating:o}=e;const i=I(t),A=O(t),a=k(A),s=Q(t),l="y"===i,c=r.x+r.width/2-o.width/2,u=r.y+r.height/2-o.height/2,d=r[a]/2-o[a]/2;let f;switch(s){case"top":f={x:c,y:r.y-o.height};break;case"bottom":f={x:c,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:u};break;case"left":f={x:r.x-o.width,y:u};break;default:f={x:r.x,y:r.y}}switch(U(t)){case"start":f[A]-=d*(n&&l?-1:1);break;case"end":f[A]+=d*(n&&l?-1:1)}return f}function _(e){return M(e)?(e.nodeName||"").toLowerCase():"#document"}function R(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function N(e){var t;return null==(t=(M(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function M(e){return e instanceof Node||e instanceof R(e).Node}function D(e){return e instanceof Element||e instanceof R(e).Element}function j(e){return e instanceof HTMLElement||e instanceof R(e).HTMLElement}function G(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof R(e).ShadowRoot)}function K(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Y(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function V(e){return["table","td","th"].includes(_(e))}function z(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function W(e){const t=X(),n=D(e)?Y(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function X(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function $(e){return["html","body","#document"].includes(_(e))}function Y(e){return R(e).getComputedStyle(e)}function J(e){return D(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function q(e){if("html"===_(e))return e;const t=e.assignedSlot||e.parentNode||G(e)&&e.host||N(e);return G(t)?t.host:t}function Z(e){const t=q(e);return $(t)?e.ownerDocument?e.ownerDocument.body:e.body:j(t)&&K(t)?t:Z(t)}function ee(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=Z(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),A=R(o);if(i){const e=te(A);return t.concat(A,A.visualViewport||[],K(o)?o:[],e&&n?ee(e):[])}return t.concat(o,ee(o,[],n))}function te(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ne(e){const t=Y(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=j(e),i=o?e.offsetWidth:n,A=o?e.offsetHeight:r,a=C(n)!==i||C(r)!==A;return a&&(n=i,r=A),{width:n,height:r,$:a}}function re(e){return D(e)?e:e.contextElement}function oe(e){const t=re(e);if(!j(t))return x(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=ne(t);let A=(i?C(n.width):n.width)/r,a=(i?C(n.height):n.height)/o;return A&&Number.isFinite(A)||(A=1),a&&Number.isFinite(a)||(a=1),{x:A,y:a}}const ie=x(0);function Ae(e){const t=R(e);return X()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ie}function ae(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=re(e);let A=x(1);t&&(r?D(r)&&(A=oe(r)):A=oe(e));const a=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==R(e))&&t}(i,n,r)?Ae(i):x(0);let s=(o.left+a.x)/A.x,l=(o.top+a.y)/A.y,c=o.width/A.x,u=o.height/A.y;if(i){const e=R(i),t=r&&D(r)?R(r):r;let n=e,o=te(n);for(;o&&r&&t!==n;){const e=oe(o),t=o.getBoundingClientRect(),r=Y(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,A=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,l*=e.y,c*=e.x,u*=e.y,s+=i,l+=A,n=R(o),o=te(n)}}return H({width:c,height:u,x:s,y:l})}function se(e){return ae(N(e)).left+J(e).scrollLeft}function le(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=R(e),r=N(e),o=n.visualViewport;let i=r.clientWidth,A=r.clientHeight,a=0,s=0;if(o){i=o.width,A=o.height;const e=X();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,s=o.offsetTop)}return{width:i,height:A,x:a,y:s}}(e,n);else if("document"===t)r=function(e){const t=N(e),n=J(e),r=e.ownerDocument.body,o=B(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=B(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let A=-n.scrollLeft+se(e);const a=-n.scrollTop;return"rtl"===Y(r).direction&&(A+=B(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:A,y:a}}(N(e));else if(D(t))r=function(e,t){const n=ae(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=j(e)?oe(e):x(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=Ae(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return H(r)}function ce(e,t){const n=q(e);return!(n===t||!D(n)||$(n))&&("fixed"===Y(n).position||ce(n,t))}function ue(e,t,n){const r=j(t),o=N(t),i="fixed"===n,A=ae(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const s=x(0);if(r||!r&&!i)if(("body"!==_(t)||K(o))&&(a=J(t)),r){const e=ae(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=se(o));return{x:A.left+a.scrollLeft-s.x,y:A.top+a.scrollTop-s.y,width:A.width,height:A.height}}function de(e){return"static"===Y(e).position}function fe(e,t){return j(e)&&"fixed"!==Y(e).position?t?t(e):e.offsetParent:null}function he(e,t){const n=R(e);if(z(e))return n;if(!j(e)){let t=q(e);for(;t&&!$(t);){if(D(t)&&!de(t))return t;t=q(t)}return n}let r=fe(e,t);for(;r&&V(r)&&de(r);)r=fe(r,t);return r&&$(r)&&de(r)&&!W(r)?n:r||function(e){let t=q(e);for(;j(t)&&!$(t);){if(W(t))return t;if(z(t))return null;t=q(t)}return null}(e)||n}const pe={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,A=N(r),a=!!t&&z(t.floating);if(r===A||a&&i)return n;let s={scrollLeft:0,scrollTop:0},l=x(1);const c=x(0),u=j(r);if((u||!u&&!i)&&(("body"!==_(r)||K(A))&&(s=J(r)),j(r))){const e=ae(r);l=oe(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-s.scrollLeft*l.x+c.x,y:n.y*l.y-s.scrollTop*l.y+c.y}},getDocumentElement:N,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?z(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=ee(e,[],!1).filter((e=>D(e)&&"body"!==_(e))),o=null;const i="fixed"===Y(e).position;let A=i?q(e):e;for(;D(A)&&!$(A);){const t=Y(A),n=W(A);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||K(A)&&!n&&ce(e,A))?r=r.filter((e=>e!==A)):o=t,A=q(A)}return t.set(e,r),r}(t,this._c):[].concat(n),r],A=i[0],a=i.reduce(((e,n)=>{const r=le(t,n,o);return e.top=B(r.top,e.top),e.right=b(r.right,e.right),e.bottom=b(r.bottom,e.bottom),e.left=B(r.left,e.left),e}),le(t,A,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:he,getElementRects:async function(e){const t=this.getOffsetParent||he,n=this.getDimensions,r=await n(e.floating);return{reference:ue(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=ne(e);return{width:t,height:n}},getScale:oe,isElement:D,isRTL:function(e){return"rtl"===Y(e).direction}},ge=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:A,initialPlacement:a,platform:s,elements:l}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:p=!0,...g}=F(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const m=Q(o),v=I(a),y=Q(a)===a,w=await(null==s.isRTL?void 0:s.isRTL(l.floating)),b=d||(y||!p?[T(a)]:function(e){const t=T(e);return[P(e),t,P(t)]}(a)),B="none"!==h;!d&&B&&b.push(...function(e,t,n,r){const o=U(e);let i=function(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],A=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:A;default:return[]}}(Q(e),"start"===n,r);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(P)))),i}(a,p,h,w));const C=[a,...b],x=await async function(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:A,elements:a,strategy:s}=e,{boundary:l="clippingAncestors",rootBoundary:c="viewport",elementContext:u="floating",altBoundary:d=!1,padding:f=0}=F(t,e),h=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(f),p=a[d?"floating"===u?"reference":"floating":u],g=H(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(p)))||n?p:p.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:l,rootBoundary:c,strategy:s})),m="floating"===u?{x:r,y:o,width:A.floating.width,height:A.floating.height}:A.reference,v=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),y=await(null==i.isElement?void 0:i.isElement(v))&&await(null==i.getScale?void 0:i.getScale(v))||{x:1,y:1},w=H(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:m,offsetParent:v,strategy:s}):m);return{top:(g.top-w.top+h.top)/y.y,bottom:(w.bottom-g.bottom+h.bottom)/y.y,left:(g.left-w.left+h.left)/y.x,right:(w.right-g.right+h.right)/y.x}}(t,g),S=[];let E=(null==(r=i.flip)?void 0:r.overflows)||[];if(c&&S.push(x[m]),u){const e=function(e,t,n){void 0===n&&(n=!1);const r=U(e),o=O(e),i=k(o);let A="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(A=T(A)),[A,T(A)]}(o,A,w);S.push(x[e[0]],x[e[1]])}if(E=[...E,{placement:o,overflows:S}],!S.every((e=>e<=0))){var L,_;const e=((null==(L=i.flip)?void 0:L.index)||0)+1,t=C[e];if(t)return{data:{index:e,overflows:E},reset:{placement:t}};let n=null==(_=E.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:_.placement;if(!n)switch(f){case"bestFit":{var R;const e=null==(R=E.filter((e=>{if(B){const t=I(e.placement);return t===v||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:R[0];e&&(n=e);break}case"initialPlacement":n=a}if(o!==n)return{reset:{placement:n}}}return{}}}};function me(){return me=Object.assign?Object.assign.bind():function(e){for(var t=1;t1)&&(e=1),e}function Le(e){return e<=1?"".concat(100*Number(e),"%"):e}function _e(e){return 1===e.length?"0"+e:String(e)}function Re(e,t,n){e=Pe(e,255),t=Pe(t,255),n=Pe(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,A=0,a=(r+o)/2;if(r===o)A=0,i=0;else{var s=r-o;switch(A=a>.5?s/(2-r-o):s/(r+o),r){case e:i=(t-n)/s+(t1&&(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 Me(e,t,n){e=Pe(e,255),t=Pe(t,255),n=Pe(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,A=r,a=r-o,s=0===r?0:a/r;if(r===o)i=0;else{switch(r){case e:i=(t-n)/a+(t=60&&Math.round(e.h)<=240?n?Math.round(e.h)-qe*t:Math.round(e.h)+qe*t:n?Math.round(e.h)+qe*t:Math.round(e.h)-qe*t)<0?r+=360:r>=360&&(r-=360),r}function lt(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-Ze*t:t===ot?e.s+Ze:e.s+et*t)>1&&(r=1),n&&t===rt&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function ct(e,t,n){var r;return(r=n?e.v+tt*t:e.v-nt*t)>1&&(r=1),Number(r.toFixed(2))}function ut(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=ze(e),o=rt;o>0;o-=1){var i=At(r),A=at(ze({h:st(i,o,!0),s:lt(i,o,!0),v:ct(i,o,!0)}));n.push(A)}n.push(at(r));for(var a=1;a<=ot;a+=1){var s=At(r),l=at(ze({h:st(s,a),s:lt(s,a),v:ct(s,a)}));n.push(l)}return"dark"===t.theme?it.map((function(e){var r=e.index,o=e.opacity,i=at(function(e,t,n){var r=n/100;return{r:(t.r-e.r)*r+e.r,g:(t.g-e.g)*r+e.g,b:(t.b-e.b)*r+e.b}}(ze(t.backgroundColor||"#141414"),ze(n[r]),100*o));return i})):n}var dt={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},ft=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];ft.primary=ft[5];var ht=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];ht.primary=ht[5];var pt=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];pt.primary=pt[5];var gt=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];gt.primary=gt[5];var mt=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];mt.primary=mt[5];var vt=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];vt.primary=vt[5];var yt=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];yt.primary=yt[5];var wt=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];wt.primary=wt[5];var bt=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];bt.primary=bt[5];var Bt=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];Bt.primary=Bt[5];var Ct=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];Ct.primary=Ct[5];var xt=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];xt.primary=xt[5];var St=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];St.primary=St[5];var Et={red:ft,volcano:ht,orange:pt,gold:gt,yellow:mt,lime:vt,green:yt,cyan:wt,blue:bt,geekblue:Bt,purple:Ct,magenta:xt,grey:St},Ft=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];Ft.primary=Ft[5];var Qt=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];Qt.primary=Qt[5];var Ut=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];Ut.primary=Ut[5];var kt=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];kt.primary=kt[5];var It=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];It.primary=It[5];var Ot=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];Ot.primary=Ot[5];var Pt=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];Pt.primary=Pt[5];var Tt=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];Tt.primary=Tt[5];var Ht=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];Ht.primary=Ht[5];var Lt=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];Lt.primary=Lt[5];var _t=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];_t.primary=_t[5];var Rt=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];Rt.primary=Rt[5];var Nt=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];function Mt(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}function Dt(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}Nt.primary=Nt[5];var jt="data-rc-order",Gt="data-rc-priority",Kt="rc-util-key",Vt=new Map;function zt(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).mark;return e?e.startsWith("data-")?e:"data-".concat(e):Kt}function Wt(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function Xt(e){return Array.from((Vt.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function $t(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!Mt())return null;var n=t.csp,r=t.prepend,o=t.priority,i=void 0===o?0:o,A=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(r),a="prependQueue"===A,s=document.createElement("style");s.setAttribute(jt,A),a&&i&&s.setAttribute(Gt,"".concat(i)),null!=n&&n.nonce&&(s.nonce=null==n?void 0:n.nonce),s.innerHTML=e;var l=Wt(t),c=l.firstChild;if(r){if(a){var u=(t.styles||Xt(l)).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(jt)))return!1;var t=Number(e.getAttribute(Gt)||0);return i>=t}));if(u.length)return l.insertBefore(s,u[u.length-1].nextSibling),s}l.insertBefore(s,c)}else l.appendChild(s);return s}function Yt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Wt(t);return(t.styles||Xt(n)).find((function(n){return n.getAttribute(zt(t))===e}))}function Jt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Yt(e,t);n&&Wt(t).removeChild(n)}function qt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Wt(n),o=Xt(r),i=Be(Be({},n),{},{styles:o});!function(e,t){var n=Vt.get(e);if(!n||!Dt(document,n)){var r=$t("",t),o=r.parentNode;Vt.set(e,o),e.removeChild(r)}}(r,i);var A,a,s,l=Yt(t,i);if(l)return null!==(A=i.csp)&&void 0!==A&&A.nonce&&l.nonce!==(null===(a=i.csp)||void 0===a?void 0:a.nonce)&&(l.nonce=null===(s=i.csp)||void 0===s?void 0:s.nonce),l.innerHTML!==e&&(l.innerHTML=e),l;var c=$t(e,i);return c.setAttribute(zt(i),t),c}function Zt(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function en(e){return function(e){return Zt(e)instanceof ShadowRoot}(e)?Zt(e):null}var tn={},nn=[];function rn(e,t){}function on(e,t){}function An(e,t,n){t||tn[n]||(e(!1,n),tn[n]=!0)}function an(e,t){An(rn,e,t)}an.preMessage=function(e){nn.push(e)},an.resetWarned=function(){tn={}},an.noteOnce=function(e,t){An(on,e,t)};const sn=an;function ln(e,t){sn(e,"[@ant-design/icons] ".concat(t))}function cn(e){return"object"===ve(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===ve(e.icon)||"function"==typeof e.icon)}function un(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r=e[n];return"class"===n?(t.className=r,delete t.class):(delete t[n],t[function(e){return e.replace(/-(.)/g,(function(e,t){return t.toUpperCase()}))}(n)]=r),t}),{})}function dn(e,t,n){return n?g.createElement(e.tag,Be(Be({key:t},un(e.attrs)),n),(e.children||[]).map((function(n,r){return dn(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))):g.createElement(e.tag,Be({key:t},un(e.attrs)),(e.children||[]).map((function(n,r){return dn(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function fn(e){return ut(e)[0]}function hn(e){return e?Array.isArray(e)?e:[e]:[]}var pn={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},gn=function(e){var t=(0,g.useContext)(Oe),n=t.csp,r=t.prefixCls,o="\n.anticon {\n display: inline-flex;\n align-items: center;\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";r&&(o=o.replace(/anticon/g,r)),(0,g.useEffect)((function(){var t=en(e.current);qt(o,"@ant-design-icons",{prepend:!0,csp:n,attachTo:t})}),[])},mn=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],vn=g.forwardRef((function(e,t){var n=e.className,r=e.component,o=e.viewBox,i=e.spin,A=e.rotate,a=e.tabIndex,s=e.onClick,l=e.children,c=Ce(e,mn),u=g.useRef(),d=ke(u,t);ln(Boolean(r||l),"Should have `component` prop or `children`."),gn(u);var f=g.useContext(Oe),h=f.prefixCls,p=void 0===h?"anticon":h,m=f.rootClassName,v=Se()(m,p,we({},"".concat(p,"-spin"),!!i&&!!r),n),y=Se()(we({},"".concat(p,"-spin"),!!i)),w=A?{msTransform:"rotate(".concat(A,"deg)"),transform:"rotate(".concat(A,"deg)")}:void 0,b=Be(Be({},pn),{},{className:y,style:w,viewBox:o});o||delete b.viewBox;var B=a;return void 0===B&&s&&(B=-1),g.createElement("span",me({role:"img"},c,{ref:d,tabIndex:B,onClick:s,className:v}),r?g.createElement(r,b,l):l?(ln(Boolean(o)||1===g.Children.count(l)&&g.isValidElement(l)&&"use"===g.Children.only(l).type,"Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),g.createElement("svg",me({},b,{viewBox:o}),l)):null)}));vn.displayName="AntdIcon";const yn=vn;var wn=o(4848);function bn(e){return bn="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},bn(e)}function Bn(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 Cn(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n{const r=new Map,o={platform:pe,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:A}=n,a=i.filter(Boolean),s=await(null==A.isRTL?void 0:A.isRTL(t));let l=await A.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:u}=L(l,r,s),d=r,f={},h=0;for(let n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=0;--i){var A=this.tryEntries[i],a=A.completion;if("root"===A.tryLoc)return o("end");if(A.tryLoc<=this.prev){var s=r.call(A,"catchLoc"),l=r.call(A,"finallyLoc");if(s&&l){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),U(n),g}},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;U(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function cr(e,t,n,r,o,i,A){try{var a=e[i](A),s=a.value}catch(e){return void n(e)}a.done?t(s):Promise.resolve(s).then(r,o)}function ur(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function A(e){cr(i,r,o,A,a,"next",e)}function a(e){cr(i,r,o,A,a,"throw",e)}A(void 0)}))}}or.styleTagTransform=f(),or.setAttributes=l(),or.insert=a().bind(null,"head"),or.domAPI=i(),or.insertStyleElement=u(),n()(rr.A,or),rr.A&&rr.A.locals&&rr.A.locals;var dr,fr=o(961),hr=Be({},o.t(fr,2)),pr=hr.version,gr=hr.render,mr=hr.unmountComponentAtNode;try{Number((pr||"").split(".")[0])>=18&&(dr=hr.createRoot)}catch(e){}function vr(e){var t=hr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===ve(t)&&(t.usingClientEntryPoint=e)}var yr="__rc_react_root__";function wr(e,t){dr?function(e,t){vr(!0);var n=t[yr]||dr(t);vr(!1),n.render(e),t[yr]=n}(e,t):function(e,t){gr(e,t)}(e,t)}function br(e){return Br.apply(this,arguments)}function Br(){return(Br=ur(lr().mark((function e(t){return lr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then((function(){var e;null===(e=t[yr])||void 0===e||e.unmount(),delete t[yr]})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Cr(e){mr(e)}function xr(e){return Sr.apply(this,arguments)}function Sr(){return(Sr=ur(lr().mark((function e(t){return lr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===dr){e.next=2;break}return e.abrupt("return",br(t));case 2:Cr(t);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}const Er=g.createContext({}),Fr="ant",Qr="anticon",Ur=["outlined","borderless","filled"],kr=g.createContext({getPrefixCls:(e,t)=>t||(e?`${Fr}-${e}`:Fr),iconPrefixCls:Qr}),{Consumer:Ir}=kr;function Or(e){if(Array.isArray(e))return e}function Pr(){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 Tr(e,t){return Or(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,A,a=[],s=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);s=!0);}catch(e){l=!0,o=e}finally{try{if(!s&&null!=n.return&&(A=n.return(),Object(A)!==A))return}finally{if(l)throw o}}return a}}(e,t)||ar(e,t)||Pr()}const Hr=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},Lr=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=new Set;return function e(t,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,A=r.has(t);if(sn(!A,"Warning: There may be circular references"),A)return!1;if(t===o)return!0;if(n&&i>1)return!1;r.add(t);var a=i+1;if(Array.isArray(t)){if(!Array.isArray(o)||t.length!==o.length)return!1;for(var s=0;s1&&void 0!==arguments[1]&&arguments[1],o={map:this.cache};return e.forEach((function(e){var t;o=o?null===(t=o)||void 0===t||null===(t=t.map)||void 0===t?void 0:t.get(e):void 0})),null!==(t=o)&&void 0!==t&&t.value&&r&&(o.value[1]=this.cacheCallTimes++),null===(n=o)||void 0===n?void 0:n.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,n){var r=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var o=this.keys.reduce((function(e,t){var n=Tr(e,2)[1];return r.internalGet(t)[1]1&&void 0!==arguments[1]&&arguments[1],n=no.get(e)||"";return n||(Object.keys(e).forEach((function(r){var o=e[r];n+=r,o instanceof Jr?n+=o.id:o&&"object"===ve(o)?n+=ro(o,t):n+=o})),t&&(n=Hr(n)),no.set(e,n)),n}function oo(e,t){return Hr("".concat(t,"_").concat(ro(e,!0)))}"random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,"");var io=Mt();function Ao(e){return"number"==typeof e?"".concat(e,"px"):e}function ao(e,t,n){if(arguments.length>4&&void 0!==arguments[4]&&arguments[4])return e;var r=Be(Be({},arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}),{},we(we({},Kr,t),Vr,n)),o=Object.keys(r).map((function(e){var t=r[e];return t?"".concat(e,'="').concat(t,'"'):null})).filter((function(e){return e})).join(" ");return"")}var so=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},lo=function(e,t,n){return Object.keys(e).length?".".concat(t).concat(null!=n&&n.scope?".".concat(n.scope):"","{").concat(Object.entries(e).map((function(e){var t=Tr(e,2),n=t[0],r=t[1];return"".concat(n,":").concat(r,";")})).join(""),"}"):""},co=function(e,t,n){var r={},o={};return Object.entries(e).forEach((function(e){var t,i,A=Tr(e,2),a=A[0],s=A[1];if(null!=n&&null!==(t=n.preserve)&&void 0!==t&&t[a])o[a]=s;else if(!("string"!=typeof s&&"number"!=typeof s||null!=n&&null!==(i=n.ignore)&&void 0!==i&&i[a])){var l,c=so(a,null==n?void 0:n.prefix);r[c]="number"!=typeof s||null!=n&&null!==(l=n.unitless)&&void 0!==l&&l[a]?String(s):"".concat(s,"px"),o[a]="var(".concat(c,")")}})),[o,lo(r,t,{scope:null==n?void 0:n.scope})]},uo=Mt()?g.useLayoutEffect:g.useEffect,fo=function(e,t){var n=g.useRef(!0);uo((function(){return e(n.current)}),t),uo((function(){return n.current=!1,function(){n.current=!0}}),[])},ho=function(e,t){fo((function(t){if(!t)return e()}),t)};const po=fo;var go=Be({},m).useInsertionEffect;const mo=go?function(e,t,n){return go((function(){return e(),t()}),n)}:function(e,t,n){g.useMemo(e,n),po((function(){return t(!0)}),n)},vo=void 0!==Be({},m).useInsertionEffect?function(e){var t=[],n=!1;return g.useEffect((function(){return n=!1,function(){n=!0,t.length&&t.forEach((function(e){return e()}))}}),e),function(e){n||t.push(e)}}:function(){return function(e){e()}},yo=function(){return!1};function wo(e,t,n,r,o){var i=g.useContext(Xr).cache,A=Dr([e].concat(sr(t))),a=vo([A]),s=(yo(),function(e){i.opUpdate(A,(function(t){var r=Tr(t||[void 0,void 0],2),o=r[0],i=[void 0===o?0:o,r[1]||n()];return e?e(i):i}))});g.useMemo((function(){s()}),[A]);var l=i.opGet(A)[1];return mo((function(){null==o||o(l)}),(function(e){return s((function(t){var n=Tr(t,2),r=n[0],i=n[1];return e&&0===r&&(null==o||o(l)),[r+1,i]})),function(){i.opUpdate(A,(function(t){var n=Tr(t||[],2),o=n[0],s=void 0===o?0:o,l=n[1];return 0==s-1?(a((function(){!e&&i.opGet(A)||null==r||r(l,!1)})),null):[s-1,l]}))}}),[A]),l}var bo={},Bo="css",Co=new Map,xo=0;var So=function(e,t,n,r){var o=Be(Be({},n.getDerivativeToken(e)),t);return r&&(o=r(o)),o},Eo="token";function Fo(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(0,g.useContext)(Xr),o=r.cache.instanceId,i=r.container,A=n.salt,a=void 0===A?"":A,s=n.override,l=void 0===s?bo:s,c=n.formatToken,u=n.getComputedToken,d=n.cssVar,f=function(e,n){for(var r=eo,o=0;oxo&&r.forEach((function(e){!function(e,t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(Kr,'="').concat(e,'"]')).forEach((function(e){var n;e[zr]===t&&(null===(n=e.parentNode)||void 0===n||n.removeChild(e))}))}(e,t),Co.delete(e)}))}(e[0]._themeKey,o)}),(function(e){var t=Tr(e,4),n=t[0],r=t[3];if(d&&r){var A=qt(r,Hr("css-variables-".concat(n._themeKey)),{mark:Vr,prepend:"queue",attachTo:i,priority:-999});A[zr]=o,A.setAttribute(Kr,n._themeKey)}}));return v}const Qo={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var Uo="comm",ko="rule",Io="decl",Oo="@import",Po="@keyframes",To="@layer",Ho=Math.abs,Lo=String.fromCharCode;function _o(e){return e.trim()}function Ro(e,t,n){return e.replace(t,n)}function No(e,t,n){return e.indexOf(t,n)}function Mo(e,t){return 0|e.charCodeAt(t)}function Do(e,t,n){return e.slice(t,n)}function jo(e){return e.length}function Go(e,t){return t.push(e),e}function Ko(e,t){for(var n="",r=0;r0?Mo(Jo,--$o):0,Wo--,10===Yo&&(Wo=1,zo--),Yo}function ei(){return Yo=$o2||oi(Yo)>3?"":" "}function ai(e,t){for(;--t&&ei()&&!(Yo<48||Yo>102||Yo>57&&Yo<65||Yo>70&&Yo<97););return ri(e,ni()+(t<6&&32==ti()&&32==ei()))}function si(e){for(;ei();)switch(Yo){case e:return $o;case 34:case 39:34!==e&&39!==e&&si(Yo);break;case 40:41===e&&si(e);break;case 92:ei()}return $o}function li(e,t){for(;ei()&&e+Yo!==57&&(e+Yo!==84||47!==ti()););return"/*"+ri(t,$o-1)+"*"+Lo(47===e?e:ei())}function ci(e){for(;!oi(ti());)ei();return ri(e,$o)}function ui(e){return function(e){return Jo="",e}(di("",null,null,null,[""],e=function(e){return zo=Wo=1,Xo=jo(Jo=e),$o=0,[]}(e),0,[0],e))}function di(e,t,n,r,o,i,A,a,s){for(var l=0,c=0,u=A,d=0,f=0,h=0,p=1,g=1,m=1,v=0,y="",w=o,b=i,B=r,C=y;g;)switch(h=v,v=ei()){case 40:if(108!=h&&58==Mo(C,u-1)){-1!=No(C+=Ro(ii(v),"&","&\f"),"&\f",Ho(l?a[l-1]:0))&&(m=-1);break}case 34:case 39:case 91:C+=ii(v);break;case 9:case 10:case 13:case 32:C+=Ai(h);break;case 92:C+=ai(ni()-1,7);continue;case 47:switch(ti()){case 42:case 47:Go(hi(li(ei(),ni()),t,n,s),s),5!=oi(h||1)&&5!=oi(ti()||1)||!jo(C)||" "===Do(C,-1,void 0)||(C+=" ");break;default:C+="/"}break;case 123*p:a[l++]=jo(C)*m;case 125*p:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+c:-1==m&&(C=Ro(C,/\f/g,"")),f>0&&(jo(C)-u||0===p&&47===h)&&Go(f>32?pi(C+";",r,n,u-1,s):pi(Ro(C," ","")+";",r,n,u-2,s),s);break;case 59:C+=";";default:if(Go(B=fi(C,t,n,l,c,o,a,y,w=[],b=[],u,i),i),123===v)if(0===c)di(C,t,B,B,w,i,u,a,b);else switch(99===d&&110===Mo(C,3)?100:d){case 100:case 108:case 109:case 115:di(e,B,B,r&&Go(fi(e,B,B,0,0,o,a,y,o,w=[],u,b),b),o,b,u,a,r?w:b);break;default:di(C,B,B,B,[""],b,0,a,b)}}l=c=f=0,p=m=1,y=C="",u=A;break;case 58:u=1+jo(C),f=h;default:if(p<1)if(123==v)--p;else if(125==v&&0==p++&&125==Zo())continue;switch(C+=Lo(v),v*p){case 38:m=c>0?1:(C+="\f",-1);break;case 44:a[l++]=(jo(C)-1)*m,m=1;break;case 64:45===ti()&&(C+=ii(ei())),d=ti(),c=u=jo(y=C+=ci(ni())),v++;break;case 45:45===h&&2==jo(C)&&(p=0)}}return i}function fi(e,t,n,r,o,i,A,a,s,l,c,u){for(var d=o-1,f=0===o?i:[""],h=function(e){return e.length}(f),p=0,g=0,m=0;p0?f[v]+" "+y:Ro(y,/&\f/g,f[v])))&&(s[m++]=w);return qo(e,t,n,0===o?ko:a,s,l,c,u)}function hi(e,t,n,r){return qo(e,t,n,Uo,Lo(Yo),Do(e,2,-2),0,r)}function pi(e,t,n,r,o){return qo(e,t,n,Io,Do(e,0,r),Do(e,r+1,-1),r,o)}var gi,mi="data-ant-cssinjs-cache-path",vi="_FILE_STYLE__",yi=!0;var wi="_multi_value_";function bi(e){return Ko(ui(e),Vo).replace(/\{%%%\:[^;];}/g,";")}var Bi=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},o=r.root,i=r.injectHash,A=r.parentSelectors,a=n.hashId,s=n.layer,l=(n.path,n.hashPriority),c=n.transformers,u=void 0===c?[]:c,d=(n.linters,""),f={};function h(t){var r=t.getName(a);if(!f[r]){var o=Tr(e(t.style,n,{root:!1,parentSelectors:A}),1)[0];f[r]="@keyframes ".concat(t.getName(a)).concat(o)}}var p=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.forEach((function(t){Array.isArray(t)?e(t,n):t&&n.push(t)})),n}(Array.isArray(t)?t:[t]);return p.forEach((function(t){var r="string"!=typeof t||o?t:{};if("string"==typeof r)d+="".concat(r,"\n");else if(r._keyframe)h(r);else{var s=u.reduce((function(e,t){var n;return(null==t||null===(n=t.visit)||void 0===n?void 0:n.call(t,e))||e}),r);Object.keys(s).forEach((function(t){var r=s[t];if("object"!==ve(r)||!r||"animationName"===t&&r._keyframe||function(e){return"object"===ve(e)&&e&&("_skip_check_"in e||wi in e)}(r)){var c;function b(e,t){var n=e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())})),r=t;Qo[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(h(t),r=t.getName(a)),d+="".concat(n,":").concat(r,";")}var u=null!==(c=null==r?void 0:r.value)&&void 0!==c?c:r;"object"===ve(r)&&null!=r&&r[wi]&&Array.isArray(u)?u.forEach((function(e){b(t,e)})):b(t,u)}else{var p=!1,g=t.trim(),m=!1;(o||i)&&a?g.startsWith("@")?p=!0:g=function(e,t,n){if(!t)return e;var r=".".concat(t),o="low"===n?":where(".concat(r,")"):r,i=e.split(",").map((function(e){var t,n=e.trim().split(/\s+/),r=n[0]||"",i=(null===(t=r.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[r="".concat(i).concat(o).concat(r.slice(i.length))].concat(sr(n.slice(1))).join(" ")}));return i.join(",")}("&"===g?"":t,a,l):!o||a||"&"!==g&&""!==g||(g="",m=!0);var v=Tr(e(r,n,{root:m,injectHash:p,parentSelectors:[].concat(sr(A),[g])}),2),y=v[0],w=v[1];f=Be(Be({},f),w),d+="".concat(g).concat(y)}}))}})),o?s&&(d="@layer ".concat(s.name," {").concat(d,"}"),s.dependencies&&(f["@layer ".concat(s.name)]=s.dependencies.map((function(e){return"@layer ".concat(e,", ").concat(s.name,";")})).join("\n"))):d="{".concat(d,"}"),[d,f]};function Ci(e,t){return Hr("".concat(e.join("%")).concat(t))}function xi(){return null}var Si="style";function Ei(e,t){var n=e.token,r=e.path,o=e.hashId,i=e.layer,A=e.nonce,a=e.clientOnly,s=e.order,l=void 0===s?0:s,c=g.useContext(Xr),u=c.autoClear,d=(c.mock,c.defaultCache),f=c.hashPriority,h=c.container,p=c.ssrInline,m=c.transformers,v=c.linters,y=c.cache,w=c.layer,b=n._tokenKey,B=[b];w&&B.push("layer"),B.push.apply(B,sr(r));var C=io,x=wo(Si,B,(function(){var e=B.join("|");if(function(e){return function(){if(!gi&&(gi={},Mt())){var e=document.createElement("div");e.className=mi,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";(t=t.replace(/^"/,"").replace(/"$/,"")).split(";").forEach((function(e){var t=Tr(e.split(":"),2),n=t[0],r=t[1];gi[n]=r}));var n,r=document.querySelector("style[".concat(mi,"]"));r&&(yi=!1,null===(n=r.parentNode)||void 0===n||n.removeChild(r)),document.body.removeChild(e)}}(),!!gi[e]}(e)){var n=function(e){var t=gi[e],n=null;if(t&&Mt())if(yi)n=vi;else{var r=document.querySelector("style[".concat(Vr,'="').concat(gi[e],'"]'));r?n=r.innerHTML:delete gi[e]}return[n,t]}(e),A=Tr(n,2),s=A[0],c=A[1];if(s)return[s,b,c,{},a,l]}var u=t(),d=Tr(Bi(u,{hashId:o,hashPriority:f,layer:w?i:void 0,path:r.join("-"),transformers:m,linters:v}),2),h=d[0],p=d[1],g=bi(h),y=Ci(B,g);return[g,b,y,p,a,l]}),(function(e,t){var n=Tr(e,3)[2];(t||u)&&io&&Jt(n,{mark:Vr})}),(function(e){var t=Tr(e,4),n=t[0],r=(t[1],t[2]),o=t[3];if(C&&n!==vi){var i={mark:Vr,prepend:!w&&"queue",attachTo:h,priority:l},a="function"==typeof A?A():A;a&&(i.csp={nonce:a});var s=[],c=[];Object.keys(o).forEach((function(e){e.startsWith("@layer")?s.push(e):c.push(e)})),s.forEach((function(e){qt(bi(o[e]),"_layer-".concat(e),Be(Be({},i),{},{prepend:!0}))}));var u=qt(n,r,i);u[zr]=y.instanceId,u.setAttribute(Kr,b),c.forEach((function(e){qt(bi(o[e]),"_effect-".concat(e),i)}))}})),S=Tr(x,3),E=S[0],F=S[1],Q=S[2];return function(e){var t;return t=p&&!C&&d?g.createElement("style",me({},we(we({},Kr,F),Vr,Q),{dangerouslySetInnerHTML:{__html:E}})):g.createElement(xi,null),g.createElement(g.Fragment,null,t,e)}}var Fi="cssVar";we(we(we({},Si,(function(e,t,n){var r=Tr(e,6),o=r[0],i=r[1],A=r[2],a=r[3],s=r[4],l=r[5],c=(n||{}).plain;if(s)return null;var u=o,d={"data-rc-order":"prependQueue","data-rc-priority":"".concat(l)};return u=ao(o,i,A,d,c),a&&Object.keys(a).forEach((function(e){if(!t[e]){t[e]=!0;var n=ao(bi(a[e]),i,"_effect-".concat(e),d,c);e.startsWith("@layer")?u=n+u:u+=n}})),[l,A,u]})),Eo,(function(e,t,n){var r=Tr(e,5),o=r[2],i=r[3],A=r[4],a=(n||{}).plain;if(!i)return null;var s=o._tokenKey;return[-999,s,ao(i,A,s,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},a)]})),Fi,(function(e,t,n){var r=Tr(e,4),o=r[1],i=r[2],A=r[3],a=(n||{}).plain;return o?[-999,i,ao(o,A,i,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},a)]:null}));var Qi=function(){function e(t,n){_r(this,e),we(this,"name",void 0),we(this,"style",void 0),we(this,"_keyframe",!0),this.name=t,this.style=n}return Nr(e,[{key:"getName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(e,"-").concat(this.name):this.name}}]),e}();const Ui=Qi;function ki(e){return e.notSplit=!0,e}function Ii(e,t){for(var n=e,r=0;r3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===n&&!Ii(e,t.slice(0,-1))?e:Oi(e,t,n,r)}function Ti(e){return Array.isArray(e)?[]:{}}ki(["borderTop","borderBottom"]),ki(["borderTop"]),ki(["borderBottom"]),ki(["borderLeft","borderRight"]),ki(["borderLeft"]),ki(["borderRight"]);var Hi="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;function Li(){for(var e=arguments.length,t=new Array(e),n=0;n{const e=()=>{};return e.deprecated=_i,e},Mi=(0,g.createContext)(void 0),Di=Be(Be({},{yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}),{},{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",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",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"}),ji={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Gi={lang:Object.assign({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"]},Di),timePickerLocale:Object.assign({},ji)},Ki="${label} is not a valid ${type}",Vi={locale:"en",Pagination:{items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"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",page_size:"Page Size"},DatePicker:Gi,TimePicker:ji,Calendar:Gi,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"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},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",deselectAll:"Deselect 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",collapse:"Collapse"},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:Ki,method:Ki,array:Ki,object:Ki,number:Ki,date:Ki,boolean:Ki,integer:Ki,float:Ki,regexp:Ki,email:Ki,url:Ki,hex:Ki},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"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}};let zi=Object.assign({},Vi.Modal),Wi=[];const Xi=()=>Wi.reduce(((e,t)=>Object.assign(Object.assign({},e),t)),Vi.Modal);function $i(){return zi}const Yi=(0,g.createContext)(void 0),Ji=e=>{const{locale:t={},children:n,_ANT_MARK__:r}=e;g.useEffect((()=>{const e=function(e){if(e){const t=Object.assign({},e);return Wi.push(t),zi=Xi(),()=>{Wi=Wi.filter((e=>e!==t)),zi=Xi()}}zi=Object.assign({},Vi.Modal)}(null==t?void 0:t.Modal);return e}),[t]);const o=g.useMemo((()=>Object.assign(Object.assign({},t),{exist:!0})),[t]);return g.createElement(Yi.Provider,{value:o},n)},qi={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},Zi=Object.assign(Object.assign({},qi),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'Noto Color Emoji'",fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});var eA=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=function(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}(t)),this.originalInput=t;var o=ze(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=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=He(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=Me(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=Me(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=Re(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=Re(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),De(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),function(e,t,n,r,o){var i=[_e(Math.round(e).toString(16)),_e(Math.round(t).toString(16)),_e(Math.round(n).toString(16)),_e(je(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("")}(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*Pe(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*Pe(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="#"+De(this.r,this.g,this.b,!1),t=0,n=Object.entries(Ve);t=0;return t||!r||!e.startsWith("hex")&&"name"!==e?("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()):"name"===e&&0===this.a?this.toName():this.toRgbString()},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=Te(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=Te(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=Te(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=Te(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;return new e({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})},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);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,A=[],a=1/t;t--;)A.push(new e({h:r,s:o,v:i})),i=(i+a)%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;Anew eA(e).setAlpha(t).toRgbString(),rA=(e,t)=>new eA(e).darken(t).toHexString(),oA=e=>{const t=ut(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},iA=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:nA(r,.88),colorTextSecondary:nA(r,.65),colorTextTertiary:nA(r,.45),colorTextQuaternary:nA(r,.25),colorFill:nA(r,.15),colorFillSecondary:nA(r,.06),colorFillTertiary:nA(r,.04),colorFillQuaternary:nA(r,.02),colorBgLayout:rA(n,4),colorBgContainer:rA(n,0),colorBgElevated:rA(n,0),colorBgSpotlight:nA(r,.85),colorBgBlur:"transparent",colorBorder:rA(n,15),colorBorderSecondary:rA(n,6)}},AA=Zr((function(e){dt.pink=dt.magenta,Et.pink=Et.magenta;const t=Object.keys(qi).map((t=>{const n=e[t]===dt[t]?Et[t]:ut(e[t]);return new Array(10).fill(1).reduce(((e,r,o)=>(e[`${t}-${o+1}`]=n[o],e[`${t}${o+1}`]=n[o],e)),{})})).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),function(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:o,colorWarning:i,colorError:A,colorInfo:a,colorPrimary:s,colorBgBase:l,colorTextBase:c}=e,u=n(s),d=n(o),f=n(i),h=n(A),p=n(a),g=r(l,c),m=n(e.colorLink||e.colorInfo);return Object.assign(Object.assign({},g),{colorPrimaryBg:u[1],colorPrimaryBgHover:u[2],colorPrimaryBorder:u[3],colorPrimaryBorderHover:u[4],colorPrimaryHover:u[5],colorPrimary:u[6],colorPrimaryActive:u[7],colorPrimaryTextHover:u[8],colorPrimaryText:u[9],colorPrimaryTextActive:u[10],colorSuccessBg:d[1],colorSuccessBgHover:d[2],colorSuccessBorder:d[3],colorSuccessBorderHover:d[4],colorSuccessHover:d[4],colorSuccess:d[6],colorSuccessActive:d[7],colorSuccessTextHover:d[8],colorSuccessText:d[9],colorSuccessTextActive:d[10],colorErrorBg:h[1],colorErrorBgHover:h[2],colorErrorBgActive:h[3],colorErrorBorder:h[3],colorErrorBorderHover:h[4],colorErrorHover:h[5],colorError:h[6],colorErrorActive:h[7],colorErrorTextHover:h[8],colorErrorText:h[9],colorErrorTextActive:h[10],colorWarningBg:f[1],colorWarningBgHover:f[2],colorWarningBorder:f[3],colorWarningBorderHover:f[4],colorWarningHover:f[4],colorWarning:f[6],colorWarningActive:f[7],colorWarningTextHover:f[8],colorWarningText:f[9],colorWarningTextActive:f[10],colorInfoBg:p[1],colorInfoBgHover:p[2],colorInfoBorder:p[3],colorInfoBorderHover:p[4],colorInfoHover:p[4],colorInfo:p[6],colorInfoActive:p[7],colorInfoTextHover:p[8],colorInfoText:p[9],colorInfoTextActive:p[10],colorLinkHover:m[4],colorLink:m[6],colorLinkActive:m[7],colorBgMask:new eA("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}(e,{generateColorPalettes:oA,generateNeutralColorPalettes:iA})),(e=>{const t=function(e){const t=new Array(10).fill(null).map(((t,n)=>{const r=n-1,o=e*Math.pow(Math.E,r/5),i=n>1?Math.floor(o):Math.ceil(o);return 2*Math.floor(i/2)}));return t[1]=e,t.map((e=>({size:e,lineHeight:tA(e)})))}(e),n=t.map((e=>e.size)),r=t.map((e=>e.lineHeight)),o=n[1],i=n[0],A=n[2],a=r[1],s=r[0],l=r[2];return{fontSizeSM:i,fontSize:o,fontSizeLG:A,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:a,lineHeightLG:l,lineHeightSM:s,fontHeight:Math.round(a*o),fontHeightLG:Math.round(l*A),fontHeightSM:Math.round(s*i),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}})(e.fontSize)),function(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}(e)),(e=>{const{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}})(e)),function(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+2*t).toFixed(1)}s`,motionDurationSlow:`${(n+3*t).toFixed(1)}s`,lineWidthBold:o+1},(e=>{let t=e,n=e,r=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}})(r))}(e))})),aA={token:Zi,override:{override:Zi},hashed:!0},sA=g.createContext(aA),lA=`-ant-${Date.now()}-${Math.random()}`;const cA=g.createContext(!1),uA=e=>{let{children:t,disabled:n}=e;const r=g.useContext(cA);return g.createElement(cA.Provider,{value:null!=n?n:r},t)},dA=cA,fA=g.createContext(void 0),hA=e=>{let{children:t,size:n}=e;const r=g.useContext(fA);return g.createElement(fA.Provider,{value:n||r},t)},pA=fA,gA=Object.assign({},m),{useId:mA}=gA,vA=void 0===mA?()=>"":mA;function yA(e){return e instanceof HTMLElement||e instanceof SVGElement}function wA(e){var t,n=function(e){return e&&"object"===ve(e)&&yA(e.nativeElement)?e.nativeElement:yA(e)?e:null}(e);return n||(e instanceof g.Component?null===(t=fr.findDOMNode)||void 0===t?void 0:t.call(fr,e):null)}var bA=["children"],BA=g.createContext({});function CA(e){var t=e.children,n=Ce(e,bA);return g.createElement(BA.Provider,{value:n},t)}function xA(e,t){return xA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},xA(e,t)}function SA(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&xA(e,t)}function EA(e){return EA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},EA(e)}function FA(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(FA=function(){return!!e})()}function QA(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UA(e){var t=FA();return function(){var n,r=EA(e);if(t){var o=EA(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"==ve(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return QA(e)}(this,n)}}const kA=function(e){SA(n,e);var t=UA(n);function n(){return _r(this,n),t.apply(this,arguments)}return Nr(n,[{key:"render",value:function(){return this.props.children}}]),n}(g.Component);function IA(e){var t=g.useRef();t.current=e;var n=g.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),o=0;o1&&void 0!==arguments[1]?arguments[1]:1),t};da.cancel=function(e){var t=ca.get(e);return ua(e),sa(t)};const fa=da;var ha=[MA,DA,jA,GA],pa=[MA,KA],ga=!1;function ma(e){return e===jA||e===GA}function va(e,t,n,r){var o,i,A,a,s=r.motionEnter,l=void 0===s||s,c=r.motionAppear,u=void 0===c||c,d=r.motionLeave,f=void 0===d||d,h=r.motionDeadline,p=r.motionLeaveImmediately,m=r.onAppearPrepare,v=r.onEnterPrepare,y=r.onLeavePrepare,w=r.onAppearStart,b=r.onEnterStart,B=r.onLeaveStart,C=r.onAppearActive,x=r.onEnterActive,S=r.onLeaveActive,E=r.onAppearEnd,F=r.onEnterEnd,Q=r.onLeaveEnd,U=r.onVisibleChanged,k=Tr(OA(),2),I=k[0],O=k[1],P=(o=HA,i=g.useReducer((function(e){return e+1}),0),A=Tr(i,2)[1],a=g.useRef(o),[IA((function(){return a.current})),IA((function(e){a.current="function"==typeof e?e(a.current):e,A()}))]),T=Tr(P,2),H=T[0],L=T[1],_=Tr(OA(null),2),R=_[0],N=_[1],M=H(),D=(0,g.useRef)(!1),j=(0,g.useRef)(null);function G(){return n()}var K=(0,g.useRef)(!1);function V(){L(HA),N(null,!0)}var z=IA((function(e){var t=H();if(t!==HA){var n=G();if(!e||e.deadline||e.target===n){var r,o=K.current;t===LA&&o?r=null==E?void 0:E(n,e):t===_A&&o?r=null==F?void 0:F(n,e):t===RA&&o&&(r=null==Q?void 0:Q(n,e)),o&&!1!==r&&V()}}})),W=Tr(function(e){var t=(0,g.useRef)();function n(t){t&&(t.removeEventListener(oa,e),t.removeEventListener(ra,e))}return g.useEffect((function(){return function(){n(t.current)}}),[]),[function(r){t.current&&t.current!==r&&n(t.current),r&&r!==t.current&&(r.addEventListener(oa,e),r.addEventListener(ra,e),t.current=r)},n]}(z),1)[0],X=function(e){switch(e){case LA:return we(we(we({},MA,m),DA,w),jA,C);case _A:return we(we(we({},MA,v),DA,b),jA,x);case RA:return we(we(we({},MA,y),DA,B),jA,S);default:return{}}},$=g.useMemo((function(){return X(M)}),[M]),Y=Tr(function(e,t,n){var r=Tr(OA(NA),2),o=r[0],i=r[1],A=function(){var e=g.useRef(null);function t(){fa.cancel(e.current)}return g.useEffect((function(){return function(){t()}}),[]),[function n(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;t();var i=fa((function(){o<=1?r({isCanceled:function(){return i!==e.current}}):n(r,o-1)}));e.current=i},t]}(),a=Tr(A,2),s=a[0],l=a[1],c=t?pa:ha;return Aa((function(){if(o!==NA&&o!==GA){var e=c.indexOf(o),t=c[e+1],r=n(o);r===ga?i(t,!0):t&&s((function(e){function n(){e.isCanceled()||i(t,!0)}!0===r?n():Promise.resolve(r).then(n)}))}}),[e,o]),g.useEffect((function(){return function(){l()}}),[]),[function(){i(MA,!0)},o]}(M,!e,(function(e){if(e===MA){var t=$[MA];return t?t(G()):ga}var n;return q in $&&N((null===(n=$[q])||void 0===n?void 0:n.call($,G(),null))||null),q===jA&&M!==HA&&(W(G()),h>0&&(clearTimeout(j.current),j.current=setTimeout((function(){z({deadline:!0})}),h))),q===KA&&V(),true})),2),J=Y[0],q=Y[1],Z=ma(q);K.current=Z,Aa((function(){O(t);var n,r=D.current;D.current=!0,!r&&t&&u&&(n=LA),r&&t&&l&&(n=_A),(r&&!t&&f||!r&&p&&!t&&f)&&(n=RA);var o=X(n);n&&(e||o[MA])?(L(n),J()):L(HA)}),[t]),(0,g.useEffect)((function(){(M===LA&&!u||M===_A&&!l||M===RA&&!f)&&L(HA)}),[u,l,f]),(0,g.useEffect)((function(){return function(){D.current=!1,clearTimeout(j.current)}}),[]);var ee=g.useRef(!1);(0,g.useEffect)((function(){I&&(ee.current=!0),void 0!==I&&M===HA&&((ee.current||I)&&(null==U||U(I)),ee.current=!0)}),[I,M]);var te=R;return $[MA]&&q===DA&&(te=Be({transition:"none"},te)),[M,q,te,null!=I?I:t]}const ya=function(e){var t=e;"object"===ve(e)&&(t=e.transitionSupport);var n=g.forwardRef((function(e,n){var r=e.visible,o=void 0===r||r,i=e.removeOnLeave,A=void 0===i||i,a=e.forceRender,s=e.children,l=e.motionName,c=e.leavedClassName,u=e.eventProps,d=function(e,n){return!(!e.motionName||!t||!1===n)}(e,g.useContext(BA).motion),f=(0,g.useRef)(),h=(0,g.useRef)(),p=Tr(va(d,o,(function(){try{return f.current instanceof HTMLElement?f.current:wA(h.current)}catch(e){return null}}),e),4),m=p[0],v=p[1],y=p[2],w=p[3],b=g.useRef(w);w&&(b.current=!0);var B,C=g.useCallback((function(e){f.current=e,Qe(n,e)}),[n]),x=Be(Be({},u),{},{visible:o});if(s)if(m===HA)B=w?s(Be({},x),C):!A&&b.current&&c?s(Be(Be({},x),{},{className:c}),C):a||!A&&!c?s(Be(Be({},x),{},{style:{display:"none"}}),C):null;else{var S;v===MA?S="prepare":ma(v)?S="active":v===DA&&(S="start");var E=ia(l,"".concat(m,"-").concat(S));B=s(Be(Be({},x),{},{className:Se()(ia(l,m),we(we({},E,E&&S),l,"string"==typeof l)),style:y}),C)}else B=null;return g.isValidElement(B)&&Ie(B)&&(B.ref||(B=g.cloneElement(B,{ref:C}))),g.createElement(kA,{ref:h},B)}));return n.displayName="CSSMotion",n}(na);var wa="add",ba="keep",Ba="remove",Ca="removed";function xa(e){var t;return Be(Be({},t=e&&"object"===ve(e)&&"key"in e?e:{key:e}),{},{key:String(t.key)})}function Sa(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(xa)}var Ea=["component","children","onVisibleChanged","onAllRemoved"],Fa=["status"],Qa=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];const Ua=function(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ya,t=function(t){SA(r,t);var n=UA(r);function r(){var e;_r(this,r);for(var t=arguments.length,o=new Array(t),i=0;i0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,o=t.length,i=Sa(e),A=Sa(t);i.forEach((function(e){for(var t=!1,i=r;i1})).forEach((function(e){(n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==Ba}))).forEach((function(t){t.key===e&&(t.status=ba)}))})),n}(r,o);return{keyEntities:i.filter((function(e){var t=r.find((function(t){var n=t.key;return e.key===n}));return!t||t.status!==Ca||e.status!==Ba}))}}}]),r}(g.Component);return we(t,"defaultProps",{component:"div"}),t}(na),ka=ya,Ia="5.20.4";function Oa(e){return e>=0&&e<=255}const Pa=function(e,t){const{r:n,g:r,b:o,a:i}=new eA(e).toRgb();if(i<1)return e;const{r:A,g:a,b:s}=new eA(t).toRgb();for(let e=.01;e<=1;e+=.01){const t=Math.round((n-A*(1-e))/e),i=Math.round((r-a*(1-e))/e),l=Math.round((o-s*(1-e))/e);if(Oa(t)&&Oa(i)&&Oa(l))return new eA({r:t,g:i,b:l,a:Math.round(100*e)/100}).toRgbString()}return new eA({r:n,g:r,b:o,a:1}).toRgbString()};var Ta=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{delete r[e]}));const o=Object.assign(Object.assign({},n),r);if(!1===o.motion){const e="0s";o.motionDurationFast=e,o.motionDurationMid=e,o.motionDurationSlow=e}return Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:Pa(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:Pa(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:Pa(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:4*o.lineWidth,lineWidth:o.lineWidth,controlOutlineWidth:2*o.lineWidth,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:Pa(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowSecondary:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTertiary:"\n 0 1px 2px 0 rgba(0, 0, 0, 0.03),\n 0 1px 6px -1px rgba(0, 0, 0, 0.02),\n 0 2px 4px 0 rgba(0, 0, 0, 0.02)\n ",screenXS:480,screenXSMin:480,screenXSMax:575,screenSM:576,screenSMMin:576,screenSMMax:767,screenMD:768,screenMDMin:768,screenMDMax:991,screenLG:992,screenLGMin:992,screenLGMax:1199,screenXL:1200,screenXLMin:1200,screenXLMax:1599,screenXXL:1600,screenXXLMin:1600,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`\n 0 1px 2px -2px ${new eA("rgba(0, 0, 0, 0.16)").toRgbString()},\n 0 3px 6px 0 ${new eA("rgba(0, 0, 0, 0.12)").toRgbString()},\n 0 5px 12px 4px ${new eA("rgba(0, 0, 0, 0.09)").toRgbString()}\n `,boxShadowDrawerRight:"\n -6px 0 16px 0 rgba(0, 0, 0, 0.08),\n -3px 0 6px -4px rgba(0, 0, 0, 0.12),\n -9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerLeft:"\n 6px 0 16px 0 rgba(0, 0, 0, 0.08),\n 3px 0 6px -4px rgba(0, 0, 0, 0.12),\n 9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerUp:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerDown:"\n 0 -6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 -3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 -9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}var La=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{const r=n.getDerivativeToken(e),{override:o}=t,i=La(t,["override"]);let A=Object.assign(Object.assign({},r),{override:o});return A=Ha(A),i&&Object.entries(i).forEach((e=>{let[t,n]=e;const{theme:r}=n,o=La(n,["theme"]);let i=o;r&&(i=Ma(Object.assign(Object.assign({},A),o),{override:o},r)),A[t]=i})),A};function Da(){const{token:e,hashed:t,theme:n,override:r,cssVar:o}=g.useContext(sA),i=`${Ia}-${t||""}`,A=n||AA,[a,s,l]=Fo(A,[Zi,e],{salt:i,override:r,getComputedToken:Ma,formatToken:Ha,cssVar:o&&{prefix:o.prefix,key:o.key,unitless:_a,ignore:Ra,preserve:Na}});return[A,l,t?s:"",a,o]}function ja(e){const{children:t}=e,[,n]=Da(),{motion:r}=n,o=g.useRef(!1);return o.current=o.current||!1===r,o.current?g.createElement(CA,{motion:r},t):t}const Ga=()=>null,Ka={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},Va=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},za=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),Wa=e=>({outline:`${Ao(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),Xa=e=>({"&:focus-visible":Object.assign({},Wa(e))}),$a=(e,t)=>{const[n,r]=Da();return Ei({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>null==t?void 0:t.nonce,layer:{name:"antd"}},(()=>[{[`.${e}`]:Object.assign(Object.assign({},{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),{[`.${e} .${e}-icon`]:{display:"block"}})}]))};const Ya=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"];let Ja,qa,Za,es;function ts(){return Ja||Fr}function ns(){return qa||Qr}const rs=()=>({getPrefixCls:(e,t)=>t||(e?`${ts()}-${e}`:ts()),getIconPrefixCls:ns,getRootPrefixCls:()=>Ja||ts(),getTheme:()=>Za,holderRender:es}),os=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,alert:o,anchor:i,form:A,locale:a,componentSize:s,direction:l,space:c,virtual:u,dropdownMatchSelectWidth:d,popupMatchSelectWidth:f,popupOverflow:h,legacyLocale:p,parentContext:m,iconPrefixCls:v,theme:y,componentDisabled:w,segmented:b,statistic:B,spin:C,calendar:x,carousel:S,cascader:E,collapse:F,typography:Q,checkbox:U,descriptions:k,divider:I,drawer:O,skeleton:P,steps:T,image:H,layout:L,list:_,mentions:R,modal:N,progress:M,result:D,slider:j,breadcrumb:G,menu:K,pagination:V,input:z,textArea:W,empty:X,badge:$,radio:Y,rate:J,switch:q,transfer:Z,avatar:ee,message:te,tag:ne,table:re,card:oe,tabs:ie,timeline:Ae,timePicker:ae,upload:se,notification:le,tree:ce,colorPicker:ue,datePicker:de,rangePicker:fe,flex:he,wave:pe,dropdown:ge,warning:me,tour:ve,floatButtonGroup:ye,variant:we,inputNumber:be,treeSelect:Be}=e,Ce=g.useCallback(((t,n)=>{const{prefixCls:r}=e;if(n)return n;const o=r||m.getPrefixCls("");return t?`${o}-${t}`:o}),[m.getPrefixCls,e.prefixCls]),xe=v||m.iconPrefixCls||Qr,Se=n||m.csp;$a(xe,Se);const Ee=function(e,t,n){var r;Ni();const o=e||{},i=!1!==o.inherit&&t?t:Object.assign(Object.assign({},aA),{hashed:null!==(r=null==t?void 0:t.hashed)&&void 0!==r?r:aA.hashed,cssVar:null==t?void 0:t.cssVar}),A=vA();return Fe((()=>{var r,a;if(!e)return t;const s=Object.assign({},i.components);Object.keys(e.components||{}).forEach((t=>{s[t]=Object.assign(Object.assign({},s[t]),e.components[t])}));const l=`css-var-${A.replace(/:/g,"")}`,c=(null!==(r=o.cssVar)&&void 0!==r?r:i.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:null==n?void 0:n.prefixCls},"object"==typeof i.cssVar?i.cssVar:{}),"object"==typeof o.cssVar?o.cssVar:{}),{key:"object"==typeof o.cssVar&&(null===(a=o.cssVar)||void 0===a?void 0:a.key)||l});return Object.assign(Object.assign(Object.assign({},i),o),{token:Object.assign(Object.assign({},i.token),o.token),components:s,cssVar:c})}),[o,i],((e,t)=>e.some(((e,n)=>{const r=t[n];return!Lr(e,r,!0)}))))}(y,m.theme,{prefixCls:Ce("")}),Qe={csp:Se,autoInsertSpaceInButton:r,alert:o,anchor:i,locale:a||p,direction:l,space:c,virtual:u,popupMatchSelectWidth:null!=f?f:d,popupOverflow:h,getPrefixCls:Ce,iconPrefixCls:xe,theme:Ee,segmented:b,statistic:B,spin:C,calendar:x,carousel:S,cascader:E,collapse:F,typography:Q,checkbox:U,descriptions:k,divider:I,drawer:O,skeleton:P,steps:T,image:H,input:z,textArea:W,layout:L,list:_,mentions:R,modal:N,progress:M,result:D,slider:j,breadcrumb:G,menu:K,pagination:V,empty:X,badge:$,radio:Y,rate:J,switch:q,transfer:Z,avatar:ee,message:te,tag:ne,table:re,card:oe,tabs:ie,timeline:Ae,timePicker:ae,upload:se,notification:le,tree:ce,colorPicker:ue,datePicker:de,rangePicker:fe,flex:he,wave:pe,dropdown:ge,warning:me,tour:ve,floatButtonGroup:ye,variant:we,inputNumber:be,treeSelect:Be},Ue=Object.assign({},m);Object.keys(Qe).forEach((e=>{void 0!==Qe[e]&&(Ue[e]=Qe[e])})),Ya.forEach((t=>{const n=e[t];n&&(Ue[t]=n)})),void 0!==r&&(Ue.button=Object.assign({autoInsertSpace:r},Ue.button));const ke=Fe((()=>Ue),Ue,((e,t)=>{const n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some((n=>e[n]!==t[n]))})),Ie=g.useMemo((()=>({prefixCls:xe,csp:Se})),[xe,Se]);let Pe=g.createElement(g.Fragment,null,g.createElement(Ga,{dropdownMatchSelectWidth:d}),t);const Te=g.useMemo((()=>{var e,t,n,r;return Li((null===(e=Vi.Form)||void 0===e?void 0:e.defaultValidateMessages)||{},(null===(n=null===(t=ke.locale)||void 0===t?void 0:t.Form)||void 0===n?void 0:n.defaultValidateMessages)||{},(null===(r=ke.form)||void 0===r?void 0:r.validateMessages)||{},(null==A?void 0:A.validateMessages)||{})}),[ke,null==A?void 0:A.validateMessages]);Object.keys(Te).length>0&&(Pe=g.createElement(Mi.Provider,{value:Te},Pe)),a&&(Pe=g.createElement(Ji,{locale:a,_ANT_MARK__:"internalMark"},Pe)),(xe||Se)&&(Pe=g.createElement(Oe.Provider,{value:Ie},Pe)),s&&(Pe=g.createElement(hA,{size:s},Pe)),Pe=g.createElement(ja,null,Pe);const He=g.useMemo((()=>{const e=Ee||{},{algorithm:t,token:n,components:r,cssVar:o}=e,i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0)?Zr(t):AA,a={};Object.entries(r||{}).forEach((e=>{let[t,n]=e;const r=Object.assign({},n);"algorithm"in r&&(!0===r.algorithm?r.theme=A:(Array.isArray(r.algorithm)||"function"==typeof r.algorithm)&&(r.theme=Zr(r.algorithm)),delete r.algorithm),a[t]=r}));const s=Object.assign(Object.assign({},Zi),n);return Object.assign(Object.assign({},i),{theme:A,token:s,components:a,override:Object.assign({override:s},a),cssVar:o})}),[Ee]);return y&&(Pe=g.createElement(sA.Provider,{value:He},Pe)),ke.warning&&(Pe=g.createElement(Ri.Provider,{value:ke.warning},Pe)),void 0!==w&&(Pe=g.createElement(uA,{disabled:w},Pe)),g.createElement(kr.Provider,{value:ke},Pe)},is=e=>{const t=g.useContext(kr),n=g.useContext(Yi);return g.createElement(os,Object.assign({parentContext:t,legacyLocale:n},e))};is.ConfigContext=kr,is.SizeContext=pA,is.config=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:o}=e;void 0!==t&&(Ja=t),void 0!==n&&(qa=n),"holderRender"in e&&(es=o),r&&(function(e){return Object.keys(e).some((e=>e.endsWith("Color")))}(r)?function(e,t){const n=function(e,t){const n={},r=(e,t)=>{let n=e.clone();return n=(null==t?void 0:t(n))||n,n.toRgbString()},o=(e,t)=>{const o=new eA(e),i=ut(o.toRgbString());n[`${t}-color`]=r(o),n[`${t}-color-disabled`]=i[1],n[`${t}-color-hover`]=i[4],n[`${t}-color-active`]=i[6],n[`${t}-color-outline`]=o.clone().setAlpha(.2).toRgbString(),n[`${t}-color-deprecated-bg`]=i[0],n[`${t}-color-deprecated-border`]=i[2]};if(t.primaryColor){o(t.primaryColor,"primary");const e=new eA(t.primaryColor),i=ut(e.toRgbString());i.forEach(((e,t)=>{n[`primary-${t+1}`]=e})),n["primary-color-deprecated-l-35"]=r(e,(e=>e.lighten(35))),n["primary-color-deprecated-l-20"]=r(e,(e=>e.lighten(20))),n["primary-color-deprecated-t-20"]=r(e,(e=>e.tint(20))),n["primary-color-deprecated-t-50"]=r(e,(e=>e.tint(50))),n["primary-color-deprecated-f-12"]=r(e,(e=>e.setAlpha(.12*e.getAlpha())));const A=new eA(i[0]);n["primary-color-active-deprecated-f-30"]=r(A,(e=>e.setAlpha(.3*e.getAlpha()))),n["primary-color-active-deprecated-d-02"]=r(A,(e=>e.darken(2)))}return t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info"),`\n :root {\n ${Object.keys(n).map((t=>`--${e}-${t}: ${n[t]};`)).join("\n")}\n }\n `.trim()}(e,t);Mt()&&qt(n,`${lA}-dynamic-theme`)}(ts(),r):Za=r)},is.useConfig=function(){return{componentDisabled:(0,g.useContext)(dA),componentSize:(0,g.useContext)(pA)}},Object.defineProperty(is,"SizeContext",{get:()=>pA});const As=is,as={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"};var ss=["icon","className","onClick","style","primaryColor","secondaryColor"],ls={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},cs=function(e){var t=e.icon,n=e.className,r=e.onClick,o=e.style,i=e.primaryColor,A=e.secondaryColor,a=Ce(e,ss),s=g.useRef(),l=ls;if(i&&(l={primaryColor:i,secondaryColor:A||fn(i)}),gn(s),ln(cn(t),"icon should be icon definiton, but got ".concat(t)),!cn(t))return null;var c=t;return c&&"function"==typeof c.icon&&(c=Be(Be({},c),{},{icon:c.icon(l.primaryColor,l.secondaryColor)})),dn(c.icon,"svg-".concat(c.name),Be(Be({className:n,onClick:r,style:o,"data-icon":c.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},a),{},{ref:s}))};cs.displayName="IconReact",cs.getTwoToneColors=function(){return Be({},ls)},cs.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;ls.primaryColor=t,ls.secondaryColor=n||fn(t),ls.calculated=!!n};const us=cs;function ds(e){var t=Tr(hn(e),2),n=t[0],r=t[1];return us.setTwoToneColors({primaryColor:n,secondaryColor:r})}var fs=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];ds(bt.primary);var hs=g.forwardRef((function(e,t){var n=e.className,r=e.icon,o=e.spin,i=e.rotate,A=e.tabIndex,a=e.onClick,s=e.twoToneColor,l=Ce(e,fs),c=g.useContext(Oe),u=c.prefixCls,d=void 0===u?"anticon":u,f=c.rootClassName,h=Se()(f,d,we(we({},"".concat(d,"-").concat(r.name),!!r.name),"".concat(d,"-spin"),!!o||"loading"===r.name),n),p=A;void 0===p&&a&&(p=-1);var m=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,v=Tr(hn(s),2),y=v[0],w=v[1];return g.createElement("span",me({role:"img","aria-label":r.name},l,{ref:t,tabIndex:p,onClick:a,className:h}),g.createElement(us,{icon:r,primaryColor:y,secondaryColor:w,style:m}))}));hs.displayName="AntdIcon",hs.getTwoToneColor=function(){var e=us.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},hs.setTwoToneColor=ds;const ps=hs;var gs=function(e,t){return g.createElement(ps,me({},e,{ref:t,icon:as}))};const ms=g.forwardRef(gs),vs={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"};var ys=function(e,t){return g.createElement(ps,me({},e,{ref:t,icon:vs}))};const ws=g.forwardRef(ys),bs={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"};var Bs=function(e,t){return g.createElement(ps,me({},e,{ref:t,icon:bs}))};const Cs=g.forwardRef(Bs),xs={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"};var Ss=function(e,t){return g.createElement(ps,me({},e,{ref:t,icon:xs}))};const Es=g.forwardRef(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"};var Qs=function(e,t){return g.createElement(ps,me({},e,{ref:t,icon:Fs}))};const Us=g.forwardRef(Qs);var ks={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>=ks.F1&&t<=ks.F12)return!1;switch(t){case ks.ALT:case ks.CAPS_LOCK:case ks.CONTEXT_MENU:case ks.CTRL:case ks.DOWN:case ks.END:case ks.ESC:case ks.HOME:case ks.INSERT:case ks.LEFT:case ks.MAC_FF_META:case ks.META:case ks.NUMLOCK:case ks.NUM_CENTER:case ks.PAGE_DOWN:case ks.PAGE_UP:case ks.PAUSE:case ks.PRINT_SCREEN:case ks.RIGHT:case ks.SHIFT:case ks.UP:case ks.WIN_KEY:case ks.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=ks.ZERO&&e<=ks.NINE)return!0;if(e>=ks.NUM_ZERO&&e<=ks.NUM_MULTIPLY)return!0;if(e>=ks.A&&e<=ks.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case ks.SPACE:case ks.QUESTION_MARK:case ks.NUM_PLUS:case ks.NUM_MINUS:case ks.NUM_PERIOD:case ks.NUM_DIVISION:case ks.SEMICOLON:case ks.DASH:case ks.EQUALS:case ks.COMMA:case ks.PERIOD:case ks.SLASH:case ks.APOSTROPHE:case ks.SINGLE_QUOTE:case ks.OPEN_SQUARE_BRACKET:case ks.BACKSLASH:case ks.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};const Is=ks;var Os="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart 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").split(/[\s\n]+/),Ps="aria-",Ts="data-";function Hs(e,t){return 0===e.indexOf(t)}function Ls(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}:Be({},n);var r={};return Object.keys(e).forEach((function(n){(t.aria&&("role"===n||Hs(n,Ps))||t.data&&Hs(n,Ts)||t.attr&&Os.includes(n))&&(r[n]=e[n])})),r}var _s=g.forwardRef((function(e,t){var n=e.prefixCls,r=e.style,o=e.className,i=e.duration,A=void 0===i?4.5:i,a=e.showProgress,s=e.pauseOnHover,l=void 0===s||s,c=e.eventKey,u=e.content,d=e.closable,f=e.closeIcon,h=void 0===f?"x":f,p=e.props,m=e.onClick,v=e.onNoticeClose,y=e.times,w=e.hovering,b=Tr(g.useState(!1),2),B=b[0],C=b[1],x=Tr(g.useState(0),2),S=x[0],E=x[1],F=Tr(g.useState(0),2),Q=F[0],U=F[1],k=w||B,I=A>0&&a,O=function(){v(c)};g.useEffect((function(){if(!k&&A>0){var e=Date.now()-Q,t=setTimeout((function(){O()}),1e3*A-Q);return function(){l&&clearTimeout(t),U(Date.now()-e)}}}),[A,k,y]),g.useEffect((function(){if(!k&&I&&(l||0===Q)){var e,t=performance.now();return function n(){cancelAnimationFrame(e),e=requestAnimationFrame((function(e){var r=e+Q-t,o=Math.min(r/(1e3*A),1);E(100*o),o<1&&n()}))}(),function(){l&&cancelAnimationFrame(e)}}}),[A,Q,k,I,y]);var P=g.useMemo((function(){return"object"===ve(d)&&null!==d?d:d?{closeIcon:h}:{}}),[d,h]),T=Ls(P,!0),H=100-(!S||S<0?0:S>100?100:S),L="".concat(n,"-notice");return g.createElement("div",me({},p,{ref:t,className:Se()(L,o,we({},"".concat(L,"-closable"),d)),style:r,onMouseEnter:function(e){var t;C(!0),null==p||null===(t=p.onMouseEnter)||void 0===t||t.call(p,e)},onMouseLeave:function(e){var t;C(!1),null==p||null===(t=p.onMouseLeave)||void 0===t||t.call(p,e)},onClick:m}),g.createElement("div",{className:"".concat(L,"-content")},u),d&&g.createElement("a",me({tabIndex:0,className:"".concat(L,"-close"),onKeyDown:function(e){"Enter"!==e.key&&"Enter"!==e.code&&e.keyCode!==Is.ENTER||O()},"aria-label":"Close"},T,{onClick:function(e){e.preventDefault(),e.stopPropagation(),O()}}),P.closeIcon),I&&g.createElement("progress",{className:"".concat(L,"-progress"),max:"100",value:H},H+"%"))}));const Rs=_s;var Ns=g.createContext({});const Ms=function(e){var t=e.children,n=e.classNames;return g.createElement(Ns.Provider,{value:{classNames:n}},t)};var Ds=["className","style","classNames","styles"];const js=function(e){var t,n,r,o,i,A=e.configList,a=e.placement,s=e.prefixCls,l=e.className,c=e.style,u=e.motion,d=e.onAllNoticeRemoved,f=e.onNoticeClose,h=e.stack,p=(0,g.useContext)(Ns).classNames,m=(0,g.useRef)({}),v=Tr((0,g.useState)(null),2),y=v[0],w=v[1],b=Tr((0,g.useState)([]),2),B=b[0],C=b[1],x=A.map((function(e){return{config:e,key:String(e.key)}})),S=Tr((i={offset:8,threshold:3,gap:16},(t=h)&&"object"===ve(t)&&(i.offset=null!==(n=t.offset)&&void 0!==n?n:8,i.threshold=null!==(r=t.threshold)&&void 0!==r?r:3,i.gap=null!==(o=t.gap)&&void 0!==o?o:16),[!!t,i]),2),E=S[0],F=S[1],Q=F.offset,U=F.threshold,k=F.gap,I=E&&(B.length>0||x.length<=U),O="function"==typeof u?u(a):u;return(0,g.useEffect)((function(){E&&B.length>1&&C((function(e){return e.filter((function(e){return x.some((function(t){var n=t.key;return e===n}))}))}))}),[B,x,E]),(0,g.useEffect)((function(){var e,t;E&&m.current[null===(e=x[x.length-1])||void 0===e?void 0:e.key]&&w(m.current[null===(t=x[x.length-1])||void 0===t?void 0:t.key])}),[x,E]),g.createElement(Ua,me({key:a,className:Se()(s,"".concat(s,"-").concat(a),null==p?void 0:p.list,l,we(we({},"".concat(s,"-stack"),!!E),"".concat(s,"-stack-expanded"),I)),style:c,keys:x,motionAppear:!0},O,{onAllRemoved:function(){d(a)}}),(function(e,t){var n=e.config,r=e.className,o=e.style,i=e.index,A=n,l=A.key,c=A.times,u=String(l),d=n,h=d.className,v=d.style,w=d.classNames,b=d.styles,S=Ce(d,Ds),F=x.findIndex((function(e){return e.key===u})),U={};if(E){var O=x.length-1-(F>-1?F:i-1),P="top"===a||"bottom"===a?"-50%":"0";if(O>0){var T,H,L;U.height=I?null===(T=m.current[u])||void 0===T?void 0:T.offsetHeight:null==y?void 0:y.offsetHeight;for(var _=0,R=0;R-1?m.current[u]=e:delete m.current[u]},prefixCls:s,classNames:w,styles:b,className:Se()(h,null==p?void 0:p.notice),style:v,times:c,key:l,eventKey:l,onNoticeClose:f,hovering:E&&B.length>0})))}))};var Gs=g.forwardRef((function(e,t){var n=e.prefixCls,r=void 0===n?"rc-notification":n,o=e.container,i=e.motion,A=e.maxCount,a=e.className,s=e.style,l=e.onAllRemoved,c=e.stack,u=e.renderNotifications,d=Tr(g.useState([]),2),f=d[0],h=d[1],p=function(e){var t,n=f.find((function(t){return t.key===e}));null==n||null===(t=n.onClose)||void 0===t||t.call(n),h((function(t){return t.filter((function(t){return t.key!==e}))}))};g.useImperativeHandle(t,(function(){return{open:function(e){h((function(t){var n,r=sr(t),o=r.findIndex((function(t){return t.key===e.key})),i=Be({},e);return o>=0?(i.times=((null===(n=t[o])||void 0===n?void 0:n.times)||0)+1,r[o]=i):(i.times=0,r.push(i)),A>0&&r.length>A&&(r=r.slice(-A)),r}))},close:function(e){p(e)},destroy:function(){h([])}}}));var m=Tr(g.useState({}),2),v=m[0],y=m[1];g.useEffect((function(){var e={};f.forEach((function(t){var n=t.placement,r=void 0===n?"topRight":n;r&&(e[r]=e[r]||[],e[r].push(t))})),Object.keys(v).forEach((function(t){e[t]=e[t]||[]})),y(e)}),[f]);var w=function(e){y((function(t){var n=Be({},t);return(n[e]||[]).length||delete n[e],n}))},b=g.useRef(!1);if(g.useEffect((function(){Object.keys(v).length>0?b.current=!0:b.current&&(null==l||l(),b.current=!1)}),[v]),!o)return null;var B=Object.keys(v);return(0,fr.createPortal)(g.createElement(g.Fragment,null,B.map((function(e){var t=v[e],n=g.createElement(js,{key:e,configList:t,placement:e,prefixCls:r,className:null==a?void 0:a(e),style:null==s?void 0:s(e),motion:i,onNoticeClose:p,onAllNoticeRemoved:w,stack:c});return u?u(n,{prefixCls:r,key:e}):n}))),o)}));const Ks=Gs;var Vs=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],zs=function(){return document.body},Ws=0;const Xs=e=>{const[,,,,t]=Da();return t?`${e}-css-var`:""},$s=g.createContext(void 0),Ys=100,Js={Modal:Ys,Drawer:Ys,Popover:Ys,Popconfirm:Ys,Tooltip:Ys,Tour:Ys},qs={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function Zs(e,t){const[,n]=Da(),r=g.useContext($s),o=e in Js;let i;if(void 0!==t)i=[t,t];else{let A=null!=r?r:0;A+=o?(r?0:n.zIndexPopupBase)+Js[e]:qs[e],i=[void 0===r?t:A,A]}return i}const el=Nr((function e(){_r(this,e)}));var tl="CALC_UNIT",nl=new RegExp(tl,"g");function rl(e){return"number"==typeof e?"".concat(e).concat(tl):e}var ol=function(e){SA(n,e);var t=UA(n);function n(e,r){var o;_r(this,n),we(QA(o=t.call(this)),"result",""),we(QA(o),"unitlessCssVar",void 0),we(QA(o),"lowPriority",void 0);var i=ve(e);return o.unitlessCssVar=r,e instanceof n?o.result="(".concat(e.result,")"):"number"===i?o.result=rl(e):"string"===i&&(o.result=e),o}return Nr(n,[{key:"add",value:function(e){return e instanceof n?this.result="".concat(this.result," + ").concat(e.getResult()):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," + ").concat(rl(e))),this.lowPriority=!0,this}},{key:"sub",value:function(e){return e instanceof n?this.result="".concat(this.result," - ").concat(e.getResult()):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," - ").concat(rl(e))),this.lowPriority=!0,this}},{key:"mul",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof n?this.result="".concat(this.result," * ").concat(e.getResult(!0)):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," * ").concat(e)),this.lowPriority=!1,this}},{key:"div",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof n?this.result="".concat(this.result," / ").concat(e.getResult(!0)):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," / ").concat(e)),this.lowPriority=!1,this}},{key:"getResult",value:function(e){return this.lowPriority||e?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(e){var t=this,n=(e||{}).unit,r=!0;return"boolean"==typeof n?r=n:Array.from(this.unitlessCssVar).some((function(e){return t.result.includes(e)}))&&(r=!1),this.result=this.result.replace(nl,r?"px":""),void 0!==this.lowPriority?"calc(".concat(this.result,")"):this.result}}]),n}(el),il=function(e){SA(n,e);var t=UA(n);function n(e){var r;return _r(this,n),we(QA(r=t.call(this)),"result",0),e instanceof n?r.result=e.result:"number"==typeof e&&(r.result=e),r}return Nr(n,[{key:"add",value:function(e){return e instanceof n?this.result+=e.result:"number"==typeof e&&(this.result+=e),this}},{key:"sub",value:function(e){return e instanceof n?this.result-=e.result:"number"==typeof e&&(this.result-=e),this}},{key:"mul",value:function(e){return e instanceof n?this.result*=e.result:"number"==typeof e&&(this.result*=e),this}},{key:"div",value:function(e){return e instanceof n?this.result/=e.result:"number"==typeof e&&(this.result/=e),this}},{key:"equal",value:function(){return this.result}}]),n}(el);const Al=function(e,t){return"".concat([t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))};function al(e,t,n,r){var o=Be({},t[e]);null!=r&&r.deprecatedTokens&&r.deprecatedTokens.forEach((function(e){var t,n=Tr(e,2),r=n[0],i=n[1];(null!=o&&o[r]||null!=o&&o[i])&&(null!==(t=o[i])&&void 0!==t||(o[i]=null==o?void 0:o[r]))}));var i=Be(Be({},n),o);return Object.keys(i).forEach((function(e){i[e]===t[e]&&delete i[e]})),i}var sl="undefined"!=typeof CSSINJS_STATISTIC,ll=!0;function cl(){for(var e=arguments.length,t=new Array(e),n=0;n1e4){var t=Date.now();this.lastAccessBeat.forEach((function(n,r){t-n>6e5&&(e.map.delete(r),e.lastAccessBeat.delete(r))})),this.accessBeat=0}}}]),e}(),pl=new hl;const gl=function(){return{}},{genStyleHooks:ml,genComponentStyleHook:vl,genSubStyleComponent:yl}=function(e){var t=e.useCSP,n=void 0===t?gl:t,r=e.useToken,o=e.usePrefix,i=e.getResetStyles,A=e.getCommonStyle,a=e.getCompUnitless;function s(e,t,a){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=Array.isArray(e)?e:[e,e],c=Tr(l,1)[0],u=l.join("-");return function(e){var l,d,f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,h=r(),p=h.theme,m=h.realToken,v=h.hashId,y=h.token,w=h.cssVar,b=o(),B=b.rootPrefixCls,C=b.iconPrefixCls,x=n(),S=w?"css":"js",E=(l=function(){var e=new Set;return w&&Object.keys(s.unitless||{}).forEach((function(t){e.add(so(t,w.prefix)),e.add(so(t,Al(c,w.prefix)))})),function(e,t){var n="css"===e?ol:il;return function(e){return new n(e,t)}}(S,e)},d=[S,c,null==w?void 0:w.prefix],g.useMemo((function(){var e=pl.get(d);if(e)return e;var t=l();return pl.set(d,t),t}),d)),F=function(e){return"js"===e?{max:Math.max,min:Math.min}:{max:function(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:e,n=Tr(d(e,t),2)[1],r=Tr(f(t),2);return[r[0],n,r[1]]}},genSubStyleComponent:function(e,t,n){var r=s(e,t,n,Be({resetStyle:!1,order:-998},arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}));return function(e){var t=e.prefixCls,n=e.rootCls;return r(t,void 0===n?t:n),null}},genComponentStyleHook:s}}({usePrefix:()=>{const{getPrefixCls:e,iconPrefixCls:t}=(0,g.useContext)(kr);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{const[e,t,n,r,o]=Da();return{theme:e,realToken:t,hashId:n,token:r,cssVar:o}},useCSP:()=>{const{csp:e,iconPrefixCls:t}=(0,g.useContext)(kr);return $a(t,e),null!=e?e:{}},getResetStyles:e=>[{"&":za(e)}],getCommonStyle:(e,t,n,r)=>{const o=`[class^="${t}"], [class*=" ${t}"]`,i=n?`.${n}`:o,A={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let a={};return!1!==r&&(a={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:Object.assign(Object.assign(Object.assign({},a),A),{[o]:A})}},getCompUnitless:()=>_a}),wl=e=>{const{componentCls:t,iconCls:n,boxShadow:r,colorText:o,colorSuccess:i,colorError:A,colorWarning:a,colorInfo:s,fontSizeLG:l,motionEaseInOutCirc:c,motionDurationSlow:u,marginXS:d,paddingXS:f,borderRadiusLG:h,zIndexPopup:p,contentPadding:g,contentBg:m}=e,v=`${t}-notice`,y=new Ui("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:f,transform:"translateY(0)",opacity:1}}),w=new Ui("MessageMoveOut",{"0%":{maxHeight:e.height,padding:f,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),b={padding:f,textAlign:"center",[`${t}-custom-content`]:{display:"flex",alignItems:"center"},[`${t}-custom-content > ${n}`]:{marginInlineEnd:d,fontSize:l},[`${v}-content`]:{display:"inline-block",padding:g,background:m,borderRadius:h,boxShadow:r,pointerEvents:"all"},[`${t}-success > ${n}`]:{color:i},[`${t}-error > ${n}`]:{color:A},[`${t}-warning > ${n}`]:{color:a},[`${t}-info > ${n},\n ${t}-loading > ${n}`]:{color:s}};return[{[t]:Object.assign(Object.assign({},Va(e)),{color:o,position:"fixed",top:d,width:"100%",pointerEvents:"none",zIndex:p,[`${t}-move-up`]:{animationFillMode:"forwards"},[`\n ${t}-move-up-appear,\n ${t}-move-up-enter\n `]:{animationName:y,animationDuration:u,animationPlayState:"paused",animationTimingFunction:c},[`\n ${t}-move-up-appear${t}-move-up-appear-active,\n ${t}-move-up-enter${t}-move-up-enter-active\n `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:w,animationDuration:u,animationPlayState:"paused",animationTimingFunction:c},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[`${v}-wrapper`]:Object.assign({},b)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},b),{padding:0,textAlign:"start"})}]},bl=ml("Message",(e=>{const t=cl(e,{height:150});return[wl(t)]}),(e=>({zIndexPopup:e.zIndexPopupBase+1e3+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`})));const Bl={info:g.createElement(Es,null),success:g.createElement(ms,null),error:g.createElement(ws,null),warning:g.createElement(Cs,null),loading:g.createElement(Us,null)},Cl=e=>{let{prefixCls:t,type:n,icon:r,children:o}=e;return g.createElement("div",{className:Se()(`${t}-custom-content`,`${t}-${n}`)},r||Bl[n],g.createElement("span",null,o))},xl={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"};var Sl=function(e,t){return g.createElement(ps,me({},e,{ref:t,icon:xl}))};const El=g.forwardRef(Sl);function Fl(e){let t;const n=new Promise((n=>{t=e((()=>{n(!0)}))})),r=()=>{null==t||t()};return r.then=(e,t)=>n.then(e,t),r.promise=n,r}const Ql=3,Ul=e=>{let{children:t,prefixCls:n}=e;const r=Xs(n),[o,i,A]=bl(n,r);return o(g.createElement(Ms,{classNames:{list:Se()(i,A,r)}},t))},kl=(e,t)=>{let{prefixCls:n,key:r}=t;return g.createElement(Ul,{prefixCls:n,key:r},e)},Il=g.forwardRef(((e,t)=>{const{top:n,prefixCls:r,getContainer:o,maxCount:i,duration:A=Ql,rtl:a,transitionName:s,onAllRemoved:l}=e,{getPrefixCls:c,getPopupContainer:u,message:d,direction:f}=g.useContext(kr),h=r||c("message"),p=g.createElement("span",{className:`${h}-close-x`},g.createElement(El,{className:`${h}-close-icon`})),[m,v]=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.getContainer,n=void 0===t?zs:t,r=e.motion,o=e.prefixCls,i=e.maxCount,A=e.className,a=e.style,s=e.onAllRemoved,l=e.stack,c=e.renderNotifications,u=Ce(e,Vs),d=Tr(g.useState(),2),f=d[0],h=d[1],p=g.useRef(),m=g.createElement(Ks,{container:f,ref:p,prefixCls:o,motion:r,maxCount:i,className:A,style:a,onAllRemoved:s,stack:l,renderNotifications:c}),v=Tr(g.useState([]),2),y=v[0],w=v[1],b=g.useMemo((function(){return{open:function(e){var t=function(){for(var e={},t=arguments.length,n=new Array(t),r=0;r({left:"50%",transform:"translateX(-50%)",top:null!=n?n:8}),className:()=>Se()({[`${h}-rtl`]:null!=a?a:"rtl"===f}),motion:()=>function(e,t){return{motionName:null!=t?t:`${e}-move-up`}}(h,s),closable:!1,closeIcon:p,duration:A,getContainer:()=>(null==o?void 0:o())||(null==u?void 0:u())||document.body,maxCount:i,onAllRemoved:l,renderNotifications:kl});return g.useImperativeHandle(t,(()=>Object.assign(Object.assign({},m),{prefixCls:h,message:d}))),v}));let Ol=0;function Pl(e){const t=g.useRef(null),n=(Ni(),g.useMemo((()=>{const e=e=>{var n;null===(n=t.current)||void 0===n||n.close(e)},n=n=>{if(!t.current){const e=()=>{};return e.then=()=>{},e}const{open:r,prefixCls:o,message:i}=t.current,A=`${o}-notice`,{content:a,icon:s,type:l,key:c,className:u,style:d,onClose:f}=n,h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o(r(Object.assign(Object.assign({},h),{key:p,content:g.createElement(Cl,{prefixCls:o,type:l,icon:s},a),placement:"top",className:Se()(l&&`${A}-${l}`,u,null==i?void 0:i.className),style:Object.assign(Object.assign({},null==i?void 0:i.style),d),onClose:()=>{null==f||f(),t()}})),()=>{e(p)})))},r={open:n,destroy:n=>{var r;void 0!==n?e(n):null===(r=t.current)||void 0===r||r.destroy()}};return["info","success","warning","error","loading"].forEach((e=>{r[e]=(t,r,o)=>{let i,A,a;i=t&&"object"==typeof t&&"content"in t?t:{content:t},"function"==typeof r?a=r:(A=r,a=o);const s=Object.assign(Object.assign({onClose:a,duration:A},i),{type:e});return n(s)}})),r}),[]));return[n,g.createElement(Il,Object.assign({key:"message-holder"},e,{ref:t}))]}let Tl=null,Hl=e=>e(),Ll=[],_l={};function Rl(){const{getContainer:e,duration:t,rtl:n,maxCount:r,top:o}=_l,i=(null==e?void 0:e())||document.body;return{getContainer:()=>i,duration:t,rtl:n,maxCount:r,top:o}}const Nl=g.forwardRef(((e,t)=>{const{messageConfig:n,sync:r}=e,{getPrefixCls:o}=(0,g.useContext)(kr),i=_l.prefixCls||o("message"),A=(0,g.useContext)(Er),[a,s]=Pl(Object.assign(Object.assign(Object.assign({},n),{prefixCls:i}),A.message));return g.useImperativeHandle(t,(()=>{const e=Object.assign({},a);return Object.keys(e).forEach((t=>{e[t]=function(){return r(),a[t].apply(a,arguments)}})),{instance:e,sync:r}})),s})),Ml=g.forwardRef(((e,t)=>{const[n,r]=g.useState(Rl),o=()=>{r(Rl)};g.useEffect(o,[]);const i=rs(),A=i.getRootPrefixCls(),a=i.getIconPrefixCls(),s=i.getTheme(),l=g.createElement(Nl,{ref:t,sync:o,messageConfig:n});return g.createElement(As,{prefixCls:A,iconPrefixCls:a,theme:s},i.holderRender?i.holderRender(l):l)}));function Dl(){if(!Tl){const e=document.createDocumentFragment(),t={fragment:e};return Tl=t,void Hl((()=>{wr(g.createElement(Ml,{ref:e=>{const{instance:n,sync:r}=e||{};Promise.resolve().then((()=>{!t.instance&&n&&(t.instance=n,t.sync=r,Dl())}))}}),e)}))}Tl.instance&&(Ll.forEach((e=>{const{type:t,skipped:n}=e;if(!n)switch(t){case"open":Hl((()=>{const t=Tl.instance.open(Object.assign(Object.assign({},_l),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)}));break;case"destroy":Hl((()=>{null==Tl||Tl.instance.destroy(e.key)}));break;default:Hl((()=>{var n;const r=(n=Tl.instance)[t].apply(n,sr(e.args));null==r||r.then(e.resolve),e.setCloseFn(r)}))}})),Ll=[])}const jl={open:function(e){const t=Fl((t=>{let n;const r={type:"open",config:e,resolve:t,setCloseFn:e=>{n=e}};return Ll.push(r),()=>{n?Hl((()=>{n()})):r.skipped=!0}}));return Dl(),t},destroy:e=>{Ll.push({type:"destroy",key:e}),Dl()},config:function(e){_l=Object.assign(Object.assign({},_l),e),Hl((()=>{var e;null===(e=null==Tl?void 0:Tl.sync)||void 0===e||e.call(Tl)}))},useMessage:function(e){return Pl(e)},_InternalPanelDoNotUseOrYouWillBeFired:e=>{const{prefixCls:t,className:n,type:r,icon:o,content:i}=e,A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{jl[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r{let r;const o={type:e,args:t,resolve:n,setCloseFn:e=>{r=e}};return Ll.push(o),()=>{r?Hl((()=>{r()})):o.skipped=!0}}));return Dl(),n}(e,n)}}));const Gl=jl,Kl=e=>e?"function"==typeof e?e():e:null,Vl=(e,t,n)=>void 0!==n?n:`${e}-${t}`;function zl(e){return e&&g.isValidElement(e)&&e.type===g.Fragment}const Wl=(e,t,n)=>g.isValidElement(e)?g.cloneElement(e,"function"==typeof n?n(e.props||{}):n):t;function Xl(e,t){return Wl(e,e,t)}function $l(e){var t=e.children,n=e.prefixCls,r=e.id,o=e.overlayInnerStyle,i=e.className,A=e.style;return g.createElement("div",{className:Se()("".concat(n,"-content"),i),style:A},g.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:o},"function"==typeof t?t():t))}const Yl=g.createContext(null);var Jl=[];var ql="rc-util-locker-".concat(Date.now()),Zl=0;function ec(e){var t=!!e,n=Tr(g.useState((function(){return Zl+=1,"".concat(ql,"_").concat(Zl)})),1)[0];po((function(){if(t){var e=(o=document.body,"undefined"!=typeof document&&o&&o instanceof Element?function(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),n=document.createElement("div");n.id=t;var r,o,i=n.style;if(i.position="absolute",i.left="0",i.top="0",i.width="100px",i.height="100px",i.overflow="scroll",e){var A=getComputedStyle(e);i.scrollbarColor=A.scrollbarColor,i.scrollbarWidth=A.scrollbarWidth;var a=getComputedStyle(e,"::-webkit-scrollbar"),s=parseInt(a.width,10),l=parseInt(a.height,10);try{var c=s?"width: ".concat(a.width,";"):"",u=l?"height: ".concat(a.height,";"):"";qt("\n#".concat(t,"::-webkit-scrollbar {\n").concat(c,"\n").concat(u,"\n}"),t)}catch(e){console.error(e),r=s,o=l}}document.body.appendChild(n);var d=e&&r&&!isNaN(r)?r:n.offsetWidth-n.clientWidth,f=e&&o&&!isNaN(o)?o:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),Jt(t),{width:d,height:f}}(o):{width:0,height:0}).width,r=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;qt("\nhtml body {\n overflow-y: hidden;\n ".concat(r?"width: calc(100% - ".concat(e,"px);"):"","\n}"),n)}else Jt(n);var o;return function(){Jt(n)}}),[t,n])}var tc=!1,nc=function(e){return!1!==e&&(Mt()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)},rc=g.forwardRef((function(e,t){var n=e.open,r=e.autoLock,o=e.getContainer,i=(e.debug,e.autoDestroy),A=void 0===i||i,a=e.children,s=Tr(g.useState(n),2),l=s[0],c=s[1],u=l||n;g.useEffect((function(){(A||n)&&c(n)}),[n,A]);var d=Tr(g.useState((function(){return nc(o)})),2),f=d[0],h=d[1];g.useEffect((function(){var e=nc(o);h(null!=e?e:null)}));var p=function(e){var t=Tr(g.useState((function(){return Mt()?document.createElement("div"):null})),1)[0],n=g.useRef(!1),r=g.useContext(Yl),o=Tr(g.useState(Jl),2),i=o[0],A=o[1],a=r||(n.current?void 0:function(e){A((function(t){return[e].concat(sr(t))}))});function s(){t.parentElement||document.body.appendChild(t),n.current=!0}function l(){var e;null===(e=t.parentElement)||void 0===e||e.removeChild(t),n.current=!1}return po((function(){return e?r?r(s):s():l(),l}),[e]),po((function(){i.length&&(i.forEach((function(e){return e()})),A(Jl))}),[i]),[t,a]}(u&&!f),m=Tr(p,2),v=m[0],y=m[1],w=null!=f?f:v;ec(r&&n&&Mt()&&(w===v||w===document.body));var b=null;a&&Ie(a)&&t&&(b=a.ref);var B=ke(b,t);if(!u||!Mt()||void 0===f)return null;var C=!1===w||tc,x=a;return t&&(x=g.cloneElement(a,{ref:B})),g.createElement(Yl.Provider,{value:y},C?x:(0,fr.createPortal)(x,w))}));const oc=rc;function ic(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];return g.Children.forEach(e,(function(e){(null!=e||t.keepEmpty)&&(Array.isArray(e)?n=n.concat(ic(e)):(0,Ee.isFragment)(e)&&e.props?n=n.concat(ic(e.props.children,t)):n.push(e))})),n}var Ac=g.createContext(null),ac=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__;n0},e.prototype.connect_=function(){sc&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),dc?(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(){sc&&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;uc.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),hc=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),Sc="undefined"!=typeof WeakMap?new WeakMap:new ac,Ec=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=fc.getInstance(),r=new xc(t,n,this);Sc.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){Ec.prototype[e]=function(){var t;return(t=Sc.get(this))[e].apply(t,arguments)}}));const Fc=void 0!==lc.ResizeObserver?lc.ResizeObserver:Ec;var Qc=new Map,Uc=new Fc((function(e){e.forEach((function(e){var t,n=e.target;null===(t=Qc.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))})),kc=function(e){SA(n,e);var t=UA(n);function n(){return _r(this,n),t.apply(this,arguments)}return Nr(n,[{key:"render",value:function(){return this.props.children}}]),n}(g.Component);function Ic(e,t){var n=e.children,r=e.disabled,o=g.useRef(null),i=g.useRef(null),A=g.useContext(Ac),a="function"==typeof n,s=a?n(o):n,l=g.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),c=!a&&g.isValidElement(s)&&Ie(s),u=c?s.ref:null,d=ke(u,o),f=function(){var e;return wA(o.current)||(o.current&&"object"===ve(o.current)?wA(null===(e=o.current)||void 0===e?void 0:e.nativeElement):null)||wA(i.current)};g.useImperativeHandle(t,(function(){return f()}));var h=g.useRef(e);h.current=e;var p=g.useCallback((function(e){var t=h.current,n=t.onResize,r=t.data,o=e.getBoundingClientRect(),i=o.width,a=o.height,s=e.offsetWidth,c=e.offsetHeight,u=Math.floor(i),d=Math.floor(a);if(l.current.width!==u||l.current.height!==d||l.current.offsetWidth!==s||l.current.offsetHeight!==c){var f={width:u,height:d,offsetWidth:s,offsetHeight:c};l.current=f;var p=s===Math.round(i)?i:s,g=c===Math.round(a)?a:c,m=Be(Be({},f),{},{offsetWidth:p,offsetHeight:g});null==A||A(m,e,r),n&&Promise.resolve().then((function(){n(m,e)}))}}),[]);return g.useEffect((function(){var e,t,n=f();return n&&!r&&(e=n,t=p,Qc.has(e)||(Qc.set(e,new Set),Uc.observe(e)),Qc.get(e).add(t)),function(){return function(e,t){Qc.has(e)&&(Qc.get(e).delete(t),Qc.get(e).size||(Uc.unobserve(e),Qc.delete(e)))}(n,p)}}),[o.current,r]),g.createElement(kc,{ref:i},c?g.cloneElement(s,{ref:d}):s)}const Oc=g.forwardRef(Ic);function Pc(e,t){var n=e.children;return("function"==typeof n?[n]:ic(n)).map((function(n,r){var o=(null==n?void 0:n.key)||"".concat("rc-observer-key","-").concat(r);return g.createElement(Oc,me({},e,{key:o,ref:0===r?t:void 0}),n)}))}var Tc=g.forwardRef(Pc);Tc.Collection=function(e){var t=e.children,n=e.onBatchResize,r=g.useRef(0),o=g.useRef([]),i=g.useContext(Ac),A=g.useCallback((function(e,t,A){r.current+=1;var a=r.current;o.current.push({size:e,element:t,data:A}),Promise.resolve().then((function(){a===r.current&&(null==n||n(o.current),o.current=[])})),null==i||i(e,t,A)}),[n,i]);return g.createElement(Ac.Provider,{value:A},t)};const Hc=Tc;var Lc=0,_c=Be({},m).useId;const Rc=_c?function(e){var t=_c();return e||t}:function(e){var t=Tr(g.useState("ssr-id"),2),n=t[0],r=t[1];return g.useEffect((function(){var e=Lc;Lc+=1,r("rc_unique_".concat(e))}),[]),e||n};function Nc(e){var t=e.prefixCls,n=e.align,r=e.arrow,o=e.arrowPos,i=r||{},A=i.className,a=i.content,s=o.x,l=void 0===s?0:s,c=o.y,u=void 0===c?0:c,d=g.useRef();if(!n||!n.points)return null;var f={position:"absolute"};if(!1!==n.autoArrow){var h=n.points[0],p=n.points[1],m=h[0],v=h[1],y=p[0],w=p[1];m!==y&&["t","b"].includes(m)?"t"===m?f.top=0:f.bottom=0:f.top=u,v!==w&&["l","r"].includes(v)?"l"===v?f.left=0:f.right=0:f.left=l}return g.createElement("div",{ref:d,className:Se()("".concat(t,"-arrow"),A),style:f},a)}function Mc(e){var t=e.prefixCls,n=e.open,r=e.zIndex,o=e.mask,i=e.motion;return o?g.createElement(ka,me({},i,{motionAppear:!0,visible:n,removeOnLeave:!0}),(function(e){var n=e.className;return g.createElement("div",{style:{zIndex:r},className:Se()("".concat(t,"-mask"),n)})})):null}var Dc=g.memo((function(e){return e.children}),(function(e,t){return t.cache}));const jc=Dc;var Gc=g.forwardRef((function(e,t){var n=e.popup,r=e.className,o=e.prefixCls,i=e.style,A=e.target,a=e.onVisibleChanged,s=e.open,l=e.keepDom,c=e.fresh,u=e.onClick,d=e.mask,f=e.arrow,h=e.arrowPos,p=e.align,m=e.motion,v=e.maskMotion,y=e.forceRender,w=e.getPopupContainer,b=e.autoDestroy,B=e.portal,C=e.zIndex,x=e.onMouseEnter,S=e.onMouseLeave,E=e.onPointerEnter,F=e.ready,Q=e.offsetX,U=e.offsetY,k=e.offsetR,I=e.offsetB,O=e.onAlign,P=e.onPrepare,T=e.stretch,H=e.targetWidth,L=e.targetHeight,_="function"==typeof n?n():n,R=s||l,N=(null==w?void 0:w.length)>0,M=Tr(g.useState(!w||!N),2),D=M[0],j=M[1];if(po((function(){!D&&N&&A&&j(!0)}),[D,N,A]),!D)return null;var G="auto",K={left:"-1000vw",top:"-1000vh",right:G,bottom:G};if(F||!s){var V,z=p.points,W=p.dynamicInset||(null===(V=p._experimental)||void 0===V?void 0:V.dynamicInset),X=W&&"r"===z[0][1],$=W&&"b"===z[0][0];X?(K.right=k,K.left=G):(K.left=Q,K.right=G),$?(K.bottom=I,K.top=G):(K.top=U,K.bottom=G)}var Y={};return T&&(T.includes("height")&&L?Y.height=L:T.includes("minHeight")&&L&&(Y.minHeight=L),T.includes("width")&&H?Y.width=H:T.includes("minWidth")&&H&&(Y.minWidth=H)),s||(Y.pointerEvents="none"),g.createElement(B,{open:y||R,getContainer:w&&function(){return w(A)},autoDestroy:b},g.createElement(Mc,{prefixCls:o,open:s,zIndex:C,mask:d,motion:v}),g.createElement(Hc,{onResize:O,disabled:!s},(function(e){return g.createElement(ka,me({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:y,leavedClassName:"".concat(o,"-hidden")},m,{onAppearPrepare:P,onEnterPrepare:P,visible:s,onVisibleChanged:function(e){var t;null==m||null===(t=m.onVisibleChanged)||void 0===t||t.call(m,e),a(e)}}),(function(n,A){var a=n.className,l=n.style,d=Se()(o,a,r);return g.createElement("div",{ref:Ue(e,t,A),className:d,style:Be(Be(Be(Be({"--arrow-x":"".concat(h.x||0,"px"),"--arrow-y":"".concat(h.y||0,"px")},K),Y),l),{},{boxSizing:"border-box",zIndex:C},i),onMouseEnter:x,onMouseLeave:S,onPointerEnter:E,onClick:u},f&&g.createElement(Nc,{prefixCls:o,arrow:f,arrowPos:h,align:p}),g.createElement(jc,{cache:!s&&!c},_))}))})))}));const Kc=Gc;var Vc=g.forwardRef((function(e,t){var n=e.children,r=e.getTriggerDOMNode,o=Ie(n),i=g.useCallback((function(e){Qe(t,r?r(e):e)}),[r]),A=ke(i,n.ref);return o?g.cloneElement(n,{ref:A}):n}));const zc=Vc,Wc=g.createContext(null);function Xc(e){return e?Array.isArray(e)?e:[e]:[]}const $c=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,A=o.height;if(i||A)return!0}}return!1};function Yc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(arguments.length>2?arguments[2]:void 0)?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function Jc(e,t,n,r){return t||(n?{motionName:"".concat(e,"-").concat(n)}:r?{motionName:r}:null)}function qc(e){return e.ownerDocument.defaultView}function Zc(e){for(var t=[],n=null==e?void 0:e.parentElement,r=["hidden","scroll","clip","auto"];n;){var o=qc(n).getComputedStyle(n);[o.overflowX,o.overflowY,o.overflow].some((function(e){return r.includes(e)}))&&t.push(n),n=n.parentElement}return t}function eu(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e}function tu(e){return eu(parseFloat(e),0)}function nu(e,t){var n=Be({},e);return(t||[]).forEach((function(e){if(!(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)){var t=qc(e).getComputedStyle(e),r=t.overflow,o=t.overflowClipMargin,i=t.borderTopWidth,A=t.borderBottomWidth,a=t.borderLeftWidth,s=t.borderRightWidth,l=e.getBoundingClientRect(),c=e.offsetHeight,u=e.clientHeight,d=e.offsetWidth,f=e.clientWidth,h=tu(i),p=tu(A),g=tu(a),m=tu(s),v=eu(Math.round(l.width/d*1e3)/1e3),y=eu(Math.round(l.height/c*1e3)/1e3),w=(d-f-g-m)*v,b=(c-u-h-p)*y,B=h*y,C=p*y,x=g*v,S=m*v,E=0,F=0;if("clip"===r){var Q=tu(o);E=Q*v,F=Q*y}var U=l.x+x-E,k=l.y+B-F,I=U+l.width+2*E-x-S-w,O=k+l.height+2*F-B-C-b;n.left=Math.max(n.left,U),n.top=Math.max(n.top,k),n.right=Math.min(n.right,I),n.bottom=Math.min(n.bottom,O)}})),n}function ru(e){var t="".concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),n=t.match(/^(.*)\%$/);return n?e*(parseFloat(n[1])/100):parseFloat(t)}function ou(e,t){var n=Tr(t||[],2),r=n[0],o=n[1];return[ru(e.width,r),ru(e.height,o)]}function iu(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]]}function Au(e,t){var n,r=t[0],o=t[1];return n="t"===r?e.y:"b"===r?e.y+e.height:e.y+e.height/2,{x:"l"===o?e.x:"r"===o?e.x+e.width:e.x+e.width/2,y:n}}function au(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map((function(e,r){return r===t?n[e]||"c":e})).join("")}var su=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];const lu=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:oc,t=g.forwardRef((function(t,n){var r=t.prefixCls,o=void 0===r?"rc-trigger-popup":r,i=t.children,A=t.action,a=void 0===A?"hover":A,s=t.showAction,l=t.hideAction,c=t.popupVisible,u=t.defaultPopupVisible,d=t.onPopupVisibleChange,f=t.afterPopupVisibleChange,h=t.mouseEnterDelay,p=t.mouseLeaveDelay,m=void 0===p?.1:p,v=t.focusDelay,y=t.blurDelay,w=t.mask,b=t.maskClosable,B=void 0===b||b,C=t.getPopupContainer,x=t.forceRender,S=t.autoDestroy,E=t.destroyPopupOnHide,F=t.popup,Q=t.popupClassName,U=t.popupStyle,k=t.popupPlacement,I=t.builtinPlacements,O=void 0===I?{}:I,P=t.popupAlign,T=t.zIndex,H=t.stretch,L=t.getPopupClassNameFromAlign,_=t.fresh,R=t.alignPoint,N=t.onPopupClick,M=t.onPopupAlign,D=t.arrow,j=t.popupMotion,G=t.maskMotion,K=t.popupTransitionName,V=t.popupAnimation,z=t.maskTransitionName,W=t.maskAnimation,X=t.className,$=t.getTriggerDOMNode,Y=Ce(t,su),J=S||E||!1,q=Tr(g.useState(!1),2),Z=q[0],ee=q[1];po((function(){ee(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.substr(0,4))}())}),[]);var te=g.useRef({}),ne=g.useContext(Wc),re=g.useMemo((function(){return{registerSubPopup:function(e,t){te.current[e]=t,null==ne||ne.registerSubPopup(e,t)}}}),[ne]),oe=Rc(),ie=Tr(g.useState(null),2),Ae=ie[0],ae=ie[1],se=g.useRef(null),le=IA((function(e){se.current=e,yA(e)&&Ae!==e&&ae(e),null==ne||ne.registerSubPopup(oe,e)})),ce=Tr(g.useState(null),2),ue=ce[0],de=ce[1],fe=g.useRef(null),he=IA((function(e){yA(e)&&ue!==e&&(de(e),fe.current=e)})),pe=g.Children.only(i),ge=(null==pe?void 0:pe.props)||{},me={},ve=IA((function(e){var t,n,r=ue;return(null==r?void 0:r.contains(e))||(null===(t=en(r))||void 0===t?void 0:t.host)===e||e===r||(null==Ae?void 0:Ae.contains(e))||(null===(n=en(Ae))||void 0===n?void 0:n.host)===e||e===Ae||Object.values(te.current).some((function(t){return(null==t?void 0:t.contains(e))||e===t}))})),ye=Jc(o,j,V,K),we=Jc(o,G,W,z),be=Tr(g.useState(u||!1),2),xe=be[0],Ee=be[1],Fe=null!=c?c:xe,Qe=IA((function(e){void 0===c&&Ee(e)}));po((function(){Ee(c||!1)}),[c]);var Ue=g.useRef(Fe);Ue.current=Fe;var ke=g.useRef([]);ke.current=[];var Ie=IA((function(e){var t;Qe(e),(null!==(t=ke.current[ke.current.length-1])&&void 0!==t?t:Fe)!==e&&(ke.current.push(e),null==d||d(e))})),Oe=g.useRef(),Pe=function(){clearTimeout(Oe.current)},Te=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;Pe(),0===t?Ie(e):Oe.current=setTimeout((function(){Ie(e)}),1e3*t)};g.useEffect((function(){return Pe}),[]);var He=Tr(g.useState(!1),2),Le=He[0],_e=He[1];po((function(e){e&&!Fe||_e(!0)}),[Fe]);var Re=Tr(g.useState(null),2),Ne=Re[0],Me=Re[1],De=Tr(g.useState([0,0]),2),je=De[0],Ge=De[1],Ke=function(e){Ge([e.clientX,e.clientY])},Ve=function(e,t,n,r,o,i,A){var a=Tr(g.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:o[r]||{}}),2),s=a[0],l=a[1],c=g.useRef(0),u=g.useMemo((function(){return t?Zc(t):[]}),[t]),d=g.useRef({});e||(d.current={});var f=IA((function(){if(t&&n&&e){var a,s,c,f=t,h=f.ownerDocument,p=qc(f).getComputedStyle(f),g=p.width,m=p.height,v=p.position,y=f.style.left,w=f.style.top,b=f.style.right,B=f.style.bottom,C=f.style.overflow,x=Be(Be({},o[r]),i),S=h.createElement("div");if(null===(a=f.parentElement)||void 0===a||a.appendChild(S),S.style.left="".concat(f.offsetLeft,"px"),S.style.top="".concat(f.offsetTop,"px"),S.style.position=v,S.style.height="".concat(f.offsetHeight,"px"),S.style.width="".concat(f.offsetWidth,"px"),f.style.left="0",f.style.top="0",f.style.right="auto",f.style.bottom="auto",f.style.overflow="hidden",Array.isArray(n))c={x:n[0],y:n[1],width:0,height:0};else{var E=n.getBoundingClientRect();c={x:E.x,y:E.y,width:E.width,height:E.height}}var F=f.getBoundingClientRect(),Q=h.documentElement,U=Q.clientWidth,k=Q.clientHeight,I=Q.scrollWidth,O=Q.scrollHeight,P=Q.scrollTop,T=Q.scrollLeft,H=F.height,L=F.width,_=c.height,R=c.width,N={left:0,top:0,right:U,bottom:k},M={left:-T,top:-P,right:I-T,bottom:O-P},D=x.htmlRegion,j="visible",G="visibleFirst";"scroll"!==D&&D!==G&&(D=j);var K=D===G,V=nu(M,u),z=nu(N,u),W=D===j?z:V,X=K?z:W;f.style.left="auto",f.style.top="auto",f.style.right="0",f.style.bottom="0";var $=f.getBoundingClientRect();f.style.left=y,f.style.top=w,f.style.right=b,f.style.bottom=B,f.style.overflow=C,null===(s=f.parentElement)||void 0===s||s.removeChild(S);var Y=eu(Math.round(L/parseFloat(g)*1e3)/1e3),J=eu(Math.round(H/parseFloat(m)*1e3)/1e3);if(0===Y||0===J||yA(n)&&!$c(n))return;var q=x.offset,Z=x.targetOffset,ee=Tr(ou(F,q),2),te=ee[0],ne=ee[1],re=Tr(ou(c,Z),2),oe=re[0],ie=re[1];c.x-=oe,c.y-=ie;var Ae=Tr(x.points||[],2),ae=Ae[0],se=iu(Ae[1]),le=iu(ae),ce=Au(c,se),ue=Au(F,le),de=Be({},x),fe=ce.x-ue.x+te,he=ce.y-ue.y+ne;function st(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:W,r=F.x+e,o=F.y+t,i=r+L,A=o+H,a=Math.max(r,n.left),s=Math.max(o,n.top),l=Math.min(i,n.right),c=Math.min(A,n.bottom);return Math.max(0,(l-a)*(c-s))}var pe,ge,me,ve,ye=st(fe,he),we=st(fe,he,z),be=Au(c,["t","l"]),Ce=Au(F,["t","l"]),xe=Au(c,["b","r"]),Se=Au(F,["b","r"]),Ee=x.overflow||{},Fe=Ee.adjustX,Qe=Ee.adjustY,Ue=Ee.shiftX,ke=Ee.shiftY,Ie=function(e){return"boolean"==typeof e?e:e>=0};function lt(){pe=F.y+he,ge=pe+H,me=F.x+fe,ve=me+L}lt();var Oe=Ie(Qe),Pe=le[0]===se[0];if(Oe&&"t"===le[0]&&(ge>X.bottom||d.current.bt)){var Te=he;Pe?Te-=H-_:Te=be.y-Se.y-ne;var He=st(fe,Te),Le=st(fe,Te,z);He>ye||He===ye&&(!K||Le>=we)?(d.current.bt=!0,he=Te,ne=-ne,de.points=[au(le,0),au(se,0)]):d.current.bt=!1}if(Oe&&"b"===le[0]&&(peye||Re===ye&&(!K||Ne>=we)?(d.current.tb=!0,he=_e,ne=-ne,de.points=[au(le,0),au(se,0)]):d.current.tb=!1}var Me=Ie(Fe),De=le[1]===se[1];if(Me&&"l"===le[1]&&(ve>X.right||d.current.rl)){var je=fe;De?je-=L-R:je=be.x-Se.x-te;var Ge=st(je,he),Ke=st(je,he,z);Ge>ye||Ge===ye&&(!K||Ke>=we)?(d.current.rl=!0,fe=je,te=-te,de.points=[au(le,1),au(se,1)]):d.current.rl=!1}if(Me&&"r"===le[1]&&(meye||ze===ye&&(!K||We>=we)?(d.current.lr=!0,fe=Ve,te=-te,de.points=[au(le,1),au(se,1)]):d.current.lr=!1}lt();var Xe=!0===Ue?0:Ue;"number"==typeof Xe&&(mez.right&&(fe-=ve-z.right-te,c.x>z.right-Xe&&(fe+=c.x-z.right+Xe)));var $e=!0===ke?0:ke;"number"==typeof $e&&(pez.bottom&&(he-=ge-z.bottom-ne,c.y>z.bottom-$e&&(he+=c.y-z.bottom+$e)));var Ye=F.x+fe,Je=Ye+L,qe=F.y+he,Ze=qe+H,et=c.x,tt=et+R,nt=c.y,rt=nt+_,ot=(Math.max(Ye,et)+Math.min(Je,tt))/2-Ye,it=(Math.max(qe,nt)+Math.min(Ze,rt))/2-qe;null==A||A(t,de);var At=$.right-F.x-(fe+F.width),at=$.bottom-F.y-(he+F.height);1===Y&&(fe=Math.round(fe),At=Math.round(At)),1===J&&(he=Math.round(he),at=Math.round(at)),l({ready:!0,offsetX:fe/Y,offsetY:he/J,offsetR:At/Y,offsetB:at/J,arrowX:ot/Y,arrowY:it/J,scaleX:Y,scaleY:J,align:de})}})),h=function(){l((function(e){return Be(Be({},e),{},{ready:!1})}))};return po(h,[r]),po((function(){e||h()}),[e]),[s.ready,s.offsetX,s.offsetY,s.offsetR,s.offsetB,s.arrowX,s.arrowY,s.scaleX,s.scaleY,s.align,function(){c.current+=1;var e=c.current;Promise.resolve().then((function(){c.current===e&&f()}))}]}(Fe,Ae,R?je:ue,k,O,P,M),ze=Tr(Ve,11),We=ze[0],Xe=ze[1],$e=ze[2],Ye=ze[3],Je=ze[4],qe=ze[5],Ze=ze[6],et=ze[7],tt=ze[8],nt=ze[9],rt=ze[10],ot=function(e,t,n,r){return g.useMemo((function(){var o=Xc(null!=n?n:t),i=Xc(null!=r?r:t),A=new Set(o),a=new Set(i);return e&&(A.has("hover")&&(A.delete("hover"),A.add("click")),a.has("hover")&&(a.delete("hover"),a.add("click"))),[A,a]}),[e,t,n,r])}(Z,a,s,l),it=Tr(ot,2),At=it[0],at=it[1],st=At.has("click"),lt=at.has("click")||at.has("contextMenu"),ct=IA((function(){Le||rt()}));!function(e,t,n,r){po((function(){if(e&&t&&n){var o=n,i=Zc(t),A=Zc(o),a=qc(o),s=new Set([a].concat(sr(i),sr(A)));function l(){r(),Ue.current&&R&<&&Te(!1)}return s.forEach((function(e){e.addEventListener("scroll",l,{passive:!0})})),a.addEventListener("resize",l,{passive:!0}),r(),function(){s.forEach((function(e){e.removeEventListener("scroll",l),a.removeEventListener("resize",l)}))}}}),[e,t,n])}(Fe,ue,Ae,ct),po((function(){ct()}),[je,k]),po((function(){!Fe||null!=O&&O[k]||ct()}),[JSON.stringify(P)]);var ut=g.useMemo((function(){var e=function(e,t,n,r){for(var o=n.points,i=Object.keys(e),A=0;A1?A-1:0),s=1;s1?n-1:0),o=1;o1?n-1:0),o=1;o1?t-1:0),r=1;r=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(e){return"[Circular]"}break;default:return e}}));return A}return e}function Qu(e,t){return null==e||!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(t)||"string"!=typeof e||e)}function Uu(e,t,n){var r=0,o=e.length;!function i(A){if(A&&A.length)n(A);else{var a=r;r+=1,a()\[\]\\.,;:\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,}))$/,_u=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,Ru={integer:function(e){return Ru.number(e)&&parseInt(e,10)===e},float:function(e){return Ru.number(e)&&!Ru.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"===ve(e)&&!Ru.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(Lu)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(function(){if(Hu)return Hu;var e="[a-fA-F\\d:]",t=function(t){return t&&t.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(e,")|(?<=").concat(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=["(?:".concat(r,":){7}(?:").concat(r,"|:)"),"(?:".concat(r,":){6}(?:").concat(n,"|:").concat(r,"|:)"),"(?:".concat(r,":){5}(?::").concat(n,"|(?::").concat(r,"){1,2}|:)"),"(?:".concat(r,":){4}(?:(?::").concat(r,"){0,1}:").concat(n,"|(?::").concat(r,"){1,3}|:)"),"(?:".concat(r,":){3}(?:(?::").concat(r,"){0,2}:").concat(n,"|(?::").concat(r,"){1,4}|:)"),"(?:".concat(r,":){2}(?:(?::").concat(r,"){0,3}:").concat(n,"|(?::").concat(r,"){1,5}|:)"),"(?:".concat(r,":){1}(?:(?::").concat(r,"){0,4}:").concat(n,"|(?::").concat(r,"){1,6}|:)"),"(?::(?:(?::".concat(r,"){0,5}:").concat(n,"|(?::").concat(r,"){1,7}|:))")],i="(?:".concat(o.join("|"),")").concat("(?:%[0-9a-zA-Z]{1,})?"),A=new RegExp("(?:^".concat(n,"$)|(?:^").concat(i,"$)")),a=new RegExp("^".concat(n,"$")),s=new RegExp("^".concat(i,"$")),l=function(e){return e&&e.exact?A:new RegExp("(?:".concat(t(e)).concat(n).concat(t(e),")|(?:").concat(t(e)).concat(i).concat(t(e),")"),"g")};l.v4=function(e){return e&&e.exact?a:new RegExp("".concat(t(e)).concat(n).concat(t(e)),"g")},l.v6=function(e){return e&&e.exact?s:new RegExp("".concat(t(e)).concat(i).concat(t(e)),"g")};var c=l.v4().source,u=l.v6().source,d="(?:".concat("(?:(?:[a-z]+:)?//)","|www\\.)").concat("(?:\\S+(?::\\S*)?@)?","(?:localhost|").concat(c,"|").concat(u,"|").concat("(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)").concat("(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*").concat("(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",")").concat("(?::\\d{2,5})?").concat('(?:[/?#][^\\s"]*)?');return Hu=new RegExp("(?:^".concat(d,"$)"),"i")}())},hex:function(e){return"string"==typeof e&&!!e.match(_u)}};const Nu=Tu,Mu=function(e,t,n,r,o){(/^\s+$/.test(t)||""===t)&&r.push(Fu(o.messages.whitespace,e.fullField))},Du=function(e,t,n,r,o){if(e.required&&void 0===t)Tu(e,t,n,r,o);else{var i=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i)>-1?Ru[i](t)||r.push(Fu(o.messages.types[i],e.fullField,e.type)):i&&ve(t)!==e.type&&r.push(Fu(o.messages.types[i],e.fullField,e.type))}},ju=function(e,t,n,r,o){var i="number"==typeof e.len,A="number"==typeof e.min,a="number"==typeof e.max,s=t,l=null,c="number"==typeof t,u="string"==typeof t,d=Array.isArray(t);if(c?l="number":u?l="string":d&&(l="array"),!l)return!1;d&&(s=t.length),u&&(s=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?s!==e.len&&r.push(Fu(o.messages[l].len,e.fullField,e.len)):A&&!a&&se.max?r.push(Fu(o.messages[l].max,e.fullField,e.max)):A&&a&&(se.max)&&r.push(Fu(o.messages[l].range,e.fullField,e.min,e.max))},Gu=function(e,t,n,r,o){e[Pu]=Array.isArray(e[Pu])?e[Pu]:[],-1===e[Pu].indexOf(t)&&r.push(Fu(o.messages[Pu],e.fullField,e[Pu].join(", ")))},Ku=function(e,t,n,r,o){e.pattern&&(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||r.push(Fu(o.messages.pattern.mismatch,e.fullField,t,e.pattern))):"string"==typeof e.pattern&&(new RegExp(e.pattern).test(t)||r.push(Fu(o.messages.pattern.mismatch,e.fullField,t,e.pattern))))},Vu=function(e,t,n,r,o){var i=e.type,A=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Qu(t,i)&&!e.required)return n();Nu(e,t,r,A,o,i),Qu(t,i)||Du(e,t,r,A,o)}n(A)},zu={string:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Qu(t,"string")&&!e.required)return n();Nu(e,t,r,i,o,"string"),Qu(t,"string")||(Du(e,t,r,i,o),ju(e,t,r,i,o),Ku(e,t,r,i,o),!0===e.whitespace&&Mu(e,t,r,i,o))}n(i)},method:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Qu(t)&&!e.required)return n();Nu(e,t,r,i,o),void 0!==t&&Du(e,t,r,i,o)}n(i)},number:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),Qu(t)&&!e.required)return n();Nu(e,t,r,i,o),void 0!==t&&(Du(e,t,r,i,o),ju(e,t,r,i,o))}n(i)},boolean:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Qu(t)&&!e.required)return n();Nu(e,t,r,i,o),void 0!==t&&Du(e,t,r,i,o)}n(i)},regexp:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Qu(t)&&!e.required)return n();Nu(e,t,r,i,o),Qu(t)||Du(e,t,r,i,o)}n(i)},integer:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Qu(t)&&!e.required)return n();Nu(e,t,r,i,o),void 0!==t&&(Du(e,t,r,i,o),ju(e,t,r,i,o))}n(i)},float:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Qu(t)&&!e.required)return n();Nu(e,t,r,i,o),void 0!==t&&(Du(e,t,r,i,o),ju(e,t,r,i,o))}n(i)},array:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();Nu(e,t,r,i,o,"array"),null!=t&&(Du(e,t,r,i,o),ju(e,t,r,i,o))}n(i)},object:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Qu(t)&&!e.required)return n();Nu(e,t,r,i,o),void 0!==t&&Du(e,t,r,i,o)}n(i)},enum:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Qu(t)&&!e.required)return n();Nu(e,t,r,i,o),void 0!==t&&Gu(e,t,r,i,o)}n(i)},pattern:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Qu(t,"string")&&!e.required)return n();Nu(e,t,r,i,o),Qu(t,"string")||Ku(e,t,r,i,o)}n(i)},date:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Qu(t,"date")&&!e.required)return n();var A;Nu(e,t,r,i,o),Qu(t,"date")||(A=t instanceof Date?t:new Date(t),Du(e,A,r,i,o),A&&ju(e,A.getTime(),r,i,o))}n(i)},url:Vu,hex:Vu,email:Vu,required:function(e,t,n,r,o){var i=[],A=Array.isArray(t)?"array":ve(t);Nu(e,t,r,i,o,A),n(i)},any:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Qu(t)&&!e.required)return n();Nu(e,t,r,i,o)}n(i)}};var Wu=function(){function e(t){_r(this,e),we(this,"rules",null),we(this,"_messages",Cu),this.define(t)}return Nr(e,[{key:"define",value:function(e){var t=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==ve(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]}))}},{key:"messages",value:function(e){return e&&(this._messages=Ou(Bu(),e)),this._messages}},{key:"validate",value:function(t){var n=this,r=t,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};if("function"==typeof o&&(i=o,o={}),!this.rules||0===Object.keys(this.rules).length)return i&&i(null,r),Promise.resolve(r);if(o.messages){var A=this.messages();A===Cu&&(A=Bu()),Ou(A,o.messages),o.messages=A}else o.messages=this.messages();var a={};(o.keys||Object.keys(this.rules)).forEach((function(e){var o=n.rules[e],i=r[e];o.forEach((function(o){var A=o;"function"==typeof A.transform&&(r===t&&(r=Be({},r)),null!=(i=r[e]=A.transform(i))&&(A.type=A.type||(Array.isArray(i)?"array":ve(i)))),(A="function"==typeof A?{validator:A}:Be({},A)).validator=n.getValidationMethod(A),A.validator&&(A.field=e,A.fullField=A.fullField||e,A.type=n.getType(A),a[e]=a[e]||[],a[e].push({rule:A,value:i,source:r,field:e}))}))}));var s={};return function(e,t,n,r,o){if(t.first){var i=new Promise((function(t,i){var A=function(e){var t=[];return Object.keys(e).forEach((function(n){t.push.apply(t,sr(e[n]||[]))})),t}(e);Uu(A,n,(function(e){return r(e),e.length?i(new ku(e,Eu(e))):t(o)}))}));return i.catch((function(e){return e})),i}var A=!0===t.firstFields?Object.keys(e):t.firstFields||[],a=Object.keys(e),s=a.length,l=0,c=[],u=new Promise((function(t,i){var u=function(e){if(c.push.apply(c,e),++l===s)return r(c),c.length?i(new ku(c,Eu(c))):t(o)};a.length||(r(c),t(o)),a.forEach((function(t){var r=e[t];-1!==A.indexOf(t)?Uu(r,n,u):function(e,t,n){var r=[],o=0,i=e.length;function A(e){r.push.apply(r,sr(e||[])),++o===i&&n(r)}e.forEach((function(e){t(e,A)}))}(r,n,u)}))}));return u.catch((function(e){return e})),u}(a,o,(function(t,n){var i,A=t.rule,a=!("object"!==A.type&&"array"!==A.type||"object"!==ve(A.fields)&&"object"!==ve(A.defaultField));function l(e,t){return Be(Be({},t),{},{fullField:"".concat(A.fullField,".").concat(e),fullFields:A.fullFields?[].concat(sr(A.fullFields),[e]):[e]})}function c(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=Array.isArray(i)?i:[i];!o.suppressWarning&&c.length&&e.warning("async-validator:",c),c.length&&void 0!==A.message&&(c=[].concat(A.message));var u=c.map(Iu(A,r));if(o.first&&u.length)return s[A.field]=1,n(u);if(a){if(A.required&&!t.value)return void 0!==A.message?u=[].concat(A.message).map(Iu(A,r)):o.error&&(u=[o.error(A,Fu(o.messages.required,A.field))]),n(u);var d={};A.defaultField&&Object.keys(t.value).map((function(e){d[e]=A.defaultField})),d=Be(Be({},d),t.rule.fields);var f={};Object.keys(d).forEach((function(e){var t=d[e],n=Array.isArray(t)?t:[t];f[e]=n.map(l.bind(null,e))}));var h=new e(f);h.messages(o.messages),t.rule.options&&(t.rule.options.messages=o.messages,t.rule.options.error=o.error),h.validate(t.value,t.rule.options||o,(function(e){var t=[];u&&u.length&&t.push.apply(t,sr(u)),e&&e.length&&t.push.apply(t,sr(e)),n(t.length?t:null)}))}else n(u)}if(a=a&&(A.required||!A.required&&t.value),A.field=t.field,A.asyncValidator)i=A.asyncValidator(A,t.value,c,t.source,o);else if(A.validator){try{i=A.validator(A,t.value,c,t.source,o)}catch(e){var u,d;null===(u=(d=console).error)||void 0===u||u.call(d,e),o.suppressValidatorError||setTimeout((function(){throw e}),0),c(e.message)}!0===i?c():!1===i?c("function"==typeof A.message?A.message(A.fullField||A.field):A.message||"".concat(A.fullField||A.field," fails")):i instanceof Array?c(i):i instanceof Error&&c(i.message)}i&&i.then&&i.then((function(){return c()}),(function(e){return c(e)}))}),(function(e){!function(e){var t,n,o=[],A={};for(var a=0;a2&&void 0!==arguments[2]&&arguments[2];return e&&e.some((function(e){return ad(t,e,n)}))}function ad(e,t){return!(!e||!t)&&!(!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])&&e.length!==t.length)&&t.every((function(t,n){return e[n]===t}))}function sd(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&"object"===ve(t.target)&&e in t.target?t.target[e]:t}function ld(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var o=e[t],i=t-n;return i>0?[].concat(sr(e.slice(0,n)),[o],sr(e.slice(n,t)),sr(e.slice(t+1,r))):i<0?[].concat(sr(e.slice(0,t)),sr(e.slice(t+1,n+1)),[o],sr(e.slice(n+1,r))):e}var cd=["name"],ud=[];function dd(e,t,n,r,o,i){return"function"==typeof e?e(t,n,"source"in i?{source:i.source}:{}):r!==o}var fd=function(e){SA(n,e);var t=UA(n);function n(e){var r;return _r(this,n),we(QA(r=t.call(this,e)),"state",{resetCount:0}),we(QA(r),"cancelRegisterFunc",null),we(QA(r),"mounted",!1),we(QA(r),"touched",!1),we(QA(r),"dirty",!1),we(QA(r),"validatePromise",void 0),we(QA(r),"prevValidating",void 0),we(QA(r),"errors",ud),we(QA(r),"warnings",ud),we(QA(r),"cancelRegister",(function(){var e=r.props,t=e.preserve,n=e.isListField,o=e.name;r.cancelRegisterFunc&&r.cancelRegisterFunc(n,t,od(o)),r.cancelRegisterFunc=null})),we(QA(r),"getNamePath",(function(){var e=r.props,t=e.name,n=e.fieldContext.prefixName;return void 0!==t?[].concat(sr(void 0===n?[]:n),sr(t)):[]})),we(QA(r),"getRules",(function(){var e=r.props,t=e.rules,n=void 0===t?[]:t,o=e.fieldContext;return n.map((function(e){return"function"==typeof e?e(o):e}))})),we(QA(r),"refresh",(function(){r.mounted&&r.setState((function(e){return{resetCount:e.resetCount+1}}))})),we(QA(r),"metaCache",null),we(QA(r),"triggerMetaEvent",(function(e){var t=r.props.onMetaChange;if(t){var n=Be(Be({},r.getMeta()),{},{destroy:e});Lr(r.metaCache,n)||t(n),r.metaCache=n}else r.metaCache=null})),we(QA(r),"onStoreChange",(function(e,t,n){var o=r.props,i=o.shouldUpdate,A=o.dependencies,a=void 0===A?[]:A,s=o.onReset,l=n.store,c=r.getNamePath(),u=r.getValue(e),d=r.getValue(l),f=t&&Ad(t,c);switch("valueUpdate"!==n.type||"external"!==n.source||Lr(u,d)||(r.touched=!0,r.dirty=!0,r.validatePromise=null,r.errors=ud,r.warnings=ud,r.triggerMetaEvent()),n.type){case"reset":if(!t||f)return r.touched=!1,r.dirty=!1,r.validatePromise=void 0,r.errors=ud,r.warnings=ud,r.triggerMetaEvent(),null==s||s(),void r.refresh();break;case"remove":if(i&&dd(i,e,l,u,d,n))return void r.reRender();break;case"setField":var h=n.data;if(f)return"touched"in h&&(r.touched=h.touched),"validating"in h&&!("originRCField"in h)&&(r.validatePromise=h.validating?Promise.resolve([]):null),"errors"in h&&(r.errors=h.errors||ud),"warnings"in h&&(r.warnings=h.warnings||ud),r.dirty=!0,r.triggerMetaEvent(),void r.reRender();if("value"in h&&Ad(t,c,!0))return void r.reRender();if(i&&!c.length&&dd(i,e,l,u,d,n))return void r.reRender();break;case"dependenciesUpdate":if(a.map(od).some((function(e){return Ad(n.relatedFields,e)})))return void r.reRender();break;default:if(f||(!a.length||c.length||i)&&dd(i,e,l,u,d,n))return void r.reRender()}!0===i&&r.reRender()})),we(QA(r),"validateRules",(function(e){var t=r.getNamePath(),n=r.getValue(),o=e||{},i=o.triggerName,A=o.validateOnly,a=void 0!==A&&A,s=Promise.resolve().then(ur(lr().mark((function o(){var A,a,l,c,u,d,f;return lr().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(r.mounted){o.next=2;break}return o.abrupt("return",[]);case 2:if(A=r.props,a=A.validateFirst,l=void 0!==a&&a,c=A.messageVariables,u=A.validateDebounce,d=r.getRules(),i&&(d=d.filter((function(e){return e})).filter((function(e){var t=e.validateTrigger;return!t||bu(t).includes(i)}))),!u||!i){o.next=10;break}return o.next=8,new Promise((function(e){setTimeout(e,u)}));case 8:if(r.validatePromise===s){o.next=10;break}return o.abrupt("return",[]);case 10:return(f=td(t,n,d,e,l,c)).catch((function(e){return e})).then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ud;if(r.validatePromise===s){var t;r.validatePromise=null;var n=[],o=[];null===(t=e.forEach)||void 0===t||t.call(e,(function(e){var t=e.rule.warningOnly,r=e.errors,i=void 0===r?ud:r;t?o.push.apply(o,sr(i)):n.push.apply(n,sr(i))})),r.errors=n,r.warnings=o,r.triggerMetaEvent(),r.reRender()}})),o.abrupt("return",f);case 13:case"end":return o.stop()}}),o)}))));return a||(r.validatePromise=s,r.dirty=!0,r.errors=ud,r.warnings=ud,r.triggerMetaEvent(),r.reRender()),s})),we(QA(r),"isFieldValidating",(function(){return!!r.validatePromise})),we(QA(r),"isFieldTouched",(function(){return r.touched})),we(QA(r),"isFieldDirty",(function(){return!(!r.dirty&&void 0===r.props.initialValue)||void 0!==(0,r.props.fieldContext.getInternalHooks(mu).getInitialValue)(r.getNamePath())})),we(QA(r),"getErrors",(function(){return r.errors})),we(QA(r),"getWarnings",(function(){return r.warnings})),we(QA(r),"isListField",(function(){return r.props.isListField})),we(QA(r),"isList",(function(){return r.props.isList})),we(QA(r),"isPreserve",(function(){return r.props.preserve})),we(QA(r),"getMeta",(function(){return r.prevValidating=r.isFieldValidating(),{touched:r.isFieldTouched(),validating:r.prevValidating,errors:r.errors,warnings:r.warnings,name:r.getNamePath(),validated:null===r.validatePromise}})),we(QA(r),"getOnlyChild",(function(e){if("function"==typeof e){var t=r.getMeta();return Be(Be({},r.getOnlyChild(e(r.getControlled(),t,r.props.fieldContext))),{},{isFunction:!0})}var n=ic(e);return 1===n.length&&g.isValidElement(n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}})),we(QA(r),"getValue",(function(e){var t=r.props.fieldContext.getFieldsValue,n=r.getNamePath();return Ii(e||t(!0),n)})),we(QA(r),"getControlled",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r.props,n=t.name,o=t.trigger,i=t.validateTrigger,A=t.getValueFromEvent,a=t.normalize,s=t.valuePropName,l=t.getValueProps,c=t.fieldContext,u=void 0!==i?i:c.validateTrigger,d=r.getNamePath(),f=c.getInternalHooks,h=c.getFieldsValue,p=f(mu).dispatch,g=r.getValue(),m=l||function(e){return we({},s,e)},v=e[o],y=void 0!==n?m(g):{},w=Be(Be({},e),y);return w[o]=function(){var e;r.touched=!0,r.dirty=!0,r.triggerMetaEvent();for(var t=arguments.length,n=new Array(t),o=0;o0&&void 0!==arguments[0]?arguments[0]:[];if(n.watchList.length){var t=n.getFieldsValue(),r=n.getFieldsValue(!0);n.watchList.forEach((function(n){n(t,r,e)}))}})),we(this,"timeoutId",null),we(this,"warningUnhooked",(function(){})),we(this,"updateStore",(function(e){n.store=e})),we(this,"getFieldEntities",(function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]?n.fieldEntities.filter((function(e){return e.getNamePath().length})):n.fieldEntities})),we(this,"getFieldsMap",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new vd;return n.getFieldEntities(e).forEach((function(e){var n=e.getNamePath();t.set(n,e)})),t})),we(this,"getFieldEntitiesForNamePathList",(function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map((function(e){var n=od(e);return t.get(n)||{INVALIDATE_NAME_PATH:od(e)}}))})),we(this,"getFieldsValue",(function(e,t){var r,o,i;if(n.warningUnhooked(),!0===e||Array.isArray(e)?(r=e,o=t):e&&"object"===ve(e)&&(i=e.strict,o=e.filter),!0===r&&!o)return n.store;var A=n.getFieldEntitiesForNamePathList(Array.isArray(r)?r:null),a=[];return A.forEach((function(e){var t,n,A,s,l="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(i){if(null!==(A=(s=e).isList)&&void 0!==A&&A.call(s))return}else if(!r&&null!==(t=(n=e).isListField)&&void 0!==t&&t.call(n))return;if(o){var c="getMeta"in e?e.getMeta():null;o(c)&&a.push(l)}else a.push(l)})),id(n.store,a.map(od))})),we(this,"getFieldValue",(function(e){n.warningUnhooked();var t=od(e);return Ii(n.store,t)})),we(this,"getFieldsError",(function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map((function(t,n){return t&&!("INVALIDATE_NAME_PATH"in t)?{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}:{name:od(e[n]),errors:[],warnings:[]}}))})),we(this,"getFieldError",(function(e){n.warningUnhooked();var t=od(e);return n.getFieldsError([t])[0].errors})),we(this,"getFieldWarning",(function(e){n.warningUnhooked();var t=od(e);return n.getFieldsError([t])[0].warnings})),we(this,"isFieldsTouched",(function(){n.warningUnhooked();for(var e=arguments.length,t=new Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},r=new vd,o=n.getFieldEntities(!0);o.forEach((function(e){var t=e.props.initialValue,n=e.getNamePath();if(void 0!==t){var o=r.get(n)||new Set;o.add({entity:e,value:t}),r.set(n,o)}})),t.entities?e=t.entities:t.namePathList?(e=[],t.namePathList.forEach((function(t){var n,o=r.get(t);o&&(n=e).push.apply(n,sr(sr(o).map((function(e){return e.entity}))))}))):e=o,e.forEach((function(e){if(void 0!==e.props.initialValue){var o=e.getNamePath();if(void 0!==n.getInitialValue(o))sn(!1,"Form already set 'initialValues' with path '".concat(o.join("."),"'. Field can not overwrite it."));else{var i=r.get(o);if(i&&i.size>1)sn(!1,"Multiple Field with path '".concat(o.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(i){var A=n.getFieldValue(o);e.isListField()||t.skipExist&&void 0!==A||n.updateStore(Pi(n.store,o,sr(i)[0].value))}}}}))})),we(this,"resetFields",(function(e){n.warningUnhooked();var t=n.store;if(!e)return n.updateStore(Li(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(t,null,{type:"reset"}),void n.notifyWatch();var r=e.map(od);r.forEach((function(e){var t=n.getInitialValue(e);n.updateStore(Pi(n.store,e,t))})),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:"reset"}),n.notifyWatch(r)})),we(this,"setFields",(function(e){n.warningUnhooked();var t=n.store,r=[];e.forEach((function(e){var o=e.name,i=Ce(e,yd),A=od(o);r.push(A),"value"in i&&n.updateStore(Pi(n.store,A,i.value)),n.notifyObservers(t,[A],{type:"setField",data:e})})),n.notifyWatch(r)})),we(this,"getFields",(function(){return n.getFieldEntities(!0).map((function(e){var t=e.getNamePath(),r=Be(Be({},e.getMeta()),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(r,"originRCField",{value:!0}),r}))})),we(this,"initEntityValue",(function(e){var t=e.props.initialValue;if(void 0!==t){var r=e.getNamePath();void 0===Ii(n.store,r)&&n.updateStore(Pi(n.store,r,t))}})),we(this,"isMergedPreserve",(function(e){var t=void 0!==e?e:n.preserve;return null==t||t})),we(this,"registerField",(function(e){n.fieldEntities.push(e);var t=e.getNamePath();if(n.notifyWatch([t]),void 0!==e.props.initialValue){var r=n.store;n.resetWithFieldInitialValue({entities:[e],skipExist:!0}),n.notifyObservers(r,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(r,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter((function(t){return t!==e})),!n.isMergedPreserve(o)&&(!r||i.length>1)){var A=r?void 0:n.getInitialValue(t);if(t.length&&n.getFieldValue(t)!==A&&n.fieldEntities.every((function(e){return!ad(e.getNamePath(),t)}))){var a=n.store;n.updateStore(Pi(a,t,A,!0)),n.notifyObservers(a,[t],{type:"remove"}),n.triggerDependenciesUpdate(a,t)}}n.notifyWatch([t])}})),we(this,"dispatch",(function(e){switch(e.type){case"updateValue":var t=e.namePath,r=e.value;n.updateValue(t,r);break;case"validateField":var o=e.namePath,i=e.triggerName;n.validateFields([o],{triggerName:i})}})),we(this,"notifyObservers",(function(e,t,r){if(n.subscribable){var o=Be(Be({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach((function(n){(0,n.onStoreChange)(e,t,o)}))}else n.forceRootUpdate()})),we(this,"triggerDependenciesUpdate",(function(e,t){var r=n.getDependencyChildrenFields(t);return r.length&&n.validateFields(r),n.notifyObservers(e,r,{type:"dependenciesUpdate",relatedFields:[t].concat(sr(r))}),r})),we(this,"updateValue",(function(e,t){var r=od(e),o=n.store;n.updateStore(Pi(n.store,r,t)),n.notifyObservers(o,[r],{type:"valueUpdate",source:"internal"}),n.notifyWatch([r]);var i=n.triggerDependenciesUpdate(o,r),A=n.callbacks.onValuesChange;A&&A(id(n.store,[r]),n.getFieldsValue()),n.triggerOnFieldsChange([r].concat(sr(i)))})),we(this,"setFieldsValue",(function(e){n.warningUnhooked();var t=n.store;if(e){var r=Li(n.store,e);n.updateStore(r)}n.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()})),we(this,"setFieldValue",(function(e,t){n.setFields([{name:e,value:t}])})),we(this,"getDependencyChildrenFields",(function(e){var t=new Set,r=[],o=new vd;return n.getFieldEntities().forEach((function(e){(e.props.dependencies||[]).forEach((function(t){var n=od(t);o.update(n,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t}))}))})),function e(n){(o.get(n)||new Set).forEach((function(n){if(!t.has(n)){t.add(n);var o=n.getNamePath();n.isFieldDirty()&&o.length&&(r.push(o),e(o))}}))}(e),r})),we(this,"triggerOnFieldsChange",(function(e,t){var r=n.callbacks.onFieldsChange;if(r){var o=n.getFields();if(t){var i=new vd;t.forEach((function(e){var t=e.name,n=e.errors;i.set(t,n)})),o.forEach((function(e){e.errors=i.get(e.name)||e.errors}))}var A=o.filter((function(t){var n=t.name;return Ad(e,n)}));A.length&&r(A,o)}})),we(this,"validateFields",(function(e,t){var r,o;n.warningUnhooked(),Array.isArray(e)||"string"==typeof e||"string"==typeof t?(r=e,o=t):o=e;var i=!!r,A=i?r.map(od):[],a=[],s=String(Date.now()),l=new Set,c=o||{},u=c.recursive,d=c.dirty;n.getFieldEntities(!0).forEach((function(e){if(i||A.push(e.getNamePath()),e.props.rules&&e.props.rules.length&&(!d||e.isFieldDirty())){var t=e.getNamePath();if(l.add(t.join(s)),!i||Ad(A,t,u)){var r=e.validateRules(Be({validateMessages:Be(Be({},$u),n.validateMessages)},o));a.push(r.then((function(){return{name:t,errors:[],warnings:[]}})).catch((function(e){var n,r=[],o=[];return null===(n=e.forEach)||void 0===n||n.call(e,(function(e){var t=e.rule.warningOnly,n=e.errors;t?o.push.apply(o,sr(n)):r.push.apply(r,sr(n))})),r.length?Promise.reject({name:t,errors:r,warnings:o}):{name:t,errors:r,warnings:o}})))}}}));var f=function(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([])}(a);n.lastValidatePromise=f,f.catch((function(e){return e})).then((function(e){var t=e.map((function(e){return e.name}));n.notifyObservers(n.store,t,{type:"validateFinish"}),n.triggerOnFieldsChange(t,e)}));var h=f.then((function(){return n.lastValidatePromise===f?Promise.resolve(n.getFieldsValue(A)):Promise.reject([])})).catch((function(e){var t=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:n.getFieldsValue(A),errorFields:t,outOfDate:n.lastValidatePromise!==f})}));h.catch((function(e){return e}));var p=A.filter((function(e){return l.has(e.join(s))}));return n.triggerOnFieldsChange(p),h})),we(this,"submit",(function(){n.warningUnhooked(),n.validateFields().then((function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(e){console.error(e)}})).catch((function(e){var t=n.callbacks.onFinishFailed;t&&t(e)}))})),this.forceRootUpdate=t}));const bd=function(e){var t=g.useRef(),n=Tr(g.useState({}),2)[1];if(!t.current)if(e)t.current=e;else{var r=new wd((function(){n({})}));t.current=r.getForm()}return[t.current]};var Bd=g.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}});const Cd=Bd;var xd=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"];const Sd=function(e,t){var n=e.name,r=e.initialValues,o=e.fields,i=e.form,A=e.preserve,a=e.children,s=e.component,l=void 0===s?"form":s,c=e.validateMessages,u=e.validateTrigger,d=void 0===u?"onChange":u,f=e.onValuesChange,h=e.onFieldsChange,p=e.onFinish,m=e.onFinishFailed,v=e.clearOnDestroy,y=Ce(e,xd),w=g.useRef(null),b=g.useContext(Cd),B=Tr(bd(i),1)[0],C=B.getInternalHooks(mu),x=C.useSubscribe,S=C.setInitialValues,E=C.setCallbacks,F=C.setValidateMessages,Q=C.setPreserve,U=C.destroyForm;g.useImperativeHandle(t,(function(){return Be(Be({},B),{},{nativeElement:w.current})})),g.useEffect((function(){return b.registerForm(n,B),function(){b.unregisterForm(n)}}),[b,B,n]),F(Be(Be({},b.validateMessages),c)),E({onValuesChange:f,onFieldsChange:function(e){if(b.triggerFormChange(n,e),h){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o=0&&t<=n.length?(l.keys=[].concat(sr(l.keys.slice(0,t)),[l.id],sr(l.keys.slice(t))),i([].concat(sr(n.slice(0,t)),[e],sr(n.slice(t))))):(l.keys=[].concat(sr(l.keys),[l.id]),i([].concat(sr(n),[e]))),l.id+=1},remove:function(e){var t=s(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(l.keys=l.keys.filter((function(e,t){return!n.has(t)})),i(t.filter((function(e,t){return!n.has(t)}))))},move:function(e,t){if(e!==t){var n=s();e<0||e>=n.length||t<0||t>=n.length||(l.keys=ld(l.keys,e,t),i(ld(n,e,t)))}}},d=o||[];return Array.isArray(d)||(d=[]),r(d.map((function(e,t){var n=l.keys[t];return void 0===n&&(l.keys[t]=l.id,n=l.keys[t],l.id+=1),{name:t,key:n,isListField:!0}})),u,t)}))))},Fd.useForm=bd,Fd.useWatch=function(){for(var e=arguments.length,t=new Array(e),n=0;n{let{children:t,status:n,override:r}=e;const o=(0,g.useContext)(Qd),i=(0,g.useMemo)((()=>{const e=Object.assign({},o);return r&&delete e.isFormItemInput,n&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e}),[n,r,o]);return g.createElement(Qd.Provider,{value:i},t)},kd=(0,g.createContext)(void 0),Id=g.createContext(null),Od=(e,t)=>{const n=g.useContext(Id),r=g.useMemo((()=>{if(!n)return"";const{compactDirection:r,isFirstItem:o,isLastItem:i}=n,A="vertical"===r?"-vertical-":"-";return Se()(`${e}-compact${A}item`,{[`${e}-compact${A}first-item`]:o,[`${e}-compact${A}last-item`]:i,[`${e}-compact${A}item-rtl`]:"rtl"===t})}),[e,t,n]);return{compactSize:null==n?void 0:n.compactSize,compactDirection:null==n?void 0:n.compactDirection,compactItemClassnames:r}},Pd=e=>{let{children:t}=e;return g.createElement(Id.Provider,{value:null},t)},Td=e=>{const{space:t,form:n,children:r}=e;if(null==r)return null;let o=r;return n&&(o=g.createElement(Ud,{override:!0,status:!0},o)),t&&(o=g.createElement(Pd,null,o)),o};function Hd(e){const{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,o=t/2,i=o,A=1*r/Math.sqrt(2),a=o-r*(1-1/Math.sqrt(2)),s=o-n*(1/Math.sqrt(2)),l=r*(Math.sqrt(2)-1)+n*(1/Math.sqrt(2)),c=2*o-s,u=l,d=2*o-A,f=a,h=2*o-0,p=i,g=o*Math.sqrt(2)+r*(Math.sqrt(2)-2),m=r*(Math.sqrt(2)-1);return{arrowShadowWidth:g,arrowPath:`path('M 0 ${i} A ${r} ${r} 0 0 0 ${A} ${a} L ${s} ${l} A ${n} ${n} 0 0 1 ${c} ${u} L ${d} ${f} A ${r} ${r} 0 0 0 ${h} ${p} Z')`,arrowPolygon:`polygon(${m}px 100%, 50% ${m}px, ${2*o-m}px 100%, ${m}px 100%)`}}const Ld=(e,t,n)=>{const{sizePopupArrow:r,arrowPolygon:o,arrowPath:i,arrowShadowWidth:A,borderRadiusXS:a,calc:s}=e;return{pointerEvents:"none",width:r,height:r,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:r,height:s(r).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[o,i]},content:'""'},"&::after":{content:'""',position:"absolute",width:A,height:A,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${Ao(a)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}},_d=8;function Rd(e){const{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?_d:r}}function Nd(e,t){return e?t:{}}function Md(e,t,n){const{componentCls:r,boxShadowPopoverArrow:o,arrowOffsetVertical:i,arrowOffsetHorizontal:A}=e,{arrowDistance:a=0,arrowPlacement:s={left:!0,right:!0,top:!0,bottom:!0}}=n||{};return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({[`${r}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},Ld(e,t,o)),{"&:before":{background:t}})]},Nd(!!s.top,{[[`&-placement-top > ${r}-arrow`,`&-placement-topLeft > ${r}-arrow`,`&-placement-topRight > ${r}-arrow`].join(",")]:{bottom:a,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":A,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:A}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${Ao(A)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:A}}}})),Nd(!!s.bottom,{[[`&-placement-bottom > ${r}-arrow`,`&-placement-bottomLeft > ${r}-arrow`,`&-placement-bottomRight > ${r}-arrow`].join(",")]:{top:a,transform:"translateY(-100%)"},[`&-placement-bottom > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":A,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:A}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${Ao(A)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:A}}}})),Nd(!!s.left,{[[`&-placement-left > ${r}-arrow`,`&-placement-leftTop > ${r}-arrow`,`&-placement-leftBottom > ${r}-arrow`].join(",")]:{right:{_skip_check_:!0,value:a},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${r}-arrow`]:{top:i},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:i}})),Nd(!!s.right,{[[`&-placement-right > ${r}-arrow`,`&-placement-rightTop > ${r}-arrow`,`&-placement-rightBottom > ${r}-arrow`].join(",")]:{left:{_skip_check_:!0,value:a},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${r}-arrow`]:{top:i},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:i}}))}}const Dd={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},jd={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},Gd=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);const Kd=e=>({animationDuration:e,animationFillMode:"both"}),Vd=e=>({animationDuration:e,animationFillMode:"both"}),zd=function(e,t,n,r){const o=arguments.length>4&&void 0!==arguments[4]&&arguments[4]?"&":"";return{[`\n ${o}${e}-enter,\n ${o}${e}-appear\n `]:Object.assign(Object.assign({},Kd(r)),{animationPlayState:"paused"}),[`${o}${e}-leave`]:Object.assign(Object.assign({},Vd(r)),{animationPlayState:"paused"}),[`\n ${o}${e}-enter${e}-enter-active,\n ${o}${e}-appear${e}-appear-active\n `]:{animationName:t,animationPlayState:"running"},[`${o}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},Wd=new Ui("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Xd=new Ui("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),$d=new Ui("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Yd=new Ui("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),Jd=new Ui("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),qd=new Ui("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),Zd={zoom:{inKeyframes:Wd,outKeyframes:Xd},"zoom-big":{inKeyframes:$d,outKeyframes:Yd},"zoom-big-fast":{inKeyframes:$d,outKeyframes:Yd},"zoom-left":{inKeyframes:new Ui("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),outKeyframes:new Ui("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}})},"zoom-right":{inKeyframes:new Ui("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),outKeyframes:new Ui("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}})},"zoom-up":{inKeyframes:Jd,outKeyframes:qd},"zoom-down":{inKeyframes:new Ui("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),outKeyframes:new Ui("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}})}},ef=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=Zd[t];return[zd(r,o,i,"zoom-big-fast"===t?e.motionDurationFast:e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},tf=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];function nf(e,t){return tf.reduce(((n,r)=>{const o=e[`${r}1`],i=e[`${r}3`],A=e[`${r}6`],a=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:o,lightBorderColor:i,darkColor:A,textColor:a}))}),{})}const rf=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:o,tooltipBorderRadius:i,zIndexPopup:A,controlHeight:a,boxShadowSecondary:s,paddingSM:l,paddingXS:c}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Va(e)),{position:"absolute",zIndex:A,display:"block",width:"max-content",maxWidth:n,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":o,[`${t}-inner`]:{minWidth:"1em",minHeight:a,padding:`${Ao(e.calc(l).div(2).equal())} ${Ao(c)}`,color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:o,borderRadius:i,boxShadow:s,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:e.min(i,_d)}},[`${t}-content`]:{position:"relative"}}),nf(e,((e,n)=>{let{darkColor:r}=n;return{[`&${t}-${e}`]:{[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{"--antd-arrow-background-color":r}}}}))),{"&-rtl":{direction:"rtl"}})},Md(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},of=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},Rd({contentRadius:e.borderRadius,limitVerticalRadius:!0})),Hd(cl(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),Af=function(e){const t=ml("Tooltip",(e=>{const{borderRadius:t,colorTextLightSolid:n,colorBgSpotlight:r}=e,o=cl(e,{tooltipMaxWidth:250,tooltipColor:n,tooltipBorderRadius:t,tooltipBg:r});return[rf(o),ef(e,"zoom-big-fast")]}),of,{resetStyle:!1,injectStyle:!(arguments.length>1&&void 0!==arguments[1])||arguments[1]});return t(e)},af=tf.map((e=>`${e}-inverse`));function sf(e,t){const n=function(e){return arguments.length>1&&void 0!==arguments[1]&&!arguments[1]?tf.includes(e):[].concat(sr(af),sr(tf)).includes(e)}(t),r=Se()({[`${e}-${t}`]:t&&n}),o={},i={};return t&&!n&&(o.background=t,i["--antd-arrow-background-color"]=t),{className:r,overlayStyle:o,arrowStyle:i}}const lf=g.forwardRef(((e,t)=>{var n,r;const{prefixCls:o,openClassName:i,getTooltipContainer:A,overlayClassName:a,color:s,overlayInnerStyle:l,children:c,afterOpenChange:u,afterVisibleChange:d,destroyTooltipOnHide:f,arrow:h=!0,title:p,overlay:m,builtinPlacements:v,arrowPointAtCenter:y=!1,autoAdjustOverflow:w=!0}=e,b=!!h,[,B]=Da(),{getPopupContainer:C,getPrefixCls:x,direction:S}=g.useContext(kr),E=Ni(),F=g.useRef(null),Q=()=>{var e;null===(e=F.current)||void 0===e||e.forceAlign()};g.useImperativeHandle(t,(()=>{var e;return{forceAlign:Q,forcePopupAlign:()=>{E.deprecated(!1,"forcePopupAlign","forceAlign"),Q()},nativeElement:null===(e=F.current)||void 0===e?void 0:e.nativeElement}}));const[U,k]=TA(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(r=e.defaultOpen)&&void 0!==r?r:e.defaultVisible}),I=!p&&!m&&0!==p,O=g.useMemo((()=>{var e,t;let n=y;return"object"==typeof h&&(n=null!==(t=null!==(e=h.pointAtCenter)&&void 0!==e?e:h.arrowPointAtCenter)&&void 0!==t?t:y),v||function(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:o,borderRadius:i,visibleFirst:A}=e,a=t/2,s={};return Object.keys(Dd).forEach((e=>{const l=r&&jd[e]||Dd[e],c=Object.assign(Object.assign({},l),{offset:[0,0],dynamicInset:!0});switch(s[e]=c,Gd.has(e)&&(c.autoArrow=!1),e){case"top":case"topLeft":case"topRight":c.offset[1]=-a-o;break;case"bottom":case"bottomLeft":case"bottomRight":c.offset[1]=a+o;break;case"left":case"leftTop":case"leftBottom":c.offset[0]=-a-o;break;case"right":case"rightTop":case"rightBottom":c.offset[0]=a+o}const u=Rd({contentRadius:i,limitVerticalRadius:!0});if(r)switch(e){case"topLeft":case"bottomLeft":c.offset[0]=-u.arrowOffsetHorizontal-a;break;case"topRight":case"bottomRight":c.offset[0]=u.arrowOffsetHorizontal+a;break;case"leftTop":case"rightTop":c.offset[1]=2*-u.arrowOffsetHorizontal+a;break;case"leftBottom":case"rightBottom":c.offset[1]=2*u.arrowOffsetHorizontal-a}c.overflow=function(e,t,n,r){if(!1===r)return{adjustX:!1,adjustY:!1};const o=r&&"object"==typeof r?r:{},i={};switch(e){case"top":case"bottom":i.shiftX=2*t.arrowOffsetHorizontal+n,i.shiftY=!0,i.adjustY=!0;break;case"left":case"right":i.shiftY=2*t.arrowOffsetVertical+n,i.shiftX=!0,i.adjustX=!0}const A=Object.assign(Object.assign({},i),o);return A.shiftX||(A.adjustX=!0),A.shiftY||(A.adjustY=!0),A}(e,u,t,n),A&&(c.htmlRegion="visibleFirst")})),s}({arrowPointAtCenter:n,autoAdjustOverflow:w,arrowWidth:b?B.sizePopupArrow:0,borderRadius:B.borderRadius,offset:B.marginXXS,visibleFirst:!0})}),[y,h,v,B]),P=g.useMemo((()=>0===p?p:m||p||""),[m,p]),T=g.createElement(Td,{space:!0},"function"==typeof P?P():P),{getPopupContainer:H,placement:L="top",mouseEnterDelay:_=.1,mouseLeaveDelay:R=.1,overlayStyle:N,rootClassName:M}=e,D=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{var n,r;k(!I&&t),I||(null===(n=e.onOpenChange)||void 0===n||n.call(e,t),null===(r=e.onVisibleChange)||void 0===r||r.call(e,t))},afterVisibleChange:null!=u?u:d,overlayInnerStyle:ee,arrowContent:g.createElement("span",{className:`${j}-arrow-content`}),motion:{motionName:Vl(G,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!f}),V?Xl(z,{className:X}):z);return $(g.createElement($s.Provider,{value:re},oe))})),cf=lf;cf._InternalPanelDoNotUseOrYouWillBeFired=e=>{const{prefixCls:t,className:n,placement:r="top",title:o,color:i,overlayInnerStyle:A}=e,{getPrefixCls:a}=g.useContext(kr),s=a("tooltip",t),[l,c,u]=Af(s),d=sf(s,i),f=d.arrowStyle,h=Object.assign(Object.assign({},A),d.overlayStyle),p=Se()(c,u,s,`${s}-pure`,`${s}-placement-${r}`,n,d.className);return l(g.createElement("div",{className:p,style:f},g.createElement("div",{className:`${s}-arrow`}),g.createElement($l,Object.assign({},e,{className:c,prefixCls:s,overlayInnerStyle:h}),o)))};const uf=cf,df=e=>{const{componentCls:t,popoverColor:n,titleMinWidth:r,fontWeightStrong:o,innerPadding:i,boxShadowSecondary:A,colorTextHeading:a,borderRadiusLG:s,zIndexPopup:l,titleMarginBottom:c,colorBgElevated:u,popoverBg:d,titleBorderBottom:f,innerContentPadding:h,titlePadding:p}=e;return[{[t]:Object.assign(Object.assign({},Va(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:l,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"--antd-arrow-background-color":u,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:d,backgroundClip:"padding-box",borderRadius:s,boxShadow:A,padding:i},[`${t}-title`]:{minWidth:r,marginBottom:c,color:a,fontWeight:o,borderBottom:f,padding:p},[`${t}-inner-content`]:{color:n,padding:h}})},Md(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},ff=e=>{const{componentCls:t}=e;return{[t]:tf.map((n=>{const r=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}}))}},hf=ml("Popover",(e=>{const{colorBgElevated:t,colorText:n}=e,r=cl(e,{popoverBg:t,popoverColor:n});return[df(r),ff(r),ef(r,"zoom-big")]}),(e=>{const{lineWidth:t,controlHeight:n,fontHeight:r,padding:o,wireframe:i,zIndexPopupBase:A,borderRadiusLG:a,marginXS:s,lineType:l,colorSplit:c,paddingSM:u}=e,d=n-r,f=d/2,h=d/2-t,p=o;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:A+30},Hd(e)),Rd({contentRadius:a,limitVerticalRadius:!0})),{innerPadding:i?0:12,titleMarginBottom:i?0:s,titlePadding:i?`${f}px ${p}px ${h}px`:0,titleBorderBottom:i?`${t}px ${l} ${c}`:"none",innerContentPadding:i?`${u}px ${p}px`:0})}),{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});const pf=e=>{let{title:t,content:n,prefixCls:r}=e;return t||n?g.createElement(g.Fragment,null,t&&g.createElement("div",{className:`${r}-title`},t),n&&g.createElement("div",{className:`${r}-inner-content`},n)):null},gf=e=>{const{hashId:t,prefixCls:n,className:r,style:o,placement:i="top",title:A,content:a,children:s}=e,l=Kl(A),c=Kl(a),u=Se()(t,n,`${n}-pure`,`${n}-placement-${i}`,r);return g.createElement("div",{className:u,style:o},g.createElement("div",{className:`${n}-arrow`}),g.createElement($l,Object.assign({},e,{className:t,prefixCls:n}),s||g.createElement(pf,{prefixCls:n,title:l,content:c})))};const mf=g.forwardRef(((e,t)=>{var n,r;const{prefixCls:o,title:i,content:A,overlayClassName:a,placement:s="top",trigger:l="hover",children:c,mouseEnterDelay:u=.1,mouseLeaveDelay:d=.1,onOpenChange:f,overlayStyle:h={}}=e,p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{S(e,!0),null==f||f(e,t)},F=Kl(i),Q=Kl(A);return y(g.createElement(uf,Object.assign({placement:s,trigger:l,mouseEnterDelay:u,mouseLeaveDelay:d,overlayStyle:h},p,{prefixCls:v,overlayClassName:C,ref:t,open:x,onOpenChange:e=>{E(e)},overlay:F||Q?g.createElement(pf,{prefixCls:v,title:F,content:Q}):null,transitionName:Vl(B,"zoom-big",p.transitionName),"data-popover-inject":!0}),Xl(c,{onKeyDown:e=>{var t,n;g.isValidElement(c)&&(null===(n=null==c?void 0:(t=c.props).onKeyDown)||void 0===n||n.call(t,e)),(e=>{e.keyCode===Is.ESC&&E(!1,e)})(e)}})))})),vf=mf;vf._InternalPanelDoNotUseOrYouWillBeFired=e=>{const{prefixCls:t,className:n}=e,r=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},Bf=vl("Wave",(e=>[bf(e)])),Cf=`${Fr}-wave-target`;function xf(e){return e&&"#fff"!==e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&"rgba(255, 255, 255, 1)"!==e&&function(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return!(t&&t[1]&&t[2]&&t[3]&&t[1]===t[2]&&t[2]===t[3])}(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&"transparent"!==e}function Sf(e){return Number.isNaN(e)?0:e}const Ef=e=>{const{className:t,target:n,component:r}=e,o=g.useRef(null),[i,A]=g.useState(null),[a,s]=g.useState([]),[l,c]=g.useState(0),[u,d]=g.useState(0),[f,h]=g.useState(0),[p,m]=g.useState(0),[v,y]=g.useState(!1),w={left:l,top:u,width:f,height:p,borderRadius:a.map((e=>`${e}px`)).join(" ")};function b(){const e=getComputedStyle(n);A(function(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return xf(t)?t:xf(n)?n:xf(r)?r:null}(n));const t="static"===e.position,{borderLeftWidth:r,borderTopWidth:o}=e;c(t?n.offsetLeft:Sf(-parseFloat(r))),d(t?n.offsetTop:Sf(-parseFloat(o))),h(n.offsetWidth),m(n.offsetHeight);const{borderTopLeftRadius:i,borderTopRightRadius:a,borderBottomLeftRadius:l,borderBottomRightRadius:u}=e;s([i,a,u,l].map((e=>Sf(parseFloat(e)))))}if(i&&(w["--wave-color"]=i),g.useEffect((()=>{if(n){const e=fa((()=>{b(),y(!0)}));let t;return"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(b),t.observe(n)),()=>{fa.cancel(e),null==t||t.disconnect()}}}),[]),!v)return null;const B=("Checkbox"===r||"Radio"===r)&&(null==n?void 0:n.classList.contains(Cf));return g.createElement(ka,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(e,t)=>{var n;if(t.deadline||"opacity"===t.propertyName){const e=null===(n=o.current)||void 0===n?void 0:n.parentElement;xr(e).then((()=>{null==e||e.remove()}))}return!1}},((e,n)=>{let{className:r}=e;return g.createElement("div",{ref:Ue(o,n),className:Se()(t,r,{"wave-quick":B}),style:w})}))},Ff=(e,t)=>{var n;const{component:r}=t;if("Checkbox"===r&&!(null===(n=e.querySelector("input"))||void 0===n?void 0:n.checked))return;const o=document.createElement("div");o.style.position="absolute",o.style.left="0px",o.style.top="0px",null==e||e.insertBefore(o,null==e?void 0:e.firstChild),wr(g.createElement(Ef,Object.assign({},t,{target:e})),o)},Qf=(e,t,n)=>{const{wave:r}=g.useContext(kr),[,o,i]=Da(),A=IA((A=>{const a=e.current;if((null==r?void 0:r.disabled)||!a)return;const s=a.querySelector(`.${Cf}`)||a,{showEffect:l}=r||{};(l||Ff)(s,{className:t,token:o,component:n,event:A,hashId:i})})),a=g.useRef();return e=>{fa.cancel(a.current),a.current=fa((()=>{A(e)}))}},Uf=e=>{const{children:t,disabled:n,component:r}=e,{getPrefixCls:o}=(0,g.useContext)(kr),i=(0,g.useRef)(null),A=o("wave"),[,a]=Bf(A),s=Qf(i,Se()(A,a),r);return g.useEffect((()=>{const e=i.current;if(!e||1!==e.nodeType||n)return;const t=t=>{!$c(t.target)||!e.getAttribute||e.getAttribute("disabled")||e.disabled||e.className.includes("disabled")||e.className.includes("-leave")||s(t)};return e.addEventListener("click",t,!0),()=>{e.removeEventListener("click",t,!0)}}),[n]),g.isValidElement(t)?Xl(t,{ref:Ie(t)?Ue(t.ref,i):i}):null!=t?t:null},kf=e=>{const t=g.useContext(pA);return g.useMemo((()=>e?"string"==typeof e?null!=e?e:t:e instanceof Function?e(t):t:t),[e,t])};const If=g.createContext(void 0),Of=/^[\u4e00-\u9fa5]{2}$/,Pf=Of.test.bind(Of);function Tf(e){return"danger"===e?{danger:!0}:{type:e}}function Hf(e){return"string"==typeof e}function Lf(e){return"text"===e||"link"===e}const _f=(0,g.forwardRef)(((e,t)=>{const{className:n,style:r,children:o,prefixCls:i}=e,A=Se()(`${i}-icon`,n);return g.createElement("span",{ref:t,className:A,style:r},o)})),Rf=_f,Nf=(0,g.forwardRef)(((e,t)=>{const{prefixCls:n,className:r,style:o,iconClassName:i}=e,A=Se()(`${n}-loading-icon`,r);return g.createElement(Rf,{prefixCls:n,className:A,style:o,ref:t},g.createElement(Us,{className:i}))})),Mf=()=>({width:0,opacity:0,transform:"scale(0)"}),Df=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),jf=e=>{const{prefixCls:t,loading:n,existIcon:r,className:o,style:i}=e,A=!!n;return r?g.createElement(Nf,{prefixCls:t,className:o,style:i}):g.createElement(ka,{visible:A,motionName:`${t}-loading-icon-motion`,motionLeave:A,removeOnLeave:!0,onAppearStart:Mf,onAppearActive:Df,onEnterStart:Mf,onEnterActive:Df,onLeaveStart:Df,onLeaveActive:Mf},((e,n)=>{let{className:r,style:A}=e;return g.createElement(Nf,{prefixCls:t,className:o,style:Object.assign(Object.assign({},i),A),ref:n,iconClassName:r})}))},Gf=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),Kf=e=>{const{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:o,colorErrorHover:i}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},Gf(`${t}-primary`,o),Gf(`${t}-danger`,i)]}},Vf=e=>{const{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e;return cl(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n})},zf=e=>{var t,n,r,o,i,A;const a=null!==(t=e.contentFontSize)&&void 0!==t?t:e.fontSize,s=null!==(n=e.contentFontSizeSM)&&void 0!==n?n:e.fontSize,l=null!==(r=e.contentFontSizeLG)&&void 0!==r?r:e.fontSizeLG,c=null!==(o=e.contentLineHeight)&&void 0!==o?o:tA(a),u=null!==(i=e.contentLineHeightSM)&&void 0!==i?i:tA(s),d=null!==(A=e.contentLineHeightLG)&&void 0!==A?A:tA(l);return{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:e.colorBgTextHover,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,contentFontSize:a,contentFontSizeSM:s,contentFontSizeLG:l,contentLineHeight:c,contentLineHeightSM:u,contentLineHeightLG:d,paddingBlock:Math.max((e.controlHeight-a*c)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-s*u)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-l*d)/2-e.lineWidth,0)}},Wf=e=>{const{componentCls:t,iconCls:n,fontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${Ao(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:1},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},Xa(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},"&-icon-end":{flexDirection:"row-reverse"}}}},Xf=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),$f=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Yf=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),Jf=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),qf=(e,t,n,r,o,i,A,a)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},Xf(e,Object.assign({background:t},A),Object.assign({background:t},a))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:i||void 0}})}),Zf=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},Jf(e))}),eh=e=>Object.assign({},Zf(e)),th=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),nh=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},eh(e)),{background:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),Xf(e.componentCls,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),qf(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},Xf(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),qf(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),Zf(e))}),rh=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},eh(e)),{color:e.primaryColor,background:e.colorPrimary,boxShadow:e.primaryShadow}),Xf(e.componentCls,{color:e.colorTextLightSolid,background:e.colorPrimaryHover},{color:e.colorTextLightSolid,background:e.colorPrimaryActive})),qf(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({background:e.colorError,boxShadow:e.dangerShadow,color:e.dangerColor},Xf(e.componentCls,{background:e.colorErrorHover},{background:e.colorErrorActive})),qf(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Zf(e))}),oh=e=>Object.assign(Object.assign({},nh(e)),{borderStyle:"dashed"}),ih=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},Xf(e.componentCls,{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),th(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},Xf(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),th(e))}),Ah=e=>Object.assign(Object.assign(Object.assign({},Xf(e.componentCls,{color:e.colorText,background:e.textHoverBg},{color:e.colorText,background:e.colorBgTextActive})),th(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},th(e)),Xf(e.componentCls,{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive}))}),ah=e=>{const{componentCls:t}=e;return{[`${t}-default`]:nh(e),[`${t}-primary`]:rh(e),[`${t}-dashed`]:oh(e),[`${t}-link`]:ih(e),[`${t}-text`]:Ah(e),[`${t}-ghost`]:qf(e.componentCls,e.ghostBg,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},sh=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const{componentCls:n,controlHeight:r,fontSize:o,lineHeight:i,borderRadius:A,buttonPaddingHorizontal:a,iconCls:s,buttonPaddingVertical:l}=e,c=`${n}-icon-only`;return[{[t]:{fontSize:o,lineHeight:i,height:r,padding:`${Ao(l)} ${Ao(a)}`,borderRadius:A,[`&${c}`]:{width:r,paddingInline:0,[`&${n}-compact-item`]:{flex:"none"},[`&${n}-round`]:{width:"auto"},[s]:{fontSize:e.buttonIconOnlyFontSize}},[`&${n}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}},{[`${n}${n}-circle${t}`]:$f(e)},{[`${n}${n}-round${t}`]:Yf(e)}]},lh=e=>{const t=cl(e,{fontSize:e.contentFontSize,lineHeight:e.contentLineHeight});return sh(t,e.componentCls)},ch=e=>{const t=cl(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,lineHeight:e.contentLineHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:e.paddingBlockSM,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return sh(t,`${e.componentCls}-sm`)},uh=e=>{const t=cl(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,lineHeight:e.contentLineHeightLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:e.paddingBlockLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return sh(t,`${e.componentCls}-lg`)},dh=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},fh=ml("Button",(e=>{const t=Vf(e);return[Wf(t),lh(t),ch(t),uh(t),dh(t),ah(t),Kf(t)]}),zf,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function hh(e,t,n){const{focusElCls:r,focus:o,borderElCls:i}=n,A=i?"> *":"",a=["hover",o?"focus":null,"active"].filter(Boolean).map((e=>`&:${e} ${A}`)).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[a]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${A}`]:{zIndex:0}})}}function ph(e,t,n){const{borderElCls:r}=n,o=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${o}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function gh(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{focus:!0};const{componentCls:n}=e,r=`${n}-compact`;return{[r]:Object.assign(Object.assign({},hh(e,r,t)),ph(n,r,t))}}function mh(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function vh(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},mh(e,t)),(n=e.componentCls,r=t,{[`&-item:not(${r}-first-item):not(${r}-last-item)`]:{borderRadius:0},[`&-item${r}-first-item:not(${r}-last-item)`]:{[`&, &${n}-sm, &${n}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${r}-last-item:not(${r}-first-item)`]:{[`&, &${n}-sm, &${n}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}))};var n,r}const yh=e=>{const{componentCls:t,calc:n}=e;return{[t]:{[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:e.lineWidth,height:`calc(100% + ${Ao(e.lineWidth)} * 2)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:`calc(100% + ${Ao(e.lineWidth)} * 2)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},wh=yl(["Button","compact"],(e=>{const t=Vf(e);return[gh(t),vh(t),yh(t)]}),zf);const bh=g.forwardRef(((e,t)=>{var n,r,o;const{loading:i=!1,prefixCls:A,type:a,danger:s=!1,shape:l="default",size:c,styles:u,disabled:d,className:f,rootClassName:h,children:p,icon:m,iconPosition:v="start",ghost:y=!1,block:w=!1,htmlType:b="button",classNames:B,style:C={},autoInsertSpace:x}=e,S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);ofunction(e){if("object"==typeof e&&e){let t=null==e?void 0:e.delay;return t=Number.isNaN(t)||"number"!=typeof t?0:t,{loading:t<=0,delay:t}}return{loading:!!e,delay:0}}(i)),[i]),[N,M]=(0,g.useState)(R.loading),[D,j]=(0,g.useState)(!1),G=Ue(t,(0,g.createRef)()),K=1===g.Children.count(p)&&!m&&!Lf(E);(0,g.useEffect)((()=>{let e=null;return R.delay>0?e=setTimeout((()=>{e=null,M(!0)}),R.delay):M(R.loading),function(){e&&(clearTimeout(e),e=null)}}),[R]),(0,g.useEffect)((()=>{if(!G||!G.current||!k)return;const e=G.current.textContent;K&&Pf(e)?D||j(!0):D&&j(!1)}),[G]);const V=t=>{const{onClick:n}=e;N||L?t.preventDefault():null==n||n(t)},{compactSize:z,compactItemClassnames:W}=Od(I,Q),X=kf((e=>{var t,n;return null!==(n=null!==(t=null!=c?c:z)&&void 0!==t?t:_)&&void 0!==n?n:e})),$=X&&{large:"lg",small:"sm",middle:void 0}[X]||"",Y=N?"loading":m,J=wf(S,["navigate"]),q=Se()(I,P,T,{[`${I}-${l}`]:"default"!==l&&l,[`${I}-${E}`]:E,[`${I}-${$}`]:$,[`${I}-icon-only`]:!p&&0!==p&&!!Y,[`${I}-background-ghost`]:y&&!Lf(E),[`${I}-loading`]:N,[`${I}-two-chinese-chars`]:D&&k&&!N,[`${I}-block`]:w,[`${I}-dangerous`]:s,[`${I}-rtl`]:"rtl"===Q,[`${I}-icon-end`]:"end"===v},W,f,h,null==U?void 0:U.className),Z=Object.assign(Object.assign({},null==U?void 0:U.style),C),ee=Se()(null==B?void 0:B.icon,null===(r=null==U?void 0:U.classNames)||void 0===r?void 0:r.icon),te=Object.assign(Object.assign({},(null==u?void 0:u.icon)||{}),(null===(o=null==U?void 0:U.styles)||void 0===o?void 0:o.icon)||{}),ne=m&&!N?g.createElement(Rf,{prefixCls:I,className:ee,style:te},m):g.createElement(jf,{existIcon:!!m,prefixCls:I,loading:N}),re=p||0===p?function(e,t){let n=!1;const r=[];return g.Children.forEach(e,(e=>{const t=typeof e,o="string"===t||"number"===t;if(n&&o){const t=r.length-1,n=r[t];r[t]=`${n}${e}`}else r.push(e);n=o})),g.Children.map(r,(e=>function(e,t){if(null==e)return;const n=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&Hf(e.type)&&Pf(e.props.children)?Xl(e,{children:e.props.children.split("").join(n)}):Hf(e)?Pf(e)?g.createElement("span",null,e.split("").join(n)):g.createElement("span",null,e):zl(e)?g.createElement("span",null,e):e}(e,t)))}(p,K&&k):null;if(void 0!==J.href)return O(g.createElement("a",Object.assign({},J,{className:Se()(q,{[`${I}-disabled`]:L}),href:L?void 0:J.href,style:Z,onClick:V,ref:G,tabIndex:L?-1:0}),ne,re));let oe=g.createElement("button",Object.assign({},S,{type:b,className:q,style:Z,onClick:V,disabled:L,ref:G}),ne,re,!!W&&g.createElement(wh,{key:"compact",prefixCls:I}));return Lf(E)||(oe=g.createElement(Uf,{component:"Button",disabled:N},oe)),O(oe)})),Bh=bh;Bh.Group=e=>{const{getPrefixCls:t,direction:n}=g.useContext(kr),{prefixCls:r,size:o,className:i}=e,A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{const n=g.useContext(Yi);return[g.useMemo((()=>{var r;const o=t||Vi[e],i=null!==(r=null==n?void 0:n[e])&&void 0!==r?r:{};return Object.assign(Object.assign({},"function"==typeof o?o():o),i||{})}),[e,t,n]),g.useMemo((()=>{const e=null==n?void 0:n.locale;return(null==n?void 0:n.exist)&&!e?Vi.locale:e}),[n])]};function Sh(e){return!!(null==e?void 0:e.then)}const Eh=e=>{const{type:t,children:n,prefixCls:r,buttonProps:o,close:i,autoFocus:A,emitEvent:a,isSilent:s,quitOnNullishReturnValue:l,actionFn:c}=e,u=g.useRef(!1),d=g.useRef(null),[f,h]=OA(!1),p=function(){null==i||i.apply(void 0,arguments)};return g.useEffect((()=>{let e=null;return A&&(e=setTimeout((()=>{var e;null===(e=d.current)||void 0===e||e.focus()}))),()=>{e&&clearTimeout(e)}}),[]),g.createElement(Ch,Object.assign({},Tf(t),{onClick:e=>{if(u.current)return;if(u.current=!0,!c)return void p();let t;if(a){if(t=c(e),l&&!Sh(t))return u.current=!1,void p(e)}else if(c.length)t=c(i),u.current=!1;else if(t=c(),!Sh(t))return void p();(e=>{Sh(e)&&(h(!0),e.then((function(){h(!1,!0),p.apply(void 0,arguments),u.current=!1}),(e=>{if(h(!1,!0),u.current=!1,!(null==s?void 0:s()))return Promise.reject(e)})))})(t)},loading:f,prefixCls:r},o,{ref:d}),n)},Fh=g.createContext({}),{Provider:Qh}=Fh,Uh=()=>{const{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:o,rootPrefixCls:i,close:A,onCancel:a,onConfirm:s}=(0,g.useContext)(Fh);return o?g.createElement(Eh,{isSilent:r,actionFn:a,close:function(){null==A||A.apply(void 0,arguments),null==s||s(!1)},autoFocus:"cancel"===e,buttonProps:t,prefixCls:`${i}-btn`},n):null},kh=()=>{const{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:o,okTextLocale:i,okType:A,onConfirm:a,onOk:s}=(0,g.useContext)(Fh);return g.createElement(Eh,{isSilent:n,type:A||"primary",actionFn:s,close:function(){null==t||t.apply(void 0,arguments),null==a||a(!0)},autoFocus:"ok"===e,buttonProps:r,prefixCls:`${o}-btn`},i)};var Ih=g.createContext({});function Oh(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function Ph(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;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}const Th=g.memo((function(e){return e.children}),(function(e,t){return!t.shouldUpdate}));var Hh={width:0,height:0,overflow:"hidden",outline:"none"},Lh={outline:"none"},_h=g.forwardRef((function(e,t){var n=e.prefixCls,r=e.className,o=e.style,i=e.title,A=e.ariaId,a=e.footer,s=e.closable,l=e.closeIcon,c=e.onClose,u=e.children,d=e.bodyStyle,f=e.bodyProps,h=e.modalRender,p=e.onMouseDown,m=e.onMouseUp,v=e.holderRef,y=e.visible,w=e.forceRender,b=e.width,B=e.height,C=e.classNames,x=e.styles,S=g.useContext(Ih).panel,E=ke(v,S),F=(0,g.useRef)(),Q=(0,g.useRef)(),U=(0,g.useRef)();g.useImperativeHandle(t,(function(){return{focus:function(){var e;null===(e=U.current)||void 0===e||e.focus({preventScroll:!0})},changeActive:function(e){var t=document.activeElement;e&&t===Q.current?F.current.focus({preventScroll:!0}):e||t!==F.current||Q.current.focus({preventScroll:!0})}}}));var k={};void 0!==b&&(k.width=b),void 0!==B&&(k.height=B);var I=a?g.createElement("div",{className:Se()("".concat(n,"-footer"),null==C?void 0:C.footer),style:Be({},null==x?void 0:x.footer)},a):null,O=i?g.createElement("div",{className:Se()("".concat(n,"-header"),null==C?void 0:C.header),style:Be({},null==x?void 0:x.header)},g.createElement("div",{className:"".concat(n,"-title"),id:A},i)):null,P=(0,g.useMemo)((function(){return"object"===ve(s)&&null!==s?s:s?{closeIcon:null!=l?l:g.createElement("span",{className:"".concat(n,"-close-x")})}:{}}),[s,l,n]),T=Ls(P,!0),H="object"===ve(s)&&s.disabled,L=s?g.createElement("button",me({type:"button",onClick:c,"aria-label":"Close"},T,{className:"".concat(n,"-close"),disabled:H}),P.closeIcon):null,_=g.createElement("div",{className:Se()("".concat(n,"-content"),null==C?void 0:C.content),style:null==x?void 0:x.content},L,O,g.createElement("div",me({className:Se()("".concat(n,"-body"),null==C?void 0:C.body),style:Be(Be({},d),null==x?void 0:x.body)},f),u),I);return g.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":i?A:null,"aria-modal":"true",ref:E,style:Be(Be({},o),k),className:Se()(n,r),onMouseDown:p,onMouseUp:m},g.createElement("div",{tabIndex:0,ref:F,style:Hh,"aria-hidden":"true"}),g.createElement("div",{ref:U,tabIndex:-1,style:Lh},g.createElement(Th,{shouldUpdate:y||w},h?h(_):_)),g.createElement("div",{tabIndex:0,ref:Q,style:Hh,"aria-hidden":"true"}))}));const Rh=_h;var Nh=g.forwardRef((function(e,t){var n=e.prefixCls,r=e.title,o=e.style,i=e.className,A=e.visible,a=e.forceRender,s=e.destroyOnClose,l=e.motionName,c=e.ariaId,u=e.onVisibleChanged,d=e.mousePosition,f=(0,g.useRef)(),h=Tr(g.useState(),2),p=h[0],m=h[1],v={};function y(){var e=function(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow;return n.left+=Ph(o),n.top+=Ph(o,!0),n}(f.current);m(d&&(d.x||d.y)?"".concat(d.x-e.left,"px ").concat(d.y-e.top,"px"):"")}return p&&(v.transformOrigin=p),g.createElement(ka,{visible:A,onVisibleChanged:u,onAppearPrepare:y,onEnterPrepare:y,forceRender:a,motionName:l,removeOnLeave:s,ref:f},(function(A,a){var s=A.className,l=A.style;return g.createElement(Rh,me({},e,{ref:t,title:r,ariaId:c,prefixCls:n,holderRef:a,style:Be(Be(Be({},l),o),v),className:Se()(i,s)}))}))}));Nh.displayName="Content";const Mh=Nh,Dh=function(e){var t=e.prefixCls,n=e.style,r=e.visible,o=e.maskProps,i=e.motionName,A=e.className;return g.createElement(ka,{key:"mask",visible:r,motionName:i,leavedClassName:"".concat(t,"-mask-hidden")},(function(e,r){var i=e.className,a=e.style;return g.createElement("div",me({ref:r,style:Be(Be({},a),n),className:Se()("".concat(t,"-mask"),i,A)},o))}))},jh=function(e){var t=e.prefixCls,n=void 0===t?"rc-dialog":t,r=e.zIndex,o=e.visible,i=void 0!==o&&o,A=e.keyboard,a=void 0===A||A,s=e.focusTriggerAfterClose,l=void 0===s||s,c=e.wrapStyle,u=e.wrapClassName,d=e.wrapProps,f=e.onClose,h=e.afterOpenChange,p=e.afterClose,m=e.transitionName,v=e.animation,y=e.closable,w=void 0===y||y,b=e.mask,B=void 0===b||b,C=e.maskTransitionName,x=e.maskAnimation,S=e.maskClosable,E=void 0===S||S,F=e.maskStyle,Q=e.maskProps,U=e.rootClassName,k=e.classNames,I=e.styles,O=(0,g.useRef)(),P=(0,g.useRef)(),T=(0,g.useRef)(),H=Tr(g.useState(i),2),L=H[0],_=H[1],R=Rc();function N(e){null==f||f(e)}var M=(0,g.useRef)(!1),D=(0,g.useRef)(),j=null;E&&(j=function(e){M.current?M.current=!1:P.current===e.target&&N(e)}),(0,g.useEffect)((function(){i&&(_(!0),Dt(P.current,document.activeElement)||(O.current=document.activeElement))}),[i]),(0,g.useEffect)((function(){return function(){clearTimeout(D.current)}}),[]);var G=Be(Be(Be({zIndex:r},c),null==I?void 0:I.wrapper),{},{display:L?null:"none"});return g.createElement("div",me({className:Se()("".concat(n,"-root"),U)},Ls(e,{data:!0})),g.createElement(Dh,{prefixCls:n,visible:B&&i,motionName:Oh(n,C,x),style:Be(Be({zIndex:r},F),null==I?void 0:I.mask),maskProps:Q,className:null==k?void 0:k.mask}),g.createElement("div",me({tabIndex:-1,onKeyDown:function(e){if(a&&e.keyCode===Is.ESC)return e.stopPropagation(),void N(e);i&&e.keyCode===Is.TAB&&T.current.changeActive(!e.shiftKey)},className:Se()("".concat(n,"-wrap"),u,null==k?void 0:k.wrapper),ref:P,onClick:j,style:G},d),g.createElement(Mh,me({},e,{onMouseDown:function(){clearTimeout(D.current),M.current=!0},onMouseUp:function(){D.current=setTimeout((function(){M.current=!1}))},ref:T,closable:w,ariaId:R,prefixCls:n,visible:i&&L,onClose:N,onVisibleChanged:function(e){if(e)Dt(P.current,document.activeElement)||null===(t=T.current)||void 0===t||t.focus();else{if(_(!1),B&&O.current&&l){try{O.current.focus({preventScroll:!0})}catch(e){}O.current=null}L&&(null==p||p())}var t;null==h||h(e)},motionName:Oh(n,m,v)}))))};var Gh=function(e){var t=e.visible,n=e.getContainer,r=e.forceRender,o=e.destroyOnClose,i=void 0!==o&&o,A=e.afterClose,a=e.panelRef,s=Tr(g.useState(t),2),l=s[0],c=s[1],u=g.useMemo((function(){return{panel:a}}),[a]);return g.useEffect((function(){t&&c(!0)}),[t]),r||!i||l?g.createElement(Ih.Provider,{value:u},g.createElement(oc,{open:t||r||l,autoDestroy:!1,getContainer:n,autoLock:t||l},g.createElement(jh,me({},e,{destroyOnClose:i,afterClose:function(){null==A||A(),c(!1)}})))):null};Gh.displayName="Dialog";const Kh=Gh;function Vh(e){if(e)return{closable:e.closable,closeIcon:e.closeIcon}}function zh(e){const{closable:t,closeIcon:n}=e||{};return g.useMemo((()=>{if(!t&&(!1===t||!1===n||null===n))return!1;if(void 0===t&&void 0===n)return null;let e={closeIcon:"boolean"!=typeof n&&null!==n?n:void 0};return t&&"object"==typeof t&&(e=Object.assign(Object.assign({},e),t)),e}),[t,n])}function Wh(){const e={};for(var t=arguments.length,n=new Array(t),r=0;r{t&&Object.keys(t).forEach((n=>{void 0!==t[n]&&(e[n]=t[n])}))})),e}const Xh={};function $h(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Xh;const r=zh(e),o=zh(t),i=g.useMemo((()=>Object.assign({closeIcon:g.createElement(El,null)},n)),[n]),A=g.useMemo((()=>!1!==r&&(r?Wh(i,o,r):!1!==o&&(o?Wh(i,o):!!i.closable&&i))),[r,o,i]);return g.useMemo((()=>{if(!1===A)return[!1,null];const{closeIconRender:e}=i,{closeIcon:t}=A;let n=t;if(null!=n){e&&(n=e(t));const r=Ls(A,!0);Object.keys(r).length&&(n=g.isValidElement(n)?g.cloneElement(n,r):g.createElement("span",Object.assign({},r),n))}return[!0,n]}),[A,i])}const Yh=e=>{const{prefixCls:t,className:n,style:r,size:o,shape:i}=e,A=Se()({[`${t}-lg`]:"large"===o,[`${t}-sm`]:"small"===o}),a=Se()({[`${t}-circle`]:"circle"===i,[`${t}-square`]:"square"===i,[`${t}-round`]:"round"===i}),s=g.useMemo((()=>"number"==typeof o?{width:o,height:o,lineHeight:`${o}px`}:{}),[o]);return g.createElement("span",{className:Se()(t,A,a,n),style:Object.assign(Object.assign({},s),r)})},Jh=new Ui("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),qh=e=>({height:e,lineHeight:Ao(e)}),Zh=e=>Object.assign({width:e},qh(e)),ep=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Jh,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),tp=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},qh(e)),np=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i}=e;return{[t]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},Zh(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},Zh(o)),[`${t}${t}-sm`]:Object.assign({},Zh(i))}},rp=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:A,calc:a}=e;return{[r]:Object.assign({display:"inline-block",verticalAlign:"top",background:A,borderRadius:n},tp(t,a)),[`${r}-lg`]:Object.assign({},tp(o,a)),[`${r}-sm`]:Object.assign({},tp(i,a))}},op=e=>Object.assign({width:e},qh(e)),ip=e=>{const{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:o,calc:i}=e;return{[t]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:o},op(i(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},op(n)),{maxWidth:i(n).mul(4).equal(),maxHeight:i(n).mul(4).equal()}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},Ap=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},ap=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},qh(e)),sp=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:A,calc:a}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:A,borderRadius:t,width:a(r).mul(2).equal(),minWidth:a(r).mul(2).equal()},ap(r,a))},Ap(e,r,n)),{[`${n}-lg`]:Object.assign({},ap(o,a))}),Ap(e,o,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},ap(i,a))}),Ap(e,i,`${n}-sm`))},lp=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:o,skeletonButtonCls:i,skeletonInputCls:A,skeletonImageCls:a,controlHeight:s,controlHeightLG:l,controlHeightSM:c,gradientFromColor:u,padding:d,marginSM:f,borderRadius:h,titleHeight:p,blockRadius:g,paragraphLiHeight:m,controlHeightXS:v,paragraphMarginTop:y}=e;return{[t]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:d,verticalAlign:"top",[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:u},Zh(s)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},Zh(l)),[`${n}-sm`]:Object.assign({},Zh(c))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[r]:{width:"100%",height:p,background:u,borderRadius:g,[`+ ${o}`]:{marginBlockStart:c}},[o]:{padding:0,"> li":{width:"100%",height:m,listStyle:"none",background:u,borderRadius:g,"+ li":{marginBlockStart:v}}},[`${o}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${o} > li`]:{borderRadius:h}}},[`${t}-with-avatar ${t}-content`]:{[r]:{marginBlockStart:f,[`+ ${o}`]:{marginBlockStart:y}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},sp(e)),np(e)),rp(e)),ip(e)),[`${t}${t}-block`]:{width:"100%",[i]:{width:"100%"},[A]:{width:"100%"}},[`${t}${t}-active`]:{[`\n ${r},\n ${o} > li,\n ${n},\n ${i},\n ${A},\n ${a}\n `]:Object.assign({},ep(e))}}},cp=ml("Skeleton",(e=>{const{componentCls:t,calc:n}=e,r=cl(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[lp(r)]}),(e=>{const{colorFillContent:t,colorFill:n}=e;return{color:t,colorGradientEnd:n,gradientFromColor:t,gradientToColor:n,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}}),{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),up={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"};var dp=function(e,t){return g.createElement(ps,me({},e,{ref:t,icon:up}))};const fp=g.forwardRef(dp),hp=(e,t)=>{const{width:n,rows:r=2}=t;return Array.isArray(n)?n[e]:r-1===e?n:void 0},pp=e=>{const{prefixCls:t,className:n,style:r,rows:o}=e,i=sr(Array(o)).map(((t,n)=>g.createElement("li",{key:n,style:{width:hp(n,e)}})));return g.createElement("ul",{className:Se()(t,n),style:r},i)},gp=e=>{let{prefixCls:t,className:n,width:r,style:o}=e;return g.createElement("h3",{className:Se()(t,n),style:Object.assign({width:r},o)})};function mp(e){return e&&"object"==typeof e?e:{}}const vp=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:o,style:i,children:A,avatar:a=!1,title:s=!0,paragraph:l=!0,active:c,round:u}=e,{getPrefixCls:d,direction:f,skeleton:h}=g.useContext(kr),p=d("skeleton",t),[m,v,y]=cp(p);if(n||!("loading"in e)){const e=!!a,t=!!s,n=!!l;let A,d;if(e){const e=Object.assign(Object.assign({prefixCls:`${p}-avatar`},function(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}(t,n)),mp(a));A=g.createElement("div",{className:`${p}-header`},g.createElement(Yh,Object.assign({},e)))}if(t||n){let r,o;if(t){const t=Object.assign(Object.assign({prefixCls:`${p}-title`},function(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}(e,n)),mp(s));r=g.createElement(gp,Object.assign({},t))}if(n){const n=Object.assign(Object.assign({prefixCls:`${p}-paragraph`},function(e,t){const n={};return e&&t||(n.width="61%"),n.rows=!e&&t?3:2,n}(e,t)),mp(l));o=g.createElement(pp,Object.assign({},n))}d=g.createElement("div",{className:`${p}-content`},r,o)}const w=Se()(p,{[`${p}-with-avatar`]:e,[`${p}-active`]:c,[`${p}-rtl`]:"rtl"===f,[`${p}-round`]:u},null==h?void 0:h.className,r,o,v,y);return m(g.createElement("div",{className:w,style:Object.assign(Object.assign({},null==h?void 0:h.style),i)},A,d))}return null!=A?A:null};vp.Button=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:i=!1,size:A="default"}=e,{getPrefixCls:a}=g.useContext(kr),s=a("skeleton",t),[l,c,u]=cp(s),d=wf(e,["prefixCls"]),f=Se()(s,`${s}-element`,{[`${s}-active`]:o,[`${s}-block`]:i},n,r,c,u);return l(g.createElement("div",{className:f},g.createElement(Yh,Object.assign({prefixCls:`${s}-button`,size:A},d))))},vp.Avatar=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,shape:i="circle",size:A="default"}=e,{getPrefixCls:a}=g.useContext(kr),s=a("skeleton",t),[l,c,u]=cp(s),d=wf(e,["prefixCls","className"]),f=Se()(s,`${s}-element`,{[`${s}-active`]:o},n,r,c,u);return l(g.createElement("div",{className:f},g.createElement(Yh,Object.assign({prefixCls:`${s}-avatar`,shape:i,size:A},d))))},vp.Input=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:i,size:A="default"}=e,{getPrefixCls:a}=g.useContext(kr),s=a("skeleton",t),[l,c,u]=cp(s),d=wf(e,["prefixCls"]),f=Se()(s,`${s}-element`,{[`${s}-active`]:o,[`${s}-block`]:i},n,r,c,u);return l(g.createElement("div",{className:f},g.createElement(Yh,Object.assign({prefixCls:`${s}-input`,size:A},d))))},vp.Image=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:i}=e,{getPrefixCls:A}=g.useContext(kr),a=A("skeleton",t),[s,l,c]=cp(a),u=Se()(a,`${a}-element`,{[`${a}-active`]:i},n,r,l,c);return s(g.createElement("div",{className:u},g.createElement("div",{className:Se()(`${a}-image`,n),style:o},g.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${a}-image-svg`},g.createElement("title",null,"Image placeholder"),g.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:`${a}-image-path`})))))},vp.Node=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:i,children:A}=e,{getPrefixCls:a}=g.useContext(kr),s=a("skeleton",t),[l,c,u]=cp(s),d=Se()(s,`${s}-element`,{[`${s}-active`]:i},c,n,r,u),f=null!=A?A:g.createElement(fp,null);return l(g.createElement("div",{className:d},g.createElement("div",{className:Se()(`${s}-image`,n),style:o},f)))};const yp=vp;function wp(){}const bp=g.createContext({add:wp,remove:wp});function Bp(e){const t=g.useContext(bp),n=g.useRef();return IA((r=>{if(r){const o=e?r.querySelector(e):r;t.add(o),n.current=o}else t.remove(n.current)}))}const Cp=()=>{const{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=(0,g.useContext)(Fh);return g.createElement(Ch,Object.assign({onClick:n},e),t)},xp=()=>{const{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:o}=(0,g.useContext)(Fh);return g.createElement(Ch,Object.assign({},Tf(n),{loading:e,onClick:o},t),r)};function Sp(e,t){return g.createElement("span",{className:`${e}-close-x`},t||g.createElement(El,{className:`${e}-close-icon`}))}const Ep=e=>{const{okText:t,okType:n="primary",cancelText:r,confirmLoading:o,onOk:i,onCancel:A,okButtonProps:a,cancelButtonProps:s,footer:l}=e,[c]=xh("Modal",$i()),u={confirmLoading:o,okButtonProps:a,cancelButtonProps:s,okTextLocale:t||(null==c?void 0:c.okText),cancelTextLocale:r||(null==c?void 0:c.cancelText),okType:n,onOk:i,onCancel:A},d=g.useMemo((()=>u),sr(Object.values(u)));let f;return"function"==typeof l||void 0===l?(f=g.createElement(g.Fragment,null,g.createElement(Cp,null),g.createElement(xp,null)),"function"==typeof l&&(f=l(f,{OkBtn:xp,CancelBtn:Cp})),f=g.createElement(Qh,{value:d},f)):f=l,g.createElement(uA,{disabled:!1},f)},Fp=new Ui("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),Qp=new Ui("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),Up=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{antCls:n}=e,r=`${n}-fade`,o=t?"&":"";return[zd(r,Fp,Qp,e.motionDurationMid,t),{[`\n ${o}${r}-enter,\n ${o}${r}-appear\n `]:{opacity:0,animationTimingFunction:"linear"},[`${o}${r}-leave`]:{animationTimingFunction:"linear"}}]};function kp(e){return{position:e,inset:0}}const Ip=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},kp("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},kp("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:Up(e)}]},Op=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${Ao(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},Va(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${Ao(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:Ao(e.modalCloseBtnSize),justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},Xa(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${Ao(e.borderRadiusLG)} ${Ao(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding,[`${t}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",margin:`${Ao(e.margin)} auto`}},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content,\n ${t}-body,\n ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},Pp=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},Tp=e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return cl(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},Hp=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${Ao(e.paddingMD)} ${Ao(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${Ao(e.padding)} ${Ao(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${Ao(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${Ao(e.paddingXS)} ${Ao(e.padding)}`:0,footerBorderTop:e.wireframe?`${Ao(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${Ao(e.borderRadiusLG)} ${Ao(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${Ao(2*e.padding)} ${Ao(2*e.padding)} ${Ao(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM}),Lp=ml("Modal",(e=>{const t=Tp(e);return[Op(t),Pp(t),Ip(t),ef(t,"zoom")]}),Hp,{unitless:{titleLineHeight:!0}});let _p;Mt()&&window.document.documentElement&&document.documentElement.addEventListener("click",(e=>{_p={x:e.pageX,y:e.pageY},setTimeout((()=>{_p=null}),100)}),!0);const Rp=e=>{var t;const{getPopupContainer:n,getPrefixCls:r,direction:o,modal:i}=g.useContext(kr),A=t=>{const{onCancel:n}=e;null==n||n(t)},{prefixCls:a,className:s,rootClassName:l,open:c,wrapClassName:u,centered:d,getContainer:f,focusTriggerAfterClose:h=!0,style:p,visible:m,width:v=520,footer:y,classNames:w,styles:b,children:B,loading:C}=e,x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{const{onOk:n}=e;null==n||n(t)},onCancel:A})),[P,T]=$h(Vh(e),Vh(i),{closable:!0,closeIcon:g.createElement(El,{className:`${S}-close-icon`}),closeIconRender:e=>Sp(S,e)}),H=Bp(`.${S}-content`),[L,_]=Zs("Modal",x.zIndex);return Q(g.createElement(Td,{form:!0,space:!0},g.createElement($s.Provider,{value:_},g.createElement(Kh,Object.assign({width:v},x,{zIndex:L,getContainer:void 0===f?n:f,prefixCls:S,rootClassName:Se()(U,l,k,F),footer:O,visible:null!=c?c:m,mousePosition:null!==(t=x.mousePosition)&&void 0!==t?t:_p,onClose:A,closable:P,closeIcon:T,focusTriggerAfterClose:h,transitionName:Vl(E,"zoom",e.transitionName),maskTransitionName:Vl(E,"fade",e.maskTransitionName),className:Se()(U,s,null==i?void 0:i.className),style:Object.assign(Object.assign({},null==i?void 0:i.style),p),classNames:Object.assign(Object.assign(Object.assign({},null==i?void 0:i.classNames),w),{wrapper:Se()(I,null==w?void 0:w.wrapper)}),styles:Object.assign(Object.assign({},null==i?void 0:i.styles),b),panelRef:H}),C?g.createElement(yp,{active:!0,title:!1,paragraph:{rows:4},className:`${S}-body-skeleton`}):B))))},Np=e=>{const{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:o,fontSize:i,lineHeight:A,modalTitleHeight:a,fontHeight:s,confirmBodyPadding:l}=e,c=`${t}-confirm`;return{[c]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${c}-body-wrapper`]:Object.assign({},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),[`&${t} ${t}-body`]:{padding:l},[`${c}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${e.iconCls}`]:{flex:"none",fontSize:o,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(s).sub(o).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(a).sub(o).equal()).div(2).equal()}},[`${c}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS},[`${e.iconCls} + ${c}-paragraph`]:{maxWidth:`calc(100% - ${Ao(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${c}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:r},[`${c}-content`]:{color:e.colorText,fontSize:i,lineHeight:A},[`${c}-btns`]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${c}-error ${c}-body > ${e.iconCls}`]:{color:e.colorError},[`${c}-warning ${c}-body > ${e.iconCls},\n ${c}-confirm ${c}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${c}-info ${c}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${c}-success ${c}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},Mp=yl(["Modal","confirm"],(e=>{const t=Tp(e);return[Np(t)]}),Hp,{order:-1e3});function Dp(e){const{prefixCls:t,icon:n,okText:r,cancelText:o,confirmPrefixCls:i,type:A,okCancel:a,footer:s,locale:l}=e,c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);oy),sr(Object.values(y))),b=g.createElement(g.Fragment,null,g.createElement(Uh,null),g.createElement(kh,null)),B=void 0!==e.title&&null!==e.title,C=`${i}-body`;return g.createElement("div",{className:`${i}-body-wrapper`},g.createElement("div",{className:Se()(C,{[`${C}-has-title`]:B})},u,g.createElement("div",{className:`${i}-paragraph`},B&&g.createElement("span",{className:`${i}-title`},e.title),g.createElement("div",{className:`${i}-content`},e.content))),void 0===s||"function"==typeof s?g.createElement(Qh,{value:w},g.createElement("div",{className:`${i}-btns`},"function"==typeof s?s(b,{OkBtn:kh,CancelBtn:Uh}):b)):s,g.createElement(Mp,{prefixCls:t}))}const jp=e=>{const{close:t,zIndex:n,afterClose:r,open:o,keyboard:i,centered:A,getContainer:a,maskStyle:s,direction:l,prefixCls:c,wrapClassName:u,rootPrefixCls:d,bodyStyle:f,closable:h=!1,closeIcon:p,modalRender:m,focusTriggerAfterClose:v,onConfirm:y,styles:w}=e,b=`${c}-confirm`,B=e.width||416,C=e.style||{},x=void 0===e.mask||e.mask,S=void 0!==e.maskClosable&&e.maskClosable,E=Se()(b,`${b}-${e.type}`,{[`${b}-rtl`]:"rtl"===l},e.className),[,F]=Da(),Q=g.useMemo((()=>void 0!==n?n:F.zIndexPopupBase+1e3),[n,F]);return g.createElement(Rp,{prefixCls:c,className:E,wrapClassName:Se()({[`${b}-centered`]:!!e.centered},u),onCancel:()=>{null==t||t({triggerCancel:!0}),null==y||y(!1)},open:o,title:"",footer:null,transitionName:Vl(d||"","zoom",e.transitionName),maskTransitionName:Vl(d||"","fade",e.maskTransitionName),mask:x,maskClosable:S,style:C,styles:Object.assign({body:f,mask:s},w),width:B,zIndex:Q,afterClose:r,keyboard:i,centered:A,getContainer:a,closable:h,closeIcon:p,modalRender:m,focusTriggerAfterClose:v},g.createElement(Dp,Object.assign({},e,{confirmPrefixCls:b})))},Gp=e=>{const{rootPrefixCls:t,iconPrefixCls:n,direction:r,theme:o}=e;return g.createElement(As,{prefixCls:t,iconPrefixCls:n,direction:r,theme:o},g.createElement(jp,Object.assign({},e)))},Kp=[];let Vp="";function zp(){return Vp}const Wp=e=>{var t,n;const{prefixCls:r,getContainer:o,direction:i}=e,A=$i(),a=(0,g.useContext)(kr),s=zp()||a.getPrefixCls(),l=r||`${s}-modal`;let c=o;return!1===c&&(c=void 0),g.createElement(Gp,Object.assign({},e,{rootPrefixCls:s,prefixCls:l,iconPrefixCls:a.iconPrefixCls,theme:a.theme,direction:null!=i?i:a.direction,locale:null!==(n=null===(t=a.locale)||void 0===t?void 0:t.Modal)&&void 0!==n?n:A,getContainer:c}))};function Xp(e){const t=rs(),n=document.createDocumentFragment();let r,o=Object.assign(Object.assign({},e),{close:a,open:!0});function i(){for(var t,r=arguments.length,o=new Array(r),i=0;inull==e?void 0:e.triggerCancel))&&(null===(t=e.onCancel)||void 0===t||(A=t).call.apply(A,[e,()=>{}].concat(sr(o.slice(1)))));for(let e=0;e{const r=t.getPrefixCls(void 0,zp()),o=t.getIconPrefixCls(),i=t.getTheme(),A=g.createElement(Wp,Object.assign({},e));wr(g.createElement(As,{prefixCls:r,iconPrefixCls:o,theme:i},t.holderRender?t.holderRender(A):A),n)}))}function a(){for(var t=arguments.length,n=new Array(t),r=0;r{"function"==typeof e.afterClose&&e.afterClose(),i.apply(this,n)}}),o.visible&&delete o.visible,A(o)}return A(o),Kp.push(a),{destroy:a,update:function(e){o="function"==typeof e?e(o):Object.assign(Object.assign({},o),e),A(o)}}}function $p(e){return Object.assign(Object.assign({},e),{type:"warning"})}function Yp(e){return Object.assign(Object.assign({},e),{type:"info"})}function Jp(e){return Object.assign(Object.assign({},e),{type:"success"})}function qp(e){return Object.assign(Object.assign({},e),{type:"error"})}function Zp(e){return Object.assign(Object.assign({},e),{type:"confirm"})}const eg=(tg=e=>{const{prefixCls:t,className:n,closeIcon:r,closable:o,type:i,title:A,children:a,footer:s}=e,l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);og.createElement(As,{theme:{token:{motion:!1,zIndexPopupBase:0}}},g.createElement(tg,Object.assign({},e))));var tg;const ng=(e,t)=>{var n,{afterClose:r,config:o}=e,i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);onull==e?void 0:e.triggerCancel))&&(null===(e=s.onCancel)||void 0===e||(t=e).call.apply(t,[s,()=>{}].concat(sr(r.slice(1)))))};g.useImperativeHandle(t,(()=>({destroy:h,update:e=>{l((t=>Object.assign(Object.assign({},t),e)))}})));const p=null!==(n=s.okCancel)&&void 0!==n?n:"confirm"===s.type,[m]=xh("Modal",Vi.Modal);return g.createElement(Gp,Object.assign({prefixCls:d,rootPrefixCls:f},s,{close:h,open:A,afterClose:()=>{var e;r(),null===(e=s.afterClose)||void 0===e||e.call(s)},okText:s.okText||(p?null==m?void 0:m.okText:null==m?void 0:m.justOkText),direction:s.direction||c,cancelText:s.cancelText||(null==m?void 0:m.cancelText)},i))},rg=g.forwardRef(ng);let og=0;const ig=g.memo(g.forwardRef(((e,t)=>{const[n,r]=function(){const[e,t]=g.useState([]);return[e,g.useCallback((e=>(t((t=>[].concat(sr(t),[e]))),()=>{t((t=>t.filter((t=>t!==e))))})),[])]}();return g.useImperativeHandle(t,(()=>({patchElement:r})),[]),g.createElement(g.Fragment,null,n)})));function Ag(e){return Xp($p(e))}const ag=Rp;ag.useModal=function(){const e=g.useRef(null),[t,n]=g.useState([]);g.useEffect((()=>{t.length&&(sr(t).forEach((e=>{e()})),n([]))}),[t]);const r=g.useCallback((t=>function(r){var o;og+=1;const i=g.createRef();let A;const a=new Promise((e=>{A=e}));let s,l=!1;const c=g.createElement(rg,{key:`modal-${og}`,config:t(r),ref:i,afterClose:()=>{null==s||s()},isSilent:()=>l,onConfirm:e=>{A(e)}});s=null===(o=e.current)||void 0===o?void 0:o.patchElement(c),s&&Kp.push(s);const u={destroy:()=>{function e(){var e;null===(e=i.current)||void 0===e||e.destroy()}i.current?e():n((t=>[].concat(sr(t),[e])))},update:e=>{function t(){var t;null===(t=i.current)||void 0===t||t.update(e)}i.current?t():n((e=>[].concat(sr(e),[t])))},then:e=>(l=!0,a.then(e))};return u}),[]);return[g.useMemo((()=>({info:r(Yp),success:r(Jp),error:r(qp),warning:r($p),confirm:r(Zp)})),[]),g.createElement(ig,{key:"modal-holder",ref:e})]},ag.info=function(e){return Xp(Yp(e))},ag.success=function(e){return Xp(Jp(e))},ag.error=function(e){return Xp(qp(e))},ag.warning=Ag,ag.warn=Ag,ag.confirm=function(e){return Xp(Zp(e))},ag.destroyAll=function(){for(;Kp.length;){const e=Kp.pop();e&&e()}},ag.config=function(e){let{rootPrefixCls:t}=e;Vp=t},ag._InternalPanelDoNotUseOrYouWillBeFired=eg;const sg=ag;var lg=function(){return lg=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&n.putImageData(t.getHistory()[t.getHistory().length-1].data,0,0),t.setUndoClickNum(t.getUndoClickNum()+1),t.getHistory().length-1<=0&&(t.setUndoClickNum(0),t.setUndoStatus(!1))}function fg(e,t,n){void 0===n&&(n=document.body);var r=n.getBoundingClientRect();return{left:e||Math.abs(r.left),top:t||Math.abs(r.top)}}var hg,pg=!0,gg=null,mg=!1,vg=0,yg=0,wg=!1,bg=null,Bg=!0,Cg={r:0,g:0,b:0,a:.6},xg=!0,Sg="#2CABFF",Eg=15,Fg=!1,Qg=!1,Ug=null,kg=null,Ig=function(){function e(){mg&&(pg=!0,vg=0,yg=0,Sg="#2CABFF",wg=!1,xg=!0,gg=null,mg=!1,bg=null,Ug=null,Eg=15,Fg=!1,Qg=!1,kg=null,Bg=!0)}return e.prototype.setInitStatus=function(e){mg=e},e.prototype.getInitStatus=function(){return mg},e.prototype.getWebRtcStatus=function(){return pg},e.prototype.setWebRtcStatus=function(e){pg=e},e.prototype.setScreenShotDom=function(e){bg=e},e.prototype.getCutBoxBdColor=function(){return Sg},e.prototype.setCutBoxBdColor=function(e){Sg=e},e.prototype.getScreenShotDom=function(){return bg},e.prototype.getScreenFlow=function(){return gg},e.prototype.setScreenFlow=function(e){gg=e},e.prototype.getCanvasSize=function(){return{canvasWidth:vg,canvasHeight:yg}},e.prototype.setCanvasSize=function(e,t){vg=e,yg=t},e.prototype.getShowScreenDataStatus=function(){return wg},e.prototype.setShowScreenDataStatus=function(e){wg=e},e.prototype.setMaskColor=function(e){Cg.r=e.r,Cg.g=e.g,Cg.b=e.b,Cg.a=e.a},e.prototype.getMaskColor=function(){return Cg},e.prototype.setWriteImgState=function(e){xg=e},e.prototype.getWriteImgState=function(){return xg},e.prototype.setSaveCallback=function(e){Ug=e},e.prototype.getSaveCallback=function(){return Ug},e.prototype.setMaxUndoNum=function(e){Eg=e},e.prototype.getMaxUndoNum=function(){return Eg},e.prototype.setRatioArrow=function(e){Fg=e},e.prototype.getRatioArrow=function(){return Fg},e.prototype.setImgAutoFit=function(e){Qg=e},e.prototype.getImgAutoFit=function(){return Qg},e.prototype.setSaveImgTitle=function(e){kg=e},e.prototype.getSaveImgTitle=function(){return kg},e.prototype.setDestroyContainerState=function(e){Bg=e},e.prototype.getDestroyContainerState=function(){return Bg},e}(),Og=!1,Pg=!1,Tg=!1,Hg="#F53340",Lg="",_g=2,Rg=10,Ng=0,Mg=[],Dg=!1,jg={startX:0,startY:0,width:0,height:0},Gg=null,Kg=null,Vg=null,zg=null,Wg=null,Xg=null,$g=null,Yg=null,Jg=17,qg=null,Zg=null,em=null,tm=null,nm=null,rm=null,om=!1,im=!1,Am="",am=!1,sm=!1,lm=function(){function e(){im&&(im=!1,Gg=null,Pg=!1,Kg=null,zg=null,qg=null,Wg=null,Xg=null,$g=null,Yg=null,Vg=null,jg={startX:0,startY:0,width:0,height:0},Tg=!1,am=!1,sm=!1,Dg=!1,Hg="#F53340",Lg="",_g=2,Jg=17,Rg=10,Mg=[],Ng=0,Zg=null,em=null,tm=null,nm=null)}return e.prototype.setInitStatus=function(e){im=e},e.prototype.setScreenShotInfo=function(e,t){this.getScreenShotContainer(),null!=Gg&&(om&&document.body.classList.add("__screenshot-lock-scroll"),Gg.width=e,Gg.height=t)},e.prototype.setScreenShotPosition=function(e,t){if(this.getScreenShotContainer(),null!=Gg){var n=fg(e,t),r=n.left,o=n.top;Gg.style.left=r+"px",Gg.style.top=o+"px"}},e.prototype.showScreenShotPanel=function(){this.getScreenShotContainer(),null!=Gg&&(Gg.style.display="block")},e.prototype.getScreenShotContainer=function(){return Gg=document.getElementById("screenShotContainer")},e.prototype.getToolController=function(){return Kg=document.getElementById("toolPanel")},e.prototype.getCutBoxSizeContainer=function(){return Vg=document.getElementById("cutBoxSizePanel")},e.prototype.getTextInputController=function(){return zg=document.getElementById("textInputPanel")},e.prototype.getTextStatus=function(){return!1},e.prototype.getScreenShotImageController=function(){return rm},e.prototype.setScreenShotImageController=function(e){rm=e},e.prototype.setToolStatus=function(e){(Kg=this.getToolController()).style.display=e?"block":"none"},e.prototype.setCutBoxSizeStatus=function(e){null!=Vg&&(Vg.style.display=e?"flex":"none")},e.prototype.setCutBoxSizePosition=function(e,t){if(null!=Vg){var n=fg(e,t),r=n.left,o=n.top;Vg.style.left=r+"px";var i=0;Gg&&(i=parseInt(Gg.style.top)),Vg.style.top=o+i+"px"}},e.prototype.setTextEditState=function(e){sm=e},e.prototype.getTextEditState=function(){return sm},e.prototype.setCutBoxSize=function(e,t){if(null!=Vg){e=Math.floor(e),t=Math.floor(t);var n=Vg.childNodes;if(n.length>0)n[0].innerText="".concat(e," * ").concat(t);else{var r=document.createElement("p");r.innerText="".concat(e," * ").concat(t),Vg.appendChild(r)}}},e.prototype.setTextStatus=function(e){null!=(zg=this.getTextInputController())&&(zg.style.display=e?"block":"none")},e.prototype.setToolInfo=function(e,t){Kg=document.getElementById("toolPanel");var n=fg(e,t),r=n.left,o=n.top;Kg.style.left=r+"px";var i=0;Gg&&(i=parseInt(Gg.style.top)),Kg.style.top=o+i+"px"},e.prototype.getToolClickStatus=function(){return Tg},e.prototype.setToolClickStatus=function(e){Tg=e},e.prototype.setResetScrollbarState=function(e){am=e},e.prototype.getResetScrollbarState=function(){return am},e.prototype.getCutOutBoxPosition=function(){return jg},e.prototype.getDragging=function(){return Pg},e.prototype.setDragging=function(e){Pg=e},e.prototype.getDraggingTrim=function(){return Og},e.prototype.getToolPositionStatus=function(){return Dg},e.prototype.setToolPositionStatus=function(e){Dg=e},e.prototype.setDraggingTrim=function(e){Og=e},e.prototype.setCutOutBoxPosition=function(e,t,n,r){jg.startX=e,jg.startY=t,jg.width=n,jg.height=r},e.prototype.setFontSize=function(e){Jg=e},e.prototype.setOptionStatus=function(e){if(Wg=this.getOptionIcoController(),qg=this.getOptionController(),null!=Wg&&null!=qg){if(e)return Wg.style.display="block",void(qg.style.display="block");Wg.style.display="none",qg.style.display="none"}},e.prototype.getFontSize=function(){return Jg},e.prototype.setTextSizeOptionStatus=function(e){null!=(Xg=this.getOptionTextSizeController())&&(Xg.style.display=e?"flex":"none")},e.prototype.setTextSizePanelStatus=function(e){if(null!=(Yg=this.getTextSizeContainer()))return e?(console.log("显示"),void(Yg.style.display="flex")):void(Yg.style.display="none")},e.prototype.setBrushSelectionStatus=function(e){null!=($g=this.getBrushSelectionController())&&($g.style.display=e?"block":"none")},e.prototype.hiddenOptionIcoStatus=function(){null!=(Wg=this.getOptionIcoController())&&(Wg.style.display="none")},e.prototype.getOptionIcoController=function(){return Wg=document.getElementById("optionIcoController")},e.prototype.getTextSizeContainer=function(){return Yg=document.getElementById("textSizePanel")},e.prototype.getOptionTextSizeController=function(){return Xg=document.getElementById("textSelectPanel")},e.prototype.getBrushSelectionController=function(){return $g=document.getElementById("brushSelectPanel")},e.prototype.getOptionController=function(){return qg=document.getElementById("optionPanel")},e.prototype.setOptionPosition=function(e){if(Wg=this.getOptionIcoController(),qg=this.getOptionController(),null!=Wg&&null!=qg){var t=this.getToolPosition();if(null!=t){var n=t.left+e+"px",r=t.top+44+"px",o=t.left+"px",i=t.top+44+6+"px";Wg.style.left=n,Wg.style.top=r,qg.style.left=o,qg.style.top=i}}},e.prototype.getToolPosition=function(){if(null!=(Kg=this.getToolController()))return{left:Kg.offsetLeft,top:Kg.offsetTop}},e.prototype.getSelectedColor=function(){return Hg},e.prototype.setSelectedColor=function(e){Hg=e,null!=(tm=this.getColorSelectPanel())&&(tm.style.backgroundColor=Hg)},e.prototype.getColorSelectPanel=function(){return tm=document.getElementById("colorSelectPanel")},e.prototype.getToolName=function(){return Lg},e.prototype.setToolName=function(e){Lg=e},e.prototype.getPenSize=function(){return _g},e.prototype.setPenSize=function(e){_g=e},e.prototype.getMosaicPenSize=function(){return Rg},e.prototype.setMosaicPenSize=function(e){Rg=e},e.prototype.getBorderSize=function(){return 10},e.prototype.getHistory=function(){return Mg},e.prototype.shiftHistory=function(){return Mg.shift()},e.prototype.popHistory=function(){return Mg.pop()},e.prototype.pushHistory=function(e){Mg.push(e)},e.prototype.getUndoClickNum=function(){return Ng},e.prototype.setUndoClickNum=function(e){Ng=e},e.prototype.getColorPanel=function(){return Zg=document.getElementById("colorPanel")},e.prototype.setColorPanelStatus=function(e){null!=(Zg=this.getColorPanel())&&(Zg.style.display=e?"flex":"none")},e.prototype.getNoScrollStatus=function(){return om},e.prototype.setNoScrollStatus=function(e){null!=e&&(om=e)},e.prototype.setActiveToolName=function(e){Am=e},e.prototype.getActiveToolName=function(){return Am},e.prototype.setTextInfo=function(e){hg=e},e.prototype.getTextInfo=function(){return hg},e.prototype.getRightPanel=function(){return em=document.getElementById("rightPanel")},e.prototype.setRightPanel=function(e){null!=(em=this.getRightPanel())&&(em.style.display=e?"flex":"none")},e.prototype.setUndoStatus=function(e){if(null!=(nm=this.getUndoController())){if(e)return nm.classList.add("undo"),nm.classList.remove("undo-disabled"),void nm.addEventListener("click",this.cancelEvent);nm.classList.add("undo-disabled"),nm.classList.remove("undo"),nm.removeEventListener("click",this.cancelEvent)}},e.prototype.cancelEvent=function(){dg()},e.prototype.getUndoController=function(){return nm=document.getElementById("undoPanel")},e.prototype.destroyDOM=function(){if(null!=Gg&&null!=Kg&&null!=Wg&&null!=qg&&null!=zg&&null!=Vg){var e=new Ig;om&&document.body.classList.remove("__screenshot-lock-scroll"),document.body.removeChild(Gg),document.body.removeChild(Kg),document.body.removeChild(Wg),document.body.removeChild(qg),document.body.removeChild(zg),document.body.removeChild(Vg),document.body.classList.contains("no-cursor")&&document.body.classList.remove("no-cursor"),am&&(document.documentElement.classList.remove("hidden-screen-shot-scroll"),document.body.classList.remove("hidden-screen-shot-scroll")),e.setInitStatus(!0)}},e}();function cm(e,t,n){var r=window.devicePixelRatio||1;e.width=Math.round(t*r),e.height=Math.round(n*r),e.style.width=t+"px",e.style.height=n+"px";var o=e.getContext("2d");return o&&o.scale(r,r),o}function um(e){var t,n=new lm,r=new Ig,o=null===(t=n.getScreenShotContainer())||void 0===t?void 0:t.getContext("2d"),i=n.getCutOutBoxPosition(),A=i.startX,a=i.startY,s=i.width,l=i.height,c="";return o&&(e?function(e,t,n,r,o){var i=new Ig,A=window.devicePixelRatio||1,a=e.getImageData(t*A,n*A,r*A,o*A),s=document.createElement("canvas"),l=cm(s,r,o);if(l){l.putImageData(a,0,0);var c=document.createElement("a");c.href=s.toDataURL("png");var u=(null==i?void 0:i.getSaveImgTitle())||(new Date).getTime();c.download="".concat(u,".png"),c.click()}}(o,A,a,s,l):c=function(e,t,n,r,o,i,A){void 0===i&&(i=.75),void 0===A&&(A=!0);var a=window.devicePixelRatio||1,s=e.getImageData(t*a,n*a,r*a,o*a),l=document.createElement("canvas"),c=cm(l,r,o);return c?(c.putImageData(s,0,0),A&&(null==l||l.toBlob((function(e){var t,n;if(null!=e){var r=window.ClipboardItem;if(null==r)return l.toDataURL("png");var o=new r(((t={})[e.type]=e,t));null===(n=navigator.clipboard)||void 0===n||n.write([o]).then((function(){return"写入成功"}))}}),"image/png",i)),l.toDataURL("png")):""}(o,A,a,s,l,.75,r.getWriteImgState())),c}function dm(e,t,n,r,o,i,A,a,s){void 0===s&&(s=!0);var l=null==A?void 0:A.width,c=null==A?void 0:A.height,u=window.devicePixelRatio||1,d=new Ig;if(l&&c&&a&&A){o.clearRect(0,0,l,c),n=0!=n?n:5,r=0!=r?r:5,o.save();var f=d.getMaskColor();if(o.fillStyle="rgba(0, 0, 0, .6)",f&&(o.fillStyle="rgba(".concat(f.r,", ").concat(f.g,", ").concat(f.b,", ").concat(f.a,")")),o.fillRect(0,0,l,c),o.globalCompositeOperation="source-atop",o.clearRect(e,t,n,r),o.globalCompositeOperation="source-over",o.fillStyle=d.getCutBoxBdColor(),s){var h=i;o.fillRect(e-h/2,t-h/2,h,h),o.fillRect(e-h/2+n/2,t-h/2,h,h),o.fillRect(e-h/2+n,t-h/2,h,h),o.fillRect(e-h/2,t-h/2+r/2,h,h),o.fillRect(e-h/2+n,t-h/2+r/2,h,h),o.fillRect(e-h/2,t-h/2+r,h,h),o.fillRect(e-h/2+n/2,t-h/2+r,h,h),o.fillRect(e-h/2+n,t-h/2+r,h,h)}o.restore(),o.save(),o.globalCompositeOperation="destination-over";var p={imgWidth:parseInt(null==A?void 0:A.style.width),imgHeight:parseInt(null==A?void 0:A.style.height)},g=p.imgWidth,m=p.imgHeight,v=d.getScreenShotDom();return null!=v&&(g=v.clientWidth,m=v.clientHeight),d.getWebRtcStatus()||d.getImgAutoFit()||null!=v||(g=a.width/u,m=a.height/u),o.drawImage(a,0,0,g,m),o.restore(),n>0&&r>0?{startX:e,startY:t,width:n,height:r}:n<0&&r<0?{startX:e+n,startY:t+r,width:Math.abs(n),height:Math.abs(r)}:n>0&&r<0?{startX:e,startY:t+r,width:n,height:Math.abs(r)}:n<0&&r>0?{startX:e+n,startY:t,width:Math.abs(n),height:r}:{startX:e,startY:t,width:n,height:r}}}function fm(e,t,n,r,o,i){i.save(),i.lineWidth=1,i.fillStyle=r,i.textBaseline="middle",i.font="bold ".concat(o,"px none");var A=e.split("\n");console.log(A);var a=1.4*o;A.forEach((function(e,r){var o=n+a*r;i.fillText(e,t,o)})),i.restore()}function hm(){var e=new lm,t=new Ig,n=e.getScreenShotContainer();if(null!=n){var r=n.getContext("2d"),o=n;e.getHistory().length>t.getMaxUndoNum()&&e.shiftHistory(),e.pushHistory({data:r.getImageData(0,0,o.width,o.height)}),e.setUndoStatus(!0)}}function pm(e,t,n){var r=new lm;ug(n,t,!0);var o=2;switch(e){case"small":o=2;break;case"medium":o=5;break;case"big":o=10}return r.setPenSize(o),o}function gm(e,t,n){var r=new lm;ug(n,t,!0);var o=10;switch(e){case"small":o=10;break;case"medium":o=20;break;case"big":o=40}return r.setMosaicPenSize(o),o}function mm(){(new lm).setColorPanelStatus(!0)}var vm=function(){function e(e){if(this.textFontSizeList=[12,13,14,15,16,17,20,24,36,48,64,72,96],this.screenShotController=document.createElement("canvas"),this.toolController=document.createElement("div"),this.optionIcoController=document.createElement("div"),this.optionController=document.createElement("div"),this.cutBoxSizeContainer=document.createElement("div"),this.textInputController=document.createElement("div"),this.completeCallback=null==e?void 0:e.completeCallback,this.closeCallback=null==e?void 0:e.closeCallback,this.hiddenIcoArr=[],this.optionController.addEventListener("click",(function(e){var t=e.target;"colorSelectPanel"!==t.id&&"textSizePanel"!==t.id&&((new lm).setTextSizeOptionStatus(!1),(new lm).setColorPanelStatus(!1))})),e&&Object.prototype.hasOwnProperty.call(e,"completeCallback")||(this.completeCallback=function(e){sessionStorage.setItem("screenShotImg",JSON.stringify(e))}),null==e?void 0:e.hiddenToolIco)for(var t in e.hiddenToolIco)e.hiddenToolIco[t]&&this.filterHideIcon(t);this.setAllControllerId(),this.setOptionIcoClassName(),this.toolbar=cg,this.setToolBarIco(),this.setTextSizeSelectPanel(),this.setBrushSelectPanel(),this.setTextInputPanel(),this.setDomToBody(),this.hiddenAllDom()}return e.prototype.setToolBarIco=function(){for(var e=this,t=function(t){for(var r=n.toolbar[t],o=!1,i=0;i0&&(this.toolController.style.minWidth="24px")},e.prototype.setTextSizeSelectPanel=function(){var e=document.createElement("div");e.className="text-size-panel",e.innerText="".concat((new lm).getFontSize()," px"),e.id="textSizePanel";var t=document.createElement("div");t.className="text-select-panel",t.id="textSelectPanel";for(var n=function(n){var o=document.createElement("div"),i=r.textFontSizeList[n];o.className="text-item",o.setAttribute("data-value","".concat(i)),o.innerText="".concat(i," px"),o.addEventListener("click",(function(){t.style.display="none";var n=o.getAttribute("data-value");e.innerText="".concat(n," px"),n&&function(e){(new lm).setFontSize(e)}(+n)})),t.appendChild(o)},r=this,o=0;o0?e:0}function wm(e,t,n){return ym(e)+t>n?ym(n-t):ym(e)}!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}('#screenShotContainer{cursor:crosshair;left:0;position:absolute;top:0}#toolPanel{background:#fff;box-sizing:content-box;height:24px;left:0;min-width:392px;padding:10px;position:absolute;top:0;z-index:9999}#toolPanel .item-panel{float:left;height:24px;margin-right:15px;width:24px}#toolPanel .item-panel:last-child{margin-right:0}#toolPanel .square{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAORJREFUaAXtmLENwkAQBA0iI6ULeqAKmqMHCiCmBzrBMdzK+fvlXVsgzUsX3d3u/2z2w8CBAAQgAAEItAmcqn2veld9Nip5yVPezbNrdqemhM5Vz47Z5MilxF5VV1dUNG6uyIJ9ecq7efbN7tQ8dsysNTLr3fOAtS4X0eUBEYyGCAkY8CKrJBDBaIiQgAEvskoCEYyGCAkY8CKrJBDBaIiQgAEvskoCEYyGCAkY8CKrJBDBaIiQgAEvstqTwBhxWiYy633o0H3UjD5at/4flae87aMv7p/9XrdfhwAEIAABCPw1gS8CdEV3aG1wFQAAAABJRU5ErkJggg==");background-size:cover}#toolPanel .square:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAARFJREFUaAXtmLENwkAMRe8QUoTogIoV2AGJjgHoWICRYABm4Dq2oaIkoFSHja6M4lN+FBD5lNj+//x+KjvHHwmQAAmQwJAJeGv55TUuqup1lL5tjHFq9XdR996XohOKYnK4bfy9SXPcVNRaevxKHn+2eruqi5eTJdbJewfpzsPzMbuUJ0ikxbB6qrc1OrIa+vps6t6R420uUCf8S/9xgW+nwQSYAEiAnxAIEB5nAjBCUIAJgADhcSYAIwQFmAAIEB5nAjBCUIAJgADhcSYAIwQFmAAIEB7//wTSoRUm1UYgx9s87opx0ENr3/dR9VRva3FzAT1x65VYBPc5t0rLMKeeyH/O6zn97CEBEiABEhgugTemKDubNjFCTQAAAABJRU5ErkJggg==")}#toolPanel .square-active,#toolPanel .square:active{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAPJJREFUaAXtmDEOwjAMRRuEVCFWJm7D1r0cgiNxlG7chokVoU4hkTJWcdQfKCovY2x/x+9nctNwIAABCEDgnwk4a/jjzR/G8XUNeZ33fm/l14g7555BZ2jb3eV+co+c5jYXjLH4+PDw3sqrGU+g+tA7yp5z2ptcMMW6gpxPpZi9zQG+9W2mCJT0NgeYEv6lOwZY2g0cwAGRAF9IBCiX44CMUBTAARGgXI4DMkJRAAdEgHI5DsgIRQEcEAHK5TggIxQFcEAEKJev34G0aJVJzREo6V3iwDCneaUas7e5nY4r7rQlXmS9XgkEMhCAAAQgsFICb9uiLZTmm16RAAAAAElFTkSuQmCC")}#toolPanel .round{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAi5JREFUaAXtmL9OwzAYxAsS7cLGwp+dSkh0ZmFgYusjdehD8BIsiBegEkM3xo4siDIjmFjgfk2uA1LSlDhpLXzS1VFj3/n77MR2Op2ElIGUgZSBlIH/nIGdgMF3pXUlDsUz8Tinis4850zlvfggfolbgUP14kZ8F78rkrq0oe3G0JPzWPwU3fEnXY9ERuJU3M/JNf9xjzquT1s00GoVZG4quiO3uu6v0QPq0sbt0WptNAYye8nNn1VeiH8FbdEgEDTPxUZBltz5ia4PArihgZaDaGwkejJhqDGaiHtiKKA1EdHGA6/g4GHDgCEPkfnfHUTT0wmvoGBY/bZh3jYFtEkSXkGnEu9shHlzNA2/nfAMgq5UvEj1gyiWi+BBsvDEuzaupYAgC1Bb8GKHdyl2S+9mN4d5nbsKdUNVsZe9C3WrBMDGDDxmRSu/9rJ3oWmVANhVgtesaOXXXvauZfqh1jwDbMzaAl544l2KKiNggZBnB2sWlfYiiFJUCWCeKxyVKoW9aa+3VbLrBHCySizgfXs5eYXSVQKY5a0vC1XC37CXvWs5bPVCViWy6LcSBBn1Zo4Aot9OE8RY5L0c5YGGAHriVCSIiRjdkVJ9XkylaA/1BAAGooNgOtU5YtLW52A0G/+sIo8FeKg9nZhSUX3YykLIngkebB/2CYST1Ejc+k+L6uMSjAbrhM/NBLKKwT7uetu67E2NC1ZsMs8xMKrP6zViTk1TBlIGUgZSBjacgR/CFam/GpziJgAAAABJRU5ErkJggg==");background-size:cover}#toolPanel .round:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAA4hJREFUaAXtWEFrE0EUfrNJTVJBRK1oK6JYEVoQigr1IFKwBxVE0ZP+C6+KB9Gr/0JPFUUQDxaK9GCgSg9SQawI0lalKlKwSUyy4/smOzEEMm+SbJXQncsm+2a+b743b2feG6KkJR5IPJB4IPHAZvaAikv86ILesvqpNFGl8AIpGiFNg/wcNPiaVvj3Cr97m6LgycD+zMzCqPodB3fXAgZm9J6wVLxFOrymibb5TIpJ10gF94NM9vbqhPriM6ZVn44FDL/XmZ8f1m9oUte11ltBwGDzWgWPA6JZSqtllcqs4L2ulgapoodColNKhxdZ6Jjpr9QvRfre9kP9dxcPqxLetds6EmC8Xiw80qTHQahITSkKbn47m33nM4Fdz4pHNIV3ePyVaHw+yOYudbIabQvYPV06Wi1XnzL5PlLqI6Xo6o/J/rzPxJv77Hi+Pk5VekBaH2QnLKXTqXNfJzNvmvu5/rclIPL8HCbPhC+yfbnLy2fUdxeBZBua1juL5cJDxjwNEbwSJ9pZCQ5Xv4aYD2thYyZ/YCA32e3kwQwMYMEhcAw4wOU3KyJvAbUPlmOewwaef31clX1JpH7AAiawWcQ4uKQx1u4VQrWtsrBodpu0OtlpzFvSVk/zTVT0S8W7U5DJDfuEktcKYJ/H5HmZpzZq8hAFbHCAy5wtrZQ2vBcF4ITFIYUx2Cobxm7IzzoHcxpugUUUgPQAJyzH2rzvPi9wOs3gABc4we3szEZRgMltuCNOWAksLrvlstwuXFEAx80IALjjrAsoTludK+J2YcsCkFWicW7jAorVZrkstwNcFhClxDYxc2DFZqpz2XTcgSwLiAbrPiSb/6bVufhUkxhlAShG0IqlvRJYbPa/XJ8lTFkAKik0zuclsNjslstyO4BlAVwGYjyKEQdOrKY6V8TtAhcFoIYFACopF1CcNstluV3YogAU4Pz1rqEMRCXlAovDVqvWaAyc4JYwRQHm9oALcAChDJQAu7XXOZjT5+bCa2vs+XQaeTluD4x3uYZFGditp5vHG0zUx9zA5VMLoK8YQuiEhqsPztXzKMBRwx57xcdNTA1YwIyK+zy4fKG9QsiC9XRRDxFY1lRf6jyvxBJuEQqVwpwpA63CNp8YCwxgARPXKr6hY6naWgE7KFqJ3rzYsiJ6+mrRisCztsX24OVuowj8/l/X683zSP4nHkg8kHgg8cDm8sAfhkzSnCu/+OAAAAAASUVORK5CYII=")}#toolPanel .round-active,#toolPanel .round:active{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAqJJREFUaAXtWDFLHEEUfrNn3LsIIRYGOcQml8YDu0BKr7BREKzzL2wDFopt/kXqQCBdwDZgKWeTsxE5FRsREr2Eu8l8uzewCLvvzbp7q9xMM3M7b973vjdzM+89It+8B7wHvAe8B6bZA6oo8u2unr0+G3SGNNoiRSukqWn6ZqRfU9+M++bbSY2CbwvL4WG3rf4Wgf1oAguHenE0uN8lPfqoiV5JjDKgt6SCL0FY37vuqEvJmjSZ3ARav3R4c/rnkya1o7WeSwPI+q6U+q1If3799uVB750aZMmmzeUiEHn9/u6rJv0hTbHLd0XqZ1BvbOfZDWcCb34MVof/ht+N8UsuRnKyhsT5zExt42o9POZkk/NOBMaePyraeGsQSJideO+yE4FdzPU486P42BTq+SQuHAMMYCW/Z43FBOI/bDFnPssg/K+AlSWTnBMdofiqvOvlvW2SgJIxbqcgbLQkR0m0A7jnJ2U8CAIrelsEbFkCeGHxSAl0FStiMCNsRitLAOGB9IVlsJymgQlsbhFLIIptOC0lzUuwWQJRYFaSgaxaBIVM4wkgqqyqCbB5AjYkroKEAJsnUIXhFtO8anaY1vMEkIxU1y44aJ4AMqmqmgCbJ2DSwKrsRwrKYbMEkMNySsqal2CzBJCAm4jvtiwj0/QCE9hp8/Y7SyCqHpgE3C6YWG8wJZULlgAMRvUAIe6kjI/D6fqeBE9EAHE5qgcShUXIAEuSCwBLRACCKH2geoBxmQ0YwJJiiAmgboPSBxJvqXJXuXFSv+1SIxITgDHY1tqL2mYZJKATZRXp0bHOEeXEVtj2T6mw5bQDlgC8NN9qrAWK9h9zO0W3jdEBXa6et7bk2gG7GH1csXiGxd0kCYyrKq8/tMP/9h7wHvAe8B6YLg/8B7td+kBEJNs9AAAAAElFTkSuQmCC")}#toolPanel .right-top{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAgNJREFUaAXtmE0rRkEUx6/XsrC1okRPYWWhbCQWFmxsbCyelKysZGFnISWSlJBIkpT0ZO8T2Nmy8QGQkrzn7X8yU9N97h0z923uZE79u3PPPXPmd05zPeN6njPXAdcB1wHXgf/cgQqDxddi7QLULqgJ4xNoFVKyLAqoB0kbJILSuBWqgvz2Cked3xl2Xx32IIa/C3OLEAdu1Mx1qxmfePgpMn7HEM1XtkrlSPXAKYTeqIeXRV6UeSSONAoggH4oahFaBUhqi/2oAxmuId3t1Bt75QQTRCmiIcH1E0mlU8Sd7oppvAN+hks4zvzOkPvc7H/ORz+UOxB/Dx6FMfeJV4rNlW2AhgPOY/zXdprOEz2dZzj8ggAmK2JQiDM6XBLgFwNIwopoDojN3EVbhXd+WbK6v4gnxGZxuJQged6sAL8ijfx9KBZxrhCfasgMsvPOK5/nMYeKuILmIGNGBzgOv2aMIuLCkwL8esQcxqZNYOUvVsCmMYqIC49h3ieD38LV+F8QnTpGBXj6+bcKfgTAHxC9tLu2wQ8D+J3B7+GaxWkWyyRjQ0jzBlHn9yGr4AcA/MLgD2yD7wPwM4M/xDXoYxTc+bQeYPF/Qo4wtgq+G8APEO35Y9vgOwF8z+BLuKbxCRJp07NtpKbO05di6+CpLS3QOFRDN85cB1wHXAdcB1wH8tqBH3D6o7sgJgNQAAAAAElFTkSuQmCC");background-size:cover}#toolPanel .right-top:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAwdJREFUaAXtmD1s00AUx9+7JCgBIdEoNJ1QyoDqAQkJNkCqYGgEMwMDCwsLLOyUAitsMDCzsVUdSghVJTYkmJBI+VhgoOJTgiLH+fA93nNICFHjnGNXMZKfFPt89+z7/d/dO58DkFgSgSQCSQSSCISIAIa4N9StpXXK2m7zELmuRZosjWgxzDQhvs5AdvHTAn426SBt4hTGh0H32U7daiPOAZKFRBYQWj+d+iwAqd6ziYDkgmi+hfYBLp3ptfkUIhWwRKTuVRtl7eqzgMCgxKD2jNc/AwqhBylHxDYCvuXiKxZWA1AbXLlJ5FaR4LgP8z9NkQq4W7Gva4LFDnCnH4a0GXCDo14DxT/NsOlUrTS1692LY9jqp5lZrZeaUoH4q7/erxypACI8ITFm6DWF6nY6Q7WPp7IfEDmmA/Zt4FouXYUWaC4Q8IiY2d85aObv66UQ7osD084T6anN07n328EPewhpbXltCDydzCxSAV/Kux8CKp5ClOJAPiis2ufNMDpempO8U5KcMLNIBUiX38u5W2OL4NXJw0Y1OQGhRPwZAaTsZAWMI6JYoWlOnjyvAD++lnHTGwmDQ+RTqL/PINPJRcebPijLbQDbUQHCkVKpFU7qrZGJ3VuBzBNYnr+jAvY/bh5xdWuN30x7ObGf+YngPVC8RqAHz/Oa3wXLs4XsSd/VSdOcRBSU+QrkuXs3RXwYhC8Vcudk2+CXE90RUGnzt7BgR76dHgbfH6P8o/o1IH2Tu3d5Dl/AbG7FdewtHinnykJuzxKibCiMLNIcMIEXqsGRcBv1G1JPRG+CwMs9kQkwhZdOxfpFMPlVqeMReCrnIBaJgKDwXUARoRRcQgT5+nqZIbzTbTM9h86BceFNAUf5hRIwaXgRN7aAOMCPLSAu8GMJiBN8YAFxgw8kII7wxgLiCm8kIM7wIwXEHd5XwP8ALwJSchi0YrVxuK3b6/KRLR8j3f38oF8crrf9a7HVbl9muNjDDw1g8YlzMF+pXzz6nDJDnZKGJAJJBJIIJBFIIhCDCPwGO3q+e4PmVA0AAAAASUVORK5CYII=")}#toolPanel .right-top-active,#toolPanel .right-top:active{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAjBJREFUaAXtmDlLA0EUgN/brMaINiEqgoIoglEEQf+A4AXWlja2WuRPWPtPBLXywsZSS402NlYeSSPGHJt9zrisSOIeM9llR5wpsuy8zcz3vTmYXQBddAZ0BnQGdAb+cwYwKfmZG+ouPdYn69jMA2EegNgVRsGA/fJq715YrtgFcpfUT9XKFFgGA2SQCBw0TwATDDrVCoqI1dJab6a13uve9ArI1udO3heIcPMLlmXWfquMOG3ZzoWR+xUWfvGLt8YiF6Am7BLQitNRAG0rDbtHouIv1Z5VhmdENmCaBUR4lv07ICYrUFpOF8k0F2Ulkh8BlvryUvpWVgINI9kRcKeOrIQBPXduG2Gu0a+BH70KSyCUn1ZRaP3EKsBduISV7loPtSZIbAHz9mMXGDipz5m1xiEhbgdKoNgWGrsAh2/ajXMiGEYbFoMWtqHSCLjw7NiQZceDg7GBTCFoTYjuQLGNQBt8LrNxvYAN3qGfRMoWn0KRH+b84LmAW7JntWm0rAs2vQZ5HQJWXtcyfWy0hM4fkS7isPAcuH0k6F4UnrcTmYAIPO+YF1eC5f+B7VBHTq3YbyRTSAZeDNP76Y4FkoTnWh0JJA3fkYAK8NICqsBLCagELyygGryQgIrwoQVUhQ8loDJ8oIDq8L4CfwGeC7R9m+SVQ6e1Wcu2Lr5fRn6c53lcpfLrp8WGZe0wSOdNSmF4z0QOnVXHs8cfW/NX1OX5kA7oDOgM6AzoDOgMKJCBTz35SoU1TFsiAAAAAElFTkSuQmCC")}#toolPanel .brush{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAArJJREFUaAXtl7tu1UAURS+IDokkvEOABkENFVADEl+UXwglXb4EiY6UvN+PyzMlFZCCBhpYi3ikKWznWJixI3ykfce58mTWGc/Zx3c2m2LagWkHph2YdmAX78Ap2G+hp2gN7Ue7Ji5D+gP9ynSP6wU0+rgI4U+Uw6fr0SexAvhmA/zokxD+fQX/hHHeksjonsQJYN9VwA8ZF9Fx9Lr6Lu1+PprEKApb+LcV6CPGJZRipyRupBuHGpdZOB2Vx1wfrAFpS+JFzf3FvhLsDfJYeObr4Pn6TzQlsZ5uKD0eY8EEb6M6FAAwiTlKdfCJ6yOBeb3fInwqzmdcR+CFsLA9ZiawiU6j4nGUFV8hIZ6jwygSwj9AzvuIfM0oHj7ul0gIiy8Krysl+A9cn0TFQ3ihE3z07ApvX3CeTW4QeHfa4yKET8BjFAldyb7gPJucnbp4CG+hCuHZ7wKfCtYmZ7MrHrqLFim8rqP7RMJ59gXnDQbv408Q+r0eHok8aT3fTl08hE+PX4gofH7cuiTda4K6Rio8H390B3WlVOget2jS3Npf5JbX5ezmFmuhR2ulP3L+k50y+bWWF3UNXUlrtWC7WCy39xd5m7fZRP16FPALAN9H7mCXNu8x8bg4zw7tMSoeB1jRn3VC+IIVbfMWqIXqPAt3EHh/i96tILq8HQqvRQpvh9Y6B4lLrCrEZxR9L9dS59U8O7RNa7C4zsomcDtIoCtprc6xQxeB38tCTaHzGFvbQ+un8HfQOST8FfQF/fPoIwEtdQMJ7+vFVfQVFYm2BOy6xrftofZTV9pAZ5GvF0XhWW+2z4+G2OkIJfgzzBf+GmpLtmGZv/s6ksAFllhFJpTrPH/rOr5eCL+FRhXr0OgobbJDm9Rg0fYEbkJljexB7m6d7LLf0RTTDkw7MO3Af7oDvwFjWdeSB4jgWgAAAABJRU5ErkJggg==");background-size:cover}#toolPanel .brush:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABOFJREFUaAXtmVtzU1UUgNfaSZOckwFKW8ql6DDeRaugCOMDTE5vMuMP4J/4pk/+AB/9J9RSmqI8OCqKBUUEsYNQSymYjvScxKRnudZOT8xkcrJ3GhJ8yOnDydnXb133pQD9p6+Bvgb6GuhroAMNYAd9O+46dImeg2Lpc6JwTBGcTyrn0wcf4GY7Az8zAUbP++9XABYBKBUBo8Jv9ihn5s40bkRlprcyNehG/fCCf6qMcKkeXuahkE5uhMHcCxdoj+28PbfA8EV/jMp4mWmPxEG2Y4meWkDgocxuI/AqcRUBbzYToh1L9EyAkbnNQwyfJ6KXEOHK7lTaUxknx79vtBJi/xeUbVYflfVEAIGnLRT4lxn4+2zWnV72sPDQw1WVdidaCVGh4OMIttm76wKMzNJBCnGBgF7hgPvBAXf67mn8K4IxCQGAH0Ztm727KsC+PB0gCBZY868CwlUH3al7Z/FxI4hBiMuN7eu/uybA6DztD0uBuM1rDP+jk2wOH8HUhKgPbIW/D7iZT6I2zd5dEUDgtyp+FR5gieEn70/ho2YA9WUcrUVA5UsZZ6jljMLc6hl8WN+m8XeysaDTb84ao5Wyzz4Pr/NY1zIZhvfM8EfyNPh3MbjAsXKc8e+kFeRWpp0/TDwJU4N26g98SfvKZT/Pfd5gFV5n+IkVD9dNYzz/Fe194mv4E6z53yADubUp956pn9Q/NQsI/D++vwBUhU+5DH/GDn5z02fNw7uIeJvS4D327OBFgKeylTiUp5FikeEBxnnEnwbQneBd5ZpM0Oo5PEtDATA8wTsMfwsGwHs06d5v1aexrmMLbMNf5IHHWRs/J9uBJ3+eNX+c3eZXVOStT2ZXGgFN3x3FwNg8DRfLvsC/LatpYsCdWJsxa176BaHuV4VPMPxM+/Ai3I5dSMzvA0MQHGPz/6LSjie53KQxDV/R/VhovIngeOtn8U9Tv7j6HQmgfTcyP0MwfM4Gvs7d3mpH6Dh4KW97IZOUpwMv8l3WoA28ZKntQGd4uGFrsVbwUtdWEAu8TnmSNSTwtO+azV9LsQBvSqAnkhwrHj4wwdnUW7uQXilLnDVI5+tbnDVyNoEnK3OZauuDdYq1gZc2VgLULfMn2Hdvc77O2eTrbsNbCSAH7I2KXubfk2WeeJm3WSn1hq66JzrKarouK7NpY2ar9fp2LdeBoa9pdynQ8CdlgyV7FBt4OQeEvCfiReooT3YtlXUnuwEvgsRmITmLYiGY4/28hs/w7tAaXp8D9G50STZ03YIXAWKzUFkF41ChUxwkq+kkejZbWzk+bh9i5AQmhxirrbSA7PSJtUBiSw3KoMQgDH/XNIE+uFOwyBarHh8tDzGmcU31sQIQhloA9v2CaZDarcP2wd0FuxOYaVyb+lgBgKgqALYWQN+0hbiobx34yiTu4G4Ds5M2sTFApPYChIAh1a5AGicYyvuHofTfZZXc99RfmTS278Z3rACAbAHOgxyMTV1I4LEIovkXeW9z5VnAi0JiBeBg1C4kB47hWf+jqkBqkIG5nAaxRMe47iAvbt/tSjvTy6dbu1o3tN9SAEQV8j8emJXOMeg5bQ12qeipGge/3ZVxZuSaMCrv9TvWAkj4GUMqdiH+wwJ/Fzgg+K0KfP3N77BAKWeJ4Z/0Gro/X18DfQ30NfD/0cC/yGVeCCJ5w/QAAAAASUVORK5CYII=")}#toolPanel .brush-active,#toolPanel .brush:active{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAA45JREFUaAXtmFtPE0EUx8/ZFuwuQS5yE9EYjJdoiLeoL2rYUpAPZXwwfgA/DiBQ1BfjXcQbKhoFREQsUXYLpXs8U9xkQzLb2d22+LDtw+zOnDPz+59zdnZagPgTRyCOQByBOAIRIoARfCO7dt2j9oKVv0lEfQxyP6npt75fw/UgE++agO5R62DegSkA6nWBEfFhU0IfmhvENbevXKuVM6jGeGvW6tlwIOuFF+twJi6uFe2x3jvUpLpuzTOwb8I6AJtwl4COyCCDZKKmGSjBF2DKDz5oJmqWgbax9W5ycIrL5Kgs8jv7RSaSqKf9HuyaZKAEX8RsEHg3E1uOfX2nMO991QW0jdB+jvwkl80x78Kq1wRw2c+2qgLas9RFYE9y5I/7QfiNcRnN+I1XTUDHOHU6G7YomxN+AL5jiJ/qjNQNP5uqCBDwxS0rGjzgXCqB/UtX8YefgITfYJixzlHqKBYZHuBkGP9tH4bXoH9xyPhabo6KCiidbQoWv2HhVLmFZeMI+BFS0L+cMeZlNt7+ipWQgN+0rEmgCPCIH4jhV001eCGkIhnozlLbhs3wAH3e6AS55t3mPdSBuZo2FoL4Rc6AgM/nrYlI8ICzqFH/z4Fg8EJopAwcGKd9+UIJ/nSQqHltueZnMUHmylDDordf9Tr0WahnhFotYHiCM6qL7bTjsnmHoJsrw/ht55jqfVLV0Gsn4G2yxrkvCvxbbY9u/jBxyTt30OvAz8Ch+9Rig3WH9/mzQRdz7RHhTSXgxXyBBAj49XWGJzjnwgRtuWZfJ5JG5Mi76yoLOJyl5n/w513nwC3Cq6RmmMsZ/B7YV+Kg9AwI+N95W5RNJPg6NMSPk2UJS6jusruQ+IG9tiXg6UKoFYQTwky9YaTLHczCzO9bQq0PaK/4lyASPMDLasFvx0Yim0+VDVtkT/B5/pLERKV7OpUyBhZNXFExDmMjzUBBs/siwSO80OuMdDXhhWCpgERRaw4TkZIPwnM9aQwsZPBn6DkUHaUCCJ1QAnhXeGZAbeCFRqkA/p8vsAB+wz7V0cjMD+OqYgAjm0nfA0RaC4CjvADDP2loMAa/XMFfyk4VMJRnANUzsFvwQr9UAO9ASiXE5/nHjXuMTK0j7yZPKgBRK1s/DP+oMaUPfjYx505Y61b6DCDhbT77aHwM4C/m+D4H6HCr5VAT906O6vVphv9Ta+h4vTgCcQTiCPw/EfgLJV9RSXPyCEcAAAAASUVORK5CYII=")}#toolPanel .mosaicPen{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAOtJREFUaAXtmckNwjAQRcNSBg3QCkVRIXQBZxogghlxQ7Zl8YKSSG8kX2bx8r4PtmYYNAlIQAJLJXCOjT1jvGYet1j/FKNom6L348zN7xrx3tC1N7GSdwz/I8ahEq+6pyJfXaAzcIm83EvRtkXvipweYG6xVEAFIAGvEASIy1UAI4QTqAAEiMtVACOEE6xegdb58w2eb3Fqf/1XrF4BD0DvF61XAUqQ1qsAJUjrVYASpPUqQAnSehWgBGm9ClCCtH7fmOAesWwuTPEnaCzTFRq7sr6Ssq2T7Z2pPiS/zpOdomx3aRKQgAQWSOANmudym8Lt+O8AAAAASUVORK5CYII=");background-size:cover}#toolPanel .mosaicPen:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAXxJREFUaAXtWU1Kw0AUfm90UeyuIih4Add6ATeinkP0TIrnqOLGC+gtFASxu0o2zpgpSUngvaTtS6YtfFkl37zf78tiZh4RHjAABsDAOhlgLfnBS3btvX8MIRxpNilwJv50O+72+2IwlvLtSmDEiuIPtfVlcGZ6X8a+ZhvoxP/5hxw7ruHFh9pAhfkxDfhucr73IQVowkZP0xDXfy6HZ012TWv7z9O3EOhUs3Hawhxfsfi5f88vrQ2swnzPNdfCtzZQs97ADzSwblGgABQwMoBfyEig2R0KmCk0BoACRgLN7uqBptwKmzN0FGByNRRr3fpfSD3QROLiScpyGClV1NhbRJwyhma79QqgAU3aVDgUSMW0lgcKaMykwqFAKqa1PFBAYyYVDgX6ZHr0+iteqVdzbqwCs+KzcF8tVnpXt9NxMkL5cCHez0uOi2D5vf7sadsSi7GywpkoMPOXaJODagNxrBMnI03DBS1ol3gs3jl302VMxAIDYAAMdMfAP+EdVKaWg/p6AAAAAElFTkSuQmCC")}#toolPanel .mosaicPen-active,#toolPanel .mosaicPen:active{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAV9JREFUaAXtmU1KBDEQhauiC9GdIih4Add6BhnmHOKhxHOoeAY9hjAgLkfcTGo6Mo2ZpivW2F3GgZdNJ5VKVfK9XuSHCAUEQAAEahJgLfnx0+c0xngnIqeaz1/Ymfg17ISbt6u9+758u33GZFtN/kTr38TOTC+b+K/5Cp3HRbxtbGdr9lVDXcA3ef4gkv2+wVbb++Tg0urb9Tt6nD+L0EXX3rZDW9G/wyavxx2nx7CAcRJ5RcECvMha40IBKykvPyjgRdYaFwpYSXn5QQEvsta4UMBKystP3U6PmfDwYS6/jddspYtl63+hogLpJDXkMDKEfBF71rn1CmABmZpVqlCgCvYsKRTIYFSpQoEq2LOkUCCDUaUKBapgz5L+cwXS1X65qNvp9DJCzeNCup8vh9B7fzqM6CPbnq+rfWHmWWvpftUFpGed9DJSelzoBvNop8mHEK49YiMmCIAACAwnsARsm0C5E2sdIAAAAABJRU5ErkJggg==")}#toolPanel .separateLine{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAAoCAYAAADUgSt0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABlJREFUeNpi4WUQTWMAAiYGKBhl0IIBEGAA+zwA23Qf36YAAAAASUVORK5CYII=");background-size:cover;width:1px}#toolPanel .text{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAupJREFUaAXtmE2ITlEYx8dn1EiUSYkSKRNRzMpEUayQolgZpXyVBStqdmY1ZDGyIKywsSCFSSE7Y2OiFBuTCPlokPIR/j+et+68zX3Pe+49933vne5T/857znme//M/5z33nHNvS0tp5QyUM1DOwFidgXUa2Edhd1EHeE/C/whDwgShUNYutYivYHOh1EvsKRP/1sr+Ig2gVWKHTfhqld+E38JCoRC2VypZOvdN7Tmrn7B67otBE7zdlK6w+geVU60tt0WniX2jcnJE5QNr3xVpy+XPSyb0WJW6ndb+sKo9V9U2qfku/BLmVimbovp7gWejo6ovN9WjJvBqjKJe678Q09/U5vHK/kJghtcLo9kCNbKdsq3OHM2hmW2blBzxz4VxNYTcNL/DNXya0nXLhB1yZN9ofq6BOmjCdkeXxgwHdXSpbXD4Nqz7uDKxfM7XmfGI+V+r0z9TN7ZHTlgGsLLOTLPkV9lu59UZk5lbl5gRP+CZ4aLF9XjGBXdHOAPo8mReZXFct6NXDk+adO7RSxpLydceKYDB7/ANjPpPjFY8fx8w/36V8z1jcb8hLBP2C5eFhhrbJScqMxgCS5OqT/oPcC3mbs9XB9ZxUmMiZgv8C/uSkvjGcVV4JjDznKxpbLGC4fkiTEtD5BPLZY2kQwIna1q7IwL4Ks9UWj5nPNdlEnKihrCtIoHvSQgyFwcvKrywcJLyAhPCeA5fCQxijS+h7xLYowR8ZbsivPNNFuPPhJy1Ph7mzGySmHlZZ6Y4SUPaHJH9FH4I7EqZGJ9JED+YCfv/fxX+7oz4/32oIgHLKAtbK1L4Xwos06C2RGyQDwutQZlHkj1VlTxbRjanr5024r70VDUZDlqe2zW9PDs5IT8bcbtnrK/7dAV8Ffh6scg3OM6frY2/9W6cQ+D2M5bvZCjeyr19WyhCB89yG8AnlUFedgZE9FjgHGiUXVei1wI33tTGlhZ8W3Oo4oaQ9KrvoC67yxkYWzPwF7rCpZtbo68bAAAAAElFTkSuQmCC");background-size:cover}#toolPanel .text:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABOpJREFUaAXtWd1vG0UQ3zk7ju0koCROUkWhUFEqQVB4KH1rKVGIXQlUgSoEDy1qpVI+/4VK+SMQFLUIgQQtEkKt+LLr0FQUeIAi8ZUCUkE0qBWJ46A0sc92zzf87i6Oncj4bs/rB5D9cre3szO/38zuzO5aiPav7YG2B9oe+F96oP+8PtH3aW4pltSPtpKg1jLlZT4O3b2m4ONPMgdaZYdaobhvunifuGXMVnQTicez+7rOVdoqny2JABnlFy2QAL5gg2Vht1UCr+hSHoGBGe42C/nrLMRtAU3ba5qcZBLhgNB2ZPaFr1YMq3oqjwAX8wct8HD/pUwi8rkgPi2YqSzMF1SBrtWjnIDJwgaqkXjVMoRpZD+F4MMjX3Gk1riKd6UEBtL6boAaA+j5oZHIBxbAxUTXt0T0tWDRl79ZeFoF6FodSgmUy1xZrKdmR6m0bojIiQav9693NfuijMBQigfh5QOYNOVOotdrgfWEwu8JElkW/GD/dG5XbV+z78oIGFxAxeUQps9HNxLRP2uB/TFOBcH0pv3NUJtSlRCYYtaY+ZgFkDVtbdHWUhAiGNJOYEUjCPTUSJL7Nvb6bykh8Eoy/xig34nFejU72ZmuB2dhIvwbZFJgECkI/Ug9GT/flBAwyZkW8O9rIIEyUP9XSa0QeB4RU1JEmyYw+FnhbizcOAnSo90RZ57Xxy9ejkc/huw1gN8+lCzG/0VM6nPTBIxbqLCWN4nPzO2hvxtZnyJCsJwMVSazknIbDXHta4rAXTMcxry25zNplYrb2GZHV/gUolBiFo8Op/WtjaXde5sisFJAZUWFhVe/WYx3XXY3J8RfD1EGqfZ9EA8Uy+ZzXsY0kmmKAECsTQOn0jYyVNsXqEbr6Ogsh2r7ZN99E4ilcjuREnehwi71hMNnZAwvxKNfYtz3mEaD83M6qrf/X9DvUBh/yRlLqRWjtK0/XZRTZRqfQMcDprBT8Gm5wVVpX7l46yXuza3qOLSo2R53BINj85OdP1ZheX/zFYH8qn7EBo/pAw/Meze3SZJFL4raFqNsp1RfBx7pCFgVNJbSf8XzHk0T+7Hf/3ATLM9NTLt72TCuoHqvUndkeHE3rXgevCYovYhhdNICj43ZnFNZZU1W5bFv+hngZ6Cvm1fzz1R7vL9JEyDTqaDEdMKqrN5N1ZdEDbd3r5hKvqaQFIHhVP4OZA7sPKkU1MJv1Ick93UsFDmLKNxAQRyNndf3yo0WQopAkRmVkwNWJZ1P0IKssXryF8fJIOaTVh+uYKT3R54J7LzMHbBh33PWVNJ6mKS/4Rx3EmvKwMAncK+0RUaBZwLXsvoBTJ8hKP/BrqQyVlxksxPR60iH57Cr7SgXC8+6iG/o9kwA9z12eDGg7pFxg1Y/jerNxTGZy2BPBIZSxfvhnT3w0k0KR9/xg89tTDYRuYDF/AsK5MiFtL7fTb7S74mAwWuHD6K3M+O0Whms/Ikjqa1TYjG7Eoh9wT3w/kFLMQcDjgHlyB2FtwcjbyEKORY0EZsu7PBixpUA5/KHENYeKL649EjnFS9K/cr8PknLsPWufUQ1vF0GuxNg4dz3cIsW7ya2Aa3DThL4Z+ewl8OOKwFsGUo4fPy0bSBydpOtljQz8dB31u0eEoa+vCya/2vKSmkyaU0Fqync9D08w762+irst3W0PfBf8sA/GcCs3A4F3NoAAAAASUVORK5CYII=")}#toolPanel .text-active,#toolPanel .text:active{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABFBJREFUaAXtWd1rHFUUv2e/srumSpNNUkrUirSglbwU6UulhriJglRERIVWKmgltiCITxYhhfY/EBWKDwr65ENFhWxTuwU/HsQH8aMqSMFqimmaQtLd+Whm5/ib2S7sTnYyc+/cfajsPOzMPffe3zm/c8+5XytE/+l7oO+Bvgf+lx4YPmtODc3XV4cr9ZO9JJjqGXiD3xYs7hRMrz/LnO6Vnp4QGDpnP8iC93tGM/NgtWI9d1sRIKfxWrvBrsBo9Ogh3bgjVR50LWORBcKn9RAhhlK7lh/P/9kS6XprDyG2jYMdxnuWMlNDuKd0Gd2Oo52Ay2K2XUHrG6SeGv+OC62yrrdWAiML5j4YNiEQMkEDiXnAWLOPBOVJy1oJNBrcTF6ETHfD+M3ucnVpiCJ5wLEKj6675t+CRNaL+TAEytHelani92H1snJtI+Cw9TKyNbeZ8b5x66Q1mbUQmGNOYcGKFd8s3MnxeR6S9XRYey0E3pk3noT37+2WvBsUs0ibwnhjg1xRoIWASyIieTutY0GzGLHQPOlsvXkpMYHRr6z7haBpqNkwdYaqZh4aXbCfCK2XqEhMwFl3Z28lrpRHXXZPSNgZ2lRKaRBlR5Xza7axCN8rJCVxPkM7rpQLl4O4MuVEI3DDsp5XM94zkclyxVsyxnZrm4gAjOjYNndTsJkM24tDu3/F2pHgUSZQqtT34NDyMBLYVdWPmaj47z/WC6r9vX7KBJjF0aZiVsbw+oPE8SaO2q9SEt/zNW+t10wcWvRsj7OZzMRSeeBnFQoZlU5GzXzJN57EdXhgSQXD78NiKxaPbU7D9XKp6zkiClt6BLwVtFQx/8B7ZyolDlybuePzKCVh9cML9gPsOBeJqEaDhe3X9tGNsLZhcun4hdKyZzz2PZePTRe/DAOOI18pD/wG46vAG+Sa8WKcPsE20gTI9YdbENP7c6Q+A7UMwY7oXe8boaQUQlIEtleMuzH7YOdJNzOp/ActI5K8J3KFMxiFK2Cwu3TW3C+LJUXAZn4VvkoTiU+XZuiqrLJu7S9MkoMF7bRX57ryC2NsAnt+4Cx04NQlRDrVHHbvW8fDOTqNnHKA9TTulbbJYMYm8NeK+QzCZwzgP12dLn4roySqLc7Ii5gOP8Oqlm3Y1itR7dvrYxPAfY+/70EHP+naQbR8E/m4CKcjMpfBsQiMVeyH4J1H4KU1yhc/1mJwAGRlpnAeyfw7Fsjx8wvmgUB1aDEWAYebUyfi9KPlSaqFoiWtYPGeDyGRzJEESt/wFnj/oAfMmXRTQVJDQ/rflSl8iFGo48w8VTpn7Qpp1iGOJMB14xCGdQuAL1x/bOBiR2/NhUtlWoWuT+AwEg6OqjGeaAIs/PsezEC9Sd6AkelU1teD/xQOxznsRBLAluEmrgt/uW+kcCagqyfF5encj1gov8CEYa6uiuR/TXlTmsy0poPVHG76Hq2y0lZfh/4+Rt8Dt5MH/gPfHXmcyfgZhQAAAABJRU5ErkJggg==")}#toolPanel .save{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAY9JREFUaAXtWDFKQ0EQDSaNliFl5F9AyBEscgKLHMLGQ9jkCBYeIkUkNxAsLA0eQLAT7bQR8xYZEPmzM7t/d/iaWRgW9r19M/Mm+flkMPDlDrgDNR24gXiIP7u+UHmIauugmrKRsDdgZDSbxifAWmME+ASMjGbT+ARYa4wAn4CR0WwanwBrjRGw1xO4g8n0usztNAcOp/N7IqbuXSbwmposwn+LYNWgKZRfEORi7h6MaKpVKQifFWhgIeSoDl91aOK6enWKBIfgPGQ08Yg7Rwp9E8oJsrwjtN+DD3BnJpUlJDlPaOAiQTeZ2uW/nJWiiXVyRd8X1HXRxyAnzxiXnhCk8Xt/BjbJEf6hKV6npCKRIZzi/BNBOrSHszlzR3NMOiJXTYwoXQIjHdqXEb4GIh2RqyZGlIbAbhGkFd6bRhG+BiItkasmCkrHwLeI8LxvBK4GVtelJmqyFuS01tXlbbRgbflS3kC+d2Vu+gTK+Jiv4hPI967MzdivY3ju9n61fYQ2Pa66z7X12DYv7T87sAMM9Kzb7VMBMwAAAABJRU5ErkJggg==");background-size:cover}#toolPanel .save:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAuRJREFUaAXtWE1oE1EQntmkTXYLIok/KEGvQvVWKFgo5JKk9OShmoMepAp6KvTgxf+DFw+CPahIr5FCQT0U2xRK9VIU9VBQ8W6IKEktQjaJJjvOBgNJNtvd7PYFhbewZHfevO+b+Wb2vd0AyEMqIBUQpkBkpbRknsIIGDgoEhwIJoXiM7gimkA0vkxAtMJO+LICTgqJHpcVEK2wE76sgJNCosdlBUQr7IQvK+CkkOjx/74C6FWh6Ir+mohGvc5vnYcI74upoZFWm9trzxUgoB9uSRz9CLcdfWwcvH/QhPAiVGmTP1oiCDhTnNDmbDi6mqPZ0mUy4AEgbA8O4HRXJxdGzy1kYkdX9VNUp6ecQDWAwdHvqcFNF5xwMFs9XqP6W27BMACe3prQFt3M6+bjuYVMsGJCe4aoPOJ2CtWhtnD4HWndSFptsQ1Sf1NtoRE8wryf4E1cXwmYAOqe8Cy3wUcO6FiloN83bTsd5Z+Ve9x2w4j4ObxPm9nJ182Y7wRyJ7E8gME0B1ThwC5ElvUpO+JGy5FxqdFyEEznR1C383Vr952ASfQtGfoASLMNUqTHh9bKRzsDiKzrMTJo/q/9itvnpROn896SgNf/corJoYdchedchb3VX5SZIgo0yW4RKVCFTGPFQljqdcUycezisiTAJJONs8new68K6jS3Rw6Axtaz+s3m1Lls5RoQjfOG9TUU0s437T392sRlTaAn1HbnXAq3MIBneWk0DMKr+7Pl8QOr+hgHf8O0gaKcy8ex0D7L392uJmCGUkiorxSkO1wFhbPI1Ax4wtcB3nDuFhPqmr9wrbN3PQGTIp7UbgPiBu8PMVb/CD8bb06E1etWev8WIQksItbDCGlW/ZO53vOrwpmXcaz5D9eK4P1dyIrVZskntS9sGG4zCrgRUgEBcdpCygRspenTgKxAn4S2pZEVsJWmTwO2+0BkuUR9isEXTbcWeuELUezkfzk2sZlLdKmAjQJ/ANa802uhvjOOAAAAAElFTkSuQmCC")}#toolPanel .save:active{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAmNJREFUaAXtWL9rFEEUft/mcne7AYuY0v8gpDsQ7A7h7oIK6bxCi5AfrZDCLoWFjX+Bhf9BijRB0wixEVOkEIykDTkuGHKbNMkpqJO3p5tsuNnM3OwMKMzBcbPvx/fe+97sG26I/Mcz4BlwxsDk5tlG8nUWgIFLLsFJ0AOn+AweuA7gGt8X4JphFb7vgIoh13rfAdcMq/B9B1QMudb7DrhmWIXvO6BiyLX+v+8ATBm6vXn+SQhx19Q/6wfQTq81UcvKdNfGHRAkTnSDKO0ETpU2OQbGBVAFSwSKc3D1xaDTchkL+g7XLY0LiOtRBwEW/8BBXIfVeMJfH4Hlw/vhvoaH1MS4gASt14jWgeA1kRj9XRLsA3oTz0Zr0sw0hYUKSGKEt6ornMiuZrxLMwB71ano2aXAcFG4gM499MdRanNC33VzYOp/jFGp3a3hXNcnz65wAQnwt2blC0GsDIKke1sW8Ur3/KhV/iwzGVU2tHfTe5y4NfFwVDA+G9b5bJi7yY9n/gbP/Ec32ch0eXkN3wsVuMsJKVzoU7/GZ8QdWRKc/GGlEs3LdEpZTl5WtlAavNNCjDE8IcJvutourE5GJsuC4Gm3juPU3sav1QKShI4b4YcA4iUNxmR6Pggmn171GuF7G0lnMawXkIDXm9EL7sDHQRH8zBNqe6YarmYD21o7KWAN+FUFtZn1r8m8L4/j8VYdP20lncUZfomz2gLrbjM6YPfpAhBark46oBXZkpEvwBKRxjC+A8bUWXL0HbBEpDFM7jkw+e5s9L+JxmmYO8q20FtzOOee/3Juzov3ATwDMgYuAKebdW38MyGrAAAAAElFTkSuQmCC")}#toolPanel .close{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAUJJREFUaAXtmD0KwkAQhdPZWNho4wlEvIKnyDE8k3ewyE08hXaWWuh74MAihvzNbCY6C8MKgdnveybsJkURIxKIBCKBSCAS+JMEZvAsUYsMvnOLNQj/RJ1RS4sF0JMhnVB31BalOpg84a0kCF+9+18xm4TEphYSn/A7rGM2tCWywksqWhKjwGtJjAo/VMIFfF8JV/BdJVzCt5VwDd8kMQn4Ook1LlQo7uDcYU03KfRXGek+cUPHScFLAkxe4B/4vZcLU5jTe57wVgdAkyxSeN7zTN7iAJgFXh7Y9JmwfJ8YJJUmf0EngZemriWa4F1LtIV3KdEV3pVEX3gXEkPhR5XQgh9FQhs+q4QVfBYJa/g6CbXPmAeswAPZtx1WFteaV2gkZ6dSq+kGjY4o9e+VNYBMnvD852NEApFAJBAJRAK/m8ALlHeZDLF6LwcAAAAASUVORK5CYII=");background-size:cover}#toolPanel .close:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAjZJREFUaAXtmN1KAkEUx2d0V3EpCUUQuonozleIQC0Coa7qEXqlLrrpAYIgujEoBIleIKKLPugyNSwNdtGy055kY7VNZ2fPXESzIIoze+b3++/XYRnTm05AJ6AT0AnoBP5DAks3kMyc2FsLNZhT7ZurwYzoGjHRie17Z4N9wEG3Z5/n65AT3S/MPAwpW7WPBj2nna/2CiL7CgukE6lTxtkVA1bo23aNWgLh27f2IQBsMoAOsxJNUoGHIn9JWFZRhYQH7wJX3M+TaRilxxXeEhHgIpP8czB5PAJ4JFAGpUQX89fxfgfBN9aSl974tO/QAliQSiIqPLJICVBIUMBHEogiQQUfWUBGghKeRCCMBDU8mYCIhAp4UoFJEqrgyQWCJHjaWoeOveeOfT+kwtznseakTfo2OqnoyHOC8VfGYNad//WEpYRHBiUCWDh7AfPQca4RHjh/N0yz3CqbdRyj3ISbuTCL4jk/PG2G8BzAGLz1d6kbQGQiFxi/YDF5FQ2gFyipwDg8dpV42qjqYlGC7Brww7tFW4ZhlP0X7MiFTdDFekeARGAavLeYConIAqLwqiQiCYSFVyEhLSALTy0hJRAVnlIitAAVPJVEKAFqeAoJYQFV8FElhARUw/8mkU5ay/g+yhsP+hZqJZ7vnB1354pr++MJG1RU9j98v2Ryq+T1Tt2+szqtlpAAi8fPOGf7JjeK/vZgWnGZ8cY6b2LyLMa3M4upY5kaeh+dgE5AJ6AT0An8mQQ+AcXxBv2nkpz+AAAAAElFTkSuQmCC")}#toolPanel .undo-disabled{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAA/pJREFUaAXtmU9Ik2Ecx93cdJbEDlIQBKvoZOVBbzL8n5jdOowET4HQH8MOXZW6ehHFpAjqErJDR7P8w4QQdhiBhR2izFOHFTRkObO59fmt94Wx+bx73V5lg/eBn8//7+/3/T2/93n2PFZV2cn2gO0B2wO2B0rwgKOEuXlTV1dXT+7s7FxNp9PtSKPD4fCRn5CBlLcob5KvIysej+d1a2trNA/kgA2WEFhaWvKj9wHSh5EuMzZAIsm4eWS8u7v7nZk5+40piQCGn8PgSYD7BRyj/pK9pW2BcqSuru6r1+uNSV8sFvMmEonz9LXQd4WmXspu6SPN1dTUDLe1tX37XzX/t2gCy8vLNzDgKVKPQTFkwul0Tnd0dPw0oz4UCjWkUqk7zB9BvMyPI0NdXV2zZubrYwwJAAymI60P1nM8P0rfQ6nTH8TT94qNZ/luWJlJ8AIa3hgh9UjXVShXElhcXLyEcSEx1OVyzeBZidmqLOP3qA739PTMFFJiph99txg3hVSj1zQJJQGW+GIymfwoygH8hNxnyRuovkTE+ADGvyK3LEHiOmBBpJpwHDATTkoCa2trx6PRaDzbOkh8Z0VO03bbKs9n40tZW4nH6Iq73e7LhT5sZy6AXm9qavpN+Ydel1wzPgn42XA4nNnfs/utKItjwA+iq353d1dCyjApCcgsgPbb1lyAP4jH45/5Hm5SNsQw1K7olE0B3bL99qNDzhhlKqR8PwIZMAw/hTxjOw1HIpFjSg1FdMiOBoEJbaockMpkSAADlQQ0RAmxN83NzX+UGorskDMFEnIw9slWq4IxJKAIIcEK0zfo8/nOsGePUpZdydKkHYhyqrvk95UK3PB3C4Z9ASAzl3KCwiz5NNvbexWgle3oXgDvGnk7+QskLxkS6OzsXCHGp5m1UVtb+9zv9//KQzjEBpwVEQcijSo1hgQASDHxrmryYbfLj8Ht7W3ZDX0qXYbfgGrSUbXrv2RZAeWZU9YEzDiqrAnIHUJIEEJbKjJlTUAuQGI4IbRZkQQwvEUMZwXWK5IAhsvVUwisVBwBuXJidC/GJ+UFwxICgHpUQFa3a/dlufTPG11XTX/EnMiDe3t7H4x+WFlFQnQQ/yMa3rgRrmkCeCQA6AW5gBsBWtGnXfJlC50r9GZkmgCxKJeMOCQC2rXPClvzMARbdIgueSvKG5DTYJoAntgAdEibP6VdwHPgSqtqmJlrpOgqdB8WbaYJyGB5JQB4jGI1ErRyJTSszIuE6DDzIiE2KV8lpFOVst6GZI8uz4ctlfF6Ox4bwPgnxGv5Pi3qxqpyVqJyH3ezSWlPH/J6UFnP69kkpCwH0FH/gyPXBrtue8D2gO0B2wMH8sA/gAT1Qeh5oB4AAAAASUVORK5CYII=");background-size:cover}#toolPanel .undo{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAp1JREFUaAXtmb1LHEEYxs8oiSiIgWDtR2lsJI2FcKRIYZsqoiAIAYs0/gEe2Aip0wqWqfVIbReS1GlSXRMQIwgKgh+QPL+wLyzDLsrM7N0uzgvP7czsvM/7sTuzM3OtVpKUgZSBlIGUgYAMDAXoFqlOqXFFaAvzwrQwISAXQk/4KRwLX4RToRayLC8OhVvh7wNBX3TQHZjMynJXMKdvVD4SPghLAk/kaQbKtHGPPvQ1PThmhL7KO1m7FHDiXOgIL4SHCn3RQRcOuOCMKmVjZEdWMAo+C2TXV9CFw/jgjiILYjkTeOQjOUZz/k5tW7n20CJccBJIlCBeZmQQMnO8EVazNgy9FWILnBZE8Os0LjJ7rHb9nbXFzLybBLixx5gIHtjM0+a8XZn+Pgo2v6sYXWxMMDsFyTdpm+Pu9UT3NoUnQRaKlRnYNjsFfScsE67z+fp3GRsr9iOotSNt7PCx85Y9aeaddcu8YrvCsLeFckW+E3zseGW9p+n3Unadpv5VWBOeCVXKkcixt+Fr5HVGAMmVsC8sCv0SvkHYPvA1yAD9JGwLz31JAvRYOxHAjwCOgary7hPAn4F6EWCclSwBXJdxVDGHl9mqpL3uAUxmUV+URV/3AOYyx3tNDeBV5jir4UKp+xNgCY8c//9t2E+UpYQb86jbUGG9I26m0KDFXN6/dVV+Cd4LqzzZPWVsRFlO5+10VSEjLLGrFlvGYzOazIqJbR5BNGZL6UbPRpsAGrGpd523emOOVczhoqsFYWMiZGCja+88fFHOhIqcdts4I7IxUdujRddpt87AttmJ7LGHZRvITorNCNllSQwo08Y9+tAXHQBH8BmQOLyFow8+OH0/Xi87vPWNhCyvCG2hUX9wyN8kKQMpAykDjzED/wAOt9HUp+PK6gAAAABJRU5ErkJggg==");background-size:cover}#toolPanel .undo:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABOlJREFUaAXtWU2IW1UUPufmZ/KSUcoknYhUqIouHEdcWLqxoDA2E/82goMFdzIgpcWFiriw1YWb2UilDAri30JmIYKlJhkLFQTpQhBGZ+NPZyitNm3mh2knL5kk93jOewam8b6Xl0wYI+TB5L137z0/37nnnXPuGYDBNbDAwAIDCwwssAML4A5o/0WaLtBoXVeeBNCPAeAYAe3n++3uQtpAwGUAWgRQ34VV7JtiBq+5c93/9gTA3rx9SBO9RghZIAoHUgexjgQ5hThzfdL6PhCNYdGOAKTPVe6p1RungOAphzdiDYEKgDgf0vAjKuuP1D5Yl7nSZdhD2r63oeARBnmYADN8j7h0cDaC6lgxYy057x38+AIgIuSLTPxSufILbPEPec0wICuJ6r1YNHb6z8exZFrfOnbneUpVtipHgfQrbIA9LOcmS5ouZeNftK71ezcC2H+eYhtVe5799SH2289jYevklQlcaTIaydtvseC3nXfEuQhax7v1Z/luamTzLtKUy0+dWJ203mnKanc3AkgWygdJ04VtxGuo8MR41JpdqFbedJXHBio6tpJJzG5b1/VjsrD5Mml8n40W4t0MDMIIIP1tdbxWry/w5HXW6Cf2ocOiGb9f5ud9/NTgl6nVyfiXXWtsIBzJl59jd5oTEArwSBB3UgY+0LCiy+44Dq9kExml4Fn20d9c5XkG4eeQUgsm2p2MiUFkV4WHfF/pgn13O35GAKVH8QYTljiOW6PnKF3KJM7ccZf1IFvldd6FDfbXhxsN/ctIrjwzcoH+ifPtRAWbd1ySvysJDjXS7FL+lxGAkLhJB6BOrhUWx3CLt3QmFInfz0Qf8RKO9/Qqrpd/3VuoZP3FdDYrQYEVWJfwLDnGj9oTALvLkhCqOtyyjdcmsFjKJl5SGD7AQhaJIK21/oqjScJPUCdzTkTjsCw0kiD9aD0BILoAOBPcAuAkkUoVNp/RUHuX9+kBlzmtccKq+QnqdE5yCifEmmR3CbVe9N4AgJwdINAOAEk8yYL9xqm8fVFr+Jq3N8OJpyLuRDE8IC7mJaSbcUmITlbn0sStr8xcPOsWRaElDQ12cziYzJc/q1bs5/mjHhI2HJF+Z+Vn48PWx5cO4ZqZdQ9GuSThgPG0WxzCJyaOngD0bUM/4E17k6PBuPyx2po/7DMhUKeLmaF5rxLDJKTbMamn6g4xjnnx8AQgoXQ0V36igTBNqJajGj69mrWWhRGH0l25pBgEXWYnkLLcfO2WLmbpbUbHFin616VylU22tZqNO+7bSuL5Ebcu7Nf3vgYgZwjXcLThZcC+BiAHIFG8WRWYQPQ1AOf05mgt52jz1dcAOAc4Zbw0Aczq84zXxH89LpnfOTfz4V86GF76dARAjppejHo97p6XKcIZP+d3XA0MIJm3X7xRtRf8CqtegXBkyGGfL2m7+PENDICLuikuKe5zDuB+HHsw5x7yOYQinG3XMwoMIBIOHZfWB39YU3IA74GeRhYOb5YhsqRXZFy0bTAwgOJE7CL747TQSvfAOYBvY9SLR+HpdiY49rOsII2uwABEQadLwC0PhhDiCmuulzvhWt7tSEhbJUhHQnTqqpjr+8aWIGt3pfL2ES5zP5DuAZuhv1qL7ZRvzvd9c7epaLv7/7a93gpMEtBu/4OjVYfB+8ACAwsMLDCwQEcW+BshWTaR4gPCwwAAAABJRU5ErkJggg==")}#toolPanel .confirm{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAN5JREFUaAXtmE0KwjAQhXsuvUZBxIU9RN17WZfeQNE3iwEXSqJmknnwAkMaOovvfSn9myYNGZABGZABGZABGagxMKNpX9OYsecEqAfqmhGuxOTwdzQeS83Zzq8AMvMGv6CoBjX862WzUGkHrOBH7ZjMu3l74h180WFubv4CaLv3nhnhjXmHuqGiQzQ3b/A+okOEwkeH6AIfFaIrfOsQQ+BbhRgK/2+IFPC/hkgF/22IlPC1IVLDl0JQwH8KQQX/LgTtB7i/O1H+PfCd2OBg6wvNMiADMiADMiADMkBg4Akg3m3A8SMAAwAAAABJRU5ErkJggg==");background-size:cover}#toolPanel .confirm:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAWBJREFUaAXtmDtOw0AQhmcCDa0xOQycgB4JIRokboCgBlo6JA5AQSoOsFruROlNQ3bZAQWCoyTY+/BG+t1Efmjn+z+vPesQYYMBGIABGIABGICBjQYqbU5qZc7aF47aB0rc9+A3ZN2rZffU5tttHyhtX+AtuQcitsx8VRrfWp5am+tKNa5SZravphdrLy7t5HbD+2mzveYBP9DDIG8bTBuR/9Xx9PQ8140INb/UidnRo7X2pVbNXeoQf5oU8eX78d5z15pLAUZMvtvxzBLdpgwRA35l2ANtTn33+5CHKkWI0GmzEnzxRKoQWeDnQWKHyAofO8Qg8LFCDAofGqII+L4hioLvGqJI+P+GKBp+U4jc8DwH6vMrfcKvOSZEbsevSe79EqT5+QDvubbpyhEUQIothvgu7v89yAQv9YIDyCC/IYhzwkvtaNtYm8PxmzmKNiAGggEYgAEYgAEYgIH0Bj4BteBmoOo+DxkAAAAASUVORK5CYII=")}.__screenshot-lock-scroll{height:100%!important;margin:0;overflow:hidden!important}.ico-panel{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #fff;height:0;left:23px;position:absolute;top:0;transform:rotate(180deg);width:0;z-index:9999}.ico-panel img{height:100%;width:100%}#optionPanel{background:#fff;border-radius:5px;box-sizing:content-box;height:20px;left:0;padding:10px;position:absolute;top:6px;z-index:9999}#optionPanel .text-size-panel{align-items:center;border:1px solid #bebfca;border-radius:3px;cursor:pointer;display:flex;float:left;font-size:14px;height:20px;justify-content:center;overflow:hidden;width:65px}#optionPanel .text-select-panel{background:#fff;border:1px solid #d8dcea;border-radius:3px;display:flex;flex-wrap:wrap;justify-content:center;left:10px;position:absolute;top:-321px;width:65px}#optionPanel .text-select-panel .text-item{cursor:pointer;font-size:14px;height:20px;margin-bottom:5px;text-align:center;width:45px}#optionPanel .text-select-panel .text-item:hover{background:#bebfca}#optionPanel .text-select-panel .text-item:first-child{margin-top:5px}#optionPanel .brush-select-panel{float:left;height:20px}#optionPanel .brush-select-panel .item-panel{float:left;height:20px;margin-right:18px;width:20px}#optionPanel .brush-select-panel .item-panel:first-child{margin-left:2px}#optionPanel .brush-select-panel .item-panel:last-child{margin-right:0}#optionPanel .brush-select-panel .brush-small{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKlJREFUeNrs18EKgkAUhWEnwmW1amObHqKeo0ftOfIh3OSmlba0xXSEK4SICAoz4X/gINwL8sE4C533Pok5myTyAAQIECBAgAAB/jdwO/cFO3dsH3v1qmY2LtWHWr/9KyxQOag3Nf2ZnQ17V6vQR3zp4bqktgv+DWYjuxO3eELKkd0zBmCuNgPzxnbBgZXd1kL9WIslbnAbx38xQIAAAQIECBDgqoFfAQYAhLQbgzDvXkAAAAAASUVORK5CYII=");background-size:cover}#optionPanel .brush-select-panel .brush-small-active,#optionPanel .brush-select-panel .brush-small:active,#optionPanel .brush-select-panel .brush-small:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALhJREFUeNpi/P//P8NgBkwMgxyMOnDUgaMOHHXgqANHHTjqwFEHDm0HslBqAB+jGIhSBeIOIHaBCu8B4gogvv3p/yuKzGektMEKdKA6kDoBxAJoUh+A2ALowJsDHcVtWBzHABVro9RwaoTgRxCFQ/oLMAR5R3MxAbAHj9yuweDAamiGYMCSSaoHgwNvgHIrEK8D4s9QvA4qdmPAM8loVTfqwFEHjjpw1IGjDhx14KgDRx04pB0IEGAAHeMoHW2kl/cAAAAASUVORK5CYII=")}#optionPanel .brush-select-panel .brush-medium{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAS9JREFUeNrs2EsLgkAQB/BWupQQHXpczbp36/EB6ptH1M2D17RLhx6XQG9lszCBxEa5zoTQDPxvjv52RR1UWZbVqlxOreIlQAEKUID/Dqx/e2BL9d4t0MP0IS7kBkkgZ0iMub82XrMjLdBQGjXTdgO6jRlpC2QDiX51ixVkClkacMbNhyywR/0COIGMLfrG2MsK9C1xeaTPBdTHzgkezHmR6zoFd88lAOpzDDmAHuHrzeMA9giBXQ5ggxDY5ADeq/4tTgmvm3IAL4TAEwcwJgTGHMAdTillK8FzsTwkawLgGkcylm+xXnlQAhcU2T3baWYLCS36QuzlmahzpX/mrCAHnPE+zYRXhO1strzMRK0n5D0OEQNIJzdMPEf+CGHWL3klf7cEKEABClCApeohwADD8zb9WRTsHgAAAABJRU5ErkJggg==");background-size:cover}#optionPanel .brush-select-panel .brush-medium-active,#optionPanel .brush-select-panel .brush-medium:active,#optionPanel .brush-select-panel .brush-medium:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAU9JREFUeNpi/P//P8NgBkwMgxyMOnDUgaMOHHXgSHcgC7EK+RjFsAmzAXEAFFsCsRQQ/wLiJ0B8HojXA/FGqBgK+PT/FVH2MhJb1WFxYCAQdwGxCgGtd4C4HIjXkeNAcqKYGYg7oRaqEKEepGYtVA8zzaIYCbQBcRkZ+mB6ymmZSULIdByyI0NI0UBKGgRliLtALENhxnwKxErANPiL2iEYSgXHgYA0EIfRIooDqFi8BdDCgaZUdKAJLRwoQUUHStLCgb8YBgCQ4sDnVLT3OS0ceImKDjxDCwduoKIDN9DCgauhrRRKwVOoWTTJJEVUcGAhEP+kVV0M8nk3BY7rJiX0yG1uVQLxFDL0TYXqpXmT/y8Q50JbJXeIUH8HWo/nQPWSBChpUcOa/KHQ1rUxtCEAywhnoU3+1XRp8o/26kYdOOrAUQeOOnDUgVgBQIABAPYuSgtJpajwAAAAAElFTkSuQmCC")}#optionPanel .brush-select-panel .brush-big{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAaNJREFUeNrcmMFKw0AQhpOqRdGUCloD2lMv1T6B6RMI4sOK4BM0b1Clh56skFahpVaUaln/wBQkzKYmTbJTB75TSPJlN7uzM7ZSypIc9sYIVuxa0nsdUAcuqIIDUKZrczADExCAJ/CW5OFTNUolaIMGaIGThB80BF3QByoPwVPQptFaJ8JR7YDnrAS3gAfOM/69HoEPFusI7oIrcJzTGngB9+AzjWAod5PBlP5lym+jkqsEt8E1qBW0m4Q2d+A7KljS3OAVKGfRuzzuQkmzWpsG9uQmvTtW0KatxFS0yUEr2ChgUcRFlRy0ghcC0m9LJ+hQXjUdYQqtcIJ1QYeYM07QFSTocoKHggSrnOC+IEGHEywLEtyJyySi4rfgXJDXFyf4LkhwxgmOBQmOOcFAkGDACQ4ECQ44wamQURySC7vNPAgQ7MYdt/pUxJiKCTloBRUV1abCj3YduEwSVvw9A3I9bqHqUl2HSsGiYqSbuY0t3JexR62Po5zkXqn18ZG2N7PsMlxaQptH0TrBs7Jpv/mrMte/bGByx/LiWsBSQ7zgjwADAPqYqQ1c9nN+AAAAAElFTkSuQmCC");background-size:cover}#optionPanel .brush-select-panel .brush-big-active,#optionPanel .brush-select-panel .brush-big:active,#optionPanel .brush-select-panel .brush-big:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAhRJREFUeNrUmLtPAkEQh+/UghCxw06JNuCjJURBK+OjsNVEW4KF6P+iYKGF9rYWhmClKKGg8wGNRu2kA4M25PyNGRKFPb0Fjlsm+SKG3MyXLLezs7phGJrK0acpHgP1D0P6sOyzY2AJRMAE8AEPf1cBz+ABZEAKPMkkLxtv33/1+hJbFOwHayAOZuh5i/WoSBYkwSmo2SG4ABIg0OaqFcAOuLAiaOU36AKHIN0BOY1zpDmnq92XxAsuQcyG33+Mc3tbFaQHr0DQxpc0yDW8soJucAb8XdhJ/FzLLSO4B0Jd3O5CXNOSIL2tUQf25CjX/lOQ/t93sHEkeK81FVznruBUBLgRmApuK9B+42aC1FtnFRCkFjouElyW6K12hs6HkCbBsEKnrLBIcEohwUmR4IhCgj6RoEchwcGeOfL/FKwo5PUuEnxVSPBFJHivkOCdSDCjkOC1SDDF05fTYbBLk+AjuFFAMMsuwm3mQAHB5K/G3DAX02HxtkPjZasz8zQN9mZzcY2Haqdit/HWQdRJaOI/cUDumAd6S1MdnWpzXZTLma2cmWAVrIJiF+SKXKsqe7NQAvMgb6NcnmuUWrn6oKBXaQ4c2SBHOSNcQ2tVkOIDbIHFDi15kXNRzk+Z49Z/keaxYIN3e9m2SM9sco605QlK8oZVaxhTV3iZaGMfpTT8XZmPTAU+hJxr7V4B98KJWsn4EmAAKPJ2SXt/mW0AAAAASUVORK5CYII=")}#optionPanel .right-panel{align-items:center;display:flex;float:left;margin-left:39px}#optionPanel .right-panel .color-panel{background:#fff;border:1px solid #e5e6e5;border-radius:5px;display:flex;flex-wrap:wrap;justify-content:center;position:absolute;right:28px;top:-225px;width:72px}#optionPanel .right-panel .color-panel .color-item{height:20px;margin-bottom:5px;width:62px}#optionPanel .right-panel .color-panel .color-item:first-child{background:#f53440;margin-top:5px}#optionPanel .right-panel .color-panel .color-item:nth-child(2){background:#f65e95}#optionPanel .right-panel .color-panel .color-item:nth-child(3){background:#d254cf}#optionPanel .right-panel .color-panel .color-item:nth-child(4){background:#12a9d7}#optionPanel .right-panel .color-panel .color-item:nth-child(5){background:#30a345}#optionPanel .right-panel .color-panel .color-item:nth-child(6){background:#facf50}#optionPanel .right-panel .color-panel .color-item:nth-child(7){background:#f66632}#optionPanel .right-panel .color-panel .color-item:nth-child(8){background:#989998}#optionPanel .right-panel .color-panel .color-item:nth-child(9){background:#000}#optionPanel .right-panel .color-panel .color-item:nth-child(10){background:#feffff;border:1px solid #e5e6e5}#optionPanel .right-panel .color-select-panel{background:#f53340;border:1px solid #e5e6e5;height:20px;width:62px}#optionPanel .right-panel .color-select-panel.text-select-status{margin-left:31px}#optionPanel .right-panel .pull-down-arrow{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAQCAYAAAABOs/SAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAANNJREFUeNq01TEKwjAUxvHXOAhKJ3Fwc9PVzbWipxCdHLyMV9AD6A2EegRdvYBOnd3E70ELIcT2JU0C/1BI4AeB8pKUhlMiOqAtKijuGqEj2ne61D/jY1V2QZ+IaI7maKywrdETzdAVDSKi/Lp3tGP4hRYRcRPlly1Uech4FgG3onygtEvvwDijNxtqwiHxCp3YUBscAm9E/8FtcBFaB/vgYrQJdsGdUAkswZ1RKVyH6+hDivJKMCTa/CY9DV26DBlX2MTJB/WFK/yEvmjjM05/AgwANuZSRB8r5twAAAAASUVORK5CYII=");background-size:cover;height:8px;margin-left:10px;width:15px}#cutBoxSizePanel{align-items:center;background:rgba(0,0,0,.4);border-radius:3px;color:#fff;display:flex;font-size:14px;height:25px;justify-content:center;width:85px}#cutBoxSizePanel,#textInputPanel{left:0;position:absolute;top:0;z-index:9999}#textInputPanel{border:none;box-sizing:border-box;font-weight:700;margin:0;min-height:20px;min-width:20px;outline:none;padding:0}.hidden-screen-shot-scroll{height:100vh;overflow:hidden;width:100vw}.no-cursor *{cursor:none}');var bm=function(){function e(){this.beginPoint={x:0,y:0},this.stopPoint={x:0,y:0},this.polygonVertex=[],this.angle=0,this.arrowInfo={edgeLen:50,angle:30},this.size=1}return e.prototype.draw=function(e,t,n,r,o,i,A){switch(this.beginPoint.x=t,this.beginPoint.y=n,this.stopPoint.x=r,this.stopPoint.y=o,this.arrowCord(this.beginPoint,this.stopPoint),this.sideCord(),this.drawArrow(e,i),A){case 2:default:this.size=1;break;case 5:this.size=1.3;break;case 10:this.size=1.7}},e.prototype.arrowCord=function(e,t){this.polygonVertex[0]=e.x,this.polygonVertex[1]=e.y,this.polygonVertex[6]=t.x,this.polygonVertex[7]=t.y,this.getRadian(e,t),this.polygonVertex[8]=t.x-this.arrowInfo.edgeLen*Math.cos(Math.PI/180*(this.angle+this.arrowInfo.angle)),this.polygonVertex[9]=t.y-this.arrowInfo.edgeLen*Math.sin(Math.PI/180*(this.angle+this.arrowInfo.angle)),this.polygonVertex[4]=t.x-this.arrowInfo.edgeLen*Math.cos(Math.PI/180*(this.angle-this.arrowInfo.angle)),this.polygonVertex[5]=t.y-this.arrowInfo.edgeLen*Math.sin(Math.PI/180*(this.angle-this.arrowInfo.angle))},e.prototype.getRadian=function(e,t){this.angle=Math.atan2(t.y-e.y,t.x-e.x)/Math.PI*180,this.setArrowInfo(50*this.size,30*this.size),this.dynArrowSize()},e.prototype.sideCord=function(){var e={x:0,y:0};e.x=(this.polygonVertex[4]+this.polygonVertex[8])/2,e.y=(this.polygonVertex[5]+this.polygonVertex[9])/2,this.polygonVertex[2]=(this.polygonVertex[4]+e.x)/2,this.polygonVertex[3]=(this.polygonVertex[5]+e.y)/2,this.polygonVertex[10]=(this.polygonVertex[8]+e.x)/2,this.polygonVertex[11]=(this.polygonVertex[9]+e.y)/2},e.prototype.setArrowInfo=function(e,t){this.arrowInfo.edgeLen=e,this.arrowInfo.angle=t},e.prototype.dynArrowSize=function(){var e=this.stopPoint.x-this.beginPoint.x,t=this.stopPoint.y-this.beginPoint.y,n=Math.sqrt(Math.pow(e,2)+Math.pow(t,2));n<50?this.arrowInfo.edgeLen=n/2:n<250?this.arrowInfo.edgeLen/=2:n<500&&(this.arrowInfo.edgeLen=this.arrowInfo.edgeLen*n/500)},e.prototype.drawArrow=function(e,t){e.fillStyle=t,e.beginPath(),e.moveTo(this.polygonVertex[0],this.polygonVertex[1]),e.lineTo(this.polygonVertex[2],this.polygonVertex[3]),e.lineTo(this.polygonVertex[4],this.polygonVertex[5]),e.lineTo(this.polygonVertex[6],this.polygonVertex[7]),e.lineTo(this.polygonVertex[8],this.polygonVertex[9]),e.lineTo(this.polygonVertex[10],this.polygonVertex[11]),e.closePath(),e.fill()},e}(),Bm=function(e,t,n){var r=e.width,o=e.data,i=[];return i[0]=o[4*(n*r+t)],i[1]=o[4*(n*r+t)+1],i[2]=o[4*(n*r+t)+2],i[3]=o[4*(n*r+t)+3],i},Cm=function(e,t,n,r){var o=e.width,i=e.data;i[4*(n*o+t)]=r[0],i[4*(n*o+t)+1]=r[1],i[4*(n*o+t)+2]=r[2],i[4*(n*o+t)+3]=r[3]};function xm(e,t){var n=t.startX,r=t.startY,o=t.width,i=t.height,A=e/2,a=[];return a[0]={x:n+A,y:r+A,width:o-e,height:i-e,index:1,option:1},a[1]={x:n+A,y:r,width:o-e,height:A,index:2,option:2},a[2]={x:n-A+o/2,y:r-A,width:e,height:A,index:2,option:2},a[3]={x:n+A,y:r-A+i,width:o-e,height:A,index:2,option:3},a[4]={x:n-A+o/2,y:r+i,width:e,height:A,index:2,option:3},a[5]={x:n,y:r+A,width:A,height:i-e,index:3,option:4},a[6]={x:n-A,y:r-A+i/2,width:A,height:e,index:3,option:4},a[7]={x:n-A+o,y:r+A,width:A,height:i-e,index:3,option:5},a[8]={x:n+o,y:r-A+i/2,width:A,height:e,index:3,option:5},a[9]={x:n-A,y:r-A,width:e,height:e,index:4,option:6},a[10]={x:n-A+o,y:r-A+i,width:e,height:e,index:4,option:7},a[11]={x:n-A+o,y:r-A,width:e,height:e,index:5,option:8},a[12]={x:n-A,y:r-A+i,width:e,height:e,index:5,option:9},a}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==o.g?o.g:"undefined"!=typeof self&&self;var Sm={exports:{}};Sm.exports=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};function t(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var n=function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&o[o.length-1])||6!==i[0]&&2!==i[0])){A=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=55296&&o<=56319&&n>10),A%1024+56320)),(o+1===n||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},c="undefined"==typeof Uint8Array?[]:new Uint8Array(256),u=0;u<64;u++)c["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(u)]=u;for(var d="undefined"==typeof Uint8Array?[]:new Uint8Array(256),f=0;f<64;f++)d["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(f)]=f;for(var h=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},p=function(){function e(e,t,n,r,o,i){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=r,this.index=o,this.data=i}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>5])<<2)+(31&e),this.data[t];if(e<=65535)return t=((t=this.index[2048+(e-55296>>5)])<<2)+(31&e),this.data[t];if(e>11),t=this.index[t],t+=e>>5&63,t=((t=this.index[t])<<2)+(31&e),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),g="undefined"==typeof Uint8Array?[]:new Uint8Array(256),m=0;m<64;m++)g["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(m)]=m;var v=10,y=13,w=15,b=17,B=18,C=19,x=20,S=21,E=22,F=24,Q=25,U=26,k=27,I=28,O=30,P=32,T=33,H=34,L=35,_=37,R=38,N=39,M=40,D=42,j=[9001,65288],G="×",K="÷",V=function(){var e=function(e){var t,n,r,o,i,A=.75*e.length,a=e.length,s=0;"="===e[e.length-1]&&(A--,"="===e[e.length-2]&&A--);var l="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(A):new Array(A),c=Array.isArray(l)?l:new Uint8Array(l);for(t=0;t>4,c[s++]=(15&r)<<4|o>>2,c[s++]=(3&o)<<6|63&i;return l}("KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=="),t=Array.isArray(e)?function(e){for(var t=e.length,n=[],r=0;r0;){var A=r[--i];if(Array.isArray(e)?-1!==e.indexOf(A):e===A)for(var a=n;a<=r.length;){var s;if((s=r[++a])===t)return!0;if(s!==v)break}if(A!==v)break}return!1},ee=function(e,t){for(var n=e;n>=0;){var r=t[n];if(r!==v)return r;n--}return 0},te=function(e,t,n,r,o){if(0===n[r])return G;var i=r-1;if(Array.isArray(o)&&!0===o[i])return G;var A=i-1,a=i+1,s=t[i],l=A>=0?t[A]:0,c=t[a];if(2===s&&3===c)return G;if(-1!==W.indexOf(s))return"!";if(-1!==W.indexOf(c))return G;if(-1!==X.indexOf(c))return G;if(8===ee(i,t))return K;if(11===V.get(e[i]))return G;if((s===P||s===T)&&11===V.get(e[a]))return G;if(7===s||7===c)return G;if(9===s)return G;if(-1===[v,y,w].indexOf(s)&&9===c)return G;if(-1!==[b,B,C,F,I].indexOf(c))return G;if(ee(i,t)===E)return G;if(Z(23,E,i,t))return G;if(Z([b,B],S,i,t))return G;if(Z(12,12,i,t))return G;if(s===v)return K;if(23===s||23===c)return G;if(16===c||16===s)return K;if(-1!==[y,w,S].indexOf(c)||14===s)return G;if(36===l&&-1!==q.indexOf(s))return G;if(s===I&&36===c)return G;if(c===x)return G;if(-1!==z.indexOf(c)&&s===Q||-1!==z.indexOf(s)&&c===Q)return G;if(s===k&&-1!==[_,P,T].indexOf(c)||-1!==[_,P,T].indexOf(s)&&c===U)return G;if(-1!==z.indexOf(s)&&-1!==$.indexOf(c)||-1!==$.indexOf(s)&&-1!==z.indexOf(c))return G;if(-1!==[k,U].indexOf(s)&&(c===Q||-1!==[E,w].indexOf(c)&&t[a+1]===Q)||-1!==[E,w].indexOf(s)&&c===Q||s===Q&&-1!==[Q,I,F].indexOf(c))return G;if(-1!==[Q,I,F,b,B].indexOf(c))for(var u=i;u>=0;){if((d=t[u])===Q)return G;if(-1===[I,F].indexOf(d))break;u--}if(-1!==[k,U].indexOf(c))for(u=-1!==[b,B].indexOf(s)?A:i;u>=0;){var d;if((d=t[u])===Q)return G;if(-1===[I,F].indexOf(d))break;u--}if(R===s&&-1!==[R,N,H,L].indexOf(c)||-1!==[N,H].indexOf(s)&&-1!==[N,M].indexOf(c)||-1!==[M,L].indexOf(s)&&c===M)return G;if(-1!==J.indexOf(s)&&-1!==[x,U].indexOf(c)||-1!==J.indexOf(c)&&s===k)return G;if(-1!==z.indexOf(s)&&-1!==z.indexOf(c))return G;if(s===F&&-1!==z.indexOf(c))return G;if(-1!==z.concat(Q).indexOf(s)&&c===E&&-1===j.indexOf(e[a])||-1!==z.concat(Q).indexOf(c)&&s===B)return G;if(41===s&&41===c){for(var f=n[i],h=1;f>0&&41===t[--f];)h++;if(h%2!=0)return G}return s===P&&c===T?G:K},ne=function(){function e(e,t,n,r){this.codePoints=e,this.required="!"===t,this.start=n,this.end=r}return e.prototype.slice=function(){return l.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),re=45,oe=43,ie=-1,Ae=function(e){return e>=48&&e<=57},ae=function(e){return Ae(e)||e>=65&&e<=70||e>=97&&e<=102},se=function(e){return 10===e||9===e||32===e},le=function(e){return function(e){return function(e){return e>=97&&e<=122}(e)||function(e){return e>=65&&e<=90}(e)}(e)||function(e){return e>=128}(e)||95===e},ce=function(e){return le(e)||Ae(e)||e===re},ue=function(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e},de=function(e,t){return 92===e&&10!==t},fe=function(e,t,n){return e===re?le(t)||de(t,n):!!le(e)||!(92!==e||!de(e,t))},he=function(e,t,n){return e===oe||e===re?!!Ae(t)||46===t&&Ae(n):Ae(46===e?t:e)},pe=function(e){var t=0,n=1;e[t]!==oe&&e[t]!==re||(e[t]===re&&(n=-1),t++);for(var r=[];Ae(e[t]);)r.push(e[t++]);var o=r.length?parseInt(l.apply(void 0,r),10):0;46===e[t]&&t++;for(var i=[];Ae(e[t]);)i.push(e[t++]);var A=i.length,a=A?parseInt(l.apply(void 0,i),10):0;69!==e[t]&&101!==e[t]||t++;var s=1;e[t]!==oe&&e[t]!==re||(e[t]===re&&(s=-1),t++);for(var c=[];Ae(e[t]);)c.push(e[t++]);var u=c.length?parseInt(l.apply(void 0,c),10):0;return n*(o+a*Math.pow(10,-A))*Math.pow(10,s*u)},ge={type:2},me={type:3},ve={type:4},ye={type:13},we={type:8},be={type:21},Be={type:9},Ce={type:10},xe={type:11},Se={type:12},Ee={type:14},Fe={type:23},Qe={type:1},Ue={type:25},ke={type:24},Ie={type:26},Oe={type:27},Pe={type:28},Te={type:29},He={type:31},Le={type:32},_e=function(){function e(){this._value=[]}return e.prototype.write=function(e){this._value=this._value.concat(s(e))},e.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==Le;)e.push(t),t=this.consumeToken();return e},e.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case 34:return this.consumeStringToken(34);case 35:var t=this.peekCodePoint(0),n=this.peekCodePoint(1),r=this.peekCodePoint(2);if(ce(t)||de(n,r)){var o=fe(t,n,r)?2:1;return{type:5,value:this.consumeName(),flags:o}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),ye;break;case 39:return this.consumeStringToken(39);case 40:return ge;case 41:return me;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Ee;break;case oe:if(he(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case 44:return ve;case re:var i=e,A=this.peekCodePoint(0),a=this.peekCodePoint(1);if(he(i,A,a))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(fe(i,A,a))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(A===re&&62===a)return this.consumeCodePoint(),this.consumeCodePoint(),ke;break;case 46:if(he(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var s=this.consumeCodePoint();if(42===s&&47===(s=this.consumeCodePoint()))return this.consumeToken();if(s===ie)return this.consumeToken()}break;case 58:return Ie;case 59:return Oe;case 60:if(33===this.peekCodePoint(0)&&this.peekCodePoint(1)===re&&this.peekCodePoint(2)===re)return this.consumeCodePoint(),this.consumeCodePoint(),Ue;break;case 64:var c=this.peekCodePoint(0),u=this.peekCodePoint(1),d=this.peekCodePoint(2);if(fe(c,u,d))return{type:7,value:this.consumeName()};break;case 91:return Pe;case 92:if(de(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case 93:return Te;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),we;break;case 123:return xe;case 125:return Se;case 117:case 85:var f=this.peekCodePoint(0),h=this.peekCodePoint(1);return f!==oe||!ae(h)&&63!==h||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Be;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),be;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Ce;break;case ie:return Le}return se(e)?(this.consumeWhiteSpace(),He):Ae(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):le(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:l(e)}},e.prototype.consumeCodePoint=function(){var e=this._value.shift();return void 0===e?-1:e},e.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},e.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},e.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();ae(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var n=!1;63===t&&e.length<6;)e.push(t),t=this.consumeCodePoint(),n=!0;if(n)return{type:30,start:parseInt(l.apply(void 0,e.map((function(e){return 63===e?48:e}))),16),end:parseInt(l.apply(void 0,e.map((function(e){return 63===e?70:e}))),16)};var r=parseInt(l.apply(void 0,e),16);if(this.peekCodePoint(0)===re&&ae(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var o=[];ae(t)&&o.length<6;)o.push(t),t=this.consumeCodePoint();return{type:30,start:r,end:parseInt(l.apply(void 0,o),16)}}return{type:30,start:r,end:r}},e.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return"url"===e.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},e.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===ie)return{type:22,value:""};var t=this.peekCodePoint(0);if(39===t||34===t){var n=this.consumeStringToken(this.consumeCodePoint());return 0===n.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===ie||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:22,value:n.value}):(this.consumeBadUrlRemnants(),Fe)}for(;;){var r=this.consumeCodePoint();if(r===ie||41===r)return{type:22,value:l.apply(void 0,e)};if(se(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===ie||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:22,value:l.apply(void 0,e)}):(this.consumeBadUrlRemnants(),Fe);if(34===r||39===r||40===r||ue(r))return this.consumeBadUrlRemnants(),Fe;if(92===r){if(!de(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),Fe;e.push(this.consumeEscapedCodePoint())}else e.push(r)}},e.prototype.consumeWhiteSpace=function(){for(;se(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(41===e||e===ie)return;de(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(e){for(var t="";e>0;){var n=Math.min(5e4,e);t+=l.apply(void 0,this._value.splice(0,n)),e-=n}return this._value.shift(),t},e.prototype.consumeStringToken=function(e){for(var t="",n=0;;){var r=this._value[n];if(r===ie||void 0===r||r===e)return{type:0,value:t+=this.consumeStringSlice(n)};if(10===r)return this._value.splice(0,n),Qe;if(92===r){var o=this._value[n+1];o!==ie&&void 0!==o&&(10===o?(t+=this.consumeStringSlice(n),n=-1,this._value.shift()):de(r,o)&&(t+=this.consumeStringSlice(n),t+=l(this.consumeEscapedCodePoint()),n=-1))}n++}},e.prototype.consumeNumber=function(){var e=[],t=4,n=this.peekCodePoint(0);for(n!==oe&&n!==re||e.push(this.consumeCodePoint());Ae(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(46===n&&Ae(r))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;Ae(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0),r=this.peekCodePoint(1);var o=this.peekCodePoint(2);if((69===n||101===n)&&((r===oe||r===re)&&Ae(o)||Ae(r)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;Ae(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[pe(e),t]},e.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],n=e[1],r=this.peekCodePoint(0),o=this.peekCodePoint(1),i=this.peekCodePoint(2);return fe(r,o,i)?{type:15,number:t,flags:n,unit:this.consumeName()}:37===r?(this.consumeCodePoint(),{type:16,number:t,flags:n}):{type:17,number:t,flags:n}},e.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(ae(e)){for(var t=l(e);ae(this.peekCodePoint(0))&&t.length<6;)t+=l(this.consumeCodePoint());se(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(t,16);return 0===n||function(e){return e>=55296&&e<=57343}(n)||n>1114111?65533:n}return e===ie?65533:e},e.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(ce(t))e+=l(t);else{if(!de(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),e;e+=l(this.consumeEscapedCodePoint())}}},e}(),Re=function(){function e(e){this._tokens=e}return e.create=function(t){var n=new _e;return n.write(t),new e(n.read())},e.parseValue=function(t){return e.create(t).parseComponentValue()},e.parseValues=function(t){return e.create(t).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var e=this.consumeToken();31===e.type;)e=this.consumeToken();if(32===e.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do{e=this.consumeToken()}while(31===e.type);if(32===e.type)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(32===t.type)return e;e.push(t),e.push()}},e.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},e.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},n=this.consumeToken();;){if(32===n.type||We(n,e))return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue()),n=this.consumeToken()}},e.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var n=this.consumeToken();if(32===n.type||3===n.type)return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var e=this._tokens.shift();return void 0===e?Le:e},e.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},e}(),Ne=function(e){return 15===e.type},Me=function(e){return 17===e.type},De=function(e){return 20===e.type},je=function(e){return 0===e.type},Ge=function(e,t){return De(e)&&e.value===t},Ke=function(e){return 31!==e.type},Ve=function(e){return 31!==e.type&&4!==e.type},ze=function(e){var t=[],n=[];return e.forEach((function(e){if(4===e.type){if(0===n.length)throw new Error("Error parsing function args, zero tokens for arg");return t.push(n),void(n=[])}31!==e.type&&n.push(e)})),n.length&&t.push(n),t},We=function(e,t){return 11===t&&12===e.type||28===t&&29===e.type||2===t&&3===e.type},Xe=function(e){return 17===e.type||15===e.type},$e=function(e){return 16===e.type||Xe(e)},Ye=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},Je={type:17,number:0,flags:4},qe={type:16,number:50,flags:4},Ze={type:16,number:100,flags:4},et=function(e,t,n){var r=e[0],o=e[1];return[tt(r,t),tt(void 0!==o?o:r,n)]},tt=function(e,t){if(16===e.type)return e.number/100*t;if(Ne(e))switch(e.unit){case"rem":case"em":return 16*e.number;default:return e.number}return e.number},nt="grad",rt="turn",ot=function(e,t){if(15===t.type)switch(t.unit){case"deg":return Math.PI*t.number/180;case nt:return Math.PI/200*t.number;case"rad":return t.number;case rt:return 2*Math.PI*t.number}throw new Error("Unsupported angle type")},it=function(e){return 15===e.type&&("deg"===e.unit||e.unit===nt||"rad"===e.unit||e.unit===rt)},At=function(e){switch(e.filter(De).map((function(e){return e.value})).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Je,Je];case"to top":case"bottom":return at(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Je,Ze];case"to right":case"left":return at(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Ze,Ze];case"to bottom":case"top":return at(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Ze,Je];case"to left":case"right":return at(270)}return 0},at=function(e){return Math.PI*e/180},st=function(e,t){if(18===t.type){var n=mt[t.name];if(void 0===n)throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return n(e,t.values)}if(5===t.type){if(3===t.value.length){var r=t.value.substring(0,1),o=t.value.substring(1,2),i=t.value.substring(2,3);return ut(parseInt(r+r,16),parseInt(o+o,16),parseInt(i+i,16),1)}if(4===t.value.length){r=t.value.substring(0,1),o=t.value.substring(1,2),i=t.value.substring(2,3);var A=t.value.substring(3,4);return ut(parseInt(r+r,16),parseInt(o+o,16),parseInt(i+i,16),parseInt(A+A,16)/255)}if(6===t.value.length)return r=t.value.substring(0,2),o=t.value.substring(2,4),i=t.value.substring(4,6),ut(parseInt(r,16),parseInt(o,16),parseInt(i,16),1);if(8===t.value.length)return r=t.value.substring(0,2),o=t.value.substring(2,4),i=t.value.substring(4,6),A=t.value.substring(6,8),ut(parseInt(r,16),parseInt(o,16),parseInt(i,16),parseInt(A,16)/255)}if(20===t.type){var a=yt[t.value.toUpperCase()];if(void 0!==a)return a}return yt.TRANSPARENT},lt=function(e){return!(255&e)},ct=function(e){var t=255&e,n=255&e>>8,r=255&e>>16,o=255&e>>24;return t<255?"rgba("+o+","+r+","+n+","+t/255+")":"rgb("+o+","+r+","+n+")"},ut=function(e,t,n,r){return(e<<24|t<<16|n<<8|Math.round(255*r))>>>0},dt=function(e,t){if(17===e.type)return e.number;if(16===e.type){var n=3===t?1:255;return 3===t?e.number/100*n:Math.round(e.number/100*n)}return 0},ft=function(e,t){var n=t.filter(Ve);if(3===n.length){var r=n.map(dt),o=r[0],i=r[1],A=r[2];return ut(o,i,A,1)}if(4===n.length){var a=n.map(dt),s=(o=a[0],i=a[1],A=a[2],a[3]);return ut(o,i,A,s)}return 0};function ht(e,t,n){return n<0&&(n+=1),n>=1&&(n-=1),n<1/6?(t-e)*n*6+e:n<.5?t:n<2/3?6*(t-e)*(2/3-n)+e:e}var pt,gt=function(e,t){var n=t.filter(Ve),r=n[0],o=n[1],i=n[2],A=n[3],a=(17===r.type?at(r.number):ot(0,r))/(2*Math.PI),s=$e(o)?o.number/100:0,l=$e(i)?i.number/100:0,c=void 0!==A&&$e(A)?tt(A,1):1;if(0===s)return ut(255*l,255*l,255*l,1);var u=l<=.5?l*(s+1):l+s-l*s,d=2*l-u,f=ht(d,u,a+1/3),h=ht(d,u,a),p=ht(d,u,a-1/3);return ut(255*f,255*h,255*p,c)},mt={hsl:gt,hsla:gt,rgb:ft,rgba:ft},vt=function(e,t){return st(e,Re.create(t).parseComponentValue())},yt={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},wt={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map((function(e){if(De(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},bt={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Bt=function(e,t){var n=st(e,t[0]),r=t[1];return r&&$e(r)?{color:n,stop:r}:{color:n,stop:null}},Ct=function(e,t){var n=e[0],r=e[e.length-1];null===n.stop&&(n.stop=Je),null===r.stop&&(r.stop=Ze);for(var o=[],i=0,A=0;Ai?o.push(s):o.push(i),i=s}else o.push(null)}var l=null;for(A=0;Ae.optimumDistance)?{optimumCorner:t,optimumDistance:a}:e}),{optimumDistance:o?1/0:-1/0,optimumCorner:null}).optimumCorner},Et=function(e,t){var n=at(180),r=[];return ze(t).forEach((function(t,o){if(0===o){var i=t[0];if(20===i.type&&-1!==["top","left","right","bottom"].indexOf(i.value))return void(n=At(t));if(it(i))return void(n=(ot(0,i)+at(270))%at(360))}var A=Bt(e,t);r.push(A)})),{angle:n,stops:r,type:1}},Ft="closest-side",Qt="farthest-side",Ut="closest-corner",kt="farthest-corner",It="circle",Ot="ellipse",Pt="cover",Tt="contain",Ht=function(e,t){var n=0,r=3,o=[],i=[];return ze(t).forEach((function(t,A){var a=!0;if(0===A?a=t.reduce((function(e,t){if(De(t))switch(t.value){case"center":return i.push(qe),!1;case"top":case"left":return i.push(Je),!1;case"right":case"bottom":return i.push(Ze),!1}else if($e(t)||Xe(t))return i.push(t),!1;return e}),a):1===A&&(a=t.reduce((function(e,t){if(De(t))switch(t.value){case It:return n=0,!1;case Ot:return n=1,!1;case Tt:case Ft:return r=0,!1;case Qt:return r=1,!1;case Ut:return r=2,!1;case Pt:case kt:return r=3,!1}else if(Xe(t)||$e(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e}),a)),a){var s=Bt(e,t);o.push(s)}})),{size:r,shape:n,stops:o,position:i,type:2}},Lt=function(e,t){if(22===t.type){var n={url:t.value,type:0};return e.cache.addImage(t.value),n}if(18===t.type){var r=_t[t.name];if(void 0===r)throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return r(e,t.values)}throw new Error("Unsupported image type "+t.type)},_t={"linear-gradient":function(e,t){var n=at(180),r=[];return ze(t).forEach((function(t,o){if(0===o){var i=t[0];if(20===i.type&&"to"===i.value)return void(n=At(t));if(it(i))return void(n=ot(0,i))}var A=Bt(e,t);r.push(A)})),{angle:n,stops:r,type:1}},"-moz-linear-gradient":Et,"-ms-linear-gradient":Et,"-o-linear-gradient":Et,"-webkit-linear-gradient":Et,"radial-gradient":function(e,t){var n=0,r=3,o=[],i=[];return ze(t).forEach((function(t,A){var a=!0;if(0===A){var s=!1;a=t.reduce((function(e,t){if(s)if(De(t))switch(t.value){case"center":return i.push(qe),e;case"top":case"left":return i.push(Je),e;case"right":case"bottom":return i.push(Ze),e}else($e(t)||Xe(t))&&i.push(t);else if(De(t))switch(t.value){case It:return n=0,!1;case Ot:return n=1,!1;case"at":return s=!0,!1;case Ft:return r=0,!1;case Pt:case Qt:return r=1,!1;case Tt:case Ut:return r=2,!1;case kt:return r=3,!1}else if(Xe(t)||$e(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e}),a)}if(a){var l=Bt(e,t);o.push(l)}})),{size:r,shape:n,stops:o,position:i,type:2}},"-moz-radial-gradient":Ht,"-ms-radial-gradient":Ht,"-o-radial-gradient":Ht,"-webkit-radial-gradient":Ht,"-webkit-gradient":function(e,t){var n=at(180),r=[],o=1;return ze(t).forEach((function(t,n){var i=t[0];if(0===n){if(De(i)&&"linear"===i.value)return void(o=1);if(De(i)&&"radial"===i.value)return void(o=2)}if(18===i.type)if("from"===i.name){var A=st(e,i.values[0]);r.push({stop:Je,color:A})}else if("to"===i.name)A=st(e,i.values[0]),r.push({stop:Ze,color:A});else if("color-stop"===i.name){var a=i.values.filter(Ve);if(2===a.length){A=st(e,a[1]);var s=a[0];Me(s)&&r.push({stop:{type:16,number:100*s.number,flags:s.flags},color:A})}}})),1===o?{angle:(n+at(180))%at(360),stops:r,type:o}:{size:3,shape:0,stops:r,position:[],type:o}}},Rt={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&"none"===n.value?[]:t.filter((function(e){return Ve(e)&&function(e){return!(20===e.type&&"none"===e.value||18===e.type&&!_t[e.name])}(e)})).map((function(t){return Lt(e,t)}))}},Nt={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map((function(e){if(De(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},Mt={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,t){return ze(t).map((function(e){return e.filter($e)})).map(Ye)}},Dt={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,t){return ze(t).map((function(e){return e.filter(De).map((function(e){return e.value})).join(" ")})).map(jt)}},jt=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}};!function(e){e.AUTO="auto",e.CONTAIN="contain",e.COVER="cover"}(pt||(pt={}));var Gt,Kt={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,t){return ze(t).map((function(e){return e.filter(Vt)}))}},Vt=function(e){return De(e)||$e(e)},zt=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Wt=zt("top"),Xt=zt("right"),$t=zt("bottom"),Yt=zt("left"),Jt=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return Ye(t.filter($e))}}},qt=Jt("top-left"),Zt=Jt("top-right"),en=Jt("bottom-right"),tn=Jt("bottom-left"),nn=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},rn=nn("top"),on=nn("right"),An=nn("bottom"),an=nn("left"),sn=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Ne(t)?t.number:0}}},ln=sn("top"),cn=sn("right"),un=sn("bottom"),dn=sn("left"),fn={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},hn={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,t){return"rtl"===t?1:0}},pn={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,t){return t.filter(De).reduce((function(e,t){return e|gn(t.value)}),0)}},gn=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},mn={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},vn={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,t){return 20===t.type&&"normal"===t.value?0:17===t.type||15===t.type?t.number:0}};!function(e){e.NORMAL="normal",e.STRICT="strict"}(Gt||(Gt={}));var yn,wn={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){return"strict"===t?Gt.STRICT:Gt.NORMAL}},bn={name:"line-height",initialValue:"normal",prefix:!1,type:4},Bn=function(e,t){return De(e)&&"normal"===e.value?1.2*t:17===e.type?t*e.number:$e(e)?tt(e,t):t},Cn={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,t){return 20===t.type&&"none"===t.value?null:Lt(e,t)}},xn={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,t){return"inside"===t?0:1}},Sn={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},En=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},Fn=En("top"),Qn=En("right"),Un=En("bottom"),kn=En("left"),In={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,t){return t.filter(De).map((function(e){switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}}))}},On={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){return"break-word"===t?"break-word":"normal"}},Pn=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Tn=Pn("top"),Hn=Pn("right"),Ln=Pn("bottom"),_n=Pn("left"),Rn={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,t){switch(t){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},Nn={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,t){switch(t){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Mn={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return 1===t.length&&Ge(t[0],"none")?[]:ze(t).map((function(t){for(var n={color:yt.TRANSPARENT,offsetX:Je,offsetY:Je,blur:Je},r=0,o=0;o1?1:0],this.overflowWrap=yr(e,On,t.overflowWrap),this.paddingTop=yr(e,Tn,t.paddingTop),this.paddingRight=yr(e,Hn,t.paddingRight),this.paddingBottom=yr(e,Ln,t.paddingBottom),this.paddingLeft=yr(e,_n,t.paddingLeft),this.paintOrder=yr(e,fr,t.paintOrder),this.position=yr(e,Nn,t.position),this.textAlign=yr(e,Rn,t.textAlign),this.textDecorationColor=yr(e,qn,null!==(n=t.textDecorationColor)&&void 0!==n?n:t.color),this.textDecorationLine=yr(e,Zn,null!==(r=t.textDecorationLine)&&void 0!==r?r:t.textDecoration),this.textShadow=yr(e,Mn,t.textShadow),this.textTransform=yr(e,Dn,t.textTransform),this.transform=yr(e,jn,t.transform),this.transformOrigin=yr(e,zn,t.transformOrigin),this.visibility=yr(e,Wn,t.visibility),this.webkitTextStrokeColor=yr(e,hr,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=yr(e,pr,t.webkitTextStrokeWidth),this.wordBreak=yr(e,Xn,t.wordBreak),this.zIndex=yr(e,$n,t.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},e.prototype.isTransparent=function(){return lt(this.backgroundColor)},e.prototype.isTransformed=function(){return null!==this.transform},e.prototype.isPositioned=function(){return 0!==this.position},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return 0!==this.float},e.prototype.isInlineLevel=function(){return ir(this.display,4)||ir(this.display,33554432)||ir(this.display,268435456)||ir(this.display,536870912)||ir(this.display,67108864)||ir(this.display,134217728)},e}(),mr=function(e,t){this.content=yr(e,Ar,t.content),this.quotes=yr(e,cr,t.quotes)},vr=function(e,t){this.counterIncrement=yr(e,ar,t.counterIncrement),this.counterReset=yr(e,sr,t.counterReset)},yr=function(e,t,n){var r=new _e,o=null!=n?n.toString():t.initialValue;r.write(o);var i=new Re(r.read());switch(t.type){case 2:var A=i.parseComponentValue();return t.parse(e,De(A)?A.value:t.initialValue);case 0:return t.parse(e,i.parseComponentValue());case 1:return t.parse(e,i.parseComponentValues());case 4:return i.parseComponentValue();case 3:switch(t.format){case"angle":return ot(0,i.parseComponentValue());case"color":return st(e,i.parseComponentValue());case"image":return Lt(e,i.parseComponentValue());case"length":var a=i.parseComponentValue();return Xe(a)?a:Je;case"length-percentage":var s=i.parseComponentValue();return $e(s)?s:Je;case"time":return Yn.parse(e,i.parseComponentValue())}}},wr=function(e,t){var n=function(e){switch(e.getAttribute("data-html2canvas-debug")){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}}(e);return 1===n||t===n},br=function(e,t){this.context=e,this.textNodes=[],this.elements=[],this.flags=0,wr(t,3),this.styles=new gr(e,window.getComputedStyle(t,null)),Bo(t)&&(this.styles.animationDuration.some((function(e){return e>0}))&&(t.style.animationDuration="0s"),null!==this.styles.transform&&(t.style.transform="none")),this.bounds=a(this.context,t),wr(t,4)&&(this.flags|=16)},Br="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Cr=0;Cr<64;Cr++)Br["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(Cr)]=Cr;for(var xr=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},Sr=function(){function e(e,t,n,r,o,i){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=r,this.index=o,this.data=i}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>5])<<2)+(31&e),this.data[t];if(e<=65535)return t=((t=this.index[2048+(e-55296>>5)])<<2)+(31&e),this.data[t];if(e>11),t=this.index[t],t+=e>>5&63,t=((t=this.index[t])<<2)+(31&e),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),Er="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Fr=0;Fr<64;Fr++)Er["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(Fr)]=Fr;var Qr,Ur=8,kr=9,Ir=11,Or=12,Pr=function(){for(var e=[],t=0;t>10),A%1024+56320)),(o+1===n||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},Tr=function(){var e=function(e){var t,n,r,o,i,A=.75*e.length,a=e.length,s=0;"="===e[e.length-1]&&(A--,"="===e[e.length-2]&&A--);var l="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(A):new Array(A),c=Array.isArray(l)?l:new Uint8Array(l);for(t=0;t>4,c[s++]=(15&r)<<4|o>>2,c[s++]=(3&o)<<6|63&i;return l}("AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA="),t=Array.isArray(e)?function(e){for(var t=e.length,n=[],r=0;r=55296&&o<=56319&&n=n)return{done:!0,value:null};for(var e=Hr;rA.x||o.y>A.y;return A=o,0===t||a}));return e.body.removeChild(t),a}(document);return Object.defineProperty(jr,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=function(e){var t=new Image,n=e.createElement("canvas"),r=n.getContext("2d");if(!r)return!1;t.src="data:image/svg+xml,";try{r.drawImage(t,0,0),n.toDataURL()}catch(e){return!1}return!0}(document);return Object.defineProperty(jr,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e="function"==typeof Array.from&&"function"==typeof window.fetch?function(e){var t=e.createElement("canvas"),n=100;t.width=n,t.height=n;var r=t.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,n,n);var o=new Image,i=t.toDataURL();o.src=i;var A=Mr(n,n,0,0,o);return r.fillStyle="red",r.fillRect(0,0,n,n),Dr(A).then((function(t){r.drawImage(t,0,0);var o=r.getImageData(0,0,n,n).data;r.fillStyle="red",r.fillRect(0,0,n,n);var A=e.createElement("div");return A.style.backgroundImage="url("+i+")",A.style.height=n+"px",Nr(o)?Dr(Mr(n,n,0,0,A)):Promise.reject(!1)})).then((function(e){return r.drawImage(e,0,0),Nr(r.getImageData(0,0,n,n).data)})).catch((function(){return!1}))}(document):Promise.resolve(!1);return Object.defineProperty(jr,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=void 0!==(new Image).crossOrigin;return Object.defineProperty(jr,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e="string"==typeof(new XMLHttpRequest).responseType;return Object.defineProperty(jr,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(jr,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!("undefined"==typeof Intl||!Intl.Segmenter);return Object.defineProperty(jr,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},Gr=function(e,t){this.text=e,this.bounds=t},Kr=function(e,t){var n=t.ownerDocument;if(n){var r=n.createElement("html2canvaswrapper");r.appendChild(t.cloneNode(!0));var o=t.parentNode;if(o){o.replaceChild(r,t);var i=a(e,r);return r.firstChild&&o.replaceChild(r.firstChild,r),i}}return A.EMPTY},Vr=function(e,t,n){var r=e.ownerDocument;if(!r)throw new Error("Node has no owner document");var o=r.createRange();return o.setStart(e,t),o.setEnd(e,t+n),o},zr=function(e){if(jr.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(t.segment(e)).map((function(e){return e.segment}))}return function(e){for(var t,n=Rr(e),r=[];!(t=n.next()).done;)t.value&&r.push(t.value.slice());return r}(e)},Wr=[32,160,4961,65792,65793,4153,4241],Xr=function(e,t){for(var n,r=function(e,t){var n=s(e),r=function(e,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var n=function(e,t){void 0===t&&(t="strict");var n=[],r=[],o=[];return e.forEach((function(e,i){var A=V.get(e);if(A>50?(o.push(!0),A-=50):o.push(!1),-1!==["normal","auto","loose"].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(e))return r.push(i),n.push(16);if(4===A||11===A){if(0===i)return r.push(i),n.push(O);var a=n[i-1];return-1===Y.indexOf(a)?(r.push(r[i-1]),n.push(a)):(r.push(i),n.push(O))}return r.push(i),31===A?n.push("strict"===t?S:_):A===D||29===A?n.push(O):43===A?e>=131072&&e<=196605||e>=196608&&e<=262141?n.push(_):n.push(O):void n.push(A)})),[r,n,o]}(e,t.lineBreak),r=n[0],o=n[1],i=n[2];"break-all"!==t.wordBreak&&"break-word"!==t.wordBreak||(o=o.map((function(e){return-1!==[Q,O,D].indexOf(e)?_:e})));var A="keep-all"===t.wordBreak?i.map((function(t,n){return t&&e[n]>=19968&&e[n]<=40959})):void 0;return[r,o,A]}(n,t),o=r[0],i=r[1],A=r[2],a=n.length,l=0,c=0;return{next:function(){if(c>=a)return{done:!0,value:null};for(var e=G;c0)if(jr.SUPPORT_RANGE_BOUNDS){var o=Vr(r,a,t.length).getClientRects();if(o.length>1){var s=zr(t),l=0;s.forEach((function(t){i.push(new Gr(t,A.fromDOMRectList(e,Vr(r,l+a,t.length).getClientRects()))),l+=t.length}))}else i.push(new Gr(t,A.fromDOMRectList(e,o)))}else{var c=r.splitText(t.length);i.push(new Gr(t,Kr(e,r))),r=c}else jr.SUPPORT_RANGE_BOUNDS||(r=r.splitText(t.length));a+=t.length})),i}(e,this.text,n,t)},Yr=function(e,t){switch(t){case 1:return e.toLowerCase();case 3:return e.replace(Jr,qr);case 2:return e.toUpperCase();default:return e}},Jr=/(^|\s|:|-|\(|\))([a-z])/g,qr=function(e,t,n){return e.length>0?t+n.toUpperCase():e},Zr=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.src=n.currentSrc||n.src,r.intrinsicWidth=n.naturalWidth,r.intrinsicHeight=n.naturalHeight,r.context.cache.addImage(r.src),r}return t(n,e),n}(br),eo=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.canvas=n,r.intrinsicWidth=n.width,r.intrinsicHeight=n.height,r}return t(n,e),n}(br),to=function(e){function n(t,n){var r=e.call(this,t,n)||this,o=new XMLSerializer,i=a(t,n);return n.setAttribute("width",i.width+"px"),n.setAttribute("height",i.height+"px"),r.svg="data:image/svg+xml,"+encodeURIComponent(o.serializeToString(n)),r.intrinsicWidth=n.width.baseVal.value,r.intrinsicHeight=n.height.baseVal.value,r.context.cache.addImage(r.svg),r}return t(n,e),n}(br),no=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.value=n.value,r}return t(n,e),n}(br),ro=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.start=n.start,r.reversed="boolean"==typeof n.reversed&&!0===n.reversed,r}return t(n,e),n}(br),oo=[{type:15,flags:0,unit:"px",number:3}],io=[{type:16,flags:0,number:50}],Ao="checkbox",ao="radio",so=707406591,lo=function(e){function n(t,n){var r=e.call(this,t,n)||this;switch(r.type=n.type.toLowerCase(),r.checked=n.checked,r.value=function(e){var t="password"===e.type?new Array(e.value.length+1).join("•"):e.value;return 0===t.length?e.placeholder||"":t}(n),r.type!==Ao&&r.type!==ao||(r.styles.backgroundColor=3739148031,r.styles.borderTopColor=r.styles.borderRightColor=r.styles.borderBottomColor=r.styles.borderLeftColor=2779096575,r.styles.borderTopWidth=r.styles.borderRightWidth=r.styles.borderBottomWidth=r.styles.borderLeftWidth=1,r.styles.borderTopStyle=r.styles.borderRightStyle=r.styles.borderBottomStyle=r.styles.borderLeftStyle=1,r.styles.backgroundClip=[0],r.styles.backgroundOrigin=[0],r.bounds=function(e){return e.width>e.height?new A(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width0)n.textNodes.push(new $r(e,o,n.styles));else if(bo(o))if(Lo(o)&&o.assignedNodes)o.assignedNodes().forEach((function(t){return po(e,t,n,r)}));else{var A=go(e,o);A.styles.isVisible()&&(vo(o,A,r)?A.flags|=4:yo(A.styles)&&(A.flags|=2),-1!==ho.indexOf(o.tagName)&&(A.flags|=8),n.elements.push(A),o.slot,o.shadowRoot?po(e,o.shadowRoot,A,r):To(o)||Fo(o)||Ho(o)||po(e,o,A,r))}},go=function(e,t){return Io(t)?new Zr(e,t):Uo(t)?new eo(e,t):Fo(t)?new to(e,t):xo(t)?new no(e,t):So(t)?new ro(e,t):Eo(t)?new lo(e,t):Ho(t)?new co(e,t):To(t)?new uo(e,t):Oo(t)?new fo(e,t):new br(e,t)},mo=function(e,t){var n=go(e,t);return n.flags|=4,po(e,t,n,n),n},vo=function(e,t,n){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||Qo(e)&&n.styles.isTransparent()},yo=function(e){return e.isPositioned()||e.isFloating()},wo=function(e){return e.nodeType===Node.TEXT_NODE},bo=function(e){return e.nodeType===Node.ELEMENT_NODE},Bo=function(e){return bo(e)&&void 0!==e.style&&!Co(e)},Co=function(e){return"object"==typeof e.className},xo=function(e){return"LI"===e.tagName},So=function(e){return"OL"===e.tagName},Eo=function(e){return"INPUT"===e.tagName},Fo=function(e){return"svg"===e.tagName},Qo=function(e){return"BODY"===e.tagName},Uo=function(e){return"CANVAS"===e.tagName},ko=function(e){return"VIDEO"===e.tagName},Io=function(e){return"IMG"===e.tagName},Oo=function(e){return"IFRAME"===e.tagName},Po=function(e){return"STYLE"===e.tagName},To=function(e){return"TEXTAREA"===e.tagName},Ho=function(e){return"SELECT"===e.tagName},Lo=function(e){return"SLOT"===e.tagName},_o=function(e){return e.tagName.indexOf("-")>0},Ro=function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},e.prototype.getCounterValues=function(e){return this.counters[e]||[]},e.prototype.pop=function(e){var t=this;e.forEach((function(e){return t.counters[e].pop()}))},e.prototype.parse=function(e){var t=this,n=e.counterIncrement,r=e.counterReset,o=!0;null!==n&&n.forEach((function(e){var n=t.counters[e.counter];n&&0!==e.increment&&(o=!1,n.length||n.push(1),n[Math.max(0,n.length-1)]+=e.increment)}));var i=[];return o&&r.forEach((function(e){var n=t.counters[e.counter];i.push(e.counter),n||(n=t.counters[e.counter]=[]),n.push(e.reset)})),i},e}(),No={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Mo={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Do={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},jo={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Go=function(e,t,n,r,o,i){return en?qo(e,o,i.length>0):r.integers.reduce((function(t,n,o){for(;e>=n;)e-=n,t+=r.values[o];return t}),"")+i},Ko=function(e,t,n,r){var o="";do{n||e--,o=r(e)+o,e/=t}while(e*t>=t);return o},Vo=function(e,t,n,r,o){var i=n-t+1;return(e<0?"-":"")+(Ko(Math.abs(e),i,r,(function(e){return l(Math.floor(e%i)+t)}))+o)},zo=function(e,t,n){void 0===n&&(n=". ");var r=t.length;return Ko(Math.abs(e),r,!1,(function(e){return t[Math.floor(e%r)]}))+n},Wo=function(e,t,n,r,o,i){if(e<-9999||e>9999)return qo(e,4,o.length>0);var A=Math.abs(e),a=o;if(0===A)return t[0]+a;for(var s=0;A>0&&s<=4;s++){var l=A%10;0===l&&ir(i,1)&&""!==a?a=t[l]+a:l>1||1===l&&0===s||1===l&&1===s&&ir(i,2)||1===l&&1===s&&ir(i,4)&&e>100||1===l&&s>1&&ir(i,8)?a=t[l]+(s>0?n[s-1]:"")+a:1===l&&s>0&&(a=n[s-1]+a),A=Math.floor(A/10)}return(e<0?r:"")+a},Xo="十百千萬",$o="拾佰仟萬",Yo="マイナス",Jo="마이너스",qo=function(e,t,n){var r=n?". ":"",o=n?"、":"",i=n?", ":"",A=n?" ":"";switch(t){case 0:return"•"+A;case 1:return"◦"+A;case 2:return"◾"+A;case 5:var a=Vo(e,48,57,!0,r);return a.length<4?"0"+a:a;case 4:return zo(e,"〇一二三四五六七八九",o);case 6:return Go(e,1,3999,No,3,r).toLowerCase();case 7:return Go(e,1,3999,No,3,r);case 8:return Vo(e,945,969,!1,r);case 9:return Vo(e,97,122,!1,r);case 10:return Vo(e,65,90,!1,r);case 11:return Vo(e,1632,1641,!0,r);case 12:case 49:return Go(e,1,9999,Mo,3,r);case 35:return Go(e,1,9999,Mo,3,r).toLowerCase();case 13:return Vo(e,2534,2543,!0,r);case 14:case 30:return Vo(e,6112,6121,!0,r);case 15:return zo(e,"子丑寅卯辰巳午未申酉戌亥",o);case 16:return zo(e,"甲乙丙丁戊己庚辛壬癸",o);case 17:case 48:return Wo(e,"零一二三四五六七八九",Xo,"負",o,14);case 47:return Wo(e,"零壹貳參肆伍陸柒捌玖",$o,"負",o,15);case 42:return Wo(e,"零一二三四五六七八九",Xo,"负",o,14);case 41:return Wo(e,"零壹贰叁肆伍陆柒捌玖",$o,"负",o,15);case 26:return Wo(e,"〇一二三四五六七八九","十百千万",Yo,o,0);case 25:return Wo(e,"零壱弐参四伍六七八九","拾百千万",Yo,o,7);case 31:return Wo(e,"영일이삼사오육칠팔구","십백천만",Jo,i,7);case 33:return Wo(e,"零一二三四五六七八九","十百千萬",Jo,i,0);case 32:return Wo(e,"零壹貳參四五六七八九","拾百千",Jo,i,7);case 18:return Vo(e,2406,2415,!0,r);case 20:return Go(e,1,19999,jo,3,r);case 21:return Vo(e,2790,2799,!0,r);case 22:return Vo(e,2662,2671,!0,r);case 22:return Go(e,1,10999,Do,3,r);case 23:return zo(e,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return zo(e,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return Vo(e,3302,3311,!0,r);case 28:return zo(e,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",o);case 29:return zo(e,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",o);case 34:return Vo(e,3792,3801,!0,r);case 37:return Vo(e,6160,6169,!0,r);case 38:return Vo(e,4160,4169,!0,r);case 39:return Vo(e,2918,2927,!0,r);case 40:return Vo(e,1776,1785,!0,r);case 43:return Vo(e,3046,3055,!0,r);case 44:return Vo(e,3174,3183,!0,r);case 45:return Vo(e,3664,3673,!0,r);case 46:return Vo(e,3872,3881,!0,r);default:return Vo(e,48,57,!0,r)}},Zo="data-html2canvas-ignore",ei=function(){function e(e,t,n){if(this.context=e,this.options=n,this.scrolledElements=[],this.referenceElement=t,this.counters=new Ro,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(e,t){var n=this,i=ni(e,t);if(!i.contentWindow)return Promise.reject("Unable to find iframe window");var A=e.defaultView.pageXOffset,a=e.defaultView.pageYOffset,s=i.contentWindow,l=s.document,c=ii(i).then((function(){return r(n,void 0,void 0,(function(){var e,n;return o(this,(function(r){switch(r.label){case 0:return this.scrolledElements.forEach(ci),s&&(s.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||s.scrollY===t.top&&s.scrollX===t.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(s.scrollX-t.left,s.scrollY-t.top,0,0))),e=this.options.onclone,void 0===(n=this.clonedReferenceElement)?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:l.fonts&&l.fonts.ready?[4,l.fonts.ready]:[3,2];case 1:r.sent(),r.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,oi(l)]:[3,4];case 3:r.sent(),r.label=4;case 4:return"function"==typeof e?[2,Promise.resolve().then((function(){return e(l,n)})).then((function(){return i}))]:[2,i]}}))}))}));return l.open(),l.write(si(document.doctype)+""),li(this.referenceElement.ownerDocument,A,a),l.replaceChild(l.adoptNode(this.documentElement),l.documentElement),l.close(),c},e.prototype.createElementClone=function(e){if(wr(e,2),Uo(e))return this.createCanvasClone(e);if(ko(e))return this.createVideoClone(e);if(Po(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return Io(t)&&(Io(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),"lazy"===t.loading&&(t.loading="eager")),_o(t)?this.createCustomElementClone(t):t},e.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return ai(e.style,t),t},e.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var n=[].slice.call(t.cssRules,0).reduce((function(e,t){return t&&"string"==typeof t.cssText?e+t.cssText:e}),""),r=e.cloneNode(!1);return r.textContent=n,r}}catch(e){if(this.context.logger.error("Unable to access cssRules property",e),"SecurityError"!==e.name)throw e}return e.cloneNode(!1)},e.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var n=e.ownerDocument.createElement("img");try{return n.src=e.toDataURL(),n}catch(t){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var r=e.cloneNode(!1);try{r.width=e.width,r.height=e.height;var o=e.getContext("2d"),i=r.getContext("2d");if(i)if(!this.options.allowTaint&&o)i.putImageData(o.getImageData(0,0,e.width,e.height),0,0);else{var A=null!==(t=e.getContext("webgl2"))&&void 0!==t?t:e.getContext("webgl");if(A){var a=A.getContextAttributes();!1===(null==a?void 0:a.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}i.drawImage(e,0,0)}return r}catch(t){this.context.logger.info("Unable to clone canvas as it is tainted",e)}return r},e.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var n=t.getContext("2d");try{return n&&(n.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||n.getImageData(0,0,t.width,t.height)),t}catch(t){this.context.logger.info("Unable to clone video as it is tainted",e)}var r=e.ownerDocument.createElement("canvas");return r.width=e.offsetWidth,r.height=e.offsetHeight,r},e.prototype.appendChildNode=function(e,t,n){bo(t)&&(function(e){return"SCRIPT"===e.tagName}(t)||t.hasAttribute(Zo)||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(t))||this.options.copyStyles&&bo(t)&&Po(t)||e.appendChild(this.cloneNode(t,n))},e.prototype.cloneChildNodes=function(e,t,n){for(var r=this,o=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;o;o=o.nextSibling)if(bo(o)&&Lo(o)&&"function"==typeof o.assignedNodes){var i=o.assignedNodes();i.length&&i.forEach((function(e){return r.appendChildNode(t,e,n)}))}else this.appendChildNode(t,o,n)},e.prototype.cloneNode=function(e,t){if(wo(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var n=e.ownerDocument.defaultView;if(n&&bo(e)&&(Bo(e)||Co(e))){var r=this.createElementClone(e);r.style.transitionProperty="none";var o=n.getComputedStyle(e),i=n.getComputedStyle(e,":before"),A=n.getComputedStyle(e,":after");this.referenceElement===e&&Bo(r)&&(this.clonedReferenceElement=r),Qo(r)&&hi(r);var a=this.counters.parse(new vr(this.context,o)),s=this.resolvePseudoContent(e,r,i,Qr.BEFORE);_o(e)&&(t=!0),ko(e)||this.cloneChildNodes(e,r,t),s&&r.insertBefore(s,r.firstChild);var l=this.resolvePseudoContent(e,r,A,Qr.AFTER);return l&&r.appendChild(l),this.counters.pop(a),(o&&(this.options.copyStyles||Co(e))&&!Oo(e)||t)&&ai(o,r),0===e.scrollTop&&0===e.scrollLeft||this.scrolledElements.push([r,e.scrollLeft,e.scrollTop]),(To(e)||Ho(e))&&(To(r)||Ho(r))&&(r.value=e.value),r}return e.cloneNode(!1)},e.prototype.resolvePseudoContent=function(e,t,n,r){var o=this;if(n){var i=n.content,A=t.ownerDocument;if(A&&i&&"none"!==i&&"-moz-alt-content"!==i&&"none"!==n.display){this.counters.parse(new vr(this.context,n));var a=new mr(this.context,n),s=A.createElement("html2canvaspseudoelement");ai(n,s),a.content.forEach((function(t){if(0===t.type)s.appendChild(A.createTextNode(t.value));else if(22===t.type){var n=A.createElement("img");n.src=t.value,n.style.opacity="1",s.appendChild(n)}else if(18===t.type){if("attr"===t.name){var r=t.values.filter(De);r.length&&s.appendChild(A.createTextNode(e.getAttribute(r[0].value)||""))}else if("counter"===t.name){var i=t.values.filter(Ve),l=i[0],c=i[1];if(l&&De(l)){var u=o.counters.getCounterValue(l.value),d=c&&De(c)?Sn.parse(o.context,c.value):3;s.appendChild(A.createTextNode(qo(u,d,!1)))}}else if("counters"===t.name){var f=t.values.filter(Ve),h=(l=f[0],f[1]);if(c=f[2],l&&De(l)){var p=o.counters.getCounterValues(l.value),g=c&&De(c)?Sn.parse(o.context,c.value):3,m=h&&0===h.type?h.value:"",v=p.map((function(e){return qo(e,g,!1)})).join(m);s.appendChild(A.createTextNode(v))}}}else if(20===t.type)switch(t.value){case"open-quote":s.appendChild(A.createTextNode(ur(a.quotes,o.quoteDepth++,!0)));break;case"close-quote":s.appendChild(A.createTextNode(ur(a.quotes,--o.quoteDepth,!1)));break;default:s.appendChild(A.createTextNode(t.value))}})),s.className=ui+" "+di;var l=r===Qr.BEFORE?" "+ui:" "+di;return Co(t)?t.className.baseValue+=l:t.className+=l,s}}},e.destroy=function(e){return!!e.parentNode&&(e.parentNode.removeChild(e),!0)},e}();!function(e){e[e.BEFORE=0]="BEFORE",e[e.AFTER=1]="AFTER"}(Qr||(Qr={}));var ti,ni=function(e,t){var n=e.createElement("iframe");return n.className="html2canvas-container",n.style.visibility="hidden",n.style.position="fixed",n.style.left="-10000px",n.style.top="0px",n.style.border="0",n.width=t.width.toString(),n.height=t.height.toString(),n.scrolling="no",n.setAttribute(Zo,"true"),e.body.appendChild(n),n},ri=function(e){return new Promise((function(t){e.complete?t():e.src?(e.onload=t,e.onerror=t):t()}))},oi=function(e){return Promise.all([].slice.call(e.images,0).map(ri))},ii=function(e){return new Promise((function(t,n){var r=e.contentWindow;if(!r)return n("No window assigned for iframe");var o=r.document;r.onload=e.onload=function(){r.onload=e.onload=null;var n=setInterval((function(){o.body.childNodes.length>0&&"complete"===o.readyState&&(clearInterval(n),t(e))}),50)}}))},Ai=["all","d","content"],ai=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e.item(n);-1===Ai.indexOf(r)&&t.style.setProperty(r,e.getPropertyValue(r))}return t},si=function(e){var t="";return e&&(t+=""),t},li=function(e,t,n){e&&e.defaultView&&(t!==e.defaultView.pageXOffset||n!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,n)},ci=function(e){var t=e[0],n=e[1],r=e[2];t.scrollLeft=n,t.scrollTop=r},ui="___html2canvas___pseudoelement_before",di="___html2canvas___pseudoelement_after",fi='{\n content: "" !important;\n display: none !important;\n}',hi=function(e){pi(e,"."+ui+":before"+fi+"\n ."+di+":after"+fi)},pi=function(e,t){var n=e.ownerDocument;if(n){var r=n.createElement("style");r.textContent=t,e.appendChild(r)}},gi=function(){function e(){}return e.getOrigin=function(t){var n=e._link;return n?(n.href=t,n.href=n.href,n.protocol+n.hostname+n.port):"about:blank"},e.isSameOrigin=function(t){return e.getOrigin(t)===e._origin},e.setContext=function(t){e._link=t.document.createElement("a"),e._origin=e.getOrigin(t.location.href)},e._origin="about:blank",e}(),mi=function(){function e(e,t){this.context=e,this._options=t,this._cache={}}return e.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)?t:xi(e)||bi(e)?((this._cache[e]=this.loadImage(e)).catch((function(){})),t):t},e.prototype.match=function(e){return this._cache[e]},e.prototype.loadImage=function(e){return r(this,void 0,void 0,(function(){var t,n,r,i,A=this;return o(this,(function(o){switch(o.label){case 0:return t=gi.isSameOrigin(e),n=!Bi(e)&&!0===this._options.useCORS&&jr.SUPPORT_CORS_IMAGES&&!t,r=!Bi(e)&&!t&&!xi(e)&&"string"==typeof this._options.proxy&&jr.SUPPORT_CORS_XHR&&!n,t||!1!==this._options.allowTaint||Bi(e)||xi(e)||r||n?(i=e,r?[4,this.proxy(i)]:[3,2]):[2];case 1:i=o.sent(),o.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise((function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,(Ci(i)||n)&&(r.crossOrigin="anonymous"),r.src=i,!0===r.complete&&setTimeout((function(){return e(r)}),500),A._options.imageTimeout>0&&setTimeout((function(){return t("Timed out ("+A._options.imageTimeout+"ms) loading image")}),A._options.imageTimeout)}))];case 3:return[2,o.sent()]}}))}))},e.prototype.has=function(e){return void 0!==this._cache[e]},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(e){var t=this,n=this._options.proxy;if(!n)throw new Error("No proxy defined");var r=e.substring(0,256);return new Promise((function(o,i){var A=jr.SUPPORT_RESPONSE_TYPE?"blob":"text",a=new XMLHttpRequest;a.onload=function(){if(200===a.status)if("text"===A)o(a.response);else{var e=new FileReader;e.addEventListener("load",(function(){return o(e.result)}),!1),e.addEventListener("error",(function(e){return i(e)}),!1),e.readAsDataURL(a.response)}else i("Failed to proxy resource "+r+" with status code "+a.status)},a.onerror=i;var s=n.indexOf("?")>-1?"&":"?";if(a.open("GET",""+n+s+"url="+encodeURIComponent(e)+"&responseType="+A),"text"!==A&&a instanceof XMLHttpRequest&&(a.responseType=A),t._options.imageTimeout){var l=t._options.imageTimeout;a.timeout=l,a.ontimeout=function(){return i("Timed out ("+l+"ms) proxying "+r)}}a.send()}))},e}(),vi=/^data:image\/svg\+xml/i,yi=/^data:image\/.*;base64,/i,wi=/^data:image\/.*/i,bi=function(e){return jr.SUPPORT_SVG_DRAWING||!Si(e)},Bi=function(e){return wi.test(e)},Ci=function(e){return yi.test(e)},xi=function(e){return"blob"===e.substr(0,4)},Si=function(e){return"svg"===e.substr(-3).toLowerCase()||vi.test(e)},Ei=function(){function e(e,t){this.type=0,this.x=e,this.y=t}return e.prototype.add=function(t,n){return new e(this.x+t,this.y+n)},e}(),Fi=function(e,t,n){return new Ei(e.x+(t.x-e.x)*n,e.y+(t.y-e.y)*n)},Qi=function(){function e(e,t,n,r){this.type=1,this.start=e,this.startControl=t,this.endControl=n,this.end=r}return e.prototype.subdivide=function(t,n){var r=Fi(this.start,this.startControl,t),o=Fi(this.startControl,this.endControl,t),i=Fi(this.endControl,this.end,t),A=Fi(r,o,t),a=Fi(o,i,t),s=Fi(A,a,t);return n?new e(this.start,r,A,s):new e(s,a,i,this.end)},e.prototype.add=function(t,n){return new e(this.start.add(t,n),this.startControl.add(t,n),this.endControl.add(t,n),this.end.add(t,n))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),Ui=function(e){return 1===e.type},ki=function(e){var t=e.styles,n=e.bounds,r=et(t.borderTopLeftRadius,n.width,n.height),o=r[0],i=r[1],A=et(t.borderTopRightRadius,n.width,n.height),a=A[0],s=A[1],l=et(t.borderBottomRightRadius,n.width,n.height),c=l[0],u=l[1],d=et(t.borderBottomLeftRadius,n.width,n.height),f=d[0],h=d[1],p=[];p.push((o+a)/n.width),p.push((f+c)/n.width),p.push((i+h)/n.height),p.push((s+u)/n.height);var g=Math.max.apply(Math,p);g>1&&(o/=g,i/=g,a/=g,s/=g,c/=g,u/=g,f/=g,h/=g);var m=n.width-a,v=n.height-u,y=n.width-c,w=n.height-h,b=t.borderTopWidth,B=t.borderRightWidth,C=t.borderBottomWidth,x=t.borderLeftWidth,S=tt(t.paddingTop,e.bounds.width),E=tt(t.paddingRight,e.bounds.width),F=tt(t.paddingBottom,e.bounds.width),Q=tt(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=o>0||i>0?Ii(n.left+x/3,n.top+b/3,o-x/3,i-b/3,ti.TOP_LEFT):new Ei(n.left+x/3,n.top+b/3),this.topRightBorderDoubleOuterBox=o>0||i>0?Ii(n.left+m,n.top+b/3,a-B/3,s-b/3,ti.TOP_RIGHT):new Ei(n.left+n.width-B/3,n.top+b/3),this.bottomRightBorderDoubleOuterBox=c>0||u>0?Ii(n.left+y,n.top+v,c-B/3,u-C/3,ti.BOTTOM_RIGHT):new Ei(n.left+n.width-B/3,n.top+n.height-C/3),this.bottomLeftBorderDoubleOuterBox=f>0||h>0?Ii(n.left+x/3,n.top+w,f-x/3,h-C/3,ti.BOTTOM_LEFT):new Ei(n.left+x/3,n.top+n.height-C/3),this.topLeftBorderDoubleInnerBox=o>0||i>0?Ii(n.left+2*x/3,n.top+2*b/3,o-2*x/3,i-2*b/3,ti.TOP_LEFT):new Ei(n.left+2*x/3,n.top+2*b/3),this.topRightBorderDoubleInnerBox=o>0||i>0?Ii(n.left+m,n.top+2*b/3,a-2*B/3,s-2*b/3,ti.TOP_RIGHT):new Ei(n.left+n.width-2*B/3,n.top+2*b/3),this.bottomRightBorderDoubleInnerBox=c>0||u>0?Ii(n.left+y,n.top+v,c-2*B/3,u-2*C/3,ti.BOTTOM_RIGHT):new Ei(n.left+n.width-2*B/3,n.top+n.height-2*C/3),this.bottomLeftBorderDoubleInnerBox=f>0||h>0?Ii(n.left+2*x/3,n.top+w,f-2*x/3,h-2*C/3,ti.BOTTOM_LEFT):new Ei(n.left+2*x/3,n.top+n.height-2*C/3),this.topLeftBorderStroke=o>0||i>0?Ii(n.left+x/2,n.top+b/2,o-x/2,i-b/2,ti.TOP_LEFT):new Ei(n.left+x/2,n.top+b/2),this.topRightBorderStroke=o>0||i>0?Ii(n.left+m,n.top+b/2,a-B/2,s-b/2,ti.TOP_RIGHT):new Ei(n.left+n.width-B/2,n.top+b/2),this.bottomRightBorderStroke=c>0||u>0?Ii(n.left+y,n.top+v,c-B/2,u-C/2,ti.BOTTOM_RIGHT):new Ei(n.left+n.width-B/2,n.top+n.height-C/2),this.bottomLeftBorderStroke=f>0||h>0?Ii(n.left+x/2,n.top+w,f-x/2,h-C/2,ti.BOTTOM_LEFT):new Ei(n.left+x/2,n.top+n.height-C/2),this.topLeftBorderBox=o>0||i>0?Ii(n.left,n.top,o,i,ti.TOP_LEFT):new Ei(n.left,n.top),this.topRightBorderBox=a>0||s>0?Ii(n.left+m,n.top,a,s,ti.TOP_RIGHT):new Ei(n.left+n.width,n.top),this.bottomRightBorderBox=c>0||u>0?Ii(n.left+y,n.top+v,c,u,ti.BOTTOM_RIGHT):new Ei(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=f>0||h>0?Ii(n.left,n.top+w,f,h,ti.BOTTOM_LEFT):new Ei(n.left,n.top+n.height),this.topLeftPaddingBox=o>0||i>0?Ii(n.left+x,n.top+b,Math.max(0,o-x),Math.max(0,i-b),ti.TOP_LEFT):new Ei(n.left+x,n.top+b),this.topRightPaddingBox=a>0||s>0?Ii(n.left+Math.min(m,n.width-B),n.top+b,m>n.width+B?0:Math.max(0,a-B),Math.max(0,s-b),ti.TOP_RIGHT):new Ei(n.left+n.width-B,n.top+b),this.bottomRightPaddingBox=c>0||u>0?Ii(n.left+Math.min(y,n.width-x),n.top+Math.min(v,n.height-C),Math.max(0,c-B),Math.max(0,u-C),ti.BOTTOM_RIGHT):new Ei(n.left+n.width-B,n.top+n.height-C),this.bottomLeftPaddingBox=f>0||h>0?Ii(n.left+x,n.top+Math.min(w,n.height-C),Math.max(0,f-x),Math.max(0,h-C),ti.BOTTOM_LEFT):new Ei(n.left+x,n.top+n.height-C),this.topLeftContentBox=o>0||i>0?Ii(n.left+x+Q,n.top+b+S,Math.max(0,o-(x+Q)),Math.max(0,i-(b+S)),ti.TOP_LEFT):new Ei(n.left+x+Q,n.top+b+S),this.topRightContentBox=a>0||s>0?Ii(n.left+Math.min(m,n.width+x+Q),n.top+b+S,m>n.width+x+Q?0:a-x+Q,s-(b+S),ti.TOP_RIGHT):new Ei(n.left+n.width-(B+E),n.top+b+S),this.bottomRightContentBox=c>0||u>0?Ii(n.left+Math.min(y,n.width-(x+Q)),n.top+Math.min(v,n.height+b+S),Math.max(0,c-(B+E)),u-(C+F),ti.BOTTOM_RIGHT):new Ei(n.left+n.width-(B+E),n.top+n.height-(C+F)),this.bottomLeftContentBox=f>0||h>0?Ii(n.left+x+Q,n.top+w,Math.max(0,f-(x+Q)),h-(C+F),ti.BOTTOM_LEFT):new Ei(n.left+x+Q,n.top+n.height-(C+F))};!function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=1]="TOP_RIGHT",e[e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",e[e.BOTTOM_LEFT=3]="BOTTOM_LEFT"}(ti||(ti={}));var Ii=function(e,t,n,r,o){var i=(Math.sqrt(2)-1)/3*4,A=n*i,a=r*i,s=e+n,l=t+r;switch(o){case ti.TOP_LEFT:return new Qi(new Ei(e,l),new Ei(e,l-a),new Ei(s-A,t),new Ei(s,t));case ti.TOP_RIGHT:return new Qi(new Ei(e,t),new Ei(e+A,t),new Ei(s,l-a),new Ei(s,l));case ti.BOTTOM_RIGHT:return new Qi(new Ei(s,t),new Ei(s,t+a),new Ei(e+A,l),new Ei(e,l));case ti.BOTTOM_LEFT:default:return new Qi(new Ei(s,l),new Ei(s-A,l),new Ei(e,t+a),new Ei(e,t))}},Oi=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},Pi=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},Ti=function(e,t,n){this.offsetX=e,this.offsetY=t,this.matrix=n,this.type=0,this.target=6},Hi=function(e,t){this.path=e,this.target=t,this.type=1},Li=function(e){this.opacity=e,this.type=2,this.target=6},_i=function(e){return 1===e.type},Ri=function(e,t){return e.length===t.length&&e.some((function(e,n){return e===t[n]}))},Ni=function(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]},Mi=function(){function e(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new ki(this.container),this.container.styles.opacity<1&&this.effects.push(new Li(this.container.styles.opacity)),null!==this.container.styles.transform){var n=this.container.bounds.left+this.container.styles.transformOrigin[0].number,r=this.container.bounds.top+this.container.styles.transformOrigin[1].number,o=this.container.styles.transform;this.effects.push(new Ti(n,r,o))}if(0!==this.container.styles.overflowX){var i=Oi(this.curves),A=Pi(this.curves);Ri(i,A)?this.effects.push(new Hi(i,6)):(this.effects.push(new Hi(i,2)),this.effects.push(new Hi(A,4)))}}return e.prototype.getEffects=function(e){for(var t=-1===[2,3].indexOf(this.container.styles.position),n=this.parent,r=this.effects.slice(0);n;){var o=n.effects.filter((function(e){return!_i(e)}));if(t||0!==n.container.styles.position||!n.parent){if(r.unshift.apply(r,o),t=-1===[2,3].indexOf(n.container.styles.position),0!==n.container.styles.overflowX){var i=Oi(n.curves),A=Pi(n.curves);Ri(i,A)||r.unshift(new Hi(A,6))}}else r.unshift.apply(r,o);n=n.parent}return r.filter((function(t){return ir(t.target,e)}))},e}(),Di=function(e,t,n,r){e.container.elements.forEach((function(o){var i=ir(o.flags,4),A=ir(o.flags,2),a=new Mi(o,e);ir(o.styles.display,2048)&&r.push(a);var s=ir(o.flags,8)?[]:r;if(i||A){var l=i||o.styles.isPositioned()?n:t,c=new Ni(a);if(o.styles.isPositioned()||o.styles.opacity<1||o.styles.isTransformed()){var u=o.styles.zIndex.order;if(u<0){var d=0;l.negativeZIndex.some((function(e,t){return u>e.element.container.styles.zIndex.order?(d=t,!1):d>0})),l.negativeZIndex.splice(d,0,c)}else if(u>0){var f=0;l.positiveZIndex.some((function(e,t){return u>=e.element.container.styles.zIndex.order?(f=t+1,!1):f>0})),l.positiveZIndex.splice(f,0,c)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(c)}else o.styles.isFloating()?l.nonPositionedFloats.push(c):l.nonPositionedInlineLevel.push(c);Di(a,c,i?c:n,s)}else o.styles.isInlineLevel()?t.inlineLevel.push(a):t.nonInlineLevel.push(a),Di(a,t,n,s);ir(o.flags,8)&&ji(o,s)}))},ji=function(e,t){for(var n=e instanceof ro?e.start:1,r=e instanceof ro&&e.reversed,o=0;o0&&e.intrinsicHeight>0){var r=Wi(e),o=Pi(t);this.path(o),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,e.intrinsicWidth,e.intrinsicHeight,r.left,r.top,r.width,r.height),this.ctx.restore()}},n.prototype.renderNodeContent=function(e){return r(this,void 0,void 0,(function(){var t,r,i,a,s,l,c,u,d,f,h,p,g,m,v,y,w,b;return o(this,(function(o){switch(o.label){case 0:this.applyEffects(e.getEffects(4)),t=e.container,r=e.curves,i=t.styles,a=0,s=t.textNodes,o.label=1;case 1:return a0&&k>0&&(I=r.ctx.createRadialGradient(b+E,B+F,0,b+E,B+F,U),Ct(n.stops,2*U).forEach((function(e){return I.addColorStop(e.stop,ct(e.color))})),r.path(w),r.ctx.fillStyle=I,U!==k?(O=e.bounds.left+.5*e.bounds.width,P=e.bounds.top+.5*e.bounds.height,H=1/(T=k/U),r.ctx.save(),r.ctx.translate(O,P),r.ctx.transform(1,0,0,T,0,0),r.ctx.translate(-O,-P),r.ctx.fillRect(b,H*(B-P)+P,C,x*H),r.ctx.restore()):r.ctx.fill())):(s=Xi(e,t,[null,null,null]),w=s[0],E=s[1],F=s[2],C=s[3],x=s[4],l=function(e,t,n){var r="number"==typeof e?e:function(e,t,n){var r=t/2,o=n/2,i=tt(e[0],t)-r,A=o-tt(e[1],n);return(Math.atan2(A,i)+2*Math.PI)%(2*Math.PI)}(e,t,n),o=Math.abs(t*Math.sin(r))+Math.abs(n*Math.cos(r)),i=t/2,A=n/2,a=o/2,s=Math.sin(r-Math.PI/2)*a,l=Math.cos(r-Math.PI/2)*a;return[o,i-l,i+l,A-s,A+s]}(n.angle,C,x),c=l[0],u=l[1],d=l[2],f=l[3],h=l[4],(p=document.createElement("canvas")).width=C,p.height=x,g=p.getContext("2d"),m=g.createLinearGradient(u,f,d,h),Ct(n.stops,c).forEach((function(e){return m.addColorStop(e.stop,ct(e.color))})),g.fillStyle=m,g.fillRect(0,0,C,x),C>0&&x>0&&(v=r.ctx.createPattern(p,"repeat"),r.renderRepeat(w,v,E,F))),o.label=6;case 6:return t--,[2]}}))},r=this,i=0,A=e.styles.backgroundImage.slice(0).reverse(),s.label=1;case 1:return i0?2!==l.style?[3,5]:[4,this.renderDashedDottedBorder(l.color,l.width,A,e.curves,2)]:[3,11]:[3,13];case 4:return o.sent(),[3,11];case 5:return 3!==l.style?[3,7]:[4,this.renderDashedDottedBorder(l.color,l.width,A,e.curves,3)];case 6:return o.sent(),[3,11];case 7:return 4!==l.style?[3,9]:[4,this.renderDoubleBorder(l.color,l.width,A,e.curves)];case 8:return o.sent(),[3,11];case 9:return[4,this.renderSolidBorder(l.color,A,e.curves)];case 10:o.sent(),o.label=11;case 11:A++,o.label=12;case 12:return a++,[3,3];case 13:return[2]}}))}))},n.prototype.renderDashedDottedBorder=function(e,t,n,i,A){return r(this,void 0,void 0,(function(){var r,a,s,l,c,u,d,f,h,p,g,m,v,y,w,b;return o(this,(function(o){return this.ctx.save(),r=function(e,t){switch(t){case 0:return Ki(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return Ki(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return Ki(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);default:return Ki(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}}(i,n),a=Gi(i,n),2===A&&(this.path(a),this.ctx.clip()),Ui(a[0])?(s=a[0].start.x,l=a[0].start.y):(s=a[0].x,l=a[0].y),Ui(a[1])?(c=a[1].end.x,u=a[1].end.y):(c=a[1].x,u=a[1].y),d=0===n||2===n?Math.abs(s-c):Math.abs(l-u),this.ctx.beginPath(),3===A?this.formatPath(r):this.formatPath(a.slice(0,2)),f=t<3?3*t:2*t,h=t<3?2*t:t,3===A&&(f=t,h=t),p=!0,d<=2*f?p=!1:d<=2*f+h?(f*=g=d/(2*f+h),h*=g):(m=Math.floor((d+h)/(f+h)),v=(d-m*f)/(m-1),h=(y=(d-(m+1)*f)/m)<=0||Math.abs(h-v)n.startX+n.width||t>n.startY+n.height)}var Qm=function(){function e(e,t){var n=this;this.toolController=null;var r=new lm,o=document.getElementById("textInputPanel");this.toolController=t,e.tabIndex=9999,document.body.addEventListener("keydown",(function(e){r.getTextEditState()?r.setTextEditState(!1):("Escape"===e.code&&n.triggerEvent("close"),"Enter"===e.code&&o&&"block"!==o.style.display&&n.triggerEvent("confirm"),(e.metaKey||e.ctrlKey)&&"KeyZ"===e.code&&n.triggerEvent("undo"))}))}return e.prototype.triggerEvent=function(e){if(null!=this.toolController)for(var t=0;t0,t="msMaxTouchPoints"in navigator&&navigator.msMaxTouchPoints>0,n="ontouchstart"in window,r=window.matchMedia&&window.matchMedia("(pointer: coarse)").matches;return e||t||n||r}var Om=function(){function e(e){var t=this;this.screenShotDom=null,this.wrcReplyTime=500,this.keyboardEventHandle=null,this.drawGraphPosition={startX:0,startY:0,width:0,height:0},this.tempGraphPosition={startX:0,startY:0,width:0,height:0},this.wrcImgPosition={x:0,y:0,w:0,h:0},this.hiddenScrollBar={color:"#000000",fillState:!1,state:!1,fillWidth:0,fillHeight:0},this.wrcWindowMode=!1,this.cutOutBoxBorderArr=[],this.borderOption=null,this.movePosition={moveStartX:0,moveStartY:0},this.dragFlag=!1,this.clickCutFullScreen=!1,this.getFullScreenStatus=!1,this.drawGraphPrevX=0,this.drawGraphPrevY=0,this.degreeOfBlur=5,this.dpr=window.devicePixelRatio||1,this.fullScreenDiffHeight=60,this.position={left:0,top:0},this.imgSrc=null,this.loadCrossImg=!1,this.mouseInsideCropBox=!1,this.proxyUrl=void 0,this.useCORS=!1,this.drawStatus=!1,this.captureStream=null,this.cropBoxInfo=null,this.textInputPosition={mouseX:0,mouseY:0},this.placement="center",this.drawArrow=new bm,this.customRightClickEvent={state:!1},this.sendStream=function(e,n,r){if(!(e instanceof MediaStream))throw null!=n&&n({code:-1,msg:"视频流接入失败"}),t.data.destroyDOM(),"视频流接入失败";return t.videoController.srcObject=e,t.loadScreenFlowData(r),e},this.startCapture=function(e){return function(e,t,n,r){return new(n||(n=Promise))((function(t,o){function i(e){try{a(r.next(e))}catch(e){o(e)}}function A(e){try{a(r.throw(e))}catch(e){o(e)}}function a(e){var r;e.done?t(e.value):(r=e.value,r instanceof n?r:new n((function(e){e(r)}))).then(i,A)}a((r=r.apply(e,[])).next())}))}(t,0,void 0,(function(){var t,n,r,o,i,A;return function(e,t){var n,r,o,i,A={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(A=0)),A;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return A.label++,{value:a[1],done:!1};case 5:A.label++,r=a[1],a=[0];continue;case 7:a=A.ops.pop(),A.trys.pop();continue;default:if(!((o=(o=A.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){A=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]=r?t:r)-a),c=.5*((n>=o?n:o)-s),u=a+l,d=s+c;if(e.save(),e.beginPath(),e.lineWidth=i,e.strokeStyle=A,"function"!=typeof e.ellipse)throw"你的浏览器不支持ellipse,无法绘制椭圆";e.ellipse(u,d,l,c,0,0,2*Math.PI),e.stroke(),e.closePath(),e.restore()}(t.screenShotCanvas,a,s,r,o,t.data.getPenSize(),t.data.getSelectedColor());break;case"right-top":if(t.plugInParameters.getRatioArrow())return void function(e,t,n,r,o,i,A,a,s){var l=180*Math.atan2(n-o,t-r)/Math.PI,c=(l+30)*Math.PI/180,u=(l-30)*Math.PI/180,d=10*Math.cos(c),f=10*Math.sin(c),h=10*Math.cos(u),p=10*Math.sin(u);e.save(),e.beginPath();var g=t-d,m=n-f;e.moveTo(g,m),e.moveTo(t,n),e.lineTo(r,o),g=r+d,m=o+f,e.moveTo(g,m),e.lineTo(r,o),g=r+h,m=o+p,e.lineTo(g,m),e.strokeStyle=s,e.lineWidth=a,e.stroke(),e.restore()}(t.screenShotCanvas,r,o,a,s,0,0,t.data.getPenSize(),t.data.getSelectedColor());t.drawArrow.draw(t.screenShotCanvas,r,o,a,s,t.data.getSelectedColor(),t.data.getPenSize());break;case"brush":d=t.screenShotCanvas,f=a,h=s,p=t.data.getPenSize(),g=t.data.getSelectedColor(),d.save(),d.lineWidth=p,d.strokeStyle=g,d.lineTo(f,h),d.stroke(),d.restore();break;case"mosaicPen":t.drawStatus||(t.showLastHistory(),t.drawStatus=!0),function(e,t,n,r,o){for(var i=window.devicePixelRatio||1,A=o.getImageData(e*i,t*i,n*i,n*i),a=A.width/r,s=A.height/r,l=0;la&&(g=A*a/m,m=a),g=t.wrcImgPosition.w>0?t.wrcImgPosition.w:g,m=t.wrcImgPosition.h>0?t.wrcImgPosition.h:m,null==u||u.drawImage(t.videoController,t.wrcImgPosition.x,t.wrcImgPosition.y,g,m);var v=a-m;if(t.hiddenScrollBar.state&&v>0&&t.hiddenScrollBar.fillState){u.beginPath();var y=A,w=v;t.hiddenScrollBar.fillWidth>0&&(y=t.hiddenScrollBar.fillWidth),t.hiddenScrollBar.fillHeight>0&&(w=t.hiddenScrollBar.fillHeight),u.rect(0,m,y,w),u.fillStyle=t.hiddenScrollBar.color,u.fill()}}t.initScreenShot(void 0,c,t.screenShotImageController);var b=null,B=null;t.captureStream&&(b=null===(o=t.captureStream.getVideoTracks()[0].getSettings())||void 0===o?void 0:o.displaySurface,B=t.captureStream.getVideoTracks()[0].label),e&&e({code:0,msg:"截图加载完成",displaySurface:b,displayLabel:B}),t.stopCapture(),document.body.classList.remove("no-cursor")}}}),this.wrcReplyTime)},e.prototype.adjustContainerLevels=function(e){null==this.screenShotContainer||null==this.toolController||null==this.textInputController||null==this.optionIcoController||null==this.optionController||null==this.cutBoxSizeContainer||e<=0||(this.screenShotContainer.style.zIndex="".concat(e),this.toolController.style.zIndex="".concat(e+1),this.textInputController.style.zIndex="".concat(e+1),this.optionIcoController.style.zIndex="".concat(e+1),this.optionController.style.zIndex="".concat(e+1),this.cutBoxSizeContainer.style.zIndex="".concat(e+1))},e.prototype.initCropBox=function(e){var t=e.x,n=e.y,r=e.w,o=e.h;null!=this.screenShotContainer&&(this.drawGraphPosition={startX:t,startY:n,width:r,height:o},this.data.setCutOutBoxPosition(t,n,r,o),dm(t,n,r,o,this.screenShotCanvas,this.data.getBorderSize(),this.screenShotContainer,this.screenShotImageController),this.cutOutBoxBorderArr=xm(this.data.getBorderSize(),this.drawGraphPosition),this.screenShotContainer.style.cursor="move",this.data.setToolStatus(!0),this.data.setCutBoxSizeStatus(!0),null!=this.toolController&&this.showToolBar())},e.prototype.getWindowContentData=function(e,t,n,r){var o=document.createElement("canvas");o.width=e,o.height=t;var i=cm(o,e,t);if(i){i.drawImage(this.videoController,0,0);var A=t-r,a=n,s=t-A;return i.getImageData(0*this.dpr,A*this.dpr,a*this.dpr,s*this.dpr)}return null},e.prototype.registerContainerShortcuts=function(e){var t=this;e.addEventListener("keydown",(function(n){if(null!=t.screenShotCanvas&&((n.metaKey||n.ctrlKey)&&"Enter"===n.code||"Escape"===n.code)){t.data.setTextEditState(!0);var r=e.innerText;if(!r||""===r)return void t.data.setTextStatus(!1);fm(r,t.textInputPosition.mouseX,t.textInputPosition.mouseY,t.data.getSelectedColor(),t.data.getFontSize(),t.screenShotCanvas),e.innerHTML="",t.data.setTextStatus(!1),hm()}}))},e.prototype.showToolBar=function(){if(null!=this.toolController&&null!=this.screenShotContainer){var e=function(e,t,n,r,o){var i=(e.width-t)/2+(e.startX-o.left);"left"===r&&(i=e.startX),"right"===r&&(i=e.startX+e.width-t),i<0&&(i=0),i+t>n&&(i=n-t);var A=e.startY+e.height+10;return(e.width<0&&e.height<0||e.width>0&&e.height<0)&&(A=e.startY+10),{mouseX:i,mouseY:A-=o.top}}(this.drawGraphPosition,this.toolController.offsetWidth,this.screenShotContainer.width/this.dpr,this.placement,this.position),t=this.screenShotContainer.height/this.dpr;if(e.mouseY>t-64){if(e.mouseY-=this.drawGraphPosition.height+64,e.mouseY<0){var n=parseInt(this.screenShotContainer.style.height);e.mouseY=n-this.fullScreenDiffHeight}this.data.setToolPositionStatus(!0),this.data.setCutBoxSizeStatus(!1)}if(this.getFullScreenStatus){var r=parseInt(this.screenShotContainer.style.height),o=(this.drawGraphPosition.width/this.dpr-this.toolController.offsetWidth)/2;e.mouseY=r-this.fullScreenDiffHeight,e.mouseX=o}this.data.setToolInfo(e.mouseX+this.position.left,e.mouseY+this.position.top),this.data.setCutBoxSizePosition(this.drawGraphPosition.startX,this.drawGraphPosition.startY-35),this.data.setCutBoxSize(this.drawGraphPosition.width,this.drawGraphPosition.height),this.getFullScreenStatus=!1}},e.prototype.setGlobalParameter=function(){this.screenShotContainer=this.data.getScreenShotContainer(),this.toolController=this.data.getToolController(),this.textInputController=this.data.getTextInputController(),this.optionController=this.data.getOptionController(),this.optionIcoController=this.data.getOptionIcoController(),this.cutBoxSizeContainer=this.data.getCutBoxSizeContainer()},e.prototype.setOptionalParameter=function(e){var t,n;if(!0===(null==e?void 0:e.clickCutFullScreen)&&(this.clickCutFullScreen=!0),null!=(null==e?void 0:e.imgSrc)&&(this.imgSrc=e.imgSrc),!0===(null==e?void 0:e.loadCrossImg)&&(this.loadCrossImg=!0),(null==e?void 0:e.proxyUrl)&&(this.proxyUrl=e.proxyUrl),(null==e?void 0:e.useCORS)&&(this.useCORS=e.useCORS),null!=(null==e?void 0:e.position)&&(null!=(null===(t=e.position)||void 0===t?void 0:t.top)&&(this.position.top=e.position.top),null!=(null===(n=e.position)||void 0===n?void 0:n.left)&&(this.position.left=e.position.left)),(null==e?void 0:e.screenShotDom)&&(this.screenShotDom=e.screenShotDom),(null==e?void 0:e.wrcReplyTime)&&(this.wrcReplyTime=e.wrcReplyTime),(null==e?void 0:e.cropBoxInfo)&&(this.cropBoxInfo=e.cropBoxInfo),(null==e?void 0:e.toolPosition)&&(this.placement=e.toolPosition),null==e?void 0:e.wrcImgPosition){var r=e.wrcImgPosition,o=r.x,i=r.y;this.wrcImgPosition.x=-1*Math.abs(o),this.wrcImgPosition.y=-1*Math.abs(i)}if(null!=(null==e?void 0:e.hiddenScrollBar)){var A=e.hiddenScrollBar,a=A.state,s=A.color,l=A.fillWidth,c=A.fillHeight,u=A.fillState;this.hiddenScrollBar={state:a,color:s||"#000000",fillWidth:l||0,fillHeight:c||0,fillState:u||!1},a&&(this.data.setResetScrollbarState(!0),document.documentElement.classList.add("hidden-screen-shot-scroll"),document.body.classList.add("hidden-screen-shot-scroll"))}null!=(null==e?void 0:e.wrcWindowMode)&&(this.wrcWindowMode=e.wrcWindowMode),null!=(null==e?void 0:e.customRightClickEvent)&&(this.customRightClickEvent=e.customRightClickEvent)},e.prototype.operatingCutOutBox=function(e,t,n,r,o,i,A){if(null!=this.screenShotContainer){var a=this.movePosition,s=a.moveStartX,l=a.moveStartY;if(this.cutOutBoxBorderArr.length>0&&!this.data.getDraggingTrim()){var c=!1;A.beginPath();for(var u=0;uh&&(d=h-o),f+i>p&&(f=p-i),this.tempGraphPosition=dm(d,f,o,i,A,this.data.getBorderSize(),this.screenShotContainer,this.screenShotImageController)}else{var g=function(e,t,n,r,o,i,A){switch(A){case 2:return{tempStartX:n,tempStartY:t-(r+i)>0?r+i:t,tempWidth:o,tempHeight:ym(i-(t-r))};case 3:return{tempStartX:n,tempStartY:r,tempWidth:o,tempHeight:ym(t-r)};case 4:return{tempStartX:e-(n+o)>0?n+o:e,tempStartY:r,tempWidth:ym(o-(e-n)),tempHeight:i};case 5:return{tempStartX:n,tempStartY:r,tempWidth:ym(e-n),tempHeight:i};case 6:return{tempStartX:e-(n+o)>0?n+o:e,tempStartY:t-(r+i)>0?r+i:t,tempWidth:ym(o-(e-n)),tempHeight:ym(i-(t-r))};case 7:return{tempStartX:n,tempStartY:r,tempWidth:ym(e-n),tempHeight:ym(t-r)};case 8:return{tempStartX:n,tempStartY:t-(r+i)>0?r+i:t,tempWidth:ym(e-n),tempHeight:ym(i-(t-r))};case 9:return{tempStartX:e-(n+o)>0?n+o:e,tempStartY:r,tempWidth:ym(o-(e-n)),tempHeight:ym(t-r)}}}(e,t,n,r,o,i,this.borderOption),m=g.tempStartX,v=g.tempStartY,y=g.tempWidth,w=g.tempHeight;this.tempGraphPosition=dm(m,v,y,w,A,this.data.getBorderSize(),this.screenShotContainer,this.screenShotImageController)}}},e.prototype.showLastHistory=function(){if(null!=this.screenShotCanvas){var e=this.screenShotCanvas;this.data.getHistory().length<=0&&hm(),e.putImageData(this.data.getHistory()[this.data.getHistory().length-1].data,0,0)}},e.prototype.setScreenShotContainerEventListener=function(){var e,t,n,r,o,i;(function(){for(var e=navigator.userAgent,t=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],n=!0,r=0;r0){n=!1;break}return n})()&&(null===(e=this.screenShotContainer)||void 0===e||e.addEventListener("mousedown",this.mouseDownEvent),null===(t=this.screenShotContainer)||void 0===t||t.addEventListener("mousemove",this.mouseMoveEvent),null===(n=this.screenShotContainer)||void 0===n||n.addEventListener("mouseup",this.mouseUpEvent)),Im()&&(null===(r=this.screenShotContainer)||void 0===r||r.addEventListener("touchstart",this.mouseDownEvent,!1),null===(o=this.screenShotContainer)||void 0===o||o.addEventListener("touchmove",this.mouseMoveEvent,!1),null===(i=this.screenShotContainer)||void 0===i||i.addEventListener("touchend",this.mouseUpEvent,!1))},e.prototype.drawPictures=function(e,t,n){var r=this,o=new Image;o.src=n,o.width=this.screenShotImageController.width,o.height=this.screenShotImageController.height,o.crossOrigin="Anonymous",o.onload=function(){var n;null!=r.screenShotContainer&&(null===(n=r.screenShotImageController.getContext("2d"))||void 0===n||n.drawImage(o,0,0,r.screenShotImageController.width,r.screenShotImageController.height),r.initScreenShot(e,t,r.screenShotImageController))}},e.prototype.initScreenShot=function(e,t,n){null!=e&&e({code:0,msg:"截图加载完成"}),this.screenShotCanvas=t,this.data.setScreenShotImageController(n),function(e,t){var n=new Ig,r=new Ig,o=r.getCanvasSize(),i={width:parseFloat(window.getComputedStyle(document.body).width),height:parseFloat(window.getComputedStyle(document.body).height)},A=Math.max(i.width||0,Math.max(document.body.scrollWidth,document.documentElement.scrollWidth),Math.max(document.body.offsetWidth,document.documentElement.offsetWidth),Math.max(document.body.clientWidth,document.documentElement.clientWidth)),a=Math.max(i.height||0,Math.max(document.body.scrollHeight,document.documentElement.scrollHeight),Math.max(document.body.offsetHeight,document.documentElement.offsetHeight),Math.max(document.body.clientHeight,document.documentElement.clientHeight));e.clearRect(0,0,A,a),null!=t&&r.getShowScreenDataStatus()&&(0!==o.canvasWidth&&0!==o.canvasHeight?e.drawImage(t,0,0,o.canvasWidth,o.canvasHeight):e.drawImage(t,0,0,A,a)),e.save();var s=n.getMaskColor();e.fillStyle="rgba(0, 0, 0, .6)",s&&(e.fillStyle="rgba(".concat(s.r,", ").concat(s.g,", ").concat(s.b,", ").concat(s.a,")")),0!==o.canvasWidth&&0!==o.canvasHeight?e.fillRect(0,0,o.canvasWidth,o.canvasHeight):e.fillRect(0,0,A,a),e.restore()}(t,n),this.setScreenShotContainerEventListener(),null!=this.cropBoxInfo&&4==Object.keys(this.cropBoxInfo).length&&this.initCropBox(this.cropBoxInfo)},e}();function Pm(e,t){return function(){return e.apply(t,arguments)}}const{toString:Tm}=Object.prototype,{getPrototypeOf:Hm}=Object,Lm=(_m=Object.create(null),e=>{const t=Tm.call(e);return _m[t]||(_m[t]=t.slice(8,-1).toLowerCase())});var _m;const Rm=e=>(e=e.toLowerCase(),t=>Lm(t)===e),Nm=e=>t=>typeof t===e,{isArray:Mm}=Array,Dm=Nm("undefined"),jm=Rm("ArrayBuffer"),Gm=Nm("string"),Km=Nm("function"),Vm=Nm("number"),zm=e=>null!==e&&"object"==typeof e,Wm=e=>{if("object"!==Lm(e))return!1;const t=Hm(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},Xm=Rm("Date"),$m=Rm("File"),Ym=Rm("Blob"),Jm=Rm("FileList"),qm=Rm("URLSearchParams"),[Zm,ev,tv,nv]=["ReadableStream","Request","Response","Headers"].map(Rm);function rv(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),Mm(e))for(r=0,o=e.length;r0;)if(r=n[o],t===r.toLowerCase())return r;return null}const iv="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Av=e=>!Dm(e)&&e!==iv,av=(sv="undefined"!=typeof Uint8Array&&Hm(Uint8Array),e=>sv&&e instanceof sv);var sv;const lv=Rm("HTMLFormElement"),cv=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),uv=Rm("RegExp"),dv=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};rv(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},fv="abcdefghijklmnopqrstuvwxyz",hv="0123456789",pv={DIGIT:hv,ALPHA:fv,ALPHA_DIGIT:fv+fv.toUpperCase()+hv},gv=Rm("AsyncFunction"),mv=(vv="function"==typeof setImmediate,yv=Km(iv.postMessage),vv?setImmediate:yv?((e,t)=>(iv.addEventListener("message",(({source:n,data:r})=>{n===iv&&r===e&&t.length&&t.shift()()}),!1),n=>{t.push(n),iv.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e));var vv,yv;const wv="undefined"!=typeof queueMicrotask?queueMicrotask.bind(iv):"undefined"!=typeof process&&process.nextTick||mv,bv={isArray:Mm,isArrayBuffer:jm,isBuffer:function(e){return null!==e&&!Dm(e)&&null!==e.constructor&&!Dm(e.constructor)&&Km(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Km(e.append)&&("formdata"===(t=Lm(e))||"object"===t&&Km(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&jm(e.buffer),t},isString:Gm,isNumber:Vm,isBoolean:e=>!0===e||!1===e,isObject:zm,isPlainObject:Wm,isReadableStream:Zm,isRequest:ev,isResponse:tv,isHeaders:nv,isUndefined:Dm,isDate:Xm,isFile:$m,isBlob:Ym,isRegExp:uv,isFunction:Km,isStream:e=>zm(e)&&Km(e.pipe),isURLSearchParams:qm,isTypedArray:av,isFileList:Jm,forEach:rv,merge:function e(){const{caseless:t}=Av(this)&&this||{},n={},r=(r,o)=>{const i=t&&ov(n,o)||o;Wm(n[i])&&Wm(r)?n[i]=e(n[i],r):Wm(r)?n[i]=e({},r):Mm(r)?n[i]=r.slice():n[i]=r};for(let e=0,t=arguments.length;e(rv(t,((t,r)=>{n&&Km(t)?e[r]=Pm(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,A;const a={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)A=o[i],r&&!r(A,e,t)||a[A]||(t[A]=e[A],a[A]=!0);e=!1!==n&&Hm(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Lm,kindOfTest:Rm,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(Mm(e))return e;let t=e.length;if(!Vm(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:lv,hasOwnProperty:cv,hasOwnProp:cv,reduceDescriptors:dv,freezeMethods:e=>{dv(e,((t,n)=>{if(Km(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];Km(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return Mm(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:ov,global:iv,isContextDefined:Av,ALPHABET:pv,generateString:(e=16,t=pv.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&Km(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(zm(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=Mm(e)?[]:{};return rv(e,((e,t)=>{const i=n(e,r+1);!Dm(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:gv,isThenable:e=>e&&(zm(e)||Km(e))&&Km(e.then)&&Km(e.catch),setImmediate:mv,asap:wv};function Bv(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}bv.inherits(Bv,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:bv.toJSONObject(this.config),code:this.code,status:this.status}}});const Cv=Bv.prototype,xv={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{xv[e]={value:e}})),Object.defineProperties(Bv,xv),Object.defineProperty(Cv,"isAxiosError",{value:!0}),Bv.from=(e,t,n,r,o,i)=>{const A=Object.create(Cv);return bv.toFlatObject(e,A,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Bv.call(A,e.message,t,n,r,o),A.cause=e,A.name=e.name,i&&Object.assign(A,i),A};const Sv=Bv;function Ev(e){return bv.isPlainObject(e)||bv.isArray(e)}function Fv(e){return bv.endsWith(e,"[]")?e.slice(0,-2):e}function Qv(e,t,n){return e?e.concat(t).map((function(e,t){return e=Fv(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const Uv=bv.toFlatObject(bv,{},null,(function(e){return/^is[A-Z]/.test(e)})),kv=function(e,t,n){if(!bv.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=bv.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!bv.isUndefined(t[e])}))).metaTokens,o=n.visitor||l,i=n.dots,A=n.indexes,a=(n.Blob||"undefined"!=typeof Blob&&Blob)&&bv.isSpecCompliantForm(t);if(!bv.isFunction(o))throw new TypeError("visitor must be a function");function s(e){if(null===e)return"";if(bv.isDate(e))return e.toISOString();if(!a&&bv.isBlob(e))throw new Sv("Blob is not supported. Use a Buffer instead.");return bv.isArrayBuffer(e)||bv.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function l(e,n,o){let a=e;if(e&&!o&&"object"==typeof e)if(bv.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(bv.isArray(e)&&function(e){return bv.isArray(e)&&!e.some(Ev)}(e)||(bv.isFileList(e)||bv.endsWith(n,"[]"))&&(a=bv.toArray(e)))return n=Fv(n),a.forEach((function(e,r){!bv.isUndefined(e)&&null!==e&&t.append(!0===A?Qv([n],r,i):null===A?n:n+"[]",s(e))})),!1;return!!Ev(e)||(t.append(Qv(o,n,i),s(e)),!1)}const c=[],u=Object.assign(Uv,{defaultVisitor:l,convertValue:s,isVisitable:Ev});if(!bv.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!bv.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+r.join("."));c.push(n),bv.forEach(n,(function(n,i){!0===(!(bv.isUndefined(n)||null===n)&&o.call(t,n,bv.isString(i)?i.trim():i,r,u))&&e(n,r?r.concat(i):[i])})),c.pop()}}(e),t};function Iv(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function Ov(e,t){this._pairs=[],e&&kv(e,this,t)}const Pv=Ov.prototype;Pv.append=function(e,t){this._pairs.push([e,t])},Pv.toString=function(e){const t=e?function(t){return e.call(this,t,Iv)}:Iv;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const Tv=Ov;function Hv(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Lv(e,t,n){if(!t)return e;const r=n&&n.encode||Hv,o=n&&n.serialize;let i;if(i=o?o(t,n):bv.isURLSearchParams(t)?t.toString():new Tv(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}const _v=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){bv.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},Rv={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Nv={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Tv,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},Mv="undefined"!=typeof window&&"undefined"!=typeof document,Dv="object"==typeof navigator&&navigator||void 0,jv=Mv&&(!Dv||["ReactNative","NativeScript","NS"].indexOf(Dv.product)<0),Gv="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Kv=Mv&&window.location.href||"http://localhost",Vv={...e,...Nv},zv=function(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const A=Number.isFinite(+i),a=o>=e.length;return i=!i&&bv.isArray(r)?r.length:i,a?(bv.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!A):(r[i]&&bv.isObject(r[i])||(r[i]=[]),t(e,n,r[i],o)&&bv.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r{t(function(e){return bv.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null},Wv={transitional:Rv,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=bv.isObject(e);if(o&&bv.isHTMLForm(e)&&(e=new FormData(e)),bv.isFormData(e))return r?JSON.stringify(zv(e)):e;if(bv.isArrayBuffer(e)||bv.isBuffer(e)||bv.isStream(e)||bv.isFile(e)||bv.isBlob(e)||bv.isReadableStream(e))return e;if(bv.isArrayBufferView(e))return e.buffer;if(bv.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return kv(e,new Vv.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return Vv.isNode&&bv.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=bv.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return kv(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e){if(bv.isString(e))try{return(0,JSON.parse)(e),bv.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Wv.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(bv.isResponse(e)||bv.isReadableStream(e))return e;if(e&&bv.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw Sv.from(e,Sv.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Vv.classes.FormData,Blob:Vv.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};bv.forEach(["delete","get","head","post","put","patch"],(e=>{Wv.headers[e]={}}));const Xv=Wv,$v=bv.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Yv=Symbol("internals");function Jv(e){return e&&String(e).trim().toLowerCase()}function qv(e){return!1===e||null==e?e:bv.isArray(e)?e.map(qv):String(e)}function Zv(e,t,n,r,o){return bv.isFunction(r)?r.call(this,t,n):(o&&(t=n),bv.isString(t)?bv.isString(r)?-1!==t.indexOf(r):bv.isRegExp(r)?r.test(t):void 0:void 0)}class ey{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=Jv(t);if(!o)throw new Error("header name must be a non-empty string");const i=bv.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=qv(e))}const i=(e,t)=>bv.forEach(e,((e,n)=>o(e,n,t)));if(bv.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(bv.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&$v[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(bv.isHeaders(e))for(const[t,r]of e.entries())o(r,t,n);else null!=e&&o(t,e,n);return this}get(e,t){if(e=Jv(e)){const n=bv.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(bv.isFunction(t))return t.call(this,e,n);if(bv.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Jv(e)){const n=bv.findKey(this,e);return!(!n||void 0===this[n]||t&&!Zv(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=Jv(e)){const o=bv.findKey(n,e);!o||t&&!Zv(0,n[o],o,t)||(delete n[o],r=!0)}}return bv.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!Zv(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return bv.forEach(this,((r,o)=>{const i=bv.findKey(n,o);if(i)return t[i]=qv(r),void delete t[o];const A=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();A!==o&&delete t[o],t[A]=qv(r),n[A]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return bv.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&bv.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[Yv]=this[Yv]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Jv(e);t[r]||(function(e,t){const n=bv.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return bv.isArray(e)?e.forEach(r):r(e),this}}ey.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),bv.reduceDescriptors(ey.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),bv.freezeMethods(ey);const ty=ey;function ny(e,t){const n=this||Xv,r=t||n,o=ty.from(r.headers);let i=r.data;return bv.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function ry(e){return!(!e||!e.__CANCEL__)}function oy(e,t,n){Sv.call(this,null==e?"canceled":e,Sv.ERR_CANCELED,t,n),this.name="CanceledError"}bv.inherits(oy,Sv,{__CANCEL__:!0});const iy=oy;function Ay(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Sv("Request failed with status code "+n.status,[Sv.ERR_BAD_REQUEST,Sv.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const ay=(e,t,n=3)=>{let r=0;const o=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,A=0;return t=void 0!==t?t:1e3,function(a){const s=Date.now(),l=r[A];o||(o=s),n[i]=a,r[i]=s;let c=A,u=0;for(;c!==i;)u+=n[c++],c%=e;if(i=(i+1)%e,i===A&&(A=(A+1)%e),s-o{o=i,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),a=t-o;a>=i?A(e,t):(n=e,r||(r=setTimeout((()=>{r=null,A(n)}),i-a)))},()=>n&&A(n)]}((n=>{const i=n.loaded,A=n.lengthComputable?n.total:void 0,a=i-r,s=o(a);r=i,e({loaded:i,total:A,progress:A?i/A:void 0,bytes:a,rate:s||void 0,estimated:s&&A&&i<=A?(A-i)/s:void 0,event:n,lengthComputable:null!=A,[t?"download":"upload"]:!0})}),n)},sy=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},ly=e=>(...t)=>bv.asap((()=>e(...t))),cy=Vv.hasStandardBrowserEnv?function(){const e=Vv.navigator&&/(msie|trident)/i.test(Vv.navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=bv.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0},uy=Vv.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const A=[e+"="+encodeURIComponent(t)];bv.isNumber(n)&&A.push("expires="+new Date(n).toGMTString()),bv.isString(r)&&A.push("path="+r),bv.isString(o)&&A.push("domain="+o),!0===i&&A.push("secure"),document.cookie=A.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function dy(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const fy=e=>e instanceof ty?{...e}:e;function hy(e,t){t=t||{};const n={};function r(e,t,n){return bv.isPlainObject(e)&&bv.isPlainObject(t)?bv.merge.call({caseless:n},e,t):bv.isPlainObject(t)?bv.merge({},t):bv.isArray(t)?t.slice():t}function o(e,t,n){return bv.isUndefined(t)?bv.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!bv.isUndefined(t))return r(void 0,t)}function A(e,t){return bv.isUndefined(t)?bv.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function a(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const s={url:i,method:i,data:i,baseURL:A,transformRequest:A,transformResponse:A,paramsSerializer:A,timeout:A,timeoutMessage:A,withCredentials:A,withXSRFToken:A,adapter:A,responseType:A,xsrfCookieName:A,xsrfHeaderName:A,onUploadProgress:A,onDownloadProgress:A,decompress:A,maxContentLength:A,maxBodyLength:A,beforeRedirect:A,transport:A,httpAgent:A,httpsAgent:A,cancelToken:A,socketPath:A,responseEncoding:A,validateStatus:a,headers:(e,t)=>o(fy(e),fy(t),!0)};return bv.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=s[r]||o,A=i(e[r],t[r],r);bv.isUndefined(A)&&i!==a||(n[r]=A)})),n}const py=e=>{const t=hy({},e);let n,{data:r,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:A,headers:a,auth:s}=t;if(t.headers=a=ty.from(a),t.url=Lv(dy(t.baseURL,t.url),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),bv.isFormData(r))if(Vv.hasStandardBrowserEnv||Vv.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(n=a.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...t].join("; "))}if(Vv.hasStandardBrowserEnv&&(o&&bv.isFunction(o)&&(o=o(t)),o||!1!==o&&cy(t.url))){const e=i&&A&&uy.read(A);e&&a.set(i,e)}return t},gy="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=py(e);let o=r.data;const i=ty.from(r.headers).normalize();let A,a,s,l,c,{responseType:u,onUploadProgress:d,onDownloadProgress:f}=r;function h(){l&&l(),c&&c(),r.cancelToken&&r.cancelToken.unsubscribe(A),r.signal&&r.signal.removeEventListener("abort",A)}let p=new XMLHttpRequest;function g(){if(!p)return;const r=ty.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders());Ay((function(e){t(e),h()}),(function(e){n(e),h()}),{data:u&&"text"!==u&&"json"!==u?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:r,config:e,request:p}),p=null}p.open(r.method.toUpperCase(),r.url,!0),p.timeout=r.timeout,"onloadend"in p?p.onloadend=g:p.onreadystatechange=function(){p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))&&setTimeout(g)},p.onabort=function(){p&&(n(new Sv("Request aborted",Sv.ECONNABORTED,e,p)),p=null)},p.onerror=function(){n(new Sv("Network Error",Sv.ERR_NETWORK,e,p)),p=null},p.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||Rv;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Sv(t,o.clarifyTimeoutError?Sv.ETIMEDOUT:Sv.ECONNABORTED,e,p)),p=null},void 0===o&&i.setContentType(null),"setRequestHeader"in p&&bv.forEach(i.toJSON(),(function(e,t){p.setRequestHeader(t,e)})),bv.isUndefined(r.withCredentials)||(p.withCredentials=!!r.withCredentials),u&&"json"!==u&&(p.responseType=r.responseType),f&&([s,c]=ay(f,!0),p.addEventListener("progress",s)),d&&p.upload&&([a,l]=ay(d),p.upload.addEventListener("progress",a),p.upload.addEventListener("loadend",l)),(r.cancelToken||r.signal)&&(A=t=>{p&&(n(!t||t.type?new iy(null,e,p):t),p.abort(),p=null)},r.cancelToken&&r.cancelToken.subscribe(A),r.signal&&(r.signal.aborted?A():r.signal.addEventListener("abort",A)));const m=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);m&&-1===Vv.protocols.indexOf(m)?n(new Sv("Unsupported protocol "+m+":",Sv.ERR_BAD_REQUEST,e)):p.send(o||null)}))},my=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,A();const t=e instanceof Error?e:this.reason;r.abort(t instanceof Sv?t:new iy(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null,o(new Sv(`timeout ${t} of ms exceeded`,Sv.ETIMEDOUT))}),t);const A=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)})),e=null)};e.forEach((e=>e.addEventListener("abort",o)));const{signal:a}=r;return a.unsubscribe=()=>bv.asap(A),a}},vy=function*(e,t){let n=e.byteLength;if(!t||n{const o=async function*(e,t){for await(const n of async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}}(e))yield*vy(n,t)}(e,t);let i,A=0,a=e=>{i||(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return a(),void e.close();let i=r.byteLength;if(n){let e=A+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw a(e),e}},cancel:e=>(a(e),o.return())},{highWaterMark:2})},wy="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,by=wy&&"function"==typeof ReadableStream,By=wy&&("function"==typeof TextEncoder?(Cy=new TextEncoder,e=>Cy.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var Cy;const xy=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Sy=by&&xy((()=>{let e=!1;const t=new Request(Vv.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Ey=by&&xy((()=>bv.isReadableStream(new Response("").body))),Fy={stream:Ey&&(e=>e.body)};var Qy;wy&&(Qy=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Fy[e]&&(Fy[e]=bv.isFunction(Qy[e])?t=>t[e]():(t,n)=>{throw new Sv(`Response type '${e}' is not supported`,Sv.ERR_NOT_SUPPORT,n)})})));const Uy=wy&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:A,onDownloadProgress:a,onUploadProgress:s,responseType:l,headers:c,withCredentials:u="same-origin",fetchOptions:d}=py(e);l=l?(l+"").toLowerCase():"text";let f,h=my([o,i&&i.toAbortSignal()],A);const p=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let g;try{if(s&&Sy&&"get"!==n&&"head"!==n&&0!==(g=await(async(e,t)=>{const n=bv.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(bv.isBlob(e))return e.size;if(bv.isSpecCompliantForm(e)){const t=new Request(Vv.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return bv.isArrayBufferView(e)||bv.isArrayBuffer(e)?e.byteLength:(bv.isURLSearchParams(e)&&(e+=""),bv.isString(e)?(await By(e)).byteLength:void 0)})(t):n})(c,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(bv.isFormData(r)&&(e=n.headers.get("content-type"))&&c.setContentType(e),n.body){const[e,t]=sy(g,ay(ly(s)));r=yy(n.body,65536,e,t)}}bv.isString(u)||(u=u?"include":"omit");const o="credentials"in Request.prototype;f=new Request(t,{...d,signal:h,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:r,duplex:"half",credentials:o?u:void 0});let i=await fetch(f);const A=Ey&&("stream"===l||"response"===l);if(Ey&&(a||A&&p)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=i[t]}));const t=bv.toFiniteNumber(i.headers.get("content-length")),[n,r]=a&&sy(t,ay(ly(a),!0))||[];i=new Response(yy(i.body,65536,n,(()=>{r&&r(),p&&p()})),e)}l=l||"text";let m=await Fy[bv.findKey(Fy,l)||"text"](i,e);return!A&&p&&p(),await new Promise(((t,n)=>{Ay(t,n,{data:m,headers:ty.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:f})}))}catch(t){if(p&&p(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new Sv("Network Error",Sv.ERR_NETWORK,e,f),{cause:t.cause||t});throw Sv.from(t,t&&t.code,e,f)}}),ky={http:null,xhr:gy,fetch:Uy};bv.forEach(ky,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const Iy=e=>`- ${e}`,Oy=e=>bv.isFunction(e)||null===e||!1===e,Py=e=>{e=bv.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(Iy).join("\n"):" "+Iy(e[0]):"as no adapter specified";throw new Sv("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function Ty(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new iy(null,e)}function Hy(e){return Ty(e),e.headers=ty.from(e.headers),e.data=ny.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Py(e.adapter||Xv.adapter)(e).then((function(t){return Ty(e),t.data=ny.call(e,e.transformResponse,t),t.headers=ty.from(t.headers),t}),(function(t){return ry(t)||(Ty(e),t&&t.response&&(t.response.data=ny.call(e,e.transformResponse,t.response),t.response.headers=ty.from(t.response.headers))),Promise.reject(t)}))}const Ly={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Ly[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const _y={};Ly.transitional=function(e,t,n){function r(e,t){return"[Axios v1.7.7] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new Sv(r(o," has been removed"+(t?" in "+t:"")),Sv.ERR_DEPRECATED);return t&&!_y[o]&&(_y[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};const Ry={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Sv("options must be an object",Sv.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],A=t[i];if(A){const t=e[i],n=void 0===t||A(t,i,e);if(!0!==n)throw new Sv("option "+i+" must be "+n,Sv.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Sv("Unknown option "+i,Sv.ERR_BAD_OPTION)}},validators:Ly},Ny=Ry.validators;class My{constructor(e){this.defaults=e,this.interceptors={request:new _v,response:new _v}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=hy(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&Ry.assertOptions(n,{silentJSONParsing:Ny.transitional(Ny.boolean),forcedJSONParsing:Ny.transitional(Ny.boolean),clarifyTimeoutError:Ny.transitional(Ny.boolean)},!1),null!=r&&(bv.isFunction(r)?t.paramsSerializer={serialize:r}:Ry.assertOptions(r,{encode:Ny.function,serialize:Ny.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&bv.merge(o.common,o[t.method]);o&&bv.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=ty.concat(i,o);const A=[];let a=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,A.unshift(e.fulfilled,e.rejected))}));const s=[];let l;this.interceptors.response.forEach((function(e){s.push(e.fulfilled,e.rejected)}));let c,u=0;if(!a){const e=[Hy.bind(this),void 0];for(e.unshift.apply(e,A),e.push.apply(e,s),c=e.length,l=Promise.resolve(t);u{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new iy(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;const t=new jy((function(t){e=t}));return{token:t,cancel:e}}}const Gy=jy,Ky={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ky).forEach((([e,t])=>{Ky[t]=e}));const Vy=Ky,zy=function e(t){const n=new Dy(t),r=Pm(Dy.prototype.request,n);return bv.extend(r,Dy.prototype,n,{allOwnKeys:!0}),bv.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(hy(t,n))},r}(Xv);zy.Axios=Dy,zy.CanceledError=iy,zy.CancelToken=Gy,zy.isCancel=ry,zy.VERSION="1.7.7",zy.toFormData=kv,zy.AxiosError=Sv,zy.Cancel=zy.CanceledError,zy.all=function(e){return Promise.all(e)},zy.spread=function(e){return function(t){return e.apply(null,t)}},zy.isAxiosError=function(e){return bv.isObject(e)&&!0===e.isAxiosError},zy.mergeConfig=hy,zy.AxiosHeaders=ty,zy.formToJSON=e=>zv(bv.isHTMLForm(e)?new FormData(e):e),zy.getAdapter=Py,zy.HttpStatusCode=Vy,zy.default=zy;const Wy=zy;var Xy=o(5373),$y=o.n(Xy);function Yy(e){return Yy="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},Yy(e)}function Jy(){Jy=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},A=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var i=t&&t.prototype instanceof m?t:m,A=Object.create(i.prototype),a=new k(r||[]);return o(A,"_invoke",{value:E(e,n,a)}),A}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var d="suspendedStart",f="suspendedYield",h="executing",p="completed",g={};function m(){}function v(){}function y(){}var w={};l(w,A,(function(){return this}));var b=Object.getPrototypeOf,B=b&&b(b(I([])));B&&B!==n&&r.call(B,A)&&(w=B);var C=y.prototype=m.prototype=Object.create(w);function x(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(o,i,A,a){var s=u(e[o],e,i);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"==Yy(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,A,a)}),(function(e){n("throw",e,A,a)})):t.resolve(c).then((function(e){l.value=e,A(l)}),(function(e){return n("throw",e,A,a)}))}a(s.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function E(t,n,r){var o=d;return function(i,A){if(o===h)throw Error("Generator is already running");if(o===p){if("throw"===i)throw A;return{value:e,done:!0}}for(r.method=i,r.arg=A;;){var a=r.delegate;if(a){var s=F(a,r);if(s){if(s===g)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var l=u(t,n,r);if("normal"===l.type){if(o=r.done?p:f,l.arg===g)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=p,r.method="throw",r.arg=l.arg)}}}function F(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,F(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=u(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var A=i.arg;return A?A.done?(n[t.resultName]=A.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):A:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function Q(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 U(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Q,this),this.reset(!0)}function I(t){if(t||""===t){var n=t[A];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var A=this.tryEntries[i],a=A.completion;if("root"===A.tryLoc)return o("end");if(A.tryLoc<=this.prev){var s=r.call(A,"catchLoc"),l=r.call(A,"finallyLoc");if(s&&l){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),U(n),g}},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;U(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function qy(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 Zy(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n{const{controlHeight:t,fontSize:n,lineHeight:r,lineWidth:o,controlHeightSM:i,controlHeightLG:A,fontSizeLG:a,lineHeightLG:s,paddingSM:l,controlPaddingHorizontalSM:c,controlPaddingHorizontal:u,colorFillAlter:d,colorPrimaryHover:f,colorPrimary:h,controlOutlineWidth:p,controlOutline:g,colorErrorOutline:m,colorWarningOutline:v,colorBgContainer:y}=e;return{paddingBlock:Math.max(Math.round((t-n*r)/2*10)/10-o,0),paddingBlockSM:Math.max(Math.round((i-n*r)/2*10)/10-o,0),paddingBlockLG:Math.ceil((A-a*s)/2*10)/10-o,paddingInline:l-o,paddingInlineSM:c-o,paddingInlineLG:u-o,addonBg:d,activeBorderColor:h,hoverBorderColor:f,activeShadow:`0 0 0 ${p}px ${g}`,errorActiveShadow:`0 0 0 ${p}px ${m}`,warningActiveShadow:`0 0 0 ${p}px ${v}`,hoverBg:y,activeBg:y,inputFontSize:n,inputFontSizeLG:a,inputFontSizeSM:n}},mw=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),vw=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},mw(cl(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),yw=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),ww=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},yw(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),bw=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},yw(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},vw(e))}),ww(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),ww(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),Bw=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),Cw=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${Ao(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},Bw(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),Bw(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},vw(e))}})}),xw=(e,t)=>{const{componentCls:n}=e;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${n}-disabled, &[disabled]`]:{color:e.colorTextDisabled},[`&${n}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${n}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}}},t)}},Sw=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:null==t?void 0:t.inputColor},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),Ew=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},Sw(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),Fw=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Sw(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},vw(e))}),Ew(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),Ew(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),Qw=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),Uw=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${Ao(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${Ao(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},Qw(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),Qw(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${Ao(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${Ao(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${Ao(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${Ao(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${Ao(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${Ao(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})}),kw=e=>{const{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:r,paddingInlineLG:o}=e;return{padding:`${Ao(t)} ${Ao(o)}`,fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:r}},Iw=e=>({padding:`${Ao(e.paddingBlockSM)} ${Ao(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),Ow=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${Ao(e.paddingBlock)} ${Ao(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},{"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e.colorTextPlaceholder,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},kw(e)),"&-sm":Object.assign({},Iw(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),Pw=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},kw(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},Iw(e)),[`&-lg ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${Ao(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`${Ao(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${Ao(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${n}-select-single:not(${n}-select-customize-input):not(${n}-pagination-size-changer)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${Ao(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px ${Ao(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[t]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`\n & > ${t}-affix-wrapper,\n & > ${t}-number-affix-wrapper,\n & > ${n}-picker-range\n `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[t]:{float:"none"},[`& > ${n}-select > ${n}-select-selector,\n & > ${n}-select-auto-complete ${t},\n & > ${n}-cascader-picker ${t},\n & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child,\n & > ${n}-select:first-child > ${n}-select-selector,\n & > ${n}-select-auto-complete:first-child ${t},\n & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,\n & > ${n}-select:last-child > ${n}-select-selector,\n & > ${n}-cascader-picker:last-child ${t},\n & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},Tw=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r,calc:o}=e,i=o(n).sub(o(r).mul(2)).sub(16).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Va(e)),Ow(e)),bw(e)),Fw(e)),xw(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:i,paddingBottom:i}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},Hw=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${Ao(e.inputAffixPadding)}`}}}},Lw=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:o,colorIcon:i,colorIconHover:A,iconCls:a}=e,s=`${t}-affix-wrapper`;return{[s]:Object.assign(Object.assign(Object.assign(Object.assign({},Ow(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),Hw(e)),{[`${a}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:A}}})}},_w=e=>{const{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},Va(e)),Pw(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}}},Cw(e)),Uw(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}})})}},Rw=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[t]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${r}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${r}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${r}-button`]:{height:e.controlHeightLG},[`&-small ${r}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button,\n > ${t},\n ${t}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},Nw=e=>{const{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[r]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`\n &-allow-clear > ${t},\n &-affix-wrapper${r}-has-feedback ${t}\n `]:{paddingInlineEnd:n},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},Mw=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},Dw=ml("Input",(e=>{const t=cl(e,pw(e));return[Tw(t),Nw(t),Lw(t),_w(t),Rw(t),Mw(t),gh(t)]}),gw,{resetFont:!1});function jw(e,t,n){var r=t.cloneNode(!0),o=Object.create(e,{target:{value:r},currentTarget:{value:r}});return r.value=n,"number"==typeof t.selectionStart&&"number"==typeof t.selectionEnd&&(r.selectionStart=t.selectionStart,r.selectionEnd=t.selectionEnd),r.setSelectionRange=function(){t.setSelectionRange.apply(t,arguments)},o}function Gw(e,t,n,r){if(n){var o=t;"click"!==t.type?"file"===e.type||void 0===r?n(o):n(o=jw(t,e,r)):n(o=jw(t,e,""))}}var Kw=g.forwardRef((function(e,t){var n,r,o=e.inputElement,i=e.children,A=e.prefixCls,a=e.prefix,s=e.suffix,l=e.addonBefore,c=e.addonAfter,u=e.className,d=e.style,f=e.disabled,h=e.readOnly,p=e.focused,m=e.triggerFocus,v=e.allowClear,y=e.value,w=e.handleReset,b=e.hidden,B=e.classes,C=e.classNames,x=e.dataAttrs,S=e.styles,E=e.components,F=e.onClear,Q=null!=i?i:o,U=(null==E?void 0:E.affixWrapper)||"span",k=(null==E?void 0:E.groupWrapper)||"span",I=(null==E?void 0:E.wrapper)||"span",O=(null==E?void 0:E.groupAddon)||"span",P=(0,g.useRef)(null),T=function(e){return!!(e.prefix||e.suffix||e.allowClear)}(e),H=(0,g.cloneElement)(Q,{value:y,className:Se()(Q.props.className,!T&&(null==C?void 0:C.variant))||null}),L=(0,g.useRef)(null);if(g.useImperativeHandle(t,(function(){return{nativeElement:L.current||P.current}})),T){var _=null;if(v){var R=!f&&!h&&y,N="".concat(A,"-clear-icon"),M="object"===ve(v)&&null!=v&&v.clearIcon?v.clearIcon:"✖";_=g.createElement("span",{onClick:function(e){null==w||w(e),null==F||F()},onMouseDown:function(e){return e.preventDefault()},className:Se()(N,we(we({},"".concat(N,"-hidden"),!R),"".concat(N,"-has-suffix"),!!s)),role:"button",tabIndex:-1},M)}var D="".concat(A,"-affix-wrapper"),j=Se()(D,we(we(we(we(we({},"".concat(A,"-disabled"),f),"".concat(D,"-disabled"),f),"".concat(D,"-focused"),p),"".concat(D,"-readonly"),h),"".concat(D,"-input-with-clear-btn"),s&&v&&y),null==B?void 0:B.affixWrapper,null==C?void 0:C.affixWrapper,null==C?void 0:C.variant),G=(s||v)&&g.createElement("span",{className:Se()("".concat(A,"-suffix"),null==C?void 0:C.suffix),style:null==S?void 0:S.suffix},_,s);H=g.createElement(U,me({className:j,style:null==S?void 0:S.affixWrapper,onClick:function(e){var t;null!==(t=P.current)&&void 0!==t&&t.contains(e.target)&&(null==m||m())}},null==x?void 0:x.affixWrapper,{ref:P}),a&&g.createElement("span",{className:Se()("".concat(A,"-prefix"),null==C?void 0:C.prefix),style:null==S?void 0:S.prefix},a),H,G)}if(function(e){return!(!e.addonBefore&&!e.addonAfter)}(e)){var K="".concat(A,"-group"),V="".concat(K,"-addon"),z="".concat(K,"-wrapper"),W=Se()("".concat(A,"-wrapper"),K,null==B?void 0:B.wrapper,null==C?void 0:C.wrapper),X=Se()(z,we({},"".concat(z,"-disabled"),f),null==B?void 0:B.group,null==C?void 0:C.groupWrapper);H=g.createElement(k,{className:X,ref:L},g.createElement(I,{className:W},l&&g.createElement(O,{className:V},l),H,c&&g.createElement(O,{className:V},c)))}return g.cloneElement(H,{className:Se()(null===(n=H.props)||void 0===n?void 0:n.className,u)||null,style:Be(Be({},null===(r=H.props)||void 0===r?void 0:r.style),d),hidden:b})}));const Vw=Kw;var zw=["show"];function Ww(e,t){return g.useMemo((function(){var n={};t&&(n.show="object"===ve(t)&&t.formatter?t.formatter:!!t);var r=n=Be(Be({},n),e),o=r.show,i=Ce(r,zw);return Be(Be({},i),{},{show:!!o,showFormatter:"function"==typeof o?o:void 0,strategy:i.strategy||function(e){return e.length}})}),[e,t])}var Xw=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],$w=(0,g.forwardRef)((function(e,t){var n=e.autoComplete,r=e.onChange,o=e.onFocus,i=e.onBlur,A=e.onPressEnter,a=e.onKeyDown,s=e.onKeyUp,l=e.prefixCls,c=void 0===l?"rc-input":l,u=e.disabled,d=e.htmlSize,f=e.className,h=e.maxLength,p=e.suffix,m=e.showCount,v=e.count,y=e.type,w=void 0===y?"text":y,b=e.classes,B=e.classNames,C=e.styles,x=e.onCompositionStart,S=e.onCompositionEnd,E=Ce(e,Xw),F=Tr((0,g.useState)(!1),2),Q=F[0],U=F[1],k=(0,g.useRef)(!1),I=(0,g.useRef)(!1),O=(0,g.useRef)(null),P=(0,g.useRef)(null),T=function(e){O.current&&function(e,t){if(e){e.focus(t);var n=(t||{}).cursor;if(n){var r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}}(O.current,e)},H=Tr(TA(e.defaultValue,{value:e.value}),2),L=H[0],_=H[1],R=null==L?"":String(L),N=Tr((0,g.useState)(null),2),M=N[0],D=N[1],j=Ww(v,m),G=j.max||h,K=j.strategy(R),V=!!G&&K>G;(0,g.useImperativeHandle)(t,(function(){var e;return{focus:T,blur:function(){var e;null===(e=O.current)||void 0===e||e.blur()},setSelectionRange:function(e,t,n){var r;null===(r=O.current)||void 0===r||r.setSelectionRange(e,t,n)},select:function(){var e;null===(e=O.current)||void 0===e||e.select()},input:O.current,nativeElement:(null===(e=P.current)||void 0===e?void 0:e.nativeElement)||O.current}})),(0,g.useEffect)((function(){U((function(e){return(!e||!u)&&e}))}),[u]);var z=function(e,t,n){var o,i,A=t;if(!k.current&&j.exceedFormatter&&j.max&&j.strategy(t)>j.max)t!==(A=j.exceedFormatter(t,{max:j.max}))&&D([(null===(o=O.current)||void 0===o?void 0:o.selectionStart)||0,(null===(i=O.current)||void 0===i?void 0:i.selectionEnd)||0]);else if("compositionEnd"===n.source)return;_(A),O.current&&Gw(O.current,e,r,A)};(0,g.useEffect)((function(){var e;M&&(null===(e=O.current)||void 0===e||e.setSelectionRange.apply(e,sr(M)))}),[M]);var W,X=V&&"".concat(c,"-out-of-range");return g.createElement(Vw,me({},E,{prefixCls:c,className:Se()(f,X),handleReset:function(e){_(""),T(),O.current&&Gw(O.current,e,r)},value:R,focused:Q,triggerFocus:T,suffix:function(){var e=Number(G)>0;if(p||j.show){var t=j.showFormatter?j.showFormatter({value:R,count:K,maxLength:G}):"".concat(K).concat(e?" / ".concat(G):"");return g.createElement(g.Fragment,null,j.show&&g.createElement("span",{className:Se()("".concat(c,"-show-count-suffix"),we({},"".concat(c,"-show-count-has-suffix"),!!p),null==B?void 0:B.count),style:Be({},null==C?void 0:C.count)},t),p)}return null}(),disabled:u,classes:b,classNames:B,styles:C}),(W=wf(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]),g.createElement("input",me({autoComplete:n},W,{onChange:function(e){z(e,e.target.value,{source:"change"})},onFocus:function(e){U(!0),null==o||o(e)},onBlur:function(e){U(!1),null==i||i(e)},onKeyDown:function(e){A&&"Enter"===e.key&&!I.current&&(I.current=!0,A(e)),null==a||a(e)},onKeyUp:function(e){"Enter"===e.key&&(I.current=!1),null==s||s(e)},className:Se()(c,we({},"".concat(c,"-disabled"),u),null==B?void 0:B.input),style:null==C?void 0:C.input,ref:O,size:d,type:w,onCompositionStart:function(e){k.current=!0,null==x||x(e)},onCompositionEnd:function(e){k.current=!1,z(e,e.currentTarget.value,{source:"compositionEnd"}),null==S||S(e)}}))))}));const Yw=$w,Jw=e=>{let t;return"object"==typeof e&&(null==e?void 0:e.clearIcon)?t=e:e&&(t={clearIcon:g.createElement(ws,null)}),t};function qw(e,t,n){return Se()({[`${e}-status-success`]:"success"===t,[`${e}-status-warning`]:"warning"===t,[`${e}-status-error`]:"error"===t,[`${e}-status-validating`]:"validating"===t,[`${e}-has-feedback`]:n})}const Zw=(e,t)=>t||e,eb=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;var r,o;const{variant:i,[e]:A}=(0,g.useContext)(kr),a=(0,g.useContext)(kd),s=null==A?void 0:A.variant;let l;return l=void 0!==t?t:!1===n?"borderless":null!==(o=null!==(r=null!=a?a:s)&&void 0!==r?r:i)&&void 0!==o?o:"outlined",[l,Ur.includes(l)]};function tb(e,t){const n=(0,g.useRef)([]),r=()=>{n.current.push(setTimeout((()=>{var t,n,r,o;(null===(t=e.current)||void 0===t?void 0:t.input)&&"password"===(null===(n=e.current)||void 0===n?void 0:n.input.getAttribute("type"))&&(null===(r=e.current)||void 0===r?void 0:r.input.hasAttribute("value"))&&(null===(o=e.current)||void 0===o||o.input.removeAttribute("value"))})))};return(0,g.useEffect)((()=>(t&&r(),()=>n.current.forEach((e=>{e&&clearTimeout(e)})))),[]),r}const nb=(0,g.forwardRef)(((e,t)=>{var n;const{prefixCls:r,bordered:o=!0,status:i,size:A,disabled:a,onBlur:s,onFocus:l,suffix:c,allowClear:u,addonAfter:d,addonBefore:f,className:h,style:p,styles:m,rootClassName:v,onChange:y,classNames:w,variant:b}=e,B=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{var t;return null!==(t=null!=A?A:O)&&void 0!==t?t:e})),H=g.useContext(dA),L=null!=a?a:H,{status:_,hasFeedback:R,feedbackIcon:N}=(0,g.useContext)(Qd),M=Zw(_,i),D=function(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}(e)||!!R;(0,g.useRef)(D);const j=tb(F,!0),G=(R||c)&&g.createElement(g.Fragment,null,c,R&&N),K=Jw(null!=u?u:null==S?void 0:S.allowClear),[V,z]=eb("input",b,o);return U(g.createElement(Yw,Object.assign({ref:Ue(t,F),prefixCls:E,autoComplete:null==S?void 0:S.autoComplete},B,{disabled:L,onBlur:e=>{j(),null==s||s(e)},onFocus:e=>{j(),null==l||l(e)},style:Object.assign(Object.assign({},null==S?void 0:S.style),p),styles:Object.assign(Object.assign({},null==S?void 0:S.styles),m),suffix:G,allowClear:K,className:Se()(h,v,I,Q,P,null==S?void 0:S.className),onChange:e=>{j(),null==y||y(e)},addonBefore:f&&g.createElement(Td,{form:!0,space:!0},f),addonAfter:d&&g.createElement(Td,{form:!0,space:!0},d),classNames:Object.assign(Object.assign(Object.assign({},w),null==S?void 0:S.classNames),{input:Se()({[`${E}-sm`]:"small"===T,[`${E}-lg`]:"large"===T,[`${E}-rtl`]:"rtl"===x},null==w?void 0:w.input,null===(n=null==S?void 0:S.classNames)||void 0===n?void 0:n.input,k),variant:Se()({[`${E}-${V}`]:z},qw(E,M)),affixWrapper:Se()({[`${E}-affix-wrapper-sm`]:"small"===T,[`${E}-affix-wrapper-lg`]:"large"===T,[`${E}-affix-wrapper-rtl`]:"rtl"===x},k),wrapper:Se()({[`${E}-group-rtl`]:"rtl"===x},k),groupWrapper:Se()({[`${E}-group-wrapper-sm`]:"small"===T,[`${E}-group-wrapper-lg`]:"large"===T,[`${E}-group-wrapper-rtl`]:"rtl"===x,[`${E}-group-wrapper-${V}`]:z},qw(`${E}-group-wrapper`,M,R),k)})})))})),rb=nb,ob=e=>{const{componentCls:t,paddingXS:n}=e;return{[t]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:n,"&-rtl":{direction:"rtl"},[`${t}-input`]:{textAlign:"center",paddingInline:e.paddingXXS},[`&${t}-sm ${t}-input`]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},[`&${t}-lg ${t}-input`]:{paddingInline:e.paddingXS}}}},ib=ml(["Input","OTP"],(e=>{const t=cl(e,pw(e));return[ob(t)]}),gw);const Ab=g.forwardRef(((e,t)=>{const{value:n,onChange:r,onActiveChange:o,index:i,mask:A}=e,a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);ol.current));const c=()=>{fa((()=>{var e;const t=null===(e=l.current)||void 0===e?void 0:e.input;document.activeElement===t&&t&&t.select()}))};return g.createElement(rb,Object.assign({},a,{ref:l,value:s,onInput:e=>{r(i,e.target.value)},onFocus:c,onKeyDown:e=>{let{key:t}=e;"ArrowLeft"===t?o(i-1):"ArrowRight"===t&&o(i+1),c()},onKeyUp:e=>{"Backspace"!==e.key||n||o(i-1),c()},onMouseDown:c,onMouseUp:c,type:!0===A?"password":"text"}))})),ab=Ab;function sb(e){return(e||"").split("")}const lb=g.forwardRef(((e,t)=>{const{prefixCls:n,length:r=6,size:o,defaultValue:i,value:A,onChange:a,formatter:s,variant:l,disabled:c,status:u,autoFocus:d,mask:f}=e,h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);onull!=o?o:e)),S=g.useContext(Qd),E=Zw(S.status,u),F=g.useMemo((()=>Object.assign(Object.assign({},S),{status:E,hasFeedback:!1,feedbackIcon:null})),[S,E]),Q=g.useRef(null),U=g.useRef({});g.useImperativeHandle(t,(()=>({focus:()=>{var e;null===(e=U.current[0])||void 0===e||e.focus()},blur:()=>{var e;for(let t=0;ts?s(e):e,[I,O]=g.useState(sb(k(i||"")));g.useEffect((()=>{void 0!==A&&O(sb(A))}),[A]);const P=IA((e=>{O(e),a&&e.length===r&&e.every((e=>e))&&e.some(((e,t)=>I[t]!==e))&&a(e.join(""))})),T=IA(((e,t)=>{let n=sr(I);for(let t=0;t=0&&!n[e];e-=1)n.pop();const o=k(n.map((e=>e||" ")).join(""));return n=sb(o).map(((e,t)=>" "!==e||n[t]?e:n[t])),n})),H=(e,t)=>{var n;const o=T(e,t),i=Math.min(e+t.length,r-1);i!==e&&(null===(n=U.current[i])||void 0===n||n.focus()),P(o)},L=e=>{var t;null===(t=U.current[e])||void 0===t||t.focus()},_={variant:l,disabled:c,status:E,mask:f};return b(g.createElement("div",Object.assign({},y,{ref:Q,className:Se()(v,{[`${v}-sm`]:"small"===x,[`${v}-lg`]:"large"===x,[`${v}-rtl`]:"rtl"===m},C,B)}),g.createElement(Qd.Provider,{value:F},Array.from({length:r}).map(((e,t)=>{const n=`otp-${t}`,r=I[t]||"";return g.createElement(ab,Object.assign({ref:e=>{U.current[t]=e},key:n,index:t,size:x,htmlSize:1,className:`${v}-input`,onChange:H,value:r,onActiveChange:L,autoFocus:0===t&&d},_))})))))})),cb=lb,ub={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"};var db=function(e,t){return g.createElement(ps,me({},e,{ref:t,icon:ub}))};const fb=g.forwardRef(db),hb={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"};var pb=function(e,t){return g.createElement(ps,me({},e,{ref:t,icon:hb}))};const gb=g.forwardRef(pb);const mb=e=>e?g.createElement(gb,null):g.createElement(fb,null),vb={click:"onClick",hover:"onMouseOver"},yb=g.forwardRef(((e,t)=>{const{disabled:n,action:r="click",visibilityToggle:o=!0,iconRender:i=mb}=e,A="object"==typeof o&&void 0!==o.visible,[a,s]=(0,g.useState)((()=>!!A&&o.visible)),l=(0,g.useRef)(null);g.useEffect((()=>{A&&s(o.visible)}),[A,o]);const c=tb(l),u=()=>{n||(a&&c(),s((e=>{var t;const n=!e;return"object"==typeof o&&(null===(t=o.onVisibleChange)||void 0===t||t.call(o,n)),n})))},{className:d,prefixCls:f,inputPrefixCls:h,size:p}=e,m=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{const t=vb[r]||"",n=i(a),o={[t]:u,className:`${e}-icon`,key:"passwordIcon",onMouseDown:e=>{e.preventDefault()},onMouseUp:e=>{e.preventDefault()}};return g.cloneElement(g.isValidElement(n)?n:g.createElement("span",null,n),o)})(w),B=Se()(w,d,{[`${w}-${p}`]:!!p}),C=Object.assign(Object.assign({},wf(m,["suffix","iconRender","visibilityToggle"])),{type:a?"text":"password",className:B,prefixCls:y,suffix:b});return p&&(C.size=p),g.createElement(rb,Object.assign({ref:Ue(t,l)},C))})),wb=yb,bb={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"};var Bb=function(e,t){return g.createElement(ps,me({},e,{ref:t,icon:bb}))};const Cb=g.forwardRef(Bb);const xb=g.forwardRef(((e,t)=>{const{prefixCls:n,inputPrefixCls:r,className:o,size:i,suffix:A,enterButton:a=!1,addonAfter:s,loading:l,disabled:c,onSearch:u,onChange:d,onCompositionStart:f,onCompositionEnd:h}=e,p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{var t;return null!==(t=null!=i?i:B)&&void 0!==t?t:e})),x=g.useRef(null),S=e=>{var t;document.activeElement===(null===(t=x.current)||void 0===t?void 0:t.input)&&e.preventDefault()},E=e=>{var t,n;u&&u(null===(n=null===(t=x.current)||void 0===t?void 0:t.input)||void 0===n?void 0:n.value,e,{source:"input"})},F="boolean"==typeof a?g.createElement(Cb,null):null,Q=`${w}-button`;let U;const k=a||{},I=k.type&&!0===k.type.__ANT_BUTTON;U=I||"button"===k.type?Xl(k,Object.assign({onMouseDown:S,onClick:e=>{var t,n;null===(n=null===(t=null==k?void 0:k.props)||void 0===t?void 0:t.onClick)||void 0===n||n.call(t,e),E(e)},key:"enterButton"},I?{className:Q,size:C}:{})):g.createElement(Ch,{className:Q,type:a?"primary":void 0,size:C,disabled:c,key:"enterButton",onMouseDown:S,onClick:E,loading:l,icon:F},a),s&&(U=[U,Xl(s,{key:"addonAfter"})]);const O=Se()(w,{[`${w}-rtl`]:"rtl"===v,[`${w}-${C}`]:!!C,[`${w}-with-button`]:!!a},o);return g.createElement(rb,Object.assign({ref:Ue(x,t),onPressEnter:e=>{y.current||l||E(e)}},p,{size:C,onCompositionStart:e=>{y.current=!0,null==f||f(e)},onCompositionEnd:e=>{y.current=!1,null==h||h(e)},prefixCls:b,addonAfter:U,suffix:A,onChange:e=>{(null==e?void 0:e.target)&&"click"===e.type&&u&&u(e.target.value,e,{source:"clear"}),null==d||d(e)},className:O,disabled:c}))})),Sb=xb;var Eb,Fb=["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","white-space"],Qb={};var Ub=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],kb=g.forwardRef((function(e,t){var n=e,r=n.prefixCls,o=n.defaultValue,i=n.value,A=n.autoSize,a=n.onResize,s=n.className,l=n.style,c=n.disabled,u=n.onChange,d=(n.onInternalAutoSize,Ce(n,Ub)),f=Tr(TA(o,{value:i,postState:function(e){return null!=e?e:""}}),2),h=f[0],p=f[1],m=g.useRef();g.useImperativeHandle(t,(function(){return{textArea:m.current}}));var v=Tr(g.useMemo((function(){return A&&"object"===ve(A)?[A.minRows,A.maxRows]:[]}),[A]),2),y=v[0],w=v[1],b=!!A,B=Tr(g.useState(2),2),C=B[0],x=B[1],S=Tr(g.useState(),2),E=S[0],F=S[1],Q=function(){x(0)};po((function(){b&&Q()}),[i,y,w,b]),po((function(){if(0===C)x(1);else if(1===C){var e=function(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;Eb||((Eb=document.createElement("textarea")).setAttribute("tab-index","-1"),Eb.setAttribute("aria-hidden","true"),document.body.appendChild(Eb)),e.getAttribute("wrap")?Eb.setAttribute("wrap",e.getAttribute("wrap")):Eb.removeAttribute("wrap");var o=function(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&&Qb[n])return Qb[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")),a={sizingStyle:Fb.map((function(e){return"".concat(e,":").concat(r.getPropertyValue(e))})).join(";"),paddingSize:i,borderSize:A,boxSizing:o};return t&&n&&(Qb[n]=a),a}(e,t),i=o.paddingSize,A=o.borderSize,a=o.boxSizing,s=o.sizingStyle;Eb.setAttribute("style","".concat(s,";").concat("\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 pointer-events: none !important;\n")),Eb.value=e.value||e.placeholder||"";var l,c=void 0,u=void 0,d=Eb.scrollHeight;if("border-box"===a?d+=A:"content-box"===a&&(d-=i),null!==n||null!==r){Eb.value=" ";var f=Eb.scrollHeight-i;null!==n&&(c=f*n,"border-box"===a&&(c=c+i+A),d=Math.max(c,d)),null!==r&&(u=f*r,"border-box"===a&&(u=u+i+A),l=d>u?"":"hidden",d=Math.min(u,d))}var h={height:d,overflowY:l,resize:"none"};return c&&(h.minHeight=c),u&&(h.maxHeight=u),h}(m.current,!1,y,w);x(2),F(e)}else!function(){try{if(document.activeElement===m.current){var e=m.current,t=e.selectionStart,n=e.selectionEnd,r=e.scrollTop;m.current.setSelectionRange(t,n),m.current.scrollTop=r}}catch(e){}}()}),[C]);var U=g.useRef(),k=function(){fa.cancel(U.current)};g.useEffect((function(){return k}),[]);var I=b?E:null,O=Be(Be({},l),I);return 0!==C&&1!==C||(O.overflowY="hidden",O.overflowX="hidden"),g.createElement(Hc,{onResize:function(e){2===C&&(null==a||a(e),A&&(k(),U.current=fa((function(){Q()}))))},disabled:!(A||a)},g.createElement("textarea",me({},d,{ref:m,style:O,className:Se()(r,s,we({},"".concat(r,"-disabled"),c)),disabled:c,value:h,onChange:function(e){p(e.target.value),null==u||u(e)}})))}));const Ib=kb;var Ob=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],Pb=g.forwardRef((function(e,t){var n,r=e.defaultValue,o=e.value,i=e.onFocus,A=e.onBlur,a=e.onChange,s=e.allowClear,l=e.maxLength,c=e.onCompositionStart,u=e.onCompositionEnd,d=e.suffix,f=e.prefixCls,h=void 0===f?"rc-textarea":f,p=e.showCount,m=e.count,v=e.className,y=e.style,w=e.disabled,b=e.hidden,B=e.classNames,C=e.styles,x=e.onResize,S=e.onClear,E=e.onPressEnter,F=e.readOnly,Q=e.autoSize,U=e.onKeyDown,k=Ce(e,Ob),I=Tr(TA(r,{value:o,defaultValue:r}),2),O=I[0],P=I[1],T=null==O?"":String(O),H=Tr(g.useState(!1),2),L=H[0],_=H[1],R=g.useRef(!1),N=Tr(g.useState(null),2),M=N[0],D=N[1],j=(0,g.useRef)(null),G=(0,g.useRef)(null),K=function(){var e;return null===(e=G.current)||void 0===e?void 0:e.textArea},V=function(){K().focus()};(0,g.useImperativeHandle)(t,(function(){var e;return{resizableTextArea:G.current,focus:V,blur:function(){K().blur()},nativeElement:(null===(e=j.current)||void 0===e?void 0:e.nativeElement)||K()}})),(0,g.useEffect)((function(){_((function(e){return!w&&e}))}),[w]);var z=Tr(g.useState(null),2),W=z[0],X=z[1];g.useEffect((function(){var e;W&&(e=K()).setSelectionRange.apply(e,sr(W))}),[W]);var $,Y=Ww(m,p),J=null!==(n=Y.max)&&void 0!==n?n:l,q=Number(J)>0,Z=Y.strategy(T),ee=!!J&&Z>J,te=function(e,t){var n=t;!R.current&&Y.exceedFormatter&&Y.max&&Y.strategy(t)>Y.max&&t!==(n=Y.exceedFormatter(t,{max:Y.max}))&&X([K().selectionStart||0,K().selectionEnd||0]),P(n),Gw(e.currentTarget,e,a,n)},ne=d;Y.show&&($=Y.showFormatter?Y.showFormatter({value:T,count:Z,maxLength:J}):"".concat(Z).concat(q?" / ".concat(J):""),ne=g.createElement(g.Fragment,null,ne,g.createElement("span",{className:Se()("".concat(h,"-data-count"),null==B?void 0:B.count),style:null==C?void 0:C.count},$)));var re=!Q&&!p&&!s;return g.createElement(Vw,{ref:j,value:T,allowClear:s,handleReset:function(e){P(""),V(),Gw(K(),e,a)},suffix:ne,prefixCls:h,classNames:Be(Be({},B),{},{affixWrapper:Se()(null==B?void 0:B.affixWrapper,we(we({},"".concat(h,"-show-count"),p),"".concat(h,"-textarea-allow-clear"),s))}),disabled:w,focused:L,className:Se()(v,ee&&"".concat(h,"-out-of-range")),style:Be(Be({},y),M&&!re?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":"string"==typeof $?$:void 0}},hidden:b,readOnly:F,onClear:S},g.createElement(Ib,me({},k,{autoSize:Q,maxLength:l,onKeyDown:function(e){"Enter"===e.key&&E&&E(e),null==U||U(e)},onChange:function(e){te(e,e.target.value)},onFocus:function(e){_(!0),null==i||i(e)},onBlur:function(e){_(!1),null==A||A(e)},onCompositionStart:function(e){R.current=!0,null==c||c(e)},onCompositionEnd:function(e){R.current=!1,te(e,e.currentTarget.value),null==u||u(e)},className:Se()(null==B?void 0:B.textarea),style:Be(Be({},null==C?void 0:C.textarea),{},{resize:null==y?void 0:y.resize}),disabled:w,prefixCls:h,onResize:function(e){var t;null==x||x(e),null!==(t=K())&&void 0!==t&&t.style.height&&D(!0)},ref:G,readOnly:F})))}));const Tb=Pb;const Hb=(0,g.forwardRef)(((e,t)=>{var n,r;const{prefixCls:o,bordered:i=!0,size:A,disabled:a,status:s,allowClear:l,classNames:c,rootClassName:u,className:d,style:f,styles:h,variant:p}=e,m=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{var e;return{resizableTextArea:null===(e=Q.current)||void 0===e?void 0:e.resizableTextArea,focus:e=>{var t,n;!function(e,t){if(!e)return;e.focus(t);const{cursor:n}=t||{};if(n){const t=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(t,t);break;default:e.setSelectionRange(0,t)}}}(null===(n=null===(t=Q.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:()=>{var e;return null===(e=Q.current)||void 0===e?void 0:e.blur()}}}));const U=v("input",o),k=Xs(U),[I,O,P]=Dw(U,k),[T,H]=eb("textArea",p,i),L=Jw(null!=l?l:null==w?void 0:w.allowClear);return I(g.createElement(Tb,Object.assign({autoComplete:null==w?void 0:w.autoComplete},m,{style:Object.assign(Object.assign({},null==w?void 0:w.style),f),styles:Object.assign(Object.assign({},null==w?void 0:w.styles),h),disabled:C,allowClear:L,className:Se()(P,k,d,u,null==w?void 0:w.className),classNames:Object.assign(Object.assign(Object.assign({},c),null==w?void 0:w.classNames),{textarea:Se()({[`${U}-sm`]:"small"===b,[`${U}-lg`]:"large"===b},O,null==c?void 0:c.textarea,null===(n=null==w?void 0:w.classNames)||void 0===n?void 0:n.textarea),variant:Se()({[`${U}-${T}`]:H},qw(U,F)),affixWrapper:Se()(`${U}-textarea-affix-wrapper`,{[`${U}-affix-wrapper-rtl`]:"rtl"===y,[`${U}-affix-wrapper-sm`]:"small"===b,[`${U}-affix-wrapper-lg`]:"large"===b,[`${U}-textarea-show-count`]:e.showCount||(null===(r=e.count)||void 0===r?void 0:r.show)},O)}),prefixCls:U,suffix:S&&g.createElement("span",{className:`${U}-textarea-suffix`},E),ref:Q})))})),Lb=Hb,_b=rb;_b.Group=e=>{const{getPrefixCls:t,direction:n}=(0,g.useContext)(kr),{prefixCls:r,className:o}=e,i=t("input-group",r),A=t("input"),[a,s]=Dw(A),l=Se()(i,{[`${i}-lg`]:"large"===e.size,[`${i}-sm`]:"small"===e.size,[`${i}-compact`]:e.compact,[`${i}-rtl`]:"rtl"===n},s,o),c=(0,g.useContext)(Qd),u=(0,g.useMemo)((()=>Object.assign(Object.assign({},c),{isFormItemInput:!1})),[c]);return a(g.createElement("span",{className:l,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},g.createElement(Qd.Provider,{value:u},e.children)))},_b.Search=Sb,_b.TextArea=Lb,_b.Password=wb,_b.OTP=cb;const Rb=_b;var Nb=g.createContext(null),Mb=g.createContext({});const Db=Nb;var jb=["prefixCls","className","containerRef"];const Gb=function(e){var t=e.prefixCls,n=e.className,r=e.containerRef,o=Ce(e,jb),i=g.useContext(Mb).panel,A=ke(i,r);return g.createElement("div",me({className:Se()("".concat(t,"-content"),n),role:"dialog",ref:A},Ls(e,{aria:!0}),{"aria-modal":"true"},o))};function Kb(e){return"string"==typeof e&&String(Number(e))===e?(sn(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var Vb={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function zb(e,t){var n,r,o,i=e.prefixCls,A=e.open,a=e.placement,s=e.inline,l=e.push,c=e.forceRender,u=e.autoFocus,d=e.keyboard,f=e.classNames,h=e.rootClassName,p=e.rootStyle,m=e.zIndex,v=e.className,y=e.id,w=e.style,b=e.motion,B=e.width,C=e.height,x=e.children,S=e.mask,E=e.maskClosable,F=e.maskMotion,Q=e.maskClassName,U=e.maskStyle,k=e.afterOpenChange,I=e.onClose,O=e.onMouseEnter,P=e.onMouseOver,T=e.onMouseLeave,H=e.onClick,L=e.onKeyDown,_=e.onKeyUp,R=e.styles,N=e.drawerRender,M=g.useRef(),D=g.useRef(),j=g.useRef();g.useImperativeHandle(t,(function(){return M.current})),g.useEffect((function(){var e;A&&u&&(null===(e=M.current)||void 0===e||e.focus({preventScroll:!0}))}),[A]);var G=Tr(g.useState(!1),2),K=G[0],V=G[1],z=g.useContext(Db),W=null!==(n=null!==(r=null===(o="boolean"==typeof l?l?{}:{distance:0}:l||{})||void 0===o?void 0:o.distance)&&void 0!==r?r:null==z?void 0:z.pushDistance)&&void 0!==n?n:180,X=g.useMemo((function(){return{pushDistance:W,push:function(){V(!0)},pull:function(){V(!1)}}}),[W]);g.useEffect((function(){var e,t;A?null==z||null===(e=z.push)||void 0===e||e.call(z):null==z||null===(t=z.pull)||void 0===t||t.call(z)}),[A]),g.useEffect((function(){return function(){var e;null==z||null===(e=z.pull)||void 0===e||e.call(z)}}),[]);var $=S&&g.createElement(ka,me({key:"mask"},F,{visible:A}),(function(e,t){var n=e.className,r=e.style;return g.createElement("div",{className:Se()("".concat(i,"-mask"),n,null==f?void 0:f.mask,Q),style:Be(Be(Be({},r),U),null==R?void 0:R.mask),onClick:E&&A?I:void 0,ref:t})})),Y="function"==typeof b?b(a):b,J={};if(K&&W)switch(a){case"top":J.transform="translateY(".concat(W,"px)");break;case"bottom":J.transform="translateY(".concat(-W,"px)");break;case"left":J.transform="translateX(".concat(W,"px)");break;default:J.transform="translateX(".concat(-W,"px)")}"left"===a||"right"===a?J.width=Kb(B):J.height=Kb(C);var q={onMouseEnter:O,onMouseOver:P,onMouseLeave:T,onClick:H,onKeyDown:L,onKeyUp:_},Z=g.createElement(ka,me({key:"panel"},Y,{visible:A,forceRender:c,onVisibleChanged:function(e){null==k||k(e)},removeOnLeave:!1,leavedClassName:"".concat(i,"-content-wrapper-hidden")}),(function(t,n){var r=t.className,o=t.style,A=g.createElement(Gb,me({id:y,containerRef:n,prefixCls:i,className:Se()(v,null==f?void 0:f.content),style:Be(Be({},w),null==R?void 0:R.content)},Ls(e,{aria:!0}),q),x);return g.createElement("div",me({className:Se()("".concat(i,"-content-wrapper"),null==f?void 0:f.wrapper,r),style:Be(Be(Be({},J),o),null==R?void 0:R.wrapper)},Ls(e,{data:!0})),N?N(A):A)})),ee=Be({},p);return m&&(ee.zIndex=m),g.createElement(Db.Provider,{value:X},g.createElement("div",{className:Se()(i,"".concat(i,"-").concat(a),h,we(we({},"".concat(i,"-open"),A),"".concat(i,"-inline"),s)),style:ee,tabIndex:-1,ref:M,onKeyDown:function(e){var t=e.keyCode,n=e.shiftKey;switch(t){case Is.TAB:var r;if(t===Is.TAB)if(n||document.activeElement!==j.current){if(n&&document.activeElement===D.current){var o;null===(o=j.current)||void 0===o||o.focus({preventScroll:!0})}}else null===(r=D.current)||void 0===r||r.focus({preventScroll:!0});break;case Is.ESC:I&&d&&(e.stopPropagation(),I(e))}}},$,g.createElement("div",{tabIndex:0,ref:D,style:Vb,"aria-hidden":"true","data-sentinel":"start"}),Z,g.createElement("div",{tabIndex:0,ref:j,style:Vb,"aria-hidden":"true","data-sentinel":"end"})))}const Wb=g.forwardRef(zb),Xb=function(e){var t=e.open,n=void 0!==t&&t,r=e.prefixCls,o=void 0===r?"rc-drawer":r,i=e.placement,A=void 0===i?"right":i,a=e.autoFocus,s=void 0===a||a,l=e.keyboard,c=void 0===l||l,u=e.width,d=void 0===u?378:u,f=e.mask,h=void 0===f||f,p=e.maskClosable,m=void 0===p||p,v=e.getContainer,y=e.forceRender,w=e.afterOpenChange,b=e.destroyOnClose,B=e.onMouseEnter,C=e.onMouseOver,x=e.onMouseLeave,S=e.onClick,E=e.onKeyDown,F=e.onKeyUp,Q=e.panelRef,U=Tr(g.useState(!1),2),k=U[0],I=U[1],O=Tr(g.useState(!1),2),P=O[0],T=O[1];po((function(){T(!0)}),[]);var H=!!P&&n,L=g.useRef(),_=g.useRef();po((function(){H&&(_.current=document.activeElement)}),[H]);var R=g.useMemo((function(){return{panel:Q}}),[Q]);if(!y&&!k&&!H&&b)return null;var N={onMouseEnter:B,onMouseOver:C,onMouseLeave:x,onClick:S,onKeyDown:E,onKeyUp:F},M=Be(Be({},e),{},{open:H,prefixCls:o,placement:A,autoFocus:s,keyboard:c,width:d,mask:h,maskClosable:m,inline:!1===v,afterOpenChange:function(e){var t,n;I(e),null==w||w(e),e||!_.current||null!==(t=L.current)&&void 0!==t&&t.contains(_.current)||null===(n=_.current)||void 0===n||n.focus({preventScroll:!0})},ref:L},N);return g.createElement(Mb.Provider,{value:R},g.createElement(oc,{open:H||y||k,autoDestroy:!1,getContainer:v,autoLock:h&&(H||k)},g.createElement(Wb,M)))},$b=e=>{var t,n;const{prefixCls:r,title:o,footer:i,extra:A,loading:a,onClose:s,headerStyle:l,bodyStyle:c,footerStyle:u,children:d,classNames:f,styles:h}=e,{drawer:p}=g.useContext(kr),m=g.useCallback((e=>g.createElement("button",{type:"button",onClick:s,"aria-label":"Close",className:`${r}-close`},e)),[s]),[v,y]=$h(Vh(e),Vh(p),{closable:!0,closeIconRender:m}),w=g.useMemo((()=>{var e,t;return o||v?g.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(e=null==p?void 0:p.styles)||void 0===e?void 0:e.header),l),null==h?void 0:h.header),className:Se()(`${r}-header`,{[`${r}-header-close-only`]:v&&!o&&!A},null===(t=null==p?void 0:p.classNames)||void 0===t?void 0:t.header,null==f?void 0:f.header)},g.createElement("div",{className:`${r}-header-title`},y,o&&g.createElement("div",{className:`${r}-title`},o)),A&&g.createElement("div",{className:`${r}-extra`},A)):null}),[v,y,A,l,r,o]),b=g.useMemo((()=>{var e,t;if(!i)return null;const n=`${r}-footer`;return g.createElement("div",{className:Se()(n,null===(e=null==p?void 0:p.classNames)||void 0===e?void 0:e.footer,null==f?void 0:f.footer),style:Object.assign(Object.assign(Object.assign({},null===(t=null==p?void 0:p.styles)||void 0===t?void 0:t.footer),u),null==h?void 0:h.footer)},i)}),[i,u,r]);return g.createElement(g.Fragment,null,w,g.createElement("div",{className:Se()(`${r}-body`,null==f?void 0:f.body,null===(t=null==p?void 0:p.classNames)||void 0===t?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null===(n=null==p?void 0:p.styles)||void 0===n?void 0:n.body),c),null==h?void 0:h.body)},a?g.createElement(yp,{active:!0,title:!1,paragraph:{rows:5},className:`${r}-body-skeleton`}):d),b)},Yb=e=>{const t="100%";return{left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`}[e]},Jb=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),qb=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},Jb({opacity:e},{opacity:1})),Zb=(e,t)=>[qb(.7,t),Jb({transform:Yb(e)},{transform:"none"})],eB=e=>{const{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:qb(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce(((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:Zb(t,n)})),{})}}},tB=e=>{const{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:o,colorBgElevated:i,motionDurationSlow:A,motionDurationMid:a,paddingXS:s,padding:l,paddingLG:c,fontSizeLG:u,lineHeightLG:d,lineWidth:f,lineType:h,colorSplit:p,marginXS:g,colorIcon:m,colorIconHover:v,colorBgTextHover:y,colorBgTextActive:w,colorText:b,fontWeightStrong:B,footerPaddingBlock:C,footerPaddingInline:x,calc:S}=e,E=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:b,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:o,pointerEvents:"auto"},[E]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${A}`,"&-hidden":{display:"none"}},[`&-left > ${E}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${E}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${E}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${E}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${Ao(l)} ${Ao(c)}`,fontSize:u,lineHeight:d,borderBottom:`${Ao(f)} ${h} ${p}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:S(u).add(s).equal(),height:S(u).add(s).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:g,color:m,fontWeight:B,fontSize:u,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${a}`,textRendering:"auto","&:hover":{color:v,backgroundColor:y,textDecoration:"none"},"&:active":{backgroundColor:w}},Xa(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:u,lineHeight:d},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:c,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${Ao(C)} ${Ao(x)}`,borderTop:`${Ao(f)} ${h} ${p}`},"&-rtl":{direction:"rtl"}}}},nB=ml("Drawer",(e=>{const t=cl(e,{});return[tB(t),eB(t)]}),(e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})));var rB=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o